function zC(n,r){for(var t=0;t<r.length;t++){const e=r[t];if(typeof e!="string"&&!Array.isArray(e)){for(const o in e)if(o!=="default"&&!(o in n)){const s=Object.getOwnPropertyDescriptor(e,o);s&&Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:()=>e[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function UC(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Mp={exports:{}},xs={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var Pp,Mg;function Vh(){if(Mg)return Pp;Mg=1;var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function e(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var a={},u=0;u<10;u++)a["_"+String.fromCharCode(u)]=u;var d=Object.getOwnPropertyNames(a).map(function(m){return a[m]});if(d.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(m){f[m]=m}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Pp=o()?Object.assign:function(s,a){for(var u,d=e(s),f,m=1;m<arguments.length;m++){u=Object(arguments[m]);for(var h in u)r.call(u,h)&&(d[h]=u[h]);if(n){f=n(u);for(var g=0;g<f.length;g++)t.call(u,f[g])&&(d[f[g]]=u[f[g]])}}return d},Pp}var Rp={exports:{}},at={};/** @license React v17.0.2
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Pg;function GC(){if(Pg)return at;Pg=1;var n=Vh(),r=60103,t=60106;at.Fragment=60107,at.StrictMode=60108,at.Profiler=60114;var e=60109,o=60110,s=60112;at.Suspense=60113;var a=60115,u=60116;if(typeof Symbol=="function"&&Symbol.for){var d=Symbol.for;r=d("react.element"),t=d("react.portal"),at.Fragment=d("react.fragment"),at.StrictMode=d("react.strict_mode"),at.Profiler=d("react.profiler"),e=d("react.provider"),o=d("react.context"),s=d("react.forward_ref"),at.Suspense=d("react.suspense"),a=d("react.memo"),u=d("react.lazy")}var f=typeof Symbol=="function"&&Symbol.iterator;function m(B){return B===null||typeof B!="object"?null:(B=f&&B[f]||B["@@iterator"],typeof B=="function"?B:null)}function h(B){for(var Z="https://reactjs.org/docs/error-decoder.html?invariant="+B,se=1;se<arguments.length;se++)Z+="&args[]="+encodeURIComponent(arguments[se]);return"Minified React error #"+B+"; visit "+Z+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function C(B,Z,se){this.props=B,this.context=Z,this.refs=y,this.updater=se||g}C.prototype.isReactComponent={},C.prototype.setState=function(B,Z){if(typeof B!="object"&&typeof B!="function"&&B!=null)throw Error(h(85));this.updater.enqueueSetState(this,B,Z,"setState")},C.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function x(){}x.prototype=C.prototype;function b(B,Z,se){this.props=B,this.context=Z,this.refs=y,this.updater=se||g}var S=b.prototype=new x;S.constructor=b,n(S,C.prototype),S.isPureReactComponent=!0;var F={current:null},D=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function L(B,Z,se){var le,z={},q=null,X=null;if(Z!=null)for(le in Z.ref!==void 0&&(X=Z.ref),Z.key!==void 0&&(q=""+Z.key),Z)D.call(Z,le)&&!A.hasOwnProperty(le)&&(z[le]=Z[le]);var me=arguments.length-2;if(me===1)z.children=se;else if(1<me){for(var pe=Array(me),De=0;De<me;De++)pe[De]=arguments[De+2];z.children=pe}if(B&&B.defaultProps)for(le in me=B.defaultProps,me)z[le]===void 0&&(z[le]=me[le]);return{$$typeof:r,type:B,key:q,ref:X,props:z,_owner:F.current}}function j(B,Z){return{$$typeof:r,type:B.type,key:Z,ref:B.ref,props:B.props,_owner:B._owner}}function M(B){return typeof B=="object"&&B!==null&&B.$$typeof===r}function R(B){var Z={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(se){return Z[se]})}var P=/\/+/g;function W(B,Z){return typeof B=="object"&&B!==null&&B.key!=null?R(""+B.key):Z.toString(36)}function Q(B,Z,se,le,z){var q=typeof B;(q==="undefined"||q==="boolean")&&(B=null);var X=!1;if(B===null)X=!0;else switch(q){case"string":case"number":X=!0;break;case"object":switch(B.$$typeof){case r:case t:X=!0}}if(X)return X=B,z=z(X),B=le===""?"."+W(X,0):le,Array.isArray(z)?(se="",B!=null&&(se=B.replace(P,"$&/")+"/"),Q(z,Z,se,"",function(De){return De})):z!=null&&(M(z)&&(z=j(z,se+(!z.key||X&&X.key===z.key?"":(""+z.key).replace(P,"$&/")+"/")+B)),Z.push(z)),1;if(X=0,le=le===""?".":le+":",Array.isArray(B))for(var me=0;me<B.length;me++){q=B[me];var pe=le+W(q,me);X+=Q(q,Z,se,pe,z)}else if(pe=m(B),typeof pe=="function")for(B=pe.call(B),me=0;!(q=B.next()).done;)q=q.value,pe=le+W(q,me++),X+=Q(q,Z,se,pe,z);else if(q==="object")throw Z=""+B,Error(h(31,Z==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":Z));return X}function K(B,Z,se){if(B==null)return B;var le=[],z=0;return Q(B,le,"","",function(q){return Z.call(se,q,z++)}),le}function J(B){if(B._status===-1){var Z=B._result;Z=Z(),B._status=0,B._result=Z,Z.then(function(se){B._status===0&&(se=se.default,B._status=1,B._result=se)},function(se){B._status===0&&(B._status=2,B._result=se)})}if(B._status===1)return B._result;throw B._result}var ne={current:null};function ie(){var B=ne.current;if(B===null)throw Error(h(321));return B}var fe={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:F,IsSomeRendererActing:{current:!1},assign:n};return at.Children={map:K,forEach:function(B,Z,se){K(B,function(){Z.apply(this,arguments)},se)},count:function(B){var Z=0;return K(B,function(){Z++}),Z},toArray:function(B){return K(B,function(Z){return Z})||[]},only:function(B){if(!M(B))throw Error(h(143));return B}},at.Component=C,at.PureComponent=b,at.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fe,at.cloneElement=function(B,Z,se){if(B==null)throw Error(h(267,B));var le=n({},B.props),z=B.key,q=B.ref,X=B._owner;if(Z!=null){if(Z.ref!==void 0&&(q=Z.ref,X=F.current),Z.key!==void 0&&(z=""+Z.key),B.type&&B.type.defaultProps)var me=B.type.defaultProps;for(pe in Z)D.call(Z,pe)&&!A.hasOwnProperty(pe)&&(le[pe]=Z[pe]===void 0&&me!==void 0?me[pe]:Z[pe])}var pe=arguments.length-2;if(pe===1)le.children=se;else if(1<pe){me=Array(pe);for(var De=0;De<pe;De++)me[De]=arguments[De+2];le.children=me}return{$$typeof:r,type:B.type,key:z,ref:q,props:le,_owner:X}},at.createContext=function(B,Z){return Z===void 0&&(Z=null),B={$$typeof:o,_calculateChangedBits:Z,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null},B.Provider={$$typeof:e,_context:B},B.Consumer=B},at.createElement=L,at.createFactory=function(B){var Z=L.bind(null,B);return Z.type=B,Z},at.createRef=function(){return{current:null}},at.forwardRef=function(B){return{$$typeof:s,render:B}},at.isValidElement=M,at.lazy=function(B){return{$$typeof:u,_payload:{_status:-1,_result:B},_init:J}},at.memo=function(B,Z){return{$$typeof:a,type:B,compare:Z===void 0?null:Z}},at.useCallback=function(B,Z){return ie().useCallback(B,Z)},at.useContext=function(B,Z){return ie().useContext(B,Z)},at.useDebugValue=function(){},at.useEffect=function(B,Z){return ie().useEffect(B,Z)},at.useImperativeHandle=function(B,Z,se){return ie().useImperativeHandle(B,Z,se)},at.useLayoutEffect=function(B,Z){return ie().useLayoutEffect(B,Z)},at.useMemo=function(B,Z){return ie().useMemo(B,Z)},at.useReducer=function(B,Z,se){return ie().useReducer(B,Z,se)},at.useRef=function(B){return ie().useRef(B)},at.useState=function(B){return ie().useState(B)},at.version="17.0.2",at}var Rg;function Kh(){return Rg||(Rg=1,Rp.exports=GC()),Rp.exports}/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ng;function VC(){if(Ng)return xs;Ng=1,Vh();var n=Kh(),r=60103;if(xs.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var t=Symbol.for;r=t("react.element"),xs.Fragment=t("react.fragment")}var e=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function a(u,d,f){var m,h={},g=null,y=null;f!==void 0&&(g=""+f),d.key!==void 0&&(g=""+d.key),d.ref!==void 0&&(y=d.ref);for(m in d)o.call(d,m)&&!s.hasOwnProperty(m)&&(h[m]=d[m]);if(u&&u.defaultProps)for(m in d=u.defaultProps,d)h[m]===void 0&&(h[m]=d[m]);return{$$typeof:r,type:u,key:g,ref:y,props:h,_owner:e.current}}return xs.jsx=a,xs.jsxs=a,xs}var Lg;function KC(){return Lg||(Lg=1,Mp.exports=VC()),Mp.exports}var c=KC(),Np={exports:{}},Xn={},Lp={exports:{}},Bp={};/** @license React v0.20.2
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Bg;function $C(){return Bg||(Bg=1,(function(n){var r,t,e,o;if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var a=Date,u=a.now();n.unstable_now=function(){return a.now()-u}}if(typeof window>"u"||typeof MessageChannel!="function"){var d=null,f=null,m=function(){if(d!==null)try{var z=n.unstable_now();d(!0,z),d=null}catch(q){throw setTimeout(m,0),q}};r=function(z){d!==null?setTimeout(r,0,z):(d=z,setTimeout(m,0))},t=function(z,q){f=setTimeout(z,q)},e=function(){clearTimeout(f)},n.unstable_shouldYield=function(){return!1},o=n.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,g=window.clearTimeout;if(typeof console<"u"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var C=!1,x=null,b=-1,S=5,F=0;n.unstable_shouldYield=function(){return n.unstable_now()>=F},o=function(){},n.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<z?Math.floor(1e3/z):5};var D=new MessageChannel,A=D.port2;D.port1.onmessage=function(){if(x!==null){var z=n.unstable_now();F=z+S;try{x(!0,z)?A.postMessage(null):(C=!1,x=null)}catch(q){throw A.postMessage(null),q}}else C=!1},r=function(z){x=z,C||(C=!0,A.postMessage(null))},t=function(z,q){b=h(function(){z(n.unstable_now())},q)},e=function(){g(b),b=-1}}function L(z,q){var X=z.length;z.push(q);e:for(;;){var me=X-1>>>1,pe=z[me];if(pe!==void 0&&0<R(pe,q))z[me]=q,z[X]=pe,X=me;else break e}}function j(z){return z=z[0],z===void 0?null:z}function M(z){var q=z[0];if(q!==void 0){var X=z.pop();if(X!==q){z[0]=X;e:for(var me=0,pe=z.length;me<pe;){var De=2*(me+1)-1,Te=z[De],ct=De+1,Ae=z[ct];if(Te!==void 0&&0>R(Te,X))Ae!==void 0&&0>R(Ae,Te)?(z[me]=Ae,z[ct]=X,me=ct):(z[me]=Te,z[De]=X,me=De);else if(Ae!==void 0&&0>R(Ae,X))z[me]=Ae,z[ct]=X,me=ct;else break e}}return q}return null}function R(z,q){var X=z.sortIndex-q.sortIndex;return X!==0?X:z.id-q.id}var P=[],W=[],Q=1,K=null,J=3,ne=!1,ie=!1,fe=!1;function B(z){for(var q=j(W);q!==null;){if(q.callback===null)M(W);else if(q.startTime<=z)M(W),q.sortIndex=q.expirationTime,L(P,q);else break;q=j(W)}}function Z(z){if(fe=!1,B(z),!ie)if(j(P)!==null)ie=!0,r(se);else{var q=j(W);q!==null&&t(Z,q.startTime-z)}}function se(z,q){ie=!1,fe&&(fe=!1,e()),ne=!0;var X=J;try{for(B(q),K=j(P);K!==null&&(!(K.expirationTime>q)||z&&!n.unstable_shouldYield());){var me=K.callback;if(typeof me=="function"){K.callback=null,J=K.priorityLevel;var pe=me(K.expirationTime<=q);q=n.unstable_now(),typeof pe=="function"?K.callback=pe:K===j(P)&&M(P),B(q)}else M(P);K=j(P)}if(K!==null)var De=!0;else{var Te=j(W);Te!==null&&t(Z,Te.startTime-q),De=!1}return De}finally{K=null,J=X,ne=!1}}var le=o;n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(z){z.callback=null},n.unstable_continueExecution=function(){ie||ne||(ie=!0,r(se))},n.unstable_getCurrentPriorityLevel=function(){return J},n.unstable_getFirstCallbackNode=function(){return j(P)},n.unstable_next=function(z){switch(J){case 1:case 2:case 3:var q=3;break;default:q=J}var X=J;J=q;try{return z()}finally{J=X}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=le,n.unstable_runWithPriority=function(z,q){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var X=J;J=z;try{return q()}finally{J=X}},n.unstable_scheduleCallback=function(z,q,X){var me=n.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?me+X:me):X=me,z){case 1:var pe=-1;break;case 2:pe=250;break;case 5:pe=1073741823;break;case 4:pe=1e4;break;default:pe=5e3}return pe=X+pe,z={id:Q++,callback:q,priorityLevel:z,startTime:X,expirationTime:pe,sortIndex:-1},X>me?(z.sortIndex=X,L(W,z),j(P)===null&&z===j(W)&&(fe?e():fe=!0,t(Z,X-me))):(z.sortIndex=pe,L(P,z),ie||ne||(ie=!0,r(se))),z},n.unstable_wrapCallback=function(z){var q=J;return function(){var X=J;J=q;try{return z.apply(this,arguments)}finally{J=X}}}})(Bp)),Bp}var jg;function qC(){return jg||(jg=1,Lp.exports=$C()),Lp.exports}/** @license React v17.0.2
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Og;function YC(){if(Og)return Xn;Og=1;var n=Kh(),r=Vh(),t=qC();function e(i){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+i,p=1;p<arguments.length;p++)l+="&args[]="+encodeURIComponent(arguments[p]);return"Minified React error #"+i+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(e(227));var o=new Set,s={};function a(i,l){u(i,l),u(i+"Capture",l)}function u(i,l){for(s[i]=l,i=0;i<l.length;i++)o.add(l[i])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m=Object.prototype.hasOwnProperty,h={},g={};function y(i){return m.call(g,i)?!0:m.call(h,i)?!1:f.test(i)?g[i]=!0:(h[i]=!0,!1)}function C(i,l,p,v){if(p!==null&&p.type===0)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":return v?!1:p!==null?!p.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function x(i,l,p,v){if(l===null||typeof l>"u"||C(i,l,p,v))return!0;if(v)return!1;if(p!==null)switch(p.type){case 3:return!l;case 4:return l===!1;case 5:return isNaN(l);case 6:return isNaN(l)||1>l}return!1}function b(i,l,p,v,w,E,T){this.acceptsBooleans=l===2||l===3||l===4,this.attributeName=v,this.attributeNamespace=w,this.mustUseProperty=p,this.propertyName=i,this.type=l,this.sanitizeURL=E,this.removeEmptyString=T}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){S[i]=new b(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var l=i[0];S[l]=new b(l,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){S[i]=new b(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){S[i]=new b(i,2,!1,i,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(i){S[i]=new b(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){S[i]=new b(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){S[i]=new b(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){S[i]=new b(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){S[i]=new b(i,5,!1,i.toLowerCase(),null,!1,!1)});var F=/[\-:]([a-z])/g;function D(i){return i[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(i){var l=i.replace(F,D);S[l]=new b(l,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var l=i.replace(F,D);S[l]=new b(l,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var l=i.replace(F,D);S[l]=new b(l,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){S[i]=new b(i,1,!1,i.toLowerCase(),null,!1,!1)}),S.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){S[i]=new b(i,1,!1,i.toLowerCase(),null,!0,!0)});function A(i,l,p,v){var w=S.hasOwnProperty(l)?S[l]:null,E=w!==null?w.type===0:v?!1:!(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N");E||(x(l,p,w,v)&&(p=null),v||w===null?y(l)&&(p===null?i.removeAttribute(l):i.setAttribute(l,""+p)):w.mustUseProperty?i[w.propertyName]=p===null?w.type===3?!1:"":p:(l=w.attributeName,v=w.attributeNamespace,p===null?i.removeAttribute(l):(w=w.type,p=w===3||w===4&&p===!0?"":""+p,v?i.setAttributeNS(v,l,p):i.setAttribute(l,p))))}var L=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,j=60103,M=60106,R=60107,P=60108,W=60114,Q=60109,K=60110,J=60112,ne=60113,ie=60120,fe=60115,B=60116,Z=60121,se=60128,le=60129,z=60130,q=60131;if(typeof Symbol=="function"&&Symbol.for){var X=Symbol.for;j=X("react.element"),M=X("react.portal"),R=X("react.fragment"),P=X("react.strict_mode"),W=X("react.profiler"),Q=X("react.provider"),K=X("react.context"),J=X("react.forward_ref"),ne=X("react.suspense"),ie=X("react.suspense_list"),fe=X("react.memo"),B=X("react.lazy"),Z=X("react.block"),X("react.scope"),se=X("react.opaque.id"),le=X("react.debug_trace_mode"),z=X("react.offscreen"),q=X("react.legacy_hidden")}var me=typeof Symbol=="function"&&Symbol.iterator;function pe(i){return i===null||typeof i!="object"?null:(i=me&&i[me]||i["@@iterator"],typeof i=="function"?i:null)}var De;function Te(i){if(De===void 0)try{throw Error()}catch(p){var l=p.stack.trim().match(/\n( *(at )?)/);De=l&&l[1]||""}return`
`+De+i}var ct=!1;function Ae(i,l){if(!i||ct)return"";ct=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(l)if(l=function(){throw Error()},Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(H){var v=H}Reflect.construct(i,[],l)}else{try{l.call()}catch(H){v=H}i.call(l.prototype)}else{try{throw Error()}catch(H){v=H}i()}}catch(H){if(H&&v&&typeof H.stack=="string"){for(var w=H.stack.split(`
`),E=v.stack.split(`
`),T=w.length-1,N=E.length-1;1<=T&&0<=N&&w[T]!==E[N];)N--;for(;1<=T&&0<=N;T--,N--)if(w[T]!==E[N]){if(T!==1||N!==1)do if(T--,N--,0>N||w[T]!==E[N])return`
`+w[T].replace(" at new "," at ");while(1<=T&&0<=N);break}}}finally{ct=!1,Error.prepareStackTrace=p}return(i=i?i.displayName||i.name:"")?Te(i):""}function Mt(i){switch(i.tag){case 5:return Te(i.type);case 16:return Te("Lazy");case 13:return Te("Suspense");case 19:return Te("SuspenseList");case 0:case 2:case 15:return i=Ae(i.type,!1),i;case 11:return i=Ae(i.type.render,!1),i;case 22:return i=Ae(i.type._render,!1),i;case 1:return i=Ae(i.type,!0),i;default:return""}}function ot(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case R:return"Fragment";case M:return"Portal";case W:return"Profiler";case P:return"StrictMode";case ne:return"Suspense";case ie:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case K:return(i.displayName||"Context")+".Consumer";case Q:return(i._context.displayName||"Context")+".Provider";case J:var l=i.render;return l=l.displayName||l.name||"",i.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case fe:return ot(i.type);case Z:return ot(i._render);case B:l=i._payload,i=i._init;try{return ot(i(l))}catch{}}return null}function Rt(i){switch(typeof i){case"boolean":case"number":case"object":case"string":case"undefined":return i;default:return""}}function Ut(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Yt(i){var l=Ut(i)?"checked":"value",p=Object.getOwnPropertyDescriptor(i.constructor.prototype,l),v=""+i[l];if(!i.hasOwnProperty(l)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var w=p.get,E=p.set;return Object.defineProperty(i,l,{configurable:!0,get:function(){return w.call(this)},set:function(T){v=""+T,E.call(this,T)}}),Object.defineProperty(i,l,{enumerable:p.enumerable}),{getValue:function(){return v},setValue:function(T){v=""+T},stopTracking:function(){i._valueTracker=null,delete i[l]}}}}function $t(i){i._valueTracker||(i._valueTracker=Yt(i))}function hn(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var p=l.getValue(),v="";return i&&(v=Ut(i)?i.checked?"true":"false":i.value),i=v,i!==p?(l.setValue(i),!0):!1}function kt(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function bt(i,l){var p=l.checked;return r({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??i._wrapperState.initialChecked})}function It(i,l){var p=l.defaultValue==null?"":l.defaultValue,v=l.checked!=null?l.checked:l.defaultChecked;p=Rt(l.value!=null?l.value:p),i._wrapperState={initialChecked:v,initialValue:p,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function Eo(i,l){l=l.checked,l!=null&&A(i,"checked",l,!1)}function Fr(i,l){Eo(i,l);var p=Rt(l.value),v=l.type;if(p!=null)v==="number"?(p===0&&i.value===""||i.value!=p)&&(i.value=""+p):i.value!==""+p&&(i.value=""+p);else if(v==="submit"||v==="reset"){i.removeAttribute("value");return}l.hasOwnProperty("value")?yn(i,l.type,p):l.hasOwnProperty("defaultValue")&&yn(i,l.type,Rt(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(i.defaultChecked=!!l.defaultChecked)}function uo(i,l,p){if(l.hasOwnProperty("value")||l.hasOwnProperty("defaultValue")){var v=l.type;if(!(v!=="submit"&&v!=="reset"||l.value!==void 0&&l.value!==null))return;l=""+i._wrapperState.initialValue,p||l===i.value||(i.value=l),i.defaultValue=l}p=i.name,p!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,p!==""&&(i.name=p)}function yn(i,l,p){(l!=="number"||kt(i.ownerDocument)!==i)&&(p==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+p&&(i.defaultValue=""+p))}function li(i){var l="";return n.Children.forEach(i,function(p){p!=null&&(l+=p)}),l}function Rn(i,l){return i=r({children:void 0},l),(l=li(l.children))&&(i.children=l),i}function fn(i,l,p,v){if(i=i.options,l){l={};for(var w=0;w<p.length;w++)l["$"+p[w]]=!0;for(p=0;p<i.length;p++)w=l.hasOwnProperty("$"+i[p].value),i[p].selected!==w&&(i[p].selected=w),w&&v&&(i[p].defaultSelected=!0)}else{for(p=""+Rt(p),l=null,w=0;w<i.length;w++){if(i[w].value===p){i[w].selected=!0,v&&(i[w].defaultSelected=!0);return}l!==null||i[w].disabled||(l=i[w])}l!==null&&(l.selected=!0)}}function co(i,l){if(l.dangerouslySetInnerHTML!=null)throw Error(e(91));return r({},l,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function Kn(i,l){var p=l.value;if(p==null){if(p=l.children,l=l.defaultValue,p!=null){if(l!=null)throw Error(e(92));if(Array.isArray(p)){if(!(1>=p.length))throw Error(e(93));p=p[0]}l=p}l==null&&(l=""),p=l}i._wrapperState={initialValue:Rt(p)}}function ui(i,l){var p=Rt(l.value),v=Rt(l.defaultValue);p!=null&&(p=""+p,p!==i.value&&(i.value=p),l.defaultValue==null&&i.defaultValue!==p&&(i.defaultValue=p)),v!=null&&(i.defaultValue=""+v)}function Ki(i){var l=i.textContent;l===i._wrapperState.initialValue&&l!==""&&l!==null&&(i.value=l)}var ee={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function G(i){switch(i){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ce(i,l){return i==null||i==="http://www.w3.org/1999/xhtml"?G(l):i==="http://www.w3.org/2000/svg"&&l==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var ut,Ft=(function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(l,p,v,w){MSApp.execUnsafeLocalFunction(function(){return i(l,p,v,w)})}:i})(function(i,l){if(i.namespaceURI!==ee.svg||"innerHTML"in i)i.innerHTML=l;else{for(ut=ut||document.createElement("div"),ut.innerHTML="<svg>"+l.valueOf().toString()+"</svg>",l=ut.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}});function Vr(i,l){if(l){var p=i.firstChild;if(p&&p===i.lastChild&&p.nodeType===3){p.nodeValue=l;return}}i.textContent=l}var ko={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ll=["Webkit","ms","Moz","O"];Object.keys(ko).forEach(function(i){Ll.forEach(function(l){l=l+i.charAt(0).toUpperCase()+i.substring(1),ko[l]=ko[i]})});function Xs(i,l,p){return l==null||typeof l=="boolean"||l===""?"":p||typeof l!="number"||l===0||ko.hasOwnProperty(i)&&ko[i]?(""+l).trim():l+"px"}function Qs(i,l){i=i.style;for(var p in l)if(l.hasOwnProperty(p)){var v=p.indexOf("--")===0,w=Xs(p,l[p],v);p==="float"&&(p="cssFloat"),v?i.setProperty(p,w):i[p]=w}}var Bl=r({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $i(i,l){if(l){if(Bl[i]&&(l.children!=null||l.dangerouslySetInnerHTML!=null))throw Error(e(137,i));if(l.dangerouslySetInnerHTML!=null){if(l.children!=null)throw Error(e(60));if(!(typeof l.dangerouslySetInnerHTML=="object"&&"__html"in l.dangerouslySetInnerHTML))throw Error(e(61))}if(l.style!=null&&typeof l.style!="object")throw Error(e(62))}}function Js(i,l){if(i.indexOf("-")===-1)return typeof l.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ci(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var ea=null,Kr=null,pr=null;function ta(i){if(i=Sa(i)){if(typeof ea!="function")throw Error(e(280));var l=i.stateNode;l&&(l=su(l),ea(i.stateNode,i.type,l))}}function $r(i){Kr?pr?pr.push(i):pr=[i]:Kr=i}function Dr(){if(Kr){var i=Kr,l=pr;if(pr=Kr=null,ta(i),l)for(i=0;i<l.length;i++)ta(l[i])}}function qi(i,l){return i(l)}function Io(i,l,p,v,w){return i(l,p,v,w)}function di(){}var jl=qi,Tr=!1,pi=!1;function hi(){(Kr!==null||pr!==null)&&(di(),Dr())}function Ol(i,l,p){if(pi)return i(l,p);pi=!0;try{return jl(i,l,p)}finally{pi=!1,hi()}}function po(i,l){var p=i.stateNode;if(p===null)return null;var v=su(p);if(v===null)return null;p=v[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(v=!v.disabled)||(i=i.type,v=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!v;break e;default:i=!1}if(i)return null;if(p&&typeof p!="function")throw Error(e(231,l,typeof p));return p}var na=!1;if(d)try{var fi={};Object.defineProperty(fi,"passive",{get:function(){na=!0}}),window.addEventListener("test",fi,fi),window.removeEventListener("test",fi,fi)}catch{na=!1}function ra(i,l,p,v,w,E,T,N,H){var oe=Array.prototype.slice.call(arguments,3);try{l.apply(p,oe)}catch(ye){this.onError(ye)}}var Fo=!1,Yi=null,Zi=!1,oa=null,Xi={onError:function(i){Fo=!0,Yi=i}};function ia(i,l,p,v,w,E,T,N,H){Fo=!1,Yi=null,ra.apply(Xi,arguments)}function Hl(i,l,p,v,w,E,T,N,H){if(ia.apply(this,arguments),Fo){if(Fo){var oe=Yi;Fo=!1,Yi=null}else throw Error(e(198));Zi||(Zi=!0,oa=oe)}}function Ar(i){var l=i,p=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do l=i,(l.flags&1026)!==0&&(p=l.return),i=l.return;while(i)}return l.tag===3?p:null}function sa(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}function Wl(i){if(Ar(i)!==i)throw Error(e(188))}function aa(i){var l=i.alternate;if(!l){if(l=Ar(i),l===null)throw Error(e(188));return l!==i?null:i}for(var p=i,v=l;;){var w=p.return;if(w===null)break;var E=w.alternate;if(E===null){if(v=w.return,v!==null){p=v;continue}break}if(w.child===E.child){for(E=w.child;E;){if(E===p)return Wl(w),i;if(E===v)return Wl(w),l;E=E.sibling}throw Error(e(188))}if(p.return!==v.return)p=w,v=E;else{for(var T=!1,N=w.child;N;){if(N===p){T=!0,p=w,v=E;break}if(N===v){T=!0,v=w,p=E;break}N=N.sibling}if(!T){for(N=E.child;N;){if(N===p){T=!0,p=E,v=w;break}if(N===v){T=!0,v=E,p=w;break}N=N.sibling}if(!T)throw Error(e(189))}}if(p.alternate!==v)throw Error(e(190))}if(p.tag!==3)throw Error(e(188));return p.stateNode.current===p?i:l}function la(i){if(i=aa(i),!i)return null;for(var l=i;;){if(l.tag===5||l.tag===6)return l;if(l.child)l.child.return=l,l=l.child;else{if(l===i)break;for(;!l.sibling;){if(!l.return||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}}return null}function ua(i,l){for(var p=i.alternate;l!==null;){if(l===i||l===p)return!0;l=l.return}return!1}var Qi,ca,zl,da,pa=!1,$n=[],qr=null,Yr=null,Ve=null,Ct=new Map,dt=new Map,qt=[],qn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function mi(i,l,p,v,w){return{blockedOn:i,domEventName:l,eventSystemFlags:p|16,nativeEvent:w,targetContainers:[v]}}function Ul(i,l){switch(i){case"focusin":case"focusout":qr=null;break;case"dragenter":case"dragleave":Yr=null;break;case"mouseover":case"mouseout":Ve=null;break;case"pointerover":case"pointerout":Ct.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(l.pointerId)}}function gi(i,l,p,v,w,E){return i===null||i.nativeEvent!==E?(i=mi(l,p,v,w,E),l!==null&&(l=Sa(l),l!==null&&ca(l)),i):(i.eventSystemFlags|=v,l=i.targetContainers,w!==null&&l.indexOf(w)===-1&&l.push(w),i)}function Gl(i,l,p,v,w){switch(l){case"focusin":return qr=gi(qr,i,l,p,v,w),!0;case"dragenter":return Yr=gi(Yr,i,l,p,v,w),!0;case"mouseover":return Ve=gi(Ve,i,l,p,v,w),!0;case"pointerover":var E=w.pointerId;return Ct.set(E,gi(Ct.get(E)||null,i,l,p,v,w)),!0;case"gotpointercapture":return E=w.pointerId,dt.set(E,gi(dt.get(E)||null,i,l,p,v,w)),!0}return!1}function lb(i){var l=vi(i.target);if(l!==null){var p=Ar(l);if(p!==null){if(l=p.tag,l===13){if(l=sa(p),l!==null){i.blockedOn=l,da(i.lanePriority,function(){t.unstable_runWithPriority(i.priority,function(){zl(p)})});return}}else if(l===3&&p.stateNode.hydrate){i.blockedOn=p.tag===3?p.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Vl(i){if(i.blockedOn!==null)return!1;for(var l=i.targetContainers;0<l.length;){var p=gd(i.domEventName,i.eventSystemFlags,l[0],i.nativeEvent);if(p!==null)return l=Sa(p),l!==null&&ca(l),i.blockedOn=p,!1;l.shift()}return!0}function Sf(i,l,p){Vl(i)&&p.delete(l)}function ub(){for(pa=!1;0<$n.length;){var i=$n[0];if(i.blockedOn!==null){i=Sa(i.blockedOn),i!==null&&Qi(i);break}for(var l=i.targetContainers;0<l.length;){var p=gd(i.domEventName,i.eventSystemFlags,l[0],i.nativeEvent);if(p!==null){i.blockedOn=p;break}l.shift()}i.blockedOn===null&&$n.shift()}qr!==null&&Vl(qr)&&(qr=null),Yr!==null&&Vl(Yr)&&(Yr=null),Ve!==null&&Vl(Ve)&&(Ve=null),Ct.forEach(Sf),dt.forEach(Sf)}function ha(i,l){i.blockedOn===l&&(i.blockedOn=null,pa||(pa=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,ub)))}function Ef(i){function l(w){return ha(w,i)}if(0<$n.length){ha($n[0],i);for(var p=1;p<$n.length;p++){var v=$n[p];v.blockedOn===i&&(v.blockedOn=null)}}for(qr!==null&&ha(qr,i),Yr!==null&&ha(Yr,i),Ve!==null&&ha(Ve,i),Ct.forEach(l),dt.forEach(l),p=0;p<qt.length;p++)v=qt[p],v.blockedOn===i&&(v.blockedOn=null);for(;0<qt.length&&(p=qt[0],p.blockedOn===null);)lb(p),p.blockedOn===null&&qt.shift()}function Kl(i,l){var p={};return p[i.toLowerCase()]=l.toLowerCase(),p["Webkit"+i]="webkit"+l,p["Moz"+i]="moz"+l,p}var Ji={animationend:Kl("Animation","AnimationEnd"),animationiteration:Kl("Animation","AnimationIteration"),animationstart:Kl("Animation","AnimationStart"),transitionend:Kl("Transition","TransitionEnd")},dd={},kf={};d&&(kf=document.createElement("div").style,"AnimationEvent"in window||(delete Ji.animationend.animation,delete Ji.animationiteration.animation,delete Ji.animationstart.animation),"TransitionEvent"in window||delete Ji.transitionend.transition);function $l(i){if(dd[i])return dd[i];if(!Ji[i])return i;var l=Ji[i],p;for(p in l)if(l.hasOwnProperty(p)&&p in kf)return dd[i]=l[p];return i}var If=$l("animationend"),Ff=$l("animationiteration"),Df=$l("animationstart"),Tf=$l("transitionend"),Af=new Map,pd=new Map,cb=["abort","abort",If,"animationEnd",Ff,"animationIteration",Df,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Tf,"transitionEnd","waiting","waiting"];function hd(i,l){for(var p=0;p<i.length;p+=2){var v=i[p],w=i[p+1];w="on"+(w[0].toUpperCase()+w.slice(1)),pd.set(v,l),Af.set(v,w),a(w,[v])}}var db=t.unstable_now;db();var St=8;function es(i){if((1&i)!==0)return St=15,1;if((2&i)!==0)return St=14,2;if((4&i)!==0)return St=13,4;var l=24&i;return l!==0?(St=12,l):(i&32)!==0?(St=11,32):(l=192&i,l!==0?(St=10,l):(i&256)!==0?(St=9,256):(l=3584&i,l!==0?(St=8,l):(i&4096)!==0?(St=7,4096):(l=4186112&i,l!==0?(St=6,l):(l=62914560&i,l!==0?(St=5,l):i&67108864?(St=4,67108864):(i&134217728)!==0?(St=3,134217728):(l=805306368&i,l!==0?(St=2,l):(1073741824&i)!==0?(St=1,1073741824):(St=8,i))))))}function pb(i){switch(i){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function hb(i){switch(i){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(e(358,i))}}function fa(i,l){var p=i.pendingLanes;if(p===0)return St=0;var v=0,w=0,E=i.expiredLanes,T=i.suspendedLanes,N=i.pingedLanes;if(E!==0)v=E,w=St=15;else if(E=p&134217727,E!==0){var H=E&~T;H!==0?(v=es(H),w=St):(N&=E,N!==0&&(v=es(N),w=St))}else E=p&~T,E!==0?(v=es(E),w=St):N!==0&&(v=es(N),w=St);if(v===0)return 0;if(v=31-Do(v),v=p&((0>v?0:1<<v)<<1)-1,l!==0&&l!==v&&(l&T)===0){if(es(l),w<=St)return l;St=w}if(l=i.entangledLanes,l!==0)for(i=i.entanglements,l&=v;0<l;)p=31-Do(l),w=1<<p,v|=i[p],l&=~w;return v}function Mf(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function ql(i,l){switch(i){case 15:return 1;case 14:return 2;case 12:return i=ts(24&~l),i===0?ql(10,l):i;case 10:return i=ts(192&~l),i===0?ql(8,l):i;case 8:return i=ts(3584&~l),i===0&&(i=ts(4186112&~l),i===0&&(i=512)),i;case 2:return l=ts(805306368&~l),l===0&&(l=268435456),l}throw Error(e(358,i))}function ts(i){return i&-i}function fd(i){for(var l=[],p=0;31>p;p++)l.push(i);return l}function Yl(i,l,p){i.pendingLanes|=l;var v=l-1;i.suspendedLanes&=v,i.pingedLanes&=v,i=i.eventTimes,l=31-Do(l),i[l]=p}var Do=Math.clz32?Math.clz32:gb,fb=Math.log,mb=Math.LN2;function gb(i){return i===0?32:31-(fb(i)/mb|0)|0}var vb=t.unstable_UserBlockingPriority,yb=t.unstable_runWithPriority,Zl=!0;function _b(i,l,p,v){Tr||di();var w=md,E=Tr;Tr=!0;try{Io(w,i,l,p,v)}finally{(Tr=E)||hi()}}function bb(i,l,p,v){yb(vb,md.bind(null,i,l,p,v))}function md(i,l,p,v){if(Zl){var w;if((w=(l&4)===0)&&0<$n.length&&-1<qn.indexOf(i))i=mi(null,i,l,p,v),$n.push(i);else{var E=gd(i,l,p,v);if(E===null)w&&Ul(i,v);else{if(w){if(-1<qn.indexOf(i)){i=mi(E,i,l,p,v),$n.push(i);return}if(Gl(E,i,l,p,v))return;Ul(i,v)}am(i,l,v,null,p)}}}}function gd(i,l,p,v){var w=ci(v);if(w=vi(w),w!==null){var E=Ar(w);if(E===null)w=null;else{var T=E.tag;if(T===13){if(w=sa(E),w!==null)return w;w=null}else if(T===3){if(E.stateNode.hydrate)return E.tag===3?E.stateNode.containerInfo:null;w=null}else E!==w&&(w=null)}}return am(i,l,v,w,p),null}var To=null,vd=null,Xl=null;function Pf(){if(Xl)return Xl;var i,l=vd,p=l.length,v,w="value"in To?To.value:To.textContent,E=w.length;for(i=0;i<p&&l[i]===w[i];i++);var T=p-i;for(v=1;v<=T&&l[p-v]===w[E-v];v++);return Xl=w.slice(i,1<v?1-v:void 0)}function Ql(i){var l=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&l===13&&(i=13)):i=l,i===10&&(i=13),32<=i||i===13?i:0}function Jl(){return!0}function Rf(){return!1}function Yn(i){function l(p,v,w,E,T){this._reactName=p,this._targetInst=w,this.type=v,this.nativeEvent=E,this.target=T,this.currentTarget=null;for(var N in i)i.hasOwnProperty(N)&&(p=i[N],this[N]=p?p(E):E[N]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Jl:Rf,this.isPropagationStopped=Rf,this}return r(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var p=this.nativeEvent;p&&(p.preventDefault?p.preventDefault():typeof p.returnValue!="unknown"&&(p.returnValue=!1),this.isDefaultPrevented=Jl)},stopPropagation:function(){var p=this.nativeEvent;p&&(p.stopPropagation?p.stopPropagation():typeof p.cancelBubble!="unknown"&&(p.cancelBubble=!0),this.isPropagationStopped=Jl)},persist:function(){},isPersistent:Jl}),l}var ns={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yd=Yn(ns),ma=r({},ns,{view:0,detail:0}),Cb=Yn(ma),_d,bd,ga,eu=r({},ma,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xd,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==ga&&(ga&&i.type==="mousemove"?(_d=i.screenX-ga.screenX,bd=i.screenY-ga.screenY):bd=_d=0,ga=i),_d)},movementY:function(i){return"movementY"in i?i.movementY:bd}}),Nf=Yn(eu),xb=r({},eu,{dataTransfer:0}),wb=Yn(xb),Sb=r({},ma,{relatedTarget:0}),Cd=Yn(Sb),Eb=r({},ns,{animationName:0,elapsedTime:0,pseudoElement:0}),kb=Yn(Eb),Ib=r({},ns,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),Fb=Yn(Ib),Db=r({},ns,{data:0}),Lf=Yn(Db),Tb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ab={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Mb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pb(i){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(i):(i=Mb[i])?!!l[i]:!1}function xd(){return Pb}var Rb=r({},ma,{key:function(i){if(i.key){var l=Tb[i.key]||i.key;if(l!=="Unidentified")return l}return i.type==="keypress"?(i=Ql(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?Ab[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xd,charCode:function(i){return i.type==="keypress"?Ql(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Ql(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),Nb=Yn(Rb),Lb=r({},eu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bf=Yn(Lb),Bb=r({},ma,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xd}),jb=Yn(Bb),Ob=r({},ns,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hb=Yn(Ob),Wb=r({},eu,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),zb=Yn(Wb),Ub=[9,13,27,32],wd=d&&"CompositionEvent"in window,va=null;d&&"documentMode"in document&&(va=document.documentMode);var Gb=d&&"TextEvent"in window&&!va,jf=d&&(!wd||va&&8<va&&11>=va),Of=" ",Hf=!1;function Wf(i,l){switch(i){case"keyup":return Ub.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zf(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var rs=!1;function Vb(i,l){switch(i){case"compositionend":return zf(l);case"keypress":return l.which!==32?null:(Hf=!0,Of);case"textInput":return i=l.data,i===Of&&Hf?null:i;default:return null}}function Kb(i,l){if(rs)return i==="compositionend"||!wd&&Wf(i,l)?(i=Pf(),Xl=vd=To=null,rs=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return jf&&l.locale!=="ko"?null:l.data;default:return null}}var $b={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Uf(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l==="input"?!!$b[i.type]:l==="textarea"}function Gf(i,l,p,v){$r(v),l=nu(l,"onChange"),0<l.length&&(p=new yd("onChange","change",null,p,v),i.push({event:p,listeners:l}))}var ya=null,_a=null;function qb(i){nm(i,0)}function tu(i){var l=ls(i);if(hn(l))return i}function Yb(i,l){if(i==="change")return l}var Vf=!1;if(d){var Sd;if(d){var Ed="oninput"in document;if(!Ed){var Kf=document.createElement("div");Kf.setAttribute("oninput","return;"),Ed=typeof Kf.oninput=="function"}Sd=Ed}else Sd=!1;Vf=Sd&&(!document.documentMode||9<document.documentMode)}function $f(){ya&&(ya.detachEvent("onpropertychange",qf),_a=ya=null)}function qf(i){if(i.propertyName==="value"&&tu(_a)){var l=[];if(Gf(l,_a,i,ci(i)),i=qb,Tr)i(l);else{Tr=!0;try{qi(i,l)}finally{Tr=!1,hi()}}}}function Zb(i,l,p){i==="focusin"?($f(),ya=l,_a=p,ya.attachEvent("onpropertychange",qf)):i==="focusout"&&$f()}function Xb(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return tu(_a)}function Qb(i,l){if(i==="click")return tu(l)}function Jb(i,l){if(i==="input"||i==="change")return tu(l)}function eC(i,l){return i===l&&(i!==0||1/i===1/l)||i!==i&&l!==l}var hr=typeof Object.is=="function"?Object.is:eC,tC=Object.prototype.hasOwnProperty;function ba(i,l){if(hr(i,l))return!0;if(typeof i!="object"||i===null||typeof l!="object"||l===null)return!1;var p=Object.keys(i),v=Object.keys(l);if(p.length!==v.length)return!1;for(v=0;v<p.length;v++)if(!tC.call(l,p[v])||!hr(i[p[v]],l[p[v]]))return!1;return!0}function Yf(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function Zf(i,l){var p=Yf(i);i=0;for(var v;p;){if(p.nodeType===3){if(v=i+p.textContent.length,i<=l&&v>=l)return{node:p,offset:l-i};i=v}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=Yf(p)}}function Xf(i,l){return i&&l?i===l?!0:i&&i.nodeType===3?!1:l&&l.nodeType===3?Xf(i,l.parentNode):"contains"in i?i.contains(l):i.compareDocumentPosition?!!(i.compareDocumentPosition(l)&16):!1:!1}function Qf(){for(var i=window,l=kt();l instanceof i.HTMLIFrameElement;){try{var p=typeof l.contentWindow.location.href=="string"}catch{p=!1}if(p)i=l.contentWindow;else break;l=kt(i.document)}return l}function kd(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}var nC=d&&"documentMode"in document&&11>=document.documentMode,os=null,Id=null,Ca=null,Fd=!1;function Jf(i,l,p){var v=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;Fd||os==null||os!==kt(v)||(v=os,"selectionStart"in v&&kd(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),Ca&&ba(Ca,v)||(Ca=v,v=nu(Id,"onSelect"),0<v.length&&(l=new yd("onSelect","select",null,l,p),i.push({event:l,listeners:v}),l.target=os)))}hd("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),hd("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),hd(cb,2);for(var em="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Dd=0;Dd<em.length;Dd++)pd.set(em[Dd],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xa="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rC=new Set("cancel close invalid load scroll toggle".split(" ").concat(xa));function tm(i,l,p){var v=i.type||"unknown-event";i.currentTarget=p,Hl(v,l,void 0,i),i.currentTarget=null}function nm(i,l){l=(l&4)!==0;for(var p=0;p<i.length;p++){var v=i[p],w=v.event;v=v.listeners;e:{var E=void 0;if(l)for(var T=v.length-1;0<=T;T--){var N=v[T],H=N.instance,oe=N.currentTarget;if(N=N.listener,H!==E&&w.isPropagationStopped())break e;tm(w,N,oe),E=H}else for(T=0;T<v.length;T++){if(N=v[T],H=N.instance,oe=N.currentTarget,N=N.listener,H!==E&&w.isPropagationStopped())break e;tm(w,N,oe),E=H}}}if(Zi)throw i=oa,Zi=!1,oa=null,i}function Dt(i,l){var p=hm(l),v=i+"__bubble";p.has(v)||(sm(l,i,2,!1),p.add(v))}var rm="_reactListening"+Math.random().toString(36).slice(2);function om(i){i[rm]||(i[rm]=!0,o.forEach(function(l){rC.has(l)||im(l,!1,i,null),im(l,!0,i,null)}))}function im(i,l,p,v){var w=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,E=p;i==="selectionchange"&&p.nodeType!==9&&(E=p.ownerDocument);var T=hm(E),N=i+"__"+(l?"capture":"bubble");T.has(N)||(l&&(w|=4),sm(E,i,w,l),T.add(N))}function sm(i,l,p,v){var w=pd.get(l);switch(w===void 0?2:w){case 0:w=_b;break;case 1:w=bb;break;default:w=md}p=w.bind(null,l,p,i),w=void 0,!na||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(w=!0),v?w!==void 0?i.addEventListener(l,p,{capture:!0,passive:w}):i.addEventListener(l,p,!0):w!==void 0?i.addEventListener(l,p,{passive:w}):i.addEventListener(l,p,!1)}function am(i,l,p,v,w){var E=v;if((l&1)===0&&(l&2)===0&&v!==null)e:for(;;){if(v===null)return;var T=v.tag;if(T===3||T===4){var N=v.stateNode.containerInfo;if(N===w||N.nodeType===8&&N.parentNode===w)break;if(T===4)for(T=v.return;T!==null;){var H=T.tag;if((H===3||H===4)&&(H=T.stateNode.containerInfo,H===w||H.nodeType===8&&H.parentNode===w))return;T=T.return}for(;N!==null;){if(T=vi(N),T===null)return;if(H=T.tag,H===5||H===6){v=E=T;continue e}N=N.parentNode}}v=v.return}Ol(function(){var oe=E,ye=ci(p),Ne=[];e:{var de=Af.get(i);if(de!==void 0){var Se=yd,Pe=i;switch(i){case"keypress":if(Ql(p)===0)break e;case"keydown":case"keyup":Se=Nb;break;case"focusin":Pe="focus",Se=Cd;break;case"focusout":Pe="blur",Se=Cd;break;case"beforeblur":case"afterblur":Se=Cd;break;case"click":if(p.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Se=Nf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Se=wb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Se=jb;break;case If:case Ff:case Df:Se=kb;break;case Tf:Se=Hb;break;case"scroll":Se=Cb;break;case"wheel":Se=zb;break;case"copy":case"cut":case"paste":Se=Fb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Se=Bf}var Ie=(l&4)!==0,Y=!Ie&&i==="scroll",U=Ie?de!==null?de+"Capture":null:de;Ie=[];for(var $=oe,ue;$!==null;){ue=$;var ce=ue.stateNode;if(ue.tag===5&&ce!==null&&(ue=ce,U!==null&&(ce=po($,U),ce!=null&&Ie.push(wa($,ce,ue)))),Y)break;$=$.return}0<Ie.length&&(de=new Se(de,Pe,null,p,ye),Ne.push({event:de,listeners:Ie}))}}if((l&7)===0){e:{if(de=i==="mouseover"||i==="pointerover",Se=i==="mouseout"||i==="pointerout",de&&(l&16)===0&&(Pe=p.relatedTarget||p.fromElement)&&(vi(Pe)||Pe[as]))break e;if((Se||de)&&(de=ye.window===ye?ye:(de=ye.ownerDocument)?de.defaultView||de.parentWindow:window,Se?(Pe=p.relatedTarget||p.toElement,Se=oe,Pe=Pe?vi(Pe):null,Pe!==null&&(Y=Ar(Pe),Pe!==Y||Pe.tag!==5&&Pe.tag!==6)&&(Pe=null)):(Se=null,Pe=oe),Se!==Pe)){if(Ie=Nf,ce="onMouseLeave",U="onMouseEnter",$="mouse",(i==="pointerout"||i==="pointerover")&&(Ie=Bf,ce="onPointerLeave",U="onPointerEnter",$="pointer"),Y=Se==null?de:ls(Se),ue=Pe==null?de:ls(Pe),de=new Ie(ce,$+"leave",Se,p,ye),de.target=Y,de.relatedTarget=ue,ce=null,vi(ye)===oe&&(Ie=new Ie(U,$+"enter",Pe,p,ye),Ie.target=ue,Ie.relatedTarget=Y,ce=Ie),Y=ce,Se&&Pe)t:{for(Ie=Se,U=Pe,$=0,ue=Ie;ue;ue=is(ue))$++;for(ue=0,ce=U;ce;ce=is(ce))ue++;for(;0<$-ue;)Ie=is(Ie),$--;for(;0<ue-$;)U=is(U),ue--;for(;$--;){if(Ie===U||U!==null&&Ie===U.alternate)break t;Ie=is(Ie),U=is(U)}Ie=null}else Ie=null;Se!==null&&lm(Ne,de,Se,Ie,!1),Pe!==null&&Y!==null&&lm(Ne,Y,Pe,Ie,!0)}}e:{if(de=oe?ls(oe):window,Se=de.nodeName&&de.nodeName.toLowerCase(),Se==="select"||Se==="input"&&de.type==="file")var Be=Yb;else if(Uf(de))if(Vf)Be=Jb;else{Be=Xb;var we=Zb}else(Se=de.nodeName)&&Se.toLowerCase()==="input"&&(de.type==="checkbox"||de.type==="radio")&&(Be=Qb);if(Be&&(Be=Be(i,oe))){Gf(Ne,Be,p,ye);break e}we&&we(i,de,oe),i==="focusout"&&(we=de._wrapperState)&&we.controlled&&de.type==="number"&&yn(de,"number",de.value)}switch(we=oe?ls(oe):window,i){case"focusin":(Uf(we)||we.contentEditable==="true")&&(os=we,Id=oe,Ca=null);break;case"focusout":Ca=Id=os=null;break;case"mousedown":Fd=!0;break;case"contextmenu":case"mouseup":case"dragend":Fd=!1,Jf(Ne,p,ye);break;case"selectionchange":if(nC)break;case"keydown":case"keyup":Jf(Ne,p,ye)}var je;if(wd)e:{switch(i){case"compositionstart":var Ye="onCompositionStart";break e;case"compositionend":Ye="onCompositionEnd";break e;case"compositionupdate":Ye="onCompositionUpdate";break e}Ye=void 0}else rs?Wf(i,p)&&(Ye="onCompositionEnd"):i==="keydown"&&p.keyCode===229&&(Ye="onCompositionStart");Ye&&(jf&&p.locale!=="ko"&&(rs||Ye!=="onCompositionStart"?Ye==="onCompositionEnd"&&rs&&(je=Pf()):(To=ye,vd="value"in To?To.value:To.textContent,rs=!0)),we=nu(oe,Ye),0<we.length&&(Ye=new Lf(Ye,i,null,p,ye),Ne.push({event:Ye,listeners:we}),je?Ye.data=je:(je=zf(p),je!==null&&(Ye.data=je)))),(je=Gb?Vb(i,p):Kb(i,p))&&(oe=nu(oe,"onBeforeInput"),0<oe.length&&(ye=new Lf("onBeforeInput","beforeinput",null,p,ye),Ne.push({event:ye,listeners:oe}),ye.data=je))}nm(Ne,l)})}function wa(i,l,p){return{instance:i,listener:l,currentTarget:p}}function nu(i,l){for(var p=l+"Capture",v=[];i!==null;){var w=i,E=w.stateNode;w.tag===5&&E!==null&&(w=E,E=po(i,p),E!=null&&v.unshift(wa(i,E,w)),E=po(i,l),E!=null&&v.push(wa(i,E,w))),i=i.return}return v}function is(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function lm(i,l,p,v,w){for(var E=l._reactName,T=[];p!==null&&p!==v;){var N=p,H=N.alternate,oe=N.stateNode;if(H!==null&&H===v)break;N.tag===5&&oe!==null&&(N=oe,w?(H=po(p,E),H!=null&&T.unshift(wa(p,H,N))):w||(H=po(p,E),H!=null&&T.push(wa(p,H,N)))),p=p.return}T.length!==0&&i.push({event:l,listeners:T})}function ru(){}var Td=null,Ad=null;function um(i,l){switch(i){case"button":case"input":case"select":case"textarea":return!!l.autoFocus}return!1}function Md(i,l){return i==="textarea"||i==="option"||i==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var cm=typeof setTimeout=="function"?setTimeout:void 0,oC=typeof clearTimeout=="function"?clearTimeout:void 0;function Pd(i){i.nodeType===1?i.textContent="":i.nodeType===9&&(i=i.body,i!=null&&(i.textContent=""))}function ss(i){for(;i!=null;i=i.nextSibling){var l=i.nodeType;if(l===1||l===3)break}return i}function dm(i){i=i.previousSibling;for(var l=0;i;){if(i.nodeType===8){var p=i.data;if(p==="$"||p==="$!"||p==="$?"){if(l===0)return i;l--}else p==="/$"&&l++}i=i.previousSibling}return null}var Rd=0;function iC(i){return{$$typeof:se,toString:i,valueOf:i}}var ou=Math.random().toString(36).slice(2),Ao="__reactFiber$"+ou,iu="__reactProps$"+ou,as="__reactContainer$"+ou,pm="__reactEvents$"+ou;function vi(i){var l=i[Ao];if(l)return l;for(var p=i.parentNode;p;){if(l=p[as]||p[Ao]){if(p=l.alternate,l.child!==null||p!==null&&p.child!==null)for(i=dm(i);i!==null;){if(p=i[Ao])return p;i=dm(i)}return l}i=p,p=i.parentNode}return null}function Sa(i){return i=i[Ao]||i[as],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function ls(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(e(33))}function su(i){return i[iu]||null}function hm(i){var l=i[pm];return l===void 0&&(l=i[pm]=new Set),l}var Nd=[],us=-1;function Mo(i){return{current:i}}function Tt(i){0>us||(i.current=Nd[us],Nd[us]=null,us--)}function Ht(i,l){us++,Nd[us]=i.current,i.current=l}var Po={},_n=Mo(Po),Nn=Mo(!1),yi=Po;function cs(i,l){var p=i.type.contextTypes;if(!p)return Po;var v=i.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===l)return v.__reactInternalMemoizedMaskedChildContext;var w={},E;for(E in p)w[E]=l[E];return v&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=l,i.__reactInternalMemoizedMaskedChildContext=w),w}function Ln(i){return i=i.childContextTypes,i!=null}function au(){Tt(Nn),Tt(_n)}function fm(i,l,p){if(_n.current!==Po)throw Error(e(168));Ht(_n,l),Ht(Nn,p)}function mm(i,l,p){var v=i.stateNode;if(i=l.childContextTypes,typeof v.getChildContext!="function")return p;v=v.getChildContext();for(var w in v)if(!(w in i))throw Error(e(108,ot(l)||"Unknown",w));return r({},p,v)}function lu(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Po,yi=_n.current,Ht(_n,i),Ht(Nn,Nn.current),!0}function gm(i,l,p){var v=i.stateNode;if(!v)throw Error(e(169));p?(i=mm(i,l,yi),v.__reactInternalMemoizedMergedChildContext=i,Tt(Nn),Tt(_n),Ht(_n,i)):Tt(Nn),Ht(Nn,p)}var Ld=null,_i=null,sC=t.unstable_runWithPriority,Bd=t.unstable_scheduleCallback,jd=t.unstable_cancelCallback,aC=t.unstable_shouldYield,vm=t.unstable_requestPaint,Od=t.unstable_now,lC=t.unstable_getCurrentPriorityLevel,uu=t.unstable_ImmediatePriority,ym=t.unstable_UserBlockingPriority,_m=t.unstable_NormalPriority,bm=t.unstable_LowPriority,Cm=t.unstable_IdlePriority,Hd={},uC=vm!==void 0?vm:function(){},ho=null,cu=null,Wd=!1,xm=Od(),bn=1e4>xm?Od:function(){return Od()-xm};function ds(){switch(lC()){case uu:return 99;case ym:return 98;case _m:return 97;case bm:return 96;case Cm:return 95;default:throw Error(e(332))}}function wm(i){switch(i){case 99:return uu;case 98:return ym;case 97:return _m;case 96:return bm;case 95:return Cm;default:throw Error(e(332))}}function bi(i,l){return i=wm(i),sC(i,l)}function Ea(i,l,p){return i=wm(i),Bd(i,l,p)}function Zr(){if(cu!==null){var i=cu;cu=null,jd(i)}Sm()}function Sm(){if(!Wd&&ho!==null){Wd=!0;var i=0;try{var l=ho;bi(99,function(){for(;i<l.length;i++){var p=l[i];do p=p(!0);while(p!==null)}}),ho=null}catch(p){throw ho!==null&&(ho=ho.slice(i+1)),Bd(uu,Zr),p}finally{Wd=!1}}}var cC=L.ReactCurrentBatchConfig;function Mr(i,l){if(i&&i.defaultProps){l=r({},l),i=i.defaultProps;for(var p in i)l[p]===void 0&&(l[p]=i[p]);return l}return l}var du=Mo(null),pu=null,ps=null,hu=null;function zd(){hu=ps=pu=null}function Ud(i){var l=du.current;Tt(du),i.type._context._currentValue=l}function Em(i,l){for(;i!==null;){var p=i.alternate;if((i.childLanes&l)===l){if(p===null||(p.childLanes&l)===l)break;p.childLanes|=l}else i.childLanes|=l,p!==null&&(p.childLanes|=l);i=i.return}}function hs(i,l){pu=i,hu=ps=null,i=i.dependencies,i!==null&&i.firstContext!==null&&((i.lanes&l)!==0&&(Pr=!0),i.firstContext=null)}function fr(i,l){if(hu!==i&&l!==!1&&l!==0)if((typeof l!="number"||l===1073741823)&&(hu=i,l=1073741823),l={context:i,observedBits:l,next:null},ps===null){if(pu===null)throw Error(e(308));ps=l,pu.dependencies={lanes:0,firstContext:l,responders:null}}else ps=ps.next=l;return i._currentValue}var Ro=!1;function Gd(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function km(i,l){i=i.updateQueue,l.updateQueue===i&&(l.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function No(i,l){return{eventTime:i,lane:l,tag:0,payload:null,callback:null,next:null}}function Lo(i,l){if(i=i.updateQueue,i!==null){i=i.shared;var p=i.pending;p===null?l.next=l:(l.next=p.next,p.next=l),i.pending=l}}function Im(i,l){var p=i.updateQueue,v=i.alternate;if(v!==null&&(v=v.updateQueue,p===v)){var w=null,E=null;if(p=p.firstBaseUpdate,p!==null){do{var T={eventTime:p.eventTime,lane:p.lane,tag:p.tag,payload:p.payload,callback:p.callback,next:null};E===null?w=E=T:E=E.next=T,p=p.next}while(p!==null);E===null?w=E=l:E=E.next=l}else w=E=l;p={baseState:v.baseState,firstBaseUpdate:w,lastBaseUpdate:E,shared:v.shared,effects:v.effects},i.updateQueue=p;return}i=p.lastBaseUpdate,i===null?p.firstBaseUpdate=l:i.next=l,p.lastBaseUpdate=l}function ka(i,l,p,v){var w=i.updateQueue;Ro=!1;var E=w.firstBaseUpdate,T=w.lastBaseUpdate,N=w.shared.pending;if(N!==null){w.shared.pending=null;var H=N,oe=H.next;H.next=null,T===null?E=oe:T.next=oe,T=H;var ye=i.alternate;if(ye!==null){ye=ye.updateQueue;var Ne=ye.lastBaseUpdate;Ne!==T&&(Ne===null?ye.firstBaseUpdate=oe:Ne.next=oe,ye.lastBaseUpdate=H)}}if(E!==null){Ne=w.baseState,T=0,ye=oe=H=null;do{N=E.lane;var de=E.eventTime;if((v&N)===N){ye!==null&&(ye=ye.next={eventTime:de,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var Se=i,Pe=E;switch(N=l,de=p,Pe.tag){case 1:if(Se=Pe.payload,typeof Se=="function"){Ne=Se.call(de,Ne,N);break e}Ne=Se;break e;case 3:Se.flags=Se.flags&-4097|64;case 0:if(Se=Pe.payload,N=typeof Se=="function"?Se.call(de,Ne,N):Se,N==null)break e;Ne=r({},Ne,N);break e;case 2:Ro=!0}}E.callback!==null&&(i.flags|=32,N=w.effects,N===null?w.effects=[E]:N.push(E))}else de={eventTime:de,lane:N,tag:E.tag,payload:E.payload,callback:E.callback,next:null},ye===null?(oe=ye=de,H=Ne):ye=ye.next=de,T|=N;if(E=E.next,E===null){if(N=w.shared.pending,N===null)break;E=N.next,N.next=null,w.lastBaseUpdate=N,w.shared.pending=null}}while(!0);ye===null&&(H=Ne),w.baseState=H,w.firstBaseUpdate=oe,w.lastBaseUpdate=ye,ja|=T,i.lanes=T,i.memoizedState=Ne}}function Fm(i,l,p){if(i=l.effects,l.effects=null,i!==null)for(l=0;l<i.length;l++){var v=i[l],w=v.callback;if(w!==null){if(v.callback=null,v=p,typeof w!="function")throw Error(e(191,w));w.call(v)}}}var Dm=new n.Component().refs;function fu(i,l,p,v){l=i.memoizedState,p=p(v,l),p=p==null?l:r({},l,p),i.memoizedState=p,i.lanes===0&&(i.updateQueue.baseState=p)}var mu={isMounted:function(i){return(i=i._reactInternals)?Ar(i)===i:!1},enqueueSetState:function(i,l,p){i=i._reactInternals;var v=Zn(),w=Oo(i),E=No(v,w);E.payload=l,p!=null&&(E.callback=p),Lo(i,E),Ho(i,w,v)},enqueueReplaceState:function(i,l,p){i=i._reactInternals;var v=Zn(),w=Oo(i),E=No(v,w);E.tag=1,E.payload=l,p!=null&&(E.callback=p),Lo(i,E),Ho(i,w,v)},enqueueForceUpdate:function(i,l){i=i._reactInternals;var p=Zn(),v=Oo(i),w=No(p,v);w.tag=2,l!=null&&(w.callback=l),Lo(i,w),Ho(i,v,p)}};function Tm(i,l,p,v,w,E,T){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(v,E,T):l.prototype&&l.prototype.isPureReactComponent?!ba(p,v)||!ba(w,E):!0}function Am(i,l,p){var v=!1,w=Po,E=l.contextType;return typeof E=="object"&&E!==null?E=fr(E):(w=Ln(l)?yi:_n.current,v=l.contextTypes,E=(v=v!=null)?cs(i,w):Po),l=new l(p,E),i.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=mu,i.stateNode=l,l._reactInternals=i,v&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=w,i.__reactInternalMemoizedMaskedChildContext=E),l}function Mm(i,l,p,v){i=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(p,v),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(p,v),l.state!==i&&mu.enqueueReplaceState(l,l.state,null)}function Vd(i,l,p,v){var w=i.stateNode;w.props=p,w.state=i.memoizedState,w.refs=Dm,Gd(i);var E=l.contextType;typeof E=="object"&&E!==null?w.context=fr(E):(E=Ln(l)?yi:_n.current,w.context=cs(i,E)),ka(i,p,w,v),w.state=i.memoizedState,E=l.getDerivedStateFromProps,typeof E=="function"&&(fu(i,l,E,p),w.state=i.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(l=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),l!==w.state&&mu.enqueueReplaceState(w,w.state,null),ka(i,p,w,v),w.state=i.memoizedState),typeof w.componentDidMount=="function"&&(i.flags|=4)}var gu=Array.isArray;function Ia(i,l,p){if(i=p.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(p._owner){if(p=p._owner,p){if(p.tag!==1)throw Error(e(309));var v=p.stateNode}if(!v)throw Error(e(147,i));var w=""+i;return l!==null&&l.ref!==null&&typeof l.ref=="function"&&l.ref._stringRef===w?l.ref:(l=function(E){var T=v.refs;T===Dm&&(T=v.refs={}),E===null?delete T[w]:T[w]=E},l._stringRef=w,l)}if(typeof i!="string")throw Error(e(284));if(!p._owner)throw Error(e(290,i))}return i}function vu(i,l){if(i.type!=="textarea")throw Error(e(31,Object.prototype.toString.call(l)==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":l))}function Pm(i){function l(Y,U){if(i){var $=Y.lastEffect;$!==null?($.nextEffect=U,Y.lastEffect=U):Y.firstEffect=Y.lastEffect=U,U.nextEffect=null,U.flags=8}}function p(Y,U){if(!i)return null;for(;U!==null;)l(Y,U),U=U.sibling;return null}function v(Y,U){for(Y=new Map;U!==null;)U.key!==null?Y.set(U.key,U):Y.set(U.index,U),U=U.sibling;return Y}function w(Y,U){return Y=Uo(Y,U),Y.index=0,Y.sibling=null,Y}function E(Y,U,$){return Y.index=$,i?($=Y.alternate,$!==null?($=$.index,$<U?(Y.flags=2,U):$):(Y.flags=2,U)):U}function T(Y){return i&&Y.alternate===null&&(Y.flags=2),Y}function N(Y,U,$,ue){return U===null||U.tag!==6?(U=Ip($,Y.mode,ue),U.return=Y,U):(U=w(U,$),U.return=Y,U)}function H(Y,U,$,ue){return U!==null&&U.elementType===$.type?(ue=w(U,$.props),ue.ref=Ia(Y,U,$),ue.return=Y,ue):(ue=Nu($.type,$.key,$.props,null,Y.mode,ue),ue.ref=Ia(Y,U,$),ue.return=Y,ue)}function oe(Y,U,$,ue){return U===null||U.tag!==4||U.stateNode.containerInfo!==$.containerInfo||U.stateNode.implementation!==$.implementation?(U=Fp($,Y.mode,ue),U.return=Y,U):(U=w(U,$.children||[]),U.return=Y,U)}function ye(Y,U,$,ue,ce){return U===null||U.tag!==7?(U=Cs($,Y.mode,ue,ce),U.return=Y,U):(U=w(U,$),U.return=Y,U)}function Ne(Y,U,$){if(typeof U=="string"||typeof U=="number")return U=Ip(""+U,Y.mode,$),U.return=Y,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case j:return $=Nu(U.type,U.key,U.props,null,Y.mode,$),$.ref=Ia(Y,null,U),$.return=Y,$;case M:return U=Fp(U,Y.mode,$),U.return=Y,U}if(gu(U)||pe(U))return U=Cs(U,Y.mode,$,null),U.return=Y,U;vu(Y,U)}return null}function de(Y,U,$,ue){var ce=U!==null?U.key:null;if(typeof $=="string"||typeof $=="number")return ce!==null?null:N(Y,U,""+$,ue);if(typeof $=="object"&&$!==null){switch($.$$typeof){case j:return $.key===ce?$.type===R?ye(Y,U,$.props.children,ue,ce):H(Y,U,$,ue):null;case M:return $.key===ce?oe(Y,U,$,ue):null}if(gu($)||pe($))return ce!==null?null:ye(Y,U,$,ue,null);vu(Y,$)}return null}function Se(Y,U,$,ue,ce){if(typeof ue=="string"||typeof ue=="number")return Y=Y.get($)||null,N(U,Y,""+ue,ce);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case j:return Y=Y.get(ue.key===null?$:ue.key)||null,ue.type===R?ye(U,Y,ue.props.children,ce,ue.key):H(U,Y,ue,ce);case M:return Y=Y.get(ue.key===null?$:ue.key)||null,oe(U,Y,ue,ce)}if(gu(ue)||pe(ue))return Y=Y.get($)||null,ye(U,Y,ue,ce,null);vu(U,ue)}return null}function Pe(Y,U,$,ue){for(var ce=null,Be=null,we=U,je=U=0,Ye=null;we!==null&&je<$.length;je++){we.index>je?(Ye=we,we=null):Ye=we.sibling;var Ue=de(Y,we,$[je],ue);if(Ue===null){we===null&&(we=Ye);break}i&&we&&Ue.alternate===null&&l(Y,we),U=E(Ue,U,je),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue,we=Ye}if(je===$.length)return p(Y,we),ce;if(we===null){for(;je<$.length;je++)we=Ne(Y,$[je],ue),we!==null&&(U=E(we,U,je),Be===null?ce=we:Be.sibling=we,Be=we);return ce}for(we=v(Y,we);je<$.length;je++)Ye=Se(we,Y,je,$[je],ue),Ye!==null&&(i&&Ye.alternate!==null&&we.delete(Ye.key===null?je:Ye.key),U=E(Ye,U,je),Be===null?ce=Ye:Be.sibling=Ye,Be=Ye);return i&&we.forEach(function(Go){return l(Y,Go)}),ce}function Ie(Y,U,$,ue){var ce=pe($);if(typeof ce!="function")throw Error(e(150));if($=ce.call($),$==null)throw Error(e(151));for(var Be=ce=null,we=U,je=U=0,Ye=null,Ue=$.next();we!==null&&!Ue.done;je++,Ue=$.next()){we.index>je?(Ye=we,we=null):Ye=we.sibling;var Go=de(Y,we,Ue.value,ue);if(Go===null){we===null&&(we=Ye);break}i&&we&&Go.alternate===null&&l(Y,we),U=E(Go,U,je),Be===null?ce=Go:Be.sibling=Go,Be=Go,we=Ye}if(Ue.done)return p(Y,we),ce;if(we===null){for(;!Ue.done;je++,Ue=$.next())Ue=Ne(Y,Ue.value,ue),Ue!==null&&(U=E(Ue,U,je),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue);return ce}for(we=v(Y,we);!Ue.done;je++,Ue=$.next())Ue=Se(we,Y,je,Ue.value,ue),Ue!==null&&(i&&Ue.alternate!==null&&we.delete(Ue.key===null?je:Ue.key),U=E(Ue,U,je),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue);return i&&we.forEach(function(WC){return l(Y,WC)}),ce}return function(Y,U,$,ue){var ce=typeof $=="object"&&$!==null&&$.type===R&&$.key===null;ce&&($=$.props.children);var Be=typeof $=="object"&&$!==null;if(Be)switch($.$$typeof){case j:e:{for(Be=$.key,ce=U;ce!==null;){if(ce.key===Be){switch(ce.tag){case 7:if($.type===R){p(Y,ce.sibling),U=w(ce,$.props.children),U.return=Y,Y=U;break e}break;default:if(ce.elementType===$.type){p(Y,ce.sibling),U=w(ce,$.props),U.ref=Ia(Y,ce,$),U.return=Y,Y=U;break e}}p(Y,ce);break}else l(Y,ce);ce=ce.sibling}$.type===R?(U=Cs($.props.children,Y.mode,ue,$.key),U.return=Y,Y=U):(ue=Nu($.type,$.key,$.props,null,Y.mode,ue),ue.ref=Ia(Y,U,$),ue.return=Y,Y=ue)}return T(Y);case M:e:{for(ce=$.key;U!==null;){if(U.key===ce)if(U.tag===4&&U.stateNode.containerInfo===$.containerInfo&&U.stateNode.implementation===$.implementation){p(Y,U.sibling),U=w(U,$.children||[]),U.return=Y,Y=U;break e}else{p(Y,U);break}else l(Y,U);U=U.sibling}U=Fp($,Y.mode,ue),U.return=Y,Y=U}return T(Y)}if(typeof $=="string"||typeof $=="number")return $=""+$,U!==null&&U.tag===6?(p(Y,U.sibling),U=w(U,$),U.return=Y,Y=U):(p(Y,U),U=Ip($,Y.mode,ue),U.return=Y,Y=U),T(Y);if(gu($))return Pe(Y,U,$,ue);if(pe($))return Ie(Y,U,$,ue);if(Be&&vu(Y,$),typeof $>"u"&&!ce)switch(Y.tag){case 1:case 22:case 0:case 11:case 15:throw Error(e(152,ot(Y.type)||"Component"))}return p(Y,U)}}var yu=Pm(!0),Rm=Pm(!1),Fa={},Xr=Mo(Fa),Da=Mo(Fa),Ta=Mo(Fa);function Ci(i){if(i===Fa)throw Error(e(174));return i}function Kd(i,l){switch(Ht(Ta,l),Ht(Da,i),Ht(Xr,Fa),i=l.nodeType,i){case 9:case 11:l=(l=l.documentElement)?l.namespaceURI:Ce(null,"");break;default:i=i===8?l.parentNode:l,l=i.namespaceURI||null,i=i.tagName,l=Ce(l,i)}Tt(Xr),Ht(Xr,l)}function fs(){Tt(Xr),Tt(Da),Tt(Ta)}function Nm(i){Ci(Ta.current);var l=Ci(Xr.current),p=Ce(l,i.type);l!==p&&(Ht(Da,i),Ht(Xr,p))}function $d(i){Da.current===i&&(Tt(Xr),Tt(Da))}var Wt=Mo(0);function _u(i){for(var l=i;l!==null;){if(l.tag===13){var p=l.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||p.data==="$?"||p.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&64)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var fo=null,Bo=null,Qr=!1;function Lm(i,l){var p=vr(5,null,null,0);p.elementType="DELETED",p.type="DELETED",p.stateNode=l,p.return=i,p.flags=8,i.lastEffect!==null?(i.lastEffect.nextEffect=p,i.lastEffect=p):i.firstEffect=i.lastEffect=p}function Bm(i,l){switch(i.tag){case 5:var p=i.type;return l=l.nodeType!==1||p.toLowerCase()!==l.nodeName.toLowerCase()?null:l,l!==null?(i.stateNode=l,!0):!1;case 6:return l=i.pendingProps===""||l.nodeType!==3?null:l,l!==null?(i.stateNode=l,!0):!1;case 13:return!1;default:return!1}}function qd(i){if(Qr){var l=Bo;if(l){var p=l;if(!Bm(i,l)){if(l=ss(p.nextSibling),!l||!Bm(i,l)){i.flags=i.flags&-1025|2,Qr=!1,fo=i;return}Lm(fo,p)}fo=i,Bo=ss(l.firstChild)}else i.flags=i.flags&-1025|2,Qr=!1,fo=i}}function jm(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;fo=i}function bu(i){if(i!==fo)return!1;if(!Qr)return jm(i),Qr=!0,!1;var l=i.type;if(i.tag!==5||l!=="head"&&l!=="body"&&!Md(l,i.memoizedProps))for(l=Bo;l;)Lm(i,l),l=ss(l.nextSibling);if(jm(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(e(317));e:{for(i=i.nextSibling,l=0;i;){if(i.nodeType===8){var p=i.data;if(p==="/$"){if(l===0){Bo=ss(i.nextSibling);break e}l--}else p!=="$"&&p!=="$!"&&p!=="$?"||l++}i=i.nextSibling}Bo=null}}else Bo=fo?ss(i.stateNode.nextSibling):null;return!0}function Yd(){Bo=fo=null,Qr=!1}var ms=[];function Zd(){for(var i=0;i<ms.length;i++)ms[i]._workInProgressVersionPrimary=null;ms.length=0}var Aa=L.ReactCurrentDispatcher,mr=L.ReactCurrentBatchConfig,Ma=0,Gt=null,Cn=null,mn=null,Cu=!1,Pa=!1;function Bn(){throw Error(e(321))}function Xd(i,l){if(l===null)return!1;for(var p=0;p<l.length&&p<i.length;p++)if(!hr(i[p],l[p]))return!1;return!0}function Qd(i,l,p,v,w,E){if(Ma=E,Gt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,Aa.current=i===null||i.memoizedState===null?pC:hC,i=p(v,w),Pa){E=0;do{if(Pa=!1,!(25>E))throw Error(e(301));E+=1,mn=Cn=null,l.updateQueue=null,Aa.current=fC,i=p(v,w)}while(Pa)}if(Aa.current=Eu,l=Cn!==null&&Cn.next!==null,Ma=0,mn=Cn=Gt=null,Cu=!1,l)throw Error(e(300));return i}function xi(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mn===null?Gt.memoizedState=mn=i:mn=mn.next=i,mn}function wi(){if(Cn===null){var i=Gt.alternate;i=i!==null?i.memoizedState:null}else i=Cn.next;var l=mn===null?Gt.memoizedState:mn.next;if(l!==null)mn=l,Cn=i;else{if(i===null)throw Error(e(310));Cn=i,i={memoizedState:Cn.memoizedState,baseState:Cn.baseState,baseQueue:Cn.baseQueue,queue:Cn.queue,next:null},mn===null?Gt.memoizedState=mn=i:mn=mn.next=i}return mn}function Jr(i,l){return typeof l=="function"?l(i):l}function Ra(i){var l=wi(),p=l.queue;if(p===null)throw Error(e(311));p.lastRenderedReducer=i;var v=Cn,w=v.baseQueue,E=p.pending;if(E!==null){if(w!==null){var T=w.next;w.next=E.next,E.next=T}v.baseQueue=w=E,p.pending=null}if(w!==null){w=w.next,v=v.baseState;var N=T=E=null,H=w;do{var oe=H.lane;if((Ma&oe)===oe)N!==null&&(N=N.next={lane:0,action:H.action,eagerReducer:H.eagerReducer,eagerState:H.eagerState,next:null}),v=H.eagerReducer===i?H.eagerState:i(v,H.action);else{var ye={lane:oe,action:H.action,eagerReducer:H.eagerReducer,eagerState:H.eagerState,next:null};N===null?(T=N=ye,E=v):N=N.next=ye,Gt.lanes|=oe,ja|=oe}H=H.next}while(H!==null&&H!==w);N===null?E=v:N.next=T,hr(v,l.memoizedState)||(Pr=!0),l.memoizedState=v,l.baseState=E,l.baseQueue=N,p.lastRenderedState=v}return[l.memoizedState,p.dispatch]}function Na(i){var l=wi(),p=l.queue;if(p===null)throw Error(e(311));p.lastRenderedReducer=i;var v=p.dispatch,w=p.pending,E=l.memoizedState;if(w!==null){p.pending=null;var T=w=w.next;do E=i(E,T.action),T=T.next;while(T!==w);hr(E,l.memoizedState)||(Pr=!0),l.memoizedState=E,l.baseQueue===null&&(l.baseState=E),p.lastRenderedState=E}return[E,v]}function Om(i,l,p){var v=l._getVersion;v=v(l._source);var w=l._workInProgressVersionPrimary;if(w!==null?i=w===v:(i=i.mutableReadLanes,(i=(Ma&i)===i)&&(l._workInProgressVersionPrimary=v,ms.push(l))),i)return p(l._source);throw ms.push(l),Error(e(350))}function Hm(i,l,p,v){var w=kn;if(w===null)throw Error(e(349));var E=l._getVersion,T=E(l._source),N=Aa.current,H=N.useState(function(){return Om(w,l,p)}),oe=H[1],ye=H[0];H=mn;var Ne=i.memoizedState,de=Ne.refs,Se=de.getSnapshot,Pe=Ne.source;Ne=Ne.subscribe;var Ie=Gt;return i.memoizedState={refs:de,source:l,subscribe:v},N.useEffect(function(){de.getSnapshot=p,de.setSnapshot=oe;var Y=E(l._source);if(!hr(T,Y)){Y=p(l._source),hr(ye,Y)||(oe(Y),Y=Oo(Ie),w.mutableReadLanes|=Y&w.pendingLanes),Y=w.mutableReadLanes,w.entangledLanes|=Y;for(var U=w.entanglements,$=Y;0<$;){var ue=31-Do($),ce=1<<ue;U[ue]|=Y,$&=~ce}}},[p,l,v]),N.useEffect(function(){return v(l._source,function(){var Y=de.getSnapshot,U=de.setSnapshot;try{U(Y(l._source));var $=Oo(Ie);w.mutableReadLanes|=$&w.pendingLanes}catch(ue){U(function(){throw ue})}})},[l,v]),hr(Se,p)&&hr(Pe,l)&&hr(Ne,v)||(i={pending:null,dispatch:null,lastRenderedReducer:Jr,lastRenderedState:ye},i.dispatch=oe=np.bind(null,Gt,i),H.queue=i,H.baseQueue=null,ye=Om(w,l,p),H.memoizedState=H.baseState=ye),ye}function Wm(i,l,p){var v=wi();return Hm(v,i,l,p)}function La(i){var l=xi();return typeof i=="function"&&(i=i()),l.memoizedState=l.baseState=i,i=l.queue={pending:null,dispatch:null,lastRenderedReducer:Jr,lastRenderedState:i},i=i.dispatch=np.bind(null,Gt,i),[l.memoizedState,i]}function xu(i,l,p,v){return i={tag:i,create:l,destroy:p,deps:v,next:null},l=Gt.updateQueue,l===null?(l={lastEffect:null},Gt.updateQueue=l,l.lastEffect=i.next=i):(p=l.lastEffect,p===null?l.lastEffect=i.next=i:(v=p.next,p.next=i,i.next=v,l.lastEffect=i)),i}function zm(i){var l=xi();return i={current:i},l.memoizedState=i}function wu(){return wi().memoizedState}function Jd(i,l,p,v){var w=xi();Gt.flags|=i,w.memoizedState=xu(1|l,p,void 0,v===void 0?null:v)}function ep(i,l,p,v){var w=wi();v=v===void 0?null:v;var E=void 0;if(Cn!==null){var T=Cn.memoizedState;if(E=T.destroy,v!==null&&Xd(v,T.deps)){xu(l,p,E,v);return}}Gt.flags|=i,w.memoizedState=xu(1|l,p,E,v)}function Um(i,l){return Jd(516,4,i,l)}function Su(i,l){return ep(516,4,i,l)}function Gm(i,l){return ep(4,2,i,l)}function Vm(i,l){if(typeof l=="function")return i=i(),l(i),function(){l(null)};if(l!=null)return i=i(),l.current=i,function(){l.current=null}}function Km(i,l,p){return p=p!=null?p.concat([i]):null,ep(4,2,Vm.bind(null,l,i),p)}function tp(){}function $m(i,l){var p=wi();l=l===void 0?null:l;var v=p.memoizedState;return v!==null&&l!==null&&Xd(l,v[1])?v[0]:(p.memoizedState=[i,l],i)}function qm(i,l){var p=wi();l=l===void 0?null:l;var v=p.memoizedState;return v!==null&&l!==null&&Xd(l,v[1])?v[0]:(i=i(),p.memoizedState=[i,l],i)}function dC(i,l){var p=ds();bi(98>p?98:p,function(){i(!0)}),bi(97<p?97:p,function(){var v=mr.transition;mr.transition=1;try{i(!1),l()}finally{mr.transition=v}})}function np(i,l,p){var v=Zn(),w=Oo(i),E={lane:w,action:p,eagerReducer:null,eagerState:null,next:null},T=l.pending;if(T===null?E.next=E:(E.next=T.next,T.next=E),l.pending=E,T=i.alternate,i===Gt||T!==null&&T===Gt)Pa=Cu=!0;else{if(i.lanes===0&&(T===null||T.lanes===0)&&(T=l.lastRenderedReducer,T!==null))try{var N=l.lastRenderedState,H=T(N,p);if(E.eagerReducer=T,E.eagerState=H,hr(H,N))return}catch{}finally{}Ho(i,w,v)}}var Eu={readContext:fr,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useLayoutEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useMutableSource:Bn,useOpaqueIdentifier:Bn,unstable_isNewReconciler:!1},pC={readContext:fr,useCallback:function(i,l){return xi().memoizedState=[i,l===void 0?null:l],i},useContext:fr,useEffect:Um,useImperativeHandle:function(i,l,p){return p=p!=null?p.concat([i]):null,Jd(4,2,Vm.bind(null,l,i),p)},useLayoutEffect:function(i,l){return Jd(4,2,i,l)},useMemo:function(i,l){var p=xi();return l=l===void 0?null:l,i=i(),p.memoizedState=[i,l],i},useReducer:function(i,l,p){var v=xi();return l=p!==void 0?p(l):l,v.memoizedState=v.baseState=l,i=v.queue={pending:null,dispatch:null,lastRenderedReducer:i,lastRenderedState:l},i=i.dispatch=np.bind(null,Gt,i),[v.memoizedState,i]},useRef:zm,useState:La,useDebugValue:tp,useDeferredValue:function(i){var l=La(i),p=l[0],v=l[1];return Um(function(){var w=mr.transition;mr.transition=1;try{v(i)}finally{mr.transition=w}},[i]),p},useTransition:function(){var i=La(!1),l=i[0];return i=dC.bind(null,i[1]),zm(i),[i,l]},useMutableSource:function(i,l,p){var v=xi();return v.memoizedState={refs:{getSnapshot:l,setSnapshot:null},source:i,subscribe:p},Hm(v,i,l,p)},useOpaqueIdentifier:function(){if(Qr){var i=!1,l=iC(function(){throw i||(i=!0,p("r:"+(Rd++).toString(36))),Error(e(355))}),p=La(l)[1];return(Gt.mode&2)===0&&(Gt.flags|=516,xu(5,function(){p("r:"+(Rd++).toString(36))},void 0,null)),l}return l="r:"+(Rd++).toString(36),La(l),l},unstable_isNewReconciler:!1},hC={readContext:fr,useCallback:$m,useContext:fr,useEffect:Su,useImperativeHandle:Km,useLayoutEffect:Gm,useMemo:qm,useReducer:Ra,useRef:wu,useState:function(){return Ra(Jr)},useDebugValue:tp,useDeferredValue:function(i){var l=Ra(Jr),p=l[0],v=l[1];return Su(function(){var w=mr.transition;mr.transition=1;try{v(i)}finally{mr.transition=w}},[i]),p},useTransition:function(){var i=Ra(Jr)[0];return[wu().current,i]},useMutableSource:Wm,useOpaqueIdentifier:function(){return Ra(Jr)[0]},unstable_isNewReconciler:!1},fC={readContext:fr,useCallback:$m,useContext:fr,useEffect:Su,useImperativeHandle:Km,useLayoutEffect:Gm,useMemo:qm,useReducer:Na,useRef:wu,useState:function(){return Na(Jr)},useDebugValue:tp,useDeferredValue:function(i){var l=Na(Jr),p=l[0],v=l[1];return Su(function(){var w=mr.transition;mr.transition=1;try{v(i)}finally{mr.transition=w}},[i]),p},useTransition:function(){var i=Na(Jr)[0];return[wu().current,i]},useMutableSource:Wm,useOpaqueIdentifier:function(){return Na(Jr)[0]},unstable_isNewReconciler:!1},mC=L.ReactCurrentOwner,Pr=!1;function jn(i,l,p,v){l.child=i===null?Rm(l,null,p,v):yu(l,i.child,p,v)}function Ym(i,l,p,v,w){p=p.render;var E=l.ref;return hs(l,w),v=Qd(i,l,p,v,E,w),i!==null&&!Pr?(l.updateQueue=i.updateQueue,l.flags&=-517,i.lanes&=~w,mo(i,l,w)):(l.flags|=1,jn(i,l,v,w),l.child)}function Zm(i,l,p,v,w,E){if(i===null){var T=p.type;return typeof T=="function"&&!Ep(T)&&T.defaultProps===void 0&&p.compare===null&&p.defaultProps===void 0?(l.tag=15,l.type=T,Xm(i,l,T,v,w,E)):(i=Nu(p.type,null,v,l,l.mode,E),i.ref=l.ref,i.return=l,l.child=i)}return T=i.child,(w&E)===0&&(w=T.memoizedProps,p=p.compare,p=p!==null?p:ba,p(w,v)&&i.ref===l.ref)?mo(i,l,E):(l.flags|=1,i=Uo(T,v),i.ref=l.ref,i.return=l,l.child=i)}function Xm(i,l,p,v,w,E){if(i!==null&&ba(i.memoizedProps,v)&&i.ref===l.ref)if(Pr=!1,(E&w)!==0)(i.flags&16384)!==0&&(Pr=!0);else return l.lanes=i.lanes,mo(i,l,E);return op(i,l,p,v,E)}function rp(i,l,p){var v=l.pendingProps,w=v.children,E=i!==null?i.memoizedState:null;if(v.mode==="hidden"||v.mode==="unstable-defer-without-hiding")if((l.mode&4)===0)l.memoizedState={baseLanes:0},Ru(l,p);else if((p&1073741824)!==0)l.memoizedState={baseLanes:0},Ru(l,E!==null?E.baseLanes:p);else return i=E!==null?E.baseLanes|p:p,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:i},Ru(l,i),null;else E!==null?(v=E.baseLanes|p,l.memoizedState=null):v=p,Ru(l,v);return jn(i,l,w,p),l.child}function Qm(i,l){var p=l.ref;(i===null&&p!==null||i!==null&&i.ref!==p)&&(l.flags|=128)}function op(i,l,p,v,w){var E=Ln(p)?yi:_n.current;return E=cs(l,E),hs(l,w),p=Qd(i,l,p,v,E,w),i!==null&&!Pr?(l.updateQueue=i.updateQueue,l.flags&=-517,i.lanes&=~w,mo(i,l,w)):(l.flags|=1,jn(i,l,p,w),l.child)}function Jm(i,l,p,v,w){if(Ln(p)){var E=!0;lu(l)}else E=!1;if(hs(l,w),l.stateNode===null)i!==null&&(i.alternate=null,l.alternate=null,l.flags|=2),Am(l,p,v),Vd(l,p,v,w),v=!0;else if(i===null){var T=l.stateNode,N=l.memoizedProps;T.props=N;var H=T.context,oe=p.contextType;typeof oe=="object"&&oe!==null?oe=fr(oe):(oe=Ln(p)?yi:_n.current,oe=cs(l,oe));var ye=p.getDerivedStateFromProps,Ne=typeof ye=="function"||typeof T.getSnapshotBeforeUpdate=="function";Ne||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(N!==v||H!==oe)&&Mm(l,T,v,oe),Ro=!1;var de=l.memoizedState;T.state=de,ka(l,v,T,w),H=l.memoizedState,N!==v||de!==H||Nn.current||Ro?(typeof ye=="function"&&(fu(l,p,ye,v),H=l.memoizedState),(N=Ro||Tm(l,p,N,v,de,H,oe))?(Ne||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount()),typeof T.componentDidMount=="function"&&(l.flags|=4)):(typeof T.componentDidMount=="function"&&(l.flags|=4),l.memoizedProps=v,l.memoizedState=H),T.props=v,T.state=H,T.context=oe,v=N):(typeof T.componentDidMount=="function"&&(l.flags|=4),v=!1)}else{T=l.stateNode,km(i,l),N=l.memoizedProps,oe=l.type===l.elementType?N:Mr(l.type,N),T.props=oe,Ne=l.pendingProps,de=T.context,H=p.contextType,typeof H=="object"&&H!==null?H=fr(H):(H=Ln(p)?yi:_n.current,H=cs(l,H));var Se=p.getDerivedStateFromProps;(ye=typeof Se=="function"||typeof T.getSnapshotBeforeUpdate=="function")||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(N!==Ne||de!==H)&&Mm(l,T,v,H),Ro=!1,de=l.memoizedState,T.state=de,ka(l,v,T,w);var Pe=l.memoizedState;N!==Ne||de!==Pe||Nn.current||Ro?(typeof Se=="function"&&(fu(l,p,Se,v),Pe=l.memoizedState),(oe=Ro||Tm(l,p,oe,v,de,Pe,H))?(ye||typeof T.UNSAFE_componentWillUpdate!="function"&&typeof T.componentWillUpdate!="function"||(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(v,Pe,H),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(v,Pe,H)),typeof T.componentDidUpdate=="function"&&(l.flags|=4),typeof T.getSnapshotBeforeUpdate=="function"&&(l.flags|=256)):(typeof T.componentDidUpdate!="function"||N===i.memoizedProps&&de===i.memoizedState||(l.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||N===i.memoizedProps&&de===i.memoizedState||(l.flags|=256),l.memoizedProps=v,l.memoizedState=Pe),T.props=v,T.state=Pe,T.context=H,v=oe):(typeof T.componentDidUpdate!="function"||N===i.memoizedProps&&de===i.memoizedState||(l.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||N===i.memoizedProps&&de===i.memoizedState||(l.flags|=256),v=!1)}return ip(i,l,p,v,E,w)}function ip(i,l,p,v,w,E){Qm(i,l);var T=(l.flags&64)!==0;if(!v&&!T)return w&&gm(l,p,!1),mo(i,l,E);v=l.stateNode,mC.current=l;var N=T&&typeof p.getDerivedStateFromError!="function"?null:v.render();return l.flags|=1,i!==null&&T?(l.child=yu(l,i.child,null,E),l.child=yu(l,null,N,E)):jn(i,l,N,E),l.memoizedState=v.state,w&&gm(l,p,!0),l.child}function eg(i){var l=i.stateNode;l.pendingContext?fm(i,l.pendingContext,l.pendingContext!==l.context):l.context&&fm(i,l.context,!1),Kd(i,l.containerInfo)}var ku={dehydrated:null,retryLane:0};function tg(i,l,p){var v=l.pendingProps,w=Wt.current,E=!1,T;return(T=(l.flags&64)!==0)||(T=i!==null&&i.memoizedState===null?!1:(w&2)!==0),T?(E=!0,l.flags&=-65):i!==null&&i.memoizedState===null||v.fallback===void 0||v.unstable_avoidThisFallback===!0||(w|=1),Ht(Wt,w&1),i===null?(v.fallback!==void 0&&qd(l),i=v.children,w=v.fallback,E?(i=ng(l,i,w,p),l.child.memoizedState={baseLanes:p},l.memoizedState=ku,i):typeof v.unstable_expectedLoadTime=="number"?(i=ng(l,i,w,p),l.child.memoizedState={baseLanes:p},l.memoizedState=ku,l.lanes=33554432,i):(p=kp({mode:"visible",children:i},l.mode,p,null),p.return=l,l.child=p)):i.memoizedState!==null?E?(v=og(i,l,v.children,v.fallback,p),E=l.child,w=i.child.memoizedState,E.memoizedState=w===null?{baseLanes:p}:{baseLanes:w.baseLanes|p},E.childLanes=i.childLanes&~p,l.memoizedState=ku,v):(p=rg(i,l,v.children,p),l.memoizedState=null,p):E?(v=og(i,l,v.children,v.fallback,p),E=l.child,w=i.child.memoizedState,E.memoizedState=w===null?{baseLanes:p}:{baseLanes:w.baseLanes|p},E.childLanes=i.childLanes&~p,l.memoizedState=ku,v):(p=rg(i,l,v.children,p),l.memoizedState=null,p)}function ng(i,l,p,v){var w=i.mode,E=i.child;return l={mode:"hidden",children:l},(w&2)===0&&E!==null?(E.childLanes=0,E.pendingProps=l):E=kp(l,w,0,null),p=Cs(p,w,v,null),E.return=i,p.return=i,E.sibling=p,i.child=E,p}function rg(i,l,p,v){var w=i.child;return i=w.sibling,p=Uo(w,{mode:"visible",children:p}),(l.mode&2)===0&&(p.lanes=v),p.return=l,p.sibling=null,i!==null&&(i.nextEffect=null,i.flags=8,l.firstEffect=l.lastEffect=i),l.child=p}function og(i,l,p,v,w){var E=l.mode,T=i.child;i=T.sibling;var N={mode:"hidden",children:p};return(E&2)===0&&l.child!==T?(p=l.child,p.childLanes=0,p.pendingProps=N,T=p.lastEffect,T!==null?(l.firstEffect=p.firstEffect,l.lastEffect=T,T.nextEffect=null):l.firstEffect=l.lastEffect=null):p=Uo(T,N),i!==null?v=Uo(i,v):(v=Cs(v,E,w,null),v.flags|=2),v.return=l,p.return=l,p.sibling=v,l.child=p,v}function ig(i,l){i.lanes|=l;var p=i.alternate;p!==null&&(p.lanes|=l),Em(i.return,l)}function sp(i,l,p,v,w,E){var T=i.memoizedState;T===null?i.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:v,tail:p,tailMode:w,lastEffect:E}:(T.isBackwards=l,T.rendering=null,T.renderingStartTime=0,T.last=v,T.tail=p,T.tailMode=w,T.lastEffect=E)}function sg(i,l,p){var v=l.pendingProps,w=v.revealOrder,E=v.tail;if(jn(i,l,v.children,p),v=Wt.current,(v&2)!==0)v=v&1|2,l.flags|=64;else{if(i!==null&&(i.flags&64)!==0)e:for(i=l.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&ig(i,p);else if(i.tag===19)ig(i,p);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break e;for(;i.sibling===null;){if(i.return===null||i.return===l)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}v&=1}if(Ht(Wt,v),(l.mode&2)===0)l.memoizedState=null;else switch(w){case"forwards":for(p=l.child,w=null;p!==null;)i=p.alternate,i!==null&&_u(i)===null&&(w=p),p=p.sibling;p=w,p===null?(w=l.child,l.child=null):(w=p.sibling,p.sibling=null),sp(l,!1,w,p,E,l.lastEffect);break;case"backwards":for(p=null,w=l.child,l.child=null;w!==null;){if(i=w.alternate,i!==null&&_u(i)===null){l.child=w;break}i=w.sibling,w.sibling=p,p=w,w=i}sp(l,!0,p,null,E,l.lastEffect);break;case"together":sp(l,!1,null,null,void 0,l.lastEffect);break;default:l.memoizedState=null}return l.child}function mo(i,l,p){if(i!==null&&(l.dependencies=i.dependencies),ja|=l.lanes,(p&l.childLanes)!==0){if(i!==null&&l.child!==i.child)throw Error(e(153));if(l.child!==null){for(i=l.child,p=Uo(i,i.pendingProps),l.child=p,p.return=l;i.sibling!==null;)i=i.sibling,p=p.sibling=Uo(i,i.pendingProps),p.return=l;p.sibling=null}return l.child}return null}var ag,ap,lg,ug;ag=function(i,l){for(var p=l.child;p!==null;){if(p.tag===5||p.tag===6)i.appendChild(p.stateNode);else if(p.tag!==4&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===l)break;for(;p.sibling===null;){if(p.return===null||p.return===l)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},ap=function(){},lg=function(i,l,p,v){var w=i.memoizedProps;if(w!==v){i=l.stateNode,Ci(Xr.current);var E=null;switch(p){case"input":w=bt(i,w),v=bt(i,v),E=[];break;case"option":w=Rn(i,w),v=Rn(i,v),E=[];break;case"select":w=r({},w,{value:void 0}),v=r({},v,{value:void 0}),E=[];break;case"textarea":w=co(i,w),v=co(i,v),E=[];break;default:typeof w.onClick!="function"&&typeof v.onClick=="function"&&(i.onclick=ru)}$i(p,v);var T;p=null;for(oe in w)if(!v.hasOwnProperty(oe)&&w.hasOwnProperty(oe)&&w[oe]!=null)if(oe==="style"){var N=w[oe];for(T in N)N.hasOwnProperty(T)&&(p||(p={}),p[T]="")}else oe!=="dangerouslySetInnerHTML"&&oe!=="children"&&oe!=="suppressContentEditableWarning"&&oe!=="suppressHydrationWarning"&&oe!=="autoFocus"&&(s.hasOwnProperty(oe)?E||(E=[]):(E=E||[]).push(oe,null));for(oe in v){var H=v[oe];if(N=w?.[oe],v.hasOwnProperty(oe)&&H!==N&&(H!=null||N!=null))if(oe==="style")if(N){for(T in N)!N.hasOwnProperty(T)||H&&H.hasOwnProperty(T)||(p||(p={}),p[T]="");for(T in H)H.hasOwnProperty(T)&&N[T]!==H[T]&&(p||(p={}),p[T]=H[T])}else p||(E||(E=[]),E.push(oe,p)),p=H;else oe==="dangerouslySetInnerHTML"?(H=H?H.__html:void 0,N=N?N.__html:void 0,H!=null&&N!==H&&(E=E||[]).push(oe,H)):oe==="children"?typeof H!="string"&&typeof H!="number"||(E=E||[]).push(oe,""+H):oe!=="suppressContentEditableWarning"&&oe!=="suppressHydrationWarning"&&(s.hasOwnProperty(oe)?(H!=null&&oe==="onScroll"&&Dt("scroll",i),E||N===H||(E=[])):typeof H=="object"&&H!==null&&H.$$typeof===se?H.toString():(E=E||[]).push(oe,H))}p&&(E=E||[]).push("style",p);var oe=E;(l.updateQueue=oe)&&(l.flags|=4)}},ug=function(i,l,p,v){p!==v&&(l.flags|=4)};function Ba(i,l){if(!Qr)switch(i.tailMode){case"hidden":l=i.tail;for(var p=null;l!==null;)l.alternate!==null&&(p=l),l=l.sibling;p===null?i.tail=null:p.sibling=null;break;case"collapsed":p=i.tail;for(var v=null;p!==null;)p.alternate!==null&&(v=p),p=p.sibling;v===null?l||i.tail===null?i.tail=null:i.tail.sibling=null:v.sibling=null}}function gC(i,l,p){var v=l.pendingProps;switch(l.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ln(l.type)&&au(),null;case 3:return fs(),Tt(Nn),Tt(_n),Zd(),v=l.stateNode,v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),(i===null||i.child===null)&&(bu(l)?l.flags|=4:v.hydrate||(l.flags|=256)),ap(l),null;case 5:$d(l);var w=Ci(Ta.current);if(p=l.type,i!==null&&l.stateNode!=null)lg(i,l,p,v,w),i.ref!==l.ref&&(l.flags|=128);else{if(!v){if(l.stateNode===null)throw Error(e(166));return null}if(i=Ci(Xr.current),bu(l)){v=l.stateNode,p=l.type;var E=l.memoizedProps;switch(v[Ao]=l,v[iu]=E,p){case"dialog":Dt("cancel",v),Dt("close",v);break;case"iframe":case"object":case"embed":Dt("load",v);break;case"video":case"audio":for(i=0;i<xa.length;i++)Dt(xa[i],v);break;case"source":Dt("error",v);break;case"img":case"image":case"link":Dt("error",v),Dt("load",v);break;case"details":Dt("toggle",v);break;case"input":It(v,E),Dt("invalid",v);break;case"select":v._wrapperState={wasMultiple:!!E.multiple},Dt("invalid",v);break;case"textarea":Kn(v,E),Dt("invalid",v)}$i(p,E),i=null;for(var T in E)E.hasOwnProperty(T)&&(w=E[T],T==="children"?typeof w=="string"?v.textContent!==w&&(i=["children",w]):typeof w=="number"&&v.textContent!==""+w&&(i=["children",""+w]):s.hasOwnProperty(T)&&w!=null&&T==="onScroll"&&Dt("scroll",v));switch(p){case"input":$t(v),uo(v,E,!0);break;case"textarea":$t(v),Ki(v);break;case"select":case"option":break;default:typeof E.onClick=="function"&&(v.onclick=ru)}v=i,l.updateQueue=v,v!==null&&(l.flags|=4)}else{switch(T=w.nodeType===9?w:w.ownerDocument,i===ee.html&&(i=G(p)),i===ee.html?p==="script"?(i=T.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof v.is=="string"?i=T.createElement(p,{is:v.is}):(i=T.createElement(p),p==="select"&&(T=i,v.multiple?T.multiple=!0:v.size&&(T.size=v.size))):i=T.createElementNS(i,p),i[Ao]=l,i[iu]=v,ag(i,l,!1,!1),l.stateNode=i,T=Js(p,v),p){case"dialog":Dt("cancel",i),Dt("close",i),w=v;break;case"iframe":case"object":case"embed":Dt("load",i),w=v;break;case"video":case"audio":for(w=0;w<xa.length;w++)Dt(xa[w],i);w=v;break;case"source":Dt("error",i),w=v;break;case"img":case"image":case"link":Dt("error",i),Dt("load",i),w=v;break;case"details":Dt("toggle",i),w=v;break;case"input":It(i,v),w=bt(i,v),Dt("invalid",i);break;case"option":w=Rn(i,v);break;case"select":i._wrapperState={wasMultiple:!!v.multiple},w=r({},v,{value:void 0}),Dt("invalid",i);break;case"textarea":Kn(i,v),w=co(i,v),Dt("invalid",i);break;default:w=v}$i(p,w);var N=w;for(E in N)if(N.hasOwnProperty(E)){var H=N[E];E==="style"?Qs(i,H):E==="dangerouslySetInnerHTML"?(H=H?H.__html:void 0,H!=null&&Ft(i,H)):E==="children"?typeof H=="string"?(p!=="textarea"||H!=="")&&Vr(i,H):typeof H=="number"&&Vr(i,""+H):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(s.hasOwnProperty(E)?H!=null&&E==="onScroll"&&Dt("scroll",i):H!=null&&A(i,E,H,T))}switch(p){case"input":$t(i),uo(i,v,!1);break;case"textarea":$t(i),Ki(i);break;case"option":v.value!=null&&i.setAttribute("value",""+Rt(v.value));break;case"select":i.multiple=!!v.multiple,E=v.value,E!=null?fn(i,!!v.multiple,E,!1):v.defaultValue!=null&&fn(i,!!v.multiple,v.defaultValue,!0);break;default:typeof w.onClick=="function"&&(i.onclick=ru)}um(p,v)&&(l.flags|=4)}l.ref!==null&&(l.flags|=128)}return null;case 6:if(i&&l.stateNode!=null)ug(i,l,i.memoizedProps,v);else{if(typeof v!="string"&&l.stateNode===null)throw Error(e(166));p=Ci(Ta.current),Ci(Xr.current),bu(l)?(v=l.stateNode,p=l.memoizedProps,v[Ao]=l,v.nodeValue!==p&&(l.flags|=4)):(v=(p.nodeType===9?p:p.ownerDocument).createTextNode(v),v[Ao]=l,l.stateNode=v)}return null;case 13:return Tt(Wt),v=l.memoizedState,(l.flags&64)!==0?(l.lanes=p,l):(v=v!==null,p=!1,i===null?l.memoizedProps.fallback!==void 0&&bu(l):p=i.memoizedState!==null,v&&!p&&(l.mode&2)!==0&&(i===null&&l.memoizedProps.unstable_avoidThisFallback!==!0||(Wt.current&1)!==0?gn===0&&(gn=3):((gn===0||gn===3)&&(gn=4),kn===null||(ja&134217727)===0&&(vs&134217727)===0||_s(kn,xn))),(v||p)&&(l.flags|=4),null);case 4:return fs(),ap(l),i===null&&om(l.stateNode.containerInfo),null;case 10:return Ud(l),null;case 17:return Ln(l.type)&&au(),null;case 19:if(Tt(Wt),v=l.memoizedState,v===null)return null;if(E=(l.flags&64)!==0,T=v.rendering,T===null)if(E)Ba(v,!1);else{if(gn!==0||i!==null&&(i.flags&64)!==0)for(i=l.child;i!==null;){if(T=_u(i),T!==null){for(l.flags|=64,Ba(v,!1),E=T.updateQueue,E!==null&&(l.updateQueue=E,l.flags|=4),v.lastEffect===null&&(l.firstEffect=null),l.lastEffect=v.lastEffect,v=p,p=l.child;p!==null;)E=p,i=v,E.flags&=2,E.nextEffect=null,E.firstEffect=null,E.lastEffect=null,T=E.alternate,T===null?(E.childLanes=0,E.lanes=i,E.child=null,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=T.childLanes,E.lanes=T.lanes,E.child=T.child,E.memoizedProps=T.memoizedProps,E.memoizedState=T.memoizedState,E.updateQueue=T.updateQueue,E.type=T.type,i=T.dependencies,E.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),p=p.sibling;return Ht(Wt,Wt.current&1|2),l.child}i=i.sibling}v.tail!==null&&bn()>yp&&(l.flags|=64,E=!0,Ba(v,!1),l.lanes=33554432)}else{if(!E)if(i=_u(T),i!==null){if(l.flags|=64,E=!0,p=i.updateQueue,p!==null&&(l.updateQueue=p,l.flags|=4),Ba(v,!0),v.tail===null&&v.tailMode==="hidden"&&!T.alternate&&!Qr)return l=l.lastEffect=v.lastEffect,l!==null&&(l.nextEffect=null),null}else 2*bn()-v.renderingStartTime>yp&&p!==1073741824&&(l.flags|=64,E=!0,Ba(v,!1),l.lanes=33554432);v.isBackwards?(T.sibling=l.child,l.child=T):(p=v.last,p!==null?p.sibling=T:l.child=T,v.last=T)}return v.tail!==null?(p=v.tail,v.rendering=p,v.tail=p.sibling,v.lastEffect=l.lastEffect,v.renderingStartTime=bn(),p.sibling=null,l=Wt.current,Ht(Wt,E?l&1|2:l&1),p):null;case 23:case 24:return Sp(),i!==null&&i.memoizedState!==null!=(l.memoizedState!==null)&&v.mode!=="unstable-defer-without-hiding"&&(l.flags|=4),null}throw Error(e(156,l.tag))}function vC(i){switch(i.tag){case 1:Ln(i.type)&&au();var l=i.flags;return l&4096?(i.flags=l&-4097|64,i):null;case 3:if(fs(),Tt(Nn),Tt(_n),Zd(),l=i.flags,(l&64)!==0)throw Error(e(285));return i.flags=l&-4097|64,i;case 5:return $d(i),null;case 13:return Tt(Wt),l=i.flags,l&4096?(i.flags=l&-4097|64,i):null;case 19:return Tt(Wt),null;case 4:return fs(),null;case 10:return Ud(i),null;case 23:case 24:return Sp(),null;default:return null}}function lp(i,l){try{var p="",v=l;do p+=Mt(v),v=v.return;while(v);var w=p}catch(E){w=`
Error generating stack: `+E.message+`
`+E.stack}return{value:i,source:l,stack:w}}function up(i,l){try{console.error(l.value)}catch(p){setTimeout(function(){throw p})}}var yC=typeof WeakMap=="function"?WeakMap:Map;function cg(i,l,p){p=No(-1,p),p.tag=3,p.payload={element:null};var v=l.value;return p.callback=function(){Du||(Du=!0,_p=v),up(i,l)},p}function dg(i,l,p){p=No(-1,p),p.tag=3;var v=i.type.getDerivedStateFromError;if(typeof v=="function"){var w=l.value;p.payload=function(){return up(i,l),v(w)}}var E=i.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(p.callback=function(){typeof v!="function"&&(eo===null?eo=new Set([this]):eo.add(this),up(i,l));var T=l.stack;this.componentDidCatch(l.value,{componentStack:T!==null?T:""})}),p}var _C=typeof WeakSet=="function"?WeakSet:Set;function pg(i){var l=i.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(p){zo(i,p)}else l.current=null}function bC(i,l){switch(l.tag){case 0:case 11:case 15:case 22:return;case 1:if(l.flags&256&&i!==null){var p=i.memoizedProps,v=i.memoizedState;i=l.stateNode,l=i.getSnapshotBeforeUpdate(l.elementType===l.type?p:Mr(l.type,p),v),i.__reactInternalSnapshotBeforeUpdate=l}return;case 3:l.flags&256&&Pd(l.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(e(163))}function CC(i,l,p){switch(p.tag){case 0:case 11:case 15:case 22:if(l=p.updateQueue,l=l!==null?l.lastEffect:null,l!==null){i=l=l.next;do{if((i.tag&3)===3){var v=i.create;i.destroy=v()}i=i.next}while(i!==l)}if(l=p.updateQueue,l=l!==null?l.lastEffect:null,l!==null){i=l=l.next;do{var w=i;v=w.next,w=w.tag,(w&4)!==0&&(w&1)!==0&&(Ig(p,i),DC(p,i)),i=v}while(i!==l)}return;case 1:i=p.stateNode,p.flags&4&&(l===null?i.componentDidMount():(v=p.elementType===p.type?l.memoizedProps:Mr(p.type,l.memoizedProps),i.componentDidUpdate(v,l.memoizedState,i.__reactInternalSnapshotBeforeUpdate))),l=p.updateQueue,l!==null&&Fm(p,l,i);return;case 3:if(l=p.updateQueue,l!==null){if(i=null,p.child!==null)switch(p.child.tag){case 5:i=p.child.stateNode;break;case 1:i=p.child.stateNode}Fm(p,l,i)}return;case 5:i=p.stateNode,l===null&&p.flags&4&&um(p.type,p.memoizedProps)&&i.focus();return;case 6:return;case 4:return;case 12:return;case 13:p.memoizedState===null&&(p=p.alternate,p!==null&&(p=p.memoizedState,p!==null&&(p=p.dehydrated,p!==null&&Ef(p))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(e(163))}function hg(i,l){for(var p=i;;){if(p.tag===5){var v=p.stateNode;if(l)v=v.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{v=p.stateNode;var w=p.memoizedProps.style;w=w!=null&&w.hasOwnProperty("display")?w.display:null,v.style.display=Xs("display",w)}}else if(p.tag===6)p.stateNode.nodeValue=l?"":p.memoizedProps;else if((p.tag!==23&&p.tag!==24||p.memoizedState===null||p===i)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===i)break;for(;p.sibling===null;){if(p.return===null||p.return===i)return;p=p.return}p.sibling.return=p.return,p=p.sibling}}function fg(i,l){if(_i&&typeof _i.onCommitFiberUnmount=="function")try{_i.onCommitFiberUnmount(Ld,l)}catch{}switch(l.tag){case 0:case 11:case 14:case 15:case 22:if(i=l.updateQueue,i!==null&&(i=i.lastEffect,i!==null)){var p=i=i.next;do{var v=p,w=v.destroy;if(v=v.tag,w!==void 0)if((v&4)!==0)Ig(l,p);else{v=l;try{w()}catch(E){zo(v,E)}}p=p.next}while(p!==i)}break;case 1:if(pg(l),i=l.stateNode,typeof i.componentWillUnmount=="function")try{i.props=l.memoizedProps,i.state=l.memoizedState,i.componentWillUnmount()}catch(E){zo(l,E)}break;case 5:pg(l);break;case 4:yg(i,l)}}function mg(i){i.alternate=null,i.child=null,i.dependencies=null,i.firstEffect=null,i.lastEffect=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.return=null,i.updateQueue=null}function gg(i){return i.tag===5||i.tag===3||i.tag===4}function vg(i){e:{for(var l=i.return;l!==null;){if(gg(l))break e;l=l.return}throw Error(e(160))}var p=l;switch(l=p.stateNode,p.tag){case 5:var v=!1;break;case 3:l=l.containerInfo,v=!0;break;case 4:l=l.containerInfo,v=!0;break;default:throw Error(e(161))}p.flags&16&&(Vr(l,""),p.flags&=-17);e:t:for(p=i;;){for(;p.sibling===null;){if(p.return===null||gg(p.return)){p=null;break e}p=p.return}for(p.sibling.return=p.return,p=p.sibling;p.tag!==5&&p.tag!==6&&p.tag!==18;){if(p.flags&2||p.child===null||p.tag===4)continue t;p.child.return=p,p=p.child}if(!(p.flags&2)){p=p.stateNode;break e}}v?cp(i,p,l):dp(i,p,l)}function cp(i,l,p){var v=i.tag,w=v===5||v===6;if(w)i=w?i.stateNode:i.stateNode.instance,l?p.nodeType===8?p.parentNode.insertBefore(i,l):p.insertBefore(i,l):(p.nodeType===8?(l=p.parentNode,l.insertBefore(i,p)):(l=p,l.appendChild(i)),p=p._reactRootContainer,p!=null||l.onclick!==null||(l.onclick=ru));else if(v!==4&&(i=i.child,i!==null))for(cp(i,l,p),i=i.sibling;i!==null;)cp(i,l,p),i=i.sibling}function dp(i,l,p){var v=i.tag,w=v===5||v===6;if(w)i=w?i.stateNode:i.stateNode.instance,l?p.insertBefore(i,l):p.appendChild(i);else if(v!==4&&(i=i.child,i!==null))for(dp(i,l,p),i=i.sibling;i!==null;)dp(i,l,p),i=i.sibling}function yg(i,l){for(var p=l,v=!1,w,E;;){if(!v){v=p.return;e:for(;;){if(v===null)throw Error(e(160));switch(w=v.stateNode,v.tag){case 5:E=!1;break e;case 3:w=w.containerInfo,E=!0;break e;case 4:w=w.containerInfo,E=!0;break e}v=v.return}v=!0}if(p.tag===5||p.tag===6){e:for(var T=i,N=p,H=N;;)if(fg(T,H),H.child!==null&&H.tag!==4)H.child.return=H,H=H.child;else{if(H===N)break e;for(;H.sibling===null;){if(H.return===null||H.return===N)break e;H=H.return}H.sibling.return=H.return,H=H.sibling}E?(T=w,N=p.stateNode,T.nodeType===8?T.parentNode.removeChild(N):T.removeChild(N)):w.removeChild(p.stateNode)}else if(p.tag===4){if(p.child!==null){w=p.stateNode.containerInfo,E=!0,p.child.return=p,p=p.child;continue}}else if(fg(i,p),p.child!==null){p.child.return=p,p=p.child;continue}if(p===l)break;for(;p.sibling===null;){if(p.return===null||p.return===l)return;p=p.return,p.tag===4&&(v=!1)}p.sibling.return=p.return,p=p.sibling}}function pp(i,l){switch(l.tag){case 0:case 11:case 14:case 15:case 22:var p=l.updateQueue;if(p=p!==null?p.lastEffect:null,p!==null){var v=p=p.next;do(v.tag&3)===3&&(i=v.destroy,v.destroy=void 0,i!==void 0&&i()),v=v.next;while(v!==p)}return;case 1:return;case 5:if(p=l.stateNode,p!=null){v=l.memoizedProps;var w=i!==null?i.memoizedProps:v;i=l.type;var E=l.updateQueue;if(l.updateQueue=null,E!==null){for(p[iu]=v,i==="input"&&v.type==="radio"&&v.name!=null&&Eo(p,v),Js(i,w),l=Js(i,v),w=0;w<E.length;w+=2){var T=E[w],N=E[w+1];T==="style"?Qs(p,N):T==="dangerouslySetInnerHTML"?Ft(p,N):T==="children"?Vr(p,N):A(p,T,N,l)}switch(i){case"input":Fr(p,v);break;case"textarea":ui(p,v);break;case"select":i=p._wrapperState.wasMultiple,p._wrapperState.wasMultiple=!!v.multiple,E=v.value,E!=null?fn(p,!!v.multiple,E,!1):i!==!!v.multiple&&(v.defaultValue!=null?fn(p,!!v.multiple,v.defaultValue,!0):fn(p,!!v.multiple,v.multiple?[]:"",!1))}}}return;case 6:if(l.stateNode===null)throw Error(e(162));l.stateNode.nodeValue=l.memoizedProps;return;case 3:p=l.stateNode,p.hydrate&&(p.hydrate=!1,Ef(p.containerInfo));return;case 12:return;case 13:l.memoizedState!==null&&(vp=bn(),hg(l.child,!0)),_g(l);return;case 19:_g(l);return;case 17:return;case 23:case 24:hg(l,l.memoizedState!==null);return}throw Error(e(163))}function _g(i){var l=i.updateQueue;if(l!==null){i.updateQueue=null;var p=i.stateNode;p===null&&(p=i.stateNode=new _C),l.forEach(function(v){var w=MC.bind(null,i,v);p.has(v)||(p.add(v),v.then(w,w))})}}function xC(i,l){return i!==null&&(i=i.memoizedState,i===null||i.dehydrated!==null)?(l=l.memoizedState,l!==null&&l.dehydrated===null):!1}var wC=Math.ceil,Iu=L.ReactCurrentDispatcher,hp=L.ReactCurrentOwner,Me=0,kn=null,Zt=null,xn=0,Si=0,fp=Mo(0),gn=0,Fu=null,gs=0,ja=0,vs=0,mp=0,gp=null,vp=0,yp=1/0;function ys(){yp=bn()+500}var xe=null,Du=!1,_p=null,eo=null,jo=!1,Oa=null,Ha=90,bp=[],Cp=[],go=null,Wa=0,xp=null,Tu=-1,vo=0,Au=0,za=null,Mu=!1;function Zn(){return(Me&48)!==0?bn():Tu!==-1?Tu:Tu=bn()}function Oo(i){if(i=i.mode,(i&2)===0)return 1;if((i&4)===0)return ds()===99?1:2;if(vo===0&&(vo=gs),cC.transition!==0){Au!==0&&(Au=gp!==null?gp.pendingLanes:0),i=vo;var l=4186112&~Au;return l&=-l,l===0&&(i=4186112&~i,l=i&-i,l===0&&(l=8192)),l}return i=ds(),(Me&4)!==0&&i===98?i=ql(12,vo):(i=pb(i),i=ql(i,vo)),i}function Ho(i,l,p){if(50<Wa)throw Wa=0,xp=null,Error(e(185));if(i=Pu(i,l),i===null)return null;Yl(i,l,p),i===kn&&(vs|=l,gn===4&&_s(i,xn));var v=ds();l===1?(Me&8)!==0&&(Me&48)===0?wp(i):(gr(i,p),Me===0&&(ys(),Zr())):((Me&4)===0||v!==98&&v!==99||(go===null?go=new Set([i]):go.add(i)),gr(i,p)),gp=i}function Pu(i,l){i.lanes|=l;var p=i.alternate;for(p!==null&&(p.lanes|=l),p=i,i=i.return;i!==null;)i.childLanes|=l,p=i.alternate,p!==null&&(p.childLanes|=l),p=i,i=i.return;return p.tag===3?p.stateNode:null}function gr(i,l){for(var p=i.callbackNode,v=i.suspendedLanes,w=i.pingedLanes,E=i.expirationTimes,T=i.pendingLanes;0<T;){var N=31-Do(T),H=1<<N,oe=E[N];if(oe===-1){if((H&v)===0||(H&w)!==0){oe=l,es(H);var ye=St;E[N]=10<=ye?oe+250:6<=ye?oe+5e3:-1}}else oe<=l&&(i.expiredLanes|=H);T&=~H}if(v=fa(i,i===kn?xn:0),l=St,v===0)p!==null&&(p!==Hd&&jd(p),i.callbackNode=null,i.callbackPriority=0);else{if(p!==null){if(i.callbackPriority===l)return;p!==Hd&&jd(p)}l===15?(p=wp.bind(null,i),ho===null?(ho=[p],cu=Bd(uu,Sm)):ho.push(p),p=Hd):l===14?p=Ea(99,wp.bind(null,i)):(p=hb(l),p=Ea(p,bg.bind(null,i))),i.callbackPriority=l,i.callbackNode=p}}function bg(i){if(Tu=-1,Au=vo=0,(Me&48)!==0)throw Error(e(327));var l=i.callbackNode;if(Wo()&&i.callbackNode!==l)return null;var p=fa(i,i===kn?xn:0);if(p===0)return null;var v=p,w=Me;Me|=16;var E=Sg();(kn!==i||xn!==v)&&(ys(),bs(i,v));do try{kC();break}catch(N){wg(i,N)}while(!0);if(zd(),Iu.current=E,Me=w,Zt!==null?v=0:(kn=null,xn=0,v=gn),(gs&vs)!==0)bs(i,0);else if(v!==0){if(v===2&&(Me|=64,i.hydrate&&(i.hydrate=!1,Pd(i.containerInfo)),p=Mf(i),p!==0&&(v=Ua(i,p))),v===1)throw l=Fu,bs(i,0),_s(i,p),gr(i,bn()),l;switch(i.finishedWork=i.current.alternate,i.finishedLanes=p,v){case 0:case 1:throw Error(e(345));case 2:Ei(i);break;case 3:if(_s(i,p),(p&62914560)===p&&(v=vp+500-bn(),10<v)){if(fa(i,0)!==0)break;if(w=i.suspendedLanes,(w&p)!==p){Zn(),i.pingedLanes|=i.suspendedLanes&w;break}i.timeoutHandle=cm(Ei.bind(null,i),v);break}Ei(i);break;case 4:if(_s(i,p),(p&4186112)===p)break;for(v=i.eventTimes,w=-1;0<p;){var T=31-Do(p);E=1<<T,T=v[T],T>w&&(w=T),p&=~E}if(p=w,p=bn()-p,p=(120>p?120:480>p?480:1080>p?1080:1920>p?1920:3e3>p?3e3:4320>p?4320:1960*wC(p/1960))-p,10<p){i.timeoutHandle=cm(Ei.bind(null,i),p);break}Ei(i);break;case 5:Ei(i);break;default:throw Error(e(329))}}return gr(i,bn()),i.callbackNode===l?bg.bind(null,i):null}function _s(i,l){for(l&=~mp,l&=~vs,i.suspendedLanes|=l,i.pingedLanes&=~l,i=i.expirationTimes;0<l;){var p=31-Do(l),v=1<<p;i[p]=-1,l&=~v}}function wp(i){if((Me&48)!==0)throw Error(e(327));if(Wo(),i===kn&&(i.expiredLanes&xn)!==0){var l=xn,p=Ua(i,l);(gs&vs)!==0&&(l=fa(i,l),p=Ua(i,l))}else l=fa(i,0),p=Ua(i,l);if(i.tag!==0&&p===2&&(Me|=64,i.hydrate&&(i.hydrate=!1,Pd(i.containerInfo)),l=Mf(i),l!==0&&(p=Ua(i,l))),p===1)throw p=Fu,bs(i,0),_s(i,l),gr(i,bn()),p;return i.finishedWork=i.current.alternate,i.finishedLanes=l,Ei(i),gr(i,bn()),null}function SC(){if(go!==null){var i=go;go=null,i.forEach(function(l){l.expiredLanes|=24&l.pendingLanes,gr(l,bn())})}Zr()}function Cg(i,l){var p=Me;Me|=1;try{return i(l)}finally{Me=p,Me===0&&(ys(),Zr())}}function xg(i,l){var p=Me;Me&=-2,Me|=8;try{return i(l)}finally{Me=p,Me===0&&(ys(),Zr())}}function Ru(i,l){Ht(fp,Si),Si|=l,gs|=l}function Sp(){Si=fp.current,Tt(fp)}function bs(i,l){i.finishedWork=null,i.finishedLanes=0;var p=i.timeoutHandle;if(p!==-1&&(i.timeoutHandle=-1,oC(p)),Zt!==null)for(p=Zt.return;p!==null;){var v=p;switch(v.tag){case 1:v=v.type.childContextTypes,v!=null&&au();break;case 3:fs(),Tt(Nn),Tt(_n),Zd();break;case 5:$d(v);break;case 4:fs();break;case 13:Tt(Wt);break;case 19:Tt(Wt);break;case 10:Ud(v);break;case 23:case 24:Sp()}p=p.return}kn=i,Zt=Uo(i.current,null),xn=Si=gs=l,gn=0,Fu=null,mp=vs=ja=0}function wg(i,l){do{var p=Zt;try{if(zd(),Aa.current=Eu,Cu){for(var v=Gt.memoizedState;v!==null;){var w=v.queue;w!==null&&(w.pending=null),v=v.next}Cu=!1}if(Ma=0,mn=Cn=Gt=null,Pa=!1,hp.current=null,p===null||p.return===null){gn=1,Fu=l,Zt=null;break}e:{var E=i,T=p.return,N=p,H=l;if(l=xn,N.flags|=2048,N.firstEffect=N.lastEffect=null,H!==null&&typeof H=="object"&&typeof H.then=="function"){var oe=H;if((N.mode&2)===0){var ye=N.alternate;ye?(N.updateQueue=ye.updateQueue,N.memoizedState=ye.memoizedState,N.lanes=ye.lanes):(N.updateQueue=null,N.memoizedState=null)}var Ne=(Wt.current&1)!==0,de=T;do{var Se;if(Se=de.tag===13){var Pe=de.memoizedState;if(Pe!==null)Se=Pe.dehydrated!==null;else{var Ie=de.memoizedProps;Se=Ie.fallback===void 0?!1:Ie.unstable_avoidThisFallback!==!0?!0:!Ne}}if(Se){var Y=de.updateQueue;if(Y===null){var U=new Set;U.add(oe),de.updateQueue=U}else Y.add(oe);if((de.mode&2)===0){if(de.flags|=64,N.flags|=16384,N.flags&=-2981,N.tag===1)if(N.alternate===null)N.tag=17;else{var $=No(-1,1);$.tag=2,Lo(N,$)}N.lanes|=1;break e}H=void 0,N=l;var ue=E.pingCache;if(ue===null?(ue=E.pingCache=new yC,H=new Set,ue.set(oe,H)):(H=ue.get(oe),H===void 0&&(H=new Set,ue.set(oe,H))),!H.has(N)){H.add(N);var ce=AC.bind(null,E,oe,N);oe.then(ce,ce)}de.flags|=4096,de.lanes=l;break e}de=de.return}while(de!==null);H=Error((ot(N.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.

Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}gn!==5&&(gn=2),H=lp(H,N),de=T;do{switch(de.tag){case 3:E=H,de.flags|=4096,l&=-l,de.lanes|=l;var Be=cg(de,E,l);Im(de,Be);break e;case 1:E=H;var we=de.type,je=de.stateNode;if((de.flags&64)===0&&(typeof we.getDerivedStateFromError=="function"||je!==null&&typeof je.componentDidCatch=="function"&&(eo===null||!eo.has(je)))){de.flags|=4096,l&=-l,de.lanes|=l;var Ye=dg(de,E,l);Im(de,Ye);break e}}de=de.return}while(de!==null)}kg(p)}catch(Ue){l=Ue,Zt===p&&p!==null&&(Zt=p=p.return);continue}break}while(!0)}function Sg(){var i=Iu.current;return Iu.current=Eu,i===null?Eu:i}function Ua(i,l){var p=Me;Me|=16;var v=Sg();kn===i&&xn===l||bs(i,l);do try{EC();break}catch(w){wg(i,w)}while(!0);if(zd(),Me=p,Iu.current=v,Zt!==null)throw Error(e(261));return kn=null,xn=0,gn}function EC(){for(;Zt!==null;)Eg(Zt)}function kC(){for(;Zt!==null&&!aC();)Eg(Zt)}function Eg(i){var l=Dg(i.alternate,i,Si);i.memoizedProps=i.pendingProps,l===null?kg(i):Zt=l,hp.current=null}function kg(i){var l=i;do{var p=l.alternate;if(i=l.return,(l.flags&2048)===0){if(p=gC(p,l,Si),p!==null){Zt=p;return}if(p=l,p.tag!==24&&p.tag!==23||p.memoizedState===null||(Si&1073741824)!==0||(p.mode&4)===0){for(var v=0,w=p.child;w!==null;)v|=w.lanes|w.childLanes,w=w.sibling;p.childLanes=v}i!==null&&(i.flags&2048)===0&&(i.firstEffect===null&&(i.firstEffect=l.firstEffect),l.lastEffect!==null&&(i.lastEffect!==null&&(i.lastEffect.nextEffect=l.firstEffect),i.lastEffect=l.lastEffect),1<l.flags&&(i.lastEffect!==null?i.lastEffect.nextEffect=l:i.firstEffect=l,i.lastEffect=l))}else{if(p=vC(l),p!==null){p.flags&=2047,Zt=p;return}i!==null&&(i.firstEffect=i.lastEffect=null,i.flags|=2048)}if(l=l.sibling,l!==null){Zt=l;return}Zt=l=i}while(l!==null);gn===0&&(gn=5)}function Ei(i){var l=ds();return bi(99,IC.bind(null,i,l)),null}function IC(i,l){do Wo();while(Oa!==null);if((Me&48)!==0)throw Error(e(327));var p=i.finishedWork;if(p===null)return null;if(i.finishedWork=null,i.finishedLanes=0,p===i.current)throw Error(e(177));i.callbackNode=null;var v=p.lanes|p.childLanes,w=v,E=i.pendingLanes&~w;i.pendingLanes=w,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=w,i.mutableReadLanes&=w,i.entangledLanes&=w,w=i.entanglements;for(var T=i.eventTimes,N=i.expirationTimes;0<E;){var H=31-Do(E),oe=1<<H;w[H]=0,T[H]=-1,N[H]=-1,E&=~oe}if(go!==null&&(v&24)===0&&go.has(i)&&go.delete(i),i===kn&&(Zt=kn=null,xn=0),1<p.flags?p.lastEffect!==null?(p.lastEffect.nextEffect=p,v=p.firstEffect):v=p:v=p.firstEffect,v!==null){if(w=Me,Me|=32,hp.current=null,Td=Zl,T=Qf(),kd(T)){if("selectionStart"in T)N={start:T.selectionStart,end:T.selectionEnd};else e:if(N=(N=T.ownerDocument)&&N.defaultView||window,(oe=N.getSelection&&N.getSelection())&&oe.rangeCount!==0){N=oe.anchorNode,E=oe.anchorOffset,H=oe.focusNode,oe=oe.focusOffset;try{N.nodeType,H.nodeType}catch{N=null;break e}var ye=0,Ne=-1,de=-1,Se=0,Pe=0,Ie=T,Y=null;t:for(;;){for(var U;Ie!==N||E!==0&&Ie.nodeType!==3||(Ne=ye+E),Ie!==H||oe!==0&&Ie.nodeType!==3||(de=ye+oe),Ie.nodeType===3&&(ye+=Ie.nodeValue.length),(U=Ie.firstChild)!==null;)Y=Ie,Ie=U;for(;;){if(Ie===T)break t;if(Y===N&&++Se===E&&(Ne=ye),Y===H&&++Pe===oe&&(de=ye),(U=Ie.nextSibling)!==null)break;Ie=Y,Y=Ie.parentNode}Ie=U}N=Ne===-1||de===-1?null:{start:Ne,end:de}}else N=null;N=N||{start:0,end:0}}else N=null;Ad={focusedElem:T,selectionRange:N},Zl=!1,za=null,Mu=!1,xe=v;do try{FC()}catch(Ue){if(xe===null)throw Error(e(330));zo(xe,Ue),xe=xe.nextEffect}while(xe!==null);za=null,xe=v;do try{for(T=i;xe!==null;){var $=xe.flags;if($&16&&Vr(xe.stateNode,""),$&128){var ue=xe.alternate;if(ue!==null){var ce=ue.ref;ce!==null&&(typeof ce=="function"?ce(null):ce.current=null)}}switch($&1038){case 2:vg(xe),xe.flags&=-3;break;case 6:vg(xe),xe.flags&=-3,pp(xe.alternate,xe);break;case 1024:xe.flags&=-1025;break;case 1028:xe.flags&=-1025,pp(xe.alternate,xe);break;case 4:pp(xe.alternate,xe);break;case 8:N=xe,yg(T,N);var Be=N.alternate;mg(N),Be!==null&&mg(Be)}xe=xe.nextEffect}}catch(Ue){if(xe===null)throw Error(e(330));zo(xe,Ue),xe=xe.nextEffect}while(xe!==null);if(ce=Ad,ue=Qf(),$=ce.focusedElem,T=ce.selectionRange,ue!==$&&$&&$.ownerDocument&&Xf($.ownerDocument.documentElement,$)){for(T!==null&&kd($)&&(ue=T.start,ce=T.end,ce===void 0&&(ce=ue),"selectionStart"in $?($.selectionStart=ue,$.selectionEnd=Math.min(ce,$.value.length)):(ce=(ue=$.ownerDocument||document)&&ue.defaultView||window,ce.getSelection&&(ce=ce.getSelection(),N=$.textContent.length,Be=Math.min(T.start,N),T=T.end===void 0?Be:Math.min(T.end,N),!ce.extend&&Be>T&&(N=T,T=Be,Be=N),N=Zf($,Be),E=Zf($,T),N&&E&&(ce.rangeCount!==1||ce.anchorNode!==N.node||ce.anchorOffset!==N.offset||ce.focusNode!==E.node||ce.focusOffset!==E.offset)&&(ue=ue.createRange(),ue.setStart(N.node,N.offset),ce.removeAllRanges(),Be>T?(ce.addRange(ue),ce.extend(E.node,E.offset)):(ue.setEnd(E.node,E.offset),ce.addRange(ue)))))),ue=[],ce=$;ce=ce.parentNode;)ce.nodeType===1&&ue.push({element:ce,left:ce.scrollLeft,top:ce.scrollTop});for(typeof $.focus=="function"&&$.focus(),$=0;$<ue.length;$++)ce=ue[$],ce.element.scrollLeft=ce.left,ce.element.scrollTop=ce.top}Zl=!!Td,Ad=Td=null,i.current=p,xe=v;do try{for($=i;xe!==null;){var we=xe.flags;if(we&36&&CC($,xe.alternate,xe),we&128){ue=void 0;var je=xe.ref;if(je!==null){var Ye=xe.stateNode;switch(xe.tag){case 5:ue=Ye;break;default:ue=Ye}typeof je=="function"?je(ue):je.current=ue}}xe=xe.nextEffect}}catch(Ue){if(xe===null)throw Error(e(330));zo(xe,Ue),xe=xe.nextEffect}while(xe!==null);xe=null,uC(),Me=w}else i.current=p;if(jo)jo=!1,Oa=i,Ha=l;else for(xe=v;xe!==null;)l=xe.nextEffect,xe.nextEffect=null,xe.flags&8&&(we=xe,we.sibling=null,we.stateNode=null),xe=l;if(v=i.pendingLanes,v===0&&(eo=null),v===1?i===xp?Wa++:(Wa=0,xp=i):Wa=0,p=p.stateNode,_i&&typeof _i.onCommitFiberRoot=="function")try{_i.onCommitFiberRoot(Ld,p,void 0,(p.current.flags&64)===64)}catch{}if(gr(i,bn()),Du)throw Du=!1,i=_p,_p=null,i;return(Me&8)!==0||Zr(),null}function FC(){for(;xe!==null;){var i=xe.alternate;Mu||za===null||((xe.flags&8)!==0?ua(xe,za)&&(Mu=!0):xe.tag===13&&xC(i,xe)&&ua(xe,za)&&(Mu=!0));var l=xe.flags;(l&256)!==0&&bC(i,xe),(l&512)===0||jo||(jo=!0,Ea(97,function(){return Wo(),null})),xe=xe.nextEffect}}function Wo(){if(Ha!==90){var i=97<Ha?97:Ha;return Ha=90,bi(i,TC)}return!1}function DC(i,l){bp.push(l,i),jo||(jo=!0,Ea(97,function(){return Wo(),null}))}function Ig(i,l){Cp.push(l,i),jo||(jo=!0,Ea(97,function(){return Wo(),null}))}function TC(){if(Oa===null)return!1;var i=Oa;if(Oa=null,(Me&48)!==0)throw Error(e(331));var l=Me;Me|=32;var p=Cp;Cp=[];for(var v=0;v<p.length;v+=2){var w=p[v],E=p[v+1],T=w.destroy;if(w.destroy=void 0,typeof T=="function")try{T()}catch(H){if(E===null)throw Error(e(330));zo(E,H)}}for(p=bp,bp=[],v=0;v<p.length;v+=2){w=p[v],E=p[v+1];try{var N=w.create;w.destroy=N()}catch(H){if(E===null)throw Error(e(330));zo(E,H)}}for(N=i.current.firstEffect;N!==null;)i=N.nextEffect,N.nextEffect=null,N.flags&8&&(N.sibling=null,N.stateNode=null),N=i;return Me=l,Zr(),!0}function Fg(i,l,p){l=lp(p,l),l=cg(i,l,1),Lo(i,l),l=Zn(),i=Pu(i,1),i!==null&&(Yl(i,1,l),gr(i,l))}function zo(i,l){if(i.tag===3)Fg(i,i,l);else for(var p=i.return;p!==null;){if(p.tag===3){Fg(p,i,l);break}else if(p.tag===1){var v=p.stateNode;if(typeof p.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(eo===null||!eo.has(v))){i=lp(l,i);var w=dg(p,i,1);if(Lo(p,w),w=Zn(),p=Pu(p,1),p!==null)Yl(p,1,w),gr(p,w);else if(typeof v.componentDidCatch=="function"&&(eo===null||!eo.has(v)))try{v.componentDidCatch(l,i)}catch{}break}}p=p.return}}function AC(i,l,p){var v=i.pingCache;v!==null&&v.delete(l),l=Zn(),i.pingedLanes|=i.suspendedLanes&p,kn===i&&(xn&p)===p&&(gn===4||gn===3&&(xn&62914560)===xn&&500>bn()-vp?bs(i,0):mp|=p),gr(i,l)}function MC(i,l){var p=i.stateNode;p!==null&&p.delete(l),l=0,l===0&&(l=i.mode,(l&2)===0?l=1:(l&4)===0?l=ds()===99?1:2:(vo===0&&(vo=gs),l=ts(62914560&~vo),l===0&&(l=4194304))),p=Zn(),i=Pu(i,l),i!==null&&(Yl(i,l,p),gr(i,p))}var Dg;Dg=function(i,l,p){var v=l.lanes;if(i!==null)if(i.memoizedProps!==l.pendingProps||Nn.current)Pr=!0;else if((p&v)!==0)Pr=(i.flags&16384)!==0;else{switch(Pr=!1,l.tag){case 3:eg(l),Yd();break;case 5:Nm(l);break;case 1:Ln(l.type)&&lu(l);break;case 4:Kd(l,l.stateNode.containerInfo);break;case 10:v=l.memoizedProps.value;var w=l.type._context;Ht(du,w._currentValue),w._currentValue=v;break;case 13:if(l.memoizedState!==null)return(p&l.child.childLanes)!==0?tg(i,l,p):(Ht(Wt,Wt.current&1),l=mo(i,l,p),l!==null?l.sibling:null);Ht(Wt,Wt.current&1);break;case 19:if(v=(p&l.childLanes)!==0,(i.flags&64)!==0){if(v)return sg(i,l,p);l.flags|=64}if(w=l.memoizedState,w!==null&&(w.rendering=null,w.tail=null,w.lastEffect=null),Ht(Wt,Wt.current),v)break;return null;case 23:case 24:return l.lanes=0,rp(i,l,p)}return mo(i,l,p)}else Pr=!1;switch(l.lanes=0,l.tag){case 2:if(v=l.type,i!==null&&(i.alternate=null,l.alternate=null,l.flags|=2),i=l.pendingProps,w=cs(l,_n.current),hs(l,p),w=Qd(null,l,v,i,w,p),l.flags|=1,typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){if(l.tag=1,l.memoizedState=null,l.updateQueue=null,Ln(v)){var E=!0;lu(l)}else E=!1;l.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,Gd(l);var T=v.getDerivedStateFromProps;typeof T=="function"&&fu(l,v,T,i),w.updater=mu,l.stateNode=w,w._reactInternals=l,Vd(l,v,i,p),l=ip(null,l,v,!0,E,p)}else l.tag=0,jn(null,l,w,p),l=l.child;return l;case 16:w=l.elementType;e:{switch(i!==null&&(i.alternate=null,l.alternate=null,l.flags|=2),i=l.pendingProps,E=w._init,w=E(w._payload),l.type=w,E=l.tag=RC(w),i=Mr(w,i),E){case 0:l=op(null,l,w,i,p);break e;case 1:l=Jm(null,l,w,i,p);break e;case 11:l=Ym(null,l,w,i,p);break e;case 14:l=Zm(null,l,w,Mr(w.type,i),v,p);break e}throw Error(e(306,w,""))}return l;case 0:return v=l.type,w=l.pendingProps,w=l.elementType===v?w:Mr(v,w),op(i,l,v,w,p);case 1:return v=l.type,w=l.pendingProps,w=l.elementType===v?w:Mr(v,w),Jm(i,l,v,w,p);case 3:if(eg(l),v=l.updateQueue,i===null||v===null)throw Error(e(282));if(v=l.pendingProps,w=l.memoizedState,w=w!==null?w.element:null,km(i,l),ka(l,v,null,p),v=l.memoizedState.element,v===w)Yd(),l=mo(i,l,p);else{if(w=l.stateNode,(E=w.hydrate)&&(Bo=ss(l.stateNode.containerInfo.firstChild),fo=l,E=Qr=!0),E){if(i=w.mutableSourceEagerHydrationData,i!=null)for(w=0;w<i.length;w+=2)E=i[w],E._workInProgressVersionPrimary=i[w+1],ms.push(E);for(p=Rm(l,null,v,p),l.child=p;p;)p.flags=p.flags&-3|1024,p=p.sibling}else jn(i,l,v,p),Yd();l=l.child}return l;case 5:return Nm(l),i===null&&qd(l),v=l.type,w=l.pendingProps,E=i!==null?i.memoizedProps:null,T=w.children,Md(v,w)?T=null:E!==null&&Md(v,E)&&(l.flags|=16),Qm(i,l),jn(i,l,T,p),l.child;case 6:return i===null&&qd(l),null;case 13:return tg(i,l,p);case 4:return Kd(l,l.stateNode.containerInfo),v=l.pendingProps,i===null?l.child=yu(l,null,v,p):jn(i,l,v,p),l.child;case 11:return v=l.type,w=l.pendingProps,w=l.elementType===v?w:Mr(v,w),Ym(i,l,v,w,p);case 7:return jn(i,l,l.pendingProps,p),l.child;case 8:return jn(i,l,l.pendingProps.children,p),l.child;case 12:return jn(i,l,l.pendingProps.children,p),l.child;case 10:e:{v=l.type._context,w=l.pendingProps,T=l.memoizedProps,E=w.value;var N=l.type._context;if(Ht(du,N._currentValue),N._currentValue=E,T!==null)if(N=T.value,E=hr(N,E)?0:(typeof v._calculateChangedBits=="function"?v._calculateChangedBits(N,E):1073741823)|0,E===0){if(T.children===w.children&&!Nn.current){l=mo(i,l,p);break e}}else for(N=l.child,N!==null&&(N.return=l);N!==null;){var H=N.dependencies;if(H!==null){T=N.child;for(var oe=H.firstContext;oe!==null;){if(oe.context===v&&(oe.observedBits&E)!==0){N.tag===1&&(oe=No(-1,p&-p),oe.tag=2,Lo(N,oe)),N.lanes|=p,oe=N.alternate,oe!==null&&(oe.lanes|=p),Em(N.return,p),H.lanes|=p;break}oe=oe.next}}else T=N.tag===10&&N.type===l.type?null:N.child;if(T!==null)T.return=N;else for(T=N;T!==null;){if(T===l){T=null;break}if(N=T.sibling,N!==null){N.return=T.return,T=N;break}T=T.return}N=T}jn(i,l,w.children,p),l=l.child}return l;case 9:return w=l.type,E=l.pendingProps,v=E.children,hs(l,p),w=fr(w,E.unstable_observedBits),v=v(w),l.flags|=1,jn(i,l,v,p),l.child;case 14:return w=l.type,E=Mr(w,l.pendingProps),E=Mr(w.type,E),Zm(i,l,w,E,v,p);case 15:return Xm(i,l,l.type,l.pendingProps,v,p);case 17:return v=l.type,w=l.pendingProps,w=l.elementType===v?w:Mr(v,w),i!==null&&(i.alternate=null,l.alternate=null,l.flags|=2),l.tag=1,Ln(v)?(i=!0,lu(l)):i=!1,hs(l,p),Am(l,v,w),Vd(l,v,w,p),ip(null,l,v,!0,i,p);case 19:return sg(i,l,p);case 23:return rp(i,l,p);case 24:return rp(i,l,p)}throw Error(e(156,l.tag))};function PC(i,l,p,v){this.tag=i,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=v,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function vr(i,l,p,v){return new PC(i,l,p,v)}function Ep(i){return i=i.prototype,!(!i||!i.isReactComponent)}function RC(i){if(typeof i=="function")return Ep(i)?1:0;if(i!=null){if(i=i.$$typeof,i===J)return 11;if(i===fe)return 14}return 2}function Uo(i,l){var p=i.alternate;return p===null?(p=vr(i.tag,l,i.key,i.mode),p.elementType=i.elementType,p.type=i.type,p.stateNode=i.stateNode,p.alternate=i,i.alternate=p):(p.pendingProps=l,p.type=i.type,p.flags=0,p.nextEffect=null,p.firstEffect=null,p.lastEffect=null),p.childLanes=i.childLanes,p.lanes=i.lanes,p.child=i.child,p.memoizedProps=i.memoizedProps,p.memoizedState=i.memoizedState,p.updateQueue=i.updateQueue,l=i.dependencies,p.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},p.sibling=i.sibling,p.index=i.index,p.ref=i.ref,p}function Nu(i,l,p,v,w,E){var T=2;if(v=i,typeof i=="function")Ep(i)&&(T=1);else if(typeof i=="string")T=5;else e:switch(i){case R:return Cs(p.children,w,E,l);case le:T=8,w|=16;break;case P:T=8,w|=1;break;case W:return i=vr(12,p,l,w|8),i.elementType=W,i.type=W,i.lanes=E,i;case ne:return i=vr(13,p,l,w),i.type=ne,i.elementType=ne,i.lanes=E,i;case ie:return i=vr(19,p,l,w),i.elementType=ie,i.lanes=E,i;case z:return kp(p,w,E,l);case q:return i=vr(24,p,l,w),i.elementType=q,i.lanes=E,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case Q:T=10;break e;case K:T=9;break e;case J:T=11;break e;case fe:T=14;break e;case B:T=16,v=null;break e;case Z:T=22;break e}throw Error(e(130,i==null?i:typeof i,""))}return l=vr(T,p,l,w),l.elementType=i,l.type=v,l.lanes=E,l}function Cs(i,l,p,v){return i=vr(7,i,v,l),i.lanes=p,i}function kp(i,l,p,v){return i=vr(23,i,v,l),i.elementType=z,i.lanes=p,i}function Ip(i,l,p){return i=vr(6,i,null,l),i.lanes=p,i}function Fp(i,l,p){return l=vr(4,i.children!==null?i.children:[],i.key,l),l.lanes=p,l.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},l}function NC(i,l,p){this.tag=l,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=p,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=fd(0),this.expirationTimes=fd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fd(0),this.mutableSourceEagerHydrationData=null}function LC(i,l,p){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:M,key:v==null?null:""+v,children:i,containerInfo:l,implementation:p}}function Lu(i,l,p,v){var w=l.current,E=Zn(),T=Oo(w);e:if(p){p=p._reactInternals;t:{if(Ar(p)!==p||p.tag!==1)throw Error(e(170));var N=p;do{switch(N.tag){case 3:N=N.stateNode.context;break t;case 1:if(Ln(N.type)){N=N.stateNode.__reactInternalMemoizedMergedChildContext;break t}}N=N.return}while(N!==null);throw Error(e(171))}if(p.tag===1){var H=p.type;if(Ln(H)){p=mm(p,H,N);break e}}p=N}else p=Po;return l.context===null?l.context=p:l.pendingContext=p,l=No(E,T),l.payload={element:i},v=v===void 0?null:v,v!==null&&(l.callback=v),Lo(w,l),Ho(w,T,E),T}function Dp(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function Tg(i,l){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var p=i.retryLane;i.retryLane=p!==0&&p<l?p:l}}function Tp(i,l){Tg(i,l),(i=i.alternate)&&Tg(i,l)}function BC(){return null}function Ap(i,l,p){var v=p!=null&&p.hydrationOptions!=null&&p.hydrationOptions.mutableSources||null;if(p=new NC(i,l,p!=null&&p.hydrate===!0),l=vr(3,null,null,l===2?7:l===1?3:0),p.current=l,l.stateNode=p,Gd(l),i[as]=p.current,om(i.nodeType===8?i.parentNode:i),v)for(i=0;i<v.length;i++){l=v[i];var w=l._getVersion;w=w(l._source),p.mutableSourceEagerHydrationData==null?p.mutableSourceEagerHydrationData=[l,w]:p.mutableSourceEagerHydrationData.push(l,w)}this._internalRoot=p}Ap.prototype.render=function(i){Lu(i,this._internalRoot,null,null)},Ap.prototype.unmount=function(){var i=this._internalRoot,l=i.containerInfo;Lu(null,i,null,function(){l[as]=null})};function Ga(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function jC(i,l){if(l||(l=i?i.nodeType===9?i.documentElement:i.firstChild:null,l=!(!l||l.nodeType!==1||!l.hasAttribute("data-reactroot"))),!l)for(var p;p=i.lastChild;)i.removeChild(p);return new Ap(i,0,l?{hydrate:!0}:void 0)}function Bu(i,l,p,v,w){var E=p._reactRootContainer;if(E){var T=E._internalRoot;if(typeof w=="function"){var N=w;w=function(){var oe=Dp(T);N.call(oe)}}Lu(l,T,i,w)}else{if(E=p._reactRootContainer=jC(p,v),T=E._internalRoot,typeof w=="function"){var H=w;w=function(){var oe=Dp(T);H.call(oe)}}xg(function(){Lu(l,T,i,w)})}return Dp(T)}Qi=function(i){if(i.tag===13){var l=Zn();Ho(i,4,l),Tp(i,4)}},ca=function(i){if(i.tag===13){var l=Zn();Ho(i,67108864,l),Tp(i,67108864)}},zl=function(i){if(i.tag===13){var l=Zn(),p=Oo(i);Ho(i,p,l),Tp(i,p)}},da=function(i,l){return l()},ea=function(i,l,p){switch(l){case"input":if(Fr(i,p),l=p.name,p.type==="radio"&&l!=null){for(p=i;p.parentNode;)p=p.parentNode;for(p=p.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),l=0;l<p.length;l++){var v=p[l];if(v!==i&&v.form===i.form){var w=su(v);if(!w)throw Error(e(90));hn(v),Fr(v,w)}}}break;case"textarea":ui(i,p);break;case"select":l=p.value,l!=null&&fn(i,!!p.multiple,l,!1)}},qi=Cg,Io=function(i,l,p,v,w){var E=Me;Me|=4;try{return bi(98,i.bind(null,l,p,v,w))}finally{Me=E,Me===0&&(ys(),Zr())}},di=function(){(Me&49)===0&&(SC(),Wo())},jl=function(i,l){var p=Me;Me|=2;try{return i(l)}finally{Me=p,Me===0&&(ys(),Zr())}};function Ag(i,l){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ga(l))throw Error(e(200));return LC(i,l,null,p)}var OC={Events:[Sa,ls,su,$r,Dr,Wo,{current:!1}]},Va={findFiberByHostInstance:vi,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},HC={bundleType:Va.bundleType,version:Va.version,rendererPackageName:Va.rendererPackageName,rendererConfig:Va.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=la(i),i===null?null:i.stateNode},findFiberByHostInstance:Va.findFiberByHostInstance||BC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ju.isDisabled&&ju.supportsFiber)try{Ld=ju.inject(HC),_i=ju}catch{}}return Xn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=OC,Xn.createPortal=Ag,Xn.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var l=i._reactInternals;if(l===void 0)throw typeof i.render=="function"?Error(e(188)):Error(e(268,Object.keys(i)));return i=la(l),i=i===null?null:i.stateNode,i},Xn.flushSync=function(i,l){var p=Me;if((p&48)!==0)return i(l);Me|=1;try{if(i)return bi(99,i.bind(null,l))}finally{Me=p,Zr()}},Xn.hydrate=function(i,l,p){if(!Ga(l))throw Error(e(200));return Bu(null,i,l,!0,p)},Xn.render=function(i,l,p){if(!Ga(l))throw Error(e(200));return Bu(null,i,l,!1,p)},Xn.unmountComponentAtNode=function(i){if(!Ga(i))throw Error(e(40));return i._reactRootContainer?(xg(function(){Bu(null,null,i,!1,function(){i._reactRootContainer=null,i[as]=null})}),!0):!1},Xn.unstable_batchedUpdates=Cg,Xn.unstable_createPortal=function(i,l){return Ag(i,l,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},Xn.unstable_renderSubtreeIntoContainer=function(i,l,p,v){if(!Ga(p))throw Error(e(200));if(i==null||i._reactInternals===void 0)throw Error(e(38));return Bu(i,l,p,!1,v)},Xn.version="17.0.2",Xn}var Hg;function ZC(){if(Hg)return Np.exports;Hg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Np.exports=YC(),Np.exports}var XC=ZC(),_=Kh();const O=UC(_),Vy=zC({__proto__:null,default:O},[_]);/**
 * @remix-run/router v1.10.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function kc(){return kc=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}return n},kc.apply(this,arguments)}var Mi;(function(n){n.Pop="POP",n.Push="PUSH",n.Replace="REPLACE"})(Mi||(Mi={}));const Wg="popstate";function QC(n){n===void 0&&(n={});function r(o,s){let{pathname:a="/",search:u="",hash:d=""}=Oc(o.location.hash.substr(1));return!a.startsWith("/")&&!a.startsWith(".")&&(a="/"+a),bh("",{pathname:a,search:u,hash:d},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function t(o,s){let a=o.document.querySelector("base"),u="";if(a&&a.getAttribute("href")){let d=o.location.href,f=d.indexOf("#");u=f===-1?d:d.slice(0,f)}return u+"#"+(typeof s=="string"?s:Ky(s))}function e(o,s){jc(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(s)+")")}return ex(r,t,e,n)}function ao(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function jc(n,r){if(!n){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function JC(){return Math.random().toString(36).substr(2,8)}function zg(n,r){return{usr:n.state,key:n.key,idx:r}}function bh(n,r,t,e){return t===void 0&&(t=null),kc({pathname:typeof n=="string"?n:n.pathname,search:"",hash:""},typeof r=="string"?Oc(r):r,{state:t,key:r&&r.key||e||JC()})}function Ky(n){let{pathname:r="/",search:t="",hash:e=""}=n;return t&&t!=="?"&&(r+=t.charAt(0)==="?"?t:"?"+t),e&&e!=="#"&&(r+=e.charAt(0)==="#"?e:"#"+e),r}function Oc(n){let r={};if(n){let t=n.indexOf("#");t>=0&&(r.hash=n.substr(t),n=n.substr(0,t));let e=n.indexOf("?");e>=0&&(r.search=n.substr(e),n=n.substr(0,e)),n&&(r.pathname=n)}return r}function ex(n,r,t,e){e===void 0&&(e={});let{window:o=document.defaultView,v5Compat:s=!1}=e,a=o.history,u=Mi.Pop,d=null,f=m();f==null&&(f=0,a.replaceState(kc({},a.state,{idx:f}),""));function m(){return(a.state||{idx:null}).idx}function h(){u=Mi.Pop;let b=m(),S=b==null?null:b-f;f=b,d&&d({action:u,location:x.location,delta:S})}function g(b,S){u=Mi.Push;let F=bh(x.location,b,S);t&&t(F,b),f=m()+1;let D=zg(F,f),A=x.createHref(F);try{a.pushState(D,"",A)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;o.location.assign(A)}s&&d&&d({action:u,location:x.location,delta:1})}function y(b,S){u=Mi.Replace;let F=bh(x.location,b,S);t&&t(F,b),f=m();let D=zg(F,f),A=x.createHref(F);a.replaceState(D,"",A),s&&d&&d({action:u,location:x.location,delta:0})}function C(b){let S=o.location.origin!=="null"?o.location.origin:o.location.href,F=typeof b=="string"?b:Ky(b);return ao(S,"No window.location.(origin|href) available to create URL for href: "+F),new URL(F,S)}let x={get action(){return u},get location(){return n(o,a)},listen(b){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(Wg,h),d=b,()=>{o.removeEventListener(Wg,h),d=null}},createHref(b){return r(o,b)},createURL:C,encodeLocation(b){let S=C(b);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:y,go(b){return a.go(b)}};return x}var Ug;(function(n){n.data="data",n.deferred="deferred",n.redirect="redirect",n.error="error"})(Ug||(Ug={}));function tx(n,r,t){t===void 0&&(t="/");let e=typeof r=="string"?Oc(r):r,o=Yy(e.pathname||"/",t);if(o==null)return null;let s=$y(n);nx(s);let a=null;for(let u=0;a==null&&u<s.length;++u)a=dx(s[u],fx(o));return a}function $y(n,r,t,e){r===void 0&&(r=[]),t===void 0&&(t=[]),e===void 0&&(e="");let o=(s,a,u)=>{let d={relativePath:u===void 0?s.path||"":u,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};d.relativePath.startsWith("/")&&(ao(d.relativePath.startsWith(e),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+e+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(e.length));let f=Ps([e,d.relativePath]),m=t.concat(d);s.children&&s.children.length>0&&(ao(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+f+'".')),$y(s.children,r,m,f)),!(s.path==null&&!s.index)&&r.push({path:f,score:ux(f,s.index),routesMeta:m})};return n.forEach((s,a)=>{var u;if(s.path===""||!((u=s.path)!=null&&u.includes("?")))o(s,a);else for(let d of qy(s.path))o(s,a,d)}),r}function qy(n){let r=n.split("/");if(r.length===0)return[];let[t,...e]=r,o=t.endsWith("?"),s=t.replace(/\?$/,"");if(e.length===0)return o?[s,""]:[s];let a=qy(e.join("/")),u=[];return u.push(...a.map(d=>d===""?s:[s,d].join("/"))),o&&u.push(...a),u.map(d=>n.startsWith("/")&&d===""?"/":d)}function nx(n){n.sort((r,t)=>r.score!==t.score?t.score-r.score:cx(r.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}const rx=/^:\w+$/,ox=3,ix=2,sx=1,ax=10,lx=-2,Gg=n=>n==="*";function ux(n,r){let t=n.split("/"),e=t.length;return t.some(Gg)&&(e+=lx),r&&(e+=ix),t.filter(o=>!Gg(o)).reduce((o,s)=>o+(rx.test(s)?ox:s===""?sx:ax),e)}function cx(n,r){return n.length===r.length&&n.slice(0,-1).every((e,o)=>e===r[o])?n[n.length-1]-r[r.length-1]:0}function dx(n,r){let{routesMeta:t}=n,e={},o="/",s=[];for(let a=0;a<t.length;++a){let u=t[a],d=a===t.length-1,f=o==="/"?r:r.slice(o.length)||"/",m=px({path:u.relativePath,caseSensitive:u.caseSensitive,end:d},f);if(!m)return null;Object.assign(e,m.params);let h=u.route;s.push({params:e,pathname:Ps([o,m.pathname]),pathnameBase:gx(Ps([o,m.pathnameBase])),route:h}),m.pathnameBase!=="/"&&(o=Ps([o,m.pathnameBase]))}return s}function px(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[t,e]=hx(n.path,n.caseSensitive,n.end),o=r.match(t);if(!o)return null;let s=o[0],a=s.replace(/(.)\/+$/,"$1"),u=o.slice(1);return{params:e.reduce((f,m,h)=>{if(m==="*"){let g=u[h]||"";a=s.slice(0,s.length-g.length).replace(/(.)\/+$/,"$1")}return f[m]=mx(u[h]||"",m),f},{}),pathname:s,pathnameBase:a,pattern:n}}function hx(n,r,t){r===void 0&&(r=!1),t===void 0&&(t=!0),jc(n==="*"||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were '+('"'+n.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+n.replace(/\*$/,"/*")+'".'));let e=[],o="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,u)=>(e.push(u),"/([^\\/]+)"));return n.endsWith("*")?(e.push("*"),o+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):t?o+="\\/*$":n!==""&&n!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,r?void 0:"i"),e]}function fx(n){try{return decodeURI(n)}catch(r){return jc(!1,'The URL path "'+n+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+r+").")),n}}function mx(n,r){try{return decodeURIComponent(n)}catch(t){return jc(!1,'The value for the URL param "'+r+'" will not be decoded because'+(' the string "'+n+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+t+").")),n}}function Yy(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let t=r.endsWith("/")?r.length-1:r.length,e=n.charAt(t);return e&&e!=="/"?null:n.slice(t)||"/"}const Ps=n=>n.join("/").replace(/\/\/+/g,"/"),gx=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/");function vx(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}const Zy=["post","put","patch","delete"];new Set(Zy);const yx=["get",...Zy];new Set(yx);/**
 * React Router v6.17.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */const _x=_.createContext(null),bx=_.createContext(null),Xy=_.createContext(null),$h=_.createContext(null),El=_.createContext({outlet:null,matches:[],isDataRoute:!1}),Qy=_.createContext(null);function qh(){return _.useContext($h)!=null}function Jy(){return qh()||ao(!1),_.useContext($h).location}const Cx=_.createContext(null);function xx(n){let r=_.useContext(El).outlet;return r&&_.createElement(Cx.Provider,{value:n},r)}function wx(n,r){return Sx(n)}function Sx(n,r,t){qh()||ao(!1);let{navigator:e}=_.useContext(Xy),{matches:o}=_.useContext(El),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let d=Jy(),f;f=d;let m=f.pathname||"/",h=u==="/"?m:m.slice(u.length)||"/",g=tx(n,{pathname:h});return Dx(g&&g.map(C=>Object.assign({},C,{params:Object.assign({},a,C.params),pathname:Ps([u,e.encodeLocation?e.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?u:Ps([u,e.encodeLocation?e.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),o,t)}function Ex(){let n=Px(),r=vx(n)?n.status+" "+n.statusText:n instanceof Error?n.message:JSON.stringify(n),t=n instanceof Error?n.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},r),t?_.createElement("pre",{style:o},t):null,null)}const kx=_.createElement(Ex,null);class Ix extends _.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,t){return t.location!==r.location||t.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error||t.error,location:t.location,revalidation:r.revalidation||t.revalidation}}componentDidCatch(r,t){console.error("React Router caught the following error during render",r,t)}render(){return this.state.error?_.createElement(El.Provider,{value:this.props.routeContext},_.createElement(Qy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Fx(n){let{routeContext:r,match:t,children:e}=n,o=_.useContext(_x);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),_.createElement(El.Provider,{value:r},e)}function Dx(n,r,t){var e;if(r===void 0&&(r=[]),t===void 0&&(t=null),n==null){var o;if((o=t)!=null&&o.errors)n=t.matches;else return null}let s=n,a=(e=t)==null?void 0:e.errors;if(a!=null){let u=s.findIndex(d=>d.route.id&&a?.[d.route.id]);u>=0||ao(!1),s=s.slice(0,Math.min(s.length,u+1))}return s.reduceRight((u,d,f)=>{let m=d.route.id?a?.[d.route.id]:null,h=null;t&&(h=d.route.errorElement||kx);let g=r.concat(s.slice(0,f+1)),y=()=>{let C;return m?C=h:d.route.Component?C=_.createElement(d.route.Component,null):d.route.element?C=d.route.element:C=u,_.createElement(Fx,{match:d,routeContext:{outlet:u,matches:g,isDataRoute:t!=null},children:C})};return t&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?_.createElement(Ix,{location:t.location,revalidation:t.revalidation,component:h,error:m,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var e_=(function(n){return n.UseBlocker="useBlocker",n.UseLoaderData="useLoaderData",n.UseActionData="useActionData",n.UseRouteError="useRouteError",n.UseNavigation="useNavigation",n.UseRouteLoaderData="useRouteLoaderData",n.UseMatches="useMatches",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n.UseRouteId="useRouteId",n})(e_||{});function Tx(n){let r=_.useContext(bx);return r||ao(!1),r}function Ax(n){let r=_.useContext(El);return r||ao(!1),r}function Mx(n){let r=Ax(),t=r.matches[r.matches.length-1];return t.route.id||ao(!1),t.route.id}function Px(){var n;let r=_.useContext(Qy),t=Tx(e_.UseRouteError),e=Mx();return r||((n=t.errors)==null?void 0:n[e])}function Rx(n){return xx(n.context)}function Nx(n){let{basename:r="/",children:t=null,location:e,navigationType:o=Mi.Pop,navigator:s,static:a=!1}=n;qh()&&ao(!1);let u=r.replace(/^\/*/,"/"),d=_.useMemo(()=>({basename:u,navigator:s,static:a}),[u,s,a]);typeof e=="string"&&(e=Oc(e));let{pathname:f="/",search:m="",hash:h="",state:g=null,key:y="default"}=e,C=_.useMemo(()=>{let x=Yy(f,u);return x==null?null:{location:{pathname:x,search:m,hash:h,state:g,key:y},navigationType:o}},[u,f,m,h,g,y,o]);return C==null?null:_.createElement(Xy.Provider,{value:d},_.createElement($h.Provider,{children:t,value:C}))}new Promise(()=>{});/**
 * React Router DOM v6.17.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */const Lx="startTransition",Vg=Vy[Lx];function Bx(n){let{basename:r,children:t,future:e,window:o}=n,s=_.useRef();s.current==null&&(s.current=QC({window:o,v5Compat:!0}));let a=s.current,[u,d]=_.useState({action:a.action,location:a.location}),{v7_startTransition:f}=e||{},m=_.useCallback(h=>{f&&Vg?Vg(()=>d(h)):d(h)},[d,f]);return _.useLayoutEffect(()=>a.listen(m),[a,m]),_.createElement(Nx,{basename:r,children:t,location:u.location,navigationType:u.action,navigator:a})}var Kg;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(Kg||(Kg={}));var $g;(function(n){n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})($g||($g={}));function t_(n,r){return function(){return n.apply(r,arguments)}}const{toString:jx}=Object.prototype,{getPrototypeOf:Yh}=Object,{iterator:Hc,toStringTag:n_}=Symbol,Wc=(n=>r=>{const t=jx.call(r);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Ur=n=>(n=n.toLowerCase(),r=>Wc(r)===n),zc=n=>r=>typeof r===n,{isArray:Vs}=Array,Os=zc("undefined");function kl(n){return n!==null&&!Os(n)&&n.constructor!==null&&!Os(n.constructor)&&Un(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const r_=Ur("ArrayBuffer");function Ox(n){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(n):r=n&&n.buffer&&r_(n.buffer),r}const Hx=zc("string"),Un=zc("function"),o_=zc("number"),Il=n=>n!==null&&typeof n=="object",Wx=n=>n===!0||n===!1,pc=n=>{if(Wc(n)!=="object")return!1;const r=Yh(n);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(n_ in n)&&!(Hc in n)},zx=n=>{if(!Il(n)||kl(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},Ux=Ur("Date"),Gx=Ur("File"),Vx=Ur("Blob"),Kx=Ur("FileList"),$x=n=>Il(n)&&Un(n.pipe),qx=n=>{let r;return n&&(typeof FormData=="function"&&n instanceof FormData||Un(n.append)&&((r=Wc(n))==="formdata"||r==="object"&&Un(n.toString)&&n.toString()==="[object FormData]"))},Yx=Ur("URLSearchParams"),[Zx,Xx,Qx,Jx]=["ReadableStream","Request","Response","Headers"].map(Ur),ew=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Fl(n,r,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let e,o;if(typeof n!="object"&&(n=[n]),Vs(n))for(e=0,o=n.length;e<o;e++)r.call(null,n[e],e,n);else{if(kl(n))return;const s=t?Object.getOwnPropertyNames(n):Object.keys(n),a=s.length;let u;for(e=0;e<a;e++)u=s[e],r.call(null,n[u],u,n)}}function i_(n,r){if(kl(n))return null;r=r.toLowerCase();const t=Object.keys(n);let e=t.length,o;for(;e-- >0;)if(o=t[e],r===o.toLowerCase())return o;return null}const Pi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,s_=n=>!Os(n)&&n!==Pi;function Ch(){const{caseless:n,skipUndefined:r}=s_(this)&&this||{},t={},e=(o,s)=>{const a=n&&i_(t,s)||s;pc(t[a])&&pc(o)?t[a]=Ch(t[a],o):pc(o)?t[a]=Ch({},o):Vs(o)?t[a]=o.slice():(!r||!Os(o))&&(t[a]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Fl(arguments[o],e);return t}const tw=(n,r,t,{allOwnKeys:e}={})=>(Fl(r,(o,s)=>{t&&Un(o)?n[s]=t_(o,t):n[s]=o},{allOwnKeys:e}),n),nw=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),rw=(n,r,t,e)=>{n.prototype=Object.create(r.prototype,e),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:r.prototype}),t&&Object.assign(n.prototype,t)},ow=(n,r,t,e)=>{let o,s,a;const u={};if(r=r||{},n==null)return r;do{for(o=Object.getOwnPropertyNames(n),s=o.length;s-- >0;)a=o[s],(!e||e(a,n,r))&&!u[a]&&(r[a]=n[a],u[a]=!0);n=t!==!1&&Yh(n)}while(n&&(!t||t(n,r))&&n!==Object.prototype);return r},iw=(n,r,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=r.length;const e=n.indexOf(r,t);return e!==-1&&e===t},sw=n=>{if(!n)return null;if(Vs(n))return n;let r=n.length;if(!o_(r))return null;const t=new Array(r);for(;r-- >0;)t[r]=n[r];return t},aw=(n=>r=>n&&r instanceof n)(typeof Uint8Array<"u"&&Yh(Uint8Array)),lw=(n,r)=>{const e=(n&&n[Hc]).call(n);let o;for(;(o=e.next())&&!o.done;){const s=o.value;r.call(n,s[0],s[1])}},uw=(n,r)=>{let t;const e=[];for(;(t=n.exec(r))!==null;)e.push(t);return e},cw=Ur("HTMLFormElement"),dw=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,o){return e.toUpperCase()+o}),qg=(({hasOwnProperty:n})=>(r,t)=>n.call(r,t))(Object.prototype),pw=Ur("RegExp"),a_=(n,r)=>{const t=Object.getOwnPropertyDescriptors(n),e={};Fl(t,(o,s)=>{let a;(a=r(o,s,n))!==!1&&(e[s]=a||o)}),Object.defineProperties(n,e)},hw=n=>{a_(n,(r,t)=>{if(Un(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const e=n[t];if(Un(e)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},fw=(n,r)=>{const t={},e=o=>{o.forEach(s=>{t[s]=!0})};return Vs(n)?e(n):e(String(n).split(r)),t},mw=()=>{},gw=(n,r)=>n!=null&&Number.isFinite(n=+n)?n:r;function vw(n){return!!(n&&Un(n.append)&&n[n_]==="FormData"&&n[Hc])}const yw=n=>{const r=new Array(10),t=(e,o)=>{if(Il(e)){if(r.indexOf(e)>=0)return;if(kl(e))return e;if(!("toJSON"in e)){r[o]=e;const s=Vs(e)?[]:{};return Fl(e,(a,u)=>{const d=t(a,o+1);!Os(d)&&(s[u]=d)}),r[o]=void 0,s}}return e};return t(n,0)},_w=Ur("AsyncFunction"),bw=n=>n&&(Il(n)||Un(n))&&Un(n.then)&&Un(n.catch),l_=((n,r)=>n?setImmediate:r?((t,e)=>(Pi.addEventListener("message",({source:o,data:s})=>{o===Pi&&s===t&&e.length&&e.shift()()},!1),o=>{e.push(o),Pi.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",Un(Pi.postMessage)),Cw=typeof queueMicrotask<"u"?queueMicrotask.bind(Pi):typeof process<"u"&&process.nextTick||l_,xw=n=>n!=null&&Un(n[Hc]),te={isArray:Vs,isArrayBuffer:r_,isBuffer:kl,isFormData:qx,isArrayBufferView:Ox,isString:Hx,isNumber:o_,isBoolean:Wx,isObject:Il,isPlainObject:pc,isEmptyObject:zx,isReadableStream:Zx,isRequest:Xx,isResponse:Qx,isHeaders:Jx,isUndefined:Os,isDate:Ux,isFile:Gx,isBlob:Vx,isRegExp:pw,isFunction:Un,isStream:$x,isURLSearchParams:Yx,isTypedArray:aw,isFileList:Kx,forEach:Fl,merge:Ch,extend:tw,trim:ew,stripBOM:nw,inherits:rw,toFlatObject:ow,kindOf:Wc,kindOfTest:Ur,endsWith:iw,toArray:sw,forEachEntry:lw,matchAll:uw,isHTMLForm:cw,hasOwnProperty:qg,hasOwnProp:qg,reduceDescriptors:a_,freezeMethods:hw,toObjectSet:fw,toCamelCase:dw,noop:mw,toFiniteNumber:gw,findKey:i_,global:Pi,isContextDefined:s_,isSpecCompliantForm:vw,toJSONObject:yw,isAsyncFn:_w,isThenable:bw,setImmediate:l_,asap:Cw,isIterable:xw};function Ge(n,r,t,e,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",r&&(this.code=r),t&&(this.config=t),e&&(this.request=e),o&&(this.response=o,this.status=o.status?o.status:null)}te.inherits(Ge,Error,{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:te.toJSONObject(this.config),code:this.code,status:this.status}}});const u_=Ge.prototype,c_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{c_[n]={value:n}});Object.defineProperties(Ge,c_);Object.defineProperty(u_,"isAxiosError",{value:!0});Ge.from=(n,r,t,e,o,s)=>{const a=Object.create(u_);te.toFlatObject(n,a,function(m){return m!==Error.prototype},f=>f!=="isAxiosError");const u=n&&n.message?n.message:"Error",d=r==null&&n?n.code:r;return Ge.call(a,u,d,t,e,o),n&&a.cause==null&&Object.defineProperty(a,"cause",{value:n,configurable:!0}),a.name=n&&n.name||"Error",s&&Object.assign(a,s),a};const ww=null;function xh(n){return te.isPlainObject(n)||te.isArray(n)}function d_(n){return te.endsWith(n,"[]")?n.slice(0,-2):n}function Yg(n,r,t){return n?n.concat(r).map(function(o,s){return o=d_(o),!t&&s?"["+o+"]":o}).join(t?".":""):r}function Sw(n){return te.isArray(n)&&!n.some(xh)}const Ew=te.toFlatObject(te,{},null,function(r){return/^is[A-Z]/.test(r)});function Uc(n,r,t){if(!te.isObject(n))throw new TypeError("target must be an object");r=r||new FormData,t=te.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,b){return!te.isUndefined(b[x])});const e=t.metaTokens,o=t.visitor||m,s=t.dots,a=t.indexes,d=(t.Blob||typeof Blob<"u"&&Blob)&&te.isSpecCompliantForm(r);if(!te.isFunction(o))throw new TypeError("visitor must be a function");function f(C){if(C===null)return"";if(te.isDate(C))return C.toISOString();if(te.isBoolean(C))return C.toString();if(!d&&te.isBlob(C))throw new Ge("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(C)||te.isTypedArray(C)?d&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function m(C,x,b){let S=C;if(C&&!b&&typeof C=="object"){if(te.endsWith(x,"{}"))x=e?x:x.slice(0,-2),C=JSON.stringify(C);else if(te.isArray(C)&&Sw(C)||(te.isFileList(C)||te.endsWith(x,"[]"))&&(S=te.toArray(C)))return x=d_(x),S.forEach(function(D,A){!(te.isUndefined(D)||D===null)&&r.append(a===!0?Yg([x],A,s):a===null?x:x+"[]",f(D))}),!1}return xh(C)?!0:(r.append(Yg(b,x,s),f(C)),!1)}const h=[],g=Object.assign(Ew,{defaultVisitor:m,convertValue:f,isVisitable:xh});function y(C,x){if(!te.isUndefined(C)){if(h.indexOf(C)!==-1)throw Error("Circular reference detected in "+x.join("."));h.push(C),te.forEach(C,function(S,F){(!(te.isUndefined(S)||S===null)&&o.call(r,S,te.isString(F)?F.trim():F,x,g))===!0&&y(S,x?x.concat(F):[F])}),h.pop()}}if(!te.isObject(n))throw new TypeError("data must be an object");return y(n),r}function Zg(n){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(e){return r[e]})}function Zh(n,r){this._pairs=[],n&&Uc(n,this,r)}const p_=Zh.prototype;p_.append=function(r,t){this._pairs.push([r,t])};p_.toString=function(r){const t=r?function(e){return r.call(this,e,Zg)}:Zg;return this._pairs.map(function(o){return t(o[0])+"="+t(o[1])},"").join("&")};function kw(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function h_(n,r,t){if(!r)return n;const e=t&&t.encode||kw;te.isFunction(t)&&(t={serialize:t});const o=t&&t.serialize;let s;if(o?s=o(r,t):s=te.isURLSearchParams(r)?r.toString():new Zh(r,t).toString(e),s){const a=n.indexOf("#");a!==-1&&(n=n.slice(0,a)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n}class Xg{constructor(){this.handlers=[]}use(r,t,e){return this.handlers.push({fulfilled:r,rejected:t,synchronous:e?e.synchronous:!1,runWhen:e?e.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){te.forEach(this.handlers,function(e){e!==null&&r(e)})}}const f_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Iw=typeof URLSearchParams<"u"?URLSearchParams:Zh,Fw=typeof FormData<"u"?FormData:null,Dw=typeof Blob<"u"?Blob:null,Tw={isBrowser:!0,classes:{URLSearchParams:Iw,FormData:Fw,Blob:Dw},protocols:["http","https","file","blob","url","data"]},Xh=typeof window<"u"&&typeof document<"u",wh=typeof navigator=="object"&&navigator||void 0,Aw=Xh&&(!wh||["ReactNative","NativeScript","NS"].indexOf(wh.product)<0),Mw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Pw=Xh&&window.location.href||"http://localhost",Rw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xh,hasStandardBrowserEnv:Aw,hasStandardBrowserWebWorkerEnv:Mw,navigator:wh,origin:Pw},Symbol.toStringTag,{value:"Module"})),En={...Rw,...Tw};function Nw(n,r){return Uc(n,new En.classes.URLSearchParams,{visitor:function(t,e,o,s){return En.isNode&&te.isBuffer(t)?(this.append(e,t.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...r})}function Lw(n){return te.matchAll(/\w+|\[(\w*)]/g,n).map(r=>r[0]==="[]"?"":r[1]||r[0])}function Bw(n){const r={},t=Object.keys(n);let e;const o=t.length;let s;for(e=0;e<o;e++)s=t[e],r[s]=n[s];return r}function m_(n){function r(t,e,o,s){let a=t[s++];if(a==="__proto__")return!0;const u=Number.isFinite(+a),d=s>=t.length;return a=!a&&te.isArray(o)?o.length:a,d?(te.hasOwnProp(o,a)?o[a]=[o[a],e]:o[a]=e,!u):((!o[a]||!te.isObject(o[a]))&&(o[a]=[]),r(t,e,o[a],s)&&te.isArray(o[a])&&(o[a]=Bw(o[a])),!u)}if(te.isFormData(n)&&te.isFunction(n.entries)){const t={};return te.forEachEntry(n,(e,o)=>{r(Lw(e),o,t,0)}),t}return null}function jw(n,r,t){if(te.isString(n))try{return(r||JSON.parse)(n),te.trim(n)}catch(e){if(e.name!=="SyntaxError")throw e}return(t||JSON.stringify)(n)}const Dl={transitional:f_,adapter:["xhr","http","fetch"],transformRequest:[function(r,t){const e=t.getContentType()||"",o=e.indexOf("application/json")>-1,s=te.isObject(r);if(s&&te.isHTMLForm(r)&&(r=new FormData(r)),te.isFormData(r))return o?JSON.stringify(m_(r)):r;if(te.isArrayBuffer(r)||te.isBuffer(r)||te.isStream(r)||te.isFile(r)||te.isBlob(r)||te.isReadableStream(r))return r;if(te.isArrayBufferView(r))return r.buffer;if(te.isURLSearchParams(r))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let u;if(s){if(e.indexOf("application/x-www-form-urlencoded")>-1)return Nw(r,this.formSerializer).toString();if((u=te.isFileList(r))||e.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Uc(u?{"files[]":r}:r,d&&new d,this.formSerializer)}}return s||o?(t.setContentType("application/json",!1),jw(r)):r}],transformResponse:[function(r){const t=this.transitional||Dl.transitional,e=t&&t.forcedJSONParsing,o=this.responseType==="json";if(te.isResponse(r)||te.isReadableStream(r))return r;if(r&&te.isString(r)&&(e&&!this.responseType||o)){const a=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(r,this.parseReviver)}catch(u){if(a)throw u.name==="SyntaxError"?Ge.from(u,Ge.ERR_BAD_RESPONSE,this,null,this.response):u}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:En.classes.FormData,Blob:En.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};te.forEach(["delete","get","head","post","put","patch"],n=>{Dl.headers[n]={}});const Ow=te.toObjectSet(["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"]),Hw=n=>{const r={};let t,e,o;return n&&n.split(`
`).forEach(function(a){o=a.indexOf(":"),t=a.substring(0,o).trim().toLowerCase(),e=a.substring(o+1).trim(),!(!t||r[t]&&Ow[t])&&(t==="set-cookie"?r[t]?r[t].push(e):r[t]=[e]:r[t]=r[t]?r[t]+", "+e:e)}),r},Qg=Symbol("internals");function Ka(n){return n&&String(n).trim().toLowerCase()}function hc(n){return n===!1||n==null?n:te.isArray(n)?n.map(hc):String(n)}function Ww(n){const r=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let e;for(;e=t.exec(n);)r[e[1]]=e[2];return r}const zw=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function jp(n,r,t,e,o){if(te.isFunction(e))return e.call(this,r,t);if(o&&(r=t),!!te.isString(r)){if(te.isString(e))return r.indexOf(e)!==-1;if(te.isRegExp(e))return e.test(r)}}function Uw(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,t,e)=>t.toUpperCase()+e)}function Gw(n,r){const t=te.toCamelCase(" "+r);["get","set","has"].forEach(e=>{Object.defineProperty(n,e+t,{value:function(o,s,a){return this[e].call(this,r,o,s,a)},configurable:!0})})}let Gn=class{constructor(r){r&&this.set(r)}set(r,t,e){const o=this;function s(u,d,f){const m=Ka(d);if(!m)throw new Error("header name must be a non-empty string");const h=te.findKey(o,m);(!h||o[h]===void 0||f===!0||f===void 0&&o[h]!==!1)&&(o[h||d]=hc(u))}const a=(u,d)=>te.forEach(u,(f,m)=>s(f,m,d));if(te.isPlainObject(r)||r instanceof this.constructor)a(r,t);else if(te.isString(r)&&(r=r.trim())&&!zw(r))a(Hw(r),t);else if(te.isObject(r)&&te.isIterable(r)){let u={},d,f;for(const m of r){if(!te.isArray(m))throw TypeError("Object iterator must return a key-value pair");u[f=m[0]]=(d=u[f])?te.isArray(d)?[...d,m[1]]:[d,m[1]]:m[1]}a(u,t)}else r!=null&&s(t,r,e);return this}get(r,t){if(r=Ka(r),r){const e=te.findKey(this,r);if(e){const o=this[e];if(!t)return o;if(t===!0)return Ww(o);if(te.isFunction(t))return t.call(this,o,e);if(te.isRegExp(t))return t.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,t){if(r=Ka(r),r){const e=te.findKey(this,r);return!!(e&&this[e]!==void 0&&(!t||jp(this,this[e],e,t)))}return!1}delete(r,t){const e=this;let o=!1;function s(a){if(a=Ka(a),a){const u=te.findKey(e,a);u&&(!t||jp(e,e[u],u,t))&&(delete e[u],o=!0)}}return te.isArray(r)?r.forEach(s):s(r),o}clear(r){const t=Object.keys(this);let e=t.length,o=!1;for(;e--;){const s=t[e];(!r||jp(this,this[s],s,r,!0))&&(delete this[s],o=!0)}return o}normalize(r){const t=this,e={};return te.forEach(this,(o,s)=>{const a=te.findKey(e,s);if(a){t[a]=hc(o),delete t[s];return}const u=r?Uw(s):String(s).trim();u!==s&&delete t[s],t[u]=hc(o),e[u]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const t=Object.create(null);return te.forEach(this,(e,o)=>{e!=null&&e!==!1&&(t[o]=r&&te.isArray(e)?e.join(", "):e)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,t])=>r+": "+t).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...t){const e=new this(r);return t.forEach(o=>e.set(o)),e}static accessor(r){const e=(this[Qg]=this[Qg]={accessors:{}}).accessors,o=this.prototype;function s(a){const u=Ka(a);e[u]||(Gw(o,a),e[u]=!0)}return te.isArray(r)?r.forEach(s):s(r),this}};Gn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);te.reduceDescriptors(Gn.prototype,({value:n},r)=>{let t=r[0].toUpperCase()+r.slice(1);return{get:()=>n,set(e){this[t]=e}}});te.freezeMethods(Gn);function Op(n,r){const t=this||Dl,e=r||t,o=Gn.from(e.headers);let s=e.data;return te.forEach(n,function(u){s=u.call(t,s,o.normalize(),r?r.status:void 0)}),o.normalize(),s}function g_(n){return!!(n&&n.__CANCEL__)}function Ks(n,r,t){Ge.call(this,n??"canceled",Ge.ERR_CANCELED,r,t),this.name="CanceledError"}te.inherits(Ks,Ge,{__CANCEL__:!0});function v_(n,r,t){const e=t.config.validateStatus;!t.status||!e||e(t.status)?n(t):r(new Ge("Request failed with status code "+t.status,[Ge.ERR_BAD_REQUEST,Ge.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function Vw(n){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return r&&r[1]||""}function Kw(n,r){n=n||10;const t=new Array(n),e=new Array(n);let o=0,s=0,a;return r=r!==void 0?r:1e3,function(d){const f=Date.now(),m=e[s];a||(a=f),t[o]=d,e[o]=f;let h=s,g=0;for(;h!==o;)g+=t[h++],h=h%n;if(o=(o+1)%n,o===s&&(s=(s+1)%n),f-a<r)return;const y=m&&f-m;return y?Math.round(g*1e3/y):void 0}}function $w(n,r){let t=0,e=1e3/r,o,s;const a=(f,m=Date.now())=>{t=m,o=null,s&&(clearTimeout(s),s=null),n(...f)};return[(...f)=>{const m=Date.now(),h=m-t;h>=e?a(f,m):(o=f,s||(s=setTimeout(()=>{s=null,a(o)},e-h)))},()=>o&&a(o)]}const Ic=(n,r,t=3)=>{let e=0;const o=Kw(50,250);return $w(s=>{const a=s.loaded,u=s.lengthComputable?s.total:void 0,d=a-e,f=o(d),m=a<=u;e=a;const h={loaded:a,total:u,progress:u?a/u:void 0,bytes:d,rate:f||void 0,estimated:f&&u&&m?(u-a)/f:void 0,event:s,lengthComputable:u!=null,[r?"download":"upload"]:!0};n(h)},t)},Jg=(n,r)=>{const t=n!=null;return[e=>r[0]({lengthComputable:t,total:n,loaded:e}),r[1]]},ev=n=>(...r)=>te.asap(()=>n(...r)),qw=En.hasStandardBrowserEnv?((n,r)=>t=>(t=new URL(t,En.origin),n.protocol===t.protocol&&n.host===t.host&&(r||n.port===t.port)))(new URL(En.origin),En.navigator&&/(msie|trident)/i.test(En.navigator.userAgent)):()=>!0,Yw=En.hasStandardBrowserEnv?{write(n,r,t,e,o,s){const a=[n+"="+encodeURIComponent(r)];te.isNumber(t)&&a.push("expires="+new Date(t).toGMTString()),te.isString(e)&&a.push("path="+e),te.isString(o)&&a.push("domain="+o),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Zw(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function Xw(n,r){return r?n.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):n}function y_(n,r,t){let e=!Zw(r);return n&&(e||t==!1)?Xw(n,r):r}const tv=n=>n instanceof Gn?{...n}:n;function Oi(n,r){r=r||{};const t={};function e(f,m,h,g){return te.isPlainObject(f)&&te.isPlainObject(m)?te.merge.call({caseless:g},f,m):te.isPlainObject(m)?te.merge({},m):te.isArray(m)?m.slice():m}function o(f,m,h,g){if(te.isUndefined(m)){if(!te.isUndefined(f))return e(void 0,f,h,g)}else return e(f,m,h,g)}function s(f,m){if(!te.isUndefined(m))return e(void 0,m)}function a(f,m){if(te.isUndefined(m)){if(!te.isUndefined(f))return e(void 0,f)}else return e(void 0,m)}function u(f,m,h){if(h in r)return e(f,m);if(h in n)return e(void 0,f)}const d={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:(f,m,h)=>o(tv(f),tv(m),h,!0)};return te.forEach(Object.keys({...n,...r}),function(m){const h=d[m]||o,g=h(n[m],r[m],m);te.isUndefined(g)&&h!==u||(t[m]=g)}),t}const __=n=>{const r=Oi({},n);let{data:t,withXSRFToken:e,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:u}=r;if(r.headers=a=Gn.from(a),r.url=h_(y_(r.baseURL,r.url,r.allowAbsoluteUrls),n.params,n.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),te.isFormData(t)){if(En.hasStandardBrowserEnv||En.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(te.isFunction(t.getHeaders)){const d=t.getHeaders(),f=["content-type","content-length"];Object.entries(d).forEach(([m,h])=>{f.includes(m.toLowerCase())&&a.set(m,h)})}}if(En.hasStandardBrowserEnv&&(e&&te.isFunction(e)&&(e=e(r)),e||e!==!1&&qw(r.url))){const d=o&&s&&Yw.read(s);d&&a.set(o,d)}return r},Qw=typeof XMLHttpRequest<"u",Jw=Qw&&function(n){return new Promise(function(t,e){const o=__(n);let s=o.data;const a=Gn.from(o.headers).normalize();let{responseType:u,onUploadProgress:d,onDownloadProgress:f}=o,m,h,g,y,C;function x(){y&&y(),C&&C(),o.cancelToken&&o.cancelToken.unsubscribe(m),o.signal&&o.signal.removeEventListener("abort",m)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function S(){if(!b)return;const D=Gn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),L={data:!u||u==="text"||u==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:D,config:n,request:b};v_(function(M){t(M),x()},function(M){e(M),x()},L),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(e(new Ge("Request aborted",Ge.ECONNABORTED,n,b)),b=null)},b.onerror=function(A){const L=A&&A.message?A.message:"Network Error",j=new Ge(L,Ge.ERR_NETWORK,n,b);j.event=A||null,e(j),b=null},b.ontimeout=function(){let A=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const L=o.transitional||f_;o.timeoutErrorMessage&&(A=o.timeoutErrorMessage),e(new Ge(A,L.clarifyTimeoutError?Ge.ETIMEDOUT:Ge.ECONNABORTED,n,b)),b=null},s===void 0&&a.setContentType(null),"setRequestHeader"in b&&te.forEach(a.toJSON(),function(A,L){b.setRequestHeader(L,A)}),te.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),u&&u!=="json"&&(b.responseType=o.responseType),f&&([g,C]=Ic(f,!0),b.addEventListener("progress",g)),d&&b.upload&&([h,y]=Ic(d),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",y)),(o.cancelToken||o.signal)&&(m=D=>{b&&(e(!D||D.type?new Ks(null,n,b):D),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(m),o.signal&&(o.signal.aborted?m():o.signal.addEventListener("abort",m)));const F=Vw(o.url);if(F&&En.protocols.indexOf(F)===-1){e(new Ge("Unsupported protocol "+F+":",Ge.ERR_BAD_REQUEST,n));return}b.send(s||null)})},eS=(n,r)=>{const{length:t}=n=n?n.filter(Boolean):[];if(r||t){let e=new AbortController,o;const s=function(f){if(!o){o=!0,u();const m=f instanceof Error?f:this.reason;e.abort(m instanceof Ge?m:new Ks(m instanceof Error?m.message:m))}};let a=r&&setTimeout(()=>{a=null,s(new Ge(`timeout ${r} of ms exceeded`,Ge.ETIMEDOUT))},r);const u=()=>{n&&(a&&clearTimeout(a),a=null,n.forEach(f=>{f.unsubscribe?f.unsubscribe(s):f.removeEventListener("abort",s)}),n=null)};n.forEach(f=>f.addEventListener("abort",s));const{signal:d}=e;return d.unsubscribe=()=>te.asap(u),d}},tS=function*(n,r){let t=n.byteLength;if(t<r){yield n;return}let e=0,o;for(;e<t;)o=e+r,yield n.slice(e,o),e=o},nS=async function*(n,r){for await(const t of rS(n))yield*tS(t,r)},rS=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const r=n.getReader();try{for(;;){const{done:t,value:e}=await r.read();if(t)break;yield e}}finally{await r.cancel()}},nv=(n,r,t,e)=>{const o=nS(n,r);let s=0,a,u=d=>{a||(a=!0,e&&e(d))};return new ReadableStream({async pull(d){try{const{done:f,value:m}=await o.next();if(f){u(),d.close();return}let h=m.byteLength;if(t){let g=s+=h;t(g)}d.enqueue(new Uint8Array(m))}catch(f){throw u(f),f}},cancel(d){return u(d),o.return()}},{highWaterMark:2})},rv=64*1024,{isFunction:Ou}=te,b_=(({fetch:n,Request:r,Response:t})=>({fetch:n,Request:r,Response:t}))(te.global),{ReadableStream:ov,TextEncoder:iv}=te.global,sv=(n,...r)=>{try{return!!n(...r)}catch{return!1}},oS=n=>{const{fetch:r,Request:t,Response:e}=Object.assign({},b_,n),o=Ou(r),s=Ou(t),a=Ou(e);if(!o)return!1;const u=o&&Ou(ov),d=o&&(typeof iv=="function"?(C=>x=>C.encode(x))(new iv):async C=>new Uint8Array(await new t(C).arrayBuffer())),f=s&&u&&sv(()=>{let C=!1;const x=new t(En.origin,{body:new ov,method:"POST",get duplex(){return C=!0,"half"}}).headers.has("Content-Type");return C&&!x}),m=a&&u&&sv(()=>te.isReadableStream(new e("").body)),h={stream:m&&(C=>C.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(C=>{!h[C]&&(h[C]=(x,b)=>{let S=x&&x[C];if(S)return S.call(x);throw new Ge(`Response type '${C}' is not supported`,Ge.ERR_NOT_SUPPORT,b)})});const g=async C=>{if(C==null)return 0;if(te.isBlob(C))return C.size;if(te.isSpecCompliantForm(C))return(await new t(En.origin,{method:"POST",body:C}).arrayBuffer()).byteLength;if(te.isArrayBufferView(C)||te.isArrayBuffer(C))return C.byteLength;if(te.isURLSearchParams(C)&&(C=C+""),te.isString(C))return(await d(C)).byteLength},y=async(C,x)=>{const b=te.toFiniteNumber(C.getContentLength());return b??g(x)};return async C=>{let{url:x,method:b,data:S,signal:F,cancelToken:D,timeout:A,onDownloadProgress:L,onUploadProgress:j,responseType:M,headers:R,withCredentials:P="same-origin",fetchOptions:W}=__(C);M=M?(M+"").toLowerCase():"text";let Q=eS([F,D&&D.toAbortSignal()],A),K=null;const J=Q&&Q.unsubscribe&&(()=>{Q.unsubscribe()});let ne;try{if(j&&f&&b!=="get"&&b!=="head"&&(ne=await y(R,S))!==0){let le=new t(x,{method:"POST",body:S,duplex:"half"}),z;if(te.isFormData(S)&&(z=le.headers.get("content-type"))&&R.setContentType(z),le.body){const[q,X]=Jg(ne,Ic(ev(j)));S=nv(le.body,rv,q,X)}}te.isString(P)||(P=P?"include":"omit");const ie=s&&"credentials"in t.prototype,fe={...W,signal:Q,method:b.toUpperCase(),headers:R.normalize().toJSON(),body:S,duplex:"half",credentials:ie?P:void 0};K=s&&new t(x,fe);let B=await(s?r(K,W):r(x,fe));const Z=m&&(M==="stream"||M==="response");if(m&&(L||Z&&J)){const le={};["status","statusText","headers"].forEach(me=>{le[me]=B[me]});const z=te.toFiniteNumber(B.headers.get("content-length")),[q,X]=L&&Jg(z,Ic(ev(L),!0))||[];B=new e(nv(B.body,rv,q,()=>{X&&X(),J&&J()}),le)}M=M||"text";let se=await h[te.findKey(h,M)||"text"](B,C);return!Z&&J&&J(),await new Promise((le,z)=>{v_(le,z,{data:se,headers:Gn.from(B.headers),status:B.status,statusText:B.statusText,config:C,request:K})})}catch(ie){throw J&&J(),ie&&ie.name==="TypeError"&&/Load failed|fetch/i.test(ie.message)?Object.assign(new Ge("Network Error",Ge.ERR_NETWORK,C,K),{cause:ie.cause||ie}):Ge.from(ie,ie&&ie.code,C,K)}}},iS=new Map,C_=n=>{let r=te.merge.call({skipUndefined:!0},b_,n?n.env:null);const{fetch:t,Request:e,Response:o}=r,s=[e,o,t];let a=s.length,u=a,d,f,m=iS;for(;u--;)d=s[u],f=m.get(d),f===void 0&&m.set(d,f=u?new Map:oS(r)),m=f;return f};C_();const Sh={http:ww,xhr:Jw,fetch:{get:C_}};te.forEach(Sh,(n,r)=>{if(n){try{Object.defineProperty(n,"name",{value:r})}catch{}Object.defineProperty(n,"adapterName",{value:r})}});const av=n=>`- ${n}`,sS=n=>te.isFunction(n)||n===null||n===!1,x_={getAdapter:(n,r)=>{n=te.isArray(n)?n:[n];const{length:t}=n;let e,o;const s={};for(let a=0;a<t;a++){e=n[a];let u;if(o=e,!sS(e)&&(o=Sh[(u=String(e)).toLowerCase()],o===void 0))throw new Ge(`Unknown adapter '${u}'`);if(o&&(te.isFunction(o)||(o=o.get(r))))break;s[u||"#"+a]=o}if(!o){const a=Object.entries(s).map(([d,f])=>`adapter ${d} `+(f===!1?"is not supported by the environment":"is not available in the build"));let u=t?a.length>1?`since :
`+a.map(av).join(`
`):" "+av(a[0]):"as no adapter specified";throw new Ge("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return o},adapters:Sh};function Hp(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Ks(null,n)}function lv(n){return Hp(n),n.headers=Gn.from(n.headers),n.data=Op.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),x_.getAdapter(n.adapter||Dl.adapter,n)(n).then(function(e){return Hp(n),e.data=Op.call(n,n.transformResponse,e),e.headers=Gn.from(e.headers),e},function(e){return g_(e)||(Hp(n),e&&e.response&&(e.response.data=Op.call(n,n.transformResponse,e.response),e.response.headers=Gn.from(e.response.headers))),Promise.reject(e)})}const w_="1.12.0",Gc={};["object","boolean","number","function","string","symbol"].forEach((n,r)=>{Gc[n]=function(e){return typeof e===n||"a"+(r<1?"n ":" ")+n}});const uv={};Gc.transitional=function(r,t,e){function o(s,a){return"[Axios v"+w_+"] Transitional option '"+s+"'"+a+(e?". "+e:"")}return(s,a,u)=>{if(r===!1)throw new Ge(o(a," has been removed"+(t?" in "+t:"")),Ge.ERR_DEPRECATED);return t&&!uv[a]&&(uv[a]=!0,console.warn(o(a," has been deprecated since v"+t+" and will be removed in the near future"))),r?r(s,a,u):!0}};Gc.spelling=function(r){return(t,e)=>(console.warn(`${e} is likely a misspelling of ${r}`),!0)};function aS(n,r,t){if(typeof n!="object")throw new Ge("options must be an object",Ge.ERR_BAD_OPTION_VALUE);const e=Object.keys(n);let o=e.length;for(;o-- >0;){const s=e[o],a=r[s];if(a){const u=n[s],d=u===void 0||a(u,s,n);if(d!==!0)throw new Ge("option "+s+" must be "+d,Ge.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new Ge("Unknown option "+s,Ge.ERR_BAD_OPTION)}}const fc={assertOptions:aS,validators:Gc},to=fc.validators;let Ni=class{constructor(r){this.defaults=r||{},this.interceptors={request:new Xg,response:new Xg}}async request(r,t){try{return await this._request(r,t)}catch(e){if(e instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{e.stack?s&&!String(e.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(e.stack+=`
`+s):e.stack=s}catch{}}throw e}}_request(r,t){typeof r=="string"?(t=t||{},t.url=r):t=r||{},t=Oi(this.defaults,t);const{transitional:e,paramsSerializer:o,headers:s}=t;e!==void 0&&fc.assertOptions(e,{silentJSONParsing:to.transitional(to.boolean),forcedJSONParsing:to.transitional(to.boolean),clarifyTimeoutError:to.transitional(to.boolean)},!1),o!=null&&(te.isFunction(o)?t.paramsSerializer={serialize:o}:fc.assertOptions(o,{encode:to.function,serialize:to.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),fc.assertOptions(t,{baseUrl:to.spelling("baseURL"),withXsrfToken:to.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=s&&te.merge(s.common,s[t.method]);s&&te.forEach(["delete","get","head","post","put","patch","common"],C=>{delete s[C]}),t.headers=Gn.concat(a,s);const u=[];let d=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(t)===!1||(d=d&&x.synchronous,u.unshift(x.fulfilled,x.rejected))});const f=[];this.interceptors.response.forEach(function(x){f.push(x.fulfilled,x.rejected)});let m,h=0,g;if(!d){const C=[lv.bind(this),void 0];for(C.unshift(...u),C.push(...f),g=C.length,m=Promise.resolve(t);h<g;)m=m.then(C[h++],C[h++]);return m}g=u.length;let y=t;for(h=0;h<g;){const C=u[h++],x=u[h++];try{y=C(y)}catch(b){x.call(this,b);break}}try{m=lv.call(this,y)}catch(C){return Promise.reject(C)}for(h=0,g=f.length;h<g;)m=m.then(f[h++],f[h++]);return m}getUri(r){r=Oi(this.defaults,r);const t=y_(r.baseURL,r.url,r.allowAbsoluteUrls);return h_(t,r.params,r.paramsSerializer)}};te.forEach(["delete","get","head","options"],function(r){Ni.prototype[r]=function(t,e){return this.request(Oi(e||{},{method:r,url:t,data:(e||{}).data}))}});te.forEach(["post","put","patch"],function(r){function t(e){return function(s,a,u){return this.request(Oi(u||{},{method:r,headers:e?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}Ni.prototype[r]=t(),Ni.prototype[r+"Form"]=t(!0)});let lS=class S_{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(s){t=s});const e=this;this.promise.then(o=>{if(!e._listeners)return;let s=e._listeners.length;for(;s-- >0;)e._listeners[s](o);e._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(u=>{e.subscribe(u),s=u}).then(o);return a.cancel=function(){e.unsubscribe(s)},a},r(function(s,a,u){e.reason||(e.reason=new Ks(s,a,u),t(e.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const t=this._listeners.indexOf(r);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const r=new AbortController,t=e=>{r.abort(e)};return this.subscribe(t),r.signal.unsubscribe=()=>this.unsubscribe(t),r.signal}static source(){let r;return{token:new S_(function(o){r=o}),cancel:r}}};function uS(n){return function(t){return n.apply(null,t)}}function cS(n){return te.isObject(n)&&n.isAxiosError===!0}const Eh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Eh).forEach(([n,r])=>{Eh[r]=n});function E_(n){const r=new Ni(n),t=t_(Ni.prototype.request,r);return te.extend(t,Ni.prototype,r,{allOwnKeys:!0}),te.extend(t,r,null,{allOwnKeys:!0}),t.create=function(o){return E_(Oi(n,o))},t}const We=E_(Dl);We.Axios=Ni;We.CanceledError=Ks;We.CancelToken=lS;We.isCancel=g_;We.VERSION=w_;We.toFormData=Uc;We.AxiosError=Ge;We.Cancel=We.CanceledError;We.all=function(r){return Promise.all(r)};We.spread=uS;We.isAxiosError=cS;We.mergeConfig=Oi;We.AxiosHeaders=Gn;We.formToJSON=n=>m_(te.isHTMLForm(n)?new FormData(n):n);We.getAdapter=x_.getAdapter;We.HttpStatusCode=Eh;We.default=We;const{Axios:H3,AxiosError:W3,CanceledError:z3,isCancel:U3,CancelToken:G3,VERSION:V3,all:K3,Cancel:$3,isAxiosError:q3,spread:Y3,toFormData:Z3,AxiosHeaders:X3,HttpStatusCode:Q3,formToJSON:J3,getAdapter:eN,mergeConfig:tN}=We;function Sr(n){for(var r="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=0;e<n;e++)r+=t.charAt(Math.floor(Math.random()*t.length));return r}function k_(n,r){return n.filter(t=>t.errorFor==r)}async function cv(n,r=!1){let t="";try{const e=await We.get(`https://www.wpo365.com/wp-json/wp/v2/${r?"pages":"posts"}?slug=${n}`);return e.data&&Array.isArray(e.data)&&e.data.length==1&&e.data[0].content&&e.data[0].content.rendered&&(t=e.data[0].content.rendered),t}catch(e){return e}}const Hs=(n,r)=>{try{return JSON.parse(n)}catch{}return r},ul=(n,r)=>{if(!Array.isArray(n))throw"findIndex -> First argument is not an array";for(let t=0;t<n.length;t++)if(r(n[t]))return t;return-1},dS=n=>{const[r,t]=O.useState("3px 3px 20px rgb(0 0 0 / 0.2)"),e={position:"fixed",width:"60px",height:"60px",bottom:"35px",right:"35px",backgroundColor:"#f2f2f2",borderRadius:30,lineHeight:60,color:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #0078D4",boxShadow:r,cursor:"pointer"};return c.jsx("div",{style:e,onMouseEnter:()=>t("3px 3px 20px rgb(0 0 0 / 0.6)"),onMouseLeave:()=>t("0 3px 10px rgb(0 0 0 / 0.2)"),onClick:()=>window.open("https://www.wpo365.com/contact/"),children:c.jsx("svg",{width:"25",height:"34",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"#0078D4",children:c.jsx("path",{d:"M202 0C122.2 0 70.5 32.7 29.9 91c-7.4 10.6-5.1 25.1 5.2 32.9l43.1 32.7c10.4 7.9 25.1 6 33.3-4.1 25-31.4 43.6-49.4 82.8-49.4 30.8 0 68.8 19.8 68.8 49.6 0 22.6-18.6 34.1-49 51.2-35.4 19.9-82.3 44.6-82.3 106.4V320c0 13.3 10.7 24 24 24h72.5c13.3 0 24-10.7 24-24v-5.8c0-42.9 125.3-44.6 125.3-160.6C377.5 66.3 286.9 0 202 0zM192 373.5c-38.2 0-69.3 31.1-69.3 69.3 0 38.2 31.1 69.3 69.3 69.3s69.3-31.1 69.3-69.3-31.1-69.3-69.3-69.3z"})})})};var dv={},mc=void 0;try{mc=window}catch{}function Qh(n,r){if(typeof mc<"u"){var t=mc.__packages__=mc.__packages__||{};if(!t[n]||!dv[n]){dv[n]=r;var e=t[n]=t[n]||[];e.push(r)}}}Qh("@uifabric/set-version","6.0.0");/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

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

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var kh=function(n,r){return kh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},kh(n,r)};function be(n,r){kh(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}var k=function(){return k=Object.assign||function(r){for(var t,e=1,o=arguments.length;e<o;e++){t=arguments[e];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}return r},k.apply(this,arguments)};function Vn(n,r){var t={};for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&r.indexOf(e)<0&&(t[e]=n[e]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,e=Object.getOwnPropertySymbols(n);o<e.length;o++)r.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(n,e[o])&&(t[e[o]]=n[e[o]]);return t}function Ir(n,r,t,e){var o=arguments.length,s=o<3?r:e===null?e=Object.getOwnPropertyDescriptor(r,t):e,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(n,r,t,e);else for(var u=n.length-1;u>=0;u--)(a=n[u])&&(s=(o<3?a(s):o>3?a(r,t,s):a(r,t))||s);return o>3&&s&&Object.defineProperty(r,t,s),s}function Qt(){for(var n=0,r=0,t=arguments.length;r<t;r++)n+=arguments[r].length;for(var e=Array(n),o=0,r=0;r<t;r++)for(var s=arguments[r],a=0,u=s.length;a<u;a++,o++)e[o]=s[a];return e}var Hu={none:0,insertNode:1,appendChild:2},pv="__stylesheet__",pS=typeof navigator<"u"&&/rv:11.0/.test(navigator.userAgent),gc={};try{gc=window}catch{}var ws,Er=(function(){function n(r){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=k({injectionMode:Hu.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},r),this._keyToClassName=this._config.classNameCache||{}}return n.getInstance=function(){var r;if(ws=gc[pv],!ws||ws._lastStyleElement&&ws._lastStyleElement.ownerDocument!==document){var t=((r=gc)===null||r===void 0?void 0:r.FabricConfig)||{};ws=gc[pv]=new n(t.mergeStyles)}return ws},n.prototype.setConfig=function(r){this._config=k(k({},this._config),r)},n.prototype.onReset=function(r){this._onResetCallbacks.push(r)},n.prototype.getClassName=function(r){var t=this._config.namespace,e=r||this._config.defaultPrefix;return(t?t+"-":"")+e+"-"+this._counter++},n.prototype.cacheClassName=function(r,t,e,o){this._keyToClassName[t]=r,this._classNameToArgs[r]={args:e,rules:o}},n.prototype.classNameFromKey=function(r){return this._keyToClassName[r]},n.prototype.getClassNameCache=function(){return this._keyToClassName},n.prototype.argsFromClassName=function(r){var t=this._classNameToArgs[r];return t&&t.args},n.prototype.insertedRulesFromClassName=function(r){var t=this._classNameToArgs[r];return t&&t.rules},n.prototype.insertRule=function(r,t){var e=this._config.injectionMode,o=e!==Hu.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(r),o)switch(this._config.injectionMode){case Hu.insertNode:var s=o.sheet;try{s.insertRule(r,s.cssRules.length)}catch{}break;case Hu.appendChild:o.appendChild(document.createTextNode(r));break}else this._rules.push(r);this._config.onInsertRule&&this._config.onInsertRule(r)},n.prototype.getRules=function(r){return(r?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},n.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(r){return r()})},n.prototype.resetKeys=function(){this._keyToClassName={}},n.prototype._getStyleElement=function(){var r=this;return!this._styleElement&&typeof document<"u"&&(this._styleElement=this._createStyleElement(),pS||window.requestAnimationFrame(function(){r._styleElement=void 0})),this._styleElement},n.prototype._createStyleElement=function(){var r=document.head,t=document.createElement("style"),e=null;t.setAttribute("data-merge-styles","true");var o=this._config.cspSettings;if(o&&o.nonce&&t.setAttribute("nonce",o.nonce),this._lastStyleElement)e=this._lastStyleElement.nextElementSibling;else{var s=this._findPlaceholderStyleTag();s?e=s.nextElementSibling:e=r.childNodes[0]}return r.insertBefore(t,r.contains(e)?e:null),this._lastStyleElement=t,t},n.prototype._findPlaceholderStyleTag=function(){var r=document.head;return r?r.querySelector("style[data-merge-styles]"):null},n})();function I_(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var t=[],e=[],o=Er.getInstance();function s(a){for(var u=0,d=a;u<d.length;u++){var f=d[u];if(f)if(typeof f=="string")if(f.indexOf(" ")>=0)s(f.split(" "));else{var m=o.argsFromClassName(f);m?s(m):t.indexOf(f)===-1&&t.push(f)}else Array.isArray(f)?s(f):typeof f=="object"&&e.push(f)}}return s(n),{classes:t,objects:e}}function F_(n){Rs!==n&&(Rs=n)}function D_(){return Rs===void 0&&(Rs=typeof document<"u"&&!!document.documentElement&&document.documentElement.getAttribute("dir")==="rtl"),Rs}var Rs;Rs=D_();function Vc(){return{rtl:D_()}}var hv={};function hS(n,r){var t=n[r];t.charAt(0)!=="-"&&(n[r]=hv[t]=hv[t]||t.replace(/([A-Z])/g,"-$1").toLowerCase())}var Wu;function fS(){var n,r;if(!Wu){var t=typeof document<"u"?document:void 0,e=typeof navigator<"u"?navigator:void 0,o=(r=(n=e)===null||n===void 0?void 0:n.userAgent)===null||r===void 0?void 0:r.toLowerCase();t?Wu={isWebkit:!!(t&&"WebkitAppearance"in t.documentElement.style),isMoz:!!(o&&o.indexOf("firefox")>-1),isOpera:!!(o&&o.indexOf("opera")>-1),isMs:!!(e&&(/rv:11.0/i.test(e.userAgent)||/Edge\/\d./i.test(navigator.userAgent)))}:Wu={isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return Wu}var fv={"user-select":1};function mS(n,r){var t=fS(),e=n[r];if(fv[e]){var o=n[r+1];fv[e]&&(t.isWebkit&&n.push("-webkit-"+e,o),t.isMoz&&n.push("-moz-"+e,o),t.isMs&&n.push("-ms-"+e,o),t.isOpera&&n.push("-o-"+e,o))}}var gS=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function vS(n,r){var t=n[r],e=n[r+1];if(typeof e=="number"){var o=gS.indexOf(t)>-1,s=t.indexOf("--")>-1,a=o||s?"":"px";n[r+1]=""+e+a}}var zu,Xo="left",Qo="right",yS="@noflip",mv=(zu={},zu[Xo]=Qo,zu[Qo]=Xo,zu),gv={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function _S(n,r,t){if(n.rtl){var e=r[t];if(!e)return;var o=r[t+1];if(typeof o=="string"&&o.indexOf(yS)>=0)r[t+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(e.indexOf(Xo)>=0)r[t]=e.replace(Xo,Qo);else if(e.indexOf(Qo)>=0)r[t]=e.replace(Qo,Xo);else if(String(o).indexOf(Xo)>=0)r[t+1]=o.replace(Xo,Qo);else if(String(o).indexOf(Qo)>=0)r[t+1]=o.replace(Qo,Xo);else if(mv[e])r[t]=mv[e];else if(gv[o])r[t+1]=gv[o];else switch(e){case"margin":case"padding":r[t+1]=CS(o);break;case"box-shadow":r[t+1]=bS(o,0);break}}}function bS(n,r){var t=n.split(" "),e=parseInt(t[r],10);return t[0]=t[0].replace(String(e),String(e*-1)),t.join(" ")}function CS(n){if(typeof n=="string"){var r=n.split(" ");if(r.length===4)return r[0]+" "+r[3]+" "+r[2]+" "+r[1]}return n}var xS="displayName";function wS(n){var r=n&&n["&"];return r?r.displayName:void 0}var T_=/\:global\((.+?)\)/g;function SS(n){if(!T_.test(n))return n;for(var r=[],t=/\:global\((.+?)\)/g,e=null;e=t.exec(n);)e[1].indexOf(",")>-1&&r.push([e.index,e.index+e[0].length,e[1].split(",").map(function(o){return":global("+o.trim()+")"}).join(", ")]);return r.reverse().reduce(function(o,s){var a=s[0],u=s[1],d=s[2],f=o.slice(0,a),m=o.slice(u);return f+d+m},n)}function vv(n,r){return n.indexOf(":global(")>=0?n.replace(T_,"$1"):n.indexOf(":")===0?r+n:n.indexOf("&")<0?r+" "+n:n}function yv(n,r,t,e){r===void 0&&(r={__order:[]}),t.indexOf("@")===0?(t=t+"{"+n,Ns([e],r,t)):t.indexOf(",")>-1?SS(t).split(",").map(function(o){return o.trim()}).forEach(function(o){return Ns([e],r,vv(o,n))}):Ns([e],r,vv(t,n))}function Ns(n,r,t){r===void 0&&(r={__order:[]}),t===void 0&&(t="&");var e=Er.getInstance(),o=r[t];o||(o={},r[t]=o,r.__order.push(t));for(var s=0,a=n;s<a.length;s++){var u=a[s];if(typeof u=="string"){var d=e.argsFromClassName(u);d&&Ns(d,r,t)}else if(Array.isArray(u))Ns(u,r,t);else for(var f in u)if(u.hasOwnProperty(f)){var m=u[f];if(f==="selectors"){var h=u.selectors;for(var g in h)h.hasOwnProperty(g)&&yv(t,r,g,h[g])}else typeof m=="object"?m!==null&&yv(t,r,f,m):m!==void 0&&(f==="margin"||f==="padding"?ES(o,f,m):o[f]=m)}}return r}function ES(n,r,t){var e=typeof t=="string"?t.split(" "):[t];n[r+"Top"]=e[0],n[r+"Right"]=e[1]||e[0],n[r+"Bottom"]=e[2]||e[0],n[r+"Left"]=e[3]||e[1]||e[0]}function kS(n,r){for(var t=[n.rtl?"rtl":"ltr"],e=!1,o=0,s=r.__order;o<s.length;o++){var a=s[o];t.push(a);var u=r[a];for(var d in u)u.hasOwnProperty(d)&&u[d]!==void 0&&(e=!0,t.push(d,u[d]))}return e?t.join(""):void 0}function A_(n,r){return r<=0?"":r===1?n:n+A_(n,r-1)}function Jh(n,r){if(!r)return"";var t=[];for(var e in r)r.hasOwnProperty(e)&&e!==xS&&r[e]!==void 0&&t.push(e,r[e]);for(var o=0;o<t.length;o+=2)hS(t,o),vS(t,o),_S(n,t,o),mS(t,o);for(var o=1;o<t.length;o+=4)t.splice(o,1,":",t[o],";");return t.join("")}function M_(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];var e=Ns(r),o=kS(n,e);if(o){var s=Er.getInstance(),a={className:s.classNameFromKey(o),key:o,args:r};if(!a.className){a.className=s.getClassName(wS(e));for(var u=[],d=0,f=e.__order;d<f.length;d++){var m=f[d];u.push(m,Jh(n,e[m]))}a.rulesToInsert=u}return a}}function P_(n,r){r===void 0&&(r=1);var t=Er.getInstance(),e=n.className,o=n.key,s=n.args,a=n.rulesToInsert;if(a){for(var u=0;u<a.length;u+=2){var d=a[u+1];if(d){var f=a[u];f=f.replace(/&/g,A_("."+n.className,r));var m=f+"{"+d+"}"+(f.indexOf("@")===0?"}":"");t.insertRule(m)}}t.cacheClassName(e,o,s,a)}}function IS(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];var e=M_.apply(void 0,Qt([n],r));return e?(P_(e,n.specificityMultiplier),e.className):""}function Hr(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return R_(n,Vc())}function R_(n,r){var t=n instanceof Array?n:[n],e=I_(t),o=e.classes,s=e.objects;return s.length&&o.push(IS(r||{},s)),o.join(" ")}function Gr(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(n&&n.length===1&&n[0]&&!n[0].subComponentStyles)return n[0];for(var t={},e={},o=0,s=n;o<s.length;o++){var a=s[o];if(a){for(var u in a)if(a.hasOwnProperty(u)){if(u==="subComponentStyles"&&a.subComponentStyles!==void 0){var d=a.subComponentStyles;for(var f in d)d.hasOwnProperty(f)&&(e.hasOwnProperty(f)?e[f].push(d[f]):e[f]=[d[f]]);continue}var m=t[u],h=a[u];m===void 0?t[u]=h:t[u]=Qt(Array.isArray(m)?m:[m],Array.isArray(h)?h:[h])}}}if(Object.keys(e).length>0){t.subComponentStyles={};var g=t.subComponentStyles,y=function(C){if(e.hasOwnProperty(C)){var x=e[C];g[C]=function(b){return Gr.apply(void 0,x.map(function(S){return typeof S=="function"?S(b):S}))}}};for(var f in e)y(f)}return t}function oi(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return N_(n,Vc())}function N_(n,r){var t,e,o={subComponentStyles:{}},s=n[0];if(!s&&n.length<=1)return{subComponentStyles:{}};var a=Gr.apply(void 0,n),u=[];for(var d in a)if(a.hasOwnProperty(d)){if(d==="subComponentStyles"){o.subComponentStyles=a.subComponentStyles||{};continue}var f=a[d],m=I_(f),h=m.classes,g=m.objects;if(!((t=g)===null||t===void 0)&&t.length){var y=M_(r||{},{displayName:d},g);y&&(u.push(y),o[d]=h.concat([y.className]).join(" "))}else o[d]=h.join(" ")}for(var C=0,x=u;C<x.length;C++){var y=x[C];y&&P_(y,(e=r)===null||e===void 0?void 0:e.specificityMultiplier)}return o}function L_(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];for(var e=[],o=0,s=r;o<s.length;o++){var a=s[o];a&&e.push(typeof a=="function"?a(n):a)}return e.length===1?e[0]:e.length?Gr.apply(void 0,e):{}}function B_(n){Er.getInstance().insertRule("@font-face{"+Jh(Vc(),n)+"}",!0)}function Ot(n){var r=Er.getInstance(),t=r.getClassName(),e=[];for(var o in n)n.hasOwnProperty(o)&&e.push(o,"{",Jh(Vc(),n[o]),"}");var s=e.join("");return r.insertRule("@keyframes "+t+"{"+s+"}",!0),r.cacheClassName(t,s,[],["keyframes",s]),t}function FS(n){var r={},t=function(o){if(n.hasOwnProperty(o)){var s;Object.defineProperty(r,o,{get:function(){return s===void 0&&(s=Hr(n[o]).toString()),s},enumerable:!0,configurable:!0})}};for(var e in n)t(e);return r}var Ih=void 0;try{Ih=window}catch{}function Re(n){if(!(typeof Ih>"u")){var r=n;return r&&r.ownerDocument&&r.ownerDocument.defaultView?r.ownerDocument.defaultView:Ih}}var tn=(function(){function n(r,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=r||null,this._onErrorHandler=t,this._noop=function(){}}return n.prototype.dispose=function(){var r;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(r in this._timeoutIds)this._timeoutIds.hasOwnProperty(r)&&this.clearTimeout(parseInt(r,10));this._timeoutIds=null}if(this._immediateIds){for(r in this._immediateIds)this._immediateIds.hasOwnProperty(r)&&this.clearImmediate(parseInt(r,10));this._immediateIds=null}if(this._intervalIds){for(r in this._intervalIds)this._intervalIds.hasOwnProperty(r)&&this.clearInterval(parseInt(r,10));this._intervalIds=null}if(this._animationFrameIds){for(r in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(r)&&this.cancelAnimationFrame(parseInt(r,10));this._animationFrameIds=null}},n.prototype.setTimeout=function(r,t){var e=this,o=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),o=setTimeout(function(){try{e._timeoutIds&&delete e._timeoutIds[o],r.apply(e._parent)}catch(s){e._onErrorHandler&&e._onErrorHandler(s)}},t),this._timeoutIds[o]=!0),o},n.prototype.clearTimeout=function(r){this._timeoutIds&&this._timeoutIds[r]&&(clearTimeout(r),delete this._timeoutIds[r])},n.prototype.setImmediate=function(r,t){var e=this,o=0,s=Re(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});var a=function(){try{e._immediateIds&&delete e._immediateIds[o],r.apply(e._parent)}catch(u){e._logError(u)}};o=s.setTimeout(a,0),this._immediateIds[o]=!0}return o},n.prototype.clearImmediate=function(r,t){var e=Re(t);this._immediateIds&&this._immediateIds[r]&&(e.clearTimeout(r),delete this._immediateIds[r])},n.prototype.setInterval=function(r,t){var e=this,o=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),o=setInterval(function(){try{r.apply(e._parent)}catch(s){e._logError(s)}},t),this._intervalIds[o]=!0),o},n.prototype.clearInterval=function(r){this._intervalIds&&this._intervalIds[r]&&(clearInterval(r),delete this._intervalIds[r])},n.prototype.throttle=function(r,t,e){var o=this;if(this._isDisposed)return this._noop;var s=t||0,a=!0,u=!0,d=0,f,m,h=null;e&&typeof e.leading=="boolean"&&(a=e.leading),e&&typeof e.trailing=="boolean"&&(u=e.trailing);var g=function(C){var x=Date.now(),b=x-d,S=a?s-b:s;return b>=s&&(!C||a)?(d=x,h&&(o.clearTimeout(h),h=null),f=r.apply(o._parent,m)):h===null&&u&&(h=o.setTimeout(g,S)),f},y=(function(){for(var C=[],x=0;x<arguments.length;x++)C[x]=arguments[x];return m=C,g(!0)});return y},n.prototype.debounce=function(r,t,e){var o=this;if(this._isDisposed){var s=(function(){});return s.cancel=function(){},s.flush=(function(){return null}),s.pending=function(){return!1},s}var a=t||0,u=!1,d=!0,f=null,m=0,h=Date.now(),g,y,C=null;e&&typeof e.leading=="boolean"&&(u=e.leading),e&&typeof e.trailing=="boolean"&&(d=e.trailing),e&&typeof e.maxWait=="number"&&!isNaN(e.maxWait)&&(f=e.maxWait);var x=function(j){C&&(o.clearTimeout(C),C=null),h=j},b=function(j){x(j),g=r.apply(o._parent,y)},S=function(j){var M=Date.now(),R=!1;j&&(u&&M-m>=a&&(R=!0),m=M);var P=M-m,W=a-P,Q=M-h,K=!1;return f!==null&&(Q>=f&&C?K=!0:W=Math.min(W,f-Q)),P>=a||K||R?b(M):(C===null||!j)&&d&&(C=o.setTimeout(S,W)),g},F=function(){return!!C},D=function(){F()&&x(Date.now())},A=function(){return F()&&b(Date.now()),g},L=(function(){for(var j=[],M=0;M<arguments.length;M++)j[M]=arguments[M];return y=j,S(!0)});return L.cancel=D,L.flush=A,L.pending=F,L},n.prototype.requestAnimationFrame=function(r,t){var e=this,o=0,s=Re(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var a=function(){try{e._animationFrameIds&&delete e._animationFrameIds[o],r.apply(e._parent)}catch(u){e._logError(u)}};o=s.requestAnimationFrame?s.requestAnimationFrame(a):s.setTimeout(a,0),this._animationFrameIds[o]=!0}return o},n.prototype.cancelAnimationFrame=function(r,t){var e=Re(t);this._animationFrameIds&&this._animationFrameIds[r]&&(e.cancelAnimationFrame?e.cancelAnimationFrame(r):e.clearTimeout(r),delete this._animationFrameIds[r])},n.prototype._logError=function(r){this._onErrorHandler&&this._onErrorHandler(r)},n})();function so(n,r){for(var t in n)if(n.hasOwnProperty(t)&&(!r.hasOwnProperty(t)||r[t]!==n[t]))return!1;for(var t in r)if(r.hasOwnProperty(t)&&!n.hasOwnProperty(t))return!1;return!0}function ei(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return DS.apply(this,[null,n].concat(r))}function DS(n,r){for(var t=[],e=2;e<arguments.length;e++)t[e-2]=arguments[e];r=r||{};for(var o=0,s=t;o<s.length;o++){var a=s[o];if(a)for(var u in a)a.hasOwnProperty(u)&&(!n||n(u))&&(r[u]=a[u])}return r}var mt=(function(){function n(r){this._id=n._uniqueId++,this._parent=r,this._eventRecords=[]}return n.raise=function(r,t,e,o){var s;if(n._isElement(r)){if(typeof document<"u"&&document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(t,o||!1,!0),ei(a,e),s=r.dispatchEvent(a)}else if(typeof document<"u"&&document.createEventObject){var u=document.createEventObject(e);r.fireEvent("on"+t,u)}}else for(;r&&s!==!1;){var d=r.__events__,f=d?d[t]:null;if(f){for(var m in f)if(f.hasOwnProperty(m))for(var h=f[m],g=0;s!==!1&&g<h.length;g++){var y=h[g];y.objectCallback&&(s=y.objectCallback.call(y.parent,e))}}r=o?r.parent:null}return s},n.isObserved=function(r,t){var e=r&&r.__events__;return!!e&&!!e[t]},n.isDeclared=function(r,t){var e=r&&r.__declaredEvents;return!!e&&!!e[t]},n.stopPropagation=function(r){r.stopPropagation?r.stopPropagation():r.cancelBubble=!0},n._isElement=function(r){return!!r&&(!!r.addEventListener||typeof HTMLElement<"u"&&r instanceof HTMLElement)},n.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},n.prototype.onAll=function(r,t,e){for(var o in t)t.hasOwnProperty(o)&&this.on(r,o,t[o],e)},n.prototype.on=function(r,t,e,o){var s=this;if(t.indexOf(",")>-1)for(var a=t.split(/[ ,]+/),u=0;u<a.length;u++)this.on(r,a[u],e,o);else{var d=this._parent,f={target:r,eventName:t,parent:d,callback:e,options:o},a=r.__events__=r.__events__||{};if(a[t]=a[t]||{count:0},a[t][this._id]=a[t][this._id]||[],a[t][this._id].push(f),a[t].count++,n._isElement(r)){var m=function(){for(var y=[],C=0;C<arguments.length;C++)y[C]=arguments[C];if(!s._isDisposed){var x;try{if(x=e.apply(d,y),x===!1&&y[0]){var b=y[0];b.preventDefault&&b.preventDefault(),b.stopPropagation&&b.stopPropagation(),b.cancelBubble=!0}}catch{}return x}};f.elementCallback=m,r.addEventListener?r.addEventListener(t,m,o):r.attachEvent&&r.attachEvent("on"+t,m)}else{var h=function(){for(var y=[],C=0;C<arguments.length;C++)y[C]=arguments[C];if(!s._isDisposed)return e.apply(d,y)};f.objectCallback=h}this._eventRecords.push(f)}},n.prototype.off=function(r,t,e,o){for(var s=0;s<this._eventRecords.length;s++){var a=this._eventRecords[s];if((!r||r===a.target)&&(!t||t===a.eventName)&&(!e||e===a.callback)&&(typeof o!="boolean"||o===a.options)){var u=a.target.__events__,d=u[a.eventName],f=d?d[this._id]:null;f&&(f.length===1||!e?(d.count-=f.length,delete u[a.eventName][this._id]):(d.count--,f.splice(f.indexOf(a),1)),d.count||delete u[a.eventName]),a.elementCallback&&(a.target.removeEventListener?a.target.removeEventListener(a.eventName,a.elementCallback,a.options):a.target.detachEvent&&a.target.detachEvent("on"+a.eventName,a.elementCallback)),this._eventRecords.splice(s--,1)}}},n.prototype.raise=function(r,t,e){return n.raise(this._parent,r,t,e)},n.prototype.declare=function(r){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if(typeof r=="string")t[r]=!0;else for(var e=0;e<r.length;e++)t[r[e]]=!0},n._uniqueId=0,n})();function jt(n){if(!(typeof document>"u")){var r=n;return r&&r.ownerDocument?r.ownerDocument:document}}var Wp,nl=0,j_=Hr({overflow:"hidden !important"}),_v="data-is-scrollable",O_=function(n,r){if(n){var t=0,e=null,o=function(a){a.targetTouches.length===1&&(t=a.targetTouches[0].clientY)},s=function(a){if(a.targetTouches.length===1&&(a.stopPropagation(),!!e)){var u=a.targetTouches[0].clientY-t,d=Tl(a.target);d&&(e=d),e.scrollTop===0&&u>0&&a.preventDefault(),e.scrollHeight-Math.ceil(e.scrollTop)<=e.clientHeight&&u<0&&a.preventDefault()}};r.on(n,"touchstart",o,{passive:!1}),r.on(n,"touchmove",s,{passive:!1}),e=n}},H_=function(n,r){if(n){var t=function(e){e.stopPropagation()};r.on(n,"touchmove",t,{passive:!1})}},W_=function(n){n.preventDefault()};function TS(){var n=jt();n&&n.body&&!nl&&(n.body.classList.add(j_),n.body.addEventListener("touchmove",W_,{passive:!1,capture:!1})),nl++}function AS(){if(nl>0){var n=jt();n&&n.body&&nl===1&&(n.body.classList.remove(j_),n.body.removeEventListener("touchmove",W_)),nl--}}function ef(){if(Wp===void 0){var n=document.createElement("div");n.style.setProperty("width","100px"),n.style.setProperty("height","100px"),n.style.setProperty("overflow","scroll"),n.style.setProperty("position","absolute"),n.style.setProperty("top","-9999px"),document.body.appendChild(n),Wp=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return Wp}function Tl(n){for(var r=n,t=jt(n);r&&r!==t.body;){if(r.getAttribute(_v)==="true")return r;r=r.parentElement}for(r=n;r&&r!==t.body;){if(r.getAttribute(_v)!=="false"){var e=getComputedStyle(r),o=e?e.getPropertyValue("overflow-y"):"";if(o&&(o==="scroll"||o==="auto"))return r}r=r.parentElement}return(!r||r===t.body)&&(r=Re(n)),r}function bv(n){var r;return n&&(n===window?r={left:0,top:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:n.getBoundingClientRect&&(r=n.getBoundingClientRect())),r}function tf(n){console&&console.warn&&console.warn(n)}function z_(n,r,t,e,o){if(o===!0&&!1)for(var s,a;s<a.length;s++)var u}(function(n){be(r,n);function r(t,e){var o=n.call(this,t,e)||this;return MS(o,r.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),o}return r.prototype.componentDidUpdate=function(t,e){this._updateComponentRef(t,this.props)},r.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},r.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var t=0,e=this._disposables.length;t<e;t++){var o=this.__disposables[t];o.dispose&&o.dispose()}this.__disposables=null}},Object.defineProperty(r.prototype,"className",{get:function(){if(!this.__className){var t=/function (.{1,})\(/,e=t.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_async",{get:function(){return this.__async||(this.__async=new tn(this),this._disposables.push(this.__async)),this.__async},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_events",{get:function(){return this.__events||(this.__events=new mt(this),this._disposables.push(this.__events)),this.__events},enumerable:!0,configurable:!0}),r.prototype._resolveRef=function(t){var e=this;return this.__resolves||(this.__resolves={}),this.__resolves[t]||(this.__resolves[t]=function(o){return e[t]=o}),this.__resolves[t]},r.prototype._updateComponentRef=function(t,e){e===void 0&&(e={}),t&&e&&t.componentRef!==e.componentRef&&(this._setComponentRef(t.componentRef,null),this._setComponentRef(e.componentRef,this))},r.prototype._warnDeprecations=function(t){this.className,this.props},r.prototype._warnMutuallyExclusive=function(t){this.className,this.props},r.prototype._warnConditionallyRequiredProps=function(t,e,o){z_(this.className,this.props,t,e,o)},r.prototype._setComponentRef=function(t,e){!this._skipComponentRefResolution&&t&&(typeof t=="function"&&t(e),typeof t=="object"&&(t.current=e))},r})(_.Component);function MS(n,r,t){for(var e=0,o=t.length;e<o;e++)PS(n,r,t[e])}function PS(n,r,t){var e=n[t],o=r[t];(e||o)&&(n[t]=function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];var u;return o&&(u=o.apply(this,s)),e!==o&&(u=e.apply(this,s)),u})}function Hi(){return null}var Kc=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e.state={isRendered:!1},e}return r.prototype.componentDidMount=function(){var t=this,e=this.props.delay;this._timeoutId=window.setTimeout(function(){t.setState({isRendered:!0})},e)},r.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},r.prototype.render=function(){return this.state.isRendered?_.Children.only(this.props.children):null},r.defaultProps={delay:0},r})(_.Component),zp="__globalSettings__",nf="__callbacks__",RS=0,U_=(function(){function n(){}return n.getValue=function(r,t){var e=Fh();return e[r]===void 0&&(e[r]=typeof t=="function"?t():t),e[r]},n.setValue=function(r,t){var e=Fh(),o=e[nf],s=e[r];if(t!==s){e[r]=t;var a={oldValue:s,value:t,key:r};for(var u in o)o.hasOwnProperty(u)&&o[u](a)}return t},n.addChangeListener=function(r){var t=r.__id__,e=Cv();t||(t=r.__id__=String(RS++)),e[t]=r},n.removeChangeListener=function(r){var t=Cv();delete t[r.__id__]},n})();function Fh(){var n,r=Re(),t=r||{};return t[zp]||(t[zp]=(n={},n[nf]={},n)),t[zp]}function Cv(){var n=Fh();return n[nf]}var he={tab:9,enter:13,alt:18,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,a:65,c:67},or=(function(){function n(r,t,e,o){r===void 0&&(r=0),t===void 0&&(t=0),e===void 0&&(e=0),o===void 0&&(o=0),this.top=e,this.bottom=o,this.left=r,this.right=t}return Object.defineProperty(n.prototype,"width",{get:function(){return this.right-this.left},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!0,configurable:!0}),n.prototype.equals=function(r){return parseFloat(this.top.toFixed(4))===parseFloat(r.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(r.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(r.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(r.right.toFixed(4))},n})();function NS(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return r.length<2?r[0]:function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];r.forEach(function(s){return s&&s.apply(n,e)})}}function ti(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var t=n.filter(function(e){return e}).join(" ").trim();return t===""?void 0:t}function rf(n,r,t){t===void 0&&(t=0);for(var e=-1,o=t;n&&o<n.length;o++)if(r(n[o],o)){e=o;break}return e}function xv(n,r){var t=rf(n,r);if(!(t<0))return n[t]}function LS(n,r,t){var e=n.slice();return e.splice(r,0,t),e}function BS(n,r){if(n.length!==r.length)return!1;for(var t=0;t<n.length;t++)if(n[t]!==r[t])return!1;return!0}function G_(n){var r=null;try{var t=Re();r=t?t.sessionStorage.getItem(n):null}catch{}return r}function jS(n,r){var t;try{(t=Re())===null||t===void 0||t.sessionStorage.setItem(n,r)}catch{}}var V_="isRTL",_o;function ht(n){if(n===void 0&&(n={}),n.rtl!==void 0)return n.rtl;if(_o===void 0){var r=G_(V_);r!==null&&(_o=r==="1",OS(_o));var t=jt();_o===void 0&&t&&(_o=(t.body&&t.body.getAttribute("dir")||t.documentElement.getAttribute("dir"))==="rtl",F_(_o))}return!!_o}function OS(n,r){r===void 0&&(r=!1);var t=jt();t&&t.documentElement.setAttribute("dir",n?"rtl":"ltr"),r&&jS(V_,n?"1":"0"),_o=n,F_(_o)}function Fc(n,r){return r===void 0&&(r={}),ht(r)&&(n===he.left?n=he.right:n===he.right&&(n=he.left)),n}function HS(n){return n&&!!n._virtual}function WS(n){var r;return n&&HS(n)&&(r=n._virtual.parent),r}function Vt(n,r){return r===void 0&&(r=!0),n&&(r&&WS(n)||n.parentNode&&n.parentNode)}function Pt(n,r,t){t===void 0&&(t=!0);var e=!1;if(n&&r)if(t)if(n===r)e=!0;else for(e=!1;r;){var o=Vt(r);if(o===n){e=!0;break}r=o}else n.contains&&(e=n.contains(r));return e}function of(n,r){return!n||n===document.body?null:r(n)?n:of(Vt(n),r)}function zS(n,r){var t=of(n,function(e){return e.hasAttribute(r)});return t&&t.getAttribute(r)}var Dh="data-portal-element";function US(n){n.setAttribute(Dh,"true")}function sf(n,r){var t=of(n,function(e){return r===e||e.hasAttribute(Dh)});return t!==null&&t.hasAttribute(Dh)}function wv(n,r){var t=n,e=r;t._virtual||(t._virtual={children:[]});var o=t._virtual.parent;if(o&&o!==r){var s=o._virtual.children.indexOf(t);s>-1&&o._virtual.children.splice(s,1)}t._virtual.parent=e||void 0,e&&(e._virtual||(e._virtual={children:[]}),e._virtual.children.push(t))}function xr(n,r,t,e){return n.addEventListener(r,t,e),function(){return n.removeEventListener(r,t,e)}}var GS=50,VS=5,vc=0,Up=Er.getInstance();Up&&Up.onReset&&Up.onReset(function(){return vc++});var Uu="__retval__";function ke(n){n===void 0&&(n={});var r=new Map,t=0,e=0,o=vc,s=function(a,u){u===void 0&&(u={});var d,f;if(n.useStaticStyles&&typeof a=="function"&&a.__noStyleOverride__)return a(u);e++;var m=r,h=u.theme,g=h&&h.rtl!==void 0?h.rtl:ht(),y=n.disableCaching;if(o!==vc&&(o=vc,r=new Map,t=0),n.disableCaching||(m=Sv(r,a),m=Sv(m,u)),(y||!m[Uu])&&(a===void 0?m[Uu]={}:m[Uu]=N_([typeof a=="function"?a(u):a],{rtl:!!g,specificityMultiplier:n.useStaticStyles?VS:void 0}),y||t++),t>(n.cacheSize||GS)){var C=Re();!((f=(d=C)===null||d===void 0?void 0:d.FabricConfig)===null||f===void 0)&&f.enableClassNameCacheFullWarning&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is "+t+"/"+e+"."),console.trace()),r.clear(),t=0,n.disableCaching=!0}return m[Uu]};return s}function Gp(n,r){return r=KS(r),n.has(r)||n.set(r,new Map),n.get(r)}function Sv(n,r){if(typeof r=="function"){var t=r.__cachedInputs__;if(t)for(var e=0,o=r.__cachedInputs__;e<o.length;e++){var s=o[e];n=Gp(n,s)}else n=Gp(n,r)}else if(typeof r=="object")for(var a in r)r.hasOwnProperty(a)&&(n=Gp(n,r[a]));return n}function KS(n){switch(n){case void 0:return"__undefined__";case null:return"__null__";default:return n}}var Ev=!1,yc=0,$S={empty:!0},Vp={},cl=typeof WeakMap>"u"?null:WeakMap;function qS(){yc++}function st(n,r,t){if(r===void 0&&(r=100),t===void 0&&(t=!1),!cl)return n;if(!Ev){var e=Er.getInstance();e&&e.onReset&&Er.getInstance().onReset(qS),Ev=!0}var o,s=0,a=yc;return function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];var m=o;(o===void 0||a!==yc||r>0&&s>r)&&(o=kv(),s=0,a=yc),m=o;for(var h=0;h<d.length;h++){var g=YS(d[h]);m.map.has(g)||m.map.set(g,kv()),m=m.map.get(g)}return m.hasOwnProperty("value")||(m.value=n.apply(void 0,d),s++),t&&(m.value===null||m.value===void 0)&&(m.value=n.apply(void 0,d)),m.value}}function Ws(n){if(!cl)return n;var r=new cl;function t(e){if(!e||typeof e!="function"&&typeof e!="object")return n(e);if(r.has(e))return r.get(e);var o=n(e);return r.set(e,o),o}return t}function YS(n){if(n){if(typeof n=="object"||typeof n=="function")return n;Vp[n]||(Vp[n]={val:n})}else return $S;return Vp[n]}function kv(){return{map:cl?new cl:null}}function ZS(n){var r=n,t=Ws(function(e){if(n===e)throw new Error("Attempted to compose a component with itself.");var o=e,s=Ws(function(u){var d=function(f){return _.createElement(o,k({},f,{defaultRender:u}))};return d}),a=function(u){var d=u.defaultRender;return _.createElement(r,k({},u,{defaultRender:d?s(d):o}))};return a});return t}var XS=Ws(ZS);function K_(n,r){return XS(n)(r)}function $_(n,r){return n[r]!==void 0&&n[r]!==null}function Et(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var t=[],e=0,o=n;e<o.length;e++){var s=o[e];if(s)if(typeof s=="string")t.push(s);else if(s.hasOwnProperty("toString")&&typeof s.toString=="function")t.push(s.toString());else for(var a in s)s[a]&&t.push(a)}return t.join(" ")}var QS="customizations",JS={settings:{},scopedSettings:{},inCustomizerContext:!1},Vo=U_.getValue(QS,{settings:{},scopedSettings:{},inCustomizerContext:!1}),Gu=[],wr=(function(){function n(){}return n.reset=function(){Vo.settings={},Vo.scopedSettings={}},n.applySettings=function(r){Vo.settings=k(k({},Vo.settings),r),n._raiseChange()},n.applyScopedSettings=function(r,t){Vo.scopedSettings[r]=k(k({},Vo.scopedSettings[r]),t),n._raiseChange()},n.getSettings=function(r,t,e){e===void 0&&(e=JS);for(var o={},s=t&&e.scopedSettings[t]||{},a=t&&Vo.scopedSettings[t]||{},u=0,d=r;u<d.length;u++){var f=d[u];o[f]=s[f]||e.settings[f]||a[f]||Vo.settings[f]}return o},n.applyBatchedUpdates=function(r,t){n._suppressUpdates=!0;try{r()}catch{}n._suppressUpdates=!1,t||n._raiseChange()},n.observe=function(r){Gu.push(r)},n.unobserve=function(r){Gu=Gu.filter(function(t){return t!==r})},n._raiseChange=function(){n._suppressUpdates||Gu.forEach(function(r){return r()})},n})(),dl=_.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function eE(n,r){n===void 0&&(n={});var t=q_(r)?r:nE(r);return t(n)}function tE(n,r){n===void 0&&(n={});var t=q_(r)?r:rE(r);return t(n)}function q_(n){return typeof n=="function"}function nE(n){return function(r){return n?k(k({},r),n):r}}function rE(n){return n===void 0&&(n={}),function(r){var t=k({},r);for(var e in n)n.hasOwnProperty(e)&&(t[e]=k(k({},r[e]),n[e]));return t}}function oE(n,r){var t=(r||{}).customizations,e=t===void 0?{settings:{},scopedSettings:{}}:t;return{customizations:{settings:eE(e.settings,n.settings),scopedSettings:tE(e.scopedSettings,n.scopedSettings),inCustomizerContext:!0}}}var iE=(function(n){be(r,n);function r(){var t=n!==null&&n.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return r.prototype.componentDidMount=function(){wr.observe(this._onCustomizationChange)},r.prototype.componentWillUnmount=function(){wr.unobserve(this._onCustomizationChange)},r.prototype.render=function(){var t=this,e=this.props.contextTransform;return _.createElement(dl.Consumer,null,function(o){var s=oE(t.props,o);return e&&(s=e(s)),_.createElement(dl.Provider,{value:s},t.props.children)})},r})(_.Component);function Y_(n,r){for(var t in n)n.hasOwnProperty(t)&&(r[t]=n[t]);return r}function $s(n,r,t){return function(o){var s,a=(s=(function(u){be(d,u);function d(f){var m=u.call(this,f)||this;return m._styleCache={},m._onSettingChanged=m._onSettingChanged.bind(m),m}return d.prototype.componentDidMount=function(){wr.observe(this._onSettingChanged)},d.prototype.componentWillUnmount=function(){wr.unobserve(this._onSettingChanged)},d.prototype.render=function(){var f=this;return _.createElement(dl.Consumer,null,function(m){var h=wr.getSettings(r,n,m.customizations),g=f.props;if(h.styles&&typeof h.styles=="function"&&(h.styles=h.styles(k(k({},h),g))),t&&h.styles){if(f._styleCache.default!==h.styles||f._styleCache.component!==g.styles){var y=Gr(h.styles,g.styles);f._styleCache.default=h.styles,f._styleCache.component=g.styles,f._styleCache.merged=y}return _.createElement(o,k({},h,g,{styles:f._styleCache.merged}))}return _.createElement(o,k({},h,g))})},d.prototype._onSettingChanged=function(){this.forceUpdate()},d})(_.Component),s.displayName="Customized"+n,s);return Y_(o,a)}}function sE(n,r){var t=aE(),e=_.useContext(dl).customizations,o=e.inCustomizerContext;return _.useEffect(function(){return o||wr.observe(t),function(){o||wr.unobserve(t)}},[o]),wr.getSettings(n,r,e)}function aE(){var n=_.useState(0),r=n[1];return function(){return r(function(t){return++t})}}function Z_(n,r){for(var t in r)r.hasOwnProperty(t)&&(n[t]=NS(n,n[t],r[t]))}var X_="data-is-focusable",lE="data-is-visible",uE="data-focuszone-id",cE="data-is-sub-focuszone";function Q_(n,r,t){return Dn(n,r,!0,!1,!1,t)}function J_(n,r,t){return zn(n,r,!0,!1,!0,t)}function dE(n,r,t,e){return Dn(n,r,e,!1,!1,t,!1,!0)}function pE(n,r,t,e){return zn(n,r,e,!1,!0,t,!1,!0)}function $c(n){var r=Dn(n,n,!0,!1,!1,!0);return r?(t0(r),!0):!1}function zn(n,r,t,e,o,s,a,u){if(!r||!a&&r===n)return null;var d=af(r);if(o&&d&&(s||!(bo(r)||lf(r)))){var f=zn(n,r.lastElementChild,!0,!0,!0,s,a,u);if(f){if(u&&jr(f,!0)||!u)return f;var m=zn(n,f.previousElementSibling,!0,!0,!0,s,a,u);if(m)return m;for(var h=f.parentElement;h&&h!==r;){var g=zn(n,h.previousElementSibling,!0,!0,!0,s,a,u);if(g)return g;h=h.parentElement}}}if(t&&d&&jr(r,u))return r;var y=zn(n,r.previousElementSibling,!0,!0,!0,s,a,u);return y||(e?null:zn(n,r.parentElement,!0,!1,!1,s,a,u))}function Dn(n,r,t,e,o,s,a,u){if(!r||r===n&&o&&!a)return null;var d=af(r);if(t&&d&&jr(r,u))return r;if(!o&&d&&(s||!(bo(r)||lf(r)))){var f=Dn(n,r.firstElementChild,!0,!0,!1,s,a,u);if(f)return f}if(r===n)return null;var m=Dn(n,r.nextElementSibling,!0,!0,!1,s,a,u);return m||(e?null:Dn(n,r.parentElement,!1,!1,!0,s,a,u))}function af(n){if(!n||!n.getAttribute)return!1;var r=n.getAttribute(lE);return r!=null?r==="true":n.offsetHeight!==0||n.offsetParent!==null||n.isVisible===!0}function jr(n,r){if(!n||n.disabled)return!1;var t=0,e=null;n&&n.getAttribute&&(e=n.getAttribute("tabIndex"),e&&(t=parseInt(e,10)));var o=n.getAttribute?n.getAttribute(X_):null,s=e!==null&&t>=0,a=!!n&&o!=="false"&&(n.tagName==="A"||n.tagName==="BUTTON"||n.tagName==="INPUT"||n.tagName==="TEXTAREA"||n.tagName==="SELECT"||o==="true"||s);return r?t!==-1&&a:a}function bo(n){return!!(n&&n.getAttribute&&n.getAttribute(uE))}function lf(n){return!!(n&&n.getAttribute&&n.getAttribute(cE)==="true")}function hE(n){var r=jt(n),t=r&&r.activeElement;return!!(t&&Pt(n,t))}function e0(n,r){return zS(n,r)!=="true"}var $a=void 0;function t0(n){if(n){if($a){$a=n;return}$a=n;var r=Re(n);r&&r.requestAnimationFrame(function(){var t=$a;$a=void 0,t&&(t.getAttribute&&t.getAttribute(X_)==="true"&&(t.getAttribute("tabindex")||t.setAttribute("tabindex","0")),t.focus())})}}function fE(n,r){for(var t=n,e=0,o=r;e<o.length;e++){var s=o[e],a=t.children[Math.min(s,t.children.length-1)];if(!a)break;t=a}return t=jr(t)&&af(t)?t:Dn(n,t,!0)||zn(n,t),t}function mE(n,r){for(var t=[];r&&n&&r!==n;){var e=Vt(r,!0);if(e===null)return[];t.unshift(Array.prototype.indexOf.call(e.children,r)),r=e}return t}var Dc="__currentId__",gE="id__",Tc=Re()||{};Tc[Dc]===void 0&&(Tc[Dc]=0);var Iv=!1;function _t(n){if(!Iv){var r=Er.getInstance();r&&r.onReset&&r.onReset(vE),Iv=!0}var t=Tc[Dc]++;return(n===void 0?gE:n)+t}function vE(n){n===void 0&&(n=0),Tc[Dc]=n}var zt=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];for(var t={},e=0,o=n;e<o.length;e++)for(var s=o[e],a=Array.isArray(s)?s:Object.keys(s),u=0,d=a;u<d.length;u++){var f=d[u];t[f]=1}return t},yE=zt(["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"]),_E=zt(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),At=zt(_E,yE),bE=zt(At,["form"]),n0=zt(At,["height","loop","muted","preload","src","width"]),CE=zt(n0,["poster"]),xE=zt(At,["start"]),wE=zt(At,["value"]),uf=zt(At,["download","href","hrefLang","media","rel","target","type"]),ni=zt(At,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),qc=zt(ni,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),r0=zt(ni,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),SE=zt(ni,["form","multiple","required"]),EE=zt(At,["selected","value"]),kE=zt(At,["cellPadding","cellSpacing"]),IE=At,FE=zt(At,["rowSpan","scope"]),DE=zt(At,["colSpan","headers","rowSpan","scope"]),TE=zt(At,["span"]),AE=zt(At,["span"]),ME=zt(At,["acceptCharset","action","encType","encType","method","noValidate","target"]),PE=zt(At,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),o0=zt(At,["alt","crossOrigin","height","src","srcSet","useMap","width"]),en=At;function qe(n,r,t){for(var e,o=Array.isArray(r),s={},a=Object.keys(n),u=0,d=a;u<d.length;u++){var f=d[u],m=!o&&r[f]||o&&r.indexOf(f)>=0||f.indexOf("data-")===0||f.indexOf("aria-")===0;m&&(!t||((e=t)===null||e===void 0?void 0:e.indexOf(f))===-1)&&(s[f]=n[f])}return s}var RE={label:bE,audio:n0,video:CE,ol:xE,li:wE,a:uf,button:ni,input:qc,textarea:r0,select:SE,option:EE,table:kE,tr:IE,th:FE,td:DE,colGroup:TE,col:AE,form:ME,iframe:PE,img:o0};function NE(n,r,t){var e=RE[n]||At;return qe(r,e,t)}var LE=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];function BE(n,r,t){t===void 0&&(t=LE);var e=[],o=function(a){typeof r[a]=="function"&&n[a]===void 0&&(!t||t.indexOf(a)===-1)&&(e.push(a),n[a]=function(){for(var u=[],d=0;d<arguments.length;d++)u[d]=arguments[d];r[a].apply(r,u)})};for(var s in r)o(s);return e}function jE(n,r){r.forEach(function(t){return delete n[t]})}function rt(n){Z_(n,{componentDidMount:OE,componentDidUpdate:HE,componentWillUnmount:WE})}function OE(){Ac(this.props.componentRef,this)}function HE(n){n.componentRef!==this.props.componentRef&&(Ac(n.componentRef,null),Ac(this.props.componentRef,this))}function WE(){Ac(this.props.componentRef,null)}function Ac(n,r){n&&(typeof n=="object"?n.current=r:typeof n=="function"&&n(r))}var Rr,zE=(Rr={},Rr[he.up]=1,Rr[he.down]=1,Rr[he.left]=1,Rr[he.right]=1,Rr[he.home]=1,Rr[he.end]=1,Rr[he.tab]=1,Rr[he.pageUp]=1,Rr[he.pageDown]=1,Rr);function UE(n){return!!zE[n]}var Lt="ms-Fabric--isFocusVisible",Fv="ms-Fabric--isFocusHidden";function Li(n,r){var t=r?Re(r):Re();if(t){var e=t.document.body.classList;e.add(n?Lt:Fv),e.remove(n?Fv:Lt)}}var Dv=new WeakMap;function Tv(n,r){var t,e=Dv.get(n);return e?t=e+r:t=1,Dv.set(n,t),t}function GE(n){_.useEffect(function(){var r,t,e=Re((r=n)===null||r===void 0?void 0:r.current);if(!(!e||((t=e.FabricConfig)===null||t===void 0?void 0:t.disableFocusRects)===!0)){var o=Tv(e,1);return o<=1&&(e.addEventListener("mousedown",Av,!0),e.addEventListener("pointerdown",Mv,!0),e.addEventListener("keydown",Pv,!0)),function(){var s;!e||((s=e.FabricConfig)===null||s===void 0?void 0:s.disableFocusRects)===!0||(o=Tv(e,-1),o===0&&(e.removeEventListener("mousedown",Av,!0),e.removeEventListener("pointerdown",Mv,!0),e.removeEventListener("keydown",Pv,!0)))}}},[n])}var qs=function(n){return GE(n.rootRef),null};function Av(n){Li(!1,n.target)}function Mv(n){n.pointerType!=="mouse"&&Li(!1,n.target)}function Pv(n){UE(n.which)&&Li(!0,n.target)}var ki,VE="language";function KE(n){if(ki===void 0){var r=jt(),t=G_(VE);t&&(ki=t),ki===void 0&&r&&(ki=r.documentElement.getAttribute("lang")),ki===void 0&&(ki="en")}return ki}function Rv(n){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];for(var e=0,o=r;e<o.length;e++){var s=o[e];i0(n||{},s)}return n}function i0(n,r,t){t===void 0&&(t=[]),t.push(r);for(var e in r)if(r.hasOwnProperty(e)&&e!=="__proto__"&&e!=="constructor"&&e!=="prototype"){var o=r[e];if(typeof o=="object"&&o!==null&&!Array.isArray(o)){var s=t.indexOf(o)>-1;n[e]=s?o:i0(n[e]||{},o,t)}else n[e]=o}return t.pop(),n}var Th=function(){return!window||!window.navigator||!window.navigator.userAgent?!1:/iPad|iPhone|iPod/i.test(window.navigator.userAgent)};function Nv(n){for(var r,t=[],e=jt(n)||document;n!==e.body;){for(var o=0,s=n.parentElement.children;o<s.length;o++){var a=s[o];a!==n&&((r=a.getAttribute("aria-hidden"))===null||r===void 0?void 0:r.toLowerCase())!=="true"&&t.push(a)}if(!n.parentElement)break;n=n.parentElement}return t.forEach(function(u){u.setAttribute("aria-hidden","true")}),function(){$E(t),t=[]}}function $E(n){n.forEach(function(r){r.setAttribute("aria-hidden","false")})}var Kp;function Ah(n){if(typeof Kp>"u"||n){var r=Re(),t=r&&r.navigator.userAgent;Kp=!!t&&t.indexOf("Macintosh")!==-1}return!!Kp}function qE(n){return n.clientWidth<n.scrollWidth}function YE(n){return n.clientHeight<n.scrollHeight}function ZE(n){return qE(n)||YE(n)}function XE(n){var r=Ws(function(t){var e=Ws(function(o){return function(s){return t(s,o)}});return function(o,s){return n(o,s?e(s):t)}});return r}var QE=Ws(XE);function ir(n,r){return QE(n)(r)}var JE=function(n){var r;return function(t){r||(r=new Set,Z_(n,{componentWillUnmount:function(){r.forEach(function(o){return cancelAnimationFrame(o)})}}));var e=requestAnimationFrame(function(){r.delete(e),t()});r.add(e)}},Yc="change",ek="items-change",He;(function(n){n[n.none=0]="none",n[n.single=1]="single",n[n.multiple=2]="multiple"})(He||(He={}));var Lv;(function(n){n[n.horizontal=0]="horizontal",n[n.vertical=1]="vertical"})(Lv||(Lv={}));var tk=(function(){function n(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e=r[0]||{},o=e.onSelectionChanged,s=e.onItemsChanged,a=e.getKey,u=e.canSelectItem,d=u===void 0?function(){return!0}:u,f=e.items,m=e.selectionMode,h=m===void 0?He.multiple:m;this.mode=h,this._getKey=a||nk,this._changeEventSuppressionCount=0,this._exemptedCount=0,this._anchoredIndex=0,this._unselectableCount=0,this._onSelectionChanged=o,this._onItemsChanged=s,this._canSelectItem=d,this._keyToIndexMap={},this._isModal=!1,this.setItems(f||[],!0),this.count=this.getSelectedCount()}return n.prototype.canSelectItem=function(r,t){return typeof t=="number"&&t<0?!1:this._canSelectItem(r,t)},n.prototype.getKey=function(r,t){var e=this._getKey(r,t);return typeof e=="number"||e?""+e:""},n.prototype.setChangeEvents=function(r,t){this._changeEventSuppressionCount+=r?-1:1,this._changeEventSuppressionCount===0&&this._hasChanged&&(this._hasChanged=!1,t||this._change())},n.prototype.isModal=function(){return this._isModal},n.prototype.setModal=function(r){this._isModal!==r&&(this.setChangeEvents(!1),this._isModal=r,r||this.setAllSelected(!1),this._change(),this.setChangeEvents(!0))},n.prototype.setItems=function(r,t){t===void 0&&(t=!0);var e={},o={},s=!1;this.setChangeEvents(!1),this._unselectableCount=0;for(var a=!1,u=0;u<r.length;u++){var d=r[u];if(d){var f=this.getKey(d,u);f&&(!a&&(!(f in this._keyToIndexMap)||this._keyToIndexMap[f]!==u)&&(a=!0),e[f]=u)}o[u]=d&&!this.canSelectItem(d),o[u]&&this._unselectableCount++}(t||r.length===0)&&this._setAllSelected(!1,!0);var m={},h=0;for(var g in this._exemptedIndices)if(this._exemptedIndices.hasOwnProperty(g)){var y=Number(g),d=this._items[y],C=d?this.getKey(d,Number(y)):void 0,x=C?e[C]:y;x===void 0?s=!0:(m[x]=!0,h++,s=s||x!==y)}if(this._items&&this._exemptedCount===0&&r.length!==this._items.length&&this._isAllSelected&&(s=!0),!a)for(var b=0,S=Object.keys(this._keyToIndexMap);b<S.length;b++){var f=S[b];if(!(f in e)){a=!0;break}}this._exemptedIndices=m,this._exemptedCount=h,this._keyToIndexMap=e,this._unselectableIndices=o,this._items=r,this._selectedItems=null,s&&this._updateCount(),a&&(mt.raise(this,ek),this._onItemsChanged&&this._onItemsChanged()),s&&this._change(),this.setChangeEvents(!0)},n.prototype.getItems=function(){return this._items},n.prototype.getSelection=function(){if(!this._selectedItems){this._selectedItems=[];var r=this._items;if(r)for(var t=0;t<r.length;t++)this.isIndexSelected(t)&&this._selectedItems.push(r[t])}return this._selectedItems},n.prototype.getSelectedCount=function(){return this._isAllSelected?this._items.length-this._exemptedCount-this._unselectableCount:this._exemptedCount},n.prototype.getSelectedIndices=function(){if(!this._selectedIndices){this._selectedIndices=[];var r=this._items;if(r)for(var t=0;t<r.length;t++)this.isIndexSelected(t)&&this._selectedIndices.push(t)}return this._selectedIndices},n.prototype.getItemIndex=function(r){var t=this._keyToIndexMap[r];return t??-1},n.prototype.isRangeSelected=function(r,t){if(t===0)return!1;for(var e=r+t,o=r;o<e;o++)if(!this.isIndexSelected(o))return!1;return!0},n.prototype.isAllSelected=function(){var r=this._items.length-this._unselectableCount;return this.mode===He.single&&(r=Math.min(r,1)),this.count>0&&this._isAllSelected&&this._exemptedCount===0||!this._isAllSelected&&this._exemptedCount===r&&r>0},n.prototype.isKeySelected=function(r){var t=this._keyToIndexMap[r];return this.isIndexSelected(t)},n.prototype.isIndexSelected=function(r){return!!(this.count>0&&this._isAllSelected&&!this._exemptedIndices[r]&&!this._unselectableIndices[r]||!this._isAllSelected&&this._exemptedIndices[r])},n.prototype.setAllSelected=function(r){if(!(r&&this.mode!==He.multiple)){var t=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),t>0&&(this._exemptedCount>0||r!==this._isAllSelected)&&(this._exemptedIndices={},(r!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=r,this._change()),this._updateCount()),this.setChangeEvents(!0)}},n.prototype.setKeySelected=function(r,t,e){var o=this._keyToIndexMap[r];o>=0&&this.setIndexSelected(o,t,e)},n.prototype.setIndexSelected=function(r,t,e){if(this.mode!==He.none&&(r=Math.min(Math.max(0,r),this._items.length-1),!(r<0||r>=this._items.length))){this.setChangeEvents(!1);var o=this._exemptedIndices[r],s=!this._unselectableIndices[r];s&&(t&&this.mode===He.single&&this._setAllSelected(!1,!0),o&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[r],this._exemptedCount--),!o&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[r]=!0,this._exemptedCount++),e&&(this._anchoredIndex=r)),this._updateCount(),this.setChangeEvents(!0)}},n.prototype.setRangeSelected=function(r,t,e,o){if(this.mode!==He.none&&(r=Math.min(Math.max(0,r),this._items.length-1),t=Math.min(Math.max(0,t),this._items.length-r),!(r<0||r>=this._items.length||t===0))){this.setChangeEvents(!1);for(var s=this._anchoredIndex||0,a=r,u=r+t-1,d=s>=u?a:u;a<=u;a++)this.setIndexSelected(a,e,o?a===d:!1);this.setChangeEvents(!0)}},n.prototype.selectToKey=function(r,t){this.selectToIndex(this._keyToIndexMap[r],t)},n.prototype.selectToRange=function(r,t,e){if(this.mode!==He.none){if(this.mode===He.single){t===1&&this.setIndexSelected(r,!0,!0);return}var o=this._anchoredIndex||0,s=Math.min(r,o),a=Math.max(r+t-1,o);for(this.setChangeEvents(!1),e&&this._setAllSelected(!1,!0);s<=a;s++)this.setIndexSelected(s,!0,!1);this.setChangeEvents(!0)}},n.prototype.selectToIndex=function(r,t){if(this.mode!==He.none){if(this.mode===He.single){this.setIndexSelected(r,!0,!0);return}var e=this._anchoredIndex||0,o=Math.min(r,e),s=Math.max(r,e);for(this.setChangeEvents(!1),t&&this._setAllSelected(!1,!0);o<=s;o++)this.setIndexSelected(o,!0,!1);this.setChangeEvents(!0)}},n.prototype.toggleAllSelected=function(){this.setAllSelected(!this.isAllSelected())},n.prototype.toggleKeySelected=function(r){this.setKeySelected(r,!this.isKeySelected(r),!0)},n.prototype.toggleIndexSelected=function(r){this.setIndexSelected(r,!this.isIndexSelected(r),!0)},n.prototype.toggleRangeSelected=function(r,t){if(this.mode!==He.none){var e=this.isRangeSelected(r,t),o=r+t;if(!(this.mode===He.single&&t>1)){this.setChangeEvents(!1);for(var s=r;s<o;s++)this.setIndexSelected(s,!e,!1);this.setChangeEvents(!0)}}},n.prototype._updateCount=function(r){r===void 0&&(r=!1);var t=this.getSelectedCount();t!==this.count&&(this.count=t,this._change()),!this.count&&!r&&this.setModal(!1)},n.prototype._setAllSelected=function(r,t){if(t===void 0&&(t=!1),!(r&&this.mode!==He.multiple)){var e=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),e>0&&(this._exemptedCount>0||r!==this._isAllSelected)&&(this._exemptedIndices={},(r!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=r,this._change()),this._updateCount(t)),this.setChangeEvents(!0)}},n.prototype._change=function(){this._changeEventSuppressionCount===0?(this._selectedItems=null,this._selectedIndices=void 0,mt.raise(this,Yc),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},n})();function nk(n,r){var t=(n||{}).key,e=t===void 0?""+r:t;return e}var rk=["theme","styles"];function Fe(n,r,t,e,o){e=e||{scope:"",fields:void 0};var s=e.scope,a=e.fields,u=a===void 0?rk:a,d=_.forwardRef(function(m,h){var g=_.useRef(),y=sE(u,s),C=y.styles;y.dir;var x=Vn(y,["styles","dir"]),b=t?t(m):void 0,S=g.current&&g.current.__cachedInputs__||[];if(!g.current||C!==S[1]||m.styles!==S[2]){var F=function(D){return L_(D,r,C,m.styles)};F.__cachedInputs__=[r,C,m.styles],F.__noStyleOverride__=!C&&!m.styles,g.current=F}return _.createElement(n,k({ref:h},x,b,m,{styles:g.current}))});d.displayName="Styled"+(n.displayName||n.name);var f=o?_.memo(d):d;return d.displayName&&(f.displayName=d.displayName),f}var ok=function(){var n,r,t=Re();return!((r=(n=t)===null||n===void 0?void 0:n.navigator)===null||r===void 0)&&r.userAgent?t.navigator.userAgent.indexOf("rv:11.0")>-1:!1},ik=function(n){return function(r){for(var t=0,e=n.refs;t<e.length;t++){var o=e[t];typeof o=="function"?o(r):o&&(o.current=r)}}},cf=function(n){var r={refs:[]};return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(!r.resolver||!BS(r.refs,t))&&(r.resolver=ik(r)),r.refs=t,r.resolver}},sk="icons",rr=U_.getValue(sk,{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),$p=Er.getInstance();$p&&$p.onReset&&$p.onReset(function(){for(var n in rr)rr.hasOwnProperty(n)&&rr[n].subset&&(rr[n].subset.className=void 0)});var Mc=function(n){return n.toLowerCase()};function nn(n,r){var t=k(k({},n),{isRegistered:!1,className:void 0}),e=n.icons;r=r?k(k({},rr.__options),r):rr.__options;for(var o in e)if(e.hasOwnProperty(o)){var s=e[o],a=Mc(o);rr[a]?lk(o):rr[a]={code:s,subset:t}}}function Ii(n,r){rr.__remapped[Mc(n)]=Mc(r)}function ak(n){var r=void 0,t=rr.__options;if(n=n?Mc(n):"",n=rr.__remapped[n]||n,n)if(r=rr[n],r){var e=r.subset;e&&e.fontFace&&(e.isRegistered||(B_(e.fontFace),e.isRegistered=!0),e.className||(e.className=Hr(e.style,{fontFamily:e.fontFace.fontFamily,fontWeight:e.fontFace.fontWeight||"normal",fontStyle:e.fontFace.fontStyle||"normal"})))}else!t.disableWarnings&&t.warnOnMissingIcons&&tf('The icon "'+n+'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.');return r}var qa=[],qp=void 0;function lk(n){var r=rr.__options,t=2e3,e=10;r.disableWarnings||(qa.push(n),qp===void 0&&(qp=setTimeout(function(){tf(`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: 
`+qa.slice(0,e).join(", ")+(qa.length>e?" (+ "+(qa.length-e)+" more)":"")),qp=void 0,qa=[]},t)))}var wt="cubic-bezier(.1,.9,.2,1)",Jn="cubic-bezier(.1,.25,.75,.9)",el="0.167s",Mh="0.267s",gt="0.367s",Ph="0.467s",rn=Ot({from:{opacity:0},to:{opacity:1}}),on=Ot({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),uk=ii(-10),ck=ii(-20),dk=ii(-40),pk=ii(-400),hk=ii(10),fk=ii(20),mk=ii(40),gk=ii(400),vk=Zc(10),yk=Zc(20),_k=Zc(-10),bk=Zc(-20),Ck=si(10),xk=si(20),wk=si(40),Sk=si(400),Ek=si(-10),kk=si(-20),Ik=si(-40),Fk=si(-400),Dk=Xc(-10),Tk=Xc(-20),Ak=Xc(10),Mk=Xc(20),Pk=Ot({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),Rk=Ot({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),Nk=Ot({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),Lk=Ot({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),Bk=Ot({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),jk=Ot({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),oo={easeFunction1:wt,easeFunction2:Jn,durationValue1:el,durationValue2:Mh,durationValue3:gt,durationValue4:Ph},s0={slideRightIn10:Ze(rn+","+uk,gt,wt),slideRightIn20:Ze(rn+","+ck,gt,wt),slideRightIn40:Ze(rn+","+dk,gt,wt),slideRightIn400:Ze(rn+","+pk,gt,wt),slideLeftIn10:Ze(rn+","+hk,gt,wt),slideLeftIn20:Ze(rn+","+fk,gt,wt),slideLeftIn40:Ze(rn+","+mk,gt,wt),slideLeftIn400:Ze(rn+","+gk,gt,wt),slideUpIn10:Ze(rn+","+vk,gt,wt),slideUpIn20:Ze(rn+","+yk,gt,wt),slideDownIn10:Ze(rn+","+_k,gt,wt),slideDownIn20:Ze(rn+","+bk,gt,wt),slideRightOut10:Ze(on+","+Ck,gt,wt),slideRightOut20:Ze(on+","+xk,gt,wt),slideRightOut40:Ze(on+","+wk,gt,wt),slideRightOut400:Ze(on+","+Sk,gt,wt),slideLeftOut10:Ze(on+","+Ek,gt,wt),slideLeftOut20:Ze(on+","+kk,gt,wt),slideLeftOut40:Ze(on+","+Ik,gt,wt),slideLeftOut400:Ze(on+","+Fk,gt,wt),slideUpOut10:Ze(on+","+Dk,gt,wt),slideUpOut20:Ze(on+","+Tk,gt,wt),slideDownOut10:Ze(on+","+Ak,gt,wt),slideDownOut20:Ze(on+","+Mk,gt,wt),scaleUpIn100:Ze(rn+","+Pk,gt,wt),scaleDownIn100:Ze(rn+","+Nk,gt,wt),scaleUpOut103:Ze(on+","+Lk,el,Jn),scaleDownOut98:Ze(on+","+Rk,el,Jn),fadeIn100:Ze(rn,el,Jn),fadeIn200:Ze(rn,Mh,Jn),fadeIn400:Ze(rn,gt,Jn),fadeIn500:Ze(rn,Ph,Jn),fadeOut100:Ze(on,el,Jn),fadeOut200:Ze(on,Mh,Jn),fadeOut400:Ze(on,gt,Jn),fadeOut500:Ze(on,Ph,Jn),rotate90deg:Ze(Bk,"0.1s",Jn),rotateN90deg:Ze(jk,"0.1s",Jn)};function Ze(n,r,t){return{animationName:n,animationDuration:r,animationTimingFunction:t,animationFillMode:"both"}}function ii(n){return Ot({from:{transform:"translate3d("+n+"px,0,0)",pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function Zc(n){return Ot({from:{transform:"translate3d(0,"+n+"px,0)",pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function si(n){return Ot({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+n+"px,0,0)"}})}function Xc(n){return Ot({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+n+"px,0)"}})}var Bv={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"},Ds;(function(n){n.depth0="0 0 0 0 transparent",n.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)",n.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)",n.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)",n.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)"})(Ds||(Ds={}));var jv={elevation4:Ds.depth4,elevation8:Ds.depth8,elevation16:Ds.depth16,elevation64:Ds.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},Bt;(function(n){n.Arabic="Segoe UI Web (Arabic)",n.Cyrillic="Segoe UI Web (Cyrillic)",n.EastEuropean="Segoe UI Web (East European)",n.Greek="Segoe UI Web (Greek)",n.Hebrew="Segoe UI Web (Hebrew)",n.Thai="Leelawadee UI Web",n.Vietnamese="Segoe UI Web (Vietnamese)",n.WestEuropean="Segoe UI Web (West European)",n.Selawik="Selawik Web",n.Armenian="Segoe UI Web (Armenian)",n.Georgian="Segoe UI Web (Georgian)"})(Bt||(Bt={}));var vt;(function(n){n.Arabic="'"+Bt.Arabic+"'",n.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",n.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",n.Cyrillic="'"+Bt.Cyrillic+"'",n.EastEuropean="'"+Bt.EastEuropean+"'",n.Greek="'"+Bt.Greek+"'",n.Hebrew="'"+Bt.Hebrew+"'",n.Hindi="'Nirmala UI'",n.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",n.Korean="'Malgun Gothic', Gulim",n.Selawik="'"+Bt.Selawik+"'",n.Thai="'Leelawadee UI Web', 'Kmer UI'",n.Vietnamese="'"+Bt.Vietnamese+"'",n.WestEuropean="'"+Bt.WestEuropean+"'",n.Armenian="'"+Bt.Armenian+"'",n.Georgian="'"+Bt.Georgian+"'"})(vt||(vt={}));var In;(function(n){n.size10="10px",n.size12="12px",n.size14="14px",n.size16="16px",n.size18="18px",n.size20="20px",n.size24="24px",n.size28="28px",n.size32="32px",n.size42="42px",n.size68="68px",n.mini="10px",n.xSmall="10px",n.small="12px",n.smallPlus="12px",n.medium="14px",n.mediumPlus="16px",n.icon="16px",n.large="18px",n.xLarge="20px",n.xLargePlus="24px",n.xxLarge="28px",n.xxLargePlus="32px",n.superLarge="42px",n.mega="68px"})(In||(In={}));var it;(function(n){n.light=100,n.semilight=300,n.regular=400,n.semibold=600,n.bold=700})(it||(it={}));var Sn;(function(n){n.xSmall="10px",n.small="12px",n.medium="16px",n.large="20px"})(Sn||(Sn={}));var Ok="'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif",Hk="'Segoe UI', '"+Bt.WestEuropean+"'",Yp={ar:vt.Arabic,bg:vt.Cyrillic,cs:vt.EastEuropean,el:vt.Greek,et:vt.EastEuropean,he:vt.Hebrew,hi:vt.Hindi,hr:vt.EastEuropean,hu:vt.EastEuropean,ja:vt.Japanese,kk:vt.EastEuropean,ko:vt.Korean,lt:vt.EastEuropean,lv:vt.EastEuropean,pl:vt.EastEuropean,ru:vt.Cyrillic,sk:vt.EastEuropean,"sr-latn":vt.EastEuropean,th:vt.Thai,tr:vt.EastEuropean,uk:vt.Cyrillic,vi:vt.Vietnamese,"zh-hans":vt.ChineseSimplified,"zh-hant":vt.ChineseTraditional,hy:vt.Armenian,ka:vt.Georgian};function Wk(n){return n+", "+Ok}function zk(n){for(var r in Yp)if(Yp.hasOwnProperty(r)&&n&&r.indexOf(n)===0)return Yp[r];return Hk}function Qn(n,r,t){return{fontFamily:t,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:n,fontWeight:r}}function Uk(n){var r=zk(n),t=Wk(r),e={tiny:Qn(In.mini,it.regular,t),xSmall:Qn(In.xSmall,it.regular,t),small:Qn(In.small,it.regular,t),smallPlus:Qn(In.smallPlus,it.regular,t),medium:Qn(In.medium,it.regular,t),mediumPlus:Qn(In.mediumPlus,it.regular,t),large:Qn(In.large,it.regular,t),xLarge:Qn(In.xLarge,it.semibold,t),xLargePlus:Qn(In.xLargePlus,it.semibold,t),xxLarge:Qn(In.xxLarge,it.semibold,t),xxLargePlus:Qn(In.xxLargePlus,it.semibold,t),superLarge:Qn(In.superLarge,it.semibold,t),mega:Qn(In.mega,it.semibold,t)};return e}var Gk="https://static2.sharepointonline.com/files/fabric/assets",Vk=Uk(KE());function Ti(n,r,t,e){n="'"+n+"'";var o=e!==void 0?"local('"+e+"'),":"";B_({fontFamily:n,src:o+("url('"+r+".woff2') format('woff2'),")+("url('"+r+".woff') format('woff')"),fontWeight:t,fontStyle:"normal",fontDisplay:"swap"})}function Nr(n,r,t,e,o){e===void 0&&(e="segoeui");var s=n+"/"+t+"/"+e;Ti(r,s+"-light",it.light,o&&o+" Light"),Ti(r,s+"-semilight",it.semilight,o&&o+" SemiLight"),Ti(r,s+"-regular",it.regular,o),Ti(r,s+"-semibold",it.semibold,o&&o+" SemiBold"),Ti(r,s+"-bold",it.bold,o&&o+" Bold")}function Kk(n){if(n){var r=n+"/fonts";Nr(r,Bt.Thai,"leelawadeeui-thai","leelawadeeui"),Nr(r,Bt.Arabic,"segoeui-arabic"),Nr(r,Bt.Cyrillic,"segoeui-cyrillic"),Nr(r,Bt.EastEuropean,"segoeui-easteuropean"),Nr(r,Bt.Greek,"segoeui-greek"),Nr(r,Bt.Hebrew,"segoeui-hebrew"),Nr(r,Bt.Vietnamese,"segoeui-vietnamese"),Nr(r,Bt.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Nr(r,vt.Selawik,"selawik","selawik"),Nr(r,Bt.Armenian,"segoeui-armenian"),Nr(r,Bt.Georgian,"segoeui-georgian"),Ti("Leelawadee UI Web",r+"/leelawadeeui-thai/leelawadeeui-semilight",it.light),Ti("Leelawadee UI Web",r+"/leelawadeeui-thai/leelawadeeui-bold",it.semibold)}}function $k(){var n,r,t,e=(n=Re())===null||n===void 0?void 0:n.FabricConfig;return t=(r=e)===null||r===void 0?void 0:r.fontBaseUrl,t??Gk}Kk($k());var re="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",qk="@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)",Zp=320,Qc=480,a0=640,Yk=1024,df=1366,_c=Qc-1,l0=a0-1,Zk=768;function Jc(n,r){var t=typeof n=="number"?" and (min-width: "+n+"px)":"",e=typeof r=="number"?" and (max-width: "+r+"px)":"";return"@media only screen"+t+e}function tt(){return{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}}var pl;(function(n){n.Nav=1,n.ScrollablePane=1,n.FocusStyle=1,n.Coachmark=1e3,n.Layer=1e6,n.KeytipLayer=1000001})(pl||(pl={}));function Jt(n,r,t,e,o,s,a){return typeof r=="number"||!r?Ov(n,{inset:r,position:t,highContrastStyle:e,borderColor:o,outlineColor:s,isFocusedOnly:a}):Ov(n,r)}function Ov(n,r){var t,e;r===void 0&&(r={});var o=r.inset,s=o===void 0?0:o,a=r.width,u=a===void 0?1:a,d=r.position,f=d===void 0?"relative":d,m=r.highContrastStyle,h=r.borderColor,g=h===void 0?n.palette.white:h,y=r.outlineColor,C=y===void 0?n.palette.neutralSecondary:y,x=r.isFocusedOnly,b=x===void 0?!0:x;return{outline:"transparent",position:f,selectors:(t={"::-moz-focus-inner":{border:"0"}},t["."+Lt+" &"+(b?":focus":"")+":after"]={content:'""',position:"absolute",left:s+1,top:s+1,bottom:s+1,right:s+1,border:u+"px solid "+g,outline:u+"px solid "+C,zIndex:pl.FocusStyle,selectors:(e={},e[re]=m,e)},t)}}function pf(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}var Hv=function(n,r,t,e){var o,s,a;t===void 0&&(t="border"),e===void 0&&(e=-1);var u=t==="borderBottom";return{borderColor:n,selectors:{":after":(o={pointerEvents:"none",content:"''",position:"absolute",left:u?0:e,top:e,bottom:e,right:u?0:e},o[t]="2px solid "+n,o.borderRadius=r,o.width=t==="borderBottom"?"100%":void 0,o.selectors=(s={},s[re]=(a={},a[t==="border"?"borderColor":"borderBottomColor"]="Highlight",a),s),o)}}},Ui={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden"},Xk="14s",Qk="2s",Jk="1";function rl(n,r){return{borderColor:n,borderWidth:"0px",width:r,height:r}}function bc(n){return{opacity:1,borderWidth:n}}function Cc(){return{opacity:1}}function xc(n,r){return{borderWidth:"0",width:r,height:r,opacity:0,borderColor:n}}function Vu(n,r){return k(k({},rl(n,r)),{opacity:0})}function eI(n,r,t,e,o){return Ot({"0%":rl(n,t),"1.42%":bc(o),"3.57%":Cc(),"7.14%":xc(r,e),"8%":Vu(n,t),"29.99%":Vu(n,t),"30%":rl(n,t),"31.42%":bc(o),"33.57%":Cc(),"37.14%":xc(r,e),"38%":Vu(n,t),"79.42%":Vu(n,t),"79.43":rl(n,t),"81.85":bc(o),"83.42":Cc(),"87%":xc(r,e),"100%":{}})}function tI(n,r,t,e,o){return Ot({"0%":rl(n,t),"14.2%":bc(o),"35.7%":Cc(),"71.4%":xc(r,e),"100%":{}})}function nI(n,r){return{animationName:n,animationIterationCount:Jk,animationDuration:Xk,animationDelay:r||Qk}}var Wv={continuousPulseAnimationDouble:eI,continuousPulseAnimationSingle:tI,createDefaultAnimation:nI},rI=st(function(n,r){var t=Er.getInstance();return r?Object.keys(n).reduce(function(e,o){return e[o]=t.getClassName(n[o]),e},{}):n});function ze(n,r,t){return rI(n,r.disableGlobalClassNames)}var Ts=function(){return Ts=Object.assign||function(n){for(var r,t=1,e=arguments.length;t<e;t++){r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},Ts.apply(this,arguments)},ol=typeof window>"u"?global:window,zv=ol&&ol.CSPSettings&&ol.CSPSettings.nonce,zr=oI();function oI(){var n=ol.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};return n.runState||(n=Ts(Ts({},n),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),n.registeredThemableStyles||(n=Ts(Ts({},n),{registeredThemableStyles:[]})),ol.__themeState__=n,n}function iI(n,r){zr.loadStyles?zr.loadStyles(u0(n).styleString,n):cI(n)}function sI(n){zr.theme=n,uI()}function aI(n){lI(zr.registeredThemableStyles),zr.registeredThemableStyles=[]}function lI(n){n.forEach(function(r){var t=r&&r.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function uI(){if(zr.theme){for(var n=[],r=0,t=zr.registeredThemableStyles;r<t.length;r++){var e=t[r];n.push(e.themableStyle)}n.length>0&&(aI(),iI([].concat.apply([],n)))}}function u0(n){var r=zr.theme,t=!1,e=(n||[]).map(function(o){var s=o.theme;if(s){t=!0;var a=r?r[s]:void 0,u=o.defaultValue||"inherit";return r&&!a&&console&&!(s in r)&&typeof DEBUG<"u"&&DEBUG&&console.warn('Theming value not provided for "'.concat(s,'". Falling back to "').concat(u,'".')),a||u}else return o.rawString});return{styleString:e.join(""),themable:t}}function cI(n){if(!(typeof document>"u")){var r=document.getElementsByTagName("head")[0],t=document.createElement("style"),e=u0(n),o=e.styleString,s=e.themable;t.setAttribute("data-load-themed-styles","true"),zv&&t.setAttribute("nonce",zv),t.appendChild(document.createTextNode(o)),zr.perf.count++,r.appendChild(t);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:t},document.dispatchEvent(a);var u={styleElement:t,themableStyle:n};s?zr.registeredThemableStyles.push(u):zr.registeredStyles.push(u)}}function dI(n,r,t,e,o){o===void 0&&(o=!1);var s=k({primaryButtonBorder:"transparent",errorText:e?"#F1707B":"#a4262c",messageText:e?"#F3F2F1":"#323130",messageLink:e?"#6CB8F6":"#005A9E",messageLinkHovered:e?"#82C7FF":"#004578",infoIcon:e?"#C8C6C4":"#605e5c",errorIcon:e?"#F1707B":"#A80000",blockingIcon:e?"#442726":"#FDE7E9",warningIcon:e?"#C8C6C4":"#797775",severeWarningIcon:e?"#FCE100":"#D83B01",successIcon:e?"#92C353":"#107C10",infoBackground:e?"#323130":"#f3f2f1",errorBackground:e?"#442726":"#FDE7E9",blockingBackground:e?"#442726":"#FDE7E9",warningBackground:e?"#433519":"#FFF4CE",severeWarningBackground:e?"#4F2A0F":"#FED9CC",successBackground:e?"#393D1B":"#DFF6DD",warningHighlight:e?"#fff100":"#ffb900",successText:e?"#92c353":"#107C10"},t),a=c0(n,r,s,e);return pI(a,o)}function c0(n,r,t,e,o){var s,a,u,d={},f=n||{},m=f.white,h=f.black,g=f.themePrimary,y=f.themeDark,C=f.themeDarker,x=f.themeDarkAlt,b=f.themeLighter,S=f.neutralLight,F=f.neutralLighter,D=f.neutralDark,A=f.neutralQuaternary,L=f.neutralQuaternaryAlt,j=f.neutralPrimary,M=f.neutralSecondary,R=f.neutralSecondaryAlt,P=f.neutralTertiary,W=f.neutralTertiaryAlt,Q=f.neutralLighterAlt,K=f.accent;return m&&(d.bodyBackground=m,d.bodyFrameBackground=m,d.accentButtonText=m,d.buttonBackground=m,d.primaryButtonText=m,d.primaryButtonTextHovered=m,d.primaryButtonTextPressed=m,d.inputBackground=m,d.inputForegroundChecked=m,d.listBackground=m,d.menuBackground=m,d.cardStandoutBackground=m),h&&(d.bodyTextChecked=h,d.buttonTextCheckedHovered=h),g&&(d.link=g,d.primaryButtonBackground=g,d.inputBackgroundChecked=g,d.inputIcon=g,d.inputFocusBorderAlt=g,d.menuIcon=g,d.menuHeader=g,d.accentButtonBackground=g),y&&(d.primaryButtonBackgroundPressed=y,d.inputBackgroundCheckedHovered=y,d.inputIconHovered=y),C&&(d.linkHovered=C),x&&(d.primaryButtonBackgroundHovered=x),b&&(d.inputPlaceholderBackgroundChecked=b),S&&(d.bodyBackgroundChecked=S,d.bodyFrameDivider=S,d.bodyDivider=S,d.variantBorder=S,d.buttonBackgroundCheckedHovered=S,d.buttonBackgroundPressed=S,d.listItemBackgroundChecked=S,d.listHeaderBackgroundPressed=S,d.menuItemBackgroundPressed=S,d.menuItemBackgroundChecked=S),F&&(d.bodyBackgroundHovered=F,d.buttonBackgroundHovered=F,d.buttonBackgroundDisabled=F,d.buttonBorderDisabled=F,d.primaryButtonBackgroundDisabled=F,d.disabledBackground=F,d.listItemBackgroundHovered=F,d.listHeaderBackgroundHovered=F,d.menuItemBackgroundHovered=F),A&&(d.primaryButtonTextDisabled=A,d.disabledSubtext=A),L&&(d.listItemBackgroundCheckedHovered=L),P&&(d.disabledBodyText=P,d.variantBorderHovered=((s=t)===null||s===void 0?void 0:s.variantBorderHovered)||P,d.buttonTextDisabled=P,d.inputIconDisabled=P,d.disabledText=P),j&&(d.bodyText=j,d.actionLink=j,d.buttonText=j,d.inputBorderHovered=j,d.inputText=j,d.listText=j,d.menuItemText=j),Q&&(d.bodyStandoutBackground=Q,d.defaultStateBackground=Q),D&&(d.actionLinkHovered=D,d.buttonTextHovered=D,d.buttonTextChecked=D,d.buttonTextPressed=D,d.inputTextHovered=D,d.menuItemTextHovered=D),M&&(d.bodySubtext=M,d.focusBorder=M,d.inputBorder=M,d.smallInputBorder=M,d.inputPlaceholderText=M),R&&(d.buttonBorder=R),W&&(d.disabledBodySubtext=W,d.disabledBorder=W,d.buttonBackgroundChecked=W,d.menuDivider=W),K&&(d.accentButtonBackground=K),!((a=r)===null||a===void 0)&&a.elevation4&&(d.cardShadow=r.elevation4),!e&&(!((u=r)===null||u===void 0)&&u.elevation8)?d.cardShadowHovered=r.elevation8:d.variantBorderHovered&&(d.cardShadowHovered="0 0 1px "+d.variantBorderHovered),d=k(k({},d),t),d}function pI(n,r){var t="";return r===!0&&(t=" /* @deprecated */"),n.listTextColor=n.listText+t,n.menuItemBackgroundChecked+=t,n.warningHighlight+=t,n.warningText=n.messageText+t,n.successText+=t,n}function hI(n,r){r===void 0&&(r={});var t,e,o,s,a=Rv({},n,r,{semanticColors:c0(r.palette,r.effects,r.semanticColors,r.isInverted===void 0?n.isInverted:r.isInverted)});if(!((t=r.palette)===null||t===void 0)&&t.themePrimary&&!(!((e=r.palette)===null||e===void 0)&&e.accent)&&(a.palette.accent=r.palette.themePrimary),r.defaultFontStyle)for(var u=0,d=Object.keys(a.fonts);u<d.length;u++){var f=d[u];a.fonts[f]=Rv(a.fonts[f],r.defaultFontStyle,(s=(o=r)===null||o===void 0?void 0:o.fonts)===null||s===void 0?void 0:s[f])}return r.stylesheets&&(a.stylesheets=(n.stylesheets||[]).concat(r.stylesheets)),a}var fI={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function Al(n,r){n===void 0&&(n={}),r===void 0&&(r=!1);var t=!!n.isInverted,e={palette:Bv,effects:jv,fonts:Vk,spacing:fI,isInverted:t,disableGlobalClassNames:!1,semanticColors:dI(Bv,jv,void 0,t,r),rtl:void 0};return hI(e,n)}var _r=Al({}),mI=[],Rh="theme";function d0(){var n,r,t,e,o,s=Re();!((t=(r=s)===null||r===void 0?void 0:r.FabricConfig)===null||t===void 0)&&t.legacyTheme?vI(s.FabricConfig.legacyTheme):wr.getSettings([Rh]).theme||(!((o=(e=s)===null||e===void 0?void 0:e.FabricConfig)===null||o===void 0)&&o.theme&&(_r=Al(s.FabricConfig.theme)),wr.applySettings((n={},n[Rh]=_r,n)))}d0();function gI(n){return n===void 0&&(n=!1),n===!0&&(_r=Al({},n)),_r}function vI(n,r){var t;return r===void 0&&(r=!1),_r=Al(n,r),sI(k(k(k(k({},_r.palette),_r.semanticColors),_r.effects),yI(_r))),wr.applySettings((t={},t[Rh]=_r,t)),mI.forEach(function(e){try{e(_r)}catch{}}),_r}function yI(n){for(var r={},t=0,e=Object.keys(n.fonts);t<e.length;t++)for(var o=e[t],s=n.fonts[o],a=0,u=Object.keys(s);a<u.length;a++){var d=u[a],f=o+d.charAt(0).toUpperCase()+d.slice(1),m=s[d];d==="fontSize"&&typeof m=="number"&&(m=m+"px"),r[f]=m}return r}var il={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},_I={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};function Uv(n){return{selectors:{"::placeholder":n,":-ms-input-placeholder":n,"::-ms-input-placeholder":n}}}var Tn=FS(s0);Qh("@uifabric/styling","7.25.0");d0();var ft={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13},ve;(function(n){n[n.top=1]="top",n[n.bottom=-1]="bottom",n[n.left=2]="left",n[n.right=-2]="right"})(ve||(ve={}));var Gv;(function(n){n[n.top=0]="top",n[n.bottom=1]="bottom",n[n.start=2]="start",n[n.end=3]="end"})(Gv||(Gv={}));var wn;function On(n,r,t){return{targetEdge:n,alignmentEdge:r,isAuto:t}}var Nh=(wn={},wn[ft.topLeftEdge]=On(ve.top,ve.left),wn[ft.topCenter]=On(ve.top),wn[ft.topRightEdge]=On(ve.top,ve.right),wn[ft.topAutoEdge]=On(ve.top,void 0,!0),wn[ft.bottomLeftEdge]=On(ve.bottom,ve.left),wn[ft.bottomCenter]=On(ve.bottom),wn[ft.bottomRightEdge]=On(ve.bottom,ve.right),wn[ft.bottomAutoEdge]=On(ve.bottom,void 0,!0),wn[ft.leftTopEdge]=On(ve.left,ve.top),wn[ft.leftCenter]=On(ve.left),wn[ft.leftBottomEdge]=On(ve.left,ve.bottom),wn[ft.rightTopEdge]=On(ve.right,ve.top),wn[ft.rightCenter]=On(ve.right),wn[ft.rightBottomEdge]=On(ve.right,ve.bottom),wn);function hf(n,r){return!(n.top<r.top||n.bottom>r.bottom||n.left<r.left||n.right>r.right)}function Lh(n,r){var t=[];return n.top<r.top&&t.push(ve.top),n.bottom>r.bottom&&t.push(ve.bottom),n.left<r.left&&t.push(ve.left),n.right>r.right&&t.push(ve.right),t}function ar(n,r){return n[ve[r]]}function Vv(n,r,t){return n[ve[r]]=t,n}function hl(n,r){var t=Ys(r);return(ar(n,t.positiveEdge)+ar(n,t.negativeEdge))/2}function ed(n,r){return n>0?r:r*-1}function Bh(n,r){return ed(n,ar(r,n))}function fl(n,r,t){var e=ar(n,t)-ar(r,t);return ed(t,e)}function td(n,r,t){var e=ar(n,r)-t;return n=Vv(n,r,t),n=Vv(n,r*-1,ar(n,r*-1)-e),n}function ml(n,r,t,e){return e===void 0&&(e=0),td(n,t,ar(r,t)+ed(t,e))}function bI(n,r,t,e){e===void 0&&(e=0);var o=t*-1,s=ed(o,e);return td(n,t*-1,ar(r,t)+s)}function jh(n,r,t){var e=Bh(t,n);return e>Bh(t,r)}function CI(n,r,t,e,o){o===void 0&&(o=0);var s=[ve.left,ve.right,ve.bottom,ve.top];ht()&&(s[0]*=-1,s[1]*=-1);for(var a=n,u=e.targetEdge,d=e.alignmentEdge,f=0;f<4;f++)if(!jh(a,t,u))s.splice(s.indexOf(u),1),s.length>0&&(s.indexOf(u*-1)>-1?u=u*-1:(d=u,u=s.slice(-1)[0]),a=ff(n,r,{targetEdge:u,alignmentEdge:d},o));else return{elementRectangle:a,targetEdge:u,alignmentEdge:d};return{elementRectangle:n,targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function xI(n,r,t,e){var o=n.alignmentEdge,s=n.targetEdge,a=n.elementRectangle,u=o*-1,d=ff(a,r,{targetEdge:s,alignmentEdge:u},t,e);return{elementRectangle:d,targetEdge:s,alignmentEdge:u}}function wI(n,r,t,e,o,s,a){o===void 0&&(o=0);var u=e.alignmentEdge,d=e.alignTargetEdge,f={elementRectangle:n,targetEdge:e.targetEdge,alignmentEdge:u};!s&&!a&&(f=CI(n,r,t,e,o));var m=Lh(n,t);if(d){if(f.alignmentEdge&&m.indexOf(f.alignmentEdge*-1)>-1){var h=xI(f,r,o,a);if(hf(h.elementRectangle,t))return h;f=Kv(Lh(h.elementRectangle,t),f,t)}}else f=Kv(m,f,t);return f}function Kv(n,r,t){for(var e=0,o=n;e<o.length;e++){var s=o[e];r.elementRectangle=ml(r.elementRectangle,t,s)}return r}function p0(n,r,t){var e=Ys(r).positiveEdge,o=hl(n,r),s=o-ar(n,e);return td(n,e,t-s)}function ff(n,r,t,e,o){e===void 0&&(e=0);var s,a=t.alignmentEdge,u=t.targetEdge,d=o?u:u*-1;if(s=o?ml(n,r,u,e):bI(n,r,u,e),a)s=ml(s,r,a);else{var f=hl(r,u);s=p0(s,d,f)}return s}function Ys(n){return n===ve.top||n===ve.bottom?{positiveEdge:ve.left,negativeEdge:ve.right}:{positiveEdge:ve.top,negativeEdge:ve.bottom}}function h0(n,r,t){return t&&Math.abs(fl(n,t,r))>Math.abs(fl(n,t,r*-1))?r*-1:r}function SI(n,r,t,e,o,s,a){var u={},d=nd(r),f=s?t:t*-1,m=ve[f],h=o||Ys(t).positiveEdge;return a||(h=h0(n,h,e)),u[m]=fl(n,d,f),u[ve[h]]=fl(n,d,h),u}function EI(n){return Math.sqrt(n*n*2)}function kI(n,r,t){if(n===void 0&&(n=ft.bottomAutoEdge),t)return{alignmentEdge:t.alignmentEdge,isAuto:t.isAuto,targetEdge:t.targetEdge};var e=k({},Nh[n]);return ht()?(e.alignmentEdge&&e.alignmentEdge%2===0&&(e.alignmentEdge=e.alignmentEdge*-1),r!==void 0?Nh[r]:e):e}function II(n,r,t,e,o){return n.isAuto&&(n.alignmentEdge=f0(n.targetEdge,r,t)),n.alignTargetEdge=o,n}function f0(n,r,t){var e=hl(r,n),o=hl(t,n),s=Ys(n),a=s.positiveEdge,u=s.negativeEdge;return e<=o?a:u}function FI(n,r,t,e,o,s,a){var u=ff(n,r,e,o,a);return hf(u,t)?{elementRectangle:u,targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}:wI(n,r,t,e,o,s,a)}function DI(n,r,t){var e=n.targetEdge*-1,o=new or(0,n.elementRectangle.width,0,n.elementRectangle.height),s={},a=h0(n.elementRectangle,n.alignmentEdge?n.alignmentEdge:Ys(e).positiveEdge,t);return s[ve[e]]=ar(r,e),s[ve[a]]=fl(r,o,a),{elementPosition:k({},s),closestEdge:f0(n.targetEdge,r,o),targetEdge:e}}function TI(n,r){var t=r.targetRectangle,e=Ys(r.targetEdge),o=e.positiveEdge,s=e.negativeEdge,a=hl(t,r.targetEdge),u=new or(n/2,r.elementRectangle.width-n/2,n/2,r.elementRectangle.height-n/2),d=new or(0,n,0,n);return d=td(d,r.targetEdge*-1,-n/2),d=p0(d,r.targetEdge*-1,a-Bh(o,r.elementRectangle)),jh(d,u,o)?jh(d,u,s)||(d=ml(d,u,s)):d=ml(d,u,o),d}function nd(n){var r=n.getBoundingClientRect();return new or(r.left,r.right,r.top,r.bottom)}function mf(n){return new or(n.left,n.right,n.top,n.bottom)}function AI(n,r){var t;if(r){if(r.preventDefault){var e=r;t=new or(e.clientX,e.clientX,e.clientY,e.clientY)}else if(r.getBoundingClientRect)t=nd(r);else{var o=r,s=o.left||o.x,a=o.top||o.y,u=o.right||s,d=o.bottom||a;t=new or(s,u,a,d)}if(!hf(t,n))for(var f=Lh(t,n),m=0,h=f;m<h.length;m++){var g=h[m];t[ve[g]]=n[ve[g]]}}else t=new or(0,0,0,0);return t}function MI(n,r,t,e,o){var s=0,a=Nh[r],u=o?a.targetEdge*-1:a.targetEdge;return u===ve.top?s=ar(n,a.targetEdge)-e.top-t:u===ve.bottom?s=e.bottom-ar(n,a.targetEdge)-t:s=e.bottom-n.top-t,s>0?s:e.height}function m0(n,r,t,e){var o=n.gapSpace?n.gapSpace:0,s=AI(t,n.target),a=II(kI(n.directionalHint,n.directionalHintForRTL,e),s,t,n.coverTarget,n.alignTargetEdge),u=FI(nd(r),s,t,a,o,n.directionalHintFixed,n.coverTarget);return k(k({},u),{targetRectangle:s})}function g0(n,r,t,e,o){var s=SI(n.elementRectangle,r,n.targetEdge,t,n.alignmentEdge,e,o);return{elementPosition:s,targetEdge:n.targetEdge,alignmentEdge:n.alignmentEdge}}function PI(n,r,t,e){var o=n.bounds?mf(n.bounds):new or(0,window.innerWidth-ef(),0,window.innerHeight),s=m0(n,t,o,e);return g0(s,r,o,n.coverTarget)}function v0(n,r,t,e,o){var s=n.isBeakVisible&&n.beakWidth||0,a=EI(s)/2+(n.gapSpace?n.gapSpace:0),u=n;u.gapSpace=a;var d=n.bounds?mf(n.bounds):new or(0,window.innerWidth-ef(),0,window.innerHeight),f=m0(u,t,d,e),m=TI(s,f),h=DI(f,m,d);return k(k({},g0(f,r,d,n.coverTarget,o)),{beakPosition:h})}function RI(n,r,t,e){return v0(n,r,t,e,!0)}function NI(n,r,t,e){return PI(n,r,t,e)}function LI(n,r,t,e){return v0(n,r,t,e)}function BI(n,r,t,e){return RI(n,r,t,e)}function y0(n,r,t,e,o){t===void 0&&(t=0);var s=n,a=n,u=n,d,f=e?mf(e):new or(0,window.innerWidth-ef(),0,window.innerHeight),m=u.left||u.x,h=u.top||u.y,g=u.right||m,y=u.bottom||h;return s.stopPropagation?d=new or(s.clientX,s.clientX,s.clientY,s.clientY):m!==void 0&&h!==void 0?d=new or(m,g,h,y):d=nd(a),MI(d,r,t,f,o)}function jI(n){return n*-1}function OI(n,r){var t=void 0;if(r.getWindowSegments&&(t=r.getWindowSegments()),t===void 0||t.length<=1)return{top:0,left:0,right:r.innerWidth,bottom:r.innerHeight,width:r.innerWidth,height:r.innerHeight};var e=0,o=0;if(n!==null&&n.getBoundingClientRect){var s=n.getBoundingClientRect();e=(s.left+s.right)/2,o=(s.top+s.bottom)/2}else n!==null&&(e=n.left||n.x,o=n.top||n.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},u=0,d=t;u<d.length;u++){var f=d[u];e&&f.left<=e&&f.right>=e&&o&&f.top<=o&&f.bottom>=o&&(a={top:f.top,left:f.left,right:f.right,bottom:f.bottom,width:f.width,height:f.height})}return a}function HI(n,r){return OI(n,r)}var Ml=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._root=_.createRef(),e._disposables=[],e._onKeyDown=function(o){switch(o.which){case he.escape:e.props.onDismiss&&(e.props.onDismiss(o),o.preventDefault(),o.stopPropagation());break}},e._onFocus=function(){e._containsFocus=!0},e._onBlur=function(o){e._root.current&&o.relatedTarget&&!Pt(e._root.current,o.relatedTarget)&&(e._containsFocus=!1)},e._async=new tn(e),e.state={needsVerticalScrollBar:!1},e}return r.prototype.UNSAFE_componentWillMount=function(){this._originalFocusedElement=jt().activeElement},r.prototype.componentDidMount=function(){if(this._root.current){this._disposables.push(xr(this._root.current,"focus",this._onFocus,!0),xr(this._root.current,"blur",this._onBlur,!0));var t=Re(this._root.current);t&&this._disposables.push(xr(t,"keydown",this._onKeyDown)),hE(this._root.current)&&(this._containsFocus=!0)}this._updateScrollBarAsync()},r.prototype.componentDidUpdate=function(){this._updateScrollBarAsync(),this._async.dispose()},r.prototype.componentWillUnmount=function(){var t;if(this._disposables.forEach(function(s){return s()}),this.props.shouldRestoreFocus){var e=this.props.onRestoreFocus,o=e===void 0?WI:e;o({originalElement:this._originalFocusedElement,containsFocus:this._containsFocus,documentContainsFocus:((t=jt())===null||t===void 0?void 0:t.hasFocus())||!1})}delete this._originalFocusedElement},r.prototype.render=function(){var t=this.props,e=t.role,o=t.className,s=t.ariaLabel,a=t.ariaLabelledBy,u=t.ariaDescribedBy,d=t.style;return _.createElement("div",k({ref:this._root},qe(this.props,en),{className:o,role:e,"aria-label":s,"aria-labelledby":a,"aria-describedby":u,onKeyDown:this._onKeyDown,style:k({overflowY:this.state.needsVerticalScrollBar?"scroll":void 0,outline:"none"},d)}),this.props.children)},r.prototype._updateScrollBarAsync=function(){var t=this;this._async.requestAnimationFrame(function(){t._getScrollBar()})},r.prototype._getScrollBar=function(){if(!(this.props.style&&this.props.style.overflowY)){var t=!1;if(this._root&&this._root.current&&this._root.current.firstElementChild){var e=this._root.current.clientHeight,o=this._root.current.firstElementChild.clientHeight;e>0&&o>e&&(t=o-e>1)}this.state.needsVerticalScrollBar!==t&&this.setState({needsVerticalScrollBar:t})}},r.defaultProps={shouldRestoreFocus:!0},r})(_.Component);function WI(n){var r=n.originalElement,t=n.containsFocus;r&&t&&r!==window&&r.focus&&r.focus()}var Ss,zI=(Ss={},Ss[ve.top]=Tn.slideUpIn10,Ss[ve.bottom]=Tn.slideDownIn10,Ss[ve.left]=Tn.slideLeftIn10,Ss[ve.right]=Tn.slideRightIn10,Ss),UI=ke({disableCaching:!0}),$v={top:0,left:0},GI={opacity:0,filter:"opacity(0)",pointerEvents:"none"},qv=["role","aria-roledescription"],VI=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._hostElement=_.createRef(),e._calloutElement=_.createRef(),e._hasListeners=!1,e._disposables=[],e.dismiss=function(o){var s=e.props.onDismiss;s&&s(o)},e._dismissOnScroll=function(o){var s=e.props,a=s.preventDismissOnEvent,u=s.preventDismissOnScroll;e.state.positions&&(a&&!a(o)||!a&&!u)&&e._dismissOnClickOrScroll(o)},e._dismissOnResize=function(o){var s=e.props,a=s.preventDismissOnEvent,u=s.preventDismissOnResize;(a&&!a(o)||!a&&!u)&&e.dismiss(o)},e._dismissOnLostFocus=function(o){var s=e.props,a=s.preventDismissOnEvent,u=s.preventDismissOnLostFocus;(a&&!a(o)||!a&&!u)&&e._dismissOnClickOrScroll(o)},e._setInitialFocus=function(){e.props.setInitialFocus&&!e._didSetInitialFocus&&e.state.positions&&e._calloutElement.current&&(e._didSetInitialFocus=!0,e._async.requestAnimationFrame(function(){return $c(e._calloutElement.current)},e._calloutElement.current))},e._onComponentDidMount=function(){e._addListeners(),e.props.onLayerMounted&&e.props.onLayerMounted(),e._updateAsyncPosition(),e._setHeightOffsetEveryFrame()},e._dismissOnTargetWindowBlur=function(o){var s=e.props,a=s.preventDismissOnEvent,u=s.preventDismissOnLostFocus,d=s.shouldDismissOnWindowFocus;d&&(a&&!a(o)||!a&&!u)&&!e._targetWindow.document.hasFocus()&&o.relatedTarget===null&&e.dismiss(o)},e._mouseDownOnPopup=function(){e._isMouseDownOnPopup=!0},e._mouseUpOnPopup=function(){e._isMouseDownOnPopup=!1},e._async=new tn(e),e._didSetInitialFocus=!1,e.state={positions:void 0,slideDirectionalClassName:void 0,calloutElementRect:void 0,heightOffset:0},e._positionAttempts=0,e}return r.prototype.componentDidUpdate=function(){this.props.hidden?this._hasListeners&&this._removeListeners():(this._setInitialFocus(),this._hasListeners||this._addListeners(),this._updateAsyncPosition())},r.prototype.shouldComponentUpdate=function(t,e){return!t.shouldUpdateWhenHidden&&this.props.hidden&&t.hidden?!1:!so(this.props,t)||!so(this.state,e)},r.prototype.UNSAFE_componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())},r.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposables.forEach(function(t){return t()})},r.prototype.UNSAFE_componentWillUpdate=function(t){var e=this._getTarget(t),o=this._getTarget();(e!==o||typeof e=="string"||e instanceof String)&&!this._blockResetHeight&&(this._maxHeight=void 0,this._setTargetWindowAndElement(e)),(t.gapSpace!==this.props.gapSpace||this.props.beakWidth!==t.beakWidth)&&(this._maxHeight=void 0),t.finalHeight!==this.props.finalHeight&&this._setHeightOffsetEveryFrame(),this._didPositionPropsChange(t,this.props)&&(this._maxHeight=void 0,this._setTargetWindowAndElement(e),this.setState({positions:void 0}),this._didSetInitialFocus=!1,this._bounds=void 0),this._blockResetHeight=!1},r.prototype.componentDidMount=function(){this.props.hidden||this._onComponentDidMount()},r.prototype.render=function(){if(!this._targetWindow)return null;var t=this.props.target,e=this.props,o=e.styles,s=e.style,a=e.ariaLabel,u=e.ariaDescribedBy,d=e.ariaLabelledBy,f=e.className,m=e.isBeakVisible,h=e.children,g=e.beakWidth,y=e.calloutWidth,C=e.calloutMaxWidth,x=e.calloutMinWidth,b=e.finalHeight,S=e.hideOverflow,F=S===void 0?!!b:S,D=e.backgroundColor,A=e.calloutMaxHeight,L=e.onScroll,j=e.shouldRestoreFocus,M=j===void 0?!0:j,R=e.popupProps;t=this._getTarget();var P=this.state.positions,W=this._getMaxHeight()?this._getMaxHeight()+this.state.heightOffset:void 0,Q=A&&W&&A<W?A:W,K=F,J=m&&!!t;this._classNames=UI(o,{theme:this.props.theme,className:f,overflowYHidden:K,calloutWidth:y,positions:P,beakWidth:g,backgroundColor:D,calloutMinWidth:x,calloutMaxWidth:C});var ne=k(k(k({},s),{maxHeight:Q}),K&&{overflowY:"hidden"}),ie=this.props.hidden?{visibility:"hidden"}:void 0,fe=_.createElement("div",{ref:this._hostElement,className:this._classNames.container,style:ie},_.createElement("div",k({},qe(this.props,en,qv),{className:Et(this._classNames.root,P&&P.targetEdge&&zI[P.targetEdge]),style:P?P.elementPosition:GI,tabIndex:-1,ref:this._calloutElement}),J&&_.createElement("div",{className:this._classNames.beak,style:this._getBeakPosition()}),J&&_.createElement("div",{className:this._classNames.beakCurtain}),_.createElement(Ml,k({},qe(this.props,qv),{ariaLabel:a,onRestoreFocus:this.props.onRestoreFocus,ariaDescribedBy:u,ariaLabelledBy:d,className:this._classNames.calloutMain,onDismiss:this.dismiss,onScroll:L,shouldRestoreFocus:M,style:ne,onMouseDown:this._mouseDownOnPopup,onMouseUp:this._mouseUpOnPopup},R),h)));return fe},r.prototype._dismissOnClickOrScroll=function(t){var e=t.target,o=this._hostElement.current&&!Pt(this._hostElement.current,e);if(o&&this._isMouseDownOnPopup){this._isMouseDownOnPopup=!1;return}(!this._target&&o||t.target!==this._targetWindow&&o&&(this._target.stopPropagation||!this._target||this.props.dismissOnTargetClick||e!==this._target&&!Pt(this._target,e)))&&this.dismiss(t)},r.prototype._addListeners=function(){var t=this;this._async.setTimeout(function(){t._disposables.push(xr(t._targetWindow,"scroll",t._dismissOnScroll,!0),xr(t._targetWindow,"resize",t._dismissOnResize,!0),xr(t._targetWindow.document.documentElement,"focus",t._dismissOnLostFocus,!0),xr(t._targetWindow.document.documentElement,"click",t._dismissOnLostFocus,!0),xr(t._targetWindow,"blur",t._dismissOnTargetWindowBlur,!0)),t._hasListeners=!0},0)},r.prototype._removeListeners=function(){this._disposables.forEach(function(t){return t()}),this._disposables=[],this._hasListeners=!1},r.prototype._updateAsyncPosition=function(){var t=this;this._async.requestAnimationFrame(function(){return t._updatePosition()},this._calloutElement.current)},r.prototype._getBeakPosition=function(){var t=this.state.positions,e=k({},t&&t.beakPosition?t.beakPosition.elementPosition:null);return!e.top&&!e.bottom&&!e.left&&!e.right&&(e.left=$v.left,e.top=$v.top),e},r.prototype._updatePosition=function(){this._setTargetWindowAndElement(this._getTarget());var t=this.state.positions,e=this._hostElement.current,o=this._calloutElement.current,s=!!this.props.target;if(e&&o&&(!s||this._target)){var a=k({},this.props);a.bounds=this._getBounds(),a.target=this._target;var u=this.props.finalHeight?BI(a,e,o,t):LI(a,e,o,t);!t&&u||t&&u&&!this._arePositionsEqual(t,u)&&this._positionAttempts<5?(this._positionAttempts++,this.setState({positions:u})):this._positionAttempts>0&&(this._positionAttempts=0,this.props.onPositioned&&this.props.onPositioned(this.state.positions))}},r.prototype._getBounds=function(){if(!this._bounds){var t=this.props.bounds,e=typeof t=="function"?t(this.props.target,this._targetWindow):t;e||(e=HI(this._target,this._targetWindow),e={top:e.top+this.props.minPagePadding,left:e.left+this.props.minPagePadding,right:e.right-this.props.minPagePadding,bottom:e.bottom-this.props.minPagePadding,width:e.width-this.props.minPagePadding*2,height:e.height-this.props.minPagePadding*2}),this._bounds=e}return this._bounds},r.prototype._getMaxHeight=function(){var t=this;if(!this._maxHeight)if(this.props.directionalHintFixed&&this._target){var e=this.props.isBeakVisible?this.props.beakWidth:0,o=this.props.gapSpace?this.props.gapSpace:0,s=o+e;this._async.requestAnimationFrame(function(){t._target&&(t._maxHeight=y0(t._target,t.props.directionalHint,s,t._getBounds(),t.props.coverTarget),t._blockResetHeight=!0,t.forceUpdate())},this._target)}else this._maxHeight=this._getBounds().height;return this._maxHeight},r.prototype._arePositionsEqual=function(t,e){return this._comparePositions(t.elementPosition,e.elementPosition)&&this._comparePositions(t.beakPosition.elementPosition,e.beakPosition.elementPosition)},r.prototype._comparePositions=function(t,e){for(var o in e)if(e.hasOwnProperty(o)){var s=t[o],a=e[o];if(s!==void 0&&a!==void 0){if(s.toFixed(2)!==a.toFixed(2))return!1}else return!1}return!0},r.prototype._setTargetWindowAndElement=function(t){var e=this._calloutElement.current;if(t)if(typeof t=="string"){var o=jt(e);this._target=o?o.querySelector(t):null,this._targetWindow=Re(e)}else if(t.stopPropagation)this._targetWindow=Re(t.target),this._target=t;else if(t.getBoundingClientRect){var s=t;this._targetWindow=Re(s),this._target=s}else t.current!==void 0?(this._target=t.current,this._targetWindow=Re(this._target)):(this._targetWindow=Re(e),this._target=t);else this._targetWindow=Re(e)},r.prototype._setHeightOffsetEveryFrame=function(){var t=this;this._calloutElement.current&&this.props.finalHeight&&(this._setHeightOffsetTimer=this._async.requestAnimationFrame(function(){var e=t._calloutElement.current&&t._calloutElement.current.lastChild;if(e){var o=e.scrollHeight,s=e.offsetHeight,a=o-s;t.setState({heightOffset:t.state.heightOffset+a}),e.offsetHeight<t.props.finalHeight?t._setHeightOffsetEveryFrame():t._async.cancelAnimationFrame(t._setHeightOffsetTimer,t._calloutElement.current)}},this._calloutElement.current))},r.prototype._didPositionPropsChange=function(t,e){return!t.hidden&&t.hidden!==e.hidden||t.directionalHint!==e.directionalHint||t.target!==e.target},r.prototype._getTarget=function(t){t===void 0&&(t=this.props);var e=t.target;return e},r.defaultProps={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:ft.bottomAutoEdge},r})(_.Component);function KI(n){return{height:n,width:n}}var $I={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},qI=function(n){var r,t=n.theme,e=n.className,o=n.overflowYHidden,s=n.calloutWidth,a=n.beakWidth,u=n.backgroundColor,d=n.calloutMaxWidth,f=n.calloutMinWidth,m=ze($I,t),h=t.semanticColors,g=t.effects;return{container:[m.container,{position:"relative"}],root:[m.root,t.fonts.medium,{position:"absolute",boxSizing:"border-box",borderRadius:g.roundedCorner2,boxShadow:g.elevation16,selectors:(r={},r[re]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},r)},pf(),e,!!s&&{width:s},!!d&&{maxWidth:d},!!f&&{minWidth:f}],beak:[m.beak,{position:"absolute",backgroundColor:h.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},KI(a),u&&{backgroundColor:u}],beakCurtain:[m.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:h.menuBackground,borderRadius:g.roundedCorner2}],calloutMain:[m.calloutMain,{backgroundColor:h.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:g.roundedCorner2},o&&{overflowY:"hidden"},u&&{backgroundColor:u}]}},YI=Fe(VI,qI,void 0,{scope:"CalloutContent"}),ZI=ke(),XI=st(function(n,r){return Al(k(k({},n),{rtl:r}))}),QI=function(n,r){var t=ht(n)?"rtl":"ltr",e=ht()?"rtl":"ltr",o=r||t;return{rootDir:o!==t||o!==e?o:r,needsTheme:o!==t}},JI=(function(n){be(r,n);function r(){var t=n!==null&&n.apply(this,arguments)||this;return t._rootElement=_.createRef(),t._removeClassNameFromBody=void 0,t}return r.prototype.render=function(){var t=this.props,e=t.as,o=e===void 0?"div":e,s=t.theme,a=t.dir,u=this._getClassNames(),d=qe(this.props,en,["dir"]),f=QI(s,a),m=f.rootDir,h=f.needsTheme,g=_.createElement(o,k({dir:m},d,{className:u.root,ref:this._rootElement}));return h&&(g=_.createElement(iE,{settings:{theme:XI(s,a==="rtl")}},g)),_.createElement(_.Fragment,null,g,_.createElement(qs,{rootRef:this._rootElement}))},r.prototype.componentDidMount=function(){this._addClassNameToBody()},r.prototype.componentWillUnmount=function(){this._removeClassNameFromBody&&this._removeClassNameFromBody()},r.prototype._getClassNames=function(){var t=this.props,e=t.className,o=t.theme,s=t.applyTheme,a=t.styles,u=ZI(a,{theme:o,applyTheme:s,className:e});return u},r.prototype._addClassNameToBody=function(){if(this.props.applyThemeToBody){var t=this._getClassNames(),e=jt(this._rootElement.current);e&&(e.body.classList.add(t.bodyThemed),this._removeClassNameFromBody=function(){e.body.classList.remove(t.bodyThemed)})}},r})(_.Component),Xp={fontFamily:"inherit"},eF={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},tF=function(n){var r=n.theme,t=n.className,e=n.applyTheme,o=ze(eF,r);return{root:[o.root,r.fonts.medium,{color:r.palette.neutralPrimary,selectors:{"& button":Xp,"& input":Xp,"& textarea":Xp}},e&&{color:r.semanticColors.bodyText,backgroundColor:r.semanticColors.bodyBackground},t],bodyThemed:[{backgroundColor:r.semanticColors.bodyBackground}]}},nF=Fe(JI,tF,void 0,{scope:"Fabric"}),sl={},gf={},rF;function oF(n,r){sl[n]||(sl[n]=[]),sl[n].push(r);var t=gf[n];if(t)for(var e=0,o=t;e<o.length;e++){var s=o[e];s.notifyLayersChanged()}}function iF(n,r){var t=sl[n];if(t){var e=t.indexOf(r);e>=0&&(t.splice(e,1),t.length===0&&delete sl[n])}var o=gf[n];if(o)for(var s=0,a=o;s<a.length;s++){var u=a[s];u.notifyLayersChanged()}}function sF(n){var r=gf[n];return r&&r[0]||void 0}function aF(){return rF}var lF=ke(),uF=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._rootRef=_.createRef(),e._createLayerElement=function(){var o,s,a=e.props.hostId,u=jt(e._rootRef.current),d=e._getHost();if(d){e._removeLayerElement();var f=(s=(o=d.ownerDocument,o??u))===null||s===void 0?void 0:s.createElement("div");if(f){var m=e._getClassNames();f.className=m.root,US(f),wv(f,e._rootRef.current),e.props.insertFirst?d.insertBefore(f,d.firstChild):d.appendChild(f),e.setState({hostId:a,layerElement:f},function(){var h=e.props,g=h.onLayerDidMount,y=h.onLayerMounted;y&&y(),g&&g()})}}},e.state={},e}return r.prototype.componentDidMount=function(){var t=this.props.hostId;this._createLayerElement(),t&&oF(t,this._createLayerElement)},r.prototype.render=function(){var t=this.state.layerElement,e=this._getClassNames(),o=this.props.eventBubblingEnabled;return _.createElement("span",{className:"ms-layer",ref:this._rootRef},t&&XC.createPortal(_.createElement(nF,k({},!o&&dF(),{className:e.content}),this.props.children),t))},r.prototype.componentDidUpdate=function(){this.props.hostId!==this.state.hostId&&this._createLayerElement()},r.prototype.componentWillUnmount=function(){var t=this.props.hostId;this._removeLayerElement(),t&&iF(t,this._createLayerElement)},r.prototype._removeLayerElement=function(){var t=this.props.onLayerWillUnmount,e=this.state.layerElement;if(e&&wv(e,null),t&&t(),e&&e.parentNode){var o=e.parentNode;o&&o.removeChild(e)}},r.prototype._getClassNames=function(){var t=this.props,e=t.className,o=t.styles,s=t.theme,a=lF(o,{theme:s,className:e,isNotHost:!this.props.hostId});return a},r.prototype._getHost=function(){var t,e,o,s,a,u,d=this.props.hostId,f=jt(this._rootRef.current);if(d){var m=sF(d);return m?(t=m.rootRef.current,t??null):(o=(e=f)===null||e===void 0?void 0:e.getElementById(d),o??null)}else{var h=aF();return u=h?(s=f)===null||s===void 0?void 0:s.querySelector(h):(a=f)===null||a===void 0?void 0:a.body,u??null}},r.defaultProps={onLayerDidMount:function(){},onLayerWillUnmount:function(){}},r=Ir([$s("Layer",["theme","hostId"])],r),r})(_.Component),cF=function(n){n.eventPhase===Event.BUBBLING_PHASE&&n.type!=="mouseenter"&&n.type!=="mouseleave"&&n.type!=="touchstart"&&n.type!=="touchend"&&n.stopPropagation()},Ku;function dF(){return Ku||(Ku={},["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(n){return Ku[n]=cF})),Ku}var pF={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},hF=function(n){var r=n.className,t=n.isNotHost,e=n.theme,o=ze(pF,e);return{root:[o.root,e.fonts.medium,t&&[o.rootNoHost,{position:"fixed",zIndex:pl.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],r],content:[o.content,{visibility:"visible"}]}},Gi=Fe(uF,hF,void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Pl=(function(n){be(r,n);function r(){return n!==null&&n.apply(this,arguments)||this}return r.prototype.render=function(){var t=this.props,e=t.layerProps,o=Vn(t,["layerProps"]),s=_.createElement(YI,k({},o));return this.props.doNotLayer?s:_.createElement(Gi,k({},e),s)},r})(_.Component),Zs=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._root=_.createRef(),e._firstBumper=_.createRef(),e._lastBumper=_.createRef(),e._hasFocus=!1,e._onRootFocus=function(o){e.props.onFocus&&e.props.onFocus(o),e._hasFocus=!0},e._onRootBlur=function(o){e.props.onBlur&&e.props.onBlur(o);var s=o.relatedTarget;o.relatedTarget===null&&(s=e._getDocument().activeElement),Pt(e._root.current,s)||(e._hasFocus=!1)},e._onFirstBumperFocus=function(){e._onBumperFocus(!0)},e._onLastBumperFocus=function(){e._onBumperFocus(!1)},e._onBumperFocus=function(o){if(!e.props.disabled){var s=o===e._hasFocus?e._lastBumper.current:e._firstBumper.current;if(e._root.current){var a=o===e._hasFocus?pE(e._root.current,s,!0,!1):dE(e._root.current,s,!0,!1);a&&(e._isBumper(a)?e.focus():a.focus())}}},e._onFocusCapture=function(o){e.props.onFocusCapture&&e.props.onFocusCapture(o),o.target!==o.currentTarget&&!e._isBumper(o.target)&&(e._previouslyFocusedElementInTrapZone=o.target)},e._forceFocusInTrap=function(o){if(!e.props.disabled&&r._focusStack.length&&e===r._focusStack[r._focusStack.length-1]){var s=e._getDocument().activeElement;if(!Pt(e._root.current,s)){var a=e._getDocument();a&&a.activeElement===a.body?setTimeout(function(){a&&a.activeElement===a.body&&(e.focus(),e._hasFocus=!0)},0):(e.focus(),e._hasFocus=!0),o.preventDefault(),o.stopPropagation()}}},e._forceClickInTrap=function(o){if(!e.props.disabled&&r._focusStack.length&&e===r._focusStack[r._focusStack.length-1]){var s=o.target;s&&!Pt(e._root.current,s)&&(e.focus(),e._hasFocus=!0,o.preventDefault(),o.stopPropagation())}},rt(e),e}return r.prototype.componentDidMount=function(){this._bringFocusIntoZone(),this._updateEventHandlers(this.props),!this.props.disabled&&this._root.current&&this.props.enableAriaHiddenSiblings&&(this._unmodalize=Nv(this._root.current))},r.prototype.UNSAFE_componentWillReceiveProps=function(t){var e=t.elementToFocusOnDismiss;e&&this._previouslyFocusedElementOutsideTrapZone!==e&&(this._previouslyFocusedElementOutsideTrapZone=e),this._updateEventHandlers(t)},r.prototype.componentDidUpdate=function(t){var e=t.forceFocusInsideTrap!==void 0?t.forceFocusInsideTrap:!0,o=this.props.forceFocusInsideTrap!==void 0?this.props.forceFocusInsideTrap:!0,s=t.disabled!==void 0?t.disabled:!1,a=this.props.disabled!==void 0?this.props.disabled:!1;!e&&o||s&&!a?(this._bringFocusIntoZone(),!this._unmodalize&&this._root.current&&this.props.enableAriaHiddenSiblings&&(this._unmodalize=Nv(this._root.current))):(e&&!o||!s&&a)&&(this._returnFocusToInitiator(),this._unmodalize&&this._unmodalize())},r.prototype.componentWillUnmount=function(){(!this.props.disabled||this.props.forceFocusInsideTrap||!Pt(this._root.current,this._getDocument().activeElement))&&this._returnFocusToInitiator(),this._disposeClickHandler&&(this._disposeClickHandler(),this._disposeClickHandler=void 0),this._disposeFocusHandler&&(this._disposeFocusHandler(),this._disposeFocusHandler=void 0),this._unmodalize&&this._unmodalize(),delete this._previouslyFocusedElementInTrapZone,delete this._previouslyFocusedElementOutsideTrapZone},r.prototype.render=function(){var t=this.props,e=t.className,o=t.disabled,s=o===void 0?!1:o,a=t.ariaLabelledBy,u=qe(this.props,en),d={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:s?-1:0,"data-is-visible":!0};return _.createElement("div",k({},u,{className:e,ref:this._root,"aria-labelledby":a,onFocusCapture:this._onFocusCapture,onFocus:this._onRootFocus,onBlur:this._onRootBlur}),_.createElement("div",k({},d,{ref:this._firstBumper,onFocus:this._onFirstBumperFocus})),this.props.children,_.createElement("div",k({},d,{ref:this._lastBumper,onFocus:this._onLastBumperFocus})))},r.prototype.focus=function(){var t=this.props,e=t.focusPreviouslyFocusedInnerElement,o=t.firstFocusableSelector,s=t.firstFocusableTarget;if(e&&this._previouslyFocusedElementInTrapZone&&Pt(this._root.current,this._previouslyFocusedElementInTrapZone)){this._focusAsync(this._previouslyFocusedElementInTrapZone);return}var a=typeof o=="string"?o:o&&o(),u=null;this._root.current&&(typeof s=="string"?u=this._root.current.querySelector(s):s?u=s(this._root.current):a&&(u=this._root.current.querySelector("."+a)),u||(u=Dn(this._root.current,this._root.current.firstChild,!1,!1,!1,!0))),u&&this._focusAsync(u)},r.prototype._focusAsync=function(t){this._isBumper(t)||t0(t)},r.prototype._bringFocusIntoZone=function(){var t=this.props,e=t.elementToFocusOnDismiss,o=t.disabled,s=o===void 0?!1:o,a=t.disableFirstFocus,u=a===void 0?!1:a;s||(r._focusStack.push(this),this._previouslyFocusedElementOutsideTrapZone=e||this._getDocument().activeElement,!u&&!Pt(this._root.current,this._previouslyFocusedElementOutsideTrapZone)&&this.focus())},r.prototype._returnFocusToInitiator=function(){var t=this,e=this.props.ignoreExternalFocusing;r._focusStack=r._focusStack.filter(function(a){return t!==a});var o=this._getDocument(),s=o.activeElement;!e&&this._previouslyFocusedElementOutsideTrapZone&&typeof this._previouslyFocusedElementOutsideTrapZone.focus=="function"&&(Pt(this._root.current,s)||s===o.body)&&this._focusAsync(this._previouslyFocusedElementOutsideTrapZone)},r.prototype._updateEventHandlers=function(t){var e=t.isClickableOutsideFocusTrap,o=e===void 0?!1:e,s=t.forceFocusInsideTrap,a=s===void 0?!0:s;a&&!this._disposeFocusHandler?this._disposeFocusHandler=xr(window,"focus",this._forceFocusInTrap,!0):!a&&this._disposeFocusHandler&&(this._disposeFocusHandler(),this._disposeFocusHandler=void 0),!o&&!this._disposeClickHandler?this._disposeClickHandler=xr(window,"click",this._forceClickInTrap,!0):o&&this._disposeClickHandler&&(this._disposeClickHandler(),this._disposeClickHandler=void 0)},r.prototype._isBumper=function(t){return t===this._firstBumper.current||t===this._lastBumper.current},r.prototype._getDocument=function(){return jt(this._root.current)},r._focusStack=[],r})(_.Component),fF=ke(),mF=(function(n){be(r,n);function r(){var t=n!==null&&n.apply(this,arguments)||this;return t._onRenderContent=function(e){return _.createElement("p",{className:t._classNames.subText},e.content)},t}return r.prototype.render=function(){var t=this.props,e=t.className,o=t.calloutProps,s=t.directionalHint,a=t.directionalHintForRTL,u=t.styles,d=t.id,f=t.maxWidth,m=t.onRenderContent,h=m===void 0?this._onRenderContent:m,g=t.targetElement,y=t.theme;return this._classNames=fF(u,{theme:y,className:e||o&&o.className,beakWidth:o&&o.beakWidth,gapSpace:o&&o.gapSpace,maxWidth:f}),_.createElement(Pl,k({target:g,directionalHint:s,directionalHintForRTL:a},o,qe(this.props,en,["id"]),{className:this._classNames.root}),_.createElement("div",{className:this._classNames.content,id:d,role:"tooltip",onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},h(this.props,this._onRenderContent)))},r.defaultProps={directionalHint:ft.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},r})(_.Component),gF=function(n){var r=n.className,t=n.beakWidth,e=t===void 0?16:t,o=n.gapSpace,s=o===void 0?0:o,a=n.maxWidth,u=n.theme,d=u.semanticColors,f=u.fonts,m=u.effects,h=-(Math.sqrt(e*e/2)+s)+1/window.devicePixelRatio;return{root:["ms-Tooltip",u.fonts.medium,Tn.fadeIn200,{background:d.menuBackground,boxShadow:m.elevation8,padding:"8px",maxWidth:a,selectors:{":after":{content:"''",position:"absolute",bottom:h,left:h,right:h,top:h,zIndex:0}}},r],content:["ms-Tooltip-content",f.small,{position:"relative",zIndex:1,color:d.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}},vF=Fe(mF,gF,void 0,{scope:"Tooltip"}),As;(function(n){n[n.zero=0]="zero",n[n.medium=1]="medium",n[n.long=2]="long"})(As||(As={}));var Pc;(function(n){n[n.Parent=0]="Parent",n[n.Self=1]="Self"})(Pc||(Pc={}));var yF=ke(),_F=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._tooltipHost=_.createRef(),e._defaultTooltipId=_t("tooltip"),e.show=function(){e._toggleTooltip(!0)},e.dismiss=function(){e._hideTooltip()},e._getTargetElement=function(){if(e._tooltipHost.current){var o=e.props.overflowMode;if(o!==void 0)switch(o){case Pc.Parent:return e._tooltipHost.current.parentElement;case Pc.Self:return e._tooltipHost.current}return e._tooltipHost.current}},e._onTooltipMouseEnter=function(o){var s=e.props,a=s.overflowMode,u=s.delay;if(r._currentVisibleTooltip&&r._currentVisibleTooltip!==e&&r._currentVisibleTooltip.dismiss(),r._currentVisibleTooltip=e,a!==void 0){var d=e._getTargetElement();if(d&&!ZE(d))return}if(!(o.target&&sf(o.target,e._getTargetElement())))if(e._clearDismissTimer(),e._clearOpenTimer(),u!==As.zero){var f=e._getDelayTime(u);e._openTimerId=e._async.setTimeout(function(){e._toggleTooltip(!0)},f)}else e._toggleTooltip(!0)},e._onTooltipMouseLeave=function(o){var s=e.props.closeDelay;e._clearDismissTimer(),e._clearOpenTimer(),s?e._dismissTimerId=e._async.setTimeout(function(){e._toggleTooltip(!1)},s):e._toggleTooltip(!1),r._currentVisibleTooltip===e&&(r._currentVisibleTooltip=void 0)},e._onTooltipKeyDown=function(o){(o.which===he.escape||o.ctrlKey)&&e.state.isTooltipVisible&&(e._hideTooltip(),o.stopPropagation())},e._clearDismissTimer=function(){e._async.clearTimeout(e._dismissTimerId)},e._clearOpenTimer=function(){e._async.clearTimeout(e._openTimerId)},e._hideTooltip=function(){e._clearOpenTimer(),e._clearDismissTimer(),e._toggleTooltip(!1)},e._toggleTooltip=function(o){e.state.isTooltipVisible!==o&&e.setState({isTooltipVisible:o},function(){return e.props.onTooltipToggle&&e.props.onTooltipToggle(o)})},e._getDelayTime=function(o){switch(o){case As.medium:return 300;case As.long:return 500;default:return 0}},rt(e),e.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},e._async=new tn(e),e}return r.prototype.render=function(){var t=this.props,e=t.calloutProps,o=t.children,s=t.content,a=t.directionalHint,u=t.directionalHintForRTL,d=t.hostClassName,f=t.id,m=t.setAriaDescribedBy,h=m===void 0?!0:m,g=t.tooltipProps,y=t.styles,C=t.theme;this._classNames=yF(y,{theme:C,className:d});var x=this.state.isTooltipVisible,b=f||this._defaultTooltipId,S=!!(s||g&&g.onRenderContent&&g.onRenderContent()),F=x&&S,D=h&&x&&S?b:void 0;return _.createElement("div",k({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipMouseEnter},{onBlurCapture:this._hideTooltip},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,"aria-describedby":D}),o,F&&_.createElement(vF,k({id:b+"--tooltip",content:s,targetElement:this._getTargetElement(),directionalHint:a,directionalHintForRTL:u,calloutProps:ei({},e,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},qe(this.props,en,["id"]),g)),_.createElement("div",{hidden:!0,id:b,style:Ui},s))},r.prototype.componentWillUnmount=function(){r._currentVisibleTooltip&&r._currentVisibleTooltip===this&&(r._currentVisibleTooltip=void 0),this._async.dispose()},r.defaultProps={delay:As.medium},r})(_.Component),bF={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},CF=function(n){var r=n.className,t=n.theme,e=ze(bF,t);return{root:[e.root,{display:"inline"},r]}},lr=Fe(_F,CF,void 0,{scope:"TooltipHost"}),Rc;(function(n){n[n.default=0]="default",n[n.image=1]="image",n[n.Default=1e5]="Default",n[n.Image=100001]="Image"})(Rc||(Rc={}));var Hn;(function(n){n[n.center=0]="center",n[n.contain=1]="contain",n[n.cover=2]="cover",n[n.none=3]="none",n[n.centerCover=4]="centerCover",n[n.centerContain=5]="centerContain"})(Hn||(Hn={}));var Ms;(function(n){n[n.landscape=0]="landscape",n[n.portrait=1]="portrait"})(Ms||(Ms={}));var er;(function(n){n[n.notLoaded=0]="notLoaded",n[n.loaded=1]="loaded",n[n.error=2]="error",n[n.errorLoaded=3]="errorLoaded"})(er||(er={}));var xF=ke(),wF="fabricImage",SF=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._coverStyle=Ms.portrait,e._imageElement=_.createRef(),e._frameElement=_.createRef(),e._onImageLoaded=function(o){var s=e.props,a=s.src,u=s.onLoad;u&&u(o),e._computeCoverStyle(e.props),a&&e.setState({loadState:er.loaded})},e._onImageError=function(o){e.props.onError&&e.props.onError(o),e.setState({loadState:er.error})},e.state={loadState:er.notLoaded},e}return r.prototype.UNSAFE_componentWillReceiveProps=function(t){t.src!==this.props.src?this.setState({loadState:er.notLoaded}):this.state.loadState===er.loaded&&this._computeCoverStyle(t)},r.prototype.componentDidUpdate=function(t,e){this._checkImageLoaded(),this.props.onLoadingStateChange&&e.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},r.prototype.render=function(){var t=qe(this.props,o0,["width","height"]),e=this.props,o=e.src,s=e.alt,a=e.width,u=e.height,d=e.shouldFadeIn,f=e.shouldStartVisible,m=e.className,h=e.imageFit,g=e.role,y=e.maximizeFrame,C=e.styles,x=e.theme,b=this.state.loadState,S=this.props.coverStyle!==void 0?this.props.coverStyle:this._coverStyle,F=xF(C,{theme:x,className:m,width:a,height:u,maximizeFrame:y,shouldFadeIn:d,shouldStartVisible:f,isLoaded:b===er.loaded||b===er.notLoaded&&this.props.shouldStartVisible,isLandscape:S===Ms.landscape,isCenter:h===Hn.center,isCenterContain:h===Hn.centerContain,isCenterCover:h===Hn.centerCover,isContain:h===Hn.contain,isCover:h===Hn.cover,isNone:h===Hn.none,isError:b===er.error,isNotImageFit:h===void 0});return _.createElement("div",{className:F.root,style:{width:a,height:u},ref:this._frameElement},_.createElement("img",k({},t,{onLoad:this._onImageLoaded,onError:this._onImageError,key:wF+this.props.src||"",className:F.image,ref:this._imageElement,src:o,alt:s,role:g})))},r.prototype._checkImageLoaded=function(){var t=this.props.src,e=this.state.loadState;if(e===er.notLoaded){var o=this._imageElement.current?t&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&r._svgRegex.test(t):!1;o&&(this._computeCoverStyle(this.props),this.setState({loadState:er.loaded}))}},r.prototype._computeCoverStyle=function(t){var e=t.imageFit,o=t.width,s=t.height;if((e===Hn.cover||e===Hn.contain||e===Hn.centerContain||e===Hn.centerCover)&&this.props.coverStyle===void 0&&this._imageElement.current&&this._frameElement.current){var a=void 0;typeof o=="number"&&typeof s=="number"&&e!==Hn.centerContain&&e!==Hn.centerCover?a=o/s:a=this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var u=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;u>a?this._coverStyle=Ms.landscape:this._coverStyle=Ms.portrait}},r.defaultProps={shouldFadeIn:!0},r._svgRegex=/\.svg$/i,r})(_.Component),EF={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"},kF=function(n){var r=n.className,t=n.width,e=n.height,o=n.maximizeFrame,s=n.isLoaded,a=n.shouldFadeIn,u=n.shouldStartVisible,d=n.isLandscape,f=n.isCenter,m=n.isContain,h=n.isCover,g=n.isCenterContain,y=n.isCenterCover,C=n.isNone,x=n.isError,b=n.isNotImageFit,S=n.theme,F=ze(EF,S),D={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},A=Re(),L=A!==void 0&&A.navigator.msMaxTouchPoints===void 0,j=m&&d||h&&!d?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[F.root,S.fonts.medium,{overflow:"hidden"},o&&[F.rootMaximizeFrame,{height:"100%",width:"100%"}],s&&a&&!u&&Tn.fadeIn400,(f||m||h||g||y)&&{position:"relative"},r],image:[F.image,{display:"block",opacity:0},s&&["is-loaded",{opacity:1}],f&&[F.imageCenter,D],m&&[F.imageContain,L&&{width:"100%",height:"100%",objectFit:"contain"},!L&&j,D],h&&[F.imageCover,L&&{width:"100%",height:"100%",objectFit:"cover"},!L&&j,D],g&&[F.imageCenterContain,d&&{maxWidth:"100%"},!d&&{maxHeight:"100%"},D],y&&[F.imageCenterCover,d&&{maxHeight:"100%"},!d&&{maxWidth:"100%"},D],C&&[F.imageNone,{width:"auto",height:"auto"}],b&&[!!t&&!e&&{height:"auto",width:"100%"},!t&&!!e&&{height:"100%",width:"auto"},!!t&&!!e&&{height:"100%",width:"100%"}],d&&F.imageLandscape,!d&&F.imagePortrait,!s&&"is-notLoaded",a&&"is-fadeIn",x&&"is-error"]}},gl=Fe(SF,kF,void 0,{scope:"Image"},!0),Bi=oi({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),_0="ms-Icon",IF=function(n){var r=n.className,t=n.iconClassName,e=n.isPlaceholder,o=n.isImage,s=n.styles;return{root:[e&&Bi.placeholder,Bi.root,o&&Bi.image,t,r,s&&s.root,s&&s.imageContainer]}},b0=st(function(n){var r=ak(n)||{subset:{},code:void 0},t=r.code,e=r.subset;return t?{children:t,iconClassName:e.className,fontFamily:e.fontFace&&e.fontFace.fontFamily,mergeImageProps:e.mergeImageProps}:null},void 0,!0),pn=function(n){var r=n.iconName,t=n.className,e=n.style,o=e===void 0?{}:e,s=b0(r)||{},a=s.iconClassName,u=s.children,d=s.fontFamily,f=s.mergeImageProps,m=qe(n,At),h=n["aria-label"]||n.title,g=n["aria-label"]||n["aria-labelledby"]||n.title?{role:f?void 0:"img"}:{"aria-hidden":!0},y=u;return f&&typeof u=="object"&&typeof u.props=="object"&&h&&(y=_.cloneElement(u,{alt:h})),_.createElement("i",k({"data-icon-name":r},g,m,f?{title:void 0,"aria-label":void 0}:{},{className:Et(_0,Bi.root,a,!r&&Bi.placeholder,t),style:k({fontFamily:d},o)}),y)};st(function(n,r,t){return pn({iconName:n,className:r,"aria-label":t})});var FF=ke({cacheSize:100}),DF=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._onImageLoadingStateChange=function(o){e.props.imageProps&&e.props.imageProps.onLoadingStateChange&&e.props.imageProps.onLoadingStateChange(o),o===er.error&&e.setState({imageLoadError:!0})},e.state={imageLoadError:!1},e}return r.prototype.render=function(){var t=this.props,e=t.children,o=t.className,s=t.styles,a=t.iconName,u=t.imageErrorAs,d=t.theme,f=typeof a=="string"&&a.length===0,m=!!this.props.imageProps||this.props.iconType===Rc.image||this.props.iconType===Rc.Image,h=b0(a)||{},g=h.iconClassName,y=h.children,C=h.mergeImageProps,x=FF(s,{theme:d,className:o,iconClassName:g,isImage:m,isPlaceholder:f}),b=m?"span":"i",S=qe(this.props,At,["aria-label"]),F=this.state.imageLoadError,D=k(k({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),A=F&&u||gl,L=this.props["aria-label"]||this.props.ariaLabel,j=D.alt||L||this.props.title,M=!!(j||this.props["aria-labelledby"]||D["aria-label"]||D["aria-labelledby"]),R=M?{role:m||C?void 0:"img","aria-label":m||C?void 0:j}:{"aria-hidden":!(this.props["aria-labelledby"]||D["aria-labelledby"])},P=y;return C&&y&&typeof y=="object"&&j&&(P=_.cloneElement(y,{alt:j})),_.createElement(b,k({"data-icon-name":a},R,S,C?{title:void 0,"aria-label":void 0}:{},{className:x.root}),m?_.createElement(A,k({},D)):e||P)},r})(_.Component),Ke=Fe(DF,IF,void 0,{scope:"Icon"},!0);Ke.displayName="Icon";var TF=function(n){var r=n.className,t=n.imageProps,e=qe(n,At),o=n["aria-label"]?{}:{role:"presentation","aria-hidden":!(t.alt||t["aria-labelledby"])};return _.createElement("div",k({},o,e,{className:Et(_0,Bi.root,Bi.image,r)}),_.createElement(gl,k({},t)))},Oh={all:1,inputOnly:2},Kt;(function(n){n[n.vertical=0]="vertical",n[n.horizontal=1]="horizontal",n[n.bidirectional=2]="bidirectional",n[n.domOrder=3]="domOrder"})(Kt||(Kt={}));var $u="data-is-focusable",AF="data-disable-click-on-enter",Qp="data-focuszone-id",no="tabindex",Jp="data-no-vertical-wrap",eh="data-no-horizontal-wrap",th=999999999,Ya=-999999999,nh,MF="ms-FocusZone";function PF(n,r){var t,e,o,s,a,u,d;typeof MouseEvent=="function"?d=new MouseEvent("click",{ctrlKey:(t=r)===null||t===void 0?void 0:t.ctrlKey,metaKey:(e=r)===null||e===void 0?void 0:e.metaKey,shiftKey:(o=r)===null||o===void 0?void 0:o.shiftKey,altKey:(s=r)===null||s===void 0?void 0:s.altKey,bubbles:(a=r)===null||a===void 0?void 0:a.bubbles,cancelable:(u=r)===null||u===void 0?void 0:u.cancelable}):(d=document.createEvent("MouseEvents"),d.initMouseEvent("click",r?r.bubbles:!1,r?r.cancelable:!1,window,0,0,0,0,0,r?r.ctrlKey:!1,r?r.altKey:!1,r?r.shiftKey:!1,r?r.metaKey:!1,0,null)),n.dispatchEvent(d)}function RF(){return nh||(nh=Hr({selectors:{":focus":{outline:"none"}}},MF)),nh}var Za={},Es=new Set,NF=["text","number","password","email","tel","url","search"],Fi=!1,Vi=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._root=_.createRef(),e._mergedRef=cf(),e._onFocus=function(o){if(!e._portalContainsElement(o.target)){var s=e.props,a=s.onActiveElementChanged,u=s.doNotAllowFocusEventToPropagate,d=s.stopFocusPropagation,f=s.onFocusNotification,m=s.onFocus,h=s.shouldFocusInnerElementWhenReceivedFocus,g=s.defaultTabbableElement,y=e._isImmediateDescendantOfZone(o.target),C;if(y)C=o.target;else for(var x=o.target;x&&x!==e._root.current;){if(jr(x)&&e._isImmediateDescendantOfZone(x)){C=x;break}x=Vt(x,Fi)}if(h&&o.target===e._root.current){var b=g&&typeof g=="function"&&g(e._root.current);b&&jr(b)?(C=b,b.focus()):(e.focus(!0),e._activeElement&&(C=null))}var S=!e._activeElement;C&&C!==e._activeElement&&((y||S)&&e._setFocusAlignment(C,!0,!0),e._activeElement=C,S&&e._updateTabIndexes()),a&&a(e._activeElement,o),(d||u)&&o.stopPropagation(),m?m(o):f&&f()}},e._onBlur=function(){e._setParkedFocus(!1)},e._onMouseDown=function(o){if(!e._portalContainsElement(o.target)){var s=e.props.disabled;if(!s){for(var a=o.target,u=[];a&&a!==e._root.current;)u.push(a),a=Vt(a,Fi);for(;u.length&&(a=u.pop(),a&&jr(a)&&e._setActiveElement(a,!0),!bo(a)););}}},e._onKeyDown=function(o,s){if(!e._portalContainsElement(o.target)){var a=e.props,u=a.direction,d=a.disabled,f=a.isInnerZoneKeystroke,m=a.pagingSupportDisabled,h=a.shouldEnterInnerZone;if(!d&&(e.props.onKeyDown&&e.props.onKeyDown(o),!o.isDefaultPrevented()&&!(e._getDocument().activeElement===e._root.current&&e._isInnerZone))){if((h&&h(o)||f&&f(o))&&e._isImmediateDescendantOfZone(o.target)){var g=e._getFirstInnerZone();if(g){if(!g.focus(!0))return}else if(lf(o.target)){if(!e.focusElement(Dn(o.target,o.target.firstChild,!0)))return}else return}else{if(o.altKey)return;switch(o.which){case he.space:if(e._tryInvokeClickForFocusable(o.target,o))break;return;case he.left:if(u!==Kt.vertical&&(e._preventDefaultWhenHandled(o),e._moveFocusLeft(s)))break;return;case he.right:if(u!==Kt.vertical&&(e._preventDefaultWhenHandled(o),e._moveFocusRight(s)))break;return;case he.up:if(u!==Kt.horizontal&&(e._preventDefaultWhenHandled(o),e._moveFocusUp()))break;return;case he.down:if(u!==Kt.horizontal&&(e._preventDefaultWhenHandled(o),e._moveFocusDown()))break;return;case he.pageDown:if(!m&&e._moveFocusPaging(!0))break;return;case he.pageUp:if(!m&&e._moveFocusPaging(!1))break;return;case he.tab:if(e.props.allowTabKey||e.props.handleTabKey===Oh.all||e.props.handleTabKey===Oh.inputOnly&&e._isElementInput(o.target)){var y=!1;if(e._processingTabKey=!0,u===Kt.vertical||!e._shouldWrapFocus(e._activeElement,eh))y=o.shiftKey?e._moveFocusUp():e._moveFocusDown();else{var C=ht(s)?!o.shiftKey:o.shiftKey;y=C?e._moveFocusLeft(s):e._moveFocusRight(s)}if(e._processingTabKey=!1,y)break;e.props.shouldResetActiveElementWhenTabFromZone&&(e._activeElement=null)}return;case he.home:if(e._isContentEditableElement(o.target)||e._isElementInput(o.target)&&!e._shouldInputLoseFocus(o.target,!1))return!1;var x=e._root.current&&e._root.current.firstChild;if(e._root.current&&x&&e.focusElement(Dn(e._root.current,x,!0)))break;return;case he.end:if(e._isContentEditableElement(o.target)||e._isElementInput(o.target)&&!e._shouldInputLoseFocus(o.target,!0))return!1;var b=e._root.current&&e._root.current.lastChild;if(e._root.current&&e.focusElement(zn(e._root.current,b,!0,!0,!0)))break;return;case he.enter:if(e._tryInvokeClickForFocusable(o.target,o))break;return;default:return}}o.preventDefault(),o.stopPropagation()}}},e._getHorizontalDistanceFromCenter=function(o,s,a){var u=e._focusAlignment.left||e._focusAlignment.x||0,d=Math.floor(a.top),f=Math.floor(s.bottom),m=Math.floor(a.bottom),h=Math.floor(s.top),g=o&&d>f,y=!o&&m<h;return g||y?u>=a.left&&u<=a.left+a.width?0:Math.abs(a.left+a.width/2-u):e._shouldWrapFocus(e._activeElement,Jp)?th:Ya},rt(e),e._id=_t("FocusZone"),e._focusAlignment={left:0,top:0},e._processingTabKey=!1,e}return r.getOuterZones=function(){return Es.size},r._onKeyDownCapture=function(t){t.which===he.tab&&Es.forEach(function(e){return e._updateTabIndexes()})},r.prototype.componentDidMount=function(){var t=this._root.current;if(Za[this._id]=this,t){this._windowElement=Re(t);for(var e=Vt(t,Fi);e&&e!==this._getDocument().body&&e.nodeType===1;){if(bo(e)){this._isInnerZone=!0;break}e=Vt(e,Fi)}this._isInnerZone||(Es.add(this),this._windowElement&&Es.size===1&&this._windowElement.addEventListener("keydown",r._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&typeof this.props.defaultTabbableElement=="string"?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},r.prototype.componentDidUpdate=function(){var t=this._root.current,e=this._getDocument();if(e&&this._lastIndexPath&&(e.activeElement===e.body||e.activeElement===null||!this.props.preventFocusRestoration&&e.activeElement===t)){var o=fE(t,this._lastIndexPath);o?(this._setActiveElement(o,!0),o.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},r.prototype.componentWillUnmount=function(){delete Za[this._id],this._isInnerZone||(Es.delete(this),this._windowElement&&Es.size===0&&this._windowElement.removeEventListener("keydown",r._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},r.prototype.render=function(){var t=this,e=this.props,o=e.as,s=e.elementType,a=e.rootProps,u=e.ariaDescribedBy,d=e.ariaLabelledBy,f=e.className,m=qe(this.props,At),h=o||s||"div";this._evaluateFocusBeforeRender();var g=gI();return _.createElement(h,k({"aria-labelledby":d,"aria-describedby":u},m,a,{className:Et(RF(),f),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(y){return t._onKeyDown(y,g)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},r.prototype.focus=function(t){if(t===void 0&&(t=!1),this._root.current)if(!t&&this._root.current.getAttribute($u)==="true"&&this._isInnerZone){var e=this._getOwnerZone(this._root.current);if(e!==this._root.current){var o=Za[e.getAttribute(Qp)];return!!o&&o.focusElement(this._root.current)}return!1}else{if(!t&&this._activeElement&&Pt(this._root.current,this._activeElement)&&jr(this._activeElement))return this._activeElement.focus(),!0;var s=this._root.current.firstChild;return this.focusElement(Dn(this._root.current,s,!0))}return!1},r.prototype.focusLast=function(){if(this._root.current){var t=this._root.current&&this._root.current.lastChild;return this.focusElement(zn(this._root.current,t,!0,!0,!0))}return!1},r.prototype.focusElement=function(t,e){var o=this.props,s=o.onBeforeFocus,a=o.shouldReceiveFocus;return a&&!a(t)||s&&!s(t)?!1:t?(this._setActiveElement(t,e),this._activeElement&&this._activeElement.focus(),!0):!1},r.prototype.setFocusAlignment=function(t){this._focusAlignment=t},r.prototype._evaluateFocusBeforeRender=function(){var t=this._root.current,e=this._getDocument();if(e){var o=e.activeElement;if(o!==t){var s=Pt(t,o,!1);this._lastIndexPath=s?mE(t,o):void 0}}},r.prototype._setParkedFocus=function(t){var e=this._root.current;e&&this._isParked!==t&&(this._isParked=t,t?(this.props.allowFocusRoot||(this._parkedTabIndex=e.getAttribute("tabindex"),e.setAttribute("tabindex","-1")),e.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(e.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):e.removeAttribute("tabindex")))},r.prototype._setActiveElement=function(t,e){var o=this._activeElement;this._activeElement=t,o&&(bo(o)&&this._updateTabIndexes(o),o.tabIndex=-1),this._activeElement&&((!this._focusAlignment||e)&&this._setFocusAlignment(t,!0,!0),this._activeElement.tabIndex=0)},r.prototype._preventDefaultWhenHandled=function(t){this.props.preventDefaultWhenHandled&&t.preventDefault()},r.prototype._tryInvokeClickForFocusable=function(t,e){var o=t;if(o===this._root.current||!this.props.shouldRaiseClicks)return!1;do{if(o.tagName==="BUTTON"||o.tagName==="A"||o.tagName==="INPUT"||o.tagName==="TEXTAREA")return!1;if(this._isImmediateDescendantOfZone(o)&&o.getAttribute($u)==="true"&&o.getAttribute(AF)!=="true")return PF(o,e),!0;o=Vt(o,Fi)}while(o!==this._root.current);return!1},r.prototype._getFirstInnerZone=function(t){if(t=t||this._activeElement||this._root.current,!t)return null;if(bo(t))return Za[t.getAttribute(Qp)];for(var e=t.firstElementChild;e;){if(bo(e))return Za[e.getAttribute(Qp)];var o=this._getFirstInnerZone(e);if(o)return o;e=e.nextElementSibling}return null},r.prototype._moveFocus=function(t,e,o,s){s===void 0&&(s=!0);var a=this._activeElement,u=-1,d=void 0,f=!1,m=this.props.direction===Kt.bidirectional;if(!a||!this._root.current||this._isElementInput(a)&&!this._shouldInputLoseFocus(a,t))return!1;var h=m?a.getBoundingClientRect():null;do if(a=t?Dn(this._root.current,a):zn(this._root.current,a),m){if(a){var g=a.getBoundingClientRect(),y=e(h,g);if(y===-1&&u===-1){d=a;break}if(y>-1&&(u===-1||y<u)&&(u=y,d=a),u>=0&&y<0)break}}else{d=a;break}while(a);if(d&&d!==this._activeElement)f=!0,this.focusElement(d);else if(this.props.isCircularNavigation&&s)return t?this.focusElement(Dn(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(zn(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return f},r.prototype._moveFocusDown=function(){var t=this,e=-1,o=this._focusAlignment.left||this._focusAlignment.x||0;return this._moveFocus(!0,function(s,a){var u=-1,d=Math.floor(a.top),f=Math.floor(s.bottom);return d<f?t._shouldWrapFocus(t._activeElement,Jp)?th:Ya:((e===-1&&d>=f||d===e)&&(e=d,o>=a.left&&o<=a.left+a.width?u=0:u=Math.abs(a.left+a.width/2-o)),u)})?(this._setFocusAlignment(this._activeElement,!1,!0),!0):!1},r.prototype._moveFocusUp=function(){var t=this,e=-1,o=this._focusAlignment.left||this._focusAlignment.x||0;return this._moveFocus(!1,function(s,a){var u=-1,d=Math.floor(a.bottom),f=Math.floor(a.top),m=Math.floor(s.top);return d>m?t._shouldWrapFocus(t._activeElement,Jp)?th:Ya:((e===-1&&d<=m||f===e)&&(e=f,o>=a.left&&o<=a.left+a.width?u=0:u=Math.abs(a.left+a.width/2-o)),u)})?(this._setFocusAlignment(this._activeElement,!1,!0),!0):!1},r.prototype._moveFocusLeft=function(t){var e=this,o=this._shouldWrapFocus(this._activeElement,eh);return this._moveFocus(ht(t),function(s,a){var u=-1,d;return ht(t)?d=parseFloat(a.top.toFixed(3))<parseFloat(s.bottom.toFixed(3)):d=parseFloat(a.bottom.toFixed(3))>parseFloat(s.top.toFixed(3)),d&&a.right<=s.right&&e.props.direction!==Kt.vertical?u=s.right-a.right:o||(u=Ya),u},void 0,o)?(this._setFocusAlignment(this._activeElement,!0,!1),!0):!1},r.prototype._moveFocusRight=function(t){var e=this,o=this._shouldWrapFocus(this._activeElement,eh);return this._moveFocus(!ht(t),function(s,a){var u=-1,d;return ht(t)?d=parseFloat(a.bottom.toFixed(3))>parseFloat(s.top.toFixed(3)):d=parseFloat(a.top.toFixed(3))<parseFloat(s.bottom.toFixed(3)),d&&a.left>=s.left&&e.props.direction!==Kt.vertical?u=a.left-s.left:o||(u=Ya),u},void 0,o)?(this._setFocusAlignment(this._activeElement,!0,!1),!0):!1},r.prototype._moveFocusPaging=function(t,e){e===void 0&&(e=!0);var o=this._activeElement;if(!o||!this._root.current||this._isElementInput(o)&&!this._shouldInputLoseFocus(o,t))return!1;var s=Tl(o);if(!s)return!1;var a=-1,u=void 0,d=-1,f=-1,m=s.clientHeight,h=o.getBoundingClientRect();do if(o=t?Dn(this._root.current,o):zn(this._root.current,o),o){var g=o.getBoundingClientRect(),y=Math.floor(g.top),C=Math.floor(h.bottom),x=Math.floor(g.bottom),b=Math.floor(h.top),S=this._getHorizontalDistanceFromCenter(t,h,g),F=t&&y>C+m,D=!t&&x<b-m;if(F||D)break;S>-1&&(t&&y>d?(d=y,a=S,u=o):!t&&x<f?(f=x,a=S,u=o):(a===-1||S<=a)&&(a=S,u=o))}while(o);var A=!1;if(u&&u!==this._activeElement)A=!0,this.focusElement(u),this._setFocusAlignment(u,!1,!0);else if(this.props.isCircularNavigation&&e)return t?this.focusElement(Dn(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(zn(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return A},r.prototype._setFocusAlignment=function(t,e,o){if(this.props.direction===Kt.bidirectional&&(!this._focusAlignment||e||o)){var s=t.getBoundingClientRect(),a=s.left+s.width/2,u=s.top+s.height/2;this._focusAlignment||(this._focusAlignment={left:a,top:u}),e&&(this._focusAlignment.left=a),o&&(this._focusAlignment.top=u)}},r.prototype._isImmediateDescendantOfZone=function(t){return this._getOwnerZone(t)===this._root.current},r.prototype._getOwnerZone=function(t){for(var e=Vt(t,Fi);e&&e!==this._root.current&&e!==this._getDocument().body;){if(bo(e))return e;e=Vt(e,Fi)}return e},r.prototype._updateTabIndexes=function(t){!this._activeElement&&this.props.defaultTabbableElement&&typeof this.props.defaultTabbableElement=="function"&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!t&&this._root.current&&(this._defaultFocusElement=null,t=this._root.current,this._activeElement&&!Pt(t,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!jr(this._activeElement)&&(this._activeElement=null);for(var e=t&&t.children,o=0;e&&o<e.length;o++){var s=e[o];bo(s)?s.getAttribute($u)==="true"&&(!this._isInnerZone&&(!this._activeElement&&!this._defaultFocusElement||this._activeElement===s)?(this._defaultFocusElement=s,s.getAttribute(no)!=="0"&&s.setAttribute(no,"0")):s.getAttribute(no)!=="-1"&&s.setAttribute(no,"-1")):(s.getAttribute&&s.getAttribute($u)==="false"&&s.setAttribute(no,"-1"),jr(s)?this.props.disabled?s.setAttribute(no,"-1"):!this._isInnerZone&&(!this._activeElement&&!this._defaultFocusElement||this._activeElement===s)?(this._defaultFocusElement=s,s.getAttribute(no)!=="0"&&s.setAttribute(no,"0")):s.getAttribute(no)!=="-1"&&s.setAttribute(no,"-1"):s.tagName==="svg"&&s.getAttribute("focusable")!=="false"&&s.setAttribute("focusable","false")),this._updateTabIndexes(s)}},r.prototype._isContentEditableElement=function(t){return t&&t.getAttribute("contenteditable")==="true"},r.prototype._isElementInput=function(t){return!!(t&&t.tagName&&(t.tagName.toLowerCase()==="input"||t.tagName.toLowerCase()==="textarea"))},r.prototype._shouldInputLoseFocus=function(t,e){if(!this._processingTabKey&&t&&t.type&&NF.indexOf(t.type.toLowerCase())>-1){var o=t.selectionStart,s=t.selectionEnd,a=o!==s,u=t.value,d=t.readOnly;if(a||o>0&&!e&&!d||o!==u.length&&e&&!d||this.props.handleTabKey&&!(this.props.shouldInputLoseFocusOnArrowKey&&this.props.shouldInputLoseFocusOnArrowKey(t)))return!1}return!0},r.prototype._shouldWrapFocus=function(t,e){return this.props.checkForNoWrap?e0(t,e):!0},r.prototype._portalContainsElement=function(t){return t&&!!this._root.current&&sf(t,this._root.current)},r.prototype._getDocument=function(){return jt(this._root.current)},r.defaultProps={isCircularNavigation:!1,direction:Kt.bidirectional,shouldRaiseClicks:!0},r})(_.Component),LF="ktp",Yv="-",BF="data-ktp-target",jF="data-ktp-execute-target",OF="ktp-layer-id",ro;(function(n){n.KEYTIP_ADDED="keytipAdded",n.KEYTIP_REMOVED="keytipRemoved",n.KEYTIP_UPDATED="keytipUpdated",n.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",n.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",n.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",n.ENTER_KEYTIP_MODE="enterKeytipMode",n.EXIT_KEYTIP_MODE="exitKeytipMode"})(ro||(ro={}));var C0=(function(){function n(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return n.getInstance=function(){return this._instance},n.prototype.init=function(r){this.delayUpdatingKeytipChange=r},n.prototype.register=function(r,t){t===void 0&&(t=!1);var e=r;t||(e=this.addParentOverflow(r),this.sequenceMapping[e.keySequences.toString()]=e);var o=this._getUniqueKtp(e);if(t?this.persistedKeytips[o.uniqueID]=o:this.keytips[o.uniqueID]=o,this.inKeytipMode||!this.delayUpdatingKeytipChange){var s=t?ro.PERSISTED_KEYTIP_ADDED:ro.KEYTIP_ADDED;mt.raise(this,s,{keytip:e,uniqueID:o.uniqueID})}return o.uniqueID},n.prototype.update=function(r,t){var e=this.addParentOverflow(r),o=this._getUniqueKtp(e,t),s=this.keytips[t];s&&(o.keytip.visible=s.keytip.visible,this.keytips[t]=o,delete this.sequenceMapping[s.keytip.keySequences.toString()],this.sequenceMapping[o.keytip.keySequences.toString()]=o.keytip,(this.inKeytipMode||!this.delayUpdatingKeytipChange)&&mt.raise(this,ro.KEYTIP_UPDATED,{keytip:o.keytip,uniqueID:o.uniqueID}))},n.prototype.unregister=function(r,t,e){e===void 0&&(e=!1),e?delete this.persistedKeytips[t]:delete this.keytips[t],!e&&delete this.sequenceMapping[r.keySequences.toString()];var o=e?ro.PERSISTED_KEYTIP_REMOVED:ro.KEYTIP_REMOVED;(this.inKeytipMode||!this.delayUpdatingKeytipChange)&&mt.raise(this,o,{keytip:r,uniqueID:t})},n.prototype.enterKeytipMode=function(){mt.raise(this,ro.ENTER_KEYTIP_MODE)},n.prototype.exitKeytipMode=function(){mt.raise(this,ro.EXIT_KEYTIP_MODE)},n.prototype.getKeytips=function(){var r=this;return Object.keys(this.keytips).map(function(t){return r.keytips[t].keytip})},n.prototype.addParentOverflow=function(r){var t=Qt(r.keySequences);if(t.pop(),t.length!==0){var e=this.sequenceMapping[t.toString()];if(e&&e.overflowSetSequence)return k(k({},r),{overflowSetSequence:e.overflowSetSequence})}return r},n.prototype.menuExecute=function(r,t){mt.raise(this,ro.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:r,keytipSequences:t})},n.prototype._getUniqueKtp=function(r,t){return t===void 0&&(t=_t()),{keytip:k({},r),uniqueID:t}},n._instance=new n,n})();function x0(n){return n.reduce(function(r,t){return r+Yv+t.split("").join(Yv)},LF)}function HF(n,r){var t=r.length,e=Qt(r).pop(),o=Qt(n);return LS(o,t-1,e)}function WF(n){var r=" "+OF;return n.length?r+" "+x0(n):r}function w0(n){var r=_.useRef();return r.current===void 0&&(r.current={value:typeof n=="function"?n():n}),r.current.value}function zF(n){var r=_.useRef();return _.useEffect(function(){r.current=n}),r.current}var UF=_.createContext({window:typeof window=="object"?window:void 0});function GF(n){var r=_.useRef(),t=n.keytipProps?k({disabled:n.disabled},n.keytipProps):void 0,e=w0(C0.getInstance()),o=zF(n);_.useLayoutEffect(function(){var a,u;r.current&&t&&(((a=o)===null||a===void 0?void 0:a.keytipProps)!==n.keytipProps||((u=o)===null||u===void 0?void 0:u.disabled)!==n.disabled)&&e.update(t,r.current)}),_.useLayoutEffect(function(){return t&&(r.current=e.register(t)),function(){t&&e.unregister(t,r.current)}},[]);var s={ariaDescribedBy:void 0,keytipId:void 0};return t&&(s=VF(e,t,n.ariaDescribedBy)),s}function VF(n,r,t){var e=n.addParentOverflow(r),o=ti(t,WF(e.keySequences)),s=Qt(e.keySequences);e.overflowSetSequence&&(s=HF(s,e.overflowSetSequence));var a=x0(s);return{ariaDescribedBy:o,keytipId:a}}var wo=function(n){var r,t=n.children,e=Vn(n,["children"]),o=GF(e),s=o.keytipId,a=o.ariaDescribedBy;return t((r={},r[BF]=s,r[jF]=s,r["aria-describedby"]=a,r))},KF=ke(),$F=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._link=_.createRef(),e._renderContent=function(o){o===void 0&&(o={});var s=e.props,a=s.disabled,u=s.children,d=s.className,f=s.href,m=s.underline,h=s.theme,g=s.styles,y=KF(g,{className:d,isButton:!f,isDisabled:a,isUnderlined:m,theme:h}),C=e._getRootType(e.props);return _.createElement(C,k({},o,e._adjustPropsForRootType(C,e.props),{className:y.root,onClick:e._onClick,ref:e._link,"aria-disabled":a}),u)},e._onClick=function(o){var s=e.props,a=s.onClick,u=s.disabled;u?o.preventDefault():a&&a(o)},rt(e),e}return r.prototype.render=function(){var t=this,e=this.props,o=e.disabled,s=e.keytipProps;return s?_.createElement(wo,{keytipProps:s,ariaDescribedBy:this.props["aria-describedby"],disabled:o},function(a){return t._renderContent(a)}):this._renderContent()},r.prototype.focus=function(){var t=this._link.current;t&&t.focus&&t.focus()},r.prototype._adjustPropsForRootType=function(t,e){e.children,e.as;var o=e.disabled,s=e.target,a=e.href;e.theme,e.getStyles,e.styles,e.componentRef,e.keytipProps,e.underline;var u=Vn(e,["children","as","disabled","target","href","theme","getStyles","styles","componentRef","keytipProps","underline"]);return typeof t=="string"?t==="a"?k({target:s,href:o?void 0:a},u):t==="button"?k({type:"button",disabled:o},u):k(k({},u),{disabled:o}):k({target:s,href:a,disabled:o},u)},r.prototype._getRootType=function(t){return t.as?t.as:t.href?"a":"button"},r})(_.Component),qF={root:"ms-Link"},YF=function(n){var r,t,e,o,s,a,u=n.className,d=n.isButton,f=n.isDisabled,m=n.isUnderlined,h=n.theme,g=h.semanticColors,y=g.link,C=g.linkHovered,x=g.disabledText,b=g.focusBorder,S=ze(qF,h);return{root:[S.root,h.fonts.medium,{color:y,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:m?"underline":"none",selectors:(r={".ms-Fabric--isFocusVisible &:focus":{boxShadow:"0 0 0 1px "+b+" inset",outline:"1px auto "+b,selectors:(t={},t[re]={outline:"1px solid WindowText"},t)}},r[re]={borderBottom:"none"},r)},d&&{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:(e={},e[re]={color:"LinkText",forcedColorAdjust:"none"},e)},!d&&{selectors:(o={},o[re]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},o)},f&&["is-disabled",{color:x,cursor:"default"},{selectors:{"&:link, &:visited":{pointerEvents:"none"}}}],!f&&{selectors:{"&:active, &:hover, &:active:hover":{color:C,textDecoration:"underline",selectors:(s={},s[re]={color:"LinkText"},s)},"&:focus":{color:y,selectors:(a={},a[re]={color:"LinkText"},a)}}},S.root,u]}},ZF=Fe($F,YF,void 0,{scope:"Link"}),cn;(function(n){n[n.Normal=0]="Normal",n[n.Divider=1]="Divider",n[n.Header=2]="Header",n[n.Section=3]="Section"})(cn||(cn={}));function vl(n){return n.canCheck?!!(n.isChecked||n.checked):typeof n.isChecked=="boolean"?n.isChecked:typeof n.checked=="boolean"?n.checked:null}function xo(n){return!!(n.subMenuProps||n.items)}function io(n){return!!(n.isDisabled||n.disabled)}function S0(n){var r=vl(n),t=r!==null;return t?"menuitemcheckbox":"menuitem"}var E0=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._updateComposedComponentRef=e._updateComposedComponentRef.bind(e),e}return r.prototype._updateComposedComponentRef=function(t){this._composedComponentInstance=t,t?this._hoisted=BE(this,t):this._hoisted&&jE(this,this._hoisted)},r})(_.Component),ri;(function(n){n[n.small=0]="small",n[n.medium=1]="medium",n[n.large=2]="large",n[n.xLarge=3]="xLarge",n[n.xxLarge=4]="xxLarge",n[n.xxxLarge=5]="xxxLarge",n[n.unknown=999]="unknown"})(ri||(ri={}));var XF=[479,639,1023,1365,1919,99999999],k0;function I0(){var n;return n=k0,n??ri.large}function Rl(n){var r,t=(r=(function(e){be(o,e);function o(s){var a=e.call(this,s)||this;return a._onResize=function(){var u=JF(a.context.window);u!==a.state.responsiveMode&&a.setState({responsiveMode:u})},a._events=new mt(a),a._updateComposedComponentRef=a._updateComposedComponentRef.bind(a),a.state={responsiveMode:I0()},a}return o.prototype.componentDidMount=function(){this._events.on(this.context.window,"resize",this._onResize),this._onResize()},o.prototype.componentWillUnmount=function(){this._events.dispose()},o.prototype.render=function(){var s=this.state.responsiveMode;return s===ri.unknown?null:_.createElement(n,k({ref:this._updateComposedComponentRef,responsiveMode:s},this.props))},o})(E0),r.contextType=UF,r);return Y_(n,t)}function QF(n){try{return n.document.documentElement.clientWidth}catch{return n.innerWidth}}function JF(n){var r=ri.small;if(n){try{for(;QF(n)>XF[r];)r++}catch{r=I0()}k0=r}else 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.");return r}var e1=function(n){var r=n.item,t=n.hasIcons,e=n.classNames,o=r.iconProps;return t?r.onRenderIcon?r.onRenderIcon(n):_.createElement(Ke,k({},o,{className:e.icon})):null},t1=function(n){var r=n.onCheckmarkClick,t=n.item,e=n.classNames,o=vl(t);if(r){var s=function(a){return r(t,a)};return _.createElement(Ke,{iconName:t.canCheck!==!1&&o?"CheckMark":"",className:e.checkmarkIcon,onClick:s})}return null},n1=function(n){var r=n.item,t=n.classNames;return r.text||r.name?_.createElement("span",{className:t.label},r.text||r.name):null},r1=function(n){var r=n.item,t=n.classNames;return r.secondaryText?_.createElement("span",{className:t.secondaryText},r.secondaryText):null},o1=function(n){var r=n.item,t=n.classNames,e=n.theme;return xo(r)?_.createElement(Ke,k({iconName:ht(e)?"ChevronLeft":"ChevronRight"},r.submenuIconProps,{className:t.subMenuIcon})):null},i1=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e.openSubMenu=function(){var o=e.props,s=o.item,a=o.openSubMenu,u=o.getSubmenuTarget;if(u){var d=u();xo(s)&&a&&d&&a(s,d)}},e.dismissSubMenu=function(){var o=e.props,s=o.item,a=o.dismissSubMenu;xo(s)&&a&&a()},e.dismissMenu=function(o){var s=e.props.dismissMenu;s&&s(void 0,o)},rt(e),e}return r.prototype.render=function(){var t=this.props,e=t.item,o=t.classNames,s=e.onRenderContent||this._renderLayout;return _.createElement("div",{className:e.split?o.linkContentMenu:o.linkContent},s(this.props,{renderCheckMarkIcon:t1,renderItemIcon:e1,renderItemName:n1,renderSecondaryText:r1,renderSubMenuIcon:o1}))},r.prototype._renderLayout=function(t,e){return _.createElement(_.Fragment,null,e.renderCheckMarkIcon(t),e.renderItemIcon(t),e.renderItemName(t),e.renderSecondaryText(t),e.renderSubMenuIcon(t))},r})(_.Component),s1=st(function(n){return oi({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:n.palette.neutralTertiaryAlt}})}),Jo=36,Zv=Jc(0,l0),a1=st(function(n){var r,t,e,o,s,a=n.semanticColors,u=n.fonts,d=n.palette,f=a.menuItemBackgroundHovered,m=a.menuItemTextHovered,h=a.menuItemBackgroundPressed,g=a.bodyDivider,y={item:[u.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:g,position:"relative"},root:[Jt(n),u.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:Jo,lineHeight:Jo,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(r={},r[re]=k({color:"GrayText",opacity:1},tt()),r)},rootHovered:{backgroundColor:f,color:m,selectors:{".ms-ContextualMenu-icon":{color:d.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},rootFocused:{backgroundColor:d.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:d.neutralPrimary}}},rootPressed:{backgroundColor:h,selectors:{".ms-ContextualMenu-icon":{color:d.themeDark},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},rootExpanded:{backgroundColor:h,color:a.bodyTextChecked,selectors:(t={".ms-ContextualMenu-submenuIcon":(e={},e[re]={color:"inherit"},e)},t[re]=k({},tt()),t)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:n.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:Jo,fontSize:Sn.medium,width:Sn.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(o={},o[Zv]={fontSize:Sn.large,width:Sn.large},o)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:Jo,lineHeight:Jo,color:d.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:Sn.small,selectors:(s={":hover":{color:d.neutralPrimary},":active":{color:d.neutralPrimary}},s[Zv]={fontSize:Sn.medium},s)},splitButtonFlexContainer:[Jt(n),{display:"flex",height:Jo,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Gr(y)}),Xv="28px",l1=Jc(0,l0),u1=st(function(n){var r;return oi(s1(n),{wrapper:{position:"absolute",right:28,selectors:(r={},r[l1]={right:32},r)},divider:{height:16,width:1}})}),c1={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"},d1=st(function(n,r,t,e,o,s,a,u,d,f,m,h){var g,y,C,x,b=a1(n),S=ze(c1,n);return oi({item:[S.item,b.item,a],divider:[S.divider,b.divider,u],root:[S.root,b.root,e&&[S.isChecked,b.rootChecked],o&&b.anchorLink,t&&[S.isExpanded,b.rootExpanded],r&&[S.isDisabled,b.rootDisabled],!r&&!t&&[{selectors:(g={":hover":b.rootHovered,":active":b.rootPressed},g["."+Lt+" &:focus, ."+Lt+" &:focus:hover"]=b.rootFocused,g["."+Lt+" &:hover"]={background:"inherit;"},g)}],h],splitPrimary:[b.root,{width:"calc(100% - "+Xv+")"},e&&["is-checked",b.rootChecked],(r||m)&&["is-disabled",b.rootDisabled],!(r||m)&&!e&&[{selectors:(y={":hover":b.rootHovered},y[":hover ~ ."+S.splitMenu]=b.rootHovered,y[":active"]=b.rootPressed,y["."+Lt+" &:focus, ."+Lt+" &:focus:hover"]=b.rootFocused,y["."+Lt+" &:hover"]={background:"inherit;"},y)}]],splitMenu:[S.splitMenu,b.root,{flexBasis:"0",padding:"0 8px",minWidth:Xv},t&&["is-expanded",b.rootExpanded],r&&["is-disabled",b.rootDisabled],!r&&!t&&[{selectors:(C={":hover":b.rootHovered,":active":b.rootPressed},C["."+Lt+" &:focus, ."+Lt+" &:focus:hover"]=b.rootFocused,C["."+Lt+" &:hover"]={background:"inherit;"},C)}]],anchorLink:b.anchorLink,linkContent:[S.linkContent,b.linkContent],linkContentMenu:[S.linkContentMenu,b.linkContent,{justifyContent:"center"}],icon:[S.icon,s&&b.iconColor,b.icon,d,r&&[S.isDisabled,b.iconDisabled]],iconColor:b.iconColor,checkmarkIcon:[S.checkmarkIcon,s&&b.checkmarkIcon,b.icon,d],subMenuIcon:[S.subMenuIcon,b.subMenuIcon,f,t&&{color:n.palette.neutralPrimary},r&&[b.iconDisabled]],label:[S.label,b.label],secondaryText:[S.secondaryText,b.secondaryText],splitContainer:[b.splitButtonFlexContainer,!r&&!e&&[{selectors:(x={},x["."+Lt+" &:focus, ."+Lt+" &:focus:hover"]=b.rootFocused,x)}]],screenReaderText:[S.screenReaderText,b.screenReaderText,Ui,{visibility:"hidden"}]})}),F0=function(n){var r=n.theme,t=n.disabled,e=n.expanded,o=n.checked,s=n.isAnchorLink,a=n.knownIcon,u=n.itemClassName,d=n.dividerClassName,f=n.iconClassName,m=n.subMenuClassName,h=n.primaryDisabled,g=n.className;return d1(r,t,e,o,s,a,u,d,f,m,h,g)},yl=Fe(i1,F0,void 0,{scope:"ContextualMenuItem"}),vf=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._onItemMouseEnter=function(o){var s=e.props,a=s.item,u=s.onItemMouseEnter;u&&u(a,o,o.currentTarget)},e._onItemClick=function(o){var s=e.props,a=s.item,u=s.onItemClickBase;u&&u(a,o,o.currentTarget)},e._onItemMouseLeave=function(o){var s=e.props,a=s.item,u=s.onItemMouseLeave;u&&u(a,o)},e._onItemKeyDown=function(o){var s=e.props,a=s.item,u=s.onItemKeyDown;u&&u(a,o)},e._onItemMouseMove=function(o){var s=e.props,a=s.item,u=s.onItemMouseMove;u&&u(a,o,o.currentTarget)},e._getSubmenuTarget=function(){},rt(e),e}return r.prototype.shouldComponentUpdate=function(t){return!so(t,this.props)},r})(_.Component),p1=(function(n){be(r,n);function r(){var t=n!==null&&n.apply(this,arguments)||this;return t._anchor=_.createRef(),t._getMemoizedMenuButtonKeytipProps=st(function(e){return k(k({},e),{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var o=t.props,s=o.item,a=o.onItemClick;a&&a(s,e)},t._renderAriaDescription=function(e,o){return e?_.createElement("span",{id:t._ariaDescriptionId,className:o},e):null},t}return r.prototype.render=function(){var t=this,e=this.props,o=e.item,s=e.classNames,a=e.index,u=e.focusableElementIndex,d=e.totalItemCount,f=e.hasCheckmarks,m=e.hasIcons,h=e.contextualMenuItemAs,g=h===void 0?yl:h,y=e.expandedMenuItemKey,C=e.onItemClick,x=e.openSubMenu,b=e.dismissSubMenu,S=e.dismissMenu,F=o.rel;o.target&&o.target.toLowerCase()==="_blank"&&(F=F||"nofollow noopener noreferrer");var D=xo(o),A=qe(o,uf),L=io(o),j=o.itemProps,M=o.ariaDescription,R=o.keytipProps;return R&&D&&(R=this._getMemoizedMenuButtonKeytipProps(R)),M&&(this._ariaDescriptionId=_t()),_.createElement("div",null,_.createElement(wo,{keytipProps:o.keytipProps,ariaDescribedBy:A["aria-describedby"],disabled:L},function(P){return _.createElement("a",k({},A,P,{ref:t._anchor,href:o.href,target:o.target,rel:F,className:s.root,role:"menuitem","aria-haspopup":D||void 0,"aria-expanded":D?o.key===y:void 0,"aria-posinset":u+1,"aria-setsize":d,"aria-disabled":io(o),"aria-describedby":ti(M?t._ariaDescriptionId:void 0,P?P["aria-describedby"]:void 0),style:o.style,onClick:t._onItemClick,onMouseEnter:t._onItemMouseEnter,onMouseLeave:t._onItemMouseLeave,onMouseMove:t._onItemMouseMove,onKeyDown:D?t._onItemKeyDown:void 0}),_.createElement(g,k({componentRef:o.componentRef,item:o,classNames:s,index:a,onCheckmarkClick:f&&C?C:void 0,hasIcons:m,openSubMenu:x,dismissSubMenu:b,dismissMenu:S,getSubmenuTarget:t._getSubmenuTarget},j)),t._renderAriaDescription(M,s.screenReaderText))}))},r})(vf),h1=(function(n){be(r,n);function r(){var t=n!==null&&n.apply(this,arguments)||this;return t._btn=_.createRef(),t._getMemoizedMenuButtonKeytipProps=st(function(e){return k(k({},e),{hasMenu:!0})}),t._renderAriaDescription=function(e,o){return e?_.createElement("span",{id:t._ariaDescriptionId,className:o},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return r.prototype.render=function(){var t=this,e=this.props,o=e.item,s=e.classNames,a=e.index,u=e.focusableElementIndex,d=e.totalItemCount,f=e.hasCheckmarks,m=e.hasIcons,h=e.contextualMenuItemAs,g=h===void 0?yl:h,y=e.expandedMenuItemKey,C=e.onItemMouseDown,x=e.onItemClick,b=e.openSubMenu,S=e.dismissSubMenu,F=e.dismissMenu,D=vl(o),A=D!==null,L=S0(o),j=xo(o),M=o.itemProps,R=o.ariaLabel,P=o.ariaDescription,W=qe(o,ni);delete W.disabled;var Q=o.role||L;P&&(this._ariaDescriptionId=_t());var K=P?this._ariaDescriptionId:void 0,J={className:s.root,onClick:this._onItemClick,onKeyDown:j?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(ie){return C?C(o,ie):void 0},onMouseMove:this._onItemMouseMove,href:o.href,title:o.title,"aria-label":R,"aria-describedby":K,"aria-haspopup":j||void 0,"aria-expanded":j?o.key===y:void 0,"aria-posinset":u+1,"aria-setsize":d,"aria-disabled":io(o),"aria-checked":(Q==="menuitemcheckbox"||Q==="menuitemradio")&&A?!!D:void 0,"aria-selected":Q==="menuitem"&&A?!!D:void 0,role:Q,style:o.style},ne=o.keytipProps;return ne&&j&&(ne=this._getMemoizedMenuButtonKeytipProps(ne)),_.createElement(wo,{keytipProps:ne,ariaDescribedBy:W["aria-describedby"],disabled:io(o)},function(ie){return _.createElement("button",k({ref:t._btn},W,J,ie,{"aria-describedby":ti(J["aria-describedby"],ie?ie["aria-describedby"]:void 0)}),_.createElement(g,k({componentRef:o.componentRef,item:o,classNames:s,index:a,onCheckmarkClick:f&&x?x:void 0,hasIcons:m,openSubMenu:b,dismissSubMenu:S,dismissMenu:F,getSubmenuTarget:t._getSubmenuTarget},M)),t._renderAriaDescription(P,s.screenReaderText))})},r})(vf),f1=function(n){var r=n.theme,t=n.getClassNames,e=n.className;if(!r)throw new Error("Theme is undefined or null.");if(t){var o=t(r);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},e],divider:[{width:1,height:"100%",backgroundColor:r.palette.neutralTertiaryAlt}]}},m1=ke(),D0=function(n){var r=n.styles,t=n.theme,e=n.getClassNames,o=n.className,s=m1(r,{theme:t,getClassNames:e,className:o});return _.createElement("span",{className:s.wrapper},_.createElement("span",{className:s.divider}))};D0.displayName="VerticalDividerBase";var g1=Fe(D0,f1,void 0,{scope:"VerticalDivider"}),v1=500,y1=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._getMemoizedMenuButtonKeytipProps=st(function(o){return k(k({},o),{hasMenu:!0})}),e._renderAriaDescription=function(o,s){return o?_.createElement("span",{id:e._ariaDescriptionId,className:s},o):null},e._onItemKeyDown=function(o){var s=e.props,a=s.item,u=s.onItemKeyDown;o.which===he.enter?(e._executeItemClick(o),o.preventDefault(),o.stopPropagation()):u&&u(a,o)},e._getSubmenuTarget=function(){return e._splitButton},e._onItemMouseEnterPrimary=function(o){var s=e.props,a=s.item,u=s.onItemMouseEnter;u&&u(k(k({},a),{subMenuProps:void 0,items:void 0}),o,e._splitButton)},e._onItemMouseEnterIcon=function(o){var s=e.props,a=s.item,u=s.onItemMouseEnter;u&&u(a,o,e._splitButton)},e._onItemMouseMovePrimary=function(o){var s=e.props,a=s.item,u=s.onItemMouseMove;u&&u(k(k({},a),{subMenuProps:void 0,items:void 0}),o,e._splitButton)},e._onItemMouseMoveIcon=function(o){var s=e.props,a=s.item,u=s.onItemMouseMove;u&&u(a,o,e._splitButton)},e._onIconItemClick=function(o){var s=e.props,a=s.item,u=s.onItemClickBase;u&&u(a,o,e._splitButton?e._splitButton:o.currentTarget)},e._executeItemClick=function(o){var s=e.props,a=s.item,u=s.executeItemClick,d=s.onItemClick;if(!(a.disabled||a.isDisabled)){if(e._processingTouch&&d)return d(a,o);u&&u(a,o)}},e._onTouchStart=function(o){e._splitButton&&!("onpointerdown"in e._splitButton)&&e._handleTouchAndPointerEvent(o)},e._onPointerDown=function(o){o.pointerType==="touch"&&(e._handleTouchAndPointerEvent(o),o.preventDefault(),o.stopImmediatePropagation())},e._async=new tn(e),e._events=new mt(e),e}return r.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},r.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},r.prototype.render=function(){var t=this,e=this.props,o=e.item,s=e.classNames,a=e.index,u=e.focusableElementIndex,d=e.totalItemCount,f=e.hasCheckmarks,m=e.hasIcons,h=e.onItemMouseLeave,g=e.expandedMenuItemKey,y=xo(o),C=o.keytipProps;C&&(C=this._getMemoizedMenuButtonKeytipProps(C));var x=o.ariaDescription;return x&&(this._ariaDescriptionId=_t()),_.createElement(wo,{keytipProps:C,disabled:io(o)},function(b){return _.createElement("div",{"data-ktp-target":b["data-ktp-target"],ref:function(S){return t._splitButton=S},role:S0(o),"aria-label":o.ariaLabel,className:s.splitContainer,"aria-disabled":io(o),"aria-expanded":y?o.key===g:void 0,"aria-haspopup":!0,"aria-describedby":ti(x?t._ariaDescriptionId:void 0,b["aria-describedby"]),"aria-checked":o.isChecked||o.checked,"aria-posinset":u+1,"aria-setsize":d,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:h?h.bind(t,k(k({},o),{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":o["aria-roledescription"]},t._renderSplitPrimaryButton(o,s,a,f,m),t._renderSplitDivider(o),t._renderSplitIconButton(o,s,a,b),t._renderAriaDescription(x,s.screenReaderText))})},r.prototype._renderSplitPrimaryButton=function(t,e,o,s,a){var u=this.props,d=u.contextualMenuItemAs,f=d===void 0?yl:d,m=u.onItemClick,h={key:t.key,disabled:io(t)||t.primaryDisabled,name:t.name,text:t.text||t.name,secondaryText:t.secondaryText,className:e.splitPrimary,canCheck:t.canCheck,isChecked:t.isChecked,checked:t.checked,iconProps:t.iconProps,onRenderIcon:t.onRenderIcon,data:t.data,"data-is-focusable":!1},g=t.itemProps;return _.createElement("button",k({},qe(h,ni)),_.createElement(f,k({"data-is-focusable":!1,item:h,classNames:e,index:o,onCheckmarkClick:s&&m?m:void 0,hasIcons:a},g)))},r.prototype._renderSplitDivider=function(t){var e=t.getSplitButtonVerticalDividerClassNames||u1;return _.createElement(g1,{getClassNames:e})},r.prototype._renderSplitIconButton=function(t,e,o,s){var a=this.props,u=a.contextualMenuItemAs,d=u===void 0?yl:u,f=a.onItemMouseLeave,m=a.onItemMouseDown,h=a.openSubMenu,g=a.dismissSubMenu,y=a.dismissMenu,C={onClick:this._onIconItemClick,disabled:io(t),className:e.splitMenu,subMenuProps:t.subMenuProps,submenuIconProps:t.submenuIconProps,split:!0,key:t.key},x=k(k({},qe(C,ni)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:f?f.bind(this,t):void 0,onMouseDown:function(S){return m?m(t,S):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":s["data-ktp-execute-target"],"aria-hidden":!0}),b=t.itemProps;return _.createElement("button",k({},x),_.createElement(d,k({componentRef:t.componentRef,item:C,classNames:e,index:o,hasIcons:!1,openSubMenu:h,dismissSubMenu:g,dismissMenu:y,getSubmenuTarget:this._getSubmenuTarget},b)))},r.prototype._handleTouchAndPointerEvent=function(t){var e=this,o=this.props.onTap;o&&o(t),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},v1)},r})(vf),_1=ke(),b1=ke();function Qv(n,r){var t,e=(t=r)===null||t===void 0?void 0:t.target,o=n.subMenuProps?n.subMenuProps.items:n.items;if(o){for(var s=[],a=0,u=o;a<u.length;a++){var d=u[a];if(d.preferMenuTargetAsEventTarget){var f=d.onClick,m=Vn(d,["onClick"]);s.push(k(k({},m),{onClick:T0(f,e)}))}else s.push(d)}return s}}function C1(n){return n.some(function(r){return!!(r.canCheck||r.sectionProps&&r.sectionProps.items.some(function(t){return t.canCheck===!0}))})}var Jv=250,x1=st(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return function(t){return L_.apply(void 0,Qt([t,F0],n))}}),w1=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._mounted=!1,e.dismiss=function(o,s){var a=e.props.onDismiss;a&&a(o,s)},e._tryFocusPreviousActiveElement=function(o){e.props.onRestoreFocus?e.props.onRestoreFocus(o):o&&o.containsFocus&&e._previousActiveElement&&e._previousActiveElement.focus&&e._previousActiveElement.focus()},e._onRenderMenuList=function(o,s){var a=0,u=o.items,d=o.totalItemCount,f=o.hasCheckmarks,m=o.hasIcons;return _.createElement("ul",{className:e._classNames.list,onKeyDown:e._onKeyDown,onKeyUp:e._onKeyUp,role:"presentation"},u.map(function(h,g){var y=e._renderMenuItem(h,g,a,d,f,m);if(h.itemType!==cn.Divider&&h.itemType!==cn.Header){var C=h.customOnRenderListLength?h.customOnRenderListLength:1;a+=C}return y}))},e._renderMenuItem=function(o,s,a,u,d,f){var m,h=[],g=o.iconProps||{iconName:"None"},y=o.getItemClassNames,C=o.itemProps,x=C?C.styles:void 0,b=o.itemType===cn.Divider?o.className:void 0,S=o.submenuIconProps?o.submenuIconProps.className:"",F;if(y)F=y(e.props.theme,io(o),e.state.expandedMenuItemKey===o.key,!!vl(o),!!o.href,g.iconName!=="None",o.className,b,g.className,S,o.primaryDisabled);else{var D={theme:e.props.theme,disabled:io(o),expanded:e.state.expandedMenuItemKey===o.key,checked:!!vl(o),isAnchorLink:!!o.href,knownIcon:g.iconName!=="None",itemClassName:o.className,dividerClassName:b,iconClassName:g.className,subMenuClassName:S,primaryDisabled:o.primaryDisabled};F=b1(x1((m=e._classNames.subComponentStyles)===null||m===void 0?void 0:m.menuItem,x),D)}switch((o.text==="-"||o.name==="-")&&(o.itemType=cn.Divider),o.itemType){case cn.Divider:h.push(e._renderSeparator(s,F));break;case cn.Header:h.push(e._renderSeparator(s,F));var A=e._renderHeaderMenuItem(o,F,s,d,f);h.push(e._renderListItem(A,o.key||s,F,o.title));break;case cn.Section:h.push(e._renderSectionItem(o,F,s,d,f));break;default:var L=e._renderNormalItem(o,F,s,a,u,d,f);h.push(e._renderListItem(L,o.key||s,F,o.title));break}return _.createElement(_.Fragment,{key:o.key},h)},e._defaultMenuItemRenderer=function(o){var s=o.index,a=o.focusableElementIndex,u=o.totalItemCount,d=o.hasCheckmarks,f=o.hasIcons;return e._renderMenuItem(o,s,a,u,d,f)},e._onKeyDown=function(o){e._lastKeyDownWasAltOrMeta=e._isAltOrMeta(o);var s=o.which===he.escape&&(Ah()||Th());return e._keyHandler(o,e._shouldHandleKeyDown,s)},e._shouldHandleKeyDown=function(o){return o.which===he.escape||e._shouldCloseSubMenu(o)||o.which===he.up&&(o.altKey||o.metaKey)},e._onMenuFocusCapture=function(o){e.props.delayUpdateFocusOnHover&&(e._shouldUpdateFocusOnMouseEvent=!0)},e._onKeyUp=function(o){return e._keyHandler(o,e._shouldHandleKeyUp,!0)},e._shouldHandleKeyUp=function(o){var s=e._lastKeyDownWasAltOrMeta&&e._isAltOrMeta(o);return e._lastKeyDownWasAltOrMeta=!1,!!s&&!(Th()||Ah())},e._keyHandler=function(o,s,a){var u=!1;return s(o)&&(e._focusingPreviousElement=!0,e.dismiss(o,a),o.preventDefault(),o.stopPropagation(),u=!0),u},e._shouldCloseSubMenu=function(o){var s=ht(e.props.theme)?he.right:he.left;return o.which!==s||!e.props.isSubMenu?!1:e._adjustedFocusZoneProps.direction===Kt.vertical||!!e._adjustedFocusZoneProps.checkForNoWrap&&!e0(o.target,"data-no-horizontal-wrap")},e._onMenuKeyDown=function(o){var s=e._onKeyDown(o);if(!(s||!e._host)){var a=!!(o.altKey||o.metaKey),u=o.which===he.up,d=o.which===he.down;if(!a&&(u||d)){var f=u?J_(e._host,e._host.lastChild,!0):Q_(e._host,e._host.firstChild,!0);f&&(f.focus(),o.preventDefault(),o.stopPropagation())}}},e._onScroll=function(){!e._isScrollIdle&&e._scrollIdleTimeoutId!==void 0?(e._async.clearTimeout(e._scrollIdleTimeoutId),e._scrollIdleTimeoutId=void 0):e._isScrollIdle=!1,e._scrollIdleTimeoutId=e._async.setTimeout(function(){e._isScrollIdle=!0},Jv)},e._onItemMouseEnterBase=function(o,s,a){e._shouldIgnoreMouseEvent()||e._updateFocusOnMouseEvent(o,s,a)},e._onItemMouseMoveBase=function(o,s,a){var u=s.currentTarget;if(e._shouldUpdateFocusOnMouseEvent)e._gotMouseMove=!0;else return;!e._isScrollIdle||e._enterTimerId!==void 0||u===e._targetWindow.document.activeElement||e._updateFocusOnMouseEvent(o,s,a)},e._onMouseItemLeave=function(o,s){if(!e._shouldIgnoreMouseEvent()&&(e._enterTimerId!==void 0&&(e._async.clearTimeout(e._enterTimerId),e._enterTimerId=void 0),e.state.expandedMenuItemKey===void 0))if(e._host.setActive)try{e._host.setActive()}catch{}else e._host.focus()},e._onItemMouseDown=function(o,s){o.onMouseDown&&o.onMouseDown(o,s)},e._onItemClick=function(o,s){e._onItemClickBase(o,s,s.currentTarget)},e._onItemClickBase=function(o,s,a){var u=e.props.target,d=Qv(o,{target:u});e._cancelSubMenuTimer(),!xo(o)&&(!d||!d.length)?e._executeItemClick(o,s):o.key!==e.state.expandedMenuItemKey&&(e.setState({expandedByMouseClick:s.nativeEvent.detail!==0||s.nativeEvent.pointerType==="mouse"}),e._onItemSubMenuExpand(o,a)),s.stopPropagation(),s.preventDefault()},e._onAnchorClick=function(o,s){e._executeItemClick(o,s),s.stopPropagation()},e._executeItemClick=function(o,s){var a=e.props.target;if(!(o.disabled||o.isDisabled)){o.preferMenuTargetAsEventTarget&&A0(s,a);var u=!1;o.onClick?u=!!o.onClick(s,o):e.props.onItemClick&&(u=!!e.props.onItemClick(s,o)),(u||!s.defaultPrevented)&&(e.dismiss(s,!0),e._focusingPreviousElement=!0)}},e._onItemKeyDown=function(o,s){var a=ht(e.props.theme)?he.left:he.right;!o.disabled&&(s.which===a||s.which===he.enter||s.which===he.down&&(s.altKey||s.metaKey))&&(e.setState({expandedByMouseClick:!1}),e._onItemSubMenuExpand(o,s.currentTarget),s.preventDefault())},e._cancelSubMenuTimer=function(){e._enterTimerId!==void 0&&(e._async.clearTimeout(e._enterTimerId),e._enterTimerId=void 0)},e._onItemSubMenuExpand=function(o,s){e.state.expandedMenuItemKey!==o.key&&(e.state.expandedMenuItemKey&&e._onSubMenuDismiss(),s.focus(),e.setState({expandedMenuItemKey:o.key,submenuTarget:s}))},e._onSubMenuDismiss=function(o,s){s?e.dismiss(o,s):e._mounted&&e.setState({dismissedMenuItemKey:e.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},e._onPointerAndTouchEvent=function(o){e._cancelSubMenuTimer()},e._async=new tn(e),e._events=new mt(e),rt(e),e.state={contextualMenuItems:void 0,subMenuId:_t("ContextualMenu")},e._id=t.id||_t("ContextualMenu"),e._focusingPreviousElement=!1,e._isScrollIdle=!0,e._shouldUpdateFocusOnMouseEvent=!e.props.delayUpdateFocusOnHover,e._gotMouseMove=!1,e}return r.prototype.shouldComponentUpdate=function(t,e){return!t.shouldUpdateWhenHidden&&this.props.hidden&&t.hidden?!1:!so(this.props,t)||!so(this.state,e)},r.prototype.UNSAFE_componentWillUpdate=function(t){if(t.target!==this.props.target){var e=t.target;this._setTargetWindowAndElement(e)}this._isHidden(t)!==this._isHidden(this.props)&&(this._isHidden(t)?this._onMenuClosed():(this._onMenuOpened(),this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:void 0)),t.delayUpdateFocusOnHover!==this.props.delayUpdateFocusOnHover&&(this._shouldUpdateFocusOnMouseEvent=!t.delayUpdateFocusOnHover,this._gotMouseMove=this._shouldUpdateFocusOnMouseEvent&&this._gotMouseMove)},r.prototype.UNSAFE_componentWillMount=function(){var t=this.props.target;this._setTargetWindowAndElement(t),this.props.hidden||(this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:void 0)},r.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened(),this._mounted=!0},r.prototype.componentWillUnmount=function(){this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._events.dispose(),this._async.dispose(),this._mounted=!1},r.prototype.render=function(){var t=this,e=this.props.isBeakVisible,o=this.props,s=o.items,a=o.labelElementId,u=o.id,d=o.className,f=o.beakWidth,m=o.directionalHint,h=o.directionalHintForRTL,g=o.alignTargetEdge,y=o.gapSpace,C=o.coverTarget,x=o.ariaLabel,b=o.doNotLayer,S=o.target,F=o.bounds,D=o.useTargetWidth,A=o.useTargetAsMinWidth,L=o.directionalHintFixed,j=o.shouldFocusOnMount,M=o.shouldFocusOnContainer,R=o.title,P=o.styles,W=o.theme,Q=o.calloutProps,K=o.onRenderSubMenu,J=K===void 0?this._onRenderSubMenu:K,ne=o.onRenderMenuList,ie=ne===void 0?this._onRenderMenuList:ne,fe=o.focusZoneProps,B=o.getMenuClassNames;this._classNames=B?B(W,d):_1(P,{theme:W,className:d});var Z=se(s);function se(Rt){for(var Ut=0,Yt=Rt;Ut<Yt.length;Ut++){var $t=Yt[Ut];if($t.iconProps||$t.itemType===cn.Section&&$t.sectionProps&&se($t.sectionProps.items))return!0}return!1}this._adjustedFocusZoneProps=k(k({},fe),{direction:this._getFocusZoneDirection()});var le=C1(s),z=this.state.expandedMenuItemKey&&this.props.hidden!==!0?this._getSubmenuProps():null;e=e===void 0?this.props.responsiveMode<=ri.medium:e;var q,X=this._target;if((D||A)&&X&&X.offsetWidth){var me=X.getBoundingClientRect(),pe=me.width-2;D?q={width:pe}:A&&(q={minWidth:pe})}if(s&&s.length>0){for(var De=0,Te=0,ct=s;Te<ct.length;Te++){var Ae=ct[Te];if(Ae.itemType!==cn.Divider&&Ae.itemType!==cn.Header){var Mt=Ae.customOnRenderListLength?Ae.customOnRenderListLength:1;De+=Mt}}var ot=this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return _.createElement(Pl,k({styles:ot,onRestoreFocus:this._tryFocusPreviousActiveElement},Q,{target:S,isBeakVisible:e,beakWidth:f,directionalHint:m,directionalHintForRTL:h,gapSpace:y,coverTarget:C,doNotLayer:b,className:Et("ms-ContextualMenu-Callout",Q&&Q.className),setInitialFocus:j,onDismiss:this.props.onDismiss,onScroll:this._onScroll,bounds:F,directionalHintFixed:L,alignTargetEdge:g,hidden:this.props.hidden}),_.createElement("div",{style:q,ref:function(Rt){return t._host=Rt},id:u,className:this._classNames.container,tabIndex:M?0:-1,onKeyDown:this._onMenuKeyDown,onKeyUp:this._onKeyUp,onFocusCapture:this._onMenuFocusCapture,"aria-label":x,"aria-labelledby":a,role:"menu"},R&&_.createElement("div",{className:this._classNames.title}," ",R," "),s&&s.length?_.createElement(Vi,k({className:this._classNames.root,isCircularNavigation:!0,handleTabKey:Oh.all},this._adjustedFocusZoneProps),ie({ariaLabel:x,items:s,totalItemCount:De,hasCheckmarks:le,hasIcons:Z,defaultMenuItemRenderer:this._defaultMenuItemRenderer,labelElementId:a},this._onRenderMenuList)):null,z&&J(z,this._onRenderSubMenu)))}else return null},r.prototype._isHidden=function(t){return!!t.hidden},r.prototype._onMenuOpened=function(){this._events.on(this._targetWindow,"resize",this.dismiss),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this._gotMouseMove=!1,this.props.onMenuOpened&&this.props.onMenuOpened(this.props)},r.prototype._onMenuClosed=function(){this._events.off(this._targetWindow,"resize",this.dismiss),this._tryFocusPreviousActiveElement({containsFocus:this._focusingPreviousElement,documentContainsFocus:this._targetWindow.document.hasFocus(),originalElement:this._previousActiveElement}),this._focusingPreviousElement=!1,this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this.setState({expandedByMouseClick:void 0,dismissedMenuItemKey:void 0,expandedMenuItemKey:void 0,submenuTarget:void 0})},r.prototype._getFocusZoneDirection=function(){var t=this.props.focusZoneProps;return t&&t.direction!==void 0?t.direction:Kt.vertical},r.prototype._onRenderSubMenu=function(t,e){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")},r.prototype._renderSectionItem=function(t,e,o,s,a){var u=this,d=t.sectionProps;if(d){var f,m;if(d.title){var h=void 0,g="";if(typeof d.title=="string"){var y=this._id+d.title.replace(/\s/g,"");h={key:"section-"+d.title+"-title",itemType:cn.Header,text:d.title,id:y},g=y}else{var y=d.title.id||this._id+d.title.key.replace(/\s/g,"");h=k(k({},d.title),{id:y}),g=y}h&&(m={role:"group","aria-labelledby":g},f=this._renderHeaderMenuItem(h,e,o,s,a))}if(d.items&&d.items.length>0)return _.createElement("li",{role:"presentation",key:d.key||t.key||"section-"+o},_.createElement("div",k({},m),_.createElement("ul",{className:this._classNames.list,role:"presentation"},d.topDivider&&this._renderSeparator(o,e,!0,!0),f&&this._renderListItem(f,t.key||o,e,t.title),d.items.map(function(C,x){return u._renderMenuItem(C,x,x,d.items.length,s,a)}),d.bottomDivider&&this._renderSeparator(o,e,!1,!0))))}},r.prototype._renderListItem=function(t,e,o,s){return _.createElement("li",{role:"presentation",title:s,key:e,className:o.item},t)},r.prototype._renderSeparator=function(t,e,o,s){return s||t>0?_.createElement("li",{role:"separator",key:"separator-"+t+(o===void 0?"":o?"-top":"-bottom"),className:e.divider,"aria-hidden":"true"}):null},r.prototype._renderNormalItem=function(t,e,o,s,a,u,d){return t.onRender?t.onRender(k({"aria-posinset":s+1,"aria-setsize":a},t),this.dismiss):t.href?this._renderAnchorMenuItem(t,e,o,s,a,u,d):t.split&&xo(t)?this._renderSplitButton(t,e,o,s,a,u,d):this._renderButtonItem(t,e,o,s,a,u,d)},r.prototype._renderHeaderMenuItem=function(t,e,o,s,a){var u=this.props.contextualMenuItemAs,d=u===void 0?yl:u,f=t.itemProps,m=t.id,h=f&&qe(f,en);return _.createElement("div",k({id:m,className:this._classNames.header},h,{style:t.style}),_.createElement(d,k({item:t,classNames:e,index:o,onCheckmarkClick:s?this._onItemClick:void 0,hasIcons:a},f)))},r.prototype._renderAnchorMenuItem=function(t,e,o,s,a,u,d){var f=this.props.contextualMenuItemAs,m=this.state.expandedMenuItemKey;return _.createElement(p1,{item:t,classNames:e,index:o,focusableElementIndex:s,totalItemCount:a,hasCheckmarks:u,hasIcons:d,contextualMenuItemAs:f,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,expandedMenuItemKey:m,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},r.prototype._renderButtonItem=function(t,e,o,s,a,u,d){var f=this.props.contextualMenuItemAs,m=this.state.expandedMenuItemKey;return _.createElement(h1,{item:t,classNames:e,index:o,focusableElementIndex:s,totalItemCount:a,hasCheckmarks:u,hasIcons:d,contextualMenuItemAs:f,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,expandedMenuItemKey:m,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},r.prototype._renderSplitButton=function(t,e,o,s,a,u,d){var f=this.props.contextualMenuItemAs,m=this.state.expandedMenuItemKey;return _.createElement(y1,{item:t,classNames:e,index:o,focusableElementIndex:s,totalItemCount:a,hasCheckmarks:u,hasIcons:d,contextualMenuItemAs:f,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:m,onTap:this._onPointerAndTouchEvent})},r.prototype._isAltOrMeta=function(t){return t.which===he.alt||t.key==="Meta"},r.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},r.prototype._updateFocusOnMouseEvent=function(t,e,o){var s=this,a=o||e.currentTarget,u=this.props.subMenuHoverDelay,d=u===void 0?Jv:u;t.key!==this.state.expandedMenuItemKey&&(this._enterTimerId!==void 0&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),this.state.expandedMenuItemKey===void 0&&a.focus(),xo(t)?(e.stopPropagation(),this._enterTimerId=this._async.setTimeout(function(){a.focus(),s.setState({expandedByMouseClick:!0}),s._onItemSubMenuExpand(t,a),s._enterTimerId=void 0},d)):this._enterTimerId=this._async.setTimeout(function(){s._onSubMenuDismiss(e),a.focus(),s._enterTimerId=void 0},d))},r.prototype._getSubmenuProps=function(){var t=this.state,e=t.submenuTarget,o=t.expandedMenuItemKey,s=this._findItemByKey(o),a=null,u=this.props.target;if(s&&(a={items:Qv(s,{target:u}),target:e,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:ht(this.props.theme)?ft.leftTopEdge:ft.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},s.subMenuProps&&ei(a,s.subMenuProps),s.preferMenuTargetAsEventTarget)){var d=s.onItemClick;a.onItemClick=T0(d,u)}return a},r.prototype._findItemByKey=function(t){var e=this.props.items;return this._findItemByKeyFromItems(t,e)},r.prototype._findItemByKeyFromItems=function(t,e){for(var o=0,s=e;o<s.length;o++){var a=s[o];if(a.itemType===cn.Section&&a.sectionProps){var u=this._findItemByKeyFromItems(t,a.sectionProps.items);if(u)return u}else if(a.key&&a.key===t)return a}},r.prototype._setTargetWindowAndElement=function(t){var e=this._host;if(t)if(typeof t=="string"){var o=jt(e);this._target=o?o.querySelector(t):null,this._targetWindow=Re(e)}else if(t.stopPropagation)this._targetWindow=Re(t.target),this._target=t;else if((t.left!==void 0||t.x!==void 0)&&(t.top!==void 0||t.y!==void 0))this._targetWindow=Re(e),this._target=t;else if(t.current!==void 0)this._target=t.current,this._targetWindow=Re(this._target);else{var s=t;this._targetWindow=Re(s),this._target=t}else this._targetWindow=Re(e)},r.defaultProps={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:ft.bottomAutoEdge,beakWidth:16},r=Ir([Rl],r),r})(_.Component);function T0(n,r){return n&&function(t,e){return A0(t,r),n(t,e)}}function A0(n,r){n&&r&&(n.persist(),r instanceof Event?n.target=r.target:r instanceof Element&&(n.target=r))}var S1={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"},E1=function(n){var r=n.className,t=n.theme,e=ze(S1,t),o=t.fonts,s=t.semanticColors,a=t.effects;return{root:[t.fonts.medium,e.root,e.isopen,{backgroundColor:s.menuBackground,minWidth:"180px"},r],container:[e.container,{selectors:{":focus":{outline:0}}}],list:[e.list,e.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[e.header,o.small,{fontWeight:it.semibold,color:s.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:Jo,lineHeight:Jo,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[e.title,{fontSize:o.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:s.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}};function ey(n){return _.createElement(M0,k({},n))}var M0=Fe(w1,E1,function(n){return{onRenderSubMenu:n.onRenderSubMenu?ir(n.onRenderSubMenu,ey):ey}},{scope:"ContextualMenu"}),Hh=M0,Fn={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"},k1=st(function(n,r,t,e,o,s,a,u,d,f,m){var h,g,y=ze(Fn,n||{}),C=f&&!m;return oi({root:[y.msButton,r.root,e,d&&["is-checked",r.rootChecked],C&&["is-expanded",r.rootExpanded,{selectors:(h={},h[":hover ."+y.msButtonIcon]=r.iconExpandedHovered,h[":hover ."+y.msButtonMenuIcon]=r.menuIconExpandedHovered||r.rootExpandedHovered,h[":hover"]=r.rootExpandedHovered,h)}],u&&[Fn.msButtonHasMenu,r.rootHasMenu],a&&["is-disabled",r.rootDisabled],!a&&!C&&!d&&{selectors:(g={":hover":r.rootHovered},g[":hover ."+y.msButtonLabel]=r.labelHovered,g[":hover ."+y.msButtonIcon]=r.iconHovered,g[":hover ."+y.msButtonDescription]=r.descriptionHovered,g[":hover ."+y.msButtonMenuIcon]=r.menuIconHovered,g[":focus"]=r.rootFocused,g[":active"]=r.rootPressed,g[":active ."+y.msButtonIcon]=r.iconPressed,g[":active ."+y.msButtonDescription]=r.descriptionPressed,g[":active ."+y.msButtonMenuIcon]=r.menuIconPressed,g)},a&&d&&[r.rootCheckedDisabled],!a&&d&&{selectors:{":hover":r.rootCheckedHovered,":active":r.rootCheckedPressed}},t],flexContainer:[y.msButtonFlexContainer,r.flexContainer],textContainer:[y.msButtonTextContainer,r.textContainer],icon:[y.msButtonIcon,o,r.icon,C&&r.iconExpanded,d&&r.iconChecked,a&&r.iconDisabled],label:[y.msButtonLabel,r.label,d&&r.labelChecked,a&&r.labelDisabled],menuIcon:[y.msButtonMenuIcon,s,r.menuIcon,d&&r.menuIconChecked,a&&!m&&r.menuIconDisabled,!a&&!C&&!d&&{selectors:{":hover":r.menuIconHovered,":active":r.menuIconPressed}},C&&["is-expanded",r.menuIconExpanded]],description:[y.msButtonDescription,r.description,d&&r.descriptionChecked,a&&r.descriptionDisabled],screenReaderText:[y.msButtonScreenReaderText,r.screenReaderText]})}),I1=st(function(n,r,t,e,o){return{root:Hr(n.splitButtonMenuButton,t&&[n.splitButtonMenuButtonExpanded],r&&[n.splitButtonMenuButtonDisabled],e&&!r&&[n.splitButtonMenuButtonChecked],o&&!r&&[{selectors:{":focus":n.splitButtonMenuFocused}}]),splitButtonContainer:Hr(n.splitButtonContainer,!r&&e&&[n.splitButtonContainerChecked,{selectors:{":hover":n.splitButtonContainerCheckedHovered}}],!r&&!e&&[{selectors:{":hover":n.splitButtonContainerHovered,":focus":n.splitButtonContainerFocused}}],r&&n.splitButtonContainerDisabled),icon:Hr(n.splitButtonMenuIcon,r&&n.splitButtonMenuIconDisabled,!r&&o&&n.splitButtonMenuIcon),flexContainer:Hr(n.splitButtonFlexContainer),divider:Hr(n.splitButtonDivider,(o||r)&&n.splitButtonDividerDisabled)}}),F1=500,D1="BaseButton",rd=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._buttonElement=_.createRef(),e._splitButtonContainer=_.createRef(),e._mergedRef=cf(),e._renderedVisibleMenu=!1,e._getMemoizedMenuButtonKeytipProps=st(function(o){return k(k({},o),{hasMenu:!0})}),e._onRenderIcon=function(o,s){var a=e.props.iconProps;if(a&&(a.iconName!==void 0||a.imageProps)){var u=a.className,d=a.imageProps,f=Vn(a,["className","imageProps"]);if(a.styles)return _.createElement(Ke,k({className:Et(e._classNames.icon,u),imageProps:d},f));if(a.iconName)return _.createElement(pn,k({className:Et(e._classNames.icon,u)},f));if(d)return _.createElement(TF,k({className:Et(e._classNames.icon,u),imageProps:d},f))}return null},e._onRenderTextContents=function(){var o=e.props,s=o.text,a=o.children,u=o.secondaryText,d=u===void 0?e.props.description:u,f=o.onRenderText,m=f===void 0?e._onRenderText:f,h=o.onRenderDescription,g=h===void 0?e._onRenderDescription:h;return s||typeof a=="string"||d?_.createElement("span",{className:e._classNames.textContainer},m(e.props,e._onRenderText),g(e.props,e._onRenderDescription)):[m(e.props,e._onRenderText),g(e.props,e._onRenderDescription)]},e._onRenderText=function(){var o=e.props.text,s=e.props.children;return o===void 0&&typeof s=="string"&&(o=s),e._hasText()?_.createElement("span",{key:e._labelId,className:e._classNames.label,id:e._labelId},o):null},e._onRenderChildren=function(){var o=e.props.children;return typeof o=="string"?null:o},e._onRenderDescription=function(o){var s=o.secondaryText,a=s===void 0?e.props.description:s;return a?_.createElement("span",{key:e._descriptionId,className:e._classNames.description,id:e._descriptionId},a):null},e._onRenderAriaDescription=function(){var o=e.props.ariaDescription;return o?_.createElement("span",{className:e._classNames.screenReaderText,id:e._ariaDescriptionId},o):null},e._onRenderMenuIcon=function(o){var s=e.props.menuIconProps;return _.createElement(pn,k({iconName:"ChevronDown"},s,{className:e._classNames.menuIcon}))},e._onRenderMenu=function(o){var s=e.props.menuAs?K_(e.props.menuAs,Hh):Hh;return _.createElement(s,k({},o))},e._onDismissMenu=function(o){var s=e.props.menuProps;s&&s.onDismiss&&s.onDismiss(o),(!o||!o.defaultPrevented)&&e._dismissMenu()},e._dismissMenu=function(){e._menuShouldFocusOnMount=void 0,e._menuShouldFocusOnContainer=void 0,e.setState({menuHidden:!0})},e._openMenu=function(o,s){s===void 0&&(s=!0),e.props.menuProps&&(e._menuShouldFocusOnContainer=o,e._menuShouldFocusOnMount=s,e._renderedVisibleMenu=!0,e.setState({menuHidden:!1}))},e._onToggleMenu=function(o){var s=!0;e.props.menuProps&&e.props.menuProps.shouldFocusOnMount===!1&&(s=!1),e.state.menuHidden?e._openMenu(o,s):e._dismissMenu()},e._onSplitContainerFocusCapture=function(o){var s=e._splitButtonContainer.current;!s||o.target&&sf(o.target,s)||s.focus()},e._onSplitButtonPrimaryClick=function(o){e.state.menuHidden||e._dismissMenu(),!e._processingTouch&&e.props.onClick?e.props.onClick(o):e._processingTouch&&e._onMenuClick(o)},e._onKeyDown=function(o){e.props.disabled&&(o.which===he.enter||o.which===he.space)?(o.preventDefault(),o.stopPropagation()):e.props.disabled||(e.props.menuProps?e._onMenuKeyDown(o):e.props.onKeyDown!==void 0&&e.props.onKeyDown(o))},e._onKeyUp=function(o){!e.props.disabled&&e.props.onKeyUp!==void 0&&e.props.onKeyUp(o)},e._onKeyPress=function(o){!e.props.disabled&&e.props.onKeyPress!==void 0&&e.props.onKeyPress(o)},e._onMouseUp=function(o){!e.props.disabled&&e.props.onMouseUp!==void 0&&e.props.onMouseUp(o)},e._onMouseDown=function(o){!e.props.disabled&&e.props.onMouseDown!==void 0&&e.props.onMouseDown(o)},e._onClick=function(o){e.props.disabled||(e.props.menuProps?e._onMenuClick(o):e.props.onClick!==void 0&&e.props.onClick(o))},e._onSplitButtonContainerKeyDown=function(o){o.which===he.enter||o.which===he.space?e._buttonElement.current&&(e._buttonElement.current.click(),o.preventDefault(),o.stopPropagation()):e._onMenuKeyDown(o)},e._onMenuKeyDown=function(o){if(!e.props.disabled){e.props.onKeyDown&&e.props.onKeyDown(o);var s=o.which===he.up,a=o.which===he.down;if(!o.defaultPrevented&&e._isValidMenuOpenKey(o)){var u=e.props.onMenuClick;u&&u(o,e.props),e._onToggleMenu(!1),o.preventDefault(),o.stopPropagation()}if((o.which===he.enter||o.which===he.space)&&Li(!0,o.target),!(o.altKey||o.metaKey)&&(s||a)&&!e.state.menuHidden&&e.props.menuProps){var d=e._menuShouldFocusOnMount!==void 0?e._menuShouldFocusOnMount:e.props.menuProps.shouldFocusOnMount;d||(o.preventDefault(),o.stopPropagation(),e._menuShouldFocusOnMount=!0,e.forceUpdate())}}},e._onTouchStart=function(){e._isSplitButton&&e._splitButtonContainer.current&&!("onpointerdown"in e._splitButtonContainer.current)&&e._handleTouchAndPointerEvent()},e._onMenuClick=function(o){var s=e.props.onMenuClick;if(s&&s(o,e.props),!o.defaultPrevented){var a=o.nativeEvent.detail!==0||o.nativeEvent.pointerType==="mouse";e._onToggleMenu(a),o.preventDefault(),o.stopPropagation()}},rt(e),e._async=new tn(e),e._events=new mt(e),z_(D1,t,["menuProps","onClick"],"split",e.props.split),e._labelId=_t(),e._descriptionId=_t(),e._ariaDescriptionId=_t(),e.state={menuHidden:!0},e}return Object.defineProperty(r.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&this.props.split===!0},enumerable:!0,configurable:!0}),r.prototype.render=function(){var t,e=this.props,o=e.ariaDescription,s=e.ariaLabel,a=e.ariaHidden,u=e.className,d=e.disabled,f=e.allowDisabledFocus,m=e.primaryDisabled,h=e.secondaryText,g=h===void 0?this.props.description:h,y=e.href,C=e.iconProps,x=e.menuIconProps,b=e.styles,S=e.checked,F=e.variantClassName,D=e.theme,A=e.toggle,L=e.getClassNames,j=e.role,M=this.state.menuHidden,R=d||m;this._classNames=L?L(D,u,F,C&&C.className,x&&x.className,R,S,!M,!!this.props.menuProps,this.props.split,!!f):k1(D,b,u,F,C&&C.className,x&&x.className,R,!!this.props.menuProps,S,!M,this.props.split);var P=this,W=P._ariaDescriptionId,Q=P._labelId,K=P._descriptionId,J=!R&&!!y,ne=J?"a":"button",ie=qe(ei(J?{}:{type:"button"},this.props.rootProps,this.props),J?uf:ni,["disabled"]),fe=s||ie["aria-label"],B=void 0;o?B=W:g&&this.props.onRenderDescription!==Hi?B=K:ie["aria-describedby"]&&(B=ie["aria-describedby"]);var Z=void 0;fe||(ie["aria-labelledby"]?Z=ie["aria-labelledby"]:B&&(Z=this._hasText()?Q:void 0));var se=!(this.props["data-is-focusable"]===!1||d&&!f||this._isSplitButton),le=j==="menuitemcheckbox"||j==="checkbox",z=le||A===!0?!!S:void 0,q=ei(ie,(t={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:R&&!f,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":fe,"aria-labelledby":Z,"aria-describedby":B,"aria-disabled":R,"data-is-focusable":se},t[le?"aria-checked":"aria-pressed"]=z,t));return a&&(q["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(ne,q):(this.props.menuProps&&ei(q,{"aria-expanded":!M,"aria-owns":M?null:this._labelId+"-menu","aria-haspopup":!0}),this._onRenderContent(ne,q))},r.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))},r.prototype.componentDidUpdate=function(t,e){this.props.onAfterMenuDismiss&&!e.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},r.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},r.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?(Li(!0),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(Li(!0),this._buttonElement.current.focus())},r.prototype.dismissMenu=function(){this._dismissMenu()},r.prototype.openMenu=function(t,e){this._openMenu(t,e)},r.prototype._onRenderContent=function(t,e){var o=this,s=this.props,a=t,u=s.menuIconProps,d=s.menuProps,f=s.onRenderIcon,m=f===void 0?this._onRenderIcon:f,h=s.onRenderAriaDescription,g=h===void 0?this._onRenderAriaDescription:h,y=s.onRenderChildren,C=y===void 0?this._onRenderChildren:y,x=s.onRenderMenu,b=x===void 0?this._onRenderMenu:x,S=s.onRenderMenuIcon,F=S===void 0?this._onRenderMenuIcon:S,D=s.disabled,A=s.keytipProps;A&&d&&(A=this._getMemoizedMenuButtonKeytipProps(A));var L=function(M){return _.createElement(a,k({},e,M),_.createElement("span",{className:o._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},m(s,o._onRenderIcon),o._onRenderTextContents(),g(s,o._onRenderAriaDescription),C(s,o._onRenderChildren),!o._isSplitButton&&(d||u||o.props.onRenderMenuIcon)&&F(o.props,o._onRenderMenuIcon),d&&!d.doNotLayer&&o._shouldRenderMenu()&&b(o._getMenuProps(d),o._onRenderMenu)))},j=A?_.createElement(wo,{keytipProps:this._isSplitButton?void 0:A,ariaDescribedBy:e["aria-describedby"],disabled:D},function(M){return L(M)}):L();return d&&d.doNotLayer?_.createElement("span",{style:{display:"inline-block"}},j,this._shouldRenderMenu()&&b(this._getMenuProps(d),this._onRenderMenu)):_.createElement(_.Fragment,null,j,_.createElement(qs,null))},r.prototype._shouldRenderMenu=function(){var t=this.state.menuHidden,e=this.props,o=e.persistMenu,s=e.renderPersistedMenuHiddenOnMount;if(t){if(o&&(this._renderedVisibleMenu||s))return!0}else return!0;return!1},r.prototype._hasText=function(){return this.props.text!==null&&(this.props.text!==void 0||typeof this.props.children=="string")},r.prototype._getMenuProps=function(t){var e=this.props.persistMenu,o=this.state.menuHidden;return!t.ariaLabel&&!t.labelElementId&&this._hasText()&&(t=k(k({},t),{labelElementId:this._labelId})),k(k({id:this._labelId+"-menu",directionalHint:ft.bottomLeftEdge},t),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:e?o:void 0,className:Et("ms-BaseButton-menuhost",t.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},r.prototype._onRenderSplitButtonContent=function(t,e){var o=this,s=this.props,a=s.styles,u=a===void 0?{}:a,d=s.disabled,f=s.allowDisabledFocus,m=s.checked,h=s.getSplitButtonClassNames,g=s.primaryDisabled,y=s.menuProps,C=s.toggle,x=s.role,b=s.primaryActionButtonProps,S=this.props.keytipProps,F=this.state.menuHidden,D=h?h(!!d,!F,!!m,!!f):u&&I1(u,!!d,!F,!!m,!!g);ei(e,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),S&&y&&(S=this._getMemoizedMenuButtonKeytipProps(S));var A=qe(e,[],["disabled"]);b&&ei(e,b);var L=function(j){return _.createElement("div",k({},A,{"data-ktp-target":j?j["data-ktp-target"]:void 0,role:x||"button","aria-disabled":d,"aria-haspopup":!0,"aria-expanded":!F,"aria-pressed":C?!!m:void 0,"aria-describedby":ti(e["aria-describedby"],j?j["aria-describedby"]:void 0),className:D&&D.splitButtonContainer,onKeyDown:o._onSplitButtonContainerKeyDown,onTouchStart:o._onTouchStart,ref:o._splitButtonContainer,"data-is-focusable":!0,onClick:!d&&!g?o._onSplitButtonPrimaryClick:void 0,tabIndex:!d&&!g||f?0:void 0,"aria-roledescription":e["aria-roledescription"],onFocusCapture:o._onSplitContainerFocusCapture}),_.createElement("span",{style:{display:"flex"}},o._onRenderContent(t,e),o._onRenderSplitButtonMenuButton(D,j),o._onRenderSplitButtonDivider(D)))};return S?_.createElement(wo,{keytipProps:S,disabled:d},function(j){return L(j)}):L()},r.prototype._onRenderSplitButtonDivider=function(t){if(t&&t.divider){var e=function(o){o.stopPropagation()};return _.createElement("span",{className:t.divider,"aria-hidden":!0,onClick:e})}return null},r.prototype._onRenderSplitButtonMenuButton=function(t,e){var o=this.props,s=o.allowDisabledFocus,a=o.checked,u=o.disabled,d=o.splitButtonMenuProps,f=o.splitButtonAriaLabel,m=o.primaryDisabled,h=this.state.menuHidden,g=this.props.menuIconProps;g===void 0&&(g={iconName:"ChevronDown"});var y=k(k({},d),{styles:t,checked:a,disabled:u,allowDisabledFocus:s,onClick:this._onMenuClick,menuProps:void 0,iconProps:k(k({},g),{className:this._classNames.menuIcon}),ariaLabel:f,"aria-haspopup":!0,"aria-expanded":!h,"data-is-focusable":!1});return _.createElement(r,k({},y,{"data-ktp-execute-target":e&&e["data-ktp-execute-target"],onMouseDown:this._onMouseDown,tabIndex:m&&!s?0:-1}))},r.prototype._onPointerDown=function(t){var e=this.props.onPointerDown;e&&e(t),t.pointerType==="touch"&&(this._handleTouchAndPointerEvent(),t.preventDefault(),t.stopImmediatePropagation())},r.prototype._handleTouchAndPointerEvent=function(){var t=this;this._lastTouchTimeoutId!==void 0&&(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,t.focus()},F1)},r.prototype._isValidMenuOpenKey=function(t){return this.props.menuTriggerKeyCode?t.which===this.props.menuTriggerKeyCode:this.props.menuProps?t.which===he.down&&(t.altKey||t.metaKey):!1},r.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},r})(_.Component),ty={outline:0},ny=function(n){return{fontSize:n,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},od=st(function(n){var r,t,e=n.semanticColors,o=n.effects,s=n.fonts,a=e.buttonBorder,u=e.disabledBackground,d=e.disabledText,f={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[Jt(n,{inset:1,highContrastStyle:f,borderColor:"transparent"}),n.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:[Jt(n,{inset:1,highContrastStyle:f,borderColor:"transparent"}),{backgroundColor:u,borderColor:u,color:d,cursor:"default",selectors:{":hover":ty,":focus":ty}}],iconDisabled:{color:d,selectors:(r={},r[re]={color:"GrayText"},r)},menuIconDisabled:{color:d,selectors:(t={},t[re]={color:"GrayText"},t)},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:ny(s.mediumPlus.fontSize),menuIcon:ny(s.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:Ui}}),yf=st(function(n,r){var t,e,o,s,a,u,d,f,m,h,g,y,C,x=n.effects,b=n.palette,S=n.semanticColors,F={left:-2,top:-2,bottom:-2,right:-2,border:"none"},D={position:"absolute",width:1,right:31,top:8,bottom:8},A={splitButtonContainer:[Jt(n,{highContrastStyle:F,inset:2}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",selectors:(t={},t[re]=k({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},tt()),t)},".ms-Button--primary + .ms-Button":{border:"none",selectors:(e={},e[re]={border:"1px solid WindowText",borderLeftWidth:"0"},e)}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(o={},o[re]={color:"Window",backgroundColor:"Highlight"},o)},".ms-Button.is-disabled":{color:S.buttonTextDisabled,selectors:(s={},s[re]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(a={},a[re]=k({color:"Window",backgroundColor:"WindowText"},tt()),a)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(u={},u[re]=k({color:"Window",backgroundColor:"WindowText"},tt()),u)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(d={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:x.roundedCorner2,borderBottomRightRadius:x.roundedCorner2,border:"1px solid "+b.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},d[re]={".ms-Button-menuIcon":{color:"WindowText"}},d),splitButtonDivider:k(k({},D),{selectors:(f={},f[re]={backgroundColor:"WindowText"},f)}),splitButtonDividerDisabled:k(k({},D),{selectors:(m={},m[re]={backgroundColor:"GrayText"},m)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(h={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(g={},g[re]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},g)},".ms-Button-menuIcon":{selectors:(y={},y[re]={color:"GrayText"},y)}},h[re]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},h)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(C={},C[re]=k({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},tt()),C)},splitButtonMenuFocused:k({},Jt(n,{highContrastStyle:F,inset:2}))};return Gr(A,r)}),P0=function(){return{position:"absolute",width:1,right:31,top:8,bottom:8}};function T1(n){var r,t,e,o,s,a=n.semanticColors,u=n.palette,d=a.buttonBackground,f=a.buttonBackgroundPressed,m=a.buttonBackgroundHovered,h=a.buttonBackgroundDisabled,g=a.buttonText,y=a.buttonTextHovered,C=a.buttonTextDisabled,x=a.buttonTextChecked,b=a.buttonTextCheckedHovered;return{root:{backgroundColor:d,color:g},rootHovered:{backgroundColor:m,color:y,selectors:(r={},r[re]={borderColor:"Highlight",color:"Highlight"},r)},rootPressed:{backgroundColor:f,color:x},rootExpanded:{backgroundColor:f,color:x},rootChecked:{backgroundColor:f,color:x},rootCheckedHovered:{backgroundColor:f,color:b},rootDisabled:{color:C,backgroundColor:h,selectors:(t={},t[re]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},t)},splitButtonContainer:{selectors:(e={},e[re]={border:"none"},e)},splitButtonMenuButton:{color:u.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:u.neutralLight,selectors:(o={},o[re]={color:"Highlight"},o)}}},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:a.buttonBackgroundDisabled}}},splitButtonDivider:k(k({},P0()),{backgroundColor:u.neutralTertiaryAlt,selectors:(s={},s[re]={backgroundColor:"WindowText"},s)}),splitButtonDividerDisabled:{backgroundColor:n.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:u.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:u.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:u.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:u.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}function A1(n){var r,t,e,o,s,a,u,d,f,m=n.palette,h=n.semanticColors;return{root:{backgroundColor:h.primaryButtonBackground,border:"1px solid "+h.primaryButtonBackground,color:h.primaryButtonText,selectors:(r={},r[re]=k({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},tt()),r["."+Lt+" &:focus"]={selectors:{":after":{border:"none",outlineColor:m.white}}},r)},rootHovered:{backgroundColor:h.primaryButtonBackgroundHovered,border:"1px solid "+h.primaryButtonBackgroundHovered,color:h.primaryButtonTextHovered,selectors:(t={},t[re]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},t)},rootPressed:{backgroundColor:h.primaryButtonBackgroundPressed,border:"1px solid "+h.primaryButtonBackgroundPressed,color:h.primaryButtonTextPressed,selectors:(e={},e[re]=k({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},tt()),e)},rootExpanded:{backgroundColor:h.primaryButtonBackgroundPressed,color:h.primaryButtonTextPressed},rootChecked:{backgroundColor:h.primaryButtonBackgroundPressed,color:h.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:h.primaryButtonBackgroundPressed,color:h.primaryButtonTextPressed},rootDisabled:{color:h.primaryButtonTextDisabled,backgroundColor:h.primaryButtonBackgroundDisabled,selectors:(o={},o[re]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o)},splitButtonContainer:{selectors:(s={},s[re]={border:"none"},s)},splitButtonDivider:k(k({},P0()),{backgroundColor:m.white,selectors:(a={},a[re]={backgroundColor:"Window"},a)}),splitButtonMenuButton:{backgroundColor:h.primaryButtonBackground,color:h.primaryButtonText,selectors:(u={},u[re]={backgroundColor:"WindowText"},u[":hover"]={backgroundColor:h.primaryButtonBackgroundHovered,selectors:(d={},d[re]={color:"Highlight"},d)},u)},splitButtonMenuButtonDisabled:{backgroundColor:h.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:h.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:h.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:h.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:h.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:h.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:h.primaryButtonText},splitButtonMenuIconDisabled:{color:m.neutralTertiary,selectors:(f={},f[re]={color:"GrayText"},f)}}}var M1="32px",P1="80px",R1=st(function(n,r,t){var e=od(n),o=yf(n),s={root:{minWidth:P1,height:M1},label:{fontWeight:it.semibold}};return Gr(e,s,t?A1(n):T1(n),o,r)}),xt=(function(n){be(r,n);function r(){return n!==null&&n.apply(this,arguments)||this}return r.prototype.render=function(){var t=this.props,e=t.primary,o=e===void 0?!1:e,s=t.styles,a=t.theme;return _.createElement(rd,k({},this.props,{variantClassName:o?"ms-Button--primary":"ms-Button--default",styles:R1(a,s,o),onRenderDescription:Hi}))},r=Ir([$s("DefaultButton",["theme","styles"],!0)],r),r})(_.Component),N1="40px",L1="0 4px",B1=st(function(n,r){var t,e=od(n),o={root:{padding:L1,height:N1,color:n.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},rootHovered:{color:n.palette.themePrimary,selectors:(t={},t[re]={borderColor:"Highlight",color:"Highlight"},t)},iconHovered:{color:n.palette.themePrimary},rootPressed:{color:n.palette.black},rootExpanded:{color:n.palette.themePrimary},iconPressed:{color:n.palette.themeDarker},rootDisabled:{color:n.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},rootChecked:{color:n.palette.black},iconChecked:{color:n.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:n.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:n.palette.neutralSecondary},textContainer:{flexGrow:0}};return Gr(e,o,r)}),id=(function(n){be(r,n);function r(){return n!==null&&n.apply(this,arguments)||this}return r.prototype.render=function(){var t=this.props,e=t.styles,o=t.theme;return _.createElement(rd,k({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:B1(o,e),onRenderDescription:Hi}))},r=Ir([$s("ActionButton",["theme","styles"],!0)],r),r})(_.Component),j1=st(function(n,r){var t,e=od(n),o=yf(n),s=n.palette,a=n.semanticColors,u={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:a.link},rootHovered:{color:s.themeDarkAlt,backgroundColor:s.neutralLighter,selectors:(t={},t[re]={borderColor:"Highlight",color:"Highlight"},t)},rootHasMenu:{width:"auto"},rootPressed:{color:s.themeDark,backgroundColor:s.neutralLight},rootExpanded:{color:s.themeDark,backgroundColor:s.neutralLight},rootChecked:{color:s.themeDark,backgroundColor:s.neutralLight},rootCheckedHovered:{color:s.themeDark,backgroundColor:s.neutralQuaternaryAlt},rootDisabled:{color:s.neutralTertiaryAlt}};return Gr(e,u,o,r)}),kr=(function(n){be(r,n);function r(){return n!==null&&n.apply(this,arguments)||this}return r.prototype.render=function(){var t=this.props,e=t.styles,o=t.theme;return _.createElement(rd,k({},this.props,{variantClassName:"ms-Button--icon",styles:j1(o,e),onRenderText:Hi,onRenderDescription:Hi}))},r=Ir([$s("IconButton",["theme","styles"],!0)],r),r})(_.Component),An=(function(n){be(r,n);function r(){return n!==null&&n.apply(this,arguments)||this}return r.prototype.render=function(){return _.createElement(xt,k({},this.props,{primary:!0,onRenderDescription:Hi}))},r=Ir([$s("PrimaryButton",["theme","styles"],!0)],r),r})(_.Component),O1=st(function(n,r,t,e){var o,s,a,u,d,f,m,h,g,y,C,x,b,S,F=od(n),D=yf(n),A=n.palette,L=n.semanticColors,j={left:4,top:4,bottom:4,right:4,border:"none"},M={root:[Jt(n,{inset:2,highContrastStyle:j,borderColor:"transparent"}),n.fonts.medium,{minWidth:"40px",backgroundColor:A.white,color:A.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0,selectors:(o={},o[re]={border:"none"},o)}],rootHovered:{backgroundColor:A.neutralLighter,color:A.neutralDark,selectors:(s={},s[re]={color:"Highlight"},s["."+Fn.msButtonIcon]={color:A.themeDarkAlt},s["."+Fn.msButtonMenuIcon]={color:A.neutralPrimary},s)},rootPressed:{backgroundColor:A.neutralLight,color:A.neutralDark,selectors:(a={},a["."+Fn.msButtonIcon]={color:A.themeDark},a["."+Fn.msButtonMenuIcon]={color:A.neutralPrimary},a)},rootChecked:{backgroundColor:A.neutralLight,color:A.neutralDark,selectors:(u={},u["."+Fn.msButtonIcon]={color:A.themeDark},u["."+Fn.msButtonMenuIcon]={color:A.neutralPrimary},u)},rootCheckedHovered:{backgroundColor:A.neutralQuaternaryAlt,selectors:(d={},d["."+Fn.msButtonIcon]={color:A.themeDark},d["."+Fn.msButtonMenuIcon]={color:A.neutralPrimary},d)},rootExpanded:{backgroundColor:A.neutralLight,color:A.neutralDark,selectors:(f={},f["."+Fn.msButtonIcon]={color:A.themeDark},f["."+Fn.msButtonMenuIcon]={color:A.neutralPrimary},f)},rootExpandedHovered:{backgroundColor:A.neutralQuaternaryAlt},rootDisabled:{backgroundColor:A.white,selectors:(m={},m["."+Fn.msButtonIcon]={color:L.disabledBodySubtext,selectors:(h={},h[re]=k({color:"GrayText"},tt()),h)},m[re]=k({color:"GrayText",backgroundColor:"Window"},tt()),m)},splitButtonContainer:{height:"100%",selectors:(g={},g[re]={border:"none"},g)},splitButtonDividerDisabled:{selectors:(y={},y[re]={backgroundColor:"Window"},y)},splitButtonDivider:{backgroundColor:A.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:A.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:A.neutralSecondary,selectors:{":hover":{backgroundColor:A.neutralLighter,color:A.neutralDark,selectors:(C={},C[re]={color:"Highlight"},C["."+Fn.msButtonIcon]={color:A.neutralPrimary},C)},":active":{backgroundColor:A.neutralLight,selectors:(x={},x["."+Fn.msButtonIcon]={color:A.neutralPrimary},x)}}},splitButtonMenuButtonDisabled:{backgroundColor:A.white,selectors:(b={},b[re]=k({color:"GrayText",border:"none",backgroundColor:"Window"},tt()),b)},splitButtonMenuButtonChecked:{backgroundColor:A.neutralLight,color:A.neutralDark,selectors:{":hover":{backgroundColor:A.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:A.neutralLight,color:A.black,selectors:{":hover":{backgroundColor:A.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:A.neutralPrimary},splitButtonMenuIconDisabled:{color:A.neutralTertiary},label:{fontWeight:"normal"},icon:{color:A.themePrimary},menuIcon:(S={color:A.neutralSecondary},S[re]={color:"GrayText"},S)};return Gr(F,D,M,r)}),zs=(function(n){be(r,n);function r(){return n!==null&&n.apply(this,arguments)||this}return r.prototype.render=function(){var t=this.props,e=t.styles,o=t.theme;return _.createElement(rd,k({},this.props,{variantClassName:"ms-Button--commandBar",styles:O1(o,e),onRenderDescription:Hi}))},r=Ir([$s("CommandBarButton",["theme","styles"],!0)],r),r})(_.Component),H1=id,W1=ke(),R0=function(n){var r=n.checked,t=r===void 0?!1:r,e=n.className,o=n.theme,s=n.styles,a=n.useFastIcons,u=a===void 0?!0:a,d=W1(s,{theme:o,className:e,checked:t}),f=u?pn:Ke;return _.createElement("div",{className:d.root},_.createElement(f,{iconName:"CircleRing",className:d.circle}),_.createElement(f,{iconName:"StatusCircleCheckmark",className:d.check}))};R0.displayName="CheckBase";var N0={root:"ms-Check",circle:"ms-Check-circle",check:"ms-Check-check",checkHost:"ms-Check-checkHost"},z1=function(n){var r,t,e,o,s,a=n.height,u=a===void 0?n.checkBoxHeight||"18px":a,d=n.checked,f=n.className,m=n.theme,h=m.palette,g=m.semanticColors,y=m.fonts,C=ht(m),x=ze(N0,m),b={fontSize:u,position:"absolute",left:0,top:0,width:u,height:u,textAlign:"center",verticalAlign:"middle"};return{root:[x.root,y.medium,{lineHeight:"1",width:u,height:u,verticalAlign:"top",position:"relative",userSelect:"none",selectors:(r={":before":{content:'""',position:"absolute",top:"1px",right:"1px",bottom:"1px",left:"1px",borderRadius:"50%",opacity:1,background:g.bodyBackground}},r["."+x.checkHost+":hover &, ."+x.checkHost+":focus &, &:hover, &:focus"]={opacity:1},r)},d&&["is-checked",{selectors:{":before":{background:h.themePrimary,opacity:1,selectors:(t={},t[re]={background:"Window"},t)}}}],f],circle:[x.circle,b,{color:h.neutralSecondary,selectors:(e={},e[re]={color:"WindowText"},e)},d&&{color:h.white}],check:[x.check,b,{opacity:0,color:h.neutralSecondary,fontSize:Sn.medium,left:C?"-0.5px":".5px",selectors:(o={":hover":{opacity:1}},o[re]=k({},tt()),o)},d&&{opacity:1,color:h.white,fontWeight:900,selectors:(s={},s[re]={border:"none",color:"WindowText"},s)}],checkHost:x.checkHost}},sd=Fe(R0,z1,void 0,{scope:"Check"},!0),U1=ke(),G1=(function(n){be(r,n);function r(t,e){var o=n.call(this,t,e)||this;return o._checkBox=_.createRef(),o._renderContent=function(s,a,u){u===void 0&&(u={});var d=o.props,f=d.disabled,m=d.inputProps,h=d.name,g=d.ariaLabel,y=d.ariaLabelledBy,C=d.ariaDescribedBy,x=d.onRenderLabel,b=x===void 0?o._onRenderLabel:x,S=d.checkmarkIconProps,F=d.ariaPositionInSet,D=d.ariaSetSize,A=d.title,L=d.label;return _.createElement("div",{className:o._classNames.root,title:A},_.createElement(qs,null),_.createElement("input",k({type:"checkbox"},m,{"data-ktp-execute-target":u["data-ktp-execute-target"],checked:s,disabled:f,className:o._classNames.input,ref:o._checkBox,name:h,id:o._id,title:A,onChange:o._onChange,onFocus:o._onFocus,onBlur:o._onBlur,"aria-disabled":f,"aria-label":g||L,"aria-labelledby":y,"aria-describedby":ti(C,u["aria-describedby"]),"aria-posinset":F,"aria-setsize":D,"aria-checked":a?"mixed":s?"true":"false"})),_.createElement("label",{className:o._classNames.label,htmlFor:o._id},_.createElement("div",{className:o._classNames.checkbox,"data-ktp-target":u["data-ktp-target"]},_.createElement(Ke,k({iconName:"CheckMark"},S,{className:o._classNames.checkmark}))),b(o.props,o._onRenderLabel)))},o._onFocus=function(s){var a=o.props.inputProps;a&&a.onFocus&&a.onFocus(s)},o._onBlur=function(s){var a=o.props.inputProps;a&&a.onBlur&&a.onBlur(s)},o._onChange=function(s){var a=o.props.onChange,u=o.state,d=u.isChecked,f=u.isIndeterminate;f?(a&&a(s,d),o.props.indeterminate===void 0&&o.setState({isIndeterminate:!1})):(a&&a(s,!d),o.props.checked===void 0&&o.setState({isChecked:!d}))},o._onRenderLabel=function(s){var a=s.label,u=s.title;return a?_.createElement("span",{"aria-hidden":"true",className:o._classNames.text,title:u},a):null},rt(o),o._id=o.props.id||_t("checkbox-"),o.state={isChecked:!!(t.checked!==void 0?t.checked:t.defaultChecked),isIndeterminate:!!(t.indeterminate!==void 0?t.indeterminate:t.defaultIndeterminate)},o}return r.getDerivedStateFromProps=function(t,e){var o={};return t.indeterminate!==void 0&&(o.isIndeterminate=!!t.indeterminate),t.checked!==void 0&&(o.isChecked=!!t.checked),Object.keys(o).length?o:null},r.prototype.render=function(){var t=this,e=this.props,o=e.className,s=e.disabled,a=e.boxSide,u=e.theme,d=e.styles,f=e.onRenderLabel,m=f===void 0?this._onRenderLabel:f,h=e.keytipProps,g=this.state,y=g.isChecked,C=g.isIndeterminate;return this._classNames=U1(d,{theme:u,className:o,disabled:s,indeterminate:C,checked:y,reversed:a!=="start",isUsingCustomLabelRender:m!==this._onRenderLabel}),h?_.createElement(wo,{keytipProps:h,disabled:s},function(x){return t._renderContent(y,C,x)}):this._renderContent(y,C)},Object.defineProperty(r.prototype,"indeterminate",{get:function(){return!!this.state.isIndeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"checked",{get:function(){return!!this.state.isChecked},enumerable:!0,configurable:!0}),r.prototype.focus=function(){this._checkBox.current&&this._checkBox.current.focus()},r.defaultProps={boxSide:"start"},r})(_.Component),V1={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},ry="20px",oy="200ms",iy="cubic-bezier(.4, 0, .23, 1)",K1=function(n){var r,t,e,o,s,a,u,d,f,m,h,g,y,C,x,b,S,F,D=n.className,A=n.theme,L=n.reversed,j=n.checked,M=n.disabled,R=n.isUsingCustomLabelRender,P=n.indeterminate,W=A.semanticColors,Q=A.effects,K=A.palette,J=A.fonts,ne=ze(V1,A),ie=W.inputForegroundChecked,fe=K.neutralSecondary,B=K.neutralPrimary,Z=W.inputBackgroundChecked,se=W.inputBackgroundChecked,le=W.disabledBodySubtext,z=W.inputBorderHovered,q=W.inputBackgroundCheckedHovered,X=W.inputBackgroundChecked,me=W.inputBackgroundCheckedHovered,pe=W.inputBackgroundCheckedHovered,De=W.inputTextHovered,Te=W.disabledBodySubtext,ct=W.bodyText,Ae=W.disabledText,Mt=[(r={content:'""',borderRadius:Q.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:M?le:Z,transitionProperty:"border-width, border, border-color",transitionDuration:oy,transitionTimingFunction:iy},r[re]={borderColor:"WindowText"},r)];return{root:[ne.root,{position:"relative",display:"flex"},L&&"reversed",j&&"is-checked",!M&&"is-enabled",M&&"is-disabled",!M&&[!j&&(t={},t[":hover ."+ne.checkbox]=(e={borderColor:z},e[re]={borderColor:"Highlight"},e),t[":focus ."+ne.checkbox]={borderColor:z},t[":hover ."+ne.checkmark]=(o={color:fe,opacity:"1"},o[re]={color:"Highlight"},o),t),j&&!P&&(s={},s[":hover ."+ne.checkbox]={background:me,borderColor:pe},s[":focus ."+ne.checkbox]={background:me,borderColor:pe},s[re]=(a={},a[":hover ."+ne.checkbox]={background:"Highlight",borderColor:"Highlight"},a[":focus ."+ne.checkbox]={background:"Highlight"},a[":focus:hover ."+ne.checkbox]={background:"Highlight"},a[":focus:hover ."+ne.checkmark]={color:"Window"},a[":hover ."+ne.checkmark]={color:"Window"},a),s),P&&(u={},u[":hover ."+ne.checkbox+", :hover ."+ne.checkbox+":after"]=(d={borderColor:q},d[re]={borderColor:"WindowText"},d),u[":focus ."+ne.checkbox]={borderColor:q},u[":hover ."+ne.checkmark]={opacity:"0"},u),(f={},f[":hover ."+ne.text+", :focus ."+ne.text]=(m={color:De},m[re]={color:M?"GrayText":"WindowText"},m),f)],D],input:(h={position:"absolute",background:"none",opacity:0},h["."+Lt+" &:focus + label::before"]=(g={outline:"1px solid "+A.palette.neutralSecondary,outlineOffset:"2px"},g[re]={outline:"1px solid WindowText"},g),h),label:[ne.label,A.fonts.medium,{display:"flex",alignItems:R?"center":"flex-start",cursor:M?"default":"pointer",position:"relative",userSelect:"none"},L&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[ne.checkbox,(y={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:ry,width:ry,border:"1px solid "+B,borderRadius:Q.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:oy,transitionTimingFunction:iy,overflow:"hidden",":after":P?Mt:null},y[re]=k({borderColor:"WindowText"},tt()),y),P&&{borderColor:Z},L?{marginLeft:4}:{marginRight:4},!M&&!P&&j&&(C={background:X,borderColor:se},C[re]={background:"Highlight",borderColor:"Highlight"},C),M&&(x={borderColor:le},x[re]={borderColor:"GrayText"},x),j&&M&&(b={background:Te,borderColor:le},b[re]={background:"Window"},b)],checkmark:[ne.checkmark,(S={opacity:j?"1":"0",color:ie},S[re]=k({color:M?"GrayText":"Window"},tt()),S)],text:[ne.text,(F={color:M?Ae:ct,fontSize:J.medium.fontSize,lineHeight:"20px"},F[re]=k({color:M?"GrayText":"WindowText"},tt()),F),L?{marginRight:4}:{marginLeft:4}]}},Xe=Fe(G1,K1,void 0,{scope:"Checkbox"}),$1=ke({cacheSize:100}),q1=(function(n){be(r,n);function r(){return n!==null&&n.apply(this,arguments)||this}return r.prototype.render=function(){var t=this.props,e=t.as,o=e===void 0?"label":e,s=t.children,a=t.className,u=t.disabled,d=t.styles,f=t.required,m=t.theme,h=$1(d,{className:a,disabled:u,required:f,theme:m});return _.createElement(o,k({},qe(this.props,en),{className:h.root}),s)},r})(_.Component),Y1=function(n){var r,t=n.theme,e=n.className,o=n.disabled,s=n.required,a=t.semanticColors,u=it.semibold,d=a.bodyText,f=a.disabledBodyText,m=a.errorText;return{root:["ms-Label",t.fonts.medium,{fontWeight:u,color:d,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},o&&{color:f,selectors:(r={},r[re]=k({color:"GrayText"},tt()),r)},s&&{selectors:{"::after":{content:"' *'",color:m,paddingRight:12}}},e]}},_l=Fe(q1,Y1,void 0,{scope:"Label"}),Z1=ke(),sy=71,X1=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._onChange=function(o){var s=e.props.onChange;s&&s(o,e.props)},e._onBlur=function(o){var s=e.props.onBlur;s&&s(o,e.props)},e._onFocus=function(o){var s=e.props.onFocus;s&&s(o,e.props)},e._onRenderField=function(o){var s=o.id,a=o.imageSrc,u=o.imageAlt,d=u===void 0?"":u,f=o.selectedImageSrc,m=o.iconProps,h=o.imageSize?o.imageSize:{width:32,height:32},g=o.onRenderLabel?ir(o.onRenderLabel,e._onRenderLabel):e._onRenderLabel,y=g(o);return _.createElement("label",{htmlFor:s,className:e._classNames.field},a&&_.createElement("div",{className:e._classNames.innerField},_.createElement("div",{className:e._classNames.imageWrapper},_.createElement(gl,{src:a,alt:d,width:h.width,height:h.height})),_.createElement("div",{className:e._classNames.selectedImageWrapper},_.createElement(gl,{src:f,alt:d,width:h.width,height:h.height}))),m&&_.createElement("div",{className:e._classNames.innerField},_.createElement("div",{className:e._classNames.iconWrapper},_.createElement(Ke,k({},m)))),a||m?_.createElement("div",{className:e._classNames.labelWrapper},y):y)},e._onRenderLabel=function(o){return _.createElement("span",{id:o.labelId,className:"ms-ChoiceFieldLabel"},o.text)},rt(e),e}return r.prototype.render=function(){var t=this.props,e=t.ariaLabel,o=t.focused,s=t.required,a=t.theme,u=t.iconProps,d=t.imageSrc,f=t.imageSize,m=t.disabled,h=t.checked,g=t.id,y=t.styles,C=t.name,x=t.onRenderField,b=x===void 0?this._onRenderField:x,S=Vn(t,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name","onRenderField"]);this._classNames=Z1(y,{theme:a,hasIcon:!!u,hasImage:!!d,checked:h,disabled:m,imageIsLarge:!!d&&(f.width>sy||f.height>sy),imageSize:f,focused:o});var F=qe(S,qc),D=F.className,A=Vn(F,["className"]);return _.createElement("div",{className:this._classNames.root},_.createElement("div",{className:this._classNames.choiceFieldWrapper},_.createElement("input",k({"aria-label":e,id:g,className:Et(this._classNames.input,D),type:"radio",name:C,disabled:m,checked:h,required:s},A,{onChange:this._onChange,onFocus:this._onFocus,onBlur:this._onBlur})),b(this.props,this._onRenderField)))},r.defaultProps={imageSize:{width:32,height:32}},r})(_.Component),Q1={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"},L0=15,J1=L0*2+2,rh=32,oh=20,wc="200ms",ay="cubic-bezier(.4, 0, .23, 1)",qu=3,ly=5;function eD(n,r){var t,e;return["is-inFocus",{selectors:(t={},t["."+Lt+" &"]={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 "+n,position:"absolute",selectors:(e={},e[re]={borderColor:"WindowText",borderWidth:r?1:2},e)}}},t)}]}function uy(n,r,t){return[r,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:wc,transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(t?!n:n)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}var tD=function(n){var r,t,e,o,s,a=n.theme,u=n.hasIcon,d=n.hasImage,f=n.checked,m=n.disabled,h=n.imageIsLarge,g=n.focused,y=n.imageSize,C=a.palette,x=a.semanticColors,b=a.fonts,S=ze(Q1,a),F=C.neutralPrimary,D=x.inputBorderHovered,A=x.inputBackgroundChecked,L=C.themeDark,j=x.disabledBodySubtext,M=x.bodyBackground,R=C.neutralSecondary,P=x.inputBackgroundChecked,W=C.themeDark,Q=x.disabledBodySubtext,K=C.neutralDark,J=x.focusBorder,ne=x.inputBorderHovered,ie=x.inputBackgroundChecked,fe=C.themeDark,B=C.neutralLighter,Z={selectors:{".ms-ChoiceFieldLabel":{color:K},":before":{borderColor:f?L:D},":after":[!u&&!d&&!f&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:R},f&&{borderColor:W}]}},se={borderColor:f?fe:ne,selectors:{":before":{opacity:1,borderColor:f?L:D}}},le=[{content:'""',display:"inline-block",backgroundColor:M,borderWidth:1,borderStyle:"solid",borderColor:F,width:oh,height:oh,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:wc,transitionTimingFunction:ay,borderRadius:"50%"},m&&{borderColor:j,selectors:(r={},r[re]=k({borderColor:"GrayText",background:"Window"},tt()),r)},f&&{borderColor:m?j:A,selectors:(t={},t[re]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},t)},(u||d)&&{top:qu,right:qu,left:"auto",opacity:f?1:0}],z=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:oh/2,right:0,transitionProperty:"border-width",transitionDuration:wc,transitionTimingFunction:ay,boxSizing:"border-box"},f&&{borderWidth:5,borderStyle:"solid",borderColor:m?Q:P,left:5,top:5,width:10,height:10,selectors:(e={},e[re]={borderColor:"Highlight",forcedColorAdjust:"none"},e)},f&&(u||d)&&{top:qu+ly,right:qu+ly,left:"auto"}];return{root:[S.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:x.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!u&&!d&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},d&&"ms-ChoiceField--image",u&&"ms-ChoiceField--icon",(u||d)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:B,height:"100%"}],choiceFieldWrapper:[S.choiceFieldWrapper,g&&eD(J,u||d)],input:[S.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},m&&"is-disabled"],field:[S.field,f&&S.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!m&&Z,":focus":!m&&Z,":before":le,":after":z}},u&&"ms-ChoiceField--icon",d&&"ms-ChoiceField-field--image",(u||d)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:wc,transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},f&&{borderColor:ie},(u||d)&&!m&&{selectors:{":hover":se,":focus":se}},m&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:x.disabledBodyText,selectors:(o={},o[re]=k({color:"GrayText"},tt()),o)}}},f&&m&&{borderColor:B}],innerField:[S.innerField,d&&{height:y.height,width:y.width},(u||d)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(u||d)&&h&&{paddingLeft:24,paddingRight:24},(u||d)&&m&&{opacity:.25,selectors:(s={},s[re]={color:"GrayText",opacity:1},s)}],imageWrapper:uy(!1,S.imageWrapper,f),selectedImageWrapper:uy(!0,S.imageWrapper,f),iconWrapper:[S.iconWrapper,{fontSize:rh,lineHeight:rh,height:rh}],labelWrapper:[S.labelWrapper,b.medium,(u||d)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:J1,lineHeight:L0,maxWidth:y.width*2,overflow:"hidden",whiteSpace:"pre-wrap"}]}},nD=Fe(X1,tD,void 0,{scope:"ChoiceGroupOption"}),rD=ke(),oD=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._focusCallbacks={},e._changeCallbacks={},e._onBlur=function(d,f){e.setState({keyFocused:void 0})},rt(e);var o=t.defaultSelectedKey,s=t.options,a=s===void 0?[]:s,u=!cy(t)&&o!==void 0&&a.some(function(d){return d.key===o});return e.state={keyChecked:u?o:e._getKeyChecked(t)},e._id=_t("ChoiceGroup"),e._labelId=_t("ChoiceGroupLabel"),e}return Object.defineProperty(r.prototype,"checkedOption",{get:function(){var t=this,e=this.props.options,o=e===void 0?[]:e;return xv(o,function(s){return s.key===t.state.keyChecked})},enumerable:!0,configurable:!0}),r.prototype.componentDidUpdate=function(t,e){if(t!==this.props){var o=this._getKeyChecked(this.props),s=this._getKeyChecked(t);o!==s&&this.setState({keyChecked:o})}},r.prototype.render=function(){var t=this,e=this.props,o=e.className,s=e.theme,a=e.styles,u=e.options,d=u===void 0?[]:u,f=e.label,m=e.required,h=e.disabled,g=e.name,y=this.state,C=y.keyChecked,x=y.keyFocused,b=qe(this.props,en,["onChange","className","required"]),S=rD(a,{theme:s,className:o,optionsContainIconOrImage:d.some(function(A){return!!(A.iconProps||A.imageSrc)})}),F=this._id+"-label",D=this.props.ariaLabelledBy||(f?F:this.props["aria-labelledby"]);return _.createElement("div",k({className:S.applicationRole},b),_.createElement("div",k({className:S.root,role:"radiogroup"},D&&{"aria-labelledby":D}),f&&_.createElement(_l,{className:S.label,required:m,id:F,disabled:h},f),_.createElement("div",{className:S.flexContainer},d.map(function(A){var L=k(k({},A),{focused:A.key===x,checked:A.key===C,disabled:A.disabled||h,id:t._getOptionId(A),labelId:t._getOptionLabelId(A),name:g||t._id,required:m});return _.createElement(nD,k({key:A.key,onBlur:t._onBlur,onFocus:t._onFocus(A.key),onChange:t._onChange(A.key)},L))}))))},r.prototype.focus=function(){var t=this.props.options,e=t===void 0?[]:t,o=this.checkedOption||e.filter(function(a){return!a.disabled})[0],s=o&&document.getElementById(this._getOptionId(o));s&&(s.focus(),Li(!0,s))},r.prototype._onFocus=function(t){var e=this;return this._focusCallbacks[t]||(this._focusCallbacks[t]=function(o,s){e.setState({keyFocused:t})}),this._focusCallbacks[t]},r.prototype._onChange=function(t){var e=this;return this._changeCallbacks[t]||(this._changeCallbacks[t]=function(o,s){var a=e.props,u=a.onChanged,d=a.onChange;cy(e.props)||e.setState({keyChecked:t});var f=xv(e.props.options||[],function(m){return m.key===t});d?d(o,f):u&&u(f,o)}),this._changeCallbacks[t]},r.prototype._getKeyChecked=function(t){if(t.selectedKey!==void 0)return t.selectedKey;var e=t.options,o=e===void 0?[]:e,s=o.filter(function(a){return a.checked});return s[0]&&s[0].key},r.prototype._getOptionId=function(t){return t.id||this._id+"-"+t.key},r.prototype._getOptionLabelId=function(t){return t.labelId||this._labelId+"-"+t.key},r})(_.Component);function cy(n){return $_(n,"selectedKey")}var iD={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},sD=function(n){var r=n.className,t=n.optionsContainIconOrImage,e=n.theme,o=ze(iD,e);return{applicationRole:r,root:[o.root,e.fonts.medium,{display:"block"}],flexContainer:[o.flexContainer,t&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}},aD=Fe(oD,sD,void 0,{scope:"ChoiceGroup"}),Ai=32,Wh=32,lD=st(function(){return Ot({"0%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"78.57%":{transform:"translate(0, 0)",animationTimingFunction:"cubic-bezier(0.62, 0, 0.56, 1)"},"82.14%":{transform:"translate(0, -5px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0, 1)"},"84.88%":{transform:"translate(0, 9px)",animationTimingFunction:"cubic-bezier(1, 0, 0.56, 1)"},"88.1%":{transform:"translate(0, -2px)",animationTimingFunction:"cubic-bezier(0.58, 0, 0.67, 1)"},"90.12%":{transform:"translate(0, 0)",animationTimingFunction:"linear"},"100%":{transform:"translate(0, 0)"}})}),uD=st(function(){return Ot({"0%":{transform:" scale(0)",animationTimingFunction:"linear"},"14.29%":{transform:"scale(0)",animationTimingFunction:"cubic-bezier(0.84, 0, 0.52, 0.99)"},"16.67%":{transform:"scale(1.15)",animationTimingFunction:"cubic-bezier(0.48, -0.01, 0.52, 1.01)"},"19.05%":{transform:"scale(0.95)",animationTimingFunction:"cubic-bezier(0.48, 0.02, 0.52, 0.98)"},"21.43%":{transform:"scale(1)",animationTimingFunction:"linear"},"42.86%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"45.71%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"50%":{transform:"scale(1)",animationTimingFunction:"linear"},"90.12%":{transform:"scale(1)",animationTimingFunction:"cubic-bezier(0.48, -0.02, 0.52, 1.02)"},"92.98%":{transform:"scale(0.8)",animationTimingFunction:"cubic-bezier(0.48, 0.01, 0.52, 0.99)"},"97.26%":{transform:"scale(1)",animationTimingFunction:"linear"},"100%":{transform:"scale(1)"}})}),cD=st(function(){return Ot({"0%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"83.33%":{transform:" rotate(0deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"83.93%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"84.52%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.12%":{transform:"rotate(15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"85.71%":{transform:"rotate(-15deg)",animationTimingFunction:"cubic-bezier(0.33, 0, 0.67, 1)"},"86.31%":{transform:"rotate(0deg)",animationTimingFunction:"linear"},"100%":{transform:"rotate(0deg)"}})});function dD(n){var r,t=n.theme,e=n.className,o=n.color,s=n.beaconColorOne,a=n.beaconColorTwo,u=n.delayBeforeCoachmarkAnimation,d=n.isCollapsed,f=n.isBeaconAnimating,m=n.isMeasuring,h=n.isMeasured,g=n.entityHostHeight,y=n.entityHostWidth,C=n.transformOrigin;if(!t)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var x="35px",b="150px",S="10px",F=Wv.continuousPulseAnimationDouble(s||t.palette.themePrimary,a||t.palette.themeTertiary,x,b,S),D=Wv.createDefaultAnimation(F,u);return{root:[t.fonts.medium,{position:"relative"},e],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:ht(t)?"translate(50%, -50%)":"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:"0"},d&&f&&D],translateAnimationContainer:[{width:"100%",height:"100%"},d&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:lD(),transition:"opacity 0.5s ease-in-out"},!d&&{opacity:"1"}],scaleAnimationLayer:[{width:"100%",height:"100%"},d&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:uD()}],rotateAnimationLayer:[{width:"100%",height:"100%"},d&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:cD()},!d&&{opacity:"1"}],entityHost:[{position:"relative",outline:"none",overflow:"hidden",backgroundColor:o,borderRadius:Ai,transition:"border-radius 250ms, width 500ms, height 500ms cubic-bezier(0.5, 0, 0, 1)",visibility:"hidden",selectors:(r={},r[re]={backgroundColor:"Window",border:"2px solid WindowText"},r["."+Lt+" &:focus"]={outline:"1px solid "+t.palette.themeTertiary},r)},!m&&{width:Ai,height:Wh,visibility:"visible"},!d&&{borderRadius:"1px",opacity:"1",width:y,height:g}],entityInnerHost:[{transition:"transform 500ms cubic-bezier(0.5, 0, 0, 1)",transformOrigin:C,transform:"scale(0)"},!d&&{width:y,height:g,transform:"scale(1)"},!m&&{visibility:"visible"}],childrenContainer:[{display:h&&d?"none":"block"}],ariaContainer:{position:"fixed",opacity:0,height:0,width:0,pointerEvents:"none"}}}var pD=st(function(){var n;return oi({root:[{position:"absolute",boxSizing:"border-box",border:"1px solid ${}",selectors:(n={},n[re]={border:"1px solid WindowText"},n)},pf()],container:{position:"relative"},main:{backgroundColor:"#ffffff",overflowX:"hidden",overflowY:"hidden",position:"relative"},overFlowYHidden:{overflowY:"hidden"}})}),ks,hD={opacity:0},fD=1,mD=(ks={},ks[ve.top]="slideUpIn20",ks[ve.bottom]="slideDownIn20",ks[ve.left]="slideLeftIn20",ks[ve.right]="slideRightIn20",ks),gD=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._positionedHost=_.createRef(),e._contentHost=_.createRef(),e.dismiss=function(o){e.onResize(o)},e.onResize=function(o){var s=e.props.onDismiss;s?s(o):e._updateAsyncPosition()},e._setInitialFocus=function(){e._contentHost.current&&e.props.setInitialFocus&&!e._didSetInitialFocus&&e.state.positions&&(e._didSetInitialFocus=!0,$c(e._contentHost.current))},e._onComponentDidMount=function(){e._async.setTimeout(function(){e._events.on(e._targetWindow,"scroll",e._async.throttle(e._dismissOnScroll,10),!0),e._events.on(e._targetWindow,"resize",e._async.throttle(e.onResize,10),!0),e._events.on(e._targetWindow.document.body,"focus",e._dismissOnLostFocus,!0),e._events.on(e._targetWindow.document.body,"click",e._dismissOnLostFocus,!0)},0),e.props.onLayerMounted&&e.props.onLayerMounted(),e._updateAsyncPosition(),e._setHeightOffsetEveryFrame()},rt(e),e._async=new tn(e),e._events=new mt(e),e._didSetInitialFocus=!1,e.state={positions:void 0,heightOffset:0},e._positionAttempts=0,e}return r.prototype.UNSAFE_componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())},r.prototype.componentDidMount=function(){this._onComponentDidMount()},r.prototype.componentDidUpdate=function(){this._setInitialFocus(),this._updateAsyncPosition()},r.prototype.UNSAFE_componentWillUpdate=function(t){var e=this._getTarget(t),o=this._getTarget();(e!==o||typeof e=="string"||e instanceof String)&&(this._maxHeight=void 0,this._setTargetWindowAndElement(e)),t.offsetFromTarget!==this.props.offsetFromTarget&&(this._maxHeight=void 0),t.finalHeight!==this.props.finalHeight&&this._setHeightOffsetEveryFrame()},r.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},r.prototype.render=function(){if(!this._targetWindow)return null;var t=this.props,e=t.className,o=t.positioningContainerWidth,s=t.positioningContainerMaxHeight,a=t.children,u=this.state.positions,d=pD(),f=u&&u.targetEdge?Tn[mD[u.targetEdge]]:"",m=this._getMaxHeight()+this.state.heightOffset,h=s&&s>m?m:s,g=_.createElement("div",{ref:this._positionedHost,className:Et("ms-PositioningContainer",d.container)},_.createElement("div",{className:Hr("ms-PositioningContainer-layerHost",d.root,e,f,!!o&&{width:o}),style:u?u.elementPosition:hD,tabIndex:-1,ref:this._contentHost},a,h));return this.props.doNotLayer?g:_.createElement(Gi,null,g)},r.prototype._dismissOnScroll=function(t){var e=this.props.preventDismissOnScroll;this.state.positions&&!e&&this._dismissOnLostFocus(t)},r.prototype._dismissOnLostFocus=function(t){var e=t.target,o=this._positionedHost.current&&!Pt(this._positionedHost.current,e);(!this._target&&o||t.target!==this._targetWindow&&o&&(this._target.stopPropagation||!this._target||e!==this._target&&!Pt(this._target,e)))&&this.onResize(t)},r.prototype._updateAsyncPosition=function(){var t=this;this._async.requestAnimationFrame(function(){return t._updatePosition()})},r.prototype._updatePosition=function(){var t=this.state.positions,e=this.props,o=e.offsetFromTarget,s=e.onPositioned,a=this._positionedHost.current,u=this._contentHost.current;if(a&&u){var d=k({},this.props);if(d.bounds=this._getBounds(),d.target=this._target,document.body.contains(d.target)){d.gapSpace=o;var f=NI(d,a,u);!t&&f||t&&f&&!this._arePositionsEqual(t,f)&&this._positionAttempts<5?(this._positionAttempts++,this.setState({positions:f},function(){s&&s(f)})):(this._positionAttempts=0,s&&s(f))}else t!==void 0&&this.setState({positions:void 0})}},r.prototype._getBounds=function(){if(!this._positioningBounds){var t=this.props.bounds;t||(t={top:0+this.props.minPagePadding,left:0+this.props.minPagePadding,right:this._targetWindow.innerWidth-this.props.minPagePadding,bottom:this._targetWindow.innerHeight-this.props.minPagePadding,width:this._targetWindow.innerWidth-this.props.minPagePadding*2,height:this._targetWindow.innerHeight-this.props.minPagePadding*2}),this._positioningBounds=t}return this._positioningBounds},r.prototype._getMaxHeight=function(){var t=this.props,e=t.directionalHintFixed,o=t.offsetFromTarget,s=t.directionalHint;if(!this._maxHeight)if(e&&this._target){var a=o||0;this._maxHeight=y0(this._target,s,a,this._getBounds())}else this._maxHeight=this._getBounds().height-fD*2;return this._maxHeight},r.prototype._arePositionsEqual=function(t,e){return this._comparePositions(t.elementPosition,e.elementPosition)},r.prototype._comparePositions=function(t,e){for(var o in e)if(e.hasOwnProperty(o)){var s=t[o],a=e[o];if(s&&a&&s.toFixed(2)!==a.toFixed(2))return!1}return!0},r.prototype._setTargetWindowAndElement=function(t){var e=this._positionedHost.current;if(t)if(typeof t=="string"){var o=jt();this._target=o?o.querySelector(t):null,this._targetWindow=Re(e)}else if(t.stopPropagation)this._targetWindow=Re(t.target),this._target=t;else if((t.left!==void 0||t.x!==void 0)&&(t.top!==void 0||t.y!==void 0))this._targetWindow=Re(e),this._target=t;else{var s=t;this._targetWindow=Re(s),this._target=t}else this._targetWindow=Re(e)},r.prototype._setHeightOffsetEveryFrame=function(){var t=this;this._contentHost&&this.props.finalHeight&&(this._setHeightOffsetTimer=this._async.requestAnimationFrame(function(){if(t._contentHost.current){var e=t._contentHost.current.lastChild,o=e.scrollHeight,s=e.offsetHeight,a=o-s;t.setState({heightOffset:t.state.heightOffset+a}),e.offsetHeight<t.props.finalHeight?t._setHeightOffsetEveryFrame():t._async.cancelAnimationFrame(t._setHeightOffsetTimer)}}))},r.prototype._getTarget=function(t){t===void 0&&(t=this.props);var e=t.target;return e},r.defaultProps={preventDismissOnScroll:!1,offsetFromTarget:0,minPagePadding:8,directionalHint:ft.bottomAutoEdge},r})(_.Component);function vD(n){var r;return{root:[{position:"absolute",boxShadow:"inherit",border:"none",boxSizing:"border-box",transform:n.transform,width:n.width,height:n.height,left:n.left,top:n.top,right:n.right,bottom:n.bottom}],beak:{fill:n.color,display:"block",selectors:(r={},r[re]={fill:"windowtext"},r)}}}var Lr=10,Wn=18,yD=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return rt(e),e}return r.prototype.render=function(){var t=this.props,e=t.left,o=t.top,s=t.bottom,a=t.right,u=t.color,d=t.direction,f=d===void 0?ve.top:d,m,h;f===ve.top||f===ve.bottom?(m=Lr,h=Wn):(m=Wn,h=Lr);var g,y,C,x;switch(f){case ve.top:default:g=Wn/2+", 0",y=Wn+", "+Lr,C="0, "+Lr,x="translateY(-100%)";break;case ve.right:g="0, 0",y=Lr+", "+Lr,C="0, "+Wn,x="translateX(100%)";break;case ve.bottom:g="0, 0",y=Wn+", 0",C=Wn/2+", "+Lr,x="translateY(100%)";break;case ve.left:g=Lr+", 0",y="0, "+Lr,C=Lr+", "+Wn,x="translateX(-100%)";break}var b=ke(),S=b(vD,{left:e,top:o,bottom:s,right:a,height:m+"px",width:h+"px",transform:x,color:u});return _.createElement("div",{className:S.root,role:"presentation"},_.createElement("svg",{height:m,width:h,className:S.beak},_.createElement("polygon",{points:g+" "+y+" "+C})))},r})(_.Component),_D=ke(),bD=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._entityHost=_.createRef(),e._entityInnerHostElement=_.createRef(),e._translateAnimationContainer=_.createRef(),e._ariaAlertContainer=_.createRef(),e._childrenContainer=_.createRef(),e._positioningContainer=_.createRef(),e.dismiss=function(o){var s=e.props.onDismiss;s&&s(o)},e._onKeyDown=function(o){(o.altKey&&o.which===he.c||o.which===he.enter&&e._translateAnimationContainer.current&&e._translateAnimationContainer.current.contains(o.target))&&e._onFocusHandler()},e._onFocusHandler=function(){e.state.isCollapsed&&e._openCoachmark()},e._onPositioned=function(o){e._async.requestAnimationFrame(function(){e.setState({targetAlignment:o.alignmentEdge,targetPosition:o.targetEdge})})},e._setBeakPosition=function(){var o,s,a,u,d,f,m=e.state.targetAlignment,h="3px";switch(e._beakDirection){case ve.top:case ve.bottom:m?m===ve.left?(o=Ai/2-Wn/2+"px",d="left"):(a=Ai/2-Wn/2+"px",d="right"):(o="calc(50% - "+Wn/2+"px)",d="center"),e._beakDirection===ve.top?(s=h,f="top"):(u=h,f="bottom");break;case ve.left:case ve.right:m?m===ve.top?(s=Ai/2-Wn/2+"px",f="top"):(u=Ai/2-Wn/2+"px",f="bottom"):(s="calc(50% - "+Wn/2+"px)",f="center"),e._beakDirection===ve.left?(ht(e.props.theme)?a=h:o=h,d="left"):(ht(e.props.theme)?o=h:a=h,d="right");break}e.setState({beakLeft:o,beakRight:a,beakBottom:u,beakTop:s,transformOrigin:d+" "+f})},e._openCoachmark=function(){e.setState({isCollapsed:!1}),e.props.onAnimationOpenStart&&e.props.onAnimationOpenStart(),e._entityInnerHostElement.current&&e._entityInnerHostElement.current.addEventListener("transitionend",function(){e._async.setTimeout(function(){e._entityInnerHostElement.current&&$c(e._entityInnerHostElement.current)},1e3),e.props.onAnimationOpenEnd&&e.props.onAnimationOpenEnd()})},e._async=new tn(e),e._events=new mt(e),rt(e),e.state={isCollapsed:t.isCollapsed,isBeaconAnimating:!0,isMeasuring:!0,entityInnerHostRect:{width:0,height:0},isMouseInProximity:!1,isMeasured:!1},e}return Object.defineProperty(r.prototype,"_beakDirection",{get:function(){var t=this.state.targetPosition;return t===void 0?ve.bottom:jI(t)},enumerable:!0,configurable:!0}),r.prototype.render=function(){var t=this.props,e=t.beaconColorOne,o=t.beaconColorTwo,s=t.children,a=t.target,u=t.color,d=t.positioningContainerProps,f=t.ariaDescribedBy,m=t.ariaDescribedByText,h=t.ariaLabelledBy,g=t.ariaLabelledByText,y=t.ariaAlertText,C=t.delayBeforeCoachmarkAnimation,x=t.styles,b=t.theme,S=t.className,F=t.persistentBeak,D=this.state,A=D.beakLeft,L=D.beakTop,j=D.beakRight,M=D.beakBottom,R=D.isCollapsed,P=D.isBeaconAnimating,W=D.isMeasuring,Q=D.entityInnerHostRect,K=D.transformOrigin,J=D.alertText,ne=D.isMeasured,ie=u;!ie&&b&&(ie=b.semanticColors.primaryButtonBackground);var fe=_D(x,{theme:b,beaconColorOne:e,beaconColorTwo:o,className:S,isCollapsed:R,isBeaconAnimating:P,isMeasuring:W,color:ie,transformOrigin:K,isMeasured:ne,entityHostHeight:Q.height+"px",entityHostWidth:Q.width+"px",width:Ai+"px",height:Wh+"px",delayBeforeCoachmarkAnimation:C+"ms"}),B=R?Wh:Q.height;return _.createElement(gD,k({target:a,offsetFromTarget:Lr,componentRef:this._positioningContainer,finalHeight:B,onPositioned:this._onPositioned,bounds:this._getBounds()},d),_.createElement("div",{className:fe.root},y&&_.createElement("div",{className:fe.ariaContainer,role:"alert",ref:this._ariaAlertContainer,"aria-hidden":!R},J),_.createElement("div",{className:fe.pulsingBeacon}),_.createElement("div",{className:fe.translateAnimationContainer,ref:this._translateAnimationContainer},_.createElement("div",{className:fe.scaleAnimationLayer},_.createElement("div",{className:fe.rotateAnimationLayer},this._positioningContainer.current&&(R||F)&&_.createElement(yD,{left:A,top:L,right:j,bottom:M,direction:this._beakDirection,color:ie}),_.createElement("div",{className:fe.entityHost,ref:this._entityHost,tabIndex:-1,"data-is-focusable":!0,role:"dialog","aria-labelledby":h,"aria-describedby":f},R&&[h&&_.createElement("p",{id:h,key:0,className:fe.ariaContainer},g),f&&_.createElement("p",{id:f,key:1,className:fe.ariaContainer},m)],_.createElement(Zs,{isClickableOutsideFocusTrap:!0,forceFocusInsideTrap:!1},_.createElement("div",{className:fe.entityInnerHost,ref:this._entityInnerHostElement},_.createElement("div",{className:fe.childrenContainer,ref:this._childrenContainer,"aria-hidden":R},s)))))))))},r.prototype.UNSAFE_componentWillReceiveProps=function(t){this.props.isCollapsed&&!t.isCollapsed&&this._openCoachmark()},r.prototype.shouldComponentUpdate=function(t,e){return!so(t,this.props)||!so(e,this.state)},r.prototype.componentDidUpdate=function(t,e){(e.targetAlignment!==this.state.targetAlignment||e.targetPosition!==this.state.targetPosition)&&this._setBeakPosition(),t.preventDismissOnLostFocus!==this.props.preventDismissOnLostFocus&&this._addListeners()},r.prototype.componentDidMount=function(){var t=this;this._async.requestAnimationFrame(function(){t._entityInnerHostElement.current&&t.state.entityInnerHostRect.width+t.state.entityInnerHostRect.width===0&&(t.setState({isMeasuring:!1,entityInnerHostRect:{width:t._entityInnerHostElement.current.offsetWidth,height:t._entityInnerHostElement.current.offsetHeight},isMeasured:!0}),t._setBeakPosition(),t.forceUpdate()),t._addListeners(),t._async.setTimeout(function(){t._addProximityHandler(t.props.mouseProximityOffset)},t.props.delayBeforeMouseOpen),t.props.ariaAlertText&&t._async.setTimeout(function(){t.props.ariaAlertText&&t._ariaAlertContainer.current&&t.setState({alertText:t.props.ariaAlertText})},0),t.props.preventFocusOnMount||t._async.setTimeout(function(){t._entityHost.current&&t._entityHost.current.focus()},1e3)})},r.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},r.prototype._addListeners=function(){var t=this.props.preventDismissOnLostFocus,e=jt();this._events.off(),e&&(this._events.on(e,"keydown",this._onKeyDown,!0),t||(this._events.on(e,"click",this._dismissOnLostFocus,!0),this._events.on(e,"focus",this._dismissOnLostFocus,!0)))},r.prototype._dismissOnLostFocus=function(t){var e=t.target,o=this._translateAnimationContainer.current&&!Pt(this._translateAnimationContainer.current,e),s=this.props.target;o&&e!==s&&!Pt(s,e)&&this.dismiss(t)},r.prototype._getBounds=function(){var t=this.props,e=t.isPositionForced,o=t.positioningContainerProps;if(e)return o&&(o.directionalHint===ft.topAutoEdge||o.directionalHint===ft.bottomAutoEdge)?{left:0,top:-1/0,bottom:1/0,right:window.innerWidth,width:window.innerWidth,height:1/0}:{left:-1/0,top:-1/0,bottom:1/0,right:1/0,width:1/0,height:1/0}},r.prototype._addProximityHandler=function(t){var e=this;t===void 0&&(t=0);var o=[];this._async.setTimeout(function(){e._setTargetElementRect(),e._events.on(window,"resize",function(){o.forEach(function(s){clearInterval(s)}),o.push(e._async.setTimeout(function(){e._setTargetElementRect()},100))})},10),this._events.on(document,"mousemove",function(s){if(e.state.isCollapsed){var a=s.clientY,u=s.clientX;e._setTargetElementRect();var d=e._isInsideElement(u,a,t);d!==e.state.isMouseInProximity&&e._openCoachmark()}e.props.onMouseMove&&e.props.onMouseMove(s)})},r.prototype._setTargetElementRect=function(){this._translateAnimationContainer&&this._translateAnimationContainer.current&&(this._targetElementRect=this._translateAnimationContainer.current.getBoundingClientRect())},r.prototype._isInsideElement=function(t,e,o){return o===void 0&&(o=0),t>this._targetElementRect.left-o&&t<this._targetElementRect.left+this._targetElementRect.width+o&&e>this._targetElementRect.top-o&&e<this._targetElementRect.top+this._targetElementRect.height+o},r.defaultProps={isCollapsed:!0,mouseProximityOffset:10,delayBeforeMouseOpen:3600,delayBeforeCoachmarkAnimation:0,isPositionForced:!0,positioningContainerProps:{directionalHint:ft.bottomAutoEdge}},r})(_.Component),CD=Fe(bD,dD,void 0,{scope:"Coachmark"}),xD=ke(),wD="",Yu="TextField",SD="RedEye",ED="Hide",kD=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._textElement=_.createRef(),e._onFocus=function(a){e.props.onFocus&&e.props.onFocus(a),e.setState({isFocused:!0},function(){e.props.validateOnFocusIn&&e._validate(e.value)})},e._onBlur=function(a){e.props.onBlur&&e.props.onBlur(a),e.setState({isFocused:!1},function(){e.props.validateOnFocusOut&&e._validate(e.value)})},e._onRenderLabel=function(a){var u=a.label,d=a.required,f=e._classNames.subComponentStyles?e._classNames.subComponentStyles.label:void 0;return u?_.createElement(_l,{required:d,htmlFor:e._id,styles:f,disabled:a.disabled,id:e._labelId},a.label):null},e._onRenderDescription=function(a){return a.description?_.createElement("span",{className:e._classNames.description},a.description):null},e._onRevealButtonClick=function(a){e.setState(function(u){return{isRevealingPassword:!u.isRevealingPassword}})},e._onInputChange=function(a){var u=a.target,d=u.value;if(!(d===void 0||d===e._lastChangeValue)){e._lastChangeValue=d,a.persist();var f;e.setState(function(m,h){var g=ih(h,m)||"";return f=d===g,f||e._isControlled?null:{uncontrolledValue:d}},function(){var m=e.props.onChange;!f&&m&&m(a,d)})}},rt(e),e._async=new tn(e),e._fallbackId=_t(Yu),e._descriptionId=_t(Yu+"Description"),e._labelId=_t(Yu+"Label"),e._warnControlledUsage();var o=t.defaultValue,s=o===void 0?wD:o;return typeof s=="number"&&(s=String(s)),e.state={uncontrolledValue:e._isControlled?void 0:s,isFocused:!1,errorMessage:""},e._delayedValidate=e._async.debounce(e._validate,e.props.deferredValidationTime),e._lastValidation=0,e}return Object.defineProperty(r.prototype,"value",{get:function(){return ih(this.props,this.state)},enumerable:!0,configurable:!0}),r.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},r.prototype.componentWillUnmount=function(){this._async.dispose()},r.prototype.getSnapshotBeforeUpdate=function(t,e){return{selection:[this.selectionStart,this.selectionEnd]}},r.prototype.componentDidUpdate=function(t,e,o){var s=this.props,a=(o||{}).selection,u=a===void 0?[null,null]:a,d=u[0],f=u[1];!!t.multiline!=!!s.multiline&&e.isFocused&&(this.focus(),d!==null&&f!==null&&d>=0&&f>=0&&this.setSelectionRange(d,f));var m=ih(t,e),h=this.value;m!==h&&(this._warnControlledUsage(t),this.state.errorMessage&&!s.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),this._lastChangeValue=void 0,dy(s)&&this._delayedValidate(h))},r.prototype.render=function(){var t=this.props,e=t.borderless,o=t.className,s=t.disabled,a=t.iconProps,u=t.inputClassName,d=t.label,f=t.multiline,m=t.required,h=t.underlined,g=t.prefix,y=t.resizable,C=t.suffix,x=t.theme,b=t.styles,S=t.autoAdjustHeight,F=t.canRevealPassword,D=t.type,A=t.onRenderPrefix,L=A===void 0?this._onRenderPrefix:A,j=t.onRenderSuffix,M=j===void 0?this._onRenderSuffix:j,R=t.onRenderLabel,P=R===void 0?this._onRenderLabel:R,W=t.onRenderDescription,Q=W===void 0?this._onRenderDescription:W,K=this.state,J=K.isFocused,ne=K.isRevealingPassword,ie=this._errorMessage,fe=!!F&&D==="password"&&ID(),B=this._classNames=xD(b,{theme:x,className:o,disabled:s,focused:J,required:m,multiline:f,hasLabel:!!d,hasErrorMessage:!!ie,borderless:e,resizable:y,hasIcon:!!a,underlined:h,inputClassName:u,autoAdjustHeight:S,hasRevealButton:fe});return _.createElement("div",{className:B.root},_.createElement("div",{className:B.wrapper},P(this.props,this._onRenderLabel),_.createElement("div",{className:B.fieldGroup},(g!==void 0||this.props.onRenderPrefix)&&_.createElement("div",{className:B.prefix},L(this.props,this._onRenderPrefix)),f?this._renderTextArea():this._renderInput(),a&&_.createElement(Ke,k({className:B.icon},a)),fe&&_.createElement("button",{className:B.revealButton,onClick:this._onRevealButtonClick,type:"button"},_.createElement("span",{className:B.revealSpan},_.createElement(Ke,{className:B.revealIcon,iconName:ne?ED:SD}))),(C!==void 0||this.props.onRenderSuffix)&&_.createElement("div",{className:B.suffix},M(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&_.createElement("span",{id:this._descriptionId},Q(this.props,this._onRenderDescription),ie&&_.createElement("div",{role:"alert"},_.createElement(Kc,null,_.createElement("p",{className:B.errorMessage},_.createElement("span",{"data-automation-id":"error-message"},ie))))))},r.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},r.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},r.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},r.prototype.setSelectionStart=function(t){this._textElement.current&&(this._textElement.current.selectionStart=t)},r.prototype.setSelectionEnd=function(t){this._textElement.current&&(this._textElement.current.selectionEnd=t)},Object.defineProperty(r.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!0,configurable:!0}),r.prototype.setSelectionRange=function(t,e){this._textElement.current&&this._textElement.current.setSelectionRange(t,e)},r.prototype._warnControlledUsage=function(t){this._id,this.props,this.props.value===null&&!this._hasWarnedNullValue&&(this._hasWarnedNullValue=!0,tf("Warning: 'value' prop on '"+Yu+"' should not be null. Consider using an empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(r.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_isControlled",{get:function(){return $_(this.props,"value")},enumerable:!0,configurable:!0}),r.prototype._onRenderPrefix=function(t){var e=t.prefix;return _.createElement("span",{style:{paddingBottom:"1px"}},e)},r.prototype._onRenderSuffix=function(t){var e=t.suffix;return _.createElement("span",{style:{paddingBottom:"1px"}},e)},Object.defineProperty(r.prototype,"_errorMessage",{get:function(){var t=this.props.errorMessage,e=t===void 0?this.state.errorMessage:t;return e||""},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_isDescriptionAvailable",{get:function(){var t=this.props;return!!(t.onRenderDescription||t.description||this._errorMessage)},enumerable:!0,configurable:!0}),r.prototype._renderTextArea=function(){var t=qe(this.props,r0,["defaultValue"]),e=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return _.createElement("textarea",k({id:this._id},t,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":e,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},r.prototype._renderInput=function(){var t=k(k({type:this.state.isRevealingPassword?"text":this.props.type||"text",id:this._id},qe(this.props,qc,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":this.props.ariaLabel,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,onFocus:this._onFocus,onBlur:this._onBlur}),e=function(s){return _.createElement("input",k({},s))},o=this.props.onRenderInput||e;return o(t,e)},r.prototype._validate=function(t){var e=this;if(!(this._latestValidateValue===t&&dy(this.props))){this._latestValidateValue=t;var o=this.props.onGetErrorMessage,s=o&&o(t||"");if(s!==void 0)if(typeof s=="string"||!("then"in s))this.setState({errorMessage:s}),this._notifyAfterValidate(t,s);else{var a=++this._lastValidation;s.then(function(u){a===e._lastValidation&&e.setState({errorMessage:u}),e._notifyAfterValidate(t,u)})}else this._notifyAfterValidate(t,"")}},r.prototype._notifyAfterValidate=function(t,e){t===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(e,t)},r.prototype._adjustInputHeight=function(){if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var t=this._textElement.current;t.style.height="",t.style.height=t.scrollHeight+"px"}},r.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0,canRevealPassword:!1},r})(_.Component);function ih(n,r){var t=n.value,e=t===void 0?r.uncontrolledValue:t;return typeof e=="number"?String(e):e}function dy(n){return!(n.validateOnFocusIn||n.validateOnFocusOut)}var Zu;function ID(){var n;if(typeof Zu!="boolean"){var r=Re();if(!((n=r)===null||n===void 0)&&n.navigator){var t=/Edg/.test(r.navigator.userAgent||"");Zu=!(ok()||t)}else Zu=!0}return Zu}var FD={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 DD(n){var r=n.underlined,t=n.disabled,e=n.focused,o=n.theme,s=o.palette,a=o.fonts;return function(){var u;return{root:[r&&t&&{color:s.neutralTertiary},r&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},r&&e&&{selectors:(u={},u[re]={height:31},u)}]}}}function TD(n){var r,t,e,o,s,a,u,d,f,m,h,g,y=n.theme,C=n.className,x=n.disabled,b=n.focused,S=n.required,F=n.multiline,D=n.hasLabel,A=n.borderless,L=n.underlined,j=n.hasIcon,M=n.resizable,R=n.hasErrorMessage,P=n.inputClassName,W=n.autoAdjustHeight,Q=n.hasRevealButton,K=y.semanticColors,J=y.effects,ne=y.fonts,ie=ze(FD,y),fe={background:K.disabledBackground,color:x?K.disabledText:K.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(r={},r[re]={background:"Window",color:x?"GrayText":"WindowText"},r)},B=[ne.medium,{color:K.inputPlaceholderText,opacity:1,selectors:(t={},t[re]={color:"GrayText"},t)}],Z={color:K.disabledText,selectors:(e={},e[re]={color:"GrayText"},e)};return{root:[ie.root,ne.medium,S&&ie.required,x&&ie.disabled,b&&ie.active,F&&ie.multiline,A&&ie.borderless,L&&ie.underlined,il,{position:"relative"},C],wrapper:[ie.wrapper,L&&[{display:"flex",borderBottom:"1px solid "+(R?K.errorText:K.inputBorder),width:"100%"},x&&{borderBottomColor:K.disabledBackground,selectors:(o={},o[re]=k({borderColor:"GrayText"},tt()),o)},!x&&{selectors:{":hover":{borderBottomColor:R?K.errorText:K.inputBorderHovered,selectors:(s={},s[re]=k({borderBottomColor:"Highlight"},tt()),s)}}},b&&[{position:"relative"},Hv(R?K.errorText:K.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[ie.fieldGroup,il,{border:"1px solid "+K.inputBorder,borderRadius:J.roundedCorner2,background:K.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},F&&{minHeight:"60px",height:"auto",display:"flex"},!b&&!x&&{selectors:{":hover":{borderColor:K.inputBorderHovered,selectors:(a={},a[re]=k({borderColor:"Highlight"},tt()),a)}}},b&&!L&&Hv(R?K.errorText:K.inputFocusBorderAlt,J.roundedCorner2),x&&{borderColor:K.disabledBackground,selectors:(u={},u[re]=k({borderColor:"GrayText"},tt()),u),cursor:"default"},A&&{border:"none"},A&&b&&{border:"none",selectors:{":after":{border:"none"}}},L&&{flex:"1 1 0px",border:"none",textAlign:"left"},L&&x&&{backgroundColor:"transparent"},R&&!L&&{borderColor:K.errorText,selectors:{"&:hover":{borderColor:K.errorText}}},!D&&S&&{selectors:(d={":before":{content:"'*'",color:K.errorText,position:"absolute",top:-5,right:-10}},d[re]={selectors:{":before":{color:"WindowText",right:-14}}},d)}],field:[ne.medium,ie.field,il,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:K.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(f={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},f[re]={background:"Window",color:x?"GrayText":"WindowText"},f)},Uv(B),F&&!M&&[ie.unresizable,{resize:"none"}],F&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},F&&W&&{overflow:"hidden"},j&&!Q&&{paddingRight:24},F&&j&&{paddingRight:40},x&&[{backgroundColor:K.disabledBackground,color:K.disabledText,borderColor:K.disabledBackground},Uv(Z)],L&&{textAlign:"left"},b&&!A&&{selectors:(m={},m[re]={paddingLeft:11,paddingRight:11},m)},b&&F&&!A&&{selectors:(h={},h[re]={paddingTop:4},h)},P],icon:[F&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:Sn.medium,lineHeight:18},x&&{color:K.disabledText}],description:[ie.description,{color:K.bodySubtext,fontSize:ne.xSmall.fontSize}],errorMessage:[ie.errorMessage,Tn.slideDownIn20,ne.small,{color:K.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[ie.prefix,fe],suffix:[ie.suffix,fe],revealButton:[ie.revealButton,"ms-Button","ms-Button--icon",{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:K.link,selectors:{":hover":{outline:0,color:K.primaryButtonBackgroundHovered,backgroundColor:K.buttonBackgroundHovered,selectors:(g={},g[re]={borderColor:"Highlight",color:"Highlight"},g)},":focus":{outline:0}}},j&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:Sn.medium,lineHeight:18},subComponentStyles:{label:DD(n)}}}var py=Fe(kD,TD,void 0,{scope:"TextField"}),br;(function(n){n[n.Normal=0]="Normal",n[n.Divider=1]="Divider",n[n.Header=2]="Header"})(br||(br={}));function hy(n,r){for(var t=[],e=0,o=r;e<o.length;e++){var s=o[e],a=n[s];a&&t.push(a)}return t}function AD(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var MD=function(n){if(n===void 0)return 0;var r=0;return"scrollHeight"in n?r=n.scrollHeight:"document"in n&&(r=n.document.documentElement.scrollHeight),r},fy=function(n){if(n===void 0)return 0;var r=0;return"scrollTop"in n?r=n.scrollTop:"scrollY"in n&&(r=n.scrollY),Math.ceil(r)},Xu=function(n,r){"scrollTop"in n?n.scrollTop=r:"scrollY"in n&&n.scrollTo(n.scrollX,r)},Qu={auto:0,top:1,bottom:2,center:3},PD=16,RD=100,ND=500,LD=200,BD=500,my=10,jD=30,OD=2,HD=2,WD="page-",gy="spacer-",vy={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},B0=function(n){return n.getBoundingClientRect()},zD=B0,UD=B0,bl=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._root=_.createRef(),e._surface=_.createRef(),e._pageRefs={},e._getDerivedStateFromProps=function(o,s){return(o.items!==e.props.items||o.renderCount!==e.props.renderCount||o.startIndex!==e.props.startIndex||o.version!==e.props.version||!s.hasMounted)&&AD()?(e._resetRequiredWindows(),e._requiredRect=null,e._measureVersion++,e._invalidatePageCache(),e._updatePages(o,s)):s},e._onRenderRoot=function(o){var s=o.rootRef,a=o.surfaceElement,u=o.divProps;return _.createElement("div",k({ref:s},u),a)},e._onRenderSurface=function(o){var s=o.surfaceRef,a=o.pageElements,u=o.divProps;return _.createElement("div",k({ref:s},u),a)},e._onRenderPage=function(o,s){for(var a,u,d=e.props,f=d.onRenderCell,m=d.onRenderCellConditional,h=d.role,g=o.page,y=g.items,C=y===void 0?[]:y,x=g.startIndex,b=Vn(o,["page"]),S=h===void 0?"listitem":"presentation",F=[],D=0;D<C.length;D++){var A=x+D,L=C[D],j=e.props.getKey?e.props.getKey(L,A):L&&L.key;j==null&&(j=A);var M=m??f,R=(u=(a=M)===null||a===void 0?void 0:a(L,A,e.props.ignoreScrollingState?void 0:e.state.isScrolling),u??null);(!m||R)&&F.push(_.createElement("div",{role:S,className:"ms-List-cell",key:j,"data-list-index":A,"data-automationid":"ListCell"},R))}return _.createElement("div",k({},b),F)},rt(e),e.state={pages:[],isScrolling:!1,getDerivedStateFromProps:e._getDerivedStateFromProps,hasMounted:!1},e._async=new tn(e),e._events=new mt(e),e._estimatedPageHeight=0,e._totalEstimates=0,e._requiredWindowsAhead=0,e._requiredWindowsBehind=0,e._measureVersion=0,e._onAsyncScroll=e._async.debounce(e._onAsyncScroll,RD,{leading:!1,maxWait:ND}),e._onAsyncIdle=e._async.debounce(e._onAsyncIdle,LD,{leading:!1}),e._onAsyncResize=e._async.debounce(e._onAsyncResize,PD,{leading:!1}),e._onScrollingDone=e._async.debounce(e._onScrollingDone,BD,{leading:!1}),e._cachedPageHeights={},e._estimatedPageHeight=0,e._focusedIndex=-1,e._pageCache={},e}return r.getDerivedStateFromProps=function(t,e){return e.getDerivedStateFromProps(t,e)},Object.defineProperty(r.prototype,"pageRefs",{get:function(){return this._pageRefs},enumerable:!0,configurable:!0}),r.prototype.scrollToIndex=function(t,e,o){o===void 0&&(o=Qu.auto);for(var s=this.props.startIndex,a=this._getRenderCount(),u=s+a,d=this._allowedRect,f=0,m=1,h=s;h<u;h+=m){var g=this._getPageSpecification(this.props,h,d),y=g.height;m=g.itemCount;var C=h<=t&&h+m>t;if(C){if(e&&this._scrollElement){for(var x=UD(this._scrollElement),b=fy(this._scrollElement),S={top:b,bottom:b+x.height},F=t-h,D=0;D<F;++D)f+=e(h+D);var A=f+e(t);switch(o){case Qu.top:Xu(this._scrollElement,f);return;case Qu.bottom:Xu(this._scrollElement,A-x.height);return;case Qu.center:Xu(this._scrollElement,(f+A-x.height)/2);return}var L=f>=S.top&&A<=S.bottom;if(L)return;var j=f<S.top,M=A>S.bottom;j||M&&(f=A-x.height)}this._scrollElement&&Xu(this._scrollElement,f);return}f+=y}},r.prototype.getStartItemIndexInView=function(t){for(var e=this.state.pages||[],o=0,s=e;o<s.length;o++){var a=s[o],u=!a.isSpacer&&(this._scrollTop||0)>=a.top&&(this._scrollTop||0)<=a.top+a.height;if(u)if(t)for(var f=0,m=a.startIndex;m<a.startIndex+a.itemCount;m++){var d=t(m);if(a.top+f<=this._scrollTop&&this._scrollTop<a.top+f+d)return m;f+=d}else{var d=Math.floor(a.height/a.itemCount);return a.startIndex+Math.floor((this._scrollTop-a.top)/d)}}return 0},r.prototype.componentDidMount=function(){if(this.setState({hasMounted:!0}),this._scrollElement=Tl(this._root.current),this._scrollTop=0,!this.props.getPageHeight){var t=this._updatePageMeasurements(this.state.pages);t&&(this._materializedRect=null,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))},r.prototype.componentDidUpdate=function(t,e){var o=this.props,s=this.state;if(this.state.pagesVersion!==e.pagesVersion){if(o.getPageHeight)this._onAsyncIdle();else{var a=this._updatePageMeasurements(s.pages);a?(this._materializedRect=null,this._onAsyncScroll()):this._onAsyncIdle()}o.onPagesUpdated&&o.onPagesUpdated(s.pages)}},r.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose(),delete this._scrollElement},r.prototype.shouldComponentUpdate=function(t,e){var o=this.state.pages,s=e.pages,a=!1;if(!e.isScrolling&&this.state.isScrolling||t.version!==this.props.version||t.className!==this.props.className)return!0;if(t.items===this.props.items&&o.length===s.length)for(var u=0;u<o.length;u++){var d=o[u],f=s[u];if(d.key!==f.key||d.itemCount!==f.itemCount){a=!0;break}}else a=!0;return a},r.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,this.state,!0),this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,n.prototype.forceUpdate.call(this)},r.prototype.getTotalListHeight=function(){return this._surfaceRect.height},r.prototype.render=function(){for(var t=this.props,e=t.className,o=t.role,s=o===void 0?"list":o,a=t.onRenderSurface,u=t.onRenderRoot,d=this.state.pages,f=d===void 0?[]:d,m=[],h=qe(this.props,en),g=0,y=f;g<y.length;g++){var C=y[g];m.push(this._renderPage(C))}var x=a?ir(a,this._onRenderSurface):this._onRenderSurface,b=u?ir(u,this._onRenderRoot):this._onRenderRoot;return b({rootRef:this._root,pages:f,surfaceElement:x({surfaceRef:this._surface,pages:f,pageElements:m,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:k(k({},h),{className:Et("ms-List",e),role:m.length>0?s:void 0,"aria-label":m.length>0?h["aria-label"]:void 0})})},r.prototype._shouldVirtualize=function(t){t===void 0&&(t=this.props);var e=t.onShouldVirtualize;return!e||e(t)},r.prototype._invalidatePageCache=function(){this._pageCache={}},r.prototype._renderPage=function(t){var e=this,o=this.props.usePageCache,s;if(o&&(s=this._pageCache[t.key],s&&s.pageElement))return s.pageElement;var a=this._getPageStyle(t),u=this.props.onRenderPage,d=u===void 0?this._onRenderPage:u,f=d({page:t,className:"ms-List-page",key:t.key,ref:function(m){e._pageRefs[t.key]=m},style:a,role:"presentation"},this._onRenderPage);return o&&t.startIndex===0&&(this._pageCache[t.key]={page:t,pageElement:f}),f},r.prototype._getPageStyle=function(t){var e=this.props.getPageStyle;return k(k({},e?e(t):{}),t.items?{}:{height:t.height})},r.prototype._onFocus=function(t){for(var e=t.target;e!==this._surface.current;){var o=e.getAttribute("data-list-index");if(o){this._focusedIndex=Number(o);break}e=Vt(e)}},r.prototype._onScroll=function(){!this.state.isScrolling&&!this.props.ignoreScrollingState&&this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDone()},r.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},r.prototype._onAsyncScroll=function(){this._updateRenderRects(this.props,this.state),(!this._materializedRect||!GD(this._requiredRect,this._materializedRect))&&this.setState(this._updatePages(this.props,this.state))},r.prototype._onAsyncIdle=function(){var t=this.props,e=t.renderedWindowsAhead,o=t.renderedWindowsBehind,s=this,a=s._requiredWindowsAhead,u=s._requiredWindowsBehind,d=Math.min(e,a+1),f=Math.min(o,u+1);(d!==a||f!==u)&&(this._requiredWindowsAhead=d,this._requiredWindowsBehind=f,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(e>d||o>f)&&this._onAsyncIdle()},r.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||this.setState({isScrolling:!1})},r.prototype._onAsyncResize=function(){this.forceUpdate()},r.prototype._updatePages=function(t,e){this._requiredRect||this._updateRenderRects(t,e);var o=this._buildPages(t,e),s=e.pages;return this._notifyPageChanges(s,o.pages,this.props),k(k(k({},e),o),{pagesVersion:{}})},r.prototype._notifyPageChanges=function(t,e,o){var s=o.onPageAdded,a=o.onPageRemoved;if(s||a){for(var u={},d=0,f=t;d<f.length;d++){var m=f[d];m.items&&(u[m.startIndex]=m)}for(var h=0,g=e;h<g.length;h++){var m=g[h];m.items&&(u[m.startIndex]?delete u[m.startIndex]:this._onPageAdded(m))}for(var y in u)u.hasOwnProperty(y)&&this._onPageRemoved(u[y])}},r.prototype._updatePageMeasurements=function(t){var e=!1;if(!this._shouldVirtualize())return e;for(var o=0;o<t.length;o++){var s=t[o];s.items&&(e=this._measurePage(s)||e)}return e},r.prototype._measurePage=function(t){var e=!1,o=this._pageRefs[t.key],s=this._cachedPageHeights[t.startIndex];if(o&&this._shouldVirtualize()&&(!s||s.measureVersion!==this._measureVersion)){var a={width:o.clientWidth,height:o.clientHeight};(a.height||a.width)&&(e=t.height!==a.height,t.height=a.height,this._cachedPageHeights[t.startIndex]={height:a.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+a.height)/(this._totalEstimates+1)),this._totalEstimates++)}return e},r.prototype._onPageAdded=function(t){var e=this.props.onPageAdded;e&&e(t)},r.prototype._onPageRemoved=function(t){var e=this.props.onPageRemoved;e&&e(t)},r.prototype._buildPages=function(t,e){var o=t.renderCount,s=t.items,a=t.startIndex,u=t.getPageHeight;o=this._getRenderCount(t);for(var d=k({},vy),f=[],m=1,h=0,g=null,y=this._focusedIndex,C=a+o,x=this._shouldVirtualize(t),b=this._estimatedPageHeight===0&&!u,S=this._allowedRect,F=function(j){var M=D._getPageSpecification(t,j,S),R=M.height,P=M.data,W=M.key;m=M.itemCount;var Q=h+R-1,K=rf(e.pages,function(le){return!!le.items&&le.startIndex===j})>-1,J=!S||Q>=S.top&&h<=S.bottom,ne=!D._requiredRect||Q>=D._requiredRect.top&&h<=D._requiredRect.bottom,ie=!b&&(ne||J&&K)||!x,fe=y>=j&&y<j+m,B=j===a;if(ie||fe||B){g&&(f.push(g),g=null);var Z=Math.min(m,C-j),se=D._createPage(W,s.slice(j,j+Z),j,void 0,void 0,P);se.top=h,se.height=R,D._visibleRect&&D._visibleRect.bottom&&(se.isVisible=Q>=D._visibleRect.top&&h<=D._visibleRect.bottom),f.push(se),ne&&D._allowedRect&&VD(d,{top:h,bottom:Q,left:S.left,right:S.right,width:S.width})}else g||(g=D._createPage(gy+j,void 0,j,0,void 0,P,!0)),g.height=(g.height||0)+(Q-h)+1,g.itemCount+=m;if(h+=Q-h+1,b&&x)return"break"},D=this,A=a;A<C;A+=m){var L=F(A);if(L==="break")break}return g&&(g.key=gy+"end",f.push(g)),this._materializedRect=d,k(k({},e),{pages:f,measureVersion:this._measureVersion})},r.prototype._getPageSpecification=function(t,e,o){var s=t.getPageSpecification;if(s){var a=s(e,o),u=a.itemCount,d=u===void 0?this._getItemCountForPage(e,o):u,f=a.height,m=f===void 0?this._getPageHeight(e,o,d):f;return{itemCount:d,height:m,data:a.data,key:a.key}}else{var d=this._getItemCountForPage(e,o);return{itemCount:d,height:this._getPageHeight(e,o,d)}}},r.prototype._getPageHeight=function(t,e,o){if(this.props.getPageHeight)return this.props.getPageHeight(t,e,o);var s=this._cachedPageHeights[t];return s?s.height:this._estimatedPageHeight||jD},r.prototype._getItemCountForPage=function(t,e){var o=this.props.getItemCountForPage?this.props.getItemCountForPage(t,e):my;return o||my},r.prototype._createPage=function(t,e,o,s,a,u,d){o===void 0&&(o=-1),s===void 0&&(s=e?e.length:0),a===void 0&&(a={}),t=t||WD+o;var f=this._pageCache[t];return f&&f.page?f.page:{key:t,startIndex:o,itemCount:s,items:e,style:a,top:0,height:0,data:u,isSpacer:d||!1}},r.prototype._getRenderCount=function(t){var e=t||this.props,o=e.items,s=e.startIndex,a=e.renderCount;return a===void 0?o?o.length-s:0:a},r.prototype._updateRenderRects=function(t,e,o){var s=t.renderedWindowsAhead,a=t.renderedWindowsBehind,u=e.pages;if(this._shouldVirtualize(t)){var d=this._surfaceRect||k({},vy),f=MD(this._scrollElement),m=fy(this._scrollElement);this._surface.current&&(o||!u||!this._surfaceRect||!f||f!==this._scrollHeight||Math.abs(this._scrollTop-m)>this._estimatedPageHeight/3)&&(d=this._surfaceRect=zD(this._surface.current),this._scrollTop=m),(o||!f||f!==this._scrollHeight)&&this._measureVersion++,this._scrollHeight=f||0;var h=Math.max(0,-d.top),g=Re(this._root.current),y={top:h,left:d.left,bottom:h+g.innerHeight,right:d.right,width:d.width,height:g.innerHeight};this._requiredRect=yy(y,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=yy(y,a,s),this._visibleRect=y}},r.defaultProps={startIndex:0,onRenderCell:function(t,e,o){return _.createElement(_.Fragment,null,t&&t.name||"")},onRenderCellConditional:void 0,renderedWindowsAhead:HD,renderedWindowsBehind:OD},r})(_.Component);function yy(n,r,t){var e=n.top-r*n.height,o=n.height+(r+t)*n.height;return{top:e,bottom:e+o,height:o,left:n.left,right:n.right,width:n.width}}function GD(n,r){return n.top>=r.top&&n.left>=r.left&&n.bottom<=r.bottom&&n.right<=r.right}function VD(n,r){return n.top=r.top<n.top||n.top===-1?r.top:n.top,n.left=r.left<n.left||n.left===-1?r.left:n.left,n.bottom=r.bottom>n.bottom||n.bottom===-1?r.bottom:n.bottom,n.right=r.right>n.right||n.right===-1?r.right:n.right,n.width=n.right-n.left+1,n.height=n.bottom-n.top+1,n}var KD=ke(),$D=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._focusZone=_.createRef(),e._persistedKeytips={},e._keytipManager=C0.getInstance(),e._divContainer=_.createRef(),e._onRenderItems=function(o){return o.map(function(s,a){return _.createElement("div",{key:s.key,className:e._classNames.item},e.props.onRenderItem(s))})},e._onRenderOverflowButtonWrapper=function(o){var s={className:e._classNames.overflowButton},a=e.props.keytipSequences,u=[];return a?o.forEach(function(d){var f=d.keytipProps;if(f){var m={content:f.content,keySequences:f.keySequences,disabled:f.disabled||!!(d.disabled||d.isDisabled),hasDynamicChildren:f.hasDynamicChildren,hasMenu:f.hasMenu};f.hasDynamicChildren||e._getSubMenuForItem(d)?m.onExecute=e._keytipManager.menuExecute.bind(e._keytipManager,a,d.keytipProps.keySequences):m.onExecute=f.onExecute,e._persistedKeytips[m.content]=m;var h=k(k({},d),{keytipProps:k(k({},f),{overflowSetSequence:a})});u.push(h)}else u.push(d)}):u=o,_.createElement("div",k({},s),e.props.onRenderOverflowButton(u))},rt(e),e}return r.prototype.render=function(){var t=this.props,e=t.items,o=t.overflowItems,s=t.className,a=t.focusZoneProps,u=t.styles,d=t.vertical,f=t.doNotContainWithinFocusZone,m=t.role,h=t.overflowSide,g=h===void 0?"end":h;this._classNames=KD(u,{className:s,vertical:d});var y,C;f?(y="div",C=k(k({},qe(this.props,en)),{ref:this._divContainer})):(y=Vi,C=k(k(k({},qe(this.props,en)),a),{componentRef:this._focusZone,direction:d?Kt.vertical:Kt.horizontal}));var x=o&&o.length>0;return _.createElement(y,k({role:m||"group","aria-orientation":m==="menubar"?d===!0?"vertical":"horizontal":void 0},C,{className:this._classNames.root}),g==="start"&&x&&this._onRenderOverflowButtonWrapper(o),e&&this._onRenderItems(e),g==="end"&&x&&this._onRenderOverflowButtonWrapper(o))},r.prototype.focus=function(t){var e=!1;return this.props.doNotContainWithinFocusZone?this._divContainer.current&&(e=$c(this._divContainer.current)):this._focusZone.current&&(e=this._focusZone.current.focus(t)),e},r.prototype.focusElement=function(t){var e=!1;return t?(this.props.doNotContainWithinFocusZone?this._divContainer.current&&Pt(this._divContainer.current,t)&&(t.focus(),e=document.activeElement===t):this._focusZone.current&&(e=this._focusZone.current.focusElement(t)),e):!1},r.prototype.componentDidMount=function(){this._registerPersistedKeytips()},r.prototype.componentWillUnmount=function(){this._unregisterPersistedKeytips()},r.prototype.UNSAFE_componentWillUpdate=function(){this._unregisterPersistedKeytips()},r.prototype.componentDidUpdate=function(){this._registerPersistedKeytips()},r.prototype._registerPersistedKeytips=function(){var t=this;Object.keys(this._persistedKeytips).forEach(function(e){var o=t._persistedKeytips[e],s=t._keytipManager.register(o,!0);t._persistedKeytips[s]=o,delete t._persistedKeytips[e]})},r.prototype._unregisterPersistedKeytips=function(){var t=this;Object.keys(this._persistedKeytips).forEach(function(e){t._keytipManager.unregister(t._persistedKeytips[e],e,!0)}),this._persistedKeytips={}},r.prototype._getSubMenuForItem=function(t){if(this.props.itemSubMenuProvider)return this.props.itemSubMenuProvider(t);if(t.subMenuProps)return t.subMenuProps.items},r})(_.Component),_y={flexShrink:0,display:"inherit"},qD=function(n){var r=n.className,t=n.vertical;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},t&&{flexDirection:"column"},r],item:["ms-OverflowSet-item",_y],overflowButton:["ms-OverflowSet-overflowButton",_y]}},j0=Fe($D,qD,void 0,{scope:"OverflowSet"}),by=500,YD=3;function ZD(n){return(function(r){be(t,r);function t(e){var o=r.call(this,e)||this;return o._root=_.createRef(),o._registerResizeObserver=function(){var s=Re(o._root.current);o._viewportResizeObserver=new s.ResizeObserver(o._onAsyncResize),o._viewportResizeObserver.observe(o._root.current)},o._unregisterResizeObserver=function(){o._viewportResizeObserver&&(o._viewportResizeObserver.disconnect(),delete o._viewportResizeObserver)},o._updateViewport=function(s){var a=o.state.viewport,u=o._root.current,d=Tl(u),f=bv(d),m=bv(u),h=function(){s&&o._composedComponentInstance&&o._composedComponentInstance.forceUpdate()},g=(m&&m.width)!==a.width||(f&&f.height)!==a.height;g&&o._resizeAttempts<YD&&m&&f?(o._resizeAttempts++,o.setState({viewport:{width:m.width,height:f.height}},function(){o._updateViewport(s)})):(o._resizeAttempts=0,h())},o._async=new tn(o),o._events=new mt(o),o._resizeAttempts=0,o.state={viewport:{width:0,height:0}},o}return t.prototype.componentDidMount=function(){var e=this,o=this.props,s=o.delayFirstMeasure,a=o.disableResizeObserver,u=o.skipViewportMeasures,d=Re(this._root.current);this._onAsyncResize=this._async.debounce(this._onAsyncResize,by,{leading:!1}),u||(!a&&this._isResizeObserverAvailable()?this._registerResizeObserver():this._events.on(d,"resize",this._onAsyncResize),s?this._async.setTimeout(function(){e._updateViewport()},by):this._updateViewport())},t.prototype.componentDidUpdate=function(e){var o=e.skipViewportMeasures,s=this.props,a=s.disableResizeObserver,u=s.skipViewportMeasures,d=Re(this._root.current);u!==o&&(u?(this._unregisterResizeObserver(),this._events.off(d,"resize",this._onAsyncResize)):(!a&&this._isResizeObserverAvailable()?this._viewportResizeObserver||this._registerResizeObserver():this._events.on(d,"resize",this._onAsyncResize),this._updateViewport()))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._unregisterResizeObserver()},t.prototype.render=function(){var e=this.state.viewport,o=e.width>0&&e.height>0?e:void 0;return _.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},_.createElement(n,k({ref:this._updateComposedComponentRef,viewport:o},this.props)))},t.prototype.forceUpdate=function(){this._updateViewport(!0)},t.prototype._onAsyncResize=function(){this._updateViewport()},t.prototype._isResizeObserverAvailable=function(){var e=Re(this._root.current);return e&&e.ResizeObserver},t})(E0)}var XD="data-selection-disabled",Cy="data-selection-index",QD="data-selection-span",Xa="data-selection-toggle",Ju="data-selection-invoke",JD="data-selection-touch-invoke",xy="data-selection-all-toggle",eT="data-selection-select",tT=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._root=_.createRef(),e.ignoreNextFocus=function(){e._handleNextFocus(!1)},e._onSelectionChange=function(){var a=e.props.selection,u=a.isModal&&a.isModal();e.setState({isModal:u})},e._onMouseDownCapture=function(a){var u=a.target;if(document.activeElement!==u&&!Pt(document.activeElement,u)){e.ignoreNextFocus();return}if(Pt(u,e._root.current))for(;u!==e._root.current;){if(e._hasAttribute(u,Ju)){e.ignoreNextFocus();break}u=Vt(u)}},e._onFocus=function(a){var u=a.target,d=e.props.selection,f=e._isCtrlPressed||e._isMetaPressed,m=e._getSelectionMode();if(e._shouldHandleFocus&&m!==He.none){var h=e._hasAttribute(u,Xa),g=e._findItemRoot(u);if(!h&&g){var y=e._getItemIndex(g),C=e._getItemSpan(g);C===void 0&&(f?(d.setIndexSelected(y,d.isIndexSelected(y),!0),e.props.enterModalOnTouch&&e._isTouch&&d.setModal&&(d.setModal(!0),e._setIsTouch(!1))):e.props.isSelectedOnFocus&&e._onItemSurfaceClick("focus",y))}}e._handleNextFocus(!1)},e._onMouseDown=function(a){e._updateModifiers(a);var u=e.props.toggleWithoutModifierPressed,d=a.target,f=e._findItemRoot(d);if(!e._isSelectionDisabled(d))for(;d!==e._root.current&&!e._hasAttribute(d,xy);){if(f){if(e._hasAttribute(d,Xa))break;if(e._hasAttribute(d,Ju))break;if((d===f||e._shouldAutoSelect(d))&&!e._isShiftPressed&&!e._isCtrlPressed&&!e._isMetaPressed&&!u){e._onInvokeMouseDown(a,e._getItemIndex(f),e._getItemSpan(f));break}else if(e.props.disableAutoSelectOnInputElements&&(d.tagName==="A"||d.tagName==="BUTTON"||d.tagName==="INPUT"))return}d=Vt(d)}},e._onTouchStartCapture=function(a){e._setIsTouch(!0)},e._onClick=function(a){var u=e.props.enableTouchInvocationTarget,d=u===void 0?!1:u;e._updateModifiers(a);for(var f=a.target,m=e._findItemRoot(f),h=e._isSelectionDisabled(f);f!==e._root.current;){if(e._hasAttribute(f,xy)){h||e._onToggleAllClick(a);break}else if(m){var g=e._getItemIndex(m),y=e._getItemSpan(m);if(e._hasAttribute(f,Xa)){h||(e._isShiftPressed?e._onItemSurfaceClick("click",g,y):e._onToggleClick(a,g,y));break}else if(e._isTouch&&d&&e._hasAttribute(f,JD)||e._hasAttribute(f,Ju)){y===void 0&&e._onInvokeClick(a,g);break}else if(f===m){h||e._onItemSurfaceClick("click",g,y);break}else if(f.tagName==="A"||f.tagName==="BUTTON"||f.tagName==="INPUT")return}f=Vt(f)}},e._onContextMenu=function(a){var u=a.target,d=e.props,f=d.onItemContextMenu,m=d.selection;if(f){var h=e._findItemRoot(u);if(h){var g=e._getItemIndex(h);e._onInvokeMouseDown(a,g);var y=f(m.getItems()[g],g,a.nativeEvent);y||a.preventDefault()}}},e._onDoubleClick=function(a){var u=a.target,d=e.props.onItemInvoked,f=e._findItemRoot(u);if(f&&d&&!e._isInputElement(u)){for(var m=e._getItemIndex(f);u!==e._root.current&&!(e._hasAttribute(u,Xa)||e._hasAttribute(u,Ju));){if(u===f){e._onInvokeClick(a,m);break}u=Vt(u)}u=Vt(u)}},e._onKeyDownCapture=function(a){e._updateModifiers(a),e._handleNextFocus(!0)},e._onKeyDown=function(a){e._updateModifiers(a);var u=a.target,d=e._isSelectionDisabled(u),f=e.props,m=f.selection,h=f.selectionClearedOnEscapePress,g=a.which===he.a&&(e._isCtrlPressed||e._isMetaPressed),y=a.which===he.escape;if(!e._isInputElement(u)){var C=e._getSelectionMode();if(g&&C===He.multiple&&!m.isAllSelected()){d||m.setAllSelected(!0),a.stopPropagation(),a.preventDefault();return}if(h&&y&&m.getSelectedCount()>0){d||m.setAllSelected(!1),a.stopPropagation(),a.preventDefault();return}var x=e._findItemRoot(u);if(x)for(var b=e._getItemIndex(x),S=e._getItemSpan(x);u!==e._root.current&&!e._hasAttribute(u,Xa);){if(e._shouldAutoSelect(u)){!d&&S===void 0&&e._onInvokeMouseDown(a,b,S);break}else{if((a.which===he.enter||a.which===he.space)&&(u.tagName==="BUTTON"||u.tagName==="A"||u.tagName==="INPUT"))return!1;if(u===x){if(a.which===he.enter){S===void 0&&(e._onInvokeClick(a,b),a.preventDefault());return}else if(a.which===he.space){d||e._onToggleClick(a,b,S),a.preventDefault();return}break}}u=Vt(u)}}},e._events=new mt(e),e._async=new tn(e),rt(e);var o=e.props.selection,s=o.isModal&&o.isModal();return e.state={isModal:s},e}return r.getDerivedStateFromProps=function(t,e){var o=t.selection.isModal&&t.selection.isModal();return k(k({},e),{isModal:o})},r.prototype.componentDidMount=function(){var t=Re(this._root.current);this._events.on(t,"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)},r.prototype.render=function(){var t=this.state.isModal;return _.createElement("div",{className:Et("ms-SelectionZone",this.props.className,{"ms-SelectionZone--modal":!!t}),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":t?!0:void 0},this.props.children,_.createElement(qs,null))},r.prototype.componentDidUpdate=function(t){var e=this.props.selection;e!==t.selection&&(this._events.off(t.selection),this._events.on(e,"change",this._onSelectionChange))},r.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},r.prototype._isSelectionDisabled=function(t){if(this._getSelectionMode()===He.none)return!0;for(;t!==this._root.current;){if(this._hasAttribute(t,XD))return!0;t=Vt(t)}return!1},r.prototype._onToggleAllClick=function(t){var e=this.props.selection,o=this._getSelectionMode();o===He.multiple&&(e.toggleAllSelected(),t.stopPropagation(),t.preventDefault())},r.prototype._onToggleClick=function(t,e,o){var s=this.props.selection,a=this._getSelectionMode();if(s.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&(o!==void 0?!s.isRangeSelected(e,o):!s.isIndexSelected(e))&&s.setModal&&(s.setModal(!0),this._setIsTouch(!1)),a===He.multiple)o!==void 0?s.toggleRangeSelected(e,o):s.toggleIndexSelected(e);else if(a===He.single){if(o===void 0||o===1){var u=s.isIndexSelected(e),d=s.isModal&&s.isModal();s.setAllSelected(!1),s.setIndexSelected(e,!u,!0),d&&s.setModal&&s.setModal(!0)}}else{s.setChangeEvents(!0);return}s.setChangeEvents(!0),t.stopPropagation()},r.prototype._onInvokeClick=function(t,e){var o=this.props,s=o.selection,a=o.onItemInvoked;a&&(a(s.getItems()[e],e,t.nativeEvent),t.preventDefault(),t.stopPropagation())},r.prototype._onItemSurfaceClick=function(t,e,o){var s,a,u=this.props,d=u.selection,f=u.toggleWithoutModifierPressed,m=this._isCtrlPressed||this._isMetaPressed,h=this._getSelectionMode();h===He.multiple?this._isShiftPressed&&!this._isTabPressed?o!==void 0?(a=(s=d).selectToRange)===null||a===void 0||a.call(s,e,o,!m):d.selectToIndex(e,!m):t==="click"&&(m||f)?o!==void 0?d.toggleRangeSelected(e,o):d.toggleIndexSelected(e):this._clearAndSelectIndex(e,o):h===He.single&&this._clearAndSelectIndex(e,o)},r.prototype._onInvokeMouseDown=function(t,e,o){var s=this.props.selection;if(o!==void 0){if(s.isRangeSelected(e,o))return}else if(s.isIndexSelected(e))return;this._clearAndSelectIndex(e,o)},r.prototype._findScrollParentAndTryClearOnEmptyClick=function(t){var e=Tl(this._root.current);this._events.off(document,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(e,"click",this._tryClearOnEmptyClick),(e&&t.target instanceof Node&&e.contains(t.target)||e===t.target)&&this._tryClearOnEmptyClick(t)},r.prototype._tryClearOnEmptyClick=function(t){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(t.target)&&this.props.selection.setAllSelected(!1)},r.prototype._clearAndSelectIndex=function(t,e){var o,s,a=this.props,u=a.selection,d=a.selectionClearedOnSurfaceClick,f=d===void 0?!0:d,m=(e===void 0||e===1)&&u.getSelectedCount()===1&&u.isIndexSelected(t);if(!m&&f){var h=u.isModal&&u.isModal();u.setChangeEvents(!1),u.setAllSelected(!1),e!==void 0?(s=(o=u).setRangeSelected)===null||s===void 0||s.call(o,t,e,!0,!0):u.setIndexSelected(t,!0,!0),(h||this.props.enterModalOnTouch&&this._isTouch)&&(u.setModal&&u.setModal(!0),this._isTouch&&this._setIsTouch(!1)),u.setChangeEvents(!0)}},r.prototype._updateModifiers=function(t){this._isShiftPressed=t.shiftKey,this._isCtrlPressed=t.ctrlKey,this._isMetaPressed=t.metaKey;var e=t.keyCode;this._isTabPressed=e?e===he.tab:!1},r.prototype._findItemRoot=function(t){for(var e=this.props.selection;t!==this._root.current;){var o=t.getAttribute(Cy),s=Number(o);if(o!==null&&s>=0&&s<e.getItems().length)break;t=Vt(t)}if(t!==this._root.current)return t},r.prototype._getItemIndex=function(t){var e,o=parseInt((e=t.getAttribute(Cy),e??""),10);return isNaN(o)?-1:o},r.prototype._getItemSpan=function(t){var e,o=parseInt((e=t.getAttribute(QD),e??""),10);return isNaN(o)?void 0:o},r.prototype._shouldAutoSelect=function(t){return this._hasAttribute(t,eT)},r.prototype._hasAttribute=function(t,e){for(var o=!1;!o&&t!==this._root.current;){var s=t.getAttribute(e);if(s==="false"){o=!1;break}o=s==="true",t=Vt(t)}return o},r.prototype._isInputElement=function(t){return t.tagName==="INPUT"||t.tagName==="TEXTAREA"},r.prototype._isNonHandledClick=function(t){var e=jt();if(e&&t)for(;t&&t!==e.documentElement;){if(jr(t))return!1;t=Vt(t)}return!0},r.prototype._handleNextFocus=function(t){var e=this;this._shouldHandleFocusTimeoutId&&(this._async.clearTimeout(this._shouldHandleFocusTimeoutId),this._shouldHandleFocusTimeoutId=void 0),this._shouldHandleFocus=t,t&&this._async.setTimeout(function(){e._shouldHandleFocus=!1},100)},r.prototype._setIsTouch=function(t){var e=this;this._isTouchTimeoutId&&(this._async.clearTimeout(this._isTouchTimeoutId),this._isTouchTimeoutId=void 0),this._isTouch=!0,t&&this._async.setTimeout(function(){e._isTouch=!1},300)},r.prototype._getSelectionMode=function(){var t=this.props.selection,e=this.props.selectionMode,o=e===void 0?t?t.mode:He.none:e;return o},r.defaultProps={isSelectedOnFocus:!0,toggleWithoutModifierPressed:!1,selectionMode:He.multiple,selectionClearedOnEscapePress:!0},r})(_.Component),Cl;(function(n){n[n.hidden=0]="hidden",n[n.visible=1]="visible"})(Cl||(Cl={}));var Br;(function(n){n[n.disabled=0]="disabled",n[n.clickable=1]="clickable",n[n.hasDropdown=2]="hasDropdown"})(Br||(Br={}));var Nc;(function(n){n[n.unconstrained=0]="unconstrained",n[n.horizontalConstrained=1]="horizontalConstrained"})(Nc||(Nc={}));var Ls;(function(n){n[n.outside=0]="outside",n[n.surface=1]="surface",n[n.header=2]="header"})(Ls||(Ls={}));var Us;(function(n){n[n.fixedColumns=0]="fixedColumns",n[n.justified=1]="justified"})(Us||(Us={}));var sr;(function(n){n[n.onHover=0]="onHover",n[n.always=1]="always",n[n.hidden=2]="hidden"})(sr||(sr={}));var xl=36,Gs=function(n){var r=n.count,t=n.indentWidth,e=t===void 0?xl:t,o=n.role,s=o===void 0?"presentation":o,a=r*e;return r>0?_.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:a},role:s}):null},nT={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},rT={easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"},oT=function(n){var r,t,e=n.theme,o=n.className,s=n.compact,a=e.palette,u=ze(nT,e);return{root:[u.root,e.fonts.small,{position:"relative",selectors:(r={},r["."+u.listCell]={minHeight:38},r)},s&&[u.compact,{selectors:(t={},t["."+u.listCell]={minHeight:32},t)}],o],group:[u.group,{transition:"background-color "+oo.durationValue2+" "+rT.easeInOutSine}],groupIsDropping:{backgroundColor:a.neutralLight}}},iT={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"},sT="[data-is-focusable='true']",lo={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},Wi={rowHeight:42,compactRowHeight:32},Ko=k(k({},Wi),{rowVerticalPadding:11,compactRowVerticalPadding:6}),aT=function(n){var r,t,e,o,s,a,u,d,f,m,h,g,y=n.theme,C=n.isSelected,x=n.canSelect,b=n.droppingClassName,S=n.anySelected,F=n.isCheckVisible,D=n.checkboxCellClassName,A=n.compact,L=n.className,j=n.cellStyleProps,M=j===void 0?lo:j,R=n.enableUpdateAnimations,P=n.disabled,W=y.palette,Q=y.fonts,K=W.neutralPrimary,J=W.white,ne=W.neutralSecondary,ie=W.neutralLighter,fe=W.neutralLight,B=W.neutralDark,Z=W.neutralQuaternaryAlt,se=y.semanticColors.focusBorder,le=ze(iT,y),z={defaultHeaderText:K,defaultMetaText:ne,defaultBackground:J,defaultHoverHeaderText:B,defaultHoverMetaText:K,defaultHoverBackground:ie,selectedHeaderText:B,selectedMetaText:K,selectedBackground:fe,selectedHoverHeaderText:B,selectedHoverMetaText:K,selectedHoverBackground:Z,focusHeaderText:B,focusMetaText:K,focusBackground:fe,focusHoverBackground:Z},q={top:2,right:2,bottom:2,left:2},X=[Jt(y,{inset:-1,borderColor:se,outlineColor:J,highContrastStyle:q}),le.isSelected,{color:z.selectedMetaText,background:z.selectedBackground,borderBottom:"1px solid "+J,selectors:(r={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid "+J},"&:hover":{background:z.selectedHoverBackground,color:z.selectedHoverMetaText,selectors:(t={},t["."+le.cell+" "+re]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},t["."+le.isRowHeader]={color:z.selectedHoverHeaderText,selectors:(e={},e[re]={color:"HighlightText"},e)},t[re]={background:"Highlight"},t)},"&:focus":{background:z.focusBackground,selectors:(o={},o["."+le.cell]={color:z.focusMetaText,selectors:(s={},s[re]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},s)},o["."+le.isRowHeader]={color:z.focusHeaderText,selectors:(a={},a[re]={color:"HighlightText"},a)},o[re]={background:"Highlight"},o)}},r[re]=k(k({background:"Highlight",color:"HighlightText"},tt()),{selectors:{a:{color:"HighlightText"}}}),r["&:focus:hover"]={background:z.focusHoverBackground},r)}],me=[le.isContentUnselectable,{userSelect:"none",cursor:"default"}],pe={minHeight:Ko.compactRowHeight,border:0},De={minHeight:Ko.compactRowHeight,paddingTop:Ko.compactRowVerticalPadding,paddingBottom:Ko.compactRowVerticalPadding,paddingLeft:M.cellLeftPadding+"px"},Te=[Jt(y,{inset:-1}),le.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:Ko.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:Ko.rowVerticalPadding,paddingBottom:Ko.rowVerticalPadding,paddingLeft:M.cellLeftPadding+"px",selectors:(u={"& > button":{maxWidth:"100%"}},u[sT]=Jt(y,{inset:-1,borderColor:ne,outlineColor:J}),u)},C&&{selectors:(d={},d[re]=k(k({background:"Highlight",color:"HighlightText"},tt()),{selectors:{a:{color:"HighlightText"}}}),d)},A&&De,P&&{opacity:.5}];return{root:[le.root,Tn.fadeIn400,b,y.fonts.small,F&&le.isCheckVisible,Jt(y,{borderColor:se,outlineColor:J}),{borderBottom:"1px solid "+ie,background:z.defaultBackground,color:z.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:Ko.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(f={},f["."+le.listCellFirstChild+" &:before"]={display:"none"},f["&:hover"]={background:z.defaultHoverBackground,color:z.defaultHoverMetaText,selectors:(m={},m["."+le.isRowHeader]={color:z.defaultHoverHeaderText},m)},f["&:hover ."+le.check]={opacity:1},f["."+Lt+" &:focus ."+le.check]={opacity:1},f)},C&&X,!x&&me,A&&pe,L],cellUnpadded:{paddingRight:M.cellRightPadding+"px"},cellPadded:{paddingRight:M.cellExtraRightPadding+M.cellRightPadding+"px",selectors:(h={},h["&."+le.cellCheck]={paddingRight:0},h)},cell:Te,cellAnimation:R&&s0.slideLeftIn40,cellMeasurer:[le.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[Te,le.cellCheck,D,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],checkCover:{position:"absolute",top:-1,left:0,bottom:0,right:0,display:S?"block":"none"},fields:[le.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[le.isRowHeader,{color:z.defaultHeaderText,fontSize:Q.medium.fontSize},C&&{color:z.selectedHeaderText,fontWeight:it.semibold,selectors:(g={},g[re]={color:"HighlightText"},g)}],isMultiline:[Te,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[le.check]}},O0={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"},al=42,H0=function(n){var r=n.theme,t=n.cellStyleProps,e=t===void 0?lo:t,o=r.semanticColors,s=ze(O0,r);return[s.cell,Jt(r),{color:o.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 "+e.cellRightPadding+"px 0 "+e.cellLeftPadding+"px",lineHeight:"inherit",margin:"0",height:al,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},lT=function(n){var r,t,e,o,s=n.theme,a=n.className,u=n.isAllSelected,d=n.isResizingColumn,f=n.isSizing,m=n.isAllCollapsed,h=n.cellStyleProps,g=h===void 0?lo:h,y=s.semanticColors,C=s.palette,x=s.fonts,b=ze(O0,s),S={iconForegroundColor:y.bodySubtext,headerForegroundColor:y.bodyText,headerBackgroundColor:y.bodyBackground,resizerColor:C.neutralTertiaryAlt},F={opacity:1,transition:"opacity 0.3s linear"},D=H0(n);return{root:[b.root,x.small,{display:"inline-block",background:S.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:al,lineHeight:al,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid "+y.bodyDivider,cursor:"default",userSelect:"none",selectors:(r={},r["&:hover ."+b.check]={opacity:1},r["& ."+b.tooltipHost+" ."+b.checkTooltip]={display:"block"},r)},u&&b.isAllSelected,d&&b.isResizingColumn,a],check:[b.check,{height:al},{selectors:(t={},t["."+Lt+" &:focus"]={opacity:1},t)}],cellWrapperPadded:{paddingRight:g.cellExtraRightPadding+g.cellRightPadding},cellIsCheck:[D,b.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},u&&{opacity:1}],cellIsGroupExpander:[D,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:x.small.fontSize,padding:0,border:"none",width:xl,color:C.neutralSecondary,selectors:{":hover":{backgroundColor:C.neutralLighter},":active":{backgroundColor:C.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:y.bodyText,background:y.listHeaderBackgroundHovered},":active":{background:y.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[b.cellSizer,pf(),{display:"inline-block",position:"relative",cursor:"ew-resize",bottom:0,top:0,overflow:"hidden",height:"inherit",background:"transparent",zIndex:1,width:16,selectors:(e={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:S.resizerColor,opacity:0,left:"50%"},":focus:after":F,":hover:after":F},e["&."+b.isResizing+":after"]=[F,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],e)}],cellIsResizing:b.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[b.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},m?[b.isCollapsed,{transform:"rotate(0deg)"}]:{transform:ht(s)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:b.checkTooltip,sizingOverlay:f&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(o={},o[re]=k({background:"transparent"},tt()),o)},accessibleLabel:Ui,dropHintCircleStyle:[b.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 "+C.themePrimary,background:C.white}],dropHintCaretStyle:[b.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:x.medium.fontSize,color:C.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[b.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:C.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}},uT={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},Lc=48,cT=function(n){var r=n.theme,t=n.className,e=n.isHeader,o=n.selected,s=n.anySelected,a=n.canSelect,u=n.compact,d=n.isVisible,f=ze(uT,r),m=Wi.rowHeight,h=Wi.compactRowHeight,g=e?al:u?h:m,y=d||o||s;return{root:[f.root,t],check:[!a&&f.isDisabled,e&&f.isHeader,Jt(r),r.fonts.small,N0.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:y?1:0,height:g,width:Lc,padding:0,margin:0}],isDisabled:[]}},dT={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"},ec={easeOutCirc:"cubic-bezier(0.075, 0.820, 0.165, 1.000)",easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInBack:"cubic-bezier(0.600, -0.280, 0.735, 0.045)"},pT=48,hT=40,fT=function(n){var r,t,e,o,s,a=n.theme,u=n.className,d=n.selected,f=n.isCollapsed,m=n.compact,h=lo.cellLeftPadding,g=m?hT:pT,y=a.semanticColors,C=a.palette,x=a.fonts,b=ze(dT,a),S=[Jt(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[b.root,Jt(a),a.fonts.medium,{borderBottom:"1px solid "+y.listBackground,cursor:"default",userSelect:"none",selectors:(r={":hover":{background:y.listItemBackgroundHovered,color:y.actionLinkHovered}},r["&:hover ."+b.check]={opacity:1},r["."+Lt+" &:focus ."+b.check]={opacity:1},r[":global(."+b.group+"."+b.isDropping+")"]={selectors:(t={},t["& > ."+b.root+" ."+b.dropIcon]={transition:"transform "+oo.durationValue4+" "+ec.easeOutCirc+" "+("opacity "+oo.durationValue1+" "+ec.easeOutSine),transitionDelay:oo.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},t["."+b.check]={opacity:0},t)},r)},d&&[b.isSelected,{background:y.listItemBackgroundChecked,selectors:(e={":hover":{background:y.listItemBackgroundCheckedHovered}},e[""+b.check]={opacity:1},e)}],m&&[b.compact,{border:"none"}],u],groupHeaderContainer:[{display:"flex",alignItems:"center",height:g}],headerCount:[{padding:"0px 4px"}],check:[b.check,S,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:Lc,height:g,selectors:(o={},o["."+Lt+" &:focus"]={opacity:1},o)}],expand:[b.expand,S,{display:"flex",alignItems:"center",justifyContent:"center",fontSize:x.small.fontSize,width:xl,height:g,color:d?C.neutralPrimary:C.neutralSecondary,selectors:{":hover":{backgroundColor:d?C.neutralQuaternary:C.neutralLight},":active":{backgroundColor:d?C.neutralTertiaryAlt:C.neutralQuaternaryAlt}}}],expandIsCollapsed:[f?[b.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:ht(a)?"rotate(-90deg)":"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[b.title,{paddingLeft:h,fontSize:m?x.medium.fontSize:x.mediumPlus.fontSize,fontWeight:f?it.regular:it.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis"}],dropIcon:[b.dropIcon,{position:"absolute",left:-26,fontSize:Sn.large,color:C.neutralSecondary,transition:"transform "+oo.durationValue2+" "+ec.easeInBack+", "+("opacity "+oo.durationValue4+" "+ec.easeOutSine),opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:(s={},s[":global(."+b.iconTag+")"]={position:"absolute"},s)}]}},Oe;(function(n){n[n.xSmall=0]="xSmall",n[n.small=1]="small",n[n.medium=2]="medium",n[n.large=3]="large"})(Oe||(Oe={}));var zh;(function(n){n[n.normal=0]="normal",n[n.large=1]="large"})(zh||(zh={}));var mT=ke(),gT=(function(n){be(r,n);function r(){return n!==null&&n.apply(this,arguments)||this}return r.prototype.render=function(){var t=this.props,e=t.type,o=t.size,s=t.ariaLabel,a=t.ariaLive,u=t.styles,d=t.label,f=t.theme,m=t.className,h=t.labelPosition,g=s,y=qe(this.props,en,["size"]),C=o;C===void 0&&e!==void 0&&(C=e===zh.large?Oe.large:Oe.medium);var x=mT(u,{theme:f,size:C,className:m,labelPosition:h});return _.createElement("div",k({},y,{className:x.root}),_.createElement("div",{className:x.circle}),d&&_.createElement("div",{className:x.label},d),g&&_.createElement("div",{role:"status","aria-live":a},_.createElement(Kc,null,_.createElement("div",{className:x.screenReaderText},g))))},r.defaultProps={size:Oe.medium,ariaLive:"polite",labelPosition:"bottom"},r})(_.Component),vT={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},yT=st(function(){return Ot({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),_T=function(n){var r,t=n.theme,e=n.size,o=n.className,s=n.labelPosition,a=t.palette,u=ze(vT,t);return{root:[u.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},s==="top"&&{flexDirection:"column-reverse"},s==="right"&&{flexDirection:"row"},s==="left"&&{flexDirection:"row-reverse"},o],circle:[u.circle,{boxSizing:"border-box",borderRadius:"50%",border:"1.5px solid "+a.themeLight,borderTopColor:a.themePrimary,animationName:yT(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(r={},r[re]=k({borderTopColor:"Highlight"},tt()),r)},e===Oe.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],e===Oe.small&&["ms-Spinner--small",{width:16,height:16}],e===Oe.medium&&["ms-Spinner--medium",{width:20,height:20}],e===Oe.large&&["ms-Spinner--large",{width:28,height:28}]],label:[u.label,t.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},s==="top"&&{margin:"0 0 8px"},s==="right"&&{margin:"0 0 0 8px"},s==="left"&&{margin:"0 8px 0 0"}],screenReaderText:Ui}},nt=Fe(gT,_T,void 0,{scope:"Spinner"}),bT=ke(),CT=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._toggleCollapse=function(){var o=e.props,s=o.group,a=o.onToggleCollapse,u=o.isGroupLoading,d=e.state.isCollapsed,f=!d,m=!f&&u&&u(s);e.setState({isCollapsed:f,isLoadingVisible:m}),a&&a(s)},e._onKeyUp=function(o){var s=e.props,a=s.group,u=s.onGroupHeaderKeyUp;if(u&&u(o,a),!o.defaultPrevented){var d=e.state.isCollapsed&&o.which===Fc(he.right,e.props.theme),f=!e.state.isCollapsed&&o.which===Fc(he.left,e.props.theme);(f||d)&&(e._toggleCollapse(),o.stopPropagation(),o.preventDefault())}},e._onToggleClick=function(o){e._toggleCollapse(),o.stopPropagation(),o.preventDefault()},e._onHeaderClick=function(){var o=e.props,s=o.group,a=o.onGroupHeaderClick;a&&a(s)},e._onRenderTitle=function(o){var s=o.group;if(!s)return null;var a=o.onRenderName?ir(o.onRenderName,e._onRenderName):e._onRenderName;return _.createElement("div",{className:e._classNames.title,id:e._id,onClick:e._onHeaderClick,role:"gridcell","aria-colspan":e.props.ariaColSpan,"data-selection-invoke":!0},a(o))},e._onRenderName=function(o){var s=o.group;return s?_.createElement(_.Fragment,null,_.createElement("span",null,s.name),_.createElement("span",{className:e._classNames.headerCount},"(",s.count,s.hasMoreData&&"+",")")):null},e._id=_t("GroupHeader"),e.state={isCollapsed:e.props.group&&e.props.group.isCollapsed,isLoadingVisible:!1},e}return r.getDerivedStateFromProps=function(t,e){if(t.group){var o=t.group.isCollapsed,s=t.isGroupLoading,a=!o&&s&&s(t.group);return k(k({},e),{isCollapsed:o||!1,isLoadingVisible:a||!1})}return e},r.prototype.render=function(){var t=this.props,e=t.group,o=t.groupLevel,s=o===void 0?0:o,a=t.viewport,u=t.selectionMode,d=t.loadingText,f=t.isSelected,m=f===void 0?!1:f,h=t.selected,g=h===void 0?!1:h,y=t.indentWidth,C=t.onRenderGroupHeaderCheckbox,x=t.isCollapsedGroupSelectVisible,b=x===void 0?!0:x,S=t.expandButtonProps,F=t.expandButtonIcon,D=t.selectAllButtonProps,A=t.theme,L=t.styles,j=t.className,M=t.compact,R=t.ariaPosInSet,P=t.ariaSetSize,W=t.ariaRowIndex,Q=t.useFastIcons,K=this.props.onRenderTitle?ir(this.props.onRenderTitle,this._onRenderTitle):this._onRenderTitle,J=Q?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,ne=C?ir(C,J):J,ie=this.state,fe=ie.isCollapsed,B=ie.isLoadingVisible,Z=u===He.multiple,se=Z&&(b||!(e&&e.isCollapsed)),le=g||m,z=ht(A);return this._classNames=bT(L,{theme:A,className:j,selected:le,isCollapsed:fe,compact:M}),e?_.createElement("div",{className:this._classNames.root,style:a?{minWidth:a.width}:{},role:"row","aria-setsize":P,"aria-posinset":R,"aria-rowindex":W,"data-is-focusable":!0,onKeyUp:this._onKeyUp,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabel?void 0:this._id,"aria-expanded":!this.state.isCollapsed,"aria-selected":Z?le:void 0,"aria-level":s+1,"data-selection-index":e.startIndex,"data-selection-span":e.count},_.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},se?_.createElement("div",{role:"gridcell"},_.createElement("button",k({"data-is-focusable":!1,type:"button",className:this._classNames.check,role:"checkbox",id:this._id+"-check","aria-checked":le,"aria-labelledby":this._id+"-check "+this._id,"data-selection-toggle":!0},D),ne({checked:le,theme:A},ne))):u!==He.none&&_.createElement(Gs,{indentWidth:y,count:1}),_.createElement(Gs,{indentWidth:y,count:s}),_.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},_.createElement(Ke,{iconName:"Tag"})),_.createElement("div",{role:"gridcell"},_.createElement("button",k({"data-is-focusable":!1,"data-selection-disabled":!0,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},S),_.createElement(Ke,{className:this._classNames.expandIsCollapsed,iconName:F||(z?"ChevronLeftMed":"ChevronRightMed")}))),K(this.props),B&&_.createElement(nt,{label:d}))):null},r.prototype._defaultCheckboxRender=function(t){return _.createElement(sd,{checked:t.checked})},r.prototype._fastDefaultCheckboxRender=function(t){return _.createElement(xT,{theme:t.theme,checked:t.checked})},r.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},r})(_.Component),xT=_.memo(function(n){return _.createElement(sd,{theme:n.theme,checked:n.checked,className:n.className,useFastIcons:!0})}),wT=Fe(CT,fT,void 0,{scope:"GroupHeader"}),ST={root:"ms-GroupShowAll",link:"ms-Link"},ET=function(n){var r,t=n.theme,e=t.fonts,o=ze(ST,t);return{root:[o.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(r={},r["."+o.link]={fontSize:e.small.fontSize},r)}]}},kT=ke(),IT=function(n){var r=n.group,t=n.groupLevel,e=n.showAllLinkText,o=e===void 0?"Show All":e,s=n.styles,a=n.theme,u=n.onToggleSummarize,d=kT(s,{theme:a}),f=_.useCallback(function(m){u(r),m.stopPropagation(),m.preventDefault()},[u,r]);return r?_.createElement("div",{className:d.root},_.createElement(Gs,{count:t}),_.createElement(ZF,{onClick:f},o)):null},FT=Fe(IT,ET,void 0,{scope:"GroupShowAll"}),DT={root:"ms-groupFooter"},TT=function(n){var r=n.theme,t=n.className,e=ze(DT,r);return{root:[r.fonts.medium,e.root,{position:"relative",padding:"5px 38px"},t]}},AT=ke(),MT=function(n){var r=n.group,t=n.groupLevel,e=n.footerText,o=n.indentWidth,s=n.styles,a=n.theme,u=AT(s,{theme:a});return r&&e?_.createElement("div",{className:u.root},_.createElement(Gs,{indentWidth:o,count:t}),e):null},PT=Fe(MT,TT,void 0,{scope:"GroupFooter"}),RT="is-dropping",NT=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._root=_.createRef(),e._list=_.createRef(),e._subGroupRefs={},e._droppingClassName="",e._onRenderGroupHeader=function(a){return _.createElement(wT,k({},a))},e._onRenderGroupShowAll=function(a){return _.createElement(FT,k({},a))},e._onRenderGroupFooter=function(a){return _.createElement(PT,k({},a))},e._renderSubGroup=function(a,u){var d=e.props,f=d.dragDropEvents,m=d.dragDropHelper,h=d.eventsToRegister,g=d.getGroupItemLimit,y=d.groupNestingDepth,C=d.groupProps,x=d.items,b=d.headerProps,S=d.showAllProps,F=d.footerProps,D=d.listProps,A=d.onRenderCell,L=d.selection,j=d.selectionMode,M=d.viewport,R=d.onRenderGroupHeader,P=d.onRenderGroupShowAll,W=d.onRenderGroupFooter,Q=d.onShouldVirtualize,K=d.group,J=d.compact,ne=a.level?a.level+1:y;return!a||a.count>0||C&&C.showEmptyGroups?_.createElement(r,{ref:function(ie){return e._subGroupRefs["subGroup_"+u]=ie},key:e._getGroupKey(a,u),dragDropEvents:f,dragDropHelper:m,eventsToRegister:h,footerProps:F,getGroupItemLimit:g,group:a,groupIndex:u,groupNestingDepth:ne,groupProps:C,headerProps:b,items:x,listProps:D,onRenderCell:A,selection:L,selectionMode:j,showAllProps:S,viewport:M,onRenderGroupHeader:R,onRenderGroupShowAll:P,onRenderGroupFooter:W,onShouldVirtualize:Q,groups:K?K.children:[],compact:J}):null},e._getGroupDragDropOptions=function(){var a=e.props,u=a.group,d=a.groupIndex,f=a.dragDropEvents,m=a.eventsToRegister,h={eventMap:m,selectionIndex:-1,context:{data:u,index:d,isGroup:!0},updateDropState:e._updateDroppingState,canDrag:f.canDrag,canDrop:f.canDrop,onDrop:f.onDrop,onDragStart:f.onDragStart,onDragEnter:f.onDragEnter,onDragLeave:f.onDragLeave,onDragEnd:f.onDragEnd,onDragOver:f.onDragOver};return h},e._updateDroppingState=function(a,u){var d=e.state.isDropping,f=e.props,m=f.dragDropEvents,h=f.group;d!==a&&(d?m&&m.onDragLeave&&m.onDragLeave(h,u):m&&m.onDragEnter&&(e._droppingClassName=m.onDragEnter(h,u)),e.setState({isDropping:a}))};var o=t.selection,s=t.group;return rt(e),e._id=_t("GroupedListSection"),e.state={isDropping:!1,isSelected:o&&s?o.isRangeSelected(s.startIndex,s.count):!1},e._events=new mt(e),e}return r.prototype.componentDidMount=function(){var t=this.props,e=t.dragDropHelper,o=t.selection;e&&this._root.current&&(this._dragDropSubscription=e.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),o&&this._events.on(o,Yc,this._onSelectionChange)},r.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},r.prototype.componentDidUpdate=function(t){(this.props.group!==t.group||this.props.groupIndex!==t.groupIndex||this.props.dragDropHelper!==t.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())))},r.prototype.render=function(){var t=this.props,e=t.getGroupItemLimit,o=t.group,s=t.groupIndex,a=t.headerProps,u=t.showAllProps,d=t.footerProps,f=t.viewport,m=t.selectionMode,h=t.onRenderGroupHeader,g=h===void 0?this._onRenderGroupHeader:h,y=t.onRenderGroupShowAll,C=y===void 0?this._onRenderGroupShowAll:y,x=t.onRenderGroupFooter,b=x===void 0?this._onRenderGroupFooter:x,S=t.onShouldVirtualize,F=t.groupedListClassNames,D=t.groups,A=t.compact,L=t.listProps,j=L===void 0?{}:L,M=this.state.isSelected,R=o&&e?e(o):1/0,P=o&&!o.children&&!o.isCollapsed&&!o.isShowingAll&&(o.count>R||o.hasMoreData),W=o&&o.children&&o.children.length>0,Q=j.version,K={group:o,groupIndex:s,groupLevel:o?o.level:0,isSelected:M,selected:M,viewport:f,selectionMode:m,groups:D,compact:A},J={groupedListId:this._id,ariaSetSize:D?D.length:void 0,ariaPosInSet:s!==void 0?s+1:void 0},ne=k(k(k({},a),K),J),ie=k(k({},u),K),fe=k(k({},d),K),B=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(o)&&!!this.props.dragDropEvents.canDragGroups;return _.createElement("div",k({ref:this._root},B&&{draggable:!0},{className:Et(F&&F.group,this._getDroppingClassName()),role:"presentation"}),g(ne,this._onRenderGroupHeader),o&&o.isCollapsed?null:W?_.createElement(bl,{role:"presentation",ref:this._list,items:o?o.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:S,version:Q,id:this._id}):this._onRenderGroup(R),o&&o.isCollapsed?null:P&&C(ie,this._onRenderGroupShowAll),b(fe,this._onRenderGroupFooter))},r.prototype.forceUpdate=function(){n.prototype.forceUpdate.call(this),this.forceListUpdate()},r.prototype.forceListUpdate=function(){var t=this.props.group;if(this._list.current){if(this._list.current.forceUpdate(),t&&t.children&&t.children.length>0)for(var e=t.children.length,o=0;o<e;o++){var s=this._list.current.pageRefs["subGroup_"+String(o)];s&&s.forceListUpdate()}}else{var s=this._subGroupRefs["subGroup_"+String(0)];s&&s.forceListUpdate()}},r.prototype._onSelectionChange=function(){var t=this.props,e=t.group,o=t.selection;if(o&&e){var s=o.isRangeSelected(e.startIndex,e.count);s!==this.state.isSelected&&this.setState({isSelected:s})}},r.prototype._onRenderGroupCell=function(t,e,o){return function(s,a){return t(e,s,a,o)}},r.prototype._onRenderGroup=function(t){var e,o=this.props,s=o.group,a=o.items,u=o.onRenderCell,d=o.listProps,f=o.groupNestingDepth,m=o.onShouldVirtualize,h=o.groupProps,g=s&&!s.isShowingAll?s.count:a.length,y=s?s.startIndex:0;return _.createElement(bl,k({role:h&&h.role?h.role:"rowgroup","aria-label":(e=s)===null||e===void 0?void 0:e.name,items:a,onRenderCell:this._onRenderGroupCell(u,f,s),ref:this._list,renderCount:Math.min(g,t),startIndex:y,onShouldVirtualize:m,id:this._id},d))},r.prototype._returnOne=function(){return 1},r.prototype._getGroupKey=function(t,e){return"group-"+(t&&t.key?t.key:String(t.level)+String(e))},r.prototype._getDroppingClassName=function(){var t=this.state.isDropping,e=this.props,o=e.group,s=e.groupedListClassNames;return t=!!(o&&t),Et(t&&this._droppingClassName,t&&RT,t&&s&&s.groupIsDropping)},r})(_.Component),LT=ke(),BT=Wi.rowHeight,jT=Wi.compactRowHeight,OT=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._list=_.createRef(),e._renderGroup=function(u,d){var f=e.props,m=f.dragDropEvents,h=f.dragDropHelper,g=f.eventsToRegister,y=f.groupProps,C=f.items,x=f.listProps,b=f.onRenderCell,S=f.selectionMode,F=f.selection,D=f.viewport,A=f.onShouldVirtualize,L=f.groups,j=f.compact,M={onToggleSelectGroup:e._onToggleSelectGroup,onToggleCollapse:e._onToggleCollapse,onToggleSummarize:e._onToggleSummarize},R=k(k({},y.headerProps),M),P=k(k({},y.showAllProps),M),W=k(k({},y.footerProps),M),Q=e._getGroupNestingDepth();if(!y.showEmptyGroups&&u&&u.count===0)return null;var K=k(k({},x||{}),{version:e.state.version});return _.createElement(NT,{key:e._getGroupKey(u,d),dragDropEvents:m,dragDropHelper:h,eventsToRegister:g,footerProps:W,getGroupItemLimit:y&&y.getGroupItemLimit,group:u,groupIndex:d,groupNestingDepth:Q,groupProps:y,headerProps:R,listProps:K,items:C,onRenderCell:b,onRenderGroupHeader:y.onRenderHeader,onRenderGroupShowAll:y.onRenderShowAll,onRenderGroupFooter:y.onRenderFooter,selectionMode:S,selection:F,showAllProps:P,viewport:D,onShouldVirtualize:A,groupedListClassNames:e._classNames,groups:L,compact:j})},e._getDefaultGroupItemLimit=function(u){return u.count},e._getGroupItemLimit=function(u){var d=e.props.groupProps,f=d&&d.getGroupItemLimit?d.getGroupItemLimit:e._getDefaultGroupItemLimit;return f(u)},e._getGroupHeight=function(u){var d=e.props.compact?jT:BT;return d+(u.isCollapsed?0:d*e._getGroupItemLimit(u))},e._getPageHeight=function(u){var d=e.state.groups,f=e.props.getGroupHeight,m=f===void 0?e._getGroupHeight:f,h=d&&d[u];return h?m(h,u):0},e._onToggleCollapse=function(u){var d=e.props.groupProps,f=d&&d.headerProps&&d.headerProps.onToggleCollapse;u&&(f&&f(u),u.isCollapsed=!u.isCollapsed,e._updateIsSomeGroupExpanded(),e.forceUpdate())},e._onToggleSelectGroup=function(u){var d=e.props,f=d.selection,m=d.selectionMode;u&&f&&m===He.multiple&&f.toggleRangeSelected(u.startIndex,u.count)},e._isInnerZoneKeystroke=function(u){return u.which===Fc(he.right)},e._onToggleSummarize=function(u){var d=e.props.groupProps,f=d&&d.showAllProps&&d.showAllProps.onToggleSummarize;f?f(u):(u&&(u.isShowingAll=!u.isShowingAll),e.forceUpdate())},e._getPageSpecification=function(u){var d=e.state.groups,f=d&&d[u];return{key:f&&f.key}},rt(e),e._isSomeGroupExpanded=e._computeIsSomeGroupExpanded(t.groups);var o=t.listProps,s=(o===void 0?{}:o).version,a=s===void 0?{}:s;return e.state={groups:t.groups,items:t.items,listProps:t.listProps,version:a},e}return r.getDerivedStateFromProps=function(t,e){var o=t.groups,s=t.selectionMode,a=t.compact,u=t.items,d=t.listProps,f=d&&d.version,m=k(k({},e),{selectionMode:s,compact:a,groups:o,listProps:d}),h=!1,g=e.listProps&&e.listProps.version;return(f!==g||u!==e.items||o!==e.groups||s!==e.selectionMode||a!==e.compact)&&(h=!0),h&&(m=k(k({},m),{version:{}})),m},r.prototype.scrollToIndex=function(t,e,o){this._list.current&&this._list.current.scrollToIndex(t,e,o)},r.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},r.prototype.componentDidMount=function(){var t=this.props,e=t.groupProps,o=t.groups,s=o===void 0?[]:o;e&&e.isAllGroupsCollapsed&&this._setGroupsCollapsedState(s,e.isAllGroupsCollapsed)},r.prototype.render=function(){var t=this.props,e=t.className,o=t.usePageCache,s=t.onShouldVirtualize,a=t.theme,u=t.role,d=u===void 0?"treegrid":u,f=t.styles,m=t.compact,h=t.focusZoneProps,g=h===void 0?{}:h,y=t.rootListProps,C=y===void 0?{}:y,x=this.state,b=x.groups,S=x.version;this._classNames=LT(f,{theme:a,className:e,compact:m});var F=g.shouldEnterInnerZone,D=F===void 0?this._isInnerZoneKeystroke:F;return _.createElement(Vi,k({direction:Kt.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},g,{shouldEnterInnerZone:D,className:Et(this._classNames.root,g.className)}),b?_.createElement(bl,k({ref:this._list,role:d,items:b,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:o,onShouldVirtualize:s,version:S},C)):this._renderGroup(void 0,0))},r.prototype.forceUpdate=function(){n.prototype.forceUpdate.call(this),this._forceListUpdates()},r.prototype.toggleCollapseAll=function(t){var e=this.state.groups,o=e===void 0?[]:e,s=this.props.groupProps,a=s&&s.onToggleCollapseAll;o.length>0&&(a&&a(t),this._setGroupsCollapsedState(o,t),this._updateIsSomeGroupExpanded(),this.forceUpdate())},r.prototype._setGroupsCollapsedState=function(t,e){for(var o=0;o<t.length;o++)t[o].isCollapsed=e},r.prototype._returnOne=function(){return 1},r.prototype._getGroupKey=function(t,e){return"group-"+(t&&t.key?t.key:String(e))},r.prototype._getGroupNestingDepth=function(){for(var t=this.state.groups,e=0,o=t;o&&o.length>0;)e++,o=o[0].children;return e},r.prototype._forceListUpdates=function(t){this.setState({version:{}})},r.prototype._computeIsSomeGroupExpanded=function(t){var e=this;return!!(t&&t.some(function(o){return o.children?e._computeIsSomeGroupExpanded(o.children):!o.isCollapsed}))},r.prototype._updateIsSomeGroupExpanded=function(){var t=this.state.groups,e=this.props.onGroupExpandStateChanged,o=this._computeIsSomeGroupExpanded(t);this._isSomeGroupExpanded!==o&&(e&&e(o),this._isSomeGroupExpanded=o)},r.defaultProps={selectionMode:He.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},r})(_.Component),wy=Fe(OT,oT,void 0,{scope:"GroupedList"}),HT=function(n){var r=0;if(n)for(var t=Qt(n),e=void 0;t&&t.length>0;)++r,e=t.pop(),e&&e.children&&t.push.apply(t,e.children);return r},WT=ke(),zT=function(n){var r=n.isVisible,t=r===void 0?!1:r,e=n.canSelect,o=e===void 0?!1:e,s=n.anySelected,a=s===void 0?!1:s,u=n.selected,d=u===void 0?!1:u,f=n.isHeader,m=f===void 0?!1:f,h=n.className;n.checkClassName;var g=n.styles,y=n.theme,C=n.compact,x=n.onRenderDetailsCheckbox,b=n.useFastIcons,S=b===void 0?!0:b,F=Vn(n,["isVisible","canSelect","anySelected","selected","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),D=S?VT:GT,A=x?ir(x,D):D,L=WT(g,{theme:y,canSelect:o,selected:d,anySelected:a,className:h,isHeader:m,isVisible:t,compact:C}),j={checked:d,theme:y},M=NE("div",F,["aria-label","aria-labelledby","aria-describedby"]);return o?_.createElement("div",k({},F,{role:"checkbox",className:Et(L.root,L.check),"aria-checked":d,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck",tabIndex:-1}),A(j)):_.createElement("div",k({},M,{className:Et(L.root,L.check)}))},UT=_.memo(function(n){return _.createElement(sd,{theme:n.theme,checked:n.checked,className:n.className,useFastIcons:!0})});function GT(n){return _.createElement(sd,{checked:n.checked})}function VT(n){return _.createElement(UT,{theme:n.theme,checked:n.checked})}var W0=Fe(zT,cT,void 0,{scope:"DetailsRowCheck"},!0),KT=0,Sy=1,Uh=(function(){function n(r){this._selection=r.selection,this._dragEnterCounts={},this._activeTargets={},this._lastId=0,this._initialized=!1}return n.prototype.dispose=function(){this._events&&this._events.dispose()},n.prototype.subscribe=function(r,t,e){var o=this;if(!this._initialized){this._events=new mt(this);var s=jt();s&&(this._events.on(s.body,"mouseup",this._onMouseUp.bind(this),!0),this._events.on(s,"mouseup",this._onDocumentMouseUp.bind(this),!0)),this._initialized=!0}var a=e.key,u=a===void 0?""+ ++this._lastId:a,d=[],f,m,h,g,y,C,x,b,S,F;if(e&&r){var D=e.eventMap,A=e.context,L=e.updateDropState,j={root:r,options:e,key:u};if(b=this._isDraggable(j),S=this._isDroppable(j),(b||S)&&D)for(var M=0,R=D;M<R.length;M++){var P=R[M],W={callback:P.callback.bind(null,A),eventName:P.eventName};d.push(W),this._events.on(r,W.eventName,W.callback)}S&&(m=function(Q){Q.isHandled||(Q.isHandled=!0,o._dragEnterCounts[u]--,o._dragEnterCounts[u]===0&&L(!1,Q))},h=function(Q){Q.preventDefault(),Q.isHandled||(Q.isHandled=!0,o._dragEnterCounts[u]++,o._dragEnterCounts[u]===1&&L(!0,Q))},g=function(Q){o._dragEnterCounts[u]=0,L(!1,Q)},y=function(Q){o._dragEnterCounts[u]=0,L(!1,Q),e.onDrop&&e.onDrop(e.context.data,Q)},C=function(Q){Q.preventDefault(),e.onDragOver&&e.onDragOver(e.context.data,Q)},this._dragEnterCounts[u]=0,t.on(r,"dragenter",h),t.on(r,"dragleave",m),t.on(r,"dragend",g),t.on(r,"drop",y),t.on(r,"dragover",C)),b&&(x=this._onMouseDown.bind(this,j),g=this._onDragEnd.bind(this,j),f=function(Q){var K=e;K&&K.onDragStart&&K.onDragStart(K.context.data,K.context.index,o._selection.getSelection(),Q),o._isDragging=!0,Q.dataTransfer&&Q.dataTransfer.setData("id",r.id)},t.on(r,"dragstart",f),t.on(r,"mousedown",x),t.on(r,"dragend",g)),F={target:j,dispose:function(){if(o._activeTargets[u]===F&&delete o._activeTargets[u],r){for(var Q=0,K=d;Q<K.length;Q++){var J=K[Q];o._events.off(r,J.eventName,J.callback)}S&&(t.off(r,"dragenter",h),t.off(r,"dragleave",m),t.off(r,"dragend",g),t.off(r,"dragover",C),t.off(r,"drop",y)),b&&(t.off(r,"dragstart",f),t.off(r,"mousedown",x),t.off(r,"dragend",g))}}},this._activeTargets[u]=F}return{key:u,dispose:function(){F&&F.dispose()}}},n.prototype.unsubscribe=function(r,t){var e=this._activeTargets[t];e&&e.dispose()},n.prototype._onDragEnd=function(r,t){var e=r.options;e.onDragEnd&&e.onDragEnd(e.context.data,t)},n.prototype._onMouseUp=function(r){if(this._isDragging=!1,this._dragData){for(var t=0,e=Object.keys(this._activeTargets);t<e.length;t++){var o=e[t],s=this._activeTargets[o];s.target.root&&(this._events.off(s.target.root,"mousemove"),this._events.off(s.target.root,"mouseleave"))}this._dragData.dropTarget&&(mt.raise(this._dragData.dropTarget.root,"dragleave"),mt.raise(this._dragData.dropTarget.root,"drop"))}this._dragData=null},n.prototype._onDocumentMouseUp=function(r){var t=jt();t&&r.target===t.documentElement&&this._onMouseUp(r)},n.prototype._onMouseMove=function(r,t){var e=t.buttons,o=e===void 0?Sy:e;if(this._dragData&&o!==Sy){this._onMouseUp(t);return}var s=r.root,a=r.key;this._isDragging&&this._isDroppable(r)&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key!==a&&!this._isChild(s,this._dragData.dropTarget.root)&&this._dragEnterCounts[this._dragData.dropTarget.key]>0&&(mt.raise(this._dragData.dropTarget.root,"dragleave"),mt.raise(s,"dragenter"),this._dragData.dropTarget=r)},n.prototype._onMouseLeave=function(r,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===r.key&&(mt.raise(r.root,"dragleave"),this._dragData.dropTarget=void 0)},n.prototype._onMouseDown=function(r,t){if(t.button===KT)if(this._isDraggable(r)){this._dragData={clientX:t.clientX,clientY:t.clientY,eventTarget:t.target,dragTarget:r};for(var e=0,o=Object.keys(this._activeTargets);e<o.length;e++){var s=o[e],a=this._activeTargets[s];a.target.root&&(this._events.on(a.target.root,"mousemove",this._onMouseMove.bind(this,a.target)),this._events.on(a.target.root,"mouseleave",this._onMouseLeave.bind(this,a.target)))}}else this._dragData=null},n.prototype._isChild=function(r,t){for(;t&&t.parentElement;){if(t.parentElement===r)return!0;t=t.parentElement}return!1},n.prototype._isDraggable=function(r){var t=r.options;return!!(t.canDrag&&t.canDrag(t.context.data))},n.prototype._isDroppable=function(r){var t=r.options,e=this._dragData&&this._dragData.dragTarget?this._dragData.dragTarget.options.context:void 0;return!!(t.canDrop&&t.canDrop(t.context,e))},n})(),$T=0,qT=ke(),YT=200,Ey=1500,sh=20,ky=function(n){return function(r){return r?r.column.isIconOnly?_.createElement("span",{className:n.accessibleLabel},r.column.name):_.createElement(_.Fragment,null,r.column.name):null}},ZT=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._root=_.createRef(),e._onRenderFilterIcon=function(o){return function(s){var a,u=s.columnProps,d=Vn(s,["columnProps"]),f=!((a=u)===null||a===void 0)&&a.useFastIcons?pn:Ke;return _.createElement(f,k({},d))}},e._onRenderColumnHeaderTooltip=function(o){return _.createElement("span",{className:o.hostClassName},o.children)},e._onColumnClick=function(o){var s=e.props,a=s.onColumnClick,u=s.column;u.columnActionsMode!==Br.disabled&&(u.onColumnClick&&u.onColumnClick(o,u),a&&a(o,u))},e._onDragStart=function(o,s,a,u){var d=e._classNames;s&&(e._updateHeaderDragInfo(s),e._root.current.classList.add(d.borderWhileDragging),e._async.setTimeout(function(){e._root.current&&e._root.current.classList.add(d.noBorderWhileDragging)},sh))},e._onDragEnd=function(o,s){var a=e._classNames;s&&e._updateHeaderDragInfo(-1,s),e._root.current.classList.remove(a.borderWhileDragging),e._root.current.classList.remove(a.noBorderWhileDragging)},e._updateHeaderDragInfo=function(o,s){e.props.setDraggedItemIndex&&e.props.setDraggedItemIndex(o),e.props.updateDragInfo&&e.props.updateDragInfo({itemIndex:o},s)},e._onColumnContextMenu=function(o){var s=e.props,a=s.onColumnContextMenu,u=s.column;u.onColumnContextMenu&&(u.onColumnContextMenu(u,o),o.preventDefault()),a&&(a(u,o),o.preventDefault())},e._onRootMouseDown=function(o){var s=e.props.isDraggable;s&&o.button===$T&&o.stopPropagation()},rt(e),e._async=new tn(e),e._events=new mt(e),e}return r.prototype.render=function(){var t=this.props,e=t.column,o=t.columnIndex,s=t.parentId,a=t.isDraggable,u=t.styles,d=t.theme,f=t.cellStyleProps,m=f===void 0?lo:f,h=t.useFastIcons,g=h===void 0?!0:h,y=this.props.onRenderColumnHeaderTooltip,C=y===void 0?this._onRenderColumnHeaderTooltip:y;this._classNames=qT(u,{theme:d,headerClassName:e.headerClassName,iconClassName:e.iconClassName,isActionable:e.columnActionsMode!==Br.disabled,isEmpty:!e.name,isIconVisible:e.isSorted||e.isGrouped||e.isFiltered,isPadded:e.isPadded,isIconOnly:e.isIconOnly,cellStyleProps:m,transitionDurationDrag:YT,transitionDurationDrop:Ey});var x=this._classNames,b=g?pn:Ke,S=e.onRenderFilterIcon?ir(e.onRenderFilterIcon,this._onRenderFilterIcon(this._classNames)):this._onRenderFilterIcon(this._classNames),F=e.onRenderHeader?ir(e.onRenderHeader,ky(this._classNames)):ky(this._classNames);return _.createElement(_.Fragment,null,_.createElement("div",{key:e.key,ref:this._root,role:"columnheader","aria-sort":e.isSorted?e.isSortedDescending?"descending":"ascending":"none","aria-colindex":o,className:x.root,"data-is-draggable":a,draggable:a,style:{width:e.calculatedWidth+m.cellLeftPadding+m.cellRightPadding+(e.isPadded?m.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":e.key},a&&_.createElement(b,{iconName:"GripperBarVertical",className:x.gripperBarVerticalStyle}),C({hostClassName:x.cellTooltip,id:s+"-"+e.key+"-tooltip",setAriaDescribedBy:!1,column:e,content:e.columnActionsMode!==Br.disabled?e.ariaLabel:"",children:_.createElement("span",{id:s+"-"+e.key,"aria-label":e.isIconOnly?e.name:void 0,"aria-labelledby":e.isIconOnly?void 0:s+"-"+e.key+"-name",className:x.cellTitle,"data-is-focusable":e.columnActionsMode!==Br.disabled,role:e.columnActionsMode!==Br.disabled&&(e.onColumnClick!==void 0||this.props.onColumnClick!==void 0)?"button":void 0,"aria-describedby":!this.props.onRenderColumnHeaderTooltip&&this._hasAccessibleLabel()?s+"-"+e.key+"-tooltip":void 0,onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,"aria-haspopup":e.columnActionsMode===Br.hasDropdown,"aria-expanded":e.columnActionsMode===Br.hasDropdown?!!e.isMenuOpen:void 0},_.createElement("span",{id:s+"-"+e.key+"-name",className:x.cellName},(e.iconName||e.iconClassName)&&_.createElement(b,{className:x.iconClassName,iconName:e.iconName}),F(this.props)),e.isFiltered&&_.createElement(b,{className:x.nearIcon,iconName:"Filter"}),e.isSorted&&_.createElement(b,{className:x.sortIcon,iconName:e.isSortedDescending?"SortDown":"SortUp"}),e.isGrouped&&_.createElement(b,{className:x.nearIcon,iconName:"GroupedDescending"}),e.columnActionsMode===Br.hasDropdown&&!e.isIconOnly&&S({"aria-hidden":!0,columnProps:this.props,className:x.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleLabel())},r.prototype.componentDidMount=function(){var t=this;this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling();var e=this._classNames;this.props.isDropped&&(this._root.current&&(this._root.current.classList.add(e.borderAfterDropping),this._async.setTimeout(function(){t._root.current&&t._root.current.classList.add(e.noBorderAfterDropping)},sh)),this._async.setTimeout(function(){t._root.current&&(t._root.current.classList.remove(e.borderAfterDropping),t._root.current.classList.remove(e.noBorderAfterDropping))},Ey+sh))},r.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},r.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)},r.prototype._getColumnDragDropOptions=function(){var t=this,e=this.props.columnIndex,o={selectionIndex:e,context:{data:e,index:e},canDrag:function(){return t.props.isDraggable},canDrop:function(){return!1},onDragStart:this._onDragStart,updateDropState:function(){},onDrop:function(){},onDragEnd:this._onDragEnd};return o},r.prototype._hasAccessibleLabel=function(){var t=this.props.column;return!!(t.ariaLabel||t.filterAriaLabel||t.sortAscendingAriaLabel||t.sortDescendingAriaLabel||t.groupAriaLabel)},r.prototype._renderAccessibleLabel=function(){var t=this.props,e=t.column,o=t.parentId,s=this._classNames;return this._hasAccessibleLabel()&&!this.props.onRenderColumnHeaderTooltip?_.createElement("label",{key:e.key+"_label",id:o+"-"+e.key+"-tooltip",className:s.accessibleLabel},e.ariaLabel,e.isFiltered&&e.filterAriaLabel||null,e.isSorted&&(e.isSortedDescending?e.sortDescendingAriaLabel:e.sortAscendingAriaLabel)||null,e.isGrouped&&e.groupAriaLabel||null):null},r.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)},r})(_.Component),XT={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"},QT=function(n){var r,t=n.theme,e=n.headerClassName,o=n.iconClassName,s=n.isActionable,a=n.isEmpty,u=n.isIconVisible,d=n.isPadded,f=n.isIconOnly,m=n.cellStyleProps,h=m===void 0?lo:m,g=n.transitionDurationDrag,y=n.transitionDurationDrop,C=t.semanticColors,x=t.palette,b=t.fonts,S=ze(XT,t),F={iconForegroundColor:C.bodySubtext,headerForegroundColor:C.bodyText,headerBackgroundColor:C.bodyBackground,dropdownChevronForegroundColor:x.neutralSecondary,resizerColor:x.neutralTertiaryAlt},D={color:F.iconForegroundColor,opacity:1,paddingLeft:8},A={outline:"1px solid "+x.themePrimary},L={outlineColor:"transparent"};return{root:[H0(n),b.small,s&&[S.isActionable,{selectors:{":hover":{color:C.bodyText,background:C.listHeaderBackgroundHovered},":active":{background:C.listHeaderBackgroundPressed}}}],a&&[S.isEmpty,{textOverflow:"clip"}],u&&S.isIconVisible,d&&{paddingRight:h.cellExtraRightPadding+h.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},e],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:x.neutralTertiary,left:1},nearIcon:[S.nearIcon,D],sortIcon:[D,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:F.iconForegroundColor,opacity:1},o],filterChevron:[S.filterChevron,{color:F.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:b.small.fontSize}],cellTitle:[S.cellTitle,Jt(t),k({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 "+h.cellRightPadding+"px 0 "+h.cellLeftPadding+"px"},f?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[S.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:it.semibold,fontSize:b.medium.fontSize},f&&{selectors:(r={},r["."+S.nearIcon]={paddingLeft:0},r)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:Ui,borderWhileDragging:A,noBorderWhileDragging:[L,{transition:"outline "+g+"ms ease"}],borderAfterDropping:A,noBorderAfterDropping:[L,{transition:"outline  "+y+"ms ease"}]}},JT=Fe(ZT,QT,void 0,{scope:"DetailsColumn"}),Cr;(function(n){n[n.none=0]="none",n[n.hidden=1]="hidden",n[n.visible=2]="visible"})(Cr||(Cr={}));var eA=ke(),tA=0,nA=1,yr=[],rA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._rootElement=_.createRef(),e._rootComponent=_.createRef(),e._draggedColumnIndex=-1,e._dropHintDetails={},e._updateDroppingState=function(o,s){e._draggedColumnIndex>=0&&s.type!=="drop"&&!o&&e._resetDropHints()},e._onDragOver=function(o,s){e._draggedColumnIndex>=0&&(s.stopPropagation(),e._computeDropHintToBeShown(s.clientX))},e._onDrop=function(o,s){var a=e._getColumnReorderProps();if(e._draggedColumnIndex>=0&&s){var u=e._draggedColumnIndex>e._currentDropHintIndex?e._currentDropHintIndex:e._currentDropHintIndex-1,d=e._isValidCurrentDropHintIndex();if(s.stopPropagation(),d)if(e._onDropIndexInfo.sourceIndex=e._draggedColumnIndex,e._onDropIndexInfo.targetIndex=u,a.onColumnDrop){var f={draggedIndex:e._draggedColumnIndex,targetIndex:u};a.onColumnDrop(f)}else a.handleColumnReorder&&a.handleColumnReorder(e._draggedColumnIndex,u)}e._resetDropHints(),e._dropHintDetails={},e._draggedColumnIndex=-1},e._updateDragInfo=function(o,s){var a=e._getColumnReorderProps(),u=o.itemIndex;if(u>=0)e._draggedColumnIndex=e._isCheckboxColumnHidden()?u-1:u-2,e._getDropHintPositions(),a.onColumnDragStart&&a.onColumnDragStart(!0);else if(s&&e._draggedColumnIndex>=0&&(e._resetDropHints(),e._draggedColumnIndex=-1,e._dropHintDetails={},a.onColumnDragEnd)){var d=e._isEventOnHeader(s);a.onColumnDragEnd({dropLocation:d},s)}},e._getDropHintPositions=function(){for(var o=e.props.columns,s=o===void 0?yr:o,a=e._getColumnReorderProps(),u=0,d=0,f,m=a.frozenColumnCountFromStart||0,h=a.frozenColumnCountFromEnd||0,g=m;g<s.length-h+1;g++)if(e._rootElement.current){var y=e._rootElement.current.querySelectorAll("#columnDropHint_"+g)[0];if(y)if(g===m)u=y.offsetLeft,d=y.offsetLeft,f=y;else{var C=(y.offsetLeft+u)/2;e._dropHintDetails[g-1]={originX:u,startX:d,endX:C,dropHintElementRef:f},d=C,f=y,u=y.offsetLeft,g===s.length-h&&(e._dropHintDetails[g]={originX:u,startX:d,endX:y.offsetLeft,dropHintElementRef:f})}}},e._computeDropHintToBeShown=function(o){var s=ht(e.props.theme);if(e._rootElement.current){var a=e._rootElement.current.getBoundingClientRect(),u=a.left,d=o-u,f=e._currentDropHintIndex;if(e._isValidCurrentDropHintIndex()&&tc(s,d,e._dropHintDetails[f].startX,e._dropHintDetails[f].endX))return;var m=e.props.columns,h=m===void 0?yr:m,g=e._getColumnReorderProps(),y=g.frozenColumnCountFromStart||0,C=g.frozenColumnCountFromEnd||0,x=y,b=h.length-C,S=-1;if(Iy(s,d,e._dropHintDetails[x].endX)?S=x:Fy(s,d,e._dropHintDetails[b].startX)?S=b:e._isValidCurrentDropHintIndex()&&(e._dropHintDetails[f+1]&&tc(s,d,e._dropHintDetails[f+1].startX,e._dropHintDetails[f+1].endX)?S=f+1:e._dropHintDetails[f-1]&&tc(s,d,e._dropHintDetails[f-1].startX,e._dropHintDetails[f-1].endX)&&(S=f-1)),S===-1)for(var F=y,D=b;F<D;){var A=Math.ceil((D+F)/2);if(tc(s,d,e._dropHintDetails[A].startX,e._dropHintDetails[A].endX)){S=A;break}else Iy(s,d,e._dropHintDetails[A].originX)?D=A:Fy(s,d,e._dropHintDetails[A].originX)&&(F=A)}S===e._draggedColumnIndex||S===e._draggedColumnIndex+1?e._isValidCurrentDropHintIndex()&&e._resetDropHints():f!==S&&S>=0&&(e._resetDropHints(),e._updateDropHintElement(e._dropHintDetails[S].dropHintElementRef,"inline-block"),e._currentDropHintIndex=S)}},e._renderColumnSizer=function(o){var s,a=o.columnIndex,u=e.props.columns,d=u===void 0?yr:u,f=d[a],m=e.state.columnResizeDetails,h=e._classNames;return f.isResizable?_.createElement("div",{key:f.key+"_sizer","aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:oA,"data-sizer-index":a,onBlur:e._onSizerBlur,className:Et(h.cellSizer,a<d.length-1?h.cellSizerStart:h.cellSizerEnd,(s={},s[h.cellIsResizing]=m&&m.columnIndex===a,s)),onDoubleClick:e._onSizerDoubleClick.bind(e,a)}):null},e._onRenderColumnHeaderTooltip=function(o){return _.createElement("span",{className:o.hostClassName},o.children)},e._onSelectAllClicked=function(){var o=e.props.selection;o&&o.toggleAllSelected()},e._onRootMouseDown=function(o){var s=o.target.getAttribute("data-sizer-index"),a=Number(s),u=e.props.columns,d=u===void 0?yr:u;s===null||o.button!==tA||(e.setState({columnResizeDetails:{columnIndex:a,columnMinWidth:d[a].calculatedWidth,originX:o.clientX}}),o.preventDefault(),o.stopPropagation())},e._onRootMouseMove=function(o){var s=e.state,a=s.columnResizeDetails,u=s.isSizing;a&&!u&&o.clientX!==a.originX&&e.setState({isSizing:!0})},e._onRootKeyDown=function(o){var s=e.state,a=s.columnResizeDetails,u=s.isSizing,d=e.props,f=d.columns,m=f===void 0?yr:f,h=d.onColumnResized,g=o.target.getAttribute("data-sizer-index");if(!(!g||u)){var y=Number(g);if(!a)o.which===he.enter&&(e.setState({columnResizeDetails:{columnIndex:y,columnMinWidth:m[y].calculatedWidth}}),o.preventDefault(),o.stopPropagation());else{var C=void 0;o.which===he.enter?(e.setState({columnResizeDetails:void 0}),o.preventDefault(),o.stopPropagation()):o.which===he.left?C=ht(e.props.theme)?1:-1:o.which===he.right&&(C=ht(e.props.theme)?-1:1),C&&(o.shiftKey||(C*=10),e.setState({columnResizeDetails:k(k({},a),{columnMinWidth:a.columnMinWidth+C})}),h&&h(m[y],a.columnMinWidth+C,y),o.preventDefault(),o.stopPropagation())}}},e._onSizerMouseMove=function(o){var s=o.buttons,a=e.props,u=a.onColumnIsSizingChanged,d=a.onColumnResized,f=a.columns,m=f===void 0?yr:f,h=e.state.columnResizeDetails;if(s!==void 0&&s!==nA){e._onSizerMouseUp(o);return}if(o.clientX!==h.originX&&u&&u(m[h.columnIndex],!0),d){var g=o.clientX-h.originX;ht(e.props.theme)&&(g=-g),d(m[h.columnIndex],h.columnMinWidth+g,h.columnIndex)}},e._onSizerBlur=function(o){var s=e.state.columnResizeDetails;s&&e.setState({columnResizeDetails:void 0,isSizing:!1})},e._onSizerMouseUp=function(o){var s=e.props,a=s.columns,u=a===void 0?yr:a,d=s.onColumnIsSizingChanged,f=e.state.columnResizeDetails;e.setState({columnResizeDetails:void 0,isSizing:!1}),d&&d(u[f.columnIndex],!1)},e._onToggleCollapseAll=function(){var o=e.props.onToggleCollapseAll,s=!e.state.isAllCollapsed;e.setState({isAllCollapsed:s}),o&&o(s)},rt(e),e._events=new mt(e),e.state={columnResizeDetails:void 0,isAllCollapsed:e.props.isAllCollapsed,isAllSelected:!!e.props.selection&&e.props.selection.isAllSelected()},e._onDropIndexInfo={sourceIndex:-1,targetIndex:-1},e._id=_t("header"),e._currentDropHintIndex=-1,e._dragDropHelper=new Uh({selection:{getSelection:function(){}},minimumPixelsForDrag:e.props.minimumPixelsForDrag}),e}return r.prototype.componentDidMount=function(){var t=this.props.selection;this._events.on(t,Yc,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())))},r.prototype.componentDidUpdate=function(t){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!==t&&this._onDropIndexInfo.sourceIndex>=0&&this._onDropIndexInfo.targetIndex>=0){var e=t.columns,o=e===void 0?yr:e,s=this.props.columns,a=s===void 0?yr:s;o[this._onDropIndexInfo.sourceIndex].key===a[this._onDropIndexInfo.targetIndex].key&&(this._onDropIndexInfo={sourceIndex:-1,targetIndex:-1})}this.props.isAllCollapsed!==t.isAllCollapsed&&this.setState({isAllCollapsed:this.props.isAllCollapsed})},r.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},r.prototype.render=function(){var t=this,e=this.props,o=e.columns,s=o===void 0?yr:o,a=e.ariaLabel,u=e.ariaLabelForToggleAllGroupsButton,d=e.ariaLabelForSelectAllCheckbox,f=e.selectAllVisibility,m=e.ariaLabelForSelectionColumn,h=e.indentWidth,g=e.onColumnClick,y=e.onColumnContextMenu,C=e.onRenderColumnHeaderTooltip,x=C===void 0?this._onRenderColumnHeaderTooltip:C,b=e.styles,S=e.selectionMode,F=e.theme,D=e.onRenderDetailsCheckbox,A=e.groupNestingDepth,L=e.useFastIcons,j=e.checkboxVisibility,M=e.className,R=this.state,P=R.isAllSelected,W=R.columnResizeDetails,Q=R.isSizing,K=R.isAllCollapsed,J=f!==Cr.none,ne=f===Cr.hidden,ie=j===sr.always,fe=this._getColumnReorderProps(),B=fe&&fe.frozenColumnCountFromStart?fe.frozenColumnCountFromStart:0,Z=fe&&fe.frozenColumnCountFromEnd?fe.frozenColumnCountFromEnd:0;this._classNames=eA(b,{theme:F,isAllSelected:P,isSelectAllHidden:f===Cr.hidden,isResizingColumn:!!W&&Q,isSizing:Q,isAllCollapsed:K,isCheckboxHidden:ne,className:M});var se=this._classNames,le=L?pn:Ke,z=ht(F);return _.createElement(Vi,{role:"row","aria-label":a,className:se.root,componentRef:this._rootComponent,elementRef:this._rootElement,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:Kt.horizontal},J?[_.createElement("div",{key:"__checkbox",className:se.cellIsCheck,"aria-labelledby":this._id+"-check",onClick:ne?void 0:this._onSelectAllClicked,"aria-colindex":1,role:"columnheader"},x({hostClassName:se.checkTooltip,id:this._id+"-checkTooltip",setAriaDescribedBy:!1,content:d,children:_.createElement(W0,{id:this._id+"-check","aria-label":S===He.multiple?d:m,"data-is-focusable":!ne||void 0,isHeader:!0,selected:P,anySelected:!1,canSelect:!ne,className:se.check,onRenderDetailsCheckbox:D,useFastIcons:L,isVisible:ie})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:d&&!ne?_.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:se.accessibleLabel,"aria-hidden":!0},d):m&&ne?_.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:se.accessibleLabel,"aria-hidden":!0},m):null]:null,A>0&&this.props.collapseAllVisibility===Cl.visible?_.createElement("div",{className:se.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":u,"aria-expanded":!K,role:"columnheader"},_.createElement(le,{className:se.collapseButton,iconName:z?"ChevronLeftMed":"ChevronRightMed"})):null,_.createElement(Gs,{indentWidth:h,role:"gridcell",count:A-1}),s.map(function(q,X){var me=fe?X>=B&&X<s.length-Z:!1;return[fe&&(me||X===s.length-Z)&&t._renderDropHint(X),_.createElement(JT,{column:q,styles:q.styles,key:q.key,columnIndex:(J?2:1)+X,parentId:t._id,isDraggable:me,updateDragInfo:t._updateDragInfo,dragDropHelper:t._dragDropHelper,onColumnClick:g,onColumnContextMenu:y,onRenderColumnHeaderTooltip:t.props.onRenderColumnHeaderTooltip,isDropped:t._onDropIndexInfo.targetIndex===X,cellStyleProps:t.props.cellStyleProps,useFastIcons:L}),t._renderColumnDivider(X)]}),fe&&Z===0&&this._renderDropHint(s.length),Q&&_.createElement(Gi,null,_.createElement("div",{className:se.sizingOverlay,onMouseMove:this._onSizerMouseMove,onMouseUp:this._onSizerMouseUp})))},r.prototype.focus=function(){var t;return!!(!((t=this._rootComponent.current)===null||t===void 0)&&t.focus())},r.prototype._getColumnReorderProps=function(){var t=this.props,e=t.columnReorderOptions,o=t.columnReorderProps;return o||e&&k(k({},e),{onColumnDragEnd:void 0})},r.prototype._getHeaderDragDropOptions=function(){var t={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};return t},r.prototype._isValidCurrentDropHintIndex=function(){return this._currentDropHintIndex>=0},r.prototype._isCheckboxColumnHidden=function(){var t=this.props,e=t.selectionMode,o=t.checkboxVisibility;return e===He.none||o===sr.hidden},r.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},r.prototype._updateDropHintElement=function(t,e){t.childNodes[1].style.display=e,t.childNodes[0].style.display=e},r.prototype._isEventOnHeader=function(t){if(this._rootElement.current){var e=this._rootElement.current.getBoundingClientRect();if(t.clientX>e.left&&t.clientX<e.right&&t.clientY>e.top&&t.clientY<e.bottom)return Ls.header}},r.prototype._renderColumnDivider=function(t){var e=this.props.columns,o=e===void 0?yr:e,s=o[t],a=s.onRenderDivider;return a?a({column:s,columnIndex:t},this._renderColumnSizer):this._renderColumnSizer({column:s,columnIndex:t})},r.prototype._renderDropHint=function(t){var e=this._classNames,o=this.props.useFastIcons?pn:Ke;return _.createElement("div",{key:"dropHintKey",className:e.dropHintStyle,id:"columnDropHint_"+t},_.createElement("div",{role:"presentation",key:"dropHintCircleKey",className:e.dropHintCaretStyle,"data-is-focusable":!1,"data-sizer-index":t,"aria-hidden":!0},_.createElement(o,{iconName:"CircleShapeSolid"})),_.createElement("div",{key:"dropHintLineKey","aria-hidden":!0,"data-is-focusable":!1,"data-sizer-index":t,className:e.dropHintLineStyle}))},r.prototype._onSizerDoubleClick=function(t,e){var o=this.props,s=o.onColumnAutoResized,a=o.columns,u=a===void 0?yr:a;s&&s(u[t],t)},r.prototype._onSelectionChanged=function(){var t=!!this.props.selection&&this.props.selection.isAllSelected();this.state.isAllSelected!==t&&this.setState({isAllSelected:t})},r.defaultProps={selectAllVisibility:Cr.visible,collapseAllVisibility:Cl.visible,useFastIcons:!0},r})(_.Component);function tc(n,r,t,e){return n?r<=t&&r>=e:r>=t&&r<=e}function Iy(n,r,t){return n?r>=t:r<=t}function Fy(n,r,t){return n?r<=t:r>=t}function oA(n){n.stopPropagation()}var iA=Fe(rA,lT,void 0,{scope:"DetailsHeader"}),sA=function(n,r){var t=n&&r&&r.fieldName?n[r.fieldName]:"";return t==null&&(t=""),typeof t=="boolean"?t.toString():t},aA=function(n){var r=n.columns,t=n.columnStartIndex,e=n.rowClassNames,o=n.cellStyleProps,s=o===void 0?lo:o,a=n.item,u=n.itemIndex,d=n.onRenderItemColumn,f=n.getCellValueKey,m=n.cellsByColumn,h=n.enableUpdateAnimations,g=n.rowHeaderId,y=_.useRef(),C=y.current||(y.current={});return _.createElement("div",{className:e.fields,"data-automationid":"DetailsRowFields",role:"presentation"},r.map(function(x,b){var S=typeof x.calculatedWidth>"u"?"auto":x.calculatedWidth+s.cellLeftPadding+s.cellRightPadding+(x.isPadded?s.cellExtraRightPadding:0),F=x.onRender,D=F===void 0?d:F,A=x.getValueKey,L=A===void 0?f:A,j=m&&x.key in m?m[x.key]:D?D(a,u,x):sA(a,x),M=C[x.key],R=h&&L?L(a,u,x):void 0,P=!1;R!==void 0&&M!==void 0&&R!==M&&(P=!0),C[x.key]=R;var W=""+x.key+(R!==void 0?"-"+R:"");return _.createElement("div",{key:W,id:x.isRowHeader?g:void 0,role:x.isRowHeader?"rowheader":"gridcell","aria-readonly":!0,"aria-colindex":b+t+1,className:Et(x.className,x.isMultiline&&e.isMultiline,x.isRowHeader&&e.isRowHeader,e.cell,x.isPadded?e.cellPadded:e.cellUnpadded,P&&e.cellAnimation),style:{width:S},"data-automationid":"DetailsRowCell","data-automation-key":x.key},j)}))},lA=ke(),uA="is-dropping",Dy=[],cA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._root=_.createRef(),e._cellMeasurer=_.createRef(),e._focusZone=_.createRef(),e._onSelectionChanged=function(){var o=nc(e.props);so(o,e.state.selectionState)||e.setState({selectionState:o})},e._updateDroppingState=function(o,s){var a=e.state.isDropping,u=e.props,d=u.dragDropEvents,f=u.item;o?d.onDragEnter&&(e._droppingClassNames=d.onDragEnter(f,s)):d.onDragLeave&&d.onDragLeave(f,s),a!==o&&e.setState({isDropping:o})},rt(e),e._events=new mt(e),e.state={selectionState:nc(t),columnMeasureInfo:void 0,isDropping:!1},e._droppingClassNames="",e}return r.getDerivedStateFromProps=function(t,e){return k(k({},e),{selectionState:nc(t)})},r.prototype.componentDidMount=function(){var t=this.props,e=t.dragDropHelper,o=t.selection,s=t.item,a=t.onDidMount;e&&this._root.current&&(this._dragDropSubscription=e.subscribe(this._root.current,this._events,this._getRowDragDropOptions())),o&&this._events.on(o,Yc,this._onSelectionChanged),a&&s&&(this._onDidMountCalled=!0,a(this))},r.prototype.componentDidUpdate=function(t){var e=this.state,o=this.props,s=o.item,a=o.onDidMount,u=e.columnMeasureInfo;if((this.props.itemIndex!==t.itemIndex||this.props.item!==t.item||this.props.dragDropHelper!==t.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()))),u&&u.index>=0&&this._cellMeasurer.current){var d=this._cellMeasurer.current.getBoundingClientRect().width;u.onMeasureDone(d),this.setState({columnMeasureInfo:void 0})}s&&a&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,a(this))},r.prototype.componentWillUnmount=function(){var t=this.props,e=t.item,o=t.onWillUnmount;o&&e&&o(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},r.prototype.shouldComponentUpdate=function(t,e){if(this.props.useReducedRowRenderer){var o=nc(t);return this.state.selectionState.isSelected!==o.isSelected?!0:!so(this.props,t)}else return!0},r.prototype.render=function(){var t=this.props,e=t.className,o=t.columns,s=o===void 0?Dy:o,a=t.dragDropEvents,u=t.item,d=t.itemIndex,f=t.flatIndexOffset,m=f===void 0?2:f,h=t.id,g=t.onRenderCheck,y=g===void 0?this._onRenderCheck:g,C=t.onRenderDetailsCheckbox,x=t.onRenderItemColumn,b=t.getCellValueKey,S=t.selectionMode,F=t.rowWidth,D=F===void 0?0:F,A=t.checkboxVisibility,L=t.getRowAriaLabel,j=t.getRowAriaDescription,M=t.getRowAriaDescribedBy,R=t.checkButtonAriaLabel,P=t.checkboxCellClassName,W=t.rowFieldsAs,Q=W===void 0?aA:W,K=t.selection,J=t.indentWidth,ne=t.enableUpdateAnimations,ie=t.compact,fe=t.theme,B=t.styles,Z=t.cellsByColumn,se=t.groupNestingDepth,le=t.useFastIcons,z=le===void 0?!0:le,q=t.cellStyleProps,X=t.disabled,me=X===void 0?!1:X,pe=t.group,De=this.state,Te=De.columnMeasureInfo,ct=De.isDropping,Ae=this.state.selectionState,Mt=Ae.isSelected,ot=Mt===void 0?!1:Mt,Rt=Ae.isSelectionModal,Ut=Rt===void 0?!1:Rt,Yt=a?!!(a.canDrag&&a.canDrag(u)):void 0,$t=ct?this._droppingClassNames||uA:"",hn=L?L(u):void 0,kt=j?j(u):void 0,bt=M?M(u):void 0,It=!!K&&K.canSelectItem(u,d)&&!me,Eo=S===He.multiple,Fr=S!==He.none&&A!==sr.hidden,uo=S===He.none?void 0:ot,yn=pe?d-pe.startIndex+1:void 0,li=pe?pe.count:void 0;this._classNames=k(k({},this._classNames),lA(B,{theme:fe,isSelected:ot,canSelect:!Eo,anySelected:Ut,checkboxCellClassName:P,droppingClassName:$t,className:e,compact:ie,enableUpdateAnimations:ne,cellStyleProps:q,disabled:me}));var Rn={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};so(this._rowClassNames||{},Rn)||(this._rowClassNames=Rn);var fn=_.createElement(Q,{rowClassNames:this._rowClassNames,rowHeaderId:h+"-header",cellsByColumn:Z,columns:s,item:u,itemIndex:d,columnStartIndex:(Fr?1:0)+(se?1:0),onRenderItemColumn:x,getCellValueKey:b,enableUpdateAnimations:ne,cellStyleProps:q}),co="row",Kn=this.props.role?this.props.role:co;return this._ariaRowDescriptionId=_t("DetailsRow-description"),_.createElement(Vi,k({"data-is-focusable":!0},qe(this.props,en),typeof Yt=="boolean"?{"data-is-draggable":Yt,draggable:Yt}:{},{direction:Kt.horizontal,elementRef:this._root,componentRef:this._focusZone,role:Kn,"aria-label":hn,"aria-disabled":me||void 0,"aria-describedby":kt?this._ariaRowDescriptionId:bt,className:this._classNames.root,"data-selection-index":d,"data-selection-touch-invoke":!0,"data-selection-disabled":me||void 0,"data-item-index":d,"aria-rowindex":yn===void 0?d+m:void 0,"aria-level":se&&se+1||void 0,"aria-posinset":yn,"aria-setsize":li,"data-automationid":"DetailsRow",style:{minWidth:D},"aria-selected":uo,allowFocusRoot:!0}),kt?_.createElement("span",{key:"description",role:"presentation",hidden:!0,id:this._ariaRowDescriptionId},kt):null,Fr&&_.createElement("div",{role:"gridcell","aria-colindex":1,"data-selection-toggle":!0,className:this._classNames.checkCell},y({id:h?h+"-checkbox":void 0,selected:ot,anySelected:Ut,"aria-label":R,"aria-labelledby":h?h+"-checkbox "+h+"-header":void 0,canSelect:It,compact:ie,className:this._classNames.check,theme:fe,isVisible:A===sr.always,onRenderDetailsCheckbox:C,useFastIcons:z})),_.createElement(Gs,{indentWidth:J,role:"gridcell",count:se-(this.props.collapseAllVisibility===Cl.hidden?1:0)}),u&&fn,Te&&_.createElement("span",{role:"presentation",className:Et(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},_.createElement(Q,{rowClassNames:this._rowClassNames,rowHeaderId:h+"-header",columns:[Te.column],item:u,itemIndex:d,columnStartIndex:(Fr?1:0)+(se?1:0)+s.length,onRenderItemColumn:x,getCellValueKey:b})),_.createElement("span",{role:"checkbox",className:this._classNames.checkCover,"aria-checked":ot,"data-selection-toggle":!0}))},r.prototype.measureCell=function(t,e){var o=this.props.columns,s=o===void 0?Dy:o,a=k({},s[t]);a.minWidth=0,a.maxWidth=999999,delete a.calculatedWidth,this.setState({columnMeasureInfo:{index:t,column:a,onMeasureDone:e}})},r.prototype.focus=function(t){t===void 0&&(t=!1);var e;return!!(!((e=this._focusZone.current)===null||e===void 0)&&e.focus(t))},r.prototype._onRenderCheck=function(t){return _.createElement(W0,k({},t))},r.prototype._getRowDragDropOptions=function(){var t=this.props,e=t.item,o=t.itemIndex,s=t.dragDropEvents,a=t.eventsToRegister,u={eventMap:a,selectionIndex:o,context:{data:e,index:o},canDrag:s.canDrag,canDrop:s.canDrop,onDragStart:s.onDragStart,updateDropState:this._updateDroppingState,onDrop:s.onDrop,onDragEnd:s.onDragEnd,onDragOver:s.onDragOver};return u},r})(_.Component);function nc(n){var r,t,e,o,s=n.itemIndex,a=n.selection;return{isSelected:!!(!((r=a)===null||r===void 0)&&r.isIndexSelected(s)),isSelectionModal:!!(!((o=(t=a)===null||t===void 0?void 0:(e=t).isModal)===null||o===void 0)&&o.call(e))}}var dA=Fe(cA,aT,void 0,{scope:"DetailsRow"}),pA=ke(),Zo=100,hA=2,fA=2,mA=function(n){var r,t=n.selection,e=n.ariaLabelForListHeader,o=n.ariaLabelForSelectAllCheckbox,s=n.ariaLabelForSelectionColumn,a=n.className,u=n.checkboxVisibility,d=n.compact,f=n.constrainMode,m=n.dragDropEvents,h=n.groups,g=n.groupProps,y=n.indentWidth,C=n.items,x=n.isPlaceholderData,b=n.isHeaderVisible,S=n.layoutMode,F=n.onItemInvoked,D=n.onItemContextMenu,A=n.onColumnHeaderClick,L=n.onColumnHeaderContextMenu,j=n.selectionMode,M=j===void 0?t.mode:j,R=n.selectionPreservedOnEmptyClick,P=n.selectionZoneProps,W=n.ariaLabel,Q=n.ariaLabelForGrid,K=n.rowElementEventMap,J=n.shouldApplyApplicationRole,ne=J===void 0?!1:J,ie=n.getKey,fe=n.listProps,B=n.usePageCache,Z=n.onShouldVirtualize,se=n.viewport,le=n.minimumPixelsForDrag,z=n.getGroupHeight,q=n.styles,X=n.theme,me=n.cellStyleProps,pe=me===void 0?lo:me,De=n.onRenderCheckbox,Te=n.useFastIcons,ct=n.dragDropHelper,Ae=n.adjustedColumns,Mt=n.isCollapsed,ot=n.isSizing,Rt=n.isSomeGroupExpanded,Ut=n.version,Yt=n.rootRef,$t=n.listRef,hn=n.focusZoneRef,kt=n.columnReorderOptions,bt=n.groupedListRef,It=n.headerRef,Eo=n.onGroupExpandStateChanged,Fr=n.onColumnIsSizingChanged,uo=n.onRowDidMount,yn=n.onRowWillUnmount,li=n.disableSelectionZone,Rn=n.isSelectedOnFocus,fn=Rn===void 0?!0:Rn,co=n.onColumnResized,Kn=n.onColumnAutoResized,ui=n.onToggleCollapse,Ki=n.onActiveRowChanged,ee=n.onBlur,G=n.rowElementEventMap,Ce=n.onRenderMissingItem,ut=n.onRenderItemColumn,Ft=n.getCellValueKey,Vr=n.getRowAriaLabel,ko=n.getRowAriaDescribedBy,Ll=n.checkButtonAriaLabel,Xs=n.checkButtonGroupAriaLabel,Qs=n.checkboxCellClassName,Bl=n.useReducedRowRenderer,$i=n.enableUpdateAnimations,Js=n.enterModalSelectionOnTouch,ci=n.onRenderDefaultRow,ea=n.selectionZoneRef,Kr="grid",pr=n.role?n.role:Kr,ta=_t("row"),$r=yA(h),Dr=_A(h),qi=_.useMemo(function(){return k({renderedWindowsAhead:ot?0:hA,renderedWindowsBehind:ot?0:fA,getKey:ie,version:Ut},fe)},[ot,ie,Ut,fe]),Io=Cr.none;if(M===He.single&&(Io=Cr.hidden),M===He.multiple){var di=g&&g.headerProps&&g.headerProps.isCollapsedGroupSelectVisible;di===void 0&&(di=!0);var jl=di||!h||Rt;Io=jl?Cr.visible:Cr.hidden}u===sr.hidden&&(Io=Cr.none);var Tr=_.useCallback(function(Ve){return _.createElement(iA,k({},Ve))},[]),pi=_.useCallback(function(){return null},[]),hi=n.onRenderDetailsHeader,Ol=_.useMemo(function(){return hi?ir(hi,Tr):Tr},[hi,Tr]),po=n.onRenderDetailsFooter,na=_.useMemo(function(){return po?ir(po,pi):pi},[po,pi]),fi=_.useMemo(function(){return{columns:Ae,groupNestingDepth:$r,selection:t,selectionMode:M,viewport:se,checkboxVisibility:u,indentWidth:y,cellStyleProps:pe}},[Ae,$r,t,M,se,u,y,pe]),ra=kt&&kt.onDragEnd,Fo=_.useCallback(function(Ve,Ct){var dt=Ve.dropLocation,qt=Ls.outside;if(ra){if(dt&&dt!==Ls.header)qt=dt;else if(Yt.current){var qn=Yt.current.getBoundingClientRect();Ct.clientX>qn.left&&Ct.clientX<qn.right&&Ct.clientY>qn.top&&Ct.clientY<qn.bottom&&(qt=Ls.surface)}ra(qt)}},[ra,Yt]),Yi=_.useMemo(function(){if(kt)return k(k({},kt),{onColumnDragEnd:Fo})},[kt,Fo]),Zi=(b?1:0)+HT(h)+(C?C.length:0),oa=(Io!==Cr.none?1:0)+(Ae?Ae.length:0)+(h?1:0),Xi=_.useMemo(function(){return pA(q,{theme:X,compact:d,isFixed:S===Us.fixedColumns,isHorizontalConstrained:f===Nc.horizontalConstrained,className:a})},[q,X,d,S,f,a]),ia=g&&g.onRenderFooter,Hl=_.useMemo(function(){return ia?function(Ve,Ct){return ia(k(k({},Ve),{columns:Ae,groupNestingDepth:$r,indentWidth:y,selection:t,selectionMode:M,viewport:se,checkboxVisibility:u,cellStyleProps:pe}),Ct)}:void 0},[ia,Ae,$r,y,t,M,se,u,pe]),Ar=g&&g.onRenderHeader,sa=_.useMemo(function(){return Ar?function(Ve,Ct){var dt=Ve.groupIndex,qt=h&&dt!==void 0&&h[dt]!==void 0?h[dt].key:void 0,qn=qt!==void 0&&Dr[qt]?Dr[qt].totalRowCount:0;return Ar(k(k({},Ve),{columns:Ae,groupNestingDepth:$r,indentWidth:y,selection:t,selectionMode:u!==sr.hidden?M:He.none,viewport:se,checkboxVisibility:u,cellStyleProps:pe,ariaColSpan:Ae.length,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:dt!==void 0?qn+(b?1:0):void 0}),Ct)}:function(Ve,Ct){var dt=Ve.groupIndex,qt=h&&dt!==void 0&&h[dt]!==void 0?h[dt].key:void 0,qn=qt!==void 0&&Dr[qt]?Dr[qt].totalRowCount:0;return Ct(k(k({},Ve),{ariaColSpan:Ae.length,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:dt!==void 0?qn+(b?1:0):void 0}))}},[Ar,Ae,h,$r,y,b,t,M,se,u,pe,Dr]),Wl=_.useMemo(function(){var Ve,Ct,dt;return k(k({},g),{role:pr===Kr?"rowgroup":"presentation",onRenderFooter:Hl,onRenderHeader:sa,headerProps:k(k({},(Ve=g)===null||Ve===void 0?void 0:Ve.headerProps),{selectAllButtonProps:k({"aria-label":Xs},(dt=(Ct=g)===null||Ct===void 0?void 0:Ct.headerProps)===null||dt===void 0?void 0:dt.selectAllButtonProps)})})},[g,Hl,sa,Xs,pr]),aa=w0(function(){return st(function(Ve){var Ct=0;return Ve.forEach(function(dt){return Ct+=dt.calculatedWidth||dt.minWidth}),Ct})}),la=g&&g.collapseAllVisibility,ua=_.useMemo(function(){return aa(Ae)},[Ae,aa]),Qi=_.useCallback(function(Ve,Ct,dt,qt){var qn=n.onRenderRow?ir(n.onRenderRow,ci):ci,mi=qt?qt.key:void 0,Ul=mi&&Dr[mi]?Dr[mi].numOfGroupHeadersBeforeItem:0,gi=pr===Kr?void 0:"presentation",Gl={item:Ct,itemIndex:dt,flatIndexOffset:(b?2:1)+Ul,compact:d,columns:Ae,groupNestingDepth:Ve,id:ta+"-"+dt,selectionMode:M,selection:t,onDidMount:uo,onWillUnmount:yn,onRenderItemColumn:ut,getCellValueKey:Ft,eventsToRegister:G,dragDropEvents:m,dragDropHelper:ct,viewport:se,checkboxVisibility:u,collapseAllVisibility:la,getRowAriaLabel:Vr,getRowAriaDescribedBy:ko,checkButtonAriaLabel:Ll,checkboxCellClassName:Qs,useReducedRowRenderer:Bl,indentWidth:y,cellStyleProps:pe,onRenderDetailsCheckbox:De,enableUpdateAnimations:$i,rowWidth:ua,useFastIcons:Te,role:gi};return Ct?qn(Gl):Ce?Ce(dt,Gl):null},[d,Ae,M,t,ta,uo,yn,ut,Ft,G,m,ct,se,u,la,Vr,ko,b,Ll,Qs,Bl,y,pe,De,$i,Te,ci,Ce,n.onRenderRow,ua,pr,Dr]),ca=_.useCallback(function(Ve){return function(Ct,dt){return Qi(Ve,Ct,dt)}},[Qi]),zl=_.useCallback(function(Ve){return Ve.which===Fc(he.right,X)},[X]),da={componentRef:hn,className:Xi.focusZone,direction:Kt.vertical,shouldEnterInnerZone:zl,onActiveElementChanged:Ki,shouldRaiseClicks:!1,onBlur:ee},pa=h&&(!((r=g)===null||r===void 0)&&r.groupedListAs)?K_(g.groupedListAs,wy):wy,$n=h?_.createElement(pa,{focusZoneProps:da,componentRef:bt,groups:h,groupProps:Wl,items:C,onRenderCell:Qi,role:"presentation",selection:t,selectionMode:u!==sr.hidden?M:He.none,dragDropEvents:m,dragDropHelper:ct,eventsToRegister:K,listProps:qi,onGroupExpandStateChanged:Eo,usePageCache:B,onShouldVirtualize:Z,getGroupHeight:z,compact:d}):_.createElement(Vi,k({},da),_.createElement(bl,k({ref:$t,role:"presentation",items:C,onRenderCell:ca(0),usePageCache:B,onShouldVirtualize:Z},qi))),qr=_.useCallback(function(Ve){Ve.which===he.down&&hn.current&&hn.current.focus()&&(fn&&t.getSelectedIndices().length===0&&t.setIndexSelected(0,!0,!1),Ve.preventDefault(),Ve.stopPropagation())},[t,hn,fn]),Yr=_.useCallback(function(Ve){Ve.which===he.up&&!Ve.altKey&&It.current&&It.current.focus()&&(Ve.preventDefault(),Ve.stopPropagation())},[It]);return _.createElement("div",k({ref:Yt,className:Xi.root,"data-automationid":"DetailsList","data-is-scrollable":"false","aria-label":W},ne?{role:"application"}:{}),_.createElement(qs,null),_.createElement("div",{role:pr,"aria-label":Q,"aria-rowcount":x?-1:Zi,"aria-colcount":oa,"aria-readonly":"true","aria-busy":x},_.createElement("div",{onKeyDown:qr,role:"presentation",className:Xi.headerWrapper},b&&Ol({componentRef:It,selectionMode:M,layoutMode:S,selection:t,columns:Ae,onColumnClick:A,onColumnContextMenu:L,onColumnResized:co,onColumnIsSizingChanged:Fr,onColumnAutoResized:Kn,groupNestingDepth:$r,isAllCollapsed:Mt,onToggleCollapseAll:ui,ariaLabel:e,ariaLabelForSelectAllCheckbox:o,ariaLabelForSelectionColumn:s,selectAllVisibility:Io,collapseAllVisibility:g&&g.collapseAllVisibility,viewport:se,columnReorderProps:Yi,minimumPixelsForDrag:le,cellStyleProps:pe,checkboxVisibility:u,indentWidth:y,onRenderDetailsCheckbox:De,rowWidth:aa(Ae),useFastIcons:Te},Ol)),_.createElement("div",{onKeyDown:Yr,role:"presentation",className:Xi.contentWrapper},li?$n:_.createElement(tT,k({ref:ea,selection:t,selectionPreservedOnEmptyClick:R,selectionMode:M,isSelectedOnFocus:fn,selectionClearedOnEscapePress:fn,toggleWithoutModifierPressed:!fn,onItemInvoked:F,onItemContextMenu:D,enterModalOnTouch:Js},P||{}),$n)),na(k({},fi))))},gA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._root=_.createRef(),e._header=_.createRef(),e._groupedList=_.createRef(),e._list=_.createRef(),e._focusZone=_.createRef(),e._selectionZone=_.createRef(),e._onRenderRow=function(o,s){return _.createElement(dA,k({},o))},e._getDerivedStateFromProps=function(o,s){var a=e.props,u=a.checkboxVisibility,d=a.items,f=a.setKey,m=a.selectionMode,h=m===void 0?e._selection.mode:m,g=a.columns,y=a.viewport,C=a.compact,x=a.dragDropEvents,b=(e.props.groupProps||{}).isAllGroupsCollapsed,S=b===void 0?void 0:b,F=o.viewport&&o.viewport.width||0,D=y&&y.width||0,A=o.setKey!==f||o.setKey===void 0,L=!1;o.layoutMode!==e.props.layoutMode&&(L=!0);var j=s;return A&&(e._initialFocusedIndex=o.initialFocusedIndex,j=k(k({},j),{focusedItemIndex:e._initialFocusedIndex!==void 0?e._initialFocusedIndex:-1})),!e.props.disableSelectionZone&&o.items!==d&&e._selection.setItems(o.items,A),(o.checkboxVisibility!==u||o.columns!==g||F!==D||o.compact!==C)&&(L=!0),j=k(k({},j),e._adjustColumns(o,j,!0)),o.selectionMode!==h&&(L=!0),S===void 0&&o.groupProps&&o.groupProps.isAllGroupsCollapsed!==void 0&&(j=k(k({},j),{isCollapsed:o.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!o.groupProps.isAllGroupsCollapsed})),o.dragDropEvents!==x&&(e._dragDropHelper&&e._dragDropHelper.dispose(),e._dragDropHelper=o.dragDropEvents?new Uh({selection:e._selection,minimumPixelsForDrag:o.minimumPixelsForDrag}):void 0,L=!0),L&&(j=k(k({},j),{version:{}})),j},e._onGroupExpandStateChanged=function(o){e.setState({isSomeGroupExpanded:o})},e._onColumnIsSizingChanged=function(o,s){e.setState({isSizing:s})},e._onRowDidMount=function(o){var s=o.props,a=s.item,u=s.itemIndex,d=e._getItemKey(a,u);e._activeRows[d]=o,e._setFocusToRowIfPending(o);var f=e.props.onRowDidMount;f&&f(a,u)},e._onRowWillUnmount=function(o){var s=e.props.onRowWillUnmount,a=o.props,u=a.item,d=a.itemIndex,f=e._getItemKey(u,d);delete e._activeRows[f],s&&s(u,d)},e._onToggleCollapse=function(o){e.setState({isCollapsed:o}),e._groupedList.current&&e._groupedList.current.toggleCollapseAll(o)},e._onColumnResized=function(o,s,a){var u=Math.max(o.minWidth||Zo,s);e.props.onColumnResize&&e.props.onColumnResize(o,u,a),e._rememberCalculatedWidth(o,u),e.setState(k(k({},e._adjustColumns(e.props,e.state,!0,a)),{version:{}}))},e._onColumnAutoResized=function(o,s){var a=0,u=0,d=Object.keys(e._activeRows).length;for(var f in e._activeRows)if(e._activeRows.hasOwnProperty(f)){var m=e._activeRows[f];m.measureCell(s,function(h){a=Math.max(a,h),u++,u===d&&e._onColumnResized(o,a,s)})}},e._onActiveRowChanged=function(o,s){var a=e.props,u=a.items,d=a.onActiveItemChanged;if(o&&o.getAttribute("data-item-index")){var f=Number(o.getAttribute("data-item-index"));f>=0&&(d&&d(u[f],f,s),e.setState({focusedItemIndex:f}))}},e._onBlur=function(o){e.setState({focusedItemIndex:-1})},rt(e),e._async=new tn(e),e._activeRows={},e._columnOverrides={},e.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:e._getAdjustedColumns(t,void 0),isSizing:!1,isCollapsed:t.groupProps&&t.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:t.groupProps&&!t.groupProps.isAllGroupsCollapsed,version:{},getDerivedStateFromProps:e._getDerivedStateFromProps},e._selection=t.selection||new tk({onSelectionChanged:void 0,getKey:t.getKey,selectionMode:t.selectionMode}),e.props.disableSelectionZone||e._selection.setItems(t.items,!1),e._dragDropHelper=t.dragDropEvents?new Uh({selection:e._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,e._initialFocusedIndex=t.initialFocusedIndex,e}return r.getDerivedStateFromProps=function(t,e){return e.getDerivedStateFromProps(t,e)},r.prototype.scrollToIndex=function(t,e,o){this._list.current&&this._list.current.scrollToIndex(t,e,o),this._groupedList.current&&this._groupedList.current.scrollToIndex(t,e,o)},r.prototype.focusIndex=function(t,e,o,s){e===void 0&&(e=!1);var a=this.props.items[t];if(a){this.scrollToIndex(t,o,s);var u=this._getItemKey(a,t),d=this._activeRows[u];d&&this._setFocusToRow(d,e)}},r.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},r.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},r.prototype.componentDidUpdate=function(t,e){if(this._notifyColumnsResized(),this._initialFocusedIndex!==void 0){var o=this.props.items[this._initialFocusedIndex];if(o){var s=this._getItemKey(o,this._initialFocusedIndex),a=this._activeRows[s];a&&this._setFocusToRowIfPending(a)}}if(this.props.items!==t.items&&this.props.items.length>0&&this.state.focusedItemIndex!==-1&&!Pt(this._root.current,document.activeElement,!1)){var u=this.state.focusedItemIndex<this.props.items.length?this.state.focusedItemIndex:this.props.items.length-1,o=this.props.items[u],s=this._getItemKey(o,this.state.focusedItemIndex),a=this._activeRows[s];a?this._setFocusToRow(a):this._initialFocusedIndex=u}this.props.onDidUpdate&&this.props.onDidUpdate(this)},r.prototype.render=function(){return _.createElement(mA,k({},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}))},r.prototype.forceUpdate=function(){n.prototype.forceUpdate.call(this),this._forceListUpdates()},r.prototype._getGroupNestingDepth=function(){for(var t=this.props.groups,e=0,o=t;o&&o.length>0;)e++,o=o[0].children;return e},r.prototype._setFocusToRowIfPending=function(t){var e=t.props.itemIndex;this._initialFocusedIndex!==void 0&&e===this._initialFocusedIndex&&(this._setFocusToRow(t),delete this._initialFocusedIndex)},r.prototype._setFocusToRow=function(t,e){e===void 0&&(e=!1),this._selectionZone.current&&this._selectionZone.current.ignoreNextFocus(),this._async.setTimeout(function(){t.focus(e)},0)},r.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},r.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach(function(t){t.onColumnResize&&t.onColumnResize(t.currentWidth)})},r.prototype._adjustColumns=function(t,e,o,s){var a=this._getAdjustedColumns(t,e,o,s),u=this.props.viewport,d=u&&u.width?u.width:0;return k(k({},e),{adjustedColumns:a,lastWidth:d})},r.prototype._getAdjustedColumns=function(t,e,o,s){var a=this,u=t.items,d=t.layoutMode,f=t.selectionMode,m=t.viewport,h=m&&m.width?m.width:0,g=t.columns,y=this.props?this.props.columns:[],C=e?e.lastWidth:-1,x=e?e.lastSelectionMode:void 0;if(!o&&C===h&&x===f&&(!y||g===y))return g||[];g=g||vA(u,!0);var b;return d===Us.fixedColumns?(b=this._getFixedColumns(g,h,t),b.forEach(function(S){a._rememberCalculatedWidth(S,S.calculatedWidth)})):(b=this._getJustifiedColumns(g,h,t),b.forEach(function(S){a._getColumnOverride(S.key).currentWidth=S.calculatedWidth})),b},r.prototype._getFixedColumns=function(t,e,o){var s=this,a=this.props,u=a.selectionMode,d=u===void 0?this._selection.mode:u,f=a.checkboxVisibility,m=a.flexMargin,h=a.skipViewportMeasures,g=e-(m||0),y=0;t.forEach(function(S){h||!S.flexGrow?g-=S.maxWidth||S.minWidth||Zo:(g-=S.minWidth||Zo,y+=S.flexGrow),g-=rc(S,o,!0)});var C=d!==He.none&&f!==sr.hidden?Lc:0,x=this._getGroupNestingDepth()*xl;g-=C+x;var b=g/y;return h||t.forEach(function(S){var F=k(k({},S),s._columnOverrides[S.key]);if(F.flexGrow&&F.maxWidth){var D=F.flexGrow*b+F.minWidth,A=D-F.maxWidth;A>0&&(g+=A,y-=A/(D-F.minWidth)*F.flexGrow)}}),b=g>0?g/y:0,t.map(function(S){var F=k(k({},S),s._columnOverrides[S.key]);return!h&&F.flexGrow&&g<=0||F.calculatedWidth||(!h&&F.flexGrow?(F.calculatedWidth=F.minWidth+F.flexGrow*b,F.calculatedWidth=Math.min(F.calculatedWidth,F.maxWidth||Number.MAX_VALUE)):F.calculatedWidth=F.maxWidth||F.minWidth||Zo),F})},r.prototype._getJustifiedColumns=function(t,e,o){var s=this,a=o.selectionMode,u=a===void 0?this._selection.mode:a,d=o.checkboxVisibility,f=u!==He.none&&d!==sr.hidden?Lc:0,m=this._getGroupNestingDepth()*xl,h=0,g=0,y=e-(f+m),C=t.map(function(W,Q){var K=k(k({},W),{calculatedWidth:W.minWidth||Zo}),J=k(k({},K),s._columnOverrides[W.key]);return K.isCollapsible||K.isCollapsable||(g+=rc(K,o)),h+=rc(J,o),J});if(g>y)return C;for(var x=C.length-1;x>=0&&h>y;){var b=C[x],S=b.minWidth||Zo,F=h-y;if(b.calculatedWidth-S>=F||!(b.isCollapsible||b.isCollapsable)){var D=b.calculatedWidth;b.calculatedWidth=Math.max(b.calculatedWidth-F,S),h-=D-b.calculatedWidth}else h-=rc(b,o),C.splice(x,1);x--}for(var A=0;A<C.length&&h<y;A++){var b=C[A],L=A===C.length-1,j=this._columnOverrides[b.key];if(!(j&&j.calculatedWidth&&!L)){var M=y-h,R=void 0;if(L)R=M;else{var P=b.maxWidth,S=b.minWidth||P||Zo;R=P?Math.min(M,P-S):M}b.calculatedWidth=b.calculatedWidth+R,h+=R}}return C},r.prototype._rememberCalculatedWidth=function(t,e){var o=this._getColumnOverride(t.key);o.calculatedWidth=e,o.currentWidth=e},r.prototype._getColumnOverride=function(t){return this._columnOverrides[t]=this._columnOverrides[t]||{}},r.prototype._getItemKey=function(t,e){var o=this.props.getKey,s=void 0;return t&&(s=t.key),o&&(s=o(t,e)),s||(s=e),s},r.defaultProps={layoutMode:Us.justified,selectionMode:He.multiple,constrainMode:Nc.horizontalConstrained,checkboxVisibility:sr.onHover,isHeaderVisible:!0,compact:!1,useFastIcons:!0},r=Ir([ZD],r),r})(_.Component);function vA(n,r,t,e,o,s,a){var u=[];if(n&&n.length){var d=n[0];for(var f in d)d.hasOwnProperty(f)&&u.push({key:f,name:f,fieldName:f,minWidth:Zo,maxWidth:300,isCollapsable:!!u.length,isCollapsible:!!u.length,isMultiline:!1,isSorted:e===f,isSortedDescending:!1,isRowHeader:!1,columnActionsMode:Br.clickable,isResizable:r,onColumnClick:t,isGrouped:s===f})}return u}function rc(n,r,t){var e=r.cellStyleProps,o=e===void 0?lo:e;return(t?0:n.calculatedWidth)+o.cellLeftPadding+o.cellRightPadding+(n.isPadded?o.cellExtraRightPadding:0)}function yA(n){for(var r=0,t=n;t&&t.length>0;)r++,t=t[0].children;return r}function _A(n){return _.useMemo(function(){var r={};if(n)for(var t=1,e=1,o=0,s=n;o<s.length;o++){var a=s[o],u=a.key;r[u]={numOfGroupHeadersBeforeItem:e,totalRowCount:t},e++,t+=a.count+1}return r},[n])}var bA={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"},CA=function(n){var r,t,e=n.theme,o=n.className,s=n.isHorizontalConstrained,a=n.compact,u=n.isFixed,d=e.semanticColors,f=ze(bA,e);return{root:[f.root,e.fonts.small,{position:"relative",color:d.listText,selectors:(r={},r["& ."+f.listCell]={minHeight:38,wordBreak:"break-word"},r)},u&&f.isFixed,a&&[f.compact,{selectors:(t={},t["."+f.listCell]={minHeight:32},t)}],s&&[f.isHorizontalConstrained,{overflowX:"auto",overflowY:"visible",WebkitOverflowScrolling:"touch"}],o],focusZone:[{display:"inline-block",minWidth:"100%",minHeight:1}],headerWrapper:f.headerWrapper,contentWrapper:f.contentWrapper}},xA=Fe(gA,CA,void 0,{scope:"DetailsList"}),wA=function(n){var r=n.theme,t=r.palette;return{root:{position:"relative",selectors:{":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,backgroundImage:"linear-gradient(to bottom, transparent 30%, "+t.whiteTranslucent40+" 65%,"+t.white+" 100%)"}}}}},Wr;(function(n){n[n.normal=0]="normal",n[n.largeHeader=1]="largeHeader",n[n.close=2]="close"})(Wr||(Wr={}));var z0=oo.durationValue2,SA={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},EA=function(n){var r,t=n.className,e=n.containerClassName,o=n.scrollableContentClassName,s=n.isOpen,a=n.isVisible,u=n.hasBeenOpened,d=n.modalRectangleTop,f=n.theme,m=n.topOffsetFixed,h=n.isModeless,g=n.layerClassName,y=n.isDefaultDragHandle,C=f.palette,x=f.effects,b=f.fonts,S=ze(SA,f);return{root:[S.root,b.medium,{backgroundColor:"transparent",position:h?"absolute":"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+z0},m&&typeof d=="number"&&u&&{alignItems:"flex-start"},s&&S.isOpen,a&&{opacity:1,pointerEvents:"auto"},t],main:[S.main,{boxShadow:x.elevation64,borderRadius:x.roundedCorner2,backgroundColor:C.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:h?pl.Layer:void 0},m&&typeof d=="number"&&u&&{top:d},y&&{cursor:"move"},e],scrollableContent:[S.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(r={},r["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:window.innerHeight},r)},o],layer:h&&[g,S.layer,{position:"static",width:"unset",height:"unset"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:b.xLargePlus.fontSize,width:"24px"}}},kA=ke(),IA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;rt(e);var o=e.props.allowTouchBodyScroll,s=o===void 0?!1:o;return e._allowTouchBodyScroll=s,e}return r.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&TS()},r.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&AS()},r.prototype.render=function(){var t=this.props,e=t.isDarkThemed,o=t.className,s=t.theme,a=t.styles,u=qe(this.props,en),d=kA(a,{theme:s,className:o,isDark:e});return _.createElement("div",k({},u,{className:d.root}))},r})(_.Component),FA={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},DA=function(n){var r,t=n.className,e=n.theme,o=n.isNone,s=n.isDark,a=e.palette,u=ze(FA,e);return{root:[u.root,e.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(r={},r[re]={border:"1px solid WindowText",opacity:0},r)},o&&{visibility:"hidden"},s&&[u.rootDark,{backgroundColor:a.blackTranslucent40}],t]}},ad=Fe(IA,DA,void 0,{scope:"Overlay"}),TA=st(function(n,r){return{root:Hr(n,r&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}}),Qa={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},AA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._currentEventType=Qa.mouse,e._events=[],e._onMouseDown=function(o){var s=_.Children.only(e.props.children).props.onMouseDown;return s&&s(o),e._currentEventType=Qa.mouse,e._onDragStart(o)},e._onMouseUp=function(o){var s=_.Children.only(e.props.children).props.onMouseUp;return s&&s(o),e._currentEventType=Qa.mouse,e._onDragStop(o)},e._onTouchStart=function(o){var s=_.Children.only(e.props.children).props.onTouchStart;return s&&s(o),e._currentEventType=Qa.touch,e._onDragStart(o)},e._onTouchEnd=function(o){var s=_.Children.only(e.props.children).props.onTouchEnd;s&&s(o),e._currentEventType=Qa.touch,e._onDragStop(o)},e._onDragStart=function(o){if(typeof o.button=="number"&&o.button!==0)return!1;if(!(e.props.handleSelector&&!e._matchesSelector(o.target,e.props.handleSelector)||e.props.preventDragSelector&&e._matchesSelector(o.target,e.props.preventDragSelector))){e._touchId=e._getTouchId(o);var s=e._getControlPosition(o);if(s!==void 0){var a=e._createDragDataFromPosition(s);e.props.onStart&&e.props.onStart(o,a),e.setState({isDragging:!0,lastPosition:s}),e._events=[xr(document.body,e._currentEventType.move,e._onDrag,!0),xr(document.body,e._currentEventType.stop,e._onDragStop,!0)]}}},e._onDrag=function(o){o.type==="touchmove"&&o.preventDefault();var s=e._getControlPosition(o);if(s){var a=e._createUpdatedDragData(e._createDragDataFromPosition(s)),u=a.position;e.props.onDragChange&&e.props.onDragChange(o,a),e.setState({position:u,lastPosition:s})}},e._onDragStop=function(o){if(e.state.isDragging){var s=e._getControlPosition(o);if(s){var a=e._createDragDataFromPosition(s);e.setState({isDragging:!1,lastPosition:void 0}),e.props.onStop&&e.props.onStop(o,a),e.props.position&&e.setState({position:e.props.position}),e._events.forEach(function(u){return u()})}}},e.state={isDragging:!1,position:e.props.position||{x:0,y:0},lastPosition:void 0},e}return r.prototype.componentDidUpdate=function(t){this.props.position&&(!t.position||this.props.position!==t.position)&&this.setState({position:this.props.position})},r.prototype.componentWillUnmount=function(){this._events.forEach(function(t){return t()})},r.prototype.render=function(){var t=_.Children.only(this.props.children),e=t.props,o=this.props.position,s=this.state,a=s.position,u=s.isDragging,d=a.x,f=a.y;return o&&!u&&(d=o.x,f=o.y),_.cloneElement(t,{style:k(k({},e.style),{transform:"translate("+d+"px, "+f+"px)"}),className:TA(e.className,this.state.isDragging).root,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd})},r.prototype._getControlPosition=function(t){var e=this._getActiveTouch(t);if(!(this._touchId!==void 0&&!e)){var o=e||t;return{x:o.clientX,y:o.clientY}}},r.prototype._getActiveTouch=function(t){return t.targetTouches&&this._findTouchInTouchList(t.targetTouches)||t.changedTouches&&this._findTouchInTouchList(t.changedTouches)},r.prototype._getTouchId=function(t){var e=t.targetTouches&&t.targetTouches[0]||t.changedTouches&&t.changedTouches[0];if(e)return e.identifier},r.prototype._matchesSelector=function(t,e){if(!t||t===document.body)return!1;var o=t.matches||t.webkitMatchesSelector||t.msMatchesSelector;return o?o.call(t,e)||this._matchesSelector(t.parentElement,e):!1},r.prototype._findTouchInTouchList=function(t){if(this._touchId!==void 0){for(var e=0;e<t.length;e++)if(t[e].identifier===this._touchId)return t[e]}},r.prototype._createDragDataFromPosition=function(t){var e=this.state.lastPosition;return e===void 0?{delta:{x:0,y:0},lastPosition:t,position:t}:{delta:{x:t.x-e.x,y:t.y-e.y},lastPosition:e,position:t}},r.prototype._createUpdatedDragData=function(t){var e=this.state.position;return{position:{x:e.x+t.delta.x,y:e.y+t.delta.y},delta:t.delta,lastPosition:e}},r})(_.Component),MA={eventBubblingEnabled:!1},PA=ke(),RA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._focusTrapZone=_.createRef(),e._focusTrapZoneMergedRef=cf(),e._registerInitialModalPosition=function(){var a,u=document.querySelector("[data-id="+e.state.id+"]");if(u){var d=u.getBoundingClientRect();!((a=e.props.dragOptions)===null||a===void 0)&&a.keepInBounds&&!e._minClampedPosition&&!e._maxClampedPosition&&(e._minClampedPosition={x:-d.x,y:-d.y},e._maxClampedPosition={x:d.x,y:d.y}),e.setState({modalRectangleTop:d.top})}},e._allowScrollOnModal=function(a){a?e._allowTouchBodyScroll?H_(a,e._events):O_(a,e._events):e._events.off(e._scrollableContent),e._scrollableContent=a},e._onModalContextMenuClose=function(){e.setState({isModalMenuOpen:!1})},e._onModalClose=function(){e._lastSetX=0,e._lastSetY=0,e.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1,isOpen:!1,x:0,y:0}),e.props.dragOptions&&e._hasRegisteredKeyUp&&e._events.off(window,"keyup",e._onKeyUp,!0),e.props.onDismissed&&e.props.onDismissed()},e._onDragStart=function(){e.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1})},e._onDrag=function(a,u){var d=e.state,f=d.x,m=d.y;e.setState(e._getClampedPosition({x:f+u.delta.x,y:m+u.delta.y}))},e._onDragStop=function(){e.focus()},e._onKeyUp=function(a){a.altKey&&a.ctrlKey&&a.keyCode===he.space&&Pt(e._scrollableContent,a.target)&&(e.setState({isModalMenuOpen:!e.state.isModalMenuOpen}),a.preventDefault(),a.stopPropagation())},e._onKeyDown=function(a){if(a.altKey&&a.ctrlKey&&a.keyCode===he.space){a.preventDefault(),a.stopPropagation();return}if(e.state.isModalMenuOpen&&(a.altKey||a.keyCode===he.escape)&&e.setState({isModalMenuOpen:!1}),e.state.isInKeyboardMoveMode&&(a.keyCode===he.escape||a.keyCode===he.enter)&&(e.setState({isInKeyboardMoveMode:!1}),a.preventDefault(),a.stopPropagation()),e.state.isInKeyboardMoveMode){var u=!0,d=e._getMoveDelta(a);switch(a.keyCode){case he.escape:e.setState({x:e._lastSetX,y:e._lastSetY});case he.enter:{e._lastSetX=0,e._lastSetY=0,e.setState({isInKeyboardMoveMode:!1});break}case he.up:{e.setState({y:e._getClampedPositionY(e.state.y-d)});break}case he.down:{e.setState({y:e._getClampedPositionY(e.state.y+d)});break}case he.left:{e.setState({x:e._getClampedPositionX(e.state.x-d)});break}case he.right:{e.setState({x:e._getClampedPositionX(e.state.x+d)});break}default:u=!1}u&&(a.preventDefault(),a.stopPropagation())}},e._onEnterKeyboardMoveMode=function(){e._lastSetX=e.state.x,e._lastSetY=e.state.y,e.setState({isInKeyboardMoveMode:!0,isModalMenuOpen:!1}),e._events.on(window,"keydown",e._onKeyDown,!0)},e._onExitKeyboardMoveMode=function(a){var u,d,f;(f=(u=e.props.focusTrapZoneProps)===null||u===void 0?void 0:(d=u).onBlur)===null||f===void 0||f.call(d,a),e._lastSetX=0,e._lastSetY=0,e.setState({isInKeyboardMoveMode:!1}),e._events.off(window,"keydown",e._onKeyDown,!0)},e._registerForKeyUp=function(){e._hasRegisteredKeyUp||(e._events.on(window,"keyup",e._onKeyUp,!0),e._hasRegisteredKeyUp=!0)},e._async=new tn(e),e._events=new mt(e),rt(e),e.state={id:_t("Modal"),isOpen:t.isOpen,isVisible:t.isOpen,hasBeenOpened:t.isOpen,x:0,y:0},e._lastSetX=0,e._lastSetY=0;var o=e.props.allowTouchBodyScroll,s=o===void 0?!1:o;return e._allowTouchBodyScroll=s,e}return r.prototype.UNSAFE_componentWillReceiveProps=function(t){clearTimeout(this._onModalCloseTimer),t.isOpen&&(this.state.isOpen?this.setState({hasBeenOpened:!0,isVisible:!0}):(this.setState({isOpen:!0}),t.dragOptions&&this._registerForKeyUp())),!t.isOpen&&this.state.isOpen&&(this._onModalCloseTimer=this._async.setTimeout(this._onModalClose,parseFloat(z0)*1e3),this.setState({isVisible:!1}))},r.prototype.componentDidMount=function(){var t=this;this.state.isOpen&&this.state.isVisible&&(this._registerForKeyUp(),requestAnimationFrame(function(){return setTimeout(t._registerInitialModalPosition,0)}))},r.prototype.componentDidUpdate=function(t,e){var o=this;!t.isOpen&&!e.isVisible&&this.setState({isVisible:!0}),!t.isOpen&&this.props.isOpen&&requestAnimationFrame(function(){return setTimeout(o._registerInitialModalPosition,0)})},r.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},r.prototype.render=function(){var t,e,o,s,a,u,d,f,m,h,g,y,C,x,b,S=this.props,F=S.className,D=S.containerClassName,A=S.scrollableContentClassName,L=S.elementToFocusOnDismiss,j=S.firstFocusableSelector,M=S.focusTrapZoneProps,R=S.forceFocusInsideTrap,P=S.ignoreExternalFocusing,W=S.isBlocking,Q=S.isClickableOutsideFocusTrap,K=S.isDarkOverlay,J=S.onDismiss,ne=S.layerProps,ie=S.overlay,fe=S.responsiveMode,B=S.titleAriaId,Z=S.styles,se=S.subtitleAriaId,le=S.theme,z=S.topOffsetFixed,q=S.onLayerDidMount,X=S.isModeless,me=S.isAlert,pe=S.dragOptions,De=S.enableAriaHiddenSiblings,Te=this.state,ct=Te.isOpen,Ae=Te.isVisible,Mt=Te.hasBeenOpened,ot=Te.modalRectangleTop,Rt=Te.x,Ut=Te.y,Yt=Te.isInKeyboardMoveMode;if(!ct)return null;var $t=ne===void 0?"":ne.className,hn=me??(W&&!X),kt=PA(Z,{theme:le,className:F,containerClassName:D,scrollableContentClassName:A,isOpen:ct,isVisible:Ae,hasBeenOpened:Mt,modalRectangleTop:ot,topOffsetFixed:z,isModeless:X,layerClassName:$t,isDefaultDragHandle:pe&&!pe.dragHandleSelector}),bt=k(k(k({},MA),this.props.layerProps),{onLayerDidMount:ne&&ne.onLayerDidMount?ne.onLayerDidMount:q,insertFirst:X,className:kt.layer}),It=_.createElement(Zs,k({},M,{"data-id":this.state.id,componentRef:this._focusTrapZoneMergedRef(this._focusTrapZone,(t=M)===null||t===void 0?void 0:t.componentRef),className:Et(kt.main,(e=M)===null||e===void 0?void 0:e.className),elementToFocusOnDismiss:(s=(o=M)===null||o===void 0?void 0:o.elementToFocusOnDismiss,s??L),isClickableOutsideFocusTrap:(u=(a=M)===null||a===void 0?void 0:a.isClickableOutsideFocusTrap,u??(X||Q||!W)),ignoreExternalFocusing:(f=(d=M)===null||d===void 0?void 0:d.ignoreExternalFocusing,f??P),forceFocusInsideTrap:(h=(m=M)===null||m===void 0?void 0:m.forceFocusInsideTrap,(h??R)&&!X),firstFocusableSelector:((g=M)===null||g===void 0?void 0:g.firstFocusableSelector)||j,focusPreviouslyFocusedInnerElement:(C=(y=M)===null||y===void 0?void 0:y.focusPreviouslyFocusedInnerElement,C??!0),onBlur:Yt?this._onExitKeyboardMoveMode:void 0,enableAriaHiddenSiblings:(b=(x=M)===null||x===void 0?void 0:x.enableAriaHiddenSiblings,b??De)}),pe&&Yt&&_.createElement("div",{className:kt.keyboardMoveIconContainer},pe.keyboardMoveIconProps?_.createElement(Ke,k({},pe.keyboardMoveIconProps)):_.createElement(Ke,{iconName:"move",className:kt.keyboardMoveIcon})),_.createElement("div",{ref:this._allowScrollOnModal,className:kt.scrollableContent,"data-is-scrollable":!0},pe&&this.state.isModalMenuOpen&&_.createElement(pe.menu,{items:[{key:"move",text:pe.moveMenuItemText,onClick:this._onEnterKeyboardMoveMode},{key:"close",text:pe.closeMenuItemText,onClick:this._onModalClose}],onDismiss:this._onModalContextMenuClose,alignTargetEdge:!0,coverTarget:!0,directionalHint:ft.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:this._scrollableContent}),this.props.children));return fe>=ri.small?_.createElement(Gi,k({},bt),_.createElement(Ml,{role:hn?"alertdialog":"dialog","aria-modal":!X,ariaLabelledBy:B,ariaDescribedBy:se,onDismiss:J,shouldRestoreFocus:!P},_.createElement("div",{className:kt.root,role:X?void 0:"document"},!X&&_.createElement(ad,k({isDarkThemed:K,onClick:W?void 0:J,allowTouchBodyScroll:this._allowTouchBodyScroll},ie)),pe?_.createElement(AA,{handleSelector:pe.dragHandleSelector||"."+kt.main.split(" ")[0],preventDragSelector:"button",onStart:this._onDragStart,onDragChange:this._onDrag,onStop:this._onDragStop,position:{x:Rt,y:Ut}},It):It))):null},r.prototype.focus=function(){this._focusTrapZone.current&&this._focusTrapZone.current.focus()},r.prototype._getClampedPosition=function(t){return!this.props.dragOptions||!this.props.dragOptions.keepInBounds?t:{x:this._getClampedPositionX(t.x),y:this._getClampedPositionY(t.y)}},r.prototype._getClampedPositionY=function(t){var e=this._minClampedPosition,o=this._maxClampedPosition;return e&&(t=Math.max(e.y,t)),o&&(t=Math.min(o.y,t)),t},r.prototype._getClampedPositionX=function(t){var e=this._minClampedPosition,o=this._maxClampedPosition;return e&&(t=Math.max(e.x,t)),o&&(t=Math.min(o.x,t)),t},r.prototype._getMoveDelta=function(t){var e=10;return t.shiftKey?t.ctrlKey||(e=50):t.ctrlKey&&(e=1),e},r.defaultProps={isOpen:!1,isDarkOverlay:!0,isBlocking:!1,className:"",containerClassName:""},r=Ir([Rl],r),r})(_.Component),_f=Fe(RA,EA,void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]}),NA=ke(),LA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return rt(e),e}return r.prototype.render=function(){var t=this.props,e=t.className,o=t.styles,s=t.theme;return this._classNames=NA(o,{theme:s,className:e}),_.createElement("div",{className:this._classNames.actions},_.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},r.prototype._renderChildrenAsActions=function(){var t=this;return _.Children.map(this.props.children,function(e){return e?_.createElement("span",{className:t._classNames.action},e):null})},r})(_.Component),BA={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},jA=function(n){var r=n.className,t=n.theme,e=ze(BA,t);return{actions:[e.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal"}}},r],action:[e.action,{margin:"0 4px"}],actionsRight:[e.actionsRight,{textAlign:"right",marginRight:"-4px",fontSize:"0"}]}},ld=Fe(LA,jA,void 0,{scope:"DialogFooter"}),OA=ke(),HA=_.createElement(ld,null).type,WA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return rt(e),e}return r.prototype.render=function(){var t=this.props,e=t.showCloseButton,o=t.className,s=t.closeButtonAriaLabel,a=t.onDismiss,u=t.subTextId,d=t.subText,f=t.titleProps,m=f===void 0?{}:f,h=t.titleId,g=t.title,y=t.type,C=t.styles,x=t.theme,b=t.draggableHeaderClassName,S=OA(C,{theme:x,className:o,isLargeHeader:y===Wr.largeHeader,isClose:y===Wr.close,draggableHeaderClassName:b}),F=this._groupChildren(),D;return d&&(D=_.createElement("p",{className:S.subText,id:u},d)),_.createElement("div",{className:S.content},_.createElement("div",{className:S.header},_.createElement("div",k({id:h,role:"heading","aria-level":1},m,{className:Et(S.title,m.className)}),g),_.createElement("div",{className:S.topButton},this.props.topButtonsProps.map(function(A,L){return _.createElement(kr,k({key:A.uniqueId||L},A))}),(y===Wr.close||e&&y!==Wr.largeHeader)&&_.createElement(kr,{className:S.button,iconProps:{iconName:"Cancel"},ariaLabel:s,onClick:a}))),_.createElement("div",{className:S.inner},_.createElement("div",{className:S.innerContent},D,F.contents),F.footers))},r.prototype._groupChildren=function(){var t={footers:[],contents:[]};return _.Children.map(this.props.children,function(e){typeof e=="object"&&e!==null&&e.type===HA?t.footers.push(e):t.contents.push(e)}),t},r.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},r=Ir([Rl],r),r})(_.Component),zA={contentLgHeader:"ms-Dialog-lgHeader",close:"ms-Dialog--close",subText:"ms-Dialog-subText",header:"ms-Dialog-header",headerLg:"ms-Dialog--lgHeader",button:"ms-Dialog-button ms-Dialog-button--close",inner:"ms-Dialog-inner",content:"ms-Dialog-content",title:"ms-Dialog-title"},UA=function(n){var r,t,e,o=n.className,s=n.theme,a=n.isLargeHeader,u=n.isClose,d=n.hidden,f=n.isMultiline,m=n.draggableHeaderClassName,h=s.palette,g=s.fonts,y=s.effects,C=s.semanticColors,x=ze(zA,s);return{content:[a&&[x.contentLgHeader,{borderTop:"4px solid "+h.themePrimary}],u&&x.close,{flexGrow:1,overflowY:"hidden"},o],subText:[x.subText,g.medium,{margin:"0 0 24px 0",color:C.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:it.regular}],header:[x.header,{position:"relative",width:"100%",boxSizing:"border-box"},u&&x.close,m&&[m,{cursor:"move"}]],button:[x.button,d&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:C.buttonText,fontSize:Sn.medium}}}],inner:[x.inner,{padding:"0 24px 24px",selectors:(r={},r["@media (min-width: "+Zp+"px) and (max-width: "+_c+"px)"]={padding:"0 16px 16px"},r)}],innerContent:[x.content,{position:"relative",width:"100%"}],title:[x.title,g.xLarge,{color:C.bodyText,margin:"0",minHeight:g.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(t={},t["@media (min-width: "+Zp+"px) and (max-width: "+_c+"px)"]={padding:"16px 46px 16px 16px"},t)},a&&{color:C.menuHeader},f&&{fontSize:g.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(e={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:C.buttonText},".ms-Dialog-button:hover":{color:C.buttonTextHovered,borderRadius:y.roundedCorner2}},e["@media (min-width: "+Zp+"px) and (max-width: "+_c+"px)"]={padding:"15px 8px 0 0"},e)}]}},GA=Fe(WA,UA,void 0,{scope:"DialogContent"}),VA=ke(),KA={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1},$A={type:Wr.normal,className:"",topButtonsProps:[]},qA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._getSubTextId=function(){var o=e.props,s=o.ariaDescribedById,a=o.modalProps,u=o.dialogContentProps,d=o.subText,f=a&&a.subtitleAriaId||s;return f||(f=(u&&u.subText||d)&&e._defaultSubTextId),f},e._getTitleTextId=function(){var o=e.props,s=o.ariaLabelledById,a=o.modalProps,u=o.dialogContentProps,d=o.title,f=a&&a.titleAriaId||s;return f||(f=(u&&u.title||d)&&e._defaultTitleTextId),f},e._id=_t("Dialog"),e._defaultTitleTextId=e._id+"-title",e._defaultSubTextId=e._id+"-subText",e}return r.prototype.render=function(){var t,e,o=this.props,s=o.className,a=o.containerClassName,u=o.contentClassName,d=o.elementToFocusOnDismiss,f=o.firstFocusableSelector,m=o.forceFocusInsideTrap,h=o.styles,g=o.hidden,y=o.ignoreExternalFocusing,C=o.isBlocking,x=o.isClickableOutsideFocusTrap,b=o.isDarkOverlay,S=o.isOpen,F=o.onDismiss,D=o.onDismissed,A=o.onLayerDidMount,L=o.responsiveMode,j=o.subText,M=o.theme,R=o.title,P=o.topButtonsProps,W=o.type,Q=o.minWidth,K=o.maxWidth,J=o.modalProps,ne=k({},J?J.layerProps:{onLayerDidMount:A});A&&!ne.onLayerDidMount&&(ne.onLayerDidMount=A);var ie,fe;J&&J.dragOptions&&!J.dragOptions.dragHandleSelector?(ie="ms-Dialog-draggable-header",fe=k(k({},J.dragOptions),{dragHandleSelector:"."+ie})):fe=J&&J.dragOptions;var B=k(k(k(k({},KA),{className:s,containerClassName:a,isBlocking:C,isDarkOverlay:b,onDismissed:D}),J),{layerProps:ne,dragOptions:fe}),Z=k(k(k({className:u,subText:j,title:R,topButtonsProps:P,type:W},$A),this.props.dialogContentProps),{draggableHeaderClassName:ie,titleProps:k({id:((t=this.props.dialogContentProps)===null||t===void 0?void 0:t.titleId)||this._defaultTitleTextId},(e=this.props.dialogContentProps)===null||e===void 0?void 0:e.titleProps)}),se=VA(h,{theme:M,className:B.className,containerClassName:B.containerClassName,hidden:g,dialogDefaultMinWidth:Q,dialogDefaultMaxWidth:K});return _.createElement(_f,k({elementToFocusOnDismiss:d,firstFocusableSelector:f,forceFocusInsideTrap:m,ignoreExternalFocusing:y,isClickableOutsideFocusTrap:x,responsiveMode:L},B,{isOpen:S!==void 0?S:!g,className:se.root,containerClassName:se.main,onDismiss:F||B.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),_.createElement(GA,k({subTextId:this._defaultSubTextId,showCloseButton:B.isBlocking,onDismiss:F},Z),this.props.children))},r.defaultProps={hidden:!0},r=Ir([Rl],r),r})(_.Component),YA={root:"ms-Dialog"},ZA=function(n){var r,t=n.className,e=n.containerClassName,o=n.dialogDefaultMinWidth,s=o===void 0?"288px":o,a=n.dialogDefaultMaxWidth,u=a===void 0?"340px":a,d=n.hidden,f=n.theme,m=ze(YA,f);return{root:[m.root,f.fonts.medium,t],main:[{width:s,outline:"3px solid transparent",selectors:(r={},r["@media (min-width: "+Qc+"px)"]={width:"auto",maxWidth:u,minWidth:s},r)},!d&&{display:"flex"},e]}},wl=Fe(qA,ZA,void 0,{scope:"Dialog"});wl.displayName="Dialog";var XA=(function(){function n(){this._size=0}return n.prototype.updateOptions=function(r){for(var t=[],e=0,o=0;o<r.length;o++)r[o].itemType===br.Divider||r[o].itemType===br.Header?t.push(o):r[o].hidden||e++;this._size=e,this._displayOnlyOptionsCache=t,this._cachedOptions=Qt(r)},Object.defineProperty(n.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cachedOptions",{get:function(){return this._cachedOptions},enumerable:!0,configurable:!0}),n.prototype.positionInSet=function(r){if(r!==void 0){for(var t=0;r>this._displayOnlyOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===r)throw new Error("Unexpected: Option at index "+r+" is not a selectable element.");return r-t+1}},n})(),Xt;(function(n){n[n.smallFluid=0]="smallFluid",n[n.smallFixedFar=1]="smallFixedFar",n[n.smallFixedNear=2]="smallFixedNear",n[n.medium=3]="medium",n[n.large=4]="large",n[n.largeFixed=5]="largeFixed",n[n.extraLarge=6]="extraLarge",n[n.custom=7]="custom",n[n.customNear=8]="customNear"})(Xt||(Xt={}));var QA=ke(),Nt;(function(n){n[n.closed=0]="closed",n[n.animatingOpen=1]="animatingOpen",n[n.open=2]="open",n[n.animatingClosed=3]="animatingClosed"})(Nt||(Nt={}));var JA=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._panel=_.createRef(),e._animationCallback=null,e._hasCustomNavigation=!!(e.props.onRenderNavigation||e.props.onRenderNavigationContent),e.dismiss=function(a){e.props.onDismiss&&e.isActive&&e.props.onDismiss(a),(!a||a&&!a.defaultPrevented)&&e.close()},e._allowScrollOnPanel=function(a){a?e._allowTouchBodyScroll?H_(a,e._events):O_(a,e._events):e._events.off(e._scrollableContent),e._scrollableContent=a},e._onRenderNavigation=function(a){if(!e.props.onRenderNavigationContent&&!e.props.onRenderNavigation&&!e.props.hasCloseButton)return null;var u=e.props.onRenderNavigationContent,d=u===void 0?e._onRenderNavigationContent:u;return _.createElement("div",{className:e._classNames.navigation},d(a,e._onRenderNavigationContent))},e._onRenderNavigationContent=function(a){var u,d=a.closeButtonAriaLabel,f=a.hasCloseButton,m=a.onRenderHeader,h=m===void 0?e._onRenderHeader:m;if(f){var g=(u=e._classNames.subComponentStyles)===null||u===void 0?void 0:u.closeButton();return _.createElement(_.Fragment,null,!e._hasCustomNavigation&&h(e.props,e._onRenderHeader,e._headerTextId),_.createElement(kr,{styles:g,className:e._classNames.closeButton,onClick:e._onPanelClick,ariaLabel:d,title:d,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},e._onRenderHeader=function(a,u,d){var f=a.headerText,m=a.headerTextProps,h=m===void 0?{}:m;return f?_.createElement("div",{className:e._classNames.header},_.createElement("div",k({id:d,role:"heading","aria-level":1},h,{className:Et(e._classNames.headerText,h.className)}),f)):null},e._onRenderBody=function(a){return _.createElement("div",{className:e._classNames.content},a.children)},e._onRenderFooter=function(a){var u=e.props.onRenderFooterContent,d=u===void 0?null:u;return d?_.createElement("div",{className:e._classNames.footer},_.createElement("div",{className:e._classNames.footerInner},d())):null},e._animateTo=function(a){a===Nt.open&&e.props.onOpen&&e.props.onOpen(),e._animationCallback=e._async.setTimeout(function(){e.setState({visibility:a}),e._onTransitionComplete()},200)},e._clearExistingAnimationTimer=function(){e._animationCallback!==null&&e._async.clearTimeout(e._animationCallback)},e._onPanelClick=function(a){e.dismiss(a)},e._onTransitionComplete=function(){e._updateFooterPosition(),e.state.visibility===Nt.open&&e.props.onOpened&&e.props.onOpened(),e.state.visibility===Nt.closed&&e.props.onDismissed&&e.props.onDismissed()};var o=e.props.allowTouchBodyScroll,s=o===void 0?!1:o;return e._allowTouchBodyScroll=s,e._async=new tn(e),e._events=new mt(e),rt(e),e.state={isFooterSticky:!1,visibility:Nt.closed,id:_t("Panel")},e}return r.getDerivedStateFromProps=function(t,e){return t.isOpen===void 0?null:t.isOpen&&(e.visibility===Nt.closed||e.visibility===Nt.animatingClosed)?{visibility:Nt.animatingOpen}:!t.isOpen&&(e.visibility===Nt.open||e.visibility===Nt.animatingOpen)?{visibility:Nt.animatingClosed}:null},r.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:Nt.animatingOpen})},r.prototype.componentDidUpdate=function(t,e){var o=this._shouldListenForOuterClick(this.props),s=this._shouldListenForOuterClick(t);this.state.visibility!==e.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===Nt.animatingOpen?this._animateTo(Nt.open):this.state.visibility===Nt.animatingClosed&&this._animateTo(Nt.closed)),o&&!s?this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0):!o&&s&&this._events.off(document.body,"mousedown",this._dismissOnOuterClick,!0)},r.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},r.prototype.render=function(){var t=this.props,e=t.className,o=e===void 0?"":e,s=t.elementToFocusOnDismiss,a=t.firstFocusableSelector,u=t.focusTrapZoneProps,d=t.forceFocusInsideTrap,f=t.hasCloseButton,m=t.headerText,h=t.headerClassName,g=h===void 0?"":h,y=t.ignoreExternalFocusing,C=t.isBlocking,x=t.isFooterAtBottom,b=t.isLightDismiss,S=t.isHiddenOnDismiss,F=t.layerProps,D=t.overlayProps,A=t.popupProps,L=t.type,j=t.styles,M=t.theme,R=t.customWidth,P=t.onLightDismissClick,W=P===void 0?this._onPanelClick:P,Q=t.onRenderNavigation,K=Q===void 0?this._onRenderNavigation:Q,J=t.onRenderHeader,ne=J===void 0?this._onRenderHeader:J,ie=t.onRenderBody,fe=ie===void 0?this._onRenderBody:ie,B=t.onRenderFooter,Z=B===void 0?this._onRenderFooter:B,se=this.state,le=se.isFooterSticky,z=se.visibility,q=se.id,X=L===Xt.smallFixedNear||L===Xt.customNear,me=ht(M),pe=me?X:!X,De=L===Xt.custom||L===Xt.customNear?{width:R}:{},Te=qe(this.props,en),ct=this.isActive,Ae=z===Nt.animatingClosed||z===Nt.animatingOpen;if(this._headerTextId=m&&q+"-headerText",!ct&&!Ae&&!S)return null;this._classNames=QA(j,{theme:M,className:o,focusTrapZoneClassName:u?u.className:void 0,hasCloseButton:f,headerClassName:g,isAnimating:Ae,isFooterSticky:le,isFooterAtBottom:x,isOnRightSide:pe,isOpen:ct,isHiddenOnDismiss:S,type:L,hasCustomNavigation:this._hasCustomNavigation});var Mt=this,ot=Mt._classNames,Rt=Mt._allowTouchBodyScroll,Ut;return C&&ct&&(Ut=_.createElement(ad,k({className:ot.overlay,isDarkThemed:!1,onClick:b?W:void 0,allowTouchBodyScroll:Rt},D))),_.createElement(Gi,k({},F),_.createElement(Ml,k({role:"dialog","aria-modal":"true",ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:ot.hiddenPanel},A),_.createElement("div",k({"aria-hidden":!ct&&Ae},Te,{ref:this._panel,className:ot.root}),Ut,_.createElement(Zs,k({ignoreExternalFocusing:y,forceFocusInsideTrap:!C||S&&!ct?!1:d,firstFocusableSelector:a,isClickableOutsideFocusTrap:!0},u,{className:ot.main,style:De,elementToFocusOnDismiss:s}),_.createElement("div",{className:ot.commands,"data-is-visible":!0},K(this.props,this._onRenderNavigation)),_.createElement("div",{className:ot.contentInner},(this._hasCustomNavigation||!f)&&ne(this.props,this._onRenderHeader,this._headerTextId),_.createElement("div",{ref:this._allowScrollOnPanel,className:ot.scrollableContent,"data-is-scrollable":!0},fe(this.props,this._onRenderBody)),Z(this.props,this._onRenderFooter))))))},r.prototype.open=function(){this.props.isOpen===void 0&&(this.isActive||this.setState({visibility:Nt.animatingOpen}))},r.prototype.close=function(){this.props.isOpen===void 0&&this.isActive&&this.setState({visibility:Nt.animatingClosed})},Object.defineProperty(r.prototype,"isActive",{get:function(){return this.state.visibility===Nt.open||this.state.visibility===Nt.animatingOpen},enumerable:!0,configurable:!0}),r.prototype._shouldListenForOuterClick=function(t){return!!t.isBlocking&&!!t.isOpen},r.prototype._updateFooterPosition=function(){var t=this._scrollableContent;if(t){var e=t.clientHeight,o=t.scrollHeight;this.setState({isFooterSticky:e<o})}},r.prototype._dismissOnOuterClick=function(t){var e=this._panel.current;this.isActive&&e&&!t.defaultPrevented&&(Pt(e,t.target)||(this.props.onOuterClick?this.props.onOuterClick(t):this.dismiss(t)))},r.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:Xt.smallFixedFar},r})(_.Component),ah,oc,ic,lh,uh,eM={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"},zi={full:"100%",auto:"auto",xs:272,sm:340,md1:592,md2:644,lg:940},Co={auto:"auto",none:0,md:48,lg:428,xl:176},Ja=(ah={},ah["@media (min-width: "+Qc+"px)"]={width:zi.sm},ah),sc=(oc={},oc["@media (min-width: "+a0+"px)"]={width:zi.md1},oc["@media (min-width: "+Yk+"px)"]={width:zi.md2},oc),ch=(ic={},ic["@media (min-width: "+Zk+"px)"]={left:Co.md,width:zi.auto},ic["@media (min-width: "+df+"px)"]={left:Co.lg},ic),tM=(lh={},lh["@media (min-width: "+df+"px)"]={left:Co.auto,width:zi.lg},lh),nM=(uh={},uh["@media (min-width: "+df+"px)"]={left:Co.xl},uh),rM=function(n){var r;switch(n){case Xt.smallFixedFar:r=k({},Ja);break;case Xt.medium:r=k(k({},Ja),sc);break;case Xt.large:r=k(k(k({},Ja),sc),ch);break;case Xt.largeFixed:r=k(k(k(k({},Ja),sc),ch),tM);break;case Xt.extraLarge:r=k(k(k(k({},Ja),sc),ch),nM);break}return r},oM="44px",dh={paddingLeft:"24px",paddingRight:"24px"},iM=function(n){var r,t=n.className,e=n.focusTrapZoneClassName,o=n.hasCloseButton,s=n.headerClassName,a=n.isAnimating,u=n.isFooterSticky,d=n.isFooterAtBottom,f=n.isOnRightSide,m=n.isOpen,h=n.isHiddenOnDismiss,g=n.hasCustomNavigation,y=n.theme,C=n.type,x=C===void 0?Xt.smallFixedFar:C,b=y.effects,S=y.fonts,F=y.semanticColors,D=ze(eM,y),A=x===Xt.custom||x===Xt.customNear;return{root:[D.root,y.fonts.medium,m&&D.isOpen,o&&D.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},A&&f&&D.custom,A&&!f&&D.customNear,t],overlay:[{pointerEvents:"auto",cursor:"pointer"},m&&a&&Tn.fadeIn100,!m&&a&&Tn.fadeOut100],hiddenPanel:[!m&&!a&&h&&{visibility:"hidden"}],main:[D.main,{backgroundColor:F.bodyBackground,boxShadow:b.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:Co.auto,right:Co.none,width:zi.full,selectors:k((r={},r[re]={borderLeft:"3px solid "+F.variantBorder,borderRight:"3px solid "+F.variantBorder},r),rM(x))},x===Xt.smallFluid&&{left:Co.none},x===Xt.smallFixedNear&&{left:Co.none,right:Co.auto,width:zi.xs},x===Xt.customNear&&{right:"auto",left:0},A&&{maxWidth:"100vw"},m&&a&&!f&&Tn.slideRightIn40,m&&a&&f&&Tn.slideLeftIn40,!m&&a&&!f&&Tn.slideLeftOut40,!m&&a&&f&&Tn.slideRightOut40,e],commands:[D.commands,{marginTop:18},g&&{marginTop:"inherit"}],navigation:[D.navigation,{display:"flex",justifyContent:"flex-end"},g&&{height:oM}],contentInner:[D.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[D.header,dh,{alignSelf:"flex-start"},o&&!g&&{flexGrow:1},g&&{flexShrink:0}],headerText:[D.headerText,S.xLarge,{color:F.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},s],scrollableContent:[D.scrollableContent,{overflowY:"auto"},d&&{flexGrow:1}],content:[D.content,dh,{paddingBottom:20}],footer:[D.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity "+oo.durationValue3+" "+oo.easeFunction2},u&&{background:F.bodyBackground,borderTopColor:F.variantBorder}],footerInner:[D.footerInner,dh,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[D.closeButton,{marginRight:14,color:y.palette.neutralSecondary,fontSize:Sn.large},g&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:y.palette.neutralPrimary}}}}},bf=Fe(JA,iM,void 0,{scope:"Panel"}),sM=ke(),aM=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._host=_.createRef(),e._focusZone=_.createRef(),e._dropDown=_.createRef(),e._scrollIdleDelay=250,e._sizePosCache=new XA,e._requestAnimationFrame=JE(e),e._onChange=function(h,g,y,C,x){var b=e.props,S=b.onChange,F=b.onChanged;if(S||F){var D=x?k(k({},g[y]),{selected:!C}):g[y];S&&S(k(k({},h),{target:e._dropDown.current}),D,y),F&&F(D,y)}},e._getPlaceholder=function(){return e.props.placeholder||e.props.placeHolder},e._getTitle=function(h,g){var y=e.props.multiSelectDelimiter,C=y===void 0?", ":y;return h.map(function(x){return x.text}).join(C)},e._onRenderTitle=function(h){return _.createElement(_.Fragment,null,e._getTitle(h))},e._onRenderPlaceholder=function(h){return e._getPlaceholder()?_.createElement(_.Fragment,null,e._getPlaceholder()):null},e._onRenderContainer=function(h){var g=h.calloutProps,y=h.panelProps,C=e.props,x=C.responsiveMode,b=C.dropdownWidth,S=x<=ri.medium,F=e._classNames.subComponentStyles?e._classNames.subComponentStyles.panel:void 0,D=void 0,A=void 0;return b==="auto"?A=e._dropDown.current?e._dropDown.current.clientWidth:0:D=b||(e._dropDown.current?e._dropDown.current.clientWidth:0),S?_.createElement(bf,k({isOpen:!0,isLightDismiss:!0,onDismiss:e._onDismiss,hasCloseButton:!1,styles:F},y),e._renderFocusableList(h)):_.createElement(Pl,k({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:ft.bottomLeftEdge,calloutWidth:D,calloutMinWidth:A},g,{className:e._classNames.callout,target:e._dropDown.current,onDismiss:e._onDismiss,onScroll:e._onScroll,onPositioned:e._onPositioned}),e._renderFocusableList(h))},e._onRenderCaretDown=function(h){return _.createElement(Ke,{className:e._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},e._onRenderList=function(h){var g=h.onRenderItem,y=g===void 0?e._onRenderItem:g,C={items:[]},x=[],b=function(){var F=C.id?[_.createElement("div",{role:"group",key:C.id,"aria-labelledby":C.id},C.items)]:C.items;x=Qt(x,F),C={items:[]}},S=function(F,D){switch(F.itemType){case br.Header:C.items.length>0&&b();var A=e._id+F.key;C.items.push(y(k(k({id:A},F),{index:D}),e._onRenderItem)),C.id=A;break;case br.Divider:D>0&&C.items.push(y(k(k({},F),{index:D}),e._onRenderItem)),C.items.length>0&&b();break;default:C.items.push(y(k(k({},F),{index:D}),e._onRenderItem))}};return h.options.forEach(function(F,D){S(F,D)}),C.items.length>0&&b(),_.createElement(_.Fragment,null,x)},e._onRenderItem=function(h){switch(h.itemType){case br.Divider:return e._renderSeparator(h);case br.Header:return e._renderHeader(h);default:return e._renderOption(h)}},e._renderOption=function(h){var g=e.props.onRenderOption,y=g===void 0?e._onRenderOption:g,C=e.state.selectedIndices,x=C===void 0?[]:C,b=h.index!==void 0&&x?x.indexOf(h.index)>-1:!1,S=h.hidden?e._classNames.dropdownItemHidden:b&&h.disabled===!0?e._classNames.dropdownItemSelectedAndDisabled:b?e._classNames.dropdownItemSelected:h.disabled===!0?e._classNames.dropdownItemDisabled:e._classNames.dropdownItem,F=h.title,D=F===void 0?h.text:F,A=e._classNames.subComponentStyles?e._classNames.subComponentStyles.multiSelectItem:void 0;return e.props.multiSelect?_.createElement(Xe,{id:e._listId+h.index,key:h.key,disabled:h.disabled,onChange:e._onItemClick(h),inputProps:k({"aria-selected":b,onMouseEnter:e._onItemMouseEnter.bind(e,h),onMouseLeave:e._onMouseItemLeave.bind(e,h),onMouseMove:e._onItemMouseMove.bind(e,h),role:"option"},{"data-index":h.index,"data-is-focusable":!h.disabled}),label:h.text,title:D,onRenderLabel:e._onRenderItemLabel.bind(e,h),className:S,checked:b,styles:A,ariaPositionInSet:e._sizePosCache.positionInSet(h.index),ariaSetSize:e._sizePosCache.optionSetSize}):_.createElement(H1,{id:e._listId+h.index,key:h.key,"data-index":h.index,"data-is-focusable":!h.disabled,disabled:h.disabled,className:S,onClick:e._onItemClick(h),onMouseEnter:e._onItemMouseEnter.bind(e,h),onMouseLeave:e._onMouseItemLeave.bind(e,h),onMouseMove:e._onItemMouseMove.bind(e,h),role:"option","aria-selected":b?"true":"false",ariaLabel:h.ariaLabel,title:D,"aria-posinset":e._sizePosCache.positionInSet(h.index),"aria-setsize":e._sizePosCache.optionSetSize},y(h,e._onRenderOption))},e._onRenderOption=function(h){return _.createElement("span",{className:e._classNames.dropdownOptionText},h.text)},e._onRenderItemLabel=function(h){var g=e.props.onRenderOption,y=g===void 0?e._onRenderOption:g;return y(h,e._onRenderOption)},e._onPositioned=function(h){e._focusZone.current&&e._requestAnimationFrame(function(){var g=e.state.selectedIndices;if(e._focusZone.current)if(g&&g[0]&&!e.props.options[g[0]].disabled){var y=jt().getElementById(e._id+"-list"+g[0]);y&&e._focusZone.current.focusElement(y)}else e._focusZone.current.focus()}),(!e.state.calloutRenderEdge||e.state.calloutRenderEdge!==h.targetEdge)&&e.setState({calloutRenderEdge:h.targetEdge})},e._onItemClick=function(h){return function(g){h.disabled||(e.setSelectedIndex(g,h.index),e.props.multiSelect||e.setState({isOpen:!1}))}},e._onScroll=function(){!e._isScrollIdle&&e._scrollIdleTimeoutId!==void 0?(clearTimeout(e._scrollIdleTimeoutId),e._scrollIdleTimeoutId=void 0):e._isScrollIdle=!1,e._scrollIdleTimeoutId=setTimeout(function(){e._isScrollIdle=!0},e._scrollIdleDelay)},e._onMouseItemLeave=function(h,g){if(!e._shouldIgnoreMouseEvent()&&e._host.current)if(e._host.current.setActive)try{e._host.current.setActive()}catch{}else e._host.current.focus()},e._onDismiss=function(){e.setState({isOpen:!1})},e._onDropdownBlur=function(h){var g=e._isDisabled();g||(e.setState({hasFocus:!1}),!e.state.isOpen&&e.props.onBlur&&e.props.onBlur(h))},e._onDropdownKeyDown=function(h){var g=e._isDisabled();if(!g&&(e._lastKeyDownWasAltOrMeta=e._isAltOrMeta(h),!(e.props.onKeyDown&&(e.props.onKeyDown(h),h.defaultPrevented)))){var y,C=e.state.selectedIndices.length?e.state.selectedIndices[0]:-1,x=h.altKey||h.metaKey,b=e.state.isOpen;switch(h.which){case he.enter:e.setState({isOpen:!b});break;case he.escape:if(!b)return;e.setState({isOpen:!1});break;case he.up:if(x){if(b){e.setState({isOpen:!1});break}return}e.props.multiSelect?e.setState({isOpen:!0}):e._isDisabled()||(y=e._moveIndex(h,-1,C-1,C));break;case he.down:x&&(h.stopPropagation(),h.preventDefault()),x&&!b||e.props.multiSelect?e.setState({isOpen:!0}):e._isDisabled()||(y=e._moveIndex(h,1,C+1,C));break;case he.home:e.props.multiSelect||(y=e._moveIndex(h,1,0,C));break;case he.end:e.props.multiSelect||(y=e._moveIndex(h,-1,e.props.options.length-1,C));break;case he.space:break;default:return}y!==C&&(h.stopPropagation(),h.preventDefault())}},e._onDropdownKeyUp=function(h){var g=e._isDisabled();if(!g){var y=e._shouldHandleKeyUp(h),C=e.state.isOpen;if(!(e.props.onKeyUp&&(e.props.onKeyUp(h),h.defaultPrevented))){switch(h.which){case he.space:e.setState({isOpen:!C});break;default:y&&C&&e.setState({isOpen:!1});return}h.stopPropagation(),h.preventDefault()}}},e._onZoneKeyDown=function(h){var g;e._lastKeyDownWasAltOrMeta=e._isAltOrMeta(h);var y=h.altKey||h.metaKey;switch(h.which){case he.up:y?e.setState({isOpen:!1}):e._host.current&&(g=J_(e._host.current,e._host.current.lastChild,!0));break;case he.home:case he.end:case he.pageUp:case he.pageDown:break;case he.down:!y&&e._host.current&&(g=Q_(e._host.current,e._host.current.firstChild,!0));break;case he.escape:e.setState({isOpen:!1});break;case he.tab:e.setState({isOpen:!1});return;default:return}g&&g.focus(),h.stopPropagation(),h.preventDefault()},e._onZoneKeyUp=function(h){var g=e._shouldHandleKeyUp(h);g&&e.state.isOpen&&(e.setState({isOpen:!1}),h.preventDefault())},e._onDropdownClick=function(h){if(!(e.props.onClick&&(e.props.onClick(h),h.defaultPrevented))){var g=e.state.isOpen,y=e._isDisabled();!y&&!e._shouldOpenOnFocus()&&e.setState({isOpen:!g}),e._isFocusedByClick=!1}},e._onDropdownMouseDown=function(){e._isFocusedByClick=!0},e._onFocus=function(h){var g=e._isDisabled();if(!g){e.props.onFocus&&e.props.onFocus(h);var y={hasFocus:!0};e._shouldOpenOnFocus()&&(y.isOpen=!0),e.setState(y)}},e._isDisabled=function(){var h=e.props.disabled,g=e.props.isDisabled;return h===void 0&&(h=g),h},e._onRenderLabel=function(h){var g=h.label,y=h.required,C=h.disabled,x=e._classNames.subComponentStyles?e._classNames.subComponentStyles.label:void 0;return g?_.createElement(_l,{className:e._classNames.label,id:e._labelId,required:y,styles:x,disabled:C},g):null},rt(e);var o=t.multiSelect,s=t.selectedKey,a=t.selectedKeys,u=t.defaultSelectedKey,d=t.defaultSelectedKeys,f=t.options;e._id=t.id||_t("Dropdown"),e._labelId=e._id+"-label",e._listId=e._id+"-list",e._optionId=e._id+"-option",e._isScrollIdle=!0;var m;return o?m=e._getSelectedIndexes(f,d!==void 0?d:a):m=e._getSelectedIndexes(f,u!==void 0?u:s),e._sizePosCache.updateOptions(f),e.state={isOpen:!1,selectedIndices:m,hasFocus:!1,calloutRenderEdge:void 0},e}return Object.defineProperty(r.prototype,"selectedOptions",{get:function(){var t=this.props.options,e=this.state.selectedIndices;return hy(t,e)},enumerable:!0,configurable:!0}),r.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},r.prototype.UNSAFE_componentWillReceiveProps=function(t){var e,o=t.options!==this.props.options;t.multiSelect?o&&t.defaultSelectedKeys!==void 0?e="defaultSelectedKeys":e="selectedKeys":o&&t.defaultSelectedKey!==void 0?e="defaultSelectedKey":e="selectedKey",t[e]!==void 0&&(t[e]!==this.props[e]||o)&&this.setState({selectedIndices:this._getSelectedIndexes(t.options,t[e])})},r.prototype.componentDidUpdate=function(t,e){e.isOpen===!0&&this.state.isOpen===!1&&(this._gotMouseMove=!1,this.props.onDismiss&&this.props.onDismiss())},r.prototype.render=function(){var t=this,e,o,s=this._id,a=this.props,u=a.className,d=a.label,f=a.options,m=a.ariaLabel,h=a.required,g=a.errorMessage,y=a.keytipProps,C=a.styles,x=a.theme,b=a.panelProps,S=a.calloutProps,F=a.onRenderTitle,D=F===void 0?this._getTitle:F,A=a.onRenderContainer,L=A===void 0?this._onRenderContainer:A,j=a.onRenderCaretDown,M=j===void 0?this._onRenderCaretDown:j,R=a.onRenderLabel,P=R===void 0?this._onRenderLabel:R,W=this.state,Q=W.isOpen,K=W.selectedIndices,J=W.calloutRenderEdge,ne=W.hasFocus,ie=a.onRenderPlaceholder||a.onRenderPlaceHolder||this._getPlaceholder;f!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(f);var fe=hy(f,K),B=qe(a,en),Z=this._isDisabled(),se=s+"-errorMessage",le=Z?void 0:Q&&K.length===1&&K[0]>=0?this._listId+K[0]:void 0;this._classNames=sM(C,{theme:x,className:u,hasError:!!(g&&g.length>0),hasLabel:!!d,isOpen:Q,required:h,disabled:Z,isRenderingPlaceholder:!fe.length,panelClassName:(e=b)===null||e===void 0?void 0:e.className,calloutClassName:(o=S)===null||o===void 0?void 0:o.className,calloutRenderEdge:J});var z=!!g&&g.length>0;return _.createElement("div",{className:this._classNames.root},P(this.props,this._onRenderLabel),_.createElement(wo,{keytipProps:y,disabled:Z},function(q){return _.createElement("div",k({},q,{"data-is-focusable":!Z,ref:t._dropDown,id:s,tabIndex:Z?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":Q?"true":"false","aria-label":m,"aria-labelledby":d&&!m?ti(t._labelId,t._optionId):void 0,"aria-describedby":ti(q["aria-describedby"],z?t._id+"-errorMessage":void 0),"aria-activedescendant":le,"aria-required":h,"aria-disabled":Z,"aria-controls":Q?t._listId:void 0},B,{className:t._classNames.dropdown,onBlur:t._onDropdownBlur,onKeyDown:t._onDropdownKeyDown,onKeyUp:t._onDropdownKeyUp,onClick:t._onDropdownClick,onMouseDown:t._onDropdownMouseDown,onFocus:t._onFocus}),_.createElement("span",{id:t._optionId,className:t._classNames.title,"aria-live":ne?"polite":void 0,"aria-atomic":ne?!0:void 0},fe.length?D(fe,t._onRenderTitle):ie(a,t._onRenderPlaceholder)),_.createElement("span",{className:t._classNames.caretDownWrapper},M(a,t._onRenderCaretDown)))}),Q&&L(k(k({},a),{onDismiss:this._onDismiss}),this._onRenderContainer),z&&_.createElement("div",{role:"alert",id:se,className:this._classNames.errorMessage},g))},r.prototype.focus=function(t){this._dropDown.current&&(this._dropDown.current.focus(),t&&this.setState({isOpen:!0}))},r.prototype.setSelectedIndex=function(t,e){var o=this,s=this.props,a=s.options,u=s.selectedKey,d=s.selectedKeys,f=s.multiSelect,m=s.notifyOnReselect,h=this.state.selectedIndices,g=h===void 0?[]:h,y=g?g.indexOf(e)>-1:!1,C=[];if(e=Math.max(0,Math.min(a.length-1,e)),u!==void 0||d!==void 0){this._onChange(t,a,e,y,f);return}if(!(!f&&!m&&e===g[0])){if(f)if(C=g?this._copyArray(g):[],y){var x=C.indexOf(e);x>-1&&C.splice(x,1)}else C.push(e);else C=[e];t.persist(),this.setState({selectedIndices:C},function(){o._onChange(t,a,e,y,f)})}},r.prototype._copyArray=function(t){for(var e=[],o=0,s=t;o<s.length;o++){var a=s[o];e.push(a)}return e},r.prototype._moveIndex=function(t,e,o,s){var a=this.props.options;if(s===o||a.length===0)return s;o>=a.length?o=0:o<0&&(o=a.length-1);for(var u=0;a[o].itemType===br.Header||a[o].itemType===br.Divider||a[o].disabled;){if(u>=a.length)return s;o+e<0?o=a.length:o+e>=a.length&&(o=-1),o=o+e,u++}return this.setSelectedIndex(t,o),o},r.prototype._renderFocusableList=function(t){var e=t.onRenderList,o=e===void 0?this._onRenderList:e,s=t.label,a=t.ariaLabel,u=t.multiSelect;return _.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},_.createElement(Vi,{ref:this._focusZone,direction:Kt.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":a,"aria-labelledby":s&&!a?this._labelId:void 0,"aria-multiselectable":u},o(t,this._onRenderList)))},r.prototype._renderSeparator=function(t){var e=t.index,o=t.key;return e>0?_.createElement("div",{role:"separator",key:o,className:this._classNames.dropdownDivider}):null},r.prototype._renderHeader=function(t){var e=this.props.onRenderOption,o=e===void 0?this._onRenderOption:e,s=t.key,a=t.id;return _.createElement("div",{id:a,key:s,className:this._classNames.dropdownItemHeader},o(t,this._onRenderOption))},r.prototype._onItemMouseEnter=function(t,e){if(!this._shouldIgnoreMouseEvent()){var o=e.currentTarget;o.focus()}},r.prototype._onItemMouseMove=function(t,e){var o=e.currentTarget;this._gotMouseMove=!0,!(!this._isScrollIdle||document.activeElement===o)&&o.focus()},r.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},r.prototype._getSelectedIndexes=function(t,e){if(e===void 0){if(this.props.multiSelect)return this._getAllSelectedIndices(t);var o=this._getSelectedIndex(t,null);return o!==-1?[o]:[]}else if(!Array.isArray(e)){var o=this._getSelectedIndex(t,e);return o!==-1?[o]:[]}for(var s=[],a=0,u=e;a<u.length;a++){var d=u[a],o=this._getSelectedIndex(t,d);o!==-1&&s.push(o)}return s},r.prototype._getAllSelectedIndices=function(t){return t.map(function(e,o){return e.selected?o:-1}).filter(function(e){return e!==-1})},r.prototype._getSelectedIndex=function(t,e){return rf(t,function(o){return e!=null?o.key===e:!!o.selected||!!o.isSelected})},r.prototype._isAltOrMeta=function(t){return t.which===he.alt||t.key==="Meta"},r.prototype._shouldHandleKeyUp=function(t){var e=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(t);return this._lastKeyDownWasAltOrMeta=!1,!!e&&!(Ah()||Th())},r.prototype._shouldOpenOnFocus=function(){var t=this.state.hasFocus,e=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&e===!0&&!t},r.defaultProps={options:[]},r=Ir([Rl],r),r})(_.Component),ph,hh,fh,lM={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"},ac=32,mh=36,uM=(ph={},ph[re+", "+qk.replace("@media ","")]=k({},tt()),ph),lc={selectors:k((hh={},hh[re]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},hh),uM)},Ty={selectors:(fh={},fh[re]={borderColor:"Highlight"},fh)},cM=Jc(0,Qc),dM=function(n){var r,t,e,o,s,a,u,d,f,m,h,g=n.theme,y=n.hasError,C=n.hasLabel,x=n.className,b=n.isOpen,S=n.disabled,F=n.required,D=n.isRenderingPlaceholder,A=n.panelClassName,L=n.calloutClassName,j=n.calloutRenderEdge;if(!g)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var M=ze(lM,g),R=g.palette,P=g.semanticColors,W=g.effects,Q=g.fonts,K={color:P.menuItemTextHovered},J={color:P.menuItemText},ne={borderColor:P.errorText},ie=[M.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:mh,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%"}}],fe=P.menuItemBackgroundPressed,B=function(q){var X;return q===void 0&&(q=!1),{selectors:(X={"&:hover:focus":[{color:P.menuItemTextHovered,backgroundColor:q?fe:P.menuItemBackgroundHovered},lc],"&:focus":[{backgroundColor:q?fe:"transparent"},lc],"&:active":[{color:P.menuItemTextHovered,backgroundColor:q?P.menuItemBackgroundHovered:P.menuBackground},lc]},X["."+Lt+" &:focus:after"]={left:0,top:0,bottom:0,right:0},X[re]={border:"none"},X)}},Z=Qt(ie,[{backgroundColor:fe,color:P.menuItemTextHovered},B(!0),lc]),se=Qt(ie,[{color:P.disabledText,cursor:"default",selectors:(r={},r[re]={color:"GrayText",border:"none"},r)}]),le=j===ve.bottom?W.roundedCorner2+" "+W.roundedCorner2+" 0 0":"0 0 "+W.roundedCorner2+" "+W.roundedCorner2,z=j===ve.bottom?"0 0 "+W.roundedCorner2+" "+W.roundedCorner2:W.roundedCorner2+" "+W.roundedCorner2+" 0 0";return{root:[M.root,x],label:M.label,dropdown:[M.dropdown,il,Q.medium,{color:P.menuItemText,borderColor:P.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(t={},t["&:hover ."+M.title]=[!S&&K,{borderColor:b?R.neutralSecondary:R.neutralPrimary},Ty],t["&:focus ."+M.title]=[!S&&K,{selectors:(e={},e[re]={color:"Highlight"},e)}],t["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:S?"none":"2px solid "+R.themePrimary,borderRadius:"2px",selectors:(o={},o[re]={color:"Highlight"},o)}],t["&:active ."+M.title]=[!S&&K,{borderColor:R.themePrimary},Ty],t["&:hover ."+M.caretDown]=!S&&J,t["&:focus ."+M.caretDown]=[!S&&J,{selectors:(s={},s[re]={color:"Highlight"},s)}],t["&:active ."+M.caretDown]=!S&&J,t["&:hover ."+M.titleIsPlaceHolder]=!S&&J,t["&:focus ."+M.titleIsPlaceHolder]=!S&&J,t["&:active ."+M.titleIsPlaceHolder]=!S&&J,t["&:hover ."+M.titleHasError]=ne,t["&:active ."+M.titleHasError]=ne,t)},b&&"is-open",S&&"is-disabled",F&&"is-required",F&&!C&&{selectors:(a={":before":{content:"'*'",color:P.errorText,position:"absolute",top:-5,right:-10}},a[re]={selectors:{":after":{right:-14}}},a)}],title:[M.title,il,{backgroundColor:P.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:P.inputBorder,borderRadius:b?le:W.roundedCorner2,cursor:"pointer",display:"block",height:ac,lineHeight:ac-2,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},D&&[M.titleIsPlaceHolder,{color:P.inputPlaceholderText}],y&&[M.titleHasError,ne],S&&{backgroundColor:P.disabledBackground,border:"none",color:P.disabledText,cursor:"default",selectors:(u={},u[re]=k({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},tt()),u)}],caretDownWrapper:[M.caretDownWrapper,{position:"absolute",top:1,right:8,height:ac,lineHeight:ac-2},!S&&{cursor:"pointer"}],caretDown:[M.caretDown,{color:R.neutralSecondary,fontSize:Q.small.fontSize,pointerEvents:"none"},S&&{color:P.disabledText,selectors:(d={},d[re]=k({color:"GrayText"},tt()),d)}],errorMessage:k(k({color:P.errorText},g.fonts.small),{paddingTop:5}),callout:[M.callout,{boxShadow:W.elevation8,borderRadius:z,selectors:(f={},f[".ms-Callout-main"]={borderRadius:z},f)},L],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[M.dropdownItems,{display:"block"}],dropdownItem:Qt(ie,[B()]),dropdownItemSelected:Z,dropdownItemDisabled:se,dropdownItemSelectedAndDisabled:[Z,se,{backgroundColor:"transparent"}],dropdownItemHidden:Qt(ie,[{display:"none"}]),dropdownDivider:[M.dropdownDivider,{height:1,backgroundColor:P.bodyDivider}],dropdownOptionText:[M.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:[M.dropdownItemHeader,k(k({},Q.medium),{fontWeight:it.semibold,color:P.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:mh,lineHeight:mh,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(m={},m[re]=k({color:"GrayText"},tt()),m)})],subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"}},panel:{root:[A],main:{selectors:(h={},h[cM]={width:272},h)},contentInner:{padding:"0 0 20px"}}}}},Ri=Fe(aM,dM,void 0,{scope:"Dropdown"});function pM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('"+n+"fabric-icons-a13498cf.woff') format('woff')"},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}};nn(t,r)}function hM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('"+n+"fabric-icons-0-467ee27f.woff') format('woff')"},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}};nn(t,r)}function fM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('"+n+"fabric-icons-1-4d521695.woff') format('woff')"},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}};nn(t,r)}function mM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('"+n+"fabric-icons-2-63c99abf.woff') format('woff')"},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}};nn(t,r)}function gM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('"+n+"fabric-icons-3-089e217a.woff') format('woff')"},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}};nn(t,r)}function vM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('"+n+"fabric-icons-4-a656cc0a.woff') format('woff')"},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}};nn(t,r)}function yM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('"+n+"fabric-icons-5-f95ba260.woff') format('woff')"},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}};nn(t,r)}function _M(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('"+n+"fabric-icons-6-ef6fd590.woff') format('woff')"},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}};nn(t,r)}function bM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('"+n+"fabric-icons-7-2b97bb99.woff') format('woff')"},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}};nn(t,r)}function CM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('"+n+"fabric-icons-8-6fdf1528.woff') format('woff')"},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}};nn(t,r)}function xM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('"+n+"fabric-icons-9-c6162b42.woff') format('woff')"},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}};nn(t,r)}function wM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('"+n+"fabric-icons-10-c4ded8e4.woff') format('woff')"},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}};nn(t,r)}function SM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('"+n+"fabric-icons-11-2a8393d6.woff') format('woff')"},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}};nn(t,r)}function EM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('"+n+"fabric-icons-12-7e945a1e.woff') format('woff')"},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}};nn(t,r)}function kM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('"+n+"fabric-icons-13-c3989a02.woff') format('woff')"},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}};nn(t,r)}function IM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('"+n+"fabric-icons-14-5cf58db8.woff') format('woff')"},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}};nn(t,r)}function FM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('"+n+"fabric-icons-15-3807251b.woff') format('woff')"},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}};nn(t,r)}function DM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('"+n+"fabric-icons-16-9cf93f3b.woff') format('woff')"},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}};nn(t,r)}function TM(n,r){n===void 0&&(n="");var t={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('"+n+"fabric-icons-17-0c4ed701.woff') format('woff')"},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}};nn(t,r)}var AM=function(){Ii("trash","delete"),Ii("onedrive","onedrivelogo"),Ii("alertsolid12","eventdatemissed12"),Ii("sixpointstar","6pointstar"),Ii("twelvepointstar","12pointstar"),Ii("toggleon","toggleleft"),Ii("toggleoff","toggleright")};Qh("@uifabric/icons","7.9.5");var MM="https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001/assets/icons/",Ay=Re();function PM(n,r){n===void 0&&(n=((e=(t=Ay)===null||t===void 0?void 0:t.FabricConfig)===null||e===void 0?void 0:e.iconBaseUrl)||((s=(o=Ay)===null||o===void 0?void 0:o.FabricConfig)===null||s===void 0?void 0:s.fontBaseUrl)||MM);var t,e,o,s;[pM,hM,fM,mM,gM,vM,yM,_M,bM,CM,xM,wM,SM,EM,kM,IM,FM,DM,TM].forEach(function(a){return a(n,r)}),AM()}var Ee;(function(n){n[n.info=0]="info",n[n.error=1]="error",n[n.blocked=2]="blocked",n[n.severeWarning=3]="severeWarning",n[n.success=4]="success",n[n.warning=5]="warning"})(Ee||(Ee={}));var RM=ke(),NM=(function(n){be(r,n);function r(t){var e,o=n.call(this,t)||this;return o.ICON_MAP=(e={},e[Ee.info]="Info",e[Ee.warning]="Info",e[Ee.error]="ErrorBadge",e[Ee.blocked]="Blocked2",e[Ee.severeWarning]="Warning",e[Ee.success]="Completed",e),o._getRegionProps=function(){var s=!!o._getActionsDiv()||!!o._getDismissDiv(),a={"aria-describedby":o.state.labelId,role:"region"};return s?a:{}},o._onClick=function(s){o.setState({expandSingleLine:!o.state.expandSingleLine})},rt(o),o.state={labelId:_t("MessageBar"),showContent:!1,expandSingleLine:!1},o}return r.prototype.render=function(){var t=this.props.isMultiline;return this._classNames=this._getClassNames(),t?this._renderMultiLine():this._renderSingleLine()},r.prototype._getActionsDiv=function(){return this.props.actions?_.createElement("div",{className:this._classNames.actions},this.props.actions):null},r.prototype._getDismissDiv=function(){var t=this.props,e=t.onDismiss,o=t.dismissIconProps;return e?_.createElement(kr,{disabled:!1,className:this._classNames.dismissal,onClick:e,iconProps:o||{iconName:"Clear"},title:this.props.dismissButtonAriaLabel,ariaLabel:this.props.dismissButtonAriaLabel}):null},r.prototype._getDismissSingleLine=function(){return this.props.onDismiss?_.createElement("div",{className:this._classNames.dismissSingleLine},this._getDismissDiv()):null},r.prototype._getExpandSingleLine=function(){return!this.props.actions&&this.props.truncated?_.createElement("div",{className:this._classNames.expandSingleLine},_.createElement(kr,{disabled:!1,className:this._classNames.expand,onClick:this._onClick,iconProps:{iconName:this.state.expandSingleLine?"DoubleChevronUp":"DoubleChevronDown"},ariaLabel:this.props.overflowButtonAriaLabel,"aria-expanded":this.state.expandSingleLine})):null},r.prototype._getIconSpan=function(){var t=this.props.messageBarIconProps;return _.createElement("div",{className:this._classNames.iconContainer,"aria-hidden":!0},t?_.createElement(Ke,k({},t,{className:Et(this._classNames.icon,t.className)})):_.createElement(Ke,{iconName:this.ICON_MAP[this.props.messageBarType],className:this._classNames.icon}))},r.prototype._renderMultiLine=function(){return _.createElement("div",k({className:this._classNames.root},this._getRegionProps()),_.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getDismissDiv()),this._getActionsDiv())},r.prototype._renderSingleLine=function(){return _.createElement("div",k({className:this._classNames.root},this._getRegionProps()),_.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getExpandSingleLine(),this._getActionsDiv(),this._getDismissSingleLine()))},r.prototype._renderInnerText=function(){var t=qe(this.props,At,["className"]);return _.createElement("div",{className:this._classNames.text,id:this.state.labelId,role:"status","aria-live":this._getAnnouncementPriority()},_.createElement("span",k({className:this._classNames.innerText},t),_.createElement(Kc,null,_.createElement("span",null,this.props.children))))},r.prototype._getClassNames=function(){var t=this.props,e=t.theme,o=t.className,s=t.messageBarType,a=t.onDismiss,u=t.actions,d=t.truncated,f=t.isMultiline,m=this.state.expandSingleLine;return RM(this.props.styles,{theme:e,messageBarType:s||Ee.info,onDismiss:a!==void 0,actions:u!==void 0,truncated:d,isMultiline:f,expandSingleLine:m,className:o})},r.prototype._getAnnouncementPriority=function(){switch(this.props.messageBarType){case Ee.blocked:case Ee.error:case Ee.severeWarning:return"assertive"}return"polite"},r.defaultProps={messageBarType:Ee.info,onDismiss:void 0,isMultiline:!0},r})(_.Component),$o,qo,Yo,LM={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"},BM=($o={},$o[Ee.error]="errorBackground",$o[Ee.blocked]="errorBackground",$o[Ee.success]="successBackground",$o[Ee.warning]="warningBackground",$o[Ee.severeWarning]="severeWarningBackground",$o[Ee.info]="infoBackground",$o),jM=(qo={},qo[Ee.error]="rgba(255, 0, 0, 0.3)",qo[Ee.blocked]="rgba(255, 0, 0, 0.3)",qo[Ee.success]="rgba(48, 241, 73, 0.3)",qo[Ee.warning]="rgba(255, 254, 57, 0.3)",qo[Ee.severeWarning]="rgba(255, 0, 0, 0.3)",qo[Ee.info]="Window",qo),OM=(Yo={},Yo[Ee.error]="errorIcon",Yo[Ee.blocked]="errorIcon",Yo[Ee.success]="successIcon",Yo[Ee.warning]="warningIcon",Yo[Ee.severeWarning]="severeWarningIcon",Yo[Ee.info]="infoIcon",Yo),HM=function(n){var r,t,e,o,s,a=n.theme,u=n.className,d=n.onDismiss,f=n.truncated,m=n.isMultiline,h=n.expandSingleLine,g=n.messageBarType,y=g===void 0?Ee.info:g,C=a.semanticColors,x=a.fonts,b=Jc(0,_c),S=ze(LM,a),F={fontSize:Sn.xSmall,height:10,lineHeight:"10px",color:C.messageText,selectors:(r={},r[re]=k(k({},tt()),{color:"WindowText"}),r)},D=[Jt(a,{inset:1,highContrastStyle:{outlineOffset:"-6px",outline:"1px solid Highlight"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":F,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[S.root,x.medium,y===Ee.error&&S.error,y===Ee.blocked&&S.blocked,y===Ee.severeWarning&&S.severeWarning,y===Ee.success&&S.success,y===Ee.warning&&S.warning,m?S.multiline:S.singleline,!m&&d&&S.dismissalSingleLine,!m&&f&&S.expandingSingleLine,{background:C[BM[y]],color:C.messageText,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:(t={".ms-Link":{color:C.messageLink,selectors:{":hover":{color:C.messageLinkHovered}}}},t[re]=k(k({},tt()),{background:jM[y],border:"1px solid WindowText",color:"WindowText"}),t)},m&&{flexDirection:"column"},u],content:[S.content,{display:"flex",width:"100%",lineHeight:"normal"}],iconContainer:[S.iconContainer,{fontSize:Sn.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"}],icon:{color:C[OM[y]],selectors:(e={},e[re]=k(k({},tt()),{color:"WindowText"}),e)},text:[S.text,k(k({minWidth:0,display:"flex",flexGrow:1,margin:8},x.small),{selectors:(o={},o[re]=k({},tt()),o)}),!d&&{marginRight:12}],innerText:[S.innerText,{lineHeight:16,selectors:{"& span a":{paddingLeft:4}}},f&&{overflow:"visible",whiteSpace:"pre-wrap"},!m&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!m&&!f&&{selectors:(s={},s[b]={overflow:"visible",whiteSpace:"pre-wrap"},s)},h&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:S.dismissSingleLine,expandSingleLine:S.expandSingleLine,dismissal:[S.dismissal,D],expand:[S.expand,D],actions:[m?S.actions:S.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}}},m&&{marginBottom:8},d&&!m&&{marginRight:0}]}},Fs=Fe(NM,HM,void 0,{scope:"MessageBar"}),My=ke(),WM=.01,zM=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;e._onRenderProgress=function(s){var a=e.props,u=a.ariaValueText,d=a.barHeight,f=a.className,m=a.description,h=a.label,g=h===void 0?e.props.title:h,y=a.styles,C=a.theme,x=typeof e.props.percentComplete=="number"?Math.min(100,Math.max(0,e.props.percentComplete*100)):void 0,b=My(y,{theme:C,className:f,barHeight:d,indeterminate:x===void 0}),S={width:x!==void 0?x+"%":void 0,transition:x!==void 0&&x<WM?"none":void 0},F=x!==void 0?0:void 0,D=x!==void 0?100:void 0,A=x!==void 0?Math.floor(x):void 0;return _.createElement("div",{className:b.itemProgress},_.createElement("div",{className:b.progressTrack}),_.createElement("div",{className:b.progressBar,style:S,role:"progressbar","aria-describedby":m?e._descriptionId:void 0,"aria-labelledby":g?e._labelId:void 0,"aria-valuemin":F,"aria-valuemax":D,"aria-valuenow":A,"aria-valuetext":u}))};var o=_t("progress-indicator");return e._labelId=o+"-label",e._descriptionId=o+"-description",e}return r.prototype.render=function(){var t=this.props,e=t.barHeight,o=t.className,s=t.label,a=s===void 0?this.props.title:s,u=t.description,d=t.styles,f=t.theme,m=t.progressHidden,h=t.onRenderProgress,g=h===void 0?this._onRenderProgress:h,y=typeof this.props.percentComplete=="number"?Math.min(100,Math.max(0,this.props.percentComplete*100)):void 0,C=My(d,{theme:f,className:o,barHeight:e,indeterminate:y===void 0});return _.createElement("div",{className:C.root},a?_.createElement("div",{id:this._labelId,className:C.itemName},a):null,m?null:g(k(k({},this.props),{percentComplete:y}),this._onRenderProgress),u?_.createElement("div",{id:this._descriptionId,className:C.itemDescription},u):null)},r.defaultProps={label:"",description:"",width:180},r})(_.Component),UM={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},GM=st(function(){return Ot({"0%":{left:"-30%"},"100%":{left:"100%"}})}),VM=st(function(){return Ot({"100%":{right:"-30%"},"0%":{right:"100%"}})}),KM=function(n){var r,t,e,o=ht(n.theme),s=n.className,a=n.indeterminate,u=n.theme,d=n.barHeight,f=d===void 0?2:d,m=u.palette,h=u.semanticColors,g=u.fonts,y=ze(UM,u),C=8,x=18,b=m.neutralLight;return{root:[y.root,g.medium,s],itemName:[y.itemName,_I,{color:h.bodyText,paddingTop:C/2,lineHeight:x+2}],itemDescription:[y.itemDescription,{color:h.bodySubtext,fontSize:g.small.fontSize,lineHeight:x}],itemProgress:[y.itemProgress,{position:"relative",overflow:"hidden",height:f,padding:C+"px 0"}],progressTrack:[y.progressTrack,{position:"absolute",width:"100%",height:f,backgroundColor:b,selectors:(r={},r[re]={borderBottom:"1px solid WindowText"},r)}],progressBar:[{backgroundColor:m.themePrimary,height:f,position:"absolute",transition:"width .3s ease",width:0,selectors:(t={},t[re]=k({backgroundColor:"highlight"},tt()),t)},a?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, "+b+" 0%, "+(m.themePrimary+" 50%, "+b+" 100%)"),animation:(o?VM():GM())+" 3s infinite",selectors:(e={},e[re]={background:"highlight"},e)}:{transition:"width .15s linear"},y.progressBar]}},U0=Fe(zM,KM,void 0,{scope:"ProgressIndicator"}),$M={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},qM=function(n){var r,t,e=n.className,o=n.theme,s=ze($M,o),a={position:"absolute",pointerEvents:"none"},u={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[s.root,o.fonts.medium,u,e],contentContainer:[s.contentContainer,{overflowY:n.scrollbarVisibility==="always"?"scroll":"auto"},u],stickyAbove:[{top:0,zIndex:1,selectors:(r={},r[re]={borderBottom:"1px solid WindowText"},r)},a],stickyBelow:[{bottom:0,selectors:(t={},t[re]={borderTop:"1px solid WindowText"},t)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}},YM=_.createContext({scrollablePane:void 0}),ZM=ke(),XM=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._root=_.createRef(),e._stickyAboveRef=_.createRef(),e._stickyBelowRef=_.createRef(),e._contentContainer=_.createRef(),e.subscribe=function(o){e._subscribers.add(o)},e.unsubscribe=function(o){e._subscribers.delete(o)},e.addSticky=function(o){e._stickies.add(o),e.contentContainer&&(o.setDistanceFromTop(e.contentContainer),e.sortSticky(o))},e.removeSticky=function(o){e._stickies.delete(o),e._removeStickyFromContainers(o),e.notifySubscribers()},e.sortSticky=function(o,s){e.stickyAbove&&e.stickyBelow&&(s&&e._removeStickyFromContainers(o),o.canStickyTop&&o.stickyContentTop&&e._addToStickyContainer(o,e.stickyAbove,o.stickyContentTop),o.canStickyBottom&&o.stickyContentBottom&&e._addToStickyContainer(o,e.stickyBelow,o.stickyContentBottom))},e.updateStickyRefHeights=function(){var o=e._stickies,s=0,a=0;o.forEach(function(u){var d=u.state,f=d.isStickyTop,m=d.isStickyBottom;u.nonStickyContent&&(f&&(s+=u.nonStickyContent.offsetHeight),m&&(a+=u.nonStickyContent.offsetHeight),e._checkStickyStatus(u))}),e.setState({stickyTopHeight:s,stickyBottomHeight:a})},e.notifySubscribers=function(){e.contentContainer&&e._subscribers.forEach(function(o){o(e.contentContainer,e.stickyBelow)})},e.getScrollPosition=function(){return e.contentContainer?e.contentContainer.scrollTop:0},e.syncScrollSticky=function(o){o&&e.contentContainer&&o.syncScroll(e.contentContainer)},e._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:e.subscribe,unsubscribe:e.unsubscribe,addSticky:e.addSticky,removeSticky:e.removeSticky,updateStickyRefHeights:e.updateStickyRefHeights,sortSticky:e.sortSticky,notifySubscribers:e.notifySubscribers,syncScrollSticky:e.syncScrollSticky}}},e._addToStickyContainer=function(o,s,a){if(!s.children.length)s.appendChild(a);else if(!s.contains(a)){var u=[].slice.call(s.children),d=[];e._stickies.forEach(function(x){(s===e.stickyAbove&&o.canStickyTop||o.canStickyBottom)&&d.push(x)});for(var f=d.sort(function(x,b){return(x.state.distanceFromTop||0)-(b.state.distanceFromTop||0)}).filter(function(x){var b=s===e.stickyAbove?x.stickyContentTop:x.stickyContentBottom;return b?u.indexOf(b)>-1:!1}),m=void 0,h=0,g=f;h<g.length;h++){var y=g[h];if((y.state.distanceFromTop||0)>=(o.state.distanceFromTop||0)){m=y;break}}var C=null;m&&(C=s===e.stickyAbove?m.stickyContentTop:m.stickyContentBottom),s.insertBefore(a,C)}},e._removeStickyFromContainers=function(o){e.stickyAbove&&o.stickyContentTop&&e.stickyAbove.contains(o.stickyContentTop)&&e.stickyAbove.removeChild(o.stickyContentTop),e.stickyBelow&&o.stickyContentBottom&&e.stickyBelow.contains(o.stickyContentBottom)&&e.stickyBelow.removeChild(o.stickyContentBottom)},e._onWindowResize=function(){var o=e._getScrollbarWidth(),s=e._getScrollbarHeight();e.setState({scrollbarWidth:o,scrollbarHeight:s}),e.notifySubscribers()},e._getStickyContainerStyle=function(o,s){return k(k({height:o},ht(e.props.theme)?{right:"0",left:(e.state.scrollbarWidth||e._getScrollbarWidth()||0)+"px"}:{left:"0",right:(e.state.scrollbarWidth||e._getScrollbarWidth()||0)+"px"}),s?{top:"0"}:{bottom:(e.state.scrollbarHeight||e._getScrollbarHeight()||0)+"px"})},e._onScroll=function(){var o=e.contentContainer;o&&e._stickies.forEach(function(s){s.syncScroll(o)}),e._notifyThrottled()},e._subscribers=new Set,e._stickies=new Set,rt(e),e._async=new tn(e),e._events=new mt(e),e.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},e._notifyThrottled=e._async.throttle(e.notifySubscribers,50),e}return Object.defineProperty(r.prototype,"root",{get:function(){return this._root.current},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!0,configurable:!0}),r.prototype.componentDidMount=function(){var t=this,e=this.props.initialScrollPosition;this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(window,"resize",this._onWindowResize),this.contentContainer&&e&&(this.contentContainer.scrollTop=e),this.setStickiesDistanceFromTop(),this._stickies.forEach(function(o){t.sortSticky(o)}),this.notifySubscribers(),"MutationObserver"in window&&(this._mutationObserver=new MutationObserver(function(o){function s(d){return this.stickyAbove!==null&&this.stickyBelow!==null?this.stickyAbove.contains(d.target)||this.stickyBelow.contains(d.target):!1}var a=t._getScrollbarHeight();if(a!==t.state.scrollbarHeight&&t.setState({scrollbarHeight:a}),t.notifySubscribers(),o.some(s.bind(t)))t.updateStickyRefHeights();else{var u=[];t._stickies.forEach(function(d){d.root&&d.root.contains(o[0].target)&&u.push(d)}),u.length&&u.forEach(function(d){d.forceUpdate()})}}),this.root&&this._mutationObserver.observe(this.root,{childList:!0,attributes:!0,subtree:!0,characterData:!0}))},r.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},r.prototype.shouldComponentUpdate=function(t,e){return this.props.children!==t.children||this.props.initialScrollPosition!==t.initialScrollPosition||this.props.className!==t.className||this.state.stickyTopHeight!==e.stickyTopHeight||this.state.stickyBottomHeight!==e.stickyBottomHeight||this.state.scrollbarWidth!==e.scrollbarWidth||this.state.scrollbarHeight!==e.scrollbarHeight},r.prototype.componentDidUpdate=function(t,e){var o=this.props.initialScrollPosition;this.contentContainer&&typeof o=="number"&&t.initialScrollPosition!==o&&(this.contentContainer.scrollTop=o),(e.stickyTopHeight!==this.state.stickyTopHeight||e.stickyBottomHeight!==this.state.stickyBottomHeight)&&this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},r.prototype.render=function(){var t=this.props,e=t.className,o=t.theme,s=t.styles,a=this.state,u=a.stickyTopHeight,d=a.stickyBottomHeight,f=ZM(s,{theme:o,className:e,scrollbarVisibility:this.props.scrollbarVisibility});return _.createElement("div",k({},qe(this.props,en),{ref:this._root,className:f.root}),_.createElement("div",{ref:this._stickyAboveRef,className:f.stickyAbove,style:this._getStickyContainerStyle(u,!0)}),_.createElement("div",{ref:this._contentContainer,className:f.contentContainer,"data-is-scrollable":!0},_.createElement(YM.Provider,{value:this._getScrollablePaneContext()},this.props.children)),_.createElement("div",{className:f.stickyBelow,style:this._getStickyContainerStyle(d,!1)},_.createElement("div",{ref:this._stickyBelowRef,className:f.stickyBelowItems})))},r.prototype.setStickiesDistanceFromTop=function(){var t=this;this.contentContainer&&this._stickies.forEach(function(e){e.setDistanceFromTop(t.contentContainer)})},r.prototype.forceLayoutUpdate=function(){this._onWindowResize()},r.prototype._checkStickyStatus=function(t){this.stickyAbove&&this.stickyBelow&&this.contentContainer&&t.nonStickyContent&&(t.state.isStickyTop||t.state.isStickyBottom?(t.state.isStickyTop&&!this.stickyAbove.contains(t.nonStickyContent)&&t.stickyContentTop&&t.addSticky(t.stickyContentTop),t.state.isStickyBottom&&!this.stickyBelow.contains(t.nonStickyContent)&&t.stickyContentBottom&&t.addSticky(t.stickyContentBottom)):this.contentContainer.contains(t.nonStickyContent)||t.resetSticky())},r.prototype._getScrollbarWidth=function(){var t=this.contentContainer;return t?t.offsetWidth-t.clientWidth:0},r.prototype._getScrollbarHeight=function(){var t=this.contentContainer;return t?t.offsetHeight-t.clientHeight:0},r})(_.Component),QM=Fe(XM,qM,void 0,{scope:"ScrollablePane"}),JM=ke(),eP=function(n){var r=n.styles,t=n.theme,e=n.className,o=n.vertical,s=n.alignContent,a=JM(r,{theme:t,className:e,alignContent:s,vertical:o});return _.createElement("div",{className:a.root},_.createElement("div",{className:a.content,role:"separator","aria-orientation":o?"vertical":"horizontal"},n.children))},tP=function(n){var r,t,e=n.theme,o=n.alignContent,s=n.vertical,a=n.className,u=o==="start",d=o==="center",f=o==="end";return{root:[e.fonts.medium,{position:"relative"},o&&{textAlign:o},!o&&{textAlign:"center"},s&&(d||!o)&&{verticalAlign:"middle"},s&&u&&{verticalAlign:"top"},s&&f&&{verticalAlign:"bottom"},s&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":(r={backgroundColor:e.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1},r[re]={backgroundColor:"WindowText"},r)}},!s&&{padding:"4px 0",selectors:{":before":(t={backgroundColor:e.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"},t[re]={backgroundColor:"WindowText"},t)}},a],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:e.semanticColors.bodyText,background:e.semanticColors.bodyBackground},s&&{padding:"12px 0"}]}},G0=Fe(eP,tP,void 0,{scope:"Separator"});G0.displayName="Separator";var nP={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},Sl="100%",rP=st(function(){return Ot({"0%":{transform:"translateX(-"+Sl+")"},"100%":{transform:"translateX("+Sl+")"}})}),oP=st(function(){return Ot({"100%":{transform:"translateX(-"+Sl+")"},"0%":{transform:"translateX("+Sl+")"}})});function iP(n){var r,t=n.isDataLoaded,e=n.className,o=n.theme,s=n.transitionAnimationInterval,a=n.shimmerColor,u=n.shimmerWaveColor,d=o.semanticColors,f=ze(nP,o),m=ht(o);return{root:[f.root,o.fonts.medium,{position:"relative",height:"auto"},e],shimmerWrapper:[f.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:a||d.disabledBackground,transition:"opacity "+s+"ms",selectors:(r={"> *":{transform:"translateZ(0)"}},r[re]=k({background:`WindowText
                        linear-gradient(
                          to right,
                          transparent 0%,
                          Window 50%,
                          transparent 100%)
                        0 0 / 90% 100%
                        no-repeat`},tt()),r)},t&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"}],shimmerGradient:[f.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:(a||d.disabledBackground)+`
                      linear-gradient(
                        to right,
                        `+(a||d.disabledBackground)+` 0%,
                        `+(u||d.bodyDivider)+` 50%,
                        `+(a||d.disabledBackground)+` 100%)
                      0 0 / 90% 100%
                      no-repeat`,transform:"translateX(-"+Sl+")",animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:m?oP():rP()}],dataWrapper:[f.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity "+s+"ms"},t&&{opacity:"1",position:"static"}],screenReaderText:Ui}}var dn;(function(n){n[n.line=1]="line",n[n.circle=2]="circle",n[n.gap=3]="gap"})(dn||(dn={}));var Bs;(function(n){n[n.line=16]="line",n[n.gap=16]="gap",n[n.circle=24]="circle"})(Bs||(Bs={}));var sP=ke(),aP=function(n){var r=n.height,t=n.styles,e=n.width,o=e===void 0?"100%":e,s=n.borderStyle,a=n.theme,u=sP(t,{theme:a,height:r,borderStyle:s});return _.createElement("div",{style:{width:o,minWidth:typeof o=="number"?o+"px":"auto"},className:u.root},_.createElement("svg",{width:"2",height:"2",className:u.topLeftCorner},_.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),_.createElement("svg",{width:"2",height:"2",className:u.topRightCorner},_.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),_.createElement("svg",{width:"2",height:"2",className:u.bottomRightCorner},_.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),_.createElement("svg",{width:"2",height:"2",className:u.bottomLeftCorner},_.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},lP={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"};function uP(n){var r,t=n.height,e=n.borderStyle,o=n.theme,s=o.semanticColors,a=ze(lP,o),u=e||{},d={position:"absolute",fill:s.bodyBackground};return{root:[a.root,o.fonts.medium,{height:t+"px",boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:s.bodyBackground,borderWidth:0,selectors:(r={},r[re]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},r)},u],topLeftCorner:[a.topLeftCorner,{top:"0",left:"0"},d],topRightCorner:[a.topRightCorner,{top:"0",right:"0"},d],bottomRightCorner:[a.bottomRightCorner,{bottom:"0",right:"0"},d],bottomLeftCorner:[a.bottomLeftCorner,{bottom:"0",left:"0"},d]}}var Py=Fe(aP,uP,void 0,{scope:"ShimmerLine"}),cP=ke(),dP=function(n){var r=n.height,t=n.styles,e=n.width,o=e===void 0?"10px":e,s=n.borderStyle,a=n.theme,u=cP(t,{theme:a,height:r,borderStyle:s});return _.createElement("div",{style:{width:o,minWidth:typeof o=="number"?o+"px":"auto"},className:u.root})},pP={root:"ms-ShimmerGap-root"};function hP(n){var r,t=n.height,e=n.borderStyle,o=n.theme,s=o.semanticColors,a=ze(pP,o),u=e||{};return{root:[a.root,o.fonts.medium,{backgroundColor:s.bodyBackground,height:t+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:s.bodyBackground,selectors:(r={},r[re]={backgroundColor:"Window",borderColor:"Window"},r)},u]}}var fP=Fe(dP,hP,void 0,{scope:"ShimmerGap"}),mP={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"};function gP(n){var r,t,e=n.height,o=n.borderStyle,s=n.theme,a=s.semanticColors,u=ze(mP,s),d=o||{};return{root:[u.root,s.fonts.medium,{width:e+"px",height:e+"px",minWidth:e+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(r={},r[re]={borderColor:"Window"},r)},d],svg:[u.svg,{display:"block",fill:a.bodyBackground,selectors:(t={},t[re]={fill:"Window"},t)}]}}var vP=ke(),yP=function(n){var r=n.height,t=n.styles,e=n.borderStyle,o=n.theme,s=vP(t,{theme:o,height:r,borderStyle:e});return _.createElement("div",{className:s.root},_.createElement("svg",{viewBox:"0 0 10 10",width:r,height:r,className:s.svg},_.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"})))},_P=Fe(yP,gP,void 0,{scope:"ShimmerCircle"}),bP=ke(),CP=function(n){var r=n.styles,t=n.width,e=t===void 0?"auto":t,o=n.shimmerElements,s=n.rowHeight,a=s===void 0?SP(o||[]):s,u=n.flexWrap,d=u===void 0?!1:u,f=n.theme,m=n.backgroundColor,h=bP(r,{theme:f,flexWrap:d});return _.createElement("div",{style:{width:e},className:h.root},xP(o,m,a))};function xP(n,r,t){var e=n?n.map(function(o,s){var a=o.type,u=Vn(o,["type"]),d=u.verticalAlign,f=u.height,m=wP(d,a,f,r,t);switch(o.type){case dn.circle:return _.createElement(_P,k({key:s},u,{styles:m}));case dn.gap:return _.createElement(fP,k({key:s},u,{styles:m}));case dn.line:return _.createElement(Py,k({key:s},u,{styles:m}))}}):_.createElement(Py,{height:Bs.line});return e}var wP=st(function(n,r,t,e,o){var s=o&&t?o-t:0,a;if(!n||n==="center"?a={borderBottomWidth:(s?Math.floor(s/2):0)+"px",borderTopWidth:(s?Math.ceil(s/2):0)+"px"}:n&&n==="top"?a={borderBottomWidth:s+"px",borderTopWidth:"0px"}:n&&n==="bottom"&&(a={borderBottomWidth:"0px",borderTopWidth:s+"px"}),e)switch(r){case dn.circle:return{root:k(k({},a),{borderColor:e}),svg:{fill:e}};case dn.gap:return{root:k(k({},a),{borderColor:e,backgroundColor:e})};case dn.line:return{root:k(k({},a),{borderColor:e}),topLeftCorner:{fill:e},topRightCorner:{fill:e},bottomLeftCorner:{fill:e},bottomRightCorner:{fill:e}}}return{root:a}});function SP(n){var r=n.map(function(e){switch(e.type){case dn.circle:e.height||(e.height=Bs.circle);break;case dn.line:e.height||(e.height=Bs.line);break;case dn.gap:e.height||(e.height=Bs.gap);break}return e}),t=r.reduce(function(e,o){return o.height&&o.height>e?o.height:e},0);return t}var EP={root:"ms-ShimmerElementsGroup-root"};function kP(n){var r=n.flexWrap,t=n.theme,e=ze(EP,t);return{root:[e.root,t.fonts.medium,{display:"flex",alignItems:"center",flexWrap:r?"wrap":"nowrap",position:"relative"}]}}var Sc=Fe(CP,kP,void 0,{scope:"ShimmerElementsGroup"}),Ry=200,IP=ke(),FP=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return rt(e),e.state={contentLoaded:t.isDataLoaded},e._async=new tn(e),e}return r.prototype.componentDidUpdate=function(t){var e=this,o=this.props.isDataLoaded;o!==t.isDataLoaded&&(this._async.clearTimeout(this._lastTimeoutId),o?this._lastTimeoutId=this._async.setTimeout(function(){e.setState({contentLoaded:o})},Ry):this.setState({contentLoaded:o}))},r.prototype.componentWillUnmount=function(){this._async.dispose()},r.prototype.render=function(){var t=this.props,e=t.styles,o=t.shimmerElements,s=t.children,a=t.isDataLoaded,u=t.width,d=t.className,f=t.customElementsGroup,m=t.theme,h=t.ariaLabel,g=t.shimmerColors,y=this.state.contentLoaded;this._classNames=IP(e,{theme:m,isDataLoaded:a,className:d,transitionAnimationInterval:Ry,shimmerColor:g&&g.shimmer,shimmerWaveColor:g&&g.shimmerWave});var C=qe(this.props,en);return _.createElement("div",k({},C,{className:this._classNames.root}),!y&&_.createElement("div",{style:{width:u||"100%"},className:this._classNames.shimmerWrapper},_.createElement("div",{className:this._classNames.shimmerGradient}),f||_.createElement(Sc,{shimmerElements:o,backgroundColor:g&&g.background})),s&&_.createElement("div",{className:this._classNames.dataWrapper},s),h&&!a&&_.createElement("div",{role:"status","aria-live":"polite"},_.createElement(Kc,null,_.createElement("div",{className:this._classNames.screenReaderText},h))))},r.defaultProps={isDataLoaded:!1},r})(_.Component),DP=Fe(FP,iP,void 0,{scope:"Shimmer"}),TP=ke(),AP=10,MP=7,Ny=.95,PP=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._onRenderShimmerPlaceholder=function(o,s){var a=e.props.onRenderCustomPlaceholder,u=a?a(s,o,e._renderDefaultShimmerPlaceholder):e._renderDefaultShimmerPlaceholder(s);return _.createElement(DP,{customElementsGroup:u})},e._renderDefaultShimmerPlaceholder=function(o){var s=o.columns,a=o.compact,u=o.selectionMode,d=o.checkboxVisibility,f=o.cellStyleProps,m=f===void 0?lo:f,h=Wi.rowHeight,g=Wi.compactRowHeight,y=a?g:h+1,C=[],x=u!==He.none&&d!==sr.hidden;return x&&C.push(_.createElement(Sc,{key:"checkboxGap",shimmerElements:[{type:dn.gap,width:"40px",height:y}]})),s.forEach(function(b,S){var F=[],D=m.cellLeftPadding+m.cellRightPadding+b.calculatedWidth+(b.isPadded?m.cellExtraRightPadding:0);F.push({type:dn.gap,width:m.cellLeftPadding,height:y}),b.isIconOnly?(F.push({type:dn.line,width:b.calculatedWidth,height:b.calculatedWidth}),F.push({type:dn.gap,width:m.cellRightPadding,height:y})):(F.push({type:dn.line,width:b.calculatedWidth*Ny,height:MP}),F.push({type:dn.gap,width:m.cellRightPadding+(b.calculatedWidth-b.calculatedWidth*Ny)+(b.isPadded?m.cellExtraRightPadding:0),height:y})),C.push(_.createElement(Sc,{key:S,width:D+"px",shimmerElements:F}))}),C.push(_.createElement(Sc,{key:"endGap",width:"100%",shimmerElements:[{type:dn.gap,width:"100%",height:y}]})),_.createElement("div",{style:{display:"flex"}},C)},e._shimmerItems=t.shimmerLines?new Array(t.shimmerLines):new Array(AP),e}return r.prototype.render=function(){var t=this.props,e=t.detailsListStyles,o=t.enableShimmer,s=t.items,a=t.listProps;t.onRenderCustomPlaceholder;var u=t.removeFadingOverlay;t.shimmerLines;var d=t.styles,f=t.theme,m=t.ariaLabelForGrid,h=t.ariaLabelForShimmer,g=Vn(t,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),y=a&&a.className;this._classNames=TP(d,{theme:f});var C=k(k({},a),{className:o&&!u?Et(this._classNames.root,y):y});return _.createElement(xA,k({},g,{styles:e,items:o?this._shimmerItems:s,isPlaceholderData:o,ariaLabelForGrid:o&&h||m,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:C}))},r})(_.Component),RP=Fe(PP,wA,void 0,{scope:"ShimmeredDetailsList"}),Cf=k;function Ec(n,r){for(var t=[],e=2;e<arguments.length;e++)t[e-2]=arguments[e];var o=n;return o.isSlot?(t=_.Children.toArray(t),t.length===0?o(r):o(k(k({},r),{children:t}))):_.createElement.apply(Vy,Qt([n,r],t))}function V0(n,r){r===void 0&&(r={});var t=r.defaultProp,e=t===void 0?"children":t,o=function(s,a,u,d,f){if(_.isValidElement(a))return a;var m=LP(e,a),h=BP(d,f,s,m);if(u){if(u.component){var g=u.component;return _.createElement(g,k({},h))}if(u.render)return u.render(h,n)}return _.createElement(n,k({},h))};return o}var NP=st(function(n){return V0(n)});function K0(n,r){var t={},e=n,o=function(a){if(r.hasOwnProperty(a)){var u=function(d){for(var f=[],m=1;m<arguments.length;m++)f[m-1]=arguments[m];if(f.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return jP(r[a],d,e[a],e.slots&&e.slots[a],e._defaultStyles&&e._defaultStyles[a],e.theme)};u.isSlot=!0,t[a]=u}};for(var s in r)o(s);return t}function LP(n,r){var t,e;return typeof r=="string"||typeof r=="number"||typeof r=="boolean"?e=(t={},t[n]=r,t):e=r,e}function BP(n,r){for(var t=[],e=2;e<arguments.length;e++)t[e-2]=arguments[e];for(var o={},s=[],a=0,u=t;a<u.length;a++){var d=u[a];s.push(d&&d.className),Cf(o,d)}return o.className=R_([n,s],{rtl:ht(r)}),o}function jP(n,r,t,e,o,s){return n.create!==void 0?n.create(r,t,e,o):NP(n)(r,t,e,o,s)}function $0(n,r){r===void 0&&(r={});var t=r.factoryOptions,e=t===void 0?{}:t,o=e.defaultProp,s=function(a){var u=HP(r.displayName,_.useContext(dl),r.fields),d=r.state;d&&(a=k(k({},a),d(a)));var f=a.theme||u.theme,m=q0(a,f,r.tokens,u.tokens,a.tokens),h=OP(a,f,m,r.styles,u.styles,a.styles),g=k(k({},a),{styles:h,tokens:m,_defaultStyles:h,theme:f});return n(g)};return s.displayName=r.displayName||n.name,o&&(s.create=V0(s,{defaultProp:o})),Cf(s,r.statics),s}function OP(n,r,t){for(var e=[],o=3;o<arguments.length;o++)e[o-3]=arguments[o];return Gr.apply(void 0,e.map(function(s){return typeof s=="function"?s(n,r,t):s}))}function q0(n,r){for(var t=[],e=2;e<arguments.length;e++)t[e-2]=arguments[e];for(var o={},s=0,a=t;s<a.length;s++){var u=a[s];u&&(u=typeof u=="function"?u(n,r):u,Array.isArray(u)&&(u=q0.apply(void 0,Qt([n,r],u))),Cf(o,u))}return o}function HP(n,r,t){var e=["theme","styles","tokens"];return wr.getSettings(t||e,n,r.customizations)}var WP={root:"ms-StackItem"},zP={start:"flex-start",end:"flex-end"},UP=function(n,r,t){var e=n.grow,o=n.shrink,s=n.disableShrink,a=n.align,u=n.verticalFill,d=n.order,f=n.className,m=ze(WP,r);return{root:[r.fonts.medium,m.root,{margin:t.margin,padding:t.padding,height:u?"100%":"auto",width:"auto"},e&&{flexGrow:e===!0?1:e},(s||!e&&!o)&&{flexShrink:0},o&&!s&&{flexShrink:1},a&&{alignSelf:zP[a]||a},d&&{order:d},f]}},GP=function(n){var r=n.children,t=qe(n,At);if(_.Children.count(r)<1)return null;var e=K0(n,{root:"div"});return Ec(e.root,k({},t),r)},Y0=$0(GP,{displayName:"StackItem",styles:UP}),js=function(n,r){return r.spacing.hasOwnProperty(n)?r.spacing[n]:n},gh=function(n){var r=parseFloat(n),t=isNaN(r)?0:r,e=isNaN(r)?"":r.toString(),o=n.substring(e.toString().length);return{value:t,unit:o||"px"}},VP=function(n,r){if(n===void 0||n==="")return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(typeof n=="number")return{rowGap:{value:n,unit:"px"},columnGap:{value:n,unit:"px"}};var t=n.split(" ");if(t.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(t.length===2)return{rowGap:gh(js(t[0],r)),columnGap:gh(js(t[1],r))};var e=gh(js(n,r));return{rowGap:e,columnGap:e}},Ly=function(n,r){if(n===void 0||typeof n=="number"||n==="")return n;var t=n.split(" ");return t.length<2?js(n,r):t.reduce(function(e,o){return js(e,r)+" "+js(o,r)})},Is={start:"flex-start",end:"flex-end"},KP={root:"ms-Stack",inner:"ms-Stack-inner"},$P=function(n,r,t){var e,o,s,a,u,d,f,m=n.verticalFill,h=n.horizontal,g=n.reversed,y=n.grow,C=n.wrap,x=n.horizontalAlign,b=n.verticalAlign,S=n.disableShrink,F=n.className,D=ze(KP,r),A=t&&t.childrenGap?t.childrenGap:n.gap,L=t&&t.maxHeight?t.maxHeight:n.maxHeight,j=t&&t.maxWidth?t.maxWidth:n.maxWidth,M=t&&t.padding?t.padding:n.padding,R=VP(A,r),P=R.rowGap,W=R.columnGap,Q=""+-.5*W.value+W.unit,K=""+-.5*P.value+P.unit,J={textOverflow:"ellipsis"},ne={"> *:not(.ms-StackItem)":{flexShrink:S?0:1}};return C?{root:[D.root,{flexWrap:"wrap",maxWidth:j,maxHeight:L,width:"auto",overflow:"visible",height:"100%"},x&&(e={},e[h?"justifyContent":"alignItems"]=Is[x]||x,e),b&&(o={},o[h?"alignItems":"justifyContent"]=Is[b]||b,o),F,{display:"flex"},h&&{height:m?"100%":"auto"}],inner:[D.inner,{display:"flex",flexWrap:"wrap",marginLeft:Q,marginRight:Q,marginTop:K,marginBottom:K,overflow:"visible",boxSizing:"border-box",padding:Ly(M,r),width:W.value===0?"100%":"calc(100% + "+W.value+W.unit+")",maxWidth:"100vw",selectors:k({"> *":k({margin:""+.5*P.value+P.unit+" "+.5*W.value+W.unit},J)},ne)},x&&(s={},s[h?"justifyContent":"alignItems"]=Is[x]||x,s),b&&(a={},a[h?"alignItems":"justifyContent"]=Is[b]||b,a),h&&{flexDirection:g?"row-reverse":"row",height:P.value===0?"100%":"calc(100% + "+P.value+P.unit+")",selectors:{"> *":{maxWidth:W.value===0?"100%":"calc(100% - "+W.value+W.unit+")"}}},!h&&{flexDirection:g?"column-reverse":"column",height:"calc(100% + "+P.value+P.unit+")",selectors:{"> *":{maxHeight:P.value===0?"100%":"calc(100% - "+P.value+P.unit+")"}}}]}:{root:[D.root,{display:"flex",flexDirection:h?g?"row-reverse":"row":g?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:m?"100%":"auto",maxWidth:j,maxHeight:L,padding:Ly(M,r),boxSizing:"border-box",selectors:k((u={"> *":J},u[g?"> *:not(:last-child)":"> *:not(:first-child)"]=[h&&{marginLeft:""+W.value+W.unit},!h&&{marginTop:""+P.value+P.unit}],u),ne)},y&&{flexGrow:y===!0?1:y},x&&(d={},d[h?"justifyContent":"alignItems"]=Is[x]||x,d),b&&(f={},f[h?"alignItems":"justifyContent"]=Is[b]||b,f),F]}},qP=function(n){var r=n.as,t=r===void 0?"div":r,e=n.disableShrink,o=n.wrap,s=Vn(n,["as","disableShrink","wrap"]),a=_.Children.map(n.children,function(f,m){if(!f)return null;if(YP(f)){var h={shrink:!e};return _.cloneElement(f,k(k({},h),f.props))}return f}),u=qe(s,At),d=K0(n,{root:t,inner:"div"});return o?Ec(d.root,k({},u),Ec(d.inner,null,a)):Ec(d.root,k({},u),a)};function YP(n){return!!n&&typeof n=="object"&&!!n.type&&n.type.displayName===Y0.displayName}var ZP={Item:Y0},V=$0(qP,{displayName:"Stack",styles:$P,statics:ZP}),XP=ke(),QP=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e.rootElement=_.createRef(),e._onKeyDown=function(o){e.props.onDismiss&&o.which===he.escape&&e.props.onDismiss()},rt(e),e.state={},e}return r.prototype.componentDidMount=function(){this.props.onDismiss&&document.addEventListener("keydown",this._onKeyDown,!1)},r.prototype.componentWillUnmount=function(){this.props.onDismiss&&document.removeEventListener("keydown",this._onKeyDown)},r.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},r.prototype.render=function(){var t=this.props,e=t.children,o=t.illustrationImage,s=t.primaryButtonProps,a=t.secondaryButtonProps,u=t.headline,d=t.hasCondensedHeadline,f=t.hasCloseButton,m=f===void 0?this.props.hasCloseIcon:f,h=t.onDismiss,g=t.closeButtonAriaLabel,y=t.hasSmallHeadline,C=t.isWide,x=t.styles,b=t.theme,S=t.ariaDescribedBy,F=t.ariaLabelledBy,D=t.footerContent,A=t.focusTrapZoneProps,L,j,M,R,P,W=XP(x,{theme:b,hasCondensedHeadline:d,hasSmallHeadline:y,hasCloseButton:m,hasHeadline:!!u,isWide:C,primaryButtonClassName:s?s.className:void 0,secondaryButtonClassName:a?a.className:void 0});if(o&&o.src&&(L=_.createElement("div",{className:W.imageContent},_.createElement(gl,k({},o)))),u){var Q=typeof u=="string"?"p":"div";j=_.createElement("div",{className:W.header},_.createElement(Q,{role:"heading","aria-level":3,className:W.headline,id:F},u))}if(e){var K=typeof e=="string"?"p":"div";M=_.createElement("div",{className:W.body},_.createElement(K,{className:W.subText,id:S},e))}return(s||a||D)&&(R=_.createElement(V,{className:W.footer,horizontal:!0,horizontalAlign:D?"space-between":"end"},_.createElement(V.Item,{align:"center"},_.createElement("span",null,D)),_.createElement(V.Item,null,a&&_.createElement(xt,k({},a,{className:W.secondaryButton})),s&&_.createElement(An,k({},s,{className:W.primaryButton}))))),m&&(P=_.createElement(kr,{className:W.closeButton,iconProps:{iconName:"Cancel"},title:g,ariaLabel:g,onClick:h})),_.createElement("div",{className:W.content,ref:this.rootElement,role:"dialog",tabIndex:-1,"aria-labelledby":F,"aria-describedby":S,"data-is-focusable":!0},L,_.createElement(Zs,k({isClickableOutsideFocusTrap:!0},A),_.createElement("div",{className:W.bodyContent},j,M,R,P)))},r})(_.Component),JP={root:"ms-TeachingBubble",body:"ms-TeachingBubble-body",bodyContent:"ms-TeachingBubble-bodycontent",closeButton:"ms-TeachingBubble-closebutton",content:"ms-TeachingBubble-content",footer:"ms-TeachingBubble-footer",header:"ms-TeachingBubble-header",headerIsCondensed:"ms-TeachingBubble-header--condensed",headerIsSmall:"ms-TeachingBubble-header--small",headerIsLarge:"ms-TeachingBubble-header--large",headline:"ms-TeachingBubble-headline",image:"ms-TeachingBubble-image",primaryButton:"ms-TeachingBubble-primaryButton",secondaryButton:"ms-TeachingBubble-secondaryButton",subText:"ms-TeachingBubble-subText",button:"ms-Button",buttonLabel:"ms-Button-label"},eR=st(function(){return Ot({"0%":{opacity:0,animationTimingFunction:oo.easeFunction1,transform:"scale3d(.90,.90,.90)"},"100%":{opacity:1,transform:"scale3d(1,1,1)"}})}),By=function(n,r){var t=r||{},e=t.calloutWidth,o=t.calloutMaxWidth;return[{display:"block",maxWidth:364,border:0,outline:"transparent",width:e||"calc(100% + 1px)",animationName:""+eR(),animationDuration:"300ms",animationTimingFunction:"linear",animationFillMode:"both"},n&&{maxWidth:o||456}]},tR=function(n,r,t){return r?[n.headerIsCondensed,{marginBottom:14}]:[t&&n.headerIsSmall,!t&&n.headerIsLarge,{selectors:{":not(:last-child)":{marginBottom:14}}}]},Z0=function(n){var r,t,e,o=n.hasCondensedHeadline,s=n.hasSmallHeadline,a=n.hasCloseButton,u=n.hasHeadline,d=n.isWide,f=n.primaryButtonClassName,m=n.secondaryButtonClassName,h=n.theme,g=n.calloutProps,y=g===void 0?{className:void 0}:g,C=!o&&!s,x=h.palette,b=h.semanticColors,S=h.fonts,F=ze(JP,h),D=Jt(h,{outlineColor:"transparent",borderColor:"transparent"});return{root:[F.root,S.medium,y.className],body:[F.body,a&&!u&&{marginRight:24},{selectors:{":not(:last-child)":{marginBottom:20}}}],bodyContent:[F.bodyContent,{padding:"20px 24px 20px 24px"}],closeButton:[F.closeButton,{position:"absolute",right:0,top:0,margin:"15px 15px 0 0",borderRadius:0,color:x.white,fontSize:S.small.fontSize,selectors:{":hover":{background:x.themeDarkAlt,color:x.white},":active":{background:x.themeDark,color:x.white},":focus":{border:"1px solid "+b.variantBorder}}}],content:Qt([F.content],By(d),[d&&{display:"flex"}]),footer:[F.footer,{display:"flex",flex:"auto",alignItems:"center",color:x.white,selectors:(r={},r["."+F.button+":not(:first-child)"]={marginLeft:10},r)}],header:Qt([F.header],tR(F,o,s),[a&&{marginRight:24},(o||s)&&[S.medium,{fontWeight:it.semibold}]]),headline:[F.headline,{margin:0,color:x.white,fontWeight:it.semibold},C&&[{fontSize:S.xLarge.fontSize}]],imageContent:[F.header,F.image,d&&{display:"flex",alignItems:"center",maxWidth:154}],primaryButton:[F.primaryButton,f,D,{backgroundColor:x.white,borderColor:x.white,color:x.themePrimary,whiteSpace:"nowrap",selectors:(t={},t["."+F.buttonLabel]=S.medium,t[":hover"]={backgroundColor:x.themeLighter,borderColor:x.themeLighter,color:x.themePrimary},t[":focus"]={backgroundColor:x.themeLighter,border:"1px solid "+x.black,outline:"1px solid "+x.white,outlineOffset:"-2px"},t[":active"]={backgroundColor:x.white,borderColor:x.white,color:x.themePrimary},t)}],secondaryButton:[F.secondaryButton,m,{backgroundColor:x.themePrimary,borderColor:x.white,whiteSpace:"nowrap",selectors:(e={},e["."+F.buttonLabel]=[S.medium,{color:x.white}],e[":hover"]={backgroundColor:x.themeDarkAlt,borderColor:x.white},e[":focus"]={backgroundColor:x.themeDark,border:"1px solid "+x.black,outline:"1px solid "+x.white,outlineOffset:"-2px"},e[":active"]={backgroundColor:x.themePrimary,borderColor:x.white},e)}],subText:[F.subText,{margin:0,fontSize:S.medium.fontSize,color:x.white,fontWeight:it.regular}],subComponentStyles:{callout:{root:Qt(By(d,y),[S.medium]),beak:[{background:x.themePrimary}],calloutMain:[{background:x.themePrimary}]}}}},nR=Fe(QP,Z0,void 0,{scope:"TeachingBubbleContent"}),rR=ke(),oR=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e.rootElement=_.createRef(),rt(e),e.state={},e._defaultCalloutProps={beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:ft.rightCenter},e}return r.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},r.prototype.render=function(){var t=this.props,e=t.calloutProps,o=t.targetElement,s=t.onDismiss,a=t.hasCloseButton,u=a===void 0?this.props.hasCloseIcon:a,d=t.isWide,f=t.styles,m=t.theme,h=t.target,g=k(k({},this._defaultCalloutProps),e),y={theme:m,isWide:d,calloutProps:k(k({},g),{theme:g.theme}),hasCloseButton:u},C=rR(f,y),x=C.subComponentStyles?C.subComponentStyles.callout:void 0;return _.createElement(Pl,k({target:h||o,onDismiss:s},g,{className:C.root,styles:x,hideOverflow:!0}),_.createElement("div",{ref:this.rootElement},_.createElement(nR,k({},this.props))))},r.defaultProps={calloutProps:{beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:ft.rightCenter}},r})(_.Component),iR=Fe(oR,Z0,void 0,{scope:"TeachingBubble"}),sR=ke(),aR=(function(n){be(r,n);function r(t){var e=n.call(this,t)||this;return e._toggleButton=_.createRef(),e._onClick=function(o){var s=e.props,a=s.disabled,u=s.checked,d=s.onChange,f=s.onChanged,m=s.onClick,h=e.state.checked;a||(u===void 0&&e.setState({checked:!h}),d&&d(o,!h),f&&f(!h),m&&m(o))},rt(e),e.state={checked:!!(t.checked||t.defaultChecked)},e._id=_t("Toggle"),e}return r.getDerivedStateFromProps=function(t,e){return t.checked===void 0?null:{checked:!!t.checked}},Object.defineProperty(r.prototype,"checked",{get:function(){return this.state.checked},enumerable:!0,configurable:!0}),r.prototype.render=function(){var t=this,e=this.props,o=e.as,s=o===void 0?"div":o,a=e.className,u=e.theme,d=e.disabled,f=e.keytipProps,m=e.id,h=e.label,g=e.ariaLabel,y=e.onAriaLabel,C=e.offAriaLabel,x=e.offText,b=e.onText,S=e.styles,F=e.inlineLabel,D=this.state.checked,A=D?b:x,L=D?y:C,j=qe(this.props,qc,["defaultChecked"]),M=sR(S,{theme:u,className:a,disabled:d,checked:D,inlineLabel:F,onOffMissing:!b&&!x}),R=m||this._id,P=R+"-label",W=R+"-stateText",Q=void 0;!g&&!L&&(h&&(Q=P),A&&(Q=Q?Q+" "+W:W));var K=this.props.role?this.props.role:"switch",J=function(ie){return ie===void 0&&(ie={}),_.createElement("button",k({},j,ie,{className:M.pill,disabled:d,id:R,type:"button",role:K,ref:t._toggleButton,"aria-disabled":d,"aria-checked":D,"aria-label":g||L,"data-is-focusable":!0,onChange:t._noop,onClick:t._onClick,"aria-labelledby":Q}),_.createElement("span",{className:M.thumb}))},ne=f?_.createElement(wo,{keytipProps:f,ariaDescribedBy:j["aria-describedby"],disabled:d},function(ie){return J(ie)}):J();return _.createElement(s,{className:M.root,hidden:j.hidden},h&&_.createElement(_l,{htmlFor:R,className:M.label,id:P},h),_.createElement("div",{className:M.container},ne,A&&_.createElement(_l,{htmlFor:R,className:M.text,id:W},A)),_.createElement(qs,null))},r.prototype.focus=function(){this._toggleButton.current&&this._toggleButton.current.focus()},r.prototype._noop=function(){},r})(_.Component),lR=40,jy=20,vh=12,uR=function(n){var r,t,e,o,s,a,u,d=n.theme,f=n.className,m=n.disabled,h=n.checked,g=n.inlineLabel,y=n.onOffMissing,C=d.semanticColors,x=d.palette,b=C.bodyBackground,S=C.inputBackgroundChecked,F=C.inputBackgroundCheckedHovered,D=x.neutralDark,A=C.disabledBodySubtext,L=C.smallInputBorder,j=C.inputForegroundChecked,M=C.disabledBodySubtext,R=C.disabledBackground,P=C.smallInputBorder,W=C.inputBorderHovered,Q=C.disabledBodySubtext,K=C.disabledText;return{root:["ms-Toggle",h&&"is-checked",!m&&"is-enabled",m&&"is-disabled",d.fonts.medium,{marginBottom:"8px"},g&&{display:"flex",alignItems:"center"},f],label:["ms-Toggle-label",{display:"inline-block"},m&&{color:K,selectors:(r={},r[re]={color:"GrayText"},r)},g&&!y&&{marginRight:16},y&&g&&{order:1,marginLeft:16},g&&{wordBreak:"break-all"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",Jt(d,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:lR,height:jy,borderRadius:jy/2,transition:"all 0.1s ease",border:"1px solid "+P,background:b,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px"},!m&&[!h&&{selectors:{":hover":[{borderColor:W}],":hover .ms-Toggle-thumb":[{backgroundColor:D,selectors:(t={},t[re]={borderColor:"Highlight"},t)}]}},h&&[{background:S,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(e={":hover":[{backgroundColor:F,borderColor:"transparent",selectors:(o={},o[re]={backgroundColor:"Highlight"},o)}]},e[re]=k({backgroundColor:"Highlight"},tt()),e)}]],m&&[{cursor:"default"},!h&&[{borderColor:Q}],h&&[{backgroundColor:A,borderColor:"transparent",justifyContent:"flex-end"}]],!m&&{selectors:{"&:hover":{selectors:(s={},s[re]={borderColor:"Highlight"},s)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:vh,height:vh,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:L,borderColor:"transparent",borderWidth:vh/2,borderStyle:"solid",boxSizing:"border-box"},!m&&h&&[{backgroundColor:j,selectors:(a={},a[re]={backgroundColor:"Window",borderColor:"Window"},a)}],m&&[!h&&[{backgroundColor:M}],h&&[{backgroundColor:R}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:it.regular}}},m&&{selectors:{"&&":{color:K,selectors:(u={},u[re]={color:"GrayText"},u)}}}]}},Or=Fe(aR,uR,void 0,{scope:"Toggle"}),yh={exports:{}},Oy;function cR(){return Oy||(Oy=1,(function(n,r){(function(t,e){n.exports=e()})(window,function(){return(function(t){var e={};function o(s){if(e[s])return e[s].exports;var a=e[s]={i:s,l:!1,exports:{}};return t[s].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=t,o.c=e,o.d=function(s,a,u){o.o(s,a)||Object.defineProperty(s,a,{enumerable:!0,get:u})},o.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},o.t=function(s,a){if(1&a&&(s=o(s)),8&a||4&a&&typeof s=="object"&&s&&s.__esModule)return s;var u=Object.create(null);if(o.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:s}),2&a&&typeof s!="string")for(var d in s)o.d(u,d,function(f){return s[f]}.bind(null,d));return u},o.n=function(s){var a=s&&s.__esModule?function(){return s.default}:function(){return s};return o.d(a,"a",a),a},o.o=function(s,a){return Object.prototype.hasOwnProperty.call(s,a)},o.p="",o(o.s=10)})([function(t,e,o){var s=o(2),a=o(12),u=Object.prototype.toString;function d(g){return u.call(g)==="[object Array]"}function f(g){return g!==null&&typeof g=="object"}function m(g){return u.call(g)==="[object Function]"}function h(g,y){if(g!=null)if(typeof g!="object"&&(g=[g]),d(g))for(var C=0,x=g.length;C<x;C++)y.call(null,g[C],C,g);else for(var b in g)Object.prototype.hasOwnProperty.call(g,b)&&y.call(null,g[b],b,g)}t.exports={isArray:d,isArrayBuffer:function(g){return u.call(g)==="[object ArrayBuffer]"},isBuffer:a,isFormData:function(g){return typeof FormData<"u"&&g instanceof FormData},isArrayBufferView:function(g){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(g):g&&g.buffer&&g.buffer instanceof ArrayBuffer},isString:function(g){return typeof g=="string"},isNumber:function(g){return typeof g=="number"},isObject:f,isUndefined:function(g){return g===void 0},isDate:function(g){return u.call(g)==="[object Date]"},isFile:function(g){return u.call(g)==="[object File]"},isBlob:function(g){return u.call(g)==="[object Blob]"},isFunction:m,isStream:function(g){return f(g)&&m(g.pipe)},isURLSearchParams:function(g){return typeof URLSearchParams<"u"&&g instanceof URLSearchParams},isStandardBrowserEnv:function(){return(typeof navigator>"u"||navigator.product!=="ReactNative"&&navigator.product!=="NativeScript"&&navigator.product!=="NS")&&typeof window<"u"&&typeof document<"u"},forEach:h,merge:function g(){var y={};function C(S,F){typeof y[F]=="object"&&typeof S=="object"?y[F]=g(y[F],S):y[F]=S}for(var x=0,b=arguments.length;x<b;x++)h(arguments[x],C);return y},deepMerge:function g(){var y={};function C(S,F){typeof y[F]=="object"&&typeof S=="object"?y[F]=g(y[F],S):y[F]=typeof S=="object"?g({},S):S}for(var x=0,b=arguments.length;x<b;x++)h(arguments[x],C);return y},extend:function(g,y,C){return h(y,function(x,b){g[b]=C&&typeof x=="function"?s(x,C):x}),g},trim:function(g){return g.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,o){t.exports=o(11)},function(t,e,o){t.exports=function(s,a){return function(){for(var u=new Array(arguments.length),d=0;d<u.length;d++)u[d]=arguments[d];return s.apply(a,u)}}},function(t,e,o){var s=o(0);function a(u){return encodeURIComponent(u).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(u,d,f){if(!d)return u;var m;if(f)m=f(d);else if(s.isURLSearchParams(d))m=d.toString();else{var h=[];s.forEach(d,function(y,C){y!=null&&(s.isArray(y)?C+="[]":y=[y],s.forEach(y,function(x){s.isDate(x)?x=x.toISOString():s.isObject(x)&&(x=JSON.stringify(x)),h.push(a(C)+"="+a(x))}))}),m=h.join("&")}if(m){var g=u.indexOf("#");g!==-1&&(u=u.slice(0,g)),u+=(u.indexOf("?")===-1?"?":"&")+m}return u}},function(t,e,o){t.exports=function(s){return!(!s||!s.__CANCEL__)}},function(t,e,o){(function(s){var a=o(0),u=o(18),d={"Content-Type":"application/x-www-form-urlencoded"};function f(h,g){!a.isUndefined(h)&&a.isUndefined(h["Content-Type"])&&(h["Content-Type"]=g)}var m={adapter:(function(){var h;return(s!==void 0&&Object.prototype.toString.call(s)==="[object process]"||typeof XMLHttpRequest<"u")&&(h=o(6)),h})(),transformRequest:[function(h,g){return u(g,"Accept"),u(g,"Content-Type"),a.isFormData(h)||a.isArrayBuffer(h)||a.isBuffer(h)||a.isStream(h)||a.isFile(h)||a.isBlob(h)?h:a.isArrayBufferView(h)?h.buffer:a.isURLSearchParams(h)?(f(g,"application/x-www-form-urlencoded;charset=utf-8"),h.toString()):a.isObject(h)?(f(g,"application/json;charset=utf-8"),JSON.stringify(h)):h}],transformResponse:[function(h){if(typeof h=="string")try{h=JSON.parse(h)}catch{}return h}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(h){return h>=200&&h<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};a.forEach(["delete","get","head"],function(h){m.headers[h]={}}),a.forEach(["post","put","patch"],function(h){m.headers[h]=a.merge(d)}),t.exports=m}).call(this,o(17))},function(t,e,o){var s=o(0),a=o(19),u=o(3),d=o(21),f=o(22),m=o(7);t.exports=function(h){return new Promise(function(g,y){var C=h.data,x=h.headers;s.isFormData(C)&&delete x["Content-Type"];var b=new XMLHttpRequest;if(h.auth){var S=h.auth.username||"",F=h.auth.password||"";x.Authorization="Basic "+btoa(S+":"+F)}if(b.open(h.method.toUpperCase(),u(h.url,h.params,h.paramsSerializer),!0),b.timeout=h.timeout,b.onreadystatechange=function(){if(b&&b.readyState===4&&(b.status!==0||b.responseURL&&b.responseURL.indexOf("file:")===0)){var L="getAllResponseHeaders"in b?d(b.getAllResponseHeaders()):null,j={data:h.responseType&&h.responseType!=="text"?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:L,config:h,request:b};a(g,y,j),b=null}},b.onabort=function(){b&&(y(m("Request aborted",h,"ECONNABORTED",b)),b=null)},b.onerror=function(){y(m("Network Error",h,null,b)),b=null},b.ontimeout=function(){y(m("timeout of "+h.timeout+"ms exceeded",h,"ECONNABORTED",b)),b=null},s.isStandardBrowserEnv()){var D=o(23),A=(h.withCredentials||f(h.url))&&h.xsrfCookieName?D.read(h.xsrfCookieName):void 0;A&&(x[h.xsrfHeaderName]=A)}if("setRequestHeader"in b&&s.forEach(x,function(L,j){C===void 0&&j.toLowerCase()==="content-type"?delete x[j]:b.setRequestHeader(j,L)}),h.withCredentials&&(b.withCredentials=!0),h.responseType)try{b.responseType=h.responseType}catch(L){if(h.responseType!=="json")throw L}typeof h.onDownloadProgress=="function"&&b.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&b.upload&&b.upload.addEventListener("progress",h.onUploadProgress),h.cancelToken&&h.cancelToken.promise.then(function(L){b&&(b.abort(),y(L),b=null)}),C===void 0&&(C=null),b.send(C)})}},function(t,e,o){var s=o(20);t.exports=function(a,u,d,f,m){var h=new Error(a);return s(h,u,d,f,m)}},function(t,e,o){var s=o(0);t.exports=function(a,u){u=u||{};var d={};return s.forEach(["url","method","params","data"],function(f){u[f]!==void 0&&(d[f]=u[f])}),s.forEach(["headers","auth","proxy"],function(f){s.isObject(u[f])?d[f]=s.deepMerge(a[f],u[f]):u[f]!==void 0?d[f]=u[f]:s.isObject(a[f])?d[f]=s.deepMerge(a[f]):a[f]!==void 0&&(d[f]=a[f])}),s.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(f){u[f]!==void 0?d[f]=u[f]:a[f]!==void 0&&(d[f]=a[f])}),d}},function(t,e,o){function s(a){this.message=a}s.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},s.prototype.__CANCEL__=!0,t.exports=s},function(t,e,o){t.exports=o(28)},function(t,e,o){var s=o(0),a=o(2),u=o(13),d=o(8);function f(h){var g=new u(h),y=a(u.prototype.request,g);return s.extend(y,u.prototype,g),s.extend(y,g),y}var m=f(o(5));m.Axios=u,m.create=function(h){return f(d(m.defaults,h))},m.Cancel=o(9),m.CancelToken=o(26),m.isCancel=o(4),m.all=function(h){return Promise.all(h)},m.spread=o(27),t.exports=m,t.exports.default=m},function(t,e){/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */t.exports=function(o){return o!=null&&o.constructor!=null&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o)}},function(t,e,o){var s=o(0),a=o(3),u=o(14),d=o(15),f=o(8);function m(h){this.defaults=h,this.interceptors={request:new u,response:new u}}m.prototype.request=function(h){typeof h=="string"?(h=arguments[1]||{}).url=arguments[0]:h=h||{},(h=f(this.defaults,h)).method=h.method?h.method.toLowerCase():"get";var g=[d,void 0],y=Promise.resolve(h);for(this.interceptors.request.forEach(function(C){g.unshift(C.fulfilled,C.rejected)}),this.interceptors.response.forEach(function(C){g.push(C.fulfilled,C.rejected)});g.length;)y=y.then(g.shift(),g.shift());return y},m.prototype.getUri=function(h){return h=f(this.defaults,h),a(h.url,h.params,h.paramsSerializer).replace(/^\?/,"")},s.forEach(["delete","get","head","options"],function(h){m.prototype[h]=function(g,y){return this.request(s.merge(y||{},{method:h,url:g}))}}),s.forEach(["post","put","patch"],function(h){m.prototype[h]=function(g,y,C){return this.request(s.merge(C||{},{method:h,url:g,data:y}))}}),t.exports=m},function(t,e,o){var s=o(0);function a(){this.handlers=[]}a.prototype.use=function(u,d){return this.handlers.push({fulfilled:u,rejected:d}),this.handlers.length-1},a.prototype.eject=function(u){this.handlers[u]&&(this.handlers[u]=null)},a.prototype.forEach=function(u){s.forEach(this.handlers,function(d){d!==null&&u(d)})},t.exports=a},function(t,e,o){var s=o(0),a=o(16),u=o(4),d=o(5),f=o(24),m=o(25);function h(g){g.cancelToken&&g.cancelToken.throwIfRequested()}t.exports=function(g){return h(g),g.baseURL&&!f(g.url)&&(g.url=m(g.baseURL,g.url)),g.headers=g.headers||{},g.data=a(g.data,g.headers,g.transformRequest),g.headers=s.merge(g.headers.common||{},g.headers[g.method]||{},g.headers||{}),s.forEach(["delete","get","head","post","put","patch","common"],function(y){delete g.headers[y]}),(g.adapter||d.adapter)(g).then(function(y){return h(g),y.data=a(y.data,y.headers,g.transformResponse),y},function(y){return u(y)||(h(g),y&&y.response&&(y.response.data=a(y.response.data,y.response.headers,g.transformResponse))),Promise.reject(y)})}},function(t,e,o){var s=o(0);t.exports=function(a,u,d){return s.forEach(d,function(f){a=f(a,u)}),a}},function(t,e){var o,s,a=t.exports={};function u(){throw new Error("setTimeout has not been defined")}function d(){throw new Error("clearTimeout has not been defined")}function f(F){if(o===setTimeout)return setTimeout(F,0);if((o===u||!o)&&setTimeout)return o=setTimeout,setTimeout(F,0);try{return o(F,0)}catch{try{return o.call(null,F,0)}catch{return o.call(this,F,0)}}}(function(){try{o=typeof setTimeout=="function"?setTimeout:u}catch{o=u}try{s=typeof clearTimeout=="function"?clearTimeout:d}catch{s=d}})();var m,h=[],g=!1,y=-1;function C(){g&&m&&(g=!1,m.length?h=m.concat(h):y=-1,h.length&&x())}function x(){if(!g){var F=f(C);g=!0;for(var D=h.length;D;){for(m=h,h=[];++y<D;)m&&m[y].run();y=-1,D=h.length}m=null,g=!1,(function(A){if(s===clearTimeout)return clearTimeout(A);if((s===d||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(A);try{s(A)}catch{try{return s.call(null,A)}catch{return s.call(this,A)}}})(F)}}function b(F,D){this.fun=F,this.array=D}function S(){}a.nextTick=function(F){var D=new Array(arguments.length-1);if(arguments.length>1)for(var A=1;A<arguments.length;A++)D[A-1]=arguments[A];h.push(new b(F,D)),h.length!==1||g||f(x)},b.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=S,a.addListener=S,a.once=S,a.off=S,a.removeListener=S,a.removeAllListeners=S,a.emit=S,a.prependListener=S,a.prependOnceListener=S,a.listeners=function(F){return[]},a.binding=function(F){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(F){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(t,e,o){var s=o(0);t.exports=function(a,u){s.forEach(a,function(d,f){f!==u&&f.toUpperCase()===u.toUpperCase()&&(a[u]=d,delete a[f])})}},function(t,e,o){var s=o(7);t.exports=function(a,u,d){var f=d.config.validateStatus;!f||f(d.status)?a(d):u(s("Request failed with status code "+d.status,d.config,null,d.request,d))}},function(t,e,o){t.exports=function(s,a,u,d,f){return s.config=a,u&&(s.code=u),s.request=d,s.response=f,s.isAxiosError=!0,s.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}},s}},function(t,e,o){var s=o(0),a=["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"];t.exports=function(u){var d,f,m,h={};return u&&s.forEach(u.split(`
`),function(g){if(m=g.indexOf(":"),d=s.trim(g.substr(0,m)).toLowerCase(),f=s.trim(g.substr(m+1)),d){if(h[d]&&a.indexOf(d)>=0)return;h[d]=d==="set-cookie"?(h[d]?h[d]:[]).concat([f]):h[d]?h[d]+", "+f:f}}),h}},function(t,e,o){var s=o(0);t.exports=s.isStandardBrowserEnv()?(function(){var a,u=/(msie|trident)/i.test(navigator.userAgent),d=document.createElement("a");function f(m){var h=m;return u&&(d.setAttribute("href",h),h=d.href),d.setAttribute("href",h),{href:d.href,protocol:d.protocol?d.protocol.replace(/:$/,""):"",host:d.host,search:d.search?d.search.replace(/^\?/,""):"",hash:d.hash?d.hash.replace(/^#/,""):"",hostname:d.hostname,port:d.port,pathname:d.pathname.charAt(0)==="/"?d.pathname:"/"+d.pathname}}return a=f(window.location.href),function(m){var h=s.isString(m)?f(m):m;return h.protocol===a.protocol&&h.host===a.host}})():function(){return!0}},function(t,e,o){var s=o(0);t.exports=s.isStandardBrowserEnv()?{write:function(a,u,d,f,m,h){var g=[];g.push(a+"="+encodeURIComponent(u)),s.isNumber(d)&&g.push("expires="+new Date(d).toGMTString()),s.isString(f)&&g.push("path="+f),s.isString(m)&&g.push("domain="+m),h===!0&&g.push("secure"),document.cookie=g.join("; ")},read:function(a){var u=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return u?decodeURIComponent(u[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,o){t.exports=function(s){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(s)}},function(t,e,o){t.exports=function(s,a){return a?s.replace(/\/+$/,"")+"/"+a.replace(/^\/+/,""):s}},function(t,e,o){var s=o(9);function a(u){if(typeof u!="function")throw new TypeError("executor must be a function.");var d;this.promise=new Promise(function(m){d=m});var f=this;u(function(m){f.reason||(f.reason=new s(m),d(f.reason))})}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.source=function(){var u;return{token:new a(function(d){u=d}),cancel:u}},t.exports=a},function(t,e,o){t.exports=function(s){return function(a){return s.apply(null,a)}}},function(t,e,o){o.r(e);var s=o(1),a=o.n(s),u=(function(){var x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,S){b.__proto__=S}||function(b,S){for(var F in S)S.hasOwnProperty(F)&&(b[F]=S[F])};return function(b,S){function F(){this.constructor=b}x(b,S),b.prototype=S===null?Object.create(S):(F.prototype=S.prototype,new F)}})(),d=function(x,b,S,F){return new(S||(S=Promise))(function(D,A){function L(R){try{M(F.next(R))}catch(P){A(P)}}function j(R){try{M(F.throw(R))}catch(P){A(P)}}function M(R){R.done?D(R.value):new S(function(P){P(R.value)}).then(L,j)}M((F=F.apply(x,[])).next())})},f=function(x,b){var S,F,D,A,L={label:0,sent:function(){if(1&D[0])throw D[1];return D[1]},trys:[],ops:[]};return A={next:j(0),throw:j(1),return:j(2)},typeof Symbol=="function"&&(A[Symbol.iterator]=function(){return this}),A;function j(M){return function(R){return(function(P){if(S)throw new TypeError("Generator is already executing.");for(;L;)try{if(S=1,F&&(D=2&P[0]?F.return:P[0]?F.throw||((D=F.return)&&D.call(F),0):F.next)&&!(D=D.call(F,P[1])).done)return D;switch(F=0,D&&(P=[2&P[0],D.value]),P[0]){case 0:case 1:D=P;break;case 4:return L.label++,{value:P[1],done:!1};case 5:L.label++,F=P[1],P=[0];continue;case 7:P=L.ops.pop(),L.trys.pop();continue;default:if(!(D=(D=L.trys).length>0&&D[D.length-1])&&(P[0]===6||P[0]===2)){L=0;continue}if(P[0]===3&&(!D||P[1]>D[0]&&P[1]<D[3])){L.label=P[1];break}if(P[0]===6&&L.label<D[1]){L.label=D[1],D=P;break}if(D&&L.label<D[2]){L.label=D[2],L.ops.push(P);break}D[2]&&L.ops.pop(),L.trys.pop();continue}P=b.call(x,L)}catch(W){P=[6,W],F=0}finally{S=D=0}if(5&P[0])throw P[1];return{value:P[0]?P[1]:void 0,done:!0}})([M,R])}}},m=(function(){function x(){var b=localStorage.getItem("pintraTokenCache");b&&(x.tokens=JSON.parse(b))}return x.clearTokenCache=function(){localStorage.removeItem("pintraTokenCache"),x.tokens=[]},x.getToken=function(b,S){return d(this,void 0,void 0,function(){var F,D,A,L,j,M,R,P,W,Q,K;return f(this,function(J){switch(J.label){case 0:for(x.instance==null&&(x.instance=new x),F=0,D=x.tokens;F<D.length;F++)if((P=D[F]).name==b.name&&P.expires>Date.now())return console.info("INFO: Getting cached token"),[2,P];(A=new FormData).append("action","get_tokencache"),A.append("resource",b.resource),A.append("nonce",S.nonce),J.label=1;case 1:return J.trys.push([1,3,,4]),[4,a.a.post(S.wpAjaxAdminUrl,A)];case 2:return L=J.sent(),[3,4];case 3:return j=J.sent(),(M=new h(j.message)).data={status:"NOK",error_codes:"-1",message:j.message,result:null},[2,M];case 4:if(console.info(L),L.status==200){if(L.data.status=="OK"){for(R=JSON.parse(L.data.result),P={name:b.name,expires:1e3*parseInt(R.expiry),bearer:R.accessToken},W=x.tokens.length-1;W>=0;W--)x.tokens[W].name==b.name&&x.tokens.splice(W,1);return x.tokens.push(P),localStorage.setItem("pintraTokenCache",JSON.stringify(x.tokens)),[2,P]}return(Q=new h(L.data.message)).data=L.data,[2,Q]}return(K=new h("Response status: "+L.status)).data={status:"NOK",error_codes:"-1",message:"Unknown error occurred",result:null},[2,K]}})})},x.getTokenV2=function(b,S){return d(this,void 0,void 0,function(){var F,D,A,L,j,M,R,P,W,Q,K;return f(this,function(J){switch(J.label){case 0:for(x.instance==null&&(x.instance=new x),F=0,D=x.tokens;F<D.length;F++)if((P=D[F]).name==b.name&&P.expires>Date.now())return console.info("INFO: Getting cached token"),[2,P];(A=new FormData).append("action","get_tokencache"),A.append("scope",b.scope),A.append("nonce",S.nonce),J.label=1;case 1:return J.trys.push([1,3,,4]),[4,a.a.post(S.wpAjaxAdminUrl,A)];case 2:return L=J.sent(),[3,4];case 3:return j=J.sent(),(M=new h(j.message)).data={status:"NOK",error_codes:"-1",message:j.message,result:null},[2,M];case 4:if(console.info(L),L.status==200){if(L.data.status=="OK"){for(R=JSON.parse(L.data.result),P={name:b.name,expires:1e3*parseInt(R.expiry),bearer:R.accessToken},W=x.tokens.length-1;W>=0;W--)x.tokens[W].name==b.name&&x.tokens.splice(W,1);return x.tokens.push(P),localStorage.setItem("pintraTokenCache",JSON.stringify(x.tokens)),[2,P]}return(Q=new h(L.data.message)).data=L.data,[2,Q]}return(K=new h("Response status: "+L.status)).data={status:"NOK",error_codes:"-1",message:"Unknown error occurred",result:null},[2,K]}})})},x.tokens=[],x.instance=null,x})(),h=(function(x){function b(S){var F=x.call(this,S)||this;return Object.setPrototypeOf(F,b.prototype),F}return u(b,x),b})(Error),g=(function(){function x(b,S){this.name=b,this.resource=S}return x.prototype.toString=function(){return this.name+","+this.resource},x})(),y=(function(){function x(b,S){this.name=b,this.scope=S}return x.prototype.toString=function(){return this.name+","+this.scope},x})(),C=(function(){function x(){}return x.getReactDomConfig=function(){var b=document.getElementsByTagName("script"),S=b[b.length-1],F=S.getAttribute("src"),D="";F&&(D=""+F.substr(0,F.lastIndexOf("/")+1));var A=document.createElement("div"),L=Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5);return A.setAttribute("id",L),S.parentNode.appendChild(A),{rootId:L,env:{nonce:S.getAttribute("data-nonce"),wpAjaxAdminUrl:S.getAttribute("data-wpajaxadminurl"),scriptContextUrl:D,props:S.getAttribute("data-props")?JSON.parse(S.getAttribute("data-props")):{}}}},x})();o.d(e,"TokenCache",function(){return m}),o.d(e,"TokenRequest",function(){return g}),o.d(e,"TokenRequestV2",function(){return y}),o.d(e,"TokenRequestError",function(){return h}),o.d(e,"AppLauncher",function(){return C})}])})})(yh)),yh.exports}var Gh=cR();const dR="_wpo365WzIconButton_p7p1e_47",pR="_wpo365WzRowifier_p7p1e_67",hR="_wpo365WzColumnifier_p7p1e_81",fR="_wpo365WzPage_p7p1e_96",mR="_wpo365WzP_p7p1e_96",gR="_wpo365WzLabelFor_p7p1e_111",vR="_wpo365WzCheckbox_p7p1e_127",yR="_wpo365WzPageTitle_p7p1e_150",_R="_wpo365WzHidePremiumOptionsToggle_p7p1e_156",bR="_wpo365WzError_p7p1e_159",CR="_wpo365WzMain_p7p1e_162",xR="_wpo365WzTable_p7p1e_170",wR="_wpo365WzSectionTitle_p7p1e_183",SR="_jsonEditor_p7p1e_197",ER="_jsonTextArea_p7p1e_211",kR="_toolbarItem_p7p1e_222",IR="_modal_p7p1e_265",ae={wpo365WzIconButton:dR,wpo365WzRowifier:pR,wpo365WzColumnifier:hR,wpo365WzPage:fR,wpo365WzP:mR,wpo365WzLabelFor:gR,wpo365WzCheckbox:vR,wpo365WzPageTitle:yR,wpo365WzHidePremiumOptionsToggle:_R,wpo365WzError:bR,wpo365WzMain:CR,wpo365WzTable:xR,wpo365WzSectionTitle:wR,jsonEditor:SR,jsonTextArea:ER,toolbarItem:kR,modal:IR};class FR extends O.Component{constructor(r){super(r),this.state={deleting:!1,errorInfo:void 0,errorMessage:void 0,hasError:!1,lastError:void 0,settingsDeleted:!1}}static getDerivedStateFromError(r){return{deleting:!1,errorInfo:void 0,errorMessage:void 0,hasError:!0,lastError:void 0,settingsDeleted:!1}}componentDidCatch(r,t){console.log(`The following error was caught by the Wizard.ErrorBoundary [${r.message}].`),console.debug(`Error caught [${JSON.stringify(t)}].`),this.setState({errorInfo:t,errorMessage:r.message})}render(){return this.state.hasError?c.jsxs(c.Fragment,{children:[c.jsx("h1",{children:"Oops, fatal error occurred"}),c.jsxs("p",{children:["The WPO365 plugin's wizard encountered the following fatal error: ",c.jsx("strong",{children:this.state.errorMessage})]}),c.jsx("p",{children:"If you believe this error may be the result of malformed settings then you can choose to delete the current settings by clicking the button below."}),c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx(xt,{onClick:()=>this.deleteSettings(),children:"Delete settings"})," ",this.state.deleting&&c.jsx(nt,{size:Oe.small})]}),c.jsxs("p",{children:["Sorry for any inconvenience and please feel free to report this error to ",c.jsx("a",{href:"mailto:support@wpo365.com",children:"support@wpo365.com"})," ","(please include a screenshot)."]}),c.jsx("p",{children:c.jsx("strong",{children:"Error details"})}),c.jsx("p",{children:JSON.stringify(this.state.errorInfo)}),c.jsxs("p",{children:["- Marco van Wieren | Downloads by van Wieren | ",c.jsx("a",{href:"https://www.wpo365.com/",children:"https://www.wpo365.com/"})]})]}):this.props.children}deleteSettings=async()=>{const{env:r}=this.props;this.setState({deleting:!0,lastError:void 0,settingsDeleted:!1}),Gh.TokenCache.clearTokenCache();const t=new FormData;t.append("action","wpo365_delete_settings"),t.append("nonce",r.nonce),t.append("ina",window.wpo365.wizard.props.ina);let e;try{e=await We.post(r.wpAjaxAdminUrl,t)}catch(o){this.setState({deleting:!1,lastError:`Failed to delete settings [${o.message}].`});return}if(e.status==200&&e.data&&e.data.status&&e.data.status=="OK"){this.setState({deleting:!1,settingsDeleted:!0}),window.location.reload();return}this.setState({deleting:!1,lastError:"Unknown error occurred [server did not report success]"})}}var I=(n=>(n.mailIntegration="mailIntegration",n.wpo365Essentials="wpo365Essentials",n.wpo365Apps="wpo365Apps",n.wpo365Avatar="wpo365Avatar",n.wpo365Customers="wpo365Customers",n.wpo365CustomFields="wpo365CustomFields",n.wpo365Groups="wpo365Groups",n.wpo365Intranet5y="wpo365Intranet5y",n.wpo365Login="wpo365Login",n.wpo365LoginIntranet="wpo365LoginIntranet",n.wpo365LoginPlus="wpo365LoginPlus",n.wpo365LoginPremium="wpo365LoginPremium",n.wpo365LoginProfessional="wpo365LoginProfessional",n.wpo365Mail="wpo365Mail",n.wpo365MsGraphMailer="wpo365MsGraphMailer",n.wpo365RolesAccess="wpo365RolesAccess",n.wpo365Scim="wpo365Scim",n.wpo365Sync5y="wpo365Sync5y",n.wpo365Integrate="wpo365Integrate",n.wpo365Pro="wpo365Pro",n))(I||{}),tl=(n=>(n.mailIntegration="mail_integration_365/mail_integration_365.php",n.wpo365Essentials="wpo365-essentials/wpo365-essentials.php",n.wpo365Apps="wpo365-apps/wpo365-apps.php",n.wpo365Avatar="wpo365-avatar/wpo365-avatar.php",n.wpo365Customers="wpo365-customers/wpo365-customers.php",n.wpo365CustomFields="wpo365-custom-fields/wpo365-custom-fields.php",n.wpo365Groups="wpo365-groups/wpo365-groups.php",n.wpo365Integrate="wpo365-integrate/wpo365-integrate.php",n.wpo365Intranet5y="wpo365-intranet-5y/wpo365-intranet-5y.php",n.wpo365Login="wpo365-login/wpo365-login.php",n.wpo365LoginIntranet="wpo365-login-intranet/wpo365-login.php",n.wpo365LoginPlus="wpo365-login-plus/wpo365-login.php",n.wpo365LoginPremium="wpo365-login-premium/wpo365-login.php",n.wpo365LoginProfessional="wpo365-login-professional/wpo365-login.php",n.wpo365Mail="wpo365-mail/wpo365-mail.php",n.wpo365MsGraphMailer="wpo365-msgraphmailer/wpo365-msgraphmailer.php",n.wpo365Pro="wpo365-pro/wpo365-pro.php",n.wpo365RolesAccess="wpo365-roles-access/wpo365-roles-access.php",n.wpo365Scim="wpo365-scim/wpo365-scim.php",n.wpo365Sync5y="wpo365-sync-5y/wpo365-sync-5y.php",n))(tl||{});const ll={wpo365Essentials:{name:"ESSENTIALS",url:"https://www.wpo365.com/downloads/wpo365-essentials/"},wpo365Apps:{name:"M365 APPS",url:"https://www.wpo365.com/downloads/wpo365-microsoft-365-apps/"},wpo365Avatar:{name:"AVATAR",url:"https://www.wpo365.com/downloads/wpo365-avatar/"},wpo365Customers:{name:"CUSTOMERS",url:"https://www.wpo365.com/downloads/wpo365-customers/"},wpo365CustomFields:{name:"CUSTOM USER FIELDS",url:"https://www.wpo365.com/downloads/wpo365-custom-user-fields/"},wpo365Groups:{name:"(itthinx) GROUPS",url:"https://www.wpo365.com/downloads/wpo365-groups/"},wpo365Login:{name:"LOGIN",url:"https://wordpress.org/plugins/wpo365-login/"},wpo365LoginIntranet:{name:"INTRANET",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-intranet/"},wpo365LoginPlus:{name:"PROFILE+",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-plus/"},wpo365LoginPremium:{name:"SYNC",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-premium/"},wpo365LoginProfessional:{name:"LOGIN+",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-professional/"},wpo365Mail:{name:"MAIL",url:"https://www.wpo365.com/downloads/wpo365-mail/"},wpo365RolesAccess:{name:"ROLES + ACCESS",url:"https://www.wpo365.com/downloads/wpo365-roles-access/"},wpo365Scim:{name:"SCIM",url:"https://www.wpo365.com/downloads/wpo365-scim/"},wpo365Sync5y:{name:"SYNC | 5Y",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-premium-5y/"},wpo365Intranet5y:{name:"INTRANET | 5Y",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-intranet-5y/"},wpo365Integrate:{name:"INTEGRATE",url:"https://www.wpo365.com/downloads/wpo365-integrate/"},wpo365Pro:{name:"PROFESSIONAL",url:"https://www.wpo365.com/downloads/wpo365-professional/"}};var X0=(n=>(n.current="current",n.beta="beta",n))(X0||{}),ji=(n=>(n.locally="locally",n.remotely="remotely",n.both="both",n))(ji||{}),xf=(n=>(n.internet="internet",n.intranet="intranet",n.internetAuthOnly="internetAuthOnly",n.intranetAuthOnly="intranetAuthOnly",n))(xf||{}),Q0=(n=>(n.graph="graph",n.idToken="idToken",n.samlResponse="samlResponse",n.scim="scim",n))(Q0||{}),J0=(n=>(n.replace="replace",n.add="add",n.skip="skip",n))(J0||{}),Di=(n=>(n[n.initial=0]="initial",n[n.testing=1]="testing",n[n.tested=2]="tested",n[n.error=3]="error",n[n.success=4]="success",n))(Di||{}),ge=(n=>(n[n.initial=0]="initial",n[n.saving=1]="saving",n[n.saved=2]="saved",n[n.error=3]="error",n[n.success=4]="success",n))(ge||{}),_e=(n=>(n.apps="apps",n.calendarConfigurator="calendarConfigurator",n.cbsConfigurator="cbsConfigurator",n.dashboard="dashboard",n.debug="debug",n.listConfigurator="listConfigurator",n.edConfigurator="edConfigurator",n.errors="errors",n.importExport="importExport",n.insights="insights",n.integration="integration",n.loginLogout="loginLogout",n.mail="mail",n.mailLogViewer="mailLogViewer",n.miscellaneous="miscellaneous",n.pbiConfigurator="pbiConfigurator",n.rolesAccess="rolesAccess",n.selfTest="selfTest",n.singleSignOn="singleSignOn",n.translations="translations",n.userRegistration="userRegistration",n.userSync="userSync",n.yammer="yammer",n))(_e||{}),eb=(n=>(n.signedInWithMicrosoft="signedInWithMicrosoft",n.signedIn="signedIn",n.anonymous="anonymous",n))(eb||{}),tb=(n=>(n.hybrid="hybrid",n.code="code",n))(tb||{}),nb=(n=>(n.form_post="form_post",n.query="query",n))(nb||{}),rb=(n=>(n.displayName="displayName",n.givenNameSurname="givenNameSurname",n.skip="skip",n.surnameGivenName="surnameGivenName",n.surnameGivenNameNoComma="surnameGivenNameNoComma",n))(rb||{}),ln=(n=>(n.application="application",n.auto="auto",n.delegated="delegated",n.personal="personal",n.rbac="rbac",n))(ln||{});class Bc extends Error{errorFor;errorCode;constructor(r,t,e){super(t),this.errorFor=r,this.errorCode=e}}const Le={empty:"",errDirectoryIdMustBeGuid:"Directory ID must be a valid GUID.",errAppOnlyApplicationIdMustBeGuid:"Application ID must be a valid GUID.",okSettingsUpdated:"Configuration saved successfully.",errLeewayMustBeNumeric:"Leeway must be a number",errPasswordLengthMustBeNumeric:"Password length must be a number",errMustBeValidEmail:"Input must be a valid email address",infoAiInstrumentationKey:"e.g. 9eb73a5a-92e5-409c-b421-8bf8f91ff2d7",infoDirectoryId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoRedirectUri:"e.g. https://www.mycompany.com/",infoLeeway:"e.g. 300",infoPasswordLength:"e.g. 16",infoMailFrom:"e.g. john.doe@example.com",infoTestMailTo:"e.g. john.doe@example.com",infoAppOnlyApplicationId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",wpoErrorCheckLog:"Please contact your System Administrator and check log file.",wpoErrorDeactivated:"Account deactivated.",wpoErrorNotConfigured:"SSO integration with Microsoft is not configured yet. Please contact your System Administrator.",wpoErrorNotInGroup:"User not in group. Please contact your System Administrator.",wpoErrorTamperedWith:"Your login might be tampered with. Please contact your System Administrator.",wpoErrorUserNotFound:"Could not create or retrieve your login. Please contact your System Administrator.",wpoErrorIdTokenError:"Your ID token could not be processed. Please contact your System Administrator.",wpoErrorIdTokenAud:"The ID token is intended for a different audience. Please contact your System Administrator.",wpoErrorDualLogin:'Alternatively, you can click the following link to sign into this website with your corporate <a href="__##OAUTH_URL##__">network login (Microsoft 365)</a>',wpoErrorDualLoginV2:'Alternatively, you can click the following link to sign into this website with your corporate <span class="wpo365-dual-login-notice" style="cursor: pointer; text-decoration: underline; color: #000CD" onclick="window.wpo365.pintraRedirect.toMsOnline()">network login (Microsoft 365)</span>',wpoErrorLoggedOut:"You are now logged out.",wpoErrorPrivatePage:"The page you requested requires you to sign in first.",wpoErrorNotFromDomain:"Access Denied. Please contact your System Administrator.",wpoErrorSaml2Error:"SAML authentication error.",wpoErrorNoIdpSelected:"Please select an Identity Provider from the list below to sign in to the website.",wpoTitleM365ProfileInfo:"Microsoft 365 Profile Information",capCancelButton:"Cancel",titleUseIdTokenParserV2:"Important",subTextUseIdTokenParserV2:`Only check this option if the plugin reports ID token errors after you updated the plugin
    to v14 or higher. Please also contact <a target="_blank" href="https://www.wpo365.com/contact/">support</> and 
    describe your issue, as this may also affect others.`};class $e{aadResourceUri="00000002-0000-0000-c000-000000000000";addCreateAccountPrompt=!1;addSelectAccountPrompt=!1;aiInstrumentationKey="";allGroupMemberships=!1;allowedTenants=[];allowReactivation=!1;alwaysUseGotoAfter=!1;applicationId="";applicationSecret="";appOnlyApplicationId="";appOnlyApplicationSecret="";appRolesXWpRoles=[];audiences=[];audiencesExcludedPostTypes=[];audiencesExcludedRoles=[];audiencesPrivatePostTypes=[];audiencesPrivatePageResponse="notFound";audiencesXPostTypes=[];authScenario=xf.intranet;avatarHookPriority=1;avatarUpdated=259200;avatarSkipSaveDefault=!1;avatarTemplate='<img src="__##AVATAR_URL##__" width="__##AVATAR_SIZE##__" height="__##AVATAR_SIZE##__" class="ui avatar image">';b2cAllowMultiplePolicies=!1;b2cCustomDomain="";b2cDomainName="";b2cEnableSignup=!1;b2cPolicyName="";b2cSignupPolicy="";blockDirectMediaAccess=!1;blockEmailChange=!0;blockPasswordChange=!0;bounceToAdmin=!1;buttonConfig=[];createAndAddUsers=!0;curlLoggingEnabled=!1;customDomain=[];customFieldsXItthinxGroups=[];customFieldsXRoles=[];customLoginUrl="";debugLog=!1;debugLogLocation=ji.locally;debugLogIdToken=!1;defaultDomain="";defaultRoleAsFallback=!0;domainBlockedList=!1;domainHint="";domainWhitelist=[];domainsXRoles=[];enableAudiences=!1;enableAudiencesMetaBox=!0;enableAudiencesRest=!1;enableCustomLogScim=!1;enableCustomLogSync=!1;enableGraphApi=!1;enableGraphProxy=!1;enableNonceCheck=!1;enableScim=!1;enableSingleSignOut=!1;enableTokenService=!1;enableUserSync=!1;exitOnAudienceError=!1;expressLogin=!1;extraUserFields=[];extraUserFieldsSource=Q0.graph;errorPageUrl="";gotoAfterSignonUrl="";graphAllowAllEndpoints=!1;graphAllowTokenRetrieval=!1;graphAllowedEndpoints=[];graphDisplayNameFormat=rb.displayName;graphPermissionLevel=eb.signedIn;graphSelectProperties=[];graphUserDetails=!1;graphVersion=X0.current;groupsWhitelist=[];groupsXRoles=[];groupsXGroupsGroups=[];groupsXGotoAfter=[];hideAdminBarRoles=[];hideDocTb=!1;hideErrorNotice=!1;hideLoginButton=!1;hideNewUserApp=!1;hidePremiumOptions=!1;hideSsoLink=!1;insightsAlertsEnabled=!1;insightsAlertsLogin=!1;insightsAlertsMail=!1;insightsAlertsNoSensitiveData=!0;insightsAlertsUserCreation=!1;insightsEnabled=!1;insightsAnonymized=!1;insightsWidgetHidden=!1;interceptWpLogin=!1;ldCourseAssignments=[];ldCourseAssignmentsByDomain=[];ldDefaultCourseAssignments=[];ldDefaultGroupAssignments=[];ldGroupAssignments=[];ldGroupAssignmentsByDomain=[];leeway=300;licenseKey="";loadingTemplateUrl="";logoutFromO365=!1;mailAllowFrom=!1;mailApplicationId="";mailApplicationSecret="";mailAuthorizationScenario=ln.auto;mailAutoRetry=!1;mailDefaultRecipient="";mailFixLocalhost=!1;mailFrom="";mailIntervals=[3600,7200,14400];mailLog=!1;mailLogRetention=90;mailMimeType="Html";mailMultiTenanted=!1;mailRedirectUrl="";mailReplyTo="";mailSaveToSentItems=!1;mailSendAs=!1;mailSendAsFrom="";mailSendShared=!1;mailSendSharedFrom="";mailSendToBcc=!1;mailSkipAllChecks=!1;mailStagingMode=!1;mailTenantId="";mailThrottlingEnabled=!1;mailThreshold=20;mailTld=".com";muAddNewUserSite=!1;muNewUserSiteUseUsername=!1;muAddUserToAllSites=!1;muGroupsXSuperAdmins=[];multiTenanted=!1;multiTenantedApiPermissions=[];muNewUsrDefaultRole="subscriber";muRevokeSuperAdmin=!1;newUsrDefaultRole="subscriber";newUsrSendMail=!1;newUsrSendMailAdminOnly=!1;newUsrSendMailCustom=!1;newUsrMailSubject="[__##BLOG_NAME##__] New user registration";newUsrMailTitle="NEW USER REGISTRATION";newUsrMailSalutation="Dear __##USER_DISPLAY_NAME##__";newUsrMailBody='The website <strong><a href="__##BLOG_URL##__">__##BLOG_NAME##__</a></strong> has been shared with you. You can now sign in using your Entra ID account <strong>__##USER_LOGIN_NAME##__</strong>.';newUsrMailFooter='Powered by <a href="https://www.wpo365.com/" target="_blank">WPO365 - Connecting Wordpress and Entra ID / Microsoft 365</a>';nonceSecret=Sr(16);noSso=!1;oidcFlow=tb.code;oidcResponseMode=nb.form_post;pagesBlacklist=["wp-login.php","/login/","wp-cron.php","admin-ajax.php","xmlrpc.php"];passwordLength=16;postSignoutUrl="";preventNonAdminLogin=!1;preventSendEmailChangeEmail=!1;preventSendPasswordChangeEmail=!1;privatePages=[];publicHomepage=!1;redirectUrl="";redirectUrlStrict=!1;redirectOnLogin=!1;redirectOnLoginSecret=Sr(32);redirectOnLoginReferrers=[];redirectOnPrivatePage=!1;redirectToLogin=!1;redirectToLoginV2=!1;rememberUser=!1;replaceOrUpdateUserRoles=J0.skip;replaceOrUpdateWpmuUserRoles=!1;samlClaimMappings=[];samlEnableRequestedAuthnContext=!1;samlForceAuthn=!1;samlStrict=!0;samlBaseUrl="";samlSpEntityId="";samlSpAcsUrl="";samlSpAcsBinding="";samlSpSlsUrl="";samlSpSlsBinding="";samlIdpEntityId="";samlIdpMetaDataUrl="";samlIdpSsosUrl="";samlIdpSsosBinding="";samlIdpSlsUrl="";samlIdpSlsBinding="";samlX509Cert="";scimAttributeMappings=[];scimReassignPostsTo="";scimReassignPostsToId=0;scimSecretToken="";sessionDuration=0;skipAddUserToSubsite=!1;skipApiBasicAuthRequest=!1;skipAvatarForOthers=!1;skipHostVerification=!0;skipIdTokenVerification=!1;skipIps=[];skipNonceVerification=!1;skipPasswordCredentialsExpiredCheck=!0;skipUserRegisterAction=!1;skipWpAdmin=!1;skipWpLoginAction=!1;signInMultiPlaceholder="Select your Identity Provider";signInWithMicrosoft="Sign in with Microsoft";tenantId="";testAccessToken=!0;testConfiguration=!0;testIdToken=!0;tld=".com";updateAdmins=!1;upgradeActions=[];useAlternativeCdn=!1;useAppOnlyToken=!1;useAvatar=!1;useB2c=!1;useBpAvatar=!1;useBpExtended=!1;useCiam=!1;useGcc=!1;useGraphMailer=!1;useShortLoginName=!1;useSingleAppRegistration=!1;useIdTokenParserV1=!1;useIdTokenParserV2=!1;useLoaderV1=!1;useLoginButtonV1=!1;useMsTeamsSsoV1=!1;useNoTeamsSso=!1;usePkce=!1;userNameClaim="";userNamePreference="default";userNameAadProperty="";userNameScimClaim="";userSyncJobs=[];useTeams=!1;useSaml=!1;useV2=!0;useWpCli=!0;useWpConfig=!1;useWpConfigFrags=!1;useWpContent=!1;useWpRestAad=!1;useWpRestCookies=!1;userMatchOrder=[];userSyncQuery="myorganization/users?$filter=accountEnabled+eq+true+and+userType+eq+%27member%27&$top=10";userSyncAllowDelete=!1;validateOnPluginsLoaded=!1;welcomePageUrl="";wpo365LoginDownloadLink="";wpoErrorCheckLog=Le.wpoErrorCheckLog;wpoErrorDeactivated=Le.wpoErrorDeactivated;wpoErrorDualLogin=Le.wpoErrorDualLogin;wpoErrorDualLoginV2=Le.wpoErrorDualLoginV2;wpoErrorIdTokenError=Le.wpoErrorIdTokenError;wpoErrorIdTokenAud=Le.wpoErrorIdTokenAud;wpoErrorLoggedOut=Le.wpoErrorLoggedOut;wpoErrorPrivatePage=Le.wpoErrorPrivatePage;wpoErrorNotConfigured=Le.wpoErrorNotConfigured;wpoErrorNotFromDomain=Le.wpoErrorNotFromDomain;wpoErrorNotInGroup=Le.wpoErrorNotInGroup;wpoErrorTamperedWith=Le.wpoErrorTamperedWith;wpoErrorSaml2Error=Le.wpoErrorSaml2Error;wpoErrorUserNotFound=Le.wpoErrorUserNotFound;wpoErrorNoIdpSelected=Le.wpoErrorNoIdpSelected;wpoTitleM365ProfileInfo=Le.wpoTitleM365ProfileInfo;wpRestAadApplicationId="";wpRestAadApplicationIdUri="";wpRestAadProtectedEndpoints=[];wpRestAadUseAppRoles=!1;wpRestBlock=!1;wpRestCookiesProtectedEndpoints=[];wpRestSetCookies=!1;wpToAadCreateUsers=!1;wpToAadCustomerEndpoint="";wpToAadEmailNotifications="userNotPresent";wpToAadExcludedRoles=[];wpToAadExitOnFailure=!1;wpToAadForceChangePasswordNextSignIn=!1;wpToAadIdentityProvider=void 0;wpToAadPasswordReset=!1;wpToAadUpdateSensitiveProps=!1;wpToAadUpdateUsers=!1;wpToAadUserAttributeMappings=[];name=void 0;configurations=[];constructor(r){this.redirectUrl=r.props.siteUrl.slice(-1)!="/"?r.props.siteUrl+"/":r.props.siteUrl,this.mailRedirectUrl=this.redirectUrl,this.samlBaseUrl=this.redirectUrl}static async getSettings(r){const t=new FormData;t.append("action","wpo365_get_settings"),t.append("nonce",r.nonce),t.append("ina",window.wpo365.wizard.props.ina);let e;try{e=await We.post(r.wpAjaxAdminUrl,t)}catch(o){return console.log(o),null}if(e.status==200&&e.data&&e.data.status&&e.data.status=="OK")try{const o=JSON.parse(e.data.result),s=new $e(r);return Object.keys(s).forEach(a=>{typeof o[a]<"u"&&o[a]!==null&&(s[a]=o[a])}),Object.keys(o).forEach(a=>{a.indexOf("license_")===0&&(s[a]=o[a])}),s}catch(o){return console.log(o),null}return null}static async updateSettings(r,t,e=!1){if(t.name){const d=ul(t.configurations,m=>m.name==t.name),f=JSON.parse(JSON.stringify(t));delete f.configurations,d>-1?t.configurations[d]=f:t.configurations.push(f)}function o(d){return new Promise((f,m)=>{const h=new FileReader;h.onloadend=()=>{const g=h.result,y=g.indexOf(",");y>-1?f(g.substring(y+1)):(console.warn("Settings::blobToBase64 -> Could not split the dataURL into "),f(g))},h.readAsDataURL(d)})}const s=await o(new Blob([JSON.stringify(t)],{type:"application/json"})),a=new FormData;a.append("action","wpo365_update_settings"),a.append("nonce",r.nonce),a.append("ina",window.wpo365.wizard.props.ina),a.append("settings",s),e&&a.append("reset","true");let u;try{u=await We.post(r.wpAjaxAdminUrl,a)}catch(d){return d}return u.status==200&&u.data&&u.data.status?u.data.status=="OK"?{error:null,message:Le.empty,success:!0}:{error:new Bc(null,u.data.message),message:Le.empty,success:!1}:{error:new Bc(null,u.message),message:Le.empty,success:!1}}update(){return null}validate(){return null}}const lt=O.createContext({addOnNavigateHandler:null,appStatus:"initial",env:void 0,lastErrorMessage:null,onNavigateHandlers:[],removeOnNavigateHandler:null,settings:void 0,showWpoHealthMessages:!1,setShowWpoHealthMessages:n=>{},updateAppStatus:n=>{},updateLastErrorMessage:n=>{},updateSettings:n=>{},wpoHealthMessagesDismissed:()=>{},wpoHealthMessagesUpdated:n=>{}}),DR=n=>{const{children:r}=n,[t,e]=O.useState("initial"),[o,s]=O.useState(n.env),[a,u]=O.useState(null),[d,f]=O.useState(void 0),[m,h]=O.useState(!1),[g,y]=O.useState([]),C=O.useRef();O.useMemo(()=>{C.current=[],$e.getSettings(o).then(D=>f(D))},[]);const x=D=>{ul(C.current,L=>L.toString()==D.toString())==-1&&(C.current=[...C.current,D],y(C.current))},b=D=>{const A=ul(C.current,L=>L.toString()==D.toString());A>-1&&(C.current.splice(A,1),y(C.current))},S=()=>{const D={...o};D.props.wpoHealthMessages="false",s(D)},F=D=>{if(D){const A={...o};A.props.wpoHealthMessages=D,s(A)}};return c.jsx(lt.Provider,{value:{addOnNavigateHandler:x,appStatus:t,env:o,lastErrorMessage:a,onNavigateHandlers:g,removeOnNavigateHandler:b,settings:d,showWpoHealthMessages:m,setShowWpoHealthMessages:h,updateAppStatus:e,updateLastErrorMessage:u,updateSettings:f,wpoHealthMessagesDismissed:S,wpoHealthMessagesUpdated:F},children:d?r:c.jsx("div",{style:{position:"absolute",top:"50%",left:"50%",marginTop:"-14px",marginLeft:"-14px",width:"100px",height:"100px;"},children:c.jsx(nt,{size:Oe.large})})})},Mn={background:"#ffffff",border:"1px solid #cccccc",boxSizing:"border-box",fontSize:"13px",height:"400px",maxHeight:"400px",maxWidth:"350px",minHeight:"400px",minWidth:"300px",position:"relative"},ur={backgroundColor:"#f9f9f9",borderBottom:"1px solid #cccccc",display:"block",padding:"15px"},Hy={backgroundColor:"#448fd5",border:"2px solid #ffffff",display:"block",padding:"15px"},Pn={display:"block",margin:"15px",overflowY:"auto",overflowX:"hidden"},cr={root:{overflowX:"hidden",overflowY:"auto"}},dr={backgroundColor:"#f9f9f9",borderTop:"1px solid #cccccc",display:"block",padding:"15px",height:"45px",lineHeight:"45px"},yt={fontSize:"13px"},wf={color:"#0078d4",fontWeight:600},ob={color:"#0078d4",marginBottom:"1px",fontWeight:400,marginLeft:"20px",cursor:"pointer"},ib={color:"#0078d4",paddingTop:"1px",marginLeft:"20px"},ai=n=>{const{text:r}=n;return c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},styles:{root:{alignItems:"center"}},children:[c.jsx("h3",{children:r}),c.jsx("span",{style:ib,children:c.jsx(Ke,{iconName:"Diamond",title:"Premium Feature",ariaLabel:"Premium Feature"})}),c.jsx("span",{children:"premium"})]})},So=n=>{const{alwaysOn:r,checked:t,labelOff:e,labelOn:o,onChange:s,page:a,targets:u}=n,{env:{props:{extensions:d}}}=O.useContext(lt),f=u.some(C=>d.some(x=>x===C)),m=[],h=O.useMemo(()=>[I.wpo365LoginPlus,I.wpo365Essentials,I.wpo365Mail,I.wpo365RolesAccess,I.wpo365Pro,I.wpo365Integrate,I.wpo365Customers,I.wpo365Scim,I.wpo365Apps].filter(C=>u.indexOf(C)>-1),[]);f||u.map(C=>{const x=C in ll?ll[C]:{name:"NOT FOUND",url:"https://www.wpo365.com/"};h.indexOf(C)>-1&&m.push({key:x.url,text:x.name})});const g=C=>{window.open(C,"_blank")},y=f?c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},styles:{root:{alignItems:"center"}},children:[c.jsx("span",{children:t?o||"Enabled":e||"Disabled"}),a&&t&&c.jsxs("span",{style:ob,onClick:C=>{window.location.hash=a,C.preventDefault(),C.stopPropagation()},children:["configure ",c.jsx(Ke,{iconName:"NavigateExternalInline",title:"Configure",ariaLabel:"Configure"})]})]}):c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},styles:{root:{alignItems:"center"}},children:[c.jsx("span",{children:"Plugins: "}),c.jsx(Ri,{onChange:(C,x)=>g(x.key),styles:{root:{width:"150px"}},options:m,placeholder:"Select"})]});return c.jsx(Or,{disabled:!f||r,styles:{root:{maxHeight:"45px",marginBottom:"0px"},label:{color:"unset"}},onChange:s,checked:t,inlineLabel:!0,label:y})},TR=n=>{const{env:r,settings:t,env:{props:{extensions:e}},updateSettings:o}=O.useContext(lt),s=[I.wpo365RolesAccess,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro,I.wpo365Customers],a=s.some(g=>e.some(y=>y===g));if(t.hidePremiumOptions&&!a)return null;const[u,d]=O.useState(t.enableAudiences),[f,m]=O.useState("initial");O.useEffect(()=>{d(t.enableAudiences)},[t.enableAudiences]),O.useEffect(()=>{f=="dirty"&&(m("loading"),$e.updateSettings(r,{...t,enableAudiences:u}).then(g=>{g.success?$e.getSettings(r).then(y=>{o(y),m("initial")}).catch(y=>{console.error(y),m("errors")}):m("errors")}).catch(g=>{console.error(g),m("errors")}))},[u]);const h=(g,y)=>{m("dirty"),d(y)};return c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx(ai,{text:"AUDIENCES"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsx("p",{style:yt,children:"If enabled, admins can restrict access to WordPress posts and pages by requiring that a user is:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Logged in to the website"}),c.jsxs("li",{children:["A member of a specific ",c.jsx("em",{children:"audience"})," (a group of users that is dynamically populated with members of one or more Entra ID groups)"]})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(So,{checked:u,labelOff:"Disabled",labelOn:"Enabled",onChange:h,page:_e.rolesAccess,targets:s}),f=="loading"&&c.jsx(nt,{size:Oe.small}),f=="errors"&&c.jsx(lr,{content:c.jsx("span",{children:"Could not save your changes. Please try again or check the Developer Console (F12) for errors."}),id:`tooltip_${Sr(4)}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})})]})})})]})},AR=n=>{const{env:r,settings:t,env:{props:{extensions:e}},updateSettings:o}=O.useContext(lt),s=[I.wpo365Avatar,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Pro,I.wpo365Integrate,I.wpo365Customers],a=s.some(g=>e.some(y=>y===g));if(t.hidePremiumOptions&&!a)return null;const[u,d]=O.useState(t.useAvatar),[f,m]=O.useState("initial");O.useEffect(()=>{d(t.useAvatar)},[t.useAvatar]),O.useEffect(()=>{f=="dirty"&&(m("loading"),$e.updateSettings(r,{...t,useAvatar:u}).then(g=>{g.success?$e.getSettings(r).then(y=>{o(y),m("initial")}).catch(y=>{console.error(y),m("errors")}):m("errors")}).catch(g=>{console.error(g),m("errors")}))},[u]);const h=(g,y)=>{m("dirty"),d(y)};return c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx(ai,{text:"AVATAR"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsx("p",{style:yt,children:"If enabled, the plugin will try and replace a WordPress user's avatar with the user's profile picture from Entra ID. The following features are supported:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Optionally, update the BuddyPress avatar"}),c.jsx("li",{children:"Customize the avatar template"}),c.jsx("li",{children:"Configure the refresh rate"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(So,{checked:u,labelOff:"Disabled",labelOn:"Enabled",onChange:h,page:_e.userSync,targets:s}),f=="loading"&&c.jsx(nt,{size:Oe.small}),f=="errors"&&c.jsx(lr,{content:c.jsx("span",{children:"Could not save your changes. Please try again or check the Developer Console (F12) for errors."}),id:`tooltip_${Sr(4)}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})})]})})})]})},MR=n=>{const{settings:r,env:{props:{extensions:t}}}=O.useContext(lt),e=[I.wpo365CustomFields,I.wpo365LoginProfessional,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365RolesAccess,I.wpo365Integrate,I.wpo365Pro],o=e.some(s=>t.some(a=>a===s));return r.hidePremiumOptions&&!o?null:c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx(ai,{text:"CUSTOM USER FIELDS"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsx("p",{style:yt,children:"If installed, admins can enrich WordPress user profiles with Entra ID user attributes:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Retrieved from Microsoft Graph (OIDC)"}),c.jsx("li",{children:"Received as custom SAML 2.0 claims (SAML)"}),c.jsx("li",{children:"Received as custom ID token claims"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsx(So,{alwaysOn:!0,checked:!0,labelOff:"Disabled",labelOn:"Enabled",onChange:()=>{},page:_e.userSync,targets:e})})})]})},PR=n=>{const{settings:r,env:{props:{extensions:t}}}=O.useContext(lt),e=[I.wpo365Customers];return r.hidePremiumOptions&&!e.some(o=>t.some(s=>s===o))?null:c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx(ai,{text:"CUSTOMERS"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:wf,children:[c.jsx(Ke,{iconName:"Cake",title:"Highlight"}),c.jsx("div",{children:"Supporting Entra External ID"})]}),c.jsx("p",{style:yt,children:"If installed, WPO365 will support seamless-integration scenarios for AAD B2C / Entra Ext. ID:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Bi-directional user synchronization"}),c.jsx("li",{children:"Force users to change their password on next signin"}),c.jsx("li",{children:"Send new customer notifications (incl. temp. pwd)"}),c.jsx("li",{children:"Update WordPress user fields from (custom) claims"}),c.jsx("li",{children:"Support for custom login domain / embedded login"}),c.jsx("li",{children:"Force user to sign in with Microsoft"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsx(So,{alwaysOn:!0,checked:t.some(o=>o===I.wpo365Customers),labelOff:"Disabled",labelOn:"Enabled",onChange:(o,s)=>{},targets:e})})})]})},Nl=n=>{const{alwaysOn:r,checked:t,labelOff:e,labelOn:o,onChange:s,page:a}=n,u=c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},styles:{root:{alignItems:"center"}},children:[c.jsx("span",{children:t?o||"Enabled":e||"Disabled"}),a&&t&&c.jsxs("span",{style:ob,onClick:d=>{window.location.hash=a,d.preventDefault(),d.stopPropagation()},children:["configure ",c.jsx(Ke,{iconName:"NavigateExternalInline",title:"Configure",ariaLabel:"Configure"})]})]});return c.jsx(Or,{disabled:r,styles:{root:{maxHeight:"45px",marginBottom:"0px"},label:{color:"unset"}},onChange:s,checked:t,inlineLabel:!0,label:u})},RR=n=>{const{env:r,settings:t,updateSettings:e}=O.useContext(lt),[o,s]=O.useState(t.useGraphMailer),[a,u]=O.useState("initial");O.useEffect(()=>{s(t.useGraphMailer)},[t.useGraphMailer]),O.useEffect(()=>{a=="dirty"&&(u("loading"),$e.updateSettings(r,{...t,useGraphMailer:o}).then(f=>{f.success?$e.getSettings(r).then(m=>{e(m),u("initial")}).catch(m=>{console.error(m),u("errors")}):u("errors")}).catch(f=>{console.error(f),u("errors")}))},[o]);const d=(f,m)=>{u("dirty"),s(m)};return c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx("h3",{children:"MAIL"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsx("p",{style:yt,children:"If enabled, admins can re-configure WordPress to send emails using Microsoft Graph (instead of SMTP). The following features are supported:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Send mail as HTML"}),c.jsx("li",{children:"Save to Sent Items"}),c.jsx("li",{children:"Send WordPress files as attachments"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(Nl,{checked:o,labelOff:"Disabled",labelOn:"Enabled",onChange:d,page:_e.mail}),a=="loading"&&c.jsx(nt,{size:Oe.small}),a=="errors"&&c.jsx(lr,{content:c.jsx("span",{children:"Could not save your changes. Please try again or check the Developer Console (F12) for errors."}),id:`tooltip_${Sr(4)}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})})]})})})]})},NR=n=>{const{settings:r,env:{props:{extensions:t}},updateSettings:e}=O.useContext(lt),o=[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro,I.wpo365Customers];return r.hidePremiumOptions&&!o.some(s=>t.some(a=>a===s))?null:c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx(ai,{text:"MAIL"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:20},children:c.jsxs(c.Fragment,{children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:wf,children:[c.jsx(Ke,{iconName:"Cake",title:"Highlight"}),c.jsx("div",{children:"New with auto-resend"})]}),c.jsx("p",{style:yt,children:"If installed, admins can configure the following additional MAIL options:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Auto-resend on failure"}),c.jsx("li",{children:"Mail audit / Resend"}),c.jsx("li",{children:"Send large attachments (> 3 Mb) "}),c.jsx("li",{children:"Send from Shared Mailbox"}),c.jsx("li",{children:"Throttle emails / minute"}),c.jsx("li",{children:"Default Reply-To"}),c.jsx("li",{children:"Send to BCC"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:t.some(s=>s==I.wpo365MsGraphMailer)?c.jsx(So,{alwaysOn:!0,checked:r.useGraphMailer,labelOff:"Disabled",labelOn:"Enabled",onChange:(s,a)=>{},page:_e.mail,targets:[I.wpo365Mail]}):c.jsx(So,{alwaysOn:!0,checked:r.useGraphMailer,labelOff:"Disabled",labelOn:"Enabled",onChange:(s,a)=>{},page:_e.mail,targets:o})})})]})},LR=n=>{const{env:{props:{extensions:r}},updateSettings:t}=O.useContext(lt),o=[I.wpo365Apps,I.wpo365LoginIntranet,I.wpo365Intranet5y,,I.wpo365Integrate].some(s=>r.some(a=>a===s));return c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx("h3",{children:"M365 APPS"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsx("p",{style:yt,children:"Use these apps to embed Microsoft services and content such as Power BI, SharePoint Online and Yammer in a WordPress page or post using a simple WordPress shortcode."}),c.jsx("p",{style:yt,children:c.jsxs("em",{children:["Please note that each app also has a"," ",c.jsx("a",{href:"https://www.wpo365.com/downloads/wpo365-microsoft-365-apps/",target:"_blank",children:"premium alternative"})," ","offering advanced features."]})}),c.jsxs("ul",{style:yt,children:[c.jsxs("li",{children:["Embed Power BI reports, dashboards, etc."," ",c.jsx("a",{style:{marginTop:"5px"},href:`#${_e.apps}`,children:"Configure"})]}),c.jsxs("li",{children:["Embed a SharePoint / OneDrive Library or List"," ",c.jsx("a",{style:{marginTop:"5px"},href:`#${_e.apps}`,children:"Configure"})]}),c.jsxs("li",{children:["Embed an Outlook / Exchange Calendar"," ",c.jsx("a",{style:{marginTop:"5px"},href:`#${_e.apps}`,children:"Configure"})]}),c.jsxs("li",{children:["Embed SharePoint Online search"," ",c.jsx("a",{style:{marginTop:"5px"},href:`#${_e.cbsConfigurator}`,children:"Configure"})]}),c.jsxs("li",{children:["Embed an Entra ID based Employee Directory"," ",c.jsx("a",{style:{marginTop:"5px"},href:`#${_e.edConfigurator}`,children:"Configure"})]}),c.jsxs("li",{children:["Embed a Yammer Feed"," ",o?c.jsx("a",{style:{marginTop:"5px"},href:`#${_e.yammer}`,children:"Configure"}):c.jsx("span",{style:{...ib,paddingLeft:"10px"},children:c.jsx(Ke,{iconName:"Diamond",title:"Premium Feature",ariaLabel:"Premium Feature"})})]})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsx(Nl,{alwaysOn:!0,checked:!0,labelOff:"Disabled",labelOn:"Enabled",onChange:(s,a)=>{}})})})]})},BR=n=>{const{settings:r,env:{props:{extensions:t}}}=O.useContext(lt),e=[I.wpo365RolesAccess,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro,I.wpo365Customers],o=e.some(s=>t.some(a=>a===s));return r.hidePremiumOptions&&!o?null:c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx(ai,{text:"ROLES + ACCESS"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:wf,children:[c.jsx(Ke,{iconName:"Cake",title:"Highlight"}),c.jsx("div",{children:"New with LearnDash integration"})]}),c.jsx("p",{style:yt,children:"If installed, admins can restrict access to the WordPress website by requiring that a user is:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Member of a specific Entra ID Group"}),c.jsx("li",{children:"Member of a specific login domain"})]}),c.jsx("p",{style:yt,children:"Alternatively, admins can dynamically assign WordPress roles based on a user's:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Entra ID Group memberships"}),c.jsx("li",{children:"Login domains"}),c.jsx("li",{children:"Specific Entra ID user profile attributes"})]}),c.jsx("p",{style:yt,children:"Plus, admins can dynamically enroll users into LearnDash courses and groups based on a user's:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Entra ID Group memberships"}),c.jsx("li",{children:"Defaults"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsx(So,{alwaysOn:!0,checked:!0,labelOff:"Disabled",labelOn:"Enabled",onChange:()=>{},page:_e.rolesAccess,targets:e})})})]})},jR=n=>{const{env:r,settings:t,env:{props:{extensions:e}},updateSettings:o}=O.useContext(lt),a=[I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Scim,I.wpo365Integrate].some(g=>e.some(y=>y===g)),[u,d]=O.useState(t.enableScim),[f,m]=O.useState("initial");O.useEffect(()=>{d(t.enableScim)},[t.enableScim]),O.useEffect(()=>{f=="dirty"&&(m("loading"),$e.updateSettings(r,{...t,enableScim:u}).then(g=>{g.success?$e.getSettings(r).then(y=>{o(y),m("initial")}).catch(y=>{console.error(y),m("errors")}):m("errors")}).catch(g=>{console.error(g),m("errors")}))},[u]);const h=(g,y)=>{m("dirty"),d(y)};return c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx("h3",{children:"SCIM"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsxs("p",{style:yt,children:["If enabled, admins can connect to"," ",c.jsx("a",{href:"https://learn.microsoft.com/en-us/entra/identity/app-provisioning/user-provisioning",target:"_blank",children:"Entra ID Application / User Provisioning (SCIM)"})," ","to sync users to WordPress."]}),!a&&c.jsxs(c.Fragment,{children:[c.jsxs("p",{children:["Unlock any of the following functionality by activating one of the following premium plugins:"," ",c.jsx("a",{href:"https://www.wpo365.com/downloads/wpo365-integrate/",target:"_blank",children:"WPO365 | SCIM"})," ","or"," ",c.jsx("a",{href:"https://www.wpo365.com/downloads/wpo365-scim/",target:"_blank",children:"WPO365 | INTEGRATE"}),"."]}),c.jsxs("ul",{children:[c.jsxs("li",{children:[c.jsx("strong",{children:"(Soft) Delete Users"})," Delete users from WordPress when their account is disabled / deleted permanently in Entra ID."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Update Users"})," Update user attributes when their properties are updated in Entra ID."]}),c.jsxs("li",{children:[c.jsx("strong",{children:"Map User Attributes"})," Receive user attributes beyond name and email and store as WordPress user meta."]})]})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(Nl,{checked:u,labelOff:"Disabled",labelOn:"Enabled",onChange:h,page:_e.userSync}),f=="loading"&&c.jsx(nt,{size:Oe.small}),f=="errors"&&c.jsx(lr,{content:c.jsx("span",{children:"Could not save your changes. Please try again or check the Developer Console (F12) for errors."}),id:`tooltip_${Sr(4)}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})})]})})})]})},ud=n=>{const{onDismiss:r,onCancel:t,onConfirm:e,title:o,subText:s}=n;return c.jsx(O.Fragment,{children:c.jsxs(wl,{hidden:!1,onDismiss:r,dialogContentProps:{type:Wr.normal,title:o,subText:""},modalProps:{isBlocking:!1},children:[c.jsx("div",{dangerouslySetInnerHTML:{__html:s}}),c.jsxs(ld,{children:[!!t&&c.jsx(xt,{onClick:t,text:Le.capCancelButton}),c.jsx(An,{onClick:e,text:"Close"})]})]})})},OR=n=>{const{env:r,settings:t,updateSettings:e}=O.useContext(lt),[o,s]=O.useState(null),[a,u]=O.useState(t.noSso),[d,f]=O.useState("initial");O.useEffect(()=>{u(t.noSso)},[t.noSso]),O.useEffect(()=>{if(d!="dirty")return;f("loading");const g=a?{...t,applicationId:"",applicationSecret:"",authScenario:xf.internet,b2cAllowMultiplePolicies:!1,b2cCustomDomain:"",b2cDomainName:"",b2cEnableSignup:!1,b2cPolicyName:"",domainHint:"",multiTenanted:!1,multiTenantedApiPermissions:[],noSso:!0,publicHomepage:!1,redirectUrl:"",rememberUser:!1,samlBaseUrl:"",samlClaimMappings:[],samlForceAuthn:!1,samlIdpEntityId:"",samlIdpSlsBinding:"",samlIdpSlsUrl:"",samlIdpSsosBinding:"",samlIdpSsosUrl:"",samlSpAcsBinding:"",useAppOnlyToken:!1,useB2c:!1,useSaml:!1,useCiam:!1,useSingleAppRegistration:!1,wpToAadCreateUsers:!1,wpToAadUserAttributeMappings:[],wpToAadIdentityProvider:void 0}:{...t,noSso:a,redirectUrl:r.props.siteUrl.slice(-1)!="/"?r.props.siteUrl+"/":r.props.siteUrl};$e.updateSettings(r,g).then(y=>{y.success?$e.getSettings(r).then(C=>{e(C),f("initial")}).catch(C=>{console.error(C),f("errors")}):f("errors")}).catch(y=>{console.error(y),f("errors")})},[a]);const m=(g,y,C,x)=>{s({title:C,subText:x,onDismiss:()=>s(null),onCancel:()=>s(null),onConfirm:()=>{s(null),y(!g)}})},h=(g,y)=>{m(!a,x=>{f("dirty"),u(!x)},"Confirm",y?"<p>You are enabling Microsoft based single sign-on and can now continue to configure OpenID Connect, SAML 2.0 or AAD B2C / Entra Ext. ID based SSO.</p>":`<p>You have chosen to disable Microsoft based single sign-on. You can still configure and use other features of the WPO365 plugin e.g.
         <ul style="list-style: intial; padding: 0px 0px 0px 20px">
          <li>Sending email using Microsoft Graph</li>
          <li>Synchronizing users from Entra ID to WordPress using <em>application-level</em> permissions</li>
          <li>Embedding Power BI content when the <em>application owns the data</em></li>
          <li>Embedding a SharePoint Library using <em>application-level</em> permissions</li>
         </ul>
         </p>
         <p><strong>Important</strong> <em>Your exising WPO365 configuration will be deleted</em></p>
         `)};return c.jsxs(c.Fragment,{children:[c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx("h3",{children:"SINGLE SIGN-ON (SSO)"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsxs(V,{tokens:{childrenGap:10},children:[c.jsx("p",{children:"If enabled, WordPress users can sign into the website using their Microsoft Entra ID account: No password needed. The following features are supported:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"OpenID Connect based SSO"}),c.jsx("li",{children:"SAML 2.0 based SSO"}),c.jsx("li",{children:"Support for Azure AD B2C"}),c.jsx("li",{children:"Support for Entra External ID"}),c.jsxs("li",{children:["Support for multi-tenancy ",c.jsx(Ke,{iconName:"Diamond",title:"Premium Feature",ariaLabel:"Premium Feature"})]})]})]})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(Nl,{checked:!a,labelOff:"Disabled",labelOn:"Enabled",onChange:h,page:_e.singleSignOn}),d=="loading"&&c.jsx(nt,{size:Oe.small}),d=="errors"&&c.jsx(lr,{content:c.jsx("span",{children:"Could not save your changes. Please try again or check the Developer Console (F12) for errors."}),id:`tooltip_${Sr(4)}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})})]})})})]}),o&&c.jsx(ud,{onCancel:o.onCancel,onConfirm:o.onConfirm,onDismiss:o.onDismiss,title:o.title,subText:o.subText})]})},HR=n=>{const{env:r,settings:t,env:{props:{extensions:e}},updateSettings:o}=O.useContext(lt),s=[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate],a=s.some(g=>e.some(y=>y===g));if(t.hidePremiumOptions&&!a)return null;const[u,d]=O.useState(t.enableUserSync),[f,m]=O.useState("initial");O.useEffect(()=>{d(t.enableUserSync)},[t.enableUserSync]),O.useEffect(()=>{f=="dirty"&&(m("loading"),$e.updateSettings(r,{...t,enableUserSync:u}).then(g=>{g.success?$e.getSettings(r).then(y=>{o(y),m("initial")}).catch(y=>{console.error(y),m("errors")}):m("errors")}).catch(g=>{console.error(g),m("errors")}))},[u]);const h=(g,y)=>{m("dirty"),d(y)};return c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx(ai,{text:"SYNC"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsx("p",{style:yt,children:"If enabled, admins can configure the plugin to synchronize (pull) users from Entra ID to WordPress. The following features are supported:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"On-demand or scheduled user synchronization"}),c.jsx("li",{children:"Actions to create, update, de-activate or delete users"}),c.jsx("li",{children:"Audit log"}),c.jsx("li",{children:"Mail notification for admins"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(So,{checked:u,labelOff:"Disabled",labelOn:"Enabled",onChange:h,page:_e.userSync,targets:s}),f=="loading"&&c.jsx(nt,{size:Oe.small}),f=="errors"&&c.jsx(lr,{content:c.jsx("span",{children:"Could not save your changes. Please try again or check the Developer Console (F12) for errors."}),id:`tooltip_${Sr(4)}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})})]})})})]})},WR=n=>{const{env:r,settings:t,updateSettings:e}=O.useContext(lt),[o,s]=O.useState(t.useWpRestCookies),[a,u]=O.useState("initial");O.useEffect(()=>{s(t.useWpRestCookies)},[t.useWpRestCookies]),O.useEffect(()=>{a=="dirty"&&(u("loading"),$e.updateSettings(r,{...t,useWpRestCookies:o}).then(f=>{f.success?$e.getSettings(r).then(m=>{e(m),u("initial")}).catch(m=>{console.error(m),u("errors")}):u("errors")}).catch(f=>{console.error(f),u("errors")}))},[o]);const d=(f,m)=>{u("dirty"),s(m)};return c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx("h3",{children:"WP REST API"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:10},children:c.jsxs(c.Fragment,{children:[c.jsx("p",{style:yt,children:"If enabled, admins can protect the WordPress REST API with a combination of a WordPress authentication cookie and a nonce and configure the following options:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Enable protection for specific endpoints"}),c.jsx("li",{children:"Impersonate the current user"}),c.jsx("li",{children:"Optionally block requests to all other endpoints"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(Nl,{checked:o,labelOff:"Disabled",labelOn:"Enabled",onChange:d,page:_e.integration}),a=="loading"&&c.jsx(nt,{size:Oe.small}),a=="errors"&&c.jsx(lr,{content:c.jsx("span",{children:"Could not save your changes. Please try again or check the Developer Console (F12) for errors."}),id:`tooltip_${Sr(4)}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})})]})})})]})},zR=n=>{const{env:r,settings:t,env:{props:{extensions:e}},updateSettings:o}=O.useContext(lt),s=[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro];if(t.hidePremiumOptions&&!s.some(h=>e.some(g=>g===h)))return null;const[a,u]=O.useState(t.useWpRestAad),[d,f]=O.useState("initial");O.useEffect(()=>{u(t.useWpRestAad)},[t.useWpRestAad]),O.useEffect(()=>{d=="dirty"&&(f("loading"),$e.updateSettings(r,{...t,useWpRestAad:a}).then(h=>{h.success?$e.getSettings(r).then(g=>{o(g),f("initial")}).catch(g=>{console.error(g),f("errors")}):f("errors")}).catch(h=>{console.error(h),f("errors")}))},[a]);const m=(h,g)=>{f("dirty"),u(g)};return c.jsxs(V,{style:Mn,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:ur,children:c.jsx(ai,{text:"WP REST API"})})}),c.jsx(V.Item,{grow:1,styles:cr,children:c.jsx("div",{style:Pn,children:c.jsx(V,{tokens:{childrenGap:20},children:c.jsxs(c.Fragment,{children:[c.jsx("p",{style:yt,children:"If enabled, admins can protect the WP REST API with access tokens generated by Entra ID en configure the following options:"}),c.jsxs("ul",{style:yt,children:[c.jsx("li",{children:"Enable protection for specific endpoints"}),c.jsx("li",{children:"Impersonate the current user"}),c.jsx("li",{children:"Optionally block requests to all other endpoints"}),c.jsx("li",{children:"Set a WordPress authentication cookie"})]})]})})})}),c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:dr,children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(So,{checked:a,labelOff:"Disabled",labelOn:"Enabled",onChange:m,page:_e.integration,targets:s}),d=="loading"&&c.jsx(nt,{size:Oe.small}),d=="errors"&&c.jsx(lr,{content:c.jsx("span",{children:"Could not save your changes. Please try again or check the Developer Console (F12) for errors."}),id:`tooltip_${Sr(4)}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})})]})})})]})},UR=n=>{const{mailDashboard:r}=n;return c.jsxs(V,{children:[c.jsxs("div",{style:{lineHeight:"1.2rem",marginTop:"1rem",marginBottom:"1.8rem",width:"80%"},children:[c.jsx("strong",{children:"See what matters, when it happens"})," Track key WPO365 events like logins, sent emails and user creation and updates with"," ",c.jsx("a",{href:"#insights",children:"WPO365 Insights"})]}),c.jsxs(V,{horizontal:!0,wrap:!0,tokens:{childrenGap:15},children:[!r&&c.jsx(OR,{}),c.jsx(RR,{}),c.jsx(NR,{}),!r&&c.jsxs(c.Fragment,{children:[c.jsx(PR,{}),c.jsx(BR,{}),c.jsx(TR,{}),c.jsx(jR,{}),c.jsx(HR,{}),c.jsx(LR,{}),c.jsx(MR,{}),c.jsx(AR,{}),c.jsx(WR,{}),c.jsx(zR,{})]})]})]})},GR=n=>{const{env:r,env:{nonce:t,wpAjaxAdminUrl:e,props:{addOns:o,extensions:s}},settings:a,settings:{hidePremiumOptions:u},updateSettings:d}=O.useContext(lt),[f,m]=O.useState({insightsAlertsEnabled:a.insightsAlertsEnabled,insightsAlertsLogin:a.insightsAlertsLogin,insightsAlertsMail:a.insightsAlertsMail,insightsAlertsNoSensitiveData:a.insightsAlertsNoSensitiveData,insightsAlertsUserCreation:a.insightsAlertsUserCreation}),[h,g]=O.useState("initial"),[y,C]=O.useState(""),[x,b]=O.useState(""),[S,F]=O.useState("initial"),[D,A]=O.useState(!1),L=async()=>{C(null),F("saving");const M={...a};M.insightsAlertsEnabled=f.insightsAlertsEnabled,M.insightsAlertsLogin=f.insightsAlertsLogin,M.insightsAlertsMail=f.insightsAlertsMail,M.insightsAlertsNoSensitiveData=f.insightsAlertsNoSensitiveData,M.insightsAlertsUserCreation=f.insightsAlertsUserCreation;try{const R=await $e.updateSettings(r,M);if(R.success){const P=await $e.getSettings(r);d(P),C(null),F("initial")}else C(R.message)}catch{C("Unknown error occured whilst updating settings [check F12 > console for technical details]")}F("initial")};O.useEffect(()=>{D&&L().then(()=>A(!1))},[D]),O.useEffect(()=>{(a.insightsAlertsEnabled!=f.insightsAlertsEnabled||a.insightsAlertsLogin!=f.insightsAlertsLogin||a.insightsAlertsMail!=f.insightsAlertsMail||a.insightsAlertsNoSensitiveData!=f.insightsAlertsNoSensitiveData||a.insightsAlertsUserCreation!=f.insightsAlertsUserCreation)&&A(!0)},[f]);const j=async()=>{b(""),g("saving");const M=new FormData;M.append("action","wpo365_send_test_alert"),M.append("nonce",t),M.append("ina",window.wpo365.wizard.props.ina);let R;try{R=await We.post(e,M)}catch(P){g("initial"),b(P.message);return}if(g("initial"),R.status>=200&&R.status<300&&R.data&&R.data.status){if(R.data.status=="OK")return;b(R.data.message);return}b(`Error occured (HTTP status ${R.status})`)};return c.jsxs(V,{tokens:{childrenGap:10},children:[c.jsx("p",{children:c.jsx("strong",{children:"See what matters, when it happens"})}),c.jsx("p",{children:"Track key WPO365 events like logins, sent emails and user creation and updates - and get alerted when critical errors occur."}),c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:15},style:{marginBottom:"10px"},children:[c.jsx("div",{style:{fontSize:"13px"},children:"Enable alerts"}),c.jsx(Or,{styles:{root:{marginBottom:"0px",marginRight:"10px"},label:{fontWeight:400}},checked:f.insightsAlertsEnabled,onChange:(M,R)=>m({...f,insightsAlertsEnabled:R}),inlineLabel:!0}),S==="saving"&&c.jsx(nt,{size:Oe.small})]}),y&&c.jsx("p",{style:{color:"#ff0000"},children:y}),f.insightsAlertsEnabled&&c.jsxs(c.Fragment,{children:[c.jsxs(V,{style:{marginBottom:"10px"},tokens:{childrenGap:10},children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(Xe,{checked:f.insightsAlertsNoSensitiveData,onChange:(M,R)=>m({...f,insightsAlertsNoSensitiveData:R})}),c.jsx("div",{style:{fontSize:"13px"},children:"No sensitive data"})]}),a.useGraphMailer&&c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(Xe,{checked:f.insightsAlertsMail,onChange:(M,R)=>m({...f,insightsAlertsMail:R})}),c.jsx("div",{style:{fontSize:"13px"},children:"Email sending issues"})]}),!a.noSso&&c.jsxs(c.Fragment,{children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(Xe,{checked:f.insightsAlertsLogin,onChange:(M,R)=>m({...f,insightsAlertsLogin:R})}),c.jsx("div",{style:{fontSize:"13px"},children:"Unsuccessful logins"})]}),c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(Xe,{checked:f.insightsAlertsUserCreation,onChange:(M,R)=>m({...f,insightsAlertsUserCreation:R})}),c.jsx("div",{style:{fontSize:"13px"},children:"Failed user creation"})]})]})]}),c.jsxs("p",{children:["Enabling WPO365 Alerts implies your acceptance of the"," ",c.jsx("a",{href:"https://docs.wpo365.com/article/210-wpo365-insights#tandc",target:"_blank",children:"Terms and Conditions"}),", including the limited and purpose-specific processing of data in line with GDPR."]}),c.jsx("p",{children:"To send alerts, make sure you're using a premium WPO365 plugin - version 38.0 or later."}),c.jsx("p",{children:'To ensure successful delivery of future alerts, please add "insights@wpo365.com" to your allow list and verify that messages from this address are not marked as spam.'}),c.jsx("p",{children:"Please note that your alert may be placed in a queue. As a result, delivery may be delayed."}),c.jsxs(V,{style:{marginBottom:"10px"},horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(xt,{onClick:()=>j(),children:"Send test alert"}),c.jsx("div",{style:{minWidth:"50px"},children:h==="saving"&&c.jsx(nt,{size:Oe.small})})]}),x&&c.jsx("p",{style:{color:"#ff0000"},children:x}),c.jsx("p",{children:'After sending a test alert, please refresh the page, and check for "Alerst (not) submitted successfully".'})]})]})},Wy=oi({root:{background:"rgba(0, 0, 0, 0.2)",bottom:"0",left:"0",position:"fixed",right:"0",top:"0"},content:{background:"white",left:"50%",maxWidth:"400px",padding:"0 2em 2em",position:"absolute",top:"50%",transform:"translate(-50%, -50%)"}}),VR=n=>{const{toggleUpgradePopup:r}=n;return c.jsx(Gi,{children:c.jsxs(Ml,{role:"dialog","aria-modal":"true",onDismiss:()=>r(!1),className:Wy.root,children:[c.jsx(ad,{onClick:()=>r(!1)}),c.jsx(Zs,{children:c.jsxs("div",{role:"document",className:Wy.content,children:[c.jsx("h2",{children:"Upgrade Notice"}),c.jsxs("p",{children:["To be able to configure ",c.jsx("strong",{children:"WPO365 Alerts"}),", please"," ",c.jsx("a",{href:"https://www.wpo365.com/wordpress-plugins/",target:"_blank",children:"upgrade to any premium license"}),"."]}),c.jsx(xt,{onClick:()=>r(!1),children:"Close"})]})})]})})},KR={background:"#ffffff",border:"1px solid #cccccc",boxSizing:"border-box",fontSize:"13px",height:"400px",maxHeight:"400px",minHeight:"400px",minWidth:"400px",position:"relative",width:"100%"},$R={backgroundColor:"#f9f9f9",borderBottom:"1px solid #cccccc",display:"block",padding:"15px"},qR={display:"block",padding:"15px"},YR={root:{overflowX:"auto",overflowY:"auto"}},ZR={backgroundColor:"#f9f9f9",borderTop:"1px solid #cccccc",display:"block",padding:"15px",height:"45px",lineHeight:"45px"},XR={fontWeight:600},zy=oi({root:{background:"rgba(0, 0, 0, 0.2)",bottom:"0",left:"0",position:"fixed",right:"0",top:"0"},content:{background:"white",left:"50%",maxWidth:"400px",padding:"0 2em 2em",position:"absolute",top:"50%",transform:"translate(-50%, -50%)"}}),sb=n=>{const{toggleUpgradePopup:r}=n;return c.jsx(Gi,{children:c.jsxs(Ml,{role:"dialog","aria-modal":"true",onDismiss:()=>r(!1),className:zy.root,children:[c.jsx(ad,{onClick:()=>r(!1)}),c.jsx(Zs,{children:c.jsxs("div",{role:"document",className:zy.content,children:[c.jsx("h2",{children:"Upgrade Notice"}),c.jsxs("p",{children:["To expand ",c.jsx("strong",{children:"WPO365 Insights"})," and to change the period to ",c.jsx("strong",{children:"MTD"})," or ",c.jsx("strong",{children:"YTD"})," are premium features. Please"," ",c.jsx("a",{href:"https://www.wpo365.com/wordpress-plugins/",target:"_blank",children:"upgrade to any premium license"}),"."]}),c.jsx(xt,{onClick:()=>r(!1),children:"Close"})]})})]})})},sn=n=>{const{action:r,category:t,status:e,period:o,summaryValue:s,title:a}=n,{settings:u,env:{nonce:d,wpAjaxAdminUrl:f,props:{addOns:m,extensions:h}},updateSettings:g}=O.useContext(lt),[y,C]=O.useState(!0),[x,b]=O.useState(ge.initial),[S,F]=O.useState(""),[D,A]=O.useState([]),[L,j]=O.useState([]),[M,R]=O.useState(0),[P]=O.useState(25),[W,Q]=O.useState(!1),[K,J]=O.useState(void 0),ne=async()=>{b(ge.saving);const B=new FormData;B.append("action","wpo365_get_insights"),B.append("period",o),B.append("event_action",r),B.append("event_category",t),B.append("event_status",e),B.append("start_row",(M*P).toString()),B.append("nonce",d),B.append("ina",window.wpo365.wizard.props.ina);let Z;try{Z=await We.post(f,B)}catch(se){b(ge.initial),F(se.message);return}if(b(ge.initial),Z.status>=200&&Z.status<300&&Z.data&&Z.data.status){if(Z.data.status=="OK"&&Z.data.result&&Array.isArray(Z.data.result)){const se=Z.data.result.map(le=>("event_user"in le&&(le.event_user=JSON.parse(le.event_user)),le));if(se.length>0){const le=[...D].concat(se);A(le),j(le.slice(M*P)),R(M+1)}return}F(Z.data.message);return}F(`Error occured (HTTP status ${Z.status})`)},ie=()=>{const B=D.length/P;return Math.ceil(B)==M&&Math.floor(B)!=B},fe=async(B="prev")=>{if(B=="prev"&&M>1){const Z=M-1,se=(Z-1)*P,le=se+25;j(D.slice(se,le)),R(Z);return}if(B=="next"){const Z=D.length/P;if(ie())return;if(Math.ceil(Z)>M){const se=M+1,le=(se-1)*P,z=le+25;j(D.slice(le,z)),R(se);return}ne()}};return O.useEffect(()=>{y||(m&&Object.keys(m).length>0?D.length==0&&x==ge.initial&&ne():(Q(!0),C(!0)))},[y]),O.useEffect(()=>{D&&D.length==0&&(j([]),R(0))},[D]),c.jsxs(c.Fragment,{children:[c.jsx("table",{children:c.jsxs("tbody",{children:[c.jsxs("tr",{children:[c.jsx("td",{style:{maxWidth:"35px"},children:x==ge.saving?c.jsx(nt,{size:Oe.medium}):c.jsx(kr,{onClick:()=>C(!y),iconProps:{iconName:y?"ChevronRight":"ChevronDown"}})}),c.jsx("th",{style:XR,children:a}),c.jsx("td",{style:{maxWidth:"35px"},children:s})]}),S&&c.jsx("tr",{children:c.jsx("td",{colSpan:3,children:S})})]})}),!y&&c.jsx("table",{style:{fontSize:"11px",paddingLeft:"47px"},children:c.jsxs("tbody",{children:[c.jsxs("tr",{children:[c.jsx("th",{children:"Date"}),c.jsx("th",{children:"User"}),c.jsx("th",{children:"Data"}),c.jsx("th",{children:"Error / Info"})]}),L.length>0?L.map(B=>c.jsxs("tr",{children:[c.jsx("td",{children:B.event_timestamp}),c.jsx("td",{style:{whiteSpace:"nowrap"},children:B.event_user.mail?B.event_user.mail:B.event_user.wp_user_login?B.event_user.wp_user_login:B.event_user.display_name?B.event_user.display_name:""}),c.jsx("td",{style:{whiteSpace:"nowrap"},children:B.event_data?c.jsx("a",{href:"javascript: void(0)",onClick:()=>{const Z=Hs(B.event_data,{});J(Z)},children:"View"}):null}),c.jsx("td",{children:B.event_error})]})):m&&Object.keys(m).length>0?c.jsx("tr",{children:c.jsx("td",{colSpan:3,children:"No insights available"})}):null,c.jsx("tr",{children:c.jsx("td",{colSpan:3,children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(xt,{primary:!0,onClick:()=>fe("prev"),disabled:M<=1,children:"Previous"}),c.jsx("div",{style:{padding:"0px 20px",fontSize:"13px",fontWeight:600,backgroundColor:"#e1e1e1"},children:M}),c.jsx(xt,{primary:!0,onClick:()=>fe("next"),disabled:ie(),children:"Next"})]})})})]})}),W&&c.jsx(sb,{toggleUpgradePopup:Q}),K&&c.jsx(_f,{isOpen:!!K,onDismiss:()=>J(void 0),isBlocking:!0,children:c.jsxs("div",{className:ae.modal,children:[c.jsx("div",{style:{alignSelf:"flex-end",padding:"10px 20px 10px 10px"},children:c.jsx("a",{href:"javascript: void(0)",onClick:()=>J(void 0),children:"Close"})}),c.jsx("table",{style:{border:"1px solid black",borderCollapse:"collapse",fontSize:"11px"},children:Object.keys(K).map(B=>c.jsxs("tr",{children:[c.jsx("th",{style:{border:"1px solid black",borderCollapse:"collapse",padding:"5px"},children:B}),c.jsx("td",{style:{border:"1px solid black",borderCollapse:"collapse",padding:"5px"},children:B in K?B=="imageUri"?c.jsx("img",{src:K[B]}):JSON.stringify(K[B]):"null"})]}))})]})})]})};var Qe=(n=>(n.ALERT="ALERT",n.MAIL="MAIL",n.SCIM="SCIM",n.SSO="SSO",n.SYNC="SYNC",n.WP="WP",n))(Qe||{}),Je=(n=>(n.NOK="NOK",n.OK="OK",n))(Je||{}),et=(n=>(n["wpo365/alert/submitted"]="wpo365/alert/submitted",n["wpo365/mail/sent"]="wpo365/mail/sent",n["wpo365/user/created"]="wpo365/user/created",n["wpo365/user/loggedin"]="wpo365/user/loggedin",n["wpo365/user/updated"]="wpo365/user/updated",n))(et||{}),nr=(n=>(n.alerts="alerts",n.login="login",n.mail="mail",n.users="users",n))(nr||{}),tr=(n=>(n.TODAY="TODAY",n.WTD="WTD",n.MTD="MTD",n.YTD="YTD",n))(tr||{});const QR=n=>{const{env:{props:{addOns:r,extensions:t}}}=O.useContext(lt),{period:e,getInsightsSummary:o,saveStatus:s}=n,[a,u]=O.useState(!1),d=f=>{if([tr.MTD,tr.YTD].indexOf(f)>-1&&!(r&&Object.keys(r).length>0)){u(!0);return}o(f)};return c.jsxs(c.Fragment,{children:[c.jsxs(V,{styles:{root:{marginBottom:"20px"}},horizontal:!0,verticalAlign:"center",tokens:{childrenGap:20},children:[c.jsx(xt,{primary:e==tr.TODAY,onClick:()=>d(tr.TODAY),children:"Today"}),c.jsx(xt,{primary:e==tr.WTD,onClick:()=>d(tr.WTD),children:"WTD"}),c.jsx(xt,{primary:e==tr.MTD,onClick:()=>d(tr.MTD),children:"MTD"}),c.jsx(xt,{primary:e==tr.YTD,onClick:()=>d(tr.YTD),children:"YTD"}),s==ge.saving&&c.jsx(nt,{size:Oe.medium})]}),a&&c.jsx(sb,{toggleUpgradePopup:u})]})},an=(n,r,t,e)=>{const o=n.filter(s=>s.event_action===r&&s.event_category===t&&s.event_status===e);return o.length===1?o[0].event_count:0},uc=n=>{const{eventType:r,title:t}=n,{settings:e,env:{nonce:o,wpAjaxAdminUrl:s,props:{addOns:a,extensions:u}}}=O.useContext(lt),[d,f]=O.useState([]),[m,h]=O.useState(ge.initial),[g,y]=O.useState(null),[C,x]=O.useState(tr.TODAY),[b,S]=O.useState(!1),[F,D]=O.useState(!1),[A,L]=O.useState(!1),j=async(M=tr.TODAY)=>{h(ge.saving),x(M);const R=new FormData;R.append("action","wpo365_get_insights_summary"),R.append("period",M.toString()),R.append("group",r.toString()),R.append("nonce",o),R.append("ina",window.wpo365.wizard.props.ina);let P;try{P=await We.post(s,R)}catch(W){h(ge.initial),y(W.message);return}if(h(ge.initial),P.status>=200&&P.status<300&&P.data&&P.data.status){if(P.data.status=="OK"&&P.data.result&&Array.isArray(P.data.result)){f(P.data.result);return}y(P.data.message);return}y(`Error occured (HTTP status ${P.status})`)};return O.useMemo(()=>{j()},[]),c.jsxs(c.Fragment,{children:[c.jsxs(V,{style:KR,children:[c.jsx(V.Item,{grow:0,children:c.jsx("div",{style:$R,children:r===nr.alerts?c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsxs("h3",{style:{flexGrow:1,display:"flex",alignItems:"center"},children:[t,!e.insightsAlertsEnabled&&c.jsx("span",{style:{fontSize:"0.8rem",paddingLeft:"1rem",color:"#0078D4"},children:"Not enabled"})]}),c.jsx(id,{style:{alignSelf:"center"},iconProps:{iconName:"Settings"},onClick:()=>{if(!(a&&Object.keys(a).length>0)){L(!0);return}S(!0)},children:"Configure"})]}):c.jsx("h3",{children:t})})}),c.jsx(V.Item,{grow:1,styles:YR,children:c.jsxs("div",{style:qR,children:[c.jsx(QR,{getInsightsSummary:j,period:C,saveStatus:m}),r==nr.alerts&&c.jsxs(c.Fragment,{children:[c.jsx(sn,{action:et["wpo365/alert/submitted"],category:Qe.ALERT,status:Je.OK,period:C,title:"Alerts submitted successfully",summaryValue:an(d,et["wpo365/alert/submitted"],Qe.ALERT,Je.OK)},"keyIndicator_1"),c.jsx(sn,{action:et["wpo365/alert/submitted"],category:Qe.ALERT,status:Je.NOK,period:C,title:"Alerts not submitted successfully",summaryValue:an(d,et["wpo365/alert/submitted"],Qe.ALERT,Je.NOK)},"keyIndicator_2")]}),r==nr.login&&c.jsxs(c.Fragment,{children:[c.jsx(sn,{action:et["wpo365/user/loggedin"],category:Qe.WP,status:Je.OK,period:C,title:"WP User logged-in successfully",summaryValue:an(d,et["wpo365/user/loggedin"],Qe.WP,Je.OK)},"keyIndicator_3"),c.jsx(sn,{action:et["wpo365/user/loggedin"],category:Qe.WP,status:Je.NOK,period:C,title:"WP User not logged-in successfully",summaryValue:an(d,et["wpo365/user/loggedin"],Qe.WP,Je.NOK)},"keyIndicator_4")]}),r==nr.login&&!e.noSso&&c.jsxs(c.Fragment,{children:[c.jsx(sn,{action:et["wpo365/user/loggedin"],category:Qe.SSO,status:Je.OK,period:C,title:"SSO User logged-in successfully",summaryValue:an(d,et["wpo365/user/loggedin"],Qe.SSO,Je.OK)},"keyIndicator_5"),c.jsx(sn,{action:et["wpo365/user/loggedin"],category:Qe.SSO,status:Je.NOK,period:C,title:"SSO User not logged-in successfully",summaryValue:an(d,et["wpo365/user/loggedin"],Qe.SSO,Je.NOK)},"keyIndicator_6")]}),r==nr.mail&&(e.useGraphMailer||u.some(M=>M==I.wpo365MsGraphMailer))&&c.jsxs(c.Fragment,{children:[c.jsx(sn,{action:et["wpo365/mail/sent"],category:Qe.MAIL,status:Je.OK,period:C,title:"Emails sent successfully",summaryValue:an(d,et["wpo365/mail/sent"],Qe.MAIL,Je.OK)},"keyIndicator_7"),c.jsx(sn,{action:et["wpo365/mail/sent"],category:Qe.MAIL,status:Je.NOK,period:C,title:"Emails not sent successfully",summaryValue:an(d,et["wpo365/mail/sent"],Qe.MAIL,Je.NOK)},"keyIndicator_8")]}),r==nr.users&&!e.noSso&&e.createAndAddUsers&&c.jsxs(c.Fragment,{children:[c.jsx(sn,{action:et["wpo365/user/created"],category:Qe.SSO,status:Je.OK,period:C,title:"Users created successfully (SSO)",summaryValue:an(d,et["wpo365/user/created"],Qe.SSO,Je.OK)},"keyIndicator_9"),c.jsx(sn,{action:et["wpo365/user/created"],category:Qe.SSO,status:Je.NOK,period:C,title:"Users not created successfully (SSO)",summaryValue:an(d,et["wpo365/user/created"],Qe.SSO,Je.NOK)},"keyIndicator_10")]}),r==nr.users&&e.enableUserSync&&c.jsxs(c.Fragment,{children:[c.jsx(sn,{action:et["wpo365/user/created"],category:Qe.SYNC,status:Je.OK,period:C,title:"Users created successfully (SYNC)",summaryValue:an(d,et["wpo365/user/created"],Qe.SYNC,Je.OK)},"keyIndicator_11"),c.jsx(sn,{action:et["wpo365/user/created"],category:Qe.SYNC,status:Je.NOK,period:C,title:"Users not created successfully (SYNC)",summaryValue:an(d,et["wpo365/user/created"],Qe.SYNC,Je.NOK)},"keyIndicator_12"),c.jsx(sn,{action:et["wpo365/user/updated"],category:Qe.SYNC,status:Je.OK,period:C,title:"Users updated successfully (SYNC)",summaryValue:an(d,et["wpo365/user/updated"],Qe.SYNC,Je.OK)},"keyIndicator_13"),c.jsx(sn,{action:et["wpo365/user/updated"],category:Qe.SYNC,status:Je.NOK,period:C,title:"Users not updated successfully (SYNC)",summaryValue:an(d,et["wpo365/user/updated"],Qe.SYNC,Je.NOK)},"keyIndicator_14")]}),r==nr.users&&e.enableScim&&c.jsxs(c.Fragment,{children:[c.jsx(sn,{action:et["wpo365/user/created"],category:Qe.SCIM,status:Je.OK,period:C,title:"Users created successfully (SCIM)",summaryValue:an(d,et["wpo365/user/created"],Qe.SCIM,Je.OK)},"keyIndicator_15"),c.jsx(sn,{action:et["wpo365/user/created"],category:Qe.SCIM,status:Je.NOK,period:C,title:"Users not created successfully (SCIM)",summaryValue:an(d,et["wpo365/user/created"],Qe.SCIM,Je.NOK)},"keyIndicator_16"),c.jsx(sn,{action:et["wpo365/user/updated"],category:Qe.SCIM,status:Je.OK,period:C,title:"Users updated successfully (SCIM)",summaryValue:an(d,et["wpo365/user/updated"],Qe.SCIM,Je.OK)},"keyIndicator_17"),c.jsx(sn,{action:et["wpo365/user/updated"],category:Qe.SCIM,status:Je.NOK,period:C,title:"Users not updated successfully (SCIM)",summaryValue:an(d,et["wpo365/user/updated"],Qe.SCIM,Je.NOK)},"keyIndicator_18")]})]})}),c.jsx(V.Item,{grow:0,children:c.jsxs("div",{style:ZR,children:[c.jsx("strong",{children:"Disclaimer"})," No claims can be made based on this information."]})})]}),c.jsx(bf,{headerText:"Configure WPO365 Alerts",isOpen:b,onDismiss:()=>S(!1),closeButtonAriaLabel:"Close",children:c.jsx(GR,{})}),A&&c.jsx(VR,{toggleUpgradePopup:L})]})},JR={maxWidth:"400px",color:"#cc0000"},e3=n=>{const{env:r,env:{props:{extensions:t}},settings:e,settings:{hidePremiumOptions:o},updateSettings:s}=O.useContext(lt),[a,u]=O.useState({insightsEnabled:e.insightsEnabled,insightsAnonymized:e.insightsAnonymized,insightsWidgetHidden:e.insightsWidgetHidden}),[d,f]=O.useState(null),[m,h]=O.useState(ge.initial),[g,y]=O.useState(!1),C=async()=>{f(null),h(ge.saving);const b={...e};b.insightsEnabled=a.insightsEnabled,b.insightsAnonymized=a.insightsAnonymized,b.insightsWidgetHidden=a.insightsWidgetHidden;try{const S=await $e.updateSettings(r,b);if(S.success){const F=await $e.getSettings(r);s(F),f(null),h(ge.success)}else f(S.message)}catch{f("Unknown error occured whilst updating settings [check F12 > console for technical details]"),h(ge.error)}},x=async()=>{h(ge.saving);const b=new FormData;b.append("action","wpo365_truncate_insights_data"),b.append("nonce",r.nonce),b.append("ina",window.wpo365.wizard.props.ina);let S;try{S=await We.post(r.wpAjaxAdminUrl,b)}catch(F){h(ge.initial),f(F.message);return}if(h(ge.initial),S.status>=200&&S.status<300&&S.data&&S.data.status){S.data.status=="NOK"&&f(S.data.message);return}f(`Error occured (HTTP status ${S.status})`)};return O.useEffect(()=>{g&&C().then(()=>y(!1))},[g]),O.useEffect(()=>{(e.insightsEnabled!=a.insightsEnabled||e.insightsAnonymized!=a.insightsAnonymized||e.insightsWidgetHidden!=a.insightsWidgetHidden)&&y(!0)},[a]),c.jsxs(V,{tokens:{childrenGap:15},styles:{root:{marginRight:"80px"}},children:[c.jsxs("div",{style:{lineHeight:"1.2rem",marginTop:"1rem",marginBottom:"0.6rem",width:"80%"},children:[c.jsx("strong",{children:"See what matters, when it happens"})," Track key WPO365 events like logins, sent emails and user creation and updates."," ",c.jsx("a",{href:"https://docs.wpo365.com/article/210-wpo365-insights",target:"_blank",children:"Read more"})]}),c.jsxs("div",{children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:15},children:[c.jsx(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:15},children:c.jsx("div",{children:"Enable"})}),c.jsx(Or,{styles:{root:{marginBottom:"0px",marginRight:"10px"},label:{fontWeight:400}},checked:a.insightsEnabled,onChange:(b,S)=>u({...a,insightsEnabled:S}),inlineLabel:!0}),a.insightsEnabled&&c.jsxs(c.Fragment,{children:[c.jsx(Xe,{onChange:(b,S)=>u({...a,insightsAnonymized:S}),checked:a.insightsAnonymized}),c.jsx("span",{children:"Anonymize"})]}),c.jsx(id,{iconProps:{iconName:"Delete"},onClick:x,children:"Truncate"}),c.jsx(Xe,{onChange:(b,S)=>u({...a,insightsWidgetHidden:S}),checked:a.insightsWidgetHidden}),c.jsx("span",{children:"Hide Widget"}),m==ge.saving&&c.jsx(nt,{size:Oe.small})]}),!!d&&c.jsx("span",{style:JR,children:d})]}),e.insightsEnabled&&c.jsxs(V,{horizontal:!0,wrap:!0,tokens:{childrenGap:15},children:[c.jsx(uc,{eventType:nr.alerts,title:"ALERTS"},"insightsCard_1"),(e.useGraphMailer||t.some(b=>I.wpo365MsGraphMailer))&&c.jsx(uc,{eventType:nr.mail,title:"MAIL"},"insightsCard_2"),t.some(b=>b==I.wpo365Login)&&c.jsx(uc,{eventType:nr.login,title:"LOGIN"},"insightsCard_2"),(!e.noSso&&e.createAndAddUsers||e.enableUserSync||e.enableScim)&&c.jsx(uc,{eventType:nr.users,title:"USERS"},"insightsCard_3")]})]})},cd=n=>c.jsxs("div",{children:["WPO365 Online Resources •"," ",c.jsx("a",{href:"https://www.wpo365.com/contact/",target:"_blank",children:"Contact"})," ","•"," ",c.jsx("a",{href:"https://www.youtube.com/@wpo365",target:"_blank",children:"Videos"})," ","•"," ",c.jsx("a",{href:"https://docs.wpo365.com/",target:"_blank",children:"Documentation"})," ","•"," ",c.jsx("a",{href:"https://wordpress.org/support/plugin/wpo365-login/reviews",target:"_blank",children:"Review"})," ","•"," ",c.jsx("a",{href:"https://www.wpo365.com/how-to-get-support/",target:"_blank",children:"Support"})," ","•"," ",c.jsx("a",{href:"https://www.wpo365.com/change-log/",target:"_blank",children:"Change log"})," ","•"," ",c.jsx("a",{href:"https://www.wpo365.com/downloads/",target:"_blank",children:"Upgrade"})," ","•"," ",c.jsx("a",{href:"https://www.linkedin.com/company/downloads-by-van-wieren",target:"_blank",children:"Follow us"})]}),cc=n=>{const{isGraphMailer:r,showInsights:t}=n,{showWpoHealthMessages:e,setShowWpoHealthMessages:o}=O.useContext(lt),[s,a]=O.useState(""),[u,d]=O.useState("");return O.useEffect(()=>{cv("latest-news",!0).then(f=>{if(f instanceof Error){console.log(f.message);return}a(f)}),cv("change-log",!0).then(f=>{if(f instanceof Error){console.log(f.message);return}d(f)})},[]),c.jsx(c.Fragment,{children:c.jsx("div",{className:ae.wpo365WzMain,children:c.jsxs("table",{className:ae.wpo365WzTable,style:{width:"unset"},children:[c.jsxs("colgroup",{children:[c.jsx("col",{style:{width:"64%"}}),c.jsx("col",{style:{width:"32%"}})]}),c.jsxs("tbody",{children:[c.jsxs("tr",{style:{height:"43px"},children:[c.jsx("td",{style:{display:"flex"},children:c.jsxs(V,{styles:{root:{marginBottom:"7px"}},horizontal:!0,tokens:{childrenGap:15},children:[c.jsx(xt,{primary:!t,text:"Features",onClick:f=>{location.hash="#/dashboard",f.preventDefault(),f.stopPropagation()}}),c.jsx(xt,{primary:!!t,text:"Insights",onClick:f=>{location.hash="#/insights",f.preventDefault(),f.stopPropagation()}}),c.jsx(xt,{text:"WPO365 Health Messages",onClick:()=>o(!e)})]})}),c.jsx("td",{rowSpan:2,children:c.jsxs(V,{tokens:{childrenGap:15},children:[c.jsxs(V,{style:Mn,children:[c.jsx("div",{style:Hy,children:c.jsx("h3",{style:{color:"white",textAlign:"center"},children:"NEWS"})}),c.jsx("div",{style:Pn,dangerouslySetInnerHTML:{__html:s}})]}),c.jsxs(V,{style:Mn,children:[c.jsx("div",{style:Hy,children:c.jsx("h3",{style:{color:"white",textAlign:"center"},children:"CHANGE LOG"})}),c.jsx("div",{style:Pn,dangerouslySetInnerHTML:{__html:u}})]})]})})]}),c.jsx("tr",{children:c.jsx("td",{children:t?c.jsx(e3,{}):c.jsx(UR,{mailDashboard:r})})}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx(cd,{})})})]})]})})})};class dc{static async getLog(r){const t=new FormData;t.append("action","wpo365_get_log"),t.append("nonce",r.nonce),t.append("ina",window.wpo365.wizard.props.ina);let e;try{e=await We.post(r.wpAjaxAdminUrl,t)}catch(o){return console.log(o),null}if(e.status==200&&e.data&&e.data.status&&e.data.status=="OK")try{return JSON.parse(e.data.result)}catch(o){return console.log(o),null}return null}}const pt=n=>{const{info:r}=n,[t,e]=O.useState(!1),[o,s]=O.useState(!1),a=O.useMemo(()=>Sr(6),[]);return c.jsxs("div",{children:[c.jsx("div",{style:{display:"flex",fontSize:"12px",lineHeight:"30px",height:"30px",zIndex:99},onClick:()=>e(!0),id:a,children:c.jsx(Ke,{iconName:"Info",title:"Click for instant help",style:{color:"#0066CC",fontSize:"16px",lineHeight:"30px",height:"30px",width:"30px",margin:"0px 0px 0px 15px",padding:0,cursor:"pointer"}})}),r&&t&&c.jsx(Pl,{role:"alertdialog",gapSpace:0,target:`#${a}`,onDismiss:()=>e(!1),setInitialFocus:!0,hidden:!t,children:c.jsxs("div",{style:{display:"flex",flexDirection:"column",flexWrap:"wrap",margin:"5px",paddingTop:"15px"},children:[c.jsxs("div",{style:{flexGrow:1,flexShrink:0,width:"100%",padding:"0.5rem 1rem"},children:[!o&&c.jsx(U0,{}),c.jsx("iframe",{style:{width:"50vw",height:"50vh"},src:r.readMore.url,onLoad:()=>s(!0)})]}),c.jsx("div",{style:{flexGrow:1,flexShrink:0,width:"100%",padding:"0.5rem 1rem 1rem 1rem"},children:c.jsx("a",{href:r.readMore.url,target:"_blank",children:r.readMore.title})})]})})]})},vn=n=>{const{bound:r,disabled:t,errorMessage:e,isValid:o,onError:s,onValid:a,password:u,placeholder:d,style:f,value:m}=n,h=O.useRef(),[g,y]=O.useState(!0),[C,x]=O.useState(m||""),[b,S]=O.useState(!1),F=O.useMemo(()=>Sr(12),[]),D=()=>{const L=o?o(C,C):!0;y(L),a&&L&&a(C),s&&!L&&s(e)};O.useEffect(()=>{m!==C&&(x(m),S(!0))},[m]),O.useEffect(()=>{b&&(h.current&&clearTimeout(h.current),h.current=setTimeout(D,400),S(!1))},[b]);const A=O.useMemo(()=>{const L=f?{...f}:{};return L.border=g?"1px solid #dadada":"1px solid red",L.padding="10px",L.height="30px",L.lineHeight="30px",L.border="1px solid",L.width="100%",L.maxWidth="400px",L.flexGrow=1,t&&(L.color="#000000",L.background="#dadada"),L},[g,t]);return c.jsxs(V,{tokens:{childrenGap:10},horizontalAlign:"start",style:{width:"100%"},children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",style:{width:"100%"},children:[c.jsx("input",{type:u?"password":"text",onChange:L=>{x(L.target.value),S(!0)},value:C,style:A,disabled:t,placeholder:d||null,id:F}),n.children]}),!r&&!g&&c.jsx("div",{style:{lineHeight:"30px",color:"#cc0000"},children:e})]})},ab={root:{minWidth:0,padding:"10px",alignSelf:"stretch",height:"auto",backgroundColor:"#f1f1f1"},rootHovered:{backgroundColor:"#f4f4f4"}},t3=[{key:ji.locally,text:"Locally (on the server)"},{key:ji.remotely,text:"Remotely (ApplicationInsights)"},{key:ji.both,text:"Both"}],n3=(n,r)=>c.jsxs(V,{tokens:{childrenGap:10},children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:{maxWidth:"600px"},children:[c.jsx("div",{style:{padding:"2px",whiteSpace:"nowrap"},dangerouslySetInnerHTML:{__html:n.now}}),c.jsx("div",{style:{padding:"2px",whiteSpace:"nowrap"},dangerouslySetInnerHTML:{__html:n.level}})]}),c.jsx("div",{style:{padding:"2px",wordWrap:"break-word",overflow:"auto"},dangerouslySetInnerHTML:{__html:n.body}})]}),r3=n=>n.onRender?n.onRender(n):c.jsx(zs,{iconProps:{iconName:n.icon},menuProps:n.subMenuProps,text:n.name,onClick:n.onClick,styles:ab}),o3=n=>c.jsx(zs,{styles:ab,menuIconProps:{iconName:"More"},menuProps:{items:n}}),i3=n=>{const{env:r,env:{props:{extensions:t}},settings:e,updateSettings:o}=O.useContext(lt),s=O.useRef(""),[a,u]=O.useState({aiInstrumentationKey:e.aiInstrumentationKey,curlLoggingEnabled:e.curlLoggingEnabled,debugLog:e.debugLog,debugLogIdToken:e.debugLogIdToken,debugLogLocation:e.debugLogLocation,enableCustomLogScim:e.enableCustomLogScim,enableCustomLogSync:e.enableCustomLogSync,hideErrorNotice:e.hideErrorNotice}),[d,f]=O.useState([]),[m,h]=O.useState(ge.initial),[g,y]=O.useState([]),[C,x]=O.useState([]),[b,S]=O.useState(!0),[F,D]=O.useState(!1);O.useEffect(()=>{F&&(D(!1),A(R=>R.level=="ERROR"||R.level=="WARN"))},[F]),O.useEffect(()=>{S(!0),dc.getLog(r).then(R=>{y(R),D(!0)}).catch(R=>alert(R.message)).finally(()=>S(!1))},[]),O.useEffect(()=>{const R=JSON.stringify(e);s.current.length>0&&JSON.stringify(s)!==R&&(u({aiInstrumentationKey:e.aiInstrumentationKey,curlLoggingEnabled:e.curlLoggingEnabled,debugLog:e.debugLog,debugLogIdToken:e.debugLogIdToken,debugLogLocation:e.debugLogLocation,enableCustomLogScim:e.enableCustomLogScim,enableCustomLogSync:e.enableCustomLogSync,hideErrorNotice:e.hideErrorNotice}),f([]),x([]),S(!1),y([]),h(ge.initial)),s.current=R},[e]);const A=R=>{const P=Array.isArray(g)?g.filter(R):[];P.length===0&&P.push({now:"",level:"",request_id:"",php_version:"",body:"<strong>No result</strong> <i>Try another filter...</i>"}),x(P)},L=R=>{const P=[{key:"filterErrors",name:"Errors / Warnings",icon:"Filter",ariaLabel:"Filter: Errors",onClick:()=>A(W=>W.level=="ERROR"||W.level=="WARN")},{key:"filterDebug",name:"Debug",icon:"Filter",ariaLabel:"Filter: Debug",onClick:()=>A(W=>W.level=="DEBUG")},{key:"deleteFilter",name:"All",icon:"ClearFilter",ariaLabel:"Delete filters",onClick:()=>x([...R])},{key:"refresh",name:"Refresh",icon:"Refresh",ariaLabel:"Refresh log",onClick:()=>{S(!0),dc.getLog(r).then(W=>{y(W),D(!0)}).catch(W=>alert(W.message)).finally(()=>S(!1))}}];return e.curlLoggingEnabled&&P.splice(1,0,{key:"filterCurl",name:"cURL",icon:"Filter",ariaLabel:"Filter: cURL",onClick:()=>A(W=>W.level=="CURL")}),P},j=()=>{S(!0),u({...a,curlLoggingEnabled:!a.curlLoggingEnabled}),dc.getLog(r).then(R=>{y(R),D(!0)}).catch(R=>alert(R.message)).finally(()=>S(!1))},M=async()=>{h(ge.saving);const R={...e};R.aiInstrumentationKey=a.aiInstrumentationKey,R.curlLoggingEnabled=a.curlLoggingEnabled,R.debugLog=a.debugLog,R.debugLogIdToken=a.debugLogIdToken,R.debugLogLocation=a.debugLogLocation,R.enableCustomLogScim=a.enableCustomLogScim,R.enableCustomLogSync=a.enableCustomLogSync,R.hideErrorNotice=a.hideErrorNotice;const P=await $e.updateSettings(r,R);P.success?($e.getSettings(r).then(W=>{o(W),S(!0),dc.getLog(r).then(Q=>{y(Q),D(!0)}).catch(Q=>alert(Q.message)).finally(()=>S(!1))}),f([]),h(ge.success)):(f([...d,new Bc("saveConfiguration",P.message,2e3)]),h(ge.error))};return c.jsx("div",{className:ae.wpo365WzMain,children:c.jsxs("table",{className:ae.wpo365WzTable,children:[c.jsxs("colgroup",{children:[c.jsx("col",{width:"50%"}),c.jsx("col",{width:"50%"})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Debug"})})}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("div",{dangerouslySetInnerHTML:{__html:`<strong>Use this tab to</strong>
                <ul>
                <li>Enable / Disable the plugin's debug log</li>
                <li>Enable / Disable logging of the Open ID Connect information (ID Token)</li>
                <li>Copy the debug log to your clipboard e.g. to send it to WPO365 support when requested to do so</li>
                </ul>
                <strong>Important</strong><br/><br/>
                Disable logging if the plugin is working as expected, as it will require additional resources e.g. 
                database requests and I/O operations and unnecessarily impact your web application's performance.
                `}})})}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Enable debug log"}),c.jsx(pt,{info:{title:"Debug log",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/19-enable-debug-log"}}})]})}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(R,P)=>u({...a,debugLog:P}),checked:a.debugLog})})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Log location"}),c.jsx(pt,{info:{title:"Log location",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/60-log-location"}}})]})}),c.jsx("td",{children:c.jsx(aD,{defaultSelectedKey:a.debugLogLocation,options:t3,onChange:(R,P)=>u({...a,debugLogLocation:P.key})})})]}),(a.debugLogLocation==ji.remotely||a.debugLogLocation==ji.both)&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"ApplicationInsights Instrumentation Key"}),c.jsx(pt,{info:{title:"Use ApplicationInsights",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/60-log-location"}}})]})}),c.jsx("td",{children:c.jsx(vn,{bound:!1,value:a.aiInstrumentationKey,isValid:(R,P)=>!0,onValid:R=>{u({...a,aiInstrumentationKey:R})},placeholder:Le.infoAiInstrumentationKey})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Hide error notice"}),c.jsx(pt,{info:{title:"Hide error notice",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/64-hide-error-notice"}}})]})}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(R,P)=>u({...a,hideErrorNotice:P}),checked:a.hideErrorNotice})})})]}),t.indexOf(I.wpo365Login)>-1&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Log ID token"}),c.jsx(pt,{info:{title:"Log ID token",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/65-log-id-token"}}})]})}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(R,P)=>u({...a,debugLogIdToken:P}),checked:a.debugLogIdToken})})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Enable cURL verbose"}),c.jsx(pt,{info:{title:"Enable cURL verbose",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/214-enable-curl-verbose"}}})]})}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:j,checked:a.curlLoggingEnabled})})})]}),e.enableScim&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Log incoming SCIM requests (debug)"}),c.jsx(pt,{info:{title:"Protect sensitive logged data",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/227-protect-sensitive-data-stored-in-server-logs"}}})]})}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(R,P)=>u({...a,enableCustomLogScim:P}),checked:a.enableCustomLogScim})})})]}),e.enableUserSync&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Log user-sync events (debug)"}),c.jsx(pt,{info:{title:"Protect sensitive logged data",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/227-protect-sensitive-data-stored-in-server-logs"}}})]})}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(R,P)=>u({...a,enableCustomLogSync:P}),checked:a.enableCustomLogSync})})})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Configuration"})})}),c.jsxs("tr",{children:[c.jsx("th",{}),c.jsx("td",{children:c.jsxs("div",{className:ae.wpo365WzColumnifier,children:[c.jsx(An,{onClick:M,iconProps:{iconName:m==ge.success?"Like":void 0},style:{minWidth:"400px",maxWidth:"400px",minHeight:"30px",alignSelf:"start"},disabled:d.length>0||m==ge.saving,children:"Save configuration"}),c.jsx("div",{className:ae.wpo365WzLabelFor,children:k_(d,"saveConfiguration").map(R=>c.jsx("p",{className:ae.wpo365WzP,children:R.message}))}),m==ge.success?c.jsx("p",{style:{color:"#378805"},children:Le.okSettingsUpdated}):null]})})]}),c.jsxs("tr",{style:{marginBottom:"1rem"},children:[c.jsx("th",{}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("div",{style:{width:"400px",border:"1px solid",textAlign:"center",boxSizing:"border-box",height:"30px",lineHeight:"28px"},children:c.jsx("a",{href:"data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(g,null,2)),download:"wpo365-log.json",children:"Download as JSON"})})})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:"Debug Log:"}),c.jsx("td",{style:{maxWidth:"400px"},children:c.jsxs(V,{style:{maxWidth:"650px"},children:[c.jsx(j0,{items:L(g),overflowItems:[],onRenderOverflowButton:o3,onRenderItem:r3}),b?c.jsxs(V,{horizontal:!0,verticalAlign:"center",style:{paddingTop:"20px"},children:[c.jsx("div",{style:{width:"400px",textAlign:"center"},children:c.jsx(nt,{size:Oe.small})}),c.jsx("div",{})]}):c.jsx(bl,{items:C,onRenderCell:n3})]})})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx(cd,{})})})]})})},s3=n=>{const{dismiss:r}=n,{env:t,env:{props:{extensions:e}},settings:o,settings:{hidePremiumOptions:s},updateSettings:a}=O.useContext(lt),u=R=>{const P=JSON.parse(JSON.stringify(R));return delete P.name,delete P.configurations,P},[d,f]=O.useState(void 0),[m,h]=O.useState(!1),[g,y]=O.useState(JSON.stringify(u(o),null,2));O.useEffect(()=>{y(JSON.stringify(u(o),null,2))},[o]);const[C,x]=O.useState(void 0),[b,S]=O.useState(ge.initial),[F,D]=O.useState(!1),A=O.useRef(void 0),L=R=>{let P=null;try{P=JSON.parse(R),x(void 0)}catch(W){x(`Could not parse the configuration as JSON [${W}]`)}return JSON.stringify(P)},j=async()=>{if(!e.some(P=>[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro].some(W=>W==P))){D(!0);return}S(ge.saving),x(void 0),L(g);const R=JSON.parse(g);if(C){S(ge.initial);return}try{if(R.name=d||o.name,R.configurations=o.configurations,(await $e.updateSettings(t,R,!0)).success){const W=await $e.getSettings(t);a(W),x(void 0),S(ge.success),f(void 0),h(!1)}else throw"Unknown error occured whilst updating configuration [check F12 > console for technical details]"}catch(P){x(`Could not save the configuration [${P.message}]`),S(ge.initial)}r&&setTimeout(()=>{r()},500)},M=()=>{try{A.current.select(),document.execCommand("copy"),A.current.focus()}catch(R){x(`Could not copy configuration to clipboard [${R.message}]`)}};return c.jsxs("div",{className:ae.jsonEditor,children:[c.jsx(py,{className:ae.jsonTextArea,multiline:!0,rows:10,label:"Configuration source",style:{backgroundColor:C?"#FFCCCC":"initial"},value:g,onChange:(R,P)=>{P!=g&&(L(P),y(P))},componentRef:A}),c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("div",{className:ae.toolbarItem,children:c.jsx(xt,{disabled:!!C,onClick:()=>M(),children:"Copy to clipboard"})}),!e.some(R=>[I.wpo365MsGraphMailer].some(P=>P==R))&&c.jsxs(c.Fragment,{children:[c.jsx("div",{className:ae.toolbarItem,children:c.jsx(xt,{disabled:!!C||!e.some(R=>[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro].some(P=>P==R)),onClick:()=>e.some(R=>[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro].some(P=>P==R))&&h(!m),children:m?"Cancel":"Save as"})}),m&&c.jsx("div",{className:ae.toolbarItem,children:c.jsx(py,{styles:{fieldGroup:{width:"144px"}},disabled:!!C||!e.some(R=>[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro].some(P=>P==R)),placeholder:"Enter name for configuration",value:d,onChange:(R,P)=>f(P)})}),c.jsx("div",{className:ae.toolbarItem,children:c.jsx(xt,{disabled:!!C,onClick:()=>j(),children:"Save"})}),r&&c.jsx("div",{className:ae.toolbarItem,children:c.jsx(xt,{disabled:!!C,onClick:()=>r(),children:"Cancel"})}),b==ge.saving&&c.jsx("div",{style:{paddingLeft:"10px"},children:c.jsx(nt,{size:Oe.small})})]})]}),C&&c.jsx("div",{children:c.jsx("span",{className:ae.wpo365WzError,children:C})}),b==ge.success&&c.jsx("div",{children:c.jsx("span",{children:"Configuration was saved successfully"})}),F&&c.jsx("div",{className:ae.toolbarItem,children:c.jsxs("span",{children:["Available for:"," ",c.jsx("a",{href:"https://www.wpo365.com/downloads/wordpress-office-365-login-premium/",target:"_blank",children:"SYNC"})," ",c.jsx("a",{href:"https://www.wpo365.com/downloads/wordpress-office-365-login-intranet/",target:"_blank",children:"INTRANET"})]})})]})},un=n=>{const{extensions:r,targets:t,children:e}=n,[o,s]=O.useState(!0),a=O.useMemo(()=>[I.wpo365LoginPlus,I.wpo365Essentials,I.wpo365Mail,I.wpo365RolesAccess,I.wpo365Pro,I.wpo365Integrate,I.wpo365Customers,I.wpo365Scim,I.wpo365Apps].filter(u=>t.indexOf(u)>-1),[]);return r.some(u=>t.indexOf(u)>-1)?c.jsx(c.Fragment,{children:e}):o?c.jsxs("div",{className:ae.wpo365WzRowifier,style:{cursor:"pointer"},onClick:()=>s(!1),children:[c.jsx(kr,{className:ae.wpo365WzIconButton,iconProps:{iconName:"Lock"},title:"Locked"})," ",c.jsx("span",{children:c.jsx("em",{children:"Click for details"})})]}):c.jsx(c.Fragment,{children:c.jsxs("span",{children:["Available for:  ",a.filter(u=>u in ll).map(u=>c.jsxs(c.Fragment,{children:[c.jsx("a",{href:ll[u].url,target:"_blank",children:ll[u].name})," "]}))]})})},a3=n=>{const{env:r,env:{props:{extensions:t,wpmu:e,wpConfigMultiple:o,wpConfigAad:s,wpConfigOverrides:a}},settings:u,settings:{hidePremiumOptions:d},updateSettings:f}=O.useContext(lt),[m,h]=O.useState(null),[g,y]=O.useState(void 0),[C,x]=O.useState(ge.initial),[b,S]=O.useState(void 0),[F,D]=O.useState(ge.initial),[A,L]=O.useState({status:ge.initial,options:null}),[j,M]=O.useState(null),[R,P]=O.useState(null),[W,Q]=O.useState(null),[K,J]=O.useState(ge.initial),[ne,ie]=O.useState(void 0),fe=async()=>{Gh.TokenCache.clearTokenCache();const z=new FormData;z.append("action","wpo365_delete_tokens"),z.append("nonce",r.nonce),z.append("ina",window.wpo365.wizard.props.ina);let q;try{q=await We.post(r.wpAjaxAdminUrl,z)}catch(X){throw X}if(!(q.status==200&&q.data&&q.data.status&&q.data.status=="OK"))throw"Unknown error occurred whilst deleting the access and refresh tokens for Microsoft Graph."},B=async(z,q)=>{if(S(void 0),u.name&&u.name==q.key)return;if(D(ge.saving),!Array.isArray(u.configurations)){S("There are no configurations to choose from."),D(ge.initial);return}const X=ul(u.configurations,pe=>pe.name&&pe.name==q.key);if(X==-1){S("Could not find the requested configuration."),D(ge.initial);return}const me={...u.configurations[X]};me.configurations=[...u.configurations];try{await $e.updateSettings(r,me,!0);const pe=await $e.getSettings(r);f(pe);const De=await fe();S(void 0),D(ge.success)}catch(pe){S(`Failed to update the configuration [${pe.message}].`),D(ge.initial);return}},Z=async()=>{h({title:"Important",subText:"You are about to delete the WPO365 configuration. This action is irreversible. After deleting the settings you can re-configure the plugin.",onDismiss:()=>h(null),onCancel:()=>h(null),onConfirm:async()=>{if(y(void 0),x(ge.saving),Array.isArray(u.configurations)&&u.configurations.length>1&&u.name){const me=ul(u.configurations,pe=>pe.name==u.name);if(me>-1){const pe=[...u.configurations];pe.splice(me,1);const De={...pe[0]};De.configurations=pe;try{const Te=await $e.updateSettings(r,De);window.location.reload();return}catch(Te){h(null),y(`Failed to delete settings [${Te.message}].`),x(ge.initial);return}}}Gh.TokenCache.clearTokenCache();const q=new FormData;q.append("action","wpo365_delete_settings"),q.append("nonce",r.nonce),q.append("ina",window.wpo365.wizard.props.ina);let X;try{X=await We.post(r.wpAjaxAdminUrl,q)}catch(me){h(null),y(`Failed to delete settings [${me.message}].`),x(ge.initial);return}if(X.status==200&&X.data&&X.data.status&&X.data.status=="OK"){window.location.reload();return}h(null),y("Unknown error occurred [server did not report success]"),x(ge.initial)}})},se=async(z=!1)=>{L({status:ge.saving,options:z?"aad":"overrides"}),M(null);const q=new FormData;q.append("action","wpo365_get_parseable_options"),q.append("nonce",r.nonce),q.append("aad_options_only",z.toString()),q.append("ina",window.wpo365.wizard.props.ina);let X;try{X=await We.post(r.wpAjaxAdminUrl,q)}catch(me){L({status:ge.initial,options:z?"aad":"overrides"}),M(me.message);return}if(L({status:ge.initial,options:z?"aad":"overrides"}),X.status>=200&&X.status<300&&X.data&&X.data.status){if(X.data.status=="OK"&&X.data.result){z?Q(atob(X.data.result)):P(atob(X.data.result));return}M(X.data.message);return}M(`Error occured (HTTP status ${X.status})`)},le=async()=>{J(ge.saving),ie(void 0);const z=new FormData;z.append("action","wpo365_copy_main_site_options"),z.append("nonce",r.nonce),z.append("ina",window.wpo365.wizard.props.ina);let q;try{if(q=await We.post(r.wpAjaxAdminUrl,z),q.status>=200&&q.status<300&&q.data.status=="OK"){const X=await $e.getSettings(r);f(X),J(ge.initial);return}throw"Unknown error occurred when trying to copy the WPO365 from WPMU Network Admin"}catch(X){ie(X.message)}J(ge.initial)};return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:ae.wpo365WzMain,children:c.jsxs("table",{className:ae.wpo365WzTable,children:[c.jsxs("colgroup",{children:[c.jsx("col",{width:"50%"}),c.jsx("col",{width:"50%"})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Manage configuration(s)"})})}),c.jsx("tr",{children:c.jsxs("td",{colSpan:2,children:["Depending on purchased bundles this page allows you to:",c.jsxs("ul",{children:[c.jsx("li",{children:"Copy the current configuration to the clipboard."}),c.jsx("li",{children:"Save the current configuration under a new name and by doing so create multiple configurations that can be changed independently from one another."}),c.jsx("li",{children:"Change the current configuration by selecting one of the previously saved configurations."}),c.jsx("li",{children:"Edit the configuration's JSON and save it."}),c.jsx("li",{children:"Delete all configurations."})]})]})}),(!d||t.some(z=>[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro].some(q=>q==z)))&&c.jsxs("tr",{children:[c.jsx("th",{children:"Select current configuration"}),c.jsx("td",{children:c.jsx(un,{extensions:t,targets:[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Integrate,I.wpo365Pro],children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx(Ri,{options:u.configurations?u.configurations.map(z=>({key:z.name,text:z.name})):[],selectedKey:u.name?u.name:void 0,onChange:B,placeholder:"Select current configuration",style:{maxWidth:"400px"}}),F==ge.saving&&c.jsx("div",{style:{paddingLeft:"10px"},children:c.jsx(nt,{size:Oe.small})})]})})})]}),b&&c.jsxs("tr",{children:[c.jsx("td",{}),c.jsx("td",{children:c.jsx("span",{className:ae.wpo365WzError,children:b})})]}),c.jsxs("tr",{children:[c.jsx("td",{children:"Copy / Edit configuration(s)"}),c.jsx("td",{children:c.jsx(s3,{})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:"Delete current configuration"}),c.jsx("td",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx(xt,{onClick:Z,style:{minWidth:"400px",minHeight:"30px"},children:"Delete WPO365 configuration"}),C==ge.saving&&c.jsx("div",{style:{paddingLeft:"10px"},children:c.jsx(nt,{size:Oe.small})})]})})]}),g&&c.jsxs("tr",{children:[c.jsx("td",{}),c.jsx("td",{children:c.jsx("span",{className:ae.wpo365WzError,children:g})})]}),e=="wpmuDedicated"&&location.href.indexOf("/network/")==-1&&c.jsxs(c.Fragment,{children:[c.jsxs("tr",{children:[c.jsx("th",{children:"Copy central WPO365 configuration (WordPress multisite)"}),c.jsx("td",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx(xt,{onClick:le,style:{minWidth:"400px",minHeight:"30px"},children:"Copy options"}),K==ge.saving&&c.jsx("div",{style:{paddingLeft:"10px"},children:c.jsx(nt,{size:Oe.small})})]})})]}),ne&&c.jsxs("tr",{children:[c.jsx("td",{}),c.jsx("td",{children:c.jsx("span",{className:ae.wpo365WzError,children:ne})})]})]}),(!d||t.some(z=>[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365CustomFields,I.wpo365LoginPlus,I.wpo365Mail,I.wpo365RolesAccess,I.wpo365Scim,I.wpo365Integrate,I.wpo365Pro].some(q=>q==z)))&&c.jsxs(c.Fragment,{children:[c.jsxs("tr",{children:[c.jsx("th",{children:"Export configuration (wp-config.php | WPO_AAD_1)"}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsxs(un,{extensions:t,targets:[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365CustomFields,I.wpo365LoginPlus,I.wpo365Mail,I.wpo365RolesAccess,I.wpo365Scim,I.wpo365Integrate,I.wpo365Pro],children:[c.jsx(xt,{disabled:s||o,onClick:()=>se(!0),style:{minWidth:"400px",minHeight:"30px"},children:"Export configuration"}),A.status==ge.saving&&A.options=="aad"&&c.jsx("div",{style:{paddingLeft:"10px"},children:c.jsx(nt,{size:Oe.small})})]})})})]}),W&&c.jsxs("tr",{children:[c.jsx("td",{}),c.jsx("td",{children:c.jsx("a",{href:"data:text/json;charset=utf-8,"+encodeURIComponent(W),download:"wpo365-parseable-aad-options.txt",children:"Download parseable Entra ID options"})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:"Export configuration (wp-config.php | WPO_OVERRIDES_1)"}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsxs(un,{extensions:t,targets:[I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365CustomFields,I.wpo365LoginPlus,I.wpo365Mail,I.wpo365RolesAccess,I.wpo365Scim,I.wpo365Integrate,I.wpo365Pro],children:[c.jsx(xt,{disabled:a,onClick:()=>se(),style:{minWidth:"400px",minHeight:"30px"},children:"Export configuration"}),A.status==ge.saving&&A.options=="overrides"&&c.jsx("div",{style:{paddingLeft:"10px"},children:c.jsx(nt,{size:Oe.small})})]})})})]}),R&&c.jsxs("tr",{children:[c.jsx("td",{}),c.jsx("td",{children:c.jsx("a",{href:"data:text/json;charset=utf-8,"+encodeURIComponent(R),download:"wpo365-parseable-overrides.txt",children:"Download parseable options (overrides)"})})]}),j&&c.jsxs("tr",{children:[c.jsx("td",{}),c.jsx("td",{children:c.jsx("span",{className:ae.wpo365WzError,children:j})})]})]})]})}),m&&c.jsx(ud,{onCancel:m.onCancel,onConfirm:m.onConfirm,onDismiss:m.onDismiss,title:m.title,subText:m.subText})]})},l3=n=>Array.isArray(n)?n.map(r=>({id:r.id?parseInt(r.id):-1,mail_attachments:r.mail_attachments?JSON.parse(r.mail_attachments):[],mail_error:r.mail_error?r.mail_error:"",mail_body:r.mail_body?r.mail_body:"",mail_headers:r.mail_headers?JSON.parse(r.mail_headers):[],mail_sent:r.mail_sent?r.mail_sent:r.mail_last_attempt?r.mail_last_attempt:"TIMESTAMP N/A",mail_subject:r.mail_subject?r.mail_subject:"",mail_success:r.mail_success?parseInt(r.mail_success)===1:!1,mail_to:r.mail_to?JSON.parse(r.mail_to):[],mail_attempts:r.mail_attempts?parseInt(r.mail_attempts):1})):[],Uy={label:{fontSize:"120%",fontWeight:600,textDecoration:"underline",textDecorationColor:"#0078D4"}},Gy={label:{fontSize:"120%",fontWeight:400,textDecoration:"none"}},u3={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:"12px",width:"inherit"},c3=[{key:"mail_success",name:"",iconName:"Error",isIconOnly:!0,minWidth:16,maxWidth:16,isResizable:!0,onRender:(n,r,t)=>n.mail_success!==!0?c.jsx("div",{className:ae.wpo365WzRowifier,style:{justifyContent:"center",height:"100%",cursor:"pointer"},children:c.jsx(lr,{content:c.jsx("span",{dangerouslySetInnerHTML:{__html:n.mail_error?n.mail_error:"No error details available"}}),id:`tooltip_${t.key}_${r}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Error",iconName:"Error",style:{fontSize:18,color:"red"}})})}):null},{key:"mail_attachments",name:"",iconName:"Attach",isIconOnly:!0,minWidth:16,maxWidth:16,isResizable:!0,onRender:(n,r,t)=>Array.isArray(n.mail_attachments)&&n.mail_attachments.length>0?c.jsx("div",{className:ae.wpo365WzRowifier,style:{justifyContent:"center",height:"100%",cursor:"pointer"},children:c.jsx(lr,{content:n.mail_attachments.map(e=>c.jsx("span",{children:e.trim()?e.trim():"No attachment details available"})),id:`tooltip_${t.key}_${r}`,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}},children:c.jsx(pn,{"aria-label":"Attachment",iconName:"Attach",style:{fontSize:18,color:"red"}})})}):null},{key:"mail",name:"Content",minWidth:300,isResizable:!0,onRender:(n,r,t)=>{const e=document.createElement("DIV");e.innerHTML=n.mail_body;const o=e.innerText.trim().substring(0,e.innerText.length<80?e.innerText.length:80);return c.jsxs(V,{tokens:{childrenGap:"10px"},children:[c.jsxs(V,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[c.jsx("div",{style:{fontSize:"110%",fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:`To: ${n.mail_to?Array.isArray(n.mail_to)?n.mail_to.join(", "):n.mail_to:""}`}),c.jsx("div",{style:{fontSize:"110%",fontWeight:600,minWidth:"160px"},children:n.mail_sent})]}),c.jsx("div",{style:{fontWeight:600,color:"#0078D4",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:`${n.id} :: ${n.mail_subject}`}),c.jsx("div",{style:{fontSize:"90%",color:"#b1b1b1",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:o})]})}}],d3=[{key:5,text:"5"},{key:10,text:"10"},{key:25,text:"25"},{key:50,text:"50"},{key:100,text:"100"},{key:500,text:"500"}],p3=(n,r,t)=>t.onRender?t.onRender(n,r,t):c.jsx("span",{style:u3,children:n[t.key]}),h3=()=>{const{env:{props:{nonce:n},wpAjaxAdminUrl:r},settings:t}=O.useContext(lt),[e,o]=O.useState(null),[s,a]=O.useState("all"),[u,d]=O.useState(null),[f,m]=O.useState("initial"),[h,g]=O.useState([]),[y,C]=O.useState(25),[x,b]=O.useState(0),[S,F]=O.useState(0),D=async j=>{d(null),m("loading");const M=new FormData;M.append("action","wpo365_get_mail_log"),M.append("nonce",n),M.append("ina",window.wpo365.wizard.props.ina),M.append("start_row",j.toString()),M.append("filter",s),M.append("page_size",y.toString());let R;try{R=await We.post(r,M)}catch(P){console.error(P),m("error"),d({type:Ee.error,message:P.message?P.message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."});return}if(R.status>=200&&R.status<300&&R.data&&R.data.status&&R.data.status=="OK"&&R.data.result){const P=l3(JSON.parse(R.data.result));g(P),m("finished");return}m("error"),d({type:Ee.error,message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."})},A=async j=>{console.log(`Sending email with ID ${j} again`),d(null),m("sending");const M=new FormData;M.append("action","wpo365_send_mail_again"),M.append("nonce",n),M.append("ina",window.wpo365.wizard.props.ina),M.append("id",j.toString());let R;try{R=await We.post(r,M)}catch(P){console.error(P),m("error"),d({type:Ee.error,message:P.message?P.message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."});return}if(R.status>=200&&R.status<300&&R.data&&R.data.status&&R.data.status=="OK"){if(m("initial"),R.data.result){const P=JSON.parse(R.data.result);if(P.mail_success&&P.mail_success===!0){d({type:Ee.success,message:"Mail was sent successfully!"});return}}d({type:Ee.error,message:"Attempt to send mail again failed. Please check the log for details."});return}m("error"),d({type:Ee.error,message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."})},L=async()=>{d(null),m("loading");const j=new FormData;j.append("action","wpo365_truncate_mail_log"),j.append("nonce",n),j.append("ina",window.wpo365.wizard.props.ina);let M;try{M=await We.post(r,j)}catch(R){console.error(R),m("error"),d({type:Ee.error,message:R.message?R.message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."});return}if(M.status>=200&&M.status<300&&M.data&&M.data.status&&M.data.status=="OK"){if(m("initial"),M.data.result){const R=JSON.parse(M.data.result);if(R.mail_success&&R.mail_success===!0){d({type:Ee.success,message:"Mail log was deleted successfully!"}),g([]);return}}d({type:Ee.error,message:"Attempt to delete mail log failed. Please check the log for details."});return}m("error"),d({type:Ee.error,message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."})};return O.useEffect(()=>{!Array.isArray(h)||h.length==0||(b(h[h.length-1].id),S===0&&F(h[0].id))},[h]),O.useEffect(()=>{F(0),b(0),D(0)},[y,s]),O.useEffect(()=>{o(null)},[h]),c.jsx(c.Fragment,{children:c.jsx("div",{className:ae.wpo365WzMain,children:c.jsxs(V,{children:[c.jsx(V,{horizontal:!0,horizontalAlign:"end",tokens:{childrenGap:"10px"},children:c.jsx("div",{style:{padding:"0px 0px 10px 0px"},children:c.jsx(kr,{iconProps:{iconName:"ChromeClose"},onClick:()=>{location.hash=`/${_e.mail}`}})})}),u&&c.jsx(Fs,{messageBarType:Ee.error,isMultiline:!1,onDismiss:()=>d(null),children:u.message}),c.jsxs(V,{horizontal:!0,children:[c.jsxs(V,{tokens:{childrenGap:"15px"},style:{width:"50%",minWidth:"450px",margin:"0px 5px 0px 0px",background:"#fff",padding:"10px",border:"1px solid #d1d1d1"},children:[c.jsxs(V,{horizontal:!0,tokens:{childrenGap:"10px"},children:[c.jsx(zs,{text:"All",styles:s=="all"?Uy:Gy,onClick:()=>a("all")}),c.jsx(zs,{text:"Errors only",styles:s=="error"?Uy:Gy,onClick:()=>a("error")}),f=="loading"&&c.jsx(nt,{size:Oe.small})]}),c.jsx("div",{style:{height:"50vh",position:"relative",maxHeight:"50vh",marginRight:"20px"},children:c.jsx(QM,{children:c.jsx(RP,{checkButtonAriaLabel:"Select item",items:h,columns:c3,selectionMode:He.single,onRenderItemColumn:p3,enableShimmer:!h,listProps:{renderedWindowsAhead:0,renderedWindowsBehind:0},onShouldVirtualize:()=>!1,onActiveItemChanged:(j,M)=>o(j),layoutMode:Us.justified})})}),c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:"15px"},children:[c.jsx(An,{onClick:()=>D(x+2*y),iconProps:{iconName:"PlayReverse"},disabled:h.length===0||h[0].id===S,ariaLabel:"Newer"}),c.jsx(Ri,{selectedKey:y,placeholder:"Items per page",options:d3,onChange:(j,M)=>{C(M.key)}}),c.jsx(An,{onClick:()=>D(x),iconProps:{iconName:"Play"},disabled:S===0||h.length<y,ariaLabel:"Older"}),c.jsx(An,{onClick:()=>{F(0),b(0),D(0)},iconProps:{iconName:"Refresh"},ariaLabel:"Refresh"}),c.jsx(An,{onClick:()=>L(),iconProps:{iconName:"Delete"},ariaLabel:"Delete log",children:"Delete log"})]})]}),c.jsx(V,{tokens:{childrenGap:"10px"},style:{width:"50%",minWidth:"450px",margin:"0px 0px 0px 5px",padding:"10px",border:"1px solid #d1d1d1"},children:e?c.jsx(c.Fragment,{children:c.jsx("table",{className:"wpo365MailViewerTable",style:{tableLayout:"fixed",width:"100%"},children:c.jsxs("tbody",{children:[c.jsx("tr",{children:c.jsx("th",{colSpan:3,style:{padding:"10px",fontSize:"130%",textAlign:"center"},children:"Mail Preview"})}),c.jsx("tr",{children:c.jsx("td",{colSpan:3,children:c.jsx("hr",{})})}),c.jsxs("tr",{children:[c.jsx("th",{children:"Subject"}),c.jsx("td",{colSpan:2,children:e.mail_subject})]}),c.jsxs("tr",{children:[c.jsx("th",{children:"To"}),c.jsx("td",{colSpan:2,children:e.mail_to&&(Array.isArray(e.mail_to)?e.mail_to.map(j=>c.jsxs("div",{children:[c.jsx("span",{style:{fontWeight:600,paddingRight:"10px"},children:"To"}),c.jsx("span",{children:j})]})):c.jsxs("div",{children:[c.jsx("span",{style:{fontWeight:600,paddingRight:"10px"},children:"To"}),c.jsx("span",{children:e.mail_to})]}))})]}),c.jsxs("tr",{children:[c.jsx("th",{children:"Sent"}),c.jsx("td",{colSpan:2,children:e.mail_sent})]}),c.jsxs("tr",{children:[c.jsx("th",{children:"Success"}),c.jsx("td",{colSpan:2,children:e.mail_success?"Yes":"No"})]}),c.jsxs("tr",{children:[c.jsx("th",{children:"Attempts"}),c.jsx("td",{colSpan:2,children:"mail_attempts"in e?`${e.mail_attempts}/${t.mailAutoRetry?"4":"1"}`:"1"})]}),e.mail_error?c.jsxs("tr",{children:[c.jsx("th",{children:"Info"}),c.jsx("td",{colSpan:2,children:c.jsx("div",{dangerouslySetInnerHTML:{__html:e.mail_error}})})]}):c.jsxs("tr",{children:[c.jsx("th",{children:"Info"}),c.jsx("td",{colSpan:2,children:"-"})]}),Array.isArray(e.mail_headers)&&e.mail_headers.length>0?c.jsx(c.Fragment,{children:e.mail_headers.map((j,M)=>{const R=j.split(":");return R.length==2?c.jsxs("tr",{children:[c.jsx("th",{children:`${M==0?"Headers":""}`}),c.jsx("td",{children:R[0]}),c.jsx("td",{children:R[1]})]}):c.jsxs("tr",{children:[c.jsx("th",{children:"Headers"}),c.jsx("td",{colSpan:2,children:"-"})]})})}):c.jsxs("tr",{children:[c.jsx("th",{children:"Headers"}),c.jsx("td",{colSpan:2,children:"-"})]}),Array.isArray(e.mail_attachments)&&e.mail_attachments.length>0?c.jsx(c.Fragment,{children:e.mail_attachments.map((j,M)=>c.jsxs("tr",{children:[c.jsx("th",{children:`${M==0?"Attachments":""}`}),c.jsx("td",{colSpan:2,children:j})]}))}):c.jsxs("tr",{children:[c.jsx("th",{children:"Attachments"}),c.jsx("td",{colSpan:2,children:"-"})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:3,children:c.jsx("hr",{})})}),c.jsx("tr",{children:c.jsx("td",{colSpan:3,children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:"15px"},children:[c.jsx(An,{style:{minWidth:"150px"},onClick:()=>A(e.id),iconProps:{iconName:"Send"},children:"Send again"}),f=="sending"&&c.jsx(nt,{size:Oe.small})]})})}),c.jsx("tr",{children:c.jsx("td",{colSpan:3,children:c.jsx("div",{dangerouslySetInnerHTML:{__html:e.mail_body}})})})]})})}):c.jsx("div",{className:ae.wpo365WzRowifier,style:{justifyContent:"center",paddingTop:"50px"},children:c.jsx("div",{children:c.jsx("em",{children:"No preview available"})})})})]})]})})})},_h=n=>{const{children:r,requiredVersions:t}=n,{env:{props:{addOns:e}}}=O.useContext(lt);return t.some(o=>o.addOn in tl&&tl[o.addOn]in e&&e[tl[o.addOn]].activated&&parseFloat(e[tl[o.addOn]].version)>=o.minVersion)?c.jsx(c.Fragment,{children:r}):c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:{color:"#0078D4"},children:[c.jsx(kr,{className:ae.wpo365WzIconButton,iconProps:{iconName:"CloudDownload"},title:"Install latest version"}),c.jsx("span",{children:"Please update your WPO365 premium extension"})]})},f3="_wpoMiniCta_83qv1_1",m3="_wpoMiniCta__icon_83qv1_29",g3="_wpoMiniCta__content_83qv1_43",v3="_wpoMiniCta__title_83qv1_46",y3="_wpoMiniCta__desc_83qv1_55",_3="_wpoMiniCta__links_83qv1_65",b3="_wpoMiniCta__link_83qv1_65",C3="_wpoMiniCta__divider_83qv1_83",yo={wpoMiniCta:f3,wpoMiniCta__icon:m3,wpoMiniCta__content:g3,wpoMiniCta__title:v3,wpoMiniCta__desc:y3,wpoMiniCta__links:_3,wpoMiniCta__link:b3,wpoMiniCta__divider:C3},x3=n=>{const{buttons:r,cols:t=2}=n;return c.jsx("div",{style:{gridTemplateColumns:`repeat(${t}, 1fr)`,display:"grid",gridAutoRows:"1fr",gap:"10px",margin:"16px 0px"},children:r.map(e=>c.jsxs("a",{className:yo.wpoMiniCta,href:"#","aria-labelledby":"mini-cta-title","aria-describedby":"mini-cta-desc",children:[c.jsx("div",{className:yo.wpoMiniCta__icon,"aria-hidden":"true",children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 100 100",children:[c.jsx("path",{fill:"#c7ede6",d:"M87.2,56.7c1.1-2.2,1.8-4.6,1.8-7.2c0-6.6-4.2-12.3-10-14.5c0,0,0,0,0,0c0-11.6-9.4-21-21-21 c-9.8,0-18,6.7-20.3,15.8c-1.5-0.5-3-0.8-4.7-0.8c-7.7,0-14,5.8-14.9,13.3C12.9,43.4,9,48,9,53.5C9,59.9,14.1,65,20.5,65 c0.2,0,0.4,0,0.5,0c0,0.2,0,0.3,0,0.5C21,76.8,30.2,86,41.5,86c6.4,0,12.2-3,15.9-7.6c2.2,2.2,5.2,3.6,8.6,3.6 c4.7,0,8.7-2.7,10.7-6.5c1.1,0.3,2.2,0.5,3.3,0.5c6.1,0,11-4.9,11-11C91,61.7,89.5,58.7,87.2,56.7z"}),c.jsx("path",{fill:"#fdfcef",d:"M79.9,60.5c0,0,3.6,0,6.1,0s4.5-2,4.5-4.5c0-2.3-1.8-4.2-4.1-4.5c0-0.2,0.1-0.4,0.1-0.5c0-2.5-2-4.5-4.5-4.5 c-1.4,0-2.7,0.7-3.5,1.7c-0.1-2.6-2.3-4.7-5-4.7c-2.8,0-5,2.2-5,5c0,0.4,0.1,0.9,0.2,1.3C68,49,67.1,48.5,66,48.5 c-1.8,0-3.2,1.3-3.5,3.1c-0.2,0-0.4-0.1-0.5-0.1c-2.5,0-4.5,2-4.5,4.5s2,4.5,4.5,4.5s9.5,0,9.5,0h5.4V61h3V60.5z"}),c.jsx("path",{fill:"#472b29",d:"M73.5,43c-3,0-5.5,2.5-5.5,5.5c0,0,0,0,0,0c-0.6-0.4-1.3-0.5-2-0.5c-1.8,0-3.4,1.3-3.9,3c0,0-0.1,0-0.1,0 c-2.8,0-5,2.2-5,5s2.2,5,5,5h14.9c0.3,0,0.5-0.2,0.5-0.5S77.2,60,76.9,60H62c-2.2,0-4-1.8-4-4s1.8-4,4-4c0.1,0,0.2,0,0.3,0l0.1,0 c0,0,0,0,0.1,0c0.2,0,0.5-0.2,0.5-0.4c0.2-1.5,1.5-2.6,3-2.6c0.9,0,1.7,0.4,2.3,1.1c0.1,0.1,0.2,0.2,0.4,0.2c0.1,0,0.2,0,0.2-0.1 c0.2-0.1,0.3-0.3,0.3-0.6c-0.1-0.4-0.2-0.8-0.2-1.2c0-2.5,2-4.5,4.5-4.5c2.4,0,4.3,1.9,4.5,4.3c0,0.2,0.2,0.4,0.3,0.5 c0.1,0,0.1,0,0.2,0c0.2,0,0.3-0.1,0.4-0.2c0.8-1,1.9-1.5,3.1-1.5c2.2,0,4,1.8,4,4c0,0.1,0,0.2,0,0.3l0,0.1c0,0.1,0,0.3,0.1,0.4 s0.2,0.2,0.3,0.2c2.1,0.2,3.6,1.9,3.6,4c0,2.2-1.8,4-4,4h-6.1c-0.3,0-0.5,0.2-0.5,0.5s0.2,0.5,0.5,0.5H86c2.8,0,5-2.2,5-5 c0-2.4-1.7-4.4-4-4.9c0,0,0-0.1,0-0.1c0-2.8-2.2-5-5-5c-1.2,0-2.3,0.4-3.2,1.2C78.2,44.8,76.1,43,73.5,43L73.5,43z"}),c.jsx("path",{fill:"#472b29",d:"M72 50c-1.4 0-2.6 1-2.9 2.3-.4-.2-.8-.3-1.2-.3-1.2 0-2.2.9-2.4 2.1-.2 0-.4-.1-.6-.1-1.5 0-2.8 1.2-2.9 2.7 0 .1.1.3.2.3 0 0 0 0 0 0 .1 0 .2-.1.2-.2.1-1.3 1.2-2.3 2.4-2.3.2 0 .5 0 .7.1 0 0 0 0 .1 0 .1 0 .1 0 .2-.1.1 0 .1-.1.1-.2 0-1 .8-1.9 1.9-1.9.4 0 .9.2 1.2.5 0 0 .1.1.2.1 0 0 .1 0 .1 0 .1 0 .1-.1.2-.2.1-1.3 1.2-2.3 2.5-2.3.2 0 .4 0 .7.1 0 0 0 0 .1 0 .1 0 .2-.1.2-.2 0-.1 0-.3-.2-.3C72.5 50 72.3 50 72 50L72 50zM85.9 51.5c-1.3 0-2.5.9-2.9 2.2 0 .1 0 .3.2.3 0 0 0 0 .1 0 .1 0 .2-.1.2-.2.3-1.1 1.3-1.8 2.4-1.8.1 0 .2 0 .3 0 0 0 0 0 0 0 .1 0 .2-.1.2-.2 0-.1-.1-.3-.2-.3C86.2 51.5 86 51.5 85.9 51.5L85.9 51.5z"}),c.jsx("path",{fill:"#fff",d:"M15.4 51H5.5C5.2 51 5 50.8 5 50.5S5.2 50 5.5 50h9.9c.3 0 .5.2.5.5S15.7 51 15.4 51zM18.5 51h-1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h1c.3 0 .5.2.5.5S18.8 51 18.5 51zM23.5 53h-9c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h9c.3 0 .5.2.5.5S23.8 53 23.5 53zM12.5 53h-1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h1c.3 0 .5.2.5.5S12.8 53 12.5 53zM9.5 53h-2C7.2 53 7 52.8 7 52.5S7.2 52 7.5 52h2c.3 0 .5.2.5.5S9.8 53 9.5 53zM15.5 55h-2c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h2c.3 0 .5.2.5.5S15.8 55 15.5 55zM18.5 46c-.2 0-.8 0-1 0-.3 0-.5.2-.5.5s.2.5.5.5c.2 0 .8 0 1 0 .3 0 .5-.2.5-.5S18.8 46 18.5 46zM18.5 48c-.2 0-4.8 0-5 0-.3 0-.5.2-.5.5s.2.5.5.5c.2 0 4.8 0 5 0 .3 0 .5-.2.5-.5S18.8 48 18.5 48zM23.5 50c-.2 0-2.8 0-3 0-.3 0-.5.2-.5.5s.2.5.5.5c.2 0 2.8 0 3 0 .3 0 .5-.2.5-.5S23.8 50 23.5 50z"}),c.jsx("g",{children:c.jsx("path",{fill:"#fff",d:"M72.5 24h-10c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h10c.3 0 .5.2.5.5S72.8 24 72.5 24zM76.5 24h-2c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h2c.3 0 .5.2.5.5S76.8 24 76.5 24zM81.5 26h-10c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h10c.3 0 .5.2.5.5S81.8 26 81.5 26zM69.5 26h-1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h1c.3 0 .5.2.5.5S69.8 26 69.5 26zM66.4 26h-1.9c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h1.9c.3 0 .5.2.5.5S66.7 26 66.4 26zM75.5 22h-5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h5c.3 0 .5.2.5.5S75.8 22 75.5 22zM72.5 28h-2c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h2c.3 0 .5.2.5.5S72.8 28 72.5 28z"})}),c.jsxs("g",{children:[c.jsx("path",{fill:"#78a2d2",d:"M37,71.3c-4,0-7.3-3.3-7.3-7.3V36c0-4,3.3-7.3,7.3-7.3h28c4,0,7.3,3.3,7.3,7.3v28c0,4-3.3,7.3-7.3,7.3H37z"}),c.jsx("path",{fill:"#472b29",d:"M65,29.4c3.6,0,6.6,3,6.6,6.6v28c0,3.6-3,6.6-6.6,6.6H37c-3.6,0-6.6-3-6.6-6.6V36c0-3.6,3-6.6,6.6-6.6H65 M65,28H37c-4.4,0-8,3.6-8,8v28c0,4.4,3.6,8,8,8h28c4.4,0,8-3.6,8-8V36C73,31.6,69.4,28,65,28L65,28z"})]}),c.jsx("g",{children:c.jsx("path",{fill:"#472b29",d:"M68.4,47.5c-0.3,0-0.5-0.2-0.5-0.5v-3.7c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5V47 C68.9,47.3,68.7,47.5,68.4,47.5z"})}),c.jsx("g",{children:c.jsx("path",{fill:"#472b29",d:"M68.5,41.1c-0.3,0-0.5-0.2-0.5-0.5v-1.9c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5v1.9 C69,40.8,68.8,41.1,68.5,41.1z"})}),c.jsx("g",{children:c.jsx("path",{fill:"#472b29",d:"M64.3,67.9H37.8c-2.6,0-4.7-2.1-4.7-4.7V36.7c0-2.6,2.1-4.7,4.7-4.7h24c0.3,0,0.5,0.2,0.5,0.5S62,33,61.8,33 h-24c-2.1,0-3.7,1.7-3.7,3.7v26.4c0,2.1,1.7,3.7,3.7,3.7h26.4c2.1,0,3.7-1.7,3.7-3.7V49.6c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5 v13.6C69,65.8,66.9,67.9,64.3,67.9z"})}),c.jsxs("g",{children:[c.jsx("path",{fill:"#fdfcee",d:"M53.2,58.3c0,0.9,0.9,1.4,2.9,1.4v1.8H45.9v-1.8c1.9,0,2.8-0.5,2.8-1.4v-9.4c0-0.9-0.9-1.4-2.8-1.4v-1.8h7.3 C53.2,45.8,53.2,58.3,53.2,58.3z M53.6,40.6c0,0.7-0.3,1.3-0.8,1.9c-0.5,0.5-1.2,0.8-2,0.8c-0.4,0-0.8-0.1-1.1-0.2 c-0.3-0.1-0.6-0.3-0.9-0.6c-0.3-0.2-0.5-0.5-0.6-0.8c-0.2-0.3-0.2-0.7-0.2-1c0-0.7,0.3-1.4,0.8-1.9c0.6-0.5,1.2-0.8,2-0.8 c0.8,0,1.4,0.3,2,0.8C53.4,39.2,53.6,39.8,53.6,40.6z"}),c.jsx("path",{fill:"#472b29",d:"M56.6,62H45.4v-2.8h0.5c1.1,0,2.3-0.2,2.3-0.9v-9.4c0-0.6-0.8-0.9-2.3-0.9h-0.5v-2.8h8.3l0,13.1 c0,0.2,0,0.3,0.1,0.4c0.2,0.2,0.7,0.5,2.2,0.5h0.5V62z M46.4,61h9.2v-0.8c-1.2-0.1-2-0.3-2.5-0.8c-0.3-0.3-0.4-0.7-0.4-1.1V46.3 h-6.3V47c1.9,0.1,2.8,0.7,2.8,1.9v9.4c0,1.2-1,1.8-2.8,1.9V61z M50.8,43.7c-0.5,0-0.9-0.1-1.3-0.3c-0.4-0.2-0.7-0.4-1-0.7 c-0.3-0.3-0.5-0.6-0.7-1c-0.2-0.4-0.3-0.8-0.3-1.3c0-0.9,0.3-1.6,1-2.2c0.7-0.6,1.4-0.9,2.3-0.9c0.9,0,1.7,0.3,2.3,0.9 c0.7,0.6,1,1.4,1,2.2c0,0.9-0.3,1.6-1,2.2C52.5,43.4,51.8,43.7,50.8,43.7z M50.8,38.4c-0.6,0-1.2,0.2-1.7,0.6 c-0.5,0.4-0.7,0.9-0.7,1.5c0,0.3,0.1,0.6,0.2,0.8c0.1,0.3,0.3,0.5,0.5,0.7c0.2,0.2,0.5,0.4,0.7,0.5c0.3,0.1,0.6,0.2,0.9,0.2 c0.7,0,1.2-0.2,1.6-0.6c0.4-0.4,0.7-0.9,0.7-1.5c0-0.6-0.2-1.1-0.7-1.5C52,38.6,51.5,38.4,50.8,38.4z"})]}),c.jsxs("g",{children:[c.jsx("path",{fill:"#fdfcef",d:"M36.5,73.5c0,0,1.6,0,3.5,0s3.5-1.6,3.5-3.5c0-1.8-1.3-3.2-3.1-3.5c0-0.2,0.1-0.4,0.1-0.5 c0-1.9-1.6-3.5-3.5-3.5c-1,0-2,0.5-2.6,1.2c-0.4-1.8-2-3.2-3.9-3.2c-2.2,0-4,1.8-4,4c0,0.2,0,0.4,0.1,0.6c-0.4-0.3-1-0.6-1.6-0.6 c-1.2,0-2.2,0.9-2.5,2.1c-0.2,0-0.4-0.1-0.5-0.1c-1.9,0-3.5,1.6-3.5,3.5s1.6,3.5,3.5,3.5s7.5,0,7.5,0V74h7V73.5z"}),c.jsx("path",{fill:"#472b29",d:"M38.3 69c-.1 0-.3-.1-.3-.3 0-1.2 1-2.2 2.2-2.2 0 0 .7 0 1.2.1.1 0 .2.2.2.3 0 .1-.2.2-.3.2C40.9 67 40.2 67 40.2 67c-.9 0-1.7.8-1.7 1.7C38.5 68.9 38.4 69 38.3 69zM31.5 73A.5.5 0 1 0 31.5 74 .5.5 0 1 0 31.5 73z"}),c.jsx("path",{fill:"#472b29",d:"M40,74h-3.5c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H40c1.7,0,3-1.3,3-3c0-1.5-1.1-2.8-2.6-3 c-0.1,0-0.3-0.1-0.3-0.2s-0.1-0.2-0.1-0.4c0-0.2,0-0.3,0-0.5c0-1.7-1.3-3-3-3c-0.8,0-1.6,0.4-2.2,1c-0.1,0.1-0.3,0.2-0.5,0.1 c-0.2,0-0.3-0.2-0.4-0.4c-0.3-1.6-1.8-2.8-3.4-2.8c-1.9,0-3.5,1.6-3.5,3.5c0,0.1,0,0.3,0,0.4c0,0.2-0.1,0.4-0.2,0.5 s-0.4,0.1-0.6,0C25.9,65.2,25.4,65,25,65c-1,0-1.8,0.7-2,1.6c0,0.3-0.3,0.4-0.6,0.4c-0.2,0-0.3,0-0.5,0c-1.7,0-3,1.3-3,3 s1.3,3,3,3h7.5c0.3,0,0.5,0.2,0.5,0.5S29.8,74,29.5,74H22c-2.2,0-4-1.8-4-4s1.8-4,4-4c0.1,0,0.1,0,0.2,0c0.4-1.2,1.5-2,2.8-2 c0.3,0,0.7,0.1,1,0.2c0.2-2.3,2.1-4.2,4.5-4.2c1.8,0,3.5,1.1,4.2,2.8c0.7-0.5,1.5-0.8,2.3-0.8c2.2,0,4,1.8,4,4c0,0,0,0.1,0,0.1 c1.7,0.4,3,2,3,3.9C44,72.2,42.2,74,40,74z"}),c.jsx("path",{fill:"#472b29",d:"M34.5,73c-0.2,0-0.8,0-1,0c-0.3,0-0.5,0.2-0.5,0.5s0.2,0.5,0.5,0.5c0.2,0,0.8,0,1,0c0.3,0,0.5-0.2,0.5-0.5 S34.8,73,34.5,73z"})]})]})}),c.jsxs(V,{horizontalAlign:"start",tokens:{childrenGap:10},className:yo.wpoMiniCta__content,children:[c.jsx("div",{id:"mini-cta-title",className:yo.wpoMiniCta__title,children:e.title}),c.jsx("div",{id:"mini-cta-desc",className:yo.wpoMiniCta__desc,children:e.callToAction}),c.jsxs("div",{className:yo.wpoMiniCta__links,"aria-label":"Related resources",children:[e.info&&c.jsx("a",{className:yo.wpoMiniCta__link,href:e.info,target:"_blank",children:"More info"}),e.info&&e.tutorial&&c.jsx("span",{className:yo.wpoMiniCta__divider,"aria-hidden":"true",children:"•"}),e.tutorial&&c.jsx("a",{className:yo.wpoMiniCta__link,href:e.tutorial,target:"_blank",children:"Tutorial"})]})]})]}))})},w3={maxWidth:"400px",color:"#cc0000"},S3=n=>{const{env:r,env:{props:{autoRetryOk:t,extensions:e,ssoConfigured:o,wpConfigAad:s,wpConfigMultiple:a}},settings:u,settings:{hidePremiumOptions:d},updateSettings:f}=O.useContext(lt),m=()=>({applicationId:u.applicationId,applicationSecret:u.applicationSecret,appOnlyApplicationId:u.appOnlyApplicationId,appOnlyApplicationSecret:u.appOnlyApplicationSecret,mailAllowFrom:u.mailAllowFrom,mailApplicationId:u.mailApplicationId,mailApplicationSecret:u.mailApplicationSecret,mailAuthorizationScenario:u.mailAuthorizationScenario,mailAutoRetry:u.mailAutoRetry,mailDefaultRecipient:u.mailDefaultRecipient,mailFixLocalhost:u.mailFixLocalhost,mailFrom:u.mailFrom,mailIntervals:u.mailIntervals,mailLog:u.mailLog,mailLogRetention:u.mailLogRetention,mailMimeType:u.mailMimeType,mailMultiTenanted:u.mailMultiTenanted,mailRedirectUrl:u.mailRedirectUrl,mailReplyTo:u.mailReplyTo,mailSaveToSentItems:u.mailSaveToSentItems,mailSendAs:u.mailSendAs,mailSendAsFrom:u.mailSendAsFrom,mailSendShared:u.mailSendShared,mailSendSharedFrom:u.mailSendSharedFrom,mailSendToBcc:u.mailSendToBcc,mailSkipAllChecks:u.mailSkipAllChecks,mailStagingMode:u.mailStagingMode,mailTenantId:u.mailTenantId,mailThreshold:u.mailThreshold,mailThrottlingEnabled:u.mailThrottlingEnabled,mailTld:u.mailTld,redirectUrl:u.redirectUrl,redirectUrlStrict:u.redirectUrlStrict,samlX509Cert:u.samlX509Cert,skipPasswordCredentialsExpiredCheck:u.skipPasswordCredentialsExpiredCheck,tenantId:u.tenantId,useGraphMailer:u.useGraphMailer,useWpConfig:u.useWpConfig,wpRestAadApplicationId:u.wpRestAadApplicationId,wpRestAadApplicationIdUri:u.wpRestAadApplicationIdUri}),[h,g]=O.useState(m()),[y]=O.useState(r.props.addOns&&Object.keys(r.props.addOns).length>0),[C,x]=O.useState(null),[b,S]=O.useState(),[F,D]=O.useState(!1),[A,L]=O.useState("unauthorized"),[j,M]=O.useState([]),[R,P]=O.useState(ge.initial),[W,Q]=O.useState(""),[K,J]=O.useState(""),[ne,ie]=O.useState(""),[fe,B]=O.useState(!1),[Z,se]=O.useState(Di.initial),[le,z]=O.useState(null),[q,X]=O.useState(null),[me,pe]=O.useState("initial"),[De,Te]=O.useState(""),[ct,Ae]=O.useState("copyDelete"),[Mt,ot]=O.useState("hidden"),[Rt,Ut]=O.useState(t),[Yt,$t]=O.useState(null),hn=O.useRef(),kt=O.useRef("unauthorized"),bt=ee=>{L(ee),kt.current=ee},It=(ee,G)=>{switch(ee){case"tenantId":return y&&h.useWpConfig||G&&/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(G);case"applicationId":return y&&h.useWpConfig||G&&/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(G);case"applicationSecret":return y&&h.useWpConfig||G&&!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(G);case"redirectUri":return y&&h.useWpConfig||G&&(/^(http|https):\/\/.*\/{1}$/i.test(G)||G.indexOf("=mail-integration-365-settings")>0);case"redirectUriStrict":return!h.redirectUrlStrict||y&&h.useWpConfig||G&&G.length>r.props.siteUrl.length+2;case"mailFrom":return G&&/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/.test(G);default:return!1}},[Eo,Fr]=O.useState(u.redirectUrlStrict?It("redirectUriStrict",u.mailRedirectUrl):!0),uo=ee=>ee.indexOf("AADSTS7000215")>=0?"WPO365 could not retrieve application-level permissions to send emails using Microsoft Graph. If you intend to authorize a single user account using delegated permissions, then you can safely ignore this warning. [Orginal error: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret  [...]]":ee.indexOf("does not has the role requested")?`WPO365 could not retrieve application-level permissions to send emails using Microsoft Graph. If you intend to authorize a single user account using delegated permissions, then you can safely ignore this warning. [Orginal error: ${ee}]`:ee,yn=(ee,G,Ce,ut)=>{if(ee){G(!1);return}x({title:Ce,subText:ut,onDismiss:()=>x(null),onCancel:()=>x(null),onConfirm:()=>{x(null),G(!0)}})},li=async()=>{if(!W)return{message:"Please enter a valid email address to send a test email to.",success:!1};if(!h.mailFrom)return{message:'Please enter a valid email address for "(Default) From".',success:!1};const ee=new FormData;ee.append("action","wpo365_send_test_mail"),ee.append("nonce",r.nonce),ee.append("ina",window.wpo365.wizard.props.ina),ee.append("to",JSON.stringify(W.split(","))),ee.append("cc",JSON.stringify(K.split(","))),ee.append("bcc",JSON.stringify(ne.split(","))),ee.append("attachment",JSON.stringify(fe));let G;try{G=await We.post(r.wpAjaxAdminUrl,ee)}catch(Ce){return{success:!1,message:Ce.message}}return G.status>=200&&G.status<300&&G.data&&G.data.status?G.data.status=="OK"?{message:Le.empty,success:!0}:{message:G.data.message,success:!1}:{message:`Error occured (HTTP status ${G.status})`,success:!1}},Rn=async(ee=!1,G=!1)=>{S(""),bt("authorizing");const Ce=await Kn(!0);if(Ce){S(`${Ce}.`),bt("unauthorized");return}const ut=new FormData;ut.append("action","wpo365_get_mail_auth_configuration"),ut.append("deleteDelegated",ee||u.mailFrom!=h.mailFrom?"true":"false"),ut.append("deleteAppOnly",G?"true":"false"),ut.append("nonce",r.nonce),ut.append("ina",window.wpo365.wizard.props.ina);let Ft;try{Ft=await We.post(r.wpAjaxAdminUrl,ut)}catch(Vr){S(`${Vr.message}.`),bt("unauthorized");return}if(Ft.status>=200&&Ft.status<300&&Ft.data&&Ft.data.status){if(Ft.data.status=="OK"){if(X(Ft.data.result),Ft.data.result.delegated_authorized){bt("authorized"),Ft.data.result.has_refresh_token||S("Refresh token is missing [Check documentation].");return}if(Ft.data.result.app_only_authorized){bt("authorized");return}bt("unauthorized");return}S(`The following error occurred: [${Ft.status}] ${Ft.data.message}.`),bt("unauthorized");return}S("An unknown error occurred [Check your browser's developer console for details]."),bt("unauthorized")},fn=async()=>{if(bt("authorizing"),S(null),!h.mailFrom){S('Cannot start authorization when no "From" User Mailbox / Account has been specified.'),bt("unauthorized");return}if(!h.mailTenantId){S("Cannot start authorization when no directory (tenant) ID has been specified."),bt("unauthorized");return}if(!h.mailApplicationId){S("Cannot start authorization when no application (client) ID has been specified."),bt("unauthorized");return}if(!h.mailApplicationSecret){S("Cannot start authorization when no aplication (client) secret has been specified."),bt("unauthorized");return}if(!h.mailRedirectUrl){S("Cannot start authorization when no redirect URL has been specified."),bt("unauthorized");return}const ee=await Kn(!0);if(ee){S(`${ee}.`),bt("unauthorized");return}(q.delegated_authorized||q.app_only_authorized)&&await Rn(!0,!0);const G=new FormData;G.append("action","wpo365_get_mail_authorization_url"),G.append("nonce",r.nonce),G.append("ina",window.wpo365.wizard.props.ina);let Ce;try{Ce=await We.post(r.wpAjaxAdminUrl,G)}catch(ut){S(`${ut.message}.`),bt("unauthorized");return}if(Ce.status>=200&&Ce.status<300&&Ce.data&&Ce.data.status){if(Ce.data.status=="OK"){location.href=Ce.data.result;return}S(`The following error occurred: [${Ce.status}] ${Ce.data.message}.`),bt("unauthorized");return}S("An unknown error occurred [Check your browser's developer console for details]."),bt("unauthorized")},co=async()=>{X(null),Te(""),pe("copying");const ee=new FormData;ee.append("action","wpo365_try_migrate_mail_app_principal_info"),ee.append("nonce",r.nonce),ee.append("ina",window.wpo365.wizard.props.ina),ee.append("copyMode",ct);let G;try{if(G=await We.post(r.wpAjaxAdminUrl,ee),G&&G.data&&G.data.status&&G.data.status=="NOK")throw G.data.message;window.location.reload()}catch(Ce){console.error(Ce),Te(Ce.message?Ce.message:Ce)}pe("initial")},Kn=async(ee=!1)=>{ee||(M([]),P(ge.saving),se(Di.testing));const G={...u};G.applicationId=h.applicationId,G.applicationSecret=h.applicationSecret,G.appOnlyApplicationId=h.appOnlyApplicationId,G.appOnlyApplicationSecret=h.appOnlyApplicationSecret,G.mailAllowFrom=h.mailAllowFrom,G.mailApplicationId=h.mailApplicationId,G.mailApplicationSecret=h.mailApplicationSecret,G.mailAuthorizationScenario=h.mailAuthorizationScenario,G.mailAutoRetry=h.mailAutoRetry,G.mailDefaultRecipient=h.mailDefaultRecipient,G.mailFixLocalhost=h.mailFixLocalhost,G.mailFrom=h.mailFrom,G.mailIntervals=h.mailIntervals,G.mailLog=h.mailLog,G.mailLogRetention=h.mailLogRetention,G.mailMimeType=h.mailMimeType,G.mailMultiTenanted=h.mailMultiTenanted,G.mailRedirectUrl=h.mailRedirectUrl,G.mailReplyTo=h.mailReplyTo,G.mailSaveToSentItems=h.mailSaveToSentItems,G.mailSendAs=h.mailSendAs,G.mailSendAsFrom=h.mailSendAsFrom,G.mailSendShared=h.mailSendShared,G.mailSendSharedFrom=h.mailSendSharedFrom,G.mailSendToBcc=h.mailSendToBcc,G.mailSkipAllChecks=h.mailSkipAllChecks,G.mailStagingMode=h.mailStagingMode,G.mailTenantId=h.mailTenantId,G.mailThreshold=h.mailThreshold,G.mailThrottlingEnabled=h.mailThrottlingEnabled,G.mailTld=h.mailTld,G.redirectUrl=h.redirectUrl,G.redirectUrlStrict=h.redirectUrlStrict,G.samlX509Cert=h.samlX509Cert,G.skipPasswordCredentialsExpiredCheck=h.skipPasswordCredentialsExpiredCheck,G.tenantId=h.tenantId,G.useGraphMailer=h.useGraphMailer,G.useWpConfig=h.useWpConfig;try{const Ce=await $e.updateSettings(r,G);if(Ce.success){const ut=await $e.getSettings(r);if(f(ut),ee)return null;M([]),P(ge.success);const Ft=await li();Ft&&"success"in Ft&&Ft.success?se(Di.success):(M([`Failed to send a test email [Reason: ${Ft.message?Ft.message:"No error details available."}]. Also check the <a href="#debug">Debug Log</a> for possible warnings / errors.`]),P(ge.error),se(Di.error))}else{const ut=`Could not save your configuration (${Ce.message})`;if(ee)return ut;M([ut]),P(ge.error)}}catch{const ut="Unknown error occured whilst updating settings [check F12 > console for technical details]";if(ee)return ut;M([ut]),P(ge.error)}},ui=async(ee=!1)=>{$t(null);const G=new FormData;G.append("action","wpo365_mail_auto_retry"),G.append("nonce",r.nonce),G.append("ina",window.wpo365.wizard.props.ina),G.append("unschedule",ee?"1":"0");let Ce;try{Ce=await We.post(r.wpAjaxAdminUrl,G)}catch(ut){Ut(!1),$t(ut);return}if(Ce.status<200||Ce.status>=300||Ce&&Ce.data&&Ce.data.status&&Ce.data.status=="NOK"){Ce.data&&Ce.data.message?$t(Ce.data.message):$t("Unknown error occurred whilst trying to create the WP Cron Job that automatically resends failed emails."),Ut(!1);return}Ut(!0)},Ki=()=>{yn(h.mailMultiTenanted,ee=>{g({...h,mailMultiTenanted:ee,mailSkipAllChecks:ee?!0:h.mailSkipAllChecks}),ee&&hn.current&&clearTimeout(hn.current)},"Important",`You indicated that you wish to authorize a personal Microsoft account (e.g. Hotmail.com or 
       Outlook.com). Please read the <a href="https://tutorials.wpo365.com/courses/email-configure-microsoft-graph-mailer/lessons/send-email-from-a-personal-microsoft-account-e-g-hotmail-com/" 
       target="_blank">online documentation</a> to ensure that you have enabled multi-tenancy 
       support for your "App Registration" (in Entra ID) and selected the option "Accounts in 
       any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal 
       Microsoft accounts (e.g. Skype, Xbox)" for "Supported account types" on its "Authentication" 
       page.`)};return O.useEffect(()=>{h.useGraphMailer&&Rn(!1,!1)},[]),O.useEffect(()=>{le&&(le=="useGraphMailer"?Rn(!0,!0).then(()=>z(null)).catch(()=>z(null)):le=="stagingMode"?Kn(!0).then(async ee=>{ee||(await ui(!h.mailAutoRetry),location.reload()),z(null)}).catch(()=>z(null)):le=="autoRetry"?Kn(!0).then(async ee=>{ee||await ui(!h.mailAutoRetry),z(null)}).catch(()=>z(null)):(le=="obfuscate"||le=="useGcc")&&Kn(!0).then(async ee=>{z(null)}).catch(()=>z(null)))},[le]),O.useEffect(()=>{D((q||A!="authorizing")&&(y&&h.useWpConfig||It("tenantId",h.mailTenantId)&&It("applicationId",h.mailApplicationId)&&It("applicationSecret",h.mailApplicationSecret)&&It("redirectUri",h.mailRedirectUrl)&&It("mailFrom",h.mailFrom))),!(h.mailFrom==u.mailFrom&&h.useWpConfig==u.useWpConfig&&u.mailRedirectUrl==h.mailRedirectUrl&&u.mailTenantId==h.mailTenantId&&u.mailApplicationId==h.mailApplicationId&&u.mailApplicationSecret==h.mailApplicationSecret)&&h.mailTenantId&&h.mailApplicationId&&h.mailApplicationSecret&&h.mailRedirectUrl&&(hn.current&&clearTimeout(hn.current),hn.current=setTimeout(()=>kt.current!="authorizing"&&ot("deleteBoth"),4e3))},[q,h.mailFrom,h.useWpConfig,h.mailTenantId,h.mailApplicationId,h.mailApplicationSecret,h.mailRedirectUrl]),O.useEffect(()=>{(u.mailTenantId!=h.mailTenantId||u.mailApplicationId!=h.mailApplicationId||u.mailRedirectUrl!=h.mailRedirectUrl||u.mailApplicationSecret!=h.mailApplicationSecret||u.useWpConfig!=h.useWpConfig)&&g(m())},[u]),O.useEffect(()=>{Fr(It("redirectUriStrict",h.mailRedirectUrl))},[h.redirectUrlStrict,h.mailRedirectUrl]),O.useEffect(()=>{!h.mailMultiTenanted&&h.mailFrom&&h.mailFrom!=u.mailFrom&&["hotmail","outlook"].forEach(G=>{h.mailFrom.indexOf(`@${G}`)>-1&&Ki()})},[h.mailFrom]),c.jsxs(c.Fragment,{children:[c.jsx("div",{className:ae.wpo365WzMain,children:c.jsxs("table",{className:ae.wpo365WzTable,children:[c.jsxs("colgroup",{children:[c.jsx("col",{width:"50%"}),c.jsx("col",{width:"50%"})]}),c.jsxs("tbody",{children:[c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsxs("h3",{className:ae.wpo365WzSectionTitle,children:[c.jsx("span",{style:{color:"#CE5708"},children:"Getting started"})," with Email"]})})}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx(x3,{buttons:[{callToAction:"Send WP emails from any M365 Mailbox",info:"https://www.wpo365.com/feature/send-wordpress-emails-using-microsoft-graph/",title:"Email",tutorial:"https://tutorials.wpo365.com/courses/email-configure-microsoft-graph-mailer/"}]})})}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsxs("strong",{children:["Sending emails with Microsoft Graph is ",h.useGraphMailer?"enabled":"disabled"]})})}),c.jsx("td",{children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",style:{height:"30px"},children:[c.jsx(Or,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:h.useGraphMailer,onChange:(ee,G)=>yn(h.useGraphMailer,Ce=>{g(Ce?{...h,useGraphMailer:Ce}:{...h,useGraphMailer:Ce,mailAllowFrom:!1,mailApplicationId:"",mailApplicationSecret:"",mailAutoRetry:!1,mailDefaultRecipient:"",mailFixLocalhost:!1,mailFrom:"",mailIntervals:[3600,7200,14400],mailLog:!1,mailMimeType:"Html",mailRedirectUrl:u.redirectUrl,mailReplyTo:"",mailSaveToSentItems:!1,mailSendAs:!1,mailSendAsFrom:"",mailSendShared:!1,mailSendSharedFrom:"",mailSendToBcc:!1,mailStagingMode:!1,mailTenantId:"",mailThreshold:20,mailThrottlingEnabled:!1}),z("useGraphMailer")},"Important",`<p>You are configuring the <strong>WPO365</strong> plugin to send your WordPress transactional emails from a Microsoft 365 / Exchange Online Mail enabled account
                           using Microsoft Graph.</p><p>Please make sure that you have read the <a href="${e.indexOf(I.wpo365Login)==-1?"https://docs.wpo365.com/article/141-send-email-using-microsoft-graph-mailer":"https://docs.wpo365.com/article/108-sending-wordpress-emails-using-microsoft-graph"}" 
                           target="_blank">online documentation</a>.</p>`)}),le=="useGraphMailer"&&c.jsx(nt,{size:Oe.small})]})})]}),h.useGraphMailer&&c.jsxs(c.Fragment,{children:[e.some(ee=>ee==I.mailIntegration)&&c.jsxs(c.Fragment,{children:[c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsxs("h3",{className:ae.wpo365WzSectionTitle,style:{backgroundColor:"#0078d4",color:"#ffffff"},children:["Import Tool for ",c.jsx("em",{children:"Mail Integration for Office 365 / Outlook"})," settings"]})})}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsxs("span",{style:{color:"#CC0000"},children:[c.jsx(Ke,{iconName:"Warning",style:{paddingRight:"5px"}}),"Please take a moment and carefully read the  ",c.jsx("a",{href:"https://docs.wpo365.com/article/165-migrate-from-mail-integration-for-office-365-outlook-to-wpo365-microsoft-graph-mailer",target:"_blank",children:"migration guide"})," ","  before you click ",c.jsx("strong",{children:"Import"}),"."]})})}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Import mode"})})}),c.jsx("td",{children:c.jsx(Ri,{options:[{key:"select",text:"Select",itemType:br.Header},{key:"copy",text:"Import"},{key:"copyDelete",text:"Import, Delete"}],selectedKey:ct,onChange:(ee,G)=>Ae(G.key),style:{maxWidth:"400px"},disabled:me!="initial"||!q})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsxs("span",{children:["Import OAUTH settings from ",c.jsx("strong",{children:"Mail Integration for Office 365 / Outlook"})]})})}),c.jsx("td",{children:c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(xt,{onClick:co,styles:{root:{maxHeight:"30px",maxWidth:"90px"}},disabled:me!="initial"||!q,children:"Import"}),me=="copying"&&c.jsx(nt,{size:Oe.small}),De&&c.jsx("div",{style:{color:"#cc0000"},children:De})]})})]})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Entra ID Integration"})})}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Directory (tenant) ID"})," "]})}),c.jsx("td",{children:c.jsx(vn,{isValid:(ee,G)=>It("tenantId",G),onValid:ee=>g({...h,mailTenantId:ee}),bound:!1,errorMessage:Le.errDirectoryIdMustBeGuid,value:h.mailTenantId,placeholder:Le.infoDirectoryId,disabled:!q||y&&h.useWpConfig||A=="authorizing"||s||a})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"GCC High Tenant (Microsoft 365 Gov)"})})}),c.jsx("td",{children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",style:{height:"30px"},children:[c.jsx(Or,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:h.mailTld===".us",onChange:(ee,G)=>yn(h.mailTld===".us",Ce=>{g({...h,mailTld:Ce?".us":".com"}),z("useGcc")},"Important",`<p>Only check this option if you have made sure that your organization is using
                                    a so-called GCC High Tenant, which is a specialized cloud environment offered
                                    by Microsoft to meet the stringent compliance and security requirements of the 
                                    United States Department of Defense (DoD) and contractors handling Controlled 
                                    Unclassified Information (CUI) or subject to International Traffic in Arms 
                                    Regulations (ITAR). </p>`),disabled:h.mailStagingMode}),le=="useGcc"&&c.jsx(nt,{size:Oe.small})]})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Application (Client) ID"})," ",h.mailApplicationId&&(!y||!h.useWpConfig)&&c.jsx("em",{children:c.jsx("a",{href:`https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/${h.mailApplicationId}/isMSAApp/`,target:"_blank",children:"View in Entra Portal"})})]})}),c.jsx("td",{children:c.jsx(vn,{isValid:(ee,G)=>It("applicationId",G),onValid:ee=>g({...h,mailApplicationId:ee}),bound:!1,errorMessage:Le.errAppOnlyApplicationIdMustBeGuid,value:h.mailApplicationId,placeholder:Le.infoAppOnlyApplicationId,disabled:!q||y&&h.useWpConfig||A=="authorizing"||s||a})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Application (Client) secret"})})}),c.jsx("td",{children:c.jsx(vn,{isValid:(ee,G)=>It("applicationSecret",G),onValid:ee=>g({...h,mailApplicationSecret:ee}),bound:!1,errorMessage:"The application (client) secret is mandatory and may not be a GUID",value:h.mailApplicationSecret,disabled:!q||y&&h.useWpConfig||A=="authorizing"||s||a,password:!0})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Skip check for Application (Client) Secret expiration"})," ",c.jsx(pt,{info:{title:"Skip check for App registration secret expiration",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/203-skip-check-for-aad-app-registration-secret-expiration"}}})]})}),c.jsx("td",{children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(Xe,{onChange:(ee,G)=>g({...h,skipPasswordCredentialsExpiredCheck:G}),checked:h.skipPasswordCredentialsExpiredCheck,disabled:!e.some(ee=>ee===I.wpo365MsGraphMailer)}),!e.some(ee=>ee===I.wpo365MsGraphMailer)&&c.jsxs(c.Fragment,{children:[c.jsx(Ke,{iconName:"Warning",style:{paddingRight:"5px",color:"#0078D4"}}),c.jsxs("span",{style:{color:"#0078D4"},children:["Can be changed on the ",c.jsx("a",{href:"#integration",children:"Integration"})," page"]})]})]})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Redirect URI"})})}),c.jsx("td",{children:c.jsxs(V,{tokens:{childrenGap:0},children:[c.jsx(vn,{isValid:(ee,G)=>It("redirectUri",G),onValid:ee=>g({...h,mailRedirectUrl:ee}),bound:!1,errorMessage:'Redirect URI must be a valid URL and start with "http(s)://" and end with "/".',value:h.mailRedirectUrl,placeholder:Le.infoRedirectUri,disabled:!q||y&&h.useWpConfig||A=="authorizing"||s||a}),!Eo&&c.jsx("label",{style:{lineHeight:"30px",color:"#cc0000"},children:'Redirect URI cannot be equal to the site address when "strict mode" is selected'})]})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Enable strict mode for Redirect URI"}),c.jsx(pt,{info:{title:"Enable strict mode for Redirect URI",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/204-enable-strict-mode-for-redirect-uri"}}})]})}),c.jsx("td",{children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{checked:h.redirectUrlStrict,onChange:(ee,G)=>g({...h,redirectUrlStrict:G}),disabled:o&&!u.useSaml||s||a})}),(o&&!u.useSaml||s||a)&&c.jsxs("span",{className:ae.wpo365WzRowifier,style:{color:"#0078D4"},children:[c.jsx(Ke,{iconName:"Warning",style:{paddingRight:"5px"}}),"Can be changed on the ",c.jsx("a",{href:"#singleSignOn",children:"Single Sign-on"})," page"]})]})})]}),(!d||e.some(ee=>[I.wpo365Mail,I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Obfuscate Entra ID options"})," ",c.jsx(pt,{info:{title:"Use WP-Config(.php) for AAD secrets",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/137-use-wp-config-for-aad-secrets"}}})]})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginProfessional,I.wpo365Essentials,I.wpo365Customers,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsxs(V,{tokens:{childrenGap:10},children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",style:{height:"30px"},children:[c.jsx(Or,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:h.useWpConfig,disabled:!u.noSso||!q||A=="authorizing"||!h.useWpConfig&&!s&&!a,onChange:(ee,G)=>{g({...h,useWpConfig:G}),z("obfuscate")}}),le=="obfuscate"&&c.jsx(nt,{size:Oe.small})]}),!u.noSso&&(h.useWpConfig||s||a)&&c.jsxs("span",{className:ae.wpo365WzRowifier,style:{color:"#0078D4"},children:[c.jsx(Ke,{iconName:"Warning",style:{paddingRight:"5px"}}),"Can be changed on the ",c.jsx("a",{href:"#singleSignOn",children:"Single Sign-on"})," page"]})]})})})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Mail account configuration"})})}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Desired Authorization Scenario"}),c.jsx(pt,{info:{title:"Desired Authorization Scenario",readMore:{title:"Read online",url:"https://tutorials.wpo365.com/courses/email-configure-microsoft-graph-mailer/lessons/select-authorization-scenario/"}}})]})}),c.jsx("td",{children:c.jsx(Ri,{onChange:(ee,G)=>{const Ce={...h};Ce.mailAuthorizationScenario=G.key,G.key===ln.personal?(Ce.mailMultiTenanted=!0,Ce.mailSkipAllChecks=!0):Ce.mailMultiTenanted=!1,g(Ce),ot("deleteBoth")},placeholder:"Select your desired scenario",options:[{key:ln.auto,text:"Please select one"},{key:ln.delegated,text:"Send as a user (delegated permissions)"},{key:ln.personal,text:"Send from a personal Microsoft account e.g. Outlook.com"},{key:ln.application,text:"Send as any user (application permissions)"},{key:ln.rbac,text:"Send as any user (RBAC for EXO)"}],style:{maxWidth:"400px"},selectedKey:h.mailAuthorizationScenario})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx("span",{children:"Detected authorization status"}),c.jsx(id,{iconProps:{iconName:"Refresh"},title:"Refresh",ariaLabel:"Refresh",onClick:()=>ot("deleteAppOnly"),disabled:A=="authorizing",styles:{label:{fontSize:"13px",color:"#2271b1",textDecoration:"underline"}},children:"Check again"})]})}),c.jsx("td",{children:c.jsxs(V,{tokens:{childrenGap:10},children:[c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(Xe,{checked:q&&q.app_only_authorized,label:"Application permissions",disabled:!0,styles:{root:{marginRight:"10px"}}}),q&&q.app_only_last_error&&c.jsx(lr,{content:c.jsx("span",{children:uo(q.app_only_last_error)}),id:"tooltip_app_only_last_error",calloutProps:{gapSpace:0},styles:{root:{display:"inline-block",cursor:"pointer",color:"red",height:"27px"}},children:c.jsx(Ke,{iconName:"Error"})})]}),c.jsx(Xe,{onChange:(ee,G)=>!G&&ot("deleteDelegated"),checked:q&&q.delegated_authorized,label:"Delegated permissions",disabled:!q||!q.delegated_authorized}),q&&q.app_only_authorized&&[ln.auto,ln.delegated,ln.personal].indexOf(h.mailAuthorizationScenario)>-1&&c.jsxs(V,{children:[c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx("span",{children:c.jsx(Ke,{iconName:"Warning"})}),c.jsxs("span",{style:{color:"#CC0000"},children:["Unnecessary ",c.jsx("strong",{children:"Application Permissions"})," detected"]})]}),c.jsx("span",{style:{maxWidth:"400px",color:"#0078D4"},dangerouslySetInnerHTML:{__html:`You have configured <strong>Application Permissions</strong> for <em>Mail.Send</em> but have 
                                           selected an <em>Authorization scenario</em> that only requires <strong>Delegated Permissions</strong>.
                                           Therefore it is recommended that you remove those <strong>Application Permissions</strong>. To do so,
                                           please visit <a href="https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/CallAnAPI/appId/${h.mailApplicationId}/isMSAApp~/false" target="_blank">Entra Portal</a>`}})]})]})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{dangerouslySetInnerHTML:{__html:`Authorized ${h.mailAuthorizationScenario===ln.personal&&q&&!q.app_only_authorized?"personal Microsoft account":"Microsoft 365 account"}</em>`}})})}),c.jsx("td",{children:c.jsxs(V,{tokens:{childrenGap:10},children:[c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(vn,{isValid:(ee,G)=>It("mailFrom",G),onValid:ee=>g({...h,mailFrom:ee}),errorMessage:"Please enter a valid email address",bound:!1,value:h.mailFrom,placeholder:Le.infoMailFrom}),[ln.auto,ln.delegated,ln.personal].indexOf(h.mailAuthorizationScenario)>-1&&c.jsx(xt,{onClick:()=>fn(),styles:{root:{maxHeight:"30px",maxWidth:"90px"}},disabled:!F,children:"Authorize"}),A=="authorized"&&c.jsx("div",{style:{color:"#378805"},children:"Authorized!"}),A=="authorizing"&&c.jsx(V.Item,{align:"start",styles:{root:{marginTop:"7px"}},children:c.jsx(nt,{size:Oe.small})}),q&&!q.app_only_authorized&&A=="unauthorized"&&c.jsx("div",{style:{color:"#cc0000"},children:"Unauthorized!"})]}),b&&c.jsx("p",{style:w3,dangerouslySetInnerHTML:{__html:b}})]})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Skip all checks"})," ",c.jsx(pt,{info:{title:"Skip all checks",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/209-skip-all-mail-checks"}}})]})}),c.jsx("td",{children:c.jsx(Xe,{onChange:(ee,G)=>{g({...h,mailSkipAllChecks:G})},checked:h.mailSkipAllChecks,disabled:h.mailMultiTenanted})})]}),!h.mailMultiTenanted&&c.jsxs(c.Fragment,{children:[(!d||e.some(ee=>[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Mail,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Send from a Shared Mailbox"}),c.jsx(pt,{info:{title:"Send from a Shared Mailbox",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/175-send-from-a-shared-mailbox"}}})]})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(Xe,{onChange:(ee,G)=>{g(G?{...h,mailSendShared:G,mailSendAs:!1,mailSendAsFrom:""}:{...h,mailSendShared:G})},checked:h.mailSendShared,disabled:h.mailSendAs}),h.mailSendAs&&c.jsxs("em",{children:["Uncheck ",c.jsx("strong",{children:"Send as / Send on behalf of"})," to enable"]})]})})})]}),h.mailSendShared&&(!d||e.some(ee=>[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Mail,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Shared Mailbox"})})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx(vn,{isValid:(ee,G)=>!0,onValid:ee=>g({...h,mailSendSharedFrom:ee}),bound:!1,value:h.mailSendSharedFrom,placeholder:Le.infoMailFrom,disabled:h.mailSendAs})})})]}),(!d||e.some(ee=>[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Mail,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Send as / Send on behalf of"}),c.jsx(pt,{info:{title:"Send as / Send on behalf of",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/176-send-as-send-on-behalf-of"}}})]})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(Xe,{onChange:(ee,G)=>{g(G?{...h,mailSendAs:G,mailSendShared:!1,mailSendSharedFrom:""}:{...h,mailSendAs:G})},checked:h.mailSendAs,disabled:h.mailSendShared}),h.mailSendShared&&c.jsxs("em",{children:["Uncheck ",c.jsx("strong",{children:"Send from a Shared Mailbox"})," to enable"]})]})})})]}),h.mailSendAs&&(!d||e.some(ee=>[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Mail,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Send as / Send on behalf of Mailbox"})})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx(vn,{isValid:(ee,G)=>!0,onValid:ee=>g({...h,mailSendAsFrom:ee}),bound:!1,value:h.mailSendAsFrom,placeholder:Le.infoMailFrom,disabled:h.mailSendShared})})})]}),(!d||e.some(ee=>[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Mail,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Allow sending from other mailboxes"}),c.jsx(pt,{info:{title:"Allow sending from other mailboxes",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/177-allow-forms-to-override-from-address"}}})]})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(ee,G)=>g({...h,mailAllowFrom:G}),checked:h.mailAllowFrom})})})})]})]}),(!d||e.some(ee=>[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Mail,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Reply-to"})})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx(vn,{isValid:(ee,G)=>!G||/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/i.test(G),onValid:ee=>g({...h,mailReplyTo:ee}),bound:!1,value:h.mailReplyTo,placeholder:Le.infoMailFrom,errorMessage:Le.errMustBeValidEmail})})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Send email formatted as HTML"})})}),c.jsx("td",{children:c.jsx(Ri,{options:[{key:"select",text:"Select",itemType:br.Header},{key:"Text",text:"Text"},{key:"Html",text:"Html"}],selectedKey:h.mailMimeType,onChange:(ee,G)=>g({...h,mailMimeType:G.key}),style:{maxWidth:"400px"}})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Save to Sent Items"})})}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(ee,G)=>g({...h,mailSaveToSentItems:G}),checked:h.mailSaveToSentItems})})})]}),(!d||e.some(ee=>[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Mail,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs(c.Fragment,{children:[c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Send to Bcc instead"})})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(ee,G)=>g({...h,mailSendToBcc:G}),checked:h.mailSendToBcc})})})})]}),h.mailSendToBcc&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Default To: recipient"})})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx(vn,{isValid:(ee,G)=>!0,onValid:ee=>g({...h,mailDefaultRecipient:ee}),bound:!1,value:h.mailDefaultRecipient,placeholder:Le.infoMailFrom})})})]})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Test configuration"})})}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Send test email to recipients"})})}),c.jsx("td",{children:c.jsx(vn,{isValid:(ee,G)=>!0,onValid:ee=>Q(ee),bound:!1,value:W,placeholder:Le.infoTestMailTo})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Send test email to CC recipients"})})}),c.jsx("td",{children:c.jsx(vn,{isValid:(ee,G)=>!0,onValid:ee=>J(ee),bound:!1,value:K,placeholder:Le.infoTestMailTo})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Send test email BCC recipients"})})}),c.jsx("td",{children:c.jsx(vn,{isValid:(ee,G)=>!0,onValid:ee=>ie(ee),bound:!1,value:ne,placeholder:Le.infoTestMailTo})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Send test email with attachment"})})}),c.jsx("td",{children:c.jsx("div",{className:ae.wpo365WzCheckbox,children:c.jsx(Xe,{onChange:(ee,G)=>B(G),checked:fe})})})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Mail Audit"})})}),!u.insightsEnabled&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Enable WPO365 Insights"}),c.jsx(pt,{info:{title:"WPO365 Insights",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/210-wpo365-insights"}}})]})}),c.jsx("td",{children:c.jsx("a",{href:"#insights",children:"Visit Dashboard → Insights"})})]}),(!d||e.some(ee=>[I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Mail,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro].some(G=>G==ee)))&&c.jsxs(c.Fragment,{children:[c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Enable Mail Staging Mode"}),c.jsx(pt,{info:{title:"Enable Mail Staging Mode",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/171-mail-staging-mode"}}})]})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",style:{height:"30px"},children:[c.jsx(Or,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:h.mailStagingMode,onChange:(ee,G)=>yn(h.mailStagingMode,Ce=>{g({...h,mailStagingMode:Ce,mailLog:G?!0:h.mailLog,mailAutoRetry:G?!1:h.mailAutoRetry,mailThrottlingEnabled:G?!1:h.mailThrottlingEnabled}),z("stagingMode")},"Important",`<p>By checking this option, the <strong>WPO365</strong> plugin will no 
                                   longer send emails using Microsoft Graph but instead will log the email that 
                                   was intended to be sent. This makes especially sense for a staging environment.</p>
                                   <p>Please make sure that you have read the <a href="https://docs.wpo365.com/article/171-mail-staging-mode"
                                   target="_blank">online documentation</a>.</p>`)}),le=="stagingMode"&&c.jsx(nt,{size:Oe.small})]})})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Log all emails sent"})})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsxs("div",{className:`${ae.wpo365WzCheckbox} ${ae.wpo365WzRowifier}`,children:[c.jsx(Xe,{onChange:(ee,G)=>g({...h,mailLog:G}),checked:h.mailLog,disabled:h.mailStagingMode}),h.mailLog&&c.jsx("span",{style:{paddingLeft:"20px"},children:c.jsx("a",{href:"#mailLogViewer",children:"View logs"})})]})})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Mail log retention"}),c.jsx(pt,{info:{title:"Mail log retention",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/217-mail-log-retention"}}})]})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx(vn,{isValid:(ee,G)=>!isNaN(parseInt(G)),onValid:ee=>{g({...h,mailLogRetention:parseInt(ee)})},bound:!1,errorMessage:"Only numeric input is accepted",value:h.mailLogRetention.toString(),placeholder:"e.g. 45"})})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Throttle # of emails / minute"}),c.jsx(pt,{info:{title:"Throttle number of emails sent per minute",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/182-throttle-the-number-of-emails-sent-per-minute"}}})]})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx(_h,{requiredVersions:[{addOn:I.wpo365Mail,minVersion:24},{addOn:I.wpo365LoginPremium,minVersion:24},{addOn:I.wpo365Sync5y,minVersion:24},{addOn:I.wpo365LoginIntranet,minVersion:24},{addOn:I.wpo365Integrate,minVersion:24},{addOn:I.wpo365Pro,minVersion:24},{addOn:I.wpo365Intranet5y,minVersion:24},{addOn:I.wpo365Customers,minVersion:24}],children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:{height:"30px"},children:[c.jsx(Or,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:h.mailThrottlingEnabled,onChange:(ee,G)=>yn(h.mailThrottlingEnabled,Ce=>{g({...h,mailThrottlingEnabled:Ce,mailAutoRetry:G?!0:h.mailAutoRetry,mailLog:G?!0:h.mailLog}),z("autoRetry")},"Important",`<p>Checking this option will automatically enable the plugin's ability to resend failed emails automatically. And it is for
                                    that reason that the plugin will add a new WP-Cron job to your system. It is your responsibility to ensure that WP-Cron jobs 
                                    are running frequently. Please check <a href="https://docs.wpo365.com/article/135-hooking-wp-cron-into-a-task-scheduling-service"
                                    target="_blank">our online documentation</a> how you can improve the stability of WP-Cron and simulate a situation in which
                                    WP-Cron is running continiously.</p>`),disabled:h.mailStagingMode}),h.mailThrottlingEnabled&&c.jsx(Ri,{options:[{key:"2",text:"2"},{key:"10",text:"10"},{key:"20",text:"20"},{key:"30",text:"30"}],selectedKey:h.mailThreshold.toString(),onChange:(ee,G)=>g({...h,mailThreshold:parseInt(G.key)})})]})})})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs("div",{className:ae.wpo365WzRowifier,children:[c.jsx("span",{children:"Resending failed emails automatically"}),c.jsx(pt,{info:{title:"Resending failed emails automatically",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/183-resending-failed-emails-automatically"}}})]})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx(_h,{requiredVersions:[{addOn:I.wpo365Mail,minVersion:24},{addOn:I.wpo365LoginPremium,minVersion:24},{addOn:I.wpo365Sync5y,minVersion:24},{addOn:I.wpo365LoginIntranet,minVersion:24},{addOn:I.wpo365Intranet5y,minVersion:24},{addOn:I.wpo365Customers,minVersion:24},{addOn:I.wpo365Integrate,minVersion:24},{addOn:I.wpo365Pro,minVersion:24}],children:c.jsxs(V,{tokens:{childrenGap:0},children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",style:{height:"30px"},children:[c.jsx(Or,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:h.mailAutoRetry,onChange:(ee,G)=>yn(h.mailAutoRetry,Ce=>{g({...h,mailAutoRetry:Ce,mailLog:G?!0:h.mailLog}),z("autoRetry")},"Important",`<p>Checking this option will add a new WP-Cron job to your system. It is your responsibility to ensure that WP-Cron jobs are
                                    running frequently. Please check <a href="https://docs.wpo365.com/article/135-hooking-wp-cron-into-a-task-scheduling-service"
                                    target="_blank">our online documentation</a> how you can improve the stability of WP-Cron and simulate a situation in which
                                    WP-Cron is running continuously.</p>`),disabled:h.mailStagingMode}),le=="autoRetry"&&c.jsx(nt,{size:Oe.small}),h.mailAutoRetry&&!Rt&&c.jsx(lr,{content:c.jsx("span",{children:"This feature did not correctly initialize. Please try to reactivate it."}),id:"tooltip_mail_auto_retry_error",calloutProps:{gapSpace:0},styles:{root:{display:"inline-block",cursor:"pointer",color:"#CC0000",height:"27px"}},children:c.jsx(Ke,{iconName:"Warning"})})]}),Yt&&c.jsx("div",{style:{color:"#cc0000"},children:Yt})]})})})})]}),h.mailAutoRetry&&c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{className:ae.wpo365WzRowifier,children:c.jsx("span",{children:"Interval in seconds between first, second and last attempt"})})}),c.jsx("td",{children:c.jsx(un,{extensions:e,targets:[I.wpo365Mail,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Pro],children:c.jsx(_h,{requiredVersions:[{addOn:I.wpo365Mail,minVersion:24},{addOn:I.wpo365LoginPremium,minVersion:24},{addOn:I.wpo365Sync5y,minVersion:24},{addOn:I.wpo365LoginIntranet,minVersion:24},{addOn:I.wpo365Intranet5y,minVersion:24},{addOn:I.wpo365Customers,minVersion:24},{addOn:I.wpo365Integrate,minVersion:24},{addOn:I.wpo365Pro,minVersion:24}],children:c.jsx(V,{tokens:{childrenGap:10},children:h.mailIntervals.map((ee,G)=>c.jsx(vn,{isValid:(Ce,ut)=>!isNaN(parseInt(ut)),onValid:Ce=>{const ut=[...h.mailIntervals];ut[G]=parseInt(Ce),g({...h,mailIntervals:ut})},bound:!1,errorMessage:"Only numeric input is accepted",value:h.mailIntervals[G].toString(),placeholder:"e.g. 3600"}))})})})})]})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Configuration"})})}),c.jsxs("tr",{children:[c.jsx("th",{}),c.jsx("td",{children:c.jsxs("div",{className:ae.wpo365WzColumnifier,children:[c.jsxs(V,{horizontal:!0,tokens:{childrenGap:10},children:[c.jsx(An,{onClick:()=>Kn(),iconProps:{iconName:R==ge.success?"Like":void 0},style:{minWidth:"400px",maxWidth:"400px",minHeight:"30px",alignSelf:"start"},disabled:R==ge.saving||A!="authorized",children:"Save configuration + send test email"}),Z===Di.testing&&c.jsx(nt,{size:Oe.small})]}),c.jsxs("div",{className:ae.wpo365WzLabelFor,children:[A=="unauthorized"&&c.jsxs("p",{className:ae.wpo365WzP,children:["You must first complete the ",c.jsx("strong",{children:"Authorization"})," before you can send a ",c.jsx("em",{children:"test email"})]}),R==ge.success?c.jsx("p",{style:{color:"#378805"},children:Le.okSettingsUpdated}):null,j.map(ee=>c.jsx("p",{className:ae.wpo365WzP,dangerouslySetInnerHTML:{__html:ee}})),Z==Di.success&&c.jsxs("p",{className:ae.wpo365WzP,style:{color:"#378805"},children:["Test email was sent successfully (but still you should check the ",c.jsx("a",{href:"#debug",children:"Debug Log"})," for possible warnings / errors)"]})]})]})})]})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx(cd,{})})}),C&&c.jsx(ud,{onCancel:C.onCancel,onConfirm:C.onConfirm,onDismiss:C.onDismiss,title:C.title,subText:C.subText})]})]})}),c.jsxs(wl,{hidden:Mt=="hidden",onDismiss:()=>ot("hidden"),dialogContentProps:{type:Wr.normal,title:"Status check mail authorization"},modalProps:{isBlocking:!0,styles:{main:{maxWidth:"600px !important"}}},children:[Mt=="deleteAppOnly"&&c.jsxs("p",{children:["Let's check the status of the mail authorization. A new mail authorization with ",c.jsx("em",{children:"Application permissions"})," will be requested. An existing mail authorization with ",c.jsx("em",{children:"Delegated permissions"})," (if found) will not be deleted."]}),Mt=="deleteDelegated"&&c.jsxs("p",{children:["Let's check the status of the mail authorization. An existing mail authorization with ",c.jsx("em",{children:"Delegated permissions"})," (if found) will be deleted."]}),Mt=="deleteBoth"&&c.jsxs("p",{children:["Let's check the status of the mail authorization. All existing mail authorizations with both ",c.jsx("em",{children:"Application permissions"})," and / or"," ",c.jsx("em",{children:"Delegated permissions"})," (if found) will be deleted."]}),c.jsxs("p",{children:["Once the test completes you can read the status from the two checkbox status indicators for ",c.jsx("em",{children:"Application permissions"})," and"," ",c.jsx("em",{children:"Delegated permissions"}),"."]}),c.jsxs("p",{children:["If ",c.jsx("em",{children:"Application permissions"})," is checked, it means that application-level permissions have been detected. The plugin is now ready to send email using Microsoft Graph using these permissions. If you want to add / remove application-level permissions, then please make sure that you have added / removed application-level ",c.jsx("em",{children:"Mail.Send"})," permisisons from the ",c.jsx("em",{children:"App registration"}),"'s"," ",c.jsxs("a",{href:`https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/CallAnAPI/appId/${h.mailApplicationId}/isMSAApp/`,target:"_blank",children:[c.jsx("em",{children:"API Permissions"})," page"]})," ","in ",c.jsx("em",{children:"Entra ID"})," and wait a few minutes before checking again."]}),c.jsxs("p",{children:["If ",c.jsx("em",{children:"Delegated permissions"})," is checked, it means that user-level permissions have been detected. The plugin is now ready to send emails using Microsoft Graph using these permissions. If you want to remove user-level permissions, then simply remove the check from the status checkbox."]}),c.jsxs("p",{children:["To configure user-level permissions, enter a ",c.jsx("em",{children:"(Default) From"})," and click the ",c.jsx("em",{children:"Authorize"})," button."]}),c.jsx(ld,{children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(V.Item,{grow:!1,children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(xt,{onClick:()=>ot("hidden"),text:"Cancel"}),c.jsx(An,{onClick:()=>{const ee=Mt&&Mt!="deleteAppOnly",G=Mt&&Mt!="deleteDelegated";Rn(ee,G),ot("hidden")},text:"Check status"})]})}),c.jsx(V.Item,{grow:!0,children:c.jsx(V,{horizontal:!0,verticalAlign:"center",horizontalAlign:"end",tokens:{childrenGap:10},children:[ln.auto,ln.delegated,ln.personal].indexOf(h.mailAuthorizationScenario)>-1&&c.jsx(An,{onClick:()=>fn(),styles:{root:{maxHeight:"30px",maxWidth:"90px"}},disabled:!F,children:"Authorize"})})})]})})]})]})},E3=n=>{const{env:r,settings:t,updateSettings:e}=O.useContext(lt),o={bounceToAdmin:t.bounceToAdmin,leeway:t.leeway,passwordLength:t.passwordLength,preventSendEmailChangeEmail:t.preventSendEmailChangeEmail,preventSendPasswordChangeEmail:t.preventSendPasswordChangeEmail,skipHostVerification:t.skipHostVerification,skipNonceVerification:t.skipNonceVerification,skipUserRegisterAction:t.skipUserRegisterAction,skipWpLoginAction:t.skipWpLoginAction,useIdTokenParserV2:t.useIdTokenParserV2,useLoaderV1:t.useLoaderV1,useLoginButtonV1:t.useLoginButtonV1,useMsTeamsSsoV1:t.useMsTeamsSsoV1,useNoTeamsSso:t.useNoTeamsSso,useWpCli:t.useWpCli,useWpConfigFrags:t.useWpConfigFrags,validateOnPluginsLoaded:t.validateOnPluginsLoaded},[s,a]=O.useState(o),[u,d]=O.useState(null),[f,m]=O.useState(ge.initial),[h,g]=O.useState([]),y=()=>{const{useIdTokenParserV2:b}=s;if(b){a({...s,useIdTokenParserV2:!1});return}const S={title:Le.titleUseIdTokenParserV2,subText:Le.subTextUseIdTokenParserV2,onDismiss:()=>d(null),onCancel:()=>d(null),onConfirm:()=>{a({...s,useIdTokenParserV2:!0}),d(null)}};d(S)},C=()=>{const{useNoTeamsSso:b}=s;if(b){a({...s,useNoTeamsSso:!1});return}d({title:"Important",subText:"If you check this option to enable support for IE 11, integration with Microsoft Teams is no longer possible.",onDismiss:()=>d(null),onCancel:()=>d(null),onConfirm:()=>{a({...s,useNoTeamsSso:!0}),d(null)}})},x=async()=>{m(ge.saving);const b={...t};b.leeway=s.leeway,b.bounceToAdmin=s.bounceToAdmin,b.passwordLength=s.passwordLength,b.preventSendEmailChangeEmail=s.preventSendEmailChangeEmail,b.preventSendPasswordChangeEmail=s.preventSendPasswordChangeEmail,b.skipHostVerification=s.skipHostVerification,b.skipNonceVerification=s.skipNonceVerification,b.skipUserRegisterAction=s.skipUserRegisterAction,b.skipWpLoginAction=s.skipWpLoginAction,b.useIdTokenParserV2=s.useIdTokenParserV2,b.useLoaderV1=s.useLoaderV1,b.useLoginButtonV1=s.useLoginButtonV1,b.useMsTeamsSsoV1=s.useMsTeamsSsoV1,b.useNoTeamsSso=s.useNoTeamsSso,b.useWpCli=s.useWpCli,b.useWpConfigFrags=s.useWpConfigFrags,b.validateOnPluginsLoaded=s.validateOnPluginsLoaded;const S=await $e.updateSettings(r,b);S.success?($e.getSettings(r).then(F=>e(F)),g([]),m(ge.success)):(g([...h,new Bc("saveConfiguration",S.message,2e3)]),m(ge.error))};return c.jsx("div",{className:ae.wpo365WzMain,children:c.jsxs("table",{className:ae.wpo365WzTable,children:[c.jsxs("colgroup",{children:[c.jsx("col",{width:"50%"}),c.jsx("col",{width:"50%"})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Miscellaneous"})})}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"Skip authentication for WP-CLI"}),c.jsx(pt,{info:{title:"Skip authentication for WP-CLI",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/173-skip-authentication-for-wp-cli"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,useWpCli:S}),checked:s.useWpCli})})]}),r.props.extensions.indexOf(I.wpo365Login)>-1&&c.jsxs(c.Fragment,{children:[c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"Don't fire wp-login action"}),c.jsx(pt,{info:{title:"Don't fire wp-login action",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/95-skip-wplogin-action"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,skipWpLoginAction:S}),checked:s.skipWpLoginAction})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:'Prevent WordPress to send "email changed" emails'}),c.jsx(pt,{info:{title:'Prevent WordPress to send "email changed" email',readMore:{title:"Read online",url:"https://docs.wpo365.com/article/115-prevent-wordpress-to-send-email-changed-email"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,preventSendEmailChangeEmail:S}),checked:s.preventSendEmailChangeEmail})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:'Prevent WordPress to send "password changed" emails'}),c.jsx(pt,{info:{title:'Prevent WordPress to send "password changed" email',readMore:{title:"Read online",url:"https://docs.wpo365.com/article/148-prevent-wordpress-to-send-password-changed-email"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,preventSendPasswordChangeEmail:S}),checked:s.preventSendPasswordChangeEmail})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"Don't fire user_register action"}),c.jsx(pt,{info:{title:"Don't fire user_register action",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/91-skip-userregister-action"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,skipUserRegisterAction:S}),checked:s.skipUserRegisterAction})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{children:"Use Firebase\\JWT instead of phpseclib"})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:y,checked:s.useIdTokenParserV2})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{children:"Use loader animation V1 (bars)"})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,useLoaderV1:S}),checked:s.useLoaderV1})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"Use Microsoft Teams SSO V1"}),c.jsx(pt,{info:{title:"Use Microsoft Teams SSO V1",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/70-adding-a-wordpress-tab-to-microsoft-teams-and-use-single-sign-on"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,useMsTeamsSsoV1:S}),checked:s.useMsTeamsSsoV1})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{children:"Use login-button template V1"})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,useLoginButtonV1:S}),checked:s.useLoginButtonV1})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsx("div",{children:"IE 11 compatibility mode"})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:C,checked:s.useNoTeamsSso})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"Use admin URL to initiate authentication"}),c.jsx(pt,{info:{title:"Use admin URL to initiate authentication",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/219-use-admin-url-to-initiate-authentication"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,bounceToAdmin:S}),checked:s.bounceToAdmin})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"Password length"}),c.jsx(pt,{info:{title:"Password length",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/138-password-length"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(vn,{isValid:(b,S)=>/^\d+$/.test(S),onValid:b=>a({...s,passwordLength:parseInt(b)}),bound:!1,errorMessage:Le.errPasswordLengthMustBeNumeric,value:s.passwordLength.toString(),placeholder:Le.infoPasswordLength})})]})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"Skip NONCE verification"}),c.jsx(pt,{info:{title:"Skip NONCE verification",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/97-skip-nonce-verification"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,skipNonceVerification:S}),checked:s.skipNonceVerification})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"(cURL) Skip SSL host verification"}),c.jsx(pt,{info:{title:"Skip SSL host verification",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/102-skip-ssl-host-verification"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(Xe,{onChange:(b,S)=>a({...s,skipHostVerification:S}),checked:s.skipHostVerification})})]}),c.jsxs("tr",{children:[c.jsx("th",{children:c.jsxs(V,{tokens:{childrenGap:10},horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{children:"Leeway"}),c.jsx(pt,{info:{title:"Leeway time",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/157-leeway"}}})]})}),c.jsx("td",{style:{verticalAlign:"middle"},children:c.jsx(vn,{isValid:(b,S)=>/^\d+$/.test(S),onValid:b=>a({...s,leeway:parseInt(b)}),bound:!1,errorMessage:Le.errLeewayMustBeNumeric,value:s.leeway.toString(),placeholder:Le.infoLeeway})})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx("h3",{className:ae.wpo365WzSectionTitle,children:"Configuration"})})}),c.jsxs("tr",{children:[c.jsx("th",{}),c.jsx("td",{children:c.jsxs(V,{tokens:{childrenGap:10},style:{maxWidth:"400px"},children:[c.jsx(An,{onClick:()=>x(),iconProps:{iconName:f==ge.success?"Like":void 0},style:{minWidth:"400px",minHeight:"30px"},disabled:f==ge.saving,children:"Save configuration"}),c.jsx("div",{className:ae.wpo365WzLabelFor,children:k_(h,"saveConfiguration").map(b=>c.jsx("p",{className:ae.wpo365WzP,children:b.message}))}),f==ge.success?c.jsx("p",{style:{color:"#378805"},children:Le.okSettingsUpdated}):null]})})]}),c.jsx("tr",{children:c.jsx("td",{colSpan:2,children:c.jsx(cd,{})})}),u&&c.jsx(ud,{onCancel:u.onCancel,onConfirm:u.onConfirm,onDismiss:u.onDismiss,title:u.title,subText:u.subText})]})})},k3=n=>{const{env:{props:{licNotices:r}}}=O.useContext(lt),{dismiss:t}=n,e=()=>{sessionStorage.setItem("wpo365HideLicenseNotice","hide"),t()},o=O.useMemo(()=>Hs(r,["No license notices found"]),[]),s=200,a=.02,[u,d]=O.useState(0);return O.useEffect(()=>{if(u<=1){const f=setInterval(()=>{d(a+u)},s);return()=>{clearInterval(f)}}}),c.jsx("div",{style:{background:"#f0f0f1"},children:c.jsxs(V,{tokens:{childrenGap:10},children:[c.jsx(U0,{percentComplete:u}),Array.isArray(o)&&o.map(f=>c.jsx("div",{style:{background:"#ffffff",padding:"20px 40px",border:"1px solid #c3c4c7",margin:"20px 40px",borderLeftWidth:"4px",boxShadow:"0 1px 1px rgba(0,0,0,.04)",borderLeftColor:"#d63638",borderStyle:"solid"},children:c.jsx("p",{dangerouslySetInnerHTML:{__html:f}})})),c.jsx(V.Item,{align:"end",children:c.jsx(An,{styles:{root:{marginRight:"40px",marginBottom:"20px"}},onClick:e,disabled:u<1,children:"Remind me later"})})]})})},I3=n=>{var r=document.createRange();r.selectNode(document.getElementById(n)),window.getSelection().removeAllRanges(),window.getSelection().addRange(r),document.execCommand("copy"),window.getSelection().removeAllRanges()},F3=n=>{const{env:{props:{wpoHealthMessages:r}}}=O.useContext(lt),{refreshWpoHealthMessages:t}=n,e=O.useMemo(()=>Hs(r,[]),[r]);return O.useEffect(()=>{t()},[]),c.jsxs(V,{styles:{root:{marginTop:"25px"}},tokens:{childrenGap:10},children:[Array.isArray(e)&&e.map((o,s)=>c.jsxs(c.Fragment,{children:[s===0&&c.jsxs(V,{horizontal:!0,verticalAlign:"center",styles:{root:{padding:"20px",backgroundColor:"#448fd521"}},children:[c.jsx(V,{horizontalAlign:"stretch",styles:{root:{minWidth:"35px"}},children:c.jsx(Ke,{styles:{root:{fontSize:"24px",color:"#0078d4"}},iconName:"Lightbulb"})}),c.jsxs("div",{children:[c.jsx("p",{children:"WPO365 has detected the following issues and recommends that you implement measures to resolve those issues."}),c.jsxs("p",{children:["Please check the"," ",c.jsx("a",{href:"https://docs.wpo365.com/",target:"_blank",children:"online documentation"})," ","or contact"," ",c.jsx("a",{href:"https://www.wpo365.com/contact/",target:"_blank",children:"WPO365 support"})," ","for help."]})]})]}),c.jsx(G0,{children:c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx("span",{children:o.now?o.now:"Date / time unknown"}),c.jsx(kr,{onClick:()=>I3(`wpoHealthMessage_${s.toString()}`),iconProps:{iconName:"Copy"},styles:{root:{fontSize:"16px",color:"#0078d4"}}})]})}),c.jsx(V,{styles:{root:{width:"100%"}},tokens:{childrenGap:10},children:c.jsxs(V,{horizontal:!0,verticalAlign:"start",children:[c.jsx(Ke,{styles:{root:{fontSize:"24px",color:"#cc0000",minWidth:"35px",marginTop:"7px"}},iconName:o.level=="ERROR"?"Error":o.level=="WARN"?"Warn":"Bug"}),c.jsx("div",{id:`wpoHealthMessage_${s.toString()}`,style:{fontSize:"13px"},dangerouslySetInnerHTML:{__html:o.body?o.body:"No further information"}})]})})]})),(!Array.isArray(e)||e.length===0)&&c.jsx("span",{children:"No WPO365 Health Messages found."})]})},D3=n=>{const{env:r,env:{props:{extensions:t}},settings:e,updateSettings:o}=O.useContext(lt),s=a=>{const u={...e};u.hidePremiumOptions=a,$e.updateSettings(r,u).then(d=>{d.success&&$e.getSettings(r).then(f=>o(f))}).catch(d=>console.error(d))};return Array.isArray(t)&&c.jsx("div",{className:ae.wpo365WzHidePremiumOptionsToggle,children:c.jsx(Or,{styles:{root:{marginBottom:"0px"}},checked:!e.hidePremiumOptions,onText:"Premium options are visible",offText:"Premium options are hidden",onClick:()=>s(!e.hidePremiumOptions)})})},T3={gapSpace:0},A3={root:{display:"inline-block"}},M3=n=>n.saving?c.jsx(nt,{size:Oe.xSmall}):c.jsx(lr,{content:n.name,id:`${n.key}_id`,calloutProps:T3,styles:A3,children:c.jsx(zs,{id:n.id,role:"menuitem","aria-label":n.name,styles:{root:{padding:"10px",background:"#ffffff"}},iconProps:{iconName:n.icon},onClick:n.onClick})}),P3=n=>c.jsx(zs,{role:"menuitem",title:"More items",styles:{root:{padding:"10px"},menuIcon:{fontSize:"16px"}},menuIconProps:{iconName:"More"},menuProps:{items:n}}),R3=n=>{const{env:r,settings:t,updateSettings:e}=O.useContext(lt),[o,s]=O.useState(window.location.hash.indexOf("#singleSignOn")>-1&&!t.hideDocTb),[a,u]=O.useState(!1),d=()=>{u(!0);const f={...t,hideDocTb:!0};$e.updateSettings(r,f).then(m=>{if(m.success)$e.getSettings(r).then(h=>{e(h),u(!1)}).catch(h=>{console.error(h),u(!1)});else throw"Updating settings failed"}).catch(m=>{console.error(m),u(!1)})};return O.useEffect(()=>{a&&s(!1)},[a]),c.jsxs(c.Fragment,{children:[c.jsx(j0,{"aria-label":"Support menu",role:"menubar",items:[{id:"btnWebsite",key:"website",icon:"Website",name:"Website",ariaLabel:"Website",onClick:()=>window.open("https://www.wpo365.com/")},{id:"btnContact",key:"contact",icon:"Feedback",name:"Ask a question",ariaLabel:"Ask a question",onClick:()=>window.open("https://www.wpo365.com/contact/")},{saving:a,id:"btnDocumentation",key:"documentation",icon:"Documentation",name:"Documentation",ariaLabel:"Documentation",onClick:()=>window.open("https://docs.wpo365.com/")},{id:"btnVideos",key:"videos",icon:"VideoSearch",name:"Videos",ariaLabel:"Videos",onClick:()=>window.open("https://www.youtube.com/@wpo365")},{id:"btnHistory",key:"history",icon:"FullHistory",name:"Change Log",ariaLabel:"Change Log",onClick:()=>window.open("https://www.wpo365.com/change-log/")},{id:"btnReview",key:"review",icon:"AddFavorite",name:"Review",ariaLabel:"Review",onClick:()=>window.open("https://wordpress.org/support/plugin/wpo365-login/reviews")},{id:"btnFollow",key:"follow",icon:"FollowUser",name:"LinkedIn",ariaLabel:"LinkedIn",onClick:()=>window.open("https://www.linkedin.com/company/downloads-by-van-wieren")}],onRenderOverflowButton:P3,onRenderItem:M3}),r.props.wpoHealthMessages=="false"&&o&&c.jsxs(iR,{calloutProps:{directionalHint:ft.bottomCenter},closeButtonAriaLabel:"Close",hasCloseButton:!0,isWide:!0,headline:"Getting started",illustrationImage:{src:"https://www.wpo365.com/wp-content/uploads/2021/07/icon-128x128-1-128x128.png"},onDismiss:()=>s(!1),primaryButtonProps:{children:"Don't show again",onClick:d},target:"#btnDocumentation",children:["Make sure to visit"," ",c.jsx("a",{style:{color:"white"},href:"https://docs.wpo365.com/",target:"_blank",children:"https://docs.wpo365.com/"})," ","for the latest guides and support articles."]})]})},N3=n=>{const{isMsGraphMailer:r}=n,{env:{props:{extensions:t}},settings:e}=O.useContext(lt),o=O.useMemo(()=>t.some(b=>[I.wpo365LoginIntranet,I.wpo365Intranet5y,I.wpo365LoginPremium,I.wpo365Sync5y,I.wpo365Customers,I.wpo365Integrate,I.wpo365Mail,I.wpo365Pro].some(S=>S==b)),[t]),s=O.useRef(null),[a,u]=O.useState(!1),[d,f]=O.useState(!1),[m,h]=O.useState(""),g=O.useCallback(b=>{b.preventDefault(),u(!1),f(!0)},[]),y=O.useCallback(b=>{b.preventDefault(),f(!1)},[]);O.useEffect(()=>{setTimeout(()=>u(!0),1e3)},[]);const C=Jy();O.useEffect(()=>{switch(C.pathname){case"/":h("DASHBOARD");break;case"/dashboard":h("DASHBOARD");break;case"/singleSignOn":h("SINGLE SIGN-ON");break;case"/userRegistration":h("USER REGISTRATION");break;case"/loginLogout":h("LOGIN / LOGOUT");break;case"/mail":h("MAIL");break;case"/userSync":h("USER SYNC");break;case"/apps":h("M*365 APPS");break;case"/cbsConfigurator":h("EMBED SHAREPOINT SEARCH");break;case"/listConfigurator":h("EMBED SHAREPOINT LIST");break;case"/edConfigurator":h("EMBED EMPLOYEE DIRECTORY");break;case"/pbiConfigurator":h("EMBED POWER BI");break;case"/calendarConfigurator":h("EMBED CALENDAR");break;case"/yammer":h("EMBED VIVA ENGAGE");break;case"/integration":h("INTEGRATION");break;case"/selfTest":h("PLUGIN SELF-TEST");break;case"/debug":h("DEBUG");break;case"/miscellaneous":h("MISCELLANEOUS");break;case"/translations":h("TRANSLATIONS");break;case"/importExport":h("IMPORT / EXPORT");break;case"/mailLogViewer":h("MAIL LOG VIEWER");break;case"/rolesAccess":h("ROLES + ACCESS");break;case"/insights":h("INSIGHTS");break;default:h("UNKNOWN")}},[C]);const x=O.useMemo(()=>r?[{key:_e.dashboard,text:"Dashboard",onClick:()=>{location.hash=`/${_e.dashboard}`},itemProps:{styles:{label:{fontWeight:600}}}},{key:"divider_before_features",itemType:cn.Divider},{key:"wpo365Mail",text:"Mail",subMenuProps:{items:[{key:_e.mail,text:"Mail",onClick:()=>{location.hash=`/${_e.mail}`}},{key:_e.mailLogViewer,text:"Mail Log Viewer",onClick:()=>{location.hash=`/${_e.mailLogViewer}`},disabled:!o||!e.useGraphMailer||!e.mailLog}]}},{key:"divider_after_features",itemType:cn.Divider},{key:_e.debug,text:"Debug",onClick:()=>{location.hash=`/${_e.debug}`}},{key:_e.miscellaneous,text:"Miscellaneous",onClick:()=>{location.hash=`/${_e.miscellaneous}`}},{key:_e.importExport,text:"Import / Export",onClick:()=>{location.hash=`/${_e.importExport}`}}]:[{key:_e.dashboard,text:"Dashboard",onClick:()=>{location.hash=`/${_e.dashboard}`},itemProps:{styles:{label:{fontWeight:600}}}},{key:"divider_before_features",itemType:cn.Divider},{key:_e.singleSignOn,text:"Single Sign-on",onClick:()=>{location.hash=`/${_e.singleSignOn}`}},{key:"wpo365Mail",text:"Mail",subMenuProps:{items:[{key:_e.mail,text:"Mail",onClick:()=>{location.hash=`/${_e.mail}`}},{key:_e.mailLogViewer,text:"Mail Log Viewer",onClick:()=>{location.hash=`/${_e.mailLogViewer}`},disabled:!o||!e.useGraphMailer||!e.mailLog}]}},{key:_e.apps,text:"M*365 Apps",onClick:()=>{location.hash=`/${_e.apps}`},itemProps:{styles:{label:{fontWeight:600,color:"#0078d4"}}}},{key:_e.rolesAccess,text:"Roles + Access",onClick:()=>{location.hash=`/${_e.rolesAccess}`}},{key:_e.userSync,text:"User Sync",onClick:()=>{location.hash=`/${_e.userSync}`}},{key:_e.userRegistration,text:"User Registration",onClick:()=>{location.hash=`/${_e.userRegistration}`}},{key:_e.loginLogout,text:"Login / Logout",onClick:()=>{location.hash=`/${_e.loginLogout}`}},{key:_e.integration,text:"Integration",onClick:()=>{location.hash=`/${_e.integration}`}},{key:_e.selfTest,text:"Plugin self-test",onClick:()=>{location.hash=`/${_e.selfTest}`},itemProps:{styles:{label:{fontWeight:600}}}},{key:"divider_after_features",itemType:cn.Divider},{key:_e.debug,text:"Debug",onClick:()=>{location.hash=`/${_e.debug}`}},{key:_e.miscellaneous,text:"Miscellaneous",onClick:()=>{location.hash=`/${_e.miscellaneous}`}},{key:_e.importExport,text:"Import / Export",onClick:()=>{location.hash=`/${_e.importExport}`}},{key:_e.translations,text:"Translations",onClick:()=>{location.hash=`/${_e.translations}`}}],[t,e]);return c.jsxs(c.Fragment,{children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",tokens:{childrenGap:15},children:[c.jsxs(V,{horizontal:!0,verticalAlign:"center",children:[c.jsx("div",{ref:s,style:{paddingLeft:"20px"},children:c.jsx(kr,{iconProps:{iconName:d?"Cancel":"GlobalNavButton"},onClick:d?y:g,styles:{icon:{fontSize:"28px"},rootHovered:{backgroundColor:"#fafafa"},rootPressed:{backgroundColor:"#fafafa"}}})}),c.jsx("div",{className:ae.wpo365WzPageTitle,children:c.jsx("h3",{children:`WPO365 | ${m}`})})]}),c.jsx(D3,{}),c.jsx(R3,{})]}),c.jsx(Hh,{items:x,hidden:!d,target:s,onItemClick:y,onDismiss:y}),a&&c.jsx(CD,{target:s.current,positioningContainerProps:{directionalHint:ft.bottomCenter,doNotLayer:!1}})]})};PM();const L3=n=>{const{env:r,env:{props:{addOns:t,licNotices:e,wpConfigAad:o,wpConfigMultiple:s,wpConfigOverrides:a,wpmu:u,wpoHealthMessages:d},nonce:f,wpAjaxAdminUrl:m},appStatus:h,lastErrorMessage:g,settings:y,showWpoHealthMessages:C,setShowWpoHealthMessages:x,updateAppStatus:b,updateLastErrorMessage:S,wpoHealthMessagesDismissed:F,wpoHealthMessagesUpdated:D}=O.useContext(lt),[A,L]=O.useState(""),[j,M]=O.useState(ge.initial),[R,P]=O.useState(!1),W=()=>{L(""),M(ge.initial),P(e&&!!Hs(e,!1)&&!sessionStorage.getItem("wpo365HideLicenseNotice")),x(d&&!!Hs(d,!1))};O.useEffect(()=>{y&&W()},[y]);const Q=async()=>{M(ge.saving);const J=new FormData;J.append("action","wpo365_dismiss_wpo_health_messages"),J.append("nonce",f),J.append("ina",window.wpo365.wizard.props.ina);let ne;try{ne=await We.post(m,J)}catch(ie){L(ie.message);return}if(ne.status>=200&&ne.status<300&&ne.data&&ne.data.status){if(ne.data.status=="OK"){M(ge.initial),x(!1),F();return}L(ne.data.message);return}L(`Error occured (HTTP status ${ne.status})`)},K=async()=>{M(ge.saving);const J=new FormData;J.append("action","wpo365_get_wpo_health_messages"),J.append("nonce",f),J.append("ina",window.wpo365.wizard.props.ina);let ne;try{ne=await We.post(m,J)}catch(ie){L(ie.message);return}if(ne.status>=200&&ne.status<300&&ne.data&&ne.data.status){if(ne.data.status=="OK"){M(ge.initial),ne.data.result&&D(ne.data.result);return}L(ne.data.message);return}L(`Error occured (HTTP status ${ne.status})`)};return c.jsxs(c.Fragment,{children:[window.location.href.indexOf("/network/")>-1&&c.jsx("div",{style:{width:"calc(100% - 35px)",margin:"15px 15px 15px 0px"},children:c.jsx(Fs,{messageBarType:Ee.warning,isMultiline:!1,onDismiss:()=>{},dismissButtonAriaLabel:"Close",children:"You are editing the central WPO365 network configuration."})}),u=="wpmuDedicated"&&window.location.href.indexOf("/network/")==-1&&c.jsx("div",{style:{width:"calc(100% - 35px)",margin:"15px 15px 15px 0px"},children:c.jsxs(Fs,{messageBarType:Ee.warning,isMultiline:!1,onDismiss:()=>{},dismissButtonAriaLabel:"Close",children:["You are editing the WPO365 configuration for a subsite. Go to the ",c.jsx("a",{href:"#importExport",children:"Import / Export"})," tab to replace it with a copy of the central WPO365 configuration."]})}),Object.keys(t).length>0&&o&&c.jsx("div",{style:{width:"calc(100% - 35px)",margin:"15px 15px 15px 0px"},children:c.jsxs(Fs,{messageBarType:Ee.warning,isMultiline:!1,onDismiss:()=>{},dismissButtonAriaLabel:"Close",children:["Entra ID options defined in WP-config.php will be used instead. See"," ",c.jsx("a",{href:"https://tutorials.wpo365.com/courses/wp-config-php-single-identity-provider-idp/",target:"_blank",children:"online documentation"})," ","for details."]})}),Object.keys(t).length>0&&a&&c.jsx("div",{style:{width:"calc(100% - 35px)",margin:"15px 15px 15px 0px"},children:c.jsxs(Fs,{messageBarType:Ee.warning,isMultiline:!1,onDismiss:()=>{},dismissButtonAriaLabel:"Close",children:["WPO365 non-AAD options defined in WP-config.php will be used instead. See"," ",c.jsx("a",{href:"https://tutorials.wpo365.com/courses/wp-config-php-configuration-w-o-idps/",target:"_blank",children:"online documentation"})," ","for details."]})}),Object.keys(t).length>0&&s&&c.jsx("div",{style:{width:"calc(100% - 35px)",margin:"15px 15px 15px 0px"},children:c.jsxs(Fs,{messageBarType:Ee.warning,isMultiline:!1,onDismiss:()=>{},dismissButtonAriaLabel:"Close",children:["Multiple Identity Providers defined in WP-config.php will be used instead. See"," ",c.jsx("a",{href:"https://tutorials.wpo365.com/courses/wp-config-php-multiple-identity-providers-idps/",target:"_blank",children:"online documentation"})," ","for details."]})}),c.jsxs(V,{tokens:{childrenGap:15},children:[c.jsxs("div",{className:ae.wpo365WzPage,children:[c.jsx(N3,{isMsGraphMailer:n.isMsGraphMailer}),c.jsx(Rx,{})]}),c.jsxs(wl,{hidden:h!="working",dialogContentProps:{type:Wr.normal,title:"Working ..."},modalProps:{isBlocking:!0,styles:{main:{maxWidth:450}}},children:[c.jsx("br",{}),c.jsx(nt,{size:Oe.medium})]}),c.jsx(wl,{hidden:h!="errors",onDismiss:()=>{b("initial"),S(null)},dialogContentProps:{type:Wr.normal,title:"Error",subText:g},modalProps:{isBlocking:!0,styles:{main:{maxWidth:450}}},children:c.jsx(ld,{children:c.jsx(An,{onClick:()=>{b("initial"),S(null)},text:"Close"})})}),c.jsx(_f,{isOpen:R,isBlocking:!0,styles:{main:{width:"50vw"}},children:c.jsx(k3,{dismiss:()=>P(!1)})})]}),c.jsx(bf,{type:Xt.medium,isOpen:C,onDismiss:()=>x(!1),headerText:"WPO365 Health Messages",closeButtonAriaLabel:"Close",onRenderFooterContent:()=>c.jsxs(V,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},children:[c.jsx(An,{onClick:()=>x(!1),children:"Close"}),c.jsx(xt,{onClick:Q,children:"Dismiss all"}),j==ge.saving&&c.jsx(nt,{size:Oe.medium})]}),isFooterAtBottom:!0,children:c.jsx(F3,{refreshWpoHealthMessages:()=>K(),dismiss:()=>x(!1)})})]})},B3=n=>{const r=[{path:"",element:c.jsx(L3,{isMsGraphMailer:!0}),children:[{path:"",element:c.jsx(cc,{isGraphMailer:!0})},{path:"/",element:c.jsx(cc,{isGraphMailer:!0})},{path:`/${_e.dashboard}`,element:c.jsx(cc,{isGraphMailer:!0})},{path:`/${_e.insights}`,element:c.jsx(cc,{isGraphMailer:!0,showInsights:!0})},{path:`/${_e.mail}`,element:c.jsx(S3,{})},{path:`/${_e.mailLogViewer}`,element:c.jsx(h3,{})},{path:`/${_e.debug}`,element:c.jsx(i3,{})},{path:`/${_e.miscellaneous}`,element:c.jsx(E3,{})},{path:`/${_e.importExport}`,element:c.jsx(a3,{})}]}];return wx(r)},nN=n=>{const r={nonce:window.wpo365.wizard.nonce,wpAjaxAdminUrl:window.wpo365.wizard.wpAjaxAdminUrl,props:{...window.wpo365.wizard.props,addOns:Hs(window.wpo365.wizard.props.addOns,{})}};return c.jsxs(FR,{env:r,children:[c.jsx(DR,{env:r,children:c.jsx(Bx,{children:c.jsx(B3,{})})}),c.jsx(dS,{})]})};export{nN as W,c as j,XC as r};
//# sourceMappingURL=wizard-chunk-BxRqHvj2.js.map
