/*! For license information please see main.80054278.js.LICENSE.txt */
(function(){var __webpack_modules__={66132:function(e,t,n){var r=n(58921).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(A){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=p(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}t.wrap=d;var h={};function f(){}function m(){}function g(){}var v={};u(v,s,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(T([])));b&&b!==n&&i.call(b,s)&&(v=b);var _=g.prototype=f.prototype=Object.create(v);function C(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(o,a,s,c){var l=p(e[o],e,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==r(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=p(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function T(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:I}}function I(){return{value:void 0,done:!0}}return m.prototype=g,u(_,"constructor",g),u(g,"constructor",m),m.displayName=u(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},C(w.prototype),u(w.prototype,c,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new w(d(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(_),u(_,l,"Generator"),u(_,s,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=T,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},58921:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},77162:function(e,t,n){var r=n(66132)();e.exports=r;try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},10175:function(e,t,n){"use strict";n.r(t),n.d(t,{filterOutNull:function(){return o}});var r=n(28278);function o(e){return e.filter(r.$)}},18287:function(e,t,n){"use strict";n.d(t,{BB:function(){return m},Of:function(){return s},gL:function(){return p},lm:function(){return a},nG:function(){return i},nr:function(){return u},ok:function(){return l},t$:function(){return d},tY:function(){return h},yR:function(){return f}});var r=n(13019),o=[];function i(e){return e||o}function a(e){return c(e,(function(e){return void 0!==e&&null!==e&&""!==e&&(!(e instanceof Array)||e.length>0)}))}function s(e){return c(e,(function(e){return null!==e}))}function c(e,t){if(void 0===e||null===e)return e;for(var n={},o=0,i=(0,r.keys)(e);o<i.length;o++){var a=i[o];t(e[a])&&(n[a]=e[a])}return n}function l(e,t){return Object.assign({},e,t)}function u(e,t){return e.hasOwnProperty(t)}function d(e){var t=void 0;return function(n){if(t&&n===t.arg)return t.result;var r=e(n);return t={arg:n,result:r},r}}function p(e){return void 0===e?null:e}function h(e,t){var n=[];if(e>0&&e<Number.MAX_VALUE)for(var r=0;r<e;r+=1)n.push(t(r));return n}function f(e){return e}function m(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)<n}},81856:function(e,t){"use strict";t.Z=function(){var e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}},8170:function(e,t,n){"use strict";n.r(t),n.d(t,{areEqualNumbers:function(){return S.BB},backfillUndefined:function(){return F},cacheLatest:function(){return S.t$},countStringOccurrences:function(){return A},createArrayAndFillWith:function(){return S.tY},defaultToEmptyArray:function(){return S.nG},endsWith:function(){return N},filterOutNull:function(){return r.filterOutNull},find:function(){return O},flattenJoin:function(){return d},generateGuid:function(){return o.Z},hasOwnProperty:function(){return S.nr},identity:function(){return S.yR},isDefined:function(){return i.$},isEmpty:function(){return c},isSafeInteger:function(){return H()},isString:function(){return P},keys:function(){return p.keys},lowerFirst:function(){return R},makeObject:function(){return h.V},matchAll:function(){return f},memoizeFunction:function(){return g.N},memoizeFunctionProperties:function(){return C.M},memoizeSelector:function(){return _},merge:function(){return m},neverGuard:function(){return k.k},neverGuardDefault:function(){return k.J},omitEmpty:function(){return S.lm},omitNull:function(){return S.Of},range:function(){return w},safeJoinStrings:function(){return L},sortObjectBy:function(){return E.z},startsWith:function(){return M},throwError:function(){return x.throwError},undefinedToNull:function(){return S.gL},uniq:function(){return I},uniqBy:function(){return T},updateWith:function(){return S.ok},upperFirst:function(){return D}});var r=n(10175),o=n(81856),i=n(28278),a=n(76032),s=n.n(a);function c(e){return s()(e)}var l=n(43260),u=n.n(l);function d(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return u()((0,r.filterOutNull)(e)).join(",")}var p=n(13019),h=n(61148);function f(e,t){var n=[];if(!t.global)throw new Error("regular expression must have the global flag set");var r=null;do{(r=t.exec(e))&&n.push(r)}while(r&&r[0]);return n}function m(e,t,n){if(0===t.length)return e;if(0===e.length)return t;for(var r=0,o=0,i=[];r<e.length&&o<t.length;)if(1===n(e[r],t[o]))i.push(t[o++]);else i.push(e[r++]);return r===e.length&&i.push.apply(i,t.slice(o)),o===t.length&&i.push.apply(i,e.slice(r)),i}var g=n(8141),v=n(73930),y=Object.keys,b=function(e,t){if(!e||!t||e===t)return e===t;var n=y(e);return n.length===y(t).length&&n.every((function(n){return t.hasOwnProperty(n)&&e[n]===t[n]}))},_=function(e,t){var n=function(e){var t=[];return function(n){var r=void 0;if(t.forEach((function(e){var t=(0,v.__read)(e,2),o=t[0],i=t[1];return b(o,n)&&(r=i)})),r)return r;var o=e(n);return t.unshift([n,o]),t=t.slice(0,25),o}}(t),r=void 0;return function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var i=n(e.apply(void 0,(0,v.__spreadArray)([],(0,v.__read)(t),!1)));if(void 0!==r&&r!==i)if(Array.isArray(i)&&Array.isArray(r)){var a=r;if(i.length===a.length&&i.every((function(e,t){return e===a[t]})))return r}else if("object"===typeof i&&"object"===typeof r&&b(r,i))return r;return r=i,i}},C=n(77465);function w(e,t,n){return(0,v.__spreadArray)([],Array(e),!0).map((function(e,r){return(t||0)+r*(n||1)}))}var E=n(16038),x=n(46912),S=n(18287),k=n(62813);function T(e,t){var n=e.map(t);return e.filter((function(e,r){return n.indexOf(t(e))===r}))}function I(e){return T(e,(function(e){return e}))}function A(e){return e.reduce((function(e,t){var n;return(0,v.__assign)((0,v.__assign)({},e),((n={})[t]=(e[t]||0)+1,n))}),{})}function P(e){return"string"===typeof e}function D(e){return e.length?e[0].toUpperCase()+e.slice(1):e}function R(e){return e.length?e[0].toLowerCase()+e.slice(1):e}function M(e,t){return e.slice(0,t.length)===t}function N(e,t){return e.slice(0-t.length)===t}function L(e,t){return e.join(t)}function O(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}function F(e,t){return void 0===e?t:e}var B=n(96502),H=n.n(B)},28278:function(e,t,n){"use strict";function r(e){return null!==e&&void 0!==e}n.d(t,{$:function(){return r}})},13019:function(e,t,n){"use strict";function r(e){return"string"===typeof e?Object.keys(e.split("")):"number"===typeof e||"boolean"===typeof e?[]:Object.keys(e)}n.r(t),n.d(t,{keys:function(){return r}})},61148:function(e,t,n){"use strict";function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r={};return t.forEach((function(t){return r[t]=e(t)})),r}n.d(t,{V:function(){return r}})},1606:function(e,t,n){"use strict";n.r(t),n.d(t,{memoizeFunction:function(){return r.N}});var r=n(8141)},62813:function(e,t,n){"use strict";function r(e){return e}function o(e,t){return t}n.d(t,{J:function(){return o},k:function(){return r}})},16038:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(13019);function o(e,t){var n=(0,r.keys)(e).sort((function(e,n){return t(e.toString()).localeCompare(t(n.toString()))})),o={};return n.forEach((function(t){o[t]=e[t]})),o}},46912:function(e,t,n){"use strict";function r(e){throw new Error(e)}n.r(t),n.d(t,{throwError:function(){return r}})},68088:function(e,t,n){"use strict";n.r(t),n.d(t,{isSupportedLocale:function(){return o},supportedLocales:function(){return r},toSupportedLocale:function(){return i}});var r=["af","am","ar","as-in","az-latn-az","be-by","bg","bn-in","bn-bd","bs-latn-ba","ca","ca-es-valencia","cs","cy","da","de","el","en-gb","en-us","es","es-mx","et","eu","fa","fi","fil","fr","fr-ca","ga-ie","gd-gb","gl","gu","ha-latn-ng","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","km-kh","kn","ko","kok","ky","lb-lu","lo-la","lt","lv","mi-nz","mk","ml","mn-mn","mr","ms","mt-mt","ne-np","nl","nn-no","no","or","pa-in","pl","prs","pt","pt-pt","quz-pe","ro","ru","sd-arab-pk","si-lk","sk","sl","sq","sr","sr-cyrl","sr-cyrl-ba","sv","sw","ta","te","th","tk-tm","tr","tt","ug-cn","uk","ur","uz","vi","zh-hans","zh-hant","zu-za"];function o(e){return r.indexOf(e)>=0}function i(e,t){if(e){var n=e.toLowerCase().replace("_","-"),i=a(n);if(i)return i;if(o(n))return n;var s=n.split("-");if(s.length>2){var c=s.slice(0,s.length-1).join("-");if(o(c))return c;var l=a(c);if(l)return l}var u=n.substr(0,2);if(o(u))return u;var d=a(u);if(d)return d;for(var p=0,h=r;p<h.length;p++){var f=h[p];if(0===f.indexOf(u))return f}}if(t)return t;throw new Error("".concat(e," cannot be mapped to a supported locale"))}function a(e){if(0===e.indexOf("es-")&&"es-es"!==e)return"es-mx";if(0===e.indexOf("en-")&&"en-us"!==e)return"en-gb";switch(e){case"zh-hk":case"zh-mo":case"zh-rhk":case"zh-rtw":case"zh-sg":case"zh-tw":return"zh-hant";case"zh-rcn":return"zh-hans";case"be":return"nl";case"ga":return"ga-ie";case"in":return"id";case"iw":return"he";case"nb":return"no";default:return}}},42706:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapStringsWithPlaceholdersToStandardFormat=t.mapStringsToStandardFormat=t.declarePluralStringWithPlaceholders=t.declarePluralString=void 0;var r=n(70344),o=n(95053),i=n(10895),a=n(63196),s=n(96767),c=n(91652);function l(e){var t=e.comment,n=e.placeholders,o=e.strings,i={comment:t,placeholders:n,text:function(e){return(0,r.createICUString)(o(e))}};return i}t.declarePluralString=function(e,t){var n=t&&{text:(0,r.createICUString)(t.strings),comment:t.comment},a=function(t){return void 0===t&&(t=(0,i.getDefaultStringProvider)()),(0,o.resolveString)(e,n,t)};return a.toString=a,a.key=e,a},t.declarePluralStringWithPlaceholders=function(e,t){var n=t&&l(t),r=function(t,r){return void 0===r&&(r=(0,i.getDefaultStringProvider)()),(0,o.resolveStringWithPlaceholders)(e,n,r)(t)};return r.toString=function(t){return void 0===t&&(t=(0,i.getDefaultStringProvider)()),(0,a.isDevLocalization)()&&n||!(0,c.stringExists)(e,t)&&n?(0,s.getStringDescriptionWithPlaceholders)(e,n).stringToBeLocalized:(0,c.lookUpString)(e,t)},r.key=e,r},t.mapStringsToStandardFormat=function(e){var t=e.comment,n=e.strings;return{text:(0,r.createICUString)(n),comment:t}},t.mapStringsWithPlaceholdersToStandardFormat=l},95053:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.declareStringWithPlaceholders=t.declareString=t.lookupStringInStringProvider=t.resolveStringWithPlaceholders=t.resolveString=void 0;var r=n(13019),o=n(1606),i=n(10895),a=n(63196),s=n(96767),c=n(42138),l=n(91652),u=/\\{\\d+\\}/g,d=(0,o.memoizeFunction)((function(e){return new RegExp("\\{".concat(e,"\\}"),"g")}));function p(e,t,n){try{return(0,a.isDevLocalization)()&&t?(0,a.doPseudoLocalization)()?function(e){var t={},n={};(e.match(/({.+?})/g)||[]).forEach((function(e,r){var o="".concat(m,"_").concat(r);t[e]=o,n[o]=e}));var r=Object.keys(t).reduce((function(e,n){return e.replace(n,t[n])}),y(e)),o=(0,c.pseudoLocalize)(r);return Object.keys(n).reduce((function(e,t){return e.replace(t,n[t])}),b(o))}(t.text):t.text:!(0,l.stringExists)(e,n)&&t?t.text:(0,l.lookUpString)(e,n)}catch(r){return(0,l.handleLocalizationError)(r,n),""}}t.resolveString=p;var h=function(e,t){return function(n){try{return e(n)}catch(r){return(0,l.handleLocalizationError)(r,t),""}}};function f(e,t,n){try{return(0,a.isDevLocalization)()&&t&&t.text?h((function(e){return(0,a.doPseudoLocalization)()?function(e,t){var n={},o={};(0,r.keys)(t).forEach((function(e,r){var i="".concat(m,"_").concat(r);n[e]=i,o[i]=t[e]}));var i=(0,c.pseudoLocalize)(y(e.text(n)));return(0,r.keys)(o).reduce((function(e,t){return e.replace(new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),o[t])}),b(i))}(t,e):t.text(e)}),n):!(0,l.stringExists)(e,n)&&t&&t.text?h(t.text,n):h((function(t){return(0,r.keys)(t).sort().reduce((function(e,n,r){var o=t[n],i=("string"===typeof o&&o||o&&o.toString&&o.toString()||"").replace(u,"");return(e||"").replace(d(r),i)}),(0,l.lookUpString)(e,n))}),n)}catch(o){return(0,l.handleLocalizationError)(o,n),function(){return""}}}t.resolveStringWithPlaceholders=f,t.lookupStringInStringProvider=function(e){return function(t){return function(n){return n?f(t,void 0,e)(n):p(t,void 0,e)}}},t.declareString=function(e,t){var n=function(n){return void 0===n&&(n=(0,i.getDefaultStringProvider)()),p(e,t,n)};return n.toString=n,n.key=e,n},t.declareStringWithPlaceholders=function(e,t){var n=function(n,r){return void 0===r&&(r=(0,i.getDefaultStringProvider)()),f(e,t,r)(n)};return n.toString=function(n){return void 0===n&&(n=(0,i.getDefaultStringProvider)()),(0,a.isDevLocalization)()&&t||!(0,l.stringExists)(e,n)&&t?(0,s.getStringDescriptionWithPlaceholders)(e,t).stringToBeLocalized:(0,l.lookUpString)(e,n)},n.key=e,n};var m="0.7059175321136157";var g="->INF::",v="".concat(m,"_-1");function y(e){return e.replace(new RegExp(g,"g"),v)}function b(e){return e.replace(new RegExp(v,"g"),g)}},10895:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lookupStringInDefaultStringProvider=t.clearStringMapLoadersForDefaultStringProvider=t.setCurrentLocaleForDefaultStringProvider=t.getCurrentLocaleForDefaultStringProvider=t.addStringMapLoaderForDefaultStringProvider=t.addStringMapForDefaultStringProvider=t.setLocalizationErrorHandlerForDefaultStringProvider=t.getDefaultStringProvider=void 0;var r=n(73930),o=n(63196),i=n(91652),a={currentLocale:void 0,strings:{},errorHandler:function(e){return console.error(e)},loaders:[],stringMapInitialized:!1,suppressEmptyStringMapErrors:(0,o.isTest)()};function s(){return a}t.getDefaultStringProvider=s,t.setLocalizationErrorHandlerForDefaultStringProvider=function(e){a=(0,i.setLocalizationErrorHandler)(e,a)},t.addStringMapForDefaultStringProvider=function(e,t){a=(0,i.addStringMap)(e,t,a)},t.addStringMapLoaderForDefaultStringProvider=function(e){a=(0,i.addStringMapLoader)(e,a)},t.getCurrentLocaleForDefaultStringProvider=function(){return(0,i.getCurrentLocale)(s())},t.setCurrentLocaleForDefaultStringProvider=function(e){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return[4,(0,i.setCurrentLocale)(e,a)];case 1:return[2,(a=t.sent()).currentLocale]}}))}))},t.clearStringMapLoadersForDefaultStringProvider=function(){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(e){switch(e.label){case 0:return[4,(0,i.clearStringMapLoaders)(s())];case 1:return a=e.sent(),[2]}}))}))},t.lookupStringInDefaultStringProvider=function(e){return(0,i.lookUpString)(e,s())}},63196:function(e,t,n){"use strict";var r=n(40475);Object.defineProperty(t,"__esModule",{value:!0}),t.doPseudoLocalization=t.disableDevModeForLocalization=t.enableDevModeForLocalization=t.enablePseudoLocalization=t.disablePseudoLocalization=t.togglePseudoLocalization=t.isTest=t.isDevLocalization=t.skipLocalization=t.isDev=void 0;var o=!1,i=!1;function a(){return"undefined"!==typeof __DEV__&&__DEV__&&!i}function s(){return"undefined"!==typeof __SKIP_LOC__&&__SKIP_LOC__}t.isDev=a,t.skipLocalization=s,t.isDevLocalization=function(){return a()||s()},t.isTest=function(){return Boolean("undefined"!==typeof r&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:"localhost",WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&!1)},t.togglePseudoLocalization=function(){o=!o},t.disablePseudoLocalization=function(){o=!0},t.enablePseudoLocalization=function(){o=!1},t.enableDevModeForLocalization=function(){i=!1},t.disableDevModeForLocalization=function(){i=!0},t.doPseudoLocalization=function(){return!("undefined"===typeof __DEV__||!__DEV__||i)&&!("undefined"!==typeof __DISABLE_PSEUDO_LOC__&&__DISABLE_PSEUDO_LOC__||o)}},96767:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStringDescriptionWithPlaceholders=t.getStringDescriptionWithoutPlaceholders=t.getStringDescriptionWithOnlyKey=void 0;var r=n(73930),o=n(8170),i=n(10175),a=n(46912);function s(e){return(e=(0,o.upperFirst)(e.trim()))&&!(0,o.endsWith)(e,".")&&(e+="."),e}t.getStringDescriptionWithOnlyKey=function(e){return{key:e,stringToBeLocalized:"",comment:"",placeholderNames:[]}},t.getStringDescriptionWithoutPlaceholders=function(e,t){return{key:e,stringToBeLocalized:t.text,comment:t.comment,placeholderNames:[]}},t.getStringDescriptionWithPlaceholders=function(e,t){for(var n=(0,o.keys)(t.placeholders).filter(o.isString).sort(),c={},l=0,u=(0,o.keys)(t.placeholders);l<u.length;l++){var d=u[l];c[d]=(0,o.isString)(d)?"{".concat(n.indexOf(d),"}"):(0,a.throwError)("Placeholder name ".concat(d," is not a string"))}var p=t.text(c),h=r.__spreadArray([t.comment],n.map((function(e,n){var r=t.placeholders[e].trim();return r?"{".concat(n,"} is a placeholder for ").concat((0,o.lowerFirst)(r)):null})),!0),f=(0,i.filterOutNull)(h).map(s).filter(Boolean).join(" ");return n.forEach((function(e,t){f=f.replace("{"+e+"}","{"+t+"}")})),{key:e,stringToBeLocalized:p,comment:f,placeholderNames:n}}},66759:function(e,t,n){"use strict";t.me=t.li=void 0;var r=n(95053);Object.defineProperty(t,"li",{enumerable:!0,get:function(){return r.declareStringWithPlaceholders}});var o=n(42706);var i=n(63196);Object.defineProperty(t,"me",{enumerable:!0,get:function(){return i.isDevLocalization}});var a=n(96767);var s=n(91652);var c=n(12116);var l=n(10895);var u=n(72097)},72097:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeGetStringMapLoader=void 0;var r=n(12116);t.makeGetStringMapLoader=function(e){return function(t){var n=function(t){return e((0,r.toSupportedLocale)(t,"en-us"))};return t?e((0,r.toSupportedLocale)(t,"en-us")).catch((function(){})).then((function(){return n})):Promise.resolve(n)}}},42138:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pseudoLocalize=void 0;var n={a:"\u0227",A:"\u0226",b:"\u0180",B:"\u0181",c:"\u0188",C:"\u0187",d:"\u1e13",D:"\u1e12",e:"\u1e17",E:"\u1e16",f:"\u0192",F:"\u0191",g:"\u0260",G:"\u0193",h:"\u0127",H:"\u0126",i:"\u012b",I:"\u012a",j:"\u0135",J:"\u0134",k:"\u0137",K:"\u0136",l:"\u0140",L:"\u013f",m:"\u1e3f",M:"\u1e3e",n:"\u019e",N:"\u0220",o:"\u01ff",O:"\u01fe",p:"\u01a5",P:"\u01a4",q:"\u024b",Q:"\u024a",r:"\u0159",R:"\u0158",s:"\u015f",S:"\u015e",t:"\u0167",T:"\u0166",v:"\u1e7d",V:"\u1e7c",u:"\u016d",U:"\u016c",w:"\u1e87",W:"\u1e86",x:"\u1e8b",X:"\u1e8a",y:"\u1e8f",Y:"\u1e8e",z:"\u1e91",Z:"\u1e90"};t.pseudoLocalize=function(e){return e.split("").reduce((function(e,t){var r=n[t]||t,o=r+(function(e){return"aeiou".indexOf(e.toLowerCase())>=0}(t)?r:"");return e+o}),"")}},91652:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lookUpString=t.stringExists=t.flattenStringMap=t.clearStringMapLoaders=t.setCurrentLocale=t.getCurrentLocale=t.addStringMapLoader=t.addStringMap=t.handleLocalizationError=t.setLocalizationErrorHandler=void 0;var r=n(73930),o=n(13019),i=n(1606),a=n(63196);t.setLocalizationErrorHandler=function(e,t){return r.__assign(r.__assign({},t),{errorHandler:e})},t.handleLocalizationError=function(e,t){t.errorHandler(e)};var s,c=(0,i.memoizeFunction)((function(e,t){var n=u(t);return function(t){return Promise.resolve(e===t?n:{})}}));function l(e,t){return-1===t.loaders.indexOf(e)?r.__assign(r.__assign({},t),{loaders:t.loaders.concat(e)}):t}function u(e){var t={};return e&&function e(n,r){for(var i=0,a=(0,o.keys)(r);i<a.length;i++){var s=a[i];if("string"===typeof s){var c=r[s];"string"===typeof c?t[n+s]=c:"object"===typeof c&&e(n+s+".",c)}}}("",e),t}t.addStringMap=function(e,t,n){if(n.currentLocale===e||void 0===n.currentLocale){var o=u(t);return r.__assign(r.__assign({},n),{currentLocale:void 0===n.currentLocale?e:n.currentLocale,strings:r.__assign(r.__assign({},n.strings),o),stringMapInitialized:!0})}return l(c(e,t),n)},t.addStringMapLoader=l,t.getCurrentLocale=function(e){return s?s.then((function(e){return e.currentLocale})):Promise.resolve(e.currentLocale)},t.setCurrentLocale=function(e,t){var n=function(e,t){return r.__awaiter(this,void 0,void 0,(function(){var n,o,i=this;return r.__generator(this,(function(a){switch(a.label){case 0:return n=function(n){return r.__awaiter(i,void 0,void 0,(function(){var o,i;return r.__generator(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,n(e)];case 1:return[2,r.sent()];case 2:return o=r.sent(),i=o.message||"unknown error",t.errorHandler("Async string map loader failed: ".concat(i)),[2,{}];case 3:return[2]}}))}))},o=t.loaders.map(n),[4,Promise.all(o)];case 1:return[2,a.sent().map(u).reduce((function(e,t){return r.__assign(r.__assign({},e),t)}),{})]}}))}))}(e,t).then((function(n){return r.__assign(r.__assign({},t),{strings:n,currentLocale:e,stringMapInitialized:!0})}));return s=s?s.then((function(){return n})):n},t.clearStringMapLoaders=function(e){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return s?[4,s]:[3,2];case 1:t.sent(),t.label=2;case 2:return s=void 0,[2,r.__assign(r.__assign({},e),{loaders:[],strings:{},currentLocale:void 0})]}}))}))},t.flattenStringMap=u,t.stringExists=function(e,t){return"string"===typeof t.strings[e]},t.lookUpString=function(e,t){var n=t.strings[e];if(!n||"string"!==typeof n){var r=(0,a.isDev)()||(0,a.isTest)()?e:"";return!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(t.strings)?t.errorHandler("Key ".concat(e," does not exist in string map"),{stringsLoaded:!!t.stringMapInitialized}):!t.suppressEmptyStringMapErrors&&t.errorHandler("The current string map is empty. The string is probably resolved too early, at import time. Key: ".concat(e)),r}return n}},12116:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toSupportedLocale=t.supportedLocales=t.isSupportedLocale=void 0;var r=n(68088);Object.defineProperty(t,"isSupportedLocale",{enumerable:!0,get:function(){return r.isSupportedLocale}}),Object.defineProperty(t,"supportedLocales",{enumerable:!0,get:function(){return r.supportedLocales}}),Object.defineProperty(t,"toSupportedLocale",{enumerable:!0,get:function(){return r.toSupportedLocale}})},8141:function(e,t,n){"use strict";n.d(t,{N:function(){return g}});var r,o,i,a=n(73930),s=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},c="undefined"!==typeof console?console:void 0,l={trace:(null!==(r=null===c||void 0===c?void 0:c.trace)&&void 0!==r?r:s).bind(c),warn:(null!==(o=null===c||void 0===c?void 0:c.warn)&&void 0!==o?o:s).bind(c),table:(null!==(i=null===c||void 0===c?void 0:c.table)&&void 0!==i?i:s).bind(c)},u=n(15888),d=n.n(u),p="undefined"!==typeof __WHY_DID_YOU_RECOMPUTE__&&__WHY_DID_YOU_RECOMPUTE__||"undefined"!==typeof globalThis&&globalThis.__WHY_DID_YOU_RECOMPUTE__,h={empty:!0},f={},m="undefined"===typeof WeakMap?null:WeakMap,g=function(e,t){if(void 0===t&&(t=100),!m)return e;var n=y(),r=0,o=0,i=p?new Map:void 0,s=p?new Error("Memoized function defined").stack:"";return function(){for(var c,u,h,f,m=[],g=0;g<arguments.length;g++)m[g]=arguments[g];var b=n;(0!==o||t>0&&r>t)&&(n=y(),r=0,o=0,null===i||void 0===i||i.clear()),b=n;for(var _=function(e){var t=v(m[e]);if(!(null===(c=b.map)||void 0===c?void 0:c.has(t))&&(null===(u=b.map)||void 0===u||u.set(t,y()),p&&i)){var n=null!==(h=i.get(b))&&void 0!==h?h:[],r=n.filter((function(e){return e!==t&&d()(e,t)}))[0];if(r){l.warn("Why-did-you-recompute: Identical (deep-comparison) past arguments to memoizeFunction found with differing instance equality: ");var o=new Error("Indentical argument passed").stack;!function e(t,n){l.table(t),Object.keys(t).forEach((function(r){var o=t[r],i=n[r];o!==i&&d()(o,i)&&(l.warn("Duplication present in child prop '".concat(r,"'")),e(o,i))}))}(r,t),l.warn(o),l.warn(s)}i.set(b,(0,a.__spreadArray)((0,a.__spreadArray)([],(0,a.__read)(n),!1),[t],!1))}b=null===(f=b.map)||void 0===f?void 0:f.get(t)},C=0;C<m.length;C++)_(C);return b.hasOwnProperty("value")||(b.value=e.apply(void 0,(0,a.__spreadArray)([],(0,a.__read)(m),!1)),r++),b.value}};function v(e){return e?"object"===typeof e||"function"===typeof e?e:(f[e]||(f[e]={val:e}),f[e]):h}function y(){return{map:m?new m:null}}},77465:function(e,t,n){"use strict";n.d(t,{M:function(){return a}});var r=n(73930),o=n(8141),i=Object.keys;function a(e){var t,n,a={};try{for(var s=(0,r.__values)(i(e)),c=s.next();!c.done;c=s.next()){var l=c.value,u=e[l];a[l]="function"===typeof u?(0,o.N)(u.bind(a)):u}}catch(d){t={error:d}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return a}},70344:function(e,t,n){"use strict";n.r(t),n.d(t,{createICUString:function(){return h},getPluralString:function(){return g},getPluralStringUnsafe:function(){return m},getStringForRange:function(){return d},mapMidgardLocaleToCLDRLocale:function(){return u},mapNumberToRangeForLocale:function(){return p},parsePluralString:function(){return f}});var r=n(73930),o=n(96502),i=n.n(o),a=n(11481),s=n.n(a),c=["zero","one","two","few","many","other"],l={zero:/zero\s*{([^}]+)}/,one:/one\s*{([^}]+)}/,two:/two\s*{([^}]+)}/,few:/few\s*{([^}]+)}/,many:/many\s*{([^}]+)}/,other:/other\s*{([^}]+)}/};function u(e){return e.split("-")[0]}function d(e,t){var n=(0,r.__read)(l[t].exec(e)||[],2)[1];return void 0===n?"":n}function p(e,t){return s()(t,e)}function h(e){var t="";return c.forEach((function(n){e[n]&&(t+=" ".concat(n,"{").concat(e[n],"}"))})),"".concat("{count, plural,").concat(t).concat("}")}function f(e,t,n){return d(e,p(t,n)||"other")}function m(e,t,n){if(t<0||t!==1/0&&!i()(t))throw new Error("count must be a positive integer or Infinity");return f(e,t,n)}function g(e,t,n){if(void 0===t)return e;try{return m(e,t,n||"en")}catch(r){return e}}},46076:function(e,t,n){"use strict";function r(e){i.length||(o(),!0),i[i.length]=e}e.exports=r;var o,i=[],a=0;function s(){for(;a<i.length;){var e=a;if(a+=1,i[e].call(),a>1024){for(var t=0,n=i.length-a;t<n;t++)i[t]=i[t+a];i.length-=a,a=0}}i.length=0,a=0,!1}var c="undefined"!==typeof n.g?n.g:self,l=c.MutationObserver||c.WebKitMutationObserver;function u(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}o="function"===typeof l?function(e){var t=1,n=new l(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}(s):u(s),r.requestFlush=o,r.makeRequestCallFromTimer=u},95803:function(e,t,n){e.exports=n(23975)},41873:function(e,t,n){"use strict";var r=n(17968),o=n(52433),i=n(79645),a=n(45557),s=n(18020),c=n(4493),l=n(95486),u=n(18539);e.exports=function(e){return new Promise((function(t,n){var d=e.data,p=e.headers,h=e.responseType;r.isFormData(d)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(m+":"+g)}var v=s(e.baseURL,e.url);function y(){if(f){var r="getAllResponseHeaders"in f?c(f.getAllResponseHeaders()):null,i={data:h&&"text"!==h&&"json"!==h?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};o(t,n,i),f=null}}if(f.open(e.method.toUpperCase(),a(v,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=y:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(y)},f.onabort=function(){f&&(n(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){n(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||l(v))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}"setRequestHeader"in f&&r.forEach(p,(function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),h&&"json"!==h&&(f.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),n(e),f=null)})),d||(d=null),f.send(d)}))}},23975:function(e,t,n){"use strict";var r=n(17968),o=n(89926),i=n(15993),a=n(38838);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(n(34845));c.Axios=i,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(47991),c.CancelToken=n(68460),c.isCancel=n(74070),c.all=function(e){return Promise.all(e)},c.spread=n(33287),c.isAxiosError=n(42118),e.exports=c,e.exports.default=c},47991:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},68460:function(e,t,n){"use strict";var r=n(47991);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},74070:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},15993:function(e,t,n){"use strict";var r=n(17968),o=n(45557),i=n(78910),a=n(15585),s=n(38838),c=n(9661),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u.concat(i),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var d=e;n.length;){var p=n.shift(),h=n.shift();try{d=p(d)}catch(f){h(f);break}}try{o=a(d)}catch(f){return Promise.reject(f)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},78910:function(e,t,n){"use strict";var r=n(17968);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},18020:function(e,t,n){"use strict";var r=n(1612),o=n(34183);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},18539:function(e,t,n){"use strict";var r=n(19950);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},15585:function(e,t,n){"use strict";var r=n(17968),o=n(64571),i=n(74070),a=n(34845);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},19950:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},38838:function(e,t,n){"use strict";var r=n(17968);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function l(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(i,l),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(void 0,t[o])})),r.forEach(s,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var u=o.concat(i).concat(a).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(d,l),n}},52433:function(e,t,n){"use strict";var r=n(18539);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},64571:function(e,t,n){"use strict";var r=n(17968),o=n(34845);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},34845:function(e,t,n){"use strict";var r=n(40475),o=n(17968),i=n(31872),a=n(19950),s={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof r&&"[object process]"===Object.prototype.toString.call(r))&&(e=n(41873)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),JSON.stringify(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||r&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(i){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){l.headers[e]=o.merge(s)})),e.exports=l},89926:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},45557:function(e,t,n){"use strict";var r=n(17968);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},34183:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},79645:function(e,t,n){"use strict";var r=n(17968);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1612:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},42118:function(e){"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},95486:function(e,t,n){"use strict";var r=n(17968);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},31872:function(e,t,n){"use strict";var r=n(17968);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4493:function(e,t,n){"use strict";var r=n(17968),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},33287:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},9661:function(e,t,n){"use strict";var r=n(19521),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function s(e,t){for(var n=t?t.split("."):a,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(e,t,n){var o=t&&s(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={isOlderVersion:s,assertOptions:function(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],c=void 0===s||a(s,i,e);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},17968:function(e,t,n){"use strict";var r=n(89926),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:u,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},54791:function(e){var t=.1,n="function"===typeof Float32Array;function r(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function i(e){return 3*e}function a(e,t,n){return((r(t,n)*e+o(t,n))*e+i(t))*e}function s(e,t,n){return 3*r(t,n)*e*e+2*o(t,n)*e+i(t)}function c(e){return e}e.exports=function(e,r,o,i){if(!(0<=e&&e<=1&&0<=o&&o<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===r&&o===i)return c;for(var l=n?new Float32Array(11):new Array(11),u=0;u<11;++u)l[u]=a(u*t,e,o);function d(n){for(var r=0,i=1;10!==i&&l[i]<=n;++i)r+=t;--i;var c=r+(n-l[i])/(l[i+1]-l[i])*t,u=s(c,e,o);return u>=.001?function(e,t,n,r){for(var o=0;o<4;++o){var i=s(t,n,r);if(0===i)return t;t-=(a(t,n,r)-e)/i}return t}(n,c,e,o):0===u?c:function(e,t,n,r,o){var i,s,c=0;do{(i=a(s=t+(n-t)/2,r,o)-e)>0?n=s:t=s}while(Math.abs(i)>1e-7&&++c<10);return s}(n,r,r+t,e,o)}return function(e){return 0===e?0:1===e?1:a(d(e),r,i)}}},88928:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},32063:function(e,t,n){var r=n(97955);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},71856:function(e,t,n){var r=n(40822),o=n(25788),i=n(5147),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&i(s,a,o(null)),e.exports=function(e){s[a][e]=!0}},42672:function(e,t,n){"use strict";var r=n(83458).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},93932:function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},67695:function(e,t,n){var r=n(97955);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},70671:function(e,t,n){"use strict";var r,o=n(9522),i=n(3380),a=n(97955),s=n(44938),c=n(31540),l=n(5147),u=n(73920),d=n(3120).f,p=n(17929),h=n(12310),f=n(40822),m=n(64499),g=i.DataView,v=g&&g.prototype,y=i.Int8Array,b=y&&y.prototype,_=i.Uint8ClampedArray,C=_&&_.prototype,w=y&&p(y),E=b&&p(b),x=Object.prototype,S=x.isPrototypeOf,k=f("toStringTag"),T=m("TYPED_ARRAY_TAG"),I=!(!i.ArrayBuffer||!g),A=I&&!!h&&"Opera"!==c(i.opera),P=!1,D={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R=function(e){return a(e)&&s(D,c(e))};for(r in D)i[r]||(A=!1);if((!A||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},A))for(r in D)i[r]&&h(i[r],w);if((!A||!E||E===x)&&(E=w.prototype,A))for(r in D)i[r]&&h(i[r].prototype,E);if(A&&p(C)!==E&&h(C,E),o&&!s(E,k))for(r in P=!0,d(E,k,{get:function(){return a(this)?this[T]:void 0}}),D)i[r]&&l(i[r],T,r);I&&h&&p(v)!==x&&h(v,x),e.exports={NATIVE_ARRAY_BUFFER:I,NATIVE_ARRAY_BUFFER_VIEWS:A,TYPED_ARRAY_TAG:P&&T,aTypedArray:function(e){if(R(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(h){if(S.call(w,e))return e}else for(var t in D)if(s(D,r)){var n=i[t];if(n&&(e===n||S.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(o){if(n)for(var r in D){var a=i[r];a&&s(a.prototype,e)&&delete a.prototype[e]}E[e]&&!n||u(E,e,n?t:A&&b[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,a;if(o){if(h){if(n)for(r in D)(a=i[r])&&s(a,e)&&delete a[e];if(w[e]&&!n)return;try{return u(w,e,n?t:A&&y[e]||t)}catch(c){}}for(r in D)!(a=i[r])||a[e]&&!n||u(a,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||s(D,t)},isTypedArray:R,TypedArray:w,TypedArrayPrototype:E}},80922:function(e,t,n){"use strict";var r=n(3380),o=n(9522),i=n(70671).NATIVE_ARRAY_BUFFER,a=n(5147),s=n(90528),c=n(81949),l=n(93932),u=n(68606),d=n(60497),p=n(18528),h=n(21170),f=n(57472).f,m=n(3120).f,g=n(90112),v=n(31149),y=n(84392),b=y.get,_=y.set,C="ArrayBuffer",w="DataView",E="Wrong index",x=r.ArrayBuffer,S=x,k=r.DataView,T=r.RangeError,I=h.pack,A=h.unpack,P=function(e){return[255&e]},D=function(e){return[255&e,e>>8&255]},R=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},M=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},N=function(e){return I(e,23,4)},L=function(e){return I(e,52,8)},O=function(e,t){m(e.prototype,t,{get:function(){return b(this)[t]}})},F=function(e,t,n,r){var o=p(n),i=b(e);if(o+t>i.byteLength)throw T(E);var a=b(i.buffer).bytes,s=o+i.byteOffset,c=a.slice(s,s+t);return r?c:c.reverse()},B=function(e,t,n,r,o,i){var a=p(n),s=b(e);if(a+t>s.byteLength)throw T(E);for(var c=b(s.buffer).bytes,l=a+s.byteOffset,u=r(+o),d=0;d<t;d++)c[l+d]=u[i?d:t-d-1]};if(i){if(!c((function(){x(1)}))||!c((function(){new x(-1)}))||c((function(){return new x,new x(1.5),new x(NaN),x.name!=C}))){for(var H,z=(S=function(e){return l(this,S),new x(p(e))}).prototype=x.prototype,U=f(x),V=0;U.length>V;)(H=U[V++])in S||a(S,H,x[H]);z.constructor=S}var j=new k(new S(2)),q=k.prototype.setInt8;j.setInt8(0,2147483648),j.setInt8(1,2147483649),!j.getInt8(0)&&j.getInt8(1)||s(k.prototype,{setInt8:function(e,t){q.call(this,e,t<<24>>24)},setUint8:function(e,t){q.call(this,e,t<<24>>24)}},{unsafe:!0})}else S=function(e){l(this,S,C);var t=p(e);_(this,{bytes:g.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},k=function(e,t,n){l(this,k,w),l(e,S,w);var r=b(e).byteLength,i=u(t);if(i<0||i>r)throw T("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw T("Wrong length");_(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(O(S,"byteLength"),O(k,"buffer"),O(k,"byteLength"),O(k,"byteOffset")),s(k.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return M(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return M(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return A(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return A(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){B(this,1,e,P,t)},setUint8:function(e,t){B(this,1,e,P,t)},setInt16:function(e,t){B(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){B(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){B(this,4,e,R,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){B(this,4,e,R,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){B(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){B(this,8,e,L,t,arguments.length>2?arguments[2]:void 0)}});v(S,C),v(k,w),e.exports={ArrayBuffer:S,DataView:k}},3752:function(e,t,n){"use strict";var r=n(25904),o=n(16648),i=n(60497),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),c=o(e,s),l=o(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:o(u,s))-l,s-c),p=1;for(l<c&&c<l+d&&(p=-1,l+=d-1,c+=d-1);d-- >0;)l in n?n[c]=n[l]:delete n[c],c+=p,l+=p;return n}},90112:function(e,t,n){"use strict";var r=n(25904),o=n(16648),i=n(60497);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,l=void 0===c?n:o(c,n);l>s;)t[s++]=e;return t}},26356:function(e,t,n){"use strict";var r=n(92081).forEach,o=n(55085);e.exports=o("forEach")?function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},38706:function(e,t,n){"use strict";var r=n(76525),o=n(25904),i=n(99790),a=n(66349),s=n(60497),c=n(40616),l=n(9117);e.exports=function(e){var t,n,u,d,p,h=o(e),f="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,v=void 0!==g,y=0,b=l(h);if(v&&(g=r(g,m>2?arguments[2]:void 0,2)),void 0==b||f==Array&&a(b))for(n=new f(t=s(h.length));t>y;y++)c(n,y,v?g(h[y],y):h[y]);else for(p=(d=b.call(h)).next,n=new f;!(u=p.call(d)).done;y++)c(n,y,v?i(d,g,[u.value,y],!0):u.value);return n.length=y,n}},50498:function(e,t,n){var r=n(76616),o=n(60497),i=n(16648),a=function(e){return function(t,n,a){var s,c=r(t),l=o(c.length),u=i(a,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},92081:function(e,t,n){var r=n(76525),o=n(95879),i=n(25904),a=n(60497),s=n(45223),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,u=4==e,d=6==e,p=5==e||d;return function(h,f,m,g){for(var v,y,b=i(h),_=o(b),C=r(f,m,3),w=a(_.length),E=0,x=g||s,S=t?x(h,w):n?x(h,0):void 0;w>E;E++)if((p||E in _)&&(y=C(v=_[E],E,b),e))if(t)S[E]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:c.call(S,v)}else if(u)return!1;return d?-1:l||u?u:S}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},36340:function(e,t,n){"use strict";var r=n(76616),o=n(68606),i=n(60497),a=n(55085),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf");e.exports=l||u?function(e){if(l)return c.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:c},9679:function(e,t,n){var r=n(81949),o=n(40822),i=n(81363),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},43255:function(e,t,n){var r=n(88928),o=n(25904),i=n(95879),a=n(60497),s=function(e){return function(t,n,s,c){r(n);var l=o(t),u=i(l),d=a(l.length),p=e?d-1:0,h=e?-1:1;if(s<2)for(;;){if(p in u){c=u[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=h)p in u&&(c=n(c,u[p],p,l));return c}};e.exports={left:s(!1),right:s(!0)}},45223:function(e,t,n){var r=n(97955),o=n(10117),i=n(40822)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},76525:function(e,t,n){var r=n(88928);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},99790:function(e,t,n){var r=n(67695);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e.return;throw void 0!==i&&r(i.call(e)),a}}},73340:function(e,t,n){var r=n(40822)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(s){}return n}},40071:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},31540:function(e,t,n){var r=n(78640),o=n(40071),i=n(40822)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},58719:function(e,t,n){"use strict";var r=n(3120).f,o=n(25788),i=n(90528),a=n(76525),s=n(93932),c=n(53050),l=n(39120),u=n(5831),d=n(9522),p=n(88505).fastKey,h=n(84392),f=h.set,m=h.getterFor;e.exports={getConstructor:function(e,t,n,l){var u=e((function(e,r){s(e,u,t),f(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=r&&c(r,e[l],e,n)})),h=m(t),g=function(e,t,n){var r,o,i=h(e),a=v(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},v=function(e,t){var n,r=h(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(u.prototype,{clear:function(){for(var e=h(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,n=h(t),r=v(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),d?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=h(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),i(u.prototype,n?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&r(u.prototype,"size",{get:function(){return h(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);l(e,t,(function(e,t){f(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},37899:function(e,t,n){"use strict";var r=n(90528),o=n(88505).getWeakData,i=n(67695),a=n(97955),s=n(93932),c=n(53050),l=n(92081),u=n(44938),d=n(84392),p=d.set,h=d.getterFor,f=l.find,m=l.findIndex,g=0,v=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return f(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var d=e((function(e,r){s(e,d,t),p(e,{type:t,id:g++,frozen:void 0}),void 0!=r&&c(r,e[l],e,n)})),f=h(t),m=function(e,t,n){var r=f(e),a=o(i(t),!0);return!0===a?v(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=f(this);if(!a(e))return!1;var n=o(e);return!0===n?v(t).delete(e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=f(this);if(!a(e))return!1;var n=o(e);return!0===n?v(t).has(e):n&&u(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=f(this);if(a(e)){var n=o(e);return!0===n?v(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},90409:function(e,t,n){"use strict";var r=n(12791),o=n(3380),i=n(52501),a=n(73920),s=n(88505),c=n(53050),l=n(93932),u=n(97955),d=n(81949),p=n(73340),h=n(31149),f=n(48461);e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),v=m?"set":"add",y=o[e],b=y&&y.prototype,_=y,C={},w=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(g||b.forEach&&!d((function(){(new y).entries().next()})))))_=n.getConstructor(t,e,m,v),s.REQUIRED=!0;else if(i(e,!0)){var E=new _,x=E[v](g?{}:-0,1)!=E,S=d((function(){E.has(1)})),k=p((function(e){new y(e)})),T=!g&&d((function(){for(var e=new y,t=5;t--;)e[v](t,t);return!e.has(-0)}));k||((_=t((function(t,n){l(t,_,e);var r=f(new y,t,_);return void 0!=n&&c(n,r[v],r,m),r}))).prototype=b,b.constructor=_),(S||T)&&(w("delete"),w("has"),m&&w("get")),(T||x)&&w(v),g&&b.clear&&delete b.clear}return C[e]=_,r({global:!0,forced:_!=y},C),h(_,e),g||n.setStrong(_,e,m),_}},43566:function(e,t,n){var r=n(44938),o=n(48259),i=n(5693),a=n(3120);e.exports=function(e,t){for(var n=o(t),s=a.f,c=i.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}},72362:function(e,t,n){var r=n(40822)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(o){}}return!1}},66361:function(e,t,n){var r=n(81949);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},29514:function(e,t,n){var r=n(40840),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),s+">"+a+"</"+t+">"}},1123:function(e,t,n){"use strict";var r=n(5709).IteratorPrototype,o=n(25788),i=n(80106),a=n(31149),s=n(84759),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,l,!1,!0),s[l]=c,e}},5147:function(e,t,n){var r=n(9522),o=n(3120),i=n(80106);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},80106:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},40616:function(e,t,n){"use strict";var r=n(37364),o=n(3120),i=n(80106);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},78174:function(e,t,n){"use strict";var r=n(67695),o=n(37364);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},39120:function(e,t,n){"use strict";var r=n(12791),o=n(1123),i=n(17929),a=n(12310),s=n(31149),c=n(5147),l=n(73920),u=n(40822),d=n(27410),p=n(84759),h=n(5709),f=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v="keys",y="values",b="entries",_=function(){return this};e.exports=function(e,t,n,u,h,C,w){o(n,t,u);var E,x,S,k=function(e){if(e===h&&D)return D;if(!m&&e in A)return A[e];switch(e){case v:case y:case b:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",I=!1,A=e.prototype,P=A[g]||A["@@iterator"]||h&&A[h],D=!m&&P||k(h),R="Array"==t&&A.entries||P;if(R&&(E=i(R.call(new e)),f!==Object.prototype&&E.next&&(d||i(E)===f||(a?a(E,f):"function"!=typeof E[g]&&c(E,g,_)),s(E,T,!0,!0),d&&(p[T]=_))),h==y&&P&&P.name!==y&&(I=!0,D=function(){return P.call(this)}),d&&!w||A[g]===D||c(A,g,D),p[t]=D,h)if(x={values:k(y),keys:C?D:k(v),entries:k(b)},w)for(S in x)(m||I||!(S in A))&&l(A,S,x[S]);else r({target:t,proto:!0,forced:m||I},x);return x}},82054:function(e,t,n){var r=n(33068),o=n(44938),i=n(34256),a=n(3120).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},9522:function(e,t,n){var r=n(81949);e.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},67609:function(e,t,n){var r=n(3380),o=n(97955),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},31335:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},80593:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},12791:function(e,t,n){var r=n(3380),o=n(5693).f,i=n(5147),a=n(73920),s=n(56627),c=n(43566),l=n(52501);e.exports=function(e,t){var n,u,d,p,h,f=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[f]||s(f,{}):(r[f]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(h=o(n,u))&&h.value:n[u],!l(m?u:f+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p===typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},81949:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},92590:function(e,t,n){"use strict";var r=n(5147),o=n(73920),i=n(81949),a=n(40822),s=n(10569),c=a("species"),l=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var p=a(e),h=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),f=h&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!h||!f||"replace"===e&&!l||"split"===e&&!u){var m=/./[p],g=n(p,""[e],(function(e,t,n,r,o){return t.exec===s?h&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),v=g[0],y=g[1];o(String.prototype,e,v),o(RegExp.prototype,p,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),d&&r(RegExp.prototype[p],"sham",!0)}}},46835:function(e,t,n){"use strict";var r=n(10117),o=n(60497),i=n(76525);e.exports=function e(t,n,a,s,c,l,u,d){for(var p,h=c,f=0,m=!!u&&i(u,d,3);f<s;){if(f in a){if(p=m?m(a[f],f,n):a[f],l>0&&r(p))h=e(t,n,p,o(p.length),h,l-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[h]=p}h++}f++}return h}},22283:function(e,t,n){"use strict";var r=n(27410),o=n(3380),i=n(81949);e.exports=r||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}))},38669:function(e,t,n){var r=n(81949);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},99865:function(e,t,n){var r=n(81949),o=n(78458);e.exports=function(e){return r((function(){return!!o[e]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[e]()||o[e].name!==e}))}},56171:function(e,t,n){var r=n(81949);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},26576:function(e,t,n){"use strict";var r=n(88928),o=n(97955),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},72591:function(e,t,n){var r=n(33068),o=n(3380),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},9117:function(e,t,n){var r=n(31540),o=n(84759),i=n(40822)("iterator");e.exports=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},6574:function(e,t,n){var r=n(67695),o=n(9117);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},3380:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||Function("return this")()},44938:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},49901:function(e){e.exports={}},89591:function(e,t,n){var r=n(3380);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},36320:function(e,t,n){var r=n(72591);e.exports=r("document","documentElement")},75246:function(e,t,n){var r=n(9522),o=n(81949),i=n(67609);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},21170:function(e){var t=1/0,n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,s,c){var l,u,d,p=new Array(c),h=8*c-s-1,f=(1<<h)-1,m=f>>1,g=23===s?r(2,-24)-r(2,-77):0,v=e<0||0===e&&1/e<0?1:0,y=0;for((e=n(e))!=e||e===t?(u=e!=e?1:0,l=f):(l=o(i(e)/a),e*(d=r(2,-l))<1&&(l--,d*=2),(e+=l+m>=1?g/d:g*r(2,1-m))*d>=2&&(l++,d/=2),l+m>=f?(u=0,l=f):l+m>=1?(u=(e*d-1)*r(2,s),l+=m):(u=e*r(2,m-1)*r(2,s),l=0));s>=8;p[y++]=255&u,u/=256,s-=8);for(l=l<<s|u,h+=s;h>0;p[y++]=255&l,l/=256,h-=8);return p[--y]|=128*v,p},unpack:function(e,n){var o,i=e.length,a=8*i-n-1,s=(1<<a)-1,c=s>>1,l=a-7,u=i-1,d=e[u--],p=127&d;for(d>>=7;l>0;p=256*p+e[u],u--,l-=8);for(o=p&(1<<-l)-1,p>>=-l,l+=n;l>0;o=256*o+e[u],u--,l-=8);if(0===p)p=1-c;else{if(p===s)return o?NaN:d?-1/0:t;o+=r(2,n),p-=c}return(d?-1:1)*o*r(2,p-n)}}},95879:function(e,t,n){var r=n(81949),o=n(40071),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},48461:function(e,t,n){var r=n(97955),o=n(12310);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},49252:function(e,t,n){var r=n(2288),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},88505:function(e,t,n){var r=n(49901),o=n(97955),i=n(44938),a=n(3120).f,s=n(64499),c=n(56171),l=s("meta"),u=0,d=Object.isExtensible||function(){return!0},p=function(e){a(e,l,{value:{objectID:"O"+ ++u,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,l)){if(!d(e))return"F";if(!t)return"E";p(e)}return e[l].objectID},getWeakData:function(e,t){if(!i(e,l)){if(!d(e))return!0;if(!t)return!1;p(e)}return e[l].weakData},onFreeze:function(e){return c&&h.REQUIRED&&d(e)&&!i(e,l)&&p(e),e}};r[l]=!0},84392:function(e,t,n){var r,o,i,a=n(26071),s=n(3380),c=n(97955),l=n(5147),u=n(44938),d=n(57170),p=n(49901),h=s.WeakMap;if(a){var f=new h,m=f.get,g=f.has,v=f.set;r=function(e,t){return v.call(f,e,t),t},o=function(e){return m.call(f,e)||{}},i=function(e){return g.call(f,e)}}else{var y=d("state");p[y]=!0,r=function(e,t){return l(e,y,t),t},o=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},66349:function(e,t,n){var r=n(40822),o=n(84759),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},10117:function(e,t,n){var r=n(40071);e.exports=Array.isArray||function(e){return"Array"==r(e)}},52501:function(e,t,n){var r=n(81949),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},72677:function(e,t,n){var r=n(97955),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},85954:function(e,t,n){var r=n(28592);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},97955:function(e){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},27410:function(e){e.exports=!1},42227:function(e,t,n){var r=n(97955),o=n(40071),i=n(40822)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},53050:function(e,t,n){var r=n(67695),o=n(66349),i=n(60497),a=n(76525),s=n(9117),c=n(99790),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,d){var p,h,f,m,g,v,y,b=a(t,n,u?2:1);if(d)p=e;else{if("function"!=typeof(h=s(e)))throw TypeError("Target is not iterable");if(o(h)){for(f=0,m=i(e.length);m>f;f++)if((g=u?b(r(y=e[f])[0],y[1]):b(e[f]))&&g instanceof l)return g;return new l(!1)}p=h.call(e)}for(v=p.next;!(y=v.call(p)).done;)if("object"==typeof(g=c(p,b,y.value,u))&&g&&g instanceof l)return g;return new l(!1)}).stop=function(e){return new l(!0,e)}},5709:function(e,t,n){"use strict";var r,o,i,a=n(17929),s=n(5147),c=n(44938),l=n(40822),u=n(27410),d=l("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),void 0==r&&(r={}),u||c(r,d)||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},84759:function(e){e.exports={}},46915:function(e){var t=Math.expm1,n=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:n(e)-1}:t},50489:function(e,t,n){var r=n(68351),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),c=i(2,127)*(2-s),l=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),u=r(e);return i<l?u*(i/l/s+1/a-1/a)*l*s:(n=(t=(1+s/a)*i)-(t-i))>c||n!=n?u*(1/0):u*n}},72185:function(e){var t=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:t(1+e)}},68351:function(e){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},96337:function(e,t,n){var r,o,i,a,s,c,l,u,d=n(3380),p=n(5693).f,h=n(40071),f=n(64581).set,m=n(85954),g=d.MutationObserver||d.WebKitMutationObserver,v=d.process,y=d.Promise,b="process"==h(v),_=p(d,"queueMicrotask"),C=_&&_.value;C||(r=function(){var e,t;for(b&&(e=v.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(n){throw o?a():i=void 0,n}}i=void 0,e&&e.enter()},b?a=function(){v.nextTick(r)}:g&&!m?(s=!0,c=document.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):y&&y.resolve?(l=y.resolve(void 0),u=l.then,a=function(){u.call(l,r)}):a=function(){f.call(d,r)}),e.exports=C||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},29044:function(e,t,n){var r=n(3380);e.exports=r.Promise},44478:function(e,t,n){var r=n(81949);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},91255:function(e,t,n){var r=n(81949),o=n(40822),i=n(27410),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},26071:function(e,t,n){var r=n(3380),o=n(49252),i=r.WeakMap;e.exports="function"===typeof i&&/native code/.test(o(i))},752:function(e,t,n){"use strict";var r=n(88928),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},51035:function(e,t,n){var r=n(42227);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},66272:function(e,t,n){var r=n(3380).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},64399:function(e,t,n){"use strict";var r=n(9522),o=n(81949),i=n(31900),a=n(13455),s=n(56346),c=n(25904),l=n(95879),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||i(u({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,u=1,d=a.f,p=s.f;o>u;)for(var h,f=l(arguments[u++]),m=d?i(f).concat(d(f)):i(f),g=m.length,v=0;g>v;)h=m[v++],r&&!p.call(f,h)||(n[h]=f[h]);return n}:u},25788:function(e,t,n){var r=n(67695),o=n(20370),i=n(80593),a=n(49901),s=n(36320),c=n(67609),l=n(57170)("IE_PROTO"),u=function(){},d=function(){var e,t=c("iframe"),n=i.length;for(t.style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),d=e.F;n--;)delete d.prototype[i[n]];return d()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[l]=e):n=d(),void 0===t?n:o(n,t)},a[l]=!0},20370:function(e,t,n){var r=n(9522),o=n(3120),i=n(67695),a=n(31900);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,c=0;s>c;)o.f(e,n=r[c++],t[n]);return e}},3120:function(e,t,n){var r=n(9522),o=n(75246),i=n(67695),a=n(37364),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5693:function(e,t,n){var r=n(9522),o=n(56346),i=n(80106),a=n(76616),s=n(37364),c=n(44938),l=n(75246),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),l)try{return u(e,t)}catch(n){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},71997:function(e,t,n){var r=n(76616),o=n(57472).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(t){return a.slice()}}(e):o(r(e))}},57472:function(e,t,n){var r=n(32392),o=n(80593).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},13455:function(e,t){t.f=Object.getOwnPropertySymbols},17929:function(e,t,n){var r=n(44938),o=n(25904),i=n(57170),a=n(66361),s=i("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},32392:function(e,t,n){var r=n(44938),o=n(76616),i=n(50498).indexOf,a=n(49901);e.exports=function(e,t){var n,s=o(e),c=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~i(l,n)||l.push(n));return l}},31900:function(e,t,n){var r=n(32392),o=n(80593);e.exports=Object.keys||function(e){return r(e,o)}},56346:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},12310:function(e,t,n){var r=n(67695),o=n(32063);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},14432:function(e,t,n){var r=n(9522),o=n(31900),i=n(76616),a=n(56346).f,s=function(e){return function(t){for(var n,s=i(t),c=o(s),l=c.length,u=0,d=[];l>u;)n=c[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}};e.exports={entries:s(!0),values:s(!1)}},4381:function(e,t,n){"use strict";var r=n(78640),o=n(31540);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},48259:function(e,t,n){var r=n(72591),o=n(57472),i=n(13455),a=n(67695);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},32456:function(e,t,n){var r=n(3380),o=n(20918).trim,i=n(78458),a=r.parseFloat,s=1/a(i+"-0")!==-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},20323:function(e,t,n){var r=n(3380),o=n(20918).trim,i=n(78458),a=r.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(i+"08")||22!==a(i+"0x16");e.exports=c?function(e,t){var n=o(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},33068:function(e,t,n){var r=n(3380);e.exports=r},42454:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},84945:function(e,t,n){var r=n(67695),o=n(97955),i=n(752);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},41966:function(e){"use strict";var t=2147483647,n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,a=String.fromCharCode,s=function(e){return e+22+75*(e<26)},c=function(e,t,n){var r=0;for(e=n?i(e/700):e>>1,e+=i(e/t);e>455;r+=36)e=i(e/35);return i(r+36*e/(e+38))},l=function(e){var n=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);var r,l,u=e.length,d=128,p=0,h=72;for(r=0;r<e.length;r++)(l=e[r])<128&&n.push(a(l));var f=n.length,m=f;for(f&&n.push("-");m<u;){var g=t;for(r=0;r<e.length;r++)(l=e[r])>=d&&l<g&&(g=l);var v=m+1;if(g-d>i((t-p)/v))throw RangeError(o);for(p+=(g-d)*v,d=g,r=0;r<e.length;r++){if((l=e[r])<d&&++p>t)throw RangeError(o);if(l==d){for(var y=p,b=36;;b+=36){var _=b<=h?1:b>=h+26?26:b-h;if(y<_)break;var C=y-_,w=36-_;n.push(a(s(_+C%w))),y=i(C/w)}n.push(a(s(y))),h=c(p,v,m==f),p=0,++m}}++p,++d}return n.join("")};e.exports=function(e){var t,o,i=[],a=e.toLowerCase().replace(r,".").split(".");for(t=0;t<a.length;t++)o=a[t],i.push(n.test(o)?"xn--"+l(o):o);return i.join(".")}},90528:function(e,t,n){var r=n(73920);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},73920:function(e,t,n){var r=n(3380),o=n(5147),i=n(44938),a=n(56627),s=n(49252),c=n(84392),l=c.get,u=c.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),u(n).source=d.join("string"==typeof t?t:"")),e!==r?(c?!p&&e[t]&&(l=!0):delete e[t],l?e[t]=n:o(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},47905:function(e,t,n){var r=n(40071),o=n(10569);e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var i=n.call(e,t);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},10569:function(e,t,n){"use strict";var r=n(1758),o=RegExp.prototype.exec,i=String.prototype.replace,a=o,s=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),c=void 0!==/()??/.exec("")[1];(s||c)&&(a=function(e){var t,n,a,l,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",r.call(u))),s&&(t=u.lastIndex),a=o.call(u,e),s&&a&&(u.lastIndex=u.global?a.index+a[0].length:t),c&&a&&a.length>1&&i.call(a[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a}),e.exports=a},1758:function(e,t,n){"use strict";var r=n(67695);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},40840:function(e){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},59840:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},56627:function(e,t,n){var r=n(3380),o=n(5147);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},5831:function(e,t,n){"use strict";var r=n(72591),o=n(3120),i=n(40822),a=n(9522),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},31149:function(e,t,n){var r=n(3120).f,o=n(44938),i=n(40822)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},57170:function(e,t,n){var r=n(7671),o=n(64499),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},2288:function(e,t,n){var r=n(3380),o=n(56627),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},7671:function(e,t,n){var r=n(27410),o=n(2288);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.5.0",mode:r?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},55085:function(e,t,n){"use strict";var r=n(81949);e.exports=function(e,t){var n=[][e];return!n||!r((function(){n.call(null,t||function(){throw 1},1)}))}},38660:function(e,t,n){var r=n(67695),o=n(88928),i=n(40822)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},83458:function(e,t,n){var r=n(68606),o=n(40840),i=function(e){return function(t,n){var i,a,s=String(o(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},6706:function(e,t,n){var r=n(60497),o=n(29229),i=n(40840),a=Math.ceil,s=function(e){return function(t,n,s){var c,l,u=String(i(t)),d=u.length,p=void 0===s?" ":String(s),h=r(n);return h<=d||""==p?u:(c=h-d,(l=o.call(p,a(c/p.length))).length>c&&(l=l.slice(0,c)),e?u+l:l+u)}};e.exports={start:s(!1),end:s(!0)}},29229:function(e,t,n){"use strict";var r=n(68606),o=n(40840);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},20918:function(e,t,n){var r=n(40840),o="["+n(78458)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},64581:function(e,t,n){var r,o,i,a=n(3380),s=n(81949),c=n(40071),l=n(76525),u=n(36320),d=n(67609),p=n(85954),h=a.location,f=a.setImmediate,m=a.clearImmediate,g=a.process,v=a.MessageChannel,y=a.Dispatch,b=0,_={},C="onreadystatechange",w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},E=function(e){return function(){w(e)}},x=function(e){w(e.data)},S=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};f&&m||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete _[e]},"process"==c(g)?r=function(e){g.nextTick(E(e))}:y&&y.now?r=function(e){y.now(E(e))}:v&&!p?(i=(o=new v).port2,o.port1.onmessage=x,r=l(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(S)?r=C in d("script")?function(e){u.appendChild(d("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(E(e),0)}:(r=S,a.addEventListener("message",x,!1))),e.exports={set:f,clear:m}},557:function(e,t,n){var r=n(40071);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},16648:function(e,t,n){var r=n(68606),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},18528:function(e,t,n){var r=n(68606),o=n(60497);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},76616:function(e,t,n){var r=n(95879),o=n(40840);e.exports=function(e){return r(o(e))}},68606:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},60497:function(e,t,n){var r=n(68606),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},25904:function(e,t,n){var r=n(40840);e.exports=function(e){return Object(r(e))}},94918:function(e,t,n){var r=n(33707);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},33707:function(e,t,n){var r=n(68606);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},37364:function(e,t,n){var r=n(97955);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},78640:function(e,t,n){var r={};r[n(40822)("toStringTag")]="z",e.exports="[object z]"===String(r)},56871:function(e,t,n){"use strict";var r=n(12791),o=n(3380),i=n(9522),a=n(74784),s=n(70671),c=n(80922),l=n(93932),u=n(80106),d=n(5147),p=n(60497),h=n(18528),f=n(94918),m=n(37364),g=n(44938),v=n(31540),y=n(97955),b=n(25788),_=n(12310),C=n(57472).f,w=n(83014),E=n(92081).forEach,x=n(5831),S=n(3120),k=n(5693),T=n(84392),I=n(48461),A=T.get,P=T.set,D=S.f,R=k.f,M=Math.round,N=o.RangeError,L=c.ArrayBuffer,O=c.DataView,F=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_TAG,H=s.TypedArray,z=s.TypedArrayPrototype,U=s.aTypedArrayConstructor,V=s.isTypedArray,j="BYTES_PER_ELEMENT",q="Wrong length",W=function(e,t){for(var n=0,r=t.length,o=new(U(e))(r);r>n;)o[n]=t[n++];return o},G=function(e,t){D(e,t,{get:function(){return A(this)[t]}})},K=function(e){var t;return e instanceof L||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},Y=function(e,t){return V(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Q=function(e,t){return Y(e,t=m(t,!0))?u(2,e[t]):R(e,t)},X=function(e,t,n){return!(Y(e,t=m(t,!0))&&y(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?D(e,t,n):(e[t]=n.value,e)};i?(F||(k.f=Q,S.f=X,G(z,"buffer"),G(z,"byteOffset"),G(z,"byteLength"),G(z,"length")),r({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:Q,defineProperty:X}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,u="set"+e,m=o[s],g=m,v=g&&g.prototype,S={},k=function(e,t){D(e,t,{get:function(){return function(e,t){var n=A(e);return n.view[c](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=A(e);n&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[u](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};F?a&&(g=t((function(e,t,n,r){return l(e,g,s),I(y(t)?K(t)?void 0!==r?new m(t,f(n,i),r):void 0!==n?new m(t,f(n,i)):new m(t):V(t)?W(g,t):w.call(g,t):new m(h(t)),e,g)})),_&&_(g,H),E(C(m),(function(e){e in g||d(g,e,m[e])})),g.prototype=v):(g=t((function(e,t,n,r){l(e,g,s);var o,a,c,u=0,d=0;if(y(t)){if(!K(t))return V(t)?W(g,t):w.call(g,t);o=t,d=f(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw N(q);if((a=m-d)<0)throw N(q)}else if((a=p(r)*i)+d>m)throw N(q);c=a/i}else c=h(t),o=new L(a=c*i);for(P(e,{buffer:o,byteOffset:d,byteLength:a,length:c,view:new O(o)});u<c;)k(e,u++)})),_&&_(g,H),v=g.prototype=b(z)),v.constructor!==g&&d(v,"constructor",g),B&&d(v,B,s),S[s]=g,r({global:!0,forced:g!=m,sham:!F},S),j in g||d(g,j,i),j in v||d(v,j,i),x(s)}):e.exports=function(){}},83014:function(e,t,n){var r=n(25904),o=n(60497),i=n(9117),a=n(66349),s=n(76525),c=n(70671).aTypedArrayConstructor;e.exports=function(e){var t,n,l,u,d,p,h=r(e),f=arguments.length,m=f>1?arguments[1]:void 0,g=void 0!==m,v=i(h);if(void 0!=v&&!a(v))for(p=(d=v.call(h)).next,h=[];!(u=p.call(d)).done;)h.push(u.value);for(g&&f>2&&(m=s(m,arguments[2],2)),n=o(h.length),l=new(c(this))(n),t=0;n>t;t++)l[t]=g?m(h[t],t):h[t];return l}},74784:function(e,t,n){var r=n(3380),o=n(81949),i=n(73340),a=n(70671).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new s(2),1,void 0).length}))},64499:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},44651:function(e,t,n){var r=n(44478);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol()},28592:function(e,t,n){var r=n(72591);e.exports=r("navigator","userAgent")||""},81363:function(e,t,n){var r,o,i=n(3380),a=n(28592),s=i.process,c=s&&s.versions,l=c&&c.v8;l?o=(r=l.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},33979:function(e,t,n){var r=n(28592);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},40822:function(e,t,n){var r=n(3380),o=n(7671),i=n(44938),a=n(64499),s=n(44478),c=n(44651),l=o("wks"),u=r.Symbol,d=c?u:a;e.exports=function(e){return i(l,e)||(s&&i(u,e)?l[e]=u[e]:l[e]=d("Symbol."+e)),l[e]}},78458:function(e){e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},34256:function(e,t,n){var r=n(40822);t.f=r},92707:function(e,t,n){"use strict";var r=n(12791),o=n(3380),i=n(80922),a=n(5831),s="ArrayBuffer",c=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==c},{ArrayBuffer:c}),a(s)},41217:function(e,t,n){"use strict";var r=n(12791),o=n(81949),i=n(10117),a=n(97955),s=n(25904),c=n(60497),l=n(40616),u=n(45223),d=n(9679),p=n(40822),h=n(81363),f=p("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",v=h>=51||!o((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),y=d("concat"),b=function(e){if(!a(e))return!1;var t=e[f];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!v||!y},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(b(i=-1===t?a:arguments[t])){if(p+(o=c(i.length))>m)throw TypeError(g);for(n=0;n<o;n++,p++)n in i&&l(d,p,i[n])}else{if(p>=m)throw TypeError(g);l(d,p++,i)}return d.length=p,d}})},48841:function(e,t,n){var r=n(12791),o=n(3752),i=n(71856);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},72345:function(e,t,n){var r=n(12791),o=n(90112),i=n(71856);r({target:"Array",proto:!0},{fill:o}),i("fill")},14366:function(e,t,n){"use strict";var r=n(12791),o=n(92081).filter,i=n(81949),a=n(9679)("filter"),s=a&&!i((function(){[].filter.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!a||!s},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},59039:function(e,t,n){"use strict";var r=n(12791),o=n(92081).findIndex,i=n(71856),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},37824:function(e,t,n){"use strict";var r=n(12791),o=n(92081).find,i=n(71856),a="find",s=!0;a in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},95922:function(e,t,n){"use strict";var r=n(12791),o=n(46835),i=n(25904),a=n(60497),s=n(88928),c=n(45223);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return s(e),(t=c(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},67773:function(e,t,n){"use strict";var r=n(12791),o=n(46835),i=n(25904),a=n(60497),s=n(68606),c=n(45223);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=c(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},21870:function(e,t,n){var r=n(12791),o=n(38706);r({target:"Array",stat:!0,forced:!n(73340)((function(e){Array.from(e)}))},{from:o})},73767:function(e,t,n){"use strict";var r=n(12791),o=n(50498).includes,i=n(71856);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},28222:function(e,t,n){"use strict";var r=n(12791),o=n(50498).indexOf,i=n(55085),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:s||c},{indexOf:function(e){return s?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},81837:function(e,t,n){"use strict";var r=n(76616),o=n(71856),i=n(84759),a=n(84392),s=n(39120),c="Array Iterator",l=a.set,u=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){l(this,{type:c,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},91375:function(e,t,n){"use strict";var r=n(12791),o=n(95879),i=n(76616),a=n(55085),s=[].join,c=o!=Object,l=a("join",",");r({target:"Array",proto:!0,forced:c||l},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},17996:function(e,t,n){var r=n(12791),o=n(36340);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},45514:function(e,t,n){"use strict";var r=n(12791),o=n(92081).map,i=n(81949),a=n(9679)("map"),s=a&&!i((function(){[].map.call({length:-1,0:1},(function(e){throw e}))}));r({target:"Array",proto:!0,forced:!a||!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},41536:function(e,t,n){"use strict";var r=n(12791),o=n(81949),i=n(40616);r({target:"Array",stat:!0,forced:o((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},21400:function(e,t,n){"use strict";var r=n(12791),o=n(43255).right;r({target:"Array",proto:!0,forced:n(55085)("reduceRight")},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},56725:function(e,t,n){"use strict";var r=n(12791),o=n(43255).left;r({target:"Array",proto:!0,forced:n(55085)("reduce")},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},86498:function(e,t,n){"use strict";var r=n(12791),o=n(97955),i=n(10117),a=n(16648),s=n(60497),c=n(76616),l=n(40616),u=n(9679),d=n(40822)("species"),p=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!u("slice")},{slice:function(e,t){var n,r,u,f=c(this),m=s(f.length),g=a(e,m),v=a(void 0===t?m:t,m);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(f,g,v);for(r=new(void 0===n?Array:n)(h(v-g,0)),u=0;g<v;g++,u++)g in f&&l(r,u,f[g]);return r.length=u,r}})},63108:function(e,t,n){"use strict";var r=n(12791),o=n(88928),i=n(25904),a=n(81949),s=n(55085),c=[],l=c.sort,u=a((function(){c.sort(void 0)})),d=a((function(){c.sort(null)})),p=s("sort");r({target:"Array",proto:!0,forced:u||!d||p},{sort:function(e){return void 0===e?l.call(i(this)):l.call(i(this),o(e))}})},41981:function(e,t,n){n(5831)("Array")},36948:function(e,t,n){"use strict";var r=n(12791),o=n(16648),i=n(68606),a=n(60497),s=n(25904),c=n(45223),l=n(40616),u=n(9679),d=Math.max,p=Math.min,h=9007199254740991,f="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!u("splice")},{splice:function(e,t){var n,r,u,m,g,v,y=s(this),b=a(y.length),_=o(e,b),C=arguments.length;if(0===C?n=r=0:1===C?(n=0,r=b-_):(n=C-2,r=p(d(i(t),0),b-_)),b+n-r>h)throw TypeError(f);for(u=c(y,r),m=0;m<r;m++)(g=_+m)in y&&l(u,m,y[g]);if(u.length=r,n<r){for(m=_;m<b-r;m++)v=m+n,(g=m+r)in y?y[v]=y[g]:delete y[v];for(m=b;m>b-r+n;m--)delete y[m-1]}else if(n>r)for(m=b-r;m>_;m--)v=m+n-1,(g=m+r-1)in y?y[v]=y[g]:delete y[v];for(m=0;m<n;m++)y[m+_]=arguments[m+2];return y.length=b-r+n,u}})},91435:function(e,t,n){n(71856)("flatMap")},86858:function(e,t,n){n(71856)("flat")},31497:function(e,t,n){var r=n(5147),o=n(78174),i=n(40822)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},27913:function(e,t,n){"use strict";var r=n(97955),o=n(3120),i=n(17929),a=n(40822)("hasInstance"),s=Function.prototype;a in s||o.f(s,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},79826:function(e,t,n){var r=n(9522),o=n(3120).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,c="name";r&&!(c in i)&&o(i,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},17364:function(e,t,n){var r=n(3380);n(31149)(r.JSON,"JSON",!0)},93051:function(e,t,n){"use strict";var r=n(90409),o=n(58719);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},92456:function(e,t,n){var r=n(12791),o=n(72185),i=Math.acosh,a=Math.log,s=Math.sqrt,c=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+c:o(e-1+s(e-1)*s(e+1))}})},54798:function(e,t,n){var r=n(12791),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+a(t*t+1)):t}})},21700:function(e,t,n){var r=n(12791),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},53176:function(e,t,n){var r=n(12791),o=n(68351),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},51674:function(e,t,n){var r=n(12791),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},27422:function(e,t,n){var r=n(12791),o=n(46915),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},99007:function(e,t,n){var r=n(12791),o=n(46915);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},71873:function(e,t,n){n(12791)({target:"Math",stat:!0},{fround:n(50489)})},2504:function(e,t,n){var r=n(12791),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,s=0,c=arguments.length,l=0;s<c;)l<(n=i(arguments[s++]))?(o=o*(r=l/n)*r+1,l=n):o+=n>0?(r=n/l)*r:n;return l===1/0?1/0:l*a(o)}})},37419:function(e,t,n){var r=n(12791),o=n(81949),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=65535,r=+e,o=+t,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},56347:function(e,t,n){var r=n(12791),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},15279:function(e,t,n){n(12791)({target:"Math",stat:!0},{log1p:n(72185)})},69605:function(e,t,n){var r=n(12791),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},47419:function(e,t,n){n(12791)({target:"Math",stat:!0},{sign:n(68351)})},36220:function(e,t,n){var r=n(12791),o=n(81949),i=n(46915),a=Math.abs,s=Math.exp,c=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(s(e-1)-s(-e-1))*(c/2)}})},97339:function(e,t,n){var r=n(12791),o=n(46915),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},33859:function(e,t,n){n(31149)(Math,"Math",!0)},10116:function(e,t,n){var r=n(12791),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},9508:function(e,t,n){"use strict";var r=n(9522),o=n(3380),i=n(52501),a=n(73920),s=n(44938),c=n(40071),l=n(48461),u=n(37364),d=n(81949),p=n(25788),h=n(57472).f,f=n(5693).f,m=n(3120).f,g=n(20918).trim,v="Number",y=o.Number,b=y.prototype,_=c(p(b))==v,C=function(e){var t,n,r,o,i,a,s,c,l=u(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=g(l)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+l}for(a=(i=l.slice(2)).length,s=0;s<a;s++)if((c=i.charCodeAt(s))<48||c>o)return NaN;return parseInt(i,r)}return+l};if(i(v,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,E=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof E&&(_?d((function(){b.valueOf.call(n)})):c(n)!=v)?l(new y(C(t)),n,E):C(t)},x=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;x.length>S;S++)s(y,w=x[S])&&!s(E,w)&&m(E,w,f(y,w));E.prototype=b,b.constructor=E,a(o,v,E)}},34010:function(e,t,n){n(12791)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},21230:function(e,t,n){n(12791)({target:"Number",stat:!0},{isFinite:n(66272)})},80465:function(e,t,n){n(12791)({target:"Number",stat:!0},{isInteger:n(72677)})},94157:function(e,t,n){n(12791)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},42195:function(e,t,n){var r=n(12791),o=n(72677),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},77212:function(e,t,n){n(12791)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},36308:function(e,t,n){n(12791)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},21288:function(e,t,n){var r=n(12791),o=n(32456);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},87370:function(e,t,n){var r=n(12791),o=n(20323);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},44101:function(e,t,n){"use strict";var r=n(12791),o=n(68606),i=n(557),a=n(29229),s=n(81949),c=1..toFixed,l=Math.floor,u=function e(t,n,r){return 0===n?r:n%2===1?e(t,n-1,r*t):e(t*t,n/2,r)};r({target:"Number",proto:!0,forced:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}))},{toFixed:function(e){var t,n,r,s,c=i(this),d=o(e),p=[0,0,0,0,0,0],h="",f="0",m=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*p[n],p[n]=r%1e7,r=l(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=p[t],p[t]=l(n/e),n=n%e*1e7},v=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(h="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*u(2,69,1))-69)<0?c*u(2,-t,1):c/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(0,n),r=d;r>=7;)m(1e7,0),r-=7;for(m(u(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),m(1,1),g(2),f=v()}else m(0,n),m(1<<-t,0),f=v()+a.call("0",d);return f=d>0?h+((s=f.length)<=d?"0."+a.call("0",d-s)+f:f.slice(0,s-d)+"."+f.slice(s-d)):h+f}})},79001:function(e,t,n){var r=n(12791),o=n(64399);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},26839:function(e,t,n){"use strict";var r=n(12791),o=n(9522),i=n(22283),a=n(25904),s=n(88928),c=n(3120);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){c.f(a(this),e,{get:s(t),enumerable:!0,configurable:!0})}})},12860:function(e,t,n){"use strict";var r=n(12791),o=n(9522),i=n(22283),a=n(25904),s=n(88928),c=n(3120);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){c.f(a(this),e,{set:s(t),enumerable:!0,configurable:!0})}})},32767:function(e,t,n){var r=n(12791),o=n(14432).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},74792:function(e,t,n){var r=n(12791),o=n(56171),i=n(81949),a=n(97955),s=n(88505).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(e){return c&&a(e)?c(s(e)):e}})},27719:function(e,t,n){var r=n(12791),o=n(53050),i=n(40616);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},74106:function(e,t,n){var r=n(12791),o=n(81949),i=n(76616),a=n(5693).f,s=n(9522),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},14602:function(e,t,n){var r=n(12791),o=n(9522),i=n(48259),a=n(76616),s=n(5693),c=n(40616);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,l=i(r),u={},d=0;l.length>d;)void 0!==(n=o(r,t=l[d++]))&&c(u,t,n);return u}})},82256:function(e,t,n){var r=n(12791),o=n(81949),i=n(71997).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},92646:function(e,t,n){var r=n(12791),o=n(81949),i=n(25904),a=n(17929),s=n(66361);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},44633:function(e,t,n){var r=n(12791),o=n(81949),i=n(97955),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},5166:function(e,t,n){var r=n(12791),o=n(81949),i=n(97955),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},48629:function(e,t,n){var r=n(12791),o=n(81949),i=n(97955),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},627:function(e,t,n){n(12791)({target:"Object",stat:!0},{is:n(59840)})},38640:function(e,t,n){var r=n(12791),o=n(25904),i=n(31900);r({target:"Object",stat:!0,forced:n(81949)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},67460:function(e,t,n){"use strict";var r=n(12791),o=n(9522),i=n(22283),a=n(25904),s=n(37364),c=n(17929),l=n(5693).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=l(n,r))return t.get}while(n=c(n))}})},79471:function(e,t,n){"use strict";var r=n(12791),o=n(9522),i=n(22283),a=n(25904),s=n(37364),c=n(17929),l=n(5693).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=l(n,r))return t.set}while(n=c(n))}})},90224:function(e,t,n){var r=n(12791),o=n(97955),i=n(88505).onFreeze,a=n(56171),s=n(81949),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){c(1)})),sham:!a},{preventExtensions:function(e){return c&&o(e)?c(i(e)):e}})},1502:function(e,t,n){var r=n(12791),o=n(97955),i=n(88505).onFreeze,a=n(56171),s=n(81949),c=Object.seal;r({target:"Object",stat:!0,forced:s((function(){c(1)})),sham:!a},{seal:function(e){return c&&o(e)?c(i(e)):e}})},31823:function(e,t,n){n(12791)({target:"Object",stat:!0},{setPrototypeOf:n(12310)})},59291:function(e,t,n){var r=n(78640),o=n(73920),i=n(4381);r||o(Object.prototype,"toString",i,{unsafe:!0})},79775:function(e,t,n){var r=n(12791),o=n(14432).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},69056:function(e,t,n){var r=n(12791),o=n(32456);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},18122:function(e,t,n){var r=n(12791),o=n(20323);r({global:!0,forced:parseInt!=o},{parseInt:o})},28813:function(e,t,n){"use strict";var r=n(12791),o=n(27410),i=n(29044),a=n(81949),s=n(72591),c=n(38660),l=n(84945),u=n(73920);r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||u(i.prototype,"finally",s("Promise").prototype.finally)},58533:function(e,t,n){"use strict";var r,o,i,a,s=n(12791),c=n(27410),l=n(3380),u=n(72591),d=n(29044),p=n(73920),h=n(90528),f=n(31149),m=n(5831),g=n(97955),v=n(88928),y=n(93932),b=n(40071),_=n(49252),C=n(53050),w=n(73340),E=n(38660),x=n(64581).set,S=n(96337),k=n(84945),T=n(89591),I=n(752),A=n(42454),P=n(84392),D=n(52501),R=n(40822),M=n(81363),N=R("species"),L="Promise",O=P.get,F=P.set,B=P.getterFor(L),H=d,z=l.TypeError,U=l.document,V=l.process,j=u("fetch"),q=I.f,W=q,G="process"==b(V),K=!!(U&&U.createEvent&&l.dispatchEvent),Y="unhandledrejection",Q=D(L,(function(){if(!(_(H)!==String(H))){if(66===M)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!H.prototype.finally)return!0;if(M>=51&&/native code/.test(H))return!1;var e=H.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[N]=t,!(e.then((function(){}))instanceof t)})),X=Q||!w((function(e){H.all(e).catch((function(){}))})),J=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},$=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var s,c,l,u=r[a++],d=i?u.ok:u.fail,p=u.resolve,h=u.reject,f=u.domain;try{d?(i||(2===t.rejection&&ne(e,t),t.rejection=1),!0===d?s=o:(f&&f.enter(),s=d(o),f&&(f.exit(),l=!0)),s===u.promise?h(z("Promise-chain cycle")):(c=J(s))?c.call(s,p,h):p(s)):h(o)}catch(m){f&&!l&&f.exit(),h(m)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ee(e,t)}))}},Z=function(e,t,n){var r,o;K?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},(o=l["on"+e])?o(r):e===Y&&T("Unhandled promise rejection",n)},ee=function(e,t){x.call(l,(function(){var n,r=t.value;if(te(t)&&(n=A((function(){G?V.emit("unhandledRejection",r,e):Z(Y,e,r)})),t.rejection=G||te(t)?2:1,n.error))throw n.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e,t){x.call(l,(function(){G?V.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},re=function(e,t,n,r){return function(o){e(t,n,o,r)}},oe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,$(e,t,!0))},ie=function e(t,n,r,o){if(!n.done){n.done=!0,o&&(n=o);try{if(t===r)throw z("Promise can't be resolved itself");var i=J(r);i?S((function(){var o={done:!1};try{i.call(r,re(e,t,o,n),re(oe,t,o,n))}catch(a){oe(t,o,a,n)}})):(n.value=r,n.state=1,$(t,n,!1))}catch(a){oe(t,{done:!1},a,n)}}};Q&&(H=function(e){y(this,H,L),v(e),r.call(this);var t=O(this);try{e(re(ie,this,t),re(oe,this,t))}catch(n){oe(this,t,n)}},(r=function(e){F(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(H.prototype,{then:function(e,t){var n=B(this),r=q(E(this,H));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=G?V.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&$(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=O(e);this.promise=e,this.resolve=re(ie,e,t),this.reject=re(oe,e,t)},I.f=q=function(e){return e===H||e===i?new o(e):W(e)},c||"function"!=typeof d||(a=d.prototype.then,p(d.prototype,"then",(function(e,t){var n=this;return new H((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof j&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(H,j.apply(l,arguments))}}))),s({global:!0,wrap:!0,forced:Q},{Promise:H}),f(H,L,!1,!0),m(L),i=u(L),s({target:L,stat:!0,forced:Q},{reject:function(e){var t=q(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:c||Q},{resolve:function(e){return k(c&&this===i?H:this,e)}}),s({target:L,stat:!0,forced:X},{all:function(e){var t=this,n=q(t),r=n.resolve,o=n.reject,i=A((function(){var n=v(t.resolve),i=[],a=0,s=1;C(e,(function(e){var c=a++,l=!1;i.push(void 0),s++,n.call(t,e).then((function(e){l||(l=!0,i[c]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=q(t),r=n.reject,o=A((function(){var o=v(t.resolve);C(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},96674:function(e,t,n){var r=n(12791),o=n(72591),i=n(88928),a=n(67695),s=n(81949),c=o("Reflect","apply"),l=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){c((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),c?c(e,t,n):l.call(e,t,n)}})},28091:function(e,t,n){var r=n(12791),o=n(72591),i=n(88928),a=n(67695),s=n(97955),c=n(25788),l=n(26576),u=n(81949),d=o("Reflect","construct"),p=u((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),h=!u((function(){d((function(){}))})),f=p||h;r({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(h&&!p)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var o=n.prototype,u=c(s(o)?o:Object.prototype),f=Function.apply.call(e,u,t);return s(f)?f:u}})},11681:function(e,t,n){var r=n(12791),o=n(9522),i=n(67695),a=n(37364),s=n(3120);r({target:"Reflect",stat:!0,forced:n(81949)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t,!0);i(n);try{return s.f(e,r,n),!0}catch(o){return!1}}})},86670:function(e,t,n){var r=n(12791),o=n(67695),i=n(5693).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},51571:function(e,t,n){var r=n(12791),o=n(9522),i=n(67695),a=n(5693);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},67951:function(e,t,n){var r=n(12791),o=n(67695),i=n(17929);r({target:"Reflect",stat:!0,sham:!n(66361)},{getPrototypeOf:function(e){return i(o(e))}})},60106:function(e,t,n){var r=n(12791),o=n(97955),i=n(67695),a=n(44938),s=n(5693),c=n(17929);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,l,u=arguments.length<3?t:arguments[2];return i(t)===u?t[n]:(r=s.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(u):o(l=c(t))?e(l,n,u):void 0}})},92543:function(e,t,n){n(12791)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},2403:function(e,t,n){var r=n(12791),o=n(67695),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),!i||i(e)}})},43847:function(e,t,n){n(12791)({target:"Reflect",stat:!0},{ownKeys:n(48259)})},46658:function(e,t,n){var r=n(12791),o=n(72591),i=n(67695);r({target:"Reflect",stat:!0,sham:!n(56171)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},21680:function(e,t,n){var r=n(12791),o=n(67695),i=n(32063),a=n(12310);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(n){return!1}}})},16567:function(e,t,n){var r=n(12791),o=n(67695),i=n(97955),a=n(44938),s=n(81949),c=n(3120),l=n(5693),u=n(17929),d=n(80106);r({target:"Reflect",stat:!0,forced:s((function(){var e=c.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function e(t,n,r){var s,p,h=arguments.length<4?t:arguments[3],f=l.f(o(t),n);if(!f){if(i(p=u(t)))return e(p,n,r,h);f=d(0)}if(a(f,"value")){if(!1===f.writable||!i(h))return!1;if(s=l.f(h,n)){if(s.get||s.set||!1===s.writable)return!1;s.value=r,c.f(h,n,s)}else c.f(h,n,d(0,r));return!0}return void 0!==f.set&&(f.set.call(h,r),!0)}})},70389:function(e,t,n){var r=n(9522),o=n(3380),i=n(52501),a=n(48461),s=n(3120).f,c=n(57472).f,l=n(42227),u=n(1758),d=n(73920),p=n(81949),h=n(5831),f=n(40822)("match"),m=o.RegExp,g=m.prototype,v=/a/g,y=/a/g,b=new m(v)!==v;if(r&&i("RegExp",!b||p((function(){return y[f]=!1,m(v)!=v||m(y)==y||"/a/i"!=m(v,"i")})))){for(var _=function(e,t){var n=this instanceof _,r=l(e),o=void 0===t;return!n&&r&&e.constructor===_&&o?e:a(b?new m(r&&!o?e.source:e,t):m((r=e instanceof _)?e.source:e,r&&o?u.call(e):t),n?this:g,_)},C=function(e){e in _||s(_,e,{configurable:!0,get:function(){return m[e]},set:function(t){m[e]=t}})},w=c(m),E=0;w.length>E;)C(w[E++]);g.constructor=_,_.prototype=g,d(o,"RegExp",_)}h("RegExp")},65984:function(e,t,n){"use strict";var r=n(12791),o=n(10569);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},45220:function(e,t,n){var r=n(9522),o=n(3120),i=n(1758);r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},36195:function(e,t,n){"use strict";var r=n(73920),o=n(67695),i=n(81949),a=n(1758),s="toString",c=RegExp.prototype,l=c.toString,u=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),d=l.name!=s;(u||d)&&r(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},10798:function(e,t,n){"use strict";var r=n(90409),o=n(58719);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},91605:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},9865:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("big")},{big:function(){return o(this,"big","","")}})},93640:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("blink")},{blink:function(){return o(this,"blink","","")}})},94759:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("bold")},{bold:function(){return o(this,"b","","")}})},10417:function(e,t,n){"use strict";var r=n(12791),o=n(83458).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},16823:function(e,t,n){"use strict";var r=n(12791),o=n(5693).f,i=n(60497),a=n(51035),s=n(40840),c=n(72362),l=n(27410),u="".endsWith,d=Math.min,p=c("endsWith");r({target:"String",proto:!0,forced:!(!l&&!p&&!!function(){var e=o(String.prototype,"endsWith");return e&&!e.writable}())&&!p},{endsWith:function(e){var t=String(s(this));a(e);var n=arguments.length>1?arguments[1]:void 0,r=i(t.length),o=void 0===n?r:d(i(n),r),c=String(e);return u?u.call(t,c,o):t.slice(o-c.length,o)===c}})},50164:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("fixed")},{fixed:function(){return o(this,"tt","","")}})},11712:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},15225:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},80509:function(e,t,n){var r=n(12791),o=n(16648),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},45933:function(e,t,n){"use strict";var r=n(12791),o=n(51035),i=n(40840);r({target:"String",proto:!0,forced:!n(72362)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},8386:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("italics")},{italics:function(){return o(this,"i","","")}})},92925:function(e,t,n){"use strict";var r=n(83458).charAt,o=n(84392),i=n(39120),a="String Iterator",s=o.set,c=o.getterFor(a);i(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},76515:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("link")},{link:function(e){return o(this,"a","href",e)}})},48847:function(e,t,n){"use strict";var r=n(92590),o=n(67695),i=n(60497),a=n(40840),s=n(42672),c=n(47905);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),l=String(this);if(!a.global)return c(a,l);var u=a.unicode;a.lastIndex=0;for(var d,p=[],h=0;null!==(d=c(a,l));){var f=String(d[0]);p[h]=f,""===f&&(a.lastIndex=s(l,i(a.lastIndex),u)),h++}return 0===h?null:p}]}))},67171:function(e,t,n){"use strict";var r=n(12791),o=n(6706).end;r({target:"String",proto:!0,forced:n(33979)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},88290:function(e,t,n){"use strict";var r=n(12791),o=n(6706).start;r({target:"String",proto:!0,forced:n(33979)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},80499:function(e,t,n){var r=n(12791),o=n(76616),i=n(60497);r({target:"String",stat:!0},{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},60164:function(e,t,n){n(12791)({target:"String",proto:!0},{repeat:n(29229)})},94049:function(e,t,n){"use strict";var r=n(92590),o=n(67695),i=n(25904),a=n(60497),s=n(68606),c=n(40840),l=n(42672),u=n(47905),d=Math.max,p=Math.min,h=Math.floor,f=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n){return[function(n,r){var o=c(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,i){var c=n(t,e,this,i);if(c.done)return c.value;var h=o(e),f=String(this),m="function"===typeof i;m||(i=String(i));var g=h.global;if(g){var v=h.unicode;h.lastIndex=0}for(var y=[];;){var b=u(h,f);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(h.lastIndex=l(f,a(h.lastIndex),v))}for(var _,C="",w=0,E=0;E<y.length;E++){b=y[E];for(var x=String(b[0]),S=d(p(s(b.index),f.length),0),k=[],T=1;T<b.length;T++)k.push(void 0===(_=b[T])?_:String(_));var I=b.groups;if(m){var A=[x].concat(k,S,f);void 0!==I&&A.push(I);var P=String(i.apply(void 0,A))}else P=r(x,f,S,k,I,i);S>=w&&(C+=f.slice(w,S)+P,w=S+x.length)}return C+f.slice(w)}];function r(e,n,r,o,a,s){var c=r+e.length,l=o.length,u=m;return void 0!==a&&(a=i(a),u=f),t.call(s,u,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>l){var d=h(u/10);return 0===d?t:d<=l?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}s=o[u-1]}return void 0===s?"":s}))}}))},7348:function(e,t,n){"use strict";var r=n(92590),o=n(67695),i=n(40840),a=n(59840),s=n(47905);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),c=String(this),l=i.lastIndex;a(l,0)||(i.lastIndex=0);var u=s(i,c);return a(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},8826:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("small")},{small:function(){return o(this,"small","","")}})},75161:function(e,t,n){"use strict";var r=n(92590),o=n(42227),i=n(67695),a=n(40840),s=n(38660),c=n(42672),l=n(60497),u=n(47905),d=n(10569),p=n(81949),h=[].push,f=Math.min,m=4294967295,g=!p((function(){return!RegExp(m,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?m:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,c,l,u=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,g=new RegExp(e.source,p+"g");(s=d.call(g,r))&&!((c=g.lastIndex)>f&&(u.push(r.slice(f,s.index)),s.length>1&&s.index<r.length&&h.apply(u,s.slice(1)),l=s[0].length,f=c,u.length>=i));)g.lastIndex===s.index&&g.lastIndex++;return f===r.length?!l&&g.test("")||u.push(""):u.push(r.slice(f)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var d=i(e),p=String(this),h=s(d,RegExp),v=d.unicode,y=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(g?"y":"g"),b=new h(g?d:"^(?:"+d.source+")",y),_=void 0===o?m:o>>>0;if(0===_)return[];if(0===p.length)return null===u(b,p)?[p]:[];for(var C=0,w=0,E=[];w<p.length;){b.lastIndex=g?w:0;var x,S=u(b,g?p:p.slice(w));if(null===S||(x=f(l(b.lastIndex+(g?0:w)),p.length))===C)w=c(p,w,v);else{if(E.push(p.slice(C,w)),E.length===_)return E;for(var k=1;k<=S.length-1;k++)if(E.push(S[k]),E.length===_)return E;w=C=x}}return E.push(p.slice(C)),E}]}),!g)},29894:function(e,t,n){"use strict";var r=n(12791),o=n(5693).f,i=n(60497),a=n(51035),s=n(40840),c=n(72362),l=n(27410),u="".startsWith,d=Math.min,p=c("startsWith");r({target:"String",proto:!0,forced:!(!l&&!p&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}())&&!p},{startsWith:function(e){var t=String(s(this));a(e);var n=i(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return u?u.call(t,r,n):t.slice(n,n+r.length)===r}})},42788:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("strike")},{strike:function(){return o(this,"strike","","")}})},61184:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("sub")},{sub:function(){return o(this,"sub","","")}})},24704:function(e,t,n){"use strict";var r=n(12791),o=n(29514);r({target:"String",proto:!0,forced:n(38669)("sup")},{sup:function(){return o(this,"sup","","")}})},55074:function(e,t,n){"use strict";var r=n(12791),o=n(20918).end,i=n(99865)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},50750:function(e,t,n){"use strict";var r=n(12791),o=n(20918).start,i=n(99865)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},32283:function(e,t,n){"use strict";var r=n(12791),o=n(20918).trim;r({target:"String",proto:!0,forced:n(99865)("trim")},{trim:function(){return o(this)}})},59389:function(e,t,n){n(82054)("asyncIterator")},43064:function(e,t,n){"use strict";var r=n(12791),o=n(9522),i=n(3380),a=n(44938),s=n(97955),c=n(3120).f,l=n(43566),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};l(p,u);var h=p.prototype=u.prototype;h.constructor=p;var f=h.toString,m="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=f.call(e);if(a(d,e))return"";var n=m?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},34466:function(e,t,n){n(82054)("hasInstance")},11691:function(e,t,n){n(82054)("isConcatSpreadable")},50893:function(e,t,n){n(82054)("iterator")},84933:function(e,t,n){"use strict";var r=n(12791),o=n(3380),i=n(72591),a=n(27410),s=n(9522),c=n(44478),l=n(44651),u=n(81949),d=n(44938),p=n(10117),h=n(97955),f=n(67695),m=n(25904),g=n(76616),v=n(37364),y=n(80106),b=n(25788),_=n(31900),C=n(57472),w=n(71997),E=n(13455),x=n(5693),S=n(3120),k=n(56346),T=n(5147),I=n(73920),A=n(7671),P=n(57170),D=n(49901),R=n(64499),M=n(40822),N=n(34256),L=n(82054),O=n(31149),F=n(84392),B=n(92081).forEach,H=P("hidden"),z="Symbol",U=M("toPrimitive"),V=F.set,j=F.getterFor(z),q=Object.prototype,W=o.Symbol,G=i("JSON","stringify"),K=x.f,Y=S.f,Q=w.f,X=k.f,J=A("symbols"),$=A("op-symbols"),Z=A("string-to-symbol-registry"),ee=A("symbol-to-string-registry"),te=A("wks"),ne=o.QObject,re=!ne||!ne.prototype||!ne.prototype.findChild,oe=s&&u((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(q,t);r&&delete q[t],Y(e,t,n),r&&e!==q&&Y(q,t,r)}:Y,ie=function(e,t){var n=J[e]=b(W.prototype);return V(n,{type:z,tag:e,description:t}),s||(n.description=t),n},ae=c&&"symbol"==typeof W.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},se=function(e,t,n){e===q&&se($,t,n),f(e);var r=v(t,!0);return f(n),d(J,r)?(n.enumerable?(d(e,H)&&e[H][r]&&(e[H][r]=!1),n=b(n,{enumerable:y(0,!1)})):(d(e,H)||Y(e,H,y(1,{})),e[H][r]=!0),oe(e,r,n)):Y(e,r,n)},ce=function(e,t){f(e);var n=g(t),r=_(n).concat(pe(n));return B(r,(function(t){s&&!le.call(n,t)||se(e,t,n[t])})),e},le=function(e){var t=v(e,!0),n=X.call(this,t);return!(this===q&&d(J,t)&&!d($,t))&&(!(n||!d(this,t)||!d(J,t)||d(this,H)&&this[H][t])||n)},ue=function(e,t){var n=g(e),r=v(t,!0);if(n!==q||!d(J,r)||d($,r)){var o=K(n,r);return!o||!d(J,r)||d(n,H)&&n[H][r]||(o.enumerable=!0),o}},de=function(e){var t=Q(g(e)),n=[];return B(t,(function(e){d(J,e)||d(D,e)||n.push(e)})),n},pe=function(e){var t=e===q,n=Q(t?$:g(e)),r=[];return B(n,(function(e){!d(J,e)||t&&!d(q,e)||r.push(J[e])})),r};(c||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=R(e),n=function e(n){this===q&&e.call($,n),d(this,H)&&d(this[H],t)&&(this[H][t]=!1),oe(this,t,y(1,n))};return s&&re&&oe(q,t,{configurable:!0,set:n}),ie(t,e)},I(W.prototype,"toString",(function(){return j(this).tag})),k.f=le,S.f=se,x.f=ue,C.f=w.f=de,E.f=pe,s&&(Y(W.prototype,"description",{configurable:!0,get:function(){return j(this).description}}),a||I(q,"propertyIsEnumerable",le,{unsafe:!0}))),l||(N.f=function(e){return ie(M(e),e)}),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),B(_(te),(function(e){L(e)})),r({target:z,stat:!0,forced:!c},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=W(t);return Z[t]=n,ee[n]=t,n},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(d(ee,e))return ee[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?b(e):ce(b(e),t)},defineProperty:se,defineProperties:ce,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:de,getOwnPropertySymbols:pe}),r({target:"Object",stat:!0,forced:u((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(m(e))}}),G)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var e=W();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(h(t)||void 0!==e)&&!ae(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ae(t))return t}),o[1]=t,G.apply(null,o)}});W.prototype[U]||T(W.prototype,U,W.prototype.valueOf),O(W,z),D[H]=!0},32752:function(e,t,n){n(82054)("match")},39867:function(e,t,n){n(82054)("replace")},71816:function(e,t,n){n(82054)("search")},77351:function(e,t,n){n(82054)("species")},62770:function(e,t,n){n(82054)("split")},73427:function(e,t,n){n(82054)("toPrimitive")},22705:function(e,t,n){n(82054)("toStringTag")},11672:function(e,t,n){n(82054)("unscopables")},55910:function(e,t,n){"use strict";var r=n(70671),o=n(3752),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},63634:function(e,t,n){"use strict";var r=n(70671),o=n(92081).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},8636:function(e,t,n){"use strict";var r=n(70671),o=n(90112),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},38404:function(e,t,n){"use strict";var r=n(70671),o=n(92081).filter,i=n(38660),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,c=t.length,l=new(s(n))(c);c>r;)l[r]=t[r++];return l}))},8791:function(e,t,n){"use strict";var r=n(70671),o=n(92081).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},8376:function(e,t,n){"use strict";var r=n(70671),o=n(92081).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},65269:function(e,t,n){n(56871)("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},21944:function(e,t,n){n(56871)("Float64",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},89799:function(e,t,n){"use strict";var r=n(70671),o=n(92081).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},29027:function(e,t,n){"use strict";var r=n(74784);(0,n(70671).exportTypedArrayStaticMethod)("from",n(83014),r)},57367:function(e,t,n){"use strict";var r=n(70671),o=n(50498).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},5743:function(e,t,n){"use strict";var r=n(70671),o=n(50498).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},72161:function(e,t,n){n(56871)("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},14281:function(e,t,n){n(56871)("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},34458:function(e,t,n){n(56871)("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},28632:function(e,t,n){"use strict";var r=n(3380),o=n(70671),i=n(81837),a=n(40822)("iterator"),s=r.Uint8Array,c=i.values,l=i.keys,u=i.entries,d=o.aTypedArray,p=o.exportTypedArrayMethod,h=s&&s.prototype[a],f=!!h&&("values"==h.name||void 0==h.name),m=function(){return c.call(d(this))};p("entries",(function(){return u.call(d(this))})),p("keys",(function(){return l.call(d(this))})),p("values",m,!f),p(a,m,!f)},44910:function(e,t,n){"use strict";var r=n(70671),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},78014:function(e,t,n){"use strict";var r=n(70671),o=n(36340),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},40750:function(e,t,n){"use strict";var r=n(70671),o=n(92081).map,i=n(38660),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(i(e,e.constructor)))(t)}))}))},24179:function(e,t,n){"use strict";var r=n(70671),o=n(74784),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},71423:function(e,t,n){"use strict";var r=n(70671),o=n(43255).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},24126:function(e,t,n){"use strict";var r=n(70671),o=n(43255).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},58590:function(e,t,n){"use strict";var r=n(70671),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,n=o(t).length,r=a(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},64674:function(e,t,n){"use strict";var r=n(70671),o=n(60497),i=n(94918),a=n(25904),s=n(81949),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){c(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),l=0;if(s+t>n)throw RangeError("Wrong length");for(;l<s;)this[t+l]=r[l++]}),s((function(){new Int8Array(1).set({})})))},60386:function(e,t,n){"use strict";var r=n(70671),o=n(38660),i=n(81949),a=r.aTypedArray,s=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod,l=[].slice;c("slice",(function(e,t){for(var n=l.call(a(this),e,t),r=o(this,this.constructor),i=0,c=n.length,u=new(s(r))(c);c>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},86447:function(e,t,n){"use strict";var r=n(70671),o=n(92081).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},40145:function(e,t,n){"use strict";var r=n(70671),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(o(this),e)}))},16185:function(e,t,n){"use strict";var r=n(70671),o=n(60497),i=n(16648),a=n(38660),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,c=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-c))}))},27847:function(e,t,n){"use strict";var r=n(3380),o=n(70671),i=n(81949),a=r.Int8Array,s=o.aTypedArray,c=o.exportTypedArrayMethod,l=[].toLocaleString,u=[].slice,d=!!a&&i((function(){l.call(new a(1))}));c("toLocaleString",(function(){return l.apply(d?u.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},50210:function(e,t,n){"use strict";var r=n(70671).exportTypedArrayMethod,o=n(81949),i=n(3380).Uint8Array,a=i&&i.prototype||{},s=[].toString,c=[].join;o((function(){s.call({})}))&&(s=function(){return c.call(this)});var l=a.toString!=s;r("toString",s,l)},82759:function(e,t,n){n(56871)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},73460:function(e,t,n){n(56871)("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},17443:function(e,t,n){n(56871)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},24380:function(e,t,n){n(56871)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},30959:function(e,t,n){"use strict";var r,o=n(3380),i=n(90528),a=n(88505),s=n(90409),c=n(37899),l=n(97955),u=n(84392).enforce,d=n(26071),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",f,c);if(d&&p){r=c.getConstructor(f,"WeakMap",!0),a.REQUIRED=!0;var g=m.prototype,v=g.delete,y=g.has,b=g.get,_=g.set;i(g,{delete:function(e){if(l(e)&&!h(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.delete(e)}return v.call(this,e)},has:function(e){if(l(e)&&!h(e)){var t=u(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(l(e)&&!h(e)){var t=u(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(l(e)&&!h(e)){var n=u(this);n.frozen||(n.frozen=new r),y.call(this,e)?_.call(this,e,t):n.frozen.set(e,t)}else _.call(this,e,t);return this}})}},21030:function(e,t,n){"use strict";n(90409)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(37899))},84233:function(e,t,n){n(82054)("dispose")},56129:function(e,t,n){n(82054)("observable")},37416:function(e,t,n){n(82054)("patternMatch")},26004:function(e,t,n){var r=n(3380),o=n(31335),i=n(26356),a=n(5147);for(var s in o){var c=r[s],l=c&&c.prototype;if(l&&l.forEach!==i)try{a(l,"forEach",i)}catch(u){l.forEach=i}}},46555:function(e,t,n){var r=n(3380),o=n(31335),i=n(81837),a=n(5147),s=n(40822),c=s("iterator"),l=s("toStringTag"),u=i.values;for(var d in o){var p=r[d],h=p&&p.prototype;if(h){if(h[c]!==u)try{a(h,c,u)}catch(m){h[c]=u}if(h[l]||a(h,l,d),o[d])for(var f in i)if(h[f]!==i[f])try{a(h,f,i[f])}catch(m){h[f]=i[f]}}}},36946:function(e,t,n){var r=n(12791),o=n(3380),i=n(64581);r({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},11940:function(e,t,n){var r=n(12791),o=n(3380),i=n(96337),a=n(40071),s=o.process,c="process"==a(s);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=c&&s.domain;i(t?t.bind(e):e)}})},17299:function(e,t,n){"use strict";n(81837);var r=n(12791),o=n(72591),i=n(91255),a=n(73920),s=n(90528),c=n(31149),l=n(1123),u=n(84392),d=n(93932),p=n(44938),h=n(76525),f=n(31540),m=n(67695),g=n(97955),v=n(25788),y=n(80106),b=n(6574),_=n(9117),C=n(40822),w=o("fetch"),E=o("Headers"),x=C("iterator"),S="URLSearchParams",k="URLSearchParamsIterator",T=u.set,I=u.getterFor(S),A=u.getterFor(k),P=/\+/g,D=Array(4),R=function(e){return D[e-1]||(D[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},M=function(e){try{return decodeURIComponent(e)}catch(t){return e}},N=function(e){var t=e.replace(P," "),n=4;try{return decodeURIComponent(t)}catch(r){for(;n;)t=t.replace(R(n--),M);return t}},L=/[!'()~]|%20/g,O={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return O[e]},B=function(e){return encodeURIComponent(e).replace(L,F)},H=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:N(r.shift()),value:N(r.join("="))}))},z=function(e){this.entries.length=0,H(this.entries,e)},U=function(e,t){if(e<t)throw TypeError("Not enough arguments")},V=l((function(e,t){T(this,{type:k,iterator:b(I(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),j=function(){d(this,j,S);var e,t,n,r,o,i,a,s,c,l=arguments.length>0?arguments[0]:void 0,u=this,h=[];if(T(u,{type:S,entries:h,updateURL:function(){},updateSearchParams:z}),void 0!==l)if(g(l))if("function"===typeof(e=_(l)))for(n=(t=e.call(l)).next;!(r=n.call(t)).done;){if((a=(i=(o=b(m(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");h.push({key:a.value+"",value:s.value+""})}else for(c in l)p(l,c)&&h.push({key:c,value:l[c]+""});else H(h,"string"===typeof l?"?"===l.charAt(0)?l.slice(1):l:l+"")},q=j.prototype;s(q,{append:function(e,t){U(arguments.length,2);var n=I(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){U(arguments.length,1);for(var t=I(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){U(arguments.length,1);for(var t=I(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){U(arguments.length,1);for(var t=I(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){U(arguments.length,1);for(var t=I(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){U(arguments.length,1);for(var n,r=I(this),o=r.entries,i=!1,a=e+"",s=t+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=I(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=I(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),a(q,x,q.entries),a(q,"toString",(function(){for(var e,t=I(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(B(e.key)+"="+B(e.value));return n.join("&")}),{enumerable:!0}),c(j,S),r({global:!0,forced:!i},{URLSearchParams:j}),i||"function"!=typeof w||"function"!=typeof E||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(n=t.body,f(n)===S&&((r=t.headers?new E(t.headers):new E).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:y(0,String(n)),headers:y(0,r)}))),o.push(t)),w.apply(this,o)}}),e.exports={URLSearchParams:j,getState:I}},50920:function(e,t,n){"use strict";n(92925);var r,o=n(12791),i=n(9522),a=n(91255),s=n(3380),c=n(20370),l=n(73920),u=n(93932),d=n(44938),p=n(64399),h=n(38706),f=n(83458).codeAt,m=n(41966),g=n(31149),v=n(17299),y=n(84392),b=s.URL,_=v.URLSearchParams,C=v.getState,w=y.set,E=y.getterFor("URL"),x=Math.floor,S=Math.pow,k="Invalid scheme",T="Invalid host",I="Invalid port",A=/[A-Za-z]/,P=/[\d+\-.A-Za-z]/,D=/\d/,R=/^(0x|0X)/,M=/^[0-7]+$/,N=/^\d+$/,L=/^[\dA-Fa-f]+$/,O=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,F=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,B=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,H=/[\u0009\u000A\u000D]/g,z=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return T;if(!(n=V(t.slice(1,-1))))return T;e.host=n}else if(X(e)){if(t=m(t),O.test(t))return T;if(null===(n=U(t)))return T;e.host=n}else{if(F.test(t))return T;for(n="",r=h(t),o=0;o<r.length;o++)n+=Y(r[o],q);e.host=n}},U=function(e){var t,n,r,o,i,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=c[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=R.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?N:8==i?M:L).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=S(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*S(256,3-r);return s},V=function(e){var t,n,r,o,i,a,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,p=function(){return e.charAt(d)};if(":"==p()){if(":"!=e.charAt(1))return;d+=2,u=++l}for(;p();){if(8==l)return;if(":"!=p()){for(t=n=0;n<4&&L.test(p());)t=16*t+parseInt(p(),16),d++,n++;if("."==p()){if(0==n)return;if(d-=n,l>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;d++}if(!D.test(p()))return;for(;D.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}c[l]=256*c[l]+o,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;c[l++]=t}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(a=l-u,l=7;0!=l&&a>0;)s=c[l],c[l--]=c[u+a-1],c[u+--a]=s;else if(8!=l)return;return c},j=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},q={},W=p({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),G=p({},W,{"#":1,"?":1,"{":1,"}":1}),K=p({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var n=f(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},Q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},X=function(e){return d(Q,e.scheme)},J=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Z=function(e,t){var n;return 2==e.length&&A.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ee=function(e){var t;return e.length>1&&Z(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Z(t[0],!0)||t.pop()},ne=function(e){return"."===e||"%2e"===e.toLowerCase()},re={},oe={},ie={},ae={},se={},ce={},le={},ue={},de={},pe={},he={},fe={},me={},ge={},ve={},ye={},be={},_e={},Ce={},we={},Ee={},xe=function(e,t,n,o){var i,a,s,c,l,u=n||re,p=0,f="",m=!1,g=!1,v=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(B,"")),t=t.replace(H,""),i=h(t);p<=i.length;){switch(a=i[p],u){case re:if(!a||!A.test(a)){if(n)return k;u=ie;continue}f+=a.toLowerCase(),u=oe;break;case oe:if(a&&(P.test(a)||"+"==a||"-"==a||"."==a))f+=a.toLowerCase();else{if(":"!=a){if(n)return k;f="",u=ie,p=0;continue}if(n&&(X(e)!=d(Q,f)||"file"==f&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(X(e)&&Q[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?u=ge:X(e)&&o&&o.scheme==e.scheme?u=ae:X(e)?u=ue:"/"==i[p+1]?(u=se,p++):(e.cannotBeABaseURL=!0,e.path.push(""),u=Ce)}break;case ie:if(!o||o.cannotBeABaseURL&&"#"!=a)return k;if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=Ee;break}u="file"==o.scheme?ge:ce;continue;case ae:if("/"!=a||"/"!=i[p+1]){u=ce;continue}u=de,p++;break;case se:if("/"==a){u=pe;break}u=_e;continue;case ce:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&X(e))u=le;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=we;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=_e;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=Ee}break;case le:if(!X(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=_e;continue}u=pe}else u=de;break;case ue:if(u=de,"/"!=a||"/"!=f.charAt(p+1))continue;p++;break;case de:if("/"!=a&&"\\"!=a){u=pe;continue}break;case pe:if("@"==a){m&&(f="%40"+f),m=!0,s=h(f);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||v){var _=Y(b,K);v?e.password+=_:e.username+=_}else v=!0}f=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&X(e)){if(m&&""==f)return"Invalid authority";p-=h(f).length+1,f="",u=he}else f+=a;break;case he:case fe:if(n&&"file"==e.scheme){u=ye;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&X(e)){if(X(e)&&""==f)return T;if(n&&""==f&&(J(e)||null!==e.port))return;if(c=z(e,f))return c;if(f="",u=be,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),f+=a}else{if(""==f)return T;if(c=z(e,f))return c;if(f="",u=me,n==fe)return}break;case me:if(!D.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&X(e)||n){if(""!=f){var C=parseInt(f,10);if(C>65535)return I;e.port=X(e)&&C===Q[e.scheme]?null:C,f=""}if(n)return;u=be;continue}return I}f+=a;break;case ge:if(e.scheme="file","/"==a||"\\"==a)u=ve;else{if(!o||"file"!=o.scheme){u=_e;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=we;else{if("#"!=a){ee(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),u=_e;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=Ee}}break;case ve:if("/"==a||"\\"==a){u=ye;break}o&&"file"==o.scheme&&!ee(i.slice(p).join(""))&&(Z(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=_e;continue;case ye:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Z(f))u=_e;else if(""==f){if(e.host="",n)return;u=be}else{if(c=z(e,f))return c;if("localhost"==e.host&&(e.host=""),n)return;f="",u=be}continue}f+=a;break;case be:if(X(e)){if(u=_e,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=_e,"/"!=a))continue}else e.fragment="",u=Ee;else e.query="",u=we;break;case _e:if(a==r||"/"==a||"\\"==a&&X(e)||!n&&("?"==a||"#"==a)){if(".."===(l=(l=f).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(te(e),"/"==a||"\\"==a&&X(e)||e.path.push("")):ne(f)?"/"==a||"\\"==a&&X(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Z(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=we):"#"==a&&(e.fragment="",u=Ee)}else f+=Y(a,G);break;case Ce:"?"==a?(e.query="",u=we):"#"==a?(e.fragment="",u=Ee):a!=r&&(e.path[0]+=Y(a,q));break;case we:n||"#"!=a?a!=r&&("'"==a&&X(e)?e.query+="%27":e.query+="#"==a?"%23":Y(a,q)):(e.fragment="",u=Ee);break;case Ee:a!=r&&(e.fragment+=Y(a,W))}p++}},Se=function(e){var t,n,r=u(this,Se,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=w(r,{type:"URL"});if(void 0!==o)if(o instanceof Se)t=E(o);else if(n=xe(t={},String(o)))throw TypeError(n);if(n=xe(s,a,null,t))throw TypeError(n);var c=s.searchParams=new _,l=C(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},i||(r.href=Te.call(r),r.origin=Ie.call(r),r.protocol=Ae.call(r),r.username=Pe.call(r),r.password=De.call(r),r.host=Re.call(r),r.hostname=Me.call(r),r.port=Ne.call(r),r.pathname=Le.call(r),r.search=Oe.call(r),r.searchParams=Fe.call(r),r.hash=Be.call(r))},ke=Se.prototype,Te=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,c=e.fragment,l=t+":";return null!==o?(l+="//",J(e)&&(l+=n+(r?":"+r:"")+"@"),l+=j(o),null!==i&&(l+=":"+i)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},Ie=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&X(e)?t+"://"+j(e.host)+(null!==n?":"+n:""):"null"},Ae=function(){return E(this).scheme+":"},Pe=function(){return E(this).username},De=function(){return E(this).password},Re=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?j(t):j(t)+":"+n},Me=function(){var e=E(this).host;return null===e?"":j(e)},Ne=function(){var e=E(this).port;return null===e?"":String(e)},Le=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Oe=function(){var e=E(this).query;return e?"?"+e:""},Fe=function(){return E(this).searchParams},Be=function(){var e=E(this).fragment;return e?"#"+e:""},He=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(ke,{href:He(Te,(function(e){var t=E(this),n=String(e),r=xe(t,n);if(r)throw TypeError(r);C(t.searchParams).updateSearchParams(t.query)})),origin:He(Ie),protocol:He(Ae,(function(e){var t=E(this);xe(t,String(e)+":",re)})),username:He(Pe,(function(e){var t=E(this),n=h(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=Y(n[r],K)}})),password:He(De,(function(e){var t=E(this),n=h(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=Y(n[r],K)}})),host:He(Re,(function(e){var t=E(this);t.cannotBeABaseURL||xe(t,String(e),he)})),hostname:He(Me,(function(e){var t=E(this);t.cannotBeABaseURL||xe(t,String(e),fe)})),port:He(Ne,(function(e){var t=E(this);$(t)||(""==(e=String(e))?t.port=null:xe(t,e,me))})),pathname:He(Le,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],xe(t,e+"",be))})),search:He(Oe,(function(e){var t=E(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",xe(t,e,we)),C(t.searchParams).updateSearchParams(t.query)})),searchParams:He(Fe),hash:He(Be,(function(e){var t=E(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",xe(t,e,Ee)):t.fragment=null}))}),l(ke,"toJSON",(function(){return Te.call(this)}),{enumerable:!0}),l(ke,"toString",(function(){return Te.call(this)}),{enumerable:!0}),b){var ze=b.createObjectURL,Ue=b.revokeObjectURL;ze&&l(Se,"createObjectURL",(function(e){return ze.apply(b,arguments)})),Ue&&l(Se,"revokeObjectURL",(function(e){return Ue.apply(b,arguments)}))}g(Se,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Se})},90698:function(e,t,n){"use strict";n(12791)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},46277:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(67923),n(96720),n(34629),n(62495),function(){var e=i,t=e.lib.BlockCipher,n=e.algo,r=[],o=[],a=[],s=[],c=[],l=[],u=[],d=[],p=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,i=0;for(t=0;t<256;t++){var f=i^i<<1^i<<2^i<<3^i<<4;f=f>>>8^255&f^99,r[n]=f,o[f]=n;var m=e[n],g=e[m],v=e[g],y=257*e[f]^16843008*f;a[n]=y<<24|y>>>8,s[n]=y<<16|y>>>16,c[n]=y<<8|y>>>24,l[n]=y,y=16843009*v^65537*g^257*m^16843008*n,u[f]=y<<24|y>>>8,d[f]=y<<16|y>>>16,p[f]=y<<8|y>>>24,h[f]=y,n?(n=m^e[e[e[v^m]]],i^=e[e[i]]):n=i=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,o=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],a=0;a<o;a++)a<n?i[a]=t[a]:(l=i[a-1],a%n?n>6&&a%n==4&&(l=r[l>>>24]<<24|r[l>>>16&255]<<16|r[l>>>8&255]<<8|r[255&l]):(l=r[(l=l<<8|l>>>24)>>>24]<<24|r[l>>>16&255]<<16|r[l>>>8&255]<<8|r[255&l],l^=f[a/n|0]<<24),i[a]=i[a-n]^l);for(var s=this._invKeySchedule=[],c=0;c<o;c++){if(a=o-c,c%4)var l=i[a];else l=i[a-4];s[c]=c<4||a<=4?l:u[r[l>>>24]]^d[r[l>>>16&255]]^p[r[l>>>8&255]]^h[r[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,c,l,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,p,h,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,i,a,s){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],p=e[t+3]^n[3],h=4,f=1;f<c;f++){var m=r[l>>>24]^o[u>>>16&255]^i[d>>>8&255]^a[255&p]^n[h++],g=r[u>>>24]^o[d>>>16&255]^i[p>>>8&255]^a[255&l]^n[h++],v=r[d>>>24]^o[p>>>16&255]^i[l>>>8&255]^a[255&u]^n[h++],y=r[p>>>24]^o[l>>>16&255]^i[u>>>8&255]^a[255&d]^n[h++];l=m,u=g,d=v,p=y}m=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&p])^n[h++],g=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[p>>>8&255]<<8|s[255&l])^n[h++],v=(s[d>>>24]<<24|s[p>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^n[h++],y=(s[p>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^n[h++],e[t]=m,e[t+1]=g,e[t+2]=v,e[t+3]=y},keySize:8});e.AES=t._createHelper(m)}(),i.AES)}()},62495:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(34629),void(i.lib.Cipher||function(e){var t=i,n=t.lib,r=n.Base,o=n.WordArray,a=n.BufferedBlockAlgorithm,s=t.enc,c=(s.Utf8,s.Base64),l=t.algo.EvpKDF,u=n.Cipher=a.extend({cfg:r.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:v}return function(t){return{encrypt:function(n,r,o){return e(r).encrypt(t,n,r,o)},decrypt:function(n,r,o){return e(r).decrypt(t,n,r,o)}}}}()}),d=(n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),p=n.BlockCipherMode=r.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=d.CBC=function(){var t=p.extend();function n(t,n,r){var o,i=this._iv;i?(o=i,this._iv=e):o=this._prevBlock;for(var a=0;a<r;a++)t[n+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize;n.call(this,e,t,o),r.encryptBlock(e,t),this._prevBlock=e.slice(t,t+o)}}),t.Decryptor=t.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=e.slice(t,t+o);r.decryptBlock(e,t),n.call(this,e,t,o),this._prevBlock=i}}),t}(),f=(t.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,i=r<<24|r<<16|r<<8|r,a=[],s=0;s<r;s+=4)a.push(i);var c=o.create(a,r);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},m=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:f}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),n.CipherParams=r.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),g=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?o.create([1398893684,1701076831]).concat(n).concat(t):t).toString(c)},parse:function(e){var t,n=c.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),m.create({ciphertext:n,salt:t})}},v=n.SerializableCipher=r.extend({cfg:r.extend({format:g}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),i=o.finalize(t),a=o.cfg;return m.create({ciphertext:i,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=o.random(8));var i=l.create({keySize:t+n}).compute(e,r),a=o.create(i.words.slice(t),4*n);return i.sigBytes=4*t,m.create({key:i,iv:a,salt:r})}},b=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=o.iv;var i=v.encrypt.call(this,e,t,o.key,r);return i.mixIn(o),i},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=o.iv,v.decrypt.call(this,e,t,o.key,r)}})}()))}()},15734:function(e,t,n){e.exports=function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(50633)}catch(g){}var o=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},s=a.lib={},c=s.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=s.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var s=0;s<o;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(o());return new l.init(t,e)}}),u=a.enc={},d=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},h=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*c,i);if(c){for(var d=0;d<c;d+=a)this._doProcessBlock(o,d);n=o.splice(0,c),r.sigBytes-=u}return new l.init(n,u)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(s.Hasher=f.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new m.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math);return e}()},67923:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(){var e=o,t=e.lib.WordArray;function n(e,n,r){for(var o=[],i=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<n;s++)o.push(r.charAt(a>>>6*(3-s)&63));var c=r.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),o.enc.Base64)}()},39601:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(){var e=o,t=e.lib.WordArray;function n(e,n,r){for(var o=[],i=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64url={stringify:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var i=[],a=0;a<r;a+=3)for(var s=(n[a>>>2]>>>24-a%4*8&255)<<16|(n[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|n[a+2>>>2]>>>24-(a+2)%4*8&255,c=0;c<4&&a+.75*c<r;c++)i.push(o.charAt(s>>>6*(3-c)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.length,o=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var s=o.charAt(64);if(s){var c=e.indexOf(s);-1!==c&&(r=c)}return n(e,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),o.enc.Base64url)}()},34901:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(){var e=o,t=e.lib.WordArray,n=e.enc;function r(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o+=2){var i=t[o>>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var n=e.length,r=[],o=0;o<n;o++)r[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(r,2*n)}},n.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],i=0;i<n;i+=2){var a=r(t[i>>>2]>>>16-i%4*8&65535);o.push(String.fromCharCode(a))}return o.join("")},parse:function(e){for(var n=e.length,o=[],i=0;i<n;i++)o[i>>>1]|=r(e.charCodeAt(i)<<16-i%2*16);return t.create(o,2*n)}}}(),o.enc.Utf16)}()},34629:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(67657),n(14359),function(){var e=i,t=e.lib,n=t.Base,r=t.WordArray,o=e.algo,a=o.MD5,s=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,o=this.cfg,i=o.hasher.create(),a=r.create(),s=a.words,c=o.keySize,l=o.iterations;s.length<c;){n&&i.update(n),n=i.update(e).finalize(t),i.reset();for(var u=1;u<l;u++)n=i.finalize(n),i.reset();a.concat(n)}return a.sigBytes=4*c,a}});e.EvpKDF=function(e,t,n){return s.create(n).compute(e,t)}}(),i.EvpKDF)}()},42513:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),function(e){var t=i,n=t.lib.CipherParams,r=t.enc.Hex;t.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var t=r.parse(e);return n.create({ciphertext:t})}}}(),i.format.Hex)}()},14359:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),void function(){var e=o,t=e.lib.Base,n=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,o=4*r;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,c=a.words,l=0;l<r;l++)s[l]^=1549556828,c[l]^=909522486;i.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})}())}()},56449:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(92379),n(25132),n(34901),n(67923),n(39601),n(96720),n(67657),n(84489),n(47643),n(13756),n(44610),n(86708),n(35817),n(14359),n(82236),n(34629),n(62495),n(24307),n(9708),n(48191),n(37748),n(57545),n(97061),n(66119),n(1748),n(92155),n(7609),n(42513),n(46277),n(38625),n(6530),n(7627),n(97232),i)}()},25132:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(){if("function"==typeof ArrayBuffer){var e=o.lib.WordArray,t=e.init,n=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,r=[],o=0;o<n;o++)r[o>>>2]|=e[o]<<24-o%4*8;t.call(this,r,n)}else t.apply(this,arguments)};n.prototype=e}}(),o.lib.WordArray)}()},96720:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(e){var t=o,n=t.lib,r=n.WordArray,i=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],c=e[t+1],h=e[t+2],f=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],_=e[t+9],C=e[t+10],w=e[t+11],E=e[t+12],x=e[t+13],S=e[t+14],k=e[t+15],T=i[0],I=i[1],A=i[2],P=i[3];T=l(T,I,A,P,a,7,s[0]),P=l(P,T,I,A,c,12,s[1]),A=l(A,P,T,I,h,17,s[2]),I=l(I,A,P,T,f,22,s[3]),T=l(T,I,A,P,m,7,s[4]),P=l(P,T,I,A,g,12,s[5]),A=l(A,P,T,I,v,17,s[6]),I=l(I,A,P,T,y,22,s[7]),T=l(T,I,A,P,b,7,s[8]),P=l(P,T,I,A,_,12,s[9]),A=l(A,P,T,I,C,17,s[10]),I=l(I,A,P,T,w,22,s[11]),T=l(T,I,A,P,E,7,s[12]),P=l(P,T,I,A,x,12,s[13]),A=l(A,P,T,I,S,17,s[14]),T=u(T,I=l(I,A,P,T,k,22,s[15]),A,P,c,5,s[16]),P=u(P,T,I,A,v,9,s[17]),A=u(A,P,T,I,w,14,s[18]),I=u(I,A,P,T,a,20,s[19]),T=u(T,I,A,P,g,5,s[20]),P=u(P,T,I,A,C,9,s[21]),A=u(A,P,T,I,k,14,s[22]),I=u(I,A,P,T,m,20,s[23]),T=u(T,I,A,P,_,5,s[24]),P=u(P,T,I,A,S,9,s[25]),A=u(A,P,T,I,f,14,s[26]),I=u(I,A,P,T,b,20,s[27]),T=u(T,I,A,P,x,5,s[28]),P=u(P,T,I,A,h,9,s[29]),A=u(A,P,T,I,y,14,s[30]),T=d(T,I=u(I,A,P,T,E,20,s[31]),A,P,g,4,s[32]),P=d(P,T,I,A,b,11,s[33]),A=d(A,P,T,I,w,16,s[34]),I=d(I,A,P,T,S,23,s[35]),T=d(T,I,A,P,c,4,s[36]),P=d(P,T,I,A,m,11,s[37]),A=d(A,P,T,I,y,16,s[38]),I=d(I,A,P,T,C,23,s[39]),T=d(T,I,A,P,x,4,s[40]),P=d(P,T,I,A,a,11,s[41]),A=d(A,P,T,I,f,16,s[42]),I=d(I,A,P,T,v,23,s[43]),T=d(T,I,A,P,_,4,s[44]),P=d(P,T,I,A,E,11,s[45]),A=d(A,P,T,I,k,16,s[46]),T=p(T,I=d(I,A,P,T,h,23,s[47]),A,P,a,6,s[48]),P=p(P,T,I,A,y,10,s[49]),A=p(A,P,T,I,S,15,s[50]),I=p(I,A,P,T,g,21,s[51]),T=p(T,I,A,P,E,6,s[52]),P=p(P,T,I,A,f,10,s[53]),A=p(A,P,T,I,C,15,s[54]),I=p(I,A,P,T,c,21,s[55]),T=p(T,I,A,P,b,6,s[56]),P=p(P,T,I,A,k,10,s[57]),A=p(A,P,T,I,v,15,s[58]),I=p(I,A,P,T,x,21,s[59]),T=p(T,I,A,P,m,6,s[60]),P=p(P,T,I,A,w,10,s[61]),A=p(A,P,T,I,h,15,s[62]),I=p(I,A,P,T,_,21,s[63]),i[0]=i[0]+T|0,i[1]=i[1]+I|0,i[2]=i[2]+A|0,i[3]=i[3]+P|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+o+a;return(s<<i|s>>>32-i)+t}function u(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+o+a;return(s<<i|s>>>32-i)+t}function d(e,t,n,r,o,i,a){var s=e+(t^n^r)+o+a;return(s<<i|s>>>32-i)+t}function p(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+o+a;return(s<<i|s>>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),o.MD5)}()},24307:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.mode.CFB=function(){var e=i.lib.BlockCipherMode.extend();function t(e,t,n,r){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,r.encryptBlock(o,0);for(var a=0;a<n;a++)e[t+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,o=r.blockSize;t.call(this,e,n,o,r),this._prevBlock=e.slice(n,n+o)}}),e.Decryptor=e.extend({processBlock:function(e,n){var r=this._cipher,o=r.blockSize,i=e.slice(n,n+o);t.call(this,e,n,o,r),this._prevBlock=i}}),e}(),i.mode.CFB)}()},48191:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.mode.CTRGladman=function(){var e=i.lib.BlockCipherMode.extend();function t(e){if(255===(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var r=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,o=r.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0),n(a);var s=a.slice(0);r.encryptBlock(s,0);for(var c=0;c<o;c++)e[t+c]^=s[c]}});return e.Decryptor=r,e}(),i.mode.CTRGladman)}()},9708:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.mode.CTR=function(){var e=i.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);n.encryptBlock(a,0),i[r-1]=i[r-1]+1|0;for(var s=0;s<r;s++)e[t+s]^=a[s]}});return e.Decryptor=t,e}(),i.mode.CTR)}()},57545:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.mode.ECB=function(){var e=i.lib.BlockCipherMode.extend();return e.Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e}(),i.mode.ECB)}()},37748:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.mode.OFB=function(){var e=i.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,o=this._iv,i=this._keystream;o&&(i=this._keystream=o.slice(0),this._iv=void 0),n.encryptBlock(i,0);for(var a=0;a<r;a++)e[t+a]^=i[a]}});return e.Decryptor=t,e}(),i.mode.OFB)}()},97061:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,o=r-n%r,i=n+o-1;e.clamp(),e.words[i>>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},i.pad.Ansix923)}()},66119:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.pad.Iso10126={pad:function(e,t){var n=4*t,r=n-e.sigBytes%n;e.concat(i.lib.WordArray.random(r-1)).concat(i.lib.WordArray.create([r<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},i.pad.Iso10126)}()},1748:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.pad.Iso97971={pad:function(e,t){e.concat(i.lib.WordArray.create([2147483648],1)),i.pad.ZeroPadding.pad(e,t)},unpad:function(e){i.pad.ZeroPadding.unpad(e),e.sigBytes--}},i.pad.Iso97971)}()},7609:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding)}()},92155:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(62495),i.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},i.pad.ZeroPadding)}()},82236:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(67657),n(14359),function(){var e=i,t=e.lib,n=t.Base,r=t.WordArray,o=e.algo,a=o.SHA1,s=o.HMAC,c=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,o=s.create(n.hasher,e),i=r.create(),a=r.create([1]),c=i.words,l=a.words,u=n.keySize,d=n.iterations;c.length<u;){var p=o.update(t).finalize(a);o.reset();for(var h=p.words,f=h.length,m=p,g=1;g<d;g++){m=o.finalize(m),o.reset();for(var v=m.words,y=0;y<f;y++)h[y]^=v[y]}i.concat(p),l[0]++}return i.sigBytes=4*u,i}});e.PBKDF2=function(e,t,n){return c.create(n).compute(e,t)}}(),i.PBKDF2)}()},97232:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(67923),n(96720),n(34629),n(62495),function(){var e=i,t=e.lib.StreamCipher,n=e.algo,r=[],o=[],a=[],s=n.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)r[o]^=n[o+4&7];if(t){var i=t.words,a=i[0],s=i[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&u,p=u<<16|65535&l;for(r[0]^=l,r[1]^=d,r[2]^=u,r[3]^=p,r[4]^=l,r[5]^=d,r[6]^=u,r[7]^=p,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)r[o]=16711935&(r[o]<<8|r[o]>>>24)|4278255360&(r[o]<<24|r[o]>>>8),e[t+o]^=r[o]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,s=r>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),i.RabbitLegacy)}()},7627:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(67923),n(96720),n(34629),n(62495),function(){var e=i,t=e.lib.StreamCipher,n=e.algo,r=[],o=[],a=[],s=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var i=t.words,a=i[0],s=i[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=l>>>16|4294901760&u,p=u<<16|65535&l;for(o[0]^=l,o[1]^=d,o[2]^=u,o[3]^=p,o[4]^=l,o[5]^=d,o[6]^=u,o[7]^=p,n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),r[0]=n[0]^n[5]>>>16^n[3]<<16,r[1]=n[2]^n[7]>>>16^n[5]<<16,r[2]=n[4]^n[1]>>>16^n[7]<<16,r[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)r[o]=16711935&(r[o]<<8|r[o]>>>24)|4278255360&(r[o]<<24|r[o]>>>8),e[t+o]^=r[o]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,s=r>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),i.Rabbit)}()},6530:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(67923),n(96720),n(34629),n(62495),function(){var e=i,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var i=0;o<256;o++){var a=o%n,s=t[a>>>2]>>>24-a%4*8&255;i=(i+r[o]+s)%256;var c=r[o];r[o]=r[i],r[i]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}e.RC4=t._createHelper(r);var a=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});e.RC4Drop=t._createHelper(a)}(),i.RC4)}()},35817:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(e){var t=o,n=t.lib,r=n.WordArray,i=n.Hasher,a=t.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=r.create([0,1518500249,1859775393,2400959708,2840853838]),p=r.create([1352829926,1548603684,1836072691,2053994217,0]),h=a.RIPEMD160=i.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,a,h,_,C,w,E,x,S,k,T,I=this._hash.words,A=d.words,P=p.words,D=s.words,R=c.words,M=l.words,N=u.words;for(w=i=I[0],E=a=I[1],x=h=I[2],S=_=I[3],k=C=I[4],n=0;n<80;n+=1)T=i+e[t+D[n]]|0,T+=n<16?f(a,h,_)+A[0]:n<32?m(a,h,_)+A[1]:n<48?g(a,h,_)+A[2]:n<64?v(a,h,_)+A[3]:y(a,h,_)+A[4],T=(T=b(T|=0,M[n]))+C|0,i=C,C=_,_=b(h,10),h=a,a=T,T=w+e[t+R[n]]|0,T+=n<16?y(E,x,S)+P[0]:n<32?v(E,x,S)+P[1]:n<48?g(E,x,S)+P[2]:n<64?m(E,x,S)+P[3]:f(E,x,S)+P[4],T=(T=b(T|=0,N[n]))+k|0,w=k,k=S,S=b(x,10),x=E,E=T;T=I[1]+h+S|0,I[1]=I[2]+_+k|0,I[2]=I[3]+C+w|0,I[3]=I[4]+i+E|0,I[4]=I[0]+a+x|0,I[0]=T},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),o.RIPEMD160)}()},67657:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(){var e=o,t=e.lib,n=t.WordArray,r=t.Hasher,i=e.algo,a=[],s=i.SHA1=r.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],c=n[4],l=0;l<80;l++){if(l<16)a[l]=0|e[t+l];else{var u=a[l-3]^a[l-8]^a[l-14]^a[l-16];a[l]=u<<1|u>>>31}var d=(r<<5|r>>>27)+c+a[l];d+=l<20?1518500249+(o&i|~o&s):l<40?1859775393+(o^i^s):l<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,c=s,s=i,i=o<<30|o>>>2,o=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=r._createHelper(s),e.HmacSHA1=r._createHmacHelper(s)}(),o.SHA1)}()},47643:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(84489),function(){var e=i,t=e.lib.WordArray,n=e.algo,r=n.SHA256,o=n.SHA224=r.extend({_doReset:function(){this._hash=new t.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=r._doFinalize.call(this);return e.sigBytes-=4,e}});e.SHA224=r._createHelper(o),e.HmacSHA224=r._createHmacHelper(o)}(),i.SHA224)}()},84489:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(e){var t=o,n=t.lib,r=n.WordArray,i=n.Hasher,a=t.algo,s=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(s[o]=n(e.pow(r,.5))),c[o]=n(e.pow(r,1/3)),o++),r++}();var l=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new r.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],u=n[5],d=n[6],p=n[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var f=l[h-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,g=l[h-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[h]=m+l[h-7]+v+l[h-16]}var y=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),_=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[h]+l[h];p=d,d=u,u=s,s=a+_|0,a=i,i=o,o=r,r=_+(b+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(u),t.HmacSHA256=i._createHmacHelper(u)}(Math),o.SHA256)}()},86708:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(92379),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,a=t.x64.Word,s=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,d=0,p=0;p<7;p++){if(1&o){var h=(1<<p)-1;h<32?d^=1<<h:s^=1<<h-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=a.create()}();var p=s.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,o=0;o<r;o++){var i=e[t+2*o],a=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(I=n[o]).high^=a,I.low^=i}for(var s=0;s<24;s++){for(var p=0;p<5;p++){for(var h=0,f=0,m=0;m<5;m++)h^=(I=n[p+5*m]).high,f^=I.low;var g=d[p];g.high=h,g.low=f}for(p=0;p<5;p++){var v=d[(p+4)%5],y=d[(p+1)%5],b=y.high,_=y.low;for(h=v.high^(b<<1|_>>>31),f=v.low^(_<<1|b>>>31),m=0;m<5;m++)(I=n[p+5*m]).high^=h,I.low^=f}for(var C=1;C<25;C++){var w=(I=n[C]).high,E=I.low,x=c[C];x<32?(h=w<<x|E>>>32-x,f=E<<x|w>>>32-x):(h=E<<x-32|w>>>64-x,f=w<<x-32|E>>>64-x);var S=d[l[C]];S.high=h,S.low=f}var k=d[0],T=n[0];for(k.high=T.high,k.low=T.low,p=0;p<5;p++)for(m=0;m<5;m++){var I=n[C=p+5*m],A=d[C],P=d[(p+1)%5+5*m],D=d[(p+2)%5+5*m];I.high=A.high^~P.high&D.high,I.low=A.low^~P.low&D.low}I=n[0];var R=u[s];I.high^=R.high,I.low^=R.low}},_doFinalize:function(){var t=this._data,n=t.words,o=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;n[o>>>5]|=1<<24-o%32,n[(e.ceil((o+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u<c;u++){var d=a[u],p=d.high,h=d.low;p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),l.push(h),l.push(p)}return new r.init(l,s)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=o._createHelper(p),t.HmacSHA3=o._createHmacHelper(p)}(Math),i.SHA3)}()},44610:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(92379),n(13756),function(){var e=i,t=e.x64,n=t.Word,r=t.WordArray,o=e.algo,a=o.SHA512,s=o.SHA384=a.extend({_doReset:function(){this._hash=new r.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}});e.SHA384=a._createHelper(s),e.HmacSHA384=a._createHmacHelper(s)}(),i.SHA384)}()},13756:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(92379),function(){var e=i,t=e.lib.Hasher,n=e.x64,r=n.Word,o=n.WordArray,a=e.algo;function s(){return r.create.apply(r,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var u=a.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],u=n[5],d=n[6],p=n[7],h=r.high,f=r.low,m=o.high,g=o.low,v=i.high,y=i.low,b=a.high,_=a.low,C=s.high,w=s.low,E=u.high,x=u.low,S=d.high,k=d.low,T=p.high,I=p.low,A=h,P=f,D=m,R=g,M=v,N=y,L=b,O=_,F=C,B=w,H=E,z=x,U=S,V=k,j=T,q=I,W=0;W<80;W++){var G,K,Y=l[W];if(W<16)K=Y.high=0|e[t+2*W],G=Y.low=0|e[t+2*W+1];else{var Q=l[W-15],X=Q.high,J=Q.low,$=(X>>>1|J<<31)^(X>>>8|J<<24)^X>>>7,Z=(J>>>1|X<<31)^(J>>>8|X<<24)^(J>>>7|X<<25),ee=l[W-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=l[W-7],ae=ie.high,se=ie.low,ce=l[W-16],le=ce.high,ue=ce.low;K=(K=(K=$+ae+((G=Z+se)>>>0<Z>>>0?1:0))+re+((G+=oe)>>>0<oe>>>0?1:0))+le+((G+=ue)>>>0<ue>>>0?1:0),Y.high=K,Y.low=G}var de,pe=F&H^~F&U,he=B&z^~B&V,fe=A&D^A&M^D&M,me=P&R^P&N^R&N,ge=(A>>>28|P<<4)^(A<<30|P>>>2)^(A<<25|P>>>7),ve=(P>>>28|A<<4)^(P<<30|A>>>2)^(P<<25|A>>>7),ye=(F>>>14|B<<18)^(F>>>18|B<<14)^(F<<23|B>>>9),be=(B>>>14|F<<18)^(B>>>18|F<<14)^(B<<23|F>>>9),_e=c[W],Ce=_e.high,we=_e.low,Ee=j+ye+((de=q+be)>>>0<q>>>0?1:0),xe=ve+me;j=U,q=V,U=H,V=z,H=F,z=B,F=L+(Ee=(Ee=(Ee=Ee+pe+((de+=he)>>>0<he>>>0?1:0))+Ce+((de+=we)>>>0<we>>>0?1:0))+K+((de+=G)>>>0<G>>>0?1:0))+((B=O+de|0)>>>0<O>>>0?1:0)|0,L=M,O=N,M=D,N=R,D=A,R=P,A=Ee+(ge+fe+(xe>>>0<ve>>>0?1:0))+((P=de+xe|0)>>>0<de>>>0?1:0)|0}f=r.low=f+P,r.high=h+A+(f>>>0<P>>>0?1:0),g=o.low=g+R,o.high=m+D+(g>>>0<R>>>0?1:0),y=i.low=y+N,i.high=v+M+(y>>>0<N>>>0?1:0),_=a.low=_+O,a.high=b+L+(_>>>0<O>>>0?1:0),w=s.low=w+B,s.high=C+F+(w>>>0<B>>>0?1:0),x=u.low=x+z,u.high=E+H+(x>>>0<z>>>0?1:0),k=d.low=k+V,d.high=S+U+(k>>>0<V>>>0?1:0),I=p.low=I+q,p.high=T+j+(I>>>0<q>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),i.SHA512)}()},38625:function(e,t,n){!function(t,r,o){var i;e.exports=(i=n(15734),n(67923),n(96720),n(34629),n(62495),function(){var e=i,t=e.lib,n=t.WordArray,r=t.BlockCipher,o=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=o.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=a[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var l=o[i]=[],u=c[i];for(n=0;n<24;n++)l[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=o[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],p.call(this,4,252645135),p.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),p.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((a^o[c])&u[c])>>>0];this._lBlock=a,this._rBlock=i^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,p.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function h(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=r._createHelper(d);var f=o.TripleDES=r.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(n.create(t)),this._des2=d.createEncryptor(n.create(r)),this._des3=d.createEncryptor(n.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=r._createHelper(f)}(),i.TripleDES)}()},92379:function(e,t,n){!function(t,r){var o;e.exports=(o=n(15734),function(e){var t=o,n=t.lib,r=n.Base,i=n.WordArray,a=t.x64={};a.Word=r.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=r.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:8*t.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var o=e[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=r.clone.call(this),t=e.words=this.words.slice(0),n=t.length,o=0;o<n;o++)t[o]=t[o].clone();return e}})}(),o)}()},41270:function(e,t,n){"use strict";var r=n(40475);function o(e){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}t.log=function(){var e;return"object"===("undefined"===typeof console?"undefined":o(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!==typeof r&&"env"in r&&(e={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:"localhost",WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.DEBUG);return e},t.useColors=function(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(95557)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},95557:function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){if(a.enabled){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var i=a,s=Number(new Date),c=s-(n||s);i.diff=c,i.prev=n,i.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!==typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var o=r.formatters[n];if("function"===typeof o){var a=t[l];e=o.call(i,a),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var u=i.log||r.log;u.apply(i,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=o,a.extend=i,"function"===typeof r.init&&r.init(a),r.instances.push(a),a}function o(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+("undefined"===typeof t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"===typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(20048),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},47814:function(e,t,n){"use strict";var r=n(9479),o={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 r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.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,r){if("string"!==typeof n){if(f){var o=h(n);o&&o!==f&&e(t,o,r)}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 v=a[g];if(!i[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var y=p(n,v);try{l(t,v,y)}catch(b){}}}}return t}},59986:function(){!function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=o(t);n;)n=o(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?p(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,i=null,a=null;if(this.POLL_INTERVAL?i=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),c(e,"resize",r,!0)),c(t,"scroll",r,!0),a&&a.disconnect()})),t!=(this.root&&this.root.ownerDocument||e)){var l=o(t);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e,i=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=o(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}));if(!i){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=o(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,a=u(o),s=this._rootContainsTarget(o),c=r.entry,l=e&&s&&this._computeTargetAndRootIntersection(o,a,t),d=r.entry=new i({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:a,rootBounds:n&&!this.root?null:t,intersectionRect:l});c?e&&s?this._hasCrossedThreshold(c,d)&&this._queuedEntries.push(d):c&&c.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,o,i){if("none"!=window.getComputedStyle(t).display){for(var a=o,s=f(t),c=!1;!c&&s;){var d=null,h=1==s.nodeType?window.getComputedStyle(s):{};if("none"==h.display)return null;if(s==this.root||9==s.nodeType)if(c=!0,s==this.root||s==e)n&&!this.root?!r||0==r.width&&0==r.height?(s=null,d=null,a=null):d=r:d=i;else{var m=f(s),g=m&&u(m),v=m&&this._computeTargetAndRootIntersection(m,g,i);g&&v?(s=m,d=p(g,v)):(s=null,a=null)}else{var y=s.ownerDocument;s!=y.body&&s!=y.documentElement&&"visible"!=h.overflow&&(d=u(s))}if(d&&(a=l(d,a)),!a)break;s=s&&f(s)}return a}},a.prototype._getRootRect=function(){var t;if(this.root)t=u(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!==i<r)return!0}},a.prototype._rootIsInDom=function(){return!this.root||h(e,this.root)},a.prototype._rootContainsTarget=function(t){return h(this.root||e,t)&&(!this.root||this.root.ownerDocument==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=i}function o(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function i(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=function(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function c(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function l(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-o,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}||null}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function p(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function h(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?o(t):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}}()},35556:function(e){"use strict";e.exports=function(e,t,n,r,o,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,r,o,i,a,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},84437:function(e,t){var n;!function(t,n){"use strict";"object"===typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!==typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},l=i.push,u=i.indexOf,d={},p=d.toString,h=d.hasOwnProperty,f=h.toString,m=f.call(Object),g={},v=function(e){return"function"===typeof e&&"number"!==typeof e.nodeType&&"function"!==typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in _)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function w(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?d[p.call(e)]||"object":typeof e}var E="3.6.3",x=function e(t,n){return new e.fn.init(t,n)};function S(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"===typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:E,constructor:x,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:i.sort,splice:i.splice},x.extend=x.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"===typeof a&&(l=a,a=arguments[s]||{},s++),"object"===typeof a||v(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(x.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||x.isPlainObject(n)?n:{},o=!1,a[t]=x.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},x.extend({expando:"jQuery"+(E+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==p.call(e))&&(!(t=a(e))||"function"===typeof(n=h.call(t,"constructor")&&t.constructor)&&f.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){C(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?x.merge(n,"string"===typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(S(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return c(a)},guid:1,support:g}),"function"===typeof Symbol&&(x.fn[Symbol.iterator]=i[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var k=function(e){var t,n,r,o,i,a,s,c,l,u,d,p,h,f,m,g,v,y,b,_="sizzle"+1*new Date,C=e.document,w=0,E=0,x=ce(),S=ce(),k=ce(),T=ce(),I=function(e,t){return e===t&&(d=!0),0},A={}.hasOwnProperty,P=[],D=P.pop,R=P.push,M=P.push,N=P.slice,L=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\[[\\x20\\t\\r\\n\\f]*("+B+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+F+"*\\]",z=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",U=new RegExp(F+"+","g"),V=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),j=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),q=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),W=new RegExp(F+"|>"),G=new RegExp(z),K=new RegExp("^"+B+"$"),Y={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){p()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{M.apply(P=N.call(C.childNodes),C.childNodes),P[C.childNodes.length].nodeType}catch(Se){M={apply:P.length?function(e,t){R.apply(e,N.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,l,u,d,f,v,y=t&&t.ownerDocument,C=t?t.nodeType:9;if(r=r||[],"string"!==typeof e||!e||1!==C&&9!==C&&11!==C)return r;if(!o&&(p(t),t=t||h,m)){if(11!==C&&(d=Z.exec(e)))if(i=d[1]){if(9===C){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(y&&(l=y.getElementById(i))&&b(t,l)&&l.id===i)return r.push(l),r}else{if(d[2])return M.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!T[e+" "]&&(!g||!g.test(e))&&(1!==C||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===C&&(W.test(e)||q.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,oe):t.setAttribute("id",u=_)),s=(f=a(e)).length;s--;)f[s]=(u?"#"+u:":scope")+" "+be(f[s]);v=f.join(",")}try{if(n.cssSupportsSelector&&!CSS.supports("selector(:is("+v+"))"))throw new Error;return M.apply(r,y.querySelectorAll(v)),r}catch(w){T(e,!0)}finally{u===_&&t.removeAttribute("id")}}}return c(e.replace(V,"$1"),t,r,o)}function ce(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function le(e){return e[_]=!0,e}function ue(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(Se){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return le((function(t){return t=+t,le((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ve(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:C;return a!=h&&9===a.nodeType&&a.documentElement?(f=(h=a).documentElement,m=!i(h),C!=h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ue((function(e){return f.appendChild(e).appendChild(h.createElement("div")),"undefined"!==typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.cssSupportsSelector=ue((function(){return CSS.supports("selector(*)")&&h.querySelectorAll(":is(:jqfake)")&&!CSS.supports("selector(:is(*,:jqfake))")})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=$.test(h.getElementsByClassName),n.getById=ue((function(e){return f.appendChild(e).id=_,!h.getElementsByName||!h.getElementsByName(_).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=$.test(h.querySelectorAll))&&(ue((function(e){var t;f.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+O+")"),e.querySelectorAll("[id~="+_+"-]").length||g.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=$.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",z)})),n.cssSupportsSelector||g.push(":has"),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=$.test(f.compareDocumentPosition),b=t||$.test(f.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},I=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==h||e.ownerDocument==C&&b(C,e)?-1:t==h||t.ownerDocument==C&&b(C,t)?1:u?L(u,e)-L(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==h?-1:t==h?1:o?-1:i?1:u?L(u,e)-L(u,t):0;if(o===i)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]==C?-1:s[r]==C?1:0},h):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(p(e),n.matchesSelector&&m&&!T[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(Se){T(t,!0)}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&p(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&p(e);var o=r.attrHandle[t.toLowerCase()],i=o&&A.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(I),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:le,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+F+"|$)"))&&x(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var l,u,d,p,h,f,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(g){if(i){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&y){for(b=(h=(l=(u=(d=(p=g)[_]||(p[_]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===w&&l[1])&&l[2],p=h&&g.childNodes[h];p=++h&&p&&p[m]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===t){u[e]=[w,h,b];break}}else if(y&&(b=h=(l=(u=(d=(p=t)[_]||(p[_]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===w&&l[1]),!1===b)for(;(p=++h&&p&&p[m]||(b=h=0)||f.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((u=(d=p[_]||(p[_]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[w,b]),p!==t)););return(b-=o)===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[_]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=L(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace(V,"$1"));return r[_]?le((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:le((function(e){return K.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=fe(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=E++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var l,u,d,p=[w,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=u[i])&&l[0]===w&&l[1]===s)return p[2]=l[2];if(u[i]=p,p[2]=e(t,n,c))return!0}return!1}}function Ce(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,l=null!=t;s<c;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function Ee(e,t,n,r,o,i){return r&&!r[_]&&(r=Ee(r)),o&&!o[_]&&(o=Ee(o,i)),le((function(i,a,s,c){var l,u,d,p=[],h=[],f=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:we(m,p,e,s,c),v=n?o||(i?e:f||r)?[]:a:g;if(n&&n(g,v,s,c),r)for(l=we(v,h),r(l,[],s,c),u=l.length;u--;)(d=l[u])&&(v[h[u]]=!(g[h[u]]=d));if(i){if(o||e){if(o){for(l=[],u=v.length;u--;)(d=v[u])&&l.push(g[u]=d);o(null,v=[],l,c)}for(u=v.length;u--;)(d=v[u])&&(l=o?L(i,d):p[u])>-1&&(i[l]=!(a[l]=d))}}else v=we(v===a?v.splice(f,v.length):v),o?o(null,a,v,c):M.apply(a,v)}))}function xe(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,u=_e((function(e){return e===t}),s,!0),d=_e((function(e){return L(t,e)>-1}),s,!0),p=[function(e,n,r){var o=!a&&(r||n!==l)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,o}];c<i;c++)if(n=r.relative[e[c].type])p=[_e(Ce(p),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[_]){for(o=++c;o<i&&!r.relative[e[o].type];o++);return Ee(c>1&&Ce(p),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(V,"$1"),n,c<o&&xe(e.slice(c,o)),o<i&&xe(e=e.slice(o)),o<i&&be(e))}p.push(n)}return Ce(p)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,c,l,u=S[e+" "];if(u)return t?0:u.slice(0);for(s=e,c=[],l=r.preFilter;s;){for(a in n&&!(o=j.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=q.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(V," ")}),s=s.slice(n.length)),r.filter)!(o=Y[a].exec(s))||l[a]&&!(o=l[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,c).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=k[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=xe(t[n]))[_]?o.push(s):i.push(s);s=k(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,c,u){var d,f,g,v=0,y="0",b=i&&[],_=[],C=l,E=i||o&&r.find.TAG("*",u),x=w+=null==C?1:Math.random()||.1,S=E.length;for(u&&(l=a==h||a||u);y!==S&&null!=(d=E[y]);y++){if(o&&d){for(f=0,a||d.ownerDocument==h||(p(d),s=!m);g=e[f++];)if(g(d,a||h,s)){c.push(d);break}u&&(w=x)}n&&((d=!g&&d)&&v--,i&&b.push(d))}if(v+=y,n&&y!==v){for(f=0;g=t[f++];)g(b,_,a,s);if(i){if(v>0)for(;y--;)b[y]||_[y]||(_[y]=D.call(c));_=we(_)}M.apply(c,_),u&&!i&&_.length>0&&v+t.length>1&&se.uniqueSort(c)}return u&&(w=x,l=C),b};return n?le(i):i}(i,o)),s.selector=e}return s},c=se.select=function(e,t,n,o){var i,c,l,u,d,p="function"===typeof e&&e,h=!o&&a(e=p.selector||e);if(n=n||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(i=Y.needsContext.test(e)?0:c.length;i--&&(l=c[i],!r.relative[u=l.type]);)if((d=r.find[u])&&(o=d(l.matches[0].replace(te,ne),ee.test(c[0].type)&&ve(t.parentNode)||t))){if(c.splice(i,1),!(e=o.length&&be(c)))return M.apply(n,o),n;break}}return(p||s(e,h))(o,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=_.split("").sort(I).join("")===_,n.detectDuplicates=!!d,p(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(O,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);x.find=k,(x.expr=k.selectors)[":"]=x.expr.pseudos,x.uniqueSort=x.unique=k.uniqueSort,x.text=k.getText,x.isXMLDoc=k.isXML,x.contains=k.contains,x.escapeSelector=k.escape;var T=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&x(e).is(n))break;r.push(e)}return r},I=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=x.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,t,n){return v(t)?x.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?x.grep(e,(function(e){return u.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!==typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t<r;t++)if(x.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,o[t],n);return r>1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(R(this,e||[],!1))},not:function(e){return this.pushStack(R(this,e||[],!0))},is:function(e){return!!R(this,"string"===typeof e&&A.test(e)?x(e):e||[],!1).length}});var M,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||M,"string"===typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),D.test(r[1])&&x.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,M=x(b);var L=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!==typeof e&&x(e);if(!A.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?x.uniqueSort(i):i)},index:function(e){return e?"string"===typeof e?u.call(x(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return I((e.parentNode||{}).firstChild,e)},children:function(e){return I(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(P(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,r){var o=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"===typeof r&&(o=x.filter(r,o)),this.length>1&&(O[e]||x.uniqueSort(o),L.test(e)&&o.reverse()),this.pushStack(o)}}));var B=/[^\x20\t\r\n\f]+/g;function H(e){return e}function z(e){throw e}function U(e,t,n,r){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"===typeof e?function(e){var t={};return x.each(e.match(B)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){x.each(n,(function(n,r){v(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&c()),this},remove:function(){return x.each(arguments,(function(e,t){for(var n;(n=x.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?x.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(n){x.each(t,(function(t,r){var o=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(e<i)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"===typeof r||"function"===typeof r)&&r.then,v(l)?o?l.call(r,a(i,t,H,o),a(i,t,z,o)):(i++,l.call(r,a(i,t,H,o),a(i,t,z,o),a(i,t,H,t.notifyWith))):(n!==H&&(s=void 0,c=[r]),(o||t.resolveWith)(s,c))}},u=o?l:function(){try{l()}catch(r){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(r,u.stackTrace),e+1>=i&&(n!==z&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?u():(x.Deferred.getStackHook&&(u.stackTrace=x.Deferred.getStackHook()),r.setTimeout(u))}}return x.Deferred((function(r){t[0][3].add(a(0,r,v(o)?o:H,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:H)),t[2][3].add(a(0,r,v(n)?n:z))})).promise()},promise:function(e){return null!=e?x.extend(e,o):o}},i={};return x.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=x.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(U(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||v(o[n]&&o[n].then)))return i.then();for(;n--;)U(o[n],a(n),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&V.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){r.setTimeout((function(){throw e}))};var j=x.Deferred();function q(){b.removeEventListener("DOMContentLoaded",q),r.removeEventListener("load",q),x.ready()}x.fn.ready=function(e){return j.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||j.resolveWith(b,[x]))}}),x.ready.then=j.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",q),r.addEventListener("load",q));var W=function e(t,n,r,o,i,a,s){var c=0,l=t.length,u=null==r;if("object"===w(r))for(c in i=!0,r)e(t,n,c,r[c],!0,a,s);else if(void 0!==o&&(i=!0,v(o)||(s=!0),u&&(s?(n.call(t,o),n=null):(u=n,n=function(e,t,n){return u.call(x(e),n)})),n))for(;c<l;c++)n(t[c],r,s?o:o.call(t[c],c,n(t[c],r)));return i?t:u?n.call(t):l?n(t[0],r):a},G=/^-ms-/,K=/-([a-z])/g;function Y(e,t){return t.toUpperCase()}function Q(e){return e.replace(G,"ms-").replace(K,Y)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function J(){this.expando=x.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"===typeof t)o[Q(t)]=n;else for(r in t)o[Q(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Q(t)]},access:function(e,t,n){return void 0===t||t&&"string"===typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Q):(t=Q(t))in r?[t]:t.match(B)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||x.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var $=new J,Z=new J,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"===typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(o){}Z.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return Z.hasData(e)||$.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return $.access(e,t,n)},_removeData:function(e,t){$.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Z.get(i),1===i.nodeType&&!$.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=Q(r.slice(5)),ne(i,r,o[r]));$.set(i,"hasDataAttrs",!0)}return o}return"object"===typeof e?this.each((function(){Z.set(this,e)})):W(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=Z.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){Z.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=$.get(e,t),n&&(!r||Array.isArray(n)?r=$.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=x.queue(e,t=t||"fx"),r=n.length,o=n.shift(),i=x._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){x.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return $.get(e,n)||$.access(e,n,{empty:x.Callbacks("once memory").add((function(){$.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each((function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){x.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=x.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!==typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=$.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return x.contains(e.ownerDocument,e)},ce={composed:!0};ae.getRootNode&&(se=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===x.css(e,"display")};function ue(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return x.css(e,t,"")},c=s(),l=n&&n[3]||(x.cssNumber[t]?"":"px"),u=e.nodeType&&(x.cssNumber[t]||"px"!==l&&+c)&&oe.exec(x.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;a--;)x.style(e,t,u+l),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),u/=i;x.style(e,t,(u*=2)+l),n=n||[]}return n&&(u=+u||+c||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=o)),o}var de={};function pe(e){var t,n=e.ownerDocument,r=e.nodeName,o=de[r];return o||(t=n.body.appendChild(n.createElement(r)),o=x.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),de[r]=o,o)}function he(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=$.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&le(r)&&(o[i]=pe(r))):"none"!==n&&(o[i]="none",$.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}x.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each((function(){le(this)?x(this).show():x(this).hide()}))}});var fe=/^(?:checkbox|radio)$/i,me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=b.createDocumentFragment().appendChild(b.createElement("div")),t=b.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),g.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="<option></option>",g.option=!!e.lastChild}();var ve={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?x.merge([e],n):n}function be(e,t){for(var n=0,r=e.length;n<r;n++)$.set(e[n],"globalEval",!t||$.get(t[n],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,g.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var _e=/<|&#?\w+;/;function Ce(e,t,n,r,o){for(var i,a,s,c,l,u,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((i=e[h])||0===i)if("object"===w(i))x.merge(p,i.nodeType?[i]:i);else if(_e.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(me.exec(i)||["",""])[1].toLowerCase(),c=ve[s]||ve._default,a.innerHTML=c[1]+x.htmlPrefilter(i)+c[2],u=c[0];u--;)a=a.lastChild;x.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(i));for(d.textContent="",h=0;i=p[h++];)if(r&&x.inArray(i,r)>-1)o&&o.push(i);else if(l=se(i),a=ye(d.appendChild(i),"script"),l&&be(a),n)for(u=0;i=a[u++];)ge.test(i.type||"")&&n.push(i);return d}var we=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function xe(){return!1}function Se(e,t){return e===function(){try{return b.activeElement}catch(e){}}()===("focus"===t)}function ke(e,t,n,r,o,i){var a,s;if("object"===typeof t){for(s in"string"!==typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"===typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=xe;else if(!o)return e;return 1===i&&(a=o,o=function(e){return x().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=x.guid++)),e.each((function(){x.event.add(this,t,o,r,n)}))}function Te(e,t,n){n?($.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=$.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),$.set(this,t,i),r=n(this,t),this[t](),i!==(o=$.get(this,t))||r?$.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&($.set(this,t,{value:x.event.trigger(x.extend(i[0],x.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===$.get(e,t)&&x.event.add(e,t,Ee)}x.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,l,u,d,p,h,f,m,g=$.get(e);if(X(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&x.find.matchesSelector(ae,o),n.guid||(n.guid=x.guid++),(c=g.events)||(c=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(B)||[""]).length;l--;)h=m=(s=we.exec(t[l])||[])[1],f=(s[2]||"").split(".").sort(),h&&(d=x.event.special[h]||{},h=(o?d.delegateType:d.bindType)||h,d=x.event.special[h]||{},u=x.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:f.join(".")},i),(p=c[h])||((p=c[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,f,a)||e.addEventListener&&e.addEventListener(h,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),x.event.global[h]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,l,u,d,p,h,f,m,g=$.hasData(e)&&$.get(e);if(g&&(c=g.events)){for(l=(t=(t||"").match(B)||[""]).length;l--;)if(h=m=(s=we.exec(t[l])||[])[1],f=(s[2]||"").split(".").sort(),h){for(d=x.event.special[h]||{},p=c[h=(r?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)u=p[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(p.splice(i,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||x.removeEvent(e,h,g.handle),delete c[h])}else for(h in c)x.event.remove(e,h+t[l],n,r,!0);x.isEmptyObject(c)&&$.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=x.event.fix(e),l=($.get(this,"events")||Object.create(null))[c.type]||[],u=x.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(a=x.event.handlers.call(this,c,l),t=0;(o=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,i,a,s=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n<c;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?x(o,this).index(l)>-1:x.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,c<t.length&&s.push({elem:l,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return fe.test(t.type)&&t.click&&P(t,"input")&&Te(t,"click",Ee),!1},trigger:function(e){var t=this||e;return fe.test(t.type)&&t.click&&P(t,"input")&&Te(t,"click"),!0},_default:function(e){var t=e.target;return fe.test(t.type)&&t.click&&P(t,"input")&&$.get(t,"click")||P(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},(x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:xe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0}).prototype={constructor:x.Event,isDefaultPrevented:xe,isPropagationStopped:xe,isImmediatePropagationStopped:xe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},(function(e,t){x.event.special[e]={setup:function(){return Te(this,e,Se),!1},trigger:function(){return Te(this,e),!0},_default:function(t){return $.get(t.target,e)},delegateType:t}})),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||x.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),x.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!==typeof t||(n=t,t=void 0),!1===n&&(n=xe),this.each((function(){x.event.remove(this,e,n,t)}))}});var Ie=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function De(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if($.hasData(e)&&(s=$.get(e).events))for(o in $.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)x.event.add(t,o,s[o][n]);Z.hasData(e)&&(i=Z.access(e),a=x.extend({},i),Z.set(t,a))}}function Le(e,t){var n=t.nodeName.toLowerCase();"input"===n&&fe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Oe(e,t,n,r){t=c(t);var o,i,a,s,l,u,d=0,p=e.length,h=p-1,f=t[0],m=v(f);if(m||p>1&&"string"===typeof f&&!g.checkClone&&Ae.test(f))return e.each((function(o){var i=e.eq(o);m&&(t[0]=f.call(this,o,i.html())),Oe(i,t,n,r)}));if(p&&(i=(o=Ce(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=x.map(ye(o,"script"),Re)).length;d<p;d++)l=o,d!==h&&(l=x.clone(l,!0,!0),s&&x.merge(a,ye(l,"script"))),n.call(e[d],l,d);if(s)for(u=a[a.length-1].ownerDocument,x.map(a,Me),d=0;d<s;d++)l=a[d],ge.test(l.type||"")&&!$.access(l,"globalEval")&&x.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?x._evalUrl&&!l.noModule&&x._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):C(l.textContent.replace(Pe,""),l,u))}return e}function Fe(e,t,n){for(var r,o=t?x.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||x.cleanData(ye(r)),r.parentNode&&(n&&se(r)&&be(ye(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),c=se(e);if(!g.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!x.isXMLDoc(e))for(a=ye(s),r=0,o=(i=ye(e)).length;r<o;r++)Le(i[r],a[r]);if(t)if(n)for(i=i||ye(e),a=a||ye(s),r=0,o=i.length;r<o;r++)Ne(i[r],a[r]);else Ne(e,s);return(a=ye(s,"script")).length>0&&be(a,!c&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,o=x.event.special,i=0;void 0!==(n=e[i]);i++)if(X(n)){if(t=n[$.expando]){if(t.events)for(r in t.events)o[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[$.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return W(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Oe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)}))},prepend:function(){return Oe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Oe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Oe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return W(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Ie.test(e)&&!ve[(me.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Oe(this,arguments,(function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(ye(this)),n&&n.replaceChild(t,this))}),e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){x.fn[e]=function(e){for(var n,r=[],o=x(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),x(o[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var Be=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),He=/^--/,ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ue=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Ve=new RegExp(ie.join("|"),"i"),je=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function qe(e,t,n){var r,o,i,a,s=He.test(t),c=e.style;return(n=n||ze(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(je,"$1")||void 0),""!==a||se(e)||(a=x.style(e,t)),!g.pixelBoxStyles()&&Be.test(a)&&Ve.test(t)&&(r=c.width,o=c.minWidth,i=c.maxWidth,c.minWidth=c.maxWidth=c.width=a,a=n.width,c.width=r,c.minWidth=o,c.maxWidth=i)),void 0!==a?a+"":a}function We(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(l).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,c=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ae.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,c,l=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,x.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ge=["Webkit","Moz","ms"],Ke=b.createElement("div").style,Ye={};function Qe(e){var t=x.cssProps[e]||Ye[e];return t||(e in Ke?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;n--;)if((e=Ge[n]+t)in Ke)return e}(e)||e)}var Xe=/^(none|table(?!-c[ea]).+)/,Je={position:"absolute",visibility:"hidden",display:"block"},$e={letterSpacing:"0",fontWeight:"400"};function Ze(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,o,i){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=x.css(e,n+ie[a],!0,o)),r?("content"===n&&(c-=x.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(c-=x.css(e,"border"+ie[a]+"Width",!0,o))):(c+=x.css(e,"padding"+ie[a],!0,o),"padding"!==n?c+=x.css(e,"border"+ie[a]+"Width",!0,o):s+=x.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c}function tt(e,t,n){var r=ze(e),o=(!g.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),i=o,a=qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&P(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===x.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(o?"border":"content"),i,r,a)+"px"}function nt(e,t,n,r,o){return new nt.prototype.init(e,t,n,r,o)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=Q(t),c=He.test(t),l=e.style;if(c||(t=Qe(s)),a=x.cssHooks[t]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ue(e,t,o),i="number"),null!=n&&n===n&&("number"!==i||c||(n+=o&&o[3]||(x.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=Q(t);return He.test(t)||(t=Qe(s)),(a=x.cssHooks[t]||x.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=qe(e,t,r)),"normal"===o&&t in $e&&(o=$e[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!Xe.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):Ue(e,Je,(function(){return tt(e,t,r)}))},set:function(e,n,r){var o,i=ze(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===x.css(e,"boxSizing",!1,i),c=r?et(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-et(e,t,"border",!1,i)-.5)),c&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),Ze(0,n,c)}}})),x.cssHooks.marginLeft=We(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"===typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(x.cssHooks[e+t].set=Ze)})),x.fn.extend({css:function(e,t){return W(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=ze(e),o=t.length;a<o;a++)i[t[a]]=x.css(e,t[a],!1,r);return i}return void 0!==n?x.style(e,t,n):x.css(e,t)}),e,t,arguments.length>1)}}),x.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(x.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},(x.fx=nt.prototype.init).step={};var rt,ot,it=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){ot&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(st):r.setTimeout(st,x.fx.interval),x.fx.tick())}function ct(){return r.setTimeout((function(){rt=void 0})),rt=Date.now()}function lt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ut(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=x.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var t=rt||ct(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,a=l.tweens.length;i<a;i++)l.tweens[i].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),u=l.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=Q(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=x.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,l.opts.specialEasing);i<a;i++)if(r=dt.prefilters[i].call(l,e,u,l.opts))return v(r.stop)&&(x._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return x.map(u,ut,l),v(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),x.fx.timer(x.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}x.Animation=x.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(B);for(var n,r=0,o=e.length;r<o;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,l,u,d="width"in t||"height"in t,p=this,h={},f=e.style,m=e.nodeType&&le(e),g=$.get(e,"fxshow");for(r in n.queue||(null==(a=x._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always((function(){p.always((function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],it.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}h[r]=g&&g[r]||x.style(e,r)}if((c=!x.isEmptyObject(t))||!x.isEmptyObject(h))for(r in d&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(l=g&&g.display)&&(l=$.get(e,"display")),"none"===(u=x.css(e,"display"))&&(l?u=l:(he([e],!0),l=e.style.display||l,u=x.css(e,"display"),he([e]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===x.css(e,"float")&&(c||(p.done((function(){f.display=l})),null==l&&(u=f.display,l="none"===u?"":u)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",p.always((function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}))),c=!1,h)c||(g?"hidden"in g&&(m=g.hidden):g=$.access(e,"fxshow",{display:l}),i&&(g.hidden=!m),m&&he([e],!0),p.done((function(){for(r in m||he([e]),$.remove(e,"fxshow"),h)x.style(e,r,h[r])}))),c=ut(m?g[r]:0,r,p),r in g||(g[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),x.speed=function(e,t,n){var r=e&&"object"===typeof e?x.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return x.fx.off?r.duration=0:"number"!==typeof r.duration&&(r.duration in x.fx.speeds?r.duration=x.fx.speeds[r.duration]:r.duration=x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=x.isEmptyObject(e),i=x.speed(t,n,r),a=function(){var t=dt(this,x.extend({},e),i);(o||$.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!==typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=x.timers,a=$.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&at.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||x.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=$.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),x.each(["toggle","show","hide"],(function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,o){return null==e||"boolean"===typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,o)}})),x.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),rt=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){ot||(ot=!0,st())},x.fx.stop=function(){ot=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(e,t){return e=x.fx&&x.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var pt,ht=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return W(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"===typeof e.getAttribute?x.prop(e,t,n):(1===i&&x.isXMLDoc(e)||(o=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&P(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(B);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||x.find.attr;ht[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ht[a],ht[a]=o,o=null!=n(e,t,r)?a:null,ht[a]=i),o}}));var ft=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(B)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function yt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(B)||[]}x.fn.extend({prop:function(e,t){return W(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&x.isXMLDoc(e)||(t=x.propFix[t]||t,o=x.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){x(this).addClass(e.call(this,t,vt(this)))})):(t=yt(e)).length?this.each((function(){if(r=vt(this),n=1===this.nodeType&&" "+gt(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=gt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){x(this).removeClass(e.call(this,t,vt(this)))})):arguments.length?(t=yt(e)).length?this.each((function(){if(r=vt(this),n=1===this.nodeType&&" "+gt(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=gt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each((function(n){x(this).toggleClass(e.call(this,n,vt(this),t),t)})):"boolean"===typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=yt(e),this.each((function(){if(s)for(i=x(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=vt(this))&&$.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":$.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;x.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,x(this).val()):e)?o="":"number"===typeof o?o+="":Array.isArray(o)&&(o=x.map(o,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"===typeof(n=o.value)?n.replace(bt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:gt(x.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!P(n.parentNode,"optgroup"))){if(t=x(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=x.makeArray(t),a=o.length;a--;)((r=o[a]).selected=x.inArray(x.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},g.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var _t=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,n,o){var i,a,s,c,l,u,d,p,f=[n||b],m=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(a=p=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!_t.test(m+x.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[x.expando]?e:new x.Event(m,"object"===typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:x.makeArray(t,[e]),d=x.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!y(n)){for(c=d.delegateType||m,_t.test(c+m)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(n.ownerDocument||b)&&f.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)p=a,e.type=i>1?c:d.bindType||m,(u=($.get(a,"events")||Object.create(null))[e.type]&&$.get(a,"handle"))&&u.apply(a,t),(u=l&&a[l])&&u.apply&&X(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!X(n)||l&&v(n[m])&&!y(n)&&((s=n[l])&&(n[l]=null),x.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Ct),n[m](),e.isPropagationStopped()&&p.removeEventListener(m,Ct),x.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),g.focusin||x.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=$.access(r,t);o||r.addEventListener(e,n,!0),$.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=$.access(r,t)-1;o?$.access(r,t,o):(r.removeEventListener(e,n,!0),$.remove(r,t))}}}));var wt=r.location,Et={guid:Date.now()},xt=/\?/;x.parseXML=function(e){var t,n;if(!e||"string"!==typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(o){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||x.error("Invalid XML: "+(n?x.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var St=/\[\]$/,kt=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var o;if(Array.isArray(t))x.each(t,(function(t,o){n||St.test(e)?r(e,o):At(e+"["+("object"===typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(o in t)At(e+"["+o+"]",t[o],n,r)}x.param=function(e,t){var n,r=[],o=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){o(this.name,this.value)}));else for(n in e)At(n,e[n],t,o);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&It.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!fe.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(e){return{name:t.name,value:e.replace(kt,"\r\n")}})):{name:t.name,value:n.replace(kt,"\r\n")}})).get()}});var Pt=/%20/g,Dt=/#.*$/,Rt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,Lt=/^\/\//,Ot={},Ft={},Bt="*/".concat("*"),Ht=b.createElement("a");function zt(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(B)||[];if(v(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ut(e,t,n,r){var o={},i=e===Ft;function a(s){var c;return o[s]=!0,x.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!==typeof l||i||o[l]?i?!(c=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Vt(e,t){var n,r,o=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Ht.href=wt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,x.ajaxSettings),t):Vt(x.ajaxSettings,e)},ajaxPrefilter:zt(Ot),ajaxTransport:zt(Ft),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0);var n,o,i,a,s,c,l,u,d,p,h=x.ajaxSetup({},t=t||{}),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?x(f):x.event,g=x.Deferred(),v=x.Callbacks("once memory"),y=h.statusCode||{},_={},C={},w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Mt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(e,t){return null==l&&(e=C[e.toLowerCase()]=C[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)E.always(e[E.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),S(0,t),this}};if(g.promise(E),h.url=((e||h.url||wt.href)+"").replace(Lt,wt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(B)||[""],null==h.crossDomain){c=b.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ht.protocol+"//"+Ht.host!==c.protocol+"//"+c.host}catch(k){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!==typeof h.data&&(h.data=x.param(h.data,h.traditional)),Ut(Ot,h,t,E),l)return E;for(d in(u=x.event&&h.global)&&0===x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Nt.test(h.type),o=h.url.replace(Dt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Pt,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"===typeof h.data)&&(o+=(xt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Rt,"$1"),p=(xt.test(o)?"&":"?")+"_="+Et.guid+++p),h.url=o+p),h.ifModified&&(x.lastModified[o]&&E.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&E.setRequestHeader("If-None-Match",x.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]),h.headers)E.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,E,h)||l))return E.abort();if(w="abort",v.add(h.complete),E.done(h.success),E.fail(h.error),n=Ut(Ft,h,t,E)){if(E.readyState=1,u&&m.trigger("ajaxSend",[E,h]),l)return E;h.async&&h.timeout>0&&(s=r.setTimeout((function(){E.abort("timeout")}),h.timeout));try{l=!1,n.send(_,S)}catch(k){if(l)throw k;S(-1,k)}}else S(-1,"No Transport");function S(e,t,a,c){var d,p,b,_,C,w=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",E.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(h,E,a)),!d&&x.inArray("script",h.dataTypes)>-1&&x.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),_=function(e,t,n,r){var o,i,a,s,c,l={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=u.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=l[c+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(k){return{state:"parsererror",error:a?k:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(h,_,E,d),d?(h.ifModified&&((C=E.getResponseHeader("Last-Modified"))&&(x.lastModified[o]=C),(C=E.getResponseHeader("etag"))&&(x.etag[o]=C)),204===e||"HEAD"===h.type?w="nocontent":304===e?w="notmodified":(w=_.state,p=_.data,d=!(b=_.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),E.status=e,E.statusText=(t||w)+"",d?g.resolveWith(f,[p,w,E]):g.rejectWith(f,[E,w,b]),E.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[E,h,d?p:b]),v.fireWith(f,[E,w]),u&&(m.trigger("ajaxComplete",[E,h]),--x.active||x.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,r,o){return v(n)&&(o=o||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:o,data:n,success:r},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var jt={0:200,1223:204},qt=x.ajaxSettings.xhr();g.cors=!!qt&&"withCredentials"in qt,g.ajax=qt=!!qt,x.ajaxTransport((function(e){var t,n;if(g.cors||qt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!==typeof s.status?i(0,"error"):i(s.status,s.statusText):i(jt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!==typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(c){if(t)throw c}},abort:function(){t&&t()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=x("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Wt=[],Gt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||x.expando+"_"+Et.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+o):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||x.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?x(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(o)),a&&v(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=function(){var e=b.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),x.parseHTML=function(e,t,n){return"string"!==typeof e?[]:("boolean"===typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=D.exec(e))?[t.createElement(o[1])]:(o=Ce([e],t,i),i&&i.length&&x(i).remove(),x.merge([],o.childNodes)));var r,o,i},x.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"===typeof t&&(o="POST"),a.length>0&&x.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,(function(t){return e===t.elem})).length},x.offset={setOffset:function(e,t,n){var r,o,i,a,s,c,l=x.css(e,"position"),u=x(e),d={};"static"===l&&(e.style.position="relative"),s=u.offset(),i=x.css(e,"top"),c=x.css(e,"left"),("absolute"===l||"fixed"===l)&&(i+c).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),v(t)&&(t=t.call(e,n,x.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){x.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===x.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),o.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-x.css(r,"marginTop",!0),left:t.left-o.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||ae}))}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;x.fn[e]=function(r){return W(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),x.each(["top","left"],(function(e,t){x.cssHooks[t]=We(g.pixelPosition,(function(e,n){if(n)return n=qe(e,t),Be.test(n)?x(e).position()[t]+"px":n}))})),x.each({Height:"height",Width:"width"},(function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){x.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!==typeof o),s=n||(!0===o||!0===i?"margin":"border");return W(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?x.css(t,n,s):x.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){x.fn[t]=function(e){return this.on(t,e)}})),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Kt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var n,r,o;if("string"===typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||x.guid++,o},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=P,x.isFunction=v,x.isWindow=y,x.camelCase=Q,x.type=w,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Kt,"$1")},void 0===(n=function(){return x}.apply(t,[]))||(e.exports=n);var Yt=r.jQuery,Qt=r.$;return x.noConflict=function(e){return r.$===x&&(r.$=Qt),e&&r.jQuery===x&&(r.jQuery=Yt),x},"undefined"===typeof o&&(r.jQuery=r.$=x),x}))},67153:function(e,t,n){var r=n(41270)("jsonp");e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={});t||(t={});var a,s,c=t.prefix||"__jp",l=t.name||c+o++,u=t.param||"callback",d=null!=t.timeout?t.timeout:6e4,p=encodeURIComponent,h=document.getElementsByTagName("script")[0]||document.head;d&&(s=setTimeout((function(){f(),n&&n(new Error("Timeout"))}),d));function f(){a.parentNode&&a.parentNode.removeChild(a),window[l]=i,s&&clearTimeout(s)}return window[l]=function(e){r("jsonp got",e),f(),n&&n(null,e)},e=(e+=(~e.indexOf("?")?"&":"?")+u+"="+p(l)).replace("?&","?"),r('jsonp req "%s"',e),(a=document.createElement("script")).src=e,h.parentNode.insertBefore(a,h),function(){window[l]&&f()}};var o=0;function i(){}},73107:function(e,t,n){var r=n(29519)(n(95498),"DataView");e.exports=r},63210:function(e,t,n){var r=n(43793),o=n(30044),i=n(25427),a=n(82720),s=n(1249);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},31864:function(e,t,n){var r=n(53910),o=n(39515),i=n(62267),a=n(69008),s=n(85035);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},8553:function(e,t,n){var r=n(29519)(n(95498),"Map");e.exports=r},99365:function(e,t,n){var r=n(29789),o=n(12052),i=n(47940),a=n(36467),s=n(75188);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},12445:function(e,t,n){var r=n(29519)(n(95498),"Promise");e.exports=r},35889:function(e,t,n){var r=n(29519)(n(95498),"Set");e.exports=r},81294:function(e,t,n){var r=n(99365),o=n(37162),i=n(44456);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},69155:function(e,t,n){var r=n(31864),o=n(66960),i=n(4265),a=n(42468),s=n(58866),c=n(92822);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,e.exports=l},25435:function(e,t,n){var r=n(95498).Symbol;e.exports=r},16343:function(e,t,n){var r=n(95498).Uint8Array;e.exports=r},51963:function(e,t,n){var r=n(29519)(n(95498),"WeakMap");e.exports=r},38047:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},30774:function(e,t,n){var r=n(20191),o=n(32824),i=n(49756),a=n(25377),s=n(90790),c=n(29239),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),p=!n&&!u&&!d&&c(e),h=n||u||d||p,f=h?r(e.length,String):[],m=f.length;for(var g in e)!t&&!l.call(e,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||f.push(g);return f}},64013:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},13964:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},44402:function(e,t,n){var r=n(6170);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},53937:function(e,t,n){var r=n(64013),o=n(7530);e.exports=function e(t,n,i,a,s){var c=-1,l=t.length;for(i||(i=o),s||(s=[]);++c<l;){var u=t[c];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},14151:function(e,t,n){var r=n(64013),o=n(49756);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},41602:function(e,t,n){var r=n(25435),o=n(34745),i=n(24363),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},89801:function(e,t,n){var r=n(41602),o=n(57126);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},48247:function(e,t,n){var r=n(54329),o=n(57126);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,s))}},54329:function(e,t,n){var r=n(69155),o=n(2951),i=n(89691),a=n(14037),s=n(28342),c=n(49756),l=n(25377),u=n(29239),d="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=c(e),b=c(t),_=y?p:s(e),C=b?p:s(t),w=(_=_==d?h:_)==h,E=(C=C==d?h:C)==h,x=_==C;if(x&&l(e)){if(!l(t))return!1;y=!0,w=!1}if(x&&!w)return v||(v=new r),y||u(e)?o(e,t,n,m,g,v):i(e,t,_,n,m,g,v);if(!(1&n)){var S=w&&f.call(e,"__wrapped__"),k=E&&f.call(t,"__wrapped__");if(S||k){var T=S?e.value():e,I=k?t.value():t;return v||(v=new r),g(T,I,n,m,v)}}return!!x&&(v||(v=new r),a(e,t,n,m,g,v))}},18273:function(e,t,n){var r=n(48776),o=n(38758),i=n(74274),a=n(36512),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},1967:function(e,t,n){var r=n(41602),o=n(88465),i=n(57126),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},43746:function(e,t,n){var r=n(91121),o=n(92633),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},20191:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},77559:function(e,t,n){var r=n(42710),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},25098:function(e){e.exports=function(e){return function(t){return e(t)}}},82195:function(e){e.exports=function(e,t){return e.has(t)}},60078:function(e,t,n){var r=n(95498)["__core-js_shared__"];e.exports=r},2951:function(e,t,n){var r=n(81294),o=n(13964),i=n(82195);e.exports=function(e,t,n,a,s,c){var l=1&n,u=e.length,d=t.length;if(u!=d&&!(l&&d>u))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var f=-1,m=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++f<u;){var v=e[f],y=t[f];if(a)var b=l?a(y,v,f,t,e,c):a(v,y,f,e,t,c);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,c)))return g.push(t)}))){m=!1;break}}else if(v!==y&&!s(v,y,n,a,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},89691:function(e,t,n){var r=n(25435),o=n(16343),i=n(6170),a=n(2951),s=n(2107),c=n(22761),l=r?r.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var f=1&r;if(h||(h=c),e.size!=t.size&&!f)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(h(e),h(t),r,l,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},14037:function(e,t,n){var r=n(30337),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var c=1&n,l=r(e),u=l.length;if(u!=r(t).length&&!c)return!1;for(var d=u;d--;){var p=l[d];if(!(c?p in t:o.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=c;++d<u;){var v=e[p=l[d]],y=t[p];if(i)var b=c?i(y,v,p,t,e,s):i(v,y,p,e,t,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var _=e.constructor,C=t.constructor;_==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof C&&C instanceof C||(m=!1)}return s.delete(e),s.delete(t),m}},41363:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},30337:function(e,t,n){var r=n(14151),o=n(86578),i=n(53675);e.exports=function(e){return r(e,i,o)}},38690:function(e,t,n){var r=n(55136);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},29519:function(e,t,n){var r=n(18273),o=n(14959);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},34745:function(e,t,n){var r=n(25435),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},86578:function(e,t,n){var r=n(38047),o=n(47759),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},28342:function(e,t,n){var r=n(73107),o=n(8553),i=n(12445),a=n(35889),s=n(51963),c=n(41602),l=n(36512),u="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",m=l(r),g=l(o),v=l(i),y=l(a),b=l(s),_=c;(r&&_(new r(new ArrayBuffer(1)))!=f||o&&_(new o)!=u||i&&_(i.resolve())!=d||a&&_(new a)!=p||s&&_(new s)!=h)&&(_=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return f;case g:return u;case v:return d;case y:return p;case b:return h}return t}),e.exports=_},14959:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},43793:function(e,t,n){var r=n(90811);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},30044:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},25427:function(e,t,n){var r=n(90811),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},82720:function(e,t,n){var r=n(90811),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},1249:function(e,t,n){var r=n(90811);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},7530:function(e,t,n){var r=n(25435),o=n(32824),i=n(49756),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},90790:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},55136:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},38758:function(e,t,n){var r=n(60078),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},91121:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},53910:function(e){e.exports=function(){this.__data__=[],this.size=0}},39515:function(e,t,n){var r=n(44402),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},62267:function(e,t,n){var r=n(44402);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},69008:function(e,t,n){var r=n(44402);e.exports=function(e){return r(this.__data__,e)>-1}},85035:function(e,t,n){var r=n(44402);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},29789:function(e,t,n){var r=n(63210),o=n(31864),i=n(8553);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},12052:function(e,t,n){var r=n(38690);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},47940:function(e,t,n){var r=n(38690);e.exports=function(e){return r(this,e).get(e)}},36467:function(e,t,n){var r=n(38690);e.exports=function(e){return r(this,e).has(e)}},75188:function(e,t,n){var r=n(38690);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},2107:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},90811:function(e,t,n){var r=n(29519)(Object,"create");e.exports=r},92633:function(e,t,n){var r=n(14102)(Object.keys,Object);e.exports=r},31495:function(e,t,n){e=n.nmd(e);var r=n(41363),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},24363:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},14102:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},95498:function(e,t,n){var r=n(41363),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},37162:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},44456:function(e){e.exports=function(e){return this.__data__.has(e)}},22761:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},66960:function(e,t,n){var r=n(31864);e.exports=function(){this.__data__=new r,this.size=0}},4265:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},42468:function(e){e.exports=function(e){return this.__data__.get(e)}},58866:function(e){e.exports=function(e){return this.__data__.has(e)}},92822:function(e,t,n){var r=n(31864),o=n(8553),i=n(99365);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},36512:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},42710:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},6170:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},43260:function(e,t,n){var r=n(53937);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},32824:function(e,t,n){var r=n(89801),o=n(57126),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},49756:function(e){var t=Array.isArray;e.exports=t},66274:function(e,t,n){var r=n(48776),o=n(88465);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},25377:function(e,t,n){e=n.nmd(e);var r=n(95498),o=n(98364),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},76032:function(e,t,n){var r=n(43746),o=n(28342),i=n(32824),a=n(49756),s=n(66274),c=n(25377),l=n(91121),u=n(29239),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||u(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},15888:function(e,t,n){var r=n(48247);e.exports=function(e,t){return r(e,t)}},48776:function(e,t,n){var r=n(41602),o=n(74274);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41009:function(e,t,n){var r=n(34596);e.exports=function(e){return"number"==typeof e&&e==r(e)}},88465:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},74274:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},57126:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},96502:function(e,t,n){var r=n(41009),o=9007199254740991;e.exports=function(e){return r(e)&&e>=-9007199254740991&&e<=o}},5100:function(e,t,n){var r=n(41602),o=n(57126);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},29239:function(e,t,n){var r=n(1967),o=n(25098),i=n(31495),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},53675:function(e,t,n){var r=n(30774),o=n(43746),i=n(66274);e.exports=function(e){return i(e)?r(e):o(e)}},47759:function(e){e.exports=function(){return[]}},98364:function(e){e.exports=function(){return!1}},91465:function(e,t,n){var r=n(24378),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},34596:function(e,t,n){var r=n(91465);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},24378:function(e,t,n){var r=n(77559),o=n(74274),i=n(5100),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},39997:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var n,r,o=e.length;for(n=0;n<o;n+=1)for(var i in r=e[n].prototype)Object.prototype.hasOwnProperty.call(r,i)&&(t.prototype[i]=r[i])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,n=this.audios.length;for(t=0;t<n;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var n,r=0,o=[];switch(e){case"int16":case"uint8c":n=1;break;default:n=1.1}for(r=0;r<t;r+=1)o.push(n);return o}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?function(t,n){return"float32"===t?new Float32Array(n):"int16"===t?new Int16Array(n):"uint8c"===t?new Uint8ClampedArray(n):e(t,n)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=t.length;for(e=0;e<n;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,n=createSizedArray(e.length),r=e.length;for(t=0;t<r;t+=1)n[t]=Math.abs(e[t]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,n,r){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,r){this.type=e,this.currentLoop=n,this.totalLoops=t,this.direction=r<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=function(){var e=0;return function(){return idPrefix$1+"__lottie_element_"+(e+=1)}}();function HSVtoRGB(e,t,n){var r,o,i,a,s,c,l,u;switch(c=n*(1-t),l=n*(1-(s=6*e-(a=Math.floor(6*e)))*t),u=n*(1-(1-s)*t),a%6){case 0:r=n,o=u,i=c;break;case 1:r=l,o=n,i=c;break;case 2:r=c,o=n,i=u;break;case 3:r=c,o=l,i=n;break;case 4:r=u,o=c,i=n;break;case 5:r=n,o=c,i=l}return[r,o,i]}function RGBtoHSV(e,t,n){var r,o=Math.max(e,t,n),i=Math.min(e,t,n),a=o-i,s=0===o?0:a/o,c=o/255;switch(o){case i:r=0;break;case e:r=t-n+a*(t<n?6:0),r/=6*a;break;case t:r=n-e+2*a,r/=6*a;break;case n:r=e-t+4*a,r/=6*a}return[r,s,c]}function addSaturationToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1===t.length?"0"+t:t;return function(e,t,r){return e<0&&(e=0),t<0&&(t=0),r<0&&(r=0),"#"+n[e]+n[t]+n[r]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,n=1,r=[],o={onmessage:function(){},postMessage:function(t){e({data:t})}},i={postMessage:function(e){o.onmessage({data:e})}};function a(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),r=URL.createObjectURL(n);return new Worker(r)}return e=t,o}((function(e){if(i.dataManager||(i.dataManager=function(){function e(o,i){var a,s,c,l,d,p,h=o.length;for(s=0;s<h;s+=1)if("ks"in(a=o[s])&&!a.completed){if(a.completed=!0,a.tt&&(o[s-1].td=a.tt),a.hasMask){var f=a.masksProperties;for(l=f.length,c=0;c<l;c+=1)if(f[c].pt.k.i)r(f[c].pt.k);else for(p=f[c].pt.k.length,d=0;d<p;d+=1)f[c].pt.k[d].s&&r(f[c].pt.k[d].s[0]),f[c].pt.k[d].e&&r(f[c].pt.k[d].e[0])}0===a.ty?(a.layers=t(a.refId,i),e(a.layers,i)):4===a.ty?n(a.shapes):5===a.ty&&u(a)}}function t(e,t){var n=function(e,t){for(var n=0,r=t.length;n<r;){if(t[n].id===e)return t[n];n+=1}return null}(e,t);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function n(e){var t,o,i;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)r(e[t].ks.k);else for(i=e[t].ks.k.length,o=0;o<i;o+=1)e[t].ks.k[o].s&&r(e[t].ks.k[o].s[0]),e[t].ks.k[o].e&&r(e[t].ks.k[o].e[0]);else"gr"===e[t].ty&&n(e[t].it)}function r(e){var t,n=e.i.length;for(t=0;t<n;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function o(e,t){var n=t?t.split("."):[100,100,100];return e[0]>n[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&null))}var i=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)5===e[n].ty&&t(e[n])}return function(t){if(o(e,t.v)&&(n(t.layers),t.assets)){var r,i=t.assets.length;for(r=0;r<i;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),a=function(){var e=[4,7,99];return function(t){if(t.chars&&!o(e,t.v)){var r,i=t.chars.length;for(r=0;r<i;r+=1){var a=t.chars[r];a.data&&a.data.shapes&&(n(a.data.shapes),a.data.ip=0,a.data.op=99999,a.data.st=0,a.data.sr=1,a.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[r].t||(a.data.shapes.push({ty:"no"}),a.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),s=function(){var e=[5,7,15];function t(e){var t=e.t.p;"number"===typeof t.a&&(t.a={a:0,k:t.a}),"number"===typeof t.p&&(t.p={a:0,k:t.p}),"number"===typeof t.r&&(t.r={a:0,k:t.r})}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)5===e[n].ty&&t(e[n])}return function(t){if(o(e,t.v)&&(n(t.layers),t.assets)){var r,i=t.assets.length;for(r=0;r<i;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),c=function(){var e=[4,1,9];function t(e){var n,r,o,i=e.length;for(n=0;n<i;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(o=e[n].c.k.length,r=0;r<o;r+=1)e[n].c.k[r].s&&(e[n].c.k[r].s[0]/=255,e[n].c.k[r].s[1]/=255,e[n].c.k[r].s[2]/=255,e[n].c.k[r].s[3]/=255),e[n].c.k[r].e&&(e[n].c.k[r].e[0]/=255,e[n].c.k[r].e[1]/=255,e[n].c.k[r].e[2]/=255,e[n].c.k[r].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}function n(e){var n,r=e.length;for(n=0;n<r;n+=1)4===e[n].ty&&t(e[n].shapes)}return function(t){if(o(e,t.v)&&(n(t.layers),t.assets)){var r,i=t.assets.length;for(r=0;r<i;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}(),l=function(){var e=[4,4,18];function t(e){var n,r,o;for(n=e.length-1;n>=0;n-=1)if("sh"===e[n].ty)if(e[n].ks.k.i)e[n].ks.k.c=e[n].closed;else for(o=e[n].ks.k.length,r=0;r<o;r+=1)e[n].ks.k[r].s&&(e[n].ks.k[r].s[0].c=e[n].closed),e[n].ks.k[r].e&&(e[n].ks.k[r].e[0].c=e[n].closed);else"gr"===e[n].ty&&t(e[n].it)}function n(e){var n,r,o,i,a,s,c=e.length;for(r=0;r<c;r+=1){if((n=e[r]).hasMask){var l=n.masksProperties;for(i=l.length,o=0;o<i;o+=1)if(l[o].pt.k.i)l[o].pt.k.c=l[o].cl;else for(s=l[o].pt.k.length,a=0;a<s;a+=1)l[o].pt.k[a].s&&(l[o].pt.k[a].s[0].c=l[o].cl),l[o].pt.k[a].e&&(l[o].pt.k[a].e[0].c=l[o].cl)}4===n.ty&&t(n.shapes)}}return function(t){if(o(e,t.v)&&(n(t.layers),t.assets)){var r,i=t.assets.length;for(r=0;r<i;r+=1)t.assets[r].layers&&n(t.assets[r].layers)}}}();function u(e){0===e.t.a.length&&e.t.p}var d={completeData:function(n){n.__complete||(c(n),i(n),a(n),s(n),l(n),e(n.layers,n.assets),function(n,r){if(n){var o=0,i=n.length;for(o=0;o<i;o+=1)1===n[o].t&&(n[o].data.layers=t(n[o].data.refId,r),e(n[o].data.layers,r))}}(n.chars,n.assets),n.__complete=!0)}};return d.checkColors=c,d.checkChars=a,d.checkPathProperties=s,d.checkShapes=l,d.completeLayers=e,d}()),i.assetLoader||(i.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"===typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,n,r,o){var i,a=new XMLHttpRequest;try{a.responseType="json"}catch(s){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)i=e(a),r(i);else try{i=e(a),r(i)}catch(s){o&&o(s)}};try{a.open("GET",t,!0)}catch(c){a.open("GET",n+"/"+t,!0)}a.send()}}}()),"loadAnimation"===e.data.type)i.assetLoader.load(e.data.path,e.data.fullPath,(function(t){i.dataManager.completeData(t),i.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){i.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;i.dataManager.completeData(t),i.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&i.assetLoader.load(e.data.path,e.data.fullPath,(function(t){i.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){i.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,n=t.id,o=r[n];r[n]=null,"success"===t.status?o.onComplete(t.payload):o.onError&&o.onError()})}function s(e,t){var o="processId_"+(n+=1);return r[o]={onComplete:e,onError:t},o}return{loadAnimation:function(e,n,r){a();var o=s(n,r);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:o})},loadData:function(e,n,r){a();var o=s(n,r);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:o})},completeAnimation:function(e,n,r){a();var o=s(n,r);t.postMessage({type:"complete",animation:e,id:o})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(e,t,n){var r="";if(e.e)r=e.p;else if(t){var o=e.p;-1!==o.indexOf("images/")&&(o=o.split("/")[1]),r=t+o}else r=n,r+=e.u?e.u:"",r+=e.p;return r}function o(e){var t=0,n=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(n)),t+=1}.bind(this),50)}function i(e){var t={assetData:e},n=r(e,this.assetsPath,this.path);return dataManager.loadData(n,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function a(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=o.bind(this),this.createFootageData=i.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(e,t){var n;this.imagesLoadedCb=t;var r=e.length;for(n=0;n<r;n+=1)e[n].layers||(e[n].t&&"seq"!==e[n].t?3===e[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[n]))):(this.totalImages+=1,this.images.push(this._createImageData(e[n]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,n=this.images.length;t<n;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var n=r(t,this.assetsPath,this.path),o=createTag("img");o.crossOrigin="anonymous",o.addEventListener("load",this._imageLoaded,!1),o.addEventListener("error",function(){i.img=e,this._imageLoaded()}.bind(this),!1),o.src=n;var i={img:o,assetData:t};return i},createImageData:function(t){var n=r(t,this.assetsPath,this.path),o=createNS("image");isSafari?this.testImageLoaded(o):o.addEventListener("load",this._imageLoaded,!1),o.addEventListener("error",function(){i.img=e,this._imageLoaded()}.bind(this),!1),o.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(o):this._elementHelper.appendChild(o);var i={img:o,assetData:t};return i},imageLoaded:t,footageLoaded:n,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var n=this._cbs[e],r=0;r<n.length;r+=1)n[r](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var n=0,r=this._cbs[e].length;n<r;)this._cbs[e][n]===t&&(this._cbs[e].splice(n,1),n-=1,r-=1),n+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,n=e.split("\r\n"),r={},o=0,i=0;i<n.length;i+=1)2===(t=n[i].split(":")).length&&(r[t[0]]=t[1].trim(),o+=1);if(0===o)throw new Error;return r}return function(t){for(var n=[],r=0;r<t.length;r+=1){var o=t[r],i={time:o.tm,duration:o.dr};try{i.payload=JSON.parse(t[r].cm)}catch(a){try{i.payload=e(t[r].cm)}catch(s){i.payload={name:t[r].cm}}}n.push(i)}return n}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,n=this.compositions.length;t<n;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function _typeof$4(e){return _typeof$4="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var n=getRenderer(t);this.renderer=new n(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var n={wrapper:e,animationData:t},r=e.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:"canvas";var o=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";"false"===o?n.loop=!1:"true"===o?n.loop=!0:""!==o&&(n.loop=parseInt(o,10));var i=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;n.autoplay="false"!==i,n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),this.setParams(n)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,n,r=this.animationData.layers,o=r.length,i=e.layers,a=i.length;for(n=0;n<a;n+=1)for(t=0;t<o;){if(r[t].id===i[n].id){r[t]=i[n];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(o=e.assets.length,t=0;t<o;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,n=0;n<this.markers.length;n+=1)if((t=this.markers[n]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,n){if(!n||this.name===n){var r=Number(e);if(isNaN(r)){var o=this.getMarkerData(e);o&&this.goToAndStop(o.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,n){if(!n||this.name===n){var r=Number(e);if(isNaN(r)){var o=this.getMarkerData(e);o&&(o.duration?this.playSegments([o.time,o.time+o.duration],!0):this.goToAndStop(o.time,!0))}else this.goToAndStop(r,t,n);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,n=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(n=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),n&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var n,r=e.length;for(n=0;n<r;n+=1)this.segments.push(e[n])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var n=e.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,n){try{this.renderer.getElementByPath(e).updateDocumentData(t,n)}catch(r){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],n=0,r=0,o=0,i=!0,a=!1;function s(e){for(var n=0,o=e.target;n<r;)t[n].animation===o&&(t.splice(n,1),n-=1,r-=1,o.isPaused||u()),n+=1}function c(e,n){if(!e)return null;for(var o=0;o<r;){if(t[o].elem===e&&null!==t[o].elem)return t[o].animation;o+=1}var i=new AnimationItem;return d(i,e),i.setData(e,n),i}function l(){o+=1,f()}function u(){o-=1}function d(e,n){e.addEventListener("destroy",s),e.addEventListener("_active",l),e.addEventListener("_idle",u),t.push({elem:n,animation:e}),r+=1}function p(e){var s,c=e-n;for(s=0;s<r;s+=1)t[s].animation.advanceTime(c);n=e,o&&!a?window.requestAnimationFrame(p):i=!0}function h(e){n=e,window.requestAnimationFrame(p)}function f(){!a&&o&&i&&(window.requestAnimationFrame(h),i=!1)}return e.registerAnimation=c,e.loadAnimation=function(e){var t=new AnimationItem;return d(t,null),t.setParams(e),t},e.setSpeed=function(e,n){var o;for(o=0;o<r;o+=1)t[o].animation.setSpeed(e,n)},e.setDirection=function(e,n){var o;for(o=0;o<r;o+=1)t[o].animation.setDirection(e,n)},e.play=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.play(e)},e.pause=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.pause(e)},e.stop=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.stop(e)},e.togglePause=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.togglePause(e)},e.searchAnimations=function(e,t,n){var r,o=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),i=o.length;for(r=0;r<i;r+=1)n&&o[r].setAttribute("data-bm-type",n),c(o[r],e);if(t&&0===i){n||(n="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",n),a.appendChild(s),c(s,e)}},e.resize=function(){var e;for(e=0;e<r;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,n,o){var i;for(i=0;i<r;i+=1)t[i].animation.goToAndStop(e,n,o)},e.destroy=function(e){var n;for(n=r-1;n>=0;n-=1)t[n].animation.destroy(e)},e.freeze=function(){a=!0},e.unfreeze=function(){a=!1,f()},e.setVolume=function(e,n){var o;for(o=0;o<r;o+=1)t[o].animation.setVolume(e,n)},e.mute=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.mute(e)},e.unmute=function(e){var n;for(n=0;n<r;n+=1)t[n].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,n=t.length,r=[];for(e=0;e<n;e+=1)r.push(t[e].animation);return r},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,n,r,o,i){var a=i||("bez_"+e+"_"+n+"_"+r+"_"+o).replace(/\./g,"p");if(t[a])return t[a];var s=new l([e,n,r,o]);return t[a]=s,s}},t={},n=.1,r="function"===typeof Float32Array;function o(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function a(e){return 3*e}function s(e,t,n){return((o(t,n)*e+i(t,n))*e+a(t))*e}function c(e,t,n){return 3*o(t,n)*e*e+2*i(t,n)*e+a(t)}function l(e){this._p=e,this._mSampleValues=r?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return l.prototype={get:function(e){var t=this._p[0],n=this._p[1],r=this._p[2],o=this._p[3];return this._precomputed||this._precompute(),t===n&&r===o?e:0===e?0:1===e?1:s(this._getTForX(e),n,o)},_precompute:function(){var e=this._p[0],t=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,e===t&&n===r||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],r=0;r<11;++r)this._mSampleValues[r]=s(r*n,e,t)},_getTForX:function(e){for(var t=this._p[0],r=this._p[2],o=this._mSampleValues,i=0,a=1;10!==a&&o[a]<=e;++a)i+=n;var l=i+(e-o[--a])/(o[a+1]-o[a])*n,u=c(l,t,r);return u>=.001?function(e,t,n,r){for(var o=0;o<4;++o){var i=c(t,n,r);if(0===i)return t;t-=(s(t,n,r)-e)/i}return t}(e,l,t,r):0===u?l:function(e,t,n,r,o){var i,a,c=0;do{(i=s(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a}while(Math.abs(i)>1e-7&&++c<10);return a}(e,i,i+n,t,r)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,n){var r=0,o=e,i=createSizedArray(o);return{newElement:function(){return r?i[r-=1]:t()},release:function(e){r===o&&(i=pooling.double(i),o*=2),n&&n(e),i[r]=e,r+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,n=e.lengths.length;for(t=0;t<n;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,n,r,o,i){var a=e*r+t*o+n*i-o*r-i*e-n*t;return a>-.001&&a<.001}var n=function(e,t,n,r){var o,i,a,s,c,l,u=getDefaultCurveSegments(),d=0,p=[],h=[],f=bezierLengthPool.newElement();for(a=n.length,o=0;o<u;o+=1){for(c=o/(u-1),l=0,i=0;i<a;i+=1)s=bmPow(1-c,3)*e[i]+3*bmPow(1-c,2)*c*n[i]+3*(1-c)*bmPow(c,2)*r[i]+bmPow(c,3)*t[i],p[i]=s,null!==h[i]&&(l+=bmPow(p[i]-h[i],2)),h[i]=p[i];l&&(d+=l=bmSqrt(l)),f.percents[o]=c,f.lengths[o]=d}return f.addedLength=d,f};function r(e){this.segmentLength=0,this.points=new Array(e)}function o(e,t){this.partialLength=e,this.point=t}var i=function(){var e={};return function(n,i,a,s){var c=(n[0]+"_"+n[1]+"_"+i[0]+"_"+i[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!e[c]){var l,u,d,p,h,f,m,g=getDefaultCurveSegments(),v=0,y=null;2===n.length&&(n[0]!==i[0]||n[1]!==i[1])&&t(n[0],n[1],i[0],i[1],n[0]+a[0],n[1]+a[1])&&t(n[0],n[1],i[0],i[1],i[0]+s[0],i[1]+s[1])&&(g=2);var b=new r(g);for(d=a.length,l=0;l<g;l+=1){for(m=createSizedArray(d),h=l/(g-1),f=0,u=0;u<d;u+=1)p=bmPow(1-h,3)*n[u]+3*bmPow(1-h,2)*h*(n[u]+a[u])+3*(1-h)*bmPow(h,2)*(i[u]+s[u])+bmPow(h,3)*i[u],m[u]=p,null!==y&&(f+=bmPow(m[u]-y[u],2));v+=f=bmSqrt(f),b.points[l]=new o(f,m),y=m}b.segmentLength=v,e[c]=b}return e[c]}}();function a(e,t){var n=t.percents,r=t.lengths,o=n.length,i=bmFloor((o-1)*e),a=e*t.addedLength,s=0;if(i===o-1||0===i||a===r[i])return n[i];for(var c=r[i]>a?-1:1,l=!0;l;)if(r[i]<=a&&r[i+1]>a?(s=(a-r[i])/(r[i+1]-r[i]),l=!1):i+=c,i<0||i>=o-1){if(i===o-1)return n[i];l=!1}return n[i]+(n[i+1]-n[i])*s}var s=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,r=segmentsLengthPool.newElement(),o=e.c,i=e.v,a=e.o,s=e.i,c=e._length,l=r.lengths,u=0;for(t=0;t<c-1;t+=1)l[t]=n(i[t],i[t+1],a[t],s[t+1]),u+=l[t].addedLength;return o&&c&&(l[t]=n(i[t],i[0],a[t],s[0]),u+=l[t].addedLength),r.totalLength=u,r},getNewSegment:function(t,n,r,o,i,c,l){i<0?i=0:i>1&&(i=1);var u,d=a(i,l),p=a(c=c>1?1:c,l),h=t.length,f=1-d,m=1-p,g=f*f*f,v=d*f*f*3,y=d*d*f*3,b=d*d*d,_=f*f*m,C=d*f*m+f*d*m+f*f*p,w=d*d*m+f*d*p+d*f*p,E=d*d*p,x=f*m*m,S=d*m*m+f*p*m+f*m*p,k=d*p*m+f*p*p+d*m*p,T=d*p*p,I=m*m*m,A=p*m*m+m*p*m+m*m*p,P=p*p*m+m*p*p+p*m*p,D=p*p*p;for(u=0;u<h;u+=1)s[4*u]=e.round(1e3*(g*t[u]+v*r[u]+y*o[u]+b*n[u]))/1e3,s[4*u+1]=e.round(1e3*(_*t[u]+C*r[u]+w*o[u]+E*n[u]))/1e3,s[4*u+2]=e.round(1e3*(x*t[u]+S*r[u]+k*o[u]+T*n[u]))/1e3,s[4*u+3]=e.round(1e3*(I*t[u]+A*r[u]+P*o[u]+D*n[u]))/1e3;return s},getPointInSegment:function(t,n,r,o,i,s){var c=a(i,s),l=1-c;return[e.round(1e3*(l*l*l*t[0]+(c*l*l+l*c*l+l*l*c)*r[0]+(c*c*l+l*c*c+c*l*c)*o[0]+c*c*c*n[0]))/1e3,e.round(1e3*(l*l*l*t[1]+(c*l*l+l*c*l+l*l*c)*r[1]+(c*c*l+l*c*c+c*l*c)*o[1]+c*c*c*n[1]))/1e3]},buildBezierData:i,pointOnLine2D:t,pointOnLine3D:function(n,r,o,i,a,s,c,l,u){if(0===o&&0===s&&0===u)return t(n,r,i,a,c,l);var d,p=e.sqrt(e.pow(i-n,2)+e.pow(a-r,2)+e.pow(s-o,2)),h=e.sqrt(e.pow(c-n,2)+e.pow(l-r,2)+e.pow(u-o,2)),f=e.sqrt(e.pow(c-i,2)+e.pow(l-a,2)+e.pow(u-s,2));return(d=p>h?p>f?p-h-f:f-h-p:f>h?f-h-p:h-p-f)>-1e-4&&d<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function n(e,t){var n,o=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var i,a,s,c,l,u,d,p,h,f=t.lastIndex,m=f,g=this.keyframes.length-1,v=!0;v;){if(i=this.keyframes[m],a=this.keyframes[m+1],m===g-1&&e>=a.t-o){i.h&&(i=a),f=0;break}if(a.t-o>e){f=m;break}m<g-1?m+=1:(f=0,v=!1)}s=this.keyframesMetadata[m]||{};var y,b=a.t-o,_=i.t-o;if(i.to){s.bezierData||(s.bezierData=bez.buildBezierData(i.s,a.s||i.e,i.to,i.ti));var C=s.bezierData;if(e>=b||e<_){var w=e>=b?C.points.length-1:0;for(l=C.points[w].point.length,c=0;c<l;c+=1)n[c]=C.points[w].point[c]}else{s.__fnct?h=s.__fnct:(h=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,s.__fnct=h),u=h((e-_)/(b-_));var E,x=C.segmentLength*u,S=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastAddedLength:0;for(p=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastPoint:0,v=!0,d=C.points.length;v;){if(S+=C.points[p].partialLength,0===x||0===u||p===C.points.length-1){for(l=C.points[p].point.length,c=0;c<l;c+=1)n[c]=C.points[p].point[c];break}if(x>=S&&x<S+C.points[p+1].partialLength){for(E=(x-S)/C.points[p+1].partialLength,l=C.points[p].point.length,c=0;c<l;c+=1)n[c]=C.points[p].point[c]+(C.points[p+1].point[c]-C.points[p].point[c])*E;break}p<d-1?p+=1:v=!1}t._lastPoint=p,t._lastAddedLength=S-C.points[p].partialLength,t._lastKeyframeIndex=m}}else{var k,T,I,A,P;if(g=i.s.length,y=a.s||i.e,this.sh&&1!==i.h)e>=b?(n[0]=y[0],n[1]=y[1],n[2]=y[2]):e<=_?(n[0]=i.s[0],n[1]=i.s[1],n[2]=i.s[2]):function(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=Math.atan2(2*r*i-2*n*o,1-2*r*r-2*o*o),s=Math.asin(2*n*r+2*o*i),c=Math.atan2(2*n*i-2*r*o,1-2*n*n-2*o*o);e[0]=a/degToRads,e[1]=s/degToRads,e[2]=c/degToRads}(n,function(e,t,n){var r,o,i,a,s,c=[],l=e[0],u=e[1],d=e[2],p=e[3],h=t[0],f=t[1],m=t[2],g=t[3];return(o=l*h+u*f+d*m+p*g)<0&&(o=-o,h=-h,f=-f,m=-m,g=-g),1-o>1e-6?(r=Math.acos(o),i=Math.sin(r),a=Math.sin((1-n)*r)/i,s=Math.sin(n*r)/i):(a=1-n,s=n),c[0]=a*l+s*h,c[1]=a*u+s*f,c[2]=a*d+s*m,c[3]=a*p+s*g,c}(r(i.s),r(y),(e-_)/(b-_)));else for(m=0;m<g;m+=1)1!==i.h&&(e>=b?u=1:e<_?u=0:(i.o.x.constructor===Array?(s.__fnct||(s.__fnct=[]),s.__fnct[m]?h=s.__fnct[m]:(k=void 0===i.o.x[m]?i.o.x[0]:i.o.x[m],T=void 0===i.o.y[m]?i.o.y[0]:i.o.y[m],I=void 0===i.i.x[m]?i.i.x[0]:i.i.x[m],A=void 0===i.i.y[m]?i.i.y[0]:i.i.y[m],h=BezierFactory.getBezierEasing(k,T,I,A).get,s.__fnct[m]=h)):s.__fnct?h=s.__fnct:(k=i.o.x,T=i.o.y,I=i.i.x,A=i.i.y,h=BezierFactory.getBezierEasing(k,T,I,A).get,i.keyframeMetadata=h),u=h((e-_)/(b-_)))),y=a.s||i.e,P=1===i.h?i.s[m]:i.s[m]+(y[m]-i.s[m])*u,"multidimensional"===this.propType?n[m]=P:n=P}return t.lastIndex=f,n}function r(e){var t=e[0]*degToRads,n=e[1]*degToRads,r=e[2]*degToRads,o=Math.cos(t/2),i=Math.cos(n/2),a=Math.cos(r/2),s=Math.sin(t/2),c=Math.sin(n/2),l=Math.sin(r/2);return[s*c*a+o*i*l,s*i*a+o*c*l,o*c*a-s*i*l,o*i*a-s*c*l]}function o(){var t=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame<n&&t<n))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var o=this.interpolateValue(t,this._caching);this.pv=o}return this._caching.lastFrame=t,this.pv}function i(e){var n;if("unidimensional"===this.propType)n=e*this.mult,t(this.v-n)>1e-5&&(this.v=n,this._mdf=!0);else for(var r=0,o=this.v.length;r<o;)n=e[r]*this.mult,t(this.v[r]-n)>1e-5&&(this.v[r]=n,this._mdf=!0),r+=1}function a(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)n=this.effectsSequence[e](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function s(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function c(e,t,n,r){this.propType="unidimensional",this.mult=n||1,this.data=t,this.v=n?t.k*n:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=a,this.setVValue=i,this.addEffect=s}function l(e,t,n,r){var o;this.propType="multidimensional",this.mult=n||1,this.data=t,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var c=t.k.length;for(this.v=createTypedArray("float32",c),this.pv=createTypedArray("float32",c),this.vel=createTypedArray("float32",c),o=0;o<c;o+=1)this.v[o]=t.k[o]*this.mult,this.pv[o]=t.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=a,this.setVValue=i,this.addEffect=s}function u(t,r,c,l){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=c||1,this.elem=t,this.container=l,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=a,this.setVValue=i,this.interpolateValue=n,this.effectsSequence=[o.bind(this)],this.addEffect=s}function d(t,r,c,l){var u;this.propType="multidimensional";var d,p,h,f,m=r.k.length;for(u=0;u<m-1;u+=1)r.k[u].to&&r.k[u].s&&r.k[u+1]&&r.k[u+1].s&&(d=r.k[u].s,p=r.k[u+1].s,h=r.k[u].to,f=r.k[u].ti,(2===d.length&&(d[0]!==p[0]||d[1]!==p[1])&&bez.pointOnLine2D(d[0],d[1],p[0],p[1],d[0]+h[0],d[1]+h[1])&&bez.pointOnLine2D(d[0],d[1],p[0],p[1],p[0]+f[0],p[1]+f[1])||3===d.length&&(d[0]!==p[0]||d[1]!==p[1]||d[2]!==p[2])&&bez.pointOnLine3D(d[0],d[1],d[2],p[0],p[1],p[2],d[0]+h[0],d[1]+h[1],d[2]+h[2])&&bez.pointOnLine3D(d[0],d[1],d[2],p[0],p[1],p[2],p[0]+f[0],p[1]+f[1],p[2]+f[2]))&&(r.k[u].to=null,r.k[u].ti=null),d[0]===p[0]&&d[1]===p[1]&&0===h[0]&&0===h[1]&&0===f[0]&&0===f[1]&&(2===d.length||d[2]===p[2]&&0===h[2]&&0===f[2])&&(r.k[u].to=null,r.k[u].ti=null));this.effectsSequence=[o.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=c||1,this.elem=t,this.container=l,this.comp=t.comp,this.getValue=a,this.setVValue=i,this.interpolateValue=n,this.frameId=-1;var g=r.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),u=0;u<g;u+=1)this.v[u]=e,this.pv[u]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=s}return{getProp:function(e,t,n,r,o){var i;if(t.k.length)if("number"===typeof t.k[0])i=new l(e,t,r,o);else switch(n){case 0:i=new u(e,t,r,o);break;case 1:i=new d(e,t,r,o)}else i=new c(e,t,r,o);return i.effectsSequence.length&&o.addDynamicProperty(i),i}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var n=0;n<t;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,n,r,o){var i;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":i=this.v;break;case"i":i=this.i;break;case"o":i=this.o;break;default:i=[]}(!i[r]||i[r]&&!o)&&(i[r]=pointPool.newElement()),i[r][0]=e,i[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,r,o,i,a,s){this.setXYAt(e,t,"v",a,s),this.setXYAt(n,r,"o",a,s),this.setXYAt(o,i,"i",a,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,r=this.i,o=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),o=1);var i,a=this._length-1,s=this._length;for(i=o;i<s;i+=1)e.setTripleAt(t[a][0],t[a][1],r[a][0],r[a][1],n[a][0],n[a][1],i,!1),a-=1;return e};var shapePool=function(){var e=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,n=e._length;for(t=0;t<n;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1}));return e.clone=function(t){var n,r=e.newElement(),o=void 0===t._length?t.v.length:t._length;for(r.setLength(o),r.c=t.c,n=0;n<o;n+=1)r.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],n);return r},e}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:function(){return t?r[t-=1]:new ShapeCollection},release:function(e){var o,i=e._length;for(o=0;o<i;o+=1)shapePool.release(e.shapes[o]);e._length=0,t===n&&(r=pooling.double(r),n*=2),r[t]=e,t+=1}},t=0,n=4,r=createSizedArray(n);return e}(),ShapePropertyFactory=function(){var e=-999999;function t(e,t,n){var r,o,i,a,s,c,l,u,d,p=n.lastIndex,h=this.keyframes;if(e<h[0].t-this.offsetTime)r=h[0].s[0],i=!0,p=0;else if(e>=h[h.length-1].t-this.offsetTime)r=h[h.length-1].s?h[h.length-1].s[0]:h[h.length-2].e[0],i=!0;else{for(var f,m,g,v=p,y=h.length-1,b=!0;b&&(f=h[v],!((m=h[v+1]).t-this.offsetTime>e));)v<y-1?v+=1:b=!1;if(g=this.keyframesMetadata[v]||{},p=v,!(i=1===f.h)){if(e>=m.t-this.offsetTime)u=1;else if(e<f.t-this.offsetTime)u=0;else{var _;g.__fnct?_=g.__fnct:(_=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,g.__fnct=_),u=_((e-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}o=m.s?m.s[0]:f.e[0]}r=f.s[0]}for(c=t._length,l=r.i[0].length,n.lastIndex=p,a=0;a<c;a+=1)for(s=0;s<l;s+=1)d=i?r.i[a][s]:r.i[a][s]+(o.i[a][s]-r.i[a][s])*u,t.i[a][s]=d,d=i?r.o[a][s]:r.o[a][s]+(o.o[a][s]-r.o[a][s])*u,t.o[a][s]=d,d=i?r.v[a][s]:r.v[a][s]+(o.v[a][s]-r.v[a][s])*u,t.v[a][s]=d}function n(){var t=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,o=this._caching.lastFrame;return o!==e&&(o<n&&t<n||o>r&&t>r)||(this._caching.lastIndex=o<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function r(){this.paths=this.localShapeCollection}function o(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var n,r=e._length;for(n=0;n<r;n+=1)if(e.v[n][0]!==t.v[n][0]||e.v[n][1]!==t.v[n][1]||e.o[n][0]!==t.o[n][0]||e.o[n][1]!==t.o[n][1]||e.i[n][0]!==t.i[n][0]||e.i[n][1]!==t.i[n][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function i(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(t=0;t<n;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(e,t,n){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var o=3===n?t.pt.k:t.ks.k;this.v=shapePool.clone(o),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function s(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function c(t,o,i){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===i?o.pt.k:o.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=r,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[n.bind(this)]}a.prototype.interpolateShape=t,a.prototype.getValue=i,a.prototype.setVValue=o,a.prototype.addEffect=s,c.prototype.getValue=i,c.prototype.interpolateShape=t,c.prototype.setVValue=o,c.prototype.addEffect=s;var l=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],n=this.p.v[1],r=this.s.v[0]/2,o=this.s.v[1]/2,i=3!==this.d,a=this.v;a.v[0][0]=t,a.v[0][1]=n-o,a.v[1][0]=i?t+r:t-r,a.v[1][1]=n,a.v[2][0]=t,a.v[2][1]=n+o,a.v[3][0]=i?t-r:t+r,a.v[3][1]=n,a.i[0][0]=i?t-r*e:t+r*e,a.i[0][1]=n-o,a.i[1][0]=i?t+r:t-r,a.i[1][1]=n-o*e,a.i[2][0]=i?t+r*e:t-r*e,a.i[2][1]=n+o,a.i[3][0]=i?t-r:t+r,a.i[3][1]=n+o*e,a.o[0][0]=i?t+r*e:t-r*e,a.o[0][1]=n-o,a.o[1][0]=i?t+r:t-r,a.o[1][1]=n+o*e,a.o[2][0]=i?t-r*e:t+r*e,a.o[2][1]=n+o,a.o[3][0]=i?t-r:t+r,a.o[3][1]=n-o*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,n,r,o=2*Math.floor(this.pt.v),i=2*Math.PI/o,a=!0,s=this.or.v,c=this.ir.v,l=this.os.v,u=this.is.v,d=2*Math.PI*s/(2*o),p=2*Math.PI*c/(2*o),h=-Math.PI/2;h+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<o;e+=1){n=a?l:u,r=a?d:p;var m=(t=a?s:c)*Math.cos(h),g=t*Math.sin(h),v=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),y=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-v*r*n*f,g-y*r*n*f,m+v*r*n*f,g+y*r*n*f,e,!0),a=!a,h+=i*f}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),n=2*Math.PI/t,r=this.or.v,o=this.os.v,i=2*Math.PI*r/(4*t),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var c=r*Math.cos(a),l=r*Math.sin(a),u=0===c&&0===l?0:l/Math.sqrt(c*c+l*l),d=0===c&&0===l?0:-c/Math.sqrt(c*c+l*l);c+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(c,l,c-u*i*o*s,l-d*i*o*s,c+u*i*o*s,l+d*i*o*s,e,!0),a+=n*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),d=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,o=bmMin(n,r,this.r.v),i=o*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+n,t-r+o,e+n,t-r+o,e+n,t-r+i,0,!0),this.v.setTripleAt(e+n,t+r-o,e+n,t+r-i,e+n,t+r-o,1,!0),0!==o?(this.v.setTripleAt(e+n-o,t+r,e+n-o,t+r,e+n-i,t+r,2,!0),this.v.setTripleAt(e-n+o,t+r,e-n+i,t+r,e-n+o,t+r,3,!0),this.v.setTripleAt(e-n,t+r-o,e-n,t+r-o,e-n,t+r-i,4,!0),this.v.setTripleAt(e-n,t-r+o,e-n,t-r+i,e-n,t-r+o,5,!0),this.v.setTripleAt(e-n+o,t-r,e-n+o,t-r,e-n+i,t-r,6,!0),this.v.setTripleAt(e+n-o,t-r,e+n-i,t-r,e+n-o,t-r,7,!0)):(this.v.setTripleAt(e-n,t+r,e-n+i,t+r,e-n,t+r,2),this.v.setTripleAt(e-n,t-r,e-n,t-r+i,e-n,t-r,3))):(this.v.setTripleAt(e+n,t-r+o,e+n,t-r+i,e+n,t-r+o,0,!0),0!==o?(this.v.setTripleAt(e+n-o,t-r,e+n-o,t-r,e+n-i,t-r,1,!0),this.v.setTripleAt(e-n+o,t-r,e-n+i,t-r,e-n+o,t-r,2,!0),this.v.setTripleAt(e-n,t-r+o,e-n,t-r+o,e-n,t-r+i,3,!0),this.v.setTripleAt(e-n,t+r-o,e-n,t+r-i,e-n,t+r-o,4,!0),this.v.setTripleAt(e-n+o,t+r,e-n+o,t+r,e-n+i,t+r,5,!0),this.v.setTripleAt(e+n-o,t+r,e+n-i,t+r,e+n-o,t+r,6,!0),this.v.setTripleAt(e+n,t+r-o,e+n,t+r-o,e+n,t+r-i,7,!0)):(this.v.setTripleAt(e-n,t-r,e-n+i,t-r,e-n,t-r,1,!0),this.v.setTripleAt(e-n,t+r,e-n,t+r-i,e-n,t+r,2,!0),this.v.setTripleAt(e+n,t+r,e+n-i,t+r,e+n,t+r,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],e),e}(),p={getShapeProp:function(e,t,n){var r;return 3===n||4===n?r=(3===n?t.pt:t.ks).k.length?new c(e,t,n):new a(e,t,n):5===n?r=new d(e,t):6===n?r=new l(e,t):7===n&&(r=new u(e,t)),r.k&&e.addDynamicProperty(r),r},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return c}};return p}(),Matrix=function(){var e=Math.cos,t=Math.sin,n=Math.tan,r=Math.round;function o(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function i(n){if(0===n)return this;var r=e(n),o=t(n);return this._t(r,-o,0,0,o,r,0,0,0,0,1,0,0,0,0,1)}function a(n){if(0===n)return this;var r=e(n),o=t(n);return this._t(1,0,0,0,0,r,-o,0,0,o,r,0,0,0,0,1)}function s(n){if(0===n)return this;var r=e(n),o=t(n);return this._t(r,0,o,0,0,1,0,0,-o,0,r,0,0,0,0,1)}function c(n){if(0===n)return this;var r=e(n),o=t(n);return this._t(r,-o,0,0,o,r,0,0,0,0,1,0,0,0,0,1)}function l(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(n(e),n(t))}function d(r,o){var i=e(o),a=t(o);return this._t(i,a,0,0,-a,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(r),1,0,0,0,0,1,0,0,0,0,1)._t(i,-a,0,0,a,i,0,0,0,0,1,0,0,0,0,1)}function p(e,t,n){return n||0===n||(n=1),1===e&&1===t&&1===n?this:this._t(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1)}function h(e,t,n,r,o,i,a,s,c,l,u,d,p,h,f,m){return this.props[0]=e,this.props[1]=t,this.props[2]=n,this.props[3]=r,this.props[4]=o,this.props[5]=i,this.props[6]=a,this.props[7]=s,this.props[8]=c,this.props[9]=l,this.props[10]=u,this.props[11]=d,this.props[12]=p,this.props[13]=h,this.props[14]=f,this.props[15]=m,this}function f(e,t,n){return n=n||0,0!==e||0!==t||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1):this}function m(e,t,n,r,o,i,a,s,c,l,u,d,p,h,f,m){var g=this.props;if(1===e&&0===t&&0===n&&0===r&&0===o&&1===i&&0===a&&0===s&&0===c&&0===l&&1===u&&0===d)return g[12]=g[12]*e+g[15]*p,g[13]=g[13]*i+g[15]*h,g[14]=g[14]*u+g[15]*f,g[15]*=m,this._identityCalculated=!1,this;var v=g[0],y=g[1],b=g[2],_=g[3],C=g[4],w=g[5],E=g[6],x=g[7],S=g[8],k=g[9],T=g[10],I=g[11],A=g[12],P=g[13],D=g[14],R=g[15];return g[0]=v*e+y*o+b*c+_*p,g[1]=v*t+y*i+b*l+_*h,g[2]=v*n+y*a+b*u+_*f,g[3]=v*r+y*s+b*d+_*m,g[4]=C*e+w*o+E*c+x*p,g[5]=C*t+w*i+E*l+x*h,g[6]=C*n+w*a+E*u+x*f,g[7]=C*r+w*s+E*d+x*m,g[8]=S*e+k*o+T*c+I*p,g[9]=S*t+k*i+T*l+I*h,g[10]=S*n+k*a+T*u+I*f,g[11]=S*r+k*s+T*d+I*m,g[12]=A*e+P*o+D*c+R*p,g[13]=A*t+P*i+D*l+R*h,g[14]=A*n+P*a+D*u+R*f,g[15]=A*r+P*s+D*d+R*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function y(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function b(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function _(e,t,n){return{x:e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}}function C(e,t,n){return e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12]}function w(e,t,n){return e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13]}function E(e,t,n){return e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}function x(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,n=-this.props[1]/e,r=-this.props[4]/e,o=this.props[0]/e,i=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,s=new Matrix;return s.props[0]=t,s.props[1]=n,s.props[4]=r,s.props[5]=o,s.props[12]=i,s.props[13]=a,s}function S(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function k(e){var t,n=e.length,r=[];for(t=0;t<n;t+=1)r[t]=S(e[t]);return r}function T(e,t,n){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=e[0],r[1]=e[1],r[2]=t[0],r[3]=t[1],r[4]=n[0],r[5]=n[1];else{var o=this.props[0],i=this.props[1],a=this.props[4],s=this.props[5],c=this.props[12],l=this.props[13];r[0]=e[0]*o+e[1]*a+c,r[1]=e[0]*i+e[1]*s+l,r[2]=t[0]*o+t[1]*a+c,r[3]=t[0]*i+t[1]*s+l,r[4]=n[0]*o+n[1]*a+c,r[5]=n[0]*i+n[1]*s+l}return r}function I(e,t,n){return this.isIdentity()?[e,t,n]:[e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]]}function A(e,t){if(this.isIdentity())return e+","+t;var n=this.props;return Math.round(100*(e*n[0]+t*n[4]+n[12]))/100+","+Math.round(100*(e*n[1]+t*n[5]+n[13]))/100}function P(){for(var e=0,t=this.props,n="matrix3d(";e<16;)n+=r(1e4*t[e])/1e4,n+=15===e?")":",",e+=1;return n}function D(e){return e<1e-6&&e>0||e>-1e-6&&e<0?r(1e4*e)/1e4:e}function R(){var e=this.props;return"matrix("+D(e[0])+","+D(e[1])+","+D(e[4])+","+D(e[5])+","+D(e[12])+","+D(e[13])+")"}return function(){this.reset=o,this.rotate=i,this.rotateX=a,this.rotateY=s,this.rotateZ=c,this.skew=u,this.skewFromAxis=d,this.shear=l,this.scale=p,this.setTransform=h,this.translate=f,this.transform=m,this.applyToPoint=_,this.applyToX=C,this.applyToY=w,this.applyToZ=E,this.applyToPointArray=I,this.applyToTriplePoints=T,this.applyToPointStringified=A,this.toCSS=P,this.to2dCSS=R,this.clone=y,this.cloneFromProps=b,this.equals=v,this.inversePoints=k,this.inversePoint=S,this.getInverseMatrix=x,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"===typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n<t.length;n+=1){var r=t[n].split("=");if(decodeURIComponent(r[0])==e)return decodeURIComponent(r[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.9.6";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(err){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,n){t[e]||(t[e]=n)},e.getModifier=function(e,n,r){return new t[e](n,r)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,n,r,o){var i=[];t<=1?i.push({s:e,e:t}):e>=1?i.push({s:e-1,e:t-1}):(i.push({s:e,e:1}),i.push({s:0,e:t-1}));var a,s,c=[],l=i.length;for(a=0;a<l;a+=1){var u,d;(s=i[a]).e*o<r||s.s*o>r+n||(u=s.s*o<=r?0:(s.s*o-r)/n,d=s.e*o>=r+n?1:(s.e*o-r)/n,c.push([u,d]))}return c.length||c.push([0,0]),c},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t<n;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,n,r,o;if(this._mdf||e){var i=this.o.v%360/360;if(i<0&&(i+=1),(t=this.s.v>1?1+i:this.s.v<0?0+i:this.s.v+i)>(n=this.e.v>1?1+i:this.e.v<0?0+i:this.e.v+i)){var a=t;t=n,n=a}t=1e-4*Math.round(1e4*t),n=1e-4*Math.round(1e4*n),this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var s,c,l,u,d,p=this.shapes.length,h=0;if(n===t)for(o=0;o<p;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(1===n&&0===t||0===n&&1===t){if(this._mdf)for(o=0;o<p;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var f,m,g=[];for(o=0;o<p;o+=1)if((f=this.shapes[o]).shape._mdf||this._mdf||e||2===this.m){if(c=(r=f.shape.paths)._length,d=0,!f.shape._mdf&&f.pathsData.length)d=f.totalShapeLength;else{for(l=this.releasePathsData(f.pathsData),s=0;s<c;s+=1)u=bez.getSegmentsLength(r.shapes[s]),l.push(u),d+=u.totalLength;f.totalShapeLength=d,f.pathsData=l}h+=d,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var v,y=t,b=n,_=0;for(o=p-1;o>=0;o-=1)if((f=this.shapes[o]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&p>1?(v=this.calculateShapeEdges(t,n,f.totalShapeLength,_,h),_+=f.totalShapeLength):v=[[y,b]],c=v.length,s=0;s<c;s+=1){y=v[s][0],b=v[s][1],g.length=0,b<=1?g.push({s:f.totalShapeLength*y,e:f.totalShapeLength*b}):y>=1?g.push({s:f.totalShapeLength*(y-1),e:f.totalShapeLength*(b-1)}):(g.push({s:f.totalShapeLength*y,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(b-1)}));var C=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var w=C.pop();this.addPaths(C,m),C=this.addShapes(f,g[1],w)}else this.addPaths(C,m),C=this.addShapes(f,g[1]);this.addPaths(C,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t.addShape(e[n])},TrimModifier.prototype.addSegment=function(e,t,n,r,o,i,a){o.setXYAt(t[0],t[1],"o",i),o.setXYAt(n[0],n[1],"i",i+1),a&&o.setXYAt(e[0],e[1],"v",i),o.setXYAt(r[0],r[1],"v",i+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,n,r){t.setXYAt(e[1],e[5],"o",n),t.setXYAt(e[2],e[6],"i",n+1),r&&t.setXYAt(e[0],e[4],"v",n),t.setXYAt(e[3],e[7],"v",n+1)},TrimModifier.prototype.addShapes=function(e,t,n){var r,o,i,a,s,c,l,u,d=e.pathsData,p=e.shape.paths.shapes,h=e.shape.paths._length,f=0,m=[],g=!0;for(n?(s=n._length,u=n._length):(n=shapePool.newElement(),s=0,u=0),m.push(n),r=0;r<h;r+=1){for(c=d[r].lengths,n.c=p[r].c,i=p[r].c?c.length:c.length+1,o=1;o<i;o+=1)if(f+(a=c[o-1]).addedLength<t.s)f+=a.addedLength,n.c=!1;else{if(f>t.e){n.c=!1;break}t.s<=f&&t.e>=f+a.addedLength?(this.addSegment(p[r].v[o-1],p[r].o[o-1],p[r].i[o],p[r].v[o],n,s,g),g=!1):(l=bez.getNewSegment(p[r].v[o-1],p[r].v[o],p[r].o[o-1],p[r].i[o],(t.s-f)/a.addedLength,(t.e-f)/a.addedLength,c[o-1]),this.addSegmentFromArray(l,n,s,g),g=!1,n.c=!1),f+=a.addedLength,s+=1}if(p[r].c&&c.length){if(a=c[o-1],f<=t.e){var v=c[o-1].addedLength;t.s<=f&&t.e>=f+v?(this.addSegment(p[r].v[o-1],p[r].o[o-1],p[r].i[0],p[r].v[0],n,s,g),g=!1):(l=bez.getNewSegment(p[r].v[o-1],p[r].v[0],p[r].o[o-1],p[r].i[0],(t.s-f)/v,(t.e-f)/v,c[o-1]),this.addSegmentFromArray(l,n,s,g),g=!1,n.c=!1)}else n.c=!1;f+=a.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[u][0],n.v[u][1],"i",u),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),f>t.e)break;r<h-1&&(n=shapePool.newElement(),g=!0,m.push(n),s=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var n=t/100,r=[0,0],o=e._length,i=0;for(i=0;i<o;i+=1)r[0]+=e.v[i][0],r[1]+=e.v[i][1];r[0]/=o,r[1]/=o;var a,s,c,l,u,d,p=shapePool.newElement();for(p.c=e.c,i=0;i<o;i+=1)a=e.v[i][0]+(r[0]-e.v[i][0])*n,s=e.v[i][1]+(r[1]-e.v[i][1])*n,c=e.o[i][0]+(r[0]-e.o[i][0])*-n,l=e.o[i][1]+(r[1]-e.o[i][1])*-n,u=e.i[i][0]+(r[0]-e.i[i][0])*-n,d=e.i[i][1]+(r[1]-e.i[i][1])*-n,p.setTripleAt(a,s,c,l,u,d,i);return p},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,n,r,o,i,a,s=this.shapes.length,c=this.amount.v;if(0!==c)for(n=0;n<s;n+=1){if(a=(i=this.shapes[n]).localShapeCollection,i.shape._mdf||this._mdf||e)for(a.releaseShapes(),i.shape._mdf=!0,t=i.shape.paths.shapes,o=i.shape.paths._length,r=0;r<o;r+=1)a.addShape(this.processPath(t[r],c));i.shape.paths=i.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,n){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var r,o=t.or.k.length;for(r=0;r<o;r+=1)t.or.k[r].to=null,t.or.k[r].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var n;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var r,o;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),o=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),o=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(r=this.p.pv,o=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],o=[];var i=this.px,a=this.py;i._caching.lastFrame+i.offsetTime<=i.keyframes[0].t?(r[0]=i.getValueAtTime((i.keyframes[0].t+.01)/n,0),r[1]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),o[0]=i.getValueAtTime(i.keyframes[0].t/n,0),o[1]=a.getValueAtTime(a.keyframes[0].t/n,0)):i._caching.lastFrame+i.offsetTime>=i.keyframes[i.keyframes.length-1].t?(r[0]=i.getValueAtTime(i.keyframes[i.keyframes.length-1].t/n,0),r[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),o[0]=i.getValueAtTime((i.keyframes[i.keyframes.length-1].t-.01)/n,0),o[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0)):(r=[i.pv,a.pv],o[0]=i.getValueAtTime((i._caching.lastFrame+i.offsetTime-.01)/n,i.offsetTime),o[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime))}else r=o=e;this.v.rotate(-Math.atan2(r[1]-o[1],r[0]-o[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,n,r){return new t(e,n,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",r="normal",o=t.length,i=0;i<o;i+=1)switch(t[i].toLowerCase()){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:r,weight:e.fWeight||n}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,n,r,o,i){var a=i?-1:1,s=r.s.v[0]+(1-r.s.v[0])*(1-o),c=r.s.v[1]+(1-r.s.v[1])*(1-o);e.translate(r.p.v[0]*a*o,r.p.v[1]*a*o,r.p.v[2]),t.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),t.rotate(-r.r.v*a*o),t.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(i?1/s:s,i?1/c:c),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(e,t,n,r){for(this.elem=e,this.arr=t,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[n]);n>0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]._render=t,"gr"===e[n].ty&&this.changeGroupRender(e[n].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,n,r,o,i,a=!1;if(this._mdf||e){var s,c=Math.ceil(this.c.v);if(this._groups.length<c){for(;this._groups.length<c;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(i=0,r=0;r<=this._groups.length-1;r+=1){if(s=i<c,this._groups[r]._render=s,this.changeGroupRender(this._groups[r].it,s),!s){var u=this.elemsData[r].it,d=u[u.length-1];0!==d.transform.op.v?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}i+=1}this._currentCopies=c;var p=this.o.v,h=p%1,f=p>0?Math.floor(p):Math.ceil(p),m=this.pMatrix.props,g=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,_=0;if(p>0){for(;_<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,h,!1),_+=h)}else if(p<0){for(;_>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-h,!0),_-=h)}for(r=1===this.data.m?0:this._currentCopies-1,o=1===this.data.m?1:-1,i=this._currentCopies;i;){if(b=(n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==_){for((0!==r&&1===o||r!==this._currentCopies-1&&-1===o)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),y=0;y<b;y+=1)n[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<b;y+=1)n[y]=this.matrix.props[y];_+=1,i-=1,r+=o}}else for(i=this._currentCopies,r=0,o=1;i;)n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,i-=1,r+=o;return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var n,r=shapePool.newElement();r.c=e.c;var o,i,a,s,c,l,u,d,p,h,f,m,g=e._length,v=0;for(n=0;n<g;n+=1)o=e.v[n],a=e.o[n],i=e.i[n],o[0]===a[0]&&o[1]===a[1]&&o[0]===i[0]&&o[1]===i[1]?0!==n&&n!==g-1||e.c?(s=0===n?e.v[g-1]:e.v[n-1],l=(c=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)))?Math.min(c/2,t)/c:0,u=f=o[0]+(s[0]-o[0])*l,d=m=o[1]-(o[1]-s[1])*l,p=u-(u-o[0])*roundCorner,h=d-(d-o[1])*roundCorner,r.setTripleAt(u,d,p,h,f,m,v),v+=1,s=n===g-1?e.v[0]:e.v[n+1],l=(c=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)))?Math.min(c/2,t)/c:0,u=p=o[0]+(s[0]-o[0])*l,d=h=o[1]+(s[1]-o[1])*l,f=u-(u-o[0])*roundCorner,m=d-(d-o[1])*roundCorner,r.setTripleAt(u,d,p,h,f,m,v),v+=1):(r.setTripleAt(o[0],o[1],a[0],a[1],i[0],i[1],v),v+=1):(r.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],v),v+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,n,r,o,i,a,s=this.shapes.length,c=this.rd.v;if(0!==c)for(n=0;n<s;n+=1){if(a=(i=this.shapes[n]).localShapeCollection,i.shape._mdf||this._mdf||e)for(a.releaseShapes(),i.shape._mdf=!0,t=i.shape.paths.shapes,o=i.shape.paths._length,r=0;r<o;r+=1)a.addShape(this.processPath(t[r],c));i.shape.paths=i.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],r=[65039,8205];function o(e,t){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=t;var r=createTag("span");r.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(r),document.body.appendChild(n);var o=r.offsetWidth;return r.style.fontFamily=function(e){var t,n=e.split(","),r=n.length,o=[];for(t=0;t<r;t+=1)"sans-serif"!==n[t]&&"monospace"!==n[t]&&o.push(n[t]);return o.join(",")}(e)+", "+t,{node:r,w:o,parent:n}}function i(e,t){var n,r=document.body&&t?"svg":"canvas",o=getFontProperties(e);if("svg"===r){var i=createNS("text");i.style.fontSize="100px",i.setAttribute("font-family",e.fFamily),i.setAttribute("font-style",o.style),i.setAttribute("font-weight",o.weight),i.textContent="1",e.fClass?(i.style.fontFamily="inherit",i.setAttribute("class",e.fClass)):i.style.fontFamily=e.fFamily,t.appendChild(i),n=i}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=o.style+" "+o.weight+" 100px "+e.fFamily,n=a}return{measureText:function(e){return"svg"===r?(n.textContent=e,n.getComputedTextLength()):n.measureText(e).width}}}var a=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};a.isModifier=function(e,t){var r=e.toString(16)+t.toString(16);return-1!==n.indexOf(r)},a.isZeroWidthJoiner=function(e,t){return t?e===r[0]&&t===r[1]:e===r[1]},a.isCombinedCharacter=function(e){return-1!==t.indexOf(e)};var s={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var n,r,o=e.length,i=this.chars.length;for(t=0;t<o;t+=1){for(n=0,r=!1;n<i;)this.chars[n].style===e[t].style&&this.chars[n].fFamily===e[t].fFamily&&this.chars[n].ch===e[t].ch&&(r=!0),n+=1;r||(this.chars.push(e[t]),i+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=i(e),e.cache={}})),void(this.fonts=e.list);var n,r=e.list,a=r.length,s=a;for(n=0;n<a;n+=1){var c,l,u=!0;if(r[n].loaded=!1,r[n].monoCase=o(r[n].fFamily,"monospace"),r[n].sansCase=o(r[n].fFamily,"sans-serif"),r[n].fPath){if("p"===r[n].fOrigin||3===r[n].origin){if((c=document.querySelectorAll('style[f-forigin="p"][f-family="'+r[n].fFamily+'"], style[f-origin="3"][f-family="'+r[n].fFamily+'"]')).length>0&&(u=!1),u){var d=createTag("style");d.setAttribute("f-forigin",r[n].fOrigin),d.setAttribute("f-origin",r[n].origin),d.setAttribute("f-family",r[n].fFamily),d.type="text/css",d.innerText="@font-face {font-family: "+r[n].fFamily+"; font-style: normal; src: url('"+r[n].fPath+"');}",t.appendChild(d)}}else if("g"===r[n].fOrigin||1===r[n].origin){for(c=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;l<c.length;l+=1)-1!==c[l].href.indexOf(r[n].fPath)&&(u=!1);if(u){var p=createTag("link");p.setAttribute("f-forigin",r[n].fOrigin),p.setAttribute("f-origin",r[n].origin),p.type="text/css",p.rel="stylesheet",p.href=r[n].fPath,document.body.appendChild(p)}}else if("t"===r[n].fOrigin||2===r[n].origin){for(c=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),l=0;l<c.length;l+=1)r[n].fPath===c[l].src&&(u=!1);if(u){var h=createTag("link");h.setAttribute("f-forigin",r[n].fOrigin),h.setAttribute("f-origin",r[n].origin),h.setAttribute("rel","stylesheet"),h.setAttribute("href",r[n].fPath),t.appendChild(h)}}}else r[n].loaded=!0,s-=1;r[n].helper=i(r[n],t),r[n].cache={},this.fonts.push(r[n])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,n,r){for(var o=0,i=this.chars.length;o<i;){if(this.chars[o].ch===t&&this.chars[o].style===n&&this.chars[o].fFamily===r)return this.chars[o];o+=1}return("string"===typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,n,r)),e},getFontByName:function(e){for(var t=0,n=this.fonts.length;t<n;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,n){var r=this.getFontByName(t),o=e.charCodeAt(0);if(!r.cache[o+1]){var i=r.helper;if(" "===e){var a=i.measureText("|"+e+"|"),s=i.measureText("||");r.cache[o+1]=(a-s)/100}else r.cache[o+1]=i.measureText(e)/100}return r.cache[o+1]*n},checkLoadedFonts:function(){var e,t,n,r=this.fonts.length,o=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?o-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,n=this.fonts[e].monoCase.w,t.offsetWidth!==n?(o-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,n=this.fonts[e].sansCase.w,t.offsetWidth!==n&&(o-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==o&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return a.prototype=s,a}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var n,r=createSizedArray(t.viewData.length),o=t.viewData.length;for(n=0;n<o;n+=1)r[n]=new e(t.viewData[n],t.masksProperties[n]);return function(e){for(n=0;n<o;){if(t.masksProperties[n].nm===e)return r[n];n+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function n(e,t,n){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(r){if(!e.numKeys)return 0;var o="";o="s"in t.keyframes[r-1]?t.keyframes[r-1].s:"e"in t.keyframes[r-2]?t.keyframes[r-2].e:t.keyframes[r-2].s;var i="unidimensional"===n?new Number(o):Object.assign({},o);return i.time=t.keyframes[r-1].t/t.elem.comp.globalData.frameRate,i.value="unidimensional"===n?o[0]:o,i},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function r(){return e}return function(o){return o?"unidimensional"===o.propType?function(t){t&&"pv"in t||(t=e);var r=1/t.mult,o=t.pv*r,i=new Number(o);return i.value=o,n(i,t,"unidimensional"),function(){return t.k&&t.getValue(),o=t.v*r,i.value!==o&&((i=new Number(o)).value=o,n(i,t,"unidimensional")),i}}(o):function(e){e&&"pv"in e||(e=t);var r=1/e.mult,o=e.data&&e.data.l||e.pv.length,i=createTypedArray("float32",o),a=createTypedArray("float32",o);return i.value=a,n(i,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<o;t+=1)a[t]=e.v[t]*r,i[t]=a[t];return i}}(o):r}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var n,r,o,i;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?i=ExpressionPropertyInterface(e.p):(n=ExpressionPropertyInterface(e.px),r=ExpressionPropertyInterface(e.py),e.pz&&(o=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?i():[n(),r(),o?o():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,e)}function n(e,t){var n=this.getMatrix(t);return this.applyPoint(n,e)}function r(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,e)}function o(e,t){var n=this.getMatrix(t);return this.invertPoint(n,e)}function i(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function s(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function c(){return[1,1,1,1]}return function(l){var u;function d(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return d.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return d.effect;case"ADBE Text Properties":return d.textInterface;default:return null}}d.getMatrix=e,d.invertPoint=a,d.applyPoint=i,d.toWorld=n,d.toWorldVec=t,d.fromWorld=o,d.fromWorldVec=r,d.toComp=n,d.fromComp=s,d.sampleImage=c,d.sourceRectAtTime=l.sourceRectAtTime.bind(l),d._elem=l;var p=getDescriptor(u=TransformExpressionInterface(l.finalTransform.mProp),"anchorPoint");return Object.defineProperties(d,{hasParent:{get:function(){return l.hierarchy.length}},parent:{get:function(){return l.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:p,anchor_point:p,transform:{get:function(){return u}},active:{get:function(){return l.isInRange}}}),d.startTime=l.data.st,d.index=l.data.ind,d.source=l.data.refId,d.height=0===l.data.ty?l.data.h:100,d.width=0===l.data.ty?l.data.w:100,d.inPoint=l.data.ip/l.comp.globalData.frameRate,d.outPoint=l.data.op/l.comp.globalData.frameRate,d._name=l.data.nm,d.registerMaskInterface=function(e){d.mask=new MaskManagerInterface(e,l)},d.registerEffectsInterface=function(e){d.effect=e},d}}(),propertyGroupFactory=function(e,t){return function(n){return(n=void 0===n?1:n)<=0?e:t(n-1)}},PropertyInterface=function(e,t){var n={_name:e};return function(e){return(e=void 0===e?1:e)<=0?n:t(e-1)}},EffectsExpressionInterface=function(){function e(n,r,o,i){function a(e){for(var t=n.ef,r=0,o=t.length;r<o;){if(e===t[r].nm||e===t[r].mn||e===t[r].ix)return 5===t[r].ty?l[r]:l[r]();r+=1}throw new Error}var s,c=propertyGroupFactory(a,o),l=[],u=n.ef.length;for(s=0;s<u;s+=1)5===n.ef[s].ty?l.push(e(n.ef[s],r.effectElements[s],r.effectElements[s].propertyGroup,i)):l.push(t(r.effectElements[s],n.ef[s].ty,i,c));return"ADBE Color Control"===n.mn&&Object.defineProperty(a,"color",{get:function(){return l[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:c}}),a.enabled=0!==n.en,a.active=a.enabled,a}function t(e,t,n,r){var o=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",r)),function(){return 10===t?n.comp.compInterface(e.p.v):o()}}return{createEffectsInterface:function(t,n){if(t.effectsManager){var r,o=[],i=t.data.ef,a=t.effectsManager.effectElements.length;for(r=0;r<a;r+=1)o.push(e(i[r],t.effectsManager.effectElements[r],n,t));var s=t.data.ef||[],c=function(e){for(r=0,a=s.length;r<a;){if(e===s[r].nm||e===s[r].mn||e===s[r].ix)return o[r];r+=1}return null};return Object.defineProperty(c,"numProperties",{get:function(){return s.length}}),c}return null}}}(),CompExpressionInterface=function(e){function t(t){for(var n=0,r=e.layers.length;n<r;){if(e.layers[n].nm===t||e.layers[n].ind===t)return e.elements[n].layerInterface;n+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},ShapePathInterface=function(e,t,n){var r=t.sh;function o(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?o.path:null}var i=propertyGroupFactory(o,n);return r.setGroupProperty(PropertyInterface("Path",i)),Object.defineProperties(o,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:n}}),o},ShapeExpressionInterface=function(){function e(e,a,p){var h,f=[],m=e?e.length:0;for(h=0;h<m;h+=1)"gr"===e[h].ty?f.push(t(e[h],a[h],p)):"fl"===e[h].ty?f.push(n(e[h],a[h],p)):"st"===e[h].ty?f.push(o(e[h],a[h],p)):"tm"===e[h].ty?f.push(i(e[h],a[h],p)):"tr"===e[h].ty||("el"===e[h].ty?f.push(s(e[h],a[h],p)):"sr"===e[h].ty?f.push(c(e[h],a[h],p)):"sh"===e[h].ty?f.push(ShapePathInterface(e[h],a[h],p)):"rc"===e[h].ty?f.push(l(e[h],a[h],p)):"rd"===e[h].ty?f.push(u(e[h],a[h],p)):"rp"===e[h].ty?f.push(d(e[h],a[h],p)):"gf"===e[h].ty?f.push(r(e[h],a[h],p)):f.push((e[h],a[h],function(){return null})));return f}function t(t,n,r){var o=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return o.content;default:return o.transform}};o.propertyGroup=propertyGroupFactory(o,r);var i=function(t,n,r){var o,i=function(e){for(var t=0,n=o.length;t<n;){if(o[t]._name===e||o[t].mn===e||o[t].propertyIndex===e||o[t].ix===e||o[t].ind===e)return o[t];t+=1}return"number"===typeof e?o[e-1]:null};i.propertyGroup=propertyGroupFactory(i,r),o=e(t.it,n.it,i.propertyGroup),i.numProperties=o.length;var s=a(t.it[t.it.length-1],n.it[n.it.length-1],i.propertyGroup);return i.transform=s,i.propertyIndex=t.cix,i._name=t.nm,i}(t,n,o.propertyGroup),s=a(t.it[t.it.length-1],n.it[n.it.length-1],o.propertyGroup);return o.content=i,o.transform=s,Object.defineProperty(o,"_name",{get:function(){return t.nm}}),o.numProperties=t.np,o.propertyIndex=t.ix,o.nm=t.nm,o.mn=t.mn,o}function n(e,t,n){function r(e){return"Color"===e||"color"===e?r.color:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function r(e,t,n){function r(e){return"Start Point"===e||"start point"===e?r.startPoint:"End Point"===e||"end point"===e?r.endPoint:"Opacity"===e||"opacity"===e?r.opacity:null}return Object.defineProperties(r,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",n)),t.e.setGroupProperty(PropertyInterface("End Point",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),r}function o(e,t,n){var r,o=propertyGroupFactory(l,n),i=propertyGroupFactory(c,o);function a(n){Object.defineProperty(c,e.d[n].nm,{get:ExpressionPropertyInterface(t.d.dataProps[n].p)})}var s=e.d?e.d.length:0,c={};for(r=0;r<s;r+=1)a(r),t.d.dataProps[r].p.setGroupProperty(i);function l(e){return"Color"===e||"color"===e?l.color:"Opacity"===e||"opacity"===e?l.opacity:"Stroke Width"===e||"stroke width"===e?l.strokeWidth:null}return Object.defineProperties(l,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return c}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",o)),t.o.setGroupProperty(PropertyInterface("Opacity",o)),t.w.setGroupProperty(PropertyInterface("Stroke Width",o)),l}function i(e,t,n){function r(t){return t===e.e.ix||"End"===t||"end"===t?r.end:t===e.s.ix?r.start:t===e.o.ix?r.offset:null}var o=propertyGroupFactory(r,n);return r.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",o)),t.e.setGroupProperty(PropertyInterface("End",o)),t.o.setGroupProperty(PropertyInterface("Offset",o)),r.propertyIndex=e.ix,r.propertyGroup=n,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),r.mn=e.mn,r}function a(e,t,n){function r(t){return e.a.ix===t||"Anchor Point"===t?r.anchorPoint:e.o.ix===t||"Opacity"===t?r.opacity:e.p.ix===t||"Position"===t?r.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?r.rotation:e.s.ix===t||"Scale"===t?r.scale:e.sk&&e.sk.ix===t||"Skew"===t?r.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?r.skewAxis:null}var o=propertyGroupFactory(r,n);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",o)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",o)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",o)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",o)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",o)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",o)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",o))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",o)),Object.defineProperties(r,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),r.ty="tr",r.mn=e.mn,r.propertyGroup=n,r}function s(e,t,n){function r(t){return e.p.ix===t?r.position:e.s.ix===t?r.size:null}var o=propertyGroupFactory(r,n);r.propertyIndex=e.ix;var i="tm"===t.sh.ty?t.sh.prop:t.sh;return i.s.setGroupProperty(PropertyInterface("Size",o)),i.p.setGroupProperty(PropertyInterface("Position",o)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(i.s)},position:{get:ExpressionPropertyInterface(i.p)},_name:{value:e.nm}}),r.mn=e.mn,r}function c(e,t,n){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.rotation:e.pt.ix===t?r.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?r.outerRadius:e.os.ix===t?r.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?r.innerRoundness:null:r.innerRadius}var o=propertyGroupFactory(r,n),i="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,i.or.setGroupProperty(PropertyInterface("Outer Radius",o)),i.os.setGroupProperty(PropertyInterface("Outer Roundness",o)),i.pt.setGroupProperty(PropertyInterface("Points",o)),i.p.setGroupProperty(PropertyInterface("Position",o)),i.r.setGroupProperty(PropertyInterface("Rotation",o)),e.ir&&(i.ir.setGroupProperty(PropertyInterface("Inner Radius",o)),i.is.setGroupProperty(PropertyInterface("Inner Roundness",o))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(i.p)},rotation:{get:ExpressionPropertyInterface(i.r)},points:{get:ExpressionPropertyInterface(i.pt)},outerRadius:{get:ExpressionPropertyInterface(i.or)},outerRoundness:{get:ExpressionPropertyInterface(i.os)},innerRadius:{get:ExpressionPropertyInterface(i.ir)},innerRoundness:{get:ExpressionPropertyInterface(i.is)},_name:{value:e.nm}}),r.mn=e.mn,r}function l(e,t,n){function r(t){return e.p.ix===t?r.position:e.r.ix===t?r.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?r.size:null}var o=propertyGroupFactory(r,n),i="tm"===t.sh.ty?t.sh.prop:t.sh;return r.propertyIndex=e.ix,i.p.setGroupProperty(PropertyInterface("Position",o)),i.s.setGroupProperty(PropertyInterface("Size",o)),i.r.setGroupProperty(PropertyInterface("Rotation",o)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(i.p)},roundness:{get:ExpressionPropertyInterface(i.r)},size:{get:ExpressionPropertyInterface(i.s)},_name:{value:e.nm}}),r.mn=e.mn,r}function u(e,t,n){function r(t){return e.r.ix===t||"Round Corners 1"===t?r.radius:null}var o=propertyGroupFactory(r,n),i=t;return r.propertyIndex=e.ix,i.rd.setGroupProperty(PropertyInterface("Radius",o)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(i.rd)},_name:{value:e.nm}}),r.mn=e.mn,r}function d(e,t,n){function r(t){return e.c.ix===t||"Copies"===t?r.copies:e.o.ix===t||"Offset"===t?r.offset:null}var o=propertyGroupFactory(r,n),i=t;return r.propertyIndex=e.ix,i.c.setGroupProperty(PropertyInterface("Copies",o)),i.o.setGroupProperty(PropertyInterface("Offset",o)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(i.c)},offset:{get:ExpressionPropertyInterface(i.o)},_name:{value:e.nm}}),r.mn=e.mn,r}return function(t,n,r){var o;function i(e){if("number"===typeof e)return 0===(e=void 0===e?1:e)?r:o[e-1];for(var t=0,n=o.length;t<n;){if(o[t]._name===e)return o[t];t+=1}return null}return i.propertyGroup=propertyGroupFactory(i,(function(){return r})),o=e(t,n,i.propertyGroup),i.numProperties=o.length,i._name="Contents",i}}(),TextExpressionInterface=function(e){var t,n;function r(e){return"ADBE Text Document"===e?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return r!==t&&(e.textProperty.currentData.t=t,(n=new String(r)).value=r||new String(r)),n}}),r},getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var n,r=e.ef||[];this.effectElements=[];var o,i=r.length;for(n=0;n<i;n+=1)o=new GroupEffect(r[n],t),this.effectElements.push(o)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function _typeof$2(e){return _typeof$2="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var n;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,o=this.data.ef.length,i=this.data.ef;for(n=0;n<o;n+=1){switch(r=null,i[n].ty){case 0:r=new SliderEffect(i[n],t,this);break;case 1:r=new AngleEffect(i[n],t,this);break;case 2:r=new ColorEffect(i[n],t,this);break;case 3:r=new PointEffect(i[n],t,this);break;case 4:case 7:r=new CheckboxEffect(i[n],t,this);break;case 10:r=new LayerIndexEffect(i[n],t,this);break;case 11:r=new MaskIndexEffect(i[n],t,this);break;case 5:r=new EffectsManager(i[n],t,this);break;default:r=new NoValueEffect(i[n],t,this)}r&&this.effectElements.push(r)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,n){this.globalData=t,this.comp=n,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var n,r=this.dynamicProperties.length;for(n=0;n<r;n+=1)(t||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}};var FootageInterface=function(){var e=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",n=e.getFootageData();function r(e){if(n[e])return t=e,"object"===_typeof$2(n=n[e])?r:n;var o=e.indexOf(t);if(-1!==o){var i=parseInt(e.substr(o+t.length),10);return"object"===_typeof$2(n=n[i])?r:n}return""}return function(){return t="",n=e.getFootageData(),r}}(e),t};return function(t){function n(e){return"Data"===e?n.dataInterface:null}return n._name="Data",n.dataInterface=e(t),n}}();function FootageElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,n)}function AudioElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,n),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(e,t,n){this.data=e,this.element=t,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,o,i=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,c,l,u,d,p,h=this.masksProperties,f=0,m=[],g=createElementID(),v="clipPath",y="clip-path";for(r=0;r<a;r+=1)if(("a"!==h[r].mode&&"n"!==h[r].mode||h[r].inv||100!==h[r].o.k||h[r].o.x)&&(v="mask",y="mask"),"s"!==h[r].mode&&"i"!==h[r].mode||0!==f?l=null:((l=createNS("rect")).setAttribute("fill","#ffffff"),l.setAttribute("width",this.element.comp.data.w||0),l.setAttribute("height",this.element.comp.data.h||0),m.push(l)),o=createNS("path"),"n"===h[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,h[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[r],3),elem:o,lastPath:""},i.appendChild(o);else{var b;if(f+=1,o.setAttribute("fill","s"===h[r].mode?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero"),0!==h[r].x.k?(v="mask",y="mask",p=PropertyFactory.getProp(this.element,h[r].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(d=createNS("feMorphology")).setAttribute("operator","erode"),d.setAttribute("in","SourceGraphic"),d.setAttribute("radius","0"),u.appendChild(d),i.appendChild(u),o.setAttribute("stroke","s"===h[r].mode?"#000000":"#ffffff")):(d=null,p=null),this.storedData[r]={elem:o,x:p,expan:d,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===h[r].mode){c=m.length;var _=createNS("g");for(s=0;s<c;s+=1)_.appendChild(m[s]);var C=createNS("mask");C.setAttribute("mask-type","alpha"),C.setAttribute("id",g+"_"+f),C.appendChild(o),i.appendChild(C),_.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+f+")"),m.length=0,m.push(_)}else m.push(o);h[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,h[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[r],3),invRect:l},this.viewData[r].prop.k||this.drawPath(h[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(v),a=m.length,r=0;r<a;r+=1)this.maskElement.appendChild(m[r]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+g+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,n,r=this.layers.length;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t]).ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var n,r=e.length,o=this.layers.length;for(t=0;t<r;t+=1)for(n=0;n<o;){if(this.layers[n].id===e[t].id){this.layers[n]=e[t];break}n+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,n){for(var r=this.elements,o=this.layers,i=0,a=o.length;i<a;)o[i].ind==t&&(r[i]&&!0!==r[i]?(n.push(r[i]),r[i].setAsParent(),void 0!==o[i].parent?this.buildElementParenting(e,o[i].parent,n):e.setHierarchy(n)):(this.buildItem(i),this.addPendingElement(e))),i+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;for(t=0;t<n;t+=1)if(e[t].xt){var r=this.createComp(e[t]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementByPath=function(e){var t,n=e.shift();if("number"===typeof n)t=this.elements[n];else{var r,o=this.elements.length;for(r=0;r<o;r+=1)if(this.elements[r].data.nm===n){t=this.elements[r];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<r;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),n=0;n<r;n+=1)e=this.hierarchy[n].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var n,r=!0,o=this.comp;r;)o.finalTransform?(o.data.hasMask&&t.splice(0,0,o.finalTransform),o=o.comp):r=!1;var i,a=t.length;for(n=0;n<a;n+=1)i=t[n].mat.applyToPointArray(0,0,0),e=[e[0]-i[0],e[1]-i[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,n=this.element.finalTransform.mat,r=this.masksProperties.length;for(t=0;t<r;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var o=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),o.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,n){var r,o,i=" M"+t.v[0][0]+","+t.v[0][1];for(o=t._length,r=1;r<o;r+=1)i+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[r][0]+","+t.i[r][1]+" "+t.v[r][0]+","+t.v[r][1];if(t.c&&o>1&&(i+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==i){var a="";n.elem&&(t.c&&(a=e.inv?this.solidPath+i:i),n.elem.setAttribute("d",a)),n.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var n=createNS("filter");return n.setAttribute("id",e),!0!==t&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),e}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,n,r="SourceGraphic",o=e.data.ef?e.data.ef.length:0,i=createElementID(),a=filtersFactory.createFilter(i,!0),s=0;for(this.filters=[],t=0;t<o;t+=1){n=null;var c=e.data.ef[t].ty;registeredEffects[c]&&(n=new(0,registeredEffects[c].effect)(a,e.effectsManager.effectElements[t],e,idPrefix+s,r),r=idPrefix+s,registeredEffects[c].countsAsEffect&&(s+=1)),n&&this.filters.push(n)}s&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+i+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t,n){registeredEffects[e]={effect:t,countsAsEffect:n}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e,t,n,r=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var o=createNS("mask");o.setAttribute("id",this.layerId),o.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),o.appendChild(this.layerElement),r=o,this.globalData.defs.appendChild(o),featureSupport.maskType||1!=this.data.td||(o.setAttribute("mask-type","luminance"),e=createElementID(),t=filtersFactory.createFilter(e),this.globalData.defs.appendChild(t),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(this.layerElement),r=n,o.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2==this.data.td){var i=createNS("mask");i.setAttribute("id",this.layerId),i.setAttribute("mask-type","alpha");var a=createNS("g");i.appendChild(a),e=createElementID(),t=filtersFactory.createFilter(e);var s=createNS("feComponentTransfer");s.setAttribute("in","SourceGraphic"),t.appendChild(s);var c=createNS("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),s.appendChild(c),this.globalData.defs.appendChild(t);var l=createNS("rect");l.setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),a.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),a.appendChild(l),a.appendChild(this.layerElement),r=a,featureSupport.maskType||(i.setAttribute("mask-type","luminance"),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),a.appendChild(l),n.appendChild(this.layerElement),r=n,a.appendChild(n)),this.globalData.defs.appendChild(i)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var u=createNS("clipPath"),d=createNS("path");d.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var p=createElementID();if(u.setAttribute("id",p),u.appendChild(d),this.globalData.defs.appendChild(u),this.checkMasks()){var h=createNS("g");h.setAttribute("clip-path","url("+getLocationHref()+"#"+p+")"),h.appendChild(this.layerElement),this.transformedElement=h,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+p+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,n=this.shapeModifiers.length;for(t=0;t<n;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,n=0,r=t.length;n<r;){if(t[n].elem===e)return t[n].pos;n+=1}return 0},addProcessedElement:function(e,t){for(var n=this.processedElements,r=n.length;r;)if(n[r-=1].elem===e)return void(n[r].pos=t);n.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,n){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=n,this.lvl=t,this._isAnimated=!!n.k;for(var r=0,o=e.length;r<o;){if(e[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,n,r){var o;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var i,a=t.length||0;for(o=0;o<a;o+=1)i=PropertyFactory.getProp(e,t[o].v,0,0,this),this.k=i.k||this.k,this.dataProps[o]={n:t[o].n,p:i};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n}function SVGNoStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=n}function GradientProperty(e,t,n){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var r=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,n)}function SVGGradientStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,n){this.transform={mProps:e,op:t,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<n;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var n=0,r=this.o.length/2;n<r;){if(Math.abs(e[4*n]-e[4*t+2*n])>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,n,r,o=4*this.data.p;for(t=0;t<o;t+=1)n=t%4===0?100:255,r=Math.round(this.prop.v[t]*n),this.c[t]!==r&&(this.c[t]=r,this._cmdf=!e);if(this.o.length)for(o=this.prop.v.length,t=4*this.data.p;t<o;t+=1)n=t%2===0?100:1,r=t%2===0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==r&&(this.o[t-4*this.data.p]=r,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,n){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,t),this.setGradientOpacity(t,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var n=createElementID(),r=createNS(1===t.t?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var o,i,a,s=[];for(a=4*t.g.p,i=0;i<a;i+=4)o=createNS("stop"),r.appendChild(o),s.push(o);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=r,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,o,i=createNS("mask"),a=createNS("path");i.appendChild(a);var s=createElementID(),c=createElementID();i.setAttribute("id",c);var l=createNS(1===e.t?"linearGradient":"radialGradient");l.setAttribute("id",s),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),o=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(r=4*e.g.p;r<o;r+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(n),u.push(n);a.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===e.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&a.setAttribute("stroke-miterlimit",e.ml)),this.of=l,this.ms=i,this.ost=u,this.maskId=c,t.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,n,r){if(0===t)return"";var o,i=e.o,a=e.i,s=e.v,c=" M"+r.applyToPointStringified(s[0][0],s[0][1]);for(o=1;o<t;o+=1)c+=" C"+r.applyToPointStringified(i[o-1][0],i[o-1][1])+" "+r.applyToPointStringified(a[o][0],a[o][1])+" "+r.applyToPointStringified(s[o][0],s[o][1]);return n&&t&&(c+=" C"+r.applyToPointStringified(i[o-1][0],i[o-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(s[0][0],s[0][1]),c+="z"),c},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function n(e,t,n){(n||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(n||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function r(){}function o(n,r,o){var i,a,s,c,l,u,d,p,h,f,m,g=r.styles.length,v=r.lvl;for(u=0;u<g;u+=1){if(c=r.sh._mdf||o,r.styles[u].lvl<v){for(p=t.reset(),f=v-r.styles[u].lvl,m=r.transformers.length-1;!c&&f>0;)c=r.transformers[m].mProps._mdf||c,f-=1,m-=1;if(c)for(f=v-r.styles[u].lvl,m=r.transformers.length-1;f>0;)h=r.transformers[m].mProps.v.props,p.transform(h[0],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15]),f-=1,m-=1}else p=e;if(a=(d=r.sh.paths)._length,c){for(s="",i=0;i<a;i+=1)(l=d.shapes[i])&&l._length&&(s+=buildShapeString(l,l._length,l.c,p));r.caches[u]=s}else s=r.caches[u];r.styles[u].d+=!0===n.hd?"":s,r.styles[u]._mdf=c||r.styles[u]._mdf}}function i(e,t,n){var r=t.style;(t.c._mdf||n)&&r.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("fill-opacity",t.o.v)}function a(e,t,n){s(e,t,n),c(0,t,n)}function s(e,t,n){var r,o,i,a,s,c=t.gf,l=t.g._hasOpacity,u=t.s.v,d=t.e.v;if(t.o._mdf||n){var p="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(p,t.o.v)}if(t.s._mdf||n){var h=1===e.t?"x1":"cx",f="x1"===h?"y1":"cy";c.setAttribute(h,u[0]),c.setAttribute(f,u[1]),l&&!t.g._collapsable&&(t.of.setAttribute(h,u[0]),t.of.setAttribute(f,u[1]))}if(t.g._cmdf||n){r=t.cst;var m=t.g.c;for(i=r.length,o=0;o<i;o+=1)(a=r[o]).setAttribute("offset",m[4*o]+"%"),a.setAttribute("stop-color","rgb("+m[4*o+1]+","+m[4*o+2]+","+m[4*o+3]+")")}if(l&&(t.g._omdf||n)){var g=t.g.o;for(i=(r=t.g._collapsable?t.cst:t.ost).length,o=0;o<i;o+=1)a=r[o],t.g._collapsable||a.setAttribute("offset",g[2*o]+"%"),a.setAttribute("stop-opacity",g[2*o+1])}if(1===e.t)(t.e._mdf||n)&&(c.setAttribute("x2",d[0]),c.setAttribute("y2",d[1]),l&&!t.g._collapsable&&(t.of.setAttribute("x2",d[0]),t.of.setAttribute("y2",d[1])));else if((t.s._mdf||t.e._mdf||n)&&(s=Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)),c.setAttribute("r",s),l&&!t.g._collapsable&&t.of.setAttribute("r",s)),t.e._mdf||t.h._mdf||t.a._mdf||n){s||(s=Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)));var v=Math.atan2(d[1]-u[1],d[0]-u[0]),y=t.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var b=s*y,_=Math.cos(v+t.a.v)*b+u[0],C=Math.sin(v+t.a.v)*b+u[1];c.setAttribute("fx",_),c.setAttribute("fy",C),l&&!t.g._collapsable&&(t.of.setAttribute("fx",_),t.of.setAttribute("fy",C))}}function c(e,t,n){var r=t.style,o=t.d;o&&(o._mdf||n)&&o.dashStr&&(r.pElem.setAttribute("stroke-dasharray",o.dashStr),r.pElem.setAttribute("stroke-dashoffset",o.dashoffset[0])),t.c&&(t.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",t.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return i;case"gf":return s;case"gs":return a;case"st":return c;case"sh":case"el":case"rc":case"sr":return o;case"tr":return n;case"no":return r;default:return null}}}}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}function LetterProps(e,t,n,r,o,i){this.o=e,this.sw=t,this.sc=n,this.fc=r,this.m=o,this.p=i,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,n,r,o=this.shapes.length,i=this.stylesList.length,a=[],s=!1;for(n=0;n<i;n+=1){for(r=this.stylesList[n],s=!1,a.length=0,e=0;e<o;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(r)&&(a.push(t),s=t._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var n,r=new SVGStyleData(e,t),o=r.pElem;return"st"===e.ty?n=new SVGStrokeStyleData(this,e,r):"fl"===e.ty?n=new SVGFillStyleData(this,e,r):"gf"===e.ty||"gs"===e.ty?(n=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),o.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))):"no"===e.ty&&(n=new SVGNoStyleData(this,e,r)),"st"!==e.ty&&"gs"!==e.ty||(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),o.setAttribute("fill-opacity","0"),1===e.lj&&o.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&o.setAttribute("fill-rule","evenodd"),e.ln&&o.setAttribute("id",e.ln),e.cl&&o.setAttribute("class",e.cl),e.bm&&(o.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(r),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var n=TransformPropertyFactory.getTransformProperty(this,e,this),r=new SVGTransformData(n,n.o,t);return this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createShapeElement=function(e,t,n){var r=4;"rc"===e.ty?r=5:"el"===e.ty?r=6:"sr"===e.ty&&(r=7);var o=new SVGShapeData(t,n,ShapePropertyFactory.getShapeProp(this,e,r,this));return this.shapes.push(o),this.addShapeToModifiers(o),this.addToAnimatedContents(e,o),o},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===t)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,n=e.styles,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||n.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,n,r,o,i,a){var s,c,l,u,d,p,h=[].concat(i),f=e.length-1,m=[],g=[];for(s=f;s>=0;s-=1){if((p=this.searchProcessedElement(e[s]))?t[s]=n[p-1]:e[s]._render=a,"fl"===e[s].ty||"st"===e[s].ty||"gf"===e[s].ty||"gs"===e[s].ty||"no"===e[s].ty)p?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],o),e[s]._render&&t[s].style.pElem.parentNode!==r&&r.appendChild(t[s].style.pElem),m.push(t[s].style);else if("gr"===e[s].ty){if(p)for(l=t[s].it.length,c=0;c<l;c+=1)t[s].prevViewData[c]=t[s].it[c];else t[s]=this.createGroupElement(e[s]);this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,t[s].gr,o+1,h,a),e[s]._render&&t[s].gr.parentNode!==r&&r.appendChild(t[s].gr)}else"tr"===e[s].ty?(p||(t[s]=this.createTransformElement(e[s],r)),u=t[s].transform,h.push(u)):"sh"===e[s].ty||"rc"===e[s].ty||"el"===e[s].ty||"sr"===e[s].ty?(p||(t[s]=this.createShapeElement(e[s],h,o)),this.setElementStyles(t[s])):"tm"===e[s].ty||"rd"===e[s].ty||"ms"===e[s].ty||"pb"===e[s].ty?(p?(d=t[s]).closed=!1:((d=ShapeModifiers.getModifier(e[s].ty)).init(this,e[s]),t[s]=d,this.shapeModifiers.push(d)),g.push(d)):"rp"===e[s].ty&&(p?(d=t[s]).closed=!0:(d=ShapeModifiers.getModifier(e[s].ty),t[s]=d,d.init(this,e,s,t),this.shapeModifiers.push(d),a=!1),g.push(d));this.addProcessedElement(e[s],s+1)}for(f=m.length,s=0;s<f;s+=1)m[s].closed=!0;for(f=g.length,s=0;s<f;s+=1)g[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,n=this.animatedContents.length;for(e=0;e<n;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,n,r,o,i){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,a=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,a=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,a=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,a=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,a=!0),!i.length||this.p[0]===i[0]&&this.p[1]===i[1]&&this.p[4]===i[4]&&this.p[5]===i[5]&&this.p[12]===i[12]&&this.p[13]===i[13]||(this.p=i,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var o=this.effectsSequence.length,i=e||this.data.d.k[this.keysIndex].s;for(r=0;r<o;r+=1)i=n!==this.keysIndex?this.effectsSequence[r](i,i.t):this.effectsSequence[r](this.currentData,i.t);t!==i&&this.setCurrentData(i),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,n=0,r=e.length;n<=r-1&&!(n===r-1||e[n+1].t>t);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,n,r=[],o=0,i=e.length,a=!1;o<i;)t=e.charCodeAt(o),FontManager.isCombinedCharacter(t)?r[r.length-1]+=e.charAt(o):t>=55296&&t<=56319?(n=e.charCodeAt(o+1))>=56320&&n<=57343?(a||FontManager.isModifier(t,n)?(r[r.length-1]+=e.substr(o,2),a=!1):r.push(e.substr(o,2)),o+=1):r.push(e.charAt(o)):t>56319?(n=e.charCodeAt(o+1),FontManager.isZeroWidthJoiner(t,n)?(a=!0,r[r.length-1]+=e.substr(o,2),o+=1):r.push(e.charAt(o))):FontManager.isZeroWidthJoiner(t)?(r[r.length-1]+=e.charAt(o),a=!0):r.push(e.charAt(o)),o+=1;return r},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,n,r,o,i,a,s,c=this.elem.globalData.fontManager,l=this.data,u=[],d=0,p=l.m.g,h=0,f=0,m=0,g=[],v=0,y=0,b=c.getFontByName(e.f),_=0,C=getFontProperties(b);e.fWeight=C.weight,e.fStyle=C.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var w,E=e.tr/1e3*e.finalSize;if(e.sz)for(var x,S,k=!0,T=e.sz[0],I=e.sz[1];k;){x=0,v=0,n=(S=this.buildFinalText(e.t)).length,E=e.tr/1e3*e.finalSize;var A=-1;for(t=0;t<n;t+=1)w=S[t].charCodeAt(0),r=!1," "===S[t]?A=t:13!==w&&3!==w||(v=0,r=!0,x+=e.finalLineHeight||1.2*e.finalSize),c.chars?(s=c.getCharData(S[t],b.fStyle,b.fFamily),_=r?0:s.w*e.finalSize/100):_=c.measureText(S[t],e.f,e.finalSize),v+_>T&&" "!==S[t]?(-1===A?n+=1:t=A,x+=e.finalLineHeight||1.2*e.finalSize,S.splice(t,A===t?1:0,"\r"),A=-1,v=0):(v+=_,v+=E);x+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&I<x?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=S,n=e.finalText.length,k=!1)}v=-E,_=0;var P,D=0;for(t=0;t<n;t+=1)if(r=!1,13===(w=(P=e.finalText[t]).charCodeAt(0))||3===w?(D=0,g.push(v),y=v>y?v:y,v=-2*E,o="",r=!0,m+=1):o=P,c.chars?(s=c.getCharData(P,b.fStyle,c.getFontByName(e.f).fFamily),_=r?0:s.w*e.finalSize/100):_=c.measureText(o,e.f,e.finalSize)," "===P?D+=_+E:(v+=_+E+D,D=0),u.push({l:_,an:_,add:h,n:r,anIndexes:[],val:o,line:m,animatorJustifyOffset:0}),2==p){if(h+=_,""===o||" "===o||t===n-1){for(""!==o&&" "!==o||(h-=_);f<=t;)u[f].an=h,u[f].ind=d,u[f].extra=_,f+=1;d+=1,h=0}}else if(3==p){if(h+=_,""===o||t===n-1){for(""===o&&(h-=_);f<=t;)u[f].an=h,u[f].ind=d,u[f].extra=_,f+=1;h=0,d+=1}}else u[d].ind=d,u[d].extra=0,d+=1;if(e.l=u,y=v>y?v:y,g.push(v),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=y,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var R,M,N,L,O=l.a;a=O.length;var F=[];for(i=0;i<a;i+=1){for((R=O[i]).a.sc&&(e.strokeColorAnim=!0),R.a.sw&&(e.strokeWidthAnim=!0),(R.a.fc||R.a.fh||R.a.fs||R.a.fb)&&(e.fillColorAnim=!0),L=0,N=R.s.b,t=0;t<n;t+=1)(M=u[t]).anIndexes[i]=L,(1==N&&""!==M.val||2==N&&""!==M.val&&" "!==M.val||3==N&&(M.n||" "==M.val||t==n-1)||4==N&&(M.n||t==n-1))&&(1===R.s.rn&&F.push(L),L+=1);l.a[i].s.totalChars=L;var B,H=-1;if(1===R.s.rn)for(t=0;t<n;t+=1)H!=(M=u[t]).anIndexes[i]&&(H=M.anIndexes[i],B=F.splice(Math.floor(Math.random()*F.length),1)[0]),M.anIndexes[i]=B}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=b.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var n=this.copyData({},this.data.d.k[t].s);n=this.copyData(n,e),this.data.d.k[t].s=n,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,n=Math.floor;function r(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,i=0,a=1,s=1;this.ne.v>0?o=this.ne.v/100:i=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var c=BezierFactory.getBezierEasing(o,i,a,s).get,l=0,u=this.finalS,d=this.finalE,p=this.data.sh;if(2===p)l=c(l=d===u?r>=d?1:0:e(0,t(.5/(d-u)+(r-u)/(d-u),1)));else if(3===p)l=c(l=d===u?r>=d?0:1:1-e(0,t(.5/(d-u)+(r-u)/(d-u),1)));else if(4===p)d===u?l=0:(l=e(0,t(.5/(d-u)+(r-u)/(d-u),1)))<.5?l*=2:l=1-2*(l-.5),l=c(l);else if(5===p){if(d===u)l=0;else{var h=d-u,f=-h/2+(r=t(e(0,r+.5-u),d-u)),m=h/2;l=Math.sqrt(1-f*f/(m*m))}l=c(l)}else 6===p?(d===u?l=0:(r=t(e(0,r+.5-u),d-u),l=(1+Math.cos(Math.PI+2*Math.PI*r/(d-u)))/2),l=c(l)):(r>=n(u)&&(l=e(0,t(r-u<0?t(d,1)-(u-r):d-r,1))),l=c(l));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var v=.5-.5*g;l<v?l=0:(l=(l-v)/g)>1&&(l=1)}return l*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/t,r=this.s.v/t+n,o=this.e.v/t+n;if(r>o){var i=r;r=o,o=i}this.finalS=r,this.finalE=o}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(e,t,n){return new r(e,t,n)}}}();function TextAnimatorDataProperty(e,t,n){var r={propType:!1},o=PropertyFactory.getProp,i=t.a;this.a={r:i.r?o(e,i.r,0,degToRads,n):r,rx:i.rx?o(e,i.rx,0,degToRads,n):r,ry:i.ry?o(e,i.ry,0,degToRads,n):r,sk:i.sk?o(e,i.sk,0,degToRads,n):r,sa:i.sa?o(e,i.sa,0,degToRads,n):r,s:i.s?o(e,i.s,1,.01,n):r,a:i.a?o(e,i.a,1,0,n):r,o:i.o?o(e,i.o,0,.01,n):r,p:i.p?o(e,i.p,1,0,n):r,sw:i.sw?o(e,i.sw,0,0,n):r,sc:i.sc?o(e,i.sc,1,0,n):r,fc:i.fc?o(e,i.fc,1,0,n):r,fh:i.fh?o(e,i.fh,0,0,n):r,fs:i.fs?o(e,i.fs,0,.01,n):r,fb:i.fb?o(e,i.fb,0,.01,n):r,t:i.t?o(e,i.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,n=this._textData.a.length,r=PropertyFactory.getProp;for(e=0;e<n;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,r,o,i,a,s,c,l,u,d,p,h,f,m,g,v,y,b,_,C=this._moreOptions.alignment.v,w=this._animatorsData,E=this._textData,x=this.mHelper,S=this._renderType,k=this.renderedLetters.length,T=e.l;if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var I,A=_.v;for(this._pathData.r.v&&(A=A.reverse()),a={tLength:0,segments:[]},i=A._length-1,v=0,o=0;o<i;o+=1)I=bez.buildBezierData(A.v[o],A.v[o+1],[A.o[o][0]-A.v[o][0],A.o[o][1]-A.v[o][1]],[A.i[o+1][0]-A.v[o+1][0],A.i[o+1][1]-A.v[o+1][1]]),a.tLength+=I.segmentLength,a.segments.push(I),v+=I.segmentLength;o=i,_.v.c&&(I=bez.buildBezierData(A.v[o],A.v[0],[A.o[o][0]-A.v[o][0],A.o[o][1]-A.v[o][1]],[A.i[0][0]-A.v[0][0],A.i[0][1]-A.v[0][1]]),a.tLength+=I.segmentLength,a.segments.push(I),v+=I.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,p=0,d=1,l=0,u=!0,m=a.segments,s<0&&_.v.c)for(a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),d=(f=m[p=m.length-1].points).length-1;s<0;)s+=f[d].partialLength,(d-=1)<0&&(d=(f=m[p-=1].points).length-1);h=(f=m[p].points)[d-1],g=(c=f[d]).partialLength}i=T.length,n=0,r=0;var P,D,R,M,N,L=1.2*e.finalSize*.714,O=!0;R=w.length;var F,B,H,z,U,V,j,q,W,G,K,Y,Q=-1,X=s,J=p,$=d,Z=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var ne=0,re=0,oe=2===e.j?-.5:-1,ie=0,ae=!0;for(o=0;o<i;o+=1)if(T[o].n){for(ne&&(ne+=re);ie<o;)T[ie].animatorJustifyOffset=ne,ie+=1;ne=0,ae=!0}else{for(D=0;D<R;D+=1)(P=w[D].a).t.propType&&(ae&&2===e.j&&(re+=P.t.v*oe),(N=w[D].s.getMult(T[o].anIndexes[D],E.a[D].s.totalChars)).length?ne+=P.t.v*N[0]*oe:ne+=P.t.v*N*oe);ae=!1}for(ne&&(ne+=re);ie<o;)T[ie].animatorJustifyOffset=ne,ie+=1}for(o=0;o<i;o+=1){if(x.reset(),z=1,T[o].n)n=0,r+=e.yOffset,r+=O?1:0,s=X,O=!1,this._hasMaskedPath&&(d=$,h=(f=m[p=J].points)[d-1],g=(c=f[d]).partialLength,l=0),ee="",K="",W="",Y="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Z!==T[o].line){switch(e.j){case 1:s+=v-e.lineWidths[T[o].line];break;case 2:s+=(v-e.lineWidths[T[o].line])/2}Z=T[o].line}Q!==T[o].ind&&(T[Q]&&(s+=T[Q].extra),s+=T[o].an/2,Q=T[o].ind),s+=C[0]*T[o].an*.005;var se=0;for(D=0;D<R;D+=1)(P=w[D].a).p.propType&&((N=w[D].s.getMult(T[o].anIndexes[D],E.a[D].s.totalChars)).length?se+=P.p.v[0]*N[0]:se+=P.p.v[0]*N),P.a.propType&&((N=w[D].s.getMult(T[o].anIndexes[D],E.a[D].s.totalChars)).length?se+=P.a.v[0]*N[0]:se+=P.a.v[0]*N);for(u=!0,this._pathData.a.v&&(s=.5*T[0].an+(v-this._pathData.f.v-.5*T[0].an-.5*T[T.length-1].an)*Q/(i-1),s+=this._pathData.f.v);u;)l+g>=s+se||!f?(y=(s+se-l)/c.partialLength,B=h.point[0]+(c.point[0]-h.point[0])*y,H=h.point[1]+(c.point[1]-h.point[1])*y,x.translate(-C[0]*T[o].an*.005,-C[1]*L*.01),u=!1):f&&(l+=c.partialLength,(d+=1)>=f.length&&(d=0,m[p+=1]?f=m[p].points:_.v.c?(d=0,f=m[p=0].points):(l-=c.partialLength,f=null)),f&&(h=c,g=(c=f[d]).partialLength));F=T[o].an/2-T[o].add,x.translate(-F,0,0)}else F=T[o].an/2-T[o].add,x.translate(-F,0,0),x.translate(-C[0]*T[o].an*.005,-C[1]*L*.01,0);for(D=0;D<R;D+=1)(P=w[D].a).t.propType&&(N=w[D].s.getMult(T[o].anIndexes[D],E.a[D].s.totalChars),0===n&&0===e.j||(this._hasMaskedPath?N.length?s+=P.t.v*N[0]:s+=P.t.v*N:N.length?n+=P.t.v*N[0]:n+=P.t.v*N));for(e.strokeWidthAnim&&(V=e.sw||0),e.strokeColorAnim&&(U=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(j=[e.fc[0],e.fc[1],e.fc[2]]),D=0;D<R;D+=1)(P=w[D].a).a.propType&&((N=w[D].s.getMult(T[o].anIndexes[D],E.a[D].s.totalChars)).length?x.translate(-P.a.v[0]*N[0],-P.a.v[1]*N[1],P.a.v[2]*N[2]):x.translate(-P.a.v[0]*N,-P.a.v[1]*N,P.a.v[2]*N));for(D=0;D<R;D+=1)(P=w[D].a).s.propType&&((N=w[D].s.getMult(T[o].anIndexes[D],E.a[D].s.totalChars)).length?x.scale(1+(P.s.v[0]-1)*N[0],1+(P.s.v[1]-1)*N[1],1):x.scale(1+(P.s.v[0]-1)*N,1+(P.s.v[1]-1)*N,1));for(D=0;D<R;D+=1){if(P=w[D].a,N=w[D].s.getMult(T[o].anIndexes[D],E.a[D].s.totalChars),P.sk.propType&&(N.length?x.skewFromAxis(-P.sk.v*N[0],P.sa.v*N[1]):x.skewFromAxis(-P.sk.v*N,P.sa.v*N)),P.r.propType&&(N.length?x.rotateZ(-P.r.v*N[2]):x.rotateZ(-P.r.v*N)),P.ry.propType&&(N.length?x.rotateY(P.ry.v*N[1]):x.rotateY(P.ry.v*N)),P.rx.propType&&(N.length?x.rotateX(P.rx.v*N[0]):x.rotateX(P.rx.v*N)),P.o.propType&&(N.length?z+=(P.o.v*N[0]-z)*N[0]:z+=(P.o.v*N-z)*N),e.strokeWidthAnim&&P.sw.propType&&(N.length?V+=P.sw.v*N[0]:V+=P.sw.v*N),e.strokeColorAnim&&P.sc.propType)for(q=0;q<3;q+=1)N.length?U[q]+=(P.sc.v[q]-U[q])*N[0]:U[q]+=(P.sc.v[q]-U[q])*N;if(e.fillColorAnim&&e.fc){if(P.fc.propType)for(q=0;q<3;q+=1)N.length?j[q]+=(P.fc.v[q]-j[q])*N[0]:j[q]+=(P.fc.v[q]-j[q])*N;P.fh.propType&&(j=N.length?addHueToRGB(j,P.fh.v*N[0]):addHueToRGB(j,P.fh.v*N)),P.fs.propType&&(j=N.length?addSaturationToRGB(j,P.fs.v*N[0]):addSaturationToRGB(j,P.fs.v*N)),P.fb.propType&&(j=N.length?addBrightnessToRGB(j,P.fb.v*N[0]):addBrightnessToRGB(j,P.fb.v*N))}}for(D=0;D<R;D+=1)(P=w[D].a).p.propType&&(N=w[D].s.getMult(T[o].anIndexes[D],E.a[D].s.totalChars),this._hasMaskedPath?N.length?x.translate(0,P.p.v[1]*N[0],-P.p.v[2]*N[1]):x.translate(0,P.p.v[1]*N,-P.p.v[2]*N):N.length?x.translate(P.p.v[0]*N[0],P.p.v[1]*N[1],-P.p.v[2]*N[2]):x.translate(P.p.v[0]*N,P.p.v[1]*N,-P.p.v[2]*N));if(e.strokeWidthAnim&&(W=V<0?0:V),e.strokeColorAnim&&(G="rgb("+Math.round(255*U[0])+","+Math.round(255*U[1])+","+Math.round(255*U[2])+")"),e.fillColorAnim&&e.fc&&(K="rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"),this._hasMaskedPath){if(x.translate(0,-e.ls),x.translate(0,C[1]*L*.01+r,0),this._pathData.p.v){b=(c.point[1]-h.point[1])/(c.point[0]-h.point[0]);var ce=180*Math.atan(b)/Math.PI;c.point[0]<h.point[0]&&(ce+=180),x.rotate(-ce*Math.PI/180)}x.translate(B,H,0),s-=C[0]*T[o].an*.005,T[o+1]&&Q!==T[o+1].ind&&(s+=T[o].an/2,s+=.001*e.tr*e.finalSize)}else{switch(x.translate(n,r,0),e.ps&&x.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:x.translate(T[o].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[o].line]),0,0);break;case 2:x.translate(T[o].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[o].line])/2,0,0)}x.translate(0,-e.ls),x.translate(F,0,0),x.translate(C[0]*T[o].an*.005,C[1]*L*.01,0),n+=T[o].l+.001*e.tr*e.finalSize}"html"===S?ee=x.toCSS():"svg"===S?ee=x.to2dCSS():te=[x.props[0],x.props[1],x.props[2],x.props[3],x.props[4],x.props[5],x.props[6],x.props[7],x.props[8],x.props[9],x.props[10],x.props[11],x.props[12],x.props[13],x.props[14],x.props[15]],Y=z}k<=o?(M=new LetterProps(Y,W,G,K,ee,te),this.renderedLetters.push(M),k+=1,this.lettersChangedFlag=!0):(M=this.renderedLetters[o],this.lettersChangedFlag=M.update(Y,W,G,K,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,n),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var n,r,o=t.length,i="";for(n=0;n<o;n+=1)"sh"===t[n].ty&&(r=t[n].ks.k,i+=buildShapeString(r,r.i.length,!0,e));return i},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,n,r,o){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n])/2,0,0)}t.translate(r,o,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,n){this.textSpans=[],this.renderType="svg",this.initElement(e,t,n)}function ISolidElement(e,t,n){this.initElement(e,t,n)}function NullElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initFrame(),this.initTransform(e,t,n),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,n){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(t&&t.title){var r=createNS("title"),o=createElementID();r.setAttribute("id",o),r.textContent=t.title,this.svgElement.appendChild(r),n+=o}if(t&&t.description){var i=createNS("desc"),a=createElementID();i.setAttribute("id",a),i.textContent=t.description,this.svgElement.appendChild(i),n+=" "+a}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=createNS("defs");this.svgElement.appendChild(s);var c=createNS("g");this.svgElement.appendChild(c),this.layerElement=c,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var e;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(e,t){var n;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r=this.masksProperties.length,o=!1;for(n=0;n<r;n+=1)"n"!==this.masksProperties[n].mode&&(o=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=o,o&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(e,t,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var o,i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,i,e);var a,s=n.length;for(o=0;o<s;o+=1)n[o].closed||(a={transforms:r.addTransformSequence(n[o].transforms),trNodes:[]},this.styledShapes.push(a),n[o].elements.push(a))}function CVShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,n)}function CVTextElement(e,t,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,n)}function CVImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,n)}function CVSolidElement(e,t,n){this.initElement(e,t,n)}function CanvasRendererBase(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(e,t,n){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(e,t,n){this.initElement(e,t,n)}function HShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,n)}function HCameraElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,e.pe,0,0,this),e.ks.p.s?(this.px=r(this,e.ks.p.x,1,0,this),this.py=r(this,e.ks.p.y,1,0,this),this.pz=r(this,e.ks.p.z,1,0,this)):this.p=r(this,e.ks.p,1,0,this),e.ks.a&&(this.a=r(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var o,i=e.ks.or.k.length;for(o=0;o<i;o+=1)e.ks.or.k[o].to=null,e.ks.or.k[o].ti=null}this.or=r(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,e.ks.rx,0,degToRads,this),this.ry=r(this,e.ks.ry,0,degToRads,this),this.rz=r(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,n){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,n=e.length,r=[],o="";t<n;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(r.push(o),o=""):o+=e[t],t+=1;return r.push(o),r},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var n=e.shapes[0];if(n.it){var r=n.it[n.it.length-1];r.s&&(r.s.k[0]=t,r.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var o=n.fWeight,i=n.fStyle;this.layerElement.setAttribute("font-style",i),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",n.t);var a,s=n.l||[],c=!!this.globalData.fontManager.chars;t=s.length;var l=this.mHelper,u=this.data.singleShape,d=0,p=0,h=!0,f=.001*n.tr*n.finalSize;if(!u||c||n.sz){var m,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!c||!u||0===e){if(a=g>e?this.textSpans[e].span:createNS(c?"g":"text"),g<=e){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=a,c){var v=createNS("g");a.appendChild(v),this.textSpans[e].childSpan=v}this.textSpans[e].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(l.reset(),u&&(s[e].n&&(d=-f,p+=n.yOffset,p+=h?1:0,h=!1),this.applyTextPropertiesToMatrix(n,l,s[e].line,d,p),d+=s[e].l||0,d+=f),c){var y;if(1===(m=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)y=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,n.finalSize)),y=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[e].glyph){var _=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(_.layerElement),_.destroy()}this.textSpans[e].glyph=y,y._debug=!0,y.prepareFrame(0),y.renderFrame(),this.textSpans[e].childSpan.appendChild(y.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else u&&a.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),a.textContent=s[e].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&a&&a.setAttribute("d","")}else{var C=this.textContainer,w="start";switch(n.j){case 1:w="end";break;case 2:w="middle";break;default:w="start"}C.setAttribute("text-anchor",w),C.setAttribute("letter-spacing",f);var E=this.buildTextContents(n.finalText);for(t=E.length,p=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)(a=this.textSpans[e].span||createNS("tspan")).textContent=E[e],a.setAttribute("x",0),a.setAttribute("y",p),a.style.display="inherit",C.appendChild(a),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=a,p+=n.finalLineHeight;this.layerElement.appendChild(C)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<n;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var n,r,o,i=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(t=a.length,e=0;e<t;e+=1)a[e].n||(n=i[e],r=this.textSpans[e].span,(o=this.textSpans[e].glyph)&&o.renderFrame(),n._mdf.m&&r.setAttribute("transform",n.m),n._mdf.o&&r.setAttribute("opacity",n.o),n._mdf.sw&&r.setAttribute("stroke-width",n.sw),n._mdf.sc&&r.setAttribute("stroke",n.sc),n._mdf.fc&&r.setAttribute("fill",n.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",e.w),r.setAttribute("height",e.h),r.setAttribute("x",0),r.setAttribute("y",0);var o=createElementID();n.setAttribute("id",o),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),t.appendChild(n),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var n=this.createItem(this.layers[e]);t[e]=n,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt&&(this.elements[e-1]&&!0!==this.elements[e-1]?n.setMatte(t[e-1].layerId):(this.buildItem(e-1),this.addPendingElement(n)))}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<n;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var r,o=0;o<t;)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement()&&(r=this.elements[o].getBaseElement()),o+=1;r?this.layerElement.insertBefore(n,r):this.layerElement.appendChild(n)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var n=0;for(n=this._length;n<e;n+=1)this.saved[n]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,n=e.length,r="_";for(t=0;t<n;t+=1)r+=e[t].transform.key+"_";var o=this.sequences[r];return o||(o={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=o,this.sequenceList.push(o)),o},processSequence:function(e,t){for(var n,r=0,o=e.transforms.length,i=t;r<o&&!t;){if(e.transforms[r].transform.mProps._mdf){i=!0;break}r+=1}if(i)for(e.finalTransform.reset(),r=o-1;r>=0;r-=1)n=e.transforms[r].transform.mProps.v.props,e.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);e._mdf=i},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t<n;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,n,r,o=this.element.finalTransform.mat,i=this.element.canvasContext,a=this.masksProperties.length;for(i.beginPath(),e=0;e<a;e+=1)if("n"!==this.masksProperties[e].mode){var s;this.masksProperties[e].inv&&(i.moveTo(0,0),i.lineTo(this.element.globalData.compSize.w,0),i.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),i.lineTo(0,this.element.globalData.compSize.h),i.lineTo(0,0)),r=this.viewData[e].v,t=o.applyToPointArray(r.v[0][0],r.v[0][1],0),i.moveTo(t[0],t[1]);var c=r._length;for(s=1;s<c;s+=1)n=o.applyToTriplePoints(r.o[s-1],r.i[s],r.v[s]),i.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=o.applyToTriplePoints(r.o[s-1],r.i[0],r.v[0]),i.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),i.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var e=0===this.data.ty;this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(e),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},r={};if("fl"===e.ty||"st"===e.ty?(r.c=PropertyFactory.getProp(this,e.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(r.s=PropertyFactory.getProp(this,e.s,1,null,this),r.e=PropertyFactory.getProp(this,e.e,1,null,this),r.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,e.g,this)),r.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],1==e.lj&&(n.ml=e.ml),r.w=PropertyFactory.getProp(this,e.w,0,null,this),r.w.k||(n.wi=r.w.v),e.d){var o=new DashProperty(this,e.d,"canvas",this);r.d=o,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,n,r,o){var i,a,s,c,l,u,d=e.length-1,p=[],h=[],f=[].concat(o);for(i=d;i>=0;i-=1){if((c=this.searchProcessedElement(e[i]))?t[i]=n[c-1]:e[i]._shouldRender=r,"fl"===e[i].ty||"st"===e[i].ty||"gf"===e[i].ty||"gs"===e[i].ty)c?t[i].style.closed=!1:t[i]=this.createStyleElement(e[i],f),p.push(t[i].style);else if("gr"===e[i].ty){if(c)for(s=t[i].it.length,a=0;a<s;a+=1)t[i].prevViewData[a]=t[i].it[a];else t[i]=this.createGroupElement(e[i]);this.searchShapes(e[i].it,t[i].it,t[i].prevViewData,r,f)}else"tr"===e[i].ty?(c||(u=this.createTransformElement(e[i]),t[i]=u),f.push(t[i]),this.addTransformToStyleList(t[i])):"sh"===e[i].ty||"rc"===e[i].ty||"el"===e[i].ty||"sr"===e[i].ty?c||(t[i]=this.createShapeElement(e[i])):"tm"===e[i].ty||"rd"===e[i].ty||"pb"===e[i].ty?(c?(l=t[i]).closed=!1:((l=ShapeModifiers.getModifier(e[i].ty)).init(this,e[i]),t[i]=l,this.shapeModifiers.push(l)),h.push(l)):"rp"===e[i].ty&&(c?(l=t[i]).closed=!0:(l=ShapeModifiers.getModifier(e[i].ty),t[i]=l,l.init(this,e,i,t),this.shapeModifiers.push(l),r=!1),h.push(l));this.addProcessedElement(e[i],i+1)}for(this.removeTransformFromStyleList(),this.closeStyles(p),d=h.length,i=0;i<d;i+=1)h[i].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,n,r,o,i,a,s,c,l=this.stylesList.length,u=this.globalData.renderer,d=this.globalData.canvasContext;for(e=0;e<l;e+=1)if(("st"!==(s=(c=this.stylesList[e]).type)&&"gs"!==s||0!==c.wi)&&c.data._shouldRender&&0!==c.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),i=c.elements,"st"===s||"gs"===s?(d.strokeStyle="st"===s?c.co:c.grd,d.lineWidth=c.wi,d.lineCap=c.lc,d.lineJoin=c.lj,d.miterLimit=c.ml||0):d.fillStyle="fl"===s?c.co:c.grd,u.ctxOpacity(c.coOp),"st"!==s&&"gs"!==s&&d.beginPath(),u.ctxTransform(c.preTransforms.finalTransform.props),n=i.length,t=0;t<n;t+=1){for("st"!==s&&"gs"!==s||(d.beginPath(),c.da&&(d.setLineDash(c.da),d.lineDashOffset=c.do)),o=(a=i[t].trNodes).length,r=0;r<o;r+=1)"m"===a[r].t?d.moveTo(a[r].p[0],a[r].p[1]):"c"===a[r].t?d.bezierCurveTo(a[r].pts[0],a[r].pts[1],a[r].pts[2],a[r].pts[3],a[r].pts[4],a[r].pts[5]):d.closePath();"st"!==s&&"gs"!==s||(d.stroke(),c.da&&d.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&d.fill(c.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,n,r){var o,i;for(i=e,o=t.length-1;o>=0;o-=1)"tr"===t[o].ty?(i=n[o].transform,this.renderShapeTransform(e,i)):"sh"===t[o].ty||"el"===t[o].ty||"rc"===t[o].ty||"sr"===t[o].ty?this.renderPath(t[o],n[o]):"fl"===t[o].ty?this.renderFill(t[o],n[o],i):"st"===t[o].ty?this.renderStroke(t[o],n[o],i):"gf"===t[o].ty||"gs"===t[o].ty?this.renderGradientFill(t[o],n[o],i):"gr"===t[o].ty?this.renderShape(i,t[o].it,n[o].it):t[o].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,r,o,i=e.trNodes,a=t.paths,s=a._length;i.length=0;var c=e.transforms.finalTransform;for(o=0;o<s;o+=1){var l=a.shapes[o];if(l&&l.v){for(r=l._length,n=1;n<r;n+=1)1===n&&i.push({t:"m",p:c.applyToPointArray(l.v[0][0],l.v[0][1],0)}),i.push({t:"c",pts:c.applyToTriplePoints(l.o[n-1],l.i[n],l.v[n])});1===r&&i.push({t:"m",p:c.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&r&&(i.push({t:"c",pts:c.applyToTriplePoints(l.o[n-1],l.i[0],l.v[0])}),i.push({t:"z"}))}}e.trNodes=i}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var n,r=t.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(t.styledShapes[n],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,n){var r=t.style;(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,n){var r,o=t.style;if(!o.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var i,a=this.globalData.canvasContext,s=t.s.v,c=t.e.v;if(1===e.t)r=a.createLinearGradient(s[0],s[1],c[0],c[1]);else{var l=Math.sqrt(Math.pow(s[0]-c[0],2)+Math.pow(s[1]-c[1],2)),u=Math.atan2(c[1]-s[1],c[0]-s[0]),d=t.h.v;d>=1?d=.99:d<=-1&&(d=-.99);var p=l*d,h=Math.cos(u+t.a.v)*p+s[0],f=Math.sin(u+t.a.v)*p+s[1];r=a.createRadialGradient(h,f,0,s[0],s[1],l)}var m=e.g.p,g=t.g.c,v=1;for(i=0;i<m;i+=1)t.g._hasOpacity&&t.g._collapsable&&(v=t.g.o[2*i+1]),r.addColorStop(g[4*i]/100,"rgba("+g[4*i+1]+","+g[4*i+2]+","+g[4*i+3]+","+v+")");o.grd=r}o.coOp=t.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(e,t,n){var r=t.style,o=t.d;o&&(o._mdf||this._isFirstFrame)&&(r.da=o.dashArray,r.do=o.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity),(t.w._mdf||this._isFirstFrame)&&(r.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var n=!1;e.sc&&(n=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var r,o,i,a,s,c,l,u,d,p,h,f,m=this.globalData.fontManager.getFontByName(e.f),g=e.l,v=this.mHelper;this.stroke=n,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,o=e.finalText.length;var y=this.data.singleShape,b=.001*e.tr*e.finalSize,_=0,C=0,w=!0,E=0;for(r=0;r<o;r+=1){a=(i=this.globalData.fontManager.getCharData(e.finalText[r],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&i.data||{},v.reset(),y&&g[r].n&&(_=-b,C+=e.yOffset,C+=w?1:0,w=!1),d=(l=a.shapes?a.shapes[0].it:[]).length,v.scale(e.finalSize/100,e.finalSize/100),y&&this.applyTextPropertiesToMatrix(e,v,g[r].line,_,C),h=createSizedArray(d-1);var x=0;for(u=0;u<d;u+=1)if("sh"===l[u].ty){for(c=l[u].ks.k.i.length,p=l[u].ks.k,f=[],s=1;s<c;s+=1)1===s&&f.push(v.applyToX(p.v[0][0],p.v[0][1],0),v.applyToY(p.v[0][0],p.v[0][1],0)),f.push(v.applyToX(p.o[s-1][0],p.o[s-1][1],0),v.applyToY(p.o[s-1][0],p.o[s-1][1],0),v.applyToX(p.i[s][0],p.i[s][1],0),v.applyToY(p.i[s][0],p.i[s][1],0),v.applyToX(p.v[s][0],p.v[s][1],0),v.applyToY(p.v[s][0],p.v[s][1],0));f.push(v.applyToX(p.o[s-1][0],p.o[s-1][1],0),v.applyToY(p.o[s-1][0],p.o[s-1][1],0),v.applyToX(p.i[0][0],p.i[0][1],0),v.applyToY(p.i[0][0],p.i[0][1],0),v.applyToX(p.v[0][0],p.v[0][1],0),v.applyToY(p.v[0][0],p.v[0][1],0)),h[x]=f,x+=1}y&&(_+=g[r].l,_+=b),this.textSpans[E]?this.textSpans[E].elem=h:this.textSpans[E]={elem:h},E+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,n,r,o,i,a=this.canvasContext;a.font=this.values.fValue,a.lineCap="butt",a.lineJoin="miter",a.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,c=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;t=l.length;var u,d,p=null,h=null,f=null;for(e=0;e<t;e+=1)if(!l[e].n){if((s=c[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(s.p),this.globalData.renderer.ctxOpacity(s.o)),this.fill){for(s&&s.fc?p!==s.fc&&(p=s.fc,a.fillStyle=s.fc):p!==this.values.fill&&(p=this.values.fill,a.fillStyle=this.values.fill),r=(u=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(i=(d=u[n]).length,this.globalData.canvasContext.moveTo(d[0],d[1]),o=2;o<i;o+=6)this.globalData.canvasContext.bezierCurveTo(d[o],d[o+1],d[o+2],d[o+3],d[o+4],d[o+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(s&&s.sw?f!==s.sw&&(f=s.sw,a.lineWidth=s.sw):f!==this.values.sWidth&&(f=this.values.sWidth,a.lineWidth=this.values.sWidth),s&&s.sc?h!==s.sc&&(h=s.sc,a.strokeStyle=s.sc):h!==this.values.stroke&&(h=this.values.stroke,a.strokeStyle=this.values.stroke),r=(u=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(i=(d=u[n]).length,this.globalData.canvasContext.moveTo(d[0],d[1]),o=2;o<i;o+=6)this.globalData.canvasContext.bezierCurveTo(d[o],d[o+1],d[o+2],d[o+3],d[o+4],d[o+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,n,r=e.getContext("2d"),o=this.img.width,i=this.img.height,a=o/i,s=this.assetData.w/this.assetData.h,c=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&"xMidYMid slice"===c||a<s&&"xMidYMid slice"!==c?t=(n=i)*s:n=(t=o)/s,r.drawImage(this.img,(o-t)/2,(i-n)/2,t,n,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.cTr.props;this.transformMat.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var n=this.contextData.cTr.props;this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=e<0?0:e,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(e){if(this.renderConfig.clearCanvas){e&&this.canvasContext.save();var t,n=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r=this.contextData.saved[this.contextData.cArrPos];for(t=0;t<16;t+=1)r[t]=n[t];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var t,n=this.contextData.saved[this.contextData.cArrPos],r=this.contextData.cTr.props;for(t=0;t<16;t+=1)r[t]=n[t];this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),n=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=n,this.globalData.currentGlobalAlpha!==n&&(this.canvasContext.globalAlpha=n,this.globalData.currentGlobalAlpha=n)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var n="0px 0px 0px";t.transformOrigin=n,t.mozTransformOrigin=n,t.webkitTransformOrigin=n,t["-webkit-transform"]=n,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(){var e,t,n,r;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var o=this.renderConfig.preserveAspectRatio.split(" "),i=o[1]||"meet",a=o[0]||"xMidYMid",s=a.substr(0,4),c=a.substr(4);n=e/t,(r=this.transformCanvas.w/this.transformCanvas.h)>n&&"meet"===i||r<n&&"slice"===i?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===s&&(r<n&&"meet"===i||r>n&&"slice"===i)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(r<n&&"meet"===i||r>n&&"slice"===i)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===c&&(r>n&&"meet"===i||r<n&&"slice"===i)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===c&&(r>n&&"meet"===i||r<n&&"slice"===i)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var n;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=0;n<r;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t=e[n].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var n,r,o,i,a,s=e.sh.v,c=e.transformers,l=s._length;if(!(l<=1)){for(n=0;n<l-1;n+=1)r=this.getTransformedPoint(c,s.v[n]),o=this.getTransformedPoint(c,s.o[n]),i=this.getTransformedPoint(c,s.i[n+1]),a=this.getTransformedPoint(c,s.v[n+1]),this.checkBounds(r,o,i,a,t);s.c&&(r=this.getTransformedPoint(c,s.v[n]),o=this.getTransformedPoint(c,s.o[n]),i=this.getTransformedPoint(c,s.i[0]),a=this.getTransformedPoint(c,s.v[0]),this.checkBounds(r,o,i,a,t))}},HShapeElement.prototype.checkBounds=function(e,t,n,r,o){this.getBoundsOfCurve(e,t,n,r);var i=this.shapeBoundingBox;o.x=bmMin(i.left,o.x),o.xMax=bmMax(i.right,o.xMax),o.y=bmMin(i.top,o.y),o.yMax=bmMax(i.bottom,o.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,n,r){for(var o,i,a,s,c,l,u,d=[[e[0],r[0]],[e[1],r[1]]],p=0;p<2;++p)i=6*e[p]-12*t[p]+6*n[p],o=-3*e[p]+9*t[p]-9*n[p]+3*r[p],a=3*t[p]-3*e[p],i|=0,a|=0,0===(o|=0)&&0===i||(0===o?(s=-a/i)>0&&s<1&&d[p].push(this.calculateF(s,e,t,n,r,p)):(c=i*i-4*a*o)>=0&&((l=(-i+bmSqrt(c))/(2*o))>0&&l<1&&d[p].push(this.calculateF(l,e,t,n,r,p)),(u=(-i-bmSqrt(c))/(2*o))>0&&u<1&&d[p].push(this.calculateF(u,e,t,n,r,p))));this.shapeBoundingBox.left=bmMin.apply(null,d[0]),this.shapeBoundingBox.top=bmMin.apply(null,d[1]),this.shapeBoundingBox.right=bmMax.apply(null,d[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,d[1])},HShapeElement.prototype.calculateF=function(e,t,n,r,o,i){return bmPow(1-e,3)*t[i]+3*bmPow(1-e,2)*e*n[i]+3*(1-e)*bmPow(e,2)*r[i]+bmPow(e,3)*o[i]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]&&e[n].sh?this.calculateShapeBoundingBox(e[n],t):e[n]&&e[n].it?this.calculateBoundingBox(e[n].it,t):e[n]&&e[n].style&&e[n].w&&this.expandStrokeBoundingBox(e[n].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var n=0;if(e.keyframes){for(var r=0;r<e.keyframes.length;r+=1){var o=e.keyframes[r].s;o>n&&(n=o)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var n=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),n=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),n=!0),n||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,o="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=o,r.webkitTransform=o}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,n=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=n,t.color=n,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r,o,i=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{t.fontFamily=i.fFamily;var a=e.fWeight,s=e.fStyle;t.fontStyle=s,t.fontWeight=a}var c,l,u,d=e.l;o=d.length;var p,h=this.mHelper,f="",m=0;for(r=0;r<o;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?c=this.textPaths[m]:((c=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),c.setAttribute("stroke-linejoin",lineJoinEnum[2]),c.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?u=(l=this.textSpans[m]).children[0]:((l=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(c),styleDiv(l)))):this.isMasked?c=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(l=this.textSpans[m],c=this.textPaths[m]):(styleDiv(l=createTag("span")),styleDiv(c=createTag("span")),l.appendChild(c)),this.globalData.fontManager.chars){var g,v=this.globalData.fontManager.getCharData(e.finalText[r],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(g=v?v.data:null,h.reset(),g&&g.shapes&&g.shapes.length&&(p=g.shapes[0].it,h.scale(e.finalSize/100,e.finalSize/100),f=this.createPathShape(h,p),c.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(c);else{if(this.innerElem.appendChild(l),g&&g.shapes){document.body.appendChild(u);var y=u.getBBox();u.setAttribute("width",y.width+2),u.setAttribute("height",y.height+2),u.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var b=u.style,_="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";b.transform=_,b.webkitTransform=_,d[r].yOffset=y.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);l.appendChild(u)}}else if(c.textContent=d[r].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(c);else{this.innerElem.appendChild(l);var C=c.style,w="translate3d(0,"+-e.finalSize/1.2+"px,0)";C.transform=w,C.webkitTransform=w}this.isMasked?this.textSpans[m]=c:this.textSpans[m]=l,this.textSpans[m].style.display="block",this.textPaths[m]=c,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,r,o,i,a,s=0,c=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;for(r=l.length,n=0;n<r;n+=1)l[n].n?s+=1:(i=this.textSpans[n],a=this.textPaths[n],o=c[s],s+=1,o._mdf.m&&(this.isMasked?i.setAttribute("transform",o.m):(i.style.webkitTransform=o.m,i.style.transform=o.m)),i.style.opacity=o.o,o.sw&&o._mdf.sw&&a.setAttribute("stroke-width",o.sw),o.sc&&o._mdf.sc&&a.setAttribute("stroke",o.sc),o.fc&&o._mdf.fc&&(a.setAttribute("fill",o.fc),a.style.color=o.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();if(this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height)),this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var d="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=d,e.webkitTransform=d}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,n,r,o=this.comp.threeDElements.length;for(e=0;e<o;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){n=t.perspectiveElem.style,r=t.container.style;var i=this.pe.v+"px",a="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=i,n.webkitPerspective=i,r.transformOrigin=a,r.mozTransformOrigin=a,r.webkitTransformOrigin=a,n.transform=s,n.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,n=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)n=this.hierarchy[e].finalTransform.mProp._mdf||n;if(n||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var o;o=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var i=Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2)+Math.pow(o[2],2)),a=[o[0]/i,o[1]/i,o[2]/i],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),c=Math.atan2(a[1],s),l=Math.atan2(a[0],-a[2]);this.mat.rotateY(l).rotateX(-c)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var d,p,h;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(d=this.comp.threeDElements[e]).type){if(u){var f=this.mat.toCSS();(h=d.container.style).transform=f,h.webkitTransform=f}this.pe._mdf&&((p=d.perspectiveElem.style).perspective=this.pe.v+"px",p.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){var r=this.layers[t];if(r.ddd&&this.supports3d)this.addTo3dContainer(n,t);else if(this.threeDElements)this.addTo3dContainer(n,t);else{for(var o,i,a=0;a<t;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement&&(i=this.elements[a],o=(this.layers[a].ddd?this.getThreeDContainerByPos(a):i.getBaseElement())||o),a+=1;o?r.ddd&&this.supports3d||this.layerElement.insertBefore(n,o):r.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,n=this.threeDElements.length;t<n;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var n,r,o=createTag("div");styleDiv(o);var i=createTag("div");if(styleDiv(i),"3d"===t){(n=o.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var a="50% 50%";n.webkitTransformOrigin=a,n.mozTransformOrigin=a,n.transformOrigin=a;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=i.style).transform=s,r.webkitTransform=s}o.appendChild(i);var c={container:i,perspectiveElem:o,startPos:e,endPos:e,type:t};return this.threeDElements.push(c),c},HybridRendererBase.prototype.build3dContainers=function(){var e,t,n=this.layers.length,r="";for(e=0;e<n;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==r&&(r="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==r&&(r="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(n=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,r=this.threeDElements.length;n<r;){if(t<=this.threeDElements[n].endPos){for(var o,i=this.threeDElements[n].startPos;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(o=this.elements[i].getBaseElement()),i+=1;o?this.threeDElements[n].container.insertBefore(e,o):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),n=this.animationItem.wrapper,r=t.style;r.width=e.w+"px",r.height=e.h+"px",this.resizerElem=t,styleDiv(t),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),n.appendChild(t),r.overflow="hidden";var o=createNS("svg");o.setAttribute("width","1"),o.setAttribute("height","1"),styleDiv(o),this.resizerElem.appendChild(o);var i=createNS("defs");o.appendChild(i),this.data=e,this.setupGlobalData(e,o),this.globalData.defs=i,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,n,r,o=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight,a=o/i;this.globalData.compSize.w/this.globalData.compSize.h>a?(e=o/this.globalData.compSize.w,t=o/this.globalData.compSize.w,n=0,r=(i-this.globalData.compSize.h*(o/this.globalData.compSize.w))/2):(e=i/this.globalData.compSize.h,t=i/this.globalData.compSize.h,n=(o-this.globalData.compSize.w*(i/this.globalData.compSize.h))/2,r=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+r+",0,1)",s.transform=s.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(e=0;e<r;e+=1){var o=this.threeDElements[e].perspectiveElem.style;o.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(n,2))+"px",o.perspective=o.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,n=e.length,r=createTag("div");for(t=0;t<n;t+=1)if(e[t].xt){var o=this.createComp(e[t],r,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var n,r=0;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(e,n):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var Expressions=function(){var e={initExpressions:function(e){var t=0,n=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0===(t-=1)&&function(){var e,t=n.length;for(e=0;e<t;e+=1)n[e].release();n.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===n.indexOf(e)&&n.push(e)}}};return e}();function _typeof$1(e){return _typeof$1="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}function seedRandom(e,t){var n=this,r=256,o=t.pow(r,6),i=t.pow(2,52),a=2*i,s=255;function c(e){var t,n=e.length,o=this,i=0,a=o.i=o.j=0,c=o.S=[];for(n||(e=[n++]);i<r;)c[i]=i++;for(i=0;i<r;i++)c[i]=c[a=s&a+e[i%n]+(t=c[i])],c[a]=t;o.g=function(e){for(var t,n=0,i=o.i,a=o.j,c=o.S;e--;)t=c[i=s&i+1],n=n*r+c[s&(c[i]=c[a=s&a+t])+(c[a]=t)];return o.i=i,o.j=a,n}}function l(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function u(e,t){var n,r=[],o=_typeof$1(e);if(t&&"object"==o)for(n in e)try{r.push(u(e[n],t-1))}catch(i){}return r.length?r:"string"==o?e:e+"\0"}function d(e,t){for(var n,r=e+"",o=0;o<r.length;)t[s&o]=s&(n^=19*t[s&o])+r.charCodeAt(o++);return p(t)}function p(e){return String.fromCharCode.apply(0,e)}t.seedrandom=function(s,h,f){var m=[],g=d(u((h=!0===h?{entropy:!0}:h||{}).entropy?[s,p(e)]:null===s?function(){try{var t=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(t),p(t)}catch(a){var o=n.navigator,i=o&&o.plugins;return[+new Date,n,i,n.screen,p(e)]}}():s,3),m),v=new c(m),y=function(){for(var e=v.g(6),t=o,n=0;e<i;)e=(e+n)*r,t*=r,n=v.g(1);for(;e>=a;)e/=2,t/=2,n>>>=1;return(e+n)/t};return y.int32=function(){return 0|v.g(4)},y.quick=function(){return v.g(4)/4294967296},y.double=y,d(p(v.S),e),(h.pass||f||function(e,n,r,o){return o&&(o.S&&l(o,v),e.state=function(){return l(v,{})}),r?(t.random=e,n):e})(y,g,"global"in h?h.global:this==t,h.state)},d(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){return _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var n,r=e.length,o=[];for(n=0;n<r;n+=1)o[n]=-e[n];return o}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var n=_typeof(e),r=_typeof(t);if("string"===n||"string"===r)return e+t;if(isNumerable(n,e)&&isNumerable(r,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var o=0,i=e.length,a=t.length,s=[];o<i||o<a;)("number"===typeof e[o]||e[o]instanceof Number)&&("number"===typeof t[o]||t[o]instanceof Number)?s[o]=e[o]+t[o]:s[o]=void 0===t[o]?e[o]:e[o]||t[o],o+=1;return s}return 0}var add=sum;function sub(e,t){var n=_typeof(e),r=_typeof(t);if(isNumerable(n,e)&&isNumerable(r,t))return"string"===n&&(e=parseInt(e,10)),"string"===r&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var o=0,i=e.length,a=t.length,s=[];o<i||o<a;)("number"===typeof e[o]||e[o]instanceof Number)&&("number"===typeof t[o]||t[o]instanceof Number)?s[o]=e[o]-t[o]:s[o]=void 0===t[o]?e[o]:e[o]||t[o],o+=1;return s}return 0}function mul(e,t){var n,r,o,i=_typeof(e),a=_typeof(t);if(isNumerable(i,e)&&isNumerable(a,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(o=e.length,n=createTypedArray("float32",o),r=0;r<o;r+=1)n[r]=e[r]*t;return n}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),r=0;r<o;r+=1)n[r]=e*t[r];return n}return 0}function div(e,t){var n,r,o,i=_typeof(e),a=_typeof(t);if(isNumerable(i,e)&&isNumerable(a,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t)){for(o=e.length,n=createTypedArray("float32",o),r=0;r<o;r+=1)n[r]=e[r]/t;return n}if(isNumerable(i,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,n=createTypedArray("float32",o),r=0;r<o;r+=1)n[r]=e/t[r];return n}return 0}function mod(e,t){return"string"===typeof e&&(e=parseInt(e,10)),"string"===typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,n){if(t>n){var r=n;n=t,t=r}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"===typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var n;t||(t=helperLengthArray);var r=Math.min(e.length,t.length),o=0;for(n=0;n<r;n+=1)o+=Math.pow(t[n]-e[n],2);return Math.sqrt(o)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,n,r=e[0],o=e[1],i=e[2],a=Math.max(r,o,i),s=Math.min(r,o,i),c=(a+s)/2;if(a===s)t=0,n=0;else{var l=a-s;switch(n=c>.5?l/(2-a-s):l/(a+s),a){case r:t=(o-i)/l+(o<i?6:0);break;case o:t=(i-r)/l+2;break;case i:t=(r-o)/l+4}t/=6}return[t,n,c,e[3]]}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t,n,r,o=e[0],i=e[1],a=e[2];if(0===i)t=a,r=a,n=a;else{var s=a<.5?a*(1+i):a+i-a*i,c=2*a-s;t=hue2rgb(c,s,o+1/3),n=hue2rgb(c,s,o),r=hue2rgb(c,s,o-1/3)}return[t,n,r,e[3]]}function linear(e,t,n,r,o){if(void 0!==r&&void 0!==o||(r=t,o=n,t=0,n=1),n<t){var i=n;n=t,t=i}if(e<=t)return r;if(e>=n)return o;var a,s=n===t?0:(e-t)/(n-t);if(!r.length)return r+(o-r)*s;var c=r.length,l=createTypedArray("float32",c);for(a=0;a<c;a+=1)l[a]=r[a]+(o[a]-r[a])*s;return l}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var n,r=t.length;e||(e=createTypedArray("float32",r));var o=createTypedArray("float32",r),i=BMMath.random();for(n=0;n<r;n+=1)o[n]=e[n]+i*(t[n]-e[n]);return o}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,n,r){var o,i=e.length,a=shapePool.newElement();a.setPathData(!!r,i);var s,c,l=[0,0];for(o=0;o<i;o+=1)s=t&&t[o]?t[o]:l,c=n&&n[o]?n[o]:l,a.setTripleAt(e[o][0],e[o][1],c[0]+e[o][0],c[1]+e[o][1],s[0]+e[o][0],s[1]+e[o][1],o,!0);return a}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var n,r,o=this.pv.length?this.pv.length:1,i=createTypedArray("float32",o),a=Math.floor(5*time);for(n=0,r=0;n<a;){for(r=0;r<o;r+=1)i[r]+=-t+2*t*BMMath.random();n+=1}var s=5*time,c=s-Math.floor(s),l=createTypedArray("float32",o);if(o>1){for(r=0;r<o;r+=1)l[r]=this.pv[r]+i[r]+(-t+2*t*BMMath.random())*c;return l}return this.pv+i[0]+(-t+2*t*BMMath.random())*c}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,r,0]}function easeOut(e,t,n,r,o){return applyEase(easeOutBez,e,t,n,r,o)}function easeIn(e,t,n,r,o){return applyEase(easeInBez,e,t,n,r,o)}function ease(e,t,n,r,o){return applyEase(easeInOutBez,e,t,n,r,o)}function applyEase(e,t,n,r,o,i){void 0===o?(o=n,i=r):t=(t-n)/(r-n),t>1?t=1:t<0&&(t=0);var a=e(t);if($bm_isInstanceOfArray(o)){var s,c=o.length,l=createTypedArray("float32",c);for(s=0;s<c;s+=1)l[s]=(i[s]-o[s])*a+o[s];return l}return(i-o)*a+o}function nearestKey(e){var t,n,r,o=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(n=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,r=data.k[0].t;else{for(t=0;t<o-1;t+=1){if(e===data.k[t].t){n=t+1,r=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(n=t+2,r=data.k[t+1].t):(n=t+1,r=data.k[t].t);break}}-1===n&&(n=t+1,r=data.k[t].t)}else n=0,r=0;var i={};return i.index=n,i.time=r/elem.comp.globalData.frameRate,i}function key(e){var t,n,r;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var o=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=o.length,n=0;n<r;n+=1)t[n]=o[n],t.value[n]=o[n];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"===typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"===typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(e,t,n){t.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(e,t,n).bind(n)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),n=this.getValueAtTime(e+-.01),r=0;if(t.length){var o;for(o=0;o<t.length;o+=1)r+=Math.pow(n[o]-t[o],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,n,r=-.001,o=this.getValueAtTime(e),i=this.getValueAtTime(e+r);if(o.length)for(t=createTypedArray("float32",o.length),n=0;n<o.length;n+=1)t[n]=(i[n]-o[n])/r;else t=(i-o)/r;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,n){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var r,o,i,a,s,c=this.comp.renderedFrame,l=this.keyframes,u=l[l.length-1].t;if(c<=u)return this.pv;if(n?o=u-(r=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>l.length-1)&&(t=l.length-1),r=u-(o=l[l.length-1-t].t)),"pingpong"===e){if(Math.floor((c-o)/r)%2!==0)return this.getValueAtTime((r-(c-o)%r+o)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(o/this.comp.globalData.frameRate,0),p=this.getValueAtTime(u/this.comp.globalData.frameRate,0),h=this.getValueAtTime(((c-o)%r+o)/this.comp.globalData.frameRate,0),f=Math.floor((c-o)/r);if(this.pv.length){for(a=(s=new Array(d.length)).length,i=0;i<a;i+=1)s[i]=(p[i]-d[i])*f+h[i];return s}return(p-d)*f+h}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,i=0;i<a;i+=1)s[i]=m[i]+(m[i]-g[i])*((c-u)/this.comp.globalData.frameRate)/5e-4;return s}return m+(c-u)/.001*(m-g)}}return this.getValueAtTime(((c-o)%r+o)/this.comp.globalData.frameRate,0)}function t(e,t,n){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var r,o,i,a,s,c=this.comp.renderedFrame,l=this.keyframes,u=l[0].t;if(c>=u)return this.pv;if(n?o=u+(r=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>l.length-1)&&(t=l.length-1),r=(o=l[t].t)-u),"pingpong"===e){if(Math.floor((u-c)/r)%2===0)return this.getValueAtTime(((u-c)%r+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),p=this.getValueAtTime(o/this.comp.globalData.frameRate,0),h=this.getValueAtTime((r-(u-c)%r+u)/this.comp.globalData.frameRate,0),f=Math.floor((u-c)/r)+1;if(this.pv.length){for(a=(s=new Array(d.length)).length,i=0;i<a;i+=1)s[i]=h[i]-(p[i]-d[i])*f;return s}return h-(p-d)*f}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(s=new Array(m.length)).length,i=0;i<a;i+=1)s[i]=m[i]+(m[i]-g[i])*(u-c)/.001;return s}return m+(m-g)*(u-c)/.001}}return this.getValueAtTime((r-((u-c)%r+u))/this.comp.globalData.frameRate,0)}function n(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var n,r,o=this.comp.renderedFrame/this.comp.globalData.frameRate,i=o-e,a=t>1?(o+e-i)/(t-1):1,s=0,c=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;s<t;){if(r=this.getValueAtTime(i+s*a),this.pv.length)for(c=0;c<this.pv.length;c+=1)n[c]+=r[c];else n+=r;s+=1}if(this.pv.length)for(c=0;c<this.pv.length;c+=1)n[c]/=t;else n/=t;return n}function r(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(e);t.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var r=this.s.getValueAtTime(e);t.scale(r[0]*this.s.mult,r[1]*this.s.mult,r[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var o=this.sk.getValueAtTime(e),i=this.sa.getValueAtTime(e);t.skewFromAxis(-o*this.sk.mult,i*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(e);t.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(e),c=this.ry.getValueAtTime(e),l=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-s*this.rz.mult).rotateY(c*this.ry.mult).rotateX(l*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var d=this.px.getValueAtTime(e),p=this.py.getValueAtTime(e);if(this.data.p.z){var h=this.pz.getValueAtTime(e);t.translate(d*this.px.mult,p*this.py.mult,-h*this.pz.mult)}else t.translate(d*this.px.mult,p*this.py.mult,0)}else{var f=this.p.getValueAtTime(e);t.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return t}function o(){return this.v.clone(new Matrix)}var i=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,n){var a=i(e,t,n);return a.dynamicProperties.length?a.getValueAtTime=r.bind(a):a.getValueAtTime=o.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(r,o,i,s,c){var l=a(r,o,i,s,c);l.kf?l.getValueAtTime=expressionHelpers.getValueAtTime.bind(l):l.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(l),l.setGroupProperty=expressionHelpers.setGroupProperty,l.loopOut=e,l.loopIn=t,l.smooth=n,l.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(l),l.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(l),l.numKeys=1===o.a?o.k.length:0,l.propertyIndex=o.ix;var u=0;return 0!==i&&(u=createTypedArray("float32",1===o.a?o.k[0].s.length:o.k.length)),l._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(r,o,l),l.k&&c.addDynamicProperty(l),l};var s=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function l(){}l.prototype={vertices:function(e,t){this.k&&this.getValue();var n,r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0));var o=r._length,i=r[e],a=r.v,s=createSizedArray(o);for(n=0;n<o;n+=1)s[n]="i"===e||"o"===e?[i[n][0]-a[n][0],i[n][1]-a[n][1]]:[i[n][0],i[n][1]];return s},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var r,o=this._segmentsLength,i=o.lengths,a=o.totalLength*e,s=0,c=i.length,l=0;s<c;){if(l+i[s].addedLength>a){var u=s,d=n.c&&s===c-1?0:s+1,p=(a-l)/i[s].addedLength;r=bez.getPointInSegment(n.v[u],n.v[d],n.o[u],n.i[d],p,i[s]);break}l+=i[s].addedLength,s+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(e,t,n){1==e?e=this.v.c:0==e&&(e=.999);var r=this.pointOnPath(e,t),o=this.pointOnPath(e+.001,t),i=o[0]-r[0],a=o[1]-r[1],s=Math.sqrt(Math.pow(i,2)+Math.pow(a,2));return 0===s?[0,0]:"tangent"===n?[i/s,a/s]:[-a/s,i/s]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],s),extendPrototype([l],c),c.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},c.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,n,r,o){var i=u(e,t,n,r,o);return i.propertyIndex=t.ix,i.lock=!1,3===n?expressionHelpers.searchExpressions(e,t.pt,i):4===n&&expressionHelpers.searchExpressions(e,t.ks,i),i.k&&e.addDynamicProperty(i),i}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var n=this.calculateExpression(t);if(e.t!==n){var r={};return this.copyData(r,e),r.t=n.toString(),r.__complete=!1,r}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}function SVGTintFilter(e,t,n,r,o){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),i.setAttribute("result",r+"_tint_1"),e.appendChild(i),(i=createNS("feColorMatrix")).setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",r+"_tint_2"),e.appendChild(i),this.matrixFilter=i;var a=this.createMergeNode(r,[o,r+"_tint_1",r+"_tint_2"]);e.appendChild(a)}function SVGFillFilter(e,t,n,r){this.filterManager=t;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",r),e.appendChild(o),this.matrixFilter=o}function SVGStrokeEffect(e,t,n){this.initialized=!1,this.filterManager=t,this.elem=n,this.paths=[]}function SVGTritoneFilter(e,t,n,r){this.filterManager=t;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(o);var i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("result",r),this.matrixFilter=i;var a=createNS("feFuncR");a.setAttribute("type","table"),i.appendChild(a),this.feFuncR=a;var s=createNS("feFuncG");s.setAttribute("type","table"),i.appendChild(s),this.feFuncG=s;var c=createNS("feFuncB");c.setAttribute("type","table"),i.appendChild(c),this.feFuncB=c,e.appendChild(i)}function SVGProLevelsFilter(e,t,n,r){this.filterManager=t;var o=this.filterManager.effectElements,i=createNS("feComponentTransfer");(o[10].p.k||0!==o[10].p.v||o[11].p.k||1!==o[11].p.v||o[12].p.k||1!==o[12].p.v||o[13].p.k||0!==o[13].p.v||o[14].p.k||1!==o[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",i)),(o[17].p.k||0!==o[17].p.v||o[18].p.k||1!==o[18].p.v||o[19].p.k||1!==o[19].p.v||o[20].p.k||0!==o[20].p.v||o[21].p.k||1!==o[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",i)),(o[24].p.k||0!==o[24].p.v||o[25].p.k||1!==o[25].p.v||o[26].p.k||1!==o[26].p.v||o[27].p.k||0!==o[27].p.v||o[28].p.k||1!==o[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",i)),(o[31].p.k||0!==o[31].p.v||o[32].p.k||1!==o[32].p.v||o[33].p.k||1!==o[33].p.v||o[34].p.k||0!==o[34].p.v||o[35].p.k||1!==o[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(i)),(o[3].p.k||0!==o[3].p.v||o[4].p.k||1!==o[4].p.v||o[5].p.k||1!==o[5].p.v||o[6].p.k||0!==o[6].p.v||o[7].p.k||1!==o[7].p.v)&&((i=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("result",r),e.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}function SVGDropShadowEffect(e,t,n,r,o){var i=t.container.globalData.renderConfig.filterSize,a=t.data.fs||i;e.setAttribute("x",a.x||i.x),e.setAttribute("y",a.y||i.y),e.setAttribute("width",a.width||i.width),e.setAttribute("height",a.height||i.height),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",r+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,e.appendChild(s);var c=createNS("feOffset");c.setAttribute("dx","25"),c.setAttribute("dy","0"),c.setAttribute("in",r+"_drop_shadow_1"),c.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=c,e.appendChild(c);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=l,e.appendChild(l);var u=createNS("feComposite");u.setAttribute("in",r+"_drop_shadow_3"),u.setAttribute("in2",r+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",r+"_drop_shadow_4"),e.appendChild(u);var d=this.createMergeNode(r,[r+"_drop_shadow_4",o]);e.appendChild(d)}SVGComposableEffect.prototype={createMergeNode:function(e,t){var n,r,o=createNS("feMerge");for(o.setAttribute("result",e),r=0;r<t.length;r+=1)(n=createNS("feMergeNode")).setAttribute("in",t[r]),o.appendChild(n),o.appendChild(n);return o}},extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,n,r,o=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,n=0):r=1+(n=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);n<r;n+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:n});if(3===this.filterManager.effectElements[10].p.v){var i=createNS("mask"),a=createElementID();i.setAttribute("id",a),i.setAttribute("mask-type","alpha"),i.appendChild(t),this.elem.globalData.defs.appendChild(i);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+a+")");o[0];)s.appendChild(o[0]);this.elem.layerElement.appendChild(s),this.masker=i,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(o=this.elem.layerElement.children||this.elem.layerElement.childNodes;o.length;)this.elem.layerElement.removeChild(o[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var n,r,o=this.paths.length;for(t=0;t<o;t+=1)if(-1!==this.paths[t].m&&(n=this.elem.maskManager.viewData[this.paths[t].m],r=this.paths[t].p,(e||this.filterManager._mdf||n.prop._mdf)&&r.setAttribute("d",n.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||n.prop._mdf)){var i;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),c=r.getTotalLength();i="0 0 0 "+c*a+" ";var l,u=c*(s-a),d=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,p=Math.floor(u/d);for(l=0;l<p;l+=1)i+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";i+="0 "+10*c+" 0 0"}else i="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",i)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var h=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*h[0])+","+bmFloor(255*h[1])+","+bmFloor(255*h[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,o=r[0]+" "+n[0]+" "+t[0],i=r[1]+" "+n[1]+" "+t[1],a=r[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",i),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=createNS(e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,r,o){for(var i,a,s=0,c=Math.min(e,t),l=Math.max(e,t),u=Array.call(null,{length:256}),d=0,p=o-r,h=t-e;s<=256;)a=(i=s/256)<=c?h<0?o:r:i>=l?h<0?r:o:r+p*Math.pow((i-e)/h,1/n),u[d]=a,d+=1,s+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=n*Math.cos(r),i=n*Math.sin(r);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",i)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(e,t,n,r){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var o=createNS("feGaussianBlur");o.setAttribute("result",r),e.appendChild(o),this.feGaussianBlur=o}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t<n;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var n=e.layerElement.parentNode;if(n){for(var r,o=n.children,i=0,a=o.length;i<a&&o[i]!==e.layerElement;)i+=1;i<=a-2&&(r=o[i+1]);var s=createNS("use");s.setAttribute("href","#"+t),r?n.insertBefore(s,r):n.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",t.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var o=e.globalData.defs;o.appendChild(r);var i=createNS("symbol");i.setAttribute("id",n),this.replaceInParent(t,n),i.appendChild(t.layerElement),o.appendChild(i);var a=createNS("use");a.setAttribute("href","#"+n),r.appendChild(a),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,n=0,r=t.length;n<r;)t[n]&&t[n].data.ind===e&&this.setElementAsMask(this.elem,t[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=3==n?0:t,o=2==n?0:t;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+o);var i=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",i)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),setExpressionsPlugin(Expressions),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=factory())},20048:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=7*o,a=365.25*o;function s(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var i=Math.abs(e);if(i>=o)return s(e,i,o,"day");if(i>=r)return s(e,i,r,"hour");if(i>=n)return s(e,i,n,"minute");if(i>=t)return s(e,i,t,"second");return e+" ms"}(e):function(e){var i=Math.abs(e);if(i>=o)return Math.round(e/o)+"d";if(i>=r)return Math.round(e/r)+"h";if(i>=n)return Math.round(e/n)+"m";if(i>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},93545:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===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 r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,i){for(var a,s,c=o(e),l=1;l<arguments.length;l++){for(var u in a=Object(arguments[l]))n.call(a,u)&&(c[u]=a[u]);if(t){s=t(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(c[s[d]]=a[s[d]])}}return c}},40960:function(e,t,n){var r=n(61279);e.exports=h,e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],p=n[1],h=n.index;if(s+=e.slice(a,h),a=h+d.length,p)s+=p[1];else{var f=e[a],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],_=n[7];s&&(r.push(s),s="");var C=null!=m&&null!=f&&f!==m,w="+"===b||"*"===b,E="?"===b||"*"===b,x=n[2]||u,S=v||y;r.push({name:g||i++,prefix:m||"",delimiter:x,optional:E,repeat:w,partial:C,asterisk:!!_,pattern:S?l(S):_?".*":"[^"+c(x)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"===typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var i="",s=t||{},c=(o||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var u=e[l];if("string"!==typeof u){var d,p=s[u.name];if(null==p){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(p)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(d=c(p[h]),!n[l].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===h?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(p),!n[l].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var l=e[s];if("string"===typeof l)a+=c(l);else{var p=c(l.prefix),h="(?:"+l.pattern+")";t.push(l),l.repeat&&(h+="(?:"+p+h+")*"),a+=h=l.optional?l.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var f=c(n.delimiter||"/"),m=a.slice(-f.length)===f;return o||(a=(m?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+f+"|$)",u(new RegExp("^"+a,d(n)),t)}function h(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(h(e[o],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return p(i(e,n),t,n)}(e,t,n)}},61279:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},11481:function(e){"use strict";var t={};function n(e){var n;return t[e]?e:(n=e.toLowerCase().replace("_","-"),t[n]?n:(n=n.split("-")[0],t[n]?n:null))}function r(e,r){var o=n(e);if(!o)return-1;if(!t[o].cFn)return 0;var i=String(r),a=i.indexOf(".")<0?"":i.split(".")[1],s=a.length,c=+r,l=+i.split(".")[0],u=0===a.length?0:+a.replace(/0+$/,"");return t[o].cFn(c,l,s,+a,u)}function o(e,r){var o=n(e);if(!o)return-1;if(!t[o].oFn)return 0;var i=String(r),a=i.indexOf(".")<0?"":i.split(".")[1],s=a.length,c=+r,l=+i.split(".")[0],u=0===a.length?0:+a.replace(/0+$/,"");return t[o].oFn(c,l,s,+a,u)}e.exports=function(e,o){var i=n(e);return i?t[i].c[r(i,o)]:null},e.exports.indexOf=r,e.exports.forms=function(e){var r=n(e);return t[r]?t[r].c:null},e.exports.ordinal=function(e,r){var i=n(e);return t[i]?t[i].o[o(i,r)]:null},e.exports.ordinal.indexOf=o,e.exports.ordinal.forms=function(e){var r=n(e);return t[r]?t[r].o:null};var i=["zero","one","two","few","many","other"];function a(e){return i[e]}function s(e,n){var r;for(n.c=n.c?n.c.map(a):["other"],n.o=n.o?n.o.map(a):["other"],r=0;r<e.length;r++)t[e[r]]=n}function c(e,t,n){return e<=n&&n<=t&&n%1===0}function l(e,t){return e.indexOf(t)>=0}s(["af","an","asa","bem","bez","bg","brx","ce","cgg","chr","ckb","dv","ee","el","eo","es","eu","fo","fur","gsw","ha","haw","jgo","jmc","kaj","kcg","kkj","kl","ks","ksb","ku","ky","lb","lg","mas","mgo","ml","mn","nah","nb","nd","nn","nnh","no","nr","ny","nyn","om","os","pap","ps","rm","rof","rwk","saq","sd","sdh","seh","sn","so","ss","ssy","st","syr","ta","te","teo","tig","tn","tr","ts","ug","uz","ve","vo","vun","wae","xh","xog"],{c:[1,5],cFn:function(e){return 1===e?0:1}}),s(["ak","bho","guw","ln","mg","nso","pa","ti","wa"],{c:[1,5],cFn:function(e){return c(0,1,e)?0:1}}),s(["am","fa","kn","zu"],{c:[1,5],cFn:function(e,t){return 0===t||1===e?0:1}}),s(["ar","ars"],{c:[0,1,2,3,4,5],cFn:function(e){var t=e%100;return 0===e?0:1===e?1:2===e?2:c(3,10,t)?3:c(11,99,t)?4:5}}),s(["as","bn"],{c:[1,5],cFn:function(e,t){return 0===t||1===e?0:1},o:[1,2,3,4,5],oFn:function(e){return l([1,5,7,8,9,10],e)?0:l([2,3],e)?1:4===e?2:6===e?3:4}}),s(["ast","de","et","fi","fy","gl","ia","io","ji","nl","pt-pt","sw","ur","yi"],{c:[1,5],cFn:function(e,t,n){return 1===t&&0===n?0:1}}),s(["az"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,3,4,5],oFn:function(e,t){var n=t%10,r=t%100,o=t%1e3;return l([1,2,5,7,8],n)||l([20,50,70,80],r)?0:l([3,4],n)||l([100,200,300,400,500,600,700,800,900],o)?1:0===t||6===n||l([40,60,90],r)?2:3}}),s(["be"],{c:[1,3,4,5],cFn:function(e){var t=e%10,n=e%100;return 1===t&&11!==n?0:c(2,4,t)&&!c(12,14,n)?1:0===t||c(5,9,t)||c(11,14,n)?2:3},o:[3,5],oFn:function(e){var t=e%100;return l([2,3],e%10)&&!l([12,13],t)?0:1}}),s(["bm","bo","dz","id","ig","ii","in","ja","jbo","jv","jw","kde","kea","km","ko","lkt","my","nqo","osa","root","sah","ses","sg","su","th","to","wo","yo","yue","zh"],{}),s(["br"],{c:[1,2,3,4,5],cFn:function(e){var t=e%10,n=e%100,r=e%1e6;return 1!==t||l([11,71,91],n)?2!==t||l([12,72,92],n)?!c(3,4,t)&&9!==t||c(10,19,n)||c(70,79,n)||c(90,99,n)?0!==e&&0===r?3:4:2:1:0}}),s(["bs","hr","sh","sr"],{c:[1,3,5],cFn:function(e,t,n,r){var o=t%10,i=t%100,a=r%10,s=r%100;return 0===n&&1===o&&11!==i||1===a&&11!==s?0:0===n&&c(2,4,o)&&!c(12,14,i)||c(2,4,a)&&!c(12,14,s)?1:2}}),s(["ca"],{c:[1,5],cFn:function(e,t,n){return 1===t&&0===n?0:1},o:[1,2,3,5],oFn:function(e){return l([1,3],e)?0:2===e?1:4===e?2:3}}),s(["ceb"],{c:[1,5],cFn:function(e,t,n,r){var o=t%10,i=r%10;return 0===n&&l([1,2,3],t)||0===n&&!l([4,6,9],o)||0!==n&&!l([4,6,9],i)?0:1}}),s(["cs","sk"],{c:[1,3,4,5],cFn:function(e,t,n){return 1===t&&0===n?0:c(2,4,t)&&0===n?1:0!==n?2:3}}),s(["cy"],{c:[0,1,2,3,4,5],cFn:function(e){return 0===e?0:1===e?1:2===e?2:3===e?3:6===e?4:5},o:[0,1,2,3,4,5],oFn:function(e){return l([0,7,8,9],e)?0:1===e?1:2===e?2:l([3,4],e)?3:l([5,6],e)?4:5}}),s(["da"],{c:[1,5],cFn:function(e,t,n,r,o){return 1===e||0!==o&&l([0,1],t)?0:1}}),s(["dsb","hsb"],{c:[1,2,3,5],cFn:function(e,t,n,r){var o=t%100,i=r%100;return 0===n&&1===o||1===i?0:0===n&&2===o||2===i?1:0===n&&c(3,4,o)||c(3,4,i)?2:3}}),s(["en"],{c:[1,5],cFn:function(e,t,n){return 1===t&&0===n?0:1},o:[1,2,3,5],oFn:function(e){var t=e%10,n=e%100;return 1===t&&11!==n?0:2===t&&12!==n?1:3===t&&13!==n?2:3}}),s(["ff","kab"],{c:[1,5],cFn:function(e,t){return l([0,1],t)?0:1}}),s(["fil","tl"],{c:[1,5],cFn:function(e,t,n,r){var o=t%10,i=r%10;return 0===n&&l([1,2,3],t)||0===n&&!l([4,6,9],o)||0!==n&&!l([4,6,9],i)?0:1},o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["fr","hy"],{c:[1,5],cFn:function(e,t){return l([0,1],t)?0:1},o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["ga"],{c:[1,2,3,4,5],cFn:function(e){return 1===e?0:2===e?1:c(3,6,e)?2:c(7,10,e)?3:4},o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["gd"],{c:[1,2,3,5],cFn:function(e){return l([1,11],e)?0:l([2,12],e)?1:c(3,10,e)||c(13,19,e)?2:3},o:[1,2,3,5],oFn:function(e){return l([1,11],e)?0:l([2,12],e)?1:l([3,13],e)?2:3}}),s(["gu","hi"],{c:[1,5],cFn:function(e,t){return 0===t||1===e?0:1},o:[1,2,3,4,5],oFn:function(e){return 1===e?0:l([2,3],e)?1:4===e?2:6===e?3:4}}),s(["gv"],{c:[1,2,3,4,5],cFn:function(e,t,n){var r=t%10;return 0===n&&1===r?0:0===n&&2===r?1:0===n&&l([0,20,40,60,80],t%100)?2:0!==n?3:4}}),s(["he","iw"],{c:[1,2,4,5],cFn:function(e,t,n){var r=e%10;return 1===t&&0===n?0:2===t&&0===n?1:0!==n||c(0,10,e)||0!==r?3:2}}),s(["hu"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,5],oFn:function(e){return l([1,5],e)?0:1}}),s(["is"],{c:[1,5],cFn:function(e,t,n,r,o){return 0===o&&1===t%10&&11!==t%100||0!==o?0:1}}),s(["it","sc","scn"],{c:[1,5],cFn:function(e,t,n){return 1===t&&0===n?0:1},o:[4,5],oFn:function(e){return l([11,8,80,800],e)?0:1}}),s(["iu","naq","se","sma","smi","smj","smn","sms"],{c:[1,2,5],cFn:function(e){return 1===e?0:2===e?1:2}}),s(["ka"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,4,5],oFn:function(e,t){var n=t%100;return 1===t?0:0===t||c(2,20,n)||40===n||60===n||80===n?1:2}}),s(["kk"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[4,5],oFn:function(e){var t=e%10;return 6===t||9===t||0===t&&0!==e?0:1}}),s(["ksh"],{c:[0,1,5],cFn:function(e){return 0===e?0:1===e?1:2}}),s(["kw"],{c:[0,1,2,3,4,5],cFn:function(e){var t=e%100,n=e%1e3,r=e%1e5,o=e%1e6;return 0===e?0:1===e?1:l([2,22,42,62,82],t)||0===n&&(c(1e3,2e4,r)||4e4===r||6e4===r||8e4===r)||0!==e&&1e5===o?2:l([3,23,43,63,83],t)?3:1!==e&&l([1,21,41,61,81],t)?4:5},o:[1,4,5],oFn:function(e){var t=e%100;return c(1,4,e)||c(1,4,t)||c(21,24,t)||c(41,44,t)||c(61,64,t)||c(81,84,t)?0:5===e||5===t?1:2}}),s(["lag"],{c:[0,1,5],cFn:function(e,t){return 0===e?0:l([0,1],t)&&0!==e?1:2}}),s(["lo","ms","vi"],{o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["lt"],{c:[1,3,4,5],cFn:function(e,t,n,r){var o=e%10,i=e%100;return 1!==o||c(11,19,i)?c(2,9,o)&&!c(11,19,i)?1:0!==r?2:3:0}}),s(["lv","prg"],{c:[0,1,5],cFn:function(e,t,n,r){var o=e%10,i=e%100,a=r%100,s=r%10;return 0===o||c(11,19,i)||2===n&&c(11,19,a)?0:1===o&&11!==i||2===n&&1===s&&11!==a||2!==n&&1===s?1:2}}),s(["mk"],{c:[1,5],cFn:function(e,t,n,r){return 0===n&&1===t%10&&11!==t%100||1===r%10&&11!==r%100?0:1},o:[1,2,4,5],oFn:function(e,t){var n=t%10,r=t%100;return 1===n&&11!==r?0:2===n&&12!==r?1:l([7,8],n)&&!l([17,18],r)?2:3}}),s(["mo","ro"],{c:[1,3,5],cFn:function(e,t,n){return 1===t&&0===n?0:0!==n||0===e||c(2,19,e%100)?1:2},o:[1,5],oFn:function(e){return 1===e?0:1}}),s(["mr"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,2,3,5],oFn:function(e){return 1===e?0:l([2,3],e)?1:4===e?2:3}}),s(["mt"],{c:[1,3,4,5],cFn:function(e){var t=e%100;return 1===e?0:0===e||c(2,10,t)?1:c(11,19,t)?2:3}}),s(["ne"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,5],oFn:function(e){return c(1,4,e)?0:1}}),s(["or"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,2,3,4,5],oFn:function(e){return 1===e||5===e||c(7,9,e)?0:l([2,3],e)?1:4===e?2:6===e?3:4}}),s(["pl"],{c:[1,3,4,5],cFn:function(e,t,n){var r=t%10,o=t%100;return 1===t&&0===n?0:0===n&&c(2,4,r)&&!c(12,14,o)?1:0===n&&1!==t&&c(0,1,r)||0===n&&c(5,9,r)||0===n&&c(12,14,o)?2:3}}),s(["pt"],{c:[1,5],cFn:function(e,t){return c(0,1,t)?0:1}}),s(["ru"],{c:[1,3,4,5],cFn:function(e,t,n){var r=t%10,o=t%100;return 0===n&&1===r&&11!==o?0:0===n&&c(2,4,r)&&!c(12,14,o)?1:0===n&&0===r||0===n&&c(5,9,r)||0===n&&c(11,14,o)?2:3}}),s(["shi"],{c:[1,3,5],cFn:function(e,t){return 0===t||1===e?0:c(2,10,e)?1:2}}),s(["si"],{c:[1,5],cFn:function(e,t,n,r){return l([0,1],e)||0===t&&1===r?0:1}}),s(["sl"],{c:[1,2,3,5],cFn:function(e,t,n){var r=t%100;return 0===n&&1===r?0:0===n&&2===r?1:0===n&&c(3,4,r)||0!==n?2:3}}),s(["sq"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[1,4,5],oFn:function(e){return 1===e?0:4===e%10&&14!==e%100?1:2}}),s(["sv"],{c:[1,5],cFn:function(e,t,n){return 1===t&&0===n?0:1},o:[1,5],oFn:function(e){var t=e%100;return l([1,2],e%10)&&!l([11,12],t)?0:1}}),s(["tk"],{c:[1,5],cFn:function(e){return 1===e?0:1},o:[3,5],oFn:function(e){return l([6,9],e%10)||10===e?0:1}}),s(["tzm"],{c:[1,5],cFn:function(e){return c(0,1,e)||c(11,99,e)?0:1}}),s(["uk"],{c:[1,3,4,5],cFn:function(e,t,n){var r=t%10,o=t%100;return 0===n&&1===r&&11!==o?0:0===n&&c(2,4,r)&&!c(12,14,o)?1:0===n&&0===r||0===n&&c(5,9,r)||0===n&&c(11,14,o)?2:3},o:[3,5],oFn:function(e){return 3===e%10&&13!==e%100?0:1}})},40475:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"===typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=c.length;t;){for(s=c,c=[];++u<t;)s&&s[u].run();u=-1,t=c.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||a(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},61659:function(e,t,n){"use strict";var r=n(46076);function o(){}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!==o&&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){r((function(){var n=1===e._V?t.onFulfilled:t.onRejected;if(null!==n){var r=function(e,t){try{return e(t)}catch(n){return i=n,a}}(n,e._W);r===a?u(t.promise,i):l(t.promise,r)}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(t){return i=t,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,r=function(e,t,n){try{e(t,n)}catch(r){return i=r,a}}(e,(function(e){n||(n=!0,l(t,e))}),(function(e){n||(n=!0,u(t,e))}));n||r!==a||(n=!0,u(t,i))}e.exports=s,s._Y=null,s._Z=null,s._0=o,s.prototype.then=function(e,t){if(this.constructor!==s)return function(e,t,n){return new e.constructor((function(r,i){var a=new s(o);a.then(r,i),c(e,new p(t,n,a))}))}(this,e,t);var n=new s(o);return c(this,new p(e,t,n)),n}},22797:function(e,t,n){"use strict";var r=n(61659);e.exports=r;var o=u(!0),i=u(!1),a=u(null),s=u(void 0),c=u(0),l=u("");function u(e){var t=new r(r._0);return t._V=1,t._W=e,t}r.resolve=function(e){if(e instanceof r)return e;if(null===e)return a;if(void 0===e)return s;if(!0===e)return o;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 r(t.bind(e))}catch(n){return new r((function(e,t){t(n)}))}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))};r.all=function(e){var t=d(e);return new r((function(e,n){if(0===t.length)return e([]);var o=t.length;function i(a,s){if(s&&("object"===typeof s||"function"===typeof s)){if(s instanceof r&&s.then===r.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 r(c.bind(s)).then((function(e){i(a,e)}),n)}t[a]=s,0===--o&&e(t)}for(var a=0;a<t.length;a++)i(a,t[a])}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){d(e).forEach((function(e){r.resolve(e).then(t,n)}))}))},r.prototype.catch=function(e){return this.then(null,e)}},95975:function(e,t,n){"use strict";var r=n(61659),o=[ReferenceError,TypeError,RangeError],i=!1;function a(){i=!1,r._Y=null,r._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||o))&&(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)))}r._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])},r._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,o)?100:2e3),logged:!1})}}},42102:function(e,t,n){"use strict";var r=n(21369);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){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:o};return n.PropTypes=n,n}},24974:function(e,t,n){e.exports=n(42102)()},21369:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6363:function(e,t,n){"use strict";n(84933),n(43064),n(59389),n(34466),n(11691),n(50893),n(32752),n(39867),n(71816),n(77351),n(62770),n(73427),n(22705),n(11672),n(41217),n(17364),n(33859),n(59291),n(84233),n(56129),n(37416),n(46555),n(21870),n(92925),"undefined"===typeof Promise&&(n(95975).enable(),self.Promise=n(22797)),"undefined"!==typeof window&&n(73316),Object.assign=n(93545)},48045:function(e,t,n){"use strict";n(84933),n(43064),n(59389),n(34466),n(11691),n(50893),n(32752),n(39867),n(71816),n(77351),n(62770),n(73427),n(22705),n(11672),n(41217),n(48841),n(72345),n(14366),n(37824),n(59039),n(67773),n(95922),n(21870),n(73767),n(28222),n(81837),n(91375),n(17996),n(45514),n(41536),n(56725),n(21400),n(86498),n(63108),n(41981),n(36948),n(86858),n(91435),n(92707),n(31497),n(27913),n(79826),n(17364),n(93051),n(92456),n(54798),n(21700),n(53176),n(51674),n(27422),n(99007),n(71873),n(2504),n(37419),n(56347),n(15279),n(69605),n(47419),n(36220),n(97339),n(33859),n(10116),n(9508),n(34010),n(21230),n(80465),n(94157),n(42195),n(77212),n(36308),n(21288),n(87370),n(44101),n(79001),n(26839),n(12860),n(32767),n(74792),n(27719),n(74106),n(14602),n(82256),n(92646),n(627),n(44633),n(5166),n(48629),n(38640),n(67460),n(79471),n(90224),n(1502),n(31823),n(59291),n(79775),n(69056),n(18122),n(58533),n(28813),n(96674),n(28091),n(11681),n(86670),n(60106),n(51571),n(67951),n(92543),n(2403),n(43847),n(46658),n(16567),n(21680),n(70389),n(65984),n(45220),n(36195),n(10798),n(10417),n(16823),n(80509),n(45933),n(92925),n(48847),n(67171),n(88290),n(80499),n(60164),n(94049),n(7348),n(75161),n(29894),n(32283),n(55074),n(50750),n(91605),n(9865),n(93640),n(94759),n(50164),n(11712),n(15225),n(8386),n(76515),n(8826),n(42788),n(61184),n(24704),n(65269),n(21944),n(34458),n(72161),n(14281),n(17443),n(24380),n(82759),n(73460),n(55910),n(63634),n(8636),n(38404),n(8376),n(8791),n(89799),n(29027),n(57367),n(5743),n(28632),n(44910),n(78014),n(40750),n(24179),n(24126),n(71423),n(58590),n(64674),n(60386),n(86447),n(40145),n(16185),n(27847),n(50210),n(30959),n(21030),n(26004),n(46555),n(36946),n(11940),n(50920),n(90698),n(17299),n(90406)},15443:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?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 u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case m:case c:return e;default:return t}}case o:return t}}}function w(e){return C(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return w(e)||C(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return C(e)===l},t.isContextProvider=function(e){return C(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return C(e)===p},t.isFragment=function(e){return C(e)===i},t.isLazy=function(e){return C(e)===g},t.isMemo=function(e){return C(e)===m},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===s},t.isStrictMode=function(e){return C(e)===a},t.isSuspense=function(e){return C(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===h||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)},t.typeOf=C},9479:function(e,t,n){"use strict";e.exports=n(15443)},56032:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,s=60109,c=60110,l=60112,u=60113,d=60120,p=60115,h=60116,f=60121,m=60122,g=60117,v=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),c=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),d=b("react.suspense_list"),p=b("react.memo"),h=b("react.lazy"),f=b("react.block"),m=b("react.server.block"),g=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case p:case s:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return _(e)===c}},9462:function(e,t,n){"use strict";e.exports=n(56032)},90406:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(D){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new I(r||[]);return i._invoke=function(e,t,n){var r=d;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===f){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?f:p,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=f,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(D){return{type:"throw",arg:D}}}e.wrap=l;var d="suspendedStart",p="suspendedYield",h="executing",f="completed",m={};function g(){}function v(){}function y(){}var b={};c(b,i,(function(){return this}));var _=Object.getPrototypeOf,C=_&&_(_(A([])));C&&C!==n&&r.call(C,i)&&(b=C);var w=y.prototype=g.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=u(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function A(e){if(e){var n=e[i];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return v.prototype=y,c(w,"constructor",y),c(y,"constructor",v),v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},E(x.prototype),c(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(w),c(w,s,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=A,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(n){"object"===typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},68038:function(e,t){"use strict";function n(e,t){return e===t}function r(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,o=null,i=null;return function(){return r(t,o,arguments)||(i=e.apply(null,arguments)),o=arguments,i}}function i(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 a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];var s=0,c=r.pop(),l=i(r),u=e.apply(void 0,[function(){return s++,c.apply(null,arguments)}].concat(n)),d=o((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}}var s=t.P1=a(o)},73930:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return i},__asyncDelegator:function(){return C},__asyncGenerator:function(){return _},__asyncValues:function(){return w},__await:function(){return b},__awaiter:function(){return u},__classPrivateFieldGet:function(){return T},__classPrivateFieldIn:function(){return A},__classPrivateFieldSet:function(){return I},__createBinding:function(){return p},__decorate:function(){return s},__exportStar:function(){return h},__extends:function(){return o},__generator:function(){return d},__importDefault:function(){return k},__importStar:function(){return S},__makeTemplateObject:function(){return E},__metadata:function(){return l},__param:function(){return c},__read:function(){return m},__rest:function(){return a},__spread:function(){return g},__spreadArray:function(){return y},__spreadArrays:function(){return v},__values:function(){return f}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(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,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[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,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var p=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function h(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||p(t,e,n)}function f(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function y(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof b?Promise.resolve(n.value.v).then(c,l):u(i[0][2],n)}catch(r){u(i[0][3],r)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function C(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:b(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var x=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&p(t,e,n);return x(t,e),t}function k(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function I(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function A(e,t){if(null===t||"object"!==typeof t&&"function"!==typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof e?t===e:e.has(t)}},73316:function(e,t,n){"use strict";n.r(t),n.d(t,{DOMException:function(){return k},Headers:function(){return f},Request:function(){return C},Response:function(){return x},fetch:function(){return T}});var r="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof self&&self||"undefined"!==typeof r&&r,o="URLSearchParams"in r,i="Symbol"in r&&"iterator"in Symbol,a="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in r,c="ArrayBuffer"in r;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 v(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 b(){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:o&&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):o&&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(v)}),this.text=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=g(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);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(w)}),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 C(e,t){if(!(this instanceof C))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(t=t||{}).body;if(e instanceof C){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,n||null==e._bodyInit||(n=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=function(e){var t=e.toUpperCase();return _.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),("GET"===this.method||"HEAD"===this.method)&&("no-store"===t.cache||"no-cache"===t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function E(e){var t=new f;return 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(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),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)}C.prototype.clone=function(){return new C(this,{body:this._bodyInit})},b.call(C.prototype),b.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 S=[301,302,303,307,308];x.redirect=function(e,t){if(-1===S.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})};var k=r.DOMException;try{new k}catch(I){(k=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),k.prototype.constructor=k}function T(e,t){return new Promise((function(n,o){var i=new C(e,t);if(i.signal&&i.signal.aborted)return o(new k("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:E(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;setTimeout((function(){n(new x(t,e))}),0)},s.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},s.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},s.onabort=function(){setTimeout((function(){o(new k("Aborted","AbortError"))}),0)},s.open(i.method,function(e){try{return""===e&&r.location.href?r.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("undefined"===typeof i._bodyInit?null:i._bodyInit)}))}T.polyfill=!0,r.fetch||(r.fetch=T,r.Headers=f,r.Request=C,r.Response=x)},50633:function(){},19521:function(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.2","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.amdO={},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__={};!function(){"use strict";__webpack_require__(6363),__webpack_require__(48045),__webpack_require__(59986);var e=__webpack_require__(73930),t="!START",n="Ms.Web.PageView",r="Ms.Web.PageAction",o="Ms.Qos.OutgoingServiceRequest",i="Ms.Osgs.ExperimentTrigger",a="Ms.Osgs.ClientReliability",s="Ms.Webi.MeePortal.UserFeedbackV2",c=(function(){function e(t){var n=this;if(this.options=t,this.context={},this.maxResultLength=1024,this.serialize=function(){var t=Object.keys(n.context);if(!t.length)return"";for(var r=["v=1"],o=0,i=t;o<i.length;o++){var a=i[o],s=e.contextKeyMap[a]||encodeURIComponent(a),c=n.options.normalizePropertyValue&&n.options.normalizePropertyValue(a,n.context[a])||n.context[a];r.push("".concat(s,"=").concat(encodeURIComponent(c)))}var l=r.join(",");return l.length>n.maxResultLength?"":l},this.getProperty=function(e){return n.context[e]},this.setProperty=function(e,t){t&&(n.context[e]=t)},this.deleteProperty=function(e){return!!n.context[e]&&(delete n.context[e],!0)},!t)throw new Error("options must be specified.")}e.contextKeyMap={"app-id":"ms.a.app.id","app-version":"ms.a.app.ver","device-class":"ms.a.device.deviceClass","device-id":"ms.a.device.id","partner-id":"ms.b.tel.partner","product-id":"ms.b.tel.product","scenario-id":"ms.b.tel.scenario","scenario-step":"ms.c.ust.scenarioStep","user-id":"ms.a.user.id","root-operation":"ms.b.qos.rootOperationName",market:"ms.b.tel.market"}}(),__webpack_require__(84437)),l=__webpack_require__.n(c),u=-1,d=1,p=2,h=0,f=1,m=document.referrer,g=document.cookie;function v(e){var t=e||y;return{getLocationHref:function(){return t(window.spaLocationHref||window.location.href)},getRealLocationHref:function(){return t(window.location.href)},getSpaLocationHref:function(){return t(window.spaLocationHref||"")},getReferrer:function(){return t((window.spaReferrer||m).split("?")[0]||"")},getPageId:E,getQueryParameter:b,getCookie:_,getPerformanceTiming:function(){return window.performance&&window.performance.timing||{}},getNow:function(){return new Date},isPageOptedOutFromAutoPageView:C,setSpaLocationHref:function(e){window.spaLocationHref=e},setSpaReferrer:function(e){window.spaReferrer=e},setSpaPageId:function(e){window.spaPageId=e},setWindowLoadHandler:function(e){l()(window).on("load",e)}}}function y(e){return e}function b(e){return function(e,t){var n=new RegExp("".concat(e,"=([^&]+)"),"i"),r=t.match(n);return r&&2===r.length?r[1]:""}(e,window.location.search)}function _(e){for(var t=e.toLowerCase(),n=g.split(";"),r=0;r<n.length;r++){var o=n[r].split("="),i=decodeURIComponent(o[0].trim().toLowerCase()),a=o.length>1?o[1]:"";if(i===t)return decodeURIComponent(a)}return""}function C(){return!!l()("meta[name='noAutoPageView']").length}function w(e){var t=document.createElement("a");return t.href=e,t}function E(){return window.spaPageId||function(){var e=document.querySelector("html > head").getElementsByTagName("meta").namedItem("pageid");if(e)return e.getAttribute("content");return null}()||document.title}(function(){var e=_("oref");if(e)m=e,function(e){var t=new Date;t.setDate(t.getDate()-1),function(e,t,n,r){void 0===r&&(r="/");var o=n;o||(o=new Date).setDate(o.getDate()+1);var i="".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t),";expires=").concat(o.toUTCString(),";path=").concat(r);document.cookie=i}(e,"",t)}("oref")})(),m=function(e,t){var n=/^https:\/\/login\.live[\-\.]/i,r=/^https:\/\/login\.microsoftonline\.com/i,o=/^https:\/\/login\.windows-ppe\.net/i,i=/^http(s?):\/\/directvisit/i,a=/\brefd=([0-9a-z\.\-]+)\b/i,s=/\brefp=([0-9a-z\.\-]+)\b/i;if(e&&!n.test(e)&&!r.test(e)&&!o.test(e)&&!i.test(e))return e;if(!t)return e;var c=t.match(a);if(!c||2!==c.length)return e;var l="https://".concat(c[1].toLowerCase(),"/"),u=t.match(s);return u&&2===u.length&&(l+=u[1].replace("-","/").toLowerCase()),l}(m,window.location.search);!function(){function e(t,n,r,i){var a=this;if(this.options=t,this.cvManager=n,this.ccManager=r,this.qosLogger=i,this.willChangeSupportCors=!1,this.alwaysAddCvToRequestHeader=!0,this.timers={},this.mockedAjaxOps={},this.hostIdx=2,this.portIdx=3,this.minServerErrorStatusCode=500,this.maxServerErrorStatusCode=600,this.retryTimeout=50,this.cv1Length=16,this.cv2Length=22,this.base64CharSet="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",this.cv1Constants={validationPattern:new RegExp("^[".concat(this.base64CharSet,"]{").concat(16..toString(),"}(.[0-9]+)+$")),maxCorrelationVectorLength:63},this.cv2Constants={validationPattern:new RegExp("^[".concat(this.base64CharSet,"]{").concat(22..toString(),"}(.[0-9]+)+$")),maxCorrelationVectorLength:127},this.ajaxGet=function(e){return a.prepareRequest(e),a.flattenDataAndAppendAntiForgeryToken(e,u),a.sendRequest(e,a.getImpl)},this.ajaxPost=function(e){return a.prepareRequest(e),a.flattenDataAndAppendAntiForgeryToken(e,e.antiforgeryTokenBehavior),a.sendRequest(e,a.postImpl)},this.ajaxPut=function(e){return a.prepareRequest(e),a.flattenDataAndAppendAntiForgeryToken(e,e.antiforgeryTokenBehavior),a.sendRequest(e,a.putImpl)},this.ajaxDelete=function(e){return a.prepareRequest(e),a.flattenDataAndAppendAntiForgeryToken(e,e.antiforgeryTokenBehavior),a.sendRequest(e,a.delImpl)},this.getAntiForgeryToken=function(e,t){for(var n=e&&typeof e===typeof window?e:window,r=t&&"string"===typeof t?"_".concat(t.toString()):"",o="__RequestVerificationToken".concat(r),i=n.document.getElementsByTagName("input"),a=0;a<i.length;a++){var s=i[a];if("hidden"===s.type&&s.name===o)return{name:o,value:s.value}}return{}},this.mockAjaxOperationResult=function(e,t){if(!e)throw new Error("operationName must be specified.");if(!t)throw new Error("result must be specified.");a.mockedAjaxOps[e.toLowerCase()]=t},this.clearAjaxOperationMocks=function(){a.mockedAjaxOps={}},this.targetUriOverrideCallbackFunction=function(e){return e},this.getAntiForgeryTokenForRequest=function(e){return e.token?e.token:a.getAntiForgeryToken(e.tokenWindow,e.appPath)},this.prepareRequest=function(t){if(!t.serviceName)throw new Error("AjaxTelemetrySink: settings.serviceName is not set.");if(!t.operationName)throw new Error("AjaxTelemetrySink: settings.operationName is not set.");if(t.currentOperationName=t.parentOperationName||t.operationName,t.additionalHeaders=t.additionalHeaders||[],t.requestedWithHeaderBehavior&&"query"!==t.requestedWithHeaderBehavior)"header"===t.requestedWithHeaderBehavior&&(t.additionalHeaders["X-Requested-With"]="XMLHttpRequest");else if(t.url){var n=w(t.url);n.search+=(n.search?"&":"?")+"X-Requested-With=XMLHttpRequest",t.url=n.href}a.options.useJsll3xQuirks&&("auto"!==t.dataType?t.dataType=t.dataType||"json":delete t.dataType),a.cvManager.incrementCv(),t.cV=a.cvManager.getCurrentCvValue();var r=a.ccManager.serialize();r&&(void 0===t.addCvToRequestHeader||t.addCvToRequestHeader)&&(t.additionalHeaders["Correlation-Context"]=r),t.cache&&(t.noCacheBusting=!0),(a.options.overrideRequestQosData||t.overrideRequestQosData)&&(t.QosCallback=e.overrideRequestQosData.bind(a,a.options,t)),t.antiforgeryTokenBehavior||(a.isCrossDomainRequest(t)?t.antiforgeryTokenBehavior=u:a.isJsonContentType(t)&&(t.antiforgeryTokenBehavior=p))},this.flattenDataAndAppendAntiForgeryToken=function(e,t){var n=t||d,r=e.data;switch(r&&"string"!==typeof r&&(r=l().param(r)),n){case d:a.getTokenAndExecuteCommandIfTokenIsValid(e,(function(e){r=r?"".concat(r,"&"):"",r+="".concat(encodeURIComponent(e.name),"=").concat(encodeURIComponent(e.value))}));break;case p:a.getTokenAndExecuteCommandIfTokenIsValid(e,(function(t){e.additionalHeaders[encodeURIComponent(t.name)]=encodeURIComponent(t.value)}));break;case u:break;default:throw new Error("Unsupported AntiforgeryTokenBehavior: ".concat(n))}e.data=r},this.isJsonContentType=function(e){return!!e.contentType&&"string"===typeof e.contentType&&-1!==e.contentType.indexOf("json")},this.isCrossDomainRequest=function(e){var t;try{t=location.href}catch(s){var n=document.createElement("a");n.href="",t=n.href}var r=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,o=r.exec(t.toLowerCase()),i=r.exec(e.url?e.url.toLowerCase():"");return!(!(i&&i.length>3&&o&&o.length>3)||i[1]===o[1]&&i[a.hostIdx]===o[a.hostIdx]&&(i[a.portIdx]||("http:"===i[1]?"80":"443"))===(o[a.portIdx]||("http:"===o[1]?"80":"443")))},this.sendRequest=function(e,t){if(e.operationName){var n=e.operationName.toLowerCase();if(a.mockedAjaxOps[n]){var r=a.mockedAjaxOps[n],o=l().Deferred();return setTimeout((function(){r(o)})),o}}return t(e)},this.postImpl=function(e){return e.method="POST",a.makeRequest(e)},this.getImpl=function(e){return e.method="GET",a.makeRequest(e)},this.putImpl=function(e){return e.method="PUT",a.makeRequest(e)},this.delImpl=function(e){return e.method="DELETE",a.makeRequest(e)},this.makeRequest=function(e){var t=a;if("function"===typeof l()){a.willChangeSupportCors&&(l().support.cors=!0);var n,r=e.additionalHeaders||{},i=e.body,s=i?JSON.stringify(i):e.data||void 0,c=e.maxRetry||0,u=0,d=e.operationName||e.url,p=e.errorFormatter||function(e){return e},h={url:e.url,type:e.method,data:s,crossDomain:!0,headers:{},success:e.success,timeout:e.timeout,error:e.error,jsonp:e.jsonp,jsonpCallback:e.jsonpCallback,cache:e.cache,beforeSend:function(o){if(e.contractVersion&&o.setRequestHeader("MS-Contract-Version",e.contractVersion),(!0===e.addCvToRequestHeader||!1!==e.addCvToRequestHeader&&t.alwaysAddCvToRequestHeader)&&t.isValid(n)&&o.setRequestHeader("MS-CV",n),r)for(var i in r)r.hasOwnProperty(i)&&o.setRequestHeader(i,r[i])}};e.dataType&&(h.dataType=e.dataType),e.noCacheBusting||(h.cache=!1),e.contentType&&(h.contentType=e.contentType),e.accept&&(h.headers.Accept=e.accept),e.accepts&&(h.accepts=e.accepts),e.async&&(h.async=e.async),e.xhrFields&&(h.xhrFields=e.xhrFields),e.complete&&(h.complete=e.complete),e.contents&&(h.contents=e.contents),e.context&&(h.context=e.context),e.dataFilter&&(h.dataFilter=e.dataFilter),e.global&&(h.global=e.global),e.ifModified&&(h.ifModified=e.ifModified),e.isLocal&&(h.isLocal=e.isLocal),e.mimeType&&(h.mimeType=e.mimeType),e.password&&(h.password=e.password),e.processData&&(h.processData=e.processData),e.scriptCharset&&(h.scriptCharset=e.scriptCharset),e.statusCode&&(h.statusCode=e.statusCode),e.traditional&&(h.traditional=e.traditional),e.type&&(h.type=e.type),e.username&&(h.username=e.username),e.xhr&&(h.xhr=e.xhr),n=a.isValid(e.cV)?e.cV:a.increment();var f=function(r,i,a){var s=r.getResponseHeader("Content-Length"),c={name:"Ms.Webi.OutgoingRequest",data:{cV:n,baseData:{operationName:e.currentOperationName,targetUri:t.targetUriOverrideCallbackFunction?t.targetUriOverrideCallbackFunction(h.url):h.url,latencyMs:a,serviceErrorCode:!i&&r.responseJSON&&r.responseJSON.code&&!isNaN(r.responseJSON.code)?r.responseJSON.code:-1,succeeded:i,requestMethod:h.type,responseContentType:h.dataType,protocolStatusCode:r.status.toString(),dependencyOperationName:d,dependencyOperationVersion:e.version&&e.version.toString(),dependencyName:e.serviceName,dependencyType:"WebService",responseSizeBytes:s&&parseInt(s,10)},baseType:o,message:i?void 0:JSON.stringify(r.errorThrown),retryCount:u,customData:e.customDataCallBack&&"function"===typeof e.customDataCallBack?JSON.stringify(e.customDataCallBack(r)):void 0}};e.QosCallback&&"function"===typeof e.QosCallback&&e.QosCallback(r,c),t.reportEvent(c.data)};return function r(){var o="".concat(d,"_Retry_").concat(u);return t.recordTimeSpan(o,!1),l().ajax(h).then((function(e,n,r){var i=t.recordTimeSpan(o,!0);return f(r,!0,i),r}),(function(i,a){var s=t.recordTimeSpan(o,!0);f(i,!1,s);var d=l().Deferred();return c>u&&(0===i.status||i.status>=t.minServerErrorStatusCode&&i.status<t.maxServerErrorStatusCode)?(u++,n=t.isValid(e.cV)?t.incrementExternal(n):t.increment(),setTimeout((function(){r().done(d.resolve).fail(d.reject)}),t.retryTimeout)):d.reject(i,a),d.promise()}))}().then((function(e,t,n){return n}),(function(t){return p(t,e)}))}},this.isValid=function(e){if(e){var t=e.split(".")[0];if(t){if(t.length===a.cv1Length)return a.validateWithCv1(e);if(t.length===a.cv2Length)return a.validateWithCv2(e)}}return!1},this.validateWithCv1=function(e){return!!(a.cv1Constants.validationPattern.test(e)&&e.length<=a.cv1Constants.maxCorrelationVectorLength)},this.validateWithCv2=function(e){return!!(a.cv2Constants.validationPattern.test(e)&&e.length<=a.cv2Constants.maxCorrelationVectorLength)},this.increment=function(){return a.cvManager.incrementCv(),a.cvManager.getCurrentCvValue()},this.incrementExternal=function(e){if(a.isValid(e)){var t=e.split("."),n=t.length;t[n-1]=(parseInt(t[n-1],10)+1).toString();for(var r="",o=0;o<n;o++)r+=t[o],o<n-1&&(r+=".");var i=t[0].length===a.cv2Length?a.cv2Constants.maxCorrelationVectorLength:a.cv1Constants.maxCorrelationVectorLength;if(r.length<=i)return r}return""},this.reportEvent=function(e){var t=e.baseData,n={currentOperationName:t.operationName,operationName:t.dependencyOperationName,requestUri:t.targetUri,latencyMs:t.latencyMs,serviceErrorCode:t.serviceErrorCode,isSuccess:t.succeeded,httpMethod:t.requestMethod,contentType:t.responseContentType,httpStatusCode:t.protocolStatusCode,serviceName:t.dependencyName,serviceType:t.dependencyType,operationVersion:t.dependencyOperationVersion,responseSize:t.responseSizeBytes,errorMessage:e.message,retryCount:e.retryCount,customData:e.customData,cV:e.cV};a.qosLogger.reportOutgoingApi(n)},!t)throw new Error("options must be specified.");this.willChangeSupportCors=!1}e.prototype.getTokenAndExecuteCommandIfTokenIsValid=function(e,t){var n=this.getAntiForgeryTokenForRequest(e);n&&t(n)},e.overrideRequestQosData=function(e,t,n,r){if((r||r.data)&&(t.overrideRequestQosData||e.overrideRequestQosData)){var o=r.data.baseData,i=r.data,a={isSuccess:o&&o.succeeded,latencyMs:o&&o.latencyMs,httpStatusCode:o&&o.protocolStatusCode,serviceErrorCode:o&&o.serviceErrorCode,errorMessage:i&&i.message};a.responseStatus=n.status,a.requestTimeout=t.timeout;var s=h;t.overrideRequestQosData&&(s=t.overrideRequestQosData(t,n,a)),h===s&&e.overrideRequestQosData&&(e.overrideRequestQosData(a),s=f),f===s&&(o&&(o.succeeded=a.isSuccess,o.latencyMs=a.latencyMs,o.protocolStatusCode=a.httpStatusCode,o.serviceErrorCode=a.serviceErrorCode),i&&(i.message=a.errorMessage))}},e.prototype.recordTimeSpan=function(e,t){var n=(new Date).getTime();return t?n-this.timers[e]:void(this.timers[e]=n)}}();var x=function(){var e=this;this.ajaxGet=function(t){return e.performAjaxRequest("GET",t)},this.ajaxPost=function(t){return e.performAjaxRequest("POST",t)},this.ajaxPut=function(t){return e.performAjaxRequest("PUT",t)},this.ajaxDelete=function(t){return e.performAjaxRequest("DELETE",t)},this.getAntiForgeryToken=function(e,t){return{name:"antiforgery",value:"token"}},this.mockAjaxOperationResult=function(e,t){},this.clearAjaxOperationMocks=function(){},this.performAjaxRequest=function(e,t){return $.ajax($.extend({},t,{method:e}))}},S=function(){this.serialize=function(){return""},this.getProperty=function(e){return""},this.setProperty=function(e,t){},this.deleteProperty=function(e){return!1}},k=function(){this.getCurrentCvValue=function(){return"cv.1"},this.getCorrelationVectorFormFieldName=function(){return"cv"},this.seedCv=function(e){},this.incrementCv=function(){}},T=(function(){function e(e){var n=this;this.options=e,this.initializationAttempt=0,this.initializers=[],this.biSinks=[],this.qosSinks=[],this.perfSinks=[],this.scenariosSinks=[],this.experimentsSinks=[],this.configurationUpdateSinks=[],this.pageViewOccurred=!1,this.executeOnPageViewQueue=[],this.maxErrorStringLength=100,this.timeoutMultiplier=100,this.scenarioStartPoints={},this.useAsGlobalTelemetryProvider=function(){window.BradburyTelemetry=n.toTelemetryProvider(),n.dom.setWindowLoadHandler(n.$notifyPageLoaded)},this.toTelemetryProvider=function(){return{cv:n.cvManager,cc:n.ccManager,qos:n,perf:n,bi:n,scenarios:n,experiments:n,ajax:n.ajaxTelemetry,utilities:n.utilities,configuration:n}},this.setCorrelationVectorManager=function(e){n.cvManager=e},this.setCorrelationContextManager=function(e){n.ccManager=e},this.setUtilityFunctions=function(e){n.utilities=e},this.setAjaxTelemetrySink=function(e){n.ajaxTelemetry=e},this.registerInitializer=function(e){n.initializers.push(e)},this.registerBiSink=function(e){n.biSinks.push(e)},this.registerQosSink=function(e){n.qosSinks.push(e)},this.registerPerfSink=function(e){n.perfSinks.push(e)},this.registerScenariosSink=function(e){n.scenariosSinks.push(e)},this.registerExperimentsSink=function(e){n.experimentsSinks.push(e)},this.registerTelemetryConfigurationUpdateSink=function(e){n.configurationUpdateSinks.push(e)},this.updateFlights=function(e){n.configurationUpdateSinks.forEach((function(t){return t.updateFlights(e)}))},this.updateUserPuid=function(e){n.configurationUpdateSinks.forEach((function(t){return t.updateUserPuid(e)}))},this.reportOutgoingApi=function(e){n.reportQosOperation((function(t){return t.reportOutgoingApi(e)}))},this.reportClientError=function(e){n.reportQosOperation((function(t){return t.reportClientError(e)}))},this.reportFatalError=function(e){n.reportQosOperation((function(t){return t.reportFatalError(e)}))},this.reportRawEvent=function(e){n.reportQosOperation((function(t){return t.reportRawEvent(e)}))},this.reportViewPerformanceMetrics=function(e,t){n.reportClientPerformance((function(n){return n.reportViewPerformanceMetrics(e,t)}))},this.$notifyPageLoaded=function(){n.setExperimentData(),n.reportBiOperation((function(e){return e.$notifyPageLoaded()})),n.options.allowAutoPageView&&!n.dom.isPageOptedOutFromAutoPageView()&&n.reportPageView({url:n.dom.getLocationHref(),viewId:n.dom.getPageId()})},this.reportClick=function(e){n.executeAfterPageView((function(){return n.reportBiOperation((function(t){return t.reportClick(e)}))}))},this.reportPartialView=function(e){n.executeAfterPageView((function(){return n.reportBiOperation((function(t){return t.reportPartialView(e)}))}))},this.reportPageView=function(e){if(n.setExperimentData(),e.$hosted)n.executeAfterPageView((function(){return n.reportBiOperation((function(t){return t.reportPageView(e)}))}));else{if(n.reportBiOperation((function(t){return t.reportPageView(e)})),n.executeOnPageViewQueue.length){var t=n.executeOnPageViewQueue;n.executeOnPageViewQueue=[];for(var r=0,o=t;r<o.length;r++){(0,o[r])()}}n.pageViewOccurred=!0}},this.reportSpaPageView=function(e){n.setExperimentData(),e.$hosted?n.executeAfterPageView((function(){return n.reportSpaPageViewImpl(e)})):n.reportSpaPageViewImpl(e)},this.getDefaultPlt=function(){return function(e){var t=e.getNow().getTime(),n=e.getPerformanceTiming();return(n.domComplete||t)-(n.fetchStart||t)||0}(n.dom)},this.getCurrentLocation=function(){return n.dom.getLocationHref()},this.getCurrentReferrer=function(){return n.dom.getReferrer()},this.getCurrentPageId=function(){return n.dom.getPageId()},this.getTrafficOriginator=function(){return n.dom.getCookie("tref").toLowerCase()},this.beginScenario=function(e,r,o){return n.$beginScenario({area:e,name:r,currentStep:t,attribution:o&&o.attribution,data:o&&o.data}),r},this.beginMultiStepScenario=function(e,r,o,i){return n.$beginScenario({area:e,name:r,currentStep:t,nextStep:o,attribution:i&&i.attribution,data:i&&i.data}),r},this.endScenario=function(e){n.$completeStep({area:e.area,name:e.name,currentStep:t,nextStep:n.getVirtualStepNameForTaskResult(!1,e),successful:e.isSuccess,canceled:!1,error:n.getSafeStepErrorCodeValue(e.error),attribution:e.attribution,data:e.data,timeMsec:n.calculateScenarioTime(e)})},this.cancelScenario=function(e){n.$completeStep({area:e.area,name:e.name,currentStep:t,nextStep:n.getVirtualStepNameForTaskResult(!0,e),successful:e.isSuccess,canceled:!0,error:n.getSafeStepErrorCodeValue(e.error),attribution:e.attribution,data:e.data,timeMsec:n.calculateScenarioTime(e)})},this.endStep=function(e){n.$completeStep({area:e.area,name:e.name,isStep:!0,currentStep:e.step,nextStep:e.next,successful:e.isSuccess,canceled:!1,error:n.getSafeStepErrorCodeValue(e.error),attribution:e.attribution,data:e.data})},this.cancelStep=function(e){n.$completeStep({area:e.area,name:e.name,isStep:!0,currentStep:e.step,nextStep:e.next,successful:e.isSuccess,canceled:!0,error:n.getSafeStepErrorCodeValue(e.error),attribution:e.attribution,data:e.data})},this.endMultiStepScenario=function(e){n.$completeStep({area:e.area,name:e.name,currentStep:e.step,nextStep:n.getVirtualStepNameForTaskResult(!1,e),successful:e.isSuccess,canceled:!1,error:n.getSafeStepErrorCodeValue(e.error),attribution:e.attribution,timeMsec:n.calculateScenarioTime(e),data:e.data})},this.cancelMultiStepScenario=function(e){n.$completeStep({area:e.area,name:e.name,currentStep:e.step,nextStep:n.getVirtualStepNameForTaskResult(!0,e),successful:e.isSuccess,canceled:!0,error:n.getSafeStepErrorCodeValue(e.error),attribution:e.attribution,timeMsec:n.calculateScenarioTime(e),data:e.data})},this.$beginScenario=function(e){n.ccManager.deleteProperty("scenario-id"),n.ccManager.deleteProperty("scenario-step"),n.ccManager.setProperty("scenario-id",n.getCorrelationScenarioId(e)),e.nextStep&&n.ccManager.setProperty("scenario-step",e.nextStep),n.executeAfterPageView((function(){var t=n.createScenarioId(e.area,e.name);n.scenarioStartPoints[t]=n.dom.getNow().getTime(),e.attribution=n.populateScenarioAttribution(e.attribution||{}),e.market=n.options.market,e.language=n.options.language,n.reportScenarioEvent((function(t){return t.$beginScenario(e)}))}))},this.$completeStep=function(e){n.ccManager.deleteProperty("scenario-id"),n.ccManager.deleteProperty("scenario-step"),e.isStep&&(n.ccManager.setProperty("scenario-id",n.getCorrelationScenarioId(e)),e.nextStep&&n.ccManager.setProperty("scenario-step",e.nextStep)),n.executeAfterPageView((function(){e.attribution=n.populateScenarioAttribution(e.attribution||{}),e.market=n.options.market,e.language=n.options.language,n.reportScenarioEvent((function(t){return t.$completeStep(e)}))}))},this.reportExperimentTrigger=function(e){n.reportExperimentOperation((function(t){return t.reportExperimentTrigger(e)}))},this.getCorrelationScenarioId=function(e){return"".concat(e.area,".").concat(e.name)},this.executeAfterPageView=function(e){n.pageViewOccurred||n.options.$ignorePageViewQueue?e():n.executeOnPageViewQueue.push(e)},this.reportBiOperation=function(e){if(!n.initializers.length||n.initializeTelemetry((function(){return n.reportBiOperation(e)})))for(var t=0,r=n.biSinks;t<r.length;t++){var o=r[t];e(o)}},this.reportQosOperation=function(e){if(!n.initializers.length||n.initializeTelemetry((function(){return n.reportQosOperation(e)})))for(var t=0,r=n.qosSinks;t<r.length;t++){var o=r[t];e(o)}},this.reportClientPerformance=function(e){if(!n.initializers.length||n.initializeTelemetry((function(){return n.reportClientPerformance(e)})))for(var t=0,r=n.perfSinks;t<r.length;t++){var o=r[t];e(o)}},this.reportScenarioEvent=function(e){if(!n.initializers.length||n.initializeTelemetry((function(){return n.reportScenarioEvent(e)})))for(var t=0,r=n.scenariosSinks;t<r.length;t++){var o=r[t];e(o)}},this.reportExperimentOperation=function(e){if(!n.initializers.length||n.initializeTelemetry((function(){return n.reportExperimentOperation(e)})))for(var t=0,r=n.experimentsSinks;t<r.length;t++){var o=r[t];e(o)}},this.reportSpaPageViewImpl=function(e){var t=w(n.dom.getRealLocationHref()),r=n.dom.getSpaLocationHref();n.dom.setSpaPageId(e.viewId),n.dom.setSpaLocationHref("".concat(t.protocol.toLowerCase(),"//").concat(t.host.toLowerCase()).concat(function(e){var t=e||"/";return"/"!==t[0]&&(t="/".concat(t)),t}(e.path)).concat(t.search)),r&&n.dom.setSpaReferrer(r),n.reportPageView({url:n.dom.getLocationHref(),viewId:e.viewId,pltMsec:e.pltMsec,$internalIsSpa:!0})},this.createScenarioId=function(e,t){return"".concat(e,".").concat(t)},this.calculateScenarioTime=function(e){var t=n.createScenarioId(e.area,e.name),r=0;return n.scenarioStartPoints[t]&&(r=n.dom.getNow().getTime()-n.scenarioStartPoints[t],delete n.scenarioStartPoints[t]),r},this.getVirtualStepNameForTaskResult=function(e,t){return e?t.isSuccess?"!CANCELOK":"!CANCELFAIL":t.isSuccess?"!OK":"!FAIL"},this.getSafeStepErrorCodeValue=function(e){var t=e;return(t=(t=t||"").substr(0,n.maxErrorStringLength))&&!/^[0-9a-zA-Z-_. ]+$/.test(t)&&(t="InvalidErrorCodeValue_ReadDocumentation"),t},this.populateScenarioAttribution=function(e){var t=n.getTrafficOriginator(),r=(e.flow||n.dom.getQueryParameter("fref")).toLowerCase();return r||(r=t?"ext":"int"),t||(t="int"),e.origin=t,e.flow=r,e.owner=(e.owner||"").toLowerCase(),e},this.initializeTelemetry=function(e){if(!n.initializers.length)return!0;for(var t=[],r=0,o=n.initializers;r<o.length;r++){var i=o[r];i.initialize(n.initializationAttempt)||t.push(i)}return t.length?(n.initializationAttempt++,n.initializers=t,setTimeout(e,n.initializationAttempt*n.timeoutMultiplier),!1):(n.initializers=[],!0)},this.dom=e.dom||v(e.urlScrubber),this.cvManager=new k,this.ccManager=new S,this.ajaxTelemetry=new x,this.utilities={}}e.prototype.setExperimentData=function(){this.reportExperimentOperation((function(e){return e.setExperimentData()}))}}(),"function"),I="object",A="undefined",P=Object,D=P.prototype,R=P.assign,M=P.create,N=P.defineProperty,L=D.hasOwnProperty,O=null;function F(e){return void 0===e&&(e=!0),O&&e||(typeof globalThis!==A&&globalThis&&(O=globalThis),typeof self!==A&&self&&(O=self),typeof window!==A&&window&&(O=window),typeof __webpack_require__.g!==A&&__webpack_require__.g&&(O=__webpack_require__.g)),O}function B(e){throw new TypeError(e)}function H(e){if(M)return M(e);if(null==e)return{};var t=typeof e;function n(){}return t!==I&&t!==T&&B("Object prototype may only be an Object:"+e),n.prototype=e,new n}(F()||{}).Symbol,(F()||{}).Reflect;var z=R||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])D.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},U=function(e,t){return U=P.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])},U(e,t)};function V(e,t){function n(){this.constructor=e}typeof t!==T&&null!==t&&B("Class extends value "+String(t)+" is not a constructor or null"),U(e,t),e.prototype=null===t?H(t):(n.prototype=t.prototype,new n)}function j(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var q="constructor",W="prototype",G="function",K="_dynClass",Y="_unknown_",Q="_dyn__proto__",X=Object,J=X.getPrototypeOf,Z=X.getOwnPropertyNames,ee=0;function te(e,t){return e&&X.prototype.hasOwnProperty.call(e,t)}function ne(e){return e&&(e===X.prototype||e===Array.prototype)}function re(e){return ne(e)||e===Function.prototype}function oe(e){var t;if(e){if(J)return J(e);var n=e.__proto__||e.prototype||(e.constructor?e.constructor.prototype:null);t=e._dyn__proto__||n,te(e,Q)||(delete e._dynInstProto,t=e._dyn__proto__=e._dynInstProto||e._dyn__proto__,e._dynInstProto=n)}return t}function ie(e,t){var n=[];if(Z)n=Z(e);else for(var r in e)"string"===typeof r&&te(e,r)&&n.push(r);if(n&&n.length>0)for(var o=0;o<n.length;o++)t(n[o])}function ae(e,t,n){return t!==q&&typeof e[t]===G&&(n||te(e,t))}function se(e){throw new TypeError("DynamicProto: "+e)}function ce(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function le(e,t,n,r){var o=null;if(e&&te(n,K)){var i=e._dynInstFuncs||{};if((o=(i[n._dynClass]||{})[t])||se("Missing ["+t+"] "+G),!o._dynInstChk&&!1!==i._dynInstChk){for(var a=!te(e,t),s=oe(e),c=[];a&&s&&!re(s)&&!ce(c,s);){var l=s[t];if(l){a=l===r;break}c.push(s),s=oe(s)}try{a&&(e[t]=o),o._dynInstChk=1}catch(u){i._dynInstChk=!1}}}return o}function ue(e,t,n){var r=t[e];return r===n&&(r=oe(t)[e]),typeof r!==G&&se("["+e+"] is not a "+G),r}function de(e,t,n,r,o){if(!ne(e)){var i=n._dynInstFuncs=n._dynInstFuncs||{},a=i[t]=i[t]||{};!1!==i._dynInstChk&&(i._dynInstChk=!!o),ie(n,(function(t){ae(n,t,!1)&&n[t]!==r[t]&&(a[t]=n[t],delete n[t],(!te(e,t)||e[t]&&!e[t]._isDynProxy)&&(e[t]=function(e,t){var n=function n(){return(le(this,t,e,n)||ue(t,e,n)).apply(this,arguments)};return n._isDynProxy=1,n}(e,t)))}))}}function pe(e,t){return te(e,W)?e.name||t||Y:((e||{}).constructor||{}).name||t||Y}function he(e,t,n,r){te(e,W)||se("theClass is an invalid class definition.");var o=e.prototype;(function(e,t){if(J){for(var n=[],r=oe(t);r&&!re(r)&&!ce(n,r);){if(r===e)return!0;n.push(r),r=oe(r)}return!1}return!0})(o,t)||se("["+pe(e)+"] is not in class hierarchy of ["+pe(t)+"]");var i=null;te(o,K)?i=o._dynClass:(i="_dynCls$"+pe(e,"_")+"$"+ee,ee++,o._dynClass=i);var a=he._dfOpts,s=!!a.useBaseInst;s&&r&&void 0!==r.useBaseInst&&(s=!!r.useBaseInst);var c=function(e){var t={};return ie(e,(function(n){!t[n]&&ae(e,n,!1)&&(t[n]=e[n])})),t}(t),l=function(e,t,n,r){function o(e,t,n){var o=t[n];if(o._isDynProxy&&r){var i=e._dynInstFuncs||{};!1!==i._dynInstChk&&(o=(i[t._dynClass]||{})[n]||o)}return function(){return o.apply(e,arguments)}}var i={};ie(n,(function(e){i[e]=o(t,n,e)}));for(var a=oe(e),s=[];a&&!re(a)&&!ce(s,a);)ie(a,(function(e){!i[e]&&ae(a,e,!J)&&(i[e]=o(t,a,e))})),s.push(a),a=oe(a);return i}(o,t,c,s);n(t,l);var u=!!J&&!!a.setInstFuncs;u&&r&&(u=!!r.setInstFuncs),de(o,i,t,c,!1!==u)}he._dfOpts={setInstFuncs:!0,useBaseInst:!0};var fe=N,me=P.freeze;P.seal;function ge(e){return D.toString.call(e)}function ve(e){return void 0===e||typeof e===A}function ye(e){return null===e||ve(e)}function be(e){return!ye(e)}function _e(e,t){return e&&L.call(e,t)}function Ce(e){return typeof e===I}function we(e){return typeof e===T}function Ee(e,t,n,r){void 0===r&&(r=!1);var o=!1;if(!ye(e))try{ye(e.addEventListener)?ye(e.attachEvent)||(e.attachEvent("on"+t,n),o=!0):(e.addEventListener(t,n,r),o=!0)}catch(i){}return o}function xe(e,t){if(e)for(var n in e)L.call(e,n)&&t.call(e,n,e[n])}function Se(e,t){if(e&&t){var n=t.length,r=e.length;if(e===t)return!0;if(r>=n){for(var o=r-1,i=n-1;i>=0;i--){if(e[o]!=t[i])return!1;o--}return!0}}return!1}function ke(e,t){var n=!1;if(e&&t){var r=t.length;if(e===t)return!0;if(e.length>=r){for(var o=0;o<r;o++)if(e[o]!==t[o])return!1;n=!0}}return n}function Te(e,t){return!(!e||!t)&&-1!==e.indexOf(t)}function Ie(e){return"[object Date]"===ge(e)}function Ae(e){return"[object Array]"===ge(e)}function Pe(e){return"[object Error]"===ge(e)}function De(e){return"string"===typeof e}function Re(e){return"number"===typeof e}function Me(e){return"boolean"===typeof e}function Ne(e){if(e){if(e.toISOString)return e.toISOString();if(Ie(e)){var t=function(e){var t=String(e);return 1===t.length&&(t="0"+t),t};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}}function Le(e,t,n){var r=e.length;try{for(var o=0;o<r&&(!(o in e)||-1!==t.call(n||e,e[o],o,e));o++);}catch(i){}}function Oe(e,t,n){var r=e.length,o=n||0;try{for(var i=Math.max(o>=0?o:r-Math.abs(o),0);i<r;i++)if(i in e&&e[i]===t)return i}catch(a){}return-1}function Fe(e,t,n){var r=e.length,o=n||e,i=new Array(r);try{for(var a=0;a<r;a++)a in e&&(i[a]=t.call(o,e[a],e))}catch(s){}return i}function Be(e){return"string"!==typeof e?e:e.replace(/^\s+|\s+$/g,"")}var He=!{toString:null}.propertyIsEnumerable("toString"),ze=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function Ue(e){var t=typeof e;t===T||t===I&&null!==e||B("objKeys called on non-object");var n=[];for(var r in e)e&&L.call(e,r)&&n.push(r);if(He)for(var o=ze.length,i=0;i<o;i++)e&&L.call(e,ze[i])&&n.push(ze[i]);return n}function Ve(e,t,n,r){if(fe)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),fe(e,t,o),!0}catch(i){}return!1}function je(e){return me&&(e=me(e)),e}function qe(){var e=Date;return e.now?e.now():(new e).getTime()}function We(e){return Pe(e)?e.name:""}function Ge(e,t,n,r,o){var i=n;return e&&((i=e[t])===n||o&&!o(i)||r&&!r(n)||(i=n,e[t]=i)),i}function Ke(e){return!e}function Ye(e){return!!e}function Qe(e){throw new Error(e)}function Xe(e){return e&&(e=P(R?R({},e):e)),e}var Je,$e=null,Ze=function(){function e(t,n,r){var o,i=this,a=!1;(i.start=qe(),i.name=t,i.isAsync=r,i.isChildEvt=function(){return!1},we(n))&&(a=Ve(i,"payload",(function(){return!o&&we(n)&&(o=n(),n=null),o})));i.getCtx=function(t){return t?t===e.ParentContextKey||t===e.ChildrenContextKey?i[t]:(i.ctx||{})[t]:null},i.setCtx=function(t,n){if(t)if(t===e.ParentContextKey)i[t]||(i.isChildEvt=function(){return!0}),i[t]=n;else if(t===e.ChildrenContextKey)i[t]=n;else{(i.ctx=i.ctx||{})[t]=n}},i.complete=function(){var t=0,r=i.getCtx(e.ChildrenContextKey);if(Ae(r))for(var o=0;o<r.length;o++){var s=r[o];s&&(t+=s.time)}i.time=qe()-i.start,i.exTime=i.time-t,i.complete=function(){},!a&&we(n)&&(i.payload=n())}}return e.ParentContextKey="parent",e.ChildrenContextKey="childEvts",e}(),et=function e(t){this.ctx={},he(e,this,(function(e){e.create=function(e,t,n){return new Ze(e,t,n)},e.fire=function(e){e&&(e.complete(),t&&we(t.perfEvent)&&t.perfEvent(e))},e.setCtx=function(t,n){t&&((e.ctx=e.ctx||{})[t]=n)},e.getCtx=function(t){return(e.ctx||{})[t]}}))},tt="CoreUtils.doPerf";function nt(e,t,n,r,o){if(e){var i=e;if(we(i.getPerfMgr)&&(i=i.getPerfMgr()),i){var a=void 0,s=i.getCtx(tt);try{if(a=i.create(t(),r,o)){if(s&&a.setCtx&&(a.setCtx(Ze.ParentContextKey,s),s.getCtx&&s.setCtx)){var c=s.getCtx(Ze.ChildrenContextKey);c||(c=[],s.setCtx(Ze.ChildrenContextKey,c)),c.push(a)}return i.setCtx(tt,a),n(a)}}catch(l){a&&a.setCtx&&a.setCtx("exception",l)}finally{a&&i.fire(a),i.setCtx(tt,s)}}}return n()}!function(e){e[e.CRITICAL=1]="CRITICAL",e[e.WARNING=2]="WARNING"}(Je||(Je={}));var rt={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105},ot=0,it=13,at=32,st=1,ct=2,lt=3,ut=4,dt=0,pt=1,ht=6,ft=7,mt=z(z({},rt),{AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}),gt="window",vt="JSON",yt="msie",bt="trident/",_t=null,Ct=null,wt=!1,Et=null,xt=null;function St(e,t){var n=!1;if(e){try{if(!(n=t in e)){var r=e.prototype;r&&(n=t in r)}}catch(o){}if(!n)try{n=!ve((new e)[t])}catch(o){}}return n}function kt(e){var t=F();return t&&t[e]?t[e]:e===gt&&Tt()?window:null}function Tt(){return Boolean(typeof window===I&&window)}function It(){return Tt()?window:kt(gt)}function At(){return Boolean(typeof document===I&&document)?document:kt("document")}function Pt(){return Boolean(typeof navigator===I&&navigator)}function Dt(){return Pt()?navigator:kt("navigator")}function Rt(){return Boolean(typeof history===I&&history)?history:kt("history")}function Mt(e){if(e&&wt){var t=kt("__mockLocation");if(t)return t}return typeof location===I&&location?location:kt("location")}function Nt(){return kt("performance")}function Lt(){return Boolean(typeof JSON===I&&JSON||null!==kt(vt))}function Ot(){return Lt()?JSON||kt(vt):null}function Ft(){var e=Dt();return!(!e||!e.product)&&"ReactNative"===e.product}function Bt(){var e=Dt();if(e&&(e.userAgent!==Ct||null===_t)){var t=((Ct=e.userAgent)||"").toLowerCase();_t=Te(t,yt)||Te(t,bt)}return _t}function Ht(e){if(void 0===e&&(e=null),!e){var t=Dt()||{};e=t?(t.userAgent||"").toLowerCase():""}var n=(e||"").toLowerCase();if(Te(n,yt)){var r=At()||{};return Math.max(parseInt(n.split(yt)[1]),r.documentMode||0)}if(Te(n,bt)){var o=parseInt(n.split(bt)[1]);if(o)return o+4}return null}function zt(e){var t=Object.prototype.toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Lt()&&(n=Ot().stringify(e)),t+n}function Ut(){return null===xt&&(xt=Pt()&&Boolean(Dt().sendBeacon)),xt}function Vt(e){var t=!1;try{t=!!kt("fetch");var n=kt("Request");t&&e&&n&&(t=St(n,"keepalive"))}catch(r){}return t}function jt(){return null===Et&&(Et="undefined"!==typeof XDomainRequest)&&qt()&&(Et=Et&&!St(kt("XMLHttpRequest"),"withCredentials")),Et}function qt(){var e=!1;try{e=!!kt("XMLHttpRequest")}catch(t){}return e}var Wt,Gt=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],Kt=null;function Yt(e,t){return function(){var n=arguments,r=Qt(t);if(r){var o=r.listener;o&&o[e]&&o[e].apply(o,n)}}}function Qt(e){var t=Kt;return t||!0===e.disableDbgExt||(t=Kt||function(){var e=kt("Microsoft");return e&&(Kt=e.ApplicationInsights),Kt}()),t?t.ChromeDbgExt:null}function Xt(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function Jt(e,t){var n=typeof console!==A?console:kt("console");if(n){var r="log";n[e]&&(r=e),we(n[r])&&n[r](t)}}var $t=function(){function e(e,t,n,r){void 0===n&&(n=!1);var o=this;o.messageId=e,o.message=(n?"AI: ":"AI (Internal): ")+e;var i="";Lt()&&(i=Ot().stringify(r));var a=(t?" message:"+Xt(t):"")+(r?" props:"+Xt(i):"");o.message+=a}return e.dataType="MessageData",e}();function Zt(e,t){return(e||{}).logger||new en(t)}var en=function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n=0,r={};he(e,this,(function(e){function o(e,n){var r=t[e];return ye(r)?n:r}function i(e,n){var r=Qt(t);r&&r.diagLog&&r.diagLog(e,n)}ye(t)&&(t={}),e.consoleLoggingLevel=function(){return o("loggingLevelConsole",0)},e.telemetryLoggingLevel=function(){return o("loggingLevelTelemetry",1)},e.maxInternalMessageLimit=function(){return o("maxMessageLimit",25)},e.enableDebugExceptions=function(){return o("enableDebugExceptions",!1)},e.throwInternal=function(t,n,o,a,s){void 0===s&&(s=!1);var c=new $t(n,o,s,a);if(e.enableDebugExceptions())throw c;var l=t===Je.CRITICAL?"errorToConsole":"warnToConsole";if(ve(c.message))i("throw"+(t===Je.CRITICAL?"Critical":"Warning"),c);else{var u=e.consoleLoggingLevel();if(s){var d=+c.messageId;!r[d]&&u>=t&&(e[l](c.message),r[d]=!0)}else u>=t&&e[l](c.message);e.logInternalMessage(t,c)}},e.warnToConsole=function(e){Jt("warn",e),i("warning",e)},e.errorToConsole=function(e){Jt("error",e),i("error",e)},e.resetInternalMessageCount=function(){n=0,r={}},e.logInternalMessage=function(t,o){if(!(n>=e.maxInternalMessageLimit())){var a=!0,s="AITR_"+o.messageId;if(r[s]?a=!1:r[s]=!0,a&&(t<=e.telemetryLoggingLevel()&&(e.queue.push(o),n++,i(t===Je.CRITICAL?"error":"warn",o)),n===e.maxInternalMessageLimit())){var c="Internal events throttle limit per PageView reached for this app.",l=new $t(rt.MessageLimitPerPVExceeded,c,!1);e.queue.push(l),t===Je.CRITICAL?e.errorToConsole(c):e.warnToConsole(c)}}}}))},tn=function(e,t){var n=this,r=null,o=we(e.processTelemetry),i=we(e.setNextPlugin);n._hasRun=!1,n.getPlugin=function(){return e},n.getNext=function(){return r},n.setNext=function(e){r=e},n.processTelemetry=function(a,s){s||(s=t);var c=e?e.identifier:"TelemetryPluginChain";nt(s?s.core():null,(function(){return c+":processTelemetry"}),(function(){if(e&&o){n._hasRun=!0;try{s.setNext(r),i&&e.setNextPlugin(r),r&&(r._hasRun=!1),e.processTelemetry(a,s)}catch(c){var t=r&&r._hasRun;r&&t||s.diagLog().throwInternal(Je.CRITICAL,rt.PluginException,"Plugin ["+e.identifier+"] failed during processTelemetry - "+zt(c)),r&&!t&&r.processTelemetry(a,s)}}else r&&(n._hasRun=!0,r.processTelemetry(a,s))}),(function(){return{item:a}}),!a.sync)}};function nn(e,t){var n=[];if(e&&e.length>0)for(var r=null,o=0;o<e.length;o++){var i=e[o];if(i&&we(i.processTelemetry)){var a=new tn(i,t);n.push(a),r&&r.setNext(a),r=a}}return n.length>0?n[0]:null}var rn=function e(t,n,r,o){var i=this,a=null;null!==o&&(t&&we(t.getPlugin)?a=function(e,t,n){var r=[],o=!n;if(e)for(;e;){var i=e.getPlugin();(o||i===n)&&(o=!0,r.push(i)),e=e.getNext()}return o||r.push(n),nn(r,t)}(t,i,o||t.getPlugin()):o?a=function(e,t,n){var r=e,o=!1;return n&&e&&(r=[],Le(e,(function(e){(o||e===n)&&(o=!0,r.push(e))}))),n&&!o&&(r||(r=[]),r.push(n)),nn(r,t)}(t,i,o):ve(o)&&(a=nn(t,i))),i.core=function(){return r},i.diagLog=function(){return Zt(r,n)},i.getCfg=function(){return n},i.getExtCfg=function(e,t){var r;if(void 0===t&&(t={}),n){var o=n.extensionConfig;o&&e&&(r=o[e])}return r||t},i.getConfig=function(e,t,r){var o;void 0===r&&(r=!1);var a=i.getExtCfg(e,null);return a&&!ye(a[t])?o=a[t]:n&&!ye(n[t])&&(o=n[t]),ye(o)?r:o},i.hasNext=function(){return null!=a},i.getNext=function(){return a},i.setNext=function(e){a=e},i.processNext=function(e){var t=a;t&&(a=t.getNext(),t.processTelemetry(e,i))},i.createNew=function(t,o){return void 0===t&&(t=null),new e(t||a,n,r,o)}},on="extensionConfig",an=function(){function e(){var e=this,t=!1,n=null,r=null;e.core=null,e.diagLog=function(t){return e._getTelCtx(t).diagLog()},e.isInitialized=function(){return t},e.setInitialized=function(e){t=e},e.setNextPlugin=function(e){r=e},e.processNext=function(e,t){t?t.processNext(e):r&&we(r.processTelemetry)&&r.processTelemetry(e,null)},e._getTelCtx=function(t){void 0===t&&(t=null);var o=t;if(!o){var i=n||new rn(null,{},e.core);o=r&&r.getPlugin?i.createNew(null,r.getPlugin):i.createNew(null,r)}return o},e._baseTelInit=function(o,i,a,s){o&&Ge(o,on,[],null,ye),!s&&i&&(s=i.getProcessTelContext().getNext());var c=r;r&&r.getPlugin&&(c=r.getPlugin()),e.core=i,n=new rn(s,o,i,c),t=!0}}return e.prototype.initialize=function(e,t,n,r){this._baseTelInit(e,t,n,r)},e}();function sn(e,t){for(var n=[],r=null,o=e.getNext();o;){var i=o.getPlugin();i&&(r&&we(r.setNextPlugin)&&we(i.processTelemetry)&&r.setNextPlugin(i),we(i.isInitialized)&&i.isInitialized()||n.push(i),r=i,o=o.getNext())}Le(n,(function(n){n.initialize(e.getCfg(),e.core(),t,e.getNext())}))}function cn(e){return e.sort((function(e,t){var n=0,r=we(t.processTelemetry);return we(e.processTelemetry)?n=r?e.priority-t.priority:1:r&&(n=-1),n}))}var ln=500,un=function(e){function t(){var n,r=e.call(this)||this;function o(e){e&&e.length>0&&(function(e){Le(e,(function(e){e.priority<ln&&Qe("Channel has invalid priority"+e.identifier)}))}(e=e.sort((function(e,t){return e.priority-t.priority}))),n.push(e))}return r.identifier="ChannelControllerPlugin",r.priority=500,he(t,r,(function(e,t){e.setNextPlugin=function(e){},e.processTelemetry=function(e,t){n&&Le(n,(function(n){n.length>0&&r._getTelCtx(t).createNew(n).processNext(e)}))},e.getChannelControls=function(){return n},e.initialize=function(r,i,a){e.isInitialized()||(t.initialize(r,i,a),function(e,t){n=[],e&&Le(e,(function(e){return o(e)}));if(t){var r=[];Le(t,(function(e){e.priority>ln&&r.push(e)})),o(r)}}((r||{}).channels,a),Le(n,(function(e){return sn(new rn(e,r,i),a)})))}})),r}return V(t,e),t._staticInit=function(){var e=t.prototype;Ve(e,"ChannelControls",e.getChannelControls),Ve(e,"channelQueue",e.getChannelControls)}(),t}(an),dn="toGMTString",pn="toUTCString",hn="expires",fn="",mn=null,gn=null,vn=null,yn=At(),bn={},_n={};function Cn(e,t){var n=xn._ckMgr||_n._ckMgr;return n||(n=xn._ckMgr=xn(e,t),_n._ckMgr=n),n}function wn(e){return!e||e.isEnabled()}function En(e,t){var n;if(e)n=e.getCookieMgr();else if(t){var r=t.cookieCfg;n=r._ckMgr?r._ckMgr:xn(t)}return n||(n=Cn(t,(e||{}).logger)),n}function xn(e,t){var n=function(e){var t=e.cookieCfg=e.cookieCfg||{};if(Ge(t,"domain",e.cookieDomain,be,ye),Ge(t,"path",e.cookiePath||"/",null,ye),ye(t.enabled)){var n=void 0;ve(e.isCookieUseDisabled)||(n=!e.isCookieUseDisabled),ve(e.disableCookiesUsage)||(n=!e.disableCookiesUsage),t.enabled=n}return t}(e||_n),r=n.path||"/",o=n.domain,i=!1!==n.enabled,a={isEnabled:function(){var e=i&&Sn(t),n=_n._ckMgr;return e&&n&&a!==n&&(e=wn(n)),e},setEnabled:function(e){i=!1!==e},set:function(e,t,i,s,c){var l=!1;if(wn(a)){var u={},d=Be(t||fn),p=d.indexOf(";");if(-1!==p&&(d=Be(t.substring(0,p)),u=kn(t.substring(p+1))),Ge(u,"domain",s||o,Ye,ve),!ye(i)){var h=Bt();if(ve(u.expires)){var f=qe()+1e3*i;if(f>0){var m=new Date;m.setTime(f),Ge(u,hn,Tn(m,h?dn:pn)||Tn(m,h?dn:pn)||fn,Ye)}}h||Ge(u,"max-age",fn+i,null,ve)}var g=Mt();g&&"https:"===g.protocol&&(Ge(u,"secure",null,null,ve),null===gn&&(gn=!Dn((Dt()||{}).userAgent)),gn&&Ge(u,"SameSite","None",null,ve)),Ge(u,"path",c||r,null,ve),(n.setCookie||Pn)(e,In(d,u)),l=!0}return l},get:function(e){var t=fn;return wn(a)&&(t=(n.getCookie||An)(e)),t},del:function(e,t){var n=!1;return wn(a)&&(n=a.purge(e,t)),n},purge:function(e,r){var o,i=!1;if(Sn(t)){var a=((o={}).path=r||"/",o.expires="Thu, 01 Jan 1970 00:00:01 GMT",o);Bt()||(a["max-age"]="0"),(n.delCookie||Pn)(e,In(fn,a)),i=!0}return i}};return a._ckMgr=a,a}function Sn(e){if(null===mn){mn=!1;try{mn=void 0!==(yn||{}).cookie}catch(t){e&&e.throwInternal(Je.WARNING,rt.CannotAccessCookie,"Cannot access document.cookie - "+We(t),{exception:zt(t)})}}return mn}function kn(e){var t={};e&&e.length&&Le(Be(e).split(";"),(function(e){if(e=Be(e||fn)){var n=e.indexOf("=");-1===n?t[e]=null:t[Be(e.substring(0,n))]=Be(e.substring(n+1))}}));return t}function Tn(e,t){return we(e[t])?e[t]():null}function In(e,t){var n=e||fn;return xe(t,(function(e,t){n+="; "+e+(ye(t)?fn:"="+t)})),n}function An(e){var t=fn;if(yn){var n=yn.cookie||fn;vn!==n&&(bn=kn(n),vn=n),t=Be(bn[e]||fn)}return t}function Pn(e,t){yn&&(yn.cookie=e+"="+t)}function Dn(e){return!!De(e)&&(!(!Te(e,"CPU iPhone OS 12")&&!Te(e,"iPad; CPU OS 12"))||(!!(Te(e,"Macintosh; Intel Mac OS X 10_14")&&Te(e,"Version/")&&Te(e,"Safari"))||(!(!Te(e,"Macintosh; Intel Mac OS X 10_14")||!Se(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))||(!(!Te(e,"Chrome/5")&&!Te(e,"Chrome/6"))||(!(!Te(e,"UnrealEngine")||Te(e,"Chrome"))||!(!Te(e,"UCBrowser/12")&&!Te(e,"UCBrowser/11")))))))}function Rn(e,t){return new et(t)}var Mn=function e(){var t,n,r,o,i,a=!1;he(e,this,(function(e){e._extensions=new Array,n=new un,e.logger=new en({loggingLevelConsole:Je.CRITICAL}),t=[],e.isInitialized=function(){return a},e.initialize=function(t,o,i,s){e.isInitialized()&&Qe("Core should not be initialized more than once"),t&&!ye(t.instrumentationKey)||Qe("Please provide instrumentation key"),r=s,e._notificationManager=s,e.config=t||{},s&&!0!==e.config.disableDbgExt&&s.addNotificationListener(function(e){if(!Wt){Wt={};for(var t=0;t<Gt.length;t++)Wt[Gt[t]]=Yt(Gt[t],e)}return Wt}(t)),e.config.enablePerfMgr&&Ge(e.config,"createPerfMgr",Rn),t.extensions=ye(t.extensions)?[]:t.extensions,(function(e,t,n){var r;return e?!(r=e[t])&&ye(r)&&(r=ve(n)?{}:n,e[t]=r):r=ve(n)?{}:n,r}(t,on)).NotificationManager=s,i&&(e.logger=i);var c=[];c.push.apply(c,j(j([],o),t.extensions)),c=cn(c);var l=[],u=[],d={};Le(c,(function(e){(ye(e)||ye(e.initialize))&&Qe("Extensions must provide callback to initialize");var t=e.priority,r=e.identifier;e&&t&&(ye(d[t])?d[t]=r:i.warnToConsole("Two extensions have same priority #"+t+" - "+d[t]+", "+r)),!t||t<n.priority?l.push(e):u.push(e)})),c.push(n),l.push(n),c=cn(c),e._extensions=c,sn(new rn([n],t,e),c),sn(new rn(l,t,e),c),e._extensions=l,0===e.getTransmissionControls().length&&Qe("No channels available"),a=!0,e.releaseQueue()},e.getTransmissionControls=function(){return n.getChannelControls()},e.track=function(n){Ge(n,"iKey",e.config.instrumentationKey,null,Ke),Ge(n,"time",Ne(new Date),null,Ke),Ge(n,"ver","4.0",null,ye),e.isInitialized()?e.getProcessTelContext().processNext(n):t.push(n)},e.getProcessTelContext=function(){var t=e._extensions,r=t;return t&&0!==t.length||(r=[n]),new rn(r,e.config,e)},e.getNotifyMgr=function(){return r||(r=H({addNotificationListener:function(e){},removeNotificationListener:function(e){},eventsSent:function(e){},eventsDiscarded:function(e,t){},eventsSendRequest:function(e,t){}}),e._notificationManager=r),r},e.getCookieMgr=function(){return i||(i=xn(e.config,e.logger)),i},e.setCookieMgr=function(e){i=e},e.getPerfMgr=function(){return o||e.config&&e.config.enablePerfMgr&&we(e.config.createPerfMgr)&&(o=e.config.createPerfMgr(e,e.getNotifyMgr())),o||$e},e.setPerfMgr=function(e){o=e},e.eventCnt=function(){return t.length},e.releaseQueue=function(){t.length>0&&(Le(t,(function(t){e.getProcessTelContext().processNext(t)})),t=[])}}))},Nn=0,Ln=1,On=2,Fn=4,Bn=5,Hn=function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;he(e,this,(function(e){e.addNotificationListener=function(t){e.listeners.push(t)},e.removeNotificationListener=function(t){for(var n=Oe(e.listeners,t);n>-1;)e.listeners.splice(n,1),n=Oe(e.listeners,t)},e.eventsSent=function(t){Le(e.listeners,(function(e){e&&e.eventsSent&&setTimeout((function(){return e.eventsSent(t)}),0)}))},e.eventsDiscarded=function(t,n){Le(e.listeners,(function(e){e&&e.eventsDiscarded&&setTimeout((function(){return e.eventsDiscarded(t,n)}),0)}))},e.eventsSendRequest=function(t,n){Le(e.listeners,(function(e){if(e&&e.eventsSendRequest)if(n)setTimeout((function(){return e.eventsSendRequest(t,n)}),0);else try{e.eventsSendRequest(t,n)}catch(r){}}))},e.perfEvent=function(t){t&&(!n&&t.isChildEvt()||Le(e.listeners,(function(e){if(e&&e.perfEvent)if(t.isAsync)setTimeout((function(){return e.perfEvent(t)}),0);else try{e.perfEvent(t)}catch(n){}})))}}))},zn=function(e){function t(){var n=e.call(this)||this,r=0;return he(t,n,(function(e,t){function n(t){var n=e.getNotifyMgr();n&&n.eventsDiscarded([t],On)}e.initialize=function(e,n,r,o){t.initialize(e,n,r||new en(e),o||new Hn(e))},e.track=function(r){nt(e.getPerfMgr(),(function(){return"AppInsightsCore:track"}),(function(){null===r&&(n(r),Qe("Invalid telemetry item")),function(e){if(ye(e.name))throw n(e),Error("telemetry name required")}(r),t.track(r)}),(function(){return{item:r}}),!r.sync)},e.addNotificationListener=function(t){var n=e.getNotifyMgr();n&&n.addNotificationListener(t)},e.removeNotificationListener=function(t){var n=e.getNotifyMgr();n&&n.removeNotificationListener(t)},e.pollInternalLogs=function(t){var n=e.config.diagnosticLogInterval;return n&&n>0||(n=1e4),r&&e.stopPollingInternalLogs(),r=setInterval((function(){var n=e.logger?e.logger.queue:[];Le(n,(function(n){var r={name:t||"InternalMessageId: "+n.messageId,iKey:e.config.instrumentationKey,time:Ne(new Date),baseType:$t.dataType,baseData:{message:n.message}};e.track(r)})),n.length=0}),n)},e.stopPollingInternalLogs=function(){r&&(clearInterval(r),r=0)}})),n}return V(t,e),t}(Mn),Un=4294967296,Vn=4294967295,jn=!1,qn=123456789,Wn=987654321;function Gn(e){e<0&&(e>>>=0),qn=123456789+e&Vn,Wn=987654321-e&Vn,jn=!0}function Kn(){try{var e=2147483647&qe();Gn((Math.random()*Un^e)+e)}catch(t){}}function Yn(e){return e>0?Math.floor(Qn()/Vn*(e+1))>>>0:0}function Qn(e){var t,n=kt("crypto")||kt("msCrypto");return n&&n.getRandomValues?t=n.getRandomValues(new Uint32Array(1))[0]&Vn:Bt()?(jn||Kn(),t=Xn()&Vn):t=Math.floor(Un*Math.random()|0),e||(t>>>=0),t}function Xn(e){var t=((Wn=36969*(65535&Wn)+(Wn>>16)&Vn)<<16)+(65535&(qn=18e3*(65535&qn)+(qn>>16)&Vn))>>>0&Vn|0;return e||(t>>>=0),t}var Jn="visibilitychange",$n="pagehide",Zn="pageshow";function er(e,t){var n=!1,r=It();r&&(n=Ee(r,e,t),n=Ee(r.body,e,t)||n);var o=At();return o&&(n=Ee(o,e,t)||n),n}function tr(e,t,n){var r=!1;if(t&&e&&Ae(e)){var o=[];Le(e,(function(e){De(e)&&(n&&-1!==Oe(n,e)?o.push(e):r=er(e,t)||r)})),!r&&o.length>0&&(r=tr(o,t))}return r}function nr(e,t){return tr(["beforeunload","unload","pagehide"],e,t)}function rr(e,t){var n=!1;return t&&-1!==Oe(t,$n)||(n=er($n,e)),t&&-1!==Oe(t,Jn)||(n=er(Jn,(function(t){var n=At();e&&n&&"hidden"===n.visibilityState&&e(t)}))||n),!n&&t&&(n=rr(e)),n}function or(e,t){var n=!1;return t&&-1!==Oe(t,Zn)||(n=er(Zn,e)),t&&-1!==Oe(t,Jn)||(n=er(Jn,(function(t){var n=At();e&&n&&"visible"===n.visibilityState&&e(t)}))||n),!n&&t&&(n=or(e)),n}function ir(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(ur,(function(e){var t=0|Yn(15);return("x"===e?t:3&t|8).toString(16)}))}function ar(){var e=Nt();return e&&e.now?e.now():qe()}function sr(e){void 0===e&&(e=22);for(var t=Qn()>>>0,n=0,r="";r.length<e;)n++,r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===n&&(t=(Qn()<<2&4294967295|3&t)>>>0,n=0);return r}function cr(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=Qn())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&Qn())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+o+n.substr(16,3)+n.substr(19,12)}var lr,ur=/[xy]/g;var dr="1DS-Web-JS-3.1.10",pr="withCredentials",hr=((lr={})[0]=dt,lr[2]=ht,lr[1]=pt,lr[3]=ft,lr[4098]=ht,lr[4097]=pt,lr[4099]=ft,lr),fr=Boolean(At()),mr=Boolean(It());function gr(e){return!(""===e||ye(e))}function vr(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return""}function yr(e){return!!(e&&Re(e)&&e>=st&&e<=ut)}function br(e,t,n){if(!t&&!gr(t)||"string"!==typeof e)return null;var r=typeof t;if("string"===r||"number"===r||"boolean"===r||Ae(t))t={value:t};else if("object"!==r||t.hasOwnProperty("value")){if(ye(t.value)||""===t.value||!De(t.value)&&!Re(t.value)&&!Me(t.value)&&!Ae(t.value))return null}else t={value:n?JSON.stringify(t):t};if(Ae(t.value)&&!Tr(t.value))return null;if(!ye(t.kind)){if(Ae(t.value)||!kr(t.kind))return null;t.value=t.value.toString()}return t}function _r(e,t,n){var r=-1;if(!ve(e))if(t>0&&(32===t?r=8192:t<=13&&(r=t<<5)),function(e){if(e>=0&&e<=9)return!0;return!1}(n))-1===r&&(r=0),r|=n;else{var o=hr[Ar(e)]||-1;-1!==r&&-1!==o?r|=o:o===ht&&(r=o)}return r}function Cr(e){return Sn(null)?wr(En(null),e):""}function wr(e,t,n){var r;return void 0===n&&(n=!0),e&&(r=e.get(t),n&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||""}function Er(e){void 0===e&&(e="D");var t=ir();return"B"===e?t="{"+t+"}":"P"===e?t="("+t+")":"N"===e&&(t=t.replace(/-/g,"")),t}function xr(e,t,n,r,o){var i={},a=!1,s=0,c=arguments.length,l=Object.prototype,u=arguments;for("[object Boolean]"===l.toString.call(u[0])&&(a=u[0],s++);s<c;s++){xe(e=u[s],(function(e,t){a&&t&&Ce(t)?Ae(t)?(i[e]=i[e]||[],Le(t,(function(t,n){t&&Ce(t)?i[e][n]=xr(!0,i[e][n],t):i[e][n]=t}))):i[e]=xr(!0,i[e],t):i[e]=t}))}return i}var Sr=ar;function kr(e){return e===ot||e>ot&&e<=it||e===at}function Tr(e){return e.length>0}function Ir(e,t){var n=e;n.timings=n.timings||{},n.timings.processTelemetryStart=n.timings.processTelemetryStart||{},n.timings.processTelemetryStart[t]=Sr()}function Ar(e){var t=0;if(null!==e&&void 0!==e){var n=typeof e;"string"===n?t=1:"number"===n?t=2:"boolean"===n?t=3:n===I&&(t=4,Ae(e)?(t=4096,e.length>0&&(t|=Ar(e[0]))):_e(e,"value")&&(t=8192|Ar(e.value)))}return t}function Pr(e,t,n,r,o){function i(e,t,n){try{e[t]=n}catch(r){}}void 0===r&&(r=!1),void 0===o&&(o=!1);var a=new XMLHttpRequest;return r&&i(a,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),n&&i(a,pr,n),a.open(e,t,!o),n&&i(a,pr,n),a}var Dr=function(e){function t(){var n=e.call(this)||this;return n.pluginVersionStringArr=[],n.pluginVersionString="",he(t,n,(function(e,t){e.logger&&e.logger.queue||(e.logger=new en({loggingLevelConsole:Je.CRITICAL})),e.initialize=function(n,r,o,i){nt(e,(function(){return"AppInsightsCore.initialize"}),(function(){if(n){n.endpointUrl||(n.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/");var a=n.propertyStorageOverride;if(a&&(!a.getProperty||!a.setProperty))throw new Error("Invalid property storage override passed.");n.channels&&Le(n.channels,(function(t){t&&Le(t,(function(t){if(t.identifier&&t.version){var n=t.identifier+"="+t.version;e.pluginVersionStringArr.push(n)}}))}))}e.getWParam=function(){return"undefined"!==typeof document?0:-1},r&&Le(r,(function(t){if(t&&t.identifier&&t.version){var n=t.identifier+"="+t.version;e.pluginVersionStringArr.push(n)}})),e.pluginVersionString=e.pluginVersionStringArr.join(";");try{t.initialize(n,r,o,i),e.pollInternalLogs("InternalLog")}catch(l){var s=e.logger,c=zt(l);-1!==c.indexOf("channels")&&(c+="\n - Channels must be provided through config.channels only!"),s.throwInternal(Je.CRITICAL,mt.FailedToInitializeSDK,"SDK Initialization Failed - no telemetry will be sent: "+c)}}),(function(){return{config:n,extensions:r,logger:o,notificationManager:i}}))},e.track=function(n){nt(e,(function(){return"AppInsightsCore.track"}),(function(){var r=n;if(r){r.timings=r.timings||{},r.timings.trackStart=Sr(),yr(r.latency)||(r.latency=st);var o=r.ext=r.ext||{};o.sdk=o.sdk||{},o.sdk.ver=dr;var i=r.baseData=r.baseData||{};i.properties||(i.properties={});var a=i.properties;a.version||(a.version=""),""!==e.pluginVersionString&&(a.version=e.pluginVersionString)}t.track(r)}),(function(){return{item:n}}),!n.sync)}})),n}return V(t,e),t}(zn),Rr=Dr,Mr=["AX","EX","SF","CS","CF","CT","CU","DC","DF","H5","HL","WS","WP"];function Nr(e,t){void 0===t&&(t=Mr);var n=null;if(e)for(var r=e.split(","),o=0;o<r.length;o++)Lr(r[o],t)&&(n?n+=","+r[o]:n=r[o]);return n}function Lr(e,t){if(void 0===t&&(t=Mr),!e||e.length<4)return!1;for(var n=!1,r=e.substring(0,3).toString().toUpperCase(),o=0;o<t.length;o++)if(t[o]+":"===r&&e.length<=256){n=!0;break}return n}var Or=function(){function e(e,t){this.core=t,this.appExpId=null,this.flightIdNameSpaces=Mr.slice(0),this.expIdCookieName="Treatments",this._cookieMgr=En(t),this._propertiesConfig=e;var n=At();if(n){var r=n.documentElement;n&&(this.locale=r.lang)}this.env=e.env?e.env:this._getMetaDataFromDOM("awa-").env}return e.prototype.getExpId=function(){return this._propertiesConfig.expId?this._readExpIdFromCoreData(this._propertiesConfig.expId):this._readExpIdFromCookie()},e.prototype._getMetaDataFromDOM=function(e){var t,n={},r=At();if(r){t=r&&r.querySelectorAll("meta");for(var o=0;o<t.length;o++){var i=t[o];if(i.name)if(0===i.name.toLowerCase().indexOf(e))n[i.name.replace(e,"")]=i.content}}return n},e.prototype._setAppExpId=function(e){e!==this.appExpId&&(this.appExpId=Nr(e,this.flightIdNameSpaces))},e.prototype._getAppExpId=function(){return this.appExpId},e.prototype._readExpIdFromCookie=function(){var e=wr(this._cookieMgr,this.expIdCookieName);return this._setAppExpId(e),this._getAppExpId()},e.prototype._readExpIdFromCoreData=function(e){return this._setAppExpId(e),this._getAppExpId()},e.validateAppExpId=Nr,e._staticInit=void Ve(e.prototype,"expId",e.prototype.getExpId),e}(),Fr=function(){},Br=function(){function e(t,n,r){this.core=r,this._propertiesConfig=n;var o=this._cookieMgr=En(r,t);if(o&&o.isEnabled()){if(!this._propertiesConfig.hashIdentifiers&&!this._propertiesConfig.dropIdentifiers){var i=wr(o,"MUID");i&&this.setLocalId("t:"+i)}if(this._propertiesConfig.enableApplicationInsightsUser){var a=wr(o,e.userCookieName);if(a){var s=a.split(e.cookieSeparator);s.length>0&&(this.id=s[0])}if(!this.id){this.id=sr(t&&!ve(t.idLength)?t.idLength:22);var c=Ne(new Date);this.accountAcquisitionDate=c;var l=[this.id,c],u=this._propertiesConfig.cookieDomain?this._propertiesConfig.cookieDomain:void 0;o.set(e.userCookieName,l.join(e.cookieSeparator),31536e3,u)}}}if("undefined"!==typeof navigator){var d=navigator;this.locale=d.userLanguage||d.language}}return e.prototype.getLocalId=function(){if(this._customLocalId)return this._customLocalId;if(!this._propertiesConfig.hashIdentifiers&&!this._propertiesConfig.dropIdentifiers){var e=wr(this._cookieMgr,"MUID");e&&this.setLocalId("t:"+e)}},e.prototype.setLocalId=function(e){this._customLocalId=e},e.cookieSeparator="|",e.userCookieName="ai_user",e._staticInit=void Ve(e.prototype,"localId",e.prototype.getLocalId,e.prototype.setLocalId),e}(),Hr="([\\d,.]+)",zr="Unknown",Ur="Edg/",Vr=[{ua:"OPR/",b:"Opera"},{ua:"PhantomJS",b:"PhantomJS"},{ua:"Edge",b:"Edge"},{ua:Ur,b:"Edge"},{ua:"Electron",b:"Electron"},{ua:"Chrome",b:"Chrome"},{ua:"Trident",b:"MSIE"},{ua:"MSIE ",b:"MSIE"},{ua:"Firefox",b:"Firefox"},{ua:"Safari",b:"Safari"},{ua:"SkypeShell",b:"SkypeShell"}],jr=[{br:"Microsoft Edge",b:"Edge"},{br:"Google Chrome",b:"Chrome"},{br:"Opera",b:"Opera"}];function qr(e,t){return t.indexOf(e)>-1}function Wr(e,t){for(var n=0;n<t.length;n++)if(e==t[n].brand)return t[n].version;return null}function Gr(e,t){return"MSIE"===t?function(e){var t=e.match(new RegExp("MSIE ([\\d,.]+)"));if(t)return t[1];var n=e.match(new RegExp("rv:([\\d,.]+)"));if(n)return n[1]}(e):function(e,t){"Safari"===e?e="Version":"Edge"===e&&qr(Ur,t)&&(e="Edg");var n=t.match(new RegExp(e+"/"+Hr));if(n)return n[1];if("Opera"===e&&(n=t.match(new RegExp("OPR/([\\d,.]+)"))))return n[1];return zr}(t,e)}var Kr=function(){function e(t,n){var r=En(n),o=t||{};he(e,this,(function(e){var t=Mt();if(t){var n=t.hostname;n&&(e.domain="file:"===t.protocol?"local":n)}if(o.populateBrowserInfo){var i=o.userAgent,a=(o.userAgentData||{}).brands,s=Dt();s&&(i=i||s.userAgent||"",a=a||(s.userAgentData||{}).brands),function(t,n){if(Ae(n))try{for(var r=0;r<jr.length;r++){var o=Wr(jr[r].br,n);if(o)return e.browser=jr[r].b,void(e.browserVer=o)}}catch(a){}if(t){var i=function(e){if(e)for(var t=0;t<Vr.length;t++)if(qr(Vr[t].ua,e))return Vr[t].b;return zr}(t);e.browser=i,e.browserVer=Gr(t,i)}}(i,a);var c=function(){var e={h:0,w:0},t=It();return t&&t.screen&&(e.h=screen.height,e.w=screen.width),e}();e.screenRes=c.w+"X"+c.h}e.getUserConsent=function(){return o.userConsented||!!wr(r,o.userConsentCookieName||"MSCC")},e.getUserConsentDetails=function(){try{var e=o.callback;if(e&&e.userConsentDetails){var t=e.userConsentDetails();if(t)return JSON.stringify({Required:t.Required||!1,Analytics:t.Analytics||!1,SocialMedia:t.SocialMedia||!1,Advertising:t.Advertising||!1})}}catch(n){}return null},Ve(e,"userConsent",e.getUserConsent)}))}return e._staticInit=void Ve(e.prototype,"userConsent",e.prototype.getUserConsent),e}(),Yr={WIN:/(windows|win32)/i,WINRT:/ arm;/i,WINPHONE:/windows\sphone\s\d+\.\d+/i,OSX:/(macintosh|mac os x)/i,IOS:/(ipad|iphone|ipod)(?=.*like mac os x)/i,LINUX:/(linux|joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk)/i,ANDROID:/android/i,CROS:/CrOS/i},Qr={5.1:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1","10.0":"10"},Xr="Unknown",Jr=[{r:Yr.WINPHONE,os:"Windows Phone"},{r:Yr.WINRT,os:"Windows RT"},{r:Yr.WIN,os:"Windows"},{r:Yr.IOS,os:"iOS"},{r:Yr.ANDROID,os:"Android"},{r:Yr.LINUX,os:"Linux"},{r:Yr.CROS,os:"Chrome OS"},{s:"x11",os:"Unix"},{s:"blackberry",os:"BlackBerry"},{s:"symbian",os:"Symbian"},{s:"nokia",os:"Nokia"},{r:Yr.OSX,os:"Mac OS X"}];function $r(e,t){return"Windows"===t?Zr(e,"Windows NT"):"Android"===t?Zr(e,t):"Mac OS X"===t?function(e){var t=e.match(new RegExp("Mac OS X ([\\d,_,.]+)"));if(t){var n=t[1].replace(/_/g,".");if(n){var r=eo(n);return r?n.split(r)[0]:n}}return Xr}(e):"iOS"===t?function(e){var t=e.match(new RegExp("OS ([\\d,_,.]+)"));if(t){var n=t[1].replace(/_/g,".");if(n){var r=eo(n);return r?n.split(r)[0]:n}}return Xr}(e):Xr}function Zr(e,t){var n=e.match(new RegExp(t+" ([\\d,.]+)"));return n?Qr[n[1]]?Qr[n[1]]:n[1]:Xr}function eo(e){return e.indexOf(".")>-1?".":e.indexOf("_")>-1?"_":null}var to=function(e){if(e.populateOperatingSystemInfo){var t=Dt()||{},n=e.userAgent||t.userAgent||"",r=e.userAgentData||t.userAgentData||{};if(n){var o=function(e){for(var t=0;t<Jr.length;t++){var n=Jr[t];if(n.r&&e.match(n.r))return n.os;if(n.s&&-1!==e.indexOf(n.s))return n.os}return Xr}(n.toLowerCase());this.name=o,this.ver=$r(n,o)}this.name&&this.name!==Xr||!De(r.platform)||(this.name=r.platform)}},no=function(){function e(e,t){this.core=t,e.serviceName&&(this.serviceName=e.serviceName),this._cookieMgr=En(t)}return e.prototype.getMsfpc=function(){return wr(this._cookieMgr,"MSFPC")},e.prototype.getAnid=function(){return wr(this._cookieMgr,"ANON").slice(0,34)},e._staticInit=(Ve(e.prototype,"msfpc",e.prototype.getMsfpc),void Ve(e.prototype,"anid",e.prototype.getAnid)),e}(),ro=function(e){this.popSample=100,this.eventFlags=0,e.hashIdentifiers&&(this.eventFlags=1048576|this.eventFlags),e.dropIdentifiers&&(this.eventFlags=2097152|this.eventFlags)},oo=function(){var e=(new Date).getTimezoneOffset(),t=e%60,n=(e-t)/60,r="+";n>0&&(r="-"),n=Math.abs(n),t=Math.abs(t),this.tz=r+(n<10?"0"+n:n.toString())+":"+(t<10?"0"+t:t.toString())},io=function(){},ao=function(){function e(){}return e.prototype.setId=function(e){this.customId=e},e.prototype.getId=function(){return De(this.customId)?this.customId:this.automaticId},e._staticInit=void Ve(e.prototype,"id",e.prototype.getId,e.prototype.setId),e}(),so=function(e,t,n,r){if(e.enableApplicationInsightsTrace){this.traceId=t||cr(),this.parentId=n,this.name=r;var o=Mt();o&&o.pathname&&(this.name=o.pathname)}},co=je({id:"id",ver:"ver",appName:"name",locale:"locale",expId:"expId",env:"env"}),lo=je({domain:"domain",browser:"browser",browserVer:"browserVer",screenRes:"screenRes",userConsent:"userConsent",consentDetails:"consentDetails"}),uo=je({locale:"locale",localId:"localId",id:"id"}),po=je({osName:"name",ver:"ver"}),ho=je({ver:"ver",seq:"seq",installId:"installId",epoch:"epoch"}),fo=je({msfpc:"msfpc",anid:"anid",serviceName:"serviceName"}),mo=je({popSample:"popSample",eventFlags:"eventFlags"}),go=je({tz:"tz"}),vo=je({sessionId:"sesId"}),yo=je({localId:"localId",deviceClass:"deviceClass",make:"make",model:"model"}),bo=je({role:"role",roleInstance:"roleInstance",roleVer:"roleVer"}),_o=je({traceId:"traceID",traceName:"name",parentId:"parentID"}),Co=je({UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SdkExt:"sdk",IntWebExt:"intweb",UtcExt:"utc",LocExt:"loc",CloudExt:"cloud"}),wo="MicrosoftApplicationsTelemetryDeviceId";var Eo,xo,So=function(){function e(e,t){this._sequenceId=0;var n=e.propertyStorageOverride;this.seq=this._sequenceId,this.epoch=Qn(!1).toString();var r=En(t,e);if(r.isEnabled()||n){var o=function(e,t,n){return t?t.getProperty(n)||"":wr(e,n)}(r,n,wo);o||(o=ir()),function(e,t,n,r){t?t.setProperty(n,r):e.set(n,r,31536e3)}(r,n,wo,o),this.installId=o}else r.purge(wo)}return e.prototype.getSequenceId=function(){return++this._sequenceId},e}();function ko(){return void 0===Eo&&(Eo=!!Io(xo.LocalStorage)),Eo}function To(){return ko()?Io(xo.LocalStorage):null}function Io(e){var t,n,r=null;try{var o=F();if(!o)return null;n=new Date,(r=e===xo.LocalStorage?o.localStorage:o.sessionStorage)&&we(r.setItem)&&(r.setItem(n,n),t=r.getItem(n)!==n,r.removeItem(n),t&&(r=null))}catch(i){r=null}return r}!function(e){e[e.LocalStorage=0]="LocalStorage",e[e.SessionStorage=1]="SessionStorage"}(xo||(xo={}));var Ao=function(){function e(t,n){var r,o,i=Zt(t),a=En(t);he(e,this,(function(t){var s,c={sessionRenewalMs:(s=n).sessionRenewalMs&&function(){return s.sessionRenewalMs},sessionExpirationMs:s.sessionExpirationMs&&function(){return s.sessionExpirationMs},cookieDomain:s.cookieDomain&&function(){return s.cookieDomain},namePrefix:s.namePrefix&&function(){return s.namePrefix},sessionAsGuid:function(){return s.sessionAsGuid},idLength:function(){return s.idLength?s.idLength:22}};function l(e){var n=t.automaticSession,r=e.split("|");r.length>0&&n.setId(r[0]);try{if(r.length>1){var o=+r[1];n.acquisitionDate=+new Date(o),n.acquisitionDate=n.acquisitionDate>0?n.acquisitionDate:0}if(r.length>2){var a=+r[2];n.renewalDate=+new Date(a),n.renewalDate=n.renewalDate>0?n.renewalDate:0}}catch(s){i.throwInternal(Je.CRITICAL,mt.ErrorParsingAISessionCookie,"Error parsing ai_session cookie, session will be reset: "+s)}0===n.renewalDate&&i.throwInternal(Je.WARNING,mt.SessionRenewalDateIsZero,"AI session renewal date is 0, session will be reset.")}function u(){var e=t.automaticSession,n=(new Date).getTime(),r=t.config.sessionAsGuid();!ve(r)&&r?Me(r)?e.setId(Er()):e.setId(Er(r)):e.setId(sr(c&&c.idLength?c.idLength():22)),e.acquisitionDate=n,e.renewalDate=n,d(e.getId(),e.acquisitionDate,e.renewalDate),ko()||i.throwInternal(Je.WARNING,mt.BrowserDoesNotSupportLocalStorage,"Browser does not support local storage. Session durations will be inaccurate.")}function d(e,n,i){var s=n+t.config.sessionExpirationMs(),c=i+t.config.sessionRenewalMs(),l=new Date,u=[e,n,i];s<c?l.setTime(s):l.setTime(c);var d=t.config.cookieDomain?t.config.cookieDomain():null;a.set(o(),u.join("|")+";expires="+l.toUTCString(),null,d),r=(new Date).getTime()}we(n.sessionExpirationMs)||(c.sessionExpirationMs=function(){return e.acquisitionSpan}),we(n.sessionRenewalMs)||(c.sessionRenewalMs=function(){return e.renewalSpan}),t.config=c,o=function(){return t.config.namePrefix&&t.config.namePrefix()?e.cookieNameConst+t.config.namePrefix():e.cookieNameConst},t.automaticSession=new ao,t.update=function(){t.automaticSession.getId()||function(){var e=Cr(o());if(e&&we(e.split))l(e);else{var n=function(e,t){var n=To();if(null!==n)try{return n.getItem(t)}catch(r){Eo=!1,e.throwInternal(Je.CRITICAL,mt.BrowserCannotReadLocalStorage,"Browser failed read of local storage. "+r)}return null}(i,o());n&&l(n)}t.automaticSession.getId()||u()}();var n=t.automaticSession,a=t.config,s=(new Date).getTime(),c=s-n.acquisitionDate>a.sessionExpirationMs(),p=s-n.renewalDate>a.sessionRenewalMs();if(c||p)u();else{(!r||s-r>e.cookieUpdateInterval)&&(n.renewalDate=s,d(n.getId(),n.acquisitionDate,n.renewalDate))}},t.backup=function(){var e,n,r,a=t.automaticSession;e=a.getId(),n=a.acquisitionDate,r=a.renewalDate,function(e,t,n){var r=To();if(null!==r)try{r.setItem(t,n)}catch(o){Eo=!1,e.throwInternal(Je.CRITICAL,mt.BrowserCannotWriteLocalStorage,"Browser failed write to local storage. "+o)}}(i,o(),[e,n,r].join("|"))}}))}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e.cookieNameConst="ai_session",e}(),Po=De,Do=function(){function e(e,t,n){var r=this;r.app=new Or(t,n),r.cloud=new Fr,r.user=new Br(e,t,n),r.os=new to(t),r.web=new Kr(t,n),r.sdk=new So(e,n),r.intWeb=new no(t,n),r.utc=new ro(t),r.loc=new oo,r.device=new io,r.telemetryTrace=new so(t),r.sessionManager=new Ao(n,t),r.session=new ao}return e.prototype.getSessionId=function(){var e=this.session;if(e&&Po(e.customId))return e.customId;var t=this.sessionManager;t.update();var n=t.automaticSession;if(n){var r=n.getId();r&&Po(r)&&(e.automaticId=r)}return e.automaticId},e.prototype.applyApplicationContext=function(e){var t=this.app,n=e.ext[Co.AppExt];Ge(n,co.id,t.id,Po),Ge(n,co.ver,t.ver,Po),Ge(n,co.appName,t.name,Po),Ge(n,co.locale,t.locale,Po),Ge(n,co.expId,t.getExpId(),Po),Ge(n,co.env,t.env,Po)},e.prototype.applyUserContext=function(e){var t=this.user,n=e.ext[Co.UserExt];Ge(n,uo.localId,t.getLocalId(),Po),Ge(n,uo.locale,t.locale,Po),Ge(n,uo.id,t.id,Po)},e.prototype.applyWebContext=function(e){var t=this.web,n=e.ext[Co.WebExt];Ge(n,lo.domain,t.domain,Po),Ge(n,lo.browser,t.browser,Po),Ge(n,lo.browserVer,t.browserVer,Po),Ge(n,lo.screenRes,t.screenRes,Po),n[lo.userConsent]=t.getUserConsent(),n[lo.consentDetails]=t.getUserConsentDetails()},e.prototype.applyOsContext=function(e){var t=this.os,n=e.ext[Co.OSExt];Ge(n,po.osName,t.name,Po),Ge(n,po.ver,t.ver,Po)},e.prototype.applySdkContext=function(e){var t=this.sdk,n=e.ext[Co.SdkExt];n[ho.seq]=t.getSequenceId(),n[ho.epoch]=t.epoch,Ge(n,ho.installId,t.installId,Po)},e.prototype.applyIntWebContext=function(e){var t=this.intWeb,n=e.ext[Co.IntWebExt];Ge(n,fo.msfpc,t.getMsfpc(),Po),Ge(n,fo.anid,t.getAnid(),Po),Ge(n,fo.serviceName,t.serviceName,Po)},e.prototype.applyUtcContext=function(e){var t=this.utc,n=e.ext[Co.UtcExt];n[mo.popSample]=t.popSample,t.eventFlags>0&&(n[mo.eventFlags]=t.eventFlags)},e.prototype.applyLocContext=function(e){e.ext[Co.LocExt][go.tz]=this.loc.tz},e.prototype.applySessionContext=function(e){e.ext[Co.AppExt][vo.sessionId]=this.getSessionId()},e.prototype.applyDeviceContext=function(e){var t=this.device,n=e.ext[Co.DeviceExt];Ge(n,yo.localId,t.localId,Po),Ge(n,yo.make,t.make,Po),Ge(n,yo.model,t.model,Po),Ge(n,yo.deviceClass,t.deviceClass,Po)},e.prototype.applyCloudContext=function(e){var t=this.cloud,n=e.ext[Co.CloudExt];Ge(n,bo.role,t.role,Po),Ge(n,bo.roleInstance,t.roleInstance,Po),Ge(n,bo.roleVer,t.roleVer,Po)},e.prototype.applyAITraceContext=function(e){var t=this.telemetryTrace,n=e.ext[Co.TraceExt];Ge(n,_o.traceId,t.traceId,Po),Ge(n,_o.traceName,t.name,Po),Ge(n,_o.parentId,t.parentId,Po)},e}(),Ro=function(e){function t(){var n,r=e.call(this)||this;r.identifier="SystemPropertiesCollector",r.priority=3,r.version="3.1.10";var o={};return he(t,r,(function(t,i){t.initialize=function(o,i,a){e.prototype.initialize.call(r,o,i,a),n=new Do(o,t._getTelCtx().getExtCfg(t.identifier),i)},t.processTelemetry=function(e,r){Ir(e,t.identifier),r=t._getTelCtx(r);var i,a,s=e.ext=e.ext?e.ext:{};e.data=e.data?e.data:{},s[Co.AppExt]=s[Co.AppExt]||{},s[Co.UserExt]=s[Co.UserExt]||{},s[Co.WebExt]=s[Co.WebExt]||{},s[Co.OSExt]=s[Co.OSExt]||{},s[Co.SdkExt]=s[Co.SdkExt]||{},s[Co.IntWebExt]=s[Co.IntWebExt]||{},s[Co.UtcExt]=s[Co.UtcExt]||{},s[Co.LocExt]=s[Co.LocExt]||{},s[Co.DeviceExt]=s[Co.DeviceExt]||{},s[Co.TraceExt]=s[Co.TraceExt]||{},s[Co.CloudExt]=s[Co.CloudExt]||{},n.applyApplicationContext(e),n.applyUserContext(e),n.applyWebContext(e),n.applyOsContext(e),n.applySdkContext(e),n.applyIntWebContext(e),n.applyUtcContext(e),n.applyLocContext(e),n.applySessionContext(e),n.applyDeviceContext(e),n.applyAITraceContext(e),n.applyCloudContext(e),Le(Ue(s),(function(e){0===Ue(s[e]).length&&delete s[e]})),i=o,a=e.data,i&&xe(i,(function(e,t){a[e]||(a[e]=t)})),t.processNext(e,r)},t.getPropertiesContext=function(){return n},t.setProperty=function(e,t){o[e]=t}})),r}return V(t,e),t}(an),Mo=Ro,No="REAL_TIME",Lo="POST",Oo="drop",Fo="send",Bo="requeue",Ho="rspFail",zo="application/x-json-stream",Uo="cache-control",Vo="content-type",jo="kill-duration",qo="time-delta-millis",Wo="AuthMsaDeviceTicket";function Go(e){var t=(e.ext||{}).intweb;return t&&gr(t.msfpc)?t.msfpc:null}function Ko(e){for(var t=null,n=0;null===t&&n<e.length;n++)t=Go(e[n]);return t}var Yo=function(){function e(t,n){var r=n?[].concat(n):[],o=this,i=Ko(r);o.iKey=function(){return t},o.Msfpc=function(){return i||""},o.count=function(){return r.length},o.events=function(){return r},o.addEvent=function(e){return!!e&&(r.push(e),i||(i=Go(e)),!0)},o.split=function(n,o){var a;if(n<r.length){var s=r.length-n;ye(o)||(s=o<s?o:s),a=r.splice(n,s),i=Ko(r)}return new e(t,a)}}return e.create=function(t,n){return new e(t,n)},e}(),Qo=2e6,Xo=Math.min(Qo,65e3),Jo=/\./,$o=function e(t,n,r,o){var i="data",a="baseData",s=!!o,c=n,l={};he(e,this,(function(e){function n(e,t,o,i,a,u,d){xe(e,(function(e,p){var h=null;if(p||gr(p)){var f=o,m=e,g=a,v=t;if(s&&!i&&Jo.test(e)){var y=e.split("."),b=y.length;if(b>1){g&&(g=g.slice());for(var _=0;_<b-1;_++){var C=y[_];v=v[C]=v[C]||{},f+="."+C,g&&g.push(C)}m=y[b-1]}}var w=i&&function(e,t){var n=l[e];return void 0===n&&(e.length>=7&&(n=ke(e,"ext.metadata")||ke(e,"ext.web")),l[e]=n),n}(f);if(h=!w&&c&&c.handleField(f,m)?c.value(f,m,p,r):br(m,p,r)){var E=h.value;if(v[m]=E,u&&u(g,m,h),d&&"object"===typeof E&&!Ae(E)){var x=g;x&&(x=x.slice()).push(m),n(p,E,f+"."+m,i,x,u,d)}}}}))}e.createPayload=function(e,t,n,r,o,i){return{apiKeys:[],payloadBlob:"",overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:e,isTeardown:t,isSync:n,isBeacon:r,sendType:i,sendReason:o}},e.appendPayload=function(n,r,o){var i=n&&r&&!n.overflow;return i&&nt(t,(function(){return"Serializer:appendPayload"}),(function(){for(var t=r.events(),i=n.payloadBlob,a=n.numEvents,s=!1,c=[],l=[],u=n.isBeacon,d=u?65e3:3984588,p=u?Xo:Qo,h=0,f=0;h<t.length;){var m=t[h];if(m){if(a>=o){n.overflow=r.split(h);break}var g=e.getEventBlob(m);if(g&&g.length<=p){var v=g.length;if(i.length+v>d){n.overflow=r.split(h);break}i&&(i+="\n"),i+=g,++f>20&&(i.substr(0,1),f=0),s=!0,a++}else g?c.push(m):l.push(m),t.splice(h,1),h--}h++}if(c&&c.length>0&&n.sizeExceed.push(Yo.create(r.iKey(),c)),l&&l.length>0&&n.failedEvts.push(Yo.create(r.iKey(),l)),s){n.batches.push(r),n.payloadBlob=i,n.numEvents=a;var y=r.iKey();-1===Oe(n.apiKeys,y)&&n.apiKeys.push(y)}}),(function(){return{payload:n,theBatch:{iKey:r.iKey(),evts:r.events()},max:o}})),i},e.getEventBlob=function(e){try{return nt(t,(function(){return"Serializer.getEventBlob"}),(function(){var t={};t.name=e.name,t.time=e.time,t.ver=e.ver,t.iKey="o:"+vr(e.iKey);var r={},o=e.ext;o&&(t.ext=r,xe(o,(function(e,t){n(t,r[e]={},"ext."+e,!0,null,null,!0)})));var s=t.data={};s.baseType=e.baseType;var c=s.baseData={};return n(e.baseData,c,a,!1,[a],(function(e,t,n){Zo(r,e,t,n)}),!0),n(e.data,s,i,!1,[],(function(e,t,n){Zo(r,e,t,n)}),!0),JSON.stringify(t)}),(function(){return{item:e}}))}catch(r){return null}}}))};function Zo(e,t,n,r){if(r&&e){var o=_r(r.value,r.kind,r.propertyType);if(o>-1){var i=e.metadata;i||(i=e.metadata={f:{}});var a=i.f;if(a||(a=i.f={}),t)for(var s=0;s<t.length;s++){var c=t[s];a[c]||(a[c]={f:{}});var l=a[c].f;l||(l=a[c].f={}),a=l}a=a[n]={},Ae(r.value)?a.a={t:o}:a.t=o}}}var ei,ti,ni,ri=function(){function e(){}return e.shouldRetryForStatus=function(e){return!(e>=300&&e<500&&408!=e&&429!=e||501==e||505==e)},e.getMillisToBackoffForRetry=function(e){var t,n=Math.floor(1200*Math.random())+2400;return t=Math.pow(2,e)*n,Math.min(t,6e5)},e}(),oi=function e(){var t={};he(e,this,(function(e){e.setKillSwitchTenants=function(e,n){if(e&&n)try{var r=function(e){var t=[];return e&&Le(e,(function(e){t.push(Be(e))})),t}(e.split(","));if("this-request-only"===n)return r;for(var o=1e3*parseInt(n,10),i=0;i<r.length;++i)t[r[i]]=qe()+o}catch(a){return[]}return[]},e.isTenantKilled=function(e){var n=t,r=Be(e);return void 0!==n[r]&&n[r]>qe()||(delete n[r],!1)}}))},ii=oi,ai=function e(){var t=!0,n=!0,r=!0,o="use-collector-delta",i=!1;he(e,this,(function(e){e.allowRequestSending=function(){return t},e.firstRequestSent=function(){r&&(r=!1,i||(t=!1))},e.shouldAddClockSkewHeaders=function(){return n},e.getClockSkewHeaderValue=function(){return o},e.setClockSkew=function(e){i||(e?(o=e,n=!0,i=!0):n=!1,t=!0)}}))},si=((ei={})[1]=Bo,ei[100]=Bo,ei[200]="sent",ei[8004]=Oo,ei[8003]=Oo,ei),ci={},li={};function ui(e){try{return e.responseText}catch(t){}return""}function di(e,t){var n=!1;if(e&&t){var r=Ue(e);if(r&&r.length>0)for(var o=t.toLowerCase(),i=0;i<r.length;i++){var a=r[i];if(a&&_e(t,a)&&a.toLowerCase()===o){n=!0;break}}}return n}function pi(e,t,n,r){t&&n&&n.length>0&&(r&&ci[t]?(e.hdrs[ci[t]]=n,e.useHdrs=!0):e.url+="&"+t+"="+n)}ni=Wo,ci[ti=Wo]=ni,li[ni]=ti;var hi=function e(t,n,r,o){this._responseHandlers=[];var i,a,s,c,l="?cors=true&"+Vo.toLowerCase()+"="+zo,u=new ii,d=!1,p=new ai,h=!1,f=0,m=!0,g=[],v={},y=[],b=null,_=!1,C=!1,w=!1;he(e,this,(function(e){var E=!0;function x(e,t){for(var n=0,r=null,o=0;null==r&&o<e.length;)1===(n=e[o])?jt()?r=S:qt()&&(r=T):2===n&&Vt(t)?r=k:h&&3===n&&Ut()&&(r=P),o++;return r?{_transport:n,_isSync:t,sendPOST:r}:null}function S(e,t,n){var r=new XDomainRequest;r.open(Lo,e.urlString),r.onload=function(){var e=ui(r);I(t,200,{},e),V(e)},r.onerror=function(){I(t,400,{})},r.ontimeout=function(){I(t,500,{})},r.onprogress=function(){},n?r.send(e.data):i._setTimeoutOverride((function(){r.send(e.data)}),0)}function k(e,t,n){var r,o=!1,i=!1,a=((r={body:e.data,method:Lo}).Microsoft_ApplicationInsights_BypassAjaxInstrumentation=!0,r);n&&(a.keepalive=!0,2===e._sendReason&&(o=!0)),E&&(a.credentials="include"),e.headers&&Ue(e.headers).length>0&&(a.headers=e.headers),fetch(e.urlString,a).then((function(e){var n={},r="";e.headers&&e.headers.forEach((function(e,t){n[t]=e})),e.body&&e.text().then((function(e){r=e})),i||(i=!0,I(t,e.status,n,r),V(r))})).catch((function(e){i||(i=!0,I(t,0,{}))})),o&&!i&&(i=!0,I(t,200,{}))}function T(e,t,n){function r(e,t,n){if(!e[n]&&t&&t.getResponseHeader){var r=t.getResponseHeader(n);r&&(e[n]=Be(r))}return e}function o(e){var t={};return e.getAllResponseHeaders?t=function(e){var t={};return De(e)&&Le(Be(e).split(/[\r\n]+/),(function(e){if(e){var n=e.indexOf(": ");if(-1!==n){var r=Be(e.substring(0,n)).toLowerCase(),o=Be(e.substring(n+1));t[r]=o}else t[Be(e)]=1}})),t}(e.getAllResponseHeaders()):(t=r(t,e,qo),t=r(t,e,jo),t=r(t,e,"kill-duration-seconds")),t}function i(e,n){I(t,e.status,o(e),n)}var a=Pr(Lo,e.urlString,E,!0,n);xe(e.headers,(function(e,t){a.setRequestHeader(e,t)})),a.onload=function(){var e=ui(a);i(a,e),V(e)},a.onerror=function(){i(a)},a.ontimeout=function(){i(a)},a.send(e.data)}function I(e,t,n,r){try{e(t,n,r)}catch(o){i.diagLog().throwInternal(Je.WARNING,mt.SendPostOnCompleteFailure,zt(o))}}function P(e,t,n){var r=200,o=e._thePayload;try{var a=Dt();if(!a.sendBeacon(e.urlString,e.data))if(o){var s=[];Le(o.batches,(function(t){if(s&&t&&t.count()>0){for(var n=t.events(),r=0;r<n.length;r++)if(!a.sendBeacon(e.urlString,b.getEventBlob(n[r]))){s.push(t.split(r));break}}else s.push(t.split(0))})),j(s,8003,o.sendType,!0)}else r=0}catch(c){i.diagLog().warnToConsole("Failed to send telemetry using sendBeacon API. Ex:"+c),r=0}finally{I(t,r,{},"")}}function D(e){return 2===e||3===e}function R(e){return C&&D(e)&&(e=2),e}function M(){return!d&&f<n}function N(){var e=y;return y=[],e}function L(e,t,n){var r=!1;return e&&e.length>0&&!d&&a[t]&&b&&(r=0!==t||M()&&(n>0||p.allowRequestSending())),r}function O(e){var t={};return e&&Le(e,(function(e,n){t[n]={iKey:e.iKey(),evts:e.events()}})),t}function F(e,n,r,o,c){if(e&&0!==e.length)if(d)j(e,1,o);else{o=R(o);try{var l=e,p=0!==o;nt(s,(function(){return"HttpManager:_sendBatches"}),(function(i){i&&(e=e.slice(0));for(var s=[],l=null,d=Sr(),f=a[o]||(p?a[1]:a[0]),g=(C||D(o)||f&&3===f._transport)&&!m&&h&&Ut();L(e,o,n);){var v=e.shift();v&&v.count()>0&&(u.isTenantKilled(v.iKey())?s.push(v):(l=l||b.createPayload(n,r,p,g,c,o),b.appendPayload(l,v,t)?null!==l.overflow&&(e=[l.overflow].concat(e),l.overflow=null,z(l,d,Sr(),c),d=Sr(),l=null):(z(l,d,Sr(),c),d=Sr(),e=[v].concat(e),l=null)))}l&&z(l,d,Sr(),c),e.length>0&&(y=e.concat(y)),j(s,8004,o)}),(function(){return{batches:O(l),retryCount:n,isTeardown:r,isSynchronous:p,sendReason:c,useSendBeacon:D(o),sendType:o}}),!p)}catch(f){i.diagLog().throwInternal(Je.WARNING,mt.CannotSerializeObject,"Unexpected Exception sending batch: "+zt(f))}}}function B(e,t){var n={url:l,hdrs:{},useHdrs:!1};n.hdrs=xr(n.hdrs,v),n.useHdrs=Ue(n.hdrs).length>0,pi(n,"client-id","NO_AUTH",t),pi(n,"client-version",dr,t);var r="";Le(e.apiKeys,(function(e){r.length>0&&(r+=","),r+=e})),pi(n,"apikey",r,t),pi(n,"upload-time",qe().toString(),t);var o=function(e){for(var t=0;t<e.batches.length;t++){var n=e.batches[t].Msfpc();if(n)return encodeURIComponent(n)}return""}(e);if(gr(o)&&(n.url+="&ext.intweb.msfpc="+o),p.shouldAddClockSkewHeaders()&&pi(n,"time-delta-to-apply-millis",p.getClockSkewHeaderValue(),t),s.getWParam){var i=s.getWParam();i>=0&&(n.url+="&w="+i)}for(var a=0;a<g.length;a++)n.url+="&"+g[a].name+"="+g[a].value;return n}function H(e,t,n){e[t]=e[t]||{},e[t][i.identifier]=n}function z(t,n,o,c){if(t&&t.payloadBlob&&t.payloadBlob.length>0){var l=!!e.sendHook,d=a[t.sendType];!D(t.sendType)&&t.isBeacon&&2===t.sendReason&&(d=a[2]||a[3]||d);var h=w;(t.isBeacon||3===d._transport)&&(h=!1);var g=B(t,h);h=h||g.useHdrs;var v=Sr();nt(s,(function(){return"HttpManager:_doPayloadSend"}),(function(){for(var a=0;a<t.batches.length;a++)for(var y=t.batches[a].events(),b=0;b<y.length;b++){var w=y[b];if(_){var E=w.timings=w.timings||{};H(E,"sendEventStart",v),H(E,"serializationStart",n),H(E,"serializationCompleted",o)}w.sendAttempt>0?w.sendAttempt++:w.sendAttempt=1}j(t.batches,1e3+(c||0),t.sendType,!0);var x={data:t.payloadBlob,urlString:g.url,headers:g.hdrs,_thePayload:t,_sendReason:c};h&&(di(x.headers,Uo)||(x.headers[Uo]="no-cache, no-store"),di(x.headers,Vo)||(x.headers["content-type"]=zo));var S=null;d&&(S=function(n){p.firstRequestSent();var o=function(n,o){!function(t,n,o,a){var s=9e3,c=null,l=!1,d=!1;try{var h=!0;if(typeof t!==A){if(n){p.setClockSkew(n[qo]);var m=n["kill-duration"]||n["kill-duration-seconds"];Le(u.setKillSwitchTenants(n["kill-tokens"],m),(function(e){Le(o.batches,(function(t){if(t.iKey()===e){c=c||[];var n=t.split(0);o.numEvents-=n.count(),c.push(n)}}))}))}if(200==t)return void(s=200);(!ri.shouldRetryForStatus(t)||o.numEvents<=0)&&(h=!1),s=9e3+t%1e3}if(h){s=100;var g=o.retryCnt;0===o.sendType&&(g<r?(l=!0,U((function(){0===o.sendType&&f--,F(o.batches,g+1,o.isTeardown,C?2:o.sendType,5)}),C,ri.getMillisToBackoffForRetry(g))):d=!0)}}finally{l||(p.setClockSkew(),function(t,n,r,o){try{o&&i._backOffTransmission(),200===n&&(o||t.isSync||i._clearBackOff(),function(e){if(_){var t=Sr();Le(e,(function(e){e&&e.count()>0&&function(e,t){_&&Le(e,(function(e){H(e.timings=e.timings||{},"sendEventCompleted",t)}))}(e.events(),t)}))}}(t.batches)),j(t.batches,n,t.sendType,!0)}finally{0===t.sendType&&(f--,5!==r&&e.sendQueuedRequests(t.sendType,r))}}(o,s,a,d)),j(c,8004,o.sendType)}}(n,o,t,c)},a=t.isTeardown||t.isSync;try{d.sendPOST(n,o,a),e.sendListener&&e.sendListener(x,n,a,t.isBeacon)}catch(s){i.diagLog().warnToConsole("Unexpected exception sending payload. Ex:"+zt(s)),I(o,0,{})}}),nt(s,(function(){return"HttpManager:_doPayloadSend.sender"}),(function(){if(S)if(0===t.sendType&&f++,l&&!t.isBeacon&&3!==d._transport){var n={data:x.data,urlString:x.urlString,headers:xr({},x.headers)},r=!1;nt(s,(function(){return"HttpManager:_doPayloadSend.sendHook"}),(function(){try{e.sendHook(n,(function(e){r=!0,m||e._thePayload||(e._thePayload=e._thePayload||x._thePayload,e._sendReason=e._sendReason||x._sendReason),S(e)}),t.isSync||t.isTeardown)}catch(o){r||S(x)}}))}else S(x)}))}),(function(){return{thePayload:t,serializationStart:n,serializationCompleted:o,sendReason:c}}),t.isSync)}t.sizeExceed&&t.sizeExceed.length>0&&j(t.sizeExceed,8003,t.sendType),t.failedEvts&&t.failedEvts.length>0&&j(t.failedEvts,8002,t.sendType)}function U(e,t,n){t?e():i._setTimeoutOverride(e,n)}function V(t){var n=e._responseHandlers;try{for(var r=0;r<n.length;r++)try{n[r](t)}catch(a){i.diagLog().throwInternal(Je.CRITICAL,mt.PostResponseHandler,"Response handler failed: "+a)}if(t){var o=JSON.parse(t);gr(o.webResult)&&gr(o.webResult.msfpc)&&c.set("MSFPC",o.webResult.msfpc,31536e3)}}catch(s){}}function j(e,t,n,r){if(e&&e.length>0&&o){var a=o[function(e){var t=si[e];return gr(t)||(t="oth",e>=9e3&&e<=9999?t=Ho:e>=8e3&&e<=8999?t=Oo:e>=1e3&&e<=1999&&(t=Fo)),t}(t)];if(a){var c=0!==n;nt(s,(function(){return"HttpManager:_sendBatchesNotification"}),(function(){U((function(){try{a.call(o,e,t,c,n)}catch(r){i.diagLog().throwInternal(Je.CRITICAL,mt.NotificationException,"send request notification failed: "+r)}}),r||c,0)}),(function(){return{batches:O(e),reason:t,isSync:c,sendSync:r,sendType:n}}),!c)}}}e.initialize=function(e,t,n,r,o){var u;o||(o={}),l=e+l,w=!ve(o.avoidOptions)&&!o.avoidOptions,s=t,c=t.getCookieMgr(),_=!s.config.disableEventTimings;var d=!!s.config.enableCompoundKey;i=n;var p=o.valueSanitizer,f=o.stringifyObjects;ve(o.enableCompoundKey)||(d=!!o.enableCompoundKey),h=!Ft(),b=new $o(s,p,f,d);var g=r;if(!r){m=!1;var v=Mt();v&&v.protocol&&"file:"===v.protocol.toLowerCase()&&(E=!1);var y=[];y=Ft()?[2,1]:[1,2,3];var C=o.transports;C&&(Re(C)?y=[C].concat(y):Ae(C)&&(y=C.concat(y))),r=x(y,!1),g=x(y,!0),r||i.diagLog().warnToConsole("No available transport to send events")}(u={})[0]=r,u[1]=g||x([1,2,3],!0),u[2]=x([3,2,1],!0)||g,u[3]=x([2,3,1],!0)||g,a=u},e._getDbgPlgTargets=function(){return[a[0],u,b,a]},e.addQueryStringParameter=function(e,t){for(var n=0;n<g.length;n++)if(g[n].name===e)return void(g[n].value=t);g.push({name:e,value:t})},e.addHeader=function(e,t){v[e]=t},e.canSendRequest=function(){return M()&&p.allowRequestSending()},e.sendQueuedRequests=function(e,t){ve(e)&&(e=0),C&&(e=R(e),t=2),L(y,e,0)&&F(N(),0,!1,e,t||0)},e.isCompletelyIdle=function(){return!d&&0===f&&0===y.length},e.setUnloading=function(e){C=e},e.addBatch=function(e){if(e&&e.count()>0){if(u.isTenantKilled(e.iKey()))return!1;y.push(e)}return!0},e.teardown=function(){y.length>0&&F(N(),0,!0,2,2)},e.pause=function(){d=!0},e.resume=function(){d=!1,e.sendQueuedRequests(0,4)},e.sendSynchronousBatch=function(e,t,n){e&&e.count()>0&&(ye(t)&&(t=1),C&&(t=R(t),n=2),F([e],0,!1,t,n||0))}}))},fi=mr?window:void 0,mi="eventsDiscarded",gi=function(e){function t(){var n,r=e.call(this)||this;r.identifier="PostChannel",r.priority=1011,r.version="3.1.10";var o,i,a,s,c,l=!1,u=[],d=null,p=!1,h=0,f=500,m=0,g=1e4,v={},y=No,b=null,_=null,C=0,w=0,E={},x=-1,S=!0,k=!1;return he(t,r,(function(e,t){function r(e,t){if(e.sendAttempt||(e.sendAttempt=0),e.latency||(e.latency=st),e.ext&&e.ext.trace&&delete e.ext.trace,e.ext&&e.ext.user&&e.ext.user.id&&delete e.ext.user.id,S&&(e.ext=Xe(e.ext),e.baseData&&(e.baseData=Xe(e.baseData)),e.data&&(e.data=Xe(e.data))),e.sync)if(C||p)e.latency=lt,e.sync=!1;else if(i)return S&&(e=Xe(e)),void i.sendSynchronousBatch(Yo.create(e.iKey,[e]),!0===e.sync?1:e.sync,3);var n=e.latency,r=m,o=g;n===ut&&(r=h,o=f);var a=!1;if(r<o)a=!L(e,t);else{var s=st,c=20;n===ut&&(s=ut,c=1),a=!0,function(e,t,n,r){for(;n<=t;){var o=M(e,t,!0);if(o&&o.count()>0){var i=o.split(0,r),a=i.count();if(a>0)return n===ut?h-=a:m-=a,j(mi,[i],Bn),!0}n++}return O(),!1}(e.iKey,e.latency,s,c)&&(a=!L(e,t))}a&&V(mi,[e],Bn)}function T(e,t,n){var r=F(e,t,n);return i.sendQueuedRequests(t,n),r}function I(){return m>0}function A(){if(x>=0&&F(x,0,c)&&i.sendQueuedRequests(0,c),h>0&&!_&&!p){var e=v[y][2];e>=0&&(_=P((function(){_=null,T(ut,0,1),A()}),e))}var t=v[y][1];!b&&!d&&t>=0&&!p&&(I()?b=P((function(){b=null,T(0===w?lt:st,0,1),w++,w%=2,A()}),t):w=0)}function P(t,n){0===n&&C&&(n=1);var r=1e3;return C&&(r=ri.getMillisToBackoffForRetry(C-1)),e._setTimeoutOverride(t,n*r)}function D(){null!==b&&(e._clearTimeoutOverride(b),b=null,w=0)}function R(t,n){D(),d&&(e._clearTimeoutOverride(d),d=null),p||T(st,t,n)}function M(e,t,n){var r=E[t];r||(r=E[t=st]);var o=r.iKeyMap[e];return!o&&n&&(o=Yo.create(e),r.batches.push(o),r.iKeyMap[e]=o),o}function N(t,n){i.canSendRequest()&&!C&&(a>0&&m>a&&(n=!0),n&&null==d&&e.flush(t,null,20))}function L(e,t){S&&(e=Xe(e));var n=e.latency,r=M(e.iKey,n,!0);return!!r.addEvent(e)&&(n!==ut?(m++,t&&0===e.sendAttempt&&N(!e.sync,s>0&&r.count()>=s)):h++,!0)}function O(){for(var e=0,t=0,n=function(n){var r=E[n];r&&r.batches&&Le(r.batches,(function(r){n===ut?e+=r.count():t+=r.count()}))},r=st;r<=ut;r++)n(r);m=t,h=e}function F(t,n,r){var o=!1,a=0===n;return!a||i.canSendRequest()?nt(e.core,(function(){return"PostChannel._queueBatches"}),(function(){for(var e=[],n=ut;n>=t;){var r=E[n];r&&r.batches&&r.batches.length>0&&(Le(r.batches,(function(t){i.addBatch(t)?o=o||t&&t.count()>0:e=e.concat(t.events()),n===ut?h-=t.count():m-=t.count()})),r.batches=[],r.iKeyMap={}),n--}e.length>0&&V(mi,e,Fn),o&&x>=t&&(x=-1,c=0)}),(function(){return{latency:t,sendType:n,sendReason:r}}),!a):(x=x>=0?Math.min(x,t):t,c=Math.max(c,r)),o}function B(e,t){T(st,0,t),H((function(){e&&e(),u.length>0?d=P((function(){return B(u.shift(),t)}),0):(d=null,I()&&A())}))}function H(e){i.isCompletelyIdle()?e():d=P((function(){H(e)}),.25)}function z(){(v={}).REAL_TIME=[2,1,0],v.NEAR_REAL_TIME=[6,3,0],v.BEST_EFFORT=[18,9,0]}function U(t,n){var r=e._notificationManager||{},o=r[t];if(o)try{o.apply(r,n)}catch(i){e.diagLog().throwInternal(Je.CRITICAL,mt.NotificationException,t+" notification failed: "+i)}}function V(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&U(e,[t].concat(n))}function j(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&Le(t,(function(t){t&&t.count()>0&&U(e,[t.events()].concat(n))}))}function q(){s=n&&n.disableAutoBatchFlushLimit?0:Math.max(1500,g/6)}z(),E[ut]={batches:[],iKeyMap:{}},E[lt]={batches:[],iKeyMap:{}},E[ct]={batches:[],iKeyMap:{}},E[st]={batches:[],iKeyMap:{}},q(),i=new hi(500,2,1,{requeue:function(t,n){var o=[];Le(t,(function(t){t&&t.count()>0&&Le(t.events(),(function(t){t&&(t.sync&&(t.latency=ut,t.sync=!1),t.sendAttempt<6?(Ir(t,e.identifier),r(t,!1)):o.push(t))}))})),o.length>0&&V(mi,o,Ln);k&&R(2,2)},send:function(e,t,n){e&&e.length>0&&U("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==n])},sent:function(e,t){j("eventsSent",e,t),A()},drop:function(e,t){j(mi,e,t>=8e3&&t<=8999?t-8e3:Nn)},rspFail:function(e){j(mi,e,Ln),A()},oth:function(e,t){j(mi,e,Nn),A()}}),e._getDbgPlgTargets=function(){return[i]},e.initialize=function(r,s,c){nt(s,(function(){return"PostChannel:initialize"}),(function(){var l=s;t.initialize(r,s,c),e.setInitialized(!1);var u=e._getTelCtx();r.extensionConfig[e.identifier]=r.extensionConfig[e.identifier]||{},n=u.getExtCfg(e.identifier),e._setTimeoutOverride=n.setTimeoutOverride?n.setTimeoutOverride:setTimeout.bind(fi),e._clearTimeoutOverride=n.clearTimeoutOverride?n.clearTimeoutOverride:clearTimeout.bind(fi),S=!n.disableOptimizeObj&&!!kt("chrome");var d=l.getWParam;l.getWParam=function(){var e=0;return n.ignoreMc1Ms0CookieProcessing&&(e|=2),e|d()},n.eventsLimitInMem>0&&(g=n.eventsLimitInMem),n.immediateEventLimit>0&&(f=n.immediateEventLimit),n.autoFlushEventsLimit>0&&(a=n.autoFlushEventsLimit),q(),n.httpXHROverride&&n.httpXHROverride.sendPOST&&(o=n.httpXHROverride),gr(r.anonCookieName)&&i.addQueryStringParameter("anoncknm",r.anonCookieName),i.sendHook=n.payloadPreprocessor,i.sendListener=n.payloadListener;var p=n.overrideEndpointUrl?n.overrideEndpointUrl:r.endpointUrl;function h(e){"beforeunload"!==(e||It().event).type&&(k=!0,i.setUnloading(k)),R(2,2)}e._notificationManager=r.extensionConfig.NotificationManager,i.initialize(p,e.core,e,o,n);var m=r.disablePageUnloadEvents||[];nr(h,m),rr(h,m),or((function(e){k=!1,i.setUnloading(k)}),r.disablePageShowEvents),e.setInitialized(!0)}),(function(){return{coreConfig:r,core:s,extensions:c}}))},e.processTelemetry=function(t,o){Ir(t,e.identifier);var i=(o=e._getTelCtx(o)).getExtCfg(e.identifier),a=!!n.disableTelemetry;i&&(a=a||!!i.disableTelemetry);var s=t;a||l||(n.overrideInstrumentationKey&&(s.iKey=n.overrideInstrumentationKey),i&&i.overrideInstrumentationKey&&(s.iKey=i.overrideInstrumentationKey),r(s,!0),k?R(2,2):A()),e.processNext(s,o)},e.setEventQueueLimits=function(e,t){g=e>0?e:1e4,a=t>0?t:0,q();var n=m>e;if(!n&&s>0)for(var r=st;!n&&r<=lt;r++){var o=E[r];o&&o.batches&&Le(o.batches,(function(e){e&&e.count()>=s&&(n=!0)}))}N(!0,n)},e.teardown=function(){R(2,2),l=!0,i.teardown()},e.pause=function(){D(),p=!0,i.pause()},e.resume=function(){p=!1,i.resume(),A()},e.addResponseHandler=function(e){i._responseHandlers.push(e)},e._loadTransmitProfiles=function(e){D(),z(),y=No,A(),xe(e,(function(e,t){var n=t.length;if(n>=2){var r=n>2?t[2]:0;if(t.splice(0,n-2),t[1]<0&&(t[0]=-1),t[1]>0&&t[0]>0){var o=t[0]/t[1];t[0]=Math.ceil(o)*t[1]}r>=0&&t[1]>=0&&r>t[1]&&(r=t[1]),t.push(r),v[e]=t}}))},e.flush=function(e,t,n){void 0===e&&(e=!0),p||(D(),n=n||1,e?(F(st,0,n),O(),null==d?d=P((function(){B(t,n)}),0):u.push(t)):(T(st,1,n),null!==t&&void 0!==t&&t()))},e.setMsaAuthTicket=function(e){i.addHeader(Wo,e)},e.hasEvents=I,e._setTransmitProfile=function(e){y!==e&&void 0!==v[e]&&(D(),y=e,A())},e._backOffTransmission=function(){C<4&&(C++,D(),A())},e._clearBackOff=function(){C&&(C=0,D(),A())}})),r}return V(t,e),t}(an),vi=gi,yi="AppInsightsPropertiesPlugin";function bi(e,t,n){var r=t.length,o=_i(e,t);if(o.length!==r){for(var i=0,a=o;void 0!==n[a];)i++,a=o.substring(0,147)+Ai(i);o=a}return o}function _i(e,t){var n;return t&&(t=Be(t.toString())).length>150&&(n=t.substring(0,150),e&&e.throwInternal(Je.WARNING,rt.NameTooLong,"name is too long.  It has been truncated to 150 characters.",{name:t},!0)),n||t}function Ci(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=Be(t)).toString().length>n&&(r=t.toString().substring(0,n),e&&e.throwInternal(Je.WARNING,rt.StringValueTooLong,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function wi(e,t){return Ii(e,t,2048,rt.UrlTooLong)}function Ei(e,t){var n;return t&&t.length>32768&&(n=t.substring(0,32768),e&&e.throwInternal(Je.WARNING,rt.MessageTruncated,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function xi(e,t){var n;if(t){var r=""+t;r.length>32768&&(n=r.substring(0,32768),e&&e.throwInternal(Je.WARNING,rt.ExceptionTruncated,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0))}return n||t}function Si(e,t){if(t){var n={};xe(t,(function(t,r){if(Ce(r)&&Lt())try{r=Ot().stringify(r)}catch(o){e&&e.throwInternal(Je.WARNING,rt.CannotSerializeObjectNonSerializable,"custom property is not valid",{exception:o},!0)}r=Ci(e,r,8192),t=bi(e,t,n),n[t]=r})),t=n}return t}function ki(e,t){if(t){var n={};xe(t,(function(t,r){t=bi(e,t,n),n[t]=r})),t=n}return t}function Ti(e,t){return t?Ii(e,t,128,rt.IdTooLong).toString():t}function Ii(e,t,n,r){var o;return t&&(t=Be(t)).length>n&&(o=t.substring(0,n),e&&e.throwInternal(Je.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),o||t}function Ai(e){var t="00"+e;return t.substr(t.length-3)}var Pi,Di="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",Ri="not_specified",Mi=function(){function e(){}return e.create=function(e,t,n,r,o,i){if(n=Ci(r,n)||Ri,ye(e)||ye(t)||ye(n))throw Error("Input doesn't contain all required fields");var a="";e.iKey&&(a=e.iKey,delete e.iKey);var s={name:n,time:Ne(new Date),iKey:a,ext:i||{},tags:[],data:{},baseType:t,baseData:e};return ye(o)||xe(o,(function(e,t){s.data[e]=t})),s},e}(),Ni=function(){this.ver=2,this.properties={},this.measurements={}},Li=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.aiDataContract={ver:1,name:1,properties:0,measurements:0},i.name=Ci(t,n)||Ri,i.properties=Si(t,r),i.measurements=ki(t,o),i}return V(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.Event",t.dataType="EventData",t}(Ni),Oi=function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},n=n||Ri,a.message=Ei(t,n),a.properties=Si(t,o),a.measurements=ki(t,i),r&&(a.severityLevel=r),a}return V(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.Message",t.dataType="MessageData",t}((function(){this.ver=2,this.properties={},this.measurements={}})),Fi=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}};!function(e){e[e.Measurement=0]="Measurement",e[e.Aggregation=1]="Aggregation"}(Pi||(Pi={}));var Bi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},t}return V(t,e),t}((function(){this.kind=Pi.Measurement})),Hi=function(e){function t(t,n,r,o,i,a,s,c,l){var u=e.call(this)||this;u.aiDataContract={ver:1,metrics:1,properties:0};var d=new Bi;return d.count=o>0?o:void 0,d.max=isNaN(a)||null===a?void 0:a,d.min=isNaN(i)||null===i?void 0:i,d.name=Ci(t,n)||Ri,d.value=r,d.stdDev=isNaN(s)||null===s?void 0:s,u.metrics=[d],u.properties=Si(t,c),u.measurements=ki(t,l),u}return V(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",t.dataType="MetricData",t}(Fi),zi=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return V(t,e),t}(Ni);function Ui(e,t){return void 0===t&&(t=!1),void 0===e||null===e?t:"true"===e.toString().toLowerCase()}function Vi(e){(isNaN(e)||e<0)&&(e=0);var t=""+(e=Math.round(e))%1e3,n=""+Math.floor(e/1e3)%60,r=""+Math.floor(e/6e4)%60,o=""+Math.floor(e/36e5)%24,i=Math.floor(e/864e5);return t=1===t.length?"00"+t:2===t.length?"0"+t:t,n=n.length<2?"0"+n:n,r=r.length<2?"0"+r:r,(i>0?i+".":"")+(o=o.length<2?"0"+o:o)+":"+r+":"+n+"."+t}function ji(e,t,n,r,o){return!o&&De(e)&&("Script error."===e||"Script error"===e)}var qi=function(e){function t(t,n,r,o,i,a,s){var c=e.call(this)||this;return c.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},c.id=Ti(t,s),c.url=wi(t,r),c.name=Ci(t,n)||Ri,isNaN(o)||(c.duration=Vi(o)),c.properties=Si(t,i),c.measurements=ki(t,a),c}return V(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",t.dataType="PageviewData",t}(zi),Wi=function(e){function t(t,n,r,o,i,a,s){var c=e.call(this)||this;return c.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},c.url=wi(t,r),c.name=Ci(t,n)||Ri,c.properties=Si(t,i),c.measurements=ki(t,a),s&&(c.domProcessing=s.domProcessing,c.duration=s.duration,c.networkConnect=s.networkConnect,c.perfTotal=s.perfTotal,c.receivedResponse=s.receivedResponse,c.sentRequest=s.sentRequest),c}return V(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",t.dataType="PageviewPerformanceData",t}(function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return V(t,e),t}(zi)),Gi=function(){},Ki=function(){this.hasFullStack=!0,this.parsedStack=[]};function Yi(e,t){var n=e;return n&&!De(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=we(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function Qi(e,t){var n=e;return e&&(n&&!De(n)&&(n=e.message||e.description||n),n&&!De(n)&&(n=Yi(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&"String"!==t&&"Object"!==t&&"Error"!==t&&-1===(n||"").indexOf(t)&&(n=t+": "+n),n||""}function Xi(e){return e&&e.src&&De(e.src)&&e.obj&&Ae(e.obj)}function Ji(e){var t=e||"";De(t)||(t=De(t.stack)?t.stack:""+t);var n=t.split("\n");return{src:t,obj:n}}function $i(e){var t=null;if(e)try{if(e.stack)t=Ji(e.stack);else if(e.error&&e.error.stack)t=Ji(e.error.stack);else if(e.exception&&e.exception.stack)t=Ji(e.exception.stack);else if(Xi(e))t=e;else if(Xi(e.stackDetails))t=e.stackDetails;else if(window&&window.opera&&e.message)t=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var o=n[r];n[r+1]&&(o+="@"+n[r+1],r++),t.push(o)}return{src:e,obj:t}}(e.message);else if(De(e))t=Ji(e);else{var n=e.message||e.description||"";De(e.errorSrc)&&(n&&(n+="\n"),n+=" from "+e.errorSrc),n&&(t=Ji(n))}}catch(r){t=Ji(r)}return t||{src:"",obj:null}}function Zi(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString());t=n&&n.length>1?n[1]:""}catch(r){}return t}function ea(e){if(e)try{if(!De(e)){var t=Zi(e),n=Yi(e,!1);return n&&"{}"!==n||(e.error&&(t=Zi(e=e.error)),n=Yi(e,!0)),0!==n.indexOf(t)&&"String"!==t?t+":"+n:n}}catch(r){}return""+(e||"")}var ta,na,ra,oa=function(e){function t(t,n,r,o,i,a){var s=e.call(this)||this;return s.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},!function(e){try{if(Ce(e))return"ver"in e&&"exceptions"in e&&"properties"in e}catch(t){}return!1}(n)?(r||(r={}),s.exceptions=[new ia(t,n,r)],s.properties=Si(t,r),s.measurements=ki(t,o),i&&(s.severityLevel=i),a&&(s.id=a)):(s.exceptions=n.exceptions,s.properties=n.properties,s.measurements=n.measurements,n.severityLevel&&(s.severityLevel=n.severityLevel),n.id&&(s.id=n.id),n.problemGroup&&(s.problemGroup=n.problemGroup),s.ver=2,ye(n.isManual)||(s.isManual=n.isManual)),s}return V(t,e),t.CreateAutoException=function(e,t,n,r,o,i,a,s){var c=Zi(o||i||e);return{message:Qi(e,c),url:t,lineNumber:n,columnNumber:r,error:ea(o||i||e),evt:ea(i||e),typeName:c,stackDetails:$i(a||o||i),errorSrc:s}},t.CreateFromInterface=function(e,n,r,o){var i=n.exceptions&&Fe(n.exceptions,(function(t){return ia.CreateFromInterface(e,t)}));return new t(e,z(z({},n),{exceptions:i}),r,o)},t.prototype.toInterface=function(){var e=this,t=e.exceptions,n=e.properties,r=e.measurements,o=e.severityLevel,i=e.problemGroup,a=e.id,s=e.isManual;return{ver:"4.0",exceptions:t instanceof Array&&Fe(t,(function(e){return e.toInterface()}))||void 0,severityLevel:o,properties:n,measurements:r,problemGroup:i,id:a,isManual:s}},t.CreateSimpleException=function(e,t,n,r,o,i){return{exceptions:[{hasFullStack:!0,message:e,stack:o,typeName:t}]}},t.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",t.dataType="ExceptionData",t.formatError=ea,t}((function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}})),ia=function(e){function t(t,n,r){var o=e.call(this)||this;if(o.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},function(e){try{if(Ce(e))return"hasFullStack"in e&&"typeName"in e}catch(t){}return!1}(n))o.typeName=n.typeName,o.message=n.message,o.stack=n.stack,o.parsedStack=n.parsedStack,o.hasFullStack=n.hasFullStack;else{var i=n,a=i&&i.evt;Pe(i)||(i=i.error||a||i),o.typeName=Ci(t,Zi(i))||Ri,o.message=Ei(t,Qi(n||i,o.typeName))||Ri;var s=n.stackDetails||$i(n);o.parsedStack=function(e){var t,n=e.obj;if(n&&n.length>0){t=[];var r=0,o=0;if(Le(n,(function(e){var n=e.toString();if(aa.regex.test(n)){var i=new aa(n,r++);o+=i.sizeInBytes,t.push(i)}})),o>32768)for(var i=0,a=t.length-1,s=0,c=i,l=a;i<a;){if((s+=t[i].sizeInBytes+t[a].sizeInBytes)>32768){var u=l-c+1;t.splice(c,u);break}c=i,l=a,i++,a--}}return t}(s),o.stack=xi(t,function(e){var t="";return e&&(e.obj?Le(e.obj,(function(e){t+=e+"\n"})):t=e.src||""),t}(s)),o.hasFullStack=Ae(o.parsedStack)&&o.parsedStack.length>0,r&&(r.typeName=r.typeName||o.typeName)}return o}return V(t,e),t.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&Fe(this.parsedStack,(function(e){return e.toInterface()}));return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this.stack,parsedStack:e||void 0}},t.CreateFromInterface=function(e,n){var r=n.parsedStack instanceof Array&&Fe(n.parsedStack,(function(e){return aa.CreateFromInterface(e)}))||n.parsedStack;return new t(e,z(z({},n),{parsedStack:r}))},t}(Ki),aa=function(e){function t(n,r){var o=e.call(this)||this;if(o.sizeInBytes=0,o.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"===typeof n){var i=n;o.level=r,o.method="<no_method>",o.assembly=Be(i),o.fileName="",o.line=0;var a=i.match(t.regex);a&&a.length>=5&&(o.method=Be(a[2])||o.method,o.fileName=Be(a[4]),o.line=parseInt(a[5])||0)}else o.level=n.level,o.method=n.method,o.assembly=n.assembly,o.fileName=n.fileName,o.line=n.line,o.sizeInBytes=0;return o.sizeInBytes+=o.method.length,o.sizeInBytes+=o.fileName.length,o.sizeInBytes+=o.assembly.length,o.sizeInBytes+=t.baseSize,o.sizeInBytes+=o.level.toString().length,o.sizeInBytes+=o.line.toString().length,o}return V(t,e),t.CreateFromInterface=function(e){return new t(e,null)},t.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},t.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,t.baseSize=58,t}(Gi);!function(e){e[e.Verbose=0]="Verbose",e[e.Information=1]="Information",e[e.Warning=2]="Warning",e[e.Error=3]="Error",e[e.Critical=4]="Critical"}(ta||(ta={})),function(e){e[e.LocalStorage=0]="LocalStorage",e[e.SessionStorage=1]="SessionStorage"}(na||(na={})),function(e){e[e.AI=0]="AI",e[e.AI_AND_W3C=1]="AI_AND_W3C",e[e.W3C=2]="W3C"}(ra||(ra={}));var sa=void 0;function ca(e){try{if(ye(F()))return null;var t=new Date,n=kt(e===na.LocalStorage?"localStorage":"sessionStorage");n.setItem(t.toString(),t.toString());var r=n.getItem(t.toString())!==t.toString();if(n.removeItem(t.toString()),!r)return n}catch(o){}return null}function la(){return da()?ca(na.SessionStorage):null}function ua(){!1,sa=!1}function da(){return void 0===sa&&(sa=!!ca(na.SessionStorage)),sa}function pa(e,t){var n=la();if(null!==n)try{return n.getItem(t)}catch(r){sa=!1,e.throwInternal(Je.WARNING,rt.BrowserCannotReadSessionStorage,"Browser failed read of session storage. "+We(r),{exception:zt(r)})}return null}function ha(e,t,n){var r=la();if(null!==r)try{return r.setItem(t,n),!0}catch(o){sa=!1,e.throwInternal(Je.WARNING,rt.BrowserCannotWriteSessionStorage,"Browser failed write to session storage. "+We(o),{exception:zt(o)})}return!1}function fa(e,t){var n=la();if(null!==n)try{return n.removeItem(t),!0}catch(r){sa=!1,e.throwInternal(Je.WARNING,rt.BrowserFailedRemovalFromSessionStorage,"Browser failed removal of session storage item. "+We(r),{exception:zt(r)})}return!1}function ma(e){var t=null;if(we(Event))t=new Event(e);else{var n=At();n&&n.createEvent&&(t=n.createEvent("Event")).initEvent(e,!0,!0)}return t}var ga="Request-Context",va="appId",ya="appId=cid-v1:",ba="Request-Id",_a="traceparent",Ca="request-context",wa=At()||{},Ea=0,xa=[null,null,null,null,null];function Sa(e){var t=Ea,n=xa,r=n[t];return wa.createElement?n[t]||(r=n[t]=wa.createElement("a")):r={host:Ia(e,!0)},r.href=e,++t>=n.length&&(t=0),Ea=t,r}function ka(e){var t,n=Sa(e);return n&&(t=n.href),t}function Ta(e,t){return e?e.toUpperCase()+" "+t:t}function Ia(e,t){var n=Aa(e,t)||"";if(n){var r=n.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=r&&r.length>3&&De(r[2])&&r[2].length>0)return r[2]+(r[3]||"")}return n}function Aa(e,t){var n=null;if(e){var r=e.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i);if(null!=r&&r.length>2&&De(r[2])&&r[2].length>0&&(n=r[2]||"",t&&r.length>2)){var o=(r[1]||"").toLowerCase(),i=r[3]||"";("http"===o&&":80"===i||"https"===o&&":443"===i)&&(i=""),n+=i}}return n}var Pa=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function Da(e){return-1!==Pa.indexOf(e.toLowerCase())}var Ra={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,n){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e.correlationHeaderExcludePatterns)for(var r=0;r<e.correlationHeaderExcludePatterns.length;r++)if(e.correlationHeaderExcludePatterns[r].test(t))return!1;var o=Sa(t).host.toLowerCase();if(!o||-1===o.indexOf(":443")&&-1===o.indexOf(":80")||(o=(Aa(t,!0)||"").toLowerCase()),(!e||!e.enableCorsCorrelation)&&o&&o!==n)return!1;var i,a=e&&e.correlationHeaderDomains;if(a&&(Le(a,(function(e){var t=new RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||t.test(o)})),!i))return!1;var s=e&&e.correlationHeaderExcludedDomains;if(!s||0===s.length)return!0;for(r=0;r<s.length;r++){if(new RegExp(s[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1}return o&&o.length>0},getCorrelationContext:function(e){if(e){var t=Ra.getCorrelationContextValue(e,va);if(t&&t!==Ra.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var n=e.split(","),r=0;r<n.length;++r){var o=n[r].split("=");if(2===o.length&&o[0]===t)return o[1]}}};function Ma(){var e=Nt();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return qe()}function Na(e,t){var n=null;return 0===e||0===t||ye(e)||ye(t)||(n=t-e),n}var La=function(e){function t(t,n,r,o,i,a,s,c,l,u,d,p){void 0===l&&(l="Ajax");var h=e.call(this)||this;h.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0},h.id=n,h.duration=Vi(i),h.success=a,h.resultCode=s+"",h.type=Ci(t,l);var f=function(e,t,n,r){var o,i=r,a=r;if(t&&t.length>0){var s=Sa(t);if(o=s.host,!i)if(null!=s.pathname){var c=0===s.pathname.length?"/":s.pathname;"/"!==c.charAt(0)&&(c="/"+c),a=s.pathname,i=Ci(e,n?n+" "+c:c)}else i=Ci(e,t)}else o=r,i=r;return{target:o,name:i,data:a}}(t,r,c,o);return h.data=wi(t,o)||f.data,h.target=Ci(t,f.target),u&&(h.target="".concat(h.target," | ").concat(u)),h.name=Ci(t,f.name),h.properties=Si(t,d),h.measurements=ki(t,p),h}return V(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",t.dataType="RemoteDependencyData",t}((function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}})),Oa=function e(t,n,r,o){he(e,this,(function(e){var i,a=null,s=[],c=!1;function l(){r&&Le(r.getTransmissionControls(),(function(e){Le(e,(function(e){return e.flush(!0)}))}))}r&&(i=r.logger),e.trackPageView=function(e,r){var u=e.name;if(ye(u)||"string"!==typeof u){var d=At();u=e.name=d&&d.title||""}var p=e.uri;if(ye(p)||"string"!==typeof p){var h=Mt();p=e.uri=h&&h.href||""}if(!o.isPerformanceTimingSupported())return t.sendPageViewInternal(e,r),l(),void i.throwInternal(Je.WARNING,rt.NavigationTimingNotSupported,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var f,m,g,v=!1,y=o.getPerformanceTiming().navigationStart;y>0&&(f=Na(y,+new Date),o.shouldCollectDuration(f)||(f=void 0)),ye(r)||ye(r.duration)||(m=r.duration),!n&&isNaN(m)||(isNaN(m)&&(r||(r={}),r.duration=f),t.sendPageViewInternal(e,r),l(),v=!0),r||(r={}),g=function(){var n=!1;try{if(o.isPerformanceTimingDataReady()){n=!0;var a={name:u,uri:p};o.populatePageViewPerformanceEvent(a),a.isValid||v?(v||(r.duration=a.durationMs,t.sendPageViewInternal(e,r)),c||(t.sendPageViewPerformanceInternal(a,r),c=!0)):(r.duration=f,t.sendPageViewInternal(e,r))}else y>0&&Na(y,+new Date)>6e4&&(n=!0,v||(r.duration=6e4,t.sendPageViewInternal(e,r)))}catch(s){i.throwInternal(Je.CRITICAL,rt.TrackPVFailedCalc,"trackPageView failed on page load calculation: "+We(s),{exception:zt(s)})}return n},s.push(g),a||(a=setInterval((function(){var e=s.slice(0),t=!1;s=[],Le(e,(function(e){e()?t=!0:s.push(e)})),0===s.length&&(clearInterval(a),a=null),t&&l()}),100))}}))},Fa=function(){function e(e,t){this.prevPageVisitDataKeyName="prevPageVisitData",this.pageVisitTimeTrackingHandler=t,this._logger=e}return e.prototype.trackPreviousPageVisit=function(e,t){try{var n=this.restartPageVisitTimer(e,t);n&&this.pageVisitTimeTrackingHandler(n.pageName,n.pageUrl,n.pageVisitTime)}catch(r){this._logger.warnToConsole("Auto track page visit time failed, metric will not be collected: "+zt(r))}},e.prototype.restartPageVisitTimer=function(e,t){try{var n=this.stopPageVisitTimer();return this.startPageVisitTimer(e,t),n}catch(r){return this._logger.warnToConsole("Call to restart failed: "+zt(r)),null}},e.prototype.startPageVisitTimer=function(e,t){try{if(da()){null!=pa(this._logger,this.prevPageVisitDataKeyName)&&Qe("Cannot call startPageVisit consecutively without first calling stopPageVisit");var n=new Ba(e,t),r=Ot().stringify(n);ha(this._logger,this.prevPageVisitDataKeyName,r)}}catch(o){this._logger.warnToConsole("Call to start failed: "+zt(o))}},e.prototype.stopPageVisitTimer=function(){try{if(da()){var e=qe(),t=pa(this._logger,this.prevPageVisitDataKeyName);if(t&&Lt()){var n=Ot().parse(t);return n.pageVisitTime=e-n.pageVisitStartTime,fa(this._logger,this.prevPageVisitDataKeyName),n}return null}return null}catch(r){return this._logger.warnToConsole("Stop page visit timer failed: "+zt(r)),null}},e}(),Ba=function(e,t){this.pageVisitStartTime=qe(),this.pageName=e,this.pageUrl=t},Ha=function(){function e(e){this.MAX_DURATION_ALLOWED=36e5,e&&(this._logger=e.logger)}return e.prototype.populatePageViewPerformanceEvent=function(e){e.isValid=!1;var t=this.getPerformanceNavigationTiming(),n=this.getPerformanceTiming(),r=0,o=0,i=0,a=0,s=0;(t||n)&&(t?(r=t.duration,o=0===t.startTime?t.connectEnd:Na(t.startTime,t.connectEnd),i=Na(t.requestStart,t.responseStart),a=Na(t.responseStart,t.responseEnd),s=Na(t.responseEnd,t.loadEventEnd)):(r=Na(n.navigationStart,n.loadEventEnd),o=Na(n.navigationStart,n.connectEnd),i=Na(n.requestStart,n.responseStart),a=Na(n.responseStart,n.responseEnd),s=Na(n.responseEnd,n.loadEventEnd)),0===r?this._logger.throwInternal(Je.WARNING,rt.ErrorPVCalc,"error calculating page view performance.",{total:r,network:o,request:i,response:a,dom:s}):this.shouldCollectDuration(r,o,i,a,s)?r<Math.floor(o)+Math.floor(i)+Math.floor(a)+Math.floor(s)?this._logger.throwInternal(Je.WARNING,rt.ClientPerformanceMathError,"client performance math error.",{total:r,network:o,request:i,response:a,dom:s}):(e.durationMs=r,e.perfTotal=e.duration=Vi(r),e.networkConnect=Vi(o),e.sentRequest=Vi(i),e.receivedResponse=Vi(a),e.domProcessing=Vi(s),e.isValid=!0):this._logger.throwInternal(Je.WARNING,rt.InvalidDurationValue,"Invalid page load duration value. Browser perf data won't be sent.",{total:r,network:o,request:i,response:a,dom:s}))},e.prototype.getPerformanceTiming=function(){return this.isPerformanceTimingSupported()?Nt().timing:null},e.prototype.getPerformanceNavigationTiming=function(){return this.isPerformanceNavigationTimingSupported()?Nt().getEntriesByType("navigation")[0]:null},e.prototype.isPerformanceNavigationTimingSupported=function(){var e=Nt();return e&&e.getEntriesByType&&e.getEntriesByType("navigation").length>0},e.prototype.isPerformanceTimingSupported=function(){var e=Nt();return e&&e.timing},e.prototype.isPerformanceTimingDataReady=function(){var e=Nt(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t.navigationStart>0&&t.responseStart>0&&t.requestStart>0&&t.loadEventEnd>0&&t.responseEnd>0&&t.connectEnd>0&&t.domLoading>0},e.prototype.shouldCollectDuration=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Dt()||{},r=["googlebot","adsbot-google","apis-google","mediapartners-google"],o=n.userAgent,i=!1;if(o)for(var a=0;a<r.length;a++)i=i||-1!==o.toLowerCase().indexOf(r[a]);if(i)return!1;for(a=0;a<e.length;a++)if(e[a]<0||e[a]>=this.MAX_DURATION_ALLOWED)return!1;return!0},e}();function za(e,t){e&&e.dispatchEvent&&t&&e.dispatchEvent(t)}var Ua=function(e){function t(){var n,r,o,i=e.call(this)||this;i.identifier="ApplicationInsightsAnalytics",i.priority=180,i.autoRoutePVDelay=500;var a,s;return he(t,i,(function(e,c){var l=Mt(!0);a=l&&l.href||"",e.getCookieMgr=function(){return En(e.core)},e.processTelemetry=function(t,n){nt(e.core,(function(){return e.identifier+":processTelemetry"}),(function(){var r=!1,o=e._telemetryInitializers.length;n=e._getTelCtx(n);for(var i=0;i<o;++i){var a=e._telemetryInitializers[i];if(a)try{if(!1===a.apply(null,[t])){r=!0;break}}catch(s){n.diagLog().throwInternal(Je.CRITICAL,rt.TelemetryInitializerFailed,"One of telemetry initializers failed, telemetry item will not be sent: "+We(s),{exception:zt(s)},!0)}}r||e.processNext(t,n)}),(function(){return{item:t}}),!t.sync)},e.trackEvent=function(t,n){try{var r=Mi.create(t,Li.dataType,Li.envelopeType,e.diagLog(),n);e.core.track(r)}catch(o){e.diagLog().throwInternal(Je.WARNING,rt.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+We(o),{exception:zt(o)})}},e.startTrackEvent=function(t){try{n.start(t)}catch(r){e.diagLog().throwInternal(Je.CRITICAL,rt.StartTrackEventFailed,"startTrackEvent failed, event will not be collected: "+We(r),{exception:zt(r)})}},e.stopTrackEvent=function(t,r,o){try{n.stop(t,void 0,r)}catch(i){e.diagLog().throwInternal(Je.CRITICAL,rt.StopTrackEventFailed,"stopTrackEvent failed, event will not be collected: "+We(i),{exception:zt(i)})}},e.trackTrace=function(t,n){try{var r=Mi.create(t,Oi.dataType,Oi.envelopeType,e.diagLog(),n);e.core.track(r)}catch(o){e.diagLog().throwInternal(Je.WARNING,rt.TrackTraceFailed,"trackTrace failed, trace will not be collected: "+We(o),{exception:zt(o)})}},e.trackMetric=function(t,n){try{var r=Mi.create(t,Hi.dataType,Hi.envelopeType,e.diagLog(),n);e.core.track(r)}catch(o){e.diagLog().throwInternal(Je.CRITICAL,rt.TrackMetricFailed,"trackMetric failed, metric will not be collected: "+We(o),{exception:zt(o)})}},e.trackPageView=function(t,n){try{var r=t||{};e._pageViewManager.trackPageView(r,z(z(z({},r.properties),r.measurements),n)),e.config.autoTrackPageVisitTime&&e._pageVisitTimeManager.trackPreviousPageVisit(r.name,r.uri)}catch(o){e.diagLog().throwInternal(Je.CRITICAL,rt.TrackPVFailed,"trackPageView failed, page view will not be collected: "+We(o),{exception:zt(o)})}},e.sendPageViewInternal=function(t,n,r){var o=At();o&&(t.refUri=void 0===t.refUri?o.referrer:t.refUri);var i=Mi.create(t,qi.dataType,qi.envelopeType,e.diagLog(),n,r);e.core.track(i),0},e.sendPageViewPerformanceInternal=function(t,n,r){var o=Mi.create(t,Wi.dataType,Wi.envelopeType,e.diagLog(),n,r);e.core.track(o)},e.trackPageViewPerformance=function(t,n){try{e._pageViewPerformanceManager.populatePageViewPerformanceEvent(t),e.sendPageViewPerformanceInternal(t,n)}catch(r){e.diagLog().throwInternal(Je.CRITICAL,rt.TrackPVFailed,"trackPageViewPerformance failed, page view will not be collected: "+We(r),{exception:zt(r)})}},e.startTrackPage=function(t){try{if("string"!==typeof t){var n=At();t=n&&n.title||""}r.start(t)}catch(o){e.diagLog().throwInternal(Je.CRITICAL,rt.StartTrackFailed,"startTrackPage failed, page view may not be collected: "+We(o),{exception:zt(o)})}},e.stopTrackPage=function(t,n,o,i){try{if("string"!==typeof t){var a=At();t=a&&a.title||""}if("string"!==typeof n){var s=Mt();n=s&&s.href||""}r.stop(t,n,o,i),e.config.autoTrackPageVisitTime&&e._pageVisitTimeManager.trackPreviousPageVisit(t,n)}catch(c){e.diagLog().throwInternal(Je.CRITICAL,rt.StopTrackFailed,"stopTrackPage failed, page view will not be collected: "+We(c),{exception:zt(c)})}},e.sendExceptionInternal=function(t,n,r){var o=t.exception||t.error||new Error(Ri),i=new oa(e.diagLog(),o,t.properties||n,t.measurements,t.severityLevel,t.id).toInterface(),a=Mi.create(i,oa.dataType,oa.envelopeType,e.diagLog(),n,r);e.core.track(a)},e.trackException=function(t,n){try{e.sendExceptionInternal(t,n)}catch(r){e.diagLog().throwInternal(Je.CRITICAL,rt.TrackExceptionFailed,"trackException failed, exception will not be collected: "+We(r),{exception:zt(r)})}},e._onerror=function(t){var n=t&&t.error,r=t&&t.evt;try{if(!r){var o=It();o&&(r=o.event)}var i=t&&t.url||(At()||{}).URL,a=t.errorSrc||"window.onerror@"+i+":"+(t.lineNumber||0)+":"+(t.columnNumber||0),s={errorSrc:a,url:i,lineNumber:t.lineNumber||0,columnNumber:t.columnNumber||0,message:t.message};ji(t.message,t.url,t.lineNumber,t.columnNumber,t.error)?function(t,n){var r=Mi.create(t,oa.dataType,oa.envelopeType,e.diagLog(),n);e.core.track(r)}(oa.CreateAutoException("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",i,t.lineNumber||0,t.columnNumber||0,n,r,null,a),s):(t.errorSrc||(t.errorSrc=a),e.trackException({exception:t,severityLevel:ta.Error},s))}catch(l){var c=n?n.name+", "+n.message:"null";e.diagLog().throwInternal(Je.CRITICAL,rt.ExceptionWhileLoggingError,"_onError threw exception while logging error, error will not be collected: "+We(l),{exception:zt(l),errorString:c})}},e.addTelemetryInitializer=function(t){e._telemetryInitializers.push(t)},e.initialize=function(l,u,d,p){if(!e.isInitialized()){if(ye(u))throw Error("Error initializing");c.initialize(l,u,d,p),e.setInitialized(!1);var h=e._getTelCtx(),f=e.identifier;e.config=h.getExtCfg(f);var m=t.getDefaultConfig(l);void 0!==m&&xe(m,(function(t,n){e.config[t]=h.getConfig(f,t,n),void 0===e.config[t]&&(e.config[t]=n)})),e.config.isStorageUseDisabled&&ua();var g={instrumentationKey:function(){return l.instrumentationKey},accountId:function(){return e.config.accountId||l.accountId},sessionRenewalMs:function(){return e.config.sessionRenewalMs||l.sessionRenewalMs},sessionExpirationMs:function(){return e.config.sessionExpirationMs||l.sessionExpirationMs},sampleRate:function(){return e.config.samplingPercentage||l.samplingPercentage},sdkExtension:function(){return e.config.sdkExtension||l.sdkExtension},isBrowserLinkTrackingEnabled:function(){return e.config.isBrowserLinkTrackingEnabled||l.isBrowserLinkTrackingEnabled},appId:function(){return e.config.appId||l.appId}};e._pageViewPerformanceManager=new Ha(e.core),e._pageViewManager=new Oa(i,e.config.overridePageViewDuration,e.core,e._pageViewPerformanceManager),e._pageVisitTimeManager=new Fa(e.diagLog(),(function(t,n,r){return function(t,n,r){var o={PageName:t,PageUrl:n};e.trackMetric({name:"PageVisitTime",average:r,max:r,min:r,sampleCount:1},o)}(t,n,r)})),e._telemetryInitializers=e._telemetryInitializers||[],function(t){if(!t.isBrowserLinkTrackingEnabled()){var n=["/browserLinkSignalR/","/__browserLink/"];r=function(e){if(e.baseType===La.dataType){var t=e.baseData;if(t)for(var r=0;r<n.length;r++)if(t.target&&t.target.indexOf(n[r])>=0)return!1}return!0},e._telemetryInitializers.push(r)}var r}(g),(n=new Va(e.diagLog(),"trackEvent")).action=function(t,n,r,o){o||(o={}),o.duration=r.toString(),e.trackEvent({name:t,properties:o})},(r=new Va(e.diagLog(),"trackPageView")).action=function(t,n,r,o,i){ye(o)&&(o={}),o.duration=r.toString();var a={name:t,uri:n,properties:o,measurements:i};e.sendPageViewInternal(a,o)};var v=It(),y=Rt(),b=Mt(!0),_=i;if(!1===e.config.disableExceptionTracking&&!e.config.autoExceptionInstrumented&&v){var C=v.onerror;v.onerror=function(e,t,n,r,o){var i=v.event,a=C&&C(e,t,n,r,o);return!0!==a&&_._onerror(oa.CreateAutoException(e,t,n,r,o,i)),a},e.config.autoExceptionInstrumented=!0}if(!1===e.config.disableExceptionTracking&&!0===e.config.enableUnhandledPromiseRejectionTracking&&!e.config.autoUnhandledPromiseInstrumented&&v){var w=v.onunhandledrejection;v.onunhandledrejection=function(e){var t=v.event,n=w&&w.call(v,e);return!0!==n&&_._onerror(oa.CreateAutoException(function(e){if(e&&e.reason){var t=e.reason;return!De(t)&&we(t.toString)?t.toString():zt(t)}return e||""}(e),b?b.href:"",0,0,e,t)),n},e.config.autoUnhandledPromiseInstrumented=!0}if(!0===e.config.enableAutoRouteTracking&&y&&we(y.pushState)&&we(y.replaceState)&&v&&"undefined"!==typeof Event){var E=i;Le(d,(function(e){e.identifier===yi&&(o=e)})),y.pushState=function(e){return function(){var t=e.apply(this,arguments);return za(v,ma(E.config.namePrefix+"pushState")),za(v,ma(E.config.namePrefix+"locationchange")),t}}(y.pushState),y.replaceState=function(e){return function(){var t=e.apply(this,arguments);return za(v,ma(E.config.namePrefix+"replaceState")),za(v,ma(E.config.namePrefix+"locationchange")),t}}(y.replaceState),v.addEventListener&&(v.addEventListener(E.config.namePrefix+"popstate",(function(){za(v,ma(E.config.namePrefix+"locationchange"))})),v.addEventListener(E.config.namePrefix+"locationchange",(function(){if(o&&o.context&&o.context.telemetryTrace){o.context.telemetryTrace.traceID=cr();var e="_unknown_";b&&b.pathname&&(e=b.pathname+(b.hash||"")),o.context.telemetryTrace.name=Ci(E.diagLog(),e)}s?(a=s,s=b&&b.href||""):s=b&&b.href||"",setTimeout(function(e){E.trackPageView({refUri:e,properties:{duration:0}})}.bind(i,a),E.autoRoutePVDelay)})))}e.setInitialized(!0)}}})),i}return V(t,e),t.getDefaultConfig=function(e){return e||(e={}),e.sessionRenewalMs=18e5,e.sessionExpirationMs=864e5,e.disableExceptionTracking=Ui(e.disableExceptionTracking),e.autoTrackPageVisitTime=Ui(e.autoTrackPageVisitTime),e.overridePageViewDuration=Ui(e.overridePageViewDuration),e.enableUnhandledPromiseRejectionTracking=Ui(e.enableUnhandledPromiseRejectionTracking),(isNaN(e.samplingPercentage)||e.samplingPercentage<=0||e.samplingPercentage>=100)&&(e.samplingPercentage=100),e.isStorageUseDisabled=Ui(e.isStorageUseDisabled),e.isBrowserLinkTrackingEnabled=Ui(e.isBrowserLinkTrackingEnabled),e.enableAutoRouteTracking=Ui(e.enableAutoRouteTracking),e.namePrefix=e.namePrefix||"",e.enableDebug=Ui(e.enableDebug),e.disableFlushOnBeforeUnload=Ui(e.disableFlushOnBeforeUnload),e.disableFlushOnUnload=Ui(e.disableFlushOnUnload,e.disableFlushOnBeforeUnload),e},t.Version="2.7.3",t}(an),Va=function(e,t){var n=this,r={};n.start=function(t){"undefined"!==typeof r[t]&&e.throwInternal(Je.WARNING,rt.StartCalledMoreThanOnce,"start was called more than once for this event without calling stop.",{name:t,key:t},!0),r[t]=+new Date},n.stop=function(t,o,i,a){var s=r[t];if(isNaN(s))e.throwInternal(Je.WARNING,rt.StopCalledWithoutStart,"stop was called without a corresponding start.",{name:t,key:t},!0);else{var c=Na(s,+new Date);n.action(t,o,c,i,a)}delete r[t],r[t]=void 0}};function ja(e){xe(e,(function(t,n){(!gr(n)||"{}"===JSON.stringify(n)&&"callback"!==t)&&delete e[t]}))}function qa(e,t,n){var r=e;if(r){for(r=r;!t(r,n);)if(!(r=r=r.parentNode)||!r.getAttribute)return null;return r}}function Wa(e){return"A"===e.nodeName}function Ga(e,t){return function(e,t){var n=e.left,r=e.top,o=e.right,i=e.bottom,a=t.left,s=t.top,c=t.right,l=t.bottom;return Math.max(0,Math.min(o,c)-Math.max(n,a))*Math.max(0,Math.min(i,l)-Math.max(r,s))}((e=e).getBoundingClientRect(),t)>0}function Ka(e,t){return!!gr(Ya(e,"data-bi-dnt"))}function Ya(e,t){return qa(e,Qa,t)}function Qa(e,t){var n=e.getAttribute(t);return gr(n)||""===n}function Xa(e){return"["+e+"]"}function Ja(e,t,n,r){var o;return function(){var i=arguments,a=function(){o=0,t&&t.apply(r,i)},s=!o;clearTimeout(o),o=setTimeout(a,n),s&&e&&e.apply(r,i)}}function $a(){var e={h:0,v:0},t=It(),n=At();return n&&t&&(e={h:parseInt(n.body.scrollLeft||n.documentElement.scrollLeft||t.pageXOffset,10),v:parseInt(n.body.scrollTop||n.documentElement.scrollTop||t.pageYOffset,10)}),e}function Za(){var e={h:0,w:0},t=It(),n=At();if(t&&n&&t.screen){var r=n.body||{},o=n.documentElement||{};e.h=t.innerHeight||r.clientHeight||o.clientHeight,e.w=t.innerWidth||r.clientWidth||o.clientWidth}return e}var es,ts="CL",ns="CR",rs="CM",os="S",is="R",as="KE",ss="KS";!function(e){e[e.PAGE_ACTION=0]="PAGE_ACTION",e[e.CONTENT_UPDATE=1]="CONTENT_UPDATE"}(es||(es={}));var cs={BUTTON:!0,CHECKBOX:!0,RADIO:!0,RESET:!0,SUBMIT:!0};function ls(e){if(e){var t=function(e){return qa(e,Wa)}(e);if(t&&1===t.length){if(t[0].href)return t[0].href;if(t[0].src)return t[0].src}}return""}function us(e){if(!e||!e.attributes)return!1;try{var t=e.getAttribute("data-dc");return!!gr(t)&&"pii"===t.toLowerCase()}catch(n){return!1}}function ds(e,t){return e.coreData&&e.coreData.requestUri&&""!==e.coreData.requestUri?e.coreData.requestUri:function(e,t){if(!t)return null;var n=t.protocol+"//"+(t.hostname||t.host)+(gr(t.port)?":"+t.port:"")+t.pathname;if(e.urlCollectQuery){var r=t.search;if(!r){var o=t.hash||"",i=o.indexOf("?");-1!==i&&(r=o.slice(i))}n+=r}e.urlCollectHash&&(n+=t.hash||"");return n}(e,t)}function ps(e,t){var n,r="",o={},i=[],a=e.cookiesToCollect;!1===e.shareAuthStatus?i=a:Le(a,(function(e){"ANON"!==e&&i.push(e)}));try{try{mr&&window.varCustomerCookies&&window.varCustomerCookies.length>0&&(i=i.concat(window.varCustomerCookies))}catch(s){t.throwInternal(Je.CRITICAL,mt.FailedToGetCookies,"Failed to get cookies ")}Le(i,(function(e){o.hasOwnProperty(e)||(o[e]="",fr&&""!==(n=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1")))&&(r+=e+"="+n+";"))}))}catch(s){t.throwInternal(Je.CRITICAL,mt.FailedToGetCookies,"Failed to get cookies ")}return r}function hs(e){fs((function(){if(fr&&"complete"===document.readyState)e();else{var t=It();t&&(t.addEventListener?t.addEventListener("load",(function(){e()})):t.attachEvent&&t.attachEvent("onload",(function(){e()})))}}))}function fs(e){var t=At()||{};/in/.test(t.readyState)?setTimeout((function(){fs(e)}),100):e.call()}var ms,gs={longNames:{isShortNames:!1,id:"data-bi-id",areaName:"data-bi-area",slotNumber:"data-bi-slot",contentName:"data-bi-name",contentSource:"data-bi-source",templateName:"data-bi-view",productId:"data-bi-product",contentType:"data-bi-type",parentId:"data-bi-parentid",parentName:"data-bi-parentname"},shortNames:{isShortNames:!0,id:"data-bi-id",areaName:"data-bi-an",slotNumber:"data-bi-sn",contentName:"data-bi-cn",contentSource:"data-bi-cs",templateName:"data-bi-tn",productId:"data-bi-pid",contentType:"data-bi-ct",parentId:"data-bi-pi",parentName:"data-bi-pn"}},vs={parentId:"parentId",parentName:"parentName"},ys={parentId:"pI",parentName:"pN"},bs=function(){function e(e,t){this._config=e,this._traceLogger=t,this._contentBlobFieldNames=null,this._contentBlobFieldNames=!0===this._config.useShortNameForContentBlob?gs.shortNames:gs.longNames}return e.prototype.getMetadata=function(){var e={},t={};return fr&&(t=this._getMetaDataFromDOM("awa-",!0),this._config.autoCapture&&this._config.autoCapture.msTags&&(e=this._getMetaDataFromDOM("ms.",!1))),xr(!0,t,e)},e.prototype.getVisibleContent=function(){var e,t=Za(),n={top:0,bottom:(e=t).h,left:0,right:e.w},r=null;fr&&(r=document.querySelectorAll(Xa(this._contentBlobFieldNames.areaName)+","+Xa(this._contentBlobFieldNames.slotNumber)+","+Xa(this._config.biBlobAttributeTag)));var o=[];if(r)for(var i=0;i<r.length;i++){var a=r[i];if(!Ka(a)&&Ga(a,n)){var s=this.getElementContent(a,es.CONTENT_UPDATE);s&&o.push(s)}}return o},e.prototype.getElementContent=function(e,t){if(!e)return{};var n,r,o,i={};if(this._isTracked(e))if(this._isTrackedWithDataM(e)){r=(n=e).getAttribute(this._config.biBlobAttributeTag);try{i=JSON.parse(r)}catch(a){this._traceLogger.throwInternal(Je.CRITICAL,mt.CannotParseBiBlobValue,"Can not parse "+r)}}else this._isTrackedWithDataBi(e)&&(o=e,i=xr(i,this._populateElementContentwithDataBi(o,e)));else if((n=Ya(e,this._config.biBlobAttributeTag))&&(r=n.getAttribute(this._config.biBlobAttributeTag)),r)try{i=JSON.parse(r)}catch(a){this._traceLogger.throwInternal(Je.CRITICAL,mt.CannotParseBiBlobValue,"Can not parse "+r)}else o=qa(e,this._isTrackedWithDataBi),i=xr(i,this._populateElementContentwithDataBi(o,e));return ja(i),this._config.autoCapture.lineage&&t===es.PAGE_ACTION&&(i=xr(i,this.getLineageDetails(e))),this._config.autoPopulateParentIdAndParentName&&(i=xr(i,this._getParentDetails(n||o,i))),i},e.prototype.getLineageDetails=function(e){for(var t,n,r,o=[],i=[],a=this._config.biBlobAttributeTag,s="data-module-id";e;){var c=e.getAttribute(a)||e[a],l=e.getAttribute(s)||e["data-module-id"];if(c){try{var u=JSON.parse(c)}catch(d){this._traceLogger.throwInternal(Je.CRITICAL,mt.CannotParseDataAttribute,"Can not parse "+c)}u&&(n=u.cN||u.cT,r=u.id||void 0,(n||r)&&(o.push(n),l&&(t=n),i.push(r)))}else n=e.getAttribute(this._contentBlobFieldNames.contentName)||e.getAttribute(this._contentBlobFieldNames.contentType),r=e.getAttribute(this._contentBlobFieldNames.id)||void 0,(n||r)&&(o.push(n),l&&(t=n),i.push(r));e=e.parentElement}return{lineage:o.join(">"),lineageById:i.join(">"),lineageContainerName:t}},e.prototype._populateElementContentwithDataBi=function(e,t){var n={};if(!e){if(!this._config.useDefaultContentName)return n;e=t}var r=Ya(e,this._contentBlobFieldNames.areaName),o=xr({},this._getAreaContent(r)),i=this._config.callback.contentName?this._config.callback.contentName(e,this._config.useDefaultContentName):"",a=this._getDefaultContentName(t,this._config.useDefaultContentName);(n={id:e.getAttribute(this._contentBlobFieldNames.id)||e.id||"",aN:o.areaName,sN:e.getAttribute(this._contentBlobFieldNames.slotNumber),cN:i||e.getAttribute(this._contentBlobFieldNames.contentName)||a||e.getAttribute("alt")||"",cS:e.getAttribute(this._contentBlobFieldNames.contentSource)||o.contentSource,tN:o.templateName,pid:e.getAttribute(this._contentBlobFieldNames.productId),cT:e.getAttribute(this._contentBlobFieldNames.contentType)||o.type,pI:e.getAttribute(this._contentBlobFieldNames.parentId),pN:e.getAttribute(this._contentBlobFieldNames.parentName)}).id&&n.aN&&n.sN&&n.cN||this._traceLogger.throwInternal(Je.WARNING,mt.InvalidContentBlob,"Invalid content blob.  Missing required attributes (id, aN/area, sN/slot), cN/contentName.  Content information will still be collected!"),this._contentBlobFieldNames.isShortNames||(n={contentId:n.id,areaName:n.aN,slotNumber:n.sN,contentName:n.cN,contentSource:n.cS,templateName:n.tN,productId:n.pid,contentType:n.cT,parentId:n.pI,parentName:n.pN});for(var s,c=0;c<e.attributes.length;c++){if((s=e.attributes[c]).name!==this._contentBlobFieldNames.id&&s.name!==this._contentBlobFieldNames.areaName&&s.name!==this._contentBlobFieldNames.slotNumber&&s.name!==this._contentBlobFieldNames.contentName&&s.name!==this._contentBlobFieldNames.contentSource&&s.name!==this._contentBlobFieldNames.templateName&&s.name!==this._contentBlobFieldNames.productId&&s.name!==this._contentBlobFieldNames.contentType&&s.name!==this._contentBlobFieldNames.parentId&&s.name!==this._contentBlobFieldNames.parentName&&-1!==s.name.indexOf("data-bi-"))n[s.name.replace("data-bi-","")]=s.value}return n},e.prototype._getMetaDataFromDOM=function(e,t){var n,r={};if(fr){n=document.querySelectorAll("meta");for(var o=0;o<n.length;o++){var i=n[o];if(i.name)if(0===i.name.toLowerCase().indexOf(e))r[t?i.name.replace(e,""):i.name]=i.content}}return r},e.prototype._getAreaContent=function(e){if(e=e)return{areaName:e.getAttribute(this._contentBlobFieldNames.areaName),templateName:e.getAttribute(this._contentBlobFieldNames.templateName),contentSource:e.getAttribute(this._contentBlobFieldNames.contentSource),product:e.getAttribute(this._contentBlobFieldNames.productId),type:e.getAttribute(this._contentBlobFieldNames.contentType)}},e.prototype._getDefaultContentName=function(e,t){if(!1===t||us(e)||!e.tagName)return"";var n,r=At()||{};switch(e.tagName){case"A":n=r.all?e.innerText||e.innerHTML:e.text||e.innerHTML;break;case"IMG":case"AREA":n=e.alt;break;default:n=e.value||e.name||e.alt||e.innerText||e.id}return n.substring(0,200)},e.prototype._getParentDetails=function(e,t){var n=this._contentBlobFieldNames.isShortNames?ys.parentId:vs.parentId,r=this._contentBlobFieldNames.isShortNames?ys.parentName:vs.parentName,o=t[n],i=t[r];return o||i||!e?{}:this._populateParentInfo(e,n,r)},e.prototype._isTrackedWithDataM=function(e){for(var t=e.attributes,n=0;n<t.length;n++)if("data-m"===t[n].name)return!0;return!1},e.prototype._isTrackedWithDataBi=function(e){for(var t=e.attributes,n=0;n<t.length;n++)if(t[n].name.indexOf("data-bi-")>=0)return!0;return!1},e.prototype._isTracked=function(e){for(var t=e.attributes,n=0;n<t.length;n++)if("data-m"===t[n].name||t[n].name.indexOf("data-bi-")>=0)return!0;return!1},e.prototype._populateParentInfo=function(e,t,n){var r,o,i={},a=this._config.biBlobAttributeTag,s=qa(e.parentElement,this._isTracked);if(s){var c=s.getAttribute(a)||e[a];if(c){try{var l=JSON.parse(c)}catch(u){this._traceLogger.throwInternal(Je.CRITICAL,mt.CannotParseDataAttribute,"Can not parse "+c)}l&&(r=l.id,o=l.cN)}else r=s.getAttribute(this._contentBlobFieldNames.id),o=s.getAttribute(this._contentBlobFieldNames.contentName);r&&(i[t]=r),o&&(i[n]=o)}return i},e}(),_s={BUTTON:!0,CHECKBOX:!0,RADIO:!0,RESET:!0,SUBMIT:!0},Cs=function(){function e(e,t){this._analyticsPlugin=e,this._traceLogger=t}return e.prototype.pageView=function(){this._analyticsPlugin.capturePageView({isAuto:!0})},e.prototype.onLoad=function(){var e=this;hs((function(){e._analyticsPlugin.capturePageViewPerformance({isAuto:!0}),e._analyticsPlugin.captureContentUpdate({isAuto:!0,isDomComplete:!0})}))},e.prototype.click=function(){var e=this,t=It(),n=At();if(t&&t.addEventListener){var r=-1!==navigator.appVersion.indexOf("MSIE")?"click":"mousedown";t.addEventListener(r,(function(t){e._processClick(t)}),!1),t.addEventListener("keyup",(function(t){e._processClick(t)}),!1)}else n&&n.attachEvent&&(n.attachEvent("onclick",(function(t){e._processClick(t)})),n.attachEvent("keyup",(function(t){e._processClick(t)})))},e.prototype.scroll=function(e){var t=this,n=Ja(null,(function(){t._analyticsPlugin.captureContentUpdate({isAuto:!0,actionType:os})}),e.scroll,this),r=It();r&&(r.addEventListener?r.addEventListener("scroll",n):window.attachEvent&&window.attachEvent("onscroll",n))},e.prototype.maxScroll=function(e){var t=function(){var t=$a();e.v=e.v>t.v?e.v:t.v},n=It();n&&(n.addEventListener?n.addEventListener("scroll",t):n.attachEvent&&n.attachEvent("onscroll",t))},e.prototype.resize=function(e){var t=this,n=Ja((function(){t._analyticsPlugin.captureContentUpdate({isAuto:!0,actionType:is})}),null,e.resize,this),r=It();r&&(r.addEventListener?r.addEventListener("resize",n):r.attachEvent&&r.attachEvent("onresize",n))},e.prototype.onUnload=function(){var e=this._analyticsPlugin;function t(){e&&e.capturePageUnload({isAuto:!0})}if(e){var n=((e||{}).core||{}).config.disablePageUnloadEvents;nr(t,n),rr(t,n)}},e.prototype._processClick=function(e){var t,n={A:!0,BUTTON:!0,AREA:!0,INPUT:!0},r=It(),o=(e=e||r.event).srcElement||e.target,i={isAuto:!0,clickCoordinateX:e.pageX,clickCoordinateY:e.pageY},a="which"in(t=e)?3===t.which:"button"in t?2===t.button:void 0;if(a)i.actionType=ns;else if(function(e){return"which"in e?1===e.which:"button"in e?1===e.button:void 0}(e))i.actionType=ts;else if(function(e){if("keyCode"in e)return 13===e.keyCode}(e))i.actionType=as;else if(function(e){if("keyCode"in e)return 32===e.keyCode}(e))i.actionType=ss;else{if(!function(e){return"which"in e?2===e.which:"button"in e?4===e.button:void 0}(e))return;i.actionType=rs}for(;o&&o.tagName;){if(o.control&&n[o.control.tagName.toUpperCase()]&&(o=o.control),n[o.tagName.toUpperCase()]){("INPUT"!==o.tagName.toUpperCase()||_s[o.type.toUpperCase()])&&this._analyticsPlugin.capturePageAction(o,i,{},a);break}o=o.parentElement||o.parentNode}},e}();function ws(e,t,n){var r="";return t&&t[n]?r=t[n]:e&&(r=e[n]),r}!function(e){e[e.UNDEFINED=0]="UNDEFINED",e[e.NAVIGATIONBACK=1]="NAVIGATIONBACK",e[e.NAVIGATION=2]="NAVIGATION",e[e.NAVIGATIONFORWARD=3]="NAVIGATIONFORWARD",e[e.APPLY=4]="APPLY",e[e.REMOVE=5]="REMOVE",e[e.SORT=6]="SORT",e[e.EXPAND=7]="EXPAND",e[e.REDUCE=8]="REDUCE",e[e.CONTEXTMENU=9]="CONTEXTMENU",e[e.TAB=10]="TAB",e[e.COPY=11]="COPY",e[e.EXPERIMENTATION=12]="EXPERIMENTATION",e[e.PRINT=13]="PRINT",e[e.SHOW=14]="SHOW",e[e.HIDE=15]="HIDE",e[e.MAXIMIZE=16]="MAXIMIZE",e[e.MINIMIZE=17]="MINIMIZE",e[e.BACKBUTTON=18]="BACKBUTTON",e[e.STARTPROCESS=20]="STARTPROCESS",e[e.PROCESSCHECKPOINT=21]="PROCESSCHECKPOINT",e[e.COMPLETEPROCESS=22]="COMPLETEPROCESS",e[e.SCENARIOCANCEL=23]="SCENARIOCANCEL",e[e.DOWNLOADCOMMIT=40]="DOWNLOADCOMMIT",e[e.DOWNLOAD=41]="DOWNLOAD",e[e.SEARCHAUTOCOMPLETE=60]="SEARCHAUTOCOMPLETE",e[e.SEARCH=61]="SEARCH",e[e.SEARCHINITIATE=62]="SEARCHINITIATE",e[e.TEXTBOXINPUT=63]="TEXTBOXINPUT",e[e.PURCHASE=80]="PURCHASE",e[e.ADDTOCART=81]="ADDTOCART",e[e.VIEWCART=82]="VIEWCART",e[e.ADDWISHLIST=83]="ADDWISHLIST",e[e.FINDSTORE=84]="FINDSTORE",e[e.CHECKOUT=85]="CHECKOUT",e[e.REMOVEFROMCART=86]="REMOVEFROMCART",e[e.PURCHASECOMPLETE=87]="PURCHASECOMPLETE",e[e.VIEWCHECKOUTPAGE=88]="VIEWCHECKOUTPAGE",e[e.VIEWCARTPAGE=89]="VIEWCARTPAGE",e[e.VIEWPDP=90]="VIEWPDP",e[e.UPDATEITEMQUANTITY=91]="UPDATEITEMQUANTITY",e[e.INTENTTOBUY=92]="INTENTTOBUY",e[e.PUSHTOINSTALL=93]="PUSHTOINSTALL",e[e.SIGNIN=100]="SIGNIN",e[e.SIGNOUT=101]="SIGNOUT",e[e.SOCIALSHARE=120]="SOCIALSHARE",e[e.SOCIALLIKE=121]="SOCIALLIKE",e[e.SOCIALREPLY=122]="SOCIALREPLY",e[e.CALL=123]="CALL",e[e.EMAIL=124]="EMAIL",e[e.COMMUNITY=125]="COMMUNITY",e[e.SOCIALFOLLOW=126]="SOCIALFOLLOW",e[e.VOTE=140]="VOTE",e[e.SURVEYINITIATE=141]="SURVEYINITIATE",e[e.SURVEYCOMPLETE=142]="SURVEYCOMPLETE",e[e.REPORTAPPLICATION=143]="REPORTAPPLICATION",e[e.REPORTREVIEW=144]="REPORTREVIEW",e[e.SURVEYCHECKPOINT=145]="SURVEYCHECKPOINT",e[e.CONTACT=160]="CONTACT",e[e.REGISTRATIONINITIATE=161]="REGISTRATIONINITIATE",e[e.REGISTRATIONCOMPLETE=162]="REGISTRATIONCOMPLETE",e[e.CANCELSUBSCRIPTION=163]="CANCELSUBSCRIPTION",e[e.RENEWSUBSCRIPTION=164]="RENEWSUBSCRIPTION",e[e.CHANGESUBSCRIPTION=165]="CHANGESUBSCRIPTION",e[e.REGISTRATIONCHECKPOINT=166]="REGISTRATIONCHECKPOINT",e[e.CHATINITIATE=180]="CHATINITIATE",e[e.CHATEND=181]="CHATEND",e[e.TRIALSIGNUP=200]="TRIALSIGNUP",e[e.TRIALINITIATE=201]="TRIALINITIATE",e[e.SIGNUP=210]="SIGNUP",e[e.FREESIGNUP=211]="FREESIGNUP",e[e.PARTNERREFERRAL=220]="PARTNERREFERRAL",e[e.LEARNLOWFUNNEL=230]="LEARNLOWFUNNEL",e[e.LEARNHIGHFUNNEL=231]="LEARNHIGHFUNNEL",e[e.SHOPPINGINTENT=232]="SHOPPINGINTENT",e[e.VIDEOSTART=240]="VIDEOSTART",e[e.VIDEOPAUSE=241]="VIDEOPAUSE",e[e.VIDEOCONTINUE=242]="VIDEOCONTINUE",e[e.VIDEOCHECKPOINT=243]="VIDEOCHECKPOINT",e[e.VIDEOJUMP=244]="VIDEOJUMP",e[e.VIDEOCOMPLETE=245]="VIDEOCOMPLETE",e[e.VIDEOBUFFERING=246]="VIDEOBUFFERING",e[e.VIDEOERROR=247]="VIDEOERROR",e[e.VIDEOMUTE=248]="VIDEOMUTE",e[e.VIDEOUNMUTE=249]="VIDEOUNMUTE",e[e.VIDEOFULLSCREEN=250]="VIDEOFULLSCREEN",e[e.VIDEOUNFULLSCREEN=251]="VIDEOUNFULLSCREEN",e[e.VIDEOREPLAY=252]="VIDEOREPLAY",e[e.VIDEOPLAYERLOAD=253]="VIDEOPLAYERLOAD",e[e.VIDEOPLAYERCLICK=254]="VIDEOPLAYERCLICK",e[e.VIDEOVOLUMECONTROL=255]="VIDEOVOLUMECONTROL",e[e.VIDEOAUDIOTRACKCONTROL=256]="VIDEOAUDIOTRACKCONTROL",e[e.VIDEOCLOSEDCAPTIONCONTROL=257]="VIDEOCLOSEDCAPTIONCONTROL",e[e.VIDEOCLOSEDCAPTIONSTYLE=258]="VIDEOCLOSEDCAPTIONSTYLE",e[e.VIDEORESOLUTIONCONTROL=259]="VIDEORESOLUTIONCONTROL",e[e.VIRTUALEVENTJOIN=260]="VIRTUALEVENTJOIN",e[e.VIRTUALEVENTEND=261]="VIRTUALEVENTEND",e[e.JOINTEAMSMEETINGEVENT=262]="JOINTEAMSMEETINGEVENT",e[e.IMPRESSION=280]="IMPRESSION",e[e.CLICK=281]="CLICK",e[e.RICHMEDIACOMPLETE=282]="RICHMEDIACOMPLETE",e[e.ADBUFFERING=283]="ADBUFFERING",e[e.ADERROR=284]="ADERROR",e[e.ADSTART=285]="ADSTART",e[e.ADCOMPLETE=286]="ADCOMPLETE",e[e.ADSKIP=287]="ADSKIP",e[e.ADTIMEOUT=288]="ADTIMEOUT",e[e.OTHER=300]="OTHER"}(ms||(ms={}));var Es=function(){function e(e,t,n,r,o,i,a){this._webAnalyticsPlugin=e,this._config=t,this._contentHandler=n,this._id=r,this._pageTagsCallback=o,this.metaTags=i,this._traceLogger=a,this._pageTags={}}return e.prototype._setBasicProperties=function(e,t){e.ver="1.0",e.id=this._id.getLastPageViewId(),gr(e.name)||(e.name=function(e,t){if(t&&t.pageName)return t.pageName;if(e.callback&&"function"===typeof e.callback.pageName)return e.callback.pageName();if(e.coreData&&e.coreData.pageName)return e.coreData.pageName;var n=(Mt()||{}).pathname||"",r=n.split("/");return r&&""!==r[r.length-1]?r[r.length-1]:"Undefined"}(this._config,t)),!gr(e.uri)&&mr&&(e.uri=ds(this._config,Mt()))},e.prototype._setCommonProperties=function(e,t,n){var r,o=this;o._setBasicProperties(e,n),o._setPageTags(e,n),o._pageTypeMetaTag=ws(o.metaTags,o._config.coreData,"pageType"),o._marketMetaTag=ws(o.metaTags,o._config.coreData,"market"),o._behaviorMetaTag=ws(o.metaTags,o._config.coreData,"behavior"),gr(n.pageType)&&(e.pageType=n.pageType),gr(o._pageTypeMetaTag)&&!gr(e.pageType)&&(e.pageType=o._pageTypeMetaTag),gr(o._marketMetaTag)&&(e.market=o._marketMetaTag),e.isLoggedIn=(r=o._config).callback&&"function"===typeof r.callback.signedinStatus?r.callback.signedinStatus():r.isLoggedIn,t.cookieEnabled=Sn()},e.prototype._setPageTags=function(e,t){var n=this;n._pageTags={},n.metaTags&&(n._pageTags.metaTags=n._pageTags.metaTags||{},xe(n.metaTags,(function(e,t){"behavior"!==e&&"market"!==e&&"pageType"!==e&&(n._pageTags.metaTags[e]=t)}))),n._config.coreData&&n._config.coreData.pageTags&&(n._pageTags=xr(!0,n._pageTags,n._config.coreData.pageTags)),n._pageTagsCallback&&(n._pageTags=xr(!0,n._pageTags,n._pageTagsCallback())),gr(t.pageTags)&&(n._pageTags=xr(!0,n._pageTags,t.pageTags)),e.properties=e.properties||{},e.properties.pageTags=n._pageTags},e.prototype._getBehavior=function(e){var t;return e&&gr(e.behavior)?t=e.behavior:gr(this._behaviorMetaTag)&&(t=this._behaviorMetaTag),this._getValidBehavior(t)},e.prototype._getValidBehavior=function(e){if(gr(e)){var t=void 0,n=parseInt(e);if((t=isNaN(n)?ms[e]:n)in ms)return t}return 0},e}(),xs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.capturePageView=function(e,t){e=gr(e)?e:{};var n={},r=gr(t)?t:{};this._setCommonProperties(n,r,e),n.refUri=gr(e.referrerUri)?e.referrerUri:this._config.coreData.referrerUri,n.isManual=!e.isAuto;var o=ps(this._config,this._traceLogger);o&&(r.cookies=o),r.behavior=this._getBehavior(e),this._webAnalyticsPlugin.trackPageView(n,r)},t}(Es),Ss=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.trackPageAction=function(e,t){var n={web:{}};n.web.isManual=e.isManual;var r={name:"Ms.Web.PageAction",baseType:"PageActionData",ext:n,data:{},baseData:{},latency:st};ve(e.sync)||(r.sync=e.sync),r.baseData.name=e.name,r.baseData.uri=e.uri,r.baseData.market=e.market,r.baseData.pageType=e.pageType,r.baseData.isLoggedIn=e.isLoggedIn,r.baseData.id=e.id,r.baseData.properties=e.properties,r.baseData.ver=e.ver,r.baseData.actionType=e.actionType,r.baseData.behavior=e.behavior,r.baseData.clickCoordinates=e.clickCoordinates,r.baseData.content=e.content,r.baseData.contentVer=e.contentVer,r.baseData.targetUri=e.targetUri,xe(t,(function(e,t){r.data[e]||(r.data[e]=t)})),this._webAnalyticsPlugin.core.track(r)},t.prototype.capturePageAction=function(e,t,n,r){t=gr(t)?t:{};var o={},i=gr(n)?n:{};this._setCommonProperties(o,i,t),o.isManual=!t.isAuto,o.behavior=this._getBehavior(t);var a={};if(e=e,r)o.behavior=9;else{var s=this._config||{};if((e&&ve(s.syncPageActionNavClick)||s.syncPageActionNavClick)&&(t.actionType===ts||t.actionType===as)&&"a"===e.tagName.toLowerCase()){var c=(e.getAttribute("href")||"").toLowerCase();c&&(ke(c,"https:")||ke(c,"http:")||ke(c,".")||ke(c,"/"))&&(o.sync=3)}}if(e&&(o.targetUri=function(e){var t="";switch(e.tagName){case"A":case"AREA":t=e.href||"";break;case"IMG":t=ls(e);break;case"INPUT":var n=e.type;if(n&&cs[n.toUpperCase()]){var r=Mt()||{};t=e.form?e.form.action||r.pathname||"":r.pathname||""}}return t}(e),(a=xr(a=this._contentHandler.getElementContent(e,es.PAGE_ACTION),this._getCustomTags(e)))&&a.bhvr&&!gr(t.behavior))){var l=function(e,t){var n;return e&&e[t]&&(n=e[t],delete e[t]),n}(a,"bhvr");o.behavior=this._getValidBehavior(l)}gr(t.actionType)&&(o.actionType=t.actionType),gr(t.clickCoordinateX)&&gr(t.clickCoordinateY)&&(o.clickCoordinates=t.clickCoordinateX+"X"+t.clickCoordinateY),gr(t.targetUri)&&(o.targetUri=t.targetUri),o.contentVer="2.0";var u=this._config.callback.pageActionContentTags;o.content=Xa(JSON.stringify(xr(t.content||a,"function"===typeof u?u(e):{},t&&t.contentTags?t.contentTags:{}))),i.timeToAction=this._getTimeToClick(),i.refUri=gr(t.refUri)?t.refUri:this._config.coreData.referrerUri;var d=ps(this._config,this._traceLogger);d&&(i.cookies=d),this.trackPageAction(o,i)},t.prototype._getCustomTags=function(e){for(var t={};e;){if(!us(e))for(var n in e.attributes)if(n&&e.attributes[n]){var r=e.attributes[n].name;r&&0===r.toLowerCase().indexOf("ms.")&&(t[r]=e.attributes[n].value)}e=e.parentElement||e.parentNode}return t},t.prototype._getTimeToClick=function(){var e=Nt();if(e&&e.timing){var t=e.timing.navigationStart;if(t&&0!==t)return(new Date).getTime()-t}return-1},t}(Es),ks=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.trackContentUpdate=function(e,t){var n={web:{}};n.web.isManual=e.isManual;var r={name:"Ms.Web.ContentUpdate",baseType:"ContentUpdateData",ext:n,data:{},baseData:{},latency:lt};Le(["name","uri","market","pageType","isLoggedIn","id","properties","ver","actionType","behavior","pageHeight","content","contentVer","vpHeight","vpWidth","vScrollOffset","hScrollOffset"],(function(t){r.baseData[t]=e[t]})),xe(t,(function(e,t){r.data[e]||(r.data[e]=t)})),this._webAnalyticsPlugin.core.track(r)},t.prototype.captureContentUpdate=function(e,t){e=gr(e)?e:{};var n={},r=gr(t)?t:{};this._setCommonProperties(n,r,e),n.behavior=this._getBehavior(e),gr(e.actionType)&&(n.actionType=e.actionType);var o=Za(),i=$a();n.pageHeight=fr?document.body.scrollHeight:null,n.vpHeight=o.h,n.vpWidth=o.w,n.vScrollOffset=i.v,n.hScrollOffset=i.h,n.contentVer="2.0",n.isManual=!e.isAuto;var a=this._getContentFormatted(e.content)||JSON.stringify(this._contentHandler.getVisibleContent());a&&(n.content=a),gr(e.isDomComplete)?r.isDomComplete=e.isDomComplete:r.isDomComplete=!1,this.trackContentUpdate(n,r)},t.prototype._getContentFormatted=function(e){if(gr(e))return"[object Array]"===Object.prototype.toString.call(e)?JSON.stringify(e):Xa(JSON.stringify(e))},t}(Es),Ts=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t,n,null,r,{},{},o)||this;return s._webAnalyticsPlugin=t,s._config=n,s._id=r,s._traceLogger=o,s._timestamp=i,s._maxScroll=a,s}return V(t,e),t.prototype.trackPageUnload=function(e,t){var n={web:{}};n.web.isManual=e.isManual;var r={name:"Ms.Web.PageUnload",baseType:"PageUnloadData",ext:n,data:{},baseData:{},latency:lt},o=this._config||{};(ve(o.syncUnloadAction)||o.syncUnloadAction)&&(r.sync=3),r.baseData.name=e.name,r.baseData.uri=e.uri,r.baseData.id=e.id,r.baseData.properties=e.properties,r.baseData.ver=e.ver,r.baseData.market=e.market,r.baseData.pageType=e.pageType,r.baseData.isLoggedIn=e.isLoggedIn,xe(t,(function(e,t){r.data[e]||(r.data[e]=t)})),this._webAnalyticsPlugin.core.track(r)},t.prototype.capturePageUnload=function(e,t){e=gr(e)?e:{};var n={},r=gr(t)?t:{},o=fr?document.body.scrollHeight:0;if(this._setBasicProperties(n,e),n.isManual=!e.isAuto,r.dwellTime=this._timestamp._recordTimeSpan("dwellTime",!0),r.scrollDepth=e.scrollDepth||this._maxScroll.v.toString()+"/"+o.toString(),r.vpHeight=Za().h,r.vScrollOffset=e.vScrollOffset||this._maxScroll.v,mr){var i=Nt(),a=i?i.timing:null;a&&a.loadEventStart&&a.navigationStart&&a.loadEventStart>0&&(r.pageLoadTime=a.loadEventStart-a.navigationStart)}this.trackPageUnload(n,r)},t}(Es),Is=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return V(t,e),t.prototype.capturePageViewPerformance=function(e,t){e=gr(e)?e:{};var n={},r=gr(t)?t:{};this._setBasicProperties(n,e),this._setPageTags(n,e),n.isManual=!e.isAuto,r.behavior=this._getBehavior(e),r.vpHeight=e.vpHeight,r.vpWidth=e.vpWidth,r.framework=e.framework,r.systemTiming=e.systemTiming,r.customTiming=e.customTiming,this._webAnalyticsPlugin._populatePageViewPerformance(n),this._webAnalyticsPlugin.trackPageViewPerformance(n,r)},t}(Es),As=function(){function e(e){this.core=e,this.appUserId=null,this.firstPageView=!1,this._cookieMgr=En(e),this.lastPageViewId=Er(),this.traceId=this.createTraceId()}return e.visitorId=function(){return wr(En(null),"MUID")},e.prototype.createTraceId=function(){return Er().replace(/-/g,"")},e.prototype.getTraceId=function(){return this.traceId},e.prototype.getLastPageViewId=function(){return this.lastPageViewId},e.prototype.initializeIds=function(){this.firstPageView?(this.traceId=this.createTraceId(),this.lastPageViewId=Er()):this.firstPageView=!0},e.prototype.getMuidUserId=function(){var e=wr(this._cookieMgr,"MUID");return e&&e.length?"t:"+e:e},e.prototype.setAppUserId=function(t){if(this.appUserId=null,t){for(var n=0;n<e.userIdPrefixes.length;n++)if(e.userIdPrefixes[n]===t.substring(0,2)){this.appUserId=t;break}this.appUserId}},e.prototype.setDeviceClass=function(e){e&&(this.deviceClass=e)},e.prototype.getDeviceClass=function(){return this.deviceClass},e.prototype.getAppUserId=function(){return this.appUserId},e.prototype.syncMuid=function(e){var t=Mt();if(t&&e){var n=(t.protocol||"http:")+"//"+e+"/c.gif?DI=4050&did=1&t=",r=At();if(r){var o=r.createElement("IMG");o.style.display="none",o.src=n,o.hidden="",o["aria-hidden"]="true",o.role="presentation"}return!0}return!1},e.prototype.getMuidHost=function(e){return{"microsoft.com":"c1.microsoft.com","xbox.com":"c.xbox.com","live.com":"c.live.com","microsoftstore.com":"c.microsoftstore.com","msn.com":"c.msn.com","windows.com":"c.windows.com","office.com":"c.office.com"}[e]},e.userIdPrefixes=["c:","i:","w:"],e}(),Ps=function(){function e(){this._timers=[]}return e.prototype._recordTimeSpan=function(e,t){var n=(new Date).getTime();if(t)return n-this._timers[e];this._timers[e]=n},e}(),Ds=function(e){function t(){var n,r,o,i,a,s,c,l=e.call(this)||this;l.identifier="WebAnalyticsPlugin",l.version="3.1.10";var u,d,p,h={h:0,v:0},f=!1;return he(t,l,(function(e,t){function m(e){var t={useDefaultContentName:!0,useShortNameForContentBlob:!0,debounceMs:{scroll:600,resize:3e3},biBlobAttributeTag:"data-m",isLoggedIn:!1,shareAuthStatus:!1,cookiesToCollect:["MSFPC","ANON"],autoCapture:{pageView:!0,onLoad:!0,onUnload:!0,click:!0,scroll:!1,resize:!1,lineage:!1,jsError:!0,msTags:!0},callback:{pageName:null,pageActionPageTags:null,pageViewPageTags:null,contentUpdatePageTags:null,pageActionContentTags:null,signedinStatus:null},coreData:{referrerUri:fr?document.referrer:"",requestUri:"",pageName:"",pageType:"",product:"",market:"",pageTags:{}},autoPopulateParentIdAndParentName:!1,syncMuid:!1,muidDomain:"microsoft.com"},n=[];if(xe(t,(function(e,t){Ce(t)&&n.push(e)})),e)return function(e,t){ja(e),Le(t,(function(t,n){Ce(e[t])?ja(e[t]):delete e[t]}))}(e,n),xr(!0,t,e)}function g(e){var t={};return void 0!==e.isManual&&(t.web={},t.web.isManual=void 0===e.isManual||e.isManual,delete e.isManual),t}e._telemetryInitializers=e._telemetryInitializers||[],e.updateCoreDataConfig=function(e){c.coreData=xr(!0,c.coreData,e)},e.refreshMetadata=function(){var e=d.getMetadata();n.metaTags=e,o.metaTags=e,r.metaTags=e,a.metaTags=e},e.initialize=function(f,g,v){var y=g;f.extensionConfig=f.extensionConfig||[],f.extensionConfig[e.identifier]=f.extensionConfig[e.identifier]||{},e._config=c=m(f.extensionConfig[e.identifier]);var b=c.autoCapture,_=y.getWParam;if(y.getWParam=function(){var e=0;return c.mscomCookies&&(e|=1),e|_()},f.extensionConfig[e.identifier].disableExceptionTracking=!b.jsError,t.initialize(f,g,v),d=d||new bs(c,e.diagLog()),p=p||new Cs(e,e.diagLog()),c.manageCv){for(var C=0;C<v.length;C++)if("CorrelationVectorPlugin"===v[C].identifier){c.manageCv=!0,s=v[C];break}s||(e.diagLog().throwInternal(Je.WARNING,mt.CVPluginNotAvailable,'Automatic Cv management is set to "true" in config.  However, cv plugin is not available. Disabling automatic Cv management'),c.manageCv=!1)}e.id=new As(g),u=new Ps;var w=d.getMetadata();n=new xs(l,c,d,e.id,c.callback.pageViewPageTags,w,e.diagLog()),r=new Ss(l,c,d,e.id,c.callback.pageActionPageTags,w,e.diagLog()),o=new ks(l,c,d,e.id,c.callback.contentUpdatePageTags,w,e.diagLog()),i=new Ts(l,c,e.id,e.diagLog(),u,h),a=new Is(l,c,d,e.id,c.callback.pageViewPageTags,w,e.diagLog()),c.syncMuid&&hs((function(){var t=e.id.getMuidHost(c.muidDomain);e.id.syncMuid(t)})),b.pageView&&p.pageView(),b.onLoad&&p.onLoad(),b.click&&p.click(),b.scroll&&p.scroll(c.debounceMs),b.resize&&p.resize(c.debounceMs),(b.onUnload||c.manualPageUnload)&&p.maxScroll(h),b.onUnload&&p.onUnload()},e.processTelemetry=function(t,n){Ir(t,e.identifier);var r=t;"PageviewData"===r.baseType?(r.name="Ms.Web.PageView",r.latency=lt):"ExceptionData"===r.baseType?(r.name="Ms.Web.ClientError",r.latency=st,delete r.baseData.aiDataContract):"PageviewPerformanceData"===r.baseType&&(r.name="Ms.Web.PageViewPerformance",r.latency=st,delete r.baseData.isValid,delete r.baseData.durationMs);var o=null;"PageviewData"!==r.baseType?c.manageCv&&(o=s.getCv())&&o.increment():c.manageCv&&((o=s.getCv())?o.seed():o=s.getCv());for(var i=!1,a=e._telemetryInitializers.length,l=0;l<a;++l){var u=e._telemetryInitializers[l];if(u&&!1===u.apply(null,[r])){i=!0;break}}i||e.processNext(r,n)},e.addTelemetryInitializer=function(t){e._telemetryInitializers.push(t)},e.trackEvent=function(t,n){t.latency=t.latency||st,t.baseData=t.baseData||{},t.data=t.data||{},gr(n)&&xe(n,(function(e,n){t.data[e]=n})),e.core.track(t)},e.trackPageView=function(n,r){u._recordTimeSpan("dwellTime",!1),h.v=0,f=!1,e.id.initializeIds(),n.id=e.id.getLastPageViewId(),t.sendPageViewInternal(n,r,g(n))},e.capturePageView=function(e,t){n.capturePageView(e,t)},e.trackPageViewPerformance=function(e,n){t.sendPageViewPerformanceInternal(e,n,g(e))},e.capturePageViewPerformance=function(e,t){a.capturePageViewPerformance(e,t)},e.trackException=function(e,n){e.id=e.id||Er(),t.sendExceptionInternal(e,n,g(e))},e.trackPageAction=function(e,t){r.trackPageAction(e,t)},e.capturePageAction=function(e,t,n,o){(function(e,t){return!(t&&t.isAuto&&gr(Ya(e,"data-bi-mto")))&&!Ka(e)})(e,t)&&r.capturePageAction(e,t,n,o)},e.trackContentUpdate=function(e,t){o.trackContentUpdate(e,t)},e.captureContentUpdate=function(e,t){o.captureContentUpdate(e,t)},e.trackPageUnload=function(e,t){f||(f=!0,i.trackPageUnload(e,t))},e.capturePageUnload=function(e,t){f||(f=!0,i.capturePageUnload(e,t))},e._populatePageViewPerformance=function(t){e._pageViewPerformanceManager.populatePageViewPerformanceEvent(t)},e.setContentHandler=function(e){d=e},e.setAutoCaptureHandler=function(e){p=e}})),l}return V(t,e),t}(Ua),Rs=["snippet","_webAnalytics","_postChannel","_propertyManager","_extensions"],Ms=function(e){function t(){var t=e.call(this)||this;return t._postChannel=new vi,t._propertyManager=new Mo,t._webAnalytics=new Ds,t}return V(t,e),t.prototype.initialize=function(t,n){var r=this,o=this;nt(o,(function(){return"ApplicationInsights:initialize"}),(function(){var i=[o._propertyManager,o._webAnalytics];if(n&&(i=i.concat(n)),t||Qe("You must provide a config object!"),t.channels&&t.channels.length>0){for(var a=!1,s=0;s<t.channels[0].length;s++)if(t.channels[0][s].identifier===o._postChannel.identifier){a=!0;break}a||t.channels[0].push(o._postChannel)}else t.channels=[[o._postChannel]];var c=t.extensionConfig=t.extensionConfig||[];c[o._postChannel.identifier]=t?t.channelConfiguration:{},c[o._propertyManager.identifier]=t?t.propertyConfiguration:{},c[o._webAnalytics.identifier]=t?t.webAnalyticsConfiguration:{};try{e.prototype.initialize.call(r,t,i)}catch(l){o.logger.throwInternal(Je.CRITICAL,mt.FailedToInitializeSDK,"Failed to initialize SDK."+zt(l))}}),(function(){return{config:t,extensions:n}}))},t.prototype.getPropertyManager=function(){return this._propertyManager},t.prototype.getPostChannel=function(){return this._postChannel},t.prototype.getWebAnalyticsExtension=function(){return this._webAnalytics},t.prototype.addTelemetryInitializer=function(e){this._webAnalytics.addTelemetryInitializer(e)},t.prototype.trackEvent=function(e,t){this._webAnalytics.trackEvent(e,t)},t.prototype.trackPageView=function(e,t){this._webAnalytics.trackPageView(e,t)},t.prototype.trackPageAction=function(e,t){this._webAnalytics.trackPageAction(e,t)},t.prototype.trackContentUpdate=function(e,t){this._webAnalytics.trackContentUpdate(e,t)},t.prototype.trackPageUnload=function(e,t){this._webAnalytics.trackPageUnload(e,t)},t.prototype.trackException=function(e,t){this._webAnalytics.trackException(e,t)},t.prototype.trackPageViewPerformance=function(e,t){this._webAnalytics.trackPageViewPerformance(e,t)},t.prototype.capturePageView=function(e,t){this._webAnalytics.capturePageView(e,t)},t.prototype.capturePageViewPerformance=function(e,t){this._webAnalytics.capturePageViewPerformance(e,t)},t.prototype.capturePageAction=function(e,t,n,r){this._webAnalytics.capturePageAction(e,t,n,r)},t.prototype.captureContentUpdate=function(e,t){this._webAnalytics.captureContentUpdate(e,t)},t.prototype.capturePageUnload=function(e,t){this._webAnalytics.capturePageUnload(e,t)},t.prototype._onerror=function(e){this._webAnalytics._onerror(e)},t.prototype.emptySnippetQueue=function(e){var t=this;try{if(e&&(ye(t._snippetVersion)||t._snippetVersion,xe(t,(function(t,n){De(t)&&!we(n)&&t&&"_"!==t[0]&&-1===Rs.indexOf(t)&&(e[t]=n)}))),Ae(e.queue)){for(var n=e.queue.length,r=0;r<n;r++){(0,e.queue[r])()}e.queue=void 0,delete e.queue}}catch(o){o&&we(o.toString)&&o.toString()}},t.prototype.updateSnippetDefinitions=function(e){this.snippet=e,this._snippetVersion=""+(e.sv||e.version||""),function(e,t,n){if(e&&t&&e!==t&&Ce(e)&&Ce(t)){var r=function(r){if(De(r)){var o=t[r];we(o)?n&&!n(r,!0,t,e)||(e[r]=(i=r,function(){var e=arguments;return t[i].apply(t,e)})):n&&!n(r,!1,t,e)||(_e(e,r)&&delete e[r],Ve(e,r,(function(){return t[r]}),(function(e){t[r]=e}))||(e[r]=o))}var i};for(var o in t)r(o)}}(e,this,(function(e){return e&&-1===Rs.indexOf(e)}))},t}(Rr),Ns=0,Ls=1,Os=2;function Fs(e){try{return e.responseText}catch(t){}return""}var Bs=function(){function e(){}return e.prototype.makeRequest=function(e,t,n,r){var o,i=this;if(jt()){var a=new XDomainRequest;a.open(n,e),a.onload=function(){r(200,Fs(a),{})},a.onerror=function(){r(400,Fs(a),{})},a.ontimeout=function(){r(500,Fs(a),{})},a.onprogress=function(){},setTimeout((function(){a.send(t)}),0)}else if(Ft())fetch(e,(o={body:t,method:n,credentials:"include"},o[Di]=!0,o)).then((function(e){var t={};e.headers&&e.headers.forEach((function(e,n){t[n]=e})),r(e.status,JSON.stringify(e.json()),t)})).catch((function(e){r(0,e,{})}));else if(qt()){var s=Pr(n,e,!0,!0);s.onload=function(){r(s.status,Fs(s),i._convertAllHeadersToMap(s.getAllResponseHeaders()))},s.onerror=function(){r(s.status,Fs(s),i._convertAllHeadersToMap(s.getAllResponseHeaders()))},s.ontimeout=function(){r(s.status,Fs(s),i._convertAllHeadersToMap(s.getAllResponseHeaders()))},s.send(t)}},e.prototype._convertAllHeadersToMap=function(e){var t={};if(e)for(var n=e.split("\n"),r=0;r<n.length;++r){var o=n[r].split(": ");t[o[0]]=o[1]}return t},e}(),Hs=function(){function e(e,t,n){this._endpointUrl="",this._logger=n,this._endpointUrl=e,this._requestHandler=new Bs,this.setAuthType(t)}return e.prototype.setAuthType=function(e){var t="";switch(e){case Os:t="aad.js";break;case Ls:t="msa.js"}this._getLoginUrlPath=this._endpointUrl+"auth/GetLoginUrl/"+t,this._signOutPath=this._endpointUrl+"auth/SignOut/"+t},e.prototype.startAuthHandshake=function(){var e=this;this._requestHandler.makeRequest(this._getLoginUrlPath,"","GET",(function(t,n,r){try{var o=JSON.parse(n).webResult.authLoginUrl,i=At();if(i){var a=i.createElement("iframe"),s=Math.floor(Math.random()*Math.floor(1e4));a.id="telframe"+s,a.style.display="none",a.src=o,i.body.appendChild(a),e._loginIframeId=a.id}}catch(c){e._logger.throwInternal(Je.CRITICAL,mt.AuthHandShakeError,"Error with auth handshake process: "+c)}}))},e.prototype.cleanAuthIFrame=function(){var e=At();if(e){var t=e.getElementById(this._loginIframeId);t&&e.body.removeChild(t)}},e.prototype.signOutAndClearCookies=function(){this._requestHandler.makeRequest(this._signOutPath,"","POST",(function(e,t,n){}))},e}(),zs="authBounced",Us=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.identifier="AuthPlugin",t.priority=190,t.version="3.1.10",t._eventQueue=[],t}return V(t,e),t.prototype.initialize=function(t,n,r){var o=this;o._core=n,e.prototype.initialize.call(this,t,n,r);o._getTelCtx();var i=o.identifier;o._authConfig=t.extensionConfig[i]||{},t.extensionConfig[i]=o._authConfig,o._handshakeInProgress=!1,o._authHandhshakeTimeoutMs=o._authConfig.handShakeTimeoutMs?o._authConfig.handShakeTimeoutMs:5e3;var a=o._authConfig.overrideAuthEndpointUrl?o._authConfig.overrideAuthEndpointUrl:t.endpointUrl;function s(){o._releaseEventQueue()}o._authHandler=new Hs(a,o._authConfig.authType,o.diagLog()),o._updateWParam();var c=t.disablePageUnloadEvents||[];nr(s,c),rr(s,c);var l=It();l&&Ee(l,"message",(function(e){o._receiveMessage(e,a)}))},t.prototype.processTelemetry=function(e,t){var n=this;if(t=this._getTelCtx(t),Ir(e,this.identifier),this._authConfig.authType!==Ns&&this._authConfig.loggedInStatusCallback&&!0===this._authConfig.loggedInStatusCallback()){var r=En(this.core);if(!wr(r,zs)){r.set(zs,Ne(new Date),1800),this._handshakeInProgress=!0,this._authHandhshakeTimeout=setTimeout((function(){n._completeAuthHandshake()}),this._authHandhshakeTimeoutMs),this._authHandler.startAuthHandshake()}}this._handshakeInProgress?this._eventQueue.push({ctx:t,item:e}):this.processNext(e,t)},t.prototype.signOut=function(){En(this.core).del(zs),this._authHandler.signOutAndClearCookies(),this._completeAuthHandshake()},t.prototype.setAuthType=function(e){this._completeAuthHandshake(),this._authConfig.authType=e,this._authHandler.setAuthType(e),this._updateWParam()},t.prototype._updateWParam=function(){var e=this;if(this._authConfig.authType!=Ns){var t=this._core,n=t.getWParam;t.getWParam=function(){var t=0;return(t=e._authConfig.authType===Ls?8|t:16|t)|(n?n():0)}}},t.prototype._receiveMessage=function(e,t){var n=At();if(n){var r=n.createElement("a");r.href=t;var o=r.protocol+"//"+r.hostname;if((e.origin===o||"https://login.microsoftonline.com"===e.origin)&&e.data)try{this._completeAuthHandshake()}catch(i){this.diagLog().throwInternal(Je.CRITICAL,mt.AuthRedirectFail,"Error receiving auth redirect message: "+i)}}},t.prototype._completeAuthHandshake=function(){this._authHandhshakeTimeout&&clearTimeout(this._authHandhshakeTimeout),this._authHandler&&this._authHandler.cleanAuthIFrame(),this._handshakeInProgress=!1,this._releaseEventQueue()},t.prototype._releaseEventQueue=function(){Le(this._eventQueue,(function(e){e.ctx.processNext(e.item)})),this._eventQueue=[]},t}(an),Vs=function(){},js=function(){function e(e,t){this._base="",this._currentElement=0,this._base64CharSet="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",this._cv1Constants=new Vs,this._cv2Constants=new Vs,this._cvVersionAtLatestValidityCheck=2,this._traceLogger=Zt(t),this._cv1Constants.maxCorrelationVectorLength=63,this._cv1Constants.baseLength=16,this._cv1Constants.validationPattern=new RegExp("^["+this._base64CharSet+"]{"+this._cv1Constants.baseLength.toString()+"}(.[0-9]+)*$"),this._cv2Constants.maxCorrelationVectorLength=127,this._cv2Constants.baseLength=22,this._cv2Constants.validationPattern=new RegExp("^["+this._base64CharSet+"]{"+this._cv2Constants.baseLength.toString()+"}(.[0-9]+)*$"),this._currentCvConstants=this._cv2Constants,this.init(e)}return e.prototype.isInit=function(){return this.isValid(this.storedCv())},e.prototype.storedCv=function(){return this._base.concat(".",this._currentElement.toString())},e.prototype.getValue=function(){var e=this.storedCv();if(this.isValid(e))return e},e.prototype.getRelatedCv=function(){return this._relatedCv},e.prototype.incrementExternal=function(e){if(this.isValid(e)){var t=e.split("."),n=t.length;t[n-1]=(parseInt(t[n-1],10)+1).toString();for(var r="",o=0;o<n;o++)r+=t[o],o<n-1&&(r+=".");var i=t[0].length===this._cv2Constants.baseLength?this._cv2Constants.maxCorrelationVectorLength:this._cv1Constants.maxCorrelationVectorLength;if(r.length<=i)return r}},e.prototype.canExtend=function(){var e=this.storedCv();return!!this.isValid(e)&&this._isLeqThanMaxCorrelationVectorLength(e.length+2)},e.prototype.canIncrement=function(){return!!this.isValid(this.storedCv())&&this._isLeqThanMaxCorrelationVectorLength(this._base.length+1+(this._currentElement+1+"").length)},e.prototype.setValue=function(e){if(this.isValid(e)){var t=e.lastIndexOf(".");return t>1?(this._base=e.substr(0,t),this._currentElement=parseInt(e.substr(t+1),10)):(this._base=e,this._currentElement=0),!0}return this._traceLogger.throwInternal(Je.WARNING,mt.InvalidCorrelationValue,"Cannot set invalid correlation vector value"),!1},e.prototype.setValueLegacy=function(e){return this.setValue(e),this.getValue()},e.prototype.seed=function(){for(var e="",t=0;t<this._currentCvConstants.baseLength;t++)e+=this._base64CharSet.charAt(Math.floor(Math.random()*this._base64CharSet.length));return e},e.prototype.extend=function(){if(this.canExtend())return this._base=this._base.concat(".",this._currentElement.toString()),this._currentElement=0,this.storedCv()},e.prototype.increment=function(){if(this.canIncrement())return this._currentElement=this._currentElement+1,this.storedCv()},e.prototype.validateWithCv1=function(e){if(this._cv1Constants.validationPattern.test(e)&&e.length<=this._cv1Constants.maxCorrelationVectorLength)return!0},e.prototype.validateWithCv2=function(e){if(this._cv2Constants.validationPattern.test(e)&&e.length<=this._cv2Constants.maxCorrelationVectorLength)return!0},e.prototype.useCv1=function(){this._currentCvConstants=this._cv1Constants},e.prototype.useCv2=function(){this._currentCvConstants=this._cv2Constants},e.prototype.isValid=function(e){if(e){var t=e.split(".")[0];if(t){if(16===t.length)return this._cvVersionAtLatestValidityCheck=1,this.validateWithCv1(e);if(22===t.length)return this._cvVersionAtLatestValidityCheck=2,this.validateWithCv2(e)}}},e.prototype.init=function(e){return e?this.setValue(e):(this._base=this.seed(),this._currentElement=0),this.getValue()},e.prototype.initLegacy=function(e){return this.init(e)},e.prototype._isLeqThanMaxCorrelationVectorLength=function(e){return 1===this._cvVersionAtLatestValidityCheck?e<=this._cv1Constants.maxCorrelationVectorLength:e<=this._cv2Constants.maxCorrelationVectorLength},e}(),qs=function(e){function t(t){var n=e.call(this)||this;return n.identifier="CorrelationVectorPlugin",n.priority=159,n.version="3.1.10",n._cvInitialValue=t,n._cv=n._cvInitialValue?new js(n._cvInitialValue):new js,n}return V(t,e),t.prototype.initialize=function(t,n,r){e.prototype.initialize.call(this,t,n,r)},t.prototype.processTelemetry=function(e,t){Ir(e,this.identifier),e.ext=e.ext||{},e.ext.mscv=e.ext.mscv||{},e.ext.mscv.cV||this._cv&&this._cv.isInit()&&(e.ext.mscv.cV=this._cv.getValue()),this.processNext(e,t)},t.prototype.getCv=function(){return this._cv||this.diagLog().throwInternal(Je.WARNING,mt.FailedToInitializeCorrelationVector,"Correlation Vector has not been initialized."),this._cv},t}(an),Ws=qs,Gs=function(){function e(){}return e.prototype._setCommonProperties=function(e,t){gr(t.cV)&&(e.ext=e.ext||{},e.ext.mscv=e.ext.mscv||{},e.ext.mscv.cV=t.cV),e.baseData.operationName=t.operationName,e.baseData.latencyMs=t.latencyMs,e.baseData.serviceErrorCode=t.serviceErrorCode||-1,e.baseData.succeeded=t.succeeded,e.baseData.requestStatus=t.requestStatus,e.baseData.requestMethod=t.requestMethod,gr(t.target)&&(e.baseData.target=t.target),gr(t.responseContentType)&&(e.baseData.responseContentType=t.responseContentType),gr(t.protocol)&&(e.baseData.protocol=t.protocol),gr(t.protocolStatusCode)&&(e.baseData.protocolStatusCode=t.protocolStatusCode)},e}(),Ks=function(){function e(){this._qosEvent=new Gs}return e.prototype._setQosProperties=function(e,t){this._qosEvent._setCommonProperties(e,t),e.baseData.dependencyOperationName=t.dependencyOperationName,e.baseData.dependencyName=t.dependencyName,e.baseData.dependencyType=t.dependencyType||"WebService",gr(t.dependencyOperationVersion)&&(e.baseData.dependencyOperationVersion=t.dependencyOperationVersion),gr(t.responseSizeBytes)&&(e.baseData.responseSizeBytes=t.responseSizeBytes)},e}(),Ys=function(){function e(){this._qosEvent=new Gs}return e.prototype._setQosProperties=function(e,t){this._qosEvent._setCommonProperties(e,t),gr(t.callerIpAddress)&&(e.baseData.callerIpAddress=t.callerIpAddress),gr(t.callerName)&&(e.baseData.callerName=t.callerName),gr(t.requestSizeBytes)&&(e.baseData.requestSizeBytes=t.requestSizeBytes),gr(t.operationVersion)&&(e.baseData.operationVersion=t.operationVersion)},e}();function Qs(e){xe(e,(function(t,n){(!gr(n)||"{}"===JSON.stringify(n)&&"callback"!==t)&&delete e[t]}))}function Xs(e,t,n){var r=function(e,t){var n;e&&e[t]&&(n=e[t],delete e[t]);return n}(e,n);return t[n]?t[n]:r}function Js(e,t){var n,r={},o=At();if(o){n=o.querySelectorAll("meta");for(var i=0;i<n.length;i++){var a=n[i];if(a.name)if(0===a.name.toLowerCase().indexOf(e))r[t?a.name.replace(e,""):a.name]=a.content}}return r}var $s=["req","rsp","hkErr","fnErr"];function Zs(e,t){if(e)for(var n=0;n<e.length&&!t(e[n],n);n++);}function ec(e,t,n,r,o){o>=0&&o<=2&&Zs(e,(function(e,i){var a=e.cbks,s=a[$s[o]];if(s){t.ctx=function(){return r[i]=r[i]||{}};try{s.apply(t.inst,n)}catch(u){var c=t.err;try{var l=a[$s[2]];l&&(t.err=u,l.apply(t.inst,n))}catch(d){}finally{t.err=c}}}}))}var tc=Object.getPrototypeOf;function nc(e,t,n){var r=null;return e&&(_e(e,t)?r=e:n&&(r=nc(function(e){if(e){if(tc)return tc(e);var t=e.__proto__||e.prototype||e.constructor;if(t)return t}return null}(e),t,!1))),r}function rc(e,t,n,r){if(void 0===r&&(r=!0),e&&t&&n){var o=nc(e,t,r);if(o){var i=o[t];if(typeof i===T){var a=i._aiHooks;if(!a){var s=(l=a={i:0,n:t,f:i,h:[]},function(){var e=this,t=arguments,n=l.h,r={name:l.n,inst:e,ctx:null,set:s},o=[],i=a([r],t);function a(e,t){return Zs(t,(function(t){e.push(t)})),e}function s(e,n){(t=a([],t))[e]=n,i=a([r],t)}ec(n,r,i,o,0);var c=l.f;try{r.rslt=c.apply(e,t)}catch(u){throw r.err=u,ec(n,r,i,o,3),u}return ec(n,r,i,o,1),r.rslt});s._aiHooks=a,o[t]=s}var c={id:a.i,cbks:n,rm:function(){var e=this.id;Zs(a.h,(function(t,n){if(t.id===e)return a.h.splice(n,1),1}))}};return a.i++,a.h.push(c),c}}}var l;return null}function oc(e,t,n){var r=0,o=e[t],i=e[n];return o&&i&&(r=Na(o,i)),r}function ic(e,t,n,r,o){var i=0,a=oc(n,r,o);return a&&(i=ac(e,t,Vi(a))),i}function ac(e,t,n){var r=0;e&&t&&n&&((e.ajaxPerf=e.ajaxPerf||{})[t]=n,r=1);return r}var sc=function(){var e=this;e.openDone=!1,e.setRequestHeaderDone=!1,e.sendDone=!1,e.abortDone=!1,e.stateChangeAttached=!1},cc=function e(t,n,r){var o=this,i=r;o.perfMark=null,o.completed=!1,o.requestHeadersSize=null,o.requestHeaders=null,o.responseReceivingDuration=null,o.callbackDuration=null,o.ajaxTotalDuration=null,o.aborted=0,o.pageUrl=null,o.requestUrl=null,o.requestSize=0,o.method=null,o.status=null,o.requestSentTime=null,o.responseStartedTime=null,o.responseFinishedTime=null,o.callbackFinishedTime=null,o.endTime=null,o.xhrMonitoringState=new sc,o.clientFailure=0,o.traceID=t,o.spanID=n,he(e,o,(function(e){e.getAbsoluteUrl=function(){return e.requestUrl?ka(e.requestUrl):null},e.getPathName=function(){return e.requestUrl?wi(i,Ta(e.method,e.requestUrl)):null},e.CreateTrackItem=function(t,n,r){var o;if(e.ajaxTotalDuration=Math.round(1e3*Na(e.requestSentTime,e.responseFinishedTime))/1e3,e.ajaxTotalDuration<0)return null;var i=((o={id:"|"+e.traceID+"."+e.spanID,target:e.getAbsoluteUrl(),name:e.getPathName(),type:t,startTime:null,duration:e.ajaxTotalDuration,success:+e.status>=200&&+e.status<400,responseCode:+e.status,method:e.method}).properties={HttpMethod:e.method},o);if(e.requestSentTime&&(i.startTime=new Date,i.startTime.setTime(e.requestSentTime)),function(e,t){var n=e.perfTiming,r=t.properties||{},o=0,i="name",a="domainLookup",s="connect",c="redirect",l="request",u="response",d="duration",p="startTime",h="connectEnd",f="requestStart",m="responseEnd",g=c+"Start",v=c="End",y="transferSize",b="encodedBodySize",_="decodedBodySize",C="serverTiming";if(n){o|=ic(r,c,n,g,v),o|=ic(r,a,n,"domainLookupStart","domainLookupEnd"),o|=ic(r,s,n,"connectStart",h),o|=ic(r,l,n,f,"requestEnd"),o|=ic(r,u,n,"responseStart",m),o|=ic(r,"networkConnect",n,p,h),o|=ic(r,"sentRequest",n,f,m);var w=n.duration;w||(w=oc(n,p,m)||0),o|=ac(r,d,w),o|=ac(r,"perfTotal",w);var E=n.serverTiming;if(E){var x={};Le(E,(function(e,t){var n=function(e){var t=e,n=/([^\w\d_$])/g;return n.test(e)&&(t=e.replace(n,"_")),t}(e.name||""+t),r=x[n]||{};xe(e,(function(e,t){(e!==i&&De(t)||Re(t))&&(r[e]&&(t=r[e]+";"+t),!t&&De(t)||(r[e]=t))})),x[n]=r})),o|=ac(r,C,x)}o|=ac(r,y,n.transferSize),o|=ac(r,b,n.encodedBodySize),o|=ac(r,_,n.decodedBodySize)}else e.perfMark&&(o|=ac(r,"missing",e.perfAttempts));o&&(t.properties=r)}(e,i),n&&Ue(e.requestHeaders).length>0&&(i.properties=i.properties||{},i.properties.requestHeaders=e.requestHeaders),r){var a=r();if(a){var s=a.correlationContext;if(s&&(i.correlationContext=s),a.headerMap&&Ue(a.headerMap).length>0&&(i.properties=i.properties||{},i.properties.responseHeaders=a.headerMap),e.errorStatusText&&e.status>=400){var c=a.type;i.properties=i.properties||{},""!==c&&"text"!==c||(i.properties.responseText=a.responseText?a.statusText+" - "+a.responseText:a.statusText),"json"===c&&(i.properties.responseText=a.response?a.statusText+" - "+JSON.stringify(a.response):a.statusText)}}}return i}}))},lc=function(){function e(t,n){var r=this;r.traceFlag=e.DEFAULT_TRACE_FLAG,r.version=e.DEFAULT_VERSION,t&&e.isValidTraceId(t)?r.traceId=t:r.traceId=cr(),n&&e.isValidSpanId(n)?r.spanId=n:r.spanId=cr().substr(0,16)}return e.isValidTraceId=function(e){return e.match(/^[0-9a-f]{32}$/)&&"00000000000000000000000000000000"!==e},e.isValidSpanId=function(e){return e.match(/^[0-9a-f]{16}$/)&&"0000000000000000"!==e},e.prototype.toString=function(){var e=this;return"".concat(e.version,"-").concat(e.traceId,"-").concat(e.spanId,"-").concat(e.traceFlag)},e.DEFAULT_TRACE_FLAG="01",e.DEFAULT_VERSION="00",e}(),uc="ai.ajxmn.",dc="fetch",pc=0;function hc(e){var t="";try{ye(e)||ye(e.ajaxData)||ye(e.ajaxData.requestUrl)||(t+="(url: '"+e.ajaxData.requestUrl+"')")}catch(n){}return t}function fc(e,t,n,r,o){e.diagLog().throwInternal(Je.CRITICAL,t,n,r,o)}function mc(e,t,n,r,o){e.diagLog().throwInternal(Je.WARNING,t,n,r,o)}function gc(e,t,n){return function(r){fc(e,t,n,{ajaxDiagnosticsMessage:hc(r.inst),exception:zt(r.err)})}}function vc(e,t){return e&&t?e.indexOf(t):-1}var yc,bc=function(e){function t(){var n=e.call(this)||this;n.identifier=t.identifier,n.priority=120;var r,o,i,a,s,c,l=Mt(),u=!1,d=!1,p=l&&l.host&&l.host.toLowerCase(),h=t.getEmptyConfig(),f=!1,m=!1,g=0,v=!1,y=0,b=!1,_=[],C={};return he(t,n,(function(e,n){function l(e){var t=!0;return(e||h.ignoreHeaders)&&Le(h.ignoreHeaders,(function(n){if(n.toLowerCase()===e.toLowerCase())return t=!1,-1})),t}function w(e,t,n){_.push(function(e,t,n){return e?rc(e.prototype,t,n,!1):null}(e,t,n))}function E(e,t,n){var r=!1,o=((De(t)?t:(t||{}).url||"")||"").toLowerCase();if(Le(s,(function(e){var t=e;De(e)&&(t=new RegExp(e)),r||(r=t.test(o))})),r)return r;var i=vc(o,"?"),a=vc(o,"#");return(-1===i||-1!==a&&a<i)&&(i=a),-1!==i&&(o=o.substring(0,i)),ye(e)?ye(t)||(r="object"===typeof t&&!0===t[Di]||!!n&&!0===n[Di]):r=!0===e[Di]||!0===o[Di],!r&&o&&Da(o)&&(r=!0),r?C[o]||(C[o]=1):C[o]&&(r=!0),r}function x(e,t){var n=!0,r=d;return ye(e)||(n=!0===t||!ye(e.ajaxData)),r&&n}function S(e){try{var t=e.responseType;if(""===t||"text"===t)return e.responseText}catch(n){}return null}function k(t){try{var n=t.getAllResponseHeaders();if(null!==n)if(-1!==vc(n.toLowerCase(),Ca)){var r=t.getResponseHeader(ga);return Ra.getCorrelationContext(r)}}catch(o){mc(e,rt.FailedMonitorAjaxGetCorrelationHeader,"Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",{ajaxDiagnosticsMessage:hc(t),exception:zt(o)})}}function T(e,t){if(t.requestUrl&&a&&v){var n=Nt();if(n&&we(n.mark)){pc++;var r=a+e+"#"+pc;n.mark(r);var o=n.getEntriesByName(r);o&&1===o.length&&(t.perfMark=o[0])}}}function I(e,t,n,r){var o=t.perfMark,i=Nt(),a=h.maxAjaxPerfLookupAttempts,s=h.ajaxPerfLookupDelay,c=t.requestUrl,l=0;!function u(){try{if(i&&o){l++;for(var d=null,p=i.getEntries(),h=p.length-1;h>=0;h--){var f=p[h];if(f){if("resource"===f.entryType)f.initiatorType!==e||-1===vc(f.name,c)&&-1===vc(c,f.name)||(d=f);else if("mark"===f.entryType&&f.name===o.name){t.perfTiming=d;break}if(f.startTime<o.startTime-1e3)break}}}!o||t.perfTiming||l>=a||!1===t.async?(o&&we(i.clearMarks)&&i.clearMarks(o.name),t.perfAttempts=l,n()):setTimeout(u,s)}catch(m){r(m)}}()}function A(t){var n="";try{ye(t)||(n+="(url: '".concat("string"===typeof t?t:t.url,"')"))}catch(r){fc(e,rt.FailedMonitorAjaxOpen,"Failed to grab failed fetch diagnostics message",{exception:zt(r)})}return n}function P(t,n,r,o,i,a,s){function l(t,n,o){var i=o||{};i.fetchDiagnosticsMessage=A(r),n&&(i.exception=zt(n)),mc(e,t,"Failed to calculate the duration of the fetch call, monitoring data for this fetch call won't be sent.",i)}i&&(i.responseFinishedTime=Ma(),i.status=n,I("fetch",i,(function(){var t,s=i.CreateTrackItem("Fetch",f,a);try{c&&(t=c({status:n,request:r,response:o}))}catch(u){mc(e,rt.FailedAddingCustomDefinedRequestContext,"Failed to add custom defined request context as configured call back may missing a null check.")}s?(void 0!==t&&(s.properties=z(z({},s.properties),t)),e.trackDependencyDataInternal(s)):l(rt.FailedMonitorAjaxDur,null,{requestSentTime:i.requestSentTime,responseFinishedTime:i.responseFinishedTime})}),(function(e){l(rt.FailedMonitorAjaxGetCorrelationHeader,e,null)})))}function D(t){if(t&&t.headers)try{var n=t.headers.get(ga);return Ra.getCorrelationContext(n)}catch(r){mc(e,rt.FailedMonitorAjaxGetCorrelationHeader,"Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",{fetchDiagnosticsMessage:A(t),exception:zt(r)})}}e.initialize=function(p,g,C,A){if(!e.isInitialized()){n.initialize(p,g,C,A);var R=e._getTelCtx();xe(t.getDefaultConfig(),(function(e,n){h[e]=R.getConfig(t.identifier,e,n)}));var M=h.distributedTracingMode;if(f=h.enableRequestHeaderTracking,m=h.enableAjaxErrorStatusText,v=h.enableAjaxPerfTracking,y=h.maxAjaxCallsPerView,b=h.enableResponseHeaderTracking,s=h.excludeRequestFromAutoTrackingPatterns,c=h.addRequestContext,i=M===ra.AI||M===ra.AI_AND_W3C,o=M===ra.AI_AND_W3C||M===ra.W3C,v){var N=p.instrumentationKey||"unkwn";a=N.length>5?uc+N.substring(N.length-5)+".":uc+N+"."}if(!1===h.disableAjaxTracking&&function(e){var t=!1;if(qt()){var n=XMLHttpRequest.prototype;t=!ye(n)&&!ye(n.open)&&!ye(n.send)&&!ye(n.abort)}var r=Ht();if(r&&r<9&&(t=!1),t)try{(new XMLHttpRequest).ajaxData={};var o=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=o}catch(i){t=!1,fc(e,rt.FailedMonitorAjaxOpen,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:zt(i)})}return t}(e)&&!d&&(w(XMLHttpRequest,"open",{req:function(t,n,o,i){var a=t.inst,s=a.ajaxData;!E(a,o)&&x(a,!0)&&(s&&s.xhrMonitoringState.openDone||function(t,n,o,i){var a=r&&r.telemetryTrace&&r.telemetryTrace.traceID||cr(),s=cr().substr(0,16),c=new cc(a,s,e.diagLog());c.method=n,c.requestUrl=o,c.xhrMonitoringState.openDone=!0,c.requestHeaders={},c.async=i,c.errorStatusText=m,t.ajaxData=c}(a,n,o,i),function(t){t.ajaxData.xhrMonitoringState.stateChangeAttached=Ee(t,"readystatechange",(function(){try{t&&4===t.readyState&&x(t)&&function(t){var n=t.ajaxData;function r(n,r){var o=r||{};o.ajaxDiagnosticsMessage=hc(t),n&&(o.exception=zt(n)),mc(e,rt.FailedMonitorAjaxDur,"Failed to calculate the duration of the ajax call, monitoring data for this ajax call won't be sent.",o)}n.responseFinishedTime=Ma(),n.status=t.status,I("xmlhttprequest",n,(function(){try{var o=n.CreateTrackItem("Ajax",f,(function(){var e={statusText:t.statusText,headerMap:null,correlationContext:k(t),type:t.responseType,responseText:S(t),response:t.response};if(b){var n=t.getAllResponseHeaders();if(n){var r=Be(n).split(/[\r\n]+/),o={};Le(r,(function(e){var t=e.split(": "),n=t.shift(),r=t.join(": ");l(n)&&(o[n]=r)})),e.headerMap=o}}return e})),i=void 0;try{c&&(i=c({status:t.status,xhr:t}))}catch(a){mc(e,rt.FailedAddingCustomDefinedRequestContext,"Failed to add custom defined request context as configured call back may missing a null check.")}o?(void 0!==i&&(o.properties=z(z({},o.properties),i)),e.trackDependencyDataInternal(o)):r(null,{requestSentTime:n.requestSentTime,responseFinishedTime:n.responseFinishedTime})}finally{try{t.ajaxData=null}catch(a){}}}),(function(e){r(e,null)}))}(t)}catch(r){var n=zt(r);n&&-1!==vc(n.toLowerCase(),"c00c023f")||fc(e,rt.FailedMonitorAjaxRSC,"Failed to monitor XMLHttpRequest 'readystatechange' event handler, monitoring data for this ajax call may be incorrect.",{ajaxDiagnosticsMessage:hc(t),exception:n})}}))}(a))},hkErr:gc(e,rt.FailedMonitorAjaxOpen,"Failed to monitor XMLHttpRequest.open, monitoring data for this ajax call may be incorrect.")}),w(XMLHttpRequest,"send",{req:function(t,n){var r=t.inst,o=r.ajaxData;x(r)&&!o.xhrMonitoringState.sendDone&&(T("xhr",o),o.requestSentTime=Ma(),e.includeCorrelationHeaders(o,void 0,void 0,r),o.xhrMonitoringState.sendDone=!0)},hkErr:gc(e,rt.FailedMonitorAjaxSend,"Failed to monitor XMLHttpRequest, monitoring data for this ajax call may be incorrect.")}),w(XMLHttpRequest,"abort",{req:function(e){var t=e.inst,n=t.ajaxData;x(t)&&!n.xhrMonitoringState.abortDone&&(n.aborted=1,n.xhrMonitoringState.abortDone=!0)},hkErr:gc(e,rt.FailedMonitorAjaxAbort,"Failed to monitor XMLHttpRequest.abort, monitoring data for this ajax call may be incorrect.")}),f&&w(XMLHttpRequest,"setRequestHeader",{req:function(e,t,n){var r=e.inst;x(r)&&l(t)&&(r.ajaxData.requestHeaders[t]=n)},hkErr:gc(e,rt.FailedMonitorAjaxSetRequestHeader,"Failed to monitor XMLHttpRequest.setRequestHeader, monitoring data for this ajax call may be incorrect.")}),d=!0),function(){var t=function(){var e=F();return!e||ye(e.Request)||ye(e.Request.prototype)||ye(e.fetch)?null:e.fetch}();if(!t)return;var n=F(),o=t.polyfill;!1===h.disableFetchTracking?(_.push(rc(n,dc,{req:function(t,n,i){var a;if(u&&!E(null,n,i)&&(!o||!d)){var s=t.ctx();a=function(t,n){var o=r&&r.telemetryTrace&&r.telemetryTrace.traceID||cr(),i=cr().substr(0,16),a=new cc(o,i,e.diagLog());a.requestSentTime=Ma(),a.errorStatusText=m,t instanceof Request?a.requestUrl=t?t.url:"":a.requestUrl=t;var s="GET";n&&n.method?s=n.method:t&&t instanceof Request&&(s=t.method);a.method=s;var c={};if(f){new Headers((n?n.headers:0)||t instanceof Request&&t.headers||{}).forEach((function(e,t){l(t)&&(c[t]=e)}))}return a.requestHeaders=c,T("fetch",a),a}(n,i);var c=e.includeCorrelationHeaders(a,n,i);c!==i&&t.set(1,c),s.data=a}},rsp:function(e,t){var n=e.ctx().data;n&&(e.rslt=e.rslt.then((function(r){return P(e,(r||{}).status,t,r,n,(function(){var e={statusText:r.statusText,headerMap:null,correlationContext:D(r)};if(b){var t={};r.headers.forEach((function(e,n){l(n)&&(t[n]=e)})),e.headerMap=t}return e})),r})).catch((function(r){throw P(e,0,t,null,n,null,{error:r.message}),r})))},hkErr:gc(e,rt.FailedMonitorAjaxOpen,"Failed to monitor Window.fetch, monitoring data for this fetch call may be incorrect.")})),u=!0):o&&_.push(rc(n,dc,{req:function(e,t,n){E(null,t,n)}}));o&&(n.fetch.polyfill=o)}(),C.length>0&&C){for(var L=void 0,O=0;!L&&O<C.length;)C[O]&&C[O].identifier===yi&&(L=C[O]),O++;L&&(r=L.context)}}},e.teardown=function(){Le(_,(function(e){e.rm()})),_=[],u=!1,d=!1,e.setInitialized(!1)},e.trackDependencyData=function(t,n){e.trackDependencyDataInternal(t,n)},e.includeCorrelationHeaders=function(t,n,a,s){var c=e._currentWindowHost||p;if(n){if(Ra.canIncludeCorrelationHeader(h,t.getAbsoluteUrl(),c)){if(a||(a={}),a.headers=new Headers(a.headers||n instanceof Request&&n.headers||{}),i){var l="|"+t.traceID+"."+t.spanID;a.headers.set(ba,l),f&&(t.requestHeaders[ba]=l)}if((d=h.appId||r&&r.appId())&&(a.headers.set(ga,ya+d),f&&(t.requestHeaders[ga]=ya+d)),o){var u=new lc(t.traceID,t.spanID);a.headers.set(_a,u.toString()),f&&(t.requestHeaders[_a]=u.toString())}}return a}if(s){if(Ra.canIncludeCorrelationHeader(h,t.getAbsoluteUrl(),c)){if(i){l="|"+t.traceID+"."+t.spanID;s.setRequestHeader(ba,l),f&&(t.requestHeaders[ba]=l)}var d;if((d=h.appId||r&&r.appId())&&(s.setRequestHeader(ga,ya+d),f&&(t.requestHeaders[ga]=ya+d)),o){u=new lc(t.traceID,t.spanID);s.setRequestHeader(_a,u.toString()),f&&(t.requestHeaders[_a]=u.toString())}}return s}},e.trackDependencyDataInternal=function(t,n,r){if(-1===y||g<y){h.distributedTracingMode!==ra.W3C&&h.distributedTracingMode!==ra.AI_AND_W3C||"string"!==typeof t.id||"."===t.id[t.id.length-1]||(t.id+="."),ye(t.startTime)&&(t.startTime=new Date);var o=Mi.create(t,La.dataType,La.envelopeType,e.diagLog(),n,r);e.core.track(o)}else g===y&&fc(e,rt.MaxAjaxPerPVExceeded,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0);++g}})),n}return V(t,e),t.getDefaultConfig=function(){return{maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!0,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:ra.AI_AND_W3C,correlationHeaderExcludedDomains:["*.blob.core.windows.net","*.blob.core.chinacloudapi.cn","*.blob.core.cloudapi.de","*.blob.core.usgovcloudapi.net"],correlationHeaderDomains:void 0,correlationHeaderExcludePatterns:void 0,appId:void 0,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25,ignoreHeaders:["Authorization","X-API-Key","WWW-Authenticate"],addRequestContext:void 0}},t.getEmptyConfig=function(){var e=this.getDefaultConfig();return xe(e,(function(t){e[t]=void 0})),e},t.prototype.processTelemetry=function(e,t){this.processNext(e,t)},t.identifier="AjaxDependencyPlugin",t}(an),_c=function(){function e(){this.lastPageViewId=Er(),this.traceId=this.createTraceId()}return e.prototype.createTraceId=function(){return Er().replace(/-/g,"")},e.prototype.getTraceId=function(){return this.traceId},e.prototype.getLastPageViewId=function(){return this.lastPageViewId},e}(),Cc=_c,wc="MS-CV",Ec=function(e){function t(){var n,r,o,i=e.call(this)||this;i.identifier="QosPlugin",i.version="3.1.10";var a={market:"",serverImpressionGuid:""},s={};return r=new Ks,o=new Ys,he(t,i,(function(e,t){function i(e){var t={enableCorsCorrelation:!1,correlationHeaderExcludedDomains:[],correlationHeaderExcludePatterns:null,disableCorrelationHeaders:!1,maxAjaxCallsPerView:-1,disableAjaxTracking:!1,disableFetchTracking:!1,enableCvHeaders:!1,appId:void 0,callback:{pageName:null,id:null},autoCapture:{msTags:!0},coreData:{requestUri:"",pageName:""}},n=[];return xe(t,(function(e,t){t&&Ce(t)&&n.push(e)})),function(e,t){Qs(e),Le(t,(function(t){Ce(e[t])?Qs(e[t]):delete e[t]}))}(e,n),xr(!0,t,e)}function c(t,n){l(t,n),e.core.track(t)}function l(e,t){gr(t)&&xe(t,(function(t,n){e.data[t]=n}))}e.includeCorrelationHeaders=function(n,r,o,i){var a=t.includeCorrelationHeaders(n,r,o,i);if(s.enableCvHeaders){var c=e.getCv();if(c&&(r||i)){c.increment();var l=c.getValue();r?(a||(a=o||{}),a.headers&&we(a.headers.append)||(a.headers=new Headers(a.headers||r instanceof Request&&r.headers||{})),a.headers.append(wc,l)):a.setRequestHeader(wc,l)}}return a},e.initialize=function(r,o,c){var l=r.extensionConfig=r.extensionConfig||[];l[e.identifier]=l[e.identifier]||{},ve((s=e._qosConfig=i(l[e.identifier])).distributedTracingMode)&&(s.distributedTracingMode=0),l[bc.identifier]=s,t.initialize(r,o,c);var u=function(e){var t,n={};return t=Js("awa-",!0),e.autoCapture&&e.autoCapture.msTags&&(n=Js("ms.",!1)),xr(!0,t,n)}(e._qosConfig);a.market=Xs(u,s.coreData,"market"),a.serverImpressionGuid=Xs(u,s.coreData,"serverImpressionGuid");for(var d=null,p=null,h=0;h<c.length;h++)"CorrelationVectorPlugin"===c[h].identifier?d=c[h]:"WebAnalyticsPlugin"===c[h].identifier&&(p=c[h]);p&&p.id?e.id=p.id:e.id=new Cc,s.enableCvHeaders&&(d?(s.enableCvHeaders=!0,n=d):(e.diagLog().throwInternal(Je.WARNING,mt.CVPluginNotAvailable,'Enable cV headers it is set to "true" in config.  However, cv plugin is not available. Disabling adding Cv in dependency requests '),s.enableCvHeaders=!1))},e.processTelemetry=function(t,n){Ir(t,e.identifier);var r=t;if(r.baseType===La.dataType)"Ms.Qos.OutgoingServiceRequest"!==r.name&&(r.name="Ms.Web.OutgoingRequest",r.baseData=r.baseData||{},r.baseData.properties=r.baseData.properties||{},r.baseData.properties.parentId=r.baseData.properties.parentId||e.id.getLastPageViewId(),delete r.baseData.method),r.latency=st;e.processNext(r,n)},e.trackDependencyData=function(t,n){e.trackDependencyDataInternal(t,n)},e.trackDependencyDataInternal=function(n,r,o){var i=o||{};gr(n.cV)&&(i.mscv={},i.mscv.cV=n.cV),n.id=s.callback&&s.callback.id?s.callback.id():Er(),(r=r||{}).pageName=gr(r.pageName)?r.pageName:function(e){if(e.callback&&"function"===typeof e.callback.pageName)return e.callback.pageName();if(e.coreData.pageName)return e.coreData.pageName;var t=(Mt()||{}).pathname||"",n=t.split("/");return n.length>2&&""!==n[2]?n[2]:"Home"}(e._qosConfig),r.uri=gr(r.uri)?r.uri:function(e){var t=Mt()||{};return e.coreData.requestUri?e.coreData.requestUri:t.href}(e._qosConfig),r.market=gr(r.market)?r.market:a.market,r.serverImpressionGuid=gr(r.serverImpressionGuid)?r.serverImpressionGuid:a.serverImpressionGuid,t.trackDependencyDataInternal(n,r,i)},e.trackServiceOutgoingQos=function(e,t){var n={name:"Ms.Qos.OutgoingServiceRequest",baseType:"RemoteDependencyData",ext:{},baseData:{},data:{},latency:lt};r._setQosProperties(n,e),l(n,t),c(n)},e.trackServiceIncomingQos=function(e,t){var n={name:"Ms.Qos.IncomingServiceRequest",baseType:"RequestData",ext:{},baseData:{},data:{},latency:lt};o._setQosProperties(n,e),l(n,t),c(n)},e.getCv=function(){return n?n.getCv():null}})),i}return V(t,e),t}(bc),xc=Ec,Sc=function(e){var t={referrerUri:Vc.dom.getReferrer()};zc.capturePageView(t)},kc=function(e){if(Vc.allowClickTracking){var t={content:{id:e.clickId,aN:e.pageArea,cN:e.clickId,cS:e.containerGroup||e.container||e.clickId},isAuto:!1,targetUri:e.targetUri&&Vc.urlScrubber(e.targetUri)||Vc.dom.getLocationHref(),pageName:Vc.dom.getPageId(),refUri:Vc.dom.getReferrer(),actionType:ts};zc.capturePageAction(Vc.dummyElement,t)}},Tc={reportPageView:Sc,reportClick:kc,reportPartialView:function(e){var t={behavior:ms.IMPRESSION,pageName:e.viewId},n={pageLoadTime:e.pltMsec};zc.captureContentUpdate(t,n)},$notifyPageLoaded:function(){}},Ic=function(t){var n={errorInfo:(0,e.__assign)({Page:t.location,PageName:t.pageId,Script:t.script,Message:t.message,LineNumber:t.lineNumber,UserAgent:t.userAgent,flights:Vc.flights},t.ext),wasDisplayed:!1,uri:Vc.dom.getLocationHref(),pageName:t.pageId,market:Vc.market};zc.trackException({},n)},Ac=function(t){var n=t.content,r=n.baseData,o=(0,e.__rest)(n,["baseData"]),i={name:t.name,baseType:t.baseType,data:o,baseData:r};zc.trackEvent(i)},Pc=function(e){var t={latencyMs:e.latencyMs,requestMethod:e.httpMethod,succeeded:e.isSuccess,serviceErrorCode:e.serviceErrorCode,responseContentType:e.contentType,operationName:e.currentOperationName||e.operationName,responseSizeBytes:e.responseSize,protocolStatusCode:e.httpStatusCode,target:Vc.urlScrubber(e.requestUri),dependencyName:e.serviceName,dependencyOperationName:e.operationName,dependencyOperationVersion:e.operationVersion},n={errorMessage:e.errorMessage,customData:e._optionalData&&JSON.stringify(e._optionalData)||e.customData,pageName:Vc.dom.getPageId(),uri:Vc.dom.getLocationHref(),market:Vc.market,cV:e.cV};Uc.trackServiceOutgoingQos(t,n)},Dc={reportClientError:function(e){var t=e&&e.data&&JSON.stringify(e.data),n={location:Vc.dom.getLocationHref(),pageId:Vc.dom.getPageId(),script:Vc.dom.getLocationHref(),message:e&&e.message||t||"unknown",userAgent:window.navigator.userAgent||""};Ic(n)},reportFatalError:Ic,reportRawEvent:Ac,reportOutgoingApi:Pc},Rc="awa-",Mc=function(){for(var e=document.getElementsByTagName("meta"),t={},n=0;n<e.length;n++){var r=e[n].name,o=e[n].content;if(r&&0===r.indexOf(Rc))t[r.replace(Rc,"")]=o}return t},Nc=function(e){var t={name:i,baseType:"Ms.Content.PageView",baseData:{pageTags:{flight:e,metaTags:Mc()}}};zc.trackEvent(t)},Lc={reportExperimentTrigger:Nc,setExperimentData:function(){}},Oc=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.clickCaptureInputTypes={BUTTON:!0,CHECKBOX:!0,RADIO:!0,RESET:!0,SUBMIT:!0},e.KeyCodes={GamePadA:195,GamePadMenu:207},e.ActionTypes={GamePadA:"CGA",GamePadMenu:"CGM"},e}return(0,e.__extends)(n,t),n.prototype.click=function(){var e=this,t=It(),n=At();if(t&&t.addEventListener){var r=-1!==navigator.appVersion.indexOf("MSIE")?"click":"mousedown";t.addEventListener(r,(function(t){e._processClick(t)}),!1),t.addEventListener("keydown",(function(t){e._processClick(t)}),!1)}else n&&n.attachEvent&&(n.attachEvent("onclick",(function(t){e._processClick(t)})),n.attachEvent("keydown",(function(t){e._processClick(t)})))},n.prototype._processClick=function(e){var n={A:!0,BUTTON:!0,AREA:!0,INPUT:!0},r=It(),o=e||(null===r||void 0===r?void 0:r.event),i=o.srcElement||o.target,a={isAuto:!0,clickCoordinateX:o.pageX,clickCoordinateY:o.pageY};if(o.keyCode===this.KeyCodes.GamePadA)a.actionType=this.ActionTypes.GamePadA;else{if(o.keyCode!==this.KeyCodes.GamePadMenu)return void t.prototype._processClick.call(this,e);a.actionType=this.ActionTypes.GamePadMenu}for(;i&&i.tagName;){if(i.control&&n[i.control.tagName.toUpperCase()]&&(i=i.control),n[i.tagName.toUpperCase()]){("INPUT"!==i.tagName.toUpperCase()||this.clickCaptureInputTypes[i.type.toUpperCase()])&&this._analyticsPlugin.capturePageAction(i,a,{});break}i=i.parentElement||i.parentNode}},n}(Cs),Fc=function(t,n){var r={alt:Hc(t),vlt:Math.round(t.loadTimeMsec),data:t.components&&t.components.map((function(t){return(0,e.__assign)((0,e.__assign)({},t.data),{componentName:t.name,startTime:Math.round(t.started),endTime:Math.round(t.ended)})})),customData:{}};n&&n.forEach((function(e){r.customData[e.name]=e.value}));var o={pageName:t.viewName||Vc.dom.getPageId(),isDomComplete:!0},i={uri:Vc.dom.getLocationHref(),timings:r,pageTypeForPerf:t.viewName||Vc.dom.getPageId()};zc.captureContentUpdate(o,i)},Bc={reportViewPerformanceMetrics:Fc},Hc=function(e){var t=e;return t.application?Math.round(t.application.loadTimeMsec):void 0},zc=new Ms,Uc=new xc,Vc={},jc=[r,n,"Ms.Web.ContentUpdate","Ms.Web.ClientError",o,i,s,a];function qc(t,a){var c=new Us;yc=new Ws(a.seedCv);var l=new Mo,u=a.features.join("|"),d=a.urlScrubber||y;if(Vc.allowClickTracking=t.allowClickTracking,Vc.flights=u,Vc.urlScrubber=d,Vc.dom=a.dom||v(d),Vc.market=a.language,Vc.dummyElement=document.createElement("div"),t.useKeydownEvent){var p=zc.getWebAnalyticsExtension(),h=new Oc(p,p.diagLog());p.setAutoCaptureHandler(h)}var f={instrumentationKey:t.instrumentationKey,propertyConfiguration:{env:t.environment},webAnalyticsConfiguration:{autoCapture:{pageView:!1,onLoad:!1,lineage:!0,click:t.allowClickTracking,scroll:t.allowScrollTracking,jsError:!1},coreData:{market:a.language,pageTags:{flight:u}},shareAuthStatus:!0,useDefaultContentName:!0,manageCv:!0,urlCollectHash:!0,urlCollectQuery:!0,isLoggedIn:t.isUserSignedIn},extensions:[c,yc,Uc],extensionConfig:[]},m={callback:{},appId:t.appId,enableCvHeaders:!0,disableAjaxTracking:!0,disableFetchTracking:!0};f.extensionConfig[Uc.identifier]=m;var g={authType:Ls,loggedInStatusCallback:function(){return t.isUserSignedIn||!1}};f.extensionConfig[c.identifier]=g;f.extensionConfig[l.identifier]={populateBrowserInfo:!0,populateOperatingSystemInfo:!0},zc.initialize(f,[]),t.userPuid&&t.isUserSignedIn&&(zc.getPropertyManager().getPropertiesContext().user.localId="p:".concat(t.userPuid)),zc.addTelemetryInitializer((function(t){var a,c;if(t.baseData||(t.baseData={}),t.data||(t.data={}),jc.indexOf(t.name)>-1){t.data.referrerUri=Vc.dom.getReferrer(),t.data.isLoggedIn=t.baseData.isLoggedIn,t.data.isManual=t.baseData.isManual,t.baseData.pageName=Vc.dom.getPageId(),t.baseData.impressionGuid=t.baseData.id;var l=t.baseData.properties.pageTags||{},u=t.baseData.pageTags||{};if(t.baseData.pageTags=(0,e.__assign)((0,e.__assign)((0,e.__assign)({},u),l),{metaTags:(0,e.__assign)((0,e.__assign)((0,e.__assign)((0,e.__assign)({},u.metaTags),l.metaTags),Mc()),{pageTypeForPerf:t.data.pageTypeForPerf})}),delete t.baseData.properties.pageTags,t.name===r){t.data.refUri=d(t.data.refUri);var p=d(t.baseData.targetUri);t.baseData.targetUri=p,t.baseData.destUri=p;var h=JSON.parse(t.baseData.content||"");h=h.map((function(t){return(0,e.__assign)((0,e.__assign)({},t),{cN:t.cN?"REMOVED":void 0,srchq:t.srchq?"REMOVED":void 0})})),t.baseData.content=JSON.stringify(h)}else t.name===o?(t.baseData.targetUri=t.baseData.target,(null===(c=null===(a=t.ext)||void 0===a?void 0:a.mscv)||void 0===c?void 0:c.cV)&&t.data.overrideCv&&(t.ext.mscv.cV=t.data.overrideCv,delete t.data.overrideCv)):t.name===i||t.name===s?t.baseData.market=Vc.market||"":t.name===n&&(t.baseData.name=t.baseData.pageName);t.baseData.uri=Vc.dom.getLocationHref()}"Ms.Web.PageUnload"===t.name&&t.baseData.uri&&(t.baseData.uri=d(t.baseData.uri))}))}var Wc="awa-",Gc="Ms.Osgs.Scenario",Kc={$beginScenario:function(t){var n={name:Gc,data:(0,e.__assign)({uri:Vc.dom.getLocationHref(),referrerUri:Vc.dom.getReferrer(),pageName:Vc.dom.getPageId(),area:t.area,name:t.name,step:t.currentStep,next:t.nextStep||"",type:"s"},Yc(t))};zc.trackEvent(n);var r={behavior:ms.STARTPROCESS,actionType:"A",contentTags:(0,e.__assign)({scn:t.name,scnstp:t.currentStep,scnnxtstp:t.nextStep},Qc(t.data))};zc.capturePageAction(Vc.dummyElement,r)},$completeStep:function(t){var n="ef";t.canceled?n=t.successful?"cs":"cf":t.successful&&(n="es");var r={name:Gc,data:(0,e.__assign)({uri:Vc.dom.getLocationHref(),referrerUri:Vc.dom.getReferrer(),pageName:Vc.dom.getPageId(),area:t.area,name:t.name,step:t.currentStep,next:t.nextStep||"",type:t.isStep?"t":"x",result:n,tmsec:t.timeMsec||0,error:t.error},Yc(t))};zc.trackEvent(r);var o=t.isStep?ms.PROCESSCHECKPOINT:ms.COMPLETEPROCESS;!t.isStep&&t.canceled&&(o=ms.SCENARIOCANCEL);var i={behavior:o,actionType:"A",contentTags:(0,e.__assign)({scn:t.name,scnstp:t.currentStep,scnnxtstp:t.nextStep,isSuccess:!!t.successful,isCancel:!!t.canceled,scnerror:t.error},Qc(t.data))};zc.capturePageAction(Vc.dummyElement,i)}},Yc=function(e){var t,n,r;return{data:e.data&&JSON.stringify(e.data),origin:null===(t=e.attribution)||void 0===t?void 0:t.origin,flow:null===(n=e.attribution)||void 0===n?void 0:n.flow,owner:null===(r=e.attribution)||void 0===r?void 0:r.owner,mkt:e.market,lang:e.language}},Qc=function(e){if(e){var t={};return Object.keys(e).forEach((function(n){var r=n;n.startsWith(Wc)&&(r=r.replace(Wc,"")),t[r]=e[n]})),t}},Xc={getCorrelationVectorFormFieldName:function(){return"MS-CV"},getCurrentCvValue:function(){return yc.getCv().getValue()},incrementCv:function(){yc.getCv().increment()},seedCv:function(e){return e?yc.getCv().init(e):yc.getCv().seed()}},Jc={updateFlights:function(e){Vc.flights=e.join("|"),zc.getWebAnalyticsExtension().updateCoreDataConfig({pageTags:{flight:Vc.flights}})},updateUserPuid:function(e){zc.getPropertyManager().getPropertiesContext().user.localId="p:".concat(e)}};window.OneDS={initialize:qc,BiSink:Tc,ClientQosSink:Dc,CorrelationVectorManager:Xc,ExperimentsSink:Lc,ScenarioSink:Kc,PerformanceSink:Bc,TelemetryConfigurationUpdateSink:Jc},window.owap=zc;var $c,Zc=1,el=2,tl=3,nl=4,rl=React,ol=__webpack_require__.n(rl),il=function(){return(65536*(1+function(){var e=window.crypto||window.msCrypto;if(e){var t=new Uint32Array(1);return e.getRandomValues(t)[0]/4294967296}return Math.random()}())|0).toString(16).substring(1)},al=function(){return"".concat(il()).concat(il(),"-").concat(il(),"-").concat(il(),"-").concat(il(),"-").concat(il()).concat(il()).concat(il())},sl=[],cl=function(e){(0,rl.useEffect)((function(){return e}),sl)},ll=function(e){var t=(0,rl.useRef)(!1);t.current||(t.current=!0,e())},ul=function(){var e=navigator.userAgentData;if(e){var t=e.brands;if(t)for(var n=0;n<t.length;n++)if("microsoft edge"===t[n].brand.toLowerCase())return!0}return!1},dl=(new Map,ReactDOM),pl=__webpack_require__.n(dl),hl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.getSnapshotBeforeUpdate=function(e){if(!e.isUpdating&&this.props.isUpdating&&document.activeElement){var t=pl().findDOMNode(this);t&&t.contains(document.activeElement)&&(this.savedFocusElement=document.activeElement,$c=this)}return null},n.prototype.componentDidUpdate=function(e){if(e.isUpdating&&!this.props.isUpdating&&this.savedFocusElement){var t=pl().findDOMNode(this);if(t&&document.activeElement===document.body&&$c===this)if(t.contains(this.savedFocusElement))this.savedFocusElement.focus();else if(this.savedFocusElement.dataset.biId)if(t.tagName===this.savedFocusElement.tagName&&t.dataset.biId===this.savedFocusElement.dataset.biId)t.focus();else{var n=t.querySelector("".concat(this.savedFocusElement.tagName,'[data-bi-id="').concat(this.savedFocusElement.dataset.biId,'"]'));n&&n.focus()}this.savedFocusElement=void 0}},n.prototype.render=function(){return this.props.children},n}(ol().Component),fl=JSON.parse('{"p":"main-content-landing","P":"main-content-landing-react"}');function ml(e,t){var n=e;if(!n)return n;if(null===t||!Array.isArray(t)&&"object"!==typeof t){var r=null===t||void 0===t?"":t;n=n.replace(/\{0\}/g,r)}else n=n.replace(/\{(\w+)\}/g,(function(e,n){var r=t[n];return null===r||void 0===r?"":r}));return n}var gl=function(){return(65536*(1+function(){var e=window.crypto||window.msCrypto;if(e){var t=new Uint32Array(1);return e.getRandomValues(t)[0]/4294967296}return Math.random()}())|0).toString(16).substring(1)},vl=function(){return"".concat(gl()).concat(gl(),"-").concat(gl(),"-").concat(gl(),"-").concat(gl(),"-").concat(gl()).concat(gl()).concat(gl())},yl=(__webpack_require__(56449),/\{([-\w]+)\}/),bl=/({[-\w]+\})/,_l=function(e,t,n){return e.reduce((function(e,r,o){var i,a,s=r,c=null===(i=yl.exec(r))||void 0===i?void 0:i[1];if(c&&t.hasOwnProperty(c)){var l=t[c];if(a=l,ol().isValidElement(a))return l=n?n(l):l,e.push(ol().cloneElement(l,{key:o})),e;s=null!==l&&void 0!==l?l:""}var u=e.length;return u&&"string"===typeof e[u-1]?e[u-1]+=s:e.push(s),e}),[])},Cl=[],wl=function(e){(0,rl.useEffect)((function(){return e}),Cl)},El=function(e){var t=(0,rl.useRef)(!1);t.current||(t.current=!0,e())};var xl,Sl={bingMapsOverlay:1,twoUIFlowProgressBar:1,twoUITab:1,bingMapsListContainer:2,bingMapsNoPushPinContainer:3,twoUINavBar:5,twoUILiveToast:6,twoUINavBarOverHeader:11,twoUILeftNavBypassBlocksButton:1e4,twoUIPanel:10001,twoUINotificationBar:10002},kl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.getSnapshotBeforeUpdate=function(e){if(!e.isUpdating&&this.props.isUpdating&&document.activeElement){var t=pl().findDOMNode(this);t&&t.contains(document.activeElement)&&(this.savedFocusElement=document.activeElement,xl=this)}return null},n.prototype.componentDidUpdate=function(e){if(e.isUpdating&&!this.props.isUpdating&&this.savedFocusElement){var t=pl().findDOMNode(this);if(t&&document.activeElement===document.body&&xl===this)if(t.contains(this.savedFocusElement))this.savedFocusElement.focus();else if(this.savedFocusElement.dataset.biId)if(t.tagName===this.savedFocusElement.tagName&&t.dataset.biId===this.savedFocusElement.dataset.biId)t.focus();else{var n=t.querySelector("".concat(this.savedFocusElement.tagName,'[data-bi-id="').concat(this.savedFocusElement.dataset.biId,'"]'));n&&n.focus()}this.savedFocusElement=void 0}},n.prototype.render=function(){return this.props.children},n}(ol().Component),Tl=((0,e.__assign)((0,e.__assign)({},Sl),{billingOrderFilter:1,suiteHeaderWholeHeader:10,feedBackButton:10,suiteHeaderSkipToMainContent:1e4}),document.querySelector("html > head")),Il={},Al=function e(t,n){if("string"===typeof t)if(Il[t]){var r=document.head.getElementsByTagName("meta").namedItem(t);r&&(r.content=n)}else{if(null!==Pl(t))throw new Error("Metatag not added through MetatagService already exists");Il[t]=!0;var o=document.createElement("meta");o.name=t,o.content=n,Tl.appendChild(o)}else for(var i=t,a=0,s=Object.keys(i);a<s.length;a++){var c=s[a];e(c,i[c])}};function Pl(e){return Tl.getElementsByTagName("meta").namedItem(e)}var Dl=1e3;var Rl,Ml="mountStart",Nl="mountEnd",Ll="updateStart",Ol="updateEnd",Fl="onClickNewStep",Bl="onClickNoStep",Hl="Cancel",zl="PreScenario",Ul=zl,Vl=!0,jl=function(e,t){return"".concat(e,"-").concat(t)},ql=function(e){return jl(e,Ml)},Wl=function(e){return jl(e,Nl)},Gl=function(e){return jl(e,Ll)},Kl=function(e){return jl(e,Ol)},Yl=ql(zl),Ql=Wl(zl),Xl=Gl(zl),Jl=Kl(zl);function $l(t){var n=window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation");if(n&&n.length){var r=n[0],o=function(e){try{return{beforeJSTime:(e.domContentLoadedEventStart-e.startTime)/Dl,redirectTime:(e.redirectEnd-e.redirectStart)/Dl,contentDownloadTime:(e.responseEnd-e.responseStart)/Dl,TTFB:(e.responseStart-e.requestStart)/Dl,PLT:(e.loadEventStart-e.startTime)/Dl,DNS:(e.domainLookupEnd-e.domainLookupStart)/Dl,TCP:(e.connectEnd-e.connectStart)/Dl,SSL:(e.requestStart-e.secureConnectionStart)/Dl}}catch(t){return{beforeJSTime:-1,redirectTime:-1,contentDownloadTime:-1,TTFB:-1,PLT:-1,DNS:-1,TCP:-1,SSL:-1}}}(r),i=window.performance.getEntriesByType("mark").map((function(e){return JSON.stringify(e)})).toString(),a=function(e){try{return{navigationStart:e.startTime,redirectStart:e.redirectStart,redirectEnd:e.redirectEnd,responseStart:e.responseStart,responseEnd:e.responseEnd,domainLookupStart:e.domainLookupStart,domainLookupEnd:e.domainLookupEnd,connectStart:e.connectStart,connectEnd:e.connectEnd,requestStart:e.requestStart,secureConnectionStart:e.secureConnectionStart}}catch(t){return{navigationStart:-1,redirectStart:-1,redirectEnd:-1,responseStart:-1,responseEnd:-1,domainLookupStart:-1,domainLookupEnd:-1,connectStart:-1,connectEnd:-1,requestStart:-1,secureConnectionStart:-1}}}(r);Su((0,e.__assign)((0,e.__assign)((0,e.__assign)({name:"Ms.Webi.MeePortal.OneNavigationPerfEvent",scenarioName:Rl,successStatus:t,isFirstScenarioOnPage:Vl},o),a),{timeMarkers:i}))}window.performance.clearMarks&&window.performance.clearMarks(),Zl(zl),Vl=!1}function Zl(e){Yl=ql(Ul=e),Ql=Wl(Ul),Xl=Gl(Ul),Jl=Kl(Ul)}function eu(e){if(window.performance.mark){var t=function(e){return jl(e,Fl)}(e);window.performance.mark(t)}}function tu(){if(window.performance.mark){var e=jl(Ul,Bl);window.performance.mark(e)}}function nu(e){eu(e),Zl(e)}var ru,ou,iu,au,su,cu="Scenario not started or already ended",lu=!1,uu={isReact:!0};function du(t){var n;gu(t),Zl(t.step),null===(n=window.BradburyTelemetry)||void 0===n||n.scenarios.beginMultiStepScenario(t.area,t.scenario,t.step,{attribution:t.attribution,data:(0,e.__assign)((0,e.__assign)((0,e.__assign)({},t.data),uu),{scenarioStartTimestamp:Date.now()})})}function pu(e){var t;if(!lu)throw new Error(cu);Zl(e.step),ru.push(ou),null===(t=window.BradburyTelemetry)||void 0===t||t.scenarios.endStep(vu(e))}function hu(t){var n;if(!lu)throw new Error(cu);t&&t.step&&Zl(t.step);var r=(0,e.__assign)({step:ou.step,data:ou.data},t);null===(n=window.BradburyTelemetry)||void 0===n||n.scenarios.cancelMultiStepScenario(vu(r)),$l("error"),lu=!1}function fu(t){var n;if(!lu)throw new Error(cu);t&&t.step&&Zl(t.step);var r=(0,e.__assign)((0,e.__assign)({},ou.data),{timeElapsedFromScenarioStart:ou.data&&ou.data.scenarioStartTimestamp?Date.now()-ou.data.scenarioStartTimestamp:null}),o=(0,e.__assign)({step:ou.step,data:r},t);null===(n=window.BradburyTelemetry)||void 0===n||n.scenarios.endMultiStepScenario(vu(o)),$l("success"),lu=!1}function mu(e){var t;if(!lu)throw new Error(cu);Zl(e.step),null===(t=window.BradburyTelemetry)||void 0===t||t.scenarios.endStep(vu(e)),$l("error"),lu=!1}function gu(t){if(ru=[],function(e){if(!e)throw new Error("Performance tracking begin(): no scenario specified");Rl=e}(t.scenario),!t.area)throw new Error("no area specified");if(!t.scenario)throw new Error("no scenario specified");if(!t.step)throw new Error("Scenario '".concat(au,"': no step specified"));iu=t.area,au=t.scenario,su=t.attribution,lu=!0,ou={step:t.step,data:(0,e.__assign)((0,e.__assign)({},t.data),{scenarioStartTimestamp:Date.now()})}}function vu(t){if(!t||!t.step)throw new Error("Scenario '".concat(au,"': next step not specified"));var n=ou.data||t.data?(0,e.__assign)((0,e.__assign)({},ou.data),t.data):{},r=ou.data?ou.data.scenarioStartTimestamp:null,o={area:iu,name:au,attribution:su,data:(0,e.__assign)((0,e.__assign)((0,e.__assign)({},n),uu),{timeElapsedFromScenarioStart:r?Date.now()-r:null}),step:ou.step,next:t.step,isSuccess:!t.error,error:t.error};return ou={step:o.next,data:o.data},o}var yu=function(){var e;return null===(e=window.BradburyTelemetry)||void 0===e?void 0:e.cv.getCurrentCvValue()},bu=function(){var e;null===(e=window.BradburyTelemetry)||void 0===e||e.cv.incrementCv()},_u=__webpack_require__(40475),Cu=function(t){var n,r,o,i={name:a,baseType:a,content:{}};t.data&&t.data.error&&(t.data.error.config&&delete t.data.error.config.data,"{}"===JSON.stringify(t.data.error)&&(t.data.error=t.data.error.toString()));var s=lu?au:void 0;try{t.data=(0,e.__assign)((0,e.__assign)({},t.data),{scenario:s,devServer:null!==Pl("awa-devserver")}),o=JSON.stringify(t.data)}catch(vB){o=JSON.stringify({isReact:!0,scenario:s,devServer:!1,errorMessage:"Unable to parse customData."})}i.content={name:t.name,uri:t.uri,referrerUri:null===(n=window.BradburyTelemetry)||void 0===n?void 0:n.bi.getCurrentReferrer(),pageName:t.pageName,area:t.area,result:t.result,durationMs:t.durationMs,kind:t.kind,data:o},null===(r=window.BradburyTelemetry)||void 0===r||r.qos.reportRawEvent(i)},wu=function(e,t){var n;null===(n=window.BradburyTelemetry)||void 0===n||n.perf.reportViewPerformanceMetrics(e,t)},Eu=function(t,n){var r,o,i=t.httpStatusCode?t.httpStatusCode:0,a="https://request-uri-missing.com";(null===(r=window.BradburyTelemetry.utilities)||void 0===r?void 0:r.globalUrlScrubber)&&(a=window.BradburyTelemetry.utilities.globalUrlScrubber(t.requestUri));var s,c={isSuccess:void 0!==t.isSuccess?t.isSuccess:i<500,latencyMs:Math.floor(t.latency),httpStatusCode:i.toString(),serviceErrorCode:t.serviceErrorCode||-1,errorMessage:t.errorMessage,requestTimeout:t.timeout,responseStatus:i,responseDataError:t.responseDataError};!function(e,t){var n,r;if(!e)return;var o=h;t&&(o=t(e));o!==f&&(null===(r=null===(n=window.BradburyTelemetry.utilities)||void 0===n?void 0:n.overrideRequestQosData)||void 0===r||r.call(n,e))}(c,n);try{t.customData=(0,e.__assign)((0,e.__assign)({},t.customData),{devServer:null!==Pl("awa-devserver")}),s=JSON.stringify(t.customData)}catch(vB){s="Unable to parse customData."}null===(o=window.BradburyTelemetry)||void 0===o||o.qos.reportOutgoingApi({cV:t.overrideCv||yu(),currentOperationName:t.operationName,requestUri:a,latencyMs:c.latencyMs||-1,serviceErrorCode:c.serviceErrorCode,isSuccess:c.isSuccess,httpMethod:t.httpMethod,httpStatusCode:c.httpStatusCode,contentType:t.contentType,operationName:t.operationName,serviceName:t.partnerName||"MeePortal",responseSize:t.responseSize,errorMessage:c.errorMessage,operationVersion:"ReactJS",customData:s})};function xu(e,t){var n,r={path:window.location.pathname,viewId:"".concat(e,".").concat(t)};null===(n=window.BradburyTelemetry)||void 0===n||n.bi.reportSpaPageView(r)}function Su(t){var n,r={name:t.name,content:(0,e.__rest)(t,["name"])};null===(n=window.BradburyTelemetry)||void 0===n||n.qos.reportRawEvent(r)}function ku(t){var n,r,o=t.name,i=(0,e.__rest)(t,["name"]),a=null===(n=window.MeePortal)||void 0===n?void 0:n.g_userFeatures,s={name:o,content:(0,e.__assign)((0,e.__assign)({},i),{baseData:{pageTags:{flight:(a||[]).join("|")}}})};null===(r=window.BradburyTelemetry)||void 0===r||r.qos.reportRawEvent(s)}function Tu(e){var t,n,r="http://uri-missing.com";(null===(t=window.BradburyTelemetry.utilities)||void 0===t?void 0:t.globalUrlScrubber)&&(r=window.BradburyTelemetry.utilities.globalUrlScrubber(e)),Su({name:"Ms.Webi.MeePortal.HttpUrlEvent",url:r,page:null===(n=window.BradburyTelemetry)||void 0===n?void 0:n.bi.getCurrentLocation()})}function Iu(e,t,n){var r;Su({name:"Ms.Webi.MeePortal.ComponentErrorEvent",componentName:e,errorMessage:t,errorCount:n,page:null===(r=window.BradburyTelemetry)||void 0===r?void 0:r.bi.getCurrentLocation()})}function Au(e,t,n){var r,o,i;Su({name:"Ms.Webi.MeePortal.ComponentMountedEvent",componentName:t,componentId:n||"",twouiVersion:e,location:null===(r=window.BradburyTelemetry)||void 0===r?void 0:r.bi.getCurrentLocation(),pageId:null===(o=window.BradburyTelemetry)||void 0===o?void 0:o.bi.getCurrentPageId(),environment:(null===(i=null===_u||void 0===_u?void 0:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:"localhost",WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0})||void 0===i?void 0:i.NODE_ENV)||""})}function Pu(e){for(var t,n,r,o,i,a,s,c,l=(null===(t=performance.getEntriesByType)||void 0===t?void 0:t.call(performance,"resource"))||[],u=null===(r=null===(n=window.BradburyTelemetry)||void 0===n?void 0:n.utilities)||void 0===r?void 0:r.globalUrlScrubber,d=null===(i=null===(o=window.BradburyTelemetry)||void 0===o?void 0:o.utilities)||void 0===i?void 0:i.resourceNameScrubber,p=null===(a=window.BradburyTelemetry)||void 0===a?void 0:a.bi.getCurrentPageId(),h=null===(s=window.BradburyTelemetry)||void 0===s?void 0:s.bi.getCurrentLocation(),f=0;f<l.length;f++){var m=l[f];try{var g=new URL(m.name),v=g.pathname.split("/"),y=v[v.length-1];if("file:"===g.protocol)continue;var b=u&&u(g.href),_=d&&d(g.pathname),C=d&&d(y);Su({name:"Ms.Webi.MeePortal.ResourceTiming",domain:g.hostname,path:_||g.pathname,resourceName:C||y,fullUrl:b||g.href,queryString:g.search,size:m.transferSize,duration:Math.floor(m.duration),entryType:m.entryType,initiatorType:m.initiatorType,url:h,area:e,pageName:p})}catch(w){Su({name:"Ms.Webi.MeePortal.ResourceTiming",fullUrl:(b=u&&u(m.name))||m.name,url:h,pageName:p,area:e,error:w.message||"unknown error"})}finally{null===(c=performance.clearResourceTimings)||void 0===c||c.call(performance)}}}var Du=function(e,t,n,r){var o=performance.now()-n;wu({application:{loadTimeMsec:o},loadTimeMsec:o},[{name:"area",value:t},{name:"pageName",value:"app"},{name:"result",value:e},{name:"isReact",value:!0},{name:"error",value:r&&r.message},{name:"stack",value:r&&r.stack}])};function Ru(e,t){return Ru=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ru(e,t)}function Mu(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ru(e,t)}var Nu=__webpack_require__(24974),Lu=__webpack_require__.n(Nu);function Ou(){return Ou=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ou.apply(this,arguments)}function Fu(e){return"/"===e.charAt(0)}function Bu(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var Hu=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&Fu(e),a=t&&Fu(t),s=i||a;if(e&&Fu(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var c=o[o.length-1];n="."===c||".."===c||""===c}else n=!1;for(var l=0,u=o.length;u>=0;u--){var d=o[u];"."===d?Bu(o,u):".."===d?(Bu(o,u),l++):l&&(Bu(o,u),l--)}if(!s)for(;l--;l)o.unshift("..");!s||""===o[0]||o[0]&&Fu(o[0])||o.unshift("");var p=o.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function zu(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var Uu=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=zu(t),o=zu(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},Vu="Invariant failed";var ju=function(e,t){if(!e)throw new Error(Vu)};function qu(e){return"/"===e.charAt(0)?e:"/"+e}function Wu(e){return"/"===e.charAt(0)?e.substr(1):e}function Gu(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function Ku(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function Yu(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function Qu(e,t,n,r){var o;"string"===typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=Ou({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(i){throw i instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):i}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=Hu(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function Xu(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var Ju=!("undefined"===typeof window||!window.document||!window.document.createElement);function $u(e,t){t(window.confirm(e))}var Zu="popstate",ed="hashchange";function td(){try{return window.history.state||{}}catch(e){return{}}}function nd(e){void 0===e&&(e={}),Ju||ju(!1);var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),r=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,i=o.forceRefresh,a=void 0!==i&&i,s=o.getUserConfirmation,c=void 0===s?$u:s,l=o.keyLength,u=void 0===l?6:l,d=e.basename?Ku(qu(e.basename)):"";function p(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return d&&(i=Gu(i,d)),Qu(i,r,n)}function h(){return Math.random().toString(36).substr(2,u)}var f=Xu();function m(e){Ou(T,e),T.length=t.length,f.notifyListeners(T.location,T.action)}function g(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||b(p(e.state))}function v(){b(p(td()))}var y=!1;function b(e){if(y)y=!1,m();else{f.confirmTransitionTo(e,"POP",c,(function(t){t?m({action:"POP",location:e}):function(e){var t=T.location,n=C.indexOf(t.key);-1===n&&(n=0);var r=C.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(y=!0,E(o))}(e)}))}}var _=p(td()),C=[_.key];function w(e){return d+Yu(e)}function E(e){t.go(e)}var x=0;function S(e){1===(x+=e)&&1===e?(window.addEventListener(Zu,g),r&&window.addEventListener(ed,v)):0===x&&(window.removeEventListener(Zu,g),r&&window.removeEventListener(ed,v))}var k=!1;var T={length:t.length,action:"POP",location:_,createHref:w,push:function(e,r){var o="PUSH",i=Qu(e,r,h(),T.location);f.confirmTransitionTo(i,o,c,(function(e){if(e){var r=w(i),s=i.key,c=i.state;if(n)if(t.pushState({key:s,state:c},null,r),a)window.location.href=r;else{var l=C.indexOf(T.location.key),u=C.slice(0,l+1);u.push(i.key),C=u,m({action:o,location:i})}else window.location.href=r}}))},replace:function(e,r){var o="REPLACE",i=Qu(e,r,h(),T.location);f.confirmTransitionTo(i,o,c,(function(e){if(e){var r=w(i),s=i.key,c=i.state;if(n)if(t.replaceState({key:s,state:c},null,r),a)window.location.replace(r);else{var l=C.indexOf(T.location.key);-1!==l&&(C[l]=i.key),m({action:o,location:i})}else window.location.replace(r)}}))},go:E,goBack:function(){E(-1)},goForward:function(){E(1)},block:function(e){void 0===e&&(e=!1);var t=f.setPrompt(e);return k||(S(1),k=!0),function(){return k&&(k=!1,S(-1)),t()}},listen:function(e){var t=f.appendListener(e);return S(1),function(){S(-1),t()}}};return T}var rd="hashchange",od={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+Wu(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:Wu,decodePath:qu},slash:{encodePath:qu,decodePath:qu}};function id(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function ad(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function sd(e){window.location.replace(id(window.location.href)+"#"+e)}function cd(e){void 0===e&&(e={}),Ju||ju(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,o=void 0===r?$u:r,i=n.hashType,a=void 0===i?"slash":i,s=e.basename?Ku(qu(e.basename)):"",c=od[a],l=c.encodePath,u=c.decodePath;function d(){var e=u(ad());return s&&(e=Gu(e,s)),Qu(e)}var p=Xu();function h(e){Ou(S,e),S.length=t.length,p.notifyListeners(S.location,S.action)}var f=!1,m=null;function g(){var e,t,n=ad(),r=l(n);if(n!==r)sd(r);else{var i=d(),a=S.location;if(!f&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(m===Yu(i))return;m=null,function(e){if(f)f=!1,h();else{var t="POP";p.confirmTransitionTo(e,t,o,(function(n){n?h({action:t,location:e}):function(e){var t=S.location,n=_.lastIndexOf(Yu(t));-1===n&&(n=0);var r=_.lastIndexOf(Yu(e));-1===r&&(r=0);var o=n-r;o&&(f=!0,C(o))}(e)}))}}(i)}}var v=ad(),y=l(v);v!==y&&sd(y);var b=d(),_=[Yu(b)];function C(e){t.go(e)}var w=0;function E(e){1===(w+=e)&&1===e?window.addEventListener(rd,g):0===w&&window.removeEventListener(rd,g)}var x=!1;var S={length:t.length,action:"POP",location:b,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=id(window.location.href)),n+"#"+l(s+Yu(e))},push:function(e,t){var n="PUSH",r=Qu(e,void 0,void 0,S.location);p.confirmTransitionTo(r,n,o,(function(e){if(e){var t=Yu(r),o=l(s+t);if(ad()!==o){m=t,function(e){window.location.hash=e}(o);var i=_.lastIndexOf(Yu(S.location)),a=_.slice(0,i+1);a.push(t),_=a,h({action:n,location:r})}else h()}}))},replace:function(e,t){var n="REPLACE",r=Qu(e,void 0,void 0,S.location);p.confirmTransitionTo(r,n,o,(function(e){if(e){var t=Yu(r),o=l(s+t);ad()!==o&&(m=t,sd(o));var i=_.indexOf(Yu(S.location));-1!==i&&(_[i]=t),h({action:n,location:r})}}))},go:C,goBack:function(){C(-1)},goForward:function(){C(1)},block:function(e){void 0===e&&(e=!1);var t=p.setPrompt(e);return x||(E(1),x=!0),function(){return x&&(x=!1,E(-1)),t()}},listen:function(e){var t=p.appendListener(e);return E(1),function(){E(-1),t()}}};return S}function ld(e,t,n){return Math.min(Math.max(e,t),n)}function ud(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,o=void 0===r?["/"]:r,i=t.initialIndex,a=void 0===i?0:i,s=t.keyLength,c=void 0===s?6:s,l=Xu();function u(e){Ou(g,e),g.length=g.entries.length,l.notifyListeners(g.location,g.action)}function d(){return Math.random().toString(36).substr(2,c)}var p=ld(a,0,o.length-1),h=o.map((function(e){return Qu(e,void 0,"string"===typeof e?d():e.key||d())})),f=Yu;function m(e){var t=ld(g.index+e,0,g.entries.length-1),r=g.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?u({action:"POP",location:r,index:t}):u()}))}var g={length:h.length,action:"POP",location:h[p],index:p,entries:h,createHref:f,push:function(e,t){var r="PUSH",o=Qu(e,t,d(),g.location);l.confirmTransitionTo(o,r,n,(function(e){if(e){var t=g.index+1,n=g.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),u({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=Qu(e,t,d(),g.location);l.confirmTransitionTo(o,r,n,(function(e){e&&(g.entries[g.index]=o,u({action:r,location:o}))}))},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(e){var t=g.index+e;return t>=0&&t<g.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return g}var dd=1073741823,pd="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof __webpack_require__.g?__webpack_require__.g:{};function hd(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var fd=ol().createContext||function(e,t){var n,r,o="__create-react-context-"+function(){var e="__global_unique_id__";return pd[e]=(pd[e]||0)+1}()+"__",i=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=hd(t.props.value),t}Mu(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i===1/a:i!==i&&a!==a)?n=0:(n="function"===typeof t?t(r,o):dd,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(rl.Component);i.childContextTypes=((n={})[o]=Lu().object.isRequired,n);var a=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Mu(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?dd:t},r.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?dd:e},r.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},r.getValue=function(){return this.context[o]?this.context[o].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(rl.Component);return a.contextTypes=((r={})[o]=Lu().object,r),{Provider:i,Consumer:a}},md=fd,gd=__webpack_require__(40960),vd=__webpack_require__.n(gd);__webpack_require__(9479);function yd(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var bd=__webpack_require__(47814),_d=__webpack_require__.n(bd),Cd=function(e){var t=md();return t.displayName=e,t},wd=Cd("Router-History"),Ed=Cd("Router"),xd=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Mu(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return ol().createElement(Ed.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},ol().createElement(wd.Provider,{children:this.props.children||null,value:this.props.history}))},t}(ol().Component);ol().Component;var Sd=function(e){function t(){return e.apply(this,arguments)||this}Mu(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(ol().Component);var kd={},Td=0;function Id(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(kd[e])return kd[e];var t=vd().compile(e);return Td<1e4&&(kd[e]=t,Td++),t}(e)(t,{pretty:!0})}function Ad(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return ol().createElement(Ed.Consumer,null,(function(e){e||ju(!1);var r=e.history,i=e.staticContext,a=o?r.push:r.replace,s=Qu(t?"string"===typeof n?Id(n,t.params):Ou({},n,{pathname:Id(n.pathname,t.params)}):n);return i?(a(s),null):ol().createElement(Sd,{onMount:function(){a(s)},onUpdate:function(e,t){var n,r,o=Qu(t.to);n=o,r=Ou({},s,{key:o.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&Uu(n.state,r.state)||a(s)},to:n})}))}var Pd={},Dd=0;function Rd(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,c=n.sensitive,l=void 0!==c&&c;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=Pd[n]||(Pd[n]={});if(r[e])return r[e];var o=[],i={regexp:vd()(e,o,t),keys:o};return Dd<1e4&&(r[e]=i,Dd++),i}(n,{end:i,strict:s,sensitive:l}),o=r.regexp,a=r.keys,c=o.exec(e);if(!c)return null;var u=c[0],d=c.slice(1),p=e===u;return i&&!p?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var Md=function(e){function t(){return e.apply(this,arguments)||this}return Mu(t,e),t.prototype.render=function(){var e=this;return ol().createElement(Ed.Consumer,null,(function(t){t||ju(!1);var n=e.props.location||t.location,r=Ou({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?Rd(n.pathname,e.props):t.match}),o=e.props,i=o.children,a=o.component,s=o.render;return Array.isArray(i)&&function(e){return 0===ol().Children.count(e)}(i)&&(i=null),ol().createElement(Ed.Provider,{value:r},r.match?i?"function"===typeof i?i(r):i:a?ol().createElement(a,r):s?s(r):null:"function"===typeof i?i(r):null)}))},t}(ol().Component);function Nd(e){return"/"===e.charAt(0)?e:"/"+e}function Ld(e,t){if(!e)return t;var n=Nd(e);return 0!==t.pathname.indexOf(n)?t:Ou({},t,{pathname:t.pathname.substr(n.length)})}function Od(e){return"string"===typeof e?e:Yu(e)}function Fd(e){return function(){ju(!1)}}function Bd(){}ol().Component;var Hd=function(e){function t(){return e.apply(this,arguments)||this}return Mu(t,e),t.prototype.render=function(){var e=this;return ol().createElement(Ed.Consumer,null,(function(t){t||ju(!1);var n,r,o=e.props.location||t.location;return ol().Children.forEach(e.props.children,(function(e){if(null==r&&ol().isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?Rd(o.pathname,Ou({},e.props,{path:i})):t.match}})),r?ol().cloneElement(n,{location:o,computedMatch:r}):null}))},t}(ol().Component);var zd=ol().useContext;function Ud(){return zd(wd)}function Vd(){return zd(Ed).location}var jd=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=nd(t.props),t}return Mu(t,e),t.prototype.render=function(){return ol().createElement(xd,{history:this.history,children:this.props.children})},t}(ol().Component);ol().Component;var qd=function(e,t){return"function"===typeof e?e(t):e},Wd=function(e,t){return"string"===typeof e?Qu(e,null,null,t):e},Gd=function(e){return e},Kd=ol().forwardRef;"undefined"===typeof Kd&&(Kd=Gd);var Yd=Kd((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=yd(e,["innerRef","navigate","onClick"]),a=i.target,s=Ou({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return s.ref=Gd!==Kd&&t||n,ol().createElement("a",s)}));var Qd=Kd((function(e,t){var n=e.component,r=void 0===n?Yd:n,o=e.replace,i=e.to,a=e.innerRef,s=yd(e,["component","replace","to","innerRef"]);return ol().createElement(Ed.Consumer,null,(function(e){e||ju(!1);var n=e.history,c=Wd(qd(i,e.location),e.location),l=c?n.createHref(c):"",u=Ou({},s,{href:l,navigate:function(){var t=qd(i,e.location),r=Yu(e.location)===Yu(Wd(t));(o||r?n.replace:n.push)(t)}});return Gd!==Kd?u.ref=t||a:u.innerRef=a,ol().createElement(r,u)}))})),Xd=function(e){return e},Jd=ol().forwardRef;"undefined"===typeof Jd&&(Jd=Xd);Jd((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,o=e.activeClassName,i=void 0===o?"active":o,a=e.activeStyle,s=e.className,c=e.exact,l=e.isActive,u=e.location,d=e.sensitive,p=e.strict,h=e.style,f=e.to,m=e.innerRef,g=yd(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return ol().createElement(Ed.Consumer,null,(function(e){e||ju(!1);var n=u||e.location,o=Wd(qd(f,n),n),v=o.pathname,y=v&&v.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),b=y?Rd(n.pathname,{path:y,exact:c,sensitive:d,strict:p}):null,_=!!(l?l(b,n):b),C="function"===typeof s?s(_):s,w="function"===typeof h?h(_):h;_&&(C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(C,i),w=Ou({},w,a));var E=Ou({"aria-current":_&&r||null,className:C,style:w,to:o},g);return Xd!==Jd?E.ref=t||m:E.innerRef=m,ol().createElement(Qd,E)}))}));function $d(e){var t;null===(t=window.BradburyTelemetry)||void 0===t||t.bi.reportClick(e)}var Zd=function(e){var t=(0,rl.useRef)(!1);window.performance.mark&&(t.current?window.performance.mark(function(e){return"".concat(Xl,"-").concat(e)}(e)):window.performance.mark(function(e){return"".concat(Yl,"-").concat(e)}(e))),(0,rl.useEffect)((function(){window.performance.mark&&(t.current?window.performance.mark(function(e){return"".concat(Jl,"-").concat(e)}(e)):(window.performance.mark(function(e){return"".concat(Ql,"-").concat(e)}(e)),t.current=!0))}))},ep=(0,rl.createContext)(null),tp=function(){var e=(0,rl.useContext)(ep);if(null===e)throw new Error("ViewQosContext: Context is uninitialized. Confirm that your component is contained within a ViewQosProvider component.");return e},np=function(t){var n=t.area,r=t.view,o=t.manualPageView,i=void 0!==o&&o,a=t.requiredComponents,s=t.autoTrackComponents,c=void 0!==s&&s,l=t.children,u=(0,rl.useRef)({requiredComponents:a.slice(),actualComponents:[],reportedViewName:"".concat(n,".").concat(r),eventSent:!1,timeoutHandle:void 0,startTime:performance.now()}).current,d=function(){var e=new Set(u.actualComponents.map((function(e){return e.name})));return u.requiredComponents.every((function(t){return e.has(t)}))},p=function(){var e=new Set(u.actualComponents.map((function(e){return e.name})));return u.requiredComponents.filter((function(t){return!e.has(t)}))},h=function(){return u.actualComponents.filter((function(e){return e.status!==Zc})).map((function(e){return e.name}))},f=function(e){var t=performance.now()-u.startTime;v(u.reportedViewName,"page",e,t),y(e,t),Pu(n)},m=function(){if(!u.eventSent&&d()){u.eventSent=!0;var e=u.actualComponents.map((function(e){return e.endTime})),t=(e.length?Math.max.apply(Math,e):performance.now())-u.startTime;!function(){var e=new Set(u.actualComponents.filter((function(e){return e.status===Zc})).map((function(e){return e.name})));return u.requiredComponents.every((function(t){return e.has(t)}))}()?(v(u.reportedViewName,"page",el,t),y(el,t)):(v(u.reportedViewName,"page",Zc,t),y(Zc,t)),Pu(n),clearTimeout(u.timeoutHandle)}},g=c?function(){return setTimeout(m)}:m,v=function(t,r,o,i){var a,s={};o!==Zc&&(s.failedComponents=h()),o!==nl&&o!==tl||(s.missingComponents=p()),Cu({area:n,name:t,result:o,durationMs:i,uri:null===(a=window.BradburyTelemetry)||void 0===a?void 0:a.bi.getCurrentLocation(),pageName:u.reportedViewName,kind:r,data:(0,e.__assign)((0,e.__assign)({},s),{isReact:!0})})},y=function(e,t){var r=[{name:"area",value:n},{name:"pageName",value:u.reportedViewName},{name:"result",value:e},{name:"isReact",value:!0}];e!==Zc&&r.push({name:"failedComponents",value:h()}),e!==nl&&e!==tl||r.push({name:"missingComponents",value:p()}),wu({loadTimeMsec:t},r)};return ll((function(){u.timeoutHandle=setTimeout((function(){u.eventSent=!0,f(nl)}),3e4),g()})),cl((function(){u.eventSent||d()||(u.eventSent=!0,clearTimeout(u.timeoutHandle),f(tl))})),ol().createElement(ep.Provider,{value:{area:n,view:r,sendPageViewEvent:i?function(){xu(n,r)}:function(){console.warn("ViewQosContext: Calling sendPageViewEvent without manualPageView. This is unsupported.")},reportComponentLoaded:function(e){u.requiredComponents.includes(e.name)&&u.actualComponents.push(e),g()},addRequiredComponent:function(e){u.requiredComponents.includes(e)||u.requiredComponents.push(e)},autoTrackComponents:c}},l)},rp={},op=(0,rl.createContext)(null),ip=function(){var e=(0,rl.useContext)(op);if(null===e)throw new Error("ComponentQosContext: Context is uninitialized. Confirm that your component is contained within a ComponentQosProvider component.");return e},ap=function(t){var n,r=t.children,o=tp(),i=o.area,a=o.view,s=o.addRequiredComponent,c=o.reportComponentLoaded,l=o.autoTrackComponents,u="".concat(i,".").concat(a),d=null===(n=window.BradburyTelemetry)||void 0===n?void 0:n.bi.getCurrentLocation(),p=function(t,n,r,o){void 0===o&&(o={});var a="".concat(t,":").concat(n);if(rp[a]){var s=performance.now(),l=s-rp[a].startTime;clearTimeout(rp[a].timeoutHandle),Cu({area:i,name:"".concat(i,".").concat(t,":").concat(n),result:r,durationMs:l,uri:d,pageName:u,kind:"component",data:(0,e.__assign)((0,e.__assign)({},o),{isReact:!0})}),rp[a].isInit&&c({name:t,status:r,startTime:rp[a].startTime,endTime:s}),delete rp[a]}},h=function(e,t){p(e,t,nl)},f=function(e,t){p(e,t,tl)};return(0,rl.useEffect)((function(){return function(){Object.keys(rp).forEach((function(e){var t=e.split(":"),n=t[0],r=t[1];f(n,r)}))}}),[]),ol().createElement(op.Provider,{value:{startOperation:function(e,t,n){var r="".concat(e,":").concat(t),o=performance.now();rp[r]||(l&&n&&s(e),rp[r]={startTime:o,timeoutHandle:setTimeout((function(){h(e,t)}),3e4),isInit:n})},reportSuccess:function(e,t,n){p(e,t,Zc,n)},reportFailure:function(e,t,n,r){p(e,t,el,{error:n,customData:r})},reportCancel:f}},r)},sp=ol().createContext(null),cp=function(){var e=(0,rl.useContext)(sp);if(null===e)throw new Error("OperationStateContext: Context is uninitialized. Confirm that your component is contained within an OperationStateContext.Provider component.");return e},lp=ol().createContext(null),up=function(){var e=(0,rl.useContext)(lp);if(null===e)throw new Error("OperationDispatchContext: Context is uninitialized. Confirm that your component is contained within an OperationDispatchContext.Provider component.");return e},dp=ol().createContext(null),pp=function(t){var n=t.children,r=(0,rl.useState)((function(){return new Map}))[0],o=cp(),i=ip(),a=i.reportSuccess,s=i.reportFailure;(0,rl.useEffect)((function(){r.forEach((function(t,n){var i=o[t.operationName];if(i){var c=(0,e.__assign)((0,e.__assign)({},i.customData),{reportedAfterUnmount:!0});switch(i.status){case"finished":a(t.componentName,t.operationName,c),r.delete(n);break;case"update-failed":case"failed":s(t.componentName,t.operationName,i.error||new Error("unspecified error"),c),r.delete(n)}}else r.delete(n)}))}),[o]);var c=(0,rl.useMemo)((function(){return{abandon:function(e,t){return r.set("".concat(e,":").concat(t),{componentName:e,operationName:t})},claim:function(e,t){return r.delete("".concat(e,":").concat(t))}}}),[]);return ol().createElement(dp.Provider,{value:c,children:n})},hp=function(t){var n,r=cp();if(t.updatingView){var o=null===(n=r[t.operationData.operationName])||void 0===n?void 0:n.status;return ol().createElement(hl,{isUpdating:"updating"===o},ol().createElement(fp,(0,e.__assign)({},t)))}return ol().createElement(fp,(0,e.__assign)({},t))},fp=function(e){var t=e.operationData,n=e.finishedView,r=e.failedView,o=void 0===r?null:r,i=e.firstLoadView,a=void 0===i?null:i,s=e.inertView,c=void 0===s?null:s,l=e.updateFailedView,u=void 0===l?o:l,d=e.updatingView,p=void 0===d?n:d,h=cp(),f=ip(),m=f.startOperation,g=f.reportSuccess,v=f.reportFailure,y=h[t.operationName],b=null===y||void 0===y?void 0:y.status,_=(0,rl.useRef)(b);(0,rl.useEffect)((function(){_.current=b}),[b]);var C=(0,rl.useContext)(dp);if((0,rl.useEffect)((function(){return C.claim(t.componentName,t.operationName),function(){"first-load"!==_.current&&"updating"!==_.current||C.abandon(t.componentName,t.operationName)}}),[t.componentName,t.operationName]),!b)return"finished"===t.defaultState?n:c;switch(b){case"updating":return m(t.componentName,t.operationName,!1),p;case"first-load":return m(t.componentName,t.operationName,!0),a;case"finished":return g(t.componentName,t.operationName,y.customData),n;case"update-failed":return v(t.componentName,t.operationName,y.error||new Error("unspecified error"),y.customData),u;case"failed":return v(t.componentName,t.operationName,y.error||new Error("unspecified error"),y.customData),o;default:return c}},mp=function(t){var n=t.children,r=t.shareParentOperations,o=(0,rl.useReducer)((function(t,n){var r;return(0,e.__assign)((0,e.__assign)({},t),((r={})[n.name]={status:n.status,error:n.error,customData:n.customData},r))}),{}),i=o[0],a=o[1];return ol().createElement(ol().Fragment,null,r?ol().createElement(ap,null,n):ol().createElement(lp.Provider,{value:a},ol().createElement(sp.Provider,{value:i},ol().createElement(ap,null,ol().createElement(pp,null,n)))))},gp=ol().createContext({}),vp=function(e){var t=e.children,n=e.externalEntities;return ol().createElement(gp.Provider,{value:null!==n&&void 0!==n?n:{}},t)},yp=function(){return(0,rl.useContext)(gp)},bp=ol().createContext(null),_p=ol().createContext(null),Cp=function(t,n){var r;return(0,e.__assign)((0,e.__assign)({},t),((r={})[n.name]={status:n.status,error:n.error,customData:n.customData},r))},wp=function(e){var t=e.children,n=(0,rl.useReducer)(Cp,{}),r=n[0],o=n[1];return ol().createElement(_p.Provider,{value:o},ol().createElement(bp.Provider,{value:r},t))},Ep=function(){var e=bp,t=(0,rl.useContext)(e);if(!t)throw new Error("TwoUIOperation: Context is uninitialized. Confirm that your component is contained within an TwoUIOperationsProvider component.");return t},xp=function(){var e=yp().operationEntities,t=_p;e&&(t=e.operationDispatchContext);var n=(0,rl.useContext)(t);if(!n)throw new Error("TwoUIOperation: Context is uninitialized. Confirm that your component is contained within an TwoUIOperationsProvider component.");return n},Sp={areaBiId:"areaUndefined"},kp=(0,rl.createContext)({reportComponentValidationErrorEvent:function(e,t,n){},logComponentMountEvent:function(e,t,n){},twoUITelemetryIds:Sp,twoUIFlights:[],getCv:function(){return""},reportClick:function(e){},checkUrlAndReportHttp:function(e){}}),Tp=function(){return(0,rl.useContext)(kp)},Ip=function(e){var t=e.replace(/[^a-z0-9\-]/gi,"").substring(0,50);return 0===t.length?Sp.areaBiId:t},Ap=function(e,t,n){},Pp=function(t){var n=t.twoUITelemetryIds,r=t.twoUIFlights,o=t.logComponentMountEvent,i=t.reportHttpUrl,a=t.reportComponentValidationErrorEvent,s=t.reportClick,c=t.getCv,l=t.children,u=t.externalEntities,d=function(t){return(0,e.__assign)((0,e.__assign)({},t),{areaBiId:Ip(t.areaBiId)})}(n);Ap=a||Ap;return ol().createElement(kp.Provider,{value:{twoUITelemetryIds:d,twoUIFlights:r,logComponentMountEvent:function(e,t,n){null===o||void 0===o||o(e,t,n)},reportClick:function(e){null===s||void 0===s||s(e)},reportComponentValidationErrorEvent:function(e,t,n){null===Ap||void 0===Ap||Ap(e,t,n)},getCv:function(){return(null===c||void 0===c?void 0:c())||""},checkUrlAndReportHttp:function(e){e&&i&&function(e){return!!e.startsWith("http://")}(e)&&i(e)}}},ol().createElement(vp,{externalEntities:u},ol().createElement(wp,null,l)))},Dp=__webpack_require__(95803),Rp=__webpack_require__.n(Dp),Mp=__webpack_require__(67153),Np=__webpack_require__.n(Mp),Lp=3e4;function Op(e,t,n,r){return void 0===n&&(n={}),jp(e,n,r),qp("GET",e,t,n,Rp().get(e,n),r)}function Fp(e,t,n,r,o){return void 0===r&&(r={}),jp(e,r,o),qp("POST",e,t,r,Rp().post(e,n,r),o)}function Bp(e,t,n,r,o){return void 0===r&&(r={}),jp(e,r,o),qp("PUT",e,t,r,Rp().put(e,n,r),o)}function Hp(e,t,n,r){return void 0===n&&(n={}),jp(e,n,r),qp("DELETE",e,t,n,Rp().delete(e,n),r)}function zp(e,t,n){return void 0===n&&(n={}),Vp(e,"DirectClientCall",t,n)}function Up(e,t,n){return void 0===n&&(n={}),Vp(new Promise((function(t,r){Np()(e,{param:n.callbackName,timeout:n.timeout||Lp},(function(e,n){e?r(e):t(n)}))})),e,t,n)}function Vp(e,t,n,r){var o={operationName:n.operation,requestUri:t,partnerName:n.partnerName,customData:n.customData},i=performance.now();return e.then((function(e){return r.errorField&&e[r.errorField]?Promise.reject(e[r.errorField]):(o.httpStatusCode=200,Promise.resolve(e))})).catch((function(e){return o.httpStatusCode=500,o.errorMessage=e.message?e.message.toString():e.toString(),Promise.reject(e)})).finally((function(){var e,t=performance.now();o.latency=t-i,o.timeout=null!==(e=r.timeout)&&void 0!==e?e:Lp,Eu(o)}))}function jp(e,t,n){var r;if(void 0===t.timeout&&(t.timeout=Lp),t.headers||(t.headers={}),!1!==(null===n||void 0===n?void 0:n.addXRequestedWithHeader)&&(t.headers["X-Requested-With"]="XMLHttpRequest"),bu(),!1!==(null===n||void 0===n?void 0:n.addCVHeader)&&(t.headers["MS-CV"]=yu()),(null===n||void 0===n?void 0:n.withCredentials)&&(t.withCredentials=!0),!function(e){var t;try{t=location.href}catch(a){var n=document.createElement("a");n.href="",t=n.href}var r=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,o=r.exec(t.toLowerCase()),i=r.exec(e?e.toLowerCase():"");return!(!i||!o||i[1]===o[1]&&i[2]===o[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(o[3]||("http:"===o[1]?"80":"443")))}(e)){var o=function(){for(var e="__RequestVerificationToken",t=document.getElementsByTagName("input"),n=0;n<t.length;n++){var r=t[n];if("hidden"===r.type&&r.name===e)return{name:e,value:r.value}}return null}();o&&(t.headers[o.name]=o.value)}if(null===(r=window.BradburyTelemetry)||void 0===r?void 0:r.cc){var i=window.BradburyTelemetry.cc.serialize();i&&!1!==(null===n||void 0===n?void 0:n.addCorrelationContextHeader)&&(t.headers["Correlation-Context"]=i)}}var qp=function(e,t,n,r,o,i){var a,s={operationName:n.operation,requestUri:t,httpMethod:e,partnerName:n.partnerName,customData:n.customData,overrideCv:null===(a=r.headers)||void 0===a?void 0:a["MS-CV"]},c=performance.now();return o.then((function(e){return s.httpStatusCode=e.status,s.contentType=e.headers["content-type"],s.responseSize=e.headers["content-length"],e})).catch((function(e){var t,n,r,o=NaN;return e.code&&(o=parseInt(e.code,10)||NaN),s.serviceErrorCode=o,s.errorMessage=e.message,e.response&&e.response.status&&(s.httpStatusCode=e.response.status),e.response&&e.response.headers&&(s.contentType=e.response.headers["content-type"],s.responseSize=e.response.headers["content-length"]),(null===(n=null===(t=e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.error)&&(s.responseDataError=e.response.data.error),e.config&&(e.config.headers={},e.config.data={}),e.response&&(e.response.headers={}),(null===(r=e.response)||void 0===r?void 0:r.config)&&(e.response.config.headers={},e.response.config.data={}),Promise.reject(e)})).finally((function(){var e,t=performance.now();s.latency=t-c,s.timeout=null!==(e=r.timeout)&&void 0!==e?e:Lp,Eu(s,null===i||void 0===i?void 0:i.overrideRequestQosData)}))},Wp={top:-2,height:1,position:"absolute",overflow:"hidden"},Gp=function(t){var n=t.area,r=t.view,o=t.manualPageView,i=void 0!==o&&o,a=t.requiredComponents,s=t.withoutQosTracking,c=void 0!==s&&s,l=t.shareParentOperations,u=void 0!==l&&l,d=t.scrollToTopOnNav,p=void 0===d||d,h=t.routeHeader,f=t.children,m=(0,e.__rest)(t,["area","view","manualPageView","requiredComponents","withoutQosTracking","shareParentOperations","scrollToTopOnNav","routeHeader","children"]);return ll((function(){i?v().setSpaPageId("".concat(n,".").concat(r)):xu(n,r)})),ol().createElement(Md,(0,e.__assign)({},m,{key:"".concat(n,".").concat(r)}),h&&ol().createElement("div",{style:Wp,"aria-live":"assertive"},h),p&&ol().createElement(Qp,null),c?ol().createElement(Yp,null,f):ol().createElement(Kp,{area:n,view:r,manualPageView:i,requiredComponents:a,shareParentOperations:u},f))},Kp=function(e){var t=e.area,n=e.view,r=e.manualPageView,o=void 0!==r&&r,i=e.shareParentOperations,a=void 0!==i&&i,s=e.requiredComponents,c=e.children;return ol().createElement(np,{area:t,view:n,manualPageView:o,requiredComponents:s||[],autoTrackComponents:!s},ol().createElement(mp,{shareParentOperations:a},c))},Yp=function(e){var t=e.children;return ol().createElement(ol().Fragment,null,t)},Qp=function(){var e=document.getElementById(fl.p);return(0,rl.useLayoutEffect)((function(){e?e.scrollTop=0:window.scrollTo(0,0)}),[]),null};function Xp(e,t){var n;void 0===t&&(t=!0);var r,o=e.toLowerCase(),i=(null===(n=window.MeePortal)||void 0===n?void 0:n.g_userFeatures)||[];r=$p(o)?o.substr(0,o.length-Jp.length):"".concat(o,"cf");var a=i.filter((function(e){return e.split(":")[0]===o||e.split(":")[0]===r}));return a.length>0&&t&&function(e){var t;null===(t=window.BradburyTelemetry)||void 0===t||t.experiments.reportExperimentTrigger(e)}(a.join("|")),i.some((function(e){return e.split(":")[0]===o}))}var Jp="cf",$p=function(e){return e.substr(-Jp.length)===Jp};var Zp,eh={startOperation:function(e,t,n){},reportSuccess:function(e,t,n){},reportFailure:function(e,t,n,r){},reportCancel:function(e,t){}},th=(0,rl.createContext)(eh),nh=function(t){var n,r=Ep();if(t.updatingView){var o=null===(n=r[t.operationData.operationName])||void 0===n?void 0:n.status;return ol().createElement(kl,{isUpdating:"updating"===o},ol().createElement(rh,(0,e.__assign)({},t)))}return ol().createElement(rh,(0,e.__assign)({},t))},rh=function(e){var t=e.operationData,n=e.finishedView,r=e.failedView,o=void 0===r?null:r,i=e.firstLoadView,a=void 0===i?null:i,s=e.inertView,c=void 0===s?null:s,l=e.updateFailedView,u=void 0===l?o:l,d=e.updatingView,p=void 0===d?n:d,h=Ep()[t.operationName],f=null===h||void 0===h?void 0:h.status;if(!f)return"finished"===t.defaultState?n:c;switch(f){case"updating":return p;case"first-load":return a;case"finished":return n;case"update-failed":return u;case"failed":return o;default:return c}},oh=function(t){var n,r,o=null!==(r=null===(n=yp().operationEntities)||void 0===n?void 0:n.ExternalProgressView)&&void 0!==r?r:nh;return ol().createElement(o,(0,e.__assign)({},t))},ih=function(e){var t=e.areaBiId,n=e.children,r=Xp("GTwouiLogging")?Au:void 0,o=Xp("XGPUGamerInfoAndRecentlyPlayed",!1)||Xp("PCGamerInfoAndRecentlyPlayed",!1),i={areaBiId:t||"areaUndefined"};return ol().createElement(Pp,{twoUITelemetryIds:i,logComponentMountEvent:r,getCv:yu,reportClick:$d,reportHttpUrl:Tu,reportComponentValidationErrorEvent:Iu,externalEntities:{operationEntities:{operationDispatchContext:lp,ExternalProgressView:hp},componentQosContext:op},twoUIFlights:o?["lowerMediaImageHeight"]:[]},n)},ah=function(e,t){if(!e)throw Error("inMemoryCache: null promiseCache sent to removePromiseCacheEntry");e[t]=null},sh=function(t,n,r,o){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var i,a,s,c;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:if(!t)throw Error("inMemoryCache: null promiseCache sent to fromInMemoryCache");return(i=t[n])?(null===o||void 0===o?void 0:o.reload)?[4,a=r()]:[3,2]:[3,3];case 1:e.sent(),t[n]=a,i=a,e.label=2;case 2:return[2,i];case 3:s=r(),t[n]=s,e.label=4;case 4:return e.trys.push([4,6,,7]),[4,s];case 5:return e.sent(),[3,7];case 6:throw c=e.sent(),t[n]=null,c;case 7:return[2,s]}}))}))},ch={},lh=function(t){var n=t.errorMessage,r=t.errorComponent,o=(0,rl.useState)({title:"",summary:""}),i=o[0],a=o[1];ll((function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t;return(0,e.__generator)(this,(function(n){switch(n.label){case 0:return[4,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(t){return[2,sh(ch,"getFatalErrorContent",(function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,n;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Op("/CmsContent/fatalError",{operation:"GetFatalErrorPageContent"})];case 1:return[2,e.sent().data];case 2:return t=e.sent(),401===(null===(n=t.response)||void 0===n?void 0:n.status)&&window.location.reload(),[2,Promise.reject(t)];case 3:return[2]}}))}))}))]}))}))];case 1:return t=n.sent(),a(t),[2]}}))}))}));try{fu({error:"ErrorComponentWrapper_unhandledException",data:{errorMessage:n||"unhandled exception"}})}catch(vB){}return r({content:i,cv:yu()})},uh=function(e,t){var n,r=window.BradburyTelemetry.bi.getCurrentPageId()||"unknown.unknown",o=t?t.componentStack:e.stack;!function(e){var t;null===(t=window.BradburyTelemetry)||void 0===t||t.qos.reportFatalError(e)}({location:null===(n=window.BradburyTelemetry)||void 0===n?void 0:n.bi.getCurrentLocation(),message:e?e.message:"",pageId:r,script:"",userAgent:window.navigator.userAgent||"",ext:{Area:r.split(".")[0],Stack:JSON.stringify(o),isReact:!0,devServer:null!==Pl("awa-devserver")}})},dh=(0,rl.createContext)(null),ph=function(t){var n=t.children,r=t.errorComponent,o=(0,rl.useState)(!1),i=o[0],a=o[1],s=(0,rl.useState)(""),c=s[0],l=s[1];return i?ol().createElement(lh,{errorMessage:c,errorComponent:r}):ol().createElement(dh.Provider,{value:{protectedOperation:function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var n;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t()];case 1:return[2,e.sent()];case 2:return n=e.sent(),console.error(n),a(!0),l(n.message),uh(n),[3,3];case 3:return[2,Promise.resolve(null)]}}))}))}}},n)},hh=function(t){function n(e){var n=t.call(this,e)||this;return n.resetErrorState=function(){n.setState({hasError:!1})},n.state={hasError:!1},n}return(0,e.__extends)(n,t),n.getDerivedStateFromError=function(e){return{hasError:!0,errorMessage:null===e||void 0===e?void 0:e.message}},n.prototype.componentDidMount=function(){window.addEventListener("popstate",this.resetErrorState)},n.prototype.componentDidCatch=function(e,t){uh(e,t)},n.prototype.componentWillUnmount=function(){window.removeEventListener("popstate",this.resetErrorState)},n.prototype.render=function(){return this.state.hasError?ol().createElement(lh,{errorMessage:this.state.errorMessage,errorComponent:this.props.errorComponent}):ol().createElement(ph,{errorComponent:this.props.errorComponent},this.props.children)},n}(ol().Component);!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)"}(Zp||(Zp={}));var fh,mh=0,gh=1,vh=2,yh="undefined"!==typeof navigator&&/rv:11.0/.test(navigator.userAgent),bh={};try{bh=window||{}}catch(lr){}var _h,Ch=function(){function t(t,n){var r,o,i,a,s,c;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=(0,e.__assign)({injectionMode:"undefined"===typeof document?mh:gh,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},t),this._classNameToArgs=null!==(r=null===n||void 0===n?void 0:n.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(o=null===n||void 0===n?void 0:n.counter)&&void 0!==o?o:this._counter,this._keyToClassName=null!==(a=null!==(i=this._config.classNameCache)&&void 0!==i?i:null===n||void 0===n?void 0:n.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(s=null===n||void 0===n?void 0:n.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(c=null===n||void 0===n?void 0:n.rules)&&void 0!==c?c:this._rules}return t.getInstance=function(){if(!(fh=bh.__stylesheet__)||fh._lastStyleElement&&fh._lastStyleElement.ownerDocument!==document){var e=(null===bh||void 0===bh?void 0:bh.FabricConfig)||{},n=new t(e.mergeStyles,e.serializedStylesheet);fh=n,bh.__stylesheet__=n}return fh},t.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},t.prototype.setConfig=function(t){this._config=(0,e.__assign)((0,e.__assign)({},this._config),t)},t.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},t.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},t.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},t.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},t.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},t.prototype.getClassNameCache=function(){return this._keyToClassName},t.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},t.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},t.prototype.insertRule=function(e,t){var n=this._config.injectionMode,r=n!==mh?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case gh:var o=r.sheet;try{o.insertRule(e,o.cssRules.length)}catch(i){}break;case vh:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(e){return e()}))},t.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},t.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},t.prototype.resetKeys=function(){this._keyToClassName={}},t.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"===typeof document||(this._styleElement=this._createStyleElement(),yh||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},t.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style"),n=null;t.setAttribute("data-merge-styles","true");var r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var o=this._findPlaceholderStyleTag();n=o?o.nextElementSibling:e.childNodes[0]}return e.insertBefore(t,e.contains(n)?n:null),this._lastStyleElement=t,t},t.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},t}();function wh(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],o=Ch.getInstance();function i(e){for(var t=0,a=e;t<a.length;t++){var s=a[t];if(s)if("string"===typeof s)if(s.indexOf(" ")>=0)i(s.split(" "));else{var c=o.argsFromClassName(s);c?i(c):-1===n.indexOf(s)&&n.push(s)}else Array.isArray(s)?i(s):"object"===typeof s&&r.push(s)}}return i(e),{classes:n,objects:r}}function Eh(e){_h!==e&&(_h=e)}function xh(){return void 0===_h&&(_h="undefined"!==typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),_h}function Sh(){return{rtl:xh()}}_h=xh();var kh,Th={};function Ih(e,t){var n=e[t];"-"!==n.charAt(0)&&(e[t]=Th[n]=Th[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase())}var Ah={"user-select":1};function Ph(e,t){var n=function(){var e;if(!kh){var t="undefined"!==typeof document?document:void 0,n="undefined"!==typeof navigator?navigator:void 0,r=null===(e=null===n||void 0===n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();kh=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return kh}(),r=e[t];if(Ah[r]){var o=e[t+1];Ah[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var Dh,Rh=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function Mh(e,t){var n=e[t],r=e[t+1];if("number"===typeof r){var o=Rh.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]=""+r+a}}var Nh="left",Lh="right",Oh=((Dh={}).left=Lh,Dh.right=Nh,Dh),Fh={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function Bh(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"===typeof o&&o.indexOf("@noflip")>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(Nh)>=0)t[n]=r.replace(Nh,Lh);else if(r.indexOf(Lh)>=0)t[n]=r.replace(Lh,Nh);else if(String(o).indexOf(Nh)>=0)t[n+1]=o.replace(Nh,Lh);else if(String(o).indexOf(Lh)>=0)t[n+1]=o.replace(Lh,Nh);else if(Oh[r])t[n]=Oh[r];else if(Fh[o])t[n+1]=Fh[o];else switch(r){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}(o);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o,0)}}}function Hh(e){var t=e&&e["&"];return t?t.displayName:void 0}var zh=/\:global\((.+?)\)/g;function Uh(e,t){return e.indexOf(":global(")>=0?e.replace(zh,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function Vh(e,t,n,r){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?jh([r],t,n=n+"{"+e):n.indexOf(",")>-1?function(e){if(!zh.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],o=t[2];return e.slice(0,n)+o+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return jh([r],t,Uh(n,e))})):jh([r],t,Uh(n,e))}function jh(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=Ch.getInstance(),o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var i=0,a=e;i<a.length;i++){var s=a[i];if("string"===typeof s){var c=r.argsFromClassName(s);c&&jh(c,t,n)}else if(Array.isArray(s))jh(s,t,n);else for(var l in s)if(s.hasOwnProperty(l)){var u=s[l];if("selectors"===l){var d=s.selectors;for(var p in d)d.hasOwnProperty(p)&&Vh(n,t,p,d[p])}else"object"===typeof u?null!==u&&Vh(n,t,l,u):void 0!==u&&("margin"===l||"padding"===l?qh(o,l,u):o[l]=u)}}return t}function qh(e,t,n){var r="string"===typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function Wh(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];n.push(a);var s=t[a];for(var c in s)s.hasOwnProperty(c)&&void 0!==s[c]&&(r=!0,n.push(c,s[c]))}return r?n.join(""):void 0}function Gh(e,t){return t<=0?"":1===t?e:e+Gh(e,t-1)}function Kh(e,t){if(!t)return"";var n=[];for(var r in t)t.hasOwnProperty(r)&&"displayName"!==r&&void 0!==t[r]&&n.push(r,t[r]);for(var o=0;o<n.length;o+=2)Ih(n,o),Mh(n,o),Bh(e,n,o),Ph(n,o);for(o=1;o<n.length;o+=4)n.splice(o,1,":",n[o],";");return n.join("")}function Yh(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=jh(t),o=Wh(e,r);if(o){var i=Ch.getInstance(),a={className:i.classNameFromKey(o),key:o,args:t};if(!a.className){a.className=i.getClassName(Hh(r));for(var s=[],c=0,l=r.__order;c<l.length;c++){var u=l[c];s.push(u,Kh(e,r[u]))}a.rulesToInsert=s}return a}}function Qh(e,t){void 0===t&&(t=1);var n=Ch.getInstance(),r=e.className,o=e.key,i=e.args,a=e.rulesToInsert;if(a){for(var s=0;s<a.length;s+=2){var c=a[s+1];if(c){var l=a[s],u=(l=l.replace(/&/g,Gh("."+e.className,t)))+"{"+c+"}"+(0===l.indexOf("@")?"}":"");n.insertRule(u)}}n.cacheClassName(r,o,i,a)}}function Xh(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Jh(e,Sh())}function Jh(t,n){var r=wh(t instanceof Array?t:[t]),o=r.classes,i=r.objects;return i.length&&o.push(function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=Yh.apply(void 0,(0,e.__spreadArray)([t],n));return o?(Qh(o,t.specificityMultiplier),o.className):""}(n||{},i)),o.join(" ")}var $h=!1,Zh=0,ef={empty:!0},tf={},nf="undefined"===typeof WeakMap?null:WeakMap;function rf(){Zh++}function of(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!nf)return e;if(!$h){var r=Ch.getInstance();r&&r.onReset&&Ch.getInstance().onReset(rf),$h=!0}var o,i=0,a=Zh;return function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var c=o;(void 0===o||a!==Zh||t>0&&i>t)&&(o=cf(),i=0,a=Zh),c=o;for(var l=0;l<r.length;l++){var u=sf(r[l]);c.map.has(u)||c.map.set(u,cf()),c=c.map.get(u)}return c.hasOwnProperty("value")||(c.value=e.apply(void 0,r),i++),!n||null!==c.value&&void 0!==c.value||(c.value=e.apply(void 0,r)),c.value}}function af(e){if(!nf)return e;var t=new nf;return function(n){if(!n||"function"!==typeof n&&"object"!==typeof n)return e(n);if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}function sf(e){return e?"object"===typeof e||"function"===typeof e?e:(tf[e]||(tf[e]={val:e}),tf[e]):ef}function cf(){return{map:nf?new nf:null}}var lf=9,uf=13,df=18,pf=27,hf=32,ff=33,mf=34,gf=35,vf=36,yf=37,bf=38,_f=39,Cf=40,wf=65;function Ef(){return"undefined"!==typeof window&&!(!window.document||!window.document.createElement)}function xf(e){if(Ef()&&"undefined"!==typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}var Sf=void 0;try{Sf=window}catch(Ple){}function kf(e){if(Ef()&&"undefined"!==typeof Sf){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:Sf}}function Tf(e){var t=null;try{var n=kf();t=n?n.sessionStorage.getItem(e):null}catch(Ple){}return t}var If,Af="isRTL";function Pf(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===If){var t=Tf(Af);null!==t&&function(e,t){void 0===t&&(t=!1);var n=xf();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){var n;try{null===(n=kf())||void 0===n||n.sessionStorage.setItem(e,t)}catch(Ple){}}(Af,e?"1":"0");Eh(If=e)}(If="1"===t);var n=xf();void 0===If&&n&&Eh(If="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!If}function Df(e,t){return void 0===t&&(t={}),Pf(t)&&(e===yf?e=_f:e===_f&&(e=yf)),e}var Rf=e.__assign;function Mf(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=t;return i.isSlot?0===(r=rl.Children.toArray(r)).length?i(n):i((0,e.__assign)((0,e.__assign)({},n),{children:r})):rl.createElement.apply(rl,(0,e.__spreadArray)([t,n],r))}function Nf(t,n){void 0===n&&(n={});var r=n.defaultProp,o=void 0===r?"children":r;return function(n,r,i,a,s){if(rl.isValidElement(r))return r;var c=function(e,t){var n,r;"string"===typeof t||"number"===typeof t||"boolean"===typeof t?((n={})[e]=t,r=n):r=t;return r}(o,r),l=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];for(var o={},i=[],a=0,s=n;a<s.length;a++){var c=s[a];i.push(c&&c.className),Rf(o,c)}return o.className=Jh([e,i],{rtl:Pf(t)}),o}(a,s,n,c);if(i){if(i.component){var u=i.component;return rl.createElement(u,(0,e.__assign)({},l))}if(i.render)return i.render(l,t)}return rl.createElement(t,(0,e.__assign)({},l))}}var Lf=of((function(e){return Nf(e)}));function Of(e,t){var n={},r=e,o=function(e){if(t.hasOwnProperty(e)){var o=function(n){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];if(o.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return Ff(t[e],n,r[e],r.slots&&r.slots[e],r._defaultStyles&&r._defaultStyles[e],r.theme)};o.isSlot=!0,n[e]=o}};for(var i in t)o(i);return n}function Ff(e,t,n,r,o,i){return void 0!==e.create?e.create(t,n,r,o):Lf(e)(t,n,r,o,i)}function Bf(e){var t=Ch.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",Kh(Sh(),e[r]),"}");var o=n.join(""),i=t.classNameFromKey(o);if(i)return i;var a=t.getClassName();return t.insertRule("@keyframes "+a+"{"+o+"}",!0),t.cacheClassName(a,o,[],["keyframes",o]),a}var Hf="cubic-bezier(.1,.9,.2,1)",zf="cubic-bezier(.1,.25,.75,.9)",Uf="0.167s",Vf="0.267s",jf="0.367s",qf="0.467s",Wf=Bf({from:{opacity:0},to:{opacity:1}}),Gf=Bf({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),Kf=Dm(-10),Yf=Dm(-20),Qf=Dm(-40),Xf=Dm(-400),Jf=Dm(10),$f=Dm(20),Zf=Dm(40),em=Dm(400),tm=Rm(10),nm=Rm(20),rm=Rm(-10),om=Rm(-20),im=Mm(10),am=Mm(20),sm=Mm(40),cm=Mm(400),lm=Mm(-10),um=Mm(-20),dm=Mm(-40),pm=Mm(-400),hm=Nm(-10),fm=Nm(-20),mm=Nm(10),gm=Nm(20),vm=Bf({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),ym=Bf({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),bm=Bf({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),_m=Bf({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),Cm=Bf({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),wm=Bf({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),Em=Hf,xm=zf,Sm=Uf,km=Vf,Tm=jf,Im=qf,Am={slideRightIn10:Pm(Wf+","+Kf,jf,Hf),slideRightIn20:Pm(Wf+","+Yf,jf,Hf),slideRightIn40:Pm(Wf+","+Qf,jf,Hf),slideRightIn400:Pm(Wf+","+Xf,jf,Hf),slideLeftIn10:Pm(Wf+","+Jf,jf,Hf),slideLeftIn20:Pm(Wf+","+$f,jf,Hf),slideLeftIn40:Pm(Wf+","+Zf,jf,Hf),slideLeftIn400:Pm(Wf+","+em,jf,Hf),slideUpIn10:Pm(Wf+","+tm,jf,Hf),slideUpIn20:Pm(Wf+","+nm,jf,Hf),slideDownIn10:Pm(Wf+","+rm,jf,Hf),slideDownIn20:Pm(Wf+","+om,jf,Hf),slideRightOut10:Pm(Gf+","+im,jf,Hf),slideRightOut20:Pm(Gf+","+am,jf,Hf),slideRightOut40:Pm(Gf+","+sm,jf,Hf),slideRightOut400:Pm(Gf+","+cm,jf,Hf),slideLeftOut10:Pm(Gf+","+lm,jf,Hf),slideLeftOut20:Pm(Gf+","+um,jf,Hf),slideLeftOut40:Pm(Gf+","+dm,jf,Hf),slideLeftOut400:Pm(Gf+","+pm,jf,Hf),slideUpOut10:Pm(Gf+","+hm,jf,Hf),slideUpOut20:Pm(Gf+","+fm,jf,Hf),slideDownOut10:Pm(Gf+","+mm,jf,Hf),slideDownOut20:Pm(Gf+","+gm,jf,Hf),scaleUpIn100:Pm(Wf+","+vm,jf,Hf),scaleDownIn100:Pm(Wf+","+bm,jf,Hf),scaleUpOut103:Pm(Gf+","+_m,Uf,zf),scaleDownOut98:Pm(Gf+","+ym,Uf,zf),fadeIn100:Pm(Wf,Uf,zf),fadeIn200:Pm(Wf,Vf,zf),fadeIn400:Pm(Wf,jf,zf),fadeIn500:Pm(Wf,qf,zf),fadeOut100:Pm(Gf,Uf,zf),fadeOut200:Pm(Gf,Vf,zf),fadeOut400:Pm(Gf,jf,zf),fadeOut500:Pm(Gf,qf,zf),rotate90deg:Pm(Cm,"0.1s",zf),rotateN90deg:Pm(wm,"0.1s",zf)};function Pm(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function Dm(e){return Bf({from:{transform:"translate3d("+e+"px,0,0)",pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function Rm(e){return Bf({from:{transform:"translate3d(0,"+e+"px,0)",pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function Mm(e){return Bf({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function Nm(e){return Bf({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var Lm,Om,Fm,Bm,Hm,zm=function(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=Xh(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}(Am);!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)"}(Lm||(Lm={})),function(e){e.Arabic="'"+Lm.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+Lm.Cyrillic+"'",e.EastEuropean="'"+Lm.EastEuropean+"'",e.Greek="'"+Lm.Greek+"'",e.Hebrew="'"+Lm.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+Lm.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+Lm.Vietnamese+"'",e.WestEuropean="'"+Lm.WestEuropean+"'",e.Armenian="'"+Lm.Armenian+"'",e.Georgian="'"+Lm.Georgian+"'"}(Om||(Om={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",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"}(Fm||(Fm={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(Bm||(Bm={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(Hm||(Hm={}));var Um="'Segoe UI', '"+Lm.WestEuropean+"'",Vm={ar:Om.Arabic,bg:Om.Cyrillic,cs:Om.EastEuropean,el:Om.Greek,et:Om.EastEuropean,he:Om.Hebrew,hi:Om.Hindi,hr:Om.EastEuropean,hu:Om.EastEuropean,ja:Om.Japanese,kk:Om.EastEuropean,ko:Om.Korean,lt:Om.EastEuropean,lv:Om.EastEuropean,pl:Om.EastEuropean,ru:Om.Cyrillic,sk:Om.EastEuropean,"sr-latn":Om.EastEuropean,th:Om.Thai,tr:Om.EastEuropean,uk:Om.Cyrillic,vi:Om.Vietnamese,"zh-hans":Om.ChineseSimplified,"zh-hant":Om.ChineseTraditional,hy:Om.Armenian,ka:Om.Georgian};function jm(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}function qm(e){var t=function(e){for(var t in Vm)if(Vm.hasOwnProperty(t)&&e&&0===t.indexOf(e))return Vm[t];return Um}(e),n=t+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";return{tiny:jm(Fm.mini,Bm.regular,n),xSmall:jm(Fm.xSmall,Bm.regular,n),small:jm(Fm.small,Bm.regular,n),smallPlus:jm(Fm.smallPlus,Bm.regular,n),medium:jm(Fm.medium,Bm.regular,n),mediumPlus:jm(Fm.mediumPlus,Bm.regular,n),large:jm(Fm.large,Bm.regular,n),xLarge:jm(Fm.xLarge,Bm.semibold,n),xLargePlus:jm(Fm.xLargePlus,Bm.semibold,n),xxLarge:jm(Fm.xxLarge,Bm.semibold,n),xxLargePlus:jm(Fm.xxLargePlus,Bm.semibold,n),superLarge:jm(Fm.superLarge,Bm.semibold,n),mega:jm(Fm.mega,Bm.semibold,n)}}var Wm="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",Gm=480;function Km(e,t){return"@media only screen"+("number"===typeof e?" and (min-width: "+e+"px)":"")+("number"===typeof t?" and (max-width: "+t+"px)":"")}var Ym,Qm="ms-Fabric--isFocusVisible",Xm="ms-Fabric--isFocusHidden";function Jm(e,t){e&&(e.classList.add(t?Qm:Xm),e.classList.remove(t?Xm:Qm))}function $m(e,t,n){var r;n?n.forEach((function(t){return Jm(t.current,e)})):Jm(null===(r=kf(t))||void 0===r?void 0:r.document.body,e)}function Zm(e,t,n,r,o,i,a,s){return eg(e,"number"!==typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:o,outlineColor:i,isFocusedOnly:a,borderRadius:s})}function eg(e,t){var n,r;void 0===t&&(t={});var o=t.borderRadius,i=t.inset,a=void 0===i?0:i,s=t.width,c=void 0===s?1:s,l=t.position,u=void 0===l?"relative":l,d=t.highContrastStyle,p=t.borderColor,h=void 0===p?e.palette.white:p,f=t.outlineColor,m=void 0===f?e.palette.neutralSecondary:f,g=t.isFocusedOnly;return{outline:"transparent",position:u,selectors:(n={"::-moz-focus-inner":{border:"0"}},n[".ms-Fabric--isFocusVisible &"+(void 0===g||g?":focus":"")+":after"]={content:'""',position:"absolute",left:a+1,top:a+1,bottom:a+1,right:a+1,border:c+"px solid "+h,outline:c+"px solid "+m,zIndex:Ym.FocusStyle,borderRadius:o,selectors:(r={},r[Wm]=d,r)},n)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Ym||(Ym={}));var tg=function(e,t,n,r){var o,i,a;void 0===n&&(n="border"),void 0===r&&(r=-1);var s="borderBottom"===n;return{borderColor:e,selectors:{":after":(o={pointerEvents:"none",content:"''",position:"absolute",left:s?0:r,top:r,bottom:r,right:s?0:r},o[n]="2px solid "+e,o.borderRadius=t,o.width="borderBottom"===n?"100%":void 0,o.selectors=(i={},i[Wm]=(a={},a["border"===n?"borderColor":"borderBottomColor"]="Highlight",a),i),o)}}},ng={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},rg=of((function(e,t){var n=Ch.getInstance();return t?Object.keys(e).reduce((function(t,r){return t[r]=n.getClassName(e[r]),t}),{}):e}));function og(e,t,n){return rg(e,void 0!==n?n:t.disableGlobalClassNames)}var ig=0,ag=function(){function e(){}return e.getValue=function(e,t){var n=sg();return void 0===n[e]&&(n[e]="function"===typeof t?t():t),n[e]},e.setValue=function(e,t){var n=sg(),r=n.__callbacks__,o=n[e];if(t!==o){n[e]=t;var i={oldValue:o,value:t,key:e};for(var a in r)r.hasOwnProperty(a)&&r[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=cg();t||(t=e.__id__=String(ig++)),n[t]=e},e.removeChangeListener=function(e){delete cg()[e.__id__]},e}();function sg(){var e,t=kf()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function cg(){return sg().__callbacks__}var lg={settings:{},scopedSettings:{},inCustomizerContext:!1},ug=ag.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),dg=[],pg=function(){function t(){}return t.reset=function(){ug.settings={},ug.scopedSettings={}},t.applySettings=function(n){ug.settings=(0,e.__assign)((0,e.__assign)({},ug.settings),n),t._raiseChange()},t.applyScopedSettings=function(n,r){ug.scopedSettings[n]=(0,e.__assign)((0,e.__assign)({},ug.scopedSettings[n]),r),t._raiseChange()},t.getSettings=function(e,t,n){void 0===n&&(n=lg);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&ug.scopedSettings[t]||{},a=0,s=e;a<s.length;a++){var c=s[a];r[c]=o[c]||n.settings[c]||i[c]||ug.settings[c]}return r},t.applyBatchedUpdates=function(e,n){t._suppressUpdates=!0;try{e()}catch(lr){}t._suppressUpdates=!1,n||t._raiseChange()},t.observe=function(e){dg.push(e)},t.unobserve=function(e){dg=dg.filter((function(t){return t!==e}))},t._raiseChange=function(){t._suppressUpdates||dg.forEach((function(e){return e()}))},t}(),hg=function(){return hg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hg.apply(this,arguments)},fg="undefined"===typeof window?__webpack_require__.g:window,mg=fg&&fg.CSPSettings&&fg.CSPSettings.nonce,gg=function(){var e=fg.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=hg(hg({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=hg(hg({},e),{registeredThemableStyles:[]}));return fg.__themeState__=e,e}();function vg(e,t){gg.loadStyles?gg.loadStyles(_g(e).styleString,e):function(e){if("undefined"===typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=_g(e),o=r.styleString,i=r.themable;n.setAttribute("data-load-themed-styles","true"),mg&&n.setAttribute("nonce",mg);n.appendChild(document.createTextNode(o)),gg.perf.count++,t.appendChild(n);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:n},document.dispatchEvent(a);var s={styleElement:n,themableStyle:e};i?gg.registeredThemableStyles.push(s):gg.registeredStyles.push(s)}(e)}function yg(e){gg.theme=e,function(){if(gg.theme){for(var e=[],t=0,n=gg.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(!function(e){void 0===e&&(e=3);3!==e&&2!==e||(bg(gg.registeredStyles),gg.registeredStyles=[]);3!==e&&1!==e||(bg(gg.registeredThemableStyles),gg.registeredThemableStyles=[])}(1),vg([].concat.apply([],e)))}}()}function bg(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function _g(e){var t=gg.theme,n=!1;return{styleString:(e||[]).map((function(e){var r=e.theme;if(r){n=!0;var o=t?t[r]:void 0,i=e.defaultValue||"inherit";return t&&!o&&console&&!(r in t)&&"undefined"!==typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+r+'". Falling back to "'+i+'".'),o||i}return e.rawString})).join(""),themable:n}}var Cg,wg={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"},Eg={elevation4:Zp.depth4,elevation8:Zp.depth8,elevation16:Zp.depth16,elevation64:Zp.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};function xg(e){var t=Ch.getInstance(),n=Kh(Sh(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{"+n+"}",!0),t.cacheClassName(r,n,[],["font-face",n])}}var Sg="language";function kg(e){if(void 0===e&&(e="sessionStorage"),void 0===Cg){var t=xf(),n="localStorage"===e?function(e){var t=null;try{var n=kf();t=n?n.localStorage.getItem(e):null}catch(Ple){}return t}(Sg):"sessionStorage"===e?Tf(Sg):void 0;n&&(Cg=n),void 0===Cg&&t&&(Cg=t.documentElement.getAttribute("lang")),void 0===Cg&&(Cg="en")}return Cg}var Tg=qm(kg());function Ig(e,t,n,r){xg({fontFamily:e="'"+e+"'",src:(void 0!==r?"local('"+r+"'),":"")+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function Ag(e,t,n,r,o){void 0===r&&(r="segoeui");var i=e+"/"+n+"/"+r;Ig(t,i+"-light",Bm.light,o&&o+" Light"),Ig(t,i+"-semilight",Bm.semilight,o&&o+" SemiLight"),Ig(t,i+"-regular",Bm.regular,o),Ig(t,i+"-semibold",Bm.semibold,o&&o+" SemiBold"),Ig(t,i+"-bold",Bm.bold,o&&o+" Bold")}function Pg(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];Dg(e||{},i)}return e}function Dg(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var o=t[r];if("object"!==typeof o||null===o||Array.isArray(o))e[r]=o;else{var i=n.indexOf(o)>-1;e[r]=i?o:Dg(e[r]||{},o,n)}}return n.pop(),e}function Rg(t,n,r,o,i){return void 0===i&&(i=!1),function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(Mg(t,n,(0,e.__assign)({primaryButtonBorder:"transparent",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",successText:o?"#92c353":"#107C10"},r),o),i)}function Mg(t,n,r,o,i){void 0===i&&(i=!1);var a={},s=t||{},c=s.white,l=s.black,u=s.themePrimary,d=s.themeDark,p=s.themeDarker,h=s.themeDarkAlt,f=s.themeLighter,m=s.neutralLight,g=s.neutralLighter,v=s.neutralDark,y=s.neutralQuaternary,b=s.neutralQuaternaryAlt,_=s.neutralPrimary,C=s.neutralSecondary,w=s.neutralSecondaryAlt,E=s.neutralTertiary,x=s.neutralTertiaryAlt,S=s.neutralLighterAlt,k=s.accent;return c&&(a.bodyBackground=c,a.bodyFrameBackground=c,a.accentButtonText=c,a.buttonBackground=c,a.primaryButtonText=c,a.primaryButtonTextHovered=c,a.primaryButtonTextPressed=c,a.inputBackground=c,a.inputForegroundChecked=c,a.listBackground=c,a.menuBackground=c,a.cardStandoutBackground=c),l&&(a.bodyTextChecked=l,a.buttonTextCheckedHovered=l),u&&(a.link=u,a.primaryButtonBackground=u,a.inputBackgroundChecked=u,a.inputIcon=u,a.inputFocusBorderAlt=u,a.menuIcon=u,a.menuHeader=u,a.accentButtonBackground=u),d&&(a.primaryButtonBackgroundPressed=d,a.inputBackgroundCheckedHovered=d,a.inputIconHovered=d),p&&(a.linkHovered=p),h&&(a.primaryButtonBackgroundHovered=h),f&&(a.inputPlaceholderBackgroundChecked=f),m&&(a.bodyBackgroundChecked=m,a.bodyFrameDivider=m,a.bodyDivider=m,a.variantBorder=m,a.buttonBackgroundCheckedHovered=m,a.buttonBackgroundPressed=m,a.listItemBackgroundChecked=m,a.listHeaderBackgroundPressed=m,a.menuItemBackgroundPressed=m,a.menuItemBackgroundChecked=m),g&&(a.bodyBackgroundHovered=g,a.buttonBackgroundHovered=g,a.buttonBackgroundDisabled=g,a.buttonBorderDisabled=g,a.primaryButtonBackgroundDisabled=g,a.disabledBackground=g,a.listItemBackgroundHovered=g,a.listHeaderBackgroundHovered=g,a.menuItemBackgroundHovered=g),y&&(a.primaryButtonTextDisabled=y,a.disabledSubtext=y),b&&(a.listItemBackgroundCheckedHovered=b),E&&(a.disabledBodyText=E,a.variantBorderHovered=(null===r||void 0===r?void 0:r.variantBorderHovered)||E,a.buttonTextDisabled=E,a.inputIconDisabled=E,a.disabledText=E),_&&(a.bodyText=_,a.actionLink=_,a.buttonText=_,a.inputBorderHovered=_,a.inputText=_,a.listText=_,a.menuItemText=_),S&&(a.bodyStandoutBackground=S,a.defaultStateBackground=S),v&&(a.actionLinkHovered=v,a.buttonTextHovered=v,a.buttonTextChecked=v,a.buttonTextPressed=v,a.inputTextHovered=v,a.menuItemTextHovered=v),C&&(a.bodySubtext=C,a.focusBorder=C,a.inputBorder=C,a.smallInputBorder=C,a.inputPlaceholderText=C),w&&(a.buttonBorder=w),x&&(a.disabledBodySubtext=x,a.disabledBorder=x,a.buttonBackgroundChecked=x,a.menuDivider=x),k&&(a.accentButtonBackground=k),(null===n||void 0===n?void 0:n.elevation4)&&(a.cardShadow=n.elevation4),!o&&(null===n||void 0===n?void 0:n.elevation8)?a.cardShadowHovered=n.elevation8:a.variantBorderHovered&&(a.cardShadowHovered="0 0 1px "+a.variantBorderHovered),a=(0,e.__assign)((0,e.__assign)({},a),r)}function Ng(e,t){var n,r,o;void 0===t&&(t={});var i=Pg({},e,t,{semanticColors:Mg(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(n=t.palette)||void 0===n?void 0:n.themePrimary)&&!(null===(r=t.palette)||void 0===r?void 0:r.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(i.fonts);a<s.length;a++){var c=s[a];i.fonts[c]=Pg(i.fonts[c],t.defaultFontStyle,null===(o=null===t||void 0===t?void 0:t.fonts)||void 0===o?void 0:o[c])}return i}!function(e){if(e){var t=e+"/fonts";Ag(t,Lm.Thai,"leelawadeeui-thai","leelawadeeui"),Ag(t,Lm.Arabic,"segoeui-arabic"),Ag(t,Lm.Cyrillic,"segoeui-cyrillic"),Ag(t,Lm.EastEuropean,"segoeui-easteuropean"),Ag(t,Lm.Greek,"segoeui-greek"),Ag(t,Lm.Hebrew,"segoeui-hebrew"),Ag(t,Lm.Vietnamese,"segoeui-vietnamese"),Ag(t,Lm.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Ag(t,Om.Selawik,"selawik","selawik"),Ag(t,Lm.Armenian,"segoeui-armenian"),Ag(t,Lm.Georgian,"segoeui-georgian"),Ig("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",Bm.light),Ig("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",Bm.semibold)}}(function(){var e,t,n=null===(e=kf())||void 0===e?void 0:e.FabricConfig;return null!==(t=null===n||void 0===n?void 0:n.fontBaseUrl)&&void 0!==t?t:"https://static2.sharepointonline.com/files/fabric/assets"}());var Lg={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function Og(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var n=!!e.isInverted;return Ng({palette:wg,effects:Eg,fonts:Tg,spacing:Lg,isInverted:n,disableGlobalClassNames:!1,semanticColors:Rg(wg,Eg,void 0,n,t),rtl:void 0},e)}var Fg=Og({}),Bg=[],Hg="theme";function zg(){var t,n,r,o=kf();(null===(n=null===o||void 0===o?void 0:o.FabricConfig)||void 0===n?void 0:n.legacyTheme)?function(t,n){var r;void 0===n&&(n=!1);Fg=Og(t,n),yg((0,e.__assign)((0,e.__assign)((0,e.__assign)((0,e.__assign)({},Fg.palette),Fg.semanticColors),Fg.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var o=r[n],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var c=s[a],l=o+c.charAt(0).toUpperCase()+c.slice(1),u=i[c];"fontSize"===c&&"number"===typeof u&&(u+="px"),t[l]=u}return t}(Fg))),pg.applySettings(((r={}).theme=Fg,r)),Bg.forEach((function(e){try{e(Fg)}catch(Ple){}}))}(o.FabricConfig.legacyTheme):pg.getSettings([Hg]).theme||((null===(r=null===o||void 0===o?void 0:o.FabricConfig)||void 0===r?void 0:r.theme)&&(Fg=Og(o.FabricConfig.theme)),pg.applySettings(((t={}).theme=Fg,t)))}zg();var Ug={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},Vg={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};function jg(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}function qg(e){console&&console.warn&&console.warn(e)}var Wg=ag.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),Gg=Ch.getInstance();Gg&&Gg.onReset&&Gg.onReset((function(){for(var e in Wg)Wg.hasOwnProperty(e)&&Wg[e].subset&&(Wg[e].subset.className=void 0)}));var Kg=function(e){return e.toLowerCase()};function Yg(t,n){var r=(0,e.__assign)((0,e.__assign)({},t),{isRegistered:!1,className:void 0}),o=t.icons;for(var i in n=n?(0,e.__assign)((0,e.__assign)({},Wg.__options),n):Wg.__options,o)if(o.hasOwnProperty(i)){var a=o[i],s=Kg(i);Wg[s]?$g(i):Wg[s]={code:a,subset:r}}}function Qg(e,t){Wg.__remapped[Kg(e)]=Kg(t)}var Xg=[],Jg=void 0;function $g(e){var t=Wg.__options;t.disableWarnings||(Xg.push(e),void 0===Jg&&(Jg=setTimeout((function(){qg("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"+Xg.slice(0,10).join(", ")+(Xg.length>10?" (+ "+(Xg.length-10)+" more)":"")),Jg=void 0,Xg=[]}),2e3)))}function Zg(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t&&1===t.length&&t[0]&&!t[0].subComponentStyles)return t[0];for(var r={},o={},i=0,a=t;i<a.length;i++){var s=a[i];if(s)for(var c in s)if(s.hasOwnProperty(c)){if("subComponentStyles"===c&&void 0!==s.subComponentStyles){var l=s.subComponentStyles;for(var u in l)l.hasOwnProperty(u)&&(o.hasOwnProperty(u)?o[u].push(l[u]):o[u]=[l[u]]);continue}var d=r[c],p=s[c];r[c]=void 0===d?p:(0,e.__spreadArray)((0,e.__spreadArray)([],Array.isArray(d)?d:[d]),Array.isArray(p)?p:[p])}}if(Object.keys(o).length>0){r.subComponentStyles={};var h=r.subComponentStyles,f=function(e){if(o.hasOwnProperty(e)){var t=o[e];h[e]=function(e){return Zg.apply(void 0,t.map((function(t){return"function"===typeof t?t(e):t})))}}};for(var u in o)f(u)}return r}function ev(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,i=t;o<i.length;o++){var a=i[o];a&&r.push("function"===typeof a?a(e):a)}return 1===r.length?r[0]:r.length?Zg.apply(void 0,r):{}}function tv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return nv(e,Sh())}function nv(e,t){var n={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=Zg.apply(void 0,e),o=[];for(var i in r)if(r.hasOwnProperty(i)){if("subComponentStyles"===i){n.subComponentStyles=r.subComponentStyles||{};continue}var a=wh(r[i]),s=a.classes,c=a.objects;if(null===c||void 0===c?void 0:c.length)(d=Yh(t||{},{displayName:i},c))&&(o.push(d),n[i]=s.concat([d.className]).join(" "));else n[i]=s.join(" ")}for(var l=0,u=o;l<u.length;l++){var d;(d=u[l])&&Qh(d,null===t||void 0===t?void 0:t.specificityMultiplier)}return n}var rv={},ov=void 0;try{ov=window}catch(Ple){}function iv(e,t){if("undefined"!==typeof ov){var n=ov.__packages__=ov.__packages__||{};if(!n[e]||!rv[e])rv[e]=t,(n[e]=n[e]||[]).push(t)}}iv("@fluentui/set-version","6.0.0"),iv("@fluentui/style-utilities","8.7.12"),zg();var av=rl.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function sv(t,n){void 0===n&&(n={});var r=n.factoryOptions,o=(void 0===r?{}:r).defaultProp,i=function(r){var o=function(e,t,n){var r=["theme","styles","tokens"];return pg.getSettings(n||r,e,t.customizations)}(n.displayName,rl.useContext(av),n.fields),i=n.state;i&&(r=(0,e.__assign)((0,e.__assign)({},r),i(r)));var a=r.theme||o.theme,s=cv(r,a,n.tokens,o.tokens,r.tokens),c=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];return Zg.apply(void 0,r.map((function(r){return"function"===typeof r?r(e,t,n):r})))}(r,a,s,n.styles,o.styles,r.styles),l=(0,e.__assign)((0,e.__assign)({},r),{styles:c,tokens:s,_defaultStyles:c,theme:a});return t(l)};return i.displayName=n.displayName||t.name,o&&(i.create=Nf(i,{defaultProp:o})),Rf(i,n.statics),i}function cv(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];for(var i={},a=0,s=r;a<s.length;a++){var c=s[a];c&&(c="function"===typeof c?c(t,n):c,Array.isArray(c)&&(c=cv.apply(void 0,(0,e.__spreadArray)([t,n],c))),Rf(i,c))}return i}var lv=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,o=e;r<o.length;r++)for(var i=o[r],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},uv=lv(["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"]),dv=lv(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),pv=lv(dv,uv),hv=lv(pv,["form"]),fv=lv(pv,["height","loop","muted","preload","src","width"]),mv=lv(fv,["poster"]),gv=lv(pv,["start"]),vv=lv(pv,["value"]),yv=lv(pv,["download","href","hrefLang","media","rel","target","type"]),bv=lv(pv,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),_v=lv(bv,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Cv=lv(bv,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),wv=lv(bv,["form","multiple","required"]),Ev=lv(pv,["selected","value"]),xv=lv(pv,["cellPadding","cellSpacing"]),Sv=pv,kv=lv(pv,["rowSpan","scope"]),Tv=lv(pv,["colSpan","headers","rowSpan","scope"]),Iv=lv(pv,["span"]),Av=lv(pv,["span"]),Pv=lv(pv,["acceptCharset","action","encType","encType","method","noValidate","target"]),Dv=lv(pv,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),Rv=lv(pv,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Mv=pv;function Nv(e,t,n){for(var r=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!r&&t[s]||r&&t.indexOf(s)>=0||0===s.indexOf("data-")||0===s.indexOf("aria-"))||n&&-1!==(null===n||void 0===n?void 0:n.indexOf(s))||(o[s]=e[s])}return o}var Lv=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},Ov=function(e){var t=parseFloat(e),n=isNaN(t)?0:t,r=isNaN(t)?"":t.toString();return{value:n,unit:e.substring(r.toString().length)||"px"}},Fv=function(e,t){if(void 0===e||"number"===typeof e||""===e)return e;var n=e.split(" ");return n.length<2?Lv(e,t):n.reduce((function(e,n){return Lv(e,t)+" "+Lv(n,t)}))},Bv={start:"flex-start",end:"flex-end"},Hv={root:"ms-Stack",inner:"ms-Stack-inner"},zv={root:"ms-StackItem"},Uv={start:"flex-start",end:"flex-end"},Vv=sv((function(t){var n=t.children,r=Nv(t,pv);return null==n?null:Mf(Of(t,{root:"div"}).root,(0,e.__assign)({},r),n)}),{displayName:"StackItem",styles:function(e,t,n){var r=e.grow,o=e.shrink,i=e.disableShrink,a=e.align,s=e.verticalFill,c=e.order,l=e.className,u=e.basis,d=void 0===u?"auto":u,p=og(zv,t);return{root:[t.fonts.medium,p.root,{flexBasis:d,margin:n.margin,padding:n.padding,height:s?"100%":"auto",width:"auto"},r&&{flexGrow:!0===r?1:r},(i||!r&&!o)&&{flexShrink:0},o&&!i&&{flexShrink:1},a&&{alignSelf:Uv[a]||a},c&&{order:c},l]}}});var jv=sv((function(t){var n=t.as,r=void 0===n?"div":n,o=t.disableShrink,i=t.wrap,a=(0,e.__rest)(t,["as","disableShrink","wrap"]),s=rl.Children.toArray(t.children);1===s.length&&rl.isValidElement(s[0])&&s[0].type===rl.Fragment&&(s=s[0].props.children),s=rl.Children.map(s,(function(t,n){if(!t)return null;if((i=t)&&"object"===typeof i&&i.type&&i.type.displayName===Vv.displayName){var r={shrink:!o};return rl.cloneElement(t,(0,e.__assign)((0,e.__assign)({},r),t.props))}var i;return t}));var c=Nv(a,pv),l=Of(t,{root:r,inner:"div"});return Mf(l.root,(0,e.__assign)({},c),i?Mf(l.inner,null,s):s)}),{displayName:"Stack",styles:function(t,n,r){var o,i,a,s,c,l,u,d=t.verticalFill,p=t.horizontal,h=t.reversed,f=t.grow,m=t.wrap,g=t.horizontalAlign,v=t.verticalAlign,y=t.disableShrink,b=t.className,_=og(Hv,n),C=r&&r.childrenGap?r.childrenGap:t.gap,w=r&&r.maxHeight?r.maxHeight:t.maxHeight,E=r&&r.maxWidth?r.maxWidth:t.maxWidth,x=r&&r.padding?r.padding:t.padding,S=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:Ov(Lv(n[0],t)),columnGap:Ov(Lv(n[1],t))};var r=Ov(Lv(e,t));return{rowGap:r,columnGap:r}}(C,n),k=S.rowGap,T=S.columnGap,I=""+-.5*T.value+T.unit,A=""+-.5*k.value+k.unit,P={textOverflow:"ellipsis"},D={"> *:not(.ms-StackItem)":{flexShrink:y?0:1}};return m?{root:[_.root,{flexWrap:"wrap",maxWidth:E,maxHeight:w,width:"auto",overflow:"visible",height:"100%"},g&&(o={},o[p?"justifyContent":"alignItems"]=Bv[g]||g,o),v&&(i={},i[p?"alignItems":"justifyContent"]=Bv[v]||v,i),b,{display:"flex"},p&&{height:d?"100%":"auto"}],inner:[_.inner,{display:"flex",flexWrap:"wrap",marginLeft:I,marginRight:I,marginTop:A,marginBottom:A,overflow:"visible",boxSizing:"border-box",padding:Fv(x,n),width:0===T.value?"100%":"calc(100% + "+T.value+T.unit+")",maxWidth:"100vw",selectors:(0,e.__assign)({"> *":(0,e.__assign)({margin:""+.5*k.value+k.unit+" "+.5*T.value+T.unit},P)},D)},g&&(a={},a[p?"justifyContent":"alignItems"]=Bv[g]||g,a),v&&(s={},s[p?"alignItems":"justifyContent"]=Bv[v]||v,s),p&&{flexDirection:h?"row-reverse":"row",height:0===k.value?"100%":"calc(100% + "+k.value+k.unit+")",selectors:{"> *":{maxWidth:0===T.value?"100%":"calc(100% - "+T.value+T.unit+")"}}},!p&&{flexDirection:h?"column-reverse":"column",height:"calc(100% + "+k.value+k.unit+")",selectors:{"> *":{maxHeight:0===k.value?"100%":"calc(100% - "+k.value+k.unit+")"}}}]}:{root:[_.root,{display:"flex",flexDirection:p?h?"row-reverse":"row":h?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:d?"100%":"auto",maxWidth:E,maxHeight:w,padding:Fv(x,n),boxSizing:"border-box",selectors:(0,e.__assign)((c={"> *":P},c[h?"> *:not(:last-child)":"> *:not(:first-child)"]=[p&&{marginLeft:""+T.value+T.unit},!p&&{marginTop:""+k.value+k.unit}],c),D)},f&&{flexGrow:!0===f?1:f},g&&(l={},l[p?"justifyContent":"alignItems"]=Bv[g]||g,l),v&&(u={},u[p?"alignItems":"justifyContent"]=Bv[v]||v,u),b]}},statics:{Item:Vv}}),qv=function(e,t){!function(e,t,n){var r=(0,rl.useContext)(kp);El((function(){r.logComponentMountEvent(e,t,n)}))}("0.1.23235007",e,t)};function Wv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];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(" ")}var Gv=rl.createContext({window:"object"===typeof window?window:void 0}),Kv=function(){return rl.useContext(Gv).window},Yv=function(){var e;return null===(e=rl.useContext(Gv).window)||void 0===e?void 0:e.document};function Qv(e,t){var n=function(){var e=rl.useState(0)[1];return function(){return e((function(e){return++e}))}}(),r=rl.useContext(av).customizations,o=r.inCustomizerContext;return rl.useEffect((function(){return o||pg.observe(n),function(){o||pg.unobserve(n)}}),[o]),pg.getSettings(e,t,r)}var Xv=rl.createContext(void 0);var Jv=function(){var e=(0,rl.useContext)(Xv),t=Qv(["theme"]).theme;return e||t||Og({})},$v=kf()||{};void 0===$v.__currentId__&&($v.__currentId__=0);var Zv=!1;function ey(e){if(!Zv){var t=Ch.getInstance();t&&t.onReset&&t.onReset(ty),Zv=!0}return(void 0===e?"id__":e)+$v.__currentId__++}function ty(e){void 0===e&&(e=0),$v.__currentId__=e}var ny=0,ry={reset:function(){Ch.getInstance().onReset((function(){return ny++}))},getId:function(){return ny},renderStyles:function(e,t){return nv(Array.isArray(e)?e:[e],t)},renderFontFace:function(e,t){return xg(e)},renderKeyframes:function(e){return Bf(e)}};var oy=function(e){var t=new Map,n=new Set,r=function e(r){var o=r.currentTarget,i=o.__id__;t.delete(i),o.removeEventListener("unload",e),n.delete(i)};return function(o){void 0===o&&(o={});var i,a=o.theme,s=Kv();s&&(s.__id__=s.__id__||ey(),i=s.__id__,n.has(i)||(n.add(i),s.addEventListener("unload",r)));var c=Jv();a=a||c;var l=ry.getId(),u=[i,l,a],d=function(e,t){var n,r,o,i=t[0],a=t[1],s=t[2];return null===(o=null===(r=null===(n=e.get(i))||void 0===n?void 0:n.get(a))||void 0===r?void 0:r.get(s))||void 0===o?void 0:o.classMap}(t,u);if((0,rl.useEffect)((function(){return function(e,t){var n,r,o=t[0],i=t[1],a=t[2],s=null===(r=null===(n=e.get(o))||void 0===n?void 0:n.get(i))||void 0===r?void 0:r.get(a);s&&s.refCount++}(t,[i,l,a]),function(){return function(e,t){var n,r,o,i,a,s,c,l,u=t[0],d=t[1],p=t[2],h=null===(r=null===(n=e.get(u))||void 0===n?void 0:n.get(d))||void 0===r?void 0:r.get(p);h&&(h.refCount--,0===h.refCount&&(null===(i=null===(o=e.get(u))||void 0===o?void 0:o.get(d))||void 0===i||i.delete(p),0===(null===(s=null===(a=e.get(u))||void 0===a?void 0:a.get(d))||void 0===s?void 0:s.size)&&(null===(c=e.get(u))||void 0===c||c.delete(d),0===(null===(l=e.get(u))||void 0===l?void 0:l.size)&&e.delete(u))))}(t,[i,l,a])}}),[i,l,a]),!d){var p=function(e){return"function"===typeof e}(e)?e(a):e;d=ry.renderStyles(p,{targetWindow:s,rtl:!!a.rtl}),function(e,t,n){var r,o,i=t[0],a=t[1],s=t[2],c=null!==(r=e.get(i))&&void 0!==r?r:new Map;e.set(i,c);var l=null!==(o=c.get(a))&&void 0!==o?o:new Map;c.set(a,l),l.set(s,{classMap:n,refCount:0})}(t,u,d)}return d}}((function(e){var t=e.semanticColors,n=e.fonts;return{body:[{color:t.bodyText,background:t.bodyBackground,fontFamily:n.medium.fontFamily,fontWeight:n.medium.fontWeight,fontSize:n.medium.fontSize,MozOsxFontSmoothing:n.medium.MozOsxFontSmoothing,WebkitFontSmoothing:n.medium.WebkitFontSmoothing}]}}));function iy(e){var t=oy(e),n=e.className,r=e.applyTo;!function(e,t){var n,r="body"===e.applyTo,o=null===(n=Yv())||void 0===n?void 0:n.body;rl.useEffect((function(){if(r&&o){for(var e=0,n=t;e<n.length;e++){var i=n[e];i&&o.classList.add(i)}return function(){if(r&&o)for(var e=0,n=t;e<n.length;e++){var i=n[e];i&&o.classList.remove(i)}}}}),[r,o,t])}(e,[t.root,t.body]),e.className=Wv(n,t.root,"element"===r&&t.body)}var ay,sy={label:hv,audio:fv,video:mv,ol:gv,li:vv,a:yv,button:bv,input:_v,textarea:Cv,select:wv,option:Ev,table:xv,tr:Sv,th:kv,td:Tv,colGroup:Iv,col:Av,form:Pv,iframe:Dv,img:Rv};function cy(e,t,n){return Nv(t,e&&sy[e]||pv,n)}function ly(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 uy(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return dy.apply(this,[null,e].concat(t))}function dy(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t=t||{};for(var o=0,i=n;o<i.length;o++){var a=i[o];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}var py=((ay={})[bf]=1,ay[Cf]=1,ay[yf]=1,ay[_f]=1,ay[vf]=1,ay[gf]=1,ay[lf]=1,ay[ff]=1,ay[mf]=1,ay);function hy(e){return!!py[e]}var fy=new WeakMap,my=new WeakMap;function gy(e,t){var n,r=fy.get(e);return n=r?r+t:1,fy.set(e,n),n}var vy=rl.createContext(void 0);function yy(e){var t=rl.useContext(vy);rl.useEffect((function(){var n,r,o=kf(null===e||void 0===e?void 0:e.current);if(o&&!0!==(null===(n=o.FabricConfig)||void 0===n?void 0:n.disableFocusRects)){var i,a,s,c,l=o;if(null===(r=null===t||void 0===t?void 0:t.providerRef)||void 0===r?void 0:r.current){l=t.providerRef.current;var u=function(e){var t=my.get(e);return t||(t={onMouseDown:function(t){return _y(t,e.registeredProviders)},onPointerDown:function(t){return Cy(t,e.registeredProviders)},onKeyDown:function(t){return wy(t,e.registeredProviders)},onKeyUp:function(t){return Ey(t,e.registeredProviders)}},my.set(e,t),t)}(t);i=u.onMouseDown,a=u.onPointerDown,s=u.onKeyDown,c=u.onKeyUp}else i=_y,a=Cy,s=wy,c=Ey;var d=gy(l,1);return d<=1&&(l.addEventListener("mousedown",i,!0),l.addEventListener("pointerdown",a,!0),l.addEventListener("keydown",s,!0),l.addEventListener("keyup",c,!0)),function(){var e;o&&!0!==(null===(e=o.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(d=gy(l,-1))&&(l.removeEventListener("mousedown",i,!0),l.removeEventListener("pointerdown",a,!0),l.removeEventListener("keydown",s,!0),l.removeEventListener("keyup",c,!0))}}}),[t,e])}var by=function(e){return yy(e.rootRef),null};function _y(e,t){$m(!1,e.target,t)}function Cy(e,t){"mouse"!==e.pointerType&&$m(!1,e.target,t)}function wy(e,t){hy(e.which)&&$m(!0,e.target,t)}function Ey(e,t){hy(e.which)&&$m(!0,e.target,t)}var xy=function(e){var t=e.providerRef,n=e.layerRoot,r=rl.useState([])[0],o=rl.useContext(vy),i=void 0!==o&&!n,a=rl.useMemo((function(){return i?void 0:{providerRef:t,registeredProviders:r,registerProvider:function(e){r.push(e),null===o||void 0===o||o.registerProvider(e)},unregisterProvider:function(e){null===o||void 0===o||o.unregisterProvider(e);var t=r.indexOf(e);t>=0&&r.splice(t,1)}}}),[t,r,o,i]);return rl.useEffect((function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}}),[a]),a?rl.createElement(vy.Provider,{value:a},e.children):rl.createElement(rl.Fragment,null,e.children)},Sy=function(t){var n=t.customizerContext,r=t.ref,o=t.theme,i=t.as||"div",a="string"===typeof t.as?cy(t.as,t):function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&e.hasOwnProperty(r)&&(n[r]=e[r]);return n}(t,["as"]);return rl.createElement(Xv.Provider,{value:o},rl.createElement(av.Provider,{value:n},rl.createElement(xy,{providerRef:r},rl.createElement(i,(0,e.__assign)({},a)))))},ky=new Map,Ty=function(e){var t=e.theme,n=Jv(),r=e.theme=rl.useMemo((function(){var e=Ng(n,t);return e.id=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];if(i){var a=i.id||ky.get(i);a||(a=ey(""),ky.set(i,a)),n.push(a)}}return n.join("-")}(n,t),e}),[n,t]);e.customizerContext=rl.useMemo((function(){return{customizations:{inCustomizerContext:!0,settings:{theme:r},scopedSettings:r.components||{}}}}),[r]),e.theme.rtl!==n.rtl&&(e.dir=e.theme.rtl?"rtl":"ltr")};function Iy(t,n){for(var r=(0,e.__assign)({},n),o=0,i=Object.keys(t);o<i.length;o++){var a=i[o];void 0===r[a]&&(r[a]=t[a])}return r}function Ay(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=rl.useCallback((function(e){r.current=e;for(var n=0,o=t;n<o.length;n++){var i=o[n];"function"===typeof i?i(e):i&&(i.current=e)}}),(0,e.__spreadArray)([],t));return r}var Py=rl.forwardRef((function(e,t){var n=function(e,t){var n=Iy(t,e);return Ty(n),{state:n,render:Sy}}(e,{ref:Ay(t,rl.useRef(null)),as:"div",applyTo:"element"}),r=n.render,o=n.state;return iy(o),r(o)}));function Dy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ry(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function My(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ry(Object(n),!0).forEach((function(t){Dy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ry(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Py.displayName="ThemeProvider";var Ny,Ly=function(e){var t=e.theme;return{root:Dy({border:"none"},Wm,{border:"1px solid ".concat(null===t||void 0===t?void 0:t.semanticColors.buttonBorder)})}},Oy={paddingLeft:32,paddingRight:32},Fy={ActionButton:{styles:Ly},Button:{styles:function(e){return{root:{border:"none"}}}},Check:{styles:function(e){var t=e.checked,n=e.theme;return n||qg("Theme is undefined or null."),{root:[{cursor:"pointer",width:"16px",height:"16px","::before":{transition:"all ease-in-out 200ms",borderRadius:"3px",backgroundColor:"transparent",inset:0,height:"100%",width:"100%"}},t&&{":hover":{"::before":{backgroundColor:n.semanticColors.inputBackgroundCheckedHovered},'[data-icon-name="CircleRing"]':{borderColor:n.semanticColors.inputBackgroundCheckedHovered}},"::before":{backgroundColor:n.semanticColors.inputBackgroundChecked},'[data-icon-name="StatusCircleCheckmark"]':{opacity:1}}],check:[{fontSize:"18px",lineHeight:"16px",margin:"0",width:"16px",height:"16px",fontWeight:Bm.regular,transition:"opacity ease-in-out 100ms",opacity:0,boxSizing:"border-box"},t&&{color:n.semanticColors.alwaysWhite}],circle:[{fontSize:0,width:"16px",height:"16px",borderRadius:2,borderColor:n.semanticColors.inputBorder,borderWidth:"1px",borderStyle:"solid",transition:"all ease-in-out 200ms",boxSizing:"border-box"},t&&{color:n.semanticColors.alwaysWhite,borderColor:n.semanticColors.inputBackgroundChecked}]}}},Checkbox:{styles:function(e){var t=e.theme,n=e.checked,r=e.disabled;t||qg("Theme is undefined or null.");var o=r?t.palette.neutralTertiaryAlt:n?t.palette.themePrimary:t.palette.neutralSecondaryAlt;return{checkbox:{border:"1px solid ".concat(o)},checkmark:["ms-Checkbox-checkmark",{color:t.semanticColors.inputForegroundChecked}]}}},ChoiceGroupOption:{styles:function(e){var t=e.theme,n=e.checked,r=e.disabled;return t||qg("Theme is undefined or null."),{field:{selectors:{":before":[{borderColor:r?t.semanticColors.disabledBodySubtext:t.palette.neutralPrimary},n&&{borderColor:r?t.semanticColors.disabledBodySubtext:t.semanticColors.inputBackgroundChecked}]}}}}},CommandBarButton:{styles:Ly},CompoundButton:{styles:Ly},DefaultButton:{styles:Ly},DetailsColumn:{styles:function(e){return{cellName:{fontSize:e.theme.fonts.small.fontSize}}}},DetailsRow:{styles:function(e){var t=e.theme;return{fields:{color:null===t||void 0===t?void 0:t.semanticColors.listText,selectors:{"& > :first-child":{fontWeight:Bm.semibold}}}}}},DetailsRowCheck:{styles:function(){return{check:[{opacity:1}]}}},DialogFooter:{styles:function(e){return{action:{marginLeft:"0",marginRight:"16px"},actionsRight:{textAlign:"left"}}}},GroupHeader:{styles:function(){return{check:[{opacity:1}]}}},Overlay:{styles:function(e){var t=e.isDark,n=e.theme;return n||qg("Theme is undefined or null."),{root:[{backgroundColor:n.semanticColors.overlayBackground},t&&[{backgroundColor:n.semanticColors.overlayBackground}]]}}},Panel:{styles:function(e){var t=e.theme;return t||qg("Theme is undefined or null."),{main:[{boxShadow:t.effects.elevation64,background:t.semanticColors.panelBackground}],content:[Oy,{paddingBottom:32}],header:[Oy],footerInner:[Oy],closeButton:{color:t.semanticColors.menuIcon,selectors:{":hover":{color:t.semanticColors.menuIcon}}}}}},Pivot:{styles:function(e){var t=e.theme;return t||qg("M365Styles-Pivot error: Theme is undefined or null."),{link:[Dy({":hover":{backgroundColor:t.semanticColors.dashboardBackdrop}},Wm,{border:"none"})],linkIsSelected:[Dy({":hover":{backgroundColor:t.semanticColors.dashboardBackdrop}},Wm,{border:"none"})]}}},PrimaryButton:{styles:function(e){var t=e.theme;return t||qg("Theme is undefined or null."),{root:{color:t.semanticColors.primaryButtonText,border:"none"},rootHovered:{color:t.semanticColors.primaryButtonTextHovered,border:"none"},rootPressed:{color:t.semanticColors.primaryButtonTextPressed,border:"none"},rootChecked:{color:t.semanticColors.primaryButtonText}}}},SearchBox:{styles:function(e){return{root:{selectors:{"::after":{borderWidth:1}}}}}},Spinner:{styles:function(e){var t=e.theme;return t||qg("Theme is undefined or null."),{circle:{borderTopColor:t.palette.themeDarkAlt},label:{color:t.palette.themeDarkAlt}}}}};!function(e){e.themePrimary="#0078D4",e.themeLighterAlt="#F3F9FD",e.themeLighter="#D0E7F8",e.themeLight="#A9D3F2",e.themeTertiary="#5CA9E5",e.themeSecondary="#1A86D9",e.themeDarkAlt="#006CBE",e.themeDark="#005BA1",e.themeDarker="#004377",e.neutralLighterAlt="#F0F0F0",e.neutralLighter="#EDEDED",e.neutralLight="#E8E8E8",e.neutralQuaternaryAlt="#E1E1E1",e.neutralQuaternary="#D2D2D2",e.neutralTertiaryAlt="#C8C8C8",e.neutralTertiary="#A1A1A1",e.neutralSecondary="#484644",e.neutralPrimaryAlt="#8D8B8A",e.neutralPrimary="#323130",e.neutralDark="#605E5C",e.black="#000000",e.white="#FFFFFF",e.errorText="#990000",e.errorBackground="#FDE7E9",e.blockingBackground="#FDE7E9",e.warningBackground="#FFF4CE",e.warningHighlight="#FFB900",e.successBackground="#DFF6DD",e.severeWarningBackground="#FEE6DD",e.severeWarningIcon="#C53601",e.dashboardBackdrop="#DADADA",e.overlayBackground="rgba(0,0,0,.4)",e.navBackground="#E9E9E9",e.dataVis1="#0099BC",e.dataVis2="#77004D",e.dataVis3="#4F68ED",e.dataVis4="#AE8C00",e.dataVis5="#004E8C",e.dataVis6="#881798",e.dataVis7="#E43BA6",e.dataVis8="#0E7878",e.dataVis9="#8764b8",e.dataVis10="#814E29",e.criticalStatus="#610000",e.highStatus="#990000",e.mediumStatus="#E60000",e.lowStatus="#F56A00",e.goodStatus="#107C10",e.unknownStatus="#949494",e.insightLow="#768DF1",e.insightMedium="#4F6BED",e.insightHigh="#3B52B4",e.neutralRisk="#DADADA",e.needHelpBackground="#00838C",e.needHelpBackgroundPressed="#006B73",e.contextualAlertBackground="#5522E0",e.whiteTranslucent40="rgba(255,255,255,.4)",e.tagBackgroundLowImpact="#F3F2F1",e.tagBackgroundRecommendation="#D3F4ED",e.tagBackgroundInsight="#C7D3FF"}(Ny||(Ny={}));var By=Ny,Hy={themePrimary:By.themePrimary,themeLighterAlt:By.themeLighterAlt,themeLighter:By.themeLighter,themeLight:By.themeLight,themeTertiary:By.themeTertiary,themeSecondary:By.themeSecondary,themeDarkAlt:By.themeDarkAlt,themeDark:By.themeDark,themeDarker:By.themeDarker,neutralLighterAlt:By.neutralLighterAlt,neutralLighter:By.neutralLighter,neutralLight:By.neutralLight,neutralQuaternaryAlt:By.neutralQuaternaryAlt,neutralQuaternary:By.neutralQuaternary,neutralTertiaryAlt:By.neutralTertiaryAlt,neutralTertiary:By.neutralTertiary,neutralSecondary:By.neutralSecondary,neutralPrimaryAlt:By.neutralPrimaryAlt,neutralPrimary:By.neutralPrimary,neutralDark:By.neutralDark,black:By.black,white:By.white},zy={bodyTextChecked:By.neutralDark,disabledSubtext:By.neutralQuaternary,disabledBodySubtext:By.neutralTertiaryAlt,primaryButtonTextDisabled:By.neutralTertiary,bodyStandoutBackground:By.neutralLighter,buttonBackground:By.neutralLight,buttonBackgroundHovered:By.neutralTertiaryAlt,buttonBackgroundPressed:By.neutralTertiary,buttonTextHovered:By.neutralPrimary,buttonTextChecked:By.neutralSecondary,buttonTextPressed:By.neutralPrimary,buttonTextDisabled:By.neutralTertiary,menuHeader:By.neutralPrimary,listItemBackgroundChecked:By.neutralQuaternaryAlt,listItemBackgroundCheckedHovered:By.neutralQuaternary,link:By.themeDarkAlt,errorText:By.errorText,warningHighlight:By.warningHighlight,warningText:By.neutralPrimary,messageText:By.neutralPrimary,messageLink:By.themeDarkAlt,messageLinkHovered:By.themeDarker,infoIcon:By.neutralSecondary,errorIcon:By.highStatus,blockingIcon:By.highStatus,successIcon:By.goodStatus,warningIcon:By.neutralPrimary,severeWarningIcon:By.severeWarningIcon,infoBackground:By.neutralLighter,errorBackground:By.errorBackground,blockingBackground:By.blockingBackground,warningBackground:By.warningBackground,severeWarningBackground:By.severeWarningBackground,successBackground:By.successBackground,dashboardBackdrop:By.dashboardBackdrop,actionCardDashboardBorder:"transparent",actionCardDashboardBorderHovered:"transparent",gridItemDestinationBackground:By.neutralQuaternary,panelBackground:By.white,overlayBackground:By.overlayBackground,sectionDividerLine:By.neutralPrimary,primaryDividerLine:By.neutralTertiaryAlt,secondaryDividerLine:By.neutralQuaternaryAlt,dataVis1:By.dataVis1,dataVis2:By.dataVis2,dataVis3:By.dataVis3,dataVis4:By.dataVis4,dataVis5:By.dataVis5,dataVis6:By.dataVis6,dataVis7:By.dataVis7,dataVis8:By.dataVis8,dataVis9:By.dataVis9,dataVis10:By.dataVis10,headerText:By.black,secondaryListText:By.neutralSecondary,navBackground:By.navBackground,navItemBackgroundHovered:By.neutralQuaternary,navItemBackgroundPressed:By.neutralTertiaryAlt,criticalStatus:By.criticalStatus,highStatus:By.highStatus,mediumStatus:By.mediumStatus,lowStatus:By.lowStatus,goodStatus:By.goodStatus,unknownStatus:By.unknownStatus,insightLow:By.insightLow,insightMedium:By.insightMedium,insightHigh:By.insightHigh,neutralRisk:By.neutralRisk,stepCompleted:By.themePrimary,stepCurrent:By.themePrimary,stepNotStarted:By.unknownStatus,stepModifierBorder:By.themePrimary,stepHover:By.themeDark,stepPressed:By.themeDarker,stepError:By.highStatus,allStepsComplete:By.goodStatus,contextualAlertBackground:By.contextualAlertBackground,needHelpForeground:By.white,needHelpBackground:By.needHelpBackground,needHelpBackgroundPressed:By.needHelpBackgroundPressed,feedbackForeground:By.white,feedbackBackground:By.neutralDark,feedbackBackgroundPressed:By.neutralSecondary,alwaysWhite:By.white,alwaysBlack:By.black,filterPillRest:By.neutralLighterAlt,filterPillHover:By.neutralLight,filterPillPressed:By.neutralQuaternary,filterPillEditedRest:By.themeLighter,filterPillEditedHover:By.themeLight,filterPillEditedPressed:By.themeTertiary,tagBackgroundInsight:By.tagBackgroundInsight,tagBackgroundLowImpact:By.tagBackgroundLowImpact,tagBackgroundMediumImpact:By.neutralTertiaryAlt,tagBackgroundHighImpact:By.neutralPrimary,tagBackgroundNew:By.themePrimary,tagBackgroundActiveWarning:By.highStatus,tagBackgroundRecommendation:By.tagBackgroundRecommendation,tagTextInsight:By.neutralPrimary,tagTextLowImpact:By.neutralPrimary,tagTextMediumImpact:By.neutralPrimary,tagTextHighImpact:By.white,tagTextNew:By.white,tagTextActiveWarning:By.white},Uy=(Og({palette:My({},Ny),semanticColors:zy}),Og({palette:Hy,semanticColors:zy,components:Fy})),Vy={themePrimary:"#006fc9",themeLighterAlt:"#f3f8fd",themeLighter:"#cfe5f6",themeLight:"#a7cfef",themeTertiary:"#59a3df",themeSecondary:"#197ed0",themeDarkAlt:"#0064b5",themeDark:"#005499",themeDarker:"#003e71",neutralLighterAlt:"#ececec",neutralLighter:"#e8e8e8",neutralLight:"#dedede",neutralQuaternary:"#c6c6c6",neutralQuaternaryAlt:"#cfcfcf",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#bebebe",neutralSecondary:"#605e5c",neutralPrimaryAlt:"#3b3a39",neutralPrimary:"#323130",neutralDark:"#201f1e",neutralMed:"#fafafa",neutralHigh:"#ffffff",transparent:"transparent",black:"#000000",white:"#f2f2f2",redDark:"#a4262c",redLight:"#feece5",highlighter:"#f8d22a"},jy={bodyBackground:Vy.white,navBackground:Vy.white,navItemBackgroundHovered:Vy.neutralLighter,navItemBackgroundPressed:Vy.neutralLight,severeWarning:"#fed9cc",errorBlockIcon:"#a80000",messageLink:Vy.themeDarkAlt,messageWebSuccess:"#107c10",warningIcon:"#901619",severeWarningIcon:"#790C0E",buttonBackground:Vy.neutralHigh,cautionYellow:"#9D5D00"},qy=qm(kg()||navigator.language),Wy={small:{font:"Segoe UI Variable Small, ".concat(qy.medium.fontFamily)},medium:{font:"Segoe UI Variable Text, ".concat(qy.medium.fontFamily)},large:{font:"Segoe UI Variable Display, ".concat(qy.medium.fontFamily)}},Gy={fontFamily:Wy.medium.font},Ky={palette:Vy,semanticColors:jy},Yy=((0,e.__assign)((0,e.__assign)({},Uy),jy),{palette:{themePrimary:"#a80000",neutralLight:"#f4cfc2",neutralDark:"#323130",neutralSecondary:"#323130",neutralTertiaryAlt:"#e9c4b7",themeDarkAlt:"#901619",themeDark:"#790C0E"},semanticColors:jy,fonts:Wy}),Qy=["themePrimary","themeLighterAlt","themeLighter","themeLight","themeTertiary","themeSecondary","themeDarkAlt","themeDark","themeDarker","neutralLighterAlt","neutralLighter","neutralLight","neutralQuaternaryAlt","neutralTertiary","neutralTertiaryAlt","neutralSecondary","neutralPrimaryAlt","neutralPrimary","neutralDark","neutralMed","neutralHigh","transparent","black","white","redDark","redLight","highlighter"],Xy=((0,e.__spreadArray)([],Qy,!0),{themePrimary:"#047769",themeLighterAlt:"#f0faf8",themeLighter:"#c5e9e5",themeLight:"#98d6cf",themeTertiary:"#49aea2",themeSecondary:"#14887b",themeDarkAlt:"#036c60",themeDark:"#035b51",themeDarker:"#02433c",neutralLighterAlt:"#ececec",neutralLighter:"#e8e8e8",neutralLight:"#dedede",neutralQuaternary:"#c6c6c6",neutralQuaternaryAlt:"#cfcfcf",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#bebebe",neutralSecondary:"#6e6e6e",neutralPrimaryAlt:"#3b3a39",neutralPrimary:"#323130",neutralDark:"#201f1e",neutralMed:"#fafafa",neutralHigh:"#ffffff",transparent:"transparent",black:"#000000",white:"#f2f2f2",redDark:"#a4262c",redLight:"#feece5",highlighter:"#f8d22a"}),Jy={bodyBackground:Xy.white,navBackground:Xy.white,navItemBackgroundHovered:Xy.neutralLighter,navItemBackgroundPressed:Xy.neutralLight,severeWarning:"#fed9cc",errorBlockIcon:"#a80000",messageLink:Xy.themeDarkAlt,messageWebSuccess:"#107c10",warningIcon:"#901619",severeWarningIcon:"#790C0E",cautionYellow:"#9D5D00"},$y={palette:Xy,semanticColors:Jy},Zy=((0,e.__assign)((0,e.__assign)({},Uy),Jy),(0,e.__spreadArray)([],Qy,!0),{themePrimary:"#027063",themeLighterAlt:"#f0f9f8",themeLighter:"#c4e8e4",themeLight:"#96d4cd",themeTertiary:"#46a99e",themeSecondary:"#128174",themeDarkAlt:"#026559",themeDark:"#02554c",themeDarker:"#013f38",neutralLighterAlt:"#c0e2de",neutralLighter:"#bddeda",neutralLight:"#b5d5d1",neutralQuaternaryAlt:"#a9c6c3",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#9bb6b3",neutralSecondary:"#605e5c",neutralPrimaryAlt:"#3b3a39",neutralPrimary:"#323130",neutralDark:"#201f1e",neutralMed:"#fafafa",neutralHigh:"#ffffff",transparent:"transparent",black:"#000000",white:"#c5e9e5",redDark:"#a4262c",redLight:"#feece5",highlighter:"#f8d22a"}),eb={AMC:Ky,"AMC-on-red":Yy,Family:$y,FamilyInsights:{palette:Zy,semanticColors:{bodyBackground:Zy.white,navBackground:Zy.white,navItemBackgroundHovered:Zy.neutralLighter,navItemBackgroundPressed:Zy.neutralLight,severeWarning:"#fed9cc",errorBlockIcon:"#a8000",messageLink:Xy.themeDarkAlt,messageWebSuccess:"#107c10",cautionYellow:"#9D5D00"}},"Family-On-NeutralLighterAlt":{palette:(0,e.__assign)((0,e.__assign)({},$y.palette),{neutralMed:Xy.themeLighterAlt,white:"#ffffff"}),semanticColors:(0,e.__assign)((0,e.__assign)({},Jy),{bodyBackground:Xy.themeLighterAlt})},XboxTheme:{palette:{themePrimary:"#107c10",themeDark:"#054B16",themeDarker:"#054B16",themeDarkAlt:"#054B16",neutralTertiary:Vy.neutralTertiary,transparent:"transparent"},semanticColors:jy}},tb=function(t){var n=t.variant,r=t.noRootElement,o=t.id,i=t.children,a=r?nb:void 0,s=(0,e.__assign)((0,e.__assign)({},eb[n]),{defaultFontStyle:Gy,fonts:Wy});return ol().createElement(Py,{id:o,theme:s,as:a},i)},nb=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.render=function(){return this.props.children},n}(ol().Component),rb=function(){return Jv()},ob=["theme","styles"];function ib(t,n,r,o,i){var a=(o=o||{scope:"",fields:void 0}).scope,s=o.fields,c=void 0===s?ob:s,l=rl.forwardRef((function(o,i){var s=rl.useRef(),l=Qv(c,a),u=l.styles,d=(l.dir,(0,e.__rest)(l,["styles","dir"])),p=r?r(o):void 0,h=s.current&&s.current.__cachedInputs__||[],f=o.styles;if(!s.current||u!==h[1]||f!==h[2]){var m=function(e){return ev(e,n,u,f)};m.__cachedInputs__=[n,u,f],m.__noStyleOverride__=!u&&!f,s.current=m}return rl.createElement(t,(0,e.__assign)({ref:i},d,p,o,{styles:s.current}))}));l.displayName="Styled"+(t.displayName||t.name);var u=i?rl.memo(l):l;return l.displayName&&(u.displayName=l.displayName),u}var ab={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},sb=of((function(){return Bf({"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(100%)"}})})),cb=of((function(){return Bf({"100%":{transform:"translateX(-100%)"},"0%":{transform:"translateX(100%)"}})}));var lb=0,ub=Ch.getInstance();ub&&ub.onReset&&ub.onReset((function(){return lb++}));var db="__retval__";function pb(e){void 0===e&&(e={});var t=new Map,n=0,r=0,o=lb;return function(i,a){var s;if(void 0===a&&(a={}),e.useStaticStyles&&"function"===typeof i&&i.__noStyleOverride__)return i(a);r++;var c=t,l=a.theme,u=l&&void 0!==l.rtl?l.rtl:Pf(),d=e.disableCaching;if(o!==lb&&(o=lb,t=new Map,n=0),e.disableCaching||(c=fb(t,i),c=fb(c,a)),!d&&c[db]||(c[db]=void 0===i?{}:nv(["function"===typeof i?i(a):i],{rtl:!!u,specificityMultiplier:e.useStaticStyles?5:void 0}),d||n++),n>(e.cacheSize||50)){var p=kf();(null===(s=null===p||void 0===p?void 0:p.FabricConfig)||void 0===s?void 0:s.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is "+n+"/"+r+"."),console.trace()),t.clear(),n=0,e.disableCaching=!0}return c[db]}}function hb(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 fb(e,t){if("function"===typeof t)if(t.__cachedInputs__)for(var n=0,r=t.__cachedInputs__;n<r.length;n++){e=hb(e,r[n])}else e=hb(e,t);else if("object"===typeof t)for(var o in t)t.hasOwnProperty(o)&&(e=hb(e,t[o]));return e}var mb,gb,vb=function(t){function n(e){var n=t.call(this,e)||this;return n.state={isRendered:void 0===kf()},n}return(0,e.__extends)(n,t),n.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout((function(){e.setState({isRendered:!0})}),t)},n.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},n.prototype.render=function(){return this.state.isRendered?rl.Children.only(this.props.children):null},n.defaultProps={delay:0},n}(rl.Component);!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(mb||(mb={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(gb||(gb={}));var yb=pb(),bb={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"};var _b=ib((function(e){var t=e.height,n=e.styles,r=e.width,o=void 0===r?"100%":r,i=e.borderStyle,a=e.theme,s=yb(n,{theme:a,height:t,borderStyle:i});return rl.createElement("div",{style:{width:o,minWidth:"number"===typeof o?o+"px":"auto"},className:s.root},rl.createElement("svg",{width:"2",height:"2",className:s.topLeftCorner},rl.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),rl.createElement("svg",{width:"2",height:"2",className:s.topRightCorner},rl.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),rl.createElement("svg",{width:"2",height:"2",className:s.bottomRightCorner},rl.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),rl.createElement("svg",{width:"2",height:"2",className:s.bottomLeftCorner},rl.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))}),(function(e){var t,n=e.height,r=e.borderStyle,o=e.theme,i=o.semanticColors,a=og(bb,o),s=r||{},c={position:"absolute",fill:i.bodyBackground};return{root:[a.root,o.fonts.medium,{height:n+"px",boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,borderWidth:0,selectors:(t={},t[Wm]={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"}),Cb=pb(),wb={root:"ms-ShimmerGap-root"};var Eb=ib((function(e){var t=e.height,n=e.styles,r=e.width,o=void 0===r?"10px":r,i=e.borderStyle,a=e.theme,s=Cb(n,{theme:a,height:t,borderStyle:i});return rl.createElement("div",{style:{width:o,minWidth:"number"===typeof o?o+"px":"auto"},className:s.root})}),(function(e){var t,n=e.height,r=e.borderStyle,o=e.theme,i=o.semanticColors,a=r||{};return{root:[og(wb,o).root,o.fonts.medium,{backgroundColor:i.bodyBackground,height:n+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,selectors:(t={},t[Wm]={backgroundColor:"Window",borderColor:"Window"},t)},a]}}),void 0,{scope:"ShimmerGap"}),xb={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"};var Sb=pb(),kb=ib((function(e){var t=e.height,n=e.styles,r=e.borderStyle,o=e.theme,i=Sb(n,{theme:o,height:t,borderStyle:r});return rl.createElement("div",{className:i.root},rl.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},rl.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"})))}),(function(e){var t,n,r=e.height,o=e.borderStyle,i=e.theme,a=i.semanticColors,s=og(xb,i),c=o||{};return{root:[s.root,i.fonts.medium,{width:r+"px",height:r+"px",minWidth:r+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[Wm]={borderColor:"Window"},t)},c],svg:[s.svg,{display:"block",fill:a.bodyBackground,selectors:(n={},n[Wm]={fill:"Window"},n)}]}}),void 0,{scope:"ShimmerCircle"}),Tb=pb();var Ib=of((function(t,n,r,o,i){var a,s=i&&r?i-r:0;if(t&&"center"!==t?t&&"top"===t?a={borderBottomWidth:s+"px",borderTopWidth:"0px"}:t&&"bottom"===t&&(a={borderBottomWidth:"0px",borderTopWidth:s+"px"}):a={borderBottomWidth:(s?Math.floor(s/2):0)+"px",borderTopWidth:(s?Math.ceil(s/2):0)+"px"},o)switch(n){case mb.circle:return{root:(0,e.__assign)((0,e.__assign)({},a),{borderColor:o}),svg:{fill:o}};case mb.gap:return{root:(0,e.__assign)((0,e.__assign)({},a),{borderColor:o,backgroundColor:o})};case mb.line:return{root:(0,e.__assign)((0,e.__assign)({},a),{borderColor:o}),topLeftCorner:{fill:o},topRightCorner:{fill:o},bottomLeftCorner:{fill:o},bottomRightCorner:{fill:o}}}return{root:a}}));var Ab={root:"ms-ShimmerElementsGroup-root"};var Pb=ib((function(t){var n=t.styles,r=t.width,o=void 0===r?"auto":r,i=t.shimmerElements,a=t.rowHeight,s=void 0===a?function(e){return e.map((function(e){switch(e.type){case mb.circle:e.height||(e.height=gb.circle);break;case mb.line:e.height||(e.height=gb.line);break;case mb.gap:e.height||(e.height=gb.gap)}return e})).reduce((function(e,t){return t.height&&t.height>e?t.height:e}),0)}(i||[]):a,c=t.flexWrap,l=void 0!==c&&c,u=t.theme,d=t.backgroundColor,p=Tb(n,{theme:u,flexWrap:l});return rl.createElement("div",{style:{width:o},className:p.root},function(t,n,r){var o=t?t.map((function(t,o){var i=t.type,a=(0,e.__rest)(t,["type"]),s=a.verticalAlign,c=a.height,l=Ib(s,i,c,n,r);switch(t.type){case mb.circle:return rl.createElement(kb,(0,e.__assign)({key:o},a,{styles:l}));case mb.gap:return rl.createElement(Eb,(0,e.__assign)({key:o},a,{styles:l}));case mb.line:return rl.createElement(_b,(0,e.__assign)({key:o},a,{styles:l}))}})):rl.createElement(_b,{height:gb.line});return o}(i,d,s))}),(function(e){var t=e.flexWrap,n=e.theme;return{root:[og(Ab,n).root,n.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}}),void 0,{scope:"ShimmerElementsGroup"});function Db(e){var t=rl.useRef();return void 0===t.current&&(t.current={value:"function"===typeof e?e():e}),t.current.value}var Rb=function(){var e=Db({});return rl.useEffect((function(){return function(){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];clearTimeout(r)}}}),[e]),Db({setTimeout:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(t,n){var r=setTimeout(t,n);return e[r]=1,r})),clearTimeout:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(t){delete e[t],clearTimeout(t)}))})},Mb=pb(),Nb=rl.forwardRef((function(t,n){var r=t.styles,o=t.shimmerElements,i=t.children,a=t.width,s=t.className,c=t.customElementsGroup,l=t.theme,u=t.ariaLabel,d=t.shimmerColors,p=t.isDataLoaded,h=void 0!==p&&p,f=t.improveCSSPerformance,m=Nv(t,Mv),g=Mb(r,{theme:l,isDataLoaded:h,className:s,transitionAnimationInterval:200,shimmerColor:d&&d.shimmer,shimmerWaveColor:d&&d.shimmerWave,improveCSSPerformance:f||!c}),v=Db({lastTimeoutId:0}),y=Rb(),b=y.setTimeout,_=y.clearTimeout,C=rl.useState(h),w=C[0],E=C[1],x={width:a||"100%"};return rl.useEffect((function(){if(h!==w){if(h)return v.lastTimeoutId=b((function(){E(!0)}),200),function(){return _(v.lastTimeoutId)};E(!1)}}),[h]),rl.createElement("div",(0,e.__assign)({},m,{className:g.root,ref:n}),!w&&rl.createElement("div",{style:x,className:g.shimmerWrapper},rl.createElement("div",{className:g.shimmerGradient}),c||rl.createElement(Pb,{shimmerElements:o,backgroundColor:d&&d.background})),i&&rl.createElement("div",{className:g.dataWrapper},i),u&&!h&&rl.createElement("div",{role:"status","aria-live":"polite"},rl.createElement(vb,null,rl.createElement("div",{className:g.screenReaderText},u))))}));Nb.displayName="Shimmer";var Lb=ib(Nb,(function(t){var n,r=t.isDataLoaded,o=t.className,i=t.theme,a=t.transitionAnimationInterval,s=t.shimmerColor,c=t.shimmerWaveColor,l=t.improveCSSPerformance,u=i.semanticColors,d=og(ab,i),p=Pf(i);return{root:[d.root,i.fonts.medium,{position:"relative",height:"auto"},o],shimmerWrapper:[d.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:s||u.disabledBackground,transition:"opacity "+a+"ms",selectors:(n={},n[Wm]=(0,e.__assign)({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"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},r&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"},l?{selectors:{"> div:last-child":{transform:"translateZ(0)"}}}:{selectors:{"> *":{transform:"translateZ(0)"}}}],shimmerGradient:[d.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:(s||u.disabledBackground)+"\n                      linear-gradient(\n                        to right,\n                        "+(s||u.disabledBackground)+" 0%,\n                        "+(c||u.bodyDivider)+" 50%,\n                        "+(s||u.disabledBackground)+" 100%)\n                      0 0 / 90% 100%\n                      no-repeat",transform:"translateX(-100%)",animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:p?cb():sb()}],dataWrapper:[d.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity "+a+"ms"},r&&{opacity:"1",position:"static"}],screenReaderText:ng}}),void 0,{scope:"Shimmer"}),Ob=function(e){var t=function(t){return t&&ol().createElement(Fb,{shimmerElements:e.firstLoadView,isLoaded:!0,isOverflowHidden:e.isOverflowHidden,children:t})};return ol().createElement(oh,{operationData:e.operationData,inertView:e.inertView,firstLoadView:ol().createElement(Fb,{shimmerElements:e.firstLoadView}),finishedView:t(e.finishedView),failedView:t(e.failedView),updatingView:t(e.updatingView),updateFailedView:t(e.updateFailedView)})},Fb=function(e){var t=e.children,n=e.shimmerElements,r=e.isLoaded,o=e.isOverflowHidden,i=void 0!==o&&o;return ol().createElement(Lb,{styles:{root:{width:"100%",overflow:i?"hidden":void 0},shimmerWrapper:{overflow:"visible"},shimmerGradient:{display:"none"}},shimmerColors:{shimmerWave:"transparent",shimmer:"transparent"},isDataLoaded:r,customElementsGroup:n},r&&t)};var Bb,Hb=function e(t,n,r){var o=qb(t);if(jb(t)){if(Vb(r).test(o)||n.includes(t.type))return t;if(t.type===Ob){var i=t.props;return Object.keys(i).forEach((function(t){if("operationData"!==t){var o=i[t];e(o,n,r)}})),t}}return Gb(o,"Invalid ".concat(r," component ").concat(o,".")+" Use an allowed child component or a custom component wrapped using the childWrapper HOC defined in ".concat(r),1),t},zb=ey("Validation"),Ub=function(e){return"".concat(e).concat(zb)},Vb=function(e){return new RegExp("_".concat(Ub(e),"$"))},jb=function(e){return!!e&&ol().isValidElement(e)&&"string"!==typeof e.type},qb=function(e){var t,n=(null===(t=null===e||void 0===e?void 0:e.type)||void 0===t?void 0:t.type)||(null===e||void 0===e?void 0:e.type);return"".concat(n?n.displayName||n.name||n:e)},Wb=function(e,t){if(void 0!==t){var n=[];t.forEach((function(e){var t=e();t&&n.push(t)})),0!==n.length&&Gb(e,n.join(", "),n.length)}},Gb=function(e,t,n){Ap(e,t,n)},Kb={none:0,all:1,inputOnly:2};function Yb(e,t,n){void 0===n&&(n=0);for(var r=-1,o=n;e&&o<e.length;o++)if(t(e[o],o)){r=o;break}return r}function Qb(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}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(Bb||(Bb={}));var Xb=function(e){return function(t){for(var n=0,r=e.refs;n<r.length;n++){var o=r[n];"function"===typeof o?o(t):o&&(o.current=t)}}},Jb=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolver&&Qb(t.refs,e)||(t.resolver=Xb(t)),t.refs=e,t.resolver}};function $b(e,t){return void 0===t&&(t=!0),e&&(t&&function(e){var t,n;return e&&(n=e)&&n._virtual&&(t=e._virtual.parent),t}(e)||e.parentNode&&e.parentNode)}function Zb(e,t){return e&&e!==document.body?t(e)?e:Zb($b(e),t):null}function e_(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 o=$b(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}function t_(e,t,n){return i_(e,t,!0,!1,!1,n)}function n_(e,t,n){return o_(e,t,!0,!1,!0,n)}function r_(e,t){var n=i_(e,e,!0,!1,!1,!0,void 0,void 0,t);return!!n&&(f_(n),!0)}function o_(e,t,n,r,o,i,a,s){if(!t||!a&&t===e)return null;var c=a_(t);if(o&&c&&(i||!l_(t)&&!u_(t))){var l=o_(e,t.lastElementChild,!0,!0,!0,i,a,s);if(l){if(s&&c_(l,!0)||!s)return l;var u=o_(e,l.previousElementSibling,!0,!0,!0,i,a,s);if(u)return u;for(var d=l.parentElement;d&&d!==t;){var p=o_(e,d.previousElementSibling,!0,!0,!0,i,a,s);if(p)return p;d=d.parentElement}}}if(n&&c&&c_(t,s))return t;var h=o_(e,t.previousElementSibling,!0,!0,!0,i,a,s);return h||(r?null:o_(e,t.parentElement,!0,!1,!1,i,a,s))}function i_(e,t,n,r,o,i,a,s,c){if(!t||t===e&&o&&!a)return null;var l=(c?s_:a_)(t);if(n&&l&&c_(t,s))return t;if(!o&&l&&(i||!l_(t)&&!u_(t))){var u=i_(e,t.firstElementChild,!0,!0,!1,i,a,s,c);if(u)return u}if(t===e)return null;var d=i_(e,t.nextElementSibling,!0,!0,!1,i,a,s,c);return d||(r?null:i_(e,t.parentElement,!1,!1,!0,i,a,s,c))}function a_(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!==t&&void 0!==t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function s_(e){return!!e&&a_(e)&&!e.hidden&&"hidden"!==window.getComputedStyle(e).visibility}function c_(e,t){if(!e||e.disabled)return!1;var n=0,r=null;e&&e.getAttribute&&(r=e.getAttribute("tabIndex"))&&(n=parseInt(r,10));var o=e.getAttribute?e.getAttribute("data-is-focusable"):null,i=null!==r&&n>=0,a=!!e&&"false"!==o&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===o||i);return t?-1!==n&&a:a}function l_(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function u_(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function d_(e,t){return"true"!==function(e,t){var n=Zb(e,(function(e){return e.hasAttribute(t)}));return n&&n.getAttribute(t)}(e,t)}var p_,h_=void 0;function f_(e){if(e){if(h_)return void(h_=e);h_=e;var t=kf(e);t&&t.requestAnimationFrame((function(){h_&&h_.focus(),h_=void 0}))}}function m_(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=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach((function(t){return t&&t.apply(e,n)}))}}function g_(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=m_(e,e[n],t[n]))}function v_(e){g_(e,{componentDidMount:y_,componentDidUpdate:b_,componentWillUnmount:__})}function y_(){C_(this.props.componentRef,this)}function b_(e){e.componentRef!==this.props.componentRef&&(C_(e.componentRef,null),C_(this.props.componentRef,this))}function __(){C_(this.props.componentRef,null)}function C_(e,t){e&&("object"===typeof e?e.current=t:"function"===typeof e&&e(t))}var w_=0,E_=Xh({overflow:"hidden !important"}),x_="data-is-scrollable",S_=function(e,t){if(e){var n=0,r=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(),r)){var t=e.targetTouches[0].clientY-n,o=I_(e.target);o&&(r=o),0===r.scrollTop&&t>0&&e.preventDefault(),r.scrollHeight-Math.ceil(r.scrollTop)<=r.clientHeight&&t<0&&e.preventDefault()}}),{passive:!1}),r=e}},k_=function(e,t){if(e){t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})}},T_=function(e){e.preventDefault()};function I_(e){for(var t=e,n=xf(e);t&&t!==n.body;){if("true"===t.getAttribute(x_))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(x_)){var r=getComputedStyle(t),o=r?r.getPropertyValue("overflow-y"):"";if(o&&("scroll"===o||"auto"===o))return t}t=t.parentElement}return t&&t!==n.body||(t=kf(e)),t}var A_="data-portal-element";function P_(e,t){var n=Zb(e,(function(e){return t===e||e.hasAttribute(A_)}));return null!==n&&n.hasAttribute(A_)}var D_,R_="data-is-focusable",M_="data-focuszone-id",N_="tabindex",L_="data-no-vertical-wrap",O_="data-no-horizontal-wrap",F_=999999999,B_=-999999999;function H_(e,t){var n;"function"===typeof MouseEvent?n=new MouseEvent("click",{ctrlKey:null===t||void 0===t?void 0:t.ctrlKey,metaKey:null===t||void 0===t?void 0:t.metaKey,shiftKey:null===t||void 0===t?void 0:t.shiftKey,altKey:null===t||void 0===t?void 0:t.altKey,bubbles:null===t||void 0===t?void 0:t.bubbles,cancelable:null===t||void 0===t?void 0:t.cancelable}):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(n)}var z_={},U_=new Set,V_=["text","number","password","email","tel","url","search","textarea"],j_=!1,q_=function(t){function n(e){var r,o,i,a,s=t.call(this,e)||this;s._root=rl.createRef(),s._mergedRef=Jb(),s._onFocus=function(e){if(!s._portalContainsElement(e.target)){var t,n=s.props,r=n.onActiveElementChanged,o=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,c=n.onFocus,l=n.shouldFocusInnerElementWhenReceivedFocus,u=n.defaultTabbableElement,d=s._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var p=e.target;p&&p!==s._root.current;){if(c_(p)&&s._isImmediateDescendantOfZone(p)){t=p;break}p=$b(p,j_)}if(l&&e.target===s._root.current){var h=u&&"function"===typeof u&&s._root.current&&u(s._root.current);h&&c_(h)?(t=h,h.focus()):(s.focus(!0),s._activeElement&&(t=null))}var f=!s._activeElement;t&&t!==s._activeElement&&((d||f)&&s._setFocusAlignment(t,!0,!0),s._activeElement=t,f&&s._updateTabIndexes()),r&&r(s._activeElement,e),(i||o)&&e.stopPropagation(),c?c(e):a&&a()}},s._onBlur=function(){s._setParkedFocus(!1)},s._onMouseDown=function(e){if(!s._portalContainsElement(e.target)&&!s.props.disabled){for(var t=e.target,n=[];t&&t!==s._root.current;)n.push(t),t=$b(t,j_);for(;n.length&&((t=n.pop())&&c_(t)&&s._setActiveElement(t,!0),!l_(t)););}},s._onKeyDown=function(e,t){if(!s._portalContainsElement(e.target)){var n=s.props,r=n.direction,o=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,c=n.shouldEnterInnerZone;if(!o&&(s.props.onKeyDown&&s.props.onKeyDown(e),!e.isDefaultPrevented()&&(s._getDocument().activeElement!==s._root.current||!s._isInnerZone))){if((c&&c(e)||i&&i(e))&&s._isImmediateDescendantOfZone(e.target)){var l=s._getFirstInnerZone();if(l){if(!l.focus(!0))return}else{if(!u_(e.target))return;if(!s.focusElement(i_(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case hf:if(s._shouldRaiseClicksOnSpace&&s._tryInvokeClickForFocusable(e.target,e))break;return;case yf:if(r!==Bb.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusLeft(t)))break;return;case _f:if(r!==Bb.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusRight(t)))break;return;case bf:if(r!==Bb.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusUp()))break;return;case Cf:if(r!==Bb.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusDown()))break;return;case mf:if(!a&&s._moveFocusPaging(!0))break;return;case ff:if(!a&&s._moveFocusPaging(!1))break;return;case lf:if(s.props.allowTabKey||s.props.handleTabKey===Kb.all||s.props.handleTabKey===Kb.inputOnly&&s._isElementInput(e.target)){var u=!1;if(s._processingTabKey=!0,r!==Bb.vertical&&s._shouldWrapFocus(s._activeElement,O_))u=(Pf(t)?!e.shiftKey:e.shiftKey)?s._moveFocusLeft(t):s._moveFocusRight(t);else u=e.shiftKey?s._moveFocusUp():s._moveFocusDown();if(s._processingTabKey=!1,u)break;s.props.shouldResetActiveElementWhenTabFromZone&&(s._activeElement=null)}return;case vf:if(s._isContentEditableElement(e.target)||s._isElementInput(e.target)&&!s._shouldInputLoseFocus(e.target,!1))return!1;var d=s._root.current&&s._root.current.firstChild;if(s._root.current&&d&&s.focusElement(i_(s._root.current,d,!0)))break;return;case gf:if(s._isContentEditableElement(e.target)||s._isElementInput(e.target)&&!s._shouldInputLoseFocus(e.target,!0))return!1;var p=s._root.current&&s._root.current.lastChild;if(s._root.current&&s.focusElement(o_(s._root.current,p,!0,!0,!0)))break;return;case uf:if(s._shouldRaiseClicksOnEnter&&s._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},s._getHorizontalDistanceFromCenter=function(e,t,n){var r=s._focusAlignment.left||s._focusAlignment.x||0,o=Math.floor(n.top),i=Math.floor(t.bottom),a=Math.floor(n.bottom),c=Math.floor(t.top);return e&&o>i||!e&&a<c?r>=n.left&&r<=n.left+n.width?0:Math.abs(n.left+n.width/2-r):s._shouldWrapFocus(s._activeElement,L_)?F_:B_},v_(s),s._id=ey("FocusZone"),s._focusAlignment={left:0,top:0},s._processingTabKey=!1;var c=null===(o=null!==(r=e.shouldRaiseClicks)&&void 0!==r?r:n.defaultProps.shouldRaiseClicks)||void 0===o||o;return s._shouldRaiseClicksOnEnter=null!==(i=e.shouldRaiseClicksOnEnter)&&void 0!==i?i:c,s._shouldRaiseClicksOnSpace=null!==(a=e.shouldRaiseClicksOnSpace)&&void 0!==a?a:c,s}return(0,e.__extends)(n,t),n.getOuterZones=function(){return U_.size},n._onKeyDownCapture=function(e){e.which===lf&&U_.forEach((function(e){return e._updateTabIndexes()}))},n.prototype.componentDidMount=function(){var e=this._root.current;if(z_[this._id]=this,e){for(var t=$b(e,j_);t&&t!==this._getDocument().body&&1===t.nodeType;){if(l_(t)){this._isInnerZone=!0;break}t=$b(t,j_)}this._isInnerZone||(U_.add(this),this._root.current&&this._root.current.addEventListener("keydown",n._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()}},n.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if((this._activeElement&&!e_(this._root.current,this._activeElement,j_)||this._defaultFocusElement&&!e_(this._root.current,this._defaultFocusElement,j_))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&t&&this._lastIndexPath&&(t.activeElement===t.body||null===t.activeElement||t.activeElement===e)){var n=function(e,t){for(var n=e,r=0,o=t;r<o.length;r++){var i=o[r],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return c_(n)&&a_(n)?n:i_(e,n,!0)||o_(e,n)}(e,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},n.prototype.componentWillUnmount=function(){delete z_[this._id],this._isInnerZone||(U_.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",n._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},n.prototype.render=function(){var t=this,n=this.props,r=n.as,o=n.elementType,i=n.rootProps,a=n.ariaDescribedBy,s=n.ariaLabelledBy,c=n.className,l=Nv(this.props,pv),u=r||o||"div";this._evaluateFocusBeforeRender();var d,p=(void 0===d&&(d=!1),!0===d&&(Fg=Og({},d)),Fg);return rl.createElement(u,(0,e.__assign)({"aria-labelledby":s,"aria-describedby":a},l,i,{className:Wv((D_||(D_=Xh({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),D_),c),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(e){return t._onKeyDown(e,p)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},n.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(R_)&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var r=z_[n.getAttribute(M_)];return!!r&&r.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&e_(this._root.current,this._activeElement)&&c_(this._activeElement)&&(!t||s_(this._activeElement)))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(i_(this._root.current,o,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},n.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(o_(this._root.current,e,!0,!0,!0))}return!1},n.prototype.focusElement=function(e,t){var n=this.props,r=n.onBeforeFocus,o=n.shouldReceiveFocus;return!(o&&!o(e)||r&&!r(e))&&(!!e&&(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),!0))},n.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(n.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),n.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var r=e_(e,n,!1);this._lastIndexPath=r?function(e,t){for(var n=[];t&&e&&t!==e;){var r=$b(t,!0);if(null===r)return[];n.unshift(Array.prototype.indexOf.call(r.children,t)),t=r}return n}(e,n):void 0}}},n.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")))},n.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e,n&&(l_(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},n.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},n.prototype._tryInvokeClickForFocusable=function(e,t){var n=e;if(n===this._root.current)return!1;do{if("BUTTON"===n.tagName||"A"===n.tagName||"INPUT"===n.tagName||"TEXTAREA"===n.tagName)return!1;if(this._isImmediateDescendantOfZone(n)&&"true"===n.getAttribute(R_)&&"true"!==n.getAttribute("data-disable-click-on-enter"))return H_(n,t),!0;n=$b(n,j_)}while(n!==this._root.current);return!1},n.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(l_(e))return z_[e.getAttribute(M_)];for(var t=e.firstElementChild;t;){if(l_(t))return z_[t.getAttribute(M_)];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null},n.prototype._moveFocus=function(e,t,n,r){void 0===r&&(r=!0);var o=this._activeElement,i=-1,a=void 0,s=!1,c=this.props.direction===Bb.bidirectional;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var l=c?o.getBoundingClientRect():null;do{if(o=e?i_(this._root.current,o):o_(this._root.current,o),!c){a=o;break}if(o){var u=t(l,o.getBoundingClientRect());if(-1===u&&-1===i){a=o;break}if(u>-1&&(-1===i||u<i)&&(i=u,a=o),i>=0&&u<0)break}}while(o);if(a&&a!==this._activeElement)s=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&r)return e?this.focusElement(i_(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(o_(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return s},n.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(r,o){var i=-1,a=Math.floor(o.top),s=Math.floor(r.bottom);return a<s?e._shouldWrapFocus(e._activeElement,L_)?F_:B_:((-1===t&&a>=s||a===t)&&(t=a,i=n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},n.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(r,o){var i=-1,a=Math.floor(o.bottom),s=Math.floor(o.top),c=Math.floor(r.top);return a>c?e._shouldWrapFocus(e._activeElement,L_)?F_:B_:((-1===t&&a<=c||s===t)&&(t=s,i=n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},n.prototype._moveFocusLeft=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,O_);return!!this._moveFocus(Pf(e),(function(r,o){var i=-1;return(Pf(e)?parseFloat(o.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)):parseFloat(o.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)))&&o.right<=r.right&&t.props.direction!==Bb.vertical?i=r.right-o.right:n||(i=B_),i}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},n.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,O_);return!!this._moveFocus(!Pf(e),(function(r,o){var i=-1;return(Pf(e)?parseFloat(o.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)):parseFloat(o.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)))&&o.left>=r.left&&t.props.direction!==Bb.vertical?i=o.left-r.left:n||(i=B_),i}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},n.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 r=I_(n);if(!r)return!1;var o=-1,i=void 0,a=-1,s=-1,c=r.clientHeight,l=n.getBoundingClientRect();do{if(n=e?i_(this._root.current,n):o_(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,o=m,i=n):!e&&h<s?(s=h,o=m,i=n):(-1===o||m<=o)&&(o=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(i_(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(o_(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},n.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===Bb.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),o=r.left+r.width/2,i=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:o,top:i}),t&&(this._focusAlignment.left=o),n&&(this._focusAlignment.top=i)}},n.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},n.prototype._getOwnerZone=function(e){for(var t=$b(e,j_);t&&t!==this._root.current&&t!==this._getDocument().body;){if(l_(t))return t;t=$b(t,j_)}return t},n.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&&!e_(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!c_(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var r=t[n];l_(r)?"true"===r.getAttribute(R_)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(N_)&&r.setAttribute(N_,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(N_)&&r.setAttribute(N_,"0"))):(r.getAttribute&&"false"===r.getAttribute(R_)&&r.setAttribute(N_,"-1"),c_(r)?this.props.disabled?r.setAttribute(N_,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(N_)&&r.setAttribute(N_,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(N_)&&r.setAttribute(N_,"0")):"svg"===r.tagName&&"false"!==r.getAttribute("focusable")&&r.setAttribute("focusable","false")),this._updateTabIndexes(r)}},n.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},n.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},n.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&V_.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,r=n!==e.selectionEnd,o=e.value,i=e.readOnly;if(r||n>0&&!t&&!i||n!==o.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},n.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||d_(e,t)},n.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&P_(e,this._root.current)},n.prototype._getDocument=function(){return xf(this._root.current)},n.defaultProps={isCircularNavigation:!1,direction:Bb.bidirectional,shouldRaiseClicks:!0},n}(rl.Component),W_=function(e,t){var n=function(e){r=r.filter((function(t){return t.substr(0,e.length)!==e}))};if(t){var r=Object.keys(t).filter((function(e){return-1!==e.indexOf("-")}));n("aria-"),n("data-"),r.length>0&&Gb(e,"Invalid props: ".concat(r),1)}},G_=(0,rl.forwardRef)((function(t,n){var r=t.as,o=void 0===r?"div":r,i=t.direction,a=void 0===i?"bidirectional":i,s=t.handleTabKey,c=t.shouldEnterInnerZone,l=t.children,u=(0,e.__rest)(t,["as","direction","handleTabKey","shouldEnterInnerZone","children"]);qv("FocusZone",u.id);var d=(0,rl.useRef)(null);return(0,rl.useImperativeHandle)(n,(function(){return{focus:function(){var e;null===(e=d.current)||void 0===e||e.focus()}}})),W_("FocusZone",u),ol().createElement(q_,(0,e.__assign)({as:o,direction:Bb[a],handleTabKey:s?Kb[s]:void 0,isInnerZoneKeystroke:c},u,{componentRef:d}),l)})),K_=0,Y_=1,Q_=2,X_=3,J_=4,$_=5,Z_=6,eC=7,tC=8,nC=9,rC=10,oC=11,iC=12,aC=13,sC={"top-auto":X_,"top-center":Y_,"top-right":Q_,"top-left":K_,"right-center":iC,"right-top":oC,"right-bottom":aC,"bottom-auto":eC,"bottom-center":$_,"bottom-right":Z_,"bottom-left":J_,"left-center":nC,"left-top":tC,"left-bottom":rC},cC=["s","m","l","xl","xxl","xxxl"],lC={"12px":"16px","14px":"20px","16px":"24px","24px":"32px","32px":"40px","48px":"64px","60px":"72px","72px":"88px","96px":"112px","246px":"246px","186px":"186px","220px":"220px","270px":"270px"},uC={s:0,m:480,l:640,xl:1024,xxl:1366,xxxl:1920},dC={s:uC.m-1,m:uC.l-1,l:uC.xl-1,xl:uC.xxl-1,xxl:uC.xxxl-1,xxxl:Number.MAX_SAFE_INTEGER},pC=function(e){return cC.find((function(t){return e<=dC[t]}))||"xxxl"},hC=("@media only screen and (min-width: ".concat(uC.s,"px)"),"@media only screen and (min-width: ".concat(uC.m,"px)")),fC="@media only screen and (min-width: ".concat(uC.l,"px)"),mC="@media only screen and (min-width: ".concat(uC.xl,"px)"),gC="@media only screen and (min-width: ".concat(uC.xxl,"px)"),vC="@media only screen and (min-width: ".concat(uC.xxxl,"px)"),yC="@media only screen and (max-width: ".concat(dC.s,"px)"),bC="@media only screen and (max-width: ".concat(dC.m,"px)"),_C="@media only screen and (max-width: ".concat(dC.l,"px)"),CC=("@media only screen and (max-width: ".concat(dC.xl,"px)"),"@media only screen and (max-width: ".concat(dC.xxl,"px)"),"@media only screen and (min-height: 0px)"),wC="@media only screen and (min-height: 420px)",EC="@media only screen and (-ms-high-contrast: active), (forced-colors: active)",xC="@media only screen and (-ms-high-contrast: white-on-black), (forced-colors: active) and (prefers-color-scheme: dark)",SC=function(e){var t=e,n=[];return{setValue:function(e){t!==e&&(t=e,pl().unstable_batchedUpdates((function(){n.forEach((function(t){return t(e)}))})))},useValue:function(){var e=function(e){var t=(0,rl.useState)(e)[1];return(0,rl.useCallback)((function(e){t(e)}),[])}(t);return El((function(){n=n.concat(e)})),wl((function(){n=n.filter((function(t){return t!==e}))})),t}}}(pC(window.innerWidth)),kC="x-viewport",TC=window.matchMedia?cC.map((function(e){var t=window.matchMedia("(max-width: ".concat(dC[e],"px) and (min-width: ").concat(uC[e],"px)"));return t[kC]=e,t})):void 0,IC=function(e){var t;if(e.matches){var n=e[kC]||(null===(t=e.currentTarget)||void 0===t?void 0:t[kC])||pC(window.innerWidth);SC.setValue(n)}},AC=function(){return SC.useValue()},PC=function(e){return["s","m"].includes(e)},DC=function(){var e;return{root:(e={cursor:"pointer",position:"relative",borderWidth:"0px",height:"100%",width:"100%",padding:"0px"},e[EC]={borderWidth:"1px",":focus":{outline:"auto"}},e)}},RC=function(e,t,n,r){return{root:{borderRadius:t,overflow:"0px"!==t?"hidden":void 0,boxShadow:n?Zp.depth4:void 0,borderBottom:r?"1px solid ".concat(e.palette.white):void 0}}},MC=pb(),NC=function(t){function n(e){var n=t.call(this,e)||this;n._onRenderProgress=function(e){var t=n.props,r=t.ariaLabel,o=t.ariaValueText,i=t.barHeight,a=t.className,s=t.description,c=t.label,l=void 0===c?n.props.title:c,u=t.styles,d=t.theme,p="number"===typeof n.props.percentComplete?Math.min(100,Math.max(0,100*n.props.percentComplete)):void 0,h=MC(u,{theme:d,className:a,barHeight:i,indeterminate:void 0===p}),f={width:void 0!==p?p+"%":void 0,transition:void 0!==p&&p<.01?"none":void 0},m=void 0!==p?0:void 0,g=void 0!==p?100:void 0,v=void 0!==p?Math.floor(p):void 0;return rl.createElement("div",{className:h.itemProgress},rl.createElement("div",{className:h.progressTrack}),rl.createElement("div",{className:h.progressBar,style:f,role:"progressbar","aria-describedby":s?n._descriptionId:void 0,"aria-label":r,"aria-labelledby":l?n._labelId:void 0,"aria-valuemin":m,"aria-valuemax":g,"aria-valuenow":v,"aria-valuetext":o}))};var r=ey("progress-indicator");return n._labelId=r+"-label",n._descriptionId=r+"-description",n}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.barHeight,r=t.className,o=t.label,i=void 0===o?this.props.title:o,a=t.description,s=t.styles,c=t.theme,l=t.progressHidden,u=t.onRenderProgress,d=void 0===u?this._onRenderProgress:u,p="number"===typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,h=MC(s,{theme:c,className:r,barHeight:n,indeterminate:void 0===p});return rl.createElement("div",{className:h.root},i?rl.createElement("div",{id:this._labelId,className:h.itemName},i):null,l?null:d((0,e.__assign)((0,e.__assign)({},this.props),{percentComplete:p}),this._onRenderProgress),a?rl.createElement("div",{id:this._descriptionId,className:h.itemDescription},a):null)},n.defaultProps={label:"",description:"",width:180},n}(rl.Component),LC={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},OC=of((function(){return Bf({"0%":{left:"-30%"},"100%":{left:"100%"}})})),FC=of((function(){return Bf({"100%":{right:"-30%"},"0%":{right:"100%"}})})),BC=ib(NC,(function(t){var n,r,o,i=Pf(t.theme),a=t.className,s=t.indeterminate,c=t.theme,l=t.barHeight,u=void 0===l?2:l,d=c.palette,p=c.semanticColors,h=c.fonts,f=og(LC,c),m=d.neutralLight;return{root:[f.root,h.medium,a],itemName:[f.itemName,Vg,{color:p.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[f.itemDescription,{color:p.bodySubtext,fontSize:h.small.fontSize,lineHeight:18}],itemProgress:[f.itemProgress,{position:"relative",overflow:"hidden",height:u,padding:"8px 0"}],progressTrack:[f.progressTrack,{position:"absolute",width:"100%",height:u,backgroundColor:m,selectors:(n={},n[Wm]={borderBottom:"1px solid WindowText"},n)}],progressBar:[{backgroundColor:d.themePrimary,height:u,position:"absolute",transition:"width .3s ease",width:0,selectors:(r={},r[Wm]=(0,e.__assign)({backgroundColor:"highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},s?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, "+m+" 0%, "+d.themePrimary+" 50%, "+m+" 100%)",animation:(i?FC():OC())+" 3s infinite",selectors:(o={},o[Wm]={background:"highlight"},o)}:{transition:"width .15s linear"},f.progressBar]}}),void 0,{scope:"ProgressIndicator"});function HC(e,t){void 0===e&&(e=""),Yg({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:"\ue700",ChevronDown:"\ue70d",ChevronUp:"\ue70e",Edit:"\ue70f",Add:"\ue710",Cancel:"\ue711",More:"\ue712",Settings:"\ue713",Mail:"\ue715",Filter:"\ue71c",Search:"\ue721",Share:"\ue72d",BlockedSite:"\ue72f",FavoriteStar:"\ue734",FavoriteStarFill:"\ue735",CheckMark:"\ue73e",Delete:"\ue74d",ChevronLeft:"\ue76b",ChevronRight:"\ue76c",Calendar:"\ue787",Megaphone:"\ue789",Undo:"\ue7a7",Flag:"\ue7c1",Page:"\ue7c3",Pinned:"\ue840",View:"\ue890",Clear:"\ue894",Download:"\ue896",Upload:"\ue898",Folder:"\ue8b7",Sort:"\ue8cb",AlignRight:"\ue8e2",AlignLeft:"\ue8e4",Tag:"\ue8ec",AddFriend:"\ue8fa",Info:"\ue946",SortLines:"\ue9d0",List:"\uea37",CircleRing:"\uea3a",Heart:"\ueb51",HeartFill:"\ueb52",Tiles:"\ueca5",Embed:"\uecce",Glimmer:"\uecf4",Ascending:"\uedc0",Descending:"\uedc1",SortUp:"\uee68",SortDown:"\uee69",SyncToPC:"\uee6e",LargeGrid:"\ueecb",SkypeCheck:"\uef80",SkypeClock:"\uef81",SkypeMinus:"\uef82",ClearFilter:"\uef8f",Flow:"\uef90",StatusCircleCheckmark:"\uf13e",MoreVertical:"\uf2bc"}},t)}function zC(e,t){void 0===e&&(e=""),Yg({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:"\ue302",CommentSolid:"\ue30e",ChangeEntitlements:"\ue310",Installation:"\ue311",WebAppBuilderModule:"\ue313",WebAppBuilderFragment:"\ue314",WebAppBuilderSlot:"\ue315",BullseyeTargetEdit:"\ue319",WebAppBuilderFragmentCreate:"\ue31b",PageData:"\ue31c",PageHeaderEdit:"\ue31d",ProductList:"\ue31e",UnpublishContent:"\ue31f",DependencyAdd:"\ue344",DependencyRemove:"\ue345",EntitlementPolicy:"\ue346",EntitlementRedemption:"\ue347",SchoolDataSyncLogo:"\ue34c",PinSolid12:"\ue352",PinSolidOff12:"\ue353",AddLink:"\ue35e",SharepointAppIcon16:"\ue365",DataflowsLink:"\ue366",TimePicker:"\ue367",UserWarning:"\ue368",ComplianceAudit:"\ue369",InternetSharing:"\ue704",Brightness:"\ue706",MapPin:"\ue707",Airplane:"\ue709",Tablet:"\ue70a",QuickNote:"\ue70b",Video:"\ue714",People:"\ue716",Phone:"\ue717",Pin:"\ue718",Shop:"\ue719",Stop:"\ue71a",Link:"\ue71b",AllApps:"\ue71d",Zoom:"\ue71e",ZoomOut:"\ue71f",Microphone:"\ue720",Camera:"\ue722",Attach:"\ue723",Send:"\ue724",FavoriteList:"\ue728",PageSolid:"\ue729",Forward:"\ue72a",Back:"\ue72b",Refresh:"\ue72c",Lock:"\ue72e",ReportHacked:"\ue730",EMI:"\ue731",MiniLink:"\ue732",Blocked:"\ue733",ReadingMode:"\ue736",Favicon:"\ue737",Remove:"\ue738",Checkbox:"\ue739",CheckboxComposite:"\ue73a",CheckboxFill:"\ue73b",CheckboxIndeterminate:"\ue73c",CheckboxCompositeReversed:"\ue73d",BackToWindow:"\ue73f",FullScreen:"\ue740",Print:"\ue749",Up:"\ue74a",Down:"\ue74b",OEM:"\ue74c",Save:"\ue74e",ReturnKey:"\ue751",Cloud:"\ue753",Flashlight:"\ue754",CommandPrompt:"\ue756",Sad:"\ue757",RealEstate:"\ue758",SIPMove:"\ue759",EraseTool:"\ue75c",GripperTool:"\ue75e",Dialpad:"\ue75f",PageLeft:"\ue760",PageRight:"\ue761",MultiSelect:"\ue762",KeyboardClassic:"\ue765",Play:"\ue768",Pause:"\ue769",InkingTool:"\ue76d",Emoji2:"\ue76e",GripperBarHorizontal:"\ue76f",System:"\ue770",Personalize:"\ue771",SearchAndApps:"\ue773",Globe:"\ue774",EaseOfAccess:"\ue776",ContactInfo:"\ue779",Unpin:"\ue77a",Contact:"\ue77b",Memo:"\ue77c",IncomingCall:"\ue77e"}},t)}function UC(e,t){void 0===e&&(e=""),Yg({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:"\ue77f",WindowsLogo:"\ue782",Error:"\ue783",GripperBarVertical:"\ue784",Unlock:"\ue785",Slideshow:"\ue786",Trim:"\ue78a",AutoEnhanceOn:"\ue78d",AutoEnhanceOff:"\ue78e",Color:"\ue790",SaveAs:"\ue792",Light:"\ue793",Filters:"\ue795",AspectRatio:"\ue799",Contrast:"\ue7a1",Redo:"\ue7a6",Crop:"\ue7a8",PhotoCollection:"\ue7aa",Album:"\ue7ab",Rotate:"\ue7ad",PanoIndicator:"\ue7b0",Translate:"\ue7b2",RedEye:"\ue7b3",ViewOriginal:"\ue7b4",ThumbnailView:"\ue7b6",Package:"\ue7b8",Telemarketer:"\ue7b9",Warning:"\ue7ba",Financial:"\ue7bb",Education:"\ue7be",ShoppingCart:"\ue7bf",Train:"\ue7c0",Move:"\ue7c2",TouchPointer:"\ue7c9",Merge:"\ue7d5",TurnRight:"\ue7db",Ferry:"\ue7e3",Highlight:"\ue7e6",PowerButton:"\ue7e8",Tab:"\ue7e9",Admin:"\ue7ef",TVMonitor:"\ue7f4",Speakers:"\ue7f5",Game:"\ue7fc",HorizontalTabKey:"\ue7fd",UnstackSelected:"\ue7fe",StackIndicator:"\ue7ff",Nav2DMapView:"\ue800",StreetsideSplitMinimize:"\ue802",Car:"\ue804",Bus:"\ue806",EatDrink:"\ue807",SeeDo:"\ue808",LocationCircle:"\ue80e",Home:"\ue80f",SwitcherStartEnd:"\ue810",ParkingLocation:"\ue811",IncidentTriangle:"\ue814",Touch:"\ue815",MapDirections:"\ue816",CaretHollow:"\ue817",CaretSolid:"\ue818",History:"\ue81c",Location:"\ue81d",MapLayers:"\ue81e",SearchNearby:"\ue820",Work:"\ue821",Recent:"\ue823",Hotel:"\ue824",Bank:"\ue825",LocationDot:"\ue827",Dictionary:"\ue82d",ChromeBack:"\ue830",FolderOpen:"\ue838",PinnedFill:"\ue842",RevToggleKey:"\ue845",USB:"\ue88e",Previous:"\ue892",Next:"\ue893",Sync:"\ue895",Help:"\ue897",Emoji:"\ue899",MailForward:"\ue89c",ClosePane:"\ue89f",OpenPane:"\ue8a0",PreviewLink:"\ue8a1",ZoomIn:"\ue8a3",Bookmarks:"\ue8a4",Document:"\ue8a5",ProtectedDocument:"\ue8a6",OpenInNewWindow:"\ue8a7",MailFill:"\ue8a8",ViewAll:"\ue8a9",Switch:"\ue8ab",Rename:"\ue8ac",Go:"\ue8ad",Remote:"\ue8af",SelectAll:"\ue8b3",Orientation:"\ue8b4",Import:"\ue8b5"}},t)}function VC(e,t){void 0===e&&(e=""),Yg({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:"\ue8b9",ChromeClose:"\ue8bb",ShowResults:"\ue8bc",Message:"\ue8bd",CalendarDay:"\ue8bf",CalendarWeek:"\ue8c0",MailReplyAll:"\ue8c2",Read:"\ue8c3",Cut:"\ue8c6",PaymentCard:"\ue8c7",Copy:"\ue8c8",Important:"\ue8c9",MailReply:"\ue8ca",GotoToday:"\ue8d1",Font:"\ue8d2",FontColor:"\ue8d3",FolderFill:"\ue8d5",Permissions:"\ue8d7",DisableUpdates:"\ue8d8",Unfavorite:"\ue8d9",Italic:"\ue8db",Underline:"\ue8dc",Bold:"\ue8dd",MoveToFolder:"\ue8de",Dislike:"\ue8e0",Like:"\ue8e1",AlignCenter:"\ue8e3",OpenFile:"\ue8e5",ClearSelection:"\ue8e6",FontDecrease:"\ue8e7",FontIncrease:"\ue8e8",FontSize:"\ue8e9",CellPhone:"\ue8ea",RepeatOne:"\ue8ed",RepeatAll:"\ue8ee",Calculator:"\ue8ef",Library:"\ue8f1",PostUpdate:"\ue8f3",NewFolder:"\ue8f4",CalendarReply:"\ue8f5",UnsyncFolder:"\ue8f6",SyncFolder:"\ue8f7",BlockContact:"\ue8f8",Accept:"\ue8fb",BulletedList:"\ue8fd",Preview:"\ue8ff",News:"\ue900",Chat:"\ue901",Group:"\ue902",World:"\ue909",Comment:"\ue90a",DockLeft:"\ue90c",DockRight:"\ue90d",Repair:"\ue90f",Accounts:"\ue910",Street:"\ue913",RadioBullet:"\ue915",Stopwatch:"\ue916",Clock:"\ue917",WorldClock:"\ue918",AlarmClock:"\ue919",Photo:"\ue91b",ActionCenter:"\ue91c",Hospital:"\ue91d",Timer:"\ue91e",FullCircleMask:"\ue91f",LocationFill:"\ue920",ChromeMinimize:"\ue921",ChromeRestore:"\ue923",Annotation:"\ue924",Fingerprint:"\ue928",Handwriting:"\ue929",ChromeFullScreen:"\ue92d",Completed:"\ue930",Label:"\ue932",FlickDown:"\ue935",FlickUp:"\ue936",FlickLeft:"\ue937",FlickRight:"\ue938",MiniExpand:"\ue93a",MiniContract:"\ue93b",Streaming:"\ue93e",MusicInCollection:"\ue940",OneDriveLogo:"\ue941",CompassNW:"\ue942",Code:"\ue943",LightningBolt:"\ue945",CalculatorMultiply:"\ue947",CalculatorAddition:"\ue948",CalculatorSubtract:"\ue949",CalculatorPercentage:"\ue94c",CalculatorEqualTo:"\ue94e",PrintfaxPrinterFile:"\ue956",StorageOptical:"\ue958",Communications:"\ue95a",Headset:"\ue95b",Health:"\ue95e",Webcam2:"\ue960",FrontCamera:"\ue96b",ChevronUpSmall:"\ue96d"}},t)}function jC(e,t){void 0===e&&(e=""),Yg({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:"\ue96e",ChevronLeftSmall:"\ue96f",ChevronRightSmall:"\ue970",ChevronUpMed:"\ue971",ChevronDownMed:"\ue972",ChevronLeftMed:"\ue973",ChevronRightMed:"\ue974",Devices2:"\ue975",PC1:"\ue977",PresenceChickletVideo:"\ue979",Reply:"\ue97a",HalfAlpha:"\ue97e",ConstructionCone:"\ue98f",DoubleChevronLeftMed:"\ue991",Volume0:"\ue992",Volume1:"\ue993",Volume2:"\ue994",Volume3:"\ue995",Chart:"\ue999",Robot:"\ue99a",Manufacturing:"\ue99c",LockSolid:"\ue9a2",FitPage:"\ue9a6",FitWidth:"\ue9a7",BidiLtr:"\ue9aa",BidiRtl:"\ue9ab",RightDoubleQuote:"\ue9b1",Sunny:"\ue9bd",CloudWeather:"\ue9be",Cloudy:"\ue9bf",PartlyCloudyDay:"\ue9c0",PartlyCloudyNight:"\ue9c1",ClearNight:"\ue9c2",RainShowersDay:"\ue9c3",Rain:"\ue9c4",Thunderstorms:"\ue9c6",RainSnow:"\ue9c7",Snow:"\ue9c8",BlowingSnow:"\ue9c9",Frigid:"\ue9ca",Fog:"\ue9cb",Squalls:"\ue9cc",Duststorm:"\ue9cd",Unknown:"\ue9ce",Precipitation:"\ue9cf",Ribbon:"\ue9d1",AreaChart:"\ue9d2",Assign:"\ue9d3",FlowChart:"\ue9d4",CheckList:"\ue9d5",Diagnostic:"\ue9d9",Generate:"\ue9da",LineChart:"\ue9e6",Equalizer:"\ue9e9",BarChartHorizontal:"\ue9eb",BarChartVertical:"\ue9ec",Freezing:"\ue9ef",FunnelChart:"\ue9f1",Processing:"\ue9f5",Quantity:"\ue9f8",ReportDocument:"\ue9f9",StackColumnChart:"\ue9fc",SnowShowerDay:"\ue9fd",HailDay:"\uea00",WorkFlow:"\uea01",HourGlass:"\uea03",StoreLogoMed20:"\uea04",TimeSheet:"\uea05",TriangleSolid:"\uea08",UpgradeAnalysis:"\uea0b",VideoSolid:"\uea0c",RainShowersNight:"\uea0f",SnowShowerNight:"\uea11",Teamwork:"\uea12",HailNight:"\uea13",PeopleAdd:"\uea15",Glasses:"\uea16",DateTime2:"\uea17",Shield:"\uea18",Header1:"\uea19",PageAdd:"\uea1a",NumberedList:"\uea1c",PowerBILogo:"\uea1e",Info2:"\uea1f",MusicInCollectionFill:"\uea36",Asterisk:"\uea38",ErrorBadge:"\uea39",CircleFill:"\uea3b",Record2:"\uea3f",AllAppsMirrored:"\uea40",BookmarksMirrored:"\uea41",BulletedListMirrored:"\uea42",CaretHollowMirrored:"\uea45",CaretSolidMirrored:"\uea46",ChromeBackMirrored:"\uea47",ClearSelectionMirrored:"\uea48",ClosePaneMirrored:"\uea49",DockLeftMirrored:"\uea4c",DoubleChevronLeftMedMirrored:"\uea4d",GoMirrored:"\uea4f"}},t)}function qC(e,t){void 0===e&&(e=""),Yg({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:"\uea51",ImportMirrored:"\uea52",ImportAllMirrored:"\uea53",ListMirrored:"\uea55",MailForwardMirrored:"\uea56",MailReplyMirrored:"\uea57",MailReplyAllMirrored:"\uea58",MiniContractMirrored:"\uea59",MiniExpandMirrored:"\uea5a",OpenPaneMirrored:"\uea5b",ParkingLocationMirrored:"\uea5e",SendMirrored:"\uea63",ShowResultsMirrored:"\uea65",ThumbnailViewMirrored:"\uea67",Media:"\uea69",Devices3:"\uea6c",Focus:"\uea6f",VideoLightOff:"\uea74",Lightbulb:"\uea80",StatusTriangle:"\uea82",VolumeDisabled:"\uea85",Puzzle:"\uea86",EmojiNeutral:"\uea87",EmojiDisappointed:"\uea88",HomeSolid:"\uea8a",Ringer:"\uea8f",PDF:"\uea90",HeartBroken:"\uea92",StoreLogo16:"\uea96",MultiSelectMirrored:"\uea98",Broom:"\uea99",AddToShoppingList:"\uea9a",Cocktails:"\uea9d",Wines:"\ueabf",Articles:"\ueac1",Cycling:"\ueac7",DietPlanNotebook:"\ueac8",Pill:"\ueacb",ExerciseTracker:"\ueacc",HandsFree:"\uead0",Medical:"\uead4",Running:"\ueada",Weights:"\ueadb",Trackers:"\ueadf",AddNotes:"\ueae3",AllCurrency:"\ueae4",BarChart4:"\ueae7",CirclePlus:"\ueaee",Coffee:"\ueaef",Cotton:"\ueaf3",Market:"\ueafc",Money:"\ueafd",PieDouble:"\ueb04",PieSingle:"\ueb05",RemoveFilter:"\ueb08",Savings:"\ueb0b",Sell:"\ueb0c",StockDown:"\ueb0f",StockUp:"\ueb11",Lamp:"\ueb19",Source:"\ueb1b",MSNVideos:"\ueb1c",Cricket:"\ueb1e",Golf:"\ueb1f",Baseball:"\ueb20",Soccer:"\ueb21",MoreSports:"\ueb22",AutoRacing:"\ueb24",CollegeHoops:"\ueb25",CollegeFootball:"\ueb26",ProFootball:"\ueb27",ProHockey:"\ueb28",Rugby:"\ueb2d",SubstitutionsIn:"\ueb31",Tennis:"\ueb33",Arrivals:"\ueb34",Design:"\ueb3c",Website:"\ueb41",Drop:"\ueb42",HistoricalWeather:"\ueb43",SkiResorts:"\ueb45",Snowflake:"\ueb46",BusSolid:"\ueb47",FerrySolid:"\ueb48",AirplaneSolid:"\ueb4c",TrainSolid:"\ueb4d",Ticket:"\ueb54",WifiWarning4:"\ueb63",Devices4:"\ueb66",AzureLogo:"\ueb6a",BingLogo:"\ueb6b",MSNLogo:"\ueb6c",OutlookLogoInverse:"\ueb6d",OfficeLogo:"\ueb6e",SkypeLogo:"\ueb6f",Door:"\ueb75",EditMirrored:"\ueb7e",GiftCard:"\ueb8e",DoubleBookmark:"\ueb8f",StatusErrorFull:"\ueb90"}},t)}function WC(e,t){void 0===e&&(e=""),Yg({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:"\ueb95",FastForward:"\ueb9d",Rewind:"\ueb9e",Photo2:"\ueb9f",OpenSource:"\uebc2",Movers:"\uebcd",CloudDownload:"\uebd3",Family:"\uebda",WindDirection:"\uebe6",Bug:"\uebe8",SiteScan:"\uebec",BrowserScreenShot:"\uebed",F12DevTools:"\uebee",CSS:"\uebef",JS:"\uebf0",DeliveryTruck:"\uebf4",ReminderPerson:"\uebf7",ReminderGroup:"\uebf8",ReminderTime:"\uebf9",TabletMode:"\uebfc",Umbrella:"\uec04",NetworkTower:"\uec05",CityNext:"\uec06",CityNext2:"\uec07",Section:"\uec0c",OneNoteLogoInverse:"\uec0d",ToggleFilled:"\uec11",ToggleBorder:"\uec12",SliderThumb:"\uec13",ToggleThumb:"\uec14",Documentation:"\uec17",Badge:"\uec1b",Giftbox:"\uec1f",VisualStudioLogo:"\uec22",HomeGroup:"\uec26",ExcelLogoInverse:"\uec28",WordLogoInverse:"\uec29",PowerPointLogoInverse:"\uec2a",Cafe:"\uec32",SpeedHigh:"\uec4a",Commitments:"\uec4d",ThisPC:"\uec4e",MusicNote:"\uec4f",MicOff:"\uec54",PlaybackRate1x:"\uec57",EdgeLogo:"\uec60",CompletedSolid:"\uec61",AlbumRemove:"\uec62",MessageFill:"\uec70",TabletSelected:"\uec74",MobileSelected:"\uec75",LaptopSelected:"\uec76",TVMonitorSelected:"\uec77",DeveloperTools:"\uec7a",Shapes:"\uec7c",InsertTextBox:"\uec7d",LowerBrightness:"\uec8a",WebComponents:"\uec8b",OfflineStorage:"\uec8c",DOM:"\uec8d",CloudUpload:"\uec8e",ScrollUpDown:"\uec8f",DateTime:"\uec92",Event:"\ueca3",Cake:"\ueca4",Org:"\ueca6",PartyLeader:"\ueca7",DRM:"\ueca8",CloudAdd:"\ueca9",AppIconDefault:"\uecaa",Photo2Add:"\uecab",Photo2Remove:"\uecac",Calories:"\uecad",POI:"\uecaf",AddTo:"\uecc8",RadioBtnOff:"\uecca",RadioBtnOn:"\ueccb",ExploreContent:"\ueccd",Product:"\uecdc",ProgressLoopInner:"\uecde",ProgressLoopOuter:"\uecdf",Blocked2:"\uece4",FangBody:"\ueceb",Toolbox:"\ueced",PageHeader:"\uecee",ChatInviteFriend:"\uecfe",Brush:"\uecff",Shirt:"\ued00",Crown:"\ued01",Diamond:"\ued02",ScaleUp:"\ued09",QRCode:"\ued14",Feedback:"\ued15",SharepointLogoInverse:"\ued18",YammerLogo:"\ued19",Hide:"\ued1a",Uneditable:"\ued1d",ReturnToSession:"\ued24",OpenFolderHorizontal:"\ued25",CalendarMirrored:"\ued28"}},t)}function GC(e,t){void 0===e&&(e=""),Yg({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:"\ued29",OutOfOffice:"\ued34",Trophy:"\ued3f",ReopenPages:"\ued50",EmojiTabSymbols:"\ued58",AADLogo:"\ued68",AccessLogo:"\ued69",AdminALogoInverse32:"\ued6a",AdminCLogoInverse32:"\ued6b",AdminDLogoInverse32:"\ued6c",AdminELogoInverse32:"\ued6d",AdminLLogoInverse32:"\ued6e",AdminMLogoInverse32:"\ued6f",AdminOLogoInverse32:"\ued70",AdminPLogoInverse32:"\ued71",AdminSLogoInverse32:"\ued72",AdminYLogoInverse32:"\ued73",DelveLogoInverse:"\ued76",ExchangeLogoInverse:"\ued78",LyncLogo:"\ued79",OfficeVideoLogoInverse:"\ued7a",SocialListeningLogo:"\ued7c",VisioLogoInverse:"\ued7d",Balloons:"\ued7e",Cat:"\ued7f",MailAlert:"\ued80",MailCheck:"\ued81",MailLowImportance:"\ued82",MailPause:"\ued83",MailRepeat:"\ued84",SecurityGroup:"\ued85",Table:"\ued86",VoicemailForward:"\ued87",VoicemailReply:"\ued88",Waffle:"\ued89",RemoveEvent:"\ued8a",EventInfo:"\ued8b",ForwardEvent:"\ued8c",WipePhone:"\ued8d",AddOnlineMeeting:"\ued8e",JoinOnlineMeeting:"\ued8f",RemoveLink:"\ued90",PeopleBlock:"\ued91",PeopleRepeat:"\ued92",PeopleAlert:"\ued93",PeoplePause:"\ued94",TransferCall:"\ued95",AddPhone:"\ued96",UnknownCall:"\ued97",NoteReply:"\ued98",NoteForward:"\ued99",NotePinned:"\ued9a",RemoveOccurrence:"\ued9b",Timeline:"\ued9c",EditNote:"\ued9d",CircleHalfFull:"\ued9e",Room:"\ued9f",Unsubscribe:"\ueda0",Subscribe:"\ueda1",HardDrive:"\ueda2",RecurringTask:"\uedb2",TaskManager:"\uedb7",TaskManagerMirrored:"\uedb8",Combine:"\uedbb",Split:"\uedbc",DoubleChevronUp:"\uedbd",DoubleChevronLeft:"\uedbe",DoubleChevronRight:"\uedbf",TextBox:"\uedc2",TextField:"\uedc3",NumberField:"\uedc4",Dropdown:"\uedc5",PenWorkspace:"\uedc6",BookingsLogo:"\uedc7",ClassNotebookLogoInverse:"\uedc8",DelveAnalyticsLogo:"\uedca",DocsLogoInverse:"\uedcb",Dynamics365Logo:"\uedcc",DynamicSMBLogo:"\uedcd",OfficeAssistantLogo:"\uedce",OfficeStoreLogo:"\uedcf",OneNoteEduLogoInverse:"\uedd0",PlannerLogo:"\uedd1",PowerApps:"\uedd2",Suitcase:"\uedd3",ProjectLogoInverse:"\uedd4",CaretLeft8:"\uedd5",CaretRight8:"\uedd6",CaretUp8:"\uedd7",CaretDown8:"\uedd8",CaretLeftSolid8:"\uedd9",CaretRightSolid8:"\uedda",CaretUpSolid8:"\ueddb",CaretDownSolid8:"\ueddc",ClearFormatting:"\ueddd",Superscript:"\uedde",Subscript:"\ueddf",Strikethrough:"\uede0",Export:"\uede1",ExportMirrored:"\uede2"}},t)}function KC(e,t){void 0===e&&(e=""),Yg({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:"\uedff",SingleBookmarkSolid:"\uee00",DoubleChevronDown:"\uee04",FollowUser:"\uee05",ReplyAll:"\uee0a",WorkforceManagement:"\uee0f",RecruitmentManagement:"\uee12",Questionnaire:"\uee19",ManagerSelfService:"\uee23",ProductionFloorManagement:"\uee29",ProductRelease:"\uee2e",ProductVariant:"\uee30",ReplyMirrored:"\uee35",ReplyAllMirrored:"\uee36",Medal:"\uee38",AddGroup:"\uee3d",QuestionnaireMirrored:"\uee4b",CloudImportExport:"\uee55",TemporaryUser:"\uee58",CaretSolid16:"\uee62",GroupedDescending:"\uee66",GroupedAscending:"\uee67",AwayStatus:"\uee6a",MyMoviesTV:"\uee6c",GenericScan:"\uee6f",AustralianRules:"\uee70",WifiEthernet:"\uee77",TrackersMirrored:"\uee92",DateTimeMirrored:"\uee93",StopSolid:"\uee95",DoubleChevronUp12:"\uee96",DoubleChevronDown12:"\uee97",DoubleChevronLeft12:"\uee98",DoubleChevronRight12:"\uee99",CalendarAgenda:"\uee9a",ConnectVirtualMachine:"\uee9d",AddEvent:"\ueeb5",AssetLibrary:"\ueeb6",DataConnectionLibrary:"\ueeb7",DocLibrary:"\ueeb8",FormLibrary:"\ueeb9",FormLibraryMirrored:"\ueeba",ReportLibrary:"\ueebb",ReportLibraryMirrored:"\ueebc",ContactCard:"\ueebd",CustomList:"\ueebe",CustomListMirrored:"\ueebf",IssueTracking:"\ueec0",IssueTrackingMirrored:"\ueec1",PictureLibrary:"\ueec2",OfficeAddinsLogo:"\ueec7",OfflineOneDriveParachute:"\ueec8",OfflineOneDriveParachuteDisabled:"\ueec9",TriangleSolidUp12:"\ueecc",TriangleSolidDown12:"\ueecd",TriangleSolidLeft12:"\ueece",TriangleSolidRight12:"\ueecf",TriangleUp12:"\ueed0",TriangleDown12:"\ueed1",TriangleLeft12:"\ueed2",TriangleRight12:"\ueed3",ArrowUpRight8:"\ueed4",ArrowDownRight8:"\ueed5",DocumentSet:"\ueed6",GoToDashboard:"\ueeed",DelveAnalytics:"\ueeee",ArrowUpRightMirrored8:"\ueeef",ArrowDownRightMirrored8:"\ueef0",CompanyDirectory:"\uef0d",OpenEnrollment:"\uef1c",CompanyDirectoryMirrored:"\uef2b",OneDriveAdd:"\uef32",ProfileSearch:"\uef35",Header2:"\uef36",Header3:"\uef37",Header4:"\uef38",RingerSolid:"\uef3a",Eyedropper:"\uef3c",MarketDown:"\uef42",CalendarWorkWeek:"\uef51",SidePanel:"\uef52",GlobeFavorite:"\uef53",CaretTopLeftSolid8:"\uef54",CaretTopRightSolid8:"\uef55",ViewAll2:"\uef56",DocumentReply:"\uef57",PlayerSettings:"\uef58",ReceiptForward:"\uef59",ReceiptReply:"\uef5a",ReceiptCheck:"\uef5b",Fax:"\uef5c",RecurringEvent:"\uef5d",ReplyAlt:"\uef5e",ReplyAllAlt:"\uef5f",EditStyle:"\uef60",EditMail:"\uef61",Lifesaver:"\uef62",LifesaverLock:"\uef63",InboxCheck:"\uef64",FolderSearch:"\uef65"}},t)}function YC(e,t){void 0===e&&(e=""),Yg({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:"\uef66",ExpandMenu:"\uef67",Boards:"\uef68",SunAdd:"\uef69",SunQuestionMark:"\uef6a",LandscapeOrientation:"\uef6b",DocumentSearch:"\uef6c",PublicCalendar:"\uef6d",PublicContactCard:"\uef6e",PublicEmail:"\uef6f",PublicFolder:"\uef70",WordDocument:"\uef71",PowerPointDocument:"\uef72",ExcelDocument:"\uef73",GroupedList:"\uef74",ClassroomLogo:"\uef75",Sections:"\uef76",EditPhoto:"\uef77",Starburst:"\uef78",ShareiOS:"\uef79",AirTickets:"\uef7a",PencilReply:"\uef7b",Tiles2:"\uef7c",SkypeCircleCheck:"\uef7d",SkypeCircleClock:"\uef7e",SkypeCircleMinus:"\uef7f",SkypeMessage:"\uef83",ClosedCaption:"\uef84",ATPLogo:"\uef85",OfficeFormsLogoInverse:"\uef86",RecycleBin:"\uef87",EmptyRecycleBin:"\uef88",Hide2:"\uef89",Breadcrumb:"\uef8c",BirthdayCake:"\uef8d",TimeEntry:"\uef95",CRMProcesses:"\uefb1",PageEdit:"\uefb6",PageArrowRight:"\uefb8",PageRemove:"\uefba",Database:"\uefc7",DataManagementSettings:"\uefc8",CRMServices:"\uefd2",EditContact:"\uefd3",ConnectContacts:"\uefd4",AppIconDefaultAdd:"\uefda",AppIconDefaultList:"\uefde",ActivateOrders:"\uefe0",DeactivateOrders:"\uefe1",ProductCatalog:"\uefe8",ScatterChart:"\uefeb",AccountActivity:"\ueff4",DocumentManagement:"\ueffc",CRMReport:"\ueffe",KnowledgeArticle:"\uf000",Relationship:"\uf003",HomeVerify:"\uf00e",ZipFolder:"\uf012",SurveyQuestions:"\uf01b",TextDocument:"\uf029",TextDocumentShared:"\uf02b",PageCheckedOut:"\uf02c",PageShared:"\uf02d",SaveAndClose:"\uf038",Script:"\uf03a",Archive:"\uf03f",ActivityFeed:"\uf056",Compare:"\uf057",EventDate:"\uf059",ArrowUpRight:"\uf069",CaretRight:"\uf06b",SetAction:"\uf071",ChatBot:"\uf08b",CaretSolidLeft:"\uf08d",CaretSolidDown:"\uf08e",CaretSolidRight:"\uf08f",CaretSolidUp:"\uf090",PowerAppsLogo:"\uf091",PowerApps2Logo:"\uf092",SearchIssue:"\uf09a",SearchIssueMirrored:"\uf09b",FabricAssetLibrary:"\uf09c",FabricDataConnectionLibrary:"\uf09d",FabricDocLibrary:"\uf09e",FabricFormLibrary:"\uf09f",FabricFormLibraryMirrored:"\uf0a0",FabricReportLibrary:"\uf0a1",FabricReportLibraryMirrored:"\uf0a2",FabricPublicFolder:"\uf0a3",FabricFolderSearch:"\uf0a4",FabricMovetoFolder:"\uf0a5",FabricUnsyncFolder:"\uf0a6",FabricSyncFolder:"\uf0a7",FabricOpenFolderHorizontal:"\uf0a8",FabricFolder:"\uf0a9",FabricFolderFill:"\uf0aa",FabricNewFolder:"\uf0ab",FabricPictureLibrary:"\uf0ac",PhotoVideoMedia:"\uf0b1",AddFavorite:"\uf0c8"}},t)}function QC(e,t){void 0===e&&(e=""),Yg({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:"\uf0c9",BufferTimeBefore:"\uf0cf",BufferTimeAfter:"\uf0d0",BufferTimeBoth:"\uf0d1",PublishContent:"\uf0d4",ClipboardList:"\uf0e3",ClipboardListMirrored:"\uf0e4",CannedChat:"\uf0f2",SkypeForBusinessLogo:"\uf0fc",TabCenter:"\uf100",PageCheckedin:"\uf104",PageList:"\uf106",ReadOutLoud:"\uf112",CaretBottomLeftSolid8:"\uf121",CaretBottomRightSolid8:"\uf122",FolderHorizontal:"\uf12b",MicrosoftStaffhubLogo:"\uf130",GiftboxOpen:"\uf133",StatusCircleOuter:"\uf136",StatusCircleInner:"\uf137",StatusCircleRing:"\uf138",StatusTriangleOuter:"\uf139",StatusTriangleInner:"\uf13a",StatusTriangleExclamation:"\uf13b",StatusCircleExclamation:"\uf13c",StatusCircleErrorX:"\uf13d",StatusCircleInfo:"\uf13f",StatusCircleBlock:"\uf140",StatusCircleBlock2:"\uf141",StatusCircleQuestionMark:"\uf142",StatusCircleSync:"\uf143",Toll:"\uf160",ExploreContentSingle:"\uf164",CollapseContent:"\uf165",CollapseContentSingle:"\uf166",InfoSolid:"\uf167",GroupList:"\uf168",ProgressRingDots:"\uf16a",CaloriesAdd:"\uf172",BranchFork:"\uf173",MuteChat:"\uf17a",AddHome:"\uf17b",AddWork:"\uf17c",MobileReport:"\uf18a",ScaleVolume:"\uf18c",HardDriveGroup:"\uf18f",FastMode:"\uf19a",ToggleLeft:"\uf19e",ToggleRight:"\uf19f",TriangleShape:"\uf1a7",RectangleShape:"\uf1a9",CubeShape:"\uf1aa",Trophy2:"\uf1ae",BucketColor:"\uf1b6",BucketColorFill:"\uf1b7",Taskboard:"\uf1c2",SingleColumn:"\uf1d3",DoubleColumn:"\uf1d4",TripleColumn:"\uf1d5",ColumnLeftTwoThirds:"\uf1d6",ColumnRightTwoThirds:"\uf1d7",AccessLogoFill:"\uf1db",AnalyticsLogo:"\uf1de",AnalyticsQuery:"\uf1df",NewAnalyticsQuery:"\uf1e0",AnalyticsReport:"\uf1e1",WordLogo:"\uf1e3",WordLogoFill:"\uf1e4",ExcelLogo:"\uf1e5",ExcelLogoFill:"\uf1e6",OneNoteLogo:"\uf1e7",OneNoteLogoFill:"\uf1e8",OutlookLogo:"\uf1e9",OutlookLogoFill:"\uf1ea",PowerPointLogo:"\uf1eb",PowerPointLogoFill:"\uf1ec",PublisherLogo:"\uf1ed",PublisherLogoFill:"\uf1ee",ScheduleEventAction:"\uf1ef",FlameSolid:"\uf1f3",ServerProcesses:"\uf1fe",Server:"\uf201",SaveAll:"\uf203",LinkedInLogo:"\uf20a",Decimals:"\uf218",SidePanelMirrored:"\uf221",ProtectRestrict:"\uf22a",Blog:"\uf22b",UnknownMirrored:"\uf22e",PublicContactCardMirrored:"\uf230",GridViewSmall:"\uf232",GridViewMedium:"\uf233",GridViewLarge:"\uf234",Step:"\uf241",StepInsert:"\uf242",StepShared:"\uf243",StepSharedAdd:"\uf244",StepSharedInsert:"\uf245",ViewDashboard:"\uf246",ViewList:"\uf247"}},t)}function XC(e,t){void 0===e&&(e=""),Yg({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:"\uf248",ViewListTree:"\uf249",TriggerAuto:"\uf24a",TriggerUser:"\uf24b",PivotChart:"\uf24c",StackedBarChart:"\uf24d",StackedLineChart:"\uf24e",BuildQueue:"\uf24f",BuildQueueNew:"\uf250",UserFollowed:"\uf25c",ContactLink:"\uf25f",Stack:"\uf26f",Bullseye:"\uf272",VennDiagram:"\uf273",FiveTileGrid:"\uf274",FocalPoint:"\uf277",Insert:"\uf278",RingerRemove:"\uf279",TeamsLogoInverse:"\uf27a",TeamsLogo:"\uf27b",TeamsLogoFill:"\uf27c",SkypeForBusinessLogoFill:"\uf27d",SharepointLogo:"\uf27e",SharepointLogoFill:"\uf27f",DelveLogo:"\uf280",DelveLogoFill:"\uf281",OfficeVideoLogo:"\uf282",OfficeVideoLogoFill:"\uf283",ExchangeLogo:"\uf284",ExchangeLogoFill:"\uf285",Signin:"\uf286",DocumentApproval:"\uf28b",CloneToDesktop:"\uf28c",InstallToDrive:"\uf28d",Blur:"\uf28e",Build:"\uf28f",ProcessMetaTask:"\uf290",BranchFork2:"\uf291",BranchLocked:"\uf292",BranchCommit:"\uf293",BranchCompare:"\uf294",BranchMerge:"\uf295",BranchPullRequest:"\uf296",BranchSearch:"\uf297",BranchShelveset:"\uf298",RawSource:"\uf299",MergeDuplicate:"\uf29a",RowsGroup:"\uf29b",RowsChild:"\uf29c",Deploy:"\uf29d",Redeploy:"\uf29e",ServerEnviroment:"\uf29f",VisioDiagram:"\uf2a0",HighlightMappedShapes:"\uf2a1",TextCallout:"\uf2a2",IconSetsFlag:"\uf2a4",VisioLogo:"\uf2a7",VisioLogoFill:"\uf2a8",VisioDocument:"\uf2a9",TimelineProgress:"\uf2aa",TimelineDelivery:"\uf2ab",Backlog:"\uf2ac",TeamFavorite:"\uf2ad",TaskGroup:"\uf2ae",TaskGroupMirrored:"\uf2af",ScopeTemplate:"\uf2b0",AssessmentGroupTemplate:"\uf2b1",NewTeamProject:"\uf2b2",CommentAdd:"\uf2b3",CommentNext:"\uf2b4",CommentPrevious:"\uf2b5",ShopServer:"\uf2b6",LocaleLanguage:"\uf2b7",QueryList:"\uf2b8",UserSync:"\uf2b9",UserPause:"\uf2ba",StreamingOff:"\uf2bb",ArrowTallUpLeft:"\uf2bd",ArrowTallUpRight:"\uf2be",ArrowTallDownLeft:"\uf2bf",ArrowTallDownRight:"\uf2c0",FieldEmpty:"\uf2c1",FieldFilled:"\uf2c2",FieldChanged:"\uf2c3",FieldNotChanged:"\uf2c4",RingerOff:"\uf2c5",PlayResume:"\uf2c6",BulletedList2:"\uf2c7",BulletedList2Mirrored:"\uf2c8",ImageCrosshair:"\uf2c9",GitGraph:"\uf2ca",Repo:"\uf2cb",RepoSolid:"\uf2cc",FolderQuery:"\uf2cd",FolderList:"\uf2ce",FolderListMirrored:"\uf2cf",LocationOutline:"\uf2d0",POISolid:"\uf2d1",CalculatorNotEqualTo:"\uf2d2",BoxSubtractSolid:"\uf2d3"}},t)}function JC(e,t){void 0===e&&(e=""),Yg({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:"\uf2d4",BoxMultiplySolid:"\uf2d5",BoxPlaySolid:"\uf2d6",BoxCheckmarkSolid:"\uf2d7",CirclePauseSolid:"\uf2d8",CirclePause:"\uf2d9",MSNVideosSolid:"\uf2da",CircleStopSolid:"\uf2db",CircleStop:"\uf2dc",NavigateBack:"\uf2dd",NavigateBackMirrored:"\uf2de",NavigateForward:"\uf2df",NavigateForwardMirrored:"\uf2e0",UnknownSolid:"\uf2e1",UnknownMirroredSolid:"\uf2e2",CircleAddition:"\uf2e3",CircleAdditionSolid:"\uf2e4",FilePDB:"\uf2e5",FileTemplate:"\uf2e6",FileSQL:"\uf2e7",FileJAVA:"\uf2e8",FileASPX:"\uf2e9",FileCSS:"\uf2ea",FileSass:"\uf2eb",FileLess:"\uf2ec",FileHTML:"\uf2ed",JavaScriptLanguage:"\uf2ee",CSharpLanguage:"\uf2ef",CSharp:"\uf2f0",VisualBasicLanguage:"\uf2f1",VB:"\uf2f2",CPlusPlusLanguage:"\uf2f3",CPlusPlus:"\uf2f4",FSharpLanguage:"\uf2f5",FSharp:"\uf2f6",TypeScriptLanguage:"\uf2f7",PythonLanguage:"\uf2f8",PY:"\uf2f9",CoffeeScript:"\uf2fa",MarkDownLanguage:"\uf2fb",FullWidth:"\uf2fe",FullWidthEdit:"\uf2ff",Plug:"\uf300",PlugSolid:"\uf301",PlugConnected:"\uf302",PlugDisconnected:"\uf303",UnlockSolid:"\uf304",Variable:"\uf305",Parameter:"\uf306",CommentUrgent:"\uf307",Storyboard:"\uf308",DiffInline:"\uf309",DiffSideBySide:"\uf30a",ImageDiff:"\uf30b",ImagePixel:"\uf30c",FileBug:"\uf30d",FileCode:"\uf30e",FileComment:"\uf30f",BusinessHoursSign:"\uf310",FileImage:"\uf311",FileSymlink:"\uf312",AutoFillTemplate:"\uf313",WorkItem:"\uf314",WorkItemBug:"\uf315",LogRemove:"\uf316",ColumnOptions:"\uf317",Packages:"\uf318",BuildIssue:"\uf319",AssessmentGroup:"\uf31a",VariableGroup:"\uf31b",FullHistory:"\uf31c",Wheelchair:"\uf31f",SingleColumnEdit:"\uf321",DoubleColumnEdit:"\uf322",TripleColumnEdit:"\uf323",ColumnLeftTwoThirdsEdit:"\uf324",ColumnRightTwoThirdsEdit:"\uf325",StreamLogo:"\uf329",PassiveAuthentication:"\uf32a",AlertSolid:"\uf331",MegaphoneSolid:"\uf332",TaskSolid:"\uf333",ConfigurationSolid:"\uf334",BugSolid:"\uf335",CrownSolid:"\uf336",Trophy2Solid:"\uf337",QuickNoteSolid:"\uf338",ConstructionConeSolid:"\uf339",PageListSolid:"\uf33a",PageListMirroredSolid:"\uf33b",StarburstSolid:"\uf33c",ReadingModeSolid:"\uf33d",SadSolid:"\uf33e",HealthSolid:"\uf33f",ShieldSolid:"\uf340",GiftBoxSolid:"\uf341",ShoppingCartSolid:"\uf342",MailSolid:"\uf343",ChatSolid:"\uf344",RibbonSolid:"\uf345"}},t)}function $C(e,t){void 0===e&&(e=""),Yg({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:"\uf346",FinancialMirroredSolid:"\uf347",HeadsetSolid:"\uf348",PermissionsSolid:"\uf349",ParkingSolid:"\uf34a",ParkingMirroredSolid:"\uf34b",DiamondSolid:"\uf34c",AsteriskSolid:"\uf34d",OfflineStorageSolid:"\uf34e",BankSolid:"\uf34f",DecisionSolid:"\uf350",Parachute:"\uf351",ParachuteSolid:"\uf352",FiltersSolid:"\uf353",ColorSolid:"\uf354",ReviewSolid:"\uf355",ReviewRequestSolid:"\uf356",ReviewRequestMirroredSolid:"\uf357",ReviewResponseSolid:"\uf358",FeedbackRequestSolid:"\uf359",FeedbackRequestMirroredSolid:"\uf35a",FeedbackResponseSolid:"\uf35b",WorkItemBar:"\uf35c",WorkItemBarSolid:"\uf35d",Separator:"\uf35e",NavigateExternalInline:"\uf35f",PlanView:"\uf360",TimelineMatrixView:"\uf361",EngineeringGroup:"\uf362",ProjectCollection:"\uf363",CaretBottomRightCenter8:"\uf364",CaretBottomLeftCenter8:"\uf365",CaretTopRightCenter8:"\uf366",CaretTopLeftCenter8:"\uf367",DonutChart:"\uf368",ChevronUnfold10:"\uf369",ChevronFold10:"\uf36a",DoubleChevronDown8:"\uf36b",DoubleChevronUp8:"\uf36c",DoubleChevronLeft8:"\uf36d",DoubleChevronRight8:"\uf36e",ChevronDownEnd6:"\uf36f",ChevronUpEnd6:"\uf370",ChevronLeftEnd6:"\uf371",ChevronRightEnd6:"\uf372",ContextMenu:"\uf37c",AzureAPIManagement:"\uf37f",AzureServiceEndpoint:"\uf380",VSTSLogo:"\uf381",VSTSAltLogo1:"\uf382",VSTSAltLogo2:"\uf383",FileTypeSolution:"\uf387",WordLogoInverse16:"\uf390",WordLogo16:"\uf391",WordLogoFill16:"\uf392",PowerPointLogoInverse16:"\uf393",PowerPointLogo16:"\uf394",PowerPointLogoFill16:"\uf395",ExcelLogoInverse16:"\uf396",ExcelLogo16:"\uf397",ExcelLogoFill16:"\uf398",OneNoteLogoInverse16:"\uf399",OneNoteLogo16:"\uf39a",OneNoteLogoFill16:"\uf39b",OutlookLogoInverse16:"\uf39c",OutlookLogo16:"\uf39d",OutlookLogoFill16:"\uf39e",PublisherLogoInverse16:"\uf39f",PublisherLogo16:"\uf3a0",PublisherLogoFill16:"\uf3a1",VisioLogoInverse16:"\uf3a2",VisioLogo16:"\uf3a3",VisioLogoFill16:"\uf3a4",TestBeaker:"\uf3a5",TestBeakerSolid:"\uf3a6",TestExploreSolid:"\uf3a7",TestAutoSolid:"\uf3a8",TestUserSolid:"\uf3a9",TestImpactSolid:"\uf3aa",TestPlan:"\uf3ab",TestStep:"\uf3ac",TestParameter:"\uf3ad",TestSuite:"\uf3ae",TestCase:"\uf3af",Sprint:"\uf3b0",SignOut:"\uf3b1",TriggerApproval:"\uf3b2",Rocket:"\uf3b3",AzureKeyVault:"\uf3b4",Onboarding:"\uf3ba",Transition:"\uf3bc",LikeSolid:"\uf3bf",DislikeSolid:"\uf3c0",CRMCustomerInsightsApp:"\uf3c8",EditCreate:"\uf3c9",PlayReverseResume:"\uf3e4",PlayReverse:"\uf3e5",SearchData:"\uf3f1",UnSetColor:"\uf3f9",DeclineCall:"\uf405"}},t)}function ZC(e,t){void 0===e&&(e=""),Yg({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:"\uf407",TeamsLogo16:"\uf40a",TeamsLogoFill16:"\uf40b",Spacer:"\uf40d",SkypeLogo16:"\uf40e",SkypeForBusinessLogo16:"\uf40f",SkypeForBusinessLogoFill16:"\uf410",FilterSolid:"\uf412",MailUndelivered:"\uf415",MailTentative:"\uf416",MailTentativeMirrored:"\uf417",MailReminder:"\uf418",ReceiptUndelivered:"\uf419",ReceiptTentative:"\uf41a",ReceiptTentativeMirrored:"\uf41b",Inbox:"\uf41c",IRMReply:"\uf41d",IRMReplyMirrored:"\uf41e",IRMForward:"\uf41f",IRMForwardMirrored:"\uf420",VoicemailIRM:"\uf421",EventAccepted:"\uf422",EventTentative:"\uf423",EventTentativeMirrored:"\uf424",EventDeclined:"\uf425",IDBadge:"\uf427",BackgroundColor:"\uf42b",OfficeFormsLogoInverse16:"\uf433",OfficeFormsLogo:"\uf434",OfficeFormsLogoFill:"\uf435",OfficeFormsLogo16:"\uf436",OfficeFormsLogoFill16:"\uf437",OfficeFormsLogoInverse24:"\uf43a",OfficeFormsLogo24:"\uf43b",OfficeFormsLogoFill24:"\uf43c",PageLock:"\uf43f",NotExecuted:"\uf440",NotImpactedSolid:"\uf441",FieldReadOnly:"\uf442",FieldRequired:"\uf443",BacklogBoard:"\uf444",ExternalBuild:"\uf445",ExternalTFVC:"\uf446",ExternalXAML:"\uf447",IssueSolid:"\uf448",DefectSolid:"\uf449",LadybugSolid:"\uf44a",NugetLogo:"\uf44c",TFVCLogo:"\uf44d",ProjectLogo32:"\uf47e",ProjectLogoFill32:"\uf47f",ProjectLogo16:"\uf480",ProjectLogoFill16:"\uf481",SwayLogo32:"\uf482",SwayLogoFill32:"\uf483",SwayLogo16:"\uf484",SwayLogoFill16:"\uf485",ClassNotebookLogo32:"\uf486",ClassNotebookLogoFill32:"\uf487",ClassNotebookLogo16:"\uf488",ClassNotebookLogoFill16:"\uf489",ClassNotebookLogoInverse32:"\uf48a",ClassNotebookLogoInverse16:"\uf48b",StaffNotebookLogo32:"\uf48c",StaffNotebookLogoFill32:"\uf48d",StaffNotebookLogo16:"\uf48e",StaffNotebookLogoFill16:"\uf48f",StaffNotebookLogoInverted32:"\uf490",StaffNotebookLogoInverted16:"\uf491",KaizalaLogo:"\uf492",TaskLogo:"\uf493",ProtectionCenterLogo32:"\uf494",GallatinLogo:"\uf496",Globe2:"\uf49a",Guitar:"\uf49b",Breakfast:"\uf49c",Brunch:"\uf49d",BeerMug:"\uf49e",Vacation:"\uf49f",Teeth:"\uf4a0",Taxi:"\uf4a1",Chopsticks:"\uf4a2",SyncOccurence:"\uf4a3",UnsyncOccurence:"\uf4a4",GIF:"\uf4a9",PrimaryCalendar:"\uf4ae",SearchCalendar:"\uf4af",VideoOff:"\uf4b0",MicrosoftFlowLogo:"\uf4b1",BusinessCenterLogo:"\uf4b2",ToDoLogoBottom:"\uf4b3",ToDoLogoTop:"\uf4b4",EditSolid12:"\uf4b5",EditSolidMirrored12:"\uf4b6",UneditableSolid12:"\uf4b7",UneditableSolidMirrored12:"\uf4b8",UneditableMirrored:"\uf4b9",AdminALogo32:"\uf4ba",AdminALogoFill32:"\uf4bb",ToDoLogoInverse:"\uf4bc"}},t)}function ew(e,t){void 0===e&&(e=""),Yg({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:"\uf4bd",WaffleOffice365:"\uf4e0",ImageSearch:"\uf4e8",NewsSearch:"\uf4e9",VideoSearch:"\uf4ea",R:"\uf4eb",FontColorA:"\uf4ec",FontColorSwatch:"\uf4ed",LightWeight:"\uf4ee",NormalWeight:"\uf4ef",SemiboldWeight:"\uf4f0",GroupObject:"\uf4f1",UngroupObject:"\uf4f2",AlignHorizontalLeft:"\uf4f3",AlignHorizontalCenter:"\uf4f4",AlignHorizontalRight:"\uf4f5",AlignVerticalTop:"\uf4f6",AlignVerticalCenter:"\uf4f7",AlignVerticalBottom:"\uf4f8",HorizontalDistributeCenter:"\uf4f9",VerticalDistributeCenter:"\uf4fa",Ellipse:"\uf4fb",Line:"\uf4fc",Octagon:"\uf4fd",Hexagon:"\uf4fe",Pentagon:"\uf4ff",RightTriangle:"\uf500",HalfCircle:"\uf501",QuarterCircle:"\uf502",ThreeQuarterCircle:"\uf503","6PointStar":"\uf504","12PointStar":"\uf505",ArrangeBringToFront:"\uf506",ArrangeSendToBack:"\uf507",ArrangeSendBackward:"\uf508",ArrangeBringForward:"\uf509",BorderDash:"\uf50a",BorderDot:"\uf50b",LineStyle:"\uf50c",LineThickness:"\uf50d",WindowEdit:"\uf50e",HintText:"\uf50f",MediaAdd:"\uf510",AnchorLock:"\uf511",AutoHeight:"\uf512",ChartSeries:"\uf513",ChartXAngle:"\uf514",ChartYAngle:"\uf515",Combobox:"\uf516",LineSpacing:"\uf517",Padding:"\uf518",PaddingTop:"\uf519",PaddingBottom:"\uf51a",PaddingLeft:"\uf51b",PaddingRight:"\uf51c",NavigationFlipper:"\uf51d",AlignJustify:"\uf51e",TextOverflow:"\uf51f",VisualsFolder:"\uf520",VisualsStore:"\uf521",PictureCenter:"\uf522",PictureFill:"\uf523",PicturePosition:"\uf524",PictureStretch:"\uf525",PictureTile:"\uf526",Slider:"\uf527",SliderHandleSize:"\uf528",DefaultRatio:"\uf529",NumberSequence:"\uf52a",GUID:"\uf52b",ReportAdd:"\uf52c",DashboardAdd:"\uf52d",MapPinSolid:"\uf52e",WebPublish:"\uf52f",PieSingleSolid:"\uf530",BlockedSolid:"\uf531",DrillDown:"\uf532",DrillDownSolid:"\uf533",DrillExpand:"\uf534",DrillShow:"\uf535",SpecialEvent:"\uf536",OneDriveFolder16:"\uf53b",FunctionalManagerDashboard:"\uf542",BIDashboard:"\uf543",CodeEdit:"\uf544",RenewalCurrent:"\uf545",RenewalFuture:"\uf546",SplitObject:"\uf547",BulkUpload:"\uf548",DownloadDocument:"\uf549",GreetingCard:"\uf54b",Flower:"\uf54e",WaitlistConfirm:"\uf550",WaitlistConfirmMirrored:"\uf551",LaptopSecure:"\uf552",DragObject:"\uf553",EntryView:"\uf554",EntryDecline:"\uf555",ContactCardSettings:"\uf556",ContactCardSettingsMirrored:"\uf557"}},t)}function tw(e,t){void 0===e&&(e=""),Yg({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:"\uf558",CalendarSettingsMirrored:"\uf559",HardDriveLock:"\uf55a",HardDriveUnlock:"\uf55b",AccountManagement:"\uf55c",ReportWarning:"\uf569",TransitionPop:"\uf5b2",TransitionPush:"\uf5b3",TransitionEffect:"\uf5b4",LookupEntities:"\uf5b5",ExploreData:"\uf5b6",AddBookmark:"\uf5b7",SearchBookmark:"\uf5b8",DrillThrough:"\uf5b9",MasterDatabase:"\uf5ba",CertifiedDatabase:"\uf5bb",MaximumValue:"\uf5bc",MinimumValue:"\uf5bd",VisualStudioIDELogo32:"\uf5d0",PasteAsText:"\uf5d5",PasteAsCode:"\uf5d6",BrowserTab:"\uf5d7",BrowserTabScreenshot:"\uf5d8",DesktopScreenshot:"\uf5d9",FileYML:"\uf5da",ClipboardSolid:"\uf5dc",FabricUserFolder:"\uf5e5",FabricNetworkFolder:"\uf5e6",BullseyeTarget:"\uf5f0",AnalyticsView:"\uf5f1",Video360Generic:"\uf609",Untag:"\uf60b",Leave:"\uf627",Trending12:"\uf62d",Blocked12:"\uf62e",Warning12:"\uf62f",CheckedOutByOther12:"\uf630",CheckedOutByYou12:"\uf631",CircleShapeSolid:"\uf63c",SquareShapeSolid:"\uf63d",TriangleShapeSolid:"\uf63e",DropShapeSolid:"\uf63f",RectangleShapeSolid:"\uf640",ZoomToFit:"\uf649",InsertColumnsLeft:"\uf64a",InsertColumnsRight:"\uf64b",InsertRowsAbove:"\uf64c",InsertRowsBelow:"\uf64d",DeleteColumns:"\uf64e",DeleteRows:"\uf64f",DeleteRowsMirrored:"\uf650",DeleteTable:"\uf651",AccountBrowser:"\uf652",VersionControlPush:"\uf664",StackedColumnChart2:"\uf666",TripleColumnWide:"\uf66e",QuadColumn:"\uf66f",WhiteBoardApp16:"\uf673",WhiteBoardApp32:"\uf674",PinnedSolid:"\uf676",InsertSignatureLine:"\uf677",ArrangeByFrom:"\uf678",Phishing:"\uf679",CreateMailRule:"\uf67a",PublishCourse:"\uf699",DictionaryRemove:"\uf69a",UserRemove:"\uf69b",UserEvent:"\uf69c",Encryption:"\uf69d",PasswordField:"\uf6aa",OpenInNewTab:"\uf6ab",Hide3:"\uf6ac",VerifiedBrandSolid:"\uf6ad",MarkAsProtected:"\uf6ae",AuthenticatorApp:"\uf6b1",WebTemplate:"\uf6b2",DefenderTVM:"\uf6b3",MedalSolid:"\uf6b9",D365TalentLearn:"\uf6bb",D365TalentInsight:"\uf6bc",D365TalentHRCore:"\uf6bd",BacklogList:"\uf6bf",ButtonControl:"\uf6c0",TableGroup:"\uf6d9",MountainClimbing:"\uf6db",TagUnknown:"\uf6df",TagUnknownMirror:"\uf6e0",TagUnknown12:"\uf6e1",TagUnknown12Mirror:"\uf6e2",Link12:"\uf6e3",Presentation:"\uf6e4",Presentation12:"\uf6e5",Lock12:"\uf6e6",BuildDefinition:"\uf6e9",ReleaseDefinition:"\uf6ea",SaveTemplate:"\uf6ec",UserGauge:"\uf6ed",BlockedSiteSolid12:"\uf70a",TagSolid:"\uf70e",OfficeChat:"\uf70f"}},t)}function nw(e,t){void 0===e&&(e=""),Yg({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:"\uf710",MailSchedule:"\uf72e",WarningSolid:"\uf736",Blocked2Solid:"\uf737",SkypeCircleArrow:"\uf747",SkypeArrow:"\uf748",SyncStatus:"\uf751",SyncStatusSolid:"\uf752",ProjectDocument:"\uf759",ToDoLogoOutline:"\uf75b",VisioOnlineLogoFill32:"\uf75f",VisioOnlineLogo32:"\uf760",VisioOnlineLogoCloud32:"\uf761",VisioDiagramSync:"\uf762",Event12:"\uf763",EventDateMissed12:"\uf764",UserOptional:"\uf767",ResponsesMenu:"\uf768",DoubleDownArrow:"\uf769",DistributeDown:"\uf76a",BookmarkReport:"\uf76b",FilterSettings:"\uf76c",GripperDotsVertical:"\uf772",MailAttached:"\uf774",AddIn:"\uf775",LinkedDatabase:"\uf779",TableLink:"\uf77a",PromotedDatabase:"\uf77d",BarChartVerticalFilter:"\uf77e",BarChartVerticalFilterSolid:"\uf77f",MicOff2:"\uf781",MicrosoftTranslatorLogo:"\uf782",ShowTimeAs:"\uf787",FileRequest:"\uf789",WorkItemAlert:"\uf78f",PowerBILogo16:"\uf790",PowerBILogoBackplate16:"\uf791",BulletedListText:"\uf792",BulletedListBullet:"\uf793",BulletedListTextMirrored:"\uf794",BulletedListBulletMirrored:"\uf795",NumberedListText:"\uf796",NumberedListNumber:"\uf797",NumberedListTextMirrored:"\uf798",NumberedListNumberMirrored:"\uf799",RemoveLinkChain:"\uf79a",RemoveLinkX:"\uf79b",FabricTextHighlight:"\uf79c",ClearFormattingA:"\uf79d",ClearFormattingEraser:"\uf79e",Photo2Fill:"\uf79f",IncreaseIndentText:"\uf7a0",IncreaseIndentArrow:"\uf7a1",DecreaseIndentText:"\uf7a2",DecreaseIndentArrow:"\uf7a3",IncreaseIndentTextMirrored:"\uf7a4",IncreaseIndentArrowMirrored:"\uf7a5",DecreaseIndentTextMirrored:"\uf7a6",DecreaseIndentArrowMirrored:"\uf7a7",CheckListText:"\uf7a8",CheckListCheck:"\uf7a9",CheckListTextMirrored:"\uf7aa",CheckListCheckMirrored:"\uf7ab",NumberSymbol:"\uf7ac",Coupon:"\uf7bc",VerifiedBrand:"\uf7bd",ReleaseGate:"\uf7be",ReleaseGateCheck:"\uf7bf",ReleaseGateError:"\uf7c0",M365InvoicingLogo:"\uf7c1",RemoveFromShoppingList:"\uf7d5",ShieldAlert:"\uf7d7",FabricTextHighlightComposite:"\uf7da",Dataflows:"\uf7dd",GenericScanFilled:"\uf7de",DiagnosticDataBarTooltip:"\uf7df",SaveToMobile:"\uf7e0",Orientation2:"\uf7e1",ScreenCast:"\uf7e2",ShowGrid:"\uf7e3",SnapToGrid:"\uf7e4",ContactList:"\uf7e5",NewMail:"\uf7ea",EyeShadow:"\uf7eb",FabricFolderConfirm:"\uf7ff",InformationBarriers:"\uf803",CommentActive:"\uf804",ColumnVerticalSectionEdit:"\uf806",WavingHand:"\uf807",ShakeDevice:"\uf80a",SmartGlassRemote:"\uf80b",Rotate90Clockwise:"\uf80d",Rotate90CounterClockwise:"\uf80e",CampaignTemplate:"\uf811",ChartTemplate:"\uf812",PageListFilter:"\uf813",SecondaryNav:"\uf814",ColumnVerticalSection:"\uf81e",SkypeCircleSlash:"\uf825",SkypeSlash:"\uf826"}},t)}function rw(e,t){void 0===e&&(e=""),Yg({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:"\uf828",DuplicateRow:"\uf82a",RemoveFromTrash:"\uf82b",MailOptions:"\uf82c",Childof:"\uf82d",Footer:"\uf82e",Header:"\uf82f",BarChartVerticalFill:"\uf830",StackedColumnChart2Fill:"\uf831",PlainText:"\uf834",AccessibiltyChecker:"\uf835",DatabaseSync:"\uf842",ReservationOrders:"\uf845",TabOneColumn:"\uf849",TabTwoColumn:"\uf84a",TabThreeColumn:"\uf84b",BulletedTreeList:"\uf84c",MicrosoftTranslatorLogoGreen:"\uf852",MicrosoftTranslatorLogoBlue:"\uf853",InternalInvestigation:"\uf854",AddReaction:"\uf85d",ContactHeart:"\uf862",VisuallyImpaired:"\uf866",EventToDoLogo:"\uf869",Variable2:"\uf86d",ModelingView:"\uf871",DisconnectVirtualMachine:"\uf873",ReportLock:"\uf875",Uneditable2:"\uf876",Uneditable2Mirrored:"\uf877",BarChartVerticalEdit:"\uf89d",GlobalNavButtonActive:"\uf89f",PollResults:"\uf8a0",Rerun:"\uf8a1",QandA:"\uf8a2",QandAMirror:"\uf8a3",BookAnswers:"\uf8a4",AlertSettings:"\uf8b6",TrimStart:"\uf8bb",TrimEnd:"\uf8bc",TableComputed:"\uf8f5",DecreaseIndentLegacy:"\ue290",IncreaseIndentLegacy:"\ue291",SizeLegacy:"\ue2b2"}},t)}var ow=function(){Qg("trash","delete"),Qg("onedrive","onedrivelogo"),Qg("alertsolid12","eventdatemissed12"),Qg("sixpointstar","6pointstar"),Qg("twelvepointstar","12pointstar"),Qg("toggleon","toggleleft"),Qg("toggleoff","toggleright")};iv("@fluentui/font-icons-mdl2","8.4.13");var iw=kf();function aw(e,t){var n,r;void 0===e&&(e=(null===(n=null===iw||void 0===iw?void 0:iw.FabricConfig)||void 0===n?void 0:n.iconBaseUrl)||(null===(r=null===iw||void 0===iw?void 0:iw.FabricConfig)||void 0===r?void 0:r.fontBaseUrl)||"https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20210407.001/assets/icons/"),[HC,zC,UC,VC,jC,qC,WC,GC,KC,YC,QC,XC,JC,$C,ZC,ew,tw,nw,rw].forEach((function(n){return n(e,t)})),ow()}var sw=function(e,t){return e.palette[t]||e.semanticColors[t]},cw=new Set(["Accept","Add","AddTo","AddFriend","AddGroup","AddMedium","Airplane","AllApps","AppIconDefaultAdd","Apps","AskAParent","Back","BingLogo","BirthdayCake","Blocked","BoardActivityFeed","BrokenFile","BulletedList","BumperLeft","BumperRight","ButtonA","ButtonB","ButtonX","ButtonY","Calendar","CalendarReply","Camera","Cancel","Car","CellPhone","CellPhonePermissions","CheckMark","ChevronDown","ChevronDownMed","ChevronDownSmall","ChevronLeft","ChevronLeftSmall","ChevronRight","ChevronRightSmall","ChevronUpMed","ChevronUpSmall","ChevronRightMed","ChevronLeftMed","ChromeClose","ChromeMaximize","ChromeMinimize","CircleFill","CircleFillBadge12","CircleRing","CityNext2","Clock","Cloud","CloudUpload","Completed","CompletedSolid","Contact","ContactCircle","ContactSolid","ConvertTo","Copy","CriticalErrorSolid","DateTime","DefenderApp","Delete","DeviceFamily","DeviceLaptopNoPic","Devices","Devices2","Devices3","DeviceTag","Diagnostic","Diamond","DisconnectDevice","Download","DpadDown","DpadLeft","DpadRight","DpadUp","EditListPencil","Education","Error","ErrorBadge","Family","FamilySafety","Favicon","FavoriteStar","Feedback","FileExplorer","FilterAlt","Financial","Flag","Forward","FullCircleMask","Game","GenericApp","Giftbox","GitHubLogo","Globe","Group","HardDrive","Headset","Health","Heart","HeartBroken","Help","Hide","History","Home","HourGlass","ImageOff","Important","Info","InfoSolid","InkingColorOutline","Insights","Installation","InternetSharing","Jogging","LaptopSecure","LaptopSelected","Leisure","Link","LinkedInLogo","LocaleLanguage","Lock","Mail","Manage","MapPin","Media","Message","Microphone","MicrosoftLogo","MobBattery0","MobBattery1","MobBattery2","MobBattery3","MobBattery4","MobBattery5","MobBattery6","MobBattery7","MobBattery8","MobBattery9","MobBattery10","Money","More","MoreVertical","MultiplayerJoinChallenge","MyMoviesTV","MyNetwork","NavigateExternalInline","OfficeLogo","OneDriveLogo","OpenInNewWindow","OutlookLogoInverse","PassiveAuthentication","Pause","PaymentCard","PaymentCardArt128","PC1","PeopleSettings","Permissions","Photo2","PhotosApp","Photo2Remove","PictureFill","PieSingle","Play","POI","PopExpand","PowerButton","PreviewLink","Print","ProtectedDocument","Pulse","QRCode","RadioBullet","Recent","Refresh","RemoveCircle","Repair","RevealPasswordMedium","RewardsLogo","Ringer","Safe","Savings","ScreenTime","Search","Send","Settings","SettingsApp","SettingsSync","Share","Shield","ShieldTask","ShieldTaskSolid","Shirt","Shop","ShoppingCart","Signin","SignOut","Silver","SkypeLogo","SortDown","SortUp","SpeedHigh","StatusCircle","StatusCircle7","StatusCircleCheckmark","StatusCircleExclamation","StatusCircleOuter","StatusErrorCircle7","StatusErrorFull","StatusWarning","Stop","Stopwatch","StoreLogo16","Street","Subscriptions","Switch","Sync","System","Tablet","TeamsLogo","Ticket","TextSortAscending","TextSortDescending","Toolbox","TriggerLeft","TriggerRight","Trophy","TVMonitor","TwitterLogo","Undo","Unknown","Unlock","UpdateRestore","Video","ViewDashboard","Volume","Warning","WarningSolid","WebSearch","Website","WhatsThis","Wifi","WindowsLogo","Work","XboxController","XboxGamePass","XboxGold","XboxLogo","XboxOneConsole"]),lw="AMC Icons",uw=function(t){var n=t.iconName,r=t.size,o=void 0===r?"16px":r,i=t.color,a=t.disabled,s=void 0!==a&&a,c=t["aria-label"],l=(0,e.__rest)(t,["iconName","size","color","disabled","aria-label"]);qv("Icon",l.id),W_("Icon",l);var u=rb(),d=cw.has(n)?n:"BrokenFile",p=dw(u,o,i,s);return(0,rl.useEffect)((function(){Wb("Icon",[function(){if(!cw.has(n))return"Invalid icon name: ".concat(n,". Please refer to the TwoUI Icon component for a list of all valid icon names.")}])}),[n]),ol().createElement("span",(0,e.__assign)({role:c?"img":"presentation","aria-hidden":!c,"data-icon-name":d,className:d,style:p,"aria-label":c},l))},dw=function(t,n,r,o){var i=o?"neutralTertiaryAlt":r;return(0,e.__assign)((0,e.__assign)({fontFamily:lw},i&&{color:sw(t,i)}),{fontSize:n})},pw=pb(),hw=function(e,t){rl.useImperativeHandle(e.componentRef,(function(){return{focus:function(){t.current&&t.current.focus()}}}),[t])},fw=function(t,n){n.as;var r=n.disabled,o=n.target,i=n.href,a=(n.theme,n.getStyles,n.styles,n.componentRef,n.underline,(0,e.__rest)(n,["as","disabled","target","href","theme","getStyles","styles","componentRef","underline"]));return"string"===typeof t?"a"===t?(0,e.__assign)({target:o,href:r?void 0:i},a):"button"===t?(0,e.__assign)({type:"button",disabled:r},a):(0,e.__assign)((0,e.__assign)({},a),{disabled:r}):(0,e.__assign)({target:o,href:i,disabled:r},a)},mw=rl.forwardRef((function(t,n){var r=function(t,n){var r=t.as,o=t.className,i=t.disabled,a=t.href,s=t.onClick,c=t.styles,l=t.theme,u=t.underline,d=rl.useRef(null),p=Ay(d,n);hw(t,d),yy(d);var h=pw(c,{className:o,isButton:!a,isDisabled:i,isUnderlined:u,theme:l}),f=r||(a?"a":"button");return{state:{},slots:{root:f},slotProps:{root:(0,e.__assign)((0,e.__assign)({},fw(f,t)),{"aria-disabled":i,className:h.root,onClick:function(e){i?e.preventDefault():s&&s(e)},ref:p})}}}(t,n),o=r.slots,i=r.slotProps;return rl.createElement(o.root,(0,e.__assign)({},i.root))}));mw.displayName="LinkBase";var gw,vw,yw={root:"ms-Link"},bw=ib(mw,(function(e){var t,n,r,o,i,a,s=e.className,c=e.isButton,l=e.isDisabled,u=e.isUnderlined,d=e.theme,p=d.semanticColors,h=p.link,f=p.linkHovered,m=p.disabledText,g=p.focusBorder,v=og(yw,d);return{root:[v.root,d.fonts.medium,{color:h,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:u?"underline":"none",selectors:(t={".ms-Fabric--isFocusVisible &:focus":{boxShadow:"0 0 0 1px "+g+" inset",outline:"1px auto "+g,selectors:(n={},n[Wm]={outline:"1px solid WindowText"},n)}},t[Wm]={borderBottom:"none"},t)},c&&{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:(r={},r[Wm]={color:"LinkText",forcedColorAdjust:"none"},r)},!c&&{selectors:(o={},o[Wm]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},o)},l&&["is-disabled",{color:m,cursor:"default"},{selectors:{"&:link, &:visited":{pointerEvents:"none"}}}],!l&&{selectors:{"&:active, &:hover, &:active:hover":{color:f,textDecoration:"underline",selectors:(i={},i[Wm]={color:"LinkText"},i)},"&:focus":{color:h,selectors:(a={},a[Wm]={color:"LinkText"},a)}}},v.root,s]}}),void 0,{scope:"Link"}),_w={"semi-bold":Bm.semibold,bold:Bm.bold},Cw=function(e,t){return{disabled:e.palette.neutralTertiary,error:e.palette.redDark,white:e.palette.neutralHigh}[t]},ww="1.4",Ew="1.2",xw=function(t,n,r,o){var i,a=function(e,t){var n,r,o,i,a,s,c,l,u,d,p,h,f,m,g,v,y,b,_,C,w,E,x,S,k,T,I;return{xxlPageBanner:{fontSize:"80px",fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:Ew,fontFamily:null===(n=e.fonts)||void 0===n?void 0:n.large.font,hoverColor:e.palette.neutralPrimary},xlPageHeader:{fontSize:"64px",fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:Ew,fontFamily:null===(r=e.fonts)||void 0===r?void 0:r.large.font,hoverColor:e.palette.neutralPrimary},pageBanner:{fontSize:Fm.superLarge,fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(o=e.fonts)||void 0===o?void 0:o.large.font,hoverColor:e.palette.neutralPrimary},pageTitle:{fontSize:Fm.xxLargePlus,fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(i=e.fonts)||void 0===i?void 0:i.large.font,hoverColor:e.palette.neutralPrimary},pageHeader:{fontSize:Fm.xxLarge,fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(a=e.fonts)||void 0===a?void 0:a.large.font,hoverColor:e.palette.neutralPrimary},statusHeader:{fontSize:Fm.xLargePlus,fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(s=e.fonts)||void 0===s?void 0:s.medium.font,hoverColor:e.palette.neutralPrimary},bodyLargeRegular:{fontSize:Fm.xLargePlus,fontWeight:Bm.regular,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(c=e.fonts)||void 0===c?void 0:c.medium.font,hoverColor:e.palette.neutralPrimary},paneHeader:{fontSize:Fm.xLarge,fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(l=e.fonts)||void 0===l?void 0:l.medium.font,hoverColor:e.palette.neutralPrimary},paneThemeTitle:{fontSize:Fm.large,fontWeight:Bm.semibold,color:e.palette.themePrimary,lineHeight:ww,fontFamily:null===(u=e.fonts)||void 0===u?void 0:u.medium.font,hoverColor:e.palette.themePrimary},paneTitle:{fontSize:Fm.large,fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(d=e.fonts)||void 0===d?void 0:d.medium.font,hoverColor:e.palette.neutralPrimary},bodyMediumThemeRegular:{fontSize:Fm.large,fontWeight:Bm.regular,lineHeight:ww,color:e.palette.themePrimary,fontFamily:null===(p=e.fonts)||void 0===p?void 0:p.medium.font,hoverColor:e.palette.themePrimary},bodyMediumRegular:{fontSize:Fm.large,fontWeight:Bm.regular,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(h=e.fonts)||void 0===h?void 0:h.medium.font,hoverColor:e.palette.neutralPrimary},bodyMediumSecondaryRegular:{fontSize:Fm.large,fontWeight:Bm.regular,color:e.palette.neutralSecondary,lineHeight:ww,fontFamily:null===(f=e.fonts)||void 0===f?void 0:f.medium.font,hoverColor:e.palette.neutralSecondary},headerErrorText:{fontSize:Fm.mediumPlus,fontWeight:Bm.semibold,color:e.semanticColors.errorBlockIcon,lineHeight:ww,fontFamily:null===(m=e.fonts)||void 0===m?void 0:m.medium.font,hoverColor:e.semanticColors.errorBlockIcon},subjectTitle:{fontSize:Fm.mediumPlus,fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(g=e.fonts)||void 0===g?void 0:g.medium.font,hoverColor:e.palette.neutralPrimary},errorBlockIcon:{fontSize:Fm.medium,fontWeight:Bm.regular,color:e.semanticColors.errorBlockIcon,lineHeight:ww,fontFamily:null===(v=e.fonts)||void 0===v?void 0:v.medium.font,hoverColor:e.semanticColors.errorBlockIcon},cautionYellowText:{fontSize:Fm.medium,fontWeight:Bm.regular,color:e.semanticColors.cautionYellow,lineHeight:ww,fontFamily:null===(y=e.fonts)||void 0===y?void 0:y.medium.font,hoverColor:e.semanticColors.cautionYellow},bodySuccessText:{fontSize:Fm.medium,fontWeight:Bm.regular,color:e.semanticColors.messageWebSuccess,lineHeight:ww,fontFamily:null===(b=e.fonts)||void 0===b?void 0:b.medium.font,hoverColor:e.semanticColors.messageWebSuccess},bodyThemeDarkText:{fontSize:Fm.medium,fontWeight:Bm.semibold,color:e.palette.themeDarkAlt,lineHeight:ww,fontFamily:null===(_=e.fonts)||void 0===_?void 0:_.medium.font,hoverColor:e.palette.themeDarkAlt},bodyThemeText:{fontSize:Fm.medium,fontWeight:Bm.regular,color:e.palette.themePrimary,lineHeight:ww,fontFamily:null===(C=e.fonts)||void 0===C?void 0:C.medium.font,hoverColor:e.palette.themeDark},headerText:{fontSize:Fm.medium,fontWeight:Bm.semibold,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(w=e.fonts)||void 0===w?void 0:w.medium.font,hoverColor:e.palette.neutralPrimary},bodyTertiaryText:{fontSize:Fm.medium,fontWeight:Bm.regular,color:e.palette.neutralTertiary,lineHeight:ww,fontFamily:null===(E=e.fonts)||void 0===E?void 0:E.medium.font,hoverColor:e.palette.neutralTertiary},bodySecondaryText:{fontSize:Fm.medium,fontWeight:Bm.regular,color:e.palette.neutralSecondary,lineHeight:ww,fontFamily:null===(x=e.fonts)||void 0===x?void 0:x.medium.font,hoverColor:e.palette.neutralSecondary},bodyPrimaryText:{fontSize:Fm.medium,fontWeight:Bm.regular,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(S=e.fonts)||void 0===S?void 0:S.medium.font,hoverColor:e.palette.neutralPrimary},metadataText:{fontSize:Fm.small,fontWeight:Bm.regular,color:e.palette.neutralSecondary,lineHeight:ww,fontFamily:null===(k=e.fonts)||void 0===k?void 0:k.small.font,hoverColor:e.palette.neutralSecondary},captionText:{fontSize:Fm.xSmall,fontWeight:Bm.regular,color:e.palette.neutralPrimary,lineHeight:ww,fontFamily:null===(T=e.fonts)||void 0===T?void 0:T.small.font,hoverColor:e.palette.neutralPrimary},superscript:{fontSize:Fm.xSmall,fontWeight:Bm.regular,color:e.palette.themePrimary,lineHeight:ww,fontFamily:null===(I=e.fonts)||void 0===I?void 0:I.small.font,hoverColor:e.palette.themePrimary}}[t]}(t,n),s=(0,e.__assign)((0,e.__assign)({},a),{fontWeight:r?_w[r]:a.fontWeight,color:o?Cw(t,o):a.color,fontSize:a.fontSize,lineHeight:a.lineHeight});return(0,e.__assign)((0,e.__assign)({},s),{selectors:(i={},i[Wm]={color:"windowtext"},i)})},Sw=sv((function(t){if(null==t.children)return null;t.block,t.className;var n=t.as,r=void 0===n?"span":n,o=(t.variant,t.nowrap,(0,e.__rest)(t,["block","className","as","variant","nowrap"]));return Mf(Of(t,{root:r}).root,(0,e.__assign)({},Nv(o,pv)))}),{displayName:"Text",styles:function(e,t){var n=e.as,r=e.className,o=e.block,i=e.nowrap,a=e.variant,s=t.fonts,c=t.semanticColors,l=s[a||"medium"];return{root:[l,{color:l.color||c.bodyText,display:o?"td"===n?"table-cell":"block":"inline",mozOsxFontSmoothing:l.MozOsxFontSmoothing,webkitFontSmoothing:l.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},r]}}}),kw=function(t){var n=t.tag,r=t.variant,o=void 0===r?"paneHeader":r,i=t.block,a=t.nowrap,s=t.weightOverride,c=t.colorOverride,l=t.children,u=(0,e.__rest)(t,["tag","variant","block","nowrap","weightOverride","colorOverride","children"]);qv("Heading",u.id),W_("Heading",u);var d=rb(),p=xw(d,o,s,c);return ol().createElement(Sw,(0,e.__assign)({as:n,block:i,nowrap:a,styles:{root:{fontSize:p.fontSize,fontWeight:p.fontWeight,lineHeight:p.lineHeight,fontFamily:p.fontFamily,selectors:p.selectors,color:p.color}}},u),l)};!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(gw||(gw={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(vw||(vw={}));var Tw=pb(),Iw=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.type,r=t.size,o=t.ariaLabel,i=t.ariaLive,a=t.styles,s=t.label,c=t.theme,l=t.className,u=t.labelPosition,d=o,p=Nv(this.props,Mv,["size"]),h=r;void 0===h&&void 0!==n&&(h=n===vw.large?gw.large:gw.medium);var f=Tw(a,{theme:c,size:h,className:l,labelPosition:u});return rl.createElement("div",(0,e.__assign)({},p,{className:f.root}),rl.createElement("div",{className:f.circle}),s&&rl.createElement("div",{className:f.label},s),d&&rl.createElement("div",{role:"status","aria-live":i},rl.createElement(vb,null,rl.createElement("div",{className:f.screenReaderText},d))))},n.defaultProps={size:gw.medium,ariaLive:"polite",labelPosition:"bottom"},n}(rl.Component),Aw={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},Pw=of((function(){return Bf({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),Dw=ib(Iw,(function(t){var n,r=t.theme,o=t.size,i=t.className,a=t.labelPosition,s=r.palette,c=og(Aw,r);return{root:[c.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===a&&{flexDirection:"column-reverse"},"right"===a&&{flexDirection:"row"},"left"===a&&{flexDirection:"row-reverse"},i],circle:[c.circle,{boxSizing:"border-box",borderRadius:"50%",border:"1.5px solid "+s.themeLight,borderTopColor:s.themePrimary,animationName:Pw(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(n={},n[Wm]=(0,e.__assign)({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},o===gw.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],o===gw.small&&["ms-Spinner--small",{width:16,height:16}],o===gw.medium&&["ms-Spinner--medium",{width:20,height:20}],o===gw.large&&["ms-Spinner--large",{width:28,height:28}]],label:[c.label,r.fonts.small,{color:s.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===a&&{margin:"0 0 8px"},"right"===a&&{margin:"0 0 0 8px"},"left"===a&&{margin:"0 8px 0 0"}],screenReaderText:ng}}),void 0,{scope:"Spinner"}),Rw=pb({cacheSize:100}),Mw=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.as,r=void 0===n?"label":n,o=t.children,i=t.className,a=t.disabled,s=t.styles,c=t.required,l=t.theme,u=Rw(s,{className:i,disabled:a,required:c,theme:l});return rl.createElement(r,(0,e.__assign)({},Nv(this.props,Mv),{className:u.root}),o)},n}(rl.Component),Nw=ib(Mw,(function(t){var n,r=t.theme,o=t.className,i=t.disabled,a=t.required,s=r.semanticColors,c=Bm.semibold,l=s.bodyText,u=s.disabledBodyText,d=s.errorText;return{root:["ms-Label",r.fonts.medium,{fontWeight:c,color:l,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},i&&{color:u,selectors:(n={},n[Wm]=(0,e.__assign)({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},a&&{selectors:{"::after":{content:"' *'",color:d,paddingRight:12}}},o]}}),void 0,{scope:"Label"}),Lw="100ms",Ow={rest:Zp.depth4,hover:Zp.depth8,controls:Zp.depth16,surface:Zp.depth64},Fw={root:{position:"absolute",left:"-10000px",top:"auto",width:"1px",height:"1px",overflow:"hidden",clip:"rect(1px, 1px, 1px, 1px)"}},Bw=function(e,t){return function(){return e>t?"The total number of slots passed to the SlotStackItems (".concat(e,")\n    is greater than the total passed to the SlotStack (").concat(t,")"):void 0}},Hw=function(e){return function(){return ol().isValidElement(e)&&e.type===zw?void 0:"SlotStack only accepts children of type SlotStackItem."}};var zw=function(){return ol().createElement(ol().Fragment,null)},Uw=function(t){var n=t.children,r=(0,e.__rest)(t,["children"]),o=ol().Children.toArray(n).filter((function(e){return!!e})).map((function(t){return Wb("SlotStack",[Hw(t)]),ol().createElement(qw,(0,e.__assign)({},t.props,{key:t.key||void 0}))}));return ol().createElement(jw,(0,e.__assign)({type:"slots"},r,{children:o}))},Vw=function(e){return function(){return ol().isValidElement(e)&&e.type===qw&&e.props.slots?void 0:'<SlotStack type="slots"> only accepts children of type <StackItem slot="x">.'}},jw=function(t){var n=t.type,r=t.children,o=t.childrenGap,i=t.horizontal,a=t.height,s=t.width,c=t.maxHeight,l=t.maxWidth,u=t.overflow,d=t.tabIndex,p=t.margin,h=t.padding,f=t.backgroundColor,m=t.reversed,g=void 0!==m&&m,v=t.textAlignment,y=t.totalSlots,b=t.wrap,_=void 0!==b&&b,C=t.withBorder,w=void 0!==C&&C,E=t.boxShadow,x=void 0!==E&&E,S=t.borderRadius,k=(0,e.__rest)(t,["type","children","childrenGap","horizontal","height","width","maxHeight","maxWidth","overflow","tabIndex","margin","padding","backgroundColor","reversed","textAlignment","totalSlots","wrap","withBorder","boxShadow","borderRadius"]);W_("Stack",k);var T=rb(),I={root:{}},A={};if(A.childrenGap="slots"===n?16:o,c&&(A.maxHeight=c),l&&(A.maxWidth=l),u&&(I.root.overflow=u),p&&(I.root.margin=p),h&&(I.root.padding=h),a&&(I.root.height=a),s&&(I.root.width=s),w&&(I.root.borderWidth="1px",I.root.borderStyle="solid",I.root.borderColor=T.palette.neutralSecondary,I.root.borderRadius="2px"),v&&(I.root["text-align"]=v),f&&(I.root["background-color"]=T.palette[f]),x&&(I.root.boxShadow=Ow.rest),S&&(I.root["border-radius"]=S),"slots"===n){var P=function(t,n){var r=t.reduce((function(e,t){return e+t.props.slots}),0);return Wb("SlotStack",[Bw(r,n)]),t.map((function(t){var r=t.props,o=r.slots,i=(0,e.__rest)(r,["slots"]),a=o/n,s=16*(1-a),c="calc(".concat(100*a,"% - ").concat(s,"px)");return ol().createElement(qw,(0,e.__assign)({},i,{width:c,key:t.key||void 0}))}))}((Array.isArray(r)?r:[r]).map((function(e){return Wb("Stack",[Vw(e)]),e})),y);return ol().createElement(jv,(0,e.__assign)({horizontal:!0,reversed:g,styles:I,tokens:A,wrap:!1},k),P)}return ol().createElement(jv,(0,e.__assign)({horizontal:i,reversed:g,styles:I,tokens:A,wrap:_,tabIndex:d},k),r)},qw=function(t){var n=t.children,r=void 0===n?ol().createElement(ol().Fragment,null):n,o=t.margin,i=t.height,a=t.padding,s=t.width,c=t.boxSizing,l=t.textAlignment,u=(0,e.__rest)(t,["children","margin","height","padding","width","boxSizing","textAlignment"]);W_("StackItem",u);var d={root:{}};return o&&(d.root.margin=o),a&&(d.root.padding=a),i&&(d.root.height=i),s&&(d.root.width=s),c&&(d.root.boxSizing=c),l&&(d.root["text-align"]=l),ol().createElement(Vv,(0,e.__assign)({styles:d,tokens:{}},u),r)},Ww=function(e,t){switch(t){case"Error":return e.palette.redDark;case"Saving":case"Saved":return e.palette.themePrimary;case"Light":return e.palette.neutralSecondary}},Gw=function(t){var n=t.labelState,r=t.disabled,o=t.required,i=t.htmlFor,a=t.children,s=(0,e.__rest)(t,["labelState","disabled","required","htmlFor","children"]);qv("Label",s.id),W_("Label",s);var c=rb(),l=function(e,t){switch(t){case"Error":case"Saving":case"Saved":return{root:{height:16,fontWeight:"normal",fontSize:12,lineHeight:16,padding:0,color:Ww(e,t)}};case"Light":return{root:{fontWeight:"normal",color:Ww(e,t)}};default:return{root:{}}}}(c,n),u=ol().createElement(Nw,(0,e.__assign)({disabled:r,required:o,htmlFor:i,styles:l},s),a);return void 0!==n&&"Error"!==n?ol().createElement(jw,{horizontal:!0,childrenGap:7},function(t,n){switch(n){case"Saving":return ol().createElement(Dw,{ariaLive:"assertive",size:gw.xSmall});case"Saved":return ol().createElement(uw,(0,e.__assign)({iconName:"CheckMark",size:"16px"},{styles:{root:{color:t.palette.blue}}}));default:return}}(c,n),u):u},Kw=function(e){return!1===isNaN(Number(e))},Yw=function(){return navigator.userAgent.includes("rv:11.0")};var Qw=function(e){return e.stopPropagation()},Xw=function(t){var n,r=t.children,o=t.keycodes,i=void 0===o?[]:o,a=(0,e.__rest)(t,["children","keycodes"]);return qv("StopPropagation"),ol().createElement("div",{style:(n=a,"inline-block"===n.display?{display:"inline-block"}:n.grow?{height:"100%",width:"100%"}:void 0),onClick:Qw,onKeyDown:function(e){return function(e,t){t.includes(e.keyCode)&&e.stopPropagation()}(e,i)},role:"presentation"},r)},Jw=function(t){var n=t.block,r=t.nowrap,o=t.variant,i=void 0===o?"bodyPrimaryText":o,a=t.colorOverride,s=t.weightOverride,c=t.children,l=t.disabled,u=void 0!==l&&l,d=(0,e.__rest)(t,["block","nowrap","variant","colorOverride","weightOverride","children","disabled"]);qv("Text",d.id),W_("Text",d);var p=rb(),h=xw(p,i,s,u?"disabled":a);return ol().createElement(Sw,(0,e.__assign)({block:n,nowrap:r,styles:{root:{fontSize:h.fontSize,fontWeight:h.fontWeight,lineHeight:h.lineHeight,fontFamily:h.fontFamily,selectors:h.selectors,color:h.color}}},d),c)};var $w,Zw,eE,tE=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,r=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),r=setTimeout((function(){try{n._timeoutIds&&delete n._timeoutIds[r],e.apply(n._parent)}catch(Ple){n._logError(Ple)}}),t),this._timeoutIds[r]=!0),r},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,o=kf(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});r=o.setTimeout((function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(Ple){n._logError(Ple)}}),0),this._immediateIds[r]=!0}return r},e.prototype.clearImmediate=function(e,t){var n=kf(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,r=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),r=setInterval((function(){try{e.apply(n._parent)}catch(Ple){n._logError(Ple)}}),t),this._intervalIds[r]=!0),r},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var r=this;if(this._isDisposed)return this._noop;var o,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(n){var d=Date.now(),p=d-l,h=s?a-p:a;return p>=a&&(!n||s)?(l=d,u&&(r.clearTimeout(u),u=null),o=e.apply(r._parent,i)):null===u&&c&&(u=r.setTimeout(t,h)),o};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 r=this;if(this._isDisposed){var o=function(){};return o.cancel=function(){},o.flush=function(){return null},o.pending=function(){return!1},o}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&&(r.clearTimeout(h),h=null),p=e},m=function(t){f(t),i=e.apply(r._parent,a)},g=function e(t){var n=Date.now(),o=!1;t&&(c&&n-d>=s&&(o=!0),d=n);var a=n-d,f=s-a,g=n-p,v=!1;return null!==u&&(g>=u&&h?v=!0:f=Math.min(f,u-g)),a>=s||v||o?m(n):null!==h&&t||!l||(h=r.setTimeout(e,f)),i},v=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(){v()&&f(Date.now())},y.flush=function(){return v()&&m(Date.now()),i},y.pending=v,y},e.prototype.requestAnimationFrame=function(e,t){var n=this,r=0,o=kf(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var i=function(){try{n._animationFrameIds&&delete n._animationFrameIds[r],e.apply(n._parent)}catch(Ple){n._logError(Ple)}};r=o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0),this._animationFrameIds[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e,t){var n=kf(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 nE(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}!function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}($w||($w={})),function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(Zw||(Zw={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(eE||(eE={}));var rE,oE=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.top=n,this.bottom=r,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,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 iE(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var aE=((rE={})[K_]=iE(Zw.top,Zw.left),rE[Y_]=iE(Zw.top),rE[Q_]=iE(Zw.top,Zw.right),rE[X_]=iE(Zw.top,void 0,!0),rE[J_]=iE(Zw.bottom,Zw.left),rE[$_]=iE(Zw.bottom),rE[Z_]=iE(Zw.bottom,Zw.right),rE[eC]=iE(Zw.bottom,void 0,!0),rE[tC]=iE(Zw.left,Zw.top),rE[nC]=iE(Zw.left),rE[rC]=iE(Zw.left,Zw.bottom),rE[oC]=iE(Zw.right,Zw.top),rE[iC]=iE(Zw.right),rE[aC]=iE(Zw.right,Zw.bottom),rE);function sE(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function cE(e,t){var n=[];return e.top<t.top&&n.push(Zw.top),e.bottom>t.bottom&&n.push(Zw.bottom),e.left<t.left&&n.push(Zw.left),e.right>t.right&&n.push(Zw.right),n}function lE(e,t){return e[Zw[t]]}function uE(e,t,n){return e[Zw[t]]=n,e}function dE(e,t){var n=EE(t);return(lE(e,n.positiveEdge)+lE(e,n.negativeEdge))/2}function pE(e,t){return e>0?t:-1*t}function hE(e,t){return pE(e,lE(t,e))}function fE(e,t,n){return pE(n,lE(e,n)-lE(t,n))}function mE(e,t,n,r){void 0===r&&(r=!0);var o=lE(e,t)-n,i=uE(e,t,n);return r&&(i=uE(e,-1*t,lE(e,-1*t)-o)),i}function gE(e,t,n,r){return void 0===r&&(r=0),mE(e,n,lE(t,n)+pE(n,r))}function vE(e,t,n){return hE(n,e)>hE(n,t)}function yE(e,t){for(var n=0,r=0,o=cE(e,t);r<o.length;r++){var i=o[r];n+=Math.pow(fE(e,t,i),2)}return n}function bE(e,t,n,r,o,i,a){void 0===o&&(o=0);var s=r.alignmentEdge,c=r.alignTargetEdge,l={elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:s};i||a||(l=function(e,t,n,r,o){void 0===o&&(o=0);var i=[Zw.left,Zw.right,Zw.bottom,Zw.top];Pf()&&(i[0]*=-1,i[1]*=-1);for(var a,s=e,c=r.targetEdge,l=r.alignmentEdge,u=c,d=l,p=0;p<4;p++){if(vE(s,n,c))return{elementRectangle:s,targetEdge:c,alignmentEdge:l};var h=yE(s,n);(!a||h<a)&&(a=h,u=c,d=l),i.splice(i.indexOf(c),1),i.length>0&&(i.indexOf(-1*c)>-1?c*=-1:(l=c,c=i.slice(-1)[0]),s=wE(e,t,{targetEdge:c,alignmentEdge:l},o))}return{elementRectangle:s=wE(e,t,{targetEdge:u,alignmentEdge:d},o),targetEdge:u,alignmentEdge:d}}(e,t,n,r,o));var u=cE(l.elementRectangle,n),d=i?-l.targetEdge:void 0;if(u.length>0)if(c)if(l.alignmentEdge&&u.indexOf(-1*l.alignmentEdge)>-1){var p=function(e,t,n,r){var o=e.alignmentEdge,i=e.targetEdge,a=-1*o;return{elementRectangle:wE(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,r),targetEdge:i,alignmentEdge:a}}(l,t,o,a);if(sE(p.elementRectangle,n))return p;l=_E(cE(p.elementRectangle,n),l,n,d)}else l=_E(u,l,n,d);else l=_E(u,l,n,d);return l}function _E(e,t,n,r){for(var o=0,i=e;o<i.length;o++){var a=i[o],s=void 0;if(r&&r===-1*a)s=mE(t.elementRectangle,a,lE(n,a),!1),t.forcedInBounds=!0;else vE(s=gE(t.elementRectangle,n,a),n,-1*a)||(s=mE(s,-1*a,lE(n,-1*a),!1),t.forcedInBounds=!0);t.elementRectangle=s}return t}function CE(e,t,n){var r=EE(t).positiveEdge;return mE(e,r,n-(dE(e,t)-lE(e,r)))}function wE(e,t,n,r,o){void 0===r&&(r=0);var i=new oE(e.left,e.right,e.top,e.bottom),a=n.alignmentEdge,s=n.targetEdge,c=o?s:-1*s;(i=o?gE(i,t,s,r):function(e,t,n,r){void 0===r&&(r=0);var o=pE(-1*n,r);return mE(e,-1*n,lE(t,n)+o)}(i,t,s,r),a)?i=gE(i,t,a):i=CE(i,c,dE(t,s));return i}function EE(e){return e===Zw.top||e===Zw.bottom?{positiveEdge:Zw.left,negativeEdge:Zw.right}:{positiveEdge:Zw.top,negativeEdge:Zw.bottom}}function xE(e,t,n){return n&&Math.abs(fE(e,n,t))>Math.abs(fE(e,n,-1*t))?-1*t:t}function SE(e,t,n,r,o,i,a,s){var c,l={},u=RE(t),d=i?n:-1*n,p=o||EE(n).positiveEdge;return a&&!function(e,t,n){return void 0!==n&&lE(e,t)===lE(n,t)}(e,(c=p,-1*c),r)||(p=xE(e,p,r)),l[Zw[d]]=fE(e,u,d),l[Zw[p]]=fE(e,u,p),s&&(l[Zw[-1*d]]=fE(e,u,-1*d),l[Zw[-1*p]]=fE(e,u,-1*p)),l}function kE(e){return Math.sqrt(e*e*2)}function TE(t,n,r){if(void 0===t&&(t=eC),r)return{alignmentEdge:r.alignmentEdge,isAuto:r.isAuto,targetEdge:r.targetEdge};var o=(0,e.__assign)({},aE[t]);return Pf()?(o.alignmentEdge&&o.alignmentEdge%2===0&&(o.alignmentEdge=-1*o.alignmentEdge),void 0!==n?aE[n]:o):o}function IE(e,t,n){var r=dE(t,e),o=dE(n,e),i=EE(e),a=i.positiveEdge,s=i.negativeEdge;return r<=o?a:s}function AE(e,t,n,r,o,i,a){var s=wE(e,t,r,o,a);return sE(s,n)?{elementRectangle:s,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}:bE(s,t,n,r,o,i,a)}function PE(t,n,r){var o=-1*t.targetEdge,i=new oE(0,t.elementRectangle.width,0,t.elementRectangle.height),a={},s=xE(t.elementRectangle,t.alignmentEdge?t.alignmentEdge:EE(o).positiveEdge,r),c=fE(t.elementRectangle,t.targetRectangle,o)>Math.abs(lE(n,o));return a[Zw[o]]=lE(n,o),a[Zw[s]]=fE(n,i,s),{elementPosition:(0,e.__assign)({},a),closestEdge:IE(t.targetEdge,n,i),targetEdge:o,hideBeak:!c}}function DE(e,t){var n=t.targetRectangle,r=EE(t.targetEdge),o=r.positiveEdge,i=r.negativeEdge,a=dE(n,t.targetEdge),s=new oE(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),c=new oE(0,e,0,e);return vE(c=CE(c=mE(c,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-hE(o,t.elementRectangle)),s,o)?vE(c,s,i)||(c=gE(c,s,i)):c=gE(c,s,o),c}function RE(e){var t=e.getBoundingClientRect();return new oE(t.left,t.right,t.top,t.bottom)}function ME(e){return new oE(e.left,e.right,e.top,e.bottom)}function NE(t,n,r,o){var i=t.gapSpace?t.gapSpace:0,a=function(e,t){var n;if(t){if(t.preventDefault){var r=t;n=new oE(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=RE(t);else{var o=t,i=o.left||o.x,a=o.top||o.y,s=o.right||i,c=o.bottom||a;n=new oE(i,s,a,c)}if(!sE(n,e))for(var l=0,u=cE(n,e);l<u.length;l++){var d=u[l];n[Zw[d]]=e[Zw[d]]}}else n=new oE(0,0,0,0);return n}(r,t.target),s=function(e,t,n,r,o){return e.isAuto&&(e.alignmentEdge=IE(e.targetEdge,t,n)),e.alignTargetEdge=o,e}(TE(t.directionalHint,t.directionalHintForRTL,o),a,r,t.coverTarget,t.alignTargetEdge),c=AE(RE(n),a,r,s,i,t.directionalHintFixed,t.coverTarget);return(0,e.__assign)((0,e.__assign)({},c),{targetRectangle:a})}function LE(e,t,n,r,o){return{elementPosition:SE(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,r,o,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function OE(t,n,r,o,i){var a=t.isBeakVisible&&t.beakWidth||0,s=kE(a)/2+(t.gapSpace?t.gapSpace:0),c=t;c.gapSpace=s;var l=t.bounds?ME(t.bounds):new oE(0,window.innerWidth-function(){if(void 0===p_){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),p_=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return p_}(),0,window.innerHeight),u=NE(c,r,l,o),d=PE(u,DE(a,u),l);return(0,e.__assign)((0,e.__assign)({},LE(u,n,l,t.coverTarget,i)),{beakPosition:d})}function FE(e,t,n,r){return function(e,t,n,r){return OE(e,t,n,r,!0)}(e,t,n,r)}var BE=["TEMPLATE","STYLE","SCRIPT"];function HE(e){var t=xf(e);if(!t)return function(){};for(var n=[];e!==t.body&&e.parentElement;){for(var r=0,o=e.parentElement.children;r<o.length;r++){var i=o[r],a=i.getAttribute("aria-hidden");i!==e&&"true"!==(null===a||void 0===a?void 0:a.toLowerCase())&&-1===BE.indexOf(i.tagName)&&n.push([i,a])}e=e.parentElement}return n.forEach((function(e){e[0].setAttribute("aria-hidden","true")})),function(){!function(e){e.forEach((function(e){var t=e[0],n=e[1];n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")}))}(n),n=[]}}function zE(){var e=rl.useRef();return e.current||(e.current=new tE),rl.useEffect((function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}}),[]),e.current}function UE(e,t,n,r){var o=rl.useRef(n);o.current=n,rl.useEffect((function(){var n=e&&"current"in e?e.current:e;if(n)return nE(n,t,(function(e){return o.current(e)}),r)}),[e,t,r])}function VE(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==kf()&&setTimeout((function(){var e;null===(e=t.focus)||void 0===e||e.call(t)}),0)}function jE(e,t){var n=e.onRestoreFocus,r=void 0===n?VE:n,o=rl.useRef(),i=rl.useRef(!1);rl.useEffect((function(){return o.current=xf().activeElement,function(e){var t=xf(e),n=t&&t.activeElement;return!(!n||!e_(e,n))}(t.current)&&(i.current=!0),function(){var e;null===r||void 0===r||r({originalElement:o.current,containsFocus:i.current,documentContainsFocus:(null===(e=xf())||void 0===e?void 0:e.hasFocus())||!1}),o.current=void 0}}),[]),UE(t,"focus",rl.useCallback((function(){i.current=!0}),[]),!0),UE(t,"blur",rl.useCallback((function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(i.current=!1)}),[]),!0)}var qE=rl.forwardRef((function(t,n){var r=Iy({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},t),o=rl.useRef(),i=Ay(o,n);!function(e,t){var n="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;rl.useEffect((function(){if(n&&t.current)return HE(t.current)}),[t,n])}(r,o),jE(r,o);var a=r.role,s=r.className,c=r.ariaLabel,l=r.ariaLabelledBy,u=r.ariaDescribedBy,d=r.style,p=r.children,h=r.onDismiss,f=function(e,t){var n=zE(),r=rl.useState(!1),o=r[0],i=r[1];return rl.useEffect((function(){return n.requestAnimationFrame((function(){var n;if(!e.style||!e.style.overflowY){var r=!1;if(t&&t.current&&(null===(n=t.current)||void 0===n?void 0:n.firstElementChild)){var a=t.current.clientHeight,s=t.current.firstElementChild.clientHeight;a>0&&s>a&&(r=s-a>1)}o!==r&&i(r)}})),function(){return n.dispose()}})),o}(r,o),m=rl.useCallback((function(e){if(e.which===pf)h&&(h(e),e.preventDefault(),e.stopPropagation())}),[h]);return UE(Kv(),"keydown",m),rl.createElement("div",(0,e.__assign)({ref:i},Nv(r,Mv),{className:s,role:a,"aria-label":c,"aria-labelledby":l,"aria-describedby":u,onKeyDown:m,style:(0,e.__assign)({overflowY:f?"scroll":void 0,outline:"none"},d)}),p)}));qE.displayName="Popup";var WE,GE=rl.createContext({window:"object"===typeof window?window:void 0});function KE(e,t){var n=rl.useRef(),r=rl.useRef(null),o=rl.useContext(GE).window;if(!e||e!==n.current||"string"===typeof e){var i=null===t||void 0===t?void 0:t.current;if(e)if("string"===typeof e){var a=xf(i);r.current=a?a.querySelector(e):null}else r.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;n.current=e}return[r,o]}var YE=((WE={})[Zw.top]=zm.slideUpIn10,WE[Zw.bottom]=zm.slideDownIn10,WE[Zw.left]=zm.slideLeftIn10,WE[Zw.right]=zm.slideRightIn10,WE),QE=0,XE=0,JE={opacity:0,filter:"opacity(0)",pointerEvents:"none"},$E=["role","aria-roledescription"],ZE={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:eC},ex=pb({disableCaching:!0});function tx(t,n,r,o,i){var a=rl.useState(),s=a[0],c=a[1],l=rl.useRef(0),u=rl.useRef(),d=zE(),p=t.hidden,h=t.target,f=t.finalHeight,m=t.calloutMaxHeight,g=t.onPositioned,v=t.directionalHint;return rl.useEffect((function(){if(!p){var a=d.requestAnimationFrame((function(){var a,d,p,v;if(n.current&&r){var y=(0,e.__assign)((0,e.__assign)({},t),{target:o.current,bounds:i()}),b=r.cloneNode(!0);b.style.maxHeight=m?""+m:"",b.style.visibility="hidden",null===(a=r.parentElement)||void 0===a||a.appendChild(b);var _=u.current===h?s:void 0,C=f?FE(y,n.current,b,_):function(e,t,n,r){return OE(e,t,n,r)}(y,n.current,b,_);null===(d=r.parentElement)||void 0===d||d.removeChild(b),!s&&C||s&&C&&(v=C,!ox((p=s).elementPosition,v.elementPosition)||!ox(p.beakPosition.elementPosition,v.beakPosition.elementPosition))&&l.current<5?(l.current++,c(C)):l.current>0&&(l.current=0,null===g||void 0===g||g(s))}}),r);return u.current=h,function(){d.cancelAnimationFrame(a),u.current=void 0}}c(void 0),l.current=0}),[p,v,d,r,m,n,o,f,i,g,s,t,h]),s}var nx=rl.memo(rl.forwardRef((function(t,n){var r=Iy(ZE,t),o=r.styles,i=r.style,a=r.ariaLabel,s=r.ariaDescribedBy,c=r.ariaLabelledBy,l=r.className,u=r.isBeakVisible,d=r.children,p=r.beakWidth,h=r.calloutWidth,f=r.calloutMaxWidth,m=r.calloutMinWidth,g=r.doNotLayer,v=r.finalHeight,y=r.hideOverflow,b=void 0===y?!!v:y,_=r.backgroundColor,C=r.calloutMaxHeight,w=r.onScroll,E=r.shouldRestoreFocus,x=void 0===E||E,S=r.target,k=r.hidden,T=r.onLayerMounted,I=r.popupProps,A=rl.useRef(null),P=rl.useState(null),D=P[0],R=P[1],M=rl.useCallback((function(e){R(e)}),[]),N=Ay(A,n),L=KE(r.target,{current:D}),O=L[0],F=L[1],B=function(e,t,n){var r=e.bounds,o=e.minPagePadding,i=void 0===o?ZE.minPagePadding:o,a=e.target,s=rl.useState(!1),c=s[0],l=s[1],u=rl.useRef(),d=rl.useCallback((function(){if(!u.current||c){var e="function"===typeof r?n?r(a,n):void 0:r;!e&&n&&(e=function(e,t){return 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 r=0,o=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();r=(i.left+i.right)/2,o=(i.top+i.bottom)/2}else null!==e&&(r=e.left||e.x,o=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];r&&l.left<=r&&l.right>=r&&o&&l.top<=o&&l.bottom>=o&&(a={top:l.top,left:l.left,right:l.right,bottom:l.bottom,width:l.width,height:l.height})}return a}(e,t)}(t.current,n),e={top:e.top+i,left:e.left+i,right:e.right-i,bottom:e.bottom-i,width:e.width-2*i,height:e.height-2*i}),u.current=e,c&&l(!1)}return u.current}),[r,i,a,t,n,c]),p=zE();return UE(n,"resize",p.debounce((function(){l(!0)}),500,{leading:!0})),d}(r,O,F),H=tx(r,A,D,O,B),z=function(e,t,n){var r,o=e.calloutMaxHeight,i=e.finalHeight,a=e.directionalHint,s=e.directionalHintFixed,c=e.hidden,l=rl.useState(),u=l[0],d=l[1],p=null!==(r=null===n||void 0===n?void 0:n.elementPosition)&&void 0!==r?r:{},h=p.top,f=p.bottom;return rl.useEffect((function(){var e,n=null!==(e=t())&&void 0!==e?e:{},r=n.top,i=n.bottom;o||c?d(o||void 0):"number"===typeof h&&i?d(i-h):"number"===typeof f&&"number"===typeof r&&i&&d(i-r-f)}),[f,o,i,a,s,t,c,n,h]),u}(r,B,H),U=function(e,t,n,r,o){var i=e.hidden,a=e.onDismiss,s=e.preventDismissOnScroll,c=e.preventDismissOnResize,l=e.preventDismissOnLostFocus,u=e.dismissOnTargetClick,d=e.shouldDismissOnWindowFocus,p=e.preventDismissOnEvent,h=rl.useRef(!1),f=zE(),m=Db([function(){h.current=!0},function(){h.current=!1}]),g=!!t;return rl.useEffect((function(){var e=function(e){g&&!s&&v(e)},t=function(e){c||p&&p(e)||null===a||void 0===a||a(e)},m=function(e){l||v(e)},v=function(e){var t=e.composedPath?e.composedPath():[],i=t.length>0?t[0]:e.target,s=n.current&&!e_(n.current,i);if(s&&h.current)h.current=!1;else if(!r.current&&s||e.target!==o&&s&&(!r.current||"stopPropagation"in r.current||u||i!==r.current&&!e_(r.current,i))){if(p&&p(e))return;null===a||void 0===a||a(e)}},y=function(e){d&&((!p||p(e))&&(p||l)||(null===o||void 0===o?void 0:o.document.hasFocus())||null!==e.relatedTarget||null===a||void 0===a||a(e))},b=new Promise((function(n){f.setTimeout((function(){if(!i&&o){var r=[nE(o,"scroll",e,!0),nE(o,"resize",t,!0),nE(o.document.documentElement,"focus",m,!0),nE(o.document.documentElement,"click",m,!0),nE(o,"blur",y,!0)];n((function(){r.forEach((function(e){return e()}))}))}}),0)}));return function(){b.then((function(e){return e()}))}}),[i,f,n,r,o,a,d,u,l,c,s,g,p]),m}(r,H,A,O,F),V=U[0],j=U[1],q=(null===H||void 0===H?void 0:H.elementPosition.top)&&(null===H||void 0===H?void 0:H.elementPosition.bottom),W=(0,e.__assign)((0,e.__assign)({},null===H||void 0===H?void 0:H.elementPosition),{maxHeight:z});if(q&&(W.bottom=void 0),function(e,t,n){var r=e.hidden,o=e.setInitialFocus,i=zE(),a=!!t;rl.useEffect((function(){if(!r&&o&&a&&n){var e=i.requestAnimationFrame((function(){return r_(n)}),n);return function(){return i.cancelAnimationFrame(e)}}}),[r,a,i,n,o])}(r,H,D),rl.useEffect((function(){k||null===T||void 0===T||T()}),[k]),!F)return null;var G=b,K=u&&!!S,Y=ex(o,{theme:r.theme,className:l,overflowYHidden:G,calloutWidth:h,positions:H,beakWidth:p,backgroundColor:_,calloutMaxWidth:f,calloutMinWidth:m,doNotLayer:g}),Q=(0,e.__assign)((0,e.__assign)({maxHeight:C||"100%"},i),G&&{overflowY:"hidden"}),X=r.hidden?{visibility:"hidden"}:void 0;return rl.createElement("div",{ref:N,className:Y.container,style:X},rl.createElement("div",(0,e.__assign)({},Nv(r,Mv,$E),{className:Wv(Y.root,H&&H.targetEdge&&YE[H.targetEdge]),style:H?(0,e.__assign)({},W):JE,tabIndex:-1,ref:M}),K&&rl.createElement("div",{className:Y.beak,style:rx(H)}),K&&rl.createElement("div",{className:Y.beakCurtain}),rl.createElement(qE,(0,e.__assign)({role:r.role,"aria-roledescription":r["aria-roledescription"],ariaDescribedBy:s,ariaLabel:a,ariaLabelledBy:c,className:Y.calloutMain,onDismiss:r.onDismiss,onMouseDown:V,onMouseUp:j,onRestoreFocus:r.onRestoreFocus,onScroll:w,shouldRestoreFocus:x,style:Q},I),d)))})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||ly(e,t)}));function rx(t){var n,r,o=(0,e.__assign)((0,e.__assign)({},null===(n=null===t||void 0===t?void 0:t.beakPosition)||void 0===n?void 0:n.elementPosition),{display:(null===(r=null===t||void 0===t?void 0:t.beakPosition)||void 0===r?void 0:r.hideBeak)?"none":void 0});return o.top||o.bottom||o.left||o.right||(o.left=XE,o.top=QE),o}function ox(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=e[n],o=t[n];if(void 0===r||void 0===o)return!1;if(r.toFixed(2)!==o.toFixed(2))return!1}return!0}function ix(e){return{height:e,width:e}}nx.displayName="CalloutContentBase";var ax={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},sx=ib(nx,(function(e){var t,n=e.theme,r=e.className,o=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,c=e.calloutMaxWidth,l=e.calloutMinWidth,u=e.doNotLayer,d=og(ax,n),p=n.semanticColors,h=n.effects;return{container:[d.container,{position:"relative"}],root:[d.root,n.fonts.medium,{position:"absolute",display:"flex",zIndex:u?Ym.Layer:void 0,boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[Wm]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},r,!!i&&{width:i},!!c&&{maxWidth:c},!!l&&{minWidth:l}],beak:[d.beak,{position:"absolute",backgroundColor:p.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},ix(a),s&&{backgroundColor:s}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:p.menuBackground,borderRadius:h.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:p.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:h.roundedCorner2},o&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"}),cx=rl.createContext((function(){return function(){}}));cx.Provider;function lx(t,n){void 0===t&&(t={});var r=dx(n)?n:function(t){return function(n){return t?(0,e.__assign)((0,e.__assign)({},n),t):n}}(n);return r(t)}function ux(t,n){return void 0===t&&(t={}),(dx(n)?n:function(t){void 0===t&&(t={});return function(n){var r=(0,e.__assign)({},n);for(var o in t)t.hasOwnProperty(o)&&(r[o]=(0,e.__assign)((0,e.__assign)({},n[o]),t[o]));return r}}(n))(t)}function dx(e){return"function"===typeof e}var px=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._onCustomizationChange=function(){return e.forceUpdate()},e}return(0,e.__extends)(n,t),n.prototype.componentDidMount=function(){pg.observe(this._onCustomizationChange)},n.prototype.componentWillUnmount=function(){pg.unobserve(this._onCustomizationChange)},n.prototype.render=function(){var e=this,t=this.props.contextTransform;return rl.createElement(av.Consumer,null,(function(n){var r=function(e,t){var n=(t||{}).customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:lx(r.settings,e.settings),scopedSettings:ux(r.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}(e.props,n);return t&&(r=t(r)),rl.createElement(av.Provider,{value:r},e.props.children)}))},n}(rl.Component),hx=pb(),fx=of((function(t,n){return Og((0,e.__assign)((0,e.__assign)({},t),{rtl:n}))})),mx=rl.forwardRef((function(t,n){var r=t.className,o=t.theme,i=t.applyTheme,a=t.applyThemeToBody,s=t.styles,c=hx(s,{theme:o,applyTheme:i,className:r}),l=rl.useRef(null);return function(e,t,n){var r=t.bodyThemed;rl.useEffect((function(){if(e){var t=xf(n.current);if(t)return t.body.classList.add(r),function(){t.body.classList.remove(r)}}}),[r,e,n])}(a,c,l),rl.createElement(rl.Fragment,null,function(t,n,r,o){var i=n.root,a=t.as,s=void 0===a?"div":a,c=t.dir,l=t.theme,u=Nv(t,Mv,["dir"]),d=function(e){var t=e.theme,n=e.dir,r=Pf(t)?"rtl":"ltr",o=Pf()?"rtl":"ltr",i=n||r;return{rootDir:i!==r||i!==o?i:n,needsTheme:i!==r}}(t),p=d.rootDir,h=d.needsTheme,f=rl.createElement(xy,{providerRef:r},rl.createElement(s,(0,e.__assign)({dir:p},u,{className:i,ref:Ay(r,o)})));h&&(f=rl.createElement(px,{settings:{theme:fx(l,"rtl"===c)}},f));return f}(t,c,l,n))}));mx.displayName="FabricBase";var gx={fontFamily:"inherit"},vx={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},yx=ib(mx,(function(e){var t=e.theme,n=e.className,r=e.applyTheme;return{root:[og(vx,t).root,t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":gx,"& input":gx,"& textarea":gx}},r&&{color:t.semanticColors.bodyText,backgroundColor:t.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:t.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"});var bx={},_x={},Cx="fluent-default-layer-host",wx="#"+Cx;var Ex,xx=Ef()?rl.useLayoutEffect:rl.useEffect,Sx=pb(),kx=rl.forwardRef((function(t,n){var r=rl.useContext(cx),o=rl.useRef(null),i=Ay(o,n),a=rl.useRef(),s=rl.useRef(null),c=rl.useState(!1),l=c[0],u=c[1],d=t.eventBubblingEnabled,p=t.styles,h=t.theme,f=t.className,m=t.children,g=t.hostId,v=t.onLayerDidMount,y=void 0===v?function(){}:v,b=t.onLayerMounted,_=void 0===b?function(){}:b,C=t.onLayerWillUnmount,w=t.insertFirst,E=Sx(p,{theme:h,className:f,isNotHost:!g}),x=function(e){var t,n;if(g){var r=function(e){var t=_x[e];return t&&t[0]||void 0}(g);return r?null!==(t=r.rootRef.current)&&void 0!==t?t:null:null!==(n=e.getElementById(g))&&void 0!==n?n:null}var o=wx,i=o?e.querySelector(o):null;return i||(i=function(e){var t=e.createElement("div");return t.setAttribute("id",Cx),t.style.cssText="position:fixed;z-index:1000000",null===e||void 0===e||e.body.appendChild(t),t}(e)),i},S=function(){null===C||void 0===C||C();var e=a.current;a.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},k=function(){var e,t=xf(o.current);if(t){var n=x(t);if(n){S();var r=(null!==(e=n.ownerDocument)&&void 0!==e?e:t).createElement("div");r.className=E.root,r.setAttribute(A_,"true"),function(e,t){var n=e,r=t;n._virtual||(n._virtual={children:[]});var o=n._virtual.parent;if(o&&o!==t){var i=o._virtual.children.indexOf(n);i>-1&&o._virtual.children.splice(i,1)}n._virtual.parent=r||void 0,r&&(r._virtual||(r._virtual={children:[]}),r._virtual.children.push(n))}(r,o.current),w?n.insertBefore(r,n.firstChild):n.appendChild(r),a.current=r,u(!0)}}};return xx((function(){k(),g&&function(e,t){bx[e]||(bx[e]=[]),bx[e].push(t);var n=_x[e];if(n)for(var r=0,o=n;r<o.length;r++)o[r].notifyLayersChanged()}(g,k);var e=a.current?r(a.current):void 0;return function(){e&&e(),S(),g&&function(e,t){var n=bx[e];if(n){var r=n.indexOf(t);r>=0&&(n.splice(r,1),0===n.length&&delete bx[e])}var o=_x[e];if(o)for(var i=0,a=o;i<a.length;i++)a[i].notifyLayersChanged()}(g,k)}}),[g]),rl.useEffect((function(){a.current&&l&&(null===_||void 0===_||_(),null===y||void 0===y||y(),u(!1))}),[l,_,y]),rl.createElement("span",{className:"ms-layer",ref:i},a.current&&dl.createPortal(rl.createElement(xy,{layerRoot:!0,providerRef:s},rl.createElement(yx,(0,e.__assign)({},!d&&function(){Ex||(Ex={},["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 Ex[e]=Tx})));return Ex}(),{className:E.content,ref:s}),m)),a.current))}));kx.displayName="LayerBase";var Tx=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var Ix={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Ax=ib(kx,(function(e){var t=e.className,n=e.isNotHost,r=e.theme,o=og(Ix,r);return{root:[o.root,r.fonts.medium,n&&[o.rootNoHost,{position:"fixed",zIndex:Ym.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[o.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Px=rl.forwardRef((function(t,n){var r=t.layerProps,o=t.doNotLayer,i=(0,e.__rest)(t,["layerProps","doNotLayer"]),a=rl.createElement(sx,(0,e.__assign)({},i,{doNotLayer:o,ref:n}));return o?a:rl.createElement(Ax,(0,e.__assign)({},r),a)}));Px.displayName="Callout";var Dx,Rx=pb(),Mx=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._onRenderContent=function(t){return"string"===typeof t.content?rl.createElement("p",{className:e._classNames.subText},t.content):rl.createElement("div",{className:e._classNames.subText},t.content)},e}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.className,r=t.calloutProps,o=t.directionalHint,i=t.directionalHintForRTL,a=t.styles,s=t.id,c=t.maxWidth,l=t.onRenderContent,u=void 0===l?this._onRenderContent:l,d=t.targetElement,p=t.theme;return this._classNames=Rx(a,{theme:p,className:n||r&&r.className,beakWidth:r&&r.beakWidth,gapSpace:r&&r.gapSpace,maxWidth:c}),rl.createElement(Px,(0,e.__assign)({target:d,directionalHint:o,directionalHintForRTL:i},r,Nv(this.props,Mv,["id"]),{className:this._classNames.root}),rl.createElement("div",{className:this._classNames.content,id:s,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},u(this.props,this._onRenderContent)))},n.defaultProps={directionalHint:Y_,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},n}(rl.Component),Nx=ib(Mx,(function(e){var t=e.className,n=e.beakWidth,r=void 0===n?16:n,o=e.gapSpace,i=void 0===o?0:o,a=e.maxWidth,s=e.theme,c=s.semanticColors,l=s.fonts,u=s.effects,d=-(Math.sqrt(r*r/2)+i)+1/window.devicePixelRatio;return{root:["ms-Tooltip",s.fonts.medium,zm.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"}(Dx||(Dx={}));var Lx=pb(),Ox=function(t){function n(e){var r=t.call(this,e)||this;return r._tooltipHost=rl.createRef(),r._defaultTooltipId=ey("tooltip"),r.show=function(){r._toggleTooltip(!0)},r.dismiss=function(){r._hideTooltip()},r._getTargetElement=function(){if(r._tooltipHost.current){var e=r.props.overflowMode;if(void 0!==e)switch(e){case $w.Parent:return r._tooltipHost.current.parentElement;case $w.Self:return r._tooltipHost.current}return r._tooltipHost.current}},r._onTooltipFocus=function(e){r._ignoreNextFocusEvent?r._ignoreNextFocusEvent=!1:r._onTooltipMouseEnter(e)},r._onTooltipBlur=function(e){r._ignoreNextFocusEvent=(null===document||void 0===document?void 0:document.activeElement)===e.target,r._hideTooltip()},r._onTooltipMouseEnter=function(e){var t,o=r.props,i=o.overflowMode,a=o.delay;if(n._currentVisibleTooltip&&n._currentVisibleTooltip!==r&&n._currentVisibleTooltip.dismiss(),n._currentVisibleTooltip=r,void 0!==i){var s=r._getTargetElement();if(s&&(!function(e){return e.clientWidth<e.scrollWidth}(t=s)&&!function(e){return e.clientHeight<e.scrollHeight}(t)))return}if(!e.target||!P_(e.target,r._getTargetElement()))if(r._clearDismissTimer(),r._clearOpenTimer(),a!==Dx.zero){var c=r._getDelayTime(a);r._openTimerId=r._async.setTimeout((function(){r._toggleTooltip(!0)}),c)}else r._toggleTooltip(!0)},r._onTooltipMouseLeave=function(e){var t=r.props.closeDelay;r._clearDismissTimer(),r._clearOpenTimer(),t?r._dismissTimerId=r._async.setTimeout((function(){r._toggleTooltip(!1)}),t):r._toggleTooltip(!1),n._currentVisibleTooltip===r&&(n._currentVisibleTooltip=void 0)},r._onTooltipKeyDown=function(e){(e.which===pf||e.ctrlKey)&&r.state.isTooltipVisible&&(r._hideTooltip(),e.stopPropagation())},r._clearDismissTimer=function(){r._async.clearTimeout(r._dismissTimerId)},r._clearOpenTimer=function(){r._async.clearTimeout(r._openTimerId)},r._hideTooltip=function(){r._clearOpenTimer(),r._clearDismissTimer(),r._toggleTooltip(!1)},r._toggleTooltip=function(e){r.state.isTooltipVisible!==e&&r.setState({isTooltipVisible:e},(function(){return r.props.onTooltipToggle&&r.props.onTooltipToggle(e)}))},r._getDelayTime=function(e){switch(e){case Dx.medium:return 300;case Dx.long:return 500;default:return 0}},v_(r),r.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},r._async=new tE(r),r}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.calloutProps,r=t.children,o=t.content,i=t.directionalHint,a=t.directionalHintForRTL,s=t.hostClassName,c=t.id,l=t.setAriaDescribedBy,u=void 0===l||l,d=t.tooltipProps,p=t.styles,h=t.theme;this._classNames=Lx(p,{theme:h,className:s});var f=this.state.isTooltipVisible,m=c||this._defaultTooltipId,g=(null===d||void 0===d?void 0:d.onRenderContent)?d.onRenderContent():o,v=f&&!!g,y=u&&f&&g?m:void 0;return rl.createElement("div",(0,e.__assign)({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipFocus},{onBlurCapture:this._onTooltipBlur},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,role:"none","aria-describedby":y}),r,v&&rl.createElement(Nx,(0,e.__assign)({id:m+"--tooltip",content:o,targetElement:this._getTargetElement(),directionalHint:i,directionalHintForRTL:a,calloutProps:uy({},n,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},Nv(this.props,Mv,["id"]),d)),rl.createElement("div",{hidden:!0,id:m,style:ng},g))},n.prototype.componentWillUnmount=function(){n._currentVisibleTooltip&&n._currentVisibleTooltip===this&&(n._currentVisibleTooltip=void 0),this._async.dispose()},n.defaultProps={delay:Dx.medium},n}(rl.Component),Fx={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},Bx=ib(Ox,(function(e){var t=e.className,n=e.theme;return{root:[og(Fx,n).root,{display:"inline"},t]}}),void 0,{scope:"TooltipHost"}),Hx=function(e){return{backgroundColor:e.palette.neutralHigh,styles:{beakCurtain:{backgroundColor:e.palette.neutralHigh}}}},zx=function(e){var t=e.children,n=e.tooltipText,r=e.tooltipPosition;qv("TooltipHost");var o=rb();return ol().createElement(Bx,{directionalHint:sC[r||"top-center"],content:n,calloutProps:Hx(o)},t)},Ux=function(e,t){return window.getComputedStyle(e).getPropertyValue(t)},Vx=function(e){var t=e;return t.includes("px")&&(t=t.replace("px","")),+t},jx=function(e){return Vx(Ux(e,"font-size"))},qx=function(e){var t=Ux(e,"line-height");return"normal"===t?1.4*jx(e):Vx(t)},Wx=function(e,t){return Math.round(e*t)},Gx=function(t){var n,r=t.type,o=t.lines,i=void 0===o?1:o,a=t.stopPropagation,s=void 0===a||a,c=t.onTruncatedFocusable,l=void 0===c||c,u=t.onTruncated,d=t.lineHeight,p=(0,e.__rest)(t,["type","lines","stopPropagation","onTruncatedFocusable","onTruncated","lineHeight"]);qv("TruncatedText",p.id);var h=(0,rl.useRef)(null),f=(0,rl.useState)(void 0),m=f[0],g=f[1],v=(0,rl.useState)(!1),y=v[0],b=v[1],_=function(){if(h.current){var e=function(e,t){var n=qx(e),r=Wx(n,t);return e.scrollHeight>r}(h.current,i);b(e),e&&(null===u||void 0===u||u())}},C=function(){var e;(null===(e=h.current)||void 0===e?void 0:e.firstElementChild)&&g(jx(h.current.firstElementChild))};(0,rl.useLayoutEffect)((function(){return window.addEventListener("resize",C),window.addEventListener("resize",_),function(){window.removeEventListener("resize",_),window.removeEventListener("resize",C)}}),[]),(0,rl.useLayoutEffect)((function(){C()}),[h]),(0,rl.useLayoutEffect)((function(){_()}),[m,p.children]);var w=y&&l?{"data-is-focusable":!0,tabIndex:0}:null,E=Yw()&&h.current?{height:Wx(qx(h.current),i),overflowY:"scroll"}:void 0,x=ol().createElement("span",(0,e.__assign)({ref:h},w,{style:(0,e.__assign)({fontSize:m,overflow:"hidden",boxSizing:"content-box",whiteSpace:"normal",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:i,color:null!==(n=p.colorOverride)&&void 0!==n?n:void 0,lineHeight:null!==d&&void 0!==d?d:void 0},E)}),"heading"===r?ol().createElement(kw,(0,e.__assign)({},p)):ol().createElement(Jw,(0,e.__assign)({},p)));if(y&&!Yw()){var S=ol().createElement(zx,{tooltipText:p.children,tooltipPosition:"bottom-left"},x);return s?ol().createElement(Xw,null,S):S}return x},Kx=function(t){var n,r=t.children,o=t.disabled,i=t.truncatedLinkProps,a=t.textVariant,s=void 0===a?"bodyThemeText":a,c=t.underline,l=(0,e.__rest)(t,["children","disabled","truncatedLinkProps","textVariant","underline"]);qv("Hyperlink",l.id);var u,d,p,h=Tp(),f=rb(),m="download"in l?l.download:void 0,g="href"in l?l.href:void 0;g||(g="#",o||(p=Qd,u="to"in l?l.to:void 0,d="replace"in l?l.replace:void 0));var v=l.title,y=(0,e.__rest)(l,["title"]);delete y.textVariant,W_("Hyperlink",y);var b=v||y["aria-label"];"string"!==typeof r&&Hb(r,[kw,Gw],"Hyperlink"),"target"in y&&(y.rel="noreferrer noopener");var _=xw(f,s,void 0,o?"disabled":void 0),C={root:(n={fontSize:_.fontSize,fontWeight:_.fontWeight,lineHeight:_.lineHeight,fontFamily:_.fontFamily,selectors:_.selectors,color:_.color,":hover":{color:_.hoverColor}},n[Wm]={color:"linktext",":focus > span":{color:"Highlight",outline:"1px solid Highlight"}},n)};return(0,rl.useEffect)((function(){h.checkUrlAndReportHttp(g)}),[g]),ol().createElement(bw,(0,e.__assign)({href:g,title:b,disabled:o,styles:C},y,{as:p,to:u,replace:d,download:m,underline:c}),i?ol().createElement(Gx,{lines:i.lines,variant:s,stopPropagation:!1},r):r)},Yx=function(t){var n,r=t.children,o=t.disabled,i=t.textVariant,a=void 0===i?"bodyThemeText":i,s=t.truncatedLinkProps,c=t.underline,l=(0,e.__rest)(t,["children","disabled","textVariant","truncatedLinkProps","underline"]);qv("NoHrefLink",l.id),W_("NoHrefLink",l);var u=rb(),d=xw(u,a,void 0,o?"disabled":void 0),p={root:{fontSize:d.fontSize,fontWeight:d.fontWeight,lineHeight:d.lineHeight,fontFamily:d.fontFamily,selectors:d.selectors,color:d.color,":hover":{color:d.hoverColor}}};return o||(p.root.selectors=((n={})[Wm]={color:"linktext"},n["@media screen and (-ms-high-contrast: active)"]={color:"-ms-hotlight"},n)),ol().createElement(bw,(0,e.__assign)({disabled:o,styles:p,underline:c},l),s?ol().createElement(Gx,{lines:s.lines,variant:a,stopPropagation:!1},r):r)},Qx=function(t){var n=t.textWithTokens,r=t.tokensAndValues,o=t.truncatedTextProps,i=(0,e.__rest)(t,["textWithTokens","tokensAndValues","truncatedTextProps"]);qv("RichText",i.id);var a=function(e){return e.split(bl).filter((function(e){return""!==e}))}(n);return o?ol().createElement(Gx,(0,e.__assign)({},i,o),_l(a,r,Xx)):ol().createElement(Jw,(0,e.__assign)({},i),_l(a,r,Xx))},Xx=function(t){var n=[Yx],r=[Kx],o=null===t||void 0===t?void 0:t.type;if(n.includes(o)){var i=t.props;return ol().createElement(Yx,(0,e.__assign)({},i,{underline:!0}))}if(r.includes(o)){i=t.props;return ol().createElement(Kx,(0,e.__assign)({},i,{underline:!0}))}return t},Jx=function(e,t,n,r,o){var i,a,s;"wide"===t?a="480px":"narrow"===t&&(a="200px"),"thick"===o?s="8px":"thin"===o&&(s="4px");var c=xw(e,"metadataText");return{itemProgress:{padding:"0px",borderRadius:"4px"},itemName:{fontSize:c.fontSize,fontWeight:c.fontWeight,lineHeight:c.lineHeight,fontFamily:c.fontFamily,color:c.color,selectors:c.selectors},progressBar:{borderRadius:s,backgroundColor:n},progressTrack:(i={borderRadius:s,backgroundColor:r},i[Wm]={backgroundColor:"windowText"},i),root:{maxWidth:a}}},$x=function(e){return ol().createElement(jw,null,ol().createElement(Qx,{textWithTokens:e.textWithTokens,tokensAndValues:e.tokensAndValues,truncatedTextProps:e.truncatedTextProps}))},Zx=function(e){var t,n,r=e.label,o=e.labelTextVariant,i=void 0===o?"headerText":o,a=e.description,s=e.percentComplete,c=e.ariaValueText,l=e.ariaLabel,u=e.icon,d=e.usage,p=e.barColor,h=void 0===p?"themePrimary":p,f=e.trackColor,m=void 0===f?"neutralLight":f,g=e.barType,v=e.isStackStyle,y=e.size;qv("ProgressIndicator");var b,_=rb();b=g?"thick"===g?8:4:s||0===s?4:2;var C=null!==(t=_.palette[h])&&void 0!==t?t:_.semanticColors[h],w=null!==(n=_.palette[m])&&void 0!==n?n:_.semanticColors[m],E=ol().createElement(Gx,{lines:3,variant:"metadataText"},a);return ol().createElement(BC,{styles:Jx(_,y,C,w,g),label:ol().createElement(jw,{horizontal:!v,horizontalAlign:"space-between",wrap:!0},ol().createElement(jw,{horizontal:!0,childrenGap:5},u&&!v&&ol().createElement(uw,{iconName:u.iconName,size:u.size,color:u.color,disabled:u.disabled}),r?"string"===typeof r?ol().createElement(jw,null,ol().createElement(Gx,{lines:2,variant:i},r)):$x(r):null),d&&$x(d)),description:E,percentComplete:s,ariaValueText:c,barHeight:b,ariaLabel:l})},eS=function(e,t,n){return{root:{minHeight:n,width:"100%",backgroundColor:t?e.palette.neutralMed:e.palette.neutralHigh,textAlign:"left",selectors:{":hover":{backgroundColor:e.palette.neutralLighter},":active":{backgroundColor:e.palette.neutralLight}}}}},tS=function(e){return{root:{width:e?"calc(100% - 48px)":"100%"}}},nS=function(e,t){var n="0px"!==t?"calc(".concat(t," + 8px)"):"8px",r="0px"!==t?"calc(".concat(t," + 16px)"):"16px";return{root:{padding:"start"===e?"0px ".concat(n," 0px 0px"):"0px 0px 0px ".concat(r)}}},rS=function(e){return{root:{padding:"0px"!==e?"0px 0px 0px ".concat(e):void 0}}},oS=function(){return Pf()},iS=function(e){if(oS())switch(e){case"ChevronLeft":return"ChevronRight";case"ChevronRight":return"ChevronLeft";case"ChevronLeftSmall":return"ChevronRightSmall";case"ChevronRightSmall":return"ChevronLeftSmall";case"ChevronRightMed":return"ChevronLeftMed";case"ChevronLeftMed":return"ChevronRightMed";default:return e}return e},aS=function(){return kg()||navigator.language},sS=new RegExp("^(([0-1]?[0-9]|2[0-3])(:[0-5][0-9])(:[0-5][0-9])(:[0-5][0-9])?)$|^24:00:00$|^24:00:00:00$"),cS="01/01/1996",lS=function(e,t){return hS(e).toLocaleDateString(t||aS(),{year:"numeric",month:"long",day:"numeric"})},uS=function(e,t){return fS(e).toLocaleTimeString(t||aS(),{hour:"2-digit",minute:"2-digit"})},dS=function(e,t){return hS(e).toLocaleDateString(t||aS(),{year:"numeric",month:"short",day:"numeric"})},pS=function(e){return function(){return e?"string"===typeof e&&isNaN(Date.parse(e))?"dateTimeFormat: Unsupported timestamp format":void 0:"dateTimeFormat: timestamp not specified"}},hS=function(e){Wb("dateTimeFormat",[pS(e)]);var t=e;return"string"===typeof e&&(t=new Date(e)),t},fS=function(e){if("string"===typeof e){if(sS.test(e))return new Date("".concat(cS," ").concat(e));if("1.00:00:00"===e)return new Date("".concat(cS," ").concat(e.slice(-8)))}return hS(e)},mS=function(e,t,n){return{transform:"start"===n?gS(t):vS(t),transition:"transform 0.1s linear 0s",fontSize:"16px",fontFamily:"AMC Icons",color:e.palette.neutralSecondary}},gS=function(e){var t=oS(),n="rotate(0deg)";return e&&t&&(n="rotate(-90deg)"),e&&!t&&(n="rotate(90deg)"),n},vS=function(e){var t=oS(),n="rotate(0deg)";return e&&t&&(n="rotate(-180deg)"),e&&!t&&(n="rotate(180deg)"),n},yS=function(e){var t=e.chevronPosition,n=void 0===t?"start":t,r=(0,rl.useContext)(VI),o=rb(),i="start"===n?iS("ChevronRightMed"):"ChevronDownMed";return ol().createElement("span",{role:"presentation","data-icon-name":i,className:i,style:mS(o,r.drawerOpen,n)})},bS=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,r,o){var i;if(e._isElement(t)){if("undefined"!==typeof document&&document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(n,o||!1,!0),uy(a,r),i=t.dispatchEvent(a)}else if("undefined"!==typeof document&&document.createEventObject){var s=document.createEventObject(r);t.fireEvent("on"+n,s)}}else for(;t&&!1!==i;){var c=t.__events__,l=c?c[n]:null;if(l)for(var u in l)if(l.hasOwnProperty(u))for(var d=l[u],p=0;!1!==i&&p<d.length;p++){var h=d[p];h.objectCallback&&(i=h.objectCallback.call(h.parent,r))}t=o?t.parent:null}return i},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 r in t)t.hasOwnProperty(r)&&this.on(e,r,t[r],n)},e.prototype.on=function(t,n,r,o){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],r,o);else{var c=this._parent,l={target:t,eventName:n,parent:c,callback:r,options:o};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=r.apply(c,e))&&e[0]){var o=e[0];o.preventDefault&&o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.cancelBubble=!0}}catch(o){}return n}};l.elementCallback=u,t.addEventListener?t.addEventListener(n,u,o):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 r.apply(c,e)}}this._eventRecords.push(l)}},e.prototype.off=function(e,t,n,r){for(var o=0;o<this._eventRecords.length;o++){var i=this._eventRecords[o];if((!e||e===i.target)&&(!t||t===i.eventName)&&(!n||n===i.callback)&&("boolean"!==typeof r||r===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(o--,1)}}},e.prototype.raise=function(t,n,r){return e.raise(this._parent,t,n,r)},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}();var _S,CS,wS,ES;!function(t){function n(e,r){var o=t.call(this,e,r)||this;return function(e,t,n){for(var r=0,o=n.length;r<o;r++)xS(e,t,n[r])}(o,n.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),o}(0,e.__extends)(n,t),n.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},n.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},n.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(n.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:!1,configurable:!0}),Object.defineProperty(n.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"_async",{get:function(){return this.__async||(this.__async=new tE(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"_events",{get:function(){return this.__events||(this.__events=new bS(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),n.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]},n.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))},n.prototype._warnDeprecations=function(e){this.className,this.props},n.prototype._warnMutuallyExclusive=function(e){this.className,this.props},n.prototype._warnConditionallyRequiredProps=function(e,t,n){this.className,this.props},n.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"===typeof e&&e(t),"object"===typeof e&&(e.current=t))}}(rl.Component);function xS(e,t,n){var r=e[n],o=t[n];(r||o)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o&&(e=o.apply(this,t)),r!==o&&(e=r.apply(this,t)),e})}function SS(){return null}function kS(t,n,r){return function(o){var i,a=(i=function(i){function a(e){var t=i.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return(0,e.__extends)(a,i),a.prototype.componentDidMount=function(){pg.observe(this._onSettingChanged)},a.prototype.componentWillUnmount=function(){pg.unobserve(this._onSettingChanged)},a.prototype.render=function(){var i=this;return rl.createElement(av.Consumer,null,(function(a){var s=pg.getSettings(n,t,a.customizations),c=i.props;if(s.styles&&"function"===typeof s.styles&&(s.styles=s.styles((0,e.__assign)((0,e.__assign)({},s),c))),r&&s.styles){if(i._styleCache.default!==s.styles||i._styleCache.component!==c.styles){var l=Zg(s.styles,c.styles);i._styleCache.default=s.styles,i._styleCache.component=c.styles,i._styleCache.merged=l}return rl.createElement(o,(0,e.__assign)({},s,c,{styles:i._styleCache.merged}))}return rl.createElement(o,(0,e.__assign)({},s,c))}))},a.prototype._onSettingChanged=function(){this.forceUpdate()},a}(rl.Component),i.displayName="Customized"+t,i);return function(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(o,a)}}function TS(){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}!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(_S||(_S={})),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"}(CS||(CS={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(wS||(wS={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(ES||(ES={}));var IS=pb(),AS=/\.svg$/i;var PS=rl.forwardRef((function(t,n){var r=rl.useRef(),o=rl.useRef(),i=function(e,t){var n=e.onLoadingStateChange,r=e.onLoad,o=e.onError,i=e.src,a=rl.useState(ES.notLoaded),s=a[0],c=a[1];xx((function(){c(ES.notLoaded)}),[i]),rl.useEffect((function(){s===ES.notLoaded&&t.current&&(i&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&AS.test(i))&&c(ES.loaded)})),rl.useEffect((function(){null===n||void 0===n||n(s)}),[s]);var l=rl.useCallback((function(e){null===r||void 0===r||r(e),i&&c(ES.loaded)}),[i,r]),u=rl.useCallback((function(e){null===o||void 0===o||o(e),c(ES.error)}),[o]);return[s,l,u]}(t,o),a=i[0],s=i[1],c=i[2],l=Nv(t,Rv,["width","height"]),u=t.src,d=t.alt,p=t.width,h=t.height,f=t.shouldFadeIn,m=void 0===f||f,g=t.shouldStartVisible,v=t.className,y=t.imageFit,b=t.role,_=t.maximizeFrame,C=t.styles,w=t.theme,E=t.loading,x=function(e,t,n,r){var o=rl.useRef(t),i=rl.useRef();(void 0===i||o.current===ES.notLoaded&&t===ES.loaded)&&(i.current=function(e,t,n,r){var o=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===ES.loaded&&(o===CS.cover||o===CS.contain||o===CS.centerContain||o===CS.centerCover)&&n.current&&r.current){var s=void 0;if(s="number"===typeof i&&"number"===typeof a&&o!==CS.centerContain&&o!==CS.centerCover?i/a:r.current.clientWidth/r.current.clientHeight,n.current.naturalWidth/n.current.naturalHeight>s)return wS.landscape}return wS.portrait}(e,t,n,r));return o.current=t,i.current}(t,a,o,r),S=IS(C,{theme:w,className:v,width:p,height:h,maximizeFrame:_,shouldFadeIn:m,shouldStartVisible:g,isLoaded:a===ES.loaded||a===ES.notLoaded&&t.shouldStartVisible,isLandscape:x===wS.landscape,isCenter:y===CS.center,isCenterContain:y===CS.centerContain,isCenterCover:y===CS.centerCover,isContain:y===CS.contain,isCover:y===CS.cover,isNone:y===CS.none,isError:a===ES.error,isNotImageFit:void 0===y});return rl.createElement("div",{className:S.root,style:{width:p,height:h},ref:r},rl.createElement("img",(0,e.__assign)({},l,{onLoad:s,onError:c,key:"fabricImage"+t.src||"",className:S.image,ref:Ay(o,n),src:u,alt:d,role:b,loading:E})))}));PS.displayName="ImageBase";var DS={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"},RS=ib(PS,(function(e){var t=e.className,n=e.width,r=e.height,o=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,v=e.theme,y=og(DS,v),b={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},_=kf(),C=void 0!==_&&void 0===_.navigator.msMaxTouchPoints,w=u&&c||d&&!c?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[y.root,v.fonts.medium,{overflow:"hidden"},o&&[y.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&zm.fadeIn400,(l||u||d||p||h)&&{position:"relative"},t],image:[y.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],l&&[y.imageCenter,b],u&&[y.imageContain,C&&{width:"100%",height:"100%",objectFit:"contain"},!C&&w,!C&&b],d&&[y.imageCover,C&&{width:"100%",height:"100%",objectFit:"cover"},!C&&w,!C&&b],p&&[y.imageCenterContain,c&&{maxWidth:"100%"},!c&&{maxHeight:"100%"},b],h&&[y.imageCenterCover,c&&{maxHeight:"100%"},!c&&{maxWidth:"100%"},b],f&&[y.imageNone,{width:"auto",height:"auto"}],g&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],c&&y.imageLandscape,!c&&y.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",m&&"is-error"]}}),void 0,{scope:"Image"},!0);RS.displayName="Image";var MS=tv({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),NS="ms-Icon",LS=of((function(e){var t=function(e){var t=void 0,n=Wg.__options;if(e=e?Kg(e):"",e=Wg.__remapped[e]||e)if(t=Wg[e]){var r=t.subset;r&&r.fontFace&&(r.isRegistered||(xg(r.fontFace),r.isRegistered=!0),r.className||(r.className=Xh(r.style,{fontFamily:r.fontFace.fontFamily,fontWeight:r.fontFace.fontWeight||"normal",fontStyle:r.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&qg('The icon "'+e+'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.');return t}(e)||{subset:{},code:void 0},n=t.code,r=t.subset;return n?{children:n,iconClassName:r.className,fontFamily:r.fontFace&&r.fontFace.fontFamily,mergeImageProps:r.mergeImageProps}:null}),void 0,!0),OS=function(t){var n=t.iconName,r=t.className,o=t.style,i=void 0===o?{}:o,a=LS(n)||{},s=a.iconClassName,c=a.children,l=a.fontFamily,u=a.mergeImageProps,d=Nv(t,pv),p=t["aria-label"]||t.title,h=t["aria-label"]||t["aria-labelledby"]||t.title?{role:u?void 0:"img"}:{"aria-hidden":!0},f=c;return u&&"object"===typeof c&&"object"===typeof c.props&&p&&(f=rl.cloneElement(c,{alt:p})),rl.createElement("i",(0,e.__assign)({"data-icon-name":n},h,d,u?{title:void 0,"aria-label":void 0}:{},{className:Wv(NS,MS.root,s,!n&&MS.placeholder,r),style:(0,e.__assign)({fontFamily:l},i)}),f)},FS=(of((function(e,t,n){return OS({iconName:e,className:t,"aria-label":n})})),pb({cacheSize:100})),BS=function(t){function n(e){var n=t.call(this,e)||this;return n._onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===ES.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.children,r=t.className,o=t.styles,i=t.iconName,a=t.imageErrorAs,s=t.theme,c="string"===typeof i&&0===i.length,l=!!this.props.imageProps||this.props.iconType===_S.image||this.props.iconType===_S.Image,u=LS(i)||{},d=u.iconClassName,p=u.children,h=u.mergeImageProps,f=FS(o,{theme:s,className:r,iconClassName:d,isImage:l,isPlaceholder:c}),m=l?"span":"i",g=Nv(this.props,pv,["aria-label"]),v=this.state.imageLoadError,y=(0,e.__assign)((0,e.__assign)({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),b=v&&a||RS,_=this.props["aria-label"]||this.props.ariaLabel,C=y.alt||_||this.props.title,w=!!(C||this.props["aria-labelledby"]||y["aria-label"]||y["aria-labelledby"])?{role:l||h?void 0:"img","aria-label":l||h?void 0:C}:{"aria-hidden":!0},E=p;return h&&p&&"object"===typeof p&&C&&(E=rl.cloneElement(p,{alt:C})),rl.createElement(m,(0,e.__assign)({"data-icon-name":i},w,g,h?{title:void 0,"aria-label":void 0}:{},{className:f.root}),l?rl.createElement(b,(0,e.__assign)({},y)):n||E)},n}(rl.Component),HS=ib(BS,(function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,o=e.isImage,i=e.styles;return{root:[r&&MS.placeholder,MS.root,o&&MS.image,n,t,i&&i.root,i&&i.imageContainer]}}),void 0,{scope:"Icon"},!0);HS.displayName="Icon";var zS=function(t){var n=t.className,r=t.imageProps,o=Nv(t,pv,["aria-label","aria-labelledby","title","aria-describedby"]),i=r.alt||t["aria-label"],a=i||t["aria-labelledby"]||t.title||r["aria-label"]||r["aria-labelledby"]||r.title,s={"aria-labelledby":t["aria-labelledby"],"aria-describedby":t["aria-describedby"],title:t.title},c=a?{}:{"aria-hidden":!0};return rl.createElement("div",(0,e.__assign)({},c,o,{className:Wv(NS,MS.root,MS.image,n)}),rl.createElement(RS,(0,e.__assign)({},s,r,{alt:a?i:""})))};var US,VS,jS=af((function(e){return af((function(t){var n=af((function(e){return function(n){return t(n,e)}}));return function(r,o){return e(r,o?n(o):t)}}))}));function qS(e,t){return jS(e)(t)}function WS(e){var t;if("undefined"===typeof VS||e){var n=kf(),r=null===(t=null===n||void 0===n?void 0:n.navigator)||void 0===t?void 0:t.userAgent;VS=!!r&&-1!==r.indexOf("Macintosh")}return!!VS}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(US||(US={}));var GS=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)};function KS(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"===typeof e.isChecked?e.isChecked:"boolean"===typeof e.checked?e.checked:null}function YS(e){return!(!e.subMenuProps&&!e.items)}function QS(e){return!(!e.isDisabled&&!e.disabled)}function XS(e){return null!==KS(e)?"menuitemcheckbox":"menuitem"}var JS,$S=function(t){var n=t.item,r=t.classNames,o=n.iconProps;return rl.createElement(HS,(0,e.__assign)({},o,{className:r.icon}))},ZS=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,$S):$S(e):null},ek=function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,o=KS(n);if(t){return rl.createElement(HS,{iconName:!1!==n.canCheck&&o?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null},tk=function(e){var t=e.item,n=e.classNames;return t.text||t.name?rl.createElement("span",{className:n.label},t.text||t.name):null},nk=function(e){var t=e.item,n=e.classNames;return t.secondaryText?rl.createElement("span",{className:n.secondaryText},t.secondaryText):null},rk=function(t){var n=t.item,r=t.classNames,o=t.theme;return YS(n)?rl.createElement(HS,(0,e.__assign)({iconName:Pf(o)?"ChevronLeft":"ChevronRight"},n.submenuIconProps,{className:r.subMenuIcon})):null},ok=function(t){function n(e){var n=t.call(this,e)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,r=e.openSubMenu,o=e.getSubmenuTarget;if(o){var i=o();YS(t)&&r&&i&&r(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,r=e.dismissSubMenu;YS(t)&&r&&r()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},v_(n),n}return(0,e.__extends)(n,t),n.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames,r=t.onRenderContent||this._renderLayout;return rl.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},r(this.props,{renderCheckMarkIcon:ek,renderItemIcon:ZS,renderItemName:tk,renderSecondaryText:nk,renderSubMenuIcon:rk}))},n.prototype._renderLayout=function(e,t){return rl.createElement(rl.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},n}(rl.Component),ik=of((function(e){return tv({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),ak=36,sk=Km(0,639),ck=of((function(t){var n,r,o,i,a,s=t.semanticColors,c=t.fonts,l=t.palette,u=s.menuItemBackgroundHovered,d=s.menuItemTextHovered,p=s.menuItemBackgroundPressed,h=s.bodyDivider;return Zg({item:[c.medium,{color:s.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:h,position:"relative"},root:[Zm(t),c.medium,{color:s.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:ak,lineHeight:ak,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:s.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(n={},n[Wm]={color:"GrayText",opacity:1},n)},rootHovered:{backgroundColor:u,color:d,selectors:{".ms-ContextualMenu-icon":{color:l.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootFocused:{backgroundColor:l.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:l.neutralPrimary}}},rootPressed:{backgroundColor:p,selectors:{".ms-ContextualMenu-icon":{color:l.themeDark},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootExpanded:{backgroundColor:p,color:s.bodyTextChecked,selectors:(r={".ms-ContextualMenu-submenuIcon":(o={},o[Wm]={color:"inherit"},o)},r[Wm]=(0,e.__assign)({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},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",whiteSpace:"nowrap"},secondaryText:{color:t.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:ak,fontSize:Hm.medium,width:Hm.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(i={},i[sk]={fontSize:Hm.large,width:Hm.large},i)},iconColor:{color:s.menuIcon},iconDisabled:{color:s.disabledBodyText},checkmarkIcon:{color:s.bodySubtext},subMenuIcon:{height:ak,lineHeight:ak,color:l.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:Hm.small,selectors:(a={":hover":{color:l.neutralPrimary},":active":{color:l.neutralPrimary}},a[sk]={fontSize:Hm.medium},a)},splitButtonFlexContainer:[Zm(t),{display:"flex",height:ak,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})})),lk="28px",uk=Km(0,639),dk=of((function(e){var t;return tv(ik(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[uk]={right:32},t)},divider:{height:16,width:1}})})),pk={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",screenReaderText:"ms-ContextualMenu-screenReaderText"},hk=of((function(e,t,n,r,o,i,a,s,c,l,u,d){var p,h,f,m,g=ck(e),v=og(pk,e);return tv({item:[v.item,g.item,a],divider:[v.divider,g.divider,s],root:[v.root,g.root,r&&[v.isChecked,g.rootChecked],o&&g.anchorLink,n&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p[".ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover"]=g.rootFocused,p[".ms-Fabric--isFocusVisible &:hover"]={background:"inherit;"},p)}],d],splitPrimary:[g.root,{width:"calc(100% - 28px)"},r&&["is-checked",g.rootChecked],(t||u)&&["is-disabled",g.rootDisabled],!(t||u)&&!r&&[{selectors:(h={":hover":g.rootHovered},h[":hover ~ ."+v.splitMenu]=g.rootHovered,h[":active"]=g.rootPressed,h[".ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover"]=g.rootFocused,h[".ms-Fabric--isFocusVisible &:hover"]={background:"inherit;"},h)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:lk},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(f={":hover":g.rootHovered,":active":g.rootPressed},f[".ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover"]=g.rootFocused,f[".ms-Fabric--isFocusVisible &:hover"]={background:"inherit;"},f)}]],anchorLink:g.anchorLink,linkContent:[v.linkContent,g.linkContent],linkContentMenu:[v.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[v.icon,i&&g.iconColor,g.icon,c,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&g.checkmarkIcon,g.icon,c],subMenuIcon:[v.subMenuIcon,g.subMenuIcon,l,n&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[v.label,g.label],secondaryText:[v.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!r&&[{selectors:(m={},m[".ms-Fabric--isFocusVisible &:focus, .ms-Fabric--isFocusVisible &:focus:hover"]=g.rootFocused,m)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,ng,{visibility:"hidden"}]})})),fk=function(e){var t=e.theme,n=e.disabled,r=e.expanded,o=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 hk(t,n,r,o,i,a,s,c,l,u,d,p)},mk=ib(ok,fk,void 0,{scope:"ContextualMenuItem"}),gk=function(t){function n(e){var n=t.call(this,e)||this;return n._onItemMouseEnter=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(r,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,r=t.item,o=t.onItemClickBase;o&&o(r,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,r=t.item,o=t.onItemMouseLeave;o&&o(r,e)},n._onItemKeyDown=function(e){var t=n.props,r=t.item,o=t.onItemKeyDown;o&&o(r,e)},n._onItemMouseMove=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(r,e,e.currentTarget)},n._getSubmenuTarget=function(){},v_(n),n}return(0,e.__extends)(n,t),n.prototype.shouldComponentUpdate=function(e){return!ly(e,this.props)},n}(rl.Component);function vk(e){var t=(0,rl.useRef)();return(0,rl.useEffect)((function(){t.current=e})),t.current}!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"}(JS||(JS={}));var yk=function(){function t(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return t.getInstance=function(){return this._instance},t.prototype.init=function(e){this.delayUpdatingKeytipChange=e},t.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 r=this._getUniqueKtp(n);if(t?this.persistedKeytips[r.uniqueID]=r:this.keytips[r.uniqueID]=r,this.inKeytipMode||!this.delayUpdatingKeytipChange){var o=t?JS.PERSISTED_KEYTIP_ADDED:JS.KEYTIP_ADDED;bS.raise(this,o,{keytip:n,uniqueID:r.uniqueID})}return r.uniqueID},t.prototype.update=function(e,t){var n=this.addParentOverflow(e),r=this._getUniqueKtp(n,t),o=this.keytips[t];o&&(r.keytip.visible=o.keytip.visible,this.keytips[t]=r,delete this.sequenceMapping[o.keytip.keySequences.toString()],this.sequenceMapping[r.keytip.keySequences.toString()]=r.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||bS.raise(this,JS.KEYTIP_UPDATED,{keytip:r.keytip,uniqueID:r.uniqueID}))},t.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 r=n?JS.PERSISTED_KEYTIP_REMOVED:JS.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||bS.raise(this,r,{keytip:e,uniqueID:t})},t.prototype.enterKeytipMode=function(){bS.raise(this,JS.ENTER_KEYTIP_MODE)},t.prototype.exitKeytipMode=function(){bS.raise(this,JS.EXIT_KEYTIP_MODE)},t.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map((function(t){return e.keytips[t].keytip}))},t.prototype.addParentOverflow=function(t){var n=(0,e.__spreadArray)([],t.keySequences);if(n.pop(),0!==n.length){var r=this.sequenceMapping[n.toString()];if(r&&r.overflowSetSequence)return(0,e.__assign)((0,e.__assign)({},t),{overflowSetSequence:r.overflowSetSequence})}return t},t.prototype.menuExecute=function(e,t){bS.raise(this,JS.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},t.prototype._getUniqueKtp=function(t,n){return void 0===n&&(n=ey()),{keytip:(0,e.__assign)({},t),uniqueID:n}},t._instance=new t,t}();function bk(e){return e.reduce((function(e,t){return e+"-"+t.split("").join("-")}),"ktp")}function _k(t){var n=rl.useRef(),r=t.keytipProps?(0,e.__assign)({disabled:t.disabled},t.keytipProps):void 0,o=Db(yk.getInstance()),i=vk(t);xx((function(){n.current&&r&&((null===i||void 0===i?void 0:i.keytipProps)!==t.keytipProps||(null===i||void 0===i?void 0:i.disabled)!==t.disabled)&&o.update(r,n.current)})),xx((function(){return r&&(n.current=o.register(r)),function(){r&&o.unregister(r,n.current)}}),[]);var a={ariaDescribedBy:void 0,keytipId:void 0};return r&&(a=function(t,n,r){var o=t.addParentOverflow(n),i=TS(r,function(e){var t=" ktp-layer-id";return e.length?t+" "+bk(e):t}(o.keySequences)),a=(0,e.__spreadArray)([],o.keySequences);o.overflowSetSequence&&(a=function(t,n){var r=n.length,o=(0,e.__spreadArray)([],n).pop();return function(e,t,n){var r=e.slice();return r.splice(t,0,n),r}((0,e.__spreadArray)([],t),r-1,o)}(a,o.overflowSetSequence));var s=bk(a);return{ariaDescribedBy:i,keytipId:s}}(o,r,t.ariaDescribedBy)),a}var Ck=function(t){var n,r=t.children,o=_k((0,e.__rest)(t,["children"])),i=o.keytipId,a=o.ariaDescribedBy;return r(((n={})["data-ktp-target"]=i,n["data-ktp-execute-target"]=i,n["aria-describedby"]=a,n))},wk=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._anchor=rl.createRef(),n._getMemoizedMenuButtonKeytipProps=of((function(t){return(0,e.__assign)((0,e.__assign)({},t),{hasMenu:!0})})),n._getSubmenuTarget=function(){return n._anchor.current?n._anchor.current:void 0},n._onItemClick=function(e){var t=n.props,r=t.item,o=t.onItemClick;o&&o(r,e)},n._renderAriaDescription=function(e,t){return e?rl.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this,n=this.props,r=n.item,o=n.classNames,i=n.index,a=n.focusableElementIndex,s=n.totalItemCount,c=n.hasCheckmarks,l=n.hasIcons,u=n.contextualMenuItemAs,d=void 0===u?mk:u,p=n.expandedMenuItemKey,h=n.onItemClick,f=n.openSubMenu,m=n.dismissSubMenu,g=n.dismissMenu,v=r.rel;r.target&&"_blank"===r.target.toLowerCase()&&(v=v||"nofollow noopener noreferrer");var y=YS(r),b=Nv(r,yv),_=QS(r),C=r.itemProps,w=r.ariaDescription,E=r.keytipProps;E&&y&&(E=this._getMemoizedMenuButtonKeytipProps(E)),w&&(this._ariaDescriptionId=ey());var x=TS(r.ariaDescribedBy,w?this._ariaDescriptionId:void 0,b["aria-describedby"]),S={"aria-describedby":x};return rl.createElement("div",null,rl.createElement(Ck,{keytipProps:r.keytipProps,ariaDescribedBy:x,disabled:_},(function(n){return rl.createElement("a",(0,e.__assign)({},S,b,n,{ref:t._anchor,href:r.href,target:r.target,rel:v,className:o.root,role:"menuitem","aria-haspopup":y||void 0,"aria-expanded":y?r.key===p:void 0,"aria-posinset":a+1,"aria-setsize":s,"aria-disabled":QS(r),style:r.style,onClick:t._onItemClick,onMouseEnter:t._onItemMouseEnter,onMouseLeave:t._onItemMouseLeave,onMouseMove:t._onItemMouseMove,onKeyDown:y?t._onItemKeyDown:void 0}),rl.createElement(d,(0,e.__assign)({componentRef:r.componentRef,item:r,classNames:o,index:i,onCheckmarkClick:c&&h?h:void 0,hasIcons:l,openSubMenu:f,dismissSubMenu:m,dismissMenu:g,getSubmenuTarget:t._getSubmenuTarget},C)),t._renderAriaDescription(w,o.screenReaderText))})))},n}(gk),Ek=pb(),xk=rl.forwardRef((function(e,t){var n=e.styles,r=e.theme,o=e.getClassNames,i=e.className,a=Ek(n,{theme:r,getClassNames:o,className:i});return rl.createElement("span",{className:a.wrapper,ref:t},rl.createElement("span",{className:a.divider}))}));xk.displayName="VerticalDividerBase";var Sk=ib(xk,(function(e){var t=e.theme,n=e.getClassNames,r=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var o=n(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},r],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"}),kk=function(t){function n(n){var r=t.call(this,n)||this;return r._getMemoizedMenuButtonKeytipProps=of((function(t){return(0,e.__assign)((0,e.__assign)({},t),{hasMenu:!0})})),r._onItemKeyDown=function(e){var t=r.props,n=t.item,o=t.onItemKeyDown;e.which===uf?(r._executeItemClick(e),e.preventDefault(),e.stopPropagation()):o&&o(n,e)},r._getSubmenuTarget=function(){return r._splitButton},r._renderAriaDescription=function(e,t){return e?rl.createElement("span",{id:r._ariaDescriptionId,className:t},e):null},r._onItemMouseEnterPrimary=function(t){var n=r.props,o=n.item,i=n.onItemMouseEnter;i&&i((0,e.__assign)((0,e.__assign)({},o),{subMenuProps:void 0,items:void 0}),t,r._splitButton)},r._onItemMouseEnterIcon=function(e){var t=r.props,n=t.item,o=t.onItemMouseEnter;o&&o(n,e,r._splitButton)},r._onItemMouseMovePrimary=function(t){var n=r.props,o=n.item,i=n.onItemMouseMove;i&&i((0,e.__assign)((0,e.__assign)({},o),{subMenuProps:void 0,items:void 0}),t,r._splitButton)},r._onItemMouseMoveIcon=function(e){var t=r.props,n=t.item,o=t.onItemMouseMove;o&&o(n,e,r._splitButton)},r._onIconItemClick=function(e){var t=r.props,n=t.item,o=t.onItemClickBase;o&&o(n,e,r._splitButton?r._splitButton:e.currentTarget)},r._executeItemClick=function(e){var t=r.props,n=t.item,o=t.executeItemClick,i=t.onItemClick;if(!n.disabled&&!n.isDisabled)return r._processingTouch&&i?i(n,e):void(o&&o(n,e))},r._onTouchStart=function(e){r._splitButton&&!("onpointerdown"in r._splitButton)&&r._handleTouchAndPointerEvent(e)},r._onPointerDown=function(e){"touch"===e.pointerType&&(r._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},r._async=new tE(r),r._events=new bS(r),r}return(0,e.__extends)(n,t),n.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},n.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},n.prototype.render=function(){var t=this,n=this.props,r=n.item,o=n.classNames,i=n.index,a=n.focusableElementIndex,s=n.totalItemCount,c=n.hasCheckmarks,l=n.hasIcons,u=n.onItemMouseLeave,d=n.expandedMenuItemKey,p=YS(r),h=r.keytipProps;h&&(h=this._getMemoizedMenuButtonKeytipProps(h));var f=r.ariaDescription;return f&&(this._ariaDescriptionId=ey()),rl.createElement(Ck,{keytipProps:h,disabled:QS(r)},(function(n){return rl.createElement("div",{"data-ktp-target":n["data-ktp-target"],ref:function(e){return t._splitButton=e},role:XS(r),"aria-label":r.ariaLabel,className:o.splitContainer,"aria-disabled":QS(r),"aria-expanded":p?r.key===d:void 0,"aria-haspopup":!0,"aria-describedby":TS(r.ariaDescribedBy,f?t._ariaDescriptionId:void 0,n["aria-describedby"]),"aria-checked":r.isChecked||r.checked,"aria-posinset":a+1,"aria-setsize":s,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:u?u.bind(t,(0,e.__assign)((0,e.__assign)({},r),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":r["aria-roledescription"]},t._renderSplitPrimaryButton(r,o,i,c,l),t._renderSplitDivider(r),t._renderSplitIconButton(r,o,i,n),t._renderAriaDescription(f,o.screenReaderText))}))},n.prototype._renderSplitPrimaryButton=function(t,n,r,o,i){var a=this.props,s=a.contextualMenuItemAs,c=void 0===s?mk:s,l=a.onItemClick,u={key:t.key,disabled:QS(t)||t.primaryDisabled,name:t.name,text:t.text||t.name,secondaryText:t.secondaryText,className:n.splitPrimary,canCheck:t.canCheck,isChecked:t.isChecked,checked:t.checked,iconProps:t.iconProps,onRenderIcon:t.onRenderIcon,data:t.data,"data-is-focusable":!1},d=t.itemProps;return rl.createElement("button",(0,e.__assign)({},Nv(u,bv)),rl.createElement(c,(0,e.__assign)({"data-is-focusable":!1,item:u,classNames:n,index:r,onCheckmarkClick:o&&l?l:void 0,hasIcons:i},d)))},n.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||dk;return rl.createElement(Sk,{getClassNames:t})},n.prototype._renderSplitIconButton=function(t,n,r,o){var i=this.props,a=i.contextualMenuItemAs,s=void 0===a?mk:a,c=i.onItemMouseLeave,l=i.onItemMouseDown,u=i.openSubMenu,d=i.dismissSubMenu,p=i.dismissMenu,h={onClick:this._onIconItemClick,disabled:QS(t),className:n.splitMenu,subMenuProps:t.subMenuProps,submenuIconProps:t.submenuIconProps,split:!0,key:t.key},f=(0,e.__assign)((0,e.__assign)({},Nv(h,bv)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:c?c.bind(this,t):void 0,onMouseDown:function(e){return l?l(t,e):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":o["data-ktp-execute-target"],"aria-hidden":!0}),m=t.itemProps;return rl.createElement("button",(0,e.__assign)({},f),rl.createElement(s,(0,e.__assign)({componentRef:t.componentRef,item:h,classNames:n,index:r,hasIcons:!1,openSubMenu:u,dismissSubMenu:d,dismissMenu:p,getSubmenuTarget:this._getSubmenuTarget},m)))},n.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)},n}(gk),Tk=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._btn=rl.createRef(),n._getMemoizedMenuButtonKeytipProps=of((function(t){return(0,e.__assign)((0,e.__assign)({},t),{hasMenu:!0})})),n._renderAriaDescription=function(e,t){return e?rl.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n._getSubmenuTarget=function(){return n._btn.current?n._btn.current:void 0},n}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this,n=this.props,r=n.item,o=n.classNames,i=n.index,a=n.focusableElementIndex,s=n.totalItemCount,c=n.hasCheckmarks,l=n.hasIcons,u=n.contextualMenuItemAs,d=void 0===u?mk:u,p=n.expandedMenuItemKey,h=n.onItemMouseDown,f=n.onItemClick,m=n.openSubMenu,g=n.dismissSubMenu,v=n.dismissMenu,y=KS(r),b=null!==y,_=XS(r),C=YS(r),w=r.itemProps,E=r.ariaLabel,x=r.ariaDescription,S=Nv(r,bv);delete S.disabled;var k=r.role||_;x&&(this._ariaDescriptionId=ey());var T=TS(r.ariaDescribedBy,x?this._ariaDescriptionId:void 0,S["aria-describedby"]),I={className:o.root,onClick:this._onItemClick,onKeyDown:C?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return h?h(r,e):void 0},onMouseMove:this._onItemMouseMove,href:r.href,title:r.title,"aria-label":E,"aria-describedby":T,"aria-haspopup":C||void 0,"aria-expanded":C?r.key===p:void 0,"aria-posinset":a+1,"aria-setsize":s,"aria-disabled":QS(r),"aria-checked":"menuitemcheckbox"!==k&&"menuitemradio"!==k||!b?void 0:!!y,"aria-selected":"menuitem"===k&&b?!!y:void 0,role:k,style:r.style},A=r.keytipProps;return A&&C&&(A=this._getMemoizedMenuButtonKeytipProps(A)),rl.createElement(Ck,{keytipProps:A,ariaDescribedBy:T,disabled:QS(r)},(function(n){return rl.createElement("button",(0,e.__assign)({ref:t._btn},S,I,n),rl.createElement(d,(0,e.__assign)({componentRef:r.componentRef,item:r,classNames:o,index:i,onCheckmarkClick:c&&f?f:void 0,hasIcons:l,openSubMenu:m,dismissSubMenu:g,dismissMenu:v,getSubmenuTarget:t._getSubmenuTarget},w)),t._renderAriaDescription(x,o.screenReaderText))}))},n}(gk);function Ik(e,t){var n=rl.useRef(t);return n.current||(n.current=ey(e)),n.current}var Ak;!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"}(Ak||(Ak={}));var Pk,Dk,Rk=[479,639,1023,1365,1919,99999999];function Mk(){var e;return null!==(e=null!==Pk&&void 0!==Pk?Pk:Dk)&&void 0!==e?e:Ak.large}function Nk(e){try{return e.document.documentElement.clientWidth}catch(Ple){return e.innerWidth}}function Lk(e){var t=Ak.small;if(e){try{for(;Nk(e)>Rk[t];)t++}catch(Ple){t=Mk()}Dk=t}else{if(void 0===Pk)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.");t=Pk}return t}var Ok=function(e,t){var n=rl.useState(Mk()),r=n[0],o=n[1],i=rl.useCallback((function(){var t=Lk(kf(e.current));r!==t&&o(t)}),[e,r]);return UE(Kv(),"resize",i),rl.useEffect((function(){void 0===t&&i()}),[t]),null!==t&&void 0!==t?t:r},Fk=rl.createContext({}),Bk=pb(),Hk=pb(),zk={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:eC,beakWidth:16};function Uk(t,n){var r=null===n||void 0===n?void 0:n.target,o=t.subMenuProps?t.subMenuProps.items:t.items;if(o){for(var i=[],a=0,s=o;a<s.length;a++){var c=s[a];if(c.preferMenuTargetAsEventTarget){var l=c.onClick,u=(0,e.__rest)(c,["onClick"]);i.push((0,e.__assign)((0,e.__assign)({},u),{onClick:Jk(l,r)}))}else i.push(c)}return i}}var Vk="ContextualMenu",jk=of((function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){return ev.apply(void 0,(0,e.__spreadArray)([n,fk],t))}}));function qk(e,t){var n=e.hidden,r=e.items,o=e.theme,i=e.className,a=e.id,s=e.target,c=rl.useState(),l=c[0],u=c[1],d=rl.useState(),p=d[0],h=d[1],f=rl.useState(),m=f[0],g=f[1],v=Ik(Vk,a),y=rl.useCallback((function(){g(void 0),u(void 0),h(void 0)}),[]),b=rl.useCallback((function(e,t,n){var r=e.key;l!==r&&(t.focus(),g(n),u(r),h(t))}),[l]);rl.useEffect((function(){n&&y()}),[n,y]);var _=function(e,t){var n=rl.useRef(!1);return rl.useEffect((function(){return n.current=!0,function(){n.current=!1}}),[]),function(r,o){o?e(r,o):n.current&&t()}}(t,y);return[l,b,function(){var e=Xk(l,r),t=null;if(e&&(t={items:Uk(e,{target:s}),target:p,onDismiss:_,isSubMenu:!0,id:v,shouldFocusOnMount:!0,shouldFocusOnContainer:m,directionalHint:Pf(o)?tC:oC,className:i,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&uy(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var n=e.onItemClick;t.onItemClick=Jk(n,s)}return t},_]}function Wk(e,t,n,r){var o=e.theme,i=e.isSubMenu,a=e.focusZoneProps,s=void 0===a?{}:a,c=s.checkForNoWrap,l=s.direction,u=void 0===l?Bb.vertical:l,d=rl.useRef(),p=function(e,n,r){var o=!1;return n(e)&&(t(e,r),e.preventDefault(),e.stopPropagation(),o=!0),o},h=function(e){return e.which===pf||function(e){var t=Pf(o)?_f:yf;return!(e.which!==t||!i)&&!(u!==Bb.vertical&&(!c||d_(e.target,"data-no-horizontal-wrap")))}(e)||e.which===bf&&(e.altKey||e.metaKey)},f=function(e){d.current=Kk(e);var t=e.which===pf&&(WS()||GS());return p(e,h,t)},m=function(e){var t=d.current&&Kk(e);return d.current=!1,!!t&&!(GS()||WS())};return[f,function(e){return p(e,m,!0)},function(e){if(!f(e)&&n.current){var t=!(!e.altKey&&!e.metaKey),r=e.which===bf,o=e.which===Cf;if(!t&&(r||o)){var i=r?n_(n.current,n.current.lastChild,!0):t_(n.current,n.current.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},function(e,t){var n=Pf(o)?yf:_f;e.disabled||t.which!==n&&t.which!==uf&&(t.which!==Cf||!t.altKey&&!t.metaKey)||(r(e,t.currentTarget),t.preventDefault())}]}var Gk=rl.memo(rl.forwardRef((function(t,n){var r,o=Iy(zk,t),i=(o.ref,(0,e.__rest)(o,["ref"])),a=rl.useRef(null),s=zE(),c=Ik(Vk,i.id),l=function(e,t){var n;return null===(n=i.onDismiss)||void 0===n?void 0:n.call(i,e,t)},u=KE(i.target,a),d=u[0],p=u[1],h=function(t,n){var r=t.hidden,o=t.onRestoreFocus,i=rl.useRef([]),a=rl.useCallback((function(e){var t,n;o?o(e):(null===e||void 0===e?void 0:e.documentContainsFocus)&&(null===(n=null===(t=i.current[0])||void 0===t?void 0:t.focus)||void 0===n||n.call(t))}),[o]);return xx((function(){var t;if(r)i.current.length>0&&(a({originalElement:i.current[0],containsFocus:!0,documentContainsFocus:(null===(t=xf())||void 0===t?void 0:t.hasFocus())||!1}),i.current=[]);else{var o=null===n||void 0===n?void 0:n.document.activeElement,s=i.current.indexOf(o);i.current=s>-1?i.current.slice(s+1):(0,e.__spreadArray)([o],i.current)}}),[r,null===n||void 0===n?void 0:n.document.activeElement,a]),[a]}(i,p)[0],f=qk(i,l),m=f[0],g=f[1],v=f[2],y=f[3],b=function(e){var t=e.delayUpdateFocusOnHover,n=e.hidden,r=rl.useRef(!t),o=rl.useRef(!1);rl.useEffect((function(){r.current=!t,o.current=!n&&!t&&o.current}),[t,n]);var i=rl.useCallback((function(){t&&(r.current=!1)}),[t]);return[r,o,i]}(i),_=b[0],C=b[1],w=b[2],E=function(e){var t=rl.useRef(!0),n=rl.useRef();return[function(){t.current||void 0===n.current?t.current=!1:(e.clearTimeout(n.current),n.current=void 0),n.current=e.setTimeout((function(){t.current=!0}),250)},t]}(s),x=E[0],S=E[1],k=function(e,t){var n=e.subMenuHoverDelay,r=void 0===n?250:n,o=rl.useRef(void 0),i=function(){void 0!==o.current&&(t.clearTimeout(o.current),o.current=void 0)};return[i,function(e){o.current=t.setTimeout((function(){e(),i()}),r)},o]}(i,s),T=k[0],I=k[1],A=k[2],P=Ok(a,i.responsiveMode);!function(e,t){var n=e.hidden,r=void 0!==n&&n,o=e.onMenuDismissed,i=e.onMenuOpened,a=vk(r),s=rl.useRef(i),c=rl.useRef(o),l=rl.useRef(e);s.current=i,c.current=o,l.current=e,rl.useEffect((function(){var e,t;r&&!1===a?null===(e=c.current)||void 0===e||e.call(c,l.current):r||!1===a||null===(t=s.current)||void 0===t||t.call(s,l.current)}),[r,a]),rl.useEffect((function(){return function(){var e;return null===(e=c.current)||void 0===e?void 0:e.call(c,l.current)}}),[])}(i);var D=Wk(i,l,a,g),R=D[0],M=D[1],N=D[2],L=D[3],O=function(e,t,n,r,o,i,a,s,c,l,u,d,p){var h=e.target,f=function(){return!t.current||!i.current},m=function(e,t,n){var r=n||t.currentTarget;e.key!==a&&(l(),void 0===a&&r.focus(),YS(e)?(t.stopPropagation(),c((function(){r.focus(),u(e,r,!0)}))):c((function(){d(t),r.focus()})))},g=function(t,n,r){var o=Uk(t,{target:h});if(l(),YS(t)||o&&o.length){if(t.key!==a){var i="boolean"===typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===n.nativeEvent.pointerType;u(t,r,i)}}else v(t,n);n.stopPropagation(),n.preventDefault()},v=function(t,n){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&$k(n,h);var r=!1;t.onClick?r=!!t.onClick(n,t):e.onItemClick&&(r=!!e.onItemClick(n,t)),!r&&n.defaultPrevented||p(n,!0)}};return[function(e,t,n){o.current&&(i.current=!0),f()||m(e,t,n)},function(e,a,s){var c=a.currentTarget;o.current&&(i.current=!0,t.current&&void 0===n.current&&c!==(null===r||void 0===r?void 0:r.document.activeElement)&&m(e,a,s))},function(e,t){var n;if(!f()&&(l(),void 0===a))if(s.current.setActive)try{s.current.setActive()}catch(Ple){}else null===(n=s.current)||void 0===n||n.focus()},function(e,t){g(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,g]}(i,S,A,p,_,C,m,a,I,T,g,y,l),F=O[0],B=O[1],H=O[2],z=O[3],U=O[4],V=O[5],j=O[6],q=function(e,t,n){var r=0,o=e.items,i=e.totalItemCount,a=e.hasCheckmarks,s=e.hasIcons;return rl.createElement("ul",{className:t.list,onKeyDown:R,onKeyUp:M,role:"presentation"},o.map((function(e,n){var o=W(e,n,r,i,a,s,t);if(e.itemType!==US.Divider&&e.itemType!==US.Header){var c=e.customOnRenderListLength?e.customOnRenderListLength:1;r+=c}return o})))},W=function(e,t,n,r,o,a,s){var c,l,u=[],d=e.iconProps||{iconName:"None"},p=e.getItemClassNames,h=e.itemProps,f=h?h.styles:void 0,g=e.itemType===US.Divider?e.className:void 0,v=e.submenuIconProps?e.submenuIconProps.className:"";if(p)l=p(i.theme,QS(e),m===e.key,!!KS(e),!!e.href,"None"!==d.iconName,e.className,g,d.className,v,e.primaryDisabled);else{var y={theme:i.theme,disabled:QS(e),expanded:m===e.key,checked:!!KS(e),isAnchorLink:!!e.href,knownIcon:"None"!==d.iconName,itemClassName:e.className,dividerClassName:g,iconClassName:d.className,subMenuClassName:v,primaryDisabled:e.primaryDisabled};l=Hk(jk(null===(c=s.subComponentStyles)||void 0===c?void 0:c.menuItem,f),y)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=US.Divider),e.itemType){case US.Divider:u.push(Y(t,l));break;case US.Header:u.push(Y(t,l));var b=X(e,l,s,t,o,a);u.push(K(b,e.key||t,l,e.title));break;case US.Section:u.push(G(e,l,s,t,o,a));break;default:var _=function(){return Q(e,l,t,n,r,o,a)},C=i.onRenderContextualMenuItem?i.onRenderContextualMenuItem(e,_):_();u.push(K(C,e.key||t,l,e.title))}return rl.createElement(rl.Fragment,{key:e.key},u)},G=function(t,n,r,o,i,a){var s=t.sectionProps;if(s){var l,u;if(s.title){var d=void 0,p="";if("string"===typeof s.title){var h=c+s.title.replace(/\s/g,"");d={key:"section-"+s.title+"-title",itemType:US.Header,text:s.title,id:h},p=h}else{var f=s.title.id||c+s.title.key.replace(/\s/g,"");d=(0,e.__assign)((0,e.__assign)({},s.title),{id:f}),p=f}d&&(u={role:"group","aria-labelledby":p},l=X(d,n,r,o,i,a))}return s.items&&s.items.length>0?rl.createElement("li",{role:"presentation",key:s.key||t.key||"section-"+o},rl.createElement("div",(0,e.__assign)({},u),rl.createElement("ul",{className:r.list,role:"presentation"},s.topDivider&&Y(o,n,!0,!0),l&&K(l,t.key||o,n,t.title),s.items.map((function(e,t){return W(e,t,t,s.items.length,i,a,r)})),s.bottomDivider&&Y(o,n,!1,!0)))):void 0}},K=function(e,t,n,r){return rl.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},Y=function(e,t,n,r){return r||e>0?rl.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},Q=function(t,n,r,o,a,s,c){if(t.onRender)return t.onRender((0,e.__assign)({"aria-posinset":o+1,"aria-setsize":a},t),l);var u={item:t,classNames:n,index:r,focusableElementIndex:o,totalItemCount:a,hasCheckmarks:s,hasIcons:c,contextualMenuItemAs:i.contextualMenuItemAs,onItemMouseEnter:F,onItemMouseLeave:H,onItemMouseMove:B,onItemMouseDown:Yk,executeItemClick:V,onItemKeyDown:L,expandedMenuItemKey:m,openSubMenu:g,dismissSubMenu:y,dismissMenu:l};return t.href?rl.createElement(wk,(0,e.__assign)({},u,{onItemClick:U})):t.split&&YS(t)?rl.createElement(kk,(0,e.__assign)({},u,{onItemClick:z,onItemClickBase:j,onTap:T})):rl.createElement(Tk,(0,e.__assign)({},u,{onItemClick:z,onItemClickBase:j}))},X=function(t,n,r,o,a,s){var c=i.contextualMenuItemAs,l=void 0===c?mk:c,u=t.itemProps,d=t.id,p=u&&Nv(u,Mv);return rl.createElement("div",(0,e.__assign)({id:d,className:r.header},p,{style:t.style}),rl.createElement(l,(0,e.__assign)({item:t,classNames:n,index:o,onCheckmarkClick:a?z:void 0,hasIcons:s},u)))},J=i.isBeakVisible,$=i.items,Z=i.labelElementId,ee=i.id,te=i.className,ne=i.beakWidth,re=i.directionalHint,oe=i.directionalHintForRTL,ie=i.alignTargetEdge,ae=i.gapSpace,se=i.coverTarget,ce=i.ariaLabel,le=i.doNotLayer,ue=i.target,de=i.bounds,pe=i.useTargetWidth,he=i.useTargetAsMinWidth,fe=i.directionalHintFixed,me=i.shouldFocusOnMount,ge=i.shouldFocusOnContainer,ve=i.title,ye=i.styles,be=i.theme,_e=i.calloutProps,Ce=i.onRenderSubMenu,we=void 0===Ce?Qk:Ce,Ee=i.onRenderMenuList,xe=void 0===Ee?function(e,t){return q(e,Te)}:Ee,Se=i.focusZoneProps,ke=i.getMenuClassNames,Te=ke?ke(be,te):Bk(ye,{theme:be,className:te}),Ie=function e(t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.iconProps)return!0;if(o.itemType===US.Section&&o.sectionProps&&e(o.sectionProps.items))return!0}return!1}($);var Ae,Pe=(0,e.__assign)((0,e.__assign)({direction:Bb.vertical,handleTabKey:Kb.all,isCircularNavigation:!0},Se),{className:Wv(Te.root,null===(r=i.focusZoneProps)||void 0===r?void 0:r.className)}),De=function(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}($),Re=m&&!0!==i.hidden?v():null;J=void 0===J?P<=Ak.medium:J;var Me=d.current;if((pe||he)&&Me&&Me.offsetWidth){var Ne=Me.getBoundingClientRect().width-2;pe?Ae={width:Ne}:he&&(Ae={minWidth:Ne})}if($&&$.length>0){for(var Le=0,Oe=0,Fe=$;Oe<Fe.length;Oe++){var Be=Fe[Oe];if(Be.itemType!==US.Divider&&Be.itemType!==US.Header){var He=Be.customOnRenderListLength?Be.customOnRenderListLength:1;Le+=He}}var ze=Te.subComponentStyles?Te.subComponentStyles.callout:void 0;return rl.createElement(Fk.Consumer,null,(function(t){return rl.createElement(Px,(0,e.__assign)({styles:ze,onRestoreFocus:h},_e,{target:ue||t.target,isBeakVisible:J,beakWidth:ne,directionalHint:re,directionalHintForRTL:oe,gapSpace:ae,coverTarget:se,doNotLayer:le,className:Wv("ms-ContextualMenu-Callout",_e&&_e.className),setInitialFocus:me,onDismiss:i.onDismiss||t.onDismiss,onScroll:x,bounds:de,directionalHintFixed:fe,alignTargetEdge:ie,hidden:i.hidden||t.hidden,ref:n}),rl.createElement("div",{style:Ae,ref:a,id:ee,className:Te.container,tabIndex:ge?0:-1,onKeyDown:N,onKeyUp:M,onFocusCapture:w,"aria-label":ce,"aria-labelledby":Z,role:"menu"},ve&&rl.createElement("div",{className:Te.title}," ",ve," "),$&&$.length?function(t,n){var r=i.focusZoneAs,o=void 0===r?q_:r;return rl.createElement(o,(0,e.__assign)({},n),t)}(xe({ariaLabel:ce,items:$,totalItemCount:Le,hasCheckmarks:De,hasIcons:Ie,defaultMenuItemRenderer:function(e){return function(e,t){var n=e.index,r=e.focusableElementIndex,o=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return W(e,n,r,o,i,a,t)}(e,Te)},labelElementId:Z},(function(e,t){return q(e,Te)})),Pe):null,Re&&we(Re,Qk)),rl.createElement(by,null))}))}return null})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||ly(e,t)}));function Kk(e){return e.which===df||"Meta"===e.key}function Yk(e,t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,e,t)}function Qk(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function Xk(e,t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.itemType===US.Section&&o.sectionProps){var i=Xk(e,o.sectionProps.items);if(i)return i}else if(o.key&&o.key===e)return o}}function Jk(e,t){return e?function(n,r){return $k(n,t),e(n,r)}:e}function $k(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}Gk.displayName="ContextualMenuBase";var Zk={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function eT(t){return rl.createElement(tT,(0,e.__assign)({},t))}var tT=ib(Gk,(function(e){var t=e.className,n=e.theme,r=og(Zk,n),o=n.fonts,i=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,r.root,r.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[r.container,{selectors:{":focus":{outline:0}}}],list:[r.list,r.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[r.header,o.small,{fontWeight:Bm.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:ak,lineHeight:ak,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[r.title,{fontSize:o.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(e){return{onRenderSubMenu:e.onRenderSubMenu?qS(e.onRenderSubMenu,eT):eT}}),{scope:"ContextualMenu"}),nT=tT;nT.displayName="ContextualMenu";var rT={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"},oT=of((function(e,t,n,r,o,i,a,s,c,l,u){var d,p,h=og(rT,e||{}),f=l&&!u;return tv({root:[h.msButton,t.root,r,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&&[rT.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,o,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]})})),iT=of((function(e,t,n,r,o){return{root:Xh(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],r&&!t&&[e.splitButtonMenuButtonChecked],o&&!t&&[{selectors:{":focus":e.splitButtonMenuFocused}}]),splitButtonContainer:Xh(e.splitButtonContainer,!t&&r&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!r&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Xh(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&o&&e.splitButtonMenuIcon),flexContainer:Xh(e.splitButtonFlexContainer),divider:Xh(e.splitButtonDivider,(o||t)&&e.splitButtonDividerDisabled)}}));var aT=af((function(t){var n=t;return af((function(r){if(t===r)throw new Error("Attempted to compose a component with itself.");var o=r,i=af((function(t){return function(n){return rl.createElement(o,(0,e.__assign)({},n,{defaultRender:t}))}}));return function(t){var r=t.defaultRender;return rl.createElement(n,(0,e.__assign)({},t,{defaultRender:r?i(r):o}))}}))}));function sT(e,t){return aT(e)(t)}var cT=function(t){function n(n){var r=t.call(this,n)||this;return r._buttonElement=rl.createRef(),r._splitButtonContainer=rl.createRef(),r._mergedRef=Jb(),r._renderedVisibleMenu=!1,r._getMemoizedMenuButtonKeytipProps=of((function(t){return(0,e.__assign)((0,e.__assign)({},t),{hasMenu:!0})})),r._onRenderIcon=function(t,n){var o=r.props.iconProps;if(o&&(void 0!==o.iconName||o.imageProps)){var i=o.className,a=o.imageProps,s=(0,e.__rest)(o,["className","imageProps"]);if(o.styles)return rl.createElement(HS,(0,e.__assign)({className:Wv(r._classNames.icon,i),imageProps:a},s));if(o.iconName)return rl.createElement(OS,(0,e.__assign)({className:Wv(r._classNames.icon,i)},s));if(a)return rl.createElement(zS,(0,e.__assign)({className:Wv(r._classNames.icon,i),imageProps:a},s))}return null},r._onRenderTextContents=function(){var e=r.props,t=e.text,n=e.children,o=e.secondaryText,i=void 0===o?r.props.description:o,a=e.onRenderText,s=void 0===a?r._onRenderText:a,c=e.onRenderDescription,l=void 0===c?r._onRenderDescription:c;return t||"string"===typeof n||i?rl.createElement("span",{className:r._classNames.textContainer},s(r.props,r._onRenderText),l(r.props,r._onRenderDescription)):[s(r.props,r._onRenderText),l(r.props,r._onRenderDescription)]},r._onRenderText=function(){var e=r.props.text,t=r.props.children;return void 0===e&&"string"===typeof t&&(e=t),r._hasText()?rl.createElement("span",{key:r._labelId,className:r._classNames.label,id:r._labelId},e):null},r._onRenderChildren=function(){var e=r.props.children;return"string"===typeof e?null:e},r._onRenderDescription=function(e){var t=e.secondaryText,n=void 0===t?r.props.description:t;return n?rl.createElement("span",{key:r._descriptionId,className:r._classNames.description,id:r._descriptionId},n):null},r._onRenderAriaDescription=function(){var e=r.props.ariaDescription;return e?rl.createElement("span",{className:r._classNames.screenReaderText,id:r._ariaDescriptionId},e):null},r._onRenderMenuIcon=function(t){var n=r.props.menuIconProps;return rl.createElement(OS,(0,e.__assign)({iconName:"ChevronDown"},n,{className:r._classNames.menuIcon}))},r._onRenderMenu=function(t){var n=r.props.menuAs?sT(r.props.menuAs,nT):nT;return rl.createElement(n,(0,e.__assign)({},t))},r._onDismissMenu=function(e){var t=r.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||r._dismissMenu()},r._dismissMenu=function(){r._menuShouldFocusOnMount=void 0,r._menuShouldFocusOnContainer=void 0,r.setState({menuHidden:!0})},r._openMenu=function(e,t){void 0===t&&(t=!0),r.props.menuProps&&(r._menuShouldFocusOnContainer=e,r._menuShouldFocusOnMount=t,r._renderedVisibleMenu=!0,r.setState({menuHidden:!1}))},r._onToggleMenu=function(e){var t=!0;r.props.menuProps&&!1===r.props.menuProps.shouldFocusOnMount&&(t=!1),r.state.menuHidden?r._openMenu(e,t):r._dismissMenu()},r._onSplitContainerFocusCapture=function(e){var t=r._splitButtonContainer.current;!t||e.target&&P_(e.target,t)||t.focus()},r._onSplitButtonPrimaryClick=function(e){r.state.menuHidden||r._dismissMenu(),!r._processingTouch&&r.props.onClick?r.props.onClick(e):r._processingTouch&&r._onMenuClick(e)},r._onKeyDown=function(e){!r.props.disabled||e.which!==uf&&e.which!==hf?r.props.disabled||(r.props.menuProps?r._onMenuKeyDown(e):void 0!==r.props.onKeyDown&&r.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},r._onKeyUp=function(e){r.props.disabled||void 0===r.props.onKeyUp||r.props.onKeyUp(e)},r._onKeyPress=function(e){r.props.disabled||void 0===r.props.onKeyPress||r.props.onKeyPress(e)},r._onMouseUp=function(e){r.props.disabled||void 0===r.props.onMouseUp||r.props.onMouseUp(e)},r._onMouseDown=function(e){r.props.disabled||void 0===r.props.onMouseDown||r.props.onMouseDown(e)},r._onClick=function(e){r.props.disabled||(r.props.menuProps?r._onMenuClick(e):void 0!==r.props.onClick&&r.props.onClick(e))},r._onSplitButtonContainerKeyDown=function(e){e.which===uf||e.which===hf?r._buttonElement.current&&(r._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):r._onMenuKeyDown(e)},r._onMenuKeyDown=function(e){if(!r.props.disabled){r.props.onKeyDown&&r.props.onKeyDown(e);var t=e.which===bf,n=e.which===Cf;if(!e.defaultPrevented&&r._isValidMenuOpenKey(e)){var o=r.props.onMenuClick;o&&o(e,r.props),r._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(e.which!==uf&&e.which!==hf||$m(!0,e.target),!e.altKey&&!e.metaKey&&(t||n))if(!r.state.menuHidden&&r.props.menuProps)(void 0!==r._menuShouldFocusOnMount?r._menuShouldFocusOnMount:r.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),r._menuShouldFocusOnMount=!0,r.forceUpdate())}},r._onTouchStart=function(){r._isSplitButton&&r._splitButtonContainer.current&&!("onpointerdown"in r._splitButtonContainer.current)&&r._handleTouchAndPointerEvent()},r._onMenuClick=function(e){var t=r.props,n=t.onMenuClick,o=t.menuProps;n&&n(e,r.props);var i="boolean"===typeof(null===o||void 0===o?void 0:o.shouldFocusOnContainer)?o.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(r._onToggleMenu(i),e.preventDefault(),e.stopPropagation())},v_(r),r._async=new tE(r),r._events=new bS(r),r.props.split,r._labelId=ey(),r._descriptionId=ey(),r._ariaDescriptionId=ey(),r.state={menuHidden:!0},r}return(0,e.__extends)(n,t),Object.defineProperty(n.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),n.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,r=t.ariaLabel,o=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,v=t.theme,y=t.toggle,b=t.getClassNames,_=t.role,C=this.state.menuHidden,w=a||c;this._classNames=b?b(v,i,g,p&&p.className,h&&h.className,w,m,!C,!!this.props.menuProps,this.props.split,!!s):oT(v,f,i,g,p&&p.className,h&&h.className,w,!!this.props.menuProps,m,!C,this.props.split);var E=this,x=E._ariaDescriptionId,S=E._labelId,k=E._descriptionId,T=!w&&!!d,I=T?"a":"button",A=Nv(uy(T?{}:{type:"button"},this.props.rootProps,this.props),T?yv:bv,["disabled"]),P=r||A["aria-label"],D=void 0;n?D=x:u&&this.props.onRenderDescription!==SS?D=k:A["aria-describedby"]&&(D=A["aria-describedby"]);var R=void 0;A["aria-labelledby"]?R=A["aria-labelledby"]:D&&!P&&(R=this._hasText()?S:void 0);var M=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),N="menuitemcheckbox"===_||"checkbox"===_,L=N||!0===y?!!m:void 0,O=uy(A,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:w&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":P,"aria-labelledby":R,"aria-describedby":D,"aria-disabled":w,"data-is-focusable":M})[N?"aria-checked":"aria-pressed"]=L,e));if(o&&(O["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(I,O);if(this.props.menuProps){var F=this.props.menuProps.id,B=void 0===F?this._labelId+"-menu":F;uy(O,{"aria-expanded":!C,"aria-controls":C?null:B,"aria-haspopup":!0})}return this._onRenderContent(I,O)},n.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))},n.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},n.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},n.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?($m(!0),this._splitButtonContainer.current.focus()):this._buttonElement.current&&($m(!0),this._buttonElement.current.focus())},n.prototype.dismissMenu=function(){this._dismissMenu()},n.prototype.openMenu=function(e,t){this._openMenu(e,t)},n.prototype._onRenderContent=function(t,n){var r=this,o=this.props,i=t,a=o.menuIconProps,s=o.menuProps,c=o.onRenderIcon,l=void 0===c?this._onRenderIcon:c,u=o.onRenderAriaDescription,d=void 0===u?this._onRenderAriaDescription:u,p=o.onRenderChildren,h=void 0===p?this._onRenderChildren:p,f=o.onRenderMenu,m=void 0===f?this._onRenderMenu:f,g=o.onRenderMenuIcon,v=void 0===g?this._onRenderMenuIcon:g,y=o.disabled,b=o.keytipProps;b&&s&&(b=this._getMemoizedMenuButtonKeytipProps(b));var _=function(t){return rl.createElement(i,(0,e.__assign)({},n,t),rl.createElement("span",{className:r._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},l(o,r._onRenderIcon),r._onRenderTextContents(),d(o,r._onRenderAriaDescription),h(o,r._onRenderChildren),!r._isSplitButton&&(s||a||r.props.onRenderMenuIcon)&&v(r.props,r._onRenderMenuIcon),s&&!s.doNotLayer&&r._shouldRenderMenu()&&m(r._getMenuProps(s),r._onRenderMenu)))},C=b?rl.createElement(Ck,{keytipProps:this._isSplitButton?void 0:b,ariaDescribedBy:n["aria-describedby"],disabled:y},(function(e){return _(e)})):_();return s&&s.doNotLayer?rl.createElement(rl.Fragment,null,C,this._shouldRenderMenu()&&m(this._getMenuProps(s),this._onRenderMenu)):rl.createElement(rl.Fragment,null,C,rl.createElement(by,null))},n.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,r=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!r)},n.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"===typeof this.props.children)},n.prototype._getMenuProps=function(t){var n=this.props.persistMenu,r=this.state.menuHidden;return t.ariaLabel||t.labelElementId||!this._hasText()||(t=(0,e.__assign)((0,e.__assign)({},t),{labelElementId:this._labelId})),(0,e.__assign)((0,e.__assign)({id:this._labelId+"-menu",directionalHint:J_},t),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:n?r:void 0,className:Wv("ms-BaseButton-menuhost",t.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},n.prototype._onRenderSplitButtonContent=function(t,n){var r=this,o=this.props,i=o.styles,a=void 0===i?{}:i,s=o.disabled,c=o.allowDisabledFocus,l=o.checked,u=o.getSplitButtonClassNames,d=o.primaryDisabled,p=o.menuProps,h=o.toggle,f=o.role,m=o.primaryActionButtonProps,g=this.props.keytipProps,v=this.state.menuHidden,y=u?u(!!s,!v,!!l,!!c):a&&iT(a,!!s,!v,!!l,!!d);uy(n,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),g&&p&&(g=this._getMemoizedMenuButtonKeytipProps(g));var b=Nv(n,[],["disabled"]);m&&uy(n,m);var _=function(o){return rl.createElement("div",(0,e.__assign)({},b,{"data-ktp-target":o?o["data-ktp-target"]:void 0,role:f||"button","aria-disabled":s,"aria-haspopup":!0,"aria-expanded":!v,"aria-pressed":h?!!l:void 0,"aria-describedby":TS(n["aria-describedby"],o?o["aria-describedby"]:void 0),className:y&&y.splitButtonContainer,onKeyDown:r._onSplitButtonContainerKeyDown,onTouchStart:r._onTouchStart,ref:r._splitButtonContainer,"data-is-focusable":!0,onClick:s||d?void 0:r._onSplitButtonPrimaryClick,tabIndex:!s&&!d||c?0:void 0,"aria-roledescription":n["aria-roledescription"],onFocusCapture:r._onSplitContainerFocusCapture}),rl.createElement("span",{style:{display:"flex",width:"100%"}},r._onRenderContent(t,n),r._onRenderSplitButtonMenuButton(y,o),r._onRenderSplitButtonDivider(y)))};return g?rl.createElement(Ck,{keytipProps:g,disabled:s},(function(e){return _(e)})):_()},n.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return rl.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null},n.prototype._onRenderSplitButtonMenuButton=function(t,r){var o=this.props,i=o.allowDisabledFocus,a=o.checked,s=o.disabled,c=o.splitButtonMenuProps,l=o.splitButtonAriaLabel,u=o.primaryDisabled,d=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var h=(0,e.__assign)((0,e.__assign)({},c),{styles:t,checked:a,disabled:s,allowDisabledFocus:i,onClick:this._onMenuClick,menuProps:void 0,iconProps:(0,e.__assign)((0,e.__assign)({},p),{className:this._classNames.menuIcon}),ariaLabel:l,"aria-haspopup":!0,"aria-expanded":!d,"data-is-focusable":!1});return rl.createElement(n,(0,e.__assign)({},h,{"data-ktp-execute-target":r?r["data-ktp-execute-target"]:r,onMouseDown:this._onMouseDown,tabIndex:u&&!i?0:-1}))},n.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},n.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)},n.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===Cf&&(e.altKey||e.metaKey))},n.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},n}(rl.Component),lT={outline:0},uT=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},dT=of((function(e){var t,n,r=e.semanticColors,o=e.effects,i=e.fonts,a=r.buttonBorder,s=r.disabledBackground,c=r.disabledText,l={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[Zm(e,{inset:1,highContrastStyle:l,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+a,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",padding:"0 16px",borderRadius:o.roundedCorner2,selectors:{":active > span":{position:"relative",left:0,top:0}}}],rootDisabled:[Zm(e,{inset:1,highContrastStyle:l,borderColor:"transparent"}),{backgroundColor:s,borderColor:s,color:c,cursor:"default",selectors:{":hover":lT,":focus":lT}}],iconDisabled:{color:c,selectors:(t={},t[Wm]={color:"GrayText"},t)},menuIconDisabled:{color:c,selectors:(n={},n[Wm]={color:"GrayText"},n)},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:uT(i.mediumPlus.fontSize),menuIcon:uT(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:ng}})),pT=of((function(t,n){var r,o,i,a,s,c,l,u,d,p,h,f,m,g=t.effects,v=t.palette,y=t.semanticColors,b={left:-2,top:-2,bottom:-2,right:-2,border:"none"},_={position:"absolute",width:1,right:31,top:8,bottom:8};return Zg({splitButtonContainer:[Zm(t,{highContrastStyle:b,inset:2}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",selectors:(r={},r[Wm]=(0,e.__assign)({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},".ms-Button--primary + .ms-Button":{border:"none",selectors:(o={},o[Wm]={border:"1px solid WindowText",borderLeftWidth:"0"},o)}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(i={},i[Wm]={color:"Window",backgroundColor:"Highlight"},i)},".ms-Button.is-disabled":{color:y.buttonTextDisabled,selectors:(a={},a[Wm]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},a)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(s={},s[Wm]=(0,e.__assign)({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(c={},c[Wm]=(0,e.__assign)({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(l={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:g.roundedCorner2,borderBottomRightRadius:g.roundedCorner2,border:"1px solid "+v.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},l[Wm]={".ms-Button-menuIcon":{color:"WindowText"}},l),splitButtonDivider:(0,e.__assign)((0,e.__assign)({},_),{selectors:(u={},u[Wm]={backgroundColor:"WindowText"},u)}),splitButtonDividerDisabled:(0,e.__assign)((0,e.__assign)({},_),{selectors:(d={},d[Wm]={backgroundColor:"GrayText"},d)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(p={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(h={},h[Wm]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},h)},".ms-Button-menuIcon":{selectors:(f={},f[Wm]={color:"GrayText"},f)}},p[Wm]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},p)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(m={},m[Wm]=(0,e.__assign)({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),m)},splitButtonMenuFocused:(0,e.__assign)({},Zm(t,{highContrastStyle:b,inset:2}))},n)}));var hT=of((function(t,n,r){var o=dT(t),i=pT(t);return Zg(o,{root:{minWidth:"80px",height:"32px"},label:{fontWeight:Bm.semibold}},r?function(t){var n,r,o,i,a,s,c,l,u,d=t.palette,p=t.semanticColors;return{root:{backgroundColor:p.primaryButtonBackground,border:"1px solid "+p.primaryButtonBackground,color:p.primaryButtonText,selectors:(n={},n[Wm]=(0,e.__assign)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n[".ms-Fabric--isFocusVisible &:focus"]={selectors:{":after":{border:"none",outlineColor:d.white}}},n)},rootHovered:{backgroundColor:p.primaryButtonBackgroundHovered,border:"1px solid "+p.primaryButtonBackgroundHovered,color:p.primaryButtonTextHovered,selectors:(r={},r[Wm]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},r)},rootPressed:{backgroundColor:p.primaryButtonBackgroundPressed,border:"1px solid "+p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed,selectors:(o={},o[Wm]=(0,e.__assign)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},rootExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootChecked:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootDisabled:{color:p.primaryButtonTextDisabled,backgroundColor:p.primaryButtonBackgroundDisabled,selectors:(i={},i[Wm]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)},splitButtonContainer:{selectors:(a={},a[Wm]={border:"none"},a)},splitButtonDivider:(0,e.__assign)((0,e.__assign)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:d.white,selectors:(s={},s[Wm]={backgroundColor:"Window"},s)}),splitButtonMenuButton:{backgroundColor:p.primaryButtonBackground,color:p.primaryButtonText,selectors:(c={},c[Wm]={backgroundColor:"WindowText"},c[":hover"]={backgroundColor:p.primaryButtonBackgroundHovered,selectors:(l={},l[Wm]={color:"Highlight"},l)},c)},splitButtonMenuButtonDisabled:{backgroundColor:p.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:p.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:p.primaryButtonText},splitButtonMenuIconDisabled:{color:d.neutralTertiary,selectors:(u={},u[Wm]={color:"GrayText"},u)}}}(t):function(t){var n,r,o,i,a,s=t.semanticColors,c=t.palette,l=s.buttonBackground,u=s.buttonBackgroundPressed,d=s.buttonBackgroundHovered,p=s.buttonBackgroundDisabled,h=s.buttonText,f=s.buttonTextHovered,m=s.buttonTextDisabled,g=s.buttonTextChecked,v=s.buttonTextCheckedHovered;return{root:{backgroundColor:l,color:h},rootHovered:{backgroundColor:d,color:f,selectors:(n={},n[Wm]={borderColor:"Highlight",color:"Highlight"},n)},rootPressed:{backgroundColor:u,color:g},rootExpanded:{backgroundColor:u,color:g},rootChecked:{backgroundColor:u,color:g},rootCheckedHovered:{backgroundColor:u,color:v},rootDisabled:{color:m,backgroundColor:p,selectors:(r={},r[Wm]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r)},splitButtonContainer:{selectors:(o={},o[Wm]={border:"none"},o)},splitButtonMenuButton:{color:c.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:c.neutralLight,selectors:(i={},i[Wm]={color:"Highlight"},i)}}},splitButtonMenuButtonDisabled:{backgroundColor:s.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:s.buttonBackgroundDisabled}}},splitButtonDivider:(0,e.__assign)((0,e.__assign)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:c.neutralTertiaryAlt,selectors:(a={},a[Wm]={backgroundColor:"WindowText"},a)}),splitButtonDividerDisabled:{backgroundColor:t.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:c.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:c.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:c.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:c.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:s.buttonText},splitButtonMenuIconDisabled:{color:s.buttonTextDisabled}}}(t),i,n)})),fT=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.primary,r=void 0!==n&&n,o=t.styles,i=t.theme;return rl.createElement(cT,(0,e.__assign)({},this.props,{variantClassName:r?"ms-Button--primary":"ms-Button--default",styles:hT(i,o,r),onRenderDescription:SS}))},n=(0,e.__decorate)([kS("DefaultButton",["theme","styles"],!0)],n)}(rl.Component),mT=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.render=function(){return rl.createElement(fT,(0,e.__assign)({},this.props,{primary:!0,onRenderDescription:SS}))},n=(0,e.__decorate)([kS("PrimaryButton",["theme","styles"],!0)],n)}(rl.Component),gT=of((function(e,t){var n,r,o;return Zg(dT(e),{root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent",selectors:(n={},n[Wm]={borderColor:"Window"},n)},rootHovered:{color:e.palette.themePrimary,selectors:(r={},r[Wm]={color:"Highlight"},r)},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",selectors:(o={},o[Wm]={color:"GrayText"},o)},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}},t)})),vT=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.styles,r=t.theme;return rl.createElement(cT,(0,e.__assign)({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:gT(r,n),onRenderDescription:SS}))},n=(0,e.__decorate)([kS("ActionButton",["theme","styles"],!0)],n)}(rl.Component),yT=of((function(e,t){var n,r=dT(e),o=pT(e),i=e.palette;return Zg(r,{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[Wm]={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}},o,t)})),bT=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.styles,r=t.theme;return rl.createElement(cT,(0,e.__assign)({},this.props,{variantClassName:"ms-Button--icon",styles:yT(r,n),onRenderText:SS,onRenderDescription:SS}))},n=(0,e.__decorate)([kS("IconButton",["theme","styles"],!0)],n)}(rl.Component),_T=function(e){return{calloutMain:{backgroundColor:e.palette.neutralHigh,maxWidth:"300px",padding:"20px 24px"},beak:{backgroundColor:e.palette.neutralHigh}}},CT={display:"inline-block",verticalAlign:"text-top"},wT=function(t){var n=t.targetOrTriggerButton,r=t.calloutPosition,o=void 0===r?"bottom-center":r,i=t.errorMessage,a=t.errorMessageAriaLabel,s=(0,e.__rest)(t,["targetOrTriggerButton","calloutPosition","errorMessage","errorMessageAriaLabel"]);qv("ErrorCallout",s.id);var c,l,u=rb(),d=(0,rl.useState)(!0),p=d[0],h=d[1],f=(0,rl.useRef)(null);"aria-label"in n?l=n:c=n;var m=c||f;W_("ErrorCallout",s);var g={icon:{color:u.semanticColors.errorIcon},root:{height:"100%"}};return ol().createElement(ol().Fragment,null,l&&ol().createElement("div",null,ol().createElement("div",{ref:f,style:CT},ol().createElement(bT,{onClick:function(){h(!p)},ariaLabel:l["aria-label"],"data-bi-id":l["data-bi-id"],iconProps:{iconName:"Error"},styles:g}))),p&&ol().createElement(Px,(0,e.__assign)({styles:_T(u),role:"alertdialog",target:m,onDismiss:function(){h(!1)},setInitialFocus:!0,directionalHint:sC[o]},s),ol().createElement(jw,{horizontal:!0,verticalAlign:"center",childrenGap:6},!l&&ol().createElement(uw,{iconName:"Error",color:"errorIcon",size:"16px"}),ol().createElement(Gw,{"aria-label":a},i))))},ET=function(e,t,n){return void 0===n&&(n="themePrimary"),t?{rest:"neutralTertiaryAlt",hover:"neutralTertiaryAlt",pressed:"neutralTertiaryAlt"}:"primary"===e?{rest:"white",hover:"white",pressed:"white"}:"error"===e?{rest:"errorIcon",hover:"warningIcon",pressed:"severeWarningIcon"}:"themePrimary"===n?{rest:"themePrimary",hover:"themeDark",pressed:"themeDarker"}:{rest:"neutralPrimary",hover:"neutralPrimary",pressed:"neutralDark"}},xT=function(t){var n=t.errorIconName,r=void 0===n?"Error":n,o=t.errorMessage,i=t.errorMessageAriaLabel,a=t.retryLink,s=(t.children,(0,e.__rest)(t,["errorIconName","errorMessage","errorMessageAriaLabel","retryLink","children"]));return W_("RetryActionButton",s),ol().createElement(jv,{horizontal:!0,tokens:{childrenGap:8},style:{display:"inline-flex"}},ol().createElement(jv,{tokens:{padding:"5px 0 0 0"}},ol().createElement(uw,{iconName:r,color:"errorIcon",size:"12px"})),ol().createElement(jv,{horizontal:!1},ol().createElement(Gw,{"aria-label":i},o),ol().createElement(Yx,(0,e.__assign)({},a))))},ST=function(t){var n,r=t.text,o=t["aria-label"],i=t.disabled,a=void 0!==i&&i,s=t.iconName,c=t.textAlignment,l=void 0===c?"center":c,u=t.operationData,d=t.type,p=(0,e.__rest)(t,["text","aria-label","disabled","iconName","textAlignment","operationData","type"]);qv("ActionButton",p.id),W_("ActionButton",p);var h=Tp(),f="primary"===d?mT:vT,m=function(e,t,n){return void 0===n&&(n="themePrimary"),"error"===e?{rest:"errorIcon",hover:"warningIcon",pressed:"severeWarningIcon"}:ET(e,t,n)}(t.type,a);"default"!==t.type&&t.type||(m=ET(t.type,a,t.buttonColor));var g,v=rb(),y=(0,e.__assign)({text:r,disabled:a,ariaLabel:o,styles:{root:(n={color:sw(v,m.rest),textAlign:l},n[Wm]={":focus::after":{margin:"1px"},color:(g=t.type,"primary"!==g?"highlight":void 0)},n),rootHovered:{color:sw(v,m.hover)},rootPressed:{color:sw(v,m.pressed)}},onRenderIcon:s?function(){return ol().createElement(uw,{size:"16px",iconName:s})}:void 0},p),b=p.href;(0,rl.useEffect)((function(){h.checkUrlAndReportHttp(b)}),[b]);var _=function(){return p.tooltipHostProps?ol().createElement(zx,(0,e.__assign)({},p.tooltipHostProps),ol().createElement(f,(0,e.__assign)({},y))):ol().createElement(f,(0,e.__assign)({},y))};if(u){var C=_();"retryActionButton"in u&&u.retryActionButton?C=ol().createElement(xT,(0,e.__assign)({},u.retryActionButton)):"errorCallout"in u&&u.errorCallout&&(C=ol().createElement(kT,{as:f,buttonProps:y,errorCalloutProps:u.errorCallout}));var w=(0,e.__assign)((0,e.__assign)({},y),{text:u.textWhileUpdating||r,disabled:!0,onRenderIcon:function(){return ol().createElement(Dw,{size:gw.small,style:{marginLeft:"4px",marginRight:"4px"}})}});return ol().createElement(oh,{operationData:u.progressViewOperationData,updatingView:ol().createElement(f,(0,e.__assign)({},w)),updateFailedView:C,finishedView:_(),failedView:void 0})}return _()},kT=function(t){var n=t.as,r=t.buttonProps,o=t.errorCalloutProps,i=(0,rl.useRef)(null);return ol().createElement(ol().Fragment,null,ol().createElement(n,(0,e.__assign)({elementRef:i},r)),ol().createElement(wT,(0,e.__assign)({targetOrTriggerButton:i},o)))},TT=function(t){var n=t.iconName,r=t.menuItems,o=t.iconColor,i=t.isBeakVisible,a=t.backgroundColor,s=t.onMenuOpened,c=t.onMenuDismissed,l=t.menuItemsPadding,u=t.disabled,d=t.hasHighContrastBackground,p=t.menuIconVariant,h=void 0===p?"default":p,f=(0,e.__rest)(t,["iconName","menuItems","iconColor","isBeakVisible","backgroundColor","onMenuOpened","onMenuDismissed","menuItemsPadding","disabled","hasHighContrastBackground","menuIconVariant"]);qv("MenuIconButton",f.id);var m=rb(),g=Tp(),v=g.twoUITelemetryIds.areaBiId,y=function(){return null},b=r.map((function(t,n){if("divider"===t.itemType)return{key:"divider_".concat(n),text:"",itemType:US.Divider};if("header"===t.itemType)return(0,e.__assign)((0,e.__assign)({},t),{style:t.backgroundColor?{backgroundColor:sw(m,t.backgroundColor)}:{},itemType:US.Header});return(0,e.__assign)((0,e.__assign)({},t),{ariaLabel:t["aria-label"],itemType:US.Normal,onRender:u?function(){return ol().createElement(jw,{padding:"8px 8p 4px 8px"},ol().createElement(Jw,{disabled:!0},t.name))}:t.onRender,onClick:function(e){var n={clickId:"".concat(t["data-bi-id"]),pageArea:v};g.reportClick(n),t.onClick&&t.onClick(e)}})})),_={iconProps:{iconName:n},menuProps:{items:b,isBeakVisible:i,styles:{root:{padding:l,backgroundColor:a?sw(m,a):void 0}},directionalHint:Z_,gapSpace:4,onMenuOpened:s,onMenuDismissed:c}},C={icon:{}};return"card"===h&&(C.root=(0,e.__assign)((0,e.__assign)({},C.root),{padding:"22px 10px 22px 10px"})),o&&(C.icon.color=sw(m,o)),d&&(C.rootHovered={backgroundColor:m.palette.neutralLight},C.rootPressed={backgroundColor:m.palette.neutralQuaternaryAlt}),f.tooltipHostProps?ol().createElement(zx,(0,e.__assign)({},f.tooltipHostProps),ol().createElement(bT,(0,e.__assign)({},_,f,{onRenderMenuIcon:y,styles:C}))):ol().createElement(bT,(0,e.__assign)({},_,f,{onRenderMenuIcon:y,styles:C}))};var IT=function(t){var n=t.children,r=t.alignment,o=void 0===r?"flex-start":r,i=(0,e.__rest)(t,["children","alignment"]);qv("FlexibleMenu",i.id);var a=(0,rl.useState)(1),s=a[0],c=a[1],l=function(){c(window.innerWidth)};return(0,rl.useLayoutEffect)((function(){var e=function(e,t){var n;return function(){clearTimeout(n),n=__webpack_require__.g.setTimeout(e,t)}}(l,300);return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[]),ol().createElement(AT,(0,e.__assign)({windowWidth:s,alignment:o},i),n)},AT=function(t){var n=t.menuProps,r=t.height,o=t.children,i=t.windowWidth,a=t.alignment,s=(0,e.__rest)(t,["menuProps","height","children","windowWidth","alignment"]),c=(0,rl.useRef)(null),l=(0,rl.useState)(!1),u=l[0],d=l[1],p=(0,rl.useState)([]),h=p[0],f=p[1],m=(null===n||void 0===n?void 0:n.menuItems)||[],g={display:"flex",flexDirection:"row",justifyContent:a,flexWrap:"wrap",overflow:"hidden",flexShrink:1,alignItems:"center",height:r,whiteSpace:"nowrap"};return(0,rl.useLayoutEffect)((function(){d(!0)}),[i,o,n]),(0,rl.useLayoutEffect)((function(){if(c.current){for(var t=[],n=Array.from(c.current.children),r=ol().Children.toArray(o),i=c.current,a=i.clientHeight+i.offsetTop,s=function(e){var o=n[e];if(o.hasAttribute("hidden")&&o.removeAttribute("hidden"),o.offsetTop>=a){var i=r[e];o.setAttribute("hidden",""),t.push({key:"overflow-".concat(e+1),name:"overflowItem-".concat(e+1),"data-bi-id":i.props["data-bi-id"]||"","aria-label":i.props["aria-label"]||"",onRender:function(){return i}})}},l=0;l<n.length;l++)s(l);if(n.length>0){var u=n[0],p=c.current.clientWidth;if(u.clientWidth>=p){var h=r[0];u.setAttribute("hidden",""),t.unshift({key:"overflow-0",name:"overflowItem-0","data-bi-id":h.props["data-bi-id"]||"","aria-label":h.props["aria-label"]||h.props.ariaLabel||"",onRender:function(){return h}})}}var g=(0,e.__spreadArray)((0,e.__spreadArray)([],t,!0),m,!0);g.length>0?f(g):d(!1)}}),[i,o,n]),ol().createElement(jw,{horizontal:!0,verticalAlign:"center",grow:!0,horizontalAlign:"end",padding:u?"":"0 8px 0 0"},ol().createElement(Xw,{grow:!0},ol().createElement("div",{style:g,ref:c},o)),u&&ol().createElement(TT,(0,e.__assign)({},s,n,{iconName:"MoreVertical",menuItems:h})))},PT=function(t){var n=t.errorMessage,r=t.errorMessageAriaLabel,o=t.retryLink,i=(t.children,(0,e.__rest)(t,["errorMessage","errorMessageAriaLabel","retryLink","children"]));return W_("ErrorButton",i),ol().createElement(jv,{horizontal:!0,tokens:{childrenGap:8},style:{display:"inline-flex"}},ol().createElement(jv,{tokens:{padding:"5px 0 0 0"}},ol().createElement(uw,{iconName:"Error",color:"errorIcon",size:"12px"})),ol().createElement(jv,{horizontal:!0,tokens:{childrenGap:6}},ol().createElement(Nw,{"aria-label":r},n),ol().createElement(Yx,(0,e.__assign)({},o))))},DT=function(t){var n=t.type,r=void 0===n?"default":n,o=t.onClick,i=t.text,a=t["aria-label"],s=t.disabled,c=void 0!==s&&s,l=t.allowDisabledFocus,u=void 0!==l&&l,d=t.operationData,p=(0,e.__rest)(t,["type","onClick","text","aria-label","disabled","allowDisabledFocus","operationData"]);qv("Button",p.id),W_("Button",p);var h=rb(),f="primaryAlt"===r?function(e){var t;return Zg({root:{height:"unset",minHeight:"32px"},textContainer:{padding:"6px 0"},label:{lineHeight:"normal"}},{root:{backgroundColor:e.palette.transparent,borderColor:e.palette.themeDarkAlt,color:e.palette.themeDarkAlt,selectors:(t={},t[".".concat(Qm," &:focus")]={selectors:{":after":{border:"none",outlineColor:e.palette.themeDark}}},t)},rootHovered:{backgroundColor:e.palette.transparent,borderColor:e.palette.themeDark,color:e.palette.themeDark},rootPressed:{backgroundColor:e.palette.transparent,borderColor:e.palette.themeDarker,color:e.palette.themeDarker},rootDisabled:{backgroundColor:e.palette.transparent,borderColor:e.palette.neutralTertiary,color:e.palette.neutralTertiary}})}(h):"error"===r?function(e){var t;return Zg({root:{height:"unset",minHeight:"32px"},textContainer:{padding:"6px 0"},label:{lineHeight:"normal"}},{root:{borderColor:e.palette.redDark,color:e.palette.redDark,selectors:(t={},t[".".concat(Qm," &:focus")]={selectors:{":after":{border:"none",outlineColor:e.palette.themeDark}}},t)}})}(h):{root:{height:"unset",minHeight:"32px"},textContainer:{padding:"6px 0"},label:{lineHeight:"normal"}},m=(0,e.__assign)({onClick:o,text:i,disabled:c,ariaLabel:a,allowDisabledFocus:u,styles:f},p),g="primary"===r||"primaryAlt"===r?mT:fT;if(d){var v=d.errorButton?ol().createElement(PT,(0,e.__assign)({},d.errorButton)):ol().createElement(g,(0,e.__assign)({},m)),y=(0,e.__assign)((0,e.__assign)({},m),{onClick:void 0,text:i,disabled:!0,allowDisabledFocus:!1,onRenderIcon:function(){return ol().createElement(Dw,{size:gw.small,styles:{root:{marginRight:"4px"}}})}});return ol().createElement(oh,{operationData:d.progressViewOperationData,updatingView:ol().createElement(g,(0,e.__assign)({},y)),finishedView:ol().createElement(g,(0,e.__assign)({},m)),failedView:v})}return ol().createElement(g,(0,e.__assign)({},m))},RT=function(t){var n=t.onClick,r=t["aria-label"],o=t.disabled,i=void 0!==o&&o,a=t.iconName,s=t.iconColor,c=void 0===s?"themePrimary":s,l=t.hasHighContrastBackground,u=t.iconButtonVariant,d=void 0===u?"default":u,p=(0,e.__rest)(t,["onClick","aria-label","disabled","iconName","iconColor","hasHighContrastBackground","iconButtonVariant"]);qv("IconButton",p.id),W_("IconButton",p);var h=rb(),f=(0,e.__assign)((0,e.__assign)({},p),{onClick:n,disabled:i,ariaLabel:r,onRenderIcon:function(){return ol().createElement(uw,{size:"16px",color:i?"neutralTertiaryAlt":c,iconName:a})}}),m=sw(h,c),g={icon:{color:m}};"card"===d&&(g.root={padding:"22px"});var v=function(){return p.tooltipHostProps?ol().createElement(zx,(0,e.__assign)({},p.tooltipHostProps),ol().createElement(bT,(0,e.__assign)({},f,{styles:g}))):ol().createElement(bT,(0,e.__assign)({},f,{styles:g}))};if(i&&(g.rootDisabled={backgroundColor:"inherit"}),l&&(g.rootHovered={backgroundColor:h.palette.neutralLight},g.rootPressed={backgroundColor:h.palette.neutralQuaternaryAlt}),p.operationData){var y=p.operationData,b=(0,e.__assign)((0,e.__assign)({},f),{onClick:function(){},disabled:!0,onRenderIcon:function(){return ol().createElement(Dw,{color:m,size:gw.small,style:{marginLeft:"4px",marginRight:"4px"}})}});return ol().createElement(oh,{operationData:y.progressViewOperationData,inertView:ol().createElement(bT,(0,e.__assign)({},f,{styles:g})),updatingView:ol().createElement(vT,(0,e.__assign)({},b)),finishedView:v()})}return v()},MT={display:"inline-block"},NT=function(e){return{calloutMain:{backgroundColor:e.palette.neutralHigh,maxWidth:"300px",padding:"20px 24px"},beak:{backgroundColor:e.palette.neutralHigh}}},LT=function(t){var n=t.calloutPosition,r=t.calloutRole,o=void 0===r?"status":r,i=t.children,a=(0,e.__rest)(t,["calloutPosition","calloutRole","children"]);qv("Callout",a.id),W_("Callout",a);var s,c=(0,rl.useState)(!1),l=c[0],u=c[1],d=(0,rl.useRef)(null),p=rb(),h=function(){u(!l)},f="IconButton"===a.calloutTrigger?a.calloutTriggerProps.iconName:void 0;switch((0,rl.useEffect)((function(){u(!1)}),[f]),a.calloutTrigger){case"NoHrefLink":s=ol().createElement(Yx,(0,e.__assign)({},a.calloutTriggerProps,{onClick:h}));break;case"IconButton":s=ol().createElement(RT,(0,e.__assign)({},a.calloutTriggerProps,{onClick:h}));break;case"Button":s=ol().createElement(DT,(0,e.__assign)({},a.calloutTriggerProps,{onClick:h}))}return ol().createElement(ol().Fragment,null,ol().createElement("div",{style:(0,e.__assign)({},MT),ref:d},s),l&&ol().createElement(Px,(0,e.__assign)({styles:NT(p),role:o,target:d,onDismiss:function(){u(!1)},setInitialFocus:!0,directionalHint:sC[n||"bottom-center"],layerProps:{eventBubblingEnabled:!0}},a),i))},OT=function(e){var t=e.errorMessage,n=e.id;return ol().createElement(jv,{horizontal:!0,horizontalAlign:"start",verticalAlign:"center"},ol().createElement(jv,{verticalAlign:"center",tokens:{padding:"0px 16px 0px 0px"}},ol().createElement(uw,{iconName:"Error",size:"16px",color:"errorIcon"})),ol().createElement(jv,{verticalAlign:"center",styles:{root:{overflow:"hidden"}}},ol().createElement(Jw,{block:!0,nowrap:!0,colorOverride:"error",variant:"bodyPrimaryText",id:n},t)))},FT={root:{maxWidth:"fit-content"}},BT=function(e,t,n){for(var r=0,o=e;r<o.length;r++){var i=o[r];n[t.register(i,!0)]=i}},HT=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];e.unregister(t[o],o,!0),delete t[o]}},zT=function(t){var n=yk.getInstance(),r=t.className,o=t.overflowItems,i=t.keytipSequences,a=t.itemSubMenuProvider,s=t.onRenderOverflowButton,c=Db({}),l=rl.useCallback((function(e){return a?a(e):e.subMenuProps?e.subMenuProps.items:void 0}),[a]),u=rl.useMemo((function(){var t=[],r=[];return i?null===o||void 0===o||o.forEach((function(o){var a,s=o.keytipProps;if(s){var c={content:s.content,keySequences:s.keySequences,disabled:s.disabled||!(!o.disabled&&!o.isDisabled),hasDynamicChildren:s.hasDynamicChildren,hasMenu:s.hasMenu};s.hasDynamicChildren||l(o)?(c.onExecute=n.menuExecute.bind(n,i,null===(a=null===o||void 0===o?void 0:o.keytipProps)||void 0===a?void 0:a.keySequences),c.hasOverflowSubMenu=!0):c.onExecute=s.onExecute,t.push(c);var u=(0,e.__assign)((0,e.__assign)({},o),{keytipProps:(0,e.__assign)((0,e.__assign)({},s),{overflowSetSequence:i})});null===r||void 0===r||r.push(u)}else null===r||void 0===r||r.push(o)})):r=o,{modifiedOverflowItems:r,keytipsToRegister:t}}),[o,l,n,i]),d=u.modifiedOverflowItems;return function(e,t,n){var r=vk(e);rl.useEffect((function(){r&&(HT(n,r),BT(t,n,e))})),rl.useEffect((function(){return BT(t,n,e),function(){HT(n,e)}}),[])}(c,u.keytipsToRegister,n),rl.createElement("div",{className:r},s(d))},UT=pb(),VT=rl.forwardRef((function(t,n){var r=rl.useRef(null),o=Ay(r,n);!function(e,t){rl.useImperativeHandle(e.componentRef,(function(){return{focus:function(e,n){var r=!1;return t.current&&(r=r_(t.current,n)),r},focusElement:function(e){var n=!1;return!!e&&(t.current&&e_(t.current,e)&&(e.focus(),n=document.activeElement===e),n)}}}),[t])}(t,r);var i=t.items,a=t.overflowItems,s=t.className,c=t.styles,l=t.vertical,u=t.role,d=t.overflowSide,p=void 0===d?"end":d,h=t.onRenderItem,f=UT(c,{className:s,vertical:l}),m=!!a&&a.length>0;return rl.createElement("div",(0,e.__assign)({},Nv(t,Mv),{role:u||"group","aria-orientation":"menubar"===u?!0===l?"vertical":"horizontal":void 0,className:f.root,ref:o}),"start"===p&&m&&rl.createElement(zT,(0,e.__assign)({},t,{className:f.overflowButton})),i&&i.map((function(e,t){return rl.createElement("div",{className:f.item,key:e.key,role:"none"},h(e))})),"end"===p&&m&&rl.createElement(zT,(0,e.__assign)({},t,{className:f.overflowButton})))}));VT.displayName="OverflowSet";var jT,qT={flexShrink:0,display:"inherit"},WT=ib(VT,(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",qT],overflowButton:["ms-OverflowSet-overflowButton",qT]}}),void 0,{scope:"OverflowSet"});!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(jT||(jT={}));var GT=function(t){void 0===t&&(t=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)}}}());var n,r=t;function o(e,t){var n=r.getCachedMeasurement(e);if(void 0!==n)return n;var o=t();return r.addMeasurementToCache(e,o),o}function i(e,t,i){for(var a=e,s=o(e,i);s>n;){var c=t(a);if(void 0===c)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(s=r.getCachedMeasurement(c)))return{dataToMeasure:c,resizeDirection:"shrink"};a=c}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(t,a,s,c){if(void 0!==c||void 0!==a.dataToMeasure){if(c){if(n&&a.renderedData&&!a.dataToMeasure)return(0,e.__assign)((0,e.__assign)({},a),function(t,r,o,i){var a;return a=t>n?i?{resizeDirection:"grow",dataToMeasure:i(o)}:{resizeDirection:"shrink",dataToMeasure:r}:{resizeDirection:"shrink",dataToMeasure:o},n=t,(0,e.__assign)((0,e.__assign)({},a),{measureContainer:!1})}(c,t.data,a.renderedData,t.onGrowData));n=c}var l=(0,e.__assign)((0,e.__assign)({},a),{measureContainer:!1});return a.dataToMeasure&&(l="grow"===a.resizeDirection&&t.onGrowData?(0,e.__assign)((0,e.__assign)({},l),function(t,a,s,c){for(var l=t,u=o(t,s);u<n;){var d=a(l);if(void 0===d)return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(u=r.getCachedMeasurement(d)))return{dataToMeasure:d};l=d}return(0,e.__assign)({resizeDirection:"shrink"},i(l,c,s))}(a.dataToMeasure,t.onGrowData,s,t.onReduceData)):(0,e.__assign)((0,e.__assign)({},l),i(a.dataToMeasure,t.onReduceData,s))),l}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==r.getCachedMeasurement(e))},getInitialResizeGroupState:function(t){return{dataToMeasure:(0,e.__assign)({},t),resizeDirection:"grow",measureContainer:!0}}}},KT=rl.createContext({isMeasured:!1}),YT={position:"fixed",visibility:"hidden"},QT={position:"relative"};function XT(t,n){var r;switch(n.type){case"resizeData":return(0,e.__assign)({},n.value);case"dataToMeasure":return(0,e.__assign)((0,e.__assign)({},t),{dataToMeasure:n.value,resizeDirection:"grow",measureContainer:!0});default:return(0,e.__assign)((0,e.__assign)({},t),((r={})[n.type]=n.value,r))}}function JT(t,n){var r=Db(GT),o=rl.useRef(null),i=rl.useRef(null),a=rl.useRef(!1),s=zE(),c=function(t,n,r){var o=Db((function(){return n.getInitialResizeGroupState(t.data)})),i=rl.useReducer(XT,o),a=i[0],s=i[1];rl.useEffect((function(){s({type:"dataToMeasure",value:t.data})}),[t.data]);var c=rl.useRef(o);return c.current=(0,e.__assign)({},a),[c,rl.useCallback((function(e){e&&s({type:"resizeData",value:e})}),[]),rl.useCallback((function(){r.current&&s({type:"measureContainer",value:!0})}),[r])]}(t,r,n),l=c[0],u=c[1],d=c[2];rl.useEffect((function(){var e;l.current.renderedData&&(a.current=!0,null===(e=t.dataDidRender)||void 0===e||e.call(t,l.current.renderedData))})),rl.useEffect((function(){s.requestAnimationFrame((function(){var e=void 0;if(l.current.measureContainer&&n.current){var s=n.current.getBoundingClientRect();e=t.direction===jT.vertical?s.height:s.width}var c=r.getNextState(t,l.current,(function(){var e=a.current?i:o;if(!e.current)return 0;var n=e.current.getBoundingClientRect();return t.direction===jT.vertical?n.height:n.width}),e);u(c)}),n.current)})),UE(Kv(),"resize",s.debounce(d,16,{leading:!0}));var p=r.shouldRenderDataForMeasurement(l.current.dataToMeasure),h=!a.current&&p;return[l.current.dataToMeasure,l.current.renderedData,d,o,i,p,h]}var $T={isMeasured:!0},ZT=rl.forwardRef((function(t,n){var r=rl.useRef(null),o=Ay(r,n),i=JT(t,r),a=i[0],s=i[1],c=i[2],l=i[3],u=i[4],d=i[5],p=i[6];rl.useImperativeHandle(t.componentRef,(function(){return{remeasure:c}}),[c]);var h=t.className,f=t.onRenderData,m=Nv(t,Mv,["data"]);return rl.createElement("div",(0,e.__assign)({},m,{className:h,ref:o}),rl.createElement("div",{style:QT},d&&!p&&rl.createElement("div",{style:YT,ref:u},rl.createElement(KT.Provider,{value:$T},f(a))),rl.createElement("div",{ref:l,style:p?YT:void 0,"data-automation-id":"visibleContent"},p?f(a):s&&f(s))))}));ZT.displayName="ResizeGroupBase";var eI=ZT,tI={"6px":"12px","8px":"14px","10px":"16px","12px":"20px","14px":"24px","16px":"32px","20px":"36px","24px":"40px","28px":"48px","32px":"60px","40px":"72px","48px":"96px","60px":"110px","72px":"132px","96px":"164px","164px":"294px","200px":"368px"},nI=(Object.keys(tI),Object.values(tI),function(e,t,n,r,o){var i={image:{}};if(n&&(i.image.borderRadius=n),e&&(i.image.filter="grayscale(100%)"),t&&(i.image.opacity="0.5"),r&&(i.image[xC]={filter:"invert(100%)"}),o)switch(o){case"toLeft":i.image["-webkit-mask-image"]="linear-gradient(to left, #fff, transparent);";break;case"toBottom":i.image["-webkit-mask-image"]="linear-gradient(to bottom, #fff, transparent);";break;case"toRight":i.image["-webkit-mask-image"]="linear-gradient(to right, #fff, transparent);";break;case"toTop":i.image["-webkit-mask-image"]="linear-gradient(to top, #fff, transparent);"}return i}),rI={none:CS.none,center:CS.center,"center-contain":CS.centerContain,"center-cover":CS.centerCover,contain:CS.contain,cover:CS.cover},oI=function(e,t,n,r){return{root:{height:t,width:n,backgroundColor:r?e.palette.neutralLighter:"transparent"}}},iI=function(t){var n=t.height,r=t.width,o=t.fallbackIconProps,i=(0,e.__rest)(t,["height","width","fallbackIconProps"]),a=rb();if(n&&r){var s=aI(n),c=aI(r),l=Math.min(s,c),u=l>=36,d=void 0;d=l>=100?"48px":l<100&&l>=50?"32px":"16px";var p=o?ol().createElement(uw,(0,e.__assign)({},o,{size:d})):ol().createElement(uw,{iconName:"Photo2Remove",color:"neutralTertiaryAlt",size:d}),h=ol().createElement(jv,{styles:oI(a,s,c,u),horizontalAlign:"center",verticalAlign:"center",role:"altTextImage"===i.imageType?"img":"presentation"},p);return"altTextImage"===i.imageType?ol().createElement(zx,{tooltipText:i.alt,tooltipPosition:"top-center"},h):h}return null},aI=function(e){return"number"===typeof e?e:e.includes("px")?+e.substr(0,e.length-"px".length):0},sI=function(t){var n=t.imageFit,r=t.src,o=t.errorSrc,i=t.borderRadius,a=t.height,s=t.width,c=t.grayscale,l=t.disabled,u=t.enableHighContrastMode,d=t.imageGradientType,p=(0,e.__rest)(t,["imageFit","src","errorSrc","borderRadius","height","width","grayscale","disabled","enableHighContrastMode","imageGradientType"]);qv("Image",p.id),W_("Image",p);var h=Tp(),f=(0,rl.useState)(r),m=f[0],g=f[1],v=(0,rl.useState)(!1),y=v[0],b=v[1];(0,rl.useEffect)((function(){h.checkUrlAndReportHttp(r),g(r)}),[r]);var _=(0,rl.useRef)(!0);(0,rl.useEffect)((function(){_.current?_.current=!1:b(!1)}),[m]);var C={};return"ariaHiddenImage"===p.imageType&&(C={"aria-hidden":!0}),y?ol().createElement(iI,(0,e.__assign)({height:a,width:s},p)):ol().createElement(RS,(0,e.__assign)({onLoadingStateChange:function(e){e!==ES.error&&void 0!==m&&null!==m||(o&&m!==o?g(o):b(!0))},imageFit:n&&rI[n],src:m,styles:nI(c,l,i,u,d),height:a,width:s},C,p))},cI=function(e,t,n){return{root:{width:e,backgroundColor:t,fontSize:e,lineHeight:e,minHeight:e,borderRadius:n||"0px"}}},lI=function(e,t,n){return{root:{width:e,height:e,backgroundColor:t,borderRadius:n||"0px"}}},uI=function(e,t,n){return{position:"absolute",backgroundColor:t.palette[e.backgroundColor],width:"100%",bottom:"0px",height:"topAligned"===e.type?"33%":void 0,borderBottomLeftRadius:n,borderBottomRightRadius:n,paddingBottom:"6px",paddingTop:"6px",paddingLeft:"8px",paddingRight:"8px",opacity:"75%",boxSizing:"border-box"}},dI=function(t){var n=t.size,r=t.image,o=t.height,i=t.padding,a=t.imagePadding,s=t.disabled,c=t.topAlign,l=t.borderRadius,u=t.horizontal,d=void 0===u||u,p=t.linkProps,h=t.children,f=(0,e.__rest)(t,["size","image","height","padding","imagePadding","disabled","topAlign","borderRadius","horizontal","linkProps","children"]);qv("Media",f.id),W_("Media",f);var m,g,v=rb(),y=AC(),b={},_=o||"44px",C=i||"6px 0",w=(0,rl.useContext)(kp).twoUIFlights;switch(n){case"xs":b={height:g="16px",width:g,lineHeight:"14px",fontSize:"10px"},m="12px";break;case"sm":b={height:g="24px",width:g,lineHeight:"22px",fontSize:"15px"},m="16px";break;case"md":b={height:g="32px",width:g,lineHeight:"29px",fontSize:"20px"},m="24px";break;case"lg":m="32px",g="48px",_=null!==o&&void 0!==o?o:"icon"===r.imageType&&r.backplate?tI[m]:g,b={height:g,width:g,lineHeight:"45px",fontSize:"30px"};break;case"xl":C=i||"10px 0",m="48px",g="60px",_=null!==o&&void 0!==o?o:"icon"===r.imageType&&r.backplate?tI[m]:g,b={height:g,width:g,lineHeight:"57px",fontSize:"60px"};break;case"xxl":C=i||"10px 0",m="60px",g="72px",_=null!==o&&void 0!==o?o:"icon"===r.imageType&&r.backplate?tI[m]:g,b={height:g,width:g,lineHeight:"69px",fontSize:"45px"};break;case"xxxl":C=i||"10px 0",m="96px",g="96px",_=null!==o&&void 0!==o?o:"icon"===r.imageType&&r.backplate?tI[m]:g,b={height:g,width:g,lineHeight:"93px",fontSize:"60px"}}if("imageCard"===r.imageType){if(w.includes("lowerMediaImageHeight"))g="220px",b={height:"220px",width:"146.67px"};else switch(n){case"xl":case"xxl":case"xxxl":case"lg":case"md":g="246px",b={height:"246px",width:"164px"};break;case"sm":case"xs":g="186px",b={height:"186px",width:"124px"}}C=i||"0px",_=null!==o&&void 0!==o?o:g}var E=d?"start":"center",x=d?void 0:"center",S={display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",height:"100%",position:"imageCard"===r.imageType&&r.textHost?"relative":void 0},k=ol().createElement(jw,(0,e.__assign)({horizontal:d,childrenGap:"8px",padding:C},f),ol().createElement(qw,{align:E,height:c?void 0:_,shrink:0,padding:a},ol().createElement("div",{style:S},function(){var t;switch(r.imageType){case"image":case"imageCard":return pI((0,e.__assign)((0,e.__assign)({},r),{theme:v,viewportType:y,style:b,imageSize:g,disabled:s,borderRadius:l}));case"imageFavicon":var o=null!==(t=r.iconProps)&&void 0!==t?t:{iconName:"Globe",color:"neutralPrimary"};return pI((0,e.__assign)((0,e.__assign)({},r),{theme:v,viewportType:y,style:b,imageSize:g,disabled:s,borderRadius:l,fallbackIconProps:o}));case"icon":return fI((0,e.__assign)({theme:v,iconSize:m,disabled:s,borderRadius:l},r));case"character":return mI((0,e.__assign)({theme:v,style:b,size:n,disabled:s,borderRadiusStyle:l},r))}}())),h&&ol().createElement(qw,{align:"center",grow:!0,textAlignment:x},h));if(p){p.kind;var T=(0,e.__rest)(p,["kind"]);return ol().createElement(bw,(0,e.__assign)({},T,{styles:{root:{selectors:{":hover":{textDecoration:"none"},":active:focus":{textDecoration:"none"}}}},disabled:s}),k)}return k},pI=function(t){var n,r=t.theme,o=(t.viewportType,t.imageSize),i=t.backplate,a=t.textHost,s=(t.imageType,t.style),c=(0,e.__rest)(t,["theme","viewportType","imageSize","backplate","textHost","imageType","style"]),l=a?ol().createElement(ol().Fragment,null,ol().createElement(sI,(0,e.__assign)({},c,{alt:"",height:s.height,width:s.width})),hI(a,r,c.borderRadius)):ol().createElement(sI,(0,e.__assign)({},c,{alt:"",height:s.height,width:s.width}));if(i){var u=null!==(n=sw(r,!0===i?"themePrimary":i))&&void 0!==n?n:i;return ol().createElement(jv,{verticalAlign:"center",horizontalAlign:"center",styles:lI(lC[o],u,c.borderRadius)},l)}return l},hI=function(t,n,r){return ol().createElement("div",{style:uI(t,n,r)},ol().createElement(Gx,(0,e.__assign)({},t.truncatedTextProps)))},fI=function(t){var n,r=t.theme,o=t.iconSize,i=t.borderRadius,a=(t.imageType,t.iconColor),s=t.backplate,c=(0,e.__rest)(t,["theme","iconSize","borderRadius","imageType","iconColor","backplate"]),l=ol().createElement(uw,(0,e.__assign)({},c,{size:o,color:a}));if(s){var u=sw(r,!0===s?"themePrimary":s);return ol().createElement(jv,{horizontal:!0,styles:cI(tI[o],u,i)},ol().createElement(jv,{verticalAlign:"center",styles:(n=tI[o],{root:{width:n,height:n,position:"absolute",verticalAlign:"center",textAlign:"center"}})},l))}return l},mI=function(t){var n,r=t.theme,o=t.style,i=t.size,a=t.disabled,s=t.borderRadiusStyle,c=t.characterVariant,l=t.backplateColor,u=(0,e.__rest)(t,["theme","style","size","disabled","borderRadiusStyle","characterVariant","backplateColor"]);Wb("Media",[(n=u.character,function(){return 1!==n.length?"Prop 'character' must be one character":void 0})]);var d,p,h=r.palette,f=null!==s&&void 0!==s?s:["xs","sm","md"].includes(i)?"2px":"4px";l?(d=sw(r,l),p=c&&"neutralDark"===c?r.palette.neutralDark:r.palette.neutralHigh):(d=a?h.neutralLighter:h.neutralSecondary,p=r.palette.neutralHigh);var m=(0,e.__assign)({background:d,color:p,borderRadius:f},o);return ol().createElement("div",{style:m},u.character)},gI=function(e){return e.map((function(e){return e.key})).toString()},vI=function(t){var n=t.mediaImageList,r=t.overflowLabel,o=t.mediaLabel,i=t.hideHeaderMedia,a=t.id,s="",c=n&&n.map((function(e,t){return s+="item".concat(t),{key:t.toString(),mediaImage:e}})),l=oS()?"translateX(100%)":"translateX(-100%)",u={transition:"transform 0.5s ease-out",transformOrigin:"left",transform:i?l:"translateX(0%)"},d=function(e){return ol().createElement(jw,{margin:"0px 8px 0px 0px"},ol().createElement(dI,{size:"md",borderRadius:"4px",image:{imageType:"image",src:e.mediaImage},height:"32px",padding:"0px"}))},p=function(e){return ol().createElement(jw,{verticalAlign:"center"},ol().createElement(Jw,{variant:"bodySecondaryText"},"+".concat(null===e||void 0===e?void 0:e.length," ").concat(r)))},h={primary:c,overflow:[],cacheKey:s};return ol().createElement(jw,{grow:!0},ol().createElement(jw,{width:"inherit",maxWidth:"664px"},ol().createElement(eI,{onRenderData:function(e){return ol().createElement(jw,{childrenGap:"17px",verticalAlign:"center",horizontal:!0},ol().createElement(Jw,{id:a},o),ol().createElement(jw,{overflow:"hidden"},ol().createElement(jv,{style:u},ol().createElement(WT,{items:e.primary,onRenderItem:d,overflowItems:e.overflow,onRenderOverflowButton:p}))))},data:h,onReduceData:function(t){if(0!==t.primary.length){var n=(0,e.__spreadArray)((0,e.__spreadArray)([],t.primary.slice(-1),!0),t.overflow,!0),r=t.primary.slice(0,-1);return{primary:r,overflow:n,cacheKey:gI(r)}}},onGrowData:function(t){if(0!==t.overflow.length){var n=(0,e.__spreadArray)([],t.overflow.slice(1),!0),r=(0,e.__spreadArray)((0,e.__spreadArray)([],t.primary,!0),t.overflow.slice(0,1),!0);return{primary:r,overflow:n,cacheKey:gI(r)}}}})))},yI=function(e){var t=e.iconName,n=e.statusAlignment,r=void 0===n?"start":n,o=e.textWeightOverride,i=e.textVariant,a=e.children;return ol().createElement(jv,{horizontal:!0,horizontalAlign:r,verticalAlign:"center"},t&&ol().createElement(jv,{verticalAlign:"center",styles:{root:{paddingRight:"8px"}}},ol().createElement(uw,{iconName:t,size:"16px"})),ol().createElement(jv,{styles:{root:{overflow:"hidden"}}},ol().createElement(Gx,{weightOverride:o,variant:i},a)))},bI=function(e){return"text"!==e.kind||void 0===e.nowrap||e.nowrap?{}:{root:{textAlign:"left"}}},_I=function(t){switch(t.kind){case"text":t.kind;var n=t.nowrap,r=void 0===n||n,o=(0,e.__rest)(t,["kind","nowrap"]);return r?ol().createElement(Gx,(0,e.__assign)({},o)):ol().createElement(Jw,(0,e.__assign)({},o));case"hyperlink":t.kind;var i=(0,e.__rest)(t,["kind"]);return ol().createElement(Xw,{keycodes:[13]},ol().createElement(Kx,(0,e.__assign)({},i)));case"heading":t.kind;var a=t.nowrap,s=(r=void 0===a||a,(0,e.__rest)(t,["kind","nowrap"]));return r?ol().createElement(Gx,(0,e.__assign)({type:"heading"},s)):ol().createElement(kw,(0,e.__assign)({},s))}},CI=function(t){var n=t.nowrap,r=void 0===n||n,o=(0,e.__rest)(t,["nowrap"]);return r?ol().createElement(Gx,(0,e.__assign)({variant:"metadataText"},o)):ol().createElement(Jw,(0,e.__assign)({variant:"metadataText"},o))},wI=function(t){var n=t.media,r=t.title,o=t.subtitleTextProps,i=t.id,a=ol().createElement(jv,{styles:{root:{overflow:"hidden"}},verticalAlign:"center"},ol().createElement(jv,{horizontal:!0,horizontalAlign:"start",styles:bI(r)},ol().createElement(_I,(0,e.__assign)({},r,{id:i}))),ol().createElement(jv,{horizontal:!0,horizontalAlign:"start"},o&&ol().createElement(CI,(0,e.__assign)({},o))));return ol().createElement(jv,{horizontal:!0,verticalAlign:"center"},n?ol().createElement(jv,{verticalAlign:"center"},ol().createElement(dI,(0,e.__assign)({},n),a)):a)},EI=function(e){var t=e.height,n=e.width,r=void 0===n?"100%":n,o=e.shimmerColors;return qv("ShimmerLine"),ol().createElement(Lb,{width:r,shimmerElements:[{type:mb.line,width:"100%",height:t}],shimmerColors:o})},xI=function(t){var n=t.media,r=t.title,o=t.id;return ol().createElement(jv,{horizontal:!0,verticalAlign:"center"},n&&ol().createElement(jv,{styles:{root:{paddingRight:"16px"}},verticalAlign:"center"},ol().createElement(dI,(0,e.__assign)({},n))),ol().createElement(jv,{styles:{root:{overflow:"hidden"}},verticalAlign:"center"},ol().createElement(jv,{horizontal:!0,horizontalAlign:"start",styles:bI(r)},ol().createElement(_I,(0,e.__assign)({},r,{id:o}))),ol().createElement(jv,{horizontal:!0,horizontalAlign:"start"},ol().createElement(EI,{height:8,width:286}))))};function SI(e,t,n){var r=rl.useState(t),o=r[0],i=r[1],a=Db(void 0!==e),s=a?e:o,c=rl.useRef(s),l=rl.useRef(n);rl.useEffect((function(){c.current=s,l.current=n}));var u=Db((function(){return function(e,t){var n="function"===typeof e?e(c.current):e;l.current&&l.current(t,n),a||i(n)}}));return[s,u]}var kI=pb(),TI="Toggle",II=rl.forwardRef((function(t,n){var r=t.as,o=void 0===r?"div":r,i=t.ariaLabel,a=t.checked,s=t.className,c=t.defaultChecked,l=void 0!==c&&c,u=t.disabled,d=t.inlineLabel,p=t.label,h=t.offAriaLabel,f=t.offText,m=t.onAriaLabel,g=t.onChange,v=t.onChanged,y=t.onClick,b=t.onText,_=t.role,C=t.styles,w=t.theme,E=SI(a,l,rl.useCallback((function(e,t){null===g||void 0===g||g(e,t),null===v||void 0===v||v(t)}),[g,v])),x=E[0],S=E[1],k=kI(C,{theme:w,className:s,disabled:u,checked:x,inlineLabel:d,onOffMissing:!b&&!f}),T=x?m:h,I=Ik(TI,t.id),A=I+"-label",P=I+"-stateText",D=x?b:f,R=Nv(t,_v,["defaultChecked"]),M=void 0;i||T||(p&&(M=A),D&&!M&&(M=P));var N=rl.useRef(null);yy(N),AI(t,x,N);var L={root:{className:k.root,hidden:R.hidden},label:{children:p,className:k.label,htmlFor:I,id:A},container:{className:k.container},pill:(0,e.__assign)((0,e.__assign)({},R),{"aria-disabled":u,"aria-checked":x,"aria-label":i||T,"aria-labelledby":M,className:k.pill,"data-is-focusable":!0,"data-ktp-target":!0,disabled:u,id:I,onClick:function(e){u||(S(!x,e),y&&y(e))},ref:N,role:_||"switch",type:"button"}),thumb:{className:k.thumb},stateText:{children:D,className:k.text,htmlFor:I,id:P}};return rl.createElement(o,(0,e.__assign)({ref:n},L.root),p&&rl.createElement(Nw,(0,e.__assign)({},L.label)),rl.createElement("div",(0,e.__assign)({},L.container),rl.createElement("button",(0,e.__assign)({},L.pill),rl.createElement("span",(0,e.__assign)({},L.thumb))),(x&&b||f)&&rl.createElement(Nw,(0,e.__assign)({},L.stateText))))}));II.displayName="ToggleBase";var AI=function(e,t,n){rl.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},focus:function(){n.current&&n.current.focus()}}}),[t,n])},PI=ib(II,(function(t){var n,r,o,i,a,s,c,l=t.theme,u=t.className,d=t.disabled,p=t.checked,h=t.inlineLabel,f=t.onOffMissing,m=l.semanticColors,g=l.palette,v=m.bodyBackground,y=m.inputBackgroundChecked,b=m.inputBackgroundCheckedHovered,_=g.neutralDark,C=m.disabledBodySubtext,w=m.smallInputBorder,E=m.inputForegroundChecked,x=m.disabledBodySubtext,S=m.disabledBackground,k=m.smallInputBorder,T=m.inputBorderHovered,I=m.disabledBodySubtext,A=m.disabledText;return{root:["ms-Toggle",p&&"is-checked",!d&&"is-enabled",d&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},h&&{display:"flex",alignItems:"center"},u],label:["ms-Toggle-label",{display:"inline-block"},d&&{color:A,selectors:(n={},n[Wm]={color:"GrayText"},n)},h&&!f&&{marginRight:16},f&&h&&{order:1,marginLeft:16},h&&{wordBreak:"break-word"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",Zm(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid "+k,background:v,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px",overflow:"visible"},!d&&[!p&&{selectors:{":hover":[{borderColor:T}],":hover .ms-Toggle-thumb":[{backgroundColor:_,selectors:(r={},r[Wm]={borderColor:"Highlight"},r)}]}},p&&[{background:y,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(o={":hover":[{backgroundColor:b,borderColor:"transparent",selectors:(i={},i[Wm]={backgroundColor:"Highlight"},i)}]},o[Wm]=(0,e.__assign)({backgroundColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)}]],d&&[{cursor:"default"},!p&&[{borderColor:I}],p&&[{backgroundColor:C,borderColor:"transparent",justifyContent:"flex-end"}]],!d&&{selectors:{"&:hover":{selectors:(a={},a[Wm]={borderColor:"Highlight"},a)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:w,borderColor:"transparent",borderWidth:6,borderStyle:"solid",boxSizing:"border-box"},!d&&p&&[{backgroundColor:E,selectors:(s={},s[Wm]={backgroundColor:"Window",borderColor:"Window"},s)}],d&&[!p&&[{backgroundColor:x}],p&&[{backgroundColor:S}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:Bm.regular}}},d&&{selectors:{"&&":{color:A,selectors:(c={},c[Wm]={color:"GrayText"},c)}}}]}}),void 0,{scope:"Toggle"}),DI=function(t){var n=t.label,r=t.labelPosition,o=void 0===r?"right":r,i=t.spinnerSize,a=void 0===i?gw.medium:i,s=(0,e.__rest)(t,["label","labelPosition","spinnerSize"]);return qv("Spinner",s.id),W_("Spinner",s),ol().createElement(Dw,(0,e.__assign)({role:"alert",label:n,labelPosition:o,size:a},s))},RI=function(){var e=(0,rl.useState)(!1),t=e[0],n=e[1];return(0,rl.useEffect)((function(){var e=setTimeout((function(){n(!0)}),1e3);return function(){return clearTimeout(e)}}),[]),t?ol().createElement(Dw,null):null},MI=function(t,n){return(0,e.__assign)((0,e.__assign)({},n),{text:(0,e.__assign)((0,e.__assign)({},null===n||void 0===n?void 0:n.text),{wordBreak:"normal"}),pill:[(0,e.__assign)({},null===n||void 0===n?void 0:n.pill),{selectors:{":focus":{outline:"1px solid ".concat(t.palette.neutralPrimary)}}}]})},NI=function(e){var t=e.inlineLabel,n=e.label,r=e.labelState,o=e.htmlFor,i=e.children,a=0,s="";return t&&(a=16,s="4px 0 0 0"),ol().createElement(jw,{horizontal:t,childrenGap:a},n&&ol().createElement(jw,null,ol().createElement(Gw,{labelState:r,htmlFor:o},n)),ol().createElement(jw,{horizontal:!0,padding:s,height:32},i))},LI=(0,rl.forwardRef)((function(t,n){var r=t.inlineLabel,o=t.label,i=t.labelState,a=t.children,s=t.id,c=t.styles,l=(0,e.__rest)(t,["inlineLabel","label","labelState","children","id","styles"]),u=(0,rl.useRef)(s||ey("Toggle")).current,d=rb();return ol().createElement(NI,{inlineLabel:r,label:o,labelState:i,htmlFor:u},ol().createElement("div",{ref:n},ol().createElement(PI,(0,e.__assign)({},l,{id:u,"data-bi-ctrlstate":!!l.checked,styles:MI(d,c)}))),a)})),OI=function(t){var n=(0,rl.useState)(!1),r=n[0],o=n[1],i=(0,e.__assign)((0,e.__assign)({},t),{checked:!t.checked,disabled:!0});(0,rl.useEffect)((function(){var e=setTimeout((function(){o(!0)}),1e3);return function(){return clearTimeout(e)}}),[]);var a=ol().createElement(jw,{verticalAlign:"start",padding:"0 0 8px 8px"},ol().createElement(DI,{"aria-label":t.ariaLabel})),s={};return r&&(s.text={display:"none"},t.onText||t.offText||(s.pill={display:"none"})),ol().createElement(LI,(0,e.__assign)({},i,{styles:s}),r&&a)},FI=function(t){var n,r=t.errorCalloutProps,o=t.toggleProps,i=(0,rl.useRef)(null);return n=o.onText||o.offText?r.targetOrTriggerButton:i,ol().createElement(LI,(0,e.__assign)({},o,{ref:i,styles:{text:{display:"none"}}}),ol().createElement(jw,{verticalAlign:"baseline"},ol().createElement(wT,{calloutPosition:"bottom-center",targetOrTriggerButton:n,errorMessageAriaLabel:r.errorMessageAriaLabel,errorMessage:r.errorMessage})))},BI=function(t){var n=t["aria-label"],r=t.label,o=t.labelPosition,i=void 0===o?null:o,a=t.labelState,s=t.onText,c=t.offText,l=t.onChange,u=t.checked,d=t.disabled,p=void 0!==d&&d,h=t.operationData,f=t.componentRef,m=(0,e.__rest)(t,["aria-label","label","labelPosition","labelState","onText","offText","onChange","checked","disabled","operationData","componentRef"]);qv("Toggle",m.id),W_("Toggle",m);var g=(0,e.__assign)((0,e.__assign)({ariaLabel:n,label:r,labelState:a,onText:s,offText:c,onChange:l,checked:u,disabled:p,componentRef:f},m),function(e){if("inline"===e)return{inlineLabel:!0}}(i));if(h){var v=ol().createElement(LI,(0,e.__assign)({},g));return h.errorCallout&&(v=ol().createElement(FI,{toggleProps:g,errorCalloutProps:h.errorCallout,operationData:h})),ol().createElement(oh,{operationData:h.progressViewOperationData,updatingView:ol().createElement(OI,(0,e.__assign)({},g)),finishedView:ol().createElement(LI,(0,e.__assign)({},g)),updateFailedView:v})}return ol().createElement(LI,(0,e.__assign)({},g))},HI=function(t){var n=t.label,r=t.togglePosition,o=void 0===r?"start":r,i=(0,e.__rest)(t,["label","togglePosition"]),a=AC(),s="s"===a||"m"===a||"l"===a,c=(0,e.__assign)({},i);return s&&(c=(0,e.__assign)((0,e.__assign)({},i),{offText:void 0,onText:void 0})),ol().createElement(Uw,{totalSlots:5,reversed:"end"===o,verticalAlign:"center"},ol().createElement(zw,{slots:2},ol().createElement(jw,{verticalAlign:"center",horizontalAlign:"end",padding:"12px 0 0 0"},ol().createElement(Xw,{keycodes:[13]},ol().createElement(BI,(0,e.__assign)({},c))))),ol().createElement(zw,{slots:3},!s&&ol().createElement(Jw,{variant:"bodySecondaryText",block:!0,nowrap:!0},n)))},zI=[wI,yI,function(t){var n=t.actionAlignment,r=t.actionButton,o=t.menuIconButton,i=(0,e.__rest)(t,["actionAlignment","actionButton","menuIconButton"]),a=(0,e.__assign)({menuProps:o,height:"40px",alignment:n},i);return ol().createElement(Xw,{keycodes:[13]},ol().createElement(IT,(0,e.__assign)({},a),r&&ol().createElement(ST,(0,e.__assign)({},r))))},HI,function(t){var n=t.kind,r=t.showDrawerLinkEllipsis,o=void 0===r||r,i=(0,e.__rest)(t,["kind","showDrawerLinkEllipsis"]),a=ol().createElement(ol().Fragment,null),s=o?{truncatedLinkProps:{}}:void 0;switch(n){case"hyperlink":a=ol().createElement(Kx,(0,e.__assign)({},i.hyperlink,s));break;case"routelink":a=ol().createElement(Kx,(0,e.__assign)({},i.routelink,s));break;case"nohreflink":a=ol().createElement(Yx,(0,e.__assign)({},i.nohreflink,s))}return ol().createElement(Xw,{keycodes:[13]},ol().createElement(jv,{styles:FT},a))},OT,vI,xI,function(t){var n=t.calloutProps;return ol().createElement(jv,{horizontalAlign:"center"},ol().createElement(Xw,null,ol().createElement(LT,(0,e.__assign)({},n),n.children)))}],UI=function(e){var t,n,r=e.totalSlots,o=e.columns,i=e.chevronPosition,a=void 0===i?"start":i,s=e.progressIndicator,c=e.showAltBackgroundColor,l=void 0!==c&&c,u=e.minHeight,d=void 0===u?"48px":u,p=e.indentPadding,h=void 0===p?"0px":p,f=rb(),m=[wI,OT,xI,vI],g=m.map((function(e){return e.name})).join(", "),v=(0,rl.useContext)(VI).drawerHeaderTitleId;t=o&&o.length>=1?o[0].column:void 0,(0,rl.useEffect)((function(){t&&m.includes(t.type)||Gb("DrawerHeader","Invalid first column for Drawer Header. Acceptable types for the DrawerHeader's first column are: ".concat(g),1),o.forEach((function(e){Hb(e.column,zI,"DrawerHeader")}))}),[o]);var y=ol().createElement(jv,{verticalAlign:"center",styles:{root:{padding:"0px 16px"}}},ol().createElement(yS,{chevronPosition:a}));t&&(n=ol().cloneElement(t,{id:v}));var b=o.map((function(e,r){var i="start"===a&&0===r||"end"===a&&r===o.length-1,s="end"===a&&0===r||"start"===a&&r===o.length-1;return ol().createElement(zw,{slots:e.slots,key:r},ol().createElement(jv,{horizontal:!0,styles:s?nS(a,h):0===r?rS(h):void 0},"start"===a&&0===r&&y,ol().createElement(jv,{styles:tS(i)},0===r&&t?n:e.column),"end"===a&&r===o.length-1&&y))})),_=s?ol().createElement(Zx,{ariaValueText:null===s||void 0===s?void 0:s.ariaValueText}):ol().createElement(ol().Fragment,null),C=s?"6px 0px 8px 0px":"8px 0px";return ol().createElement(jv,{verticalAlign:"center",styles:eS(f,l,d)},_,ol().createElement(jv,{horizontal:!0,verticalAlign:"center",tokens:{padding:C}},ol().createElement(jv,{verticalAlign:"center",styles:{root:{width:"100%"}}},ol().createElement(Uw,{verticalAlign:"center",totalSlots:r},b))))},VI=(0,rl.createContext)({drawerOpen:!1,drawerHeaderTitleId:""}),jI=[UI],qI=function(t){var n,r,o,i=t.drawerOpen,a=void 0!==i&&i,s=t.drawerHeader,c=t.drawerContentPadding,l=t.borderRadius,u=void 0===l?"4px":l,d=t.shadow,p=void 0!==d&&d,h=t.onClickToOpen,f=t.onClickToClose,m=t.buttonId,g=t.children,v=t.showDivider,y=void 0!==v&&v,b=t.removeTreeRole,_=void 0!==b&&b,C=(0,e.__rest)(t,["drawerOpen","drawerHeader","drawerContentPadding","borderRadius","shadow","onClickToOpen","onClickToClose","buttonId","children","showDivider","removeTreeRole"]),w=rb();n=s,r=jI,o="Drawer",(0,rl.useEffect)((function(){Hb(n,r,o)}),[n,r,o]);var E=function(e){var t=a?f:h;null===t||void 0===t||t(e)},x="drawer_".concat(vl()),S="drawerHeaderTitle_".concat(vl());return ol().createElement(VI.Provider,{value:{drawerOpen:a,drawerHeaderTitleId:S}},ol().createElement(jv,{role:_?void 0:"tree",styles:RC(w,u,p,y)},ol().createElement(jv,{horizontal:!0},ol().createElement(jv,(0,e.__assign)({tabIndex:0,id:m,"data-is-focusable":!0,onClick:E,onKeyDown:function(e){13!==e.keyCode&&27!==e.keyCode||E(e)},styles:DC(),"aria-selected":a,"aria-expanded":a,role:"treeitem"},C),ol().createElement(G_,{direction:"horizontal"},s))),ol().createElement(jv,{id:x,role:"treeitem","aria-labelledby":S,tokens:{padding:a?c:"0px"}},a?g:void 0)))},WI=function(t){var n=t.accordionDrawers,r=t.drawerIndexOpen,o=t.borderRadius,i=void 0===o?"8px":o,a=t.showBoxShadow,s=void 0===a||a,c=(0,e.__rest)(t,["accordionDrawers","drawerIndexOpen","borderRadius","showBoxShadow"]);qv("Accordion",c.id);var l={root:{borderRadius:i,overflow:"hidden",boxShadow:s?Zp.depth4:Zp.depth0}};return ol().createElement(jv,{role:"tree",styles:l},ol().createElement(jv,{styles:{root:{overflow:"auto"}}},n.map((function(t,o){var i=o!==n.length-1?"0px 0px 1px 0px":"0px";return ol().createElement(jv,{key:o,padding:i,id:c.id,lang:c.lang},ol().createElement(qI,(0,e.__assign)({},t,{borderRadius:"0px",shadow:!1,drawerOpen:o===r,removeTreeRole:!0})))}))))},GI="8px 0 8px 16px",KI=function(t){var n=t.operationalData,r=t.children,o=ol().createElement(ol().Fragment,null,r);return n?ol().createElement(oh,{operationData:n.operationData,updatingView:ol().createElement(DI,(0,e.__assign)({},n.spinnerProps)),finishedView:o,inertView:o}):o},YI=function(t,n){switch(t.contentType){case"hyperlink":return t.hyperlinkElements.map((function(t,r){return ol().createElement(Kx,(0,e.__assign)({},t,{disabled:n,key:r}))}));case"text":return t.textElements.map((function(r,o){return t.truncatedTextProps?ol().createElement(Gx,(0,e.__assign)({lines:t.truncatedTextProps.lines,stopPropagation:t.truncatedTextProps.stopPropagation},r,{disabled:n,key:o})):ol().createElement(Jw,(0,e.__assign)({},r,{disabled:n,key:o}))}));case"callout":return t.calloutElements.map((function(t,n){return ol().createElement(LT,(0,e.__assign)({},t,{key:n}))}));default:return}},QI=function(t){var n=t.actionButtonProps,r=t.menuProps,o=void 0===r?{"aria-label":"Menu Icon Button","data-bi-id":"Menu Icon Button",tooltipHostProps:{tooltipText:""},menuItems:[]}:r,i=(t.collapseActionText,t.disabled),a=(t.menuDisabled,t.operationalData),s=(0,e.__rest)(t,["actionButtonProps","menuProps","collapseActionText","disabled","menuDisabled","operationalData"]),c=Tp(),l=c.twoUITelemetryIds.areaBiId,u=n.map((function(t,n){return ol().createElement(Xw,{key:n},ol().createElement(ST,(0,e.__assign)({},t,{onClick:function(e){var n={clickId:"".concat(t["data-bi-id"]),pageArea:l};c.reportClick(n),"onClick"in t&&t.onClick(e)}})))})),d={menuProps:o,height:"40px",alignment:"flex-end","aria-label":"","data-bi-id":""};return ol().createElement(jw,{horizontal:!0,grow:!0,childrenGap:16},ol().createElement(jw,{verticalAlign:"center"},ol().createElement(KI,{operationalData:a},YI(s,i))),ol().createElement(IT,(0,e.__assign)({},d),u))},XI="0 16px 0 0",JI=function(t){var n=t.menuProps,r=t.disabled,o=t.operationalData,i=(0,e.__rest)(t,["menuProps","disabled","operationalData"]);return ol().createElement(jw,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center"},ol().createElement(jw,null,ol().createElement(KI,{operationalData:o},YI(i,r))),ol().createElement(Xw,null,ol().createElement(TT,(0,e.__assign)({},n,{disabled:r,menuItemsPadding:2}))))},$I=function(e,t,n){var r;return{root:{color:e.palette.themePrimary,width:"100%",height:"60px",padding:n?"0 16px":"0 16px 0 12px",textAlign:"left",":focus":{":focus::after":(r={},r[EC]={inset:"4px"},r)}},rootHovered:{color:e.palette.themePrimary,background:t?e.palette[t]:e.palette.neutralMed},icon:{marginRight:"4px",marginLeft:"0px"}}},ZI=function(t){var n=t.href,r=t.iconName,o=t.backgroundHoverColorOverride,i=(0,e.__rest)(t,["href","iconName","backgroundHoverColorOverride"]);W_("CardCallToAction",i);var a=Tp(),s=rb();(0,rl.useEffect)((function(){a.checkUrlAndReportHttp(n)}),[n]);var c=(0,e.__assign)({},i);return ol().createElement(Xw,null,ol().createElement(vT,(0,e.__assign)({href:n,iconProps:{iconName:r},styles:$I(s,o,!!r)},c)))},eA={tokens:{childrenGap:10,padding:"16px 16px 0 16px"},styles:{root:{marginBottom:"-20px"}},grow:!0},tA=[Kx,DT,Yx],nA=function(t){var n=t.heading,r=t.text,o=t.textColorOverride;return(0,rl.useEffect)((function(){"string"!==typeof r&&Object.keys(r.tokensAndValues).forEach((function(e){return function(e,t,n){var r=qb(e);return jb(e)?(Vb(n).test(r)||!t.includes(e.type)||Gb(r,"Invalid ".concat(n," component ").concat(r,".")+" Use an allowed child component or a custom component wrapped using the childWrapper HOC defined in ".concat(n),1),e):e}(r.tokensAndValues[e],tA,"CardDetails")}))}),[r]),ol().createElement(jv,(0,e.__assign)({},eA),ol().createElement(Gx,{variant:"subjectTitle",lines:1},n),"string"===typeof r?ol().createElement(Gx,{variant:"metadataText",colorOverride:o,lines:3},r):ol().createElement(Qx,(0,e.__assign)({},r,{truncatedTextProps:{lines:3}})))},rA="12px 0 12px 16px",oA=function(e,t){return{height:"44px",borderBottom:"1px solid ".concat(e.palette.neutralLighter),boxSizing:"border-box",selectors:{":hover":{backgroundColor:t?e.palette[t]:e.palette.neutralMed},":active":{background:e.palette.neutralLighterAlt}}}},iA=function(t){var n=t.text,r=t.action,o=t.tag,i=void 0===o?"h5":o,a=(0,e.__rest)(t,["text","action","tag"]),s="withInfoIcon"===a.headerType,c=function(t,n,r,o){return{styles:{root:(0,e.__assign)({cursor:r?"pointer":void 0},oA(t,o))},tokens:{padding:n?"12px 12px 12px 16px":rA}}}(rb(),s,!!r,a.backgroundHoverColorOverride),l=c.styles,u=c.tokens,d=ol().createElement(ol().Fragment,null,ol().createElement(jw,{horizontal:!0,verticalAlign:"center",childrenGap:5},"withTitleImage"===a.headerType&&ol().createElement(sI,{width:22,height:22,imageType:"ariaHiddenImage",src:a.imgSrc}),ol().createElement(Gx,{variant:"headerText",lines:1,type:"heading",tag:i},n)),ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},"withInfoIcon"===a.headerType&&ol().createElement(uw,{iconName:"Info",size:"14px",color:"errorIcon"}),(!a.headerType||"default"===a.headerType)&&a.menuProps&&ol().createElement(Xw,null,ol().createElement(TT,(0,e.__assign)({},a.menuProps,{iconName:"MoreVertical",iconColor:"neutralSecondary",menuIconVariant:"card"})))));return r?ol().createElement(Xw,null,ol().createElement(jv,(0,e.__assign)({styles:l,tokens:u,horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between"},r,{tabIndex:0}),ol().createElement(vT,(0,e.__assign)({text:n,styles:Fw},r)),d)):ol().createElement(jv,{styles:l,tokens:u,horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between"},d)};function aA(e){var t=function(e){var t;"function"===typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0);return t}("MouseEvents");t.initEvent("click",!0,!0),e.dispatchEvent(t)}var sA=function(e){return{styles:{root:{margin:"16px 16px 0",overflow:"hidden"}},tokens:{padding:"".concat(e&&"0 24px")}}},cA={width:"100%",height:"210px"},lA=function(e,t,n,r){var o;return{root:{backgroundColor:r?e.palette[r]:e.palette.neutralHigh,height:t,minWidth:"".concat(244,"px"),maxWidth:"".concat(288,"px"),borderRadius:"8px",boxShadow:Zp.depth4,overflow:"hidden",transitionDuration:Lw,cursor:n?"pointer":"auto",selectors:(o={":hover":{boxShadow:n?Zp.depth8:void 0}},o[Wm]={outline:"1px solid transparent",":focus":{outline:"3px auto highlight"},"a:focus":{outline:"3px auto transparent"}},o)}}},uA={large:"424px",medium:"336px",small:"124px"},dA=function(t){var n=t.childrenGap,r=void 0===n?0:n,o=t.height,i=void 0===o?"large":o,a=t.action,s=t.children,c=t.backgroundColorOverride,l=t["aria-label"],u=t.role,d=void 0===u?"group":u,p=(0,e.__rest)(t,["childrenGap","height","action","children","backgroundColorOverride","aria-label","role"]),h=Tp();W_("CardCanvas",p);var f=rb(),m=a&&a["aria-label"]||l;return ol().createElement(jv,(0,e.__assign)({role:d,"data-testid":"card",onKeyPress:function(e){"Enter"===e.key&&(e.preventDefault(),aA(e.target))},onClick:function(e){var t;a&&(a.onClick&&a.onClick(e),a.href&&("_blank"===a.target?window.open(a.href):window.location.assign(a.href)),h.reportClick({clickId:a["data-bi-id"],pageArea:(null===(t=a["data-bi-id"])||void 0===t?void 0:t.split(".")[0])||"",targetUri:a.href}))},tabIndex:a?0:void 0,grow:!0,styles:lA(f,uA[i],!!a,c),tokens:{childrenGap:r},"aria-label":m},p),s)},pA=__webpack_require__(39997),hA=__webpack_require__.n(pA),fA={hover:"mouseenter",click:"click"},mA="data_ready",gA="complete",vA=function(e){var t=e.id,n=e.src,r=e.alt,o=e.animationTrigger,i=e.height,a=e.width,s=e.autoPlay,c=void 0!==s&&s,l=e.loop,u=void 0!==l&&l,d=Tp(),p=(0,rl.useRef)(null),h=Ik(r),f=(0,rl.useRef)(!1),m=(0,rl.useRef)(),g=o?fA[o]:void 0;(0,rl.useEffect)((function(){if(g){var e=function(){!f.current&&m.current&&(f.current=!0,m.current.goToAndPlay(0))};return p.current.addEventListener(g,e),function(){p.current.removeEventListener(g,e)}}}),[g]),(0,rl.useEffect)((function(){var e=function(){f.current=!1},t=function(){f.current=c,m.current.addEventListener(gA,e)};return m.current=hA().loadAnimation({container:p.current,renderer:"svg",loop:u,autoplay:c,path:n,name:h}),m.current.addEventListener(mA,t),function(){m.current.removeEventListener(mA,t),m.current.removeEventListener(gA,e),hA().destroy(h)}}),[m,r,c,u,n,h]),(0,rl.useEffect)((function(){d.checkUrlAndReportHttp(n)}),[n]);var v={height:i,width:a};return ol().createElement("div",{id:t,ref:p,style:v,role:"img","aria-label":r})},yA=pb(),bA=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.message,r=t.styles,o=t.as,i=void 0===o?"div":o,a=t.className,s=yA(r,{className:a});return rl.createElement(i,(0,e.__assign)({role:"status",className:s.root},Nv(this.props,Mv,["className"])),rl.createElement(vb,null,rl.createElement("div",{className:s.screenReaderText},n)))},n.defaultProps={"aria-live":"polite"},n}(rl.Component),_A=ib(bA,(function(e){return{root:e.className,screenReaderText:ng}})),CA=function(t){var n=t.message,r=t.ariaLive,o=void 0===r?"polite":r,i=(0,e.__rest)(t,["message","ariaLive"]);return qv("Announced"),ol().createElement(_A,(0,e.__assign)({message:n,"aria-live":o},i))},wA=function(t){var n=t.announcedComponent,r=xA();return ol().createElement(ol().Fragment,null,r.announcements.map((function(t,r){return ol().createElement(n,(0,e.__assign)({key:r},t))})))},EA=(0,rl.createContext)(null),xA=function(){var e=(0,rl.useContext)(EA);if(null===e)throw new Error("AnnouncementsContext: Context is uninitialized. Confirm that your component is contained within an AnnouncementsContext.Provider component.");return e.state},SA=function(e){var t=e.children,n=e.announcedComponent,r=(0,rl.useReducer)((function(e,t){if("push"===t.type)return{announcements:e.announcements.concat(t.announcement)}}),{announcements:[]}),o=r[0],i=r[1];return ol().createElement(EA.Provider,{value:{state:o,dispatch:i}},t,ol().createElement(wA,{announcedComponent:n}))},kA=function(e){return function(){return e.length<1?"Banner cannot have less than ".concat(1," column"):void 0}},TA=function(e){return function(){return e.length>3?"Banner cannot have more than ".concat(3," column"):void 0}},IA=(0,rl.createContext)({setDisplaySecondColumnContainer:function(){},setDisplayThirdColumnContainer:function(){}}),AA=function(t){var n=t.id,r=t.expanded,o=void 0===r||r,i=t.children;qv("Banner",n);var a=(0,rl.useState)(!0),s=a[0],c=a[1],l=(0,rl.useState)(!0),u=l[0],d=l[1],p=ol().Children.toArray(i);Wb("Banner",[kA(p),TA(p)]);var h=p.length,f=AC(),m=["s","m","l"].includes(f),g="".concat(m?"24px":"30px"," 0 0"),v=o?g:void 0,y=!m&&h>1?"50%":"100%",b=function(e){return e?{root:{width:"s"===f?"100%":"50%"}}:{root:{width:"0%",overflow:"hidden"}}},_={horizontalAlign:m?"start":"end"},C=m?"100%":"50%";return ol().createElement(IA.Provider,{value:{setDisplaySecondColumnContainer:c,setDisplayThirdColumnContainer:d}},ol().createElement(jv,{horizontal:!0,wrap:!0,styles:{root:{width:"100%",padding:v}},id:n},ol().createElement(Vv,{styles:{root:{width:y}},shrink:0},p[0]),h>1&&ol().createElement(jv,(0,e.__assign)({},_,{horizontal:!0,wrap:!0,styles:{root:{width:C}}}),p[1]&&ol().createElement(Vv,{styles:b(s),shrink:0},p[1]),p[2]&&ol().createElement(Vv,{styles:b(u),shrink:0},p[2]))))},PA=pb(),DA=function(){return null},RA={styles:function(e){return{root:{selectors:{"&.is-disabled":{color:e.theme.semanticColors.bodyText}}}}}},MA=function(t){function n(n){var r=t.call(this,n)||this;return r._focusZone=rl.createRef(),r._onReduceData=function(t){var n=t.renderedItems,r=t.renderedOverflowItems,o=t.props.overflowIndex,i=n[o];if(i)return(n=(0,e.__spreadArray)([],n)).splice(o,1),r=(0,e.__spreadArray)((0,e.__spreadArray)([],r),[i]),(0,e.__assign)((0,e.__assign)({},t),{renderedItems:n,renderedOverflowItems:r})},r._onGrowData=function(t){var n=t.renderedItems,r=t.renderedOverflowItems,o=t.props,i=o.overflowIndex,a=o.maxDisplayedItems,s=(r=(0,e.__spreadArray)([],r)).pop();if(s&&!(n.length>=a))return(n=(0,e.__spreadArray)([],n)).splice(i,0,s),(0,e.__assign)((0,e.__assign)({},t),{renderedItems:n,renderedOverflowItems:r})},r._onRenderBreadcrumb=function(t){var n=t.props,o=n.ariaLabel,i=n.dividerAs,a=void 0===i?HS:i,s=n.onRenderItem,c=n.overflowAriaLabel,l=n.overflowIndex,u=n.onRenderOverflowIcon,d=n.overflowButtonAs,p=t.renderedOverflowItems,h=t.renderedItems,f=p.map((function(e){var t=!(!e.onClick&&!e.href);return{text:e.text,name:e.text,key:e.key,onClick:e.onClick?r._onBreadcrumbClicked.bind(r,e):null,href:e.href,disabled:!t,itemProps:t?void 0:RA}})),m=h.length-1,g=p&&0!==p.length,v=h.map((function(e,t){var n=r._onRenderItem;return e.onRender&&(n=qS(e.onRender,n)),s&&(n=qS(s,n)),rl.createElement("li",{className:r._classNames.listItem,key:e.key||String(t)},n(e),(t!==m||g&&t===l-1)&&rl.createElement(a,{className:r._classNames.chevron,iconName:Pf(r.props.theme)?"ChevronLeft":"ChevronRight",item:e}))}));if(g){var y=u?{}:{iconName:"More"},b=u||DA,_=d||bT;v.splice(l,0,rl.createElement("li",{className:r._classNames.overflow,key:"overflow"},rl.createElement(_,{className:r._classNames.overflowButton,iconProps:y,role:"button","aria-haspopup":"true",ariaLabel:c,onRenderMenuIcon:b,menuProps:{items:f,directionalHint:J_}}),l!==m+1&&rl.createElement(a,{className:r._classNames.chevron,iconName:Pf(r.props.theme)?"ChevronLeft":"ChevronRight",item:p[p.length-1]})))}var C=Nv(r.props,pv,["className"]);return rl.createElement("div",(0,e.__assign)({className:r._classNames.root,role:"navigation","aria-label":o},C),rl.createElement(q_,(0,e.__assign)({componentRef:r._focusZone,direction:Bb.horizontal},r.props.focusZoneProps),rl.createElement("ol",{className:r._classNames.list},v)))},r._onRenderItem=function(t){if(!t)return null;var n=t.as,o=t.href,i=t.onClick,a=t.isCurrentItem,s=t.text,c=t.onRenderContent,l=(0,e.__rest)(t,["as","href","onClick","isCurrentItem","text","onRenderContent"]),u=NA;if(c&&(u=qS(c,u)),r.props.onRenderItemContent&&(u=qS(r.props.onRenderItemContent,u)),i||o)return rl.createElement(bw,(0,e.__assign)({},l,{as:n,className:r._classNames.itemLink,href:o,"aria-current":a?"page":void 0,onClick:r._onBreadcrumbClicked.bind(r,t)}),rl.createElement(Bx,(0,e.__assign)({content:s,overflowMode:$w.Parent},r.props.tooltipHostProps),u(t)));var d=n||"span";return rl.createElement(d,(0,e.__assign)({},l,{className:r._classNames.item}),rl.createElement(Bx,(0,e.__assign)({content:s,overflowMode:$w.Parent},r.props.tooltipHostProps),u(t)))},r._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},v_(r),r._validateProps(n),r}return(0,e.__extends)(n,t),n.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},n.prototype.render=function(){this._validateProps(this.props);var t=this.props,n=t.onReduceData,r=void 0===n?this._onReduceData:n,o=t.onGrowData,i=void 0===o?this._onGrowData:o,a=t.overflowIndex,s=t.maxDisplayedItems,c=t.items,l=t.className,u=t.theme,d=t.styles,p=(0,e.__spreadArray)([],c),h=p.splice(a,p.length-s),f={props:this.props,renderedItems:p,renderedOverflowItems:h};return this._classNames=PA(d,{className:l,theme:u}),rl.createElement(eI,{onRenderData:this._onRenderBreadcrumb,onReduceData:r,onGrowData:i,data:f})},n.prototype._validateProps=function(e){var t=e.maxDisplayedItems,n=e.overflowIndex,r=e.items;if(n<0||t>1&&n>t-1||r.length>0&&n>r.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},n.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},n}(rl.Component);function NA(e){return e?rl.createElement(rl.Fragment,null,e.text):null}var LA,OA,FA,BA,HA={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"},zA={whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},UA=Km(0,479),VA=Km(Gm,639),jA=ib(MA,(function(t){var n,r,o,i,a,s=t.className,c=t.theme,l=c.palette,u=c.semanticColors,d=c.fonts,p=og(HA,c),h=u.menuItemBackgroundHovered,f=u.menuItemBackgroundPressed,m=l.neutralSecondary,g=Bm.regular,v=l.neutralPrimary,y=l.neutralPrimary,b=Bm.semibold,_=l.neutralSecondary,C=l.neutralSecondary,w={fontWeight:b,color:y},E={":hover":{color:v,backgroundColor:h,cursor:"pointer",selectors:(n={},n[Wm]={color:"Highlight",backgroundColor:"transparent"},n)},":active":{backgroundColor:f,color:v},"&:active:hover":{color:v,backgroundColor:f},"&:active, &:hover, &:active:hover":{textDecoration:"none"}},x={color:m,padding:"0 8px",lineHeight:36,fontSize:18,fontWeight:g};return{root:[p.root,d.medium,{margin:"11px 0 1px"},s],list:[p.list,{whiteSpace:"nowrap",padding:0,margin:0,display:"flex",alignItems:"stretch"}],listItem:[p.listItem,{listStyleType:"none",margin:"0",padding:"0",display:"flex",position:"relative",alignItems:"center",selectors:{"&:last-child .ms-Breadcrumb-itemLink":(0,e.__assign)((0,e.__assign)({},w),(r={},r[Wm]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},r)),"&:last-child .ms-Breadcrumb-item":w}}],chevron:[p.chevron,{color:_,fontSize:d.small.fontSize,selectors:(o={},o[Wm]=(0,e.__assign)({color:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o[VA]={fontSize:8},o[UA]={fontSize:8},o)}],overflow:[p.overflow,{position:"relative",display:"flex",alignItems:"center"}],overflowButton:[p.overflowButton,Zm(c,{highContrastStyle:{left:1,right:1,top:1,bottom:1}}),zA,{fontSize:16,color:C,height:"100%",cursor:"pointer",selectors:(0,e.__assign)((0,e.__assign)({},E),(i={},i[UA]={padding:"4px 6px"},i[VA]={fontSize:d.mediumPlus.fontSize},i))}],itemLink:[p.itemLink,Zm(c),zA,(0,e.__assign)((0,e.__assign)({},x),{selectors:(0,e.__assign)((a={":focus":{color:l.neutralDark}},a[".ms-Fabric--isFocusVisible &:focus"]={outline:"none"},a),E)})],item:[p.item,(0,e.__assign)((0,e.__assign)({},x),{selectors:{":hover":{cursor:"default"}}})]}}),void 0,{scope:"Breadcrumb"}),qA={selectors:(LA={},LA[yC]={fontSize:"12px",lineHeight:"16px"},LA[hC]={fontSize:"12px",lineHeight:"16px"},LA[mC]={fontSize:"14px",lineHeight:"20px"},LA)},WA=function(t,n){var r,o={};return n&&(o={color:t.palette.neutralSecondary,fontFamily:lw,selectors:(r={},r[yC]={fontSize:18},r[hC]={fontSize:18},r[fC]={fontSize:24},r[mC]={fontSize:24},r)}),{chevron:(0,e.__assign)({marginLeft:2,marginRight:2},o),listItem:{height:"100%"},overflowButton:{height:"16px"},item:(0,e.__assign)((0,e.__assign)({},qA),{":hover":{cursor:"text"}}),itemLink:qA,list:{selectors:{"li:first-child > *:first-child":{paddingLeft:"0px"}},alignItems:"center"}}},GA=function(e,t){var n,r,o,i,a="[class*=crumbTitle], .".concat(t);return{root:(n={color:e.palette.neutralSecondary},n[a]={color:e.palette.neutralSecondary},n[":hover"]=(r={},r[a]={backgroundColor:e.palette.neutralLighter},r.textDecoration="none",r),n[":active:hover"]=(o={},o[a]={backgroundColor:e.palette.neutralLight},o.textDecoration="none",o),n[":focus"]={textDecoration:"none"},n[Wm]=(i={},i[a]={color:"LinkText"},i[":focus"]={outline:"highlight auto 1px !important"},i),n)}},KA=function(e,t){var n=xw(e,t);return{root:{fontSize:n.fontSize,fontWeight:n.fontWeight,lineHeight:n.lineHeight,fontFamily:n.fontFamily,color:e.palette.neutralSecondary,selectors:n.selectors,overflow:"hidden",textOverflow:"ellipsis"}}},YA=function(e,t,n){return{root:{marginRight:4,marginLeft:e?4:0,maxWidth:t,width:n,alignItems:"center"}}},QA=function(e){return{root:{marginRight:e?8:2,marginLeft:2,marginTop:0}}},XA=function(e){return{root:{marginRight:e?8:2,marginLeft:2,marginTop:0}}},JA=0,$A=1,ZA=function(t){var n=t.items,r=t.overflowIndex,o=void 0===r?0:r,i=t.maxDisplayedItems,a=void 0===i?3:i,s=t.pageArea,c=t.dataBiPrefix,l=t.isIncludingCurrentPage,u=t.itemStyle,d=void 0===u?JA:u,p=(0,e.__rest)(t,["items","overflowIndex","maxDisplayedItems","pageArea","dataBiPrefix","isIncludingCurrentPage","itemStyle"]),h=Tp();qv("Breadcrumb"),(0,rl.useEffect)((function(){}),[]);var f=AC(),m=Ud(),g=rb(),v=d===$A,y=n.length>1&&n[0].mediaProps,b=(0,rl.useRef)(null),_=(0,rl.useState)(500),C=_[0],w=_[1],E=(0,rl.useState)(void 0),x=E[0],S=E[1];function k(e,t){var n=function(e){var t,n,r,o,i=document.createElement("span"),a=xw(g,e);switch(e){case"paneTitle":i.style.fontFamily=null!==(n=null===(t=g.fonts.medium)||void 0===t?void 0:t.fontFamily)&&void 0!==n?n:"Segoe UI";break;case"statusHeader":i.style.fontFamily=null!==(o=null===(r=g.fonts.large)||void 0===r?void 0:r.fontFamily)&&void 0!==o?o:"Segoe UI"}return i.style.fontSize=a.fontSize,i.style.fontWeight=a.fontWeight.toLocaleString(),document.body.appendChild(i),i}(t);n.innerText=e;var r=Math.ceil(n.getBoundingClientRect().width);return n.remove(),r+4}function T(e,t,n){var r="paneTitle",o=16;switch(f){case"l":case"xl":case"xxl":case"xxxl":r="statusHeader",o=24}var i=t?k(e,r):0;return n?i+o+2+8:i+4}var I=function(){if(b.current){var e=.85*b.current.offsetWidth-24;if(e>0)if(1===n.length)w(e);else{var t=T(n[0].text,!y,!!n[0].mediaProps),r=T(n[n.length-1].text,!0,!!n[n.length-1].mediaProps),o=Math.floor(e-t),i=Math.floor(.7*e);if(o<(i=i>r?r:i))S(Math.floor(e-i)),w(i);else{var a=r>o?o:r;S(void 0),w(a)}}else S(void 0),w(void 0)}};(0,rl.useEffect)((function(){window.addEventListener("resize",I)}),[]);var A=function(e,t){var n={clickId:"".concat(c,"-").concat(null===t||void 0===t?void 0:t.key),pageArea:s};h.reportClick(n)},P=null===n||void 0===n?void 0:n.map((function(e,t){switch(e.type){case"route":return{text:e.text,key:e.id,onClick:function(t,n){A(0,n),m.push(e.to)},isCurrentItem:l&&t===n.length-1};case"hyperlink":return{text:e.text,key:e.id,href:e.href,onClick:A,isCurrentItem:l&&t===n.length-1};case"text":return{text:e.text,key:e.id,isCurrentItem:l&&t===n.length-1}}}));(0,rl.useEffect)((function(){P.forEach((function(e){h.checkUrlAndReportHttp(e.href)}))}),[P]);var D=(0,rl.useState)("paneTitle"),R=D[0],M=D[1],N=(0,rl.useState)("".concat(16,"px")),L=N[0],O=N[1];(0,rl.useEffect)((function(){switch(I(),f){case"s":case"m":M("paneTitle"),O("".concat(16,"px"));break;case"l":case"xl":case"xxl":case"xxxl":M("statusHeader"),O("".concat(24,"px"))}}),[f]);var F=ol().createElement(jA,(0,e.__assign)({styles:WA(g,v),items:P,overflowIndex:o,maxDisplayedItems:a,onRenderItem:v?function(t){var r,o,i,a=(null===t||void 0===t?void 0:t.key)===n[n.length-1].id,s=(null===t||void 0===t?void 0:t.key)===n[0].id,c=n.findIndex((function(e){return e.id===(null===t||void 0===t?void 0:t.key)})),l=!(s&&!a)&&""!==n[c].text;switch(null===(r=n[c].mediaProps)||void 0===r?void 0:r.kind){case"image":o=ol().createElement(jv,{styles:QA(l)},ol().createElement(sI,(0,e.__assign)({imageType:"altTextImage"},n[c].mediaProps,{height:L,width:L})));break;case"icon":i=n[c].mediaProps.iconName,o=ol().createElement(jv,{styles:XA(l)},ol().createElement(uw,(0,e.__assign)({},n[c].mediaProps,{size:L})))}var u={href:t.href,styles:GA(g,i),"data-bi-id":t.text,"aria-label":t.text,onClick:t.onClick,underline:!1};return a||"text"===n[c].type?ol().createElement(jv,{horizontal:!0,styles:a?YA(void 0===o,void 0,C):YA(void 0===o,s?x:void 0,void 0)},o,ol().createElement(Gx,{type:"heading",tag:"h1",lines:1,variant:R,lineHeight:1.4},t.text)):y&&(null===t||void 0===t?void 0:t.key)===n[0].id?ol().createElement(zx,{tooltipText:t.text,tooltipPosition:"top-center"},ol().createElement(bw,(0,e.__assign)({},u),ol().createElement(jv,{horizontal:!0},o))):ol().createElement(zx,{tooltipText:t.text,tooltipPosition:"top-center"},ol().createElement(bw,(0,e.__assign)({},u),ol().createElement(jv,{horizontal:!0,styles:YA(void 0===o,s?x:void 0,void 0)},o,ol().createElement(Sw,{className:"crumbTitle",styles:KA(g,R)},t.text))))}:void 0,focusZoneProps:{handleTabKey:1}},p));return v?ol().createElement("div",{className:"divRef",ref:b},F):F},eP=function(t){var n=t.breadcrumbTitleProps,r=(0,e.__rest)(t,["breadcrumbTitleProps"]);return W_("BannerBreadcrumbTitleColumn",r),ol().createElement(jv,{styles:{root:{paddingTop:"18px",paddingBottom:"24px"}}},ol().createElement(ZA,(0,e.__assign)({maxDisplayedItems:5,itemStyle:$A},n)))},tP=function(){var e;return{root:{selectors:(e={},e[yC]={paddingTop:"4px",paddingBottom:"8px"},e[hC]={paddingTop:"8px",paddingBottom:"8px"},e[mC]={paddingTop:"29px",paddingBottom:"19px"},e)}}},nP=function(e,t,n){var r,o,i,a,s,c,l,u=".".concat(t),d=n?e.palette.themeDarkAlt:e.palette.neutralPrimary,p=n?e.palette.themePrimary:e.palette.themeSecondary,h=p,f=n?e.palette.themeDarkAlt:e.palette.themePrimary;return{root:{maxWidth:"100%",selectors:(r={".FullCircleMask":{color:e.palette.themeLighter}},r[u]={color:e.palette.themePrimary},r[".infoColumnCta, .ChevronRight, .ChevronLeft"]={color:d},r[".ChevronRight, .ChevronLeft"]=(o={display:"block",paddingLeft:"13px",paddingRight:"52px",transform:"translateY(4px)"},o[bC]={transform:"translateY(8px)"},o),r[".infoColumnInfoText"]={color:e.palette.neutralSecondary},r[":focus"]={outline:"1px solid ".concat(e.palette.neutralPrimary),selectors:(i={".FullCircleMask":{color:e.palette.themeLighter}},i[u]={color:e.palette.themePrimary},i[".infoColumnCta, .ChevronRight, .ChevronLeft"]={color:d},i[".infoColumnInfoText"]={color:e.palette.neutralSecondary},i)},r[":hover"]={selectors:(a={".FullCircleMask":{color:e.palette.themeSecondary}},a[u]={color:e.palette.neutralHigh},a[".infoColumnCta, .ChevronRight, .ChevronLeft"]={color:p},a[".infoColumnInfoText"]={color:h},a)},r[":active:focus"]={outline:"0px",selectors:(s={".FullCircleMask":{color:e.palette.themePrimary}},s[u]={color:e.palette.neutralHigh},s[".infoColumnCta, .ChevronRight, .ChevronLeft"]={color:e.palette.themePrimary},s[".infoColumnInfoText"]={color:f},s)},r[Wm]=(c={".FullCircleMask, .infoColumnCta, .infoColumnInfoText":{color:"LinkText"}},c[u]={color:"Window"},c[":hover, &:focus"]=(l={".FullCircleMask, .infoColumnCta, .infoColumnInfoText, .ChevronRight, .ChevronLeft":{color:"highlight"}},l[u]={color:"Window"},l),c),r)}}},rP=function(e){var t,n,r=".".concat(e);return{root:{float:"left",width:"32px",marginLeft:"5px",marginRight:"13px",selectors:(t={".FullCircleMask":{float:"left",fontSize:"32px",lineHeight:"32px"}},t[r]={float:"left",fontSize:"16px",lineHeight:"32px",marginLeft:"-24px"},t[Wm]=(n={},n[r]={"-webkit-forced-color-adjust":"none","forced-color-adjust":"none"},n),t)}}},oP=function(e){var t;return{root:{position:"relative",selectors:(t={".StatusCircle7, .StatusWarning":{transform:e?"rotateY(180deg)":void 0},".StatusCircle7":{position:"absolute",left:"5px",top:"-3px"},".StatusWarning":{position:"absolute",left:"12.75px",top:"5px"}},t[Wm]={".StatusWarning, .StatusCircle7":{"-webkit-forced-color-adjust":"none","forced-color-adjust":"none"}},t)}}},iP=function(e){var t,n;return{root:{maxWidth:"100%",marginRight:e?void 0:"13px",selectors:{".infoColumnCta":{fontWeight:Bm.semibold,selectors:(t={},t[bC]={lineHeight:"16px",marginTop:"8px"},t[fC]={lineHeight:"16px"},t)},".infoColumnInfoText":{lineHeight:"16px",selectors:(n={},n[yC]={display:"none"},n[hC]={display:"none"},n[fC]={display:"block"},n)}}}}},aP=function(t){var n=t.iconName,r=t.ctaText,o=t.ctaUrl,i=t.onClick,a=t.infoText,s=t.badge,c=t.isHyperlinkVariant,l=(0,e.__rest)(t,["iconName","ctaText","ctaUrl","onClick","infoText","badge","isHyperlinkVariant"]);W_("BannerInfoColumn",l);var u,d=rb(),p=oS();if("Alert"===s)u=ol().createElement(jv,{styles:oP(p)},ol().createElement(uw,{iconName:"StatusCircle7",color:"errorIcon",size:"32px"}),ol().createElement(uw,{iconName:"StatusWarning",color:"white",size:"24px"}));else u=ol().createElement(ol().Fragment,null);return ol().createElement(jv,{horizontal:!0,styles:tP()},ol().createElement(Vv,null,ol().createElement(bw,(0,e.__assign)({href:o,onClick:i,style:{textDecoration:"none",boxShadow:"none",display:"inline-block"},styles:nP(d,n,c)},l),u,ol().createElement(jv,{horizontal:!0,styles:rP(n)},ol().createElement(uw,{iconName:"FullCircleMask",size:"32px"}),ol().createElement(uw,{iconName:n,size:"16px"})),ol().createElement(jv,{styles:iP(c)},ol().createElement(Sw,{className:"infoColumnCta",block:!0,variant:"small"},r),ol().createElement(Sw,{className:"infoColumnInfoText",block:!0,variant:"small"},a)))),c&&ol().createElement(Vv,{styles:nP(d,n,c)},ol().createElement(uw,{iconName:iS("ChevronRight"),size:"12px"})))},sP=function(e){var t=e.height,n=e.shimmerColors;return qv("ShimmerCircle"),ol().createElement(Lb,{style:{borderRadius:"100%",overflow:"hidden"},shimmerElements:[{type:mb.circle,height:t}],shimmerColors:n})};!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"}(OA||(OA={})),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"}(FA||(FA={})),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"}(BA||(BA={}));var cP,lP,uP,dP=/[\(\[\{\<][^\)\]\}\>]*[\)\]\}\>]/g,pP=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,hP=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,fP=/\s+/g,mP=/[\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 gP(e,t,n){return e?(e=function(e){return(e=(e=(e=e.replace(dP,"")).replace(pP,"")).replace(fP," ")).trim()}(e),mP.test(e)||!n&&hP.test(e)?"":function(e,t){var n="",r=e.split(" ");return 2===r.length?(n+=r[0].charAt(0).toUpperCase(),n+=r[1].charAt(0).toUpperCase()):3===r.length?(n+=r[0].charAt(0).toUpperCase(),n+=r[2].charAt(0).toUpperCase()):0!==r.length&&(n+=r[0].charAt(0).toUpperCase()),t&&n.length>1?n.charAt(1)+n.charAt(0):n}(e,t)):""}!function(e){e.size8="20px",e.size10="20px",e.size16="16px",e.size24="24px",e.size28="28px",e.size32="32px",e.size40="40px",e.size48="48px",e.size56="56px",e.size72="72px",e.size100="100px",e.size120="120px"}(lP||(lP={})),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"}(uP||(uP={}));var vP=function(e){return{isSize8:e===OA.size8,isSize10:e===OA.size10||e===OA.tiny,isSize16:e===OA.size16,isSize24:e===OA.size24||e===OA.extraExtraSmall,isSize28:e===OA.size28||e===OA.extraSmall,isSize32:e===OA.size32,isSize40:e===OA.size40||e===OA.small,isSize48:e===OA.size48||e===OA.regular,isSize56:e===OA.size56,isSize72:e===OA.size72||e===OA.large,isSize100:e===OA.size100||e===OA.extraLarge,isSize120:e===OA.size120}},yP=((cP={})[OA.tiny]=10,cP[OA.extraExtraSmall]=24,cP[OA.extraSmall]=28,cP[OA.small]=40,cP[OA.regular]=48,cP[OA.large]=72,cP[OA.extraLarge]=100,cP[OA.size8]=8,cP[OA.size10]=10,cP[OA.size16]=16,cP[OA.size24]=24,cP[OA.size28]=28,cP[OA.size32]=32,cP[OA.size40]=40,cP[OA.size48]=48,cP[OA.size56]=56,cP[OA.size72]=72,cP[OA.size100]=100,cP[OA.size120]=120,cP),bP=function(e){return{isAvailable:e===FA.online,isAway:e===FA.away,isBlocked:e===FA.blocked,isBusy:e===FA.busy,isDoNotDisturb:e===FA.dnd,isOffline:e===FA.offline}},_P=pb({cacheSize:100}),CP=rl.forwardRef((function(e,t){var n=e.coinSize,r=e.isOutOfOffice,o=e.styles,i=e.presence,a=e.theme,s=e.presenceTitle,c=e.presenceColors,l=Ay(t,rl.useRef(null)),u=vP(e.size),d=!(u.isSize8||u.isSize10||u.isSize16||u.isSize24||u.isSize28||u.isSize32)&&(!n||n>32),p=n?n/3<40?n/3+"px":"40px":"",h=n?{fontSize:n?n/6<20?n/6+"px":"20px":"",lineHeight:p}:void 0,f=n?{width:p,height:p}:void 0,m=_P(o,{theme:a,presence:i,size:e.size,isOutOfOffice:r,presenceColors:c});return i===FA.none?null:rl.createElement("div",{role:"presentation",className:m.presence,style:f,title:s,ref:l},d&&rl.createElement(HS,{className:m.presenceIcon,iconName:wP(e.presence,e.isOutOfOffice),style:h}))}));function wP(e,t){if(e){var n="SkypeArrow";switch(FA[e]){case"online":return"SkypeCheck";case"away":return t?n:"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?n:""}return""}}CP.displayName="PersonaPresenceBase";var EP={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function xP(e){return{color:e,borderColor:e}}function SP(e,t){return{selectors:{":before":{border:e+" solid "+t}}}}function kP(e){return{height:e,width:e}}function TP(e){return{backgroundColor:e}}var IP=ib(CP,(function(t){var n,r,o,i,a,s,c=t.theme,l=t.presenceColors,u=c.semanticColors,d=c.fonts,p=og(EP,c),h=vP(t.size),f=bP(t.presence),m=l&&l.available||"#6BB700",g=l&&l.away||"#FFAA44",v=l&&l.busy||"#C43148",y=l&&l.dnd||"#C50F1F",b=l&&l.offline||"#8A8886",_=l&&l.oof||"#B4009E",C=l&&l.background||u.bodyBackground,w=f.isOffline||t.isOutOfOffice&&(f.isAvailable||f.isBusy||f.isAway||f.isDoNotDisturb),E=h.isSize72||h.isSize100?"2px":"1px";return{presence:[p.presence,(0,e.__assign)((0,e.__assign)({position:"absolute",height:uP.size12,width:uP.size12,borderRadius:"50%",top:"auto",right:"-2px",bottom:"-2px",border:"2px solid "+C,textAlign:"center",boxSizing:"content-box",backgroundClip:"border-box"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:(n={},n[Wm]={borderColor:"Window",backgroundColor:"WindowText"},n)}),(h.isSize8||h.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:(r={},r[Wm]={top:"9px",border:"1px solid WindowText"},r)},(h.isSize8||h.isSize10||h.isSize24||h.isSize28||h.isSize32)&&kP(uP.size8),(h.isSize40||h.isSize48)&&kP(uP.size12),h.isSize16&&{height:uP.size6,width:uP.size6,borderWidth:"1.5px"},h.isSize56&&kP(uP.size16),h.isSize72&&kP(uP.size20),h.isSize100&&kP(uP.size28),h.isSize120&&kP(uP.size32),f.isAvailable&&{backgroundColor:m,selectors:(o={},o[Wm]=TP("Highlight"),o)},f.isAway&&TP(g),f.isBlocked&&[{selectors:(i={":after":h.isSize40||h.isSize48||h.isSize72||h.isSize100?{content:'""',width:"100%",height:E,backgroundColor:v,transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0},i[Wm]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},i)}],f.isBusy&&TP(v),f.isDoNotDisturb&&TP(y),f.isOffline&&TP(b),(w||f.isBlocked)&&[{backgroundColor:C,selectors:(a={":before":{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:E+" solid "+v,borderRadius:"50%",boxSizing:"border-box"}},a[Wm]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},a)}],w&&f.isAvailable&&SP(E,m),w&&f.isBusy&&SP(E,v),w&&f.isAway&&SP(E,_),w&&f.isDoNotDisturb&&SP(E,y),w&&f.isOffline&&SP(E,b),w&&f.isOffline&&t.isOutOfOffice&&SP(E,_)],presenceIcon:[p.presenceIcon,{color:C,fontSize:"6px",lineHeight:uP.size12,verticalAlign:"top",selectors:(s={},s[Wm]={color:"Window"},s)},h.isSize56&&{fontSize:"8px",lineHeight:uP.size16},h.isSize72&&{fontSize:d.small.fontSize,lineHeight:uP.size20},h.isSize100&&{fontSize:d.medium.fontSize,lineHeight:uP.size28},h.isSize120&&{fontSize:d.medium.fontSize,lineHeight:uP.size32},f.isAway&&{position:"relative",left:w?void 0:"1px"},w&&f.isAvailable&&xP(m),w&&f.isBusy&&xP(v),w&&f.isAway&&xP(_),w&&f.isDoNotDisturb&&xP(y),w&&f.isOffline&&xP(b),w&&f.isOffline&&t.isOutOfOffice&&xP(_)]}}),void 0,{scope:"PersonaPresence"}),AP=[BA.lightBlue,BA.blue,BA.darkBlue,BA.teal,BA.green,BA.darkGreen,BA.lightPink,BA.pink,BA.magenta,BA.purple,BA.orange,BA.lightRed,BA.darkRed,BA.violet,BA.gold,BA.burgundy,BA.warmGray,BA.cyan,BA.rust,BA.coolGray],PP=AP.length;function DP(e){var t=e.primaryText,n=e.text,r=e.initialsColor;return"string"===typeof r?r:function(e){switch(e){case BA.lightBlue:return"#4F6BED";case BA.blue:return"#0078D4";case BA.darkBlue:return"#004E8C";case BA.teal:return"#038387";case BA.lightGreen:case BA.green:return"#498205";case BA.darkGreen:return"#0B6A0B";case BA.lightPink:return"#C239B3";case BA.pink:return"#E3008C";case BA.magenta:return"#881798";case BA.purple:return"#5C2E91";case BA.orange:return"#CA5010";case BA.red:return"#EE1111";case BA.lightRed:return"#D13438";case BA.darkRed:return"#A4262C";case BA.transparent:return"transparent";case BA.violet:return"#8764B8";case BA.gold:return"#986F0B";case BA.burgundy:return"#750B1C";case BA.warmGray:return"#7A7574";case BA.cyan:return"#005B70";case BA.rust:return"#8E562E";case BA.coolGray:return"#69797E";case BA.black:return"#1D1D1D";case BA.gray:return"#393939"}}(r=void 0!==r?r:function(e){var t=BA.blue;if(!e)return t;for(var n=0,r=e.length-1;r>=0;r--){var o=e.charCodeAt(r),i=r%8;n^=(o<<i)+(o>>8-i)}return AP[n%PP]}(n||t))}var RP=pb({cacheSize:100}),MP=of((function(e,t,n,r,o,i){return Xh(e,!i&&{backgroundColor:DP({text:r,initialsColor:t,primaryText:o}),color:n})})),NP={size:OA.size48,presence:FA.none,imageAlt:""};var LP=rl.forwardRef((function(t,n){var r=Iy(NP,t),o=function(e){var t=e.onPhotoLoadingStateChange,n=e.imageUrl,r=rl.useState(ES.notLoaded),o=r[0],i=r[1];return rl.useEffect((function(){i(ES.notLoaded)}),[n]),[o,function(e){i(e),null===t||void 0===t||t(e)}]}(r),i=o[0],a=o[1],s=OP(a),c=r.className,l=r.coinProps,u=r.showUnknownPersonaCoin,d=r.coinSize,p=r.styles,h=r.imageUrl,f=r.initialsColor,m=r.initialsTextColor,g=r.isOutOfOffice,v=r.onRenderCoin,y=void 0===v?s:v,b=r.onRenderPersonaCoin,_=void 0===b?y:b,C=r.onRenderInitials,w=void 0===C?FP:C,E=r.presence,x=r.presenceTitle,S=r.presenceColors,k=r.primaryText,T=r.showInitialsUntilImageLoads,I=r.text,A=r.theme,P=r.size,D=Nv(r,Mv),R=Nv(l||{},Mv),M=d?{width:d,height:d}:void 0,N=u,L={coinSize:d,isOutOfOffice:g,presence:E,presenceTitle:x,presenceColors:S,size:P,theme:A},O=RP(p,{theme:A,className:l&&l.className?l.className:c,size:P,coinSize:d,showUnknownPersonaCoin:u}),F=Boolean(i!==ES.loaded&&(T&&h||!h||i===ES.error||N));return rl.createElement("div",(0,e.__assign)({role:"presentation"},D,{className:O.coin,ref:n}),P!==OA.size8&&P!==OA.size10&&P!==OA.tiny?rl.createElement("div",(0,e.__assign)({role:"presentation"},R,{className:O.imageArea,style:M}),F&&rl.createElement("div",{className:MP(O.initials,f,m,I,k,u),style:M,"aria-hidden":"true"},w(r,FP)),!N&&_(r,s),rl.createElement(IP,(0,e.__assign)({},L))):r.presence?rl.createElement(IP,(0,e.__assign)({},L)):rl.createElement(HS,{iconName:"Contact",className:O.size10WithoutPresenceIcon}),r.children)}));LP.displayName="PersonaCoinBase";var OP=function(e){return function(t){var n=t.coinSize,r=t.styles,o=t.imageUrl,i=t.imageAlt,a=t.imageShouldFadeIn,s=t.imageShouldStartVisible,c=t.theme,l=t.showUnknownPersonaCoin,u=t.size,d=void 0===u?NP.size:u;if(!o)return null;var p=RP(r,{theme:c,size:d,showUnknownPersonaCoin:l}),h=n||yP[d];return rl.createElement(RS,{className:p.image,imageFit:CS.cover,src:o,width:h,height:h,alt:i,shouldFadeIn:a,shouldStartVisible:s,onLoadingStateChange:e})}},FP=function(e){var t=e.imageInitials,n=e.allowPhoneInitials,r=e.showUnknownPersonaCoin,o=e.text,i=e.primaryText,a=e.theme;if(r)return rl.createElement(HS,{iconName:"Help"});var s=Pf(a);return""!==(t=t||gP(o||i||"",s,n))?rl.createElement("span",null,t):rl.createElement(HS,{iconName:"Contact"})},BP={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"},HP=ib(LP,(function(t){var n,r=t.className,o=t.theme,i=t.coinSize,a=o.palette,s=o.fonts,c=vP(t.size),l=og(BP,o),u=i||t.size&&yP[t.size]||48;return{coin:[l.coin,s.medium,c.isSize8&&l.size8,c.isSize10&&l.size10,c.isSize16&&l.size16,c.isSize24&&l.size24,c.isSize28&&l.size28,c.isSize32&&l.size32,c.isSize40&&l.size40,c.isSize48&&l.size48,c.isSize56&&l.size56,c.isSize72&&l.size72,c.isSize100&&l.size100,c.isSize120&&l.size120,r],size10WithoutPresenceIcon:{fontSize:s.xSmall.fontSize,position:"absolute",top:"5px",right:"auto",left:0},imageArea:[l.imageArea,{position:"relative",textAlign:"center",flex:"0 0 auto",height:u,width:u},u<=10&&{overflow:"visible",background:"transparent",height:0,width:0}],image:[l.image,{marginRight:"10px",position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0,borderRadius:"50%",perspective:"1px"},u<=10&&{overflow:"visible",background:"transparent",height:0,width:0},u>10&&{height:u,width:u}],initials:[l.initials,{borderRadius:"50%",color:t.showUnknownPersonaCoin?"rgb(168, 0, 0)":a.white,fontSize:s.large.fontSize,fontWeight:Bm.semibold,lineHeight:48===u?46:u,height:u,selectors:(n={},n[Wm]=(0,e.__assign)((0,e.__assign)({border:"1px solid WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"}),n.i={fontWeight:Bm.semibold},n)},t.showUnknownPersonaCoin&&{backgroundColor:"rgb(234, 234, 234)"},u<32&&{fontSize:s.xSmall.fontSize},u>=32&&u<40&&{fontSize:s.medium.fontSize},u>=40&&u<56&&{fontSize:s.mediumPlus.fontSize},u>=56&&u<72&&{fontSize:s.xLarge.fontSize},u>=72&&u<100&&{fontSize:s.xxLarge.fontSize},u>=100&&{fontSize:s.superLarge.fontSize}]}}),void 0,{scope:"PersonaCoin"}),zP=pb(),UP={size:OA.size48,presence:FA.none,imageAlt:"",showOverflowTooltip:!0};var VP=rl.forwardRef((function(t,n){var r=Iy(UP,t),o=Ay(n,rl.useRef(null)),i=function(){return r.text||r.primaryText||""},a=function(e,t,n){var o=t&&t(r,n);return o?rl.createElement("div",{dir:"auto",className:e},o):void 0},s=function(e,t){return void 0===t&&(t=!0),e?t?function(){return rl.createElement(Bx,{content:e,overflowMode:$w.Parent,directionalHint:K_},e)}:function(){return rl.createElement(rl.Fragment,null,e)}:void 0},c=s(i(),r.showOverflowTooltip),l=s(r.secondaryText,r.showOverflowTooltip),u=s(r.tertiaryText,r.showOverflowTooltip),d=s(r.optionalText,r.showOverflowTooltip),p=r.hidePersonaDetails,h=r.onRenderOptionalText,f=void 0===h?d:h,m=r.onRenderPrimaryText,g=void 0===m?c:m,v=r.onRenderSecondaryText,y=void 0===v?l:v,b=r.onRenderTertiaryText,_=void 0===b?u:b,C=r.onRenderPersonaCoin,w=void 0===C?function(t){return rl.createElement(HP,(0,e.__assign)({},t))}:C,E=r.size,x=r.allowPhoneInitials,S=r.className,k=r.coinProps,T=r.showUnknownPersonaCoin,I=r.coinSize,A=r.styles,P=r.imageAlt,D=r.imageInitials,R=r.imageShouldFadeIn,M=r.imageShouldStartVisible,N=r.imageUrl,L=r.initialsColor,O=r.initialsTextColor,F=r.isOutOfOffice,B=r.onPhotoLoadingStateChange,H=r.onRenderCoin,z=r.onRenderInitials,U=r.presence,V=r.presenceTitle,j=r.presenceColors,q=r.showInitialsUntilImageLoads,W=r.showSecondaryText,G=r.theme,K=(0,e.__assign)({allowPhoneInitials:x,showUnknownPersonaCoin:T,coinSize:I,imageAlt:P,imageInitials:D,imageShouldFadeIn:R,imageShouldStartVisible:M,imageUrl:N,initialsColor:L,initialsTextColor:O,onPhotoLoadingStateChange:B,onRenderCoin:H,onRenderInitials:z,presence:U,presenceTitle:V,showInitialsUntilImageLoads:q,size:E,text:i(),isOutOfOffice:F,presenceColors:j},k),Y=zP(A,{theme:G,className:S,showSecondaryText:W,presence:U,size:E}),Q=Nv(r,Mv),X=rl.createElement("div",{className:Y.details},a(Y.primaryText,g,c),a(Y.secondaryText,y,l),a(Y.tertiaryText,_,u),a(Y.optionalText,f,d),r.children);return rl.createElement("div",(0,e.__assign)({},Q,{ref:o,className:Y.root,style:I?{height:I,minWidth:I}:void 0}),w(K,w),(!p||E===OA.size8||E===OA.size10||E===OA.tiny)&&X)}));VP.displayName="PersonaBase";var jP={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"},qP=ib(VP,(function(e){var t=e.className,n=e.showSecondaryText,r=e.theme,o=r.semanticColors,i=r.fonts,a=og(jP,r),s=vP(e.size),c=bP(e.presence),l="16px",u={color:o.bodySubtext,fontWeight:Bm.regular,fontSize:i.small.fontSize};return{root:[a.root,r.fonts.medium,Ug,{color:o.bodyText,position:"relative",height:lP.size48,minWidth:lP.size48,display:"flex",alignItems:"center",selectors:{".contextualHost":{display:"none"}}},s.isSize8&&[a.size8,{height:lP.size8,minWidth:lP.size8}],s.isSize10&&[a.size10,{height:lP.size10,minWidth:lP.size10}],s.isSize16&&[a.size16,{height:lP.size16,minWidth:lP.size16}],s.isSize24&&[a.size24,{height:lP.size24,minWidth:lP.size24}],s.isSize24&&n&&{height:"36px"},s.isSize28&&[a.size28,{height:lP.size28,minWidth:lP.size28}],s.isSize28&&n&&{height:"32px"},s.isSize32&&[a.size32,{height:lP.size32,minWidth:lP.size32}],s.isSize40&&[a.size40,{height:lP.size40,minWidth:lP.size40}],s.isSize48&&a.size48,s.isSize56&&[a.size56,{height:lP.size56,minWidth:lP.size56}],s.isSize72&&[a.size72,{height:lP.size72,minWidth:lP.size72}],s.isSize100&&[a.size100,{height:lP.size100,minWidth:lP.size100}],s.isSize120&&[a.size120,{height:lP.size120,minWidth:lP.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,Vg,{color:o.bodyText,fontWeight:Bm.regular,fontSize:i.medium.fontSize,selectors:{":hover":{color:o.inputTextHovered}}},n&&{height:l,lineHeight:l,overflowX:"hidden"},(s.isSize8||s.isSize10)&&{fontSize:i.small.fontSize,lineHeight:lP.size8},s.isSize16&&{lineHeight:lP.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,Vg,u,(s.isSize8||s.isSize10||s.isSize16||s.isSize24||s.isSize28||s.isSize32)&&{display:"none"},n&&{display:"block",height:l,lineHeight:l,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,Vg,u,{display:"none",fontSize:i.medium.fontSize},(s.isSize72||s.isSize100||s.isSize120)&&{display:"block"}],optionalText:[a.optionalText,Vg,u,{display:"none",fontSize:i.medium.fontSize},(s.isSize100||s.isSize120)&&{display:"block"}],textContent:[a.textContent,Vg]}}),void 0,{scope:"Persona"}),WP=["160","200","256"],GP={24:OA.size24,28:OA.size28,32:OA.size32,40:OA.size40,48:OA.size48,56:OA.size56,72:OA.size72,100:OA.size100,120:OA.size120};var KP=function(t){var n,r=t.operationData,o=t.size,i=void 0===o?"32":o,a=t.imageUrl,s=t.text,c=t.secondaryText,l=t.hideText,u=void 0!==l&&l,d=t.trackingId,p=(0,e.__rest)(t,["operationData","size","imageUrl","text","secondaryText","hideText","trackingId"]);W_("Persona",p);var h=Ik(),f=Tp();qv("Persona",p.id);var m=function(){var e=yp().componentQosContext,t=th;e&&(t=e);var n=(0,rl.useContext)(t);if(!n)throw new Error("TwoUIComponentQoS: Context is uninitialized");return n}(),g=m.startOperation,v=m.reportSuccess,y=m.reportFailure,b=(0,rl.useState)(!1),_=b[0],C=b[1],w=function(e){return WP.includes(e)}(i),E=w?OA.size120:function(e){return GP[e||"32"]}(i),x=w?Number(i):void 0,S=a?function(e){try{return new URL(e).host}catch(t){return window.location.host}}(a):"unknown-domain",k="".concat("persona.image-load.").concat(S,".").concat(d),T=rb();(0,rl.useEffect)((function(){f.checkUrlAndReportHttp(a),a?(C(!0),d&&g(k,h,!0)):C(!1)}),[a]);var I=function(){return ol().createElement(sP,{height:+i})},A=Xh({selectors:(n={},n.span={fontSize:"96px"},n)}),P="256"===i?{coinProps:{className:A}}:void 0,D=(0,e.__assign)({size:E,coinSize:x,imageUrl:a,text:s,secondaryText:c,hidePersonaDetails:u,onPhotoLoadingStateChange:function(e){e===ES.error?(d&&y(k,h,new Error("Image failed to load")),C(!1)):e===ES.loaded&&(d&&v(k,h),C(!1))},onRenderInitials:_?I:void 0,initialsTextColor:T.palette.neutralHigh,showInitialsUntilImageLoads:_,coinProps:P},p),R=ol().createElement(qP,(0,e.__assign)({},D)),M=ol().createElement(qP,(0,e.__assign)({},D,{showInitialsUntilImageLoads:!0,onRenderInitials:I,onPhotoLoadingStateChange:void 0}));return r?ol().createElement(Ob,{operationData:r,inertView:M,firstLoadView:M,updatingView:M,updateFailedView:R,finishedView:R,failedView:R}):R},YP=function(e){var t=e.horizontal,n=void 0===t||t,r=e.horizontalAlign,o=void 0===r?"space-between":r,i=e.children;El((function(){TC&&TC.forEach((function(e){e.addListener(IC)})),SC.setValue(pC(window.innerWidth))})),wl((function(){TC&&TC.forEach((function(e){return e.removeListener(IC)}))}));var a={root:{backgroundColor:rb().semanticColors.bodyBackground}};return ol().createElement(jv,{horizontal:n,horizontalAlign:o,styles:a},i)},QP=function(t){return qv("BaseLayout"),ol().createElement(tb,{variant:t.variant},ol().createElement(YP,(0,e.__assign)({},t)))},XP=function(e){var t=e.children,n=e.disabled,r=e.iconName;return ol().createElement(jw,{horizontal:!0,grow:!0,verticalAlign:"center"},t,r&&ol().createElement(jw,{padding:XI},ol().createElement(uw,{size:"16px",iconName:iS(r),color:"neutralSecondary",disabled:n})))},JP=function(t){var n=t.buttonProps,r=t.disabled,o=t.columnAlign,i=void 0===o?"end":o,a=t.iconName,s=t.operationalData,c=(0,e.__rest)(t,["buttonProps","disabled","columnAlign","iconName","operationalData"]);return ol().createElement(XP,{iconName:a,disabled:r},ol().createElement(jw,{horizontal:!0,grow:!0,horizontalAlign:"end"===i?"space-between":"start",childrenGap:16,verticalAlign:"center"},ol().createElement(jw,null,ol().createElement(KI,{operationalData:s},YI(c,r))),ol().createElement(jw,{padding:XI},ol().createElement(Xw,null,ol().createElement(DT,(0,e.__assign)({},n,{disabled:r}))))))},$P=function(t){var n=t.calloutProps,r=t.operationalData;return ol().createElement(jw,{horizontalAlign:"start"},ol().createElement(KI,{operationalData:r},ol().createElement(Xw,null,n.map((function(t,n){return ol().createElement(LT,(0,e.__assign)({},t,{key:n}),t.children)})))))},ZP=function(e){var t=e.children,n=e.onCardReflow,r=(0,rl.useRef)(null),o=(0,rl.useState)(1),i=o[0],a=o[1];(0,rl.useLayoutEffect)((function(){var e=function(){if(r.current){var e=r.current.clientWidth,t=eD(e);a(t)}};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),(0,rl.useLayoutEffect)((function(){null===n||void 0===n||n(i)}),[i]);var s,c,l,u=ol().Children.toArray(t),d=(c=i,(s=u).length<=0||0===c?[]:s.reduce((function(e,t,n){return n%c===0?e.push([t]):e[e.length-1].push(t),e}),[]));return ol().createElement("div",{style:{display:"flex"},ref:r},ol().createElement(jv,{tokens:{childrenGap:16},styles:(l=i,{root:{minWidth:244,maxWidth:"".concat(tD(l),"px")}}),grow:!0},d.map((function(e,t){return ol().createElement(Uw,{totalSlots:i,key:t},e.map((function(e,t){return ol().createElement(zw,{slots:1,key:t},e)})))}))))},eD=function(e){return Math.max(Math.floor((e+16)/260),1)},tD=function(e){return 288*e+16*(e-1)},nD=pb(),rD=rl.forwardRef((function(t,n){var r=t.disabled,o=t.required,i=t.inputProps,a=t.name,s=t.ariaLabel,c=t.ariaLabelledBy,l=t.ariaDescribedBy,u=t.ariaPositionInSet,d=t.ariaSetSize,p=t.title,h=t.checkmarkIconProps,f=t.styles,m=t.theme,g=t.className,v=t.boxSide,y=void 0===v?"start":v,b=Ik("checkbox-",t.id),_=rl.useRef(null),C=Ay(_,n),w=rl.useRef(null),E=SI(t.checked,t.defaultChecked,t.onChange),x=E[0],S=E[1],k=SI(t.indeterminate,t.defaultIndeterminate),T=k[0],I=k[1];yy(_);var A=nD(f,{theme:m,className:g,disabled:r,indeterminate:T,checked:x,reversed:"start"!==y,isUsingCustomLabelRender:!!t.onRenderLabel}),P=rl.useCallback((function(e){T?(S(!!x,e),I(!1)):S(!x,e)}),[S,I,T,x]),D=rl.useCallback((function(e){return e&&e.label?rl.createElement("span",{className:A.text,title:e.title},e.label):null}),[A.text]),R=rl.useCallback((function(e){if(w.current){var t=!!e;w.current.indeterminate=t,I(t)}}),[I]);!function(e,t,n,r,o){rl.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},get indeterminate(){return!!n},set indeterminate(e){r(e)},focus:function(){o.current&&o.current.focus()}}}),[o,t,n,r])}(t,x,T,R,w),rl.useEffect((function(){return R(T)}),[R,T]);var M=t.onRenderLabel||D,N=T?"mixed":void 0,L=(0,e.__assign)((0,e.__assign)({className:A.input,type:"checkbox"},i),{checked:!!x,disabled:r,required:o,name:a,id:b,title:p,onChange:P,"aria-disabled":r,"aria-label":s,"aria-labelledby":c,"aria-describedby":l,"aria-posinset":u,"aria-setsize":d,"aria-checked":N});return rl.createElement("div",{className:A.root,title:p,ref:C},rl.createElement("input",(0,e.__assign)({},L,{ref:w,title:p,"data-ktp-execute-target":!0})),rl.createElement("label",{className:A.label,htmlFor:b},rl.createElement("div",{className:A.checkbox,"data-ktp-target":!0},rl.createElement(HS,(0,e.__assign)({iconName:"CheckMark"},h,{className:A.checkmark}))),M(t,D)))}));rD.displayName="CheckboxBase";var oD={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},iD="20px",aD="200ms",sD="cubic-bezier(.4, 0, .23, 1)",cD=ib(rD,(function(t){var n,r,o,i,a,s,c,l,u,d,p,h,f,m,g,v,y,b,_=t.className,C=t.theme,w=t.reversed,E=t.checked,x=t.disabled,S=t.isUsingCustomLabelRender,k=t.indeterminate,T=C.semanticColors,I=C.effects,A=C.palette,P=C.fonts,D=og(oD,C),R=T.inputForegroundChecked,M=A.neutralSecondary,N=A.neutralPrimary,L=T.inputBackgroundChecked,O=T.inputBackgroundChecked,F=T.disabledBodySubtext,B=T.inputBorderHovered,H=T.inputBackgroundCheckedHovered,z=T.inputBackgroundChecked,U=T.inputBackgroundCheckedHovered,V=T.inputBackgroundCheckedHovered,j=T.inputTextHovered,q=T.disabledBodySubtext,W=T.bodyText,G=T.disabledText,K=[(n={content:'""',borderRadius:I.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:x?F:L,transitionProperty:"border-width, border, border-color",transitionDuration:aD,transitionTimingFunction:sD},n[Wm]={borderColor:"WindowText"},n)];return{root:[D.root,{position:"relative",display:"flex"},w&&"reversed",E&&"is-checked",!x&&"is-enabled",x&&"is-disabled",!x&&[!E&&(r={},r[":hover ."+D.checkbox]=(o={borderColor:B},o[Wm]={borderColor:"Highlight"},o),r[":focus ."+D.checkbox]={borderColor:B},r[":hover ."+D.checkmark]=(i={color:M,opacity:"1"},i[Wm]={color:"Highlight"},i),r),E&&!k&&(a={},a[":hover ."+D.checkbox]={background:U,borderColor:V},a[":focus ."+D.checkbox]={background:U,borderColor:V},a[Wm]=(s={},s[":hover ."+D.checkbox]={background:"Highlight",borderColor:"Highlight"},s[":focus ."+D.checkbox]={background:"Highlight"},s[":focus:hover ."+D.checkbox]={background:"Highlight"},s[":focus:hover ."+D.checkmark]={color:"Window"},s[":hover ."+D.checkmark]={color:"Window"},s),a),k&&(c={},c[":hover ."+D.checkbox+", :hover ."+D.checkbox+":after"]=(l={borderColor:H},l[Wm]={borderColor:"WindowText"},l),c[":focus ."+D.checkbox]={borderColor:H},c[":hover ."+D.checkmark]={opacity:"0"},c),(u={},u[":hover ."+D.text+", :focus ."+D.text]=(d={color:j},d[Wm]={color:x?"GrayText":"WindowText"},d),u)],_],input:(p={position:"absolute",background:"none",opacity:0},p[".ms-Fabric--isFocusVisible &:focus + label::before"]=(h={outline:"1px solid "+C.palette.neutralSecondary,outlineOffset:"2px"},h[Wm]={outline:"1px solid WindowText"},h),p),label:[D.label,C.fonts.medium,{display:"flex",alignItems:S?"center":"flex-start",cursor:x?"default":"pointer",position:"relative",userSelect:"none"},w&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[D.checkbox,(f={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:iD,width:iD,border:"1px solid "+N,borderRadius:I.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:aD,transitionTimingFunction:sD,overflow:"hidden",":after":k?K:null},f[Wm]=(0,e.__assign)({borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),f),k&&{borderColor:L},w?{marginLeft:4}:{marginRight:4},!x&&!k&&E&&(m={background:z,borderColor:O},m[Wm]={background:"Highlight",borderColor:"Highlight"},m),x&&(g={borderColor:F},g[Wm]={borderColor:"GrayText"},g),E&&x&&(v={background:q,borderColor:F},v[Wm]={background:"Window"},v)],checkmark:[D.checkmark,(y={opacity:E&&!k?"1":"0",color:R},y[Wm]=(0,e.__assign)({color:x?"GrayText":"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y)],text:[D.text,(b={color:x?G:W,fontSize:P.medium.fontSize,lineHeight:"20px"},b[Wm]=(0,e.__assign)({color:x?"GrayText":"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),b),w?{marginRight:4}:{marginLeft:4}]}}),void 0,{scope:"Checkbox"}),lD=function(t){var n=t.operationData,r=t.label,o=t.labelPosition,i=t["aria-label"],a=t.onChange,s=t.disabled,c=t.checked,l=t.id,u=(0,e.__rest)(t,["operationData","label","labelPosition","aria-label","onChange","disabled","checked","id"]);qv("Checkbox",l),W_("Checkbox",u);var d={ariaLabel:i,boxSide:o||"start",onChange:s?void 0:a,disabled:s,checked:c,id:l,inputProps:(0,e.__assign)((0,e.__assign)({},u),{"data-bi-ctrlstate":!!c})},p=function(t){return r&&"string"!==typeof r?ol().createElement(cD,(0,e.__assign)({},d,{onRenderLabel:function(){return ol().createElement(Qx,(0,e.__assign)({},r))}},t)):ol().createElement(cD,(0,e.__assign)({},d,{label:r},t))},h=(0,rl.useRef)(null);if(n){var f=void 0;return f=r?{"aria-label":n.errorProps.targetOrTriggerButton["aria-label"],"data-bi-id":n.errorProps.targetOrTriggerButton["data-bi-id"]}:h,ol().createElement(oh,{operationData:n.progressViewOperationData,updatingView:ol().createElement(jw,{horizontal:!0,childrenGap:8,verticalAlign:"center"},d.label&&p({checked:!c,disabled:!0}),ol().createElement(RI,null)),finishedView:ol().createElement(jw,{horizontal:!0,childrenGap:8,verticalAlign:"center"},p()),updateFailedView:ol().createElement(jw,{horizontal:!0,childrenGap:8,verticalAlign:"center"},ol().createElement("div",{ref:h},p()),ol().createElement(wT,(0,e.__assign)({},n.errorProps,{targetOrTriggerButton:f})))})}return p()},uD=pb(),dD={imageSize:{width:32,height:32}},pD=function(t){var n=Iy((0,e.__assign)((0,e.__assign)({},dD),{key:t.itemKey}),t),r=n.ariaLabel,o=n.focused,i=n.required,a=n.theme,s=n.iconProps,c=n.imageSrc,l=n.imageSize,u=n.disabled,d=n.checked,p=n.id,h=n.styles,f=n.name,m=(0,e.__rest)(n,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name"]),g=uD(h,{theme:a,hasIcon:!!s,hasImage:!!c,checked:d,disabled:u,imageIsLarge:!!c&&(l.width>71||l.height>71),imageSize:l,focused:o}),v=Nv(m,_v),y=v.className,b=(0,e.__rest)(v,["className"]),_=function(){return rl.createElement("span",{id:n.labelId,className:"ms-ChoiceFieldLabel"},n.text)},C=function(){var t=n.imageAlt,r=void 0===t?"":t,o=n.selectedImageSrc,i=(n.onRenderLabel?qS(n.onRenderLabel,_):_)(n);return rl.createElement("label",{htmlFor:p,className:g.field},c&&rl.createElement("div",{className:g.innerField},rl.createElement("div",{className:g.imageWrapper},rl.createElement(RS,(0,e.__assign)({src:c,alt:r},l))),rl.createElement("div",{className:g.selectedImageWrapper},rl.createElement(RS,(0,e.__assign)({src:o,alt:r},l)))),s&&rl.createElement("div",{className:g.innerField},rl.createElement("div",{className:g.iconWrapper},rl.createElement(HS,(0,e.__assign)({},s)))),c||s?rl.createElement("div",{className:g.labelWrapper},i):i)},w=n.onRenderField,E=void 0===w?C:w;return rl.createElement("div",{className:g.root},rl.createElement("div",{className:g.choiceFieldWrapper},rl.createElement("input",(0,e.__assign)({"aria-label":r,id:p,className:Wv(g.input,y),type:"radio",name:f,disabled:u,checked:d,required:i},b,{onChange:function(e){var t;null===(t=n.onChange)||void 0===t||t.call(n,e,n)},onFocus:function(e){var t;null===(t=n.onFocus)||void 0===t||t.call(n,e,n)},onBlur:function(e){var t;null===(t=n.onBlur)||void 0===t||t.call(n,e)}})),E(n,C)))};pD.displayName="ChoiceGroupOption";var hD={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"},fD="200ms",mD="cubic-bezier(.4, 0, .23, 1)";function gD(e,t){var n,r;return["is-inFocus",{selectors:(n={},n[".ms-Fabric--isFocusVisible &"]={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:(r={},r[Wm]={borderColor:"WindowText",borderWidth:t?1:2},r)}}},n)}]}function vD(e,t,n){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:fD,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 yD=ib(pD,(function(t){var n,r,o,i,a,s=t.theme,c=t.hasIcon,l=t.hasImage,u=t.checked,d=t.disabled,p=t.imageIsLarge,h=t.focused,f=t.imageSize,m=s.palette,g=s.semanticColors,v=s.fonts,y=og(hD,s),b=m.neutralPrimary,_=g.inputBorderHovered,C=g.inputBackgroundChecked,w=m.themeDark,E=g.disabledBodySubtext,x=g.bodyBackground,S=m.neutralSecondary,k=g.inputBackgroundChecked,T=m.themeDark,I=g.disabledBodySubtext,A=m.neutralDark,P=g.focusBorder,D=g.inputBorderHovered,R=g.inputBackgroundChecked,M=m.themeDark,N=m.neutralLighter,L={selectors:{".ms-ChoiceFieldLabel":{color:A},":before":{borderColor:u?w:_},":after":[!c&&!l&&!u&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:S},u&&{borderColor:T,background:T}]}},O={borderColor:u?M:D,selectors:{":before":{opacity:1,borderColor:u?w:_}}},F=[{content:'""',display:"inline-block",backgroundColor:x,borderWidth:1,borderStyle:"solid",borderColor:b,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:fD,transitionTimingFunction:mD,borderRadius:"50%"},d&&{borderColor:E,selectors:(n={},n[Wm]=(0,e.__assign)({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},u&&{borderColor:d?E:C,selectors:(r={},r[Wm]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},r)},(c||l)&&{top:3,right:3,left:"auto",opacity:u?1:0}],B=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:fD,transitionTimingFunction:mD,boxSizing:"border-box"},u&&{borderWidth:5,borderStyle:"solid",borderColor:d?I:k,background:k,left:5,top:5,width:10,height:10,selectors:(o={},o[Wm]={borderColor:"Highlight",forcedColorAdjust:"none"},o)},u&&(c||l)&&{top:8,right:8,left:"auto"}];return{root:[y.root,s.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:g.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!c&&!l&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},l&&"ms-ChoiceField--image",c&&"ms-ChoiceField--icon",(c||l)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:N,height:"100%"}],choiceFieldWrapper:[y.choiceFieldWrapper,h&&gD(P,c||l)],input:[y.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},d&&"is-disabled"],field:[y.field,u&&y.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!d&&L,":focus":!d&&L,":before":F,":after":B}},c&&"ms-ChoiceField--icon",l&&"ms-ChoiceField-field--image",(c||l)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:fD,transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},u&&{borderColor:R},(c||l)&&!d&&{selectors:{":hover":O,":focus":O}},d&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:g.disabledBodyText,selectors:(i={},i[Wm]=(0,e.__assign)({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},u&&d&&{borderColor:N}],innerField:[y.innerField,l&&{height:f.height,width:f.width},(c||l)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(c||l)&&p&&{paddingLeft:24,paddingRight:24},(c||l)&&d&&{opacity:.25,selectors:(a={},a[Wm]={color:"GrayText",opacity:1},a)}],imageWrapper:vD(!1,y.imageWrapper,u),selectedImageWrapper:vD(!0,y.imageWrapper,u),iconWrapper:[y.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[y.labelWrapper,v.medium,(c||l)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*f.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}}),void 0,{scope:"ChoiceGroupOption"}),bD=pb(),_D=function(e,t){return t+"-"+e.key},CD=function(e,t){return void 0===t?void 0:function(e,t){var n=Yb(e,t);if(!(n<0))return e[n]}(e,(function(e){return e.key===t}))},wD=function(e,t,n){var r=CD(e,t)||e.filter((function(e){return!e.disabled}))[0],o=r&&document.getElementById(_D(r,n));o&&(o.focus(),$m(!0,o))},ED=rl.forwardRef((function(t,n){var r=t.className,o=t.theme,i=t.styles,a=t.options,s=void 0===a?[]:a,c=t.label,l=t.required,u=t.disabled,d=t.name,p=t.defaultSelectedKey,h=t.componentRef,f=t.onChange,m=Ik("ChoiceGroup"),g=Ik("ChoiceGroupLabel"),v=Nv(t,Mv,["onChange","className","required"]),y=bD(i,{theme:o,className:r,optionsContainIconOrImage:s.some((function(e){return!(!e.iconProps&&!e.imageSrc)}))}),b=t.ariaLabelledBy||(c?g:t["aria-labelledby"]),_=SI(t.selectedKey,p),C=_[0],w=_[1],E=rl.useState(),x=E[0],S=E[1],k=rl.useRef(null),T=Ay(k,n);!function(e,t,n,r){rl.useImperativeHandle(r,(function(){return{get checkedOption(){return CD(e,t)},focus:function(){wD(e,t,n)}}}),[e,t,n])}(s,C,m,h),yy(k);var I=rl.useCallback((function(e,t){var n;t&&(S(t.itemKey),null===(n=t.onFocus)||void 0===n||n.call(t,e))}),[]),A=rl.useCallback((function(e,t){var n;S(void 0),null===(n=null===t||void 0===t?void 0:t.onBlur)||void 0===n||n.call(t,e)}),[]),P=rl.useCallback((function(e,t){var n;t&&(w(t.itemKey),null===(n=t.onChange)||void 0===n||n.call(t,e),null===f||void 0===f||f(e,CD(s,t.itemKey)))}),[f,s,w]),D=rl.useCallback((function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&wD(s,C,m)}),[s,C,m]);return rl.createElement("div",(0,e.__assign)({className:y.root},v,{ref:T}),rl.createElement("div",(0,e.__assign)({role:"radiogroup"},b&&{"aria-labelledby":b},{onFocus:D}),c&&rl.createElement(Nw,{className:y.label,required:l,id:g,disabled:u},c),rl.createElement("div",{className:y.flexContainer},s.map((function(t){return rl.createElement(yD,(0,e.__assign)({itemKey:t.key},t,{key:t.key,onBlur:A,onFocus:I,onChange:P,focused:t.key===x,checked:t.key===C,disabled:t.disabled||u,id:_D(t,m),labelId:t.labelId||g+"-"+t.key,name:d||m,required:l}))})))))}));ED.displayName="ChoiceGroup";var xD,SD,kD,TD,ID,AD={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},PD=ib(ED,(function(e){var t=e.className,n=e.optionsContainIconOrImage,r=e.theme,o=og(AD,r);return{root:[t,o.root,r.fonts.medium,{display:"block"}],flexContainer:[o.flexContainer,n&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}}),void 0,{scope:"ChoiceGroup"}),DD=function(e){return["selectButton","mediaButton"].includes(e)?{root:{width:"100%"},flexContainer:{display:"flex",flexWrap:"wrap",justifyContent:"space-between"}}:{}},RD="0px 0px 12px 0px",MD="8px",ND=function(e){return e?"bodyTertiaryText":"bodyPrimaryText"},LD=function(e,t,n,r,o,i){var a=o?e.palette.neutralLighter:e.palette.neutralHigh;return{backgroundColor:i?e.palette.themeLighterAlt:a,padding:t?"12px":"24px",width:"100%",minHeight:t?"auto":n,textAlign:r,borderRadius:MD}},OD=function(t,n,r,o,i){return{root:{width:n||i?"100%":"calc(50% - ".concat("8px",")"),paddingTop:8},choiceFieldWrapper:(0,e.__assign)({width:"100%",height:"100%",display:"flex"},FD(t,r,o))}},FD=function(e,t,n){var r;return n?{}:((r={boxSizing:"content-box",border:"solid",borderWidth:t?"2px":"1px",padding:t?"0px":"1px",borderRadius:MD,borderColor:t?e.palette.themePrimary:e.palette.neutralTertiary})[EC]={borderWidth:t?"4px":"1px",padding:t?"0px":"3px"},r.selectors={":focus-within":{outline:"3px solid",outlineColor:e.palette.neutralPrimary,borderWidth:"2px",padding:"0px",borderRadius:MD},":hover":{borderColor:t?void 0:e.palette.neutralPrimary,boxShadow:Zp.depth16,transitionDuration:Lw}," input":{cursor:"pointer"}},r)},BD=function(t,n,r,o,i){var a=t.trim().length>0,s=i?"0px 0px 6px":"0px 0px 14px";return ol().createElement(ol().Fragment,null,ol().createElement(jw,{horizontal:!0},a&&ol().createElement(jw,{padding:"selectButton"===o?s:RD,grow:1},ol().createElement(Jw,{variant:ND(n),weightOverride:"bold"},t)),r&&ol().createElement(jw,{padding:"selectButton"===o?s:RD,horizontalAlign:"end",grow:1},ol().createElement(Jw,{variant:ND(n),weightOverride:r.isBold?"bold":void 0},r.text))),i&&ol().createElement(dI,(0,e.__assign)({padding:"0px 0px 25px"},i),ol().createElement(Jw,{variant:ND(n),weightOverride:"bold"},i.text)))},HD=function(t,n){return ol().createElement(ol().Fragment,null,t&&t.map((function(t,r){return"media"===t.lineItemType?ol().createElement(dI,(0,e.__assign)({key:r},t,{disabled:n}),ol().createElement(Jw,{variant:ND(n),weightOverride:t.isBold?"bold":void 0},t.text)):ol().createElement(Jw,{key:r,variant:ND(n),weightOverride:t.isBold?"bold":void 0},t.text)})))},zD=function(e){switch(e){case"left":case"right":return"start";case"top":case"bottom":return"center"}},UD=function(e){return{root:{width:"top"===e||"bottom"===e?"100%":"100px",overflow:"hidden",display:"flex",paddingTop:"bottom"===e?"8px":void 0,paddingBottom:"top"===e?"8px":void 0,justifyContent:"center",alignItems:"center",paddingRight:"left"===e?"24px":void 0}}},VD=function(e,t){return function(){return t&&"left"!==e?"MediaButtonChoiceGroup must have mediaPosition set to `left` when provided a topRightText":void 0}},jD=function(t){var n=t.text,r=t.lines,o=t.disabled,i=t.height,a=t.mediaPosition,s=t.mediaProp,c=t.selected,l=t.topRightText,u=t.optionType,d=AC(),p=rb(),h=PC(d),f=(0,e.__assign)((0,e.__assign)({},s),{shouldFadeIn:"image"!==s.imageType&&void 0});return Wb("MediaButtonChoiceGroup",[VD(a,l)]),ol().createElement(jv,(0,e.__assign)({},function(t,n,r,o,i,a){void 0===r&&(r="auto");var s=["left","right"].includes(o),c=["bottom","right"].includes(o),l=["top","bottom"].includes(o),u=s?"left":"center";return{horizontal:s,reversed:c,verticalAlign:l?"center":"start",horizontalAlign:"right"===o?"space-between":l?"center":void 0,styles:{root:(0,e.__assign)({},LD(t,n,r,u,i,a))}}}(p,h,i,a,o,c)),ol().createElement(jv,{styles:UD(a)},ol().createElement(dI,{size:"xl",padding:"0px",image:f,disabled:o})),ol().createElement(jw,{width:"100%"},BD(n,o,l,u),ol().createElement(jw,{horizontalAlign:zD(a)},HD(r,o))))},qD=function(t,n,r,o,i,a){return void 0===r&&(r="auto"),{root:(0,e.__assign)({},LD(t,n,r,o,i,a))}},WD=function(e){switch(e){case"left":return"start";case"center":return"center";case"right":return"end"}},GD=function(e,t){return function(){return t&&"left"!==e?"SelectButtonChoiceGroup must have textAlignment set to `left` when provided a topRightText":void 0}},KD=function(e){var t=e.text,n=e.lines,r=e.disabled,o=e.height,i=e.textAlignment,a=e.selected,s=e.topRightText,c=e.optionType,l=e.subTextWithMedia,u=AC(),d=rb(),p=PC(u);return Wb("SelectButtonChoiceGroup",[GD(i,s)]),ol().createElement(jv,{styles:qD(d,p,o,i,r,a)},BD(t,r,s,c,l),ol().createElement(jw,{horizontalAlign:WD(i)},HD(n,r)))},YD=function(t){var n=t.label,r=t.onChange,o=t.selectedKey,i=t.textAlignment,a=void 0===i?"left":i,s=t.operationData,c=t.isSingleColumn,l=(0,e.__rest)(t,["label","onChange","selectedKey","textAlignment","operationData","isSingleColumn"]);qv("ChoiceGroup",l.id);var u=(0,rl.useState)(o||void 0),d=u[0],p=u[1];(0,rl.useEffect)((function(){p(o)}),[o]);var h=AC(),f=rb(),m=PC(h),g=["selectButton","mediaButton"].includes(l.optionType),v=function(t){var n;return n="selectButton"===l.optionType?l.options.map((function(n){return(0,e.__assign)((0,e.__assign)({},n),{styles:OD(f,m,n.key===d,t||n.disabled,c),onRenderField:function(){return ol().createElement(KD,(0,e.__assign)({},n,{height:c?"auto":l.height,textAlignment:a,selected:n.key===d,disabled:t||n.disabled,optionType:l.optionType}))}})})):"mediaButton"===l.optionType?l.options.map((function(n){return(0,e.__assign)((0,e.__assign)({},n),{styles:OD(f,m,n.key===d,t||n.disabled,c),onRenderField:function(){var r;return ol().createElement(jD,(0,e.__assign)({},n,{height:c?"auto":l.height,mediaPosition:null!==(r=l.mediaPosition)&&void 0!==r?r:"left",selected:n.key===d,disabled:t||n.disabled,optionType:l.optionType}))}})})):l.options.slice(),n},y=l.optionType,b=(l.options,l.height,l.mediaPosition,(0,e.__rest)(l,["optionType","options","height","mediaPosition"]));W_("ChoiceGroup",b);var _=(0,e.__assign)({label:n,selectedKey:o,options:v(),onChange:function(e,t){g&&!o&&p(t.key),r&&r(t,e)},styles:DD(y)},b);return s?ol().createElement(oh,{operationData:s.progressViewOperationData,updatingView:ol().createElement(ol().Fragment,null,ol().createElement(jw,{horizontal:!0,childrenGap:8},ol().createElement(Nw,{disabled:!0},n),ol().createElement(RI,null)),ol().createElement(PD,(0,e.__assign)({},_,{label:"",disabled:!0,options:v(!0)}))),updateFailedView:ol().createElement(ol().Fragment,null,ol().createElement(jw,{horizontal:!0,childrenGap:8},ol().createElement(Nw,null,n),ol().createElement(jw,{padding:"8px 0px 0px 0px"},ol().createElement(wT,(0,e.__assign)({},s.errorProps)))),ol().createElement(PD,(0,e.__assign)({},_,{label:""}))),finishedView:ol().createElement(PD,(0,e.__assign)({},_))}):ol().createElement(PD,(0,e.__assign)({},_))},QD=function(e){var t;return{root:{background:e.palette.neutralHigh,boxSizing:"border-box",alignItems:"center",verticalAlign:"baseline",paddingLeft:"8px",flexDirection:"row-reverse",borderRadius:"2px",margin:"0 8px 8px 0",selectors:(t={":focus":{background:e.palette.neutralHigh,border:"1px solid ".concat(e.palette.black)},":hover":{background:e.palette.neutralLighter},".choiceSummaryIcon:hover":{background:e.palette.neutralLight,color:e.palette.neutralPrimary},":disabled":{background:e.palette.themePrimary,color:e.palette.themeDark},".ms-Fabric--isFocusVisible &:focus:after":{borderColor:e.palette.neutralSecondary,outline:"none"}},t[Wm]={border:"1px solid WindowText",".choiceSummaryIcon":{"forced-color-adjust":"none",color:"ButtonText"},".choiceSummaryIcon:hover, .choiceSummaryIcon:focus":{background:"Highlight",color:"Window"}},t),maxWidth:"288px",minWidth:"34px"}}},XD={listStyle:"none",display:"inline-flex"},JD=(0,e.__assign)((0,e.__assign)({},XD),{verticalAlign:"top"}),$D=function(t){var n=t.label,r=t.onClick,o=t.divRef,i=(0,e.__rest)(t,["label","onClick","divRef"]);W_("ChoiceSummaryOption",i);var a=rb(),s=i.disabled?function(e){var t;return{root:{background:e.palette.neutralLighter,boxSizing:"border-box",alignItems:"center",verticalAlign:"baseline",paddingLeft:"8px",flexDirection:"row-reverse",borderRadius:"2px",margin:"0 8px 8px 0",maxWidth:"288px",minWidth:"34px",selectors:(t={},t[Wm]={background:"GrayText",".choiceSummaryIcon":{background:"GrayText"}},t)}}}(a):QD(a),c=function(e){return{root:{marginLeft:"4px",color:e.palette.neutralPrimary,selectors:{":hover":{color:e.palette.neutralPrimary},":disabled":{color:e.palette.neutralTertiary}}}}}(a),l=i.disabled?"bodyTertiaryText":"bodyPrimaryText";return ol().createElement("li",{style:XD},ol().createElement(jv,{horizontal:!0,styles:s},ol().createElement("div",{ref:o},ol().createElement(bT,(0,e.__assign)({className:"choiceSummaryIcon",styles:c,iconProps:{iconName:"Cancel"},onClick:i.disabled?function(){}:r},i))),ol().createElement(Jw,{variant:l},n)))},ZD=function(t){var n=t.children,r=(0,e.__rest)(t,["children"]);return ol().createElement("ul",(0,e.__assign)({"aria-live":"polite"},r),n)},eR=function(t){var n=t.errorMessage,r=t.optionProps,o=(0,rl.useRef)(null);return ol().createElement(ol().Fragment,null,ol().createElement($D,(0,e.__assign)({divRef:o},r)),ol().createElement(wT,{targetOrTriggerButton:o,errorMessageAriaLabel:n,errorMessage:n}))},tR=function(t){var n=t.options,r=(0,e.__rest)(t,["options"]);qv("ChoiceSummary",r.id);var o=rb();if(r.operationData){var i=r.operationData,a=function(e,t){return ol().createElement("li",{style:JD,key:t},ol().createElement(jv,{horizontal:!0,styles:QD(o)},ol().createElement(Dw,{size:gw.xSmall,style:{padding:"10px",marginLeft:"4px"}}),ol().createElement(Jw,null,e)))},s=n.map((function(t,n){var o,s=r.disabled||t.disabled,c="".concat(i.progressViewOperationData.operationName,".").concat(t.id);return ol().createElement(oh,{key:t.id,operationData:(0,e.__assign)((0,e.__assign)({},i.progressViewOperationData),{operationName:c}),updatingView:a(t.label,n),finishedView:ol().createElement($D,(0,e.__assign)({},t,{disabled:s})),updateFailedView:ol().createElement(eR,{errorMessage:null===(o=r.operationData)||void 0===o?void 0:o.errorMessage,optionProps:t})})}));return ol().createElement(ZD,null,s)}var c=n.map((function(t,n){var o=r.disabled||t.disabled;return ol().createElement($D,(0,e.__assign)({key:n},t,{disabled:o}))}));return ol().createElement(ZD,(0,e.__assign)({},r),c)},nR=function(e){var t=e.children;return ol().createElement(jw,null,t)},rR=function(e){var t=e.count,n=e.indentWidth,r=void 0===n?36:n,o=e.role,i=void 0===o?"presentation":o,a=t*r;return t>0?rl.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:a},role:i}):null},oR=function(e,t){return function(){return e&&t?"Forbidden passing listItemRole when removeRole prop is true":void 0}},iR=function(t,n,r,o,i,a,s){var c,l,u,d,p,h=n||"neutralHigh",f=i?{cursor:"pointer",":hover":(c={background:t.palette.neutralLighterAlt},c[Wm]={background:"highlight"},c),":active":(l={background:t.palette.neutralLight},l[Wm]={background:"highlight"},l)}:void 0,m=s?{backgroundColor:t.palette.themeLighterAlt,border:"1px solid ".concat(t.palette.themeSecondary),":hover":(u={backgroundColor:t.palette.themeLighterAlt,borderColor:t.palette.themeDark},u[Wm]={backgroundColor:"highlight"},u),":active":(d={backgroundColor:t.palette.themeLighter,borderColor:t.palette.themeDark},d[Wm]={backgroundColor:"highlight"},d)}:void 0,g=((p={})[Wm]={border:"1px solid WindowText"},p[":focus"]={outlineOffset:"-2px"},p);return{root:(0,e.__assign)((0,e.__assign)((0,e.__assign)({backgroundColor:sw(t,h),padding:r,borderBottom:a?"1px solid ".concat(t.palette.white):void 0,minHeight:o},f),m),g)}},aR="48px",sR=function(t){var n=t.backgroundColor,r=t.padding,o=t.children,i=t.groupSpacerNestingDepth,a=t.onClickProps,s=t.onEnter,c=t.onLeave,l=t.showDivider,u=void 0===l||l,d=t.disabled,p=t.selected,h=t["data-is-focusable"],f=void 0===h||h,m=t.listItemRole,g=t.horizontalStack,v=void 0===g||g,y=(0,e.__rest)(t,["backgroundColor","padding","children","groupSpacerNestingDepth","onClickProps","onEnter","onLeave","showDivider","disabled","selected","data-is-focusable","listItemRole","horizontalStack"]),b=Tp();W_("ListItemCanvas",y);var _,C=rb();(0,rl.useEffect)((function(){Wb("ListItemCanvas",[oR(y.removeRole,m)])})),a&&!d&&(_=(0,e.__assign)((0,e.__assign)({},a),{onClick:function(e){b.reportClick({clickId:a["data-bi-id"],pageArea:a.pageArea}),a.onClick(e)}}));return ol().createElement(jv,(0,e.__assign)({"data-is-focusable":f,tabIndex:f?0:-1,grow:!0,verticalAlign:"center",styles:iR(C,n,r,aR,!!a&&!d,u,p),role:y.removeRole?void 0:m||"listitem"},y,_,{"aria-label":y["aria-label"],onMouseEnter:s,onTouchStart:s,onFocus:s,onMouseLeave:c,onTouchCancel:c,onBlur:c}),ol().createElement(G_,{direction:"horizontal"},ol().createElement(jv,{verticalAlign:"center",horizontal:v,grow:!0},void 0!==i&&0!==i&&ol().createElement(qw,null,ol().createElement(rR,{count:i})),_&&ol().createElement(Xw,null,ol().createElement(fT,(0,e.__assign)({text:_["aria-label"]},_,{id:_.id?"".concat(_.id,"-hidden"):void 0,styles:Fw}))),ol().createElement(qw,{grow:!0},o))))},cR=function(t){return ol().createElement(lR,(0,e.__assign)({},t))},lR=function(t){var n=t.image,r=t.imageSize,o=void 0===r?"md":r,i=t.children,a=t.groupSpacerNestingDepth,s=t.onClickProps,c=t.backgroundColor,l=t.actions,u=t.disabled,d=void 0!==u&&u,p=t.showDivider,h=void 0!==p&&p,f=(0,e.__rest)(t,["image","imageSize","children","groupSpacerNestingDepth","onClickProps","backgroundColor","actions","disabled","showDivider"]);W_("BaseFeedListItemInternal",f);var m,g,v,y,b=AC(),_=ol().createElement(ol().Fragment,null);switch(l&&(Wb("BaseFeedListItemInternal",[(m=l.length,function(){return m>3?"BaseFeedListItem supports up to ".concat(3," action slots"):void 0})]),_=["xl","xxl","xxxl"].includes(b)?ol().createElement(jw,{verticalAlign:"center",type:"slots",totalSlots:l.length},l.map((function(e,t){return ol().createElement(qw,{key:e.key||t,slots:1},d?ol().cloneElement(e,{disabled:d}):e)}))):ol().createElement(jw,{verticalAlign:"center",horizontal:!0,horizontalAlign:["s","m"].includes(b)?"end":"start"},l.map((function(e,t){return ol().createElement(qw,{key:e.key||t},d?ol().cloneElement(e,{disabled:d}):e)})))),b){case"s":y=(g=4)-(v=(null===l||void 0===l?void 0:l.length)?1:0);break;case"m":case"l":y=(g=6)-(v=(null===l||void 0===l?void 0:l.length)?2:0);break;case"xl":y=(g=12)-(v=l?2*l.length:0);break;case"xxl":case"xxxl":y=(g=12)-(v=l?2*l.length:0)-1}return ol().createElement(sR,{groupSpacerNestingDepth:a,onClickProps:s,backgroundColor:c,showDivider:h},ol().createElement(Uw,(0,e.__assign)({totalSlots:g,verticalAlign:"center"},f),ol().createElement(zw,{slots:y},ol().createElement(dI,{disabled:d,size:o,image:n,padding:"2px 0 2px 16px"},i)),v&&ol().createElement(zw,{slots:v},_)))},uR=function(e){var t,n,r,o,i,a=e.backgroundColor,s=void 0===a?"neutralMed":a,c=AC();switch(c){case"s":r=(t=4)-(n=1),o=20,i=131;break;case"m":case"l":r=(t=6)-(n=2),o=20,i=166;break;case"xl":r=(t=12)-(n=6),o=20,i=277;break;case"xxl":case"xxxl":r=(t=12)-(n=6)-1,o=20,i=277}return ol().createElement(sR,{backgroundColor:s},ol().createElement(Uw,{totalSlots:t},ol().createElement(zw,{slots:r},"s"===c?ol().createElement(jw,{horizontal:!0,height:49,verticalAlign:"center"},ol().createElement(qw,{padding:"0 0 0 11px",key:"1"},ol().createElement(EI,{height:16,width:16})),ol().createElement(qw,{padding:"0 0 0 9px",key:"2"},ol().createElement(EI,{height:o,width:i}))):ol().createElement(jw,{horizontal:!0,height:49,verticalAlign:"center"},ol().createElement(qw,{padding:"0 0 0 16px",key:"1"},ol().createElement(EI,{height:16,width:16})),ol().createElement(qw,{padding:"0 0 0 10px",key:"2"},ol().createElement(EI,{height:32,width:32})),ol().createElement(qw,{padding:"0 0 0 9px",key:"3"},ol().createElement(EI,{height:o,width:i})))),["l","m","s"].includes(c)?ol().createElement(zw,{slots:n},ol().createElement(jw,{horizontal:!0,height:49,verticalAlign:"center"},ol().createElement(qw,null,ol().createElement(EI,{height:16,width:"s"===c?63:145})))):ol().createElement(zw,{slots:n},ol().createElement(jw,{type:"slots",totalSlots:3,verticalAlign:"center",height:"100%"},ol().createElement(qw,{slots:1,key:"1"},ol().createElement(EI,{height:16,width:100})),ol().createElement(qw,{slots:1,key:"2"},ol().createElement(EI,{height:16,width:100})),ol().createElement(qw,{slots:1,key:"3"},ol().createElement(EI,{height:16,width:100}))))))};!function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(xD||(xD={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(SD||(SD={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(kD||(kD={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(TD||(TD={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(ID||(ID={}));var dR,pR={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"},hR={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},fR={rowHeight:42,compactRowHeight:32},mR=(0,e.__assign)((0,e.__assign)({},fR),{rowVerticalPadding:11,compactRowVerticalPadding:6}),gR=pb(),vR=function(e){return function(t){return t?t.column.isIconOnly?rl.createElement("span",{className:e.accessibleLabel},t.column.name):rl.createElement(rl.Fragment,null,t.column.name):null}},yR=function(t){function n(n){var r=t.call(this,n)||this;return r._root=rl.createRef(),r._onRenderFilterIcon=function(t){return function(t){var n=t.columnProps,r=(0,e.__rest)(t,["columnProps"]),o=(null===n||void 0===n?void 0:n.useFastIcons)?OS:HS;return rl.createElement(o,(0,e.__assign)({},r))}},r._onRenderColumnHeaderTooltip=function(e){return rl.createElement("span",{className:e.hostClassName},e.children)},r._onColumnClick=function(e){var t=r.props,n=t.onColumnClick,o=t.column;o.columnActionsMode!==xD.disabled&&(o.onColumnClick&&o.onColumnClick(e,o),n&&n(e,o))},r._onDragStart=function(e,t,n,o){var i=r._classNames;t&&(r._updateHeaderDragInfo(t),r._root.current.classList.add(i.borderWhileDragging),r._async.setTimeout((function(){r._root.current&&r._root.current.classList.add(i.noBorderWhileDragging)}),20))},r._onDragEnd=function(e,t){var n=r._classNames;t&&r._updateHeaderDragInfo(-1,t),r._root.current.classList.remove(n.borderWhileDragging),r._root.current.classList.remove(n.noBorderWhileDragging)},r._updateHeaderDragInfo=function(e,t){r.props.setDraggedItemIndex&&r.props.setDraggedItemIndex(e),r.props.updateDragInfo&&r.props.updateDragInfo({itemIndex:e},t)},r._onColumnContextMenu=function(e){var t=r.props,n=t.onColumnContextMenu,o=t.column;o.onColumnContextMenu&&(o.onColumnContextMenu(o,e),e.preventDefault()),n&&(n(o,e),e.preventDefault())},r._onRootMouseDown=function(e){r.props.isDraggable&&0===e.button&&e.stopPropagation()},v_(r),r._async=new tE(r),r._events=new bS(r),r}return(0,e.__extends)(n,t),n.prototype.render=function(){var t=this.props,n=t.column,r=t.parentId,o=t.isDraggable,i=t.styles,a=t.theme,s=t.cellStyleProps,c=void 0===s?hR:s,l=t.useFastIcons,u=void 0===l||l,d=this.props.onRenderColumnHeaderTooltip,p=void 0===d?this._onRenderColumnHeaderTooltip:d;this._classNames=gR(i,{theme:a,headerClassName:n.headerClassName,iconClassName:n.iconClassName,isActionable:n.columnActionsMode!==xD.disabled,isEmpty:!n.name,isIconVisible:n.isSorted||n.isGrouped||n.isFiltered,isPadded:n.isPadded,isIconOnly:n.isIconOnly,cellStyleProps:c,transitionDurationDrag:200,transitionDurationDrop:1500});var h=this._classNames,f=u?OS:HS,m=n.onRenderFilterIcon?qS(n.onRenderFilterIcon,this._onRenderFilterIcon(this._classNames)):this._onRenderFilterIcon(this._classNames),g=n.onRenderHeader?qS(n.onRenderHeader,vR(this._classNames)):vR(this._classNames),v=n.columnActionsMode!==xD.disabled&&(void 0!==n.onColumnClick||void 0!==this.props.onColumnClick),y={"aria-label":n.ariaLabel?n.ariaLabel:n.isIconOnly?n.name:void 0,"aria-labelledby":n.ariaLabel||n.isIconOnly?void 0:r+"-"+n.key+"-name","aria-describedby":!this.props.onRenderColumnHeaderTooltip&&this._hasAccessibleDescription()?r+"-"+n.key+"-tooltip":void 0};return rl.createElement(rl.Fragment,null,rl.createElement("div",(0,e.__assign)({key:n.key,ref:this._root,role:"columnheader"},!v&&y,{"aria-sort":n.isSorted?n.isSortedDescending?"descending":"ascending":"none","data-is-focusable":v||n.columnActionsMode===xD.disabled?void 0:"true",className:h.root,"data-is-draggable":o,draggable:o,style:{width:n.calculatedWidth+c.cellLeftPadding+c.cellRightPadding+(n.isPadded?c.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":n.key}),o&&rl.createElement(f,{iconName:"GripperBarVertical",className:h.gripperBarVerticalStyle}),p({hostClassName:h.cellTooltip,id:r+"-"+n.key+"-tooltip",setAriaDescribedBy:!1,column:n,content:n.columnActionsMode!==xD.disabled?n.ariaLabel:"",children:rl.createElement("span",(0,e.__assign)({id:r+"-"+n.key,className:h.cellTitle,"data-is-focusable":v&&n.columnActionsMode!==xD.disabled?"true":void 0,role:v?"button":void 0},v&&y,{onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,"aria-haspopup":n.columnActionsMode===xD.hasDropdown?"menu":void 0,"aria-expanded":n.columnActionsMode===xD.hasDropdown?!!n.isMenuOpen:void 0}),rl.createElement("span",{id:r+"-"+n.key+"-name",className:h.cellName},(n.iconName||n.iconClassName)&&rl.createElement(f,{className:h.iconClassName,iconName:n.iconName}),g(this.props)),n.isFiltered&&rl.createElement(f,{className:h.nearIcon,iconName:"Filter"}),(n.isSorted||n.showSortIconWhenUnsorted)&&rl.createElement(f,{className:h.sortIcon,iconName:n.isSorted?n.isSortedDescending?"SortDown":"SortUp":"Sort"}),n.isGrouped&&rl.createElement(f,{className:h.nearIcon,iconName:"GroupedDescending"}),n.columnActionsMode===xD.hasDropdown&&!n.isIconOnly&&m({"aria-hidden":!0,columnProps:this.props,className:h.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleDescription())},n.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))},n.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},n.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)},n.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}},n.prototype._hasAccessibleDescription=function(){var e=this.props.column;return!!(e.filterAriaLabel||e.sortAscendingAriaLabel||e.sortDescendingAriaLabel||e.groupAriaLabel||e.sortableAriaLabel)},n.prototype._renderAccessibleDescription=function(){var e=this.props,t=e.column,n=e.parentId,r=this._classNames;return this._hasAccessibleDescription()&&!this.props.onRenderColumnHeaderTooltip?rl.createElement("label",{key:t.key+"_label",id:n+"-"+t.key+"-tooltip",className:r.accessibleLabel,hidden:!0},t.isFiltered&&t.filterAriaLabel||null,(t.isSorted||t.showSortIconWhenUnsorted)&&(t.isSorted?t.isSortedDescending?t.sortDescendingAriaLabel:t.sortAscendingAriaLabel:t.sortableAriaLabel)||null,t.isGrouped&&t.groupAriaLabel||null):null},n.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)},n}(rl.Component),bR={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"},_R=function(e){var t=e.theme,n=e.cellStyleProps,r=void 0===n?hR:n,o=t.semanticColors;return[og(bR,t).cell,Zm(t),{color:o.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 "+r.cellRightPadding+"px 0 "+r.cellLeftPadding+"px",lineHeight:"inherit",margin:"0",height:42,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},CR={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"},wR=ib(yR,(function(t){var n,r=t.theme,o=t.headerClassName,i=t.iconClassName,a=t.isActionable,s=t.isEmpty,c=t.isIconVisible,l=t.isPadded,u=t.isIconOnly,d=t.cellStyleProps,p=void 0===d?hR:d,h=t.transitionDurationDrag,f=t.transitionDurationDrop,m=r.semanticColors,g=r.palette,v=r.fonts,y=og(CR,r),b={iconForegroundColor:m.bodySubtext,headerForegroundColor:m.bodyText,headerBackgroundColor:m.bodyBackground,dropdownChevronForegroundColor:g.neutralSecondary,resizerColor:g.neutralTertiaryAlt},_={color:b.iconForegroundColor,opacity:1,paddingLeft:8},C={outline:"1px solid "+g.themePrimary},w={outlineColor:"transparent"};return{root:[_R(t),v.small,a&&[y.isActionable,{selectors:{":hover":{color:m.bodyText,background:m.listHeaderBackgroundHovered},":active":{background:m.listHeaderBackgroundPressed}}}],s&&[y.isEmpty,{textOverflow:"clip"}],c&&y.isIconVisible,l&&{paddingRight:p.cellExtraRightPadding+p.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},o],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:g.neutralTertiary,left:1},nearIcon:[y.nearIcon,_],sortIcon:[_,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:b.iconForegroundColor,opacity:1},i],filterChevron:[y.filterChevron,{color:b.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:v.small.fontSize}],cellTitle:[y.cellTitle,Zm(r),(0,e.__assign)({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 "+p.cellRightPadding+"px 0 "+p.cellLeftPadding+"px"},u?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[y.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:Bm.semibold,fontSize:v.medium.fontSize},u&&{selectors:(n={},n["."+y.nearIcon]={paddingLeft:0},n)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:ng,borderWhileDragging:C,noBorderWhileDragging:[w,{transition:"outline "+h+"ms ease"}],borderAfterDropping:C,noBorderAfterDropping:[w,{transition:"outline  "+f+"ms ease"}]}}),void 0,{scope:"DetailsColumn"}),ER=rl.createContext({scrollablePane:void 0});!function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(dR||(dR={}));var xR,SR=function(t){function n(e){var n=t.call(this,e)||this;return n._root=rl.createRef(),n._stickyContentTop=rl.createRef(),n._stickyContentBottom=rl.createRef(),n._nonStickyContent=rl.createRef(),n._placeHolder=rl.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 r=n._getNonStickyDistanceFromTop(e),o=!1,i=!1;if(n.canStickyTop)o=r-n._getStickyDistanceFromTop()<e.scrollTop;n.canStickyBottom&&e.clientHeight-t.offsetHeight<=r&&(i=r-Math.floor(e.scrollTop)>=n._getStickyDistanceFromTopForFooter(e,t)),document.activeElement&&n.nonStickyContent.contains(document.activeElement)&&(n.state.isStickyTop!==o||n.state.isStickyBottom!==i)?n._activeElement=document.activeElement:n._activeElement=void 0,n.setState({isStickyTop:n.canStickyTop&&o,isStickyBottom:i,distanceFromTop:r})}},n._getStickyDistanceFromTop=function(){var e=0;return n.stickyContentTop&&(e=n.stickyContentTop.offsetTop),e},n._getStickyDistanceFromTopForFooter=function(e,t){var r=0;return n.stickyContentBottom&&(r=e.clientHeight-t.offsetHeight+n.stickyContentBottom.offsetTop),r},n._getNonStickyDistanceFromTop=function(e){var t=0,r=n.root;if(r){for(;r&&r.offsetParent!==e;)t+=r.offsetTop,r=r.offsetParent;r&&r.offsetParent===e&&(t+=r.offsetTop)}return t},v_(n),n.state={isStickyTop:!1,isStickyBottom:!1,distanceFromTop:void 0},n._activeElement=void 0,n}return(0,e.__extends)(n,t),Object.defineProperty(n.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"placeholder",{get:function(){return this._placeHolder.current},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stickyContentTop",{get:function(){return this._stickyContentTop.current},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stickyContentBottom",{get:function(){return this._stickyContentBottom.current},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nonStickyContent",{get:function(){return this._nonStickyContent.current},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"canStickyTop",{get:function(){return this.props.stickyPosition===dR.Both||this.props.stickyPosition===dR.Header},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"canStickyBottom",{get:function(){return this.props.stickyPosition===dR.Both||this.props.stickyPosition===dR.Footer},enumerable:!1,configurable:!0}),n.prototype.componentDidMount=function(){var e=this._getContext().scrollablePane;e&&(e.subscribe(this._onScrollEvent),e.addSticky(this))},n.prototype.componentWillUnmount=function(){var e=this._getContext().scrollablePane;e&&(e.unsubscribe(this._onScrollEvent),e.removeSticky(this))},n.prototype.componentDidUpdate=function(e,t){var n=this._getContext().scrollablePane;if(n){var r=this.state,o=r.isStickyBottom,i=r.isStickyTop,a=r.distanceFromTop,s=!1;t.distanceFromTop!==a&&(n.sortSticky(this,!0),s=!0),t.isStickyTop===i&&t.isStickyBottom===o||(this._activeElement&&this._activeElement.focus(),n.updateStickyRefHeights(),s=!0),s&&n.syncScrollSticky(this)}},n.prototype.shouldComponentUpdate=function(e,t){if(!this.context.scrollablePane)return!0;var n=this.state,r=n.isStickyTop,o=n.isStickyBottom,i=n.distanceFromTop;return r!==t.isStickyTop||o!==t.isStickyBottom||this.props.stickyPosition!==e.stickyPosition||this.props.children!==e.children||i!==t.distanceFromTop||kR(this._nonStickyContent,this._stickyContentTop)||kR(this._nonStickyContent,this._stickyContentBottom)||kR(this._nonStickyContent,this._placeHolder)},n.prototype.render=function(){var e=this.state,t=e.isStickyTop,n=e.isStickyBottom,r=this.props,o=r.stickyClassName,i=r.children;return this.context.scrollablePane?rl.createElement("div",{ref:this._root},this.canStickyTop&&rl.createElement("div",{ref:this._stickyContentTop,style:{pointerEvents:t?"auto":"none"}},rl.createElement("div",{style:this._getStickyPlaceholderHeight(t)})),this.canStickyBottom&&rl.createElement("div",{ref:this._stickyContentBottom,style:{pointerEvents:n?"auto":"none"}},rl.createElement("div",{style:this._getStickyPlaceholderHeight(n)})),rl.createElement("div",{style:this._getNonStickyPlaceholderHeightAndWidth(),ref:this._placeHolder},(t||n)&&rl.createElement("span",{style:ng},i),rl.createElement("div",{ref:this._nonStickyContent,className:t||n?o:void 0,style:this._getContentStyles(t||n)},i))):rl.createElement("div",null,this.props.children)},n.prototype.addSticky=function(e){this.nonStickyContent&&e.appendChild(this.nonStickyContent)},n.prototype.resetSticky=function(){this.nonStickyContent&&this.placeholder&&this.placeholder.appendChild(this.nonStickyContent)},n.prototype.setDistanceFromTop=function(e){var t=this._getNonStickyDistanceFromTop(e);this.setState({distanceFromTop:t})},n.prototype._getContentStyles=function(e){return{backgroundColor:this.props.stickyBackgroundColor||this._getBackground(),overflow:e?"hidden":""}},n.prototype._getStickyPlaceholderHeight=function(e){var t=this.nonStickyContent?this.nonStickyContent.offsetHeight:0;return{visibility:e?"hidden":"visible",height:e?0:t}},n.prototype._getNonStickyPlaceholderHeightAndWidth=function(){var e=this.state,t=e.isStickyTop,n=e.isStickyBottom;if(t||n){var r=0,o=0;return this.nonStickyContent&&this.nonStickyContent.firstElementChild&&(r=this.nonStickyContent.offsetHeight,o=this.nonStickyContent.firstElementChild.scrollWidth+(this.nonStickyContent.firstElementChild.offsetWidth-this.nonStickyContent.firstElementChild.clientWidth)),{height:r,width:o}}return{}},n.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")}},n.defaultProps={stickyPosition:dR.Both,isScrollSynced:!0},n.contextType=ER,n}(rl.Component);function kR(e,t){return e&&t&&e.current&&t.current&&e.current.offsetHeight!==t.current.offsetHeight}!function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(xR||(xR={}));var TR=pb(),IR=rl.forwardRef((function(e,t){var n=e.checked,r=void 0!==n&&n,o=e.className,i=e.theme,a=e.styles,s=e.useFastIcons,c=void 0===s||s,l=TR(a,{theme:i,className:o,checked:r}),u=c?OS:HS;return rl.createElement("div",{className:l.root,ref:t},rl.createElement(u,{iconName:"CircleRing",className:l.circle}),rl.createElement(u,{iconName:"StatusCircleCheckmark",className:l.check}))}));IR.displayName="CheckBase";var AR,PR,DR={root:"ms-Check",circle:"ms-Check-circle",check:"ms-Check-check",checkHost:"ms-Check-checkHost"},RR=ib(IR,(function(t){var n,r,o,i,a,s=t.height,c=void 0===s?t.checkBoxHeight||"18px":s,l=t.checked,u=t.className,d=t.theme,p=d.palette,h=d.semanticColors,f=d.fonts,m=Pf(d),g=og(DR,d),v={fontSize:c,position:"absolute",left:0,top:0,width:c,height:c,textAlign:"center",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"};return{root:[g.root,f.medium,{lineHeight:"1",width:c,height:c,verticalAlign:"top",position:"relative",userSelect:"none",selectors:(n={":before":{content:'""',position:"absolute",top:"1px",right:"1px",bottom:"1px",left:"1px",borderRadius:"50%",opacity:1,background:h.bodyBackground}},n["."+g.checkHost+":hover &, ."+g.checkHost+":focus &, &:hover, &:focus"]={opacity:1},n)},l&&["is-checked",{selectors:{":before":{background:p.themePrimary,opacity:1,selectors:(r={},r[Wm]={background:"Window"},r)}}}],u],circle:[g.circle,v,{color:p.neutralSecondary,selectors:(o={},o[Wm]={color:"WindowText"},o)},l&&{color:p.white}],check:[g.check,v,{opacity:0,color:p.neutralSecondary,fontSize:Hm.medium,left:m?"-0.5px":".5px",top:"-1px",selectors:(i={":hover":{opacity:1}},i[Wm]=(0,e.__assign)({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},l&&{opacity:1,color:p.white,fontWeight:900,selectors:(a={},a[Wm]={border:"none",color:"WindowText"},a)}],checkHost:g.checkHost}}),void 0,{scope:"Check"},!0),MR={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},NR="change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(AR||(AR={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(PR||(PR={}));var LR=pb(),OR=rl.memo((function(e){return rl.createElement(RR,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}));function FR(e){return rl.createElement(RR,{checked:e.checked})}function BR(e){return rl.createElement(OR,{theme:e.theme,checked:e.checked})}var HR,zR=ib((function(t){var n=t.isVisible,r=void 0!==n&&n,o=t.canSelect,i=void 0!==o&&o,a=t.anySelected,s=void 0!==a&&a,c=t.selected,l=void 0!==c&&c,u=t.selectionMode,d=t.isHeader,p=void 0!==d&&d,h=t.className,f=(t.checkClassName,t.styles),m=t.theme,g=t.compact,v=t.onRenderDetailsCheckbox,y=t.useFastIcons,b=void 0===y||y,_=(0,e.__rest)(t,["isVisible","canSelect","anySelected","selected","selectionMode","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),C=b?BR:FR,w=v?qS(v,C):C,E=LR(f,{theme:m,canSelect:i,selected:l,anySelected:s,className:h,isHeader:p,isVisible:r,compact:g}),x={checked:l,theme:m},S=cy("div",_,["aria-label","aria-labelledby","aria-describedby"]),k=u===AR.single?"radio":"checkbox";return i?rl.createElement("div",(0,e.__assign)({},_,{role:k,className:Wv(E.root,E.check),"aria-checked":l,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck",tabIndex:-1}),w(x)):rl.createElement("div",(0,e.__assign)({},S,{className:Wv(E.root,E.check)}))}),(function(e){var t=e.theme,n=e.className,r=e.isHeader,o=e.selected,i=e.anySelected,a=e.canSelect,s=e.compact,c=e.isVisible,l=og(MR,t),u=r?42:s?fR.compactRowHeight:fR.rowHeight,d=c||o||i;return{root:[l.root,n],check:[!a&&l.isDisabled,r&&l.isHeader,Zm(t),t.fonts.small,DR.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),UR=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 r=this;if(!this._initialized){this._events=new bS(this);var o=xf();o&&(this._events.on(o.body,"mouseup",this._onMouseUp.bind(this),!0),this._events.on(o,"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,v=[];if(n&&e){var y=n.eventMap,b=n.context,_=n.updateDropState,C={root:e,options:n,key:g};if(p=this._isDraggable(C),h=this._isDroppable(C),(p||h)&&y)for(var w=0,E=y;w<E.length;w++){var x=E[w],S={callback:x.callback.bind(null,b),eventName:x.eventName};v.push(S),this._events.on(e,S.eventName,S.callback)}h&&(a=function(e){e.isHandled||(e.isHandled=!0,r._dragEnterCounts[g]--,0===r._dragEnterCounts[g]&&_(!1,e))},s=function(e){e.preventDefault(),e.isHandled||(e.isHandled=!0,r._dragEnterCounts[g]++,1===r._dragEnterCounts[g]&&_(!0,e))},c=function(e){r._dragEnterCounts[g]=0,_(!1,e)},l=function(e){r._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,C),c=this._onDragEnd.bind(this,C),i=function(t){var o=n;o&&o.onDragStart&&o.onDragStart(o.context.data,o.context.index,r._selection.getSelection(),t),r._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:C,dispose:function(){if(r._activeTargets[g]===f&&delete r._activeTargets[g],e){for(var n=0,o=v;n<o.length;n++){var m=o[n];r._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 r=n[t],o=this._activeTargets[r];o.target.root&&(this._events.off(o.target.root,"mousemove"),this._events.off(o.target.root,"mouseleave"))}this._dragData.dropTarget&&(bS.raise(this._dragData.dropTarget.root,"dragleave"),bS.raise(this._dragData.dropTarget.root,"drop"))}this._dragData=null},e.prototype._onDocumentMouseUp=function(e){var t=xf();t&&e.target===t.documentElement&&this._onMouseUp(e)},e.prototype._onMouseMove=function(e,t){var n=t.buttons,r=void 0===n?1:n;if(this._dragData&&1!==r)this._onMouseUp(t);else{var o=e.root,i=e.key;this._isDragging&&this._isDroppable(e)&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key!==i&&!this._isChild(o,this._dragData.dropTarget.root)&&this._dragEnterCounts[this._dragData.dropTarget.key]>0&&(bS.raise(this._dragData.dropTarget.root,"dragleave"),bS.raise(o,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(bS.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,r=Object.keys(this._activeTargets);n<r.length;n++){var o=r[n],i=this._activeTargets[o];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(;t&&t.parentElement;){if(t.parentElement===e)return!0;t=t.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}();!function(e){e[e.none=0]="none",e[e.hidden=1]="hidden",e[e.visible=2]="visible"}(HR||(HR={}));var VR=pb(),jR=[],qR=function(t){function n(n){var r=t.call(this,n)||this;return r._rootElement=rl.createRef(),r._rootComponent=rl.createRef(),r._draggedColumnIndex=-1,r._dropHintDetails={},r._updateDroppingState=function(e,t){r._draggedColumnIndex>=0&&"drop"!==t.type&&!e&&r._resetDropHints()},r._onDragOver=function(e,t){r._draggedColumnIndex>=0&&(t.stopPropagation(),r._computeDropHintToBeShown(t.clientX))},r._onDrop=function(e,t){var n=r._getColumnReorderProps();if(r._draggedColumnIndex>=0&&t){var o=r._draggedColumnIndex>r._currentDropHintIndex?r._currentDropHintIndex:r._currentDropHintIndex-1,i=r._isValidCurrentDropHintIndex();if(t.stopPropagation(),i)if(r._onDropIndexInfo.sourceIndex=r._draggedColumnIndex,r._onDropIndexInfo.targetIndex=o,n.onColumnDrop){var a={draggedIndex:r._draggedColumnIndex,targetIndex:o};n.onColumnDrop(a)}else n.handleColumnReorder&&n.handleColumnReorder(r._draggedColumnIndex,o)}r._resetDropHints(),r._dropHintDetails={},r._draggedColumnIndex=-1},r._updateDragInfo=function(e,t){var n=r._getColumnReorderProps(),o=e.itemIndex;if(o>=0)r._draggedColumnIndex=r._isCheckboxColumnHidden()?o-1:o-2,r._getDropHintPositions(),n.onColumnDragStart&&n.onColumnDragStart(!0);else if(t&&r._draggedColumnIndex>=0&&(r._resetDropHints(),r._draggedColumnIndex=-1,r._dropHintDetails={},n.onColumnDragEnd)){var i=r._isEventOnHeader(t);n.onColumnDragEnd({dropLocation:i},t)}},r._getDropHintPositions=function(){for(var e,t=r.props.columns,n=void 0===t?jR:t,o=r._getColumnReorderProps(),i=0,a=0,s=o.frozenColumnCountFromStart||0,c=o.frozenColumnCountFromEnd||0,l=s;l<n.length-c+1;l++)if(r._rootElement.current){var u=r._rootElement.current.querySelectorAll("#columnDropHint_"+l)[0];if(u)if(l===s)i=u.offsetLeft,a=u.offsetLeft,e=u;else{var d=(u.offsetLeft+i)/2;r._dropHintDetails[l-1]={originX:i,startX:a,endX:d,dropHintElementRef:e},a=d,e=u,i=u.offsetLeft,l===n.length-c&&(r._dropHintDetails[l]={originX:i,startX:a,endX:u.offsetLeft,dropHintElementRef:e})}}},r._computeDropHintToBeShown=function(e){var t=Pf(r.props.theme);if(r._rootElement.current){var n=e-r._rootElement.current.getBoundingClientRect().left,o=r._currentDropHintIndex;if(r._isValidCurrentDropHintIndex()&&WR(t,n,r._dropHintDetails[o].startX,r._dropHintDetails[o].endX))return;var i=r.props.columns,a=void 0===i?jR:i,s=r._getColumnReorderProps(),c=s.frozenColumnCountFromStart||0,l=s.frozenColumnCountFromEnd||0,u=c,d=a.length-l,p=-1;if(GR(t,n,r._dropHintDetails[u].endX)?p=u:KR(t,n,r._dropHintDetails[d].startX)?p=d:r._isValidCurrentDropHintIndex()&&(r._dropHintDetails[o+1]&&WR(t,n,r._dropHintDetails[o+1].startX,r._dropHintDetails[o+1].endX)?p=o+1:r._dropHintDetails[o-1]&&WR(t,n,r._dropHintDetails[o-1].startX,r._dropHintDetails[o-1].endX)&&(p=o-1)),-1===p)for(var h=c,f=d;h<f;){var m=Math.ceil((f+h)/2);if(WR(t,n,r._dropHintDetails[m].startX,r._dropHintDetails[m].endX)){p=m;break}GR(t,n,r._dropHintDetails[m].originX)?f=m:KR(t,n,r._dropHintDetails[m].originX)&&(h=m)}p===r._draggedColumnIndex||p===r._draggedColumnIndex+1?r._isValidCurrentDropHintIndex()&&r._resetDropHints():o!==p&&p>=0&&(r._resetDropHints(),r._updateDropHintElement(r._dropHintDetails[p].dropHintElementRef,"inline-block"),r._currentDropHintIndex=p)}},r._renderColumnSizer=function(e){var t,n=e.columnIndex,o=r.props.columns,i=void 0===o?jR:o,a=i[n],s=r.state.columnResizeDetails,c=r._classNames;return a.isResizable?rl.createElement("div",{key:a.key+"_sizer","aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:YR,"data-sizer-index":n,onBlur:r._onSizerBlur,className:Wv(c.cellSizer,n<i.length-1?c.cellSizerStart:c.cellSizerEnd,(t={},t[c.cellIsResizing]=s&&s.columnIndex===n,t)),onDoubleClick:r._onSizerDoubleClick.bind(r,n)}):null},r._onRenderColumnHeaderTooltip=function(e){return rl.createElement("span",{className:e.hostClassName},e.children)},r._onSelectAllClicked=function(){var e=r.props.selection;e&&e.toggleAllSelected()},r._onRootMouseDown=function(e){var t=e.target.getAttribute("data-sizer-index"),n=Number(t),o=r.props.columns,i=void 0===o?jR:o;null!==t&&0===e.button&&(r.setState({columnResizeDetails:{columnIndex:n,columnMinWidth:i[n].calculatedWidth,originX:e.clientX}}),e.preventDefault(),e.stopPropagation())},r._onRootMouseMove=function(e){var t=r.state,n=t.columnResizeDetails,o=t.isSizing;n&&!o&&e.clientX!==n.originX&&r.setState({isSizing:!0})},r._onRootKeyDown=function(t){var n=r.state,o=n.columnResizeDetails,i=n.isSizing,a=r.props,s=a.columns,c=void 0===s?jR:s,l=a.onColumnResized,u=t.target.getAttribute("data-sizer-index");if(u&&!i){var d=Number(u);if(o){var p=void 0;t.which===uf?(r.setState({columnResizeDetails:void 0}),t.preventDefault(),t.stopPropagation()):t.which===yf?p=Pf(r.props.theme)?1:-1:t.which===_f&&(p=Pf(r.props.theme)?-1:1),p&&(t.shiftKey||(p*=10),r.setState({columnResizeDetails:(0,e.__assign)((0,e.__assign)({},o),{columnMinWidth:o.columnMinWidth+p})}),l&&l(c[d],o.columnMinWidth+p,d),t.preventDefault(),t.stopPropagation())}else t.which===uf&&(r.setState({columnResizeDetails:{columnIndex:d,columnMinWidth:c[d].calculatedWidth}}),t.preventDefault(),t.stopPropagation())}},r._onSizerMouseMove=function(e){var t=e.buttons,n=r.props,o=n.onColumnIsSizingChanged,i=n.onColumnResized,a=n.columns,s=void 0===a?jR:a,c=r.state.columnResizeDetails;if(void 0===t||1===t){if(e.clientX!==c.originX&&o&&o(s[c.columnIndex],!0),i){var l=e.clientX-c.originX;Pf(r.props.theme)&&(l=-l),i(s[c.columnIndex],c.columnMinWidth+l,c.columnIndex)}}else r._onSizerMouseUp(e)},r._onSizerBlur=function(e){r.state.columnResizeDetails&&r.setState({columnResizeDetails:void 0,isSizing:!1})},r._onSizerMouseUp=function(e){var t=r.props,n=t.columns,o=void 0===n?jR:n,i=t.onColumnIsSizingChanged,a=r.state.columnResizeDetails;r.setState({columnResizeDetails:void 0,isSizing:!1}),i&&i(o[a.columnIndex],!1)},r._onToggleCollapseAll=function(){var e=r.props.onToggleCollapseAll,t=!r.state.isAllCollapsed;r.setState({isAllCollapsed:t}),e&&e(t)},v_(r),r._events=new bS(r),r.state={columnResizeDetails:void 0,isAllCollapsed:r.props.isAllCollapsed,isAllSelected:!!r.props.selection&&r.props.selection.isAllSelected()},r._onDropIndexInfo={sourceIndex:-1,targetIndex:-1},r._id=ey("header"),r._currentDropHintIndex=-1,r._dragDropHelper=new UR({selection:{getSelection:function(){}},minimumPixelsForDrag:r.props.minimumPixelsForDrag}),r}return(0,e.__extends)(n,t),n.prototype.componentDidMount=function(){var e=this.props.selection;this._events.on(e,NR,this._onSelectionChanged),this._rootElement.current&&(this._events.on(this._rootElement.current,"mousedown",this._onRootMouseDown),this._events.on(this._rootElement.current,"keydown",this._onRootKeyDown),this._getColumnReorderProps()&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement.current,this._events,this._getHeaderDragDropOptions())))},n.prototype.componentDidUpdate=function(e){if(this._getColumnReorderProps()?!this._subscriptionObject&&this._rootElement.current&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement.current,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?jR:t,r=this.props.columns,o=void 0===r?jR:r;n[this._onDropIndexInfo.sourceIndex].key===o[this._onDropIndexInfo.targetIndex].key&&(this._onDropIndexInfo={sourceIndex:-1,targetIndex:-1})}this.props.isAllCollapsed!==e.isAllCollapsed&&this.setState({isAllCollapsed:this.props.isAllCollapsed})},n.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},n.prototype.render=function(){var e=this,t=this.props,n=t.columns,r=void 0===n?jR:n,o=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,g=t.theme,v=t.onRenderDetailsCheckbox,y=t.groupNestingDepth,b=t.useFastIcons,_=t.checkboxVisibility,C=t.className,w=this.state,E=w.isAllSelected,x=w.columnResizeDetails,S=w.isSizing,k=w.isAllCollapsed,T=s!==HR.none,I=s===HR.hidden,A=_===ID.always,P=this._getColumnReorderProps(),D=P&&P.frozenColumnCountFromStart?P.frozenColumnCountFromStart:0,R=P&&P.frozenColumnCountFromEnd?P.frozenColumnCountFromEnd:0;this._classNames=VR(f,{theme:g,isAllSelected:E,isSelectAllHidden:s===HR.hidden,isResizingColumn:!!x&&S,isSizing:S,isAllCollapsed:k,isCheckboxHidden:I,className:C});var M=this._classNames,N=b?OS:HS,L=y>0&&this.props.collapseAllVisibility===xR.visible,O=1+(T?1:0)+(L?1:0),F=Pf(g);return rl.createElement(q_,{role:"row","aria-label":o,className:M.root,componentRef:this._rootComponent,elementRef:this._rootElement,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:Bb.horizontal},T?[rl.createElement("div",{key:"__checkbox",className:M.cellIsCheck,"aria-labelledby":this._id+"-checkTooltip",onClick:I?void 0:this._onSelectAllClicked,role:"columnheader"},h({hostClassName:M.checkTooltip,id:this._id+"-checkTooltip",setAriaDescribedBy:!1,content:a,children:rl.createElement(zR,{id:this._id+"-check","aria-label":m===AR.multiple?a:c,"data-is-focusable":!I||void 0,isHeader:!0,selected:E,anySelected:!1,canSelect:!I,className:M.check,onRenderDetailsCheckbox:v,useFastIcons:b,isVisible:A})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:a&&!I?rl.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:M.accessibleLabel,"aria-hidden":!0},a):c&&I?rl.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:M.accessibleLabel,"aria-hidden":!0},c):null]:null,L?rl.createElement("div",{className:M.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":i,"aria-expanded":!k,role:"columnheader"},rl.createElement(N,{className:M.collapseButton,iconName:F?"ChevronLeftMed":"ChevronRightMed"}),rl.createElement("span",{className:M.accessibleLabel},i)):null,rl.createElement(rR,{indentWidth:l,role:"gridcell",count:y-1}),r.map((function(t,n){var o=!!P&&(n>=D&&n<r.length-R);return[P&&(o||n===r.length-R)&&e._renderDropHint(n),rl.createElement(wR,{column:t,styles:t.styles,key:t.key,columnIndex:O+n,parentId:e._id,isDraggable:o,updateDragInfo:e._updateDragInfo,dragDropHelper:e._dragDropHelper,onColumnClick:u,onColumnContextMenu:d,onRenderColumnHeaderTooltip:e.props.onRenderColumnHeaderTooltip,isDropped:e._onDropIndexInfo.targetIndex===n,cellStyleProps:e.props.cellStyleProps,useFastIcons:b}),e._renderColumnDivider(n)]})),P&&0===R&&this._renderDropHint(r.length),S&&rl.createElement(Ax,null,rl.createElement("div",{className:M.sizingOverlay,onMouseMove:this._onSizerMouseMove,onMouseUp:this._onSizerMouseUp})))},n.prototype.focus=function(){var e;return!!(null===(e=this._rootComponent.current)||void 0===e?void 0:e.focus())},n.prototype._getColumnReorderProps=function(){var t=this.props,n=t.columnReorderOptions;return t.columnReorderProps||n&&(0,e.__assign)((0,e.__assign)({},n),{onColumnDragEnd:void 0})},n.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}},n.prototype._isValidCurrentDropHintIndex=function(){return this._currentDropHintIndex>=0},n.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,n=e.checkboxVisibility;return t===AR.none||n===ID.hidden},n.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},n.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},n.prototype._isEventOnHeader=function(e){if(this._rootElement.current){var t=this._rootElement.current.getBoundingClientRect();if(e.clientX>t.left&&e.clientX<t.right&&e.clientY>t.top&&e.clientY<t.bottom)return kD.header}},n.prototype._renderColumnDivider=function(e){var t=this.props.columns,n=(void 0===t?jR:t)[e],r=n.onRenderDivider;return r?r({column:n,columnIndex:e},this._renderColumnSizer):this._renderColumnSizer({column:n,columnIndex:e})},n.prototype._renderDropHint=function(e){var t=this._classNames,n=this.props.useFastIcons?OS:HS;return rl.createElement("div",{key:"dropHintKey",className:t.dropHintStyle,id:"columnDropHint_"+e},rl.createElement("div",{role:"presentation",key:"dropHintCircleKey",className:t.dropHintCaretStyle,"data-is-focusable":!1,"data-sizer-index":e,"aria-hidden":!0},rl.createElement(n,{iconName:"CircleShapeSolid"})),rl.createElement("div",{key:"dropHintLineKey","aria-hidden":!0,"data-is-focusable":!1,"data-sizer-index":e,className:t.dropHintLineStyle}))},n.prototype._onSizerDoubleClick=function(e,t){var n=this.props,r=n.onColumnAutoResized,o=n.columns;r&&r((void 0===o?jR:o)[e],e)},n.prototype._onSelectionChanged=function(){var e=!!this.props.selection&&this.props.selection.isAllSelected();this.state.isAllSelected!==e&&this.setState({isAllSelected:e})},n.defaultProps={selectAllVisibility:HR.visible,collapseAllVisibility:xR.visible,useFastIcons:!0},n}(rl.Component);function WR(e,t,n,r){return e?t<=n&&t>=r:t>=n&&t<=r}function GR(e,t,n){return e?t>=n:t<=n}function KR(e,t,n){return e?t<=n:t>=n}function YR(e){e.stopPropagation()}var QR=ib(qR,(function(t){var n,r,o,i,a=t.theme,s=t.className,c=t.isAllSelected,l=t.isResizingColumn,u=t.isSizing,d=t.isAllCollapsed,p=t.cellStyleProps,h=void 0===p?hR:p,f=a.semanticColors,m=a.palette,g=a.fonts,v=og(bR,a),y={iconForegroundColor:f.bodySubtext,headerForegroundColor:f.bodyText,headerBackgroundColor:f.bodyBackground,resizerColor:m.neutralTertiaryAlt},b={opacity:1,transition:"opacity 0.3s linear"},_=_R(t);return{root:[v.root,g.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 "+f.bodyDivider,cursor:"default",userSelect:"none",selectors:(n={},n["&:hover ."+v.check]={opacity:1},n["& ."+v.tooltipHost+" ."+v.checkTooltip]={display:"block"},n)},c&&v.isAllSelected,l&&v.isResizingColumn,s],check:[v.check,{height:42},{selectors:(r={},r[".ms-Fabric--isFocusVisible &:focus"]={opacity:1},r)}],cellWrapperPadded:{paddingRight:h.cellExtraRightPadding+h.cellRightPadding},cellIsCheck:[_,v.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},c&&{opacity:1}],cellIsGroupExpander:[_,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:g.small.fontSize,padding:0,border:"none",width:36,color:m.neutralSecondary,selectors:{":hover":{backgroundColor:m.neutralLighter},":active":{backgroundColor:m.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:f.bodyText,background:f.listHeaderBackgroundHovered},":active":{background:f.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[v.cellSizer,{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},{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":b,":hover:after":b},o["&."+v.isResizing+":after"]=[b,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],o)}],cellIsResizing:v.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[v.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},d?[v.isCollapsed,{transform:"rotate(0deg)"}]:{transform:Pf(a)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:v.checkTooltip,sizingOverlay:u&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(i={},i[Wm]=(0,e.__assign)({background:"transparent"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},accessibleLabel:ng,dropHintCircleStyle:[v.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 "+m.themePrimary,background:m.white}],dropHintCaretStyle:[v.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:g.medium.fontSize,color:m.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[v.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:m.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}}),void 0,{scope:"DetailsHeader"}),XR=function(e){var t=e.columns,n=e.rowClassNames,r=e.cellStyleProps,o=void 0===r?hR:r,i=e.item,a=e.itemIndex,s=e.isSelected,c=e.onRenderItemColumn,l=e.getCellValueKey,u=e.onRenderField,d=e.cellsByColumn,p=e.enableUpdateAnimations,h=e.rowHeaderId,f=rl.useRef(),m=f.current||(f.current={}),g=rl.useCallback((function(e){var t=e.column,r=e.cellValueKey,i=e.className,a=e.onRender,s=e.item,c=e.itemIndex,l="undefined"===typeof t.calculatedWidth?"auto":t.calculatedWidth+o.cellLeftPadding+o.cellRightPadding+(t.isPadded?o.cellExtraRightPadding:0),u=t.key+(void 0!==r?"-"+r:"");return rl.createElement("div",{key:u,id:t.isRowHeader?h:void 0,role:t.isRowHeader?"rowheader":"gridcell","aria-readonly":!0,className:Wv(t.className,t.isMultiline&&n.isMultiline,t.isRowHeader&&n.isRowHeader,n.cell,t.isPadded?n.cellPadded:n.cellUnpadded,i),style:{width:l},"data-automationid":"DetailsRowCell","data-automation-key":t.key},a(s,c,t))}),[n,o,h]);return rl.createElement("div",{className:n.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map((function(e){var t=e.getValueKey,r=void 0===t?l:t,o=d&&e.key in d&&function(){return d[e.key]}||e.onRender||c||JR,h=g;e.onRenderField&&(h=qS(e.onRenderField,h)),u&&(h=qS(u,h));var f=m[e.key],v=p&&r?r(i,a,e):void 0,y=!1;return void 0!==v&&void 0!==f&&v!==f&&(y=!0),m[e.key]=v,h({item:i,itemIndex:a,isSelected:s,column:e,cellValueKey:v,className:y?n.cellAnimation:void 0,onRender:o})})))};function JR(e,t,n){return e&&n?function(e,t){var n=e&&t&&t.fieldName?e[t.fieldName]:"";return null!==n&&void 0!==n||(n=""),"boolean"===typeof n?n.toString():n}(e,n):null}var $R=pb(),ZR=[],eM=function(t){function n(e){var n=t.call(this,e)||this;return n._root=rl.createRef(),n._cellMeasurer=rl.createRef(),n._focusZone=rl.createRef(),n._onSelectionChanged=function(){var e=tM(n.props);ly(e,n.state.selectionState)||n.setState({selectionState:e})},n._updateDroppingState=function(e,t){var r=n.state.isDropping,o=n.props,i=o.dragDropEvents,a=o.item;e?i.onDragEnter&&(n._droppingClassNames=i.onDragEnter(a,t)):i.onDragLeave&&i.onDragLeave(a,t),r!==e&&n.setState({isDropping:e})},v_(n),n._events=new bS(n),n.state={selectionState:tM(e),columnMeasureInfo:void 0,isDropping:!1},n._droppingClassNames="",n}return(0,e.__extends)(n,t),n.getDerivedStateFromProps=function(t,n){return(0,e.__assign)((0,e.__assign)({},n),{selectionState:tM(t)})},n.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,n=e.selection,r=e.item,o=e.onDidMount;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getRowDragDropOptions())),n&&this._events.on(n,NR,this._onSelectionChanged),o&&r&&(this._onDidMountCalled=!0,o(this))},n.prototype.componentDidUpdate=function(e){var t=this.state,n=this.props,r=n.item,o=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._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,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})}r&&o&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,o(this))},n.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()},n.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var n=tM(e);return this.state.selectionState.isSelected!==n.isSelected||!ly(this.props,e)}return!0},n.prototype.render=function(){var t=this.props,n=t.className,r=t.columns,o=void 0===r?ZR:r,i=t.dragDropEvents,a=t.item,s=t.itemIndex,c=t.id,l=t.flatIndexOffset,u=void 0===l?2:l,d=t.onRenderCheck,p=void 0===d?this._onRenderCheck:d,h=t.onRenderDetailsCheckbox,f=t.onRenderItemColumn,m=t.onRenderField,g=t.getCellValueKey,v=t.selectionMode,y=t.rowWidth,b=void 0===y?0:y,_=t.checkboxVisibility,C=t.getRowAriaLabel,w=t.getRowAriaDescription,E=t.getRowAriaDescribedBy,x=t.isGridRow,S=t.checkButtonAriaLabel,k=t.checkboxCellClassName,T=t.rowFieldsAs,I=t.selection,A=t.indentWidth,P=t.enableUpdateAnimations,D=t.compact,R=t.theme,M=t.styles,N=t.cellsByColumn,L=t.groupNestingDepth,O=t.useFastIcons,F=void 0===O||O,B=t.cellStyleProps,H=t.group,z=t.focusZoneProps,U=t.disabled,V=void 0!==U&&U,j=this.state,q=j.columnMeasureInfo,W=j.isDropping,G=this.state.selectionState,K=G.isSelected,Y=void 0!==K&&K,Q=G.isSelectionModal,X=void 0!==Q&&Q,J=i?!(!i.canDrag||!i.canDrag(a)):void 0,$=W?this._droppingClassNames||"is-dropping":"",Z=C?C(a):void 0,ee=w?w(a):void 0,te=E?E(a):void 0,ne=!!I&&I.canSelectItem(a,s)&&!V,re=v===AR.multiple,oe=v!==AR.none&&_!==ID.hidden,ie=v===AR.none?void 0:Y,ae=H?s-H.startIndex+1:void 0,se=H?H.count:void 0,ce=z?z.direction:Bb.horizontal;this._classNames=(0,e.__assign)((0,e.__assign)({},this._classNames),$R(M,{theme:R,isSelected:Y,canSelect:!re,anySelected:X,checkboxCellClassName:k,droppingClassName:$,className:n,compact:D,enableUpdateAnimations:P,cellStyleProps:B,disabled:V}));var le={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};ly(this._rowClassNames||{},le)||(this._rowClassNames=le);var ue=T?sT(T,XR):XR,de=rl.createElement(ue,{rowClassNames:this._rowClassNames,rowHeaderId:c+"-header",cellsByColumn:N,columns:o,item:a,itemIndex:s,isSelected:Y,columnStartIndex:(oe?1:0)+(L?1:0),onRenderItemColumn:f,onRenderField:m,getCellValueKey:g,enableUpdateAnimations:P,cellStyleProps:B}),pe=this.props.role?this.props.role:"row";this._ariaRowDescriptionId=ey("DetailsRow-description");var he=c+"-checkbox"+(o.some((function(e){return!!e.isRowHeader}))?" "+c+"-header":""),fe=x?{}:{"aria-level":L&&L+1||void 0,"aria-posinset":ae,"aria-setsize":se};return rl.createElement(q_,(0,e.__assign)({"data-is-focusable":!0},Nv(this.props,Mv),"boolean"===typeof J?{"data-is-draggable":J,draggable:J}:{},z,fe,{direction:ce,elementRef:this._root,componentRef:this._focusZone,role:pe,"aria-label":Z,"aria-disabled":V||void 0,"aria-describedby":ee?this._ariaRowDescriptionId:te,className:this._classNames.root,"data-selection-index":s,"data-selection-touch-invoke":!0,"data-selection-disabled":V||void 0,"data-item-index":s,"aria-rowindex":void 0===ae?s+u:void 0,"data-automationid":"DetailsRow",style:{minWidth:b},"aria-selected":ie,allowFocusRoot:!0}),ee?rl.createElement("span",{key:"description",role:"presentation",hidden:!0,id:this._ariaRowDescriptionId},ee):null,oe&&rl.createElement("div",{role:"gridcell","data-selection-toggle":!0,className:this._classNames.checkCell},p({id:c?c+"-checkbox":void 0,selected:Y,selectionMode:v,anySelected:X,"aria-label":S,"aria-labelledby":c?he:void 0,canSelect:ne,compact:D,className:this._classNames.check,theme:R,isVisible:_===ID.always,onRenderDetailsCheckbox:h,useFastIcons:F})),rl.createElement(rR,{indentWidth:A,role:"gridcell",count:L-(this.props.collapseAllVisibility===xR.hidden?1:0)}),a&&de,q&&rl.createElement("span",{role:"presentation",className:Wv(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},rl.createElement(ue,{rowClassNames:this._rowClassNames,rowHeaderId:c+"-header",columns:[q.column],item:a,itemIndex:s,columnStartIndex:(oe?1:0)+(L?1:0)+o.length,onRenderItemColumn:f,getCellValueKey:g})),rl.createElement("span",{role:"checkbox",className:this._classNames.checkCover,"aria-checked":Y,"data-selection-toggle":!0}))},n.prototype.measureCell=function(t,n){var r=this.props.columns,o=void 0===r?ZR:r,i=(0,e.__assign)({},o[t]);i.minWidth=0,i.maxWidth=999999,delete i.calculatedWidth,this.setState({columnMeasureInfo:{index:t,column:i,onMeasureDone:n}})},n.prototype.focus=function(e){var t;return void 0===e&&(e=!1),!!(null===(t=this._focusZone.current)||void 0===t?void 0:t.focus(e))},n.prototype._onRenderCheck=function(t){return rl.createElement(zR,(0,e.__assign)({},t))},n.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,n=e.itemIndex,r=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:n,context:{data:t,index:n},canDrag:r.canDrag,canDrop:r.canDrop,onDragStart:r.onDragStart,updateDropState:this._updateDroppingState,onDrop:r.onDrop,onDragEnd:r.onDragEnd,onDragOver:r.onDragOver}},n}(rl.Component);function tM(e){var t,n=e.itemIndex,r=e.selection;return{isSelected:!!(null===r||void 0===r?void 0:r.isIndexSelected(n)),isSelectionModal:!!(null===(t=null===r||void 0===r?void 0:r.isModal)||void 0===t?void 0:t.call(r))}}var nM=ib(eM,(function(t){var n,r,o,i,a,s,c,l,u,d,p,h,f,m,g=t.theme,v=t.isSelected,y=t.canSelect,b=t.droppingClassName,_=t.anySelected,C=t.isCheckVisible,w=t.checkboxCellClassName,E=t.compact,x=t.className,S=t.cellStyleProps,k=void 0===S?hR:S,T=t.enableUpdateAnimations,I=t.disabled,A=g.palette,P=g.fonts,D=A.neutralPrimary,R=A.white,M=A.neutralSecondary,N=A.neutralLighter,L=A.neutralLight,O=A.neutralDark,F=A.neutralQuaternaryAlt,B=g.semanticColors,H=B.focusBorder,z=B.linkHovered,U=og(pR,g),V={defaultHeaderText:D,defaultMetaText:M,defaultBackground:R,defaultHoverHeaderText:O,defaultHoverMetaText:D,defaultHoverBackground:N,selectedHeaderText:O,selectedMetaText:D,selectedBackground:L,selectedHoverHeaderText:O,selectedHoverMetaText:D,selectedHoverBackground:F,focusHeaderText:O,focusMetaText:D,focusBackground:L,focusHoverBackground:F},j=[Zm(g,{inset:-1,borderColor:H,outlineColor:R,highContrastStyle:{top:2,right:2,bottom:2,left:2}}),U.isSelected,{color:V.selectedMetaText,background:V.selectedBackground,borderBottom:"1px solid "+R,selectors:(n={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid "+R}},n["."+U.cell+" > ."+yw.root]={color:z,selectors:(r={},r[Wm]={color:"HighlightText"},r)},n["&:hover"]={background:V.selectedHoverBackground,color:V.selectedHoverMetaText,selectors:(o={},o[Wm]={background:"Highlight",selectors:(i={},i["."+U.cell]={color:"HighlightText"},i["."+U.cell+" > ."+yw.root]={forcedColorAdjust:"none",color:"HighlightText"},i)},o["."+U.isRowHeader]={color:V.selectedHoverHeaderText,selectors:(a={},a[Wm]={color:"HighlightText"},a)},o)},n["&:focus"]={background:V.focusBackground,selectors:(s={},s["."+U.cell]={color:V.focusMetaText,selectors:(c={},c[Wm]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},c)},s["."+U.isRowHeader]={color:V.focusHeaderText,selectors:(l={},l[Wm]={color:"HighlightText"},l)},s[Wm]={background:"Highlight"},s)},n[Wm]=(0,e.__assign)((0,e.__assign)({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{a:{color:"HighlightText"}}}),n["&:focus:hover"]={background:V.focusHoverBackground},n)}],q=[U.isContentUnselectable,{userSelect:"none",cursor:"default"}],W={minHeight:mR.compactRowHeight,border:0},G={minHeight:mR.compactRowHeight,paddingTop:mR.compactRowVerticalPadding,paddingBottom:mR.compactRowVerticalPadding,paddingLeft:k.cellLeftPadding+"px"},K=[Zm(g,{inset:-1}),U.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:mR.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:mR.rowVerticalPadding,paddingBottom:mR.rowVerticalPadding,paddingLeft:k.cellLeftPadding+"px",selectors:(u={"& > button":{maxWidth:"100%"}},u["[data-is-focusable='true']"]=Zm(g,{inset:-1,borderColor:M,outlineColor:R}),u)},v&&{selectors:(d={},d[Wm]=(0,e.__assign)({background:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d)},E&&G,I&&{opacity:.5}];return{root:[U.root,zm.fadeIn400,b,g.fonts.small,C&&U.isCheckVisible,Zm(g,{borderColor:H,outlineColor:R}),{borderBottom:"1px solid "+N,background:V.defaultBackground,color:V.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:mR.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(p={},p["."+U.listCellFirstChild+" &:before"]={display:"none"},p["&:hover"]={background:V.defaultHoverBackground,color:V.defaultHoverMetaText,selectors:(h={},h["."+U.isRowHeader]={color:V.defaultHoverHeaderText},h["."+U.cell+" > ."+yw.root]={color:z},h)},p["&:hover ."+U.check]={opacity:1},p[".ms-Fabric--isFocusVisible &:focus ."+U.check]={opacity:1},p[".ms-GroupSpacer"]={flexShrink:0,flexGrow:0},p)},v&&j,!y&&q,E&&W,x],cellUnpadded:{paddingRight:k.cellRightPadding+"px"},cellPadded:{paddingRight:k.cellExtraRightPadding+k.cellRightPadding+"px",selectors:(f={},f["&."+U.cellCheck]={paddingRight:0},f)},cell:K,cellAnimation:T&&Am.slideLeftIn40,cellMeasurer:[U.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[K,U.cellCheck,w,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],checkCover:{position:"absolute",top:-1,left:0,bottom:0,right:0,display:_?"block":"none"},fields:[U.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[U.isRowHeader,{color:V.defaultHeaderText,fontSize:P.medium.fontSize},v&&{color:V.selectedHeaderText,fontWeight:Bm.semibold,selectors:(m={},m[Wm]={color:"HighlightText"},m)}],isMultiline:[K,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[U.check]}}),void 0,{scope:"DetailsRow"}),rM="data-selection-index",oM="data-selection-toggle",iM="data-selection-invoke",aM="data-selection-all-toggle",sM=function(t){function n(e){var n=t.call(this,e)||this;n._root=rl.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||e_(document.activeElement,t)){if(e_(t,n._root.current))for(;t!==n._root.current;){if(n._hasAttribute(t,iM)){n.ignoreNextFocus();break}t=$b(t)}}else n.ignoreNextFocus()},n._onFocus=function(e){var t=e.target,r=n.props.selection,o=n._isCtrlPressed||n._isMetaPressed,i=n._getSelectionMode();if(n._shouldHandleFocus&&i!==AR.none){var a=n._hasAttribute(t,oM),s=n._findItemRoot(t);if(!a&&s){var c=n._getItemIndex(s);void 0===n._getItemSpan(s)&&(o?(r.setIndexSelected(c,r.isIndexSelected(c),!0),n.props.enterModalOnTouch&&n._isTouch&&r.setModal&&(r.setModal(!0),n._setIsTouch(!1))):n.props.isSelectedOnFocus&&n._onItemSurfaceClick("focus",c))}}n._handleNextFocus(!1)},n._onMouseDown=function(e){n._updateModifiers(e);var t=n.props.toggleWithoutModifierPressed,r=e.target,o=n._findItemRoot(r);if(!n._isSelectionDisabled(r))for(;r!==n._root.current&&!n._hasAttribute(r,aM);){if(o){if(n._hasAttribute(r,oM))break;if(n._hasAttribute(r,iM))break;if(!(r!==o&&!n._shouldAutoSelect(r)||n._isShiftPressed||n._isCtrlPressed||n._isMetaPressed||t)){n._onInvokeMouseDown(e,n._getItemIndex(o),n._getItemSpan(o));break}if(n.props.disableAutoSelectOnInputElements&&("A"===r.tagName||"BUTTON"===r.tagName||"INPUT"===r.tagName))return}r=$b(r)}},n._onTouchStartCapture=function(e){n._setIsTouch(!0)},n._onClick=function(e){var t=n.props.enableTouchInvocationTarget,r=void 0!==t&&t;n._updateModifiers(e);for(var o=e.target,i=n._findItemRoot(o),a=n._isSelectionDisabled(o);o!==n._root.current;){if(n._hasAttribute(o,aM)){a||n._onToggleAllClick(e);break}if(i){var s=n._getItemIndex(i),c=n._getItemSpan(i);if(n._hasAttribute(o,oM)){a||(n._isShiftPressed?n._onItemSurfaceClick("click",s,c):n._onToggleClick(e,s,c));break}if(n._isTouch&&r&&n._hasAttribute(o,"data-selection-touch-invoke")||n._hasAttribute(o,iM)){void 0===c&&n._onInvokeClick(e,s);break}if(o===i){a||n._onItemSurfaceClick("click",s,c);break}if("A"===o.tagName||"BUTTON"===o.tagName||"INPUT"===o.tagName)return}o=$b(o)}},n._onContextMenu=function(e){var t=e.target,r=n.props,o=r.onItemContextMenu,i=r.selection;if(o){var a=n._findItemRoot(t);if(a){var s=n._getItemIndex(a);n._onInvokeMouseDown(e,s),o(i.getItems()[s],s,e.nativeEvent)||e.preventDefault()}}},n._onDoubleClick=function(e){var t=e.target,r=n.props.onItemInvoked,o=n._findItemRoot(t);if(o&&r&&!n._isInputElement(t)){for(var i=n._getItemIndex(o);t!==n._root.current&&!n._hasAttribute(t,oM)&&!n._hasAttribute(t,iM);){if(t===o){n._onInvokeClick(e,i);break}t=$b(t)}t=$b(t)}},n._onKeyDownCapture=function(e){n._updateModifiers(e),n._handleNextFocus(!0)},n._onKeyDown=function(e){n._updateModifiers(e);var t=e.target,r=n._isSelectionDisabled(t),o=n.props,i=o.selection,a=o.selectionClearedOnEscapePress,s=e.which===wf&&(n._isCtrlPressed||n._isMetaPressed),c=e.which===pf;if(!n._isInputElement(t)){var l=n._getSelectionMode();if(s&&l===AR.multiple&&!i.isAllSelected())return r||i.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(a&&c&&i.getSelectedCount()>0)return r||i.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var u=n._findItemRoot(t);if(u)for(var d=n._getItemIndex(u),p=n._getItemSpan(u);t!==n._root.current&&!n._hasAttribute(t,oM);){if(n._shouldAutoSelect(t)){r||void 0!==p||n._onInvokeMouseDown(e,d,p);break}if(!(e.which!==uf&&e.which!==hf||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName))return!1;if(t===u){if(e.which===uf)return void(void 0===p&&(n._onInvokeClick(e,d),e.preventDefault()));if(e.which===hf)return r||n._onToggleClick(e,d,p),void e.preventDefault();break}t=$b(t)}}},n._events=new bS(n),n._async=new tE(n),v_(n);var r=n.props.selection,o=r.isModal&&r.isModal();return n.state={isModal:o},n}return(0,e.__extends)(n,t),n.getDerivedStateFromProps=function(t,n){var r=t.selection.isModal&&t.selection.isModal();return(0,e.__assign)((0,e.__assign)({},n),{isModal:r})},n.prototype.componentDidMount=function(){var e=kf(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)},n.prototype.render=function(){var e=this.state.isModal;return rl.createElement("div",{className:Wv("ms-SelectionZone",this.props.className,{"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,rl.createElement(by,null))},n.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},n.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},n.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===AR.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=$b(e)}return!1},n.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===AR.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},n.prototype._onToggleClick=function(e,t,n){var r=this.props.selection,o=this._getSelectionMode();if(r.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&(void 0!==n?!r.isRangeSelected(t,n):!r.isIndexSelected(t))&&r.setModal&&(r.setModal(!0),this._setIsTouch(!1)),o===AR.multiple)void 0!==n?r.toggleRangeSelected(t,n):r.toggleIndexSelected(t);else{if(o!==AR.single)return void r.setChangeEvents(!0);if(void 0===n||1===n){var i=r.isIndexSelected(t),a=r.isModal&&r.isModal();r.setAllSelected(!1),r.setIndexSelected(t,!i,!0),a&&r.setModal&&r.setModal(!0)}}r.setChangeEvents(!0),e.stopPropagation()},n.prototype._onInvokeClick=function(e,t){var n=this.props,r=n.selection,o=n.onItemInvoked;o&&(o(r.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},n.prototype._onItemSurfaceClick=function(e,t,n){var r,o=this.props,i=o.selection,a=o.toggleWithoutModifierPressed,s=this._isCtrlPressed||this._isMetaPressed,c=this._getSelectionMode();c===AR.multiple?this._isShiftPressed&&!this._isTabPressed?void 0!==n?null===(r=i.selectToRange)||void 0===r||r.call(i,t,n,!s):i.selectToIndex(t,!s):"click"===e&&(s||a)?void 0!==n?i.toggleRangeSelected(t,n):i.toggleIndexSelected(t):this._clearAndSelectIndex(t,n):c===AR.single&&this._clearAndSelectIndex(t,n)},n.prototype._onInvokeMouseDown=function(e,t,n){var r=this.props.selection;if(void 0!==n){if(r.isRangeSelected(t,n))return}else if(r.isIndexSelected(t))return;this._clearAndSelectIndex(t,n)},n.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=I_(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)},n.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},n.prototype._clearAndSelectIndex=function(e,t){var n,r=this.props,o=r.selection,i=r.selectionClearedOnSurfaceClick,a=void 0===i||i;if(!((void 0===t||1===t)&&1===o.getSelectedCount()&&o.isIndexSelected(e))&&a){var s=o.isModal&&o.isModal();o.setChangeEvents(!1),o.setAllSelected(!1),void 0!==t?null===(n=o.setRangeSelected)||void 0===n||n.call(o,e,t,!0,!0):o.setIndexSelected(e,!0,!0),(s||this.props.enterModalOnTouch&&this._isTouch)&&(o.setModal&&o.setModal(!0),this._isTouch&&this._setIsTouch(!1)),o.setChangeEvents(!0)}},n.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;var t=e.keyCode;this._isTabPressed=!!t&&t===lf},n.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var n=e.getAttribute(rM),r=Number(n);if(null!==n&&r>=0&&r<t.getItems().length)break;e=$b(e)}if(e!==this._root.current)return e},n.prototype._getItemIndex=function(e){var t,n=parseInt(null!==(t=e.getAttribute(rM))&&void 0!==t?t:"",10);return isNaN(n)?-1:n},n.prototype._getItemSpan=function(e){var t,n=parseInt(null!==(t=e.getAttribute("data-selection-span"))&&void 0!==t?t:"",10);return isNaN(n)?void 0:n},n.prototype._shouldAutoSelect=function(e){return this._hasAttribute(e,"data-selection-select")},n.prototype._hasAttribute=function(e,t){for(var n=!1;!n&&e!==this._root.current;){var r=e.getAttribute(t);if("false"===r){n=!1;break}n="true"===r,e=$b(e)}return n},n.prototype._isInputElement=function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===e.getAttribute("contenteditable")||""===e.getAttribute("contenteditable")},n.prototype._isNonHandledClick=function(e){var t=xf();if(t&&e)for(;e&&e!==t.documentElement;){if(c_(e)||e.hasAttribute("data-selection-index"))return!1;e=$b(e)}return!0},n.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)},n.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)},n.prototype._getSelectionMode=function(){var e=this.props.selection,t=this.props.selectionMode;return void 0===t?e?e.mode:AR.none:t},n.defaultProps={isSelectedOnFocus:!0,toggleWithoutModifierPressed:!1,selectionMode:AR.multiple,selectionClearedOnEscapePress:!0},n}(rl.Component),cM=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0]||{},r=n.onSelectionChanged,o=n.onItemsChanged,i=n.getKey,a=n.canSelectItem,s=void 0===a?function(){return!0}:a,c=n.items,l=n.selectionMode,u=void 0===l?AR.multiple:l;this.mode=u,this._getKey=i||lM,this._changeEventSuppressionCount=0,this._exemptedCount=0,this._anchoredIndex=0,this._unselectableCount=0,this._onSelectionChanged=r,this._onItemsChanged=o,this._canSelectItem=s,this._keyToIndexMap={},this._isModal=!1,this.setItems(c||[],!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={},r={},o=!1;this.setChangeEvents(!1),this._unselectableCount=0;for(var i=!1,a=0;a<e.length;a++){if(u=e[a])(g=this.getKey(u,a))&&(i||g in this._keyToIndexMap&&this._keyToIndexMap[g]===a||(i=!0),n[g]=a);r[a]=u&&!this.canSelectItem(u),r[a]&&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?o=!0:(s[h]=!0,c++,o=o||h!==d)}if(this._items&&0===this._exemptedCount&&e.length!==this._items.length&&this._isAllSelected&&(o=!0),!i)for(var f=0,m=Object.keys(this._keyToIndexMap);f<m.length;f++){var g;if(!((g=m[f])in n)){i=!0;break}}this._exemptedIndices=s,this._exemptedCount=c,this._keyToIndexMap=n,this._unselectableIndices=r,this._items=e,this._selectedItems=null,o&&this._updateCount(),i&&(bS.raise(this,"items-change"),this._onItemsChanged&&this._onItemsChanged()),o&&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.getItemIndex=function(e){var t=this._keyToIndexMap[e];return null!==t&&void 0!==t?t:-1},e.prototype.isRangeSelected=function(e,t){if(0===t)return!1;for(var n=e+t,r=e;r<n;r++)if(!this.isIndexSelected(r))return!1;return!0},e.prototype.isAllSelected=function(){var e=this._items.length-this._unselectableCount;return this.mode===AR.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===AR.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 r=this._keyToIndexMap[e];r>=0&&this.setIndexSelected(r,t,n)},e.prototype.setIndexSelected=function(e,t,n){if(this.mode!==AR.none&&!((e=Math.min(Math.max(0,e),this._items.length-1))<0||e>=this._items.length)){this.setChangeEvents(!1);var r=this._exemptedIndices[e];!this._unselectableIndices[e]&&(t&&this.mode===AR.single&&this._setAllSelected(!1,!0),r&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[e],this._exemptedCount--),!r&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[e]=!0,this._exemptedCount++),n&&(this._anchoredIndex=e)),this._updateCount(),this.setChangeEvents(!0)}},e.prototype.setRangeSelected=function(e,t,n,r){if(this.mode!==AR.none&&(e=Math.min(Math.max(0,e),this._items.length-1),t=Math.min(Math.max(0,t),this._items.length-e),!(e<0||e>=this._items.length||0===t))){this.setChangeEvents(!1);for(var o=e,i=e+t-1,a=(this._anchoredIndex||0)>=i?o:i;o<=i;o++)this.setIndexSelected(o,n,!!r&&o===a);this.setChangeEvents(!0)}},e.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},e.prototype.selectToRange=function(e,t,n){if(this.mode!==AR.none)if(this.mode!==AR.single){var r=this._anchoredIndex||0,o=Math.min(e,r),i=Math.max(e+t-1,r);for(this.setChangeEvents(!1),n&&this._setAllSelected(!1,!0);o<=i;o++)this.setIndexSelected(o,!0,!1);this.setChangeEvents(!0)}else 1===t&&this.setIndexSelected(e,!0,!0)},e.prototype.selectToIndex=function(e,t){if(this.mode!==AR.none)if(this.mode!==AR.single){var n=this._anchoredIndex||0,r=Math.min(e,n),o=Math.max(e,n);for(this.setChangeEvents(!1),t&&this._setAllSelected(!1,!0);r<=o;r++)this.setIndexSelected(r,!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!==AR.none){var n=this.isRangeSelected(e,t),r=e+t;if(!(this.mode===AR.single&&t>1)){this.setChangeEvents(!1);for(var o=e;o<r;o++)this.setIndexSelected(o,!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===AR.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,bS.raise(this,NR),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function lM(e,t){var n=(e||{}).key;return void 0===n?""+t:n}var uM={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},dM="cubic-bezier(0.445, 0.050, 0.550, 0.950)",pM={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"},hM="cubic-bezier(0.075, 0.820, 0.165, 1.000)",fM="cubic-bezier(0.390, 0.575, 0.565, 1.000)",mM="cubic-bezier(0.600, -0.280, 0.735, 0.045)",gM=pb(),vM=function(t){function n(e){var n=t.call(this,e)||this;return n._toggleCollapse=function(){var e=n.props,t=e.group,r=e.onToggleCollapse,o=e.isGroupLoading,i=!n.state.isCollapsed,a=!i&&o&&o(t);n.setState({isCollapsed:i,isLoadingVisible:a}),r&&r(t)},n._onKeyUp=function(e){var t=n.props,r=t.group,o=t.onGroupHeaderKeyUp;if(o&&o(e,r),!e.defaultPrevented){var i=n.state.isCollapsed&&e.which===Df(_f,n.props.theme);(!n.state.isCollapsed&&e.which===Df(yf,n.props.theme)||i)&&(n._toggleCollapse(),e.stopPropagation(),e.preventDefault())}},n._onToggleClick=function(e){n._toggleCollapse(),e.stopPropagation(),e.preventDefault()},n._onHeaderClick=function(){var e=n.props,t=e.group,r=e.onGroupHeaderClick;r&&r(t)},n._onRenderTitle=function(e){if(!e.group)return null;var t=e.onRenderName?qS(e.onRenderName,n._onRenderName):n._onRenderName;return rl.createElement("div",{className:n._classNames.title,id:n._id,onClick:n._onHeaderClick,role:"gridcell","aria-colspan":n.props.ariaColSpan,"data-selection-invoke":!0},t(e))},n._onRenderName=function(e){var t=e.group;return t?rl.createElement(rl.Fragment,null,rl.createElement("span",null,t.name),rl.createElement("span",{className:n._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},n._id=ey("GroupHeader"),n.state={isCollapsed:n.props.group&&n.props.group.isCollapsed,isLoadingVisible:!1},n}return(0,e.__extends)(n,t),n.getDerivedStateFromProps=function(t,n){if(t.group){var r=t.group.isCollapsed,o=t.isGroupLoading,i=!r&&o&&o(t.group);return(0,e.__assign)((0,e.__assign)({},n),{isCollapsed:r||!1,isLoadingVisible:i||!1})}return n},n.prototype.render=function(){var t=this.props,n=t.group,r=t.groupLevel,o=void 0===r?0:r,i=t.viewport,a=t.selectionMode,s=t.loadingText,c=t.isSelected,l=void 0!==c&&c,u=t.selected,d=void 0!==u&&u,p=t.indentWidth,h=t.onRenderGroupHeaderCheckbox,f=t.isCollapsedGroupSelectVisible,m=void 0===f||f,g=t.expandButtonProps,v=t.expandButtonIcon,y=t.selectAllButtonProps,b=t.theme,_=t.styles,C=t.className,w=t.compact,E=t.ariaLevel,x=t.ariaPosInSet,S=t.ariaSetSize,k=t.ariaRowIndex,T=t.useFastIcons,I=this.props.onRenderTitle?qS(this.props.onRenderTitle,this._onRenderTitle):this._onRenderTitle,A=T?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,P=h?qS(h,A):A,D=this.state,R=D.isCollapsed,M=D.isLoadingVisible,N=a===AR.multiple,L=N&&(m||!(n&&n.isCollapsed)),O=d||l,F=Pf(b);return this._classNames=gM(_,{theme:b,className:C,selected:O,isCollapsed:R,compact:w}),n?rl.createElement("div",{className:this._classNames.root,style:i?{minWidth:i.width}:{},role:"row","aria-level":E,"aria-setsize":S,"aria-posinset":x,"aria-rowindex":k,"data-is-focusable":!0,onKeyUp:this._onKeyUp,"aria-label":n.ariaLabel,"aria-labelledby":n.ariaLabel?void 0:this._id,"aria-expanded":!this.state.isCollapsed,"aria-selected":N?O:void 0,"data-selection-index":n.startIndex,"data-selection-span":n.count},rl.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},L?rl.createElement("div",{role:"gridcell"},rl.createElement("button",(0,e.__assign)({"data-is-focusable":!1,type:"button",className:this._classNames.check,role:"checkbox",id:this._id+"-check","aria-checked":O,"aria-labelledby":this._id+"-check "+this._id,"data-selection-toggle":!0},y),P({checked:O,theme:b},P))):a!==AR.none&&rl.createElement(rR,{indentWidth:48,count:1}),rl.createElement(rR,{indentWidth:p,count:o}),rl.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},rl.createElement(HS,{iconName:"Tag"})),rl.createElement("div",{role:"gridcell"},rl.createElement("button",(0,e.__assign)({"data-is-focusable":!1,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},g),rl.createElement(HS,{className:this._classNames.expandIsCollapsed,iconName:v||(F?"ChevronLeftMed":"ChevronRightMed")}))),I(this.props),M&&rl.createElement(Dw,{label:s}))):null},n.prototype._defaultCheckboxRender=function(e){return rl.createElement(RR,{checked:e.checked})},n.prototype._fastDefaultCheckboxRender=function(e){return rl.createElement(yM,{theme:e.theme,checked:e.checked})},n.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},n}(rl.Component),yM=rl.memo((function(e){return rl.createElement(RR,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})})),bM=ib(vM,(function(e){var t,n,r,o,i,a=e.theme,s=e.className,c=e.selected,l=e.isCollapsed,u=e.compact,d=hR.cellLeftPadding,p=u?40:48,h=a.semanticColors,f=a.palette,m=a.fonts,g=og(pM,a),v=[Zm(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[g.root,Zm(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[".ms-Fabric--isFocusVisible &:focus ."+g.check]={opacity:1},t[":global(."+g.group+"."+g.isDropping+")"]={selectors:(n={},n["& > ."+g.root+" ."+g.dropIcon]={transition:"transform "+Im+" "+hM+" opacity "+Sm+" "+fM,transitionDelay:Tm,opacity:1,transform:"rotate(0.2deg) scale(1);"},n["."+g.check]={opacity:0},n)},t)},c&&[g.isSelected,{background:h.listItemBackgroundChecked,selectors:(r={":hover":{background:h.listItemBackgroundCheckedHovered}},r[""+g.check]={opacity:1},r)}],u&&[g.compact,{border:"none"}],s],groupHeaderContainer:[{display:"flex",alignItems:"center",height:p}],headerCount:[{padding:"0px 4px"}],check:[g.check,v,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:48,height:p,selectors:(o={},o[".ms-Fabric--isFocusVisible &:focus"]={opacity:1},o)}],expand:[g.expand,v,{display:"flex",flexShrink:0,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:Pf(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?Bm.regular:Bm.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}],dropIcon:[g.dropIcon,{position:"absolute",left:-26,fontSize:Hm.large,color:f.neutralSecondary,transition:"transform "+km+" "+mM+", opacity "+Im+" "+fM,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"}),_M={root:"ms-GroupShowAll",link:"ms-Link"},CM=pb(),wM=ib((function(e){var t=e.group,n=e.groupLevel,r=e.showAllLinkText,o=void 0===r?"Show All":r,i=e.styles,a=e.theme,s=e.onToggleSummarize,c=CM(i,{theme:a}),l=(0,rl.useCallback)((function(e){s(t),e.stopPropagation(),e.preventDefault()}),[s,t]);return t?rl.createElement("div",{className:c.root},rl.createElement(rR,{count:n}),rl.createElement(bw,{onClick:l},o)):null}),(function(e){var t,n=e.theme,r=n.fonts,o=og(_M,n);return{root:[o.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(t={},t["."+o.link]={fontSize:r.small.fontSize},t)}]}}),void 0,{scope:"GroupShowAll"}),EM={root:"ms-groupFooter"},xM=pb(),SM=ib((function(e){var t=e.group,n=e.groupLevel,r=e.footerText,o=e.indentWidth,i=e.styles,a=e.theme,s=xM(i,{theme:a});return t&&r?rl.createElement("div",{className:s.root},rl.createElement(rR,{indentWidth:o,count:n}),r):null}),(function(e){var t=e.theme,n=e.className,r=og(EM,t);return{root:[t.fonts.medium,r.root,{position:"relative",padding:"5px 38px"},n]}}),void 0,{scope:"GroupFooter"}),kM=0,TM=1,IM=2,AM=3,PM=function(e){if(void 0===e)return 0;var t=0;return"scrollTop"in e?t=e.scrollTop:"scrollY"in e&&(t=e.scrollY),Math.ceil(t)},DM=function(e,t){"scrollTop"in e?e.scrollTop=t:"scrollY"in e&&e.scrollTo(e.scrollX,t)},RM="spacer-",MM={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},NM=function(e){return e.getBoundingClientRect()},LM=NM,OM=NM,FM=function(t){function n(n){var r=t.call(this,n)||this;return r._root=rl.createRef(),r._surface=rl.createRef(),r._pageRefs={},r._getDerivedStateFromProps=function(e,t){return e.items!==r.props.items||e.renderCount!==r.props.renderCount||e.startIndex!==r.props.startIndex||e.version!==r.props.version?(r._resetRequiredWindows(),r._requiredRect=null,r._measureVersion++,r._invalidatePageCache(),r._updatePages(e,t)):t},r._onRenderRoot=function(t){var n=t.rootRef,r=t.surfaceElement,o=t.divProps;return rl.createElement("div",(0,e.__assign)({ref:n},o),r)},r._onRenderSurface=function(t){var n=t.surfaceRef,r=t.pageElements,o=t.divProps;return rl.createElement("div",(0,e.__assign)({ref:n},o),r)},r._onRenderPage=function(t,n){for(var o=r.props,i=o.onRenderCell,a=o.role,s=t.page,c=s.items,l=void 0===c?[]:c,u=s.startIndex,d=(0,e.__rest)(t,["page"]),p=void 0===a?"listitem":"presentation",h=[],f=0;f<l.length;f++){var m=u+f,g=l[f],v=r.props.getKey?r.props.getKey(g,m):g&&g.key;null!==v&&void 0!==v||(v=m),h.push(rl.createElement("div",{role:p,className:"ms-List-cell",key:v,"data-list-index":m,"data-automationid":"ListCell"},i&&i(g,m,r.props.ignoreScrollingState?void 0:r.state.isScrolling)))}return rl.createElement("div",(0,e.__assign)({},d),h)},v_(r),r.state={pages:[],isScrolling:!1,getDerivedStateFromProps:r._getDerivedStateFromProps},r._async=new tE(r),r._events=new bS(r),r._estimatedPageHeight=0,r._totalEstimates=0,r._requiredWindowsAhead=0,r._requiredWindowsBehind=0,r._measureVersion=0,r._onAsyncScroll=r._async.debounce(r._onAsyncScroll,100,{leading:!1,maxWait:500}),r._onAsyncIdle=r._async.debounce(r._onAsyncIdle,200,{leading:!1}),r._onAsyncResize=r._async.debounce(r._onAsyncResize,16,{leading:!1}),r._onScrollingDone=r._async.debounce(r._onScrollingDone,500,{leading:!1}),r._cachedPageHeights={},r._estimatedPageHeight=0,r._focusedIndex=-1,r._pageCache={},r}return(0,e.__extends)(n,t),n.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},Object.defineProperty(n.prototype,"pageRefs",{get:function(){return this._pageRefs},enumerable:!1,configurable:!0}),n.prototype.scrollToIndex=function(e,t,n){void 0===n&&(n=kM);for(var r=this.props.startIndex,o=r+this._getRenderCount(),i=this._allowedRect,a=0,s=1,c=r;c<o;c+=s){var l=this._getPageSpecification(this.props,c,i),u=l.height;if(s=l.itemCount,c<=e&&c+s>e){if(t&&this._scrollElement){for(var d=OM(this._scrollElement),p=PM(this._scrollElement),h={top:p,bottom:p+d.height},f=e-c,m=0;m<f;++m)a+=t(c+m);var g=a+t(e);switch(n){case TM:return void DM(this._scrollElement,a);case IM:return void DM(this._scrollElement,g-d.height);case AM:return void DM(this._scrollElement,(a+g-d.height)/2)}if(a>=h.top&&g<=h.bottom)return;a<h.top||g>h.bottom&&(a=g-d.height)}return void(this._scrollElement&&DM(this._scrollElement,a))}a+=u}},n.prototype.getStartItemIndexInView=function(e){for(var t=0,n=this.state.pages||[];t<n.length;t++){var r=n[t];if(!r.isSpacer&&(this._scrollTop||0)>=r.top&&(this._scrollTop||0)<=r.top+r.height){if(!e){var o=Math.floor(r.height/r.itemCount);return r.startIndex+Math.floor((this._scrollTop-r.top)/o)}for(var i=0,a=r.startIndex;a<r.startIndex+r.itemCount;a++){o=e(a);if(r.top+i<=this._scrollTop&&this._scrollTop<r.top+i+o)return a;i+=o}}}return 0},n.prototype.componentDidMount=function(){this._scrollElement=I_(this._root.current),this._scrollTop=0,this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,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))},n.prototype.componentDidUpdate=function(e,t){var n=this.props,r=this.state;if(this.state.pagesVersion!==t.pagesVersion){if(n.getPageHeight)this._onAsyncIdle();else this._updatePageMeasurements(r.pages)?(this._materializedRect=null,this._hasCompletedFirstRender?this._onAsyncScroll():(this._hasCompletedFirstRender=!0,this.setState(this._updatePages(n,r)))):this._onAsyncIdle();n.onPagesUpdated&&n.onPagesUpdated(r.pages)}},n.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose(),delete this._scrollElement},n.prototype.shouldComponentUpdate=function(e,t){var n=this.state.pages,r=t.pages,o=!1;if(!t.isScrolling&&this.state.isScrolling)return!0;if(e.version!==this.props.version)return!0;if(e.className!==this.props.className)return!0;if(e.items===this.props.items&&n.length===r.length)for(var i=0;i<n.length;i++){var a=n[i],s=r[i];if(a.key!==s.key||a.itemCount!==s.itemCount){o=!0;break}}else o=!0;return o},n.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,this.state,!0),this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,t.prototype.forceUpdate.call(this)},n.prototype.getTotalListHeight=function(){return this._surfaceRect.height},n.prototype.render=function(){for(var t=this.props,n=t.className,r=t.role,o=void 0===r?"list":r,i=t.onRenderSurface,a=t.onRenderRoot,s=this.state.pages,c=void 0===s?[]:s,l=[],u=Nv(this.props,Mv),d=0,p=c;d<p.length;d++){var h=p[d];l.push(this._renderPage(h))}var f=i?qS(i,this._onRenderSurface):this._onRenderSurface;return(a?qS(a,this._onRenderRoot):this._onRenderRoot)({rootRef:this._root,pages:c,surfaceElement:f({surfaceRef:this._surface,pages:c,pageElements:l,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:(0,e.__assign)((0,e.__assign)({},u),{className:Wv("ms-List",n),role:l.length>0?o:void 0,"aria-label":l.length>0?u["aria-label"]:void 0})})},n.prototype._shouldVirtualize=function(e){void 0===e&&(e=this.props);var t=e.onShouldVirtualize;return!t||t(e)},n.prototype._invalidatePageCache=function(){this._pageCache={}},n.prototype._renderPage=function(e){var t,n=this,r=this.props.usePageCache;if(r&&(t=this._pageCache[e.key])&&t.pageElement)return t.pageElement;var o=this._getPageStyle(e),i=this.props.onRenderPage,a=(void 0===i?this._onRenderPage:i)({page:e,className:"ms-List-page",key:e.key,ref:function(t){n._pageRefs[e.key]=t},style:o,role:"presentation"},this._onRenderPage);return r&&0===e.startIndex&&(this._pageCache[e.key]={page:e,pageElement:a}),a},n.prototype._getPageStyle=function(t){var n=this.props.getPageStyle;return(0,e.__assign)((0,e.__assign)({},n?n(t):{}),t.items?{}:{height:t.height})},n.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=$b(t)}},n.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDone()},n.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},n.prototype._onAsyncScroll=function(){var e,t;this._updateRenderRects(this.props,this.state),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.setState(this._updatePages(this.props,this.state))},n.prototype._onAsyncIdle=function(){var e=this.props,t=e.renderedWindowsAhead,n=e.renderedWindowsBehind,r=this._requiredWindowsAhead,o=this._requiredWindowsBehind,i=Math.min(t,r+1),a=Math.min(n,o+1);i===r&&a===o||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=a,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(t>i||n>a)&&this._onAsyncIdle()},n.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||this.setState({isScrolling:!1})},n.prototype._onAsyncResize=function(){this.forceUpdate()},n.prototype._updatePages=function(t,n){this._requiredRect||this._updateRenderRects(t,n);var r=this._buildPages(t,n),o=n.pages;return this._notifyPageChanges(o,r.pages,this.props),(0,e.__assign)((0,e.__assign)((0,e.__assign)({},n),r),{pagesVersion:{}})},n.prototype._notifyPageChanges=function(e,t,n){var r=n.onPageAdded,o=n.onPageRemoved;if(r||o){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])}},n.prototype._updatePageMeasurements=function(e){var t=!1;if(!this._shouldVirtualize())return t;for(var n=0;n<e.length;n++){var r=e[n];r.items&&(t=this._measurePage(r)||t)}return t},n.prototype._measurePage=function(e){var t=!1,n=this._pageRefs[e.key],r=this._cachedPageHeights[e.startIndex];if(n&&this._shouldVirtualize()&&(!r||r.measureVersion!==this._measureVersion)){var o={width:n.clientWidth,height:n.clientHeight};(o.height||o.width)&&(t=e.height!==o.height,e.height=o.height,this._cachedPageHeights[e.startIndex]={height:o.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+o.height)/(this._totalEstimates+1)),this._totalEstimates++)}return t},n.prototype._onPageAdded=function(e){var t=this.props.onPageAdded;t&&t(e)},n.prototype._onPageRemoved=function(e){var t=this.props.onPageRemoved;t&&t(e)},n.prototype._buildPages=function(t,n){var r=t.renderCount,o=t.items,i=t.startIndex,a=t.getPageHeight;r=this._getRenderCount(t);for(var s=(0,e.__assign)({},MM),c=[],l=1,u=0,d=null,p=this._focusedIndex,h=i+r,f=this._shouldVirtualize(t),m=0===this._estimatedPageHeight&&!a,g=this._allowedRect,v=function(e){var r=y._getPageSpecification(t,e,g),a=r.height,v=r.data,b=r.key;l=r.itemCount;var _,C,w=u+a-1,E=Yb(n.pages,(function(t){return!!t.items&&t.startIndex===e}))>-1,x=!g||w>=g.top&&u<=g.bottom,S=!y._requiredRect||w>=y._requiredRect.top&&u<=y._requiredRect.bottom;if(!m&&(S||x&&E)||!f||p>=e&&p<e+l||e===i){d&&(c.push(d),d=null);var k=Math.min(l,h-e),T=y._createPage(b,o.slice(e,e+k),e,void 0,void 0,v);T.top=u,T.height=a,y._visibleRect&&y._visibleRect.bottom&&(T.isVisible=w>=y._visibleRect.top&&u<=y._visibleRect.bottom),c.push(T),S&&y._allowedRect&&(_=s,C={top:u,bottom:w,height:a,left:g.left,right:g.right,width:g.width},_.top=C.top<_.top||-1===_.top?C.top:_.top,_.left=C.left<_.left||-1===_.left?C.left:_.left,_.bottom=C.bottom>_.bottom||-1===_.bottom?C.bottom:_.bottom,_.right=C.right>_.right||-1===_.right?C.right:_.right,_.width=_.right-_.left+1,_.height=_.bottom-_.top+1)}else d||(d=y._createPage(RM+e,void 0,e,0,void 0,v,!0)),d.height=(d.height||0)+(w-u)+1,d.itemCount+=l;if(u+=w-u+1,m&&f)return"break"},y=this,b=i;b<h;b+=l){if("break"===v(b))break}return d&&(d.key="spacer-end",c.push(d)),this._materializedRect=s,(0,e.__assign)((0,e.__assign)({},n),{pages:c,measureVersion:this._measureVersion})},n.prototype._getPageSpecification=function(e,t,n){var r=e.getPageSpecification;if(r){var o=r(t,n),i=o.itemCount,a=void 0===i?this._getItemCountForPage(t,n):i,s=o.height;return{itemCount:a,height:void 0===s?this._getPageHeight(t,n,a):s,data:o.data,key:o.key}}return{itemCount:a=this._getItemCountForPage(t,n),height:this._getPageHeight(t,n,a)}},n.prototype._getPageHeight=function(e,t,n){if(this.props.getPageHeight)return this.props.getPageHeight(e,t,n);var r=this._cachedPageHeights[e];return r?r.height:this._estimatedPageHeight||30},n.prototype._getItemCountForPage=function(e,t){var n=this.props.getItemCountForPage?this.props.getItemCountForPage(e,t):10;return n||10},n.prototype._createPage=function(e,t,n,r,o,i,a){void 0===n&&(n=-1),void 0===r&&(r=t?t.length:0),void 0===o&&(o={}),e=e||"page-"+n;var s=this._pageCache[e];return s&&s.page?s.page:{key:e,startIndex:n,itemCount:r,items:t,style:o,top:0,height:0,data:i,isSpacer:a||!1}},n.prototype._getRenderCount=function(e){var t=e||this.props,n=t.items,r=t.startIndex,o=t.renderCount;return void 0===o?n?n.length-r:0:o},n.prototype._updateRenderRects=function(t,n,r){var o=t.renderedWindowsAhead,i=t.renderedWindowsBehind,a=n.pages;if(this._shouldVirtualize(t)){var s=this._surfaceRect||(0,e.__assign)({},MM),c=function(e){if(void 0===e)return 0;var t=0;return"scrollHeight"in e?t=e.scrollHeight:"document"in e&&(t=e.document.documentElement.scrollHeight),t}(this._scrollElement),l=PM(this._scrollElement);this._surface.current&&(r||!a||!this._surfaceRect||!c||c!==this._scrollHeight||Math.abs(this._scrollTop-l)>this._estimatedPageHeight/3)&&(s=this._surfaceRect=LM(this._surface.current),this._scrollTop=l),!r&&c&&c===this._scrollHeight||this._measureVersion++,this._scrollHeight=c||0;var u=Math.max(0,-s.top),d=kf(this._root.current),p={top:u,left:s.left,bottom:u+d.innerHeight,right:s.right,width:s.width,height:d.innerHeight};this._requiredRect=BM(p,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=BM(p,i,o),this._visibleRect=p}},n.defaultProps={startIndex:0,onRenderCell:function(e,t,n){return rl.createElement(rl.Fragment,null,e&&e.name||"")},renderedWindowsAhead:2,renderedWindowsBehind:2},n}(rl.Component);function BM(e,t,n){var r=e.top-t*e.height,o=e.height+(t+n)*e.height;return{top:r,bottom:r+o,height:o,left:e.left,right:e.right,width:e.width}}var HM=function(t){function n(r){var o=t.call(this,r)||this;o._root=rl.createRef(),o._list=rl.createRef(),o._subGroupRefs={},o._droppingClassName="",o._onRenderGroupHeader=function(t){return rl.createElement(bM,(0,e.__assign)({},t))},o._onRenderGroupShowAll=function(t){return rl.createElement(wM,(0,e.__assign)({},t))},o._onRenderGroupFooter=function(t){return rl.createElement(SM,(0,e.__assign)({},t))},o._renderSubGroup=function(e,t){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,g=r.onRenderCell,v=r.selection,y=r.selectionMode,b=r.viewport,_=r.onRenderGroupHeader,C=r.onRenderGroupShowAll,w=r.onRenderGroupFooter,E=r.onShouldVirtualize,x=r.group,S=r.compact,k=e.level?e.level+1:l;return!e||e.count>0||u&&u.showEmptyGroups?rl.createElement(n,{ref:function(e){return o._subGroupRefs["subGroup_"+t]=e},key:o._getGroupKey(e,t),dragDropEvents:i,dragDropHelper:a,eventsToRegister:s,footerProps:f,getGroupItemLimit:c,group:e,groupIndex:t,groupNestingDepth:k,groupProps:u,headerProps:p,items:d,listProps:m,onRenderCell:g,selection:v,selectionMode:y,showAllProps:h,viewport:b,onRenderGroupHeader:_,onRenderGroupShowAll:C,onRenderGroupFooter:w,onShouldVirtualize:E,groups:x?x.children:[],compact:S}):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 i=r.selection,a=r.group;return v_(o),o._id=ey("GroupedListSection"),o.state={isDropping:!1,isSelected:!(!i||!a)&&i.isRangeSelected(a.startIndex,a.count)},o._events=new bS(o),o}return(0,e.__extends)(n,t),n.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,NR,this._onSelectionChange)},n.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},n.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())))},n.prototype.render=function(){var t=this.props,n=t.getGroupItemLimit,r=t.group,o=t.groupIndex,i=t.headerProps,a=t.showAllProps,s=t.footerProps,c=t.viewport,l=t.selectionMode,u=t.onRenderGroupHeader,d=void 0===u?this._onRenderGroupHeader:u,p=t.onRenderGroupShowAll,h=void 0===p?this._onRenderGroupShowAll:p,f=t.onRenderGroupFooter,m=void 0===f?this._onRenderGroupFooter:f,g=t.onShouldVirtualize,v=t.groupedListClassNames,y=t.groups,b=t.compact,_=t.listProps,C=void 0===_?{}:_,w=this.state.isSelected,E=r&&n?n(r):1/0,x=r&&!r.children&&!r.isCollapsed&&!r.isShowingAll&&(r.count>E||r.hasMoreData),S=r&&r.children&&r.children.length>0,k=C.version,T={group:r,groupIndex:o,groupLevel:r?r.level:0,isSelected:w,selected:w,viewport:c,selectionMode:l,groups:y,compact:b},I={groupedListId:this._id,ariaLevel:(null===r||void 0===r?void 0:r.level)?r.level+1:1,ariaSetSize:y?y.length:void 0,ariaPosInSet:void 0!==o?o+1:void 0},A=(0,e.__assign)((0,e.__assign)((0,e.__assign)({},i),T),I),P=(0,e.__assign)((0,e.__assign)({},a),T),D=(0,e.__assign)((0,e.__assign)({},s),T),R=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(r)&&!!this.props.dragDropEvents.canDragGroups;return rl.createElement("div",(0,e.__assign)({ref:this._root},R&&{draggable:!0},{className:Wv(v&&v.group,this._getDroppingClassName()),role:"presentation"}),d(A,this._onRenderGroupHeader),r&&r.isCollapsed?null:S?rl.createElement(FM,{role:"presentation",ref:this._list,items:r?r.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:g,version:k,id:this._id}):this._onRenderGroup(E),r&&r.isCollapsed?null:x&&h(P,this._onRenderGroupShowAll),m(D,this._onRenderGroupFooter))},n.prototype.forceUpdate=function(){t.prototype.forceUpdate.call(this),this.forceListUpdate()},n.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 r;(r=this._list.current.pageRefs["subGroup_"+String(n)])&&r.forceListUpdate()}}else(r=this._subGroupRefs["subGroup_"+String(0)])&&r.forceListUpdate()},n.prototype._onSelectionChange=function(){var e=this.props,t=e.group,n=e.selection;if(n&&t){var r=n.isRangeSelected(t.startIndex,t.count);r!==this.state.isSelected&&this.setState({isSelected:r})}},n.prototype._onRenderGroupCell=function(e,t,n){return function(r,o){return e(t,r,o,n)}},n.prototype._onRenderGroup=function(t){var n=this.props,r=n.group,o=n.items,i=n.onRenderCell,a=n.listProps,s=n.groupNestingDepth,c=n.onShouldVirtualize,l=n.groupProps,u=r&&!r.isShowingAll?r.count:o.length,d=r?r.startIndex:0;return rl.createElement(FM,(0,e.__assign)({role:l&&l.role?l.role:"rowgroup","aria-label":null===r||void 0===r?void 0:r.name,items:o,onRenderCell:this._onRenderGroupCell(i,s,r),ref:this._list,renderCount:Math.min(u,t),startIndex:d,onShouldVirtualize:c,id:this._id},a))},n.prototype._returnOne=function(){return 1},n.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(e.level)+String(t))},n.prototype._getDroppingClassName=function(){var e=this.state.isDropping,t=this.props,n=t.group,r=t.groupedListClassNames;return Wv((e=!(!n||!e))&&this._droppingClassName,e&&"is-dropping",e&&r&&r.groupIsDropping)},n}(rl.Component),zM=pb(),UM=fR.rowHeight,VM=fR.compactRowHeight,jM=function(t){function n(n){var r=t.call(this,n)||this;r._list=rl.createRef(),r._renderGroup=function(t,n){var o=r.props,i=o.dragDropEvents,a=o.dragDropHelper,s=o.eventsToRegister,c=o.groupProps,l=o.items,u=o.listProps,d=o.onRenderCell,p=o.selectionMode,h=o.selection,f=o.viewport,m=o.onShouldVirtualize,g=o.groups,v=o.compact,y={onToggleSelectGroup:r._onToggleSelectGroup,onToggleCollapse:r._onToggleCollapse,onToggleSummarize:r._onToggleSummarize},b=(0,e.__assign)((0,e.__assign)({},c.headerProps),y),_=(0,e.__assign)((0,e.__assign)({},c.showAllProps),y),C=(0,e.__assign)((0,e.__assign)({},c.footerProps),y),w=r._getGroupNestingDepth();if(!c.showEmptyGroups&&t&&0===t.count)return null;var E=(0,e.__assign)((0,e.__assign)({},u||{}),{version:r.state.version});return rl.createElement(HM,{key:r._getGroupKey(t,n),dragDropEvents:i,dragDropHelper:a,eventsToRegister:s,footerProps:C,getGroupItemLimit:c&&c.getGroupItemLimit,group:t,groupIndex:n,groupNestingDepth:w,groupProps:c,headerProps:b,listProps:E,items:l,onRenderCell:d,onRenderGroupHeader:c.onRenderHeader,onRenderGroupShowAll:c.onRenderShowAll,onRenderGroupFooter:c.onRenderFooter,selectionMode:p,selection:h,showAllProps:_,viewport:f,onShouldVirtualize:m,groupedListClassNames:r._classNames,groups:g,compact:v})},r._getDefaultGroupItemLimit=function(e){return e.children&&e.children.length>0?e.children.length:e.count},r._getGroupItemLimit=function(e){var t=r.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:r._getDefaultGroupItemLimit)(e)},r._getGroupHeight=function(e){var t=r.props.compact?VM:UM;return t+(e.isCollapsed?0:t*r._getGroupItemLimit(e))},r._getPageHeight=function(e){var t=r.state.groups,n=r.props.getGroupHeight,o=void 0===n?r._getGroupHeight:n,i=t&&t[e];return i?o(i,e):0},r._onToggleCollapse=function(e){var t=r.props.groupProps,n=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(n&&n(e),e.isCollapsed=!e.isCollapsed,r._updateIsSomeGroupExpanded(),r.forceUpdate())},r._onToggleSelectGroup=function(e){var t=r.props,n=t.selection,o=t.selectionMode;e&&n&&o===AR.multiple&&n.toggleRangeSelected(e.startIndex,e.count)},r._isInnerZoneKeystroke=function(e){return e.which===Df(_f)},r._onToggleSummarize=function(e){var t=r.props.groupProps,n=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;n?n(e):(e&&(e.isShowingAll=!e.isShowingAll),r.forceUpdate())},r._getPageSpecification=function(e){var t=r.state.groups,n=t&&t[e];return{key:n&&n.key}},v_(r),r._isSomeGroupExpanded=r._computeIsSomeGroupExpanded(n.groups);var o=n.listProps,i=(void 0===o?{}:o).version,a=void 0===i?{}:i;return r.state={groups:n.groups,items:n.items,listProps:n.listProps,version:a},r}return(0,e.__extends)(n,t),n.getDerivedStateFromProps=function(t,n){var r=t.groups,o=t.selectionMode,i=t.compact,a=t.items,s=t.listProps,c=s&&s.version,l=(0,e.__assign)((0,e.__assign)({},n),{selectionMode:o,compact:i,groups:r,listProps:s,items:a}),u=!1;return c===(n.listProps&&n.listProps.version)&&a===n.items&&r===n.groups&&o===n.selectionMode&&i===n.compact||(u=!0),u&&(l=(0,e.__assign)((0,e.__assign)({},l),{version:{}})),l},n.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n)},n.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},n.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,n=e.groups,r=void 0===n?[]:n;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(r,t.isAllGroupsCollapsed)},n.prototype.render=function(){var t=this.props,n=t.className,r=t.usePageCache,o=t.onShouldVirtualize,i=t.theme,a=t.role,s=void 0===a?"treegrid":a,c=t.styles,l=t.compact,u=t.focusZoneProps,d=void 0===u?{}:u,p=t.rootListProps,h=void 0===p?{}:p,f=this.state,m=f.groups,g=f.version;this._classNames=zM(c,{theme:i,className:n,compact:l});var v=d.shouldEnterInnerZone,y=void 0===v?this._isInnerZoneKeystroke:v;return rl.createElement(q_,(0,e.__assign)({direction:Bb.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},d,{shouldEnterInnerZone:y,className:Wv(this._classNames.root,d.className)}),m?rl.createElement(FM,(0,e.__assign)({ref:this._list,role:s,items:m,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:r,onShouldVirtualize:o,version:g},h)):this._renderGroup(void 0,0))},n.prototype.forceUpdate=function(){t.prototype.forceUpdate.call(this),this._forceListUpdates()},n.prototype.toggleCollapseAll=function(e){var t=this.state.groups,n=void 0===t?[]:t,r=this.props.groupProps,o=r&&r.onToggleCollapseAll;n.length>0&&(o&&o(e),this._setGroupsCollapsedState(n,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},n.prototype._setGroupsCollapsedState=function(e,t){for(var n=0;n<e.length;n++)e[n].isCollapsed=t},n.prototype._returnOne=function(){return 1},n.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(t))},n.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.state.groups;t&&t.length>0;)e++,t=t[0].children;return e},n.prototype._forceListUpdates=function(e){this.setState({version:{}})},n.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some((function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed})))},n.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)},n.defaultProps={selectionMode:AR.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},n}(rl.Component),qM=ib(jM,(function(e){var t,n,r=e.theme,o=e.className,i=e.compact,a=r.palette,s=og(uM,r);return{root:[s.root,r.fonts.small,{position:"relative",selectors:(t={},t["."+s.listCell]={minHeight:38},t)},i&&[s.compact,{selectors:(n={},n["."+s.listCell]={minHeight:32},n)}],o],group:[s.group,{transition:"background-color "+km+" "+dM}],groupIsDropping:{backgroundColor:a.neutralLight}}}),void 0,{scope:"GroupedList"}),WM=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];var GM=function(t){function n(e){var n=t.call(this,e)||this;return n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n}return(0,e.__extends)(n,t),n.prototype._updateComposedComponentRef=function(e){var t;this._composedComponentInstance=e,e?this._hoisted=function(e,t,n){void 0===n&&(n=WM);var r=[],o=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 i in t)o(i);return r}(this,e):this._hoisted&&(t=this,this._hoisted.forEach((function(e){return delete t[e]})))},n}(rl.Component);function KM(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}function YM(t){return function(n){function r(e){var t=n.call(this,e)||this;return t._root=rl.createRef(),t._registerResizeObserver=function(){var e=kf(t._root.current);t._viewportResizeObserver=new e.ResizeObserver(t._onAsyncResize),t._viewportResizeObserver.observe(t._root.current)},t._unregisterResizeObserver=function(){t._viewportResizeObserver&&(t._viewportResizeObserver.disconnect(),delete t._viewportResizeObserver)},t._updateViewport=function(e){var n=t.state.viewport,r=t._root.current,o=KM(I_(r)),i=KM(r);((i&&i.width)!==n.width||(o&&o.height)!==n.height)&&t._resizeAttempts<3&&i&&o?(t._resizeAttempts++,t.setState({viewport:{width:i.width,height:o.height}},(function(){t._updateViewport(e)}))):(t._resizeAttempts=0,e&&t._composedComponentInstance&&t._composedComponentInstance.forceUpdate())},t._async=new tE(t),t._events=new bS(t),t._resizeAttempts=0,t.state={viewport:{width:0,height:0}},t}return(0,e.__extends)(r,n),r.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.delayFirstMeasure,r=t.disableResizeObserver,o=t.skipViewportMeasures,i=kf(this._root.current);this._onAsyncResize=this._async.debounce(this._onAsyncResize,500,{leading:!1}),o||(!r&&this._isResizeObserverAvailable()?this._registerResizeObserver():this._events.on(i,"resize",this._onAsyncResize),n?this._async.setTimeout((function(){e._updateViewport()}),500):this._updateViewport())},r.prototype.componentDidUpdate=function(e){var t=e.skipViewportMeasures,n=this.props,r=n.disableResizeObserver,o=n.skipViewportMeasures,i=kf(this._root.current);o!==t&&(o?(this._unregisterResizeObserver(),this._events.off(i,"resize",this._onAsyncResize)):(!r&&this._isResizeObserverAvailable()?this._viewportResizeObserver||this._registerResizeObserver():this._events.on(i,"resize",this._onAsyncResize),this._updateViewport()))},r.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._unregisterResizeObserver()},r.prototype.render=function(){var n=this.state.viewport,r=n.width>0&&n.height>0?n:void 0;return rl.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},rl.createElement(t,(0,e.__assign)({ref:this._updateComposedComponentRef,viewport:r},this.props)))},r.prototype.forceUpdate=function(){this._updateViewport(!0)},r.prototype._onAsyncResize=function(){this._updateViewport()},r.prototype._isResizeObserverAvailable=function(){var e=kf(this._root.current);return e&&e.ResizeObserver},r}(GM)}var QM=pb(),XM=100,JM=function(t){var n=t.selection,r=t.ariaLabelForListHeader,o=t.ariaLabelForSelectAllCheckbox,i=t.ariaLabelForSelectionColumn,a=t.className,s=t.checkboxVisibility,c=t.compact,l=t.constrainMode,u=t.dragDropEvents,d=t.groups,p=t.groupProps,h=t.indentWidth,f=t.items,m=t.isPlaceholderData,g=t.isHeaderVisible,v=t.layoutMode,y=t.onItemInvoked,b=t.onItemContextMenu,_=t.onColumnHeaderClick,C=t.onColumnHeaderContextMenu,w=t.selectionMode,E=void 0===w?n.mode:w,x=t.selectionPreservedOnEmptyClick,S=t.selectionZoneProps,k=t.ariaLabel,T=t.ariaLabelForGrid,I=t.rowElementEventMap,A=t.shouldApplyApplicationRole,P=void 0!==A&&A,D=t.getKey,R=t.listProps,M=t.usePageCache,N=t.onShouldVirtualize,L=t.viewport,O=t.minimumPixelsForDrag,F=t.getGroupHeight,B=t.styles,H=t.theme,z=t.cellStyleProps,U=void 0===z?hR:z,V=t.onRenderCheckbox,j=t.useFastIcons,q=t.dragDropHelper,W=t.adjustedColumns,G=t.isCollapsed,K=t.isSizing,Y=t.isSomeGroupExpanded,Q=t.version,X=t.rootRef,J=t.listRef,$=t.focusZoneRef,Z=t.columnReorderOptions,ee=t.groupedListRef,te=t.headerRef,ne=t.onGroupExpandStateChanged,re=t.onColumnIsSizingChanged,oe=t.onRowDidMount,ie=t.onRowWillUnmount,ae=t.disableSelectionZone,se=t.isSelectedOnFocus,ce=void 0===se||se,le=t.onColumnResized,ue=t.onColumnAutoResized,de=t.onToggleCollapse,pe=t.onActiveRowChanged,he=t.onBlur,fe=t.rowElementEventMap,me=t.onRenderMissingItem,ge=t.onRenderItemColumn,ve=t.onRenderField,ye=t.getCellValueKey,be=t.getRowAriaLabel,_e=t.getRowAriaDescribedBy,Ce=t.checkButtonAriaLabel,we=t.checkButtonGroupAriaLabel,Ee=t.checkboxCellClassName,xe=t.useReducedRowRenderer,Se=t.enableUpdateAnimations,ke=t.enterModalSelectionOnTouch,Te=t.onRenderDefaultRow,Ie=t.selectionZoneRef,Ae=t.focusZoneProps,Pe="grid",De=t.role?t.role:Pe,Re=ey("row"),Me=function(e){var t=0,n=e;for(;n&&n.length>0;)t++,n=n[0].children;return t}(d),Ne=function(e){return rl.useMemo((function(){var t={};if(e)for(var n=1,r=1,o=0,i=e;o<i.length;o++){var a=i[o];t[a.key]={numOfGroupHeadersBeforeItem:r,totalRowCount:n},r++,n+=a.count+1}return t}),[e])}(d),Le=rl.useMemo((function(){return(0,e.__assign)({renderedWindowsAhead:K?0:2,renderedWindowsBehind:K?0:2,getKey:D,version:Q},R)}),[K,D,Q,R]),Oe=HR.none;if(E===AR.single&&(Oe=HR.hidden),E===AR.multiple){var Fe=p&&p.headerProps&&p.headerProps.isCollapsedGroupSelectVisible;void 0===Fe&&(Fe=!0),Oe=Fe||!d||Y?HR.visible:HR.hidden}s===ID.hidden&&(Oe=HR.none);var Be=rl.useCallback((function(t){return rl.createElement(QR,(0,e.__assign)({},t))}),[]),He=rl.useCallback((function(){return null}),[]),ze=t.onRenderDetailsHeader,Ue=rl.useMemo((function(){return ze?qS(ze,Be):Be}),[ze,Be]),Ve=t.onRenderDetailsFooter,je=rl.useMemo((function(){return Ve?qS(Ve,He):He}),[Ve,He]),qe=rl.useMemo((function(){return{columns:W,groupNestingDepth:Me,selection:n,selectionMode:E,viewport:L,checkboxVisibility:s,indentWidth:h,cellStyleProps:U}}),[W,Me,n,E,L,s,h,U]),We=Z&&Z.onDragEnd,Ge=rl.useCallback((function(e,t){var n=e.dropLocation,r=kD.outside;if(We){if(n&&n!==kD.header)r=n;else if(X.current){var o=X.current.getBoundingClientRect();t.clientX>o.left&&t.clientX<o.right&&t.clientY>o.top&&t.clientY<o.bottom&&(r=kD.surface)}We(r)}}),[We,X]),Ke=rl.useMemo((function(){if(Z)return(0,e.__assign)((0,e.__assign)({},Z),{onColumnDragEnd:Ge})}),[Z,Ge]),Ye=(g?1:0)+function(t){var n=0;if(t)for(var r=(0,e.__spreadArray)([],t),o=void 0;r&&r.length>0;)++n,(o=r.pop())&&o.children&&r.push.apply(r,o.children);return n}(d)+(f?f.length:0),Qe=(Oe!==HR.none?1:0)+(W?W.length:0)+(d?1:0),Xe=rl.useMemo((function(){return QM(B,{theme:H,compact:c,isFixed:v===TD.fixedColumns,isHorizontalConstrained:l===SD.horizontalConstrained,className:a})}),[B,H,c,v,l,a]),Je=p&&p.onRenderFooter,$e=rl.useMemo((function(){return Je?function(t,r){return Je((0,e.__assign)((0,e.__assign)({},t),{columns:W,groupNestingDepth:Me,indentWidth:h,selection:n,selectionMode:E,viewport:L,checkboxVisibility:s,cellStyleProps:U}),r)}:void 0}),[Je,W,Me,h,n,E,L,s,U]),Ze=p&&p.onRenderHeader,et=rl.useMemo((function(){return Ze?function(t,r){var o,i,a=t.groupIndex,c=void 0!==a?null===(i=null===(o=t.groups)||void 0===o?void 0:o[a])||void 0===i?void 0:i.key:void 0,l=void 0!==c&&Ne[c]?Ne[c].totalRowCount:0;return Ze((0,e.__assign)((0,e.__assign)({},t),{columns:W,groupNestingDepth:Me,indentWidth:h,selection:n,selectionMode:s!==ID.hidden?E:AR.none,viewport:L,checkboxVisibility:s,cellStyleProps:U,ariaColSpan:W.length,ariaLevel:void 0,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:void 0!==a?l+(g?1:0):void 0}),r)}:function(t,n){var r,o,i=t.groupIndex,a=void 0!==i?null===(o=null===(r=t.groups)||void 0===r?void 0:r[i])||void 0===o?void 0:o.key:void 0,s=void 0!==a&&Ne[a]?Ne[a].totalRowCount:0;return n((0,e.__assign)((0,e.__assign)({},t),{ariaColSpan:W.length,ariaLevel:void 0,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:void 0!==i?s+(g?1:0):void 0}))}}),[Ze,W,Me,h,g,n,E,L,s,U,Ne]),tt=rl.useMemo((function(){var t;return(0,e.__assign)((0,e.__assign)({},p),{role:De===Pe?"rowgroup":"presentation",onRenderFooter:$e,onRenderHeader:et,headerProps:(0,e.__assign)((0,e.__assign)({},null===p||void 0===p?void 0:p.headerProps),{selectAllButtonProps:(0,e.__assign)({"aria-label":we},null===(t=null===p||void 0===p?void 0:p.headerProps)||void 0===t?void 0:t.selectAllButtonProps)})})}),[p,$e,et,we,De]),nt=Db((function(){return of((function(e){var t=0;return e.forEach((function(e){return t+=e.calculatedWidth||e.minWidth})),t}))})),rt=p&&p.collapseAllVisibility,ot=rl.useMemo((function(){return nt(W)}),[W,nt]),it=rl.useCallback((function(e,r,o,i){var a=t.onRenderRow?qS(t.onRenderRow,Te):Te,l=i?i.key:void 0,d=l&&Ne[l]?Ne[l].numOfGroupHeadersBeforeItem:0,p={item:r,itemIndex:o,flatIndexOffset:(g?2:1)+d,compact:c,columns:W,groupNestingDepth:e,id:Re+"-"+o,selectionMode:E,selection:n,onDidMount:oe,onWillUnmount:ie,onRenderItemColumn:ge,onRenderField:ve,getCellValueKey:ye,eventsToRegister:fe,dragDropEvents:u,dragDropHelper:q,viewport:L,checkboxVisibility:s,collapseAllVisibility:rt,getRowAriaLabel:be,getRowAriaDescribedBy:_e,checkButtonAriaLabel:Ce,checkboxCellClassName:Ee,useReducedRowRenderer:xe,indentWidth:h,cellStyleProps:U,onRenderDetailsCheckbox:V,enableUpdateAnimations:Se,rowWidth:ot,useFastIcons:j,role:De===Pe?void 0:"presentation",isGridRow:!0};return r?a(p):me?me(o,p):null}),[c,W,E,n,Re,oe,ie,ge,ve,ye,fe,u,q,L,s,rt,be,_e,g,Ce,Ee,xe,h,U,V,Se,j,Te,me,t.onRenderRow,ot,De,Ne]),at=rl.useCallback((function(e){return function(t,n){return it(e,t,n)}}),[it]),st=rl.useCallback((function(e){return e.which===Df(_f,H)}),[H]),ct=(0,e.__assign)((0,e.__assign)({},Ae),{componentRef:Ae&&Ae.componentRef?Ae.componentRef:$,className:Xe.focusZone,direction:Ae?Ae.direction:Bb.vertical,shouldEnterInnerZone:Ae&&Ae.shouldEnterInnerZone?Ae.shouldEnterInnerZone:st,onActiveElementChanged:Ae&&Ae.onActiveElementChanged?Ae.onActiveElementChanged:pe,shouldRaiseClicksOnEnter:!1,onBlur:Ae&&Ae.onBlur?Ae.onBlur:he}),lt=d?rl.createElement(qM,{focusZoneProps:ct,componentRef:ee,groups:d,groupProps:tt,items:f,onRenderCell:it,role:"presentation",selection:n,selectionMode:s!==ID.hidden?E:AR.none,dragDropEvents:u,dragDropHelper:q,eventsToRegister:I,listProps:Le,onGroupExpandStateChanged:ne,usePageCache:M,onShouldVirtualize:N,getGroupHeight:F,compact:c}):rl.createElement(q_,(0,e.__assign)({},ct),rl.createElement(FM,(0,e.__assign)({ref:J,role:"presentation",items:f,onRenderCell:at(0),usePageCache:M,onShouldVirtualize:N},Le))),ut=rl.useCallback((function(e){e.which===Cf&&$.current&&$.current.focus()&&(ce&&0===n.getSelectedIndices().length&&n.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())}),[n,$,ce]),dt=rl.useCallback((function(e){e.which!==bf||e.altKey||te.current&&te.current.focus()&&(e.preventDefault(),e.stopPropagation())}),[te]);return rl.createElement("div",(0,e.__assign)({ref:X,className:Xe.root,"data-automationid":"DetailsList","data-is-scrollable":"false"},P?{role:"application"}:{}),rl.createElement(by,null),rl.createElement("div",{role:De,"aria-label":T||k,"aria-rowcount":m?0:Ye,"aria-colcount":Qe,"aria-readonly":"true","aria-busy":m},rl.createElement("div",{onKeyDown:ut,role:"presentation",className:Xe.headerWrapper},g&&Ue({componentRef:te,selectionMode:E,layoutMode:v,selection:n,columns:W,onColumnClick:_,onColumnContextMenu:C,onColumnResized:le,onColumnIsSizingChanged:re,onColumnAutoResized:ue,groupNestingDepth:Me,isAllCollapsed:G,onToggleCollapseAll:de,ariaLabel:r,ariaLabelForSelectAllCheckbox:o,ariaLabelForSelectionColumn:i,selectAllVisibility:Oe,collapseAllVisibility:p&&p.collapseAllVisibility,viewport:L,columnReorderProps:Ke,minimumPixelsForDrag:O,cellStyleProps:U,checkboxVisibility:s,indentWidth:h,onRenderDetailsCheckbox:V,rowWidth:nt(W),useFastIcons:j},Ue)),rl.createElement("div",{onKeyDown:dt,role:"presentation",className:Xe.contentWrapper},ae?lt:rl.createElement(sM,(0,e.__assign)({ref:Ie,selection:n,selectionPreservedOnEmptyClick:x,selectionMode:E,isSelectedOnFocus:ce,selectionClearedOnEscapePress:ce,toggleWithoutModifierPressed:!ce,onItemInvoked:y,onItemContextMenu:b,enterModalOnTouch:ke},S||{}),lt)),je((0,e.__assign)({},qe))))},$M=function(t){function n(n){var r=t.call(this,n)||this;return r._root=rl.createRef(),r._header=rl.createRef(),r._groupedList=rl.createRef(),r._list=rl.createRef(),r._focusZone=rl.createRef(),r._selectionZone=rl.createRef(),r._onRenderRow=function(t,n){return rl.createElement(nM,(0,e.__assign)({},t))},r._getDerivedStateFromProps=function(t,n){var o=r.props,i=o.checkboxVisibility,a=o.items,s=o.setKey,c=o.selectionMode,l=void 0===c?r._selection.mode:c,u=o.columns,d=o.viewport,p=o.compact,h=o.dragDropEvents,f=(r.props.groupProps||{}).isAllGroupsCollapsed,m=void 0===f?void 0:f,g=t.viewport&&t.viewport.width||0,v=d&&d.width||0,y=t.setKey!==s||void 0===t.setKey,b=!1;t.layoutMode!==r.props.layoutMode&&(b=!0);var _=n;return y&&(r._initialFocusedIndex=t.initialFocusedIndex,_=(0,e.__assign)((0,e.__assign)({},_),{focusedItemIndex:void 0!==r._initialFocusedIndex?r._initialFocusedIndex:-1})),r.props.disableSelectionZone||t.items===a||r._selection.setItems(t.items,y),t.checkboxVisibility===i&&t.columns===u&&g===v&&t.compact===p||(b=!0),_=(0,e.__assign)((0,e.__assign)({},_),r._adjustColumns(t,_,!0)),t.selectionMode!==l&&(b=!0),void 0===m&&t.groupProps&&void 0!==t.groupProps.isAllGroupsCollapsed&&(_=(0,e.__assign)((0,e.__assign)({},_),{isCollapsed:t.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!t.groupProps.isAllGroupsCollapsed})),t.dragDropEvents!==h&&(r._dragDropHelper&&r._dragDropHelper.dispose(),r._dragDropHelper=t.dragDropEvents?new UR({selection:r._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,b=!0),b&&(_=(0,e.__assign)((0,e.__assign)({},_),{version:{}})),_},r._onGroupExpandStateChanged=function(e){r.setState({isSomeGroupExpanded:e})},r._onColumnIsSizingChanged=function(e,t){r.setState({isSizing:t})},r._onRowDidMount=function(e){var t=e.props,n=t.item,o=t.itemIndex,i=r._getItemKey(n,o);r._activeRows[i]=e,r._setFocusToRowIfPending(e);var a=r.props.onRowDidMount;a&&a(n,o)},r._onRowWillUnmount=function(e){var t=r.props.onRowWillUnmount,n=e.props,o=n.item,i=n.itemIndex,a=r._getItemKey(o,i);delete r._activeRows[a],t&&t(o,i)},r._onToggleCollapse=function(e){r.setState({isCollapsed:e}),r._groupedList.current&&r._groupedList.current.toggleCollapseAll(e)},r._onColumnResized=function(t,n,o){var i=Math.max(t.minWidth||XM,n);r.props.onColumnResize&&r.props.onColumnResize(t,i,o),r._rememberCalculatedWidth(t,i),r.setState((0,e.__assign)((0,e.__assign)({},r._adjustColumns(r.props,r.state,!0,o)),{version:{}}))},r._onColumnAutoResized=function(e,t){var n=0,o=0,i=Object.keys(r._activeRows).length;for(var a in r._activeRows){if(r._activeRows.hasOwnProperty(a))r._activeRows[a].measureCell(t,(function(a){n=Math.max(n,a),++o===i&&r._onColumnResized(e,n,t)}))}},r._onActiveRowChanged=function(e,t){var n=r.props,o=n.items,i=n.onActiveItemChanged;if(e&&e.getAttribute("data-item-index")){var a=Number(e.getAttribute("data-item-index"));a>=0&&(i&&i(o[a],a,t),r.setState({focusedItemIndex:a}))}},r._onBlur=function(e){r.setState({focusedItemIndex:-1})},v_(r),r._async=new tE(r),r._activeRows={},r._columnOverrides={},r.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:r._getAdjustedColumns(n,void 0),isSizing:!1,isCollapsed:n.groupProps&&n.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:n.groupProps&&!n.groupProps.isAllGroupsCollapsed,version:{},getDerivedStateFromProps:r._getDerivedStateFromProps},r._selection=n.selection||new cM({onSelectionChanged:void 0,getKey:n.getKey,selectionMode:n.selectionMode}),r.props.disableSelectionZone||r._selection.setItems(n.items,!1),r._dragDropHelper=n.dragDropEvents?new UR({selection:r._selection,minimumPixelsForDrag:n.minimumPixelsForDrag}):void 0,r._initialFocusedIndex=n.initialFocusedIndex,r}return(0,e.__extends)(n,t),n.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},n.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)},n.prototype.focusIndex=function(e,t,n,r){void 0===t&&(t=!1);var o=this.props.items[e];if(o){this.scrollToIndex(e,n,r);var i=this._getItemKey(o,e),a=this._activeRows[i];a&&this._setFocusToRow(a,t)}},n.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},n.prototype.updateColumn=function(e,t){var n,r,o=this.props,i=o.columns,a=void 0===i?[]:i,s=o.selectionMode,c=o.checkboxVisibility,l=o.columnReorderOptions,u=t.width,d=t.newColumnIndex,p=a.findIndex((function(t){return t.key===e.key}));if(u&&this._onColumnResized(e,u,p),void 0!==d&&l){var h=s===AR.none||c===ID.hidden,f=(c!==ID.hidden?2:1)+p,m=h?f-1:f-2,g=h?d-1:d-2,v=null!==(n=l.frozenColumnCountFromStart)&&void 0!==n?n:0,y=null!==(r=l.frozenColumnCountFromEnd)&&void 0!==r?r:0;if(g>=v&&g<a.length-y)if(l.onColumnDrop){var b={draggedIndex:m,targetIndex:g};l.onColumnDrop(b)}else l.handleColumnReorder&&l.handleColumnReorder(m,g)}},n.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},n.prototype.componentDidUpdate=function(e,t){if((this._notifyColumnsResized(),void 0!==this._initialFocusedIndex)&&(i=this.props.items[this._initialFocusedIndex])){var n=this._getItemKey(i,this._initialFocusedIndex);(r=this._activeRows[n])&&this._setFocusToRowIfPending(r)}if(this.props.items!==e.items&&this.props.items.length>0&&-1!==this.state.focusedItemIndex&&!e_(this._root.current,document.activeElement,!1)){var r,o=this.state.focusedItemIndex<this.props.items.length?this.state.focusedItemIndex:this.props.items.length-1,i=this.props.items[o];n=this._getItemKey(i,this.state.focusedItemIndex);(r=this._activeRows[n])?this._setFocusToRow(r):this._initialFocusedIndex=o}this.props.onDidUpdate&&this.props.onDidUpdate(this)},n.prototype.render=function(){return rl.createElement(JM,(0,e.__assign)({},this.props,this.state,{selection:this._selection,dragDropHelper:this._dragDropHelper,rootRef:this._root,listRef:this._list,groupedListRef:this._groupedList,focusZoneRef:this._focusZone,headerRef:this._header,selectionZoneRef:this._selectionZone,onGroupExpandStateChanged:this._onGroupExpandStateChanged,onColumnIsSizingChanged:this._onColumnIsSizingChanged,onRowDidMount:this._onRowDidMount,onRowWillUnmount:this._onRowWillUnmount,onColumnResized:this._onColumnResized,onColumnAutoResized:this._onColumnAutoResized,onToggleCollapse:this._onToggleCollapse,onActiveRowChanged:this._onActiveRowChanged,onBlur:this._onBlur,onRenderDefaultRow:this._onRenderRow}))},n.prototype.forceUpdate=function(){t.prototype.forceUpdate.call(this),this._forceListUpdates()},n.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.props.groups;t&&t.length>0;)e++,t=t[0].children;return e},n.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},n.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)},n.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},n.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach((function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)}))},n.prototype._adjustColumns=function(t,n,r,o){var i=this._getAdjustedColumns(t,n,r,o),a=this.props.viewport,s=a&&a.width?a.width:0;return(0,e.__assign)((0,e.__assign)({},n),{adjustedColumns:i,lastWidth:s})},n.prototype._getAdjustedColumns=function(e,t,n,r){var o,i=this,a=e.items,s=e.layoutMode,c=e.selectionMode,l=e.viewport,u=l&&l.width?l.width:0,d=e.columns,p=this.props?this.props.columns:[],h=t?t.lastWidth:-1,f=t?t.lastSelectionMode:void 0;return n||h!==u||f!==c||p&&d!==p?(d=d||function(e,t,n,r,o,i,a,s){var c=[];if(e&&e.length){var l=e[0];for(var u in l)l.hasOwnProperty(u)&&c.push({key:u,name:u,fieldName:u,minWidth:XM,maxWidth:300,isCollapsable:!!c.length,isCollapsible:!!c.length,isMultiline:void 0!==a&&a,isSorted:r===u,isSortedDescending:!!o,isRowHeader:!1,columnActionsMode:null!==s&&void 0!==s?s:xD.clickable,isResizable:t,onColumnClick:n,isGrouped:i===u})}return c}(a,!0),s===TD.fixedColumns?(o=this._getFixedColumns(d,u,e)).forEach((function(e){i._rememberCalculatedWidth(e,e.calculatedWidth)})):(o=this._getJustifiedColumns(d,u,e)).forEach((function(e){i._getColumnOverride(e.key).currentWidth=e.calculatedWidth})),o):d||[]},n.prototype._getFixedColumns=function(t,n,r){var o=this,i=this.props,a=i.selectionMode,s=void 0===a?this._selection.mode:a,c=i.checkboxVisibility,l=i.flexMargin,u=i.skipViewportMeasures,d=n-(l||0),p=0;t.forEach((function(e){u||!e.flexGrow?d-=e.maxWidth||e.minWidth||XM:(d-=e.minWidth||XM,p+=e.flexGrow),d-=ZM(e,r,!0)}));var h=s!==AR.none&&c!==ID.hidden?48:0,f=36*this._getGroupNestingDepth(),m=(d-=h+f)/p;return u||t.forEach((function(t){var n=(0,e.__assign)((0,e.__assign)({},t),o._columnOverrides[t.key]);if(n.flexGrow&&n.maxWidth){var r=n.flexGrow*m+n.minWidth,i=r-n.maxWidth;i>0&&(d+=i,p-=i/(r-n.minWidth)*n.flexGrow)}})),m=d>0?d/p:0,t.map((function(t){var n=(0,e.__assign)((0,e.__assign)({},t),o._columnOverrides[t.key]);return!u&&n.flexGrow&&d<=0||n.calculatedWidth||(!u&&n.flexGrow?(n.calculatedWidth=n.minWidth+n.flexGrow*m,n.calculatedWidth=Math.min(n.calculatedWidth,n.maxWidth||Number.MAX_VALUE)):n.calculatedWidth=n.maxWidth||n.minWidth||XM),n}))},n.prototype._getJustifiedColumns=function(t,n,r){var o=this,i=r.selectionMode,a=void 0===i?this._selection.mode:i,s=r.checkboxVisibility,c=a!==AR.none&&s!==ID.hidden?48:0,l=36*this._getGroupNestingDepth(),u=0,d=0,p=n-(c+l),h=t.map((function(t,n){var i=(0,e.__assign)((0,e.__assign)({},t),{calculatedWidth:t.minWidth||XM}),a=(0,e.__assign)((0,e.__assign)({},i),o._columnOverrides[t.key]);return i.isCollapsible||i.isCollapsable||(d+=ZM(i,r)),u+=ZM(a,r),a}));if(d>p)return h;for(var f=h.length-1;f>=0&&u>p;){var m=(b=h[f]).minWidth||XM,g=u-p;if(b.calculatedWidth-m>=g||!b.isCollapsible&&!b.isCollapsable){var v=b.calculatedWidth;b.calculatedWidth=Math.max(b.calculatedWidth-g,m),u-=v-b.calculatedWidth}else u-=ZM(b,r),h.splice(f,1);f--}for(var y=0;y<h.length&&u<p;y++){var b=h[y],_=y===h.length-1,C=this._columnOverrides[b.key];if(!C||!C.calculatedWidth||_){var w=p-u,E=void 0;if(_)E=w;else{var x=b.maxWidth;m=b.minWidth||x||XM;E=x?Math.min(w,x-m):w}b.calculatedWidth=b.calculatedWidth+E,u+=E}}return h},n.prototype._rememberCalculatedWidth=function(e,t){var n=this._getColumnOverride(e.key);n.calculatedWidth=t,n.currentWidth=t},n.prototype._getColumnOverride=function(e){return this._columnOverrides[e]=this._columnOverrides[e]||{}},n.prototype._getItemKey=function(e,t){var n=this.props.getKey,r=void 0;return e&&(r=e.key),n&&(r=n(e,t)),r||(r=t),r},n.defaultProps={layoutMode:TD.justified,selectionMode:AR.multiple,constrainMode:SD.horizontalConstrained,checkboxVisibility:ID.onHover,isHeaderVisible:!0,compact:!1,useFastIcons:!0},n=(0,e.__decorate)([YM],n)}(rl.Component);function ZM(e,t,n){var r=t.cellStyleProps,o=void 0===r?hR:r;return(n?0:e.calculatedWidth)+o.cellLeftPadding+o.cellRightPadding+(e.isPadded?o.cellExtraRightPadding:0)}var eN={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"},tN=ib($M,(function(e){var t,n,r=e.theme,o=e.className,i=e.isHorizontalConstrained,a=e.compact,s=e.isFixed,c=r.semanticColors,l=og(eN,r);return{root:[l.root,r.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"}],o],focusZone:[{display:"inline-block",minWidth:"100%",minHeight:1}],headerWrapper:l.headerWrapper,contentWrapper:l.contentWrapper}}),void 0,{scope:"DetailsList"}),nN=function(e){var t=e.operationalData;return ol().createElement(jw,{horizontalAlign:"start"},ol().createElement(KI,{operationalData:t}))},rN=function(t){var n=t.iconName,r=t.disabled,o=t.operationalData,i=t.columnAlign,a=void 0===i?"start":i,s=(0,e.__rest)(t,["iconName","disabled","operationalData","columnAlign"]);return ol().createElement(XP,{iconName:n,disabled:r},ol().createElement(jw,{horizontalAlign:"end"===a?"end":"start",margin:"end"===a?"0px 8px":void 0,grow:!0},ol().createElement(KI,{operationalData:o},YI(s,r))))},oN=function(t){var n=t.toggleProps,r=t.disabled,o=t.columnAlign,i=void 0===o?"end":o,a=t.iconName,s=t.operationalData,c=(0,e.__rest)(t,["toggleProps","disabled","columnAlign","iconName","operationalData"]);return ol().createElement(XP,{iconName:a,disabled:r},ol().createElement(jw,{horizontal:!0,grow:!0,horizontalAlign:"end"===i?"space-between":"start",childrenGap:16,verticalAlign:"center"},ol().createElement(jw,null,ol().createElement(KI,{operationalData:s},YI(c,r))),ol().createElement(jw,{padding:XI},ol().createElement(Xw,null,ol().createElement(BI,(0,e.__assign)({},n,{labelPosition:"inline",disabled:r}))))))},iN=function(t){var n=t.hyperlinks,r=t.disabled,o=t.operationalData;return ol().createElement(jw,{horizontal:!0,childrenGap:"16",wrap:!0},ol().createElement(KI,{operationalData:o},n.map((function(t,n){return ol().createElement(Kx,(0,e.__assign)({},t,{disabled:null!==r&&void 0!==r?r:t.disabled,key:n}))}))))},aN=function(){return ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:1},ol().createElement(ol().Fragment,null)),ol().createElement(zw,{slots:8},ol().createElement(EI,{height:12})),ol().createElement(zw,{slots:2},ol().createElement(EI,{height:12})),ol().createElement(zw,{slots:1},ol().createElement(ol().Fragment,null)))},sN="RevealPasswordMedium",cN=function(e,t,n){return ol().createElement(Sw,{key:"".concat(t,"-").concat(n),style:{color:e}},t)},lN=function(e){var t=e.contentType,n=function(e,t,n){var r=[];"password"===n&&Array.from(e).forEach((function(e,n){Kw(e)?r.push(cN(t.semanticColors.errorBlockIcon,e,n)):function(e){return 1===e.length&&/[a-zA-Z]/.test(e)}(e)?r.push(cN(t.palette.neutralPrimary,e,n)):r.push(cN(t.semanticColors.messageLink,e,n))}));return r}(e.value,rb(),t);return ol().createElement(jv,{horizontal:!0,styles:{root:{display:"flex",flexWrap:"wrap"}}},n)},uN=function(){var t=(0,e.__spreadArray)([],Array(25),!0).map((function(e,t){return ol().createElement(uw,{key:t,iconName:"CircleFillBadge12",size:"6px",color:"neutralSecondary"})}));return ol().createElement(jv,{horizontal:!0,styles:{root:{display:"flex",flexWrap:"wrap",overflow:"hidden",height:"6px"}}},t)},dN=function(e){var t=e.contentType,n=e.shown,r=e.value;return n&&r?ol().createElement(lN,{value:r,contentType:t}):ol().createElement(uN,null)},pN=function(e){var t=e.contentType,n=e.onHideButtonClick,r=e.onShowButtonClick,o=e.operationalData,i=e.showIconButton,a=e.hideIconButton,s=e.value;qv("SensitiveContent");var c=(0,rl.useState)(!0),l=c[0],u=c[1],d=(0,rl.useState)({iconName:sN,tooltip:i.tooltip,"aria-label":i["aria-label"],"data-bi-id":i["data-bi-id"],disabled:i.disabled}),p=d[0],h=d[1],f=function(){l?(u(!1),m(!0),r&&r()):(u(!0),m(!1),n&&n())},m=function(e){h({iconName:e?"Hide":sN,tooltip:e?a.tooltip:i.tooltip,"aria-label":e?a["aria-label"]:i["aria-label"],"data-bi-id":e?a["data-bi-id"]:i["data-bi-id"],disabled:e?a.disabled:i.disabled})},g={display:"flex",justifyContent:"space-between",maxWidth:"calc(".concat(120,"px + ").concat(48,"px)")},v=ol().createElement(jv,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:"8px"},styles:{root:g}},ol().createElement(dN,{shown:!1,value:s,contentType:t}),ol().createElement(jv,{styles:{root:{height:"32px",padding:"0px 16px 0px 8px"}},verticalAlign:"center"},ol().createElement(DI,{"aria-label":null===o||void 0===o?void 0:o.spinnerAriaLabel,spinnerSize:gw.small}))),y=ol().createElement(jv,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:"8px"},styles:{root:g}},ol().createElement(dN,{shown:!l,value:s,contentType:t}),ol().createElement(jv,{styles:{root:{height:"32px",marginRight:"8px"}},verticalAlign:"center"},ol().createElement(Xw,null,ol().createElement(RT,{iconName:p.iconName,iconColor:"neutralSecondary",disabled:p.disabled,onClick:f,"aria-label":p["aria-label"],"data-bi-id":p["data-bi-id"],tooltipHostProps:{tooltipText:p.tooltip}})))),b=ol().createElement(jv,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:"8px"},styles:{root:g}},ol().createElement(dN,{shown:!1,value:void 0,contentType:t}),ol().createElement(jv,{styles:{root:{height:"32px",marginRight:"8px"}},verticalAlign:"center"},ol().createElement(Xw,null,ol().createElement(RT,{iconName:sN,iconColor:"neutralSecondary",disabled:i.disabled,onClick:f,"aria-label":i["aria-label"],"data-bi-id":i["data-bi-id"],tooltipHostProps:{tooltipText:i.tooltip}}))));return o?ol().createElement(Ob,{operationData:o.operationData,inertView:y,firstLoadView:ol().createElement(aN,null),failedView:b,updatingView:v,updateFailedView:y,finishedView:y}):y},hN=function(t){var n=t.sensitiveContentProps;return ol().createElement(pN,(0,e.__assign)({},n))},fN=function(e){var t=e.shimmerLineProps,n=e.horizontal,r=n?"":"0 0 4px 0";return ol().createElement(jw,{childrenGap:"0 10px",verticalAlign:"center",horizontal:n},t.map((function(e,n){return ol().createElement(jw,{margin:n===t.length-1?"":r,key:n},ol().createElement(EI,{height:12,width:e.width?e.width:120,shimmerColors:e.shimmerColors}))})))},mN=function(e){var t=e.mediaShimmerSize,n=e.shimmerLineProps;return ol().createElement(jw,{horizontal:!0,childrenGap:"0 10px",verticalAlign:"center"},ol().createElement(EI,{height:t,width:t}),ol().createElement(jw,{horizontal:!1},n.map((function(e,t){return ol().createElement(jw,{margin:t===n.length-1?"":"0 0 4px 0",key:t},ol().createElement(EI,{height:12,width:e.width?e.width:120,shimmerColors:e.shimmerColors}))}))))},gN=function(t){var n=t.textElements,r=void 0===n?[]:n,o=t.disabled,i=void 0!==o&&o,a=t.indentPadding,s=void 0===a?"0px":a,c=t.operationalData,l=t.truncatedTextProps;return ol().createElement(jw,{horizontalAlign:"start",padding:"0px"!==s?"0px 0px 0px ".concat(s," "):void 0},ol().createElement(KI,{operationalData:c},r.map((function(t,n){return l?ol().createElement(Gx,(0,e.__assign)({lines:l.lines,stopPropagation:!1},t,{disabled:i,key:n})):ol().createElement(Jw,(0,e.__assign)({},t,{disabled:i,key:n}))}))))},vN=function(t){var n=t.titleHyperlinkProps,r=t.subtitles,o=void 0===r?[]:r,i=t.disabled,a=t.truncatedSubtitleTextProps;return ol().createElement(jw,null,ol().createElement(Kx,(0,e.__assign)({},n)),o.map((function(t,n){return a?ol().createElement(Gx,(0,e.__assign)({lines:a.lines,stopPropagation:!1},t,{disabled:i,key:n})):ol().createElement(Jw,(0,e.__assign)({},t,{disabled:i,key:n}))})))},yN=function(t){var n=t.children,r=t.indicatorColor,o=t.image,i=t.disabled,a=void 0!==i&&i,s=t.padding,c=t.height,l=(0,e.__rest)(t,["children","indicatorColor","image","disabled","padding","height"]),u=o?ol().createElement(dI,(0,e.__assign)({},l,{padding:s||"0px",height:c||"auto",image:o}),ol().createElement(jw,{padding:"0px 0px 0px 12px"},a?ol().Children.map(n,(function(e,t){return ol().isValidElement(e)?ol().cloneElement(e,{disabled:a,key:e.key||t}):e})):n)):ol().createElement(jw,null,n);return r?ol().createElement(jw,{horizontal:!0,verticalAlign:"center",childrenGap:16},ol().createElement(qw,null,ol().createElement("div",{role:"presentation",style:{backgroundColor:r,borderRadius:2,width:12,height:12}})),u):u},bN=function(t){var n=t.listItemMediaProps,r=t.title,o=t.titleTextVariant,i=t.isTitleSemiBold,a=void 0!==i&&i,s=t.subtitles,c=void 0===s?[]:s,l=t.disabled,u=t.truncatedTitleTextProps,d=t.truncatedSubtitleTextProps;return ol().createElement(yN,(0,e.__assign)({},n),u?ol().createElement(Gx,{lines:u.lines,stopPropagation:u.stopPropagation,children:r,variant:o,weightOverride:a?"semi-bold":void 0,disabled:l}):ol().createElement(Jw,{variant:o,weightOverride:a?"semi-bold":void 0,children:r,disabled:l}),c.map((function(t,n){return d?ol().createElement(Gx,(0,e.__assign)({lines:d.lines,stopPropagation:d.stopPropagation},t,{disabled:l,key:n})):ol().createElement(Jw,(0,e.__assign)({},t,{disabled:l,key:n}))})))},_N=function(t){var n=t.title,r=t.isTitleSemiBold,o=void 0!==r&&r,i=t.subtitles,a=void 0===i?[]:i,s=t.disabled,c=t.truncatedTitleTextProps,l=t.truncatedSubtitleTextProps;return ol().createElement(jw,null,c?ol().createElement(Gx,{lines:c.lines,stopPropagation:c.stopPropagation,children:n,weightOverride:o?"semi-bold":void 0,disabled:s}):ol().createElement(Jw,{children:n,weightOverride:o?"semi-bold":void 0,disabled:s}),a.map((function(t,n){return l?ol().createElement(Gx,(0,e.__assign)({lines:l.lines,stopPropagation:l.stopPropagation},t,{disabled:s,key:n})):ol().createElement(Jw,(0,e.__assign)({},t,{disabled:s,key:n}))})))},CN=function(e){var t=e.personaGraphic,n=e.children;return ol().createElement(jw,{horizontal:!0,padding:"12px 0"},t,ol().createElement(jw,{horizontal:!1},n))},wN=[LT,uw,Jw,Kx,wT],EN=(0,e.__spreadArray)([CN,yN,KP,Jw],wN,!0),xN=[ST,DT,LT,RT,Yx,Kx,BI],SN=[QI,JI,JP,$P,function(e){var t=e.shimmerSize;return ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},ol().createElement(jw,{width:t,margin:"0 10px 0 0"},ol().createElement(sP,{height:t})))},nR,wR,yR,nN,function(t){var n=t.label,r=t.links,o=t.disabled;return ol().createElement(jw,{verticalAlign:"center",wrap:!0,horizontal:!0,padding:"1px 0 1px 0"},n&&ol().createElement(jw,{horizontal:!0,verticalAlign:"center",padding:"0 16px 0 0"},ol().createElement(Jw,{variant:"bodySecondaryText",disabled:o},n)),ol().createElement(jw,{verticalAlign:"center",horizontal:!0,wrap:!0},r.map((function(t,n){return ol().createElement(qw,{padding:"0 16px 0 0",key:n},"href"in t?ol().createElement(Kx,(0,e.__assign)({},t,{disabled:null!==o&&void 0!==o?o:t.disabled})):ol().createElement(Yx,(0,e.__assign)({},t,{disabled:null!==o&&void 0!==o?o:t.disabled})))}))))},iN,vN,function(t){var n=t.icons,r=t.disabled,o=t.operationalData;return ol().createElement(jw,{horizontal:!0,childrenGap:"16",wrap:!0},ol().createElement(KI,{operationalData:o},n.map((function(t,n){return ol().createElement(uw,(0,e.__assign)({},t,{disabled:null!==r&&void 0!==r?r:t.disabled,key:n}))}))))},fN,mN,bN,hN,function(e){var t=e.personaShimmerSize,n=e.shimmerLineProps;return ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},ol().createElement(jw,{width:t,margin:"0 10px 0 0"},ol().createElement(sP,{height:t})),ol().createElement(jw,{horizontal:!1},n.map((function(e,t){return ol().createElement(jw,{margin:t===n.length-1?"":"0 0 4px 0"},ol().createElement(EI,{height:12,width:e.width?e.width:120,shimmerColors:e.shimmerColors}))}))))},function(t){var n=t.personaProps,r=t.title,o=t.subtitles,i=void 0===o?[]:o,a=t.disabled,s=t.truncatedTitleTextProps,c=t.truncatedSubtitleTextProps;return ol().createElement(jw,{verticalAlign:"center",horizontal:!0,padding:"4px 0 4px 0",childrenGap:10},ol().createElement(jw,{height:n.size,width:n.size}," ",ol().createElement(KP,(0,e.__assign)({},n,{text:r,hideText:!0}))," "),ol().createElement(jw,null,s?ol().createElement(Gx,{lines:s.lines,stopPropagation:s.stopPropagation,children:r,disabled:a}):ol().createElement(Jw,{children:r,disabled:a}),i.map((function(t,n){return c?ol().createElement(Gx,(0,e.__assign)({lines:c.lines,stopPropagation:c.stopPropagation},t,{disabled:a,key:n})):ol().createElement(Jw,(0,e.__assign)({},t,{disabled:a,key:n}))}))))},gN,rN,_N,oN],kN=[QI,JI,JP,$P,nR,iN,vN,hN,oN],TN="ListItem",IN=function(e,t){return Hb(e,t,TN)},AN=function(e,t){return function(){return e&&t>2?"Clickable list item cannot have more than ".concat(2," final column actions but has ").concat(t,"."):void 0}},PN=function(e,t,n){Wb("".concat(e,"ListItemInternal"),[AN(t,n)])};var DN,RN,MN,NN,LN,ON,FN=function(t){var n,r=t.find((function(e){return e.type===yN||e.type===KP})),o=t.filter((function(e){return e!==r}));if(r)if(r.type===KP){var i=BN((0,e.__spreadArray)([ol().createElement(Jw,null,r.props.text)],o,!0));n=ol().createElement(CN,{personaGraphic:ol().cloneElement(r,(0,e.__assign)((0,e.__assign)({},r.props),{text:void 0}))},i)}else{i=BN((0,e.__spreadArray)([r.props.children],o,!0));n=ol().cloneElement(r,void 0,i)}return n?[n]:t},BN=function(e){return e.map((function(e,t){return e&&null===e.key?ol().cloneElement(e,{key:t}):e}))},HN={ThreeThreeThreeThree:[3,3,3,3],SixTwoTwoTwo:[6,2,2,2],SixThreeThree:[6,3,3],ThreeThreeSix:[3,3,6],SixTwoFour:[6,2,4],SixFourTwo:[6,4,2],ThreeSixThree:[3,6,3],EightTwoTwo:[8,2,2],FourFourFour:[4,4,4],SixSix:[6,6],EightFour:[8,4],FourEight:[4,8],Twelve:[12],TwoTwoTwoTwoTwo:[2.4,2.4,2.4,2.4,2.4],ThreeNine:[3,9]},zN=function(e,t,n){return function(){return e!==t?"ListItem needs to have ".concat(t," columns for variant ").concat(n,"."):void 0}},UN=function(t){var n=(0,e.__rest)(t,[]);return ol().createElement(VN,(0,e.__assign)({columnWidths:HN[n.variant]},n))},VN=function(t){var n=t.columns,r=void 0===n?[]:n,o=t.columnWidths,i=t.disabled,a=void 0!==i&&i,s=(t.menuDisabled,t.verticalAlign),c=void 0===s?"center":s,l=t.variant,u=t.cellRole,d=t.customListItemPadding,p=(0,e.__rest)(t,["columns","columnWidths","disabled","menuDisabled","verticalAlign","variant","cellRole","customListItemPadding"]);W_("ListItemInternal",p),(0,rl.useEffect)((function(){Wb("ListItem",[zN(r.length,o.length,l)])}),[r,o,l]),(0,rl.useEffect)((function(){r.forEach((function(e){return IN(e,SN)}))}),[r]);var h=ol().createElement(Uw,{totalSlots:12,verticalAlign:c},r.map((function(e,t){return ol().createElement(zw,{slots:o[t],key:e.key||t},u?ol().createElement(jv,{role:u},ol().cloneElement(e,{disabled:a||e.props.disabled,key:e.key||t})):ol().cloneElement(e,{disabled:a||e.props.disabled,key:e.key||t}))})));return ol().createElement(sR,(0,e.__assign)({},p,{showDivider:p.showDivider,padding:null!==d&&void 0!==d?d:GI,disabled:a}),h)},jN=function(t){var n=t.leftColumn,r=t.rightColumn,o=t.disabled,i=void 0!==o&&o,a=(t.menuDisabled,t.cellRole),s=t.customListItemPadding,c=(0,e.__rest)(t,["leftColumn","rightColumn","disabled","menuDisabled","cellRole","customListItemPadding"]);W_("MobileListItem",c),(0,rl.useEffect)((function(){IN(n,SN)}),[n]),(0,rl.useEffect)((function(){IN(r,SN)}),[r]);var l=function(e){return a?ol().createElement("div",{role:a},ol().cloneElement(e,{disabled:i})):ol().cloneElement(e,{disabled:i})},u=ol().createElement(jw,{verticalAlign:"center",horizontalAlign:"space-between",horizontal:!0,childrenGap:16},ol().createElement(jw,{verticalAlign:"center",grow:!0},l(n)),ol().createElement(jw,{verticalAlign:"center",grow:!0},l(r)));return ol().createElement(sR,(0,e.__assign)({padding:null!==s&&void 0!==s?s:GI},c),u)},qN=function(e,t){return{root:{width:"100%",paddingLeft:["12px","7px","15px"][e],cursor:"pointer",marginLeft:"-14px",selectors:{":hover":{backgroundColor:t.palette.neutralLighterAlt},":active":{backgroundColor:t.palette.neutralLight}}}}},WN=function(e){return{root:{width:"100%",height:"100%",paddingLeft:"9px",cursor:"pointer",backgroundColor:e.palette.neutralHigh,selectors:{":hover":{backgroundColor:e.palette.neutralLighterAlt},":active":{backgroundColor:e.palette.neutralLight}}}}},GN=function(e){var t=e.name,n=e.variant,r=e.isSorted,o=e.sortType;return ol().createElement(jw,{horizontal:!0,height:"42px",verticalAlign:"center",childrenGap:"8px"},ol().createElement(qw,null,ol().createElement(Jw,{variant:n},t)),r&&ol().createElement(qw,null,ol().createElement(uw,{iconName:"asc"===o?"SortUp":"SortDown",size:"12px"})))},KN="0 16px",YN={m:0,l:2,xl:3,xxl:2,xxxl:2},QN={height:57},XN=function(e){var t=e.width,n=void 0===t?"40px":t;return ol().createElement(jv,{style:QN,verticalAlign:"center"},ol().createElement(EI,{width:n,height:12}))},JN=function(t){var n,r=t.actionProps,o=(0,e.__rest)(t,["actionProps"]);switch(r.kind){case"button":r.kind;var i=(0,e.__rest)(r,["kind"]);n=ol().createElement(DT,(0,e.__assign)({},i));break;case"actionButton":r.kind;var a=(0,e.__rest)(r,["kind"]);n=ol().createElement(ST,(0,e.__assign)({},a));break;case"hyperlink":r.kind;var s=(0,e.__rest)(r,["kind"]);n=ol().createElement(Kx,(0,e.__assign)({},s));break;case"noHrefLink":r.kind;var c=(0,e.__rest)(r,["kind"]);n=ol().createElement(Yx,(0,e.__assign)({},c));break;case"toggle":r.kind;var l=(0,e.__rest)(r,["kind"]);n=ol().createElement(BI,(0,e.__assign)({},l));break;case"toggleShimmer":r.kind;var u=(0,e.__rest)(r,["kind"]);n=ol().createElement(XN,(0,e.__assign)({},u))}return"actionButton"===r.kind&&r.buttonTheme?ol().createElement(Xw,(0,e.__assign)({},o),ol().createElement(tb,{variant:r.buttonTheme,noRootElement:!0},n)):ol().createElement(Xw,(0,e.__assign)({},o),n)},$N=function(){var e=AC(),t=PC(e);return ol().createElement(jw,null,ol().createElement(jw,{padding:t?"20px 0px":"0px 0px 20px"},ol().createElement(EI,{width:"30%",height:25})),ol().createElement(jw,{childrenGap:10},ol().createElement(EI,{width:"80%",height:15}),ol().createElement(EI,{width:"70%",height:15})))},ZN=function(t){var n=t.tag,r=t.variant,o=t.text,i=t.headerColorOverride,a=t.weightOverride,s={tag:null!==n&&void 0!==n?n:"h5",variant:null!==r&&void 0!==r?r:"statusHeader",children:o};return ol().createElement(kw,(0,e.__assign)({},s,{colorOverride:i,weightOverride:a}))},eL=function(t){var n,r,o=t.featureHeading,i=t.bodyText,a=t.bodyTextVariant,s=void 0===a?"bodyPrimaryText":a,c=t.ctaProps,l=t.operationData;if(o&&(n=ol().createElement(ZN,(0,e.__assign)({},o))),"string"===typeof i)r=ol().createElement(Jw,{variant:s},i);else if(Array.isArray(i)){var u=i.map((function(t,n){return"string"===typeof t?ol().createElement(Jw,{key:n,variant:s},t):ol().createElement(Qx,(0,e.__assign)({key:n},t))}));r=ol().createElement(jw,{childrenGap:2},u)}else i&&(r=ol().createElement(Qx,(0,e.__assign)({},i)));var d="0 0 12px",p=AC(),h=PC(p),f=ol().createElement(jw,{grow:!0},n&&ol().createElement(qw,{margin:d},n),ol().createElement(qw,{margin:d},r),ol().createElement(jw,{horizontal:!h,childrenGap:12,verticalAlign:"baseline"},c&&c.map((function(t,n){return ol().createElement(JN,(0,e.__assign)({key:n},t))}))));return l?ol().createElement(Ob,{operationData:l,firstLoadView:ol().createElement($N,null),finishedView:f,failedView:void 0}):f},tL=function(e){var t,n;return e?{root:(t={padding:"0px 5px 5px",maxWidth:"276px",minWidth:"184px",boxSizing:"border-box",flex:"1 1 50%"},t[Wm]={":focus-within":{outline:"2px auto highlight"}},t)}:{root:(n={padding:"0px 5px 5px",boxSizing:"border-box",flex:"1 1 50%"},n[Wm]={":focus-within":{outline:"2px auto highlight"}},n)}},nL=function(t){var n,r=t.featureHeading,o=t.mediaPropsList,i=t.operationData,a=AC(),s=PC(a);r&&(n=ol().createElement(ZN,(0,e.__assign)({},r)));var c=null===o||void 0===o?void 0:o.map((function(e){return ol().createElement(Vv,{styles:tL(s)},ol().createElement(dI,{image:e.image,size:e.size,linkProps:e.linkProps},e.children))})),l=ol().createElement(jv,null,ol().createElement(jv,{styles:{root:{padding:"0px 0px 12px 0px"}}},n),ol().createElement(jv,{horizontal:!0,wrap:!0},c));return i?ol().createElement(Ob,{operationData:i,firstLoadView:ol().createElement($N,null),finishedView:l,failedView:void 0}):l},rL=__webpack_require__(54791),oL=__webpack_require__.n(rL),iL=function(e){this.startX=e.startX,this.startY=e.startY,this.endX=e.endX,this.endY=e.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=e.startMultiplierX||1,this.endMultiplierX=e.endMultiplierX||1,this.startMultiplierY=e.startMultiplierY||1,this.endMultiplierY=e.endMultiplierY||1};function aL(){return aL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aL.apply(this,arguments)}!function(e){e.speed="speed",e.translateX="translateX",e.translateY="translateY",e.rotate="rotate",e.rotateX="rotateX",e.rotateY="rotateY",e.rotateZ="rotateZ",e.scale="scale",e.scaleX="scaleX",e.scaleY="scaleY",e.scaleZ="scaleZ",e.opacity="opacity"}(DN||(DN={})),function(e){e.px="px",e["%"]="%",e.vh="vh",e.vw="vw"}(RN||(RN={})),function(e){e.deg="deg",e.turn="turn",e.rad="rad"}(MN||(MN={})),function(e){e[""]=""}(NN||(NN={})),function(e){e.vertical="vertical",e.horizontal="horizontal"}(LN||(LN={})),function(e){e.ease="ease",e.easeIn="easeIn",e.easeOut="easeOut",e.easeInOut="easeInOut",e.easeInQuad="easeInQuad",e.easeInCubic="easeInCubic",e.easeInQuart="easeInQuart",e.easeInQuint="easeInQuint",e.easeInSine="easeInSine",e.easeInExpo="easeInExpo",e.easeInCirc="easeInCirc",e.easeOutQuad="easeOutQuad",e.easeOutCubic="easeOutCubic",e.easeOutQuart="easeOutQuart",e.easeOutQuint="easeOutQuint",e.easeOutSine="easeOutSine",e.easeOutExpo="easeOutExpo",e.easeOutCirc="easeOutCirc",e.easeInOutQuad="easeInOutQuad",e.easeInOutCubic="easeInOutCubic",e.easeInOutQuart="easeInOutQuart",e.easeInOutQuint="easeInOutQuint",e.easeInOutSine="easeInOutSine",e.easeInOutExpo="easeInOutExpo",e.easeInOutCirc="easeInOutCirc",e.easeInBack="easeInBack",e.easeOutBack="easeOutBack",e.easeInOutBack="easeInOutBack"}(ON||(ON={}));var sL=0;var cL=function(){function e(e){var t=e.el.getBoundingClientRect();if(e.view.scrollContainer){var n=e.view.scrollContainer.getBoundingClientRect();t=aL({},t,{top:t.top-n.top,right:t.right-n.left,bottom:t.bottom-n.top,left:t.left-n.left})}this.height=e.el.offsetHeight,this.width=e.el.offsetWidth,this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,e.rootMargin&&this._setRectWithRootMargin(e.rootMargin)}return e.prototype._setRectWithRootMargin=function(e){var t=e.top+e.bottom,n=e.left+e.right;this.top-=e.top,this.right+=e.right,this.bottom+=e.bottom,this.left-=e.left,this.height+=t,this.width+=n},e}(),lL=[NN[""],RN.px,RN["%"],RN.vh,RN.vw,MN.deg,MN.turn,MN.rad];function uL(e,t){void 0===t&&(t=RN["%"]);var n={value:0,unit:t};if("undefined"===typeof e)return n;if(!("number"===typeof e||"string"===typeof e))throw new Error("Invalid value provided. Must provide a value as a string or number");if(e=String(e),n.value=parseFloat(e),n.unit=e.match(/[\d.\-+]*\s*(.*)/)[1]||t,!lL.includes(n.unit))throw new Error("Invalid unit provided.");return n}var dL={ease:[.25,.1,.25,1],easeIn:[.42,0,1,1],easeOut:[0,0,.58,1],easeInOut:[.42,0,.58,1],easeInQuad:[.55,.085,.68,.53],easeInCubic:[.55,.055,.675,.19],easeInQuart:[.895,.03,.685,.22],easeInQuint:[.755,.05,.855,.06],easeInSine:[.47,0,.745,.715],easeInExpo:[.95,.05,.795,.035],easeInCirc:[.6,.04,.98,.335],easeOutQuad:[.25,.46,.45,.94],easeOutCubic:[.215,.61,.355,1],easeOutQuart:[.165,.84,.44,1],easeOutQuint:[.23,1,.32,1],easeOutSine:[.39,.575,.565,1],easeOutExpo:[.19,1,.22,1],easeOutCirc:[.075,.82,.165,1],easeInOutQuad:[.455,.03,.515,.955],easeInOutCubic:[.645,.045,.355,1],easeInOutQuart:[.77,0,.175,1],easeInOutQuint:[.86,0,.07,1],easeInOutSine:[.445,.05,.55,.95],easeInOutExpo:[1,0,0,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function pL(e){if(Array.isArray(e))return oL()(e[0],e[1],e[2],e[3]);if("string"===typeof e&&"undefined"!==typeof dL[e]){var t=dL[e];return oL()(t[0],t[1],t[2],t[3])}}var hL=Object.values(DN),fL={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function mL(e,t){var n={};return hL.forEach((function(r){var o=fL[r];if("number"===typeof(null==e?void 0:e[r])){var i=null==e?void 0:e[r],a=-10*(i||0)+"px",s=uL(10*(i||0)+"px"),c=uL(a),l={start:s.value,end:c.value,unit:s.unit};t===LN.vertical&&(n.translateY=l),t===LN.horizontal&&(n.translateX=l)}if(Array.isArray(null==e?void 0:e[r])){var u=null==e?void 0:e[r];if("undefined"!==typeof u[0]&&"undefined"!==typeof u[1]){var d=uL(null==u?void 0:u[0],o),p=uL(null==u?void 0:u[1],o),h=pL(null==u?void 0:u[2]);if(n[r]={start:d.value,end:p.value,unit:d.unit,easing:h},d.unit!==p.unit)throw new Error("Must provide matching units for the min and max offset values of each axis.")}}})),n}function gL(e,t,n,r){var o=(n-e)/t;return r&&(o=r(o)),o}function vL(e,t){return{value:function(e,t,n,r,o){return(n-t)*(e-r)/(o-r)+t}("function"===typeof e.easing?e.easing(t):t,(null==e?void 0:e.start)||0,(null==e?void 0:e.end)||0,0,1),unit:null==e?void 0:e.unit}}var yL=Object.values(DN).filter((function(e){return"opacity"!==e}));function bL(e,t,n){if(n){var r=function(e,t){var n=yL.reduce((function(n,r){var o=e[r]&&vL(e[r],t);return"undefined"===typeof o||"undefined"===typeof o.value||"undefined"===typeof o.unit?n:n+(r+"("+o.value+o.unit+")")}),"");return n}(e,t),o=function(e,t){var n=e.opacity&&vL(e.opacity,t);if("undefined"===typeof n||"undefined"===typeof n.value||"undefined"===typeof n.unit)return"";return""+n.value}(e,t);n.style.transform=r,n.style.opacity=o}}function _L(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function CL(e,t,n){var r=t>e,o=n+(Math.abs(e)+Math.abs(t))*(r?-1:1);return Math.max(n/o,1)}function wL(e,t){var n=e.start,r=e.end,o=e.unit;if("%"===o){var i=t/100;n*=i,r*=i}if("vw"===o){var a=n/100,s=r/100;n=window.innerWidth*a,r=window.innerWidth*s}if("vh"===o){var c=n/100,l=r/100;n=window.innerHeight*c,r=window.innerHeight*l}return{start:n,end:r}}var EL={start:0,end:0,unit:""};var xL=function(e,t,n){return Math.min(Math.max(e,t),n)},SL=function(){function e(e){this.el=e.el,this.props=e.props,this.scrollAxis=e.scrollAxis,this.id=++sL,this.effects=mL(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(e.props.easing),function(e,t){var n="transform"+(Object.keys(t).includes("opacity")?",opacity":"");e.style.willChange=n}(e.el,this.effects)}var t=e.prototype;return t.updateProps=function(e){return this.props=aL({},this.props,e),this.effects=mL(e,this.scrollAxis),this._setElementEasing(e.easing),this},t.setCachedAttributes=function(e,t){_L(this),this.rect=new cL({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:e});var n,r,o,i=(n=this.props,r=this.effects,o=this.scrollAxis,!(n.rootMargin||n.targetElement||n.shouldDisableScalingTranslations)&&!!(r.translateX&&o===LN.horizontal||r.translateY&&o===LN.vertical));return"number"===typeof this.props.startScroll&&"number"===typeof this.props.endScroll?(this.limits=new iL({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}),this._setElementStyles(),this):(i?(this.limits=function(e,t,n,r,o,i){var a=n.translateX||EL,s=n.translateY||EL,c=wL(a,e.width),l=c.start,u=c.end,d=wL(s,e.height),p=d.start,h=d.end,f=e.top-t.height,m=e.left-t.width,g=e.bottom,v=e.right,y=1,b=1;o===LN.vertical&&(b=y=CL(p,h,t.height+e.height));var _=1,C=1;if(o===LN.horizontal&&(C=_=CL(l,u,t.width+e.width)),p<0&&(f+=p*y),h>0&&(g+=h*b),l<0&&(m+=l*_),u>0&&(v+=u*C),m+=r.x,v+=r.x,f+=r.y,g+=r.y,i){var w=r.y+e.top<t.height,E=r.x+e.left<t.width,x=r.y+e.bottom>t.scrollHeight-t.height,S=r.x+e.right>t.scrollWidth-t.height;w&&x&&(y=1,b=1,f=0,g=t.scrollHeight-t.height),E&&S&&(_=1,C=1,m=0,v=t.scrollWidth-t.width),!w&&x&&(f=e.top-t.height+r.y,y=CL(p,h,(g=t.scrollHeight-t.height)-f),b=1,p<0&&(f+=p*y)),!E&&S&&(m=e.left-t.width+r.x,_=CL(l,u,(v=t.scrollWidth-t.width)-m),C=1,l<0&&(m+=l*_)),w&&!x&&(f=0,y=1,b=CL(p,h,(g=e.bottom+r.y)-f),h>0&&(g+=h*b)),E&&!S&&(m=0,_=1,C=CL(l,u,(v=e.right+r.x)-m),u>0&&(v+=u*C))}return new iL({startX:m,startY:f,endX:v,endY:g,startMultiplierX:_,endMultiplierX:C,startMultiplierY:y,endMultiplierY:b})}(this.rect,e,this.effects,t,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=function(e,t){var n=aL({},e);return n.translateX&&(n.translateX=aL({},e.translateX,{start:n.translateX.start*t.startMultiplierX,end:n.translateX.end*t.endMultiplierX})),n.translateY&&(n.translateY=aL({},e.translateY,{start:n.translateY.start*t.startMultiplierY,end:n.translateY.end*t.endMultiplierY})),n}(this.effects,this.limits)):this.limits=function(e,t,n,r){var o=e.top-t.height,i=e.left-t.width,a=e.bottom,s=e.right;return i+=n.x,s+=n.x,o+=n.y,a+=n.y,r&&(n.y+e.top<t.height&&(o=0),n.x+e.left<t.width&&(i=0),a>t.scrollHeight-t.height&&(a=t.scrollHeight-t.height),s>t.scrollWidth-t.width&&(s=t.scrollWidth-t.width)),new iL({startX:i,startY:o,endX:s,endY:a})}(this.rect,e,t,this.props.shouldAlwaysCompleteAnimation),this._setElementStyles(),this)},t._updateElementIsInView=function(e){var t=null===this.isInView;e!==this.isInView&&(e?this.props.onEnter&&this.props.onEnter(this):t||(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=e},t._setFinalProgress=function(){var e=xL(Math.round(this.progress),0,1);this._updateElementProgress(e)},t._setElementStyles=function(){this.props.disabled||bL(this.scaledEffects||this.effects,this.progress,this.el)},t._updateElementProgress=function(e){this.progress=e,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},t._setElementEasing=function(e){this.easing=pL(e)},t.updatePosition=function(e){if(!this.limits)return this;var t=this.scrollAxis===LN.vertical,n=null===this.isInView,r=t?this.limits.startY:this.limits.startX,o=t?this.limits.endY:this.limits.endX,i=t?this.limits.totalY:this.limits.totalX,a=t?e.y:e.x,s=function(e,t,n){return n>=e&&n<=t}(r,o,a);if(this._updateElementIsInView(s),s){var c=gL(r,i,a,this.easing);this._updateElementProgress(c),this._setElementStyles()}else n&&(this.progress=xL(Math.round(gL(r,i,a,this.easing)),0,1),this._setElementStyles());return this},e}(),kL=function(){function e(e){this.scrollContainer=e.scrollContainer,this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth}var t=e.prototype;return t.hasChanged=function(e){return e.width!==this.width||e.height!==this.height||e.scrollWidth!==this.scrollWidth||e.scrollHeight!==this.scrollHeight},t.setSize=function(e){return this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth,this},e}(),TL=function(){function e(e,t){this.x=e,this.y=t,this.dx=0,this.dy=0}return e.prototype.setScroll=function(e,t){return this.dx=e-this.x,this.dy=t-this.y,this.x=e,this.y=t,this},e}();var IL=function(){function e(e){var t=e.scrollAxis,n=void 0===t?LN.vertical:t,r=e.scrollContainer;this.scrollAxis=n,this.elements=[],this._hasScrollContainer=!!r,this.viewEl=null!=r?r:window;var o=this._getScrollPosition(),i=o[0],a=o[1];this.scroll=new TL(i,a),this.view=new kL({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?r:void 0}),this._ticking=!1,this._supportsPassive=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(Ple){}return e}(),this._bindAllMethods(),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()}e.init=function(t){if(!("undefined"!==typeof window))throw new Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new e(t)};var t=e.prototype;return t._bindAllMethods=function(){var e=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach((function(t){e[t]=e[t].bind(e)}))},t._addListeners=function(e){e.addEventListener("scroll",this._handleScroll,!!this._supportsPassive&&{passive:!0}),window.addEventListener("resize",this._handleUpdateCache,!1),window.addEventListener("blur",this._handleUpdateCache,!1),window.addEventListener("focus",this._handleUpdateCache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},t._removeListeners=function(e){var t;e.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdateCache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),null==(t=this._resizeObserver)||t.disconnect()},t._addResizeObserver=function(){var e=this;try{var t=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver((function(){return e.update()})),this._resizeObserver.observe(t)}catch(Ple){console.warn("Failed to create the resize observer in the ParallaxContoller")}},t._getScrollPosition=function(){return[this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset]},t._handleScroll=function(){var e=this._getScrollPosition(),t=e[0],n=e[1];this.scroll.setScroll(t,n),!this._ticking&&this.elements.length>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},t._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},t._updateAllElements=function(e){var t=this,n=(void 0===e?{}:e).updateCache;this.elements&&this.elements.forEach((function(e){n&&e.setCachedAttributes(t.view,t.scroll),t._updateElementPosition(e)})),this._ticking=!1},t._updateElementPosition=function(e){e.props.disabled||e.updatePosition(this.scroll)},t._getViewParams=function(){if(this._hasScrollContainer){var e=this.viewEl.offsetWidth,t=this.viewEl.offsetHeight,n=this.viewEl.scrollHeight,r=this.viewEl.scrollWidth;return this.view.setSize({width:e,height:t,scrollHeight:n,scrollWidth:r})}var o=document.documentElement;return{width:window.innerWidth||o.clientWidth,height:window.innerHeight||o.clientHeight,scrollHeight:o.scrollHeight,scrollWidth:o.scrollWidth}},t._setViewSize=function(){return this.view.setSize(this._getViewParams())},t._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},t.getElements=function(){return this.elements},t.createElement=function(e){var t=new SL(aL({},e,{scrollAxis:this.scrollAxis}));return t.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[t]):[t],this._updateElementPosition(t),this._checkIfViewHasChanged()&&this.update(),t},t.removeElementById=function(e){this.elements&&(this.elements=this.elements.filter((function(t){return t.id!==e})))},t.updateElementPropsById=function(e,t){this.elements&&(this.elements=this.elements.map((function(n){return n.id===e?n.updateProps(t):n}))),this.update()},t.resetElementStyles=function(e){_L(e)},t.update=function(){var e=this._getScrollPosition(),t=e[0],n=e[1];this.scroll.setScroll(t,n),this._setViewSize(),this._updateAllElements({updateCache:!0})},t.updateScrollContainer=function(e){this._removeListeners(this.viewEl),this.viewEl=e,this._hasScrollContainer=!!e,this.view=new kL({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:e}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},t.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEach((function(e){return _L(e)})),this.elements=void 0},e}();function AL(){return AL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AL.apply(this,arguments)}function PL(e,t){return PL=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},PL(e,t)}function DL(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var RL=["disabled","easing","endScroll","onChange","onEnter","onExit","onProgressChange","opacity","rootMargin","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","shouldAlwaysCompleteAnimation","shouldDisableScalingTranslations","speed","startScroll","targetElement","translateX","translateY"];function ML(e){var t,n=e.disabled,r=e.easing,o=e.endScroll,i=e.onChange,a=e.onEnter,s=e.onExit,c=e.onProgressChange,l=e.opacity,u=e.rootMargin,d=e.rotate,p=e.rotateX,h=e.rotateY,f=e.rotateZ,m=e.scale,g=e.scaleX,v=e.scaleY,y=e.scaleZ,b=e.shouldAlwaysCompleteAnimation,_=e.shouldDisableScalingTranslations,C=e.speed,w=e.startScroll,E=e.targetElement,x=e.translateX,S=e.translateY,k=DL(e,RL),T=(t={disabled:n,easing:r,endScroll:o,onChange:i,onEnter:a,onExit:s,onProgressChange:c,opacity:l,rootMargin:u,rotate:d,rotateX:p,rotateY:h,rotateZ:f,scale:m,scaleX:g,scaleY:v,scaleZ:y,shouldAlwaysCompleteAnimation:b,shouldDisableScalingTranslations:_,speed:C,startScroll:w,targetElement:E,translateX:x,translateY:S},Object.keys(t).forEach((function(e){return void 0===t[e]?delete t[e]:{}})),t);return{parallaxProps:T,rest:k}}var NL=ol().createContext(null);function LL(e){var t=function(){var e=(0,rl.useContext)(NL);if("undefined"===typeof window)return null;if(!e)throw new Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a <ParallaxProvider>");return e}(),n=(0,rl.useRef)(null),r=ML(e).parallaxProps;!function(e){(0,rl.useEffect)((function(){if("undefined"!==typeof window&&!e&&!(e instanceof IL))throw new Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.")}),[e])}(t);var o=(0,rl.useState)(),i=o[0],a=o[1];return(0,rl.useEffect)((function(){var e;if(!(n.current instanceof HTMLElement))throw new Error("You must assign the ref returned by the useParallax() hook to an HTML Element.");var o={el:n.current,props:r};return e=null==t?void 0:t.createElement(o),a(e),function(){e&&(null==t||t.removeElementById(e.id))}}),[]),(0,rl.useEffect)((function(){i&&(e.disabled?(null==t||t.resetElementStyles(i),null==t||t.updateElementPropsById(i.id,r)):null==t||t.updateElementPropsById(i.id,r))}),[e.disabled,e.easing,e.endScroll,e.onChange,e.onEnter,e.onExit,e.onProgressChange,e.opacity,e.rootMargin,e.rotate,e.rotateX,e.rotateY,e.rotateZ,e.scale,e.scaleX,e.scaleY,e.scaleZ,e.shouldAlwaysCompleteAnimation,e.shouldDisableScalingTranslations,e.speed,e.startScroll,e.targetElement,e.translateX,e.translateY]),{ref:n,controller:t,element:i}}var OL={height:0};var FL=["children","disabled","style","expanded","image","testId"],BL={position:"absolute",top:0,left:0,right:0,bottom:0},HL=function(e){var t,n=ML(e),r=n.parallaxProps,o=n.rest,i=o.style,a=o.expanded,s=void 0===a||a,c=o.testId,l=DL(o,FL),u=(t=e).image?{backgroundImage:"url("+t.image+")",backgroundPosition:"center",backgroundSize:"cover"}:{},d=s?function(e){if(Array.isArray(e.translateY)){var t=uL(e.translateY[0]),n=uL(e.translateY[1]);if("px"===t.unit&&"px"===n.unit)return{top:-1*Math.abs(n.value)+"px",bottom:-1*Math.abs(t.value)+"px"};if("%"===t.unit&&"%"===n.unit){var r,o=(null==(r=e.targetElement)?void 0:r.getBoundingClientRect())||OL;return{top:-1*Math.abs(.01*o.height*n.value)+"px",bottom:-1*Math.abs(.01*o.height*t.value)+"px"}}}if(e.speed){var i=e.speed||0;return{top:10*Math.abs(i)*-1+"px",bottom:10*Math.abs(i)*-1+"px"}}return{}}(e):{},p=LL(AL({targetElement:e.targetElement,shouldDisableScalingTranslations:!0},r));return ol().createElement("div",Object.assign({"data-testid":c,ref:p.ref,style:AL({},u,BL,d,i)},l),o.children)},zL=["disabled","style","layers"],UL={position:"relative",overflow:"hidden",width:"100%"},VL=function(e){var t=(0,rl.useState)(null),n=t[0],r=t[1],o=(0,rl.useRef)(null);(0,rl.useEffect)((function(){r(o.current)}),[]);var i=e.style,a=e.layers,s=void 0===a?[]:a,c=DL(e,zL);return ol().createElement("div",Object.assign({ref:o,style:AL({},UL,i)},c),n&&s&&s.length>0?s.map((function(e,t){return ol().createElement(HL,Object.assign({},e,{targetElement:n,key:"layer-"+t,testId:"layer-"+t}))})):null,n?ol().Children.map(e.children,(function(e){var t=e;return t.type===HL?ol().cloneElement(t,{targetElement:n}):e})):null)};(function(e){var t,n;function r(t){var n,r;return(n=e.call(this,t)||this).controller=(r={scrollAxis:t.scrollAxis,scrollContainer:t.scrollContainer},"undefined"===typeof window?null:IL.init(r)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,PL(t,n);var o=r.prototype;return o.componentDidUpdate=function(e){e.scrollContainer!==this.props.scrollContainer&&this.controller.updateScrollContainer(this.props.scrollContainer)},o.componentWillUnmount=function(){this.controller=this.controller.destroy()},o.render=function(){var e=this.props.children;return ol().createElement(NL.Provider,{value:this.controller},e)},r}(rl.Component)).defaultProps={scrollAxis:LN.vertical};var jL=function(t){var n=t.aspectRatio,r=t.height,o=(0,e.__rest)(t,["aspectRatio","height"]);return ol().createElement(VL,(0,e.__assign)({style:{aspectRatio:n,height:r}},o))},qL={extraSmall:48,small:168,medium:224,large:300,extraLarge:400},WL=function(e){return"card"===e||"alertCard"===e},GL=function(t,n,r,o,i){var a,s={backgroundColor:t.palette.neutralHigh,borderRadius:i,boxShadow:o?Ow.rest:void 0,minHeight:qL[r],overflow:"hidden",selectors:(a={},a[Wm]={outline:"1px solid transparent"},a)};return"card"===n?{root:s}:"alertCard"===n?{root:(0,e.__assign)((0,e.__assign)({},s),{backgroundColor:t.palette.redLight})}:{root:{minHeight:qL[r]}}},KL=function(e,t,n){void 0===t&&(t="0px"),void 0===n&&(n="0px");var r="0px"===t?"0px":"16px";return e?"".concat(r," ").concat(n," ").concat(r," ").concat(t):"".concat(r," ").concat(r," ").concat(r," ").concat(n)},YL=function(e,t,n,r,o){if(!n)return r?t?WL(e)?"16px":"16px 0":KL(!!o,r):WL(e)?t?"16px 32px":o?"16px 0 16px 32px":"16px 32px 16px 0":"16px 0"},QL=function(e,t,n,r,o){return n||o?t?WL(e)?"0 16px 16px":"0 0 16px":KL(!r,n,o):WL(e)?t?"0 32px 16px":r?"16px 32px 16px 0":"16px 0 16px 32px":"16px 0"},XL=function(t){var n=t.backgroundType,r=void 0===n?"card":n,o=t.layoutType,i=t.isImageBlockLeft,a=t.isImageBlockBottom,s=t.insidePaddingVariant,c=t.height,l=void 0===c?"medium":c,u=t.paddingVariant,d=t.showShadow,p=void 0===d||d,h=t.borderRadius,f=void 0===h?"8px":h,m=t.isImageFullBleed,g=void 0!==m&&m,v=t.imageSlot,y=t.contentSlot,b=t.isVerticalLayout,_=void 0===b?["s","m"]:b,C=(0,e.__rest)(t,["backgroundType","layoutType","isImageBlockLeft","isImageBlockBottom","insidePaddingVariant","height","paddingVariant","showShadow","borderRadius","isImageFullBleed","imageSlot","contentSlot","isVerticalLayout"]);W_("FeatureLayout",C);var w,E=AC(),x=rb(),S=_.includes(E);if(S)w=ol().createElement(jw,{reversed:a},ol().createElement(qw,{padding:YL(r,S,g,u)},v),ol().createElement(qw,{padding:QL(r,S,u)},y));else{var k="2/3"===o?7:6,T="2/3"===o?1:0,I=12-k-T;w=ol().createElement(Uw,{totalSlots:12,verticalAlign:"center",reversed:i},ol().createElement(zw,{slots:k},ol().createElement(jw,{padding:QL(r,S,u,i,s)},y)),T&&ol().createElement(zw,{slots:T},ol().createElement(ol().Fragment,null)),ol().createElement(zw,{slots:I},ol().createElement(jw,{padding:YL(r,S,g,u,i)},v)))}return ol().createElement(jv,(0,e.__assign)({styles:GL(x,r,l,p,f)},C),w)},JL=function(e){var t=e.height,n=void 0===t?"medium":t;return ol().createElement(jv,null,ol().createElement(EI,{height:$L(n)}))},$L=function(e){return qL[e]},ZL=function(t){var n,r=t.imageProps,o=t.height,i=void 0===o?"medium":o,a=t.operationData,s=t.imageFit,c=t.imageGradientType;return n="parallax"===r.imageType?ol().createElement(jw,{borderRadius:r.borderRadius,overflow:"hidden",width:"100%",height:"100%"},ol().createElement(jL,{height:$L(i),layers:r.imageLayers.map((function(t){return(0,e.__assign)((0,e.__assign)({},t),{children:ol().createElement(sI,{src:t.imageSrc,imageType:"ariaHiddenImage",imageFit:"cover",width:"100%",height:"100%"})})}))})):ol().createElement(sI,(0,e.__assign)({},r,{height:$L(i),imageFit:s,imageGradientType:c})),a?ol().createElement(Ob,{operationData:a,firstLoadView:ol().createElement(JL,{height:i}),finishedView:n}):n},eO=function(t){return ol().createElement(XL,(0,e.__assign)({},t,{imageSlot:ol().createElement(JL,{height:t.height}),contentSlot:ol().createElement($N,null)}))},tO=function(t){var n=t.featureHeading,r=t.imageProps,o=t.insidePaddingVariant,i=(t.children,t.backgroundType),a=t.layoutType,s=void 0===a?"1/2":a,c=t.paddingVariant,l=t.showShadow,u=t.borderRadius,d=t.isImageBlockLeft,p=t.isImageBlockBottom,h=t.isImageFullBleed,f=t.isImageGradient,m=t.isVerticalLayout,g=void 0===m?["s","m"]:m,v=t.height,y=void 0===v?"medium":v,b=(0,e.__rest)(t,["featureHeading","imageProps","insidePaddingVariant","children","backgroundType","layoutType","paddingVariant","showShadow","borderRadius","isImageBlockLeft","isImageBlockBottom","isImageFullBleed","isImageGradient","isVerticalLayout","height"]);qv("Feature",b.id),W_("Feature",b),(0,rl.useEffect)((function(){var e;"mediaList"===b.kind&&Wb("Feature",[(e=b.mediaPropsList.length,function(){return e>6?"Too many media items provided to Feature. ".concat(e," were provided but the max allowed is ").concat(6,"."):void 0})])}),["mediaList"===b.kind?b.mediaPropsList:void 0]);var _,C,w=AC(),E=g.includes(w);f&&(_=E?"toBottom":"toLeft"),C="mediaList"===b.kind?ol().createElement(nL,{featureHeading:n,mediaPropsList:b.mediaPropsList,operationData:b.operationData}):"noBodyContent"===b.kind?ol().createElement(eL,{featureHeading:n,ctaProps:b.ctaProps,operationData:b.operationData}):ol().createElement(eL,{featureHeading:n,bodyTextVariant:b.bodyTextVariant,bodyText:b.bodyText,ctaProps:b.ctaProps,operationData:b.operationData});var x=ol().createElement(eO,{backgroundType:"card",height:"medium",layoutType:"2/3"}),S=ol().createElement(XL,{backgroundType:i,layoutType:s,isImageBlockLeft:d,isImageBlockBottom:p,isImageFullBleed:h,insidePaddingVariant:o,height:y,paddingVariant:c,showShadow:l,borderRadius:u,isVerticalLayout:g,imageSlot:ol().createElement(ZL,{imageProps:r,height:y,imageFit:h?"cover":"center-contain",imageGradientType:_,operationData:b.operationData}),contentSlot:C,id:b.id});return b.operationData?ol().createElement(Ob,{operationData:b.operationData,inertView:x,firstLoadView:x,updatingView:x,finishedView:S,failedView:void 0}):S},nO=120,rO=12,oO="48px",iO="0px 0px 0px 42px",aO={display:"inline-block",marginRight:"8px"},sO=function(e){var t=e.charactersInPill,n="".concat(40+6*t,"px");return ol().createElement("span",{style:aO},ol().createElement(EI,{width:n,height:12}))},cO=function(e,t,n){return"image"===(null===t||void 0===t?void 0:t.contentType)?{imageProps:{src:t.imgSrc,imageFit:CS.contain,maximizeFrame:!0},styles:{root:{margin:"0px 8px 0px 0px"}}}:{iconName:null===t||void 0===t?void 0:t.iconName,styles:{root:{color:uO(e,n),margin:"0px 8px 0px 0px"}}}},lO=function(e){return"high"===e?"errorBlockIcon":"bodyPrimaryText"},uO=function(e,t){switch(t){case"high":return e.semanticColors.errorBlockIcon;case"medium":case"low":return e.palette.neutralPrimary;default:return e.palette.neutralSecondary}},dO=function(t){var n=t.text,r=t.disabled,o=t.onClick,i=t.operationData,a=t.pillMedia,s=t.severity,c=(0,e.__rest)(t,["text","disabled","onClick","operationData","pillMedia","severity"]);qv("Pill",c.id),W_("Pill",c);var l=rb(),u=function(e,t){var n=function(e,t){switch(t){case"high":return e.semanticColors.severeWarning;case"medium":return e.semanticColors.warningBackground;case"low":return e.palette.neutralLighterAlt;default:return e.palette.neutralHigh}}(e,t);return{root:{background:n,border:t?"0px":"1px solid ".concat(e.palette.neutralHigh),borderRadius:16,boxShadow:Ow.rest,margin:"4px 4px 4px 0",padding:"6px 8px",selectors:{":focus":{background:e.palette.neutralHigh,border:"1px solid ".concat(e.palette.neutralHigh)},":hover":{background:e.palette.neutralLighter,border:"1px solid ".concat(e.palette.neutralSecondary)},":active":{background:e.palette.neutralLight,border:"1px solid ".concat(e.palette.neutralLight)},":disabled":{background:e.palette.neutralLighter,border:"1px solid ".concat(e.palette.neutralLighter),boxShadow:"none"},".ms-Fabric--isFocusVisible &:focus:after":{borderRadius:16,borderColor:e.palette.neutralSecondary,outline:"none"}},maxWidth:"288px",minWidth:"34px"},rootHovered:{backgroundColor:n,border:"1px solid ".concat(e.palette.neutralSecondary)},rootFocused:{backgroundColor:n},rootPressed:{backgroundColor:n,border:"1px solid ".concat(e.palette.black)}}}(l,s),d=ol().createElement(fT,(0,e.__assign)({disabled:r,onClick:o,styles:u,iconProps:cO(l,a,s)},c),ol().createElement(Jw,{block:!0,nowrap:!0,variant:lO(s)},n)),p=(0,rl.useRef)(null);if(i){var h=ol().createElement("span",{ref:p,style:{paddingBottom:"11px"}},d,ol().createElement(wT,{targetOrTriggerButton:p,errorMessageAriaLabel:"Error message aria label",errorMessage:i.errorMessage,calloutPosition:"top-auto"}));return ol().createElement(oh,{operationData:i.progressViewOperationData,updatingView:ol().createElement(sO,{charactersInPill:n.length}),finishedView:d,failedView:h})}return d},pO=function(e,t){var n=e.map((function(e,t){return function(e){var t;return void 0!==(null===(t=e)||void 0===t?void 0:t.key)}(e)?e.key:"".concat(t)})),r=(null===t||void 0===t?void 0:t.pills)||e;return{visible:e,pills:r,remaining:r.length-e.length,cacheKey:n.join("_")}},hO=function(e){return e.visible.length?pO(e.visible.slice(0,-1),e):void 0},fO=function(e){return e.remaining?pO(e.pills.slice(0,e.visible.length+1),e):void 0},mO=(0,rl.forwardRef)((function(t,n){var r=t.children,o=(0,e.__rest)(t,["children"]),i=(0,rl.useState)(0),a=i[0],s=i[1];(0,rl.useImperativeHandle)(n,(function(){return{setRemaining:s}}));var c=ol().Children.toArray(r);return c=c.slice(c.length-a),ol().createElement(gO,(0,e.__assign)({children:c},o))})),gO=function(t){var n=t.children,r=t.severity,o=t.lines,i=void 0===o?2:o,a=t.showMoreBtnBiId,s=t.showMoreAriaLabelFormatter,c=(0,e.__rest)(t,["children","severity","lines","showMoreBtnBiId","showMoreAriaLabelFormatter"]);qv("PillContainer");var l=(0,rl.useRef)(null),u=(0,rl.useState)(!1),d=u[0],p=u[1],h=(0,rl.useCallback)((function(){return p(!0)}),[]),f=(0,rl.useCallback)((function(){return p(!1)}),[]),m=(0,rl.useCallback)((function(e){var t;return null===(t=l.current)||void 0===t?void 0:t.setRemaining(e.remaining)}),[]),g=ol().Children.toArray(n),v=ol().createElement(ol().Fragment,null,ol().createElement(eI,{data:pO(g,null),onRenderData:function(e){return ol().createElement("div",{style:{display:"flex"}},e.visible,i<=1&&e.remaining?ol().createElement(dO,{"aria-label":s(e.remaining),"data-bi-id":a,text:"+".concat(e.remaining),onClick:c.useCustomExpand?c.onShowMore:h,severity:r}):null)},onReduceData:hO,onGrowData:fO,dataDidRender:m}),i>1?ol().createElement(mO,(0,e.__assign)({ref:l,lines:i-1,children:g,showMoreBtnBiId:a,showMoreAriaLabelFormatter:s,severity:r},c)):null);return g.length?(c.useCustomExpand||(v=ol().createElement(ol().Fragment,null,ol().createElement("div",{style:d?{visibility:"hidden",position:"absolute",width:"100%"}:void 0},v),d&&ol().createElement(ol().Fragment,null,ol().createElement("div",{style:{display:"flex",flexFlow:"wrap"}},n),ol().createElement(Yx,{"aria-label":c.showLessAriaLabel,"data-bi-id":c.showLessBiId,onClick:f},c.showLessText)))),v):null},vO=[function(){var e,t=AC();if("s"===t)return ol().createElement(jw,{backgroundColor:"neutralHigh",height:aR,padding:KN},ol().createElement(jw,{horizontal:!0,childrenGap:"16px",verticalAlign:"center"},ol().createElement(qw,null,ol().createElement(EI,{width:32,height:32})),ol().createElement(qw,null,ol().createElement(EI,{width:120,height:12}))));var n=null!==(e=YN[t])&&void 0!==e?e:0;return ol().createElement(Uw,{backgroundColor:"neutralHigh",height:aR,padding:KN,totalSlots:12,verticalAlign:"center"},ol().createElement(zw,{slots:6},ol().createElement(jw,{horizontal:!0,childrenGap:"16px",verticalAlign:"center"},ol().createElement(qw,null,ol().createElement(EI,{width:32,height:32})),ol().createElement(qw,null,ol().createElement(EI,{width:120,height:12})))),"m"!==t&&ol().createElement(zw,{slots:n},ol().createElement(EI,{width:120,height:12})))},function(t){var n=t.backgroundColor,r=void 0===n?"neutralHigh":n,o=t.ctaProps,i=t.imageProps,a=t.bodyText,s=t.headerText,c=(0,e.__rest)(t,["backgroundColor","ctaProps","imageProps","bodyText","headerText"]);qv("FeatureListItem",c.id),W_("FeatureListItem",c);var l=["s","m"].includes(AC());return ol().createElement("div",{role:"listitem"},ol().createElement(jw,{backgroundColor:r,padding:l?"0 6px":"0 16px"},ol().createElement(tO,{backgroundType:"flat",featureHeading:s?{text:s}:void 0,bodyText:a,ctaProps:o,height:"small",imageProps:i,layoutType:"2/3"})))},function(t){var n=t.title,r=t.metadata,o=t.icon,i=t.menuIconButtonProps,a=t.devicesOverflowString,s=t.menuDisabled,c=t.wrapWithListCanvas,l=(0,e.__rest)(t,["title","metadata","icon","menuIconButtonProps","devicesOverflowString","menuDisabled","wrapWithListCanvas"]);qv("ListContentWithDetails",l.id),W_("ListContentWithDetails",l),(0,rl.useEffect)((function(){}),[]);var u={primary:r,overflow:[]},d=ol().createElement(ol().Fragment,null,ol().createElement(Jw,{block:!0,variant:"headerText"},n),r&&ol().createElement(eI,{data:u,onReduceData:function(t){if(0!==t.primary.length){var n=(0,e.__spreadArray)((0,e.__spreadArray)([],t.primary.slice(-1),!0),t.overflow,!0);return{primary:t.primary.slice(0,-1),overflow:n}}},onRenderData:function(e){var t=e.overflow.length>0?e.primary.length>0?", +".concat(e.overflow.length," ").concat(a):"".concat(e.overflow.length," ").concat(a):"";return ol().createElement(ol().Fragment,null,ol().createElement(Jw,{variant:"metadataText"},e.primary.join(", ")),ol().createElement(Jw,{variant:"metadataText"},t))}})),p=ol().createElement(jw,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center"},ol().createElement(qw,{grow:!0},o?ol().createElement(dI,{size:"sm",image:o,padding:"0 6px"},d):d),ol().createElement(qw,{padding:"0 4px 0 0"},i&&ol().createElement(TT,(0,e.__assign)({},i,{disabled:s,backgroundColor:"neutralHigh",iconColor:"neutralPrimary",isBeakVisible:!1}))));return c?ol().createElement(sR,(0,e.__assign)({},l),p):p},function(t){var n=t.columns,r=t.totalSlots,o=t.columnSlotSize,i=t.sortedOn,a=t.sortType,s=t.menuHeader,c=t.menuButtonAriaLabel,l=t.menuButtonDataBiId;qv("ListHeaderWithColumns");var u=AC(),d=rb(),p=o[u]||o.default;if(!p)throw Error("ListHeaderWithColumns: default or viewport slotsCount is not defined");var h,f=function(e,t){return ol().createElement(vT,{onClick:function(t){return e.onClick(t)},"aria-label":e["aria-label"],styles:qN(t,d)},ol().createElement(GN,{name:e.text,variant:"headerText",isSorted:i===e.text,sortType:a}))},m=function(e,t){return function(){e.onClick(),t()}},g=function(e,t){return ol().createElement(vT,{onClick:m(e,t),styles:WN(d)},ol().createElement(GN,{name:e.name,variant:"headerText",isSorted:i===e.name,sortType:a}))},v=n.slice(1).map((function(e){return{key:e.text,name:e.text,onClick:e.onClick,onRender:g,"aria-label":e["aria-label"],"data-bi-id":e["data-bi-id"]}})),y=s?(0,e.__spreadArray)((0,e.__spreadArray)([],[{key:h=s,name:h,itemType:"header",backgroundColor:"neutralHigh"},{itemType:"divider"}],!0),v,!0):(0,e.__spreadArray)([],v,!0),b=ol().createElement(jw,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center"},ol().createElement(qw,{grow:!0},f(n[0],0)),ol().createElement(TT,{iconName:"MoreVertical",menuItems:y,isBeakVisible:!1,iconColor:"neutralPrimary","aria-label":c,"data-bi-id":l}));return["s","m","l"].includes(u)&&n.length>1?b:ol().createElement(Uw,{totalSlots:r},n.map((function(e,t){return ol().createElement(zw,{key:t,slots:p[t],align:"center"},f(e,t))})))},function(){var e=AC(),t="l"===e?9:12;if("s"===e)return ol().createElement(jw,{verticalAlign:"center",childrenGap:"8px",backgroundColor:"neutralMed",height:oO,padding:iO},ol().createElement(EI,{width:nO,height:rO}),ol().createElement(EI,{width:nO,height:rO}));if("m"===e)return ol().createElement(Uw,{backgroundColor:"neutralMed",height:oO,padding:iO,totalSlots:t,verticalAlign:"center"},ol().createElement(zw,{slots:6},ol().createElement(EI,{width:nO,height:rO})),ol().createElement(zw,{slots:6},ol().createElement(EI,{width:nO,height:rO})));var n="l"===e?3:6;return ol().createElement(Uw,{backgroundColor:"neutralMed",height:oO,padding:iO,totalSlots:t,verticalAlign:"center"},ol().createElement(zw,{slots:n},ol().createElement(EI,{width:nO,height:rO})),ol().createElement(zw,{slots:3},ol().createElement(EI,{width:nO,height:rO})),ol().createElement(zw,{slots:3},ol().createElement(EI,{width:nO,height:rO})))},function(t){var n=t.pills,r=t.groupSpacerNestingDepth,o=t.backgroundColor,i=t.onClickProps,a=t.pillContainerProps,s=(0,e.__rest)(t,["pills","groupSpacerNestingDepth","backgroundColor","onClickProps","pillContainerProps"]);return qv("PillContainerListItem",s.id),W_("PillContainerListItem",s),ol().createElement(sR,(0,e.__assign)({groupSpacerNestingDepth:r,backgroundColor:o,onClickProps:i},s),ol().createElement(jw,{padding:"0 16px"},ol().createElement(gO,(0,e.__assign)({useCustomExpand:!0},a),n.map((function(t,n){return ol().createElement(dO,(0,e.__assign)({},t,{key:n}))})))))}],yO=function(t){var n=t.defaultExpanded,r=t.onClickToOpen,o=t.onClickToClose,i=(0,e.__rest)(t,["defaultExpanded","onClickToOpen","onClickToClose"]);qv("Drawer",i.buttonId);var a=(0,rl.useState)(n),s=a[0],c=a[1],l=function(){c(!s)};return ol().createElement(qI,(0,e.__assign)({drawerOpen:s,onClickToOpen:function(e){null===r||void 0===r||r(e),l()},onClickToClose:function(e){null===o||void 0===o||o(e),l()}},i))},bO=function(e){return e.map((function(e){return e.key})).toString()},_O=function(t){var n=t.finalColumnText,r=t.finalColumnActions,o=void 0===r?[]:r,i=t.existingMenuProps,a=void 0===i?{"aria-label":"","data-bi-id":""}:i,s=t.finalColumnAlign,c=void 0===s?"end":s,l=t.collapseActionText,u=void 0!==l&&l,d=t.disabled,p=void 0!==d&&d,h=t.menuDisabled,f=void 0!==h&&h,m=(0,e.__rest)(t,["finalColumnText","finalColumnActions","existingMenuProps","finalColumnAlign","collapseActionText","disabled","menuDisabled"]),g=a.menuItems||[],v=o.length>0||g.length>0,y="",b=o.map((function(e,t){return y+="item".concat(t),{key:"item".concat(t),name:e.props.text,"aria-label":e.props["aria-label"],"data-bi-id":e.props["data-bi-id"],action:e,isCollapsible:!!e.props.iconName,onRender:function(){return ol().createElement(Xw,{key:t},e)}}})),_={primary:b,overflow:[],cacheKey:y},C=function(e){return ol().createElement(Xw,{key:e.key},p?ol().cloneElement(e.action,{disabled:p}):e.action)},w=function(t){return ol().createElement(jw,{verticalAlign:"center"},ol().createElement(TT,(0,e.__assign)({},a,{iconName:"MoreVertical",disabled:f||p,menuItems:t,menuItemsPadding:a.menuItemsPadding||2})))};return ol().createElement(jw,{horizontal:!0,grow:!0},n&&n.length>0&&ol().createElement(jw,{horizontal:!0,verticalAlign:"center",childrenGap:16},n.map((function(e,t){return!p&&e.key?e:ol().cloneElement(e,{disabled:p,key:e.key||t})}))),v&&ol().createElement(jw,{grow:!0},ol().createElement(eI,{data:_,onReduceData:function(t){if(0!==t.primary.length){var n=(0,e.__spreadArray)((0,e.__spreadArray)([],t.primary.slice(-1),!0),t.overflow,!0),r=t.primary.slice(0,-1);return{primary:r,overflow:n,cacheKey:bO(r)}}},onGrowData:function(t){if(0!==t.overflow.length){var n=(0,e.__spreadArray)([],t.overflow.slice(1),!0),r=(0,e.__spreadArray)((0,e.__spreadArray)([],t.primary,!0),t.overflow.slice(0,1),!0);return{primary:r,overflow:n,cacheKey:bO(r)}}},onRenderData:function(t){var n=t.primary;u&&(n=n.map((function(t){return t.isCollapsible?(0,e.__assign)((0,e.__assign)({},t),{action:ol().cloneElement(t.action,(0,e.__assign)((0,e.__assign)({},t.action.props),{text:""}))}):t})));var r="start"===c||0===n.length?{overflowButton:{"flex-grow":1,"justify-content":"flex-end"}}:{item:{alignItems:"center",":first-of-type":{"flex-grow":1,"justify-content":"flex-end"}}};return 0===t.overflow.length&&0===g.length&&(r.root={padding:"0 8px 0 0"}),ol().createElement(WT,{items:n,overflowItems:(0,e.__spreadArray)((0,e.__spreadArray)([],g,!0),t.overflow,!0),onRenderItem:C,onRenderOverflowButton:w,styles:r})}})),m.iconName&&0===_.overflow.length&&ol().createElement(jw,{grow:!0,horizontalAlign:"end",verticalAlign:"center",padding:"0 8px 0 0"},ol().createElement(uw,{size:"16px",iconName:iS(m.iconName),color:"neutralPrimary"})))},CO=function(t){return ol().createElement(wO,(0,e.__assign)({},t))},wO=function(t){var n=t.firstColumn,r=t.actions,o=void 0===r?[]:r,i=t.actionsAlign,a=void 0===i?"end":i,s=t.disabled,c=void 0!==s&&s,l=t.menuDisabled,u=void 0!==l&&l,d=(0,e.__rest)(t,["firstColumn","actions","actionsAlign","disabled","menuDisabled"]);(0,rl.useEffect)((function(){}),[]),W_("OneColumnInternalListItem",d),(0,rl.useEffect)((function(){n.forEach((function(e){return IN(e,EN)}))}),[n]),(0,rl.useEffect)((function(){o.forEach((function(e){return IN(e,xN)}))}),[o]);var p=AC(),h=void 0!==d.onClickProps;PN("OneColumn",h,o.length);var f,m="s"===p||"m"===p||"l"===p;return"menu"===d.decorationType&&(f=(0,e.__assign)({},d.menuProps)),ol().createElement(sR,(0,e.__assign)({},d),ol().createElement(jw,{verticalAlign:"center",horizontal:!0,padding:GI,childrenGap:16},ol().createElement(jw,{verticalAlign:"center",grow:!1},n.map((function(e,t){return ol().cloneElement(e,{disabled:c,key:e.key||t})}))),ol().createElement(_O,{finalColumnActions:o,finalColumnAlign:a,collapseActionText:m,existingMenuProps:f,iconName:"icon"===d.decorationType?d.iconName:void 0,disabled:c,menuDisabled:u})))},EO=function(t){var n=t.firstColumn,r=void 0===n?[]:n,o=t.firstColumnWidth,i=t.secondColumn,a=void 0===i?[]:i,s=t.secondColumnWidth,c=t.thirdColumn,l=void 0===c?[]:c,u=t.thirdColumnWidth,d=t.finalColumnText,p=void 0===d?[]:d,h=t.finalColumnActions,f=void 0===h?[]:h,m=t.finalColumnWidth,g=t.finalColumnAlign,v=void 0===g?"end":g,y=t.disabled,b=void 0!==y&&y,_=t.menuDisabled,C=void 0!==_&&_,w=(0,e.__rest)(t,["firstColumn","firstColumnWidth","secondColumn","secondColumnWidth","thirdColumn","thirdColumnWidth","finalColumnText","finalColumnActions","finalColumnWidth","finalColumnAlign","disabled","menuDisabled"]);(0,rl.useEffect)((function(){}),[]),W_("FourColumnListItemInternal",w),(0,rl.useEffect)((function(){r.forEach((function(e){return IN(e,EN)}))}),[r]),(0,rl.useEffect)((function(){a&&a.forEach((function(e){IN(e,wN)}))}),[a]),(0,rl.useEffect)((function(){l&&l.forEach((function(e){IN(e,wN)}))}),[l]),(0,rl.useEffect)((function(){p&&p.forEach((function(e){return IN(e,wN)}))}),[p]),(0,rl.useEffect)((function(){f&&f.forEach((function(e){return IN(e,xN)}))}),[f]);var E,x=AC(),S=void 0!==w.onClickProps;return PN("FourColumn",S,f.length),"s"===x||"m"===x||"l"===x?ol().createElement(CO,(0,e.__assign)({firstColumn:FN((0,e.__spreadArray)((0,e.__spreadArray)((0,e.__spreadArray)((0,e.__spreadArray)([],r,!0),a,!0),l,!0),p,!0)),actions:f,actionsAlign:"end",disabled:b,menuDisabled:C},w)):("menu"===w.decorationType&&(E=(0,e.__assign)({},w.menuProps)),ol().createElement(sR,(0,e.__assign)({},w),ol().createElement(Uw,{totalSlots:12,verticalAlign:"center"},ol().createElement(zw,{slots:o},ol().createElement(jw,{padding:GI},r.map((function(e,t){return ol().cloneElement(e,{disabled:b,key:e.key||t})})))),ol().createElement(zw,{slots:s},ol().createElement(jw,{horizontal:!0,childrenGap:4},a.map((function(e,t){return ol().cloneElement(e,{disabled:b,key:e.key||t})})))),ol().createElement(zw,{slots:u},ol().createElement(jw,{horizontal:!0,childrenGap:4},l.map((function(e,t){return ol().cloneElement(e,{disabled:b,key:e.key||t})})))),ol().createElement(zw,{slots:m},ol().createElement(_O,{finalColumnText:p,finalColumnActions:f,finalColumnAlign:v,existingMenuProps:E,collapseActionText:S,iconName:"icon"===w.decorationType?w.iconName:void 0,disabled:b,menuDisabled:C})))))},xO={SixSix:[6,6],EightFour:[8,4],SixThreeThree:[6,3,3],ThreeThreeSix:[3,3,6],ThreeSixThree:[3,6,3],SixTwoFour:[6,2,4],SixFourTwo:[6,4,2],ThreeThreeThreeThree:[3,3,3,3],SixTwoTwoTwo:[6,2,2,2],EightTwoTwo:[8,2,2]},SO=(0,e.__spreadArray)((0,e.__spreadArray)([],vO,!0),[function(t){var n=t.image,r=t.text,o=t.firstDetail,i=t.secondDetail,a=t.detailsIconButtonProps,s=t.actionProps,c=t.disabled,l=void 0!==c&&c,u=(0,e.__rest)(t,["image","text","firstDetail","secondDetail","detailsIconButtonProps","actionProps","disabled"]);W_("DetailsFeedListItem",u),(0,rl.useEffect)((function(){}),[]);var d,p=AC(),h=ol().createElement(LT,(0,e.__assign)({},a,{calloutPosition:"left-top"}));return d=["s","m"].includes(p)?[h,ol().createElement(RT,(0,e.__assign)({key:"iconAction",disabled:l},s))]:"l"===p?[h,ol().createElement(ST,(0,e.__assign)({key:"buttonAction",disabled:l},s))]:[ol().createElement(Jw,{key:"first",disabled:l},o),ol().createElement(Jw,{key:"second",disabled:l},i),ol().createElement(ST,(0,e.__assign)({key:"buttonAction",disabled:l},s))],ol().createElement(cR,(0,e.__assign)({image:n,actions:d,disabled:l},u),ol().createElement(Jw,{disabled:l},r))},uR,yO,function(t){var n=t.variant,r=(0,e.__rest)(t,["variant"]);switch(n){case"ThreeThreeThreeThree":return ol().createElement(EO,(0,e.__assign)({firstColumnWidth:3,secondColumnWidth:3,thirdColumnWidth:3,finalColumnWidth:3},r));case"SixTwoTwoTwo":return ol().createElement(EO,(0,e.__assign)({firstColumnWidth:6,secondColumnWidth:2,thirdColumnWidth:2,finalColumnWidth:2},r))}},CO,function(t){var n=t.image,r=t.text,o=t.actionProps,i=(0,e.__rest)(t,["image","text","actionProps"]);W_("SimpleFeedListItem",i),(0,rl.useEffect)((function(){}),[]);var a,s=AC();return a=["s","m"].includes(s)?ol().createElement(RT,(0,e.__assign)({key:"iconAction"},o)):ol().createElement(ST,(0,e.__assign)({key:"buttonAction"},o)),ol().createElement(cR,(0,e.__assign)({image:n,actions:[a]},i),r)},function(e){var t,n,r,o=e.backgroundColor,i=AC();switch(i){case"s":r=(t=4)-(n=1);break;case"m":case"l":r=(t=6)-(n=2);break;case"xl":r=(t=12)-(n=2);break;case"xxl":case"xxxl":r=(t=12)-(n=2)-1}return ol().createElement(sR,{backgroundColor:o},ol().createElement(Uw,{totalSlots:t},ol().createElement(zw,{slots:r},ol().createElement(jw,{horizontal:!0,height:49,verticalAlign:"center"},ol().createElement(qw,{padding:"0 0 0 16px"},ol().createElement(EI,{height:32,width:32})),ol().createElement(qw,{padding:"0 0 0 8px"},ol().createElement(EI,{height:20,width:"s"===i||"m"===i?145:277})))),ol().createElement(zw,{slots:n},ol().createElement(jw,{horizontal:!0,height:49,verticalAlign:"center"},ol().createElement(qw,null,ol().createElement(EI,{height:14,width:"s"===i||"m"===i?14:150}))))))},function(e){var t=e.firstColumnComponentName,n=void 0===t?"Text":t,r=e.variant;(0,rl.useEffect)((function(){}),[]);var o=AC(),i="s"===o||"m"===o,a=i?16:32,s=ol().createElement(EI,{height:i?15:20});switch(n){case"Icon":s=ol().createElement(jw,{width:a,margin:"0 10px 0 0"},ol().createElement(sP,{height:a}));break;case"Persona":s=ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},ol().createElement(jw,{width:a,margin:"0 10px 0 0"},ol().createElement(sP,{height:a})),ol().createElement(EI,{height:a,width:150}));break;case"ListItemMedia":s=ol().createElement(jw,{horizontal:!0,childrenGap:"0 10px",verticalAlign:"center"},ol().createElement(EI,{height:a,width:a}),ol().createElement(EI,{height:a,width:150}))}var c=r?xO[r][0]:12;return i?ol().createElement(sR,null,ol().createElement(jw,{backgroundColor:"neutralHigh",margin:"0 0 3px 0",padding:"8px 13px 4px 52px",verticalAlign:"center"},ol().createElement(jw,{margin:"0 0 4px 0"},s),r&&xO[r].slice(1).map((function(e,t){return ol().createElement(jw,{margin:"0 0 4px 0",key:t},ol().createElement(EI,{height:20}))})))):ol().createElement(sR,null,ol().createElement(Uw,{backgroundColor:"neutralHigh",totalSlots:12,height:48,margin:"0 0 3px 0",padding:"0 13px 0 52px",verticalAlign:"center"},ol().createElement(zw,{slots:c},s),r&&xO[r].slice(1).map((function(e,t){return ol().createElement(zw,{slots:e,key:t},ol().createElement(EI,{height:20}))}))))},UN,jN,sR],!1),kO="neutralHigh",TO=function(t,n,r,o,i){return void 0===o&&(o=0),void 0===i&&(i=!0),ol().cloneElement(t,(0,e.__assign)({disabled:r,backgroundColor:t.props.backgroundColor||n,groupSpacerNestingDepth:o,showDivider:i},t.props))},IO="List",AO=function(e){return(Array.isArray(e)?e:e?[e]:[]).map((function(e){return Hb(e,SO,IO)}))};function PO(e){return function(e,t,n){var r=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=e.apply(void 0,r);return Hb(i,t,n)};return Object.defineProperty(r,"displayName",{enumerable:!0,configurable:!0,get:function(){return"".concat(e.displayName||e.name,"_").concat(Ub(n))},set:function(){}}),r}(e,SO,IO)}var DO=function e(t){for(var n,r=0,o=t.length;r<o;r++){var i=t[r];if(ol().isValidElement(i)&&i.props.children){if(n&&"non-leaf"!==n)return!1;if(n="non-leaf",!e(AO(i.props.children)))return!1}else{if(n&&"leaf"!==n)return!1;n="leaf"}}return!0},RO=function(e){return function(){return DO(e)?void 0:"Cannot mix childless and child-containing list nodes on the same level."}},MO=function(e,t){var n;return{root:{backgroundColor:e.palette.neutralHigh,borderBottom:t?void 0:"0px",selectors:(n={":focus":{background:e.palette.neutralHigh},":hover":{background:e.palette.neutralHigh},":active":{background:e.palette.neutralHigh},":disabled":{background:e.palette.neutralHigh}},n[Wm]={border:"none"},n)},groupHeaderContainer:{height:"100%"}}},NO=function(t){return qv("GroupedList",t.id),ol().createElement(GO,(0,e.__assign)({},t,{listType:"GroupedList"}))},LO=function(t){var n=t.children,r=t.listItemBackgroundColor,o=void 0===r?kO:r,i=t.disabled,a=t.showDivider,s=void 0===a||a,c=t.expandButtonProps,l=(0,e.__rest)(t,["children","listItemBackgroundColor","disabled","showDivider","expandButtonProps"]);(0,rl.useEffect)((function(){}),[]),Wb("GroupedList",[RO(AO(n))]);var u=(0,rl.useRef)(new Map).current,d=rb(),p=[],h=OO(AO(n),u,p)||[];return ol().createElement(qM,{groups:h,items:p,onRenderCell:function(e,t){return TO(t,o,i,e,s)},groupProps:{headerProps:{onRenderTitle:i?function(e){var t=e.group.data;return ol().cloneElement(t,{menuDisabled:!0})}:function(e){var t=e.group.data;return TO(t,o,i,void 0,!1)},styles:MO(d,s),onToggleCollapse:function(e){u.set(e.key,!e.isCollapsed)},expandButtonProps:c},role:"group"},selectionMode:AR.none,onShouldVirtualize:function(){return!1},rootListProps:l})},OO=function e(t,n,r,o,i){void 0===r&&(r=[]),void 0===o&&(o=0),void 0===i&&(i="");for(var a=[],s=0,c=t.length;s<c;s++){var l=t[s];if(ol().isValidElement(l)&&l.props.children){var u=(l.key||s).toString();i&&(u="".concat(i,"-").concat(s));var d=AO(l.props.children),p=r.length,h=d.length,f=e(d,n,r,o+1,u);a.push({count:h,key:u,name:l.props["aria-label"],ariaLabel:l.props["aria-label"],startIndex:p,level:o,children:f,isCollapsed:n.has(u)?n.get(u):!l.props.defaultExpanded,data:ol().cloneElement(l,{defaultExpanded:void 0,children:void 0,key:u})})}else r.push(l)}return a},FO=(0,rl.forwardRef)((function(t,n){return qv("List",t.id),ol().createElement(GO,(0,e.__assign)({},t,{listType:"List",ref:n}))})),BO=(0,rl.forwardRef)((function(t,n){var r=t.children,o=t.listItemBackgroundColor,i=void 0===o?kO:o,a=t.enableVirtualization,s=void 0!==a&&a,c=t.disabled,l=t.showDivider,u=void 0===l||l,d=t.isTabbable,p=void 0!==d&&d,h=t.listRole,f=void 0===h?"list":h,m=(0,e.__rest)(t,["children","listItemBackgroundColor","enableVirtualization","disabled","showDivider","isTabbable","listRole"]),g=oS(),v=p?"all":void 0;return ol().createElement(G_,{handleTabKey:v,shouldEnterInnerZone:function(e){return e.key===(g?"ArrowLeft":"ArrowRight")},direction:"vertical",ref:n},ol().createElement(FM,(0,e.__assign)({},m,{items:AO(r).slice(),onRenderCell:function(e){return TO(e,i,c,void 0,void 0!==(null===e||void 0===e?void 0:e.props.showDivider)?null===e||void 0===e?void 0:e.props.showDivider:u)},onShouldVirtualize:function(){return s},role:f})))})),HO=function(e,t,n){return{root:{boxShadow:n?Zp.depth8:void 0,borderRadius:t?"0 0 4px 4px":"0px",padding:GI,backgroundColor:e.palette.neutralMed}}},zO=function(t){var n=t.label,r=t.links,o=t.borderRadius,i=void 0===o||o,a=t.shadow,s=void 0===a||a,c=rb();return ol().createElement(jv,{verticalAlign:"center",styles:HO(c,i,s)},ol().createElement(jv,{wrap:!0,horizontal:!0,style:{margin:"9px 0 9px 0"}},n&&ol().createElement(jv,{horizontal:!0,styles:{root:{margin:"0 16px 0 0"}}},ol().createElement(Jw,{variant:"bodySecondaryText"},n)),ol().createElement(jv,{horizontal:!0,tokens:{childrenGap:"0 16"},wrap:1!==r.length},r.map((function(t,n){return ol().createElement(Vv,{key:n},ol().createElement(VO,(0,e.__assign)({},t)))})))))},UO=function(t){var n=t.leftLink,r=t.rightLink,o=t.borderRadius,i=void 0===o||o,a=t.shadow,s=void 0===a||a,c=rb(),l=AC(),u=ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:6},ol().createElement(VO,(0,e.__assign)({},n))),ol().createElement(zw,{slots:6},ol().createElement(VO,(0,e.__assign)({},r)))),d=ol().createElement(jv,{horizontal:!1,tokens:{childrenGap:"16px"}},ol().createElement(Vv,null,ol().createElement(VO,(0,e.__assign)({},n))),ol().createElement(Vv,null,ol().createElement(VO,(0,e.__assign)({},r))));return ol().createElement(jv,{verticalAlign:"center",styles:HO(c,i,s)},ol().createElement(jv,{style:{margin:"9px 0 9px 0"}},function(){switch(l){case"xxxl":case"xxl":case"xl":case"l":return u;case"m":case"s":return d}}()))},VO=function(t){return"href"in t?ol().createElement(Kx,(0,e.__assign)({},t)):ol().createElement(Yx,(0,e.__assign)({},t))},jO=function(t){return"twocolumn"===t.type?ol().createElement(UO,(0,e.__assign)({},t)):ol().createElement(zO,(0,e.__assign)({},t))},qO=function(t){var n=t.minHeight,r=void 0===n?"44px":n,o=(0,e.__rest)(t,["minHeight"]),i=rb();return ol().createElement(jv,{verticalAlign:"center",style:{backgroundColor:i.palette.neutralHigh,minHeight:r,padding:"0 16px"}},ol().createElement(qw,null,ol().createElement(Yx,(0,e.__assign)({},o))))},WO=function(e,t,n,r){return{root:{boxShadow:e?Zp.depth4:void 0,borderRadius:n?t:void 0,overflow:n?"hidden":void 0,height:r}}},GO=(0,rl.forwardRef)((function(t,n){var r,o,i,a,s=t.listType,c=t.label,l=t.header,u=t.footer,d=t.placeholder,p=t.children,h=t.shadow,f=t.roundedCorners,m=t.borderRadius,g=void 0===m?"8px":m,v=t.operationData,y=t.showDefaultHeaderDivider,b=void 0===y||y,_=(0,e.__rest)(t,["listType","label","header","footer","placeholder","children","shadow","roundedCorners","borderRadius","operationData","showDefaultHeaderDivider"]),C=(0,rl.useState)(null!==(r=_.defaultExpanded)&&void 0!==r&&r),w=C[0],E=C[1],x=null===c||void 0===c?void 0:c.text,S=AO(p);if(_.isAlwaysExpanded){i=0;_.isAlwaysExpanded;var k=(0,e.__rest)(_,["isAlwaysExpanded"]);o=k}else{if((i=_.initialListLength||5)>0&&S.length>i){x="".concat(x," (").concat(S.length,")");var T=w?_.showLessButtonProps:_.showMoreButtonProps;a=(0,e.__assign)((0,e.__assign)({},T),{onClick:function(){return E(!w)}})}S=w?S:S.slice(0,i);_.isAlwaysExpanded,_.initialListLength,_.showMoreButtonProps,_.showLessButtonProps,k=(0,e.__rest)(_,["isAlwaysExpanded","initialListLength","showMoreButtonProps","showLessButtonProps"]);o=k}if(S.length>0&&"DetailsList"!==s){var I=S[S.length-1];S[S.length-1]=ol().createElement(I.type,(0,e.__assign)((0,e.__assign)({},I.props),{showDivider:!1}))}"DetailsList"===s&&(S=S.map((function(t){return ol().createElement(t.type,(0,e.__assign)((0,e.__assign)({},t.props),{cellRole:"gridcell"}))}))),W_("ListWrapper",o);var A="DetailsList"===s?_.customHeight:void 0,P=function(t){return ol().createElement(jv,{styles:WO(h,g,f,A)},c&&ol().createElement(Gw,{id:c.id},x),t&&ol().createElement("div",{style:{position:"absolute",width:"100%",zIndex:1}},ol().createElement(BC,{styles:{itemProgress:{padding:"0px"}}})),l&&TO(ol().createElement(sR,{showDivider:b,removeRole:!0,"data-is-focusable":!1},ol().createElement(jw,{padding:GI},t?ol().cloneElement(l,{menuDisabled:t,showDivider:b}):l)),_.listItemBackgroundColor,void 0,void 0,b),d&&0===S.length?d:function(t){var r=(0,e.__assign)((0,e.__assign)({"aria-labelledby":null===c||void 0===c?void 0:c.id},o),{disabled:t,children:S}),i=(0,e.__assign)((0,e.__assign)({"aria-labelledby":null===c||void 0===c?void 0:c.id},o),{disabled:t,children:S,headerColumns:_.headerColumns,ariaLabelForListHeader:_.ariaLabelForListHeader,checkButtonAriaLabel:_.checkButtonAriaLabel,onHeaderChange:_.onHeaderChange,announcedSortMessage:_.announcedSortMessage});return ol().createElement(ol().Fragment,null,function(){switch(s){case"List":return ol().createElement(BO,(0,e.__assign)({},r,{ref:n}));case"DetailsList":return ol().createElement(rF,(0,e.__assign)({},i));default:return ol().createElement(LO,(0,e.__assign)({showDivider:b},r))}}(),a&&ol().createElement(qO,(0,e.__assign)({},a)))}(t),u&&ol().createElement(jO,(0,e.__assign)({},u)))};return v?ol().createElement(oh,{operationData:v.progressViewOperationData,failedView:P(),finishedView:P(),updatingView:P(!0)}):P()})),KO=function(e,t){return function(){return e!==t.length?"DetailsList must have the same number of columns in the headers and rows":void 0}},YO=function(e){return kN.includes(e.type)},QO="8px 0 8px 2px",XO={cellLeftPadding:0,cellRightPadding:0,cellExtraRightPadding:0},JO=function(e){return{headerWrapper:{"[role=row] > div":{display:"flex",flexGrow:1,"div ":{alignItems:"stretch","div > div":{height:"100%",maxWidth:"100%"}}}},contentWrapper:{"[role=row]":{":hover":{backgroundColor:e.palette.neutralLighterAlt,outline:"1px solid ".concat(e.palette.neutralLighterAlt)},":active":{backgroundColor:e.palette.neutralLight,outline:"1px solid ".concat(e.palette.neutralLight)},":hover:active":{backgroundColor:e.palette.neutralLight,outline:"1px solid ".concat(e.palette.neutralLight)}}}}},$O=function(t,n,r){var o,i;return n&&(i={flexFlow:"column wrap-reverse",justifyContent:"center"}),{root:{width:r?"fit-content !important":void 0,"[role=button]":(o={},o[Wm]={":hover":{outline:"1px solid Highlight"},":active:hover":{outline:"1px solid Highlight"}},o)},cellTooltip:{position:"relative",height:"100%",width:"100%"},cellTitle:(0,e.__assign)({whiteSpace:"normal",alignItems:"center",height:"100%",width:"100%",paddingRight:"2px",paddingLeft:0===t?"12px":"8px"},i)}},ZO={root:{width:"100% !important"}},eF=function(e){return{list:{backgroundColor:e.semanticColors.buttonBackground}}},tF={root:{alignItems:"center",marginRight:"8px"}},nF=function(e){return{root:{height:e,position:"relative",overflow:"unset"}}},rF=function(t){var n,r,o,i,a=t.headerColumns,s=t.ariaLabelForListHeader,c=t.checkButtonAriaLabel,l=t.children,u=t.announcedSortMessage,d=t.onHeaderChange,p=t.customHeight,h=(0,e.__rest)(t,["headerColumns","ariaLabelForListHeader","checkButtonAriaLabel","children","announcedSortMessage","onHeaderChange","customHeight"]),f=rb(),m=Tp(),g=(0,rl.useContext)(kp).twoUITelemetryIds.areaBiId,v=AO(l).slice();Wb("DetailsList",[(i=v,function(){return i.length<1?"DetailsList cannot have less than ".concat(1," rows"):void 0}),KO(null!==(r=null===(n=v[0].props.columns)||void 0===n?void 0:n.length)&&void 0!==r?r:2,a),(o=a,function(){return function(e){var t=!1,n=!0;return e.forEach((function(e){"detailsHeader"===e.headerType&&("sortedAscending"!==e.sortStatus&&"sortedDescending"!==e.sortStatus||(t?n=!1:t=!0))})),n}(o)?void 0:"Only one column header can be sorted ascending or descending"})]);for(var y=!1,b=a.length,_=0;!y&&_<b;){var C=a[_];switch(C.sortStatus){case"sortedAscending":case"sortedDescending":var w=C.sortFunction(v,_,"sortedDescending"===C.sortStatus),E=w[0];w[1];v=(0,e.__spreadArray)([],E,!0),y=!0}_++}_++;var x=(0,rl.useState)(),S=x[0],k=x[1],T=(0,rl.useState)(u),I=T[0],A=T[1],P=function(){k(void 0)};function D(t,n){var r=n.data.detailsHeaderColumn,o=[];switch(r.sortStatus){case"notSorted":case"sortedDescending":case"sortedAscending":r.sortOptionsMenu.forEach((function(t){var r,i;o.push((0,e.__assign)((0,e.__assign)({},t),{checked:t.checked(null!==(r=n.isSorted)&&void 0!==r&&r,null!==(i=n.isSortedDescending)&&void 0!==i&&i),role:"menuitemradio",onClick:function(){return function(t,n,r){var o={clickId:"".concat(r),pageArea:g};m.reportClick(o);var i=t.data.detailsHeaderArray,a=i.findIndex((function(e){return e.key===t.key}));if(a>=0&&t.data){var s=t.data.detailsHeaderColumn;switch(s.sortStatus){case"notSorted":case"sortedDescending":case"sortedAscending":var c=s.sortFunction(t.data.detailsListItems,a,n),l=c[0],u=c[1];if(l){A("".concat(s.name," ").concat(u));var p=i.map((function(t,r){return r===a?(0,e.__assign)((0,e.__assign)({},t),{sortStatus:n?"sortedDescending":"sortedAscending"}):(0,e.__assign)((0,e.__assign)({},t),{sortStatus:"notSortable"===t.sortStatus?t.sortStatus:"notSorted"})}));d&&d(p)}}}}(n,t.isSortedDescending,t["data-bi-id"])}}))}))}return{items:null!==o&&void 0!==o?o:[],target:t.currentTarget,directionalHint:J_,gapSpace:10,onDismiss:P,styles:eF(f)}}var R,M,N=function(e,t){var n={clickId:"".concat(t.data.detailsHeaderColumn["data-bi-id"]),pageArea:g};m.reportClick(n),t.columnActionsMode!==xD.disabled&&k(D(e,t))},L=function(e,t){e&&t&&e.columnActionsMode!==xD.disabled&&k(D(t,e))},O=function(e){var t,n=null===e||void 0===e?void 0:e.column.data.detailsHeaderColumn;return"listItemHeader"===(null===n||void 0===n?void 0:n.headerType)?YO(n.listItemColumn)&&"notSortable"!==n.sortStatus?ol().createElement(ol().Fragment,null):n.listItemColumn:null!==(t=!(null===e||void 0===e?void 0:e.column.isMultiline))&&void 0!==t&&t?ol().createElement(Gx,{type:"text",lines:1,variant:"headerText",stopPropagation:!1},null===e||void 0===e?void 0:e.column.name):ol().createElement(Jw,{children:null===e||void 0===e?void 0:e.column.name,variant:"headerText",nowrap:!1,block:!0})},F=function(e,t,n){var r;return"listItemHeader"===e.headerType&&YO(e.listItemColumn)?"notSortable"===e.sortStatus?ol().createElement(yR,{column:t,columnIndex:n,styles:ZO}):ol().createElement(nR,null,ol().createElement(jv,{horizontal:!0,styles:tF},e.listItemColumn,ol().createElement(wR,{column:t,columnIndex:n,cellStyleProps:XO,styles:$O(n,!1,!0)}))):ol().createElement(wR,{column:t,columnIndex:n,cellStyleProps:XO,styles:$O(n,null!==(r=t.isIconOnly)&&void 0!==r&&r)})},B=(M=v,(R=a).map((function(t){var n,r="sortedAscending"===t.sortStatus||"sortedDescending"===t.sortStatus,o={key:t.key,minWidth:t.minWidth?parseInt(t.minWidth,10):parseInt("300px",10),name:t.name,ariaLabel:t.ariaLabel,onRenderHeader:O,columnActionsMode:"notSortable"===t.sortStatus?xD.disabled:r?void 0:xD.hasDropdown,isSorted:r,isSortedDescending:"sortedDescending"===t.sortStatus,onColumnClick:N,onColumnContextMenu:L,data:{detailsHeaderColumn:t,detailsListItems:M,detailsHeaderArray:R},isResizable:!0};if("listItemHeader"===t.headerType)return o;var i=null!==(n=t.textTruncates)&&void 0!==n&&n;return(0,e.__assign)((0,e.__assign)({},o),{iconName:t.iconName,isIconOnly:t.isIconOnly,isMultiline:!i,onRenderHeader:t.isIconOnly?void 0:O})}))),H=[I?ol().createElement(_A,{message:I}):void 0,ol().createElement(tN,{items:v,columns:B,onItemContextMenu:function(e,t,n){var r={target:null===n||void 0===n?void 0:n.target,items:[{key:"text",name:"selected"}],onDismiss:function(){k(void 0)}};return t&&t>-1&&k(r),!1},ariaLabelForListHeader:s,checkButtonAriaLabel:c,listProps:(0,e.__assign)({items:v,onRenderCell:function(e){return TO(e)}},h),layoutMode:TD.fixedColumns,onRenderDetailsHeader:function(t){if(null===t||void 0===t?void 0:t.columns[0].data){var n=null===t||void 0===t?void 0:t.columns[0].data.detailsListItems;if(n[0].props.leftColumn){var r={"aria-label":null===t||void 0===t?void 0:t.ariaLabel,leftColumn:t?F(null===t||void 0===t?void 0:t.columns[0].data.detailsHeaderColumn,null===t||void 0===t?void 0:t.columns[0],0):ol().createElement(ol().Fragment,null),rightColumn:t?F(null===t||void 0===t?void 0:t.columns[1].data.detailsHeaderColumn,null===t||void 0===t?void 0:t.columns[1],1):ol().createElement(ol().Fragment,null),onClickProps:void 0,listItemRole:"row",customListItemPadding:QO};return p?ol().createElement(SR,{stickyPosition:dR.Header},ol().createElement(jN,(0,e.__assign)({},r))):ol().createElement(jN,(0,e.__assign)({},r))}var o={"aria-label":null===t||void 0===t?void 0:t.ariaLabel,variant:n[0].props.variant,columns:t?t.columns.map((function(e,n){return F(null===t||void 0===t?void 0:t.columns[n].data.detailsHeaderColumn,e,n)})):[],onClickProps:void 0,listItemRole:"row",horizontalStack:!1,verticalAlign:"stretch",customListItemPadding:QO};return p?ol().createElement(SR,{stickyPosition:dR.Header},ol().createElement(UN,(0,e.__assign)({},o))):ol().createElement(UN,(0,e.__assign)({},o))}return ol().createElement(ol().Fragment,null)},styles:JO(f),selectionMode:AR.none}),S&&ol().createElement(nT,(0,e.__assign)({},S))];return ol().createElement(jv,{styles:{root:{display:"flex",flexDirection:"column",flexWrap:"wrap",width:"100%",overflowX:"auto"}}},p?ol().createElement(jv,{styles:nF(p)},H):ol().createElement(ol().Fragment,null,H))};function oF(e){var t=rl.useRef((function(){throw new Error("Cannot call an event handler while rendering")}));return xx((function(){t.current=e}),[e]),Db((function(){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.current;return r.apply(void 0,e)}}))}var iF=function(e){var t=rl.useRef(e);t.current=e,rl.useEffect((function(){return function(){var e;null===(e=t.current)||void 0===e||e.call(t)}}),[])},aF={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1},sF=rl.forwardRef((function(t,n){var r,o=rl.useRef(null),i=rl.useRef(null),a=rl.useRef(null),s=Ay(o,n),c=Yv(),l=null===(r=vk(!1))||void 0===r||r,u=Iy(aF,t),d=Db({hasFocus:!1,focusStackId:Ik("ftz-",u.id)}),p=u.children,h=u.componentRef,f=u.disabled,m=u.disableFirstFocus,g=u.forceFocusInsideTrap,v=u.focusPreviouslyFocusedInnerElement,y=u.firstFocusableSelector,b=u.firstFocusableTarget,_=u.disableRestoreFocus,C=void 0===_?u.ignoreExternalFocusing:_,w=u.isClickableOutsideFocusTrap,E=u.enableAriaHiddenSiblings,x={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:f?-1:0,"data-is-visible":!0,"data-is-focus-trap-zone-bumper":!0},S=rl.useCallback((function(e){e!==i.current&&e!==a.current&&f_(e)}),[]),k=oF((function(){if(o.current){var e=d.previouslyFocusedElementInTrapZone;if(v&&e&&e_(o.current,e))S(e);else{var t=null;if("string"===typeof b)t=o.current.querySelector(b);else if(b)t=b(o.current);else if(y){var n="string"===typeof y?y:y();t=o.current.querySelector("."+n)}t||(t=i_(o.current,o.current.firstChild,!1,!1,!1,!0)),t&&S(t)}}})),T=function(e){if(!f&&o.current){var t,n,r,s=e===d.hasFocus?(t=o.current,n=a.current,void 0===(r=!1)&&(r=!0),o_(t,n,r,!1,!0,!0,!1,!0)):function(e,t,n,r){return void 0===r&&(r=!0),i_(e,t,r,!1,!1,n,!1,!0)}(o.current,i.current,!0,!1);s&&(s===i.current||s===a.current?k():s.focus())}},I=oF((function(e){if(sF.focusStack=sF.focusStack.filter((function(e){return d.focusStackId!==e})),c){var t=c.activeElement;C||"function"!==typeof(null===e||void 0===e?void 0:e.focus)||!e_(o.current,t)&&t!==c.body||S(e)}})),A=oF((function(e){if(!f&&d.focusStackId===sF.focusStack.slice(-1)[0]){var t=e.target;t&&!e_(o.current,t)&&(c&&c.activeElement===c.body?setTimeout((function(){c&&c.activeElement===c.body&&(k(),d.hasFocus=!0)}),0):(k(),d.hasFocus=!0),e.preventDefault(),e.stopPropagation())}}));return rl.useEffect((function(){var e=[];return g&&e.push(nE(window,"focus",A,!0)),w||e.push(nE(window,"click",A,!0)),function(){e.forEach((function(e){return e()}))}}),[g,w]),rl.useEffect((function(){if(!f&&(l||g)&&o.current){sF.focusStack.push(d.focusStackId);var e=u.elementToFocusOnDismiss||c.activeElement;return m||e_(o.current,e)||k(),function(){return I(e)}}}),[g,f]),rl.useEffect((function(){if(!f&&E)return HE(o.current)}),[f,E,o]),iF((function(){delete d.previouslyFocusedElementInTrapZone})),function(e,t,n){rl.useImperativeHandle(e,(function(){return{get previouslyFocusedElement(){return t},focus:n}}),[n,t])}(h,d.previouslyFocusedElementInTrapZone,k),rl.createElement("div",(0,e.__assign)({"aria-labelledby":u.ariaLabelledBy},Nv(u,Mv),{ref:s,onFocusCapture:function(e){var t;null===(t=u.onFocusCapture)||void 0===t||t.call(u,e),e.target===i.current?T(!0):e.target===a.current&&T(!1),d.hasFocus=!0,e.target!==e.currentTarget&&e.target!==i.current&&e.target!==a.current&&(d.previouslyFocusedElementInTrapZone=e.target)},onBlurCapture:function(e){var t;null===(t=u.onBlurCapture)||void 0===t||t.call(u,e);var n=e.relatedTarget;null===e.relatedTarget&&(n=c.activeElement),e_(o.current,n)||(d.hasFocus=!1)}}),rl.createElement("div",(0,e.__assign)({},x,{ref:i})),p,rl.createElement("div",(0,e.__assign)({},x,{ref:a})))}));sF.displayName="FocusTrapZone",sF.focusStack=[];var cF=km,lF={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},uF=pb(),dF=function(t){function n(e){var n=t.call(this,e)||this;v_(n);var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,n}return(0,e.__extends)(n,t),n.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&function(){var e=xf();e&&e.body&&!w_&&(e.body.classList.add(E_),e.body.addEventListener("touchmove",T_,{passive:!1,capture:!1})),w_++}()},n.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&function(){if(w_>0){var e=xf();e&&e.body&&1===w_&&(e.body.classList.remove(E_),e.body.removeEventListener("touchmove",T_)),w_--}}()},n.prototype.render=function(){var t=this.props,n=t.isDarkThemed,r=t.className,o=t.theme,i=t.styles,a=Nv(this.props,Mv),s=uF(i,{theme:o,className:r,isDark:n});return rl.createElement("div",(0,e.__assign)({},a,{className:s.root}))},n}(rl.Component),pF={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},hF=ib(dF,(function(e){var t,n=e.className,r=e.theme,o=e.isNone,i=e.isDark,a=r.palette,s=og(pF,r);return{root:[s.root,r.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[Wm]={border:"1px solid WindowText",opacity:0},t)},o&&{visibility:"hidden"},i&&[s.rootDark,{backgroundColor:a.blackTranslucent40}],n]}}),void 0,{scope:"Overlay"}),fF=of((function(e,t){return{root:Xh(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}})),mF={start:"touchstart",move:"touchmove",stop:"touchend"},gF={start:"mousedown",move:"mousemove",stop:"mouseup"},vF=function(t){function n(e){var n=t.call(this,e)||this;return n._currentEventType=gF,n._events=[],n._onMouseDown=function(e){var t=rl.Children.only(n.props.children).props.onMouseDown;return t&&t(e),n._currentEventType=gF,n._onDragStart(e)},n._onMouseUp=function(e){var t=rl.Children.only(n.props.children).props.onMouseUp;return t&&t(e),n._currentEventType=gF,n._onDragStop(e)},n._onTouchStart=function(e){var t=rl.Children.only(n.props.children).props.onTouchStart;return t&&t(e),n._currentEventType=mF,n._onDragStart(e)},n._onTouchEnd=function(e){var t=rl.Children.only(n.props.children).props.onTouchEnd;t&&t(e),n._currentEventType=mF,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 r=n._createDragDataFromPosition(t);n.props.onStart&&n.props.onStart(e,r),n.setState({isDragging:!0,lastPosition:t}),n._events=[nE(document.body,n._currentEventType.move,n._onDrag,!0),nE(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 r=n._createUpdatedDragData(n._createDragDataFromPosition(t)),o=r.position;n.props.onDragChange&&n.props.onDragChange(e,r),n.setState({position:o,lastPosition:t})}},n._onDragStop=function(e){if(n.state.isDragging){var t=n._getControlPosition(e);if(t){var r=n._createDragDataFromPosition(t);n.setState({isDragging:!1,lastPosition:void 0}),n.props.onStop&&n.props.onStop(e,r),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(0,e.__extends)(n,t),n.prototype.componentDidUpdate=function(e){!this.props.position||e.position&&this.props.position===e.position||this.setState({position:this.props.position})},n.prototype.componentWillUnmount=function(){this._events.forEach((function(e){return e()}))},n.prototype.render=function(){var t=rl.Children.only(this.props.children),n=t.props,r=this.props.position,o=this.state,i=o.position,a=o.isDragging,s=i.x,c=i.y;return r&&!a&&(s=r.x,c=r.y),rl.cloneElement(t,{style:(0,e.__assign)((0,e.__assign)({},n.style),{transform:"translate("+s+"px, "+c+"px)"}),className:fF(n.className,this.state.isDragging).root,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd})},n.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}}},n.prototype._getActiveTouch=function(e){return e.targetTouches&&this._findTouchInTouchList(e.targetTouches)||e.changedTouches&&this._findTouchInTouchList(e.changedTouches)},n.prototype._getTouchId=function(e){var t=e.targetTouches&&e.targetTouches[0]||e.changedTouches&&e.changedTouches[0];if(t)return t.identifier},n.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))},n.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]},n.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}},n.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}},n}(rl.Component);function yF(e){var t=rl.useState(e),n=t[0],r=t[1];return[n,{setTrue:Db((function(){return function(){r(!0)}})),setFalse:Db((function(){return function(){r(!1)}})),toggle:Db((function(){return function(){r((function(e){return!e}))}}))}]}var bF={x:0,y:0},_F={isOpen:!1,isDarkOverlay:!0,className:"",containerClassName:"",enableAriaHiddenSiblings:!0},CF=pb(),wF=rl.forwardRef((function(t,n){var r,o,i,a,s,c=Iy(_F,t),l=c.allowTouchBodyScroll,u=c.className,d=c.children,p=c.containerClassName,h=c.scrollableContentClassName,f=c.elementToFocusOnDismiss,m=c.firstFocusableSelector,g=c.focusTrapZoneProps,v=c.forceFocusInsideTrap,y=c.disableRestoreFocus,b=void 0===y?c.ignoreExternalFocusing:y,_=c.isBlocking,C=c.isAlert,w=c.isClickableOutsideFocusTrap,E=c.isDarkOverlay,x=c.onDismiss,S=c.layerProps,k=c.overlay,T=c.isOpen,I=c.titleAriaId,A=c.styles,P=c.subtitleAriaId,D=c.theme,R=c.topOffsetFixed,M=c.responsiveMode,N=c.onLayerDidMount,L=c.isModeless,O=c.dragOptions,F=c.onDismissed,B=c.enableAriaHiddenSiblings,H=rl.useRef(null),z=rl.useRef(null),U=Ay(z,null===g||void 0===g?void 0:g.componentRef),V=rl.useRef(null),j=Ay(H,n),q=Ok(j),W=Ik("ModalFocusTrapZone",null===g||void 0===g?void 0:g.id),G=Kv(),K=Rb(),Y=K.setTimeout,Q=K.clearTimeout,X=rl.useState(T),J=X[0],$=X[1],Z=rl.useState(T),ee=Z[0],te=Z[1],ne=rl.useState(bF),re=ne[0],oe=ne[1],ie=rl.useState(),ae=ie[0],se=ie[1],ce=yF(!1),le=ce[0],ue=ce[1],de=ue.toggle,pe=ue.setFalse,he=Db((function(){return{onModalCloseTimer:0,allowTouchBodyScroll:l,scrollableContent:null,lastSetCoordinates:bF,events:new bS({})}})),fe=(O||{}).keepInBounds,me=null!==C&&void 0!==C?C:_&&!L,ge=void 0===S?"":S.className,ve=CF(A,{theme:D,className:u,containerClassName:p,scrollableContentClassName:h,isOpen:T,isVisible:ee,hasBeenOpened:he.hasBeenOpened,modalRectangleTop:ae,topOffsetFixed:R,isModeless:L,layerClassName:ge,windowInnerHeight:null===G||void 0===G?void 0:G.innerHeight,isDefaultDragHandle:O&&!O.dragHandleSelector}),ye=(0,e.__assign)((0,e.__assign)({eventBubblingEnabled:!1},S),{onLayerDidMount:S&&S.onLayerDidMount?S.onLayerDidMount:N,insertFirst:(null===S||void 0===S?void 0:S.insertFirst)||L,className:ve.layer}),be=rl.useCallback((function(e){e?he.allowTouchBodyScroll?k_(e,he.events):S_(e,he.events):he.events.off(he.scrollableContent),he.scrollableContent=e}),[he]),_e=function(){var e=V.current,t=null===e||void 0===e?void 0:e.getBoundingClientRect();t&&(R&&se(t.top),fe&&(he.minPosition={x:-t.left,y:-t.top},he.maxPosition={x:t.left,y:t.top}))},Ce=rl.useCallback((function(e,t){var n=he.minPosition,r=he.maxPosition;return fe&&n&&r&&(t=Math.max(n[e],t),t=Math.min(r[e],t)),t}),[fe,he]),we=function(){var e;he.lastSetCoordinates=bF,pe(),he.isInKeyboardMoveMode=!1,$(!1),oe(bF),null===(e=he.disposeOnKeyUp)||void 0===e||e.call(he),null===F||void 0===F||F()},Ee=rl.useCallback((function(){pe(),he.isInKeyboardMoveMode=!1}),[he,pe]),xe=rl.useCallback((function(e,t){oe((function(e){return{x:Ce("x",e.x+t.delta.x),y:Ce("y",e.y+t.delta.y)}}))}),[Ce]),Se=rl.useCallback((function(){z.current&&z.current.focus()}),[]);rl.useEffect((function(){Q(he.onModalCloseTimer),T&&(requestAnimationFrame((function(){return Y(_e,0)})),$(!0),O&&function(){var e=function(e){e.altKey&&e.ctrlKey&&e.keyCode===hf&&e_(he.scrollableContent,e.target)&&(de(),e.preventDefault(),e.stopPropagation())};he.disposeOnKeyUp||(he.events.on(G,"keyup",e,!0),he.disposeOnKeyUp=function(){he.events.off(G,"keyup",e,!0),he.disposeOnKeyUp=void 0})}(),he.hasBeenOpened=!0,te(!0)),!T&&J&&(he.onModalCloseTimer=Y(we,1e3*parseFloat(cF)),te(!1))}),[J,T]),iF((function(){he.events.dispose()})),function(e,t){rl.useImperativeHandle(e.componentRef,(function(){return{focus:function(){t.current&&t.current.focus()}}}),[t])}(c,z);var ke=rl.createElement(sF,(0,e.__assign)({},g,{id:W,ref:V,componentRef:U,className:Wv(ve.main,null===g||void 0===g?void 0:g.className),elementToFocusOnDismiss:null!==(r=null===g||void 0===g?void 0:g.elementToFocusOnDismiss)&&void 0!==r?r:f,isClickableOutsideFocusTrap:null!==(o=null===g||void 0===g?void 0:g.isClickableOutsideFocusTrap)&&void 0!==o?o:L||w||!_,disableRestoreFocus:null!==(i=null===g||void 0===g?void 0:g.disableRestoreFocus)&&void 0!==i?i:b,forceFocusInsideTrap:(null!==(a=null===g||void 0===g?void 0:g.forceFocusInsideTrap)&&void 0!==a?a:v)&&!L,firstFocusableSelector:(null===g||void 0===g?void 0:g.firstFocusableSelector)||m,focusPreviouslyFocusedInnerElement:null===(s=null===g||void 0===g?void 0:g.focusPreviouslyFocusedInnerElement)||void 0===s||s,onBlur:he.isInKeyboardMoveMode?function(e){var t,n;null===(t=null===g||void 0===g?void 0:g.onBlur)||void 0===t||t.call(g,e),he.lastSetCoordinates=bF,he.isInKeyboardMoveMode=!1,null===(n=he.disposeOnKeyDown)||void 0===n||n.call(he)}:void 0}),O&&he.isInKeyboardMoveMode&&rl.createElement("div",{className:ve.keyboardMoveIconContainer},O.keyboardMoveIconProps?rl.createElement(HS,(0,e.__assign)({},O.keyboardMoveIconProps)):rl.createElement(HS,{iconName:"move",className:ve.keyboardMoveIcon})),rl.createElement("div",{ref:be,className:ve.scrollableContent,"data-is-scrollable":!0},O&&le&&rl.createElement(O.menu,{items:[{key:"move",text:O.moveMenuItemText,onClick:function(){var e=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===hf)return e.preventDefault(),void e.stopPropagation();var t=e.altKey||e.keyCode===pf;if(le&&t&&pe(),!he.isInKeyboardMoveMode||e.keyCode!==pf&&e.keyCode!==uf||(he.isInKeyboardMoveMode=!1,e.preventDefault(),e.stopPropagation()),he.isInKeyboardMoveMode){var n=!0,r=function(e){var t=10;return e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1),t}(e);switch(e.keyCode){case pf:oe(he.lastSetCoordinates);case uf:he.lastSetCoordinates=bF;break;case bf:oe((function(e){return{x:e.x,y:Ce("y",e.y-r)}}));break;case Cf:oe((function(e){return{x:e.x,y:Ce("y",e.y+r)}}));break;case yf:oe((function(e){return{x:Ce("x",e.x-r),y:e.y}}));break;case _f:oe((function(e){return{x:Ce("x",e.x+r),y:e.y}}));break;default:n=!1}n&&(e.preventDefault(),e.stopPropagation())}};he.lastSetCoordinates=re,pe(),he.isInKeyboardMoveMode=!0,he.events.on(G,"keydown",e,!0),he.disposeOnKeyDown=function(){he.events.off(G,"keydown",e,!0),he.disposeOnKeyDown=void 0}}},{key:"close",text:O.closeMenuItemText,onClick:we}],onDismiss:pe,alignTargetEdge:!0,coverTarget:!0,directionalHint:K_,directionalHintFixed:!0,shouldFocusOnMount:!0,target:he.scrollableContent}),d));return J&&q>=(M||Ak.small)&&rl.createElement(Ax,(0,e.__assign)({ref:j},ye),rl.createElement(qE,{role:me?"alertdialog":"dialog",ariaLabelledBy:I,ariaDescribedBy:P,onDismiss:x,shouldRestoreFocus:!b,enableAriaHiddenSiblings:B,"aria-modal":!L},rl.createElement("div",{className:ve.root,role:L?void 0:"document"},!L&&rl.createElement(hF,(0,e.__assign)({"aria-hidden":!0,isDarkThemed:E,onClick:_?void 0:x,allowTouchBodyScroll:l},k)),O?rl.createElement(vF,{handleSelector:O.dragHandleSelector||"#"+W,preventDragSelector:"button",onStart:Ee,onDragChange:xe,onStop:Se,position:re},ke):ke)))||null}));wF.displayName="Modal";var EF=ib(wF,(function(e){var t,n=e.className,r=e.containerClassName,o=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=e.windowInnerHeight,m=l.palette,g=l.effects,v=l.fonts,y=og(lF,l);return{root:[y.root,v.medium,{backgroundColor:"transparent",position:"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+cF},u&&"number"===typeof c&&s&&{alignItems:"flex-start"},i&&y.isOpen,a&&{opacity:1},a&&!d&&{pointerEvents:"auto"},n],main:[y.main,{boxShadow:g.elevation64,borderRadius:g.roundedCorner2,backgroundColor:m.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?Ym.Layer:void 0},d&&{pointerEvents:"auto"},u&&"number"===typeof c&&s&&{top:c},h&&{cursor:"move"},r],scrollableContent:[y.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:f},t)},o],layer:d&&[p,y.layer,{pointerEvents:"none"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:v.xLargePlus.fontSize,width:"24px"}}}),void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]});EF.displayName="Modal";var xF,SF=pb(),kF=function(t){function n(e){var n=t.call(this,e)||this;return v_(n),n}return(0,e.__extends)(n,t),n.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,r=e.theme;return this._classNames=SF(n,{theme:r,className:t}),rl.createElement("div",{className:this._classNames.actions},rl.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},n.prototype._renderChildrenAsActions=function(){var e=this;return rl.Children.map(this.props.children,(function(t){return t?rl.createElement("span",{className:e._classNames.action},t):null}))},n}(rl.Component),TF={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},IF=ib(kF,(function(e){var t=e.className,n=e.theme,r=og(TF,n);return{actions:[r.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal"}}},t],action:[r.action,{margin:"0 4px"}],actionsRight:[r.actionsRight,{textAlign:"right",marginRight:"-4px",fontSize:"0"}]}}),void 0,{scope:"DialogFooter"}),AF={width:"100%",maxWidth:"100%",minWidth:"100%",height:"100%",maxHeight:"100%",minHeight:"100%",borderRadius:"0px"},PF={main:(xF={},xF[bC]=(0,e.__assign)({},AF),xF[yC]=(0,e.__assign)({},AF),xF)},DF=function(e){if("smallAndMedium"===e.fullScreenViewports)return PF},RF={padding:"24px",smallScreenPadding:"16px",removeBodyBottomPadding:!1},MF={headerLeftRightPadding:"24px",withHeaderHorizontalLine:!1},NF={isStickyFooterWithText:!1,hasFooterBackground:!1,hasFooterHorizontalLine:!1},LF=function(e){return Xh({backgroundColor:e.palette.neutralHigh})},OF=function(e,t){var n,r;return void 0===t&&(t=MF),Xh([null===(r=e.fonts)||void 0===r?void 0:r.xLarge,{color:e.semanticColors.bodyText,fontWeight:Bm.semibold,padding:t.withHeaderHorizontalLine?"16px ".concat(t.headerLeftRightPadding," 16px"):"16px ".concat(t.headerLeftRightPadding," 0"),borderBottom:t.withHeaderHorizontalLine?"1px solid ".concat(e.palette.neutralLighterAlt):void 0,selectors:(n={},n[yC]={padding:"16px"},n)}])},FF=function(e,t){return void 0===t&&(t=!1),{root:{color:e.palette.neutralPrimary,marginLeft:t?"-8px":"auto",marginRight:t?"auto":"-8px"},rootHovered:{color:e.palette.neutralDark}}},BF={itemProgress:{padding:0}},HF="dialogBody",zF=function(e,t){var n,r,o;if(!e)return{root:{height:"100%"}};var i=t?"auto":"60vh";return{root:(n={},n[e.forceStickyOnSmallScreens?CC:wC]={maxHeight:null!==(r=e.bodyMaxHeight)&&void 0!==r?r:i,minHeight:null!==(o=e.bodyMinHeight)&&void 0!==o?o:"auto",height:"100%",overflowY:"auto",outline:"none"},n)}},UF=function(e){var t;return tv({main:(t={},t[e.forceStickyOnSmallScreens?CC:wC]={display:"flex",flexDirection:"column",overflowY:"hidden"},t)})},VF=function(e,t,n,r,o,i){var a,s=t?"".concat(t.height).concat(t.unit):void 0,c=n?parseInt(n,10):0;return tv({main:(a={backgroundColor:e.palette.neutralHigh,borderRadius:o,maxWidth:n||"480px",minWidth:n||"auto",height:s,top:0},a[_C]={maxWidth:n?uC.l>c?n:"96%":"480px",minWidth:n?uC.l>c?n:"96%":"auto"},a[bC]={margin:"16px",maxWidth:n&&uC.m>c?n:"96%",minWidth:n?uC.m>c?n:"96%":"auto",minHeight:t?"92%":void 0},a[yC]={margin:"8px",maxWidth:"96%",minWidth:"96%",minHeight:t?"96%":void 0},a),scrollableContent:{display:"flex",flexDirection:"column",maxHeight:"100%",height:"100%",minWidth:"288px",position:"relative"},root:void 0,layer:void 0,keyboardMoveIconContainer:void 0,keyboardMoveIcon:void 0},r,i?DF(i):void 0)},jF=function(t){var n,r,o=t.isFooterDisabled,i=t.richTextProps,a=t.textAlignment,s=void 0===a?"left":a,c=t.removeMarginTop,l=t.hasFullWidthButtons,u=(t.hasFooterBackground,(0,e.__rest)(t,["isFooterDisabled","richTextProps","textAlignment","removeMarginTop","hasFullWidthButtons","hasFooterBackground"]));if("secondary"===u.dialogType)r=[u.buttonLeft&&ol().createElement(DT,(0,e.__assign)({},u.buttonLeft,{disabled:o||u.buttonLeft.disabled,key:1})),ol().createElement(DT,(0,e.__assign)({},u.buttonRight,{disabled:o||u.buttonRight.disabled,key:0}))];else{var d=o||u.buttonPrimary.disabled,p=o||(null===(n=u.buttonSecondary)||void 0===n?void 0:n.disabled);r="flow"===u.dialogType?[ol().createElement(DT,(0,e.__assign)({},u.buttonSecondary,{disabled:p,key:0})),ol().createElement(DT,(0,e.__assign)({},u.buttonPrimary,{disabled:d,type:"primary",key:1}))]:[ol().createElement(DT,(0,e.__assign)({},u.buttonPrimary,{disabled:d,type:"primary",key:0})),u.buttonSecondary&&ol().createElement(DT,(0,e.__assign)({},u.buttonSecondary,{disabled:p,key:1}))]}var h=l?"0px":void 0,f=l?"0px":void 0,m=c?"0px":void 0,g=l?"flex":void 0,v=l?"column":void 0;return ol().createElement(jw,{textAlignment:s,padding:i&&"12px 0 0 0",childrenGap:12},i&&ol().createElement(Qx,(0,e.__assign)({},i)),ol().createElement(IF,{styles:{actions:{marginTop:m,marginLeft:h,display:g,flexDirection:v},actionsRight:{marginRight:f,display:"flex",flexDirection:v,justifyContent:"flex-end"},action:{marginLeft:h,marginRight:f,display:g,flexDirection:v}}},r))},qF=function(t){var n=t.operationData,r=t.footerProps,o=function(e,t){var n;return void 0===t&&(t=NF),tv({footer:{padding:"0 24px 24px 24px",borderTop:t.isStickyFooterWithText||t.hasFooterHorizontalLine?"1px solid ".concat(e.palette.neutralLighterAlt):"none",backgroundColor:t.isStickyFooterWithText||t.hasFooterBackground?e.palette.neutralMed:"transparent",selectors:(n={},n[yC]={padding:"0 16px 16px 16px"},n)}})}(rb(),{isStickyFooterWithText:!!(null===r||void 0===r?void 0:r.richTextProps),hasFooterBackground:null===r||void 0===r?void 0:r.hasFooterBackground,hasFooterHorizontalLine:null===r||void 0===r?void 0:r.hasFooterHorizontalLine}).footer,i=function(t){return ol().createElement(ol().Fragment,null,t&&ol().createElement(jv,{className:o},ol().createElement(jF,(0,e.__assign)({},t))))},a=i(r),s=r?(0,e.__assign)({isFooterDisabled:!0},r):void 0;if(n){var c=i(n.progressDialogProps?n.progressDialogProps.dialogFooterProps:s),l=function(e){return i(e.dialogFooterProps)};return ol().createElement(oh,{operationData:n.progressViewOperationData,inertView:a,firstLoadView:c,updatingView:c,updateFailedView:l(n.errorDialogProps),finishedView:n.successDialogProps?l(n.successDialogProps):a,failedView:l(n.errorDialogProps)})}return a},WF="SearchBox",GF={root:{height:"auto"},icon:{fontSize:"12px"}},KF={iconName:"Clear"},YF={ariaLabel:"Clear text"},QF=pb(),XF=rl.forwardRef((function(t,n){var r=t.ariaLabel,o=t.className,i=t.defaultValue,a=void 0===i?"":i,s=t.disabled,c=t.underlined,l=t.styles,u=t.labelText,d=t.placeholder,p=void 0===d?u:d,h=t.theme,f=t.clearButtonProps,m=void 0===f?YF:f,g=t.disableAnimation,v=void 0!==g&&g,y=t.showIcon,b=void 0!==y&&y,_=t.onClear,C=t.onBlur,w=t.onEscape,E=t.onSearch,x=t.onKeyDown,S=t.iconProps,k=t.role,T=t.onChange,I=t.onChanged,A=rl.useState(!1),P=A[0],D=A[1],R=rl.useRef(),M=SI(t.value,a,(function(e,t){e&&e.timeStamp===R.current||(R.current=null===e||void 0===e?void 0:e.timeStamp,null===T||void 0===T||T(e,t),null===I||void 0===I||I(t))})),N=M[0],L=M[1],O=String(N),F=rl.useRef(null),B=rl.useRef(null),H=Ay(F,n),z=Ik(WF,t.id),U=m.onClick,V=QF(l,{theme:h,className:o,underlined:c,hasFocus:P,disabled:s,hasInput:O.length>0,disableAnimation:v,showIcon:b}),j=Nv(t,_v,["className","placeholder","onFocus","onBlur","value","role"]),q=rl.useCallback((function(e){var t;null===_||void 0===_||_(e),e.defaultPrevented||(L(""),null===(t=B.current)||void 0===t||t.focus(),e.stopPropagation(),e.preventDefault())}),[_,L]),W=rl.useCallback((function(e){null===U||void 0===U||U(e),e.defaultPrevented||q(e)}),[U,q]),G=rl.useCallback((function(e){D(!1),null===C||void 0===C||C(e)}),[C]),K=function(e){L(e.target.value,e)};return function(e,t,n){rl.useImperativeHandle(e,(function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()},hasFocus:function(){return n}}}),[t,n])}(t.componentRef,B,P),rl.createElement("div",{role:k,ref:H,className:V.root,onFocusCapture:function(e){var n;D(!0),null===(n=t.onFocus)||void 0===n||n.call(t,e)}},rl.createElement("div",{className:V.iconContainer,onClick:function(){B.current&&(B.current.focus(),B.current.selectionStart=B.current.selectionEnd=0)},"aria-hidden":!0},rl.createElement(HS,(0,e.__assign)({iconName:"Search"},S,{className:V.icon}))),rl.createElement("input",(0,e.__assign)({},j,{id:z,className:V.field,placeholder:p,onChange:K,onInput:K,onBlur:G,onKeyDown:function(e){switch(e.which){case pf:null===w||void 0===w||w(e),O&&!e.defaultPrevented&&q(e);break;case uf:E&&(E(O),e.preventDefault(),e.stopPropagation());break;default:null===x||void 0===x||x(e),e.defaultPrevented&&e.stopPropagation()}},value:O,disabled:s,role:"searchbox","aria-label":r,ref:B})),O.length>0&&rl.createElement("div",{className:V.clearButton},rl.createElement(bT,(0,e.__assign)({onBlur:G,styles:GF,iconProps:KF},m,{onClick:W}))))}));XF.displayName=WF;var JF={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"};var $F,ZF=ib(XF,(function(e){var t,n,r,o,i,a=e.theme,s=e.underlined,c=e.disabled,l=e.hasFocus,u=e.className,d=e.hasInput,p=e.disableAnimation,h=e.showIcon,f=a.palette,m=a.fonts,g=a.semanticColors,v=a.effects,y=og(JF,a),b={color:g.inputPlaceholderText,opacity:1},_=f.neutralSecondary,C=f.neutralPrimary,w=f.neutralLighter,E=f.neutralLighter,x=f.neutralLighter;return{root:[y.root,m.medium,Ug,{color:g.inputText,backgroundColor:g.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:v.roundedCorner2,border:"1px solid "+g.inputBorder,height:32,selectors:(t={},t[Wm]={borderColor:"WindowText"},t[":hover"]={borderColor:g.inputBorderHovered,selectors:(n={},n[Wm]={borderColor:"Highlight"},n)},t[":hover ."+y.iconContainer]={color:g.inputIconHovered},t)},!l&&d&&{selectors:(r={},r[":hover ."+y.iconContainer]={width:4},r[":hover ."+y.icon]={opacity:0,pointerEvents:"none"},r)},l&&["is-active",{position:"relative"},tg(g.inputFocusBorderAlt,s?0:v.roundedCorner2,s?"borderBottom":"border")],h&&[{selectors:(o={},o[":hover ."+y.iconContainer]={width:32},o[":hover ."+y.icon]={opacity:1},o)}],c&&["is-disabled",{borderColor:w,backgroundColor:x,pointerEvents:"none",cursor:"default",selectors:(i={},i[Wm]={borderColor:"GrayText"},i)}],s&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],s&&c&&{backgroundColor:"transparent"},d&&"can-clear",u],iconContainer:[y.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:g.inputIcon,cursor:"text"},l&&{width:4},c&&{color:g.inputIconDisabled},!p&&{transition:"width "+Sm},h&&l&&{width:32}],icon:[y.icon,{opacity:1},l&&{opacity:0,pointerEvents:"none"},!p&&{transition:"opacity "+Sm+" 0s"},h&&l&&{opacity:1}],clearButton:[y.clearButton,{display:"flex",flexDirection:"row",alignItems:"stretch",cursor:"pointer",flexBasis:"32px",flexShrink:0,padding:0,margin:"-1px 0px",selectors:{"&:hover .ms-Button":{backgroundColor:E},"&:hover .ms-Button-icon":{color:C},".ms-Button":{borderRadius:Pf(a)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:_}}}],field:[y.field,Ug,jg(b),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:g.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},c&&{color:g.disabledText}]}}),void 0,{scope:"SearchBox"}),eB=function(t){var n=t["aria-label"],r=(0,e.__rest)(t,["aria-label"]);qv("SearchBox",r.id);var o=function(e){return{root:{backgroundColor:sw(e,"neutralHigh")}}}(rb());return W_("SearchBox",r),ol().createElement(ZF,(0,e.__assign)({ariaLabel:n,styles:r.disabled?void 0:o},r))},tB=function(t){var n=t.title,r=t.titleAriaId,o=t.searchBoxProps,i=t.subtitle,a=t.closeButton,s=t.backButton,c=t.headerLeftRightPadding,l=t.headingTag,u=void 0===l?"h1":l,d=t.operationData,p=t.withHeaderHorizontalLine,h=rb(),f=OF(h,{headerLeftRightPadding:c||"24px",withHeaderHorizontalLine:p}),m=o?6:i?8:0,g=function(t){var n=ol().createElement(ol().Fragment,null);return t||a?(t&&(n="string"===typeof t?ol().createElement(Gx,{type:"heading",tag:u,variant:"paneHeader",id:r,lines:2},t):"src"in t?ol().createElement(sI,(0,e.__assign)({},t,{id:r,height:24})):ol().createElement(jv,{horizontal:!0,tokens:{childrenGap:"8px"}},ol().createElement(sI,(0,e.__assign)({},t.image,{id:r,height:24})),ol().createElement(Gx,{type:"heading",tag:u,variant:"paneHeader",lines:2},t.text))),ol().createElement(jv,{className:f,tokens:{childrenGap:m}},ol().createElement(jv,{horizontal:!0,horizontalAlign:"space-between",styles:{root:{minHeight:"32px"}}},s?ol().createElement(jv,{horizontal:!0,horizontalAlign:"start",tokens:{childrenGap:"16px"}},ol().createElement(bT,(0,e.__assign)({styles:FF(h,!0),iconProps:{iconName:"Back"}},s,{ariaLabel:s["aria-label"]})),n):n,a&&ol().createElement("div",{style:{width:"24px",flexShrink:0}})),ol().createElement(jv,{tokens:{childrenGap:16}},o&&ol().createElement(eB,(0,e.__assign)({},o)),i&&ol().createElement(Qx,(0,e.__assign)({},i))))):n},v=g(n);if(d){var y=ol().createElement(ol().Fragment,null,ol().createElement("div",{style:{position:"absolute",width:"100%",zIndex:1},"aria-hidden":!0},ol().createElement(BC,{styles:BF})),d.progressDialogTitle?g(d.progressDialogTitle):v),b=g(d.errorDialogTitle);return ol().createElement(oh,{operationData:d.progressViewOperationData,inertView:v,firstLoadView:y,updatingView:y,updateFailedView:b,finishedView:ol().createElement(ol().Fragment,null,d.successDialogTitle?g(d.successDialogTitle):v),failedView:b})}return v},nB=function(t){var n=t.closeButton,r=t.onCloseButtonClicked,o=t.headerLeftRightPadding,i=void 0===o?"24px":o,a=rb(),s=OF(a,{headerLeftRightPadding:i,withHeaderHorizontalLine:!1});return n?ol().createElement(jv,{className:s,styles:{root:{position:"absolute",top:0,right:0}}},ol().createElement(bT,(0,e.__assign)({styles:FF(a),iconProps:{iconName:"Cancel"},onClick:function(e){r&&e&&r(e)}},n,{ariaLabel:n["aria-label"]}))):null},rB=function(e){var t=e.subText,n=e.operationData,r=function(){var e;return Xh({marginBottom:"24px",selectors:(e={},e[yC]={marginBottom:"16px"},e)})}(),o=function(e){return e?ol().createElement(jv,{className:r},ol().createElement(Jw,{variant:"bodyPrimaryText"},e)):ol().createElement(ol().Fragment,null)},i=o(t),a=(null===n||void 0===n?void 0:n.progressSubText)?o(n.progressSubText):i;if(n){var s=o(n.errorSubText);return ol().createElement(oh,{operationData:n.progressViewOperationData,inertView:i,firstLoadView:i,updatingView:a,updateFailedView:s,finishedView:n.successSubText?o(n.successSubText):i,failedView:s})}return i},oB=function(t){t.isBlocking;var n,r,o,i,a,s=t.showOverlay,c=void 0===s||s,l=t.headerLeftRightPadding,u=t.headingTag,d=t.withHeaderHorizontalLine,p=t.dialogStylesTemp,h=t.bodyStyleTemp,f=t.topOffsetFixed,m=void 0!==f&&f,g=t.minBodyHeight,v=t.staticBodyWidth,y=t.isOpen,b=void 0!==y&&y,_=t.isModeless,C=void 0!==_&&_,w=t.onDismiss,E=t.onDismissed,x=t.title,S=t.searchBoxProps,k=t.subtitle,T=t.subText,I=t.contentId,A=t.closeButton,P=t.backButton,D=t.dialogFooterProps,R=t.operationData,M=t.stickyHeaderFooter,N=t.removeBodyBottomPadding,L=t.borderRadius,O=void 0===L?"8px":L,F=t.hostId,B=t.fullScreenMode,H=t.children,z=(0,e.__rest)(t,["isBlocking","showOverlay","headerLeftRightPadding","headingTag","withHeaderHorizontalLine","dialogStylesTemp","bodyStyleTemp","topOffsetFixed","minBodyHeight","staticBodyWidth","isOpen","isModeless","onDismiss","onDismissed","title","searchBoxProps","subtitle","subText","contentId","closeButton","backButton","dialogFooterProps","operationData","stickyHeaderFooter","removeBodyBottomPadding","borderRadius","hostId","fullScreenMode","children"]);qv("Dialog",z.id),W_("Dialog",z);var U=(0,rl.useRef)(document.activeElement);(0,rl.useEffect)((function(){return null===M||void 0===M||M.bodyMinHeight,function(){U.current&&U.current.focus()}}),[null===M||void 0===M?void 0:M.bodyMinHeight]);var V=Ik("twoui"),j=rb(),q=function(e){var t;return void 0===e&&(e=RF),Xh({padding:e.padding,paddingBottom:e.removeBodyBottomPadding?0:void 0,selectors:(t={},t[yC]={padding:e.smallScreenPadding,paddingBottom:e.removeBodyBottomPadding?0:void 0},t)})}({padding:h?h.padding:RF.padding,smallScreenPadding:h?h.smallScreenPadding:RF.smallScreenPadding,removeBodyBottomPadding:N}),W={isBlocking:!1,styles:VF(j,g,v,p,O,B),topOffsetFixed:m,isOpen:b,onDismiss:w,onDismissed:E,isModeless:C,overlay:{styles:{root:{opacity:c?void 0:0}},onClick:void 0},isClickableOutsideFocusTrap:!1,titleAriaId:V,containerClassName:M?UF(M).main:LF(j),layerProps:{eventBubblingEnabled:!0,hostId:F},allowTouchBodyScroll:!0,firstFocusableSelector:(null===M||void 0===M?void 0:M.firstFocusOnContent)?HF:void 0},G=function(e){w&&e&&w(e)};return ol().createElement(EF,(0,e.__assign)({},W),ol().createElement(SA,{announcedComponent:CA},ol().createElement(tB,{title:x,titleAriaId:V,searchBoxProps:S,subtitle:k,closeButton:A,backButton:P,headerLeftRightPadding:l,headingTag:u,withHeaderHorizontalLine:d,operationData:R?{progressViewOperationData:R.progressViewOperationData,errorDialogTitle:null===(n=R.errorDialogProps)||void 0===n?void 0:n.title,successDialogTitle:null===(r=R.successDialogProps)||void 0===r?void 0:r.title,progressDialogTitle:null===(o=R.progressDialogProps)||void 0===o?void 0:o.title}:void 0,onCloseButtonClicked:G}),ol().createElement(jv,{id:I,className:(null===M||void 0===M?void 0:M.firstFocusOnContent)?"".concat(q," ").concat(HF):q,styles:zF(M,g),tabIndex:(null===M||void 0===M?void 0:M.firstFocusOnContent)?-1:void 0},ol().createElement(rB,{subText:T,operationData:R?{progressViewOperationData:R.progressViewOperationData,errorSubText:R.errorDialogProps.subText,successSubText:null===(i=R.successDialogProps)||void 0===i?void 0:i.subText,progressSubText:null===(a=R.progressDialogProps)||void 0===a?void 0:a.subText}:void 0}),H),ol().createElement(qF,{operationData:R,footerProps:D}),ol().createElement(nB,{closeButton:A,onCloseButtonClicked:G,headerLeftRightPadding:l})))},iB=ol().createContext({openDialog:function(e,t){return vl()},closeDialog:function(e){},switchToDialog:function(e,t){return vl()}}),aB=function(t,n){switch(n.type){case"closeDialog":return!n.id&&t.length>0?t.slice(1):t.filter((function(e){return e.id!==n.id}));case"openDialog":return(0,e.__spreadArray)([{id:n.id,controlledDialog:n.dialog}],t.filter((function(e){return e.id!==n.id})),!0);default:return t}},sB=function(e){var t=e.children,n=(0,rl.useReducer)(aB,[]),r=n[0],o=n[1],i=(0,rl.useMemo)((function(){var e=function(e,t){var n=t;return n||(n=vl()),o({type:"openDialog",dialog:e,id:n}),n},t=function(e){o({type:"closeDialog",id:e})};return{openDialog:e,closeDialog:t,switchToDialog:function(n,r){return t(),e(n,r)}}}),[o]),a=r.map((function(e){return ol().createElement("div",{key:e.id},e.controlledDialog)}));return ol().createElement(iB.Provider,{value:i},t,a)},cB=function(){return(0,rl.useContext)(iB)},lB=function(e){var t=e.backgroundColor,n=void 0===t?"neutralHigh":t,r=e.anchor,o=void 0===r?"right":r,i=e.numberOfTitleLines,a=void 0===i?2:i,s=e.borderRadius,c=void 0===s?"4px":s,l=e.shadow,u=void 0!==l&&l,d=e.showDivider,p=void 0!==d&&d,h=rb(),f=AC(),m=!("s"===f||"m"===f),g="right"!==o&&m?"space-between":"end";return ol().createElement(jv,{styles:RC(h,c,u,p)},ol().createElement(Uw,{totalSlots:12,backgroundColor:n},ol().createElement(zw,{slots:6},ol().createElement(jw,{horizontal:!0,height:49,verticalAlign:"center"},ol().createElement(qw,{padding:"22px 14px 22px 22px",key:"1"},ol().createElement(EI,{height:24,width:24})),ol().createElement(jw,{horizontalAlign:"start"},ol().createElement(qw,{padding:"4px",key:"2"},ol().createElement(EI,{height:12,width:153})),2===a&&ol().createElement(qw,{padding:"4px",key:"3"},ol().createElement(EI,{height:8,width:153}))))),ol().createElement(zw,{slots:6},ol().createElement(jw,{horizontal:!0,height:49,verticalAlign:"center",horizontalAlign:g},m&&ol().createElement(qw,{padding:"21px",key:"1"},ol().createElement(EI,{height:8,width:127})),ol().createElement(qw,{padding:"3px 19px 3px 3px",key:"2"},ol().createElement(EI,{height:12,width:12}))))))};!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.SelectAll=3]="SelectAll"}($F||($F={}));var uB,dB=vT,pB=function(){function t(){this._size=0}return t.prototype.updateOptions=function(t){for(var n=[],r=[],o=0,i=0;i<t.length;i++){var a=t[i],s=a.itemType,c=a.hidden;s===$F.Divider||s===$F.Header?(n.push(i),r.push(i)):c?r.push(i):o++}this._size=o,this._displayOnlyOptionsCache=n,this._notSelectableOptionsCache=r,this._cachedOptions=(0,e.__spreadArray)([],t)},Object.defineProperty(t.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cachedOptions",{get:function(){return this._cachedOptions},enumerable:!1,configurable:!0}),t.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._notSelectableOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index "+e+" is not a selectable element.");if(this._notSelectableOptionsCache[t]!==e)return e-t+1}},t}();!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"}(uB||(uB={}));var hB,fB=pb();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(hB||(hB={}));var mB,gB,vB,yB,bB,_B=function(t){function n(n){var r=t.call(this,n)||this;r._panel=rl.createRef(),r._animationCallback=null,r._hasCustomNavigation=!(!r.props.onRenderNavigation&&!r.props.onRenderNavigationContent),r.dismiss=function(e){r.props.onDismiss&&r.isActive&&r.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&r.close()},r._allowScrollOnPanel=function(e){e?r._allowTouchBodyScroll?k_(e,r._events):S_(e,r._events):r._events.off(r._scrollableContent),r._scrollableContent=e},r._onRenderNavigation=function(e){if(!r.props.onRenderNavigationContent&&!r.props.onRenderNavigation&&!r.props.hasCloseButton)return null;var t=r.props.onRenderNavigationContent,n=void 0===t?r._onRenderNavigationContent:t;return rl.createElement("div",{className:r._classNames.navigation},n(e,r._onRenderNavigationContent))},r._onRenderNavigationContent=function(e){var t,n=e.closeButtonAriaLabel,o=e.hasCloseButton,i=e.onRenderHeader,a=void 0===i?r._onRenderHeader:i;if(o){var s=null===(t=r._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return rl.createElement(rl.Fragment,null,!r._hasCustomNavigation&&a(r.props,r._onRenderHeader,r._headerTextId),rl.createElement(bT,{styles:s,className:r._classNames.closeButton,onClick:r._onPanelClick,ariaLabel:n,title:n,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},r._onRenderHeader=function(t,n,o){var i=t.headerText,a=t.headerTextProps,s=void 0===a?{}:a;return i?rl.createElement("div",{className:r._classNames.header},rl.createElement("div",(0,e.__assign)({id:o,role:"heading","aria-level":1},s,{className:Wv(r._classNames.headerText,s.className)}),i)):null},r._onRenderBody=function(e){return rl.createElement("div",{className:r._classNames.content},e.children)},r._onRenderFooter=function(e){var t=r.props.onRenderFooterContent,n=void 0===t?null:t;return n?rl.createElement("div",{className:r._classNames.footer},rl.createElement("div",{className:r._classNames.footerInner},n())):null},r._animateTo=function(e){e===hB.open&&r.props.onOpen&&r.props.onOpen(),r._animationCallback=r._async.setTimeout((function(){r.setState({visibility:e}),r._onTransitionComplete()}),200)},r._clearExistingAnimationTimer=function(){null!==r._animationCallback&&r._async.clearTimeout(r._animationCallback)},r._onPanelClick=function(e){r.dismiss(e)},r._onTransitionComplete=function(){r._updateFooterPosition(),r.state.visibility===hB.open&&r.props.onOpened&&r.props.onOpened(),r.state.visibility===hB.closed&&r.props.onDismissed&&r.props.onDismissed()};var o=r.props.allowTouchBodyScroll,i=void 0!==o&&o;return r._allowTouchBodyScroll=i,r._async=new tE(r),r._events=new bS(r),v_(r),r.state={isFooterSticky:!1,visibility:hB.closed,id:ey("Panel")},r}return(0,e.__extends)(n,t),n.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==hB.closed&&t.visibility!==hB.animatingClosed?e.isOpen||t.visibility!==hB.open&&t.visibility!==hB.animatingOpen?null:{visibility:hB.animatingClosed}:{visibility:hB.animatingOpen}},n.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:hB.animatingOpen})},n.prototype.componentDidUpdate=function(e,t){var n=this._shouldListenForOuterClick(this.props),r=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===hB.animatingOpen?this._animateTo(hB.open):this.state.visibility===hB.animatingClosed&&this._animateTo(hB.closed)),n&&!r?this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0):!n&&r&&this._events.off(document.body,"mousedown",this._dismissOnOuterClick,!0)},n.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},n.prototype.render=function(){var t=this.props,n=t.className,r=void 0===n?"":n,o=t.elementToFocusOnDismiss,i=t.firstFocusableSelector,a=t.focusTrapZoneProps,s=t.forceFocusInsideTrap,c=t.hasCloseButton,l=t.headerText,u=t.headerClassName,d=void 0===u?"":u,p=t.ignoreExternalFocusing,h=t.isBlocking,f=t.isFooterAtBottom,m=t.isLightDismiss,g=t.isHiddenOnDismiss,v=t.layerProps,y=t.overlayProps,b=t.popupProps,_=t.type,C=t.styles,w=t.theme,E=t.customWidth,x=t.onLightDismissClick,S=void 0===x?this._onPanelClick:x,k=t.onRenderNavigation,T=void 0===k?this._onRenderNavigation:k,I=t.onRenderHeader,A=void 0===I?this._onRenderHeader:I,P=t.onRenderBody,D=void 0===P?this._onRenderBody:P,R=t.onRenderFooter,M=void 0===R?this._onRenderFooter:R,N=this.state,L=N.isFooterSticky,O=N.visibility,F=N.id,B=_===uB.smallFixedNear||_===uB.customNear,H=Pf(w)?B:!B,z=_===uB.custom||_===uB.customNear?{width:E}:{},U=Nv(this.props,Mv),V=this.isActive,j=O===hB.animatingClosed||O===hB.animatingOpen;if(this._headerTextId=l&&F+"-headerText",!V&&!j&&!g)return null;this._classNames=fB(C,{theme:w,className:r,focusTrapZoneClassName:a?a.className:void 0,hasCloseButton:c,headerClassName:d,isAnimating:j,isFooterSticky:L,isFooterAtBottom:f,isOnRightSide:H,isOpen:V,isHiddenOnDismiss:g,type:_,hasCustomNavigation:this._hasCustomNavigation});var q,W=this._classNames,G=this._allowTouchBodyScroll;return h&&V&&(q=rl.createElement(hF,(0,e.__assign)({className:W.overlay,isDarkThemed:!1,onClick:m?S:void 0,allowTouchBodyScroll:G},y))),rl.createElement(Ax,(0,e.__assign)({},v),rl.createElement(qE,(0,e.__assign)({role:"dialog","aria-modal":h?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:W.hiddenPanel,enableAriaHiddenSiblings:!!V||void 0},b),rl.createElement("div",(0,e.__assign)({"aria-hidden":!V&&j},U,{ref:this._panel,className:W.root}),q,rl.createElement(sF,(0,e.__assign)({ignoreExternalFocusing:p,forceFocusInsideTrap:!(!h||g&&!V)&&s,firstFocusableSelector:i,isClickableOutsideFocusTrap:!0},a,{className:W.main,style:z,elementToFocusOnDismiss:o}),rl.createElement("div",{className:W.contentInner},rl.createElement("div",{ref:this._allowScrollOnPanel,className:W.scrollableContent,"data-is-scrollable":!0},rl.createElement("div",{className:W.commands,"data-is-visible":!0},T(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!c)&&A(this.props,this._onRenderHeader,this._headerTextId),D(this.props,this._onRenderBody),M(this.props,this._onRenderFooter)))))))},n.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:hB.animatingOpen}))},n.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:hB.animatingClosed})},Object.defineProperty(n.prototype,"isActive",{get:function(){return this.state.visibility===hB.open||this.state.visibility===hB.animatingOpen},enumerable:!1,configurable:!0}),n.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},n.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,n=e.scrollHeight;this.setState({isFooterSticky:t<n})}},n.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&(e_(t,e.target)||(this.props.onOuterClick?this.props.onOuterClick(e):this.dismiss(e)))},n.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:uB.smallFixedFar},n}(rl.Component),CB={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"},wB="100%",EB="auto",xB=272,SB=592,kB=644,TB=940,IB="auto",AB=0,PB=48,DB=428,RB=176,MB=((mB={})["@media (min-width: 480px)"]={width:340},mB),NB=((gB={})["@media (min-width: 640px)"]={width:SB},gB["@media (min-width: 1024px)"]={width:kB},gB),LB=((vB={})["@media (min-width: 768px)"]={left:PB,width:EB},vB["@media (min-width: 1366px)"]={left:DB},vB),OB=((yB={})["@media (min-width: 1366px)"]={left:IB,width:TB},yB),FB=((bB={})["@media (min-width: 1366px)"]={left:RB},bB),BB=function(t){var n;switch(t){case uB.smallFixedFar:n=(0,e.__assign)({},MB);break;case uB.medium:n=(0,e.__assign)((0,e.__assign)({},MB),NB);break;case uB.large:n=(0,e.__assign)((0,e.__assign)((0,e.__assign)({},MB),NB),LB);break;case uB.largeFixed:n=(0,e.__assign)((0,e.__assign)((0,e.__assign)((0,e.__assign)({},MB),NB),LB),OB);break;case uB.extraLarge:n=(0,e.__assign)((0,e.__assign)((0,e.__assign)((0,e.__assign)({},MB),NB),LB),FB)}return n},HB={paddingLeft:"24px",paddingRight:"24px"},zB=ib(_B,(function(t){var n,r,o,i,a=t.className,s=t.focusTrapZoneClassName,c=t.hasCloseButton,l=t.headerClassName,u=t.isAnimating,d=t.isFooterSticky,p=t.isFooterAtBottom,h=t.isOnRightSide,f=t.isOpen,m=t.isHiddenOnDismiss,g=t.hasCustomNavigation,v=t.theme,y=t.type,b=void 0===y?uB.smallFixedFar:y,_=v.effects,C=v.fonts,w=v.semanticColors,E=og(CB,v),x=b===uB.custom||b===uB.customNear;return{root:[E.root,v.fonts.medium,f&&E.isOpen,c&&E.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},x&&h&&E.custom,x&&!h&&E.customNear,a],overlay:[{pointerEvents:"auto",cursor:"pointer"},f&&u&&zm.fadeIn100,!f&&u&&zm.fadeOut100],hiddenPanel:[!f&&!u&&m&&{visibility:"hidden"}],main:[E.main,{backgroundColor:w.bodyBackground,boxShadow:_.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:IB,right:AB,width:wB,selectors:(0,e.__assign)((n={},n[Wm]={borderLeft:"3px solid "+w.variantBorder,borderRight:"3px solid "+w.variantBorder},n),BB(b))},b===uB.smallFluid&&{left:AB},b===uB.smallFixedNear&&{left:AB,right:IB,width:xB},b===uB.customNear&&{right:"auto",left:0},x&&{maxWidth:"100vw"},f&&u&&!h&&zm.slideRightIn40,f&&u&&h&&zm.slideLeftIn40,!f&&u&&!h&&zm.slideLeftOut40,!f&&u&&h&&zm.slideRightOut40,s],commands:[E.commands,{paddingTop:18,selectors:(r={},r["@media (min-height: 480px)"]={position:"sticky",top:0,zIndex:1},r)},g&&{paddingTop:"inherit"},d&&{backgroundColor:w.bodyBackground}],navigation:[E.navigation,{display:"flex",justifyContent:"flex-end"},g&&{height:"44px"}],contentInner:[E.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[E.header,HB,{alignSelf:"flex-start"},c&&!g&&{flexGrow:1},g&&{flexShrink:0}],headerText:[E.headerText,C.xLarge,{color:w.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},l],scrollableContent:[E.scrollableContent,{overflowY:"auto"},p&&{flexGrow:1,display:"inherit",flexDirection:"inherit"}],content:[E.content,HB,{paddingBottom:20},p&&{selectors:(o={},o["@media (min-height: 480px)"]={flexGrow:1},o)}],footer:[E.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity "+Tm+" "+xm,selectors:(i={},i["@media (min-height: 480px)"]={position:"sticky",bottom:0},i)},d&&{backgroundColor:w.bodyBackground,borderTopColor:w.variantBorder}],footerInner:[E.footerInner,HB,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[E.closeButton,{marginRight:14,color:v.palette.neutralSecondary,fontSize:Hm.large},g&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:v.palette.neutralPrimary}}}}}),void 0,{scope:"Panel"});function UB(e,t){for(var n=[],r=0,o=t;r<o.length;r++){var i=e[o[r]];i&&n.push(i)}return n}var VB=pb(),jB={options:[]};var qB=rl.forwardRef((function(t,n){var r=Iy(jB,t),o=rl.useRef(null),i=Ay(n,o),a=Ok(o,r.responsiveMode),s=function(e){var t,n=e.defaultSelectedKeys,r=e.selectedKeys,o=e.defaultSelectedKey,i=e.selectedKey,a=e.options,s=e.multiSelect,c=vk(a),l=rl.useState([]),u=l[0],d=l[1],p=a!==c,h=vk(t=s?p&&void 0!==n?n:r:p&&void 0!==o?o:i);return rl.useEffect((function(){var e=function(){return a.map((function(e,t){return e.selected?t:-1})).filter((function(e){return-1!==e}))},n=function(e){return Yb(a,(function(t){return null!=e?t.key===e:!!t.selected||!!t.isSelected}))};void 0===t&&c||t===h&&!p||d(function(){if(void 0===t)return s?e():-1!==(a=n(null))?[a]:[];if(!Array.isArray(t))return-1!==(a=n(t))?[a]:[];for(var r=[],o=0,i=t;o<i.length;o++){var a,c=i[o];-1!==(a=n(c))&&r.push(a)}return r}())}),[p,s,c,h,a,t]),[u,d]}(r),c=s[0],l=s[1];return rl.createElement(YB,(0,e.__assign)({},r,{responsiveMode:a,hoisted:{rootRef:i,selectedIndices:c,setSelectedIndices:l}}))}));qB.displayName="DropdownBase";var WB,GB,KB,YB=function(t){function n(n){var r=t.call(this,n)||this;r._host=rl.createRef(),r._focusZone=rl.createRef(),r._dropDown=rl.createRef(),r._scrollIdleDelay=250,r._sizePosCache=new pB,r._requestAnimationFrame=function(e){var t;return function(n){t||(t=new Set,g_(e,{componentWillUnmount:function(){t.forEach((function(e){return cancelAnimationFrame(e)}))}}));var r=requestAnimationFrame((function(){t.delete(r),n()}));t.add(r)}}(r),r.dismissMenu=function(){r.state.isOpen&&r.setState({isOpen:!1})},r._onChange=function(t,n,o,i,a){var s=r.props,c=s.onChange,l=s.onChanged;if(c||l){var u=a?(0,e.__assign)((0,e.__assign)({},n[o]),{selected:!i}):n[o];c&&c((0,e.__assign)((0,e.__assign)({},t),{target:r._dropDown.current}),u,o),l&&l(u,o)}},r._getPlaceholder=function(){return r.props.placeholder||r.props.placeHolder},r._getTitle=function(e,t){var n=r.props.multiSelectDelimiter,o=void 0===n?", ":n;return e.map((function(e){return e.text})).join(o)},r._onRenderTitle=function(e){return rl.createElement(rl.Fragment,null,r._getTitle(e))},r._onRenderPlaceholder=function(e){return r._getPlaceholder()?rl.createElement(rl.Fragment,null,r._getPlaceholder()):null},r._onRenderContainer=function(t){var n=t.calloutProps,o=t.panelProps,i=r.props,a=i.responsiveMode,s=i.dropdownWidth,c=a<=Ak.medium,l={firstFocusableTarget:"#"+r._listId+"1"},u=r._classNames.subComponentStyles?r._classNames.subComponentStyles.panel:void 0,d=void 0,p=void 0;return"auto"===s?p=r._dropDown.current?r._dropDown.current.clientWidth:0:d=s||(r._dropDown.current?r._dropDown.current.clientWidth:0),c?rl.createElement(zB,(0,e.__assign)({closeButtonAriaLabel:"Close",focusTrapZoneProps:l,hasCloseButton:!0,isOpen:!0,isLightDismiss:!0,onDismiss:r._onDismiss,styles:u},o),r._renderFocusableList(t)):rl.createElement(Px,(0,e.__assign)({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:J_,calloutWidth:d,calloutMinWidth:p},n,{className:r._classNames.callout,target:r._dropDown.current,onDismiss:r._onDismiss,onScroll:r._onScroll,onPositioned:r._onPositioned}),r._renderFocusableList(t))},r._onRenderCaretDown=function(e){return rl.createElement(HS,{className:r._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},r._onRenderList=function(t){var n=t.onRenderItem,o=void 0===n?r._onRenderItem:n,i={items:[]},a=[],s=function(){var t=i.id?[rl.createElement("div",{role:"group",key:i.id,"aria-labelledby":i.id},i.items)]:i.items;a=(0,e.__spreadArray)((0,e.__spreadArray)([],a),t),i={items:[]}};return t.options.forEach((function(t,n){!function(t,n){switch(t.itemType){case $F.Header:i.items.length>0&&s();var a=r._id+t.key;i.items.push(o((0,e.__assign)((0,e.__assign)({id:a},t),{index:n}),r._onRenderItem)),i.id=a;break;case $F.Divider:n>0&&i.items.push(o((0,e.__assign)((0,e.__assign)({},t),{index:n}),r._onRenderItem)),i.items.length>0&&s();break;default:i.items.push(o((0,e.__assign)((0,e.__assign)({},t),{index:n}),r._onRenderItem))}}(t,n)})),i.items.length>0&&s(),rl.createElement(rl.Fragment,null,a)},r._onRenderItem=function(e){switch(e.itemType){case $F.Divider:return r._renderSeparator(e);case $F.Header:return r._renderHeader(e);default:return r._renderOption(e)}},r._renderOption=function(t){var n=r.props,o=n.onRenderOption,i=void 0===o?r._onRenderOption:o,a=n.hoisted.selectedIndices,s=void 0===a?[]:a,c=!(void 0===t.index||!s)&&s.indexOf(t.index)>-1,l=t.hidden?r._classNames.dropdownItemHidden:c&&!0===t.disabled?r._classNames.dropdownItemSelectedAndDisabled:c?r._classNames.dropdownItemSelected:!0===t.disabled?r._classNames.dropdownItemDisabled:r._classNames.dropdownItem,u=t.title,d=r._classNames.subComponentStyles?r._classNames.subComponentStyles.multiSelectItem:void 0;return r.props.multiSelect?rl.createElement(cD,{id:r._listId+t.index,key:t.key,disabled:t.disabled,onChange:r._onItemClick(t),inputProps:(0,e.__assign)({"aria-selected":c,onMouseEnter:r._onItemMouseEnter.bind(r,t),onMouseLeave:r._onMouseItemLeave.bind(r,t),onMouseMove:r._onItemMouseMove.bind(r,t),role:"option"},{"data-index":t.index,"data-is-focusable":!(t.disabled||t.hidden)}),label:t.text,title:u,onRenderLabel:r._onRenderItemLabel.bind(r,t),className:Wv(l,"is-multi-select"),checked:c,styles:d,ariaPositionInSet:t.hidden?void 0:r._sizePosCache.positionInSet(t.index),ariaSetSize:t.hidden?void 0:r._sizePosCache.optionSetSize,ariaLabel:t.ariaLabel}):rl.createElement(dB,{id:r._listId+t.index,key:t.key,"data-index":t.index,"data-is-focusable":!t.disabled,disabled:t.disabled,className:l,onClick:r._onItemClick(t),onMouseEnter:r._onItemMouseEnter.bind(r,t),onMouseLeave:r._onMouseItemLeave.bind(r,t),onMouseMove:r._onItemMouseMove.bind(r,t),role:"option","aria-selected":c?"true":"false",ariaLabel:t.ariaLabel,title:u,"aria-posinset":r._sizePosCache.positionInSet(t.index),"aria-setsize":r._sizePosCache.optionSetSize},i(t,r._onRenderOption))},r._onRenderOption=function(e){return rl.createElement("span",{className:r._classNames.dropdownOptionText},e.text)},r._onRenderItemLabel=function(e){var t=r.props.onRenderOption;return(void 0===t?r._onRenderOption:t)(e,r._onRenderOption)},r._onPositioned=function(e){r._focusZone.current&&r._requestAnimationFrame((function(){var e=r.props.hoisted.selectedIndices;if(r._focusZone.current)if(!r._hasBeenPositioned&&e&&e[0]&&!r.props.options[e[0]].disabled){var t=xf().getElementById(r._id+"-list"+e[0]);t&&r._focusZone.current.focusElement(t),r._hasBeenPositioned=!0}else r._focusZone.current.focus()})),r.state.calloutRenderEdge&&r.state.calloutRenderEdge===e.targetEdge||r.setState({calloutRenderEdge:e.targetEdge})},r._onItemClick=function(e){return function(t){e.disabled||(r.setSelectedIndex(t,e.index),r.props.multiSelect||r.setState({isOpen:!1}))}},r._onScroll=function(){r._isScrollIdle||void 0===r._scrollIdleTimeoutId?r._isScrollIdle=!1:(clearTimeout(r._scrollIdleTimeoutId),r._scrollIdleTimeoutId=void 0),r._scrollIdleTimeoutId=window.setTimeout((function(){r._isScrollIdle=!0}),r._scrollIdleDelay)},r._onMouseItemLeave=function(e,t){if(!r._shouldIgnoreMouseEvent()&&r._host.current)if(r._host.current.setActive)try{r._host.current.setActive()}catch(Ple){}else r._host.current.focus()},r._onDismiss=function(){r.setState({isOpen:!1})},r._onDropdownBlur=function(e){r._isDisabled()||r.state.isOpen||(r.setState({hasFocus:!1}),r.props.onBlur&&r.props.onBlur(e))},r._onDropdownKeyDown=function(e){if(!r._isDisabled()&&(r._lastKeyDownWasAltOrMeta=r._isAltOrMeta(e),!r.props.onKeyDown||(r.props.onKeyDown(e),!e.defaultPrevented))){var t,n=r.props.hoisted.selectedIndices.length?r.props.hoisted.selectedIndices[0]:-1,o=e.altKey||e.metaKey,i=r.state.isOpen;switch(e.which){case uf:r.setState({isOpen:!i});break;case pf:if(!i)return;r.setState({isOpen:!1});break;case bf:if(o){if(i){r.setState({isOpen:!1});break}return}r.props.multiSelect?r.setState({isOpen:!0}):r._isDisabled()||(t=r._moveIndex(e,-1,n-1,n));break;case Cf:o&&(e.stopPropagation(),e.preventDefault()),o&&!i||r.props.multiSelect?r.setState({isOpen:!0}):r._isDisabled()||(t=r._moveIndex(e,1,n+1,n));break;case vf:r.props.multiSelect||(t=r._moveIndex(e,1,0,n));break;case gf:r.props.multiSelect||(t=r._moveIndex(e,-1,r.props.options.length-1,n));break;case hf:break;default:return}t!==n&&(e.stopPropagation(),e.preventDefault())}},r._onDropdownKeyUp=function(e){if(!r._isDisabled()){var t=r._shouldHandleKeyUp(e),n=r.state.isOpen;r.props.onKeyUp&&(r.props.onKeyUp(e),e.defaultPrevented)||(e.which===hf?(r.setState({isOpen:!n}),e.stopPropagation(),e.preventDefault()):t&&n&&r.setState({isOpen:!1}))}},r._onZoneKeyDown=function(e){var t,n,o;r._lastKeyDownWasAltOrMeta=r._isAltOrMeta(e);var i=e.altKey||e.metaKey;switch(e.which){case bf:i?r.setState({isOpen:!1}):r._host.current&&(o=n_(r._host.current,r._host.current.lastChild,!0));break;case vf:case gf:case ff:case mf:break;case Cf:!i&&r._host.current&&(o=t_(r._host.current,r._host.current.firstChild,!0));break;case pf:r.setState({isOpen:!1});break;case lf:r.setState({isOpen:!1});var a=xf();a&&(e.shiftKey?null===(t=o_(a.body,r._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(n=i_(a.body,r._dropDown.current,!1,!1,!0,!0))||void 0===n||n.focus());break;default:return}o&&o.focus(),e.stopPropagation(),e.preventDefault()},r._onZoneKeyUp=function(e){r._shouldHandleKeyUp(e)&&r.state.isOpen&&(r.setState({isOpen:!1}),e.preventDefault())},r._onDropdownClick=function(e){if(!r.props.onClick||(r.props.onClick(e),!e.defaultPrevented)){var t=r.state.isOpen;r._isDisabled()||r._shouldOpenOnFocus()||r.setState({isOpen:!t}),r._isFocusedByClick=!1}},r._onDropdownMouseDown=function(){r._isFocusedByClick=!0},r._onFocus=function(e){if(!r._isDisabled()){r.props.onFocus&&r.props.onFocus(e);var t={hasFocus:!0};r._shouldOpenOnFocus()&&(t.isOpen=!0),r.setState(t)}},r._isDisabled=function(){var e=r.props.disabled,t=r.props.isDisabled;return void 0===e&&(e=t),e},r._onRenderLabel=function(e){var t=e.label,n=e.required,o=e.disabled,i=r._classNames.subComponentStyles?r._classNames.subComponentStyles.label:void 0;return t?rl.createElement(Nw,{className:r._classNames.label,id:r._labelId,required:n,styles:i,disabled:o},t):null},v_(r);n.multiSelect,n.selectedKey,n.selectedKeys,n.defaultSelectedKey,n.defaultSelectedKeys;var o=n.options;return r._id=n.id||ey("Dropdown"),r._labelId=r._id+"-label",r._listId=r._id+"-list",r._optionId=r._id+"-option",r._isScrollIdle=!0,r._hasBeenPositioned=!1,r._sizePosCache.updateOptions(o),r.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},r}return(0,e.__extends)(n,t),Object.defineProperty(n.prototype,"selectedOptions",{get:function(){var e=this.props;return UB(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),n.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},n.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._hasBeenPositioned=!1,this.props.onDismiss&&this.props.onDismiss())},n.prototype.render=function(){var t=this._id,n=this.props,r=n.className,o=n.label,i=n.options,a=n.ariaLabel,s=n.required,c=n.errorMessage,l=n.styles,u=n.theme,d=n.panelProps,p=n.calloutProps,h=n.onRenderTitle,f=void 0===h?this._getTitle:h,m=n.onRenderContainer,g=void 0===m?this._onRenderContainer:m,v=n.onRenderCaretDown,y=void 0===v?this._onRenderCaretDown:v,b=n.onRenderLabel,_=void 0===b?this._onRenderLabel:b,C=n.hoisted.selectedIndices,w=this.state,E=w.isOpen,x=w.calloutRenderEdge,S=w.hasFocus,k=n.onRenderPlaceholder||n.onRenderPlaceHolder||this._getPlaceholder;i!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(i);var T=UB(i,C),I=Nv(n,Mv),A=this._isDisabled(),P=t+"-errorMessage",D=A?void 0:E&&1===C.length&&C[0]>=0?this._listId+C[0]:void 0;this._classNames=VB(l,{theme:u,className:r,hasError:!!(c&&c.length>0),hasLabel:!!o,isOpen:E,required:s,disabled:A,isRenderingPlaceholder:!T.length,panelClassName:d?d.className:void 0,calloutClassName:p?p.className:void 0,calloutRenderEdge:x});var R=!!c&&c.length>0;return rl.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":E?this._listId:void 0},_(this.props,this._onRenderLabel),rl.createElement("div",(0,e.__assign)({"data-is-focusable":!A,"data-ktp-target":!0,ref:this._dropDown,id:t,tabIndex:A?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-label":a,"aria-labelledby":o&&!a?TS(this._labelId,this._optionId):void 0,"aria-describedby":R?this._id+"-errorMessage":void 0,"aria-activedescendant":D,"aria-required":s,"aria-disabled":A,"aria-controls":E?this._listId:void 0},I,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),rl.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":S?"polite":void 0,"aria-atomic":!!S||void 0,"aria-invalid":R},T.length?f(T,this._onRenderTitle):k(n,this._onRenderPlaceholder)),rl.createElement("span",{className:this._classNames.caretDownWrapper},y(n,this._onRenderCaretDown))),E&&g((0,e.__assign)((0,e.__assign)({},n),{onDismiss:this._onDismiss}),this._onRenderContainer),R&&rl.createElement("div",{role:"alert",id:P,className:this._classNames.errorMessage},c))},n.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},n.prototype.setSelectedIndex=function(e,t){var n=this.props,r=n.options,o=n.selectedKey,i=n.selectedKeys,a=n.multiSelect,s=n.notifyOnReselect,c=n.hoisted.selectedIndices,l=void 0===c?[]:c,u=!!l&&l.indexOf(t)>-1,d=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===o&&void 0===i){if(a||s||t!==l[0]){if(a)if(d=l?this._copyArray(l):[],u){var p=d.indexOf(t);p>-1&&d.splice(p,1)}else d.push(t);else d=[t];e.persist(),this.props.hoisted.setSelectedIndices(d),this._onChange(e,r,t,u,a)}}else this._onChange(e,r,t,u,a)},n.prototype._copyArray=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];t.push(o)}return t},n.prototype._moveIndex=function(e,t,n,r){var o=this.props.options;if(r===n||0===o.length)return r;n>=o.length?n=0:n<0&&(n=o.length-1);for(var i=0;o[n].itemType===$F.Header||o[n].itemType===$F.Divider||o[n].disabled;){if(i>=o.length)return r;n+t<0?n=o.length:n+t>=o.length&&(n=-1),n+=t,i++}return this.setSelectedIndex(e,n),n},n.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,r=e.label,o=e.ariaLabel,i=e.multiSelect;return rl.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},rl.createElement(q_,{ref:this._focusZone,direction:Bb.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":o,"aria-labelledby":r&&!o?this._labelId:void 0,"aria-multiselectable":i},n(e,this._onRenderList)))},n.prototype._renderSeparator=function(e){var t=e.index,n=e.key,r=e.hidden?this._classNames.dropdownDividerHidden:this._classNames.dropdownDivider;return t>0?rl.createElement("div",{role:"separator",key:n,className:r}):null},n.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,r=e.key,o=e.id,i=e.hidden?this._classNames.dropdownItemHeaderHidden:this._classNames.dropdownItemHeader;return rl.createElement("div",{id:o,key:r,className:i},n(e,this._onRenderOption))},n.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},n.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==n&&n.focus()},n.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},n.prototype._isAltOrMeta=function(e){return e.which===df||"Meta"===e.key},n.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(WS()||GS())},n.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},n.defaultProps={options:[]},n}(rl.Component),QB={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"},XB=((WB={})[Wm+", "+"@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)".replace("@media ","")]=(0,e.__assign)({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),WB),JB={selectors:(0,e.__assign)((GB={},GB[Wm]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},GB),XB)},$B={selectors:(KB={},KB[Wm]={borderColor:"Highlight"},KB)},ZB=Km(0,Gm),eH=ib(qB,(function(t){var n,r,o,i,a,s,c,l,u,d,p,h,f=t.theme,m=t.hasError,g=t.hasLabel,v=t.className,y=t.isOpen,b=t.disabled,_=t.required,C=t.isRenderingPlaceholder,w=t.panelClassName,E=t.calloutClassName,x=t.calloutRenderEdge;if(!f)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var S=og(QB,f),k=f.palette,T=f.semanticColors,I=f.effects,A=f.fonts,P={color:T.menuItemTextHovered},D={color:T.menuItemText},R={borderColor:T.errorText},M=[S.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",".ms-Button-flexContainer":{width:"100%"}}],N=[S.dropdownItemHeader,(0,e.__assign)((0,e.__assign)({},A.medium),{fontWeight:Bm.semibold,color:T.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(n={},n[Wm]=(0,e.__assign)({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)})],L=T.menuItemBackgroundPressed,O=function(e){var t;return void 0===e&&(e=!1),{selectors:(t={"&:hover":[{color:T.menuItemTextHovered,backgroundColor:e?L:T.menuItemBackgroundHovered},JB],"&.is-multi-select:hover":[{backgroundColor:e?L:"transparent"}],"&:active:hover":[{color:T.menuItemTextHovered,backgroundColor:e?T.menuItemBackgroundHovered:T.menuItemBackgroundPressed},JB]},t[".ms-Fabric--isFocusVisible &:focus:after"]={left:0,top:0,bottom:0,right:0},t[Wm]={border:"none"},t)}},F=(0,e.__spreadArray)((0,e.__spreadArray)([],M),[{backgroundColor:L,color:T.menuItemTextHovered},O(!0),JB]),B=(0,e.__spreadArray)((0,e.__spreadArray)([],M),[{color:T.disabledText,cursor:"default",selectors:(r={},r[Wm]={color:"GrayText",border:"none"},r)}]),H=x===Zw.bottom?I.roundedCorner2+" "+I.roundedCorner2+" 0 0":"0 0 "+I.roundedCorner2+" "+I.roundedCorner2,z=x===Zw.bottom?"0 0 "+I.roundedCorner2+" "+I.roundedCorner2:I.roundedCorner2+" "+I.roundedCorner2+" 0 0";return{root:[S.root,v],label:S.label,dropdown:[S.dropdown,Ug,A.medium,{color:T.menuItemText,borderColor:T.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(o={},o["&:hover ."+S.title]=[!b&&P,{borderColor:y?k.neutralSecondary:k.neutralPrimary},$B],o["&:focus ."+S.title]=[!b&&P,{selectors:(i={},i[Wm]={color:"Highlight"},i)}],o["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:b?"none":"2px solid "+k.themePrimary,borderRadius:"2px",selectors:(a={},a[Wm]={color:"Highlight"},a)}],o["&:active ."+S.title]=[!b&&P,{borderColor:k.themePrimary},$B],o["&:hover ."+S.caretDown]=!b&&D,o["&:focus ."+S.caretDown]=[!b&&D,{selectors:(s={},s[Wm]={color:"Highlight"},s)}],o["&:active ."+S.caretDown]=!b&&D,o["&:hover ."+S.titleIsPlaceHolder]=!b&&D,o["&:focus ."+S.titleIsPlaceHolder]=!b&&D,o["&:active ."+S.titleIsPlaceHolder]=!b&&D,o["&:hover ."+S.titleHasError]=R,o["&:active ."+S.titleHasError]=R,o)},y&&"is-open",b&&"is-disabled",_&&"is-required",_&&!g&&{selectors:(c={":before":{content:"'*'",color:T.errorText,position:"absolute",top:-5,right:-10}},c[Wm]={selectors:{":after":{right:-14}}},c)}],title:[S.title,Ug,{backgroundColor:T.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:T.inputBorder,borderRadius:y?H:I.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},C&&[S.titleIsPlaceHolder,{color:T.inputPlaceholderText}],m&&[S.titleHasError,R],b&&{backgroundColor:T.disabledBackground,border:"none",color:T.disabledText,cursor:"default",selectors:(l={},l[Wm]=(0,e.__assign)({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l)}],caretDownWrapper:[S.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!b&&{cursor:"pointer"}],caretDown:[S.caretDown,{color:k.neutralSecondary,fontSize:A.small.fontSize,pointerEvents:"none"},b&&{color:T.disabledText,selectors:(u={},u[Wm]=(0,e.__assign)({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)}],errorMessage:(0,e.__assign)((0,e.__assign)({color:T.errorText},f.fonts.small),{paddingTop:5}),callout:[S.callout,{boxShadow:I.elevation8,borderRadius:z,selectors:(d={},d[".ms-Callout-main"]={borderRadius:z},d)},E],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[S.dropdownItems,{display:"block"}],dropdownItem:(0,e.__spreadArray)((0,e.__spreadArray)([],M),[O()]),dropdownItemSelected:F,dropdownItemDisabled:B,dropdownItemSelectedAndDisabled:[F,B,{backgroundColor:"transparent"}],dropdownItemHidden:(0,e.__spreadArray)((0,e.__spreadArray)([],M),[{display:"none"}]),dropdownDivider:[S.dropdownDivider,{height:1,backgroundColor:T.bodyDivider}],dropdownDividerHidden:[S.dropdownDivider,{display:"none"}],dropdownOptionText:[S.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:N,dropdownItemHeaderHidden:(0,e.__spreadArray)((0,e.__spreadArray)([],N),[{display:"none"}]),subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:(p={},p[".ms-Fabric--isFocusVisible &:focus + label::before"]={outlineOffset:"0px"},p)}},panel:{root:[w],main:{selectors:(h={},h[ZB]={width:272},h)},contentInner:{padding:"0 0 20px"}}}}}),void 0,{scope:"Dropdown"});eH.displayName="Dropdown";var tH,nH,rH={height:45},oH=function(e){var t=e.width,n=void 0===t?145:t;return ol().createElement(jv,{style:rH,verticalAlign:"center"},ol().createElement(EI,{width:n,height:16}))},iH=function(){return ol().createElement(jv,{verticalFill:!0,verticalAlign:"center"},ol().createElement(Dw,{size:gw.medium}))},aH=function(t){var n,r=t["aria-label"],o=t["data-bi-prefix"],i=t.value,a=t.pageArea,s=t.placeholder,c=t.options,l=t.onChange,u=t.label,d=t.width,p=t.calloutWidth,h=t.calloutPosition,f=void 0===h?"bottom-center":h,m=t.alignTitle,g=t.maxHeight,v=t.descriptions,y=void 0!==v&&v,b=t.disabled,_=void 0!==b&&b,C=t.multiSelect,w=void 0!==C&&C,E=t.dropdownStyle,x=void 0===E?"default":E,S=t.title,k=t.componentRef,T=t.calloutPreventDismissOnScroll,I=void 0!==T&&T,A=t.required,P=t.disableResponsiveMode,D=void 0!==P&&P,R=(0,e.__rest)(t,["aria-label","data-bi-prefix","value","pageArea","placeholder","options","onChange","label","width","calloutWidth","calloutPosition","alignTitle","maxHeight","descriptions","disabled","multiSelect","dropdownStyle","title","componentRef","calloutPreventDismissOnScroll","required","disableResponsiveMode"]),M=Tp();qv("Dropdown",R.id),W_("Dropdown",R);var N,L=rb(),O=(0,rl.useRef)(null),F="borderless"===x?L.semanticColors.bodyBackground:L.palette.neutralHigh,B={title:{backgroundColor:_?L.palette.neutralLighterAlt:F,borderColor:"borderless"===x?"transparent":void 0,textAlign:m},dropdownItem:{backgroundColor:L.palette.neutralHigh,height:"auto"},dropdownItemSelected:{height:"auto"},dropdownItemDisabled:{backgroundColor:L.palette.neutralHigh,height:"auto"},dropdownOptionText:{overflow:"visible",whiteSpace:"normal"},dropdownItemSelectedAndDisabled:(n={},n[EC]={backgroundColor:"transparent",border:"1px solid highlight"},n.height="auto",n)};d&&(B.dropdown={width:d}),y&&(B.dropdownItem={backgroundColor:L.palette.neutralHigh,selectors:{".ms-Button-flexContainer":{width:"100%"}},height:"auto"},B.dropdownItemSelected={selectors:{".ms-Button-flexContainer":{width:"100%"},height:"auto"}},N=function(e){return ol().createElement("div",{style:{width:"100%",display:"flex",justifyContent:"space-between"}},ol().createElement("span",null,e.text),e.description?ol().createElement("span",null,e.description):ol().createElement(ol().Fragment,null))});var H={};w?H.selectedKeys=Array.isArray(i)?i.slice():null===i?i:[i]:H.selectedKey=Array.isArray(i)?i.slice():i;var z=c.map((function(t,n){return"divider"===t.itemType?{key:"divider_".concat(n),text:"",itemType:$F.Divider}:(0,e.__assign)((0,e.__assign)({},t),{itemType:$F.Normal})})),U={calloutMaxHeight:g,directionalHint:sC[f],preventDismissOnEvent:I?function(e){return"scroll"===e.type}:void 0},V=(0,e.__assign)({placeholder:s,options:z,onChange:function(e,t,n){if(t){var r={clickId:"".concat(o,"-").concat(t.id),pageArea:a};M.reportClick(r),l(e,{key:t.key.toString(),text:t.text,ariaLabel:t.ariaLabel,id:t.id},t.selected,n)}else l(e,void 0,void 0,n)},disabled:_,required:A,label:u,dropdownWidth:p,ariaLabel:r,calloutProps:U,styles:B,onRenderOption:N,multiSelect:w,componentRef:k},H);if(void 0!==S&&(V.onRenderTitle=function(){return ol().createElement(ol().Fragment,null,S)}),D&&(V.responsiveMode=Ak.unknown),R.operationData){var j=R.operationData,q=(0,e.__rest)(R,["operationData"]);V=(0,e.__assign)((0,e.__assign)({},V),q);var W=void 0;W="callout"===j.errorProps.errorType?ol().createElement(ol().Fragment,null,ol().createElement("div",{ref:O,style:{width:d}},ol().createElement(eH,(0,e.__assign)({},V))),ol().createElement(wT,{calloutPosition:"bottom-center",targetOrTriggerButton:O,errorMessageAriaLabel:j.errorProps.errorCallout.errorMessageAriaLabel,errorMessage:j.errorProps.errorCallout.errorMessage})):ol().createElement(eH,(0,e.__assign)({},V,{errorMessage:j.errorProps.errorMessage}));var G=(0,e.__assign)((0,e.__assign)({},B),{title:{backgroundColor:L.palette.neutralHigh,border:"1px solid ".concat(L.palette.neutralQuaternary),textAlign:m}});return ol().createElement(Ob,{operationData:j.progressViewOperationData,firstLoadView:ol().createElement(oH,null),updatingView:ol().createElement(eH,(0,e.__assign)({},V,{disabled:!0,onRenderCaretDown:iH,styles:G})),finishedView:ol().createElement(eH,(0,e.__assign)({},V)),updateFailedView:W,failedView:void 0})}return V=(0,e.__assign)((0,e.__assign)({},V),R),ol().createElement(eH,(0,e.__assign)({},V))};!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"}(tH||(tH={}));var sH,cH,lH,uH=((nH={})[tH.info]="Info",nH[tH.warning]="Info",nH[tH.error]="ErrorBadge",nH[tH.blocked]="Blocked2",nH[tH.severeWarning]="Warning",nH[tH.success]="Completed",nH),dH=pb(),pH=function(e){switch(e){case tH.blocked:case tH.error:case tH.severeWarning:return"assertive"}return"polite"},hH=function(e){switch(e){case tH.blocked:case tH.error:case tH.severeWarning:return"alert"}return"status"},fH=rl.forwardRef((function(t,n){var r=yF(!1),o=r[0],i=r[1].toggle,a=Ik("MessageBar"),s=t.actions,c=t.className,l=t.children,u=t.overflowButtonAriaLabel,d=t.dismissIconProps,p=t.styles,h=t.theme,f=t.messageBarType,m=void 0===f?tH.info:f,g=t.onDismiss,v=void 0===g?void 0:g,y=t.isMultiline,b=void 0===y||y,_=t.truncated,C=t.dismissButtonAriaLabel,w=t.messageBarIconProps,E=t.role,x=t.delayedRender,S=void 0===x||x,k=t.expandButtonProps,T=Nv(t,pv,["className","role"]),I=dH(p,{theme:h,messageBarType:m||tH.info,onDismiss:void 0!==v,actions:void 0!==s,truncated:_,isMultiline:b,expandSingleLine:o,className:c}),A={iconName:o?"DoubleChevronUp":"DoubleChevronDown"},P=s||v?{"aria-describedby":a,role:"region"}:{},D=s?rl.createElement("div",{className:I.actions},s):null,R=v?rl.createElement(bT,{disabled:!1,className:I.dismissal,onClick:v,iconProps:d||{iconName:"Clear"},title:C,ariaLabel:C}):null;return rl.createElement("div",(0,e.__assign)({ref:n,className:I.root},P),rl.createElement("div",{className:I.content},rl.createElement("div",{className:I.iconContainer,"aria-hidden":!0},w?rl.createElement(HS,(0,e.__assign)({},w,{className:Wv(I.icon,w.className)})):rl.createElement(HS,{iconName:uH[m],className:I.icon})),rl.createElement("div",{className:I.text,id:a,role:E||hH(m),"aria-live":pH(m)},rl.createElement("span",(0,e.__assign)({className:I.innerText},T),S?rl.createElement(vb,null,rl.createElement("span",null,l)):rl.createElement("span",null,l))),!b&&!D&&_&&rl.createElement("div",{className:I.expandSingleLine},rl.createElement(bT,(0,e.__assign)({disabled:!1,className:I.expand,onClick:i,iconProps:A,ariaLabel:u,"aria-expanded":o},k))),!b&&D,!b&&R&&rl.createElement("div",{className:I.dismissSingleLine},R),b&&R),b&&D)}));fH.displayName="MessageBar";var mH={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"},gH=((sH={})[tH.error]="errorBackground",sH[tH.blocked]="errorBackground",sH[tH.success]="successBackground",sH[tH.warning]="warningBackground",sH[tH.severeWarning]="severeWarningBackground",sH[tH.info]="infoBackground",sH),vH=((cH={})[tH.error]="rgba(255, 0, 0, 0.3)",cH[tH.blocked]="rgba(255, 0, 0, 0.3)",cH[tH.success]="rgba(48, 241, 73, 0.3)",cH[tH.warning]="rgba(255, 254, 57, 0.3)",cH[tH.severeWarning]="rgba(255, 0, 0, 0.3)",cH[tH.info]="Window",cH),yH=((lH={})[tH.error]="errorIcon",lH[tH.blocked]="errorIcon",lH[tH.success]="successIcon",lH[tH.warning]="warningIcon",lH[tH.severeWarning]="severeWarningIcon",lH[tH.info]="infoIcon",lH),bH=ib(fH,(function(t){var n,r,o,i,a,s=t.theme,c=t.className,l=t.onDismiss,u=t.truncated,d=t.isMultiline,p=t.expandSingleLine,h=t.messageBarType,f=void 0===h?tH.info:h,m=s.semanticColors,g=s.fonts,v=Km(0,479),y=og(mH,s),b={fontSize:Hm.xSmall,height:10,lineHeight:"10px",color:m.messageText,selectors:(n={},n[Wm]=(0,e.__assign)((0,e.__assign)({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText"}),n)},_=[Zm(s,{inset:1,highContrastStyle:{outlineOffset:"-6px",outline:"1px solid Highlight"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":b,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[y.root,g.medium,f===tH.error&&y.error,f===tH.blocked&&y.blocked,f===tH.severeWarning&&y.severeWarning,f===tH.success&&y.success,f===tH.warning&&y.warning,d?y.multiline:y.singleline,!d&&l&&y.dismissalSingleLine,!d&&u&&y.expandingSingleLine,{background:m[gH[f]],color:m.messageText,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:(r={".ms-Link":{color:m.messageLink,selectors:{":hover":{color:m.messageLinkHovered}}}},r[Wm]=(0,e.__assign)((0,e.__assign)({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{background:vH[f],border:"1px solid WindowText",color:"WindowText"}),r)},d&&{flexDirection:"column"},c],content:[y.content,{display:"flex",width:"100%",lineHeight:"normal"}],iconContainer:[y.iconContainer,{fontSize:Hm.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"}],icon:{color:m[yH[f]],selectors:(o={},o[Wm]=(0,e.__assign)((0,e.__assign)({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"WindowText"}),o)},text:[y.text,(0,e.__assign)((0,e.__assign)({minWidth:0,display:"flex",flexGrow:1,margin:8},g.small),{selectors:(i={},i[Wm]=(0,e.__assign)({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}),!l&&{marginRight:12}],innerText:[y.innerText,{lineHeight:16,selectors:{"& span a:last-child":{paddingLeft:4}}},u&&{overflow:"visible",whiteSpace:"pre-wrap"},!d&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!d&&!u&&{selectors:(a={},a[v]={overflow:"visible",whiteSpace:"pre-wrap"},a)},p&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:y.dismissSingleLine,expandSingleLine:y.expandSingleLine,dismissal:[y.dismissal,_],expand:[y.expand,_],actions:[d?y.actions:y.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}}},d&&{marginBottom:8},l&&!d&&{marginRight:0}]}}),void 0,{scope:"MessageBar"}),_H={info:tH.info,secondary:tH.info,warning:tH.warning,"severe-warning":tH.severeWarning,error:tH.error,blocked:tH.blocked,success:tH.success},CH=function(t,n,r,o,i){var a,s={content:{padding:"8px 0"},actions:{alignItems:"center",marginRight:"24px",lineHeight:"16px"},innerText:{whiteSpace:"normal",overflow:"visible",width:"100%"},iconContainer:{alignItems:"center",marginLeft:n?"0px":"16px"},root:(a={".ms-Link":{color:t.semanticColors.messageLink},".ms-Link > span":{color:t.semanticColors.messageLink}},a[Wm]={".ms-Link":{color:"linktext"},".ms-Link > span":{color:"linktext"}},a)};if(r&&(s.actions={alignItems:"flex-end",marginBottom:"8px",marginRight:"24px"},s.innerText=Xh(s.innerText,{lineHeight:"normal"}),s.icon={lineHeight:"16px",paddingTop:"3px"}),n&&(s.icon={display:"none"},s.text={marginLeft:"0px"}),"info"===o&&(s.root=(0,e.__assign)((0,e.__assign)({},s.root),{background:t.palette.neutralHigh})),i){var c=void 0;switch(i){case"floating":c={borderRadius:"8px",boxShadow:Ow.rest};break;case"embedded-dialog":c={borderRadius:"4px",border:"1px solid ".concat(t.palette.neutralLighterAlt)}}c&&(s.root=(0,e.__assign)((0,e.__assign)({},s.root),c))}return s},wH=function(e){return null===e||void 0===e?void 0:e["aria-label"]},EH=function(t){var n=t.messageContent,r=t.messageHeader,o=t.messageBarType,i=void 0===o?"info":o,a=t.actionProps,s=t.dismissButtonProps,c=t.hideIcon,l=t.iconProps,u=t.messageBarVariant,d=void 0===u?"default":u,p=t.isMultiline,h=(0,e.__rest)(t,["messageContent","messageHeader","messageBarType","actionProps","dismissButtonProps","hideIcon","iconProps","messageBarVariant","isMultiline"]),f=Tp();qv("MessageBar",h.id),W_("MessageBar",h);var m,g,v,y=rb();if(a)if("noHrefLink"===a.actionType){a.actionType;var b=(0,e.__rest)(a,["actionType"]);m=ol().createElement(Yx,(0,e.__assign)({},b))}else if("button"===a.actionType){a.actionType,b=(0,e.__rest)(a,["actionType"]);m=ol().createElement(DT,(0,e.__assign)({type:"primaryAlt"},b))}else{a.actionType,b=(0,e.__rest)(a,["actionType"]);m=ol().createElement(Kx,(0,e.__assign)({},b))}return g="string"===typeof n?ol().createElement(Jw,null,n):ol().createElement(Qx,(0,e.__assign)({},n)),v=function(e,t,n){var r;return"warning"===e&&(r={iconName:"Info",styles:{root:{color:t.palette.neutralSecondary}}}),n&&(r={iconName:n.iconName,styles:{root:{color:n.color?t.palette[n.color]||t.semanticColors[n.color]:t.palette.neutralPrimary}}}),r}(i,y,l),ol().createElement(bH,(0,e.__assign)({messageBarType:_H[i],onDismiss:s?function(){if(s){var e={clickId:"".concat(s["data-bi-id"]),pageArea:"".concat(s.pageArea)};f.reportClick(e),s.onDismiss()}}:void 0,dismissButtonAriaLabel:wH(s),isMultiline:null!==p&&void 0!==p&&p,actions:m,styles:CH(y,c,r,i,d),messageBarIconProps:v},h),ol().createElement(jw,{childrenGap:6},ol().createElement(Jw,{variant:"subjectTitle",block:!0},r),g))},xH=function(t){var n=t.errorMessage,r=t.description,o=t.imageSrc,i=t.correlationVector,a=t.align,s=void 0===a?"auto":a,c=t.buttonProps,l=(0,e.__rest)(t,["errorMessage","description","imageSrc","correlationVector","align","buttonProps"]);return qv("ErrorIllustration",l.id),W_("ErrorIllustration",l),ol().createElement(jw,(0,e.__assign)({},l),ol().createElement(qw,{align:s},ol().createElement(sI,{imageType:"ariaHiddenImage",src:o})),ol().createElement(qw,{align:s},ol().createElement(dI,{image:{iconName:"Error",imageType:"icon"},size:"sm"},n)),ol().createElement(qw,{align:s},ol().createElement(jw,{margin:"0 26px",childrenGap:"26px"},r&&ol().createElement(qw,{align:s},ol().createElement(Jw,{variant:"bodySecondaryText"},r)),ol().createElement(qw,{align:s},ol().createElement(Jw,null,"TraceID: ",i)),c&&ol().createElement(qw,{align:s},ol().createElement(DT,(0,e.__assign)({},c))))))},SH=function(){var e;return{root:(e={borderRadius:"8px",overflow:"hidden",boxShadow:Zp.depth4},e[Wm]={border:"1px solid WindowText"},e)}};function kH(e){return function(){for(var t=rb(),n={},r=0,o=Object.keys(e);r<o.length;r++){var i=o[r],a=e[i];n[i]="function"===typeof a?a(t):a}return tv(n)}}var TH,IH,AH,PH,DH,RH,MH,NH,LH,OH="--comparison-card-col",FH="4px",BH=(kH({root:function(e){return{display:"flex",flexDirection:"column",backgroundColor:e.palette.neutralHigh,borderRadius:FH,boxShadow:Ow.hover}},badge:function(e){return{display:"flex",padding:"5px 24px",borderTopLeftRadius:FH,borderTopRightRadius:FH,backgroundColor:e.palette.highlighter}},header:{margin:"10px 24px"},featureList:{listStyle:"none",margin:"0 24px",marginBottom:"auto",padding:0,columns:"var(".concat(OH,", auto)")," > *":{breakInside:"avoid"}},actions:{display:"flex",flexDirection:"column",padding:"16px 24px 24px 24px"," > *:not(:last-child)":{marginBottom:"12px"}}}),kH({badgeCenter:{textAlign:"center",justifyContent:"center"},headerCenter:{textAlign:"center"},headerNoBadge:{marginTop:"40px"},actionsCenter:{textAlign:"center"}}),kH({root:(TH={display:"flex",flexDirection:"column",gap:"16px",listStyle:"none",padding:0,margin:0},TH[OH]="auto",TH["> *"]={flex:1},TH),groupItem:{display:"flex","> *":{flex:1}}}),{flexDirection:"row",flexWrap:"wrap","> *":{flexBasis:"49%"}}),HH={"> *":{flexBasis:"0"}},zH={"> :first-child":(IH={flexBasis:"100%"},IH[OH]=2,IH)},UH={"> :first-child":(AH={flexBasis:"0"},AH[OH]="auto",AH)},VH=(kH({rootL:(PH={},PH[fC]={flexDirection:"row"},PH),rootXl:(DH={},DH[mC]={flexDirection:"row"},DH)}),kH({rootL:(RH={},RH[fC]=(0,e.__assign)({},BH),RH[mC]=(0,e.__assign)({},HH),RH),rootXl:(MH={},MH[mC]=(0,e.__assign)({},BH),MH[gC]=(0,e.__assign)({},HH),MH)}),kH({rootL:(NH={},NH[fC]=(0,e.__assign)((0,e.__assign)({},BH),zH),NH[mC]=(0,e.__assign)((0,e.__assign)({},HH),UH),NH),rootXl:(LH={},LH[mC]=(0,e.__assign)((0,e.__assign)({},BH),zH),LH[gC]=(0,e.__assign)((0,e.__assign)({},HH),UH),LH)}),function(e){var t=e.url;qv("IrisBeacon");var n=function(e){return e&&e.replace(/^http:\/\//i,"https://")}(t);return n?ol().createElement(sI,{imageType:"ariaHiddenImage",src:n}):null});function jH(e,t){var n=ol().createElement(ol().Fragment,null);if(e){var r=e.replace(/{ACTION}/g,t);n=ol().createElement(VH,{url:r})}return n}kH({badge:{flex:"1",margin:"-5px -24px"},title:{display:"flex",marginTop:"5px",marginBottom:"12px","> *":{flex:"0 0 70%"}},titleCenter:{justifyContent:"center"},subtitle:{display:"flex","> *":{flex:"0 0 40%"}},subtitleCenter:{justifyContent:"center"},mediaShimmer:{display:"flex",flexDirection:"row",alignItems:"center",gap:"22px",padding:"16px 0"," :nth-child(2)":{flex:"1 1 auto"}},actions:{display:"flex","> *":{flex:"0 0 150px"}},actionsCenter:{justifyContent:"center"}});var qH=function(t){var n=t.variant,r=(0,e.__rest)(t,["variant"]);if("ThreeThreeThreeThree"===n)return ol().createElement(WH,(0,e.__assign)({},r))},WH=function(e){var t=e.firstSegment,n=e.secondSegment,r=e.thirdSegment,o=e.fourthSegment,i=e.backgroundColor;switch(AC()){case"xxxl":case"xxl":case"xl":return ol().createElement(Uw,{totalSlots:12,padding:"16px",backgroundColor:i},ol().createElement(zw,{slots:3},t),ol().createElement(zw,{slots:3},n),ol().createElement(zw,{slots:3},r),ol().createElement(zw,{slots:3},o));case"l":return ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:i},ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:6},t),ol().createElement(zw,{slots:6},n)),ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:6},r),ol().createElement(zw,{slots:6},o)));case"m":case"s":return ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:i},t,n,r,o)}},GH=function(e){var t=e.segment,n=e.backgroundColor;return ol().createElement(jw,{horizontal:!1,padding:"16px",backgroundColor:n},t)},KH=function(t){var n=t.variant,r=(0,e.__rest)(t,["variant"]);switch(n){case"FourFourFour":return ol().createElement(YH,(0,e.__assign)({},r));case"SixThreeThree":return ol().createElement(QH,(0,e.__assign)({},r))}},YH=function(e){var t=e.firstSegment,n=e.secondSegment,r=e.thirdSegment,o=e.backgroundColor;switch(AC()){case"xxxl":case"xxl":case"xl":return ol().createElement(Uw,{totalSlots:12,padding:"16px",backgroundColor:o},ol().createElement(zw,{slots:4},t),ol().createElement(zw,{slots:4},n),ol().createElement(zw,{slots:4},r));case"l":case"m":case"s":return ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:o},t,n,r)}},QH=function(e){var t=e.firstSegment,n=e.secondSegment,r=e.thirdSegment,o=e.backgroundColor;switch(AC()){case"xxxl":case"xxl":case"xl":return ol().createElement(Uw,{totalSlots:12,padding:"16px",backgroundColor:o},ol().createElement(zw,{slots:6},t),ol().createElement(zw,{slots:3},n),ol().createElement(zw,{slots:3},r));case"l":return ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:o},t,ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:6},n),ol().createElement(zw,{slots:6},r)));case"m":case"s":return ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:o},t,n,r)}},XH=function(t){var n=t.variant,r=(0,e.__rest)(t,["variant"]);switch(n){case"SixSix":return ol().createElement(JH,(0,e.__assign)({},r));case"OneThree":return ol().createElement($H,(0,e.__assign)({},r));case"OneTwo":return ol().createElement(ZH,(0,e.__assign)({},r));case"OneOne":return ol().createElement(ez,(0,e.__assign)({},r))}},JH=function(e){var t=e.firstSegment,n=e.secondSegment,r=e.backgroundColor,o=e.compact,i=void 0!==o&&o,a=AC(),s=ol().createElement(Uw,{totalSlots:12,padding:"16px",backgroundColor:r},ol().createElement(zw,{slots:6},t),ol().createElement(zw,{slots:6},n)),c=ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:r},t,n);switch(a){case"xxxl":case"xxl":case"xl":return s;case"l":return i?s:c;case"m":case"s":return c}},$H=function(e){var t=e.firstSegment,n=e.secondSegment,r=e.backgroundColor,o=e.compact,i=void 0!==o&&o,a=AC(),s=ol().createElement(Uw,{totalSlots:4,padding:"16px",backgroundColor:r},ol().createElement(zw,{slots:1},t),ol().createElement(zw,{slots:3},n)),c=ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:r},t,n);switch(a){case"xxxl":case"xxl":case"xl":return s;case"l":return i?s:c;case"m":case"s":return c}},ZH=function(e){var t=e.firstSegment,n=e.secondSegment,r=e.backgroundColor,o=e.compact,i=void 0!==o&&o,a=AC(),s=ol().createElement(Uw,{totalSlots:3,padding:"16px",backgroundColor:r},ol().createElement(zw,{slots:1},t),ol().createElement(zw,{slots:2},n)),c=ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:r},t,n);switch(a){case"xxxl":case"xxl":case"xl":return s;case"l":return i?s:c;case"m":case"s":return c}},ez=function(e){var t=e.firstSegment,n=e.secondSegment,r=e.backgroundColor,o=e.compact,i=void 0!==o&&o,a=AC(),s=ol().createElement(Uw,{totalSlots:2,padding:"2px",backgroundColor:r},ol().createElement(zw,{slots:1},t),ol().createElement(zw,{slots:1},n)),c=ol().createElement(jw,{horizontal:!1,childrenGap:"12px",padding:"16px",backgroundColor:r},t,n);switch(a){case"xxxl":case"xxl":case"xl":return s;case"l":return i?s:c;case"m":case"s":return c}},tz=function(t){var n=t.variant,r=(0,e.__rest)(t,["variant"]);if("SixSix"===n)return ol().createElement(oz,(0,e.__assign)({},r))},nz=function(e){return{root:{width:"50%",display:"flex",flexDirection:"column",flex:1,minHeight:e}}},rz=function(e){return{root:{height:e,minHeight:e,display:"flex",flexDirection:"column",flexGrow:1}}},oz=function(e){var t=e.firstSegment,n=e.secondSegment,r=e.backgroundColor,o=e.childrenGap,i=void 0===o?"12px 16px":o,a=e.minHeight;switch(AC()){case"xxxl":case"xxl":case"xl":return ol().createElement(jw,{horizontal:!0,childrenGap:i,backgroundColor:r},ol().createElement(jv,{styles:nz(a)},t),ol().createElement(jv,{styles:nz(a)},n));case"l":case"m":case"s":return ol().createElement(jw,{horizontal:!1,childrenGap:i,backgroundColor:r},ol().createElement(jv,{styles:rz(a)},t),ol().createElement(jv,{styles:{root:{display:"flex",flexDirection:"column",flex:1}}},n))}},iz=[tO,eO,function(t){var n=t.impressionBeaconUrl,r=t.clickBeaconUrl,o=t.ctaProps,i=(0,e.__rest)(t,["impressionBeaconUrl","clickBeaconUrl","ctaProps"]);qv("IrisFeature",i.id);var a=(0,rl.useState)(!1),s=a[0],c=a[1],l=(0,rl.useState)(!1),u=l[0],d=l[1],p=[];if(o){if(o.length>0){var h=o[0].actionProps;p.push({actionProps:(0,e.__assign)((0,e.__assign)({},h),{onClick:function(e){(null===h||void 0===h?void 0:h.onClick)&&h.onClick(e),c(!0)}})})}if(o.length>1){var f=o[1].actionProps;p.push({actionProps:(0,e.__assign)((0,e.__assign)({},f),{onClick:function(e){(null===f||void 0===f?void 0:f.onClick)&&f.onClick(e),d(!0)}})})}}return ol().createElement(ol().Fragment,null,ol().createElement(tO,(0,e.__assign)({ctaProps:p},i)),function(e){return e?ol().createElement(VH,{url:e}):ol().createElement(ol().Fragment,null)}(n),s&&jH(r,"click1"),u&&jH(r,"click2"))},EH,GH,XH,KH,qH];var az=[FO,EH,tz];var sz,cz,lz=function(e,t){return{root:{borderBottom:t?"1px solid ".concat(e.palette.neutralLighter):"0px"}}},uz=function(e){var t=e.highlightArea,n=e.detailsArea,r=rb();return(0,rl.useEffect)((function(){if(t)if(Array.isArray(t))for(var e=0;e<t.length;e++)Hb(t[e],iz,"ExpandedFeatureGroupContent");else Hb(t,iz,"ExpandedFeatureGroupContent")}),[t]),(0,rl.useEffect)((function(){if(n)if(Array.isArray(n))for(var e=0;e<n.length;e++)Hb(n[e],az,"ExpandedFeatureGroupContent");else Hb(n,az,"ExpandedFeatureGroupContent")}),[n]),ol().createElement(jv,null,t&&ol().createElement(jv,{styles:lz(r,!!n)},t),n&&ol().createElement(jv,null,n))},dz=function(t){var n=t.drawerAreaProps,r=t.highlightArea,o=t.detailsArea;qv("ExpandedFeatureGroup");var i,a=ol().createElement(jv,{styles:(i=!!n,{root:{marginTop:i?"1px":"0px"}})},ol().createElement(uz,{highlightArea:r,detailsArea:o}));return ol().createElement(jv,{styles:SH()},n?ol().createElement(yO,(0,e.__assign)({borderRadius:"0px"},n),a):a)},pz="100vh",hz={root:{width:"100%",minHeight:pz}},fz={root:{overflowX:"hidden",width:"100vw",minHeight:pz}},mz={root:{flex:2,boxSizing:"border-box",width:"100%",selectors:(sz={"#uhf-footer > div":{paddingLeft:0,paddingRight:0}},sz[yC]={padding:"0 16px 10px",width:"100%"},sz[hC]={padding:"0 32px 10px",width:"100%"},sz[fC]={padding:"0 48px 10px",width:"100%"},sz[mC]={padding:"0 54px 10px",width:"100%"},sz[gC]={padding:"0 0 10px",margin:"0 auto",maxWidth:"968px",width:"100%"},sz[vC]={padding:"0 0 10px",margin:"0 auto",maxWidth:"1184px",width:"100%"},sz)}},gz=function(e){var t=e.header,n=e.children,r=e.id;qv("WithNavBarPageLayout",r);var o,i=(0,rl.useRef)(null),a=ol().Children.toArray(n);return Wb("WithNavBarPageLayout",[(o=a,function(){return 2!==o.length?"PageLayout with NavBar can only have exactly ".concat(2," regions"):void 0})]),(0,rl.useLayoutEffect)((function(){if(i.current&&i.current.parentNode){var e=document.getElementById("uhf-footer");if(e){var t=e.parentElement;return i.current.parentNode.appendChild(e),i.current.parentNode.removeChild(i.current),function(){t.appendChild(e)}}}}),[]),ol().createElement(jv,{horizontal:!0,styles:hz},a[0],ol().createElement(jv,{styles:fz},ol().createElement("main",{role:"main",id:r,tabIndex:-1,style:{outline:"none"}},ol().createElement(jv,null,t),ol().createElement(jv,{verticalAlign:"start",styles:mz},a[1],ol().createElement("div",{ref:i})))))},vz="100vh",yz={root:{width:"100%",minHeight:vz}},bz={root:{overflowX:"hidden",width:"100vw",minHeight:vz}},_z={root:{boxSizing:"border-box",width:"100%",selectors:(cz={},cz[yC]={padding:"0 16px 10px",width:"100%"},cz[hC]={padding:"0 32px 10px",width:"100%"},cz[fC]={padding:"0 48px 10px",width:"100%"},cz[mC]={padding:"0 54px 10px",width:"100%"},cz[gC]={padding:"0 0 10px",margin:"0 auto",maxWidth:"1184px",width:"100%"},cz[vC]={padding:"0 0 10px",margin:"0 auto",maxWidth:"1184px",width:"100%"},cz)}},Cz=function(e){var t=e.header,n=e.children,r=e.id;return qv("WithoutNavBarPageLayout",r),ol().createElement(jv,{horizontal:!0,styles:yz},ol().createElement(jv,{styles:bz},ol().createElement("main",{role:"main",id:r,tabIndex:-1,style:{outline:"none"}},ol().createElement(jv,null,t),ol().createElement(jv,{verticalAlign:"start",styles:_z},n))))},wz=function(e){return function(){return"There is no page layout with type: ".concat(e)}},Ez=function(e){var t=e.layoutType,n=e.messageBarContainer,r=e.children,o=e.id;switch(t){case"withoutNavBar":return ol().createElement(Cz,{header:n,id:o},r);case"withNavBar":return ol().createElement(gz,{header:n,id:o},r);default:return Wb("PageLayout",[wz(t)]),null}},xz=function(e){var t=e.variant,n=void 0===t?"AMC":t,r=e.content,o=e.cv,i=e.id;return qv("FatalError",i),ol().createElement(QP,{variant:n},ol().createElement(Ez,{layoutType:"withoutNavBar",id:i},ol().createElement(jw,{margin:"64px 0 48px 0"},ol().createElement(qw,{align:"center",textAlignment:"center",padding:"37px 0 3px 0"},ol().createElement(kw,{tag:"h2",variant:"pageBanner"},r.title)),ol().createElement(qw,{align:"center",textAlignment:"center",padding:"4px 0 8px 0"},ol().createElement(Jw,{variant:"statusHeader"},r.summary))),ol().createElement(jw,{padding:"24px 0 0 0"},ol().createElement(qw,{align:"center"},ol().createElement(Jw,null,"TraceId: ",o)))))},Sz="6.12vw",kz=("-".concat(Sz),(0,rl.forwardRef)((function(t,n){var r=t.mode,o=t.operationData,i=t.challengeSource,a=t.noAudioSupportMessage,s=t.playAudioButtonProps,c=t.switchToVisualWhenAudioFailedButtonProps,l=t.cannotLoadChallengeMessage,u=t.onNewChallengeRequested,d=t.reloaded,p=(0,rl.useRef)(null),h=xp(),f=ol().useState(!1),m=f[0],g=f[1];(0,rl.useImperativeHandle)(n,(function(){return{playAudioChallenge:v}}));var v=function(){var e,t,n;"audio"===r&&((null===(e=p.current)||void 0===e?void 0:e.paused)?(null===(t=p.current)||void 0===t||t.play(),g(!0)):(null===(n=p.current)||void 0===n||n.pause(),g(!1)))},y=ol().createElement(vT,(0,e.__assign)({},s,{onClick:v,"data-testid":"playbutton"}),ol().createElement(uw,{iconName:m?"Pause":"Play",size:"72px"})),b=d?ol().createElement(G_,{shouldFocusOnMount:!0},y):[y],_=ol().createElement(ol().Fragment,null,"audio"===r&&ol().createElement(ol().Fragment,null,ol().createElement("audio",{ref:p,src:i,onError:function(){h({name:o.operationName,status:"update-failed",error:{name:"HipChallenge audio error",message:"Audio failed to loaded"}})},onEnded:function(){g(!1)}},ol().createElement(Jw,null,a),ol().createElement(ST,(0,e.__assign)({},c,{onClick:function(e){u("visual")}}))),b),"visual"===r&&ol().createElement(ol().Fragment,null,ol().createElement(sI,{imageType:"ariaHiddenImage",src:i}))),C=ol().createElement(Jw,{colorOverride:"error"},l),w="audio"===r?ol().createElement(EI,{height:96,width:102}):ol().createElement(EI,{height:96,width:216});return ol().createElement(jw,{height:96,verticalAlign:"center"},ol().createElement(Ob,{operationData:{componentName:"".concat(o.componentName,".challengeBase"),operationName:o.operationName,defaultState:"inert"},firstLoadView:w,updatingView:w,updateFailedView:C,failedView:C,finishedView:_}))}))),Tz=function(t){var n=t.mode,r=t.refreshChallengeButtonProps,o=t.switchToAudioButtonProps,i=t.switchToVisualButtonProps,a=t.bottomMargin,s=void 0===a?16:a,c=t.reloaded,l=t.onNewChallengeRequested,u=ol().createElement(ST,(0,e.__assign)({iconName:"Volume"},o,{onClick:function(e){l("audio")}})),d=c?ol().createElement(G_,{shouldFocusOnMount:!0},u):[u];return ol().createElement(jw,{horizontal:!0,childrenGap:8,verticalAlign:"center",margin:"0px 0px ".concat(s,"px 0px")},ol().createElement(ST,(0,e.__assign)({iconName:"Refresh"},r,{onClick:function(e){l(n)}})),"visual"===n?d:ol().createElement(ST,(0,e.__assign)({iconName:"Photo2"},i,{onClick:function(e){l("visual")}})))},Iz=function(e){var t=e.mode,n=e.alignment,r=e.controlsBottomMargin,o=void 0===r?16:r,i=ol().createElement(jw,null,ol().createElement(jw,{margin:"24px 0px ".concat(o,"px 0px"),horizontal:!0,childrenGap:17},ol().createElement(EI,{height:12,width:48}),ol().createElement(EI,{height:12,width:48}))),a=ol().createElement(jw,{margin:"8px 0px 8px 0px"},ol().createElement(EI,{height:12,width:176})),s=ol().createElement(jw,{margin:"0px 0px 8px 0px"},ol().createElement(EI,{height:96,width:216})),c=ol().createElement(jw,{margin:"0px 0px 8px 0px"},ol().createElement(EI,{height:96,width:102})),l=ol().createElement(EI,{height:25,width:432}),u=ol().createElement(jw,{margin:"0px 0px 18px 0px"},ol().createElement(EI,{height:8,width:113}));return"audio"===t?ol().createElement(jw,{horizontalAlign:n},a,c,i,u,l):ol().createElement(jw,{horizontalAlign:n},a,s,i,l)};var Az,Pz=pb(),Dz="TextField",Rz=function(t){function n(e){var n=t.call(this,e)||this;n._textElement=rl.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,r=e.required,o=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?rl.createElement(Nw,{required:r,htmlFor:n._id,styles:o,disabled:e.disabled,id:n._labelId},e.label):null},n._onRenderDescription=function(e){return e.description?rl.createElement("span",{className:n._classNames.description},e.description):null},n._onRevealButtonClick=function(e){n.setState((function(e){return{isRevealingPassword:!e.isRevealingPassword}}))},n._onInputChange=function(e){var t,r,o=e.target.value,i=Mz(n.props,n.state)||"";void 0!==o&&o!==n._lastChangeValue&&o!==i?(n._lastChangeValue=o,null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e,o),n._isControlled||n.setState({uncontrolledValue:o})):n._lastChangeValue=void 0},v_(n),n._async=new tE(n),n._fallbackId=ey(Dz),n._descriptionId=ey("TextFieldDescription"),n._labelId=ey("TextFieldLabel"),n._prefixId=ey("TextFieldPrefix"),n._suffixId=ey("TextFieldSuffix"),n._warnControlledUsage();var r=e.defaultValue,o=void 0===r?"":r;return"number"===typeof o&&(o=String(o)),n.state={uncontrolledValue:n._isControlled?void 0:o,isFocused:!1,errorMessage:""},n._delayedValidate=n._async.debounce(n._validate,n.props.deferredValidationTime),n._lastValidation=0,n}return(0,e.__extends)(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return Mz(this.props,this.state)},enumerable:!1,configurable:!0}),n.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},n.prototype.componentWillUnmount=function(){this._async.dispose()},n.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},n.prototype.componentDidUpdate=function(e,t,n){var r=this.props,o=(n||{}).selection,i=void 0===o?[null,null]:o,a=i[0],s=i[1];!!e.multiline!==!!r.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==s&&a>=0&&s>=0&&this.setSelectionRange(a,s)),e.value!==r.value&&(this._lastChangeValue=void 0);var c=Mz(e,t),l=this.value;c!==l&&(this._warnControlledUsage(e),this.state.errorMessage&&!r.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),Nz(r)&&this._delayedValidate(l))},n.prototype.render=function(){var t=this.props,n=t.borderless,r=t.className,o=t.disabled,i=t.invalid,a=t.iconProps,s=t.inputClassName,c=t.label,l=t.multiline,u=t.required,d=t.underlined,p=t.prefix,h=t.resizable,f=t.suffix,m=t.theme,g=t.styles,v=t.autoAdjustHeight,y=t.canRevealPassword,b=t.revealPasswordAriaLabel,_=t.type,C=t.onRenderPrefix,w=void 0===C?this._onRenderPrefix:C,E=t.onRenderSuffix,x=void 0===E?this._onRenderSuffix:E,S=t.onRenderLabel,k=void 0===S?this._onRenderLabel:S,T=t.onRenderDescription,I=void 0===T?this._onRenderDescription:T,A=this.state,P=A.isFocused,D=A.isRevealingPassword,R=this._errorMessage,M="boolean"===typeof i?i:!!R,N=!!y&&"password"===_&&function(){if("boolean"!==typeof Az){var e=kf();if(null===e||void 0===e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");Az=!(function(){var e,t=kf();return!!(null===(e=null===t||void 0===t?void 0:t.navigator)||void 0===e?void 0:e.userAgent)&&t.navigator.userAgent.indexOf("rv:11.0")>-1}()||t)}else Az=!0}return Az}(),L=this._classNames=Pz(g,{theme:m,className:r,disabled:o,focused:P,required:u,multiline:l,hasLabel:!!c,hasErrorMessage:M,borderless:n,resizable:h,hasIcon:!!a,underlined:d,inputClassName:s,autoAdjustHeight:v,hasRevealButton:N});return rl.createElement("div",{ref:this.props.elementRef,className:L.root},rl.createElement("div",{className:L.wrapper},k(this.props,this._onRenderLabel),rl.createElement("div",{className:L.fieldGroup},(void 0!==p||this.props.onRenderPrefix)&&rl.createElement("div",{className:L.prefix,id:this._prefixId},w(this.props,this._onRenderPrefix)),l?this._renderTextArea():this._renderInput(),a&&rl.createElement(HS,(0,e.__assign)({className:L.icon},a)),N&&rl.createElement("button",{"aria-label":b,className:L.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!D,type:"button"},rl.createElement("span",{className:L.revealSpan},rl.createElement(HS,{className:L.revealIcon,iconName:D?"Hide":"RedEye"}))),(void 0!==f||this.props.onRenderSuffix)&&rl.createElement("div",{className:L.suffix,id:this._suffixId},x(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&rl.createElement("span",{id:this._descriptionId},I(this.props,this._onRenderDescription),R&&rl.createElement("div",{role:"alert"},rl.createElement(vb,null,this._renderErrorMessage()))))},n.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},n.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},n.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},n.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},n.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(n.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),n.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},n.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,qg("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(n.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"_isControlled",{get:function(){return void 0!==(e=this.props)[t="value"]&&null!==e[t];var e,t},enumerable:!1,configurable:!0}),n.prototype._onRenderPrefix=function(e){var t=e.prefix;return rl.createElement("span",{style:{paddingBottom:"1px"}},t)},n.prototype._onRenderSuffix=function(e){var t=e.suffix;return rl.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(n.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!1,configurable:!0}),n.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"===typeof e?rl.createElement("p",{className:this._classNames.errorMessage},rl.createElement("span",{"data-automation-id":"error-message"},e)):rl.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(n.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),n.prototype._renderTextArea=function(){var t=this.props.invalid,n=void 0===t?!!this._errorMessage:t,r=Nv(this.props,Cv,["defaultValue"]),o=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return rl.createElement("textarea",(0,e.__assign)({id:this._id},r,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":o,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":n,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},n.prototype._renderInput=function(){var t=this.props,n=t.ariaLabel,r=t.invalid,o=void 0===r?!!this._errorMessage:r,i=t.onRenderPrefix,a=t.onRenderSuffix,s=t.prefix,c=t.suffix,l=t.type,u=void 0===l?"text":l,d=[];t.label&&d.push(this._labelId),(void 0!==s||i)&&d.push(this._prefixId),(void 0!==c||a)&&d.push(this._suffixId);var p=(0,e.__assign)((0,e.__assign)({type:this.state.isRevealingPassword?"text":u,id:this._id},Nv(this.props,_v,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(d.length>0?d.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":n,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":o,onFocus:this._onFocus,onBlur:this._onBlur}),h=function(t){return rl.createElement("input",(0,e.__assign)({},t))};return(this.props.onRenderInput||h)(p,h)},n.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!Nz(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,r=n&&n(e||"");if(void 0!==r)if("string"!==typeof r&&"then"in r){var o=++this._lastValidation;r.then((function(n){o===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)}))}else this.setState({errorMessage:r}),this._notifyAfterValidate(e,r);else this._notifyAfterValidate(e,"")}},n.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},n.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"}},n.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},n}(rl.Component);function Mz(e,t){var n=e.value,r=void 0===n?t.uncontrolledValue:n;return"number"===typeof r?String(r):r}function Nz(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var Lz={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",revealButton:"ms-TextField-reveal",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 Oz(e){var t=e.underlined,n=e.disabled,r=e.focused,o=e.theme,i=o.palette,a=o.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&&r&&{selectors:(e={},e[Wm]={height:31},e)}]}}}var Fz=ib(Rz,(function(t){var n,r,o,i,a,s,c,l,u,d,p,h,f=t.theme,m=t.className,g=t.disabled,v=t.focused,y=t.required,b=t.multiline,_=t.hasLabel,C=t.borderless,w=t.underlined,E=t.hasIcon,x=t.resizable,S=t.hasErrorMessage,k=t.inputClassName,T=t.autoAdjustHeight,I=t.hasRevealButton,A=f.semanticColors,P=f.effects,D=f.fonts,R=og(Lz,f),M={background:A.disabledBackground,color:g?A.disabledText:A.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(n={},n[Wm]={background:"Window",color:g?"GrayText":"WindowText"},n)},N=[{color:A.inputPlaceholderText,opacity:1,selectors:(r={},r[Wm]={color:"GrayText"},r)}],L={color:A.disabledText,selectors:(o={},o[Wm]={color:"GrayText"},o)};return{root:[R.root,D.medium,y&&R.required,g&&R.disabled,v&&R.active,b&&R.multiline,C&&R.borderless,w&&R.underlined,Ug,{position:"relative"},m],wrapper:[R.wrapper,w&&[{display:"flex",borderBottom:"1px solid "+(S?A.errorText:A.inputBorder),width:"100%"},g&&{borderBottomColor:A.disabledBackground,selectors:(i={},i[Wm]=(0,e.__assign)({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)},!g&&{selectors:{":hover":{borderBottomColor:S?A.errorText:A.inputBorderHovered,selectors:(a={},a[Wm]=(0,e.__assign)({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}}},v&&[{position:"relative"},tg(S?A.errorText:A.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[R.fieldGroup,Ug,{border:"1px solid "+A.inputBorder,borderRadius:P.roundedCorner2,background:A.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},b&&{minHeight:"60px",height:"auto",display:"flex"},!v&&!g&&{selectors:{":hover":{borderColor:A.inputBorderHovered,selectors:(s={},s[Wm]=(0,e.__assign)({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}}},v&&!w&&tg(S?A.errorText:A.inputFocusBorderAlt,P.roundedCorner2),g&&{borderColor:A.disabledBackground,selectors:(c={},c[Wm]=(0,e.__assign)({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c),cursor:"default"},C&&{border:"none"},C&&v&&{border:"none",selectors:{":after":{border:"none"}}},w&&{flex:"1 1 0px",border:"none",textAlign:"left"},w&&g&&{backgroundColor:"transparent"},S&&!w&&{borderColor:A.errorText,selectors:{"&:hover":{borderColor:A.errorText}}},!_&&y&&{selectors:(l={":before":{content:"'*'",color:A.errorText,position:"absolute",top:-5,right:-10}},l[Wm]={selectors:{":before":{color:"WindowText",right:-14}}},l)}],field:[D.medium,R.field,Ug,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:A.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(u={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},u[Wm]={background:"Window",color:g?"GrayText":"WindowText"},u)},jg(N),b&&!x&&[R.unresizable,{resize:"none"}],b&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},b&&T&&{overflow:"hidden"},E&&!I&&{paddingRight:24},b&&E&&{paddingRight:40},g&&[{backgroundColor:A.disabledBackground,color:A.disabledText,borderColor:A.disabledBackground},jg(L)],w&&{textAlign:"left"},v&&!C&&{selectors:(d={},d[Wm]={paddingLeft:11,paddingRight:11},d)},v&&b&&!C&&{selectors:(p={},p[Wm]={paddingTop:4},p)},k],icon:[b&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:Hm.medium,lineHeight:18},g&&{color:A.disabledText}],description:[R.description,{color:A.bodySubtext,fontSize:D.xSmall.fontSize}],errorMessage:[R.errorMessage,zm.slideDownIn20,D.small,{color:A.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[R.prefix,M],suffix:[R.suffix,M],revealButton:[R.revealButton,"ms-Button","ms-Button--icon",Zm(f,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:A.link,selectors:{":hover":{outline:0,color:A.primaryButtonBackgroundHovered,backgroundColor:A.buttonBackgroundHovered,selectors:(h={},h[Wm]={borderColor:"Highlight",color:"Highlight"},h)},":focus":{outline:0}}},E&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:Hm.medium,lineHeight:18},subComponentStyles:{label:Oz(t)}}}),void 0,{scope:"TextField"}),Bz=function(e,t,n){var r={background:e.palette.transparent};return t||(r.backgroundColor=e.palette.neutralHigh),{fieldGroup:r,suffix:{background:t?e.palette.neutralLighter:e.palette.transparent,padding:0},wrapper:n&&{display:"block"},subComponentStyles:{label:Hz(n)}}},Hz=function(e){return{root:e&&{padding:"0px",height:"100%"}}},zz=function(t){var n,r=t["aria-label"],o=t.underlined,i=t.imageSrc,a=(0,e.__rest)(t,["aria-label","underlined","imageSrc"]),s=rb(),c=!!i,l=(0,rl.useState)(ES.notLoaded),u=l[0],d=l[1];qv("TextInput",a.id),W_("TextInput",a),n=c&&u!==ES.error?function(t,n,r){var o=Bz(t,n,r);return(0,e.__assign)((0,e.__assign)({},o),{field:{padding:"0 8px 0 0"},prefix:{background:n?t.palette.neutralLighter:t.palette.transparent,padding:"0px 8px"}})}(s,a.disabled||!1,o):function(t,n,r){var o=Bz(t,n,r);return(0,e.__assign)((0,e.__assign)({},o),{prefix:{display:"none"}})}(s,a.disabled||!1,o);var p=function(e){e===ES.loaded?d(ES.loaded):e===ES.notLoaded?d(ES.notLoaded):d(ES.error)},h={};u===ES.notLoaded&&(h={root:{display:"none"}});return c?ol().createElement(Fz,(0,e.__assign)({},a,{underlined:o,ariaLabel:r,styles:n,onRenderPrefix:function(){return ol().createElement(ol().Fragment,null,u===ES.notLoaded&&ol().createElement(Dw,{size:gw.small}),ol().createElement(RS,{styles:h,shouldFadeIn:!0,src:i,height:"16px",width:"16px",role:"presentation",onLoadingStateChange:p}))}})):ol().createElement(Fz,(0,e.__assign)({},a,{underlined:o,ariaLabel:r,styles:n}))},Uz=function(t){var n=t.mode,r=t.userSolution,o=t.audioPlaceholder,i=t.visualPlaceholder,a=t.playAudioInstruction,s=t.onSolutionChanged,c=t.onPlayAudio,l=(0,e.__rest)(t,["mode","userSolution","audioPlaceholder","visualPlaceholder","playAudioInstruction","onSolutionChanged","onPlayAudio"]),u=Ik(),d="audio"===n?o:i;return ol().createElement(ol().Fragment,null,"audio"===n&&ol().createElement(jw,{margin:"0px 0px 16px 0px"},ol().createElement(Jw,{id:u},a)),ol().createElement(zz,(0,e.__assign)({},l,{"aria-describedby":u,value:r,placeholder:d,onChange:function(e,t){(null===t||void 0===t?void 0:t.endsWith("1"))&&"audio"===n?c():s(null!==t&&void 0!==t?t:"")}})))},Vz=function(t){var n=t.variant,r=t.mode,o=t.challengeSource,i=t.userSolution,a=t.operationData,s=t.titleProps,c=t.challengeProps,l=t.controlsProps,u=t.solutionInputProps,d=t.visualCaptchaLoadedMessage,p=t.audioCaptchaLoadedMessage,h=t.onNewChallengeRequested,f=t.onSolutionChanged,m=(0,rl.useState)(!1),g=m[0],v=m[1];qv("HipChallenge");var y=(0,rl.useRef)(null),b=s&&ol().createElement(Jw,(0,e.__assign)({},s,{weightOverride:"semi-bold"})),_=function(e){v(!0),h(e)},C="visual"===r?d:p,w=ol().createElement(kz,(0,e.__assign)({},c,{mode:r,ref:y,challengeSource:o,operationData:a,onNewChallengeRequested:_,visualCaptchaLoadedMessage:d,audioCaptchaLoadedMessage:p,reloaded:g})),E=ol().createElement(Tz,(0,e.__assign)({},l,{mode:r,reloaded:g,onNewChallengeRequested:_})),x=(0,e.__assign)((0,e.__assign)({},u),{mode:r,userSolution:i,onSolutionChanged:f,onPlayAudio:function(){var e;null===(e=null===y||void 0===y?void 0:y.current)||void 0===e||e.playAudioChallenge()}}),S=ol().createElement(Uz,(0,e.__assign)({},x)),k=ol().createElement(Uz,(0,e.__assign)({},x,{id:"".concat(x.id,"-disabled"),"data-bi-id":"".concat(x["data-bi-id"],"-disabled"),disabled:!0})),T=ol().createElement(Ob,{operationData:{componentName:"".concat(a.componentName,".challengeSolution"),operationName:a.operationName,defaultState:"inert"},inertView:k,firstLoadView:k,updatingView:k,updateFailedView:k,failedView:k,finishedView:S}),I=ol().createElement(Iz,{mode:r,controlsBottomMargin:l.bottomMargin,alignment:n.alignment}),A="top"===n.titleLocation?ol().createElement(ol().Fragment,null,ol().createElement(jw,{horizontalAlign:n.alignment},ol().createElement(jw,{margin:"8px 0px 8px 0px"},b),w,E),T):ol().createElement(ol().Fragment,null,ol().createElement(jw,{horizontalAlign:n.alignment},w,E,ol().createElement(jw,{margin:"0 0 16px 0"},b)),T),P=ol().createElement(ol().Fragment,null,C&&g?ol().createElement(CA,{message:C,ariaLive:"polite"}):ol().createElement(ol().Fragment,null),A);return ol().createElement(Ob,{operationData:{componentName:a.componentName,operationName:a.operationName,defaultState:"inert"},inertView:I,firstLoadView:A,updatingView:A,updateFailedView:A,failedView:A,finishedView:P})},jz=function(e,t){void 0===t&&(t=.5);var n=(0,rl.useState)(!1),r=n[0],o=n[1];return(0,rl.useEffect)((function(){if(e.current){var n=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&(o(!0),n.unobserve(e.target))}))}),{threshold:t});return n.observe(e.current),function(){e.current&&n.unobserve(e.current)}}}),[e]),r},qz=function(t){return ol().createElement(jw,(0,e.__assign)({},sA(!0)),ol().createElement(vA,(0,e.__assign)({},cA,t)))},Wz=function(t){var n=t.iconName,r=t.size;return ol().createElement(jw,(0,e.__assign)({},sA(!1)),ol().createElement(jw,(0,e.__assign)({},cA,{horizontalAlign:"center",verticalAlign:"center"}),ol().createElement(uw,{size:r,iconName:n})))},Gz=function(t){var n=t.isSmallerImg,r=void 0!==n&&n,o=(0,e.__rest)(t,["isSmallerImg"]);return ol().createElement(jw,(0,e.__assign)({},sA(r)),ol().createElement(sI,(0,e.__assign)({},cA,o,{imageFit:"center-contain"})))},Kz=function(t){switch(t.graphicType){case"image":t.graphicType;var n=(0,e.__rest)(t,["graphicType"]);return ol().createElement(Gz,(0,e.__assign)({},n));case"animation":t.graphicType;var r=(0,e.__rest)(t,["graphicType"]);return ol().createElement(qz,(0,e.__assign)({},r));case"icon":t.graphicType;var o=(0,e.__rest)(t,["graphicType"]);return ol().createElement(Wz,(0,e.__assign)({},o))}};var Yz={s:2,m:3,l:4,xl:5},Qz={s:2,m:2,l:3,xl:5},Xz=function(e){return function(){return e.length<1?"MediaGroup cannot have less than ".concat(1," items"):void 0}},Jz=function(e){return function(){return e.length>10?"MediaGroup cannot have more than ".concat(10," items"):void 0}},$z=function(e,t){return{root:{outline:"1px solid transparent",backgroundColor:e.palette.neutralHigh,borderRadius:t?"0px":"8px",boxShadow:Zp.depth4,overflow:"hidden",transitionDuration:Lw,cursor:"auto",padding:t?"16px 0px 24px 0px":"24px"}}},Zz=function(e,t){var n,r,o,i,a,s;return{root:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:t?"auto":"152px",maxWidth:200,width:t?"auto":"100%",border:t?"none":"1px solid transparent",margin:t?"8px 0px 0px 0px":void 0,borderRadius:"8px",selectors:(n={":focus":(r={border:"1px solid ".concat(e.palette.neutralPrimary),backgroundColor:e.palette.neutralMed},r[Wm]={border:"1px solid Highlight",span:{color:"Highlight"}},r),":hover":(o={textDecoration:"none",borderBottom:t?"none":void 0,backgroundColor:e.palette.neutralMed,boxShadow:"".concat(Ow.hover)},o[Wm]={span:{color:"Highlight"}},o),":hover:focus":(i={border:"1px solid ".concat(e.palette.neutralPrimary),backgroundColor:e.palette.neutralMed,boxShadow:"".concat(Ow.hover)},i[Wm]={border:"1px solid Highlight",span:{color:"Highlight"}},i),":active:focus":(a={textDecoration:"none",border:"1px solid transparent",boxShadow:"".concat(Ow.rest),backgroundColor:e.palette.neutralLighterAlt},a[Wm]={border:"1px solid Highlight",span:{color:"Highlight",outline:"1px solid Highlight"}},a),".ms-Fabric--isFocusVisible &:focus":(s={boxShadow:"none",outline:"none"},s[Wm]={boxShadow:"none",outline:"none"},s)},n[Wm]={border:"1px solid Window"},n)}}},eU=function(t){var n=t.mediaImage,r=t.mediaText,o=t.ctaUrl,i=t.onClickProps,a=t["data-bi-id"],s=t["aria-label"],c=t.target,l=void 0===c?"_blank":c,u=(0,e.__rest)(t,["mediaImage","mediaText","ctaUrl","onClickProps","data-bi-id","aria-label","target"]);W_("MediaGroupProduct",u);var d=rb(),p=AC(),h="icon"===n.imageType?"xxl":"lg",f="imageCard"===n.imageType;return ol().createElement(bw,(0,e.__assign)({href:o,onClick:null===i||void 0===i?void 0:i.onClick,styles:Zz(d,f),"data-bi-id":a,"aria-label":s,target:l},u),ol().createElement(dI,{size:f?function(){switch(p){case"l":return"lg";case"m":return"md";case"s":return"sm";default:return h}}():h,borderRadius:f?"8px":void 0,image:n,horizontal:!1},r&&ol().createElement(Jw,null,r)))},tU=function(t){var n=t.products,r=t.padding,o=void 0===r?"16px":r,i=(0,e.__rest)(t,["products","padding"]);qv("MediaGroup",i.id),(0,rl.useEffect)((function(){var e=[Xz(n),Jz(n)];Wb("MediaGroup",e)}),[n]),W_("MediaGroup",i);var a=!1;n.forEach((function(e){"imageCard"===e.mediaImage.imageType&&(a=!0)}));var s=AC(),c=rb(),l=function(e,t,n){return["xxl","xxxl"].includes(e)?t:n?Qz[e]:Yz[e]}(s,n.length,a),u=function(e,t){return e.reduce((function(e,n,r){return r%t===0?e.push([n]):e[e.length-1].push(n),e}),[])}(n,l);return ol().createElement(jv,(0,e.__assign)({styles:$z(c,a),tokens:{childrenGap:24},verticalAlign:"center",horizontalAlign:a?"center":void 0},i),ol().createElement(G_,null,u.map((function(t,n){return a?ol().createElement(jv,{tokens:{childrenGap:o},horizontal:!0,key:n},t.map((function(t,n){return ol().createElement(Vv,{key:n},ol().createElement(jv,{grow:1,styles:{root:{display:"flex",flexDirection:"row",justifyContent:"start"}}},ol().createElement(eU,(0,e.__assign)({},t))))}))):ol().createElement(Uw,{key:n,totalSlots:l},t.map((function(t,n){return ol().createElement(zw,{key:n,slots:1},ol().createElement(jv,{grow:1,styles:{root:{display:"flex",flexDirection:"row",justifyContent:"center"}}},ol().createElement(eU,(0,e.__assign)({},t))))})))}))))};function nU(e,t){void 0===t&&(t=null);var n=rl.useRef({ref:function(){var e=function(e){n.ref.current!==e&&(n.cleanup&&(n.cleanup(),n.cleanup=void 0),n.ref.current=e,null!==e&&(n.cleanup=n.callback(e)))};return e.current=t,e}(),callback:e}).current;return n.callback=e,n.ref}var rU=function(e){var t=e.onOverflowItemsChanged,n=e.rtl,r=e.pinnedIndex,o=rl.useRef(),i=rl.useRef(),a=nU((function(e){var t=function(e,t){if("undefined"!==typeof ResizeObserver){var n=new ResizeObserver(t);return Array.isArray(e)?e.forEach((function(e){return n.observe(e)})):n.observe(e),function(){return n.disconnect()}}var r=function(){return t(void 0)},o=kf(Array.isArray(e)?e[0]:e);if(!o)return function(){};var i=o.requestAnimationFrame(r);return o.addEventListener("resize",r,!1),function(){o.cancelAnimationFrame(i),o.removeEventListener("resize",r,!1)}}(e,(function(t){i.current=t?t[0].contentRect.width:e.clientWidth,o.current&&o.current()}));return function(){t(),i.current=void 0}})),s=nU((function(e){return a(e.parentElement),function(){return a(null)}}));return xx((function(){var e=a.current,c=s.current;if(e&&c){for(var l=[],u=0;u<e.children.length;u++){var d=e.children[u];d instanceof HTMLElement&&d!==c&&l.push(d)}var p=[],h=0;o.current=function(){var e=i.current;if(void 0!==e){for(var t=l.length-1;t>=0;t--){if(void 0===p[t]){var o=n?e-l[t].offsetLeft:l[t].offsetLeft+l[t].offsetWidth;t+1<l.length&&t+1===r&&(h=p[t+1]-o),t===l.length-2&&(h+=c.offsetWidth),p[t]=o+h}if(e>p[t])return void m(t+1)}m(0)}};var f=l.length,m=function(e){f!==e&&(f=e,t(e,l.map((function(t,n){return{ele:t,isOverflowing:n>=e&&n!==r}}))))},g=void 0;if(void 0!==i.current){var v=kf(e);if(v){var y=v.requestAnimationFrame(o.current);g=function(){return v.cancelAnimationFrame(y)}}}return function(){g&&g(),m(l.length),o.current=void 0}}})),{menuButtonRef:s}},oU=function(t){function n(e){var n=t.call(this,e)||this;return v_(n),n}return(0,e.__extends)(n,t),n.prototype.render=function(){return rl.createElement("div",(0,e.__assign)({},Nv(this.props,Mv)),this.props.children)},n}(rl.Component),iU=pb(),aU=function(t,n){var r={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return rl.Children.forEach(rl.Children.toArray(t.children),(function(o,i){if(sU(o)){var a=o.props,s=a.linkText,c=(0,e.__rest)(a,["linkText"]),l=o.props.itemKey||i.toString();r.links.push((0,e.__assign)((0,e.__assign)({headerText:s},c),{itemKey:l})),r.keyToIndexMapping[l]=i,r.keyToTabIdMapping[l]=function(e,t,n,r){return e.getTabId?e.getTabId(n,r):t+"-Tab"+r}(t,n,l,i)}else o&&qg("The children of a Pivot component must be of type PivotItem to be rendered.")})),r},sU=function(e){var t;return rl.isValidElement(e)&&(null===(t=e.type)||void 0===t?void 0:t.name)===oU.name},cU=rl.forwardRef((function(t,n){var r,o=rl.useRef(null),i=rl.useRef(null),a=Ik("Pivot"),s=SI(t.selectedKey,t.defaultSelectedKey),c=s[0],l=s[1],u=t.componentRef,d=t.theme,p=t.linkSize,h=t.linkFormat,f=t.overflowBehavior,m=t.overflowAriaLabel,g=t.focusZoneProps,v=t.overflowButtonAs,y={"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"]},b=Nv(t,Mv,["aria-label","aria-labelledby"]),_=aU(t,a);rl.useImperativeHandle(u,(function(){return{focus:function(){var e;null===(e=o.current)||void 0===e||e.focus()}}}));var C=function(e){if(!e)return null;var t=e.itemCount,n=e.itemIcon,o=e.headerText;return rl.createElement("span",{className:r.linkContent},void 0!==n&&rl.createElement("span",{className:r.icon},rl.createElement(HS,{iconName:n})),void 0!==o&&rl.createElement("span",{className:r.text}," ",e.headerText),void 0!==t&&rl.createElement("span",{className:r.count}," (",t,")"))},w=function(t,n,o,i){var a,s=n.itemKey,c=n.headerButtonProps,l=n.onRenderItemLink,u=t.keyToTabIdMapping[s],d=o===s;a=l?l(n,C):C(n);var p=n.headerText||"";p+=n.itemCount?" ("+n.itemCount+")":"",p+=n.itemIcon?" xx":"";var h=n.role&&"tab"!==n.role?{role:n.role}:{role:"tab","aria-selected":d};return rl.createElement(dB,(0,e.__assign)({},c,h,{id:u,key:s,className:Wv(i,d&&r.linkIsSelected),onClick:function(e){return E(s,e)},onKeyDown:function(e){return x(s,e)},"aria-label":n.ariaLabel,name:n.headerText,keytipProps:n.keytipProps,"data-content":p}),a)},E=function(e,t){t.preventDefault(),S(e,t)},x=function(e,t){t.which===uf&&(t.preventDefault(),S(e))},S=function(e,n){var r;if(l(e),_=aU(t,a),t.onLinkClick&&_.keyToIndexMapping[e]>=0){var o=_.keyToIndexMapping[e],s=rl.Children.toArray(t.children)[o];sU(s)&&t.onLinkClick(s,n)}null===(r=i.current)||void 0===r||r.dismissMenu()};r=iU(t.styles,{theme:d,linkSize:p,linkFormat:h});var k=function(){return null===(e=c)||void 0!==e&&void 0!==_.keyToIndexMapping[e]?c:_.links.length?_.links[0].itemKey:void 0;var e}(),T=k?_.keyToIndexMapping[k]:0,I=_.links.map((function(e){return w(_,e,k,r.link)})),A=rl.useMemo((function(){return{items:[],alignTargetEdge:!0,directionalHint:Z_}}),[]),P=rU({onOverflowItemsChanged:function(e,t){t.forEach((function(e){var t=e.ele,n=e.isOverflowing;return t.dataset.isOverflowing=""+n})),A.items=_.links.slice(e).filter((function(e){return e.itemKey!==k})).map((function(t,n){return t.role="menuitem",{key:t.itemKey||""+(e+n),onRender:function(){return w(_,t,k,r.linkInMenu)}}}))},rtl:Pf(d),pinnedIndex:T}).menuButtonRef,D=v||dB;return rl.createElement("div",(0,e.__assign)({ref:n},b),rl.createElement(q_,(0,e.__assign)({componentRef:o,role:"tablist"},y,{direction:Bb.horizontal},g,{className:Wv(r.root,null===g||void 0===g?void 0:g.className)}),I,"menu"===f&&rl.createElement(D,{className:Wv(r.link,r.overflowMenuButton),elementRef:P,componentRef:i,menuProps:A,menuIconProps:{iconName:"More",style:{color:"inherit"}},ariaLabel:m})),k&&_.links.map((function(e){return(!0===e.alwaysRender||k===e.itemKey)&&function(e,n){if(t.headersOnly||!e)return null;var o=_.keyToIndexMapping[e],i=_.keyToTabIdMapping[e];return rl.createElement("div",{role:"tabpanel",hidden:!n,key:e,"aria-hidden":!n,"aria-labelledby":i,className:r.itemContainer},rl.Children.toArray(t.children)[o])}(e.itemKey,k===e.itemKey)})))}));cU.displayName="Pivot";var lU,uU={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",linkInMenu:"ms-Pivot-linkInMenu",overflowMenuButton:"ms-Pivot-overflowMenuButton"},dU=function(t,n,r){var o,i,a;void 0===r&&(r=!1);var s=t.linkSize,c=t.linkFormat,l=t.theme,u=l.semanticColors,d=l.fonts,p="large"===s,h="tabs"===c;return[d.medium,{color:u.actionLink,padding:"0 8px",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:{":hover":{backgroundColor:u.buttonBackgroundHovered,color:u.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:u.buttonBackgroundPressed,color:u.buttonTextHovered},":focus":{outline:"none"}}},!r&&[{display:"inline-block",lineHeight:44,height:44,marginRight:8,textAlign:"center",selectors:(o={},o[".ms-Fabric--isFocusVisible &:focus"]={outline:"1px solid "+u.focusBorder},o[".ms-Fabric--isFocusVisible &:focus:after"]={content:"attr(data-content)",position:"relative",border:0},o[":before"]={backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left "+km+" "+xm+",\n                        right "+km+" "+xm},o[":after"]={color:"transparent",content:"attr(data-content)",display:"block",fontWeight:Bm.bold,height:1,overflow:"hidden",visibility:"hidden"},o)},p&&{fontSize:d.large.fontSize},h&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:u.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(i={":focus":{outlineOffset:"-1px"}},i[".ms-Fabric--isFocusVisible &:focus::before"]={height:"auto",background:"transparent",transition:"none"},i["&:hover, &:focus"]={color:u.buttonTextCheckedHovered},i["&:active, &:hover"]={color:u.primaryButtonText,backgroundColor:u.primaryButtonBackground},i["&."+n.linkIsSelected]={backgroundColor:u.primaryButtonBackground,color:u.primaryButtonText,fontWeight:Bm.regular,selectors:(a={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:0},":hover":{backgroundColor:u.primaryButtonBackgroundHovered,color:u.primaryButtonText},"&:active":{backgroundColor:u.primaryButtonBackgroundPressed,color:u.primaryButtonText}},a[Wm]=(0,e.__assign)({fontWeight:Bm.semibold,color:"HighlightText",background:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)},i)}]]]},pU=ib(cU,(function(t){var n,r,o,i,a=t.className,s=t.linkSize,c=t.linkFormat,l=t.theme,u=l.semanticColors,d=l.fonts,p=og(uU,l),h="large"===s,f="tabs"===c;return{root:[p.root,d.medium,Ug,{position:"relative",color:u.link,whiteSpace:"nowrap"},h&&p.rootIsLarge,f&&p.rootIsTabs,a],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:(0,e.__spreadArray)((0,e.__spreadArray)([p.link],dU(t,p)),[(n={},n["&[data-is-overflowing='true']"]={display:"none"},n)]),overflowMenuButton:[p.overflowMenuButton,(r={visibility:"hidden",position:"absolute",right:0},r["."+p.link+"[data-is-overflowing='true'] ~ &"]={visibility:"visible",position:"relative"},r)],linkInMenu:(0,e.__spreadArray)((0,e.__spreadArray)([p.linkInMenu],dU(t,p,!0)),[{textAlign:"left",width:"100%",height:36,lineHeight:36}]),linkIsSelected:[p.link,p.linkIsSelected,{fontWeight:Bm.semibold,selectors:(o={":before":{backgroundColor:u.inputBackgroundChecked,selectors:(i={},i[Wm]={backgroundColor:"Highlight"},i)},":hover::before":{left:0,right:0}},o[Wm]={color:"Highlight"},o)}],linkContent:[p.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[p.text,{display:"inline-block",verticalAlign:"top"}],count:[p.count,{display:"inline-block",verticalAlign:"top"}],icon:p.icon}}),void 0,{scope:"Pivot"}),hU=ol().createContext(void 0),fU=ol().createContext(""),mU=function(){return{pointerEvents:"none",position:"fixed",width:"100%",bottom:0,left:0,zIndex:Sl.twoUINotificationBar,padding:"0 0 10px 0"}},gU=function(e,t,n,r){var o,i="neutralHigh";"error"===t?i="severeWarning":n&&(i="themeLighterAlt");var a=sw(e,i),s="400px",c="800px";return"s"===r?(s="min(400px, calc(100vw - 32px))",c="calc(100vw - 32px)"):"m"===r?c="calc(100vw - 64px)":"l"===r&&(c="min(800px, calc(100vw - 96px))"),{root:(o={minHeight:48,maxHeight:92,minWidth:s,maxWidth:c,padding:"0 16px 0 16px",boxShadow:Ow.controls,backgroundColor:a,borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"space-between",pointerEvents:"auto"},o[Wm]={outline:"1px solid highlight"},o)}},vU=(0,rl.forwardRef)((function(t,n){var r=t.iconName,o=t.message,i=t.ariaMessage,a=t.notificationAction,s=t.closeButton,c=t.showTime,l=void 0===c?1e4:c,u=t.notificationBarType,d=void 0===u?"info":u,p=t.isThemeStyle,h=void 0!==p&&p,f=(0,rl.useContext)(fU);qv("NotificationBar");var m=(0,rl.useContext)(hU),g=Ik(),v=rb(),y=AC(),b=(0,rl.useRef)(null),_=null===n,C=(0,rl.useState)((function(){return _?"visible":"hidden"})),w=C[0],E=C[1],x=(0,rl.useRef)(0);wl((function(){return clearTimeout(b.current)})),(0,rl.useEffect)((function(){_&&T()}),[]);var S=function(){clearTimeout(b.current)},k=function(){if("visible"===w){var e=l-(Date.now()-x.current);b.current=setTimeout((function(){A()}),Math.max(e,1e3))}},T=function(){clearTimeout(b.current),x.current=Date.now(),b.current=setTimeout((function(){A()}),l),E("visible")},I=function e(){var t=document.getElementById(g);null===t||void 0===t||t.removeEventListener("webkitAnimationEnd",e),null===t||void 0===t||t.removeEventListener("animationend",e),E((function(e){return"slideOut"===e?"hidden":e})),null===m||void 0===m||m.removeNotificationBar(f)},A=function(){clearTimeout(b.current);var e=document.getElementById(g);null===e||void 0===e||e.addEventListener("webkitAnimationEnd",I),null===e||void 0===e||e.addEventListener("animationend",I),E("slideOut")};(0,rl.useImperativeHandle)(n,(function(){return{showNotificationBar:T,hideNotificationBar:A}}));var P="error"===d?"errorIcon":"successIcon",D="error"===d?"errorBlockIcon":"bodyPrimaryText",R="error"===d?"default":"primary",M="error"===d?"errorIcon":"black";return"hidden"===w?ol().createElement(ol().Fragment,null):ol().createElement(jv,{id:g,styles:{root:["visible"===w?Am.slideUpIn20:Am.slideDownOut20,_?void 0:mU()]},horizontalAlign:"center",verticalAlign:"center"},ol().createElement(jv,{onMouseEnter:S,onMouseLeave:k,onFocus:S,onBlur:k,tokens:{childrenGap:8},styles:gU(v,d,h,y),horizontal:!0},r&&ol().createElement(jv.Item,{align:"auto"},ol().createElement(uw,{iconName:r,size:"16px",color:P})),ol().createElement(jv.Item,{align:"auto",grow:!0,styles:{root:{margin:"12px 0px 12px 0px"}}},ol().createElement(Gx,{variant:D,lines:3},o)),a&&ol().createElement(jv.Item,{align:"auto",disableShrink:!0},ol().createElement(DT,(0,e.__assign)({},a,{type:R}))),ol().createElement(jv.Item,{align:"auto",styles:{root:{marginLeft:"auto",marginRight:"-8px"}}},ol().createElement(RT,(0,e.__assign)({iconName:"Cancel",iconColor:M},s,{onClick:A})))),ol().createElement(CA,{message:i,ariaLive:"assertive"}))}));!function(e){e[e.valid=0]="valid",e[e.warning=1]="warning",e[e.invalid=2]="invalid"}(lU||(lU={}));lU.valid,lU.warning,lU.invalid;var yU=__webpack_require__(18287),bU=__webpack_require__(35556),_U=__webpack_require__.n(bU),CU=function(e){return"function"===typeof e},wU=function(e){return e},EU=function(e){return null===e};var xU={};function SU(e,t){!function(e,t){xU[e]=t}(e,t.getLogProperties||null);var n=function(e,t,n){void 0===t&&(t=wU),_U()(CU(t)||EU(t),"Expected payloadCreator to be a function, undefined or null");var r=EU(t)||t===wU?wU:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e instanceof Error?e:t.apply(void 0,[e].concat(r))},o=CU(n),i=e.toString(),a=function(){var t=r.apply(void 0,arguments),i={type:e};return t instanceof Error&&(i.error=!0),void 0!==t&&(i.payload=t),o&&(i.meta=n.apply(void 0,arguments)),i};return a.toString=function(){return i},a}(e,(function(e){return e}),(function(){return{featureName:t.featureName,exportOptions:t.exportOptions||null}}));return n}var kU="ReduxStateJanitorStartedAction";SU(kU,{featureName:"NoLogging"});function TU(){var t={},n={};return{handlePayload:function(e,r){var o=e.toString();if(t[o]||n[o])throw new Error("Already handling an action type named ".concat(o));return t[o]=r,this},handleAction:function(e,r){var o=e.toString();if(t[o]||n[o])throw new Error("Already handling an action type named ".concat(o));return n[o]=r,this},done:function(r,o){var i=(0,e.__assign)({},t),a=(0,e.__assign)({},n);return function(e,t){if(void 0===e&&(e=r),t.type===kU)return o?o(e):r;var n=i[t.type];if(n)e=n(e,t.payload);else{var s=a[t.type];s&&(e=s(e,t))}return e}}}}var IU=__webpack_require__(77465),AU=__webpack_require__(68038);function PU(t,n,r,o){if(!n.length)return t;var i=(0,e.__assign)({},t),a=!1;return n.forEach((function(e,t){var n=o(e,t),s=r(e,t,n);i[s]!==n&&(i[s]=n,a=!0)})),a?i:t}var DU={create:function(e){var t={};if(void 0===e||null===e)return t;if(e instanceof Array)for(var n=0;n<e.length;n++){var r=e[n];t[r[0]]=r[1]}else Object.keys(e).forEach((function(n){t[n]=e[n]}));return t},map:function(e,t){if(!e)return e;var n={},r=!1;return Object.keys(e).forEach((function(o){var i=e[o],a=t(o,i,e);n[o]=a,r=r||a!==i})),r?n:e},filter:function(e,t){if(!e)return e;var n={},r=!1;return Object.keys(e).forEach((function(o){var i=e[o];t(o,i,e)?n[o]=i:r=!0})),r?n:e},get:function(e,t){if(e)return e[t]},insert:function(t,n,r){if(t&&t[n]===r)return t;var o=(0,e.__assign)({},t);return o[n]=r,o},insertArray:function(e,t,n){return PU(e,t,n,(function(e){return e}))},insertArrayWith:PU,remove:function(t,n){if(!t)return t;if(!(n in t))return t;var r=(0,e.__assign)({},t);return delete r[n],r},replace:function(t,n,r){var o=t?(0,e.__assign)({},t):{};return o[n]=r(o[n]),o},replaceMany:function(t,n,r){if(n.length){var o=(0,e.__assign)({},t);return n.forEach((function(e){o[e]=r(o[e],e)})),o}return t},keys:function(e){return e?Object.keys(e):[]},values:function(e){var t=[];return e&&Object.keys(e).forEach((function(n){var r=e[n];t.push(r)})),t},entries:function(e){var t=[];return e&&Object.keys(e).forEach((function(n){var r=e[n];t.push([n,r])})),t}};function RU(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var MU="function"===typeof Symbol&&Symbol.observable||"@@observable",NU=function(){return Math.random().toString(36).substring(7).split("").join(".")},LU={INIT:"@@redux/INIT"+NU(),REPLACE:"@@redux/REPLACE"+NU(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+NU()}};function OU(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function FU(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(RU(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(RU(1));return n(FU)(e,t)}if("function"!==typeof e)throw new Error(RU(2));var o=e,i=t,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){if(c)throw new Error(RU(3));return i}function d(e){if("function"!==typeof e)throw new Error(RU(4));if(c)throw new Error(RU(5));var t=!0;return l(),s.push(e),function(){if(t){if(c)throw new Error(RU(6));t=!1,l();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!OU(e))throw new Error(RU(7));if("undefined"===typeof e.type)throw new Error(RU(8));if(c)throw new Error(RU(9));try{c=!0,i=o(i,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}function h(e){if("function"!==typeof e)throw new Error(RU(10));o=e,p({type:LU.REPLACE})}function f(){var e,t=d;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(RU(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[MU]=function(){return this},e}return p({type:LU.INIT}),(r={dispatch:p,subscribe:d,getState:u,replaceReducer:h})[MU]=f,r}function BU(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:LU.INIT}))throw new Error(RU(12));if("undefined"===typeof n(void 0,{type:LU.PROBE_UNKNOWN_ACTION()}))throw new Error(RU(13))}))}(n)}catch(Ple){i=Ple}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},s=0;s<a.length;s++){var c=a[s],l=n[c],u=e[c],d=l(u,t);if("undefined"===typeof d){t&&t.type;throw new Error(RU(14))}o[c]=d,r=r||d!==u}return(r=r||a.length!==Object.keys(e).length)?o:e}}var HU="PhotoPicker";function zU(e,t){return void 0===t&&(t=null),SU("".concat(HU).concat(e,"Action"),{featureName:HU,exportOptions:t?{exportType:"UserInteraction",exportName:t}:void 0})}var UU=zU("UploadedPhotoTooSmall"),VU=zU("CancelButtonClicked","PhotoPickerCancelButtonClicked"),jU=zU("CloseButtonClicked","PhotoPickerCloseButtonClickedAction"),qU=zU("DoneButtonClicked","PhotoPickerDoneButtonClickedAction"),WU=zU("UploadNewPhotoButtonClicked","PhotoPickerUploadNewPhotoButtonClickedAction"),GU=zU("ImageEditPaneDismissed","PhotoPickerImageEditPaneDismissed"),KU=zU("ImageUpdated"),YU=zU("LoadedCurrentImage"),QU=zU("LoadedEmptyImage"),XU=zU("LoadedNewImage"),JU=zU("SomethingWentWrong"),$U=zU("UploadStarted","PhotoPickerApplyButtonClicked"),ZU=zU("UploadProgress"),eV=zU("UploadSucceeded"),tV=zU("WarningDismissed"),nV=zU("Keyboard"),rV=zU("ImageRotate"),oV=zU("Zoom"),iV=zU("ImageLoaded"),aV=zU("DragStarted"),sV=zU("DragProgress"),cV=zU("ResetEditCanvas"),lV=zU("EmptyImageRendered"),uV=zU("SetImageUpdated"),dV=zU("PhotoListImageSelected"),pV=zU("NewImageUploaded"),hV=zU("PhotoListLoadPhotos"),fV=function(){return fV=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},fV.apply(this,arguments)},mV=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},gV={xpos:0,ypos:0,absoluteScale:1,relativeScale:0,stepSize:.1,imageRotationAngle:0,orientation:1,maximumScale:1,naturalMin:0,naturalWidth:0,naturalHeight:0,moving:!1,lastMouseX:0,lastMouseY:0,zoomInDisabled:!0,zoomOutDisabled:!0,image:void 0,initialRender:!0,imageUpdated:!0},vV={photoPicker:{dataUrl:void 0,currentImageDataUrl:void 0,status:"READY",warning:void 0,show:!1,isUpdated:!1,uploadStart:0,uploadDuration:0,isUploadedPhotoTooSmall:!1},editCanvas:fV(fV({},gV),{originalCanvasState:gV}),photoList:{selectedIndex:0,imageUrls:[]}},yV=function(e,t,n){var r=t(void 0,{type:void 0}),o=function(e,t){var n=e.name;return(0,AU.P1)((function(t){return DU.get(t.stores,n)||e.initialState}),(function(e){return(0,IU.M)(t(e))}))}({name:e,initialState:r},n);return{name:e,initialState:r,reducer:t,getSelectors:o}}("PhotoPickerStore",BU({photoPicker:TU().handleAction(VU,bV).handleAction(jU,bV).handleAction(qU,bV).handleAction(GU,bV).handleAction(tV,(function(e){return(0,yU.ok)(e,{status:"READY",warning:void 0})})).handleAction(YU,(function(e,t){var n=t.payload.dataUrl;return(0,yU.ok)(e,{dataUrl:e.dataUrl||n,currentImageDataUrl:e.currentImageDataUrl||n,isUpdated:!!t.payload.isSuggestedPhoto||!!t.payload.isPhotoListPresent})})).handleAction(XU,(function(e,t){return(0,yU.ok)(e,{dataUrl:t.payload.dataUrl,status:"READY",warning:void 0,isUpdated:t.payload.dataUrl!==e.currentImageDataUrl||!!t.payload.isPhotoListPresent,fileName:t.payload.fileName})})).handleAction(QU,(function(e,t){return(0,yU.ok)(e,{dataUrl:"",status:"READY",warning:void 0,isUpdated:!!e.currentImageDataUrl||!!t.payload.isPhotoListPresent,fileName:void 0})})).handleAction($U,(function(e,t){return(0,yU.ok)(e,{status:"IN_PROGRESS",warning:void 0,uploadStart:t.payload.now,uploadDuration:0})})).handleAction(ZU,(function(e,t){return"IN_PROGRESS"===e.status?(0,yU.ok)(e,{uploadDuration:t.payload.now-e.uploadStart}):e})).handleAction(eV,(function(e,t){return(0,yU.ok)(e,{currentImageDataUrl:t.payload.dataUrl,status:"SUCCESS",warning:void 0})})).handleAction(JU,(function(e,t){return(0,yU.ok)(e,{status:"SOMETHING_WENT_WRONG",warning:t.payload.warning})})).handleAction(KU,(function(e){return(0,yU.ok)(e,{isUpdated:!0})})).handleAction(UU,(function(e,t){return(0,yU.ok)(e,t.payload)})).done(vV.photoPicker),editCanvas:TU().handleAction(cV,_V).handleAction(nV,(function(e,t){return(0,yU.ok)(e,t.payload)})).handleAction(oV,(function(e,t){return(0,yU.ok)(e,t.payload)})).handleAction(iV,(function(e,t){return(0,yU.ok)(e,fV(fV({},t.payload),{originalCanvasState:e.originalCanvasState.initialRender?(0,yU.ok)(e.originalCanvasState,t.payload):e.originalCanvasState}))})).handleAction(aV,(function(e,t){return(0,yU.ok)(e,t.payload)})).handleAction(sV,(function(e,t){return(0,yU.ok)(e,t.payload)})).handleAction(uV,(function(e){return(0,yU.ok)(e,{imageUpdated:!0})})).handleAction(lV,(function(e){return(0,yU.ok)(e,{initialRender:!1})})).handleAction(VU,_V).handleAction(jU,_V).handleAction(qU,_V).handleAction(GU,_V).handleAction(rV,(function(e,t){return(0,yU.ok)(e,t.payload)})).done(vV.editCanvas),photoList:TU().handleAction(dV,(function(e,t){return(0,yU.ok)(e,t.payload)})).handleAction(pV,(function(e,t){return(0,yU.ok)(e,{selectedIndex:t.payload.selectedIndex,imageUrls:mV([t.payload.newImageUrl],e.imageUrls,!0)})})).handleAction(hV,(function(e,t){return(0,yU.ok)(e,t.payload)})).handleAction(VU,CV).handleAction(jU,CV).handleAction(qU,CV).handleAction(GU,CV).done(vV.photoList)}),(function(e){return{getPhotoPickerState:function(){return e.photoPicker},getEditCanvasState:function(){return e.editCanvas},getPhotoListState:function(){return e.photoList}}}));function bV(e){return(0,yU.ok)(e,{dataUrl:void 0,currentImageDataUrl:void 0,status:"READY",warning:void 0,isUpdated:!1,fileName:void 0})}function _V(e){return(0,yU.ok)(e,vV.editCanvas)}function CV(e){return(0,yU.ok)(e,vV.photoList)}var wV=__webpack_require__(16038),EV="object"==typeof global&&global&&global.Object===Object&&global,xV="object"==typeof self&&self&&self.Object===Object&&self,SV=EV||xV||Function("return this")(),kV=SV.Symbol,TV=Object.prototype,IV=TV.hasOwnProperty,AV=TV.toString,PV=kV?kV.toStringTag:void 0;var DV=function(e){var t=IV.call(e,PV),n=e[PV];try{e[PV]=void 0;var r=!0}catch(Ple){}var o=AV.call(e);return r&&(t?e[PV]=n:delete e[PV]),o},RV=Object.prototype.toString;var MV=function(e){return RV.call(e)},NV=kV?kV.toStringTag:void 0;var LV=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":NV&&NV in Object(e)?DV(e):MV(e)};var OV=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var FV=function(e){if(!OV(e))return!1;var t=LV(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},BV=SV["__core-js_shared__"],HV=function(){var e=/[^.]+$/.exec(BV&&BV.keys&&BV.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var zV=function(e){return!!HV&&HV in e},UV=Function.prototype.toString;var VV=function(e){if(null!=e){try{return UV.call(e)}catch(Ple){}try{return e+""}catch(Ple){}}return""},jV=/^\[object .+?Constructor\]$/,qV=Function.prototype,WV=Object.prototype,GV=qV.toString,KV=WV.hasOwnProperty,YV=RegExp("^"+GV.call(KV).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var QV=function(e){return!(!OV(e)||zV(e))&&(FV(e)?YV:jV).test(VV(e))};var XV=function(e,t){return null==e?void 0:e[t]};var JV=function(e,t){var n=XV(e,t);return QV(n)?n:void 0},$V=function(){try{var e=JV(Object,"defineProperty");return e({},"",{}),e}catch(Ple){}}();var ZV=function(e,t,n){"__proto__"==t&&$V?$V(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var ej=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}},tj=ej();var nj=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var rj=function(e){return null!=e&&"object"==typeof e};var oj=function(e){return rj(e)&&"[object Arguments]"==LV(e)},ij=Object.prototype,aj=ij.hasOwnProperty,sj=ij.propertyIsEnumerable,cj=oj(function(){return arguments}())?oj:function(e){return rj(e)&&aj.call(e,"callee")&&!sj.call(e,"callee")},lj=cj,uj=Array.isArray;var dj=function(){return!1},pj="object"==typeof exports&&exports&&!exports.nodeType&&exports,hj=pj&&"object"==typeof module&&module&&!module.nodeType&&module,fj=hj&&hj.exports===pj?SV.Buffer:void 0,mj=(fj?fj.isBuffer:void 0)||dj,gj=/^(?:0|[1-9]\d*)$/;var vj=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&gj.test(e))&&e>-1&&e%1==0&&e<t};var yj=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},bj={};bj["[object Float32Array]"]=bj["[object Float64Array]"]=bj["[object Int8Array]"]=bj["[object Int16Array]"]=bj["[object Int32Array]"]=bj["[object Uint8Array]"]=bj["[object Uint8ClampedArray]"]=bj["[object Uint16Array]"]=bj["[object Uint32Array]"]=!0,bj["[object Arguments]"]=bj["[object Array]"]=bj["[object ArrayBuffer]"]=bj["[object Boolean]"]=bj["[object DataView]"]=bj["[object Date]"]=bj["[object Error]"]=bj["[object Function]"]=bj["[object Map]"]=bj["[object Number]"]=bj["[object Object]"]=bj["[object RegExp]"]=bj["[object Set]"]=bj["[object String]"]=bj["[object WeakMap]"]=!1;var _j=function(e){return rj(e)&&yj(e.length)&&!!bj[LV(e)]};var Cj=function(e){return function(t){return e(t)}},wj="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ej=wj&&"object"==typeof module&&module&&!module.nodeType&&module,xj=Ej&&Ej.exports===wj&&EV.process,Sj=function(){try{var e=Ej&&Ej.require&&Ej.require("util").types;return e||xj&&xj.binding&&xj.binding("util")}catch(Ple){}}(),kj=Sj&&Sj.isTypedArray,Tj=kj?Cj(kj):_j,Ij=Object.prototype.hasOwnProperty;var Aj=function(e,t){var n=uj(e),r=!n&&lj(e),o=!n&&!r&&mj(e),i=!n&&!r&&!o&&Tj(e),a=n||r||o||i,s=a?nj(e.length,String):[],c=s.length;for(var l in e)!t&&!Ij.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||vj(l,c))||s.push(l);return s},Pj=Object.prototype;var Dj=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pj)};var Rj=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),Mj=Object.prototype.hasOwnProperty;var Nj=function(e){if(!Dj(e))return Rj(e);var t=[];for(var n in Object(e))Mj.call(e,n)&&"constructor"!=n&&t.push(n);return t};var Lj=function(e){return null!=e&&yj(e.length)&&!FV(e)};var Oj=function(e){return Lj(e)?Aj(e):Nj(e)};var Fj=function(e,t){return e&&tj(e,t,Oj)};var Bj=function(){this.__data__=[],this.size=0};var Hj=function(e,t){return e===t||e!==e&&t!==t};var zj=function(e,t){for(var n=e.length;n--;)if(Hj(e[n][0],t))return n;return-1},Uj=Array.prototype.splice;var Vj=function(e){var t=this.__data__,n=zj(t,e);return!(n<0)&&(n==t.length-1?t.pop():Uj.call(t,n,1),--this.size,!0)};var jj=function(e){var t=this.__data__,n=zj(t,e);return n<0?void 0:t[n][1]};var qj=function(e){return zj(this.__data__,e)>-1};var Wj=function(e,t){var n=this.__data__,r=zj(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Gj(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gj.prototype.clear=Bj,Gj.prototype.delete=Vj,Gj.prototype.get=jj,Gj.prototype.has=qj,Gj.prototype.set=Wj;var Kj=Gj;var Yj=function(){this.__data__=new Kj,this.size=0};var Qj=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Xj=function(e){return this.__data__.get(e)};var Jj=function(e){return this.__data__.has(e)},$j=JV(SV,"Map"),Zj=JV(Object,"create");var eq=function(){this.__data__=Zj?Zj(null):{},this.size=0};var tq=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},nq=Object.prototype.hasOwnProperty;var rq=function(e){var t=this.__data__;if(Zj){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return nq.call(t,e)?t[e]:void 0},oq=Object.prototype.hasOwnProperty;var iq=function(e){var t=this.__data__;return Zj?void 0!==t[e]:oq.call(t,e)};var aq=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Zj&&void 0===t?"__lodash_hash_undefined__":t,this};function sq(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}sq.prototype.clear=eq,sq.prototype.delete=tq,sq.prototype.get=rq,sq.prototype.has=iq,sq.prototype.set=aq;var cq=sq;var lq=function(){this.size=0,this.__data__={hash:new cq,map:new($j||Kj),string:new cq}};var uq=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var dq=function(e,t){var n=e.__data__;return uq(t)?n["string"==typeof t?"string":"hash"]:n.map};var pq=function(e){var t=dq(this,e).delete(e);return this.size-=t?1:0,t};var hq=function(e){return dq(this,e).get(e)};var fq=function(e){return dq(this,e).has(e)};var mq=function(e,t){var n=dq(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function gq(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}gq.prototype.clear=lq,gq.prototype.delete=pq,gq.prototype.get=hq,gq.prototype.has=fq,gq.prototype.set=mq;var vq=gq;var yq=function(e,t){var n=this.__data__;if(n instanceof Kj){var r=n.__data__;if(!$j||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new vq(r)}return n.set(e,t),this.size=n.size,this};function bq(e){var t=this.__data__=new Kj(e);this.size=t.size}bq.prototype.clear=Yj,bq.prototype.delete=Qj,bq.prototype.get=Xj,bq.prototype.has=Jj,bq.prototype.set=yq;var _q=bq;var Cq=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var wq=function(e){return this.__data__.has(e)};function Eq(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new vq;++t<n;)this.add(e[t])}Eq.prototype.add=Eq.prototype.push=Cq,Eq.prototype.has=wq;var xq=Eq;var Sq=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var kq=function(e,t){return e.has(t)};var Tq=function(e,t,n,r,o,i){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=i.get(e),u=i.get(t);if(l&&u)return l==t&&u==e;var d=-1,p=!0,h=2&n?new xq:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var f=e[d],m=t[d];if(r)var g=a?r(m,f,d,t,e,i):r(f,m,d,e,t,i);if(void 0!==g){if(g)continue;p=!1;break}if(h){if(!Sq(t,(function(e,t){if(!kq(h,t)&&(f===e||o(f,e,n,r,i)))return h.push(t)}))){p=!1;break}}else if(f!==m&&!o(f,m,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p},Iq=SV.Uint8Array;var Aq=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var Pq=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Dq=kV?kV.prototype:void 0,Rq=Dq?Dq.valueOf:void 0;var Mq=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new Iq(e),new Iq(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Hj(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Aq;case"[object Set]":var c=1&r;if(s||(s=Pq),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;r|=2,a.set(e,t);var u=Tq(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(Rq)return Rq.call(e)==Rq.call(t)}return!1};var Nq=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e};var Lq=function(e,t,n){var r=t(e);return uj(e)?r:Nq(r,n(e))};var Oq=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};var Fq=function(){return[]},Bq=Object.prototype.propertyIsEnumerable,Hq=Object.getOwnPropertySymbols,zq=Hq?function(e){return null==e?[]:(e=Object(e),Oq(Hq(e),(function(t){return Bq.call(e,t)})))}:Fq;var Uq=function(e){return Lq(e,Oj,zq)},Vq=Object.prototype.hasOwnProperty;var jq=function(e,t,n,r,o,i){var a=1&n,s=Uq(e),c=s.length;if(c!=Uq(t).length&&!a)return!1;for(var l=c;l--;){var u=s[l];if(!(a?u in t:Vq.call(t,u)))return!1}var d=i.get(e),p=i.get(t);if(d&&p)return d==t&&p==e;var h=!0;i.set(e,t),i.set(t,e);for(var f=a;++l<c;){var m=e[u=s[l]],g=t[u];if(r)var v=a?r(g,m,u,t,e,i):r(m,g,u,e,t,i);if(!(void 0===v?m===g||o(m,g,n,r,i):v)){h=!1;break}f||(f="constructor"==u)}if(h&&!f){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(h=!1)}return i.delete(e),i.delete(t),h},qq=JV(SV,"DataView"),Wq=JV(SV,"Promise"),Gq=JV(SV,"Set"),Kq=JV(SV,"WeakMap"),Yq="[object Map]",Qq="[object Promise]",Xq="[object Set]",Jq="[object WeakMap]",$q="[object DataView]",Zq=VV(qq),eW=VV($j),tW=VV(Wq),nW=VV(Gq),rW=VV(Kq),oW=LV;(qq&&oW(new qq(new ArrayBuffer(1)))!=$q||$j&&oW(new $j)!=Yq||Wq&&oW(Wq.resolve())!=Qq||Gq&&oW(new Gq)!=Xq||Kq&&oW(new Kq)!=Jq)&&(oW=function(e){var t=LV(e),n="[object Object]"==t?e.constructor:void 0,r=n?VV(n):"";if(r)switch(r){case Zq:return $q;case eW:return Yq;case tW:return Qq;case nW:return Xq;case rW:return Jq}return t});var iW=oW,aW="[object Arguments]",sW="[object Array]",cW="[object Object]",lW=Object.prototype.hasOwnProperty;var uW=function(e,t,n,r,o,i){var a=uj(e),s=uj(t),c=a?sW:iW(e),l=s?sW:iW(t),u=(c=c==aW?cW:c)==cW,d=(l=l==aW?cW:l)==cW,p=c==l;if(p&&mj(e)){if(!mj(t))return!1;a=!0,u=!1}if(p&&!u)return i||(i=new _q),a||Tj(e)?Tq(e,t,n,r,o,i):Mq(e,t,c,n,r,o,i);if(!(1&n)){var h=u&&lW.call(e,"__wrapped__"),f=d&&lW.call(t,"__wrapped__");if(h||f){var m=h?e.value():e,g=f?t.value():t;return i||(i=new _q),o(m,g,n,r,i)}}return!!p&&(i||(i=new _q),jq(e,t,n,r,o,i))};var dW=function e(t,n,r,o,i){return t===n||(null==t||null==n||!rj(t)&&!rj(n)?t!==t&&n!==n:uW(t,n,r,o,e,i))};var pW=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var c=(s=n[o])[0],l=e[c],u=s[1];if(a&&s[2]){if(void 0===l&&!(c in e))return!1}else{var d=new _q;if(r)var p=r(l,u,c,e,t,d);if(!(void 0===p?dW(u,l,3,r,d):p))return!1}}return!0};var hW=function(e){return e===e&&!OV(e)};var fW=function(e){for(var t=Oj(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,hW(o)]}return t};var mW=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};var gW=function(e){var t=fW(e);return 1==t.length&&t[0][2]?mW(t[0][0],t[0][1]):function(n){return n===e||pW(n,e,t)}};var vW=function(e){return"symbol"==typeof e||rj(e)&&"[object Symbol]"==LV(e)},yW=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bW=/^\w*$/;var _W=function(e,t){if(uj(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!vW(e))||(bW.test(e)||!yW.test(e)||null!=t&&e in Object(t))};function CW(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(CW.Cache||vq),n}CW.Cache=vq;var wW=CW;var EW=function(e){var t=wW(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t},xW=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,SW=/\\(\\)?/g,kW=EW((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(xW,(function(e,n,r,o){t.push(r?o.replace(SW,"$1"):n||e)})),t})),TW=kW;var IW=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},AW=kV?kV.prototype:void 0,PW=AW?AW.toString:void 0;var DW=function e(t){if("string"==typeof t)return t;if(uj(t))return IW(t,e)+"";if(vW(t))return PW?PW.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n};var RW=function(e){return null==e?"":DW(e)};var MW=function(e,t){return uj(e)?e:_W(e,t)?[e]:TW(RW(e))};var NW=function(e){if("string"==typeof e||vW(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var LW=function(e,t){for(var n=0,r=(t=MW(t,e)).length;null!=e&&n<r;)e=e[NW(t[n++])];return n&&n==r?e:void 0};var OW=function(e,t,n){var r=null==e?void 0:LW(e,t);return void 0===r?n:r};var FW=function(e,t){return null!=e&&t in Object(e)};var BW=function(e,t,n){for(var r=-1,o=(t=MW(t,e)).length,i=!1;++r<o;){var a=NW(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&yj(o)&&vj(a,o)&&(uj(e)||lj(e))};var HW=function(e,t){return null!=e&&BW(e,t,FW)};var zW=function(e,t){return _W(e)&&hW(t)?mW(NW(e),t):function(n){var r=OW(n,e);return void 0===r&&r===t?HW(n,e):dW(t,r,3)}};var UW=function(e){return e};var VW=function(e){return function(t){return null==t?void 0:t[e]}};var jW=function(e){return function(t){return LW(t,e)}};var qW=function(e){return _W(e)?VW(NW(e)):jW(e)};var WW=function(e){return"function"==typeof e?e:null==e?UW:"object"==typeof e?uj(e)?zW(e[0],e[1]):gW(e):qW(e)};var GW=function(e,t){var n={};return t=WW(t,3),Fj(e,(function(e,r,o){ZV(n,r,t(e,r,o))})),n};var KW=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r};var YW=function(e,t){return function(n,r){if(null==n)return n;if(!Lj(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}},QW=YW(Fj);var XW=function(e,t,n,r){return QW(e,(function(e,o,i){t(r,e,n(e),i)})),r};var JW=function(e,t){return function(n,r){var o=uj(n)?KW:XW,i=t?t():{};return o(n,e,WW(r,2),i)}},$W=Object.prototype.hasOwnProperty,ZW=JW((function(e,t,n){$W.call(e,n)?e[n].push(t):ZV(e,n,[t])})),eG=ZW,tG="selectors",nG="stores",rG=SU("LOAD_STATE",{featureName:"NoLogging"});var oG={exportCss:function(){}};function iG(e,t){console.error("Exception in ".concat(e)),console.error(t)}function aG(e){if(!e||!e.handleException)return{handleException:iG};var t=!1;return{handleException:function(n,r){if(t)iG(n,r);else{t=!0;try{e.handleException(n,r)}finally{t=!1}}}}}var sG=aG(void 0),cG=1;function lG(e){return e._Name||e.name||"Unknown"}var uG=function(){function e(e){this.singletonsByIndex={},this._exceptionHandler=sG,this._cssExtractor=oG,this.reduxStore=e&&e.reduxStore}return Object.defineProperty(e.prototype,"exceptionHandler",{get:function(){return this._exceptionHandler},set:function(e){this._exceptionHandler=aG(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cssExtractor",{get:function(){return this._cssExtractor},set:function(e){this._cssExtractor=e},enumerable:!1,configurable:!0}),e.prototype.addSingleton=function(e){if(this.findSingleton(e.constructor))throw new Error("Singleton ".concat(lG(e.constructor)," already exists."));var t,n=("number"!==typeof(t=e.constructor)._singleton_index&&(t._singleton_index=cG,cG+=1),t._singleton_index);if(void 0!==this.singletonsByIndex[n])throw new Error("Singleton with index ".concat(n," already exists."));this.singletonsByIndex[n]=e},e.prototype.getSingleton=function(e){var t=this.findSingleton(e);if(void 0===t)throw new Error("Singleton ".concat(lG(e)," not found."));return t},e.prototype.findSingleton=function(e){if("number"===typeof e._singleton_index){var t=this.singletonsByIndex[e._singleton_index];return t&&t.constructor===e?t:void 0}},e}(),dG={appContext:Nu.instanceOf(uG).isRequired},pG=ol().createContext(null);var hG=function(e){e()},fG=function(){return hG};var mG={notify:function(){},get:function(){return[]}};function gG(e,t){var n,r=mG;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=fG(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=mG)},getListeners:function(){return r}};return a}var vG="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?rl.useLayoutEffect:rl.useEffect;var yG=function(e){var t=e.store,n=e.context,r=e.children,o=(0,rl.useMemo)((function(){var e=gG(t);return{store:t,subscription:e}}),[t]),i=(0,rl.useMemo)((function(){return t.getState()}),[t]);vG((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),i!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,i]);var a=n||pG;return ol().createElement(a.Provider,{value:o},r)},bG=__webpack_require__(9462),_G=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],CG=["reactReduxForwardedRef"],wG=[],EG=[null,null];function xG(e,t){var n=e[1];return[t.payload,n+1]}function SG(e,t,n){vG((function(){return e.apply(void 0,t)}),n)}function kG(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function TG(e,t,n,r,o,i,a,s,c,l){if(e){var u=!1,d=null,p=function(){if(!u){var e,n,p=t.getState();try{e=r(p,o.current)}catch(Ple){n=Ple,d=Ple}n||(d=null),e===i.current?a.current||c():(i.current=e,s.current=e,a.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var IG=function(){return[null,0]};function AG(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,o=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,i=n.methodName,a=void 0===i?"connectAdvanced":i,s=n.renderCountProp,c=void 0===s?void 0:s,l=n.shouldHandleStateChanges,u=void 0===l||l,d=n.storeKey,p=void 0===d?"store":d,h=(n.withRef,n.forwardRef),f=void 0!==h&&h,m=n.context,g=void 0===m?pG:m,v=yd(n,_G),y=g;return function(t){var n=t.displayName||t.name||"Component",r=o(n),i=Ou({},v,{getDisplayName:o,methodName:a,renderCountProp:c,shouldHandleStateChanges:u,storeKey:p,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=v.pure;var l=s?rl.useMemo:function(e){return e()};function d(n){var r=(0,rl.useMemo)((function(){var e=n.reactReduxForwardedRef,t=yd(n,CG);return[n.context,e,t]}),[n]),o=r[0],a=r[1],s=r[2],c=(0,rl.useMemo)((function(){return o&&o.Consumer&&(0,bG.isContextConsumer)(ol().createElement(o.Consumer,null))?o:y}),[o,y]),d=(0,rl.useContext)(c),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var h=p?n.store:d.store,f=(0,rl.useMemo)((function(){return function(t){return e(t.dispatch,i)}(h)}),[h]),m=(0,rl.useMemo)((function(){if(!u)return EG;var e=gG(h,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,p,d]),g=m[0],v=m[1],b=(0,rl.useMemo)((function(){return p?d:Ou({},d,{subscription:g})}),[p,d,g]),_=(0,rl.useReducer)(xG,wG,IG),C=_[0][0],w=_[1];if(C&&C.error)throw C.error;var E=(0,rl.useRef)(),x=(0,rl.useRef)(s),S=(0,rl.useRef)(),k=(0,rl.useRef)(!1),T=l((function(){return S.current&&s===x.current?S.current:f(h.getState(),s)}),[h,C,s]);SG(kG,[x,E,k,s,T,S,v]),SG(TG,[u,h,g,f,x,E,k,S,v,w],[h,g,f]);var I=(0,rl.useMemo)((function(){return ol().createElement(t,Ou({},T,{ref:a}))}),[a,t,T]);return(0,rl.useMemo)((function(){return u?ol().createElement(c.Provider,{value:b},I):I}),[c,I,b])}var h=s?ol().memo(d):d;if(h.WrappedComponent=t,h.displayName=d.displayName=r,f){var m=ol().forwardRef((function(e,t){return ol().createElement(h,Ou({},e,{reactReduxForwardedRef:t}))}));return m.displayName=r,m.WrappedComponent=t,_d()(m,t)}return _d()(h,t)}}function PG(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function DG(e,t){if(PG(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!PG(e[n[o]],t[n[o]]))return!1;return!0}function RG(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function MG(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function NG(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=MG(e);var o=r(t,n);return"function"===typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=MG(o),o=r(t,n)),o},r}}var LG=[function(e){return"function"===typeof e?NG(e):void 0},function(e){return e?void 0:RG((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?RG((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"===typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var OG=[function(e){return"function"===typeof e?NG(e):void 0},function(e){return e?void 0:RG((function(){return{}}))}];function FG(e,t,n){return Ou({},n,e,t)}var BG=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,s){var c=e(t,n,s);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return FG}}],HG=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function zG(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function UG(e,t,n,r,o){var i,a,s,c,l,u=o.areStatesEqual,d=o.areOwnPropsEqual,p=o.areStatePropsEqual,h=!1;function f(o,h){var f=!d(h,a),m=!u(o,i);return i=o,a=h,f&&m?(s=e(i,a),t.dependsOnOwnProps&&(c=t(r,a)),l=n(s,c,a)):f?(e.dependsOnOwnProps&&(s=e(i,a)),t.dependsOnOwnProps&&(c=t(r,a)),l=n(s,c,a)):m?function(){var t=e(i,a),r=!p(t,s);return s=t,r&&(l=n(s,c,a)),l}():l}return function(o,u){return h?f(o,u):(s=e(i=o,a=u),c=t(r,a),l=n(s,c,a),h=!0,l)}}function VG(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=yd(t,HG),a=n(e,i),s=r(e,i),c=o(e,i);return(i.pure?UG:zG)(a,s,c,e,i)}var jG=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function qG(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function WG(e,t){return e===t}function GG(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?AG:n,o=t.mapStateToPropsFactories,i=void 0===o?OG:o,a=t.mapDispatchToPropsFactories,s=void 0===a?LG:a,c=t.mergePropsFactories,l=void 0===c?BG:c,u=t.selectorFactory,d=void 0===u?VG:u;return function(e,t,n,o){void 0===o&&(o={});var a=o,c=a.pure,u=void 0===c||c,p=a.areStatesEqual,h=void 0===p?WG:p,f=a.areOwnPropsEqual,m=void 0===f?DG:f,g=a.areStatePropsEqual,v=void 0===g?DG:g,y=a.areMergedPropsEqual,b=void 0===y?DG:y,_=yd(a,jG),C=qG(e,i,"mapStateToProps"),w=qG(t,s,"mapDispatchToProps"),E=qG(n,l,"mergeProps");return r(d,Ou({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:C,initMapDispatchToProps:w,initMergeProps:E,pure:u,areStatesEqual:h,areOwnPropsEqual:m,areStatePropsEqual:v,areMergedPropsEqual:b},_))}}var KG=GG();var YG;YG=dl.unstable_batchedUpdates,hG=YG;var QG=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(n,t),n.prototype.getChildContext=function(){return{appContext:this.props.context}},n.prototype.componentDidCatch=function(e,t){this.props.context.exceptionHandler.handleException("App.componentDidCatch:".concat(t.componentStack),e)},n.prototype.render=function(){return this.props.context.reduxStore?rl.createElement(yG,{store:this.props.context.reduxStore},this.props.children):rl.createElement(rl.Fragment,null,this.props.children)},n.childContextTypes=(0,e.__assign)({},dG),n}(rl.Component);function XG(e,t){try{return t?e.toDataURL():e.toDataURL("image/jpeg")}catch(n){return console.error(n),""}}var JG={1:[1,0,0,1,0,0],2:[-1,0,0,1,0,0],3:[-1,0,0,-1,0,0],4:[1,0,0,-1,0,0],5:[0,1,1,0,0,0],6:[0,1,-1,0,0,0],7:[0,-1,-1,0,0,0],8:[0,-1,1,0,0,0]},$G=256,ZG="white",eK="rgba(0, 120, 215, 0.5)",tK=function(e){return e*Math.PI/180};function nK(e,t,n,r,o,i){e.save(),e.translate(t/2,t/2),e.transform.apply(e,JG[r]),e.rotate(tK(n)),e.translate(-t/2,-t/2),i(e,o),e.restore()}function rK(e,t,n,r){var o=tK(r),i=JG[n],a=i[0],s=i[2];return{x:(t=(e=(e-=128)*a+(t-=128)*i[1])*s+t*i[3])*Math.sin(o)+e*Math.cos(o)+128,y:t*Math.cos(o)-e*Math.sin(o)+128}}function oK(e,t,n){return Math.min(n,Math.max(e,t))}var iK="photoPickerFirstFocusableSelector";var aK=__webpack_require__(62813),sK=["absoluteScale","imageRotationAngle","xpos","ypos"],cK=of((function(){return tv({closeButton:{float:"right",marginTop:-20,marginRight:-20},removeButton:{marginLeft:"auto"}})})),lK=function(e){var t=e.onClick,n=e.dataLogName,r=e.ariaLabel,o=e.title,i=cK();switch(e.buttonType){case"Primary":return rl.createElement(mT,{disabled:e.disabled,onClick:t,"data-log-name":n,ariaLabel:r,title:o,componentRef:e.buttonRef},e.buttonLabel);case"Action":return rl.createElement(vT,{className:i.removeButton,iconProps:{iconName:e.iconName},onClick:t,"data-log-name":n,disabled:e.disabled,title:o},e.buttonLabel);case"Icon":return rl.createElement(Bx,{content:o,styles:{root:i.closeButton}},rl.createElement(bT,{iconProps:{iconName:e.iconName},onClick:t,"data-log-name":n,ariaLabel:r}));case"Default":return rl.createElement(fT,{onClick:t,"data-log-name":n,ariaLabel:r,title:o},e.buttonLabel);default:return e}},uK=rl.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function dK(){return"undefined"!==typeof window&&!(!window.document||!window.document.createElement)}var pK=void 0;try{pK=window}catch(Ple){}function hK(e){if(dK()&&"undefined"!==typeof pK){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:pK}}var fK=0,mK=function(){function e(){}return e.getValue=function(e,t){var n=gK();return void 0===n[e]&&(n[e]="function"===typeof t?t():t),n[e]},e.setValue=function(e,t){var n=gK(),r=n.__callbacks__,o=n[e];if(t!==o){n[e]=t;var i={oldValue:o,value:t,key:e};for(var a in r)r.hasOwnProperty(a)&&r[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=vK();t||(t=e.__id__=String(fK++)),n[t]=e},e.removeChangeListener=function(e){delete vK()[e.__id__]},e}();function gK(){var e,t=hK()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function vK(){return gK().__callbacks__}var yK={settings:{},scopedSettings:{},inCustomizerContext:!1},bK=mK.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),_K=[],CK=function(){function t(){}return t.reset=function(){bK.settings={},bK.scopedSettings={}},t.applySettings=function(n){bK.settings=(0,e.__assign)((0,e.__assign)({},bK.settings),n),t._raiseChange()},t.applyScopedSettings=function(n,r){bK.scopedSettings[n]=(0,e.__assign)((0,e.__assign)({},bK.scopedSettings[n]),r),t._raiseChange()},t.getSettings=function(e,t,n){void 0===n&&(n=yK);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&bK.scopedSettings[t]||{},a=0,s=e;a<s.length;a++){var c=s[a];r[c]=o[c]||n.settings[c]||i[c]||bK.settings[c]}return r},t.applyBatchedUpdates=function(e,n){t._suppressUpdates=!0;try{e()}catch(lr){}t._suppressUpdates=!1,n||t._raiseChange()},t.observe=function(e){_K.push(e)},t.unobserve=function(e){_K=_K.filter((function(t){return t!==e}))},t._raiseChange=function(){t._suppressUpdates||_K.forEach((function(e){return e()}))},t}();function wK(){var e=rl.useContext(uK),t=CK.getSettings(["theme"],"WithTheme",e.customizations),n=rl.useState(t.theme),r=n[0],o=n[1];return rl.useEffect((function(){var t=function(){var t=CK.getSettings(["theme"],"WithTheme",e.customizations).theme;o(t)};return CK.observe(t),function(){return CK.unobserve(t)}})),rl.useMemo((function(){return function(e){var t=e;t.palette.neutralPrimarySurface||(t.palette.neutralPrimarySurface=t.palette.white);t.palette.neutralSecondarySurface||(t.palette.neutralSecondarySurface=t.palette.white);t.palette.neutralTertiarySurface||(t.palette.neutralTertiarySurface=t.palette.neutralLighter);t.palette.neutralHover||(t.palette.neutralHover=t.palette.neutralLight);return t}(r)}),[r])}var EK=of((function(e,t){return tv({root:Xh({margin:"7px 0",color:e.palette.neutralPrimary},null===t||void 0===t?void 0:t.root),text:Xh(e.fonts.medium,null===t||void 0===t?void 0:t.text)})})),xK=function(e){var t=EK(wK(),e.styles),n="UNKNOWN"===e.warning,r="IMAGE_TOO_SMALL_ERROR"===e.warning,o=n||r?tH.error:tH.warning,i=n?void 0:e.onDismiss;return rl.createElement(bH,{className:t.root,messageBarType:o,onDismiss:i,isMultiline:!0,"aria-live":"polite",styles:t,dismissButtonAriaLabel:e.dismissButtonAriaLabel},e.warningText)},SK=of((function(e,t){var n=e.palette;return tv({modal:Xh({width:512,maxWidth:512,margin:0,selectors:{"#lpc-photo-picker .ms-Button-icon":{display:"inline-block",minWidth:16,padding:"0px 4px",backgroundColor:"transparent"},"#lpc-photo-picker .ms-Slider-slideBox:focus":{outline:"transparent"},"#lpc-photo-picker .ms-Button--icon &hover":{color:n.themePrimary},"#lpc-photo-picker .ms-Button--icon &active":{color:n.themeDarker},"#lpc-photo-picker .ms-Button--primary &:not([disabled])":{backgroundColor:n.themePrimary},"#lpc-photo-picker .ms-Button--primary &:hover":{backgroundColor:n.themeDarkAlt},"#lpc-photo-picker .ms-Button--primary &:active":{backgroundColor:n.themeDark},"#lpc-photo-picker .ms-Button--default .ms-Button-label":{color:n.neutralDark},"#lpc-photo-picker .ms-Button--default &:hover":{backgroundColor:n.neutralLight},"#lpc-photo-picker .ms-Button--default &:active":{backgroundColor:n.neutralTertiaryAlt}}},null===t||void 0===t?void 0:t.modal),picker:Xh(e.fonts.medium,{padding:32,overflow:"hidden"},null===t||void 0===t?void 0:t.root),header:Xh(e.fonts.xLarge,{display:"flex",alignContent:"space-between",color:n.neutralPrimary,fontWeight:300,marginBottom:7,flexGrow:1},null===t||void 0===t?void 0:t.header),endActions:{marginTop:e.spacing.l1,alignItems:"center",display:"flex",selectors:{button:{marginRight:12,minWidth:62,padding:"0px 4px",fontSize:e.fonts.medium.fontSize,borderRadius:4}}},editCanvasAndPhotoListContainer:{display:"flex",padding:"0px 8px"}})})),kK=function(e){var t=e.hideTitleText,n=e.isComponentInline,r=e.titleText,o=e.closeIcon,i=e.infoBar,a=e.uploadPhoto,s=e.editCanvas,c=e.applyButton,l=e.cancelButton,u=e.removeButton,d=e.onDismiss,p=e.focusTrapRef,h=e.hideEndActions,f=e.imageEditorDescription,m=e.customUploadButton,g=e.photoList,v=e.styles,y=SK(wK(),v),b=rl.createElement(rl.Fragment,null,!n&&o,!t&&rl.createElement("div",{className:y.header,id:"dialogTitle",role:"heading","aria-level":1},r),i,a,rl.createElement("div",{className:y.editCanvasAndPhotoListContainer},s,g),f,!h&&rl.createElement("div",{className:y.endActions},c,l,u),m);return rl.createElement(rl.Fragment,null,n?rl.createElement("div",{id:"lpc-photo-picker",className:y.picker},b):rl.createElement(EF,{className:"lpc_nested_popup",containerClassName:y.modal,isOpen:!0,onDismiss:d,titleAriaId:"dialogTitle"},rl.createElement(sF,{id:"lpc-photo-picker",className:y.picker,componentRef:p,firstFocusableSelector:iK},b)))},TK=of((function(e,t){return tv({fileInput:{display:"none"},button:Xh({color:e.palette.themePrimary,padding:0,margin:"0 0 12px -4px"},null===t||void 0===t?void 0:t.button)})})),IK=function(e){var t=TK(wK(),e.styles),n=rl.useRef(null);return rl.createElement(rl.Fragment,null,rl.createElement("input",{role:"button",className:t.fileInput,type:"file",ref:n,onClick:function(e){return e.currentTarget.value=""},onChange:function(t){return t.currentTarget.files&&e.onFileSelected(t.currentTarget.files[0],e.isPhotoListPresent)},"data-log-name":"PhotoPickerFileInput",accept:"image/*"}),rl.createElement(vT,{componentRef:e.buttonRef,className:"".concat(t.button," ").concat(iK),iconProps:{iconName:"Add"},onClick:function(){var t;null===(t=n.current)||void 0===t||t.click(),e.onUploadNewPhoto()}},e.uploadText))},AK=__webpack_require__(81856);function PK(e){var t=new DataView(function(e){for(var t=e.replace(/^data\:([^\;]+)\;base64,/i,""),n=atob(t),r=n.length,o=new ArrayBuffer(r),i=new Uint8Array(o),a=0;a<r;a++)i[a]=n.charCodeAt(a);return o}(e));if(65496!==t.getUint16(0,!1))return 1;for(var n,r=t.byteLength,o=2;o<r;){var i=t.getUint16(o,!1);if(o+=2,65505===i){if(1165519206!==t.getUint32(o+=2,!1))break;var a=18761===t.getUint16(o+=6,!1);o+=t.getUint32(o+4,a);var s=t.getUint16(o,a);o+=2;for(var c=0;c<s;c++)if(274===t.getUint16(o+12*c,a))return(n=t.getUint16(o+12*c+8,a))<1||n>8?1:n}else{if(65280!==(65280&i))break;o+=t.getUint16(o,!1)}}return 1}var DK=pb(),RK=function(e){return function(t){var n;return(n={})[e]=t+"%",n}},MK=function(e,t,n){return n===t?0:(e-t)/(n-t)*100},NK=function(t,n){var r=t.step,o=void 0===r?1:r,i=t.className,a=t.disabled,s=void 0!==a&&a,c=t.label,l=t.max,u=void 0===l?10:l,d=t.min,p=void 0===d?0:d,h=t.showValue,f=void 0===h||h,m=t.buttonProps,g=void 0===m?{}:m,v=t.vertical,y=void 0!==v&&v,b=t.snapToStep,_=t.valueFormat,C=t.styles,w=t.theme,E=t.originFromZero,x=t["aria-labelledby"],S=t.ariaLabel,k=void 0===S?t["aria-label"]:S,T=t.ranged,I=t.onChange,A=t.onChanged,P=rl.useRef([]),D=Rb(),R=D.setTimeout,M=D.clearTimeout,N=rl.useRef(null),L=SI(t.value,t.defaultValue,(function(e,t){return null===I||void 0===I?void 0:I(t,T?[j.latestLowerValue,t]:void 0,e)})),O=L[0],F=L[1],B=SI(t.lowerValue,t.defaultLowerValue,(function(e,t){return null===I||void 0===I?void 0:I(j.latestValue,[t,j.latestValue],e)})),H=B[0],z=B[1],U=Math.max(p,Math.min(u,O||0)),V=Math.max(p,Math.min(U,H||0)),j=Db({onKeyDownTimer:-1,isAdjustingLowerValue:!1,latestValue:U,latestLowerValue:V});j.latestValue=U,j.latestLowerValue=V;var q=Ik("Slider",t.id||(null===g||void 0===g?void 0:g.id)),W=DK(C,{className:i,disabled:s,vertical:y,showTransitions:!b&&!j.isBetweenSteps,showValue:f,ranged:T,theme:w}),G=(u-p)/o,K=function(){M(j.onKeyDownTimer),j.onKeyDownTimer=-1},Y=function(e){K(),A&&(j.onKeyDownTimer=R((function(){A(e,j.latestValue,T?[j.latestLowerValue,j.latestValue]:void 0)}),1e3))},Q=function(e){var n=t.ariaValueText;if(void 0!==e)return n?n(e):e.toString()},X=function(e,t,n){t=Math.min(u,Math.max(p,t)),n=void 0!==n?Math.min(u,Math.max(p,n)):void 0;var r=0;if(isFinite(o))for(;Math.round(o*Math.pow(10,r))/Math.pow(10,r)!==o;)r++;var i=parseFloat(t.toFixed(r));j.isBetweenSteps=void 0!==n&&n!==i,T?j.isAdjustingLowerValue&&(E?i<=0:i<=j.latestValue)?z(i,e):!j.isAdjustingLowerValue&&(E?i>=0:i>=j.latestLowerValue)&&F(i,e):F(i,e)},J=function(e,t){var n=0;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},$=function(e){var n,r=N.current.getBoundingClientRect(),o=(t.vertical?r.height:r.width)/G;if(t.vertical){var i=J(e,t.vertical);n=(r.bottom-i)/o}else{var a=J(e,t.vertical);n=(Pf(t.theme)?r.right-a:a-r.left)/o}return n},Z=function(e,t){var n=$(e),r=p+o*n,i=p+o*Math.round(n);X(e,i,r),t||(e.preventDefault(),e.stopPropagation())},ee=function(e){if(T){var t=$(e),n=p+o*t;j.isAdjustingLowerValue=n<=j.latestLowerValue||n-j.latestLowerValue<=j.latestValue-n}"mousedown"===e.type?P.current.push(nE(window,"mousemove",Z,!0),nE(window,"mouseup",te,!0)):"touchstart"===e.type&&P.current.push(nE(window,"touchmove",Z,!0),nE(window,"touchend",te,!0)),Z(e,!0)},te=function(e){j.isBetweenSteps=void 0,null===A||void 0===A||A(e,j.latestValue,T?[j.latestLowerValue,j.latestValue]:void 0),ne()},ne=function(){P.current.forEach((function(e){return e()})),P.current=[]},re=rl.useRef(null),oe=rl.useRef(null);!function(e,t,n,r){rl.useImperativeHandle(e.componentRef,(function(){return{get value(){return n},get range(){return r},focus:function(){t.current&&t.current.focus()}}}),[t,n,r])}(t,T&&!y?re:oe,U,T?[V,U]:void 0);var ie=RK(y?"bottom":Pf(t.theme)?"right":"left"),ae=RK(y?"height":"width"),se=E?0:p,ce=MK(U,p,u),le=MK(V,p,u),ue=MK(se,p,u),de=T?ce-le:Math.abs(ue-ce),pe=Math.min(100-ce,100-ue),he=T?le:Math.min(ce,ue),fe={className:W.root,ref:n},me={className:W.titleLabel,children:c,disabled:s,htmlFor:k?void 0:q},ge=f?{className:W.valueLabel,children:_?_(U):U,disabled:s,htmlFor:s?q:void 0}:void 0,ve=T&&f?{className:W.valueLabel,children:_?_(V):V,disabled:s}:void 0,ye=E?{className:W.zeroTick,style:ie(ue)}:void 0,be={className:Wv(W.lineContainer,W.activeSection),style:ae(de)},_e={className:Wv(W.lineContainer,W.inactiveSection),style:ae(pe)},Ce={className:Wv(W.lineContainer,W.inactiveSection),style:ae(he)},we=(0,e.__assign)({"aria-disabled":s,role:"slider",tabIndex:s?void 0:0},{"data-is-focusable":!s}),Ee=(0,e.__assign)((0,e.__assign)((0,e.__assign)({id:q,className:Wv(W.slideBox,g.className)},!s&&{onMouseDown:ee,onTouchStart:ee,onKeyDown:function(e){var n=j.isAdjustingLowerValue?j.latestLowerValue:j.latestValue,r=0;switch(e.which){case Df(yf,t.theme):case Cf:r=-o,K(),Y(e);break;case Df(_f,t.theme):case bf:r=o,K(),Y(e);break;case vf:n=p,K(),Y(e);break;case gf:n=u,K(),Y(e);break;default:return}X(e,n+r),e.preventDefault(),e.stopPropagation()}}),g&&Nv(g,Mv,["id","className"])),!T&&(0,e.__assign)((0,e.__assign)({},we),{"aria-valuemin":p,"aria-valuemax":u,"aria-valuenow":U,"aria-valuetext":Q(U),"aria-label":k||c,"aria-labelledby":x})),xe=s?{}:{onFocus:function(e){j.isAdjustingLowerValue=e.target===re.current}},Se=(0,e.__assign)({ref:oe,className:W.thumb,style:ie(ce)},T&&(0,e.__assign)((0,e.__assign)((0,e.__assign)({},we),xe),{id:"max-"+q,"aria-valuemin":V,"aria-valuemax":u,"aria-valuenow":U,"aria-valuetext":Q(U),"aria-label":"max "+(k||c)})),ke=T?(0,e.__assign)((0,e.__assign)((0,e.__assign)({ref:re,className:W.thumb,style:ie(le)},we),xe),{id:"min-"+q,"aria-valuemin":p,"aria-valuemax":U,"aria-valuenow":V,"aria-valuetext":Q(V),"aria-label":"min "+(k||c)}):void 0;return{root:fe,label:me,sliderBox:Ee,container:{className:W.container},valueLabel:ge,lowerValueLabel:ve,thumb:Se,lowerValueThumb:ke,zeroTick:ye,activeTrack:be,topInactiveTrack:_e,bottomInactiveTrack:Ce,sliderLine:{ref:N,className:W.line}}},LK=rl.forwardRef((function(t,n){var r=NK(t,n);return rl.createElement("div",(0,e.__assign)({},r.root),r&&rl.createElement(Nw,(0,e.__assign)({},r.label)),rl.createElement("div",(0,e.__assign)({},r.container),t.ranged&&(t.vertical?r.valueLabel&&rl.createElement(Nw,(0,e.__assign)({},r.valueLabel)):r.lowerValueLabel&&rl.createElement(Nw,(0,e.__assign)({},r.lowerValueLabel))),rl.createElement("div",(0,e.__assign)({},r.sliderBox),rl.createElement("div",(0,e.__assign)({},r.sliderLine),t.ranged&&rl.createElement("span",(0,e.__assign)({},r.lowerValueThumb)),rl.createElement("span",(0,e.__assign)({},r.thumb)),r.zeroTick&&rl.createElement("span",(0,e.__assign)({},r.zeroTick)),rl.createElement("span",(0,e.__assign)({},r.bottomInactiveTrack)),rl.createElement("span",(0,e.__assign)({},r.activeTrack)),rl.createElement("span",(0,e.__assign)({},r.topInactiveTrack)))),t.ranged&&t.vertical?r.lowerValueLabel&&rl.createElement(Nw,(0,e.__assign)({},r.lowerValueLabel)):r.valueLabel&&rl.createElement(Nw,(0,e.__assign)({},r.valueLabel))),rl.createElement(by,null))}));LK.displayName="SliderBase";var OK={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"},FK=ib(LK,(function(t){var n,r,o,i,a,s,c,l,u,d,p,h,f,m=t.className,g=t.titleLabelClassName,v=t.theme,y=t.vertical,b=t.disabled,_=t.showTransitions,C=t.showValue,w=t.ranged,E=v.semanticColors,x=v.palette,S=og(OK,v),k=E.inputBackgroundCheckedHovered,T=E.inputBackgroundChecked,I=x.neutralSecondaryAlt,A=x.neutralPrimary,P=x.neutralSecondaryAlt,D=E.disabledText,R=E.disabledBackground,M=E.inputBackground,N=E.smallInputBorder,L=E.disabledBorder,O=!b&&{backgroundColor:k,selectors:(n={},n[Wm]={backgroundColor:"Highlight"},n)},F=!b&&{backgroundColor:I,selectors:(r={},r[Wm]={borderColor:"Highlight"},r)},B=!b&&{backgroundColor:T,selectors:(o={},o[Wm]={backgroundColor:"Highlight"},o)},H=!b&&{border:"2px solid "+k,selectors:(i={},i[Wm]={borderColor:"Highlight"},i)},z=!t.disabled&&{backgroundColor:E.inputPlaceholderBackgroundChecked,selectors:(a={},a[Wm]={backgroundColor:"Highlight"},a)};return{root:(0,e.__spreadArray)((0,e.__spreadArray)((0,e.__spreadArray)((0,e.__spreadArray)((0,e.__spreadArray)([S.root,v.fonts.medium,{userSelect:"none"},y&&{marginRight:8}],[b?void 0:S.enabled]),[b?S.disabled:void 0]),[y?void 0:S.row]),[y?S.column:void 0]),[m]),titleLabel:[{padding:0},g],container:[S.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},y&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:(0,e.__spreadArray)((0,e.__spreadArray)([S.slideBox,!w&&Zm(v),{background:"transparent",border:"none",flexGrow:1,lineHeight:28,display:"flex",alignItems:"center",selectors:(s={},s[":active ."+S.activeSection]=O,s[":hover ."+S.activeSection]=B,s[":active ."+S.inactiveSection]=F,s[":hover ."+S.inactiveSection]=F,s[":active ."+S.thumb]=H,s[":hover ."+S.thumb]=H,s[":active ."+S.zeroTick]=z,s[":hover ."+S.zeroTick]=z,s[Wm]={forcedColorAdjust:"none"},s)},y?{height:"100%",width:28,padding:"8px 0"}:{height:28,width:"auto",padding:"0 8px"}],[C?S.showValue:void 0]),[_?S.showTransitions:void 0]),thumb:[S.thumb,w&&Zm(v,{inset:-4}),{borderWidth:2,borderStyle:"solid",borderColor:N,borderRadius:10,boxSizing:"border-box",background:M,display:"block",width:16,height:16,position:"absolute"},y?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:Pf(v)?"translateX(50%)":"translateX(-50%)"},_&&{transition:"left "+Tm+" "+Em},b&&{borderColor:L,selectors:(c={},c[Wm]={borderColor:"GrayText"},c)}],line:[S.line,{display:"flex",position:"relative"},y?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},y?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[S.activeSection,{background:A,selectors:(l={},l[Wm]={backgroundColor:"WindowText"},l)},_&&{transition:"width "+Tm+" "+Em},b&&{background:D,selectors:(u={},u[Wm]={backgroundColor:"GrayText",borderColor:"GrayText"},u)}],inactiveSection:[S.inactiveSection,{background:P,selectors:(d={},d[Wm]={border:"1px solid WindowText"},d)},_&&{transition:"width "+Tm+" "+Em},b&&{background:R,selectors:(p={},p[Wm]={borderColor:"GrayText"},p)}],zeroTick:[S.zeroTick,{position:"absolute",background:E.disabledBorder,selectors:(h={},h[Wm]={backgroundColor:"WindowText"},h)},t.disabled&&{background:E.disabledBackground,selectors:(f={},f[Wm]={backgroundColor:"GrayText"},f)},t.vertical?{width:"16px",height:"1px",transform:Pf(v)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[S.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},y?{margin:"0 auto",whiteSpace:"nowrap",width:40}:{margin:"0 8px",whiteSpace:"nowrap",width:40}]}}),void 0,{scope:"Slider"});function BK(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function HK(e,t){if(e){if("string"===typeof e)return BK(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?BK(e,t):void 0}}function zK(e){return function(e){if(Array.isArray(e))return BK(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||HK(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function UK(e,t){if(null==e)return{};var n,r,o=yd(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var VK="undefined"===typeof window?__webpack_require__.g:window,jK="@griffel/";function qK(e,t){return VK[Symbol.for(jK+e)]||(VK[Symbol.for(jK+e)]=t),VK[Symbol.for(jK+e)]}var WK=qK("DEFINITION_LOOKUP_TABLE",{}),GK="data-make-styles-bucket",KK="___",YK=KK.length+7;var QK=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};function XK(e){var t=e.length;if(7===t)return e;for(var n=t;n<7;n++)e+="0";return e}function JK(e,t){return KK+XK(QK(e+t))}function $K(e,t){var n="";for(var r in e){var o=e[r];if(o){var i=Array.isArray(o);n+="rtl"===t?(i?o[1]:o)+" ":(i?o[0]:o)+" "}}return n.slice(0,-1)}function ZK(e,t){var n={};for(var r in e){var o=$K(e[r],t);if(""!==o){var i=JK(o,t),a=i+" "+o;WK[i]=[e[r],t],n[r]=a}else n[r]=""}return n}function eY(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||HK(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tY(e){return Array.isArray(e)?e:[e]}function nY(e,t,n){var r=[];if(n["data-make-styles-bucket"]=t,e)for(var o in n)e.setAttribute(o,n[o]);return{elementAttributes:n,insertRule:function(t){return(null===e||void 0===e?void 0:e.sheet)?e.sheet.insertRule(t,e.sheet.cssRules.length):r.push(t)},element:e,bucketName:t,cssRules:function(){return(null===e||void 0===e?void 0:e.sheet)?Array.from(e.sheet.cssRules).map((function(e){return e.cssText})):r}}}var rY=["r","d","l","v","w","f","i","h","a","k","t","m","c"].reduce((function(e,t,n){return e[t]=n,e}),{});function oY(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i="m"===e,a=i?e+o.m:e;if(!r.stylesheets[a]){var s=t&&t.createElement("style"),c=nY(s,e,My(My({},r.styleElementAttributes),i&&{media:o.m}));r.stylesheets[a]=c,t&&s&&t.head.insertBefore(s,iY(t,n,e,r,o))}return r.stylesheets[a]}function iY(e,t,n,r,o){var i=rY[n],a=function(e){return i-rY[e.getAttribute(GK)]},s=e.head.querySelectorAll("[".concat(GK,"]"));if("m"===n&&o){var c=e.head.querySelectorAll("[".concat(GK,'="').concat(n,'"]'));c.length&&(s=c,a=function(e){return r.compareMediaQueries(o.m,e.media)})}for(var l=s.length,u=l-1;u>=0;){var d=s.item(u);if(a(d)>0)return d.nextSibling;u--}return l>0?s.item(0):t?t.nextSibling:null}var aY=0,sY=function(e,t){return e<t?-1:e>t?1:0};function cY(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"===typeof document?void 0:document,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.unstable_filterCSSRule,r=t.insertionPoint,o=t.styleElementAttributes,i=t.compareMediaQueries,a=void 0===i?sY:i,s={insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(o),compareMediaQueries:a,id:"d".concat(aY++),insertCSSRules:function(t){for(var o in t)for(var i=t[o],a=0,c=i.length;a<c;a++){var l=eY(tY(i[a]),2),u=l[0],d=l[1],p=oY(o,e,r||null,s,d);if(!s.insertionCache[u]){s.insertionCache[u]=o;try{n?n(u)&&p.insertRule(u):p.insertRule(u)}catch(Ple){0}}}}};return s}":(".concat(["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),")");var lY=rl.createContext(cY());var uY=rl.createContext("ltr");var dY={};var pY=["title","primaryFill"],hY=function(e,t){var n=function(e,t){var n={},r=null,o=null;return function(i){var a=i.dir,s=i.renderer,c="ltr"===a,l=c?s.id:s.id+"r";return c?null===r&&(r=ZK(e,a)):null===o&&(o=ZK(e,a)),void 0===n[l]&&(s.insertCSSRules(t),n[l]=!0),c?r:o}}(e,t);return function(){var e=rl.useContext(uY),t=rl.useContext(lY);return n({dir:e,renderer:t})}}({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),fY=function(e){var t=e.title,n=e.primaryFill,r=void 0===n?"currentColor":n,o=My(My({},UK(e,pY)),{},{title:void 0,fill:r}),i=hY();return o.className=function(){for(var e=arguments,t=null,n="",r="",o=new Array(arguments.length),i=function(t){var i=e[t];if("string"===typeof i&&""!==i){var a=i.indexOf(KK);if(-1===a)n+=i+" ";else{var s=i.substr(a,YK);a>0&&(n+=i.slice(0,a)),r+=s,o[t]=s}}},a=0;a<arguments.length;a++)i(a);if(""===r)return n.slice(0,-1);var s=dY[r];if(void 0!==s)return n+s;for(var c=[],l=0;l<arguments.length;l++){var u=o[l];if(u){var d=WK[u];d&&(c.push(d[0]),t=d[1])}}var p=Object.assign.apply(Object,[{}].concat(c)),h=$K(p,t),f=JK(h,t,o);return h=f+" "+h,dY[r]=h,WK[f]=[p,t],n+h}(i.root,o.className),t&&(o["aria-label"]=t),o["aria-label"]||o["aria-labelledby"]?o.role="img":o["aria-hidden"]=!0,o},mY=function(e,t,n){var r="1em"===t?"20":t,o=function(e){var o=My(My({},fY(e)),{},{width:t,height:t,viewBox:"0 0 ".concat(r," ").concat(r),xmlns:"http://www.w3.org/2000/svg"});return rl.createElement.apply(rl,["svg",o].concat(zK(n.map((function(e){return rl.createElement("path",{d:e,fill:o.fill})})))))};return o.displayName=e,o},gY=mY("RotateLeft20Filled","20",["M12.39 12a.53.53 0 0 1-.54-.52c0-.29.24-.52.54-.52h.35c1.77 0 3.2-1.08 3.2-2.42 0-1.3-1.35-2.36-3.04-2.42H7.82L9.04 7.3c.2.2.2.53 0 .73a.54.54 0 0 1-.7.05l-.06-.05-2.12-2.08a.51.51 0 0 1 0-.73l2.12-2.08.06-.05c.21-.15.5-.13.7.05.2.2.2.53 0 .74L7.82 5.08h4.92C15.1 5.08 17 6.63 17 8.54S15.1 12 12.74 12h-.35Zm-9-3c-.21 0-.39.17-.39.38v6.87c0 .41.36.75.8.75h12.8a.4.4 0 0 0 .35-.19.37.37 0 0 0-.15-.51L3.6 9.05A.41.41 0 0 0 3.4 9Z"]),vY=mY("RotateLeft20Regular","20",["M12.39 12a.53.53 0 0 1-.54-.52c0-.29.24-.52.54-.52h.35c1.77 0 3.2-1.08 3.2-2.42 0-1.3-1.35-2.36-3.04-2.42H7.82L9.04 7.3c.2.2.2.53 0 .73a.54.54 0 0 1-.7.05l-.06-.05-2.12-2.08a.51.51 0 0 1 0-.73l2.12-2.08.06-.05c.21-.15.5-.13.7.05.2.2.2.53 0 .74L7.82 5.08h4.92C15.1 5.08 17 6.63 17 8.54S15.1 12 12.74 12h-.35ZM4 10.41V16h10.18L4 10.41ZM3.8 17a.77.77 0 0 1-.8-.75V9.38c0-.21.18-.38.4-.38.07 0 .14.02.2.05l13.2 7.25c.2.1.26.33.15.51a.4.4 0 0 1-.35.19H3.8Z"]),yY=mY("RotateRight20Regular","20",["M7.61 12c.3 0 .54-.23.54-.52a.53.53 0 0 0-.54-.52h-.35c-1.77 0-3.2-1.08-3.2-2.42 0-1.3 1.35-2.36 3.04-2.42h5.08L10.96 7.3c-.2.2-.2.53 0 .73.2.18.49.2.7.05l.06-.05 2.12-2.08c.21-.2.21-.53 0-.73l-2.12-2.08-.06-.05a.54.54 0 0 0-.7.05c-.2.2-.2.53 0 .74l1.22 1.19H7.26C4.9 5.08 3 6.63 3 8.54S4.9 12 7.26 12h.35ZM16 10.41V16H5.82L16 10.41Zm.2 6.59c.44 0 .8-.34.8-.75V9.38c0-.21-.18-.38-.4-.38a.41.41 0 0 0-.2.05L3.2 16.3a.37.37 0 0 0-.15.51c.07.12.2.19.35.19h12.8Z"]),bY=(0,__webpack_require__(8141).N)((function(e,t){return tv({sliderContainer:{flexGrow:1,marginTop:2,marginBottom:24,selectors:{"&:disabled":{background:"transparent",cursor:"not-allowed"}}},sliderButton:{selectors:{"&:disabled":{background:"transparent",cursor:"not-allowed"}}},editControls:{paddingTop:10,display:"flex",flexDirection:"row",width:"100%",height:32},root:Xh({selectors:{"&:disabled":{background:"transparent",cursor:"not-allowed"}}},null===t||void 0===t?void 0:t.root),thumb:Xh({border:"2px solid ".concat(e.palette.themePrimary)},null===t||void 0===t?void 0:t.thumb),activeThumb:Xh({backgroundColor:e.palette.themePrimary},null===t||void 0===t?void 0:t.activeThumb),inactiveThumb:Xh({backgroundColor:e.palette.themeLight},null===t||void 0===t?void 0:t.inactiveThumb),announcement:{position:"absolute",width:1,height:1,margin:-1,overflowX:"hidden",overflowY:"hidden"}})})),_Y=function(e){return"".concat(Math.round(e),"\xb0")},CY=function(e){return"".concat(Math.round(e))},wY=function(e){var t,n,r=wK(),o=bY(r,e.styles),i=e.onImageRotate,a=e.setBaseAngleForStraightening,s=rl.useCallback((function(t){var n=t-e.imageRotationAngle+e.baseAngleForStraightening;i(n)}),[i,e.baseAngleForStraightening,e.imageRotationAngle]),c=rl.useCallback((function(){i(90),a(e.baseAngleForStraightening+90)}),[i,a,e.baseAngleForStraightening]),l=rl.useCallback((function(){e.onImageRotate(-90),e.setBaseAngleForStraightening(e.baseAngleForStraightening-90)}),[e]),u=null!==(n=null===(t=e.imagePositionInformationString)||void 0===t?void 0:t.call(e,{p0:_Y(e.imageRotationAngle)}))&&void 0!==n?n:_Y(e.imageRotationAngle);return rl.createElement("div",{className:o.editControls},rl.createElement(bT,{className:o.sliderButton,title:e.counterClockwiseString,ariaLabel:e.counterClockwiseString,onClick:l,onRenderIcon:EY,disabled:e.isPhotoUploading}),rl.createElement(Bx,{content:u,styles:{root:o.sliderContainer}},rl.createElement(FK,{styles:{root:o.root,thumb:o.thumb,activeSection:o.activeThumb,inactiveSection:o.inactiveThumb},min:-45,max:45,step:1,value:e.imageRotationAngle-e.baseAngleForStraightening,showValue:!1,disabled:e.isPhotoUploading,originFromZero:!0,onChange:s,ariaValueText:CY,"aria-label":e.rotateString})),rl.createElement(bT,{className:o.sliderButton,disabled:e.isPhotoUploading,title:e.clockwiseString,ariaLabel:e.clockwiseString,onClick:c,onRenderIcon:xY}),rl.createElement("div",{"aria-live":"assertive",role:"status",className:o.announcement},_Y(e.imageRotationAngle)))};function EY(){return rl.createElement("span",null,rl.createElement(vY,null))}function xY(){return rl.createElement("span",null,rl.createElement(yY,null))}var SY=function(e){return"".concat(e,"%")},kY=function(e,t){return Math.round(100*(e*(t-1)+1))},TY=function(e){var t,n,r=rl.useState(!1),o=r[0],i=r[1],a=rl.useRef(0),s=e.zoom,c=rl.useCallback((function(t,n,r){var o,i;!e.image||e.maximumScale<1||isNaN(t)?null===r||void 0===r||r.stopPropagation():s((o=t,i=e.maximumScale,Math.round((o/100-1)/(i-1)*100)/100-e.relativeScale),.5*e.canvasSize,.5*e.canvasSize)}),[e.image,e.maximumScale,e.relativeScale,s,e.canvasSize]),l=rl.useCallback((function(t){s(t,e.canvasSize/2,e.canvasSize/2),i(!0),a.current&&clearTimeout(a.current),a.current=window.setTimeout((function(){return i(!1)}),3e3)}),[s,a,e.canvasSize]);rl.useEffect((function(){return function(){return clearTimeout(a.current)}}),[a]);var u=wK(),d=bY(u,e.styles),p=oK(2*e.stepSize,.1,.2),h=kY(0,e.maximumScale),f=kY(1,e.maximumScale),m=kY(e.relativeScale,e.maximumScale),g=kY(oK(e.stepSize,.05,.1),e.maximumScale)-kY(0,e.maximumScale),v=e.maximumScale<=1?e.zoomAtMaxString:null!==(n=null===(t=e.imageScaleInformationString)||void 0===t?void 0:t.call(e,{p0:SY(m)}))&&void 0!==n?n:SY(m);return rl.createElement("div",{className:d.editControls},rl.createElement(bT,{className:d.sliderButton,iconProps:{iconName:"CalculatorSubtract"},title:e.zoomOutString,ariaLabel:e.zoomOutString,onClick:function(){return l(-p)},disabled:e.isPhotoUploading||e.zoomOutDisabled}),rl.createElement(Bx,{content:v,styles:{root:d.sliderContainer}},rl.createElement(FK,{styles:{root:d.root,thumb:d.thumb,activeSection:d.activeThumb,inactiveSection:d.inactiveThumb},ariaValueText:SY,ariaLabel:e.zoomString,min:h,max:f,disabled:e.isPhotoUploading||e.maximumScale<=1,step:g,value:m,showValue:!1,onChange:c})),rl.createElement(bT,{className:d.sliderButton,iconProps:{iconName:"CalculatorAddition"},title:e.zoomInString,ariaLabel:e.zoomInString,onClick:function(){return l(p)},disabled:e.isPhotoUploading||e.zoomInDisabled}),o&&rl.createElement("div",{"aria-live":"assertive",role:"status",className:d.announcement},SY(kY(e.relativeScale,e.maximumScale))))},IY=mY("ZoomIn20Regular","20",["M11.5 8.5A.5.5 0 0 0 11 8H9V6a.5.5 0 0 0-1 0v2H6a.5.5 0 0 0 0 1h2v2a.5.5 0 0 0 1 0V9h2a.5.5 0 0 0 .5-.5ZM8.5 3a5.5 5.5 0 0 1 4.23 9.02l4.12 4.13a.5.5 0 0 1-.63.76l-.07-.06-4.13-4.12A5.5 5.5 0 1 1 8.5 3Zm0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),AY=of((function(e,t){var n=e.palette;return tv({editPivot:{height:46},link:Xh({lineHeight:10,width:46,height:46,padding:0,marginRight:0,color:n.neutralSecondary},null===t||void 0===t?void 0:t.link),linkSelected:Xh({color:n.neutralDark,fontWeight:600},null===t||void 0===t?void 0:t.linkSelected),button:Xh({flex:"0 1 100%",height:44},null===t||void 0===t?void 0:t.button),buttonText:Xh({fontSize:10,marginTop:5},null===t||void 0===t?void 0:t.buttonText)})})),PY=function(e){var t=wK(),n=AY(t,e.styles),r=e.maximumScale<=1,o=e.setSelectedKey,i=rl.useCallback((function(e){var t;(null===(t=null===e||void 0===e?void 0:e.props)||void 0===t?void 0:t.itemKey)&&o(e.props.itemKey)}),[o]),a=rl.useCallback((function(t){if(!(null===t||void 0===t?void 0:t.itemKey))return null;var r=t.itemKey,o="Rotate"===r?[rl.createElement(gY,{key:r}),e.rotateString]:[rl.createElement(IY,{key:r}),e.zoomString],i=o[0],a=o[1];return rl.createElement("span",{className:n.button},i,rl.createElement("div",{className:n.buttonText},a))}),[e.rotateString,e.zoomString,n.button,n.buttonText]);return rl.createElement(pU,{styles:{root:n.editPivot,link:n.link,linkIsSelected:n.linkSelected},"aria-label":e.pivotString,selectedKey:e.selectedKey,onLinkClick:i,headersOnly:!0,"aria-disabled":e.isPhotoUploading},rl.createElement(oU,{itemKey:"Zoom",headerButtonProps:{disabled:r,title:r?e.zoomAtMaxString:void 0},onRenderItemLink:a}),rl.createElement(oU,{itemKey:"Rotate",onRenderItemLink:a}))},DY=function(){return DY=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},DY.apply(this,arguments)},RY=of((function(e,t,n,r){return tv({editControlsPlaceholderSpace:{height:32},editCanvas:Xh({backgroundColor:e.palette.neutralLight,cursor:t?"move":"inherit"},null===n||void 0===n?void 0:n.root),isDropActive:{outline:"1px solid purple"},invisible:DY({clip:"rect(1px, 1px, 1px, 1px)"},{height:1,overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:1}),canvasContainer:{margin:r?"0 0 0 auto":"0 auto",display:"flex",alignItems:"center",flexDirection:"column",width:256,position:"relative"},textboy:Xh({color:e.palette.white,position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",top:0,left:0,width:256,height:256},null===n||void 0===n?void 0:n.textboy),initials:Xh({fontSize:128,lineHeight:128},null===n||void 0===n?void 0:n.initials)})})),MY=function(e){e.stopPropagation(),e.preventDefault()},NY=function(e){return"targetTouches"in e?[e.targetTouches[0].clientX,e.targetTouches[0].clientY]:[e.clientX,e.clientY]};var LY=KG((function(e){return yV.getSelectors(e).getEditCanvasState()}),(function(e){return{onReset:function(){return e(cV())},onKeyboardEvent:function(t){return e(nV({xpos:t.xpos,ypos:t.ypos}))},onZoomEvent:function(t){return e(oV({absoluteScale:t.absoluteScale,relativeScale:t.relativeScale,zoomOutDisabled:t.zoomOutDisabled,zoomInDisabled:t.zoomInDisabled,xpos:t.xpos,ypos:t.ypos}))},onImageLoaded:function(t){return e(iV({naturalMin:t.naturalMin,naturalWidth:t.naturalWidth,naturalHeight:t.naturalHeight,stepSize:t.stepSize,maximumScale:t.maximumScale,orientation:t.orientation,imageRotationAngle:t.imageRotationAngle,image:t.image,zoomInDisabled:t.zoomInDisabled,initialRender:t.initialRender,xpos:t.xpos,ypos:t.ypos,absoluteScale:t.absoluteScale,relativeScale:t.relativeScale,imageUpdated:t.imageUpdated}))},onDragStart:function(t){return e(aV({moving:t.moving,lastMouseX:t.lastMouseX,lastMouseY:t.lastMouseY}))},onDragProgress:function(t){return e(sV({moving:t.moving,xpos:t.xpos,ypos:t.ypos,lastMouseX:t.lastMouseX,lastMouseY:t.lastMouseY}))},onEmptyImageRendered:function(){return e(lV())},onRotateEvent:function(t){return e(rV({imageRotationAngle:t.imageRotationAngle}))}}}))((function(e){var t=rl.useRef(!1),n=rl.useRef(null),r=rl.useRef(null),o=gP(e.personDisplayName,Pf()),i=!e.image||e.maximumScale<=1||e.progress>0,a=e.image,s=e.progress>0&&e.progress<1,c=!i||e.naturalHeight!==e.naturalWidth,l=wK(),u=RY(l,c,e.styles.canvas,e.isPhotoListPresent),d=rl.useState(),p=d[0],h=d[1],f=rl.useState(0),m=f[0],g=f[1],v=rl.useState(),y=v[0],b=v[1],_=rl.useCallback((function(e){return g(e%360)}),[]),C=e.onRefocus,w=e.onZoomEvent,E=e.onError,x=e.onDragProgress,S=e.onReset,k=e.onDragStart,T=e.onCanvasUpdated,I=e.onEmptyImageRendered,A=e.onFileSelected,P=e.onImageLoaded,D=e.onKeyboardEvent,R=e.onRotateEvent,M=e.isUploadedPhotoTooSmall,N=rl.useCallback((function(t,n){return"Fit"===e.imageScaling&&n<$G?($G-n)/2:t>0?0:t+n<$G?$G-n:t}),[e.imageScaling]),L=rl.useCallback((function(t,n,r,o){var i=t+(n-t)*o/e.absoluteScale,a=o*r/e.maximumScale;return N(i,a)}),[N,e.absoluteScale,e.maximumScale]),O=rl.useCallback((function(t,n,r){if(!(!e.image||e.maximumScale<1||isNaN(t))){var o=Math.min(1,Math.max(0,e.relativeScale+t));if(o!==e.relativeScale){var i=Math.exp(o*Math.log(e.maximumScale)),a=i<=1,s=i>=e.maximumScale,c=L(n,e.xpos,e.naturalWidth,i),l=L(r,e.ypos,e.naturalHeight,i);w({absoluteScale:i,relativeScale:o,zoomOutDisabled:a,zoomInDisabled:s,xpos:c,ypos:l})}}}),[e.image,e.maximumScale,e.relativeScale,e.xpos,e.naturalWidth,e.ypos,e.naturalHeight,L,w]),F=rl.useCallback((function(t){var n=(e.imageRotationAngle+t)%360;R({imageRotationAngle:n})}),[e.imageRotationAngle,R]),B=rl.useCallback((function(t){var n,r,o,i,a,s,c,l;if(e.image&&!(e.maximumScale<1)){var u="",d=e.xpos.toFixed(1),p=e.ypos.toFixed(1);switch(t.key){case"+":return O(e.stepSize,128,128);case"-":return O(-1*e.stepSize,128,128);case"ArrowLeft":u=null===(r=(n=e.strings).leftArrowKeyAriaLabel)||void 0===r?void 0:r.call(n,{p0:d,p1:p});break;case"ArrowRight":u=null===(i=(o=e.strings).rightArrowKeyAriaLabel)||void 0===i?void 0:i.call(o,{p0:d,p1:p});break;case"ArrowUp":u=null===(s=(a=e.strings).upArrowKeyAriaLabel)||void 0===s?void 0:s.call(a,{p0:d,p1:p});break;case"ArrowDown":u=null===(l=(c=e.strings).downArrowKeyAriaLabel)||void 0===l?void 0:l.call(c,{p0:d,p1:p})}t.currentTarget.setAttribute("aria-label","".concat(u));var h=rK((t.which===yf?1:t.which===_f&&-1)||0,(t.which===bf?1:t.which===Cf&&-1)||0,e.orientation,e.imageRotationAngle),f=h.x,m=h.y,g=f*e.naturalWidth/100,v=m*e.naturalHeight/100,y=N(e.xpos+g,e.naturalWidth*e.absoluteScale/e.maximumScale),b=N(e.ypos+v,e.naturalHeight*e.absoluteScale/e.maximumScale);D({xpos:y,ypos:b})}}),[e.stepSize,e.orientation,e.image,e.naturalWidth,e.naturalHeight,e.xpos,e.ypos,e.absoluteScale,e.maximumScale,D,e.imageRotationAngle,O,N,e.strings]),H=rl.useCallback((function(r){var o,i,a,s=1;"Fit"===e.imageScaling?(s=1.2,i=Math.max(r.naturalWidth,r.naturalHeight),a=i*s/$G):(i=Math.min(r.naturalWidth,r.naturalHeight),a=i/$G);var c=function(e){return-.5*(e/a-$G)},l=Math.min(1,Math.max(.01,$G/(2*Math.max(r.naturalWidth,r.naturalHeight))));_(0),!e.initialRender&&a<1&&(r.naturalHeight<48||r.naturalWidth<48?setTimeout((function(){return E("IMAGE_TOO_SMALL_ERROR")}),0):setTimeout((function(){return E("IMAGE_TOO_SMALL_WARNING")}),0)),M(r.naturalHeight<48||r.naturalWidth<48),t.current||P({naturalMin:i,naturalWidth:r.naturalWidth*s,naturalHeight:r.naturalHeight*s,stepSize:l,maximumScale:a,orientation:PK(r.src),imageRotationAngle:0,image:r,zoomInDisabled:!1,initialRender:!1,xpos:c(r.naturalWidth*s),ypos:c(r.naturalHeight*s),absoluteScale:1,relativeScale:0,imageUpdated:!1}),!e.initialRender&&(null===(o=n.current)||void 0===o||o.focus())}),[e.initialRender,E,M,P,t,n,e.imageScaling,_]),z=rl.useCallback((function(t){if(t){var n=new Image;n.onload=function(){return H(n)},n.src=t,n.alt=e.fileName||""}else S(),""===t&&I()}),[S,H,I,e.fileName]),U=rl.useCallback((function(t){if(e.image){MY(t);var n=t.deltaY>0?-1:1,r=rK(t.nativeEvent.offsetX,t.nativeEvent.offsetY,e.orientation,e.imageRotationAngle),o=r.x,i=r.y;O(oK(e.stepSize,.05,.1)*n,o,i)}}),[e.image,e.orientation,e.stepSize,O,e.imageRotationAngle]),V=rl.useCallback((function(t){var n=NY(t),r=rK(n[0],n[1],e.orientation,e.imageRotationAngle),o=r.x,i=r.y;e.image&&(MY(t),k({moving:!0,lastMouseX:o,lastMouseY:i}))}),[e.image,k,e.orientation,e.imageRotationAngle]),j=rl.useCallback((function(t){MY(t);var n="mousemove"===t.type||"touchmove"===t.type,r=NY(t),o=rK(r[0],r[1],e.orientation,e.imageRotationAngle),i=o.x,a=o.y;if(e.image&&e.moving){var s=N(e.xpos+(i-e.lastMouseX),e.naturalWidth*e.absoluteScale/e.maximumScale),c=N(e.ypos+(a-e.lastMouseY),e.naturalHeight*e.absoluteScale/e.maximumScale);x({moving:n,xpos:s,ypos:c,lastMouseX:i,lastMouseY:a})}}),[e.orientation,e.image,e.moving,e.xpos,e.ypos,e.lastMouseX,e.lastMouseY,e.naturalWidth,e.naturalHeight,e.absoluteScale,e.maximumScale,N,x,e.imageRotationAngle]),q=rl.useCallback((function(e){MY(e),h(!0)}),[h]),W=rl.useCallback((function(e){MY(e),h(!1)}),[h]),G=rl.useCallback((function(t){W(t),t.dataTransfer&&A(t.dataTransfer.files[0],e.isPhotoListPresent)}),[W,A,e.isPhotoListPresent]),K=rl.useCallback((function(){var t=n.current;if(t&&r.current){var o=t.getContext("2d");if(o){var i=window.getComputedStyle(t);o.fillStyle=i.backgroundColor||"#ffffff",o.fillRect(0,0,1,1);var a=o.getImageData(0,0,1,1).data,s="rgba(".concat(a[0],", ").concat(a[1],", ").concat(a[2],", 0.6)"),c="rgba(".concat(a[0],", ").concat(a[1],", ").concat(a[2],", 1)"),l=DP({text:e.personDisplayName});""===e.dataUrl?(o.fillStyle=l,r.current.style.display="flex"):(o.fillStyle=e.customBackgroundColor||ZG,r.current.style.display="none"),o.fillRect(0,0,$G,$G),e.image&&nK(o,$G,e.imageRotationAngle,e.orientation,e.image,(function(t,n){return t.drawImage(n,e.xpos,e.ypos,e.naturalWidth*e.absoluteScale/e.maximumScale,e.naturalHeight*e.absoluteScale/e.maximumScale)})),null===T||void 0===T||T(t),"Circle"===e.imageCropShape&&(o.save(),o.beginPath(),o.rect(0,0,$G,$G),o.arc(128,128,125,0,2*Math.PI,!0),o.clip(),o.fillStyle=s,o.fillRect(0,0,$G,$G),o.restore(),o.save(),o.beginPath(),o.arc(128,128,126,0,2*Math.PI,!0),o.lineWidth=2,o.strokeStyle=c,o.stroke(),o.restore(),o.save(),o.beginPath(),o.lineWidth=4,o.fillStyle=eK,o.strokeStyle=eK,o.arc(128,128,125,-Math.PI/2,2*e.progress*Math.PI-Math.PI/2,!1),1===e.progress&&o.fill(),o.stroke(),o.restore())}else E("UNSUPPORTED_BROWSER")}}),[e.personDisplayName,e.dataUrl,e.image,e.imageRotationAngle,e.orientation,e.xpos,e.ypos,e.naturalWidth,e.naturalHeight,e.absoluteScale,e.maximumScale,e.progress,E,e.customBackgroundColor,T,e.imageCropShape,r]);rl.useEffect((function(){return K(),function(){t.current=!0}}),[]),rl.useEffect((function(){K()})),rl.useEffect((function(){1===e.progress&&C()}),[e.progress,C]),rl.useEffect((function(){e.dataUrl&&b(i?"Rotate":"Zoom")}),[e.dataUrl,i]),rl.useEffect((function(){e.dataUrl?e.imageUpdated&&z(e.dataUrl):e.image&&(S(),I())}),[e.dataUrl,e.imageUpdated,e.image,S,I,i,z]);var Y=rl.useMemo((function(){var t,n;return e.image?1===e.progress?e.strings.success:e.fileName?null===(n=(t=e.strings).photoSelected)||void 0===n?void 0:n.call(t,{p0:e.fileName}):e.strings.dropZoneImageAriaLabel:e.strings.dropZoneEmptyAriaLabel}),[e.image,e.progress,e.fileName,e.strings]),Q=rl.useRef((0,AK.Z)());return rl.createElement("div",{className:u.canvasContainer,"aria-live":"polite"},rl.createElement("canvas",{className:"".concat(u.editCanvas," ").concat(p?u.isDropActive:""),role:"img",tabIndex:a?0:-1,ref:n,width:$G,height:$G,onKeyDown:function(e){return B(e)},"aria-label":Y,onDragEnter:q,onDrop:G,onDragLeave:W,onDragOver:MY,onMouseDown:V,onMouseMove:j,onMouseUp:j,onMouseLeave:j,onWheel:U,onTouchStart:V,onTouchMove:j,onTouchEnd:j,"aria-describedby":Q.current}),e.image&&e.fileName&&rl.createElement("img",{alt:e.fileName,id:Q.current,"aria-hidden":!0,hidden:!0}),rl.createElement("div",{className:u.textboy,ref:r,onDragEnter:q,onDragLeave:W,onDragOver:MY,onDrop:G},rl.createElement("div",{className:u.initials},o),rl.createElement("div",null,e.strings.dropZone)),rl.createElement("div",{role:"region","aria-live":"assertive","aria-atomic":!0},1===e.progress?rl.createElement("div",{className:u.textboy},rl.createElement("span",{className:u.invisible},e.strings.success),rl.createElement(HS,{className:u.initials,iconName:"CheckMark"})):null),a?rl.createElement(rl.Fragment,null,"Zoom"!==y&&e.enableImageRotation?rl.createElement(wY,{styles:e.styles.slider,isPhotoUploading:s,clockwiseString:e.strings.clockwise,counterClockwiseString:e.strings.counterClockwise,rotateString:e.strings.rotate,baseAngleForStraightening:m,imagePositionInformationString:e.strings.imagePositionInformationString,setBaseAngleForStraightening:_,onImageRotate:F,imageRotationAngle:e.imageRotationAngle,panEnabled:c}):rl.createElement(TY,{styles:e.styles.slider,zoomOutString:e.strings.zoomOut,zoomInString:e.strings.zoomIn,zoomString:e.strings.zoom,zoomAtMaxString:e.strings.zoomAtMax||"",imageScaleInformationString:e.strings.imageScaleInformationString,isPhotoUploading:s,canvasSize:$G,image:e.image,maximumScale:e.maximumScale,stepSize:e.stepSize,zoomOutDisabled:e.zoomOutDisabled,relativeScale:e.relativeScale,zoomInDisabled:e.zoomInDisabled,panEnabled:c,zoom:O}),e.enableImageRotation&&rl.createElement(PY,{styles:e.styles.pivot,zoomAtMaxString:e.strings.zoomAtMax,isPhotoUploading:s,maximumScale:e.maximumScale,selectedKey:y,setSelectedKey:b,rotateString:e.strings.rotate,zoomString:e.strings.zoom,pivotString:e.strings.pivot})):rl.createElement("div",{className:u.editControlsPlaceholderSpace}))})),OY=__webpack_require__(66759);var FY=rl.createContext({lookupString:function(e){return function(){return e}}});FY.Provider;function BY(e,t){return function(e,t,n){return(0,OY.me)()?t(n):e.lookupString(t.key)(n)}(rl.useContext(FY),e,t)}var HY=(0,OY.li)("accessibility-utils-ui.accessibility-utils.positionInSet");function zY(e){var t=e.posInSet,n=e.setSize,r=e.onRenderDescribedElement,o=function(e,t){return BY(HY,{pos:e.toString(),size:t.toString()})}(t,n),i=Ik();return rl.createElement(rl.Fragment,null,rl.createElement("div",{id:i,hidden:!0},o),r(i))}var UY=__webpack_require__(61148),VY=__webpack_require__(13019);function jY(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t&&1===t.length&&t[0]&&!t[0].subComponentStyles)return t[0];for(var r={},o={},i=0,a=t;i<a.length;i++){var s=a[i];if(s)for(var c in s)if(s.hasOwnProperty(c)){if("subComponentStyles"===c&&void 0!==s.subComponentStyles){var l=s.subComponentStyles;for(var u in l)l.hasOwnProperty(u)&&(o.hasOwnProperty(u)?o[u].push(l[u]):o[u]=[l[u]]);continue}var d=r[c],p=s[c];r[c]=void 0===d?p:(0,e.__spreadArray)((0,e.__spreadArray)([],Array.isArray(d)?d:[d]),Array.isArray(p)?p:[p])}}if(Object.keys(o).length>0){r.subComponentStyles={};var h=r.subComponentStyles,f=function(e){if(o.hasOwnProperty(e)){var t=o[e];h[e]=function(e){return jY.apply(void 0,t.map((function(t){return"function"===typeof t?t(e):t})))}}};for(var u in o)f(u)}return r}var qY,WY=0,GY=1,KY=2,YY="undefined"!==typeof navigator&&/rv:11.0/.test(navigator.userAgent),QY={};try{QY=window||{}}catch(lr){}var XY,JY=function(){function t(t,n){var r,o,i,a,s,c;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=(0,e.__assign)({injectionMode:"undefined"===typeof document?WY:GY,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},t),this._classNameToArgs=null!==(r=null===n||void 0===n?void 0:n.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(o=null===n||void 0===n?void 0:n.counter)&&void 0!==o?o:this._counter,this._keyToClassName=null!==(a=null!==(i=this._config.classNameCache)&&void 0!==i?i:null===n||void 0===n?void 0:n.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(s=null===n||void 0===n?void 0:n.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(c=null===n||void 0===n?void 0:n.rules)&&void 0!==c?c:this._rules}return t.getInstance=function(){if(!(qY=QY.__stylesheet__)||qY._lastStyleElement&&qY._lastStyleElement.ownerDocument!==document){var e=(null===QY||void 0===QY?void 0:QY.FabricConfig)||{},n=new t(e.mergeStyles,e.serializedStylesheet);qY=n,QY.__stylesheet__=n}return qY},t.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},t.prototype.setConfig=function(t){this._config=(0,e.__assign)((0,e.__assign)({},this._config),t)},t.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},t.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},t.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},t.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},t.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},t.prototype.getClassNameCache=function(){return this._keyToClassName},t.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},t.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},t.prototype.insertRule=function(e,t){var n=this._config.injectionMode,r=n!==WY?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case GY:var o=r.sheet;try{o.insertRule(e,o.cssRules.length)}catch(Ple){}break;case KY:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(e){return e()}))},t.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},t.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},t.prototype.resetKeys=function(){this._keyToClassName={}},t.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"===typeof document||(this._styleElement=this._createStyleElement(),YY||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},t.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style"),n=null;t.setAttribute("data-merge-styles","true");var r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var o=this._findPlaceholderStyleTag();n=o?o.nextElementSibling:e.childNodes[0]}return e.insertBefore(t,e.contains(n)?n:null),this._lastStyleElement=t,t},t.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},t}();function $Y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],o=JY.getInstance();function i(e){for(var t=0,a=e;t<a.length;t++){var s=a[t];if(s)if("string"===typeof s)if(s.indexOf(" ")>=0)i(s.split(" "));else{var c=o.argsFromClassName(s);c?i(c):-1===n.indexOf(s)&&n.push(s)}else Array.isArray(s)?i(s):"object"===typeof s&&r.push(s)}}return i(e),{classes:n,objects:r}}function ZY(){return void 0===XY&&(XY="undefined"!==typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),XY}function eQ(){return{rtl:ZY()}}XY=ZY();var tQ,nQ={};function rQ(e,t){var n=e[t];"-"!==n.charAt(0)&&(e[t]=nQ[n]=nQ[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase())}var oQ={"user-select":1};function iQ(e,t){var n=function(){var e;if(!tQ){var t="undefined"!==typeof document?document:void 0,n="undefined"!==typeof navigator?navigator:void 0,r=null===(e=null===n||void 0===n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();tQ=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return tQ}(),r=e[t];if(oQ[r]){var o=e[t+1];oQ[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var aQ,sQ=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function cQ(e,t){var n=e[t],r=e[t+1];if("number"===typeof r){var o=sQ.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]=""+r+a}}var lQ="left",uQ="right",dQ=((aQ={}).left=uQ,aQ.right=lQ,aQ),pQ={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function hQ(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"===typeof o&&o.indexOf("@noflip")>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(lQ)>=0)t[n]=r.replace(lQ,uQ);else if(r.indexOf(uQ)>=0)t[n]=r.replace(uQ,lQ);else if(String(o).indexOf(lQ)>=0)t[n+1]=o.replace(lQ,uQ);else if(String(o).indexOf(uQ)>=0)t[n+1]=o.replace(uQ,lQ);else if(dQ[r])t[n]=dQ[r];else if(pQ[o])t[n+1]=pQ[o];else switch(r){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}(o);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o,0)}}}function fQ(e){var t=e&&e["&"];return t?t.displayName:void 0}var mQ=/\:global\((.+?)\)/g;function gQ(e,t){return e.indexOf(":global(")>=0?e.replace(mQ,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function vQ(e,t,n,r){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?yQ([r],t,n=n+"{"+e):n.indexOf(",")>-1?function(e){if(!mQ.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],r=t[1],o=t[2];return e.slice(0,n)+o+e.slice(r)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return yQ([r],t,gQ(n,e))})):yQ([r],t,gQ(n,e))}function yQ(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=JY.getInstance(),o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var i=0,a=e;i<a.length;i++){var s=a[i];if("string"===typeof s){var c=r.argsFromClassName(s);c&&yQ(c,t,n)}else if(Array.isArray(s))yQ(s,t,n);else for(var l in s)if(s.hasOwnProperty(l)){var u=s[l];if("selectors"===l){var d=s.selectors;for(var p in d)d.hasOwnProperty(p)&&vQ(n,t,p,d[p])}else"object"===typeof u?null!==u&&vQ(n,t,l,u):void 0!==u&&("margin"===l||"padding"===l?bQ(o,l,u):o[l]=u)}}return t}function bQ(e,t,n){var r="string"===typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function _Q(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];n.push(a);var s=t[a];for(var c in s)s.hasOwnProperty(c)&&void 0!==s[c]&&(r=!0,n.push(c,s[c]))}return r?n.join(""):void 0}function CQ(e,t){return t<=0?"":1===t?e:e+CQ(e,t-1)}function wQ(e,t){if(!t)return"";var n=[];for(var r in t)t.hasOwnProperty(r)&&"displayName"!==r&&void 0!==t[r]&&n.push(r,t[r]);for(var o=0;o<n.length;o+=2)rQ(n,o),cQ(n,o),hQ(e,n,o),iQ(n,o);for(o=1;o<n.length;o+=4)n.splice(o,1,":",n[o],";");return n.join("")}function EQ(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=yQ(t),o=_Q(e,r);if(o){var i=JY.getInstance(),a={className:i.classNameFromKey(o),key:o,args:t};if(!a.className){a.className=i.getClassName(fQ(r));for(var s=[],c=0,l=r.__order;c<l.length;c++){var u=l[c];s.push(u,wQ(e,r[u]))}a.rulesToInsert=s}return a}}function xQ(e,t){void 0===t&&(t=1);var n=JY.getInstance(),r=e.className,o=e.key,i=e.args,a=e.rulesToInsert;if(a){for(var s=0;s<a.length;s+=2){var c=a[s+1];if(c){var l=a[s],u=(l=l.replace(/&/g,CQ("."+e.className,t)))+"{"+c+"}"+(0===l.indexOf("@")?"}":"");n.insertRule(u)}}n.cacheClassName(r,o,i,a)}}function SQ(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return kQ(e,eQ())}function kQ(e,t){var n={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=jY.apply(void 0,e),o=[];for(var i in r)if(r.hasOwnProperty(i)){if("subComponentStyles"===i){n.subComponentStyles=r.subComponentStyles||{};continue}var a=$Y(r[i]),s=a.classes,c=a.objects;if(null===c||void 0===c?void 0:c.length)(d=EQ(t||{},{displayName:i},c))&&(o.push(d),n[i]=s.concat([d.className]).join(" "));else n[i]=s.join(" ")}for(var l=0,u=o;l<u.length;l++){var d;(d=u[l])&&xQ(d,null===t||void 0===t?void 0:t.specificityMultiplier)}return n}var TQ={},IQ=void 0;try{IQ=window}catch(Ple){}function AQ(e,t){if("undefined"!==typeof IQ){var n=IQ.__packages__=IQ.__packages__||{};if(!n[e]||!TQ[e])TQ[e]=t,(n[e]=n[e]||[]).push(t)}}AQ("@fluentui/set-version","6.0.0"),AQ("@fluentui/style-utilities","8.9.10");var PQ,DQ={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"};!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)"}(PQ||(PQ={}));var RQ,MQ,NQ,LQ,OQ,FQ={elevation4:PQ.depth4,elevation8:PQ.depth8,elevation16:PQ.depth16,elevation64:PQ.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};!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)"}(RQ||(RQ={})),function(e){e.Arabic="'"+RQ.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+RQ.Cyrillic+"'",e.EastEuropean="'"+RQ.EastEuropean+"'",e.Greek="'"+RQ.Greek+"'",e.Hebrew="'"+RQ.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+RQ.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+RQ.Vietnamese+"'",e.WestEuropean="'"+RQ.WestEuropean+"'",e.Armenian="'"+RQ.Armenian+"'",e.Georgian="'"+RQ.Georgian+"'"}(MQ||(MQ={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",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"}(NQ||(NQ={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(LQ||(LQ={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(OQ||(OQ={}));var BQ,HQ="'Segoe UI', '"+RQ.WestEuropean+"'",zQ={ar:MQ.Arabic,bg:MQ.Cyrillic,cs:MQ.EastEuropean,el:MQ.Greek,et:MQ.EastEuropean,he:MQ.Hebrew,hi:MQ.Hindi,hr:MQ.EastEuropean,hu:MQ.EastEuropean,ja:MQ.Japanese,kk:MQ.EastEuropean,ko:MQ.Korean,lt:MQ.EastEuropean,lv:MQ.EastEuropean,pl:MQ.EastEuropean,ru:MQ.Cyrillic,sk:MQ.EastEuropean,"sr-latn":MQ.EastEuropean,th:MQ.Thai,tr:MQ.EastEuropean,uk:MQ.Cyrillic,vi:MQ.Vietnamese,"zh-hans":MQ.ChineseSimplified,"zh-hant":MQ.ChineseTraditional,hy:MQ.Armenian,ka:MQ.Georgian};function UQ(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var VQ="language";var jQ=function(e){var t=function(e){for(var t in zQ)if(zQ.hasOwnProperty(t)&&e&&0===t.indexOf(e))return zQ[t];return HQ}(e)+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";return{tiny:UQ(NQ.mini,LQ.regular,t),xSmall:UQ(NQ.xSmall,LQ.regular,t),small:UQ(NQ.small,LQ.regular,t),smallPlus:UQ(NQ.smallPlus,LQ.regular,t),medium:UQ(NQ.medium,LQ.regular,t),mediumPlus:UQ(NQ.mediumPlus,LQ.regular,t),large:UQ(NQ.large,LQ.regular,t),xLarge:UQ(NQ.xLarge,LQ.semibold,t),xLargePlus:UQ(NQ.xLargePlus,LQ.semibold,t),xxLarge:UQ(NQ.xxLarge,LQ.semibold,t),xxLargePlus:UQ(NQ.xxLargePlus,LQ.semibold,t),superLarge:UQ(NQ.superLarge,LQ.semibold,t),mega:UQ(NQ.mega,LQ.semibold,t)}}(function(e){if(void 0===e&&(e="sessionStorage"),void 0===BQ){var t=function(e){if(dK()&&"undefined"!==typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}(),n="localStorage"===e?function(e){var t=null;try{var n=hK();t=n?n.localStorage.getItem(e):null}catch(Ple){}return t}(VQ):"sessionStorage"===e?function(e){var t=null;try{var n=hK();t=n?n.sessionStorage.getItem(e):null}catch(Ple){}return t}(VQ):void 0;n&&(BQ=n),void 0===BQ&&t&&(BQ=t.documentElement.getAttribute("lang")),void 0===BQ&&(BQ="en")}return BQ}());function qQ(e,t,n,r){!function(e){var t=JY.getInstance(),n=wQ(eQ(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{"+n+"}",!0),t.cacheClassName(r,n,[],["font-face",n])}}({fontFamily:e="'"+e+"'",src:(void 0!==r?"local('"+r+"'),":"")+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function WQ(e,t,n,r,o){void 0===r&&(r="segoeui");var i=e+"/"+n+"/"+r;qQ(t,i+"-light",LQ.light,o&&o+" Light"),qQ(t,i+"-semilight",LQ.semilight,o&&o+" SemiLight"),qQ(t,i+"-regular",LQ.regular,o),qQ(t,i+"-semibold",LQ.semibold,o&&o+" SemiBold"),qQ(t,i+"-bold",LQ.bold,o&&o+" Bold")}function GQ(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];KQ(e||{},i)}return e}function KQ(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var o=t[r];if("object"!==typeof o||null===o||Array.isArray(o))e[r]=o;else{var i=n.indexOf(o)>-1;e[r]=i?o:KQ(e[r]||{},o,n)}}return n.pop(),e}function YQ(t,n,r,o,i){return void 0===i&&(i=!1),function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(QQ(t,n,(0,e.__assign)({primaryButtonBorder:"transparent",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",successText:o?"#92c353":"#107C10"},r),o),i)}function QQ(t,n,r,o,i){void 0===i&&(i=!1);var a={},s=t||{},c=s.white,l=s.black,u=s.themePrimary,d=s.themeDark,p=s.themeDarker,h=s.themeDarkAlt,f=s.themeLighter,m=s.neutralLight,g=s.neutralLighter,v=s.neutralDark,y=s.neutralQuaternary,b=s.neutralQuaternaryAlt,_=s.neutralPrimary,C=s.neutralSecondary,w=s.neutralSecondaryAlt,E=s.neutralTertiary,x=s.neutralTertiaryAlt,S=s.neutralLighterAlt,k=s.accent;return c&&(a.bodyBackground=c,a.bodyFrameBackground=c,a.accentButtonText=c,a.buttonBackground=c,a.primaryButtonText=c,a.primaryButtonTextHovered=c,a.primaryButtonTextPressed=c,a.inputBackground=c,a.inputForegroundChecked=c,a.listBackground=c,a.menuBackground=c,a.cardStandoutBackground=c),l&&(a.bodyTextChecked=l,a.buttonTextCheckedHovered=l),u&&(a.link=u,a.primaryButtonBackground=u,a.inputBackgroundChecked=u,a.inputIcon=u,a.inputFocusBorderAlt=u,a.menuIcon=u,a.menuHeader=u,a.accentButtonBackground=u),d&&(a.primaryButtonBackgroundPressed=d,a.inputBackgroundCheckedHovered=d,a.inputIconHovered=d),p&&(a.linkHovered=p),h&&(a.primaryButtonBackgroundHovered=h),f&&(a.inputPlaceholderBackgroundChecked=f),m&&(a.bodyBackgroundChecked=m,a.bodyFrameDivider=m,a.bodyDivider=m,a.variantBorder=m,a.buttonBackgroundCheckedHovered=m,a.buttonBackgroundPressed=m,a.listItemBackgroundChecked=m,a.listHeaderBackgroundPressed=m,a.menuItemBackgroundPressed=m,a.menuItemBackgroundChecked=m),g&&(a.bodyBackgroundHovered=g,a.buttonBackgroundHovered=g,a.buttonBackgroundDisabled=g,a.buttonBorderDisabled=g,a.primaryButtonBackgroundDisabled=g,a.disabledBackground=g,a.listItemBackgroundHovered=g,a.listHeaderBackgroundHovered=g,a.menuItemBackgroundHovered=g),y&&(a.primaryButtonTextDisabled=y,a.disabledSubtext=y),b&&(a.listItemBackgroundCheckedHovered=b),E&&(a.disabledBodyText=E,a.variantBorderHovered=(null===r||void 0===r?void 0:r.variantBorderHovered)||E,a.buttonTextDisabled=E,a.inputIconDisabled=E,a.disabledText=E),_&&(a.bodyText=_,a.actionLink=_,a.buttonText=_,a.inputBorderHovered=_,a.inputText=_,a.listText=_,a.menuItemText=_),S&&(a.bodyStandoutBackground=S,a.defaultStateBackground=S),v&&(a.actionLinkHovered=v,a.buttonTextHovered=v,a.buttonTextChecked=v,a.buttonTextPressed=v,a.inputTextHovered=v,a.menuItemTextHovered=v),C&&(a.bodySubtext=C,a.focusBorder=C,a.inputBorder=C,a.smallInputBorder=C,a.inputPlaceholderText=C),w&&(a.buttonBorder=w),x&&(a.disabledBodySubtext=x,a.disabledBorder=x,a.buttonBackgroundChecked=x,a.menuDivider=x),k&&(a.accentButtonBackground=k),(null===n||void 0===n?void 0:n.elevation4)&&(a.cardShadow=n.elevation4),!o&&(null===n||void 0===n?void 0:n.elevation8)?a.cardShadowHovered=n.elevation8:a.variantBorderHovered&&(a.cardShadowHovered="0 0 1px "+a.variantBorderHovered),a=(0,e.__assign)((0,e.__assign)({},a),r)}!function(e){if(e){var t=e+"/fonts";WQ(t,RQ.Thai,"leelawadeeui-thai","leelawadeeui"),WQ(t,RQ.Arabic,"segoeui-arabic"),WQ(t,RQ.Cyrillic,"segoeui-cyrillic"),WQ(t,RQ.EastEuropean,"segoeui-easteuropean"),WQ(t,RQ.Greek,"segoeui-greek"),WQ(t,RQ.Hebrew,"segoeui-hebrew"),WQ(t,RQ.Vietnamese,"segoeui-vietnamese"),WQ(t,RQ.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),WQ(t,MQ.Selawik,"selawik","selawik"),WQ(t,RQ.Armenian,"segoeui-armenian"),WQ(t,RQ.Georgian,"segoeui-georgian"),qQ("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",LQ.light),qQ("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",LQ.semibold)}}(function(){var e,t,n=null===(e=hK())||void 0===e?void 0:e.FabricConfig;return null!==(t=null===n||void 0===n?void 0:n.fontBaseUrl)&&void 0!==t?t:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20221209.001/assets"}());var XQ={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function JQ(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var n=!!e.isInverted;return function(e,t){var n,r,o;void 0===t&&(t={});var i=GQ({},e,t,{semanticColors:QQ(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(n=t.palette)||void 0===n?void 0:n.themePrimary)&&!(null===(r=t.palette)||void 0===r?void 0:r.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(i.fonts);a<s.length;a++){var c=s[a];i.fonts[c]=GQ(i.fonts[c],t.defaultFontStyle,null===(o=null===t||void 0===t?void 0:t.fonts)||void 0===o?void 0:o[c])}return i}({palette:DQ,effects:FQ,fonts:jQ,spacing:XQ,isInverted:n,disableGlobalClassNames:!1,semanticColors:YQ(DQ,FQ,void 0,n,t),rtl:void 0},e)}var $Q=JQ({}),ZQ=[],eX="theme";function tX(){var t,n,r,o=hK();(null===(n=null===o||void 0===o?void 0:o.FabricConfig)||void 0===n?void 0:n.legacyTheme)?function(t,n){var r;void 0===n&&(n=!1);$Q=JQ(t,n),yg((0,e.__assign)((0,e.__assign)((0,e.__assign)((0,e.__assign)({},$Q.palette),$Q.semanticColors),$Q.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var o=r[n],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var c=s[a],l=o+c.charAt(0).toUpperCase()+c.slice(1),u=i[c];"fontSize"===c&&"number"===typeof u&&(u+="px"),t[l]=u}return t}($Q))),CK.applySettings(((r={}).theme=$Q,r)),ZQ.forEach((function(e){try{e($Q)}catch(Ple){}}))}(o.FabricConfig.legacyTheme):CK.getSettings([eX]).theme||((null===(r=null===o||void 0===o?void 0:o.FabricConfig)||void 0===r?void 0:r.theme)&&($Q=JQ(o.FabricConfig.theme)),CK.applySettings(((t={}).theme=$Q,t)))}tX(),tX();var nX,rX=0,oX=1,iX=2,aX="undefined"!==typeof navigator&&/rv:11.0/.test(navigator.userAgent),sX={};try{sX=window||{}}catch(lr){}var cX=function(){function t(t,n){var r,o,i,a,s,c;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=(0,e.__assign)({injectionMode:"undefined"===typeof document?rX:oX,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},t),this._classNameToArgs=null!==(r=null===n||void 0===n?void 0:n.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(o=null===n||void 0===n?void 0:n.counter)&&void 0!==o?o:this._counter,this._keyToClassName=null!==(a=null!==(i=this._config.classNameCache)&&void 0!==i?i:null===n||void 0===n?void 0:n.keyToClassName)&&void 0!==a?a:this._keyToClassName,this._preservedRules=null!==(s=null===n||void 0===n?void 0:n.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(c=null===n||void 0===n?void 0:n.rules)&&void 0!==c?c:this._rules}return t.getInstance=function(){if(!(nX=sX.__stylesheet__)||nX._lastStyleElement&&nX._lastStyleElement.ownerDocument!==document){var e=(null===sX||void 0===sX?void 0:sX.FabricConfig)||{},n=new t(e.mergeStyles,e.serializedStylesheet);nX=n,sX.__stylesheet__=n}return nX},t.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},t.prototype.setConfig=function(t){this._config=(0,e.__assign)((0,e.__assign)({},this._config),t)},t.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},t.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},t.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},t.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},t.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},t.prototype.getClassNameCache=function(){return this._keyToClassName},t.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},t.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},t.prototype.insertRule=function(e,t){var n=this._config.injectionMode,r=n!==rX?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(n){case oX:var o=r.sheet;try{o.insertRule(e,o.cssRules.length)}catch(Ple){}break;case iX:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(e){return e()}))},t.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},t.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},t.prototype.resetKeys=function(){this._keyToClassName={}},t.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"===typeof document||(this._styleElement=this._createStyleElement(),aX||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},t.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style"),n=null;t.setAttribute("data-merge-styles","true");var r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var o=this._findPlaceholderStyleTag();n=o?o.nextElementSibling:e.childNodes[0]}return e.insertBefore(t,e.contains(n)?n:null),this._lastStyleElement=t,t},t.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},t}(),lX=!1,uX=0,dX={empty:!0},pX={},hX="undefined"===typeof WeakMap?null:WeakMap;function fX(){uX++}function mX(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!hX)return e;if(!lX){var r=cX.getInstance();r&&r.onReset&&cX.getInstance().onReset(fX),lX=!0}var o,i=0,a=uX;return function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var c=o;(void 0===o||a!==uX||t>0&&i>t)&&(o=vX(),i=0,a=uX),c=o;for(var l=0;l<r.length;l++){var u=gX(r[l]);c.map.has(u)||c.map.set(u,vX()),c=c.map.get(u)}return c.hasOwnProperty("value")||(c.value=e.apply(void 0,r),i++),!n||null!==c.value&&void 0!==c.value||(c.value=e.apply(void 0,r)),c.value}}function gX(e){return e?"object"===typeof e||"function"===typeof e?e:(pX[e]||(pX[e]={val:e}),pX[e]):dX}function vX(){return{map:hX?new hX:null}}var yX=function(){return{}};function bX(t,n){return UY.V.apply(void 0,(0,e.__spreadArray)([function(e){var r=t[e];return(Array.isArray(r)?r:[r]).concat(n[e])}],(0,VY.keys)(t),!1))}var _X={};var CX=function(e){return function(e){return mX((function(t,n){return void 0===n&&(n=yX),SQ(bX(e(t),n(t)))}))}((function(t){return tv({listItem:Xh({height:56,width:56,marginBottom:10,border:"none",boxSizing:"border-box",display:"flex",padding:0,background:"transparent",cursor:"pointer",selectors:{"&:focus":{outline:"2px solid ".concat(t.palette.themePrimary)},"&:hover":{opacity:.9,border:"1px solid ".concat(t.palette.neutralLighter)}}},null===e||void 0===e?void 0:e.listItem),lastListItem:{marginBottom:0},listItemSelected:Xh({outline:"2px solid ".concat(t.palette.themePrimary),opacity:.9},null===e||void 0===e?void 0:e.listItemSelected),listItemWithBackground:{background:t.palette.neutralLighter},photoListItemImage:{height:"100%",width:"100%"},emptyListIcon:Xh({margin:"auto",fontSize:"24px",color:t.palette.neutralSecondaryAlt},null===e||void 0===e?void 0:e.emptyListIcon)})}))},wX=function(e){var t,n=wK(),r=CX(e.styles)(n);return rl.createElement("button",{className:Wv(r.listItem,(t={},t[r.listItemSelected]=e.index===e.selectedIndex,t[r.listItemWithBackground]=e.isEmptyPhoto,t[r.lastListItem]=e.isLastPhoto,t)),onClick:function(){var t;e.onClickHandler({selectedIndex:e.index,imageUrl:e.imageUrl||"",fileName:"".concat(e.photoListImageAriaLabel||""," ").concat(e.index+1).trim()}),e.isEmptyPhoto&&(null===(t=e.onPhotoRemoved)||void 0===t||t.call(e))},"aria-describedby":e.ariaDescribedBy},e.isEmptyPhoto?rl.createElement(OS,{"aria-label":e.photoListEmptyImageAriaLabel,iconName:"Contact",className:r.emptyListIcon}):rl.createElement(RS,{src:e.imageUrl,className:r.photoListItemImage,alt:e.photoListImageAriaLabel,imageFit:CS.cover}))},EX=function(e){return function(e){return mX((function(t){return void 0===t&&(t=_X),SQ(bX(e,t))}))}(tv({root:Xh({height:256,width:56,padding:"0px 25px 0px 12px",overflowY:"auto",margin:0,listStyle:"none"},null===e||void 0===e?void 0:e.root)}))()},xX=function(e){var t=EX(e.styles),n=e.imageUrls,r=e.showEmptyPhoto?n.length:n.length-1;return rl.createElement("ul",{className:t.root,"aria-label":e.strings.photoListAriaLabel},n.map((function(t,n){return rl.createElement(zY,{posInSet:n+1,setSize:r+1,key:n,onRenderDescribedElement:function(o){return rl.createElement("li",{key:n},rl.createElement(wX,{key:n,styles:e.styles,imageUrl:t,index:n,selectedIndex:e.selectedIndex,isLastPhoto:n===r,isEmptyPhoto:!1,photoListImageAriaLabel:e.strings.photoListImageAriaLabel,onClickHandler:e.onPhotoListImageSelected,ariaDescribedBy:o}))}})})),!!e.showEmptyPhoto&&rl.createElement(zY,{posInSet:r+1,setSize:r+1,onRenderDescribedElement:function(t){return rl.createElement("li",null,rl.createElement(wX,{index:n.length,selectedIndex:e.selectedIndex,isLastPhoto:!0,isEmptyPhoto:!0,styles:e.styles,photoListEmptyImageAriaLabel:e.strings.photoListEmptyImageAriaLabel,onClickHandler:e.onPhotoListImageSelected,onPhotoRemoved:e.onPhotoRemoved,ariaDescribedBy:t}))}}))},SX=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),kX=function(){return kX=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},kX.apply(this,arguments)},TX=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return SX(t,e),t.prototype.componentDidMount=function(){this.props.photoListLoadPhotos(this.props.photoListSelectedIndex||0,this.props.photoListImageUrls)},t.prototype.render=function(){return rl.createElement(xX,kX({},this.props))},t}(rl.Component);var IX=KG((function(e){return yV.getSelectors(e).getPhotoListState()}),(function(e){return{photoListLoadPhotos:function(t,n){e(hV({selectedIndex:t,imageUrls:n}))},onPhotoListImageSelected:function(t){!function(e,t,n,r){if(!t)return e(QU({isPhotoListPresent:!0})),void e(dV({selectedIndex:n}));if(t.startsWith("data:image/"))return e(XU({dataUrl:t,isPhotoListPresent:!0,fileName:r})),e(uV()),void e(dV({selectedIndex:n}));var o=new Image;o.crossOrigin="Anonymous",o.onload=function(){var t=document.createElement("canvas");t.width=o.naturalWidth,o.alt=r||"",t.height=o.naturalHeight;var i=t.getContext("2d");i&&(i.drawImage(o,0,0),e(XU({dataUrl:XG(t,!1),isPhotoListPresent:!0,fileName:r})),e(uV()),e(dV({selectedIndex:n})))},o.src=t}(e,t.imageUrl,t.selectedIndex,t.fileName)}}}))(TX),AX=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),PX=function(){return PX=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},PX.apply(this,arguments)},DX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},RX=function(e){function t(t){return 1/(1+Math.exp(-e*t))-.5}var n=.5/t(1);return function(e){return e<=0?0:e>1?1:n*t(2*e-1)+.5}}(5),MX=function(e){function t(t){var n=e.call(this,t)||this;return n.focusTrap=null,n.primaryButton=null,n.uploadFileButton=null,n.onCanvasUpdated=function(e){var t,r;n.props.isCanvasDirty&&n.props.onImageChanged?n.props.onImageChanged(n.props.latestImageStats):null===(r=(t=n.props).onCanvasUpdated)||void 0===r||r.call(t,e,n.props.isCanvasDirty)},n.handleOnRemoveButtonClicked=function(){n.props.loadedEmptyImage(Array.isArray(n.props.personImageUrl)),n.uploadFileButton&&n.uploadFileButton.focus()},n.handleOnSaveButtonClicked=function(){if("SUCCESS"===n.props.status)return n.props.onDone(),n.props.onDismiss();n.props.startUpload()},n.handleUploadAnimation=function(){"IN_PROGRESS"===n.props.status&&n.props.onUploadProgress(Date.now())},n.handleOnCancelButtonClicked=function(){n.props.onCancel(),n.props.onDismiss()},n.handleOnCloseButtonClicked=function(){n.props.onClose(),n.props.onDismiss()},n.getFocusTrapRef=n.getFocusTrapRef.bind(n),n.getButtonRef=n.getButtonRef.bind(n),n.getUploadButtonRef=n.getUploadButtonRef.bind(n),n}return AX(t,e),t.prototype.getFocusTrapRef=function(){var e=this,t=function(t){return e.focusTrap=t};return t.current=null,t},t.prototype.getButtonRef=function(){var e=this,t=function(t){return e.primaryButton=t};return t.current=null,t},t.prototype.getUploadButtonRef=function(){var e=this,t=function(t){return e.uploadFileButton=t};return t.current=null,t},t.prototype.render=function(){var e,t,n=this,r=this.getWarningText(this.props.warning);return rl.createElement(kK,{styles:this.props.styles.picker,onDismiss:this.props.onDismiss,focusTrapRef:this.getFocusTrapRef(),hideTitleText:!!this.props.hideUploadHeader,isComponentInline:!!this.props.isComponentInline,titleText:this.props.strings.uploadHeader,imageEditorDescription:this.props.strings.imageEditorDescription,hideEndActions:this.props.hideButtons,closeIcon:rl.createElement(lK,{buttonType:"Icon",iconName:"Cancel",onClick:this.handleOnCloseButtonClicked,dataLogName:"PhotoPickerClose",title:this.props.strings.closeIconTitle,ariaLabel:this.props.strings.closeIconAriaLabel}),infoBar:r?rl.createElement(xK,{styles:this.props.styles.infoBar,warning:this.props.warning,warningText:r,onDismiss:this.props.onDismissInfoBar,dismissButtonAriaLabel:this.props.strings.infoBarDismissButtonAriaLabel}):null,uploadPhoto:this.props.hideUploadPhotoButton&&this.props.renderCustomUploadButton?null:rl.createElement(IK,{styles:this.props.styles.uploadPhoto,buttonRef:this.getUploadButtonRef(),onFileSelected:this.props.onFileSelected,onUploadNewPhoto:this.props.onUploadNewPhoto,uploadText:this.props.strings.upload,isPhotoListPresent:Array.isArray(this.props.personImageUrl)}),editCanvas:rl.createElement(LY,{dataUrl:this.props.dataUrl,enableImageRotation:this.props.enableImageRotation,fileName:this.props.fileName,personDisplayName:this.props.personDisplayName,progress:this.props.progress,warning:r,strings:this.props.strings,onError:this.props.onError,isUploadedPhotoTooSmall:function(e){return n.props.onUploadedPhotoTooSmall(e)},styles:this.props.styles,onFileSelected:this.props.onFileSelected,onRefocus:function(){return n.onFocusChange()},onUpdate:this.props.onImageUpdated,imageCropShape:this.props.imageCropShape||"Circle",imageScaling:this.props.imageScaling||"Fill",onCanvasUpdated:this.onCanvasUpdated,isComponentInline:!!this.props.isComponentInline,customBackgroundColor:this.props.customBackgroundColor,isPhotoListPresent:Array.isArray(this.props.personImageUrl)}),photoList:Array.isArray(this.props.personImageUrl)?rl.createElement(IX,{styles:this.props.styles.list,photoListImageUrls:this.props.personImageUrl,photoListSelectedIndex:this.props.photoListSelectedIndex,showEmptyPhoto:!!this.props.showPhotoListEmptyPhoto,strings:this.props.strings,onPhotoRemoved:function(){var e;null===(e=n.uploadFileButton)||void 0===e||e.focus()}}):null,applyButton:rl.createElement(lK,{buttonType:"Primary",buttonLabel:this.getSaveButtonText(this.props.status),dataLogName:"PhotoPickerOkay",onClick:this.handleOnSaveButtonClicked,disabled:this.getIsPrimaryButtonDisabled(),buttonRef:this.getButtonRef()}),cancelButton:this.props.progress>0?null:rl.createElement(lK,{buttonType:"Default",buttonLabel:this.props.strings.cancel,dataLogName:"PhotoPickerCancel",onClick:this.handleOnCancelButtonClicked}),removeButton:this.props.isImageRemovable?rl.createElement(lK,{buttonType:"Action",buttonLabel:this.props.strings.remove,iconName:"Delete",dataLogName:"PhotoPickerDelete",disabled:this.getIsRemoveButtonDisabled(),onClick:this.handleOnRemoveButtonClicked}):null,customUploadButton:null===(t=(e=this.props).renderCustomUploadButton)||void 0===t?void 0:t.call(e,{onFileSelected:this.props.onFileSelected,onUploadNewPhoto:this.props.onUploadNewPhoto})})},t.prototype.componentDidMount=function(){var e=this;this.props.loadCurrentImage(),requestAnimationFrame((function(){return e.focusTrap&&e.focusTrap.focus()}))},t.prototype.componentWillUnmount=function(){this.props.onImageEditPaneDismissed()},t.prototype.componentDidUpdate=function(e){"IN_PROGRESS"===this.props.status&&requestAnimationFrame(this.handleUploadAnimation),"IN_PROGRESS"===e.status&&"SUCCESS"===this.props.status&&this.primaryButton&&this.primaryButton.focus()},t.prototype.onFocusChange=function(){"SUCCESS"===this.props.status?this.primaryButton&&this.primaryButton.focus():this.focusTrap&&this.focusTrap.focus()},t.prototype.getSaveButtonText=function(e){switch(e){case"IN_PROGRESS":return this.props.strings.inProgress;case"SUCCESS":return this.props.strings.close;case"READY":case"SOMETHING_WENT_WRONG":return this.props.strings.apply;default:return(0,aK.k)(e)}},t.prototype.getWarningText=function(e){switch(e){case"IMAGE_TOO_SMALL_WARNING":return this.props.strings.imageTooSmall;case"IMAGE_TOO_SMALL_ERROR":return this.props.strings.imageTooSmallError;case"NOT_AN_IMAGE":return this.props.strings.notAnImage;case"UNKNOWN":return this.props.strings.somethingWentWrong;case"UNSUPPORTED_BROWSER":return this.props.strings.unsupportedBrowser;default:return""}},t.prototype.getIsPrimaryButtonDisabled=function(){return!this.props.isCanvasDirty||"IN_PROGRESS"===this.props.status||this.props.isUploadedPhotoTooSmall},t.prototype.getIsRemoveButtonDisabled=function(){return!this.props.dataUrl||"IN_PROGRESS"===this.props.status},t}(rl.Component);var NX={absoluteScale:0,imageRotationAngle:0,xpos:0,ypos:0},LX=function(e){return sK.reduce((function(t,n){var r;return PX(PX({},t),((r={})[n]=Number(e[n]),r))}),NX)},OX=function(e,t){return sK.some((function(n){return t[n].toFixed(4)!==e[n].toFixed(4)}))},FX=function(e,t){switch(e){case"IN_PROGRESS":return.999999*RX(t/2e3);case"SUCCESS":return 1;case"READY":case"SOMETHING_WENT_WRONG":return 0;default:(0,aK.k)(e)}};var BX=KG((function(e){var t=yV.getSelectors(e).getPhotoPickerState(),n=yV.getSelectors(e).getEditCanvasState(),r=n.originalCanvasState,o=DX(n,["originalCanvasState"]),i=LX(o),a=LX(r);return{dataUrl:t.dataUrl,initialImage:t.currentImageDataUrl,warning:t.warning,status:t.status,isCanvasDirty:t.isUpdated||OX(a,i),isUploadedPhotoTooSmall:t.isUploadedPhotoTooSmall,progress:FX(t.status,t.uploadDuration),latestImageStats:i,fileName:t.fileName}}),(function(e){return{onUploadedPhotoTooSmall:function(t){return e(UU({isUploadedPhotoTooSmall:t}))},onDismissInfoBar:function(){return e(tV())},onError:function(t){return e(JU({warning:t}))},onUploadNewPhoto:function(){return e(WU())},onFileSelected:function(t,n){return function(e,t,n){var r=new FileReader,o=function(){return e(JU({warning:"NOT_AN_IMAGE"}))};r.onerror=o,r.onloadend=function(){var i=document.createElement("img");i.onerror=o,i.onload=function(){i.alt=t.name,e(XU({dataUrl:i.src,fileName:t.name})),e(uV()),n&&e(pV({selectedIndex:0,newImageUrl:i.src}))},i.src=String(r.result)},r.readAsDataURL(t)}(e,t,n)},onCancel:function(){return e(VU())},onClose:function(){return e(jU())},onDone:function(){return e(qU())},onImageEditPaneDismissed:function(){return e(GU())},onImageUpdated:function(){return e(KU())},onUploadProgress:function(t){return e(ZU({now:t}))}}}))(MX),HX=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),zX=function(){return zX=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},zX.apply(this,arguments)},UX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.loadCurrentImage=function(){var e=new Image;e.crossOrigin="Anonymous",e.onload=function(){return t.imageLoaded(e)},e.onerror=function(){return t.imageLoadFailed()},e.src=Array.isArray(t.props.personImageUrl)?t.props.personImageUrl[t.props.photoListSelectedIndex||0]||"":t.props.personImageUrl},t.imageLoaded=function(e){var n=document.createElement("canvas");n.width=e.naturalWidth,n.height=e.naturalHeight;var r=n.getContext("2d");r?(r.drawImage(e,0,0),t.props.onLoadedCurrentImage(XG(n,t.props.isComponentInline),!!t.props.isSuggestedPhoto,Array.isArray(t.props.personImageUrl))):t.props.onError("UNSUPPORTED_BROWSER")},t.imageLoadFailed=function(){t.props.onLoadedEmptyImage(Array.isArray(t.props.personImageUrl))},t.startUpload=function(){var e=t.getImageDataUrlFromCanvas();t.props.onStartUpload(Date.now(),e,t.props.selectedIndex,t.props.imageUrls,t.props.onUpload,t.props.getPhotoListDataOnUpload)},t.getImageDataUrlFromCanvas=function(e){if(!t.props.image)return"";e||(e=648);var n=document.createElement("canvas"),r=t.props.naturalMin/t.props.absoluteScale;n.width=r,n.height=r;var o=n.getContext("2d");if(!o)return t.props.onError("UNSUPPORTED_BROWSER"),"";o.fillStyle=t.props.customBackgroundColor||ZG,o.fillRect(0,0,n.width,n.height),t.props.image&&nK(o,n.width,t.props.imageRotationAngle,t.props.orientation,t.props.image,(function(e,r){return o.drawImage(r,t.props.xpos*n.width/$G,t.props.ypos*n.height/$G,t.props.naturalWidth,t.props.naturalHeight)}));for(var i=1;n.width*i/4>=e;)i/=2,o.drawImage(n,0,0,n.width*i,n.height*i);var a=document.createElement("canvas"),s=Math.min(t.props.naturalMin/t.props.absoluteScale,e);a.width=s,a.height=s;var c=a.getContext("2d");return c?(c.drawImage(n,0,0,n.width*i,n.width*i,0,0,s,s),XG(a,t.props.isComponentInline)):(t.props.onError("UNSUPPORTED_BROWSER"),"")},t.stopEventDefaults=function(e){e.stopPropagation(),e.preventDefault()},t}return HX(t,e),t.prototype.render=function(){return rl.createElement(BX,zX({loadCurrentImage:this.loadCurrentImage,startUpload:this.startUpload,loadedEmptyImage:this.props.onLoadedEmptyImage,styles:this.props.styles||{}},this.props))},t}(rl.Component);var VX=KG((function(e){return zX(zX({},yV.getSelectors(e).getEditCanvasState()),yV.getSelectors(e).getPhotoListState())}),(function(e){return{onError:function(t){return e(JU({warning:t}))},onLoadedCurrentImage:function(t,n,r){return e(YU({dataUrl:t,isSuggestedPhoto:n,isPhotoListPresent:r}))},onLoadedEmptyImage:function(t){return e(QU({isPhotoListPresent:t}))},onStartUpload:function(t,n,r,o,i,a){return function(e,t,n,r,o,i,a){e($U({now:t})),i(n,(function(){e(eV({dataUrl:n})),null===a||void 0===a||a(r===o.length?-1:r,o)}),(function(){return e(JU({warning:"UNKNOWN"}))}))}(e,t,n,r,o,i,a)}}}))(UX);var jX=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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qX=function(){return qX=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},qX.apply(this,arguments)},WX=null,GX=!1,KX=0,YX=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return jX(n,t),n.prototype.UNSAFE_componentWillMount=function(){if(KX>=1)throw new Error("Can only mount one StandalonePhotoPicker at a time.");if(KX+=1,GX||(GX=!0,aw(void 0,{disableWarnings:!0})),null===WX){var t=FU(function(t,n){var r,o;if(n&&n.stores)throw new Error("The '".concat(nG,"' key of the state tree is reserved for functional stores."));if(n&&n.selectors)throw new Error("The '".concat(tG,"' key of the state tree is reserved for debug output from selectors."));var i=GW(eG(t,(function(e){return e.name})),(function(e){return e[0].reducer})),a=BU((0,wV.z)(i,(function(e){return e}))),s=BU((0,e.__assign)(((r={}).stores=a,r),n||{})),c=((o={}).stores={},o);return function(e,t){return t.type===rG.toString()?t.payload:s(e||c,t)}}([yV]));WX=new uG({reduxStore:t})}},n.prototype.componentWillUnmount=function(){KX-=1},n.prototype.render=function(){return WX?rl.createElement(QG,{context:WX},rl.createElement(VX,qX({},this.props))):null},n}(rl.Component),QX=((0,rl.forwardRef)((function(t,n){var r,o=t.operationData,i=t.personDisplayName,a=t.personImageUrl,s=t.onPictureSelected,c=t.onCanvasUpdated,l=t.getPhotoPickerStrings,u=t.photoSelectedString,d=t.arrowKeyMovementStrings,p=(0,rl.useRef)((function(e,t){})),h=(0,rl.useRef)(null);function f(e,t,n){return e.replace("{0}",t).replace("{1}",n)}var m=(0,e.__assign)((0,e.__assign)({},l),{photoSelected:function(e){return null===u||void 0===u?void 0:u.replace("{0}",e.p0)},leftArrowKeyAriaLabel:function(e){var t=e.p0,n=e.p1;return f(d.leftArrowKeyAriaLabel,t,n)},rightArrowKeyAriaLabel:function(e){var t=e.p0,n=e.p1;return f(d.rightArrowKeyAriaLabel,t,n)},upArrowKeyAriaLabel:function(e){var t=e.p0,n=e.p1;return f(d.upArrowKeyAriaLabel,t,n)},downArrowKeyAriaLabel:function(e){var t=e.p0,n=e.p1;return f(d.downArrowKeyAriaLabel,t,n)},dropZoneImageAriaLabel:null===(r=l.dropZoneImageAriaLabel)||void 0===r?void 0:r.replace("{0}",i)});(0,rl.useImperativeHandle)(n,(function(){return{startUploadNewPhoto:function(){var e;null===(e=h.current)||void 0===e||e.click()}}}));var g=function(){},v=ol().createElement(sP,{height:256}),y=ol().createElement(ol().Fragment,null,ol().createElement("input",{role:"button",style:{display:"none"},type:"file",ref:h,onClick:function(e){return e.currentTarget.value=""},onChange:function(e){e.currentTarget.files&&(p.current(e.currentTarget.files[0],!1),null===s||void 0===s||s())},accept:"image/*"}),ol().createElement(jw,{horizontalAlign:"center"},ol().createElement(YX,{enableImageRotation:!0,personDisplayName:i,personImageUrl:a,strings:m,onUpload:g,onDismiss:g,isImageRemovable:!1,isComponentInline:!0,imageCropShape:"Circle",imageScaling:"Fill",onCanvasUpdated:function(e,t){null===c||void 0===c||c(e,t)},hideButtons:!0,hideUploadHeader:!0,hideUploadPhotoButton:!0,renderCustomUploadButton:function(e){return p.current=e.onFileSelected,ol().createElement(ol().Fragment,null)}})));return ol().createElement(jw,{verticalAlign:"center",horizontalAlign:"center",height:264,width:264,margin:"0 0 54px 0"},ol().createElement(Ob,{operationData:o,firstLoadView:v,updatingView:v,finishedView:y,failedView:y}))})),function(e){var t=e.status,n=e.color;return ol().createElement(uw,{iconName:"completed"===t?"CircleFill":"CircleRing",color:n,size:"10px"})}),XX=function(e){return function(){return e<3?"ProgressTracker cannot have less than ".concat(3," steps"):void 0}},JX=function(e){return function(){return e>7?"ProgressTracker cannot have more than ".concat(7," steps"):void 0}},$X=function(e,t){return function(){return e<0||e>t?"ProgressTracker current step cannot be less than 0 or more than the total number of steps":void 0}},ZX=function(e){var t=e.currentStep,n=void 0===t?0:t,r=e.numberOfSteps,o=e.dotColor,i=void 0===o?"neutralSecondary":o;(0,rl.useEffect)((function(){var e=[XX(r),JX(r),$X(n,r)];Wb("ProgressTrackerDots",e)}),[r,n]);for(var a=[],s=0;s<r;s++){var c=s+1<=n?"completed":"active";a.push({status:c})}return ol().createElement(jw,{horizontal:!0,horizontalAlign:"center",childrenGap:4},a.map((function(e,t){return ol().createElement(qw,{key:t},ol().createElement(QX,{status:e.status,color:i}))})))},eJ=pb(),tJ=rl.forwardRef((function(e,t){var n=e.styles,r=e.theme,o=e.className,i=e.vertical,a=e.alignContent,s=e.children,c=eJ(n,{theme:r,className:o,alignContent:a,vertical:i});return rl.createElement("div",{className:c.root,ref:t},rl.createElement("div",{className:c.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},s))})),nJ=ib(tJ,(function(e){var t,n,r=e.theme,o=e.alignContent,i=e.vertical,a=e.className,s="start"===o,c="center"===o,l="end"===o;return{root:[r.fonts.medium,{position:"relative"},o&&{textAlign:o},!o&&{textAlign:"center"},i&&(c||!o)&&{verticalAlign:"middle"},i&&s&&{verticalAlign:"top"},i&&l&&{verticalAlign:"bottom"},i&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":(t={backgroundColor:r.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1},t[Wm]={backgroundColor:"WindowText"},t)}},!i&&{padding:"4px 0",selectors:{":before":(n={backgroundColor:r.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"},n[Wm]={backgroundColor:"WindowText"},n)}},a],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:r.semanticColors.bodyText,background:r.semanticColors.bodyBackground},i&&{padding:"12px 0"}]}}),void 0,{scope:"Separator"});nJ.displayName="Separator";var rJ=function(t){var n,r=t.content,o=t.alignContent,i=t.vertical,a=(0,e.__rest)(t,["content","alignContent","vertical"]);return qv("Separator"),W_("Separator",a),r&&(n=ol().createElement(Jw,{variant:"metadataText"},r)),ol().createElement(nJ,(0,e.__assign)({alignContent:o,vertical:i},a),n)},oJ=function(t){var n=t.headerProps,r=t.detailsProps,o=t.graphicProps,i=t.ctaProps,a=(0,e.__rest)(t,["headerProps","detailsProps","graphicProps","ctaProps"]);return qv("SimpleCard",a.id),W_("SimpleCard",a),ol().createElement(dA,(0,e.__assign)({action:i,height:"large"},a),n&&ol().createElement(iA,(0,e.__assign)({},n)),ol().createElement(Kz,(0,e.__assign)({},o)),ol().createElement(nA,(0,e.__assign)({},r)),ol().createElement(ZI,(0,e.__assign)({},i)))};var iJ=function(e,t,n){return{position:"absolute",width:e,height:t,backgroundColor:n,opacity:.35,zIndex:Sl.bingMapsOverlay}},aJ=function(e,t){return function(){return e&&!t?"BingMaps must have pushpinAccessible set to true when a pushPin has an ariaLabel":void 0}},sJ=function(e){return function(){return e?void 0:"BingMaps-initMap: ref is not defined"}},cJ=function(e){return function(){return null===e?"BingMapsContext: Context is not initialized. Confirm that your app is contained within a BingMapsProvider.":void 0}},lJ=function(e){return function(){return null===e?"BingMaps-loadBingMapsScript: callback is not provided":void 0}},uJ=(0,rl.createContext)({}),dJ=function(t){var n,r,o,i,a=t.spinnerAriaLabel,s=t.progressViewProps,c=t.center,l=t.mapLoadOptions,u=t.mapItems,d=t.mapWidth,p=t.mapHeight,h=t.clusteringOptions,f=t.mapPadding;qv("BingMaps");var m=(0,rl.useState)(),g=m[0],v=m[1],y=(0,rl.useState)(!1),b=y[0],_=y[1],C=(0,rl.useState)(!0),w=C[0],E=C[1],x=function(){var e=(0,rl.useContext)(uJ);return Wb("BingMaps",[cJ(e)]),e}(),S=x.endState,k=x.currentError,T=xp(),I=AC(),A=rb(),P=(0,rl.useRef)(null),D=s.operationData,R=s.failedView,M=null!==(n=null===u||void 0===u?void 0:u.iconOffset)&&void 0!==n?n:{xOffset:0,yOffset:0},N=null!==(r=null===u||void 0===u?void 0:u.textOffset)&&void 0!==r?r:{xOffset:0,yOffset:35},L=function(){if("success"===S)if(c)null===g||void 0===g||g.setView((0,e.__assign)({center:new Microsoft.Maps.Location(c.latitude,c.longitude)},l));else{var t=[];u&&("listItem"===u.optionType||"accordion"===u.optionType?u.mapElements.forEach((function(e){if(e.pushPin){var n=e.pushPin.location,r=n.latitude,o=n.longitude;t.push(new Microsoft.Maps.Location(r,o))}})):u.pushPins.forEach((function(e){t.push(new Microsoft.Maps.Location(e.location.latitude,e.location.longitude))})));var n=t&&t.length&&function(){var e=P.current;if(e){var t=window.getComputedStyle(e),n=parseInt(t.getPropertyValue("height"),10),r=parseInt(t.getPropertyValue("width"),10);if(n>256&&r>256)return!0}return!1}()?{bounds:Microsoft.Maps.LocationRect.fromLocations(t),padding:f}:{center:new Microsoft.Maps.Location(0,0),zoom:1};null===g||void 0===g||g.setView((0,e.__assign)((0,e.__assign)({},n),l))}},O=function(t){var n,r;if("success"===S&&g&&u){var o,i=[];if("listItem"===u.optionType||"accordion"===u.optionType)for(var a=function(t){if(t.id===u.selectedMapItemId&&(o=t),t.pushPin){var a=t.pushPin.location,s=a.latitude,c=a.longitude,d=A.palette.themePrimary,p=void 0;p=t.id===u.selectedMapItemId?null!==(n=t.pushPin.selectedImage)&&void 0!==n?n:(v=d,y=t.pushPin.imageSrc,'<svg width="86" height="94" viewBox="0 0 86 94" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g clip-path="url(#clip0)" filter="url(#filter0_dd)">\n    <g filter="url(#filter1_d)">\n    <path d="M43 73.8457C40.2386 73.8457 38 71.6071 38 68.8457C38 66.0843 40.2386 63.8457 43 63.8457C45.7614 63.8457 48 66.0843 48 68.8457C48 71.6071 45.7614 73.8457 43 73.8457Z" fill="'.concat(v,'"/>\n    </g>\n    <mask id="path-2-inside-1" fill="white">\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M43 8C27.536 8 15 20.536 15 36C15 49.4548 24.4901 60.693 37.1417 63.3862L43.0762 69.3206L49.0527 63.3441C61.607 60.5776 71 49.3857 71 36C71 20.536 58.464 8 43 8Z"/>\n    </mask>\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M43 8C27.536 8 15 20.536 15 36C15 49.4548 24.4901 60.693 37.1417 63.3862L43.0762 69.3206L49.0527 63.3441C61.607 60.5776 71 49.3857 71 36C71 20.536 58.464 8 43 8Z" fill="white"/>\n    <path d="M37.1417 63.3862L37.5582 61.43L38.1373 61.5533L38.556 61.972L37.1417 63.3862ZM43.0762 69.3206L44.4904 70.7348L43.0762 72.149L41.662 70.7348L43.0762 69.3206ZM49.0527 63.3441L47.6385 61.9299L48.0517 61.5167L48.6223 61.3909L49.0527 63.3441ZM13 36C13 19.4315 26.4315 6 43 6V10C28.6406 10 17 21.6406 17 36H13ZM36.7253 65.3424C23.1694 62.4567 13 50.4182 13 36H17C17 48.4913 25.8108 58.9293 37.5582 61.43L36.7253 65.3424ZM38.556 61.972L44.4904 67.9064L41.662 70.7348L35.7275 64.8004L38.556 61.972ZM41.662 67.9064L47.6385 61.9299L50.4669 64.7583L44.4904 70.7348L41.662 67.9064ZM73 36C73 50.3443 62.9346 62.3331 49.4831 65.2972L48.6223 61.3909C60.2795 58.8222 69 48.4271 69 36H73ZM43 6C59.5685 6 73 19.4315 73 36H69C69 21.6406 57.3594 10 43 10V6Z" fill="').concat(v,'" mask="url(#path-2-inside-1)"/>\n    <path d="M69 36C69 50.3594 57.3594 62 43 62C28.6406 62 17 50.3594 17 36C17 21.6406 28.6406 10 43 10C57.3594 10 69 21.6406 69 36Z" fill="#C4C4C4"/>\n    <path d="M69 36C69 50.3594 57.3594 62 43 62C28.6406 62 17 50.3594 17 36C17 21.6406 28.6406 10 43 10C57.3594 10 69 21.6406 69 36Z" fill="url(#pattern0)"/>\n    <path d="M69 36C69 50.3594 57.3594 62 43 62C28.6406 62 17 50.3594 17 36C17 21.6406 28.6406 10 43 10C57.3594 10 69 21.6406 69 36Z" fill="url(#pattern1)"/>\n    </g>\n    <defs>\n    <filter id="filter0_dd" x="0.6" y="4.76837e-07" width="84.8" height="94.7995" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n    <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n    <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n    <feOffset dy="6.4"/>\n    <feGaussianBlur stdDeviation="7.2"/>\n    <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"/>\n    <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>\n    <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n    <feOffset dy="1.2"/>\n    <feGaussianBlur stdDeviation="1.8"/>\n    <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>\n    <feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"/>\n    <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow" result="shape"/>\n    </filter>\n    <filter id="filter1_d" x="34.5279" y="60.3736" width="16.9442" height="16.9442" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n    <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n    <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n    <feOffset/>\n    <feColorMatrix type="matrix" values="0 0 0 0 0.158594 0 0 0 0 0.845833 0 0 0 0 0.766098 0 0 0 1 0"/>\n    <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>\n    <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>\n    </filter>\n    <pattern id="pattern1" patternContentUnits="objectBoundingBox" width="1" height="1">\n    <use xlink:href="#image1" transform="translate(-0.419814, -0.14) scale(0.000466166)"/>\n    </pattern>\n    <clipPath id="clip0">\n    <rect width="80" height="80" fill="white" transform="matrix(-1 0 0 1 85 8)"/>\n    </clipPath>\n    <image id="image1" width="4096" height="2731" xlink:href="').concat(y,'"/>\n    </defs>\n    </svg>')):null!==(r=t.pushPin.staticImage)&&void 0!==r?r:function(e,t){return'<svg width="86" height="95" viewBox="0 0 86 95" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g clip-path="url(#clip0)" filter="url(#filter0_dd)">\n    <g filter="url(#filter1_d)">\n    <path d="M43 73.8457C40.2386 73.8457 38 71.6071 38 68.8457C38 66.0843 40.2386 63.8457 43 63.8457C45.7614 63.8457 48 66.0843 48 68.8457C48 71.6071 45.7614 73.8457 43 73.8457Z" fill="'.concat(e,'"/>\n    </g>\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M43 8C27.536 8 15 20.536 15 36C15 49.4548 24.4901 60.693 37.1417 63.3862L43.0762 69.3206L49.0527 63.3441C61.607 60.5776 71 49.3857 71 36C71 20.536 58.464 8 43 8Z" fill="white"/>\n    <path d="M69 36C69 50.3594 57.3594 62 43 62C28.6406 62 17 50.3594 17 36C17 21.6406 28.6406 10 43 10C57.3594 10 69 21.6406 69 36Z" fill="#C4C4C4"/>\n    <path d="M69 36C69 50.3594 57.3594 62 43 62C28.6406 62 17 50.3594 17 36C17 21.6406 28.6406 10 43 10C57.3594 10 69 21.6406 69 36Z" fill="url(#pattern0)"/>\n    <path d="M69 36C69 50.3594 57.3594 62 43 62C28.6406 62 17 50.3594 17 36C17 21.6406 28.6406 10 43 10C57.3594 10 69 21.6406 69 36Z" fill="url(#pattern1)"/>\n    </g>\n    <defs>\n    <filter id="filter0_dd" x="0.6" y="4.76837e-07" width="84.8" height="94.7995" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n    <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n    <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n    <feOffset dy="6.4"/>\n    <feGaussianBlur stdDeviation="7.2"/>\n    <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"/>\n    <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>\n    <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n    <feOffset dy="1.2"/>\n    <feGaussianBlur stdDeviation="1.8"/>\n    <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>\n    <feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"/>\n    <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow" result="shape"/>\n    </filter>\n    <filter id="filter1_d" x="34.5279" y="60.3736" width="16.9442" height="16.9442" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n    <feFlood flood-opacity="0" result="BackgroundImageFix"/>\n    <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>\n    <feOffset/>\n    <feColorMatrix type="matrix" values="0 0 0 0 0.158594 0 0 0 0 0.845833 0 0 0 0 0.766098 0 0 0 1 0"/>\n    <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>\n    <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>\n    </filter>\n    <pattern id="pattern1" patternContentUnits="objectBoundingBox" width="1" height="1">\n    <use xlink:href="#image1" transform="translate(-0.419814, -0.14) scale(0.000466166)"/>\n    </pattern>\n    <clipPath id="clip0">\n    <rect width="80" height="80" fill="white" transform="matrix(-1 0 0 1 85 8)"/>\n    </clipPath>\n    <image id="image1" width="4096" height="2731" xlink:href="').concat(t,'"/>\n    </defs>\n    </svg>')}(d,t.pushPin.imageSrc);var h=new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location(s,c),(0,e.__assign)((0,e.__assign)({},t.pushPin.options),{icon:p}));if(Wb("BingMaps",[aJ(t.pushPin.ariaLabel,null===l||void 0===l?void 0:l.pushpinAccessible)]),h.metadata={ariaLabel:t.pushPin.ariaLabel,imageSrc:t.pushPin.imageSrc},t.pushPin.anchorOffset){var f=t.pushPin.anchorOffset,m=f.xOffset,g=f.yOffset;h.setOptions({anchor:new Microsoft.Maps.Point(m,g)})}Microsoft.Maps.Events.addHandler(h,"click",(function(){u.onSelectedMapItemChange(t.id)})),i.push(h)}var v,y},s=0,d=u.mapElements;s<d.length;s++){a(d[s])}else{var p=new Microsoft.Maps.Infobox(new Microsoft.Maps.Location(0,0),{visible:!1});p.setMap(g),u.pushPins.forEach((function(t){var n=t.location,r=n.latitude,o=n.longitude,a=new Microsoft.Maps.Location(r,o),s=new Microsoft.Maps.Pushpin(a,(0,e.__assign)({},t.options));if(Wb("BingMaps",[aJ(t.ariaLabel,null===l||void 0===l?void 0:l.pushpinAccessible)]),s.metadata={ariaLabel:t.ariaLabel},t.infoboxProps){var c=t.infoboxProps,u=c.title,d=c.description,h=c.offset;Microsoft.Maps.Events.addHandler(s,"click",(function(){p.setOptions({title:u,description:d,offset:h?new Microsoft.Maps.Point(h.xOffset,h.yOffset):void 0,location:a,visible:!0,zIndex:-1})}))}i.push(s)}))}if(function(t){var n;if(t)if(t.pushPin){var r=t.pushPin.location,o=r.latitude,i=r.longitude;_(!1),null===g||void 0===g||g.setView((0,e.__assign)((0,e.__assign)({},l),{center:new Microsoft.Maps.Location(o,i),zoom:null!==(n=u.listItemClickZoomLevel)&&void 0!==n?n:15}))}else _(!0),null===g||void 0===g||g.setView((0,e.__assign)((0,e.__assign)({},l),{center:c?new Microsoft.Maps.Location(c.latitude,c.longitude):new Microsoft.Maps.Location(0,0),zoom:1}));else _(!1),L()}(o),t&&g.layers.clear(),null===h||void 0===h?void 0:h.useClustering){var m=h.clusterIcon,v=h.isClusterOnClickZoom;Microsoft.Maps.loadModule("Microsoft.Maps.Clustering",(function(){var e=m?new Microsoft.Maps.ClusterLayer(i,{clusteredPinCallback:function(e){v&&function(e){Microsoft.Maps.Events.addHandler(e,"click",(function(e){var t=e;if(null===t||void 0===t?void 0:t.target.containedPushpins){var n=t.target.containedPushpins.map((function(e){return e.getLocation()})),r=Microsoft.Maps.LocationRect.fromLocations(n);g.setView({bounds:r,padding:f})}}))}(e),e.setOptions({icon:m,textOffset:new Microsoft.Maps.Point(N.xOffset,N.yOffset),anchor:new Microsoft.Maps.Point(M.xOffset,M.yOffset)})}}):new Microsoft.Maps.ClusterLayer(i);g.layers.insert(e)}))}else{var y=new Microsoft.Maps.Layer;y.setPrimitives(i),g.layers.insert(y)}i.forEach((function(e){e.metadata.ariaLabel&&Microsoft.Maps.Events.addHandler(e,"changed",(function(t){var n,r=t;3===r.newValue&&"state"===r.name&&(null===(n=document.querySelector('div[data-pid="'.concat(r.sender.entity.id,'"]')))||void 0===n||n.setAttribute("aria-label",e.metadata.ariaLabel))}))}))}};El((function(){T({name:D.operationName,status:"first-load"})})),(0,rl.useEffect)((function(){"success"===S?setTimeout((function(){try{!function(){Wb("BingMaps",[sJ(P.current)]);var t=(0,e.__assign)({center:c&&new Microsoft.Maps.Location(c.latitude,c.longitude),disableScrollWheelZoom:!0,showLocateMeButton:!1,showMapTypeSelector:!1},l);v(new Microsoft.Maps.Map(P.current,t))}()}catch(t){T({name:D.operationName,status:"failed",error:t})}T({name:D.operationName,status:"finished"})})):"failure"===S&&setTimeout((function(){T({name:D.operationName,status:"failed",error:k})}))}),[S]),(0,rl.useEffect)((function(){O(!1)}),[g]),(0,rl.useLayoutEffect)((function(){L()}),[c,l,u,g,P]),(0,rl.useEffect)((function(){O(!0)}),[u]);var F,B,H,z={width:d,height:p},U=PC(I)?void 0:"listItem"===(null===u||void 0===u?void 0:u.optionType)||"accordion"===(null===u||void 0===u?void 0:u.optionType)?(F="string"===typeof p?p:"".concat(p,"px"),B=u.containerProps.width,H=u.containerProps.height,{position:"absolute",width:B,height:H,top:8,left:8,zIndex:Sl.bingMapsListContainer,maxHeight:"calc(".concat(F," - 16px)"),overflowY:"auto"}):void 0;return ol().createElement("div",{style:{position:"relative",minHeight:p}},ol().createElement(oh,{operationData:D,firstLoadView:ol().createElement(jw,{width:d,height:p,verticalAlign:"center",horizontalAlign:"center"},ol().createElement(DI,{"aria-label":a,spinnerSize:2})),finishedView:"listItem"===(null===u||void 0===u?void 0:u.optionType)||"accordion"===(null===u||void 0===u?void 0:u.optionType)?ol().createElement(jv,{"aria-label":u.containerProps.ariaLabel,style:U,horizontal:!0,tokens:{childrenGap:"8px"}},w&&("listItem"===u.optionType?ol().createElement(pJ,{mapItems:u}):ol().createElement(hJ,{mapItems:u})),(null===(o=null===u||void 0===u?void 0:u.mapElements)||void 0===o?void 0:o.length)>0&&ol().createElement("div",{style:{backgroundColor:A.palette.neutralHigh,height:"max-content",borderRadius:"4px"}},ol().createElement(RT,{"data-bi-id":"collapse-button-bing-maps","aria-label":null!==(i=u.collapseButtonAriaLabel)&&void 0!==i?i:"",iconName:w?"ChevronLeft":"ChevronRight",onClick:function(){return E(!w)},iconColor:"neutralPrimary"}))):ol().createElement(ol().Fragment,null),failedView:R}),ol().createElement("div",{style:z,ref:P},b&&ol().createElement(ol().Fragment,null,ol().createElement(jv,{style:iJ(d,p,A.palette.black)}),("listItem"===(null===u||void 0===u?void 0:u.optionType)||"accordion"===(null===u||void 0===u?void 0:u.optionType))&&u.noPushPinText&&ol().createElement(jv,{verticalAlign:"center",horizontalAlign:"center",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",zIndex:Sl.bingMapsNoPushPinContainer}},ol().createElement(jw,{horizontal:!0,padding:"16px",backgroundColor:"neutralHigh",childrenGap:8},ol().createElement(uw,{iconName:"Info",size:"14px"}),ol().createElement(Jw,null,u.noPushPinText))))))},pJ=function(t){var n=t.mapItems;return ol().createElement(FO,(0,e.__assign)({},n.listProps),n.mapElements.map((function(t){return ol().createElement(UN,(0,e.__assign)({key:t.id,selected:t.id===n.selectedMapItemId},t.listItemProps,{onClickProps:(0,e.__assign)((0,e.__assign)({},t.onClickProps),{pageArea:n.pageArea,onClick:(r=t,function(e){n.onSelectedMapItemChange(r.id),r.onClickProps.onClick&&r.onClickProps.onClick(e)})})}));var r})))},hJ=function(t){var n,r=t.mapItems,o=function(e){return function(t){r.onSelectedMapItemChange(e.id),e.accordionDrawerProps.onClickToClose&&e.accordionDrawerProps.onClickToClose(t)}},i=r.mapElements.map((function(t,i){return r.selectedMapItemId===t.id&&(n=i),(0,e.__assign)((0,e.__assign)({},t.accordionDrawerProps),{key:t.id,onClickToOpen:(a=t,function(e){r.onSelectedMapItemChange(a.id),a.accordionDrawerProps.onClickToOpen&&a.accordionDrawerProps.onClickToOpen(e)}),onClickToClose:o(t)});var a}));return ol().createElement(WI,(0,e.__assign)({accordionDrawers:i,drawerIndexOpen:n},r.accordionProps))},fJ="bing-maps",mJ=function(e){var t=e.config,n=e.children,r=(0,rl.useState)(),o=r[0],i=r[1],a=(0,rl.useState)(),s=a[0],c=a[1];return El((function(){var e=t.apiKey,n="".concat(t.prodOrExperimentalMapUrlV8,"&key=").concat(e),r="?".concat(t.prodOrExperimentalMapUrlV8.split("?")[1]),o=new URLSearchParams(r).get("callback");Wb("BingMaps",[lJ(o)]);var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.defer=!0,a.src=n,a.id=fJ,a.setAttribute("data-testId",fJ),window[o]=function(){i("success")},a.onerror=function(e){i("failure"),c(new Error(e.toString()))},document.body.appendChild(a)})),wl((function(){var e=document.getElementById(fJ);e&&document.body.removeChild(e)})),ol().createElement(uJ.Provider,{value:{endState:o,currentError:s}},n)},gJ=function(e){return"".concat(e,"/Acw.Read")},vJ=function(e,t){return vJ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},vJ(e,t)};function yJ(e,t){function n(){this.constructor=e}vJ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var bJ=function(){return bJ=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},bJ.apply(this,arguments)};function _J(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(Ple){i(Ple)}}function s(e){try{c(r.throw(e))}catch(Ple){i(Ple)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function CJ(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[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,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(Ple){i=[6,Ple],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function wJ(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}var EJ,xJ,SJ,kJ,TJ,IJ={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",REGIONAL_AUTH_NON_MSI_QUERY_STRING:"allowestsrnonmsi=true",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},AJ=[IJ.OPENID_SCOPE,IJ.PROFILE_SCOPE,IJ.OFFLINE_ACCESS_SCOPE],PJ=wJ(AJ,[IJ.EMAIL_SCOPE]);!function(e){e.CONTENT_TYPE="Content-Type",e.RETRY_AFTER="Retry-After",e.CCS_HEADER="X-AnchorMailbox",e.WWWAuthenticate="WWW-Authenticate",e.AuthenticationInfo="Authentication-Info",e.X_MS_REQUEST_ID="x-ms-request-id",e.X_MS_HTTP_VERSION="x-ms-httpver"}(EJ||(EJ={})),function(e){e.ID_TOKEN="idtoken",e.CLIENT_INFO="client.info",e.ADAL_ID_TOKEN="adal.idtoken",e.ERROR="error",e.ERROR_DESC="error.description",e.ACTIVE_ACCOUNT="active-account",e.ACTIVE_ACCOUNT_FILTERS="active-account-filters"}(xJ||(xJ={})),function(e){e.COMMON="common",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers"}(SJ||(SJ={})),function(e){e.CLIENT_ID="client_id",e.REDIRECT_URI="redirect_uri",e.RESPONSE_TYPE="response_type",e.RESPONSE_MODE="response_mode",e.GRANT_TYPE="grant_type",e.CLAIMS="claims",e.SCOPE="scope",e.ERROR="error",e.ERROR_DESCRIPTION="error_description",e.ACCESS_TOKEN="access_token",e.ID_TOKEN="id_token",e.REFRESH_TOKEN="refresh_token",e.EXPIRES_IN="expires_in",e.STATE="state",e.NONCE="nonce",e.PROMPT="prompt",e.SESSION_STATE="session_state",e.CLIENT_INFO="client_info",e.CODE="code",e.CODE_CHALLENGE="code_challenge",e.CODE_CHALLENGE_METHOD="code_challenge_method",e.CODE_VERIFIER="code_verifier",e.CLIENT_REQUEST_ID="client-request-id",e.X_CLIENT_SKU="x-client-SKU",e.X_CLIENT_VER="x-client-VER",e.X_CLIENT_OS="x-client-OS",e.X_CLIENT_CPU="x-client-CPU",e.X_CLIENT_CURR_TELEM="x-client-current-telemetry",e.X_CLIENT_LAST_TELEM="x-client-last-telemetry",e.X_MS_LIB_CAPABILITY="x-ms-lib-capability",e.X_APP_NAME="x-app-name",e.X_APP_VER="x-app-ver",e.POST_LOGOUT_URI="post_logout_redirect_uri",e.ID_TOKEN_HINT="id_token_hint",e.DEVICE_CODE="device_code",e.CLIENT_SECRET="client_secret",e.CLIENT_ASSERTION="client_assertion",e.CLIENT_ASSERTION_TYPE="client_assertion_type",e.TOKEN_TYPE="token_type",e.REQ_CNF="req_cnf",e.OBO_ASSERTION="assertion",e.REQUESTED_TOKEN_USE="requested_token_use",e.ON_BEHALF_OF="on_behalf_of",e.FOCI="foci",e.CCS_HEADER="X-AnchorMailbox",e.RETURN_SPA_CODE="return_spa_code",e.NATIVE_BROKER="nativebroker",e.LOGOUT_HINT="logout_hint"}(kJ||(kJ={})),function(e){e.ACCESS_TOKEN="access_token",e.XMS_CC="xms_cc"}(TJ||(TJ={}));var DJ,RJ={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"};!function(e){e.ACCOUNT="account",e.SID="sid",e.LOGIN_HINT="login_hint",e.ID_TOKEN="id_token",e.DOMAIN_HINT="domain_hint",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers",e.ACCOUNT_ID="accountIdentifier",e.HOMEACCOUNT_ID="homeAccountIdentifier"}(DJ||(DJ={}));var MJ,NJ,LJ,OJ,FJ,BJ,HJ={PLAIN:"plain",S256:"S256"};!function(e){e.QUERY="query",e.FRAGMENT="fragment",e.FORM_POST="form_post"}(MJ||(MJ={})),function(e){e.IMPLICIT_GRANT="implicit",e.AUTHORIZATION_CODE_GRANT="authorization_code",e.CLIENT_CREDENTIALS_GRANT="client_credentials",e.RESOURCE_OWNER_PASSWORD_GRANT="password",e.REFRESH_TOKEN_GRANT="refresh_token",e.DEVICE_CODE_GRANT="device_code",e.JWT_BEARER="urn:ietf:params:oauth:grant-type:jwt-bearer"}(NJ||(NJ={})),function(e){e.MSSTS_ACCOUNT_TYPE="MSSTS",e.ADFS_ACCOUNT_TYPE="ADFS",e.MSAV1_ACCOUNT_TYPE="MSA",e.GENERIC_ACCOUNT_TYPE="Generic"}(LJ||(LJ={})),function(e){e.CACHE_KEY_SEPARATOR="-",e.CLIENT_INFO_SEPARATOR="."}(OJ||(OJ={})),function(e){e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.ACCESS_TOKEN_WITH_AUTH_SCHEME="AccessToken_With_AuthScheme",e.REFRESH_TOKEN="RefreshToken"}(FJ||(FJ={})),function(e){e[e.ADFS=1001]="ADFS",e[e.MSA=1002]="MSA",e[e.MSSTS=1003]="MSSTS",e[e.GENERIC=1004]="GENERIC",e[e.ACCESS_TOKEN=2001]="ACCESS_TOKEN",e[e.REFRESH_TOKEN=2002]="REFRESH_TOKEN",e[e.ID_TOKEN=2003]="ID_TOKEN",e[e.APP_METADATA=3001]="APP_METADATA",e[e.UNDEFINED=9999]="UNDEFINED"}(BJ||(BJ={}));var zJ,UJ="appmetadata",VJ="1",jJ="authority-metadata",qJ=86400;!function(e){e.CONFIG="config",e.CACHE="cache",e.NETWORK="network",e.HARDCODED_VALUES="hardcoded_values"}(zJ||(zJ={}));var WJ,GJ={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"};!function(e){e.BEARER="Bearer",e.POP="pop",e.SSH="ssh-cert"}(WJ||(WJ={}));var KJ,YJ,QJ,XJ,JJ,$J,ZJ=60,e$=3600,t$="throttling",n$="retry-after, h429",r$="invalid_grant",o$="client_mismatch";!function(e){e.username="username",e.password="password"}(KJ||(KJ={})),function(e){e[e.httpSuccess=200]="httpSuccess",e[e.httpBadRequest=400]="httpBadRequest"}(YJ||(YJ={})),function(e){e.FAILED_AUTO_DETECTION="1",e.INTERNAL_CACHE="2",e.ENVIRONMENT_VARIABLE="3",e.IMDS="4"}(QJ||(QJ={})),function(e){e.CONFIGURED_MATCHES_DETECTED="1",e.CONFIGURED_NO_AUTO_DETECTION="2",e.CONFIGURED_NOT_DETECTED="3",e.AUTO_DETECTION_REQUESTED_SUCCESSFUL="4",e.AUTO_DETECTION_REQUESTED_FAILED="5"}(XJ||(XJ={})),function(e){e.NO_CACHE_HIT="0",e.FORCE_REFRESH="1",e.NO_CACHED_ACCESS_TOKEN="2",e.CACHED_ACCESS_TOKEN_EXPIRED="3",e.REFRESH_CACHED_ACCESS_TOKEN="4"}(JJ||(JJ={})),function(e){e.Jwt="JWT",e.Jwk="JWK",e.Pop="pop"}($J||($J={}));var i$,a$,s$,c$,l$,u$,d$,p$,h$,f$="invalid_grant",m$=483,g$=600,v$="msal",y$=30,b$="msal.js.browser",_$="53ee284d-920a-4b59-9d30-a60315b26836",C$="ppnbnpeolgkicgegkbkbjmhlideopiji",w$="MATS";!function(e){e.HandshakeRequest="Handshake",e.HandshakeResponse="HandshakeResponse",e.GetToken="GetToken",e.Response="Response"}(i$||(i$={})),function(e){e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage"}(a$||(a$={})),function(e){e.GET="GET",e.POST="POST"}(s$||(s$={})),function(e){e.AUTHORITY="authority",e.ACQUIRE_TOKEN_ACCOUNT="acquireToken.account",e.SESSION_STATE="session.state",e.REQUEST_STATE="request.state",e.NONCE_IDTOKEN="nonce.id_token",e.ORIGIN_URI="request.origin",e.RENEW_STATUS="token.renew.status",e.URL_HASH="urlHash",e.REQUEST_PARAMS="request.params",e.SCOPES="scopes",e.INTERACTION_STATUS_KEY="interaction.status",e.CCS_CREDENTIAL="ccs.credential",e.CORRELATION_ID="request.correlationId",e.NATIVE_REQUEST="request.native",e.REDIRECT_CONTEXT="request.redirect.context"}(c$||(c$={})),function(e){e.ACCOUNT_KEYS="msal.account.keys",e.TOKEN_KEYS="msal.token.keys"}(l$||(l$={})),function(e){e.WRAPPER_SKU="wrapper.sku",e.WRAPPER_VER="wrapper.version"}(u$||(u$={})),function(e){e[e.acquireTokenRedirect=861]="acquireTokenRedirect",e[e.acquireTokenPopup=862]="acquireTokenPopup",e[e.ssoSilent=863]="ssoSilent",e[e.acquireTokenSilent_authCode=864]="acquireTokenSilent_authCode",e[e.handleRedirectPromise=865]="handleRedirectPromise",e[e.acquireTokenByCode=866]="acquireTokenByCode",e[e.acquireTokenSilent_silentFlow=61]="acquireTokenSilent_silentFlow",e[e.logout=961]="logout",e[e.logoutPopup=962]="logoutPopup"}(d$||(d$={})),function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"}(p$||(p$={})),function(e){e.Startup="startup",e.Login="login",e.Logout="logout",e.AcquireToken="acquireToken",e.SsoSilent="ssoSilent",e.HandleRedirect="handleRedirect",e.None="none"}(h$||(h$={}));var E$,x$={scopes:AJ},S$="jwk";!function(e){e.React="@azure/msal-react",e.Angular="@azure/msal-angular"}(E$||(E$={}));var k$,T$="msal.db";!function(e){e[e.Default=0]="Default",e[e.AccessToken=1]="AccessToken",e[e.AccessTokenAndRefreshToken=2]="AccessTokenAndRefreshToken",e[e.RefreshToken=3]="RefreshToken",e[e.RefreshTokenAndNetwork=4]="RefreshTokenAndNetwork",e[e.Skip=5]="Skip"}(k$||(k$={}));var I$=function(e,t){return I$=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},I$(e,t)};var A$=function(){return A$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},A$.apply(this,arguments)};var P$=function(e,t){return P$=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},P$(e,t)};function D$(e,t){function n(){this.constructor=e}P$(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var R$,M$,N$=function(){return N$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},N$.apply(this,arguments)};function L$(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function O$(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(Ple){i(Ple)}}function s(e){try{c(r.throw(e))}catch(Ple){i(Ple)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function F$(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[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,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(Ple){i=[6,Ple],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function B$(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function H$(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(B$(arguments[t]));return e}!function(e){e.AcquireTokenByCode="acquireTokenByCode",e.AcquireTokenByRefreshToken="acquireTokenByRefreshToken",e.AcquireTokenSilent="acquireTokenSilent",e.AcquireTokenSilentAsync="acquireTokenSilentAsync",e.AcquireTokenPopup="acquireTokenPopup",e.CryptoOptsGetPublicKeyThumbprint="cryptoOptsGetPublicKeyThumbprint",e.CryptoOptsSignJwt="cryptoOptsSignJwt",e.SilentCacheClientAcquireToken="silentCacheClientAcquireToken",e.SilentIframeClientAcquireToken="silentIframeClientAcquireToken",e.SilentRefreshClientAcquireToken="silentRefreshClientAcquireToken",e.SsoSilent="ssoSilent",e.StandardInteractionClientGetDiscoveredAuthority="standardInteractionClientGetDiscoveredAuthority",e.FetchAccountIdWithNativeBroker="fetchAccountIdWithNativeBroker",e.NativeInteractionClientAcquireToken="nativeInteractionClientAcquireToken",e.BaseClientCreateTokenRequestHeaders="baseClientCreateTokenRequestHeaders",e.BrokerHandhshake="brokerHandshake",e.AcquireTokenByRefreshTokenInBroker="acquireTokenByRefreshTokenInBroker",e.AcquireTokenByBroker="acquireTokenByBroker",e.RefreshTokenClientExecuteTokenRequest="refreshTokenClientExecuteTokenRequest",e.RefreshTokenClientAcquireToken="refreshTokenClientAcquireToken",e.RefreshTokenClientAcquireTokenWithCachedRefreshToken="refreshTokenClientAcquireTokenWithCachedRefreshToken",e.RefreshTokenClientAcquireTokenByRefreshToken="refreshTokenClientAcquireTokenByRefreshToken",e.RefreshTokenClientCreateTokenRequestBody="refreshTokenClientCreateTokenRequestBody",e.AcquireTokenFromCache="acquireTokenFromCache",e.AcquireTokenBySilentIframe="acquireTokenBySilentIframe",e.InitializeBaseRequest="initializeBaseRequest",e.InitializeSilentRequest="initializeSilentRequest",e.InitializeClientApplication="initializeClientApplication",e.SilentIframeClientTokenHelper="silentIframeClientTokenHelper",e.SilentHandlerInitiateAuthRequest="silentHandlerInitiateAuthRequest",e.SilentHandlerMonitorIframeForHash="silentHandlerMonitorIframeForHash",e.SilentHandlerLoadFrame="silentHandlerLoadFrame",e.StandardInteractionClientCreateAuthCodeClient="standardInteractionClientCreateAuthCodeClient",e.StandardInteractionClientGetClientConfiguration="standardInteractionClientGetClientConfiguration",e.StandardInteractionClientInitializeAuthorizationRequest="standardInteractionClientInitializeAuthorizationRequest",e.StandardInteractionClientInitializeAuthorizationCodeRequest="standardInteractionClientInitializeAuthorizationCodeRequest",e.GetAuthCodeUrl="getAuthCodeUrl",e.HandleCodeResponseFromServer="handleCodeResponseFromServer",e.HandleCodeResponseFromHash="handleCodeResponseFromHash",e.UpdateTokenEndpointAuthority="updateTokenEndpointAuthority",e.AuthClientAcquireToken="authClientAcquireToken",e.AuthClientExecuteTokenRequest="authClientExecuteTokenRequest",e.AuthClientCreateTokenRequestBody="authClientCreateTokenRequestBody",e.AuthClientCreateQueryString="authClientCreateQueryString",e.PopTokenGenerateCnf="popTokenGenerateCnf",e.PopTokenGenerateKid="popTokenGenerateKid",e.HandleServerTokenResponse="handleServerTokenResponse",e.AuthorityFactoryCreateDiscoveredInstance="authorityFactoryCreateDiscoveredInstance",e.AuthorityResolveEndpointsAsync="authorityResolveEndpointsAsync",e.AuthorityGetCloudDiscoveryMetadataFromNetwork="authorityGetCloudDiscoveryMetadataFromNetwork",e.AuthorityUpdateCloudDiscoveryMetadata="authorityUpdateCloudDiscoveryMetadata",e.AuthorityGetEndpointMetadataFromNetwork="authorityGetEndpointMetadataFromNetwork",e.AuthorityUpdateEndpointMetadata="authorityUpdateEndpointMetadata",e.AuthorityUpdateMetadataWithRegionalInformation="authorityUpdateMetadataWithRegionalInformation",e.RegionDiscoveryDetectRegion="regionDiscoveryDetectRegion",e.RegionDiscoveryGetRegionFromIMDS="regionDiscoveryGetRegionFromIMDS",e.RegionDiscoveryGetCurrentVersion="regionDiscoveryGetCurrentVersion",e.AcquireTokenByCodeAsync="acquireTokenByCodeAsync",e.GetEndpointMetadataFromNetwork="getEndpointMetadataFromNetwork",e.GetCloudDiscoveryMetadataFromNetworkMeasurement="getCloudDiscoveryMetadataFromNetworkMeasurement",e.HandleRedirectPromiseMeasurement="handleRedirectPromiseMeasurement",e.UpdateCloudDiscoveryMetadataMeasurement="updateCloudDiscoveryMetadataMeasurement",e.UsernamePasswordClientAcquireToken="usernamePasswordClientAcquireToken",e.NativeMessageHandlerHandshake="nativeMessageHandlerHandshake"}(R$||(R$={})),function(e){e[e.NotStarted=0]="NotStarted",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed"}(M$||(M$={}));var z$,U$=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status"]),V$={code:"unexpected_error",desc:"Unexpected error in authentication."},j$={code:"post_request_failed",desc:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},q$=function(e){function t(n,r,o){var i=this,a=r?n+": "+r:n;return i=e.call(this,a)||this,Object.setPrototypeOf(i,t.prototype),i.errorCode=n||IJ.EMPTY_STRING,i.errorMessage=r||IJ.EMPTY_STRING,i.subError=o||IJ.EMPTY_STRING,i.name="AuthError",i}return yJ(t,e),t.prototype.setCorrelationId=function(e){this.correlationId=e},t.createUnexpectedError=function(e){return new t(V$.code,V$.desc+": "+e)},t.createPostRequestFailed=function(e){return new t(j$.code,j$.desc+": "+e)},t}(Error),W$=function(e){function t(n,r,o){var i=e.call(this,n,r,o)||this;return i.name="ServerError",Object.setPrototypeOf(i,t.prototype),i}return yJ(t,e),t}(q$),G$=["interaction_required","consent_required","login_required"],K$=["message_only","additional_action","basic_action","user_password_expired","consent_required"],Y$={code:"no_tokens_found",desc:"No refresh token found in the cache. Please sign-in."},Q$={code:"native_account_unavailable",desc:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API."},X$=function(e){function t(n,r,o,i,a,s,c){var l=e.call(this,n,r,o)||this;return Object.setPrototypeOf(l,t.prototype),l.timestamp=i||IJ.EMPTY_STRING,l.traceId=a||IJ.EMPTY_STRING,l.correlationId=s||IJ.EMPTY_STRING,l.claims=c||IJ.EMPTY_STRING,l.name="InteractionRequiredAuthError",l}return yJ(t,e),t.isInteractionRequiredError=function(e,t,n){var r=!!e&&G$.indexOf(e)>-1,o=!!n&&K$.indexOf(n)>-1,i=!!t&&G$.some((function(e){return t.indexOf(e)>-1}));return r||i||o},t.createNoTokensFoundError=function(){return new t(Y$.code,Y$.desc)},t.createNativeAccountUnavailableError=function(){return new t(Q$.code,Q$.desc)},t}(q$),J$={code:"missing_kid_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."},$$={code:"missing_alg_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."},Z$=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="JoseHeaderError",Object.setPrototypeOf(o,t.prototype),o}return yJ(t,e),t.createMissingKidError=function(){return new t(J$.code,J$.desc)},t.createMissingAlgError=function(){return new t($$.code,$$.desc)},t}(q$),eZ=function(){function e(e){this.typ=e.typ,this.alg=e.alg,this.kid=e.kid}return e.getShrHeaderString=function(t){if(!t.kid)throw Z$.createMissingKidError();if(!t.alg)throw Z$.createMissingAlgError();var n=new e({typ:t.typ||$J.Pop,kid:t.kid,alg:t.alg});return JSON.stringify(n)},e}(),tZ=function(){function e(){}return e.decimalToHex=function(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t},e}(),nZ=function(){function e(e){this.cryptoObj=e}return e.prototype.generateGuid=function(){try{var e=new Uint8Array(16);return this.cryptoObj.getRandomValues(e),e[6]|=64,e[6]&=79,e[8]|=128,e[8]&=191,tZ.decimalToHex(e[0])+tZ.decimalToHex(e[1])+tZ.decimalToHex(e[2])+tZ.decimalToHex(e[3])+"-"+tZ.decimalToHex(e[4])+tZ.decimalToHex(e[5])+"-"+tZ.decimalToHex(e[6])+tZ.decimalToHex(e[7])+"-"+tZ.decimalToHex(e[8])+tZ.decimalToHex(e[9])+"-"+tZ.decimalToHex(e[10])+tZ.decimalToHex(e[11])+tZ.decimalToHex(e[12])+tZ.decimalToHex(e[13])+tZ.decimalToHex(e[14])+tZ.decimalToHex(e[15])}catch(a){for(var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",n="0123456789abcdef",r=0,o=IJ.EMPTY_STRING,i=0;i<36;i++)"-"!==t[i]&&"4"!==t[i]&&(r=16*Math.random()|0),"x"===t[i]?o+=n[r]:"y"===t[i]?(r&=3,o+=n[r|=8]):o+=t[i];return o}},e.prototype.isGuid=function(e){return/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)},e}(),rZ=function(){function e(){}return e.stringToUtf8Arr=function(e){for(var t,n=0,r=e.length,o=0;o<r;o++)n+=(t=e.charCodeAt(o))<128?1:t<2048?2:t<65536?3:t<2097152?4:t<67108864?5:6;for(var i=new Uint8Array(n),a=0,s=0;a<n;s++)(t=e.charCodeAt(s))<128?i[a++]=t:t<2048?(i[a++]=192+(t>>>6),i[a++]=128+(63&t)):t<65536?(i[a++]=224+(t>>>12),i[a++]=128+(t>>>6&63),i[a++]=128+(63&t)):t<2097152?(i[a++]=240+(t>>>18),i[a++]=128+(t>>>12&63),i[a++]=128+(t>>>6&63),i[a++]=128+(63&t)):t<67108864?(i[a++]=248+(t>>>24),i[a++]=128+(t>>>18&63),i[a++]=128+(t>>>12&63),i[a++]=128+(t>>>6&63),i[a++]=128+(63&t)):(i[a++]=252+(t>>>30),i[a++]=128+(t>>>24&63),i[a++]=128+(t>>>18&63),i[a++]=128+(t>>>12&63),i[a++]=128+(t>>>6&63),i[a++]=128+(63&t));return i},e.stringToArrayBuffer=function(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return t},e.utf8ArrToString=function(e){for(var t=IJ.EMPTY_STRING,n=void 0,r=e.length,o=0;o<r;o++)n=e[o],t+=String.fromCharCode(n>251&&n<254&&o+5<r?1073741824*(n-252)+(e[++o]-128<<24)+(e[++o]-128<<18)+(e[++o]-128<<12)+(e[++o]-128<<6)+e[++o]-128:n>247&&n<252&&o+4<r?(n-248<<24)+(e[++o]-128<<18)+(e[++o]-128<<12)+(e[++o]-128<<6)+e[++o]-128:n>239&&n<248&&o+3<r?(n-240<<18)+(e[++o]-128<<12)+(e[++o]-128<<6)+e[++o]-128:n>223&&n<240&&o+2<r?(n-224<<12)+(e[++o]-128<<6)+e[++o]-128:n>191&&n<224&&o+1<r?(n-192<<6)+e[++o]-128:n);return t},e.getSortedObjectString=function(e){return JSON.stringify(e,Object.keys(e).sort())},e}(),oZ=function(){function e(){}return e.prototype.urlEncode=function(e){return encodeURIComponent(this.encode(e).replace(/=/g,IJ.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_"))},e.prototype.urlEncodeArr=function(e){return this.base64EncArr(e).replace(/=/g,IJ.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_")},e.prototype.encode=function(e){var t=rZ.stringToUtf8Arr(e);return this.base64EncArr(t)},e.prototype.base64EncArr=function(e){for(var t=(3-e.length%3)%3,n=IJ.EMPTY_STRING,r=void 0,o=e.length,i=0,a=0;a<o;a++)r=a%3,i|=e[a]<<(16>>>r&24),2!==r&&e.length-a!==1||(n+=String.fromCharCode(this.uint6ToB64(i>>>18&63),this.uint6ToB64(i>>>12&63),this.uint6ToB64(i>>>6&63),this.uint6ToB64(63&i)),i=0);return 0===t?n:n.substring(0,n.length-t)+(1===t?"=":"==")},e.prototype.uint6ToB64=function(e){return e<26?e+65:e<52?e+71:e<62?e-4:62===e?43:63===e?47:65},e}(),iZ=function(){function e(){}return e.prototype.decode=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("Invalid base64 string")}var n=this.base64DecToArr(t);return rZ.utf8ArrToString(n)},e.prototype.base64DecToArr=function(e,t){for(var n=e.replace(/[^A-Za-z0-9\+\/]/g,IJ.EMPTY_STRING),r=n.length,o=t?Math.ceil((3*r+1>>>2)/t)*t:3*r+1>>>2,i=new Uint8Array(o),a=void 0,s=void 0,c=0,l=0,u=0;u<r;u++)if(s=3&u,c|=this.b64ToUint6(n.charCodeAt(u))<<18-6*s,3===s||r-u===1){for(a=0;a<3&&l<o;a++,l++)i[l]=c>>>(16>>>a&24)&255;c=0}return i},e.prototype.b64ToUint6=function(e){return e>64&&e<91?e-65:e>96&&e<123?e-71:e>47&&e<58?e+4:43===e?62:47===e?63:0},e}(),aZ={code:"client_info_decoding_error",desc:"The client info could not be parsed/decoded correctly. Please review the trace to determine the root cause."},sZ={code:"client_info_empty_error",desc:"The client info was empty. Please review the trace to determine the root cause."},cZ={code:"token_parsing_error",desc:"Token cannot be parsed. Please review stack trace to determine root cause."},lZ={code:"null_or_empty_token",desc:"The token is null or empty. Please review the trace to determine the root cause."},uZ={code:"endpoints_resolution_error",desc:"Error: could not resolve endpoints. Please check network and try again."},dZ={code:"network_error",desc:"Network request failed. Please check network trace to determine root cause."},pZ={code:"openid_config_error",desc:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints."},hZ={code:"hash_not_deserialized",desc:"The hash parameters could not be deserialized. Please review the trace to determine the root cause."},fZ={code:"invalid_state",desc:"State was not the expected format. Please check the logs to determine whether the request was sent using ProtocolUtils.setRequestState()."},mZ={code:"state_mismatch",desc:"State mismatch error. Please check your network. Continued requests may cause cache overflow."},gZ={code:"state_not_found",desc:"State not found"},vZ={code:"nonce_mismatch",desc:"Nonce mismatch error. This may be caused by a race condition in concurrent requests."},yZ={code:"nonce_not_found",desc:"nonce not found"},bZ={code:"auth_time_not_found",desc:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information."},_Z={code:"max_age_transpired",desc:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication."},CZ={code:"multiple_matching_tokens",desc:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account."},wZ={code:"multiple_matching_accounts",desc:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account"},EZ={code:"multiple_matching_appMetadata",desc:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata"},xZ={code:"request_cannot_be_made",desc:"Token request cannot be made without authorization code or refresh token."},SZ={code:"cannot_append_empty_scope",desc:"Cannot append null or empty scope to ScopeSet. Please check the stack trace for more info."},kZ={code:"cannot_remove_empty_scope",desc:"Cannot remove null or empty scope from ScopeSet. Please check the stack trace for more info."},TZ={code:"cannot_append_scopeset",desc:"Cannot append ScopeSet due to error."},IZ={code:"empty_input_scopeset",desc:"Empty input ScopeSet cannot be processed."},AZ={code:"device_code_polling_cancelled",desc:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true."},PZ={code:"device_code_expired",desc:"Device code is expired."},DZ={code:"device_code_unknown_error",desc:"Device code stopped polling for unknown reasons."},RZ={code:"no_account_in_silent_request",desc:"Please pass an account object, silent flow is not supported without account information"},MZ={code:"invalid_cache_record",desc:"Cache record object was null or undefined."},NZ={code:"invalid_cache_environment",desc:"Invalid environment when attempting to create cache entry"},LZ={code:"no_account_found",desc:"No account found in cache for given key."},OZ={code:"no cache plugin set on CacheManager",desc:"ICachePlugin needs to be set before using readFromStorage or writeFromStorage"},FZ={code:"no_crypto_object",desc:"No crypto object detected. This is required for the following operation: "},BZ={code:"invalid_cache_type",desc:"Invalid cache type"},HZ={code:"unexpected_account_type",desc:"Unexpected account type."},zZ={code:"unexpected_credential_type",desc:"Unexpected credential type."},UZ={code:"invalid_assertion",desc:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515"},VZ={code:"invalid_client_credential",desc:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential"},jZ={code:"token_refresh_required",desc:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired."},qZ={code:"user_timeout_reached",desc:"User defined timeout for device code polling reached"},WZ={code:"token_claims_cnf_required_for_signedjwt",desc:"Cannot generate a POP jwt if the token_claims are not populated"},GZ={code:"authorization_code_missing_from_server_response",desc:"Server response does not contain an authorization code to proceed"},KZ={code:"binding_key_not_removed",desc:"Could not remove the credential's binding key from storage."},YZ={code:"end_session_endpoint_not_supported",desc:"Provided authority does not support logout."},QZ={code:"key_id_missing",desc:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key."},XZ={code:"no_network_connectivity",desc:"No network connectivity. Check your internet connection."},JZ={code:"user_canceled",desc:"User canceled the flow."},$Z=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="ClientAuthError",Object.setPrototypeOf(o,t.prototype),o}return yJ(t,e),t.createClientInfoDecodingError=function(e){return new t(aZ.code,aZ.desc+" Failed with error: "+e)},t.createClientInfoEmptyError=function(){return new t(sZ.code,""+sZ.desc)},t.createTokenParsingError=function(e){return new t(cZ.code,cZ.desc+" Failed with error: "+e)},t.createTokenNullOrEmptyError=function(e){return new t(lZ.code,lZ.desc+" Raw Token Value: "+e)},t.createEndpointDiscoveryIncompleteError=function(e){return new t(uZ.code,uZ.desc+" Detail: "+e)},t.createNetworkError=function(e,n){return new t(dZ.code,dZ.desc+" | Fetch client threw: "+n+" | Attempted to reach: "+e.split("?")[0])},t.createUnableToGetOpenidConfigError=function(e){return new t(pZ.code,pZ.desc+" Attempted to retrieve endpoints from: "+e)},t.createHashNotDeserializedError=function(e){return new t(hZ.code,hZ.desc+" Given Object: "+e)},t.createInvalidStateError=function(e,n){return new t(fZ.code,fZ.desc+" Invalid State: "+e+", Root Err: "+n)},t.createStateMismatchError=function(){return new t(mZ.code,mZ.desc)},t.createStateNotFoundError=function(e){return new t(gZ.code,gZ.desc+":  "+e)},t.createNonceMismatchError=function(){return new t(vZ.code,vZ.desc)},t.createAuthTimeNotFoundError=function(){return new t(bZ.code,bZ.desc)},t.createMaxAgeTranspiredError=function(){return new t(_Z.code,_Z.desc)},t.createNonceNotFoundError=function(e){return new t(yZ.code,yZ.desc+":  "+e)},t.createMultipleMatchingTokensInCacheError=function(){return new t(CZ.code,CZ.desc+".")},t.createMultipleMatchingAccountsInCacheError=function(){return new t(wZ.code,wZ.desc)},t.createMultipleMatchingAppMetadataInCacheError=function(){return new t(EZ.code,EZ.desc)},t.createTokenRequestCannotBeMadeError=function(){return new t(xZ.code,xZ.desc)},t.createAppendEmptyScopeToSetError=function(e){return new t(SZ.code,SZ.desc+" Given Scope: "+e)},t.createRemoveEmptyScopeFromSetError=function(e){return new t(kZ.code,kZ.desc+" Given Scope: "+e)},t.createAppendScopeSetError=function(e){return new t(TZ.code,TZ.desc+" Detail Error: "+e)},t.createEmptyInputScopeSetError=function(){return new t(IZ.code,""+IZ.desc)},t.createDeviceCodeCancelledError=function(){return new t(AZ.code,""+AZ.desc)},t.createDeviceCodeExpiredError=function(){return new t(PZ.code,""+PZ.desc)},t.createDeviceCodeUnknownError=function(){return new t(DZ.code,""+DZ.desc)},t.createNoAccountInSilentRequestError=function(){return new t(RZ.code,""+RZ.desc)},t.createNullOrUndefinedCacheRecord=function(){return new t(MZ.code,MZ.desc)},t.createInvalidCacheEnvironmentError=function(){return new t(NZ.code,NZ.desc)},t.createNoAccountFoundError=function(){return new t(LZ.code,LZ.desc)},t.createCachePluginError=function(){return new t(OZ.code,""+OZ.desc)},t.createNoCryptoObjectError=function(e){return new t(FZ.code,""+FZ.desc+e)},t.createInvalidCacheTypeError=function(){return new t(BZ.code,""+BZ.desc)},t.createUnexpectedAccountTypeError=function(){return new t(HZ.code,""+HZ.desc)},t.createUnexpectedCredentialTypeError=function(){return new t(zZ.code,""+zZ.desc)},t.createInvalidAssertionError=function(){return new t(UZ.code,""+UZ.desc)},t.createInvalidCredentialError=function(){return new t(VZ.code,""+VZ.desc)},t.createRefreshRequiredError=function(){return new t(jZ.code,jZ.desc)},t.createUserTimeoutReachedError=function(){return new t(qZ.code,qZ.desc)},t.createTokenClaimsRequiredError=function(){return new t(WZ.code,WZ.desc)},t.createNoAuthCodeInServerResponseError=function(){return new t(GZ.code,GZ.desc)},t.createBindingKeyNotRemovedError=function(){return new t(KZ.code,KZ.desc)},t.createLogoutNotSupportedError=function(){return new t(YZ.code,YZ.desc)},t.createKeyIdMissingError=function(){return new t(QZ.code,QZ.desc)},t.createNoNetworkConnectivityError=function(){return new t(XZ.code,XZ.desc)},t.createUserCanceledError=function(){return new t(JZ.code,JZ.desc)},t}(q$),ZZ=function(){function e(){}return e.decodeAuthToken=function(t){if(e.isEmpty(t))throw $Z.createTokenNullOrEmptyError(t);var n=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(t);if(!n||n.length<4)throw $Z.createTokenParsingError("Given token is malformed: "+JSON.stringify(t));return{header:n[1],JWSPayload:n[2],JWSSig:n[3]}},e.isEmpty=function(e){return"undefined"===typeof e||!e||0===e.length},e.isEmptyObj=function(t){if(t&&!e.isEmpty(t))try{var n=JSON.parse(t);return 0===Object.keys(n).length}catch(Ple){}return!0},e.startsWith=function(e,t){return 0===e.indexOf(t)},e.endsWith=function(e,t){return e.length>=t.length&&e.lastIndexOf(t)===e.length-t.length},e.queryStringToObject=function(e){var t={},n=e.split("&"),r=function(e){return decodeURIComponent(e.replace(/\+/g," "))};return n.forEach((function(e){if(e.trim()){var n=e.split(/=(.+)/g,2),o=n[0],i=n[1];o&&i&&(t[r(o)]=r(i))}})),t},e.trimArrayEntries=function(e){return e.map((function(e){return e.trim()}))},e.removeEmptyStringsFromArray=function(t){return t.filter((function(t){return!e.isEmpty(t)}))},e.jsonParseHelper=function(e){try{return JSON.parse(e)}catch(Ple){return null}},e.matchPattern=function(e,t){return new RegExp(e.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(t)},e}(),e0={code:"pkce_not_created",desc:"The PKCE code challenge and verifier could not be generated."},t0={code:"crypto_nonexistent",desc:"The crypto object or function is not available."},n0={code:"http_method_not_implemented",desc:"The HTTP method given has not been implemented in this library."},r0={code:"empty_navigate_uri",desc:"Navigation URI is empty. Please check stack trace for more info."},o0={code:"hash_empty_error",desc:"Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. For more visit: aka.ms/msaljs/browser-errors."},i0={code:"no_state_in_hash",desc:"Hash does not contain state. Please verify that the request originated from msal."},a0={code:"hash_does_not_contain_known_properties",desc:"Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. For more visit: aka.ms/msaljs/browser-errors."},s0={code:"unable_to_parse_state",desc:"Unable to parse state. Please verify that the request originated from msal."},c0={code:"state_interaction_type_mismatch",desc:"Hash contains state but the interaction type does not match the caller."},l0={code:"interaction_in_progress",desc:"Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.  For more visit: aka.ms/msaljs/browser-errors."},u0={code:"popup_window_error",desc:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser."},d0={code:"empty_window_error",desc:"window.open returned null or undefined window object."},p0={code:"user_cancelled",desc:"User cancelled the flow."},h0={code:"monitor_window_timeout",desc:"Token acquisition in popup failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},f0={code:"monitor_window_timeout",desc:"Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},m0={code:"redirect_in_iframe",desc:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs."},g0={code:"block_iframe_reload",desc:"Request was blocked inside an iframe because MSAL detected an authentication response. For more visit: aka.ms/msaljs/browser-errors"},v0={code:"block_nested_popups",desc:"Request was blocked inside a popup because MSAL detected it was running in a popup."},y0={code:"iframe_closed_prematurely",desc:"The iframe being monitored was closed prematurely."},b0={code:"silent_logout_unsupported",desc:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead."},_0={code:"no_account_error",desc:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request."},C0={code:"silent_prompt_value_error",desc:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'."},w0={code:"no_token_request_cache_error",desc:"No token request found in cache."},E0={code:"unable_to_parse_token_request_cache_error",desc:"The cached token request could not be parsed."},x0={code:"no_cached_authority_error",desc:"No cached authority found."},S0={code:"auth_request_not_set_error",desc:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler"},k0={code:"invalid_cache_type",desc:"Invalid cache type"},T0={code:"non_browser_environment",desc:"Login and token requests are not supported in non-browser environments."},I0={code:"database_not_open",desc:"Database is not open!"},A0={code:"no_network_connectivity",desc:"No network connectivity. Check your internet connection."},P0={code:"post_request_failed",desc:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'"},D0={code:"get_request_failed",desc:"Network request failed. Please check the network trace to determine root cause."},R0={code:"failed_to_parse_response",desc:"Failed to parse network response. Check network trace."},M0={code:"unable_to_load_token",desc:"Error loading token to cache."},N0={code:"crypto_key_not_found",desc:"Cryptographic Key or Keypair not found in browser storage."},L0={code:"auth_code_required",desc:"An authorization code must be provided (as the `code` property on the request) to this flow."},O0={code:"auth_code_or_nativeAccountId_required",desc:"An authorization code or nativeAccountId must be provided to this flow."},F0={code:"spa_code_and_nativeAccountId_present",desc:"Request cannot contain both spa code and native account id."},B0={code:"database_unavailable",desc:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts."},H0={code:"unable_to_acquire_token_from_native_platform",desc:"Unable to acquire token from native platform. For a list of possible reasons visit aka.ms/msaljs/browser-errors."},z0={code:"native_handshake_timeout",desc:"Timed out while attempting to establish connection to browser extension"},U0={code:"native_extension_not_installed",desc:"Native extension is not installed. If you think this is a mistake call the initialize function."},V0={code:"native_connection_not_established",desc:"Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). For more please visit aka.ms/msaljs/browser-errors."},j0={code:"native_broker_called_before_initialize",desc:"You must call and await the initialize function before attempting to call any other MSAL API when native brokering is enabled. For more please visit aka.ms/msaljs/browser-errors."},q0={code:"native_prompt_not_supported",desc:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow."},W0=function(e){function t(n,r){var o=e.call(this,n,r)||this;return Object.setPrototypeOf(o,t.prototype),o.name="BrowserAuthError",o}return D$(t,e),t.createPkceNotGeneratedError=function(e){return new t(e0.code,e0.desc+" Detail:"+e)},t.createCryptoNotAvailableError=function(e){return new t(t0.code,t0.desc+" Detail:"+e)},t.createHttpMethodNotImplementedError=function(e){return new t(n0.code,n0.desc+" Given Method: "+e)},t.createEmptyNavigationUriError=function(){return new t(r0.code,r0.desc)},t.createEmptyHashError=function(e){return new t(o0.code,o0.desc+" Given Url: "+e)},t.createHashDoesNotContainStateError=function(){return new t(i0.code,i0.desc)},t.createHashDoesNotContainKnownPropertiesError=function(){return new t(a0.code,a0.desc)},t.createUnableToParseStateError=function(){return new t(s0.code,s0.desc)},t.createStateInteractionTypeMismatchError=function(){return new t(c0.code,c0.desc)},t.createInteractionInProgressError=function(){return new t(l0.code,l0.desc)},t.createPopupWindowError=function(e){var n=u0.desc;return n=ZZ.isEmpty(e)?n:n+" Details: "+e,new t(u0.code,n)},t.createEmptyWindowCreatedError=function(){return new t(d0.code,d0.desc)},t.createUserCancelledError=function(){return new t(p0.code,p0.desc)},t.createMonitorPopupTimeoutError=function(){return new t(h0.code,h0.desc)},t.createMonitorIframeTimeoutError=function(){return new t(f0.code,f0.desc)},t.createRedirectInIframeError=function(e){return new t(m0.code,m0.desc+" (window.parent !== window) => "+e)},t.createBlockReloadInHiddenIframeError=function(){return new t(g0.code,g0.desc)},t.createBlockAcquireTokenInPopupsError=function(){return new t(v0.code,v0.desc)},t.createIframeClosedPrematurelyError=function(){return new t(y0.code,y0.desc)},t.createSilentLogoutUnsupportedError=function(){return new t(b0.code,b0.desc)},t.createNoAccountError=function(){return new t(_0.code,_0.desc)},t.createSilentPromptValueError=function(e){return new t(C0.code,C0.desc+" Given value: "+e)},t.createUnableToParseTokenRequestCacheError=function(){return new t(E0.code,E0.desc)},t.createNoTokenRequestCacheError=function(){return new t(w0.code,w0.desc)},t.createAuthRequestNotSetError=function(){return new t(S0.code,S0.desc)},t.createNoCachedAuthorityError=function(){return new t(x0.code,x0.desc)},t.createInvalidCacheTypeError=function(){return new t(k0.code,""+k0.desc)},t.createNonBrowserEnvironmentError=function(){return new t(T0.code,T0.desc)},t.createDatabaseNotOpenError=function(){return new t(I0.code,I0.desc)},t.createNoNetworkConnectivityError=function(){return new t(A0.code,A0.desc)},t.createPostRequestFailedError=function(e,n){return new t(P0.code,P0.desc+" | Network client threw: "+e+" | Attempted to reach: "+n.split("?")[0])},t.createGetRequestFailedError=function(e,n){return new t(D0.code,D0.desc+" | Network client threw: "+e+" | Attempted to reach: "+n.split("?")[0])},t.createFailedToParseNetworkResponseError=function(e){return new t(R0.code,R0.desc+" | Attempted to reach: "+e.split("?")[0])},t.createUnableToLoadTokenError=function(e){return new t(M0.code,M0.desc+" | "+e)},t.createSigningKeyNotFoundInStorageError=function(e){return new t(N0.code,N0.desc+" | No match found for KeyId: "+e)},t.createAuthCodeRequiredError=function(){return new t(L0.code,L0.desc)},t.createAuthCodeOrNativeAccountIdRequiredError=function(){return new t(O0.code,O0.desc)},t.createSpaCodeAndNativeAccountIdPresentError=function(){return new t(F0.code,F0.desc)},t.createDatabaseUnavailableError=function(){return new t(B0.code,B0.desc)},t.createUnableToAcquireTokenFromNativePlatformError=function(){return new t(H0.code,H0.desc)},t.createNativeHandshakeTimeoutError=function(){return new t(z0.code,z0.desc)},t.createNativeExtensionNotInstalledError=function(){return new t(U0.code,U0.desc)},t.createNativeConnectionNotEstablishedError=function(){return new t(V0.code,V0.desc)},t.createNativeBrokerCalledBeforeInitialize=function(){return new t(j0.code,j0.desc)},t.createNativePromptParameterNotSupportedError=function(){return new t(q0.code,q0.desc)},t}(q$),G0=function(){function e(e){this.base64Encode=new oZ,this.cryptoObj=e}return e.prototype.generateCodes=function(){return O$(this,void 0,void 0,(function(){var e,t;return F$(this,(function(n){switch(n.label){case 0:return e=this.generateCodeVerifier(),[4,this.generateCodeChallengeFromVerifier(e)];case 1:return t=n.sent(),[2,{verifier:e,challenge:t}]}}))}))},e.prototype.generateCodeVerifier=function(){try{var e=new Uint8Array(32);return this.cryptoObj.getRandomValues(e),this.base64Encode.urlEncodeArr(e)}catch(Ple){throw W0.createPkceNotGeneratedError(Ple)}},e.prototype.generateCodeChallengeFromVerifier=function(e){return O$(this,void 0,void 0,(function(){var t,n;return F$(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.cryptoObj.sha256Digest(e)];case 1:return t=r.sent(),[2,this.base64Encode.urlEncodeArr(new Uint8Array(t))];case 2:throw n=r.sent(),W0.createPkceNotGeneratedError(n);case 3:return[2]}}))}))},e}(),K0=function(){function e(){}return e.prototype.getRandomValues=function(e){return window.crypto.getRandomValues(e)},e.prototype.generateKey=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){return[2,window.crypto.subtle.generateKey(e,t,n)]}))}))},e.prototype.exportKey=function(e){return O$(this,void 0,void 0,(function(){return F$(this,(function(t){return[2,window.crypto.subtle.exportKey(S$,e)]}))}))},e.prototype.importKey=function(e,t,n,r){return O$(this,void 0,void 0,(function(){return F$(this,(function(o){return[2,window.crypto.subtle.importKey(S$,e,t,n,r)]}))}))},e.prototype.sign=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){return[2,window.crypto.subtle.sign(e,t,n)]}))}))},e.prototype.digest=function(e,t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return[2,window.crypto.subtle.digest(e,t)]}))}))},e}(),Y0=function(){function e(){}return e.prototype.initPrng=function(e){return window.msrCrypto.initPrng(H$(e))},e.prototype.getRandomValues=function(e){return window.msrCrypto.getRandomValues(e)},e.prototype.generateKey=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){return[2,window.msrCrypto.subtle.generateKey(e,t,n)]}))}))},e.prototype.exportKey=function(e){return O$(this,void 0,void 0,(function(){return F$(this,(function(t){return[2,window.msrCrypto.subtle.exportKey(S$,e)]}))}))},e.prototype.importKey=function(e,t,n,r){return O$(this,void 0,void 0,(function(){return F$(this,(function(o){return[2,window.msrCrypto.subtle.importKey(S$,e,t,n,r)]}))}))},e.prototype.sign=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){return[2,window.msrCrypto.subtle.sign(e,t,n)]}))}))},e.prototype.digest=function(e,t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return[2,window.msrCrypto.subtle.digest(e,t)]}))}))},e}(),Q0=function(){function e(){}return e.prototype.getRandomValues=function(e){return window.msCrypto.getRandomValues(e)},e.prototype.generateKey=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){return[2,new Promise((function(r,o){var i=window.msCrypto.subtle.generateKey(e,t,n);i.addEventListener("complete",(function(e){r(e.target.result)})),i.addEventListener("error",(function(e){o(e)}))}))]}))}))},e.prototype.exportKey=function(e){return O$(this,void 0,void 0,(function(){return F$(this,(function(t){return[2,new Promise((function(t,n){var r=window.msCrypto.subtle.exportKey(S$,e);r.addEventListener("complete",(function(e){var r=e.target.result,o=rZ.utf8ArrToString(new Uint8Array(r)).replace(/\r/g,IJ.EMPTY_STRING).replace(/\n/g,IJ.EMPTY_STRING).replace(/\t/g,IJ.EMPTY_STRING).split(" ").join(IJ.EMPTY_STRING).replace("\0",IJ.EMPTY_STRING);try{t(JSON.parse(o))}catch(e){n(e)}})),r.addEventListener("error",(function(e){n(e)}))}))]}))}))},e.prototype.importKey=function(e,t,n,r){return O$(this,void 0,void 0,(function(){var o,i;return F$(this,(function(a){return o=rZ.getSortedObjectString(e),i=rZ.stringToArrayBuffer(o),[2,new Promise((function(e,o){var a=window.msCrypto.subtle.importKey(S$,i,t,n,r);a.addEventListener("complete",(function(t){e(t.target.result)})),a.addEventListener("error",(function(e){o(e)}))}))]}))}))},e.prototype.sign=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){return[2,new Promise((function(r,o){var i=window.msCrypto.subtle.sign(e,t,n);i.addEventListener("complete",(function(e){r(e.target.result)})),i.addEventListener("error",(function(e){o(e)}))}))]}))}))},e.prototype.digest=function(e,t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return[2,new Promise((function(n,r){var o=window.msCrypto.subtle.digest(e,t.buffer);o.addEventListener("complete",(function(e){n(e.target.result)})),o.addEventListener("error",(function(e){r(e)}))}))]}))}))},e}(),X0={code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},J0={code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},$0={code:"storage_not_supported",desc:"Given storage configuration option was not supported."},Z0={code:"no_redirect_callbacks",desc:"No redirect callbacks have been set. Please call setRedirectCallbacks() with the appropriate function arguments before continuing. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."},e1={code:"stubbed_public_client_application_called",desc:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors"},t1={code:"in_mem_redirect_unavailable",desc:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},n1={code:"entropy_not_provided",desc:"The available browser crypto interface requires entropy set via system.cryptoOptions.entropy configuration option."},r1=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="BrowserConfigurationAuthError",Object.setPrototypeOf(o,t.prototype),o}return D$(t,e),t.createRedirectUriEmptyError=function(){return new t(X0.code,X0.desc)},t.createPostLogoutRedirectUriEmptyError=function(){return new t(J0.code,J0.desc)},t.createStorageNotSupportedError=function(e){return new t($0.code,$0.desc+" Given Location: "+e)},t.createRedirectCallbacksNotSetError=function(){return new t(Z0.code,Z0.desc)},t.createStubPcaInstanceCalledError=function(){return new t(e1.code,e1.desc)},t.createInMemoryRedirectUnavailableError=function(){return new t(t1.code,t1.desc)},t.createEntropyNotProvided=function(){return new t(n1.code,n1.desc)},t}(q$),o1="SHA-256",i1=new Uint8Array([1,0,1]),a1=function(){function e(e,t){var n,r;if(this.logger=e,this.cryptoOptions=t,this.hasBrowserCrypto())this.logger.verbose("BrowserCrypto: modern crypto interface available"),this.subtleCrypto=new K0;else if(this.hasIECrypto())this.logger.verbose("BrowserCrypto: MS crypto interface available"),this.subtleCrypto=new Q0;else{if(!this.hasMsrCrypto()||!(null===(n=this.cryptoOptions)||void 0===n?void 0:n.useMsrCrypto))throw this.hasMsrCrypto()&&this.logger.info("BrowserCrypto: MSR Crypto interface available but system.cryptoOptions.useMsrCrypto not enabled"),this.logger.error("BrowserCrypto: No crypto interfaces available."),W0.createCryptoNotAvailableError("Browser crypto, msCrypto, or msrCrypto interfaces not available.");this.logger.verbose("BrowserCrypto: MSR crypto interface available"),this.subtleCrypto=new Y0}if(this.subtleCrypto.initPrng){if(this.logger.verbose("BrowserCrypto: Interface requires entropy"),!(null===(r=this.cryptoOptions)||void 0===r?void 0:r.entropy))throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."),r1.createEntropyNotProvided();this.logger.verbose("BrowserCrypto: Entropy provided"),this.subtleCrypto.initPrng(this.cryptoOptions.entropy)}this.keygenAlgorithmOptions={name:"RSASSA-PKCS1-v1_5",hash:o1,modulusLength:2048,publicExponent:i1}}return e.prototype.hasIECrypto=function(){return"msCrypto"in window},e.prototype.hasBrowserCrypto=function(){return"crypto"in window},e.prototype.hasMsrCrypto=function(){return"msrCrypto"in window},e.prototype.sha256Digest=function(e){return O$(this,void 0,void 0,(function(){var t;return F$(this,(function(n){return t=rZ.stringToUtf8Arr(e),[2,this.subtleCrypto.digest({name:o1},t)]}))}))},e.prototype.getRandomValues=function(e){return this.subtleCrypto.getRandomValues(e)},e.prototype.generateKeyPair=function(e,t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return[2,this.subtleCrypto.generateKey(this.keygenAlgorithmOptions,e,t)]}))}))},e.prototype.exportJwk=function(e){return O$(this,void 0,void 0,(function(){return F$(this,(function(t){return[2,this.subtleCrypto.exportKey(e)]}))}))},e.prototype.importJwk=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){return[2,this.subtleCrypto.importKey(e,this.keygenAlgorithmOptions,t,n)]}))}))},e.prototype.sign=function(e,t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return[2,this.subtleCrypto.sign(this.keygenAlgorithmOptions,e,t)]}))}))},e}(),s1=function(){function e(){this.dbName=T$,this.version=1,this.tableName="msal.db.keys",this.dbOpen=!1}return e.prototype.open=function(){return O$(this,void 0,void 0,(function(){var e=this;return F$(this,(function(t){return[2,new Promise((function(t,n){var r=window.indexedDB.open(e.dbName,e.version);r.addEventListener("upgradeneeded",(function(t){t.target.result.createObjectStore(e.tableName)})),r.addEventListener("success",(function(n){var r=n;e.db=r.target.result,e.dbOpen=!0,t()})),r.addEventListener("error",(function(){return n(W0.createDatabaseUnavailableError())}))}))]}))}))},e.prototype.closeConnection=function(){var e=this.db;e&&this.dbOpen&&(e.close(),this.dbOpen=!1)},e.prototype.validateDbIsOpen=function(){return O$(this,void 0,void 0,(function(){return F$(this,(function(e){switch(e.label){case 0:return this.dbOpen?[3,2]:[4,this.open()];case 1:return[2,e.sent()];case 2:return[2]}}))}))},e.prototype.getItem=function(e){return O$(this,void 0,void 0,(function(){var t=this;return F$(this,(function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise((function(n,r){if(!t.db)return r(W0.createDatabaseNotOpenError());var o=t.db.transaction([t.tableName],"readonly").objectStore(t.tableName).get(e);o.addEventListener("success",(function(e){var r=e;t.closeConnection(),n(r.target.result)})),o.addEventListener("error",(function(e){t.closeConnection(),r(e)}))}))]}}))}))},e.prototype.setItem=function(e,t){return O$(this,void 0,void 0,(function(){var n=this;return F$(this,(function(r){switch(r.label){case 0:return[4,this.validateDbIsOpen()];case 1:return r.sent(),[2,new Promise((function(r,o){if(!n.db)return o(W0.createDatabaseNotOpenError());var i=n.db.transaction([n.tableName],"readwrite").objectStore(n.tableName).put(t,e);i.addEventListener("success",(function(){n.closeConnection(),r()})),i.addEventListener("error",(function(e){n.closeConnection(),o(e)}))}))]}}))}))},e.prototype.removeItem=function(e){return O$(this,void 0,void 0,(function(){var t=this;return F$(this,(function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise((function(n,r){if(!t.db)return r(W0.createDatabaseNotOpenError());var o=t.db.transaction([t.tableName],"readwrite").objectStore(t.tableName).delete(e);o.addEventListener("success",(function(){t.closeConnection(),n()})),o.addEventListener("error",(function(e){t.closeConnection(),r(e)}))}))]}}))}))},e.prototype.getKeys=function(){return O$(this,void 0,void 0,(function(){var e=this;return F$(this,(function(t){switch(t.label){case 0:return[4,this.validateDbIsOpen()];case 1:return t.sent(),[2,new Promise((function(t,n){if(!e.db)return n(W0.createDatabaseNotOpenError());var r=e.db.transaction([e.tableName],"readonly").objectStore(e.tableName).getAllKeys();r.addEventListener("success",(function(n){var r=n;e.closeConnection(),t(r.target.result)})),r.addEventListener("error",(function(t){e.closeConnection(),n(t)}))}))]}}))}))},e.prototype.containsKey=function(e){return O$(this,void 0,void 0,(function(){var t=this;return F$(this,(function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise((function(n,r){if(!t.db)return r(W0.createDatabaseNotOpenError());var o=t.db.transaction([t.tableName],"readonly").objectStore(t.tableName).count(e);o.addEventListener("success",(function(e){var r=e;t.closeConnection(),n(1===r.target.result)})),o.addEventListener("error",(function(e){t.closeConnection(),r(e)}))}))]}}))}))},e.prototype.deleteDatabase=function(){return O$(this,void 0,void 0,(function(){return F$(this,(function(e){return this.db&&this.dbOpen&&this.closeConnection(),[2,new Promise((function(e,t){var n=window.indexedDB.deleteDatabase(T$);n.addEventListener("success",(function(){return e(!0)})),n.addEventListener("blocked",(function(){return e(!0)})),n.addEventListener("error",(function(){return t(!1)}))}))]}))}))},e}(),c1=function(){function e(){this.cache=new Map}return e.prototype.getItem=function(e){return this.cache.get(e)||null},e.prototype.setItem=function(e,t){this.cache.set(e,t)},e.prototype.removeItem=function(e){this.cache.delete(e)},e.prototype.getKeys=function(){var e=[];return this.cache.forEach((function(t,n){e.push(n)})),e},e.prototype.containsKey=function(e){return this.cache.has(e)},e.prototype.clear=function(){this.cache.clear()},e}(),l1=function(){function e(e,t){this.inMemoryCache=new c1,this.indexedDBCache=new s1,this.logger=e,this.storeName=t}return e.prototype.handleDatabaseAccessError=function(e){if(!(e instanceof W0&&e.errorCode===B0.code))throw e;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")},e.prototype.getItem=function(e){return O$(this,void 0,void 0,(function(){var t,n;return F$(this,(function(r){switch(r.label){case 0:if(t=this.inMemoryCache.getItem(e))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),this.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.getItem(e)];case 2:return[2,r.sent()];case 3:return n=r.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2,t]}}))}))},e.prototype.setItem=function(e,t){return O$(this,void 0,void 0,(function(){var n;return F$(this,(function(r){switch(r.label){case 0:this.inMemoryCache.setItem(e,t),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.indexedDBCache.setItem(e,t)];case 2:return r.sent(),[3,4];case 3:return n=r.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2]}}))}))},e.prototype.removeItem=function(e){return O$(this,void 0,void 0,(function(){var t;return F$(this,(function(n){switch(n.label){case 0:this.inMemoryCache.removeItem(e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.indexedDBCache.removeItem(e)];case 2:return n.sent(),[3,4];case 3:return t=n.sent(),this.handleDatabaseAccessError(t),[3,4];case 4:return[2]}}))}))},e.prototype.getKeys=function(){return O$(this,void 0,void 0,(function(){var e,t;return F$(this,(function(n){switch(n.label){case 0:if(0!==(e=this.inMemoryCache.getKeys()).length)return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),this.logger.verbose("In-memory cache is empty, now querying persistent storage."),[4,this.indexedDBCache.getKeys()];case 2:return[2,n.sent()];case 3:return t=n.sent(),this.handleDatabaseAccessError(t),[3,4];case 4:return[2,e]}}))}))},e.prototype.containsKey=function(e){return O$(this,void 0,void 0,(function(){var t,n;return F$(this,(function(r){switch(r.label){case 0:if(t=this.inMemoryCache.containsKey(e))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),this.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.containsKey(e)];case 2:return[2,r.sent()];case 3:return n=r.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2,t]}}))}))},e.prototype.clearInMemory=function(){this.logger.verbose("Deleting in-memory keystore "+this.storeName),this.inMemoryCache.clear(),this.logger.verbose("In-memory keystore "+this.storeName+" deleted")},e.prototype.clearPersistent=function(){return O$(this,void 0,void 0,(function(){var e,t;return F$(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),this.logger.verbose("Deleting persistent keystore"),[4,this.indexedDBCache.deleteDatabase()];case 1:return(e=n.sent())&&this.logger.verbose("Persistent keystore deleted"),[2,e];case 2:return t=n.sent(),this.handleDatabaseAccessError(t),[2,!1];case 3:return[2]}}))}))},e}();!function(e){e.asymmetricKeys="asymmetricKeys",e.symmetricKeys="symmetricKeys"}(z$||(z$={}));var u1,d1=function(){function e(e){this.logger=e,this.asymmetricKeys=new l1(this.logger,z$.asymmetricKeys),this.symmetricKeys=new l1(this.logger,z$.symmetricKeys)}return e.prototype.clear=function(){return O$(this,void 0,void 0,(function(){var e;return F$(this,(function(t){switch(t.label){case 0:this.asymmetricKeys.clearInMemory(),this.symmetricKeys.clearInMemory(),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.asymmetricKeys.clearPersistent()];case 2:return t.sent(),[2,!0];case 3:return(e=t.sent())instanceof Error?this.logger.error("Clearing keystore failed with error: "+e.message):this.logger.error("Clearing keystore failed with unknown error"),[2,!1];case 4:return[2]}}))}))},e}(),p1=function(){function e(e,t,n){this.logger=e,this.browserCrypto=new a1(this.logger,n),this.b64Encode=new oZ,this.b64Decode=new iZ,this.guidGenerator=new nZ(this.browserCrypto),this.pkceGenerator=new G0(this.browserCrypto),this.cache=new d1(this.logger),this.performanceClient=t}return e.prototype.createNewGuid=function(){return this.guidGenerator.generateGuid()},e.prototype.base64Encode=function(e){return this.b64Encode.encode(e)},e.prototype.base64Decode=function(e){return this.b64Decode.decode(e)},e.prototype.generatePkceCodes=function(){return O$(this,void 0,void 0,(function(){return F$(this,(function(e){return[2,this.pkceGenerator.generateCodes()]}))}))},e.prototype.getPublicKeyThumbprint=function(t){var n;return O$(this,void 0,void 0,(function(){var r,o,i,a,s,c,l,u;return F$(this,(function(d){switch(d.label){case 0:return r=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(R$.CryptoOptsGetPublicKeyThumbprint,t.correlationId),[4,this.browserCrypto.generateKeyPair(e.EXTRACTABLE,e.POP_KEY_USAGES)];case 1:return o=d.sent(),[4,this.browserCrypto.exportJwk(o.publicKey)];case 2:return i=d.sent(),a={e:i.e,kty:i.kty,n:i.n},s=rZ.getSortedObjectString(a),[4,this.hashString(s)];case 3:return c=d.sent(),[4,this.browserCrypto.exportJwk(o.privateKey)];case 4:return l=d.sent(),[4,this.browserCrypto.importJwk(l,!1,["sign"])];case 5:return u=d.sent(),[4,this.cache.asymmetricKeys.setItem(c,{privateKey:u,publicKey:o.publicKey,requestMethod:t.resourceRequestMethod,requestUri:t.resourceRequestUri})];case 6:return d.sent(),r&&r.endMeasurement({success:!0}),[2,c]}}))}))},e.prototype.removeTokenBindingKey=function(e){return O$(this,void 0,void 0,(function(){return F$(this,(function(t){switch(t.label){case 0:return[4,this.cache.asymmetricKeys.removeItem(e)];case 1:return t.sent(),[4,this.cache.asymmetricKeys.containsKey(e)];case 2:return[2,!t.sent()]}}))}))},e.prototype.clearKeystore=function(){return O$(this,void 0,void 0,(function(){return F$(this,(function(e){switch(e.label){case 0:return[4,this.cache.clear()];case 1:return[2,e.sent()]}}))}))},e.prototype.signJwt=function(e,t,n){var r;return O$(this,void 0,void 0,(function(){var o,i,a,s,c,l,u,d,p,h,f,m,g;return F$(this,(function(v){switch(v.label){case 0:return o=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(R$.CryptoOptsSignJwt,n),[4,this.cache.asymmetricKeys.getItem(t)];case 1:if(!(i=v.sent()))throw W0.createSigningKeyNotFoundInStorageError(t);return[4,this.browserCrypto.exportJwk(i.publicKey)];case 2:return a=v.sent(),s=rZ.getSortedObjectString(a),c=this.b64Encode.urlEncode(JSON.stringify({kid:t})),l=eZ.getShrHeaderString({kid:c,alg:a.alg}),u=this.b64Encode.urlEncode(l),e.cnf={jwk:JSON.parse(s)},d=this.b64Encode.urlEncode(JSON.stringify(e)),p=u+"."+d,h=rZ.stringToArrayBuffer(p),[4,this.browserCrypto.sign(i.privateKey,h)];case 3:return f=v.sent(),m=this.b64Encode.urlEncodeArr(new Uint8Array(f)),g=p+"."+m,o&&o.endMeasurement({success:!0}),[2,g]}}))}))},e.prototype.hashString=function(e){return O$(this,void 0,void 0,(function(){var t,n;return F$(this,(function(r){switch(r.label){case 0:return[4,this.browserCrypto.sha256Digest(e)];case 1:return t=r.sent(),n=new Uint8Array(t),[2,this.b64Encode.urlEncodeArr(n)]}}))}))},e.POP_KEY_USAGES=["sign","verify"],e.EXTRACTABLE=!0,e}();!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"}(u1||(u1={}));var h1,f1=function(){function e(t,n,r){this.level=u1.Info;var o=t||e.createDefaultLoggerOptions();this.localCallback=o.loggerCallback||function(){},this.piiLoggingEnabled=o.piiLoggingEnabled||!1,this.level="number"===typeof o.logLevel?o.logLevel:u1.Info,this.correlationId=o.correlationId||IJ.EMPTY_STRING,this.packageName=n||IJ.EMPTY_STRING,this.packageVersion=r||IJ.EMPTY_STRING}return e.createDefaultLoggerOptions=function(){return{loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:u1.Info}},e.prototype.clone=function(t,n,r){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:r||this.correlationId},t,n)},e.prototype.logMessage=function(e,t){if(!(t.logLevel>this.level||!this.piiLoggingEnabled&&t.containsPii)){var n=(new Date).toUTCString(),r=(ZZ.isEmpty(t.correlationId)?ZZ.isEmpty(this.correlationId)?"["+n+"]":"["+n+"] : ["+this.correlationId+"]":"["+n+"] : ["+t.correlationId+"]")+" : "+this.packageName+"@"+this.packageVersion+" : "+u1[t.logLevel]+" - "+e;this.executeCallback(t.logLevel,r,t.containsPii||!1)}},e.prototype.executeCallback=function(e,t,n){this.localCallback&&this.localCallback(e,t,n)},e.prototype.error=function(e,t){this.logMessage(e,{logLevel:u1.Error,containsPii:!1,correlationId:t||IJ.EMPTY_STRING})},e.prototype.errorPii=function(e,t){this.logMessage(e,{logLevel:u1.Error,containsPii:!0,correlationId:t||IJ.EMPTY_STRING})},e.prototype.warning=function(e,t){this.logMessage(e,{logLevel:u1.Warning,containsPii:!1,correlationId:t||IJ.EMPTY_STRING})},e.prototype.warningPii=function(e,t){this.logMessage(e,{logLevel:u1.Warning,containsPii:!0,correlationId:t||IJ.EMPTY_STRING})},e.prototype.info=function(e,t){this.logMessage(e,{logLevel:u1.Info,containsPii:!1,correlationId:t||IJ.EMPTY_STRING})},e.prototype.infoPii=function(e,t){this.logMessage(e,{logLevel:u1.Info,containsPii:!0,correlationId:t||IJ.EMPTY_STRING})},e.prototype.verbose=function(e,t){this.logMessage(e,{logLevel:u1.Verbose,containsPii:!1,correlationId:t||IJ.EMPTY_STRING})},e.prototype.verbosePii=function(e,t){this.logMessage(e,{logLevel:u1.Verbose,containsPii:!0,correlationId:t||IJ.EMPTY_STRING})},e.prototype.trace=function(e,t){this.logMessage(e,{logLevel:u1.Trace,containsPii:!1,correlationId:t||IJ.EMPTY_STRING})},e.prototype.tracePii=function(e,t){this.logMessage(e,{logLevel:u1.Trace,containsPii:!0,correlationId:t||IJ.EMPTY_STRING})},e.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},e}(),m1=function(){function e(e,t,n,r,o,i){this.authority=t,this.libraryName=r,this.libraryVersion=o,this.applicationTelemetry=i,this.clientId=e,this.logger=n,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map}return e.prototype.startPerformanceMeasurement=function(e,t){return{}},e.prototype.startPerformanceMeasuremeant=function(e,t){return{}},e.prototype.getIntFields=function(){return U$},e.prototype.getPreQueueTime=function(e,t){var n=this.preQueueTimeByCorrelationId.get(t);if(n){if(n.name===e)return n.time;this.logger.trace("PerformanceClient.getPreQueueTime: no pre-queue time found for "+e+", unable to add queue measurement")}else this.logger.trace("PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: "+t+", unable to add queue measurement")},e.prototype.calculateQueuedTime=function(e,t){return e<1?(this.logger.trace("PerformanceClient: preQueueTime should be a positive integer and not "+e),0):t<1?(this.logger.trace("PerformanceClient: currentTime should be a positive integer and not "+t),0):t<e?(this.logger.trace("PerformanceClient: currentTime is less than preQueueTime, check how time is being retrieved"),0):t-e},e.prototype.addQueueMeasurement=function(e,t,n,r){if(t){if(0===n)this.logger.trace("PerformanceClient.addQueueMeasurement: queue time provided for "+e+" is "+n);else if(!n)return void this.logger.trace("PerformanceClient.addQueueMeasurement: no queue time provided for "+e);var o={eventName:e,queueTime:n,manuallyCompleted:r},i=this.queueMeasurements.get(t);if(i)i.push(o),this.queueMeasurements.set(t,i);else{this.logger.trace("PerformanceClient.addQueueMeasurement: adding correlationId "+t+" to queue measurements");var a=[o];this.queueMeasurements.set(t,a)}this.preQueueTimeByCorrelationId.delete(t)}else this.logger.trace("PerformanceClient.addQueueMeasurement: correlationId not provided for "+e+", cannot add queue measurement")},e.prototype.startMeasurement=function(e,t){var n,r,o=this,i=t||this.generateId();t||this.logger.info("PerformanceClient: No correlation id provided for "+e+", generating",i),this.logger.trace("PerformanceClient: Performance measurement started for "+e,i);var a=this.startPerformanceMeasuremeant(e,i);a.startMeasurement();var s={eventId:this.generateId(),status:M$.InProgress,authority:this.authority,libraryName:this.libraryName,libraryVersion:this.libraryVersion,clientId:this.clientId,name:e,startTimeMs:Date.now(),correlationId:i,appName:null===(n=this.applicationTelemetry)||void 0===n?void 0:n.appName,appVersion:null===(r=this.applicationTelemetry)||void 0===r?void 0:r.appVersion};return this.cacheEventByCorrelationId(s),{endMeasurement:function(e){return o.endMeasurement(bJ(bJ({},s),e),a)},discardMeasurement:function(){return o.discardMeasurements(s.correlationId)},addStaticFields:function(e){return o.addStaticFields(e,s.correlationId)},increment:function(e){return o.increment(e,s.correlationId)},measurement:a,event:s}},e.prototype.endMeasurement=function(e,t){var n,r,o=this,i=this.eventsByCorrelationId.get(e.correlationId);if(!i)return this.logger.trace("PerformanceClient: Measurement not found for "+e.eventId,e.correlationId),null;var a=e.eventId===i.eventId,s={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};a?(s=this.getQueueInfo(e.correlationId),this.discardCache(i.correlationId)):null===(n=i.incompleteSubMeasurements)||void 0===n||n.delete(e.eventId),null===t||void 0===t||t.endMeasurement();var c=null===t||void 0===t?void 0:t.flushMeasurement();if(!c)return this.logger.trace("PerformanceClient: Performance measurement not taken",i.correlationId),null;if(this.logger.trace("PerformanceClient: Performance measurement ended for "+e.name+": "+c+" ms",e.correlationId),!a)return i[e.name+"DurationMs"]=Math.floor(c),bJ({},i);var l=bJ(bJ({},i),e),u=0;return null===(r=l.incompleteSubMeasurements)||void 0===r||r.forEach((function(t){o.logger.trace("PerformanceClient: Incomplete submeasurement "+t.name+" found for "+e.name,l.correlationId),u++})),l.incompleteSubMeasurements=void 0,l=bJ(bJ({},l),{durationMs:Math.round(c),queuedTimeMs:s.totalQueueTime,queuedCount:s.totalQueueCount,queuedManuallyCompletedCount:s.manuallyCompletedCount,status:M$.Completed,incompleteSubsCount:u}),this.truncateIntegralFields(l,this.getIntFields()),this.emitEvents([l],e.correlationId),l},e.prototype.addStaticFields=function(e,t){this.logger.trace("PerformanceClient: Updating static fields");var n=this.eventsByCorrelationId.get(t);n?this.eventsByCorrelationId.set(t,bJ(bJ({},n),e)):this.logger.trace("PerformanceClient: Event not found for",t)},e.prototype.increment=function(e,t){this.logger.trace("PerformanceClient: Updating counters");var n=this.eventsByCorrelationId.get(t);if(n)for(var r in e)n.hasOwnProperty(r)||(n[r]=0),n[r]+=e[r];else this.logger.trace("PerformanceClient: Event not found for",t)},e.prototype.cacheEventByCorrelationId=function(e){var t=this.eventsByCorrelationId.get(e.correlationId);t?(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" added/updated",e.correlationId),t.incompleteSubMeasurements=t.incompleteSubMeasurements||new Map,t.incompleteSubMeasurements.set(e.eventId,{name:e.name,startTimeMs:e.startTimeMs})):(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" started",e.correlationId),this.eventsByCorrelationId.set(e.correlationId,bJ({},e)))},e.prototype.getQueueInfo=function(e){var t=this.queueMeasurements.get(e);t||this.logger.trace("PerformanceClient: no queue measurements found for for correlationId: "+e);var n=0,r=0,o=0;return null===t||void 0===t||t.forEach((function(e){n+=e.queueTime,r++,o+=e.manuallyCompleted?1:0})),{totalQueueTime:n,totalQueueCount:r,manuallyCompletedCount:o}},e.prototype.discardMeasurements=function(e){this.logger.trace("PerformanceClient: Performance measurements discarded",e),this.eventsByCorrelationId.delete(e)},e.prototype.discardCache=function(e){this.discardMeasurements(e),this.logger.trace("PerformanceClient: QueueMeasurements discarded",e),this.queueMeasurements.delete(e),this.logger.trace("PerformanceClient: Pre-queue times discarded",e),this.preQueueTimeByCorrelationId.delete(e)},e.prototype.addPerformanceCallback=function(e){var t=this.generateId();return this.callbacks.set(t,e),this.logger.verbose("PerformanceClient: Performance callback registered with id: "+t),t},e.prototype.removePerformanceCallback=function(e){var t=this.callbacks.delete(e);return t?this.logger.verbose("PerformanceClient: Performance callback "+e+" removed."):this.logger.verbose("PerformanceClient: Performance callback "+e+" not removed."),t},e.prototype.emitEvents=function(e,t){var n=this;this.logger.verbose("PerformanceClient: Emitting performance events",t),this.callbacks.forEach((function(r,o){n.logger.trace("PerformanceClient: Emitting event to callback "+o,t),r.apply(null,[e])}))},e.prototype.truncateIntegralFields=function(e,t){t.forEach((function(t){t in e&&"number"===typeof e[t]&&(e[t]=Math.floor(e[t]))}))},e}(),g1=function(){function e(){}return e.prototype.startMeasurement=function(){},e.prototype.endMeasurement=function(){},e.prototype.flushMeasurement=function(){return null},e}(),v1=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return yJ(t,e),t.prototype.generateId=function(){return"callback-id"},t.prototype.startPerformanceMeasuremeant=function(){return new g1},t.prototype.startPerformanceMeasurement=function(){return new g1},t.prototype.calculateQueuedTime=function(e,t){return 0},t.prototype.addQueueMeasurement=function(e,t,n){},t.prototype.setPreQueueTime=function(e,t){},t}(m1),y1={createNewGuid:function(){throw q$.createUnexpectedError("Crypto interface - createNewGuid() has not been implemented")},base64Decode:function(){throw q$.createUnexpectedError("Crypto interface - base64Decode() has not been implemented")},base64Encode:function(){throw q$.createUnexpectedError("Crypto interface - base64Encode() has not been implemented")},generatePkceCodes:function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Crypto interface - generatePkceCodes() has not been implemented",q$.createUnexpectedError("Crypto interface - generatePkceCodes() has not been implemented")}))}))},getPublicKeyThumbprint:function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Crypto interface - getPublicKeyThumbprint() has not been implemented",q$.createUnexpectedError("Crypto interface - getPublicKeyThumbprint() has not been implemented")}))}))},removeTokenBindingKey:function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Crypto interface - removeTokenBindingKey() has not been implemented",q$.createUnexpectedError("Crypto interface - removeTokenBindingKey() has not been implemented")}))}))},clearKeystore:function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Crypto interface - clearKeystore() has not been implemented",q$.createUnexpectedError("Crypto interface - clearKeystore() has not been implemented")}))}))},signJwt:function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Crypto interface - signJwt() has not been implemented",q$.createUnexpectedError("Crypto interface - signJwt() has not been implemented")}))}))},hashString:function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Crypto interface - hashString() has not been implemented",q$.createUnexpectedError("Crypto interface - hashString() has not been implemented")}))}))}},b1=function(){function e(){}return e.prototype.generateAccountId=function(){return e.generateAccountIdForCacheKey(this.homeAccountId,this.environment)},e.prototype.generateCredentialId=function(){return e.generateCredentialIdForCacheKey(this.credentialType,this.clientId,this.realm,this.familyId)},e.prototype.generateTarget=function(){return e.generateTargetForCacheKey(this.target)},e.prototype.generateCredentialKey=function(){return e.generateCredentialCacheKey(this.homeAccountId,this.environment,this.credentialType,this.clientId,this.realm,this.target,this.familyId,this.tokenType,this.requestedClaimsHash)},e.prototype.generateType=function(){switch(this.credentialType){case FJ.ID_TOKEN:return BJ.ID_TOKEN;case FJ.ACCESS_TOKEN:case FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME:return BJ.ACCESS_TOKEN;case FJ.REFRESH_TOKEN:return BJ.REFRESH_TOKEN;default:throw $Z.createUnexpectedCredentialTypeError()}},e.generateCredentialCacheKey=function(e,t,n,r,o,i,a,s,c){return[this.generateAccountIdForCacheKey(e,t),this.generateCredentialIdForCacheKey(n,r,o,a),this.generateTargetForCacheKey(i),this.generateClaimsHashForCacheKey(c),this.generateSchemeForCacheKey(s)].join(OJ.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateAccountIdForCacheKey=function(e,t){return[e,t].join(OJ.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateCredentialIdForCacheKey=function(e,t,n,r){return[e,e===FJ.REFRESH_TOKEN&&r||t,n||IJ.EMPTY_STRING].join(OJ.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateTargetForCacheKey=function(e){return(e||IJ.EMPTY_STRING).toLowerCase()},e.generateClaimsHashForCacheKey=function(e){return(e||IJ.EMPTY_STRING).toLowerCase()},e.generateSchemeForCacheKey=function(e){return e&&e.toLowerCase()!==WJ.BEARER.toLowerCase()?e.toLowerCase():IJ.EMPTY_STRING},e}(),_1=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return yJ(t,e),t.createIdTokenEntity=function(e,n,r,o,i){var a=new t;return a.credentialType=FJ.ID_TOKEN,a.homeAccountId=e,a.environment=n,a.clientId=o,a.secret=r,a.realm=i,a},t.isIdTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===FJ.ID_TOKEN)},t}(b1),C1={code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},w1={code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},E1={code:"claims_request_parsing_error",desc:"Could not parse the given claims request object."},x1={code:"authority_uri_insecure",desc:"Authority URIs must use https.  Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options"},S1={code:"url_parse_error",desc:"URL could not be parsed into appropriate segments."},k1={code:"empty_url_error",desc:"URL was empty or null."},T1={code:"empty_input_scopes_error",desc:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token."},I1={code:"clientid_input_scopes_error",desc:"Client ID can only be provided as a single scope."},A1={code:"invalid_prompt_value",desc:"Supported prompt values are 'login', 'select_account', 'consent', 'create', 'none' and 'no_session'.  Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest"},P1={code:"invalid_claims",desc:"Given claims parameter must be a stringified JSON object."},D1={code:"token_request_empty",desc:"Token request was empty and not found in cache."},R1={code:"logout_request_empty",desc:"The logout request was null or undefined."},M1={code:"invalid_code_challenge_method",desc:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".'},N1={code:"pkce_params_missing",desc:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request"},L1={code:"invalid_cloud_discovery_metadata",desc:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields"},O1={code:"invalid_authority_metadata",desc:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields."},F1={code:"untrusted_authority",desc:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter."},B1={code:"invalid_azure_cloud_instance",desc:"Invalid AzureCloudInstance provided. Please refer MSAL JS docs: aks.ms/msaljs/azure_cloud_instance for valid values"},H1={code:"missing_ssh_jwk",desc:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme."},z1={code:"missing_ssh_kid",desc:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme."},U1={code:"missing_nonce_authentication_header",desc:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce."},V1={code:"invalid_authentication_header",desc:"Invalid authentication header provided"},j1=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="ClientConfigurationError",Object.setPrototypeOf(o,t.prototype),o}return yJ(t,e),t.createRedirectUriEmptyError=function(){return new t(C1.code,C1.desc)},t.createPostLogoutRedirectUriEmptyError=function(){return new t(w1.code,w1.desc)},t.createClaimsRequestParsingError=function(e){return new t(E1.code,E1.desc+" Given value: "+e)},t.createInsecureAuthorityUriError=function(e){return new t(x1.code,x1.desc+" Given URI: "+e)},t.createUrlParseError=function(e){return new t(S1.code,S1.desc+" Given Error: "+e)},t.createUrlEmptyError=function(){return new t(k1.code,k1.desc)},t.createEmptyScopesArrayError=function(){return new t(T1.code,""+T1.desc)},t.createClientIdSingleScopeError=function(e){return new t(I1.code,I1.desc+" Given Scopes: "+e)},t.createInvalidPromptError=function(e){return new t(A1.code,A1.desc+" Given value: "+e)},t.createInvalidClaimsRequestError=function(){return new t(P1.code,P1.desc)},t.createEmptyLogoutRequestError=function(){return new t(R1.code,R1.desc)},t.createEmptyTokenRequestError=function(){return new t(D1.code,D1.desc)},t.createInvalidCodeChallengeMethodError=function(){return new t(M1.code,M1.desc)},t.createInvalidCodeChallengeParamsError=function(){return new t(N1.code,N1.desc)},t.createInvalidCloudDiscoveryMetadataError=function(){return new t(L1.code,L1.desc)},t.createInvalidAuthorityMetadataError=function(){return new t(O1.code,O1.desc)},t.createUntrustedAuthorityError=function(){return new t(F1.code,F1.desc)},t.createInvalidAzureCloudInstanceError=function(){return new t(B1.code,B1.desc)},t.createMissingSshJwkError=function(){return new t(H1.code,H1.desc)},t.createMissingSshKidError=function(){return new t(z1.code,z1.desc)},t.createMissingNonceAuthenticationHeadersError=function(){return new t(U1.code,U1.desc)},t.createInvalidAuthenticationHeaderError=function(e,n){return new t(V1.code,V1.desc+". Invalid header: "+e+". Details: "+n)},t}($Z),q1=function(){function e(e){var t=this,n=e?ZZ.trimArrayEntries(wJ(e)):[],r=n?ZZ.removeEmptyStringsFromArray(n):[];this.validateInputScopes(r),this.scopes=new Set,r.forEach((function(e){return t.scopes.add(e)}))}return e.fromString=function(t){return new e((t||IJ.EMPTY_STRING).split(" "))},e.createSearchScopes=function(t){var n=new e(t);return n.containsOnlyOIDCScopes()?n.removeScope(IJ.OFFLINE_ACCESS_SCOPE):n.removeOIDCScopes(),n},e.prototype.validateInputScopes=function(e){if(!e||e.length<1)throw j1.createEmptyScopesArrayError()},e.prototype.containsScope=function(t){var n=new e(this.printScopesLowerCase().split(" "));return!ZZ.isEmpty(t)&&n.scopes.has(t.toLowerCase())},e.prototype.containsScopeSet=function(e){var t=this;return!(!e||e.scopes.size<=0)&&(this.scopes.size>=e.scopes.size&&e.asArray().every((function(e){return t.containsScope(e)})))},e.prototype.containsOnlyOIDCScopes=function(){var e=this,t=0;return PJ.forEach((function(n){e.containsScope(n)&&(t+=1)})),this.scopes.size===t},e.prototype.appendScope=function(e){ZZ.isEmpty(e)||this.scopes.add(e.trim())},e.prototype.appendScopes=function(e){var t=this;try{e.forEach((function(e){return t.appendScope(e)}))}catch(Ple){throw $Z.createAppendScopeSetError(Ple)}},e.prototype.removeScope=function(e){if(ZZ.isEmpty(e))throw $Z.createRemoveEmptyScopeFromSetError(e);this.scopes.delete(e.trim())},e.prototype.removeOIDCScopes=function(){var e=this;PJ.forEach((function(t){e.scopes.delete(t)}))},e.prototype.unionScopeSets=function(e){if(!e)throw $Z.createEmptyInputScopeSetError();var t=new Set;return e.scopes.forEach((function(e){return t.add(e.toLowerCase())})),this.scopes.forEach((function(e){return t.add(e.toLowerCase())})),t},e.prototype.intersectingScopeSets=function(e){if(!e)throw $Z.createEmptyInputScopeSetError();e.containsOnlyOIDCScopes()||e.removeOIDCScopes();var t=this.unionScopeSets(e),n=e.getScopeCount(),r=this.getScopeCount();return t.size<r+n},e.prototype.getScopeCount=function(){return this.scopes.size},e.prototype.asArray=function(){var e=[];return this.scopes.forEach((function(t){return e.push(t)})),e},e.prototype.printScopes=function(){return this.scopes?this.asArray().join(" "):IJ.EMPTY_STRING},e.prototype.printScopesLowerCase=function(){return this.printScopes().toLowerCase()},e}();function W1(e,t){if(ZZ.isEmpty(e))throw $Z.createClientInfoEmptyError();try{var n=t.base64Decode(e);return JSON.parse(n)}catch(Ple){throw $Z.createClientInfoDecodingError(Ple.message)}}function G1(e){if(ZZ.isEmpty(e))throw $Z.createClientInfoDecodingError("Home account ID was empty.");var t=e.split(OJ.CLIENT_INFO_SEPARATOR,2);return{uid:t[0],utid:t.length<2?IJ.EMPTY_STRING:t[1]}}!function(e){e[e.Default=0]="Default",e[e.Adfs=1]="Adfs",e[e.Dsts=2]="Dsts",e[e.Ciam=3]="Ciam"}(h1||(h1={}));var K1,Y1=function(){function e(){}return e.prototype.generateAccountId=function(){return[this.homeAccountId,this.environment].join(OJ.CACHE_KEY_SEPARATOR).toLowerCase()},e.prototype.generateAccountKey=function(){return e.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})},e.prototype.generateType=function(){switch(this.authorityType){case LJ.ADFS_ACCOUNT_TYPE:return BJ.ADFS;case LJ.MSAV1_ACCOUNT_TYPE:return BJ.MSA;case LJ.MSSTS_ACCOUNT_TYPE:return BJ.MSSTS;case LJ.GENERIC_ACCOUNT_TYPE:return BJ.GENERIC;default:throw $Z.createUnexpectedAccountTypeError()}},e.prototype.getAccountInfo=function(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,idTokenClaims:this.idTokenClaims,nativeAccountId:this.nativeAccountId}},e.generateAccountCacheKey=function(e){return[e.homeAccountId,e.environment||IJ.EMPTY_STRING,e.tenantId||IJ.EMPTY_STRING].join(OJ.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAccount=function(t,n,r,o,i,a,s,c){var l,u,d,p,h,f,m=new e;m.authorityType=LJ.MSSTS_ACCOUNT_TYPE,m.clientInfo=t,m.homeAccountId=n,m.nativeAccountId=c;var g=s||o&&o.getPreferredCache();if(!g)throw $Z.createInvalidCacheEnvironmentError();if(m.environment=g,m.realm=(null===(l=null===r||void 0===r?void 0:r.claims)||void 0===l?void 0:l.tid)||IJ.EMPTY_STRING,r){m.idTokenClaims=r.claims,m.localAccountId=(null===(u=null===r||void 0===r?void 0:r.claims)||void 0===u?void 0:u.oid)||(null===(d=null===r||void 0===r?void 0:r.claims)||void 0===d?void 0:d.sub)||IJ.EMPTY_STRING;var v=null===(p=null===r||void 0===r?void 0:r.claims)||void 0===p?void 0:p.preferred_username,y=(null===(h=null===r||void 0===r?void 0:r.claims)||void 0===h?void 0:h.emails)?r.claims.emails[0]:null;m.username=v||y||IJ.EMPTY_STRING,m.name=null===(f=null===r||void 0===r?void 0:r.claims)||void 0===f?void 0:f.name}return m.cloudGraphHostName=i,m.msGraphHost=a,m},e.createGenericAccount=function(t,n,r,o,i,a){var s,c,l,u,d=new e;d.authorityType=r&&r.authorityType===h1.Adfs?LJ.ADFS_ACCOUNT_TYPE:LJ.GENERIC_ACCOUNT_TYPE,d.homeAccountId=t,d.realm=IJ.EMPTY_STRING;var p=a||r&&r.getPreferredCache();if(!p)throw $Z.createInvalidCacheEnvironmentError();return n&&(d.localAccountId=(null===(s=null===n||void 0===n?void 0:n.claims)||void 0===s?void 0:s.oid)||(null===(c=null===n||void 0===n?void 0:n.claims)||void 0===c?void 0:c.sub)||IJ.EMPTY_STRING,d.username=(null===(l=null===n||void 0===n?void 0:n.claims)||void 0===l?void 0:l.upn)||IJ.EMPTY_STRING,d.name=(null===(u=null===n||void 0===n?void 0:n.claims)||void 0===u?void 0:u.name)||IJ.EMPTY_STRING,d.idTokenClaims=null===n||void 0===n?void 0:n.claims),d.environment=p,d.cloudGraphHostName=o,d.msGraphHost=i,d},e.generateHomeAccountId=function(e,t,n,r,o){var i,a=(null===(i=null===o||void 0===o?void 0:o.claims)||void 0===i?void 0:i.sub)?o.claims.sub:IJ.EMPTY_STRING;if(t===h1.Adfs||t===h1.Dsts)return a;if(e)try{var s=W1(e,r);if(!ZZ.isEmpty(s.uid)&&!ZZ.isEmpty(s.utid))return""+s.uid+OJ.CLIENT_INFO_SEPARATOR+s.utid}catch(Ple){}return n.verbose("No client info in response"),a},e.isAccountEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"))},e.accountInfoIsEqual=function(e,t,n){if(!e||!t)return!1;var r=!0;if(n){var o=e.idTokenClaims||{},i=t.idTokenClaims||{};r=o.iat===i.iat&&o.nonce===i.nonce}return e.homeAccountId===t.homeAccountId&&e.localAccountId===t.localAccountId&&e.username===t.username&&e.tenantId===t.tenantId&&e.environment===t.environment&&e.nativeAccountId===t.nativeAccountId&&r},e}(),Q1=function(){function e(t,n){if(ZZ.isEmpty(t))throw $Z.createTokenNullOrEmptyError(t);this.rawToken=t,this.claims=e.extractTokenClaims(t,n)}return e.extractTokenClaims=function(e,t){var n=ZZ.decodeAuthToken(e);try{var r=n.JWSPayload,o=t.base64Decode(r);return JSON.parse(o)}catch(i){throw $Z.createTokenParsingError(i)}},e.checkMaxAge=function(e,t){if(0===t||Date.now()-3e5>e+t)throw $Z.createMaxAgeTranspiredError()},e}(),X1="@azure/msal-common",J1="13.0.0",$1=function(){function e(e,t,n){this.clientId=e,this.cryptoImpl=t,this.commonLogger=n.clone(X1,J1)}return e.prototype.getAllAccounts=function(){var e=this,t=this.getAccountKeys();if(t.length<1)return[];var n=t.reduce((function(t,n){var r=e.getAccount(n);return r?(t.push(r),t):t}),[]);return n.length<1?[]:n.map((function(t){return e.getAccountInfoFromEntity(t)}))},e.prototype.getAccountInfoFilteredBy=function(e){var t=this.getAccountsFilteredBy(e);return t.length>0?this.getAccountInfoFromEntity(t[0]):null},e.prototype.getAccountInfoFromEntity=function(e){var t=e.getAccountInfo(),n=this.getIdToken(t);return n&&(t.idToken=n.secret,t.idTokenClaims=new Q1(n.secret,this.cryptoImpl).claims),t},e.prototype.saveCacheRecord=function(e){return _J(this,void 0,void 0,(function(){return CJ(this,(function(t){switch(t.label){case 0:if(!e)throw $Z.createNullOrUndefinedCacheRecord();return e.account&&this.setAccount(e.account),e.idToken&&this.setIdTokenCredential(e.idToken),e.accessToken?[4,this.saveAccessToken(e.accessToken)]:[3,2];case 1:t.sent(),t.label=2;case 2:return e.refreshToken&&this.setRefreshTokenCredential(e.refreshToken),e.appMetadata&&this.setAppMetadata(e.appMetadata),[2]}}))}))},e.prototype.saveAccessToken=function(e){return _J(this,void 0,void 0,(function(){var t,n,r,o,i=this;return CJ(this,(function(a){switch(a.label){case 0:return t={clientId:e.clientId,credentialType:e.credentialType,environment:e.environment,homeAccountId:e.homeAccountId,realm:e.realm,tokenType:e.tokenType,requestedClaimsHash:e.requestedClaimsHash},n=this.getTokenKeys(),r=q1.fromString(e.target),o=[],n.accessToken.forEach((function(e){if(i.accessTokenKeyMatchesFilter(e,t,!1)){var n=i.getAccessTokenCredential(e);if(n&&i.credentialMatchesFilter(n,t))q1.fromString(n.target).intersectingScopeSets(r)&&o.push(i.removeAccessToken(e))}})),[4,Promise.all(o)];case 1:return a.sent(),this.setAccessTokenCredential(e),[2]}}))}))},e.prototype.getAccountsFilteredBy=function(e){var t=this,n=this.getAccountKeys(),r=[];return n.forEach((function(n){if(t.isAccountKey(n,e.homeAccountId,e.realm)){var o=t.getAccount(n);o&&(e.homeAccountId&&!t.matchHomeAccountId(o,e.homeAccountId)||e.localAccountId&&!t.matchLocalAccountId(o,e.localAccountId)||e.username&&!t.matchUsername(o,e.username)||e.environment&&!t.matchEnvironment(o,e.environment)||e.realm&&!t.matchRealm(o,e.realm)||e.nativeAccountId&&!t.matchNativeAccountId(o,e.nativeAccountId)||r.push(o))}})),r},e.prototype.isAccountKey=function(e,t,n){return!(e.split(OJ.CACHE_KEY_SEPARATOR).length<3)&&(!(t&&!e.toLowerCase().includes(t.toLowerCase()))&&!(n&&!e.toLowerCase().includes(n.toLowerCase())))},e.prototype.isCredentialKey=function(e){if(e.split(OJ.CACHE_KEY_SEPARATOR).length<6)return!1;var t=e.toLowerCase();if(-1===t.indexOf(FJ.ID_TOKEN.toLowerCase())&&-1===t.indexOf(FJ.ACCESS_TOKEN.toLowerCase())&&-1===t.indexOf(FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===t.indexOf(FJ.REFRESH_TOKEN.toLowerCase()))return!1;if(t.indexOf(FJ.REFRESH_TOKEN.toLowerCase())>-1){var n=""+FJ.REFRESH_TOKEN+OJ.CACHE_KEY_SEPARATOR+this.clientId+OJ.CACHE_KEY_SEPARATOR,r=""+FJ.REFRESH_TOKEN+OJ.CACHE_KEY_SEPARATOR+VJ+OJ.CACHE_KEY_SEPARATOR;if(-1===t.indexOf(n.toLowerCase())&&-1===t.indexOf(r.toLowerCase()))return!1}else if(-1===t.indexOf(this.clientId.toLowerCase()))return!1;return!0},e.prototype.credentialMatchesFilter=function(e,t){if(t.clientId&&!this.matchClientId(e,t.clientId))return!1;if(t.userAssertionHash&&!this.matchUserAssertionHash(e,t.userAssertionHash))return!1;if("string"===typeof t.homeAccountId&&!this.matchHomeAccountId(e,t.homeAccountId))return!1;if(t.environment&&!this.matchEnvironment(e,t.environment))return!1;if(t.realm&&!this.matchRealm(e,t.realm))return!1;if(t.credentialType&&!this.matchCredentialType(e,t.credentialType))return!1;if(t.familyId&&!this.matchFamilyId(e,t.familyId))return!1;if(t.target&&!this.matchTarget(e,t.target))return!1;if((t.requestedClaimsHash||e.requestedClaimsHash)&&e.requestedClaimsHash!==t.requestedClaimsHash)return!1;if(e.credentialType===FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME){if(t.tokenType&&!this.matchTokenType(e,t.tokenType))return!1;if(t.tokenType===WJ.SSH&&t.keyId&&!this.matchKeyId(e,t.keyId))return!1}return!0},e.prototype.getAppMetadataFilteredBy=function(e){return this.getAppMetadataFilteredByInternal(e.environment,e.clientId)},e.prototype.getAppMetadataFilteredByInternal=function(e,t){var n=this,r=this.getKeys(),o={};return r.forEach((function(r){if(n.isAppMetadata(r)){var i=n.getAppMetadata(r);i&&(e&&!n.matchEnvironment(i,e)||t&&!n.matchClientId(i,t)||(o[r]=i))}})),o},e.prototype.getAuthorityMetadataByAlias=function(e){var t=this,n=this.getAuthorityMetadataKeys(),r=null;return n.forEach((function(n){if(t.isAuthorityMetadata(n)&&-1!==n.indexOf(t.clientId)){var o=t.getAuthorityMetadata(n);o&&-1!==o.aliases.indexOf(e)&&(r=o)}})),r},e.prototype.removeAllAccounts=function(){return _J(this,void 0,void 0,(function(){var e,t,n=this;return CJ(this,(function(r){switch(r.label){case 0:return e=this.getAccountKeys(),t=[],e.forEach((function(e){t.push(n.removeAccount(e))})),[4,Promise.all(t)];case 1:return r.sent(),[2]}}))}))},e.prototype.removeAccount=function(e){return _J(this,void 0,void 0,(function(){var t;return CJ(this,(function(n){switch(n.label){case 0:if(!(t=this.getAccount(e)))throw $Z.createNoAccountFoundError();return[4,this.removeAccountContext(t)];case 1:return n.sent(),this.removeItem(e),[2]}}))}))},e.prototype.removeAccountContext=function(e){return _J(this,void 0,void 0,(function(){var t,n,r,o=this;return CJ(this,(function(i){switch(i.label){case 0:return t=this.getTokenKeys(),n=e.generateAccountId(),r=[],t.idToken.forEach((function(e){0===e.indexOf(n)&&o.removeIdToken(e)})),t.accessToken.forEach((function(e){0===e.indexOf(n)&&r.push(o.removeAccessToken(e))})),t.refreshToken.forEach((function(e){0===e.indexOf(n)&&o.removeRefreshToken(e)})),[4,Promise.all(r)];case 1:return i.sent(),[2]}}))}))},e.prototype.removeAccessToken=function(e){return _J(this,void 0,void 0,(function(){var t,n;return CJ(this,(function(r){switch(r.label){case 0:if(!(t=this.getAccessTokenCredential(e)))return[2];if(t.credentialType.toLowerCase()!==FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())return[3,4];if(t.tokenType!==WJ.POP)return[3,4];if(!(n=t.keyId))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.cryptoImpl.removeTokenBindingKey(n)];case 2:return r.sent(),[3,4];case 3:throw r.sent(),$Z.createBindingKeyNotRemovedError();case 4:return[2,this.removeItem(e)]}}))}))},e.prototype.removeAppMetadata=function(){var e=this;return this.getKeys().forEach((function(t){e.isAppMetadata(t)&&e.removeItem(t)})),!0},e.prototype.readCacheRecord=function(e,t,n){var r=this.getTokenKeys(),o=this.readAccountFromCache(e),i=this.getIdToken(e,r),a=this.getAccessToken(e,t,r),s=this.getRefreshToken(e,!1,r),c=this.readAppMetadataFromCache(n);return o&&i&&(o.idTokenClaims=new Q1(i.secret,this.cryptoImpl).claims),{account:o,idToken:i,accessToken:a,refreshToken:s,appMetadata:c}},e.prototype.readAccountFromCache=function(e){var t=Y1.generateAccountCacheKey(e);return this.getAccount(t)},e.prototype.getIdToken=function(e,t){this.commonLogger.trace("CacheManager - getIdToken called");var n={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:FJ.ID_TOKEN,clientId:this.clientId,realm:e.tenantId},r=this.getIdTokensByFilter(n,t),o=r.length;if(o<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(o>1)throw $Z.createMultipleMatchingTokensInCacheError();return this.commonLogger.info("CacheManager:getIdToken - Returning id token"),r[0]},e.prototype.getIdTokensByFilter=function(e,t){var n=this,r=t&&t.idToken||this.getTokenKeys().idToken,o=[];return r.forEach((function(t){if(n.idTokenKeyMatchesFilter(t,bJ({clientId:n.clientId},e))){var r=n.getIdTokenCredential(t);r&&n.credentialMatchesFilter(r,e)&&o.push(r)}})),o},e.prototype.idTokenKeyMatchesFilter=function(e,t){var n=e.toLowerCase();return(!t.clientId||-1!==n.indexOf(t.clientId.toLowerCase()))&&(!t.homeAccountId||-1!==n.indexOf(t.homeAccountId.toLowerCase()))},e.prototype.removeIdToken=function(e){this.removeItem(e)},e.prototype.removeRefreshToken=function(e){this.removeItem(e)},e.prototype.getAccessToken=function(e,t,n){var r=this;this.commonLogger.trace("CacheManager - getAccessToken called");var o=q1.createSearchScopes(t.scopes),i=t.authenticationScheme||WJ.BEARER,a=i&&i.toLowerCase()!==WJ.BEARER.toLowerCase()?FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME:FJ.ACCESS_TOKEN,s={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:a,clientId:this.clientId,realm:e.tenantId,target:o,tokenType:i,keyId:t.sshKid,requestedClaimsHash:t.requestedClaimsHash},c=n&&n.accessToken||this.getTokenKeys().accessToken,l=[];c.forEach((function(e){if(r.accessTokenKeyMatchesFilter(e,s,!0)){var t=r.getAccessTokenCredential(e);t&&r.credentialMatchesFilter(t,s)&&l.push(t)}}));var u=l.length;if(u<1)return this.commonLogger.info("CacheManager:getAccessToken - No token found"),null;if(u>1)throw $Z.createMultipleMatchingTokensInCacheError();return this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),l[0]},e.prototype.accessTokenKeyMatchesFilter=function(e,t,n){var r=e.toLowerCase();if(t.clientId&&-1===r.indexOf(t.clientId.toLowerCase()))return!1;if(t.homeAccountId&&-1===r.indexOf(t.homeAccountId.toLowerCase()))return!1;if(t.realm&&-1===r.indexOf(t.realm.toLowerCase()))return!1;if(t.requestedClaimsHash&&-1===r.indexOf(t.requestedClaimsHash.toLowerCase()))return!1;if(t.target)for(var o=t.target.asArray(),i=0;i<o.length;i++){if(n&&!r.includes(o[i].toLowerCase()))return!1;if(!n&&r.includes(o[i].toLowerCase()))return!0}return!0},e.prototype.getAccessTokensByFilter=function(e){var t=this,n=this.getTokenKeys(),r=[];return n.accessToken.forEach((function(n){if(t.accessTokenKeyMatchesFilter(n,e,!0)){var o=t.getAccessTokenCredential(n);o&&t.credentialMatchesFilter(o,e)&&r.push(o)}})),r},e.prototype.getRefreshToken=function(e,t,n){var r=this;this.commonLogger.trace("CacheManager - getRefreshToken called");var o=t?VJ:void 0,i={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:FJ.REFRESH_TOKEN,clientId:this.clientId,familyId:o},a=n&&n.refreshToken||this.getTokenKeys().refreshToken,s=[];return a.forEach((function(e){if(r.refreshTokenKeyMatchesFilter(e,i)){var t=r.getRefreshTokenCredential(e);t&&r.credentialMatchesFilter(t,i)&&s.push(t)}})),s.length<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),s[0])},e.prototype.refreshTokenKeyMatchesFilter=function(e,t){var n=e.toLowerCase();return(!t.familyId||-1!==n.indexOf(t.familyId.toLowerCase()))&&(!(!t.familyId&&t.clientId&&-1===n.indexOf(t.clientId.toLowerCase()))&&(!t.homeAccountId||-1!==n.indexOf(t.homeAccountId.toLowerCase())))},e.prototype.readAppMetadataFromCache=function(e){var t={environment:e,clientId:this.clientId},n=this.getAppMetadataFilteredBy(t),r=Object.keys(n).map((function(e){return n[e]})),o=r.length;if(o<1)return null;if(o>1)throw $Z.createMultipleMatchingAppMetadataInCacheError();return r[0]},e.prototype.isAppMetadataFOCI=function(e){var t=this.readAppMetadataFromCache(e);return!(!t||t.familyId!==VJ)},e.prototype.matchHomeAccountId=function(e,t){return!("string"!==typeof e.homeAccountId||t!==e.homeAccountId)},e.prototype.matchLocalAccountId=function(e,t){return!("string"!==typeof e.localAccountId||t!==e.localAccountId)},e.prototype.matchUsername=function(e,t){return!("string"!==typeof e.username||t.toLowerCase()!==e.username.toLowerCase())},e.prototype.matchUserAssertionHash=function(e,t){return!(!e.userAssertionHash||t!==e.userAssertionHash)},e.prototype.matchEnvironment=function(e,t){var n=this.getAuthorityMetadataByAlias(t);return!!(n&&n.aliases.indexOf(e.environment)>-1)},e.prototype.matchCredentialType=function(e,t){return e.credentialType&&t.toLowerCase()===e.credentialType.toLowerCase()},e.prototype.matchClientId=function(e,t){return!(!e.clientId||t!==e.clientId)},e.prototype.matchFamilyId=function(e,t){return!(!e.familyId||t!==e.familyId)},e.prototype.matchRealm=function(e,t){return!(!e.realm||t!==e.realm)},e.prototype.matchNativeAccountId=function(e,t){return!(!e.nativeAccountId||t!==e.nativeAccountId)},e.prototype.matchTarget=function(e,t){return!(e.credentialType!==FJ.ACCESS_TOKEN&&e.credentialType!==FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME||!e.target)&&q1.fromString(e.target).containsScopeSet(t)},e.prototype.matchTokenType=function(e,t){return!(!e.tokenType||e.tokenType!==t)},e.prototype.matchKeyId=function(e,t){return!(!e.keyId||e.keyId!==t)},e.prototype.isAppMetadata=function(e){return-1!==e.indexOf(UJ)},e.prototype.isAuthorityMetadata=function(e){return-1!==e.indexOf(jJ)},e.prototype.generateAuthorityMetadataCacheKey=function(e){return jJ+"-"+this.clientId+"-"+e},e.toObject=function(e,t){for(var n in t)e[n]=t[n];return e},e}(),Z1=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return yJ(t,e),t.prototype.setAccount=function(){throw q$.createUnexpectedError("Storage interface - setAccount() has not been implemented for the cacheStorage interface.")},t.prototype.getAccount=function(){throw q$.createUnexpectedError("Storage interface - getAccount() has not been implemented for the cacheStorage interface.")},t.prototype.setIdTokenCredential=function(){throw q$.createUnexpectedError("Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getIdTokenCredential=function(){throw q$.createUnexpectedError("Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAccessTokenCredential=function(){throw q$.createUnexpectedError("Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getAccessTokenCredential=function(){throw q$.createUnexpectedError("Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setRefreshTokenCredential=function(){throw q$.createUnexpectedError("Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getRefreshTokenCredential=function(){throw q$.createUnexpectedError("Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAppMetadata=function(){throw q$.createUnexpectedError("Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAppMetadata=function(){throw q$.createUnexpectedError("Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.setServerTelemetry=function(){throw q$.createUnexpectedError("Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.getServerTelemetry=function(){throw q$.createUnexpectedError("Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.setAuthorityMetadata=function(){throw q$.createUnexpectedError("Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadata=function(){throw q$.createUnexpectedError("Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadataKeys=function(){throw q$.createUnexpectedError("Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.")},t.prototype.setThrottlingCache=function(){throw q$.createUnexpectedError("Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.getThrottlingCache=function(){throw q$.createUnexpectedError("Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.removeItem=function(){throw q$.createUnexpectedError("Storage interface - removeItem() has not been implemented for the cacheStorage interface.")},t.prototype.containsKey=function(){throw q$.createUnexpectedError("Storage interface - containsKey() has not been implemented for the cacheStorage interface.")},t.prototype.getKeys=function(){throw q$.createUnexpectedError("Storage interface - getKeys() has not been implemented for the cacheStorage interface.")},t.prototype.getAccountKeys=function(){throw q$.createUnexpectedError("Storage interface - getAccountKeys() has not been implemented for the cacheStorage interface.")},t.prototype.getTokenKeys=function(){throw q$.createUnexpectedError("Storage interface - getTokenKeys() has not been implemented for the cacheStorage interface.")},t.prototype.clear=function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Storage interface - clear() has not been implemented for the cacheStorage interface.",q$.createUnexpectedError("Storage interface - clear() has not been implemented for the cacheStorage interface.")}))}))},t.prototype.updateCredentialCacheKey=function(){throw q$.createUnexpectedError("Storage interface - updateCredentialCacheKey() has not been implemented for the cacheStorage interface.")},t}($1),e2=function(){function e(){}return e.nowSeconds=function(){return Math.round((new Date).getTime()/1e3)},e.isTokenExpired=function(t,n){var r=Number(t)||0;return e.nowSeconds()+n>r},e.wasClockTurnedBack=function(t){return Number(t)>e.nowSeconds()},e.delay=function(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))},e}(),t2=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return yJ(t,e),t.createAccessTokenEntity=function(e,n,r,o,i,a,s,c,l,u,d,p,h,f,m){var g,v,y=new t;y.homeAccountId=e,y.credentialType=FJ.ACCESS_TOKEN,y.secret=r;var b=e2.nowSeconds();if(y.cachedAt=b.toString(),y.expiresOn=s.toString(),y.extendedExpiresOn=c.toString(),u&&(y.refreshOn=u.toString()),y.environment=n,y.clientId=o,y.realm=i,y.target=a,y.userAssertionHash=p,y.tokenType=ZZ.isEmpty(d)?WJ.BEARER:d,f&&(y.requestedClaims=f,y.requestedClaimsHash=m),(null===(g=y.tokenType)||void 0===g?void 0:g.toLowerCase())!==WJ.BEARER.toLowerCase())switch(y.credentialType=FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME,y.tokenType){case WJ.POP:var _=Q1.extractTokenClaims(r,l);if(!(null===(v=null===_||void 0===_?void 0:_.cnf)||void 0===v?void 0:v.kid))throw $Z.createTokenClaimsRequiredError();y.keyId=_.cnf.kid;break;case WJ.SSH:y.keyId=h}return y},t.isAccessTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.hasOwnProperty("target")&&(e.credentialType===FJ.ACCESS_TOKEN||e.credentialType===FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME))},t}(b1),n2=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return yJ(t,e),t.createRefreshTokenEntity=function(e,n,r,o,i,a){var s=new t;return s.clientId=o,s.credentialType=FJ.REFRESH_TOKEN,s.environment=n,s.homeAccountId=e,s.secret=r,s.userAssertionHash=a,i&&(s.familyId=i),s},t.isRefreshTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===FJ.REFRESH_TOKEN)},t}(b1),r2=function(){function e(){}return e.prototype.generateAppMetadataKey=function(){return e.generateAppMetadataCacheKey(this.environment,this.clientId)},e.generateAppMetadataCacheKey=function(e,t){return[UJ,e,t].join(OJ.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAppMetadataEntity=function(t,n,r){var o=new e;return o.clientId=t,o.environment=n,r&&(o.familyId=r),o},e.isAppMetadataEntity=function(e,t){return!!t&&(0===e.indexOf(UJ)&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment"))},e}(),o2=function(){function e(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return e.isServerTelemetryEntity=function(e,t){var n=0===e.indexOf(GJ.CACHE_KEY),r=!0;return t&&(r=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),n&&r},e}(),i2=function(){function e(){this.expiresAt=e2.nowSeconds()+qJ}return e.prototype.updateCloudDiscoveryMetadata=function(e,t){this.aliases=e.aliases,this.preferred_cache=e.preferred_cache,this.preferred_network=e.preferred_network,this.aliasesFromNetwork=t},e.prototype.updateEndpointMetadata=function(e,t){this.authorization_endpoint=e.authorization_endpoint,this.token_endpoint=e.token_endpoint,this.end_session_endpoint=e.end_session_endpoint,this.issuer=e.issuer,this.endpointsFromNetwork=t,this.jwks_uri=e.jwks_uri},e.prototype.updateCanonicalAuthority=function(e){this.canonical_authority=e},e.prototype.resetExpiresAt=function(){this.expiresAt=e2.nowSeconds()+qJ},e.prototype.isExpired=function(){return this.expiresAt<=e2.nowSeconds()},e.isAuthorityMetadataEntity=function(e,t){return!!t&&(0===e.indexOf(jJ)&&t.hasOwnProperty("aliases")&&t.hasOwnProperty("preferred_cache")&&t.hasOwnProperty("preferred_network")&&t.hasOwnProperty("canonical_authority")&&t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("aliasesFromNetwork")&&t.hasOwnProperty("endpointsFromNetwork")&&t.hasOwnProperty("expiresAt")&&t.hasOwnProperty("jwks_uri"))},e}(),a2=function(){function e(){}return e.isThrottlingEntity=function(e,t){var n=!1;e&&(n=0===e.indexOf(t$));var r=!0;return t&&(r=t.hasOwnProperty("throttleTime")),n&&r},e}(),s2=function(){function e(){}return e.setRequestState=function(t,n,r){var o=e.generateLibraryState(t,r);return ZZ.isEmpty(n)?o:""+o+IJ.RESOURCE_DELIM+n},e.generateLibraryState=function(e,t){if(!e)throw $Z.createNoCryptoObjectError("generateLibraryState");var n={id:e.createNewGuid()};t&&(n.meta=t);var r=JSON.stringify(n);return e.base64Encode(r)},e.parseRequestState=function(e,t){if(!e)throw $Z.createNoCryptoObjectError("parseRequestState");if(ZZ.isEmpty(t))throw $Z.createInvalidStateError(t,"Null, undefined or empty state");try{var n=t.split(IJ.RESOURCE_DELIM),r=n[0],o=n.length>1?n.slice(1).join(IJ.RESOURCE_DELIM):IJ.EMPTY_STRING,i=e.base64Decode(r),a=JSON.parse(i);return{userRequestState:ZZ.isEmpty(o)?IJ.EMPTY_STRING:o,libraryState:a}}catch(Ple){throw $Z.createInvalidStateError(t,Ple)}},e}();!function(e){e.HOME_ACCOUNT_ID="home_account_id",e.UPN="UPN"}(K1||(K1={}));var c2,l2,u2=function(){function e(e){this.validateWindowStorage(e),this.windowStorage=window[e]}return e.prototype.validateWindowStorage=function(e){if(e!==a$.LocalStorage&&e!==a$.SessionStorage)throw r1.createStorageNotSupportedError(e);if(!!!window[e])throw r1.createStorageNotSupportedError(e)},e.prototype.getItem=function(e){return this.windowStorage.getItem(e)},e.prototype.setItem=function(e,t){this.windowStorage.setItem(e,t)},e.prototype.removeItem=function(e){this.windowStorage.removeItem(e)},e.prototype.getKeys=function(){return Object.keys(this.windowStorage)},e.prototype.containsKey=function(e){return this.windowStorage.hasOwnProperty(e)},e}(),d2=function(){function e(t){if(this._urlString=t,ZZ.isEmpty(this._urlString))throw j1.createUrlEmptyError();ZZ.isEmpty(this.getHash())&&(this._urlString=e.canonicalizeUri(t))}return Object.defineProperty(e.prototype,"urlString",{get:function(){return this._urlString},enumerable:!1,configurable:!0}),e.canonicalizeUri=function(e){if(e){var t=e.toLowerCase();return ZZ.endsWith(t,"?")?t=t.slice(0,-1):ZZ.endsWith(t,"?/")&&(t=t.slice(0,-2)),ZZ.endsWith(t,"/")||(t+="/"),t}return e},e.prototype.validateAsUri=function(){var e;try{e=this.getUrlComponents()}catch(Ple){throw j1.createUrlParseError(Ple)}if(!e.HostNameAndPort||!e.PathSegments)throw j1.createUrlParseError("Given url string: "+this.urlString);if(!e.Protocol||"https:"!==e.Protocol.toLowerCase())throw j1.createInsecureAuthorityUriError(this.urlString)},e.appendQueryString=function(e,t){return ZZ.isEmpty(t)?e:e.indexOf("?")<0?e+"?"+t:e+"&"+t},e.removeHashFromUrl=function(t){return e.canonicalizeUri(t.split("#")[0])},e.prototype.replaceTenantPath=function(t){var n=this.getUrlComponents(),r=n.PathSegments;return!t||0===r.length||r[0]!==SJ.COMMON&&r[0]!==SJ.ORGANIZATIONS||(r[0]=t),e.constructAuthorityUriFromObject(n)},e.prototype.getHash=function(){return e.parseHash(this.urlString)},e.prototype.getUrlComponents=function(){var e=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),t=this.urlString.match(e);if(!t)throw j1.createUrlParseError("Given url string: "+this.urlString);var n={Protocol:t[1],HostNameAndPort:t[4],AbsolutePath:t[5],QueryString:t[7]},r=n.AbsolutePath.split("/");return r=r.filter((function(e){return e&&e.length>0})),n.PathSegments=r,!ZZ.isEmpty(n.QueryString)&&n.QueryString.endsWith("/")&&(n.QueryString=n.QueryString.substring(0,n.QueryString.length-1)),n},e.getDomainFromUrl=function(e){var t=RegExp("^([^:/?#]+://)?([^/?#]*)"),n=e.match(t);if(!n)throw j1.createUrlParseError("Given url string: "+e);return n[2]},e.getAbsoluteUrl=function(t,n){if(t[0]===IJ.FORWARD_SLASH){var r=new e(n).getUrlComponents();return r.Protocol+"//"+r.HostNameAndPort+t}return t},e.parseHash=function(e){var t=e.indexOf("#"),n=e.indexOf("#/");return n>-1?e.substring(n+2):t>-1?e.substring(t+1):IJ.EMPTY_STRING},e.parseQueryString=function(e){var t=e.indexOf("?"),n=e.indexOf("/?");return n>-1?e.substring(n+2):t>-1?e.substring(t+1):IJ.EMPTY_STRING},e.constructAuthorityUriFromObject=function(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))},e.getDeserializedHash=function(t){if(ZZ.isEmpty(t))return{};var n=e.parseHash(t),r=ZZ.queryStringToObject(ZZ.isEmpty(n)?t:n);if(!r)throw $Z.createHashNotDeserializedError(JSON.stringify(r));return r},e.getDeserializedQueryString=function(t){if(ZZ.isEmpty(t))return{};var n=e.parseQueryString(t),r=ZZ.queryStringToObject(ZZ.isEmpty(n)?t:n);if(!r)throw $Z.createHashNotDeserializedError(JSON.stringify(r));return r},e.hashContainsKnownProperties=function(t){if(ZZ.isEmpty(t)||t.indexOf("=")<0)return!1;var n=e.getDeserializedHash(t);return!!(n.code||n.error_description||n.error||n.state)},e}(),p2=function(){function e(){}return e.extractBrowserRequestState=function(e,t){if(ZZ.isEmpty(t))return null;try{return s2.parseRequestState(e,t).libraryState.meta}catch(Ple){throw $Z.createInvalidStateError(t,Ple)}},e.parseServerResponseFromHash=function(e){if(!e)return{};var t=new d2(e);return d2.getDeserializedHash(t.getHash())},e}(),h2=function(e){function t(t,n,r,o){var i=e.call(this,t,r,o)||this;return i.COOKIE_LIFE_MULTIPLIER=864e5,i.cacheConfig=n,i.logger=o,i.internalStorage=new c1,i.browserStorage=i.setupBrowserStorage(i.cacheConfig.cacheLocation),i.temporaryCacheStorage=i.setupTemporaryCacheStorage(i.cacheConfig.temporaryCacheLocation,i.cacheConfig.cacheLocation),n.cacheMigrationEnabled&&(i.migrateCacheEntries(),i.createKeyMaps()),i}return D$(t,e),t.prototype.setupBrowserStorage=function(e){switch(e){case a$.LocalStorage:case a$.SessionStorage:try{return new u2(e)}catch(Ple){this.logger.verbose(Ple);break}}return this.cacheConfig.cacheLocation=a$.MemoryStorage,new c1},t.prototype.setupTemporaryCacheStorage=function(e,t){switch(t){case a$.LocalStorage:case a$.SessionStorage:try{return new u2(e||a$.SessionStorage)}catch(Ple){return this.logger.verbose(Ple),this.internalStorage}case a$.MemoryStorage:default:return this.internalStorage}},t.prototype.migrateCacheEntries=function(){var e=this,t=IJ.CACHE_PREFIX+"."+xJ.ID_TOKEN,n=IJ.CACHE_PREFIX+"."+xJ.CLIENT_INFO,r=IJ.CACHE_PREFIX+"."+xJ.ERROR,o=IJ.CACHE_PREFIX+"."+xJ.ERROR_DESC,i=[this.browserStorage.getItem(t),this.browserStorage.getItem(n),this.browserStorage.getItem(r),this.browserStorage.getItem(o)];[xJ.ID_TOKEN,xJ.CLIENT_INFO,xJ.ERROR,xJ.ERROR_DESC].forEach((function(t,n){return e.migrateCacheEntry(t,i[n])}))},t.prototype.migrateCacheEntry=function(e,t){t&&this.setTemporaryCache(e,t,!0)},t.prototype.createKeyMaps=function(){var e=this;this.logger.trace("BrowserCacheManager - createKeyMaps called.");var t=this.getItem(l$.ACCOUNT_KEYS),n=this.getItem(l$.TOKEN_KEYS+"."+this.clientId);t&&n?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach((function(t){var n;if(e.isCredentialKey(t)&&(n=e.getItem(t))){var r=e.validateAndParseJson(n);if(r&&r.hasOwnProperty("credentialType"))switch(r.credentialType){case FJ.ID_TOKEN:if(_1.isIdTokenEntity(r)){e.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),e.logger.tracePii("BrowserCacheManager:createKeyMaps - idToken with key: "+t+" found, saving key to token key map");var o=$1.toObject(new _1,r),i=e.updateCredentialCacheKey(t,o);return void e.addTokenKey(i,FJ.ID_TOKEN)}e.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),e.logger.tracePii("BrowserCacheManager:createKeyMaps - failed idToken validation on key: "+t);break;case FJ.ACCESS_TOKEN:case FJ.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(t2.isAccessTokenEntity(r)){e.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),e.logger.tracePii("BrowserCacheManager:createKeyMaps - accessToken with key: "+t+" found, saving key to token key map");var a=$1.toObject(new t2,r);i=e.updateCredentialCacheKey(t,a);return void e.addTokenKey(i,FJ.ACCESS_TOKEN)}e.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),e.logger.tracePii("BrowserCacheManager:createKeyMaps - failed accessToken validation on key: "+t);break;case FJ.REFRESH_TOKEN:if(n2.isRefreshTokenEntity(r)){e.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),e.logger.tracePii("BrowserCacheManager:createKeyMaps - refreshToken with key: "+t+" found, saving key to token key map");var s=$1.toObject(new n2,r);i=e.updateCredentialCacheKey(t,s);return void e.addTokenKey(i,FJ.REFRESH_TOKEN)}e.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),e.logger.tracePii("BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: "+t)}}if(e.isAccountKey(t)&&(n=e.getItem(t))){var c=e.validateAndParseJson(n);c&&Y1.isAccountEntity(c)&&(e.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),e.logger.tracePii("BrowserCacheManager:createKeyMaps - account with key: "+t+" found, saving key to account key map"),e.addAccountKeyToMap(t))}}))},t.prototype.validateAndParseJson=function(e){try{var t=JSON.parse(e);return t&&"object"===typeof t?t:null}catch(n){return null}},t.prototype.getItem=function(e){return this.browserStorage.getItem(e)},t.prototype.setItem=function(e,t){this.browserStorage.setItem(e,t)},t.prototype.getAccount=function(e){this.logger.trace("BrowserCacheManager.getAccount called");var t=this.getItem(e);if(!t)return this.removeAccountKeyFromMap(e),null;var n=this.validateAndParseJson(t);return n&&Y1.isAccountEntity(n)?$1.toObject(new Y1,n):(this.removeAccountKeyFromMap(e),null)},t.prototype.setAccount=function(e){this.logger.trace("BrowserCacheManager.setAccount called");var t=e.generateAccountKey();this.setItem(t,JSON.stringify(e)),this.addAccountKeyToMap(t)},t.prototype.getAccountKeys=function(){this.logger.trace("BrowserCacheManager.getAccountKeys called");var e=this.getItem(l$.ACCOUNT_KEYS);return e?JSON.parse(e):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])},t.prototype.addAccountKeyToMap=function(e){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii("BrowserCacheManager.addAccountKeyToMap called with key: "+e);var t=this.getAccountKeys();-1===t.indexOf(e)?(t.push(e),this.setItem(l$.ACCOUNT_KEYS,JSON.stringify(t)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")},t.prototype.removeAccountKeyFromMap=function(e){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii("BrowserCacheManager.removeAccountKeyFromMap called with key: "+e);var t=this.getAccountKeys(),n=t.indexOf(e);n>-1?(t.splice(n,1),this.setItem(l$.ACCOUNT_KEYS,JSON.stringify(t)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")},t.prototype.removeAccount=function(t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return e.prototype.removeAccount.call(this,t),this.removeAccountKeyFromMap(t),[2]}))}))},t.prototype.removeIdToken=function(t){e.prototype.removeIdToken.call(this,t),this.removeTokenKey(t,FJ.ID_TOKEN)},t.prototype.removeAccessToken=function(t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return e.prototype.removeAccessToken.call(this,t),this.removeTokenKey(t,FJ.ACCESS_TOKEN),[2]}))}))},t.prototype.removeRefreshToken=function(t){e.prototype.removeRefreshToken.call(this,t),this.removeTokenKey(t,FJ.REFRESH_TOKEN)},t.prototype.getTokenKeys=function(){this.logger.trace("BrowserCacheManager.getTokenKeys called");var e=this.getItem(l$.TOKEN_KEYS+"."+this.clientId);if(e){var t=this.validateAndParseJson(e);if(t&&t.hasOwnProperty("idToken")&&t.hasOwnProperty("accessToken")&&t.hasOwnProperty("refreshToken"))return t;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}},t.prototype.addTokenKey=function(e,t){this.logger.trace("BrowserCacheManager addTokenKey called");var n=this.getTokenKeys();switch(t){case FJ.ID_TOKEN:-1===n.idToken.indexOf(e)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),n.idToken.push(e));break;case FJ.ACCESS_TOKEN:-1===n.accessToken.indexOf(e)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),n.accessToken.push(e));break;case FJ.REFRESH_TOKEN:-1===n.refreshToken.indexOf(e)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),n.refreshToken.push(e));break;default:this.logger.error("BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: "+t),$Z.createUnexpectedCredentialTypeError()}this.setItem(l$.TOKEN_KEYS+"."+this.clientId,JSON.stringify(n))},t.prototype.removeTokenKey=function(e,t){this.logger.trace("BrowserCacheManager removeTokenKey called");var n=this.getTokenKeys();switch(t){case FJ.ID_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: "+e+" from map");var r=n.idToken.indexOf(e);r>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),n.idToken.splice(r,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case FJ.ACCESS_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: "+e+" from map");var o=n.accessToken.indexOf(e);o>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),n.accessToken.splice(o,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case FJ.REFRESH_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: "+e+" from map");var i=n.refreshToken.indexOf(e);i>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),n.refreshToken.splice(i,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:this.logger.error("BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: "+t),$Z.createUnexpectedCredentialTypeError()}this.setItem(l$.TOKEN_KEYS+"."+this.clientId,JSON.stringify(n))},t.prototype.getIdTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(e,FJ.ID_TOKEN),null;var n=this.validateAndParseJson(t);return n&&_1.isIdTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),$1.toObject(new _1,n)):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(e,FJ.ID_TOKEN),null)},t.prototype.setIdTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e)),this.addTokenKey(t,FJ.ID_TOKEN)},t.prototype.getAccessTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(e,FJ.ACCESS_TOKEN),null;var n=this.validateAndParseJson(t);return n&&t2.isAccessTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),$1.toObject(new t2,n)):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(e,FJ.ACCESS_TOKEN),null)},t.prototype.setAccessTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e)),this.addTokenKey(t,FJ.ACCESS_TOKEN)},t.prototype.getRefreshTokenCredential=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(e,FJ.REFRESH_TOKEN),null;var n=this.validateAndParseJson(t);return n&&n2.isRefreshTokenEntity(n)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),$1.toObject(new n2,n)):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(e,FJ.REFRESH_TOKEN),null)},t.prototype.setRefreshTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");var t=e.generateCredentialKey();this.setItem(t,JSON.stringify(e)),this.addTokenKey(t,FJ.REFRESH_TOKEN)},t.prototype.getAppMetadata=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&r2.isAppMetadataEntity(e,n)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),$1.toObject(new r2,n)):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)},t.prototype.setAppMetadata=function(e){this.logger.trace("BrowserCacheManager.setAppMetadata called");var t=e.generateAppMetadataKey();this.setItem(t,JSON.stringify(e))},t.prototype.getServerTelemetry=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&o2.isServerTelemetryEntity(e,n)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),$1.toObject(new o2,n)):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)},t.prototype.setServerTelemetry=function(e,t){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(e,JSON.stringify(t))},t.prototype.getAuthorityMetadata=function(e){var t=this.internalStorage.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&i2.isAuthorityMetadataEntity(e,n)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),$1.toObject(new i2,n)):null},t.prototype.getAuthorityMetadataKeys=function(){var e=this;return this.internalStorage.getKeys().filter((function(t){return e.isAuthorityMetadata(t)}))},t.prototype.setWrapperMetadata=function(e,t){this.internalStorage.setItem(u$.WRAPPER_SKU,e),this.internalStorage.setItem(u$.WRAPPER_VER,t)},t.prototype.getWrapperMetadata=function(){return[this.internalStorage.getItem(u$.WRAPPER_SKU)||IJ.EMPTY_STRING,this.internalStorage.getItem(u$.WRAPPER_VER)||IJ.EMPTY_STRING]},t.prototype.setAuthorityMetadata=function(e,t){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(e,JSON.stringify(t))},t.prototype.getActiveAccount=function(){var e=this.generateCacheKey(xJ.ACTIVE_ACCOUNT_FILTERS),t=this.getItem(e);if(!t){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");var n=this.generateCacheKey(xJ.ACTIVE_ACCOUNT),r=this.getItem(n);if(!r)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;var o=this.getAccountInfoByFilter({localAccountId:r})[0]||null;return o?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(o),o):null}var i=this.validateAndParseJson(t);return i?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoByFilter({homeAccountId:i.homeAccountId,localAccountId:i.localAccountId})[0]||null):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)},t.prototype.setActiveAccount=function(e){var t=this.generateCacheKey(xJ.ACTIVE_ACCOUNT_FILTERS),n=this.generateCacheKey(xJ.ACTIVE_ACCOUNT);if(e){this.logger.verbose("setActiveAccount: Active account set");var r={homeAccountId:e.homeAccountId,localAccountId:e.localAccountId};this.browserStorage.setItem(t,JSON.stringify(r)),this.browserStorage.setItem(n,e.localAccountId)}else this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(t),this.browserStorage.removeItem(n)},t.prototype.getAccountInfoByFilter=function(e){var t=this.getAllAccounts();return this.logger.trace("BrowserCacheManager.getAccountInfoByFilter: total "+t.length+" accounts found"),t.filter((function(t){return(!e.username||e.username.toLowerCase()===t.username.toLowerCase())&&((!e.homeAccountId||e.homeAccountId===t.homeAccountId)&&((!e.localAccountId||e.localAccountId===t.localAccountId)&&((!e.tenantId||e.tenantId===t.tenantId)&&(!e.environment||e.environment===t.environment))))}))},t.prototype.getAccountInfoByHints=function(e,t){var n=this.getAllAccounts().filter((function(n){if(t){var r=n.idTokenClaims&&n.idTokenClaims.sid;return t===r}return!!e&&e===n.username}));if(1===n.length)return n[0];if(n.length>1)throw $Z.createMultipleMatchingAccountsInCacheError();return null},t.prototype.getThrottlingCache=function(e){var t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;var n=this.validateAndParseJson(t);return n&&a2.isThrottlingEntity(e,n)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),$1.toObject(new a2,n)):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)},t.prototype.setThrottlingCache=function(e,t){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(e,JSON.stringify(t))},t.prototype.getTemporaryCache=function(e,t){var n=t?this.generateCacheKey(e):e;if(this.cacheConfig.storeAuthStateInCookie){var r=this.getItemCookie(n);if(r)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),r}var o=this.temporaryCacheStorage.getItem(n);if(!o){if(this.cacheConfig.cacheLocation===a$.LocalStorage){var i=this.browserStorage.getItem(n);if(i)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),i}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),o},t.prototype.setTemporaryCache=function(e,t,n){var r=n?this.generateCacheKey(e):e;this.temporaryCacheStorage.setItem(r,t),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(r,t))},t.prototype.removeItem=function(e){this.browserStorage.removeItem(e),this.temporaryCacheStorage.removeItem(e),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(e))},t.prototype.containsKey=function(e){return this.browserStorage.containsKey(e)||this.temporaryCacheStorage.containsKey(e)},t.prototype.getKeys=function(){return H$(this.browserStorage.getKeys(),this.temporaryCacheStorage.getKeys())},t.prototype.clear=function(){return O$(this,void 0,void 0,(function(){var e=this;return F$(this,(function(t){switch(t.label){case 0:return[4,this.removeAllAccounts()];case 1:return t.sent(),this.removeAppMetadata(),this.getKeys().forEach((function(t){!e.browserStorage.containsKey(t)&&!e.temporaryCacheStorage.containsKey(t)||-1===t.indexOf(IJ.CACHE_PREFIX)&&-1===t.indexOf(e.clientId)||e.removeItem(t)})),this.internalStorage.clear(),[2]}}))}))},t.prototype.setItemCookie=function(e,t,n){var r=encodeURIComponent(e)+"="+encodeURIComponent(t)+";path=/;SameSite=Lax;";n&&(r+="expires="+this.getCookieExpirationTime(n)+";");this.cacheConfig.secureCookies&&(r+="Secure;"),document.cookie=r},t.prototype.getItemCookie=function(e){for(var t=encodeURIComponent(e)+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return decodeURIComponent(o.substring(t.length,o.length))}return IJ.EMPTY_STRING},t.prototype.clearMsalCookies=function(){var e=this,t=IJ.CACHE_PREFIX+"."+this.clientId;document.cookie.split(";").forEach((function(n){for(;" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(t)){var r=n.split("=")[0];e.clearItemCookie(r)}}))},t.prototype.clearItemCookie=function(e){this.setItemCookie(e,IJ.EMPTY_STRING,-1)},t.prototype.getCookieExpirationTime=function(e){var t=new Date;return new Date(t.getTime()+e*this.COOKIE_LIFE_MULTIPLIER).toUTCString()},t.prototype.getCache=function(){return this.browserStorage},t.prototype.setCache=function(){},t.prototype.generateCacheKey=function(e){return this.validateAndParseJson(e)?JSON.stringify(e):ZZ.startsWith(e,IJ.CACHE_PREFIX)||ZZ.startsWith(e,xJ.ADAL_ID_TOKEN)?e:IJ.CACHE_PREFIX+"."+this.clientId+"."+e},t.prototype.generateAuthorityKey=function(e){var t=s2.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(c$.AUTHORITY+"."+t)},t.prototype.generateNonceKey=function(e){var t=s2.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(c$.NONCE_IDTOKEN+"."+t)},t.prototype.generateStateKey=function(e){var t=s2.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(c$.REQUEST_STATE+"."+t)},t.prototype.getCachedAuthority=function(e){var t=this.generateStateKey(e),n=this.getTemporaryCache(t);if(!n)return null;var r=this.generateAuthorityKey(n);return this.getTemporaryCache(r)},t.prototype.updateCacheEntries=function(e,t,n,r,o){this.logger.trace("BrowserCacheManager.updateCacheEntries called");var i=this.generateStateKey(e);this.setTemporaryCache(i,e,!1);var a=this.generateNonceKey(e);this.setTemporaryCache(a,t,!1);var s=this.generateAuthorityKey(e);if(this.setTemporaryCache(s,n,!1),o){var c={credential:o.homeAccountId,type:K1.HOME_ACCOUNT_ID};this.setTemporaryCache(c$.CCS_CREDENTIAL,JSON.stringify(c),!0)}else if(!ZZ.isEmpty(r)){c={credential:r,type:K1.UPN};this.setTemporaryCache(c$.CCS_CREDENTIAL,JSON.stringify(c),!0)}},t.prototype.resetRequestCache=function(e){var t=this;this.logger.trace("BrowserCacheManager.resetRequestCache called"),ZZ.isEmpty(e)||this.getKeys().forEach((function(n){-1!==n.indexOf(e)&&t.removeItem(n)})),e&&(this.removeItem(this.generateStateKey(e)),this.removeItem(this.generateNonceKey(e)),this.removeItem(this.generateAuthorityKey(e))),this.removeItem(this.generateCacheKey(c$.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(c$.ORIGIN_URI)),this.removeItem(this.generateCacheKey(c$.URL_HASH)),this.removeItem(this.generateCacheKey(c$.CORRELATION_ID)),this.removeItem(this.generateCacheKey(c$.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(c$.NATIVE_REQUEST)),this.setInteractionInProgress(!1)},t.prototype.cleanRequestByState=function(e){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),e){var t=this.generateStateKey(e),n=this.temporaryCacheStorage.getItem(t);this.logger.infoPii("BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: "+n),this.resetRequestCache(n||IJ.EMPTY_STRING)}this.clearMsalCookies()},t.prototype.cleanRequestByInteractionType=function(e){var t=this;this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach((function(n){if(-1!==n.indexOf(c$.REQUEST_STATE)){var r=t.temporaryCacheStorage.getItem(n);if(r){var o=p2.extractBrowserRequestState(t.cryptoImpl,r);o&&o.interactionType===e&&(t.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: "+r),t.resetRequestCache(r))}}})),this.clearMsalCookies(),this.setInteractionInProgress(!1)},t.prototype.cacheCodeRequest=function(e,t){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");var n=t.base64Encode(JSON.stringify(e));this.setTemporaryCache(c$.REQUEST_PARAMS,n,!0)},t.prototype.getCachedRequest=function(e,t){this.logger.trace("BrowserCacheManager.getCachedRequest called");var n=this.getTemporaryCache(c$.REQUEST_PARAMS,!0);if(!n)throw W0.createNoTokenRequestCacheError();var r=this.validateAndParseJson(t.base64Decode(n));if(!r)throw W0.createUnableToParseTokenRequestCacheError();if(this.removeItem(this.generateCacheKey(c$.REQUEST_PARAMS)),ZZ.isEmpty(r.authority)){var o=this.generateAuthorityKey(e),i=this.getTemporaryCache(o);if(!i)throw W0.createNoCachedAuthorityError();r.authority=i}return r},t.prototype.getCachedNativeRequest=function(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");var e=this.getTemporaryCache(c$.NATIVE_REQUEST,!0);if(!e)return this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null;var t=this.validateAndParseJson(e);return t||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null)},t.prototype.isInteractionInProgress=function(e){var t=this.getInteractionInProgress();return e?t===this.clientId:!!t},t.prototype.getInteractionInProgress=function(){var e=IJ.CACHE_PREFIX+"."+c$.INTERACTION_STATUS_KEY;return this.getTemporaryCache(e,!1)},t.prototype.setInteractionInProgress=function(e){var t=IJ.CACHE_PREFIX+"."+c$.INTERACTION_STATUS_KEY;if(e){if(this.getInteractionInProgress())throw W0.createInteractionInProgressError();this.setTemporaryCache(t,this.clientId,!1)}else e||this.getInteractionInProgress()!==this.clientId||this.removeItem(t)},t.prototype.getLegacyLoginHint=function(){var e=this.getTemporaryCache(xJ.ADAL_ID_TOKEN);e&&(this.browserStorage.removeItem(xJ.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));var t=this.getTemporaryCache(xJ.ID_TOKEN,!0);t&&(this.removeItem(this.generateCacheKey(xJ.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));var n=t||e;if(n){var r=new Q1(n,this.cryptoImpl);if(r.claims&&r.claims.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),r.claims.preferred_username;if(r.claims&&r.claims.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),r.claims.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null},t.prototype.updateCredentialCacheKey=function(e,t){var n=t.generateCredentialKey();if(e!==n){var r=this.getItem(e);if(r)return this.removeItem(e),this.setItem(n,r),this.logger.verbose("Updated an outdated "+t.credentialType+" cache key"),n;this.logger.error("Attempted to update an outdated "+t.credentialType+" cache key but no item matching the outdated key was found in storage")}return e},t.prototype.getRedirectRequestContext=function(){return this.getTemporaryCache(c$.REDIRECT_CONTEXT,!0)},t.prototype.setRedirectRequestContext=function(e){this.setTemporaryCache(c$.REDIRECT_CONTEXT,e,!0)},t}($1);!function(e){e.AAD="AAD",e.OIDC="OIDC"}(c2||(c2={})),function(e){e[e.None=0]="None",e.AzurePublic="https://login.microsoftonline.com",e.AzurePpe="https://login.windows-ppe.net",e.AzureChina="https://login.chinacloudapi.cn",e.AzureGermany="https://login.microsoftonline.de",e.AzureUsGovernment="https://login.microsoftonline.us"}(l2||(l2={}));var f2={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},m2={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:u1.Info,correlationId:IJ.EMPTY_STRING},g2={sendGetRequestAsync:function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Network interface - sendGetRequestAsync() has not been implemented",q$.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented")}))}))},sendPostRequestAsync:function(){return _J(this,void 0,void 0,(function(){return CJ(this,(function(e){throw"Network interface - sendPostRequestAsync() has not been implemented",q$.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented")}))}))}},v2={sku:IJ.SKU,version:J1,cpu:IJ.EMPTY_STRING,os:IJ.EMPTY_STRING},y2={clientSecret:IJ.EMPTY_STRING,clientAssertion:void 0},b2={azureCloudInstance:l2.None,tenant:""+IJ.DEFAULT_COMMON_TENANT},_2={application:{appName:"",appVersion:""}};var C2={sendGetRequestAsync:function(){return Promise.reject(q$.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented for the Network interface."))},sendPostRequestAsync:function(){return Promise.reject(q$.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented for the Network interface."))}},w2=function(){function e(){}return e.prototype.sendGetRequestAsync=function(e,t){return O$(this,void 0,void 0,(function(){var n,r,o;return F$(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,fetch(e,{method:s$.GET,headers:this.getFetchHeaders(t)})];case 1:return n=i.sent(),[3,3];case 2:throw r=i.sent(),window.navigator.onLine?W0.createGetRequestFailedError(r,e):W0.createNoNetworkConnectivityError();case 3:return i.trys.push([3,5,,6]),o={headers:this.getHeaderDict(n.headers)},[4,n.json()];case 4:return[2,(o.body=i.sent(),o.status=n.status,o)];case 5:throw i.sent(),W0.createFailedToParseNetworkResponseError(e);case 6:return[2]}}))}))},e.prototype.sendPostRequestAsync=function(e,t){return O$(this,void 0,void 0,(function(){var n,r,o,i;return F$(this,(function(a){switch(a.label){case 0:n=t&&t.body||IJ.EMPTY_STRING,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch(e,{method:s$.POST,headers:this.getFetchHeaders(t),body:n})];case 2:return r=a.sent(),[3,4];case 3:throw o=a.sent(),window.navigator.onLine?W0.createPostRequestFailedError(o,e):W0.createNoNetworkConnectivityError();case 4:return a.trys.push([4,6,,7]),i={headers:this.getHeaderDict(r.headers)},[4,r.json()];case 5:return[2,(i.body=a.sent(),i.status=r.status,i)];case 6:throw a.sent(),W0.createFailedToParseNetworkResponseError(e);case 7:return[2]}}))}))},e.prototype.getFetchHeaders=function(e){var t=new Headers;if(!e||!e.headers)return t;var n=e.headers;return Object.keys(n).forEach((function(e){t.append(e,n[e])})),t},e.prototype.getHeaderDict=function(e){var t={};return e.forEach((function(e,n){t[n]=e})),t},e}(),E2=function(){function e(){}return e.prototype.sendGetRequestAsync=function(e,t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return[2,this.sendRequestAsync(e,s$.GET,t)]}))}))},e.prototype.sendPostRequestAsync=function(e,t){return O$(this,void 0,void 0,(function(){return F$(this,(function(n){return[2,this.sendRequestAsync(e,s$.POST,t)]}))}))},e.prototype.sendRequestAsync=function(e,t,n){var r=this;return new Promise((function(o,i){var a=new XMLHttpRequest;if(a.open(t,e,!0),r.setXhrHeaders(a,n),a.onload=function(){(a.status<200||a.status>=300)&&(t===s$.POST?i(W0.createPostRequestFailedError("Failed with status "+a.status,e)):i(W0.createGetRequestFailedError("Failed with status "+a.status,e)));try{var n=JSON.parse(a.responseText),s={headers:r.getHeaderDict(a),body:n,status:a.status};o(s)}catch(Ple){i(W0.createFailedToParseNetworkResponseError(e))}},a.onerror=function(){window.navigator.onLine?t===s$.POST?i(W0.createPostRequestFailedError("Failed with status "+a.status,e)):i(W0.createGetRequestFailedError("Failed with status "+a.status,e)):i(W0.createNoNetworkConnectivityError())},t===s$.POST&&n&&n.body)a.send(n.body);else{if(t!==s$.GET)throw W0.createHttpMethodNotImplementedError(t);a.send()}}))},e.prototype.setXhrHeaders=function(e,t){if(t&&t.headers){var n=t.headers;Object.keys(n).forEach((function(t){e.setRequestHeader(t,n[t])}))}},e.prototype.getHeaderDict=function(e){var t=e.getAllResponseHeaders().trim().split(/[\r\n]+/),n={};return t.forEach((function(e){var t=e.split(": "),r=t.shift(),o=t.join(": ");r&&o&&(n[r]=o)})),n},e}(),x2=function(){function e(){}return e.clearHash=function(e){e.location.hash=IJ.EMPTY_STRING,"function"===typeof e.history.replaceState&&e.history.replaceState(null,IJ.EMPTY_STRING,""+e.location.origin+e.location.pathname+e.location.search)},e.replaceHash=function(e){var t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):IJ.EMPTY_STRING},e.isInIframe=function(){return window.parent!==window},e.isInPopup=function(){return"undefined"!==typeof window&&!!window.opener&&window.opener!==window&&"string"===typeof window.name&&0===window.name.indexOf(v$+".")},e.getCurrentUri=function(){return window.location.href.split("?")[0].split("#")[0]},e.getHomepage=function(){var e=new d2(window.location.href).getUrlComponents();return e.Protocol+"//"+e.HostNameAndPort+"/"},e.getBrowserNetworkClient=function(){return window.fetch&&window.Headers?new w2:new E2},e.blockReloadInHiddenIframes=function(){if(d2.hashContainsKnownProperties(window.location.hash)&&e.isInIframe())throw W0.createBlockReloadInHiddenIframeError()},e.blockRedirectInIframe=function(t,n){var r=e.isInIframe();if(t===p$.Redirect&&r&&!n)throw W0.createRedirectInIframeError(r)},e.blockAcquireTokenInPopups=function(){if(e.isInPopup())throw W0.createBlockAcquireTokenInPopupsError()},e.blockNonBrowserEnvironment=function(e){if(!e)throw W0.createNonBrowserEnvironmentError()},e.blockNativeBrokerCalledBeforeInitialized=function(e,t){if(e&&!t)throw W0.createNativeBrokerCalledBeforeInitialize()},e.detectIEOrEdge=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE "),n=e.indexOf("Trident/"),r=e.indexOf("Edge/");return t>0||n>0||r>0},e}(),S2=function(){function e(){}return e.prototype.navigateInternal=function(t,n){return e.defaultNavigateWindow(t,n)},e.prototype.navigateExternal=function(t,n){return e.defaultNavigateWindow(t,n)},e.defaultNavigateWindow=function(e,t){return t.noHistory?window.location.replace(e):window.location.assign(e),new Promise((function(e){setTimeout((function(){e(!0)}),t.timeout)}))},e}(),k2=6e3;var T2,I2="@azure/msal-browser",A2="2.37.0";!function(e){e.INITIALIZE_START="msal:initializeStart",e.INITIALIZE_END="msal:initializeEnd",e.ACCOUNT_ADDED="msal:accountAdded",e.ACCOUNT_REMOVED="msal:accountRemoved",e.LOGIN_START="msal:loginStart",e.LOGIN_SUCCESS="msal:loginSuccess",e.LOGIN_FAILURE="msal:loginFailure",e.ACQUIRE_TOKEN_START="msal:acquireTokenStart",e.ACQUIRE_TOKEN_SUCCESS="msal:acquireTokenSuccess",e.ACQUIRE_TOKEN_FAILURE="msal:acquireTokenFailure",e.ACQUIRE_TOKEN_NETWORK_START="msal:acquireTokenFromNetworkStart",e.SSO_SILENT_START="msal:ssoSilentStart",e.SSO_SILENT_SUCCESS="msal:ssoSilentSuccess",e.SSO_SILENT_FAILURE="msal:ssoSilentFailure",e.ACQUIRE_TOKEN_BY_CODE_START="msal:acquireTokenByCodeStart",e.ACQUIRE_TOKEN_BY_CODE_SUCCESS="msal:acquireTokenByCodeSuccess",e.ACQUIRE_TOKEN_BY_CODE_FAILURE="msal:acquireTokenByCodeFailure",e.HANDLE_REDIRECT_START="msal:handleRedirectStart",e.HANDLE_REDIRECT_END="msal:handleRedirectEnd",e.POPUP_OPENED="msal:popupOpened",e.LOGOUT_START="msal:logoutStart",e.LOGOUT_SUCCESS="msal:logoutSuccess",e.LOGOUT_FAILURE="msal:logoutFailure",e.LOGOUT_END="msal:logoutEnd"}(T2||(T2={}));var P2,D2=function(){function e(e,t){this.eventCallbacks=new Map,this.logger=e,this.browserCrypto=t,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}return e.prototype.addEventCallback=function(e){if("undefined"!==typeof window){var t=this.browserCrypto.createNewGuid();return this.eventCallbacks.set(t,e),this.logger.verbose("Event callback registered with id: "+t),t}return null},e.prototype.removeEventCallback=function(e){this.eventCallbacks.delete(e),this.logger.verbose("Event callback "+e+" removed.")},e.prototype.enableAccountStorageEvents=function(){"undefined"!==typeof window&&(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))},e.prototype.disableAccountStorageEvents=function(){"undefined"!==typeof window&&(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))},e.prototype.emitEvent=function(e,t,n,r){var o=this;if("undefined"!==typeof window){var i={eventType:e,interactionType:t||null,payload:n||null,error:r||null,timestamp:Date.now()};this.logger.info("Emitting event: "+e),this.eventCallbacks.forEach((function(t,n){o.logger.verbose("Emitting event to callback "+n+": "+e),t.apply(null,[i])}))}},e.prototype.handleAccountCacheChange=function(e){try{var t=e.newValue||e.oldValue;if(!t)return;var n=JSON.parse(t);if("object"!==typeof n||!Y1.isAccountEntity(n))return;var r=$1.toObject(new Y1,n).getAccountInfo();!e.oldValue&&e.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(T2.ACCOUNT_ADDED,void 0,r)):!e.newValue&&e.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(T2.ACCOUNT_REMOVED,void 0,r))}catch(e){return}},e}(),R2=function(){function e(){}return e.generateThrottlingStorageKey=function(e){return t$+"."+JSON.stringify(e)},e.preProcess=function(t,n){var r,o=e.generateThrottlingStorageKey(n),i=t.getThrottlingCache(o);if(i){if(i.throttleTime<Date.now())return void t.removeItem(o);throw new W$((null===(r=i.errorCodes)||void 0===r?void 0:r.join(" "))||IJ.EMPTY_STRING,i.errorMessage,i.subError)}},e.postProcess=function(t,n,r){if(e.checkResponseStatus(r)||e.checkResponseForRetryAfter(r)){var o={throttleTime:e.calculateThrottleTime(parseInt(r.headers[EJ.RETRY_AFTER])),error:r.body.error,errorCodes:r.body.error_codes,errorMessage:r.body.error_description,subError:r.body.suberror};t.setThrottlingCache(e.generateThrottlingStorageKey(n),o)}},e.checkResponseStatus=function(e){return 429===e.status||e.status>=500&&e.status<600},e.checkResponseForRetryAfter=function(e){return!!e.headers&&(e.headers.hasOwnProperty(EJ.RETRY_AFTER)&&(e.status<200||e.status>=300))},e.calculateThrottleTime=function(e){var t=e<=0?0:e,n=Date.now()/1e3;return Math.floor(1e3*Math.min(n+(t||ZJ),n+e$))},e.removeThrottle=function(e,t,n,r){var o={clientId:t,authority:n.authority,scopes:n.scopes,homeAccountIdentifier:r,claims:n.claims,authenticationScheme:n.authenticationScheme,resourceRequestMethod:n.resourceRequestMethod,resourceRequestUri:n.resourceRequestUri,shrClaims:n.shrClaims,sshKid:n.sshKid},i=this.generateThrottlingStorageKey(o);e.removeItem(i)},e}(),M2=function(){function e(e,t){this.networkClient=e,this.cacheManager=t}return e.prototype.sendPostRequest=function(e,t,n){return _J(this,void 0,void 0,(function(){var r,o;return CJ(this,(function(i){switch(i.label){case 0:R2.preProcess(this.cacheManager,e),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.networkClient.sendPostRequestAsync(t,n)];case 2:return r=i.sent(),[3,4];case 3:throw(o=i.sent())instanceof q$?o:$Z.createNetworkError(t,o);case 4:return R2.postProcess(this.cacheManager,e,r),[2,r]}}))}))},e}(),N2=function(){function e(){}return e.validateRedirectUri=function(e){if(ZZ.isEmpty(e))throw j1.createRedirectUriEmptyError()},e.validatePrompt=function(e){var t=[];for(var n in RJ)t.push(RJ[n]);if(t.indexOf(e)<0)throw j1.createInvalidPromptError(e)},e.validateClaims=function(e){try{JSON.parse(e)}catch(Ple){throw j1.createInvalidClaimsRequestError()}},e.validateCodeChallengeParams=function(e,t){if(ZZ.isEmpty(e)||ZZ.isEmpty(t))throw j1.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(t)},e.validateCodeChallengeMethod=function(e){if([HJ.PLAIN,HJ.S256].indexOf(e)<0)throw j1.createInvalidCodeChallengeMethodError()},e.sanitizeEQParams=function(e,t){return e?(t.forEach((function(t,n){e[n]&&delete e[n]})),Object.fromEntries(Object.entries(e).filter((function(e){return""!==e[1]})))):{}},e}(),L2=function(){function e(){this.parameters=new Map}return e.prototype.addResponseTypeCode=function(){this.parameters.set(kJ.RESPONSE_TYPE,encodeURIComponent(IJ.CODE_RESPONSE_TYPE))},e.prototype.addResponseTypeForTokenAndIdToken=function(){this.parameters.set(kJ.RESPONSE_TYPE,encodeURIComponent(IJ.TOKEN_RESPONSE_TYPE+" "+IJ.ID_TOKEN_RESPONSE_TYPE))},e.prototype.addResponseMode=function(e){this.parameters.set(kJ.RESPONSE_MODE,encodeURIComponent(e||MJ.QUERY))},e.prototype.addNativeBroker=function(){this.parameters.set(kJ.NATIVE_BROKER,encodeURIComponent("1"))},e.prototype.addScopes=function(e,t){void 0===t&&(t=!0);var n=t?wJ(e||[],AJ):e||[],r=new q1(n);this.parameters.set(kJ.SCOPE,encodeURIComponent(r.printScopes()))},e.prototype.addClientId=function(e){this.parameters.set(kJ.CLIENT_ID,encodeURIComponent(e))},e.prototype.addRedirectUri=function(e){N2.validateRedirectUri(e),this.parameters.set(kJ.REDIRECT_URI,encodeURIComponent(e))},e.prototype.addPostLogoutRedirectUri=function(e){N2.validateRedirectUri(e),this.parameters.set(kJ.POST_LOGOUT_URI,encodeURIComponent(e))},e.prototype.addIdTokenHint=function(e){this.parameters.set(kJ.ID_TOKEN_HINT,encodeURIComponent(e))},e.prototype.addDomainHint=function(e){this.parameters.set(DJ.DOMAIN_HINT,encodeURIComponent(e))},e.prototype.addLoginHint=function(e){this.parameters.set(DJ.LOGIN_HINT,encodeURIComponent(e))},e.prototype.addCcsUpn=function(e){this.parameters.set(EJ.CCS_HEADER,encodeURIComponent("UPN:"+e))},e.prototype.addCcsOid=function(e){this.parameters.set(EJ.CCS_HEADER,encodeURIComponent("Oid:"+e.uid+"@"+e.utid))},e.prototype.addSid=function(e){this.parameters.set(DJ.SID,encodeURIComponent(e))},e.prototype.addClaims=function(e,t){var n=this.addClientCapabilitiesToClaims(e,t);N2.validateClaims(n),this.parameters.set(kJ.CLAIMS,encodeURIComponent(n))},e.prototype.addCorrelationId=function(e){this.parameters.set(kJ.CLIENT_REQUEST_ID,encodeURIComponent(e))},e.prototype.addLibraryInfo=function(e){this.parameters.set(kJ.X_CLIENT_SKU,e.sku),this.parameters.set(kJ.X_CLIENT_VER,e.version),e.os&&this.parameters.set(kJ.X_CLIENT_OS,e.os),e.cpu&&this.parameters.set(kJ.X_CLIENT_CPU,e.cpu)},e.prototype.addApplicationTelemetry=function(e){(null===e||void 0===e?void 0:e.appName)&&this.parameters.set(kJ.X_APP_NAME,e.appName),(null===e||void 0===e?void 0:e.appVersion)&&this.parameters.set(kJ.X_APP_VER,e.appVersion)},e.prototype.addPrompt=function(e){N2.validatePrompt(e),this.parameters.set(""+kJ.PROMPT,encodeURIComponent(e))},e.prototype.addState=function(e){ZZ.isEmpty(e)||this.parameters.set(kJ.STATE,encodeURIComponent(e))},e.prototype.addNonce=function(e){this.parameters.set(kJ.NONCE,encodeURIComponent(e))},e.prototype.addCodeChallengeParams=function(e,t){if(N2.validateCodeChallengeParams(e,t),!e||!t)throw j1.createInvalidCodeChallengeParamsError();this.parameters.set(kJ.CODE_CHALLENGE,encodeURIComponent(e)),this.parameters.set(kJ.CODE_CHALLENGE_METHOD,encodeURIComponent(t))},e.prototype.addAuthorizationCode=function(e){this.parameters.set(kJ.CODE,encodeURIComponent(e))},e.prototype.addDeviceCode=function(e){this.parameters.set(kJ.DEVICE_CODE,encodeURIComponent(e))},e.prototype.addRefreshToken=function(e){this.parameters.set(kJ.REFRESH_TOKEN,encodeURIComponent(e))},e.prototype.addCodeVerifier=function(e){this.parameters.set(kJ.CODE_VERIFIER,encodeURIComponent(e))},e.prototype.addClientSecret=function(e){this.parameters.set(kJ.CLIENT_SECRET,encodeURIComponent(e))},e.prototype.addClientAssertion=function(e){ZZ.isEmpty(e)||this.parameters.set(kJ.CLIENT_ASSERTION,encodeURIComponent(e))},e.prototype.addClientAssertionType=function(e){ZZ.isEmpty(e)||this.parameters.set(kJ.CLIENT_ASSERTION_TYPE,encodeURIComponent(e))},e.prototype.addOboAssertion=function(e){this.parameters.set(kJ.OBO_ASSERTION,encodeURIComponent(e))},e.prototype.addRequestTokenUse=function(e){this.parameters.set(kJ.REQUESTED_TOKEN_USE,encodeURIComponent(e))},e.prototype.addGrantType=function(e){this.parameters.set(kJ.GRANT_TYPE,encodeURIComponent(e))},e.prototype.addClientInfo=function(){this.parameters.set("client_info","1")},e.prototype.addExtraQueryParameters=function(e){var t=this,n=N2.sanitizeEQParams(e,this.parameters);Object.keys(n).forEach((function(n){t.parameters.set(n,e[n])}))},e.prototype.addClientCapabilitiesToClaims=function(e,t){var n;if(e)try{n=JSON.parse(e)}catch(Ple){throw j1.createInvalidClaimsRequestError()}else n={};return t&&t.length>0&&(n.hasOwnProperty(TJ.ACCESS_TOKEN)||(n[TJ.ACCESS_TOKEN]={}),n[TJ.ACCESS_TOKEN][TJ.XMS_CC]={values:t}),JSON.stringify(n)},e.prototype.addUsername=function(e){this.parameters.set(KJ.username,encodeURIComponent(e))},e.prototype.addPassword=function(e){this.parameters.set(KJ.password,encodeURIComponent(e))},e.prototype.addPopToken=function(e){ZZ.isEmpty(e)||(this.parameters.set(kJ.TOKEN_TYPE,WJ.POP),this.parameters.set(kJ.REQ_CNF,encodeURIComponent(e)))},e.prototype.addSshJwk=function(e){ZZ.isEmpty(e)||(this.parameters.set(kJ.TOKEN_TYPE,WJ.SSH),this.parameters.set(kJ.REQ_CNF,encodeURIComponent(e)))},e.prototype.addServerTelemetry=function(e){this.parameters.set(kJ.X_CLIENT_CURR_TELEM,e.generateCurrentRequestHeaderValue()),this.parameters.set(kJ.X_CLIENT_LAST_TELEM,e.generateLastRequestHeaderValue())},e.prototype.addThrottling=function(){this.parameters.set(kJ.X_MS_LIB_CAPABILITY,n$)},e.prototype.addLogoutHint=function(e){this.parameters.set(kJ.LOGOUT_HINT,encodeURIComponent(e))},e.prototype.createQueryString=function(){var e=new Array;return this.parameters.forEach((function(t,n){e.push(n+"="+t)})),e.join("&")},e}(),O2=function(){function e(e,t){this.config=function(e){var t,n=e.authOptions,r=e.systemOptions,o=e.loggerOptions,i=e.storageInterface,a=e.networkInterface,s=e.cryptoInterface,c=e.clientCredentials,l=e.libraryInfo,u=e.telemetry,d=e.serverTelemetryManager,p=e.persistencePlugin,h=e.serializableCache,f=bJ(bJ({},m2),o);return{authOptions:(t=n,bJ({clientCapabilities:[],azureCloudOptions:b2,skipAuthorityMetadataCache:!1},t)),systemOptions:bJ(bJ({},f2),r),loggerOptions:f,storageInterface:i||new Z1(n.clientId,y1,new f1(f)),networkInterface:a||g2,cryptoInterface:s||y1,clientCredentials:c||y2,libraryInfo:bJ(bJ({},v2),l),telemetry:bJ(bJ({},_2),u),serverTelemetryManager:d||null,persistencePlugin:p||null,serializableCache:h||null}}(e),this.logger=new f1(this.config.loggerOptions,X1,J1),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new M2(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=t}return e.prototype.createTokenRequestHeaders=function(e){var t={};if(t[EJ.CONTENT_TYPE]=IJ.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&e)switch(e.type){case K1.HOME_ACCOUNT_ID:try{var n=G1(e.credential);t[EJ.CCS_HEADER]="Oid:"+n.uid+"@"+n.utid}catch(Ple){this.logger.verbose("Could not parse home account ID for CCS Header: "+Ple)}break;case K1.UPN:t[EJ.CCS_HEADER]="UPN: "+e.credential}return t},e.prototype.executePostToTokenEndpoint=function(e,t,n,r){return _J(this,void 0,void 0,(function(){var o;return CJ(this,(function(i){switch(i.label){case 0:return[4,this.networkManager.sendPostRequest(r,e,{body:t,headers:n})];case 1:return o=i.sent(),this.config.serverTelemetryManager&&o.status<500&&429!==o.status&&this.config.serverTelemetryManager.clearTelemetryCache(),[2,o]}}))}))},e.prototype.updateAuthority=function(e){if(!e.discoveryComplete())throw $Z.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=e},e.prototype.createTokenQueryParameters=function(e){var t=new L2;return e.tokenQueryParameters&&t.addExtraQueryParameters(e.tokenQueryParameters),t.createQueryString()},e}(),F2=function(e,t,n,r,o){this.account=e||null,this.idToken=t||null,this.accessToken=n||null,this.refreshToken=r||null,this.appMetadata=o||null};!function(e){e.SW="sw",e.UHW="uhw"}(P2||(P2={}));var B2=function(){function e(e,t){this.cryptoUtils=e,this.performanceClient=t}return e.prototype.generateCnf=function(e){var t,n;return _J(this,void 0,void 0,(function(){var r,o,i;return CJ(this,(function(a){switch(a.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.PopTokenGenerateCnf,e.correlationId),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(R$.PopTokenGenerateKid,e.correlationId),[4,this.generateKid(e)];case 1:return r=a.sent(),o=this.cryptoUtils.base64Encode(JSON.stringify(r)),i={kid:r.kid,reqCnfString:o},[4,this.cryptoUtils.hashString(o)];case 2:return[2,(i.reqCnfHash=a.sent(),i)]}}))}))},e.prototype.generateKid=function(e){var t;return _J(this,void 0,void 0,(function(){return CJ(this,(function(n){switch(n.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.PopTokenGenerateKid,e.correlationId),[4,this.cryptoUtils.getPublicKeyThumbprint(e)];case 1:return[2,{kid:n.sent(),xms_ksl:P2.SW}]}}))}))},e.prototype.signPopToken=function(e,t,n){return _J(this,void 0,void 0,(function(){return CJ(this,(function(r){return[2,this.signPayload(e,t,n)]}))}))},e.prototype.signPayload=function(e,t,n,r){return _J(this,void 0,void 0,(function(){var o,i,a,s,c,l;return CJ(this,(function(u){switch(u.label){case 0:return o=n.resourceRequestMethod,i=n.resourceRequestUri,a=n.shrClaims,s=n.shrNonce,c=i?new d2(i):void 0,l=null===c||void 0===c?void 0:c.getUrlComponents(),[4,this.cryptoUtils.signJwt(bJ({at:e,ts:e2.nowSeconds(),m:null===o||void 0===o?void 0:o.toUpperCase(),u:null===l||void 0===l?void 0:l.HostNameAndPort,nonce:s||this.cryptoUtils.createNewGuid(),p:null===l||void 0===l?void 0:l.AbsolutePath,q:(null===l||void 0===l?void 0:l.QueryString)?[[],l.QueryString]:void 0,client_claims:a||void 0},r),t,n.correlationId)];case 1:return[2,u.sent()]}}))}))},e}(),H2=function(){function e(e,t){this.cache=e,this.hasChanged=t}return Object.defineProperty(e.prototype,"cacheHasChanged",{get:function(){return this.hasChanged},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenCache",{get:function(){return this.cache},enumerable:!1,configurable:!0}),e}(),z2=function(){function e(e,t,n,r,o,i,a){this.clientId=e,this.cacheStorage=t,this.cryptoObj=n,this.logger=r,this.serializableCache=o,this.persistencePlugin=i,this.performanceClient=a}return e.prototype.validateServerAuthorizationCodeResponse=function(e,t,n){if(!e.state||!t)throw e.state?$Z.createStateNotFoundError("Cached State"):$Z.createStateNotFoundError("Server State");if(decodeURIComponent(e.state)!==decodeURIComponent(t))throw $Z.createStateMismatchError();if(e.error||e.error_description||e.suberror){if(X$.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new X$(e.error||IJ.EMPTY_STRING,e.error_description,e.suberror,e.timestamp||IJ.EMPTY_STRING,e.trace_id||IJ.EMPTY_STRING,e.correlation_id||IJ.EMPTY_STRING,e.claims||IJ.EMPTY_STRING);throw new W$(e.error||IJ.EMPTY_STRING,e.error_description,e.suberror)}e.client_info&&W1(e.client_info,n)},e.prototype.validateTokenResponse=function(e){if(e.error||e.error_description||e.suberror){if(X$.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new X$(e.error,e.error_description,e.suberror,e.timestamp||IJ.EMPTY_STRING,e.trace_id||IJ.EMPTY_STRING,e.correlation_id||IJ.EMPTY_STRING,e.claims||IJ.EMPTY_STRING);var t=e.error_codes+" - ["+e.timestamp+"]: "+e.error_description+" - Correlation ID: "+e.correlation_id+" - Trace ID: "+e.trace_id;throw new W$(e.error,t,e.suberror)}},e.prototype.handleServerTokenResponse=function(t,n,r,o,i,a,s,c,l){var u;return _J(this,void 0,void 0,(function(){var d,p,h,f,m,g;return CJ(this,(function(v){switch(v.label){case 0:if(null===(u=this.performanceClient)||void 0===u||u.addQueueMeasurement(R$.HandleServerTokenResponse,t.correlation_id),t.id_token){if(d=new Q1(t.id_token||IJ.EMPTY_STRING,this.cryptoObj),i&&!ZZ.isEmpty(i.nonce)&&d.claims.nonce!==i.nonce)throw $Z.createNonceMismatchError();if(o.maxAge||0===o.maxAge){if(!(p=d.claims.auth_time))throw $Z.createAuthTimeNotFoundError();Q1.checkMaxAge(p,o.maxAge)}}this.homeAccountIdentifier=Y1.generateHomeAccountId(t.client_info||IJ.EMPTY_STRING,n.authorityType,this.logger,this.cryptoObj,d),i&&i.state&&(h=s2.parseRequestState(this.cryptoObj,i.state)),t.key_id=t.key_id||o.sshKid||void 0,f=this.generateCacheRecord(t,n,r,o,d,a,i),v.label=1;case 1:return v.trys.push([1,,5,8]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),m=new H2(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(m)]):[3,3];case 2:v.sent(),v.label=3;case 3:return!s||c||!f.account||(g=f.account.generateAccountKey(),this.cacheStorage.getAccount(g))?[4,this.cacheStorage.saveCacheRecord(f)]:(this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),[2,e.generateAuthenticationResult(this.cryptoObj,n,f,!1,o,d,h,void 0,l)]);case 4:return v.sent(),[3,8];case 5:return this.persistencePlugin&&this.serializableCache&&m?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(m)]):[3,7];case 6:v.sent(),v.label=7;case 7:return[7];case 8:return[2,e.generateAuthenticationResult(this.cryptoObj,n,f,!1,o,d,h,t,l)]}}))}))},e.prototype.generateCacheRecord=function(e,t,n,r,o,i,a){var s,c,l=t.getPreferredCache();if(ZZ.isEmpty(l))throw $Z.createInvalidCacheEnvironmentError();!ZZ.isEmpty(e.id_token)&&o&&(s=_1.createIdTokenEntity(this.homeAccountIdentifier,l,e.id_token||IJ.EMPTY_STRING,this.clientId,o.claims.tid||IJ.EMPTY_STRING),c=this.generateAccountEntity(e,o,t,a));var u=null;if(!ZZ.isEmpty(e.access_token)){var d=e.scope?q1.fromString(e.scope):new q1(r.scopes||[]),p=("string"===typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0,h=("string"===typeof e.ext_expires_in?parseInt(e.ext_expires_in,10):e.ext_expires_in)||0,f=("string"===typeof e.refresh_in?parseInt(e.refresh_in,10):e.refresh_in)||void 0,m=n+p,g=m+h,v=f&&f>0?n+f:void 0;u=t2.createAccessTokenEntity(this.homeAccountIdentifier,l,e.access_token||IJ.EMPTY_STRING,this.clientId,o?o.claims.tid||IJ.EMPTY_STRING:t.tenant,d.printScopes(),m,g,this.cryptoObj,v,e.token_type,i,e.key_id,r.claims,r.requestedClaimsHash)}var y=null;ZZ.isEmpty(e.refresh_token)||(y=n2.createRefreshTokenEntity(this.homeAccountIdentifier,l,e.refresh_token||IJ.EMPTY_STRING,this.clientId,e.foci,i));var b=null;return ZZ.isEmpty(e.foci)||(b=r2.createAppMetadataEntity(this.clientId,l,e.foci)),new F2(c,s,u,y,b)},e.prototype.generateAccountEntity=function(e,t,n,r){var o=n.authorityType,i=r?r.cloud_graph_host_name:IJ.EMPTY_STRING,a=r?r.msgraph_host:IJ.EMPTY_STRING;if(o===h1.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),Y1.createGenericAccount(this.homeAccountIdentifier,t,n,i,a);if(ZZ.isEmpty(e.client_info)&&"AAD"===n.protocolMode)throw $Z.createClientInfoEmptyError();return e.client_info?Y1.createAccount(e.client_info,this.homeAccountIdentifier,t,n,i,a):Y1.createGenericAccount(this.homeAccountIdentifier,t,n,i,a)},e.generateAuthenticationResult=function(e,t,n,r,o,i,a,s,c){var l,u,d;return _J(this,void 0,void 0,(function(){var p,h,f,m,g,v,y,b,_,C,w;return CJ(this,(function(E){switch(E.label){case 0:if(p=IJ.EMPTY_STRING,h=[],f=null,g=IJ.EMPTY_STRING,!n.accessToken)return[3,4];if(n.accessToken.tokenType!==WJ.POP)return[3,2];if(v=new B2(e),y=n.accessToken,b=y.secret,!(_=y.keyId))throw $Z.createKeyIdMissingError();return[4,v.signPopToken(b,_,o)];case 1:return p=E.sent(),[3,3];case 2:p=n.accessToken.secret,E.label=3;case 3:h=q1.fromString(n.accessToken.target).asArray(),f=new Date(1e3*Number(n.accessToken.expiresOn)),m=new Date(1e3*Number(n.accessToken.extendedExpiresOn)),E.label=4;case 4:return n.appMetadata&&(g=n.appMetadata.familyId===VJ?VJ:IJ.EMPTY_STRING),C=(null===i||void 0===i?void 0:i.claims.oid)||(null===i||void 0===i?void 0:i.claims.sub)||IJ.EMPTY_STRING,w=(null===i||void 0===i?void 0:i.claims.tid)||IJ.EMPTY_STRING,(null===s||void 0===s?void 0:s.spa_accountid)&&n.account&&(n.account.nativeAccountId=null===s||void 0===s?void 0:s.spa_accountid),[2,{authority:t.canonicalAuthority,uniqueId:C,tenantId:w,scopes:h,account:n.account?n.account.getAccountInfo():null,idToken:i?i.rawToken:IJ.EMPTY_STRING,idTokenClaims:i?i.claims:{},accessToken:p,fromCache:r,expiresOn:f,correlationId:o.correlationId,requestId:c||IJ.EMPTY_STRING,extExpiresOn:m,familyId:g,tokenType:(null===(l=n.accessToken)||void 0===l?void 0:l.tokenType)||IJ.EMPTY_STRING,state:a?a.userRequestState:IJ.EMPTY_STRING,cloudGraphHostName:(null===(u=n.account)||void 0===u?void 0:u.cloudGraphHostName)||IJ.EMPTY_STRING,msGraphHost:(null===(d=n.account)||void 0===d?void 0:d.msGraphHost)||IJ.EMPTY_STRING,code:null===s||void 0===s?void 0:s.spa_code,fromNativeBroker:!1}]}}))}))},e}(),U2=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.includeRedirectUri=!0,r}return yJ(t,e),t.prototype.getAuthCodeUrl=function(e){var t,n;return _J(this,void 0,void 0,(function(){var r;return CJ(this,(function(o){switch(o.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.GetAuthCodeUrl,e.correlationId),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(R$.AuthClientCreateQueryString,e.correlationId),[4,this.createAuthCodeUrlQueryString(e)];case 1:return r=o.sent(),[2,d2.appendQueryString(this.authority.authorizationEndpoint,r)]}}))}))},t.prototype.acquireToken=function(e,t){var n,r,o,i,a,s;return _J(this,void 0,void 0,(function(){var c,l,u,d,p,h,f=this;return CJ(this,(function(m){switch(m.label){case 0:if(!e||!e.code)throw $Z.createTokenRequestCannotBeMadeError();return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(R$.AuthClientAcquireToken,e.correlationId),c=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement("AuthCodeClientAcquireToken",e.correlationId),this.logger.info("in acquireToken call in auth-code client"),l=e2.nowSeconds(),null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(R$.AuthClientExecuteTokenRequest,e.correlationId),[4,this.executeTokenRequest(this.authority,e)];case 1:return u=m.sent(),d=null===(i=u.headers)||void 0===i?void 0:i[EJ.X_MS_REQUEST_ID],(p=null===(a=u.headers)||void 0===a?void 0:a[EJ.X_MS_HTTP_VERSION])&&(null===c||void 0===c||c.addStaticFields({httpVerAuthority:p})),(h=new z2(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin,this.performanceClient)).validateTokenResponse(u.body),null===(s=this.performanceClient)||void 0===s||s.setPreQueueTime(R$.HandleServerTokenResponse,e.correlationId),[2,h.handleServerTokenResponse(u.body,this.authority,l,e,t,void 0,void 0,void 0,d).then((function(e){return null===c||void 0===c||c.endMeasurement({success:!0}),e})).catch((function(t){throw f.logger.verbose("Error in fetching token in ACC",e.correlationId),null===c||void 0===c||c.endMeasurement({errorCode:t.errorCode,subErrorCode:t.subError,success:!1}),t}))]}}))}))},t.prototype.handleFragmentResponse=function(e,t){var n=new z2(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),r=new d2(e),o=d2.getDeserializedHash(r.getHash());if(n.validateServerAuthorizationCodeResponse(o,t,this.cryptoUtils),!o.code)throw $Z.createNoAuthCodeInServerResponseError();return bJ(bJ({},o),{code:o.code})},t.prototype.getLogoutUri=function(e){if(!e)throw j1.createEmptyLogoutRequestError();var t=this.createLogoutUrlQueryString(e);return d2.appendQueryString(this.authority.endSessionEndpoint,t)},t.prototype.executeTokenRequest=function(e,t){var n,r;return _J(this,void 0,void 0,(function(){var o,i,a,s,c,l,u;return CJ(this,(function(d){switch(d.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(R$.AuthClientExecuteTokenRequest,t.correlationId),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(R$.AuthClientCreateTokenRequestBody,t.correlationId),o=this.createTokenQueryParameters(t),i=d2.appendQueryString(e.tokenEndpoint,o),[4,this.createTokenRequestBody(t)];case 1:if(a=d.sent(),s=void 0,t.clientInfo)try{c=W1(t.clientInfo,this.cryptoUtils),s={credential:""+c.uid+OJ.CLIENT_INFO_SEPARATOR+c.utid,type:K1.HOME_ACCOUNT_ID}}catch(Ple){this.logger.verbose("Could not parse client info for CCS Header: "+Ple)}return l=this.createTokenRequestHeaders(s||t.ccsCredential),u={clientId:this.config.authOptions.clientId,authority:e.canonicalAuthority,scopes:t.scopes,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid},[2,this.executePostToTokenEndpoint(i,a,l,u)]}}))}))},t.prototype.createTokenRequestBody=function(e){var t,n;return _J(this,void 0,void 0,(function(){var r,o,i,a,s,c,l,u;return CJ(this,(function(d){switch(d.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.AuthClientCreateTokenRequestBody,e.correlationId),(r=new L2).addClientId(this.config.authOptions.clientId),this.includeRedirectUri?r.addRedirectUri(e.redirectUri):N2.validateRedirectUri(e.redirectUri),r.addScopes(e.scopes),r.addAuthorizationCode(e.code),r.addLibraryInfo(this.config.libraryInfo),r.addApplicationTelemetry(this.config.telemetry.application),r.addThrottling(),this.serverTelemetryManager&&r.addServerTelemetry(this.serverTelemetryManager),e.codeVerifier&&r.addCodeVerifier(e.codeVerifier),this.config.clientCredentials.clientSecret&&r.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(o=this.config.clientCredentials.clientAssertion,r.addClientAssertion(o.assertion),r.addClientAssertionType(o.assertionType)),r.addGrantType(NJ.AUTHORIZATION_CODE_GRANT),r.addClientInfo(),e.authenticationScheme!==WJ.POP?[3,2]:(i=new B2(this.cryptoUtils,this.performanceClient),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(R$.PopTokenGenerateCnf,e.correlationId),[4,i.generateCnf(e)]);case 1:return a=d.sent(),r.addPopToken(a.reqCnfString),[3,3];case 2:if(e.authenticationScheme===WJ.SSH){if(!e.sshJwk)throw j1.createMissingSshJwkError();r.addSshJwk(e.sshJwk)}d.label=3;case 3:if(s=e.correlationId||this.config.cryptoInterface.createNewGuid(),r.addCorrelationId(s),(!ZZ.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&r.addClaims(e.claims,this.config.authOptions.clientCapabilities),c=void 0,e.clientInfo)try{l=W1(e.clientInfo,this.cryptoUtils),c={credential:""+l.uid+OJ.CLIENT_INFO_SEPARATOR+l.utid,type:K1.HOME_ACCOUNT_ID}}catch(Ple){this.logger.verbose("Could not parse client info for CCS Header: "+Ple)}else c=e.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&c)switch(c.type){case K1.HOME_ACCOUNT_ID:try{l=G1(c.credential),r.addCcsOid(l)}catch(Ple){this.logger.verbose("Could not parse home account ID for CCS Header: "+Ple)}break;case K1.UPN:r.addCcsUpn(c.credential)}return e.tokenBodyParameters&&r.addExtraQueryParameters(e.tokenBodyParameters),!e.enableSpaAuthorizationCode||e.tokenBodyParameters&&e.tokenBodyParameters[kJ.RETURN_SPA_CODE]||r.addExtraQueryParameters(((u={})[kJ.RETURN_SPA_CODE]="1",u)),[2,r.createQueryString()]}}))}))},t.prototype.createAuthCodeUrlQueryString=function(e){var t;return _J(this,void 0,void 0,(function(){var n,r,o,i,a,s,c;return CJ(this,(function(l){switch(l.label){case 0:if(null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.AuthClientCreateQueryString,e.correlationId),(n=new L2).addClientId(this.config.authOptions.clientId),r=wJ(e.scopes||[],e.extraScopesToConsent||[]),n.addScopes(r),n.addRedirectUri(e.redirectUri),o=e.correlationId||this.config.cryptoInterface.createNewGuid(),n.addCorrelationId(o),n.addResponseMode(e.responseMode),n.addResponseTypeCode(),n.addLibraryInfo(this.config.libraryInfo),n.addApplicationTelemetry(this.config.telemetry.application),n.addClientInfo(),e.codeChallenge&&e.codeChallengeMethod&&n.addCodeChallengeParams(e.codeChallenge,e.codeChallengeMethod),e.prompt&&n.addPrompt(e.prompt),e.domainHint&&n.addDomainHint(e.domainHint),e.prompt!==RJ.SELECT_ACCOUNT)if(e.sid&&e.prompt===RJ.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),n.addSid(e.sid);else if(e.account){if(i=this.extractAccountSid(e.account),a=this.extractLoginHint(e.account)){this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),n.addLoginHint(a);try{s=G1(e.account.homeAccountId),n.addCcsOid(s)}catch(Ple){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(i&&e.prompt===RJ.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),n.addSid(i);try{s=G1(e.account.homeAccountId),n.addCcsOid(s)}catch(Ple){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(e.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),n.addLoginHint(e.loginHint),n.addCcsUpn(e.loginHint);else if(e.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),n.addLoginHint(e.account.username);try{s=G1(e.account.homeAccountId),n.addCcsOid(s)}catch(Ple){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else e.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),n.addLoginHint(e.loginHint),n.addCcsUpn(e.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");return e.nonce&&n.addNonce(e.nonce),e.state&&n.addState(e.state),(!ZZ.isEmpty(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&n.addClaims(e.claims,this.config.authOptions.clientCapabilities),e.extraQueryParameters&&n.addExtraQueryParameters(e.extraQueryParameters),e.nativeBroker?(n.addNativeBroker(),e.authenticationScheme!==WJ.POP?[3,2]:[4,new B2(this.cryptoUtils).generateCnf(e)]):[3,2];case 1:c=l.sent(),n.addPopToken(c.reqCnfHash),l.label=2;case 2:return[2,n.createQueryString()]}}))}))},t.prototype.createLogoutUrlQueryString=function(e){var t=new L2;return e.postLogoutRedirectUri&&t.addPostLogoutRedirectUri(e.postLogoutRedirectUri),e.correlationId&&t.addCorrelationId(e.correlationId),e.idTokenHint&&t.addIdTokenHint(e.idTokenHint),e.state&&t.addState(e.state),e.logoutHint&&t.addLogoutHint(e.logoutHint),e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters),t.createQueryString()},t.prototype.extractAccountSid=function(e){var t;return(null===(t=e.idTokenClaims)||void 0===t?void 0:t.sid)||null},t.prototype.extractLoginHint=function(e){var t;return(null===(t=e.idTokenClaims)||void 0===t?void 0:t.login_hint)||null},t}(O2);function V2(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}var j2={"https://login.microsoftonline.com/common/":{token_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/common/":{token_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/common/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/common/":{token_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/consumers/":{token_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/consumers/":{token_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/consumers/":{token_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/organizations/":{token_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/organizations/":{token_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/organizations/":{token_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"}},q2={"https://login.microsoftonline.com/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/common/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/consumers/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/organizations/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]}};var W2,G2=function(){function e(e,t,n){this.networkInterface=e,this.performanceClient=t,this.correlationId=n}return e.prototype.detectRegion=function(t,n){var r,o,i,a;return _J(this,void 0,void 0,(function(){var s,c,l,u,d;return CJ(this,(function(p){switch(p.label){case 0:if(null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(R$.RegionDiscoveryDetectRegion,this.correlationId),s=t)return[3,8];c=e.IMDS_OPTIONS,p.label=1;case 1:return p.trys.push([1,6,,7]),null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(R$.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(IJ.IMDS_VERSION,c)];case 2:return(l=p.sent()).status===YJ.httpSuccess&&(s=l.body,n.region_source=QJ.IMDS),l.status!==YJ.httpBadRequest?[3,5]:(null===(i=this.performanceClient)||void 0===i||i.setPreQueueTime(R$.RegionDiscoveryGetCurrentVersion,this.correlationId),[4,this.getCurrentVersion(c)]);case 3:return(u=p.sent())?(null===(a=this.performanceClient)||void 0===a||a.setPreQueueTime(R$.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(u,c)]):(n.region_source=QJ.FAILED_AUTO_DETECTION,[2,null]);case 4:(d=p.sent()).status===YJ.httpSuccess&&(s=d.body,n.region_source=QJ.IMDS),p.label=5;case 5:return[3,7];case 6:return p.sent(),n.region_source=QJ.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:n.region_source=QJ.ENVIRONMENT_VARIABLE,p.label=9;case 9:return s||(n.region_source=QJ.FAILED_AUTO_DETECTION),[2,s||null]}}))}))},e.prototype.getRegionFromIMDS=function(e,t){var n;return _J(this,void 0,void 0,(function(){return CJ(this,(function(r){return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(R$.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[2,this.networkInterface.sendGetRequestAsync(IJ.IMDS_ENDPOINT+"?api-version="+e+"&format=text",t,IJ.IMDS_TIMEOUT)]}))}))},e.prototype.getCurrentVersion=function(e){var t;return _J(this,void 0,void 0,(function(){var n;return CJ(this,(function(r){switch(r.label){case 0:null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.RegionDiscoveryGetCurrentVersion,this.correlationId),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(IJ.IMDS_ENDPOINT+"?format=json",e)];case 2:return(n=r.sent()).status===YJ.httpBadRequest&&n.body&&n.body["newest-versions"]&&n.body["newest-versions"].length>0?[2,n.body["newest-versions"][0]]:[2,null];case 3:return r.sent(),[2,null];case 4:return[2]}}))}))},e.IMDS_OPTIONS={headers:{Metadata:"true"}},e}(),K2=function(){function e(e,t,n,r,o,i,a){this.canonicalAuthority=e,this._canonicalAuthority.validateAsUri(),this.networkInterface=t,this.cacheManager=n,this.authorityOptions=r,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=o,this.performanceClient=i,this.correlationId=a,this.regionDiscovery=new G2(t,this.performanceClient,this.correlationId)}return Object.defineProperty(e.prototype,"authorityType",{get:function(){if(this.canonicalAuthorityUrlComponents.HostNameAndPort.endsWith(IJ.CIAM_AUTH_URL))return h1.Ciam;var e=this.canonicalAuthorityUrlComponents.PathSegments;if(e.length)switch(e[0].toLowerCase()){case IJ.ADFS:return h1.Adfs;case IJ.DSTS:return h1.Dsts}return h1.Default},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"protocolMode",{get:function(){return this.authorityOptions.protocolMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.authorityOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthority",{get:function(){return this._canonicalAuthority.urlString},set:function(e){this._canonicalAuthority=new d2(e),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthorityUrlComponents",{get:function(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostnameAndPort",{get:function(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tenant",{get:function(){return this.canonicalAuthorityUrlComponents.PathSegments[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authorizationEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.authorization_endpoint);return this.replaceTenant(e)}throw $Z.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint);return this.replaceTenant(e)}throw $Z.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"deviceCodeEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));return this.replaceTenant(e)}throw $Z.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw $Z.createLogoutNotSupportedError();var e=this.replacePath(this.metadata.end_session_endpoint);return this.replaceTenant(e)}throw $Z.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.issuer);return this.replaceTenant(e)}throw $Z.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"jwksUri",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.jwks_uri);return this.replaceTenant(e)}throw $Z.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),e.prototype.replaceTenant=function(e){return e.replace(/{tenant}|{tenantid}/g,this.tenant)},e.prototype.replacePath=function(e){var t=e,n=new d2(this.metadata.canonical_authority).getUrlComponents().PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((function(e,r){var o=n[r];e!==o&&(t=t.replace("/"+o+"/","/"+e+"/"))})),t},Object.defineProperty(e.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===h1.Adfs||this.authorityType===h1.Dsts||this.protocolMode===c2.OIDC?this.canonicalAuthority+".well-known/openid-configuration":this.canonicalAuthority+"v2.0/.well-known/openid-configuration"},enumerable:!1,configurable:!0}),e.prototype.discoveryComplete=function(){return!!this.metadata},e.prototype.resolveEndpointsAsync=function(){var e,t,n;return _J(this,void 0,void 0,(function(){var r,o,i,a;return CJ(this,(function(s){switch(s.label){case 0:return null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(R$.AuthorityResolveEndpointsAsync,this.correlationId),(r=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort))||(r=new i2).updateCanonicalAuthority(this.canonicalAuthority),null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(R$.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),[4,this.updateCloudDiscoveryMetadata(r)];case 1:return o=s.sent(),this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,r.preferred_network),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(R$.AuthorityUpdateEndpointMetadata,this.correlationId),[4,this.updateEndpointMetadata(r)];case 2:return i=s.sent(),o!==zJ.CACHE&&i!==zJ.CACHE&&(r.resetExpiresAt(),r.updateCanonicalAuthority(this.canonicalAuthority)),a=this.cacheManager.generateAuthorityMetadataCacheKey(r.preferred_cache),this.cacheManager.setAuthorityMetadata(a,r),this.metadata=r,[2]}}))}))},e.prototype.updateEndpointMetadata=function(e){var t,n,r,o,i,a;return _J(this,void 0,void 0,(function(){var s,c;return CJ(this,(function(l){switch(l.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.AuthorityUpdateEndpointMetadata,this.correlationId),(s=this.getEndpointMetadataFromConfig())?(e.updateEndpointMetadata(s,!1),[2,zJ.CONFIG]):this.isAuthoritySameType(e)&&e.endpointsFromNetwork&&!e.isExpired()?[2,zJ.CACHE]:(null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(R$.AuthorityGetEndpointMetadataFromNetwork,this.correlationId),[4,this.getEndpointMetadataFromNetwork()]);case 1:return(s=l.sent())?(null===(r=this.authorityOptions.azureRegionConfiguration)||void 0===r?void 0:r.azureRegion)?(null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(R$.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),[4,this.updateMetadataWithRegionalInformation(s)]):[3,3]:[3,4];case 2:s=l.sent(),l.label=3;case 3:return e.updateEndpointMetadata(s,!0),[2,zJ.NETWORK];case 4:return!(c=this.getEndpointMetadataFromHardcodedValues())||this.authorityOptions.skipAuthorityMetadataCache?[3,7]:(null===(i=this.authorityOptions.azureRegionConfiguration)||void 0===i?void 0:i.azureRegion)?(null===(a=this.performanceClient)||void 0===a||a.setPreQueueTime(R$.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),[4,this.updateMetadataWithRegionalInformation(c)]):[3,6];case 5:c=l.sent(),l.label=6;case 6:return e.updateEndpointMetadata(c,!1),[2,zJ.HARDCODED_VALUES];case 7:throw $Z.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}}))}))},e.prototype.isAuthoritySameType=function(e){return new d2(e.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length},e.prototype.getEndpointMetadataFromConfig=function(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch(Ple){throw j1.createInvalidAuthorityMetadataError()}return null},e.prototype.getEndpointMetadataFromNetwork=function(){var e;return _J(this,void 0,void 0,(function(){var t,n;return CJ(this,(function(r){switch(r.label){case 0:null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(R$.AuthorityGetEndpointMetadataFromNetwork,this.correlationId),t={},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint,t)];case 2:return[2,V2((n=r.sent()).body)?n.body:null];case 3:return r.sent(),[2,null];case 4:return[2]}}))}))},e.prototype.getEndpointMetadataFromHardcodedValues=function(){return this.canonicalAuthority in j2?j2[this.canonicalAuthority]:null},e.prototype.updateMetadataWithRegionalInformation=function(t){var n,r,o,i,a,s,c;return _J(this,void 0,void 0,(function(){var l,u;return CJ(this,(function(d){switch(d.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(R$.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(R$.RegionDiscoveryDetectRegion,this.correlationId),[4,this.regionDiscovery.detectRegion(null===(o=this.authorityOptions.azureRegionConfiguration)||void 0===o?void 0:o.environmentRegion,this.regionDiscoveryMetadata)];case 1:return l=d.sent(),u=(null===(i=this.authorityOptions.azureRegionConfiguration)||void 0===i?void 0:i.azureRegion)===IJ.AZURE_REGION_AUTO_DISCOVER_FLAG?l:null===(a=this.authorityOptions.azureRegionConfiguration)||void 0===a?void 0:a.azureRegion,(null===(s=this.authorityOptions.azureRegionConfiguration)||void 0===s?void 0:s.azureRegion)===IJ.AZURE_REGION_AUTO_DISCOVER_FLAG?this.regionDiscoveryMetadata.region_outcome=l?XJ.AUTO_DETECTION_REQUESTED_SUCCESSFUL:XJ.AUTO_DETECTION_REQUESTED_FAILED:this.regionDiscoveryMetadata.region_outcome=l?(null===(c=this.authorityOptions.azureRegionConfiguration)||void 0===c?void 0:c.azureRegion)===l?XJ.CONFIGURED_MATCHES_DETECTED:XJ.CONFIGURED_NOT_DETECTED:XJ.CONFIGURED_NO_AUTO_DETECTION,u?(this.regionDiscoveryMetadata.region_used=u,[2,e.replaceWithRegionalInformation(t,u)]):[2,t]}}))}))},e.prototype.updateCloudDiscoveryMetadata=function(e){var t,n;return _J(this,void 0,void 0,(function(){var r,o,i;return CJ(this,(function(a){switch(a.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),this.logger.verbose("Attempting to get cloud discovery metadata in the config"),this.logger.verbosePii("Known Authorities: "+(this.authorityOptions.knownAuthorities||IJ.NOT_APPLICABLE)),this.logger.verbosePii("Authority Metadata: "+(this.authorityOptions.authorityMetadata||IJ.NOT_APPLICABLE)),this.logger.verbosePii("Canonical Authority: "+(e.canonical_authority||IJ.NOT_APPLICABLE)),(r=this.getCloudDiscoveryMetadataFromConfig())?(this.logger.verbose("Found cloud discovery metadata in the config."),e.updateCloudDiscoveryMetadata(r,!1),[2,zJ.CONFIG]):(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the cache."),o=e.isExpired(),this.isAuthoritySameType(e)&&e.aliasesFromNetwork&&!o?(this.logger.verbose("Found metadata in the cache."),[2,zJ.CACHE]):(o&&this.logger.verbose("The metadata entity is expired."),this.logger.verbose("Did not find cloud discovery metadata in the cache... Attempting to get cloud discovery metadata from the network."),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(R$.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),[4,this.getCloudDiscoveryMetadataFromNetwork()]));case 1:if(r=a.sent())return this.logger.verbose("cloud discovery metadata was successfully returned from getCloudDiscoveryMetadataFromNetwork()"),e.updateCloudDiscoveryMetadata(r,!0),[2,zJ.NETWORK];if(this.logger.verbose("Did not find cloud discovery metadata from the network... Attempting to get cloud discovery metadata from hardcoded values."),(i=this.getCloudDiscoveryMetadataFromHarcodedValues())&&!this.options.skipAuthorityMetadataCache)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),e.updateCloudDiscoveryMetadata(i,!1),[2,zJ.HARDCODED_VALUES];throw this.logger.error("Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error."),j1.createUntrustedAuthorityError()}}))}))},e.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityType===h1.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");var t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),n=e.getCloudDiscoveryMetadataFromNetworkResponse(t.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),n)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),n;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch(Ple){throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),j1.createInvalidCloudDiscoveryMetadataError()}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null},e.prototype.getCloudDiscoveryMetadataFromNetwork=function(){var t;return _J(this,void 0,void 0,(function(){var n,r,o,i,a,s,c,l;return CJ(this,(function(u){switch(u.label){case 0:null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),n=""+IJ.AAD_INSTANCE_DISCOVERY_ENDPT+this.canonicalAuthority+"oauth2/v2.0/authorize",r={},o=null,u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(n,r)];case 2:if(i=u.sent(),a=void 0,s=void 0,function(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}(i.body))a=i.body,s=a.metadata,this.logger.verbosePii("tenant_discovery_endpoint is: "+a.tenant_discovery_endpoint);else{if(!function(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}(i.body))return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),[2,null];if(this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: "+i.status),(a=i.body).error===IJ.INVALID_INSTANCE)return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),[2,null];this.logger.warning("The CloudInstanceDiscoveryErrorResponse error is "+a.error),this.logger.warning("The CloudInstanceDiscoveryErrorResponse error description is "+a.error_description),this.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),s=[]}return this.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),o=e.getCloudDiscoveryMetadataFromNetworkResponse(s,this.hostnameAndPort),[3,4];case 3:return(c=u.sent())instanceof q$?this.logger.error("There was a network error while attempting to get the cloud discovery instance metadata.\nError: "+c.errorCode+"\nError Description: "+c.errorMessage):(l=c,this.logger.error("A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: "+l.name+"\nError Description: "+l.message)),[2,null];case 4:return o||(this.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),this.logger.verbose("Creating custom Authority for custom domain scenario."),o=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),[2,o]}}))}))},e.prototype.getCloudDiscoveryMetadataFromHarcodedValues=function(){return this.canonicalAuthority in q2?q2[this.canonicalAuthority]:null},e.prototype.isInKnownAuthorities=function(){var e=this;return this.authorityOptions.knownAuthorities.filter((function(t){return d2.getDomainFromUrl(t).toLowerCase()===e.hostnameAndPort})).length>0},e.generateAuthority=function(e,t){var n;if(t&&t.azureCloudInstance!==l2.None){var r=t.tenant?t.tenant:IJ.DEFAULT_COMMON_TENANT;n=t.azureCloudInstance+"/"+r+"/"}return n||e},e.createCloudDiscoveryMetadataFromHost=function(e){return{preferred_network:e,preferred_cache:e,aliases:[e]}},e.getCloudDiscoveryMetadataFromNetworkResponse=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.aliases.indexOf(t)>-1)return r}return null},e.prototype.getPreferredCache=function(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw $Z.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},e.prototype.isAlias=function(e){return this.metadata.aliases.indexOf(e)>-1},e.isPublicCloudAuthority=function(e){return IJ.KNOWN_PUBLIC_CLOUDS.indexOf(e)>=0},e.buildRegionalAuthorityString=function(e,t,n){var r=new d2(e);r.validateAsUri();var o=r.getUrlComponents(),i=t+"."+o.HostNameAndPort;this.isPublicCloudAuthority(o.HostNameAndPort)&&(i=t+"."+IJ.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var a=d2.constructAuthorityUriFromObject(bJ(bJ({},r.getUrlComponents()),{HostNameAndPort:i})).urlString;return n?a+"?"+n:a},e.replaceWithRegionalInformation=function(t,n){return t.authorization_endpoint=e.buildRegionalAuthorityString(t.authorization_endpoint,n),t.token_endpoint=e.buildRegionalAuthorityString(t.token_endpoint,n,IJ.REGIONAL_AUTH_NON_MSI_QUERY_STRING),t.end_session_endpoint&&(t.end_session_endpoint=e.buildRegionalAuthorityString(t.end_session_endpoint,n)),t},e.transformCIAMAuthority=function(e){var t=e.endsWith(IJ.FORWARD_SLASH)?e:""+e+IJ.FORWARD_SLASH,n=new d2(e).getUrlComponents();0===n.PathSegments.length&&n.HostNameAndPort.endsWith(IJ.CIAM_AUTH_URL)&&(t=""+t+n.HostNameAndPort.split(".")[0]+IJ.AAD_TENANT_DOMAIN_SUFFIX);return t},e}(),Y2=function(){function e(){}return e.createDiscoveredInstance=function(t,n,r,o,i,a,s){return _J(this,void 0,void 0,(function(){var c,l,u;return CJ(this,(function(d){switch(d.label){case 0:null===a||void 0===a||a.addQueueMeasurement(R$.AuthorityFactoryCreateDiscoveredInstance,s),c=K2.transformCIAMAuthority(t),l=e.createInstance(c,n,r,o,i,a,s),d.label=1;case 1:return d.trys.push([1,3,,4]),null===a||void 0===a||a.setPreQueueTime(R$.AuthorityResolveEndpointsAsync,s),[4,l.resolveEndpointsAsync()];case 2:return d.sent(),[2,l];case 3:throw u=d.sent(),$Z.createEndpointDiscoveryIncompleteError(u);case 4:return[2]}}))}))},e.createInstance=function(e,t,n,r,o,i,a){if(ZZ.isEmpty(e))throw j1.createUrlEmptyError();return new K2(e,t,n,r,o,i,a)},e}(),Q2=function(){function e(e,t){this.cacheOutcome=JJ.NO_CACHE_HIT,this.cacheManager=t,this.apiId=e.apiId,this.correlationId=e.correlationId,this.wrapperSKU=e.wrapperSKU||IJ.EMPTY_STRING,this.wrapperVer=e.wrapperVer||IJ.EMPTY_STRING,this.telemetryCacheKey=GJ.CACHE_KEY+OJ.CACHE_KEY_SEPARATOR+e.clientId}return e.prototype.generateCurrentRequestHeaderValue=function(){var e=""+this.apiId+GJ.VALUE_SEPARATOR+this.cacheOutcome,t=[this.wrapperSKU,this.wrapperVer].join(GJ.VALUE_SEPARATOR),n=[e,this.getRegionDiscoveryFields()].join(GJ.VALUE_SEPARATOR);return[GJ.SCHEMA_VERSION,n,t].join(GJ.CATEGORY_SEPARATOR)},e.prototype.generateLastRequestHeaderValue=function(){var t=this.getLastRequests(),n=e.maxErrorsToSend(t),r=t.failedRequests.slice(0,2*n).join(GJ.VALUE_SEPARATOR),o=t.errors.slice(0,n).join(GJ.VALUE_SEPARATOR),i=t.errors.length,a=[i,n<i?GJ.OVERFLOW_TRUE:GJ.OVERFLOW_FALSE].join(GJ.VALUE_SEPARATOR);return[GJ.SCHEMA_VERSION,t.cacheHits,r,o,a].join(GJ.CATEGORY_SEPARATOR)},e.prototype.cacheFailedRequest=function(e){var t=this.getLastRequests();t.errors.length>=GJ.MAX_CACHED_ERRORS&&(t.failedRequests.shift(),t.failedRequests.shift(),t.errors.shift()),t.failedRequests.push(this.apiId,this.correlationId),ZZ.isEmpty(e.subError)?ZZ.isEmpty(e.errorCode)?e&&e.toString()?t.errors.push(e.toString()):t.errors.push(GJ.UNKNOWN_ERROR):t.errors.push(e.errorCode):t.errors.push(e.subError),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t)},e.prototype.incrementCacheHits=function(){var e=this.getLastRequests();return e.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e),e.cacheHits},e.prototype.getLastRequests=function(){var e=new o2;return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||e},e.prototype.clearTelemetryCache=function(){var t=this.getLastRequests(),n=e.maxErrorsToSend(t);if(n===t.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{var r=new o2;r.failedRequests=t.failedRequests.slice(2*n),r.errors=t.errors.slice(n),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,r)}},e.maxErrorsToSend=function(e){var t,n=0,r=0,o=e.errors.length;for(t=0;t<o;t++){var i=e.failedRequests[2*t]||IJ.EMPTY_STRING,a=e.failedRequests[2*t+1]||IJ.EMPTY_STRING,s=e.errors[t]||IJ.EMPTY_STRING;if(!((r+=i.toString().length+a.toString().length+s.length+3)<GJ.MAX_LAST_HEADER_BYTES))break;n+=1}return n},e.prototype.getRegionDiscoveryFields=function(){var e=[];return e.push(this.regionUsed||IJ.EMPTY_STRING),e.push(this.regionSource||IJ.EMPTY_STRING),e.push(this.regionOutcome||IJ.EMPTY_STRING),e.join(",")},e.prototype.updateRegionDiscoveryMetadata=function(e){this.regionUsed=e.region_used,this.regionSource=e.region_source,this.regionOutcome=e.region_outcome},e.prototype.setCacheOutcome=function(e){this.cacheOutcome=e},e}(),X2=function(){function e(e,t,n,r,o,i,a,s,c){this.config=e,this.browserStorage=t,this.browserCrypto=n,this.networkClient=this.config.system.networkClient,this.eventHandler=o,this.navigationClient=i,this.nativeMessageHandler=s,this.correlationId=c||this.browserCrypto.createNewGuid(),this.logger=r.clone(b$,A2,this.correlationId),this.performanceClient=a}return e.prototype.clearCacheOnLogout=function(e){return O$(this,void 0,void 0,(function(){return F$(this,(function(t){switch(t.label){case 0:if(!e)return[3,5];Y1.accountInfoIsEqual(e,this.browserStorage.getActiveAccount(),!1)&&(this.logger.verbose("Setting active account to null"),this.browserStorage.setActiveAccount(null)),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.browserStorage.removeAccount(Y1.generateAccountCacheKey(e))];case 2:return t.sent(),this.logger.verbose("Cleared cache items belonging to the account provided in the logout request."),[3,4];case 3:return t.sent(),this.logger.error("Account provided in logout request was not found. Local cache unchanged."),[3,4];case 4:return[3,9];case 5:return t.trys.push([5,8,,9]),this.logger.verbose("No account provided in logout request, clearing all cache items.",this.correlationId),[4,this.browserStorage.clear()];case 6:return t.sent(),[4,this.browserCrypto.clearKeystore()];case 7:return t.sent(),[3,9];case 8:return t.sent(),this.logger.error("Attempted to clear all MSAL cache items and failed. Local cache unchanged."),[3,9];case 9:return[2]}}))}))},e.prototype.initializeBaseRequest=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o;return F$(this,(function(i){switch(i.label){case 0:if(this.performanceClient.addQueueMeasurement(R$.InitializeBaseRequest,e.correlationId),this.logger.verbose("Initializing BaseAuthRequest"),t=e.authority||this.config.auth.authority,n=H$(e&&e.scopes||[]),(r=N$(N$({},e),{correlationId:this.correlationId,authority:t,scopes:n})).authenticationScheme){if(r.authenticationScheme===WJ.SSH){if(!e.sshJwk)throw j1.createMissingSshJwkError();if(!e.sshKid)throw j1.createMissingSshKidError()}this.logger.verbose('Authentication Scheme set to "'+r.authenticationScheme+'" as configured in Auth request')}else r.authenticationScheme=WJ.BEARER,this.logger.verbose('Authentication Scheme wasn\'t explicitly set in request, defaulting to "Bearer" request');return!e.claims||ZZ.isEmpty(e.claims)?[3,2]:(o=r,[4,this.browserCrypto.hashString(e.claims)]);case 1:o.requestedClaimsHash=i.sent(),i.label=2;case 2:return[2,r]}}))}))},e.prototype.getRedirectUri=function(e){this.logger.verbose("getRedirectUri called");var t=e||this.config.auth.redirectUri||x2.getCurrentUri();return d2.getAbsoluteUrl(t,x2.getCurrentUri())},e.prototype.initializeServerTelemetryManager=function(e,t){this.logger.verbose("initializeServerTelemetryManager called");var n={clientId:this.config.auth.clientId,correlationId:this.correlationId,apiId:e,forceRefresh:t||!1,wrapperSKU:this.browserStorage.getWrapperMetadata()[0],wrapperVer:this.browserStorage.getWrapperMetadata()[1]};return new Q2(n,this.browserStorage)},e.prototype.getDiscoveredAuthority=function(e){return O$(this,void 0,void 0,(function(){var t;return F$(this,(function(n){switch(n.label){case 0:return this.logger.verbose("getDiscoveredAuthority called"),t={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata},e?(this.logger.verbose("Creating discovered authority with request authority"),[4,Y2.createDiscoveredInstance(e,this.config.system.networkClient,this.browserStorage,t,this.logger)]):[3,2];case 1:case 3:return[2,n.sent()];case 2:return this.logger.verbose("Creating discovered authority with configured authority"),[4,Y2.createDiscoveredInstance(this.config.auth.authority,this.config.system.networkClient,this.browserStorage,t,this.logger)]}}))}))},e}(),J2=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D$(t,e),t.prototype.initializeAuthorizationCodeRequest=function(e){return O$(this,void 0,void 0,(function(){var t,n;return F$(this,(function(r){switch(r.label){case 0:return this.performanceClient.addQueueMeasurement(R$.StandardInteractionClientInitializeAuthorizationCodeRequest,e.correlationId),this.logger.verbose("initializeAuthorizationRequest called",e.correlationId),[4,this.browserCrypto.generatePkceCodes()];case 1:return t=r.sent(),n=N$(N$({},e),{redirectUri:e.redirectUri,code:IJ.EMPTY_STRING,codeVerifier:t.verifier}),e.codeChallenge=t.challenge,e.codeChallengeMethod=IJ.S256_CODE_CHALLENGE_METHOD,[2,n]}}))}))},t.prototype.initializeLogoutRequest=function(e){this.logger.verbose("initializeLogoutRequest called",null===e||void 0===e?void 0:e.correlationId);var t=N$({correlationId:this.correlationId||this.browserCrypto.createNewGuid()},e);if(e)if(e.logoutHint)this.logger.verbose("logoutHint has already been set in logoutRequest");else if(e.account){var n=this.getLogoutHintFromIdTokenClaims(e.account);n&&(this.logger.verbose("Setting logoutHint to login_hint ID Token Claim value for the account provided"),t.logoutHint=n)}else this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");else this.logger.verbose("logoutHint will not be set since no logout request was configured");return e&&null===e.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri",t.correlationId):e&&e.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request",t.correlationId),t.postLogoutRedirectUri=d2.getAbsoluteUrl(e.postLogoutRedirectUri,x2.getCurrentUri())):null===this.config.auth.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect",t.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to configured uri",t.correlationId),t.postLogoutRedirectUri=d2.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,x2.getCurrentUri())):(this.logger.verbose("Setting postLogoutRedirectUri to current page",t.correlationId),t.postLogoutRedirectUri=d2.getAbsoluteUrl(x2.getCurrentUri(),x2.getCurrentUri())),t},t.prototype.getLogoutHintFromIdTokenClaims=function(e){var t=e.idTokenClaims;if(t){if(t.login_hint)return t.login_hint;this.logger.verbose("The ID Token Claims tied to the provided account do not contain a login_hint claim, logoutHint will not be added to logout request")}else this.logger.verbose("The provided account does not contain ID Token Claims, logoutHint will not be added to logout request");return null},t.prototype.createAuthCodeClient=function(e,t,n){return O$(this,void 0,void 0,(function(){var r;return F$(this,(function(o){switch(o.label){case 0:return this.performanceClient.addQueueMeasurement(R$.StandardInteractionClientCreateAuthCodeClient,this.correlationId),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(e,t,n)];case 1:return r=o.sent(),[2,new U2(r,this.performanceClient)]}}))}))},t.prototype.getClientConfiguration=function(e,t,n){return O$(this,void 0,void 0,(function(){var r,o;return F$(this,(function(i){switch(i.label){case 0:return this.performanceClient.addQueueMeasurement(R$.StandardInteractionClientGetClientConfiguration,this.correlationId),this.logger.verbose("getClientConfiguration called",this.correlationId),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),[4,this.getDiscoveredAuthority(t,n)];case 1:return r=i.sent(),o=this.config.system.loggerOptions,[2,{authOptions:{clientId:this.config.auth.clientId,authority:r,clientCapabilities:this.config.auth.clientCapabilities},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:o.loggerCallback,piiLoggingEnabled:o.piiLoggingEnabled,logLevel:o.logLevel,correlationId:this.correlationId},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:e,libraryInfo:{sku:b$,version:A2,cpu:IJ.EMPTY_STRING,os:IJ.EMPTY_STRING},telemetry:this.config.telemetry}]}}))}))},t.prototype.validateAndExtractStateFromHash=function(e,t,n){if(this.logger.verbose("validateAndExtractStateFromHash called",n),!e.state)throw W0.createHashDoesNotContainStateError();var r=p2.extractBrowserRequestState(this.browserCrypto,e.state);if(!r)throw W0.createUnableToParseStateError();if(r.interactionType!==t)throw W0.createStateInteractionTypeMismatchError();return this.logger.verbose("Returning state from hash",n),e.state},t.prototype.getDiscoveredAuthority=function(e,t){var n;return O$(this,void 0,void 0,(function(){var r,o,i,a;return F$(this,(function(s){switch(s.label){case 0:return this.performanceClient.addQueueMeasurement(R$.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),this.logger.verbose("getDiscoveredAuthority called",this.correlationId),r=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(R$.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),o={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},i=e||this.config.auth.authority,a=K2.generateAuthority(i,t||this.config.auth.azureCloudOptions),this.logger.verbose("Creating discovered authority with configured authority",this.correlationId),this.performanceClient.setPreQueueTime(R$.AuthorityFactoryCreateDiscoveredInstance,this.correlationId),[4,Y2.createDiscoveredInstance(a,this.config.system.networkClient,this.browserStorage,o,this.logger,this.performanceClient,this.correlationId).then((function(e){return r.endMeasurement({success:!0}),e})).catch((function(e){throw r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e}))];case 1:return[2,s.sent()]}}))}))},t.prototype.initializeAuthorizationRequest=function(e,t){return O$(this,void 0,void 0,(function(){var n,r,o,i,a,s,c;return F$(this,(function(l){switch(l.label){case 0:return this.performanceClient.addQueueMeasurement(R$.StandardInteractionClientInitializeAuthorizationRequest,this.correlationId),this.logger.verbose("initializeAuthorizationRequest called",this.correlationId),n=this.getRedirectUri(e.redirectUri),r={interactionType:t},o=s2.setRequestState(this.browserCrypto,e&&e.state||IJ.EMPTY_STRING,r),this.performanceClient.setPreQueueTime(R$.InitializeBaseRequest,this.correlationId),a=[{}],[4,this.initializeBaseRequest(e)];case 1:return i=N$.apply(void 0,[N$.apply(void 0,a.concat([l.sent()])),{redirectUri:n,state:o,nonce:e.nonce||this.browserCrypto.createNewGuid(),responseMode:MJ.FRAGMENT}]),(s=e.account||this.browserStorage.getActiveAccount())&&(this.logger.verbose("Setting validated request account",this.correlationId),this.logger.verbosePii("Setting validated request account: "+s.homeAccountId,this.correlationId),i.account=s),ZZ.isEmpty(i.loginHint)&&!s&&(c=this.browserStorage.getLegacyLoginHint())&&(i.loginHint=c),[2,i]}}))}))},t}(X2);!function(e){e.USER_INTERACTION_REQUIRED="USER_INTERACTION_REQUIRED",e.USER_CANCEL="USER_CANCEL",e.NO_NETWORK="NO_NETWORK",e.TRANSIENT_ERROR="TRANSIENT_ERROR",e.PERSISTENT_ERROR="PERSISTENT_ERROR",e.DISABLED="DISABLED",e.ACCOUNT_UNAVAILABLE="ACCOUNT_UNAVAILABLE"}(W2||(W2={}));var $2={code:"ContentError"},Z2={code:"user_switch",desc:"User attempted to switch accounts in the native broker, which is not allowed. All new accounts must sign-in through the standard web flow first, please try again."},e4={code:"tokens_not_found_in_internal_memory_cache",desc:"Tokens not cached in MSAL JS internal memory, please make the WAM request"},t4=function(e){function t(n,r,o){var i=e.call(this,n,r)||this;return Object.setPrototypeOf(i,t.prototype),i.name="NativeAuthError",i.ext=o,i}return D$(t,e),t.prototype.isFatal=function(){return!(!this.ext||!this.ext.status||this.ext.status!==W2.PERSISTENT_ERROR&&this.ext.status!==W2.DISABLED)||this.errorCode===$2.code},t.createError=function(e,n,r){if(r&&r.status)switch(r.status){case W2.ACCOUNT_UNAVAILABLE:return X$.createNativeAccountUnavailableError();case W2.USER_INTERACTION_REQUIRED:return new X$(e,n);case W2.USER_CANCEL:return W0.createUserCancelledError();case W2.NO_NETWORK:return W0.createNoNetworkConnectivityError()}return new t(e,n,r)},t.createUserSwitchError=function(){return new t(Z2.code,Z2.desc)},t.createTokensNotFoundInCacheError=function(){return new t(e4.code,e4.desc)},t}(q$),n4=function(e){function t(t,n){return e.call(this,t,n)||this}return yJ(t,e),t.prototype.acquireToken=function(e){var t,n,r,o,i,a,s;return _J(this,void 0,void 0,(function(){var c,l,u,d,p,h,f=this;return CJ(this,(function(m){switch(m.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.RefreshTokenClientAcquireToken,e.correlationId),c=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(R$.RefreshTokenClientAcquireToken,e.correlationId),this.logger.verbose("RefreshTokenClientAcquireToken called",e.correlationId),l=e2.nowSeconds(),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(R$.RefreshTokenClientExecuteTokenRequest,e.correlationId),[4,this.executeTokenRequest(e,this.authority)];case 1:return u=m.sent(),d=null===(o=u.headers)||void 0===o?void 0:o[EJ.X_MS_HTTP_VERSION],null===c||void 0===c||c.addStaticFields({refreshTokenSize:(null===(i=u.body.refresh_token)||void 0===i?void 0:i.length)||0}),d&&(null===c||void 0===c||c.addStaticFields({httpVerToken:d})),p=null===(a=u.headers)||void 0===a?void 0:a[EJ.X_MS_REQUEST_ID],(h=new z2(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(u.body),null===(s=this.performanceClient)||void 0===s||s.setPreQueueTime(R$.HandleServerTokenResponse,e.correlationId),[2,h.handleServerTokenResponse(u.body,this.authority,l,e,void 0,void 0,!0,e.forceCache,p).then((function(e){return null===c||void 0===c||c.endMeasurement({success:!0}),e})).catch((function(t){throw f.logger.verbose("Error in fetching refresh token",e.correlationId),null===c||void 0===c||c.endMeasurement({errorCode:t.errorCode,subErrorCode:t.subError,success:!1}),t}))]}}))}))},t.prototype.acquireTokenByRefreshToken=function(e){var t,n,r,o;return _J(this,void 0,void 0,(function(){var i,a;return CJ(this,(function(s){if(!e)throw j1.createEmptyTokenRequestError();if(null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.RefreshTokenClientAcquireTokenByRefreshToken,e.correlationId),!e.account)throw $Z.createNoAccountInSilentRequestError();if(this.cacheManager.isAppMetadataFOCI(e.account.environment))try{return null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(R$.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!0)]}catch(Ple){if(i=Ple instanceof X$&&Ple.errorCode===Y$.code,a=Ple instanceof W$&&Ple.errorCode===r$&&Ple.subError===o$,i||a)return null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(R$.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!1)];throw Ple}return null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(R$.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!1)]}))}))},t.prototype.acquireTokenWithCachedRefreshToken=function(e,t){var n,r,o;return _J(this,void 0,void 0,(function(){var i,a,s;return CJ(this,(function(c){if(null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(R$.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),i=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(R$.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called",e.correlationId),!(a=this.cacheManager.getRefreshToken(e.account,t)))throw null===i||void 0===i||i.discardMeasurement(),X$.createNoTokensFoundError();return null===i||void 0===i||i.endMeasurement({success:!0}),s=bJ(bJ({},e),{refreshToken:a.secret,authenticationScheme:e.authenticationScheme||WJ.BEARER,ccsCredential:{credential:e.account.homeAccountId,type:K1.HOME_ACCOUNT_ID}}),null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(R$.RefreshTokenClientAcquireToken,e.correlationId),[2,this.acquireToken(s)]}))}))},t.prototype.executeTokenRequest=function(e,t){var n,r,o;return _J(this,void 0,void 0,(function(){var i,a,s,c,l,u;return CJ(this,(function(d){switch(d.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(R$.RefreshTokenClientExecuteTokenRequest,e.correlationId),i=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(R$.RefreshTokenClientExecuteTokenRequest,e.correlationId),null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(R$.RefreshTokenClientCreateTokenRequestBody,e.correlationId),a=this.createTokenQueryParameters(e),s=d2.appendQueryString(t.tokenEndpoint,a),[4,this.createTokenRequestBody(e)];case 1:return c=d.sent(),l=this.createTokenRequestHeaders(e.ccsCredential),u={clientId:this.config.authOptions.clientId,authority:t.canonicalAuthority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},[2,this.executePostToTokenEndpoint(s,c,l,u).then((function(e){return null===i||void 0===i||i.endMeasurement({success:!0}),e})).catch((function(e){throw null===i||void 0===i||i.endMeasurement({success:!1}),e}))]}}))}))},t.prototype.createTokenRequestBody=function(e){var t,n,r;return _J(this,void 0,void 0,(function(){var o,i,a,s,c,l,u;return CJ(this,(function(d){switch(d.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(R$.RefreshTokenClientCreateTokenRequestBody,e.correlationId),o=e.correlationId,i=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(R$.BaseClientCreateTokenRequestHeaders,o),(a=new L2).addClientId(this.config.authOptions.clientId),a.addScopes(e.scopes),a.addGrantType(NJ.REFRESH_TOKEN_GRANT),a.addClientInfo(),a.addLibraryInfo(this.config.libraryInfo),a.addApplicationTelemetry(this.config.telemetry.application),a.addThrottling(),this.serverTelemetryManager&&a.addServerTelemetry(this.serverTelemetryManager),a.addCorrelationId(o),a.addRefreshToken(e.refreshToken),this.config.clientCredentials.clientSecret&&a.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(s=this.config.clientCredentials.clientAssertion,a.addClientAssertion(s.assertion),a.addClientAssertionType(s.assertionType)),e.authenticationScheme!==WJ.POP?[3,2]:(c=new B2(this.cryptoUtils,this.performanceClient),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(R$.PopTokenGenerateCnf,e.correlationId),[4,c.generateCnf(e)]);case 1:return l=d.sent(),a.addPopToken(l.reqCnfString),[3,3];case 2:if(e.authenticationScheme===WJ.SSH){if(!e.sshJwk)throw null===i||void 0===i||i.endMeasurement({success:!1}),j1.createMissingSshJwkError();a.addSshJwk(e.sshJwk)}d.label=3;case 3:if((!ZZ.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&a.addClaims(e.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&e.ccsCredential)switch(e.ccsCredential.type){case K1.HOME_ACCOUNT_ID:try{u=G1(e.ccsCredential.credential),a.addCcsOid(u)}catch(Ple){this.logger.verbose("Could not parse home account ID for CCS Header: "+Ple)}break;case K1.UPN:a.addCcsUpn(e.ccsCredential.credential)}return null===i||void 0===i||i.endMeasurement({success:!0}),[2,a.createQueryString()]}}))}))},t}(O2),r4=function(e){function t(t,n){return e.call(this,t,n)||this}return yJ(t,e),t.prototype.acquireToken=function(e){return _J(this,void 0,void 0,(function(){var t;return CJ(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.acquireCachedToken(e)];case 1:return[2,n.sent()];case 2:if((t=n.sent())instanceof $Z&&t.errorCode===jZ.code)return[2,new n4(this.config,this.performanceClient).acquireTokenByRefreshToken(e)];throw t;case 3:return[2]}}))}))},t.prototype.acquireCachedToken=function(e){var t,n,r,o;return _J(this,void 0,void 0,(function(){var i,a;return CJ(this,(function(s){switch(s.label){case 0:if(!e)throw j1.createEmptyTokenRequestError();if(e.forceRefresh)throw null===(t=this.serverTelemetryManager)||void 0===t||t.setCacheOutcome(JJ.FORCE_REFRESH),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because forceRefresh is true."),$Z.createRefreshRequiredError();if(!e.account)throw $Z.createNoAccountInSilentRequestError();if(i=e.authority||this.authority.getPreferredCache(),!(a=this.cacheManager.readCacheRecord(e.account,e,i)).accessToken)throw null===(n=this.serverTelemetryManager)||void 0===n||n.setCacheOutcome(JJ.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),$Z.createRefreshRequiredError();if(e2.wasClockTurnedBack(a.accessToken.cachedAt)||e2.isTokenExpired(a.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw null===(r=this.serverTelemetryManager)||void 0===r||r.setCacheOutcome(JJ.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),$Z.createRefreshRequiredError();if(a.accessToken.refreshOn&&e2.isTokenExpired(a.accessToken.refreshOn,0))throw null===(o=this.serverTelemetryManager)||void 0===o||o.setCacheOutcome(JJ.REFRESH_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."),$Z.createRefreshRequiredError();return this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,this.generateResultFromCacheRecord(a,e)];case 1:return[2,s.sent()]}}))}))},t.prototype.generateResultFromCacheRecord=function(e,t){return _J(this,void 0,void 0,(function(){var n,r;return CJ(this,(function(o){switch(o.label){case 0:if(e.idToken&&(n=new Q1(e.idToken.secret,this.config.cryptoInterface)),t.maxAge||0===t.maxAge){if(!(r=null===n||void 0===n?void 0:n.claims.auth_time))throw $Z.createAuthTimeNotFoundError();Q1.checkMaxAge(r,t.maxAge)}return[4,z2.generateAuthenticationResult(this.cryptoUtils,this.authority,e,!0,t,n)];case 1:return[2,o.sent()]}}))}))},t}(O2),o4=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D$(t,e),t.prototype.acquireToken=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i;return F$(this,(function(a){switch(a.label){case 0:return t=this.performanceClient.startMeasurement(R$.SilentCacheClientAcquireToken,e.correlationId),n=this.initializeServerTelemetryManager(d$.acquireTokenSilent_silentFlow),[4,this.createSilentFlowClient(n,e.authority,e.azureCloudOptions)];case 1:r=a.sent(),this.logger.verbose("Silent auth client created"),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,r.acquireCachedToken(e)];case 3:return o=a.sent(),t.endMeasurement({success:!0,fromCache:!0}),[2,o];case 4:throw(i=a.sent())instanceof W0&&i.errorCode===N0.code&&this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),t.endMeasurement({errorCode:i instanceof q$&&i.errorCode||void 0,subErrorCode:i instanceof q$&&i.subError||void 0,success:!1}),i;case 5:return[2]}}))}))},t.prototype.logout=function(){return Promise.reject(W0.createSilentLogoutUnsupportedError())},t.prototype.createSilentFlowClient=function(e,t,n){return O$(this,void 0,void 0,(function(){var r;return F$(this,(function(o){switch(o.label){case 0:return this.performanceClient.setPreQueueTime(R$.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(e,t,n)];case 1:return r=o.sent(),[2,new r4(r,this.performanceClient)]}}))}))},t.prototype.initializeSilentRequest=function(e,t){return O$(this,void 0,void 0,(function(){var n;return F$(this,(function(r){switch(r.label){case 0:return this.performanceClient.addQueueMeasurement(R$.InitializeSilentRequest,this.correlationId),this.performanceClient.setPreQueueTime(R$.InitializeBaseRequest,this.correlationId),n=[N$({},e)],[4,this.initializeBaseRequest(e)];case 1:return[2,N$.apply(void 0,[N$.apply(void 0,n.concat([r.sent()])),{account:t,forceRefresh:e.forceRefresh||!1}])]}}))}))},t}(J2),i4=function(e){function t(t,n,r,o,i,a,s,c,l,u,d,p){var h=e.call(this,t,n,r,o,i,a,c,l,p)||this;return h.apiId=s,h.accountId=u,h.nativeMessageHandler=l,h.nativeStorageManager=d,h.silentCacheClient=new o4(t,h.nativeStorageManager,r,o,i,a,c,l,p),h}return D$(t,e),t.prototype.acquireToken=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a,s;return F$(this,(function(c){switch(c.label){case 0:return this.logger.trace("NativeInteractionClient - acquireToken called."),t=this.performanceClient.startMeasurement(R$.NativeInteractionClientAcquireToken,e.correlationId),n=e2.nowSeconds(),[4,this.initializeNativeRequest(e)];case 1:r=c.sent(),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,this.acquireTokensFromCache(this.accountId,r)];case 3:return o=c.sent(),t.endMeasurement({success:!0,isNativeBroker:!1,fromCache:!0}),[2,o];case 4:return c.sent(),this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"),[3,5];case 5:return i={method:i$.GetToken,request:r},[4,this.nativeMessageHandler.sendMessage(i)];case 6:return a=c.sent(),s=this.validateNativeResponse(a),[2,this.handleNativeResponse(s,r,n).then((function(e){return t.endMeasurement({success:!0,isNativeBroker:!0,requestId:e.requestId}),e})).catch((function(e){throw t.endMeasurement({success:!1,errorCode:e.errorCode,subErrorCode:e.subError,isNativeBroker:!0}),e}))]}}))}))},t.prototype.createSilentCacheRequest=function(e,t){return{authority:e.authority,correlationId:this.correlationId,scopes:q1.fromString(e.scope).asArray(),account:t,forceRefresh:!1}},t.prototype.acquireTokensFromCache=function(e,t){return O$(this,void 0,void 0,(function(){var n,r;return F$(this,(function(o){switch(o.label){case 0:if(!e)throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),$Z.createNoAccountFoundError();if(!(n=this.browserStorage.getAccountInfoFilteredBy({nativeAccountId:e})))throw $Z.createNoAccountFoundError();o.label=1;case 1:return o.trys.push([1,3,,4]),r=this.createSilentCacheRequest(t,n),[4,this.silentCacheClient.acquireToken(r)];case 2:return[2,o.sent()];case 3:throw o.sent();case 4:return[2]}}))}))},t.prototype.acquireTokenRedirect=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a;return F$(this,(function(s){switch(s.label){case 0:return this.logger.trace("NativeInteractionClient - acquireTokenRedirect called."),[4,this.initializeNativeRequest(e)];case 1:t=s.sent(),n={method:i$.GetToken,request:t},s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.nativeMessageHandler.sendMessage(n)];case 3:return r=s.sent(),this.validateNativeResponse(r),[3,5];case 4:if((o=s.sent())instanceof t4&&o.isFatal())throw o;return[3,5];case 5:return this.browserStorage.setTemporaryCache(c$.NATIVE_REQUEST,JSON.stringify(t),!0),i={apiId:d$.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=this.config.auth.navigateToLoginRequestUrl?window.location.href:this.getRedirectUri(e.redirectUri),[4,this.navigationClient.navigateExternal(a,i)];case 6:return s.sent(),[2]}}))}))},t.prototype.handleRedirectPromise=function(){return O$(this,void 0,void 0,(function(){var e,t,n,r,o,i,a,s;return F$(this,(function(c){switch(c.label){case 0:if(this.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(!(e=this.browserStorage.getCachedNativeRequest()))return this.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),[2,null];t=e.prompt,n=L$(e,["prompt"]),t&&this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(c$.NATIVE_REQUEST)),r={method:i$.GetToken,request:n},o=e2.nowSeconds(),c.label=1;case 1:return c.trys.push([1,3,,4]),this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."),[4,this.nativeMessageHandler.sendMessage(r)];case 2:return i=c.sent(),this.validateNativeResponse(i),a=this.handleNativeResponse(i,n,o),this.browserStorage.setInteractionInProgress(!1),[2,a];case 3:throw s=c.sent(),this.browserStorage.setInteractionInProgress(!1),s;case 4:return[2]}}))}))},t.prototype.logout=function(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")},t.prototype.handleNativeResponse=function(e,t,n){return O$(this,void 0,void 0,(function(){var r,o,i,a,s,c;return F$(this,(function(l){switch(l.label){case 0:if(this.logger.trace("NativeInteractionClient - handleNativeResponse called."),e.account.id!==t.accountId)throw t4.createUserSwitchError();return[4,this.getDiscoveredAuthority(t.authority)];case 1:return r=l.sent(),o=r.getPreferredCache(),i=this.createIdTokenObj(e),a=this.createHomeAccountIdentifier(e,i),s=this.createAccountEntity(e,a,i,o),[4,this.generateAuthenticationResult(e,t,i,s,r.canonicalAuthority,n)];case 2:return c=l.sent(),this.cacheAccount(s),this.cacheNativeTokens(e,t,a,i,c.accessToken,c.tenantId,n),[2,c]}}))}))},t.prototype.createIdTokenObj=function(e){return new Q1(e.id_token||IJ.EMPTY_STRING,this.browserCrypto)},t.prototype.createHomeAccountIdentifier=function(e,t){return Y1.generateHomeAccountId(e.client_info||IJ.EMPTY_STRING,h1.Default,this.logger,this.browserCrypto,t)},t.prototype.createAccountEntity=function(e,t,n,r){return Y1.createAccount(e.client_info,t,n,void 0,void 0,void 0,r,e.account.id)},t.prototype.generateScopes=function(e,t){return e.scope?q1.fromString(e.scope):q1.fromString(t.scope)},t.prototype.generatePopAccessToken=function(e,t){return O$(this,void 0,void 0,(function(){var n,r;return F$(this,(function(o){switch(o.label){case 0:if(t.tokenType!==WJ.POP)return[3,2];if(e.shr)return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),[2,e.shr];if(n=new B2(this.browserCrypto),r={resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,shrNonce:t.shrNonce},!t.keyId)throw $Z.createKeyIdMissingError();return[4,n.signPopToken(e.access_token,t.keyId,r)];case 1:return[2,o.sent()];case 2:return[2,e.access_token]}}))}))},t.prototype.generateAuthenticationResult=function(e,t,n,r,o,i){return O$(this,void 0,void 0,(function(){var a,s,c,l,u,d,p;return F$(this,(function(h){switch(h.label){case 0:return a=this.addTelemetryFromNativeResponse(e),s=e.scope?q1.fromString(e.scope):q1.fromString(t.scope),c=e.account.properties||{},l=c.UID||n.claims.oid||n.claims.sub||IJ.EMPTY_STRING,u=c.TenantId||n.claims.tid||IJ.EMPTY_STRING,[4,this.generatePopAccessToken(e,t)];case 1:return d=h.sent(),p=t.tokenType===WJ.POP?WJ.POP:WJ.BEARER,[2,{authority:o,uniqueId:l,tenantId:u,scopes:s.asArray(),account:r.getAccountInfo(),idToken:e.id_token,idTokenClaims:n.claims,accessToken:d,fromCache:!!a&&this.isResponseFromCache(a),expiresOn:new Date(1e3*Number(i+e.expires_in)),tokenType:p,correlationId:this.correlationId,state:e.state,fromNativeBroker:!0}]}}))}))},t.prototype.cacheAccount=function(e){var t=this;this.browserStorage.setAccount(e),this.browserStorage.removeAccountContext(e).catch((function(e){t.logger.error("Error occurred while removing account context from browser storage. "+e)}))},t.prototype.cacheNativeTokens=function(e,t,n,r,o,i,a){var s=_1.createIdTokenEntity(n,t.authority,e.id_token||IJ.EMPTY_STRING,t.clientId,r.claims.tid||IJ.EMPTY_STRING);this.nativeStorageManager.setIdTokenCredential(s);var c=a+(t.tokenType===WJ.POP?IJ.SHR_NONCE_VALIDITY:("string"===typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0),l=this.generateScopes(e,t),u=t2.createAccessTokenEntity(n,t.authority,o,t.clientId,i,l.printScopes(),c,0,this.browserCrypto);this.nativeStorageManager.setAccessTokenCredential(u)},t.prototype.addTelemetryFromNativeResponse=function(e){var t=this.getMATSFromResponse(e);return t?(this.performanceClient.addStaticFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:t.broker_version,matsAccountJoinOnStart:t.account_join_on_start,matsAccountJoinOnEnd:t.account_join_on_end,matsDeviceJoin:t.device_join,matsPromptBehavior:t.prompt_behavior,matsApiErrorCode:t.api_error_code,matsUiVisible:t.ui_visible,matsSilentCode:t.silent_code,matsSilentBiSubCode:t.silent_bi_sub_code,matsSilentMessage:t.silent_message,matsSilentStatus:t.silent_status,matsHttpStatus:t.http_status,matsHttpEventCount:t.http_event_count},this.correlationId),t):null},t.prototype.validateNativeResponse=function(e){if(e.hasOwnProperty("access_token")&&e.hasOwnProperty("id_token")&&e.hasOwnProperty("client_info")&&e.hasOwnProperty("account")&&e.hasOwnProperty("scope")&&e.hasOwnProperty("expires_in"))return e;throw t4.createUnexpectedError("Response missing expected properties.")},t.prototype.getMATSFromResponse=function(e){if(e.properties.MATS)try{return JSON.parse(e.properties.MATS)}catch(Ple){this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null},t.prototype.isResponseFromCache=function(e){return"undefined"===typeof e.is_cached?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!e.is_cached},t.prototype.initializeNativeRequest=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,l,u=this;return F$(this,(function(d){switch(d.label){case 0:return this.logger.trace("NativeInteractionClient - initializeNativeRequest called"),t=e.authority||this.config.auth.authority,(n=new d2(t)).validateAsUri(),r=e.scopes,o=L$(e,["scopes"]),(i=new q1(r||[])).appendScopes(AJ),a=function(){switch(u.apiId){case d$.ssoSilent:case d$.acquireTokenSilent_silentFlow:return u.logger.trace("initializeNativeRequest: silent request sets prompt to none"),RJ.NONE}if(e.prompt)switch(e.prompt){case RJ.NONE:case RJ.CONSENT:case RJ.LOGIN:return u.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),e.prompt;default:throw u.logger.trace("initializeNativeRequest: prompt = "+e.prompt+" is not compatible with native flow"),W0.createNativePromptParameterNotSupportedError()}else u.logger.trace("initializeNativeRequest: prompt was not provided")},s=N$(N$({},o),{accountId:this.accountId,clientId:this.config.auth.clientId,authority:n.urlString,scope:i.printScopes(),redirectUri:this.getRedirectUri(e.redirectUri),prompt:a(),correlationId:this.correlationId,tokenType:e.authenticationScheme,windowTitleSubstring:document.title,extraParameters:N$(N$(N$({},e.extraQueryParameters),e.tokenQueryParameters),{telemetry:w$}),extendedExpiryToken:!1}),e.authenticationScheme!==WJ.POP?[3,2]:(c={resourceRequestUri:e.resourceRequestUri,resourceRequestMethod:e.resourceRequestMethod,shrClaims:e.shrClaims,shrNonce:e.shrNonce},[4,new B2(this.browserCrypto).generateCnf(c)]);case 1:l=d.sent(),s.reqCnf=l.reqCnfHash,s.keyId=l.kid,d.label=2;case 2:return[2,s]}}))}))},t}(X2),a4=function(){function e(e,t,n,r){this.logger=e,this.handshakeTimeoutMs=t,this.extensionId=r,this.resolvers=new Map,this.handshakeResolvers=new Map,this.responseId=0,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=n,this.handshakeEvent=n.startMeasurement(R$.NativeMessageHandlerHandshake)}return e.prototype.sendMessage=function(e){return O$(this,void 0,void 0,(function(){var t,n=this;return F$(this,(function(r){return this.logger.trace("NativeMessageHandler - sendMessage called."),t={channel:_$,extensionId:this.extensionId,responseId:this.responseId++,body:e},this.logger.trace("NativeMessageHandler - Sending request to browser extension"),this.logger.tracePii("NativeMessageHandler - Sending request to browser extension: "+JSON.stringify(t)),this.messageChannel.port1.postMessage(t),[2,new Promise((function(e,r){n.resolvers.set(t.responseId,{resolve:e,reject:r})}))]}))}))},e.createProvider=function(t,n,r){return O$(this,void 0,void 0,(function(){var o,i;return F$(this,(function(a){switch(a.label){case 0:t.trace("NativeMessageHandler - createProvider called."),a.label=1;case 1:return a.trys.push([1,3,,5]),[4,(o=new e(t,n,r,C$)).sendHandshakeRequest()];case 2:return a.sent(),[2,o];case 3:return a.sent(),[4,(i=new e(t,n,r)).sendHandshakeRequest()];case 4:return a.sent(),[2,i];case 5:return[2]}}))}))},e.prototype.sendHandshakeRequest=function(){return O$(this,void 0,void 0,(function(){var e,t=this;return F$(this,(function(n){return this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",this.windowListener,!1),e={channel:_$,extensionId:this.extensionId,responseId:this.responseId++,body:{method:i$.HandshakeRequest}},this.handshakeEvent.addStaticFields({extensionId:this.extensionId,extensionHandshakeTimeoutMs:this.handshakeTimeoutMs}),this.messageChannel.port1.onmessage=function(e){t.onChannelMessage(e)},window.postMessage(e,window.origin,[this.messageChannel.port2]),[2,new Promise((function(n,r){t.handshakeResolvers.set(e.responseId,{resolve:n,reject:r}),t.timeoutId=window.setTimeout((function(){window.removeEventListener("message",t.windowListener,!1),t.messageChannel.port1.close(),t.messageChannel.port2.close(),t.handshakeEvent.endMeasurement({extensionHandshakeTimedOut:!0,success:!1}),r(W0.createNativeHandshakeTimeoutError()),t.handshakeResolvers.delete(e.responseId)}),t.handshakeTimeoutMs)}))]}))}))},e.prototype.onWindowMessage=function(e){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),e.source===window){var t=e.data;if(t.channel&&t.channel===_$&&(!t.extensionId||t.extensionId===this.extensionId)&&t.body.method===i$.HandshakeRequest){this.logger.verbose(t.extensionId?"Extension with id: "+t.extensionId+" not installed":"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1);var n=this.handshakeResolvers.get(t.responseId);n&&(this.handshakeEvent.endMeasurement({success:!1,extensionInstalled:!1}),n.reject(W0.createNativeExtensionNotInstalledError()))}}},e.prototype.onChannelMessage=function(e){this.logger.trace("NativeMessageHandler - onChannelMessage called.");var t=e.data,n=this.resolvers.get(t.responseId),r=this.handshakeResolvers.get(t.responseId);try{var o=t.body.method;if(o===i$.Response){if(!n)return;var i=t.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii("NativeMessageHandler - Received response from browser extension: "+JSON.stringify(i)),"Success"!==i.status)n.reject(t4.createError(i.code,i.description,i.ext));else{if(!i.result)throw q$.createUnexpectedError("Event does not contain result.");i.result.code&&i.result.description?n.reject(t4.createError(i.result.code,i.result.description,i.result.ext)):n.resolve(i.result)}this.resolvers.delete(t.responseId)}else if(o===i$.HandshakeResponse){if(!r)return;clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=t.extensionId,this.extensionVersion=t.body.version,this.logger.verbose("NativeMessageHandler - Received HandshakeResponse from extension: "+this.extensionId),this.handshakeEvent.endMeasurement({extensionInstalled:!0,success:!0}),r.resolve(),this.handshakeResolvers.delete(t.responseId)}}catch(a){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii("Error parsing response from WAM Extension: "+a.toString()),this.logger.errorPii("Unable to parse "+e),n?n.reject(a):r&&r.reject(a)}},e.prototype.getExtensionId=function(){return this.extensionId},e.prototype.getExtensionVersion=function(){return this.extensionVersion},e.isNativeAvailable=function(e,t,n,r){if(t.trace("isNativeAvailable called"),!e.system.allowNativeBroker)return t.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!n)return t.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(r)switch(r){case WJ.BEARER:case WJ.POP:return t.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return t.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0},e}(),s4=function(){function e(e,t,n,r,o){this.authModule=e,this.browserStorage=t,this.authCodeRequest=n,this.logger=r,this.performanceClient=o}return e.prototype.handleCodeResponseFromHash=function(e,t,n,r){return O$(this,void 0,void 0,(function(){var o,i,a;return F$(this,(function(s){if(this.performanceClient.addQueueMeasurement(R$.HandleCodeResponseFromHash,this.authCodeRequest.correlationId),this.logger.verbose("InteractionHandler.handleCodeResponse called"),ZZ.isEmpty(e))throw W0.createEmptyHashError(e);if(o=this.browserStorage.generateStateKey(t),!(i=this.browserStorage.getTemporaryCache(o)))throw $Z.createStateNotFoundError("Cached State");try{a=this.authModule.handleFragmentResponse(e,i)}catch(Ple){throw Ple instanceof W$&&Ple.subError===p0.code?W0.createUserCancelledError():Ple}return this.performanceClient.setPreQueueTime(R$.HandleCodeResponseFromServer,this.authCodeRequest.correlationId),[2,this.handleCodeResponseFromServer(a,t,n,r)]}))}))},e.prototype.handleCodeResponseFromServer=function(e,t,n,r,o){return void 0===o&&(o=!0),O$(this,void 0,void 0,(function(){var i,a,s,c,l,u;return F$(this,(function(d){switch(d.label){case 0:if(this.performanceClient.addQueueMeasurement(R$.HandleCodeResponseFromServer,this.authCodeRequest.correlationId),this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),i=this.browserStorage.generateStateKey(t),!(a=this.browserStorage.getTemporaryCache(i)))throw $Z.createStateNotFoundError("Cached State");return s=this.browserStorage.generateNonceKey(a),c=this.browserStorage.getTemporaryCache(s),this.authCodeRequest.code=e.code,e.cloud_instance_host_name?(this.performanceClient.setPreQueueTime(R$.UpdateTokenEndpointAuthority,this.authCodeRequest.correlationId),[4,this.updateTokenEndpointAuthority(e.cloud_instance_host_name,n,r)]):[3,2];case 1:d.sent(),d.label=2;case 2:return o&&(e.nonce=c||void 0),e.state=a,e.client_info?this.authCodeRequest.clientInfo=e.client_info:(l=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=l),this.performanceClient.setPreQueueTime(R$.AuthClientAcquireToken,this.authCodeRequest.correlationId),[4,this.authModule.acquireToken(this.authCodeRequest,e)];case 3:return u=d.sent(),this.browserStorage.cleanRequestByState(t),[2,u]}}))}))},e.prototype.updateTokenEndpointAuthority=function(e,t,n){return O$(this,void 0,void 0,(function(){var r,o;return F$(this,(function(i){switch(i.label){case 0:return this.performanceClient.addQueueMeasurement(R$.UpdateTokenEndpointAuthority,this.authCodeRequest.correlationId),r="https://"+e+"/"+t.tenant+"/",[4,Y2.createDiscoveredInstance(r,n,this.browserStorage,t.options,this.logger,this.performanceClient,this.authCodeRequest.correlationId)];case 1:return o=i.sent(),this.authModule.updateAuthority(o),[2]}}))}))},e.prototype.checkCcsCredentials=function(){var e=this.browserStorage.getTemporaryCache(c$.CCS_CREDENTIAL,!0);if(e)try{return JSON.parse(e)}catch(Ple){this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii("Cache credential could not be parsed: "+e)}return null},e}(),c4=function(e){function t(t,n,r,o,i,a,s,c,l,u){var d=e.call(this,t,n,r,o,i,a,s,l,u)||this;return d.unloadWindow=d.unloadWindow.bind(d),d.nativeStorage=c,d}return D$(t,e),t.prototype.acquireToken=function(e){try{var t=this.generatePopupName(e.scopes||AJ,e.authority||this.config.auth.authority),n=e.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(e,t,n);this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");var r=this.openSizedPopup("about:blank",t,n);return this.acquireTokenPopupAsync(e,t,n,r)}catch(Ple){return Promise.reject(Ple)}},t.prototype.logout=function(e){try{this.logger.verbose("logoutPopup called");var t=this.initializeLogoutRequest(e),n=this.generateLogoutPopupName(t),r=e&&e.authority,o=e&&e.mainWindowRedirectUri,i=(null===e||void 0===e?void 0:e.popupWindowAttributes)||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(t,n,i,r,void 0,o);this.logger.verbose("asyncPopup set to false, opening popup");var a=this.openSizedPopup("about:blank",n,i);return this.logoutPopupAsync(t,n,i,r,a,o)}catch(Ple){return Promise.reject(Ple)}},t.prototype.acquireTokenPopupAsync=function(e,t,n,r){return O$(this,void 0,void 0,(function(){var o,i,a,s,c,l,u,d,p,h,f,m,g,v,y,b,_=this;return F$(this,(function(C){switch(C.label){case 0:return this.logger.verbose("acquireTokenPopupAsync called"),o=this.initializeServerTelemetryManager(d$.acquireTokenPopup),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientInitializeAuthorizationRequest,e.correlationId),[4,this.initializeAuthorizationRequest(e,p$.Popup)];case 1:i=C.sent(),this.browserStorage.updateCacheEntries(i.state,i.nonce,i.authority,i.loginHint||IJ.EMPTY_STRING,i.account||null),C.label=2;case 2:return C.trys.push([2,8,,9]),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientInitializeAuthorizationCodeRequest,e.correlationId),[4,this.initializeAuthorizationCodeRequest(i)];case 3:return a=C.sent(),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientCreateAuthCodeClient,e.correlationId),[4,this.createAuthCodeClient(o,i.authority,i.azureCloudOptions)];case 4:return s=C.sent(),this.logger.verbose("Auth code client created"),c=a4.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,e.authenticationScheme),l=void 0,c&&(l=this.performanceClient.startMeasurement(R$.FetchAccountIdWithNativeBroker,e.correlationId)),[4,s.getAuthCodeUrl(N$(N$({},i),{nativeBroker:c}))];case 5:return u=C.sent(),d=new s4(s,this.browserStorage,a,this.logger,this.performanceClient),p={popup:r,popupName:t,popupWindowAttributes:n},h=this.initiateAuthRequest(u,p),this.eventHandler.emitEvent(T2.POPUP_OPENED,p$.Popup,{popupWindow:h},null),[4,this.monitorPopupForHash(h)];case 6:if(f=C.sent(),m=d2.getDeserializedHash(f),g=this.validateAndExtractStateFromHash(m,p$.Popup,i.correlationId),R2.removeThrottle(this.browserStorage,this.config.auth.clientId,a),m.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),l&&l.endMeasurement({success:!0,isNativeBroker:!0}),!this.nativeMessageHandler)throw W0.createNativeConnectionNotEstablishedError();return v=new i4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,d$.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,m.accountId,this.nativeStorage,i.correlationId),y=s2.parseRequestState(this.browserCrypto,g).userRequestState,[2,v.acquireToken(N$(N$({},i),{state:y,prompt:void 0})).finally((function(){_.browserStorage.cleanRequestByState(g)}))]}return[4,d.handleCodeResponseFromHash(f,g,s.authority,this.networkClient)];case 7:return[2,C.sent()];case 8:throw b=C.sent(),r&&r.close(),b instanceof q$&&b.setCorrelationId(this.correlationId),o.cacheFailedRequest(b),this.browserStorage.cleanRequestByState(i.state),b;case 9:return[2]}}))}))},t.prototype.logoutPopupAsync=function(e,t,n,r,o,i){return O$(this,void 0,void 0,(function(){var a,s,c,l,u,d,p;return F$(this,(function(h){switch(h.label){case 0:this.logger.verbose("logoutPopupAsync called"),this.eventHandler.emitEvent(T2.LOGOUT_START,p$.Popup,e),a=this.initializeServerTelemetryManager(d$.logoutPopup),h.label=1;case 1:return h.trys.push([1,5,,6]),[4,this.clearCacheOnLogout(e.account)];case 2:return h.sent(),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientCreateAuthCodeClient,e.correlationId),[4,this.createAuthCodeClient(a,r)];case 3:return s=h.sent(),this.logger.verbose("Auth code client created"),c=s.getLogoutUri(e),this.eventHandler.emitEvent(T2.LOGOUT_SUCCESS,p$.Popup,e),l=this.openPopup(c,{popupName:t,popupWindowAttributes:n,popup:o}),this.eventHandler.emitEvent(T2.POPUP_OPENED,p$.Popup,{popupWindow:l},null),[4,this.waitForLogoutPopup(l)];case 4:return h.sent(),i?(u={apiId:d$.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},d=d2.getAbsoluteUrl(i,x2.getCurrentUri()),this.logger.verbose("Redirecting main window to url specified in the request"),this.logger.verbosePii("Redirecting main window to: "+d),this.navigationClient.navigateInternal(d,u)):this.logger.verbose("No main window navigation requested"),[3,6];case 5:throw p=h.sent(),o&&o.close(),p instanceof q$&&p.setCorrelationId(this.correlationId),this.browserStorage.setInteractionInProgress(!1),this.eventHandler.emitEvent(T2.LOGOUT_FAILURE,p$.Popup,null,p),this.eventHandler.emitEvent(T2.LOGOUT_END,p$.Popup),a.cacheFailedRequest(p),p;case 6:return this.eventHandler.emitEvent(T2.LOGOUT_END,p$.Popup),[2]}}))}))},t.prototype.initiateAuthRequest=function(e,t){if(ZZ.isEmpty(e))throw this.logger.error("Navigate url is empty"),W0.createEmptyNavigationUriError();return this.logger.infoPii("Navigate to: "+e),this.openPopup(e,t)},t.prototype.monitorPopupForHash=function(e){var t=this;return new Promise((function(n,r){var o=t.config.system.windowHashTimeout/t.config.system.pollIntervalMilliseconds,i=0;t.logger.verbose("PopupHandler.monitorPopupForHash - polling started");var a=setInterval((function(){if(e.closed)return t.logger.error("PopupHandler.monitorPopupForHash - window closed"),t.cleanPopup(),clearInterval(a),void r(W0.createUserCancelledError());var s=IJ.EMPTY_STRING,c=IJ.EMPTY_STRING;try{s=e.location.href,c=e.location.hash}catch(Ple){}ZZ.isEmpty(s)||"about:blank"===s||(t.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),i++,c?(t.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"),clearInterval(a),t.cleanPopup(e),d2.hashContainsKnownProperties(c)?(t.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."),n(c)):(t.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."),t.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: "+c),r(W0.createHashDoesNotContainKnownPropertiesError()))):i>o&&(t.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"),clearInterval(a),r(W0.createMonitorPopupTimeoutError())))}),t.config.system.pollIntervalMilliseconds)}))},t.prototype.waitForLogoutPopup=function(e){var t=this;return new Promise((function(n){t.logger.verbose("PopupHandler.waitForLogoutPopup - polling started");var r=setInterval((function(){e.closed&&(t.logger.error("PopupHandler.waitForLogoutPopup - window closed"),t.cleanPopup(),clearInterval(r),n());var o=IJ.EMPTY_STRING;try{o=e.location.href}catch(Ple){}ZZ.isEmpty(o)||"about:blank"===o||(t.logger.verbose("PopupHandler.waitForLogoutPopup - popup window is on same origin as caller, closing."),clearInterval(r),t.cleanPopup(e),n())}),t.config.system.pollIntervalMilliseconds)}))},t.prototype.openPopup=function(e,t){try{var n=void 0;if(t.popup?(n=t.popup,this.logger.verbosePii("Navigating popup window to: "+e),n.location.assign(e)):"undefined"===typeof t.popup&&(this.logger.verbosePii("Opening popup window to: "+e),n=this.openSizedPopup(e,t.popupName,t.popupWindowAttributes)),!n)throw W0.createEmptyWindowCreatedError();return n.focus&&n.focus(),this.currentWindow=n,window.addEventListener("beforeunload",this.unloadWindow),n}catch(Ple){throw this.logger.error("error opening popup "+Ple.message),this.browserStorage.setInteractionInProgress(!1),W0.createPopupWindowError(Ple.toString())}},t.prototype.openSizedPopup=function(e,t,n){var r,o,i,a,s=window.screenLeft?window.screenLeft:window.screenX,c=window.screenTop?window.screenTop:window.screenY,l=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,u=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,d=null===(r=n.popupSize)||void 0===r?void 0:r.width,p=null===(o=n.popupSize)||void 0===o?void 0:o.height,h=null===(i=n.popupPosition)||void 0===i?void 0:i.top,f=null===(a=n.popupPosition)||void 0===a?void 0:a.left;return(!d||d<0||d>l)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),d=m$),(!p||p<0||p>u)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),p=g$),(!h||h<0||h>u)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),h=Math.max(0,u/2-g$/2+c)),(!f||f<0||f>l)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),f=Math.max(0,l/2-m$/2+s)),window.open(e,t,"width="+d+", height="+p+", top="+h+", left="+f+", scrollbars=yes")},t.prototype.unloadWindow=function(e){this.browserStorage.cleanRequestByInteractionType(p$.Popup),this.currentWindow&&this.currentWindow.close(),e.preventDefault()},t.prototype.cleanPopup=function(e){e&&e.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)},t.prototype.generatePopupName=function(e,t){return v$+"."+this.config.auth.clientId+"."+e.join("-")+"."+t+"."+this.correlationId},t.prototype.generateLogoutPopupName=function(e){var t=e.account&&e.account.homeAccountId;return v$+"."+this.config.auth.clientId+"."+t+"."+this.correlationId},t}(J2),l4=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t,n,r,o,a)||this;return s.browserCrypto=i,s}return D$(t,e),t.prototype.initiateAuthRequest=function(e,t){return O$(this,void 0,void 0,(function(){var n;return F$(this,(function(r){switch(r.label){case 0:return this.logger.verbose("RedirectHandler.initiateAuthRequest called"),ZZ.isEmpty(e)?[3,7]:(t.redirectStartPage&&(this.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(c$.ORIGIN_URI,t.redirectStartPage,!0)),this.browserStorage.setTemporaryCache(c$.CORRELATION_ID,this.authCodeRequest.correlationId,!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest,this.browserCrypto),this.logger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: "+e),n={apiId:d$.acquireTokenRedirect,timeout:t.redirectTimeout,noHistory:!1},"function"!==typeof t.onRedirectNavigate?[3,4]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1===t.onRedirectNavigate(e)?[3,2]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),[4,t.navigationClient.navigateExternal(e,n)])));case 1:case 5:return r.sent(),[2];case 2:return this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation"),[2];case 3:return[3,6];case 4:return this.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),[4,t.navigationClient.navigateExternal(e,n)];case 6:return[3,8];case 7:throw this.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),W0.createEmptyNavigationUriError();case 8:return[2]}}))}))},t.prototype.handleCodeResponseFromHash=function(e,t,n,r){return O$(this,void 0,void 0,(function(){var o,i,a,s,c,l,u;return F$(this,(function(d){switch(d.label){case 0:if(this.logger.verbose("RedirectHandler.handleCodeResponse called"),ZZ.isEmpty(e))throw W0.createEmptyHashError(e);if(this.browserStorage.setInteractionInProgress(!1),o=this.browserStorage.generateStateKey(t),!(i=this.browserStorage.getTemporaryCache(o)))throw $Z.createStateNotFoundError("Cached State");try{a=this.authModule.handleFragmentResponse(e,i)}catch(Ple){throw Ple instanceof W$&&Ple.subError===p0.code?W0.createUserCancelledError():Ple}return s=this.browserStorage.generateNonceKey(i),c=this.browserStorage.getTemporaryCache(s),this.authCodeRequest.code=a.code,a.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(a.cloud_instance_host_name,n,r)]:[3,2];case 1:d.sent(),d.label=2;case 2:return a.nonce=c||void 0,a.state=i,a.client_info?this.authCodeRequest.clientInfo=a.client_info:(l=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=l),[4,this.authModule.acquireToken(this.authCodeRequest,a)];case 3:return u=d.sent(),this.browserStorage.cleanRequestByState(t),[2,u]}}))}))},t}(s4),u4=function(e){function t(t,n,r,o,i,a,s,c,l,u){var d=e.call(this,t,n,r,o,i,a,s,l,u)||this;return d.nativeStorage=c,d}return D$(t,e),t.prototype.acquireToken=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,l,u=this;return F$(this,(function(d){switch(d.label){case 0:return this.performanceClient.setPreQueueTime(R$.StandardInteractionClientInitializeAuthorizationRequest,e.correlationId),[4,this.initializeAuthorizationRequest(e,p$.Redirect)];case 1:t=d.sent(),this.browserStorage.updateCacheEntries(t.state,t.nonce,t.authority,t.loginHint||IJ.EMPTY_STRING,t.account||null),n=this.initializeServerTelemetryManager(d$.acquireTokenRedirect),r=function(e){e.persisted&&(u.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),u.browserStorage.cleanRequestByState(t.state))},d.label=2;case 2:return d.trys.push([2,7,,8]),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientInitializeAuthorizationCodeRequest,e.correlationId),[4,this.initializeAuthorizationCodeRequest(t)];case 3:return o=d.sent(),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientCreateAuthCodeClient,e.correlationId),[4,this.createAuthCodeClient(n,t.authority,t.azureCloudOptions)];case 4:return i=d.sent(),this.logger.verbose("Auth code client created"),a=new l4(i,this.browserStorage,o,this.logger,this.browserCrypto,this.performanceClient),[4,i.getAuthCodeUrl(N$(N$({},t),{nativeBroker:a4.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,e.authenticationScheme)}))];case 5:return s=d.sent(),c=this.getRedirectStartPage(e.redirectStartPage),this.logger.verbosePii("Redirect start page: "+c),window.addEventListener("pageshow",r),[4,a.initiateAuthRequest(s,{navigationClient:this.navigationClient,redirectTimeout:this.config.system.redirectNavigationTimeout,redirectStartPage:c,onRedirectNavigate:e.onRedirectNavigate})];case 6:return[2,d.sent()];case 7:throw(l=d.sent())instanceof q$&&l.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",r),n.cacheFailedRequest(l),this.browserStorage.cleanRequestByState(t.state),l;case 8:return[2]}}))}))},t.prototype.handleRedirectPromise=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,l,u,d,p;return F$(this,(function(h){switch(h.label){case 0:t=this.initializeServerTelemetryManager(d$.handleRedirectPromise),h.label=1;case 1:if(h.trys.push([1,10,,11]),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(!(n=this.getRedirectResponseHash(e||window.location.hash)))return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."),this.browserStorage.cleanRequestByInteractionType(p$.Redirect),[2,null];r=void 0;try{o=d2.getDeserializedHash(n),r=this.validateAndExtractStateFromHash(o,p$.Redirect),this.logger.verbose("State extracted from hash")}catch(Ple){return this.logger.info("handleRedirectPromise was unable to extract state due to: "+Ple),this.browserStorage.cleanRequestByInteractionType(p$.Redirect),[2,null]}return i=this.browserStorage.getTemporaryCache(c$.ORIGIN_URI,!0)||IJ.EMPTY_STRING,a=d2.removeHashFromUrl(i),s=d2.removeHashFromUrl(window.location.href),a===s&&this.config.auth.navigateToLoginRequestUrl?(this.logger.verbose("Current page is loginRequestUrl, handling hash"),[4,this.handleHash(n,r,t)]):[3,3];case 2:return c=h.sent(),i.indexOf("#")>-1&&x2.replaceHash(i),[2,c];case 3:return this.config.auth.navigateToLoginRequestUrl?[3,4]:(this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"),[2,this.handleHash(n,r,t)]);case 4:return x2.isInIframe()&&!this.config.system.allowRedirectInIframe?[3,9]:(this.browserStorage.setTemporaryCache(c$.URL_HASH,n,!0),l={apiId:d$.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},u=!0,i&&"null"!==i?[3,6]:(d=x2.getHomepage(),this.browserStorage.setTemporaryCache(c$.ORIGIN_URI,d,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),[4,this.navigationClient.navigateInternal(d,l)]));case 5:return u=h.sent(),[3,8];case 6:return this.logger.verbose("Navigating to loginRequestUrl: "+i),[4,this.navigationClient.navigateInternal(i,l)];case 7:u=h.sent(),h.label=8;case 8:if(!u)return[2,this.handleHash(n,r,t)];h.label=9;case 9:return[2,null];case 10:throw(p=h.sent())instanceof q$&&p.setCorrelationId(this.correlationId),t.cacheFailedRequest(p),this.browserStorage.cleanRequestByInteractionType(p$.Redirect),p;case 11:return[2]}}))}))},t.prototype.getRedirectResponseHash=function(e){if(this.logger.verbose("getRedirectResponseHash called"),d2.hashContainsKnownProperties(e))return x2.clearHash(window),this.logger.verbose("Hash contains known properties, returning response hash"),e;var t=this.browserStorage.getTemporaryCache(c$.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(c$.URL_HASH)),this.logger.verbose("Hash does not contain known properties, returning cached hash"),t},t.prototype.handleHash=function(e,t,n){return O$(this,void 0,void 0,(function(){var r,o,i,a,s,c,l=this;return F$(this,(function(u){switch(u.label){case 0:if(r=this.browserStorage.getCachedRequest(t,this.browserCrypto),this.logger.verbose("handleHash called, retrieved cached request"),(o=d2.getDeserializedHash(e)).accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw W0.createNativeConnectionNotEstablishedError();return i=new i4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,d$.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,o.accountId,this.browserStorage,r.correlationId),a=s2.parseRequestState(this.browserCrypto,t).userRequestState,[2,i.acquireToken(N$(N$({},r),{state:a,prompt:void 0})).finally((function(){l.browserStorage.cleanRequestByState(t)}))]}if(!(s=this.browserStorage.getCachedAuthority(t)))throw W0.createNoCachedAuthorityError();return this.performanceClient.setPreQueueTime(R$.StandardInteractionClientCreateAuthCodeClient,r.correlationId),[4,this.createAuthCodeClient(n,s)];case 1:return c=u.sent(),this.logger.verbose("Auth code client created"),R2.removeThrottle(this.browserStorage,this.config.auth.clientId,r),[4,new l4(c,this.browserStorage,r,this.logger,this.browserCrypto,this.performanceClient).handleCodeResponseFromHash(e,t,c.authority,this.networkClient)];case 2:return[2,u.sent()]}}))}))},t.prototype.logout=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a;return F$(this,(function(s){switch(s.label){case 0:this.logger.verbose("logoutRedirect called"),t=this.initializeLogoutRequest(e),n=this.initializeServerTelemetryManager(d$.logout),s.label=1;case 1:return s.trys.push([1,10,,11]),this.eventHandler.emitEvent(T2.LOGOUT_START,p$.Redirect,e),[4,this.clearCacheOnLogout(t.account)];case 2:return s.sent(),r={apiId:d$.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},this.performanceClient.setPreQueueTime(R$.StandardInteractionClientCreateAuthCodeClient,t.correlationId),[4,this.createAuthCodeClient(n,e&&e.authority)];case 3:return o=s.sent(),this.logger.verbose("Auth code client created"),i=o.getLogoutUri(t),this.eventHandler.emitEvent(T2.LOGOUT_SUCCESS,p$.Redirect,t),e&&"function"===typeof e.onRedirectNavigate?!1===e.onRedirectNavigate(i)?[3,5]:(this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(i,r)]):[3,7];case 4:return s.sent(),[2];case 5:this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"),s.label=6;case 6:return[3,9];case 7:return this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(i,r)];case 8:return s.sent(),[2];case 9:return[3,11];case 10:throw(a=s.sent())instanceof q$&&a.setCorrelationId(this.correlationId),n.cacheFailedRequest(a),this.eventHandler.emitEvent(T2.LOGOUT_FAILURE,p$.Redirect,null,a),this.eventHandler.emitEvent(T2.LOGOUT_END,p$.Redirect),a;case 11:return this.eventHandler.emitEvent(T2.LOGOUT_END,p$.Redirect),[2]}}))}))},t.prototype.getRedirectStartPage=function(e){var t=e||window.location.href;return d2.getAbsoluteUrl(t,x2.getCurrentUri())},t}(J2),d4=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t,n,r,o,a)||this;return s.navigateFrameWait=i.navigateFrameWait,s.pollIntervalMilliseconds=i.pollIntervalMilliseconds,s}return D$(t,e),t.prototype.initiateAuthRequest=function(e){return O$(this,void 0,void 0,(function(){return F$(this,(function(t){switch(t.label){case 0:if(this.performanceClient.addQueueMeasurement(R$.SilentHandlerInitiateAuthRequest,this.authCodeRequest.correlationId),ZZ.isEmpty(e))throw this.logger.info("Navigate url is empty"),W0.createEmptyNavigationUriError();return this.navigateFrameWait?(this.performanceClient.setPreQueueTime(R$.SilentHandlerLoadFrame,this.authCodeRequest.correlationId),[4,this.loadFrame(e)]):[3,2];case 1:return[2,t.sent()];case 2:return[2,this.loadFrameSync(e)]}}))}))},t.prototype.monitorIframeForHash=function(e,t){var n=this;return this.performanceClient.addQueueMeasurement(R$.SilentHandlerMonitorIframeForHash,this.authCodeRequest.correlationId),new Promise((function(r,o){t<k2&&n.logger.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower ("+t+"ms) than the default ("+"6000ms). This may result in timeouts.");var i=window.performance.now()+t,a=setInterval((function(){if(window.performance.now()>i)return n.removeHiddenIframe(e),clearInterval(a),void o(W0.createMonitorIframeTimeoutError());var t=IJ.EMPTY_STRING,s=e.contentWindow;try{t=s?s.location.href:IJ.EMPTY_STRING}catch(Ple){}if(!ZZ.isEmpty(t)){var c=s?s.location.hash:IJ.EMPTY_STRING;return d2.hashContainsKnownProperties(c)?(n.removeHiddenIframe(e),clearInterval(a),void r(c)):void 0}}),n.pollIntervalMilliseconds)}))},t.prototype.loadFrame=function(e){var t=this;return this.performanceClient.addQueueMeasurement(R$.SilentHandlerLoadFrame,this.authCodeRequest.correlationId),new Promise((function(n,r){var o=t.createHiddenIframe();setTimeout((function(){o?(o.src=e,n(o)):r("Unable to load iframe")}),t.navigateFrameWait)}))},t.prototype.loadFrameSync=function(e){var t=this.createHiddenIframe();return t.src=e,t},t.prototype.createHiddenIframe=function(){var e=document.createElement("iframe");return e.style.visibility="hidden",e.style.position="absolute",e.style.width=e.style.height="0",e.style.border="0",e.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.getElementsByTagName("body")[0].appendChild(e),e},t.prototype.removeHiddenIframe=function(e){document.body===e.parentNode&&document.body.removeChild(e)},t}(s4),p4=function(e){function t(t,n,r,o,i,a,s,c,l,u,d){var p=e.call(this,t,n,r,o,i,a,c,u,d)||this;return p.apiId=s,p.nativeStorage=l,p}return D$(t,e),t.prototype.acquireToken=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i;return F$(this,(function(a){switch(a.label){case 0:if(this.performanceClient.addQueueMeasurement(R$.SilentIframeClientAcquireToken,e.correlationId),this.logger.verbose("acquireTokenByIframe called"),t=this.performanceClient.startMeasurement(R$.SilentIframeClientAcquireToken,e.correlationId),ZZ.isEmpty(e.loginHint)&&ZZ.isEmpty(e.sid)&&(!e.account||ZZ.isEmpty(e.account.username))&&this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."),e.prompt&&e.prompt!==RJ.NONE&&e.prompt!==RJ.NO_SESSION)throw t.endMeasurement({success:!1}),W0.createSilentPromptValueError(e.prompt);return this.performanceClient.setPreQueueTime(R$.StandardInteractionClientInitializeAuthorizationRequest,e.correlationId),[4,this.initializeAuthorizationRequest(N$(N$({},e),{prompt:e.prompt||RJ.NONE}),p$.Silent)];case 1:n=a.sent(),this.browserStorage.updateCacheEntries(n.state,n.nonce,n.authority,n.loginHint||IJ.EMPTY_STRING,n.account||null),r=this.initializeServerTelemetryManager(this.apiId),a.label=2;case 2:return a.trys.push([2,5,,6]),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientCreateAuthCodeClient,e.correlationId),[4,this.createAuthCodeClient(r,n.authority,n.azureCloudOptions)];case 3:return o=a.sent(),this.logger.verbose("Auth code client created"),this.performanceClient.setPreQueueTime(R$.SilentIframeClientTokenHelper,e.correlationId),[4,this.silentTokenHelper(o,n).then((function(e){return t.endMeasurement({success:!0,fromCache:!1,requestId:e.requestId}),e}))];case 4:return[2,a.sent()];case 5:throw(i=a.sent())instanceof q$&&i.setCorrelationId(this.correlationId),r.cacheFailedRequest(i),this.browserStorage.cleanRequestByState(n.state),t.endMeasurement({errorCode:i instanceof q$&&i.errorCode||void 0,subErrorCode:i instanceof q$&&i.subError||void 0,success:!1}),i;case 6:return[2]}}))}))},t.prototype.logout=function(){return Promise.reject(W0.createSilentLogoutUnsupportedError())},t.prototype.silentTokenHelper=function(e,t){return O$(this,void 0,void 0,(function(){var n,r,o,i,a,s,c,l,u,d=this;return F$(this,(function(p){switch(p.label){case 0:return this.performanceClient.addQueueMeasurement(R$.SilentIframeClientTokenHelper,t.correlationId),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientInitializeAuthorizationCodeRequest,t.correlationId),[4,this.initializeAuthorizationCodeRequest(t)];case 1:return n=p.sent(),this.performanceClient.setPreQueueTime(R$.GetAuthCodeUrl,t.correlationId),[4,e.getAuthCodeUrl(N$(N$({},t),{nativeBroker:a4.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,t.authenticationScheme)}))];case 2:return r=p.sent(),o=new d4(e,this.browserStorage,n,this.logger,this.config.system,this.performanceClient),this.performanceClient.setPreQueueTime(R$.SilentHandlerInitiateAuthRequest,t.correlationId),[4,o.initiateAuthRequest(r)];case 3:return i=p.sent(),this.performanceClient.setPreQueueTime(R$.SilentHandlerMonitorIframeForHash,t.correlationId),[4,o.monitorIframeForHash(i,this.config.system.iframeHashTimeout)];case 4:if(a=p.sent(),s=d2.getDeserializedHash(a),c=this.validateAndExtractStateFromHash(s,p$.Silent,n.correlationId),s.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw W0.createNativeConnectionNotEstablishedError();return l=new i4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.apiId,this.performanceClient,this.nativeMessageHandler,s.accountId,this.browserStorage,this.correlationId),u=s2.parseRequestState(this.browserCrypto,c).userRequestState,[2,l.acquireToken(N$(N$({},t),{state:u,prompt:t.prompt||RJ.NONE})).finally((function(){d.browserStorage.cleanRequestByState(c)}))]}return this.performanceClient.setPreQueueTime(R$.HandleCodeResponseFromHash,t.correlationId),[2,o.handleCodeResponseFromHash(a,c,e.authority,this.networkClient)]}}))}))},t}(J2),h4=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D$(t,e),t.prototype.acquireToken=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a=this;return F$(this,(function(s){switch(s.label){case 0:return this.performanceClient.addQueueMeasurement(R$.SilentRefreshClientAcquireToken,e.correlationId),this.performanceClient.setPreQueueTime(R$.InitializeBaseRequest,e.correlationId),n=[N$({},e)],[4,this.initializeBaseRequest(e)];case 1:return t=N$.apply(void 0,n.concat([s.sent()])),r=this.performanceClient.startMeasurement(R$.SilentRefreshClientAcquireToken,t.correlationId),o=this.initializeServerTelemetryManager(d$.acquireTokenSilent_silentFlow),[4,this.createRefreshTokenClient(o,t.authority,t.azureCloudOptions)];case 2:return i=s.sent(),this.logger.verbose("Refresh token client created"),this.performanceClient.setPreQueueTime(R$.RefreshTokenClientAcquireTokenByRefreshToken,e.correlationId),[2,i.acquireTokenByRefreshToken(t).then((function(e){return r.endMeasurement({success:!0,fromCache:e.fromCache,requestId:e.requestId}),e})).catch((function(e){throw e instanceof q$&&e.setCorrelationId(a.correlationId),o.cacheFailedRequest(e),r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e}))]}}))}))},t.prototype.logout=function(){return Promise.reject(W0.createSilentLogoutUnsupportedError())},t.prototype.createRefreshTokenClient=function(e,t,n){return O$(this,void 0,void 0,(function(){var r;return F$(this,(function(o){switch(o.label){case 0:return this.performanceClient.setPreQueueTime(R$.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(e,t,n)];case 1:return r=o.sent(),[2,new n4(r,this.performanceClient)]}}))}))},t}(J2),f4=function(){function e(e,t,n,r){this.isBrowserEnvironment="undefined"!==typeof window,this.config=e,this.storage=t,this.logger=n,this.cryptoObj=r}return e.prototype.loadExternalTokens=function(e,t,n){if(this.logger.info("TokenCache - loadExternalTokens called"),!t.id_token)throw W0.createUnableToLoadTokenError("Please ensure server response includes id token.");var r,o,i=new Q1(t.id_token,this.cryptoObj);if(e.account){var a=this.loadAccount(i,e.account.environment,void 0,void 0,e.account.homeAccountId);r=new F2(a,this.loadIdToken(i,a.homeAccountId,e.account.environment,e.account.tenantId),this.loadAccessToken(e,t,a.homeAccountId,e.account.environment,e.account.tenantId,n),this.loadRefreshToken(e,t,a.homeAccountId,e.account.environment))}else{if(!e.authority)throw W0.createUnableToLoadTokenError("Please provide a request with an account or a request with authority.");var s=K2.generateAuthority(e.authority,e.azureCloudOptions),c={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache};if(o=new K2(s,this.config.system.networkClient,this.storage,c,this.logger),n.clientInfo){this.logger.trace("TokenCache - homeAccountId from options");a=this.loadAccount(i,o.hostnameAndPort,n.clientInfo,o.authorityType);r=new F2(a,this.loadIdToken(i,a.homeAccountId,o.hostnameAndPort,o.tenant),this.loadAccessToken(e,t,a.homeAccountId,o.hostnameAndPort,o.tenant,n),this.loadRefreshToken(e,t,a.homeAccountId,o.hostnameAndPort))}else{if(!t.client_info)throw W0.createUnableToLoadTokenError("Please provide clientInfo in the response or options.");this.logger.trace("TokenCache - homeAccountId from response");a=this.loadAccount(i,o.hostnameAndPort,t.client_info,o.authorityType);r=new F2(a,this.loadIdToken(i,a.homeAccountId,o.hostnameAndPort,o.tenant),this.loadAccessToken(e,t,a.homeAccountId,o.hostnameAndPort,o.tenant,n),this.loadRefreshToken(e,t,a.homeAccountId,o.hostnameAndPort))}}return this.generateAuthenticationResult(e,i,r,o)},e.prototype.loadAccount=function(e,t,n,r,o){var i;if(o?i=o:void 0!==r&&n&&(i=Y1.generateHomeAccountId(n,r,this.logger,this.cryptoObj,e)),!i)throw W0.createUnableToLoadTokenError("Unexpected missing homeAccountId");var a=n?Y1.createAccount(n,i,e,void 0,void 0,void 0,t):Y1.createGenericAccount(i,e,void 0,void 0,void 0,t);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading account"),this.storage.setAccount(a),a;throw W0.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadIdToken=function(e,t,n,r){var o=_1.createIdTokenEntity(t,n,e.rawToken,this.config.auth.clientId,r);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(o),o;throw W0.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadAccessToken=function(e,t,n,r,o,i){if(!t.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!t.expires_in)throw W0.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");if(!i.extendedExpiresOn)throw W0.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");var a=new q1(e.scopes).printScopes(),s=i.expiresOn||t.expires_in+(new Date).getTime()/1e3,c=i.extendedExpiresOn,l=t2.createAccessTokenEntity(n,r,t.access_token,this.config.auth.clientId,o,a,s,c,this.cryptoObj);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(l),l;throw W0.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadRefreshToken=function(e,t,n,r){if(!t.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;var o=n2.createRefreshTokenEntity(n,r,t.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(o),o;throw W0.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.generateAuthenticationResult=function(e,t,n,r){var o,i,a,s,c=IJ.EMPTY_STRING,l=[],u=null;(null===n||void 0===n?void 0:n.accessToken)&&(c=n.accessToken.secret,l=q1.fromString(n.accessToken.target).asArray(),u=new Date(1e3*Number(n.accessToken.expiresOn)),s=new Date(1e3*Number(n.accessToken.extendedExpiresOn)));var d=(null===t||void 0===t?void 0:t.claims.oid)||(null===t||void 0===t?void 0:t.claims.sub)||IJ.EMPTY_STRING,p=(null===t||void 0===t?void 0:t.claims.tid)||IJ.EMPTY_STRING;return{authority:r?r.canonicalAuthority:IJ.EMPTY_STRING,uniqueId:d,tenantId:p,scopes:l,account:(null===n||void 0===n?void 0:n.account)?n.account.getAccountInfo():null,idToken:t?t.rawToken:IJ.EMPTY_STRING,idTokenClaims:t?t.claims:{},accessToken:c,fromCache:!0,expiresOn:u,correlationId:e.correlationId||IJ.EMPTY_STRING,requestId:IJ.EMPTY_STRING,extExpiresOn:s,familyId:IJ.EMPTY_STRING,tokenType:(null===(o=null===n||void 0===n?void 0:n.accessToken)||void 0===o?void 0:o.tokenType)||IJ.EMPTY_STRING,state:IJ.EMPTY_STRING,cloudGraphHostName:(null===(i=null===n||void 0===n?void 0:n.account)||void 0===i?void 0:i.cloudGraphHostName)||IJ.EMPTY_STRING,msGraphHost:(null===(a=null===n||void 0===n?void 0:n.account)||void 0===a?void 0:a.msGraphHost)||IJ.EMPTY_STRING,code:void 0,fromNativeBroker:!1}},e}(),m4=function(e){function t(t){var n=e.call(this,t)||this;return n.includeRedirectUri=!1,n}return D$(t,e),t}(U2),g4=function(e){function t(t,n,r,o,i,a,s,c,l,u){var d=e.call(this,t,n,r,o,i,a,c,l,u)||this;return d.apiId=s,d}return D$(t,e),t.prototype.acquireToken=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a;return F$(this,(function(s){switch(s.label){case 0:if(this.logger.trace("SilentAuthCodeClient.acquireToken called"),!e.code)throw W0.createAuthCodeRequiredError();return this.performanceClient.setPreQueueTime(R$.StandardInteractionClientInitializeAuthorizationRequest,e.correlationId),[4,this.initializeAuthorizationRequest(e,p$.Silent)];case 1:t=s.sent(),this.browserStorage.updateCacheEntries(t.state,t.nonce,t.authority,t.loginHint||IJ.EMPTY_STRING,t.account||null),n=this.initializeServerTelemetryManager(this.apiId),s.label=2;case 2:return s.trys.push([2,4,,5]),r=N$(N$({},t),{code:e.code}),this.performanceClient.setPreQueueTime(R$.StandardInteractionClientGetClientConfiguration,e.correlationId),[4,this.getClientConfiguration(n,t.authority)];case 3:return o=s.sent(),i=new m4(o),this.logger.verbose("Auth code client created"),[2,new d4(i,this.browserStorage,r,this.logger,this.config.system,this.performanceClient).handleCodeResponseFromServer({code:e.code,msgraph_host:e.msGraphHost,cloud_graph_host_name:e.cloudGraphHostName,cloud_instance_host_name:e.cloudInstanceHostName},t.state,i.authority,this.networkClient,!1)];case 4:throw(a=s.sent())instanceof q$&&a.setCorrelationId(this.correlationId),n.cacheFailedRequest(a),this.browserStorage.cleanRequestByState(t.state),a;case 5:return[2]}}))}))},t.prototype.logout=function(){return Promise.reject(W0.createSilentLogoutUnsupportedError())},t}(J2),v4=function(){function e(t,n){this.correlationId=n,this.measureName=e.makeMeasureName(t,n),this.startMark=e.makeStartMark(t,n),this.endMark=e.makeEndMark(t,n)}return e.makeMeasureName=function(e,t){return"msal.measure."+e+"."+t},e.makeStartMark=function(e,t){return"msal.start."+e+"."+t},e.makeEndMark=function(e,t){return"msal.end."+e+"."+t},e.supportsBrowserPerformance=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.performance&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure&&"function"===typeof window.performance.clearMarks&&"function"===typeof window.performance.clearMeasures&&"function"===typeof window.performance.getEntriesByName},e.flushMeasurements=function(t,n){if(e.supportsBrowserPerformance())try{n.forEach((function(n){var r=e.makeMeasureName(n.name,t);window.performance.getEntriesByName(r,"measure").length>0&&(window.performance.clearMeasures(r),window.performance.clearMarks(e.makeStartMark(r,t)),window.performance.clearMarks(e.makeEndMark(r,t)))}))}catch(Ple){}},e.prototype.startMeasurement=function(){if(e.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch(Ple){}},e.prototype.endMeasurement=function(){if(e.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch(Ple){}},e.prototype.flushMeasurement=function(){if(e.supportsBrowserPerformance())try{var t=window.performance.getEntriesByName(this.measureName,"measure");if(t.length>0){var n=t[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),n}}catch(Ple){}return null},e}(),y4=function(e){function t(t,n,r,o,i,a,s){var c=e.call(this,t,n,r,o,i,a)||this;return c.browserCrypto=new a1(c.logger,s),c.guidGenerator=new nZ(c.browserCrypto),c}return D$(t,e),t.prototype.startPerformanceMeasuremeant=function(e,t){return new v4(e,t)},t.prototype.generateId=function(){return this.guidGenerator.generateGuid()},t.prototype.getPageVisibility=function(){var e;return(null===(e=document.visibilityState)||void 0===e?void 0:e.toString())||null},t.prototype.deleteIncompleteSubMeasurements=function(e){var t=this.eventsByCorrelationId.get(e.event.correlationId),n=t&&t.eventId===e.event.eventId,r=[];n&&(null===t||void 0===t?void 0:t.incompleteSubMeasurements)&&t.incompleteSubMeasurements.forEach((function(e){r.push(N$({},e))})),r.length>0&&v4.flushMeasurements(e.event.correlationId,r)},t.prototype.supportsBrowserPerformanceNow=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.performance&&"function"===typeof window.performance.now},t.prototype.startMeasurement=function(t,n){var r=this,o=this.getPageVisibility(),i=e.prototype.startMeasurement.call(this,t,n);return N$(N$({},i),{endMeasurement:function(e){var t=i.endMeasurement(N$({startPageVisibility:o,endPageVisibility:r.getPageVisibility()},e));return r.deleteIncompleteSubMeasurements(i),t},discardMeasurement:function(){i.discardMeasurement(),r.deleteIncompleteSubMeasurements(i),i.measurement.flushMeasurement()}})},t.prototype.setPreQueueTime=function(e,t){if(this.supportsBrowserPerformanceNow())if(t){var n=this.preQueueTimeByCorrelationId.get(t);n&&(this.logger.trace("BrowserPerformanceClient: Incomplete pre-queue "+n.name+" found",t),this.addQueueMeasurement(n.name,t,void 0,!0)),this.preQueueTimeByCorrelationId.set(t,{name:e,time:window.performance.now()})}else this.logger.trace("BrowserPerformanceClient: correlationId for "+e+" not provided, unable to set telemetry queue time");else this.logger.trace("BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for "+e)},t.prototype.addQueueMeasurement=function(t,n,r,o){if(this.supportsBrowserPerformanceNow())if(n){var i=e.prototype.getPreQueueTime.call(this,t,n);if(i){var a=window.performance.now(),s=r||e.prototype.calculateQueuedTime.call(this,i,a);return e.prototype.addQueueMeasurement.call(this,t,n,s,o)}}else this.logger.trace("BrowserPerformanceClient: correlationId for "+t+" not provided, unable to add queue measurement");else this.logger.trace("BrowserPerformanceClient: window performance API not available, unable to add queue measurement for "+t)},t}(m1),b4=function(){function e(e){this.isBrowserEnvironment="undefined"!==typeof window,this.config=function(e,t){var n=e.auth,r=e.cache,o=e.system,i=e.telemetry,a={clientId:IJ.EMPTY_STRING,authority:""+IJ.DEFAULT_AUTHORITY,knownAuthorities:[],cloudDiscoveryMetadata:IJ.EMPTY_STRING,authorityMetadata:IJ.EMPTY_STRING,redirectUri:IJ.EMPTY_STRING,postLogoutRedirectUri:IJ.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:c2.AAD,azureCloudOptions:{azureCloudInstance:l2.None,tenant:IJ.EMPTY_STRING},skipAuthorityMetadataCache:!1},s={cacheLocation:a$.SessionStorage,temporaryCacheLocation:a$.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!r||r.cacheLocation!==a$.LocalStorage)},c={loggerCallback:function(){},logLevel:u1.Info,piiLoggingEnabled:!1},l=N$(N$({},f2),{loggerOptions:c,networkClient:t?x2.getBrowserNetworkClient():C2,navigationClient:new S2,loadFrameTimeout:0,windowHashTimeout:(null===o||void 0===o?void 0:o.loadFrameTimeout)||6e4,iframeHashTimeout:(null===o||void 0===o?void 0:o.loadFrameTimeout)||k2,navigateFrameWait:t&&x2.detectIEOrEdge()?500:0,redirectNavigationTimeout:3e4,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:(null===o||void 0===o?void 0:o.nativeBrokerHandshakeTimeout)||2e3,pollIntervalMilliseconds:y$,cryptoOptions:{useMsrCrypto:!1,entropy:void 0}}),u=N$(N$({},o),{loggerOptions:(null===o||void 0===o?void 0:o.loggerOptions)||c}),d={application:{appName:IJ.EMPTY_STRING,appVersion:IJ.EMPTY_STRING}};return{auth:N$(N$({},a),n),cache:N$(N$({},s),r),system:N$(N$({},l),u),telemetry:N$(N$({},d),i)}}(e,this.isBrowserEnvironment),this.initialized=!1,this.logger=new f1(this.config.system.loggerOptions,I2,A2),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.isBrowserEnvironment?new y4(this.config.auth.clientId,this.config.auth.authority,this.logger,I2,A2,this.config.telemetry.application,this.config.system.cryptoOptions):new v1(this.config.auth.clientId,this.config.auth.authority,this.logger,I2,A2,this.config.telemetry.application),this.browserCrypto=this.isBrowserEnvironment?new p1(this.logger,this.performanceClient,this.config.system.cryptoOptions):y1,this.eventHandler=new D2(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new h2(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):function(e,t){var n={cacheLocation:a$.MemoryStorage,temporaryCacheLocation:a$.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1};return new h2(e,n,y1,t)}(this.config.auth.clientId,this.logger);var t={cacheLocation:a$.MemoryStorage,temporaryCacheLocation:a$.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1};this.nativeInternalStorage=new h2(this.config.auth.clientId,t,this.browserCrypto,this.logger),this.tokenCache=new f4(this.config,this.browserStorage,this.logger,this.browserCrypto),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}return e.prototype.initialize=function(){return O$(this,void 0,void 0,(function(){var e,t,n,r;return F$(this,(function(o){switch(o.label){case 0:if(this.logger.trace("initialize called"),this.initialized)return this.logger.info("initialize has already been called, exiting early."),[2];if(e=this.config.system.allowNativeBroker,t=this.performanceClient.startMeasurement(R$.InitializeClientApplication),this.eventHandler.emitEvent(T2.INITIALIZE_START),!e)return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),n=this,[4,a4.createProvider(this.logger,this.config.system.nativeBrokerHandshakeTimeout,this.performanceClient)];case 2:return n.nativeExtensionProvider=o.sent(),[3,4];case 3:return r=o.sent(),this.logger.verbose(r),[3,4];case 4:return this.initialized=!0,this.eventHandler.emitEvent(T2.INITIALIZE_END),t.endMeasurement({allowNativeBroker:e,success:!0}),[2]}}))}))},e.prototype.handleRedirectPromise=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,l=this;return F$(this,(function(u){return this.logger.verbose("handleRedirectPromise called"),x2.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),t=this.getAllAccounts(),this.isBrowserEnvironment?(n=e||IJ.EMPTY_STRING,"undefined"===typeof(r=this.redirectResponse.get(n))?(this.eventHandler.emitEvent(T2.HANDLE_REDIRECT_START,p$.Redirect),this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),o=this.browserStorage.getCachedNativeRequest(),i=void 0,o&&a4.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider)&&this.nativeExtensionProvider&&!e?(this.logger.trace("handleRedirectPromise - acquiring token from native platform"),a=new i4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,d$.handleRedirectPromise,this.performanceClient,this.nativeExtensionProvider,o.accountId,this.nativeInternalStorage,o.correlationId),i=a.handleRedirectPromise()):(this.logger.trace("handleRedirectPromise - acquiring token from web flow"),s=this.browserStorage.getTemporaryCache(c$.CORRELATION_ID,!0)||IJ.EMPTY_STRING,c=this.createRedirectClient(s),i=c.handleRedirectPromise(e)),r=i.then((function(e){e&&(t.length<l.getAllAccounts().length?(l.eventHandler.emitEvent(T2.LOGIN_SUCCESS,p$.Redirect,e),l.logger.verbose("handleRedirectResponse returned result, login success")):(l.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_SUCCESS,p$.Redirect,e),l.logger.verbose("handleRedirectResponse returned result, acquire token success")));return l.eventHandler.emitEvent(T2.HANDLE_REDIRECT_END,p$.Redirect),e})).catch((function(e){throw t.length>0?l.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_FAILURE,p$.Redirect,null,e):l.eventHandler.emitEvent(T2.LOGIN_FAILURE,p$.Redirect,null,e),l.eventHandler.emitEvent(T2.HANDLE_REDIRECT_END,p$.Redirect),e})),this.redirectResponse.set(n,r)):this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"),[2,r]):(this.logger.verbose("handleRedirectPromise returns null, not browser environment"),[2,null])}))}))},e.prototype.acquireTokenRedirect=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a=this;return F$(this,(function(s){return t=this.getRequestCorrelationId(e),this.logger.verbose("acquireTokenRedirect called",t),this.preflightBrowserEnvironmentCheck(p$.Redirect),(n=this.getAllAccounts().length>0)?this.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_START,p$.Redirect,e):this.eventHandler.emitEvent(T2.LOGIN_START,p$.Redirect,e),this.nativeExtensionProvider&&this.canUseNative(e)?(o=new i4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,d$.acquireTokenRedirect,this.performanceClient,this.nativeExtensionProvider,this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId),r=o.acquireTokenRedirect(e).catch((function(t){if(t instanceof t4&&t.isFatal())return a.nativeExtensionProvider=void 0,a.createRedirectClient(e.correlationId).acquireToken(e);if(t instanceof X$)return a.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),a.createRedirectClient(e.correlationId).acquireToken(e);throw a.browserStorage.setInteractionInProgress(!1),t}))):(i=this.createRedirectClient(e.correlationId),r=i.acquireToken(e)),[2,r.catch((function(e){throw n?a.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_FAILURE,p$.Redirect,null,e):a.eventHandler.emitEvent(T2.LOGIN_FAILURE,p$.Redirect,null,e),e}))]}))}))},e.prototype.acquireTokenPopup=function(e){var t=this,n=this.getRequestCorrelationId(e),r=this.performanceClient.startMeasurement(R$.AcquireTokenPopup,n);try{this.logger.verbose("acquireTokenPopup called",n),this.preflightBrowserEnvironmentCheck(p$.Popup)}catch(Ple){return Promise.reject(Ple)}var o,i=this.getAllAccounts();(i.length>0?this.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_START,p$.Popup,e):this.eventHandler.emitEvent(T2.LOGIN_START,p$.Popup,e),this.canUseNative(e))?o=this.acquireTokenNative(e,d$.acquireTokenPopup).then((function(e){return t.browserStorage.setInteractionInProgress(!1),r.endMeasurement({success:!0,isNativeBroker:!0,requestId:e.requestId}),e})).catch((function(n){if(n instanceof t4&&n.isFatal())return t.nativeExtensionProvider=void 0,t.createPopupClient(e.correlationId).acquireToken(e);if(n instanceof X$)return t.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),t.createPopupClient(e.correlationId).acquireToken(e);throw t.browserStorage.setInteractionInProgress(!1),n})):o=this.createPopupClient(e.correlationId).acquireToken(e);return o.then((function(e){return i.length<t.getAllAccounts().length?t.eventHandler.emitEvent(T2.LOGIN_SUCCESS,p$.Popup,e):t.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_SUCCESS,p$.Popup,e),r.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),r.endMeasurement({success:!0,requestId:e.requestId}),e})).catch((function(e){return i.length>0?t.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_FAILURE,p$.Popup,null,e):t.eventHandler.emitEvent(T2.LOGIN_FAILURE,p$.Popup,null,e),r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),Promise.reject(e)}))},e.prototype.trackPageVisibilityWithMeasurement=function(){var e=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;e&&(this.logger.info("Perf: Visibility change detected in ",e.event.name),e.increment({visibilityChangeCount:1}))},e.prototype.ssoSilent=function(e){var t;return O$(this,void 0,void 0,(function(){var n,r,o,i,a=this;return F$(this,(function(s){return n=this.getRequestCorrelationId(e),r=N$(N$({},e),{prompt:e.prompt,correlationId:n}),this.preflightBrowserEnvironmentCheck(p$.Silent),this.ssoSilentMeasurement=this.performanceClient.startMeasurement(R$.SsoSilent,n),null===(t=this.ssoSilentMeasurement)||void 0===t||t.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement),this.logger.verbose("ssoSilent called",n),this.eventHandler.emitEvent(T2.SSO_SILENT_START,p$.Silent,r),this.canUseNative(r)?o=this.acquireTokenNative(r,d$.ssoSilent).catch((function(e){if(e instanceof t4&&e.isFatal())return a.nativeExtensionProvider=void 0,a.createSilentIframeClient(r.correlationId).acquireToken(r);throw e})):(i=this.createSilentIframeClient(r.correlationId),o=i.acquireToken(r)),[2,o.then((function(e){var t,n;return a.eventHandler.emitEvent(T2.SSO_SILENT_SUCCESS,p$.Silent,e),null===(t=a.ssoSilentMeasurement)||void 0===t||t.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),null===(n=a.ssoSilentMeasurement)||void 0===n||n.endMeasurement({success:!0,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),e})).catch((function(e){var t;throw a.eventHandler.emitEvent(T2.SSO_SILENT_FAILURE,p$.Silent,null,e),null===(t=a.ssoSilentMeasurement)||void 0===t||t.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e})).finally((function(){document.removeEventListener("visibilitychange",a.trackPageVisibilityWithMeasurement)}))]}))}))},e.prototype.acquireTokenByCode=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i=this;return F$(this,(function(a){t=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(p$.Silent),this.logger.trace("acquireTokenByCode called",t),this.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_BY_CODE_START,p$.Silent,e),n=this.performanceClient.startMeasurement(R$.AcquireTokenByCode,e.correlationId);try{if(e.code&&e.nativeAccountId)throw W0.createSpaCodeAndNativeAccountIdPresentError();if(e.code)return r=e.code,(o=this.hybridAuthCodeResponses.get(r))?(this.logger.verbose("Existing acquireTokenByCode request found",e.correlationId),n.discardMeasurement()):(this.logger.verbose("Initiating new acquireTokenByCode request",t),o=this.acquireTokenByCodeAsync(N$(N$({},e),{correlationId:t})).then((function(e){return i.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_BY_CODE_SUCCESS,p$.Silent,e),i.hybridAuthCodeResponses.delete(r),n.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),n.endMeasurement({success:!0,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),e})).catch((function(e){throw i.hybridAuthCodeResponses.delete(r),i.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_BY_CODE_FAILURE,p$.Silent,null,e),n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e})),this.hybridAuthCodeResponses.set(r,o)),[2,o];if(e.nativeAccountId){if(this.canUseNative(e,e.nativeAccountId))return[2,this.acquireTokenNative(e,d$.acquireTokenByCode,e.nativeAccountId).catch((function(e){throw e instanceof t4&&e.isFatal()&&(i.nativeExtensionProvider=void 0),e}))];throw W0.createUnableToAcquireTokenFromNativePlatformError()}throw W0.createAuthCodeOrNativeAccountIdRequiredError()}catch(Ple){throw this.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_BY_CODE_FAILURE,p$.Silent,null,Ple),n.endMeasurement({errorCode:Ple instanceof q$&&Ple.errorCode||void 0,subErrorCode:Ple instanceof q$&&Ple.subError||void 0,success:!1}),Ple}return[2]}))}))},e.prototype.acquireTokenByCodeAsync=function(e){var t;return O$(this,void 0,void 0,(function(){var n=this;return F$(this,(function(r){switch(r.label){case 0:return this.logger.trace("acquireTokenByCodeAsync called",e.correlationId),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(R$.AcquireTokenByCodeAsync,e.correlationId),null===(t=this.acquireTokenByCodeAsyncMeasurement)||void 0===t||t.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement),[4,this.createSilentAuthCodeClient(e.correlationId).acquireToken(e).then((function(e){var t;return null===(t=n.acquireTokenByCodeAsyncMeasurement)||void 0===t||t.endMeasurement({success:!0,fromCache:e.fromCache,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),e})).catch((function(e){var t;throw null===(t=n.acquireTokenByCodeAsyncMeasurement)||void 0===t||t.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e})).finally((function(){document.removeEventListener("visibilitychange",n.trackPageVisibilityWithMeasurement)}))];case 1:return[2,r.sent()]}}))}))},e.prototype.acquireTokenFromCache=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){switch(this.performanceClient.addQueueMeasurement(R$.AcquireTokenFromCache,t.correlationId),n.cacheLookupPolicy){case k$.Default:case k$.AccessToken:case k$.AccessTokenAndRefreshToken:return[2,e.acquireToken(t)];default:throw $Z.createRefreshRequiredError()}return[2]}))}))},e.prototype.acquireTokenByRefreshToken=function(e,t){return O$(this,void 0,void 0,(function(){var n;return F$(this,(function(r){switch(this.performanceClient.addQueueMeasurement(R$.AcquireTokenByRefreshToken,e.correlationId),t.cacheLookupPolicy){case k$.Default:case k$.AccessTokenAndRefreshToken:case k$.RefreshToken:case k$.RefreshTokenAndNetwork:return n=this.createSilentRefreshClient(e.correlationId),this.performanceClient.setPreQueueTime(R$.SilentRefreshClientAcquireToken,e.correlationId),[2,n.acquireToken(e)];default:throw $Z.createRefreshRequiredError()}return[2]}))}))},e.prototype.acquireTokenBySilentIframe=function(e){return O$(this,void 0,void 0,(function(){var t;return F$(this,(function(n){return this.performanceClient.addQueueMeasurement(R$.AcquireTokenBySilentIframe,e.correlationId),t=this.createSilentIframeClient(e.correlationId),this.performanceClient.setPreQueueTime(R$.SilentIframeClientAcquireToken,e.correlationId),[2,t.acquireToken(e)]}))}))},e.prototype.logout=function(e){return O$(this,void 0,void 0,(function(){var t;return F$(this,(function(n){return t=this.getRequestCorrelationId(e),this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",t),[2,this.logoutRedirect(N$({correlationId:t},e))]}))}))},e.prototype.logoutRedirect=function(e){return O$(this,void 0,void 0,(function(){var t;return F$(this,(function(n){return t=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(p$.Redirect),[2,this.createRedirectClient(t).logout(e)]}))}))},e.prototype.logoutPopup=function(e){try{var t=this.getRequestCorrelationId(e);return this.preflightBrowserEnvironmentCheck(p$.Popup),this.createPopupClient(t).logout(e)}catch(Ple){return Promise.reject(Ple)}},e.prototype.getAllAccounts=function(){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts():[]},e.prototype.getAccountByUsername=function(e){if(this.logger.trace("getAccountByUsername called"),!e)return this.logger.warning("getAccountByUsername: No username provided"),null;var t=this.browserStorage.getAccountInfoFilteredBy({username:e});return t?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii("getAccountByUsername: Returning signed-in accounts matching username: "+e),t):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)},e.prototype.getAccountByHomeId=function(e){if(this.logger.trace("getAccountByHomeId called"),!e)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;var t=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:e});return t?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii("getAccountByHomeId: Returning signed-in accounts matching homeAccountId: "+e),t):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)},e.prototype.getAccountByLocalId=function(e){if(this.logger.trace("getAccountByLocalId called"),!e)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;var t=this.browserStorage.getAccountInfoFilteredBy({localAccountId:e});return t?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii("getAccountByLocalId: Returning signed-in accounts matching localAccountId: "+e),t):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)},e.prototype.setActiveAccount=function(e){this.browserStorage.setActiveAccount(e)},e.prototype.getActiveAccount=function(){return this.browserStorage.getActiveAccount()},e.prototype.preflightBrowserEnvironmentCheck=function(e,t){if(void 0===t&&(t=!0),this.logger.verbose("preflightBrowserEnvironmentCheck started"),x2.blockNonBrowserEnvironment(this.isBrowserEnvironment),x2.blockRedirectInIframe(e,this.config.system.allowRedirectInIframe),x2.blockReloadInHiddenIframes(),x2.blockAcquireTokenInPopups(),x2.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),e===p$.Redirect&&this.config.cache.cacheLocation===a$.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw r1.createInMemoryRedirectUnavailableError();e!==p$.Redirect&&e!==p$.Popup||this.preflightInteractiveRequest(t)},e.prototype.preflightInteractiveRequest=function(e){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),x2.blockReloadInHiddenIframes(),e&&this.browserStorage.setInteractionInProgress(!0)},e.prototype.acquireTokenNative=function(e,t,n){return O$(this,void 0,void 0,(function(){return F$(this,(function(r){if(this.logger.trace("acquireTokenNative called"),!this.nativeExtensionProvider)throw W0.createNativeConnectionNotEstablishedError();return[2,new i4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,t,this.performanceClient,this.nativeExtensionProvider,n||this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId).acquireToken(e)]}))}))},e.prototype.canUseNative=function(e,t){if(this.logger.trace("canUseNative called"),!a4.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(e.prompt)switch(e.prompt){case RJ.NONE:case RJ.CONSENT:case RJ.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace("canUseNative: prompt = "+e.prompt+" is not compatible with native flow, returning false"),!1}return!(!t&&!this.getNativeAccountId(e))||(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),!1)},e.prototype.getNativeAccountId=function(e){var t=e.account||this.browserStorage.getAccountInfoByHints(e.loginHint,e.sid)||this.getActiveAccount();return t&&t.nativeAccountId||""},e.prototype.createPopupClient=function(e){return new c4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createRedirectClient=function(e){return new u4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createSilentIframeClient=function(e){return new p4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,d$.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createSilentCacheClient=function(e){return new o4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.createSilentRefreshClient=function(e){return new h4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.createSilentAuthCodeClient=function(e){return new g4(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,d$.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.addEventCallback=function(e){return this.eventHandler.addEventCallback(e)},e.prototype.removeEventCallback=function(e){this.eventHandler.removeEventCallback(e)},e.prototype.addPerformanceCallback=function(e){return this.performanceClient.addPerformanceCallback(e)},e.prototype.removePerformanceCallback=function(e){return this.performanceClient.removePerformanceCallback(e)},e.prototype.enableAccountStorageEvents=function(){this.eventHandler.enableAccountStorageEvents()},e.prototype.disableAccountStorageEvents=function(){this.eventHandler.disableAccountStorageEvents()},e.prototype.getTokenCache=function(){return this.tokenCache},e.prototype.getLogger=function(){return this.logger},e.prototype.setLogger=function(e){this.logger=e},e.prototype.initializeWrapperLibrary=function(e,t){this.browserStorage.setWrapperMetadata(e,t)},e.prototype.setNavigationClient=function(e){this.navigationClient=e},e.prototype.getConfiguration=function(){return this.config},e.prototype.getRequestCorrelationId=function(e){return(null===e||void 0===e?void 0:e.correlationId)?e.correlationId:this.isBrowserEnvironment?this.browserCrypto.createNewGuid():IJ.EMPTY_STRING},e}(),_4=function(e){function t(t){var n=e.call(this,t)||this;return n.astsAsyncMeasurement=void 0,n.activeSilentTokenRequests=new Map,n.trackPageVisibility=n.trackPageVisibility.bind(n),n}return D$(t,e),t.prototype.loginRedirect=function(e){return O$(this,void 0,void 0,(function(){var t;return F$(this,(function(n){return t=this.getRequestCorrelationId(e),this.logger.verbose("loginRedirect called",t),[2,this.acquireTokenRedirect(N$({correlationId:t},e||x$))]}))}))},t.prototype.loginPopup=function(e){var t=this.getRequestCorrelationId(e);return this.logger.verbose("loginPopup called",t),this.acquireTokenPopup(N$({correlationId:t},e||x$))},t.prototype.acquireTokenSilent=function(e){return O$(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c=this;return F$(this,(function(l){if(t=this.getRequestCorrelationId(e),(n=this.performanceClient.startMeasurement(R$.AcquireTokenSilent,t)).addStaticFields({cacheLookupPolicy:e.cacheLookupPolicy}),this.preflightBrowserEnvironmentCheck(p$.Silent),this.logger.verbose("acquireTokenSilent called",t),!(r=e.account||this.getActiveAccount()))throw W0.createNoAccountError();return o={clientId:this.config.auth.clientId,authority:e.authority||IJ.EMPTY_STRING,scopes:e.scopes,homeAccountIdentifier:r.homeAccountId,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},i=JSON.stringify(o),"undefined"===typeof(a=this.activeSilentTokenRequests.get(i))?(this.logger.verbose("acquireTokenSilent called for the first time, storing active request",t),this.performanceClient.setPreQueueTime(R$.AcquireTokenSilentAsync,t),s=this.acquireTokenSilentAsync(N$(N$({},e),{correlationId:t}),r).then((function(t){return c.activeSilentTokenRequests.delete(i),n.addStaticFields({accessTokenSize:t.accessToken.length,idTokenSize:t.idToken.length}),n.endMeasurement({success:!0,fromCache:t.fromCache,isNativeBroker:t.fromNativeBroker,cacheLookupPolicy:e.cacheLookupPolicy,requestId:t.requestId}),t})).catch((function(e){throw c.activeSilentTokenRequests.delete(i),n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e})),this.activeSilentTokenRequests.set(i,s),[2,s]):(this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",t),n.discardMeasurement(),[2,a])}))}))},t.prototype.trackPageVisibility=function(){this.astsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.astsAsyncMeasurement.increment({visibilityChangeCount:1}))},t.prototype.acquireTokenSilentAsync=function(e,t){var n;return O$(this,void 0,void 0,(function(){var r,o,i,a,s,c=this;return F$(this,(function(l){switch(l.label){case 0:return this.performanceClient.addQueueMeasurement(R$.AcquireTokenSilentAsync,e.correlationId),this.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_START,p$.Silent,e),this.astsAsyncMeasurement=this.performanceClient.startMeasurement(R$.AcquireTokenSilentAsync,e.correlationId),null===(n=this.astsAsyncMeasurement)||void 0===n||n.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibility),a4.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme)&&t.nativeAccountId?(this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"),o=N$(N$({},e),{account:t}),r=this.acquireTokenNative(o,d$.acquireTokenSilent_silentFlow).catch((function(t){return O$(c,void 0,void 0,(function(){return F$(this,(function(n){if(t instanceof t4&&t.isFatal())return this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),this.nativeExtensionProvider=void 0,[2,this.createSilentIframeClient(e.correlationId).acquireToken(e)];throw t}))}))})),[3,3]):[3,1];case 1:return this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"),i=this.createSilentCacheClient(e.correlationId),this.performanceClient.setPreQueueTime(R$.InitializeSilentRequest,e.correlationId),[4,i.initializeSilentRequest(e,t)];case 2:a=l.sent(),s=N$(N$({},e),{cacheLookupPolicy:e.cacheLookupPolicy||k$.Default}),this.performanceClient.setPreQueueTime(R$.AcquireTokenFromCache,a.correlationId),r=this.acquireTokenFromCache(i,a,s).catch((function(t){if(s.cacheLookupPolicy===k$.AccessToken)throw t;return x2.blockReloadInHiddenIframes(),c.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_NETWORK_START,p$.Silent,a),c.performanceClient.setPreQueueTime(R$.AcquireTokenByRefreshToken,a.correlationId),c.acquireTokenByRefreshToken(a,s).catch((function(t){var n=t instanceof W$,r=t instanceof X$,o=t.errorCode===f$;if((!n||!o||r||s.cacheLookupPolicy===k$.AccessTokenAndRefreshToken||s.cacheLookupPolicy===k$.RefreshToken)&&s.cacheLookupPolicy!==k$.Skip)throw t;return c.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",e.correlationId),c.performanceClient.setPreQueueTime(R$.AcquireTokenBySilentIframe,a.correlationId),c.acquireTokenBySilentIframe(a)}))})),l.label=3;case 3:return[2,r.then((function(e){var t;return c.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_SUCCESS,p$.Silent,e),null===(t=c.astsAsyncMeasurement)||void 0===t||t.endMeasurement({success:!0,fromCache:e.fromCache,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),e})).catch((function(e){var t;throw c.eventHandler.emitEvent(T2.ACQUIRE_TOKEN_FAILURE,p$.Silent,null,e),null===(t=c.astsAsyncMeasurement)||void 0===t||t.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e})).finally((function(){document.removeEventListener("visibilitychange",c.trackPageVisibility)}))]}}))}))},t}(b4),C4="function",w4="object",E4="undefined",x4=Object,S4=x4.prototype,k4=x4.assign,T4=x4.create,I4=x4.defineProperty,A4=S4.hasOwnProperty,P4=null;function D4(e){void 0===e&&(e=!0);var t=!1===e?null:P4;return t||(typeof globalThis!==E4&&(t=globalThis),t||typeof self===E4||(t=self),t||typeof window===E4||(t=window),t||typeof __webpack_require__.g===E4||(t=__webpack_require__.g),P4=t),t}function R4(e){throw new TypeError(e)}function M4(e){if(T4)return T4(e);if(null==e)return{};var t=typeof e;function n(){}return t!==w4&&t!==C4&&R4("Object prototype may only be an Object:"+e),n.prototype=e,new n}(D4()||{}).Symbol,(D4()||{}).Reflect;var N4,L4=function(e,t){return L4=x4.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])},L4(e,t)};function O4(e,t){function n(){this.constructor=e}typeof t!==C4&&null!==t&&R4("Class extends value "+String(t)+" is not a constructor or null"),L4(e,t),e.prototype=null===t?M4(t):(n.prototype=t.prototype,new n)}function F4(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var B4="undefined",H4="constructor",z4="prototype",U4="function",V4="_dynClass",j4="_unknown_",q4="_dyn__proto__",W4=Object,G4=W4.getPrototypeOf,K4=W4.getOwnPropertyNames;var Y4=function(){var e;return typeof globalThis!==B4&&(e=globalThis),e||typeof self===B4||(e=self),e||typeof window===B4||(e=window),e||typeof __webpack_require__.g===B4||(e=__webpack_require__.g),e||{}}(),Q4=Y4.__dynProto$Gbl||(Y4.__dynProto$Gbl={o:(N4={},N4.setInstFuncs=!0,N4.useBaseInst=!0,N4),n:1e3});function X4(e,t){return e&&W4.prototype.hasOwnProperty.call(e,t)}function J4(e){return e&&(e===W4.prototype||e===Array.prototype)}function $4(e){return J4(e)||e===Function.prototype}function Z4(e){var t;if(e){if(G4)return G4(e);var n=e.__proto__||e.prototype||(e.constructor?e.constructor.prototype:null);t=e._dyn__proto__||n,X4(e,q4)||(delete e._dynInstProto,t=e._dyn__proto__=e._dynInstProto||e._dyn__proto__,e._dynInstProto=n)}return t}function e3(e,t){var n=[];if(K4)n=K4(e);else for(var r in e)"string"===typeof r&&X4(e,r)&&n.push(r);if(n&&n.length>0)for(var o=0;o<n.length;o++)t(n[o])}function t3(e,t,n){return t!==H4&&typeof e[t]===U4&&(n||X4(e,t))}function n3(e){throw new TypeError("DynamicProto: "+e)}function r3(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function o3(e,t,n,r){var o=null;if(e&&X4(n,V4)){var i=e._dynInstFuncs||{};if((o=(i[n._dynClass]||{})[t])||n3("Missing ["+t+"] "+U4),!o._dynInstChk&&!1!==i._dynInstChk){for(var a=!X4(e,t),s=Z4(e),c=[];a&&s&&!$4(s)&&!r3(c,s);){var l=s[t];if(l){a=l===r;break}c.push(s),s=Z4(s)}try{a&&(e[t]=o),o._dynInstChk=1}catch(Ple){i._dynInstChk=!1}}}return o}function i3(e,t,n){var r=t[e];return r===n&&(r=Z4(t)[e]),typeof r!==U4&&n3("["+e+"] is not a "+U4),r}function a3(e,t,n,r,o){if(!J4(e)){var i=n._dynInstFuncs=n._dynInstFuncs||{},a=i[t]=i[t]||{};!1!==i._dynInstChk&&(i._dynInstChk=!!o),e3(n,(function(t){t3(n,t,!1)&&n[t]!==r[t]&&(a[t]=n[t],delete n[t],(!X4(e,t)||e[t]&&!e[t]._isDynProxy)&&(e[t]=function(e,t){var n=function n(){return(o3(this,t,e,n)||i3(t,e,n)).apply(this,arguments)};return n._isDynProxy=1,n}(e,t)))}))}}function s3(e,t){return X4(e,z4)?e.name||t||j4:((e||{}).constructor||{}).name||t||j4}function c3(e,t,n,r){X4(e,z4)||n3("theClass is an invalid class definition.");var o=e.prototype;(function(e,t){if(G4){for(var n=[],r=Z4(t);r&&!$4(r)&&!r3(n,r);){if(r===e)return!0;n.push(r),r=Z4(r)}return!1}return!0})(o,t)||n3("["+s3(e)+"] not in hierarchy of ["+s3(t)+"]");var i=null;X4(o,V4)?i=o._dynClass:(i="_dynCls$"+s3(e,"_")+"$"+Q4.n,Q4.n++,o._dynClass=i);var a=c3._dfOpts,s=!!a.useBaseInst;s&&r&&void 0!==r.useBaseInst&&(s=!!r.useBaseInst);var c=function(e){var t={};return e3(e,(function(n){!t[n]&&t3(e,n,!1)&&(t[n]=e[n])})),t}(t),l=function(e,t,n,r){function o(e,t,n){var o=t[n];if(o._isDynProxy&&r){var i=e._dynInstFuncs||{};!1!==i._dynInstChk&&(o=(i[t._dynClass]||{})[n]||o)}return function(){return o.apply(e,arguments)}}var i={};e3(n,(function(e){i[e]=o(t,n,e)}));for(var a=Z4(e),s=[];a&&!$4(a)&&!r3(s,a);)e3(a,(function(e){!i[e]&&t3(a,e,!G4)&&(i[e]=o(t,a,e))})),s.push(a),a=Z4(a);return i}(o,t,c,s);n(t,l);var u=!!G4&&!!a.setInstFuncs;u&&r&&(u=!!r.setInstFuncs),a3(o,i,t,c,!1!==u)}c3._dfOpts=Q4.o;var l3="",u3="channels",d3="createPerfMgr",p3="extensionConfig",h3="eventsSent",f3="eventsDiscarded",m3="eventsSendRequest",g3="perfEvent",v3="errorToConsole",y3="warnToConsole",b3="constructor",_3=I4,C3=x4.freeze,w3=(x4.seal,x4.keys),E3=String.prototype,x3=E3.trim,S3=E3.endsWith,k3=E3.startsWith,T3=Date.prototype.toISOString,I3=Array.isArray,A3=S4.toString,P3=A4.toString,D3=P3.call(x4),R3=/-([a-z])/g,M3=/([^\w\d_$])/g,N3=/^(\d+[\w\d_$])/,L3=Object.getPrototypeOf;function O3(e){return void 0===e||typeof e===E4}function F3(e){return null===e||O3(e)}function B3(e){return!F3(e)}function H3(e,t){return!(!e||!A4.call(e,t))}function z3(e){return!(!e||typeof e!==w4)}function U3(e){return!(!e||typeof e!==C4)}function V3(e){var t=e;return t&&Q3(t)&&(t=(t=(t=t.replace(R3,(function(e,t){return t.toUpperCase()}))).replace(M3,"_")).replace(N3,(function(e,t){return"_"+t}))),t}function j3(e,t){if(e)for(var n in e)A4.call(e,n)&&t.call(e,n,e[n])}function q3(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=S3?e.endsWith(t):function(e,t){var n=!1,r=t?t.length:0,o=e?e.length:0;if(r&&o&&o>=r&&!(n=e===t)){for(var i=o-1,a=r-1;a>=0;a--){if(e[i]!=t[a])return!1;i--}n=!0}return n}(e,t)),n}function W3(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=k3?e.startsWith(t):function(e,t){var n=!1,r=t?t.length:0;if(e&&r&&e.length>=r&&!(n=e===t)){for(var o=0;o<r;o++)if(e[o]!==t[o])return!1;n=!0}return n}(e,t)),n}function G3(e,t){return!(!e||!t)&&-1!==e.indexOf(t)}var K3=I3||function(e){return!(!e||"[object Array]"!==A3.call(e))};function Y3(e){return!(!e||"[object Error]"!==A3.call(e))}function Q3(e){return"string"===typeof e}function X3(e){return"number"===typeof e}function J3(e){return"boolean"===typeof e}function $3(e){var t=!1;if(e&&"object"===typeof e){var n=L3?L3(e):function(e){if(e){if(L3)return L3(e);var t=e.__proto__||e.prototype||e.constructor;if(t)return t}return null}(e);n?(n.constructor&&A4.call(n,b3)&&(n=n.constructor),t=typeof n===C4&&P3.call(n)===D3):t=!0}return t}function Z3(e){if(e)return T3?e.toISOString():function(e){if(e&&e.getUTCFullYear){var t=function(e){var t=String(e);return 1===t.length&&(t="0"+t),t};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(e)}function e6(e,t,n){var r=e.length;try{for(var o=0;o<r&&(!(o in e)||-1!==t.call(n||e,e[o],o,e));o++);}catch(Ple){}}function t6(e,t,n){if(e){if(e.indexOf)return e.indexOf(t,n);var r=e.length,o=n||0;try{for(var i=Math.max(o>=0?o:r-Math.abs(o),0);i<r;i++)if(i in e&&e[i]===t)return i}catch(Ple){}}return-1}function n6(e){return e&&(e=x3&&e.trim?e.trim():e.replace?e.replace(/^\s+|(?=\s)\s+$/g,l3):e),e}var r6=!{toString:null}.propertyIsEnumerable("toString"),o6=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function i6(e){var t=typeof e;if(t===C4||t===w4&&null!==e||R4("objKeys called on non-object"),!r6&&w3)return w3(e);var n=[];for(var r in e)e&&A4.call(e,r)&&n.push(r);if(r6)for(var o=o6.length,i=0;i<o;i++)e&&A4.call(e,o6[i])&&n.push(o6[i]);return n}function a6(e,t,n,r){if(_3)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),_3(e,t,o),!0}catch(Ple){}return!1}function s6(e){return e}function c6(e){return C3&&j3(e,(function(e,t){(K3(t)||z3(t))&&C3(t)})),l6(e)}var l6=C3||s6;function u6(){var e=Date;return e.now?e.now():(new e).getTime()}function d6(e){return Y3(e)?e.name:l3}function p6(e,t,n,r,o){var i=n;return e&&((i=e[t])===n||o&&!o(i)||r&&!r(n)||(i=n,e[t]=i)),i}function h6(e,t,n){var r;return e?!(r=e[t])&&F3(r)&&(r=O3(n)?{}:n,e[t]=r):r=O3(n)?{}:n,r}function f6(e,t){return F3(e)?t:e}function m6(e){return!!e}function g6(e){throw new Error(e)}function v6(e,t){var n=null,r=null;return U3(e)?n=e:r=e,function(){var e=arguments;if(n&&(r=n()),r)return r[t].apply(r,e)}}function y6(e,t,n,r,o){e&&t&&n&&(!1!==o||O3(e[t]))&&(e[t]=v6(n,r))}function b6(e,t,n,r){return e&&t&&z3(e)&&K3(n)&&e6(n,(function(n){Q3(n)&&y6(e,n,t,n,r)})),e}function _6(e){return e&&k4&&(e=x4(k4({},e))),e}function C6(e,t,n,r,o,i){var a=arguments,s=a[0]||{},c=a.length,l=!1,u=1;for(c>0&&J3(s)&&(l=s,s=a[u]||{},u++),z3(s)||(s={});u<c;u++){var d=a[u],p=K3(d),h=z3(d);for(var f in d){var m=p&&f in d||h&&A4.call(d,f);if(m){var g=d[f],v=void 0;if(l&&g&&((v=K3(g))||$3(g))){var y=s[f];v?K3(y)||(y=[]):$3(y)||(y={}),g=C6(l,y,g)}void 0!==g&&(s[f]=g)}}}return s}var w6=null,E6=function(){function e(t,n,r){var o,i=this,a=!1;(i.start=u6(),i.name=t,i.isAsync=r,i.isChildEvt=function(){return!1},U3(n))&&(a=a6(i,"payload",(function(){return!o&&U3(n)&&(o=n(),n=null),o})));i.getCtx=function(t){return t?t===e.ParentContextKey||t===e.ChildrenContextKey?i[t]:(i.ctx||{})[t]:null},i.setCtx=function(t,n){if(t)if(t===e.ParentContextKey)i[t]||(i.isChildEvt=function(){return!0}),i[t]=n;else if(t===e.ChildrenContextKey)i[t]=n;else{(i.ctx=i.ctx||{})[t]=n}},i.complete=function(){var t=0,r=i.getCtx(e.ChildrenContextKey);if(K3(r))for(var o=0;o<r.length;o++){var s=r[o];s&&(t+=s.time)}i.time=u6()-i.start,i.exTime=i.time-t,i.complete=function(){},!a&&U3(n)&&(i.payload=n())}}return e.ParentContextKey="parent",e.ChildrenContextKey="childEvts",e}(),x6=function(){function e(t){this.ctx={},c3(e,this,(function(e){e.create=function(e,t,n){return new E6(e,t,n)},e.fire=function(e){e&&(e.complete(),t&&U3(t.perfEvent)&&t.perfEvent(e))},e.setCtx=function(t,n){t&&((e.ctx=e.ctx||{})[t]=n)},e.getCtx=function(t){return(e.ctx||{})[t]}}))}return e.__ieDyn=1,e}(),S6="CoreUtils.doPerf";function k6(e,t,n,r,o){if(e){var i=e;if(i.getPerfMgr&&(i=i.getPerfMgr()),i){var a=void 0,s=i.getCtx(S6);try{if(a=i.create(t(),r,o)){if(s&&a.setCtx&&(a.setCtx(E6.ParentContextKey,s),s.getCtx&&s.setCtx)){var c=s.getCtx(E6.ChildrenContextKey);c||(c=[],s.setCtx(E6.ChildrenContextKey,c)),c.push(a)}return i.setCtx(S6,a),n(a)}}catch(l){a&&a.setCtx&&a.setCtx("exception",l)}finally{a&&i.fire(a),i.setCtx(S6,s)}}}return n()}var T6="window",I6="JSON",A6="msie",P6="trident/",D6="XMLHttpRequest",R6=null,M6=null,N6=!1,L6=null,O6=null;function F6(e,t){var n=!1;if(e){try{if(!(n=t in e)){var r=e.prototype;r&&(n=t in r)}}catch(Ple){}if(!n)try{n=!O3((new e)[t])}catch(Ple){}}return n}function B6(e){var t=D4();return t&&t[e]?t[e]:e===T6&&H6()?window:null}function H6(){return Boolean(typeof window===w4&&window)}function z6(){return H6()?window:B6(T6)}function U6(){return Boolean(typeof document===w4&&document)}function V6(){return U6()?document:B6("document")}function j6(){return Boolean(typeof navigator===w4&&navigator)}function q6(){return j6()?navigator:B6("navigator")}function W6(e){if(e&&N6){var t=B6("__mockLocation");if(t)return t}return typeof location===w4&&location?location:B6("location")}function G6(){return B6("performance")}function K6(){return Boolean(typeof JSON===w4&&JSON||null!==B6(I6))}function Y6(){return K6()?JSON||B6(I6):null}function Q6(){var e=q6();return!(!e||!e.product)&&"ReactNative"===e.product}function X6(){var e=q6();if(e&&(e.userAgent!==M6||null===R6)){var t=((M6=e.userAgent)||l3).toLowerCase();R6=G3(t,A6)||G3(t,P6)}return R6}function J6(e){var t=Object.prototype.toString.call(e),n=l3;return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":K6()&&(n=Y6().stringify(e)),t+n}function $6(){return null===O6&&(O6=j6()&&Boolean(q6().sendBeacon)),O6}function Z6(e){var t=!1;try{t=!!B6("fetch");var n=B6("Request");t&&e&&n&&(t=F6(n,"keepalive"))}catch(Ple){}return t}function e5(){return null===L6&&(L6=typeof XDomainRequest!==E4)&&t5()&&(L6=L6&&!F6(B6(D6),"withCredentials")),L6}function t5(){var e=!1;try{e=!!B6(D6)}catch(Ple){}return e}var n5,r5=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],o5=null;function i5(e,t){return function(){var n=arguments,r=a5(t);if(r){var o=r.listener;o&&o[e]&&o[e].apply(o,n)}}}function a5(e){var t=o5;return t||!0===e.disableDbgExt||(t=o5||function(){var e=B6("Microsoft");return e&&(o5=e.ApplicationInsights),o5}()),t?t.ChromeDbgExt:null}function s5(e){return e?'"'+e.replace(/\"/g,l3)+'"':l3}function c5(e,t){var n=typeof console!==E4?console:B6("console");if(n){var r="log";n[e]&&(r=e),U3(n[r])&&n[r](t)}}var l5=function(){function e(e,t,n,r){void 0===n&&(n=!1);var o=this;o.messageId=e,o.message=(n?"AI: ":"AI (Internal): ")+e;var i=l3;K6()&&(i=Y6().stringify(r));var a=(t?" message:"+s5(t):l3)+(r?" props:"+s5(i):l3);o.message+=a}return e.dataType="MessageData",e}();function u5(e,t){return(e||{}).logger||new d5(t)}var d5=function(){function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n,r,o,i,a=0,s={};c3(e,this,(function(e){function c(t,n){if(!(a>=o)){var i=!0,c="AITR_"+n.messageId;if(s[c]?i=!1:s[c]=!0,i&&(t<=r&&(e.queue.push(n),a++,l(1===t?"error":"warn",n)),a===o)){var u="Internal events throttle limit per PageView reached for this app.",d=new l5(23,u,!1);e.queue.push(d),1===t?e.errorToConsole(u):e.warnToConsole(u)}}}function l(e,n){var r=a5(t||{});r&&r.diagLog&&r.diagLog(e,n)}!function(e){n=f6(e.loggingLevelConsole,0),r=f6(e.loggingLevelTelemetry,1),o=f6(e.maxMessageLimit,25),i=f6(e.enableDebug,f6(e.enableDebugExceptions,!1))}(t||{}),e.consoleLoggingLevel=function(){return n},e.telemetryLoggingLevel=function(){return r},e.maxInternalMessageLimit=function(){return o},e.enableDebugExceptions=function(){return i},e.throwInternal=function(t,r,o,a,u){void 0===u&&(u=!1);var d=new l5(r,o,u,a);if(i)throw J6(d);var p=1===t?v3:y3;if(O3(d.message))l("throw"+(1===t?"Critical":"Warning"),d);else{if(u){var h=+d.messageId;!s[h]&&n>=t&&(e[p](d.message),s[h]=!0)}else n>=t&&e[p](d.message);c(t,d)}},e.warnToConsole=function(e){c5("warn",e),l("warning",e)},e.errorToConsole=function(e){c5("error",e),l("error",e)},e.resetInternalMessageCount=function(){a=0,s={}},e.logInternalMessage=c}))}return e.__ieDyn=1,e}();function p5(e){return e||new d5}function h5(e,t,n,r,o,i){void 0===i&&(i=!1),p5(e).throwInternal(t,n,r,o,i)}function f5(e,t){p5(e).warnToConsole(t)}var m5=4294967296,g5=4294967295,v5=!1,y5=123456789,b5=987654321;function _5(e){e<0&&(e>>>=0),y5=123456789+e&g5,b5=987654321-e&g5,v5=!0}function C5(){try{var e=2147483647&u6();_5((Math.random()*m5^e)+e)}catch(Ple){}}function w5(e){var t=0,n=B6("crypto")||B6("msCrypto");return n&&n.getRandomValues&&(t=n.getRandomValues(new Uint32Array(1))[0]&g5),0===t&&X6()&&(v5||C5(),t=E5()&g5),0===t&&(t=Math.floor(m5*Math.random()|0)),e||(t>>>=0),t}function E5(e){var t=((b5=36969*(65535&b5)+(b5>>16)&g5)<<16)+(65535&(y5=18e3*(65535&y5)+(y5>>16)&g5))>>>0&g5|0;return e||(t>>>=0),t}function x5(e){void 0===e&&(e=22);for(var t=w5()>>>0,n=0,r=l3;r.length<e;)n++,r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===n&&(t=(w5()<<2&4294967295|3&t)>>>0,n=0);return r}var S5=I4,k5="2.8.12",T5="."+x5(6),I5=0;function A5(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function P5(e,t){var n=t[e.id];if(!n){n={};try{A5(t)&&(function(e,t,n){if(S5)try{return S5(e,t,{value:n,enumerable:!1,configurable:!0}),!0}catch(Ple){}return!1}(t,e.id,n)||(t[e.id]=n))}catch(Ple){}}return n}function D5(e,t){return void 0===t&&(t=!1),V3(e+I5+++(t?".2.8.12":l3)+T5)}function R5(e){var t={id:D5("_aiData-"+(e||l3)+"."+k5),accept:function(e){return A5(e)},get:function(e,n,r,o){var i=e[t.id];return i?i[V3(n)]:(o&&((i=P5(t,e))[V3(n)]=r),r)},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch(Ple){}}};return t}var M5="00000000000000000000000000000000",N5="0000000000000000";function L5(e,t,n){return!(!e||e.length!==t||e===n)&&!!e.match(/^[\da-f]*$/)}function O5(e){return L5(e,32,M5)}function F5(e){return L5(e,16,N5)}var B5=R5("plugin");function H5(e){return B5.get(e,"state",{},!0)}function z5(e,t){for(var n,r=[],o=null,i=e.getNext();i;){var a=i.getPlugin();if(a){o&&U3(o.setNextPlugin)&&U3(a.processTelemetry)&&o.setNextPlugin(a);(U3(a.isInitialized)?a.isInitialized():(n=H5(a)).isInitialized)||r.push(a),o=a,i=i.getNext()}}e6(r,(function(r){var o=e.core();r.initialize(e.getCfg(),o,t,e.getNext()),n=H5(r),r.core||n.core||(n.core=o),n.isInitialized=!0,delete n.teardown}))}function U5(e){return e.sort((function(e,t){var n=0;if(t){var r=U3(t.processTelemetry);U3(e.processTelemetry)?n=r?e.priority-t.priority:1:r&&(n=-1)}else n=e?1:-1;return n}))}var V5="TelemetryPluginChain",j5=0;function q5(e,t,n,r){var o=null,i=[];null!==r&&(o=r?function(e,t,n){for(;e;){if(e.getPlugin()===n)return e;e=e.getNext()}return Y5([n],t.config||{},t)}(e,n,r):e);var a={_next:function(){var e=o;if(o=e?e.getNext():null,!e){var t=i;t&&t.length>0&&(e6(t,(function(e){try{e.func.call(e.self,e.args)}catch(Ple){h5(n.logger,2,73,"Unexpected Exception during onComplete - "+J6(Ple))}})),i=[])}return e},ctx:{core:function(){return n},diagLog:function(){return u5(n,t)},getCfg:function(){return t},getExtCfg:s,getConfig:function(e,n,r){void 0===r&&(r=!1);var o,i=s(e,null);i&&!F3(i[n])?o=i[n]:t&&!F3(t[n])&&(o=t[n]);return F3(o)?r:o},hasNext:function(){return!!o},getNext:function(){return o},setNext:function(e){o=e},iterate:function(e){var t;for(;t=a._next();){var n=t.getPlugin();n&&e(n)}},onComplete:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e&&i.push({func:e,self:O3(t)?a.ctx:t,args:n})}}};function s(e,n,r){var o;if(void 0===n&&(n={}),void 0===r&&(r=0),t){var i=t.extensionConfig;i&&e&&(o=i[e])}if(o){if(z3(n)&&0!==r){var a=C6(!0,n,o);t&&2===r&&j3(n,(function(e){if(F3(a[e])){var n=t[e];F3(n)||(a[e]=n)}})),o=a}}else o=n;return o}return a}function W5(e,t,n,r){var o=q5(e,t,n,r),i=o.ctx;return i.processNext=function(e){var t=o._next();return t&&t.processTelemetry(e,i),!t},i.createNew=function(e,r){return void 0===e&&(e=null),K3(e)&&(e=Y5(e,t,n,r)),W5(e||i.getNext(),t,n,r)},i}function G5(e,t,n){var r=t.config||{},o=q5(e,r,t,n),i=o.ctx;return i.processNext=function(e){var t=o._next();return t&&t.unload(i,e),!t},i.createNew=function(e,n){return void 0===e&&(e=null),K3(e)&&(e=Y5(e,r,t,n)),G5(e||i.getNext(),t,n)},i}function K5(e,t,n){var r=t.config||{},o=q5(e,r,t,n).ctx;return o.processNext=function(e){return o.iterate((function(t){U3(t.update)&&t.update(o,e)}))},o.createNew=function(e,n){return void 0===e&&(e=null),K3(e)&&(e=Y5(e,r,t,n)),K5(e||o.getNext(),t,n)},o}function Y5(e,t,n,r){var o=null,i=!r;if(K3(e)&&e.length>0){var a=null;e6(e,(function(e){if(i||r!==e||(i=!0),i&&e&&U3(e.processTelemetry)){var s=function(e,t,n){var r,o=null,i=U3(e.processTelemetry),a=U3(e.setNextPlugin);r=e?e.identifier+"-"+e.priority+"-"+j5++:"Unknown-0-"+j5++;var s={getPlugin:function(){return e},getNext:function(){return o},processTelemetry:u,unload:d,update:p,_id:r,_setNext:function(e){o=e}};function c(){var r;return e&&U3(e._getTelCtx)&&(r=e._getTelCtx()),r||(r=W5(s,t,n)),r}function l(t,n,i,a,s){var c=!1,l=e?e.identifier:V5,u=t._hasRun;return u||(u=t._hasRun={}),t.setNext(o),e&&k6(t.core(),(function(){return l+":"+i}),(function(){u[r]=!0;try{var e=o?o._id:l3;e&&(u[e]=!1),c=n(t)}catch(s){var a=!o||u[o._id];a&&(c=!0),o&&a||h5(t.diagLog(),1,73,"Plugin ["+l+"] failed during "+i+" - "+J6(s)+", run flags: "+J6(u))}}),a,s),c}function u(t,n){function r(n){if(!e||!i)return!1;var r=H5(e);return!r.teardown&&!r.disabled&&(a&&e.setNextPlugin(o),e.processTelemetry(t,n),!0)}l(n=n||c(),r,"processTelemetry",(function(){return{item:t}}),!t.sync)||n.processNext(t)}function d(t,n){function r(){var r=!1;if(e){var o=H5(e),i=e.core||o.core;!e||i&&i!==t.core()||o.teardown||(o.core=null,o.teardown=!0,o.isInitialized=!1,e.teardown&&!0===e.teardown(t,n)&&(r=!0))}return r}l(t,r,"unload",(function(){}),n.isAsync)||t.processNext(n)}function p(t,n){function r(){var r=!1;if(e){var o=H5(e),i=e.core||o.core;!e||i&&i!==t.core()||o.teardown||e.update&&!0===e.update(t,n)&&(r=!0)}return r}l(t,r,"update",(function(){}),!1)||t.processNext(n)}return l6(s)}(e,t,n);o||(o=s),a&&a._setNext(s),a=s}}))}return r&&!o?Y5([r],t,n):o}var Q5=500;function X5(e,t,n){t&&K3(t)&&t.length>0&&(e6(t=t.sort((function(e,t){return e.priority-t.priority})),(function(e){e.priority<Q5&&g6("Channel has invalid priority - "+e.identifier)})),e.push({queue:l6(t),chain:Y5(t,n.config,n)}))}var J5="toGMTString",$5="toUTCString",Z5="expires",e8=null,t8=null,n8=null,r8=V6(),o8={},i8={};function a8(e,t){var n=u8._ckMgr||i8._ckMgr;return n||(n=u8._ckMgr=u8(e,t),i8._ckMgr=n),n}function s8(e){return!e||e.isEnabled()}function c8(e,t){return!!(t&&e&&K3(e.ignoreCookies))&&-1!==e.ignoreCookies.indexOf(t)}function l8(e,t){var n;if(e)n=e.getCookieMgr();else if(t){var r=t.cookieCfg;n=r._ckMgr?r._ckMgr:u8(t)}return n||(n=a8(t,(e||{}).logger)),n}function u8(e,t){var n,r=function(e){var t=e.cookieCfg=e.cookieCfg||{};if(p6(t,"domain",e.cookieDomain,B3,F3),p6(t,"path",e.cookiePath||"/",null,F3),F3(t.enabled)){var n=void 0;O3(e.isCookieUseDisabled)||(n=!e.isCookieUseDisabled),O3(e.disableCookiesUsage)||(n=!e.disableCookiesUsage),t.enabled=n}return t}(e||i8),o=r.path||"/",i=r.domain,a=!1!==r.enabled,s=((n={isEnabled:function(){var e=a&&d8(t),n=i8._ckMgr;return e&&n&&s!==n&&(e=s8(n)),e}}).setEnabled=function(e){a=!1!==e},n.set=function(e,t,n,a,c){var l=!1;if(s8(s)&&!function(e,t){return!!(t&&e&&K3(e.blockedCookies)&&-1!==e.blockedCookies.indexOf(t))||c8(e,t)}(r,e)){var u={},d=n6(t||l3),p=d.indexOf(";");if(-1!==p&&(d=n6(t.substring(0,p)),u=p8(t.substring(p+1))),p6(u,"domain",a||i,m6,O3),!F3(n)){var h=X6();if(O3(u.expires)){var f=u6()+1e3*n;if(f>0){var m=new Date;m.setTime(f),p6(u,Z5,h8(m,h?J5:$5)||h8(m,h?J5:$5)||l3,m6)}}h||p6(u,"max-age",l3+n,null,O3)}var g=W6();g&&"https:"===g.protocol&&(p6(u,"secure",null,null,O3),null===t8&&(t8=!v8((q6()||{}).userAgent)),t8&&p6(u,"SameSite","None",null,O3)),p6(u,"path",c||o,null,O3),(r.setCookie||g8)(e,f8(d,u)),l=!0}return l},n.get=function(e){var t=l3;return s8(s)&&!c8(r,e)&&(t=(r.getCookie||m8)(e)),t},n.del=function(e,t){var n=!1;return s8(s)&&(n=s.purge(e,t)),n},n.purge=function(e,n){var o,i=!1;if(d8(t)){var a=((o={}).path=n||"/",o.expires="Thu, 01 Jan 1970 00:00:01 GMT",o);X6()||(a["max-age"]="0"),(r.delCookie||g8)(e,f8(l3,a)),i=!0}return i},n);return s._ckMgr=s,s}function d8(e){if(null===e8){e8=!1;try{e8=void 0!==(r8||{}).cookie}catch(Ple){h5(e,2,68,"Cannot access document.cookie - "+d6(Ple),{exception:J6(Ple)})}}return e8}function p8(e){var t={};e&&e.length&&e6(n6(e).split(";"),(function(e){if(e=n6(e||l3)){var n=e.indexOf("=");-1===n?t[e]=null:t[n6(e.substring(0,n))]=n6(e.substring(n+1))}}));return t}function h8(e,t){return U3(e[t])?e[t]():null}function f8(e,t){var n=e||l3;return j3(t,(function(e,t){n+="; "+e+(F3(t)?l3:"="+t)})),n}function m8(e){var t=l3;if(r8){var n=r8.cookie||l3;n8!==n&&(o8=p8(n),n8=n),t=n6(o8[e]||l3)}return t}function g8(e,t){r8&&(r8.cookie=e+"="+t)}function v8(e){return!!Q3(e)&&(!(!G3(e,"CPU iPhone OS 12")&&!G3(e,"iPad; CPU OS 12"))||(!!(G3(e,"Macintosh; Intel Mac OS X 10_14")&&G3(e,"Version/")&&G3(e,"Safari"))||(!(!G3(e,"Macintosh; Intel Mac OS X 10_14")||!q3(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))||(!(!G3(e,"Chrome/5")&&!G3(e,"Chrome/6"))||(!(!G3(e,"UnrealEngine")||G3(e,"Chrome"))||!(!G3(e,"UCBrowser/12")&&!G3(e,"UCBrowser/11")))))))}function y8(){var e=[];return{add:function(t){t&&e.push(t)},run:function(t,n){e6(e,(function(e){try{e(t,n)}catch(Ple){h5(t.diagLog(),2,73,"Unexpected error calling unload handler - "+J6(Ple))}})),e=[]}}}var b8=function(){function e(){var t,n,r,o,i,a=this;function s(e){void 0===e&&(e=null);var t=e;if(!t){var o=n||W5(null,{},a.core);t=r&&r.getPlugin?o.createNew(null,r.getPlugin):o.createNew(null,r)}return t}function c(e,t,o){e&&p6(e,p3,[],null,F3),!o&&t&&(o=t.getProcessTelContext().getNext());var i=r;r&&r.getPlugin&&(i=r.getPlugin()),a.core=t,n=W5(o,e,t,i)}function l(){t=!1,a.core=null,n=null,r=null,i=[],o=y8()}l(),c3(e,a,(function(e){e.initialize=function(e,n,r,o){c(e,n,o),t=!0},e.teardown=function(t,n){var a,s=e.core;if(s&&(!t||s===t.core())){var c,u=!1,d=t||G5(null,s,r&&r.getPlugin?r.getPlugin():r),p=n||((a={reason:0}).isAsync=!1,a);return e._doTeardown&&!0===e._doTeardown(d,p,h)?c=!0:h(),c}function h(){if(!u){u=!0,o.run(d,n);var e=i;i=[],e6(e,(function(e){e.rm()})),!0===c&&d.processNext(p),l()}}},e.update=function(t,n){var o=e.core;if(o&&(!t||o===t.core())){var i,a=!1,s=t||K5(null,o,r&&r.getPlugin?r.getPlugin():r),l=n||{reason:0};return e._doUpdate&&!0===e._doUpdate(s,l,u)?i=!0:u(),i}function u(){a||(a=!0,c(s.getCfg(),s.core(),s.getNext()))}},e._addHook=function(e){e&&(K3(e)?i=i.concat(e):i.push(e))},y6(e,"_addUnloadCb",(function(){return o}),"add")})),a.diagLog=function(e){return s(e).diagLog()},a.isInitialized=function(){return t},a.setInitialized=function(e){t=e},a.setNextPlugin=function(e){r=e},a.processNext=function(e,t){t?t.processNext(e):r&&U3(r.processTelemetry)&&r.processTelemetry(e,null)},a._getTelCtx=s}return e.__ieDyn=1,e}(),_8=function(e){function t(){var n,r,o=e.call(this)||this;function i(){n=0,r=[]}return o.identifier="TelemetryInitializerPlugin",o.priority=199,i(),c3(t,o,(function(e,t){e.addTelemetryInitializer=function(e){var t={id:n++,fn:e};return r.push(t),{remove:function(){e6(r,(function(e,n){if(e.id===t.id)return r.splice(n,1),-1}))}}},e.processTelemetry=function(t,n){for(var o=!1,i=r.length,a=0;a<i;++a){var s=r[a];if(s)try{if(!1===s.fn.apply(null,[t])){o=!0;break}}catch(Ple){h5(n.diagLog(),1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+d6(Ple),{exception:J6(Ple)},!0)}}o||e.processNext(t,n)},e._doTeardown=function(){i()}})),o}return O4(t,e),t.__ieDyn=1,t}(b8),C8="Plugins must provide initialize method",w8="SDK is still unloading...",E8={loggingLevelConsole:1};function x8(e,t){return new x6(t)}function S8(e,t){var n=!1;return e6(t,(function(t){if(t===e)return n=!0,-1})),n}var k8=function(){function e(){var t,n,r,o,i,a,s,c,l,u,d,p,h,f,m,g,v,y,b,_,C=0;c3(e,this,(function(e){function w(){n=!1,t=C6(!0,{},E8),e.config=t,e.logger=new d5(t),e._extensions=[],m=new _8,r=[],o=null,i=null,a=null,s=null,c=null,u=null,l=[],d=null,p=null,h=null,f=!1,g=null,v=D5("AIBaseCore",!0),y=y8(),_=null}function E(){return W5(k(),t,e)}function x(n){var r=function(e,t,n){var r,o=[],i={};return e6(n,(function(n){(F3(n)||F3(n.initialize))&&g6(C8);var r=n.priority,a=n.identifier;n&&r&&(F3(i[r])?i[r]=a:f5(e,"Two extensions have same priority #"+r+" - "+i[r]+", "+a)),(!r||r<t)&&o.push(n)})),(r={all:n}).core=o,r}(e.logger,Q5,l);u=r.core,c=null;var o=r.all;if(h=l6(function(e,t,n){var r=[];if(e&&e6(e,(function(e){return X5(r,e,n)})),t){var o=[];e6(t,(function(e){e.priority>Q5&&o.push(e)})),X5(r,o,n)}return r}(p,o,e)),d){var i=t6(o,d);-1!==i&&o.splice(i,1),-1!==(i=t6(u,d))&&u.splice(i,1),d._setQueue(h)}else d=function(e,t){function n(){return W5(null,t.config,t,null)}function r(e,t,n,r){var o=e?e.length+1:1;function i(){0===--o&&(r&&r(),r=null)}o>0&&e6(e,(function(e){if(e&&e.queue.length>0){var r=e.chain,a=t.createNew(r);a.onComplete(i),n(a)}else o--})),i()}var o=!1,i={identifier:"ChannelControllerPlugin",priority:Q5,initialize:function(t,n,r,i){o=!0,e6(e,(function(e){e&&e.queue.length>0&&z5(W5(e.chain,t,n),r)}))},isInitialized:function(){return o},processTelemetry:function(t,o){r(e,o||n(),(function(e){e.processNext(t)}),(function(){o.processNext(t)}))},update:function(t,n){var o=n||{reason:0};return r(e,t,(function(e){e.processNext(o)}),(function(){t.processNext(o)})),!0},pause:function(){r(e,n(),(function(e){e.iterate((function(e){e.pause&&e.pause()}))}),null)},resume:function(){r(e,n(),(function(e){e.iterate((function(e){e.resume&&e.resume()}))}),null)},teardown:function(t,n){var i=n||{reason:0,isAsync:!1};return r(e,t,(function(e){e.processNext(i)}),(function(){t.processNext(i),o=!1})),!0},getChannel:function(t){var n=null;return e&&e.length>0&&e6(e,(function(e){if(e&&e.queue.length>0&&(e6(e.queue,(function(e){if(e.identifier===t)return n=e,-1})),n))return-1})),n},flush:function(t,o,i,a){var s=1,c=!1,l=null;function u(){s--,c&&0===s&&(l&&(clearTimeout(l),l=null),o&&o(c),o=null)}return a=a||5e3,r(e,n(),(function(e){e.iterate((function(e){if(e.flush){s++;var n=!1;e.flush(t,(function(){n=!0,u()}),i)||n||(t&&null==l?l=setTimeout((function(){l=null,u()}),a):u())}}))}),(function(){c=!0,u()})),!0},_setQueue:function(t){e=t}};return i}(h,e);o.push(d),u.push(d),e._extensions=U5(o),d.initialize(t,e,o),z5(E(),o),e._extensions=l6(U5(u||[])).slice(),n&&function(t){var n=K5(k(),e);e._updateHook&&!0===e._updateHook(n,t)||n.processNext(t)}(n)}function S(t){var n,r=null,o=null;return e6(e._extensions,(function(e){if(e.identifier===t&&e!==d&&e!==m)return o=e,-1})),!o&&d&&(o=d.getChannel(t)),o&&((n={plugin:o}).setEnabled=function(e){H5(o).disabled=!e},n.isEnabled=function(){var e=H5(o);return!e.teardown&&!e.disabled},n.remove=function(e,t){var n;void 0===e&&(e=!0);var r=[o],i=((n={reason:1}).isAsync=e,n);T(r,i,(function(e){e&&x({reason:32,removed:r}),t&&t(e)}))},r=n),r}function k(){if(!c){var n=(u||[]).slice();-1===t6(n,m)&&n.push(m),c=Y5(U5(n),t,e)}return c}function T(n,r,o){if(n&&n.length>0){var i=G5(Y5(n,t,e),e);i.onComplete((function(){var e=!1,t=[];e6(l,(function(r,o){S8(r,n)?e=!0:t.push(r)})),l=t;var r=[];p&&(e6(p,(function(t,o){var i=[];e6(t,(function(t){S8(t,n)?e=!0:i.push(t)})),r.push(i)})),p=r),o&&o(e)})),i.processNext(r)}else o(!1)}function I(){var n=e.logger?e.logger.queue:[];n&&(e6(n,(function(n){var r,o=((r={}).name=g||"InternalMessageId: "+n.messageId,r.iKey=f6(t.instrumentationKey),r.time=Z3(new Date),r.baseType=l5.dataType,r.baseData={message:n.message},r);e.track(o)})),n.length=0)}function A(e,t,n,r){return d?d.flush(e,t,n||6,r):(t&&t(!1),!0)}function P(t){var n=e.logger;n?h5(n,2,73,t):g6(t)}w(),e.isInitialized=function(){return n},e.initialize=function(r,i,s,c){f&&g6(w8),e.isInitialized()&&g6("Core should not be initialized more than once"),t=r||{},e.config=t,F3(r.instrumentationKey)&&g6("Please provide instrumentation key"),o=c,e._notificationManager=c,function(){var e=f6(t.disableDbgExt);!0===e&&b&&(o.removeNotificationListener(b),b=null);o&&!b&&!0!==e&&(b=function(e){if(!n5){n5={};for(var t=0;t<r5.length;t++)n5[r5[t]]=i5(r5[t],e)}return n5}(t),o.addNotificationListener(b))}(),function(){var e=f6(t.enablePerfMgr);!e&&a&&(a=null);e&&h6(t,d3,x8)}(),h6(t,p3,{}).NotificationManager=o,s&&(e.logger=s);var u=h6(t,"extensions",[]);(l=[]).push.apply(l,F4(F4([],i),u)),p=h6(t,u3,[]),x(null),h&&0!==h.length||g6("No channels available"),n=!0,e.releaseQueue()},e.getTransmissionControls=function(){var e=[];return h&&e6(h,(function(t){e.push(t.queue)})),l6(e)},e.track=function(n){n.iKey=n.iKey||t.instrumentationKey,n.time=n.time||Z3(new Date),n.ver=n.ver||"4.0",!f&&e.isInitialized()?E().processNext(n):r.push(n)},e.getProcessTelContext=E,e.getNotifyMgr=function(){return o||(o=function(){var e;return M4(((e={}).addNotificationListener=function(e){},e.removeNotificationListener=function(e){},e.eventsSent=function(e){},e.eventsDiscarded=function(e,t){},e.eventsSendRequest=function(e,t){},e))}(),e._notificationManager=o),o},e.addNotificationListener=function(e){o&&o.addNotificationListener(e)},e.removeNotificationListener=function(e){o&&o.removeNotificationListener(e)},e.getCookieMgr=function(){return s||(s=u8(t,e.logger)),s},e.setCookieMgr=function(e){s=e},e.getPerfMgr=function(){if(!i&&!a&&f6(t.enablePerfMgr)){var n=f6(t.createPerfMgr);U3(n)&&(a=n(e,e.getNotifyMgr()))}return i||a||w6},e.setPerfMgr=function(e){i=e},e.eventCnt=function(){return r.length},e.releaseQueue=function(){if(n&&r.length>0){var e=r;r=[],e6(e,(function(e){E().processNext(e)}))}},e.pollInternalLogs=function(e){g=e||null;var n=f6(t.diagnosticLogInterval);return n&&n>0||(n=1e4),C&&clearInterval(C),C=setInterval((function(){I()}),n)},e.stopPollingInternalLogs=function(){C&&(clearInterval(C),C=0,I())},b6(e,(function(){return m}),["addTelemetryInitializer"]),e.unload=function(t,r,o){var i;void 0===t&&(t=!0),n||g6("SDK is not initialized"),f&&g6(w8);var a=((i={reason:50}).isAsync=t,i.flushComplete=!1,i),s=G5(k(),e);function c(t){a.flushComplete=t,f=!0,y.run(s,a),e.stopPollingInternalLogs(),s.processNext(a)}s.onComplete((function(){w(),r&&r(a)}),e),A(t,c,6,o)||c(!1)},e.getPlugin=S,e.addPlugin=function(e,t,n,r){if(!e)return r&&r(!1),void P(C8);var o=S(e.identifier);if(o&&!t)return r&&r(!1),void P("Plugin ["+e.identifier+"] is already loaded!");var i={reason:16};function a(t){l.push(e),i.added=[e],x(i),r&&r(!0)}if(o){var s=[o.plugin];T(s,{reason:2,isAsync:!!n},(function(e){e?(i.removed=s,i.reason|=32,a()):r&&r(!1)}))}else a()},e.evtNamespace=function(){return v},e.flush=A,e.getTraceCtx=function(e){return _||(_=function(e){var t={};return{getName:function(){return t.name},setName:function(n){e&&e.setName(n),t.name=n},getTraceId:function(){return t.traceId},setTraceId:function(n){e&&e.setTraceId(n),O5(n)&&(t.traceId=n)},getSpanId:function(){return t.spanId},setSpanId:function(n){e&&e.setSpanId(n),F5(n)&&(t.spanId=n)},getTraceFlags:function(){return t.traceFlags},setTraceFlags:function(n){e&&e.setTraceFlags(n),t.traceFlags=n}}}()),_},e.setTraceCtx=function(e){_=e||null},y6(e,"addUnloadCb",(function(){return y}),"add")}))}return e.__ieDyn=1,e}();function T8(e,t,n,r){e6(e,(function(e){if(e&&e[t])if(n)setTimeout((function(){return r(e)}),0);else try{r(e)}catch(Ple){}}))}var I8=function(){function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;c3(e,this,(function(e){e.addNotificationListener=function(t){e.listeners.push(t)},e.removeNotificationListener=function(t){for(var n=t6(e.listeners,t);n>-1;)e.listeners.splice(n,1),n=t6(e.listeners,t)},e.eventsSent=function(t){T8(e.listeners,h3,!0,(function(e){e.eventsSent(t)}))},e.eventsDiscarded=function(t,n){T8(e.listeners,f3,!0,(function(e){e.eventsDiscarded(t,n)}))},e.eventsSendRequest=function(t,n){T8(e.listeners,m3,n,(function(e){e.eventsSendRequest(t,n)}))},e.perfEvent=function(t){t&&(!n&&t.isChildEvt()||T8(e.listeners,g3,!1,(function(e){t.isAsync?setTimeout((function(){return e.perfEvent(t)}),0):e.perfEvent(t)})))}}))}return e.__ieDyn=1,e}(),A8=function(e){function t(){var n=e.call(this)||this;return c3(t,n,(function(e,t){function n(t){var n=e.getNotifyMgr();n&&n.eventsDiscarded([t],2)}e.initialize=function(e,n,r,o){t.initialize(e,n,r||new d5(e),o||new I8(e))},e.track=function(r){k6(e.getPerfMgr(),(function(){return"AppInsightsCore:track"}),(function(){null===r&&(n(r),g6("Invalid telemetry item")),function(e){F3(e.name)&&(n(e),g6("telemetry name required"))}(r),t.track(r)}),(function(){return{item:r}}),!r.sync)}})),n}return O4(t,e),t.__ieDyn=1,t}(k8),P8="",D8="events",R8="visibilitychange",M8="pagehide",N8="pageshow",L8="unload",O8="beforeunload",F8=D5("aiEvtPageHide"),B8=D5("aiEvtPageShow"),H8=/\.[\.]+/g,z8=/[\.]+$/,U8=1,V8=R5("events"),j8=/^([^.]*)(?:\.(.+)|)/;function q8(e){return e&&e.replace?e.replace(/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,l3):e}function W8(e,t){var n;if(t){var r=l3;K3(t)?(r=l3,e6(t,(function(e){(e=q8(e))&&("."!==e[0]&&(e="."+e),r+=e)}))):r=q8(t),r&&("."!==r[0]&&(r="."+r),e=(e||l3)+r)}var o=j8.exec(e||l3)||[];return(n={}).type=o[1],n.ns=(o[2]||l3).replace(H8,".").replace(z8,l3).split(".").sort().join("."),n}function G8(e,t,n){void 0===n&&(n=!0);var r=V8.get(e,D8,{},n),o=r[t];return o||(o=r[t]=[]),o}function K8(e,t,n,r){e&&t&&t.type&&(e.removeEventListener?e.removeEventListener(t.type,n,r):e.detachEvent&&e.detachEvent("on"+t.type,n))}function Y8(e,t,n,r){for(var o=t.length;o--;){var i=t[o];i&&(n.ns&&n.ns!==i.evtName.ns||r&&!r(i)||(K8(e,i.evtName,i.handler,i.capture),t.splice(o,1)))}}function Q8(e,t){return t?W8("xx",K3(t)?[e].concat(t):[e,t]).ns.split("."):e}function X8(e,t,n,r,o){var i;void 0===o&&(o=!1);var a=!1;if(e)try{var s=W8(t,r);if(a=function(e,t,n,r){var o=!1;return e&&t&&t.type&&n&&(e.addEventListener?(e.addEventListener(t.type,n,r),o=!0):e.attachEvent&&(e.attachEvent("on"+t.type,n),o=!0)),o}(e,s,n,o),a&&V8.accept(e)){var c=((i={guid:U8++,evtName:s}).handler=n,i.capture=o,i);G8(e,s.type).push(c)}}catch(Ple){}return a}function J8(e,t,n,r,o){if(void 0===o&&(o=!1),e)try{var i=W8(t,r),a=!1;!function(e,t,n){if(t.type)Y8(e,G8(e,t.type),t,n);else{var r=V8.get(e,D8,{});j3(r,(function(r,o){Y8(e,o,t,n)})),0===i6(r).length&&V8.kill(e,D8)}}(e,i,(function(e){return!((!i.ns||n)&&e.handler!==n)&&(a=!0,!0)})),a||K8(e,i,n,o)}catch(Ple){}}function $8(e,t,n){var r=!1,o=z6();o&&(r=X8(o,e,t,n),r=X8(o.body,e,t,n)||r);var i=V6();return i&&(r=X8(i,e,t,n)||r),r}function Z8(e,t,n,r){var o=!1;return t&&e&&e.length>0&&e6(e,(function(e){e&&(n&&-1!==t6(n,e)||(o=$8(e,t,r)||o))})),o}function e9(e,t,n){e&&K3(e)&&e6(e,(function(e){e&&function(e,t,n){var r=z6();r&&(J8(r,e,t,n),J8(r.body,e,t,n));var o=V6();o&&J8(o,e,t,n)}(e,t,n)}))}function t9(e,t,n){return function(e,t,n,r){var o=!1;return t&&e&&K3(e)&&!(o=Z8(e,t,n,r))&&n&&n.length>0&&(o=Z8(e,t,null,r)),o}([O8,L8,M8],e,t,n)}function n9(e,t,n){var r=Q8(F8,n),o=Z8([M8],e,t,r);return t&&-1!==t6(t,R8)||(o=Z8([R8],(function(t){var n=V6();e&&n&&"hidden"===n.visibilityState&&e(t)}),t,r)||o),!o&&t&&(o=n9(e,null,n)),o}function r9(e,t,n){var r=Q8(B8,n),o=Z8([N8],e,t,r);return!(o=Z8([R8],(function(t){var n=V6();e&&n&&"visible"===n.visibilityState&&e(t)}),t,r)||o)&&t&&(o=r9(e,null,n)),o}function o9(){var e=a9();return e.substring(0,8)+"-"+e.substring(8,12)+"-"+e.substring(12,16)+"-"+e.substring(16,20)+"-"+e.substring(20)}function i9(){var e=G6();return e&&e.now?e.now():u6()}function a9(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=l3,r=0;r<4;r++)n+=t[15&(e=w5())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&w5())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+o+n.substr(16,3)+n.substr(19,12)}var s9;var c9="1DS-Web-JS-3.2.10",l9="withCredentials",u9=((s9={})[0]=0,s9[2]=6,s9[1]=1,s9[3]=7,s9[4098]=6,s9[4097]=1,s9[4099]=7,s9);Boolean(V6()),Boolean(z6());function d9(e){return!(e===P8||F3(e))}function p9(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return P8}function h9(e){return!!(e&&X3(e)&&e>=1&&e<=4)}function f9(e,t,n){if(!t&&!d9(t)||"string"!==typeof e)return null;var r=typeof t;if("string"===r||"number"===r||"boolean"===r||K3(t))t={value:t};else if("object"!==r||A4.call(t,"value")){if(F3(t.value)||t.value===P8||!Q3(t.value)&&!X3(t.value)&&!J3(t.value)&&!K3(t.value))return null}else t={value:n?JSON.stringify(t):t};if(K3(t.value)&&!C9(t.value))return null;if(!F3(t.kind)){if(K3(t.value)||!_9(t.kind))return null;t.value=t.value.toString()}return t}function m9(e,t,n){var r=-1;if(!O3(e))if(t>0&&(32===t?r=8192:t<=13&&(r=t<<5)),function(e){if(e>=0&&e<=9)return!0;return!1}(n))-1===r&&(r=0),r|=n;else{var o=u9[E9(e)]||-1;-1!==r&&-1!==o?r|=o:6===o&&(r=o)}return r}function g9(e,t,n){var r;return void 0===n&&(n=!0),e&&(r=e.get(t),n&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||P8}function v9(e){void 0===e&&(e="D");var t=o9();return"B"===e?t="{"+t+"}":"P"===e?t="("+t+")":"N"===e&&(t=t.replace(/-/g,P8)),t}function y9(e,t,n,r,o){var i={},a=!1,s=0,c=arguments.length,l=Object.prototype,u=arguments;for("[object Boolean]"===l.toString.call(u[0])&&(a=u[0],s++);s<c;s++){j3(e=u[s],(function(e,t){a&&t&&z3(t)?K3(t)?(i[e]=i[e]||[],e6(t,(function(t,n){t&&z3(t)?i[e][n]=y9(!0,i[e][n],t):i[e][n]=t}))):i[e]=y9(!0,i[e],t):i[e]=t}))}return i}var b9=i9;function _9(e){return 0===e||e>0&&e<=13||32===e}function C9(e){return e.length>0}function w9(e,t){var n=e;n.timings=n.timings||{},n.timings.processTelemetryStart=n.timings.processTelemetryStart||{},n.timings.processTelemetryStart[t]=b9()}function E9(e){var t=0;if(null!==e&&void 0!==e){var n=typeof e;"string"===n?t=1:"number"===n?t=2:"boolean"===n?t=3:n===w4&&(t=4,K3(e)?(t=4096,e.length>0&&(t|=E9(e[0]))):A4.call(e,"value")&&(t=8192|E9(e.value)))}return t}var x9=function(e){function t(){var n=e.call(this)||this;return n.pluginVersionStringArr=[],c3(t,n,(function(e,t){e.logger&&e.logger.queue||(e.logger=new d5({loggingLevelConsole:1})),e.initialize=function(n,r,o,i){k6(e,(function(){return"AppInsightsCore.initialize"}),(function(){var a=e.pluginVersionStringArr;if(n){n.endpointUrl||(n.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/");var s=n.propertyStorageOverride;!s||s.getProperty&&s.setProperty||g6("Invalid property storage override passed."),n.channels&&e6(n.channels,(function(e){e&&e6(e,(function(e){if(e.identifier&&e.version){var t=e.identifier+"="+e.version;a.push(t)}}))}))}e.getWParam=function(){return"undefined"!==typeof document||n.enableWParam?0:-1},r&&e6(r,(function(e){if(e&&e.identifier&&e.version){var t=e.identifier+"="+e.version;a.push(t)}})),e.pluginVersionString=a.join(";"),e.pluginVersionStringArr=a;try{t.initialize(n,r,o,i),e.pollInternalLogs("InternalLog")}catch(Ple){var c=e.logger,l=J6(Ple);-1!==l.indexOf("channels")&&(l+="\n - Channels must be provided through config.channels only!"),h5(c,1,514,"SDK Initialization Failed - no telemetry will be sent: "+l)}}),(function(){return{config:n,extensions:r,logger:o,notificationManager:i}}))},e.track=function(n){k6(e,(function(){return"AppInsightsCore.track"}),(function(){var r=n;if(r){r.timings=r.timings||{},r.timings.trackStart=b9(),h9(r.latency)||(r.latency=1);var o=r.ext=r.ext||{};o.sdk=o.sdk||{},o.sdk.ver=c9;var i=r.baseData=r.baseData||{};i.properties=i.properties||{};var a=i.properties;a.version=a.version||e.pluginVersionString||P8}t.track(r)}),(function(){return{item:n}}),!n.sync)}})),n}return O4(t,e),t.__ieDyn=1,t}(A8),S9=x9;function k9(e){var t={};return j3(e,(function(e,n){t[e]=n[1],t[n[0]]=n[1]})),c6(t)}var T9,I9="locale",A9="ver",P9="name",D9=k9({UserExt:[0,"user"],DeviceExt:[1,"device"],TraceExt:[2,"trace"],WebExt:[3,"web"],AppExt:[4,"app"],OSExt:[5,"os"],SdkExt:[6,"sdk"],IntWebExt:[7,"intweb"],UtcExt:[8,"utc"],LocExt:[9,"loc"],CloudExt:[10,"cloud"],DtExt:[11,"dt"]}),R9=k9({id:[0,"id"],ver:[1,A9],appName:[2,P9],locale:[3,I9],expId:[4,"expId"],env:[5,"env"]}),M9=k9({domain:[0,"domain"],browser:[1,"browser"],browserVer:[2,"browserVer"],screenRes:[3,"screenRes"],userConsent:[4,"userConsent"],consentDetails:[5,"consentDetails"]}),N9=k9({locale:[0,I9],localId:[1,"localId"],id:[2,"id"]}),L9=k9({osName:[0,P9],ver:[1,A9]}),O9=k9({ver:[0,A9],seq:[1,"seq"],installId:[2,"installId"],epoch:[3,"epoch"]}),F9=k9({msfpc:[0,"msfpc"],anid:[1,"anid"],serviceName:[2,"serviceName"]}),B9=k9({popSample:[0,"popSample"],eventFlags:[1,"eventFlags"]}),H9=k9({tz:[0,"tz"]}),z9=k9({sessionId:[0,"sesId"]}),U9=k9({localId:[0,"localId"],deviceClass:[1,"deviceClass"],make:[2,"make"],model:[3,"model"]}),V9=k9({role:[0,"role"],roleInstance:[1,"roleInstance"],roleVer:[2,"roleVer"]}),j9=k9({traceId:[0,"traceID"],traceName:[1,P9],parentId:[2,"parentID"]}),q9=k9({traceId:[0,"traceId"],spanId:[1,"spanId"],traceFlags:[2,"traceFlags"]});function W9(){return void 0===T9&&(T9=!!K9(0)),T9}function G9(){return W9()?K9(0):null}function K9(e){var t,n,r=null;try{var o=D4();if(!o)return null;n=new Date,(r=0===e?o.localStorage:o.sessionStorage)&&U3(r.setItem)&&(r.setItem(n,n),t=r.getItem(n)!==n,r.removeItem(n),t&&(r=null))}catch(i){r=null}return r}function Y9(){return this.getId()}function Q9(e){this.setId(e)}var X9=function(){function e(){c3(e,this,(function(e){e.setId=function(t){e.customId=t},e.getId=function(){return Q3(e.customId)?e.customId:e.automaticId}}))}return e._staticInit=void a6(e.prototype,"id",Y9,Q9),e}(),J9="ai_session",$9=function(){function e(t,n){var r,o,i=u5(t),a=l8(t);c3(e,this,(function(t){var s,c={sessionRenewalMs:(s=n).sessionRenewalMs&&function(){return s.sessionRenewalMs},sessionExpirationMs:s.sessionExpirationMs&&function(){return s.sessionExpirationMs},cookieDomain:s.cookieDomain&&function(){return s.cookieDomain},namePrefix:s.namePrefix&&function(){return s.namePrefix},sessionAsGuid:function(){return s.sessionAsGuid},idLength:function(){return s.idLength?s.idLength:22}};function l(e){var n=t.automaticSession,r=e.split("|");r.length>0&&n.setId(r[0]);try{if(r.length>1){var o=+r[1];n.acquisitionDate=+new Date(o),n.acquisitionDate=n.acquisitionDate>0?n.acquisitionDate:0}if(r.length>2){var a=+r[2];n.renewalDate=+new Date(a),n.renewalDate=n.renewalDate>0?n.renewalDate:0}}catch(Ple){h5(i,1,510,"Error parsing ai_session cookie, session will be reset: "+Ple)}0===n.renewalDate&&h5(i,2,517,"AI session renewal date is 0, session will be reset.")}function u(){var e=t.automaticSession,n=(new Date).getTime(),r=t.config.sessionAsGuid();!O3(r)&&r?J3(r)?e.setId(v9()):e.setId(v9(r)):e.setId(x5(c&&c.idLength?c.idLength():22)),e.acquisitionDate=n,e.renewalDate=n,d(e.getId(),e.acquisitionDate,e.renewalDate),W9()||h5(i,2,505,"Browser does not support local storage. Session durations will be inaccurate.")}function d(e,n,i){var s=n+t.config.sessionExpirationMs(),c=i+t.config.sessionRenewalMs(),l=new Date,u=[e,n,i];s<c?l.setTime(s):l.setTime(c);var d=t.config.cookieDomain?t.config.cookieDomain():null;a.set(o(),u.join("|")+";expires="+l.toUTCString(),null,d),r=(new Date).getTime()}U3(n.sessionExpirationMs)||(c.sessionExpirationMs=function(){return e.acquisitionSpan}),U3(n.sessionRenewalMs)||(c.sessionRenewalMs=function(){return e.renewalSpan}),t.config=c,o=function(){return t.config.namePrefix&&t.config.namePrefix()?J9+t.config.namePrefix():J9},t.automaticSession=new X9,t.update=function(){t.automaticSession.getId()||function(){var e=a.get(o());if(e&&U3(e.split))l(e);else{var n=function(e,t){var n=G9();if(null!==n)try{return n.getItem(t)}catch(Ple){T9=!1,h5(e,1,503,"Browser failed read of local storage. "+Ple)}return null}(i,o());n&&l(n)}t.automaticSession.getId()||u()}();var n=t.automaticSession,s=t.config,c=(new Date).getTime(),p=c-n.acquisitionDate>s.sessionExpirationMs(),h=c-n.renewalDate>s.sessionRenewalMs();if(p||h)u();else{(!r||c-r>e.cookieUpdateInterval)&&(n.renewalDate=c,d(n.getId(),n.acquisitionDate,n.renewalDate))}},t.backup=function(){var e,n,r,a=t.automaticSession;e=a.getId(),n=a.acquisitionDate,r=a.renewalDate,function(e,t,n){var r=G9();if(null!==r)try{r.setItem(t,n)}catch(Ple){T9=!1,h5(e,1,504,"Browser failed write to local storage. "+Ple)}}(i,o(),[e,n,r].join("|"))}}))}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}(),Z9=["AX","EX","SF","CS","CF","CT","CU","DC","DF","H5","HL","WS","WP"];function e7(e,t){void 0===t&&(t=Z9);var n=null;if(e)for(var r=e.split(","),o=0;o<r.length;o++)t7(r[o],t)&&(n?n+=","+r[o]:n=r[o]);return n}function t7(e,t){if(void 0===t&&(t=Z9),!e||e.length<4)return!1;for(var n=!1,r=e.substring(0,3).toString().toUpperCase(),o=0;o<t.length;o++)if(t[o]+":"===r&&e.length<=256){n=!0;break}return n}function n7(){return this.getExpId()}var r7=function(){function e(t,n){var r=null,o=Z9.slice(0),i="Treatments",a=l8(n),s=t;c3(e,this,(function(e){if(U6()){var n=V6().documentElement;n&&(e.locale=n.lang)}function c(e){e!==r&&(r=e7(e,o))}e.env=t.env?t.env:function(e){var t,n={},r=V6();if(r){t=r&&r.querySelectorAll("meta");for(var o=0;o<t.length;o++){var i=t[o];if(i.name)if(0===i.name.toLowerCase().indexOf(e)){var a=i.name.replace(e,"");n[a]=i.content}}}return n}("awa-").env,e.getExpId=function(){return s.expId?(c(s.expId),r):(c(g9(a,i)),r)}}))}return e.validateAppExpId=e7,e._staticInit=void a6(e.prototype,"expId",n7),e}(),o7=function(){},i7=function(){};function a7(){return this.getMsfpc()}function s7(){return this.getAnid()}var c7=function(){function e(t,n){var r=l8(n);c3(e,this,(function(e){t.serviceName&&(e.serviceName=t.serviceName),e.getMsfpc=function(){return g9(r,"MSFPC")},e.getAnid=function(){return g9(r,"ANON").slice(0,34)}}))}return e._staticInit=function(){var t=e.prototype;a6(t,"msfpc",a7),a6(t,"anid",s7)}(),e}(),l7=function(){var e=(new Date).getTimezoneOffset(),t=e%60,n=(e-t)/60,r="+";n>0&&(r="-"),n=Math.abs(n),t=Math.abs(t),this.tz=r+(n<10?"0"+n:n.toString())+":"+(t<10?"0"+t:t.toString())},u7={WIN:/(windows|win32)/i,WINRT:/ arm;/i,WINPHONE:/windows\sphone\s\d+\.\d+/i,OSX:/(macintosh|mac os x)/i,IOS:/(ipad|iphone|ipod)(?=.*like mac os x)/i,LINUX:/(linux|joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk)/i,ANDROID:/android/i,CROS:/CrOS/i},d7={5.1:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1","10.0":"10"},p7="Unknown",h7=[{r:u7.WINPHONE,os:"Windows Phone"},{r:u7.WINRT,os:"Windows RT"},{r:u7.WIN,os:"Windows"},{r:u7.IOS,os:"iOS"},{r:u7.ANDROID,os:"Android"},{r:u7.LINUX,os:"Linux"},{r:u7.CROS,os:"Chrome OS"},{s:"x11",os:"Unix"},{s:"blackberry",os:"BlackBerry"},{s:"symbian",os:"Symbian"},{s:"nokia",os:"Nokia"},{r:u7.OSX,os:"Mac OS X"}];function f7(e,t){return"Windows"===t?m7(e,"Windows NT"):"Android"===t?m7(e,t):"Mac OS X"===t?function(e){var t=e.match(new RegExp("Mac OS X ([\\d,_,.]+)"));if(t){var n=t[1].replace(/_/g,".");if(n){var r=g7(n);return r?n.split(r)[0]:n}}return p7}(e):"iOS"===t?function(e){var t=e.match(new RegExp("OS ([\\d,_,.]+)"));if(t){var n=t[1].replace(/_/g,".");if(n){var r=g7(n);return r?n.split(r)[0]:n}}return p7}(e):p7}function m7(e,t){var n=e.match(new RegExp(t+" ([\\d,.]+)"));return n?d7[n[1]]?d7[n[1]]:n[1]:p7}function g7(e){return e.indexOf(".")>-1?".":e.indexOf("_")>-1?"_":null}var v7=function(e){if(e.populateOperatingSystemInfo){var t=this,n=q6()||{},r=e.userAgent||n.userAgent||"",o=e.userAgentData||n.userAgentData||{};if(r){var i=function(e){for(var t=0;t<h7.length;t++){var n=h7[t];if(n.r&&e.match(n.r))return n.os;if(n.s&&-1!==e.indexOf(n.s))return n.os}return p7}(r.toLowerCase());t.name=i,t.ver=f7(r,i)}t.name&&t.name!==p7||!Q3(o.platform)||(t.name=o.platform)}},y7="MicrosoftApplicationsTelemetryDeviceId";var b7=function(){function e(t,n){var r=0;c3(e,this,(function(e){var o=t.propertyStorageOverride;e.seq=r,e.epoch=w5(!1).toString();var i=l8(n,t);if(i.isEnabled()||o){var a=function(e,t,n){return t?t.getProperty(n)||"":g9(e,n)}(i,o,y7);a||(a=o9()),function(e,t,n,r){t?t.setProperty(n,r):e.set(n,r,31536e3)}(i,o,y7,a),e.installId=a}else i.purge(y7);e.getSequenceId=function(){return++r}}))}return e.__ieDyn=1,e}(),_7=function(e,t,n,r){var o=this;if(o.traceId=t||a9(),e.enableDistributedTracing&&!n&&(n=a9().substring(0,16)),o.parentId=n,e.enableApplicationInsightsTrace){o.name=r;var i=W6();i&&i.pathname&&(o.name=i.pathname)}};function C7(){return this.getLocalId()}function w7(e){this.setLocalId(e)}var E7=function(){function e(t,n,r){var o,i=n,a=l8(r,t);c3(e,this,(function(n){if(a&&a.isEnabled()&&(p(),i.enableApplicationInsightsUser)){var r=g9(a,e.userCookieName);if(r){var s=r.split(e.cookieSeparator);s.length>0&&(n.id=s[0])}if(!n.id){n.id=x5(t&&!O3(t.idLength)?t.idLength:22);var c=Z3(new Date);n.accountAcquisitionDate=c;var l=[n.id,c],u=i.cookieDomain?i.cookieDomain:void 0;a.set(e.userCookieName,l.join(e.cookieSeparator),31536e3,u)}}if("undefined"!==typeof navigator){var d=navigator;n.locale=d.userLanguage||d.language}function p(){if(!i.hashIdentifiers&&!i.dropIdentifiers){var e=g9(a,"MUID");e&&(o="t:"+e)}return o}n.getLocalId=function(){return o||p()},n.setLocalId=function(e){o=e}}))}return e.cookieSeparator="|",e.userCookieName="ai_user",e._staticInit=void a6(e.prototype,"localId",C7,w7),e}(),x7=function(e){var t=this;t.popSample=100,t.eventFlags=0,e.hashIdentifiers&&(t.eventFlags=1048576|t.eventFlags),e.dropIdentifiers&&(t.eventFlags=2097152|t.eventFlags)},S7="([\\d,.]+)",k7="Unknown",T7="Edg/",I7=[{ua:"OPR/",b:"Opera"},{ua:"PhantomJS",b:"PhantomJS"},{ua:"Edge",b:"Edge"},{ua:T7,b:"Edge"},{ua:"Electron",b:"Electron"},{ua:"Chrome",b:"Chrome"},{ua:"Trident",b:"MSIE"},{ua:"MSIE ",b:"MSIE"},{ua:"Firefox",b:"Firefox"},{ua:"Safari",b:"Safari"},{ua:"SkypeShell",b:"SkypeShell"}],A7=[{br:"Microsoft Edge",b:"Edge"},{br:"Google Chrome",b:"Chrome"},{br:"Opera",b:"Opera"}];function P7(e,t){return t.indexOf(e)>-1}function D7(e,t){for(var n=0;n<t.length;n++)if(e==t[n].brand)return t[n].version;return null}function R7(e,t){return"MSIE"===t?function(e){var t=e.match(new RegExp("MSIE ([\\d,.]+)"));if(t)return t[1];var n=e.match(new RegExp("rv:([\\d,.]+)"));if(n)return n[1]}(e):function(e,t){"Safari"===e?e="Version":"Edge"===e&&P7(T7,t)&&(e="Edg");var n=t.match(new RegExp(e+"/"+S7));if(n)return n[1];if("Opera"===e&&(n=t.match(new RegExp("OPR/([\\d,.]+)"))))return n[1];return k7}(t,e)}function M7(){return this.getUserConsent()}var N7=function(){function e(t,n){var r=l8(n),o=t||{};c3(e,this,(function(e){var t=W6();if(t){var n=t.hostname;n&&(e.domain="file:"===t.protocol?"local":n)}if(o.populateBrowserInfo){var i=o.userAgent,a=(o.userAgentData||{}).brands,s=q6();s&&(i=i||s.userAgent||"",a=a||(s.userAgentData||{}).brands),function(t,n){if(K3(n))try{for(var r=0;r<A7.length;r++){var o=D7(A7[r].br,n);if(o)return e.browser=A7[r].b,void(e.browserVer=o)}}catch(Ple){}if(t){var i=function(e){if(e)for(var t=0;t<I7.length;t++)if(P7(I7[t].ua,e))return I7[t].b;return k7}(t);e.browser=i,e.browserVer=R7(t,i)}}(i,a);var c=function(){var e={h:0,w:0},t=z6();return t&&t.screen&&(e.h=screen.height,e.w=screen.width),e}();e.screenRes=c.w+"X"+c.h}e.getUserConsent=function(){return o.userConsented||!!g9(r,o.userConsentCookieName||"MSCC")},e.getUserConsentDetails=function(){try{var e=o.callback;if(e&&e.userConsentDetails){var t=e.userConsentDetails();if(t)return JSON.stringify({Required:t.Required||!1,Analytics:t.Analytics||!1,SocialMedia:t.SocialMedia||!1,Advertising:t.Advertising||!1})}}catch(Ple){}return null},a6(e,"userConsent",e.getUserConsent)}))}return e._staticInit=void a6(e.prototype,"userConsent",M7),e}();function L7(e,t,n,r,o){var i=t.ext[D9[e]];return i&&j3(r,(function(e,t){if(Q3(t)||X3(t)||J3(t)){var r=i[n[e]];!o&&(r||Q3(r)||X3(r)||J3(r))&&(t=r),i[n[e]]=t}})),i}var O7=function(){function e(t,n,r){c3(e,this,(function(e){e.app=new r7(n,r),e.cloud=new o7,e.user=new E7(t,n,r),e.os=new v7(n),e.web=new N7(n,r);var o=new b7(t,r),i=new c7(n,r),a=new x7(n);e.loc=new l7,e.device=new i7;var s=new $9(r,n);e.session=new X9;var c=function(e,t){var n=e||{};return{getName:function(){return n.name},setName:function(e){t&&t.setName(e),n.name=e},getTraceId:function(){return n.traceId},setTraceId:function(e){t&&t.setTraceId(e),O5(e)&&(n.traceId=e)},getSpanId:function(){return n.parentId},setSpanId:function(e){t&&t.setSpanId(e),F5(e)&&(n.parentId=e)},getTraceFlags:function(){return n.traceFlags},setTraceFlags:function(e){t&&t.setTraceFlags(e),n.traceFlags=e}}}(new _7(n),d()),l=!(n||{}).eventContainExtFields;function u(){var t=e.session;if(t&&Q3(t.customId))return t.customId;s.update();var n=s.automaticSession;if(n){var r=n.getId();r&&Q3(r)&&(t.automaticId=r)}return t.automaticId}function d(){var e=c;return r&&r.getTraceCtx&&(e=r.getTraceCtx(!1)||c),e}e.getTraceCtx=function(){return c},e.getSessionId=u,e.applyApplicationContext=function(t){var n,r=e.app;L7(4,t,R9,((n={})[0]=r.id,n[1]=r.ver,n[2]=r.name,n[3]=r.locale,n[4]=r.getExpId(),n[5]=r.env,n),l)},e.applyUserContext=function(t){var n,r=e.user;L7(0,t,N9,((n={})[1]=r.getLocalId(),n[0]=r.locale,n[2]=r.id,n),l)},e.applyWebContext=function(t){var n,r=e.web;L7(3,t,M9,((n={})[0]=r.domain,n[1]=r.browser,n[2]=r.browserVer,n[3]=r.screenRes,n[5]=r.getUserConsentDetails(),n[4]=r.getUserConsent(),n),l)},e.applyOsContext=function(t){var n,r=e.os;L7(5,t,L9,((n={})[0]=r.name,n[1]=r.ver,n),l)},e.applySdkContext=function(e){var t;L7(6,e,O9,((t={})[2]=o.installId,t[1]=o.getSequenceId(),t[3]=o.epoch,t),l)},e.applyIntWebContext=function(e){var t;L7(7,e,F9,((t={})[0]=i.getMsfpc(),t[1]=i.getAnid(),t[2]=i.serviceName,t),l)},e.applyUtcContext=function(e){var t,n=((t={})[0]=a.popSample,t);a.eventFlags>0&&(n[1]=a.eventFlags),L7(8,e,B9,n,l)},e.applyLocContext=function(t){var n;L7(9,t,H9,((n={})[0]=e.loc.tz,n),l)},e.applySessionContext=function(e){var t;L7(4,e,z9,((t={})[0]=u(),t),l)},e.applyDeviceContext=function(t){var n,r=e.device;L7(1,t,U9,((n={})[0]=r.localId,n[2]=r.make,n[3]=r.model,n[1]=r.deviceClass,n),l)},e.applyCloudContext=function(t){var n,r=e.cloud;L7(10,t,V9,((n={})[0]=r.role,n[1]=r.roleInstance,n[2]=r.roleVer,n),l)},e.applyAITraceContext=function(e){var t;if(n.enableApplicationInsightsTrace){var r=d();r&&L7(2,e,j9,((t={})[0]=r.getTraceId(),t[1]=r.getName(),t[2]=r.getSpanId(),t),!1)}},e.applyDistributedTraceContext=function(e){var t,n=d();if(n){var r=((t={})[0]=n.getTraceId(),t[1]=n.getSpanId(),t),o=n.getTraceFlags();F3(o)||(r[2]=o),L7(11,e,q9,r,!1)}}}))}return e.__ieDyn=1,e}();var F7=[D9[4],D9[0],D9[3],D9[5],D9[6],D9[7],D9[8],D9[9],D9[1],D9[2],D9[11],D9[10]],B7=function(e){function t(){var n,r,o,i=e.call(this)||this;return i.identifier="SystemPropertiesCollector",i.priority=3,i.version="3.2.10",c3(t,i,(function(e,t){function i(){n=null,r={}}i(),e.initialize=function(r,i,a){t.initialize(r,i,a),o=e._getTelCtx().getExtCfg(e.identifier),n=new O7(r,o,i),i&&i.setTraceCtx&&i.setTraceCtx(n.getTraceCtx())},e.processTelemetry=function(t,i){w9(t,e.identifier),i=e._getTelCtx(i);var a,s,c=t.ext=t.ext?t.ext:{};t.data=t.data?t.data:{},e6(F7,(function(e){c[e]=c[e]||{}})),n&&(n.applyApplicationContext(t),n.applyUserContext(t),n.applyWebContext(t),n.applyOsContext(t),n.applySdkContext(t),n.applyIntWebContext(t),n.applyUtcContext(t),n.applyLocContext(t),n.applySessionContext(t),n.applyDeviceContext(t),o.enableApplicationInsightsTrace&&n.applyAITraceContext(t),o.enableDistributedTracing&&n.applyDistributedTraceContext(t),n.applyCloudContext(t)),e6(i6(c),(function(e){0===i6(c[e]).length&&delete c[e]})),a=r,s=t.data,a&&j3(a,(function(e,t){s[e]||(s[e]=t)})),e.processNext(t,i)},e.getPropertiesContext=function(){return n},e.setProperty=function(e,t){r[e]=t},e._doTeardown=function(e,t){var r=(e||{}).core();if(r&&r.getTraceCtx&&n){var o=r.getTraceCtx(!1);o&&o===n.getTraceCtx()&&r.setTraceCtx(null)}i()}})),i}return O4(t,e),t.__ieDyn=1,t}(b8),H7=B7,z7=function(e){var t={};return j3(e,(function(e,n){t[e]=n,t[n]=e})),c6(t)}({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5}),U7="REAL_TIME",V7="",j7="POST",q7="drop",W7="send",G7="requeue",K7="rspFail",Y7="application/x-json-stream",Q7="cache-control",X7="content-type",J7="kill-duration",$7="time-delta-millis",Z7="client-version",eee="client-id",tee="time-delta-to-apply-millis",nee="upload-time",ree="apikey",oee="AuthMsaDeviceTicket",iee="AuthXToken";function aee(e){var t=(e.ext||{}).intweb;return t&&d9(t.msfpc)?t.msfpc:null}function see(e){for(var t=null,n=0;null===t&&n<e.length;n++)t=aee(e[n]);return t}var cee=function(){function e(t,n){var r=n?[].concat(n):[],o=this,i=see(r);o.iKey=function(){return t},o.Msfpc=function(){return i||V7},o.count=function(){return r.length},o.events=function(){return r},o.addEvent=function(e){return!!e&&(r.push(e),i||(i=aee(e)),!0)},o.split=function(n,o){var a;if(n<r.length){var s=r.length-n;F3(o)||(s=o<s?o:s),a=r.splice(n,s),i=see(r)}return new e(t,a)}}return e.create=function(t,n){return new e(t,n)},e}(),lee=function(){function e(){var t=!0,n=!0,r=!0,o="use-collector-delta",i=!1;c3(e,this,(function(e){e.allowRequestSending=function(){return t},e.firstRequestSent=function(){r&&(r=!1,i||(t=!1))},e.shouldAddClockSkewHeaders=function(){return n},e.getClockSkewHeaderValue=function(){return o},e.setClockSkew=function(e){i||(e?(o=e,n=!0,i=!0):n=!1,t=!0)}}))}return e.__ieDyn=1,e}(),uee=lee,dee=function(){function e(){var t={};c3(e,this,(function(e){e.setKillSwitchTenants=function(e,n){if(e&&n)try{var r=function(e){var t=[];return e&&e6(e,(function(e){t.push(n6(e))})),t}(e.split(","));if("this-request-only"===n)return r;for(var o=1e3*parseInt(n,10),i=0;i<r.length;++i)t[r[i]]=u6()+o}catch(a){return[]}return[]},e.isTenantKilled=function(e){var n=t,r=n6(e);return void 0!==n[r]&&n[r]>u6()||(delete n[r],!1)}}))}return e.__ieDyn=1,e}(),pee=dee;function hee(e){var t,n=Math.floor(1200*Math.random())+2400;return t=Math.pow(2,e)*n,Math.min(t,6e5)}var fee,mee=2e6,gee=Math.min(mee,65e3),vee=/\./,yee=function(){function e(t,n,r,o){var i="data",a="baseData",s=!!o,c=n,l={};c3(e,this,(function(e){function n(e,t,o,i,a,u,d){j3(e,(function(e,p){var h=null;if(p||d9(p)){var f=o,m=e,g=a,v=t;if(s&&!i&&vee.test(e)){var y=e.split("."),b=y.length;if(b>1){g&&(g=g.slice());for(var _=0;_<b-1;_++){var C=y[_];v=v[C]=v[C]||{},f+="."+C,g&&g.push(C)}m=y[b-1]}}var w=i&&function(e,t){var n=l[e];return void 0===n&&(e.length>=7&&(n=W3(e,"ext.metadata")||W3(e,"ext.web")),l[e]=n),n}(f);if(h=!w&&c&&c.handleField(f,m)?c.value(f,m,p,r):f9(m,p,r)){var E=h.value;if(v[m]=E,u&&u(g,m,h),d&&"object"===typeof E&&!K3(E)){var x=g;x&&(x=x.slice()).push(m),n(p,E,f+"."+m,i,x,u,d)}}}}))}e.createPayload=function(e,t,n,r,o,i){return{apiKeys:[],payloadBlob:V7,overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:e,isTeardown:t,isSync:n,isBeacon:r,sendType:i,sendReason:o}},e.appendPayload=function(n,r,o){var i=n&&r&&!n.overflow;return i&&k6(t,(function(){return"Serializer:appendPayload"}),(function(){for(var t=r.events(),i=n.payloadBlob,a=n.numEvents,s=!1,c=[],l=[],u=n.isBeacon,d=u?65e3:3984588,p=u?gee:mee,h=0,f=0;h<t.length;){var m=t[h];if(m){if(a>=o){n.overflow=r.split(h);break}var g=e.getEventBlob(m);if(g&&g.length<=p){var v=g.length;if(i.length+v>d){n.overflow=r.split(h);break}i&&(i+="\n"),i+=g,++f>20&&(i.substr(0,1),f=0),s=!0,a++}else g?c.push(m):l.push(m),t.splice(h,1),h--}h++}if(c&&c.length>0&&n.sizeExceed.push(cee.create(r.iKey(),c)),l&&l.length>0&&n.failedEvts.push(cee.create(r.iKey(),l)),s){n.batches.push(r),n.payloadBlob=i,n.numEvents=a;var y=r.iKey();-1===t6(n.apiKeys,y)&&n.apiKeys.push(y)}}),(function(){return{payload:n,theBatch:{iKey:r.iKey(),evts:r.events()},max:o}})),i},e.getEventBlob=function(e){try{return k6(t,(function(){return"Serializer.getEventBlob"}),(function(){var t={};t.name=e.name,t.time=e.time,t.ver=e.ver,t.iKey="o:"+p9(e.iKey);var r={},o=e.ext;o&&(t.ext=r,j3(o,(function(e,t){n(t,r[e]={},"ext."+e,!0,null,null,!0)})));var s=t.data={};s.baseType=e.baseType;var c=s.baseData={};return n(e.baseData,c,a,!1,[a],(function(e,t,n){bee(r,e,t,n)}),true),n(e.data,s,i,!1,[],(function(e,t,n){bee(r,e,t,n)}),true),JSON.stringify(t)}),(function(){return{item:e}}))}catch(Ple){return null}}}))}return e.__ieDyn=1,e}();function bee(e,t,n,r){if(r&&e){var o=m9(r.value,r.kind,r.propertyType);if(o>-1){var i=e.metadata;i||(i=e.metadata={f:{}});var a=i.f;if(a||(a=i.f={}),t)for(var s=0;s<t.length;s++){var c=t[s];a[c]||(a[c]={f:{}});var l=a[c].f;l||(l=a[c].f={}),a=l}a=a[n]={},K3(r.value)?a.a={t:o}:a.t=o}}}var _ee="&NoResponseBody=true",Cee=((fee={})[1]=G7,fee[100]=G7,fee[200]="sent",fee[8004]=q7,fee[8003]=q7,fee),wee={},Eee={};function xee(e,t,n){wee[e]=t,!1!==n&&(Eee[t]=e)}function See(e){try{return e.responseText}catch(Ple){}return V7}function kee(e,t){var n=!1;if(e&&t){var r=i6(e);if(r&&r.length>0)for(var o=t.toLowerCase(),i=0;i<r.length;i++){var a=r[i];if(a&&H3(t,a)&&a.toLowerCase()===o){n=!0;break}}}return n}function Tee(e,t,n,r){t&&n&&n.length>0&&(r&&wee[t]?(e.hdrs[wee[t]]=n,e.useHdrs=!0):e.url+="&"+t+"="+n)}function Iee(e,t){return t&&(X3(t)?e=[t].concat(e):K3(t)&&(e=t.concat(e))),e}xee(oee,oee,!1),xee(Z7,Z7),xee(eee,"Client-Id"),xee(ree,ree),xee(tee,tee),xee(nee,nee),xee(iee,iee);var Aee=function(){function e(t,n,r,o,i){this._responseHandlers=[];var a,s,c,l,u,d,p,h,f,m,g="?cors=true&"+X7.toLowerCase()+"="+Y7,v=new pee,y=!1,b=new uee,_=!1,C=0,w=!0,E=[],x={},S=[],k=null,T=!1,I=!1,A=!1;c3(e,this,(function(e){var P=!0;function D(e,t){for(var n=0,r=null,o=0;null==r&&o<e.length;)1===(n=e[o])?e5()?r=R:t5()&&(r=N):2===n&&Z6(t)&&(!t||t&&!h)?r=M:_&&3===n&&$6()&&(r=O),o++;return r?{_transport:n,_isSync:t,sendPOST:r}:null}function R(e,t,n){var r=new XDomainRequest;r.open(j7,e.urlString),e.timeout&&(r.timeout=e.timeout),r.onload=function(){var e=See(r);L(t,200,{},e),Y(e)},r.onerror=function(){L(t,400,{})},r.ontimeout=function(){L(t,500,{})},r.onprogress=function(){},n?r.send(e.data):i.set((function(){r.send(e.data)}),0)}function M(e,t,n){var r,o=e.urlString,a=!1,s=!1,c=((r={body:e.data,method:j7}).Microsoft_ApplicationInsights_BypassAjaxInstrumentation=!0,r);n&&(c.keepalive=!0,2===e._sendReason&&(a=!0,m&&(o+=_ee))),P&&(c.credentials="include"),e.headers&&i6(e.headers).length>0&&(c.headers=e.headers),fetch(o,c).then((function(e){var n={},r=V7,o=e.headers;o&&o.forEach((function(e,t){n[t]=e})),e.body&&e.text().then((function(e){r=e})),s||(s=!0,L(t,e.status,n,r),Y(r))})).catch((function(e){s||(s=!0,L(t,0,{}))})),a&&!s&&(s=!0,L(t,200,{})),!s&&e.timeout>0&&i.set((function(){s||(s=!0,L(t,500,{}))}),e.timeout)}function N(e,t,n){var r=e.urlString;function o(e,t,n){if(!e[n]&&t&&t.getResponseHeader){var r=t.getResponseHeader(n);r&&(e[n]=n6(r))}return e}function i(e){var t={};return e.getAllResponseHeaders?t=function(e){var t={};if(Q3(e)){e6(n6(e).split(/[\r\n]+/),(function(e){if(e){var n=e.indexOf(": ");if(-1!==n){var r=n6(e.substring(0,n)).toLowerCase(),o=n6(e.substring(n+1));t[r]=o}else t[n6(e)]=1}}))}return t}(e.getAllResponseHeaders()):(t=o(t,e,$7),t=o(t,e,J7),t=o(t,e,"kill-duration-seconds")),t}function a(e,n){L(t,e.status,i(e),n)}n&&e.disableXhrSync&&(n=!1);var s=function(e,t,n,r,o,i){function a(e,t,n){try{e[t]=n}catch(Ple){}}void 0===r&&(r=!1),void 0===o&&(o=!1);var s=new XMLHttpRequest;return r&&a(s,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),n&&a(s,l9,n),s.open(e,t,!o),n&&a(s,l9,n),!o&&i&&a(s,"timeout",i),s}(j7,r,P,!0,n,e.timeout);j3(e.headers,(function(e,t){s.setRequestHeader(e,t)})),s.onload=function(){var e=See(s);a(s,e),Y(e)},s.onerror=function(){a(s)},s.ontimeout=function(){a(s)},s.send(e.data)}function L(e,t,n,r){try{e(t,n,r)}catch(Ple){h5(s,2,518,J6(Ple))}}function O(e,t,n){var r=200,o=e._thePayload,i=e.urlString+(m?_ee:V7);try{var a=q6();if(!a.sendBeacon(i,e.data))if(o){var c=[];e6(o.batches,(function(e){if(c&&e&&e.count()>0){for(var t=e.events(),n=0;n<t.length;n++)if(!a.sendBeacon(i,k.getEventBlob(t[n]))){c.push(e.split(n));break}}else c.push(e.split(0))})),Q(c,8003,o.sendType,!0)}else r=0}catch(l){f5(s,"Failed to send telemetry using sendBeacon API. Ex:"+J6(l)),r=0}finally{L(t,r,{},V7)}}function F(e){return 2===e||3===e}function B(e){return I&&F(e)&&(e=2),e}function H(){return!y&&C<n}function z(){var e=S;return S=[],e}function U(e,t,n){var r=!1;return e&&e.length>0&&!y&&c[t]&&k&&(r=0!==t||H()&&(n>0||b.allowRequestSending())),r}function V(e){var t={};return e&&e6(e,(function(e,n){t[n]={iKey:e.iKey(),evts:e.events()}})),t}function j(e,n,r,o,i){if(e&&0!==e.length)if(y)Q(e,1,o);else{o=B(o);try{var a=e,u=0!==o;k6(l,(function(){return"HttpManager:_sendBatches"}),(function(a){a&&(e=e.slice(0));for(var s=[],l=null,d=b9(),p=c[o]||(u?c[1]:c[0]),h=p&&p._transport,m=f&&(I||F(o)||3===h||p._isSync&&2===h);U(e,o,n);){var g=e.shift();g&&g.count()>0&&(v.isTenantKilled(g.iKey())?s.push(g):(l=l||k.createPayload(n,r,u,m,i,o),k.appendPayload(l,g,t)?null!==l.overflow&&(e=[l.overflow].concat(e),l.overflow=null,G(l,d,b9(),i),d=b9(),l=null):(G(l,d,b9(),i),d=b9(),e=[g].concat(e),l=null)))}l&&G(l,d,b9(),i),e.length>0&&(S=e.concat(S)),Q(s,8004,o)}),(function(){return{batches:V(a),retryCount:n,isTeardown:r,isSynchronous:u,sendReason:i,useSendBeacon:F(o),sendType:o}}),!u)}catch(d){h5(s,2,48,"Unexpected Exception sending batch: "+J6(d))}}}function q(e,t){var n={url:g,hdrs:{},useHdrs:!1};t?(n.hdrs=y9(n.hdrs,x),n.useHdrs=i6(n.hdrs).length>0):j3(x,(function(e,t){Eee[e]?Tee(n,Eee[e],t,!1):(n.hdrs[e]=t,n.useHdrs=!0)})),Tee(n,eee,"NO_AUTH",t),Tee(n,Z7,c9,t);var r=V7;e6(e.apiKeys,(function(e){r.length>0&&(r+=","),r+=e})),Tee(n,ree,r,t),Tee(n,nee,u6().toString(),t);var o=function(e){for(var t=0;t<e.batches.length;t++){var n=e.batches[t].Msfpc();if(n)return encodeURIComponent(n)}return V7}(e);if(d9(o)&&(n.url+="&ext.intweb.msfpc="+o),b.shouldAddClockSkewHeaders()&&Tee(n,tee,b.getClockSkewHeaderValue(),t),l.getWParam){var i=l.getWParam();i>=0&&(n.url+="&w="+i)}for(var a=0;a<E.length;a++)n.url+="&"+E[a].name+"="+E[a].value;return n}function W(e,t,n){e[t]=e[t]||{},e[t][a.identifier]=n}function G(t,n,o,i){if(t&&t.payloadBlob&&t.payloadBlob.length>0){var u=!!e.sendHook,f=c[t.sendType];!F(t.sendType)&&t.isBeacon&&2===t.sendReason&&(f=c[2]||c[3]||f);var m=A;(t.isBeacon||3===f._transport)&&(m=!1);var g=q(t,m);m=m||g.useHdrs;var y=b9();k6(l,(function(){return"HttpManager:_doPayloadSend"}),(function(){for(var c=0;c<t.batches.length;c++)for(var _=t.batches[c].events(),E=0;E<_.length;E++){var x=_[E];if(T){var S=x.timings=x.timings||{};W(S,"sendEventStart",y),W(S,"serializationStart",n),W(S,"serializationCompleted",o)}x.sendAttempt>0?x.sendAttempt++:x.sendAttempt=1}Q(t.batches,1e3+(i||0),t.sendType,!0);var k={data:t.payloadBlob,urlString:g.url,headers:g.hdrs,_thePayload:t,_sendReason:i,timeout:d,disableXhrSync:p,disableFetchKeepAlive:h};m&&(kee(k.headers,Q7)||(k.headers["cache-control"]="no-cache, no-store"),kee(k.headers,X7)||(k.headers["content-type"]=Y7));var A=null;f&&(A=function(n){b.firstRequestSent();var o=function(n,o){!function(t,n,o,i){var s=9e3,c=null,l=!1,u=!1;try{var d=!0;if(typeof t!==E4){if(n){b.setClockSkew(n["time-delta-millis"]);var p=n["kill-duration"]||n["kill-duration-seconds"];e6(v.setKillSwitchTenants(n["kill-tokens"],p),(function(e){e6(o.batches,(function(t){if(t.iKey()===e){c=c||[];var n=t.split(0);o.numEvents-=n.count(),c.push(n)}}))}))}if(200==t||204==t)return void(s=200);((f=t)>=300&&f<500&&408!=f&&429!=f||501==f||505==f||o.numEvents<=0)&&(d=!1),s=9e3+t%1e3}if(d){s=100;var h=o.retryCnt;0===o.sendType&&(h<r?(l=!0,K((function(){0===o.sendType&&C--,j(o.batches,h+1,o.isTeardown,I?2:o.sendType,5)}),I,hee(h))):(u=!0,I&&(s=8001)))}}finally{l||(b.setClockSkew(),function(t,n,r,o){try{o&&a._backOffTransmission(),200===n&&(o||t.isSync||a._clearBackOff(),function(e){if(T){var t=b9();e6(e,(function(e){e&&e.count()>0&&function(e,t){T&&e6(e,(function(e){W(e.timings=e.timings||{},"sendEventCompleted",t)}))}(e.events(),t)}))}}(t.batches)),Q(t.batches,n,t.sendType,!0)}finally{0===t.sendType&&(C--,5!==r&&e.sendQueuedRequests(t.sendType,r))}}(o,s,i,u)),Q(c,8004,o.sendType)}var f}(n,o,t,i)},c=t.isTeardown||t.isSync;try{f.sendPOST(n,o,c),e.sendListener&&e.sendListener(k,n,c,t.isBeacon)}catch(l){f5(s,"Unexpected exception sending payload. Ex:"+J6(l)),L(o,0,{})}}),k6(l,(function(){return"HttpManager:_doPayloadSend.sender"}),(function(){if(A)if(0===t.sendType&&C++,u&&!t.isBeacon&&3!==f._transport){var n={data:k.data,urlString:k.urlString,headers:y9({},k.headers),timeout:k.timeout,disableXhrSync:k.disableXhrSync,disableFetchKeepAlive:k.disableFetchKeepAlive},r=!1;k6(l,(function(){return"HttpManager:_doPayloadSend.sendHook"}),(function(){try{e.sendHook(n,(function(e){r=!0,w||e._thePayload||(e._thePayload=e._thePayload||k._thePayload,e._sendReason=e._sendReason||k._sendReason),A(e)}),t.isSync||t.isTeardown)}catch(o){r||A(k)}}))}else A(k)}))}),(function(){return{thePayload:t,serializationStart:n,serializationCompleted:o,sendReason:i}}),t.isSync)}t.sizeExceed&&t.sizeExceed.length>0&&Q(t.sizeExceed,8003,t.sendType),t.failedEvts&&t.failedEvts.length>0&&Q(t.failedEvts,8002,t.sendType)}function K(e,t,n){t?e():i.set(e,n)}function Y(t){var n=e._responseHandlers;try{for(var r=0;r<n.length;r++)try{n[r](t)}catch(Ple){h5(s,1,519,"Response handler failed: "+Ple)}if(t){var o=JSON.parse(t);d9(o.webResult)&&d9(o.webResult.msfpc)&&u.set("MSFPC",o.webResult.msfpc,31536e3)}}catch(i){}}function Q(e,t,n,r){if(e&&e.length>0&&o){var i=o[function(e){var t=Cee[e];d9(t)||(t="oth",e>=9e3&&e<=9999?t=K7:e>=8e3&&e<=8999?t=q7:e>=1e3&&e<=1999&&(t=W7));return t}(t)];if(i){var a=0!==n;k6(l,(function(){return"HttpManager:_sendBatchesNotification"}),(function(){K((function(){try{i.call(o,e,t,a,n)}catch(Ple){h5(s,1,74,"send request notification failed: "+Ple)}}),r||a,0)}),(function(){return{batches:V(e),reason:t,isSync:a,sendSync:r,sendType:n}}),!a)}}}e.initialize=function(e,t,n,r,o){var i;o||(o={}),g=e+g,A=!!O3(o.avoidOptions)||!o.avoidOptions,l=t,u=t.getCookieMgr(),T=!l.config.disableEventTimings;var v=!!l.config.enableCompoundKey;s=(a=n).diagLog();var y=o.valueSanitizer,b=o.stringifyObjects;O3(o.enableCompoundKey)||(v=!!o.enableCompoundKey),d=o.xhrTimeout,p=!!o.disableXhrSync,h=!!o.disableFetchKeepAlive,m=!1!==o.addNoResponse,_=!Q6(),k=new yee(l,y,b,v),F3(o.useSendBeacon)||(_=!!o.useSendBeacon);var C=r,E=o.alwaysUseXhrOverride?r:null,x=o.alwaysUseXhrOverride?r:null,S=[3,2];if(!r){w=!1;var I=W6();I&&I.protocol&&"file:"===I.protocol.toLowerCase()&&(P=!1);var R=[];Q6()?(R=[2,1],S=[2,1,3]):R=[1,2,3],(r=D(R=Iee(R,o.transports),!1))||f5(s,"No available transport to send events"),C=D(R,!0)}E||(E=D(S=Iee(S,o.unloadTransports),!0)),f=!w&&(_&&$6()||!h&&Z6(!0)),(i={})[0]=r,i[1]=C||D([1,2,3],!0),i[2]=E||C||D([1],!0),i[3]=x||D([2,3],!0)||C||D([1],!0),c=i},e._getDbgPlgTargets=function(){return[c[0],v,k,c]},e.addQueryStringParameter=function(e,t){for(var n=0;n<E.length;n++)if(E[n].name===e)return void(E[n].value=t);E.push({name:e,value:t})},e.addHeader=function(e,t){x[e]=t},e.canSendRequest=function(){return H()&&b.allowRequestSending()},e.sendQueuedRequests=function(e,t){O3(e)&&(e=0),I&&(e=B(e),t=2),U(S,e,0)&&j(z(),0,!1,e,t||0)},e.isCompletelyIdle=function(){return!y&&0===C&&0===S.length},e.setUnloading=function(e){I=e},e.addBatch=function(e){if(e&&e.count()>0){if(v.isTenantKilled(e.iKey()))return!1;S.push(e)}return!0},e.teardown=function(){S.length>0&&j(z(),0,!0,2,2)},e.pause=function(){y=!0},e.resume=function(){y=!1,e.sendQueuedRequests(0,4)},e.sendSynchronousBatch=function(e,t,n){e&&e.count()>0&&(F3(t)&&(t=1),I&&(t=B(t),n=2),j([e],0,!1,t,n||0))}}))}return e.__ieDyn=1,e}();function Pee(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout(e,t,n)}function Dee(e){clearTimeout(e)}function Ree(e,t){return{set:e||Pee,clear:t||Dee}}var Mee="eventsDiscarded",Nee=function(e){function t(){var n,r=e.call(this)||this;r.identifier="PostChannel",r.priority=1011,r.version="3.2.10";var o,i,a,s,c,l,u,d=!1,p=[],h=null,f=!1,m=0,g=500,v=0,y=1e4,b={},_=U7,C=null,w=null,E=0,x=0,S={},k=-1,T=!0,I=!1,A=6,P=2;return c3(t,r,(function(e,t){function r(e){"beforeunload"!==(e||z6().event).type&&(I=!0,i.setUnloading(I)),H(2,2)}function D(e){I=!1,i.setUnloading(I)}function R(e,t){if(e.sendAttempt||(e.sendAttempt=0),e.latency||(e.latency=1),e.ext&&e.ext.trace&&delete e.ext.trace,e.ext&&e.ext.user&&e.ext.user.id&&delete e.ext.user.id,T&&(e.ext=_6(e.ext),e.baseData&&(e.baseData=_6(e.baseData)),e.data&&(e.data=_6(e.data))),e.sync)if(E||f)e.latency=3,e.sync=!1;else if(i)return T&&(e=_6(e)),void i.sendSynchronousBatch(cee.create(e.iKey,[e]),!0===e.sync?1:e.sync,3);var n=e.latency,r=v,o=y;4===n&&(r=m,o=g);var a=!1;if(r<o)a=!V(e,t);else{var s=1,c=20;4===n&&(s=4,c=1),a=!0,function(e,t,n,r){for(;n<=t;){var o=z(e,t,!0);if(o&&o.count()>0){var i=o.split(0,r),a=i.count();if(a>0)return 4===n?m-=a:v-=a,J(Mee,[i],z7.QueueFull),!0}n++}return j(),!1}(e.iKey,e.latency,s,c)&&(a=!V(e,t))}a&&X(Mee,[e],z7.QueueFull)}function M(e,t,n){var r=q(e,t,n);return i.sendQueuedRequests(t,n),r}function N(){return v>0}function L(){if(k>=0&&q(k,0,c)&&i.sendQueuedRequests(0,c),m>0&&!w&&!f){var e=b[_][2];e>=0&&(w=F((function(){w=null,M(4,0,1),L()}),e))}var t=b[_][1];!C&&!h&&t>=0&&!f&&(N()?C=F((function(){C=null,M(0===x?3:1,0,1),x++,x%=2,L()}),t):x=0)}function O(){n=null,d=!1,p=[],h=null,f=!1,m=0,g=500,v=0,y=1e4,b={},_=U7,C=null,w=null,E=0,x=0,o=null,S={},a=void 0,s=0,k=-1,c=null,T=!0,I=!1,A=6,P=2,l=null,u=Ree(),i=new Aee(500,2,1,{requeue:Y,send:$,sent:Z,drop:ee,rspFail:te,oth:ne},u),K(),S[4]={batches:[],iKeyMap:{}},S[3]={batches:[],iKeyMap:{}},S[2]={batches:[],iKeyMap:{}},S[1]={batches:[],iKeyMap:{}},re()}function F(e,t){0===t&&E&&(t=1);var n=1e3;return E&&(n=hee(E-1)),u.set(e,t*n)}function B(){return null!==C&&(u.clear(C),C=null,x=0,!0)}function H(e,t){B(),h&&(u.clear(h),h=null),f||M(1,e,t)}function z(e,t,n){var r=S[t];r||(r=S[t=1]);var o=r.iKeyMap[e];return!o&&n&&(o=cee.create(e),r.batches.push(o),r.iKeyMap[e]=o),o}function U(t,n){i.canSendRequest()&&!E&&(a>0&&v>a&&(n=!0),n&&null==h&&e.flush(t,null,20))}function V(e,t){T&&(e=_6(e));var n=e.latency,r=z(e.iKey,n,!0);return!!r.addEvent(e)&&(4!==n?(v++,t&&0===e.sendAttempt&&U(!e.sync,s>0&&r.count()>=s)):m++,!0)}function j(){for(var e=0,t=0,n=function(n){var r=S[n];r&&r.batches&&e6(r.batches,(function(r){4===n?e+=r.count():t+=r.count()}))},r=1;r<=4;r++)n(r);v=t,m=e}function q(t,n,r){var o=!1,a=0===n;return!a||i.canSendRequest()?k6(e.core,(function(){return"PostChannel._queueBatches"}),(function(){for(var e=[],n=4;n>=t;){var r=S[n];r&&r.batches&&r.batches.length>0&&(e6(r.batches,(function(t){i.addBatch(t)?o=o||t&&t.count()>0:e=e.concat(t.events()),4===n?m-=t.count():v-=t.count()})),r.batches=[],r.iKeyMap={}),n--}e.length>0&&X(Mee,e,z7.KillSwitch),o&&k>=t&&(k=-1,c=0)}),(function(){return{latency:t,sendType:n,sendReason:r}}),!a):(k=k>=0?Math.min(k,t):t,c=Math.max(c,r)),o}function W(e,t){M(1,0,t),j(),G((function(){e&&e(),p.length>0?h=F((function(){h=null,W(p.shift(),t)}),0):(h=null,L())}))}function G(e){i.isCompletelyIdle()?e():h=F((function(){h=null,G(e)}),.25)}function K(){(b={}).REAL_TIME=[2,1,0],b.NEAR_REAL_TIME=[6,3,0],b.BEST_EFFORT=[18,9,0]}function Y(t,n){var r=[],o=A;I&&(o=P),e6(t,(function(t){t&&t.count()>0&&e6(t.events(),(function(t){t&&(t.sync&&(t.latency=4,t.sync=!1),t.sendAttempt<o?(w9(t,e.identifier),R(t,!1)):r.push(t))}))})),r.length>0&&X(Mee,r,z7.NonRetryableStatus),I&&H(2,2)}function Q(t,n){var r=e._notificationManager||{},o=r[t];if(o)try{o.apply(r,n)}catch(Ple){h5(e.diagLog(),1,74,t+" notification failed: "+Ple)}}function X(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&Q(e,[t].concat(n))}function J(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&e6(t,(function(t){t&&t.count()>0&&Q(e,[t.events()].concat(n))}))}function $(e,t,n){e&&e.length>0&&Q("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==n])}function Z(e,t){J("eventsSent",e,t),L()}function ee(e,t){J(Mee,e,t>=8e3&&t<=8999?t-8e3:z7.Unknown)}function te(e){J(Mee,e,z7.NonRetryableStatus),L()}function ne(e,t){J(Mee,e,z7.Unknown),L()}function re(){s=n&&n.disableAutoBatchFlushLimit?0:Math.max(1500,y/6)}O(),e._getDbgPlgTargets=function(){return[i]},e.initialize=function(s,c,d){k6(c,(function(){return"PostChannel:initialize"}),(function(){var p=c;t.initialize(s,c,d);try{c.addUnloadCb;l=Q8(D5(e.identifier),c.evtNamespace&&c.evtNamespace());var h=e._getTelCtx();s.extensionConfig[e.identifier]=s.extensionConfig[e.identifier]||{},n=h.getExtCfg(e.identifier),u=Ree(n.setTimeoutOverride,n.clearTimeoutOverride),T=!n.disableOptimizeObj&&!!B6("chrome"),function(e){var t=e.getWParam;e.getWParam=function(){var e=0;return n.ignoreMc1Ms0CookieProcessing&&(e|=2),e|t()}}(p),n.eventsLimitInMem>0&&(y=n.eventsLimitInMem),n.immediateEventLimit>0&&(g=n.immediateEventLimit),n.autoFlushEventsLimit>0&&(a=n.autoFlushEventsLimit),X3(n.maxEventRetryAttempts)&&(A=n.maxEventRetryAttempts),X3(n.maxUnloadEventRetryAttempts)&&(P=n.maxUnloadEventRetryAttempts),re(),n.httpXHROverride&&n.httpXHROverride.sendPOST&&(o=n.httpXHROverride),d9(s.anonCookieName)&&i.addQueryStringParameter("anoncknm",s.anonCookieName),i.sendHook=n.payloadPreprocessor,i.sendListener=n.payloadListener;var f=n.overrideEndpointUrl?n.overrideEndpointUrl:s.endpointUrl;e._notificationManager=c.getNotifyMgr(),i.initialize(f,e.core,e,o,n);var m=s.disablePageUnloadEvents||[];t9(r,m,l),n9(r,m,l),r9(D,s.disablePageShowEvents,l)}catch(Ple){throw e.setInitialized(!1),Ple}}),(function(){return{coreConfig:s,core:c,extensions:d}}))},e.processTelemetry=function(t,r){w9(t,e.identifier);var o=(r=e._getTelCtx(r)).getExtCfg(e.identifier),i=!!n.disableTelemetry;o&&(i=i||!!o.disableTelemetry);var a=t;i||d||(n.overrideInstrumentationKey&&(a.iKey=n.overrideInstrumentationKey),o&&o.overrideInstrumentationKey&&(a.iKey=o.overrideInstrumentationKey),R(a,!0),I?H(2,2):L()),e.processNext(a,r)},e._doTeardown=function(e,t){H(2,2),d=!0,i.teardown(),e9([O8,L8,M8],null,l),function(e,t){var n=Q8(F8,t);e9([M8],e,n),e9([R8],null,n)}(null,l),function(e,t){var n=Q8(B8,t);e9([N8],e,n),e9([R8],null,n)}(null,l),O()},e.setEventQueueLimits=function(e,t){y=e>0?e:1e4,a=t>0?t:0,re();var n=v>e;if(!n&&s>0)for(var r=1;!n&&r<=3;r++){var o=S[r];o&&o.batches&&e6(o.batches,(function(e){e&&e.count()>=s&&(n=!0)}))}U(!0,n)},e.pause=function(){B(),f=!0,i.pause()},e.resume=function(){f=!1,i.resume(),L()},e.addResponseHandler=function(e){i._responseHandlers.push(e)},e._loadTransmitProfiles=function(e){B(),K(),_=U7,L(),j3(e,(function(e,t){var n=t.length;if(n>=2){var r=n>2?t[2]:0;if(t.splice(0,n-2),t[1]<0&&(t[0]=-1),t[1]>0&&t[0]>0){var o=t[0]/t[1];t[0]=Math.ceil(o)*t[1]}r>=0&&t[1]>=0&&r>t[1]&&(r=t[1]),t.push(r),b[e]=t}}))},e.flush=function(e,t,n){if(void 0===e&&(e=!0),!f)if(n=n||1,e)null==h?(B(),q(1,0,n),h=F((function(){h=null,W(t,n)}),0)):p.push(t);else{var r=B();M(1,1,n),null!==t&&void 0!==t&&t(),r&&L()}},e.setMsaAuthTicket=function(e){i.addHeader(oee,e)},e.hasEvents=N,e._setTransmitProfile=function(e){_!==e&&void 0!==b[e]&&(B(),_=e,L())},e._backOffTransmission=function(){E<4&&(E++,B(),L())},e._clearBackOff=function(){E&&(E=0,B(),L())},a6(e,"_setTimeoutOverride",(function(){return u.set}),(function(e){u=Ree(e,u.clear)})),a6(e,"_clearTimeoutOverride",(function(){return u.clear}),(function(e){u=Ree(u.set,e)}))})),r}return O4(t,e),t.__ieDyn=1,t}(b8),Lee=Nee,Oee=function(e){function t(){var n,r,o=e.call(this)||this;return c3(t,o,(function(e,t){e.initialize=function(e,i){var a=o;k6(o,(function(){return"ApplicationInsights:initialize"}),(function(){n=new Lee;var o=[r=new H7];i&&(o=o.concat(i)),e||g6("You must provide a config object!");var s=e.channels;if(s&&s.length>0){for(var c=!1,l=0;l<s[0].length;l++)if(s[0][l].identifier===n.identifier){c=!0;break}c||s[0].push(n)}else e.channels=[[n]];var u=e.extensionConfig=e.extensionConfig||[];u[n.identifier]=u[n.identifier]||e&&e.channelConfiguration||{},u[r.identifier]=u[r.identifier]||e&&e.propertyConfiguration||{};try{t.initialize(e,o)}catch(d){h5(a.logger,1,514,"Failed to initialize SDK."+J6(d))}}),(function(){return{config:e,extensions:i}}))},e.getPropertyManager=function(){return r},e.getPostChannel=function(){return n}})),o}return O4(t,e),t.__ieDyn=1,t}(S9),Fee=Oee,Bee=function(){function e(t,n){this.logger=t,this.isSampled=!(null===n||void 0===n?void 0:n.disabled)&&this.calculateSampling(null===n||void 0===n?void 0:n.samplingPercentage),this.logger.verbose("PerformanceTelemetryReporter: Sampled for 1p telemetry: "+this.isSampled.toString()),this.eventsToEmit=(null===n||void 0===n?void 0:n.eventsToEmit)||[R$.AcquireTokenSilent,R$.SsoSilent,R$.AcquireTokenByCode],this.logger.verbose("PerformanceTelemetryReporter: Events to be tracked include : "+this.eventsToEmit),this.logger.verbose("PerformanceTelemetryReporter: Events passed in the PerformanceTelemetryConfiguration are: "+(null===n||void 0===n?void 0:n.eventsToEmit));var r={instrumentationKey:e.instrumentationKey,extensions:[]};this.appInsights=new Fee,this.appInsights.initialize(r,[]),this.logger.verbose("PerformanceTelemetryReporter: Initialized")}return e.prototype.calculateSampling=function(t){return 0===t?(this.logger.verbose(" PerformanceTelemetryReporter: No sampling rate configured."),!1):(this.logger.verbose("PerformanceTelemetryReporter: Configured sampling rate = "+t+" "),this.logger.verbose("PerformanceTelemetryReporter: DEFAULT sampling rate = "+e.DEFAULT_SAMPLING_RATE),Math.random()<=(t||e.DEFAULT_SAMPLING_RATE))},e.prototype.sendCustomEvent=function(e){var t=A$(A$({},e),{appName:void 0}),n={name:e.name,data:t};this.logger.verbose("PerformanceTelemetryReporter: Sending "+n.name+" for tracking"),this.appInsights.track(n)},e.prototype.canSendEvent=function(t){var n,r=!this.eventsToEmit||(null===(n=this.eventsToEmit)||void 0===n?void 0:n.indexOf(t.name))>-1,o=e.DEFAULT_ALLOWED_CLOUDS.some((function(e){return 0===t.authority.indexOf(e.toString())}));return this.isSampled&&r&&o},e.prototype.getPerformanceTelemetryCallback=function(){var e=this;this.logger.trace("PerformanceTelemetryReporter: Attaching callback to send custom metrics.");return this.logger.verbose(" PerformanceTelemetryReporter: Returning callback as telemetry emitted."),function(t){t.forEach((function(t){e.canSendEvent(t)?(e.logger.verbose("PerformanceTelemetryReporter: Emitting telemetry for "+t.name,t.correlationId),e.sendCustomEvent(t)):e.logger.verbose("PerformanceTelemetryReporter: Skipping telemetry for "+t.name,t.correlationId)}))}},e.DEFAULT_SAMPLING_RATE=.1,e.DEFAULT_ALLOWED_CLOUDS=[l2.AzurePublic,l2.AzurePpe],e.instrumentationKey="d634483c08244c1ca09af2b2d952c92e-ab2bba03-2ba3-49d8-a82c-ef6da750d8ab-7725",e}(),Hee=function(e){function t(t,n){var r=e.call(this,t)||this,o=new Bee(r.getLogger(),null===n||void 0===n?void 0:n.performanceTelemetryConfiguration);return r.addPerformanceCallback(o.getPerformanceTelemetryCallback()),r}return function(e,t){function n(){this.constructor=e}I$(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(_4),zee=function(e){return"https://".concat(e.amcRedirectDomain,"/auth/complete-client-signin-oauth")},Uee=function(e){var t=function(e){var t,n,r=null!==(t=e.userAgent)&&void 0!==t?t:window.navigator.userAgent,o=r.indexOf("Trident/")>0||r.indexOf("Edge/")>0||r.indexOf("MSIE ")>0,i=!!e.navigateToLoginRequestUrl,a=null!==(n=e.cacheLocation)&&void 0!==n?n:"sessionStorage";return{auth:{clientId:e.msalConfig.clientId,authority:e.msalConfig.authority,redirectUri:e.redirectUri,navigateToLoginRequestUrl:i,cloudDiscoveryMetadata:e.msalConfig.amcCloudDiscoveryMetadata,authorityMetadata:e.msalConfig.amcAuthorityMetadata},cache:{cacheLocation:a,storeAuthStateInCookie:o}}}({msalConfig:e,redirectUri:zee(e),cacheLocation:a$.LocalStorage,navigateToLoginRequestUrl:!1});return new Hee(t)};var Vee=__webpack_require__(77162),jee=__webpack_require__.n(Vee),qee={initialize:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},acquireTokenPopup:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},acquireTokenRedirect:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},acquireTokenSilent:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},acquireTokenByCode:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},getAllAccounts:function(){return[]},getAccountByHomeId:function(){return null},getAccountByUsername:function(){return null},getAccountByLocalId:function(){return null},handleRedirectPromise:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},loginPopup:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},loginRedirect:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},logout:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},logoutRedirect:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},logoutPopup:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},ssoSilent:function(){return Promise.reject(r1.createStubPcaInstanceCalledError())},addEventCallback:function(){return null},removeEventCallback:function(){},addPerformanceCallback:function(){return""},removePerformanceCallback:function(){return!1},enableAccountStorageEvents:function(){},disableAccountStorageEvents:function(){},getTokenCache:function(){throw r1.createStubPcaInstanceCalledError()},getLogger:function(){throw r1.createStubPcaInstanceCalledError()},setLogger:function(){},setActiveAccount:function(){},getActiveAccount:function(){return null},initializeWrapperLibrary:function(){},setNavigationClient:function(){},getConfiguration:function(){throw r1.createStubPcaInstanceCalledError()}},Wee=function(){function e(){}return e.getInteractionStatusFromEvent=function(e,t){switch(e.eventType){case T2.LOGIN_START:return h$.Login;case T2.SSO_SILENT_START:return h$.SsoSilent;case T2.ACQUIRE_TOKEN_START:if(e.interactionType===p$.Redirect||e.interactionType===p$.Popup)return h$.AcquireToken;break;case T2.HANDLE_REDIRECT_START:return h$.HandleRedirect;case T2.LOGOUT_START:return h$.Logout;case T2.SSO_SILENT_SUCCESS:case T2.SSO_SILENT_FAILURE:if(t&&t!==h$.SsoSilent)break;return h$.None;case T2.LOGOUT_END:if(t&&t!==h$.Logout)break;return h$.None;case T2.HANDLE_REDIRECT_END:if(t&&t!==h$.HandleRedirect)break;return h$.None;case T2.LOGIN_SUCCESS:case T2.LOGIN_FAILURE:case T2.ACQUIRE_TOKEN_SUCCESS:case T2.ACQUIRE_TOKEN_FAILURE:if(e.interactionType===p$.Redirect||e.interactionType===p$.Popup){if(t&&t!==h$.Login&&t!==h$.AcquireToken)break;return h$.None}}return null},e}(),Gee={instance:qee,inProgress:h$.None,accounts:[],logger:new f1({})},Kee=(0,rl.createContext)(Gee);Kee.Consumer;function Yee(e,t){if(e.length!==t.length)return!1;var n=zK(t);return e.every((function(e){var t=n.shift();return!(!e||!t)&&(e.homeAccountId===t.homeAccountId&&e.localAccountId===t.localAccountId&&e.username===t.username)}))}function Qee(e,t){return e.length>0&&(t.homeAccountId||t.localAccountId||t.username)&&e.filter((function(e){return(!t.username||t.username.toLowerCase()===e.username.toLowerCase())&&((!t.homeAccountId||t.homeAccountId.toLowerCase()===e.homeAccountId.toLowerCase())&&(!t.localAccountId||t.localAccountId.toLowerCase()===e.localAccountId.toLowerCase()))}))[0]||null}var Xee,Jee="1.5.4";!function(e){e.UNBLOCK_INPROGRESS="UNBLOCK_INPROGRESS",e.EVENT="EVENT"}(Xee||(Xee={}));var $ee=function(e,t){var n=t.type,r=t.payload,o=e.inProgress;switch(n){case Xee.UNBLOCK_INPROGRESS:e.inProgress===h$.Startup&&(o=h$.None,r.logger.info("MsalProvider - handleRedirectPromise resolved, setting inProgress to 'none'"));break;case Xee.EVENT:var i=r.message,a=Wee.getInteractionStatusFromEvent(i,e.inProgress);a&&(r.logger.info("MsalProvider - ".concat(i.eventType," results in setting inProgress from ").concat(e.inProgress," to ").concat(a)),o=a);break;default:throw new Error("Unknown action type: ".concat(n))}var s=r.instance.getAllAccounts();return o===e.inProgress||Yee(s,e.accounts)?o!==e.inProgress?My(My({},e),{},{inProgress:o}):Yee(s,e.accounts)?e:My(My({},e),{},{accounts:s}):My(My({},e),{},{inProgress:o,accounts:s})};function Zee(e){var t=e.instance,n=e.children;(0,rl.useEffect)((function(){t.initializeWrapperLibrary(E$.React,Jee)}),[t]);var r=(0,rl.useMemo)((function(){return t.getLogger().clone("@azure/msal-react",Jee)}),[t]),o=eY((0,rl.useReducer)($ee,void 0,(function(){return{inProgress:h$.Startup,accounts:t.getAllAccounts()}})),2),i=o[0],a=o[1];(0,rl.useEffect)((function(){var e=t.addEventCallback((function(e){a({payload:{instance:t,logger:r,message:e},type:Xee.EVENT})}));return r.verbose("MsalProvider - Registered event callback with id: ".concat(e)),t.initialize().then((function(){t.handleRedirectPromise().catch((function(){})).finally((function(){a({payload:{instance:t,logger:r},type:Xee.UNBLOCK_INPROGRESS})}))})),function(){e&&(r.verbose("MsalProvider - Removing event callback ".concat(e)),t.removeEventCallback(e))}}),[t,r]);var s={instance:t,inProgress:i.inProgress,accounts:i.accounts,logger:r};return ol().createElement(Kee.Provider,{value:s},n)}var ete=function(){return(0,rl.useContext)(Kee)};function tte(e,t){return t&&(t.homeAccountId||t.localAccountId||t.username)?Qee(e.getAllAccounts(),t):e.getActiveAccount()}function nte(e){var t=ete(),n=t.instance,r=t.inProgress,o=t.logger,i=eY((0,rl.useState)((function(){return tte(n,e)})),2),a=i[0],s=i[1];return(0,rl.useEffect)((function(){s((function(t){var r=tte(n,e);return Y1.accountInfoIsEqual(t,r,!0)?t:(o.info("useAccount - Updating account"),r)}))}),[r,e,n,o]),a}var rte,ote=(0,rl.createContext)({signInName:""}),ite=function(e){var t=e.instance,n=e.msalAuthConfig,r=e.children;return ol().createElement(Zee,{instance:t},ol().createElement(ote.Provider,{value:n},r))},ate={operation:"GLOBAL.MSALJS.LOGIN"},ste={operation:"GLOBAL.MSALJS.ACQUIRE-TOKEN-SILENT"},cte=function(e){return zp(e,ate)},lte="failed",ute="success",dte="unknown";!function(e){e.Popup="popup",e.Redirect="redirect",e.None="none"}(rte||(rte={}));var pte,hte=function(t){var n,r=t.scopes,o=t.fallback,i=void 0===o?"redirect":o,a=t.shouldLoad,s=void 0!==a&&a,c=t.forceRefresh,l=void 0!==c&&c,u=ete(),d=u.instance,p=u.accounts,h=u.inProgress,f=(0,rl.useContext)(ote).signInName,m=p.find((function(e){return e.username===f}));n=nte(m);var g=nte(p[0]);n||f||(n=g);var v=(0,rl.useState)(dte),y=v[0],b=v[1],_=(0,rl.useState)(""),C=_[0],w=_[1],E=(0,rl.useState)(),x=E[0],S=E[1],k=(0,rl.useCallback)((function(e){b(lte),S(e),w("")}),[]),T=(0,rl.useCallback)((function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,d.loginRedirect({scopes:r.slice(),redirectUri:"".concat(t).concat("-redirect")})];case 1:return e.sent(),[2]}}))}))}),[d,r]),I=(0,rl.useCallback)((function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,d.loginPopup({scopes:r.slice(),redirectUri:"".concat(t).concat("-popup")})];case 1:return e.sent(),[2]}}))}))}),[d,r]),A=(0,rl.useCallback)((function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,n,r,o;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:if(e.trys.push([0,7,,8]),h===h$.Login||h===h$.HandleRedirect)return[3,6];switch(t=d.getConfiguration(),n=t.auth,r=n.redirectUri,i){case rte.None:return[3,1];case rte.Popup:return[3,2];case rte.Redirect:return[3,4]}return[3,6];case 1:return[3,6];case 2:return[4,cte(I(r))];case 3:case 5:return e.sent(),[3,6];case 4:return[4,cte(T(r))];case 6:return[3,8];case 7:return o=e.sent(),k(o),[3,8];case 8:return[2]}}))}))}),[i,d,I,T,k,h]),P=(0,rl.useCallback)((function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:switch(t.errorCode){case"interaction_required":case"invalid_grant":case"no_tokens_found":case"login_required":case"monitor_window_timeout":return[3,1]}return[3,3];case 1:return[4,A()];case 2:return e.sent(),[3,4];case 3:throw t;case 4:return[2]}}))}))}),[A]),D=(0,rl.useCallback)((function(t,o){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var i,a,s;return(0,e.__generator)(this,(function(c){switch(c.label){case 0:if(!n)return[3,6];i=(0,e.__spreadArray)([],t||r,!0),a=null!==o&&void 0!==o?o:l,c.label=1;case 1:return c.trys.push([1,3,,5]),[4,(u=d.acquireTokenSilent({scopes:i,account:n,forceRefresh:a}),zp(u,ste))];case 2:return[2,c.sent().accessToken];case 3:return s=c.sent(),[4,P(s)];case 4:return c.sent(),[2];case 5:return[3,8];case 6:return[4,A()];case 7:return c.sent(),[2];case 8:return[2]}var u}))}))}),[n,r,l,P,d,A]),R=(0,rl.useCallback)((function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,n;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,D()];case 1:return t=e.sent(),b(ute),w(null!==t&&void 0!==t?t:""),S(void 0),[3,3];case 2:return n=e.sent(),k(n),[3,3];case 3:return[2]}}))}))}),[D,k]);return(0,rl.useEffect)((function(){(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return s?[4,R()]:[2];case 1:return e.sent(),[2]}}))}))}),[s,R]),{getToken:D,isAuthenticated:null!==n,accessToken:C,accessTokenAcquisitionStatus:y,error:x}};function fte(e){var t=e,n=[];return{setValue:function(e){t!==e&&(t=e,pl().unstable_batchedUpdates((function(){n.forEach((function(t){return t(e)}))})))},useValue:function(){var e=function(e){var t=(0,rl.useState)(e)[1];return(0,rl.useCallback)((function(e){t(e)}),[])}(t);return ll((function(){n=n.concat(e)})),cl((function(){n=n.filter((function(t){return t!==e}))})),t}}}var mte=function(){return pte.useValue()};function gte(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function vte(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){gte(i,r,o,a,s,"next",e)}function s(e){gte(i,r,o,a,s,"throw",e)}a(void 0)}))}}var yte,bte={},_te="get",Cte="del";!function(e){e.Unauthorized="401",e.Conflict="409",e.PreconditionFailed="412",e.TooManyRequests="429"}(yte||(yte={}));var wte=function(e){return function(t){var n=h;return e.forEach((function(e){t.httpStatusCode===e&&(t.httpStatusCode="200",t.isSuccess=!0,n=f)})),n}};function Ete(e,t,n,r){return Tte("get",Op,e,t,n,{},r)}function xte(e,t,n,r,o){return Tte("putOrPost",Fp,e,t,r,n,o)}function Ste(e,t,n,r){return Tte("putOrPost",Bp,e,t,r,n)}function kte(e,t,n){return Tte("del",Hp,e,t,n)}function Tte(t,n,r,o,i,a,s){var c;return(0,e.__awaiter)(this,void 0,void 0,(function(){var l,u;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,7,,8]),l=void 0,t!==Cte?[3,2]:[4,n(r,{operation:o},i||{})];case 1:return l=e.sent(),[3,6];case 2:return t!==_te?[3,4]:[4,n(r,{operation:o},i||{},s||{})];case 3:return l=e.sent(),[3,6];case 4:return[4,n(r,{operation:o},a,i||{},s||{})];case 5:l=e.sent(),e.label=6;case 6:return[2,l.data];case 7:return u=e.sent(),401===(null===(c=u.response)||void 0===c?void 0:c.status)&&window.location.reload(),[2,Promise.reject(u)];case 8:return[2]}}))}))}function Ite(t,n,r,o,i,a){return(0,e.__awaiter)(this,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return t&&Ate(n),[4,sh(bte,n,(function(){return Ete(r,o,i,a)}))];case 1:return[2,e.sent()]}}))}))}function Ate(e){ah(bte,e)}var Pte,Dte="/privacy/api",Rte="".concat(Dte,"/test"),Mte="PRIVACY",Nte="".concat(Dte,"/signedout/third-party-sharing-preference"),Lte=function(t,n){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ste(Nte,"".concat(Mte,".UPDATETHIRDPARTYSHARINGPREFERENCE"),{muid:t,optOut:n})];case 1:return[2,e.sent()]}}))}))},Ote=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ste("".concat(Dte,"/user/settings/a"),"".concat(Mte,".UPDATEUSERSETTINGSADVERTISING"),{etag:"-",enabled:t})];case 1:return[2,e.sent()]}}))}))},Fte=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ste("".concat(Dte,"/user/settings/t"),"".concat(Mte,".UPDATEUSERSETTINGSTHIRDPARTYSHARING"),{etag:"-",enabled:t})];case 1:return[2,e.sent()]}}))}))},Bte=[],Hte=[],zte=!1;function Ute(e,t,n){if(!e)throw new Error("CookieManager.getCookie - name argument should not be false-y");if(Gte(),t&&!qte(n))return"";for(var r=e.toLowerCase(),o=0,i=document.cookie.split(";");o<i.length;o++){var a=i[o].split("=");if(decodeURIComponent(a[0].trim().toLowerCase())===r)return a.shift(),decodeURIComponent(a.join("="))}return""}function Vte(t){if(!t)throw new Error("CookieManager.setCookie - cookie argument should not be false-y");if(Gte(),t.requiresConsent&&!qte(t.category))return Bte=(0,e.__spreadArray)((0,e.__spreadArray)([],Bte,!0),[t],!1),!1;var n="";if(t.expiresOn){if(t.expiresOn.getTime()-Date.now()>63072e6)throw new Error("CookieManager.setCookie - cookies must expire within two years");var r=t.expiresOn.toUTCString();n=";expires=".concat(r)}var o="";t.domain&&("."!==t.domain[0]&&(t.domain=".".concat(t.domain)),o=";domain=".concat(t.domain)),t.path||(t.path="/");var i="";t.isSecure&&(i=";secure");var a=encodeURIComponent(t.name),s=encodeURIComponent(t.value),c="".concat(a,"=").concat(s).concat(n).concat(o,";path=").concat(t.path).concat(i);return document.cookie=c,t.requiresConsent&&(Hte=(0,e.__spreadArray)((0,e.__spreadArray)([],Hte,!0),[t],!1)),!0}function jte(e,t){if(!e)throw new Error("CookieManager.expireCookie - name argument should not e false-y");var n=new Date;n.setDate(n.getDate()-1),Vte({name:e,value:"",requiresConsent:!1,expiresOn:n,domain:t})}function qte(e){return!window.siteConsent||window.siteConsent.getConsentFor(null!==e&&void 0!==e?e:WcpConsent.consentCategories.Required)}function Wte(t){var n=[],r=[];Bte.forEach((function(e){e.category===WcpConsent.consentCategories.Analytics&&t.Analytics||e.category===WcpConsent.consentCategories.Advertising&&t.Advertising||e.category===WcpConsent.consentCategories.SocialMedia&&t.SocialMedia?n.push(e):r.push(e)})),Bte=(0,e.__spreadArray)([],r,!0);var o=[],i=[];Hte.forEach((function(e){e.category===WcpConsent.consentCategories.Analytics&&!t.Analytics||e.category===WcpConsent.consentCategories.Advertising&&!t.Advertising||e.category===WcpConsent.consentCategories.SocialMedia&&!t.SocialMedia?o.push(e):i.push(e)})),Hte=(0,e.__spreadArray)([],i,!0),n.forEach((function(e){return Vte(e)})),o.forEach((function(e){jte(e.name)})),Bte=(0,e.__spreadArray)((0,e.__spreadArray)([],Bte,!0),o,!0),window.clarity&&t.Analytics&&window.clarity("consent")}function Gte(){!zte&&window.siteConsent&&(window.siteConsent.onConsentChanged(Wte),zte=!0)}var Kte,Yte=function(){return Pte.useValue()},Qte=["browse","search","location","usage"],Xte="show-all-dialog-body",Jte=["location","browse","search","usage","performance"];!function(e){e[e.location=0]="location",e[e.browse=1]="browse",e[e.search=2]="search",e[e.usage=3]="usage",e[e.performance=4]="performance",e[e.autofill=5]="autofill",e[e.appAccess=6]="appAccess"}(Kte||(Kte={}));var $te=["browse","search","usage"],Zte="FIRST_LOAD",ene="LOAD_MORE",tne="DELETE_BY_IDS",nne="RESET",rne="startTime_today",one="/privacy",ine="/download-data",ane=2e3,sne="privacy",cne="".concat(sne,".overview"),lne="".concat(cne,".intro"),une="".concat(cne,".product-settings"),dne="".concat(sne,".download-your-data"),pne="".concat(dne,".archive"),hne="".concat(dne,".create-archive-dialog"),fne="".concat(dne,".delete-archive-dialog"),mne="".concat(cne,".clear-all-dialog"),gne="".concat(cne,".show-all-dialog"),vne="".concat(sne,".ad-settings"),yne="".concat(vne,".signed-in"),bne="".concat(sne,".third-party-sharing"),_ne="".concat(bne,".signed-in"),Cne="".concat(vne,".signed-out"),wne="".concat(Cne,".third-party-ads"),Ene="".concat(sne,".mac-address-opt-out"),xne="".concat(sne,".office-settings"),Sne="".concat(xne,".drawers"),kne="Privacy",Tne="DeleteConfirm",Ine="DeleteRetryAfterFailure",Ane="Wait",Pne="DeleteFailure",Dne="ManageRecurringDelete",Rne="download-data",Mne="personalized-ad-settings",Nne="ad-settings-signedout",Lne="third-party-ads",One="thirdPartyAdsOptOut",Fne="3PAdsOptOut",Bne="userControls.recommendPeople.set",Hne="appAccess",zne=function(){(lu?ou.step:void 0)?pu({step:Ane}):du({area:kne,scenario:"SingleRowDelete",step:Ane})},Une=function(e){pu({step:Ine,error:Pne,data:e})},Vne=function(){du({area:kne,scenario:"BulkDelete",step:Tne})},jne="awa-mee_custom1",qne="awa-mee_custom3",Wne="awa-mee_custom4",Gne="awa-mee_custom5",Kne="awa-mee_custom9",Yne=function(e,t){bu();var n=window.location,r=yu(),o=encodeURIComponent(r);return"".concat(t,"?operation=").concat(e,"&domain=").concat(n.host,"&protocol=").concat(n.protocol,"&MS-CV=").concat(o)},Qne=function(){var e=window.location.href,t="#FAQ",n=window.location.hash;return n?e.replace(n,t):"".concat(e).concat(t)},Xne=function(){return window.location.hostname.split("account").pop()},Jne=function(){var e=new Date(Date.now());e.setDate(e.getDate()+390),Vte({name:Fne,value:"1",requiresConsent:!1,expiresOn:e,domain:Xne()})},$ne=function(){"1"===Ute(One,!1)&&(jte(One),Jne())},Zne="".concat(Dte,"/user/interests"),ere="UserInterests",tre=function(t,n,r){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return Ate(ere),[4,Ste(Zne,"".concat(Mte,".UPDATEUSERINTERESTS"),{etag:"-",interestIds:t,isInterested:n,interestType:r})];case 1:return[2,e.sent()]}}))}))},nre={ApparelAccessories:"Shirt",ArtsEntertainment:"MyMoviesTV",AutosVehicles:"Car",BabyChildrensProducts:"Family",BeautyProductsServices:"FavoriteStar",BusinessIndustrialProducts:"CityNext2",BusinessServices:"Financial",ComputersPeripherals:"System",ConsumerElectronics:"Devices3",DatingServices:"Heart",Default:"FavoriteStar",Education:"Education",Employment:"Work",FinancialServices:"Money",GiftsOccasions:"Giftbox",HobbiesLeisure:"Leisure",HomeGarden:"Street",PersonalServices:"FavoriteStar",RealEstate:"Home",Social:"Group",Software:"AllApps",SportsFitness:"Jogging",Telecom:"Wifi",Travel:"Airplane",Websitedomains:"Website"},rre="interests.ads-list",ore=function(){var t="InterestBasedAdsList.getUserInterests",n="InterestBasedAdsList.updateUserInterests",r=Yte().adSettingsContent.interestList,o=r.title,i=r.description,a=r.current,s=r.removed,c=eY((0,rl.useState)({}),2),l=c[0],u=c[1],d={},p=eY((0,rl.useState)({}),2),h=p[0],f=p[1],m=eY((0,rl.useState)({}),2),g=m[0],v=m[1],y=function(){var t=vte(jee().mark((function t(){var n;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ite(!1,ere,Zne,"".concat(Mte,".GETUSERINTERESTS"))];case 1:return[2,e.sent()]}}))}));case 2:n=t.sent,d={},n.interests&&n.interests.forEach((function(e){d[e.id]=e})),u(d);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),b=function(){var e={},t={};Object.values(d).forEach((function(n){n.isTurnedOff?e[n.groupName]?e[n.groupName].push(n):e[n.groupName]=[n]:t[n.groupName]?t[n.groupName].push(n):t[n.groupName]=[n]})),v(e),f(t)},_=function(){var e=vte(jee().mark((function e(t){var n;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tre(t.id,t.isTurnedOff,t.interestType);case 2:"domain"===t.interestType?delete(d=l)[t.id]:(n={id:t.id,name:t.name,isTurnedOff:!t.isTurnedOff,groupId:t.groupId,groupName:t.groupName,interestType:t.interestType},(d=l)[t.id]=n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),C=up();ll(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,C({name:t,status:"first-load"}),e.next=4,y();case 4:C({name:t,status:"finished"}),b(),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),C({name:t,status:"failed",error:e.t0});case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))));var w=function(e){return vte(jee().mark((function t(){return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,C({name:"".concat(n,".").concat(e.id),status:"updating"}),t.next=4,_(e);case 4:C({name:"".concat(n,".").concat(e.id),status:"finished"}),b(),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),C({name:"".concat(n,".").concat(e.id),status:"update-failed",error:t.t0});case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))},E=function(e,t){var o=t?a:s,i=Object.entries(e);return 0===i.length?null:ol().createElement(FO,{shadow:!0,roundedCorners:!0,listRole:"tree",header:ol().createElement(kw,{tag:"h2",variant:"headerText"},o),initialListLength:5,showMoreButtonProps:{children:r.seeAll,"data-bi-id":"".concat(yne,".see-all"),"aria-label":"".concat(r.seeAll," ").concat(o)},showLessButtonProps:{children:r.seeLess,"data-bi-id":"".concat(yne,".see-less"),"aria-label":"".concat(r.seeLess," ").concat(o)}},i.sort().map((function(e){var i=eY(e,2),a=i[0],s=i[1],c={size:"md",image:{imageType:"icon",iconName:nre[s[0].groupId]||nre.Default},padding:"0px",height:"24px"},l={kind:"text",children:a,nowrap:!1,"aria-label":"".concat(o," ").concat(a)},u={"data-bi-id":"".concat(yne,".choice-summary"),"aria-label":"".concat(a)};return ol().createElement(yO,{drawerContentPadding:"16px 16px 16px 42px",borderRadius:"0px",removeTreeRole:!0,drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{media:c,title:l}),slots:6},{column:ol().createElement(yI,null,s.length.toString()),slots:6}],totalSlots:12}),key:a},ol().createElement(jw,{horizontal:!0,wrap:!0},ol().createElement(tR,Object.assign({operationData:{progressViewOperationData:{componentName:rre,operationName:n,defaultState:"finished"},errorMessage:r.tagError},key:a,options:s.sort().map((function(e){return{label:e.name,onClick:w(e),"data-bi-id":"".concat(yne,".interest-").concat(t?"remove":"add"),"aria-label":"".concat(r.remove," ").concat(e.name),id:e.id}}))},u))))})))};return ol().createElement(Ob,{operationData:{componentName:rre,operationName:t},firstLoadView:ol().createElement(jw,{childrenGap:"20px"},ol().createElement(FO,{isAlwaysExpanded:!0,header:ol().createElement(EI,{height:20,width:"20%"})},ol().createElement(uR,null),ol().createElement(uR,null),ol().createElement(uR,null),ol().createElement(uR,null),ol().createElement(uR,null)),ol().createElement(FO,{isAlwaysExpanded:!0,header:ol().createElement(EI,{height:20,width:"20%"})},ol().createElement(uR,null),ol().createElement(uR,null),ol().createElement(uR,null))),finishedView:0===Object.keys(l).length?ol().createElement(jw,{"data-testid":"No Interests"},ol().createElement(kw,{tag:"h2",variant:"paneTitle"},r.noInterests.header),ol().createElement(Jw,null,r.noInterests.text)):ol().createElement(jw,null,ol().createElement(jw,{childrenGap:"5px",padding:"40px 0px 30px 0px"},ol().createElement(kw,{tag:"h2",variant:"paneTitle"},o),ol().createElement(Jw,null,i)),ol().createElement(jw,{childrenGap:"20px"},E(h,!0),E(g,!1))),failedView:ol().createElement(xH,{"data-testid":"getUserInterests-failed",correlationVector:yu(),errorMessage:r.listErrorMessage,imageSrc:r.listErrorImage.src})})},ire="interests.ads.v2",are=function(t){var n=t.signedIn,r="InterestBasedAdsV2.userAdSettings",o="InterestBasedAdsV2.thirdPartyAdsToggle",i="third-party-toggle-div",a="35px",s=mte(),c=s.choiceApiConfig.cookieEndpoint,l=s.choiceApiConfig.choiceEndpoint,u=s.choiceApiConfig.muidCookieEndpoint,d=n&&"us"===s.msaCountryCode.toLowerCase(),p=n?yne:Cne,h=Yte().adSettingsContent,f=h.interestChoice,m=h.interestChoice.descriptionFull,g=h.thirdPartyAds,v=g.pageTitle,y=g.pageDescription,b=g.tokens,_=h.signInRichText,C=h.toggle,w=Qne(),E={link:ol().createElement(Kx,{"data-bi-id":"".concat(p,".interest-choice-link"),"aria-label":f.labels.link,href:f.link,target:"_blank"},f.tokens.link),faq:ol().createElement(Kx,{"data-bi-id":"".concat(p,".faq-jump-link"),"aria-label":f.labels.faq,href:w},f.tokens.faq),br:ol().createElement("br",null),shareDataForPersonalizedAds:ol().createElement(Jw,{weightOverride:"bold",variant:"metadataText"},b.shareDataForPersonalizedAds)},x=s.signInLink||"https://".concat(window.location.hostname,"/auth/complete-signin?ru=").concat(window.location.href),S=Yne("thirdparty",c),k=eY((0,rl.useState)(S),2),T=k[0],I=k[1],A=eY((0,rl.useState)(""),2),P=A[0],D=A[1],R=eY((0,rl.useState)(""),2),M=R[0],N=R[1],L=eY((0,rl.useState)(""),2),O=L[0],F=L[1],B=eY((0,rl.useState)(""),2),H=B[0],z=B[1],U=eY((0,rl.useState)(!1),2),V=U[0],j=U[1],q=eY((0,rl.useState)(!1),2),W=q[0],G=q[1],K=eY((0,rl.useState)({adsChecked:!1,thirdPartyAdsChecked:!1,adsDisabled:!0,thirdPartyAdsDisabled:!0,firstLoad:!0,thirdPartyCookiesEnabled:!0,msaAdsEnabled:!0,msaThirdPartyAdsEnabled:!0}),2),Y=K[0],Q=K[1],X=navigator.globalPrivacyControl,J=tp().addRequiredComponent,$=up(),Z=function(){var e=vte(jee().mark((function e(t,n){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t||!n){e.next=4;break}Q((function(e){return My(My({},e),{},{thirdPartyAdsChecked:!1,msaThirdPartyAdsEnabled:!1,thirdPartyAdsDisabled:!1})})),e.next=23;break;case 4:if(t||n){e.next=8;break}Q((function(e){return My(My({},e),{},{thirdPartyAdsChecked:!0,msaThirdPartyAdsEnabled:!0,thirdPartyAdsDisabled:!1})})),e.next=23;break;case 8:if(!t||n){e.next=14;break}return e.next=11,Fte(!1);case 11:Q((function(e){return My(My({},e),{},{thirdPartyAdsChecked:!1,msaThirdPartyAdsEnabled:!1,thirdPartyAdsDisabled:!1})})),e.next=23;break;case 14:if(t||!n){e.next=23;break}if(""===H){e.next=21;break}return e.next=18,Lte(H,!0);case 18:Jne(),e.next=22;break;case 21:G(!0);case 22:Q((function(e){return My(My({},e),{},{thirdPartyAdsChecked:!1,msaThirdPartyAdsEnabled:!1,thirdPartyAdsDisabled:!1})}));case 23:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();ll(vte(jee().mark((function t(){var o,a,s,c,l;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(window.onmessage=function(e){!e.data||"null"!==e.origin&&e.origin!=="".concat(window.location.protocol,"//").concat(window.location.hostname)&&""!==e.origin||N(e.data)},$({name:r,status:"first-load"}),!n){t.next=30;break}return t.prev=3,t.next=6,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ite(!1,"UserSettings","".concat(Dte,"/user/settings"),"".concat(Mte,".GETUSERSETTINGS"))];case 1:return[2,e.sent()]}}))}));case 6:if(o=t.sent,!X){t.next=15;break}if(!o.sharingState){t.next=11;break}return t.next=11,Fte(!1);case 11:Q((function(e){return My(My({},e),{},{thirdPartyAdsDisabled:!0,msaThirdPartyAdsEnabled:!1,msaAdsEnabled:o.advertising})})),$({name:r,status:"finished"}),t.next=23;break;case 15:return Q((function(e){return My(My({},e),{},{msaAdsEnabled:o.advertising,msaThirdPartyAdsEnabled:o.sharingState})})),$ne(),a=Ute(Fne,!1),s="1"===a,c=!o.sharingState||!o.advertising,t.next=22,Z(s,c);case 22:$({name:r,status:"finished"});case 23:"true"===new URLSearchParams(window.location.search.toLowerCase()).get("scrolltonewtoggle")&&(null===(l=document.getElementById(i))||void 0===l||l.scrollIntoView()),t.next=30;break;case 26:t.prev=26,t.t0=t.catch(3),window.onmessage=null,$({name:r,status:"failed",error:t.t0});case 30:case"end":return t.stop()}}),t,null,[[3,26]])}))));var ee=function(){var e=vte(jee().mark((function e(t){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(""===H){e.next=4;break}return e.next=3,Lte(H,t);case 3:t?Jne():jte(Fne,Xne());case 4:$({name:o,status:"finished"});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),te=function(){var e=vte(jee().mark((function e(t){var n,r=arguments;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]&&r[1],e.prev=1,e.next=4,Fte(t);case 4:Q((function(e){return My(My({},e),{},{msaThirdPartyAdsEnabled:t,thirdPartyAdsChecked:t,thirdPartyAdsDisabled:n})})),e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(1),$({name:o,status:"update-failed",error:e.t0}),n!==Y.thirdPartyAdsDisabled&&Q((function(e){return My(My({},e),{},{thirdPartyAdsDisabled:n})})),e.abrupt("return");case 12:return e.next=14,ee(!t);case 14:case"end":return e.stop()}}),e,null,[[1,7]])})));return function(t){return e.apply(this,arguments)}}(),ne=function(){var e=vte(jee().mark((function e(){var t,i,a,s;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if($({name:r,status:"updating"}),!n){e.next=22;break}return e.prev=2,e.next=5,Ote(!Y.adsChecked);case 5:Q((function(e){return My(My({},e),{},{msaAdsEnabled:!Y.adsChecked})})),e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(2),$({name:r,status:"update-failed",error:e.t0}),e.abrupt("return");case 12:if(!Y.adsChecked===Y.thirdPartyAdsChecked){e.next=22;break}if(t=!Y.msaThirdPartyAdsEnabled,i=!!Y.adsChecked,X||V){e.next=21;break}return $({name:o,status:"updating"}),e.next=19,te(t,i);case 19:e.next=22;break;case 21:V&&Q((function(e){return My(My({},e),{},{thirdPartyAdsDisabled:i})}));case 22:Y.thirdPartyCookiesEnabled?(a=Y.adsChecked?"muidoptout":"muidoptin",s=Yne(a,l),I(s)):(Q((function(e){return My(My({},e),{},{adsChecked:!Y.adsChecked,thirdPartyCookiesEnabled:!1})})),$({name:r,status:"finished"}));case 23:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(){return e.apply(this,arguments)}}(),re=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return $({name:o,status:"updating"}),t=!Y.thirdPartyAdsChecked,e.next=4,te(t);case 4:j(!t);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),oe=(0,rl.useCallback)((function(){if(!n||Y.msaAdsEnabled)Q((function(e){return My(My({},e),{},{adsChecked:!0,adsDisabled:!1,firstLoad:!1})})),$({name:r,status:"finished"});else{var e=Yne("muidoptout",l);I(e)}}),[Y,l,$,n]),ie=(0,rl.useCallback)(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n||!Y.msaAdsEnabled){e.next=12;break}return e.prev=1,e.next=4,Ote(!1);case 4:Q((function(e){return My(My({},e),{},{msaAdsEnabled:!1})})),e.next=12;break;case 7:return e.prev=7,e.t0=e.catch(1),window.onmessage=null,$({name:r,status:"failed",error:e.t0}),e.abrupt("return");case 12:if(!n||!Y.thirdPartyAdsChecked){e.next=15;break}return e.next=15,te(!1,!0);case 15:Q((function(e){return My(My({},e),{},{adsChecked:!1,adsDisabled:!1,firstLoad:!1,thirdPartyAdsDisabled:!Y.msaThirdPartyAdsEnabled})})),$({name:r,status:"finished"});case 17:case"end":return e.stop()}}),e,null,[[1,7]])}))),[Y,$,n]),ae=(0,rl.useCallback)((function(){X&&""!==H&&(Y.thirdPartyAdsChecked&&($({name:o,status:"updating"}),Fte(!1),ee(!0)),Q((function(e){return My(My({},e),{},{thirdPartyAdsChecked:!1,thirdPartyAdsDisabled:!0})})))}),[Y,X,H]),se=(0,rl.useCallback)(vte(jee().mark((function e(){var t,n,o,i;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t="Error occurred when loading URL: ".concat(T),!Y.firstLoad){e.next=7;break}window.onmessage=null,n=new Error("".concat(t," on first load")),$({name:r,status:"failed",error:n}),e.next=20;break;case 7:return e.prev=7,e.next=10,Ote(!Y.msaAdsEnabled);case 10:Q((function(e){return My(My({},e),{},{msaAdsEnabled:!Y.msaAdsEnabled})})),o=Error(t),$({name:r,status:"update-failed",error:o}),e.next=20;break;case 15:e.prev=15,e.t0=e.catch(7),window.onmessage=null,i=new Error("".concat(e.t0,". ").concat(t)),$({name:r,status:"failed",error:i});case 20:case"end":return e.stop()}}),e,null,[[7,15]])}))),[Y,$,T]);(0,rl.useEffect)((function(){if(M!==O&&"string"===typeof M){if(M.startsWith("Muid")){var e=M.split(":")[1];""!==e&&(z(e),ae(),W&&(Lte(e,!Y.thirdPartyAdsChecked),Jne(),G(!1)))}switch(M){case"ThirdPartyCookiesEnabled":var t=Yne("status",l);if(I(t),n){var o=Yne("muid",u);D(o)}Q((function(e){return My(My({},e),{},{adsDisabled:!0,thirdPartyCookiesEnabled:!0})}));break;case"ThirdPartyCookiesDisabled":n?(Q((function(e){return My(My({},e),{},{adsChecked:Y.msaAdsEnabled,adsDisabled:!1,thirdPartyCookiesEnabled:!1})})),$({name:r,status:"finished"})):(Q((function(e){return My(My({},e),{},{adsChecked:!1,adsDisabled:!0,thirdPartyCookiesEnabled:!1})})),$({name:r,status:"finished"}));break;case"CookieOptedIn":oe();break;case"CookieOptedOut":ie();break;case"Error":se()}F(M)}}),[M,O,Y,n,l,u,$,oe,ie,se]),(0,rl.useEffect)((function(){Al(Kne,"".concat(Y.adsChecked)),Al(Gne,"".concat(Y.thirdPartyAdsChecked))}),[Y]);var ce=function(){return Y.thirdPartyCookiesEnabled?null:ol().createElement(Jw,{colorOverride:"error"},f.thirdPartyCookiesDisabled)},le=h.thirdPartyAds.toggleErrorRichText.replace("{onOrOff}",Y.adsChecked?"off":"on"),ue=h.thirdPartyAds.toggleErrorRichText.replace("{onOrOff}",Y.thirdPartyAdsChecked?"off":"on"),de=function(){var e={"aria-label":_.text,"data-bi-id":"".concat(p,".sign-in-link"),href:x,children:_.text};return n?null:ol().createElement(Qx,{textWithTokens:_.textWithToken,tokensAndValues:{signIn:ol().createElement(Kx,Object.assign({id:"sign-in-link"},e))}})},pe=[{actionProps:{id:"ad-settings-toggle","aria-label":C.label,checked:Y.adsChecked,"data-bi-id":"".concat(p,".toggle"),kind:"toggle",offText:C.off,onChange:ne,onText:C.on,disabled:Y.adsDisabled,operationData:{progressViewOperationData:{componentName:ire,operationName:r,defaultState:"finished"},errorCallout:{errorMessage:le,errorMessageAriaLabel:le,targetOrTriggerButton:{"aria-label":C.calloutAriaLabel,"data-bi-id":"".concat(p,".toggle.error-callout")}}}}}],he=[{actionProps:{id:"".concat(_ne,".toggle"),"aria-label":C.label,checked:Y.thirdPartyAdsChecked,"data-bi-id":"".concat(_ne,".toggle"),kind:"toggle",offText:C.off,onChange:re,onText:C.on,disabled:!!X||Y.thirdPartyAdsDisabled,operationData:{progressViewOperationData:{componentName:ire,operationName:o,defaultState:"finished"},errorCallout:{errorMessage:ue,errorMessageAriaLabel:ue,targetOrTriggerButton:{"aria-label":C.calloutAriaLabel,"data-bi-id":"".concat(_ne,".toggle.error-callout")}}}}}],fe=[{actionProps:{kind:"toggleShimmer",width:"72px"}}],me={text:f.title,tag:"h2",variant:"paneTitle"},ge={text:v,tag:"h2",variant:"paneTitle"},ve=ol().createElement(jw,{childrenGap:16},ol().createElement(Jw,{variant:"metadataText"},g.signedInAdditionalInfoLine1),ol().createElement(Qx,{variant:"metadataText",textWithTokens:g.signedInAdditionalInfoLine2,tokensAndValues:E})),ye=Y.thirdPartyAdsChecked?{alt:g.thirdPartyAdsImageOn.alt,src:g.thirdPartyAdsImageOn.src}:{alt:g.thirdPartyAdsImageOff.alt,src:g.thirdPartyAdsImageOff.src};return ol().createElement(ol().Fragment,null,ol().createElement(Ob,{operationData:{operationName:r,componentName:ire},firstLoadView:ol().createElement(ol().Fragment,null,ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:m,tokensAndValues:E},imageProps:Y.adsChecked?{alt:f.image.alt,src:f.image.src}:{alt:f.imageNew.alt,src:f.imageNew.src},ctaProps:fe,featureHeading:me,height:"small",layoutType:"2/3"}),d&&ol().createElement("div",{style:{marginTop:a},id:i},ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:y,tokensAndValues:E},ctaProps:fe,featureHeading:ge,height:"small",imageProps:ye,layoutType:"2/3"}))),finishedView:ol().createElement(ol().Fragment,null,ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:m,tokensAndValues:E},imageProps:Y.adsChecked?{alt:f.image.alt,src:f.image.src}:{alt:f.imageNew.alt,src:f.imageNew.src},ctaProps:pe,featureHeading:me,height:"small",layoutType:"2/3"}),ol().createElement(jw,null,ce(),de()),n&&Y.adsChecked?(J(rre),ol().createElement(ore,null)):null,d&&ol().createElement("div",{style:{marginTop:a},id:i},ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:y,tokensAndValues:E},ctaProps:he,featureHeading:ge,height:"small",imageProps:ye,layoutType:"2/3"}),ol().createElement(jw,{childrenGap:15},X?ol().createElement(Jw,{colorOverride:"error"},h.thirdPartyAds.globalPrivacyControlEnabledError):null,ve))),updateFailedView:ol().createElement(ol().Fragment,null,ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:m,tokensAndValues:E},imageProps:Y.adsChecked?{alt:f.image.alt,src:f.image.src}:{alt:f.imageNew.alt,src:f.imageNew.src},ctaProps:pe,featureHeading:me,height:"small",layoutType:"2/3"}),ol().createElement(jw,null,ce(),de()),d&&ol().createElement("div",{style:{marginTop:a},id:i},ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:y,tokensAndValues:E},imageProps:ye,ctaProps:he,featureHeading:ge,height:"small",layoutType:"2/3"}),ve)),failedView:ol().createElement(ol().Fragment,null,ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:m,tokensAndValues:E},imageProps:Y.adsChecked?{alt:f.image.alt,src:f.image.src}:{alt:f.imageNew.alt,src:f.imageNew.src},featureHeading:me,height:"small",layoutType:"2/3"}),d&&ol().createElement("div",{style:{marginTop:a},id:i},ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:y,tokensAndValues:E},imageProps:ye,featureHeading:ge,height:"small",layoutType:"2/3"})),ol().createElement(xH,{"data-testid":"getUserInterests-failed",correlationVector:yu(),errorMessage:f.choiceOrMsaError,imageSrc:f.toggleErrorImage.src}))}),ol().createElement("iframe",{id:"muid-optout-iframe-react",name:"muid-optout-iframe-react",src:T,style:{display:"none"},title:"Choice iframe",sandbox:"allow-scripts"}),ol().createElement("iframe",{id:"muid-iframe-react",name:"muid-iframe-react",src:P,style:{display:"none"},title:"Choice iframe muid",sandbox:"allow-scripts"}))},sre=(0,rl.createContext)({}),cre=function(){var e=(0,rl.useContext)(sre);if(null===e)throw new Error("OboContext: Context is not initialized. Confirm that your app is contained within an OboProvider.");return e},lre=function(e){var t=e.selfRights,n=e.kids,r=void 0===n?[]:n,o=e.children,i=new URLSearchParams(Vd().search).get("idx")||"",a=Number(i),s=[{authToken:void 0,canManage:null===t||void 0===t?void 0:t.canManage}].concat(zK(r.map((function(e){var t;return{authToken:e.authToken,canManage:(null===(t=e.oboRights)||void 0===t?void 0:t.canManage)||!1}})))),c=s[a]?a:0,l=s[c].authToken,u=s[c].canManage;return(0,rl.useEffect)((function(){Al(Wne,0===c?u?"self":"self-cannot-delete":"obo")}),[c,u]),ol().createElement(sre.Provider,{value:{authToken:l,canManage:u}},o)},ure="thirdParty.ads",dre=function(){var e="ThirdPartyAds.userAdSettings",t=mte(),n=t.choiceApiConfig.cookieEndpoint,r=t.choiceApiConfig.muidCookieEndpoint,o=Yte().adSettingsContent,i=o.thirdPartyAds.pageInfo,a=o.thirdPartyAds.pageTitle,s=o.thirdPartyAds.pageDescription,c=o.thirdPartyAds.tokens,l=o.interestChoice.labels.faq,u=o.interestChoice.tokens.faq,d=o.toggle,p=o.thirdPartyAds.thirdPartyAdsImageOn,h=o.thirdPartyAds.thirdPartyAdsImageOff,f=t.signInLink||"https://".concat(window.location.hostname,"/auth/complete-signin?ru=").concat(window.location.href),m="https://".concat(window.location.hostname,"/privacy/ad-settings/signedout"),g=Qne(),v={faq:ol().createElement(Kx,{"data-bi-id":"".concat(wne,".faq-jump-link"),"aria-label":l,href:g},u),signIn:ol().createElement(Kx,{id:"sign-in-link","aria-label":o.signInRichText.text,"data-bi-id":"".concat(wne,".sign-in-link"),href:f,children:o.signInRichText.text}),shareDataForPersonalizedAds:ol().createElement(Jw,{weightOverride:"bold",variant:"metadataText"},c.shareDataForPersonalizedAds),personalizedAdSettingsPage:ol().createElement(Kx,{id:"personalized-ad-settings-page-link","aria-label":c.personalizedAdSettingsPage,"data-bi-id":"".concat(wne,".personalized-ad-settings-page-link"),href:m,children:c.personalizedAdSettingsPage})},y=eY((0,rl.useState)(""),2),b=y[0],_=y[1],C=eY((0,rl.useState)(""),2),w=C[0],E=C[1],x=eY((0,rl.useState)(""),2),S=x[0],k=x[1],T=eY((0,rl.useState)(Yne("muid",r)),1)[0],I=eY((0,rl.useState)(""),2),A=I[0],P=I[1],D=eY((0,rl.useState)({toggleChecked:!1,toggleDisabled:!0,thirdPartyCookiesEnabled:!0}),2),R=D[0],M=D[1],N=navigator.globalPrivacyControl,L=up();ll(vte(jee().mark((function t(){return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:window.onmessage=function(e){!e.data||"null"!==e.origin&&""!==e.origin&&e.origin!=="".concat(window.location.protocol,"//").concat(window.location.hostname)||E(e.data)},L({name:e,status:"first-load"});case 2:case"end":return t.stop()}}),t)}))));var O=function(){var t=vte(jee().mark((function t(){var n;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(L({name:e,status:"updating"}),!R.thirdPartyCookiesEnabled||""===A){t.next=17;break}return n=R.toggleChecked,t.prev=3,t.next=6,Lte(A,n);case 6:n?Jne():jte(Fne,Xne()),M((function(e){return My(My({},e),{},{toggleChecked:!R.toggleChecked})})),L({name:e,status:"finished"}),t.next=15;break;case 11:return t.prev=11,t.t0=t.catch(3),L({name:e,status:"update-failed",error:t.t0}),t.abrupt("return");case 15:t.next=19;break;case 17:M((function(e){return My(My({},e),{},{toggleChecked:!R.toggleChecked,toggleDisabled:!0})})),L({name:e,status:"finished"});case 19:case"end":return t.stop()}}),t,null,[[3,11]])})));return function(){return t.apply(this,arguments)}}(),F=(0,rl.useCallback)((function(){"1"===Ute(Fne,!1)?M((function(e){return My(My({},e),{},{toggleChecked:!1,toggleDisabled:!1})})):M((function(e){return My(My({},e),{},{toggleChecked:!0,toggleDisabled:!1})})),L({name:e,status:"finished"})}),[L]),B=(0,rl.useCallback)(vte(jee().mark((function t(){return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if($ne(),!N){t.next=20;break}if("1"!==Ute(Fne,!1)){t.next=6;break}M((function(e){return My(My({},e),{},{toggleChecked:!1,toggleDisabled:!0})})),t.next=17;break;case 6:return t.prev=6,t.next=9,Lte(A,!0);case 9:Jne(),M((function(e){return My(My({},e),{},{toggleChecked:!1,toggleDisabled:!0})})),t.next=17;break;case 13:t.prev=13,t.t0=t.catch(6),M((function(e){return My(My({},e),{},{toggleChecked:!1,toggleDisabled:!0})})),L({name:e,status:"failed",error:t.t0});case 17:L({name:e,status:"finished"}),t.next=21;break;case 20:F();case 21:case"end":return t.stop()}}),t,null,[[6,13]])}))),[N,A,F,L]),H=(0,rl.useCallback)((function(){""===A?(M((function(e){return My(My({},e),{},{toggleChecked:!1,toggleDisabled:!0})})),L({name:e,status:"finished"})):B()}),[A,B,L]),z=(0,rl.useCallback)((function(){window.onmessage=null;var t=new Error("$Error occurred when loading URL: ".concat(b," on first load"));L({name:e,status:"failed",error:t})}),[b,L]);(0,rl.useEffect)((function(){if(w!==S){var t=w.toString().split(":");switch(t[0]){case"Muid":P(t[1]),_(Yne("thirdparty",n));break;case"ThirdPartyCookiesEnabled":M((function(e){return My(My({},e),{},{toggleChecked:!0,toggleDisabled:!0,thirdPartyCookiesEnabled:!0})})),H();break;case"ThirdPartyCookiesDisabled":M((function(e){return My(My({},e),{},{toggleChecked:!1,toggleDisabled:!0,thirdPartyCookiesEnabled:!1})})),L({name:e,status:"finished"});break;case"Error":z()}k(w)}}),[w,S,n,H,z,L]),(0,rl.useEffect)((function(){Al(Gne,"".concat(R.toggleChecked))}),[R]);var U=o.thirdPartyAds.toggleErrorRichText.replace("{onOrOff}",R.toggleChecked?"off":"on"),V=ol().createElement(jw,{childrenGap:16},ol().createElement(Jw,{variant:"statusHeader"},a),ol().createElement(Jw,{variant:"bodyPrimaryText"},s),ol().createElement(XN,{width:"72px"})),j=[{actionProps:{id:"".concat(wne,".toggle"),"aria-label":"Third-Party.".concat(d.label),checked:R.toggleChecked,"data-bi-id":"".concat(wne,".toggle"),kind:"toggle",offText:d.off,onChange:O,onText:d.on,disabled:R.toggleDisabled,operationData:{errorCallout:{errorMessage:U,errorMessageAriaLabel:U,targetOrTriggerButton:{"aria-label":"Third-Party.".concat(d.label),"data-bi-id":"".concat(wne,".toggle-error-callout-trigger")}},progressViewOperationData:{operationName:e,componentName:ure,defaultState:"finished"}}}}],q=ol().createElement(jw,{childrenGap:48},ol().createElement(Jw,{variant:"bodyPrimaryText"},i),ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:s,tokensAndValues:v},imageProps:R.toggleChecked?{alt:p.alt,src:p.src}:{alt:h.alt,src:h.src},ctaProps:j,featureHeading:{text:a},height:"small",layoutType:"2/3"})),W=ol().createElement(jw,{childrenGap:16},q,ol().createElement(Jw,{variant:"metadataText"},o.thirdPartyAds.additionalInfoLine1),ol().createElement(Qx,{variant:"metadataText",textWithTokens:o.thirdPartyAds.additionalInfoLine2,tokensAndValues:v}));return ol().createElement(ol().Fragment,null,ol().createElement(Ob,{operationData:{operationName:e,componentName:ure},firstLoadView:V,finishedView:ol().createElement(jw,{childrenGap:16},q,(R.thirdPartyCookiesEnabled?null:ol().createElement(Jw,{colorOverride:"error"},o.interestChoice.thirdPartyCookiesDisabled))||(N?ol().createElement(Jw,{colorOverride:"error"},o.thirdPartyAds.globalPrivacyControlEnabledError):null)||(R.thirdPartyCookiesEnabled&&""===A?ol().createElement(Qx,{colorOverride:"error",textWithTokens:o.thirdPartyAds.noMuidError,tokensAndValues:v}):null),ol().createElement(Qx,{textWithTokens:o.signInRichText.textWithToken,tokensAndValues:v}),ol().createElement(Jw,{variant:"metadataText"},o.thirdPartyAds.additionalInfoLine1),ol().createElement(Qx,{variant:"metadataText",textWithTokens:o.thirdPartyAds.additionalInfoLine2,tokensAndValues:v})),updateFailedView:W,failedView:W}),ol().createElement("iframe",{id:"muid-thirdPartyCookies-optout-iframe",name:"muid-thirdPartyCookies-optout-iframe",src:b,style:{display:"none"},title:"Choice third party cookies opt out iFrame",sandbox:"allow-scripts"}),ol().createElement("iframe",{id:"get-MUID-iframe",name:"get-MUID-iframe",src:T,style:{display:"none"},title:"Choice get MUID value iFrame",sandbox:"allow-scripts"}))},pre=function(){var e=Yte().adSettingsContent.devices,t=e.deviceList.winEleven,n=e.deviceList.winTen,r={gear:ol().createElement(uw,{iconName:"Settings",size:"16px"}),lock:ol().createElement(uw,{iconName:"Lock",size:"16px"}),winlogo:ol().createElement(uw,{iconName:"WindowsLogo",size:"16px"}),shield:ol().createElement(uw,{iconName:"Shield",size:"16px"}),privacySecurity:ol().createElement(Jw,{weightOverride:"bold"},t.tokens.privacySecurity),general:ol().createElement(Jw,{weightOverride:"bold"},t.tokens.general),privacy:ol().createElement(Jw,{weightOverride:"bold"},n.tokens.privacy),settings:ol().createElement(Jw,{weightOverride:"bold"},n.tokens.settings),start:ol().createElement(Jw,{weightOverride:"bold"},n.tokens.start),winElevenText:ol().createElement(Jw,{weightOverride:"bold"},t.tokens.adID),winTenText:ol().createElement(Jw,{weightOverride:"bold"},n.tokens.adID)};return ol().createElement(ol().Fragment,null,ol().createElement(jw,{childrenGap:"5px",padding:"40px 0px 30px 0px"},ol().createElement(kw,{tag:"h2",variant:"paneTitle"},e.title),ol().createElement(Jw,null,e.description)),ol().createElement(FO,{isAlwaysExpanded:!0,shadow:!0,roundedCorners:!0,showDivider:!1,listItemBackgroundColor:"neutralMed",listRole:"tree"},Object.values(e.deviceList).map((function(t){var n={kind:"text",children:t.question,nowrap:!1,"aria-label":"".concat(e.title," ").concat(t.question)};return ol().createElement(yO,{borderRadius:"0px",drawerContentPadding:"16px 16px 16px 42px",drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:n}),slots:12}],totalSlots:12}),key:t.question,removeTreeRole:!0},ol().createElement(jw,{childrenGap:"20px"},Object.values(t.answer).map((function(e){return ol().createElement(Qx,{textWithTokens:e,tokensAndValues:r,key:e})}))))}))))},hre=function(e){var t=e.signedIn,n=Yte(),r=mte(),o=t?yne:Cne,i=n.adSettingsContent.faq,a=i.links,s={privacyStatement:ol().createElement(Kx,{href:a.privacyStatementLink,"data-bi-id":"".concat(o,".privacy-statement"),"aria-label":i.tokens.privacyStatement,target:"_blank"},i.tokens.privacyStatement),verizonMedia:ol().createElement(Kx,{href:a.verizonMediaLink,"data-bi-id":"".concat(o,".verizon-media"),"aria-label":i.tokens.verizonMedia,target:"_blank"},i.tokens.verizonMedia),xandr:ol().createElement(Kx,{href:a.xandrLink,"data-bi-id":"".concat(o,".xandr"),"aria-label":i.tokens.xandr,target:"_blank"},i.tokens.xandr),interestAds:ol().createElement(Jw,{weightOverride:"bold"},i.tokens.interestAds),browserAds:ol().createElement(Jw,{weightOverride:"bold"},i.tokens.browserAds),daa:ol().createElement(Kx,{href:a.daaLink,"data-bi-id":"".concat(o,".digital-advertising-alliance"),"aria-label":i.tokens.daa,target:"_blank"},i.tokens.daa),edaa:ol().createElement(Kx,{href:a.edaaLink,"data-bi-id":"".concat(o,".european-interactive-digital-advertising-alliance"),"aria-label":i.tokens.edaa,target:"_blank"},i.tokens.edaa),daac:ol().createElement(Kx,{href:a.daacLink,"data-bi-id":"".concat(o,".digital-advertising-alliance-of-canada"),"aria-label":i.tokens.daac,target:"_blank"},i.tokens.daac),microsoftEdge:ol().createElement(Jw,{weightOverride:"bold"},i.tokens.microsoftEdge),settings:ol().createElement(Jw,{weightOverride:"bold"},i.tokens.settings),privacySearchServices:ol().createElement(Jw,{weightOverride:"bold"},i.tokens.privacySearchServices),learnMoreLink:ol().createElement(Kx,{href:a.learnMoreLink,"data-bi-id":"".concat(o,".learn-more"),"aria-label":i.tokens.learnMoreLinkAriaLabel,target:"_blank"},i.tokens.learnMoreLink),amcProfileLink:ol().createElement(Kx,{href:a.amcProfileLink,"data-bi-id":"".concat(o,".amc-profile"),"aria-label":i.tokens.amcProfileLink},i.tokens.amcProfileLink),yahoo:ol().createElement(Kx,{href:a.yahooLink,"data-bi-id":"".concat(o,".yahoo"),"aria-label":i.tokens.yahoo,target:"_blank"},i.tokens.yahoo)},c=function(e){return!e.selfRights||0===Object.keys(e.selfRights).length||e.selfRights.canManage}(r)?i.questions:n.adSettingsContent.underage.faq,l=[];return Object.values(c).forEach((function(e){l.push(e)})),ol().createElement(ol().Fragment,null,ol().createElement(jw,{id:"FAQ",padding:"32px 0 0 0"},ol().createElement(FO,{isAlwaysExpanded:!0,header:ol().createElement(jw,null,ol().createElement(kw,{tag:"h2",variant:"paneTitle"},n.adSettingsContent.faq.header)),shadow:!0,showDivider:!1,showDefaultHeaderDivider:!0,roundedCorners:!0,listItemBackgroundColor:"neutralMed",listRole:"tree"},l.map((function(e){var t={kind:"text",children:e.question,nowrap:!1,"aria-label":"".concat(n.adSettingsContent.faq.header," ").concat(e.question)};return ol().createElement(yO,{borderRadius:"0px",drawerContentPadding:"16px 16px 16px 42px",drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:t}),slots:12}],totalSlots:12}),key:e.question,removeTreeRole:!0},ol().createElement(jw,{childrenGap:"20px"},Object.values(e.answer).map((function(e){return ol().createElement(Qx,{textWithTokens:e,tokensAndValues:s,key:e})}))))})))))},fre=function(e){var t,n=e.subPage,r=e.useInAppNavigation,o=void 0===r||r,i=Yte(),a=i.breadcrumbContent,s=i.adSettingsContent.adFreeOutlook,c=mte();switch(n){case"ad-settings":case"ad-settings-signedout":t={type:"text",id:"ad-settings-breadcrumb-id",text:a.adSettings};break;case"personalized-ad-settings":t={type:"text",id:"ad-settings-breadcrumb-id",text:a.adSettingsNew};break;case"third-party-ads":t={type:"text",id:"third-party-ad-settings-breadcrumb-id",text:a.thirdPartyAds};break;case"download-data":t={type:"text",id:"download-data-breadcrumb-id",text:a.downloadData};break;case"office-settings":t={type:"text",id:"office-settings-breadcrumb-id",text:a.officeSettings};break;default:t={}}var l={id:"overview-breadcrumb-id",text:a.overview},u=[My(My({},l),{},o?{type:"route",to:one}:{type:"hyperlink",href:one})];n&&u.push(t);var d="".concat(c.areaPrefix,".ad-free-outlook.cta"),p={iconName:"OutlookLogoInverse",infoText:s.infoText,"aria-label":s.ctaText,"data-bi-id":d,id:d,ctaText:s.ctaText,ctaUrl:s.ctaUrl};return ol().createElement(ol().Fragment,null,ol().createElement(AA,null,ol().createElement(eP,{breadcrumbTitleProps:{items:u,ariaLabel:a.label,dataBiPrefix:c.areaPrefix,pageArea:c.areaPrefix,overflowAriaLabel:a.overflowLabel,isIncludingCurrentPage:!0}}),"personalized-ad-settings"===n||"ad-settings-signedout"===n?ol().createElement(aP,p):null))},mre=function(){var e=Yte().adSettingsContent,t=e.underage,n=e.titleNew;return ol().createElement(ol().Fragment,null,ol().createElement(CA,{message:n,ariaLive:"assertive"}),ol().createElement(fre,{subPage:Mne}),ol().createElement(jw,{childrenGap:"20px",id:"cannot-manage-view"},ol().createElement(tO,{backgroundType:"card",bodyText:t.whyAds.content,"data-testid":"Why Ads Feature",featureHeading:{tag:"h2",variant:"statusHeader",text:t.whyAds.title},height:"small",imageProps:t.whyAds.image,layoutType:"2/3"}),ol().createElement(tO,{backgroundType:"card",bodyText:t.showAds.content,"data-testid":"Show Ads Feature",featureHeading:{tag:"h2",variant:"statusHeader",text:t.showAds.title},height:"small",imageProps:t.showAds.image,layoutType:"2/3"}),ol().createElement(tO,{backgroundType:"card",bodyText:t.whatAds.content,"data-testid":"What Ads Feature",featureHeading:{tag:"h2",variant:"statusHeader",text:t.whatAds.title},height:"small",imageProps:t.whatAds.image,layoutType:"2/3"})))},gre={};function vre(t,n,r){var o;return(0,e.__awaiter)(this,void 0,void 0,(function(){var i,a,s=this;return(0,e.__generator)(this,(function(c){switch(c.label){case 0:return i="getSurvey-".concat(t,"-").concat(n),[4,sh(gre,i,(function(){return(0,e.__awaiter)(s,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){return[2,Op("/survey/api/surveyDefinition",{partnerName:"MeePortal",operation:"Survey.GetSurveyDefinition"},{params:{surveyItemId:t}}).then((function(e){var t,n=null===(t=null===e||void 0===e?void 0:e.data)||void 0===t?void 0:t.content;return r&&n&&r(n),e}))]}))}))}))];case 1:return a=c.sent(),[2,null===(o=a.data)||void 0===o?void 0:o.content]}}))}))}var yre,bre=function(e,t,n){window.OfficeBrowserFeedback.initOptions={appId:2293,stylesUrl:"/node_modules/@ms-ofb/officebrowserfeedback/styles/officebrowserfeedback.css",intlUrl:"/node_modules/@ms-ofb/officebrowserfeedback/intl/",environment:0,locale:e,primaryColour:t.palette.themePrimary,secondaryColour:t.palette.neutralSecondary,userEmail:n}},_re=function(){var t=rb();return(0,rl.useCallback)((function(n,r,o,i){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var a,s;return(0,e.__generator)(this,(function(c){switch(c.label){case 0:return a=[],[4,vre(n,r,i)];case 1:return(s=c.sent())&&(o&&(s=(0,e.__assign)((0,e.__assign)({},s),{AdditionalDataRequested:["EmailAddress"]})),a.push(s)),window.OfficeBrowserFeedback&&a.length>0&&(bre(r,t,o),window.OfficeBrowserFeedback.floodgate.initOptions={autoDismiss:3,campaignDefinitions:a},window.OfficeBrowserFeedback.floodgate.initialize().then((function(){return window.OfficeBrowserFeedback.floodgate.start()})).then((function(){return window.OfficeBrowserFeedback.floodgate.getEngine().getActivityListener().logActivity("NpsClick")}))),[2]}}))}))}),[t])},Cre={},wre=function(t,n,r){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var o;return(0,e.__generator)(this,(function(i){return o="getInterceptCoreDefinition-".concat(t,"-").concat(n,"-").concat(r),[2,sh(Cre,o,(function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var r,o;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return"/survey/api/intercept-core-definition",[4,Op("/survey/api/intercept-core-definition",{partnerName:"MeePortal",operation:"Survey.GetCustomSurveyDefinition"},{params:{interceptCmsArea:t,interceptCmsItemId:n}})];case 1:return r=e.sent(),[2,null===(o=r.data)||void 0===o?void 0:o.content]}}))}))}))]}))}))},Ere=function(e){return{CampaignId:e.CampaignId,StartTimeUtc:e.StartTimeUtc,EndTimeUtc:e.EndTimeUtc,GovernedChannelType:1,Scope:{Type:0},NominationScheme:{Type:0,PercentageNumerator:100,PercentageDenominator:100,NominationPeriod:{Type:0,IntervalSeconds:120},CooldownPeriod:{Type:0,IntervalSeconds:240},FallbackSurveyDurationSeconds:120},SurveyTemplate:{Type:5,ActivationEvent:{Type:1,Sequence:[{Type:0,Activity:"InterceptClick",Count:1,IsAggregate:!0}]},Content:{Intercept:{Title:e.Title,Question:e.Question,Url:e.Url}}}}},xre="Privacy.getSurvey",Sre=function(){var e=mte(),t=e.language,n=e.selfRights,r=up(),o=_re();return(0,rl.useEffect)((function(){var e=setTimeout(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Xp("PrivBaselineSurvey")&&n.canManage){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,r({name:xre,status:"first-load"}),e.next=6,o("privacy-baseline-survey",t);case 6:r({name:xre,status:"finished"}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),r({name:xre,status:"failed",error:e.t0});case 12:case"end":return e.stop()}}),e,null,[[2,9]])}))),2e4);return function(){return clearTimeout(e)}}),[t,r,o]),ol().createElement(hp,{operationData:{componentName:"PrivacyBaselineSurvey",operationName:xre},finishedView:ol().createElement(ol().Fragment,null)})},kre="Privacy.getSurvey",Tre=function(){var e=mte(),t=e.language,n=e.selfRights,r=up(),o=_re(),i=Xp("PrivacySurvey");return(0,rl.useEffect)((function(){if(i&&n.canManage){var e=setTimeout(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r({name:kre,status:"first-load"}),e.next=4,o("privacy-vertical-survey",t);case 4:r({name:kre,status:"finished"}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),r({name:kre,status:"failed",error:e.t0});case 10:case"end":return e.stop()}}),e,null,[[0,7]])}))),5e3);return function(){return clearTimeout(e)}}}),[i,t,n,r,o]),ol().createElement(hp,{operationData:{componentName:"survey",operationName:kre},finishedView:ol().createElement(ol().Fragment,null)})},Ire=function(e){var t=e.signedIn,n=mte(),r=Yte().adSettingsContent;return ol().createElement(jw,{id:"ad-settings"},t&&!n.selfRights.canManageAdSettings?ol().createElement(mre,null):ol().createElement(ol().Fragment,null,ol().createElement(CA,{message:r.titleNew,ariaLive:"assertive"}),ol().createElement(jw,null,ol().createElement(fre,{subPage:t?Mne:Nne,useInAppNavigation:t}),ol().createElement(are,{signedIn:t})),ol().createElement(pre,null)),ol().createElement(hre,{signedIn:t}),ol().createElement(Tre,null),ol().createElement(Sre,null))},Are="getArchivesList",Pre=function(e){var t=Yte().exportContent,n=up(),r="LoadArchives";ll(vte(jee().mark((function t(){return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n({name:r,status:"first-load"}),t.next=3,e.getArchives().then((function(){n({name:r,status:"finished"})})).catch((function(e){var t;if(401===(null===(t=e.response)||void 0===t?void 0:t.status))return n({name:r,status:"finished"}),void window.location.reload();n({name:r,status:"failed"})}));case 3:case"end":return t.stop()}}),t)}))));var o=ol().createElement(fN,{shimmerLineProps:[{width:"95%"}]}),i=ol().createElement(UN,{variant:"ThreeThreeThreeThree",columns:[o,o,o,o]});return ol().createElement(jw,{childrenGap:5,padding:"12px 0 25px 0"},ol().createElement(kw,{block:!0,tag:"h2",variant:"paneTitle"},t.archiveHeader),ol().createElement(jw,{childrenGap:12},ol().createElement(Jw,null,t.archiveDescription),ol().createElement(Ob,{operationData:{operationName:r,componentName:Are},firstLoadView:ol().createElement(FO,{isAlwaysExpanded:!0,roundedCorners:!0,shadow:!0},[i,i]),finishedView:0===e.archiveList.data.length?ol().createElement(Qx,{textWithTokens:t.archiveColdStateRichText.text,tokensAndValues:{"create-archive":ol().createElement(Jw,{variant:"headerText"},t.archiveColdStateRichText.createArchiveToken)}}):ol().createElement(FO,{isAlwaysExpanded:!0,roundedCorners:!0,shadow:!0},e.archiveList.data.map((function(e,t){return ol().createElement(UN,Object.assign({},e,{key:"archive-list-elem-".concat(t)}))}))),failedView:ol().createElement(Jw,null,t.getArchiveListFailed)})))},Dre="loadArchives",Rre=wte([yte.Conflict]),Mre=function(t){return void 0===t&&(t=!1),(0,e.__awaiter)(void 0,void 0,void 0,(function(){var n;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ite(t,Dre,"".concat(Dte,"/export/archives"),"".concat(Mte,".GETEXPORTHISTORY"))];case 1:return(n=e.sent()).archives.some((function(e){return!e.isComplete||e.isFailed}))&&Ate(Dre),[2,Nre(n)]}}))}))},Nre=function(e){return{archives:e.archives.map((function(e){return{exportId:(t=e).exportId,submitDate:new Date(t.submitDate),isComplete:t.isComplete,dataTypes:t.dataTypes,fileSize:t.fileSize,fileSizeUnitCmsId:t.fileSizeUnitCmsId,downloadUri:t.downloadUri,expiryDate:new Date(t.expiryDate),isFailed:t.isFailed,internalErrorMessage:t.internalErrorMessage,exportType:t.exportType,exportArchivesDeleteStatus:t.exportArchivesDeleteStatus};var t}))}},Lre=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Dte,"/export/archives"),"".concat(Mte,".CREATEARCHIVE"),t,{},{overrideRequestQosData:Rre})];case 1:return e.sent(),[2]}}))}))},Ore=function(t,n){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,kte("".concat(Dte,"/export/archives?exportId=").concat(t,"&exportType=").concat(n),"".concat(Mte,".DELETEARCHIVE"),{data:{exportId:t,exportType:n}})];case 1:return e.sent(),[2]}}))}))},Fre=function(e){cl((function(){e.setDataTypeStates({usage:!0,browse:!0,location:!0,search:!0})})),ll((function(){e.setDataTypeStates({usage:!0,browse:!0,location:!0,search:!0})}));var t=Yte().exportContent.createDialog,n=[];return Qte.forEach((function(r){n.push({"aria-label":t.dataTypesAriaLabels[r],checked:e.dataTypeStates[r],"data-bi-id":"".concat(hne,".").concat(r,"-checkbox"),label:t.dataTypes[r],onChange:function(){!function(t){var n={usage:e.dataTypeStates.usage,browse:e.dataTypeStates.browse,location:e.dataTypeStates.location,search:e.dataTypeStates.search};n[t]=!e.dataTypeStates[t],e.setDataTypeStates(n)}(r)}})})),ol().createElement(jw,{childrenGap:16},n.map((function(e,t){return ol().createElement(lD,Object.assign({},e,{key:"archive-dialog-checkbox-".concat(t)}))})),ol().createElement(jw,{maxWidth:"428px"},ol().createElement(Jw,null,t.description)))},Bre=function(e){var t=Yte().exportContent,n=up(),r="PostArchivesInDialog",o={dataTypeStates:e.dataTypeState,setDataTypeStates:e.setDataTypeState},i=Qte.some((function(t){return e.dataTypeState[t]})),a=function(){hu(),setTimeout((function(){e.setDialogState(!1)}))},s=function(){var t=vte(jee().mark((function t(){var o,i,a;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n({name:r,status:"updating"}),o=Qte.filter((function(t){return e.dataTypeState[t]})),i=Dy({},jne,o.join(";")),t.prev=3,t.next=6,e.makePostCall();case 6:n({name:r,status:"finished"}),fu({data:i}),t.next=19;break;case 10:if(t.prev=10,t.t0=t.catch(3),401!==(null===(a=t.t0.response)||void 0===a?void 0:a.status)){t.next=17;break}return n({name:r,status:"finished"}),hu({data:"scenario canceled due to reload on 401"}),window.location.reload(),t.abrupt("return");case 17:n({name:r,status:"failed",error:t.t0}),fu({error:"CreateFailure",data:i});case 19:setTimeout((function(){e.setDialogState(!1)}));case 20:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(){return t.apply(this,arguments)}}(),c={title:t.createDialog.header,subText:t.createDialog.selectData,dialogFooterProps:{buttonPrimary:{id:"create-archive-dialog-button",onClick:s,text:t.createDialog.createButton,"aria-label":t.createDialog.createButtonAriaLabel,"data-bi-id":"".concat(hne,".create-archive"),disabled:!i},buttonSecondary:{onClick:function(){a()},text:t.createDialog.cancelButton,"aria-label":t.createDialog.cancelButtonAriaLabel,"data-bi-id":"".concat(hne,".cancel")}}},l=My(My({},c),{},{isOpen:e.showDialog,onDismiss:function(){a()},closeButton:{"data-bi-id":"close","aria-label":t.createDialog.closeButtonAriaLabel},operationData:{progressViewOperationData:{operationName:r,componentName:"createArchiveDialog"},errorDialogProps:c}});return ol().createElement(oB,l,ol().createElement(jw,{childrenGap:24},ol().createElement(qw,null,ol().createElement(Fre,o))))},Hre=function(e){var t=e.showDialog,n=e.makeDeleteCall,r=e.setDialogState,o=Yte().exportContent.deleteDialog,i=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=function(){r(!1),hu()},s={buttonPrimary:{onClick:function(){i()},text:o.deleteButton,"aria-label":o.deleteButtonAriaLabel,"data-bi-id":"".concat(fne,".delete-archive")},buttonSecondary:{onClick:function(){a()},text:o.cancelButton,"aria-label":o.cancelButtonAriaLabel,"data-bi-id":"".concat(fne,".cancel")}},c={title:o.header,isOpen:t,onDismiss:function(){a()},closeButton:{"data-bi-id":"".concat(fne,".close"),"aria-label":o.closeButtonAriaLabel},dialogFooterProps:s};return ol().createElement(oB,c,ol().createElement(jw,null,ol().createElement(Jw,{variant:"bodyPrimaryText"},o.description)))},zre=function(e){var t,n=Yte().exportContent,r=function(){e.setDialogErrorState({dialogState:!1,dialogInFocus:null})};if("in-progress"===e.dialogErrorState.dialogInFocus)t={isOpen:e.dialogErrorState.dialogState,onDismiss:r,title:n.inProgressDialog.header,subText:n.inProgressDialog.description,closeButton:{"data-bi-id":"close","aria-label":n.inProgressDialog.closeAriaLabel},dialogFooterProps:{buttonPrimary:{id:"archive-in-progress-dialog-close-button",onClick:r,text:n.inProgressDialog.button,"aria-label":n.inProgressDialog.closeAriaLabel,"data-bi-id":"".concat(hne,".in-progress.cancel")}}};else if("too-many-requests"===e.dialogErrorState.dialogInFocus)t={isOpen:e.dialogErrorState.dialogState,onDismiss:r,title:n.timeoutDialog.header,subText:n.timeoutDialog.description,closeButton:{"data-bi-id":"close","aria-label":n.timeoutDialog.closeAriaLabel},dialogFooterProps:{buttonPrimary:{id:"too-many-requests-dialog-close-button",onClick:r,text:n.timeoutDialog.button,"aria-label":n.timeoutDialog.closeAriaLabel,"data-bi-id":"".concat(hne,".too-many-requests.close")}}};else{if("create-archive-failed"!==e.dialogErrorState.dialogInFocus)return null;t={isOpen:e.dialogErrorState.dialogState,onDismiss:r,title:n.createFailedDialog.header,subText:n.createFailedDialog.description,closeButton:{"data-bi-id":"close","aria-label":n.createFailedDialog.closeAriaLabel},dialogFooterProps:{buttonPrimary:{id:"create-archive-failed-dialog-close-button",onClick:r,text:n.createFailedDialog.button,"aria-label":n.createFailedDialog.closeAriaLabel,"data-bi-id":"".concat(hne,".failed.close")}}}}return ol().createElement(oB,t)},Ure={browse:"Globe",location:"MapPin",search:"Search",usage:"BoardActivityFeed"},Vre=function(e){var t,n,r,o=e.archive,i=e.index,a=e.exportContent,s=e.isArchiveFailed,c=e.viewport,l=e.setDeleteDialogState,u=e.setDeleteExportParams,d=o.dataTypes.filter((function(e){return"other"!==e})),p=d.map((function(e){return function(e,t){var n=Ure[e];return{"aria-label":"".concat(e,"-history-datatype-callout"),children:t[e],calloutTrigger:"IconButton",calloutPosition:"top-auto",calloutTriggerProps:{"aria-label":"".concat(e,"-history-datatype-callout"),"data-bi-id":"".concat(pne,".").concat(n,"-callout"),iconName:n,iconColor:"black"}}}(e,a.createDialog.dataTypes)})),h="".concat(o.fileSize," ").concat(null===(t=o.fileSizeUnitCmsId)||void 0===t?void 0:t.toUpperCase()," \u2022 ").concat(a.archiveExpiration," ").concat((n=o.expiryDate,hS(n).toLocaleDateString(r||aS(),{year:"numeric",month:"numeric",day:"numeric"}))),f=Xp("PrivTmlnInternalTest")?o.exportId:null,m="download-archive-button-".concat(i),g="disabled-download-archive-button-".concat(i),v={children:o.isComplete?lS(o.submitDate):a.archivePending,variant:"bodyPrimaryText",weightOverride:o.isComplete?"semi-bold":void 0},y={children:Xp("PrivTmlnInternalTest")?f:null,variant:"bodySecondaryText"},b={children:h,variant:"bodySecondaryText"},_={children:a.archiveFailed,variant:"errorBlockIcon"},C={children:a.archiveDeleting,variant:"bodySecondaryText"},w={children:d.join(", "),variant:"bodyPrimaryText"},E=ol().createElement(gN,{textElements:[v,y]}),x=ol().createElement(gN,{textElements:[v,w,y]}),S=ol().createElement($P,{calloutProps:p}),k=ol().createElement(rN,{textElements:[C],contentType:"text",columnAlign:"end"}),T=ol().createElement(QI,{actionButtonProps:[{"aria-label":a.archiveDownloadAriaLabel,"data-bi-id":"".concat(pne,".download"),iconName:"Download",buttonColor:"themePrimary",onClick:o.isComplete?function(){window.location.href=o.downloadUri}:function(){},text:a.archiveDownload,disabled:!o.isComplete},{"aria-label":a.archiveDeleteButtonAriaLabel,"data-bi-id":"".concat(pne,".delete"),iconName:"Delete",buttonColor:"themePrimary",onClick:function(){du({area:kne,scenario:"DeleteArchive",step:"DeleteArchiveConfirm"}),u({exportId:o.exportId,exportType:o.exportType}),l(!0)},text:a.archiveDeleteButton,disabled:!o.isComplete}],contentType:"none",disabled:s(o)});return o.isComplete?s(o)?"m"===c||"s"===c?{id:g,variant:"Twelve",columns:[ol().createElement(gN,{textElements:[v,y,_]})]}:{id:g,variant:"ThreeThreeSix",columns:[E,S,ol().createElement(gN,{textElements:[_]})]}:o.isArchiveDeleting?"m"===c||"s"===c?{id:g,variant:"EightFour",columns:[ol().createElement(gN,{textElements:[v,y,C]}),S]}:{id:g,variant:"ThreeThreeThreeThree",columns:[E,S,ol().createElement(nN,null),k]}:"m"===c?{id:m,variant:"SixFourTwo",columns:[ol().createElement(gN,{textElements:[v,y,b]}),S,T]}:"s"===c?{id:m,variant:"EightFour",columns:[ol().createElement(gN,{textElements:[v,w,y,b]}),T]}:{id:m,variant:"ThreeThreeThreeThree",columns:[E,S,ol().createElement(gN,{textElements:[b]}),T]}:"m"===c?{id:g,variant:"SixFourTwo",columns:[E,S,T]}:"s"===c?{id:g,variant:"EightFour",columns:[x,T]}:{id:g,variant:"ThreeThreeThreeThree",columns:[E,S,ol().createElement(nN,null),T]}},jre=function(e){var t=Yte().exportContent;return ol().createElement(tO,{backgroundType:"flat",bodyText:{textWithTokens:"{0}",tokensAndValues:{0:ol().createElement(jw,{childrenGap:10},ol().createElement(Jw,{variant:"bodyPrimaryText"},t.introDescription.first),ol().createElement(Jw,{variant:"bodyPrimaryText"},t.introDescription.second))}},ctaProps:[{actionProps:{id:"create-archive-feature-button","aria-label":t.createButtonAriaLabel,"data-bi-id":"".concat(dne,".create-archive"),kind:"button",onClick:function(){du({area:kne,scenario:"CreateArchive",step:"CreateConfirm"}),e.setCreateDialogState(!0)},text:t.createButton,type:"primary"}}],height:"small",imageProps:{alt:t.introImage.alt,src:t.introImage.src},layoutType:"2/3"})},qre=function(){var e=Yte().exportContent,t=e.otherArchivesContent,n=t.skype?[t.onedrive,t.m365,t.teams,t.skype]:[t.onedrive,t.m365,t.teams],r=[];return n.forEach((function(e){r.push({variant:"EightFour",columns:[ol().createElement(bN,{listItemMediaProps:{image:{src:e.icon.src,imageType:"image"},size:"sm",height:"52px"},title:e.header,titleTextVariant:"headerText",subtitles:[{children:e.description,variant:"bodySecondaryText"}]}),ol().createElement(QI,{actionButtonProps:[{"aria-label":e.header,"data-bi-id":"".concat(dne,".").concat(e.header),iconName:"OpenInNewWindow",onClick:function(){return window.open(e.link.url,"_blank")},text:""}],contentType:"none"})],onClickProps:{onClick:function(){return window.open(e.link.url,"_blank")},"aria-label":e.header,"data-bi-id":"".concat(dne,".").concat(e.header),pageArea:"Privacy"},id:e.header})})),ol().createElement(jw,{childrenGap:12,padding:"15px 0px"},ol().createElement(kw,{block:!0,tag:"h1",variant:"paneTitle"},e.otherArchivesHeader),ol().createElement(FO,{isAlwaysExpanded:!0,roundedCorners:!0,shadow:!0},r.map((function(e){return ol().createElement(UN,Object.assign({},e,{key:e.id}))}))))},Wre=function(){var e=Yte().exportContent,t=eY((0,rl.useState)({data:[]}),2),n=t[0],r=t[1],o=eY((0,rl.useState)({data:[]}),2),i=o[0],a=o[1],s=eY((0,rl.useState)(!1),2),c=s[0],l=s[1],u=eY((0,rl.useState)({dialogState:!1,dialogInFocus:null}),2),d=u[0],p=u[1],h=eY((0,rl.useState)(!1),2),f=h[0],m=h[1],g=eY((0,rl.useState)({exportId:"",exportType:"Quick"}),2),v=g[0],y=g[1],b=AC(),_=function(e){return e.isFailed||!e.downloadUri},C=function(t){var o=[],i=!1;return t.forEach((function(t,n){t.isComplete||(i=!0),o.push(Vre({archive:t,index:n,exportContent:e,isArchiveFailed:_,viewport:b,setDeleteDialogState:m,setDeleteExportParams:y}))})),function(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}(o,n.data)||r({data:o}),i},w=function(){var e=vte(jee().mark((function e(){var t,n=arguments;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]&&n[0],!1,e.next=4,Mre(t).then((function(e){var t=e.archives.filter((function(e){return"deleteInProgress"!==e.exportArchivesDeleteStatus})).slice().reverse();a({data:t}),C(t)&&setTimeout(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w();case 2:case"end":return e.stop()}}),e)}))),3e4)}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=eY((0,rl.useState)({usage:!1,browse:!1,location:!1,search:!1}),2),x=E[0],S=E[1],k=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],Qte.forEach((function(e){x[e]&&t.push(e)})),0!==t.length){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,Lre({dataTypes:t}).then(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w(!0);case 2:case"end":return e.stop()}}),e)})))).catch((function(e){var t,n;if(409===(null===(t=e.response)||void 0===t?void 0:t.status))setTimeout((function(){p({dialogState:!0,dialogInFocus:"in-progress"})}));else{if(429!==(null===(n=e.response)||void 0===n?void 0:n.status))return setTimeout((function(){p({dialogState:!0,dialogInFocus:"create-archive-failed"})})),Promise.reject(e);setTimeout((function(){p({dialogState:!0,dialogInFocus:"too-many-requests"})}))}}));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(){var e=vte(jee().mark((function e(){var t,n,r,o;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=v.exportId,n=i.data.filter((function(e){return e.exportId===t})),r=i.data.indexOf(n[0]),i.data[r].isArchiveDeleting=!0,a({data:i.data}),m(!1),C(i.data),o={dataTypes:i.data[r].dataTypes.join(",")},e.next=10,Ore(v.exportId,v.exportType).then((function(){var e=i.data.filter((function(e){return e.exportId!==t}));C(e),a({data:e}),L(I),fu({data:o})})).catch((function(e){return i.data[r].isArchiveDeleting=!1,a({data:i.data}),C(i.data),L(A),fu({data:o,error:"DeleteArchiveFailure"}),Promise.reject(e)}));case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),I=(0,rl.useRef)(null),A=(0,rl.useRef)(null),P=e.deleteNotificationBar.successMessage,D=e.deleteNotificationBar.failedMessage,R=e.deleteNotificationBar.closeButtonAriaLabel,M={message:P,ariaMessage:P,closeButton:{"aria-label":R,"data-bi-id":"".concat(pne,".delete-success-notification-message.close"),id:"".concat(pne,".delete-success-notification-message.close")},iconName:"Completed",notificationBarType:"info"},N={message:D,ariaMessage:D,closeButton:{"aria-label":R,"data-bi-id":"".concat(pne,".delete-failed-notification-message.close"),id:"".concat(pne,".delete-failed-notification-message.close")},iconName:"Error",notificationBarType:"error"},L=function(e){e.current.showNotificationBar()};return ol().createElement(ol().Fragment,null,ol().createElement(CA,{message:e.title,ariaLive:"assertive"}),ol().createElement(fre,{subPage:Rne}),ol().createElement(jre,{setCreateDialogState:l}),ol().createElement(Bre,{showDialog:c,setDialogState:l,makePostCall:k,dataTypeState:x,setDataTypeState:S}),ol().createElement(zre,{dialogErrorState:d,setDialogErrorState:p}),ol().createElement(Pre,{archiveList:n,getArchives:w}),ol().createElement(Hre,{showDialog:f,makeDeleteCall:T,setDialogState:m}),ol().createElement(qre,null),ol().createElement(vU,Object.assign({ref:I},M)),ol().createElement(vU,Object.assign({ref:A},N)),ol().createElement(Tre,null),ol().createElement(Sre,null))},Gre=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Dte,"/submit-location-opt-out"),"".concat(Mte,".SUBMITLOCATIONOPTOUT"),t)];case 1:return e.sent(),[2]}}))}))},Kre="/api/hip/challenge",Yre=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return"audio"!==t?[3,2]:[4,Op("".concat(Kre,"/audio"),{operation:"GLOBAL.HIP.GETCHALLENGE.AUDIO"})];case 1:case 3:return[2,e.sent().data];case 2:return[4,Op("".concat(Kre,"/visual"),{operation:"GLOBAL.HIP.GETCHALLENGE.VISUAL"})]}}))}))},Qre="macAddressOptOut.captcha",Xre="macAddressOptOut.captcha-operation-name",Jre=function(){var t="MacAddressOptOut.submitOptOutRequest",n=function(t){var n=(0,rl.useState)("visual"),r=n[0],o=n[1],i=(0,rl.useState)({challengeSource:"",context:{}}),a=i[0],s=i[1],c=up(),l=function(n){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var r,i,a;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,5,,6]),c({name:t.operationName,status:"first-load"}),t.getHipChallenge?[4,t.getHipChallenge(n)]:[3,2];case 1:return i=e.sent(),[3,4];case 2:return[4,Yre(n)];case 3:i=e.sent(),e.label=4;case 4:return r=i,o(n),s(r),c({name:t.operationName,status:"finished"}),[3,6];case 5:return a=e.sent(),c({name:t.operationName,status:"update-failed",error:a}),[3,6];case 6:return[2]}}))}))};return(0,rl.useEffect)((function(){l(r)}),[]),{mode:r,challenge:a,getNewChallenge:l}}({operationName:Xre}),r=Yte().macAddressOptOutContent,o=up(),i=eY((0,rl.useState)(""),2),a=i[0],s=i[1],c=eY((0,rl.useState)(""),2),l=c[0],u=c[1],d=eY((0,rl.useState)(!1),2),p=d[0],h=d[1],f=eY((0,rl.useState)(r.hipChallenge.title.captchaVisualTitle),2),m=f[0],g=f[1],v=eY((0,rl.useState)(""),2),y=v[0],b=v[1],_=p||""===a?void 0:r.macAddressErrorMessage,C=function(e){u(e)},w={operationData:{componentName:Qre,operationName:Xre},variant:{alignment:"start"},mode:n.mode,challengeSource:n.challenge.challengeSource,userSolution:l,challengeProps:{noAudioSupportMessage:r.hipChallenge.challengeBase.noAudioSupportMessage,cannotLoadChallengeMessage:r.hipChallenge.challengeBase.cannotLoadChallengeMessage,switchToVisualWhenAudioFailedButtonProps:{"aria-label":r.hipChallenge.challengeBase.switchToVisualWhenAudioFailedButtonAriaLabel,"data-bi-id":"".concat(Ene,".audio-failed.switch-to-visual"),text:r.hipChallenge.challengeBase.switchToVisualWhenAudioFailedButtonText},playAudioButtonProps:{"aria-label":r.hipChallenge.challengeBase.playAudioButtonAriaLabel,"data-bi-id":"".concat(Ene,".play-audio")}},controlsProps:{refreshChallengeButtonProps:{"aria-label":r.hipChallenge.controls.refreshChallengeButtonAriaLabel,"data-bi-id":"".concat(Ene,".refresh-challenge"),text:r.hipChallenge.controls.refreshChallengeButtonText},switchToAudioButtonProps:{"aria-label":r.hipChallenge.controls.switchToAudioButtonAriaLabel,"data-bi-id":"".concat(Ene,".switch-to-audio"),text:r.hipChallenge.controls.switchToAudioButtonText},switchToVisualButtonProps:{"aria-label":r.hipChallenge.controls.switchToVisualButtonAriaLabel,"data-bi-id":"".concat(Ene,".switch-to-visual"),text:r.hipChallenge.controls.switchToVisualButtonText}},titleProps:{children:"visual"===n.mode?r.hipChallenge.title.captchaVisualTitle:r.hipChallenge.title.captchaAudioTitle},solutionInputProps:{playAudioInstruction:r.hipChallenge.solutionInput.playAudioInstruction,audioPlaceholder:r.hipChallenge.solutionInput.captchaInputPlaceholder,visualPlaceholder:r.hipChallenge.solutionInput.captchaInputPlaceholder,"aria-label":m,"data-bi-id":"".concat(Ene,".solution-input"),id:"captcha-user-solution"},onNewChallengeRequested:function(e){g("audio"===e?r.audioCaptchaInputAriaLabel:r.hipChallenge.title.captchaVisualTitle),null===C||void 0===C||C(""),n.getNewChallenge(e)},onSolutionChanged:C,audioCaptchaLoadedMessage:r.audioCaptchaReloadMessage,visualCaptchaLoadedMessage:r.visualCaptchaReloadMessage},E=(0,rl.useRef)(null),x=(0,rl.useRef)(null),S=function(e){e.current.showNotificationBar()},k={message:r.successNotificationMessage,ariaMessage:r.successNotificationMessage,closeButton:{"aria-label":r.closeButtonAriaLabel,"data-bi-id":"".concat(Ene,".success-message.close"),id:"".concat(Ene,".success-message.close")},iconName:"Completed",notificationBarType:"info"},T={message:r.genericErrorNotificationMessage,ariaMessage:r.genericErrorNotificationMessage,closeButton:{"aria-label":r.closeButtonAriaLabel,"data-bi-id":"".concat(Ene,".generic-error-message.close"),id:"".concat(Ene,".generic-error-message.close")},iconName:"Error",notificationBarType:"error"},I=function(){var e=vte(jee().mark((function e(){var i;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return b(""),i={HipSolution:l,HipContext:n.challenge.context,MacAddress:a},e.prev=2,o({name:t,status:"updating"}),e.next=6,Gre(i);case 6:o({name:t,status:"finished"}),S(E),s(""),h(!1),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),e.t0.response.data&&"invalidCaptcha"===e.t0.response.data.error?(o({name:t,status:"finished"}),b(r.captchaInputErrorMessage)):e.t0.response.data&&"nochallengesession"===e.t0.response.data.error?(o({name:t,status:"finished"}),S(x)):(o({name:t,status:"failed",error:e.t0}),S(x));case 15:return e.prev=15,n.getNewChallenge(n.mode),u(""),e.finish(15);case 19:case"end":return e.stop()}}),e,null,[[2,12,15,19]])})));return function(){return e.apply(this,arguments)}}();return ol().createElement(ol().Fragment,null,ol().createElement(CA,{message:r.pageHeader,ariaLive:"assertive"}),ol().createElement(jw,{childrenGap:12,padding:"36px 0px 0px 0px"},ol().createElement(kw,{tag:"h1",variant:"pageHeader",children:r.pageHeader}),ol().createElement(jw,{childrenGap:24},ol().createElement(Jw,{children:r.bodyTextFirst}),ol().createElement(Jw,{children:r.bodyTextSecond}),ol().createElement(Jw,{children:r.bodyTextThird}),ol().createElement(jw,{maxWidth:"300px"},ol().createElement(zz,{label:r.textInputLabel,placeholder:r.textInputPlaceholder,errorMessage:_,value:a,onChange:function(e,t){s(t||""),!function(e){var t=new RegExp("^([0-9A-Fa-f]{2}[:\\-.]{1}){5}([0-9A-Fa-f]{2})$");return!(!e||!t.test(e))}(null!==t&&void 0!==t?t:"")?h(!1):h(!0)},"data-bi-id":"".concat(Ene,".mac-address-text-input"),"aria-label":r.textInputLabel,id:"address-text-input"})),ol().createElement(jw,{maxWidth:"300px",id:"hip-challenge"},ol().createElement(Vz,w),y&&ol().createElement(Jw,{variant:"errorBlockIcon",id:"captcha-input-error-message"},y),y&&ol().createElement(CA,{message:y,ariaLive:"assertive"})),ol().createElement(jw,{maxWidth:"150px"},ol().createElement(DT,{operationData:{progressViewOperationData:{defaultState:"finished",componentName:"macAddressOptOut.submit",operationName:t}},text:r.buttonText,"aria-label":r.buttonAriaLabel,"data-bi-id":"".concat(Ene,".submit"),type:"primary",onClick:I,disabled:!p||!l,id:"submit-address-button"})))),ol().createElement(vU,Object.assign({ref:E},k)),ol().createElement(vU,Object.assign({ref:x},T)),ol().createElement(Tre,null),ol().createElement(Sre,null))},$re="PRIVACY",Zre="ROAMINGAPI",eoe="OfficeSettings",toe=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return Ate(eoe),[4,Ste("".concat(Dte,"/office/roaming-settings/diagnostic"),"".concat($re,".").concat(Zre,".SETDIAGNOSTICLEVEL"),{isEnabled:t})];case 1:return e.sent(),[2]}}))}))},noe=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return Ate(eoe),[4,Ste("".concat(Dte,"/office/roaming-settings/analyze"),"".concat($re,".").concat(Zre,".SETANALYZECONTENT"),{isEnabled:t})];case 1:return e.sent(),[2]}}))}))},roe=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return Ate(eoe),[4,Ste("".concat(Dte,"/office/roaming-settings/download"),"".concat($re,".").concat(Zre,".SETDOWNLOADCONTENT"),{isEnabled:t})];case 1:return e.sent(),[2]}}))}))},ooe=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return Ate(eoe),[4,Ste("".concat(Dte,"/office/roaming-settings/offers"),"".concat($re,".").concat(Zre,".SETOFFERSCONTENT"),{isEnabled:t})];case 1:return e.sent(),[2]}}))}))},ioe=1270,aoe=1274,soe=1276,coe=1324,loe={DefaultRequired:0,Required:1,OptionalRequired:2,EnterpriseOnly:3},uoe={DefaultEnabled:0,Enabled:1,Disabled:2},doe={DefaultEnabled:0,Enabled:1,Disabled:2},poe={DefaultDisabled:0,Enabled:1,Disabled:2},hoe="privacy.safety-checkup",foe="".concat(hoe,".office-settings.drawers"),moe={accountInfo:0,authenticatorInfo:1,safeBrowsing:2,moreSafetyResources:3},goe={accountInfo:0,authenticatorInfo:1,safeBrowsing:2,moreSafetyResources:3,officeSettings:4,roster:5},voe=function(e){var t=Object.keys(goe).find((function(t){return goe[t]===e}));return t||"unknownView"},yoe=function(e,t){return t?{padding:"0px 40px",borderTop:"1px solid ".concat(e),borderBottom:"1px solid ".concat(e)}:{padding:"0px 20px 12px 4px",borderBottom:"1px solid ".concat(e)}},boe=function(e){return{borderBottom:"1px solid ".concat(e)}},_oe={hasRecoveryEmail:"unknown",hasRecoveryPhone:"unknown",hasAuthenticator:"unknown",hasEdge:"unknown"},Coe=ol().createContext({currentStep:0,setCurrentStep:function(){},totalSteps:Object.entries(goe).length-2,goToNext:function(e){},visitedSteps:new Set,addToVisited:function(e){},userProofStates:_oe,setUserProofStates:function(){},resetStates:function(){},isFlowEnded:!1,setIsFlowEnded:function(){},newOfficeSettingsUser:!1,setNewOfficeSettingsUser:function(){}}),woe=function(){return(0,rl.useContext)(Coe)},Eoe=function(e){var t=e.children,n=eY((0,rl.useState)(0),2),r=n[0],o=n[1],i=eY((0,rl.useState)(Object.entries(goe).length-1),1)[0],a=eY((0,rl.useState)(!1),2),s=a[0],c=a[1],l=eY((0,rl.useState)(!1),2),u=l[0],d=l[1],p=eY((0,rl.useState)(new Set),2),h=p[0],f=p[1],m=eY((0,rl.useState)(_oe),2),g=m[0],v=m[1];return ol().createElement(Coe.Provider,{value:{currentStep:r,setCurrentStep:o,totalSteps:i,goToNext:function(e){e<Object.keys(moe).length-1&&o(r+1)},visitedSteps:h,addToVisited:function(e){f((function(t){return new Set(t.add(e))}))},userProofStates:g,setUserProofStates:v,resetStates:function(){o(0),f(new Set)},isFlowEnded:s,setIsFlowEnded:c,newOfficeSettingsUser:u,setNewOfficeSettingsUser:d}},t)},xoe=function(e,t,n,r){var o=r?"".concat(r.dataBiIdBase,".toggle"):"";return{totalSlots:12,chevronPosition:"end",columns:r?[{column:ol().createElement(wI,{media:{size:"md",image:{imageType:"icon",iconName:e},padding:"0px 4px"},title:{kind:"text",children:t,nowrap:!1,weightOverride:n?void 0:"semi-bold"},subtitleTextProps:{children:n}}),slots:8},{column:ol().createElement(HI,{"data-bi-id":o,id:o,"aria-label":r.toggleCms.toggleAriaLabel,onChange:r.onToggleChangeHandler,checked:r.toggleVals,togglePosition:"end",onText:r.toggleCms.toggleOn,offText:r.toggleCms.toggleOff,disabled:r.disabled,operationData:{progressViewOperationData:{operationName:r.toggleOperationName,componentName:r.toggleComponentName,defaultState:"finished"},errorCallout:{errorMessage:r.toggleCms.updateFailedMessageErrorCallout,errorMessageAriaLabel:r.toggleCms.updateFailedMessageErrorCallout,targetOrTriggerButton:{"aria-label":r.toggleCms.errorCalloutAriaLabel,"data-bi-id":"".concat(r.dataBiIdBase,".error-callout")}}}}),slots:4}]:[{column:ol().createElement(wI,{media:{size:"md",image:{imageType:"icon",iconName:e},padding:"0px 4px"},title:{kind:"text",children:t,nowrap:!1,weightOverride:n?void 0:"semi-bold"},subtitleTextProps:{children:n}}),slots:12}]}},Soe=function(e,t,n,r){$d({clickId:"".concat(t,".").concat(e?"opening":"closing"),pageArea:n}),null===r||void 0===r||r()},koe=function(e){return"_self"===e||"_blank"===e?e:void 0},Toe=function(e){return ol().createElement(jw,null,ol().createElement(EH,{messageContent:e,messageBarType:"warning",iconProps:{iconName:"Error",color:"neutralSecondary"}}))},Ioe=function(e){var t,n=e.officeSettingDrawerName,r=e.toggleVals,o=e.updateToggleVals,i=e.contentsDrawerDataBiIdBase,a=e.contentsDrawerComponentName,s=e.contentsDrawerOperationName,c=e.cmsContent,l=e.toggleValContent,u=e.setContentApi,d=e.drawerHeaderIconName,p=e.drawerHeaderTitle,h=up(),f=eY((0,rl.useState)(!1),2),m=f[0],g=f[1],v=eY((0,rl.useState)(!1),2),y=v[0],b=v[1],_=function(){b(!y)},C=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,g(!1),h({name:s,status:"updating"}),e.next=5,u(!l);case 5:e.t0=n,e.next="optionalDiagnostic"===e.t0?8:"analyzeContent"===e.t0?10:"downloadContent"===e.t0?12:"offersContent"===e.t0?14:16;break;case 8:return o(My(My({},r),{},{optionalDiagnostic:!l})),e.abrupt("break",16);case 10:return o(My(My({},r),{},{analyzeContent:!l})),e.abrupt("break",16);case 12:return o(My(My({},r),{},{downloadContent:!l})),e.abrupt("break",16);case 14:return o(My(My({},r),{},{offersContent:!l})),e.abrupt("break",16);case 16:h({name:s,status:"finished"}),e.next=23;break;case 19:e.prev=19,e.t1=e.catch(0),g(!0),h({name:s,status:"update-failed"});case 23:case"end":return e.stop()}}),e,null,[[0,19]])})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=vte(jee().mark((function e(t){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E={toggleVals:l,onToggleChangeHandler:w,toggleOperationName:s,toggleComponentName:a,dataBiIdBase:i,toggleCms:c},x="offersContent"===n?(t=c,ol().createElement(jw,{childrenGap:"20px",backgroundColor:"neutralMed",padding:"20px"},ol().createElement(Jw,null,t.paragraph),ol().createElement(Kx,{href:t.link.url,target:koe(t.link.target),"data-bi-id":t.link.id,"aria-label":t.link.ariaLabel||t.link.text},t.link.text),t.link2&&ol().createElement(Kx,{href:t.link2.url,target:koe(t.link2.target),"data-bi-id":t.link2.id,"aria-label":t.link2.ariaLabel||t.link2.text},t.link2.text))):function(e,t){return ol().createElement(jw,{childrenGap:"20px",backgroundColor:"neutralMed",padding:"20px"},ol().createElement(Jw,null,e.paragraph),ol().createElement(Kx,{href:e.link.url,"data-bi-id":"".concat(t,".learn-more-link"),"aria-label":e.link.ariaLabel||e.link.text,target:"_blank"},e.link.text))}(c,i),S=Toe(c.updateFailedMessageErrorCallout),k=m?ol().createElement(jw,null,S,x):ol().createElement(jw,null,x),T=xoe(d,p,"",E),I=E?"".concat(E.dataBiIdBase,".toggle"):"",A=mte().areaPrefix;return ol().createElement(jw,null,ol().createElement(yO,{id:"checkup-optional-diagnostic",drawerHeader:ol().createElement(UI,T),showDivider:!0,borderRadius:"0px",onClickToOpen:function(){return Soe(!0,I,A,_)},onClickToClose:function(){return Soe(!1,I,A,_)},children:k}),!y&&m&&S)},Aoe="".concat(foe,".analyze-content"),Poe=function(e){var t=e.toggleVals,n=e.updateToggleVals,r=Yte().officeSettingsContent.connectedExperiencesSection.analyzeContentDrawer;return ol().createElement(Ioe,{officeSettingDrawerName:"analyzeContent",toggleVals:t,updateToggleVals:n,contentsDrawerDataBiIdBase:Aoe,contentsDrawerComponentName:"safetyCheckup.officeSettings.analyzeContentDrawer",contentsDrawerOperationName:"safetyCheckup.AnalyzeContentDrawer.setAnalyzeContent",cmsContent:r,toggleValContent:t.analyzeContent,setContentApi:noe,drawerHeaderIconName:"EditListPencil",drawerHeaderTitle:r.title})},Doe="".concat(foe,".download-content"),Roe=function(e){var t=e.toggleVals,n=e.updateToggleVals,r=Yte().officeSettingsContent.connectedExperiencesSection.downloadContentDrawer;return ol().createElement(Ioe,{officeSettingDrawerName:"downloadContent",toggleVals:t,updateToggleVals:n,contentsDrawerDataBiIdBase:Doe,contentsDrawerComponentName:"safetyCheckup.officeSettings.downloadContentDrawer",contentsDrawerOperationName:"safetyCheckup.DownloadContentDrawer.setDownloadContent",cmsContent:r,toggleValContent:t.downloadContent,setContentApi:roe,drawerHeaderIconName:"PictureFill",drawerHeaderTitle:r.title})},Moe="".concat(foe,".offers-content"),Noe=function(e){var t=e.toggleVals,n=e.updateToggleVals,r=Yte().officeSettingsContent.offersSection.offersContentDrawer;return ol().createElement(Ioe,{officeSettingDrawerName:"offersContent",toggleVals:t,updateToggleVals:n,contentsDrawerDataBiIdBase:Moe,contentsDrawerComponentName:"safetyCheckup.officeSettings.OffersContentDrawer",contentsDrawerOperationName:"safetyCheckup.OffersContentDrawer.setOffersContentLevel",cmsContent:r,toggleValContent:t.offersContent,setContentApi:ooe,drawerHeaderIconName:"Giftbox",drawerHeaderTitle:Yte().officeSettingsContent.offersSection.title})},Loe="".concat(foe,".optional-diagnostic"),Ooe=function(e){var t=e.toggleVals,n=e.updateToggleVals,r=Yte().officeSettingsContent.diagnosticDataSection.optionalDrawer;return ol().createElement(Ioe,{officeSettingDrawerName:"optionalDiagnostic",toggleVals:t,updateToggleVals:n,contentsDrawerDataBiIdBase:Loe,contentsDrawerComponentName:"safetyCheckup.officeSettings.optionalDiagnosticDrawer",contentsDrawerOperationName:"safetyCheckup.OptionalDiagnosticDrawer.setDiagnosticLevel",cmsContent:r,toggleValContent:t.optionalDiagnostic,setContentApi:toe,drawerHeaderIconName:"Diagnostic",drawerHeaderTitle:r.title})},Foe="".concat(hoe,".office-settings-dialog"),Boe=function(e){var t,n=e.toggleVals,r=e.updateToggleVals,o=e.newUserErrorFlag,i=e.initializeOfficeSettings,a=e.hasAnyOfficeProduct,s=Yte().officeSettingsContent,c=null===(t=mte().selfRights)||void 0===t?void 0:t.canManageDataSettings,l=woe().setNewOfficeSettingsUser;ll((function(){l(o)}));var u=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),d={textWithTokens:"".concat(s.firstLoadErrorDescription," {tryAgain}"),tokensAndValues:{tryAgain:ol().createElement(Yx,{children:s.tryAgain,"data-bi-id":"".concat(Sne,".first-load-try-again"),"aria-label":s.tryAgain,onClick:u})}};return ol().createElement(Ob,{operationData:{componentName:Foe,operationName:"OfficeSettingsDrawers.getOfficeSettings"},firstLoadView:ol().createElement(jw,null,c&&!o&&ol().createElement(lB,{anchor:"right"}),ol().createElement(lB,{anchor:"right"}),ol().createElement(lB,{anchor:"right"}),c&&!o&&a&&ol().createElement(lB,{anchor:"right"})),finishedView:ol().createElement(jw,null,c&&!o&&ol().createElement(Ooe,{toggleVals:n,updateToggleVals:r}),ol().createElement(Poe,{toggleVals:n,updateToggleVals:r}),ol().createElement(Roe,{toggleVals:n,updateToggleVals:r}),c&&!o&&a&&ol().createElement(Noe,{toggleVals:n,updateToggleVals:r})),failedView:Toe(d)})},Hoe=function(e,t,n,r){var o=r?"".concat(r.dataBiIdBase,".toggle"):"",i=mte().areaPrefix;return{onClickToOpen:function(){return Soe(!0,o,i)},onClickToClose:function(){return Soe(!1,o,i)},defaultExpanded:!0,drawerHeader:ol().createElement(UI,xoe(e,t,n,r))}},zoe=function(e,t){var n="".concat(t,".learn-more-link");return ol().createElement(tO,{bodyText:e.paragraph,ctaProps:[{actionProps:{href:e.link.url,"data-bi-id":n,id:n,"aria-label":e.link.ariaLabel||e.link.text,children:e.link.text,kind:"hyperlink",target:koe(e.link.target)}}],imageProps:{imageType:"altTextImage",src:e.image.src,alt:e.image.alt},backgroundType:"card",layoutType:"2/3",paddingVariant:"64px",borderRadius:"0px",height:"small"})},Uoe=function(e,t,n){var r={textWithTokens:t.updateFailedMessageMessageBar,tokensAndValues:{tryAgain:ol().createElement(Yx,{children:t.tryAgain,"data-bi-id":"".concat(n,".try-again-link"),"aria-label":t.tryAgain,onClick:e})}};return ol().createElement(EH,{messageContent:r,messageBarType:"warning"})},Voe="".concat(Sne,".analyze-content"),joe=function(e){var t,n=e.toggleVals,r=e.updateToggleVals,o="AnalyzeContentDrawer.setAnalyzeContent",i=Yte().officeSettingsContent.connectedExperiencesSection.analyzeContentDrawer,a=up(),s=eY((0,rl.useState)(!1),2),c=s[0],l=s[1],u=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,l(!1),a({name:o,status:"updating"}),e.next=5,noe(!n.analyzeContent);case 5:r(My(My({},n),{},{analyzeContent:!n.analyzeContent})),a({name:o,status:"finished"}),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),l(!0),a({name:o,status:"update-failed"});case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=vte(jee().mark((function e(t){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p={toggleVals:n.analyzeContent,onToggleChangeHandler:d,toggleOperationName:o,toggleComponentName:"officeSettings.analyzeContentDrawer",dataBiIdBase:Voe,toggleCms:i},h=Hoe("EditListPencil",i.title,i.subtitle,p),f=zoe(i,Voe);if(c){var m=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();t=Uoe(m,i,Voe)}else t=ol().createElement(EH,{messageContent:i.infoBar,messageBarType:"secondary"});return ol().createElement(dz,{drawerAreaProps:h,highlightArea:f,detailsArea:t})},qoe="".concat(Sne,".download-content"),Woe=function(e){var t,n=e.toggleVals,r=e.updateToggleVals,o="DownloadContentDrawer.setDownloadContent",i=Yte().officeSettingsContent.connectedExperiencesSection.downloadContentDrawer,a=up(),s=eY((0,rl.useState)(!1),2),c=s[0],l=s[1],u=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,l(!1),a({name:o,status:"updating"}),e.next=5,roe(!n.downloadContent);case 5:r(My(My({},n),{},{downloadContent:!n.downloadContent})),a({name:o,status:"finished"}),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),l(!0),a({name:o,status:"update-failed"});case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),d=function(){var e=vte(jee().mark((function e(t){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p={toggleVals:n.downloadContent,onToggleChangeHandler:d,toggleOperationName:o,toggleComponentName:"officeSettings.downloadContentDrawer",dataBiIdBase:qoe,toggleCms:i},h=Hoe("PictureFill",i.title,i.subtitle,p),f=zoe(i,qoe);if(c){var m=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();t=Uoe(m,i,qoe)}else t=ol().createElement(EH,{messageContent:i.infoBar,messageBarType:"secondary"});return ol().createElement(dz,{drawerAreaProps:h,highlightArea:f,detailsArea:t})},Goe="".concat(Sne,".OffersContent"),Koe=function(e){var t,n,r,o=e.toggleVals,i=e.updateToggleVals,a=e.newUserError,s="OffersContentDrawer.setOffersContentLevel",c=Yte().officeSettingsContent.offersSection.offersContentDrawer,l=up(),u=null===(t=mte().selfRights)||void 0===t?void 0:t.canManageDataSettings,d=eY((0,rl.useState)(!1),2),p=d[0],h=d[1],f=function(){var e=vte(jee().mark((function e(){var t,n;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,h(!1),l({name:s,status:"updating"}),e.next=5,ooe(!o.offersContent);case 5:ku({name:"Ms.Webi.MeePortal.PrivacyToggleEvent",toggleId:"offer-contents-toggle",newState:null!==(t=!o.offersContent)&&void 0!==t&&t}),i(My(My({},o),{},{offersContent:null!==(n=!o.offersContent)&&void 0!==n&&n})),l({name:s,status:"finished"}),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),h(!0),l({name:s,status:"update-failed"});case 15:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),m=function(){var e=vte(jee().mark((function e(t){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g={toggleVals:null!==(n=o.offersContent)&&void 0!==n&&n,onToggleChangeHandler:m,disabled:!u||a,toggleOperationName:s,toggleComponentName:"officeSettings.OffersContentDrawer",dataBiIdBase:Goe,toggleCms:c},v=Hoe("EditListPencil",c.title,c.subtitle,g),y=function(e){var t={textWithTokens:"{0}",tokensAndValues:{0:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,e.paragraph),ol().createElement(Kx,{href:e.link.url,target:koe(e.link.target),"data-bi-id":e.link.id,"aria-label":e.link.ariaLabel||e.link.text},e.link.text),e.link2&&ol().createElement(Kx,{href:e.link2.url,target:koe(e.link2.target),"data-bi-id":e.link2.id,"aria-label":e.link2.ariaLabel||e.link2.text},e.link2.text))}};return ol().createElement(tO,{bodyText:t,ctaProps:[],imageProps:{imageType:"altTextImage",src:e.image.src,alt:e.image.alt},backgroundType:"card",layoutType:"2/3",paddingVariant:"64px",borderRadius:"0px",height:"small"})}(c);if(p){var b=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();r=Uoe(b,c,Goe)}else if(u)if(a){var _={textWithTokens:c.newUserAlert,tokensAndValues:{alertLink:ol().createElement(Kx,{href:c.newUserAlertLink.url,"data-bi-id":"".concat(Goe,".new-user-alert-link"),"aria-label":c.newUserAlertLink.ariaLabel||c.newUserAlertLink.text,target:koe(c.newUserAlertLink.target)},c.newUserAlertLink.text)}};r=ol().createElement(EH,{messageContent:_,messageBarType:"warning",iconProps:{iconName:"Error",color:"neutralSecondary"}})}else r=ol().createElement(EH,{messageContent:c.genericAlert,messageBarType:"secondary"});else{var C={textWithTokens:c.childUserAlert,tokensAndValues:{alertLink:ol().createElement(Kx,{href:c.childUserAlertLink.url,"data-bi-id":"".concat(Goe,".child-user-alert-link"),"aria-label":c.childUserAlertLink.ariaLabel||c.childUserAlertLink.text,target:koe(c.childUserAlertLink.target)},c.childUserAlertLink.text)}};r=ol().createElement(EH,{messageContent:C,messageBarType:"secondary"})}return ol().createElement(dz,{drawerAreaProps:v,highlightArea:y,detailsArea:r})},Yoe="".concat(Sne,".optional-diagnostic"),Qoe=function(e){var t,n,r=e.toggleVals,o=e.updateToggleVals,i=e.newUserError,a="OptionalDiagnosticDrawer.setDiagnosticLevel",s=Yte().officeSettingsContent.diagnosticDataSection.optionalDrawer,c=up(),l=null===(t=mte().selfRights)||void 0===t?void 0:t.canManageDataSettings,u=eY((0,rl.useState)(!1),2),d=u[0],p=u[1],h=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,p(!1),c({name:a,status:"updating"}),e.next=5,toe(!r.optionalDiagnostic);case 5:o(My(My({},r),{},{optionalDiagnostic:!r.optionalDiagnostic})),c({name:a,status:"finished"}),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),p(!0),c({name:a,status:"update-failed"});case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),f=function(){var e=vte(jee().mark((function e(t){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m={toggleVals:r.optionalDiagnostic,onToggleChangeHandler:f,disabled:!l||i,toggleOperationName:a,toggleComponentName:"officeSettings.optionalDiagnosticDrawer",dataBiIdBase:Yoe,toggleCms:s},g=Hoe("Diagnostic",s.title,s.subtitle,m),v=zoe(s,Yoe);if(d){var y=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();n=Uoe(y,s,Yoe)}else if(l){if(i){var b={textWithTokens:s.newUserAlert,tokensAndValues:{alertLink:ol().createElement(Kx,{href:s.newUserAlertLink.url,"data-bi-id":"".concat(Yoe,".new-user-alert-link"),"aria-label":s.newUserAlertLink.ariaLabel||s.newUserAlertLink.text,target:koe(s.newUserAlertLink.target)},s.newUserAlertLink.text)}};n=ol().createElement(EH,{messageContent:b,messageBarType:"warning",iconProps:{iconName:"Error",color:"neutralSecondary"}})}}else{var _={textWithTokens:s.childUserAlert,tokensAndValues:{alertLink:ol().createElement(Kx,{href:s.childUserAlertLink.url,"data-bi-id":"".concat(Yoe,".child-user-alert-link"),"aria-label":s.childUserAlertLink.ariaLabel||s.childUserAlertLink.text,target:koe(s.childUserAlertLink.target)},s.childUserAlertLink.text)}};n=ol().createElement(EH,{messageContent:_,messageBarType:"secondary"})}return ol().createElement(dz,{drawerAreaProps:g,highlightArea:v,detailsArea:n})},Xoe=function(){var e="".concat(Sne,".required-diagnostic"),t=Yte().officeSettingsContent.diagnosticDataSection.requiredDrawer,n=zoe(t,e),r=Hoe("Diagnostic",t.title,t.subtitle);return ol().createElement(dz,{drawerAreaProps:r,highlightArea:n})},Joe="officeSettings.drawers",$oe=function(t){var n=t.isCheckup,r="OfficeSettingsDrawers.getOfficeSettings",o=Yte().officeSettingsContent,i=up(),a=eY((0,rl.useState)({optionalDiagnostic:!1,analyzeContent:!0,downloadContent:!0,offersContent:!1}),2),s=a[0],c=a[1],l=eY((0,rl.useState)(!1),2),u=l[0],d=l[1],p=eY((0,rl.useState)(!1),2),h=p[0],f=p[1],m=function(e){c(e)},g=function(e){var t=s.optionalDiagnostic,n=s.analyzeContent,r=s.downloadContent,o=s.offersContent;null===e||void 0===e||e.forEach((function(e){switch(e.id){case ioe:switch(e.value){case loe.DefaultRequired.toString():case loe.Required.toString():t=!1;break;case loe.OptionalRequired.toString():t=!0}break;case aoe:switch(e.value){case uoe.DefaultEnabled.toString():case uoe.Enabled.toString():n=!0;break;case uoe.Disabled.toString():n=!1}break;case soe:switch(e.value){case doe.DefaultEnabled.toString():case doe.Enabled.toString():r=!0;break;case doe.Disabled.toString():r=!1}break;case coe:switch(e.value){case poe.DefaultDisabled.toString():case poe.Disabled.toString():o=!1;break;case poe.Enabled.toString():o=!0}}})),c({optionalDiagnostic:t,analyzeContent:n,downloadContent:r,offersContent:o})},v=function(){var t=vte(jee().mark((function t(){var n,o,a,s,c;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,i({name:r,status:"first-load"}),t.next=4,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ite(!1,"".concat(eoe,"HasProduct"),"".concat(Dte,"/office/roaming-settings/has-office-product"),"".concat($re,".").concat(Zre,".HASOFFICEPRODUCT"))];case 1:return[2,e.sent()]}}))}));case 4:return o=t.sent,f(null!==(n=null===o||void 0===o?void 0:o.hasOfficeProduct)&&void 0!==n&&n),t.next=8,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ite(!1,eoe,"".concat(Dte,"/office/roaming-settings"),"".concat($re,".").concat(Zre,".GETROAMINGSETTINGS"))];case 1:return[2,e.sent()]}}))}));case 8:a=t.sent,g(null===a||void 0===a?void 0:a.settings),d(!1),i({name:r,status:"finished"}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(0),c=t.t0,424===(null===(s=c.response)||void 0===s?void 0:s.status)?(d(!0),i({name:r,status:"finished"})):i({name:r,status:"failed"});case 18:case"end":return t.stop()}}),t,null,[[0,14]])})));return function(){return t.apply(this,arguments)}}();ll((function(){v()}));var y=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n?ol().createElement(Boe,{toggleVals:s,updateToggleVals:m,newUserErrorFlag:u,initializeOfficeSettings:v,hasAnyOfficeProduct:h}):ol().createElement(Ob,{operationData:{componentName:Joe,operationName:r},firstLoadView:ol().createElement(jw,{childrenGap:"48px"},ol().createElement(jw,{childrenGap:"20px"},ol().createElement(kw,{tag:"h2"},o.diagnosticDataSection.title),ol().createElement(jw,{childrenGap:"8px"},ol().createElement(lB,{anchor:"right"}),ol().createElement(lB,{anchor:"right"}))),ol().createElement(jw,{childrenGap:"20px"},ol().createElement(kw,{tag:"h2"},o.connectedExperiencesSection.title),ol().createElement(jw,{childrenGap:"8px"},ol().createElement(lB,{anchor:"right"}),ol().createElement(lB,{anchor:"right"})))),finishedView:ol().createElement(jw,{childrenGap:"48px"},ol().createElement(jw,{childrenGap:"20px"},ol().createElement(kw,{tag:"h2"},o.diagnosticDataSection.title),ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Xoe,null),ol().createElement(Qoe,{toggleVals:s,updateToggleVals:m,newUserError:u}))),ol().createElement(jw,{childrenGap:"20px"},ol().createElement(kw,{tag:"h2"},o.connectedExperiencesSection.title),ol().createElement(jw,{childrenGap:"8px"},ol().createElement(joe,{toggleVals:s,updateToggleVals:m}),ol().createElement(Woe,{toggleVals:s,updateToggleVals:m}))),h&&ol().createElement(jw,{childrenGap:"20px"},ol().createElement(kw,{tag:"h2"},o.offersSection.title),ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Koe,{toggleVals:s,updateToggleVals:m,newUserError:u})))),failedView:ol().createElement(xH,{align:"center",correlationVector:yu(),errorMessage:o.firstLoadErrorMessage,description:o.firstLoadErrorDescription,imageSrc:o.errorIllustrationImageSrc,buttonProps:{text:o.tryAgain,"aria-label":o.tryAgain,"data-bi-id":"".concat(Sne,".first-load-try-again"),type:"default",onClick:y}})})},Zoe=function(){var e="".concat(xne,".intro-cta"),t=Yte().officeSettingsContent.intro,n=function(e){var t=Object.values(e),n=[];return t.forEach((function(e,r){n.push(e),r!==t.length-1&&n.push("\xa0")})),n}([t.first,t.second]).map((function(e){return{textWithTokens:e,tokensAndValues:{}}}));return ol().createElement(tO,{backgroundType:"flat",bodyText:n,ctaProps:[{actionProps:{href:t.link.url,"data-bi-id":e,id:e,"aria-label":t.link.ariaLabel||t.link.text,children:t.link.text,kind:"hyperlink",target:koe(t.link.target)}}],imageProps:{alt:t.image.alt,src:t.image.src},layoutType:"2/3",height:"small"})},eie=function(){var e=Yte().officeSettingsContent;return ol().createElement(ol().Fragment,null,ol().createElement(CA,{message:e.title,ariaLive:"assertive"}),ol().createElement(jw,{padding:"0 0 48px 0"},ol().createElement(fre,{subPage:"office-settings"}),ol().createElement(jw,{childrenGap:"32px"},ol().createElement(Zoe,null),ol().createElement($oe,{isCheckup:!1})),ol().createElement(Tre,null),ol().createElement(Sre,null)))},tie=wte([yte.Unauthorized]),nie=function(t,n){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Dte,"/unified-consent/windows-account-sync"),"".concat(Mte,".UNIFIEDCONSENT.WASC.UPDATE"),{consentId:t,consentState:n},{},{overrideRequestQosData:tie})];case 1:return[2,e.sent()]}}))}))};!function(e){e.Unknown="unknown",e.Declined="declined",e.Accepted="accepted"}(yre||(yre={}));var rie={header:"Sync your Microsoft account with Windows",headerAriaLabel:"Sync your Microsoft account with Windows Header",subheader:"Changes you make in Windows will also sync to your account and be available in other Microsoft products.",description:"You can choose to make the info saved to your Microsoft account also available in Windows. Changes you make in Windows will also sync to your account and be available in other Microsoft products. This means you\u2019ll be able to do things like:",section1Header:"Back up your settings, apps, and passwords in the cloud",section1Description:"We\u2019ll back up your apps, settings, and saved passwords for Windows so you can restore them from any PC. ",section1Icon:"CloudUpload",section2Header:"Sync your pinned apps and preferences across devices",section2Description:"Important info like your preferences, pinned apps, and custom dictionary will be available when you sign in.",section2Icon:"SettingsSync",section3Header:"Quickly find files and apps",section3Description:"Find the files and apps you need more easily with recommendations and suggestions based on your activity.",section3Icon:"FileExplorer",learnMoreLinkText:"Learn more about your Microsoft account and Windows",learnMoreLinkUrl:"https://go.microsoft.com/fwlink/?linkid=2236520",learnMoreAriaLabel:"Learn more about your Microsoft account and Windows",imageAltText:"Conceptual illustration of an account syncing with Windows. A laptop with the Windows logo has a blue arrow pointing to and then coming from a conceptual image of a contact card with the Microsoft logo on it.",consentOnText:"On",consentOffText:"Off"},oie=function(e){var t=e.componentName,n=e.drawerProps,r=e.highlightArea,o=e.detailsArea;return(0,rl.useEffect)((function(){if("true"===new URLSearchParams(window.location.search).get(t)){var e=document.getElementById(t);null===e||void 0===e||e.scrollIntoView()}})),ol().createElement(jw,{id:t},ol().createElement(dz,{drawerAreaProps:n,highlightArea:r,detailsArea:o}))};var iie,aie=function(){var t={id:"",state:yre.Unknown,modelText:rie},n=mte().areaPrefix,r=eY((0,rl.useState)(!0),2),o=r[0],i=r[1],a=eY((0,rl.useState)(t),2),s=a[0],c=a[1],l=eY((0,rl.useState)(!1),2),u=l[0],d=l[1],p=up(),h="wasc",f=Yte().overviewContent.consentSettings,m="GetWascStatus",g="UpdateWascStatus",v="WascDrawer",y="".concat(v,".toggle");ll(vte(jee().mark((function t(){var n;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,p({name:m,status:"first-load"}),t.next=4,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ite(!1,"UserConsent","".concat(Dte,"/unified-consent/windows-account-sync"),"".concat(Mte,".UNIFIEDCONSENT.WASC.GET"),{},{overrideRequestQosData:tie})];case 1:return[2,e.sent()]}}))}));case 4:(n=t.sent)&&(d(!0),c(n),"accepted"===n.state?i(!0):i(!1)),p({name:m,status:"finished"}),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),p({name:m,status:"update-failed",error:t.t0});case 12:case"end":return t.stop()}}),t,null,[[0,9]])}))));var b=function(){var e=vte(jee().mark((function e(t,r){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(du({area:n,scenario:"ManageWindowsAccountSyncConsent",step:"onChange",data:{initialToggleState:o,newToggleState:r}}),e.prev=1,p({name:g,status:"updating"}),!r){e.next=8;break}return e.next=6,nie(s.id,yre.Accepted);case 6:e.next=10;break;case 8:return e.next=10,nie(s.id,yre.Declined);case 10:i(!!r),p({name:g,status:"finished"}),fu(),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(1),p({name:g,status:"update-failed",error:e.t0}),fu({error:e.t0});case 19:case"end":return e.stop()}}),e,null,[[1,15]])})));return function(t,n){return e.apply(this,arguments)}}(),_=ol().createElement(wI,{media:{size:"sm",image:{imageType:"image",src:f.wascContent.drawerIcon.src}},title:{children:s.modelText.header,kind:"text",nowrap:!0,weightOverride:"semi-bold"},subtitleTextProps:{children:s.modelText.subheader}}),C=ol().createElement(HI,{operationData:{progressViewOperationData:{defaultState:"finished",componentName:y,operationName:g},errorCallout:{errorMessage:f.consentError,errorMessageAriaLabel:f.consentError,targetOrTriggerButton:{"aria-label":f.consentError,"data-bi-id":"".concat(y,".error")}}},"aria-label":s.modelText.header,"data-bi-id":y,togglePosition:"end",onText:s.modelText.consentOnText,offText:s.modelText.consentOffText,disabled:!1,checked:o,onChange:b}),w={onClickToOpen:function(){return Soe(!0,h,n)},onClickToClose:function(){return Soe(!1,h,n)},defaultExpanded:!1,drawerHeader:ol().createElement(UI,{chevronPosition:"end",columns:[{column:_,slots:9},{column:C,slots:3}],totalSlots:12})},E=function(e){var t=Yte().overviewContent.consentSettings.wascContent,n=[{icon:e.section1Icon,header:e.section1Header,description:e.section1Description},{icon:e.section2Icon,header:e.section2Header,description:e.section2Description},{icon:e.section3Icon,header:e.section3Header,description:e.section3Description}],r={textWithTokens:"{0}",tokensAndValues:{0:ol().createElement(jw,null,ol().createElement(jw,{padding:5},ol().createElement(Jw,null,e.description)),ol().createElement(jw,{padding:5},n.map((function(e,t){return ol().createElement(dI,{key:t,image:{imageType:"icon",iconName:e.icon},size:"md",imagePadding:"5px"},ol().createElement(Jw,{block:!0,variant:"headerText"},e.header),ol().createElement(Jw,null,e.description))}))))}};return{id:"wasc",backgroundType:"card",bodyText:r,bodyTextVariant:"bodyPrimaryText",height:"small",imageProps:{src:t.image.src,alt:e.imageAltText},layoutType:"2/3",paddingVariant:"64px",borderRadius:"0px"}}(s.modelText),x=ol().createElement(tO,Object.assign({key:h},E)),S=ol().createElement(EH,{messageBarType:"secondary",messageContent:{textWithTokens:"{0}",tokensAndValues:{0:ol().createElement(ol().Fragment,null,ol().createElement(Kx,{"aria-label":s.modelText.learnMoreAriaLabel,"data-bi-id":"wasc-learn-more",href:s.modelText.learnMoreLinkUrl,target:"_blank"},s.modelText.learnMoreLinkText))}}});return u?ol().createElement(oie,{drawerProps:w,highlightArea:x,detailsArea:S,componentName:v}):null},sie=function(){var e=mte().area,t=Yte(),n=eY((0,rl.useState)(!1),2),r=n[0],o=n[1],i="".concat(sne).concat(ine);return ll(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Mre().then((function(e){e&&e.archives&&e.archives.length>0&&e.archives.some((function(e){return e.isComplete&&!e.isFailed}))&&o(!0)}));case 2:case"end":return e.stop()}}),e)})))),ol().createElement(ol().Fragment,null,r&&ol().createElement(EH,{messageContent:t.overviewContent.overviewMessageBarContent,actionProps:{"aria-label":t.overviewContent.overviewMessageBarAction,children:t.overviewContent.overviewMessageBarAction,"data-bi-id":"privacy-overview-messagebar-link",href:i},dismissButtonProps:{"aria-label":t.overviewContent.overviewMessageBarClose,"data-bi-id":"privacy-overview-messagebar-dismiss",onDismiss:function(){o(!1)},pageArea:e}}))},cie=function(){var t=Yte().overviewContent.otherSettings,n=mte(),r=Ud(),o=function(){r.push({pathname:"/ad-settings"})},i=function(t,r,i){return function(t){var n,r=t.card,o=t.area,i=t.dataBiIdSuffix,a=t.isSmallerImg,s=void 0!==a&&a,c=t.customOnClick;n=r.coldAnimation?{graphicType:"animation",src:r.coldAnimation.src,alt:r.coldAnimation.alt,animationTrigger:"hover"}:(0,e.__assign)((0,e.__assign)({graphicType:"image"},r.coldImage),{isSmallerImg:s});var l={text:r.coldLink.text,"aria-label":r.coldLink.ariaLabel||r.coldLink.text,"data-bi-id":"".concat(o,".cards.").concat(i)};return{headerProps:r.coldTitle?{text:r.coldTitle,"aria-label":r.coldTitle}:void 0,detailsProps:{heading:r.coldHeading,text:r.coldDescription},graphicProps:n,ctaProps:c?(0,e.__assign)((0,e.__assign)({},l),{onClick:c}):(0,e.__assign)((0,e.__assign)({},l),{href:r.coldLink.url,target:koe(r.coldLink.target)}),id:"".concat(o,".cards.").concat(i)}}({card:r,area:n.areaPrefix,dataBiIdSuffix:i,isSmallerImg:!0,customOnClick:"adSettingsCard"===t?o:void 0})};return ol().createElement(jw,{childrenGap:"12px"},ol().createElement(jw,null,ol().createElement(kw,{tag:"h2",variant:"paneHeader"},t.title),ol().createElement(Jw,null,t.description)),ol().createElement(ZP,null,Object.entries(t.cardsNew).map((function(e,t){var n=eY(e,2),r=n[0],o=n[1];return ol().createElement(oJ,Object.assign({key:t},i(r,o,"".concat("other-settings",".").concat(r,".cta"))))}))))},lie=[{id:"1",appName:"Angry Birds Space",lastUsed:"1/23/2014",permissions:{profileInfo:{title:"View your profile info and contact list",subTitle:"Angry Birds Space will be able to see your profile info, including your name, gender, display picture, contacts, and friends."},emailAddresses:{title:"Access your email addresses",subTitle:"Angry Birds Space will be able to the email addresses in your profile."},automaticSignIn:{title:"Sign in automatically",subTitle:"Signing in with your Microsoft account will automatically sign you in to this app."}}},{id:"2",appName:"Angry Birds Black",lastUsed:"1/23/2014",permissions:{profileInfo:{title:"View your profile info and contact list",subTitle:"Angry Birds Black will be able to see your profile info, including your name, gender, display picture, contacts, and friends."},emailAddresses:{title:"Access your email addresses",subTitle:"Angry Birds Black will be able to the email addresses in your profile."},automaticSignIn:{title:"Sign in automatically",subTitle:"Signing in with your Microsoft account will automatically sign you in to this app."}}},{id:"3",appName:"Firehose",lastUsed:"1/23/2014",permissions:{profileInfo:{title:"View your profile info and contact list",subTitle:"Firehose will be able to see your profile info, including your name, gender, display picture, contacts, and friends."},emailAddresses:{title:"Access your email addresses",subTitle:"Firehose will be able to the email addresses in your profile."},automaticSignIn:{title:"Sign in automatically",subTitle:"Signing in with your Microsoft account will automatically sign you in to this app."}}},{id:"4",appName:"Forza Horizon 3",lastUsed:"1/23/2014",permissions:{profileInfo:{title:"View your profile info and contact list",subTitle:"Forza Horizon 3 will be able to see your profile info, including your name, gender, display picture, contacts, and friends."},emailAddresses:{title:"Access your email addresses",subTitle:"Forza Horizon 3 will be able to the email addresses in your profile."},automaticSignIn:{title:"Sign in automatically",subTitle:"Signing in with your Microsoft account will automatically sign you in to this app."}}},{id:"5",appName:"Outings",lastUsed:"1/23/2014",permissions:{profileInfo:{title:"View your profile info and contact list",subTitle:"Outings will be able to see your profile info, including your name, gender, display picture, contacts, and friends."},emailAddresses:{title:"Access your email addresses",subTitle:"Outings will be able to the email addresses in your profile."},automaticSignIn:{title:"Sign in automatically",subTitle:"Signing in with your Microsoft account will automatically sign you in to this app."}}},{id:"6",appName:"Linekdin",lastUsed:"1/23/2014",permissions:{profileInfo:{title:"View your profile info and contact list",subTitle:"Linekdin will be able to see your profile info, including your name, gender, display picture, contacts, and friends."},emailAddresses:{title:"Access your email addresses",subTitle:"Linekdin will be able to the email addresses in your profile."},automaticSignIn:{title:"Sign in automatically",subTitle:"Signing in with your Microsoft account will automatically sign you in to this app."}}}],uie=1e9,die=1e6,pie=function(e,t,n,r){var o=e.toLocaleString(r);return 0===e?o=n.dataCountZero:e>=uie?o=ml(n.dataCountOverBillion,Math.floor(e/uie)):e>=die&&(o=ml(n.dataCountOverMillion,Math.floor(e/die))),ml(t,o)},hie=function(e,t,n){return e.map((function(r,o){return 0===o?{textWithTokens:r,tokensAndValues:t}:"location"===n&&o===e.length-1?{textWithTokens:"{0}",tokensAndValues:{0:ol().createElement(jw,{padding:"8px 0px 0px 0px"},ol().createElement(Qx,{textWithTokens:r,tokensAndValues:t}))}}:{textWithTokens:"{0}",tokensAndValues:{0:ol().createElement("ul",{style:{padding:"8px 16px 0px"}},ol().createElement("li",null,ol().createElement(Qx,{textWithTokens:r,tokensAndValues:t})))}}}))},fie=function(e){var t=e.cms,n=e.prefix;return ol().createElement(jw,{horizontal:!0,childrenGap:"12px",padding:"0 16px 0 0"},ol().createElement(uw,{iconName:"Info",size:"16px"}),ol().createElement(Qx,{textWithTokens:t.noData,tokensAndValues:{"learn-more":ol().createElement(Kx,{"aria-label":t.learnMoreAriaLabel,"data-bi-id":"".concat(n,"-noData-learnMore-link"),href:t.learnMoreLink,target:"_blank"},t.learnMoreToken)}}))},mie=function(e){var t=e.cms,n=e.prefix,r=e.isRetrying,o=e.onRetryClick;return ol().createElement(jw,{horizontal:!0,childrenGap:"12px"},ol().createElement(uw,{iconName:"Info",size:"16px",color:"errorIcon"}),ol().createElement(Jw,null,t.retryHeader),ol().createElement(Yx,{key:"".concat(n,".try-again"),"aria-label":t.retryHeader,"data-bi-id":"".concat(n,".try-again"),onClick:o,disabled:r},t.tryAgain),r&&ol().createElement(DI,{"aria-label":t.retryInProgressAriaLabel}))};var gie=function(e){var t=new Date(e.getTime());return t.setHours(0,0,0,0),t},vie=function(e,t,n,r){var o=gie(new Date),i=gie(new Date);i.setDate(o.getDate()-1);var a=new Date(e);if(t&&"Monthly"===t)return function(e,t){return hS(e).toLocaleDateString(t||aS(),{year:"numeric",month:"short"})}(new Date(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()));iie&&iie.getTime()===gie(a).getTime()||(iie=gie(a));var s=dS(iie);return o.getTime()===iie.getTime()?r?n.today:uS(a):i.getTime()===iie.getTime()?n.yesterday:s},yie=function(e){var t=new Date(e);return uS(t)},bie=function(e){return e.appIconUrl||!e.appName?{imageType:"image",src:e.appIconUrl}:{imageType:"character",character:e.appName.charAt(0).toLocaleUpperCase()}},_ie=function(e){return e.iconUri||!e.appName?{imageType:"image",src:e.iconUri}:{imageType:"character",character:e.appName.charAt(0).toLocaleUpperCase()}},Cie=["appItem"],wie="Overview.AppsAndServicesActivity.AppAccessListItem",Eie="".concat(cne,".appAccess"),xie=PO((function(e){var t,n=e.appItem,r=UK(e,Cie),o=AC(),i=Yte().overviewContent.appsAndServices.appAccessActivity.listItems,a=n,s="".concat(vie(n.lastUsed,void 0,i)),c={listItemMediaProps:{image:(t=a,t.appIcon||!t.appName?{imageType:"image",src:t.appIcon}:{imageType:"character",character:t.appName.charAt(0).toLocaleUpperCase()}),size:"sm"},title:"".concat(a.appName)},l={children:s,variant:"bodySecondaryText"},u=[{"aria-label":i.deny,"data-bi-id":"".concat(Eie,".deny"),buttonColor:"themePrimary",onClick:function(){},text:i.deny,operationData:{progressViewOperationData:{componentName:wie,operationName:"".concat(wie,".").concat(a.id),defaultState:"finished"}}},{"aria-label":i.details,"data-bi-id":"".concat(Eie,".details"),buttonColor:"themePrimary",onClick:function(){},text:i.details,operationData:{progressViewOperationData:{componentName:wie,operationName:"".concat(wie,".").concat(a.id),defaultState:"finished"}}}],d=function(){return ol().createElement(QI,{contentType:"none",columnAlign:"end",actionButtonProps:u})};switch(o){case"xxxl":case"xxl":case"xl":case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:a.id,variant:"SixFourTwo",backgroundColor:"neutralMed",columns:[ol().createElement(bN,c),ol().createElement(gN,{textElements:[l],"data-fct-id":s}),d()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:a.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(bN,Object.assign({},c,{subtitles:[l],"data-fct-id":s})),d()]}))}})),Sie=function(){var e=eY((0,rl.useState)(!1),2),t=e[0],n=e[1],r=eY((0,rl.useState)(!1),2),o=r[0],i=r[1],a=eY((0,rl.useState)(lie.length),1)[0],s=Yte().overviewContent.appsAndServices.appAccessActivity,c=function(e,t,n){var r=Object.values(n.bodyText);return{height:"small",backgroundType:"card",bodyText:hie(r,t,e),imageProps:{alt:n.image.alt,src:n.image.src},layoutType:"2/3",paddingVariant:"64px",borderRadius:"0px",ctaProps:[]}}("appAccess",{},s.highlightArea),l=ol().createElement(tO,Object.assign({key:Hne},c)),u=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{n(!0),i(!1)}catch(t){i(!0)}finally{n(!1)}case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),d=function(e,t,n,r,o){var i,a=Yte().overviewContent,s=a.appsAndServices.appAccessActivity.detailsArea,c="".concat(cne,".appsAndServicesActivity.appAccess"),l=s.showMoreAriaLabel,u=s.header,d=Object.values(e),p=function(e){var t=e.header;return ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:6},ol().createElement(Jw,{weightOverride:"semi-bold"},t)))};i=r?ol().createElement(mie,{cms:a.overviewActivities.drawers.detailsArea,prefix:c,isRetrying:o,onRetryClick:n}):0===d.length?ol().createElement(fie,{cms:a.overviewActivities.drawers.detailsArea,prefix:c}):ol().createElement(p,{header:u});var h="".concat(c,".show-more");return{isAlwaysExpanded:!0,roundedCorners:!1,listItemBackgroundColor:"neutralMed",header:i,footer:d.length>=1?{links:[{onClick:function(){return t()},"data-bi-id":h,"aria-label":l,id:h,children:s.showMore}],shadow:!1}:void 0}}(lie,(function(){}),u,o,t),p=ol().createElement(FO,Object.assign({key:Hne},d),lie.slice(0,5).map((function(e){return ol().createElement(xie,{key:e.id,appItem:e})}))),h=s.drawerArea,f=function(e,t,n,r,o,i){var a=mte(),s=Yte().sharedContent,c=["s","m"].includes(AC()),l=mte().areaPrefix,u="".concat(e,".drawer"),d=pie(o,i,s,a.language),p=-1!==o,h=ol().createElement(Jw,{variant:"headerText"},n);p&&c&&(h=ol().createElement(Qx,{textWithTokens:"{0} {1}",tokensAndValues:{0:ol().createElement(Jw,{variant:"headerText"},n),1:ol().createElement(Jw,{variant:"bodyPrimaryText"},"(",d,")")}}));var f=[{column:ol().createElement(wI,{media:{size:"sm",image:{imageType:"image",src:t.src},padding:"0px 4px"},title:{kind:"text",weightOverride:"semi-bold",children:h},subtitleTextProps:{children:r}}),slots:c?12:9}];return p&&!c&&f.push({column:ol().createElement(yI,{statusAlignment:"end",textWeightOverride:"semi-bold"},d),slots:3}),{onClickToOpen:function(){return Soe(!0,u,l)},onClickToClose:function(){return Soe(!1,u,l)},defaultExpanded:!0,drawerHeader:ol().createElement(UI,{totalSlots:12,chevronPosition:"end",columns:f})}}("appAccess",h.icon,h.header,h.subtitle,a,h.dataCount);return ol().createElement(jw,{id:"overview-appsAndServices-appAccessActivity"},ol().createElement(dz,{key:Hne,drawerAreaProps:f,highlightArea:l,detailsArea:p}))},kie="".concat(Dte,"/activity-data/recurring-deletes"),Tie="getRecurringDeletes",Iie=wte([yte.Unauthorized,yte.TooManyRequests]),Aie=function(t,n,r){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var o,i,a,s;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return o=Oie(t,n),i=Fie(t,n),a="".concat(Dte,"/history/timeline").concat(o),s=zie(r),[4,Ete(a,"".concat(Mte,".").concat(i),s,{overrideRequestQosData:Iie})];case 1:return[2,e.sent()]}}))}))},Pie=function(t,n){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var r,o,i;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return"GETTIMELINEHISTORY.AGGREGATECOUNT",r="activityType=".concat(encodeURIComponent(t)),o="".concat(Dte,"/activity-data/count?").concat(r),i=zie(n),[4,Ete(o,"".concat(Mte,".").concat("GETTIMELINEHISTORY.AGGREGATECOUNT"),i,{overrideRequestQosData:Iie})];case 1:return[2,e.sent()]}}))}))},Die=function(t,n){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var r,o,i,a;return(0,e.__generator)(this,(function(s){switch(s.label){case 0:return r=Bie(t&&t[0]),o=null===r||void 0===r?void 0:r.toUpperCase(),i="".concat(Dte,"/history/timeline/types?reportedType=").concat(r),a=zie(n),[4,kte(i,"".concat(Mte,".DELETETIMELINEHISTORYBYTYPES.").concat(o),(0,e.__assign)((0,e.__assign)({},a),{data:{types:t}}))];case 1:return s.sent(),[2]}}))}))},Rie=function(t,n,r){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var o,i,a,s;return(0,e.__generator)(this,(function(c){switch(c.label){case 0:return o=Bie(n),i=null===o||void 0===o?void 0:o.toUpperCase(),a="".concat(Dte,"/history/timeline/ids?reportedType=").concat(o),s=zie(r),[4,kte(a,"".concat(Mte,".DELETETIMELINEHISTORYBYIDS.").concat(i),(0,e.__assign)((0,e.__assign)({},s),{data:{ids:t}}))];case 1:return c.sent(),[2]}}))}))},Mie=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var n;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return n=zie(t),[4,Ite(!1,Tie,kie,"".concat(Mte,".GETRECURRINGDELETES"),n)];case 1:return[2,e.sent()]}}))}))},Nie=function(t,n,r,o){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var i;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return Hie(),i=zie(o),[4,xte(kie,"".concat(Mte,".CREATEORUPDATERECURRINGDELETES"),{activityType:t,interval:n,status:r},i)];case 1:return[2,e.sent()]}}))}))},Lie=function(t,n){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var r;return(0,e.__generator)(this,(function(o){switch(o.label){case 0:return Hie(),r=zie(n),[4,kte(kie,"".concat(Mte,".DELETERECURRINGDELETES"),(0,e.__assign)((0,e.__assign)({},r),{data:{dataType:t}}))];case 1:return o.sent(),[2]}}))}))},Oie=function(e,t){var n=null===t||void 0===t?void 0:t.types,r=null===t||void 0===t?void 0:t.startTime,o=null===t||void 0===t?void 0:t.searchTerm,i=e?"state=".concat(encodeURIComponent(e)):"",a=n?"types=".concat(encodeURIComponent(n.join(","))):"",s=r?"startTime=".concat(r.split("_")[1]):"",c=o?"searchTerm=".concat(encodeURIComponent(o)):"";return"?".concat(a,"&").concat(i,"&").concat(s,"&").concat(c)},Fie=function(e,t){var n=t.searchTerm,r=Bie(t.types&&t.types[0]),o=null===r||void 0===r?void 0:r.toUpperCase();return n?e?"GETTIMELINEHISTORY.LOADMORE.SEARCHFILTER.".concat(o):"GETTIMELINEHISTORY.SEARCHFILTER.".concat(o):e?"GETTIMELINEHISTORY.LOADMORE.".concat(o):"GETTIMELINEHISTORY.".concat(o)},Bie=function(e){var t;return e&&e.split("_").length>1&&(t=e.split("_")[1]),t},Hie=function(){Ate(Tie)},zie=function(e){return e?{headers:{"X-Obo":e}}:{}},Uie=ol().createContext({showSatisfactionSurvey:!1,setShowSatisfactionSurvey:function(){}}),Vie=function(e){var t=e.children,n=eY((0,rl.useState)(!1),2),r=n[0],o=n[1];return ol().createElement(Uie.Provider,{value:{showSatisfactionSurvey:r,setShowSatisfactionSurvey:o}},t)},jie=function(e,t){var n,r,o,i,a,s;switch(t.type){case Zte:return s={},null===(n=t.firstLoadResult)||void 0===n||null===(r=n.items)||void 0===r||r.forEach((function(e){var t;s[null!==(t=e.id)&&void 0!==t?t:al()]=e})),{state:t.firstLoadResult.state,items:s};case ene:return s=My({},e.items),null===(o=t.loadMoreResult)||void 0===o||null===(i=o.items)||void 0===i||i.forEach((function(e){var t;s[null!==(t=e.id)&&void 0!==t?t:al()]=e})),{state:t.loadMoreResult.state,items:s};case tne:return s=My({},e.items),null===(a=t.idsToDelete)||void 0===a||a.forEach((function(e){delete s[e]})),{state:e.state,items:s};case nne:return{state:"",items:{}};default:throw new Error("Incorrect timeline data action type")}},qie="recurring-delete",Wie={componentName:"recurring-delete-dialog",operationName:qie},Gie={days2:2,days30:30,days90:90,days180:180},Kie=function(e){var t,n,r=e.filterType,o=e.interval,i=e.variant,a=e.status,s=void 0===a?"active":a,c=e.onSuccessCallback,l=cB(),u=up(),d=Yte().overviewContent,p=d.overviewActivities,h=d.recurringDelete,f="turnOff",m="498px",g=eY((0,rl.useState)(),2),v=g[0],y=g[1],b=eY((0,rl.useState)(!1),2),_=b[0],C=b[1];switch(r){case"cardTypeFilter_location":n=p.drawers.location.drawerArea.header.toLowerCase(),t=p.drawers.location.highlightArea.image;break;case"cardTypeFilter_browse":n=p.drawers.browse.drawerArea.header.toLowerCase(),t=p.drawers.browse.highlightArea.image;break;case"cardTypeFilter_search":n=p.drawers.search.drawerArea.header.toLowerCase(),t=p.drawers.search.highlightArea.image;break;case"cardTypeFilter_usage":n=p.drawers.usage.drawerArea.header.toLowerCase(),t=p.drawers.usage.highlightArea.image;break;case"cardTypeFilter_media":n=p.drawers.media.drawerArea.header.toLowerCase(),t=p.drawers.media.highlightArea.image;break;default:throw Error("RecurringDeleteDialog: Unexpected filterType")}var w,E,x=h.dialog.manageDialogTitle,S=h.dialog.manageInfoTitle,k=h.buttons.save,T=h.buttons.cancel,I=h.dialog.manageSuccessMessage;"create"===i&&(x=h.dialog.createDialogTitle,S=h.dialog.createInfoTitle,w=ml(h.dialog.description,n),k=h.buttons.turnOn,T=h.buttons.dontTurnOn,I=h.dialog.createSuccessMessage,E=ml(h.dialog.clearDataSuccessMessage,n)),v===f&&(I=h.dialog.turnOffSuccessMessage),x=ml(x,n),S=ml(S,n),I=ml(I,[n,v&&Gie[v]]);var A=function(e){var t=Gie[e];return{"data-bi-id":"recurring-delete-interval-".concat(t),"aria-label":ml(h.dialog.interval,t),key:e,text:ml(h.dialog.interval,t)}},P=[];Xp("RoleEngineer")&&P.push(A("days2")),P.push(A("days30")),P.push(A("days90")),P.push(A("days180")),"manage"===i&&P.push({"data-bi-id":"recurring-delete-turnoff","aria-label":h.dialog.turnOff,key:f,text:h.dialog.turnOff});var D=function(){lu&&hu(),l.closeDialog()},R=function(){var e=vte(jee().mark((function e(){var t,n,o;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,u({name:qie,status:"updating"}),"manage"!==i||v!==f){e.next=8;break}return e.next=5,Lie(r);case 5:null===c||void 0===c||c(_),e.next=12;break;case 8:return e.next=10,Nie(r,v,s);case 10:t=e.sent,null===c||void 0===c||c(_,t);case 12:u({name:qie,status:"finished"}),fu({data:{interval:v}}),e.next=22;break;case 16:e.prev=16,e.t0=e.catch(0),u({name:qie,status:"failed",error:e.t0}),o=e.t0,pu({step:"RetryAfterFailure",error:null!==(n=o.toString())&&void 0!==n?n:"RecurringDeleteFailed"});case 22:case"end":return e.stop()}}),e,null,[[0,16]])})));return function(){return e.apply(this,arguments)}}();(0,rl.useEffect)((function(){o&&y(o),u({name:qie,status:"inert"})}),[o,u]);var M=function(){return{buttonPrimary:{text:k,"aria-label":k,"data-bi-id":"recurring-delete-save",onClick:R,disabled:!!("manage"===i&&"paused"!==s&&v===o||"create"===i&&!v)},buttonSecondary:{text:T,"aria-label":T,"data-bi-id":"recurring-delete-cancel",onClick:D}}},N={title:x,isOpen:!0,staticBodyWidth:"480px",closeButton:{"aria-label":h.dialog.dismissButtonAriaLabel,"data-bi-id":"recurring-delete-dismiss"},onDismiss:D,stickyHeaderFooter:{hasStickyHeaderFooters:!0},dialogFooterProps:M(),operationData:{progressViewOperationData:Wie,errorDialogProps:{title:x,dialogFooterProps:My(My({},M()),{},{richTextProps:{textWithTokens:"{errorMessage}",tokensAndValues:{errorMessage:ol().createElement(Jw,{colorOverride:"error"},h.dialog.errorMessage)}}})},successDialogProps:{title:x,dialogFooterProps:{buttonPrimary:{text:h.buttons.ok,"aria-label":h.buttons.ok,"data-bi-id":"recurring-delete-success-ok",onClick:function(){return l.closeDialog()}}}},progressDialogProps:{title:x}}},L=function(e){return ol().createElement(dI,{size:"sm",image:{iconColor:"successIcon",iconName:"CompletedSolid",imageType:"icon"}},ol().createElement(Jw,{variant:"headerText"},e))},O={src:t.src,width:"80%",alt:t.alt,imageType:"altTextImage"},F=ol().createElement(jw,{height:"create"===i?m:void 0,horizontal:!1,childrenGap:"12"},ol().createElement(jw,{horizontalAlign:"center"},ol().createElement(sI,O)),E&&ol().createElement(jw,null,L(E),ol().createElement(rJ,null)),ol().createElement(Jw,{variant:"paneTitle"}," ",S),w&&ol().createElement(Jw,{variant:"bodySecondaryText"},w),ol().createElement(YD,{optionType:"basic",label:h.dialog.intervalsLabel,"aria-label":h.dialog.intervalsAriaLabel,"data-bi-id":"recurring-delete-interval-options",onChange:function(e){var t=e.key;y(t),C(t===f)},options:P,selectedKey:v})),B=ol().createElement(jw,{height:m,horizontal:!1},ol().createElement(jw,{childrenGap:"12"},ol().createElement(jw,{horizontalAlign:"center"},ol().createElement(sI,O)),L(I))),H=ol().createElement(jw,{height:m,horizontal:!1},ol().createElement(jw,{padding:"80"},ol().createElement(DI,{"aria-label":h.dialog.progressMessage})));return ol().createElement(oB,N,ol().createElement(hp,{operationData:Wie,inertView:F,finishedView:B,updatingView:H,failedView:F}))},Yie=function(e){var t=480;"s"!==e&&"m"!==e||(t=window.innerWidth-16);return{stickyHeaderFooter:{hasStickyHeaderFooters:!0,forceStickyOnSmallScreens:!0},dialogStyles:{main:{width:t,maxWidth:480,backgroundColor:"white"}}}},Qie={padding:"0px",smallScreenPadding:"0px"},Xie=function(e){var t=e.dataType,n="Overview.ConfirmationDialogContent.".concat(t);Zd(n);var r=Yte().overviewContent.overviewActivities.dialogs,o="",i="",a="",s=[],c=[],l={},u={iconName:"ErrorBadge",color:"errorIcon"},d={iconName:"Info"};switch(t){case"browse":o=r.browse.image.src,i=r.browse.image.alt,s=Object.values(r.browse.body),c=[u,d,d,u],a=r.browse.areYouSure,l={viewDeleteLink:ol().createElement(Kx,{"aria-label":r.browse.tokens.viewDeleteToken,"data-bi-id":"".concat(mne,".browse-view-delete-link"),href:r.browse.links.viewDeleteLink,target:"_blank"},r.browse.tokens.viewDeleteToken)};break;case"location":o=r.location.image.src,i=r.location.image.alt,s=Object.values(r.location.body),c=[u,u,u],a=r.location.areYouSure;break;case"media":o=r.media.image.src,i=r.media.image.alt,s=Object.values(r.media.body),c=[u,u],a=r.media.areYouSure;break;case"search":o=r.search.image.src,i=r.search.image.alt,s=Object.values(r.search.body),c=[u,d,u],a=r.search.areYouSure;break;case"usage":o=r.usage.image.src,i=r.usage.image.alt,s=Object.values(r.usage.body),c=[u,u,u],a=r.usage.areYouSure;break;case"performance":o=r.performance.image.src,i=r.performance.image.alt,s=Object.values(r.performance.body),c=[u,u,u],a=r.performance.areYouSure}var p={src:o,width:"80%",alt:i,imageType:"altTextImage"};return ol().createElement(jw,{horizontal:!1},ol().createElement(jw,{horizontalAlign:"center"},ol().createElement(sI,p)),ol().createElement(jw,{horizontal:!1,childrenGap:"33px"},ol().createElement(jw,{horizontal:!1,childrenGap:"16px"},ol().createElement(kw,{variant:"paneTitle",tag:"h2",children:a}),s.map((function(e,t){return ol().createElement(EH,{messageBarType:"secondary",messageBarVariant:"floating",iconProps:c[t],messageContent:{textWithTokens:e,tokensAndValues:l}})})),"browse"===t?ol().createElement(Kx,{"aria-label":r.browse.learnMoreText,"data-bi-id":"".concat(mne,".browse-learn-more-link"),href:r.browse.learnMoreLink,target:"_blank"},r.browse.learnMoreText):null)))},Jie=function(e){var t=e.confirmationDialogState,n=e.setConfirmationDialogState,r=e.onClearAllCancel,o=e.deleteAll,i=e.onRecurringDeleteSuccessCallback,a=e.recurringDeletes,s="Overview.ConfirmationDialog.".concat(t.dialogDataType);Zd(s);var c,l="cardTypeFilter_".concat(t.dialogDataType),u=mte(),d=cB(),p=up(),h=Yte().overviewContent.overviewActivities.dialogs,f=AC(),m=Yie(f),g=m.stickyHeaderFooter,v=m.dialogStyles,y=a&&a[l];if(!t.dialogDataType)return null;switch(t.dialogDataType){case"browse":c=h.browse.confirmationTitle;break;case"location":c=h.location.confirmationTitle;break;case"search":c=h.search.confirmationTitle;break;case"usage":c=h.usage.confirmationTitle;break;case"performance":c=h.performance.confirmationTitle}var b=Dy({},jne,t.dialogDataType),_="ConfirmationDialog.DeleteAllByType.".concat(t.dialogDataType),C=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&nu(Hl),n({showDialog:!1,dialogDataType:null}),e&&hu({data:b})},w=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,nu("End"),p({name:_,status:"updating"}),e.next=5,o();case 5:p({name:_,status:"finished"}),C(!1),fu({data:b}),y||"performance"===t.dialogDataType||(du({area:u.areaPrefix,scenario:"CreateRecurringDelete",step:"Index",data:{activityType:t.dialogDataType}}),d.openDialog(ol().createElement(Kie,{filterType:l,variant:"create",onSuccessCallback:i}))),e.next=16;break;case 11:e.prev=11,e.t0=e.catch(0),nu(Ine),p({name:_,status:"failed"}),pu({step:Ine,error:Pne,data:b});case 16:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}();return ol().createElement(oB,function(){var e={buttonPrimary:{onClick:w,text:h.clear,"aria-label":h.clear,"data-bi-id":"".concat(mne,".clear")},buttonSecondary:{onClick:r,text:h.dontClear,"aria-label":h.dontClear,"data-bi-id":"".concat(mne,".cancel")}};return{isOpen:t.showDialog,closeButton:{"data-bi-id":"close-button","aria-label":h.closeAriaLabel},title:c,onDismiss:function(){return C(!0)},stickyHeaderFooter:g,dialogStylesTemp:v,dialogFooterProps:e,operationData:{progressViewOperationData:{operationName:_,componentName:s},errorDialogProps:{title:c,dialogFooterProps:e}}}}(),ol().createElement(hp,{operationData:{operationName:_,componentName:s,defaultState:"finished"},finishedView:ol().createElement(Xie,{dataType:t.dialogDataType}),updatingView:ol().createElement(Xie,{dataType:t.dialogDataType}),failedView:ol().createElement(ol().Fragment,null,ol().createElement(Xie,{dataType:t.dialogDataType}),ol().createElement(Jw,{colorOverride:"error"},h.clearFailed))}))},$ie=["timelineItem","deleteByIds"],Zie=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,$ie),o=AC(),i=up(),a=cre(),s=Yte().overviewContent.overviewActivities.dialogs,c=eY((0,rl.useState)(!1),2),l=c[0],u=c[1],d=eY((0,rl.useState)(),2),p=d[0],h=d[1],f=eY((0,rl.useState)(!1),2),m=f[0],g=f[1],v="Dialog.BrowseListItem.SingleRowDelete",y="".concat(gne,".browse"),b=t,_=[{children:b.title}],C={children:yie(b.timestamp),variant:"bodySecondaryText"},w=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"browse"),e.prev=1,i({name:"".concat(v,".").concat(b.id),status:"updating"}),e.next=5,n([b.id]);case 5:u(!1),i({name:"".concat(v,".").concat(b.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),u(!1),g(!0),i({name:"".concat(v,".").concat(b.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),E=(0,rl.useCallback)((function(){u(!1),clearTimeout(p),hu()}),[p]),x=[{"aria-label":l?s.cancelAriaLabel:s.deleteAriaLabel,"data-bi-id":"".concat(y,l?".cancel":".delete"),iconName:l?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:l?E:function(){u(!0),g(!1),h(setTimeout(w,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Dialog.BrowseListItem",operationName:"".concat(v,".").concat(b.id),defaultState:"finished"}}}],S=[{"aria-label":s.clearFailed,children:s.clearFailed,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":s.clearFailed,"data-bi-id":"".concat(y,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],k=function(){return a.canManage?ol().createElement(QI,{contentType:m?"callout":"none",columnAlign:"end",calloutElements:S,actionButtonProps:x}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:b.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:_}),ol().createElement(gN,{textElements:[C]}),k()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:b.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[].concat(_,[C])}),k()]}))}})),eae=function(e){var t=e.date,n=e.timelineItemsAtDate,r=e.deleteByIds,o=n,i="".concat(gne,".browse"),a=Yte().overviewContent.overviewActivities.dialogs.collapseExpandAriaLabel;return ol().createElement(NO,{key:t,header:ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"semi-bold"},t)),isAlwaysExpanded:!0,shadow:!0,listItemBackgroundColor:"neutralMed",roundedCorners:!1,expandButtonProps:{"aria-label":a}},o.map((function(e){var t;return ol().createElement(Zie,{key:e.id,timelineItem:e,deleteByIds:r},null===(t=e.browsedUrls)||void 0===t?void 0:t.map((function(e,t){return ol().createElement(UN,{key:t,backgroundColor:"neutralMed",variant:"Twelve",columns:[ol().createElement(nR,{children:ol().createElement(jw,null,ol().createElement(Jw,null,e.title),ol().createElement(Kx,{"aria-label":e.title,"data-bi-id":"".concat(i,".browsed-url"),"data-bi-dnt":"true",href:e.url,target:"_blank"},e.url))})]})})))})))},tae={},nae=function(t,n){return sh(tae,"".concat(n.lat,",").concat(n.long),(function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var r;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:if(!n.lat||!n.long)throw Error("Latitude and longitude MUST be provided to call getLocationLookupAddress");r="".concat(t.restApiUrl)+"".concat(t.restLocationApi)+"".concat(n.lat,",").concat(n.long)+"?key=".concat(t.apiKey)+"&c=".concat(t.locale)+"&includeEntityTypes=".concat("Address,Neighborhood,PopulatedPlace,AdminDivision1"),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,Up(r,{partnerName:"BingMaps",operation:"LookupLocation"},{callbackName:"jsonp",errorField:"errorDetails"})];case 2:return[2,e.sent().resourceSets[0].resources[0].address];case 3:return e.sent(),[2,{formattedAddress:"".concat(n.lat.toFixed(4),", ").concat(n.long.toFixed(4))}];case 4:return[2]}}))}))}))},rae=["timelineItem","deleteByIds"],oae="BrowseListItem.SingleRowDelete",iae="".concat(cne,".browse"),aae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,rae),o=AC(),i=up(),a=cre(),s=Yte().overviewContent.overviewActivities.drawers.listItems,c=Yte().overviewContent.overviewActivities.drawers.detailsArea,l=eY((0,rl.useState)(!1),2),u=l[0],d=l[1],p=eY((0,rl.useState)(),2),h=p[0],f=p[1],m=eY((0,rl.useState)(!1),2),g=m[0],v=m[1],y=t,b={children:y.title},_={children:ml(c.visits,{count:y.count}),variant:"bodySecondaryText"},C={children:"".concat(vie(y.timestamp,y.aggregationMethod,s)),variant:"bodySecondaryText"},w={children:u?s.clearing:"",variant:"bodySecondaryText"},E=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"browse"),e.prev=1,i({name:"".concat(oae,".").concat(y.id),status:"updating"}),e.next=5,n([y.id]);case 5:d(!1),i({name:"".concat(oae,".").concat(y.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),d(!1),v(!0),i({name:"".concat(oae,".").concat(y.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),x=(0,rl.useCallback)((function(){d(!1),clearTimeout(h),hu()}),[h]),S=[{"aria-label":u?s.cancelAriaLabel:s.deleteAriaLabel,"data-bi-id":"".concat(iae,u?".cancel":".delete"),iconName:u?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:u?x:function(){d(!0),v(!1),f(setTimeout(E,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Overview.BrowseListItem",operationName:"".concat(oae,".").concat(y.id),defaultState:"finished"}}}],k=[{"aria-label":s.tryAgain,children:s.tryAgain,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":s.tryAgain,"data-bi-id":"".concat(iae,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],T=function(){return a.canManage?["xl","xxl","xxxl"].includes(o)?ol().createElement(QI,{contentType:g?"callout":"text",columnAlign:"end",calloutElements:k,textElements:[w],actionButtonProps:S}):ol().createElement(QI,{contentType:g?"callout":"none",columnAlign:"end",calloutElements:k,actionButtonProps:S}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":return ol().createElement(UN,Object.assign({},r,{key:y.id,variant:"SixTwoTwoTwo",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[b]}),ol().createElement(gN,{textElements:[_]}),ol().createElement(gN,{textElements:[C]}),T()]}));case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:y.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[b,_,w]}),ol().createElement(gN,{textElements:[C]}),T()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:y.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[b,_,C,w]}),T()]}))}})),sae="LocationListItem.SingleRowDelete",cae="".concat(cne,".location"),lae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=AC(),o=up(),i=cre(),a=Yte(),s=a.overviewContent.overviewActivities.drawers.listItems,c=a.overviewContent.overviewActivities.drawers.detailsArea,l=mte().bingMapsConfig,u=eY((0,rl.useState)(!1),2),d=u[0],p=u[1],h=eY((0,rl.useState)(),2),f=h[0],m=h[1],g=eY((0,rl.useState)(!1),2),v=g[0],y=g[1],b=eY((0,rl.useState)(""),2),_=b[0],C=b[1],w=t,E=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!w.location.lat||!w.location.long){e.next=5;break}return e.next=3,nae(l,{lat:w.location.lat,long:w.location.long});case 3:t=e.sent,C(t.formattedAddress);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();ll((function(){E()}));var x=[{children:_},wae(w,c)],S={children:vie(w.timestamp,w.aggregationMethod,s),variant:"bodySecondaryText"},k=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"location"),e.prev=1,o({name:"".concat(sae,".").concat(w.id),status:"updating"}),e.next=5,n([w.id]);case 5:p(!1),o({name:"".concat(sae,".").concat(w.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),p(!1),y(!0),o({name:"".concat(sae,".").concat(w.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),T=(0,rl.useCallback)((function(){p(!1),clearTimeout(f),hu()}),[f]),I=[{"aria-label":d?s.cancelAriaLabel:s.deleteAriaLabel,"data-bi-id":"".concat(cae,d?".cancel":".delete"),iconName:d?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:d?T:function(){p(!0),y(!1),m(setTimeout(k,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Overview.LocationListItem",operationName:"".concat(sae,".").concat(w.id),defaultState:"finished"}}}],A=[{"aria-label":s.tryAgain,children:s.tryAgain,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":s.tryAgain,"data-bi-id":"".concat(cae,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],P=function(){return i.canManage?ol().createElement(QI,{contentType:v?"callout":"none",columnAlign:"end",calloutElements:A,actionButtonProps:I}):ol().createElement(nN,null)};switch(r){case"xxxl":case"xxl":case"xl":case"l":case"m":return ol().createElement(UN,{key:w.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:x}),ol().createElement(gN,{textElements:[S]}),P()]});case"s":return ol().createElement(UN,{key:w.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[].concat(x,[S])}),P()]})}})),uae=["timelineItem","deleteByIds"],dae="MediaListItem.SingleRowDelete",pae="".concat(cne,".media"),hae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,uae),o=AC(),i=up(),a=cre(),s=Yte().overviewContent.overviewActivities.drawers.listItems,c=eY((0,rl.useState)(!1),2),l=c[0],u=c[1],d=eY((0,rl.useState)(),2),p=d[0],h=d[1],f=eY((0,rl.useState)(!1),2),m=f[0],g=f[1],v=t,y={listItemMediaProps:{image:_ie(v),size:"sm"},title:"".concat(v.title)},b={children:"".concat(v.appName),variant:"bodySecondaryText"},_={children:"".concat(vie(v.timestamp,v.aggregationMethod,s)),variant:"bodySecondaryText"},C={children:l?s.clearing:"",variant:"bodySecondaryText"},w=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"media"),e.prev=1,i({name:"".concat(dae,".").concat(v.id),status:"updating"}),e.next=5,n([v.id]);case 5:u(!1),i({name:"".concat(dae,".").concat(v.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),u(!1),g(!0),i({name:"".concat(dae,".").concat(v.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),E=(0,rl.useCallback)((function(){u(!1),clearTimeout(p),hu()}),[p]),x=[{"aria-label":s.tryAgain,children:s.tryAgain,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":s.tryAgain,"data-bi-id":"".concat(pae,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],S=[{"aria-label":l?s.cancelAriaLabel:s.deleteAriaLabel,"data-bi-id":"".concat(pae,l?".cancel":".delete"),iconName:l?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:l?E:function(){u(!0),g(!1),h(setTimeout(w,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Overview.MediaListItem",operationName:"".concat(dae,".").concat(v.id),defaultState:"finished"}}}],k=function(){return a.canManage?["xl","xxl","xxxl"].includes(o)?ol().createElement(QI,{contentType:m?"callout":"text",columnAlign:"end",calloutElements:x,textElements:[C],actionButtonProps:S}):ol().createElement(QI,{contentType:m?"callout":"none",columnAlign:"end",calloutElements:x,actionButtonProps:S}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":return ol().createElement(UN,Object.assign({},r,{key:v.id,variant:"SixTwoTwoTwo",backgroundColor:"neutralMed",columns:[ol().createElement(bN,y),ol().createElement(gN,{textElements:[b]}),ol().createElement(gN,{textElements:[_]}),k()]}));case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:v.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(bN,Object.assign({},y,{subtitles:[b,C]})),ol().createElement(gN,{textElements:[_]}),k()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:v.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(bN,Object.assign({},y,{subtitles:[b,_,C]})),k()]}))}})),fae=["timelineItem","deleteByIds"],mae="SearchListItem.SingleRowDelete",gae="".concat(cne,".search"),vae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,fae),o=AC(),i=up(),a=cre(),s=Yte().overviewContent.overviewActivities.drawers.listItems,c=Yte().overviewContent.overviewActivities.drawers.detailsArea,l=eY((0,rl.useState)(!1),2),u=l[0],d=l[1],p=eY((0,rl.useState)(),2),h=p[0],f=p[1],m=eY((0,rl.useState)(!1),2),g=m[0],v=m[1],y=t,b={children:"".concat(y.terms)},_={children:ml(c.searches,{count:y.count}),variant:"bodySecondaryText"},C={children:"".concat(vie(y.timestamp,y.aggregationMethod,s)),variant:"bodySecondaryText"},w={children:u?s.clearing:"",variant:"bodySecondaryText"},E=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"search"),e.prev=1,i({name:"".concat(mae,".").concat(y.id),status:"updating"}),e.next=5,n([y.id]);case 5:d(!1),i({name:"".concat(mae,".").concat(y.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),d(!1),v(!0),i({name:"".concat(mae,".").concat(y.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),x=(0,rl.useCallback)((function(){d(!1),clearTimeout(h),hu()}),[h]),S=[{"aria-label":s.tryAgain,children:s.tryAgain,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":s.tryAgain,"data-bi-id":"".concat(gae,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],k=[{"aria-label":u?s.cancelAriaLabel:s.deleteAriaLabel,"data-bi-id":"".concat(gae,u?".cancel":".delete"),iconName:u?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:u?x:function(){d(!0),v(!1),f(setTimeout(E,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Overview.SearchListItem",operationName:"".concat(mae,".").concat(y.id),defaultState:"finished"}}}],T=function(){return a.canManage?["xl","xxl","xxxl"].includes(o)?ol().createElement(QI,{contentType:g?"callout":"text",columnAlign:"end",calloutElements:S,textElements:[w],actionButtonProps:k}):ol().createElement(QI,{contentType:g?"callout":"none",columnAlign:"end",calloutElements:S,actionButtonProps:k}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":return ol().createElement(UN,Object.assign({},r,{key:y.id,variant:"SixTwoTwoTwo",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[b]}),ol().createElement(gN,{textElements:[_]}),ol().createElement(gN,{textElements:[C]}),T()]}));case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:y.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[b,_,w]}),ol().createElement(gN,{textElements:[C]}),T()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:y.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[b,_,C,w]}),T()]}))}})),yae=["timelineItem","deleteByIds"],bae="UsageListItem.SingleRowDelete",_ae="".concat(cne,".usage"),Cae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,yae),o=AC(),i=up(),a=cre(),s=Yte().overviewContent.overviewActivities.drawers.listItems,c=eY((0,rl.useState)(!1),2),l=c[0],u=c[1],d=eY((0,rl.useState)(),2),p=d[0],h=d[1],f=eY((0,rl.useState)(!1),2),m=f[0],g=f[1],v=t,y="".concat(vie(v.timestamp,v.aggregationMethod,s)),b={listItemMediaProps:{image:bie(v),size:"sm"},title:"".concat(v.appName)},_={children:"".concat(v.appPublisher),variant:"bodySecondaryText"},C={children:y,variant:"bodySecondaryText"},w={children:l?s.clearing:"",variant:"bodySecondaryText"},E=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"usage"),e.prev=1,i({name:"".concat(bae,".").concat(v.id),status:"updating"}),e.next=5,n([v.id]);case 5:u(!1),i({name:"".concat(bae,".").concat(v.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),u(!1),g(!0),i({name:"".concat(bae,".").concat(v.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),x=(0,rl.useCallback)((function(){u(!1),clearTimeout(p),hu()}),[p]),S=[{"aria-label":s.tryAgain,children:s.tryAgain,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":s.tryAgain,"data-bi-id":"".concat(_ae,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],k=[{"aria-label":l?s.cancelAriaLabel:s.deleteAriaLabel,"data-bi-id":"".concat(_ae,l?".cancel":".delete"),iconName:l?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:l?x:function(){u(!0),g(!1),h(setTimeout(E,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Overview.UsageListItem",operationName:"".concat(bae,".").concat(v.id),defaultState:"finished"}}}],T=function(){return a.canManage?["xl","xxl","xxxl"].includes(o)?ol().createElement(QI,{contentType:m?"callout":"text",columnAlign:"end",calloutElements:S,textElements:[w],actionButtonProps:k}):ol().createElement(QI,{contentType:m?"callout":"none",columnAlign:"end",calloutElements:S,actionButtonProps:k}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":return ol().createElement(UN,Object.assign({},r,{key:v.id,variant:"SixTwoTwoTwo",backgroundColor:"neutralMed",columns:[ol().createElement(bN,b),ol().createElement(gN,{textElements:[_]}),ol().createElement(gN,{textElements:[C],"data-fct-id":y}),T()]}));case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:v.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(bN,Object.assign({},b,{subtitles:[_,w]})),ol().createElement(gN,{textElements:[C],"data-fct-id":y}),T()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:v.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(bN,Object.assign({},b,{subtitles:[_,C,w],"data-fct-id":y})),T()]}))}})),wae=function(e,t){return e.sources&&e.sources.length&&e.sources.filter((function(e){return e.length>0})).join(", ")?{children:"".concat(e.sources.join(", ")," - ").concat(ml(t.visits,{count:e.count})),variant:"bodySecondaryText"}:{children:ml(t.visits,{count:e.count}),variant:"bodySecondaryText"}},Eae=["timelineItem","deleteByIds"],xae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,Eae),o=AC(),i=up(),a=cre(),s=Yte(),c=s.overviewContent.overviewActivities.dialogs,l=s.overviewContent.overviewActivities.drawers.detailsArea,u=mte().bingMapsConfig,d=eY((0,rl.useState)(!1),2),p=d[0],h=d[1],f=eY((0,rl.useState)(),2),m=f[0],g=f[1],v=eY((0,rl.useState)(!1),2),y=v[0],b=v[1],_="Dialog.LocationListItem.SingleRowDelete",C="".concat(gne,".location"),w=t,E=eY((0,rl.useState)(""),2),x=E[0],S=E[1],k=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!w.location.lat||!w.location.long){e.next=5;break}return e.next=3,nae(u,{lat:w.location.lat,long:w.location.long});case 3:t=e.sent,S(t.formattedAddress);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();ll((function(){k()}));var T=[{children:x},wae(w,l)],I={children:yie(w.timestamp),variant:"bodySecondaryText"},A=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"location"),e.prev=1,i({name:"".concat(_,".").concat(w.id),status:"updating"}),e.next=5,n([w.id]);case 5:h(!1),i({name:"".concat(_,".").concat(w.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),h(!1),b(!0),i({name:"".concat(_,".").concat(w.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),P=(0,rl.useCallback)((function(){h(!1),clearTimeout(m),hu()}),[m]),D=[{"aria-label":p?c.cancelAriaLabel:c.deleteAriaLabel,"data-bi-id":"".concat(C,p?".cancel":".delete"),iconName:p?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:p?P:function(){h(!0),b(!1),g(setTimeout(A,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Dialog.LocationListItem",operationName:"".concat(_,".").concat(w.id),defaultState:"finished"}}}],R=[{"aria-label":c.clearFailed,children:c.clearFailed,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":c.clearFailed,"data-bi-id":"".concat(C,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],M=function(){return a.canManage?ol().createElement(QI,{contentType:y?"callout":"none",columnAlign:"end",calloutElements:R,actionButtonProps:D}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:w.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:T}),ol().createElement(gN,{textElements:[I]}),M()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:w.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[].concat(T,[I])}),M()]}))}})),Sae=function(e){var t=e.date,n=e.timelineItemsAtDate,r=e.deleteByIds,o=n;return ol().createElement(FO,{key:t,header:ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"semi-bold"},t)),isAlwaysExpanded:!0,shadow:!0,listItemBackgroundColor:"neutralMed",roundedCorners:!1},o.map((function(e){return ol().createElement(xae,{key:e.id,timelineItem:e,deleteByIds:r})})))},kae=["timelineItem","deleteByIds"],Tae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,kae),o=AC(),i=Yte().overviewContent.overviewActivities.dialogs,a=up(),s=cre(),c=eY((0,rl.useState)(!1),2),l=c[0],u=c[1],d=eY((0,rl.useState)(),2),p=d[0],h=d[1],f=eY((0,rl.useState)(!1),2),m=f[0],g=f[1],v="Dialog.MediaListItem.SingleRowDelete",y="".concat(gne,".media"),b=t,_={listItemMediaProps:{image:_ie(b),size:"sm"},title:"".concat(b.title),titleTextVariant:"bodySecondaryText"},C={children:yie(b.timestamp),variant:"bodySecondaryText"},w=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"media"),e.prev=1,a({name:"".concat(v,".").concat(b.id),status:"updating"}),e.next=5,n([b.id]);case 5:u(!1),a({name:"".concat(v,".").concat(b.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),u(!1),g(!0),a({name:"".concat(v,".").concat(b.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),E=(0,rl.useCallback)((function(){hu(),u(!1),clearTimeout(p)}),[p]),x=[{"aria-label":l?i.cancelAriaLabel:i.deleteAriaLabel,"data-bi-id":"".concat(y,l?".cancel":".delete"),iconName:l?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:l?E:function(){zne(),u(!0),g(!1),h(setTimeout(w,ane))},text:"",operationData:{progressViewOperationData:{componentName:"Dialog.MediaListItem",operationName:"".concat(v,".").concat(b.id),defaultState:"finished"}}}],S=[{"aria-label":i.clearFailed,children:i.clearFailed,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":i.clearFailed,"data-bi-id":"".concat(y,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],k=function(){return s.canManage?ol().createElement(QI,{contentType:m?"callout":"none",columnAlign:"end",calloutElements:S,actionButtonProps:x}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:b.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(bN,_),ol().createElement(gN,{textElements:[C]}),k()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:b.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(bN,Object.assign({},_,{subtitles:[C]})),k()]}))}})),Iae=function(e){var t=e.date,n=e.timelineItemsAtDate,r=e.deleteByIds,o=n;return ol().createElement(FO,{key:t,header:ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"semi-bold"},t)),isAlwaysExpanded:!0,shadow:!0,listItemBackgroundColor:"neutralMed",roundedCorners:!1},o.map((function(e){return ol().createElement(Tae,{key:e.id,timelineItem:e,deleteByIds:r})})))},Aae=["timelineItem","deleteByIds"],Pae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,Aae),o=AC(),i=Yte().overviewContent.overviewActivities.dialogs,a=up(),s=cre(),c=eY((0,rl.useState)(!1),2),l=c[0],u=c[1],d=eY((0,rl.useState)(),2),p=d[0],h=d[1],f=eY((0,rl.useState)(!1),2),m=f[0],g=f[1],v="Dialog.SearchListItem.SingleRowDelete",y="".concat(gne,".search"),b=t,_=[{children:b.terms}],C={children:yie(b.timestamp),variant:"bodySecondaryText"},w=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"search"),e.prev=1,a({name:"".concat(v,".").concat(b.id),status:"updating"}),e.next=5,n([b.id]);case 5:u(!1),a({name:"".concat(v,".").concat(b.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),u(!1),g(!0),a({name:"".concat(v,".").concat(b.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),E=(0,rl.useCallback)((function(){u(!1),clearTimeout(p),hu()}),[p]),x=[{"aria-label":l?i.cancelAriaLabel:i.deleteAriaLabel,"data-bi-id":"".concat(y,l?".cancel":".delete"),iconName:l?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:l?E:function(){u(!0),g(!1),h(setTimeout(w,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Dialog.SearchListItem",operationName:"".concat(v,".").concat(b.id),defaultState:"finished"}}}],S=[{"aria-label":i.clearFailed,children:i.clearFailed,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":i.clearFailed,"data-bi-id":"".concat(y,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],k=function(){return s.canManage?ol().createElement(QI,{contentType:m?"callout":"none",columnAlign:"end",calloutElements:S,actionButtonProps:x}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:b.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:_}),ol().createElement(gN,{textElements:[C]}),k()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:b.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[].concat(_,[C])}),k()]}))}})),Dae=function(e){var t=e.date,n=e.timelineItemsAtDate,r=e.deleteByIds,o=n,i="".concat(gne,".search"),a=Yte().overviewContent.overviewActivities.dialogs;return ol().createElement(NO,{key:t,header:ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"semi-bold"},t)),isAlwaysExpanded:!0,shadow:!0,listItemBackgroundColor:"neutralHigh",roundedCorners:!1,expandButtonProps:{"aria-label":a.collapseExpandAriaLabel}},o.map((function(e){var t;return ol().createElement(Pae,{key:e.id,timelineItem:e,deleteByIds:r},null!==(t=e.sites)&&void 0!==t&&t.length?e.sites.map((function(e,t){return ol().createElement(UN,{key:t,backgroundColor:"neutralMed",columns:[ol().createElement(nR,{children:ol().createElement(jw,null,ol().createElement(Jw,null,e.title),ol().createElement(Kx,{"aria-label":e.title,"data-bi-id":"".concat(i,".visited-url"),"data-bi-dnt":"true",href:e.url,target:"_blank"},e.url))})],variant:"Twelve"})})):ol().createElement(UN,{variant:"Twelve",backgroundColor:"neutralMed",columns:[ol().createElement(gN,{textElements:[{children:a.noData}]})]}))})))},Rae=["timelineItem","deleteByIds"],Mae=PO((function(e){var t=e.timelineItem,n=e.deleteByIds,r=UK(e,Rae),o=AC(),i=Yte().overviewContent.overviewActivities.dialogs,a=up(),s=cre(),c=eY((0,rl.useState)(!1),2),l=c[0],u=c[1],d=eY((0,rl.useState)(),2),p=d[0],h=d[1],f=eY((0,rl.useState)(!1),2),m=f[0],g=f[1],v="Dialog.UsageListItem.SingleRowDelete",y="".concat(gne,".usage"),b=t,_={listItemMediaProps:{image:bie(b),size:"sm"},title:"".concat(b.appName)},C={children:b.appPublisher,variant:"bodySecondaryText"},w=function(){var e=vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Dy({},jne,"usage"),e.prev=1,a({name:"".concat(v,".").concat(b.id),status:"updating"}),e.next=5,n([b.id]);case 5:u(!1),a({name:"".concat(v,".").concat(b.id),status:"finished"}),fu({data:t}),e.next=16;break;case 10:e.prev=10,e.t0=e.catch(1),u(!1),g(!0),a({name:"".concat(v,".").concat(b.id),status:"update-failed",error:e.t0}),Une(t);case 16:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(){return e.apply(this,arguments)}}(),E=(0,rl.useCallback)((function(){u(!1),clearTimeout(p),hu()}),[p]),x=[{"aria-label":l?i.cancelAriaLabel:i.deleteAriaLabel,"data-bi-id":"".concat(y,l?".cancel":".delete"),iconName:l?"Cancel":"Delete",buttonColor:"neutralPrimary",onClick:l?E:function(){u(!0),g(!1),h(setTimeout(w,ane)),zne()},text:"",operationData:{progressViewOperationData:{componentName:"Dialog.UsageListItem",operationName:"".concat(v,".").concat(b.id),defaultState:"finished"}}}],S=[{"aria-label":i.clearFailed,children:i.clearFailed,calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":i.clearFailed,"data-bi-id":"".concat(y,".error-callout"),iconName:"Info",iconColor:"errorIcon"}}],k=function(){return s.canManage?ol().createElement(QI,{contentType:m?"callout":"none",columnAlign:"end",calloutElements:S,actionButtonProps:x}):ol().createElement(nN,null)};switch(o){case"xxxl":case"xxl":case"xl":case"l":case"m":return ol().createElement(UN,Object.assign({},r,{key:b.id,variant:"SixThreeThree",backgroundColor:"neutralMed",columns:[ol().createElement(bN,_),ol().createElement(gN,{textElements:[C]}),k()]}));case"s":return ol().createElement(UN,Object.assign({},r,{key:b.id,variant:"SixSix",backgroundColor:"neutralMed",columns:[ol().createElement(bN,Object.assign({},_,{subtitles:[C]})),k()]}))}})),Nae=function(e){var t=e.date,n=e.timelineItemsAtDate,r=e.deleteByIds,o=n;return ol().createElement(FO,{key:t,header:ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"semi-bold"},t)),isAlwaysExpanded:!0,shadow:!0,listItemBackgroundColor:"neutralMed",roundedCorners:!1},o.map((function(e){return ol().createElement(Mae,{key:e.id,timelineItem:e,deleteByIds:r})})))},Lae=function(e){var t=e.isHistoryView,n=e.timelineData,r=e.cardType,o=e.loadMore,i=e.deleteByIds,a="ShowAllDialog.loadMore.".concat(r),s="Overview.ShowAllDialogContent.".concat(r);Zd(s);var c="privacy.overview.show-all-dialog.".concat(r),l=Yte().overviewContent.overviewActivities.drawers.listItems,u=Yte().overviewContent.overviewActivities.dialogs,d=Yte().overviewContent.overviewActivities.drawers.location.mapLoading,p=up(),h=eY((0,rl.useState)(null),2),f=h[0],m=h[1],g=eY((0,rl.useState)(!1),2),v=g[0],y=g[1],b=[];"location"===r&&Object.entries(n.items).forEach((function(e){var t=eY(e,2),n=(t[0],t[1]);b.push({location:{latitude:n.location.lat,longitude:n.location.long}})})),(0,rl.useEffect)((function(){m(document.getElementById(Xte))}),[]),(0,rl.useEffect)((function(){t&&f&&(f.scrollTop=0)}),[t,f]);var _=(0,rl.useCallback)(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,y(!0),p({name:a,status:"updating"}),e.next=5,o();case 5:p({name:a,status:"finished"}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),p({name:a,status:"update-failed",error:e.t0});case 11:return e.prev=11,y(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])}))),[a,p,o]);(0,rl.useEffect)((function(){var e=!!n.state,t=function(){f&&(f.scrollTop+f.offsetHeight+5>=f.scrollHeight&&!v&&e&&_())};return e?null===f||void 0===f||f.addEventListener("scroll",t):null===f||void 0===f||f.removeEventListener("scroll",t),f&&e&&f.scrollHeight<=f.clientHeight&&!v&&_(),function(){null===f||void 0===f||f.removeEventListener("scroll",t)}}),[f,v,n,_]);var C=function(e,t){for(var n={},r=0,o=Object.values(e);r<o.length;r++){var i=o[r],a=vie(i.timestamp,i.aggregationMethod,t,!0);n.hasOwnProperty(a)?n[a].push(i):n[a]=[i]}return n}(n.items,l),w=Object.entries(C);return ol().createElement(ol().Fragment,null,ol().createElement(jw,{horizontal:!1},"location"===r&&ol().createElement(dJ,{spinnerAriaLabel:d,mapHeight:260,mapWidth:"100%",progressViewProps:{operationData:{componentName:"bingMapsLocationDialog",operationName:"loadBingMapsLocationDialog"}},mapItems:{pushPins:b}}),w.map((function(e){var t=eY(e,2),n=t[0],o=t[1];return function(e,t,n,r){var o={key:t,date:t,timelineItemsAtDate:n,deleteByIds:r};switch(e){case"usage":return ol().createElement(Nae,o);case"location":return ol().createElement(Sae,o);case"media":return ol().createElement(Iae,o);case"search":return ol().createElement(Dae,o);case"browse":return ol().createElement(eae,o);default:throw new Error("Dialog list requested for an unsupported data type")}}(r,n,o,i)}))),ol().createElement(hp,{operationData:{operationName:a,componentName:s,defaultState:"finished"},finishedView:ol().createElement(ol().Fragment,null),updatingView:ol().createElement(FO,{isAlwaysExpanded:!0},Array.from({length:5},(function(e,t){return ol().createElement(UN,{key:t,"aria-label":u.loadMoreAriaLabel,columns:[ol().createElement(mN,{mediaShimmerSize:16,shimmerLineProps:[{}]}),ol().createElement(fN,{shimmerLineProps:[{}]})],variant:"EightFour"})}))),updateFailedView:ol().createElement(FO,{roundedCorners:!1,listItemBackgroundColor:"neutralMed",header:ol().createElement(jw,{horizontal:!0,childrenGap:"12px"},ol().createElement(uw,{iconName:"Info",size:"16px",color:"errorIcon"}),ol().createElement(Qx,{textWithTokens:"".concat(u.loadMoreError," {tryAgainCta}"),tokensAndValues:{tryAgainCta:ol().createElement(Yx,{"aria-label":u.loadMoreError,"data-bi-id":"".concat(c,".load-more.try-again"),onClick:_},u.tryAgain)}})),isAlwaysExpanded:!0})}))},Oae=function(e){var t=e.showAllDialogState,n=e.setshowAllDialogState,r=e.onClearAllClick,o=e.historyViewData,i=e.loadMoreHistoryViewData,a=e.deleteHistoryViewDataByIds,s=e.recurringDeletes,c=e.onRecurringDeleteSuccessCallback,l="Overview.ShowAllDialog.".concat(t.dialogDataType);Zd(l);var u="ShowAllDialog.SearchFilter.".concat(t.dialogDataType),d="ShowAllDialog.SearchBulkDelete.".concat(t.dialogDataType),p="privacy.overview.show-all-dialog.".concat(t.dialogDataType),h="cardTypeFilter_".concat(t.dialogDataType),f=AC(),m=cre(),g=Ud(),v=up(),y=cB(),b=mte(),_=Yte().overviewContent.overviewActivities.dialogs,C=_[t.dialogDataType].showAllTitle,w=_[t.dialogDataType].clearAll,E=_.manageScheduledDelete,x=eY((0,rl.useReducer)(jie,{state:"",items:{}}),2),S=x[0],k=x[1],T=eY((0,rl.useState)(""),2),I=T[0],A=T[1],P=function(e,t){var n=eY((0,rl.useState)(e),2),r=n[0],o=n[1];return(0,rl.useEffect)((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),r}(I,500),D=eY((0,rl.useState)(!0),2),R=D[0],M=D[1],N=eY((0,rl.useState)(!1),2),L=N[0],O=N[1],F=eY((0,rl.useState)(!1),2),B=F[0],H=F[1],z=s&&s[h],U=(0,rl.useCallback)(vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,H(!0),v({name:u,status:"updating"}),e.next=5,Aie("",{startTime:rne,types:[h],searchTerm:P},m.authToken);case 5:t=e.sent,k({type:Zte,firstLoadResult:t}),M(!0),O(!1),v({name:u,status:"finished"}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),O(!0),v({name:u,status:"failed",error:e.t0});case 16:return e.prev=16,H(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[0,12,16,19]])}))),[m.authToken,P,v,h,u]),V=(0,rl.useCallback)(vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,H(!0),e.next=4,Aie(S.state,{startTime:rne,types:[h],searchTerm:P},m.authToken);case 4:t=e.sent,k({type:ene,loadMoreResult:t}),e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(0),e.t0;case 11:return e.prev=11,H(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[0,8,11,14]])}))),[h,m.authToken,P,S.state]),j=(0,rl.useCallback)(function(){var e=vte(jee().mark((function e(t){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,H(!0),e.next=4,a(t);case 4:setTimeout((function(){k({type:tne,idsToDelete:t})})),e.next=10;break;case 7:throw e.prev=7,e.t0=e.catch(0),e.t0;case 10:return e.prev=10,setTimeout((function(){H(!1)})),e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[0,7,10,13]])})));return function(t){return e.apply(this,arguments)}}(),[a]);(0,rl.useEffect)((function(){if(""===P)return M(!1),O(!1),void k({type:nne});U()}),[P,U]);var q=Yie(f),W=q.stickyHeaderFooter,G=q.dialogStyles,K=$te.includes(t.dialogDataType),Y=_[t.dialogDataType].searchBoxAriaLabel,Q=!P,X=Object.keys(S.items).length,J=0===X,$=!!!S.state&&J,Z=!Q&&(B||J),ee=!Q&&(R&&$||L),te=!Q&&R,ne=ml(_.clearList,{numOfItems:X}),re=ml(X<=1?_.clearListAriaLabelSingular:_.clearListAriaLabel,{numOfItems:X}),oe=Dy({},jne,t.dialogDataType),ie=function(){n({showDialog:!1,dialogDataType:null})},ae=(0,rl.useCallback)(vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t=Object.keys(S.items),du({area:b.areaPrefix,scenario:"FilteredBulkDelete",step:"Deleting"}),v({name:d,status:"updating"}),e.next=6,j(t);case 6:setTimeout((function(){fu({data:oe}),v({name:d,status:"finished"})})),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),fu({error:e.t0,data:oe}),v({name:d,status:"failed",error:e.t0});case 13:case"end":return e.stop()}}),e,null,[[0,9]])}))),[j,v,d,S.items]),se=ol().createElement(Yx,{"aria-label":te?re:w,"data-bi-id":"".concat(p,te?".clear-list":".clear-all"),onClick:te?ae:function(){r(t.dialogDataType)},disabled:Z},te?ne:w),ce=ol().createElement(Yx,{"aria-label":E,"data-bi-id":"".concat(p,".manage-scheduled-delete"),onClick:function(){ie();var e=s[h];du({area:b.areaPrefix,scenario:Dne,step:"Index",data:{activityType:t.dialogDataType,previousInterval:s,source:"ShowAllDialog"}}),y.openDialog(ol().createElement(Kie,{filterType:h,variant:"manage",interval:e.interval,status:e.status,onSuccessCallback:c}))}},E),le={isOpen:t.showDialog,title:C,closeButton:{"data-bi-id":"close-button","aria-label":_.closeAriaLabel},searchBoxProps:K?{"aria-label":Y,"data-bi-id":"".concat(p,".search-box"),placeholder:_.searchBoxPlaceholder,onChange:function(e,t){A(t||"")}}:void 0,subtitle:m.canManage&&!ee?{textWithTokens:z?"{clearAllCtaWithManageScheduledDelete}":"{clearAllCta}",tokensAndValues:{clearAllCtaWithManageScheduledDelete:ol().createElement(jw,{horizontal:!0,childrenGap:"16px"},se,ce),clearAllCta:se}}:void 0,headerLeftRightPadding:"16px",onDismiss:ie,stickyHeaderFooter:W,contentId:Xte,dialogStylesTemp:G,minBodyHeight:{height:80,unit:"vh"},bodyStyleTemp:Qie,dialogFooterProps:{dialogType:"secondary",buttonLeft:{onClick:function(){g.push({pathname:ine})},text:_.downloadData,"aria-label":_.downloadData,"data-bi-id":"".concat(p,".download-your-data")},buttonRight:{onClick:ie,text:_.close,"aria-label":_.closeAriaLabel,"data-bi-id":"".concat(p,".cancel")}}},ue=ol().useMemo((function(){return ol().createElement(Lae,{isHistoryView:Q,cardType:t.dialogDataType,timelineData:o,loadMore:i,deleteByIds:a})}),[Q,t.dialogDataType,o,i,a]),de=ol().useMemo((function(){return ol().createElement(Lae,{isHistoryView:Q,cardType:t.dialogDataType,timelineData:S,loadMore:V,deleteByIds:j})}),[Q,t.dialogDataType,S,V,j]),pe=ol().createElement(FO,{roundedCorners:!1,listItemBackgroundColor:"transparent",header:ol().createElement(jw,{horizontal:!0,childrenGap:"12px"},ol().createElement(uw,{iconName:"Blocked",size:"16px"}),ol().createElement(Qx,{textWithTokens:_.noResultMessage,tokensAndValues:{searchTerm:ol().createElement(Jw,{weightOverride:"bold"},P)}})),isAlwaysExpanded:!0}),he=ol().createElement(FO,{isAlwaysExpanded:!0},Array.from({length:11},(function(e,t){return ol().createElement(UN,{key:t,"aria-label":_.loadMoreAriaLabel,columns:[ol().createElement(mN,{mediaShimmerSize:16,shimmerLineProps:[{}]}),ol().createElement(fN,{shimmerLineProps:[{}]})],variant:"EightFour"})}))),fe=ol().createElement(FO,{roundedCorners:!1,listItemBackgroundColor:"neutralMed",header:ol().createElement(jw,{horizontal:!0,childrenGap:"12px"},ol().createElement(uw,{iconName:"Info",size:"16px",color:"errorIcon"}),ol().createElement(Qx,{textWithTokens:_.newSearchErrorMessage,tokensAndValues:{tryAgainCta:ol().createElement(Yx,{"aria-label":_.newSearchTryAgainAriaLabel,"data-bi-id":"".concat(p,".new-search.try-again"),onClick:U},_.tryAgain)}})),isAlwaysExpanded:!0}),me=ol().createElement(jw,{width:"100%",height:"100%",verticalAlign:"center",horizontalAlign:"center"},ol().createElement(DI,{spinnerSize:3,"aria-label":_.clearingListMessage,label:_.clearingListMessage,labelPosition:"bottom"})),ge=ol().createElement(ol().Fragment,null,ol().createElement(FO,{roundedCorners:!1,listItemBackgroundColor:"neutralMed",header:ol().createElement(jw,{horizontal:!0,childrenGap:"12px"},ol().createElement(uw,{iconName:"Info",size:"16px",color:"errorIcon"}),ol().createElement(Qx,{textWithTokens:_.clearListErrorMessage,tokensAndValues:{tryAgainCta:ol().createElement(Yx,{"aria-label":_.clearListTryAgainAriaLabel,"data-bi-id":"".concat(p,".clear-list.try-again"),onClick:ae},_.tryAgain)}})),isAlwaysExpanded:!0}),de),ve=ol().createElement(hp,{operationData:{operationName:u,componentName:l,defaultState:"finished"},updatingView:he,failedView:fe,finishedView:ol().createElement(hp,{operationData:{operationName:d,componentName:l,defaultState:"finished"},updatingView:me,failedView:ge,finishedView:$?pe:de})});return t.dialogDataType?ol().createElement(oB,le,Q?ue:ve):null};var Fae=function(e){var t=e.cms,n=e.prefix;return ol().createElement(jw,{horizontal:!0,childrenGap:"12px",padding:"0 16px 0 0"},ol().createElement(uw,{iconName:"Info",size:"16px"}),ol().createElement(Qx,{textWithTokens:t.noData,tokensAndValues:{"learn-more":ol().createElement(Kx,{"aria-label":t.learnMoreAriaLabel,"data-bi-id":"".concat(n,"-noData-learnMore-link"),href:t.learnMoreLink,target:"_blank"},t.learnMoreToken)}}))},Bae=function(e){var t=e.cms,n=e.prefix,r=e.header,o=e.oboContext,i=e.clearAllText,a=e.openConfirmationDialog,s=e.dataType;return ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:4},ol().createElement(Jw,{weightOverride:"semi-bold"},r)),ol().createElement(zw,{slots:8},ol().createElement(jw,{horizontal:!0,horizontalAlign:"end",childrenGap:"16px",padding:"0 16px 0 0"},ol().createElement(Kx,{"aria-label":t.downloadData,"data-bi-id":"".concat(n,".download-your-data"),to:{pathname:"/download-data"}},t.downloadData),o.canManage&&ol().createElement(Yx,{"aria-label":i,"data-bi-id":"".concat(n,".clear-all"),onClick:function(){return a(s)}},i))))},Hae=function(e){var t=e.cms,n=e.prefix,r=e.isRetrying,o=e.onRetryClick;return ol().createElement(jw,{horizontal:!0,childrenGap:"12px"},ol().createElement(uw,{iconName:"Info",size:"16px",color:"errorIcon"}),ol().createElement(Jw,null,t.retryHeader),ol().createElement(Yx,{key:"".concat(n,".try-again"),"aria-label":t.retryHeader,"data-bi-id":"".concat(n,".try-again"),onClick:o,disabled:r},t.tryAgain),r&&ol().createElement(DI,{"aria-label":t.retryInProgressAriaLabel}))},zae=1e9,Uae=1e6;function Vae(e,t){var n,r=cre(),o=Yte().overviewContent.overviewActivities,i={},a="privacy.overview.".concat(e);switch(e){case"location":n=o.drawers.location.highlightArea,i["location-windowsLink"]=ol().createElement(Kx,{"aria-label":n.tokens.windowsToken,"data-bi-id":"".concat(a,".windows-link"),href:n.links.windowsLink,target:"_blank"},n.tokens.windowsToken);break;case"browse":n=o.drawers.browse.highlightArea,i["browse-historyLink"]=ol().createElement(Kx,{"aria-label":n.tokens.historyToken,"data-bi-id":"".concat(a,".history-link"),href:n.links.historyLink,target:"_blank"},n.tokens.historyToken);break;case"search":n=o.drawers.search.highlightArea,i["search-viewChangeLink"]=ol().createElement(Kx,{"aria-label":n.tokens.viewChangeToken,"data-bi-id":"".concat(a,".view-change-link"),href:n.links.viewChangeLink,target:"_blank"},n.tokens.viewChangeToken);break;case"usage":n=o.drawers.usage.highlightArea,i["usage-diagnosticLink"]=ol().createElement(Kx,{"aria-label":n.tokens.diagnosticToken,"data-bi-id":"".concat(a,".diagnostic-link"),href:n.links.diagnosticLink,target:"_blank"},n.tokens.diagnosticToken);break;case"performance":n=o.drawers.performance.highlightArea,i["performance-manageDataLink"]=ol().createElement(Kx,{"aria-label":n.tokens.manageDataToken,"data-bi-id":"".concat(a,".manage-data-link"),href:n.links.manageDataLink,target:"_blank"},n.tokens.manageDataToken);break;default:throw new Error("HighlightArea requested for unsupported data type")}var s,c=Object.values(n.bodyText),l=c.map((function(t,n){return 0===n?{textWithTokens:t,tokensAndValues:i}:"location"===e&&n===c.length-1?{textWithTokens:"{0}",tokensAndValues:{0:ol().createElement(jw,{padding:"8px 0px 0px 0px"},ol().createElement(Qx,{textWithTokens:t,tokensAndValues:i}))}}:{textWithTokens:"{0}",tokensAndValues:{0:ol().createElement("ul",{style:{padding:"8px 16px 0px"}},ol().createElement("li",null,ol().createElement(Qx,{textWithTokens:t,tokensAndValues:i})))}}})),u=function(e){return{kind:"noHrefLink","aria-label":n.tokens.learnToken,"data-bi-id":"".concat(a,"-learn-link"),children:n.tokens.learnToken,underline:!0,onClick:function(){!function(e){window.O365Shell.NFD.OpenHelp(e)}(e)}}};switch(e){case"location":s=n.links.learnLink?[{actionProps:u("AMC_PrivacyDashboard_Location")}]:[];break;case"search":s=n.links.learnLink?[{actionProps:u("AMC_PrivacyDashboard_SearchHistory")}]:[];break;case"performance":s=r.canManage?[{actionProps:{kind:"button",type:"primary","aria-label":n.tokens.buttonToken,"data-bi-id":"".concat(a,".clear-all"),onClick:function(){return t("performance")},text:n.tokens.buttonToken}}]:[];break;case"browse":case"usage":s=n.links.learnLink?[{actionProps:{kind:"hyperlink","aria-label":n.tokens.learnToken,"data-bi-id":"".concat(a,"-learn-link"),href:n.links.learnLink,children:n.tokens.learnToken,target:"_blank",underline:!0}}]:[];break;default:throw new Error("Help link requested for unsupported data type")}return{height:"small",backgroundType:"card",bodyText:l,imageProps:{alt:n.image.alt,src:n.image.src},layoutType:"2/3",paddingVariant:"64px",borderRadius:"0px",ctaProps:s}}var jae=function(e){var t=e.dataType,n="overview.activityDrawers.".concat(t);Zd(n);var r="ActivityDrawers.getTimelineHistory.".concat(t),o="cardTypeFilter_".concat(t),i=mte(),a=up(),s=cB(),c=cre(),l=Yte().overviewContent,u=l.overviewActivities.drawers,d=l.recurringDelete,p=(0,rl.useContext)(Uie).setShowSatisfactionSurvey,h=eY((0,rl.useReducer)(jie,{state:"",items:{}}),2),f=h[0],m=h[1],g=eY((0,rl.useState)({showDialog:!1,dialogDataType:null}),2),v=g[0],y=g[1],b=eY((0,rl.useState)({showDialog:!1,dialogDataType:null}),2),_=b[0],C=b[1],w=eY((0,rl.useState)(!1),2),E=w[0],x=w[1],S=eY((0,rl.useState)(!1),2),k=S[0],T=S[1],I=eY((0,rl.useState)(-1),2),A=I[0],P=I[1],D=eY((0,rl.useState)({}),2),R=D[0],M=D[1],N=(0,rl.useCallback)(vte(jee().mark((function e(){var t,n;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=-1,e.prev=1,e.next=4,Pie(o,c.authToken);case 4:t=e.sent,P(t),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(1);case 10:if(n={state:"",items:[]},0===t){e.next=15;break}return e.next=14,Aie("",{startTime:rne,types:[o],searchTerm:""},c.authToken);case 14:n=e.sent;case 15:m({type:Zte,firstLoadResult:n});case 16:case"end":return e.stop()}}),e,null,[[1,8]])}))),[c.authToken,o]),L=(0,rl.useCallback)(vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Aie(f.state,{startTime:rne,types:[o],searchTerm:""},c.authToken);case 2:t=e.sent,m({type:ene,loadMoreResult:t});case 4:case"end":return e.stop()}}),e)}))),[o,f.state,c.authToken]),O=(0,rl.useCallback)(vte(jee().mark((function e(){var n;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("performance"===t){e.next=10;break}return e.prev=1,e.next=4,Pie(o,c.authToken);case 4:n=e.sent,P(n),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}}),e,null,[[1,8]])}))),[t,o,c.authToken]),F=(0,rl.useCallback)(vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Mie(c.authToken);case 3:t=e.sent,M(t),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,null,[[0,7]])}))),[c.authToken]),B=(0,rl.useCallback)(function(){var e=vte(jee().mark((function e(t){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(!0),e.next=3,Rie(t,o,c.authToken);case 3:return e.next=5,O();case 5:setTimeout((function(){m({type:tne,idsToDelete:t})}));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[o,c.authToken,O,p]),H=(0,rl.useCallback)(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(!0),e.next=3,Die([o],c.authToken);case 3:return e.next=5,O();case 5:m({type:nne});case 6:case"end":return e.stop()}}),e)}))),[o,c.authToken,O,p]),z=function(e){eu(Tne),Vne(),C({showDialog:!0,dialogDataType:e})},U=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,x(!0),a({name:r,status:"updating"}),e.next=5,N();case 5:a({name:r,status:"finished"}),T(!1),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(0),a({name:r,status:"failed",error:e.t0}),T(!0);case 13:return e.prev=13,x(!1),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[0,9,13,16]])})));return function(){return e.apply(this,arguments)}}(),V=function(e,t){if(!e&&!t)throw Error("OverviewDrawer: Must provide recurringDelete data if recurringDelete is not turned off");M({});var n=R;e?delete n[o]:n[t.activityType]=t,M(n)};(0,rl.useEffect)((function(){var e=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"performance"!==t){e.next=4;break}return a({name:r,status:"finished"}),e.abrupt("return");case 4:return a({name:r,status:"first-load"}),e.next=7,Promise.all([N(),F()]);case 7:a({name:r,status:"finished"}),T(!1),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(0),a({name:r,status:"failed",error:e.t0}),T(!0);case 15:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}();e()}),[c.authToken,t,a,r,N,F]);var j=function(e,t,n){var r,o=mte(),i=["s","m"].includes(AC()),a=Yte().overviewContent.overviewActivities,s=mte().areaPrefix,c="".concat(s,".overview.drawers.").concat(e,".toggle");switch(e){case"location":r=a.drawers.location.drawerArea;break;case"browse":r=a.drawers.browse.drawerArea;break;case"search":r=a.drawers.search.drawerArea;break;case"usage":r=a.drawers.usage.drawerArea;break;case"performance":r=a.drawers.performance.drawerArea;break;default:throw new Error("Drawer requested for unsupported data type")}var l=function(){return n>=zae?ml(a.drawers.detailsArea.dataCountOverBillion,Math.floor(n/zae)):n>=Uae?ml(a.drawers.detailsArea.dataCountOverMillion,Math.floor(n/Uae)):n.toLocaleString(o.language)},u=-1!==n,d=ol().createElement(Jw,{variant:"headerText"},r.header);u&&i&&(d=ol().createElement(Qx,{textWithTokens:"{0} {1}",tokensAndValues:{0:ol().createElement(Jw,{variant:"headerText"},r.header),1:ol().createElement(Jw,{variant:"bodyPrimaryText"},"(",0===n?a.drawers.detailsArea.dataCountZero:l(),")")}}));var p=[{column:ol().createElement(wI,{media:{size:"sm",image:{imageType:"image",src:r.icon.src},padding:"0px 4px"},title:{kind:"text",weightOverride:"semi-bold",children:d},subtitleTextProps:{children:r.subtitle}}),slots:u&&!i?9:12}];if(u&&!i){var h=l(),f=0===n?a.drawers.detailsArea.dataCountZero:ml(r.dataCount,h);p.push({column:ol().createElement(yI,{statusAlignment:"end",textWeightOverride:"semi-bold"},f),slots:3})}return{onClickToOpen:function(){return Soe(!0,c,s)},onClickToClose:function(){return Soe(!1,c,s)},defaultExpanded:t,drawerHeader:ol().createElement(UI,{totalSlots:12,chevronPosition:"end",columns:p})}}(t,E,A),q=Vae(t,z),W=ol().createElement(tO,Object.assign({key:t},q)),G=function(e,t,n,r,o,i,a){var s,c,l,u=cre(),d=Yte().overviewContent.overviewActivities.drawers.detailsArea,p="privacy.overview.".concat(t);switch(t){case"browse":s=d.showMore.browseAriaLabel,c=d.clearAll.browseText,l=d.historyHeader;break;case"location":s=d.showMore.locationAriaLabel,c=d.clearAll.locationText,l=d.header;break;case"search":s=d.showMore.searchAriaLabel,c=d.clearAll.searchText,l=d.historyHeader;break;case"usage":s=d.showMore.usageAriaLabel,c=d.clearAll.usageText,l=d.header;break;case"performance":s="",c="",l=""}var h,f=Object.values(e);h=i?ol().createElement(Hae,{cms:d,prefix:p,isRetrying:a,onRetryClick:o}):0===f.length?ol().createElement(Fae,{cms:d,prefix:p}):ol().createElement(Bae,{cms:d,prefix:p,header:l,oboContext:u,clearAllText:c,openConfirmationDialog:r,dataType:t});var m="".concat(p,".show-more");return{isAlwaysExpanded:!0,roundedCorners:!1,listItemBackgroundColor:"neutralMed",header:h,footer:f.length>=1?{links:[{onClick:function(){return n(t)},"data-bi-id":m,"aria-label":s,id:m,children:d.showMore.text}],shadow:!1}:void 0}}(f.items,t,(function(e){tu(),y({showDialog:!0,dialogDataType:e})}),z,U,k,E),K=Object.values(f.items).slice(0,5),Y=ol().createElement(FO,Object.assign({key:t},G),K.map((function(e){return function(e,t,n){switch(e){case"usage":return ol().createElement(Cae,{key:t.id,timelineItem:t,deleteByIds:n});case"location":return ol().createElement(lae,{key:t.id,timelineItem:t,deleteByIds:n});case"media":return ol().createElement(hae,{key:t.id,timelineItem:t,deleteByIds:n});case"search":return ol().createElement(vae,{key:t.id,timelineItem:t,deleteByIds:n});case"browse":return ol().createElement(aae,{key:t.id,timelineItem:t,deleteByIds:n});default:throw new Error("List item requested for an unsupported data type")}}(t,e,B)}))),Q=[];switch(t){case"performance":Q=[];break;case"location":var X=K.map((function(e){return{location:{latitude:e.location.lat,longitude:e.location.long}}}));Q=Q.concat(ol().createElement(tz,{key:"location-activity-details",backgroundColor:"neutralMed",childrenGap:0,firstSegment:ol().createElement(dJ,{spinnerAriaLabel:u.location.mapLoading,mapHeight:"100%",mapWidth:"100%",progressViewProps:{operationData:{componentName:"bingMapsLocationDrawer",operationName:"loadBingMapsLocationDrawer"}},mapItems:{pushPins:X}}),secondSegment:Y,variant:"SixSix",minHeight:350}));break;default:Q=Q.concat(Y)}if(R&&R[o]){var J=R[o],$="info",Z="";switch(J.status){case"active":Z=ml(d.status.active,[Gie[J.interval],dS(J.nextDelete)]);break;case"paused":$="warning",Z=J.lastSucceededDelete?ml(d.status.paused,dS(J.lastSucceededDelete)):d.status.pausedWithNoLastSucceededDelete;break;case"failed":$="warning",Z=ml(d.status.failed,dS(J.nextDelete))}Q=Q.concat(ol().createElement(EH,{key:"manage-recurring-delete-".concat(t),messageBarType:$,messageContent:Z,actionProps:{actionType:"noHrefLink",children:d.status.manageActionText,"data-bi-id":"manage-recurring-delete-".concat(t),"aria-label":d.status.manageLinkAriaLabel,onClick:function(){return e=J.interval,n=J.status,du({area:i.areaPrefix,scenario:Dne,step:"Index",data:{activityType:t,previousInterval:e,source:"OverviewDrawer"}}),void s.openDialog(ol().createElement(Kie,{filterType:o,variant:"manage",interval:e,status:n,onSuccessCallback:V}));var e,n}}}))}return ol().createElement(Ob,{operationData:{componentName:n,operationName:r},firstLoadView:ol().createElement(lB,{anchor:"right"}),finishedView:ol().createElement(jw,{id:"overview-drawer-".concat(t)},ol().createElement(dz,{key:t,drawerAreaProps:j,highlightArea:W,detailsArea:Q}),v.showDialog&&ol().createElement(Oae,{showAllDialogState:v,setshowAllDialogState:y,onClearAllClick:function(e){eu(Tne),Vne(),C({showDialog:!0,dialogDataType:e}),y(My(My({},v),{},{showDialog:!1}))},historyViewData:f,loadMoreHistoryViewData:L,deleteHistoryViewDataByIds:B,recurringDeletes:R,onRecurringDeleteSuccessCallback:V}),_.showDialog&&ol().createElement(Jie,{confirmationDialogState:_,setConfirmationDialogState:C,onClearAllCancel:function(){eu(Hl);var e=Dy({},jne,_.dialogDataType);v.dialogDataType&&y(My(My({},v),{},{showDialog:!0})),C({showDialog:!1,dialogDataType:null}),hu({data:e})},deleteAll:H,recurringDeletes:R,onRecurringDeleteSuccessCallback:V})),updatingView:ol().createElement(dz,{key:t,drawerAreaProps:j,highlightArea:W,detailsArea:Q}),failedView:ol().createElement(dz,{key:t,drawerAreaProps:j,highlightArea:W,detailsArea:Q})})},qae=function(){return ol().createElement(jw,{childrenGap:"8px"},Jte.map((function(e){return ol().createElement(jae,{dataType:e,key:e})})),Xp("Priv3PAppAccess")&&ol().createElement(Sie,null))},Wae=function(){var e,t=Yte().overviewContent.activitySectionHeader,n=cre(),r=mte().selfAndKids;e=n.canManage?r?t.adultWithChild:t.adultNoChild:t.cannotManage;var o=t.contactText,i={viewDataLink:ol().createElement(Kx,{"aria-label":t.viewYourDataToken,"data-bi-id":"".concat(cne,".view-your-data-link"),href:t.viewYourDataLink,target:"_blank"},t.viewYourDataToken),contactLink:ol().createElement(Kx,{"aria-label":t.contactToken,"data-bi-id":"".concat(cne,".contact-link"),href:t.contactLink,target:"_blank"},t.contactToken)},a=r?ml(t.familyMemberActivities,[r.self.displayName]):"",s=r?[{key:"0",id:"self",text:a,ariaLabel:a}].concat(zK(r.kids.map((function(e,n){var r=ml(t.familyMemberActivities,[e.displayName]);return{id:"kid".concat(n),key:"".concat(n+1),text:r,ariaLabel:r}})))):[],c=Ud(),l=new URLSearchParams(Vd().search.toLowerCase()),u=eY((0,rl.useState)(0),2),d=u[0],p=u[1];return(0,rl.useEffect)((function(){var e=l.get("idx")||"",t=Number(e),n=s[t]?t:0;p(n)}),[]),ol().createElement(ol().Fragment,null,ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:8},ol().createElement(kw,{tag:"h2"},t.drawerIntroHeader)),ol().createElement(zw,{slots:4,textAlignment:"right"},r?ol().createElement(aH,{alignTitle:"right",dropdownStyle:"borderless",pageArea:"privacy","data-bi-prefix":"".concat(cne,".person-picker"),"aria-label":t.dropdownAriaLabel,value:"".concat(d),options:s,onChange:function(e,t,n,r){l.set("idx","".concat(r)),c.replace({search:l.toString()}),p(r||0),Hie()}}):null)),ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:9},ol().createElement(Qx,{textWithTokens:e,tokensAndValues:i}))),o&&ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:9},ol().createElement(Qx,{textWithTokens:o,tokensAndValues:i}))))},Gae=function(){var e=Yte(),t=cre(),n=e.overviewContent.overviewIntro;return ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:8},ol().createElement(kw,{tag:"h2"},n.title))),ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:9},ol().createElement(Jw,null,t.canManage?n.description:n.descriptionUnderSa))),ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:9},ol().createElement(Kx,{"data-bi-id":"".concat(lne,".cta"),"aria-label":n.link.ariaLabel||n.link.text,underline:!0,href:n.link.url,target:koe(n.link.target)},n.link.text))))};var Kae={serviceAlerts:[]},Yae=(ol().createContext({pageArea:"",initialAlerts:Kae,strings:void 0,getAlerts:function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){return[2,Kae]}))}))},fixPiAction:function(){},payNowAction:function(){},alertsCallback:void 0}),"/api/promotion-campaigns"),Qae=("".concat(Yae,"/campaign-data"),"".concat(Yae,"/campaign-data-jadis")),Xae=("".concat(Yae,"/campaigns-data"),"".concat(Yae,"/campaign-batch-data"),[2e3,2040]),Jae={},$ae=function(t){return sh(Jae,t,(function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var n;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Op(Qae,{operation:"GLOBAL.CAMPAIGNS.GETCAMPAIGNDATAFORJADIS"},{params:{surfaceName:t}})];case 1:return n=e.sent(),[2,Zae(JSON.parse(n.data),t)]}}))}))}))},Zae=function(e,t){if(e&&"error"in e){var n=e.error;if(Xae.includes(n.code))return{surfaceName:t};throw Error("Iris error code ".concat(n.code,": ").concat(n.msg))}return{model:e,surfaceName:t}},ese={},tse="Common.ACWMessageBar",nse=function(e,t,n){var r="common.acwmessagebar";switch(t){case"Email":return"".concat(r,".").concat(e,".email.").concat(n);case"SMS":return"".concat(r,".").concat(e,".phone.").concat(n);case"MsftAuthApp":return"".concat(r,".").concat(e,".authapp.").concat(n)}},rse=function(t){var n=t.pageArea,r=t.returnUrl,o=t.emailProofAlertStrings,i=t.phoneProofAlertStrings,a=t.getAccountState,s=t.impressionBeaconUrl,c=t.clickBeaconUrl,l=t.clientId,u=t.ocid,d=t.uaid,p=t.cv,h=t.mkt,f=t.origin,m=t.id,g=t.scenarioTracking,v=t.variant,y=(0,rl.useState)(),b=y[0],_=y[1],C=(0,rl.useState)(!1),w=C[0],E=C[1],x=up(),S=function(e,t){return"".concat(tse,".").concat(e,".").concat(t)}(n,"GetAccountState"),k="s"===AC(),T=Xp("ACWCooldownOnDismiss"),I=function(e,t,n,r,o){void 0===o&&(o=.5);var i=ol().useRef(null),a=jz(r||i,o),s=!r||a,c=(0,rl.useState)(!1),l=c[0],u=c[1];return[s?ol().createElement(VH,{url:e}):ol().createElement(ol().Fragment,null),l?ol().createElement(VH,{url:t.replace(/{ACTION}/g,"click")}):ol().createElement(ol().Fragment,null),function(e){n&&n(e),u(!0)}]}(s,c),A=I[0],P=I[1],D=I[2],R=(0,rl.useState)(!1),M=R[0],N=R[1],L=function(e,t){var o=e.actionUrl;if("home"===n&&Xp("ACWExpHomeStart")){var i=new RegExp("add","i");o=o.replace(i,"start")}var a=new URL(o);return a.searchParams.append("uaid",d),a.searchParams.append("cv",p),a.searchParams.append("client_id",l),a.searchParams.append("client_flight",u),"walk"===v&&(a.searchParams.append("mkt",h),a.searchParams.append("origin",f)),a.searchParams.append("ru",r),{messageBarType:"warning",messageContent:e.title,actionProps:{actionType:"hyperlink",children:e.landingPageButton,"aria-label":e.landingPageButton,"data-bi-id":nse(n,t,"cta"),href:a.href,onClick:function(e){D(e),"Email"===t?null===g||void 0===g||g.scenarioReportEmailAlertCtaClicked():null===g||void 0===g||g.scenarioReportPhoneAlertCtaClicked()}},dismissButtonProps:{pageArea:n,onDismiss:function(){E(!1),T&&N(!0)},"data-bi-id":nse(n,t,"close"),"aria-label":e.buttonDismissText},messageBarVariant:"floating",id:m}};return ll((function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,n,r,s,c,l,u,d,p,h,f,m;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),x({name:S,status:"first-load"}),[4,a()];case 1:if(t=e.sent(),(n=t.missingProofs).length>0)for(r=0,s=n;r<s.length;r++){if("Email"===(c=s[r])&&o){_(L(o,c)),E(!0),T||N(!0),null===g||void 0===g||g.scenarioReportEmailAlertShown();break}if("SMS"===c&&i){_(L(i,c)),E(!0),T||N(!0),null===g||void 0===g||g.scenarioReportPhoneAlertShown();break}}return x({name:S,status:"finished"}),[3,3];case 2:return l=e.sent(),u=l,Xp("ACWGSAErrorHandling")?(d=null===(f=null===(h=null===(p=u.response)||void 0===p?void 0:p.data)||void 0===h?void 0:h.data)||void 0===f?void 0:f.signInLink,401===(null===(m=u.response)||void 0===m?void 0:m.status)?(x({name:S,status:"finished",customData:u}),d&&(window.location.href=d)):x({name:S,status:"failed",error:u})):x({name:S,status:"failed",error:u}),[3,3];case 3:return[2]}}))}))})),ol().createElement(hp,{operationData:{componentName:tse,operationName:S},firstLoadView:ol().createElement(ol().Fragment,null),finishedView:ol().createElement(ol().Fragment,null,w&&ol().createElement(EH,(0,e.__assign)({},b,{isMultiline:k})),M&&A,P),failedView:ol().createElement(ol().Fragment,null)})},ose=function(t){var n=t.gsaServiceConfig,r=(0,e.__rest)(t,["gsaServiceConfig"]),o=(0,rl.useState)([gJ(n.scopeResourceUri)])[0],i=(0,rl.useState)(!0),a=i[0],s=i[1],c={scopes:o,fallback:rte.None,shouldLoad:a},l=hte(c),u=l.accessToken,d=l.accessTokenAcquisitionStatus,p=(0,rl.useState)(ol().createElement(ol().Fragment,null)),h=p[0],f=p[1];return(0,rl.useEffect)((function(){var t;"success"===d&&u?f(ol().createElement(rse,(0,e.__assign)({},r,{getAccountState:(t=u,function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var o,i;return(0,e.__generator)(this,(function(a){switch(a.label){case 0:return[4,(s={accessToken:t,gsaServiceConfig:n,reportingData:{uaid:r.uaid}},(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(t){return[2,sh(ese,"getAccountState",(function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Op("".concat(s.gsaServiceConfig.endpoint).concat("/v1/accountstate"),{operation:"GLOBAL.ACCOUNTSTATE.GET.ACCOUNTSTATE",customData:s.reportingData},{responseType:"json",headers:{Authorization:"Bearer ".concat(s.accessToken)}})];case 1:return[2,e.sent().data]}}))}))}))]}))})))];case 1:return o=a.sent(),i=function(e){var t=[];if(e.goodStateRecommendations.recoverable){var n=e.goodStateRecommendations.recoverable.proofAccruals;n&&(t=n.flatMap((function(e){return e.proofOptions})).sort((function(e,t){return e.priority-t.priority})).map((function(e){return e.proof})))}return t}(o),[2,{missingProofs:i}]}var s}))}))})}))):"failed"===d&&s(!1)}),[d,u]),h},ise={},ase=function(t){var n=(0,e.__rest)(t,[]);return ol().createElement(rse,(0,e.__assign)({},n,{getAccountState:function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,r;return(0,e.__generator)(this,(function(o){switch(o.label){case 0:return[4,(i={reportingData:{uaid:n.uaid}},(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(t){return[2,sh(ise,"getAccountState",(function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Op("".concat("/security/api/account-state","/account-state"),{operation:"GLOBAL.SECURITY.ACCOUNTSTATE.GETACCOUNTSTATE",customData:i.reportingData})];case 1:return[2,e.sent().data]}}))}))}))]}))})))];case 1:return t=o.sent(),r=function(e){var t=[];if(e.goodStateRecommendations.recoverable){var n=e.goodStateRecommendations.recoverable.proofAccruals;n&&(t=n.flatMap((function(e){return e.proofOptions})).sort((function(e,t){return e.priority-t.priority})).map((function(e){return e.proof})))}return t}(t),[2,{missingProofs:r}]}var i}))}))}}))},sse="MSAAPI",cse=wte([yte.Unauthorized]),lse=function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ete("".concat(Dte,"/msa/authenticator-enabled-status"),"".concat(Mte,".").concat(sse,".GETAUTHENTICATORENABLEDSTATUS"))];case 1:return[2,e.sent()]}}))}))},use=function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ete("".concat(Dte,"/msa/user-proofs"),"".concat(Mte,".").concat(sse,".GETUSERPROOFS"),{},{overrideRequestQosData:cse})];case 1:return[2,e.sent()]}}))}))},dse=function(t){var n=(0,e.__rest)(t,[]);return ol().createElement(rse,(0,e.__assign)({},n,{getAccountState:function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,n;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,use()];case 1:return t=e.sent(),n=function(e){var t=[];return 1===e.emails.length&&0===e.phoneNumbers.length&&(t.push("Email"),t.push("SMS")),0===e.emails.length&&e.phoneNumbers.length>=1&&t.push("Email"),t}(t),[2,{missingProofs:n}]}}))}))}}))},pse=function(e){if(!e)return"";var t=e.charAt(0).toUpperCase(),n=e.slice(1).toLowerCase();return"".concat(t).concat(n)},hse=function(e){var t=pse(e);return"AMC_ACW_".concat(t)},fse="EmailAlertCtaClicked",mse="PhoneAlertCtaClicked",gse="ALCRedirect",vse="ALCRedirectResume",yse="ACWRedirect",bse="ACWRedirectResume",_se=function(e,t){Au("N/A","ACWMessageBar","common.acwmessagebar.".concat(e,".").concat(t))},Cse=function(t,n){return{scenarioReportEmailAlertShown:function(){_se(t,"email")},scenarioReportPhoneAlertShown:function(){_se(t,"phone")},scenarioReportEmailAlertCtaClicked:function(){du({area:t,scenario:hse(t),step:fse}),mu({step:"crawl"===n?gse:yse})},scenarioReportPhoneAlertCtaClicked:function(){du({area:t,scenario:hse(t),step:mse}),mu({step:"crawl"===n?gse:yse})},scenarioReportCancel:function(){hu()},scenarioReportUserBack:function(r){var o="crawl"===n?vse:bse,i="crawl"===n?gse:yse;!function(t){var n;gu(t),Zl(t.step),null===(n=window.BradburyTelemetry)||void 0===n||n.scenarios.endStep({area:t.area,name:t.scenario,step:t.fromStep,next:t.step,isSuccess:!t.error,error:t.error,attribution:t.attribution,data:(0,e.__assign)((0,e.__assign)({},t.data),uu)})}({area:t,scenario:hse(t),fromStep:i,step:"".concat(o,".").concat(r)})},scenarioReportSuccessfulEnd:function(){fu()}}},wse="Common.AMCACWMessageBar",Ese=function(e,t){var n;return e.has(t)&&(n=e.get(t)),n},xse=function(t){var n=t.pageArea,r=t.returnUrl,o=t.accountStateSource,i=t.clientId,a=t.ocid,s=t.language,c=t.content,l=t.variant,u=(0,rl.useState)(),d=u[0],p=u[1],h=(0,rl.useState)(!1),f=h[0],m=h[1],g=up(),v=function(e,t){return"".concat(wse,".").concat(e,".").concat(t)}(n,"GetCampaignForJadis"),y=Cse(n,l),b=_re(),_=Vd(),C=new URLSearchParams(_.search),w=Ese(C,"status"),E=Ese(C,"res");ll((function(){w&&E&&(y.scenarioReportUserBack(E),"completed"===w?(y.scenarioReportSuccessfulEnd(),Xp("ACWShowSuccessSurvey")&&b("acw-success-survey",s)):"canceled"===w&&(y.scenarioReportCancel(),Xp("ACWShowCancelSurvey")&&b("acw-cancel-survey",s)))}));var x=ase;"getAccountStateMsaljs"===o.kind?x=ose:"getUserProofs"===o.kind&&(x=dse);var S=function(e,t){void 0===e&&(e=""),void 0===t&&(t="");var c=al().replace(/-/g,""),u=yu(),d=s,p="AMC_".concat(pse(n));return{pageArea:n,returnUrl:r,gsaServiceConfig:"getAccountStateMsaljs"===o.kind?o.gsaServiceConfig:void 0,impressionBeaconUrl:e,clickBeaconUrl:t,clientId:i,ocid:a,uaid:c,cv:u,mkt:d,origin:p,id:"".concat(n,".acw.messagebar"),scenarioTracking:y,variant:l}};return ll((function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,n,r,o,i,a,s,u,d,h;return(0,e.__generator)(this,(function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),g({name:v,status:"first-load"}),Xp("ACWBypassIris")?(s=S(),t={title:c.neverLoseAccessToYourMicrosoftAccount,landingPageButton:c.addAnAlternateEmailAddressLink.text,actionUrl:"walk"===l?c.addRecoveryMethodLink.url:c.addAnAlternateEmailAddressLink.url,buttonDismissText:c.close},n={title:c.neverLoseAccessToYourMicrosoftAccount,landingPageButton:c.addARecoveryPhoneNumberLink.text,actionUrl:"walk"===l?c.addRecoveryMethodLink.url:c.addARecoveryPhoneNumberLink.url,buttonDismissText:c.close},p((0,e.__assign)((0,e.__assign)({},s),{emailProofAlertStrings:t,phoneProofAlertStrings:n})),m(!0),[3,3]):[3,1];case 1:return r=Xp("ACWIrisV2"),[4,$ae(r?"common.acw.messagebar.v2":"common.acw.messagebar")];case 2:(o=f.sent()).model&&(i=o.model.ad,a=i.proofOption,s=S(o.model.prm._imp,o.model.tracking.baseUri),u=Xp("ACWWalkSameStrings"),d="walk"===l?function(e,t,n){return{title:t?n.title:e.addAnAdditionalRecoveryMethod,landingPageButton:t?n.landingPageButton:e.addRecoveryMethodLink.text,actionUrl:e.addRecoveryMethodLink.url,buttonDismissText:t?n.buttonDismissText:e.close}}(c,u,i):i,"Email"===a?(p((0,e.__assign)((0,e.__assign)({},s),{emailProofAlertStrings:d})),m(!0)):"SMS"===a&&Xp("ACWShowPhoneAlert")&&(p((0,e.__assign)((0,e.__assign)({},s),{phoneProofAlertStrings:d})),m(!0))),f.label=3;case 3:return g({name:v,status:"finished"}),[3,5];case 4:return h=f.sent(),g({name:v,status:"failed",error:h}),[2];case 5:return[2]}}))}))})),ol().createElement(hp,{operationData:{componentName:wse,operationName:v},firstLoadView:ol().createElement(ol().Fragment,null),finishedView:f&&ol().createElement(x,(0,e.__assign)({},d)),failedView:ol().createElement(ol().Fragment,null)})},Sse=function(){var e=mte(),t=Yte().overviewContent,n=window.location.href,r=Xp(Tle),o=Xp("ACWWalk"),i=r?{kind:"getAccountStateMsaljs",gsaServiceConfig:e.gsaServiceConfig}:{kind:"getAccountStateWebrole"},a={pageArea:e.areaPrefix,returnUrl:n,accountStateSource:i,ocid:"cmmoce5ixjk",clientId:e.amcmsaAppConfig.clientIdHex,language:e.language,content:t.acwMessageBar};return ol().createElement(xse,Object.assign({},a,{variant:o?"walk":"crawl"}))},kse=function(){var e,t=Yte().overviewContent.productSettings;t.descriptionToken&&(e={descriptionToken:ol().createElement(Kx,{"aria-label":t.descriptionToken.ariaLabel,"data-bi-id":"".concat(une,".sub-heading-link"),href:t.descriptionToken.url,target:"_blank"},t.descriptionToken.text)});var n={products:Object.entries(t.products).map((function(e){var t=eY(e,2),n=t[0],r=t[1];return"office"===n?{"data-bi-id":"".concat(une,".").concat(n),"aria-label":r.link.ariaLabel||r.link.text,mediaText:r.link.text,mediaImage:{imageType:"image",src:r.logo.src},ctaUrl:"privacy/data-settings",target:"_self"}:{"data-bi-id":"".concat(une,".").concat(n),"aria-label":r.link.ariaLabel||r.link.text,mediaText:r.link.text,mediaImage:{imageType:"image",src:r.logo.src},ctaUrl:r.link.url}})),"aria-label":t.arialabel};return ol().createElement(jw,{childrenGap:"12px"},ol().createElement(jw,{childrenGap:"5px"},ol().createElement(kw,{tag:"h2",variant:"paneHeader"},t.title),e?ol().createElement(Qx,{textWithTokens:t.description,tokensAndValues:e}):ol().createElement(Jw,null,t.description)),ol().createElement(tU,n))},Tse=wte([yte.Unauthorized,yte.PreconditionFailed]),Ise=function(t){var n=t.toggleState,r=t.stateCallback,o=cB(),i=up(),a=Yte().overviewContent.recommendPeople,s=Bne,c=function(){var t=vte(jee().mark((function t(){return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,i({name:s,status:"updating"}),t.next=4,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Dte,"/user-controls/opt-out"),"".concat(Mte,".USERCONTROLS.OPTOUTASYNC"),{},{},{overrideRequestQosData:Tse})];case 1:return[2,e.sent()]}}))}));case 4:r(n),i({name:s,status:"finished"}),fu(),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(0),i({name:s,status:"update-failed",error:t.t0}),fu({error:t.t0});case 13:o.closeDialog();case 14:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(){return t.apply(this,arguments)}}(),l=function(){r(!n),o.closeDialog(),hu()};return ol().createElement(oB,{closeButton:{"aria-label":a.dialogContent.cancel,"data-bi-id":"recommend-people-dialog-close"},dialogFooterProps:{buttonPrimary:{"aria-label":a.dialogContent.confirm,"data-bi-id":"recommend-people-dialog-confirm",onClick:c,text:a.dialogContent.confirm},buttonSecondary:{"aria-label":a.dialogContent.cancel,"data-bi-id":"recommend-people-dialog-close",onClick:l,text:a.dialogContent.cancel}},isOpen:!0,onDismiss:l,title:a.dialogContent.header},ol().createElement(Qx,{textWithTokens:a.dialogContent.description,tokensAndValues:{"downloadDataLink'":ol().createElement(Kx,{"aria-label":a.highlightArea.downloadDataLink.text,"data-bi-id":"recommend-people-download-data-link",href:a.highlightArea.downloadDataLink.url,target:"_blank"},a.highlightArea.downloadDataLink.text)}}))},Ase=function(e){return{alt:e.highlightArea.image.alt,src:e.highlightArea.image.src}},Pse=function(e){return ol().createElement(EH,{messageBarType:"secondary",messageContent:{textWithTokens:"{0}",tokensAndValues:{0:ol().createElement(Kx,{"aria-label":e.drawerArea.learnMoreLink.text,"data-bi-id":"recommend-people-learn-more",href:e.drawerArea.learnMoreLink.url,target:"_blank"},e.drawerArea.learnMoreLink.text)}}})},Dse=function(){var t=cB(),n=up(),r=eY((0,rl.useState)(!0),2),o=r[0],i=r[1],a=eY((0,rl.useState)(!1),2),s=a[0],c=a[1],l=Yte(),u=mte(),d=u.areaPrefix,p=u.userEmail,h=l.overviewContent.recommendPeople,f="userControls.recommendPeople.get",m=Bne,g="recommend-people-drawer",v="recommend-people-toggle",y="68px",b="end",_=function(e){i(e)},C=function(){var t=vte(jee().mark((function t(){var r,o;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!p){t.next=15;break}return t.prev=1,n({name:f,status:"first-load"}),t.next=5,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ite(!1,"UserControls","".concat(Dte,"/user-controls"),"".concat(Mte,".USERCONTROLS.GETSTATUSASYNC"),{},{overrideRequestQosData:Tse})];case 1:return[2,e.sent()]}}))}));case 5:o=t.sent,i(null!==(r=null===o||void 0===o?void 0:o.conversationHistoryProcessingEnabled)&&void 0!==r&&r),n({name:f,status:"finished"}),t.next=15;break;case 10:t.prev=10,t.t0=t.catch(1),c(!0),n({name:f,status:"update-failed"}),fu({error:t.t0});case 15:case"end":return t.stop()}}),t,null,[[1,10]])})));return function(){return t.apply(this,arguments)}}();ll((function(){C()}));var w,E=function(){var r=vte(jee().mark((function r(a,s){return jee().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(du({area:d,scenario:"ManageRecommendPeople",step:"onChange",data:{initialToggleState:o,newToggleState:s}}),s){r.next=5;break}t.openDialog(ol().createElement(Ise,{toggleState:!!s,stateCallback:_})),r.next=18;break;case 5:return r.prev=5,n({name:m,status:"updating"}),r.next=9,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Dte,"/user-controls/opt-in"),"".concat(Mte,".USERCONTROLS.OPTINASYNC"),{},{},{overrideRequestQosData:Tse})];case 1:return[2,e.sent()]}}))}));case 9:i(s),n({name:m,status:"finished"}),fu(),r.next=18;break;case 14:r.prev=14,r.t0=r.catch(5),n({name:m,status:"update-failed",error:r.t0}),fu({error:r.t0});case 18:case"end":return r.stop()}}),r,null,[[5,14]])})));return function(e,t){return r.apply(this,arguments)}}(),x={column:ol().createElement(wI,{media:{size:"sm",image:{imageType:"image",src:h.drawerArea.icon.src},padding:"0px 4px"},title:{children:h.drawerArea.header,kind:"text",nowrap:!0,weightOverride:"semi-bold"},subtitleTextProps:{children:h.drawerArea.subtitle}}),slots:9},S={onClickToOpen:function(){return Soe(!0,g,d)},onClickToClose:function(){return Soe(!1,g,d)},defaultExpanded:!1,drawerHeader:ol().createElement(UI,{chevronPosition:b,columns:[x,{column:ol().createElement(HI,{"aria-label":h.drawerArea.toggleAriaLabel,"data-bi-id":v,togglePosition:b,onText:h.drawerArea.toggleOn,offText:h.drawerArea.toggleOff,disabled:s,checked:o,onChange:E}),slots:3}],minHeight:y,totalSlots:12})},k={defaultExpanded:!1,drawerHeader:ol().createElement(UI,{chevronPosition:b,columns:[x,{column:ol().createElement(HI,{operationData:{progressViewOperationData:{defaultState:"finished",componentName:v,operationName:m},errorCallout:{errorMessage:h.drawerArea.toggleError,errorMessageAriaLabel:h.drawerArea.toggleAriaLabel,targetOrTriggerButton:{"aria-label":h.drawerArea.toggleAriaLabel,"data-bi-id":"".concat(v,".error")}}},"aria-label":h.drawerArea.toggleAriaLabel,"data-bi-id":v,togglePosition:b,onText:h.drawerArea.toggleOn,offText:h.drawerArea.toggleOff,checked:o,onChange:E}),slots:3}],minHeight:y,totalSlots:12})},T={highlightArea:ol().createElement(tO,{id:g,backgroundType:"card",bodyText:(w=h,{textWithTokens:"{0}",tokensAndValues:{0:ol().createElement(jw,null,ol().createElement("ul",{style:{padding:"8px 16px 0px"}},ol().createElement("li",null,ol().createElement(Jw,null,w.highlightArea.bodyText.line1)),ol().createElement("li",null,ol().createElement(Jw,null,w.highlightArea.bodyText.line2))))}}),bodyTextVariant:"bodyPrimaryText",height:"small",imageProps:Ase(h),layoutType:"2/3",paddingVariant:"64px",borderRadius:"0px"}),detailsArea:Pse(h)};return ol().createElement(ol().Fragment,null,p?ol().createElement(Ob,{operationData:{operationName:f,componentName:g},firstLoadView:ol().createElement(lB,{anchor:"right"}),finishedView:ol().createElement(dz,Object.assign({drawerAreaProps:S},T)),failedView:ol().createElement(dz,Object.assign({drawerAreaProps:k},T))}):null)};var Rse,Mse,Nse="/auth/acquire-onbehalf-of-token",Lse="GLOBAL.OAUTH.GETTOKENS",Ose={},Fse=function(t,n){return void 0===t&&(t="MSComServiceMBISSL"),void 0===n&&(n=!1),(0,e.__awaiter)(void 0,void 0,void 0,(function(){var r;return(0,e.__generator)(this,(function(o){return r=Bse(t),n&&ah(Ose,r),[2,sh(Ose,r,(function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Op(Nse,{operation:Lse},{params:{scopes:t}})];case 1:return[2,e.sent().data]}}))}))}))]}))}))},Bse=function(e){return"token_".concat(e)},Hse=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var n,r,o;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,4,,5]),[4,Fse(t)];case 1:return n=e.sent(),(r=zse(n))?Use(r.expiration)?[3,3]:[4,Fse(t,!0)]:(function(e){ah(Ose,e)}(Bse(t)),[2,Promise.reject({message:Vse(n)})]);case 2:if(n=e.sent(),!(r=zse(n)))return[2,Promise.reject({message:"No access token after reload"})];e.label=3;case 3:return[2,Promise.resolve(r)];case 4:return o=e.sent(),[2,Promise.reject(o)];case 5:return[2]}}))}))},zse=function(e){if(e&&e.length>0){var t=e[0].token,n=e[0].tokenExpiry;if(e[0].isSuccess&&t&&t.length>0&&n)return{token:t,expiration:n,scope:e[0].tokenName,type:"bearer"}}},Use=function(e){return new Date(e).valueOf()>(new Date).valueOf()},Vse=function(e){return e&&e.length>0&&!e[0].isSuccess&&e[0].errorMessage?e[0].errorMessage:"No access token"},jse="profile",qse="".concat(jse,".engaged"),Wse="".concat(jse,".unengaged"),Gse=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var n,r,o,i,a;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:switch(n=function(e){var t=Ute("mock-scenarios",!1).split(",").filter((function(t){return-1!==t.indexOf(e)}));return t.length>0?t[0]:""}(jse),n){case qse:return[2,{pictureStatus:"hasPicture",url:"https://account.microsoft.com/Resources/Images/testProfilePicture.png"}];case Wse:return[2,{pictureStatus:"noProfilePicture",url:""}]}e.label=1;case 1:return e.trys.push([1,3,,4]),t.userId&&"0"!==t.userId?[4,Op("https://graph.microsoft.com/v1.0/users/PUID:".concat(t.userId.padStart(16,"0"),"@").concat("84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa","/photo/$value"),{operation:"GLOBAL.MSGRAPH.GET.USER.PROFILEIMAGE"},{responseType:"blob",headers:{Authorization:"Bearer ".concat(t.accessToken)}})]:[2,{pictureStatus:"noUserId",url:""}];case 2:return r=e.sent(),[2,{pictureStatus:"hasPicture",url:URL.createObjectURL(r.data)}];case 3:if(o=e.sent(),(i=o).isAxiosError&&404===(null===(a=i.response)||void 0===a?void 0:a.status))return[2,{pictureStatus:"noProfilePicture",url:""}];throw i;case 4:return[2]}}))}))},Kse=PO((function(e){var t=e.isComplete,n=e.viewIndex,r=e.stepTitle,o=e.stepText,i=Yte().overviewContent.safetyCheckup.dialogV2Beta.roster,a=woe(),s=a.currentStep,c=a.setCurrentStep,l={"aria-label":t?i.reviewAction:i.getStarted,"data-bi-id":"".concat(hoe,".").concat(s,".").concat(n,".item"),onClick:function(){return c(n)},pageArea:"privacy.safety-checkup-v2Beta"};return ol().createElement(UN,{onClickProps:l,columns:[ol().createElement(bN,{listItemMediaProps:{image:{iconName:t?"CompletedSolid":"InfoSolid",iconColor:t?"successIcon":"highlighter",imageType:"icon"},size:"md"},title:r,titleTextVariant:"subjectTitle",subtitles:[{children:o}]}),ol().createElement(rN,{columnAlign:"end",contentType:"none",iconName:"ChevronRight"})],variant:"EightFour"})})),Yse=function(){var t,n=Yte(),r=mte().userPuid,o="LoadProfilePicture",i=woe(),a=i.userProofStates,s=i.setUserProofStates,c=i.newOfficeSettingsUser,l=n.overviewContent.safetyCheckup.dialogV2Beta,u=function(){var e=vte(jee().mark((function e(){var t,n;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,use();case 3:return t=e.sent,e.next=6,lse();case 6:n=e.sent,s((function(e){return My(My({},e),{},{hasRecoveryEmail:t.emails&&t.emails.length>0,hasRecoveryPhone:t.phoneNumbers&&t.phoneNumbers.length>0,isAuthenticatorEnabled:n.isAuthenticatorEnabled})})),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(0);case 12:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();ll((function(){u()}));var d=[{state:a.hasRecoveryEmail||a.hasRecoveryPhone,index:goe.accountInfo,title:l.roster.accountInfoTitle,incompleteDescription:l.roster.accountInfoDescriptionIncomplete,completeDescription:l.roster.accountInfoDescriptionComplete},{state:a.hasAuthenticator,index:goe.authenticatorInfo,title:l.roster.authenticatorTitle,incompleteDescription:l.roster.authenticatorDescriptionIncomplete,completeDescription:l.roster.authenticatorDescriptionComplete},{state:a.hasEdge,index:goe.safeBrowsing,title:l.roster.edgeTitle,incompleteDescription:l.roster.edgeDescriptionIncomplete,completeDescription:l.roster.edgeDescriptionComplete},{state:!0,index:goe.moreSafetyResources,title:l.roster.additionalLinksTitle,incompleteDescription:l.roster.additionalLinksDescriptionIncomplete,completeDescription:l.roster.additionalLinksDescriptionComplete},{state:!c,index:goe.officeSettings,title:l.roster.officeSettingsTitle,incompleteDescription:l.roster.officeSettingsDescriptionIncomplete,completeDescription:l.roster.officeSettingsDescriptionComplete}],p=d.filter((function(e){return!0===e.state?e:null})),h=d.filter((function(e){return!1===e.state?e:null})),f=function(e){return ol().createElement(dz,{detailsArea:ol().createElement(FO,{isAlwaysExpanded:!0,borderRadius:"8px"},e.map((function(e){return function(e){return ol().createElement(Kse,{isComplete:!!e.state,viewIndex:e.index,stepTitle:e.title,stepText:e.state?e.completeDescription:e.incompleteDescription,key:e.title})}(e)})))})},m=eY((0,rl.useState)([r.valueAsHex]),1)[0],g=function(t){var n=t.operationName,r=t.userIds,o=up(),i=(0,rl.useState)({}),a=i[0],s=i[1],c=function(){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,i,a,c,l,u,d,p,h,f,m,g,v,y,b;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),o({name:n,status:"first-load"}),[4,Hse("MSGraphUserReadAll")];case 1:for(t=e.sent(),i=[],a={},c=function(e){i.push(Gse({accessToken:t.token,userId:e}).then((function(t){a[e]=t})))},l=0,u=r;l<u.length;l++)d=u[l],c(d);return[4,Promise.all(i)];case 2:return e.sent(),s(a),o({name:n,status:"finished"}),[3,4];case 3:return p=e.sent(),h=p,m=null===(y=null===(v=null===(g=(f=p).response)||void 0===g?void 0:g.data)||void 0===v?void 0:v.data)||void 0===y?void 0:y.signInLink,401===(null===(b=f.response)||void 0===b?void 0:b.status)?(o({name:n,status:"finished"}),m&&(window.location.href=m)):o({name:n,status:"update-failed",error:h}),[3,4];case 4:return[2]}}))}))};return(0,rl.useEffect)((function(){c()}),[r]),{profilePictureData:a,reloadImages:c}}({userIds:m,operationName:o}),v=g.profilePictureData,y="".concat(hoe,".personaPicture");return ol().createElement(ol().Fragment,null,0===h.length&&ol().createElement("div",{style:{position:"relative"}},ol().createElement(jw,null,ol().createElement(sI,{src:l.images.congratsImage.src,alt:l.images.congratsImage.alt,width:"100%"}),ol().createElement("div",{style:{position:"absolute",left:0,right:0,marginLeft:"auto",marginRight:"auto"}},ol().createElement(jw,{horizontal:!0,horizontalAlign:"center",textAlignment:"center"},ol().createElement(jw,{padding:"20px 0px 0px",horizontalAlign:"center"},ol().createElement(KP,{id:y,trackingId:y,operationData:{componentName:y,operationName:o},imageUrl:null===(t=v[m[0]])||void 0===t?void 0:t.url,size:"72",hideText:!0}))),ol().createElement(jw,{horizontal:!0,horizontalAlign:"center",textAlignment:"center"},ol().createElement(jw,{padding:"20px 0px 0px",horizontalAlign:"center"},ol().createElement(Jw,{variant:"paneTitle",weightOverride:"semi-bold"},l.roster.congratulationsMessage),ol().createElement(Jw,null,l.roster.appreciationMessage)))))),h.length>0&&ol().createElement(jw,{padding:"0 0 42px 0"},ol().createElement(jw,{padding:"0 0 16px 0"},ol().createElement(Jw,{variant:"subjectTitle"},l.roster.incompleteActions)),f(h)),p.length>0&&ol().createElement(ol().Fragment,null,ol().createElement(jw,{padding:"0 0 16px 0"},ol().createElement(Jw,{variant:"subjectTitle"},l.roster.completeActions)),f(p)))},Qse=PO((function(e){var t=e.proofType,n=e.proofValue,r=e.isDrawer,o=Yte(),i=mte().areaPrefix,a=o.overviewContent.safetyCheckup.dialog.accountInfo,s="Email"===t,c=s?a.emailLabel:a.phoneLabel,l=s?a.addOrRemoveEmailAriaLabel:a.addOrRemovePhoneAriaLabel,u=s?a.addEmailAriaLabel:a.addPhoneAriaLabel,d=s?"Mail":"CellPhone",p="".concat(hoe,s?".edit-recovery-email":".edit-recovery-phone"),h=n?a.links.addOrRemoveLink:s?a.links.addEmailLink:a.links.addPhoneLink,f=n?l:u,m={listItemMediaProps:{image:{imageType:"icon",iconName:d,iconColor:"themePrimary"},padding:r?"0px 0px 0px 36px":"0",size:"md"},title:n||"",titleTextVariant:"headerText",subtitles:[{variant:"bodySecondaryText",children:c}]},g=function(){window.open(h,"_blank")},v={actionButtonProps:[{"aria-label":f,"data-bi-id":p,onClick:g,text:n?a.addOrRemove:a.add}],contentType:"none"};return ol().createElement(jN,{backgroundColor:r?"neutralMed":"transparent",leftColumn:ol().createElement(bN,m),rightColumn:ol().createElement(QI,v),onClickProps:{"aria-label":f,"data-bi-id":p,onClick:g,pageArea:i},showDivider:!r})})),Xse="".concat(hoe,".get-user-proofs-dialog"),Jse="get-user-proofs",$se=goe.accountInfo,Zse=function(){var e=woe(),t=e.currentStep,n=e.totalSteps,r=e.isFlowEnded,o=e.setUserProofStates,i=up(),a=Yte(),s=mte().areaPrefix,c=rb().palette,l=eY((0,rl.useState)({emails:[],phones:[]}),2),u=l[0],d=l[1],p=(0,rl.useCallback)(vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i({name:Jse,status:"updating"}),e.prev=1,e.next=4,use();case 4:t=e.sent,d({emails:t.emails,phones:t.phoneNumbers}),o((function(e){return My(My({},e),{},{hasRecoveryEmail:t.emails&&t.emails.length>0,hasRecoveryPhone:t.phoneNumbers&&t.phoneNumbers.length>0})})),i({name:Jse,status:"finished"}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),i({name:Jse,status:"failed",error:e.t0});case 13:case"end":return e.stop()}}),e,null,[[1,10]])}))),[i]);document.onvisibilitychange=function(){"visible"===document.visibilityState&&p()};var h=a.overviewContent.safetyCheckup.dialog,f={src:a.overviewContent.safetyCheckup.dialogV2Beta.images.accountInfoImage.src,alt:a.overviewContent.safetyCheckup.dialogV2Beta.images.accountInfoImage.alt,imageType:"altTextImage"},m=[];return u&&u.emails&&u.emails.length>0?u.emails.map((function(e){m.push({proofType:"Email",val:e})})):m.push({proofType:"Email",val:""}),u&&u.phones&&u.phones.length>0?u.phones.map((function(e){m.push({proofType:"Phone",val:e})})):m.push({proofType:"Phone",val:""}),(0,rl.useEffect)((function(){t===$se&&(p(),pu({step:voe(t)}),$d({clickId:"".concat(hoe,".account-info.view"),pageArea:s}))}),[p,t,i]),ol().createElement(jw,null,!r&&ol().createElement(ZX,{numberOfSteps:n,currentStep:t+1,dotColor:"themePrimary"}),ol().createElement(jw,{horizontalAlign:"center",margin:"8px 0",padding:"10px 0 0 0"},ol().createElement(sI,f)),ol().createElement(jw,{horizontalAlign:"center",margin:"8px 0",textAlignment:"center"},ol().createElement(Jw,{variant:"pageTitle"},h.accountInfo.title)),function(e,t,n,r,o,i){var a=n.overviewContent.safetyCheckup.dialog,s=n.overviewContent.safetyCheckup.dialogV2Beta.wizard,c={backgroundColor:t?"neutralMed":"transparent",leftColumn:ol().createElement(_N,{title:e?t?a.accountInfo.description:s.accountInfoDescription:a.phoneInfo.description}),rightColumn:ol().createElement(rN,{contentType:"none"})},l=ol().createElement(jw,{height:"193px",backgroundColor:o,verticalAlign:"center"},ol().createElement(DI,{"aria-label":a.loading})),u=ol().createElement(FO,{isAlwaysExpanded:!0,isTabbable:!0},i.map((function(e,n){return ol().createElement(Qse,{key:n,proofType:e.proofType,proofValue:e.val,isDrawer:t})}))),d=ol().createElement(jw,{height:"193px",padding:"8px 56px"},ol().createElement(Jw,{variant:"errorBlockIcon",children:a.error}));return ol().createElement(jw,{backgroundColor:o},ol().createElement("div",{style:yoe(r,t)},ol().createElement(jN,Object.assign({key:"account-info-title",showDivider:!1,removeRole:!0},c))),ol().createElement(hp,{operationData:{componentName:Xse,operationName:"get-user-proofs"},updatingView:l,finishedView:u,failedView:d}))}(!0,!1,a,c.white,"transparent",m))},ece="".concat(hoe,".get-authenticator-status-dialog"),tce="get-authenticator-status",nce=goe.authenticatorInfo,rce=function(){var e=Yte(),t=mte().areaPrefix,n=rb().palette,r=woe(),o=r.currentStep,i=r.totalSteps,a=r.isFlowEnded,s=r.userProofStates,c=up(),l=eY((0,rl.useState)(!1),2),u=l[0],d=l[1],p=e.overviewContent.safetyCheckup.dialog,h=(0,rl.useCallback)(vte(jee().mark((function e(){var t;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c({name:tce,status:"updating"});try{t=!!s.hasAuthenticator,d(t),c({name:tce,status:"finished"})}catch(n){c({name:tce,status:"failed",error:n})}case 2:case"end":return e.stop()}}),e)}))),[c]);(0,rl.useEffect)((function(){o===nce&&(h(),pu({step:voe(o)}),$d({clickId:"".concat(hoe,".authenticator.view"),pageArea:t}))}),[o,h,c]);var f={src:e.overviewContent.safetyCheckup.dialogV2Beta.images.authenticatorImage.src,alt:e.overviewContent.safetyCheckup.dialogV2Beta.images.authenticatorImage.alt,imageType:"altTextImage"};return ol().createElement(jw,null,!a&&ol().createElement(ZX,{numberOfSteps:i,currentStep:o+1,dotColor:"themePrimary"}),ol().createElement(jw,{horizontalAlign:"center",margin:"8px 0",padding:"10px 0 0 0"},ol().createElement(sI,f)),ol().createElement(jw,{horizontalAlign:"center",margin:"8px 0",textAlignment:"center"},ol().createElement(Jw,{variant:"pageTitle"},p.authenticator.title)),function(e,t,n,r,o,i){var a=t.overviewContent.safetyCheckup.dialog,s=t.overviewContent.safetyCheckup.dialogV2Beta.wizard,c={backgroundColor:o,leftColumn:ol().createElement(_N,{title:a.authenticator.description}),rightColumn:ol().createElement(rN,{contentType:"none"})},l=i?a.authenticator.usingAuthenticator:a.authenticator.tryAuthenticator,u=i?e?a.authenticator.usingAuthenticatorDescription:s.authenticatorDescriptionComplete:e?a.authenticator.tryAuthenticatorDescription:s.authenticatorDescriptionIncomplete,d={backgroundColor:o,leftColumn:ol().createElement(bN,{listItemMediaProps:{image:{imageType:"image",src:a.authenticator.iconAuth.src},padding:e?"0px 0px 0px 40px":"0",size:"md"},title:l,titleTextVariant:"headerText",subtitles:[{children:u,variant:"bodySecondaryText"}]}),rightColumn:ol().createElement(rN,{contentType:"none",iconName:"ChevronRight"}),onClickProps:{"aria-label":u,"data-bi-id":"".concat(hoe,i?".using-auth-link":".try-auth-link"),onClick:function(){var e=i?a.authenticator.links.usingAuthAppLink:a.authenticator.links.tryAuthAppLink;window.open(e,"_blank")},pageArea:n}},p=ol().createElement(jw,{height:"193px",backgroundColor:"neutralHigh",verticalAlign:"center"},ol().createElement(DI,{"aria-label":a.loading})),h=ol().createElement(FO,{isAlwaysExpanded:!0,isTabbable:!0},ol().createElement(jN,Object.assign({key:"authenticator-description",showDivider:!1},d))),f=ol().createElement(jw,{height:"193px",padding:"8px 56px"},ol().createElement(Jw,{variant:"errorBlockIcon",children:a.error}));return ol().createElement(jw,{backgroundColor:o},ol().createElement("div",{style:yoe(r,e)},ol().createElement(jN,Object.assign({key:"authenticator-title",showDivider:!1,removeRole:!0},c))),ol().createElement("div",{style:e?void 0:boe(r)},ol().createElement(hp,{operationData:{componentName:ece,operationName:"get-authenticator-status"},updatingView:p,finishedView:h,failedView:f})))}(!1,e,t,n.white,"transparent",u))},oce=goe.moreSafetyResources,ice=function(){var e=Yte(),t=mte().areaPrefix,n=rb().palette,r=woe(),o=r.currentStep,i=r.totalSteps,a=r.isFlowEnded,s=e.overviewContent.safetyCheckup.dialog.additionalLinks,c={src:e.overviewContent.safetyCheckup.dialogV2Beta.images.additionalLinksImage.src,alt:e.overviewContent.safetyCheckup.dialogV2Beta.images.additionalLinksImage.alt,imageType:"altTextImage"};return(0,rl.useEffect)((function(){o===oce&&(pu({step:voe(o)}),$d({clickId:"".concat(hoe,".authenticator.view"),pageArea:t}))}),[o]),ol().createElement(jw,null,!a&&ol().createElement(ZX,{numberOfSteps:i,currentStep:o+1,dotColor:"themePrimary"}),ol().createElement(jw,{horizontalAlign:"center",margin:"8px 0",padding:"10px 0 0 0"},ol().createElement(sI,c)),ol().createElement(jw,{horizontalAlign:"center",margin:"8px 0",textAlignment:"center"},ol().createElement(Jw,{variant:"pageTitle"},s.title)),function(e,t,n,r,o){var i=t.overviewContent.safetyCheckup.dialog.additionalLinks,a=t.overviewContent.safetyCheckup.dialogV2Beta.images,s=function(e){window.open(e,"_blank")},c=[],l={backgroundColor:o,leftColumn:ol().createElement(_N,{title:i.description}),rightColumn:ol().createElement(rN,{contentType:"none"})},u={backgroundColor:o,leftColumn:ol().createElement(bN,{listItemMediaProps:{image:e?{imageType:"icon",iconName:"Lock"}:{imageType:"image",src:a.lockIcon.src},padding:e?"0px 0px 0px 40px":"0",size:"sm"},title:i.changePrivacySettings}),rightColumn:ol().createElement(rN,{contentType:"none",iconName:"ChevronRight"}),onClickProps:{"aria-label":i.changePrivacySettings,"data-bi-id":"".concat(hoe,".change-privacy-settings"),onClick:function(){return s(i.links.changePrivacyLink)},pageArea:n}},d={backgroundColor:o,leftColumn:ol().createElement(bN,{listItemMediaProps:{image:e?{imageType:"icon",iconName:"LaptopSecure"}:{imageType:"image",src:a.safeIcon.src},padding:e?"0px 0px 0px 40px":"0",size:"sm"},title:i.securityAndLearning}),rightColumn:ol().createElement(rN,{contentType:"none",iconName:"ChevronRight"}),onClickProps:{"aria-label":i.securityAndLearning,"data-bi-id":"".concat(hoe,".security-and-learning"),onClick:function(){return s(i.links.securityHelpLearningLink)},pageArea:n}};return c.push(ol().createElement(jN,Object.assign({},u,{key:"additional-change-privacy"})),ol().createElement(jN,Object.assign({},d,{key:"additional-security-learning"}))),ol().createElement(jw,{backgroundColor:o},ol().createElement("div",{style:yoe(r,e)},e&&ol().createElement(jN,Object.assign({key:"additional-title",showDivider:!1,removeRole:!0},l))),ol().createElement("div",{style:e?void 0:boe(r)},ol().createElement(FO,{isAlwaysExpanded:!0,isTabbable:!0,key:"additional-services-list"},c)))}(!1,e,t,n.white,"transparent"))},ace=goe.officeSettings,sce=function(){var e=Yte(),t=mte().areaPrefix,n=woe(),r=n.currentStep,o=n.totalSteps,i=n.isFlowEnded,a=e.overviewContent.safetyCheckup,s={src:a.dialogV2Beta.images.officeSettingsImage.src,alt:a.dialogV2Beta.images.officeSettingsImage.alt,imageType:"altTextImage"},c="8px 0";return(0,rl.useEffect)((function(){r===ace&&(pu({step:voe(r)}),$d({clickId:"".concat(hoe,".office-settings.view"),pageArea:t}))}),[r]),ol().createElement(jw,null,!i&&ol().createElement(ZX,{numberOfSteps:o,currentStep:r+1,dotColor:"themePrimary"}),ol().createElement(jw,{horizontalAlign:"center",margin:c,padding:"10px 0 0 0"},ol().createElement(sI,s)),ol().createElement(jw,{horizontalAlign:"center",margin:c,textAlignment:"center"},ol().createElement(Jw,{variant:"pageTitle"},a.dialog.officeSettings.title)),ol().createElement(jw,{horizontalAlign:"center",margin:c,padding:"8px 20px"},ol().createElement(Jw,null,a.dialog.officeSettings.description)),ol().createElement($oe,{isCheckup:!0}))},cce=goe.safeBrowsing,lce=function(){var e=Yte(),t=mte().areaPrefix,n=woe(),r=n.currentStep,o=n.totalSteps,i=n.isFlowEnded,a=n.userProofStates,s=eY((0,rl.useState)(!1),2),c=s[0],l=s[1],u=rb().palette,d=e.overviewContent.safetyCheckup.dialog.safeSecureBrowsing,p={src:e.overviewContent.safetyCheckup.dialogV2Beta.images.edgeImage.src,alt:e.overviewContent.safetyCheckup.dialogV2Beta.images.edgeImage.alt,imageType:"altTextImage"};return(0,rl.useEffect)((function(){if(r===cce){var e=!!a.hasEdge;l(e),pu({step:voe(r)}),$d({clickId:"".concat(hoe,".safe-browsing.view"),pageArea:t})}}),[r]),ol().createElement(jw,null,!i&&ol().createElement(ZX,{numberOfSteps:o,currentStep:r+1,dotColor:"themePrimary"}),ol().createElement(jw,{horizontalAlign:"center",margin:"8px 0",padding:"10px 0 0 0"},ol().createElement(sI,p)),ol().createElement(jw,{horizontalAlign:"center",margin:"8px 0",textAlignment:"center"},ol().createElement(Jw,{variant:"pageTitle"},d.title)),function(e,t,n,r,o,i){var a=t.overviewContent.safetyCheckup.dialog.safeSecureBrowsing,s=t.overviewContent.safetyCheckup.dialogV2Beta.wizard,c=e?a.usingEdge:i?s.edgeDescriptionComplete:s.edgeDescriptionIncomplete,l={backgroundColor:o,leftColumn:ol().createElement(_N,{title:a.description}),rightColumn:ol().createElement(rN,{contentType:"none"})},u={backgroundColor:o,leftColumn:ol().createElement(bN,{listItemMediaProps:{image:{imageType:"image",src:a.iconEdge.src},padding:e?"0px 0px 0px 40px":"0",size:"sm"},title:a.microsoftEdge,titleTextVariant:"headerText",subtitles:[{children:c,variant:"bodySecondaryText"}]}),rightColumn:ol().createElement(rN,{contentType:"none",iconName:"ChevronRight"}),onClickProps:{"aria-label":c,"data-bi-id":"".concat(hoe,i?".using-edge-link":".try-edge-link"),onClick:function(){var e=i?a.links.usingEdgeLink:a.links.tryEdgeLink;window.open(e,"_blank")},pageArea:n}};return ol().createElement(jw,{backgroundColor:o},ol().createElement("div",{style:yoe(r,e)},ol().createElement(jN,Object.assign({key:"safe-browsing-title",showDivider:!1,removeRole:!0},l))),ol().createElement("div",{style:e?void 0:boe(r)},ol().createElement(FO,{isAlwaysExpanded:!0,isTabbable:!0},ol().createElement(jN,Object.assign({key:"safe-browsing-description",showDivider:!1},u)))))}(!1,e,t,u.white,"transparent",c))},uce=function(){var e=Yte(),t=cB(),n=woe(),r=n.currentStep,o=n.setCurrentStep,i=n.isFlowEnded,a=n.setIsFlowEnded,s=n.userProofStates,c=e.overviewContent.safetyCheckup.dialog,l=function(e){return{step:voe(e),data:{userProofStates:s}}},u=function(){o(i?goe.roster:r-1)},d=function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a(!1),t.closeDialog();try{i?fu(l(r)):hu(l(r))}catch(n){}case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p={text:c.next,"aria-label":c.next,"data-bi-id":"".concat(hoe,".").concat(r,"-next"),onClick:function(){var e=r+1;o(e),e===Object.keys(goe).length-1&&(a(!0),pu(l(e)))}},h={text:c.close,"aria-label":c.close,"data-bi-id":"".concat(hoe,".").concat(r,"-close"),onClick:d},f="830px",m={title:c.title,isOpen:!0,closeButton:{"aria-label":c.close,"data-bi-id":"".concat(hoe,".dialog-close")},onDismiss:d,stickyHeaderFooter:{hasStickyHeaderFooters:!0,bodyMaxHeight:f},staticBodyWidth:"480px",withHeaderHorizontalLine:!0,backButton:function(){if((r!==goe.accountInfo||i)&&r!==goe.roster)return{"aria-label":c.back,"data-bi-id":"".concat(hoe,".").concat(r,"-back"),onClick:u}}(),dialogFooterProps:r===goe.roster?{buttonPrimary:h,hasFooterBackground:!0,hasFooterHorizontalLine:!0}:i?{dialogType:"secondary",buttonRight:h,hasFooterBackground:!0,hasFooterHorizontalLine:!0}:{buttonPrimary:p,hasFooterBackground:!0,hasFooterHorizontalLine:!0},bodyStyleTemp:{padding:"0 24px"},dialogStylesTemp:{main:{height:f,width:"100%"}},headerLeftRightPadding:"16px"},g=ol().createElement(jw,{padding:"27px 0"},r===goe.accountInfo&&ol().createElement(Zse,null),r===goe.authenticatorInfo&&ol().createElement(rce,null),r===goe.safeBrowsing&&ol().createElement(lce,null),r===goe.moreSafetyResources&&ol().createElement(ice,null),r===goe.officeSettings&&ol().createElement(sce,null),r===goe.roster&&ol().createElement(Yse,null));return ol().createElement(oB,m,g)},dce=function(){var e=Yte(),t=cB(),n=woe(),r=n.userProofStates,o=n.setUserProofStates,i=n.resetStates,a=up(),s=function(){var e=vte(jee().mark((function e(){var t,n,r,i;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,use();case 3:return t=e.sent,e.next=6,lse();case 6:n=e.sent,r=ul(),i={hasRecoveryEmail:t.emails&&t.emails.length>0,hasRecoveryPhone:t.phoneNumbers&&t.phoneNumbers.length>0,hasAuthenticator:n.isAuthenticatorEnabled,hasEdge:r},o(i),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),a({status:"failed",name:"get-user-proofs",error:e.t0});case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}(),c={featureHeading:{tag:"h3",text:e.overviewContent.safetyCheckup.title,variant:"paneHeader"},bodyText:e.overviewContent.safetyCheckup.description,ctaProps:[{actionProps:{"aria-label":e.overviewContent.safetyCheckup.getACheckUp,"data-bi-id":"".concat(hoe,".start-cta"),type:"primary",kind:"button",text:e.overviewContent.safetyCheckup.getACheckUp,onClick:function(){var e=vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(),s(),du({area:"Privacy",scenario:"SafetyReview",step:"SafetyReviewStart",data:{userProofStates:r}}),t.openDialog(ol().createElement(uce,null));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}}],imageProps:{src:e.overviewContent.safetyCheckup.image.src,alt:e.overviewContent.safetyCheckup.image.alt,height:"150px"},backgroundType:"card",layoutType:"2/3"};return ol().createElement(ol().Fragment,null,ol().createElement(tO,c))},pce="Privacy.getSurvey",hce=function(){var e=(0,rl.useContext)(Uie),t=e.showSatisfactionSurvey,n=e.setShowSatisfactionSurvey,r=mte(),o=r.language,i=r.selfRights,a=up(),s=_re();return(0,rl.useEffect)((function(){if(t&&(n(!1),i.canManage))try{a({name:pce,status:"first-load"}),s("privacy-satisfaction-survey",o),a({name:pce,status:"finished"})}catch(e){a({name:pce,status:"failed",error:e})}}),[o,i,a,s,t]),ol().createElement(hp,{operationData:{componentName:"PrivacySatisfactionSurvey",operationName:pce},finishedView:ol().createElement(ol().Fragment,null)})},fce="Privacy",mce="LandingPageIntercept",gce=function(){var t=Yte().overviewContent,n=up(),r=function(){var t=rb();return(0,rl.useCallback)((function(n,r,o){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){var i,a,s;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return function(e){return e.startsWith("en-")}(o)?(i=[],[4,wre(n,r,o)]):[3,4];case 1:return(a=e.sent())&&(s=Ere(a),i.push(s)),window.OfficeBrowserFeedback&&i.length>0?(bre(o,t),window.OfficeBrowserFeedback.floodgate.initOptions={autoDismiss:3,campaignDefinitions:i},[4,window.OfficeBrowserFeedback.floodgate.initialize()]):[3,4];case 2:return e.sent(),[4,window.OfficeBrowserFeedback.floodgate.start()];case 3:e.sent(),window.OfficeBrowserFeedback.floodgate.getEngine().getActivityListener().logActivity("InterceptClick"),e.label=4;case 4:return[2]}}))}))}),[t])}(),o=mte(),i=Xp("PrivACWMessageBar");return(0,rl.useEffect)((function(){if(Xp("PrivIntercept")){var e=setTimeout(vte(jee().mark((function e(){return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n({name:"".concat(fce,".").concat(mce),status:"first-load"}),e.next=4,r(fce,mce,o.language);case 4:n({name:"".concat(fce,".").concat(mce),status:"finished"}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),n({name:"".concat(fce,".").concat(mce),status:"failed",error:e.t0});case 10:case"end":return e.stop()}}),e,null,[[0,7]])}))),5e3);return function(){return clearTimeout(e)}}}),[]),ol().createElement(ol().Fragment,null,ol().createElement(CA,{message:t.overviewTitle,ariaLive:"assertive"}),ol().createElement(jw,{id:"overview"},ol().createElement(jw,{childrenGap:"32px"},ol().createElement(jw,null,ol().createElement(sie,null),ol().createElement(fre,null),ol().createElement(jw,{padding:"16px 0px"},ol().createElement(Gae,null),ol().createElement(jw,{padding:"16px 0px 0px 0px"},i?ol().createElement(Sse,null):void 0),ol().createElement(jw,{padding:"16px 0px 0px 0px"},ol().createElement(dce,null))),ol().createElement(jw,{childrenGap:"8px",padding:"16px 0px 0px 0px"},ol().createElement(Vie,null,ol().createElement(Wae,null),ol().createElement(qae,null),ol().createElement(hce,null)))),ol().createElement(kse,null),ol().createElement(Dse,null),Xp("PrivWinAccSyncConsent")?ol().createElement(aie,null):null,ol().createElement(cie,null)),ol().createElement(Tre,null),ol().createElement(Sre,null)))},vce=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Rte,"/delete"),"".concat(Mte,".TESTDELETE"),{types:t})];case 1:return[2,e.sent()]}}))}))},yce=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Rte,"/export"),"".concat(Mte,".TESTEXPORT"),{types:t})];case 1:return[2,e.sent()]}}))}))},bce=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ete("".concat(Rte,"/trace-request"),"".concat(Mte,".TESTTRACEREQUEST"),{params:{requestId:t}})];case 1:return[2,e.sent()]}}))}))},_ce=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Rte,"/complete-export"),"".concat(Mte,".TESTCOMPLETEEXPORT"),{requestId:t})];case 1:return e.sent(),[2]}}))}))},Cce=function(t){return(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ete("".concat(Rte,"/agent-status"),"".concat(Mte,".TESTAGENTSTATUS"),{params:{agentId:t}})];case 1:return[2,e.sent()]}}))}))},wce="accountCloseCommand",Ece=function(){var t=up(),n=eY((0,rl.useState)([]),2),r=n[0],o=n[1],i=eY((0,rl.useState)(!0),2),a=i[0],s=i[1];ll((function(){var e=window.location.hostname;s("privacy.account.microsoft-ppe.com"!==e&&"account.microsoft-int.com"!==e&&"localhost"!==e)}));var c=function(){var n=vte(jee().mark((function n(){var r;return jee().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t({name:wce,status:"updating"}),n.prev=1,n.next=4,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Rte,"/account-close"),"".concat(Mte,".TESTACCOUNTCLOSE"),{})];case 1:return[2,e.sent()]}}))}));case 4:r=n.sent,o(r.ids),t({name:wce,status:"finished"}),n.next=12;break;case 9:n.prev=9,n.t0=n.catch(1),t({name:wce,status:"failed",error:n.t0});case 12:return n.prev=12,s(!1),n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,9,12,15]])})));return function(){return n.apply(this,arguments)}}();return ol().createElement(jw,null,ol().createElement(jw,{width:"25%"},ol().createElement(DT,{"aria-label":"Close Account","data-bi-id":"privacy.partner.accountCloseButton",onClick:c,text:"Close account",disabled:a})),ol().createElement(hp,{operationData:{componentName:"partnerAccountCloseDrawer",operationName:wce},inertView:ol().createElement(Jw,null,"No command sent yet."),updatingView:ol().createElement(Jw,null,"Sending command..."),finishedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Successfully sent account close command."),ol().createElement(Jw,null,"Command Ids:"),r.map((function(e){return ol().createElement(Jw,{key:e},"- ",e)})),ol().createElement(Jw,null,"cV: ",yu())),failedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Failed to send account close command."),ol().createElement(Jw,null,"cV: ",yu()))}))},xce=function(){return ol().createElement(EH,{messageContent:"This functionality is only available in PPE.",messageBarType:"info"})},Sce=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"Account Close",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0},ol().createElement(jw,{childrenGap:"16px"},ol().createElement(xce,null),ol().createElement(Ece,null)))},kce=function(){return ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:3,align:"end"},ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"bold"},"Agent ID"),ol().createElement(Jw,{weightOverride:"bold"},"Asset Group ID"))),ol().createElement(zw,{slots:3,align:"end"},ol().createElement(Jw,{weightOverride:"bold"},"Asset Group Qualifier")),ol().createElement(zw,{slots:3,align:"end"},ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"bold"},"Subject Type"),ol().createElement(Jw,{weightOverride:"bold"},"Oldest Pending Command"),ol().createElement(Jw,{weightOverride:"bold"},"Minimum Lease Available Time"))),ol().createElement(zw,{slots:3,align:"end"},ol().createElement(jw,null,ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},ol().createElement(Jw,{weightOverride:"bold"},"Pending Command Count"),ol().createElement(LT,{calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":"More information about Pending Command Count","data-bi-id":"privacy.partner.pendingCommandCount-callout",iconName:"Info"},children:"The total number of commands assigned to your agent that have not been formally completed."})),ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},ol().createElement(Jw,{weightOverride:"bold"},"Unleased Command Count"),ol().createElement(LT,{calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":"More information about Unleased Command Count","data-bi-id":"privacy.partner.unleasedCommandCount-callout",iconName:"Info"},children:"The number of commands assigned to your agent that have not been issued to an agent and are eligible for retrieval."})))))},Tce=function(e){return"https://manage.privacy.microsoft.com/data-agents/view/".concat(e)},Ice=function(e){return"https://manage.privacy.microsoft.com/data-assets/view/".concat(e)},Ace=PO((function(e){var t=e.statusRow,n=e.index,r=t.agentId,o=t.assetGroupId,i=ol().createElement(iN,{hyperlinks:[{"aria-label":"Agent ".concat(r),"data-bi-id":"privacy.partner.agentStatusAgentId-link",href:Tce(r),children:"Agent: ".concat(r)},{"aria-label":"Asset ".concat(o),"data-bi-id":"privacy.partner.agentStatusAssetId-link",href:Ice(o),children:"Asset: ".concat(o)}],key:"firstColumn-".concat(n)}),a=t.assetGroupQualifier.split(";"),s=ol().createElement(gN,{textElements:a.map((function(e){return{children:e}})),key:"secondColumn-".concat(n)}),c=ol().createElement(gN,{textElements:[{children:"Subject Type: ".concat(t.subjectType)},{children:"Oldest Pending: ".concat(t.oldestPendingCommand)},{children:"Min Lease: ".concat(t.minimumLeaseAvailableTime)}],key:"thirdColumn-".concat(n)}),l=ol().createElement(gN,{textElements:[{children:"Pending: ".concat(t.pendingCommandCount)},{children:"Unleased: ".concat(t.unleasedCommandCount)}],key:"finalColumn-".concat(n)});return ol().createElement(UN,{variant:"ThreeThreeThreeThree",columns:[i,s,c,l]})})),Pce=function(e){var t=e.agentStatusData,n=eY((0,rl.useState)(""),2),r=n[0],o=n[1],i=t.filter((function(e){var t,n,o,i;return(null===(t=e.agentId)||void 0===t?void 0:t.toLowerCase().includes(r.toLowerCase()))||(null===(n=e.assetGroupId)||void 0===n?void 0:n.toLowerCase().includes(r.toLowerCase()))||(null===(o=e.assetGroupQualifier)||void 0===o?void 0:o.toLowerCase().includes(r.toLowerCase()))||(null===(i=e.subjectType)||void 0===i?void 0:i.toLowerCase().includes(r.toLowerCase()))}));return ol().createElement(jw,{childrenGap:"16px"},ol().createElement(jw,{width:"25%"},ol().createElement(zz,{"aria-label":"Filter Agent Status Data","data-bi-id":"privacy.partner.filterAgentStatusData-textInput",placeholder:"Filter data",value:r,onChange:function(e,t){o(t||"")}})),ol().createElement(FO,{header:ol().createElement(kce,null),isAlwaysExpanded:!0,children:i.map((function(e,t){return ol().createElement(Ace,{statusRow:e,index:t})}))}))},Dce="getAgentStatus",Rce=function(){var e=eY((0,rl.useState)(""),2),t=e[0],n=e[1],r=eY((0,rl.useState)([]),2),o=r[0],i=r[1],a=eY((0,rl.useState)(!1),2),s=a[0],c=a[1],l=up(),u=function(){var e=vte(jee().mark((function e(){var n;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,l({name:Dce,status:"updating"}),c(!0),e.next=5,Cce(t);case 5:n=e.sent,i(n),l({name:Dce,status:"finished"}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),l({name:Dce,status:"failed",error:e.t0});case 13:return e.prev=13,c(!1),e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[0,10,13,16]])})));return function(){return e.apply(this,arguments)}}();return ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Kx,{"aria-label":"Agent Health PowerBI Dashboard","data-bi-id":"privacy.partner.agentHealthPowerBI-hyperlink",href:"https://aka.ms/pcfagenthealthreport",children:"Agent Health PowerBI Dashboard"}),ol().createElement(jw,{width:"25%"},ol().createElement(zz,{"aria-label":"Agent ID","data-bi-id":"privacy.partner.agentID-textInput",placeholder:"Agent ID",value:t,onChange:function(e,t){n(t||"")}}),ol().createElement(DT,{"aria-label":"Get agent status","data-bi-id":"privacy.partner.getAgentStatus-button",text:"Get Agent Status",onClick:u,disabled:s||""===t})),ol().createElement(hp,{operationData:{operationName:Dce,componentName:"getAgentStatusButton"},inertView:ol().createElement(Jw,null,"No status retrieved yet."),updatingView:ol().createElement(Jw,null,"Retrieving status..."),failedView:ol().createElement(jw,null,ol().createElement(Jw,null,"Result: Failed to retrieve agent status."),ol().createElement(Qx,{textWithTokens:"{note} If this request seems to time out, it is very possible that your agent has a large backlog of commands (> ~1M).",tokensAndValues:{note:ol().createElement(Jw,{weightOverride:"bold"},"Note:")}})),finishedView:ol().createElement(jw,null,ol().createElement(Jw,null,"Result: Successfully retrieved agent status."),ol().createElement(Pce,{agentStatusData:o}))}))},Mce=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"Agent Status",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0},ol().createElement(jw,{childrenGap:"16px"},ol().createElement(Rce,null)))},Nce=function(){return ol().createElement(EH,{messageContent:"Retrieves previously-issued command IDs for the currently authenticated MSA.",messageBarType:"info"})},Lce="getCommandHistory",Oce=function(){var t=eY((0,rl.useState)(!1),2),n=t[0],r=t[1],o=eY((0,rl.useState)([]),2),i=o[0],a=o[1],s=up(),c=function(){var t=vte(jee().mark((function t(){var n;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s({name:Lce,status:"updating"}),r(!0),t.prev=2,t.next=5,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,Ete("".concat(Rte,"/user-requests"),"".concat(Mte,".TESTUSERREQUESTS"))];case 1:return[2,e.sent()]}}))}));case 5:n=t.sent,a(n.map((function(e){return e.commandId}))),s({name:Lce,status:"finished"}),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(2),s({name:Lce,status:"failed",error:t.t0});case 13:return t.prev=13,r(!1),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[2,10,13,16]])})));return function(){return t.apply(this,arguments)}}(),l={"aria-label":"Get Command History","data-bi-id":"privacy.partner.commandHistory",onClick:c,text:"Get history",disabled:n};return ol().createElement(jw,null,ol().createElement(jw,{width:"15%"},ol().createElement(DT,l)),ol().createElement(hp,{operationData:{componentName:"partnerCommandHistory",operationName:Lce},inertView:ol().createElement(Jw,null,"No history retrieved yet."),updatingView:ol().createElement(Jw,null,"Retrieving history..."),finishedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Successfully retrieved user commands."),ol().createElement(Jw,null,"Command Ids:"),i.map((function(e){return ol().createElement(Jw,{key:e},e)}))),failedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Failed to retrieve user commands."))}))},Fce=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"Command History",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0},ol().createElement(jw,{childrenGap:"16px"},ol().createElement(Nce,null),ol().createElement(Oce,null)))},Bce=[{id:"cardTypeFilter_browse",name:"BrowsingHistory"},{id:"cardTypeFilter_media",name:"ContentConsumption"},{id:"cardTypeFilter_location",name:"PreciseUserLocation"},{id:"cardTypeFilter_performance",name:"ProductAndServicePerformance"},{id:"cardTypeFilter_usage",name:"ProductAndServiceUsage"},{id:"cardTypeFilter_search",name:"SearchRequestsAndQuery"}],Hce=Bce.concat([{id:"partner_DemographicInformation",name:"DemographicInformation",presetFlows:["prcDelete1"]},{id:"partner_DeviceConnectivityAndConfiguration",name:"DeviceConnectivityAndConfiguration",presetFlows:["prcDelete1"]},{id:"partner_EnvironmentalSensor",name:"EnvironmentalSensor",presetFlows:["prcDelete1"]},{id:"partner_FeedbackAndRatings",name:"FeedbackAndRatings",presetFlows:["prcDelete1"]},{id:"partner_FitnessAndActivity",name:"FitnessAndActivity",presetFlows:["prcDelete1"]},{id:"partner_SoftwareSetupAndInventory",name:"SoftwareSetupAndInventory",presetFlows:["prcDelete1"]},{id:"partner_SupportContent",name:"SupportContent",presetFlows:["prcDelete1"]},{id:"partner_SupportInteraction",name:"SupportInteraction",presetFlows:["prcDelete1"]}]),zce=Bce.length,Uce=[{id:"cardTypeFilter_browse",name:"BrowsingHistory",presetFlows:["prcExport1"]},{id:"cardTypeFilter_media",name:"ContentConsumption",presetFlows:["prcExport1"]},{id:"cardTypeFilter_location",name:"PreciseUserLocation"},{id:"cardTypeFilter_usage",name:"ProductAndServiceUsage",presetFlows:["prcExport1"]},{id:"cardTypeFilter_search",name:"SearchRequestsAndQuery",presetFlows:["prcExport1"]}],Vce=Uce.concat([{id:"partner_CapturedCustomerContent",name:"CapturedCustomerContent",presetFlows:["prcExport1"]},{id:"partner_DemographicInformation",name:"DemographicInformation",presetFlows:["prcExport1"]},{id:"partner_EnvironmentalSensor",name:"EnvironmentalSensor",presetFlows:["prcExport1"]},{id:"partner_FeedbackAndRatings",name:"FeedbackAndRatings",presetFlows:["prcExport1"]},{id:"partner_SoftwareSetupAndInventory",name:"SoftwareSetupAndInventory",presetFlows:["prcExport1"]},{id:"partner_SupportContent",name:"SupportContent",presetFlows:["prcExport1"]},{id:"partner_SupportInteraction",name:"SupportInteraction",presetFlows:["prcExport1"]}]),jce=Uce.length,qce="standard",Wce="deleteCommand",Gce=function(e){var t=e.selection,n=eY((0,rl.useState)({}),2),r=n[0],o=n[1],i=eY((0,rl.useState)([]),2),a=i[0],s=i[1],c=eY((0,rl.useState)(!0),2),l=c[0],u=c[1],d=up(),p=[],h=(0,rl.useCallback)((function(){var e={};Hce.forEach((function(t){e[t.id]=!1})),o(e)}),[]);ll((function(){h()}));Object.keys(r).forEach((function(e,n){p.push({"aria-label":Hce[n].name,checked:r[e],"data-bi-id":"privacy.partner.deleteCommand-".concat(Hce[n].name,"-checkbox"),label:Hce[n].name,onChange:function(){!function(e){var t=My({},r);t[e]=!r[e],o(t)}(e)},disabled:"standard"===t})})),(0,rl.useEffect)((function(){Object.values(r).every((function(e){return!e}))?u(!0):u(!1)}),[r]),(0,rl.useEffect)((function(){if(t===qce){var e={};Hce.forEach((function(t){t.presetFlows&&t.presetFlows.indexOf("prcDelete1")>-1?e[t.id]=!0:e[t.id]=!1})),o(e)}else h()}),[t,h]);var f=function(){var e=vte(jee().mark((function e(){var t,n;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d({name:Wce,status:"updating"}),u(!0),e.prev=2,t=[],Object.keys(r).forEach((function(e){r[e]&&t.push(e)})),e.next=7,vce(t);case 7:n=e.sent,s(n.ids),d({name:Wce,status:"finished"}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),d({name:Wce,status:"failed",error:e.t0});case 15:return e.prev=15,u(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[2,12,15,18]])})));return function(){return e.apply(this,arguments)}}(),m={"aria-label":"Send delete command","data-bi-id":"privacy.partner.deleteCommandButton",onClick:f,text:"Delete",disabled:l},g=p.slice(0,zce),v=p.slice(zce,p.length);return ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:4},ol().createElement(jw,{childrenGap:"8px"},g.map((function(e,t){return ol().createElement(lD,Object.assign({},e,{key:"privacy.partner.delete-checkbox-".concat(t)}))})))),ol().createElement(zw,{slots:4},ol().createElement(jw,{childrenGap:"8px"},v.map((function(e,t){return ol().createElement(lD,Object.assign({},e,{key:"privacy.partner.delete-checkbox-".concat(t)}))})))),ol().createElement(zw,{slots:4},ol().createElement(jw,null,ol().createElement(jw,{width:"25%"},ol().createElement(DT,m)),ol().createElement(hp,{operationData:{componentName:"partnerDeleteDrawer",operationName:Wce},inertView:ol().createElement(Jw,null,"No command sent yet."),updatingView:ol().createElement(Jw,null,"Sending command..."),finishedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Successfully sent delete command."),ol().createElement(Jw,null,"Command Ids:"),a.map((function(e){return ol().createElement(Jw,{key:e},"- ",e)})),ol().createElement(Jw,null,"cV: ",yu())),failedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Failed to send delete command."),ol().createElement(Jw,null,"cV: ",yu()))}))))},Kce=function(){var e=[{key:"custom",id:"custom",text:"Custom Selection",ariaLabel:"Custom Selection"},{key:"standard",id:"standard",text:"Standard PRC Delete",ariaLabel:"Standard PRC Delete"}],t=eY((0,rl.useState)(e[0]&&e[0].key),2),n=t[0],r=t[1];return ol().createElement(ol().Fragment,null,ol().createElement(Jw,null,"Scenario:"),ol().createElement(aH,{pageArea:"privacy","data-bi-prefix":"privacy.partner.delete-dropdown","aria-label":"Select Custom Selection or Standard PRC Delete",value:n,options:e,onChange:function(e,t,n,o){t&&r(t.key)},width:"25%"}),ol().createElement(Gce,{selection:n}))},Yce=function(){return ol().createElement(ol().Fragment,null,ol().createElement(EH,{messageContent:{textWithTokens:"This page generates commands for the {currentAuth} MSA. When clicking Delete, you will trigger a delete command to {all} checked data types in this section, and the data {will} be deleted. Do {not} use your personal MSA.",tokensAndValues:{currentAuth:ol().createElement(Jw,{weightOverride:"bold"},"currently authenticated"),all:ol().createElement(Jw,{weightOverride:"bold"},"all"),will:ol().createElement(Jw,{weightOverride:"bold"},"will"),not:ol().createElement(Jw,{weightOverride:"bold"},"not")}},messageBarType:"severe-warning"}),ol().createElement(EH,{messageContent:{textWithTokens:"These controls should be used for E2E testing of delete commands. After clicking Delete, you may still see your data on the {dashboard}, but please keep in mind that your commands are being sent as expected.",tokensAndValues:{dashboard:ol().createElement(Kx,{"aria-label":"AMC Privacy Dashboard","data-bi-id":"partner-deleteCommand-privacyDashboard",to:"/"},"AMC Privacy Dashboard")}},messageBarType:"info"}))},Qce=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"AMC Privacy Dashboard Data Types - Delete Command",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0},ol().createElement(jw,{childrenGap:"16px"},ol().createElement(Yce,null),ol().createElement(Kce,null)))},Xce="exportCommand",Jce=function(e){var t=e.selection,n=eY((0,rl.useState)({}),2),r=n[0],o=n[1],i=eY((0,rl.useState)([]),2),a=i[0],s=i[1],c=eY((0,rl.useState)(!0),2),l=c[0],u=c[1],d=up(),p=[],h=(0,rl.useCallback)((function(){var e={};Vce.forEach((function(t){e[t.id]=!1})),o(e)}),[]);ll((function(){h()}));Object.keys(r).forEach((function(e,n){p.push({"aria-label":Vce[n].name,checked:r[e],"data-bi-id":"privacy.partner.exportCommand-".concat(Vce[n].name,"-checkbox"),label:Vce[n].name,onChange:function(){!function(e){var t=My({},r);t[e]=!r[e],o(t)}(e)},disabled:"standard"===t})})),(0,rl.useEffect)((function(){Object.values(r).every((function(e){return!e}))?u(!0):u(!1)}),[r]),(0,rl.useEffect)((function(){if(t===qce){var e={};Vce.forEach((function(t){t.presetFlows&&t.presetFlows.indexOf("prcExport1")>-1?e[t.id]=!0:e[t.id]=!1})),o(e)}else h()}),[t,h]);var f=function(){var e=vte(jee().mark((function e(){var t,n;return jee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d({name:Xce,status:"updating"}),u(!0),e.prev=2,t=[],Object.keys(r).forEach((function(e){r[e]&&t.push(e)})),e.next=7,yce(t);case 7:n=e.sent,s(n.ids),d({name:Xce,status:"finished"}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),d({name:Xce,status:"failed",error:e.t0});case 15:return e.prev=15,u(!1),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[2,12,15,18]])})));return function(){return e.apply(this,arguments)}}(),m={"aria-label":"Send export command","data-bi-id":"privacy.partner.exportCommandButton",onClick:f,text:"Export",disabled:l},g=p.slice(0,jce),v=p.slice(jce,p.length);return ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:4},ol().createElement(jw,{childrenGap:"8px"},g.map((function(e,t){return ol().createElement(lD,Object.assign({},e,{key:"privacy.partner.export-checkbox-".concat(t)}))})))),ol().createElement(zw,{slots:4},ol().createElement(jw,{childrenGap:"8px"},v.map((function(e,t){return ol().createElement(lD,Object.assign({},e,{key:"privacy.partner.export-checkbox-".concat(t)}))})))),ol().createElement(zw,{slots:4},ol().createElement(jw,null,ol().createElement(jw,{width:"25%"},ol().createElement(DT,m)),ol().createElement(hp,{operationData:{componentName:"partnerExportDrawer",operationName:Xce},inertView:ol().createElement(Jw,null,"No command sent yet."),updatingView:ol().createElement(Jw,null,"Sending command..."),finishedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Successfully sent export command."),ol().createElement(Jw,null,"Command Ids:"),a.map((function(e){return ol().createElement(Jw,{key:e},"- ",e)})),ol().createElement(Jw,null,"cV: ",yu())),failedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Failed to send export command."),ol().createElement(Jw,null,"cV: ",yu()))}))))},$ce=function(){var e=[{key:"custom",id:"custom",text:"Custom Selection",ariaLabel:"Custom Selection"},{key:"standard",id:"standard",text:"Standard PRC Export",ariaLabel:"Standard PRC Export"}],t=eY((0,rl.useState)(e[0]&&e[0].key),2),n=t[0],r=t[1];return ol().createElement(ol().Fragment,null,ol().createElement(Jw,null,"Scenario:"),ol().createElement(aH,{pageArea:"privacy","data-bi-prefix":"privacy.partner.export-dropdown","aria-label":"Select Custom Selection or Standard PRC Export",value:n,options:e,onChange:function(e,t,n,o){t&&r(t.key)},width:"25%"}),ol().createElement(Jce,{selection:n}))},Zce=function(){return ol().createElement(EH,{messageContent:"These controls should be used for E2E testing of export commands.",messageBarType:"info"})},ele=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"NGP Data Types - Export Command",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0},ol().createElement(jw,{childrenGap:"16px"},ol().createElement(Zce,null),ol().createElement($ce,null)))},tle="getMsaProxyTicket",nle=function(){var t=eY((0,rl.useState)(""),2),n=t[0],r=t[1],o=up(),i=eY((0,rl.useState)(!1),2),a=i[0],s=i[1],c=function(){var t=vte(jee().mark((function t(){var n;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,o({name:tle,status:"updating"}),s(!0),t.next=5,(0,e.__awaiter)(void 0,void 0,void 0,(function(){return(0,e.__generator)(this,(function(e){switch(e.label){case 0:return[4,xte("".concat(Rte,"/retrieve-msa-proxy-ticket"),"".concat(Mte,".TESTRETRIEVEMSAPROXYTICKET"),{})];case 1:return[2,e.sent()]}}))}));case 5:n=t.sent,r(n.msaProxyTicket),o({name:tle,status:"finished"}),t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),s(!1),o({name:tle,status:"failed",error:t.t0});case 14:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(){return t.apply(this,arguments)}}();return ol().createElement(jw,{childrenGap:"16px"},ol().createElement(jw,{width:"25%"},ol().createElement(DT,{"aria-label":"Get my MSA proxy ticket","data-bi-id":"privacy.partner.msaProxyTicket-button",text:"Get my MSA proxy ticket",onClick:c,disabled:a})),ol().createElement(jw,{width:"50%"},ol().createElement(hp,{operationData:{operationName:tle,componentName:"getMsaProxyTicketButton"},inertView:ol().createElement(Jw,null,"MSA Proxy Ticket not retrieved yet."),updatingView:ol().createElement(Jw,null,"Retrieving ticket..."),failedView:ol().createElement(Jw,null,"Result: Failure"),finishedView:ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,{weightOverride:"bold"},"MSA proxy ticket"),ol().createElement(Jw,null,n))})))},rle=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"MSA Proxy Ticket",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0},ol().createElement(jw,{childrenGap:"16px"},ol().createElement(nle,null)))},ole=function(){return ol().createElement(EH,{messageContent:"Please note: If you just created your command, it may take a minute or two for the ID to be available in our system.",messageBarType:"info"})},ile=function(){return ol().createElement(EH,{messageContent:{textWithTokens:"Looking for help troubleshooting your export commands? Click {link} for debugging/validation steps!",tokensAndValues:{link:ol().createElement(Kx,{"aria-label":"Export troubleshooting steps","data-bi-id":"privacy.partner.exportTroubleshooting-link",href:"https://microsoft.sharepoint.com/teams/ngphome/ngpx/execution/SitePages/Export-Troubleshooting.aspx",children:"here"})}},messageBarType:"warning"})},ale=function(e){var t=e.traceData;return ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:6},ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Result: Successfully retrieved trace data."),ol().createElement(Jw,null,"Data:"),ol().createElement(jw,{padding:"0 0 0 24px"},ol().createElement("ul",null,ol().createElement("li",null,"Command ID: ",t.commandId),ol().createElement("li",null,"Command Type: ",t.commandType),ol().createElement("li",null,"IsComplete: ",t.isGloballyComplete?"true":"false"),ol().createElement("li",null,"Context: ",t.context),ol().createElement("li",null,"Requester: ",t.requester),ol().createElement("li",null,"Export Destination: ",t.finalExportDestinationUri))))),"Export"===t.commandType&&ol().createElement(zw,{slots:6},ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Qx,{textWithTokens:"{note} If IsComplete is false, that means not all agents have responded with the necessary data for the archive. If you are sure that {your} agent has reacted to the export command, you can click on 'Force Complete' to get the archive generated regardless of the status of the other agents.",tokensAndValues:{note:ol().createElement(Jw,{weightOverride:"bold"},"Note:"),your:ol().createElement(Jw,{weightOverride:"bold"},"your")}}),ol().createElement(Jw,null,"To validate the data in your export archive:"),ol().createElement(jw,{padding:"0 0 0 24px"},ol().createElement("ol",null,ol().createElement("li",null,ol().createElement(Qx,{textWithTokens:"Download Azure Storage Explorer {here}",tokensAndValues:{here:ol().createElement(Kx,{"aria-label":"Download Azure Storage Explorer","data-bi-id":"privacy.partner.downloadAzureStorageExplorer-link",href:"https://azure.microsoft.com/en-us/features/storage-explorer/",children:"here"})}})),ol().createElement("li",null,'Select "Use a connection string or a shared access signature URI"'),ol().createElement("li",null,'Select "Use a SAS URI"'),ol().createElement("li",null,'Copy and paste the "Export Destination" URI'))))))},sle=function(){return ol().createElement(Uw,{totalSlots:12},ol().createElement(zw,{slots:3,align:"end"},ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"bold"},"Agent ID"),ol().createElement(Jw,{weightOverride:"bold"},"Asset Group ID"))),ol().createElement(zw,{slots:3,align:"end"},ol().createElement(Jw,{weightOverride:"bold"},"Asset Group Qualifier")),ol().createElement(zw,{slots:3,align:"end"},ol().createElement(jw,null,ol().createElement(Jw,{weightOverride:"bold"},"Ingestion Debug Text"),ol().createElement(Jw,{weightOverride:"bold"},"Ingestion Action Taken"),ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},ol().createElement(Jw,{weightOverride:"bold"},"Force Completed?"),ol().createElement(LT,{calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":"More information about Force Completed","data-bi-id":"privacy.partner.forceCompleted-callout",iconName:"Info"},children:"Whether an agent completed on its own or someone clicked 'Force Complete' before it was done processing."})))),ol().createElement(zw,{slots:3,align:"end"},ol().createElement(jw,null,ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},ol().createElement(Jw,{weightOverride:"bold"},"Ingestion Time"),ol().createElement(LT,{calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":"More information about Ingestion Time","data-bi-id":"privacy.partner.ingestionTime-callout",iconName:"Info"},children:"The time that PCF put the command into the agent's queue."})),ol().createElement(jw,{horizontal:!0,verticalAlign:"center"},ol().createElement(Jw,{weightOverride:"bold"},"Completed Time"),ol().createElement(LT,{calloutTrigger:"IconButton",calloutTriggerProps:{"aria-label":"More information about Completed Time","data-bi-id":"privacy.partner.completedTime-callout",iconName:"Info"},children:"The time that the agent marked the command as completed."})),ol().createElement(Jw,{weightOverride:"bold"},"Soft Delete Time"),ol().createElement(Jw,{weightOverride:"bold"},"Ingestion Data Set Version"))))},cle=function(e){return"https://manage.privacy.microsoft.com/data-agents/view/".concat(e)},lle=function(e){return"https://manage.privacy.microsoft.com/data-assets/view/".concat(e)},ule=PO((function(e){var t=e.assetRow,n=e.index,r=t.agentId,o=t.assetGroupId,i=ol().createElement(iN,{hyperlinks:[{"aria-label":"Agent ".concat(r),"data-bi-id":"privacy.partner.traceDataAgentId-link",href:cle(r),children:"Agent: ".concat(r)},{"aria-label":"Asset ".concat(o),"data-bi-id":"privacy.partner.traceDataAssetId-link",href:lle(o),children:"Asset: ".concat(o)}],key:"firstColumn-".concat(n)}),a=t.assetGroupQualifier.split(";"),s=ol().createElement(gN,{textElements:a.map((function(e){return{children:e}})),key:"secondColumn-".concat(n)}),c=ol().createElement(gN,{textElements:[{children:t.ingestionDebugText},{children:t.ingestionActionTaken},{children:"Force completed: ".concat(t.forceCompleted)}],key:"thirdColumn-".concat(n)}),l=ol().createElement(gN,{textElements:[{children:"Ingested: ".concat(t.ingestionTime)},{children:"Completed: ".concat(t.completedTime)},{children:"Soft Delete: ".concat(t.softDeleteTime)},{children:"Version: ".concat(t.ingestionDataSetVersion)}],key:"finalColumn-".concat(n)});return ol().createElement(UN,{variant:"ThreeThreeThreeThree",columns:[i,s,c,l]})})),dle="DroppedDueToFiltering",ple="DroppedDueToOfflineAgent",hle=function(e){var t=e.traceData,n=e.tsvHref,r=e.agentAssetID,o=e.hideRowsValues,i=t.assetGroupStatuses.filter((function(e){if(o.dropped){if(e.ingestionActionTaken===dle)return!1;if(e.ingestionActionTaken===ple)return!1}return!(o.incomplete&&(!e.completedTime||""===e.completedTime))&&((!o.complete||!e.completedTime||""===e.completedTime)&&(""===r||!(!e.agentId.includes(r)&&!e.assetGroupId.includes(r))))}));return ol().createElement(ol().Fragment,null,ol().createElement(Jw,{variant:"headerText"},"Agent/Asset Group Status:"),ol().createElement(Kx,{"aria-label":"Download data as TSV","data-bi-id":"privacy.partner.downloadDataTSV-hyperlink",href:n,target:"_blank",children:"Download data as TSV",download:"agent_asset_status.tsv"}),ol().createElement(FO,{header:ol().createElement(sle,null),isAlwaysExpanded:!0,children:i.map((function(e,t){return ol().createElement(ule,{assetRow:e,index:t})}))}))},fle=function(e){var t=e.traceData,n=e.tsvHref,r=eY((0,rl.useState)(""),2),o=r[0],i=r[1],a=eY((0,rl.useState)(!0),2),s=a[0],c=a[1],l=eY((0,rl.useState)(!1),2),u=l[0],d=l[1],p=eY((0,rl.useState)(!1),2),h=p[0],f=p[1],m={dropped:s,incomplete:u,complete:h};return ol().createElement(jw,{childrenGap:"16px"},ol().createElement(ale,{traceData:t}),ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Table Filters:"),ol().createElement(jw,{width:"25%"},ol().createElement(zz,{"aria-label":"Enter an agent/asset ID","data-bi-id":"privacy.partner.agentAssentID-textInput",placeholder:"Enter an agent/asset ID",value:o,onChange:function(e,t){return i(t||"")}})),ol().createElement(lD,{"aria-label":"Hide dropped rows","data-bi-id":"privacy.partner.hideDroppedRows-checkbox",checked:s,onChange:function(e,t){return c(t||!1)},label:"Hide Dropped Rows"}),ol().createElement(lD,{"aria-label":"Hide Incomplete rows","data-bi-id":"privacy.partner.hideIncompleteRows-checkbox",checked:u,onChange:function(e,t){return d(t||!1)},label:"Hide Incomplete Rows"}),ol().createElement(lD,{"aria-label":"Hide Complete rows","data-bi-id":"privacy.partner.hideCompleteRows-checkbox",checked:h,onChange:function(e,t){return f(t||!1)},label:"Hide Complete Rows"})),ol().createElement(hle,{traceData:t,tsvHref:n,agentAssetID:o,hideRowsValues:m}))},mle="completeExport",gle="getTraceData",vle="00000000-0000-0000-0000-000000000000",yle=function(){var e=up(),t=eY((0,rl.useState)(""),2),n=t[0],r=t[1],o=eY((0,rl.useState)({}),2),i=o[0],a=o[1],s=eY((0,rl.useState)(!1),2),c=s[0],l=s[1],u=eY((0,rl.useState)(!1),2),d=u[0],p=u[1],h=eY((0,rl.useState)(!0),2),f=h[0],m=h[1],g=eY((0,rl.useState)(!1),2),v=g[0],y=g[1],b=eY((0,rl.useState)(""),2),_=b[0],C=b[1],w=function(){var t=vte(jee().mark((function t(){var r,o,i,s,c,u,d=arguments;return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=d.length>0&&void 0!==d[0]&&d[0],t.prev=1,e({name:gle,status:"updating"}),y(!0),r||e({name:mle,status:"inert"}),t.next=7,bce(n);case 7:o=t.sent,a(o),i=o.commandId!==vle,l(i),m(!1),i&&(s=o.assetGroupStatuses,c="AgentId\tAssetGroupId\tAssetGroupQualifier\tIngestionDebugText\tIngestionActionTaken\tForceCompleted\tIngestionTime\tCompletedTime\tSoftDeleteTime\tIngestionDataSetVersion\r\n",s.forEach((function(e){c+="".concat(e.agentId,"\t").concat(e.assetGroupId,"\t").concat(e.assetGroupQualifier,"\t").concat(e.ingestionDebugText,"\t").concat(e.ingestionActionTaken,"\t").concat(e.forceCompleted,"\t").concat(e.ingestionTime,"\t").concat(e.completedTime,"\t").concat(e.softDeleteTime,"\t").concat(e.ingestionDataSetVersion,"\r\n")})),u=new Blob([c],{type:"text/tab-separated-values;charset=utf8"}),C(URL.createObjectURL(u))),e({name:gle,status:"finished"}),t.next=19;break;case 16:t.prev=16,t.t0=t.catch(1),e({name:gle,status:"failed",error:t.t0});case 19:return t.prev=19,y(!1),t.finish(19);case 22:case"end":return t.stop()}}),t,null,[[1,16,19,22]])})));return function(){return t.apply(this,arguments)}}(),E=function(){var t=vte(jee().mark((function t(){return jee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e({name:mle,status:"updating"}),m(!0),t.next=5,_ce(n);case 5:return e({name:mle,status:"finished"}),t.next=8,w(!0);case 8:t.next=14;break;case 10:t.prev=10,t.t0=t.catch(0),e({name:mle,status:"failed",error:t.t0}),m(!1);case 14:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(){return t.apply(this,arguments)}}();(0,rl.useEffect)((function(){p(i&&"Export"===i.commandType&&!i.isGloballyComplete)}),[i]);var x={"aria-label":"Get Trace Data","data-bi-id":"privacy.partner.traceRequest-button",onClick:function(){w()},text:"Get trace data",disabled:v||""===n},S={"aria-label":"Force complete export","data-bi-id":"privacy.partner.forceCompleteExport-button",onClick:E,text:"Force complete export",disabled:f};return ol().createElement(jw,{childrenGap:"8px"},i&&"Export"===i.commandType&&ol().createElement(ile,null),ol().createElement(jw,{width:"25%",childrenGap:"8px"},ol().createElement(zz,{placeholder:"Command ID","data-bi-id":"privacy.partner.requestTracing-textInput","aria-label":"Input command id",value:n,onChange:function(e,t){return r(t||"")}}),ol().createElement(DT,x)),d&&ol().createElement(hp,{operationData:{operationName:mle,componentName:"completeExportButton"},inertView:ol().createElement(jw,{width:"25%"},ol().createElement(DT,S)),updatingView:ol().createElement(jw,null,ol().createElement(jw,{width:"25%"},ol().createElement(DT,S)),ol().createElement(Jw,null,"Completing export...")),failedView:ol().createElement(jw,null,ol().createElement(jw,{width:"25%"},ol().createElement(DT,S)),ol().createElement(Jw,null,"Failed to complete export.")),finishedView:ol().createElement(Qx,{textWithTokens:"Successfully completed export. {note} It may take a minute or two before this command is reported as isGloballyComplete.",tokensAndValues:{note:ol().createElement(Jw,{weightOverride:"bold"},"Note:")}})}),ol().createElement(hp,{operationData:{operationName:gle,componentName:"getTraceDataButton"},inertView:ol().createElement(Jw,null,"No trace data retrieved yet."),updatingView:ol().createElement(Jw,null,"Retrieving data..."),failedView:ol().createElement(Jw,null,"Result: Failed to retrieve trace data."),finishedView:c?ol().createElement(fle,{traceData:i,tsvHref:_}):ol().createElement(Jw,null,"Result: Command not found. No trace data to retrieve.")}))},ble=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"Command ID Tracing",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0},ol().createElement(jw,{childrenGap:"16px"},ol().createElement(ole,null),ol().createElement(yle,null)))},_le=function(){return ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Qx,{textWithTokens:"If you would like to trigger Alt-Subject deletes, this is not the page to do it. Please check out the {link} for more information.",tokensAndValues:{link:ol().createElement(Kx,{"aria-label":"Spec for Alternate Subject Requests through PRC","data-bi-id":"privacy.partner.ngpaltsubjectrequests-link",href:"http://aka.ms/ngpaltsubjectrequests",children:"Spec for Alternate Subject Requests through PRC",target:"_blank"})}}),ol().createElement(jw,{padding:"0 0 0 24px"},ol().createElement("ul",null,ol().createElement("li",null,ol().createElement(Kx,{"aria-label":"Overview of NGP Scenarios","data-bi-id":"privacy.partner.ngpscenarios-link",href:"http://aka.ms/ngpscenarios",children:"Overview of NGP Scenarios",target:"_blank"})),ol().createElement("li",null,ol().createElement(Kx,{"aria-label":"NGP Data Types","data-bi-id":"privacy.partner.ngpdatatypes-link",href:"http://aka.ms/ngpdatatypes",children:"NGP Data Types",target:"_blank"})),ol().createElement("li",null,ol().createElement(Kx,{"aria-label":"Starting point for all information for developing an export/delete agent","data-bi-id":"privacy.partner.ngpdataagents-link",href:"http://aka.ms/ngpdataagents",children:"Starting point for all information for developing an export/delete agent",target:"_blank"})),ol().createElement("li",null,ol().createElement(Kx,{"aria-label":"Delete Spec","data-bi-id":"privacy.partner.ngpdelete-link",href:"http://aka.ms/ngpdelete",children:"Delete Spec",target:"_blank"})),ol().createElement("li",null,ol().createElement(Kx,{"aria-label":"Export spec","data-bi-id":"privacy.partner.ngpexport-link",href:"http://aka.ms/ngpexport",children:"Export spec",target:"_blank"})))),ol().createElement(Qx,{textWithTokens:"Feel free to reach out to {link} with any further questions.",tokensAndValues:{link:ol().createElement(Kx,{"aria-label":"NGP Data Agents","data-bi-id":"privacy.partner.ngpsupport-link",href:"https://aka.ms/ngpsupport",children:"NGP Data Agents",target:"_blank"})}}))},Cle=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"Useful Information",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0,defaultExpanded:!0},ol().createElement(jw,{childrenGap:"16px"},ol().createElement(_le,null)))},wle=function(){var e={build:ol().createElement(Jw,{weightOverride:"bold"},"17084.1000.rsmaster.180122-1350"),settings:ol().createElement(Jw,{weightOverride:"bold"},"Settings > Privacy > Diagnostics & feedback"),link:ol().createElement(Kx,{"aria-label":"Windows Diagnostic Delete Signals spec","data-bi-id":"privacy.partner.windowsDiagnosticData-link",href:"https://microsoft.sharepoint.com/:w:/t/ngphome/ngpx/execution/EW63vK9bPxdDkqI8O2Si1ugBtIRhzq7e1TvjiwfR4K_BBQ?e=k6Ubm8",target:"_blank"},"Windows Diagnostic Delete Signals spec")};return ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Qx,{textWithTokens:"Download Windows RS4 client build {build} or later, and go to {settings} to trigger Windows Diagnostic delete commands.",tokensAndValues:e}),ol().createElement(Qx,{textWithTokens:"Note that this will generate commands against your device's MSA Global Device ID. For more information, see {link}.",tokensAndValues:e}))},Ele=function(){return ol().createElement(yO,{drawerHeader:ol().createElement(UI,{columns:[{column:ol().createElement(wI,{title:{children:"Windows Diagnostic Data",kind:"text"}}),slots:12}],totalSlots:12}),drawerContentPadding:"16px 16px 16px 48px",shadow:!0},ol().createElement(wle,null))},xle=function(){return"account.microsoft-ppe.com"===window.location.hostname?ol().createElement(jw,null,ol().createElement(Jw,null,"This is not the PPE you are looking for."),ol().createElement(Qx,{textWithTokens:"Please go to the {ppeTestPage} or the {prodTestPage} to continue with your validation and debugging.",tokensAndValues:{ppeTestPage:ol().createElement(Kx,{"aria-label":"PPE test page","data-bi-id":"privacy.partner.ppe-test-page-link",href:"https://privacy.account.microsoft-ppe.com/privacy/partner"},"PPE Test Page"),prodTestPage:ol().createElement(Kx,{"aria-label":"PPE test page","data-bi-id":"privacy.partner.ppe-test-page-link",href:"https://account.microsoft.com/privacy/partner"},"PROD Test Page")}})):ol().createElement(jw,null,ol().createElement(fre,null),ol().createElement(jw,{childrenGap:"8px"},ol().createElement(Jw,null,"Click on one of the drop-down items below to start testing."),ol().createElement(Qce,null),ol().createElement(ele,null),ol().createElement(Fce,null),ol().createElement(Sce,null),ol().createElement(Ele,null),ol().createElement(ble,null),ol().createElement(Mce,null),ol().createElement(rle,null),ol().createElement(Cle,null)))},Sle=function(){var e=Yte().adSettingsContent;return ol().createElement(jw,{id:"third-party-ad-settings"},ol().createElement(CA,{message:e.thirdPartyAds.pageTitle,ariaLive:"assertive"}),ol().createElement(jw,null,ol().createElement(fre,{subPage:Lne,useInAppNavigation:!1}),ol().createElement(dre,null)),ol().createElement(hre,{signedIn:!1}))},kle=function(){var e=mte(),t=e.bingMapsConfig,n=e.selfRights,r=e.selfAndKids,o=e.msaCountryCode;Al(qne,o);var i=Jte.filter((function(e){return"performance"!==e})).map((function(e){return"overview.activityDrawers.".concat(e)}));return ol().createElement(lre,{selfRights:n,kids:null===r||void 0===r?void 0:r.kids},ol().createElement(Hd,null,ol().createElement(Gp,{path:"/data-settings",area:"privacy",view:"office-settings",requiredComponents:[Joe]},ol().createElement(eie,null)),ol().createElement(Gp,{path:"/download-data",area:"privacy",view:"download-data",requiredComponents:[Are]},ol().createElement(Wre,null)),ol().createElement(Gp,{path:"/location-services-opt-out",area:"privacy",view:"mac-address-opt-out",requiredComponents:[Qre]},ol().createElement(Jre,null)),ol().createElement(Gp,{area:"privacy",path:"/ad-settings/signedout",view:"ad-settings-signedout",requiredComponents:[ire]},ol().createElement(Ire,{signedIn:!1})),ol().createElement(Gp,{area:"privacy",path:"/ad-settings",view:"ad-settings",requiredComponents:null!==n&&void 0!==n&&n.canManageAdSettings?[ire]:[]},ol().createElement(Ire,{signedIn:!0})),ol().createElement(Gp,{area:"privacy",path:"/third-party-ads",view:"third-party-ads",requiredComponents:[ure]},ol().createElement(Sle,null)),Xp("PrivTmlnInternalTest")&&ol().createElement(Gp,{area:"privacy",path:"/partner",view:"partner",requiredComponents:[]},ol().createElement(xle,null)),ol().createElement(Gp,{area:"privacy",path:"/",view:"overview",requiredComponents:i,exact:!0},ol().createElement(mJ,{config:t},ol().createElement(Eoe,null,ol().createElement(sB,null,ol().createElement(gce,null))))),ol().createElement(Ad,{from:"/export",to:"/download-data"}),ol().createElement(Ad,{to:"/"})))},Tle="PrivMsaljs",Ile=function(){ll((function(){aw()}));var e=mte(),t=Xp(Tle),n=function(n){var r=n.children;if(t&&e.isAuthenticated&&e.msalConfig){var o=Uee(e.msalConfig),i=e.signInName;return ol().createElement(ite,{instance:o,msalAuthConfig:{signInName:i}},r)}return ol().createElement(ol().Fragment,null,r)};return ol().createElement(n,null,ol().createElement(jd,{basename:"/privacy"},ol().createElement(QP,{variant:"AMC"},ol().createElement(Ez,{layoutType:"withoutNavBar",id:fl.P},ol().createElement(kle,null)))))},Ale=function(e){var t,n,r=e.cmsContent,o=e.areaConfig,i=e.areaContext;n=JSON.parse(o),ll((function(){pte=fte(n)})),function(e){ll((function(){Pte=fte(e)}))}(JSON.parse(r)),function(e){ll((function(){fte(e)}))}(JSON.parse(i));var a=null===(t=mte())||void 0===t?void 0:t.area;return ol().createElement(hh,{errorComponent:xz},ol().createElement(ih,{areaBiId:a},ol().createElement(SA,{announcedComponent:CA},ol().createElement(Ile,null))))};Rse=function(){var e=document.getElementById("root");-1===Object.keys(window).indexOf("MeePortal")&&(window.BradburyTelemetry={bi:{getCurrentLocation:function(){return"https://location.com"},getCurrentPageId:function(){return"pageId"},getCurrentReferrer:function(){return"https://referrer.com"},reportClick:function(e){kc(e)},reportSpaPageView:function(e){Sc()}},cv:{getCurrentCvValue:function(){return"cv123"}},experiments:{reportExperimentTrigger:function(e){Nc(e)}},perf:{reportViewPerformanceMetrics:function(e,t){Fc(e,t)}},qos:{reportFatalError:function(e){Ic(e)},reportOutgoingApi:function(e){Pc(e)},reportRawEvent:function(e){Ac(e)}}},qc({appId:"xs.amc.ux-reactApp",environment:"Test",isUserSignedIn:!1,allowClickTracking:!0,allowScrollTracking:!0,instrumentationKey:"key",useKeydownEvent:!1},{allowAutoPageView:!0,market:"en-US",language:"en",flights:[],features:[],urlScrubber:function(e){return e}})),pl().render(ol().createElement(jd,null,ol().createElement(Ale,e.dataset)),e)},Mse="privacy",(0,e.__awaiter)(void 0,void 0,void 0,(function(){var t,n,r,o,i,a;return(0,e.__generator)(this,(function(e){switch(e.label){case 0:t=Zc,r=performance.now(),o=!1,i=setTimeout((function(){o=!0,Du(nl,Mse,r)}),3e4),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,Rse()];case 2:return e.sent(),[3,5];case 3:throw a=e.sent(),t=el,n=a,a;case 4:return o||(clearTimeout(i),Du(t,Mse,r,n)),[7];case 5:return[2]}}))}))}()})();
//# sourceMappingURL=main.80054278.js.map
