Discord web

The discord web app detects my microphone input, but it does not detect the output. I've tried troubleshooting my earphones and using the device speakers. I've also tried… (funda kabanzi)

The discord web app detects my microphone input, but it does not detect the output. I've tried troubleshooting my earphones and using the device speakers. I've also tried checking the windows sound system, the browser permissions as well as clearing cache. I've gone over this with the discord staff and they said that the firefox team would be able to handle the situation better, as the problem does not persist between different browsers.

Asked by xame 8 amahora adlule

Last reply by jscher2000 - Support Volunteer 8 amahora adlule

Some webpages don’t work in Firefox

Hello, I have just done a clean install of Firefox and this went fine, the issue I am facing is that I find Firefox runs slow and some pages of a webpage do not load up.… (funda kabanzi)

Hello,

I have just done a clean install of Firefox and this went fine, the issue I am facing is that I find Firefox runs slow and some pages of a webpage do not load up. I am running windows 10 22H2.

Any help would be appreciated

Thanks

Asked by Matthew Few 8 amahora adlule

'From' showing wrong contact name

We have a number of medical services (chiros, physios, optometrists etc) who all use the same platform to run their appointment booking tasks. For all of these, any email… (funda kabanzi)

We have a number of medical services (chiros, physios, optometrists etc) who all use the same platform to run their appointment booking tasks. For all of these, any email coming from them comes from the same email address, that of the platform viz: <notifications@janeapp.com>

I have previously added this to my contacts, using the contact name Damini Physio.

Today I received an email where the From: header in the actual email source is Okanagan Vision Therapy <notifications@janeapp.com>

But it displays in Thunderbird as being From Damini Physio. I have noticed this happening with all the other clinics that use the same platform - they all show in my Thunderbird as being from Damini despite having the correct identification encoded in the email From header.

Is there some way I can fix this so that Thunderbird shows the correct source of the email? ie that it gives preference to the name encoded in the email rather than looking up the contact name for that email address?

Thanks

Noel

Asked by noel29 10 amahora adlule

Last reply by sfhowes 8 amahora adlule

No active hyperlinks.

In general, I like Thunderbird, have used it for years. But if there's one thing that will make me abandon it it's that incoming links are not hyperlinks, they're just te… (funda kabanzi)

In general, I like Thunderbird, have used it for years. But if there's one thing that will make me abandon it it's that incoming links are not hyperlinks, they're just text. From what I've read, that's deliberate. If not, how do I make incoming links be links? I'm really ready to move on.

Asked by kwlsea1 1 isonto elidlule

Last reply by RV 9 amahora adlule

Error when trying to send Comcast email

Get the following error when trying to send email through Mozilla from my Comcast account. Have deleted account from Mozilla and set up again to no avail. Running latest … (funda kabanzi)

Get the following error when trying to send email through Mozilla from my Comcast account. Have deleted account from Mozilla and set up again to no avail. Running latest version of Mozilla

Sending of the message failed. An error occurred while sending mail: Outgoing server (SMTP) error. The server responded: resomta-a2p-647141.sys.comcast.net resomta-a2p-647141.sys.comcast.net Excessive failed authentication, ESMTP server temporarily not available.

Asked by albdfjd 9 amahora adlule

All updates were disabled - Add-on "could not be verified for use in Firefox and has been disabled."

I saw a message that my Add-ons were disabled, and when I checked the Add-ons Manager , each of my many Add-ons had a message similar to: "1Password – Password Manager co… (funda kabanzi)

I saw a message that my Add-ons were disabled, and when I checked the Add-ons Manager , each of my many Add-ons had a message similar to: "1Password – Password Manager could not be verified for use in Firefox and has been disabled. "

Some searches in the forums suggest that that this can be caused my a certificate at Mozilla expiring, I seem to be the only one with this issue at the moment. All of my Add-ons came through the Mozilla store .

I am using version 123.0.1 (64-bit) on OpenSUSE Leap 15.5, and as far as I can see all of my updates are current (and from the official sources.)

What should I do next? I expect I need to wait for a certificate update or something at Mozilla, but if/when that happens how do I verify it did and re-enable my add-ons?

Asked by `Lex 19 amahora adlule

Last reply by cor-el 9 amahora adlule

Unable to connect to specific web site

I keep getting the message "The requested URL was rejected. Please consult with your administrator. Your support ID is: 8011674450284568349", when I try to go to the bcb… (funda kabanzi)

I keep getting the message "The requested URL was rejected. Please consult with your administrator.

Your support ID is: 8011674450284568349", when I try to go to the bcbsri web site. I have tried clearing the cache and site data multiple times and restarting the computer, without having any luck. it occurs on both Firefox and Google browsers.

Asked by mcterra 11 amahora adlule

Last reply by cor-el 10 amahora adlule

Messages not automatically downloading, after migrated thunderbird to new laptop

Hello, I have migrated my thunderbird onto a new windows system but I now get not automatic download of messages, the only messages I might get is if I close down Thunder… (funda kabanzi)

Hello, I have migrated my thunderbird onto a new windows system but I now get not automatic download of messages, the only messages I might get is if I close down Thunderbird and reopen. Get messages does not do anything - not even sure its attempting to communicate with server .

Is there anything I can do or change ? I have literally spent almost trying various things and I am the point of giving up and trying a completely different email client. There should be a seamless migration method but it appears there is not.

Asked by m47samson 10 amahora adlule

Mozilla TMI: How do I solve a DECADES long Bookmarks Management DILEMMA?

BEFORE ANYONE ANSWERS THIS PLEASE STOP AND THINK. I have been using this browser since Netscape. I have been "managing" bookmarks for years and years but I have NEVER f… (funda kabanzi)

BEFORE ANYONE ANSWERS THIS PLEASE STOP AND THINK. I have been using this browser since Netscape. I have been "managing" bookmarks for years and years but I have NEVER found a SOLUTION to managing bookmarks in a SIMPLE, USEFUL way. I have wasted hours and hours on this site looking for answers to the ongoing difficulty that EVERYONE has dealing with the BROWSER WARS imperative that bookmarks can be imported and therefore, perpetually duplicated in an infinite array of browser upgrades and OS installations over the YEARS AND YEARS. For those of us who have managed to ERR on the side of caution and always opt to live with the effects of this rather than risk LOSING the good data nested within, I implore Mozilla to THINK LONG AND HARD on developing a solution to this ONGOING PROBLEM WITH BROWSER BOOKMARKS MANAGEMENT OVERALL. Oh sure, there are hundreds of plugins that ultimately suck up the memory for partial solutions to the PROBLEM that is caused by each new installation of Firefox or other browser in which past bookmarks are imported and ultimately duplicated ad infinitum. I don't need to know all the things that are wrong with Microsoft and how developers or users create the problem, I need a SOLUTION.

Will Mozilla please be the FIRST BROWSER TO SOLVE THE DE-SHITIFICATION OF BOOKMARKS no matter how poorly mismanaged and duplicated they were in past iterations?

The more time I spend on this HELP site looking for answers, the clearer it becomes that this is a problem for DEVELOPERS to solve because none of the USERS can figure out the answers. So, BEFORE you tell me ANYTHING, SHOW ME THE MOZILLA FEATURE THAT SOLVES BOOKMARKS MANAGEMENT THOROUGHLY AND SIMPLY, because, so far, that clearly does not exist.

Asked by Bob Who 13 amahora adlule

Last reply by James 10 amahora adlule

when I full screen video, it minimizes the app.

So the problem is most prevalent on YouTube but other sites as well. I'll click full screen on a video and it'll look like it's going to maximize the video but then it b… (funda kabanzi)

So the problem is most prevalent on YouTube but other sites as well. I'll click full screen on a video and it'll look like it's going to maximize the video but then it boots me back to the home screen. I have to click on Firefox again and get the page pulled up again and then click full screen and it usually works. Sometimes I have to cycle through this once or twice

Asked by Francis Babik 10 amahora adlule

any chance we can talk to people 1:1? like a chat or a phone number? nothing???

var TypeScriptModule=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.ex… (funda kabanzi)

var TypeScriptModule=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=194)}([function(e,t,n){"use strict";e.exports=n(97)},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return l}));var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}function s(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}Object.create;function l(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}Object.create},,function(e,t,n){"use strict";n.d(t,"a",(function(){return q})),n.d(t,"j",(function(){return Q})),n.d(t,"d",(function(){return ue})),n.d(t,"b",(function(){return z})),n.d(t,"c",(function(){return H})),n.d(t,"g",(function(){return X.a})),n.d(t,"e",(function(){return fe.a})),n.d(t,"f",(function(){return Y.a})),n.d(t,"k",(function(){return he.a})),n.d(t,"l",(function(){return he.b})),n.d(t,"p",(function(){return he.c})),n.d(t,"K",(function(){return me.a})),n.d(t,"Q",(function(){return Le})),n.d(t,"L",(function(){return je})),n.d(t,"P",(function(){return He})),n.d(t,"V",(function(){return ze})),n.d(t,"ab",(function(){return We})),n.d(t,"r",(function(){return qe})),n.d(t,"R",(function(){return Ze})),n.d(t,"Z",(function(){return Je})),n.d(t,"F",(function(){return re})),n.d(t,"Y",(function(){return ae})),n.d(t,"cb",(function(){return ce})),n.d(t,"jb",(function(){return se})),n.d(t,"kb",(function(){return le})),n.d(t,"m",(function(){return ge})),n.d(t,"o",(function(){return ve})),n.d(t,"n",(function(){return be})),n.d(t,"h",(function(){return ye})),n.d(t,"z",(function(){return Ce})),n.d(t,"y",(function(){return _e})),n.d(t,"x",(function(){return Se})),n.d(t,"B",(function(){return ke})),n.d(t,"C",(function(){return xe})),n.d(t,"D",(function(){return we})),n.d(t,"u",(function(){return Ie})),n.d(t,"t",(function(){return Ee})),n.d(t,"s",(function(){return Oe})),n.d(t,"v",(function(){return Te})),n.d(t,"w",(function(){return De})),n.d(t,"A",(function(){return Pe})),n.d(t,"X",(function(){return Re})),n.d(t,"S",(function(){return Me})),n.d(t,"N",(function(){return Ne})),n.d(t,"gb",(function(){return et})),n.d(t,"fb",(function(){return tt})),n.d(t,"O",(function(){return nt})),n.d(t,"W",(function(){return rt})),n.d(t,"G",(function(){return Fe})),n.d(t,"H",(function(){return r})),n.d(t,"T",(function(){return ht})),n.d(t,"ib",(function(){return dt})),n.d(t,"hb",(function(){return ft})),n.d(t,"mb",(function(){return pt})),n.d(t,"lb",(function(){return mt})),n.d(t,"U",(function(){return Ct})),n.d(t,"q",(function(){return Ye.a})),n.d(t,"E",(function(){return Ye.b})),n.d(t,"I",(function(){return _t.a})),n.d(t,"J",(function(){return St.a})),n.d(t,"M",(function(){return st.a})),n.d(t,"bb",(function(){return i.a})),n.d(t,"db",(function(){return kt.b})),n.d(t,"eb",(function(){return o.b})),n.d(t,"i",(function(){return xt}));var o=n(179);function r(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=Object(o.b)(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}var i=n(180),a="cubic-bezier(.1,.9,.2,1)",s="cubic-bezier(.1,.25,.75,.9)",l=Object(i.a)({from:{opacity:0},to:{opacity:1}}),c=Object(i.a)({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),u=V(-10),d=V(-20),p=V(-40),f=V(-400),h=V(10),m=V(20),g=V(40),v=V(400),b=U(10),y=U(20),C=U(-10),_=U(-20),S=K(10),k=K(20),x=K(40),w=K(400),I=K(-10),E=K(-20),O=K(-40),T=K(-400),D=G(-10),P=G(-20),R=G(10),M=G(20),N=Object(i.a)({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),F=Object(i.a)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),B=Object(i.a)({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),L=Object(i.a)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),A=Object(i.a)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),j=Object(i.a)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),H={easeFunction1:a,easeFunction2:s,durationValue1:"0.167s",durationValue2:"0.267s",durationValue3:"0.367s",durationValue4:"0.467s"},z={slideRightIn10:W("".concat(l,",").concat(u),"0.367s",a),slideRightIn20:W("".concat(l,",").concat(d),"0.367s",a),slideRightIn40:W("".concat(l,",").concat(p),"0.367s",a),slideRightIn400:W("".concat(l,",").concat(f),"0.367s",a),slideLeftIn10:W("".concat(l,",").concat(h),"0.367s",a),slideLeftIn20:W("".concat(l,",").concat(m),"0.367s",a),slideLeftIn40:W("".concat(l,",").concat(g),"0.367s",a),slideLeftIn400:W("".concat(l,",").concat(v),"0.367s",a),slideUpIn10:W("".concat(l,",").concat(b),"0.367s",a),slideUpIn20:W("".concat(l,",").concat(y),"0.367s",a),slideDownIn10:W("".concat(l,",").concat(C),"0.367s",a),slideDownIn20:W("".concat(l,",").concat(_),"0.367s",a),slideRightOut10:W("".concat(c,",").concat(S),"0.367s",a),slideRightOut20:W("".concat(c,",").concat(k),"0.367s",a),slideRightOut40:W("".concat(c,",").concat(x),"0.367s",a),slideRightOut400:W("".concat(c,",").concat(w),"0.367s",a),slideLeftOut10:W("".concat(c,",").concat(I),"0.367s",a),slideLeftOut20:W("".concat(c,",").concat(E),"0.367s",a),slideLeftOut40:W("".concat(c,",").concat(O),"0.367s",a),slideLeftOut400:W("".concat(c,",").concat(T),"0.367s",a),slideUpOut10:W("".concat(c,",").concat(D),"0.367s",a),slideUpOut20:W("".concat(c,",").concat(P),"0.367s",a),slideDownOut10:W("".concat(c,",").concat(R),"0.367s",a),slideDownOut20:W("".concat(c,",").concat(M),"0.367s",a),scaleUpIn100:W("".concat(l,",").concat(N),"0.367s",a),scaleDownIn100:W("".concat(l,",").concat(B),"0.367s",a),scaleUpOut103:W("".concat(c,",").concat(L),"0.167s",s),scaleDownOut98:W("".concat(c,",").concat(F),"0.167s",s),fadeIn100:W(l,"0.167s",s),fadeIn200:W(l,"0.267s",s),fadeIn400:W(l,"0.367s",s),fadeIn500:W(l,"0.467s",s),fadeOut100:W(c,"0.167s",s),fadeOut200:W(c,"0.267s",s),fadeOut400:W(c,"0.367s",s),fadeOut500:W(c,"0.467s",s),rotate90deg:W(A,"0.1s",s),rotateN90deg:W(j,"0.1s",s)};function W(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function V(e){return Object(i.a)({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function U(e){return Object(i.a)({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function K(e){return Object(i.a)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function G(e){return Object(i.a)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(e,"px,0)")}})}var q=r(z),Y=n(102),Q=r(Y.a),X=n(74),Z=n(1),$=n(8),J=n(17),ee=n(11),te=n(71),ne=Object(te.a)({}),oe=[],re="theme";function ie(){var e,t,n,o=Object($.a)();(null===(t=null==o?void 0:o.FabricConfig)||void 0===t?void 0:t.legacyTheme)?ce(o.FabricConfig.legacyTheme):J.a.getSettings([re]).theme||((null===(n=null==o?void 0:o.FabricConfig)||void 0===n?void 0:n.theme)&&(ne=Object(te.a)(o.FabricConfig.theme)),J.a.applySettings(((e={})[re]=ne,e)))}function ae(e){return void 0===e&&(e=!1),!0===e&&(ne=Object(te.a)({},e)),ne}function se(e){-1===oe.indexOf(e)&&oe.push(e)}function le(e){var t=oe.indexOf(e);-1!==t&&oe.splice(t,1)}function ce(e,t){var n;return void 0===t&&(t=!1),ne=Object(te.a)(e,t),Object(ee.b)(Object(Z.a)(Object(Z.a)(Object(Z.a)(Object(Z.a)({},ne.palette),ne.semanticColors),ne.effects),function(e){for(var t={},n=0,o=Object.keys(e.fonts);n<o.length;n++)for(var r=o[n],i=e.fonts[r],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],c=r+l.charAt(0).toUpperCase()+l.slice(1),u=i[l];"fontSize"===l&&"number"==typeof u&&(u+="px"),t[c]=u}return t}(ne))),J.a.applySettings(((n={})[re]=ne,n)),oe.forEach((function(e){try{e(ne)}catch(e){}})),ne}ie();var ue={};for(var de in X.a)X.a.hasOwnProperty(de)&&(pe(ue,de,"",!1,"color"),pe(ue,de,"Hover",!0,"color"),pe(ue,de,"Background",!1,"background"),pe(ue,de,"BackgroundHover",!0,"background"),pe(ue,de,"Border",!1,"borderColor"),pe(ue,de,"BorderHover",!0,"borderColor"));function pe(e,t,n,r,i){Object.defineProperty(e,t+n,{get:function(){var e,n=((e={})[i]=ae().palette[t],e);return Object(o.b)(r?{selectors:{":hover":n}}:n).toString()},enumerable:!0,configurable:!0})}var fe=n(75),he=n(5),me=n(70),ge="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",ve="@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)",be="@media screen and (-ms-high-contrast: white-on-black), screen and (forced-colors: active) and (prefers-color-scheme: dark)",ye="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",Ce=320,_e=480,Se=640,ke=1024,xe=1366,we=1920,Ie=_e-1,Ee=Se-1,Oe=ke-1,Te=xe-1,De=we-1,Pe=768;function Re(e,t){var n="number"==typeof e?" and (min-width: ".concat(e,"px)"):"",o="number"==typeof t?" and (max-width: ".concat(t,"px)"):"";return"@media only screen".concat(n).concat(o)}function Me(){return{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}}function Ne(){var e;return(e={})[ye]={forcedColorAdjust:"none",MsHighContrastAdjust:"none"},e}var Fe,Be=n(21);function Le(e,t,n,o,r,i,a,s){return Ae(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:o,borderColor:r,outlineColor:i,isFocusedOnly:a,borderRadius:s})}function Ae(e,t){var n,o;void 0===t&&(t={});var r=t.borderRadius,i=t.inset,a=void 0===i?0:i,s=t.width,l=void 0===s?1:s,c=t.position,u=void 0===c?"relative":c,d=t.highContrastStyle,p=t.borderColor,f=void 0===p?e.palette.white:p,h=t.outlineColor,m=void 0===h?e.palette.neutralSecondary:h,g=t.isFocusedOnly,v=void 0===g||g,b=t.pointerEvents;return{outline:"transparent",position:u,selectors:(n={"::-moz-focus-inner":{border:"0"}},n[".".concat(Be.a," &").concat(v?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:b,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(l,"px solid ").concat(f),outline:"".concat(l,"px solid ").concat(m),zIndex:Fe.FocusStyle,borderRadius:r,selectors:(o={},o[ge]=d,o)},n)}}function je(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}function He(e,t,n,o){var r;return void 0===t&&(t=0),void 0===n&&(n=1),{selectors:(r={},r[":global(".concat(Be.a,") &:focus")]={outline:"".concat(n," solid ").concat(o||e.palette.neutralSecondary),outlineOffset:"".concat(-t,"px")},r)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Fe||(Fe={}));var ze=function(e,t,n,o){var r,i,a;void 0===n&&(n="border"),void 0===o&&(o=-1);var s="borderBottom"===n;return{borderColor:e,selectors:{":after":(r={pointerEvents:"none",content:"<em>",position:"absolute",left:s?0:o,top:o,bottom:o,right:s?0:o},r[n]="2px solid ".concat(e),r.borderRadius=t,r.width="borderBottom"===n?"100%":void 0,r.selectors=(i={},i[ge]=(a={},a["border"===n?"borderColor":"borderBottomColor"]="Highlight",a),i),r)}}},We={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"};function Ve(e,t){return{borderColor:e,borderWidth:"0px",width:t,height:t}}function Ue(e){return{opacity:1,borderWidth:e}}function Ke(e,t){return{borderWidth:"0",width:t,height:t,opacity:0,borderColor:e}}function Ge(e,t){return Object(Z.a)(Object(Z.a)({},Ve(e,t)),{opacity:0})}var qe={continuousPulseAnimationDouble:function(e,t,n,o,r){return Object(i.a)({"0%":Ve(e,n),"1.42%":Ue(r),"3.57%":{opacity:1},"7.14%":Ke(t,o),"8%":Ge(e,n),"29.99%":Ge(e,n),"30%":Ve(e,n),"31.42%":Ue(r),"33.57%":{opacity:1},"37.14%":Ke(t,o),"38%":Ge(e,n),"79.42%":Ge(e,n),79.43:Ve(e,n),81.85:Ue(r),83.42:{opacity:1},"87%":Ke(t,o),"100%":{}})},continuousPulseAnimationSingle:function(e,t,n,o,r){return Object(i.a)({"0%":Ve(e,n),"14.2%":Ue(r),"35.7%":{opacity:1},"71.4%":Ke(t,o),"100%":{}})},createDefaultAnimation:function(e,t){return{animationName:e,animationIterationCount:"1",animationDuration:"14s",animationDelay:t||"2s"}}},Ye=n(16),Qe=n(23),Xe=Object(Qe.c)((function(e,t){var n=Ye.b.getInstance();return t?Object.keys(e).reduce((function(t,o){return t[o]=n.getClassName(e[o]),t}),{}):e}));function Ze(e,t,n){return Xe(e,void 0!==n?n:t.disableGlobalClassNames)}var $e=n(52);function Je(e,t,n){var o,r=e,i=n||J.a.getSettings(["theme"],void 0,e.customizations).theme;n&&(o={theme:n});var a=t&&i&&i.schemes&&i.schemes[t];return i&&a&&i!==a&&((o={theme:a}).theme.schemes=i.schemes),o&&(r={customizations:{settings:Object($e.b)(e.customizations.settings,o),scopedSettings:e.customizations.scopedSettings}}),r}var et={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},tt={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};function nt(e,t,n,o,r){void 0===t&&(t="bodyBackground"),void 0===n&&(n="horizontal"),void 0===o&&(o=ot("width",n)),void 0===r&&(r=ot("height",n));var i=e.semanticColors[t]||e.palette[t],a=function(e){if("#"===e[0])return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)};if(0===e.indexOf("rgba(")){var t=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2]}}return{r:255,g:255,b:255}}(i),s="rgba(".concat(a.r,", ").concat(a.g,", ").concat(a.b,", 0)");return{content:'""',position:"absolute",right:0,bottom:0,width:o,height:r,pointerEvents:"none",backgroundImage:"linear-gradient(".concat("vertical"===n?"to bottom":"to right",", ").concat(s," 0%, ").concat(i," 100%)")}}function ot(e,t){return"width"===e?"horizontal"===t?20:"100%":"vertical"===t?"50%":"100%"}function rt(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var it=n(73),at=n(37),st=n(103),lt=it.a.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),ct=Ye.b.getInstance();ct&&ct.onReset&&ct.onReset((function(){for(var e in lt)lt.hasOwnProperty(e)&&lt[e].subset&&(lt[e].subset.className=void 0)}));var ut=function(e){return e.toLowerCase()};function dt(e,t){var n=Object(Z.a)(Object(Z.a)({},e),{isRegistered:!1,className:void 0}),o=e.icons;for(var r in t=t?Object(Z.a)(Object(Z.a)({},lt.__options),t):lt.__options,o)if(o.hasOwnProperty(r)){var i=o[r],a=ut(r);lt[a]?bt(r):lt[a]={code:i,subset:n}}}function pt(e){for(var t=lt.__options,n=function(e){var n=ut(e);lt[n]?delete lt[n]:t.disableWarnings||Object(at.b)('The icon "'.concat(e,'" tried to unregister but was not registered.')),lt.__remapped[n]&&delete lt.__remapped[n],Object.keys(lt.__remapped).forEach((function(e){lt.__remapped[e]===n&&delete lt.__remapped[e]}))},o=0,r=e;o<r.length;o++){n(r[o])}}function ft(e,t){lt.__remapped[ut(e)]=ut(t)}function ht(e){var t=void 0,n=lt.__options;if(e=e?ut(e):"",e=lt.__remapped[e]||e)if(t=lt[e]){var r=t.subset;r&&r.fontFace&&(r.isRegistered||(Object(st.a)(r.fontFace),r.isRegistered=!0),r.className||(r.className=Object(o.b)(r.style,{fontFamily:r.fontFace.fontFamily,fontWeight:r.fontFace.fontWeight||"normal",fontStyle:r.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&Object(at.b)('The icon "'.concat(e,'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));return t}function mt(e){lt.__options=Object(Z.a)(Object(Z.a)({},lt.__options),e)}var gt=[],vt=void 0;function bt(e){var t=lt.__options;t.disableWarnings||(gt.push(e),void 0===vt&&(vt=setTimeout((function(){Object(at.b)("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+gt.slice(0,10).join(", ")+(gt.length>10?" (+ ".concat(gt.length-10," more)"):"")),vt=void 0,gt=[]}),2e3)))}var yt={display:"inline-block"};function Ct(e){var t="",n=ht(e);return n&&(t=Object(o.b)(n.subset.className,yt,{selectors:{"::before":{content:'"'.concat(n.code,'"')}}})),t}var _t=n(44),St=n(181),kt=n(182),xt="https://res.cdn.office.net/files/fabric-cdn-prod_20230524.001",wt=n(28);Object(wt.a)("@fluentui/style-utilities","8.9.16"),ie()},,function(e,t,n){"use strict";var o,r,i,a,s;n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(o||(o={})),function(e){e.Arabic="'".concat(o.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(o.Cyrillic,"'"),e.EastEuropean="'".concat(o.EastEuropean,"'"),e.Greek="'".concat(o.Greek,"'"),e.Hebrew="'".concat(o.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(o.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(o.Vietnamese,"'"),e.WestEuropean="'".concat(o.WestEuropean,"'"),e.Armenian="'".concat(o.Armenian,"'"),e.Georgian="'".concat(o.Georgian,"'")}(r||(r={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(i||(i={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(a||(a={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(s||(s={}))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(27),r=void 0;try{r=window}catch(e){}function i(e){if(Object(o.a)()&&void 0!==r){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:r}}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p}));var o=function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r="undefined"==typeof window?e:window,i=r&&r.CSPSettings&&r.CSPSettings.nonce,a=function(){var e=r.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=o(o({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=o(o({},e),{registeredThemableStyles:[]}));return r.__themeState__=e,e}(),s=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,l=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function c(e){var t=l();e();var n=l();a.perf.duration+=n-t}function u(e,t){void 0===t&&(t=!1),c((function(){var n=Array.isArray(e)?e:m(e),o=a.runState,r=o.mode,i=o.buffer,s=o.flushTimer;t||1===r?(i.push(n),s||(a.runState.flushTimer=setTimeout((function(){a.runState.flushTimer=0,c((function(){var e=a.runState.buffer.slice();a.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&d(t)}))}),0))):d(n)}))}function d(e,t){a.loadStyles?a.loadStyles(h(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),o=h(e),r=o.styleString,s=o.themable;n.setAttribute("data-load-themed-styles","true"),i&&n.setAttribute("nonce",i);n.appendChild(document.createTextNode(r)),a.perf.count++,t.appendChild(n);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:n},document.dispatchEvent(l);var c={styleElement:n,themableStyle:e};s?a.registeredThemableStyles.push(c):a.registeredStyles.push(c)}(e)}function p(e){a.theme=e,function(){if(a.theme){for(var e=[],t=0,n=a.registeredThemableStyles;t<n.length;t++){var o=n[t];e.push(o.themableStyle)}e.length>0&&(!function(e){void 0===e&&(e=3);3!==e&&2!==e||(f(a.registeredStyles),a.registeredStyles=[]);3!==e&&1!==e||(f(a.registeredThemableStyles),a.registeredThemableStyles=[])}(1),d([].concat.apply([],e)))}}()}function f(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function h(e){var t=a.theme,n=!1;return{styleString:(e||[]).map((function(e){var o=e.theme;if(o){n=!0;var r=t?t[o]:void 0,i=e.defaultValue||"inherit";return t&&!r&&console&&!(o in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'.concat(o,'". Falling back to "').concat(i,'".')),r||i}return e.rawString})).join(""),themable:n}}function m(e){var t=[];if(e){for(var n=0,o=void 0;o=s.exec(e);){var r=o.index;r>n&&t.push({rawString:e.substring(n,r)}),t.push({theme:o[1],defaultValue:o[2]}),n=s.lastIndex}t.push({rawString:e.substring(n)})}return t}}).call(this,n(101))},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(27);function r(e){if(Object(o.a)()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return l}));var o,r=n(1),i={none:0,insertNode:1,appendChild:2},a="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),s={};try{s=window||{}}catch(e){}var l=function(){function e(e,t){var n,o,a,s,l,c;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=Object(r.a)({injectionMode:"undefined"==typeof document?i.none:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(o=null==t?void 0:t.counter)&&void 0!==o?o:this._counter,this._keyToClassName=null!==(s=null!==(a=this._config.classNameCache)&&void 0!==a?a:null==t?void 0:t.keyToClassName)&&void 0!==s?s:this._keyToClassName,this._preservedRules=null!==(l=null==t?void 0:t.preservedRules)&&void 0!==l?l:this._preservedRules,this._rules=null!==(c=null==t?void 0:t.rules)&&void 0!==c?c:this._rules}return e.getInstance=function(){if(!(o=s.__stylesheet__)||o._lastStyleElement&&o._lastStyleElement.ownerDocument!==document){var t=(null==s?void 0:s.FabricConfig)||{},n=new e(t.mergeStyles,t.serializedStylesheet);o=n,s.__stylesheet__=n}return o},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=Object(r.a)(Object(r.a)({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,o){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:o}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode,o=n!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(n){case i.insertNode:var r=o.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case i.appendChild:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(e){return e()}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),a||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style"),n=null;t.setAttribute("data-merge-styles","true");var o=this._config.cspSettings;if(o&&o.nonce&&t.setAttribute("nonce",o.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var r=this._findPlaceholderStyleTag();n=r?r.nextElementSibling:e.childNodes[0]}return e.insertBefore(t,e.contains(n)?n:null),this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(1),r=n(73),i={settings:{},scopedSettings:{},inCustomizerContext:!1},a=r.a.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),s=[],l=function(){function e(){}return e.reset=function(){a.settings={},a.scopedSettings={}},e.applySettings=function(t){a.settings=Object(o.a)(Object(o.a)({},a.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){a.scopedSettings[t]=Object(o.a)(Object(o.a)({},a.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=i);for(var o={},r=t&&n.scopedSettings[t]||{},s=t&&a.scopedSettings[t]||{},l=0,c=e;l<c.length;l++){var u=c[l];o[u]=r[u]||n.settings[u]||s[u]||a.settings[u]}return o},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){s.push(e)},e.unobserve=function(e){s=s.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||s.forEach((function(e){return e()}))},e}()},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return w})),n.d(t,"d",(function(){return I})),n.d(t,"a",(function(){return E})),n.d(t,"c",(function(){return O}));var o,r=n(1),i=n(16),a={};var s={"user-select":1};function l(e,t){var n=function(){var e;if(!o){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();o=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return o}(),r=e[t];if(s[r]){var i=e[t+1];s[r]&&(n.isWebkit&&e.push("-webkit-"+r,i),n.isMoz&&e.push("-moz-"+r,i),n.isMs&&e.push("-ms-"+r,i),n.isOpera&&e.push("-o-"+r,i))}}var c,u=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function d(e,t){var n=e[t],o=e[t+1];if("number"==typeof o){var r=u.indexOf(n)>-1,i=n.indexOf("--")>-1,a=r||i?"":"px";e[t+1]="".concat(o).concat(a)}}var p="left",f="right",h=((c={})[p]=f,c[f]=p,c),m={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function g(e,t,n){if(e.rtl){var o=t[n];if(!o)return;var r=t[n+1];if("string"==typeof r&&r.indexOf("@noflip")>=0)t[n+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(o.indexOf(p)>=0)t[n]=o.replace(p,f);else if(o.indexOf(f)>=0)t[n]=o.replace(f,p);else if(String(r).indexOf(p)>=0)t[n+1]=r.replace(p,f);else if(String(r).indexOf(f)>=0)t[n+1]=r.replace(f,p);else if(h[o])t[n]=h[o];else if(m[r])t[n+1]=m[r];else switch(o){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(r);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),o=parseInt(n[t],10);return n[0]=n[0].replace(String(o),String(-1*o)),n.join(" ")}(r,0)}}}function v(e){var t=e&&e["&"];return t?t.displayName:void 0}var b=/\:global\((.+?)\)/g;function y(e,t){return e.indexOf(":global(")>=0?e.replace(b,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function C(e,t,n,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?_([o],t,n=n+"{"+e):n.indexOf(",")>-1?function(e){if(!b.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,o=null;o=n.exec(e);)o[1].indexOf(",")>-1&&t.push([o.index,o.index+o[0].length,o[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],o=t[1],r=t[2];return e.slice(0,n)+r+e.slice(o)}),e)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return _([o],t,y(n,e))})):_([o],t,y(n,e))}function _(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=i.b.getInstance(),r=t[n];r||(r={},t[n]=r,t.__order.push(n));for(var a=0,s=e;a<s.length;a++){var l=s[a];if("string"==typeof l){var c=o.argsFromClassName(l);c&&_(c,t,n)}else if(Array.isArray(l))_(l,t,n);else for(var u in l)if(l.hasOwnProperty(u)){var d=l[u];if("selectors"===u){var p=l.selectors;for(var f in p)p.hasOwnProperty(f)&&C(n,t,f,p[f])}else"object"==typeof d?null!==d&&C(n,t,u,d):void 0!==d&&("margin"===u||"padding"===u?S(r,u,d):r[u]=d)}}return t}function S(e,t,n){var o="string"==typeof n?function(e){for(var t=[],n=0,o=0,r=0;r<e.length;r++)switch(e[r]){case"(":o++;break;case")":o&&o--;break;case"\t":case" ":o||(r>n&&t.push(e.substring(n,r)),n=r+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===o.length&&o.push(n),"!important"===o[o.length-1]&&(o=o.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=o[0],e[t+"Right"]=o[1]||o[0],e[t+"Bottom"]=o[2]||o[0],e[t+"Left"]=o[3]||o[1]||o[0]}function k(e,t){for(var n=[e.rtl?"rtl":"ltr"],o=!1,r=0,i=t.__order;r<i.length;r++){var a=i[r];n.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(o=!0,n.push(l,s[l]))}return o?n.join(""):void 0}function x(e,t){return t<=0?"":1===t?e:e+x(e,t-1)}function w(e,t){if(!t)return"";var n,o,r,i=[];for(var s in t)t.hasOwnProperty(s)&&"displayName"!==s&&void 0!==t[s]&&i.push(s,t[s]);for(var c=0;c<i.length;c+=2)r=void 0,"-"!==(r=(n=i)[o=c]).charAt(0)&&(n[o]=a[r]=a[r]||r.replace(/([A-Z])/g,"-$1").toLowerCase()),d(i,c),g(e,i,c),l(i,c);for(c=1;c<i.length;c+=4)i.splice(c,1,":",i[c],";");return i.join("")}function I(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=_(t),r=k(e,o);if(r){var a=i.b.getInstance(),s={className:a.classNameFromKey(r),key:r,args:t};if(!s.className){s.className=a.getClassName(v(o));for(var l=[],c=0,u=o.__order;c<u.length;c++){var d=u[c];l.push(d,w(e,o[d]))}s.rulesToInsert=l}return s}}function E(e,t){void 0===t&&(t=1);var n=i.b.getInstance(),o=e.className,r=e.key,a=e.args,s=e.rulesToInsert;if(s){for(var l=0;l<s.length;l+=2){var c=s[l+1];if(c){var u=s[l];u=u.replace(/&/g,x(".".concat(e.className),t));var d="".concat(u,"{").concat(c,"}").concat(0===u.indexOf("@")?"}":"");n.insertRule(d)}}n.cacheClassName(o,r,a,s)}}function O(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=I.apply(void 0,Object(r.e)([e],t,!1));return o?(E(o,e.specificityMultiplier),o.className):""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var o=n(8),r="ms-Fabric--isFocusVisible";function i(e,t){e&&(e.classList.add(t?r:"ms-Fabric--isFocusHidden"),e.classList.remove(t?"ms-Fabric--isFocusHidden":r))}function a(e,t,n){var r;n?n.forEach((function(t){return i(t.current,e)})):i(null===(r=Object(o.a)(t))||void 0===r?void 0:r.document.body,e)}},function(e,t,n){"use strict";function o(e){i!==e&&(i=e)}function r(){return void 0===i&&(i="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),i}var i;function a(){return{rtl:r()}}n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),i=r()},function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return f}));var o=n(16),r=!1,i=0,a={empty:!0},s={},l="undefined"==typeof WeakMap?null:WeakMap;function c(e){l=e}function u(){i++}function d(e,t,n){var o=p(n.value&&n.value.bind(null));return{configurable:!0,get:function(){return o}}}function p(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!l)return e;if(!r){var a=o.b.getInstance();a&&a.onReset&&o.b.getInstance().onReset(u),r=!0}var s,c=0,d=i;return function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var a=s;(void 0===s||d!==i||t>0&&c>t)&&(s=m(),c=0,d=i),a=s;for(var l=0;l<o.length;l++){var u=h(o[l]);a.map.has(u)||a.map.set(u,m()),a=a.map.get(u)}return a.hasOwnProperty("value")||(a.value=e.apply(void 0,o),c++),!n||null!==a.value&&void 0!==a.value||(a.value=e.apply(void 0,o)),a.value}}function f(e){if(!l)return e;var t=new l;return function(n){if(!n||"function"!=typeof n&&"object"!=typeof n)return e(n);if(t.has(n))return t.get(n);var o=e(n);return t.set(n,o),o}}function h(e){return e?"object"==typeof e||"function"==typeof e?e:(s[e]||(s[e]={val:e}),s[e]):a}function m(){return{map:l?new l:null}}},,,,function(e,t,n){"use strict";function o(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o={},r=void 0;try{r=window}catch(e){}function i(e,t){if(void 0!==r){var n=r.__packages__=r.__packages__||{};if(!n[e]||!o[e])o[e]=t,(n[e]=n[e]||[]).push(t)}}i("@fluentui/set-version","6.0.0")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var o=n(8);function r(e){var t=null;try{var n=Object(o.a)();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}function i(e,t){var n;try{null===(n=Object(o.a)())||void 0===n||n.sessionStorage.setItem(e,t)}catch(e){}}},,,,,,,function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return r(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Activity=t.Logger=void 0;var s=i(n(69)),l=n(68),c=a(n(51)),u="Office.Ads.SDX",d=function(){function e(){}return e.prototype.sendTelemetryEvent=function(e){window.top===window?Office.sendTelemetryEvent(e):c.default.getInstance().sendTelemetryEvent(e)},e}(),p=function(){function e(){this.oTelLogger=new s.TelemetryLogger,this.oTelLogger.setTenantToken(u,"fecbb3f19c5148c3af951a3ffa91c15d-805d5cbf-7285-4b81-9002-66687a0601a4-6934"),this.oTelLogger.addSink(new d)}return e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.createActivity=function(e,t){var n={eventName:u+"."+e,eventFlags:t};return new l.Activity(this.oTelLogger.createActivity(n))},e.prototype.fillImageMetadata=function(e){this.imageMetadata=e},e.prototype.fillVideoMetadata=function(e){this.videoMetadata=e},e.prototype.logInfo=function(e,t,n){var o={eventName:u+".Info",eventFlags:{diagnosticLevel:100,dataCategories:6},dataFields:[s.makeStringDataField("Message",t,n)]};this.sendTelemetryEvent(o)},e.prototype.logWarning=function(e,t,n){var o={eventName:u+".Warning",eventFlags:{diagnosticLevel:100,dataCategories:6},dataFields:[s.makeStringDataField("Message",t,n)]};this.sendTelemetryEvent(o)},e.prototype.logError=function(e,t,n){var o={eventName:u+".Error",eventFlags:{diagnosticLevel:110,dataCategories:6},dataFields:[s.makeStringDataField("Message",t,n)]};this.sendTelemetryEvent(o)},e.prototype.logImageAction=function(e){var t=[s.makeStringDataField("Action",e,4),s.makeStringDataField("OfficeLanguage",Office.context.displayLanguage,4)];this.imageMetadata&&(t=t.concat([s.makeInt64DataField("CreativeId",Number(this.imageMetadata.creativeId),4),s.makeStringDataField("AdRequestId",this.imageMetadata.adRequestId,4),s.makeStringDataField("AuctionId",this.imageMetadata.auctionId,4),s.makeInt64DataField("Height",Number(this.imageMetadata.image.height),4),s.makeInt64DataField("Width",Number(this.imageMetadata.image.width),4)]));var n={eventName:u+".ImageAction",eventFlags:{diagnosticLevel:100,dataCategories:6},dataFields:t};this.sendTelemetryEvent(n)},e.prototype.logVideoAction=function(e){var t=[s.makeStringDataField("Action",e,4)];this.videoMetadata?t=t.concat([s.makeInt64DataField("CreativeId",Number(this.videoMetadata.creativeId),4),s.makeStringDataField("AdRequestId",this.videoMetadata.adRequestId,4),s.makeStringDataField("AuctionId",this.videoMetadata.auctionId,4),s.makeBooleanDataField("Online",!0,4)]):t.push(s.makeBooleanDataField("Online",!1,4));var n={eventName:u+".VideoAction",eventFlags:{diagnosticLevel:100,dataCategories:6},dataFields:t};this.sendTelemetryEvent(n)},e.prototype.sendTelemetryEvent=function(e){this.oTelLogger.sendTelemetryEvent(e)},e}();t.Logger=p;var f=n(68);Object.defineProperty(t,"Activity",{enumerable:!0,get:function(){return f.Activity}})},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r}));function o(e){console&&console.warn&&console.warn(e)}function r(e){e}},function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(o||(o={}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(16);function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],i=o.b.getInstance();function a(e){for(var t=0,o=e;t<o.length;t++){var s=o[t];if(s)if("string"==typeof s)if(s.indexOf(" ")>=0)a(s.split(" "));else{var l=i.argsFromClassName(s);l?a(l):-1===n.indexOf(s)&&n.push(s)}else Array.isArray(s)?a(s):"object"==typeof s&&r.push(s)}}return a(e),{classes:n,objects:r}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var o=n(1);function r(e,t,n,r,a){return void 0===a&&(a=!1),function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(i(e,t,Object(o.a)({primaryButtonBorder:"transparent",errorText:r?"#F1707B":"#a4262c",messageText:r?"#F3F2F1":"#323130",messageLink:r?"#6CB8F6":"#005A9E",messageLinkHovered:r?"#82C7FF":"#004578",infoIcon:r?"#C8C6C4":"#605e5c",errorIcon:r?"#F1707B":"#A80000",blockingIcon:r?"#442726":"#FDE7E9",warningIcon:r?"#C8C6C4":"#797775",severeWarningIcon:r?"#FCE100":"#D83B01",successIcon:r?"#92C353":"#107C10",infoBackground:r?"#323130":"#f3f2f1",errorBackground:r?"#442726":"#FDE7E9",blockingBackground:r?"#442726":"#FDE7E9",warningBackground:r?"#433519":"#FFF4CE",severeWarningBackground:r?"#4F2A0F":"#FED9CC",successBackground:r?"#393D1B":"#DFF6DD",warningHighlight:r?"#fff100":"#ffb900",successText:r?"#92c353":"#107C10"},n),r),a)}function i(e,t,n,r,i){void 0===i&&(i=!1);var a={},s=e||{},l=s.white,c=s.black,u=s.themePrimary,d=s.themeDark,p=s.themeDarker,f=s.themeDarkAlt,h=s.themeLighter,m=s.neutralLight,g=s.neutralLighter,v=s.neutralDark,b=s.neutralQuaternary,y=s.neutralQuaternaryAlt,C=s.neutralPrimary,_=s.neutralSecondary,S=s.neutralSecondaryAlt,k=s.neutralTertiary,x=s.neutralTertiaryAlt,w=s.neutralLighterAlt,I=s.accent;return l&&(a.bodyBackground=l,a.bodyFrameBackground=l,a.accentButtonText=l,a.buttonBackground=l,a.primaryButtonText=l,a.primaryButtonTextHovered=l,a.primaryButtonTextPressed=l,a.inputBackground=l,a.inputForegroundChecked=l,a.listBackground=l,a.menuBackground=l,a.cardStandoutBackground=l),c&&(a.bodyTextChecked=c,a.buttonTextCheckedHovered=c),u&&(a.link=u,a.primaryButtonBackground=u,a.inputBackgroundChecked=u,a.inputIcon=u,a.inputFocusBorderAlt=u,a.menuIcon=u,a.menuHeader=u,a.accentButtonBackground=u),d&&(a.primaryButtonBackgroundPressed=d,a.inputBackgroundCheckedHovered=d,a.inputIconHovered=d),p&&(a.linkHovered=p),f&&(a.primaryButtonBackgroundHovered=f),h&&(a.inputPlaceholderBackgroundChecked=h),m&&(a.bodyBackgroundChecked=m,a.bodyFrameDivider=m,a.bodyDivider=m,a.variantBorder=m,a.buttonBackgroundCheckedHovered=m,a.buttonBackgroundPressed=m,a.listItemBackgroundChecked=m,a.listHeaderBackgroundPressed=m,a.menuItemBackgroundPressed=m,a.menuItemBackgroundChecked=m),g&&(a.bodyBackgroundHovered=g,a.buttonBackgroundHovered=g,a.buttonBackgroundDisabled=g,a.buttonBorderDisabled=g,a.primaryButtonBackgroundDisabled=g,a.disabledBackground=g,a.listItemBackgroundHovered=g,a.listHeaderBackgroundHovered=g,a.menuItemBackgroundHovered=g),b&&(a.primaryButtonTextDisabled=b,a.disabledSubtext=b),y&&(a.listItemBackgroundCheckedHovered=y),k&&(a.disabledBodyText=k,a.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||k,a.buttonTextDisabled=k,a.inputIconDisabled=k,a.disabledText=k),C&&(a.bodyText=C,a.actionLink=C,a.buttonText=C,a.inputBorderHovered=C,a.inputText=C,a.listText=C,a.menuItemText=C),w&&(a.bodyStandoutBackground=w,a.defaultStateBackground=w),v&&(a.actionLinkHovered=v,a.buttonTextHovered=v,a.buttonTextChecked=v,a.buttonTextPressed=v,a.inputTextHovered=v,a.menuItemTextHovered=v),_&&(a.bodySubtext=_,a.focusBorder=_,a.inputBorder=_,a.smallInputBorder=_,a.inputPlaceholderText=_),S&&(a.buttonBorder=S),x&&(a.disabledBodySubtext=x,a.disabledBorder=x,a.buttonBackgroundChecked=x,a.menuDivider=x),I&&(a.accentButtonBackground=I),(null==t?void 0:t.elevation4)&&(a.cardShadow=t.elevation4),!r&&(null==t?void 0:t.elevation8)?a.cardShadowHovered=t.elevation8:a.variantBorderHovered&&(a.cardShadowHovered="0 0 1px "+a.variantBorderHovered),a=Object(o.a)(Object(o.a)({},a),n)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(1);function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},i={},a=0,s=e;a<s>0){n.subComponentStyles={};var h=n.subComponentStyles,m=function(e){if(i.hasOwnProperty(e)){var t=i[e];h[e]=function(e){return r.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var d in i)m(d)}return n}},,,,,,,function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,o&&(r=2&s[0]?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,o=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],o=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SafeFrameEventType=void 0;var a,s=n(36),l=n(79),c=i(n(77));!function(e){e.AdClick="AdClick",e.AdFailure="AdFailure",e.AdReady="AdReady",e.FeatureGateRequest="FeatureGateRequest",e.FeatureGateResponse="FeatureGateResponse",e.FrameInit="FrameInit",e.FrameInitResponse="FrameInitResponse",e.ReadyToBeShown="ReadyToBeShown",e.TelemetryEvent="TelemetryEvent"}(a=t.SafeFrameEventType||(t.SafeFrameEventType={}));var u=function(){function e(){var e,t=this;this.eventHandlers=((e={})[a.AdClick]=[],e[a.AdFailure]=[],e[a.AdReady]=[],e[a.FeatureGateRequest]=[],e[a.FeatureGateResponse]=[],e[a.FrameInit]=[],e[a.FrameInitResponse]=[],e[a.ReadyToBeShown]=[],e[a.TelemetryEvent]=[],e),window.top===window?window.addEventListener("message",(function(e){return o(t,void 0,void 0,(function(){var t,n,o,i,u;return r(this,(function(r){switch(r.label){case 0:if(console.debug("[SF] Frame message received: ",e),t=JSON.parse(e.data),!(n=null==t?void 0:t.eventType))return[3,10];switch(n){case a.AdClick:return[3,1];case a.AdFailure:return[3,2];case a.AdReady:return[3,3];case a.FeatureGateRequest:return[3,4];case a.FrameInit:return[3,6];case a.ReadyToBeShown:return[3,7];case a.TelemetryEvent:return[3,8]}return[3,9];case 1:return s.Logger.getInstance().logImageAction("NativeAdClick"),t.data.clickUrl&&"https://www.microsoft.com/microsoft-365/buy/compare-all-microsoft-365-products-b"!==t.data.clickUrl?window.open(t.data.clickUrl,"_blank"):Office.license.launchUpsellExperience("adsidepanel_ad"),[3,10];case 2:return s.Logger.getInstance().fillImageMetadata(),c.default.getInstance().sendAdFailureEvent(),[3,10];case 3:return s.Logger.getInstance().fillImageMetadata(t.data),c.default.getInstance().sendAdReadyEvent(),[3,10];case 4:return o=t.data.defaultValue,[4,(0,l.getFeatureGateValue)(t.data.featureGateName,o)];case 5:return i=r.sent(),this.sendMessage({eventType:a.FeatureGateResponse,data:{featureGateName:t.data.featureGateName,featureGateValue:i}}),[3,10];case 6:return this.sendMessage({eventType:a.FrameInitResponse,data:{locale:Office.context.displayLanguage,host:Office.context.host}}),[3,10];case 7:return c.default.getInstance().sendReadyToBeShownEvent(),[3,10];case 8:return u=t.data,s.Logger.getInstance().sendTelemetryEvent(u),[3,10];case 9:return this.eventHandlers[n]?this.eventHandlers[n].forEach((function(e){return e(t)})):console.error("[SF] Unhandled event type: ",e),[3,10];case 10:return[2]}}))}))})):window.addEventListener("message",(function(e){console.debug("[SF] Host message received: ",e);var n=JSON.parse(e.data),o=null==n?void 0:n.eventType;o&&(t.eventHandlers[o]?t.eventHandlers[o].forEach((function(e){return e(n)})):console.error("[SF] Unhandled event type: ",e))}))}return e.init=function(){e.instance||(e.instance=new e)},e.getInstance=function(){return e.instance||console.error("[SF] Comm not initialized"),e.instance},e.prototype.addEventListener=function(e,t){this.eventHandlers[e].push(t)},e.prototype.sendAdClickEvent=function(e){this.sendMessage({eventType:a.AdClick,data:e})},e.prototype.sendAdFailureEvent=function(e){this.sendMessage({eventType:a.AdFailure,data:{errorMsg:e}})},e.prototype.sendAdReadyEvent=function(e){this.sendMessage({eventType:a.AdReady,data:e})},e.prototype.sendFeatureGateRequest=function(e,t){this.sendMessage({eventType:a.FeatureGateRequest,data:{featureGateName:e,defaultValue:t}})},e.prototype.sendFrameInitEvent=function(){this.sendMessage({eventType:a.FrameInit,data:{}})},e.prototype.sendMessage=function(e){var t,n;if(window.top===window){console.debug("[SF] Sending message to frame: ",e);var o=document.getElementById("sf-rapidan");null===(t=null==o?void 0:o.contentWindow)||void 0===t||t.postMessage(JSON.stringify(e))}else console.debug("[SF] Sending message to host: ",e),null===(n=window.top)||void 0===n||n.postMessage(JSON.stringify(e),"https://fa000000131.resources.office.net")},e.prototype.sendReadyToBeShownEvent=function(){this.sendMessage({eventType:a.ReadyToBeShown,data:{}})},e.prototype.sendTelemetryEvent=function(e){this.sendMessage({eventType:a.TelemetryEvent,data:e})},e}();t.default=u},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var o=n(1);function r(e,t){return void 0===e&&(e={}),(a(t)?t:function(e){return function(t){return e?Object(o.a)(Object(o.a)({},t),e):t}}(t))(e)}function i(e,t){return void 0===e&&(e={}),(a(t)?t:function(e){void 0===e&&(e={});return function(t){var n=Object(o.a)({},t);for(var r in e)e.hasOwnProperty(r)&&(n[r]=Object(o.a)(Object(o.a)({},t[r]),e[r]));return n}}(t))(e)}function a(e){return"function"==typeof e}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(98)},function(e,t,n){"use strict";n.r(t),n.d(t,"ActivityItem",(function(){return gt})),n.d(t,"getActivityItemClassNames",(function(){return h})),n.d(t,"getActivityItemStyles",(function(){return v})),n.d(t,"Autofill",(function(){return It})),n.d(t,"Announced",(function(){return Rt})),n.d(t,"AnnouncedBase",(function(){return Pt})),n.d(t,"Breadcrumb",(function(){return nl})),n.d(t,"BreadcrumbBase",(function(){return Ys})),n.d(t,"ActionButton",(function(){return rl})),n.d(t,"BaseButton",(function(){return fs})),n.d(t,"Button",(function(){return pl})),n.d(t,"ButtonGlobalClassNames",(function(){return ls})),n.d(t,"ButtonType",(function(){return Zs})),n.d(t,"CommandBarButton",(function(){return hl})),n.d(t,"CommandButton",(function(){return ml})),n.d(t,"CompoundButton",(function(){return ul})),n.d(t,"DefaultButton",(function(){return ll})),n.d(t,"ElementType",(function(){return Xs})),n.d(t,"IconButton",(function(){return Ss})),n.d(t,"MessageBarButton",(function(){return vl})),n.d(t,"PrimaryButton",(function(){return dl})),n.d(t,"getSplitButtonClassNames",(function(){return us})),n.d(t,"ButtonGrid",(function(){return yl})),n.d(t,"ButtonGridCell",(function(){return wl})),n.d(t,"AnimationDirection",(function(){return Cl})),n.d(t,"Calendar",(function(){return Xc})),n.d(t,"DateRangeType",(function(){return xl})),n.d(t,"DayOfWeek",(function(){return _l})),n.d(t,"FirstWeekOfYear",(function(){return kl})),n.d(t,"defaultCalendarNavigationIcons",(function(){return wc})),n.d(t,"defaultCalendarStrings",(function(){return kc})),n.d(t,"defaultDayPickerStrings",(function(){return xc})),n.d(t,"Callout",(function(){return Li})),n.d(t,"CalloutContent",(function(){return ei})),n.d(t,"CalloutContentBase",(function(){return Qr})),n.d(t,"DirectionalHint",(function(){return Eo})),n.d(t,"FocusTrapCallout",(function(){return tu})),n.d(t,"Check",(function(){return iu})),n.d(t,"CheckBase",(function(){return ou})),n.d(t,"Checkbox",(function(){return cu})),n.d(t,"CheckboxBase",(function(){return su})),n.d(t,"ChoiceGroup",(function(){return Eu})),n.d(t,"ChoiceGroupBase",(function(){return xu})),n.d(t,"ChoiceGroupOption",(function(){return yu})),n.d(t,"COACHMARK_ATTRIBUTE_NAME",(function(){return Wu})),n.d(t,"Coachmark",(function(){return Gu})),n.d(t,"CoachmarkBase",(function(){return Uu})),n.d(t,"HEX_REGEX",(function(){return od})),n.d(t,"MAX_COLOR_ALPHA",(function(){return $u})),n.d(t,"MAX_COLOR_HUE",(function(){return Yu})),n.d(t,"MAX_COLOR_RGB",(function(){return Xu})),n.d(t,"MAX_COLOR_RGBA",(function(){return Zu})),n.d(t,"MAX_COLOR_SATURATION",(function(){return qu})),n.d(t,"MAX_COLOR_VALUE",(function(){return Qu})),n.d(t,"MAX_HEX_LENGTH",(function(){return ed})),n.d(t,"MAX_RGBA_LENGTH",(function(){return nd})),n.d(t,"MIN_HEX_LENGTH",(function(){return Ju})),n.d(t,"MIN_RGBA_LENGTH",(function(){return td})),n.d(t,"RGBA_REGEX",(function(){return rd})),n.d(t,"Shade",(function(){return fd})),n.d(t,"clamp",(function(){return id})),n.d(t,"correctHSV",(function(){return Td})),n.d(t,"correctHex",(function(){return Dd})),n.d(t,"correctRGB",(function(){return Pd})),n.d(t,"cssColor",(function(){return Nd})),n.d(t,"getBackgroundShade",(function(){return Ed})),n.d(t,"getColorFromHSV",(function(){return Ld})),n.d(t,"getColorFromRGBA",(function(){return ud})),n.d(t,"getColorFromString",(function(){return Ad})),n.d(t,"getContrastRatio",(function(){return Od})),n.d(t,"getFullColorString",(function(){return jd})),n.d(t,"getShade",(function(){return Id})),n.d(t,"hsl2hsv",(function(){return Rd})),n.d(t,"hsl2rgb",(function(){return Md})),n.d(t,"hsv2hex",(function(){return Bd})),n.d(t,"hsv2hsl",(function(){return dd})),n.d(t,"hsv2rgb",(function(){return pd})),n.d(t,"isDark",(function(){return wd})),n.d(t,"isValidShade",(function(){return Sd})),n.d(t,"rgb2hex",(function(){return sd})),n.d(t,"rgb2hsv",(function(){return ad})),n.d(t,"updateA",(function(){return Hd})),n.d(t,"updateH",(function(){return zd})),n.d(t,"updateRGB",(function(){return Wd})),n.d(t,"updateSV",(function(){return Vd})),n.d(t,"updateT",(function(){return Ud})),n.d(t,"ColorPicker",(function(){return Sp})),n.d(t,"ColorPickerBase",(function(){return mp})),n.d(t,"ComboBox",(function(){return Bp})),n.d(t,"VirtualizedComboBox",(function(){return tf})),n.d(t,"CommandBar",(function(){return hf})),n.d(t,"CommandBarBase",(function(){return ff})),n.d(t,"getCommandBarStyles",(function(){return uf})),n.d(t,"getCommandButtonStyles",(function(){return df})),n.d(t,"ContextualMenu",(function(){return ss})),n.d(t,"ContextualMenuBase",(function(){return $a})),n.d(t,"ContextualMenuItem",(function(){return ea})),n.d(t,"ContextualMenuItemBase",(function(){return Ki})),n.d(t,"ContextualMenuItemType",(function(){return Oo})),n.d(t,"canAnyMenuItemsCheck",(function(){return Ya})),n.d(t,"getContextualMenuItemClassNames",(function(){return $i})),n.d(t,"getContextualMenuItemStyles",(function(){return Ji})),n.d(t,"getMenuItemStyles",(function(){return Yi})),n.d(t,"getSubmenuItems",(function(){return qa})),n.d(t,"DatePicker",(function(){return Ef})),n.d(t,"DatePickerBase",(function(){return bf})),n.d(t,"defaultDatePickerStrings",(function(){return mf})),n.d(t,"DAYS_IN_WEEK",(function(){return Il})),n.d(t,"MonthOfYear",(function(){return Sl})),n.d(t,"TimeConstants",(function(){return Tl})),n.d(t,"addDays",(function(){return Dl})),n.d(t,"addMonths",(function(){return Rl})),n.d(t,"addWeeks",(function(){return Pl})),n.d(t,"addYears",(function(){return Ml})),n.d(t,"compareDatePart",(function(){return Hl})),n.d(t,"compareDates",(function(){return jl})),n.d(t,"getDatePartHashValue",(function(){return Yl})),n.d(t,"getDateRangeArray",(function(){return zl})),n.d(t,"getEndDateOfWeek",(function(){return Gl})),n.d(t,"getMonthEnd",(function(){return Fl})),n.d(t,"getMonthStart",(function(){return Nl})),n.d(t,"getStartDateOfWeek",(function(){return Kl})),n.d(t,"getWeekNumber",(function(){return Ul})),n.d(t,"getWeekNumbersInMonth",(function(){return Vl})),n.d(t,"getYearEnd",(function(){return Ll})),n.d(t,"getYearStart",(function(){return Bl})),n.d(t,"isInDateRangeArray",(function(){return Wl})),n.d(t,"setMonth",(function(){return Al})),n.d(t,"CHECK_CELL_WIDTH",(function(){return jf})),n.d(t,"CheckboxVisibility",(function(){return xf})),n.d(t,"CollapseAllVisibility",(function(){return wf})),n.d(t,"ColumnActionsMode",(function(){return Cf})),n.d(t,"ColumnDragEndLocation",(function(){return Sf})),n.d(t,"ConstrainMode",(function(){return _f})),n.d(t,"DEFAULT_CELL_STYLE_PROPS",(function(){return Tf})),n.d(t,"DEFAULT_ROW_HEIGHTS",(function(){return Df})),n.d(t,"DetailsColumn",(function(){return Gf})),n.d(t,"DetailsColumnBase",(function(){return Vf})),n.d(t,"DetailsHeader",(function(){return ph})),n.d(t,"DetailsHeaderBase",(function(){return sh})),n.d(t,"DetailsList",(function(){return pm})),n.d(t,"DetailsListBase",(function(){return am})),n.d(t,"DetailsListLayoutMode",(function(){return kf})),n.d(t,"DetailsRow",(function(){return yh})),n.d(t,"DetailsRowBase",(function(){return vh})),n.d(t,"DetailsRowCheck",(function(){return oh})),n.d(t,"DetailsRowFields",(function(){return fh})),n.d(t,"DetailsRowGlobalClassNames",(function(){return Of})),n.d(t,"HEADER_HEIGHT",(function(){return Ff})),n.d(t,"SELECTION_CHANGE",(function(){return Zf})),n.d(t,"SelectAllVisibility",(function(){return nh})),n.d(t,"Selection",(function(){return _h})),n.d(t,"SelectionDirection",(function(){return Xf})),n.d(t,"SelectionMode",(function(){return Qf})),n.d(t,"SelectionZone",(function(){return Ch})),n.d(t,"buildColumns",(function(){return sm})),n.d(t,"getCellStyles",(function(){return Bf})),n.d(t,"getDetailsColumnStyles",(function(){return Kf})),n.d(t,"getDetailsHeaderStyles",(function(){return Lf})),n.d(t,"getDetailsListStyles",(function(){return dm})),n.d(t,"getDetailsRowCheckStyles",(function(){return Hf})),n.d(t,"getDetailsRowStyles",(function(){return Rf})),n.d(t,"Dialog",(function(){return Um})),n.d(t,"DialogBase",(function(){return Wm})),n.d(t,"DialogContent",(function(){return Am})),n.d(t,"DialogContentBase",(function(){return Bm})),n.d(t,"DialogFooter",(function(){return Mm})),n.d(t,"DialogFooterBase",(function(){return Pm})),n.d(t,"DialogType",(function(){return cm})),n.d(t,"VerticalDivider",(function(){return Sa})),n.d(t,"DocumentCard",(function(){return eg})),n.d(t,"DocumentCardActions",(function(){return rg})),n.d(t,"DocumentCardActivity",(function(){return ag})),n.d(t,"DocumentCardDetails",(function(){return ug})),n.d(t,"DocumentCardImage",(function(){return fg})),n.d(t,"DocumentCardLocation",(function(){return mg})),n.d(t,"DocumentCardLogo",(function(){return yg})),n.d(t,"DocumentCardPreview",(function(){return _g})),n.d(t,"DocumentCardStatus",(function(){return wg})),n.d(t,"DocumentCardTitle",(function(){return Eg})),n.d(t,"DocumentCardType",(function(){return Tm})),n.d(t,"DragDropHelper",(function(){return rh})),n.d(t,"Dropdown",(function(){return bv})),n.d(t,"DropdownBase",(function(){return sv})),n.d(t,"DropdownMenuItemType",(function(){return yp})),n.d(t,"BaseExtendedPeoplePicker",(function(){return Iv})),n.d(t,"BaseExtendedPicker",(function(){return wv})),n.d(t,"ExtendedPeoplePicker",(function(){return Ev})),n.d(t,"Fabric",(function(){return hi})),n.d(t,"FabricBase",(function(){return di})),n.d(t,"Facepile",(function(){return Av})),n.d(t,"FacepileBase",(function(){return Bv})),n.d(t,"OverflowButtonType",(function(){return Cv})),n.d(t,"BaseFloatingPeoplePicker",(function(){return vb})),n.d(t,"BaseFloatingPicker",(function(){return gb})),n.d(t,"FloatingPeoplePicker",(function(){return bb})),n.d(t,"SuggestionItemType",(function(){return rb})),n.d(t,"SuggestionsControl",(function(){return hb})),n.d(t,"SuggestionsCore",(function(){return ob})),n.d(t,"SuggestionsHeaderFooterItem",(function(){return fb})),n.d(t,"SuggestionsStore",(function(){return Cb})),n.d(t,"createItem",(function(){return yb})),n.d(t,"FocusTrapZone",(function(){return eu})),n.d(t,"FocusZone",(function(){return zn})),n.d(t,"FocusZoneDirection",(function(){return Ot})),n.d(t,"FocusZoneTabbableElements",(function(){return Mt})),n.d(t,"GetGroupCount",(function(){return tm})),n.d(t,"GroupFooter",(function(){return Gh})),n.d(t,"GroupHeader",(function(){return Hh})),n.d(t,"GroupShowAll",(function(){return Vh})),n.d(t,"GroupSpacer",(function(){return Mf})),n.d(t,"GroupedList",(function(){return $h})),n.d(t,"GroupedListBase",(function(){return Zh})),n.d(t,"GroupedListSection",(function(){return qh})),n.d(t,"GroupedListV2_unstable",(function(){return Pb})),n.d(t,"ExpandingCard",(function(){return jb})),n.d(t,"ExpandingCardBase",(function(){return Ab})),n.d(t,"ExpandingCardMode",(function(){return Rb})),n.d(t,"HoverCard",(function(){return qb})),n.d(t,"HoverCardBase",(function(){return Gb})),n.d(t,"HoverCardType",(function(){return Fb})),n.d(t,"OpenCardMode",(function(){return Nb})),n.d(t,"PlainCard",(function(){return Ub})),n.d(t,"PlainCardBase",(function(){return Vb})),n.d(t,"FontIcon",(function(){return We})),n.d(t,"Icon",(function(){return Ge})),n.d(t,"IconBase",(function(){return Ke})),n.d(t,"IconType",(function(){return he})),n.d(t,"ImageIcon",(function(){return Io})),n.d(t,"getFontIcon",(function(){return Ve})),n.d(t,"getIconContent",(function(){return ze})),n.d(t,"initializeIcons",(function(){return Yb.initializeIcons})),n.d(t,"Image",(function(){return Pe})),n.d(t,"ImageBase",(function(){return Te})),n.d(t,"ImageCoverStyle",(function(){return ge})),n.d(t,"ImageFit",(function(){return me})),n.d(t,"ImageLoadState",(function(){return ve})),n.d(t,"DATAKTP_ARIA_TARGET",(function(){return sa})),n.d(t,"DATAKTP_EXECUTE_TARGET",(function(){return aa})),n.d(t,"DATAKTP_TARGET",(function(){return ia})),n.d(t,"KTP_ARIA_SEPARATOR",(function(){return ca})),n.d(t,"KTP_FULL_PREFIX",(function(){return ra})),n.d(t,"KTP_LAYER_ID",(function(){return la})),n.d(t,"KTP_PREFIX",(function(){return na})),n.d(t,"KTP_SEPARATOR",(function(){return oa})),n.d(t,"Keytip",(function(){return ey})),n.d(t,"KeytipData",(function(){return ba})),n.d(t,"KeytipEvents",(function(){return Ai})),n.d(t,"KeytipLayer",(function(){return uy})),n.d(t,"KeytipLayerBase",(function(){return cy})),n.d(t,"KeytipManager",(function(){return da})),n.d(t,"buildKeytipConfigMap",(function(){return dy})),n.d(t,"constructKeytip",(function(){return py})),n.d(t,"getAriaDescribedBy",(function(){return ga})),n.d(t,"ktpTargetFromId",(function(){return ma})),n.d(t,"ktpTargetFromSequences",(function(){return ha})),n.d(t,"mergeOverflows",(function(){return fa})),n.d(t,"sequencesToID",(function(){return pa})),n.d(t,"transitionKeysAreEqual",(function(){return oy})),n.d(t,"transitionKeysContain",(function(){return ry})),n.d(t,"useKeytipRef",(function(){return fy})),n.d(t,"Label",(function(){return pu})),n.d(t,"LabelBase",(function(){return du})),n.d(t,"Layer",(function(){return Bi})),n.d(t,"LayerBase",(function(){return Ri})),n.d(t,"LayerHost",(function(){return gy})),n.d(t,"cleanupDefaultLayerHost",(function(){return Ii})),n.d(t,"createDefaultLayerHost",(function(){return wi})),n.d(t,"getLayerCount",(function(){return _i})),n.d(t,"getLayerHost",(function(){return Si})),n.d(t,"getLayerHostSelector",(function(){return Ti})),n.d(t,"getLayerStyles",(function(){return Fi})),n.d(t,"notifyHostChanged",(function(){return Ei})),n.d(t,"registerLayer",(function(){return yi})),n.d(t,"registerLayerHost",(function(){return ki})),n.d(t,"setLayerHostSelector",(function(){return Oi})),n.d(t,"unregisterLayer",(function(){return Ci})),n.d(t,"unregisterLayerHost",(function(){return xi})),n.d(t,"Link",(function(){return co})),n.d(t,"LinkBase",(function(){return so})),n.d(t,"List",(function(){return Jp})),n.d(t,"ScrollToMode",(function(){return Gp})),n.d(t,"MarqueeSelection",(function(){return wy})),n.d(t,"MessageBar",(function(){return zy})),n.d(t,"MessageBarBase",(function(){return Ny})),n.d(t,"MessageBarType",(function(){return Sy})),n.d(t,"Modal",(function(){return Om})),n.d(t,"ModalBase",(function(){return Em})),n.d(t,"Nav",(function(){return Yy})),n.d(t,"NavBase",(function(){return qy})),n.d(t,"isRelativeUrl",(function(){return Uy})),n.d(t,"OverflowSet",(function(){return cf})),n.d(t,"OverflowSetBase",(function(){return sf})),n.d(t,"Overlay",(function(){return bm})),n.d(t,"OverlayBase",(function(){return gm})),n.d(t,"Panel",(function(){return rv})),n.d(t,"PanelBase",(function(){return Lg})),n.d(t,"PanelType",(function(){return Km})),n.d(t,"Persona",(function(){return Nv})),n.d(t,"PersonaBase",(function(){return Rv})),n.d(t,"PersonaCoin",(function(){return mt})),n.d(t,"PersonaCoinBase",(function(){return dt})),n.d(t,"PersonaInitialsColor",(function(){return Be})),n.d(t,"PersonaPresence",(function(){return Fe})),n.d(t,"PersonaSize",(function(){return Ne})),n.d(t,"getPersonaInitialsColor",(function(){return st})),n.d(t,"personaPresenceSize",(function(){return He})),n.d(t,"personaSize",(function(){return Ae})),n.d(t,"presenceBoolean",(function(){return Qe})),n.d(t,"sizeBoolean",(function(){return qe})),n.d(t,"sizeToPixels",(function(){return Ye})),n.d(t,"BasePeoplePicker",(function(){return OC})),n.d(t,"BasePicker",(function(){return hC})),n.d(t,"BasePickerListBelow",(function(){return mC})),n.d(t,"CompactPeoplePicker",(function(){return FC})),n.d(t,"CompactPeoplePickerBase",(function(){return PC})),n.d(t,"ListPeoplePicker",(function(){return BC})),n.d(t,"ListPeoplePickerBase",(function(){return RC})),n.d(t,"MemberListPeoplePicker",(function(){return TC})),n.d(t,"NormalPeoplePicker",(function(){return NC})),n.d(t,"NormalPeoplePickerBase",(function(){return DC})),n.d(t,"PeoplePickerItem",(function(){return CC})),n.d(t,"PeoplePickerItemBase",(function(){return yC})),n.d(t,"PeoplePickerItemSuggestion",(function(){return wC})),n.d(t,"PeoplePickerItemSuggestionBase",(function(){return xC})),n.d(t,"SuggestionActionType",(function(){return Ky})),n.d(t,"Suggestions",(function(){return eC})),n.d(t,"SuggestionsController",(function(){return rC})),n.d(t,"SuggestionsItem",(function(){return eb})),n.d(t,"TagItem",(function(){return zC})),n.d(t,"TagItemBase",(function(){return HC})),n.d(t,"TagItemSuggestion",(function(){return GC})),n.d(t,"TagItemSuggestionBase",(function(){return KC})),n.d(t,"TagPicker",(function(){return YC})),n.d(t,"TagPickerBase",(function(){return qC})),n.d(t,"ValidationState",(function(){return oC})),n.d(t,"createGenericItem",(function(){return MC})),n.d(t,"getBasePickerStyles",(function(){return EC})),n.d(t,"getPeoplePickerItemStyles",(function(){return vC})),n.d(t,"getPeoplePickerItemSuggestionStyles",(function(){return SC})),n.d(t,"getSuggestionsItemStyles",(function(){return Xy})),n.d(t,"getSuggestionsStyles",(function(){return nC})),n.d(t,"getTagItemStyles",(function(){return AC})),n.d(t,"getTagItemSuggestionStyles",(function(){return VC})),n.d(t,"Pivot",(function(){return a_})),n.d(t,"PivotBase",(function(){return t_})),n.d(t,"PivotItem",(function(){return ZC})),n.d(t,"PivotLinkFormat",(function(){return n_})),n.d(t,"PivotLinkSize",(function(){return o_})),n.d(t,"Popup",(function(){return Ar})),n.d(t,"Position",(function(){return No})),n.d(t,"RectangleEdge",(function(){return Mo})),n.d(t,"getBoundsFromTargetWindow",(function(){return Er})),n.d(t,"getMaxHeight",(function(){return wr})),n.d(t,"getOppositeEdge",(function(){return Ir})),n.d(t,"positionCallout",(function(){return kr})),n.d(t,"positionCard",(function(){return xr})),n.d(t,"positionElement",(function(){return Sr})),n.d(t,"PositioningContainer",(function(){return Nu})),n.d(t,"useHeightOffset",(function(){return Mu})),n.d(t,"ProgressIndicator",(function(){return f_})),n.d(t,"ProgressIndicatorBase",(function(){return c_})),n.d(t,"Rating",(function(){return C_})),n.d(t,"RatingBase",(function(){return y_})),n.d(t,"RatingSize",(function(){return s_})),n.d(t,"MeasuredContext",(function(){return ws})),n.d(t,"ResizeGroup",(function(){return Ms})),n.d(t,"ResizeGroupBase",(function(){return Ps})),n.d(t,"ResizeGroupDirection",(function(){return gs})),n.d(t,"getMeasurementCache",(function(){return ks})),n.d(t,"getNextResizeGroupStateProvider",(function(){return xs})),n.d(t,"ResponsiveMode",(function(){return Ta})),n.d(t,"getInitialResponsiveMode",(function(){return La})),n.d(t,"getResponsiveMode",(function(){return Ha})),n.d(t,"initializeResponsiveMode",(function(){return Ba})),n.d(t,"setResponsiveMode",(function(){return Fa})),n.d(t,"useResponsiveMode",(function(){return za})),n.d(t,"withResponsiveMode",(function(){return Aa})),n.d(t,"ScrollablePane",(function(){return I_})),n.d(t,"ScrollablePaneBase",(function(){return w_})),n.d(t,"ScrollablePaneContext",(function(){return k_})),n.d(t,"ScrollbarVisibility",(function(){return S_})),n.d(t,"SearchBox",(function(){return M_})),n.d(t,"SearchBoxBase",(function(){return P_})),n.d(t,"SelectableOptionMenuItemType",(function(){return yp})),n.d(t,"getAllSelectedOptions",(function(){return Pp})),n.d(t,"BasePeopleSelectedItemsList",(function(){return $_})),n.d(t,"BaseSelectedItemsList",(function(){return N_})),n.d(t,"ExtendedSelectedItem",(function(){return q_})),n.d(t,"SelectedPeopleList",(function(){return J_})),n.d(t,"Separator",(function(){return nS})),n.d(t,"SeparatorBase",(function(){return tS})),n.d(t,"Shimmer",(function(){return ES})),n.d(t,"ShimmerBase",(function(){return IS})),n.d(t,"ShimmerCircle",(function(){return yS})),n.d(t,"ShimmerCircleBase",(function(){return bS})),n.d(t,"ShimmerElementType",(function(){return oS})),n.d(t,"ShimmerElementsDefaultHeights",(function(){return rS})),n.d(t,"ShimmerElementsGroup",(function(){return xS})),n.d(t,"ShimmerElementsGroupBase",(function(){return _S})),n.d(t,"ShimmerGap",(function(){return mS})),n.d(t,"ShimmerGapBase",(function(){return fS})),n.d(t,"ShimmerLine",(function(){return dS})),n.d(t,"ShimmerLineBase",(function(){return cS})),n.d(t,"ShimmeredDetailsList",(function(){return PS})),n.d(t,"ShimmeredDetailsListBase",(function(){return TS})),n.d(t,"getShimmeredDetailsListStyles",(function(){return DS})),n.d(t,"Slider",(function(){return jS})),n.d(t,"SliderBase",(function(){return BS})),n.d(t,"KeyboardSpinDirection",(function(){return LS})),n.d(t,"SpinButton",(function(){return YS})),n.d(t,"Spinner",(function(){return Bh})),n.d(t,"SpinnerBase",(function(){return Mh})),n.d(t,"SpinnerSize",(function(){return kh})),n.d(t,"SpinnerType",(function(){return xh})),n.d(t,"Stack",(function(){return dk})),n.d(t,"StackItem",(function(){return ck})),n.d(t,"Sticky",(function(){return pk})),n.d(t,"StickyPositionType",(function(){return uk})),n.d(t,"AnimationClassNames",(function(){return p.a})),n.d(t,"AnimationStyles",(function(){return p.b})),n.d(t,"AnimationVariables",(function(){return p.c})),n.d(t,"ColorClassNames",(function(){return p.d})),n.d(t,"DefaultEffects",(function(){return p.e})),n.d(t,"DefaultFontStyles",(function(){return p.f})),n.d(t,"DefaultPalette",(function(){return p.g})),n.d(t,"EdgeChromiumHighContrastSelector",(function(){return p.h})),n.d(t,"FontClassNames",(function(){return p.j})),n.d(t,"FontSizes",(function(){return p.k})),n.d(t,"FontWeights",(function(){return p.l})),n.d(t,"HighContrastSelector",(function(){return p.m})),n.d(t,"HighContrastSelectorBlack",(function(){return p.n})),n.d(t,"HighContrastSelectorWhite",(function(){return p.o})),n.d(t,"IconFontSizes",(function(){return p.p})),n.d(t,"InjectionMode",(function(){return p.q})),n.d(t,"PulsingBeaconAnimationStyles",(function(){return p.r})),n.d(t,"ScreenWidthMaxLarge",(function(){return p.s})),n.d(t,"ScreenWidthMaxMedium",(function(){return p.t})),n.d(t,"ScreenWidthMaxSmall",(function(){return p.u})),n.d(t,"ScreenWidthMaxXLarge",(function(){return p.v})),n.d(t,"ScreenWidthMaxXXLarge",(function(){return p.w})),n.d(t,"ScreenWidthMinLarge",(function(){return p.x})),n.d(t,"ScreenWidthMinMedium",(function(){return p.y})),n.d(t,"ScreenWidthMinSmall",(function(){return p.z})),n.d(t,"ScreenWidthMinUhfMobile",(function(){return p.A})),n.d(t,"ScreenWidthMinXLarge",(function(){return p.B})),n.d(t,"ScreenWidthMinXXLarge",(function(){return p.C})),n.d(t,"ScreenWidthMinXXXLarge",(function(){return p.D})),n.d(t,"Stylesheet",(function(){return p.E})),n.d(t,"ThemeSettingName",(function(){return p.F})),n.d(t,"ZIndexes",(function(){return p.G})),n.d(t,"buildClassMap",(function(){return p.H})),n.d(t,"concatStyleSets",(function(){return p.I})),n.d(t,"concatStyleSetsWithProps",(function(){return p.J})),n.d(t,"createFontStyles",(function(){return p.K})),n.d(t,"createTheme",(function(){return li.a})),n.d(t,"focusClear",(function(){return p.L})),n.d(t,"fontFace",(function(){return p.M})),n.d(t,"getEdgeChromiumNoHighContrastAdjustSelector",(function(){return p.N})),n.d(t,"getFadedOverflowStyle",(function(){return p.O})),n.d(t,"getFocusOutlineStyle",(function(){return p.P})),n.d(t,"getFocusStyle",(function(){return p.Q})),n.d(t,"getGlobalClassNames",(function(){return p.R})),n.d(t,"getHighContrastNoAdjustStyle",(function(){return p.S})),n.d(t,"getIcon",(function(){return p.T})),n.d(t,"getIconClassName",(function(){return p.U})),n.d(t,"getInputFocusStyle",(function(){return p.V})),n.d(t,"getPlaceholderStyles",(function(){return p.W})),n.d(t,"getScreenSelector",(function(){return p.X})),n.d(t,"getTheme",(function(){return p.Y})),n.d(t,"getThemedContext",(function(){return p.Z})),n.d(t,"hiddenContentStyle",(function(){return p.ab})),n.d(t,"keyframes",(function(){return p.bb})),n.d(t,"loadTheme",(function(){return p.cb})),n.d(t,"mergeStyleSets",(function(){return p.db})),n.d(t,"mergeStyles",(function(){return p.eb})),n.d(t,"noWrap",(function(){return p.fb})),n.d(t,"normalize",(function(){return p.gb})),n.d(t,"registerDefaultFontFaces",(function(){return hk.b})),n.d(t,"registerIconAlias",(function(){return p.hb})),n.d(t,"registerIcons",(function(){return p.ib})),n.d(t,"registerOnThemeChangeCallback",(function(){return p.jb})),n.d(t,"removeOnThemeChangeCallback",(function(){return p.kb})),n.d(t,"setIconOptions",(function(){return p.lb})),n.d(t,"unregisterIcons",(function(){return p.mb})),n.d(t,"ColorPickerGridCell",(function(){return yk})),n.d(t,"ColorPickerGridCellBase",(function(){return vk})),n.d(t,"SwatchColorPicker",(function(){return kk})),n.d(t,"SwatchColorPickerBase",(function(){return _k})),n.d(t,"TeachingBubble",(function(){return Fk})),n.d(t,"TeachingBubbleBase",(function(){return Nk})),n.d(t,"TeachingBubbleContent",(function(){return Pk})),n.d(t,"TeachingBubbleContentBase",(function(){return wk})),n.d(t,"Text",(function(){return Ak})),n.d(t,"TextStyles",(function(){return Lk})),n.d(t,"TextView",(function(){return Bk})),n.d(t,"DEFAULT_MASK_CHAR",(function(){return Yk})),n.d(t,"MaskedTextField",(function(){return Qk})),n.d(t,"TextField",(function(){return np})),n.d(t,"TextFieldBase",(function(){return Xd})),n.d(t,"getTextFieldStyles",(function(){return tp})),n.d(t,"BaseSlots",(function(){return Kk})),n.d(t,"FabricSlots",(function(){return Gk})),n.d(t,"SemanticColorSlots",(function(){return qk})),n.d(t,"ThemeGenerator",(function(){return Zk})),n.d(t,"themeRulesStandardCreator",(function(){return Xk})),n.d(t,"TimePicker",(function(){return rx})),n.d(t,"Toggle",(function(){return dx})),n.d(t,"ToggleBase",(function(){return cx})),n.d(t,"Tooltip",(function(){return Hs})),n.d(t,"TooltipBase",(function(){return js})),n.d(t,"TooltipDelay",(function(){return Ls})),n.d(t,"TooltipHost",(function(){return Us})),n.d(t,"TooltipHostBase",(function(){return Ws})),n.d(t,"TooltipOverflowMode",(function(){return Rs})),n.d(t,"Async",(function(){return wt})),n.d(t,"AutoScroll",(function(){return vy})),n.d(t,"BaseComponent",(function(){return So})),n.d(t,"Customizations",(function(){return y.a})),n.d(t,"Customizer",(function(){return si})),n.d(t,"CustomizerContext",(function(){return C})),n.d(t,"DATA_IS_SCROLLABLE_ATTRIBUTE",(function(){return xn})),n.d(t,"DATA_PORTAL_ATTRIBUTE",(function(){return Rn})),n.d(t,"DelayedRender",(function(){return Tt})),n.d(t,"EventGroup",(function(){return vo})),n.d(t,"FabricPerformance",(function(){return fx})),n.d(t,"FocusRects",(function(){return Jn})),n.d(t,"FocusRectsContext",(function(){return Zn})),n.d(t,"FocusRectsProvider",(function(){return ri})),n.d(t,"GlobalSettings",(function(){return hx.a})),n.d(t,"IsFocusVisibleClassName",(function(){return Gn.a})),n.d(t,"KeyCodes",(function(){return E})),n.d(t,"Rectangle",(function(){return Wo})),n.d(t,"addDirectionalKeyCode",(function(){return Un})),n.d(t,"addElementAtIndex",(function(){return Ht})),n.d(t,"allowOverscrollOnElement",(function(){return In})),n.d(t,"allowScrollOnElement",(function(){return wn})),n.d(t,"anchorProperties",(function(){return X})),n.d(t,"appendFunction",(function(){return bt})),n.d(t,"arraysEqual",(function(){return Wt})),n.d(t,"asAsync",(function(){return gx})),n.d(t,"assertNever",(function(){return vx})),n.d(t,"assign",(function(){return po})),n.d(t,"audioProperties",(function(){return G})),n.d(t,"baseElementEvents",(function(){return W})),n.d(t,"baseElementProperties",(function(){return V})),n.d(t,"buttonProperties",(function(){return Z})),n.d(t,"calculatePrecision",(function(){return Cy})),n.d(t,"canUseDOM",(function(){return xe.a})),n.d(t,"classNamesFunction",(function(){return L})),n.d(t,"colGroupProperties",(function(){return ae})),n.d(t,"colProperties",(function(){return se})),n.d(t,"composeComponentAs",(function(){return ps})),n.d(t,"composeRenderFunction",(function(){return Po})),n.d(t,"createArray",(function(){return Bt})),n.d(t,"createMemoizer",(function(){return f.a})),n.d(t,"createMergedRef",(function(){return Ut})),n.d(t,"css",(function(){return Me})),n.d(t,"customizable",(function(){return ms})),n.d(t,"disableBodyScroll",(function(){return On})),n.d(t,"divProperties",(function(){return pe})),n.d(t,"doesElementContainFocus",(function(){return un})),n.d(t,"elementContains",(function(){return Xt})),n.d(t,"elementContainsAttribute",(function(){return Qt})),n.d(t,"enableBodyScroll",(function(){return Tn})),n.d(t,"extendComponent",(function(){return yt})),n.d(t,"filteredAssign",(function(){return fo})),n.d(t,"find",(function(){return Ft})),n.d(t,"findElementRecursive",(function(){return Yt})),n.d(t,"findIndex",(function(){return Nt})),n.d(t,"findScrollableParent",(function(){return Pn})),n.d(t,"fitContentToBounds",(function(){return yy})),n.d(t,"flatten",(function(){return zt})),n.d(t,"focusAsync",(function(){return fn})),n.d(t,"focusFirstChild",(function(){return tn})),n.d(t,"formProperties",(function(){return le})),n.d(t,"format",(function(){return ec})),n.d(t,"getChildren",(function(){return Rp})),n.d(t,"getDistanceBetweenPoints",(function(){return by})),n.d(t,"getDocument",(function(){return O.a})),n.d(t,"getElementIndexPath",(function(){return mn})),n.d(t,"getFirstFocusable",(function(){return Zt})),n.d(t,"getFirstTabbable",(function(){return Jt})),n.d(t,"getFirstVisibleElementFromSelector",(function(){return Qb})),n.d(t,"getFocusableByIndexPath",(function(){return hn})),n.d(t,"getId",(function(){return bn})),n.d(t,"getInitials",(function(){return ke})),n.d(t,"getLanguage",(function(){return bx.a})),n.d(t,"getLastFocusable",(function(){return $t})),n.d(t,"getLastTabbable",(function(){return en})),n.d(t,"getNativeElementProps",(function(){return Yf})),n.d(t,"getNativeProps",(function(){return fe})),n.d(t,"getNextElement",(function(){return on})),n.d(t,"getParent",(function(){return qt})),n.d(t,"getPreviousElement",(function(){return nn})),n.d(t,"getPropsWithDefaults",(function(){return H})),n.d(t,"getRTL",(function(){return P})),n.d(t,"getRTLSafeKeyCode",(function(){return M})),n.d(t,"getRect",(function(){return Jh})),n.d(t,"getResourceUrl",(function(){return Cx})),n.d(t,"getScrollbarWidth",(function(){return Dn})),n.d(t,"getVirtualParent",(function(){return Gt})),n.d(t,"getWindow",(function(){return N.a})),n.d(t,"hasHorizontalOverflow",(function(){return Ns})),n.d(t,"hasOverflow",(function(){return Bs})),n.d(t,"hasVerticalOverflow",(function(){return Fs})),n.d(t,"hoistMethods",(function(){return Ea})),n.d(t,"hoistStatics",(function(){return Pa})),n.d(t,"htmlElementProperties",(function(){return U})),n.d(t,"iframeProperties",(function(){return ce})),n.d(t,"imageProperties",(function(){return de})),n.d(t,"imgProperties",(function(){return ue})),n.d(t,"initializeComponentRef",(function(){return Ct})),n.d(t,"initializeFocusRects",(function(){return Sx})),n.d(t,"inputProperties",(function(){return $})),n.d(t,"isControlled",(function(){return qd})),n.d(t,"isDirectionalKeyCode",(function(){return Vn})),n.d(t,"isElementFocusSubZone",(function(){return cn})),n.d(t,"isElementFocusZone",(function(){return ln})),n.d(t,"isElementTabbable",(function(){return sn})),n.d(t,"isElementVisible",(function(){return rn})),n.d(t,"isElementVisibleAndNotHidden",(function(){return an})),n.d(t,"isIE11",(function(){return vt})),n.d(t,"isIOS",(function(){return Fo})),n.d(t,"isMac",(function(){return Ro})),n.d(t,"isVirtualElement",(function(){return Kt})),n.d(t,"labelProperties",(function(){return K})),n.d(t,"liProperties",(function(){return Q})),n.d(t,"mapEnumByName",(function(){return ho})),n.d(t,"memoize",(function(){return f.b})),n.d(t,"memoizeFunction",(function(){return f.c})),n.d(t,"merge",(function(){return Ix.a})),n.d(t,"mergeAriaAttributeValues",(function(){return wo})),n.d(t,"mergeCustomizations",(function(){return ai})),n.d(t,"mergeScopedSettings",(function(){return ii.a})),n.d(t,"mergeSettings",(function(){return ii.b})),n.d(t,"modalize",(function(){return Tr})),n.d(t,"nullRender",(function(){return xo})),n.d(t,"olProperties",(function(){return Y})),n.d(t,"omit",(function(){return go})),n.d(t,"on",(function(){return Ho})),n.d(t,"optionProperties",(function(){return te})),n.d(t,"portalContainsElement",(function(){return Nn})),n.d(t,"precisionRound",(function(){return _y})),n.d(t,"raiseClick",(function(){return Ex})),n.d(t,"removeDirectionalKeyCode",(function(){return Kn})),n.d(t,"removeIndex",(function(){return At})),n.d(t,"replaceElement",(function(){return jt})),n.d(t,"resetControlledWarnings",(function(){return Kd})),n.d(t,"resetIds",(function(){return yn})),n.d(t,"resetMemoizations",(function(){return f.d})),n.d(t,"safeRequestAnimationFrame",(function(){return Og})),n.d(t,"safeSetTimeout",(function(){return Ox})),n.d(t,"selectProperties",(function(){return ee})),n.d(t,"setBaseUrl",(function(){return _x})),n.d(t,"setFocusVisibility",(function(){return Gn.b})),n.d(t,"setLanguage",(function(){return bx.b})),n.d(t,"setMemoizeWeakMap",(function(){return f.e})),n.d(t,"setPortalAttribute",(function(){return Mn})),n.d(t,"setRTL",(function(){return R})),n.d(t,"setSSR",(function(){return Tx})),n.d(t,"setVirtualParent",(function(){return mi})),n.d(t,"setWarningCallback",(function(){return bo.a})),n.d(t,"shallowCompare",(function(){return uo})),n.d(t,"shouldWrapFocus",(function(){return dn})),n.d(t,"styled",(function(){return k})),n.d(t,"tableProperties",(function(){return ne})),n.d(t,"tdProperties",(function(){return ie})),n.d(t,"textAreaProperties",(function(){return J})),n.d(t,"thProperties",(function(){return re})),n.d(t,"toMatrix",(function(){return Lt})),n.d(t,"trProperties",(function(){return oe})),n.d(t,"unhoistMethods",(function(){return Oa})),n.d(t,"useCustomizationSettings",(function(){return _})),n.d(t,"useFocusRects",(function(){return $n})),n.d(t,"values",(function(){return mo})),n.d(t,"videoProperties",(function(){return q})),n.d(t,"warn",(function(){return bo.b})),n.d(t,"warnConditionallyRequiredProps",(function(){return yo})),n.d(t,"warnControlledUsage",(function(){return Gd})),n.d(t,"warnDeprecations",(function(){return Co})),n.d(t,"warnMutuallyExclusive",(function(){return _o})),n.d(t,"withViewport",(function(){return em})),n.d(t,"WeeklyDayPicker",(function(){return Fx})),n.d(t,"defaultWeeklyDayPickerNavigationIcons",(function(){return Px})),n.d(t,"defaultWeeklyDayPickerStrings",(function(){return Dx})),n.d(t,"WindowContext",(function(){return Rr})),n.d(t,"WindowProvider",(function(){return Fr})),n.d(t,"useDocument",(function(){return Nr})),n.d(t,"useWindow",(function(){return Mr})),n.d(t,"ThemeContext",(function(){return Bx})),n.d(t,"ThemeProvider",(function(){return $x})),n.d(t,"makeStyles",(function(){return Wx})),n.d(t,"useTheme",(function(){return Lx})),n.d(t,"CommunicationColors",(function(){return Kx})),n.d(t,"DefaultSpacing",(function(){return nw.a})),n.d(t,"Depths",(function(){return ow.a})),n.d(t,"FluentTheme",(function(){return rw})),n.d(t,"LocalizedFontFamilies",(function(){return iw.d})),n.d(t,"LocalizedFontNames",(function(){return iw.e})),n.d(t,"mergeThemes",(function(){return Qx.a})),n.d(t,"MotionDurations",(function(){return Jx})),n.d(t,"MotionTimings",(function(){return ew})),n.d(t,"MotionAnimations",(function(){return tw})),n.d(t,"NeutralColors",(function(){return Gx})),n.d(t,"SharedColors",(function(){return qx}));var o={};n.r(o),n.d(o,"pickerText",(function(){return Sv})),n.d(o,"pickerInput",(function(){return kv}));var r={};n.r(r),n.d(r,"callout",(function(){return jv}));var i={};n.r(i),n.d(i,"root",(function(){return Hv})),n.d(i,"suggestionsItem",(function(){return zv})),n.d(i,"closeButton",(function(){return Wv})),n.d(i,"suggestionsItemIsSuggested",(function(){return Vv})),n.d(i,"itemButton",(function(){return Uv})),n.d(i,"actionButton",(function(){return Kv})),n.d(i,"buttonSelected",(function(){return Gv})),n.d(i,"suggestionsTitle",(function(){return qv})),n.d(i,"suggestionsContainer",(function(){return Yv})),n.d(i,"suggestionsNone",(function(){return Qv})),n.d(i,"suggestionsSpinner",(function(){return Xv})),n.d(i,"suggestionsAvailable",(function(){return Zv}));var a={};n.r(a),n.d(a,"suggestionsContainer",(function(){return tb}));var s={};n.r(s),n.d(s,"root",(function(){return ib})),n.d(s,"actionButton",(function(){return ab})),n.d(s,"buttonSelected",(function(){return sb})),n.d(s,"suggestionsTitle",(function(){return lb})),n.d(s,"suggestionsSpinner",(function(){return cb})),n.d(s,"itemButton",(function(){return ub})),n.d(s,"screenReaderOnly",(function(){return db}));var l={};n.r(l),n.d(l,"picker",(function(){return iC})),n.d(l,"pickerText",(function(){return aC})),n.d(l,"inputFocused",(function(){return sC})),n.d(l,"inputDisabled",(function(){return lC})),n.d(l,"pickerInput",(function(){return cC})),n.d(l,"pickerItems",(function(){return uC})),n.d(l,"screenReaderOnly",(function(){return dC}));var c={};n.r(c),n.d(c,"personaContainer",(function(){return F_})),n.d(c,"hover",(function(){return B_})),n.d(c,"actionButton",(function(){return L_})),n.d(c,"personaContainerIsSelected",(function(){return A_})),n.d(c,"validationError",(function(){return j_})),n.d(c,"itemContent",(function(){return H_})),n.d(c,"removeButton",(function(){return z_})),n.d(c,"expandButton",(function(){return W_})),n.d(c,"personaWrapper",(function(){return V_})),n.d(c,"personaDetails",(function(){return U_})),n.d(c,"itemContainer",(function(){return K_}));var u=n(1),d=n(0),p=n(3),f=n(23),h=Object(f.c)((function(e,t,n,o){return{root:Object(p.eb)("ms-ActivityItem",t,e.root,o&&e.isCompactRoot),pulsingBeacon:Object(p.eb)("ms-ActivityItem-pulsingBeacon",e.pulsingBeacon),personaContainer:Object(p.eb)("ms-ActivityItem-personaContainer",e.personaContainer,o&&e.isCompactPersonaContainer),activityPersona:Object(p.eb)("ms-ActivityItem-activityPersona",e.activityPersona,o&&e.isCompactPersona,!o&&n&&2===n.length&&e.doublePersona),activityTypeIcon:Object(p.eb)("ms-ActivityItem-activityTypeIcon",e.activityTypeIcon,o&&e.isCompactIcon),activityContent:Object(p.eb)("ms-ActivityItem-activityContent",e.activityContent,o&&e.isCompactContent),activityText:Object(p.eb)("ms-ActivityItem-activityText",e.activityText),commentText:Object(p.eb)("ms-ActivityItem-commentText",e.commentText),timeStamp:Object(p.eb)("ms-ActivityItem-timeStamp",e.timeStamp,o&&e.isCompactTimeStamp)}})),m=Object(f.c)((function(){return Object(p.bb)({from:{opacity:0},to:{opacity:1}})})),g=Object(f.c)((function(){return Object(p.bb)({from:{transform:"translateX(-10px)"},to:{transform:"translateX(0)"}})})),v=Object(f.c)((function(e,t,n,o,r,i){var a;void 0===e&&(e=Object(p.Y)());var s={animationName:p.r.continuousPulseAnimationSingle(o||e.palette.themePrimary,r||e.palette.themeTertiary,"4px","28px","4px"),animationIterationCount:"1",animationDuration:".8s",zIndex:1},l={animationName:g(),animationIterationCount:"1",animationDuration:".5s"},c={animationName:m(),animationIterationCount:"1",animationDuration:".5s"},u={root:[e.fonts.small,{display:"flex",justifyContent:"flex-start",alignItems:"flex-start",boxSizing:"border-box",color:e.palette.neutralSecondary},i&&n&&c],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:0},i&&n&&s],isCompactRoot:{alignItems:"center"},personaContainer:{display:"flex",flexWrap:"wrap",minWidth:"32px",width:"32px",height:"32px"},isCompactPersonaContainer:{display:"inline-flex",flexWrap:"nowrap",flexBasis:"auto",height:"16px",width:"auto",minWidth:"0",paddingRight:"6px"},activityTypeIcon:{height:"32px",fontSize:"16px",lineHeight:"16px",marginTop:"3px"},isCompactIcon:{height:"16px",minWidth:"16px",fontSize:"13px",lineHeight:"13px",color:e.palette.themePrimary,marginTop:"1px",position:"relative",display:"flex",justifyContent:"center",alignItems:"center",selectors:{".ms-Persona-imageArea":{margin:"-2px 0 0 -2px",border:"2px solid"+e.palette.white,borderRadius:"50%",selectors:(a={},a[p.m]={border:"none",margin:"0"},a)}}},activityPersona:{display:"block"},doublePersona:{selectors:{":first-child":{alignSelf:"flex-end"}}},isCompactPersona:{display:"inline-block",width:"8px",minWidth:"8px",overflow:"visible"},activityContent:[{padding:"0 8px"},i&&n&&l],activityText:{display:"inline"},isCompactContent:{flex:"1",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflowX:"hidden"},commentText:{color:e.palette.neutralPrimary},timeStamp:[e.fonts.tiny,{fontWeight:400,color:e.palette.neutralSecondary}],isCompactTimeStamp:{display:"inline-block",paddingLeft:"0.3em",fontSize:"1em"}};return Object(p.I)(u,t)})),b=n(181),y=n(17),C=d.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function _(e,t){var n,o=(n=d.useState(0)[1],function(){return n((function(e){return++e}))}),r=d.useContext(C).customizations,i=r.inCustomizerContext;return d.useEffect((function(){return i||y.a.observe(o),function(){i||y.a.unobserve(o)}}),[i]),y.a.getSettings(e,t,r)}var S=["theme","styles"];function k(e,t,n,o,r){var i=(o=o||{scope:"",fields:void 0}).scope,a=o.fields,s=void 0===a?S:a,l=d.forwardRef((function(o,r){var a=d.useRef(),l=_(s,i),c=l.styles,p=(l.dir,Object(u.d)(l,["styles","dir"])),f=n?n(o):void 0,h=a.current&&a.current.__cachedInputs__||[],m=o.styles;if(!a.current||c!==h[1]||m!==h[2]){var g=function(e){return Object(b.a)(e,t,c,m)};g.__cachedInputs__=[t,c,m],g.__noStyleOverride__=!c&&!m,a.current=g}return d.createElement(e,Object(u.a)({ref:r},p,f,o,{styles:a.current}))}));l.displayName="Styled".concat(e.displayName||e.name);var c=r?d.memo(l):l;return l.displayName&&(c.displayName=l.displayName),c}var x,w=n(16),I=n(182),E={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,colon:58,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222},O=n(14),T=n(29),D=n(22);function P(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===x){var t=Object(T.a)("isRTL");null!==t&&R(x="1"===t);var n=Object(O.a)();void 0===x&&n&&(x="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")),Object(D.b)(x))}return!!x}function R(e,t){void 0===t&&(t=!1);var n=Object(O.a)();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr"),t&&Object(T.b)("isRTL",e?"1":"0"),x=e,Object(D.b)(x)}function M(e,t){return void 0===t&&(t={}),P(t)&&(e===E.left?e=E.right:e===E.right&&(e=E.left)),e}var N=n(8),F=0,B=w.b.getInstance();B&&B.onReset&&B.onReset((function(){return F++}));function L(e){void 0===e&&(e={});var t=new Map,n=0,o=0,r=F;return function(i,a){var s;if(void 0===a&&(a={}),e.useStaticStyles&&"function"==typeof i&&i.__noStyleOverride__)return i(a);o++;var l=t,c=a.theme,u=c&&void 0!==c.rtl?c.rtl:P(),d=e.disableCaching;if(r!==F&&(r=F,t=new Map,n=0),e.disableCaching||(l=j(t,i),l=j(l,a)),!d&&l.__retval__||(l.__retval__=void 0===i?{}:Object(I.a)(["function"==typeof i?i(a):i],{rtl:!!u,specificityMultiplier:e.useStaticStyles?5:void 0}),d||n++),n>(e.cacheSize||50)){var p=Object(N.a)();(null===(s=null==p?void 0:p.FabricConfig)||void 0===s?void 0:s.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(n,"/").concat(o,".")),console.trace()),t.clear(),n=0,e.disableCaching=!0}return l.__retval__}}function A(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function j(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,o=t.__cachedInputs__;n<o.length;n++){e=A(e,o[n])}else e=A(e,t);else if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&(e=A(e,t[r]));return e}function H(e,t){for(var n=Object(u.a)({},t),o=0,r=Object.keys(e);o<r.length;o++){var i=r[o];void 0===n[i]&&(n[i]=e[i])}return n}var z=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},o=0,r=e;o<r.length;o++)for(var i=r[o],a=Array.isArray(i)?i:Object.keys(i),s=0,l=a;s<l.length;s++){var c=l[s];n[c]=1}return n},W=z(["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"]),V=z(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),U=z(V,W),K=z(U,["form"]),G=z(U,["height","loop","muted","preload","src","width"]),q=z(G,["poster"]),Y=z(U,["start"]),Q=z(U,["value"]),X=z(U,["download","href","hrefLang","media","rel","target","type"]),Z=z(U,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),$=z(Z,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),J=z(Z,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),ee=z(Z,["form","multiple","required"]),te=z(U,["selected","value"]),ne=z(U,["cellPadding","cellSpacing"]),oe=U,re=z(U,["rowSpan","scope"]),ie=z(U,["colSpan","headers","rowSpan","scope"]),ae=z(U,["span"]),se=z(U,["span"]),le=z(U,["acceptCharset","action","encType","encType","method","noValidate","target"]),ce=z(U,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ue=z(U,["alt","crossOrigin","height","src","srcSet","useMap","width"]),de=ue,pe=U;function fe(e,t,n){for(var o=Array.isArray(t),r={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!o&&t[s]||o&&t.indexOf(s)>=0||0===s.indexOf("data-")||0===s.indexOf("aria-"))||n&&-1!==(null==n?void 0:n.indexOf(s))||(r[s]=e[s])}return r}var he,me,ge,ve,be=/[\(\[\{\<][^\)\]\}\>]*[\)\]\}\>]/g,ye=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Ce=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,_e=/\s+/g,Se=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function ke(e,t,n){return e?(e=function(e){return e=(e=(e=(e=e.replace(be,"")).replace(ye,"")).replace(_e," ")).trim()}(e),Se.test(e)||!n&&Ce.test(e)?"":function(e,t){var n="",o=e.split(" ");return 2===o.length?(n+=o[0].charAt(0).toUpperCase(),n+=o[1].charAt(0).toUpperCase()):3===o.length?(n+=o[0].charAt(0).toUpperCase(),n+=o[2].charAt(0).toUpperCase()):0!==o.length&&(n+=o[0].charAt(0).toUpperCase()),t&&n.length>1?n.charAt(1)+n.charAt(0):n}(e,t)):""}!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(he||(he={})),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(me||(me={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(ge||(ge={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(ve||(ve={}));var xe=n(27),we=Object(xe.a)()?d.useLayoutEffect:d.useEffect;function Ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=d.useCallback((function(t){n.current=t;for(var o=0,r=e;o<r.length;o++){var i=r[o];"function"==typeof i?i(t):i&&(i.current=t)}}),Object(u.e)([],e,!0));return n}var Ee=L(),Oe=/\.svg$/i;var Te=d.forwardRef((function(e,t){var n=d.useRef(),o=d.useRef(),r=function(e,t){var n=e.onLoadingStateChange,o=e.onLoad,r=e.onError,i=e.src,a=d.useState(ve.notLoaded),s=a[0],l=a[1];we((function(){l(ve.notLoaded)}),[i]),d.useEffect((function(){s===ve.notLoaded&&(!!t.current&&(i&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&Oe.test(i))&&l(ve.loaded))})),d.useEffect((function(){null==n||n(s)}),[s]);var c=d.useCallback((function(e){null==o||o(e),i&&l(ve.loaded)}),[i,o]),u=d.useCallback((function(e){null==r||r(e),l(ve.error)}),[r]);return[s,c,u]}(e,o),i=r[0],a=r[1],s=r[2],l=fe(e,ue,["width","height"]),c=e.src,p=e.alt,f=e.width,h=e.height,m=e.shouldFadeIn,g=void 0===m||m,v=e.shouldStartVisible,b=e.className,y=e.imageFit,C=e.role,_=e.maximizeFrame,S=e.styles,k=e.theme,x=e.loading,w=function(e,t,n,o){var r=d.useRef(t),i=d.useRef();(void 0===i||r.current===ve.notLoaded&&t===ve.loaded)&&(i.current=function(e,t,n,o){var r=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===ve.loaded&&(r===me.cover||r===me.contain||r===me.centerContain||r===me.centerCover)&&n.current&&o.current){var s=void 0;if(s="number"==typeof i&&"number"==typeof a&&r!==me.centerContain&&r!==me.centerCover?i/a:o.current.clientWidth/o.current.clientHeight,n.current.naturalWidth/n.current.naturalHeight>s)return ge.landscape}return ge.portrait}(e,t,n,o));return r.current=t,i.current}(e,i,o,n),I=Ee(S,{theme:k,className:b,width:f,height:h,maximizeFrame:_,shouldFadeIn:g,shouldStartVisible:v,isLoaded:i===ve.loaded||i===ve.notLoaded&&e.shouldStartVisible,isLandscape:w===ge.landscape,isCenter:y===me.center,isCenterContain:y===me.centerContain,isCenterCover:y===me.centerCover,isContain:y===me.contain,isCover:y===me.cover,isNone:y===me.none,isError:i===ve.error,isNotImageFit:void 0===y});return d.createElement("div",{className:I.root,style:{width:f,height:h},ref:n},d.createElement("img",Object(u.a)({},l,{onLoad:a,onError:s,key:"fabricImage"+e.src||"",className:I.image,ref:Ie(o,t),src:c,alt:p,role:C,loading:x})))}));Te.displayName="ImageBase";var De={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"},Pe=k(Te,(function(e){var t=e.className,n=e.width,o=e.height,r=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,d=e.isCover,f=e.isCenterContain,h=e.isCenterCover,m=e.isNone,g=e.isError,v=e.isNotImageFit,b=e.theme,y=Object(p.R)(De,b),C={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},_=Object(N.a)(),S=void 0!==_&&void 0===_.navigator.msMaxTouchPoints,k=u&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[y.root,b.fonts.medium,{overflow:"hidden"},r&&[y.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&p.a.fadeIn400,(c||u||d||f||h)&&{position:"relative"},t],image:[y.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],c&&[y.imageCenter,C],u&&[y.imageContain,S&&{width:"100%",height:"100%",objectFit:"contain"},!S&&k,!S&&C],d&&[y.imageCover,S&&{width:"100%",height:"100%",objectFit:"cover"},!S&&k,!S&&C],f&&[y.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},C],h&&[y.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},C],m&&[y.imageNone,{width:"auto",height:"auto"}],v&&[!!n&&!o&&{height:"auto",width:"100%"},!n&&!!o&&{height:"100%",width:"auto"},!!n&&!!o&&{height:"100%",width:"100%"}],l&&y.imageLandscape,!l&&y.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",g&&"is-error"]}}),void 0,{scope:"Image"},!0);Pe.displayName="Image";var Re=Object(p.db)({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]});function Me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],o=0,r=e;o<r.length;o++){var i=r[o];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}var Ne,Fe,Be,Le,Ae,je,He,ze=Object(f.c)((function(e){var t=Object(p.T)(e)||{subset:{},code:void 0},n=t.code,o=t.subset;return n?{children:n,iconClassName:o.className,fontFamily:o.fontFace&&o.fontFace.fontFamily,mergeImageProps:o.mergeImageProps}:null}),void 0,!0),We=function(e){var t=e.iconName,n=e.className,o=e.style,r=void 0===o?{}:o,i=ze(t)||{},a=i.iconClassName,s=i.children,l=i.fontFamily,c=i.mergeImageProps,p=fe(e,U),f=e["aria-label"]||e.title,h=e["aria-label"]||e["aria-labelledby"]||e.title?{role:c?void 0:"img"}:{"aria-hidden":!0},m=s;return c&&"object"==typeof s&&"object"==typeof s.props&&f&&(m=d.cloneElement(s,{alt:f})),d.createElement("i",Object(u.a)({"data-icon-name":t},h,p,c?{title:void 0,"aria-label":void 0}:{},{className:Me("ms-Icon",Re.root,a,!t&&Re.placeholder,n),style:Object(u.a)({fontFamily:l},r)}),m)},Ve=Object(f.c)((function(e,t,n){return We({iconName:e,className:t,"aria-label":n})})),Ue=L({cacheSize:100}),Ke=function(e){function t(t){var n=e.call(this,t)||this;return n._onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===ve.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,o=e.styles,r=e.iconName,i=e.imageErrorAs,a=e.theme,s="string"==typeof r&&0===r.length,l=!!this.props.imageProps||this.props.iconType===he.image||this.props.iconType===he.Image,c=ze(r)||{},p=c.iconClassName,f=c.children,h=c.mergeImageProps,m=Ue(o,{theme:a,className:n,iconClassName:p,isImage:l,isPlaceholder:s}),g=l?"span":"i",v=fe(this.props,U,["aria-label"]),b=this.state.imageLoadError,y=Object(u.a)(Object(u.a)({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),C=b&&i||Pe,_=this.props["aria-label"]||this.props.ariaLabel,S=y.alt||_||this.props.title,k=!!(S||this.props["aria-labelledby"]||y["aria-label"]||y["aria-labelledby"])?{role:l||h?void 0:"img","aria-label":l||h?void 0:S}:{"aria-hidden":!0},x=f;return h&&f&&"object"==typeof f&&S&&(x=d.cloneElement(f,{alt:S})),d.createElement(g,Object(u.a)({"data-icon-name":r},k,v,h?{title:void 0,"aria-label":void 0}:{},{className:m.root}),l?d.createElement(C,Object(u.a)({},y)):t||x)},t}(d.Component),Ge=k(Ke,(function(e){var t=e.className,n=e.iconClassName,o=e.isPlaceholder,r=e.isImage,i=e.styles;return{root:[o&&Re.placeholder,Re.root,r&&Re.image,n,t,i&&i.root,i&&i.imageContainer]}}),void 0,{scope:"Icon"},!0);Ge.displayName="Icon",function(e){e[e.tiny=0]="tiny",e[e.extraExtraSmall=1]="extraExtraSmall",e[e.extraSmall=2]="extraSmall",e[e.small=3]="small",e[e.regular=4]="regular",e[e.large=5]="large",e[e.extraLarge=6]="extraLarge",e[e.size8=17]="size8",e[e.size10=9]="size10",e[e.size16=8]="size16",e[e.size24=10]="size24",e[e.size28=7]="size28",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size56=16]="size56",e[e.size72=14]="size72",e[e.size100=15]="size100",e[e.size120=18]="size120"}(Ne||(Ne={})),function(e){e[e.none=0]="none",e[e.offline=1]="offline",e[e.online=2]="online",e[e.away=3]="away",e[e.dnd=4]="dnd",e[e.blocked=5]="blocked",e[e.busy=6]="busy"}(Fe||(Fe={})),function(e){e[e.lightBlue=0]="lightBlue",e[e.blue=1]="blue",e[e.darkBlue=2]="darkBlue",e[e.teal=3]="teal",e[e.lightGreen=4]="lightGreen",e[e.green=5]="green",e[e.darkGreen=6]="darkGreen",e[e.lightPink=7]="lightPink",e[e.pink=8]="pink",e[e.magenta=9]="magenta",e[e.purple=10]="purple",e[e.black=11]="black",e[e.orange=12]="orange",e[e.red=13]="red",e[e.darkRed=14]="darkRed",e[e.transparent=15]="transparent",e[e.violet=16]="violet",e[e.lightRed=17]="lightRed",e[e.gold=18]="gold",e[e.burgundy=19]="burgundy",e[e.warmGray=20]="warmGray",e[e.coolGray=21]="coolGray",e[e.gray=22]="gray",e[e.cyan=23]="cyan",e[e.rust=24]="rust"}(Be||(Be={})),(je=Ae||(Ae={})).size8="20px",je.size10="20px",je.size16="16px",je.size24="24px",je.size28="28px",je.size32="32px",je.size40="40px",je.size48="48px",je.size56="56px",je.size72="72px",je.size100="100px",je.size120="120px",function(e){e.size6="6px",e.size8="8px",e.size12="12px",e.size16="16px",e.size20="20px",e.size28="28px",e.size32="32px",e.border="2px"}(He||(He={}));var qe=function(e){return{isSize8:e===Ne.size8,isSize10:e===Ne.size10||e===Ne.tiny,isSize16:e===Ne.size16,isSize24:e===Ne.size24||e===Ne.extraExtraSmall,isSize28:e===Ne.size28||e===Ne.extraSmall,isSize32:e===Ne.size32,isSize40:e===Ne.size40||e===Ne.small,isSize48:e===Ne.size48||e===Ne.regular,isSize56:e===Ne.size56,isSize72:e===Ne.size72||e===Ne.large,isSize100:e===Ne.size100||e===Ne.extraLarge,isSize120:e===Ne.size120}},Ye=((Le={})[Ne.tiny]=10,Le[Ne.extraExtraSmall]=24,Le[Ne.extraSmall]=28,Le[Ne.small]=40,Le[Ne.regular]=48,Le[Ne.large]=72,Le[Ne.extraLarge]=100,Le[Ne.size8]=8,Le[Ne.size10]=10,Le[Ne.size16]=16,Le[Ne.size24]=24,Le[Ne.size28]=28,Le[Ne.size32]=32,Le[Ne.size40]=40,Le[Ne.size48]=48,Le[Ne.size56]=56,Le[Ne.size72]=72,Le[Ne.size100]=100,Le[Ne.size120]=120,Le),Qe=function(e){return{isAvailable:e===Fe.online,isAway:e===Fe.away,isBlocked:e===Fe.blocked,isBusy:e===Fe.busy,isDoNotDisturb:e===Fe.dnd,isOffline:e===Fe.offline}},Xe=L({cacheSize:100}),Ze=d.forwardRef((function(e,t){var n=e.coinSize,o=e.isOutOfOffice,r=e.styles,i=e.presence,a=e.theme,s=e.presenceTitle,l=e.presenceColors,c=Ie(t,d.useRef(null)),u=qe(e.size),p=!(u.isSize8||u.isSize10||u.isSize16||u.isSize24||u.isSize28||u.isSize32)&&(!n||n>32),f=n?n/3<40?n/3+"px":"40px":"",h=n?{fontSize:n?n/6<20?n/6+"px":"20px":"",lineHeight:f}:void 0,m=n?{width:f,height:f}:void 0,g=Xe(r,{theme:a,presence:i,size:e.size,isOutOfOffice:o,presenceColors:l});return i===Fe.none?null:d.createElement("div",{role:"presentation",className:g.presence,style:m,title:s,ref:c},p&&d.createElement(Ge,{className:g.presenceIcon,iconName:$e(e.presence,e.isOutOfOffice),style:h}))}));function $e(e,t){if(e){switch(Fe[e]){case"online":return"SkypeCheck";case"away":return t?"SkypeArrow":"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?"SkypeArrow":""}return""}}Ze.displayName="PersonaPresenceBase";var Je={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function et(e){return{color:e,borderColor:e}}function tt(e,t){return{selectors:{":before":{border:"".concat(e," solid ").concat(t)}}}}function nt(e){return{height:e,width:e}}function ot(e){return{backgroundColor:e}}var rt=k(Ze,(function(e){var t,n,o,r,i,a,s=e.theme,l=e.presenceColors,c=s.semanticColors,d=s.fonts,f=Object(p.R)(Je,s),h=qe(e.size),m=Qe(e.presence),g=l&&l.available||"#6BB700",v=l&&l.away||"#FFAA44",b=l&&l.busy||"#C43148",y=l&&l.dnd||"#C50F1F",C=l&&l.offline||"#8A8886",_=l&&l.oof||"#B4009E",S=l&&l.background||c.bodyBackground,k=m.isOffline||e.isOutOfOffice&&(m.isAvailable||m.isBusy||m.isAway||m.isDoNotDisturb),x=h.isSize72||h.isSize100?"2px":"1px";return{presence:[f.presence,Object(u.a)(Object(u.a)({position:"absolute",height:He.size12,width:He.size12,borderRadius:"50%",top:"auto",right:"-2px",bottom:"-2px",border:"2px solid ".concat(S),textAlign:"center",boxSizing:"content-box",backgroundClip:"border-box"},Object(p.S)()),{selectors:(t={},t[p.m]={borderColor:"Window",backgroundColor:"WindowText"},t)}),(h.isSize8||h.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:(n={},n[p.m]={top:"9px",border:"1px solid WindowText"},n)},(h.isSize8||h.isSize10||h.isSize24||h.isSize28||h.isSize32)&&nt(He.size8),(h.isSize40||h.isSize48)&&nt(He.size12),h.isSize16&&{height:He.size6,width:He.size6,borderWidth:"1.5px"},h.isSize56&&nt(He.size16),h.isSize72&&nt(He.size20),h.isSize100&&nt(He.size28),h.isSize120&&nt(He.size32),m.isAvailable&&{backgroundColor:g,selectors:(o={},o[p.m]=ot("Highlight"),o)},m.isAway&&ot(v),m.isBlocked&&[{selectors:(r={":after":h.isSize40||h.isSize48||h.isSize72||h.isSize100?{content:'""',width:"100%",height:x,backgroundColor:b,transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0},r[p.m]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},r)}],m.isBusy&&ot(b),m.isDoNotDisturb&&ot(y),m.isOffline&&ot(C),(k||m.isBlocked)&&[{backgroundColor:S,selectors:(i={":before":{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:"".concat(x," solid ").concat(b),borderRadius:"50%",boxSizing:"border-box"}},i[p.m]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},i)}],k&&m.isAvailable&&tt(x,g),k&&m.isBusy&&tt(x,b),k&&m.isAway&&tt(x,_),k&&m.isDoNotDisturb&&tt(x,y),k&&m.isOffline&&tt(x,C),k&&m.isOffline&&e.isOutOfOffice&&tt(x,_)],presenceIcon:[f.presenceIcon,{color:S,fontSize:"6px",lineHeight:He.size12,verticalAlign:"top",selectors:(a={},a[p.m]={color:"Window"},a)},h.isSize56&&{fontSize:"8px",lineHeight:He.size16},h.isSize72&&{fontSize:d.small.fontSize,lineHeight:He.size20},h.isSize100&&{fontSize:d.medium.fontSize,lineHeight:He.size28},h.isSize120&&{fontSize:d.medium.fontSize,lineHeight:He.size32},m.isAway&&{position:"relative",left:k?void 0:"1px"},k&&m.isAvailable&&et(g),k&&m.isBusy&&et(b),k&&m.isAway&&et(_),k&&m.isDoNotDisturb&&et(y),k&&m.isOffline&&et(C),k&&m.isOffline&&e.isOutOfOffice&&et(_)]}}),void 0,{scope:"PersonaPresence"}),it=[Be.lightBlue,Be.blue,Be.darkBlue,Be.teal,Be.green,Be.darkGreen,Be.lightPink,Be.pink,Be.magenta,Be.purple,Be.orange,Be.lightRed,Be.darkRed,Be.violet,Be.gold,Be.burgundy,Be.warmGray,Be.cyan,Be.rust,Be.coolGray],at=it.length;function st(e){var t=e.primaryText,n=e.text,o=e.initialsColor;return"string"==typeof o?o:function(e){switch(e){case Be.lightBlue:return"#4F6BED";case Be.blue:return"#0078D4";case Be.darkBlue:return"#004E8C";case Be.teal:return"#038387";case Be.lightGreen:case Be.green:return"#498205";case Be.darkGreen:return"#0B6A0B";case Be.lightPink:return"#C239B3";case Be.pink:return"#E3008C";case Be.magenta:return"#881798";case Be.purple:return"#5C2E91";case Be.orange:return"#CA5010";case Be.red:return"#EE1111";case Be.lightRed:return"#D13438";case Be.darkRed:return"#A4262C";case Be.transparent:return"transparent";case Be.violet:return"#8764B8";case Be.gold:return"#986F0B";case Be.burgundy:return"#750B1C";case Be.warmGray:return"#7A7574";case Be.cyan:return"#005B70";case Be.rust:return"#8E562E";case Be.coolGray:return"#69797E";case Be.black:return"#1D1D1D";case Be.gray:return"#393939"}}(o=void 0!==o?o:function(e){var t=Be.blue;if(!e)return t;for(var n=0,o=e.length-1;o>=0;o--){var r=e.charCodeAt(o),i=o%8;n^=(r<<i>>8-i)}return t=it[n%at]}(n||t))}var lt=L({cacheSize:100}),ct=Object(f.c)((function(e,t,n,o,r,i){return Object(p.eb)(e,!i&&{backgroundColor:st({text:o,initialsColor:t,primaryText:r}),color:n})})),ut={size:Ne.size48,presence:Fe.none,imageAlt:""};var dt=d.forwardRef((function(e,t){var n=H(ut,e),o=function(e){var t=e.onPhotoLoadingStateChange,n=e.imageUrl,o=d.useState(ve.notLoaded),r=o[0],i=o[1];return d.useEffect((function(){i(ve.notLoaded)}),[n]),[r,function(e){i(e),null==t||t(e)}]}(n),r=o[0],i=o[1],a=pt(i),s=n.className,l=n.coinProps,c=n.showUnknownPersonaCoin,p=n.coinSize,f=n.styles,h=n.imageUrl,m=n.initialsColor,g=n.initialsTextColor,v=n.isOutOfOffice,b=n.onRenderCoin,y=void 0===b?a:b,C=n.onRenderPersonaCoin,_=void 0===C?y:C,S=n.onRenderInitials,k=void 0===S?ft:S,x=n.presence,w=n.presenceTitle,I=n.presenceColors,E=n.primaryText,O=n.showInitialsUntilImageLoads,T=n.text,D=n.theme,P=n.size,R=fe(n,pe),M=fe(l||{},pe),N=p?{width:p,height:p}:void 0,F=c,B={coinSize:p,isOutOfOffice:v,presence:x,presenceTitle:w,presenceColors:I,size:P,theme:D},L=lt(f,{theme:D,className:l&&l.className?l.className:s,size:P,coinSize:p,showUnknownPersonaCoin:c}),A=Boolean(r!==ve.loaded&&(O&&h||!h||r===ve.error||F));return d.createElement("div",Object(u.a)({role:"presentation"},R,{className:L.coin,ref:t}),P!==Ne.size8&&P!==Ne.size10&&P!==Ne.tiny?d.createElement("div",Object(u.a)({role:"presentation"},M,{className:L.imageArea,style:N}),A&&d.createElement("div",{className:ct(L.initials,m,g,T,E,c),style:N,"aria-hidden":"true"},k(n,ft)),!F&&_(n,a),d.createElement(rt,Object(u.a)({},B))):n.presence?d.createElement(rt,Object(u.a)({},B)):d.createElement(Ge,{iconName:"Contact",className:L.size10WithoutPresenceIcon}),n.children)}));dt.displayName="PersonaCoinBase";var pt=function(e){return function(t){var n=t.coinSize,o=t.styles,r=t.imageUrl,i=t.imageAlt,a=t.imageShouldFadeIn,s=t.imageShouldStartVisible,l=t.theme,c=t.showUnknownPersonaCoin,u=t.size,p=void 0===u?ut.size:u;if(!r)return null;var f=lt(o,{theme:l,size:p,showUnknownPersonaCoin:c}),h=n||Ye[p];return d.createElement(Pe,{className:f.image,imageFit:me.cover,src:r,width:h,height:h,alt:i,shouldFadeIn:a,shouldStartVisible:s,onLoadingStateChange:e})}},ft=function(e){var t=e.imageInitials,n=e.allowPhoneInitials,o=e.showUnknownPersonaCoin,r=e.text,i=e.primaryText,a=e.theme;if(o)return d.createElement(Ge,{iconName:"Help"});var s=P(a);return""!==(t=t||ke(r||i||"",s,n))?d.createElement("span",null,t):d.createElement(Ge,{iconName:"Contact"})},ht={coin:"ms-Persona-coin",imageArea:"ms-Persona-imageArea",image:"ms-Persona-image",initials:"ms-Persona-initials",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120"},mt=k(dt,(function(e){var t,n=e.className,o=e.theme,r=e.coinSize,i=o.palette,a=o.fonts,s=qe(e.size),l=Object(p.R)(ht,o),c=r||e.size&&Ye[e.size]||48;return{coin:[l.coin,a.medium,s.isSize8&&l.size8,s.isSize10&&l.size10,s.isSize16&&l.size16,s.isSize24&&l.size24,s.isSize28&&l.size28,s.isSize32&&l.size32,s.isSize40&&l.size40,s.isSize48&&l.size48,s.isSize56&&l.size56,s.isSize72&&l.size72,s.isSize100&&l.size100,s.isSize120&&l.size120,n],size10WithoutPresenceIcon:{fontSize:a.xSmall.fontSize,position:"absolute",top:"5px",right:"auto",left:0},imageArea:[l.imageArea,{position:"relative",textAlign:"center",flex:"0 0 auto",height:c,width:c},c<=10&&{overflow:"visible",background:"transparent",height:0,width:0}],image:[l.image,{marginRight:"10px",position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0,borderRadius:"50%",perspective:"1px"},c<=10&&{overflow:"visible",background:"transparent",height:0,width:0},c>10&&{height:c,width:c}],initials:[l.initials,{borderRadius:"50%",color:e.showUnknownPersonaCoin?"rgb(168, 0, 0)":i.white,fontSize:a.large.fontSize,fontWeight:p.l.semibold,lineHeight:48===c?46:c,height:c,selectors:(t={},t[p.m]=Object(u.a)(Object(u.a)({border:"1px solid WindowText"},Object(p.S)()),{color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"}),t.i={fontWeight:p.l.semibold},t)},e.showUnknownPersonaCoin&&{backgroundColor:"rgb(234, 234, 234)"},c<32&&{fontSize:a.xSmall.fontSize},c>=32&&c<40&&{fontSize:a.medium.fontSize},c>=40&&c<56&&{fontSize:a.mediumPlus.fontSize},c>=56&&c<72&&{fontSize:a.xLarge.fontSize},c>=72&&c<100&&{fontSize:a.xxLarge.fontSize},c>=100&&{fontSize:a.superLarge.fontSize}]}}),void 0,{scope:"PersonaCoin"}),gt=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderIcon=function(e){return e.activityPersonas?n._onRenderPersonaArray(e):n.props.activityIcon},n._onRenderActivityDescription=function(e){var t=n._getClassNames(e),o=e.activityDescription||e.activityDescriptionText;return o?d.createElement("span",{className:t.activityText},o):null},n._onRenderComments=function(e){var t=n._getClassNames(e),o=e.comments||e.commentText;return!e.isCompact&&o?d.createElement("div",{className:t.commentText},o):null},n._onRenderTimeStamp=function(e){var t=n._getClassNames(e);return!e.isCompact&&e.timeStamp?d.createElement("div",{className:t.timeStamp},e.timeStamp):null},n._onRenderPersonaArray=function(e){var t=n._getClassNames(e),o=null,r=e.activityPersonas;if(r[0].imageUrl||r[0].imageInitials){var i=[],a=r.length>1||e.isCompact,s=e.isCompact?3:4,l=void 0;e.isCompact&&(l={display:"inline-block",width:"10px",minWidth:"10px",overflow:"visible"}),r.filter((function(e,t){return t<s})).forEach((function(e,n){i.push(d.createElement(mt,Object(u.a)({},e,{key:e.key||n,className:t.activityPersona,size:a?Ne.size16:Ne.size32,style:l})))})),o=d.createElement("div",{className:t.personaContainer},i)}return o},n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.onRenderIcon,n=void 0===t?this._onRenderIcon:t,o=e.onRenderActivityDescription,r=void 0===o?this._onRenderActivityDescription:o,i=e.onRenderComments,a=void 0===i?this._onRenderComments:i,s=e.onRenderTimeStamp,l=void 0===s?this._onRenderTimeStamp:s,c=e.animateBeaconSignal,u=e.isCompact,p=this._getClassNames(this.props);return d.createElement("div",{className:p.root,style:this.props.style},(this.props.activityPersonas||this.props.activityIcon||this.props.onRenderIcon)&&d.createElement("div",{className:p.activityTypeIcon},c&&u&&d.createElement("div",{className:p.pulsingBeacon}),n(this.props)),d.createElement("div",{className:p.activityContent},r(this.props,this._onRenderActivityDescription),a(this.props,this._onRenderComments),l(this.props,this._onRenderTimeStamp)))},t.prototype._getClassNames=function(e){return h(v(void 0,e.styles,e.animateBeaconSignal,e.beaconColorOne,e.beaconColorTwo,e.isCompact),e.className,e.activityPersonas,e.isCompact)},t}(d.Component),vt=function(){var e,t=Object(N.a)();return!!(null===(e=null==t?void 0:t.navigator)||void 0===e?void 0:e.userAgent)&&t.navigator.userAgent.indexOf("rv:11.0")>-1};function bt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];t.forEach((function(t){return t&&t.apply(e,n)}))}}function yt(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=bt(e,e[n],t[n]))}function Ct(e){yt(e,{componentDidMount:_t,componentDidUpdate:St,componentWillUnmount:kt})}function _t(){xt(this.props.componentRef,this)}function St(e){e.componentRef!==this.props.componentRef&&(xt(e.componentRef,null),xt(this.props.componentRef,this))}function kt(){xt(this.props.componentRef,null)}function xt(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var wt=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,o=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),o=setTimeout((function(){try{n._timeoutIds&&delete n._timeoutIds[o],e.apply(n._parent)}catch(e){n._logError(e)}}),t),this._timeoutIds[o]=!0),o},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,o=0,r=Object(N.a)(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});o=r.setTimeout((function(){try{n._immediateIds&&delete n._immediateIds[o],e.apply(n._parent)}catch(e){n._logError(e)}}),0),this._immediateIds[o]=!0}return o},e.prototype.clearImmediate=function(e,t){var n=Object(N.a)(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,o=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),o=setInterval((function(){try{e.apply(n._parent)}catch(e){n._logError(e)}}),t),this._intervalIds[o]=!0),o},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var o=this;if(this._isDisposed)return this._noop;var r,i,a=t||0,s=!0,l=!0,c=0,u=null;n&&"boolean"==typeof n.leading&&(s=n.leading),n&&"boolean"==typeof n.trailing&&(l=n.trailing);var d=function(t){var n=Date.now(),p=n-c,f=s?a-p:a;return p>=a&&(!t||s)?(c=n,u&&(o.clearTimeout(u),u=null),r=e.apply(o._parent,i)):null===u&&l&&(u=o.setTimeout(d,f)),r};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,n){var o=this;if(this._isDisposed){var r=function(){};return r.cancel=function(){},r.flush=function(){return null},r.pending=function(){return!1},r}var i,a,s=t||0,l=!1,c=!0,u=null,d=0,p=Date.now(),f=null;n&&"boolean"==typeof n.leading&&(l=n.leading),n&&"boolean"==typeof n.trailing&&(c=n.trailing),n&&"number"==typeof n.maxWait&&!isNaN(n.maxWait)&&(u=n.maxWait);var h=function(e){f&&(o.clearTimeout(f),f=null),p=e},m=function(t){h(t),i=e.apply(o._parent,a)},g=function(e){var t=Date.now(),n=!1;e&&(l&&t-d>=s&&(n=!0),d=t);var r=t-d,a=s-r,h=t-p,v=!1;return null!==u&&(h>=u&&f?v=!0:a=Math.min(a,u-h)),r>=s||v||n?m(t):null!==f&&e||!c||(f=o.setTimeout(g,a)),i},v=function(){return!!f},b=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)};return b.cancel=function(){v()&&h(Date.now())},b.flush=function(){return v()&&m(Date.now()),i},b.pending=v,b},e.prototype.requestAnimationFrame=function(e,t){var n=this,o=0,r=Object(N.a)(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var i=function(){try{n._animationFrameIds&&delete n._animationFrameIds[o],e.apply(n._parent)}catch(e){n._logError(e)}};o=r.requestAnimationFrame?r.requestAnimationFrame(i):r.setTimeout(i,0),this._animationFrameIds[o]=!0}return o},e.prototype.cancelAnimationFrame=function(e,t){var n=Object(N.a)(t);this._animationFrameIds&&this._animationFrameIds[e]&&(n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}(),It=function(e){function t(t){var n=e.call(this,t)||this;return n._inputElement=d.createRef(),n._autoFillEnabled=!0,n._onCompositionStart=function(e){n.setState({isComposing:!0}),n._autoFillEnabled=!1},n._onCompositionUpdate=function(){vt()&&n._updateValue(n._getCurrentInputValue(),!0)},n._onCompositionEnd=function(e){var t=n._getCurrentInputValue();n._tryEnableAutofill(t,n.value,!1,!0),n.setState({isComposing:!1}),n._async.setTimeout((function(){n._updateValue(n._getCurrentInputValue(),!1)}),0)},n._onClick=function(){n.value&&""!==n.value&&n._autoFillEnabled&&(n._autoFillEnabled=!1)},n._onKeyDown=function(e){if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case E.backspace:n._autoFillEnabled=!1;break;case E.left:case E.right:n._autoFillEnabled&&(n.setState({inputValue:n.props.suggestedDisplayValue||""}),n._autoFillEnabled=!1);break;default:n._autoFillEnabled||-1!==n.props.enableAutofillOnKeyPress.indexOf(e.which)&&(n._autoFillEnabled=!0)}},n._onInputChanged=function(e){var t=n._getCurrentInputValue(e);if(n.state.isComposing||n._tryEnableAutofill(t,n.value,e.nativeEvent.isComposing),!vt()||!n.state.isComposing){var o=e.nativeEvent.isComposing,r=void 0===o?n.state.isComposing:o;n._updateValue(t,r)}},n._onChanged=function(){},n._updateValue=function(e,t){if(e||e!==n.value){var o=n.props,r=o.onInputChange,i=o.onInputValueChange;r&&(e=(null==r?void 0:r(e,t))||""),n.setState({inputValue:e},(function(){return null==i?void 0:i(e,t)}))}},Ct(n),n._async=new wt(n),n.state={inputValue:t.defaultVisibleValue||"",isComposing:!1},n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){if(e.updateValueInWillReceiveProps){var n=e.updateValueInWillReceiveProps();if(null!==n&&n!==t.inputValue&&!t.isComposing)return Object(u.a)(Object(u.a)({},t),{inputValue:n})}return null},Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._getControlledValue()||this.state.inputValue||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t,n){var o=this.props,r=o.suggestedDisplayValue,i=o.shouldSelectFullInputValueInComponentDidUpdate,a=0;if(!o.preventValueSelection)if(this._inputElement.current&&this._inputElement.current===document.activeElement&&this._autoFillEnabled&&this.value&&r&&Et(r,this.value)){var s=!1;if(i&&(s=i()),s)this._inputElement.current.setSelectionRange(0,r.length,"backward");else{for(;a<this.value.length&&this.value[a].toLocaleLowerCase()===r[a].toLocaleLowerCase();)a++;a>0&&this._inputElement.current.setSelectionRange(a,r.length,"backward")}}else this._inputElement.current&&(null===n||this._autoFillEnabled||this.state.isComposing||this._inputElement.current.setSelectionRange(n.start,n.end,n.dir))},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=fe(this.props,$),t=Object(u.a)(Object(u.a)({},this.props.style),{fontFamily:"inherit"});return d.createElement("input",Object(u.a)({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},e,{style:t,ref:this._inputElement,value:this._getDisplayValue(),onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick?this.props.onClick:this._onClick,"data-lpignore":!0}))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},t.prototype.getSnapshotBeforeUpdate=function(){var e,t,n=this._inputElement.current;return n&&n.selectionStart!==this.value.length?{start:null!==(e=n.selectionStart)&&void 0!==e?e:n.value.length,end:null!==(t=n.selectionEnd)&&void 0!==t?t:n.value.length,dir:n.selectionDirection||"backward"}:null},t.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},t.prototype._tryEnableAutofill=function(e,t,n,o){!n&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||o)&&(this._autoFillEnabled=!0)},t.prototype._getDisplayValue=function(){return this._autoFillEnabled?function(e,t){var n=e;t&&e&&Et(t,n)&&(n=t);return n}(this.value,this.props.suggestedDisplayValue):this.value},t.prototype._getControlledValue=function(){var e=this.props.value;return void 0===e||"string"==typeof e?e:(console.warn("props.value of Autofill should be a string, but it is ".concat(e," with type of ").concat(typeof e)),e.toString())},t.defaultProps={enableAutofillOnKeyPress:[E.down,E.up]},t}(d.Component);function Et(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var Ot,Tt=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:void 0===Object(N.a)()},n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout((function(){e.setState({isRendered:!0})}),t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?d.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(d.Component),Dt=L(),Pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.message,n=e.styles,o=e.as,r=void 0===o?"div":o,i=e.className,a=Dt(n,{className:i});return d.createElement(r,Object(u.a)({role:"status",className:a.root},fe(this.props,pe,["className"])),d.createElement(Tt,null,d.createElement("div",{className:a.screenReaderText},t)))},t.defaultProps={"aria-live":"polite"},t}(d.Component),Rt=k(Pt,(function(e){return{root:e.className,screenReaderText:p.ab}})),Mt={none:0,all:1,inputOnly:2};function Nt(e,t,n){void 0===n&&(n=0);for(var o=-1,r=n;e&&r<e.length;r++)if(t(e[r],r)){o=r;break}return o}function Ft(e,t){var n=Nt(e,t);if(!(n<0))return e[n]}function Bt(e,t){for(var n=[],o=0;o<e;o++)n.push(t(o));return n}function Lt(e,t){return e.reduce((function(e,n,o){return o%t==0?e.push([n]):e[e.length-1].push(n),e}),[])}function At(e,t){return e.filter((function(e,n){return t!==n}))}function jt(e,t,n){var o=e.slice();return o[n]=t,o}function Ht(e,t,n){var o=e.slice();return o.splice(t,0,n),o}function zt(e){var t=[];return e.forEach((function(e){return t=t.concat(e)})),t}function Wt(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(Ot||(Ot={}));var Vt=function(e){return function(t){for(var n=0,o=e.refs;n<o.length;n++){var r=o[n];"function"==typeof r?r(t):r&&(r.current=t)}}},Ut=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolver&&Wt(t.refs,e)||(t.resolver=Vt(t)),t.refs=e,t.resolver}};function Kt(e){return e&&!!e._virtual}function Gt(e){var t;return e&&Kt(e)&&(t=e._virtual.parent),t}function qt(e,t){return void 0===t&&(t=!0),e&&(t&&Gt(e)||e.parentNode&&e.parentNode)}function Yt(e,t){return e&&e!==document.body?t(e)?e:Yt(qt(e),t):null}function Qt(e,t){var n=Yt(e,(function(e){return e.hasAttribute(t)}));return n&&n.getAttribute(t)}function Xt(e,t,n){void 0===n&&(n=!0);var o=!1;if(e&&t)if(n)if(e===t)o=!0;else for(o=!1;t;){var r=qt(t);if(r===e){o=!0;break}t=r}else e.contains&&(o=e.contains(t));return o}function Zt(e,t,n){return on(e,t,!0,!1,!1,n)}function $t(e,t,n){return nn(e,t,!0,!1,!0,n)}function Jt(e,t,n,o){return void 0===o&&(o=!0),on(e,t,o,!1,!1,n,!1,!0)}function en(e,t,n,o){return void 0===o&&(o=!0),nn(e,t,o,!1,!0,n,!1,!0)}function tn(e,t){var n=on(e,e,!0,!1,!1,!0,void 0,void 0,t);return!!n&&(fn(n),!0)}function nn(e,t,n,o,r,i,a,s){if(!t||!a&&t===e)return null;var l=rn(t);if(r&&l&&(i||!ln(t)&&!cn(t))){var c=nn(e,t.lastElementChild,!0,!0,!0,i,a,s);if(c){if(s&&sn(c,!0)||!s)return c;var u=nn(e,c.previousElementSibling,!0,!0,!0,i,a,s);if(u)return u;for(var d=c.parentElement;d&&d!==t;){var p=nn(e,d.previousElementSibling,!0,!0,!0,i,a,s);if(p)return p;d=d.parentElement}}}if(n&&l&&sn(t,s))return t;var f=nn(e,t.previousElementSibling,!0,!0,!0,i,a,s);return f||(o?null:nn(e,t.parentElement,!0,!1,!1,i,a,s))}function on(e,t,n,o,r,i,a,s,l){if(!t||t===e&&r&&!a)return null;var c=(l?an:rn)(t);if(n&&c&&sn(t,s))return t;if(!r&&c&&(i||!ln(t)&&!cn(t))){var u=on(e,t.firstElementChild,!0,!0,!1,i,a,s,l);if(u)return u}if(t===e)return null;var d=on(e,t.nextElementSibling,!0,!0,!1,i,a,s,l);return d||(o?null:on(e,t.parentElement,!1,!1,!0,i,a,s,l))}function rn(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function an(e){return!!e&&rn(e)&&!e.hidden&&"hidden"!==window.getComputedStyle(e).visibility}function sn(e,t){if(!e||e.disabled)return!1;var n=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(n=parseInt(o,10));var r=e.getAttribute?e.getAttribute("data-is-focusable"):null,i=null!==o&&n>=0,a=!!e&&"false"!==r&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===r||i);return t?-1!==n&&a:a}function ln(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function cn(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function un(e){var t=Object(O.a)(e),n=t&&t.activeElement;return!(!n||!Xt(e,n))}function dn(e,t){return"true"!==Qt(e,t)}var pn=void 0;function fn(e){if(e){if(pn)return void(pn=e);pn=e;var t=Object(N.a)(e);t&&t.requestAnimationFrame((function(){pn&&pn.focus(),pn=void 0}))}}function hn(e,t){for(var n=e,o=0,r=t;o<r.length;o++){var i=r[o],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return n=sn(n)&&rn(n)?n:on(e,n,!0)||nn(e,n)}function mn(e,t){for(var n=[];t&&e&&t!==e;){var o=qt(t,!0);if(null===o)return[];n.unshift(Array.prototype.indexOf.call(o.children,t)),t=o}return n}var gn=Object(N.a)()||{};void 0===gn.__currentId__&&(gn.__currentId__=0);var vn=!1;function bn(e){if(!vn){var t=w.b.getInstance();t&&t.onReset&&t.onReset(yn),vn=!0}return(void 0===e?"id__":e)+gn.__currentId__++}function yn(e){void 0===e&&(e=0),gn.__currentId__=e}var Cn,_n=n(179),Sn=0,kn=Object(_n.b)({overflow:"hidden !important"}),xn="data-is-scrollable",wn=function(e,t){if(e){var n=0,o=null;t.on(e,"touchstart",(function(e){1===e.targetTouches.length&&(n=e.targetTouches[0].clientY)}),{passive:!1}),t.on(e,"touchmove",(function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),o)){var t=e.targetTouches[0].clientY-n,r=Pn(e.target);r&&(o=r),0===o.scrollTop&&t>0&&e.preventDefault(),o.scrollHeight-Math.ceil(o.scrollTop)<=o.clientHeight&&t<0&&e.preventDefault()}}),{passive:!1}),o=e}},In=function(e,t){if(e){t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})}},En=function(e){e.preventDefault()};function On(){var e=Object(O.a)();e&&e.body&&!Sn&&(e.body.classList.add(kn),e.body.addEventListener("touchmove",En,{passive:!1,capture:!1})),Sn++}function Tn(){if(Sn>0){var e=Object(O.a)();e&&e.body&&1===Sn&&(e.body.classList.remove(kn),e.body.removeEventListener("touchmove",En)),Sn--}}function Dn(){if(void 0===Cn){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),Cn=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return Cn}function Pn(e){for(var t=e,n=Object(O.a)(e);t&&t!==n.body;){if("true"===t.getAttribute(xn))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(xn)){var o=getComputedStyle(t),r=o?o.getPropertyValue("overflow-y"):"";if(r&&("scroll"===r||"auto"===r))return t}t=t.parentElement}return t&&t!==n.body||(t=Object(N.a)(e)),t}var Rn="data-portal-element";function Mn(e){e.setAttribute(Rn,"true")}function Nn(e,t){var n=Yt(e,(function(e){return t===e||e.hasAttribute(Rn)}));return null!==n&&n.hasAttribute(Rn)}var Fn;function Bn(e,t){var n;"function"==typeof MouseEvent?n=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(n)}var Ln,An={},jn=new Set,Hn=["text","number","password","email","tel","url","search","textarea"],zn=function(e){function t(n){var o,r,i,a,s=this;(s=e.call(this,n)||this)._root=d.createRef(),s._mergedRef=Ut(),s._onFocus=function(e){if(!s._portalContainsElement(e.target)){var t,n=s.props,o=n.onActiveElementChanged,r=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,l=n.onFocus,c=n.shouldFocusInnerElementWhenReceivedFocus,u=n.defaultTabbableElement,d=s._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var p=e.target;p&&p!==s._root.current;){if(sn(p)&&s._isImmediateDescendantOfZone(p)){t=p;break}p=qt(p,!1)}if(c&&e.target===s._root.current){var f=u&&"function"==typeof u&&s._root.current&&u(s._root.current);f&&sn(f)?(t=f,f.focus()):(s.focus(!0),s._activeElement&&(t=null))}var h=!s._activeElement;t&&t!==s._activeElement&&((d||h)&&s._setFocusAlignment(t,!0,!0),s._activeElement=t,h&&s._updateTabIndexes()),o&&o(s._activeElement,e),(i||r)&&e.stopPropagation(),l?l(e):a&&a()}},s._onBlur=function(){s._setParkedFocus(!1)},s._onMouseDown=function(e){if(!s._portalContainsElement(e.target)&&!s.props.disabled){for(var t=e.target,n=[];t&&t!==s._root.current;)n.push(t),t=qt(t,!1);for(;n.length&&((t=n.pop())&&sn(t)&&s._setActiveElement(t,!0),!ln(t)););}},s._onKeyDown=function(e,t){if(!s._portalContainsElement(e.target)){var n=s.props,o=n.direction,r=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,l=n.shouldEnterInnerZone;if(!(r||(s.props.onKeyDown&&s.props.onKeyDown(e),e.isDefaultPrevented()||s._getDocument().activeElement===s._root.current&&s._isInnerZone))){if((l&&l(e)||i&&i(e))&&s._isImmediateDescendantOfZone(e.target)){var c=s._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!cn(e.target))return;if(!s.focusElement(on(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case E.space:if(s._shouldRaiseClicksOnSpace&&s._tryInvokeClickForFocusable(e.target,e))break;return;case E.left:if(o!==Ot.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusLeft(t)))break;return;case E.right:if(o!==Ot.vertical&&(s._preventDefaultWhenHandled(e),s._moveFocusRight(t)))break;return;case E.up:if(o!==Ot.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusUp()))break;return;case E.down:if(o!==Ot.horizontal&&(s._preventDefaultWhenHandled(e),s._moveFocusDown()))break;return;case E.pageDown:if(!a&&s._moveFocusPaging(!0))break;return;case E.pageUp:if(!a&&s._moveFocusPaging(!1))break;return;case E.tab:if(s.props.allowTabKey||s.props.handleTabKey===Mt.all||s.props.handleTabKey===Mt.inputOnly&&s._isElementInput(e.target)){var u=!1;if(s._processingTabKey=!0,o!==Ot.vertical&&s._shouldWrapFocus(s._activeElement,"data-no-horizontal-wrap"))u=(P(t)?!e.shiftKey:e.shiftKey)?s._moveFocusLeft(t):s._moveFocusRight(t);else u=e.shiftKey?s._moveFocusUp():s._moveFocusDown();if(s._processingTabKey=!1,u)break;s.props.shouldResetActiveElementWhenTabFromZone&&(s._activeElement=null)}return;case E.home:if(s._isContentEditableElement(e.target)||s._isElementInput(e.target)&&!s._shouldInputLoseFocus(e.target,!1))return!1;var d=s._root.current&&s._root.current.firstChild;if(s._root.current&&d&&s.focusElement(on(s._root.current,d,!0)))break;return;case E.end:if(s._isContentEditableElement(e.target)||s._isElementInput(e.target)&&!s._shouldInputLoseFocus(e.target,!0))return!1;var p=s._root.current&&s._root.current.lastChild;if(s._root.current&&s.focusElement(nn(s._root.current,p,!0,!0,!0)))break;return;case E.enter:if(s._shouldRaiseClicksOnEnter&&s._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},s._getHorizontalDistanceFromCenter=function(e,t,n){var o=s._focusAlignment.left||s._focusAlignment.x||0,r=Math.floor(n.top),i=Math.floor(t.bottom),a=Math.floor(n.bottom),l=Math.floor(t.top);return e&&r>i||!e&&a<l?o>=n.left&&o<=n.left+n.width?0:Math.abs(n.left+n.width/2-o):s._shouldWrapFocus(s._activeElement,"data-no-vertical-wrap")?999999999:-999999999},Ct(s),s._id=bn("FocusZone"),s._focusAlignment={left:0,top:0},s._processingTabKey=!1;var l=null===(r=null!==(o=n.shouldRaiseClicks)&&void 0!==o?o:t.defaultProps.shouldRaiseClicks)||void 0===r||r;return s._shouldRaiseClicksOnEnter=null!==(i=n.shouldRaiseClicksOnEnter)&&void 0!==i?i:l,s._shouldRaiseClicksOnSpace=null!==(a=n.shouldRaiseClicksOnSpace)&&void 0!==a?a:l,s}return Object(u.c)(t,e),t.getOuterZones=function(){return jn.size},t._onKeyDownCapture=function(e){e.which===E.tab&&jn.forEach((function(e){return e._updateTabIndexes()}))},t.prototype.componentDidMount=function(){var e=this._root.current;if(An[this._id]=this,e){for(var n=qt(e,!1);n&&n!==this._getDocument().body&&1===n.nodeType;){if(ln(n)){this._isInnerZone=!0;break}n=qt(n,!1)}this._isInnerZone||(jn.add(this),this._root.current&&this._root.current.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if((this._activeElement&&!Xt(this._root.current,this._activeElement,!1)||this._defaultFocusElement&&!Xt(this._root.current,this._defaultFocusElement,!1))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&t&&this._lastIndexPath&&(t.activeElement===t.body||null===t.activeElement||t.activeElement===e)){var n=hn(e,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete An[this._id],this._isInnerZone||(jn.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,n=t.as,o=t.elementType,r=t.rootProps,i=t.ariaDescribedBy,a=t.ariaLabelledBy,s=t.className,l=fe(this.props,U),c=n||o||"div";this._evaluateFocusBeforeRender();var f=Object(p.Y)();return d.createElement(c,Object(u.a)({"aria-labelledby":a,"aria-describedby":i},l,r,{className:Me((Fn||(Fn=Object(_n.b)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),Fn),s),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,f)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute("data-is-focusable")&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var o=An[n.getAttribute("data-focuszone-id")];return!!o&&o.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Xt(this._root.current,this._activeElement)&&sn(this._activeElement)&&(!t||an(this._activeElement)))return this._activeElement.focus(),!0;var r=this._root.current.firstChild;return this.focusElement(on(this._root.current,r,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(nn(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var n=this.props,o=n.onBeforeFocus,r=n.shouldReceiveFocus;return!(r&&!r(e)||o&&!o(e))&&(!!e&&(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),!0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(t.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var o=Xt(e,n,!1);this._lastIndexPath=o?mn(e,n):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e,n&&(ln(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e,t){var n=e;if(n===this._root.current)return!1;do{if("BUTTON"===n.tagName||"A"===n.tagName||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||"SUMMARY"===n.tagName)return!1;if(this._isImmediateDescendantOfZone(n)&&"true"===n.getAttribute("data-is-focusable")&&"true"!==n.getAttribute("data-disable-click-on-enter"))return Bn(n,t),!0;n=qt(n,!1)}while(n!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(ln(e))return An[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(ln(t))return An[t.getAttribute("data-focuszone-id")];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,n,o){void 0===o&&(o=!0);var r=this._activeElement,i=-1,a=void 0,s=!1,l=this.props.direction===Ot.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var c=l?r.getBoundingClientRect():null;do{if(r=e?on(this._root.current,r):nn(this._root.current,r),!l){a=r;break}if(r){var u=t(c,r.getBoundingClientRect());if(-1===u&&-1===i){a=r;break}if(u>-1&&(-1===i||u<i)&&(i=u,a=r),i>=0&&u<0)break}}while(r);if(a&&a!==this._activeElement)s=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&o)return e?this.focusElement(on(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(nn(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return s},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(o,r){var i=-1,a=Math.floor(r.top),s=Math.floor(o.bottom);return a<s?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&a>=s||a===t)&&(t=a,i=n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(o,r){var i=-1,a=Math.floor(r.bottom),s=Math.floor(r.top),l=Math.floor(o.top);return a>l?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&a<=l||s===t)&&(t=s,i=n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");return!!this._moveFocus(P(e),(function(o,r){var i=-1;return(P(e)?parseFloat(r.top.toFixed(3))<parseFloat(o.bottom.toFixed(3)):parseFloat(r.bottom.toFixed(3))>parseFloat(o.top.toFixed(3)))&&r.right<=o.right&&t.props.direction!==Ot.vertical?i=o.right-r.right:n||(i=-999999999),i}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");return!!this._moveFocus(!P(e),(function(o,r){var i=-1;return(P(e)?parseFloat(r.bottom.toFixed(3))>parseFloat(o.top.toFixed(3)):parseFloat(r.top.toFixed(3))<parseFloat(o.bottom.toFixed(3)))&&r.left>=o.left&&t.props.direction!==Ot.vertical?i=r.left-o.left:n||(i=-999999999),i}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var n=this._activeElement;if(!n||!this._root.current)return!1;if(this._isElementInput(n)&&!this._shouldInputLoseFocus(n,e))return!1;var o=Pn(n);if(!o)return!1;var r=-1,i=void 0,a=-1,s=-1,l=o.clientHeight,c=n.getBoundingClientRect();do{if(n=e?on(this._root.current,n):nn(this._root.current,n)){var u=n.getBoundingClientRect(),d=Math.floor(u.top),p=Math.floor(c.bottom),f=Math.floor(u.bottom),h=Math.floor(c.top),m=this._getHorizontalDistanceFromCenter(e,c,u);if(e&&d>p+l||!e&&f<h-l)break;m>-1&&(e&&d>a?(a=d,r=m,i=n):!e&&f<s?(s=f,r=m,i=n):(-1===r||m<=r)&&(r=m,i=n))}}while(n);var g=!1;if(i&&i!==this._activeElement)g=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(on(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(nn(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===Ot.bidirectional&&(!this._focusAlignment||t||n)){var o=e.getBoundingClientRect(),r=o.left+o.width/2,i=o.top+o.height/2;this._focusAlignment||(this._focusAlignment={left:r,top:i}),t&&(this._focusAlignment.left=r),n&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=qt(e,!1);t&&t!==this._root.current&&t!==this._getDocument().body;){if(ln(t))return t;t=qt(t,!1)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!Xt(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!sn(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var o=t[n];ln(o)?"true"===o.getAttribute("data-is-focusable")&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0"))):(o.getAttribute&&"false"===o.getAttribute("data-is-focusable")&&o.setAttribute("tabindex","-1"),sn(o)?this.props.disabled?o.setAttribute("tabindex","-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0")):"svg"===o.tagName&&"false"!==o.getAttribute("focusable")&&o.setAttribute("focusable","false")),this._updateTabIndexes(o)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&Hn.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,o=n!==e.selectionEnd,r=e.value,i=e.readOnly;if(o||n>0&&!t&&!i||n!==r.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||dn(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Nn(e,this._root.current)},t.prototype._getDocument=function(){return Object(O.a)(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:Ot.bidirectional,shouldRaiseClicks:!0},t}(d.Component),Wn=((Ln={})[E.up]=1,Ln[E.down]=1,Ln[E.left]=1,Ln[E.right]=1,Ln[E.home]=1,Ln[E.end]=1,Ln[E.tab]=1,Ln[E.pageUp]=1,Ln[E.pageDown]=1,Ln);function Vn(e){return!!Wn[e]}function Un(e){Wn[e]=1}function Kn(e){delete Wn[e]}var Gn=n(21),qn=new WeakMap,Yn=new WeakMap;function Qn(e,t){var n,o=qn.get(e);return n=o?o+t:1,qn.set(e,n),n}function Xn(e){var t=Yn.get(e);if(t)return t;return t={onMouseDown:function(t){return eo(t,e.registeredProviders)},onPointerDown:function(t){return to(t,e.registeredProviders)},onKeyDown:function(t){return no(t,e.registeredProviders)},onKeyUp:function(t){return oo(t,e.registeredProviders)}},Yn.set(e,t),t}var Zn=d.createContext(void 0);function $n(e){var t=d.useContext(Zn);d.useEffect((function(){var n,o,r,i,a=Object(N.a)(null==e?void 0:e.current);if(a&&!0!==(null===(n=a.FabricConfig)||void 0===n?void 0:n.disableFocusRects)){var s,l,c,u,d=a;if((null===(o=null==t?void 0:t.providerRef)||void 0===o?void 0:o.current)&&(null===(i=null===(r=null==t?void 0:t.providerRef)||void 0===r?void 0:r.current)||void 0===i?void 0:i.addEventListener)){d=t.providerRef.current;var p=Xn(t);s=p.onMouseDown,l=p.onPointerDown,c=p.onKeyDown,u=p.onKeyUp}else s=eo,l=to,c=no,u=oo;var f=Qn(d,1);return f<=1&&(d.addEventListener("mousedown",s,!0),d.addEventListener("pointerdown",l,!0),d.addEventListener("keydown",c,!0),d.addEventListener("keyup",u,!0)),function(){var e;a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(f=Qn(d,-1))&&(d.removeEventListener("mousedown",s,!0),d.removeEventListener("pointerdown",l,!0),d.removeEventListener("keydown",c,!0),d.removeEventListener("keyup",u,!0))}}}),[t,e])}var Jn=function(e){return $n(e.rootRef),null};function eo(e,t){Object(Gn.b)(!1,e.target,t)}function to(e,t){"mouse"!==e.pointerType&&Object(Gn.b)(!1,e.target,t)}function no(e,t){Vn(e.which)&&Object(Gn.b)(!0,e.target,t)}function oo(e,t){Vn(e.which)&&Object(Gn.b)(!0,e.target,t)}var ro=L(),io=function(e,t){d.useImperativeHandle(e.componentRef,(function(){return{focus:function(){t.current&&t.current.focus()}}}),[t])},ao=function(e,t){t.as;var n=t.disabled,o=t.target,r=t.href,i=(t.theme,t.getStyles,t.styles,t.componentRef,t.underline,Object(u.d)(t,["as","disabled","target","href","theme","getStyles","styles","componentRef","underline"]));return"string"==typeof e?"a"===e?Object(u.a)({target:o,href:n?void 0:r},i):"button"===e?Object(u.a)({type:"button",disabled:n},i):Object(u.a)(Object(u.a)({},i),{disabled:n}):Object(u.a)({target:o,href:r,disabled:n},i)},so=d.forwardRef((function(e,t){var n=function(e,t){var n=e.as,o=e.className,r=e.disabled,i=e.href,a=e.onClick,s=e.styles,l=e.theme,c=e.underline,p=d.useRef(null),f=Ie(p,t);io(e,p),$n(p);var h=ro(s,{className:o,isButton:!i,isDisabled:r,isUnderlined:c,theme:l}),m=n||(i?"a":"button");return{state:{},slots:{root:m},slotProps:{root:Object(u.a)(Object(u.a)({},ao(m,e)),{"aria-disabled":r,className:h.root,onClick:function(e){r?e.preventDefault():a&&a(e)},ref:f})}}}(e,t),o=n.slots,r=n.slotProps;return d.createElement(o.root,Object(u.a)({},r.root))}));so.displayName="LinkBase";var lo={root:"ms-Link"},co=k(so,(function(e){var t,n,o,r,i,a,s,l=e.className,c=e.isButton,u=e.isDisabled,d=e.isUnderlined,f=e.theme,h=f.semanticColors,m=h.link,g=h.linkHovered,v=h.disabledText,b=h.focusBorder,y=Object(p.R)(lo,f);return{root:[y.root,f.fonts.medium,{color:m,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:d?"underline":"none",selectors:(t={".ms-Fabric--isFocusVisible &:focus":{boxShadow:"0 0 0 1px ".concat(b," inset"),outline:"1px auto ".concat(b),selectors:(n={},n[p.m]={outline:"1px solid WindowText"},n)}},t[p.m]={borderBottom:"none"},t)},c&&{background:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline",margin:0,overflow:"inherit",padding:0,textAlign:"left",textOverflow:"inherit",userSelect:"text",borderBottom:"1px solid transparent",selectors:(o={},o[p.m]={color:"LinkText",forcedColorAdjust:"none"},o)},!c&&{selectors:(r={},r[p.m]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},r)},u&&["is-disabled",{color:v,cursor:"default"},{selectors:(i={"&:link, &:visited":{pointerEvents:"none"}},i[p.m]={color:"GrayText"},i)}],!u&&{selectors:{"&:active, &:hover, &:active:hover":{color:g,textDecoration:"underline",selectors:(a={},a[p.m]={color:"LinkText"},a)},"&:focus":{color:m,selectors:(s={},s[p.m]={color:"LinkText"},s)}}},y.root,l]}}),void 0,{scope:"Link"});function uo(e,t){if(!e||!t)return!e&&!t;for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}function po(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return fo.apply(this,[null,e].concat(t))}function fo(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];t=t||{};for(var r=0,i=n;r<i.length;r++){var a=i[r];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}function ho(e,t){return Object.keys(e).map((function(n){if(String(Number(n))!==n)return t(n,e[n])})).filter((function(e){return!!e}))}function mo(e){return Object.keys(e).reduce((function(t,n){return t.push(e[n]),t}),[])}function go(e,t){var n={};for(var o in e)-1===t.indexOf(o)&&e.hasOwnProperty(o)&&(n[o]=e[o]);return n}var vo=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,o,r){var i;if(e._isElement(t)){if("undefined"!=typeof document&&document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(n,r||!1,!0),po(a,o),i=t.dispatchEvent(a)}else if("undefined"!=typeof document&&document.createEventObject){var s=document.createEventObject(o);t.fireEvent("on"+n,s)}}else for(;t&&!1!==i;){var l=t.__events__,c=l?l[n]:null;if(c)for(var u in c)if(c.hasOwnProperty(u))for(var d=c[u],p=0;!1!==i&&p<d.length;p++){var f=d[p];f.objectCallback&&(i=f.objectCallback.call(f.parent,o))}t=r?t.parent:null}return i},e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]},e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,n){for(var o in t)t.hasOwnProperty(o)&&this.on(e,o,t[o],n)},e.prototype.on=function(t,n,o,r){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],o,r);else{var l=this._parent,c={target:t,eventName:n,parent:l,callback:o,options:r};if((a=t.__events__=t.__events__||{})[n]=a[n]||{count:0},a[n][this._id]=a[n][this._id]||[],a[n][this._id].push(c),a[n].count++,e._isElement(t)){var u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var n;try{if(!1===(n=o.apply(l,e))&&e[0]){var r=e[0];r.preventDefault&&r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.cancelBubble=!0}}catch(r){}return n}};c.elementCallback=u,t.addEventListener?t.addEventListener(n,u,r):t.attachEvent&&t.attachEvent("on"+n,u)}else{c.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return o.apply(l,e)}}this._eventRecords.push(c)}},e.prototype.off=function(e,t,n,o){for(var r=0;r<this._eventRecords.length;r++){var i=this._eventRecords[r];if(!(e&&e!==i.target||t&&t!==i.eventName||n&&n!==i.callback||"boolean"==typeof o&&o!==i.options)){var a=i.target.__events__,s=a[i.eventName],l=s?s[this._id]:null;l&&(1!==l.length&&n?(s.count--,l.splice(l.indexOf(i),1)):(s.count-=l.length,delete a[i.eventName][this._id]),s.count||delete a[i.eventName]),i.elementCallback&&(i.target.removeEventListener?i.target.removeEventListener(i.eventName,i.elementCallback,i.options):i.target.detachEvent&&i.target.detachEvent("on"+i.eventName,i.elementCallback)),this._eventRecords.splice(r--,1)}}},e.prototype.raise=function(t,n,o){return e.raise(this._parent,t,n,o)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0},e._uniqueId=0,e}(),bo=n(37);function yo(e,t,n,o,r){}function Co(e,t,n){}function _o(e,t,n){}var So=function(e){function t(n,o){var r=e.call(this,n,o)||this;return function(e,t,n){for(var o=0,r=n.length;o<r;o++)ko(e,t,n[o])}(r,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),r}return Object(u.c)(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new wt(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new vo(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){this.className,this.props},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,n){this.className,this.props},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))},t}(d.Component);function ko(e,t,n){var o=e[n],r=t[n];(o||r)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r&&(e=r.apply(this,t)),o!==r&&(e=o.apply(this,t)),e})}function xo(){return null}function wo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter((function(e){return e})).join(" ").trim();return""===n?void 0:n}var Io=function(e){var t=e.className,n=e.imageProps,o=fe(e,U,["aria-label","aria-labelledby","title","aria-describedby"]),r=n.alt||e["aria-label"],i=r||e["aria-labelledby"]||e.title||n["aria-label"]||n["aria-labelledby"]||n.title,a={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},s=i?{}:{"aria-hidden":!0};return d.createElement("div",Object(u.a)({},s,o,{className:Me("ms-Icon",Re.root,Re.image,t)}),d.createElement(Pe,Object(u.a)({},a,n,{alt:i?r:""})))},Eo={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};var Oo,To,Do=Object(f.a)((function(e){return Object(f.a)((function(t){var n=Object(f.a)((function(e){return function(n){return t(n,e)}}));return function(o,r){return e(o,r?n(r):t)}}))}));function Po(e,t){return Do(e)(t)}function Ro(e){var t;if(void 0===To||e){var n=Object(N.a)(),o=null===(t=null==n?void 0:n.navigator)||void 0===t?void 0:t.userAgent;To=!!o&&-1!==o.indexOf("Macintosh")}return!!To}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(Oo||(Oo={}));var Mo,No,Fo=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)};function Bo(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function Lo(e){return!(!e.subMenuProps&&!e.items)}function Ao(e){return!(!e.isDisabled&&!e.disabled)}function jo(e){return null!==Bo(e)?"menuitemcheckbox":"menuitem"}function Ho(e,t,n,o){return e.addEventListener(t,n,o),function(){return e.removeEventListener(t,n,o)}}!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(Mo||(Mo={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(No||(No={}));var zo,Wo=function(){function e(e,t,n,o){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=0),this.top=n,this.bottom=o,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}();function Vo(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var Uo=((zo={})[Eo.topLeftEdge]=Vo(Mo.top,Mo.left),zo[Eo.topCenter]=Vo(Mo.top),zo[Eo.topRightEdge]=Vo(Mo.top,Mo.right),zo[Eo.topAutoEdge]=Vo(Mo.top,void 0,!0),zo[Eo.bottomLeftEdge]=Vo(Mo.bottom,Mo.left),zo[Eo.bottomCenter]=Vo(Mo.bottom),zo[Eo.bottomRightEdge]=Vo(Mo.bottom,Mo.right),zo[Eo.bottomAutoEdge]=Vo(Mo.bottom,void 0,!0),zo[Eo.leftTopEdge]=Vo(Mo.left,Mo.top),zo[Eo.leftCenter]=Vo(Mo.left),zo[Eo.leftBottomEdge]=Vo(Mo.left,Mo.bottom),zo[Eo.rightTopEdge]=Vo(Mo.right,Mo.top),zo[Eo.rightCenter]=Vo(Mo.right),zo[Eo.rightBottomEdge]=Vo(Mo.right,Mo.bottom),zo);function Ko(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function Go(e,t){var n=[];return e.top<t.top&&n.push(Mo.top),e.bottom>t.bottom&&n.push(Mo.bottom),e.left<t.left&&n.push(Mo.left),e.right>t.right&&n.push(Mo.right),n}function qo(e,t){return e[Mo[t]]}function Yo(e,t,n){return e[Mo[t]]=n,e}function Qo(e,t){var n=sr(t);return(qo(e,n.positiveEdge)+qo(e,n.negativeEdge))/2}function Xo(e,t){return e>0?t:-1*t}function Zo(e,t){return Xo(e,qo(t,e))}function $o(e,t,n){return Xo(n,qo(e,n)-qo(t,n))}function Jo(e,t,n,o){void 0===o&&(o=!0);var r=qo(e,t)-n,i=Yo(e,t,n);return o&&(i=Yo(e,-1*t,qo(e,-1*t)-r)),i}function er(e,t,n,o){return void 0===o&&(o=0),Jo(e,n,qo(t,n)+Xo(n,o))}function tr(e,t,n){return Zo(n,e)>Zo(n,t)}function nr(e,t){for(var n=0,o=0,r=Go(e,t);o<r.length;o++){var i=r[o];n+=Math.pow($o(e,t,i),2)}return n}function or(e,t,n,o,r,i,a){void 0===r&&(r=0);var s=o.alignmentEdge,l=o.alignTargetEdge,c={elementRectangle:e,targetEdge:o.targetEdge,alignmentEdge:s};i||a||(c=function(e,t,n,o,r){void 0===r&&(r=0);var i=[Mo.left,Mo.right,Mo.bottom,Mo.top];P()&&(i[0]*=-1,i[1]*=-1);for(var a,s=e,l=o.targetEdge,c=o.alignmentEdge,u=l,d=c,p=0;p<4;p++){if(tr(s,n,l))return{elementRectangle:s,targetEdge:l,alignmentEdge:c};var f=nr(s,n);(!a||f<a)&&(a=f,u=l,d=c),i.splice(i.indexOf(l),1),i.length>0&&(i.indexOf(-1*l)>-1?l*=-1:(c=l,l=i.slice(-1)[0]),s=ar(e,t,{targetEdge:l,alignmentEdge:c},r))}return{elementRectangle:s=ar(e,t,{targetEdge:u,alignmentEdge:d},r),targetEdge:u,alignmentEdge:d}}(e,t,n,o,r));var u=Go(c.elementRectangle,n),d=i?-c.targetEdge:void 0;if(u.length>0)if(l)if(c.alignmentEdge&&u.indexOf(-1*c.alignmentEdge)>-1){var p=function(e,t,n,o){var r=e.alignmentEdge,i=e.targetEdge,a=-1*r;return{elementRectangle:ar(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,o),targetEdge:i,alignmentEdge:a}}(c,t,r,a);if(Ko(p.elementRectangle,n))return p;c=rr(Go(p.elementRectangle,n),c,n,d)}else c=rr(u,c,n,d);else c=rr(u,c,n,d);return c}function rr(e,t,n,o){for(var r=0,i=e;r<i.length;r++){var a=i[r],s=void 0;if(o&&o===-1*a)s=Jo(t.elementRectangle,a,qo(n,a),!1),t.forcedInBounds=!0;else tr(s=er(t.elementRectangle,n,a),n,-1*a)||(s=Jo(s,-1*a,qo(n,-1*a),!1),t.forcedInBounds=!0);t.elementRectangle=s}return t}function ir(e,t,n){var o=sr(t).positiveEdge;return Jo(e,o,n-(Qo(e,t)-qo(e,o)))}function ar(e,t,n,o,r){void 0===o&&(o=0);var i=new Wo(e.left,e.right,e.top,e.bottom),a=n.alignmentEdge,s=n.targetEdge,l=r?s:-1*s;(i=r?er(i,t,s,o):function(e,t,n,o){void 0===o&&(o=0);var r=Xo(-1*n,o);return Jo(e,-1*n,qo(t,n)+r)}(i,t,s,o),a)?i=er(i,t,a):i=ir(i,l,Qo(t,s));return i}function sr(e){return e===Mo.top||e===Mo.bottom?{positiveEdge:Mo.left,negativeEdge:Mo.right}:{positiveEdge:Mo.top,negativeEdge:Mo.bottom}}function lr(e,t,n){return n&&Math.abs($o(e,n,t))>Math.abs($o(e,n,-1*t))?-1*t:t}function cr(e,t,n,o,r,i,a,s){var l={},c=gr(t),u=i?n:-1*n,d=r||sr(n).positiveEdge;return a&&!function(e,t,n){return void 0!==n&&qo(e,t)===qo(n,t)}(e,Ir(d),o)||(d=lr(e,d,o)),l[Mo[u]]=$o(e,c,u),l[Mo[d]]=$o(e,c,d),s&&(l[Mo[-1*u]]=$o(e,c,-1*u),l[Mo[-1*d]]=$o(e,c,-1*d)),l}function ur(e){return Math.sqrt(e*e*2)}function dr(e,t,n){if(void 0===e&&(e=Eo.bottomAutoEdge),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var o=Object(u.a)({},Uo[e]);return P()?(o.alignmentEdge&&o.alignmentEdge%2==0&&(o.alignmentEdge=-1*o.alignmentEdge),void 0!==t?Uo[t]:o):o}function pr(e,t,n){var o=Qo(t,e),r=Qo(n,e),i=sr(e),a=i.positiveEdge,s=i.negativeEdge;return o<=r?a:s}function fr(e,t,n,o,r,i,a){var s=ar(e,t,o,r,a);return Ko(s,n)?{elementRectangle:s,targetEdge:o.targetEdge,alignmentEdge:o.alignmentEdge}:or(s,t,n,o,r,i,a)}function hr(e,t,n){var o=-1*e.targetEdge,r=new Wo(0,e.elementRectangle.width,0,e.elementRectangle.height),i={},a=lr(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:sr(o).positiveEdge,n),s=$o(e.elementRectangle,e.targetRectangle,o)>Math.abs(qo(t,o));return i[Mo[o]]=qo(t,o),i[Mo[a]]=$o(t,r,a),{elementPosition:Object(u.a)({},i),closestEdge:pr(e.targetEdge,t,r),targetEdge:o,hideBeak:!s}}function mr(e,t){var n=t.targetRectangle,o=sr(t.targetEdge),r=o.positiveEdge,i=o.negativeEdge,a=Qo(n,t.targetEdge),s=new Wo(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new Wo(0,e,0,e);return tr(l=ir(l=Jo(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-Zo(r,t.elementRectangle)),s,r)?tr(l,s,i)||(l=er(l,s,i)):l=er(l,s,r),l}function gr(e){var t=e.getBoundingClientRect();return new Wo(t.left,t.right,t.top,t.bottom)}function vr(e){return new Wo(e.left,e.right,e.top,e.bottom)}function br(e,t,n,o,r){var i=0,a=Uo[t],s=r?-1*a.targetEdge:a.targetEdge;return(i=s===Mo.top?qo(e,a.targetEdge)-o.top-n:s===Mo.bottom?o.bottom-qo(e,a.targetEdge)-n:o.bottom-e.top-n)>0?i:o.height}function yr(e,t,n,o){var r=e.gapSpace?e.gapSpace:0,i=function(e,t){var n;if(t){if(t.preventDefault){var o=t;n=new Wo(o.clientX,o.clientX,o.clientY,o.clientY)}else if(t.getBoundingClientRect)n=gr(t);else{var r=t,i=r.left||r.x,a=r.top||r.y,s=r.right||i,l=r.bottom||a;n=new Wo(i,s,a,l)}if(!Ko(n,e))for(var c=0,u=Go(n,e);c<u.length;c++){var d=u[c];n[Mo[d]]=e[Mo[d]]}}else n=new Wo(0,0,0,0);return n}(n,e.target),a=function(e,t,n,o,r){return e.isAuto&&(e.alignmentEdge=pr(e.targetEdge,t,n)),e.alignTargetEdge=r,e}(dr(e.directionalHint,e.directionalHintForRTL,o),i,n,e.coverTarget,e.alignTargetEdge),s=fr(gr(t),i,n,a,r,e.directionalHintFixed,e.coverTarget);return Object(u.a)(Object(u.a)({},s),{targetRectangle:i})}function Cr(e,t,n,o,r){return{elementPosition:cr(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,o,r,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function _r(e,t,n,o,r){var i=e.isBeakVisible&&e.beakWidth||0,a=ur(i)/2+(e.gapSpace?e.gapSpace:0),s=e;s.gapSpace=a;var l=e.bounds?vr(e.bounds):new Wo(0,window.innerWidth-Dn(),0,window.innerHeight),c=yr(s,n,l,o),d=hr(c,mr(i,c),l);return Object(u.a)(Object(u.a)({},Cr(c,t,l,e.coverTarget,r)),{beakPosition:d})}function Sr(e,t,n,o){return function(e,t,n,o){var r=e.bounds?vr(e.bounds):new Wo(0,window.innerWidth-Dn(),0,window.innerHeight);return Cr(yr(e,n,r,o),t,r,e.coverTarget)}(e,t,n,o)}function kr(e,t,n,o){return _r(e,t,n,o)}function xr(e,t,n,o){return function(e,t,n,o){return _r(e,t,n,o,!0)}(e,t,n,o)}function wr(e,t,n,o,r){void 0===n&&(n=0);var i=e,a=e,s=e,l=o?vr(o):new Wo(0,window.innerWidth-Dn(),0,window.innerHeight),c=s.left||s.x,u=s.top||s.y,d=s.right||c,p=s.bottom||u;return br(i.stopPropagation?new Wo(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==c&&void 0!==u?new Wo(c,d,u,p):gr(a),t,n,l,r)}function Ir(e){return-1*e}function Er(e,t){return function(e,t){var n=void 0;if(t.getWindowSegments&&(n=t.getWindowSegments()),void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var o=0,r=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();o=(i.left+i.right)/2,r=(i.top+i.bottom)/2}else null!==e&&(o=e.left||e.x,r=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,l=n;s<l.length;s++){var c=l[s];o&&c.left<=o&&c.right>=o&&r&&c.top<=r&&c.bottom>=r&&(a={top:c.top,left:c.left,right:c.right,bottom:c.bottom,width:c.width,height:c.height})}return a}(e,t)}var Or=["TEMPLATE","STYLE","SCRIPT"];function Tr(e){var t=Object(O.a)(e);if(!t)return function(){};for(var n=[];e!==t.body&&e.parentElement;){for(var o=0,r=e.parentElement.children;o<r.length;o++){var i=r[o],a=i.getAttribute("aria-hidden");i!==e&&"true"!==(null==a?void 0:a.toLowerCase())&&-1===Or.indexOf(i.tagName)&&n.push([i,a])}e=e.parentElement}return n.forEach((function(e){e[0].setAttribute("aria-hidden","true")})),function(){!function(e){e.forEach((function(e){var t=e[0],n=e[1];n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")}))}(n),n=[]}}function Dr(){var e=d.useRef();return e.current||(e.current=new wt),d.useEffect((function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}}),[]),e.current}function Pr(e,t,n,o){var r=d.useRef(n);r.current=n,d.useEffect((function(){var n=e&&"current"in e?e.current:e;if(n)return Ho(n,t,(function(e){return r.current(e)}),o)}),[e,t,o])}var Rr=d.createContext({window:"object"==typeof window?window:void 0}),Mr=function(){return d.useContext(Rr).window},Nr=function(){var e;return null===(e=d.useContext(Rr).window)||void 0===e?void 0:e.document},Fr=function(e){return d.createElement(Rr.Provider,{value:e},e.children)};function Br(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==Object(N.a)()&&setTimeout((function(){var e;null===(e=t.focus)||void 0===e||e.call(t)}),0)}var Lr,Ar=d.forwardRef((function(e,t){var n=H({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),o=d.useRef(),r=Ie(o,t);!function(e,t){var n="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;d.useEffect((function(){if(n&&t.current)return Tr(t.current)}),[t,n])}(n,o),function(e,t){var n=e.onRestoreFocus,o=void 0===n?Br:n,r=d.useRef(),i=d.useRef(!1);d.useEffect((function(){return r.current=Object(O.a)().activeElement,un(t.current)&&(i.current=!0),function(){var e;null==o||o({originalElement:r.current,containsFocus:i.current,documentContainsFocus:(null===(e=Object(O.a)())||void 0===e?void 0:e.hasFocus())||!1}),r.current=void 0}}),[]),Pr(t,"focus",d.useCallback((function(){i.current=!0}),[]),!0),Pr(t,"blur",d.useCallback((function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(i.current=!1)}),[]),!0)}(n,o);var i=n.role,a=n.className,s=n.ariaLabel,l=n.ariaLabelledBy,c=n.ariaDescribedBy,p=n.style,f=n.children,h=n.onDismiss,m=function(e,t){var n=Dr(),o=d.useState(!1),r=o[0],i=o[1];return d.useEffect((function(){return n.requestAnimationFrame((function(){var n;if(!e.style||!e.style.overflowY){var o=!1;if(t&&t.current&&(null===(n=t.current)||void 0===n?void 0:n.firstElementChild)){var a=t.current.clientHeight,s=t.current.firstElementChild.clientHeight;a>0&&s>a&&(o=s-a>1)}r!==o&&i(o)}})),function(){return n.dispose()}})),r}(n,o),g=d.useCallback((function(e){switch(e.which){case E.escape:h&&(h(e),e.preventDefault(),e.stopPropagation())}}),[h]);return Pr(Mr(),"keydown",g),d.createElement("div",Object(u.a)({ref:r},fe(n,pe),{className:a,role:i,"aria-label":s,"aria-labelledby":l,"aria-describedby":c,onKeyDown:g,style:Object(u.a)({overflowY:m?"scroll":void 0,outline:"none"},p)}),f)}));function jr(e){var t=d.useRef();return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function Hr(e,t){var n=d.useRef(),o=d.useRef(null),r=Mr();if(!e||e!==n.current||"string"==typeof e){var i=null==t?void 0:t.current;if(e)if("string"==typeof e){var a=Object(O.a)(i);o.current=a?a.querySelector(e):null}else o.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;n.current=e}return[o,r]}Ar.displayName="Popup";var zr=((Lr={})[Mo.top]=p.a.slideUpIn10,Lr[Mo.bottom]=p.a.slideDownIn10,Lr[Mo.left]=p.a.slideLeftIn10,Lr[Mo.right]=p.a.slideRightIn10,Lr),Wr=0,Vr=0,Ur={opacity:0,filter:"opacity(0)",pointerEvents:"none"},Kr=["role","aria-roledescription"],Gr={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:Eo.bottomAutoEdge},qr=L({disableCaching:!0});function Yr(e,t,n,o,r){var i=d.useState(),a=i[0],s=i[1],l=d.useRef(0),c=d.useRef(),p=Dr(),f=e.hidden,h=e.target,m=e.finalHeight,g=e.calloutMaxHeight,v=e.onPositioned,b=e.directionalHint;return d.useEffect((function(){if(!f){var i=p.requestAnimationFrame((function(){var i,d,p,f;if(t.current&&n){var b=Object(u.a)(Object(u.a)({},e),{target:o.current,bounds:r()}),y=n.cloneNode(!0);y.style.maxHeight=g?"".concat(g):"",y.style.visibility="hidden",null===(i=n.parentElement)||void 0===i||i.appendChild(y);var C=c.current===h?a:void 0,_=m?xr(b,t.current,y,C):kr(b,t.current,y,C);null===(d=n.parentElement)||void 0===d||d.removeChild(y),!a&&_||a&&_&&(f=_,!Zr((p=a).elementPosition,f.elementPosition)||!Zr(p.beakPosition.elementPosition,f.beakPosition.elementPosition))&&l.current<5?(l.current++,s(_)):l.current>0&&(l.current=0,null==v||v(a))}}),n);return c.current=h,function(){p.cancelAnimationFrame(i),c.current=void 0}}s(void 0),l.current=0}),[f,b,p,n,g,t,o,m,r,v,a,e,h]),a}var Qr=d.memo(d.forwardRef((function(e,t){var n=H(Gr,e),o=n.styles,r=n.style,i=n.ariaLabel,a=n.ariaDescribedBy,s=n.ariaLabelledBy,l=n.className,c=n.isBeakVisible,p=n.children,f=n.beakWidth,h=n.calloutWidth,m=n.calloutMaxWidth,g=n.calloutMinWidth,v=n.doNotLayer,b=n.finalHeight,y=n.hideOverflow,C=void 0===y?!!b:y,_=n.backgroundColor,S=n.calloutMaxHeight,k=n.onScroll,x=n.shouldRestoreFocus,w=void 0===x||x,I=n.target,E=n.hidden,O=n.onLayerMounted,T=n.popupProps,D=d.useRef(null),P=d.useState(null),R=P[0],M=P[1],N=d.useCallback((function(e){M(e)}),[]),F=Ie(D,t),B=Hr(n.target,{current:R}),L=B[0],A=B[1],j=function(e,t,n){var o=e.bounds,r=e.minPagePadding,i=void 0===r?Gr.minPagePadding:r,a=e.target,s=d.useState(!1),l=s[0],c=s[1],u=d.useRef(),p=d.useCallback((function(){if(!u.current||l){var e="function"==typeof o?n?o(a,n):void 0:o;!e&&n&&(e={top:(e=Er(t.current,n)).top+i,left:e.left+i,right:e.right-i,bottom:e.bottom-i,width:e.width-2*i,height:e.height-2*i}),u.current=e,l&&c(!1)}return u.current}),[o,i,a,t,n,l]),f=Dr();return Pr(n,"resize",f.debounce((function(){c(!0)}),500,{leading:!0})),p}(n,L,A),z=Yr(n,D,R,L,j),W=function(e,t,n){var o,r=e.calloutMaxHeight,i=e.finalHeight,a=e.directionalHint,s=e.directionalHintFixed,l=e.hidden,c=d.useState(),u=c[0],p=c[1],f=null!==(o=null==n?void 0:n.elementPosition)&&void 0!==o?o:{},h=f.top,m=f.bottom;return d.useEffect((function(){var e,n,o=null!==(e=t())&&void 0!==e?e:{},i=o.top,a=o.bottom;"number"==typeof h&&a?n=a-h:"number"==typeof m&&"number"==typeof i&&a&&(n=a-i-m),p(!r&&!l||r&&n&&r>n?n:r||void 0)}),[m,r,i,a,s,t,l,n,h]),u}(n,j,z),V=function(e,t,n,o,r){var i=e.hidden,a=e.onDismiss,s=e.preventDismissOnScroll,l=e.preventDismissOnResize,c=e.preventDismissOnLostFocus,u=e.dismissOnTargetClick,p=e.shouldDismissOnWindowFocus,f=e.preventDismissOnEvent,h=d.useRef(!1),m=Dr(),g=jr([function(){h.current=!0},function(){h.current=!1}]),v=!!t;return d.useEffect((function(){var e=function(e){v&&!s&&g(e)},t=function(e){l||f&&f(e)||null==a||a(e)},d=function(e){c||g(e)},g=function(e){var t=e.composedPath?e.composedPath():[],i=t.length>0?t[0]:e.target,s=n.current&&!Xt(n.current,i);if(s&&h.current)h.current=!1;else if(!o.current&&s||e.target!==r&&s&&(!o.current||"stopPropagation"in o.current||u||i!==o.current&&!Xt(o.current,i))){if(f&&f(e))return;null==a||a(e)}},b=function(e){p&&((!f||f(e))&&(f||c)||(null==r?void 0:r.document.hasFocus())||null!==e.relatedTarget||null==a||a(e))},y=new Promise((function(n){m.setTimeout((function(){if(!i&&r){var o=[Ho(r,"scroll",e,!0),Ho(r,"resize",t,!0),Ho(r.document.documentElement,"focus",d,!0),Ho(r.document.documentElement,"click",d,!0),Ho(r,"blur",b,!0)];n((function(){o.forEach((function(e){return e()}))}))}}),0)}));return function(){y.then((function(e){return e()}))}}),[i,m,n,o,r,a,p,u,c,l,s,v,f]),g}(n,z,D,L,A),U=V[0],K=V[1],G=(null==z?void 0:z.elementPosition.top)&&(null==z?void 0:z.elementPosition.bottom),q=Object(u.a)(Object(u.a)({},null==z?void 0:z.elementPosition),{maxHeight:W});if(G&&(q.bottom=void 0),function(e,t,n){var o=e.hidden,r=e.setInitialFocus,i=Dr(),a=!!t;d.useEffect((function(){if(!o&&r&&a&&n){var e=i.requestAnimationFrame((function(){return tn(n)}),n);return function(){return i.cancelAnimationFrame(e)}}}),[o,a,i,n,r])}(n,z,R),d.useEffect((function(){E||null==O||O()}),[E]),!A)return null;var Y=C,Q=c&&!!I,X=qr(o,{theme:n.theme,className:l,overflowYHidden:Y,calloutWidth:h,positions:z,beakWidth:f,backgroundColor:_,calloutMaxWidth:m,calloutMinWidth:g,doNotLayer:v}),Z=Object(u.a)(Object(u.a)({maxHeight:S||"100%"},r),Y&&{overflowY:"hidden"}),$=n.hidden?{visibility:"hidden"}:void 0;return d.createElement("div",{ref:F,className:X.container,style:$},d.createElement("div",Object(u.a)({},fe(n,pe,Kr),{className:Me(X.root,z&&z.targetEdge&&zr[z.targetEdge]),style:z?Object(u.a)({},q):Ur,tabIndex:-1,ref:N}),Q&&d.createElement("div",{className:X.beak,style:Xr(z)}),Q&&d.createElement("div",{className:X.beakCurtain}),d.createElement(Ar,Object(u.a)({role:n.role,"aria-roledescription":n["aria-roledescription"],ariaDescribedBy:a,ariaLabel:i,ariaLabelledBy:s,className:X.calloutMain,onDismiss:n.onDismiss,onMouseDown:U,onMouseUp:K,onRestoreFocus:n.onRestoreFocus,onScroll:k,shouldRestoreFocus:w,style:Z},T),p)))})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||uo(e,t)}));function Xr(e){var t,n,o=Object(u.a)(Object(u.a)({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(n=null==e?void 0:e.beakPosition)||void 0===n?void 0:n.hideBeak)?"none":void 0});return o.top||o.bottom||o.left||o.right||(o.left=Vr,o.top=Wr),o}function Zr(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=e[n],r=t[n];if(void 0===o||void 0===r)return!1;if(o.toFixed(2)!==r.toFixed(2))return!1}return!0}function $r(e){return{height:e,width:e}}Qr.displayName="CalloutContentBase";var Jr={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},ei=k(Qr,(function(e){var t,n=e.theme,o=e.className,r=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,c=e.calloutMinWidth,u=e.doNotLayer,d=Object(p.R)(Jr,n),f=n.semanticColors,h=n.effects;return{container:[d.container,{position:"relative"}],root:[d.root,n.fonts.medium,{position:"absolute",display:"flex",zIndex:u?p.G.Layer:void 0,boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[p.m]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},Object(p.L)(),o,!!i&&{width:i},!!l&&{maxWidth:l},!!c&&{minWidth:c}],beak:[d.beak,{position:"absolute",backgroundColor:f.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},$r(a),s&&{backgroundColor:s}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:f.menuBackground,borderRadius:h.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:f.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:h.roundedCorner2},r&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"});const ti=d.createContext(void 0),ni=()=>()=>{};ti.Provider;var oi=n(53),ri=function(e){var t=e.providerRef,n=e.layerRoot,o=d.useState([])[0],r=d.useContext(Zn),i=void 0!==r&&!n,a=d.useMemo((function(){return i?void 0:{providerRef:t,registeredProviders:o,registerProvider:function(e){o.push(e),null==r||r.registerProvider(e)},unregisterProvider:function(e){null==r||r.unregisterProvider(e);var t=o.indexOf(e);t>=0&&o.splice(t,1)}}}),[t,o,r,i]);return d.useEffect((function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}}),[a]),a?d.createElement(Zn.Provider,{value:a},e.children):d.createElement(d.Fragment,null,e.children)},ii=n(52);function ai(e,t){var n=(t||{}).customizations,o=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:Object(ii.b)(o.settings,e.settings),scopedSettings:Object(ii.a)(o.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}var si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){y.a.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){y.a.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return d.createElement(C.Consumer,null,(function(n){var o=ai(e.props,n);return t&&(o=t(o)),d.createElement(C.Provider,{value:o},e.props.children)}))},t}(d.Component),li=n(71),ci=L(),ui=Object(f.c)((function(e,t){return Object(li.a)(Object(u.a)(Object(u.a)({},e),{rtl:t}))})),di=d.forwardRef((function(e,t){var n=e.className,o=e.theme,r=e.applyTheme,i=e.applyThemeToBody,a=e.styles,s=ci(a,{theme:o,applyTheme:r,className:n}),l=d.useRef(null);return function(e,t,n){var o=t.bodyThemed;d.useEffect((function(){if(e){var t=Object(O.a)(n.current);if(t)return t.body.classList.add(o),function(){t.body.classList.remove(o)}}}),[o,e,n])}(i,s,l),d.createElement(d.Fragment,null,function(e,t,n,o){var r=t.root,i=e.as,a=void 0===i?"div":i,s=e.dir,l=e.theme,c=fe(e,pe,["dir"]),p=function(e){var t=e.theme,n=e.dir,o=P(t)?"rtl":"ltr",r=P()?"rtl":"ltr",i=n||o;return{rootDir:i!==o||i!==r?i:n,needsTheme:i!==o}}(e),f=p.rootDir,h=p.needsTheme,m=d.createElement(ri,{providerRef:n},d.createElement(a,Object(u.a)({dir:f},c,{className:r,ref:Ie(n,o)})));h&&(m=d.createElement(si,{settings:{theme:ui(l,"rtl"===s)}},m));return m}(e,s,l,t))}));di.displayName="FabricBase";var pi={fontFamily:"inherit"},fi={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},hi=k(di,(function(e){var t=e.applyTheme,n=e.className,o=e.preventBlanketFontInheritance,r=e.theme;return{root:[Object(p.R)(fi,r).root,r.fonts.medium,{color:r.palette.neutralPrimary},!o&&{"& button":pi,"& input":pi,"& textarea":pi},t&&{color:r.semanticColors.bodyText,backgroundColor:r.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:r.semanticColors.bodyBackground}]}}),void 0,{scope:"Fabric"});function mi(e,t){var n=e,o=t;n._virtual||(n._virtual={children:[]});var r=n._virtual.parent;if(r&&r!==t){var i=r._virtual.children.indexOf(n);i>-1&&r._virtual.children.splice(i,1)}n._virtual.parent=o||void 0,o&&(o._virtual||(o._virtual={children:[]}),o._virtual.children.push(n))}var gi={},vi={},bi="#".concat("fluent-default-layer-host");function yi(e,t){gi[e]||(gi[e]=[]),gi[e].push(t);var n=vi[e];if(n)for(var o=0,r=n;o<r.length;o++){r[o].notifyLayersChanged()}}function Ci(e,t){var n=gi[e];if(n){var o=n.indexOf(t);o>=0&&(n.splice(o,1),0===n.length&&delete gi[e])}var r=vi[e];if(r)for(var i=0,a=r;i<a.length;i++){a[i].notifyLayersChanged()}}function _i(e){var t=vi[e];return t?t.length:0}function Si(e){var t=vi[e];return t&&t[0]||void 0}function ki(e,t){(vi[e]||(vi[e]=[])).unshift(t)}function xi(e,t){var n=vi[e];if(n){var o=n.indexOf(t);o>=0&&n.splice(o,1),0===n.length&&delete vi[e]}}function wi(e){var t=e.createElement("div");return t.setAttribute("id","fluent-default-layer-host"),t.style.cssText="position:fixed;z-index:1000000",null==e||e.body.appendChild(t),t}function Ii(e){var t=e.querySelector("#".concat("fluent-default-layer-host"));t&&e.removeChild(t)}function Ei(e){gi[e]&&gi[e].forEach((function(e){return e()}))}function Oi(e){bi=e}function Ti(){return bi}var Di,Pi=L(),Ri=d.forwardRef((function(e,t){var n,o=null!==(n=d.useContext(ti))&&void 0!==n?n:ni,r=d.useRef(null),i=Ie(r,t),a=d.useRef(),s=d.useRef(null),l=d.useContext(Zn),c=d.useState(!1),p=c[0],f=c[1],h=d.useCallback((function(e){var t,n=!!(null==(t=null==l?void 0:l.providerRef)?void 0:t.current)&&t.current.classList.contains(Gn.a);e&&n&&e.classList.add(Gn.a)}),[l]),m=e.children,g=e.className,v=e.eventBubblingEnabled,b=e.fabricProps,y=e.hostId,C=e.insertFirst,_=e.onLayerDidMount,S=void 0===_?function(){}:_,k=e.onLayerMounted,x=void 0===k?function(){}:k,w=e.onLayerWillUnmount,I=e.styles,E=e.theme,T=Ie(s,null==b?void 0:b.ref,h),D=Pi(I,{theme:E,className:g,isNotHost:!y}),P=function(){null==w||w();var e=a.current;a.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},R=function(){var e,t=Object(O.a)(r.current);if(t){var n=function(e){var t,n;if(y){var o=Si(y);return o?null!==(t=o.rootRef.current)&&void 0!==t?t:null:null!==(n=e.getElementById(y))&&void 0!==n?n:null}var r=Ti(),i=r?e.querySelector(r):null;return i||(i=wi(e)),i}(t);if(n){P();var o=(null!==(e=n.ownerDocument)&&void 0!==e?e:t).createElement("div");o.className=D.root,Mn(o),mi(o,r.current),C?n.insertBefore(o,n.firstChild):n.appendChild(o),a.current=o,f(!0)}}};return we((function(){R(),y&&yi(y,R);var e=a.current?o(a.current):void 0;return function(){e&&e(),P(),y&&Ci(y,R)}}),[y]),d.useEffect((function(){a.current&&p&&(null==x||x(),null==S||S(),f(!1))}),[p,x,S]),d.createElement("span",{className:"ms-layer",ref:i},a.current&&oi.createPortal(d.createElement(ri,{layerRoot:!0,providerRef:T},d.createElement(hi,Object(u.a)({},!v&&function(){Di||(Di={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach((function(e){return Di[e]=Mi})));return Di}(),b,{className:Me(D.content,null==b?void 0:b.className),ref:T}),m)),a.current))}));Ri.displayName="LayerBase";var Mi=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var Ni={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Fi=function(e){var t=e.className,n=e.isNotHost,o=e.theme,r=Object(p.R)(Ni,o);return{root:[r.root,o.fonts.medium,n&&[r.rootNoHost,{position:"fixed",zIndex:p.G.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[r.content,{visibility:"visible"}]}},Bi=k(Ri,Fi,void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Li=d.forwardRef((function(e,t){var n=e.layerProps,o=e.doNotLayer,r=Object(u.d)(e,["layerProps","doNotLayer"]),i=d.createElement(ei,Object(u.a)({},r,{doNotLayer:o,ref:t}));return o?i:d.createElement(Bi,Object(u.a)({},n),i)}));Li.displayName="Callout";var Ai,ji=function(e){var t=e.item,n=e.classNames,o=t.iconProps;return d.createElement(Ge,Object(u.a)({},o,{className:n.icon}))},Hi=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,ji):ji(e):null},zi=function(e){var t=e.onCheckmarkClick,n=e.item,o=e.classNames,r=Bo(n);if(t){return d.createElement(Ge,{iconName:!1!==n.canCheck&&r?"CheckMark":"",className:o.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null},Wi=function(e){var t=e.item,n=e.classNames;return t.text||t.name?d.createElement("span",{className:n.label},t.text||t.name):null},Vi=function(e){var t=e.item,n=e.classNames;return t.secondaryText?d.createElement("span",{className:n.secondaryText},t.secondaryText):null},Ui=function(e){var t=e.item,n=e.classNames,o=e.theme;return Lo(t)?d.createElement(Ge,Object(u.a)({iconName:P(o)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null},Ki=function(e){function t(t){var n=e.call(this,t)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,o=e.openSubMenu,r=e.getSubmenuTarget;if(r){var i=r();Lo(t)&&o&&i&&o(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,o=e.dismissSubMenu;Lo(t)&&o&&o()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames,o=t.onRenderContent||this._renderLayout;return d.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},o(this.props,{renderCheckMarkIcon:zi,renderItemIcon:Hi,renderItemName:Wi,renderSecondaryText:Vi,renderSubMenuIcon:Ui}))},t.prototype._renderLayout=function(e,t){return d.createElement(d.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(d.Component),Gi=Object(f.c)((function(e){return Object(p.db)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),qi=Object(p.X)(0,p.t),Yi=Object(f.c)((function(e){var t,n,o,r,i,a=e.semanticColors,s=e.fonts,l=e.palette,c=a.menuItemBackgroundHovered,d=a.menuItemTextHovered,f=a.menuItemBackgroundPressed,h=a.bodyDivider,m={item:[s.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:h,position:"relative"},root:[Object(p.Q)(e),s.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[p.m]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:c,color:d,selectors:{".ms-ContextualMenu-icon":{color:l.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootFocused:{backgroundColor:l.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:l.neutralPrimary}}},rootPressed:{backgroundColor:f,selectors:{".ms-ContextualMenu-icon":{color:l.themeDark},".ms-ContextualMenu-submenuIcon":{color:l.neutralPrimary}}},rootExpanded:{backgroundColor:f,color:a.bodyTextChecked,selectors:(n={".ms-ContextualMenu-submenuIcon":(o={},o[p.m]={color:"inherit"},o)},n[p.m]=Object(u.a)({},Object(p.S)()),n)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:36,fontSize:p.p.medium,width:p.p.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(r={},r[qi]={fontSize:p.p.large,width:p.p.large},r)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:36,lineHeight:36,color:l.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:p.p.small,selectors:(i={":hover":{color:l.neutralPrimary},":active":{color:l.neutralPrimary}},i[qi]={fontSize:p.p.medium},i)},splitButtonFlexContainer:[Object(p.Q)(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Object(p.I)(m)})),Qi=Object(p.X)(0,p.t),Xi=Object(f.c)((function(e){var t;return Object(p.db)(Gi(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[Qi]={right:32},t)},divider:{height:16,width:1}})})),Zi={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"},$i=Object(f.c)((function(e,t,n,o,r,i,a,s,l,c,u,d){var f,h,m,g,v=Yi(e),b=Object(p.R)(Zi,e);return Object(p.db)({item:[b.item,v.item,a],divider:[b.divider,v.divider,s],root:[b.root,v.root,o&&[b.isChecked,v.rootChecked],r&&v.anchorLink,n&&[b.isExpanded,v.rootExpanded],t&&[b.isDisabled,v.rootDisabled],!t&&!n&&[{selectors:(f={":hover":v.rootHovered,":active":v.rootPressed},f[".".concat(Gn.a," &:focus, .").concat(Gn.a," &:focus:hover")]=v.rootFocused,f[".".concat(Gn.a," &:hover")]={background:"inherit;"},f)}],d],splitPrimary:[v.root,{width:"calc(100% - ".concat("28px",")")},o&&["is-checked",v.rootChecked],(t||u)&&["is-disabled",v.rootDisabled],!(t||u)&&!o&&[{selectors:(h={":hover":v.rootHovered},h[":hover ~ .".concat(b.splitMenu)]=v.rootHovered,h[":active"]=v.rootPressed,h[".".concat(Gn.a," &:focus, .").concat(Gn.a," &:focus:hover")]=v.rootFocused,h[".".concat(Gn.a," &:hover")]={background:"inherit;"},h)}]],splitMenu:[b.splitMenu,v.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},n&&["is-expanded",v.rootExpanded],t&&["is-disabled",v.rootDisabled],!t&&!n&&[{selectors:(m={":hover":v.rootHovered,":active":v.rootPressed},m[".".concat(Gn.a," &:focus, .").concat(Gn.a," &:focus:hover")]=v.rootFocused,m[".".concat(Gn.a," &:hover")]={background:"inherit;"},m)}]],anchorLink:v.anchorLink,linkContent:[b.linkContent,v.linkContent],linkContentMenu:[b.linkContentMenu,v.linkContent,{justifyContent:"center"}],icon:[b.icon,i&&v.iconColor,v.icon,l,t&&[b.isDisabled,v.iconDisabled]],iconColor:v.iconColor,checkmarkIcon:[b.checkmarkIcon,i&&v.checkmarkIcon,v.icon,l],subMenuIcon:[b.subMenuIcon,v.subMenuIcon,c,n&&{color:e.palette.neutralPrimary},t&&[v.iconDisabled]],label:[b.label,v.label],secondaryText:[b.secondaryText,v.secondaryText],splitContainer:[v.splitButtonFlexContainer,!t&&!o&&[{selectors:(g={},g[".".concat(Gn.a," &:focus, .").concat(Gn.a," &:focus:hover")]=v.rootFocused,g)}]],screenReaderText:[b.screenReaderText,v.screenReaderText,p.ab,{visibility:"hidden"}]})})),Ji=function(e){var t=e.theme,n=e.disabled,o=e.expanded,r=e.checked,i=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,l=e.dividerClassName,c=e.iconClassName,u=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return $i(t,n,o,r,i,a,s,l,c,u,d,p)},ea=k(Ki,Ji,void 0,{scope:"ContextualMenuItem"}),ta=function(e){function t(t){var n=e.call(this,t)||this;return n._onItemMouseEnter=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(o,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,o=t.item,r=t.onItemClickBase;r&&r(o,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,o=t.item,r=t.onItemMouseLeave;r&&r(o,e)},n._onItemKeyDown=function(e){var t=n.props,o=t.item,r=t.onItemKeyDown;r&&r(o,e)},n._onItemMouseMove=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(o,e,e.currentTarget)},n._getSubmenuTarget=function(){},Ct(n),n}return Object(u.c)(t,e),t.prototype.shouldComponentUpdate=function(e){return!uo(e,this.props)},t}(d.Component),na="ktp",oa="-",ra=na+oa,ia="data-ktp-target",aa="data-ktp-execute-target",sa="data-ktp-aria-target",la="ktp-layer-id",ca=", ";function ua(e){var t=Object(d.useRef)();return Object(d.useEffect)((function(){t.current=e})),t.current}!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(Ai||(Ai={}));var da=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e),this.sequenceMapping[n.keySequences.toString()]=n);var o=this._getUniqueKtp(n);if(t?this.persistedKeytips[o.uniqueID]=o:this.keytips[o.uniqueID]=o,this.inKeytipMode||!this.delayUpdatingKeytipChange){var r=t?Ai.PERSISTED_KEYTIP_ADDED:Ai.KEYTIP_ADDED;vo.raise(this,r,{keytip:n,uniqueID:o.uniqueID})}return o.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),o=this._getUniqueKtp(n,t),r=this.keytips[t];r&&(o.keytip.visible=r.keytip.visible,this.keytips[t]=o,delete this.sequenceMapping[r.keytip.keySequences.toString()],this.sequenceMapping[o.keytip.keySequences.toString()]=o.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||vo.raise(this,Ai.KEYTIP_UPDATED,{keytip:o.keytip,uniqueID:o.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?delete this.persistedKeytips[t]:delete this.keytips[t],!n&&delete this.sequenceMapping[e.keySequences.toString()];var o=n?Ai.PERSISTED_KEYTIP_REMOVED:Ai.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||vo.raise(this,o,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){vo.raise(this,Ai.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){vo.raise(this,Ai.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map((function(t){return e.keytips[t].keytip}))},e.prototype.addParentOverflow=function(e){var t=Object(u.e)([],e.keySequences,!0);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return Object(u.a)(Object(u.a)({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){vo.raise(this,Ai.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=bn()),{keytip:Object(u.a)({},e),uniqueID:t}},e._instance=new e,e}();function pa(e){return e.reduce((function(e,t){return e+oa+t.split("").join(oa)}),na)}function fa(e,t){var n=t.length,o=Object(u.e)([],t,!0).pop();return Ht(Object(u.e)([],e,!0),n-1,o)}function ha(e){return"["+ia+'="'+pa(e)+'"]'}function ma(e){return"["+aa+'="'+e+'"]'}function ga(e){var t=" "+la;return e.length?t+" "+pa(e):t}function va(e){var t=d.useRef(),n=e.keytipProps?Object(u.a)({disabled:e.disabled},e.keytipProps):void 0,o=jr(da.getInstance()),r=ua(e);we((function(){t.current&&n&&((null==r?void 0:r.keytipProps)!==e.keytipProps||(null==r?void 0:r.disabled)!==e.disabled)&&o.update(n,t.current)})),we((function(){return n&&(t.current=o.register(n)),function(){n&&o.unregister(n,t.current)}}),[]);var i={ariaDescribedBy:void 0,keytipId:void 0};return n&&(i=function(e,t,n){var o=e.addParentOverflow(t),r=wo(n,ga(o.keySequences)),i=Object(u.e)([],o.keySequences,!0);o.overflowSetSequence&&(i=fa(i,o.overflowSetSequence));var a=pa(i);return{ariaDescribedBy:r,keytipId:a}}(o,n,e.ariaDescribedBy)),i}var ba=function(e){var t,n=e.children,o=va(Object(u.d)(e,["children"])),r=o.keytipId,i=o.ariaDescribedBy;return n(((t={})[ia]=r,t[aa]=r,t["aria-describedby"]=i,t))},ya=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=d.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(f.c)((function(e){return Object(u.a)(Object(u.a)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,o=n.item,r=n.onItemClick;r&&r(o,e)},t._renderAriaDescription=function(e,n){return e?d.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t}return Object(u.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,r=t.index,i=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,l=t.hasIcons,c=t.contextualMenuItemAs,p=void 0===c?ea:c,f=t.expandedMenuItemKey,h=t.onItemClick,m=t.openSubMenu,g=t.dismissSubMenu,v=t.dismissMenu,b=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(b=b||"nofollow noopener noreferrer");var y=Lo(n),C=fe(n,X),_=Ao(n),S=n.itemProps,k=n.ariaDescription,x=n.keytipProps;x&&y&&(x=this._getMemoizedMenuButtonKeytipProps(x)),k&&(this._ariaDescriptionId=bn());var w=wo(n.ariaDescribedBy,k?this._ariaDescriptionId:void 0,C["aria-describedby"]),I={"aria-describedby":w};return d.createElement("div",null,d.createElement(ba,{keytipProps:n.keytipProps,ariaDescribedBy:w,disabled:_},(function(t){return d.createElement("a",Object(u.a)({},I,C,t,{ref:e._anchor,href:n.href,target:n.target,rel:b,className:o.root,role:"menuitem","aria-haspopup":y||void 0,"aria-expanded":y?n.key===f:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Ao(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:y?e._onItemKeyDown:void 0}),d.createElement(p,Object(u.a)({componentRef:n.componentRef,item:n,classNames:o,index:r,onCheckmarkClick:s&&h?h:void 0,hasIcons:l,openSubMenu:m,dismissSubMenu:g,dismissMenu:v,getSubmenuTarget:e._getSubmenuTarget},S)),e._renderAriaDescription(k,o.screenReaderText))})))},t}(ta),Ca=L(),_a=d.forwardRef((function(e,t){var n=e.styles,o=e.theme,r=e.getClassNames,i=e.className,a=Ca(n,{theme:o,getClassNames:r,className:i});return d.createElement("span",{className:a.wrapper,ref:t},d.createElement("span",{className:a.divider}))}));_a.displayName="VerticalDividerBase";var Sa=k(_a,(function(e){var t=e.theme,n=e.getClassNames,o=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var r=n(t);return{wrapper:[r.wrapper],divider:[r.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},o],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"}),ka=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=Object(f.c)((function(e){return Object(u.a)(Object(u.a)({},e),{hasMenu:!0})})),n._onItemKeyDown=function(e){var t=n.props,o=t.item,r=t.onItemKeyDown;e.which===E.enter?(n._executeItemClick(e),e.preventDefault(),e.stopPropagation()):r&&r(o,e)},n._getSubmenuTarget=function(){return n._splitButton},n._renderAriaDescription=function(e,t){return e?d.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n._onItemMouseEnterPrimary=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(Object(u.a)(Object(u.a)({},o),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseEnterIcon=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(o,e,n._splitButton)},n._onItemMouseMovePrimary=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(Object(u.a)(Object(u.a)({},o),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseMoveIcon=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(o,e,n._splitButton)},n._onIconItemClick=function(e){var t=n.props,o=t.item,r=t.onItemClickBase;r&&r(o,e,n._splitButton?n._splitButton:e.currentTarget)},n._executeItemClick=function(e){var t=n.props,o=t.item,r=t.executeItemClick,i=t.onItemClick;if(!o.disabled&&!o.isDisabled)return n._processingTouch&&!o.canCheck&&i?i(o,e):void(r&&r(o,e))},n._onTouchStart=function(e){n._splitButton&&!("onpointerdown"in n._splitButton)&&n._handleTouchAndPointerEvent(e)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},n._async=new wt(n),n._events=new vo(n),n._dismissLabelId=bn(),n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e,t=this,n=this.props,o=n.item,r=n.classNames,i=n.index,a=n.focusableElementIndex,s=n.totalItemCount,l=n.hasCheckmarks,c=n.hasIcons,p=n.onItemMouseLeave,f=n.expandedMenuItemKey,h=Lo(o),m=o.keytipProps;m&&(m=this._getMemoizedMenuButtonKeytipProps(m));var g=o.ariaDescription;g&&(this._ariaDescriptionId=bn());var v=null!==(e=Bo(o))&&void 0!==e?e:void 0;return d.createElement(ba,{keytipProps:m,disabled:Ao(o)},(function(e){return d.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){return t._splitButton=e},role:jo(o),"aria-label":o.ariaLabel,className:r.splitContainer,"aria-disabled":Ao(o),"aria-expanded":h?o.key===f:void 0,"aria-haspopup":!0,"aria-describedby":wo(o.ariaDescribedBy,g?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":v,"aria-posinset":a+1,"aria-setsize":s,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:p?p.bind(t,Object(u.a)(Object(u.a)({},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,r,i,l,c),t._renderSplitDivider(o),t._renderSplitIconButton(o,r,i,e),t._renderAriaDescription(g,r.screenReaderText))}))},t.prototype._renderSplitPrimaryButton=function(e,t,n,o,r){var i=this.props,a=i.contextualMenuItemAs,s=void 0===a?ea:a,l=i.onItemClick,c={key:e.key,disabled:Ao(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,id:this._dismissLabelId,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},p=e.itemProps;return d.createElement("button",Object(u.a)({},fe(c,Z)),d.createElement(s,Object(u.a)({"data-is-focusable":!1,item:c,classNames:t,index:n,onCheckmarkClick:o&&l?l:void 0,hasIcons:r},p)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||Xi;return d.createElement(Sa,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,o){var r=this.props,i=r.contextualMenuItemAs,a=void 0===i?ea:i,s=r.onItemMouseLeave,l=r.onItemMouseDown,c=r.openSubMenu,p=r.dismissSubMenu,f=r.dismissMenu,h={onClick:this._onIconItemClick,disabled:Ao(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},m=Object(u.a)(Object(u.a)({},fe(h,Z)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:s?s.bind(this,e):void 0,onMouseDown:function(t){return l?l(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":o["data-ktp-execute-target"],"aria-haspopup":!0}),g=e.itemProps;return d.createElement("button",Object(u.a)({},m),d.createElement(a,Object(u.a)({componentRef:e.componentRef,item:h,classNames:t,index:n,hasIcons:!1,openSubMenu:c,dismissSubMenu:p,dismissMenu:f,getSubmenuTarget:this._getSubmenuTarget},g)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0}),500)},t}(ta),xa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=d.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(f.c)((function(e){return Object(u.a)(Object(u.a)({},e),{hasMenu:!0})})),t._renderAriaDescription=function(e,n){return e?d.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return Object(u.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,r=t.index,i=t.focusableElementIndex,a=t.totalItemCount,s=t.hasCheckmarks,l=t.hasIcons,c=t.contextualMenuItemAs,p=void 0===c?ea:c,f=t.expandedMenuItemKey,h=t.onItemMouseDown,m=t.onItemClick,g=t.openSubMenu,v=t.dismissSubMenu,b=t.dismissMenu,y=Bo(n),C=null!==y,_=jo(n),S=Lo(n),k=n.itemProps,x=n.ariaLabel,w=n.ariaDescription,I=fe(n,Z);delete I.disabled;var E=n.role||_;w&&(this._ariaDescriptionId=bn());var O=wo(n.ariaDescribedBy,w?this._ariaDescriptionId:void 0,I["aria-describedby"]),T={className:o.root,onClick:this._onItemClick,onKeyDown:S?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return h?h(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":x,"aria-describedby":O,"aria-haspopup":S||void 0,"aria-expanded":S?n.key===f:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Ao(n),"aria-checked":"menuitemcheckbox"!==E&&"menuitemradio"!==E||!C?void 0:!!y,"aria-selected":"menuitem"===E&&C?!!y:void 0,role:E,style:n.style},D=n.keytipProps;return D&&S&&(D=this._getMemoizedMenuButtonKeytipProps(D)),d.createElement(ba,{keytipProps:D,ariaDescribedBy:O,disabled:Ao(n)},(function(t){return d.createElement("button",Object(u.a)({ref:e._btn},I,T,t),d.createElement(p,Object(u.a)({componentRef:n.componentRef,item:n,classNames:o,index:r,onCheckmarkClick:s&&m?m:void 0,hasIcons:l,openSubMenu:g,dismissSubMenu:v,dismissMenu:b,getSubmenuTarget:e._getSubmenuTarget},k)),e._renderAriaDescription(w,o.screenReaderText))}))},t}(ta);function wa(e,t){var n=d.useRef(t);return n.current||(n.current=bn(e)),n.current}var Ia=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];function Ea(e,t,n){void 0===n&&(n=Ia);var o=[],r=function(r){"function"!=typeof t[r]||void 0!==e[r]||n&&-1!==n.indexOf(r)||(o.push(r),e[r]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t[r].apply(t,e)})};for(var i in t)r(i);return o}function Oa(e,t){t.forEach((function(t){return delete e[t]}))}var Ta,Da=function(e){function t(t){var n=e.call(this,t)||this;return n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n}return Object(u.c)(t,e),t.prototype._updateComposedComponentRef=function(e){this._composedComponentInstance=e,e?this._hoisted=Ea(this,e):this._hoisted&&Oa(this,this._hoisted)},t}(d.Component);function Pa(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(Ta||(Ta={}));var Ra,Ma,Na=[479,639,1023,1365,1919,99999999];function Fa(e){Ra=e}function Ba(e){var t=Object(N.a)(e);t&&Ha(t)}function La(){var e;return null!==(e=null!=Ra?Ra:Ma)&&void 0!==e?e:Ta.large}function Aa(e){var t,n=((t=function(t){function n(e){var n=t.call(this,e)||this;return n._onResize=function(){var e=Ha(n.context.window);e!==n.state.responsiveMode&&n.setState({responsiveMode:e})},n._events=new vo(n),n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n.state={responsiveMode:La()},n}return Object(u.c)(n,t),n.prototype.componentDidMount=function(){this._events.on(this.context.window,"resize",this._onResize),this._onResize()},n.prototype.componentWillUnmount=function(){this._events.dispose()},n.prototype.render=function(){var t=this.state.responsiveMode;return t===Ta.unknown?null:d.createElement(e,Object(u.a)({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},n}(Da)).contextType=Rr,t);return Pa(e,n)}function ja(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}function Ha(e){var t=Ta.small;if(e){try{for(;ja(e)>Na[t];)t++}catch(e){t=La()}Ma=t}else{if(void 0===Ra)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");t=Ra}return t}var za=function(e,t){var n=d.useState(La()),o=n[0],r=n[1],i=d.useCallback((function(){var t=Ha(Object(N.a)(e.current));o!==t&&r(t)}),[e,o]);return Pr(Mr(),"resize",i),d.useEffect((function(){void 0===t&&i()}),[t]),null!=t?t:o},Wa=d.createContext({}),Va=L(),Ua=L(),Ka={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:Eo.bottomAutoEdge,beakWidth:16};function Ga(e){for(var t=0,n=0,o=e;n<o.length;n++){var r=o[n];if(r.itemType!==Oo.Divider&&r.itemType!==Oo.Header)t+=r.customOnRenderListLength?r.customOnRenderListLength:1}return t}function qa(e,t){var n=null==t?void 0:t.target,o=e.subMenuProps?e.subMenuProps.items:e.items;if(o){for(var r=[],i=0,a=o;i<a.length;i++){var s=a[i];if(s.preferMenuTargetAsEventTarget){var l=s.onClick,c=Object(u.d)(s,["onClick"]);r.push(Object(u.a)(Object(u.a)({},c),{onClick:ns(l,n)}))}else r.push(s)}return r}}function Ya(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}var Qa=Object(f.c)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return p.J.apply(void 0,Object(u.e)([t,Ji],e,!1))}}));function Xa(e,t){var n=e.hidden,o=e.items,r=e.theme,i=e.className,a=e.id,s=e.target,l=d.useState(),c=l[0],u=l[1],p=d.useState(),f=p[0],h=p[1],m=d.useState(),g=m[0],v=m[1],b=wa("ContextualMenu",a),y=d.useCallback((function(){v(void 0),u(void 0),h(void 0)}),[]),C=d.useCallback((function(e,t,n){var o=e.key;c!==o&&(t.focus(),v(n),u(o),h(t))}),[c]);d.useEffect((function(){n&&y()}),[n,y]);var _=function(e,t){var n=d.useRef(!1);return d.useEffect((function(){return n.current=!0,function(){n.current=!1}}),[]),function(o,r){r?e(o,r):n.current&&t()}}(t,y);return[c,C,function(){var e=function e(t,n){for(var o=0,r=n;o<r.length;o++){var i=r[o];if(i.itemType===Oo.Section&&i.sectionProps){var a=e(t,i.sectionProps.items);if(a)return a}else if(i.key&&i.key===t)return i}}(c,o),t=null;if(e&&(t={items:qa(e,{target:s}),target:f,onDismiss:_,isSubMenu:!0,id:b,shouldFocusOnMount:!0,shouldFocusOnContainer:g,directionalHint:P(r)?Eo.leftTopEdge:Eo.rightTopEdge,className:i,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&po(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var n=e.onItemClick;t.onItemClick=ns(n,s)}return t},_]}function Za(e,t,n,o){var r=e.theme,i=e.isSubMenu,a=e.focusZoneProps,s=void 0===a?{}:a,l=s.checkForNoWrap,c=s.direction,u=void 0===c?Ot.vertical:c,p=d.useRef(),f=function(e,n,o){var r=!1;return n(e)&&(t(e,o),e.preventDefault(),e.stopPropagation(),r=!0),r},h=function(e){return e.which===E.escape||function(e){var t=P(r)?E.right:E.left;return!(e.which!==t||!i)&&!(u!==Ot.vertical&&(!l||dn(e.target,"data-no-horizontal-wrap")))}(e)||e.which===E.up&&(e.altKey||e.metaKey)},m=function(e){p.current=Ja(e);var t=e.which===E.escape&&(Ro()||Fo());return f(e,h,t)},g=function(e){var t=p.current&&Ja(e);return p.current=!1,!!t&&!(Fo()||Ro())};return[m,function(e){return f(e,g,!0)},function(e){if(!m(e)&&n.current){var t=!(!e.altKey&&!e.metaKey),o=e.which===E.up,r=e.which===E.down;if(!t&&(o||r)){var i=o?$t(n.current,n.current.lastChild,!0):Zt(n.current,n.current.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},function(e,t){var n=P(r)?E.left:E.right;e.disabled||t.which!==n&&t.which!==E.enter&&(t.which!==E.down||!t.altKey&&!t.metaKey)||(o(e,t.currentTarget),t.preventDefault())}]}var $a=d.memo(d.forwardRef((function(e,t){var n,o=H(Ka,e),r=(o.ref,Object(u.d)(o,["ref"])),i=d.useRef(null),a=Dr(),s=wa("ContextualMenu",r.id),l=function(e,t){var n;return null===(n=r.onDismiss)||void 0===n?void 0:n.call(r,e,t)},c=Hr(r.target,i),p=c[0],f=c[1],h=function(e,t,n){var o=e.hidden,r=e.onRestoreFocus,i=d.useRef(),a=d.useCallback((function(e){var t,n;r?r(e):(null==e?void 0:e.documentContainsFocus)&&(null===(n=null===(t=i.current)||void 0===t?void 0:t.focus)||void 0===n||n.call(t))}),[r]);return we((function(){var e,r;if(o)i.current&&(a({originalElement:i.current,containsFocus:!0,documentContainsFocus:(null===(r=Object(O.a)())||void 0===r?void 0:r.hasFocus())||!1}),i.current=void 0);else{var s=null==t?void 0:t.document.activeElement;(null===(e=n.current)||void 0===e?void 0:e.contains(s))||"BODY"===s.tagName||(i.current=s)}}),[o,null==t?void 0:t.document.activeElement,a,n]),[a]}(r,f,i)[0],m=Xa(r,l),g=m[0],v=m[1],b=m[2],y=m[3],C=function(e){var t=e.delayUpdateFocusOnHover,n=e.hidden,o=d.useRef(!t),r=d.useRef(!1);d.useEffect((function(){o.current=!t,r.current=!n&&(!t&&r.current)}),[t,n]);var i=d.useCallback((function(){t&&(o.current=!1)}),[t]);return[o,r,i]}(r),_=C[0],S=C[1],k=C[2],x=function(e){var t=d.useRef(!0),n=d.useRef();return[function(){t.current||void 0===n.current?t.current=!1:(e.clearTimeout(n.current),n.current=void 0),n.current=e.setTimeout((function(){t.current=!0}),250)},t]}(a),w=x[0],I=x[1],E=function(e,t){var n=e.subMenuHoverDelay,o=void 0===n?250:n,r=d.useRef(void 0),i=function(){void 0!==r.current&&(t.clearTimeout(r.current),r.current=void 0)};return[i,function(e){r.current=t.setTimeout((function(){e(),i()}),o)},r]}(r,a),T=E[0],D=E[1],P=E[2],R=za(i,r.responsiveMode);!function(e,t){var n=e.hidden,o=void 0!==n&&n,r=e.onMenuDismissed,i=e.onMenuOpened,a=ua(o),s=d.useRef(i),l=d.useRef(r),c=d.useRef(e);s.current=i,l.current=r,c.current=e,d.useEffect((function(){var e,t;o&&!1===a?null===(e=l.current)||void 0===e||e.call(l,c.current):o||!1===a||null===(t=s.current)||void 0===t||t.call(s,c.current)}),[o,a]),d.useEffect((function(){return function(){var e;return null===(e=l.current)||void 0===e?void 0:e.call(l,c.current)}}),[])}(r);var M=Za(r,l,i,v),N=M[0],F=M[1],B=M[2],L=M[3],A=function(e,t,n,o,r,i,a,s,l,c,u,d,p){var f=e.target,h=function(){return!t.current||!i.current},m=function(e,t,n){var o=n||t.currentTarget;e.key!==a&&(c(),void 0===a&&o.focus(),Lo(e)?(t.stopPropagation(),l((function(){o.focus(),u(e,o,!0)}))):l((function(){d(t),o.focus()})))},g=function(t,n,o){var r=qa(t,{target:f});if(c(),Lo(t)||r&&r.length){if(t.key!==a){var i="boolean"==typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===n.nativeEvent.pointerType;u(t,o,i)}}else v(t,n);n.stopPropagation(),n.preventDefault()},v=function(t,n){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&os(n,f);var o=!1;t.onClick?o=!!t.onClick(n,t):e.onItemClick&&(o=!!e.onItemClick(n,t)),!o&&n.defaultPrevented||p(n,!0)}};return[function(e,t,n){r.current&&(i.current=!0),h()||m(e,t,n)},function(e,a,s){var l=a.currentTarget;r.current&&(i.current=!0,t.current&&void 0===n.current&&l!==(null==o?void 0:o.document.activeElement)&&m(e,a,s))},function(e,t){var n;if(!h()&&(c(),void 0===a))if(s.current.setActive)try{s.current.setActive()}catch(e){}else null===(n=s.current)||void 0===n||n.focus()},function(e,t){g(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,g]}(r,I,P,f,_,S,g,i,D,T,v,y,l),j=A[0],z=A[1],W=A[2],V=A[3],U=A[4],K=A[5],G=A[6],q=function(e,t,n){var o=0,r=e.items,i=e.totalItemCount,a=e.hasCheckmarks,s=e.hasIcons;return d.createElement("ul",{className:t.list,onKeyDown:N,onKeyUp:F,role:"presentation"},r.map((function(e,n){var r=Y(e,n,o,i,a,s,t);if(e.itemType!==Oo.Divider&&e.itemType!==Oo.Header){var l=e.customOnRenderListLength?e.customOnRenderListLength:1;o+=l}return r})))},Y=function(e,t,n,o,i,a,s){var l,c,u=[],p=e.iconProps||{iconName:"None"},f=e.getItemClassNames,h=e.itemProps,m=h?h.styles:void 0,v=e.itemType===Oo.Divider?e.className:void 0,b=e.submenuIconProps?e.submenuIconProps.className:"";if(f)c=f(r.theme,Ao(e),g===e.key,!!Bo(e),!!e.href,"None"!==p.iconName,e.className,v,p.className,b,e.primaryDisabled);else{var y={theme:r.theme,disabled:Ao(e),expanded:g===e.key,checked:!!Bo(e),isAnchorLink:!!e.href,knownIcon:"None"!==p.iconName,itemClassName:e.className,dividerClassName:v,iconClassName:p.className,subMenuClassName:b,primaryDisabled:e.primaryDisabled};c=Ua(Qa(null===(l=s.subComponentStyles)||void 0===l?void 0:l.menuItem,m),y)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=Oo.Divider),e.itemType){case Oo.Divider:u.push(Z(t,c));break;case Oo.Header:u.push(Z(t,c));var C=J(e,c,s,t,i,a);u.push(X(C,e.key||t,c,e.title));break;case Oo.Section:u.push(Q(e,c,s,t,i,a));break;default:var _=function(){return $(e,c,t,n,o,i,a)},S=r.onRenderContextualMenuItem?r.onRenderContextualMenuItem(e,_):_();u.push(X(S,e.key||t,c,e.title))}return d.createElement(d.Fragment,{key:e.key},u)},Q=function(e,t,n,o,r,i){var a=e.sectionProps;if(a){var l,c;if(a.title){var p=void 0,f="";if("string"==typeof a.title){var h=s+a.title.replace(/\s/g,"");p={key:"section-".concat(a.title,"-title"),itemType:Oo.Header,text:a.title,id:h},f=h}else{var m=a.title.id||s+a.title.key.replace(/\s/g,"");p=Object(u.a)(Object(u.a)({},a.title),{id:m}),f=m}p&&(c={role:"group","aria-labelledby":f},l=J(p,t,n,o,r,i))}if(a.items&&a.items.length>0){var g=0;return d.createElement("li",{role:"presentation",key:a.key||e.key||"section-".concat(o)},d.createElement("div",Object(u.a)({},c),d.createElement("ul",{className:n.list,role:"presentation"},a.topDivider&&Z(o,t,!0,!0),l&&X(l,e.key||o,t,e.title),a.items.map((function(e,t){var o=Y(e,t,g,Ga(a.items),r,i,n);if(e.itemType!==Oo.Divider&&e.itemType!==Oo.Header){var s=e.customOnRenderListLength?e.customOnRenderListLength:1;g+=s}return o})),a.bottomDivider&&Z(o,t,!1,!0))))}}},X=function(e,t,n,o){return d.createElement("li",{role:"presentation",title:o,key:t,className:n.item},e)},Z=function(e,t,n,o){return o||e>0?d.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},$=function(e,t,n,o,i,a,s){if(e.onRender)return e.onRender(Object(u.a)({"aria-posinset":o+1,"aria-setsize":i},e),l);var c={item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:i,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:r.contextualMenuItemAs,onItemMouseEnter:j,onItemMouseLeave:W,onItemMouseMove:z,onItemMouseDown:es,executeItemClick:K,onItemKeyDown:L,expandedMenuItemKey:g,openSubMenu:v,dismissSubMenu:y,dismissMenu:l};return e.href?d.createElement(ya,Object(u.a)({},c,{onItemClick:U})):e.split&&Lo(e)?d.createElement(ka,Object(u.a)({},c,{onItemClick:V,onItemClickBase:G,onTap:T})):d.createElement(xa,Object(u.a)({},c,{onItemClick:V,onItemClickBase:G}))},J=function(e,t,n,o,i,a){var s=r.contextualMenuItemAs,l=void 0===s?ea:s,c=e.itemProps,p=e.id,f=c&&fe(c,pe);return d.createElement("div",Object(u.a)({id:p,className:n.header},f,{style:e.style}),d.createElement(l,Object(u.a)({item:e,classNames:t,index:o,onCheckmarkClick:i?V:void 0,hasIcons:a},c)))},ee=r.isBeakVisible,te=r.items,ne=r.labelElementId,oe=r.id,re=r.className,ie=r.beakWidth,ae=r.directionalHint,se=r.directionalHintForRTL,le=r.alignTargetEdge,ce=r.gapSpace,ue=r.coverTarget,de=r.ariaLabel,he=r.doNotLayer,me=r.target,ge=r.bounds,ve=r.useTargetWidth,be=r.useTargetAsMinWidth,ye=r.directionalHintFixed,Ce=r.shouldFocusOnMount,_e=r.shouldFocusOnContainer,Se=r.title,ke=r.styles,xe=r.theme,Ie=r.calloutProps,Ee=r.onRenderSubMenu,Oe=void 0===Ee?ts:Ee,Te=r.onRenderMenuList,De=void 0===Te?function(e,t){return q(e,Ne)}:Te,Pe=r.focusZoneProps,Re=r.getMenuClassNames,Ne=Re?Re(xe,re):Va(ke,{theme:xe,className:re}),Fe=function e(t){for(var n=0,o=t;n<o.length;n++){var r=o[n];if(r.iconProps)return!0;if(r.itemType===Oo.Section&&r.sectionProps&&e(r.sectionProps.items))return!0}return!1}(te);var Be,Le=Object(u.a)(Object(u.a)({direction:Ot.vertical,handleTabKey:Mt.all,isCircularNavigation:!0},Pe),{className:Me(Ne.root,null===(n=r.focusZoneProps)||void 0===n?void 0:n.className)}),Ae=Ya(te),je=g&&!0!==r.hidden?b():null;ee=void 0===ee?R<=Ta.medium:ee;var He=p.current;if((ve||be)&&He&&He.offsetWidth){var ze=He.getBoundingClientRect().width-2;ve?Be={width:ze}:be&&(Be={minWidth:ze})}if(te&&te.length>0){var We=Ga(te),Ve=Ne.subComponentStyles?Ne.subComponentStyles.callout:void 0;return d.createElement(Wa.Consumer,null,(function(e){return d.createElement(Li,Object(u.a)({styles:Ve,onRestoreFocus:h},Ie,{target:me||e.target,isBeakVisible:ee,beakWidth:ie,directionalHint:ae,directionalHintForRTL:se,gapSpace:ce,coverTarget:ue,doNotLayer:he,className:Me("ms-ContextualMenu-Callout",Ie&&Ie.className),setInitialFocus:Ce,onDismiss:r.onDismiss||e.onDismiss,onScroll:w,bounds:ge,directionalHintFixed:ye,alignTargetEdge:le,hidden:r.hidden||e.hidden,ref:t}),d.createElement("div",{style:Be,ref:i,id:oe,className:Ne.container,tabIndex:_e?0:-1,onKeyDown:B,onKeyUp:F,onFocusCapture:k,"aria-label":de,"aria-labelledby":ne,role:"menu"},Se&&d.createElement("div",{className:Ne.title}," ",Se," "),te&&te.length?function(e,t){var n=r.focusZoneAs,o=void 0===n?zn:n;return d.createElement(o,Object(u.a)({},t),e)}(De({ariaLabel:de,items:te,totalItemCount:We,hasCheckmarks:Ae,hasIcons:Fe,defaultMenuItemRenderer:function(e){return function(e,t){var n=e.index,o=e.focusableElementIndex,r=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return Y(e,n,o,r,i,a,t)}(e,Ne)},labelElementId:ne},(function(e,t){return q(e,Ne)})),Le):null,je&&Oe(je,ts)),d.createElement(Jn,null))}))}return null})),(function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||uo(e,t)}));function Ja(e){return e.which===E.alt||"Meta"===e.key}function es(e,t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,e,t)}function ts(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function ns(e,t){return e?function(n,o){return os(n,t),e(n,o)}:e}function os(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}$a.displayName="ContextualMenuBase";var rs={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function is(e){return d.createElement(as,Object(u.a)({},e))}var as=k($a,(function(e){var t=e.className,n=e.theme,o=Object(p.R)(rs,n),r=n.fonts,i=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,o.root,o.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[o.container,{selectors:{":focus":{outline:0}}}],list:[o.list,o.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[o.header,r.small,{fontWeight:p.l.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[o.title,{fontSize:r.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(e){return{onRenderSubMenu:e.onRenderSubMenu?Po(e.onRenderSubMenu,is):is}}),{scope:"ContextualMenu"}),ss=as;ss.displayName="ContextualMenu";var ls={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"},cs=Object(f.c)((function(e,t,n,o,r,i,a,s,l,c,u){var d,f,h=Object(p.R)(ls,e||{}),m=c&&!u;return Object(p.db)({root:[h.msButton,t.root,o,l&&["is-checked",t.rootChecked],m&&["is-expanded",t.rootExpanded,{selectors:(d={},d[":hover .".concat(h.msButtonIcon)]=t.iconExpandedHovered,d[":hover .".concat(h.msButtonMenuIcon)]=t.menuIconExpandedHovered||t.rootExpandedHovered,d[":hover"]=t.rootExpandedHovered,d)}],s&&[ls.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!m&&!l&&{selectors:(f={":hover":t.rootHovered},f[":hover .".concat(h.msButtonLabel)]=t.labelHovered,f[":hover .".concat(h.msButtonIcon)]=t.iconHovered,f[":hover .".concat(h.msButtonDescription)]=t.descriptionHovered,f[":hover .".concat(h.msButtonMenuIcon)]=t.menuIconHovered,f[":focus"]=t.rootFocused,f[":active"]=t.rootPressed,f[":active .".concat(h.msButtonIcon)]=t.iconPressed,f[":active .".concat(h.msButtonDescription)]=t.descriptionPressed,f[":active .".concat(h.msButtonMenuIcon)]=t.menuIconPressed,f)},a&&l&&[t.rootCheckedDisabled],!a&&l&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},n],flexContainer:[h.msButtonFlexContainer,t.flexContainer],textContainer:[h.msButtonTextContainer,t.textContainer],icon:[h.msButtonIcon,r,t.icon,m&&t.iconExpanded,l&&t.iconChecked,a&&t.iconDisabled],label:[h.msButtonLabel,t.label,l&&t.labelChecked,a&&t.labelDisabled],menuIcon:[h.msButtonMenuIcon,i,t.menuIcon,l&&t.menuIconChecked,a&&!u&&t.menuIconDisabled,!a&&!m&&!l&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},m&&["is-expanded",t.menuIconExpanded]],description:[h.msButtonDescription,t.description,l&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[h.msButtonScreenReaderText,t.screenReaderText]})})),us=Object(f.c)((function(e,t,n,o,r){return{root:Object(p.eb)(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],o&&!t&&[e.splitButtonMenuButtonChecked],r&&!t&&[{selectors:{":focus":e.splitButtonMenuFocused}}]),splitButtonContainer:Object(p.eb)(e.splitButtonContainer,!t&&o&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!o&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Object(p.eb)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&r&&e.splitButtonMenuIcon),flexContainer:Object(p.eb)(e.splitButtonFlexContainer),divider:Object(p.eb)(e.splitButtonDivider,(r||t)&&e.splitButtonDividerDisabled)}}));var ds=Object(f.a)((function(e){var t=e;return Object(f.a)((function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var o=n,r=Object(f.a)((function(e){return function(t){return d.createElement(o,Object(u.a)({},t,{defaultRender:e}))}}));return function(e){var n=e.defaultRender;return d.createElement(t,Object(u.a)({},e,{defaultRender:n?r(n):o}))}}))}));function ps(e,t){return ds(e)(t)}var fs=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=d.createRef(),n._splitButtonContainer=d.createRef(),n._mergedRef=Ut(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=Object(f.c)((function(e){return Object(u.a)(Object(u.a)({},e),{hasMenu:!0})})),n._onRenderIcon=function(e,t){var o=n.props.iconProps;if(o&&(void 0!==o.iconName||o.imageProps)){var r=o.className,i=o.imageProps,a=Object(u.d)(o,["className","imageProps"]);if(o.styles)return d.createElement(Ge,Object(u.a)({className:Me(n._classNames.icon,r),imageProps:i},a));if(o.iconName)return d.createElement(We,Object(u.a)({className:Me(n._classNames.icon,r)},a));if(i)return d.createElement(Io,Object(u.a)({className:Me(n._classNames.icon,r),imageProps:i},a))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,o=e.children,r=e.secondaryText,i=void 0===r?n.props.description:r,a=e.onRenderText,s=void 0===a?n._onRenderText:a,l=e.onRenderDescription,c=void 0===l?n._onRenderDescription:l;return t||"string"==typeof o||i?d.createElement("span",{className:n._classNames.textContainer},s(n.props,n._onRenderText),c(n.props,n._onRenderDescription)):[s(n.props,n._onRenderText),c(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?d.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,o=void 0===t?n.props.description:t;return o?d.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},o):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?d.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return d.createElement(We,Object(u.a)({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.menuAs?ps(n.props.menuAs,ss):ss;return d.createElement(t,Object(u.a)({},e))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&Nn(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu();var t=n._processingTouch&&!n.props.toggle;!t&&n.props.onClick?n.props.onClick(e):t&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==E.enter&&e.which!==E.space?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===E.enter||e.which===E.space?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){var t;if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var o=e.which===E.up,r=e.which===E.down;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var i=n.props.onMenuClick;i&&i(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(e.which!==E.enter&&e.which!==E.space||Object(Gn.b)(!0,e.target,null===(t=n.context)||void 0===t?void 0:t.registeredProviders),!e.altKey&&!e.metaKey&&(o||r))if(!n.state.menuHidden&&n.props.menuProps)(void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate())}},n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props,o=t.onMenuClick,r=t.menuProps;o&&o(e,n.props);var i="boolean"==typeof(null==r?void 0:r.shouldFocusOnContainer)?r.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(n._onToggleMenu(i),e.preventDefault(),e.stopPropagation())},Ct(n),n._async=new wt(n),n._events=new vo(n),n.props.split,n._labelId=bn(),n._descriptionId=bn(),n._ariaDescriptionId=bn(),n.state={menuHidden:!0},n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,o=t.ariaLabel,r=t.ariaHidden,i=t.className,a=t.disabled,s=t.allowDisabledFocus,l=t.primaryDisabled,c=t.secondaryText,u=void 0===c?this.props.description:c,d=t.href,p=t.iconProps,f=t.menuIconProps,h=t.styles,m=t.checked,g=t.variantClassName,v=t.theme,b=t.toggle,y=t.getClassNames,C=t.role,_=this.state.menuHidden,S=a||l;this._classNames=y?y(v,i,g,p&&p.className,f&&f.className,S,m,!_,!!this.props.menuProps,this.props.split,!!s):cs(v,h,i,g,p&&p.className,f&&f.className,S,!!this.props.menuProps,m,!_,this.props.split);var k=this._ariaDescriptionId,x=this._labelId,w=this._descriptionId,I=!S&&!!d,E=I?"a":"button",O=fe(po(I?{}:{type:"button"},this.props.rootProps,this.props),I?X:Z,["disabled"]),T=o||O["aria-label"],D=void 0;n?D=k:u&&this.props.onRenderDescription!==xo?D=w:O["aria-describedby"]&&(D=O["aria-describedby"]);var P=void 0;O["aria-labelledby"]?P=O["aria-labelledby"]:D&&!T&&(P=this._hasText()?x:void 0);var R=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),M="menuitemcheckbox"===C||"checkbox"===C,N=M||!0===b?!!m:void 0,F=po(O,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:S&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":T,"aria-labelledby":P,"aria-describedby":D,"aria-disabled":S,"data-is-focusable":R})[M?"aria-checked":"aria-pressed"]=N,e));if(r&&(F["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(E,F);if(this.props.menuProps){var B=this.props.menuProps.id,L=void 0===B?"".concat(this._labelId,"-menu"):B;po(F,{"aria-expanded":!_,"aria-controls":_?null:L,"aria-haspopup":!0})}return this._onRenderContent(E,F)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){var e,t;this._isSplitButton&&this._splitButtonContainer.current?(Object(Gn.b)(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(Object(Gn.b)(!0,void 0,null===(t=this.context)||void 0===t?void 0:t.registeredProviders),this._buttonElement.current.focus())},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,o=this.props,r=e,i=o.menuIconProps,a=o.menuProps,s=o.onRenderIcon,l=void 0===s?this._onRenderIcon:s,c=o.onRenderAriaDescription,p=void 0===c?this._onRenderAriaDescription:c,f=o.onRenderChildren,h=void 0===f?this._onRenderChildren:f,m=o.onRenderMenu,g=void 0===m?this._onRenderMenu:m,v=o.onRenderMenuIcon,b=void 0===v?this._onRenderMenuIcon:v,y=o.disabled,C=o.keytipProps;C&&a&&(C=this._getMemoizedMenuButtonKeytipProps(C));var _=function(e){return d.createElement(r,Object(u.a)({},t,e),d.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},l(o,n._onRenderIcon),n._onRenderTextContents(),p(o,n._onRenderAriaDescription),h(o,n._onRenderChildren),!n._isSplitButton&&(a||i||n.props.onRenderMenuIcon)&&b(n.props,n._onRenderMenuIcon),a&&!a.doNotLayer&&n._shouldRenderMenu()&&g(n._getMenuProps(a),n._onRenderMenu)))},S=C?d.createElement(ba,{keytipProps:this._isSplitButton?void 0:C,ariaDescribedBy:t["aria-describedby"],disabled:y},(function(e){return _(e)})):_();return a&&a.doNotLayer?d.createElement(d.Fragment,null,S,this._shouldRenderMenu()&&g(this._getMenuProps(a),this._onRenderMenu)):d.createElement(d.Fragment,null,S,d.createElement(Jn,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,o=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!o)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,n=this.state.menuHidden;return e.ariaLabel||e.labelElementId||!this._hasText()||(e=Object(u.a)(Object(u.a)({},e),{labelElementId:this._labelId})),Object(u.a)(Object(u.a)({id:this._labelId+"-menu",directionalHint:Eo.bottomLeftEdge},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?n:void 0,className:Me("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,o=this.props,r=o.styles,i=void 0===r?{}:r,a=o.disabled,s=o.allowDisabledFocus,l=o.checked,c=o.getSplitButtonClassNames,p=o.primaryDisabled,f=o.menuProps,h=o.toggle,m=o.role,g=o.primaryActionButtonProps,v=this.props.keytipProps,b=this.state.menuHidden,y=c?c(!!a,!b,!!l,!!s):i&&us(i,!!a,!b,!!l,!!p);po(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),v&&f&&(v=this._getMemoizedMenuButtonKeytipProps(v));var C=fe(t,[],["disabled"]);g&&po(t,g);var _=function(o){return d.createElement("div",Object(u.a)({},C,{"data-ktp-target":o?o["data-ktp-target"]:void 0,role:m||"button","aria-disabled":a,"aria-haspopup":!0,"aria-expanded":!b,"aria-pressed":h?!!l:void 0,"aria-describedby":wo(t["aria-describedby"],o?o["aria-describedby"]:void 0),className:y&&y.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:a||p?void 0:n._onSplitButtonPrimaryClick,tabIndex:!a&&!p||s?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),d.createElement("span",{style:{display:"flex",width:"100%"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(y,o),n._onRenderSplitButtonDivider(y)))};return v?d.createElement(ba,{keytipProps:v,disabled:a},(function(e){return _(e)})):_()},t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return d.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var o=this.props,r=o.allowDisabledFocus,i=o.checked,a=o.disabled,s=o.splitButtonMenuProps,l=o.splitButtonAriaLabel,c=o.primaryDisabled,p=this.state.menuHidden,f=this.props.menuIconProps;void 0===f&&(f={iconName:"ChevronDown"});var h=Object(u.a)(Object(u.a)({},s),{styles:e,checked:i,disabled:a,allowDisabledFocus:r,onClick:this._onMenuClick,menuProps:void 0,iconProps:Object(u.a)(Object(u.a)({},f),{className:this._classNames.menuIcon}),ariaLabel:l,"aria-haspopup":!0,"aria-expanded":!p,"data-is-focusable":!1});return d.createElement(t,Object(u.a)({},h,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:c&&!r?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.state.menuHidden&&e.focus()}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===E.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=Zn,t}(d.Component),hs=n(44);function ms(e,t,n){return function(o){var r,i=((r=function(r){function i(e){var t=r.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return Object(u.c)(i,r),i.prototype.componentDidMount=function(){y.a.observe(this._onSettingChanged)},i.prototype.componentWillUnmount=function(){y.a.unobserve(this._onSettingChanged)},i.prototype.render=function(){var r=this;return d.createElement(C.Consumer,null,(function(i){var a=y.a.getSettings(t,e,i.customizations),s=r.props;if(a.styles&&"function"==typeof a.styles&&(a.styles=a.styles(Object(u.a)(Object(u.a)({},a),s))),n&&a.styles){if(r._styleCache.default!==a.styles||r._styleCache.component!==s.styles){var l=Object(hs.a)(a.styles,s.styles);r._styleCache.default=a.styles,r._styleCache.component=s.styles,r._styleCache.merged=l}return d.createElement(o,Object(u.a)({},a,s,{styles:r._styleCache.merged}))}return d.createElement(o,Object(u.a)({},a,s))}))},i.prototype._onSettingChanged=function(){this.forceUpdate()},i}(d.Component)).displayName="Customized"+e,r);return Pa(o,i)}}var gs,vs={outline:0},bs=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},ys=Object(f.c)((function(e){var t,n,o=e.semanticColors,r=e.effects,i=e.fonts,a=o.buttonBorder,s=o.disabledBackground,l=o.disabledText,c={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[Object(p.Q)(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),e.fonts.medium,{border:"1px solid "+a,borderRadius:r.roundedCorner2,boxSizing:"border-box",cursor:"pointer",display:"inline-block",padding:"0 16px",textDecoration:"none",textAlign:"center",userSelect:"none",selectors:{":active > span":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(p.Q)(e,{inset:1,highContrastStyle:c,borderColor:"transparent"}),{backgroundColor:s,borderColor:s,color:l,cursor:"default",selectors:{":hover":vs,":focus":vs}}],iconDisabled:{color:l,selectors:(t={},t[p.m]={color:"GrayText"},t)},menuIconDisabled:{color:l,selectors:(n={},n[p.m]={color:"GrayText"},n)},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:bs(i.mediumPlus.fontSize),menuIcon:bs(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:p.ab}})),Cs=Object(f.c)((function(e,t){var n,o,r,i,a,s,l,c,d,f,h,m,g,v=e.effects,b=e.palette,y=e.semanticColors,C={left:-2,top:-2,bottom:-2,right:-2,border:"none"},_={position:"absolute",width:1,right:31,top:8,bottom:8},S={splitButtonContainer:[Object(p.Q)(e,{highContrastStyle:C,inset:2,pointerEvents:"none"}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",selectors:(n={},n[p.m]=Object(u.a)({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},Object(p.S)()),n[":hover"]={border:"none"},n[":active"]={border:"none"},n)},".ms-Button--primary + .ms-Button":{border:"none",selectors:(o={},o[p.m]={border:"1px solid WindowText",borderLeftWidth:"0"},o)}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(r={},r[p.m]={color:"Window",backgroundColor:"Highlight"},r)},".ms-Button.is-disabled":{color:y.buttonTextDisabled,selectors:(i={},i[p.m]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(a={},a[p.m]=Object(u.a)({color:"Window",backgroundColor:"WindowText"},Object(p.S)()),a)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(s={},s[p.m]=Object(u.a)({color:"Window",backgroundColor:"WindowText"},Object(p.S)()),s)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(l={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:v.roundedCorner2,borderBottomRightRadius:v.roundedCorner2,border:"1px solid ".concat(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},l[p.m]={".ms-Button-menuIcon":{color:"WindowText"}},l),splitButtonDivider:Object(u.a)(Object(u.a)({},_),{selectors:(c={},c[p.m]={backgroundColor:"WindowText"},c)}),splitButtonDividerDisabled:Object(u.a)(Object(u.a)({},_),{selectors:(d={},d[p.m]={backgroundColor:"GrayText"},d)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(f={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(h={},h[p.m]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},h)},".ms-Button-menuIcon":{selectors:(m={},m[p.m]={color:"GrayText"},m)}},f[p.m]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},f)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(g={},g[p.m]=Object(u.a)({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},Object(p.S)()),g)},splitButtonMenuFocused:Object(u.a)({},Object(p.Q)(e,{highContrastStyle:C,inset:2}))};return Object(p.I)(S,t)})),_s=Object(f.c)((function(e,t){var n,o=ys(e),r=Cs(e),i=e.palette,a={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:{color:i.themeDarkAlt,backgroundColor:i.neutralLighter,selectors:(n={},n[p.m]={borderColor:"Highlight",color:"Highlight"},n)},rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}};return Object(p.I)(o,a,r,t)})),Ss=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return d.createElement(fs,Object(u.a)({},this.props,{variantClassName:"ms-Button--icon",styles:_s(n,t),onRenderText:xo,onRenderDescription:xo}))},t=Object(u.b)([ms("IconButton",["theme","styles"],!0)],t)}(d.Component);!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(gs||(gs={}));var ks=function(){var e={};return{getCachedMeasurement:function(t){if(t&&t.cacheKey&&e.hasOwnProperty(t.cacheKey))return e[t.cacheKey]},addMeasurementToCache:function(t,n){t.cacheKey&&(e[t.cacheKey]=n)}}},xs=function(e){void 0===e&&(e=ks());var t,n=e;function o(e,t){var o=n.getCachedMeasurement(e);if(void 0!==o)return o;var r=t();return n.addMeasurementToCache(e,r),r}function r(e,r,i){for(var a=e,s=o(e,i);s>t;){var l=r(a);if(void 0===l)return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(s=n.getCachedMeasurement(l)))return{dataToMeasure:l,resizeDirection:"shrink"};a=l}return{renderedData:a,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,i,a,s){if(void 0!==s||void 0!==i.dataToMeasure){if(s){if(t&&i.renderedData&&!i.dataToMeasure)return Object(u.a)(Object(u.a)({},i),function(e,n,o,r){var i;return i=e>t?r?{resizeDirection:"grow",dataToMeasure:r(o)}:{resizeDirection:"shrink",dataToMeasure:n}:{resizeDirection:"shrink",dataToMeasure:o},t=e,Object(u.a)(Object(u.a)({},i),{measureContainer:!1})}(s,e.data,i.renderedData,e.onGrowData));t=s}var l=Object(u.a)(Object(u.a)({},i),{measureContainer:!1});return i.dataToMeasure&&(l="grow"===i.resizeDirection&&e.onGrowData?Object(u.a)(Object(u.a)({},l),function(e,i,a,s){for(var l=e,c=o(e,a);c<t;){var d=i(l);if(void 0===d)return{renderedData:l,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(c=n.getCachedMeasurement(d)))return{dataToMeasure:d};l=d}return Object(u.a)({resizeDirection:"shrink"},r(l,s,a))}(i.dataToMeasure,e.onGrowData,a,e.onReduceData)):Object(u.a)(Object(u.a)({},l),r(i.dataToMeasure,e.onReduceData,a))),l}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==n.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:Object(u.a)({},e),resizeDirection:"grow",measureContainer:!0}}}},ws=d.createContext({isMeasured:!1}),Is={position:"fixed",visibility:"hidden"},Es={position:"relative"};function Os(e,t){var n;switch(t.type){case"resizeData":return Object(u.a)({},t.value);case"dataToMeasure":return Object(u.a)(Object(u.a)({},e),{dataToMeasure:t.value,resizeDirection:"grow",measureContainer:!0});default:return Object(u.a)(Object(u.a)({},e),((n={})[t.type]=t.value,n))}}function Ts(e,t){var n=jr(xs),o=d.useRef(null),r=d.useRef(null),i=d.useRef(!1),a=Dr(),s=function(e,t,n){var o=jr((function(){return t.getInitialResizeGroupState(e.data)})),r=d.useReducer(Os,o),i=r[0],a=r[1];d.useEffect((function(){a({type:"dataToMeasure",value:e.data})}),[e.data]);var s=d.useRef(o);return s.current=Object(u.a)({},i),[s,d.useCallback((function(e){e&&a({type:"resizeData",value:e})}),[]),d.useCallback((function(){n.current&&a({type:"measureContainer",value:!0})}),[n])]}(e,n,t),l=s[0],c=s[1],p=s[2];d.useEffect((function(){var t;l.current.renderedData&&(i.current=!0,null===(t=e.dataDidRender)||void 0===t||t.call(e,l.current.renderedData))})),d.useEffect((function(){a.requestAnimationFrame((function(){var a=void 0;if(l.current.measureContainer&&t.current){var s=t.current.getBoundingClientRect();a=e.direction===gs.vertical?s.height:s.width}var u=n.getNextState(e,l.current,(function(){var t=i.current?r:o;if(!t.current)return 0;var n=t.current.getBoundingClientRect();return e.direction===gs.vertical?n.height:n.width}),a);c(u)}),t.current)})),Pr(Mr(),"resize",a.debounce(p,16,{leading:!0}));var f=n.shouldRenderDataForMeasurement(l.current.dataToMeasure),h=!i.current&&f;return[l.current.dataToMeasure,l.current.renderedData,p,o,r,f,h]}var Ds={isMeasured:!0},Ps=d.forwardRef((function(e,t){var n=d.useRef(null),o=Ie(n,t),r=Ts(e,n),i=r[0],a=r[1],s=r[2],l=r[3],c=r[4],p=r[5],f=r[6];d.useImperativeHandle(e.componentRef,(function(){return{remeasure:s}}),[s]);var h=e.className,m=e.onRenderData,g=fe(e,pe,["data"]);return d.createElement("div",Object(u.a)({},g,{className:h,ref:o}),d.createElement("div",{style:Es},p&&!f&&d.createElement("div",{style:Is,ref:c},d.createElement(ws.Provider,{value:Ds},m(i))),d.createElement("div",{ref:l,style:f?Is:void 0,"data-automation-id":"visibleContent"},f?m(i):a&&m(a))))}));Ps.displayName="ResizeGroupBase";var Rs,Ms=Ps;function Ns(e){return e.clientWidth<e.scrollWidth}function Fs(e){return e.clientHeight<e.scrollHeight}function Bs(e){return Ns(e)||Fs(e)}!function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(Rs||(Rs={}));var Ls,As=L(),js=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderContent=function(e){return"string"==typeof e.content?d.createElement("p",{className:t._classNames.subText},e.content):d.createElement("div",{className:t._classNames.subText},e.content)},t}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.calloutProps,o=e.directionalHint,r=e.directionalHintForRTL,i=e.styles,a=e.id,s=e.maxWidth,l=e.onRenderContent,c=void 0===l?this._onRenderContent:l,p=e.targetElement,f=e.theme;return this._classNames=As(i,{theme:f,className:t||n&&n.className,beakWidth:n&&n.isBeakVisible?n.beakWidth:0,gapSpace:n&&n.gapSpace,maxWidth:s}),d.createElement(Li,Object(u.a)({target:p,directionalHint:o,directionalHintForRTL:r},n,fe(this.props,pe,["id"]),{className:this._classNames.root}),d.createElement("div",{className:this._classNames.content,id:a,onFocus:this.props.onFocus,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},c(this.props,this._onRenderContent)))},t.defaultProps={directionalHint:Eo.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},t}(d.Component),Hs=k(js,(function(e){var t=e.className,n=e.beakWidth,o=void 0===n?16:n,r=e.gapSpace,i=void 0===r?0:r,a=e.maxWidth,s=e.theme,l=s.semanticColors,c=s.fonts,u=s.effects,d=-(Math.sqrt(o*o/2)+i)+1/window.devicePixelRatio;return{root:["ms-Tooltip",s.fonts.medium,p.a.fadeIn200,{background:l.menuBackground,boxShadow:u.elevation8,padding:"8px",maxWidth:a,selectors:{":after":{content:"</em>",position:"absolute",bottom:d,left:d,right:d,top:d,zIndex:0}}},t],content:["ms-Tooltip-content",c.small,{position:"relative",zIndex:1,color:l.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}}),void 0,{scope:"Tooltip"});!function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(Ls||(Ls={}));var zs=L(),Ws=function(e){function t(n){var o=e.call(this,n)||this;return o._tooltipHost=d.createRef(),o._defaultTooltipId=bn("tooltip"),o.show=function(){o._toggleTooltip(!0)},o.dismiss=function(){o._hideTooltip()},o._getTargetElement=function(){if(o._tooltipHost.current){var e=o.props.overflowMode;if(void 0!==e)switch(e){case Rs.Parent:return o._tooltipHost.current.parentElement;case Rs.Self:return o._tooltipHost.current}return o._tooltipHost.current}},o._onTooltipFocus=function(e){o._ignoreNextFocusEvent?o._ignoreNextFocusEvent=!1:o._onTooltipMouseEnter(e)},o._onTooltipContentFocus=function(e){t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,o._clearDismissTimer(),o._clearOpenTimer()},o._onTooltipBlur=function(e){o._ignoreNextFocusEvent=(null===document||void 0===document?void 0:document.activeElement)===e.target,o._dismissTimerId=o._async.setTimeout((function(){o._hideTooltip()}),0)},o._onTooltipMouseEnter=function(e){var n=o.props,r=n.overflowMode,i=n.delay;if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,void 0!==r){var a=o._getTargetElement();if(a&&!Bs(a))return}if(!e.target||!Nn(e.target,o._getTargetElement()))if(o._clearDismissTimer(),o._clearOpenTimer(),i!==Ls.zero){var s=o._getDelayTime(i);o._openTimerId=o._async.setTimeout((function(){o._toggleTooltip(!0)}),s)}else o._toggleTooltip(!0)},o._onTooltipMouseLeave=function(e){var n=o.props.closeDelay;o._clearDismissTimer(),o._clearOpenTimer(),n?o._dismissTimerId=o._async.setTimeout((function(){o._toggleTooltip(!1)}),n):o._toggleTooltip(!1),t._currentVisibleTooltip===o&&(t._currentVisibleTooltip=void 0)},o._onTooltipKeyDown=function(e){(e.which===E.escape||e.ctrlKey)&&o.state.isTooltipVisible&&(o._hideTooltip(),e.stopPropagation())},o._clearDismissTimer=function(){o._async.clearTimeout(o._dismissTimerId)},o._clearOpenTimer=function(){o._async.clearTimeout(o._openTimerId)},o._hideTooltip=function(){o._clearOpenTimer(),o._clearDismissTimer(),o._toggleTooltip(!1)},o._toggleTooltip=function(e){o.state.isTooltipVisible!==e&&o.setState({isTooltipVisible:e},(function(){return o.props.onTooltipToggle&&o.props.onTooltipToggle(e)}))},o._getDelayTime=function(e){switch(e){case Ls.medium:return 300;case Ls.long:return 500;default:return 0}},Ct(o),o.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},o._async=new wt(o),o}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.children,o=e.content,r=e.directionalHint,i=e.directionalHintForRTL,a=e.hostClassName,s=e.id,l=e.setAriaDescribedBy,c=void 0===l||l,f=e.tooltipProps,h=e.styles,m=e.theme;this._classNames=zs(h,{theme:m,className:a});var g=this.state.isTooltipVisible,v=s||this._defaultTooltipId,b=Object(u.a)(Object(u.a)({id:"".concat(v,"--tooltip"),content:o,targetElement:this._getTargetElement(),directionalHint:r,directionalHintForRTL:i,calloutProps:po({},t,{onDismiss:this._hideTooltip,onFocus:this._onTooltipContentFocus,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},fe(this.props,pe,["id"])),f),y=(null==f?void 0:f.onRenderContent)?f.onRenderContent(b,(function(e){return(null==e?void 0:e.content)?d.createElement(d.Fragment,null,e.content):null})):o,C=g&&!!y,_=c&&g&&y?v:void 0;return d.createElement("div",Object(u.a)({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipFocus},{onBlurCapture:this._onTooltipBlur},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,role:"none","aria-describedby":_}),n,C&&d.createElement(Hs,Object(u.a)({},b)),d.createElement("div",{hidden:!0,id:v,style:p.ab},y))},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:Ls.medium},t}(d.Component),Vs={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},Us=k(Ws,(function(e){var t=e.className,n=e.theme;return{root:[Object(p.R)(Vs,n).root,{display:"inline"},t]}}),void 0,{scope:"TooltipHost"}),Ks=L(),Gs=function(){return null},qs={styles:function(e){return{root:{selectors:{"&.is-disabled":{color:e.theme.semanticColors.bodyText}}}}}},Ys=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=d.createRef(),n._onReduceData=function(e){var t=e.renderedItems,n=e.renderedOverflowItems,o=e.props.overflowIndex,r=t[o];if(r)return(t=Object(u.e)([],t,!0)).splice(o,1),n=Object(u.e)(Object(u.e)([],n,!0),[r],!1),Object(u.a)(Object(u.a)({},e),{renderedItems:t,renderedOverflowItems:n})},n._onGrowData=function(e){var t=e.renderedItems,n=e.renderedOverflowItems,o=e.props,r=o.overflowIndex,i=o.maxDisplayedItems,a=(n=Object(u.e)([],n,!0)).pop();if(a&&!(t.length>=i))return(t=Object(u.e)([],t,!0)).splice(r,0,a),Object(u.a)(Object(u.a)({},e),{renderedItems:t,renderedOverflowItems:n})},n._onRenderBreadcrumb=function(e){var t=e.props,o=t.ariaLabel,r=t.dividerAs,i=void 0===r?Ge:r,a=t.onRenderItem,s=t.overflowAriaLabel,l=t.overflowIndex,c=t.onRenderOverflowIcon,p=t.overflowButtonAs,f=e.renderedOverflowItems,h=e.renderedItems,m=f.map((function(e){var t=!(!e.onClick&&!e.href);return{text:e.text,name:e.text,key:e.key,onClick:e.onClick?n._onBreadcrumbClicked.bind(n,e):null,href:e.href,disabled:!t,itemProps:t?void 0:qs}})),g=h.length-1,v=f&&0!==f.length,b=h.map((function(e,t){var o=n._onRenderItem;return e.onRender&&(o=Po(e.onRender,o)),a&&(o=Po(a,o)),d.createElement("li",{className:n._classNames.listItem,key:e.key||String(t)},o(e),(t!==g||v&&t===l-1)&&d.createElement(i,{className:n._classNames.chevron,iconName:P(n.props.theme)?"ChevronLeft":"ChevronRight",item:e}))}));if(v){var y=c?{}:{iconName:"More"},C=c||Gs,_=p||Ss;b.splice(l,0,d.createElement("li",{className:n._classNames.overflow,key:"overflow"},d.createElement(_,{className:n._classNames.overflowButton,iconProps:y,role:"button","aria-haspopup":"true",ariaLabel:s,onRenderMenuIcon:C,menuProps:{items:m,directionalHint:Eo.bottomLeftEdge}}),l!==g+1&&d.createElement(i,{className:n._classNames.chevron,iconName:P(n.props.theme)?"ChevronLeft":"ChevronRight",item:f[f.length-1]})))}var S=fe(n.props,U,["className"]);return d.createElement("div",Object(u.a)({className:n._classNames.root,role:"navigation","aria-label":o},S),d.createElement(zn,Object(u.a)({componentRef:n._focusZone,direction:Ot.horizontal},n.props.focusZoneProps),d.createElement("ol",{className:n._classNames.list},b)))},n._onRenderItem=function(e){if(!e)return null;var t=e.as,o=e.href,r=e.onClick,i=e.isCurrentItem,a=e.text,s=e.onRenderContent,l=Object(u.d)(e,["as","href","onClick","isCurrentItem","text","onRenderContent"]),c=Qs;if(s&&(c=Po(s,c)),n.props.onRenderItemContent&&(c=Po(n.props.onRenderItemContent,c)),r||o)return d.createElement(co,Object(u.a)({},l,{as:t,className:n._classNames.itemLink,href:o,"aria-current":i?"page":void 0,onClick:n._onBreadcrumbClicked.bind(n,e)}),d.createElement(Us,Object(u.a)({content:a,overflowMode:Rs.Parent},n.props.tooltipHostProps),c(e)));var p=t||"span";return d.createElement(p,Object(u.a)({},l,{className:n._classNames.item}),d.createElement(Us,Object(u.a)({content:a,overflowMode:Rs.Parent},n.props.tooltipHostProps),c(e)))},n._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},Ct(n),n._validateProps(t),n}return Object(u.c)(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){this._validateProps(this.props);var e=this.props,t=e.onReduceData,n=void 0===t?this._onReduceData:t,o=e.onGrowData,r=void 0===o?this._onGrowData:o,i=e.overflowIndex,a=e.maxDisplayedItems,s=e.items,l=e.className,c=e.theme,p=e.styles,f=Object(u.e)([],s,!0),h=f.splice(i,f.length-a),m={props:this.props,renderedItems:f,renderedOverflowItems:h};return this._classNames=Ks(p,{className:l,theme:c}),d.createElement(Ms,{onRenderData:this._onRenderBreadcrumb,onReduceData:n,onGrowData:r,data:m})},t.prototype._validateProps=function(e){var t=e.maxDisplayedItems,n=e.overflowIndex,o=e.items;if(n<0||t>1&&n>t-1||o.length>0&&n>o.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},t.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},t}(d.Component);function Qs(e){return e?d.createElement(d.Fragment,null,e.text):null}var Xs,Zs,$s={root:"ms-Breadcrumb",list:"ms-Breadcrumb-list",listItem:"ms-Breadcrumb-listItem",chevron:"ms-Breadcrumb-chevron",overflow:"ms-Breadcrumb-overflow",overflowButton:"ms-Breadcrumb-overflowButton",itemLink:"ms-Breadcrumb-itemLink",item:"ms-Breadcrumb-item"},Js={whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},el=Object(p.X)(0,p.u),tl=Object(p.X)(p.y,p.t),nl=k(Ys,(function(e){var t,n,o,r,i,a=e.className,s=e.theme,l=s.palette,c=s.semanticColors,d=s.fonts,f=Object(p.R)($s,s),h=c.menuItemBackgroundHovered,m=c.menuItemBackgroundPressed,g=l.neutralSecondary,v=p.l.regular,b=l.neutralPrimary,y=l.neutralPrimary,C=p.l.semibold,_=l.neutralSecondary,S=l.neutralSecondary,k={fontWeight:C,color:y},x={":hover":{color:b,backgroundColor:h,cursor:"pointer",selectors:(t={},t[p.m]={color:"Highlight",backgroundColor:"transparent"},t)},":active":{backgroundColor:m,color:b},"&:active:hover":{color:b,backgroundColor:m},"&:active, &:hover, &:active:hover":{textDecoration:"none"}},w={color:g,padding:"0 8px",lineHeight:36,fontSize:18,fontWeight:v};return{root:[f.root,d.medium,{margin:"11px 0 1px"},a],list:[f.list,{whiteSpace:"nowrap",padding:0,margin:0,display:"flex",alignItems:"stretch"}],listItem:[f.listItem,{listStyleType:"none",margin:"0",padding:"0",display:"flex",position:"relative",alignItems:"center",selectors:{"&:last-child .ms-Breadcrumb-itemLink":Object(u.a)(Object(u.a)({},k),(n={},n[p.m]={MsHighContrastAdjust:"auto",forcedColorAdjust:"auto"},n)),"&:last-child .ms-Breadcrumb-item":k}}],chevron:[f.chevron,{color:_,fontSize:d.small.fontSize,selectors:(o={},o[p.m]=Object(u.a)({color:"WindowText"},Object(p.S)()),o[tl]={fontSize:8},o[el]={fontSize:8},o)}],overflow:[f.overflow,{position:"relative",display:"flex",alignItems:"center"}],overflowButton:[f.overflowButton,Object(p.Q)(s,{highContrastStyle:{left:1,right:1,top:1,bottom:1}}),Js,{fontSize:16,color:S,height:"100%",cursor:"pointer",selectors:Object(u.a)(Object(u.a)({},x),(r={},r[el]={padding:"4px 6px"},r[tl]={fontSize:d.mediumPlus.fontSize},r))}],itemLink:[f.itemLink,Object(p.Q)(s),Js,Object(u.a)(Object(u.a)({},w),{selectors:Object(u.a)((i={":focus":{color:l.neutralDark}},i[".".concat(Gn.a," &:focus")]={outline:"none"},i),x)})],item:[f.item,Object(u.a)(Object(u.a)({},w),{selectors:{":hover":{cursor:"default"}}})]}}),void 0,{scope:"Breadcrumb"}),ol=Object(f.c)((function(e,t){var n,o,r,i=ys(e),a={root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent",selectors:(n={},n[p.m]={borderColor:"Window"},n)},rootHovered:{color:e.palette.themePrimary,selectors:(o={},o[p.m]={color:"Highlight"},o)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent",selectors:(r={},r[p.m]={color:"GrayText"},r)},rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}};return Object(p.I)(i,a,t)})),rl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return d.createElement(fs,Object(u.a)({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:ol(n,t),onRenderDescription:xo}))},t=Object(u.b)([ms("ActionButton",["theme","styles"],!0)],t)}(d.Component);!function(e){e[e.button=0]="button",e[e.anchor=1]="anchor"}(Xs||(Xs={})),function(e){e[e.normal=0]="normal",e[e.primary=1]="primary",e[e.hero=2]="hero",e[e.compound=3]="compound",e[e.command=4]="command",e[e.icon=5]="icon",e[e.default=6]="default"}(Zs||(Zs={}));function il(e){var t,n,o,r,i,a=e.semanticColors,s=e.palette,l=a.buttonBackground,c=a.buttonBackgroundPressed,d=a.buttonBackgroundHovered,f=a.buttonBackgroundDisabled,h=a.buttonText,m=a.buttonTextHovered,g=a.buttonTextDisabled,v=a.buttonTextChecked,b=a.buttonTextCheckedHovered;return{root:{backgroundColor:l,color:h},rootHovered:{backgroundColor:d,color:m,selectors:(t={},t[p.m]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:c,color:v},rootExpanded:{backgroundColor:c,color:v},rootChecked:{backgroundColor:c,color:v},rootCheckedHovered:{backgroundColor:c,color:b},rootDisabled:{color:g,backgroundColor:f,selectors:(n={},n[p.m]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n)},splitButtonContainer:{selectors:(o={},o[p.m]={border:"none"},o)},splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:s.neutralLight,selectors:(r={},r[p.m]={color:"Highlight"},r)}}},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:a.buttonBackgroundDisabled}}},splitButtonDivider:Object(u.a)(Object(u.a)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:s.neutralTertiaryAlt,selectors:(i={},i[p.m]={backgroundColor:"WindowText"},i)}),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}function al(e){var t,n,o,r,i,a,s,l,c,d=e.palette,f=e.semanticColors;return{root:{backgroundColor:f.primaryButtonBackground,border:"1px solid ".concat(f.primaryButtonBackground),color:f.primaryButtonText,selectors:(t={},t[p.m]=Object(u.a)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},Object(p.S)()),t[".".concat(Gn.a," &:focus")]={selectors:{":after":{border:"none",outlineColor:d.white}}},t)},rootHovered:{backgroundColor:f.primaryButtonBackgroundHovered,border:"1px solid ".concat(f.primaryButtonBackgroundHovered),color:f.primaryButtonTextHovered,selectors:(n={},n[p.m]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n)},rootPressed:{backgroundColor:f.primaryButtonBackgroundPressed,border:"1px solid ".concat(f.primaryButtonBackgroundPressed),color:f.primaryButtonTextPressed,selectors:(o={},o[p.m]=Object(u.a)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},Object(p.S)()),o)},rootExpanded:{backgroundColor:f.primaryButtonBackgroundPressed,color:f.primaryButtonTextPressed},rootChecked:{backgroundColor:f.primaryButtonBackgroundPressed,color:f.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:f.primaryButtonBackgroundPressed,color:f.primaryButtonTextPressed},rootDisabled:{color:f.primaryButtonTextDisabled,backgroundColor:f.primaryButtonBackgroundDisabled,selectors:(r={},r[p.m]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r)},splitButtonContainer:{selectors:(i={},i[p.m]={border:"none"},i)},splitButtonDivider:Object(u.a)(Object(u.a)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:d.white,selectors:(a={},a[p.m]={backgroundColor:"Window"},a)}),splitButtonMenuButton:{backgroundColor:f.primaryButtonBackground,color:f.primaryButtonText,selectors:(s={},s[p.m]={backgroundColor:"Canvas"},s[":hover"]={backgroundColor:f.primaryButtonBackgroundHovered,selectors:(l={},l[p.m]={color:"Highlight"},l)},s)},splitButtonMenuButtonDisabled:{backgroundColor:f.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:f.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:f.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:f.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:f.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:f.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:f.primaryButtonText},splitButtonMenuIconDisabled:{color:d.neutralTertiary,selectors:(c={},c[p.m]={color:"GrayText"},c)}}}var sl=Object(f.c)((function(e,t,n){var o=ys(e),r=Cs(e),i={root:{minWidth:"80px",height:"32px"},label:{fontWeight:p.l.semibold}};return Object(p.I)(o,i,n?al(e):il(e),r,t)})),ll=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,o=e.styles,r=e.theme;return d.createElement(fs,Object(u.a)({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:sl(r,o,n),onRenderDescription:xo}))},t=Object(u.b)([ms("DefaultButton",["theme","styles"],!0)],t)}(d.Component),cl=Object(f.c)((function(e,t,n){var o,r,i,a,s,l=e.fonts,c=e.palette,d=ys(e),f=Cs(e),h={root:{maxWidth:"280px",minHeight:"72px",height:"auto",padding:"16px 12px"},flexContainer:{flexDirection:"row",alignItems:"flex-start",minWidth:"100%",margin:""},textContainer:{textAlign:"left"},icon:{fontSize:"2em",lineHeight:"1em",height:"1em",margin:"0px 8px 0px 0px",flexBasis:"1em",flexShrink:"0"},label:{margin:"0 0 5px",lineHeight:"100%",fontWeight:p.l.semibold},description:[l.small,{lineHeight:"100%"}]},m={description:{color:c.neutralSecondary},descriptionHovered:{color:c.neutralDark},descriptionPressed:{color:"inherit"},descriptionChecked:{color:"inherit"},descriptionDisabled:{color:"inherit"}},g={description:{color:c.white,selectors:(o={},o[p.m]=Object(u.a)({backgroundColor:"WindowText",color:"Window"},Object(p.S)()),o)},descriptionHovered:{color:c.white,selectors:(r={},r[p.m]={backgroundColor:"Highlight",color:"Window"},r)},descriptionPressed:{color:"inherit",selectors:(i={},i[p.m]=Object(u.a)({color:"Window",backgroundColor:"WindowText"},Object(p.S)()),i)},descriptionChecked:{color:"inherit",selectors:(a={},a[p.m]=Object(u.a)({color:"Window",backgroundColor:"WindowText"},Object(p.S)()),a)},descriptionDisabled:{color:"inherit",selectors:(s={},s[p.m]={color:"inherit"},s)}};return Object(p.I)(d,h,n?al(e):il(e),n?g:m,f,t)})),ul=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,o=e.styles,r=e.theme;return d.createElement(fs,Object(u.a)({},this.props,{variantClassName:n?"ms-Button--compoundPrimary":"ms-Button--compound",styles:cl(r,o,n)}))},t=Object(u.b)([ms("CompoundButton",["theme","styles"],!0)],t)}(d.Component),dl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){return d.createElement(ll,Object(u.a)({},this.props,{primary:!0,onRenderDescription:xo}))},t=Object(u.b)([ms("PrimaryButton",["theme","styles"],!0)],t)}(d.Component),pl=function(e){function t(t){var n=e.call(this,t)||this;return Object(bo.b)("The Button component has been deprecated. Use specific variants instead. (PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)"),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props;switch(e.buttonType){case Zs.command:return d.createElement(rl,Object(u.a)({},e));case Zs.compound:return d.createElement(ul,Object(u.a)({},e));case Zs.icon:return d.createElement(Ss,Object(u.a)({},e));case Zs.primary:return d.createElement(dl,Object(u.a)({},e));default:return d.createElement(ll,Object(u.a)({},e))}},t}(d.Component),fl=Object(f.c)((function(e,t,n,o){var r,i,a,s,l,c,d,f,h,m,g,v,b,y,C=ys(e),_=Cs(e),S=e.palette,k=e.semanticColors,x={root:[Object(p.Q)(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,{minWidth:"40px",backgroundColor:S.white,color:S.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0,selectors:(r={},r[p.m]={border:"none"},r)}],rootHovered:{backgroundColor:S.neutralLighter,color:S.neutralDark,selectors:(i={},i[p.m]={color:"Highlight"},i[".".concat(ls.msButtonIcon)]={color:S.themeDarkAlt},i[".".concat(ls.msButtonMenuIcon)]={color:S.neutralPrimary},i)},rootPressed:{backgroundColor:S.neutralLight,color:S.neutralDark,selectors:(a={},a[".".concat(ls.msButtonIcon)]={color:S.themeDark},a[".".concat(ls.msButtonMenuIcon)]={color:S.neutralPrimary},a)},rootChecked:{backgroundColor:S.neutralLight,color:S.neutralDark,selectors:(s={},s[".".concat(ls.msButtonIcon)]={color:S.themeDark},s[".".concat(ls.msButtonMenuIcon)]={color:S.neutralPrimary},s)},rootCheckedHovered:{backgroundColor:S.neutralQuaternaryAlt,selectors:(l={},l[".".concat(ls.msButtonIcon)]={color:S.themeDark},l[".".concat(ls.msButtonMenuIcon)]={color:S.neutralPrimary},l)},rootExpanded:{backgroundColor:S.neutralLight,color:S.neutralDark,selectors:(c={},c[".".concat(ls.msButtonIcon)]={color:S.themeDark},c[".".concat(ls.msButtonMenuIcon)]={color:S.neutralPrimary},c)},rootExpandedHovered:{backgroundColor:S.neutralQuaternaryAlt},rootDisabled:{backgroundColor:S.white,selectors:(d={},d[".".concat(ls.msButtonIcon)]={color:k.disabledBodySubtext,selectors:(f={},f[p.m]=Object(u.a)({color:"GrayText"},Object(p.S)()),f)},d[p.m]=Object(u.a)({color:"GrayText",backgroundColor:"Window"},Object(p.S)()),d)},splitButtonContainer:{height:"100%",selectors:(h={},h[p.m]={border:"none"},h)},splitButtonDividerDisabled:{selectors:(m={},m[p.m]={backgroundColor:"Window"},m)},splitButtonDivider:{backgroundColor:S.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:S.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:S.neutralSecondary,selectors:{":hover":{backgroundColor:S.neutralLighter,color:S.neutralDark,selectors:(g={},g[p.m]={color:"Highlight"},g[".".concat(ls.msButtonIcon)]={color:S.neutralPrimary},g)},":active":{backgroundColor:S.neutralLight,selectors:(v={},v[".".concat(ls.msButtonIcon)]={color:S.neutralPrimary},v)}}},splitButtonMenuButtonDisabled:{backgroundColor:S.white,selectors:(b={},b[p.m]=Object(u.a)({color:"GrayText",border:"none",backgroundColor:"Window"},Object(p.S)()),b)},splitButtonMenuButtonChecked:{backgroundColor:S.neutralLight,color:S.neutralDark,selectors:{":hover":{backgroundColor:S.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:S.neutralLight,color:S.black,selectors:{":hover":{backgroundColor:S.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:S.neutralPrimary},splitButtonMenuIconDisabled:{color:S.neutralTertiary},label:{fontWeight:"normal"},icon:{color:S.themePrimary},menuIcon:(y={color:S.neutralSecondary},y[p.m]={color:"GrayText"},y)};return Object(p.I)(C,_,x,t)})),hl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return d.createElement(fs,Object(u.a)({},this.props,{variantClassName:"ms-Button--commandBar",styles:fl(n,t),onRenderDescription:xo}))},t=Object(u.b)([ms("CommandBarButton",["theme","styles"],!0)],t)}(d.Component),ml=rl,gl=Object(f.c)((function(e,t){return Object(p.I)({root:[Object(p.Q)(e,{inset:1,highContrastStyle:{outlineOffset:"-4px",outline:"1px solid Window"},borderColor:"transparent"}),{height:24}]},t)})),vl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return d.createElement(ll,Object(u.a)({},this.props,{styles:gl(n,t),onRenderDescription:xo}))},t=Object(u.b)([ms("MessageBarButton",["theme","styles"],!0)],t)}(d.Component),bl=L(),yl=k(d.forwardRef((function(e,t){var n=wa(void 0,e.id),o=e.items,r=e.columnCount,i=e.onRenderItem,a=e.isSemanticRadio,s=e.ariaPosInSet,l=void 0===s?e.positionInSet:s,c=e.ariaSetSize,p=void 0===c?e.setSize:c,f=e.styles,h=e.doNotContainWithinFocusZone,m=fe(e,U,h?[]:["onBlur"]),g=bl(f,{theme:e.theme}),v=Lt(o,r),b=d.createElement("table",Object(u.a)({"aria-posinset":l,"aria-setsize":p,id:n,role:a?"radiogroup":"grid"},m,{className:g.root}),d.createElement("tbody",{role:a?"presentation":"rowgroup"},v.map((function(e,t){return d.createElement("tr",{role:a?"presentation":"row",key:t},e.map((function(e,t){return d.createElement("td",{role:"presentation",key:t+"-cell",className:g.tableCell},i(e,t))})))}))));return h?b:d.createElement(zn,{elementRef:t,isCircularNavigation:e.shouldFocusCircularNavigate,className:g.focusedContainer,onBlur:e.onBlur},b)})),(function(e){return{root:{padding:2,outline:"none"},tableCell:{padding:0}}}));yl.displayName="ButtonGrid";var Cl,_l,Sl,kl,xl,wl=function(e){var t,n=wa("gridCell"),o=e.item,r=e.id,i=void 0===r?n:r,a=e.className,s=e.selected,l=e.disabled,c=void 0!==l&&l,p=e.onRenderItem,f=e.cellDisabledStyle,h=e.cellIsSelectedStyle,m=e.index,g=e.label,v=e.getClassNames,b=e.onClick,y=e.onHover,C=e.onMouseMove,_=e.onMouseLeave,S=e.onMouseEnter,k=e.onFocus,x=fe(e,Z),w=d.useCallback((function(e){b&&!c&&b(o,e)}),[c,o,b]),I=d.useCallback((function(e){S&&S(e)||!y||c||y(o,e)}),[c,o,y,S]),E=d.useCallback((function(e){C&&C(e)||!y||c||y(o,e)}),[c,o,y,C]),O=d.useCallback((function(e){_&&_(e)||!y||c||y(void 0,e)}),[c,y,_]),T=d.useCallback((function(e){k&&!c&&k(o,e)}),[c,o,k]);return d.createElement(ml,Object(u.a)({id:i,"data-index":m,"data-is-focusable":!0,"aria-selected":s,ariaLabel:g,title:g},x,{className:Me(a,(t={},t[""+h]=s,t[""+f]=c,t)),onClick:w,onMouseEnter:I,onMouseMove:E,onMouseLeave:O,onFocus:T,getClassNames:v}),p(o))};!function(e){e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical"}(Cl||(Cl={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(_l||(_l={})),function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(Sl||(Sl={})),function(e){e[e.FirstDay=0]="FirstDay",e[e.FirstFullWeek=1]="FirstFullWeek",e[e.FirstFourDayWeek=2]="FirstFourDayWeek"}(kl||(kl={})),function(e){e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month",e[e.WorkWeek=3]="WorkWeek"}(xl||(xl={}));var Il=7,El={formatDay:function(e){return e.getDate().toString()},formatMonth:function(e,t){return t.months[e.getMonth()]},formatYear:function(e){return e.getFullYear().toString()},formatMonthDayYear:function(e,t){return t.months[e.getMonth()]+" "+e.getDate()+", "+e.getFullYear()},formatMonthYear:function(e,t){return t.months[e.getMonth()]+" "+e.getFullYear()}},Ol=Object(u.a)(Object(u.a)({},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["S","M","T","W","T","F","S"]}),{goToToday:"Go to today",weekNumberFormatString:"Week number {0}",prevMonthAriaLabel:"Previous month",nextMonthAriaLabel:"Next month",prevYearAriaLabel:"Previous year",nextYearAriaLabel:"Next year",prevYearRangeAriaLabel:"Previous year range",nextYearRangeAriaLabel:"Next year range",closeButtonAriaLabel:"Close",selectedDateFormatString:"Selected date {0}",todayDateFormatString:"Today's date {0}",monthPickerHeaderAriaLabel:"{0}, change year",yearPickerHeaderAriaLabel:"{0}, change month",dayMarkedAriaLabel:"marked"}),Tl={MillisecondsInOneDay:864e5,MillisecondsIn1Sec:1e3,MillisecondsIn1Min:6e4,MillisecondsIn30Mins:18e5,MillisecondsIn1Hour:36e5,MinutesInOneDay:1440,MinutesInOneHour:60,DaysInOneWeek:7,MonthInOneYear:12,HoursInOneDay:24,SecondsInOneMinute:60,OffsetTo24HourFormat:12,TimeFormatRegex:/^(\d\d?):(\d\d):?(\d\d)? ?([ap]m)?/i};function Dl(e,t){var n=new Date(e.getTime());return n.setDate(n.getDate()+t),n}function Pl(e,t){return Dl(e,t*Tl.DaysInOneWeek)}function Rl(e,t){var n=new Date(e.getTime()),o=n.getMonth()+t;return n.setMonth(o),n.getMonth()!==(o%Tl.MonthInOneYear+Tl.MonthInOneYear)%Tl.MonthInOneYear&&(n=Dl(n,-n.getDate())),n}function Ml(e,t){var n=new Date(e.getTime());return n.setFullYear(e.getFullYear()+t),n.getMonth()!==(e.getMonth()%Tl.MonthInOneYear+Tl.MonthInOneYear)%Tl.MonthInOneYear&&(n=Dl(n,-n.getDate())),n}function Nl(e){return new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0)}function Fl(e){return new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0,0)}function Bl(e){return new Date(e.getFullYear(),0,1,0,0,0,0)}function Ll(e){return new Date(e.getFullYear()+1,0,0,0,0,0,0)}function Al(e,t){return Rl(e,t-e.getMonth())}function jl(e,t){return!e&&!t||!(!e||!t)&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())}function Hl(e,t){return Yl(e)-Yl(t)}function zl(e,t,n,o,r){void 0===r&&(r=1);var i,a=[],s=null;switch(o||(o=[_l.Monday,_l.Tuesday,_l.Wednesday,_l.Thursday,_l.Friday]),r=Math.max(r,1),t){case xl.Day:s=Dl(i=ql(e),r);break;case xl.Week:case xl.WorkWeek:s=Dl(i=Kl(ql(e),n),Tl.DaysInOneWeek);break;case xl.Month:s=Rl(i=new Date(e.getFullYear(),e.getMonth(),1),1);break;default:throw new Error("Unexpected object: "+t)}var l=i;do{(t!==xl.WorkWeek||-1!==o.indexOf(l.getDay()))&&a.push(l),l=Dl(l,1)}while(!jl(l,s));return a}function Wl(e,t){for(var n=0,o=t;n<o.length;n++){if(jl(e,o[n]))return!0}return!1}function Vl(e,t,n,o){var r=o.getFullYear(),i=o.getMonth(),a=1,s=new Date(r,i,a),l=a+(t+Tl.DaysInOneWeek-1)-function(e,t){return e!==_l.Sunday&&t<e?t+Tl.DaysInOneWeek:t}(t,s.getDay()),c=new Date(r,i,l);a=c.getDate();for(var u=[],d=0;d<e;d++)u.push(Ul(c,t,n)),a+=Tl.DaysInOneWeek,c=new Date(r,i,a);return u}function Ul(e,t,n){switch(n){case kl.FirstFullWeek:return Ql(e,t,Tl.DaysInOneWeek);case kl.FirstFourDayWeek:return Ql(e,t,4);default:return function(e,t){var n=Xl(e)-1,o=(e.getDay()-n%Tl.DaysInOneWeek-t+2*Tl.DaysInOneWeek)%Tl.DaysInOneWeek;return Math.floor((n+o)/Tl.DaysInOneWeek+1)}(e,t)}}function Kl(e,t){var n=t-e.getDay();return n>0&&(n-=Tl.DaysInOneWeek),Dl(e,n)}function Gl(e,t){var n=(t-1>=0?t-1:Tl.DaysInOneWeek-1)-e.getDay();return n<0&&(n+=Tl.DaysInOneWeek),Dl(e,n)}function ql(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function Yl(e){return e.getDate()+(e.getMonth()<<5)+(e.getFullYear()<<9)}function Ql(e,t,n){var o=Xl(e)-1,r=e.getDay()-o%Tl.DaysInOneWeek,i=Xl(new Date(e.getFullYear()-1,Sl.December,31))-1,a=(t-r+2*Tl.DaysInOneWeek)%Tl.DaysInOneWeek;0!==a&&a>=n&&(a-=Tl.DaysInOneWeek);var s=o-a;return s<0&&(0!==(a=(t-(r-=i%Tl.DaysInOneWeek)+2*Tl.DaysInOneWeek)%Tl.DaysInOneWeek)&&a+1>=n&&(a-=Tl.DaysInOneWeek),s=i-a),Math.floor(s/Tl.DaysInOneWeek+1)}function Xl(e){for(var t=e.getMonth(),n=e.getFullYear(),o=0,r=0;r<t;r++)o+=Zl(r+1,n);return o+=e.getDate()}function Zl(e,t){return new Date(t,e,0).getDate()}var $l=/[\{\}]/g,Jl=/\{\d+\}/g;function ec(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=t;function r(e){var t=o[e.replace($l,"")];return null==t&&(t=""),t}return e.replace(Jl,r)}var tc=function(e,t,n){return!t||e!==xl.WorkWeek||function(e,t,n){for(var o=new Set(e),r=0,i=0,a=e;i<a.length;i++){var s=(a[i]+1)%7;(!o.has(s)||t&&n===s)&&r++}return r<2}(t,!0,n)&&0!==t.length?e:xl.Week},nc=function(e,t,n){var o=Object(u.e)([],e,!0);return t&&(o=o.filter((function(e){return Hl(e,t)>=0}))),n&&(o=o.filter((function(e){return Hl(e,n)<=0}))),o},oc=function(e,t){var n=t.minDate;return!!n&&Hl(n,e)>=1},rc=function(e,t){var n=t.maxDate;return!!n&&Hl(e,n)>=1},ic=function(e,t){var n=t.restrictedDates,o=t.minDate,r=t.maxDate;return!!(n||o||r)&&(n&&n.some((function(t){return jl(t,e)}))||oc(e,t)||rc(e,t))},ac=function(e){var t=e.showWeekNumbers,n=e.strings,o=e.firstDayOfWeek,r=e.allFocusable,i=e.weeksToShow,a=e.weeks,s=e.classNames,l=n.shortDays.slice(),c=Nt(a[1],(function(e){return 1===e.originalDate.getDate()}));1===i&&c>=0&&(l[(c+o)%Il]=n.shortMonths[a[1][c].originalDate.getMonth()]);return d.createElement("tr",null,t&&d.createElement("th",{className:s.dayCell}),l.map((function(e,t){var i=(t+o)%Il,a=n.days[i];return d.createElement("th",{className:Me(s.dayCell,s.weekDayLabelCell),scope:"col",key:l[i]+" "+t,title:a,"aria-label":a,"data-is-focusable":!!r||void 0},l[i])})))},sc=function(e){var t=e.targetDate,n=e.initialDate,o=e.direction,r=Object(u.d)(e,["targetDate","initialDate","direction"]),i=t;if(!ic(t,r))return t;for(;0!==Hl(n,i)&&ic(i,r)&&!rc(i,r)&&!oc(i,r);)i=Dl(i,o);return 0===Hl(n,i)||ic(i,r)?void 0:i},lc=function(e){var t,n=e.navigatedDate,o=e.dateTimeFormatter,r=e.allFocusable,i=e.strings,a=e.activeDescendantId,s=e.navigatedDayRef,l=e.calculateRoundedStyles,c=e.weeks,u=e.classNames,p=e.day,f=e.dayIndex,h=e.weekIndex,m=e.weekCorners,g=e.ariaHidden,v=e.customDayCellRef,b=e.dateRangeType,y=e.daysToSelectInDayView,C=e.onSelectDate,_=e.restrictedDates,S=e.minDate,k=e.maxDate,x=e.onNavigateDate,w=e.getDayInfosInRangeOfDay,I=e.getRefsFromDayInfos,O=null!==(t=null==m?void 0:m[h+"_"+f])&&void 0!==t?t:"",T=jl(n,p.originalDate),D=p.originalDate.getDate()+", "+i.months[p.originalDate.getMonth()]+", "+p.originalDate.getFullYear();return p.isMarked&&(D=D+", "+i.dayMarkedAriaLabel),d.createElement("td",{className:Me(u.dayCell,m&&O,p.isSelected&&u.daySelected,p.isSelected&&"ms-CalendarDay-daySelected",!p.isInBounds&&u.dayOutsideBounds,!p.isInMonth&&u.dayOutsideNavigatedMonth),ref:function(e){null==v||v(e,p.originalDate,u),p.setRef(e),T&&(s.current=e)},"aria-hidden":g,"aria-disabled":!g&&!p.isInBounds,onClick:p.isInBounds&&!g?p.onSelected:void 0,onMouseOver:g?void 0:function(e){var t=w(p),n=I(t);n.forEach((function(e,o){var r;if(e&&(e.classList.add("ms-CalendarDay-hoverStyle"),!t[o].isSelected&&b===xl.Day&&y&&y>1)){e.classList.remove(u.bottomLeftCornerDate,u.bottomRightCornerDate,u.topLeftCornerDate,u.topRightCornerDate);var i=l(u,!1,!1,o>0,o<n.length-1).trim();i&&(r=e.classList).add.apply(r,i.split(" "))}}))},onMouseDown:g?void 0:function(e){var t=w(p);I(t).forEach((function(e){e&&e.classList.add("ms-CalendarDay-pressedStyle")}))},onMouseUp:g?void 0:function(e){var t=w(p);I(t).forEach((function(e){e&&e.classList.remove("ms-CalendarDay-pressedStyle")}))},onMouseOut:g?void 0:function(e){var t=w(p),n=I(t);n.forEach((function(e,o){var r;if(e&&(e.classList.remove("ms-CalendarDay-hoverStyle"),e.classList.remove("ms-CalendarDay-pressedStyle"),!t[o].isSelected&&b===xl.Day&&y&&y>1)){var i=l(u,!1,!1,o>0,o<n.length-1).trim();i&&(r=e.classList).remove.apply(r,i.split(" "))}}))},onKeyDown:g?void 0:function(e){e.which===E.enter?null==C||C(p.originalDate):function(e,t){var n=void 0,o=1;if(e.which===E.up?(n=Pl(t,-1),o=-1):e.which===E.down?n=Pl(t,1):e.which===M(E.left)?(n=Dl(t,-1),o=-1):e.which===M(E.right)&&(n=Dl(t,1)),n){var r={initialDate:t,targetDate:n,direction:o,restrictedDates:_,minDate:S,maxDate:k},i=sc(r);i||(r.direction=-o,i=sc(r)),c&&i&&c.slice(1,c.length-1).some((function(e){return e.some((function(e){return jl(e.originalDate,i)}))}))||i&&(x(i,!0),e.preventDefault())}}(e,p.originalDate)},role:"gridcell",tabIndex:T?0:void 0,"aria-current":p.isToday?"date":void 0,"aria-selected":p.isInBounds?p.isSelected:void 0,"data-is-focusable":!g&&(r||!!p.isInBounds||void 0)},d.createElement("button",{key:p.key+"button","aria-hidden":g,className:Me(u.dayButton,p.isToday&&u.dayIsToday,p.isToday&&"ms-CalendarDay-dayIsToday"),"aria-label":D,id:T?a:void 0,disabled:!g&&!p.isInBounds,type:"button",tabIndex:-1,"data-is-focusable":"false"},d.createElement("span",{"aria-hidden":"true"},o.formatDay(p.originalDate)),p.isMarked&&d.createElement("div",{"aria-hidden":"true",className:u.dayMarker})))},cc=function(e){var t=e.classNames,n=e.week,o=e.weeks,r=e.weekIndex,i=e.rowClassName,a=e.ariaRole,s=e.showWeekNumbers,l=e.firstDayOfWeek,c=e.firstWeekOfYear,p=e.navigatedDate,f=e.strings,h=s?Vl(o.length,l,c,p):null,m=h?f.weekNumberFormatString&&ec(f.weekNumberFormatString,h[r]):"";return d.createElement("tr",{role:a,className:i,key:r+"_"+n[0].key},s&&h&&d.createElement("th",{className:t.weekNumberCell,key:r,title:m,"aria-label":m,scope:"row"},d.createElement("span",null,h[r])),n.map((function(t,n){return d.createElement(lc,Object(u.a)({},e,{key:t.key,day:t,dayIndex:n}))})))},uc=L();function dc(e,t,n){return d.useMemo((function(){for(var o,r=function(e){var t,n=e.selectedDate,o=e.dateRangeType,r=e.firstDayOfWeek,i=e.today,a=e.minDate,s=e.maxDate,l=e.weeksToShow,c=e.workWeekDays,u=e.daysToSelectInDayView,d=e.restrictedDates,p=e.markedDays,f={minDate:a,maxDate:s,restrictedDates:d},h=i||new Date,m=e.navigatedDate?e.navigatedDate:h;t=l&&l<=4?new Date(m.getFullYear(),m.getMonth(),m.getDate()):new Date(m.getFullYear(),m.getMonth(),1);for(var g=[];t.getDay()!==r;)t.setDate(t.getDate()-1);t=Dl(t,-Il);var v=!1,b=tc(o,c,r),y=[];n&&(y=zl(n,b,r,c,u),y=nc(y,a,s));for(var C=!0,_=0;C;_++){var S=[];v=!0;for(var k=function(e){var n=new Date(t.getTime()),o={key:t.toString(),date:t.getDate().toString(),originalDate:n,isInMonth:t.getMonth()===m.getMonth(),isToday:jl(h,t),isSelected:Wl(t,y),isInBounds:!ic(t,f),isMarked:(null==p?void 0:p.some((function(e){return jl(n,e)})))||!1};S.push(o),o.isInMonth&&(v=!1),t.setDate(t.getDate()+1)},x=0;x<Il;x++)k();C=l?_<l+1:!v||0===_,g.push(S)}return g}(e),i=r[1][0].originalDate,a=r[r.length-1][6].originalDate,s=(null===(o=e.getMarkedDays)||void 0===o?void 0:o.call(e,i,a))||[],l=[],c=0;c<r.length;c++){for(var d=[],p=function(e){var o=r[c][e],i=Object(u.a)(Object(u.a)({onSelected:function(){return t(o.originalDate)},setRef:n(o.key)},o),{isMarked:o.isMarked||(null==s?void 0:s.some((function(e){return jl(o.originalDate,e)})))});d.push(i)},f=0;f<Il;f++)p(f);l.push(d)}return l}),[e])}var pc=function(e){var t=d.useRef(null),n=wa(),o=function(){var e=d.useRef({});return[e,function(t){return function(n){null===n?delete e.current[t]:e.current[t]=n}}]}(),r=o[0],i=o[1],a=dc(e,(function(t){var n,o,r=e.firstDayOfWeek,i=e.minDate,a=e.maxDate,s=e.workWeekDays,l=e.daysToSelectInDayView,c={minDate:i,maxDate:a,restrictedDates:e.restrictedDates},u=zl(t,g,r,s,l);u=(u=nc(u,i,a)).filter((function(e){return!ic(e,c)})),null===(n=e.onSelectDate)||void 0===n||n.call(e,t,u),null===(o=e.onNavigateDate)||void 0===o||o.call(e,t,!0)}),i),s=function(e){var t=ua(e[0][0].originalDate);return t&&t.getTime()!==e[0][0].originalDate.getTime()?!(t<=e[0][0].originalDate):void 0}(a),l=function(e){var t=function(e,t,n,o,r){var i=[],a=!t&&!r,s=!n&&!o,l=!n&&!r;return!t&&!o&&i.push(P()?e.topRightCornerDate:e.topLeftCornerDate),a&&i.push(P()?e.topLeftCornerDate:e.topRightCornerDate),s&&i.push(P()?e.bottomRightCornerDate:e.bottomLeftCornerDate),l&&i.push(P()?e.bottomLeftCornerDate:e.bottomRightCornerDate),i.join(" ")},n=function(e,t,n,o,r){var i=[];return t||i.push(e.datesAbove),n||i.push(e.datesBelow),o||i.push(P()?e.datesRight:e.datesLeft),r||i.push(P()?e.datesLeft:e.datesRight),i.join(" ")},o=function(t,n,o,r){var i=e.dateRangeType,a=e.firstDayOfWeek,s=e.workWeekDays,l=zl(t,i===xl.WorkWeek?xl.Week:i,a,s);return o===r&&(!(!o||!r)||l.filter((function(e){return e.getTime()===n.getTime()})).length>0)};return[function(e,r){var i={},a=r.slice(1,r.length-1);return a.forEach((function(r,s){r.forEach((function(r,l){var c=a[s-1]&&a[s-1][l]&&o(a[s-1][l].originalDate,r.originalDate,a[s-1][l].isSelected,r.isSelected),u=a[s+1]&&a[s+1][l]&&o(a[s+1][l].originalDate,r.originalDate,a[s+1][l].isSelected,r.isSelected),d=a[s][l-1]&&o(a[s][l-1].originalDate,r.originalDate,a[s][l-1].isSelected,r.isSelected),p=a[s][l+1]&&o(a[s][l+1].originalDate,r.originalDate,a[s][l+1].isSelected,r.isSelected),f=[];f.push(t(e,c,u,d,p)),f.push(n(e,c,u,d,p)),i[s+"_"+l]=f.join(" ")}))})),i},t]}(e),c=l[0],p=l[1];d.useImperativeHandle(e.componentRef,(function(){return{focus:function(){var e,n;null===(n=null===(e=t.current)||void 0===e?void 0:e.focus)||void 0===n||n.call(e)}}}),[]);var f=e.styles,h=e.theme,m=e.className,g=e.dateRangeType,v=e.showWeekNumbers,b=e.labelledBy,y=e.lightenDaysOutsideNavigatedMonth,C=e.animationDirection,_=uc(f,{theme:h,className:m,dateRangeType:g,showWeekNumbers:v,lightenDaysOutsideNavigatedMonth:void 0===y||y,animationDirection:C,animateBackwards:s}),S=c(_,a),k={weeks:a,navigatedDayRef:t,calculateRoundedStyles:p,activeDescendantId:n,classNames:_,weekCorners:S,getDayInfosInRangeOfDay:function(t){var n=function(e,t){if(t&&e===xl.WorkWeek){for(var n=t.slice().sort(),o=!0,r=1;r<n.length;r++)if(n[r]!==n[r-1]+1){o=!1;break}if(!o||0===t.length)return xl.Week}return e}(e.dateRangeType,e.workWeekDays),o=zl(t.originalDate,n,e.firstDayOfWeek,e.workWeekDays,e.daysToSelectInDayView).map((function(e){return e.getTime()}));return a.reduce((function(e,t){return e.concat(t.filter((function(e){return-1!==o.indexOf(e.originalDate.getTime())})))}),[])},getRefsFromDayInfos:function(e){return e.map((function(e){return r.current[e.key]}))}};return d.createElement(zn,{className:_.wrapper,preventDefaultWhenHandled:!0},d.createElement("table",{className:_.table,"aria-multiselectable":"false","aria-labelledby":b,"aria-activedescendant":n,role:"grid"},d.createElement("tbody",null,d.createElement(ac,Object(u.a)({},e,{classNames:_,weeks:a})),d.createElement(cc,Object(u.a)({},e,k,{week:a[0],weekIndex:-1,rowClassName:_.firstTransitionWeek,ariaRole:"presentation",ariaHidden:!0})),a.slice(1,a.length-1).map((function(t,n){return d.createElement(cc,Object(u.a)({},e,k,{key:n,week:t,weekIndex:n,rowClassName:_.weekRow}))})),d.createElement(cc,Object(u.a)({},e,k,{week:a[a.length-1],weekIndex:-2,rowClassName:_.lastTransitionWeek,ariaRole:"presentation",ariaHidden:!0})))))};pc.displayName="CalendarDayGridBase";var fc={hoverStyle:"ms-CalendarDay-hoverStyle",pressedStyle:"ms-CalendarDay-pressedStyle",dayIsTodayStyle:"ms-CalendarDay-dayIsToday",daySelectedStyle:"ms-CalendarDay-daySelected"},hc=Object(p.bb)({"100%":{width:0,height:0,overflow:"hidden"},"99.9%":{width:"100%",height:28,overflow:"visible"},"0%":{width:"100%",height:28,overflow:"visible"}}),mc=k(pc,(function(e){var t,n,o,r,i,a,s,l,c,d,f=e.theme,h=e.dateRangeType,m=e.showWeekNumbers,g=e.lightenDaysOutsideNavigatedMonth,v=e.animateBackwards,b=e.animationDirection,y=f.palette,C=Object(p.R)(fc,f),_={};void 0!==v&&(_=b===Cl.Horizontal?v?p.b.slideRightIn20:p.b.slideLeftIn20:v?p.b.slideDownIn20:p.b.slideUpIn20);var S={},k={};void 0!==v&&b!==Cl.Horizontal&&(S=v?{animationName:""}:p.b.slideUpOut20,k=v?p.b.slideDownOut20:{animationName:""});var x={selectors:{"&, &:disabled, & button":{color:y.neutralTertiaryAlt,pointerEvents:"none"}}};return{wrapper:{paddingBottom:10},table:[{textAlign:"center",borderCollapse:"collapse",borderSpacing:"0",tableLayout:"fixed",fontSize:"inherit",marginTop:4,width:196,position:"relative",paddingBottom:10},m&&{width:226}],dayCell:[Object(p.Q)(f,{inset:-3}),{margin:0,padding:0,width:28,height:28,lineHeight:28,fontSize:p.k.small,fontWeight:p.l.regular,color:y.neutralPrimary,cursor:"pointer",position:"relative",selectors:(t={},t[p.m]=Object(u.a)({color:"WindowText",backgroundColor:"transparent",zIndex:0},Object(p.S)()),t["&."+C.hoverStyle]={backgroundColor:y.neutralLighter,selectors:(n={},n[p.m]={zIndex:3,backgroundColor:"Window",outline:"1px solid Highlight"},n)},t["&."+C.pressedStyle]={backgroundColor:y.neutralLight,selectors:(o={},o[p.m]={borderColor:"Highlight",color:"Highlight",backgroundColor:"Window"},o)},t["&."+C.pressedStyle+"."+C.hoverStyle]={selectors:(r={},r[p.m]={backgroundColor:"Window",outline:"1px solid Highlight"},r)},t)}],daySelected:[h!==xl.Month&&{backgroundColor:y.neutralLight+"!important",selectors:(i={"&::before":{content:'""',position:"absolute",top:0,bottom:0,left:0,right:0}},i["&:hover, &."+C.hoverStyle+", &."+C.pressedStyle]=(a={backgroundColor:y.neutralLight+"!important"},a[p.m]={color:"HighlightText!important",background:"Highlight!important"},a),i[p.m]=Object(u.a)({background:"Highlight!important",color:"HighlightText!important",borderColor:"Highlight!important"},Object(p.S)()),i)}],weekRow:_,weekDayLabelCell:p.b.fadeIn200,weekNumberCell:{margin:0,padding:0,borderRight:"1px solid",borderColor:y.neutralLight,backgroundColor:y.neutralLighterAlt,color:y.neutralSecondary,boxSizing:"border-box",width:28,height:28,fontWeight:p.l.regular,fontSize:p.k.small},dayOutsideBounds:x,dayOutsideNavigatedMonth:g&&{color:y.neutralSecondary,fontWeight:p.l.regular},dayButton:{width:24,height:24,lineHeight:24,fontSize:p.k.small,fontWeight:"inherit",borderRadius:2,border:"none",padding:0,color:"inherit",backgroundColor:"transparent",cursor:"pointer",overflow:"visible",selectors:{span:{height:"inherit",lineHeight:"inherit"}}},dayIsToday:{backgroundColor:y.themePrimary+"!important",borderRadius:"100%",color:y.white+"!important",fontWeight:p.l.semibold+"!important",selectors:(s={},s[p.m]=Object(u.a)({background:"WindowText!important",color:"Window!important",borderColor:"WindowText!important"},Object(p.S)()),s)},firstTransitionWeek:Object(u.a)(Object(u.a)({position:"absolute",opacity:0,width:0,height:0,overflow:"hidden"},S),{animationName:S.animationName+","+hc}),lastTransitionWeek:Object(u.a)(Object(u.a)({position:"absolute",opacity:0,width:0,height:0,overflow:"hidden",marginTop:-28},k),{animationName:k.animationName+","+hc}),dayMarker:{width:4,height:4,backgroundColor:y.neutralSecondary,borderRadius:"100%",bottom:1,left:0,right:0,position:"absolute",margin:"auto",selectors:(l={},l["."+C.dayIsTodayStyle+" &"]={backgroundColor:y.white,selectors:(c={},c[p.m]={backgroundColor:"Window"},c)},l["."+C.daySelectedStyle+" &"]={selectors:(d={},d[p.m]={backgroundColor:"HighlightText"},d)},l[p.m]=Object(u.a)({backgroundColor:"WindowText"},Object(p.S)()),l)},topRightCornerDate:{borderTopRightRadius:"2px"},topLeftCornerDate:{borderTopLeftRadius:"2px"},bottomRightCornerDate:{borderBottomRightRadius:"2px"},bottomLeftCornerDate:{borderBottomLeftRadius:"2px"},datesAbove:{"&::before":{borderTop:"1px solid ".concat(y.neutralSecondary)}},datesBelow:{"&::before":{borderBottom:"1px solid ".concat(y.neutralSecondary)}},datesLeft:{"&::before":{borderLeft:"1px solid ".concat(y.neutralSecondary)}},datesRight:{"&::before":{borderRight:"1px solid ".concat(y.neutralSecondary)}}}}),void 0,{scope:"CalendarDayGrid"}),gc=L(),vc=function(e){var t=d.useRef(null);d.useImperativeHandle(e.componentRef,(function(){return{focus:function(){var e,n;null===(n=null===(e=t.current)||void 0===e?void 0:e.focus)||void 0===n||n.call(e)}}}),[]);var n=e.strings,o=e.navigatedDate,r=e.dateTimeFormatter,i=e.styles,a=e.theme,s=e.className,l=e.onHeaderSelect,c=e.showSixWeeksByDefault,p=e.minDate,f=e.maxDate,h=e.restrictedDates,m=e.onNavigateDate,g=e.showWeekNumbers,v=e.dateRangeType,b=e.animationDirection,y=wa(),C=gc(i,{theme:a,className:s,headerIsClickable:!!l,showWeekNumbers:g,animationDirection:b}),_=r.formatMonthYear(o,n),S=l?"button":"div",k=n.yearPickerHeaderAriaLabel?ec(n.yearPickerHeaderAriaLabel,_):_;return d.createElement("div",{className:C.root},d.createElement("div",{className:C.header},d.createElement(S,{"aria-label":l?k:void 0,className:C.monthAndYear,onClick:l,"data-is-focusable":!!l,tabIndex:l?0:-1,onKeyDown:yc(l),type:"button"},d.createElement("span",{id:y,"aria-live":"polite","aria-atomic":"true"},_)),d.createElement(bc,Object(u.a)({},e,{classNames:C}))),d.createElement(mc,Object(u.a)({},e,{styles:i,componentRef:t,strings:n,navigatedDate:o,weeksToShow:c?6:void 0,dateTimeFormatter:r,minDate:p,maxDate:f,restrictedDates:h,onNavigateDate:m,labelledBy:y,dateRangeType:v})))};vc.displayName="CalendarDayBase";var bc=function(e){var t,n,o=e.minDate,r=e.maxDate,i=e.navigatedDate,a=e.allFocusable,s=e.strings,l=e.navigationIcons,c=e.showCloseButton,u=e.classNames,p=e.onNavigateDate,f=e.onDismiss,h=function(){p(Rl(i,1),!1)},m=function(){p(Rl(i,-1),!1)},g=l.leftNavigation,v=l.rightNavigation,b=l.closeIcon,y=!o||Hl(o,Nl(i))<0,C=!r||Hl(Fl(i),r)<0;return d.createElement("div",{className:u.monthComponents},d.createElement("button",{className:Me(u.headerIconButton,(t={},t[u.disabledStyle]=!y,t)),tabIndex:y?void 0:a?0:-1,"aria-disabled":!y,onClick:y?m:void 0,onKeyDown:y?yc(m):void 0,title:s.prevMonthAriaLabel?s.prevMonthAriaLabel+" "+s.months[Rl(i,-1).getMonth()]:void 0,type:"button"},d.createElement(Ge,{iconName:g})),d.createElement("button",{className:Me(u.headerIconButton,(n={},n[u.disabledStyle]=!C,n)),tabIndex:C?void 0:a?0:-1,"aria-disabled":!C,onClick:C?h:void 0,onKeyDown:C?yc(h):void 0,title:s.nextMonthAriaLabel?s.nextMonthAriaLabel+" "+s.months[Rl(i,1).getMonth()]:void 0,type:"button"},d.createElement(Ge,{iconName:v})),c&&d.createElement("button",{className:Me(u.headerIconButton),onClick:f,onKeyDown:yc(f),title:s.closeButtonAriaLabel,type:"button"},d.createElement(Ge,{iconName:b})))};bc.displayName="CalendarDayNavigationButtons";var yc=function(e){return function(t){switch(t.which){case E.enter:null==e||e()}}},Cc=k(vc,(function(e){var t,n=e.className,o=e.theme,r=e.headerIsClickable,i=e.showWeekNumbers,a=o.palette,s={selectors:(t={"&, &:disabled, & button":{color:a.neutralTertiaryAlt,pointerEvents:"none"}},t[p.m]={color:"GrayText",forcedColorAdjust:"none"},t)};return{root:[p.gb,{width:196,padding:12,boxSizing:"content-box"},i&&{width:226},n],header:{position:"relative",display:"inline-flex",height:28,lineHeight:44,width:"100%"},monthAndYear:[Object(p.Q)(o,{inset:1}),Object(u.a)(Object(u.a)({},p.b.fadeIn200),{alignItems:"center",fontSize:p.k.medium,fontFamily:"inherit",color:a.neutralPrimary,display:"inline-block",flexGrow:1,fontWeight:p.l.semibold,padding:"0 4px 0 10px",border:"none",backgroundColor:"transparent",borderRadius:2,lineHeight:28,overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",textOverflow:"ellipsis"}),r&&{selectors:{"&:hover":{cursor:"pointer",background:a.neutralLight,color:a.black}}}],monthComponents:{display:"inline-flex",alignSelf:"flex-end"},headerIconButton:[Object(p.Q)(o,{inset:-1}),{width:28,height:28,display:"block",textAlign:"center",lineHeight:28,fontSize:p.k.small,fontFamily:"inherit",color:a.neutralPrimary,borderRadius:2,position:"relative",backgroundColor:"transparent",border:"none",padding:0,overflow:"visible",selectors:{"&:hover":{color:a.neutralDark,backgroundColor:a.neutralLight,cursor:"pointer",outline:"1px solid transparent"}}}],disabledStyle:s}}),void 0,{scope:"CalendarDay"}),_c=function(e){var t,n,o,r,i,a,s,l=e.className,c=e.theme,d=e.hasHeaderClickCallback,f=e.highlightCurrent,h=e.highlightSelected,m=e.animateBackwards,g=e.animationDirection,v=c.palette,b={};void 0!==m&&(b=g===Cl.Horizontal?m?p.b.slideRightIn20:p.b.slideLeftIn20:m?p.b.slideDownIn20:p.b.slideUpIn20);var y=void 0!==m?p.b.fadeIn200:{};return{root:[p.gb,{width:196,padding:12,boxSizing:"content-box",overflow:"hidden"},l],headerContainer:{display:"flex"},currentItemButton:[Object(p.Q)(c,{inset:-1}),Object(u.a)(Object(u.a)({},y),{fontSize:p.k.medium,fontWeight:p.l.semibold,fontFamily:"inherit",textAlign:"left",color:"inherit",backgroundColor:"transparent",flexGrow:1,padding:"0 4px 0 10px",border:"none",overflow:"visible"}),d&&{selectors:{"&:hover, &:active":{cursor:d?"pointer":"default",color:v.neutralDark,outline:"1px solid transparent",backgroundColor:v.neutralLight}}}],navigationButtonsContainer:{display:"flex",alignItems:"center"},navigationButton:[Object(p.Q)(c,{inset:-1}),{fontFamily:"inherit",width:28,minWidth:28,height:28,minHeight:28,display:"block",textAlign:"center",lineHeight:28,fontSize:p.k.small,color:v.neutralPrimary,borderRadius:2,position:"relative",backgroundColor:"transparent",border:"none",padding:0,overflow:"visible",selectors:{"&:hover":{color:v.neutralDark,cursor:"pointer",outline:"1px solid transparent",backgroundColor:v.neutralLight}}}],gridContainer:{marginTop:4},buttonRow:Object(u.a)(Object(u.a)({},b),{marginBottom:16,selectors:{"&:nth-child(n + 3)":{marginBottom:0}}}),itemButton:[Object(p.Q)(c,{inset:-1}),{width:40,height:40,minWidth:40,minHeight:40,lineHeight:40,fontSize:p.k.small,fontFamily:"inherit",padding:0,margin:"0 12px 0 0",color:v.neutralPrimary,backgroundColor:"transparent",border:"none",borderRadius:2,overflow:"visible",selectors:{"&:nth-child(4n + 4)":{marginRight:0},"&:nth-child(n + 9)":{marginBottom:0},"& div":{fontWeight:p.l.regular},"&:hover":{color:v.neutralDark,backgroundColor:v.neutralLight,cursor:"pointer",outline:"1px solid transparent",selectors:(t={},t[p.m]=Object(u.a)({background:"Window",color:"WindowText",outline:"1px solid Highlight"},Object(p.S)()),t)},"&:active":{backgroundColor:v.themeLight,selectors:(n={},n[p.m]=Object(u.a)({background:"Window",color:"Highlight"},Object(p.S)()),n)}}}],current:f?{color:v.white,backgroundColor:v.themePrimary,selectors:(o={"& div":{fontWeight:p.l.semibold},"&:hover":{backgroundColor:v.themePrimary,selectors:(r={},r[p.m]=Object(u.a)({backgroundColor:"WindowText",color:"Window"},Object(p.S)()),r)}},o[p.m]=Object(u.a)({backgroundColor:"WindowText",color:"Window"},Object(p.S)()),o)}:{},selected:h?{color:v.neutralPrimary,backgroundColor:v.themeLight,fontWeight:p.l.semibold,selectors:(i={"& div":{fontWeight:p.l.semibold},"&:hover, &:active":{backgroundColor:v.themeLight,selectors:(a={},a[p.m]=Object(u.a)({color:"Window",background:"Highlight"},Object(p.S)()),a)}},i[p.m]=Object(u.a)({background:"Highlight",color:"Window"},Object(p.S)()),i)}:{},disabled:{selectors:(s={"&, &:disabled, & button":{color:v.neutralTertiaryAlt,pointerEvents:"none"}},s[p.m]={color:"GrayText",forcedColorAdjust:"none"},s)}}},Sc=function(e){return _c(e)},kc=Ol,xc=kc,wc={leftNavigation:"Up",rightNavigation:"Down",closeIcon:"CalculatorMultiply"},Ic=L(),Ec={prevRangeAriaLabel:void 0,nextRangeAriaLabel:void 0},Oc=function(e){var t,n,o=e.styles,r=e.theme,i=e.className,a=e.highlightCurrentYear,s=e.highlightSelectedYear,l=e.year,c=e.selected,u=e.disabled,p=e.componentRef,f=e.onSelectYear,h=e.onRenderYear,m=d.useRef(null);d.useImperativeHandle(p,(function(){return{focus:function(){var e,t;null===(t=null===(e=m.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}}),[]);var g=Ic(o,{theme:r,className:i,highlightCurrent:a,highlightSelected:s});return d.createElement("button",{className:Me(g.itemButton,(t={},t[g.selected]=c,t[g.disabled]=u,t)),type:"button",role:"gridcell",onClick:u?void 0:function(){null==f||f(l)},onKeyDown:u?void 0:function(e){e.which===E.enter&&(null==f||f(l))},disabled:u,"aria-selected":c,ref:m},null!==(n=null==h?void 0:h(l))&&void 0!==n?n:l)};Oc.displayName="CalendarYearGridCell";var Tc,Dc=function(e){var t=e.styles,n=e.theme,o=e.className,r=e.fromYear,i=e.toYear,a=e.animationDirection,s=e.animateBackwards,l=e.minYear,c=e.maxYear,p=e.onSelectYear,f=e.selectedYear,h=e.componentRef,m=d.useRef(null),g=d.useRef(null);d.useImperativeHandle(h,(function(){return{focus:function(){var e,t;null===(t=null===(e=m.current||g.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}}),[]);for(var v,b,y,C,_=Ic(t,{theme:n,className:o,animateBackwards:s,animationDirection:a}),S=function(t){var n,o;return null!==(o=null===(n=e.onRenderYear)||void 0===n?void 0:n.call(e,t))&&void 0!==o?o:t},k="".concat(S(r)," - ").concat(S(i)),x=r,w=[],I=0;I<(i-r+1)/4;I++){w.push([]);for(var E=0;E<4;E++)w[I].push((b=void 0,y=void 0,C=void 0,b=(v=x)===f,y=void 0!==l&&v<l||void 0!==c&&v>c,C=v===(new Date).getFullYear(),d.createElement(Oc,Object(u.a)({},e,{key:v,year:v,selected:b,current:C,disabled:y,onSelectYear:p,componentRef:b?m:C?g:void 0,theme:n})))),x++}return d.createElement(zn,null,d.createElement("div",{className:_.gridContainer,role:"grid","aria-label":k},w.map((function(e,t){return d.createElement.apply(d,Object(u.e)(["div",{key:"yearPickerRow_"+t+"_"+r,role:"row",className:_.buttonRow}],e,!1))}))))};Dc.displayName="CalendarYearGrid",function(e){e[e.Previous=0]="Previous",e[e.Next=1]="Next"}(Tc||(Tc={}));var Pc=function(e){var t,n=e.styles,o=e.theme,r=e.className,i=e.navigationIcons,a=void 0===i?wc:i,s=e.strings,l=void 0===s?Ec:s,c=e.direction,u=e.onSelectPrev,p=e.onSelectNext,f=e.fromYear,h=e.toYear,m=e.maxYear,g=e.minYear,v=Ic(n,{theme:o,className:r}),b=c===Tc.Previous?l.prevRangeAriaLabel:l.nextRangeAriaLabel,y=c===Tc.Previous?-12:12,C=b?"string"==typeof b?b:b({fromYear:f+y,toYear:h+y}):void 0,_=c===Tc.Previous?void 0!==g&&f<g:void 0!==m&&e.fromYear+12>m,S=function(){c===Tc.Previous?null==u||u():null==p||p()},k=P()?c===Tc.Next:c===Tc.Previous;return d.createElement("button",{className:Me(v.navigationButton,(t={},t[v.disabled]=_,t)),onClick:_?void 0:S,onKeyDown:_?void 0:function(e){e.which===E.enter&&S()},type:"button",title:C,disabled:_},d.createElement(Ge,{iconName:k?a.leftNavigation:a.rightNavigation}))};Pc.displayName="CalendarYearNavArrow";var Rc=function(e){var t=e.styles,n=e.theme,o=e.className,r=Ic(t,{theme:n,className:o});return d.createElement("div",{className:r.navigationButtonsContainer},d.createElement(Pc,Object(u.a)({},e,{direction:Tc.Previous})),d.createElement(Pc,Object(u.a)({},e,{direction:Tc.Next})))};Rc.displayName="CalendarYearNav";var Mc=function(e){var t=e.styles,n=e.theme,o=e.className,r=e.fromYear,i=e.toYear,a=e.strings,s=void 0===a?Ec:a,l=e.animateBackwards,c=e.animationDirection,u=function(){var t;null===(t=e.onHeaderSelect)||void 0===t||t.call(e,!0)},p=function(t){var n,o;return null!==(o=null===(n=e.onRenderYear)||void 0===n?void 0:n.call(e,t))&&void 0!==o?o:t},f=Ic(t,{theme:n,className:o,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:l,animationDirection:c});if(e.onHeaderSelect){var h=s.rangeAriaLabel,m=s.headerAriaLabelFormatString,g=h?"string"==typeof h?h:h(e):void 0,v=m?ec(m,g):g;return d.createElement("button",{className:f.currentItemButton,onClick:u,onKeyDown:function(e){e.which!==E.enter&&e.which!==E.space||u()},"aria-label":v,role:"button",type:"button"},d.createElement("span",{"aria-live":"assertive","aria-atomic":"true"},p(r)," - ",p(i)))}return d.createElement("div",{className:f.current},p(r)," - ",p(i))};Mc.displayName="CalendarYearTitle";var Nc,Fc=function(e){var t,n=e.styles,o=e.theme,r=e.className,i=e.animateBackwards,a=e.animationDirection,s=e.onRenderTitle,l=Ic(n,{theme:o,className:r,hasHeaderClickCallback:!!e.onHeaderSelect,animateBackwards:i,animationDirection:a});return d.createElement("div",{className:l.headerContainer},null!==(t=null==s?void 0:s(e))&&void 0!==t?t:d.createElement(Mc,Object(u.a)({},e)),d.createElement(Rc,Object(u.a)({},e)))};Fc.displayName="CalendarYearHeader",function(e){e[e.Previous=0]="Previous",e[e.Next=1]="Next"}(Nc||(Nc={}));var Bc=function(e){var t=function(e){var t=e.selectedYear,n=e.navigatedYear,o=t||n||(new Date).getFullYear(),r=10*Math.floor(o/10),i=ua(r);return i&&i!==r?i>r:void 0}(e),n=function(e){var t=e.selectedYear,n=e.navigatedYear,o=d.useReducer((function(e,t){return e+(t===Nc.Next?12:-12)}),void 0,(function(){var e=t||n||(new Date).getFullYear();return 10*Math.floor(e/10)})),r=o[0],i=o[1];return[r,r+12-1,function(){return i(Nc.Next)},function(){return i(Nc.Previous)}]}(e),o=n[0],r=n[1],i=n[2],a=n[3],s=d.useRef(null);d.useImperativeHandle(e.componentRef,(function(){return{focus:function(){var e,t;null===(t=null===(e=s.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}}}));var l=e.styles,c=e.theme,p=e.className,f=Ic(l,{theme:c,className:p});return d.createElement("div",{className:f.root},d.createElement(Fc,Object(u.a)({},e,{fromYear:o,toYear:r,onSelectPrev:a,onSelectNext:i,animateBackwards:t})),d.createElement(Dc,Object(u.a)({},e,{fromYear:o,toYear:r,animateBackwards:t,componentRef:s})))};Bc.displayName="CalendarYearBase";var Lc=k(Bc,(function(e){return _c(e)}),void 0,{scope:"CalendarYear"}),Ac=L(),jc={styles:Sc,strings:void 0,navigationIcons:wc,dateTimeFormatter:El,yearPickerHidden:!1};var Hc=function(e){var t,n,o=H(jc,e),r=function(e){var t=e.componentRef,n=d.useRef(null),o=d.useRef(null),r=d.useRef(!1),i=d.useCallback((function(){o.current?o.current.focus():n.current&&n.current.focus()}),[]);return d.useImperativeHandle(t,(function(){return{focus:i}}),[i]),d.useEffect((function(){r.current&&(i(),r.current=!1)})),[n,o,function(){r.current=!0}]}(o),i=r[0],a=r[1],s=r[2],l=d.useState(!1),c=l[0],u=l[1],p=function(e){var t=e.navigatedDate.getFullYear(),n=ua(t);return void 0===n||n===t?void 0:n>t}(o),f=o.navigatedDate,h=o.selectedDate,m=o.strings,g=o.today,v=void 0===g?new Date:g,b=o.navigationIcons,y=o.dateTimeFormatter,C=o.minDate,_=o.maxDate,S=o.theme,k=o.styles,x=o.className,w=o.allFocusable,I=o.highlightCurrentMonth,E=o.highlightSelectedMonth,O=o.animationDirection,T=o.yearPickerHidden,D=o.onNavigateDate,R=function(e){return function(){return F(e)}},M=function(){D(Ml(f,1),!1)},N=function(){D(Ml(f,-1),!1)},F=function(e){var t;null===(t=o.onHeaderSelect)||void 0===t||t.call(o),D(Al(f,e),!0)},B=function(){var e;T?null===(e=o.onHeaderSelect)||void 0===e||e.call(o):(s(),u(!0))},L=b.leftNavigation,A=b.rightNavigation,j=y,z=!C||Hl(C,Bl(f))<0,W=!_||Hl(Ll(f),_)<0,V=Ac(k,{theme:S,className:x,hasHeaderClickCallback:!!o.onHeaderSelect||!T,highlightCurrent:I,highlightSelected:E,animateBackwards:p,animationDirection:O});if(c){var U=function(e){var t=e.strings,n=e.navigatedDate,o=e.dateTimeFormatter,r=function(e){if(o){var t=new Date(n.getTime());return t.setFullYear(e),o.formatYear(t)}return String(e)},i=function(e){return"".concat(r(e.fromYear)," - ").concat(r(e.toYear))};return[r,{rangeAriaLabel:i,prevRangeAriaLabel:function(e){return t.prevYearRangeAriaLabel?"".concat(t.prevYearRangeAriaLabel," ").concat(i(e)):""},nextRangeAriaLabel:function(e){return t.nextYearRangeAriaLabel?"".concat(t.nextYearRangeAriaLabel," ").concat(i(e)):""},headerAriaLabelFormatString:t.yearPickerHeaderAriaLabel}]}(o),K=U[0],G=U[1];return d.createElement(Lc,{key:"calendarYear",minYear:C?C.getFullYear():void 0,maxYear:_?_.getFullYear():void 0,onSelectYear:function(e){if(s(),f.getFullYear()!==e){var t=new Date(f.getTime());t.setFullYear(e),_&&t>_?t=Al(t,_.getMonth()):C&&t<C&&(t=Al(t,C.getMonth())),D(t,!0)}u(!1)},navigationIcons:b,onHeaderSelect:function(e){s(),u(!1)},selectedYear:h?h.getFullYear():f?f.getFullYear():void 0,onRenderYear:K,strings:G,componentRef:a,styles:k,highlightCurrentYear:I,highlightSelectedYear:E,animationDirection:O})}for(var q=[],Y=0;Y<m.shortMonths.length/4;Y++)q.push(Y);var Q=j.formatYear(f),X=m.monthPickerHeaderAriaLabel?ec(m.monthPickerHeaderAriaLabel,Q):Q;return d.createElement("div",{className:V.root},d.createElement("div",{className:V.headerContainer},d.createElement("button",{className:V.currentItemButton,onClick:B,onKeyDown:Wc(B),"aria-label":X,"data-is-focusable":!!o.onHeaderSelect||!T,tabIndex:o.onHeaderSelect||!T?0:-1,type:"button"},d.createElement("span",{"aria-live":"polite","aria-atomic":"true"},Q)),d.createElement("div",{className:V.navigationButtonsContainer},d.createElement("button",{className:Me(V.navigationButton,(t={},t[V.disabled]=!z,t)),"aria-disabled":!z,tabIndex:z?void 0:w?0:-1,onClick:z?N:void 0,onKeyDown:z?Wc(N):void 0,title:m.prevYearAriaLabel?m.prevYearAriaLabel+" "+j.formatYear(Ml(f,-1)):void 0,type:"button"},d.createElement(Ge,{iconName:P()?A:L})),d.createElement("button",{className:Me(V.navigationButton,(n={},n[V.disabled]=!W,n)),"aria-disabled":!W,tabIndex:W?void 0:w?0:-1,onClick:W?M:void 0,onKeyDown:W?Wc(M):void 0,title:m.nextYearAriaLabel?m.nextYearAriaLabel+" "+j.formatYear(Ml(f,1)):void 0,type:"button"},d.createElement(Ge,{iconName:P()?L:A})))),d.createElement(zn,null,d.createElement("div",{className:V.gridContainer,role:"grid","aria-label":Q},q.map((function(e){var t=m.shortMonths.slice(4*e,4*(e+1));return d.createElement("div",{key:"monthRow_"+e+f.getFullYear(),role:"row",className:V.buttonRow},t.map((function(t,n){var o,r=4*e+n,a=Al(f,r),s=f.getMonth()===r,l=h.getMonth()===r,c=h.getFullYear()===f.getFullYear(),u=(!C||Hl(C,Fl(a))<1)&&(!_||Hl(Nl(a),_)<1);return d.createElement("button",{ref:s?i:void 0,role:"gridcell",className:Me(V.itemButton,(o={},o[V.current]=I&&zc(r,f.getFullYear(),v),o[V.selected]=E&&l&&c,o[V.disabled]=!u,o)),disabled:!w&&!u,key:r,onClick:u?R(r):void 0,onKeyDown:u?Wc(R(r)):void 0,"aria-label":j.formatMonth(a,m),"aria-selected":s,"data-is-focusable":!!u||void 0,type:"button"},t)})))})))))};function zc(e,t,n){return n.getFullYear()===t&&n.getMonth()===e}function Wc(e){return function(t){switch(t.which){case E.enter:e()}}}Hc.displayName="CalendarMonthBase";var Vc=k(Hc,Sc,void 0,{scope:"CalendarMonth"});function Uc(e,t,n){var o=d.useState(t),r=o[0],i=o[1],a=jr(void 0!==e),s=a?e:r,l=d.useRef(s),c=d.useRef(n);d.useEffect((function(){l.current=s,c.current=n}));var u=jr((function(){return function(e,t){var n="function"==typeof e?e(l.current):e;c.current&&c.current(t,n),a||i(n)}}));return[s,u]}var Kc=L(),Gc=[_l.Monday,_l.Tuesday,_l.Wednesday,_l.Thursday,_l.Friday],qc={isMonthPickerVisible:!0,isDayPickerVisible:!0,showMonthPickerAsOverlay:!1,today:new Date,firstDayOfWeek:_l.Sunday,dateRangeType:xl.Day,showGoToToday:!0,strings:Ol,highlightCurrentMonth:!1,highlightSelectedMonth:!1,navigationIcons:wc,showWeekNumbers:!1,firstWeekOfYear:kl.FirstDay,dateTimeFormatter:El,showSixWeeksByDefault:!1,workWeekDays:Gc,showCloseButton:!1,allFocusable:!1};var Yc=d.forwardRef((function(e,t){var n=H(qc,e),o=function(e){var t=e.value,n=e.today,o=void 0===n?new Date:n,r=e.onSelectDate,i=Uc(t,o),a=i[0],s=void 0===a?o:a,l=i[1],c=d.useState(t),u=c[0],p=void 0===u?o:u,f=c[1],h=d.useState(t),m=h[0],g=void 0===m?o:m,v=h[1],b=d.useState(t),y=b[0],C=void 0===y?o:y,_=b[1];return t&&C.valueOf()!==t.valueOf()&&(f(t),v(t),_(t)),[s,p,g,function(e,t){v(e),f(e),l(e),null==r||r(e,t)},function(e){v(e),f(e)},function(e){v(e)}]}(n),r=o[0],i=o[1],a=o[2],s=o[3],l=o[4],c=o[5],p=function(e){var t=Uc(Qc(e)?void 0:e.isMonthPickerVisible,!1),n=t[0],o=void 0===n||n,r=t[1],i=Uc(Qc(e)?void 0:e.isDayPickerVisible,!0),a=i[0],s=void 0===a||a,l=i[1];return[o,s,function(){r(!o),l(!s)}]}(n),f=p[0],h=p[1],m=p[2],g=function(e,t,n){var o=e.componentRef,r=d.useRef(null),i=d.useRef(null),a=d.useRef(!1),s=d.useCallback((function(){t&&r.current?fn(r.current):n&&i.current&&fn(i.current)}),[t,n]);return d.useImperativeHandle(o,(function(){return{focus:s}}),[s]),d.useEffect((function(){a.current&&(s(),a.current=!1)})),[r,i,function(){a.current=!0}]}(n,h,f),v=g[0],b=g[1],y=g[2],C=function(){var e=O;return e&&q&&(e=i.getFullYear()!==q.getFullYear()||i.getMonth()!==q.getMonth()||a.getFullYear()!==q.getFullYear()||a.getMonth()!==q.getMonth()),O&&d.createElement("button",{className:Me("js-goToday",Z.goTodayButton),onClick:S,onKeyDown:k(S),type:"button",disabled:!e},I.goToToday)},_=Qc(n)?function(){m(),y()}:void 0,S=function(){l(q),y()},k=function(e){return function(t){switch(t.which){case E.enter:case E.space:e()}}},x=n.firstDayOfWeek,w=n.dateRangeType,I=n.strings,O=n.showGoToToday,T=n.highlightCurrentMonth,D=n.highlightSelectedMonth,P=n.navigationIcons,R=n.minDate,M=n.maxDate,N=n.restrictedDates,F=n.id,B=n.className,L=n.showCloseButton,A=n.allFocusable,j=n.styles,z=n.showWeekNumbers,W=n.theme,V=n.calendarDayProps,U=n.calendarMonthProps,K=n.dateTimeFormatter,G=n.today,q=void 0===G?new Date:G,Y=Qc(n),Q=!Y&&!h,X=Y&&O,Z=Kc(j,{theme:W,className:B,isMonthPickerVisible:f,isDayPickerVisible:h,monthPickerOnly:Q,showMonthPickerAsOverlay:Y,overlaidWithButton:X,overlayedWithButton:X,showGoToToday:O,showWeekNumbers:z}),$="",J="";if(K&&I.todayDateFormatString&&($=ec(I.todayDateFormatString,K.formatMonthDayYear(q,I))),K&&I.selectedDateFormatString){var ee=Q?K.formatMonthYear:K.formatMonthDayYear;J=ec(I.selectedDateFormatString,ee(r,I))}var te=J+", "+$;return d.createElement("div",{id:F,ref:t,role:"group","aria-label":te,className:Me("ms-DatePicker",Z.root,B,"ms-slideDownIn10"),onKeyDown:function(e){var t;switch(e.which){case E.enter:case E.backspace:e.preventDefault();break;case E.escape:null===(t=n.onDismiss)||void 0===t||t.call(n);break;case E.pageUp:e.ctrlKey?l(Ml(i,1)):l(Rl(i,1)),e.preventDefault();break;case E.pageDown:e.ctrlKey?l(Ml(i,-1)):l(Rl(i,-1)),e.preventDefault()}}},d.createElement("div",{className:Z.liveRegion,"aria-live":"polite","aria-atomic":"true"},d.createElement("span",null,J)),h&&d.createElement(Cc,Object(u.a)({selectedDate:r,navigatedDate:i,today:n.today,onSelectDate:s,onNavigateDate:function(e,t){l(e),t&&y()},onDismiss:n.onDismiss,firstDayOfWeek:x,dateRangeType:w,strings:I,onHeaderSelect:_,navigationIcons:P,showWeekNumbers:n.showWeekNumbers,firstWeekOfYear:n.firstWeekOfYear,dateTimeFormatter:n.dateTimeFormatter,showSixWeeksByDefault:n.showSixWeeksByDefault,minDate:R,maxDate:M,restrictedDates:N,workWeekDays:n.workWeekDays,componentRef:v,showCloseButton:L,allFocusable:A},V)),h&&f&&d.createElement("div",{className:Z.divider}),f?d.createElement("div",{className:Z.monthPickerWrapper},d.createElement(Vc,Object(u.a)({navigatedDate:a,selectedDate:i,strings:I,onNavigateDate:function(e,t){t&&y(),t?(Q&&s(e),l(e)):c(e)},today:n.today,highlightCurrentMonth:T,highlightSelectedMonth:D,onHeaderSelect:_,navigationIcons:P,dateTimeFormatter:n.dateTimeFormatter,minDate:R,maxDate:M,componentRef:b},U)),C()):C(),d.createElement(Jn,null))}));function Qc(e){var t=e.showMonthPickerAsOverlay,n=e.isDayPickerVisible,o=Object(N.a)();return t||n&&o&&o.innerWidth<=440}Yc.displayName="CalendarBase";var Xc=k(Yc,(function(e){var t,n=e.className,o=e.theme,r=e.isDayPickerVisible,i=e.isMonthPickerVisible,a=e.showWeekNumbers,s=o.palette,l=r&&i?440:220;return a&&r&&(l+=30),{root:[p.gb,{display:"flex",width:l},!i&&{flexDirection:"column"},n],divider:{top:0,borderRight:"1px solid",borderColor:s.neutralLight},monthPickerWrapper:[{display:"flex",flexDirection:"column"}],goTodayButton:[Object(p.Q)(o,{inset:-1}),{bottom:0,color:s.neutralPrimary,height:30,lineHeight:30,backgroundColor:"transparent",border:"none",boxSizing:"content-box",padding:"0 4px",alignSelf:"flex-end",marginRight:16,marginTop:3,fontSize:p.k.small,fontFamily:"inherit",overflow:"visible",selectors:{"& div":{fontSize:p.k.small},"&:hover":{color:s.themePrimary,backgroundColor:"transparent",cursor:"pointer",selectors:(t={},t[p.m]={outline:"1px solid Buttontext",borderRadius:"2px"},t)},"&:active":{color:s.themeDark},"&:disabled":{color:s.neutralTertiaryAlt,pointerEvents:"none"}}}],liveRegion:{border:0,height:"1px",margin:"-1px",overflow:"hidden",padding:0,width:"1px",position:"absolute"}}}),void 0,{scope:"Calendar"});function Zc(e){var t=d.useRef((function(){throw new Error("Cannot call an event handler while rendering")}));return we((function(){t.current=e}),[e]),jr((function(){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=t.current;return o.apply(void 0,e)}}))}var $c=function(e){var t=d.useRef(e);t.current=e,d.useEffect((function(){return function(){var e;null===(e=t.current)||void 0===e||e.call(t)}}),[])},Jc={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1},eu=d.forwardRef((function(e,t){var n,o=d.useRef(null),r=d.useRef(null),i=d.useRef(null),a=Ie(o,t),s=Nr(),l=null===(n=ua(!1))||void 0===n||n,c=H(Jc,e),p=jr({hasFocus:!1,focusStackId:wa("ftz-",c.id)}),f=c.children,h=c.componentRef,m=c.disabled,g=c.disableFirstFocus,v=c.forceFocusInsideTrap,b=c.focusPreviouslyFocusedInnerElement,y=c.firstFocusableSelector,C=c.firstFocusableTarget,_=c.disableRestoreFocus,S=void 0===_?c.ignoreExternalFocusing:_,k=c.isClickableOutsideFocusTrap,x=c.enableAriaHiddenSiblings,w={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:m?-1:0,"data-is-visible":!0,"data-is-focus-trap-zone-bumper":!0},I=d.useCallback((function(e){e!==r.current&&e!==i.current&&fn(e)}),[]),E=Zc((function(){if(o.current){var e=p.previouslyFocusedElementInTrapZone;if(b&&e&&Xt(o.current,e))I(e);else{var t=null;if("string"==typeof C)t=o.current.querySelector(C);else if(C)t=C(o.current);else if(y){var n="string"==typeof y?y:y();t=o.current.querySelector("."+n)}t||(t=on(o.current,o.current.firstChild,!1,!1,!1,!0)),t&&I(t)}}})),O=function(e){if(!m&&o.current){var t=e===p.hasFocus?en(o.current,i.current,!0,!1):Jt(o.current,r.current,!0,!1);t&&(t===r.current||t===i.current?E():t.focus())}},T=Zc((function(e){if(eu.focusStack=eu.focusStack.filter((function(e){return p.focusStackId!==e})),s){var t=s.activeElement;S||"function"!=typeof(null==e?void 0:e.focus)||!Xt(o.current,t)&&t!==s.body||I(e)}})),D=Zc((function(e){if(!m&&p.focusStackId===eu.focusStack.slice(-1)[0]){var t=e.target;t&&!Xt(o.current,t)&&(s&&s.activeElement===s.body?setTimeout((function(){s&&s.activeElement===s.body&&(E(),p.hasFocus=!0)}),0):(E(),p.hasFocus=!0),e.preventDefault(),e.stopPropagation())}}));return d.useEffect((function(){var e=[];return v&&e.push(Ho(window,"focus",D,!0)),k||e.push(Ho(window,"click",D,!0)),function(){e.forEach((function(e){return e()}))}}),[v,k]),d.useEffect((function(){if(!m&&(l||v)&&o.current){eu.focusStack.push(p.focusStackId);var e=c.elementToFocusOnDismiss||s.activeElement;return g||Xt(o.current,e)||E(),function(){return T(e)}}}),[v,m]),d.useEffect((function(){if(!m&&x)return Tr(o.current)}),[m,x,o]),$c((function(){delete p.previouslyFocusedElementInTrapZone})),function(e,t,n){d.useImperativeHandle(e,(function(){return{get previouslyFocusedElement(){return t},focus:n}}),[n,t])}(h,p.previouslyFocusedElementInTrapZone,E),d.createElement("div",Object(u.a)({"aria-labelledby":c.ariaLabelledBy},fe(c,pe),{ref:a,onFocusCapture:function(e){var t;null===(t=c.onFocusCapture)||void 0===t||t.call(c,e),e.target===r.current?O(!0):e.target===i.current&&O(!1),p.hasFocus=!0,e.target!==e.currentTarget&&e.target!==r.current&&e.target!==i.current&&(p.previouslyFocusedElementInTrapZone=e.target)},onBlurCapture:function(e){var t;null===(t=c.onBlurCapture)||void 0===t||t.call(c,e);var n=e.relatedTarget;null===e.relatedTarget&&(n=s.activeElement),Xt(o.current,n)||(p.hasFocus=!1)}}),d.createElement("div",Object(u.a)({},w,{ref:r})),f,d.createElement("div",Object(u.a)({},w,{ref:i})))}));eu.displayName="FocusTrapZone",eu.focusStack=[];var tu=function(e){return d.createElement(Li,Object(u.a)({},e),d.createElement(eu,Object(u.a)({disabled:e.hidden},e.focusTrapProps),e.children))},nu=L(),ou=d.forwardRef((function(e,t){var n=e.checked,o=void 0!==n&&n,r=e.className,i=e.theme,a=e.styles,s=e.useFastIcons,l=void 0===s||s,c=nu(a,{theme:i,className:r,checked:o}),u=l?We:Ge;return d.createElement("div",{className:c.root,ref:t},d.createElement(u,{iconName:"CircleRing",className:c.circle}),d.createElement(u,{iconName:"StatusCircleCheckmark",className:c.check}))}));ou.displayName="CheckBase";var ru={root:"ms-Check",circle:"ms-Check-circle",check:"ms-Check-check",checkHost:"ms-Check-checkHost"},iu=k(ou,(function(e){var t,n,o,r,i,a=e.height,s=void 0===a?e.checkBoxHeight||"18px":a,l=e.checked,c=e.className,d=e.theme,f=d.palette,h=d.semanticColors,m=d.fonts,g=P(d),v=Object(p.R)(ru,d),b={fontSize:s,position:"absolute",left:0,top:0,width:s,height:s,textAlign:"center",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle"};return{root:[v.root,m.medium,{lineHeight:"1",width:s,height:s,verticalAlign:"top",position:"relative",userSelect:"none",selectors:(t={":before":{content:'""',position:"absolute",top:"1px",right:"1px",bottom:"1px",left:"1px",borderRadius:"50%",opacity:1,background:h.bodyBackground}},t[".".concat(v.checkHost,":hover &, .").concat(v.checkHost,":focus &, &:hover, &:focus")]={opacity:1},t)},l&&["is-checked",{selectors:{":before":{background:f.themePrimary,opacity:1,selectors:(n={},n[p.m]={background:"Window"},n)}}}],c],circle:[v.circle,b,{color:f.neutralSecondary,selectors:(o={},o[p.m]={color:"WindowText"},o)},l&&{color:f.white}],check:[v.check,b,{opacity:0,color:f.neutralSecondary,fontSize:p.p.medium,left:g?"-0.5px":".5px",top:"-1px",selectors:(r={":hover":{opacity:1}},r[p.m]=Object(u.a)({},Object(p.S)()),r)},l&&{opacity:1,color:f.white,fontWeight:900,selectors:(i={},i[p.m]={border:"none",color:"WindowText"},i)}],checkHost:v.checkHost}}),void 0,{scope:"Check"},!0),au=L(),su=d.forwardRef((function(e,t){var n=e.disabled,o=e.required,r=e.inputProps,i=e.name,a=e.ariaLabel,s=e.ariaLabelledBy,l=e.ariaDescribedBy,c=e.ariaPositionInSet,p=e.ariaSetSize,f=e.title,h=e.checkmarkIconProps,m=e.styles,g=e.theme,v=e.className,b=e.boxSide,y=void 0===b?"start":b,C=wa("checkbox-",e.id),_=d.useRef(null),S=Ie(_,t),k=d.useRef(null),x=Uc(e.checked,e.defaultChecked,e.onChange),w=x[0],I=x[1],E=Uc(e.indeterminate,e.defaultIndeterminate),O=E[0],T=E[1];$n(_);var D=au(m,{theme:g,className:v,disabled:n,indeterminate:O,checked:w,reversed:"start"!==y,isUsingCustomLabelRender:!!e.onRenderLabel}),P=d.useCallback((function(e){O?(I(!!w,e),T(!1)):I(!w,e)}),[I,T,O,w]),R=d.useCallback((function(e){return e&&e.label?d.createElement("span",{className:D.text,title:e.title},e.label):null}),[D.text]),M=d.useCallback((function(e){if(k.current){var t=!!e;k.current.indeterminate=t,T(t)}}),[T]);!function(e,t,n,o,r){d.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},get indeterminate(){return!!n},set indeterminate(e){o(e)},focus:function(){r.current&&r.current.focus()}}}),[r,t,n,o])}(e,w,O,M,k),d.useEffect((function(){return M(O)}),[M,O]);var N=e.onRenderLabel||R,F=O?"mixed":void 0,B=Object(u.a)(Object(u.a)({className:D.input,type:"checkbox"},r),{checked:!!w,disabled:n,required:o,name:i,id:C,title:f,onChange:P,"aria-disabled":n,"aria-label":a,"aria-labelledby":s,"aria-describedby":l,"aria-posinset":c,"aria-setsize":p,"aria-checked":F});return d.createElement("div",{className:D.root,title:f,ref:S},d.createElement("input",Object(u.a)({},B,{ref:k,title:f,"data-ktp-execute-target":!0})),d.createElement("label",{className:D.label,htmlFor:C},d.createElement("div",{className:D.checkbox,"data-ktp-target":!0},d.createElement(Ge,Object(u.a)({iconName:"CheckMark"},h,{className:D.checkmark}))),N(e,R)))}));su.displayName="CheckboxBase";var lu={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},cu=k(su,(function(e){var t,n,o,r,i,a,s,l,c,d,f,h,m,g,v,b,y,C,_=e.className,S=e.theme,k=e.reversed,x=e.checked,w=e.disabled,I=e.isUsingCustomLabelRender,E=e.indeterminate,O=S.semanticColors,T=S.effects,D=S.palette,P=S.fonts,R=Object(p.R)(lu,S),M=O.inputForegroundChecked,N=D.neutralSecondary,F=D.neutralPrimary,B=O.inputBackgroundChecked,L=O.inputBackgroundChecked,A=O.disabledBodySubtext,j=O.inputBorderHovered,H=O.inputBackgroundCheckedHovered,z=O.inputBackgroundChecked,W=O.inputBackgroundCheckedHovered,V=O.inputBackgroundCheckedHovered,U=O.inputTextHovered,K=O.disabledBodySubtext,G=O.bodyText,q=O.disabledText,Y=[(t={content:'""',borderRadius:T.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:w?A:B,transitionProperty:"border-width, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)"},t[p.m]={borderColor:"WindowText"},t)];return{root:[R.root,{position:"relative",display:"flex"},k&&"reversed",x&&"is-checked",!w&&"is-enabled",w&&"is-disabled",!w&&[!x&&(n={},n[":hover .".concat(R.checkbox)]=(o={borderColor:j},o[p.m]={borderColor:"Highlight"},o),n[":focus .".concat(R.checkbox)]={borderColor:j},n[":hover .".concat(R.checkmark)]=(r={color:N,opacity:"1"},r[p.m]={color:"Highlight"},r),n),x&&!E&&(i={},i[":hover .".concat(R.checkbox)]={background:W,borderColor:V},i[":focus .".concat(R.checkbox)]={background:W,borderColor:V},i[p.m]=(a={},a[":hover .".concat(R.checkbox)]={background:"Highlight",borderColor:"Highlight"},a[":focus .".concat(R.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(R.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(R.checkmark)]={color:"Window"},a[":hover .".concat(R.checkmark)]={color:"Window"},a),i),E&&(s={},s[":hover .".concat(R.checkbox,", :hover .").concat(R.checkbox,":after")]=(l={borderColor:H},l[p.m]={borderColor:"WindowText"},l),s[":focus .".concat(R.checkbox)]={borderColor:H},s[":hover .".concat(R.checkmark)]={opacity:"0"},s),(c={},c[":hover .".concat(R.text,", :focus .").concat(R.text)]=(d={color:U},d[p.m]={color:w?"GrayText":"WindowText"},d),c)],_],input:(f={position:"absolute",background:"none",opacity:0},f[".".concat(Gn.a," &:focus + label::before")]=(h={outline:"1px solid "+S.palette.neutralSecondary,outlineOffset:"2px"},h[p.m]={outline:"1px solid WindowText"},h),f),label:[R.label,S.fonts.medium,{display:"flex",alignItems:I?"center":"flex-start",cursor:w?"default":"pointer",position:"relative",userSelect:"none"},k&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[R.checkbox,(m={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:"20px",width:"20px",border:"1px solid ".concat(F),borderRadius:T.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",overflow:"hidden",":after":E?Y:null},m[p.m]=Object(u.a)({borderColor:"WindowText"},Object(p.S)()),m),E&&{borderColor:B},k?{marginLeft:4}:{marginRight:4},!w&&!E&&x&&(g={background:z,borderColor:L},g[p.m]={background:"Highlight",borderColor:"Highlight"},g),w&&(v={borderColor:A},v[p.m]={borderColor:"GrayText"},v),x&&w&&(b={background:K,borderColor:A},b[p.m]={background:"Window"},b)],checkmark:[R.checkmark,(y={opacity:x&&!E?"1":"0",color:M},y[p.m]=Object(u.a)({color:w?"GrayText":"Window"},Object(p.S)()),y)],text:[R.text,(C={color:w?q:G,fontSize:P.medium.fontSize,lineHeight:"20px"},C[p.m]=Object(u.a)({color:w?"GrayText":"WindowText"},Object(p.S)()),C),k?{marginRight:4}:{marginLeft:4}]}}),void 0,{scope:"Checkbox"}),uu=L({cacheSize:100}),du=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"label":t,o=e.children,r=e.className,i=e.disabled,a=e.styles,s=e.required,l=e.theme,c=uu(a,{className:r,disabled:i,required:s,theme:l});return d.createElement(n,Object(u.a)({},fe(this.props,pe),{className:c.root}),o)},t}(d.Component),pu=k(du,(function(e){var t,n=e.theme,o=e.className,r=e.disabled,i=e.required,a=n.semanticColors,s=p.l.semibold,l=a.bodyText,c=a.disabledBodyText,d=a.errorText;return{root:["ms-Label",n.fonts.medium,{fontWeight:s,color:l,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},r&&{color:c,selectors:(t={},t[p.m]=Object(u.a)({color:"GrayText"},Object(p.S)()),t)},i&&{selectors:{"::after":{content:"' *'",color:d,paddingRight:12}}},o]}}),void 0,{scope:"Label"}),fu=L(),hu={imageSize:{width:32,height:32}},mu=function(e){var t=H(Object(u.a)(Object(u.a)({},hu),{key:e.itemKey}),e),n=t.ariaLabel,o=t.focused,r=t.required,i=t.theme,a=t.iconProps,s=t.imageSrc,l=t.imageSize,c=t.disabled,p=t.checked,f=t.id,h=t.styles,m=t.name,g=Object(u.d)(t,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name"]),v=fu(h,{theme:i,hasIcon:!!a,hasImage:!!s,checked:p,disabled:c,imageIsLarge:!!s&&(l.width>71||l.height>71),imageSize:l,focused:o}),b=fe(g,$),y=b.className,C=Object(u.d)(b,["className"]),_=function(){return d.createElement("span",{id:t.labelId,className:"ms-ChoiceFieldLabel"},t.text)},S=function(){var e=t.imageAlt,n=void 0===e?"":e,o=t.selectedImageSrc,r=(t.onRenderLabel?Po(t.onRenderLabel,_):_)(Object(u.a)(Object(u.a)({},t),{key:t.itemKey}));return d.createElement("label",{htmlFor:f,className:v.field},s&&d.createElement("div",{className:v.innerField},d.createElement("div",{className:v.imageWrapper},d.createElement(Pe,Object(u.a)({src:s,alt:n},l))),d.createElement("div",{className:v.selectedImageWrapper},d.createElement(Pe,Object(u.a)({src:o,alt:n},l)))),a&&d.createElement("div",{className:v.innerField},d.createElement("div",{className:v.iconWrapper},d.createElement(Ge,Object(u.a)({},a)))),s||a?d.createElement("div",{className:v.labelWrapper},r):r)},k=t.onRenderField,x=void 0===k?S:k;return d.createElement("div",{className:v.root},d.createElement("div",{className:v.choiceFieldWrapper},d.createElement("input",Object(u.a)({"aria-label":n,id:f,className:Me(v.input,y),type:"radio",name:m,disabled:c,checked:p,required:r},C,{onChange:function(e){var n;null===(n=t.onChange)||void 0===n||n.call(t,e,Object(u.a)(Object(u.a)({},t),{key:t.itemKey}))},onFocus:function(e){var n;null===(n=t.onFocus)||void 0===n||n.call(t,e,Object(u.a)(Object(u.a)({},t),{key:t.itemKey}))},onBlur:function(e){var n;null===(n=t.onBlur)||void 0===n||n.call(t,e)}})),x(Object(u.a)(Object(u.a)({},t),{key:t.itemKey}),S)))};mu.displayName="ChoiceGroupOption";var gu={root:"ms-ChoiceField",choiceFieldWrapper:"ms-ChoiceField-wrapper",input:"ms-ChoiceField-input",field:"ms-ChoiceField-field",innerField:"ms-ChoiceField-innerField",imageWrapper:"ms-ChoiceField-imageWrapper",iconWrapper:"ms-ChoiceField-iconWrapper",labelWrapper:"ms-ChoiceField-labelWrapper",checked:"is-checked"};function vu(e,t){var n,o;return["is-inFocus",{selectors:(n={},n[".".concat(Gn.a," &")]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid ".concat(e),position:"absolute",selectors:(o={},o[p.m]={borderColor:"WindowText",borderWidth:t?1:2},o)}}},n)}]}function bu(e,t,n){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:"200ms",transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(n?!e:e)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}var yu=k(mu,(function(e){var t,n,o,r,i,a=e.theme,s=e.hasIcon,l=e.hasImage,c=e.checked,d=e.disabled,f=e.imageIsLarge,h=e.focused,m=e.imageSize,g=a.palette,v=a.semanticColors,b=a.fonts,y=Object(p.R)(gu,a),C=g.neutralPrimary,_=v.inputBorderHovered,S=v.inputBackgroundChecked,k=g.themeDark,x=v.disabledBodySubtext,w=v.bodyBackground,I=g.neutralSecondary,E=v.inputBackgroundChecked,O=g.themeDark,T=v.disabledBodySubtext,D=g.neutralDark,P=v.focusBorder,R=v.inputBorderHovered,M=v.inputBackgroundChecked,N=g.themeDark,F=g.neutralLighter,B={selectors:{".ms-ChoiceFieldLabel":{color:D},":before":{borderColor:c?k:_},":after":[!s&&!l&&!c&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:I},c&&{borderColor:O,background:O}]}},L={borderColor:c?N:R,selectors:{":before":{opacity:1,borderColor:c?k:_}}},A=[{content:'""',display:"inline-block",backgroundColor:w,borderWidth:1,borderStyle:"solid",borderColor:C,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",borderRadius:"50%"},d&&{borderColor:x,selectors:(t={},t[p.m]=Object(u.a)({borderColor:"GrayText",background:"Window"},Object(p.S)()),t)},c&&{borderColor:d?x:S,selectors:(n={},n[p.m]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},n)},(s||l)&&{top:3,right:3,left:"auto",opacity:c?1:0}],j=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",boxSizing:"border-box"},c&&{borderWidth:5,borderStyle:"solid",borderColor:d?T:E,background:E,left:5,top:5,width:10,height:10,selectors:(o={},o[p.m]={borderColor:"Highlight",forcedColorAdjust:"none"},o)},c&&(s||l)&&{top:8,right:8,left:"auto"}];return{root:[y.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:v.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!s&&!l&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},l&&"ms-ChoiceField--image",s&&"ms-ChoiceField--icon",(s||l)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:F,height:"100%"}],choiceFieldWrapper:[y.choiceFieldWrapper,h&&vu(P,s||l)],input:[y.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},d&&"is-disabled"],field:[y.field,c&&y.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!d&&B,":focus":!d&&B,":before":A,":after":j}},s&&"ms-ChoiceField--icon",l&&"ms-ChoiceField-field--image",(s||l)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:"200ms",transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},c&&{borderColor:M},(s||l)&&!d&&{selectors:{":hover":L,":focus":L}},d&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:v.disabledBodyText,selectors:(r={},r[p.m]=Object(u.a)({color:"GrayText"},Object(p.S)()),r)}}},c&&d&&{borderColor:F}],innerField:[y.innerField,l&&{height:m.height,width:m.width},(s||l)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(s||l)&&f&&{paddingLeft:24,paddingRight:24},(s||l)&&d&&{opacity:.25,selectors:(i={},i[p.m]={color:"GrayText",opacity:1},i)}],imageWrapper:bu(!1,y.imageWrapper,c),selectedImageWrapper:bu(!0,y.imageWrapper,c),iconWrapper:[y.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[y.labelWrapper,b.medium,(s||l)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*m.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}}),void 0,{scope:"ChoiceGroupOption"}),Cu=L(),_u=function(e,t){return"".concat(t,"-").concat(e.key)},Su=function(e,t){return void 0===t?void 0:Ft(e,(function(e){return e.key===t}))},ku=function(e,t,n,o){var r=Su(e,t)||e.filter((function(e){return!e.disabled}))[0],i=r&&document.getElementById(_u(r,n));i&&(i.focus(),Object(Gn.b)(!0,i,o))},xu=d.forwardRef((function(e,t){var n=e.className,o=e.theme,r=e.styles,i=e.options,a=void 0===i?[]:i,s=e.label,l=e.required,c=e.disabled,p=e.name,f=e.defaultSelectedKey,h=e.componentRef,m=e.onChange,g=wa("ChoiceGroup"),v=wa("ChoiceGroupLabel"),b=fe(e,pe,["onChange","className","required"]),y=Cu(r,{theme:o,className:n,optionsContainIconOrImage:a.some((function(e){return!(!e.iconProps&&!e.imageSrc)}))}),C=e.ariaLabelledBy||(s?v:e["aria-labelledby"]),_=Uc(e.selectedKey,f),S=_[0],k=_[1],x=d.useState(),w=x[0],I=x[1],E=d.useRef(null),O=Ie(E,t),T=d.useContext(Zn);!function(e,t,n,o,r){d.useImperativeHandle(o,(function(){return{get checkedOption(){return Su(e,t)},focus:function(){ku(e,t,n,r)}}}),[e,t,n,r])}(a,S,g,h,null==T?void 0:T.registeredProviders),$n(E);var D=d.useCallback((function(e,t){var n;t&&(I(t.itemKey),null===(n=t.onFocus)||void 0===n||n.call(t,e))}),[]),P=d.useCallback((function(e,t){var n;I(void 0),null===(n=null==t?void 0:t.onBlur)||void 0===n||n.call(t,e)}),[]),R=d.useCallback((function(e,t){var n;t&&(k(t.itemKey),null===(n=t.onChange)||void 0===n||n.call(t,e),null==m||m(e,Su(a,t.itemKey)))}),[m,a,k]),M=d.useCallback((function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&ku(a,S,g,null==T?void 0:T.registeredProviders)}),[a,S,g,T]);return d.createElement("div",Object(u.a)({className:y.root},b,{ref:O}),d.createElement("div",Object(u.a)({role:"radiogroup"},C&&{"aria-labelledby":C},{onFocus:M}),s&&d.createElement(pu,{className:y.label,required:l,id:v,disabled:c},s),d.createElement("div",{className:y.flexContainer},a.map((function(e){return d.createElement(yu,Object(u.a)({itemKey:e.key},e,{key:e.key,onBlur:P,onFocus:D,onChange:R,focused:e.key===w,checked:e.key===S,disabled:e.disabled||c,id:_u(e,g),labelId:e.labelId||"".concat(v,"-").concat(e.key),name:p||g,required:l}))})))))}));xu.displayName="ChoiceGroup";var wu,Iu={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},Eu=k(xu,(function(e){var t=e.className,n=e.optionsContainIconOrImage,o=e.theme,r=Object(p.R)(Iu,o);return{root:[t,r.root,o.fonts.medium,{display:"block"}],flexContainer:[r.flexContainer,n&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}}),void 0,{scope:"ChoiceGroup"}),Ou=Object(f.c)((function(){var e;return Object(p.db)({root:[{position:"absolute",boxSizing:"border-box",border:"1px solid ${}",selectors:(e={},e[p.m]={border:"1px solid WindowText"},e)},Object(p.L)()],container:{position:"relative"},main:{backgroundColor:"#ffffff",overflowX:"hidden",overflowY:"hidden",position:"relative"},overFlowYHidden:{overflowY:"hidden"}})})),Tu={opacity:0},Du=((wu={})[Mo.top]="slideUpIn20",wu[Mo.bottom]="slideDownIn20",wu[Mo.left]="slideLeftIn20",wu[Mo.right]="slideRightIn20",wu),Pu={preventDismissOnScroll:!1,offsetFromTarget:0,minPagePadding:8,directionalHint:Eo.bottomAutoEdge};function Ru(e,t,n,o,r){var i=Dr(),a=d.useState(),s=a[0],l=a[1],c=d.useRef(0),p=function(){i.requestAnimationFrame((function(){return f()}))},f=function(){var i=e.offsetFromTarget,a=e.onPositioned,d=t.current,p=n.current;if(d&&p){var f=Object(u.a)({},e);f.bounds=r(),f.target=o.current;var h=f.target;if(h)if(!h.getBoundingClientRect&&!h.preventDefault||document.body.contains(h)){f.gapSpace=i;var m=Sr(f,d,p);!s&&m||s&&m&&!function(e,t){return function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=e[n],r=t[n];if(o&&r&&o.toFixed(2)!==r.toFixed(2))return!1}return!0}(e.elementPosition,t.elementPosition)}(s,m)&&c.current<5?(c.current++,l(m),null==a||a(m)):(c.current=0,null==a||a(m))}else void 0!==s&&l(void 0);else void 0!==s&&l(void 0)}};return d.useEffect(p),[s,p]}function Mu(e,t){var n=e.finalHeight,o=d.useState({value:0}),r=o[0],i=o[1],a=Dr(),s=d.useRef(0),l=function(){t&&n&&(s.current=a.requestAnimationFrame((function(){if(t.current){var e=t.current.lastChild,o=e.scrollHeight-e.offsetHeight;i({value:r.value+o}),e.offsetHeight<n?l():a.cancelAnimationFrame(s.current)}})))};return d.useEffect(l,[n]),r.value}var Nu=d.forwardRef((function(e,t){var n=H(Pu,e),o=d.useRef(null),r=d.useRef(null),i=Ie(t,r),a=Hr(n.target,r),s=a[0],l=a[1],c=function(e,t){return function(){var n=e.bounds;return n||(n={top:0+e.minPagePadding,left:0+e.minPagePadding,right:t.innerWidth-e.minPagePadding,bottom:t.innerHeight-e.minPagePadding,width:t.innerWidth-2*e.minPagePadding,height:t.innerHeight-2*e.minPagePadding}),n}}(n,l),f=Ru(n,r,o,s,c),h=f[0],m=f[1],g=function(e,t,n){var o=e.directionalHintFixed,r=e.offsetFromTarget,i=e.directionalHint,a=e.target,s=d.useRef();return"string"==typeof a&&(s.current=void 0),d.useEffect((function(){s.current=void 0}),[a,r]),function(){if(!s.current)if(o&&t.current){var e=r||0;s.current=wr(t.current,i,e,n())}else s.current=n().height-2;return s.current}}(n,s,c),v=Mu(n,o);if(function(e,t,n){var o=e.setInitialFocus,r=d.useRef(!1);d.useEffect((function(){!r.current&&t.current&&o&&n&&(r.current=!0,tn(t.current))}))}(n,o,h),function(e,t,n,o,r,i){var a=e.onDismiss,s=e.preventDismissOnScroll,l=Dr(),c=d.useCallback((function(e){a?a(e):i()}),[a,i]),u=d.useCallback((function(e){var r=e.target,i=t.current&&!Xt(t.current,r);(!o.current&&i||e.target!==n&&i&&(o.current.stopPropagation||!o.current||r!==o.current&&!Xt(o.current,r)))&&c(e)}),[c,t,o,n]),p=d.useCallback((function(e){r&&!s&&u(e)}),[u,r,s]);d.useEffect((function(){var e=new vo({});return l.setTimeout((function(){var t,o;e.on(n,"scroll",l.throttle(p,10),!0),e.on(n,"resize",l.throttle(c,10),!0),e.on(null===(t=null==n?void 0:n.document)||void 0===t?void 0:t.body,"focus",u,!0),e.on(null===(o=null==n?void 0:n.document)||void 0===o?void 0:o.body,"click",u,!0)}),0),function(){return e.dispose()}}),[p])}(n,r,l,s,h,m),d.useEffect((function(){var e;return null===(e=n.onLayerMounted)||void 0===e?void 0:e.call(n)}),[]),!l)return null;var b=n.className,y=n.doNotLayer,C=n.positioningContainerWidth,_=n.positioningContainerMaxHeight,S=n.children,k=Ou(),x=h&&h.targetEdge?p.a[Du[h.targetEdge]]:"",w=g()+v,I=_&&_>w?w:_,E=d.createElement("div",{ref:i,className:Me("ms-PositioningContainer",k.container)},d.createElement("div",{className:Object(p.eb)("ms-PositioningContainer-layerHost",k.root,b,x,!!C&&{width:C},y&&{zIndex:p.G.Layer}),style:h?h.elementPosition:Tu,tabIndex:-1,ref:o},S,I));return y?E:d.createElement(Bi,Object(u.a)({},n.layerProps),E)}));function Fu(e){var t;return{root:[{position:"absolute",boxShadow:"inherit",border:"none",boxSizing:"border-box",transform:e.transform,width:e.width,height:e.height,left:e.left,top:e.top,right:e.right,bottom:e.bottom}],beak:{fill:e.color,display:"block",selectors:(t={},t[p.m]={fill:"windowtext"},t)}}}Nu.displayName="PositioningContainer";var Bu=d.forwardRef((function(e,t){var n,o,r,i,a,s,l=e.left,c=e.top,u=e.bottom,p=e.right,f=e.color,h=e.direction,m=void 0===h?Mo.top:h;switch(m===Mo.top||m===Mo.bottom?(n=10,o=18):(n=18,o=10),m){case Mo.top:default:r="".concat(9,", 0"),i="".concat(18,", ").concat(10),a="0, ".concat(10),s="translateY(-100%)";break;case Mo.right:r="0, 0",i="".concat(10,", ").concat(10),a="0, ".concat(18),s="translateX(100%)";break;case Mo.bottom:r="0, 0",i="".concat(18,", 0"),a="".concat(9,", ").concat(10),s="translateY(100%)";break;case Mo.left:r="".concat(10,", 0"),i="0, ".concat(10),a="".concat(10,", ").concat(18),s="translateX(-100%)"}var g=L()(Fu,{left:l,top:c,bottom:u,right:p,height:"".concat(n,"px"),width:"".concat(o,"px"),transform:s,color:f});return d.createElement("div",{className:g.root,role:"presentation",ref:t},d.createElement("svg",{height:n,width:o,className:g.beak},d.createElement("polygon",{points:r+" "+i+" "+a})))}));Bu.displayName="Beak";var Lu=Object(f.c)((function(){return Object(p.bb)({"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)"}})})),Au=Object(f.c)((function(){return Object(p.bb)({"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)"}})})),ju=Object(f.c)((function(){return Object(p.bb)({"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)"}})}));var Hu=function(){var e=jr({});return d.useEffect((function(){return function(){for(var t=0,n=Object.keys(e);t<n.length;t++){var o=n[t];clearTimeout(o)}}}),[e]),jr({setTimeout:function(t,n){var o=setTimeout(t,n);return e[o]=1,o},clearTimeout:function(t){delete e[t],clearTimeout(t)}})},zu=L(),Wu="data-coachmarkid",Vu={isCollapsed:!0,mouseProximityOffset:10,delayBeforeMouseOpen:3600,delayBeforeCoachmarkAnimation:0,isPositionForced:!0,positioningContainerProps:{directionalHint:Eo.bottomAutoEdge}};var Uu=d.forwardRef((function(e,t){var n=H(Vu,e),o=d.useRef(null),r=d.useRef(null),i=function(){var e=Dr(),t=d.useState(),n=t[0],o=t[1],r=d.useState(),i=r[0],a=r[1];return[n,i,function(t){var n=t.alignmentEdge,r=t.targetEdge;return e.requestAnimationFrame((function(){o(n),a(r)}))}]}(),a=i[0],s=i[1],l=i[2],c=function(e,t){var n=e.isCollapsed,o=e.onAnimationOpenStart,r=e.onAnimationOpenEnd,i=d.useState(!!n),a=i[0],s=i[1],l=Hu().setTimeout,c=d.useRef(!a),u=d.useCallback((function(){var e,n;c.current||(s(!1),null==o||o(),null===(n=null===(e=t.current)||void 0===e?void 0:e.addEventListener)||void 0===n||n.call(e,"transitionend",(function(){l((function(){t.current&&tn(t.current)}),1e3),null==r||r()})),c.current=!0)}),[t,r,o,l]);return d.useEffect((function(){n||u()}),[n]),[a,u]}(n,o),p=c[0],f=c[1],h=function(e,t,n){var o=P(e.theme);return d.useMemo((function(){var e,r,i=void 0===n?Mo.bottom:Ir(n),a={direction:i};switch(i){case Mo.top:case Mo.bottom:t?t===Mo.left?(a.left="".concat(7,"px"),e="left"):(a.right="".concat(7,"px"),e="right"):(a.left="calc(50% - ".concat(9,"px)"),e="center"),i===Mo.top?(a.top="3px",r="top"):(a.bottom="3px",r="bottom");break;case Mo.left:case Mo.right:t?t===Mo.top?(a.top="".concat(7,"px"),r="top"):(a.bottom="".concat(7,"px"),r="bottom"):(a.top="calc(50% - ".concat(9,"px)"),r="center"),i===Mo.left?(o?a.right="3px":a.left="3px",e="left"):(o?a.left="3px":a.right="3px",e="right")}return[a,"".concat(e," ").concat(r)]}),[t,n,o])}(n,a,s),m=h[0],g=h[1],v=function(e,t){var n=d.useState(!!e.isCollapsed),o=n[0],r=n[1],i=d.useState(e.isCollapsed?{width:0,height:0}:{}),a=i[0],s=i[1],l=Dr();return d.useEffect((function(){l.requestAnimationFrame((function(){t.current&&(s({width:t.current.offsetWidth,height:t.current.offsetHeight}),r(!1))}))}),[]),[o,a]}(n,o),b=v[0],y=v[1],C=d.useState(Ku(n.isPositionForced,n.positioningContainerProps)),_=C[0],S=C[1],k=function(e){var t=e.ariaAlertText,n=Dr(),o=d.useState(),r=o[0],i=o[1];return d.useEffect((function(){n.requestAnimationFrame((function(){i(t)}))}),[]),r}(n),x=function(e){var t=e.preventFocusOnMount,n=Hu().setTimeout,o=d.useRef(null);return d.useEffect((function(){t||n((function(){var e;return null===(e=o.current)||void 0===e?void 0:e.focus()}),1e3)}),[]),o}(n);!function(e,t,n){var o,r=null===(o=Object(O.a)())||void 0===o?void 0:o.documentElement;Pr(r,"keydown",(function(e){var o,r;(e.altKey&&e.which===E.c||e.which===E.enter&&(null===(r=null===(o=t.current)||void 0===o?void 0:o.contains)||void 0===r?void 0:r.call(o,e.target)))&&n()}),!0);var i=function(n){var o;if(e.preventDismissOnLostFocus){var r=n.target,i=t.current&&!Xt(t.current,r),a=e.target;i&&r!==a&&!Xt(a,r)&&(null===(o=e.onDismiss)||void 0===o||o.call(e,n))}};Pr(r,"click",i,!0),Pr(r,"focus",i,!0)}(n,r,f),function(e){var t=e.onDismiss;d.useImperativeHandle(e.componentRef,(function(e){return{dismiss:function(){null==t||t(e)}}}),[t])}(n),function(e,t,n,o){var r=Hu(),i=r.setTimeout,a=r.clearTimeout,s=d.useRef();d.useEffect((function(){var r=function(){t.current&&(s.current=t.current.getBoundingClientRect())},l=new vo({});return i((function(){var t=e.mouseProximityOffset,c=void 0===t?0:t,u=[];i((function(){r(),l.on(window,"resize",(function(){u.forEach((function(e){a(e)})),u.splice(0,u.length),u.push(i((function(){r(),o(Ku(e.isPositionForced,e.positioningContainerProps))}),100))}))}),10),l.on(document,"mousemove",(function(t){var o,i=t.clientY,a=t.clientX;r(),function(e,t,n,o){void 0===o&&(o=0);return t>e.left-o&&t<e.left+e.width+o&&n>e.top-o&&n<e.top+e.height+o}(s.current,a,i,c)&&n(),null===(o=e.onMouseMove)||void 0===o||o.call(e,t)}))}),e.delayBeforeMouseOpen),function(){return l.dispose()}}),[])}(n,r,f,S),d.useEffect((function(){S(Ku(n.isPositionForced,n.positioningContainerProps))}),[n.isPositionForced,n.positioningContainerProps]);var w=n.beaconColorOne,I=n.beaconColorTwo,T=n.children,D=n.target,R=n.color,M=n.positioningContainerProps,N=n.ariaDescribedBy,F=n.ariaDescribedByText,B=n.ariaLabelledBy,L=n.ariaLabelledByText,A=n.ariaAlertText,j=n.delayBeforeCoachmarkAnimation,z=n.styles,W=n.theme,V=n.className,U=n.persistentBeak,K=R;!K&&W&&(K=W.semanticColors.primaryButtonBackground);var G=zu(z,{theme:W,beaconColorOne:w,beaconColorTwo:I,className:V,isCollapsed:p,isMeasuring:b,color:K,transformOrigin:g,entityHostHeight:void 0===y.height?void 0:"".concat(y.height,"px"),entityHostWidth:void 0===y.width?void 0:"".concat(y.width,"px"),width:"".concat(32,"px"),height:"".concat(32,"px"),delayBeforeCoachmarkAnimation:"".concat(j,"ms")}),q=p?32:y.height;return d.createElement(Nu,Object(u.a)({target:D,offsetFromTarget:10,finalHeight:q,ref:t,onPositioned:l,bounds:_},M),d.createElement("div",{className:G.root},A&&d.createElement("div",{className:G.ariaContainer,role:"alert","aria-hidden":!p},k),d.createElement("div",{className:G.pulsingBeacon}),d.createElement("div",{className:G.translateAnimationContainer,ref:r},d.createElement("div",{className:G.scaleAnimationLayer},d.createElement("div",{className:G.rotateAnimationLayer},(p||U)&&d.createElement(Bu,Object(u.a)({},m,{color:K})),d.createElement("div",{className:G.entityHost,ref:x,tabIndex:-1,"data-is-focusable":!0,role:"dialog","aria-labelledby":B,"aria-describedby":N},p&&[B&&d.createElement("p",{id:B,key:0,className:G.ariaContainer},L),N&&d.createElement("p",{id:N,key:1,className:G.ariaContainer},F)],d.createElement(eu,{isClickableOutsideFocusTrap:!0,forceFocusInsideTrap:!1},d.createElement("div",{className:G.entityInnerHost,ref:o},d.createElement("div",{className:G.childrenContainer,"aria-hidden":p},T)))))))))}));function Ku(e,t){return e?!t||t.directionalHint!==Eo.topAutoEdge&&t.directionalHint!==Eo.bottomAutoEdge?{left:-1/0,top:-1/0,bottom:1/0,right:1/0,width:1/0,height:1/0}:{left:0,top:-1/0,bottom:1/0,right:window.innerWidth,width:window.innerWidth,height:1/0}:void 0}Uu.displayName="CoachmarkBase";var Gu=k(Uu,(function(e){var t,n=e.theme,o=e.className,r=e.color,i=e.beaconColorOne,a=e.beaconColorTwo,s=e.delayBeforeCoachmarkAnimation,l=e.isCollapsed,c=e.isMeasuring,u=e.entityHostHeight,d=e.entityHostWidth,f=e.transformOrigin;if(!n)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var h=p.r.continuousPulseAnimationDouble(i||n.palette.themePrimary,a||n.palette.themeTertiary,"35px","150px","10px"),m=p.r.createDefaultAnimation(h,s);return{root:[n.fonts.medium,{position:"relative"},o],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:P(n)?"translate(50%, -50%)":"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:"0"},l&&m],translateAnimationContainer:[{width:"100%",height:"100%"},l&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:Lu(),transition:"opacity 0.5s ease-in-out"},!l&&{opacity:"1"}],scaleAnimationLayer:[{width:"100%",height:"100%"},l&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:Au()}],rotateAnimationLayer:[{width:"100%",height:"100%"},l&&{animationDuration:"14s",animationTimingFunction:"linear",animationDirection:"normal",animationIterationCount:"1",animationDelay:"0s",animationFillMode:"forwards",animationName:ju()},!l&&{opacity:"1"}],entityHost:[{position:"relative",outline:"none",overflow:"hidden",backgroundColor:r,borderRadius:32,transition:"border-radius 250ms, width 500ms, height 500ms cubic-bezier(0.5, 0, 0, 1)",visibility:"hidden",selectors:(t={},t[p.m]={backgroundColor:"Window",border:"2px solid WindowText"},t[".".concat(Gn.a," &:focus")]={outline:"1px solid ".concat(n.palette.themeTertiary)},t)},!c&&l&&{width:32,height:32},!c&&{visibility:"visible"},!l&&{borderRadius:"1px",opacity:"1",width:d,height:u}],entityInnerHost:[{transition:"transform 500ms cubic-bezier(0.5, 0, 0, 1)",transformOrigin:f,transform:"scale(0)"},!l&&{width:d,height:u,transform:"scale(1)"},!c&&{visibility:"visible"}],childrenContainer:[{display:!c&&l?"none":"block"}],ariaContainer:{position:"fixed",opacity:0,height:0,width:0,pointerEvents:"none"}}}),void 0,{scope:"Coachmark"}),qu=100,Yu=359,Qu=100,Xu=255,Zu=Xu,$u=100,Ju=3,ed=6,td=1,nd=3,od=/^[\da-f]{0,6}$/i,rd=/^\d{0,3}$/;function id(e,t,n){return void 0===n&&(n=0),e<n?n:e>t?t:e}function ad(e,t,n){var o=NaN,r=Math.max(e,t,n),i=r-Math.min(e,t,n);return 0===i?o=0:e===r?o=(t-n)/i%6:t===r?o=(n-e)/i+2:n===r&&(o=(e-t)/i+4),(o=Math.round(60*o))<0&&(o+=360),{h:o,s:Math.round(100*(0===r?0:i/r)),v:Math.round(r/Xu*100)}}function sd(e,t,n){return[ld(e),ld(t),ld(n)].join("")}function ld(e){var t=(e=id(e,Xu)).toString(16);return 1===t.length?"0"+t:t}function cd(e,t,n,o,r){return o===$u||"number"!=typeof o?"#".concat(r):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(o/$u,")")}function ud(e){var t=e.a,n=void 0===t?$u:t,o=e.b,r=e.g,i=e.r,a=ad(i,r,o),s=a.h,l=a.s,c=a.v,u=sd(i,r,o);return{a:n,b:o,g:r,h:s,hex:u,r:i,s:l,str:cd(i,r,o,n,u),v:c,t:$u-n}}function dd(e,t,n){var o=(2-(t/=qu))*(n/=Qu),r=t*n;return{h:e,s:100*(r=(r/=o<=1?o:2-o)||0),l:100*(o/=2)}}function pd(e,t,n){var o=[],r=(n/=100)*(t/=100),i=e/60,a=r*(1-Math.abs(i%2-1)),s=n-r;switch(Math.floor(i)){case 0:o=[r,a,0];break;case 1:o=[a,r,0];break;case 2:o=[0,r,a];break;case 3:o=[0,a,r];break;case 4:o=[a,0,r];break;case 5:o=[r,0,a]}return{r:Math.round(Xu*(o[0]+s)),g:Math.round(Xu*(o[1]+s)),b:Math.round(Xu*(o[2]+s))}}var fd,hd=[.027,.043,.082,.145,.184,.216,.349,.537],md=[.537,.45,.349,.216,.184,.145,.082,.043],gd=[.537,.349,.216,.184,.145,.082,.043,.027],vd=[.537,.45,.349,.216,.184,.145,.082,.043],bd=[.88,.77,.66,.55,.44,.33,.22,.11],yd=[.11,.22,.33,.44,.55,.66,.77,.88],Cd=[.96,.84,.7,.4,.12],_d=[.1,.24,.44];function Sd(e){return"number"==typeof e&&e>=fd.Unshaded&&e<=fd.Shade8}function kd(e,t){return{h:e.h,s:e.s,v:id(e.v-e.v*t,100,0)}}function xd(e,t){return{h:e.h,s:id(e.s-e.s*t,100,0),v:id(e.v+(100-e.v)*t,100,0)}}function wd(e){return dd(e.h,e.s,e.v).l<50}function Id(e,t,n){if(void 0===n&&(n=!1),!e)return null;if(t===fd.Unshaded||!Sd(t))return e;var o=dd(e.h,e.s,e.v),r={h:e.h,s:e.s,v:e.v},i=t-1,a=xd,s=kd;return n&&(a=kd,s=xd),ud(po(pd((r=function(e){return e.r===Xu&&e.g===Xu&&e.b===Xu}(e)?kd(r,gd[i]):function(e){return 0===e.r&&0===e.g&&0===e.b}(e)?xd(r,vd[i]):o.l/100>.8?s(r,yd[i]):o.l/100<.2?a(r,bd[i]):i<Cd.length?a(r,Cd[i]):s(r,_d[i-Cd.length])).h,r.s,r.v),{a:e.a}))}function Ed(e,t,n){if(void 0===n&&(n=!1),!e)return null;if(t===fd.Unshaded||!Sd(t))return e;var o={h:e.h,s:e.s,v:e.v},r=t-1;return ud(po(pd((o=n?xd(o,md[vd.length-1-r]):kd(o,hd[r])).h,o.s,o.v),{a:e.a}))}function Od(e,t){function n(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}var o=.2126*n(e.r/Xu)+.7152*n(e.g/Xu)+.0722*n(e.b/Xu);o+=.05;var r=.2126*n(t.r/Xu)+.7152*n(t.g/Xu)+.0722*n(t.b/Xu);return o/(r+=.05)>1?o/r:r/o}function Td(e){return{h:id(e.h,Yu),s:id(e.s,qu),v:id(e.v,Qu)}}function Dd(e){return!e||e.length<Ju?"ffffff":e.length>=ed?e.substring(0,ed):e.substring(0,Ju)}function Pd(e){return{r:id(e.r,Xu),g:id(e.g,Xu),b:id(e.b,Xu),a:"number"==typeof e.a?id(e.a,$u):e.a}}function Rd(e,t,n){var o=n+(t*=(n<50?n:100-n)/100);return{h:e,s:0===o?0:2*t/o*100,v:o}}function Md(e,t,n){var o=Rd(e,t,n);return pd(o.h,o.s,o.v)}function Nd(e){if(e){var t=Fd(e)||function(e){if("#"===e[0]&&7===e.length&&/^#[\da-fA-F]{6}$/.test(e))return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:$u}}(e)||function(e){if("#"===e[0]&&4===e.length&&/^#[\da-fA-F]{3}$/.test(e))return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:$u}}(e)||function(e){var t=e.match(/^hsl(a?)\(([\d., ]+)\)$/);if(t){var n=!!t[1],o=n?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===o){var i=Md(r[0],r[1],r[2]);return i.a=n?100*r[3]:$u,i}}}(e);return t||function(e){if("undefined"==typeof document)return;var t=document.createElement("div");t.style.backgroundColor=e,t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",t.style.height="1px",t.style.width="1px",document.body.appendChild(t);var n=getComputedStyle(t),o=n&&n.backgroundColor;if(document.body.removeChild(t),"rgba(0, 0, 0, 0)"===o||"transparent"===o){switch(e.trim()){case"transparent":case"#0000":case"#00000000":return{r:0,g:0,b:0,a:0}}return}return Fd(o)}(e)}}function Fd(e){if(e){var t=e.match(/^rgb(a?)\(([\d., ]+)\)$/);if(t){var n=!!t[1],o=n?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===o)return{r:r[0],g:r[1],b:r[2],a:n?100*r[3]:$u}}}}function Bd(e,t,n){var o=pd(e,t,n);return sd(o.r,o.g,o.b)}function Ld(e,t){var n=e.h,o=e.s,r=e.v;t="number"==typeof t?t:$u;var i=pd(n,o,r),a=i.r,s=i.g,l=i.b,c=Bd(n,o,r);return{a:t,b:l,g:s,h:n,hex:c,r:a,s:o,str:cd(a,s,l,t,c),v:r,t:$u-t}}function Ad(e){var t=Nd(e);if(t)return Object(u.a)(Object(u.a)({},ud(t)),{str:e})}function jd(e){return"#".concat(Bd(e.h,qu,Qu))}function Hd(e,t){return Object(u.a)(Object(u.a)({},e),{a:t,t:$u-t,str:cd(e.r,e.g,e.b,t,e.hex)})}function zd(e,t){var n=pd(t,e.s,e.v),o=n.r,r=n.g,i=n.b,a=sd(o,r,i);return Object(u.a)(Object(u.a)({},e),{h:t,r:o,g:r,b:i,hex:a,str:cd(o,r,i,e.a,a)})}function Wd(e,t,n){var o;return ud(((o={r:e.r,g:e.g,b:e.b,a:e.a})[t]=n,o))}function Vd(e,t,n){var o=pd(e.h,t,n),r=o.r,i=o.g,a=o.b,s=sd(r,i,a);return Object(u.a)(Object(u.a)({},e),{s:t,v:n,r:r,g:i,b:a,hex:s,str:cd(r,i,a,e.a,s)})}function Ud(e,t){var n=$u-t;return Object(u.a)(Object(u.a)({},e),{t:t,a:n,str:cd(e.r,e.g,e.b,n,e.hex)})}function Kd(){0}function Gd(e){}function qd(e,t){return void 0!==e[t]&&null!==e[t]}!function(e){e[e.Unshaded=0]="Unshaded",e[e.Shade1=1]="Shade1",e[e.Shade2=2]="Shade2",e[e.Shade3=3]="Shade3",e[e.Shade4=4]="Shade4",e[e.Shade5=5]="Shade5",e[e.Shade6=6]="Shade6",e[e.Shade7=7]="Shade7",e[e.Shade8=8]="Shade8"}(fd||(fd={}));var Yd,Qd=L(),Xd=function(e){function t(t){var n=e.call(this,t)||this;n._textElement=d.createRef(),n._onFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.setState({isFocused:!0},(function(){n.props.validateOnFocusIn&&n._validate(n.value)}))},n._onBlur=function(e){n.props.onBlur&&n.props.onBlur(e),n.setState({isFocused:!1},(function(){n.props.validateOnFocusOut&&n._validate(n.value)}))},n._onRenderLabel=function(e){var t=e.label,o=e.required,r=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?d.createElement(pu,{required:o,htmlFor:n._id,styles:r,disabled:e.disabled,id:n._labelId},e.label):null},n._onRenderDescription=function(e){return e.description?d.createElement("span",{className:n._classNames.description},e.description):null},n._onRevealButtonClick=function(e){n.setState((function(e){return{isRevealingPassword:!e.isRevealingPassword}}))},n._onInputChange=function(e){var t,o,r=e.target.value,i=Zd(n.props,n.state)||"";void 0!==r&&r!==n._lastChangeValue&&r!==i?(n._lastChangeValue=r,null===(o=(t=n.props).onChange)||void 0===o||o.call(t,e,r),n._isControlled||n.setState({uncontrolledValue:r})):n._lastChangeValue=void 0},Ct(n),n._async=new wt(n),n._fallbackId=bn("TextField"),n._descriptionId=bn("TextFieldDescription"),n._labelId=bn("TextFieldLabel"),n._prefixId=bn("TextFieldPrefix"),n._suffixId=bn("TextFieldSuffix"),n._warnControlledUsage();var o=t.defaultValue,r=void 0===o?"":o;return"number"==typeof r&&(r=String(r)),n.state={uncontrolledValue:n._isControlled?void 0:r,isFocused:!1,errorMessage:""},n._delayedValidate=n._async.debounce(n._validate,n.props.deferredValidationTime),n._lastValidation=0,n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return Zd(this.props,this.state)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},t.prototype.componentDidUpdate=function(e,t,n){var o=this.props,r=(n||{}).selection,i=void 0===r?[null,null]:r,a=i[0],s=i[1];!!e.multiline!=!!o.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==s&&a>=0&&s>=0&&this.setSelectionRange(a,s)),e.value!==o.value&&(this._lastChangeValue=void 0);var l=Zd(e,t),c=this.value;l!==c&&(this._warnControlledUsage(e),this.state.errorMessage&&!o.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),$d(o)&&this._delayedValidate(c))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,o=e.disabled,r=e.invalid,i=e.iconProps,a=e.inputClassName,s=e.label,l=e.multiline,c=e.required,p=e.underlined,f=e.prefix,h=e.resizable,m=e.suffix,g=e.theme,v=e.styles,b=e.autoAdjustHeight,y=e.canRevealPassword,C=e.revealPasswordAriaLabel,_=e.type,S=e.onRenderPrefix,k=void 0===S?this._onRenderPrefix:S,x=e.onRenderSuffix,w=void 0===x?this._onRenderSuffix:x,I=e.onRenderLabel,E=void 0===I?this._onRenderLabel:I,O=e.onRenderDescription,T=void 0===O?this._onRenderDescription:O,D=this.state,P=D.isFocused,R=D.isRevealingPassword,M=this._errorMessage,F="boolean"==typeof r?r:!!M,B=!!y&&"password"===_&&function(){if("boolean"!=typeof Yd){var e=Object(N.a)();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");Yd=!(vt()||t)}else Yd=!0}return Yd}(),L=this._classNames=Qd(v,{theme:g,className:n,disabled:o,focused:P,required:c,multiline:l,hasLabel:!!s,hasErrorMessage:F,borderless:t,resizable:h,hasIcon:!!i,underlined:p,inputClassName:a,autoAdjustHeight:b,hasRevealButton:B});return d.createElement("div",{ref:this.props.elementRef,className:L.root},d.createElement("div",{className:L.wrapper},E(this.props,this._onRenderLabel),d.createElement("div",{className:L.fieldGroup},(void 0!==f||this.props.onRenderPrefix)&&d.createElement("div",{className:L.prefix,id:this._prefixId},k(this.props,this._onRenderPrefix)),l?this._renderTextArea():this._renderInput(),i&&d.createElement(Ge,Object(u.a)({className:L.icon},i)),B&&d.createElement("button",{"aria-label":C,className:L.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!R,type:"button"},d.createElement("span",{className:L.revealSpan},d.createElement(Ge,{className:L.revealIcon,iconName:R?"Hide":"RedEye"}))),(void 0!==m||this.props.onRenderSuffix)&&d.createElement("div",{className:L.suffix,id:this._suffixId},w(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&d.createElement("span",{id:this._descriptionId},T(this.props,this._onRenderDescription),M&&d.createElement("div",{role:"alert"},d.createElement(Tt,null,this._renderErrorMessage()))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,Object(bo.b)("Warning: 'value' prop on '".concat("TextField","' should not be null. Consider using an ")+"empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return qd(this.props,"value")},enumerable:!1,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return d.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return d.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!1,configurable:!0}),t.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"==typeof e?d.createElement("p",{className:this._classNames.errorMessage},d.createElement("span",{"data-automation-id":"error-message"},e)):d.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),t.prototype._renderTextArea=function(){var e=this.props.invalid,t=void 0===e?!!this._errorMessage:e,n=fe(this.props,J,["defaultValue"]),o=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return d.createElement("textarea",Object(u.a)({id:this._id},n,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":o,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":t,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=this.props,t=e.ariaLabel,n=e.invalid,o=void 0===n?!!this._errorMessage:n,r=e.onRenderPrefix,i=e.onRenderSuffix,a=e.prefix,s=e.suffix,l=e.type,c=void 0===l?"text":l,p=[];e.label&&p.push(this._labelId),(void 0!==a||r)&&p.push(this._prefixId),(void 0!==s||i)&&p.push(this._suffixId);var f=Object(u.a)(Object(u.a)({type:this.state.isRevealingPassword?"text":c,id:this._id},fe(this.props,$,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(p.length>0?p.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":o,onFocus:this._onFocus,onBlur:this._onBlur}),h=function(e){return d.createElement("input",Object(u.a)({},e))};return(this.props.onRenderInput||h)(f,h)},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!$d(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,o=n&&n(e||"");if(void 0!==o)if("string"!=typeof o&&"then"in o){var r=++this._lastValidation;o.then((function(n){r===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)}))}else this.setState({errorMessage:o}),this._notifyAfterValidate(e,o);else this._notifyAfterValidate(e,"")}},t.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},t.prototype._adjustInputHeight=function(){if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var e=this._textElement.current;e.style.height="",e.style.height=e.scrollHeight+"px"}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(d.Component);function Zd(e,t){var n=e.value,o=void 0===n?t.uncontrolledValue:n;return"number"==typeof o?String(o):o}function $d(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var Jd={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 ep(e){var t=e.underlined,n=e.disabled,o=e.focused,r=e.theme,i=r.palette,a=r.fonts;return function(){var e;return{root:[t&&n&&{color:i.neutralTertiary},t&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&o&&{selectors:(e={},e[p.m]={height:31},e)}]}}}function tp(e){var t,n,o,r,i,a,s,l,c,d,f,h,m=e.theme,g=e.className,v=e.disabled,b=e.focused,y=e.required,C=e.multiline,_=e.hasLabel,S=e.borderless,k=e.underlined,x=e.hasIcon,w=e.resizable,I=e.hasErrorMessage,E=e.inputClassName,O=e.autoAdjustHeight,T=e.hasRevealButton,D=m.semanticColors,P=m.effects,R=m.fonts,M=Object(p.R)(Jd,m),N={background:D.disabledBackground,color:v?D.disabledText:D.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(t={},t[p.m]={background:"Window",color:v?"GrayText":"WindowText"},t)},F=[{color:D.inputPlaceholderText,opacity:1,selectors:(n={},n[p.m]={color:"GrayText"},n)}],B={color:D.disabledText,selectors:(o={},o[p.m]={color:"GrayText"},o)};return{root:[M.root,R.medium,y&&M.required,v&&M.disabled,b&&M.active,C&&M.multiline,S&&M.borderless,k&&M.underlined,p.gb,{position:"relative"},g],wrapper:[M.wrapper,k&&[{display:"flex",borderBottom:"1px solid ".concat(I?D.errorText:D.inputBorder),width:"100%"},v&&{borderBottomColor:D.disabledBackground,selectors:(r={},r[p.m]=Object(u.a)({borderColor:"GrayText"},Object(p.S)()),r)},!v&&{selectors:{":hover":{borderBottomColor:I?D.errorText:D.inputBorderHovered,selectors:(i={},i[p.m]=Object(u.a)({borderBottomColor:"Highlight"},Object(p.S)()),i)}}},b&&[{position:"relative"},Object(p.V)(I?D.errorText:D.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[M.fieldGroup,p.gb,{border:"1px solid ".concat(D.inputBorder),borderRadius:P.roundedCorner2,background:D.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},C&&{minHeight:"60px",height:"auto",display:"flex"},!b&&!v&&{selectors:{":hover":{borderColor:D.inputBorderHovered,selectors:(a={},a[p.m]=Object(u.a)({borderColor:"Highlight"},Object(p.S)()),a)}}},b&&!k&&Object(p.V)(I?D.errorText:D.inputFocusBorderAlt,P.roundedCorner2),v&&{borderColor:D.disabledBackground,selectors:(s={},s[p.m]=Object(u.a)({borderColor:"GrayText"},Object(p.S)()),s),cursor:"default"},S&&{border:"none"},S&&b&&{border:"none",selectors:{":after":{border:"none"}}},k&&{flex:"1 1 0px",border:"none",textAlign:"left"},k&&v&&{backgroundColor:"transparent"},I&&!k&&{borderColor:D.errorText,selectors:{"&:hover":{borderColor:D.errorText}}},!_&&y&&{selectors:(l={":before":{content:"'*'",color:D.errorText,position:"absolute",top:-5,right:-10}},l[p.m]={selectors:{":before":{color:"WindowText",right:-14}}},l)}],field:[R.medium,M.field,p.gb,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:D.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(c={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},c[p.m]={background:"Window",color:v?"GrayText":"WindowText"},c)},Object(p.W)(F),C&&!w&&[M.unresizable,{resize:"none"}],C&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},C&&O&&{overflow:"hidden"},x&&!T&&{paddingRight:24},C&&x&&{paddingRight:40},v&&[{backgroundColor:D.disabledBackground,color:D.disabledText,borderColor:D.disabledBackground},Object(p.W)(B)],k&&{textAlign:"left"},b&&!S&&{selectors:(d={},d[p.m]={paddingLeft:11,paddingRight:11},d)},b&&C&&!S&&{selectors:(f={},f[p.m]={paddingTop:4},f)},E],icon:[C&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:p.p.medium,lineHeight:18},v&&{color:D.disabledText}],description:[M.description,{color:D.bodySubtext,fontSize:R.xSmall.fontSize}],errorMessage:[M.errorMessage,p.a.slideDownIn20,R.small,{color:D.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[M.prefix,N],suffix:[M.suffix,N],revealButton:[M.revealButton,"ms-Button","ms-Button--icon",Object(p.Q)(m,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:D.link,selectors:{":hover":{outline:0,color:D.primaryButtonBackgroundHovered,backgroundColor:D.buttonBackgroundHovered,selectors:(h={},h[p.m]={borderColor:"Highlight",color:"Highlight"},h)},":focus":{outline:0}}},x&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:p.p.medium,lineHeight:18},subComponentStyles:{label:ep(e)}}}var np=k(Xd,tp,void 0,{scope:"TextField"}),op=L(),rp=function(e){function t(t){var n=e.call(this,t)||this;return n._disposables=[],n._root=d.createRef(),n._isAdjustingSaturation=!0,n._descriptionId=bn("ColorRectangle-description"),n._onKeyDown=function(e){var t=n.state.color,o=t.s,r=t.v,i=e.shiftKey?10:1;switch(e.which){case E.up:n._isAdjustingSaturation=!1,r+=i;break;case E.down:n._isAdjustingSaturation=!1,r-=i;break;case E.left:n._isAdjustingSaturation=!0,o-=i;break;case E.right:n._isAdjustingSaturation=!0,o+=i;break;default:return}n._updateColor(e,Vd(t,id(o,qu),id(r,Qu)))},n._onMouseDown=function(e){n._disposables.push(Ho(window,"mousemove",n._onMouseMove,!0),Ho(window,"mouseup",n._disposeListeners,!0)),n._onMouseMove(e)},n._onMouseMove=function(e){if(n._root.current){var t=ip(e,n.state.color,n._root.current);t&&n._updateColor(e,t)}},n._onTouchStart=function(e){n._root.current&&e.stopPropagation()},n._onTouchMove=function(e){if(n._root.current){var t=ip(e,n.state.color,n._root.current);t&&n._updateColor(e,t),e.preventDefault(),e.stopPropagation()}},n._disposeListeners=function(){n._disposables.forEach((function(e){return e()})),n._disposables=[]},Ct(n),n.state={color:t.color},n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){e!==this.props&&this.props.color&&this.setState({color:this.props.color})},t.prototype.componentDidMount=function(){this._root.current&&(this._root.current.addEventListener("touchstart",this._onTouchStart,{capture:!0,passive:!1}),this._root.current.addEventListener("touchmove",this._onTouchMove,{capture:!0,passive:!1}))},t.prototype.componentWillUnmount=function(){this._root.current&&(this._root.current.removeEventListener("touchstart",this._onTouchStart),this._root.current.removeEventListener("touchmove",this._onTouchMove)),this._disposeListeners()},t.prototype.render=function(){var e=this.props,t=e.minSize,n=e.theme,o=e.className,r=e.styles,i=e.ariaValueFormat,a=e.ariaLabel,s=e.ariaDescription,l=this.state.color,c=op(r,{theme:n,className:o,minSize:t}),u=i.replace("{0}",String(l.s)).replace("{1}",String(l.v));return d.createElement("div",{ref:this._root,tabIndex:0,className:c.root,style:{backgroundColor:jd(l)},onMouseDown:this._onMouseDown,onKeyDown:this._onKeyDown,role:"slider","aria-valuetext":u,"aria-valuenow":this._isAdjustingSaturation?l.s:l.v,"aria-valuemin":0,"aria-valuemax":Qu,"aria-label":a,"aria-describedby":this._descriptionId,"data-is-focusable":!0},d.createElement("div",{className:c.description,id:this._descriptionId},s),d.createElement("div",{className:c.light}),d.createElement("div",{className:c.dark}),d.createElement("div",{className:c.thumb,style:{left:l.s+"%",top:Qu-l.v+"%",backgroundColor:l.str}}))},t.prototype._updateColor=function(e,t){var n=this.props.onChange,o=this.state.color;t.s===o.s&&t.v===o.v||(n&&n(e,t),e.defaultPrevented||(this.setState({color:t}),e.preventDefault()))},t.defaultProps={minSize:220,ariaLabel:"Saturation and brightness",ariaValueFormat:"Saturation {0} brightness {1}",ariaDescription:"Use left and right arrow keys to set saturation. Use up and down arrow keys to set brightness."},t}(d.Component);function ip(e,t,n){var o=n.getBoundingClientRect(),r=void 0,i=e;if(i.touches){var a=i.touches[i.touches.length-1];void 0!==a.clientX&&void 0!==a.clientY&&(r={clientX:a.clientX,clientY:a.clientY})}if(!r){var s=e;void 0!==s.clientX&&void 0!==s.clientY&&(r={clientX:s.clientX,clientY:s.clientY})}if(r){var l=(r.clientX-o.left)/o.width,c=(r.clientY-o.top)/o.height;return Vd(t,id(Math.round(l*qu),qu),id(Math.round(Qu-c*Qu),Qu))}}var ap=k(rp,(function(e){var t,n,o=e.className,r=e.theme,i=e.minSize,a=r.palette,s=r.effects;return{root:["ms-ColorPicker-colorRect",{position:"relative",marginBottom:8,border:"1px solid ".concat(a.neutralLighter),borderRadius:s.roundedCorner2,minWidth:i,minHeight:i,outline:"none",selectors:(t={},t[p.m]=Object(u.a)({},Object(p.S)()),t[".".concat(Gn.a," &:focus")]=(n={outline:"1px solid ".concat(a.neutralSecondary)},n["".concat(p.m)]={outline:"2px solid CanvasText"},n),t)},o],light:["ms-ColorPicker-light",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to right, white 0%, transparent 100%) /*@noflip*/"}],dark:["ms-ColorPicker-dark",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to bottom, transparent 0, #000 100%)"}],thumb:["ms-ColorPicker-thumb",{position:"absolute",width:20,height:20,background:"white",border:"1px solid ".concat(a.neutralSecondaryAlt),borderRadius:"50%",boxShadow:s.elevation8,transform:"translate(-50%, -50%)",selectors:{":before":{position:"absolute",left:0,right:0,top:0,bottom:0,border:"2px solid ".concat(a.white),borderRadius:"50%",boxSizing:"border-box",content:'""'}}}],description:p.ab}}),void 0,{scope:"ColorRectangle"}),sp=L(),lp=function(e){function t(t){var n=e.call(this,t)||this;return n._disposables=[],n._root=d.createRef(),n._onKeyDown=function(e){var t=n.value,o=n._maxValue,r=e.shiftKey?10:1;switch(e.which){case E.left:t-=r;break;case E.right:t+=r;break;case E.home:t=0;break;case E.end:t=o;break;default:return}n._updateValue(e,id(t,o))},n._onMouseDown=function(e){var t=Object(N.a)(n);t&&n._disposables.push(Ho(t,"mousemove",n._onMouseMove,!0),Ho(t,"mouseup",n._disposeListeners,!0)),n._onMouseMove(e)},n._onMouseMove=function(e){if(n._root.current){var t=n._maxValue,o=n._root.current.getBoundingClientRect(),r=(e.clientX-o.left)/o.width,i=id(Math.round(r*t),t);n._updateValue(e,i)}},n._onTouchStart=function(e){n._root.current&&e.stopPropagation()},n._onTouchMove=function(e){if(n._root.current){var t=e.touches[e.touches.length-1];if(void 0!==t.clientX){var o=n._maxValue,r=n._root.current.getBoundingClientRect(),i=(t.clientX-r.left)/r.width,a=id(Math.round(i*o),o);n._updateValue(e,a)}e.preventDefault(),e.stopPropagation()}},n._disposeListeners=function(){n._disposables.forEach((function(e){return e()})),n._disposables=[]},Ct(n),"hue"===n._type||t.overlayColor||t.overlayStyle||Object(bo.b)("ColorSlider: 'overlayColor' is required when 'type' is \"alpha\" or \"transparency\""),n.state={currentValue:t.value||0},n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.state.currentValue},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){e!==this.props&&void 0!==this.props.value&&this.setState({currentValue:this.props.value})},t.prototype.componentDidMount=function(){this._root.current&&(this._root.current.addEventListener("touchstart",this._onTouchStart,{capture:!0,passive:!1}),this._root.current.addEventListener("touchmove",this._onTouchMove,{capture:!0,passive:!1}))},t.prototype.componentWillUnmount=function(){this._root.current&&(this._root.current.removeEventListener("touchstart",this._onTouchStart),this._root.current.removeEventListener("touchmove",this._onTouchMove)),this._disposeListeners()},t.prototype.render=function(){var e=this._type,t=this._maxValue,n=this.props,o=n.overlayStyle,r=n.overlayColor,i=n.theme,a=n.className,s=n.styles,l=n.ariaLabel,c=void 0===l?e:l,u=this.value,p=sp(s,{theme:i,className:a,type:e}),f=100*u/t;return d.createElement("div",{ref:this._root,className:p.root,tabIndex:0,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,role:"slider","aria-valuenow":u,"aria-valuetext":String(u),"aria-valuemin":0,"aria-valuemax":t,"aria-label":c,"data-is-focusable":!0},!(!r&&!o)&&d.createElement("div",{className:p.sliderOverlay,style:r?{background:"transparency"===e?"linear-gradient(to right, #".concat(r,", transparent)"):"linear-gradient(to right, transparent, #".concat(r,")")}:o}),d.createElement("div",{className:p.sliderThumb,style:{left:f+"%"}}))},Object.defineProperty(t.prototype,"_type",{get:function(){var e=this.props,t=e.isAlpha,n=e.type;return void 0===n?t?"alpha":"hue":n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_maxValue",{get:function(){return"hue"===this._type?Yu:$u},enumerable:!1,configurable:!0}),t.prototype._updateValue=function(e,t){if(t!==this.value){var n=this.props.onChange;n&&n(e,t),e.defaultPrevented||(this.setState({currentValue:t}),e.preventDefault())}},t.defaultProps={value:0},t}(d.Component),cp={background:"linear-gradient(".concat(["to left","red 0","#f09 10%","#cd00ff 20%","#3200ff 30%","#06f 40%","#00fffd 50%","#0f6 60%","#35ff00 70%","#cdff00 80%","#f90 90%","red 100%"].join(","),")")},up={backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)"},dp=k(lp,(function(e){var t,n,o=e.theme,r=e.className,i=e.type,a=void 0===i?"hue":i,s=e.isAlpha,l=void 0===s?"hue"!==a:s,c=o.palette,u=o.effects;return{root:["ms-ColorPicker-slider",{position:"relative",height:20,marginBottom:8,border:"1px solid ".concat(c.neutralLight),borderRadius:u.roundedCorner2,boxSizing:"border-box",outline:"none",forcedColorAdjust:"none",selectors:(t={},t[".".concat(Gn.a," &:focus")]=(n={outline:"1px solid ".concat(c.neutralSecondary)},n["".concat(p.m)]={outline:"2px solid CanvasText"},n),t)},l?up:cp,r],sliderOverlay:["ms-ColorPicker-sliderOverlay",{content:"",position:"absolute",left:0,right:0,top:0,bottom:0}],sliderThumb:["ms-ColorPicker-thumb","is-slider",{position:"absolute",width:20,height:20,background:"white",border:"1px solid ".concat(c.neutralSecondaryAlt),borderRadius:"50%",boxShadow:u.elevation8,transform:"translate(-50%, -50%)",top:"50%",forcedColorAdjust:"auto"}]}}),void 0,{scope:"ColorSlider"}),pp=L(),fp=["hex","r","g","b","a","t"],hp={hex:"hexError",r:"redError",g:"greenError",b:"blueError",a:"alphaError",t:"transparencyError"},mp=function(e){function t(n){var o=e.call(this,n)||this;o._onSVChanged=function(e,t){o._updateColor(e,t)},o._onHChanged=function(e,t){o._updateColor(e,zd(o.state.color,t))},o._onATChanged=function(e,t){var n="transparency"===o.props.alphaType?Ud:Hd;o._updateColor(e,n(o.state.color,Math.round(t)))},o._onBlur=function(e){var t,n=o.state,r=n.color,i=n.editingColor;if(i){var a=i.value,s=i.component,l="hex"===s,c="a"===s,d="t"===s,p=l?Ju:td;if(a.length>=p&&(l||!isNaN(Number(a)))){var f=void 0;if(l)f=Ad("#"+Dd(a));else if(c||d){f=(c?Hd:Ud)(r,id(Number(a),$u))}else f=ud(Pd(Object(u.a)(Object(u.a)({},r),((t={})[s]=Number(a),t))));o._updateColor(e,f)}else o.setState({editingColor:void 0})}},Ct(o);var r=n.strings;r.hue&&Object(bo.b)("ColorPicker property 'strings.hue' was used but has been deprecated. Use 'strings.hueAriaLabel' instead."),o.state={color:gp(n)||Ad("#ffffff")},o._textChangeHandlers={};for(var i=0,a=fp;i<a.length;i++){var s=a[i];o._textChangeHandlers[s]=o._onTextChange.bind(o,s)}var l=t.defaultProps.strings;return o._textLabels={r:n.redLabel||r.red||l.red,g:n.greenLabel||r.green||l.green,b:n.blueLabel||r.blue||l.blue,a:n.alphaLabel||r.alpha||l.alpha,hex:n.hexLabel||r.hex||l.hex,t:r.transparency||l.transparency},o._strings=Object(u.a)(Object(u.a)(Object(u.a)({},l),{alphaAriaLabel:o._textLabels.a,transparencyAriaLabel:o._textLabels.t}),r),o}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(e!==this.props){var n=gp(this.props);n&&this._updateColor(void 0,n)}},t.prototype.render=function(){var e=this,t=this.props,n=this._strings,o=this._textLabels,r=t.theme,i=t.className,a=t.styles,s=t.alphaType,l=t.alphaSliderHidden,c=void 0===l?"none"===s:l,p=t.tooltipProps,f=this.state.color,h="transparency"===s,m=["hex","r","g","b",h?"t":"a"],g=h?f.t:f.a,v=h?o.t:o.a,b=pp(a,{theme:r,className:i,alphaType:s}),y=[o.r,f.r,o.g,f.g,o.b,f.b];c||"number"!=typeof g||y.push(v,"".concat(g,"%"));var C=n.rootAriaLabelFormat.replace("{0}",y.join(" "));return d.createElement("div",{className:b.root,role:"group","aria-label":C},d.createElement("div",{className:b.panel},d.createElement(ap,{color:f,onChange:this._onSVChanged,ariaLabel:n.svAriaLabel,ariaDescription:n.svAriaDescription,ariaValueFormat:n.svAriaValueFormat,className:b.colorRectangle}),d.createElement("div",{className:b.flexContainer},d.createElement("div",{className:b.flexSlider},d.createElement(dp,{className:"is-hue",type:"hue",ariaLabel:n.hue||n.hueAriaLabel,value:f.h,onChange:this._onHChanged}),!c&&d.createElement(dp,{className:"is-alpha",type:s,ariaLabel:h?n.transparencyAriaLabel:n.alphaAriaLabel,overlayColor:f.hex,value:g,onChange:this._onATChanged})),t.showPreview&&d.createElement("div",{className:b.flexPreviewBox},d.createElement("div",{className:b.colorSquare+" is-preview",style:{backgroundColor:f.str}}))),d.createElement("table",{className:b.table,role:"group",cellPadding:"0",cellSpacing:"0"},d.createElement("thead",null,d.createElement("tr",{className:b.tableHeader},d.createElement("td",{className:b.tableHexCell},o.hex),d.createElement("td",null,o.r),d.createElement("td",null,o.g),d.createElement("td",null,o.b),!c&&d.createElement("td",{className:b.tableAlphaCell},v))),d.createElement("tbody",null,d.createElement("tr",null,m.map((function(t){if(("a"===t||"t"===t)&&c)return null;var n=e._getTooltipValue(t);return d.createElement("td",{key:t},d.createElement(Us,Object(u.a)({content:n,directionalHint:Eo.bottomCenter,role:"alert"},p),d.createElement(np,{className:b.input,onChange:e._textChangeHandlers[t],onBlur:e._onBlur,value:e._getDisplayValue(t),spellCheck:!1,ariaLabel:o[t],autoComplete:"off",invalid:!!n})))})))))))},t.prototype._getDisplayValue=function(e){var t=this.state,n=t.color,o=t.editingColor;return o&&o.component===e?o.value:"hex"===e?n[e]||"":"number"!=typeof n[e]||isNaN(n[e])?"":String(n[e])},t.prototype._getTooltipValue=function(e){var t=this.state.editingColor;if(t&&t.component===e){var n=t.value;if(!("hex"===e&&n.length>=Ju&&n.length<=ed)){var o=hp[e];return this._strings[o]}}},t.prototype._onTextChange=function(e,t,n){var o,r=this.state.color,i="hex"===e,a="a"===e,s="t"===e;if(n=(n||"").substr(0,i?ed:nd),(i?od:rd).test(n))if(""!==n&&(i?n.length===ed:a||s?Number(n)<=$u:Number(n)<=Xu))if(String(r[e])===n)this.state.editingColor&&this.setState({editingColor:void 0});else{var l=i?Ad("#"+n):s?Ud(r,Number(n)):ud(Object(u.a)(Object(u.a)({},r),((o={})[e]=Number(n),o)));this._updateColor(t,l)}else this.setState({editingColor:{component:e,value:n}})},t.prototype._updateColor=function(e,t){if(t){var n=this.state,o=n.color,r=n.editingColor;if(t.h!==o.h||t.str!==o.str||r){if(e&&this.props.onChange&&(this.props.onChange(e,t),e.defaultPrevented))return;this.setState({color:t,editingColor:void 0})}}},t.defaultProps={alphaType:"alpha",strings:{rootAriaLabelFormat:"Color picker, {0} selected.",hex:"Hex",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",transparency:"Transparency",hueAriaLabel:"Hue",svAriaLabel:rp.defaultProps.ariaLabel,svAriaValueFormat:rp.defaultProps.ariaValueFormat,svAriaDescription:rp.defaultProps.ariaDescription,hexError:"Hex values must be between 3 and 6 characters long",alphaError:"Alpha must be between 0 and 100",transparencyError:"Transparency must be between 0 and 100",redError:"Red must be between 0 and 255",greenError:"Green must be between 0 and 255",blueError:"Blue must be between 0 and 255"}},t}(d.Component);function gp(e){var t=e.color;return"string"==typeof t?Ad(t):t}var vp,bp,yp,Cp,_p,Sp=k(mp,(function(e){var t=e.className,n=e.theme,o=e.alphaType;return{root:["ms-ColorPicker",n.fonts.medium,{position:"relative",maxWidth:300},t],panel:["ms-ColorPicker-panel",{padding:"16px"}],table:["ms-ColorPicker-table",{tableLayout:"fixed",width:"100%",selectors:{"tbody td:last-of-type .ms-ColorPicker-input":{paddingRight:0}}}],tableHeader:[n.fonts.small,{selectors:{td:{paddingBottom:4}}}],tableHexCell:{width:"25%"},tableAlphaCell:"transparency"===o&&{width:"22%"},colorSquare:["ms-ColorPicker-colorSquare",{width:48,height:48,margin:"0 0 0 8px",border:"1px solid #c8c6c4",forcedColorAdjust:"none"}],flexContainer:{display:"flex"},flexSlider:{flexGrow:"1"},flexPreviewBox:{flexGrow:"0"},input:["ms-ColorPicker-input",{width:"100%",border:"none",boxSizing:"border-box",height:30,selectors:{"&.ms-TextField":{paddingRight:4},"& .ms-TextField-field":{minWidth:"auto",padding:5,textOverflow:"clip"}}}]}}),void 0,{scope:"ColorPicker"}),kp=Object(f.c)((function(e){var t,n=e.semanticColors;return{backgroundColor:n.disabledBackground,color:n.disabledText,cursor:"default",selectors:(t={":after":{borderColor:n.disabledBackground}},t[p.m]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}})),xp={selectors:(vp={},vp[p.m]=Object(u.a)({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},Object(p.S)()),vp)},wp={selectors:(bp={},bp[p.m]=Object(u.a)({color:"WindowText",backgroundColor:"Window"},Object(p.S)()),bp)},Ip=Object(f.c)((function(e,t,n,o,r,i){var a,s=e.palette,l=e.semanticColors,c={textHoveredColor:l.menuItemTextHovered,textSelectedColor:s.neutralDark,textDisabledColor:l.disabledText,backgroundHoveredColor:l.menuItemBackgroundHovered,backgroundPressedColor:l.menuItemBackgroundPressed},d={root:[e.fonts.medium,{backgroundColor:o?c.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:r?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:Object(u.a)(Object(u.a)((a={},a[p.m]={border:"none",borderColor:"Background"},a),!r&&{"&.ms-Checkbox":{display:"flex",alignItems:"center"}}),{"&.ms-Button--command:hover:active":{backgroundColor:c.backgroundPressedColor},".ms-Checkbox-label":{width:"100%"}})},i?[{backgroundColor:"transparent",color:c.textSelectedColor,selectors:{":hover":[{backgroundColor:c.backgroundHoveredColor},xp]}},Object(p.Q)(e,{inset:-1,isFocusedOnly:!1}),xp]:[]],rootHovered:{backgroundColor:c.backgroundHoveredColor,color:c.textHoveredColor},rootFocused:{backgroundColor:c.backgroundHoveredColor},rootDisabled:{color:c.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}};return Object(p.I)(d,t,n)})),Ep=Object(f.c)((function(e,t){var n,o,r=e.semanticColors,i=e.fonts,a={buttonTextColor:r.bodySubtext,buttonTextHoveredCheckedColor:r.buttonTextChecked,buttonBackgroundHoveredColor:r.listItemBackgroundHovered,buttonBackgroundCheckedColor:r.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:r.listItemBackgroundCheckedHovered},s={selectors:(n={},n[p.m]=Object(u.a)({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},Object(p.S)()),n)},l={root:{color:a.buttonTextColor,fontSize:i.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(o={},o[p.m]=Object(u.a)({backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText"},Object(p.S)()),o)},icon:{fontSize:i.small.fontSize},rootHovered:[{backgroundColor:a.buttonBackgroundHoveredColor,color:a.buttonTextHoveredCheckedColor,cursor:"pointer"},s],rootPressed:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},s],rootChecked:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},s],rootCheckedHovered:[{backgroundColor:a.buttonBackgroundCheckedHoveredColor,color:a.buttonTextHoveredCheckedColor},s],rootDisabled:[kp(e),{position:"absolute"}]};return Object(p.I)(l,t)})),Op=Object(f.c)((function(e,t,n){var o,r,i,a,s,l,c=e.semanticColors,d=e.fonts,f=e.effects,h={textColor:c.inputText,borderColor:c.inputBorder,borderHoveredColor:c.inputBorderHovered,borderPressedColor:c.inputFocusBorderAlt,borderFocusedColor:c.inputFocusBorderAlt,backgroundColor:c.inputBackground,erroredColor:c.errorText},m={headerTextColor:c.menuHeader,dividerBorderColor:c.bodyDivider},g={selectors:(o={},o[p.m]={color:"GrayText"},o)},v=[{color:c.inputPlaceholderText},g],b=[{color:c.inputTextHovered},g],y=[{color:c.disabledText},g],C=Object(u.a)(Object(u.a)({color:"HighlightText",backgroundColor:"Window"},Object(p.S)()),{selectors:{":after":{borderColor:"Highlight"}}}),_=Object(p.V)(h.borderPressedColor,f.roundedCorner2,"border",0),S={container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:h.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:h.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(r={},r[p.m]=C,r)},":after":{pointerEvents:"none",content:"",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:h.borderColor,borderRadius:f.roundedCorner2}}}],rootHovered:{selectors:(i={":after":{borderColor:h.borderHoveredColor},".ms-ComboBox-Input":[{color:c.inputTextHovered},Object(p.W)(b),wp]},i[p.m]=Object(u.a)(Object(u.a)({color:"HighlightText",backgroundColor:"Window"},Object(p.S)()),{selectors:{":after":{borderColor:"Highlight"}}}),i)},rootPressed:[{position:"relative",selectors:(a={},a[p.m]=C,a)}],rootFocused:[{selectors:(s={".ms-ComboBox-Input":[{color:c.inputTextHovered},wp]},s[p.m]=C,s)},_],rootDisabled:kp(e),rootError:{selectors:{":after":{borderColor:h.erroredColor},":hover:after":{borderColor:c.inputBorderHovered}}},rootDisallowFreeForm:{},input:[Object(p.W)(v),{backgroundColor:h.backgroundColor,color:h.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},wp],inputDisabled:[kp(e),Object(p.W)(y)],errorMessage:[e.fonts.small,{color:h.erroredColor,marginTop:"5px"}],callout:{boxShadow:f.elevation8},optionsContainerWrapper:{width:n},optionsContainer:{display:"block"},screenReaderText:p.ab,header:[d.medium,{fontWeight:p.l.semibold,color:m.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(l={},l[p.m]=Object(u.a)({color:"GrayText"},Object(p.S)()),l)}],divider:{height:1,backgroundColor:m.dividerBorderColor}};return Object(p.I)(S,t)})),Tp=Object(f.c)((function(e,t,n,o,r,i,a,s){return{container:Object(p.eb)("ms-ComboBox-container",t,e.container),label:Object(p.eb)(e.label,o&&e.labelDisabled),root:Object(p.eb)("ms-ComboBox",s?e.rootError:n&&"is-open",r&&"is-required",e.root,!a&&e.rootDisallowFreeForm,s&&!i?e.rootError:!o&&i&&e.rootFocused,!o&&{selectors:{":hover":s?e.rootError:!n&&!i&&e.rootHovered,":active":s?e.rootError:e.rootPressed,":focus":s?e.rootError:e.rootFocused}},o&&["is-disabled",e.rootDisabled]),input:Object(p.eb)("ms-ComboBox-Input",e.input,o&&e.inputDisabled),errorMessage:Object(p.eb)(e.errorMessage),callout:Object(p.eb)("ms-ComboBox-callout",e.callout),optionsContainerWrapper:Object(p.eb)("ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:Object(p.eb)("ms-ComboBox-optionsContainer",e.optionsContainer),header:Object(p.eb)("ms-ComboBox-header",e.header),divider:Object(p.eb)("ms-ComboBox-divider",e.divider),screenReaderText:Object(p.eb)(e.screenReaderText)}})),Dp=Object(f.c)((function(e){return{optionText:Object(p.eb)("ms-ComboBox-optionText",e.optionText),root:Object(p.eb)("ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:Object(p.eb)(e.optionTextWrapper)}}));function Pp(e,t){for(var n=[],o=0,r=t;o<r.length;o++){var i=e[r[o]];i&&n.push(i)}return n}function Rp(e,t){void 0===t&&(t=!0);var n=[];if(e){for(var o=0;o<e.children.length;o++)n.push(e.children.item(o));t&&Kt(e)&&n.push.apply(n,e._virtual.children)}return n}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.SelectAll=3]="SelectAll"}(yp||(yp={})),function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(Cp||(Cp={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(_p||(_p={}));var Mp=d.memo((function(e){return(0,e.render)()}),(function(e,t){e.render;var n=Object(u.d)(e,["render"]);t.render;return uo(n,Object(u.d)(t,["render"]))})),Np={options:[],allowFreeform:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}};function Fp(e){var t=e.options,n=e.defaultSelectedKey,o=e.selectedKey,r=d.useState((function(){return Ap(t,function(e,t){var n=jp(e);if(n.length)return n;return jp(t)}(n,o))})),i=r[0],a=r[1],s=d.useState(t),l=s[0],c=s[1],u=d.useState(),p=u[0],f=u[1];return d.useEffect((function(){if(void 0!==o){var e=jp(o),n=Ap(t,e);a(n)}c(t)}),[t,o]),d.useEffect((function(){null===o&&f(void 0)}),[o]),[i,a,l,c,p,f]}var Bp=d.forwardRef((function(e,t){var n=H(Np,e),o=(n.ref,Object(u.d)(n,["ref"])),r=d.useRef(null),i=Ie(r,t),a=Fp(o),s=a[0],l=a[1],c=a[2],p=a[3],f=a[4],h=a[5];return d.createElement(Lp,Object(u.a)({},o,{hoisted:{mergedRootRef:i,rootRef:r,selectedIndices:s,setSelectedIndices:l,currentOptions:c,setCurrentOptions:p,suggestedDisplayValue:f,setSuggestedDisplayValue:h}}))}));Bp.displayName="ComboBox";var Lp=function(e){function t(t){var n=e.call(this,t)||this;return n._autofill=d.createRef(),n._comboBoxWrapper=d.createRef(),n._comboBoxMenu=d.createRef(),n._selectedElement=d.createRef(),n.focus=function(e,t){n.props.disabled||(n._autofill.current&&(t?fn(n._autofill.current):n._autofill.current.focus(),e&&n.setState({isOpen:!0})),n._hasFocus()||n.setState({focusState:"focused"}))},n.dismissMenu=function(){n.state.isOpen&&n.setState({isOpen:!1})},n._onUpdateValueInAutofillWillReceiveProps=function(){var e=n._autofill.current;return e?null===e.value||void 0===e.value?null:Hp(n._currentVisibleValue):null},n._renderComboBoxWrapper=function(e,t){var o=n.props,r=o.label,i=o.disabled,a=o.ariaLabel,s=o.ariaDescribedBy,l=void 0===s?n.props["aria-describedby"]:s,c=o.required,p=o.errorMessage,f=o.buttonIconProps,h=o.isButtonAriaHidden,m=o.title,g=o.placeholder,v=o.tabIndex,b=o.autofill,y=o.iconButtonProps,C=o.hoisted.suggestedDisplayValue,_=n.state,S=_.ariaActiveDescendantValue,k=_.isOpen,x=n._hasFocus()&&n.props.multiSelect&&e?e:g,w=[n.props["aria-labelledby"],r&&n._id+"-label"].join(" ").trim(),I={"aria-labelledby":w||void 0,"aria-label":a&&!r?a:void 0};return d.createElement("div",{"data-ktp-target":!0,ref:n._comboBoxWrapper,id:n._id+"wrapper",className:n._classNames.root,"aria-owns":k?n._id+"-list":void 0},d.createElement(It,Object(u.a)({"data-ktp-execute-target":!0,"data-is-interactable":!i,componentRef:n._autofill,id:n._id+"-input",className:n._classNames.input,type:"text",onFocus:n._onFocus,onBlur:n._onBlur,onKeyDown:n._onInputKeyDown,onKeyUp:n._onInputKeyUp,onClick:n._onAutofillClick,onTouchStart:n._onTouchStart,onInputValueChange:n._onInputChange,"aria-expanded":k,"aria-autocomplete":n._getAriaAutoCompleteValue(),role:"combobox",readOnly:i},I,{"aria-describedby":void 0!==p?wo(l,t):l,"aria-activedescendant":S,"aria-required":c,"aria-disabled":i,"aria-controls":k?n._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:n._currentVisibleValue,suggestedDisplayValue:C,updateValueInWillReceiveProps:n._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:n._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:m,preventValueSelection:!n._hasFocus(),placeholder:x,tabIndex:i?-1:v},b)),d.createElement(Ss,Object(u.a)({className:"ms-ComboBox-CaretDown-button",styles:n._getCaretButtonStyles(),role:h?"presentation":void 0,"aria-hidden":h},h?void 0:I,{"data-is-focusable":!1,tabIndex:-1,onClick:n._onComboBoxClick,onBlur:n._onBlur,iconProps:f,disabled:i,checked:k},y)))},n._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return n._currentVisibleValue===n.props.hoisted.suggestedDisplayValue},n._getVisibleValue=function(){var e=n.props,t=e.text,o=e.allowFreeform,r=e.allowFreeInput,i=e.autoComplete,a=e.hoisted,s=a.suggestedDisplayValue,l=a.selectedIndices,c=a.currentOptions,u=n.state,d=u.currentPendingValueValidIndex,p=u.currentPendingValue,f=u.isOpen,h=zp(c,d);if((!f||!h)&&(t||""===t)&&null==p)return t;if(n.props.multiSelect){if(n._hasFocus()){var m=-1;return"on"===i&&h&&(m=d),n._getPendingString(p,c,m)}return n._getMultiselectDisplayString(l,c,s)}m=n._getFirstSelectedIndex();return o||r?("on"===i&&h&&(m=d),n._getPendingString(p,c,m)):h&&"on"===i?(m=d,Hp(p)):!n.state.isOpen&&p?zp(c,m)?p:Hp(s):zp(c,m)?Up(c[m]):Hp(s)},n._onInputChange=function(e){n.props.disabled?n._handleInputWhenDisabled(null):(n.props.onInputValueChange&&n.props.onInputValueChange(e),n.props.allowFreeform||n.props.allowFreeInput?n._processInputChangeWithFreeform(e):n._processInputChangeWithoutFreeform(e))},n._onFocus=function(){var e,t;null===(t=null===(e=n._autofill.current)||void 0===e?void 0:e.inputElement)||void 0===t||t.select(),n._hasFocus()||n.setState({focusState:"focusing"})},n._onResolveOptions=function(){if(n.props.onResolveOptions){var e=n.props.onResolveOptions(Object(u.e)([],n.props.hoisted.currentOptions,!0));Array.isArray(e)?n.props.hoisted.setCurrentOptions(e):e&&e.then&&(n._currentPromise=e,e.then((function(t){e===n._currentPromise&&n.props.hoisted.setCurrentOptions(t)})))}},n._onBlur=function(e){var t,o,r=e.relatedTarget;if(null===e.relatedTarget&&(r=document.activeElement),r){var i=null===(t=n.props.hoisted.rootRef.current)||void 0===t?void 0:t.contains(r),a=null===(o=n._comboBoxMenu.current)||void 0===o?void 0:o.contains(r),s=n._comboBoxMenu.current&&Yt(n._comboBoxMenu.current,(function(e){return e===r}));if(i||a||s)return s&&n._hasFocus()&&(!n.props.multiSelect||n.props.allowFreeform)&&n._submitPendingValue(e),e.preventDefault(),void e.stopPropagation()}n._hasFocus()&&(n.setState({focusState:"none"}),n.props.multiSelect&&!n.props.allowFreeform||n._submitPendingValue(e))},n._onRenderContainer=function(e,t){var o=e.onRenderList,r=e.calloutProps,i=e.dropdownWidth,a=e.dropdownMaxWidth,s=e.onRenderUpperContent,l=void 0===s?n._onRenderUpperContent:s,c=e.onRenderLowerContent,p=void 0===c?n._onRenderLowerContent:c,f=e.useComboBoxAsMenuWidth,h=e.persistMenu,m=e.shouldRestoreFocus,g=void 0===m||m,v=n.state.isOpen,b=n._id,y=f&&n._comboBoxWrapper.current?n._comboBoxWrapper.current.clientWidth+2:void 0;return d.createElement(Li,Object(u.a)({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:Eo.bottomLeftEdge,directionalHintFixed:!1},r,{onLayerMounted:n._onLayerMounted,className:Me(n._classNames.callout,null==r?void 0:r.className),target:n._comboBoxWrapper.current,onDismiss:n._onDismiss,onMouseDown:n._onCalloutMouseDown,onScroll:n._onScroll,setInitialFocus:!1,calloutWidth:f&&n._comboBoxWrapper.current?y&&y:i,calloutMaxWidth:a||y,hidden:h?!v:void 0,shouldRestoreFocus:g}),l(n.props,n._onRenderUpperContent),d.createElement("div",{className:n._classNames.optionsContainerWrapper,ref:n._comboBoxMenu},null==o?void 0:o(Object(u.a)(Object(u.a)({},e),{id:b}),n._onRenderList)),p(n.props,n._onRenderLowerContent))},n._onLayerMounted=function(){n._onCalloutLayerMounted(),n._async.setTimeout((function(){n._scrollIntoView()}),0),n.props.calloutProps&&n.props.calloutProps.onLayerMounted&&n.props.calloutProps.onLayerMounted()},n._onRenderLabel=function(e){var t=e.props,o=t.label,r=t.disabled,i=t.required;return o?d.createElement(pu,{id:n._id+"-label",disabled:r,required:i,className:n._classNames.label},o,e.multiselectAccessibleText&&d.createElement("span",{className:n._classNames.screenReaderText},e.multiselectAccessibleText)):null},n._onRenderList=function(e){var t=e.onRenderItem,o=void 0===t?n._onRenderItem:t,r=e.label,i=e.ariaLabel,a=e.multiSelect,s={items:[]},l=[],c=function(){var e=s.id?[d.createElement("div",{role:"group",key:s.id,"aria-labelledby":s.id},s.items)]:s.items;l=Object(u.e)(Object(u.e)([],l,!0),e,!0),s={items:[]}};e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case yp.Header:s.items.length>0&&c();var r=n._id+e.key;s.items.push(o(Object(u.a)(Object(u.a)({id:r},e),{index:t}),n._onRenderItem)),s.id=r;break;case yp.Divider:t>0&&s.items.push(o(Object(u.a)(Object(u.a)({},e),{index:t}),n._onRenderItem)),s.items.length>0&&c();break;default:s.items.push(o(Object(u.a)(Object(u.a)({},e),{index:t}),n._onRenderItem))}}(e,t)})),s.items.length>0&&c();var p=n._id;return d.createElement("div",{id:p+"-list",className:n._classNames.optionsContainer,"aria-labelledby":r&&p+"-label","aria-label":i&&!r?i:void 0,"aria-multiselectable":a?"true":void 0,role:"listbox"},l)},n._onRenderItem=function(e){switch(e.itemType){case yp.Divider:return n._renderSeparator(e);case yp.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._onRenderLowerContent=function(){return null},n._onRenderUpperContent=function(){return null},n._renderOption=function(e){var t,o=n.props.onRenderOption,r=void 0===o?n._onRenderOptionContent:o,i=null!==(t=e.id)&&void 0!==t?t:n._id+"-list"+e.index,a=n._isOptionSelected(e.index),s=n._isOptionChecked(e.index),l=n._isOptionIndeterminate(e.index),c=n._getCurrentOptionStyles(e),p=Dp(n._getCurrentOptionStyles(e)),f=e.title;return d.createElement(Mp,{key:e.key,index:e.index,disabled:e.disabled,isSelected:a,isChecked:s,isIndeterminate:l,text:e.text,render:function(){return n.props.multiSelect?d.createElement(cu,{id:i,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:i+"-label",key:e.key,styles:c,className:"ms-ComboBox-option",onChange:n._onItemClick(e),label:e.text,checked:s,indeterminate:l,title:f,disabled:e.disabled,onRenderLabel:n._renderCheckboxLabel.bind(n,Object(u.a)(Object(u.a)({},e),{id:i+"-label"})),inputProps:Object(u.a)({"aria-selected":s?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):d.createElement(ml,{id:i,key:e.key,"data-index":e.index,styles:c,checked:a,className:"ms-ComboBox-option",onClick:n._onItemClick(e),onMouseEnter:n._onOptionMouseEnter.bind(n,e.index),onMouseMove:n._onOptionMouseMove.bind(n,e.index),onMouseLeave:n._onOptionMouseLeave,role:"option","aria-selected":a?"true":"false",ariaLabel:e.ariaLabel,disabled:e.disabled,title:f},d.createElement("span",{className:p.optionTextWrapper,ref:a?n._selectedElement:void 0},r(e,n._onRenderOptionContent)))},data:e.data})},n._onCalloutMouseDown=function(e){e.preventDefault()},n._onScroll=function(){var e;n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),(null===(e=n.props.calloutProps)||void 0===e?void 0:e.onScroll)&&n.props.calloutProps.onScroll(),n._scrollIdleTimeoutId=n._async.setTimeout((function(){n._isScrollIdle=!0}),250)},n._onRenderOptionContent=function(e){var t=Dp(n._getCurrentOptionStyles(e));return d.createElement("span",{className:t.optionText},e.text)},n._onRenderMultiselectOptionContent=function(e){var t=Dp(n._getCurrentOptionStyles(e));return d.createElement("span",{id:e.id,"aria-hidden":"true",className:t.optionText},e.text)},n._onDismiss=function(){var e=n.props.onMenuDismiss;e&&e(),n.props.persistMenu&&n._onCalloutLayerMounted(),n._setOpenStateAndFocusOnClose(!1,!1),n._resetSelectedIndex()},n._onAfterClearPendingInfo=function(){n._processingClearPendingInfo=!1},n._onInputKeyDown=function(e){var t=n.props,o=t.disabled,r=t.allowFreeform,i=t.allowFreeInput,a=t.autoComplete,s=t.hoisted.currentOptions,l=n.state,c=l.isOpen,u=l.currentPendingValueValidIndexOnHover;if(n._lastKeyDownWasAltOrMeta=Kp(e),o)n._handleInputWhenDisabled(e);else{var d=n._getPendingSelectedIndex(!1);switch(e.which){case E.enter:n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._submitPendingValue(e),n.props.multiSelect&&c?n.setState({currentPendingValueValidIndex:d}):(c||(!r||void 0===n.state.currentPendingValue||null===n.state.currentPendingValue||n.state.currentPendingValue.length<=0)&&n.state.currentPendingValueValidIndex<0)&&n.setState({isOpen:!c});break;case E.tab:return n.props.multiSelect||n._submitPendingValue(e),void(c&&n._setOpenStateAndFocusOnClose(!c,!1));case E.escape:if(n._resetSelectedIndex(),!c)return;n.setState({isOpen:!1});break;case E.up:if(u===_p.clearAll&&(d=n.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(c){n._setOpenStateAndFocusOnClose(!c,!0);break}return}e.preventDefault(),n._setPendingInfoFromIndexAndDirection(d,Cp.backward);break;case E.down:e.altKey||e.metaKey?n._setOpenStateAndFocusOnClose(!0,!0):(u===_p.clearAll&&(d=-1),e.preventDefault(),n._setPendingInfoFromIndexAndDirection(d,Cp.forward));break;case E.home:case E.end:if(r||i)return;d=-1;var p=Cp.forward;e.which===E.end&&(d=s.length,p=Cp.backward),n._setPendingInfoFromIndexAndDirection(d,p);break;case E.space:if(!r&&!i&&"off"===a)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===E.alt||"Meta"===e.key)return;if(!r&&!i&&"on"===a){n._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},n._onInputKeyUp=function(e){var t=n.props,o=t.disabled,r=t.allowFreeform,i=t.allowFreeInput,a=t.autoComplete,s=n.state.isOpen,l=n._lastKeyDownWasAltOrMeta&&Kp(e);n._lastKeyDownWasAltOrMeta=!1;var c=l&&!(Ro()||Fo());if(o)n._handleInputWhenDisabled(e);else switch(e.which){case E.space:return void(r||i||"off"!==a||n._setOpenStateAndFocusOnClose(!s,!!s));default:return void(c&&s?n._setOpenStateAndFocusOnClose(!s,!0):("focusing"===n.state.focusState&&n.props.openOnKeyboardFocus&&n.setState({isOpen:!0}),"focused"!==n.state.focusState&&n.setState({focusState:"focused"})))}},n._onOptionMouseLeave=function(){n._shouldIgnoreMouseEvent()||n.props.persistMenu&&!n.state.isOpen||n.setState({currentPendingValueValidIndexOnHover:_p.clearAll})},n._onComboBoxClick=function(){var e=n.props.disabled,t=n.state.isOpen;e||(n._setOpenStateAndFocusOnClose(!t,!1),n.setState({focusState:"focused"}))},n._onAutofillClick=function(){var e=n.props,t=e.disabled;e.allowFreeform&&!t?n.focus(n.state.isOpen||n._processingTouch):n._onComboBoxClick()},n._onTouchStart=function(){n._comboBoxWrapper.current&&!("onpointerdown"in n._comboBoxWrapper)&&n._handleTouchAndPointerEvent()},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},Ct(n),n._async=new wt(n),n._events=new vo(n),n._id=t.id||bn("ComboBox"),n._isScrollIdle=!0,n._processingTouch=!1,n._gotMouseMove=!1,n._processingClearPendingInfo=!1,n.state={isOpen:!1,focusState:"none",currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:_p.default},n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return Pp(e.currentOptions,e.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._comboBoxWrapper.current&&!this.props.disabled&&(this._events.on(this._comboBoxWrapper.current,"focus",this._onResolveOptions,!0),"onpointerdown"in this._comboBoxWrapper.current&&this._events.on(this._comboBoxWrapper.current,"pointerdown",this._onPointerDown,!0))},t.prototype.componentDidUpdate=function(e,t){var n,o,r,i=this,a=this.props,s=a.allowFreeform,l=a.allowFreeInput,c=a.text,d=a.onMenuOpen,p=a.onMenuDismissed,f=a.hoisted,h=f.currentOptions,m=f.selectedIndices,g=this.state,v=g.currentPendingValue,b=g.currentPendingValueValidIndex,y=g.isOpen;!y||t.isOpen&&t.currentPendingValueValidIndex===b||this._async.setTimeout((function(){return i._scrollIntoView()}),0),this._hasFocus()&&(y||t.isOpen&&!y&&this._focusInputAfterClose&&this._autofill.current&&document.activeElement!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!y||this._hasFocus()&&(!y&&!this.props.multiSelect&&e.hoisted.selectedIndices&&m&&e.hoisted.selectedIndices[0]!==m[0]||!s&&!l||c!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),y&&!t.isOpen&&d&&d(),!y&&t.isOpen&&p&&p();var C=b,_=h.map((function(e,t){return Object(u.a)(Object(u.a)({},e),{index:t})}));!uo(e.hoisted.currentOptions,h)&&v&&(C=this.props.allowFreeform||this.props.allowFreeInput?this._processInputChangeWithFreeform(v):this._updateAutocompleteIndexWithoutFreeform(v));var S=void 0;y&&this._hasFocus()&&-1!==C?S=null!==(n=_[C].id)&&void 0!==n?n:this._id+"-list"+C:y&&m.length&&(S=null!==(r=null===(o=_[m[0]])||void 0===o?void 0:o.id)&&void 0!==r?r:this._id+"-list"+m[0]),S!==this.state.ariaActiveDescendantValue&&this.setState({ariaActiveDescendantValue:S})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this._id+"-error",t=this.props,n=t.className,o=t.disabled,r=t.required,i=t.errorMessage,a=t.onRenderContainer,s=void 0===a?this._onRenderContainer:a,l=t.onRenderLabel,c=void 0===l?this._onRenderLabel:l,p=t.onRenderList,f=void 0===p?this._onRenderList:p,h=t.onRenderItem,m=void 0===h?this._onRenderItem:h,g=t.onRenderOption,v=void 0===g?this._onRenderOptionContent:g,b=t.allowFreeform,y=t.styles,C=t.theme,_=t.persistMenu,S=t.multiSelect,k=t.hoisted,x=k.suggestedDisplayValue,w=k.selectedIndices,I=k.currentOptions,E=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();var O=S?this._getMultiselectDisplayString(w,I,x):void 0,T=fe(this.props,pe,["onChange","value","aria-describedby","aria-labelledby"]),D=!!(i&&i.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(C,!!E,!!o,!!r,!!this._hasFocus(),!!b,!!D,n):Tp(Op(C,y),n,!!E,!!o,!!r,!!this._hasFocus(),!!b,!!D);var P=this._renderComboBoxWrapper(O,e);return d.createElement("div",Object(u.a)({},T,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),c({props:this.props,multiselectAccessibleText:O},this._onRenderLabel),P,(_||E)&&s(Object(u.a)(Object(u.a)({},this.props),{onRenderList:f,onRenderItem:m,onRenderOption:v,options:I.map((function(e,t){return Object(u.a)(Object(u.a)({},e),{index:t})})),onDismiss:this._onDismiss}),this._onRenderContainer),D&&d.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},i))},t.prototype._getPendingString=function(e,t,n){return null!=e?e:zp(t,n)?Up(t[n]):""},t.prototype._getMultiselectDisplayString=function(e,t,n){for(var o=[],r=0;e&&r<e.length;r++){var i=e[r];t[i].itemType!==yp.SelectAll&&o.push(zp(t,i)?t[i].text:Hp(n))}var a=this.props.multiSelectDelimiter,s=void 0===a?", ":a;return o.join(s)},t.prototype._processInputChangeWithFreeform=function(e){var t=this.props.hoisted.currentOptions,n=-1;if(""===e)return 1===(r=t.map((function(e,t){return Object(u.a)(Object(u.a)({},e),{index:t})})).filter((function(t){return Wp(t)&&!t.disabled&&Up(t)===e}))).length&&(n=r[0].index),this._setPendingInfo(e,n,e),n;var o=e;e=e.toLocaleLowerCase();var r,i="";if("on"===this.props.autoComplete){if((r=t.map((function(e,t){return Object(u.a)(Object(u.a)({},e),{index:t})})).filter((function(t){return Wp(t)&&!t.disabled&&0===Up(t).toLocaleLowerCase().indexOf(e)}))).length>0){var a=Up(r[0]);i=a.toLocaleLowerCase()!==e?a:"",n=r[0].index}}else 1===(r=t.map((function(e,t){return Object(u.a)(Object(u.a)({},e),{index:t})})).filter((function(t){return Wp(t)&&!t.disabled&&Up(t).toLocaleLowerCase()===e}))).length&&(n=r[0].index);return this._setPendingInfo(o,n,i),n},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,n=this.state,o=n.currentPendingValue,r=n.currentPendingValueValidIndex;if("on"===this.props.autoComplete&&""!==e){this._autoCompleteTimeout&&(this._async.clearTimeout(this._autoCompleteTimeout),this._autoCompleteTimeout=void 0,e=Hp(o)+e);var i=this._updateAutocompleteIndexWithoutFreeform(e);return this._autoCompleteTimeout=this._async.setTimeout((function(){t._autoCompleteTimeout=void 0}),1e3),i}var a=r>=0?r:this._getFirstSelectedIndex();return this._setPendingInfoFromIndex(a),a},t.prototype._updateAutocompleteIndexWithoutFreeform=function(e){var t=this.props.hoisted.currentOptions,n=e;e=e.toLocaleLowerCase();var o=t.map((function(e,t){return Object(u.a)(Object(u.a)({},e),{index:t})})).filter((function(t){return Wp(t)&&!t.disabled&&0===t.text.toLocaleLowerCase().indexOf(e)}));return o.length>0?(this._setPendingInfo(n,o[0].index,Up(o[0])),o[0].index):-1},t.prototype._getFirstSelectedIndex=function(){var e=this.props.hoisted.selectedIndices;return(null==e?void 0:e.length)?e[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var n=this.props.hoisted.currentOptions,o=e+t;if(!zp(n,o=Math.max(0,Math.min(n.length-1,o))))return-1;var r=n[o];if(!Vp(r)||!0===r.hidden){if(t===Cp.none||!(o>0&&t<Cp.none||o>=0&&o<n.length&&t>Cp.none))return e;o=this._getNextSelectableIndex(o,t)}return o},t.prototype._setSelectedIndex=function(e,t,n){void 0===n&&(n=Cp.none);var o=this.props,r=o.onChange,i=o.onPendingValueChanged,a=o.hoisted,s=a.selectedIndices,l=a.currentOptions,c=s?s.slice():[],d=l.slice();if(zp(l,e=this._getNextSelectableIndex(e,n))){if(this.props.multiSelect||c.length<1||1===c.length&&c[0]!==e){var p=Object(u.a)({},l[e]);if(!p||p.disabled)return;if(this.props.multiSelect)if(p.selected=void 0!==p.selected?!p.selected:c.indexOf(e)<0,p.itemType===yp.SelectAll)c=[],p.selected?l.forEach((function(e,t){!e.disabled&&Vp(e)&&(c.push(t),d[t]=Object(u.a)(Object(u.a)({},e),{selected:!0}))})):d=l.map((function(e){return Object(u.a)(Object(u.a)({},e),{selected:!1})}));else{p.selected&&c.indexOf(e)<0?c.push(e):!p.selected&&c.indexOf(e)>=0&&(c=c.filter((function(t){return t!==e}))),d[e]=p;var f=d.filter((function(e){return e.itemType===yp.SelectAll}))[0];if(f){var h=this._isSelectAllChecked(c),m=d.indexOf(f);h?(c.push(m),d[m]=Object(u.a)(Object(u.a)({},f),{selected:!0})):(c=c.filter((function(e){return e!==m})),d[m]=Object(u.a)(Object(u.a)({},f),{selected:!1}))}}else c[0]=e;t.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(c),this.props.hoisted.setCurrentOptions(d)),this._hasPendingValue&&i&&(i(),this._hasPendingValue=!1),r&&r(t,p,e,Up(p))}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t,n=this.props,o=n.onChange,r=n.allowFreeform,i=n.autoComplete,a=n.multiSelect,s=n.hoisted,l=s.currentOptions,c=this.state,u=c.currentPendingValue,d=c.currentPendingValueValidIndex,p=c.currentPendingValueValidIndexOnHover,f=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(r){if(null==u)return void(p>=0&&(this._setSelectedIndex(p,e),this._clearPendingInfo()));if(zp(l,d)){var h=Up(l[d]).toLocaleLowerCase(),m=this._autofill.current;if(u.toLocaleLowerCase()===h||i&&0===h.indexOf(u.toLocaleLowerCase())&&(null==m?void 0:m.isValueSelected)&&u.length+(m.selectionEnd-m.selectionStart)===h.length||(null===(t=null==m?void 0:m.inputElement)||void 0===t?void 0:t.value.toLocaleLowerCase())===h){if(this._setSelectedIndex(d,e),a&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(o)o&&o(e,void 0,void 0,u);else{var g={key:u||bn(),text:Hp(u)};a&&(g.selected=!0);var v=l.concat([g]);f&&(a||(f=[]),f.push(v.length-1)),s.setCurrentOptions(v),s.setSelectedIndices(f)}}else d>=0?this._setSelectedIndex(d,e):p>=0&&this._setSelectedIndex(p,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t&&t>0?d.createElement("div",{role:"presentation",key:n,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOptionContent:t;return d.createElement("div",{id:e.id,key:e.key,className:this._classNames.header},n(e,this._onRenderOptionContent))},t.prototype._renderCheckboxLabel=function(e){var t=this.props.onRenderOption;return(void 0===t?this._onRenderMultiselectOptionContent:t)(e,this._onRenderMultiselectOptionContent)},t.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==_p.clearAll&&(t>=0?t===e:this._isOptionSelected(e))},t.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){if(this.props.multiSelect&&void 0!==e&&this.props.hoisted.selectedIndices){return this.props.hoisted.selectedIndices.indexOf(e)>=0}return!1},t.prototype._isOptionIndeterminate=function(e){var t=this.props,n=t.multiSelect,o=t.hoisted;if(n&&void 0!==e&&o.selectedIndices&&o.currentOptions){var r=o.currentOptions[e];if(r&&r.itemType===yp.SelectAll)return o.selectedIndices.length>0&&!this._isSelectAllChecked()}return!1},t.prototype._isSelectAllChecked=function(e){var t=this.props,n=t.multiSelect,o=t.hoisted,r=o.currentOptions.find((function(e){return e.itemType===yp.SelectAll})),i=e||o.selectedIndices;if(!n||!i||!r)return!1;var a=o.currentOptions.indexOf(r),s=i.filter((function(e){return e!==a})),l=o.currentOptions.filter((function(e){return!e.disabled&&e.itemType!==yp.SelectAll&&Vp(e)}));return s.length===l.length},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,n=t.currentPendingValueValidIndex,o=t.currentPendingValue;return n>=0||e&&null!=o?n:this.props.multiSelect?-1:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,n=e.scrollSelectedToTop,o=this._getPendingSelectedIndex(!0);if(t)t(o>=0?o:this._getFirstSelectedIndex());else{var r=this._selectedElement.current;if(this.props.multiSelect&&this._comboBoxMenu.current&&(r=function e(t,n){for(var o=Rp(t),r=0;r<o.length;r++){var i=o[r];if(n(i))return i;var a=e(i,n);if(a)return a}return null}(this._comboBoxMenu.current,(function(e){var t;return(null===(t=e.dataset)||void 0===t?void 0:t.index)===o.toString()}))),r&&r.offsetParent){var i=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent,s=r.offsetParent,l=s.offsetHeight,c=s.offsetTop,u=a,d=u.offsetHeight,p=u.scrollTop,f=c+l>p+d;c

0&&t<e.length?this.props.hoisted.setSuggestedDisplayValue(e[t].text):this.props.text&&this.props.hoisted.setSuggestedDisplayValue(this.props.text)},t.prototype._clearPendingInfo=function(){this._processingClearPendingInfo=!0,this.props.hoisted.setSuggestedDisplayValue(void 0),this.setState({currentPendingValue:void 0,currentPendingValueValidIndex:-1,currentPendingValueValidIndexOnHover:_p.default},this._onAfterClearPendingInfo)},t.prototype._setPendingInfo=function(e,t,n){void 0===t&&(t=-1),this._processingClearPendingInfo||(this.props.hoisted.setSuggestedDisplayValue(n),this.setState({currentPendingValue:Hp(e),currentPendingValueValidIndex:t,currentPendingValueValidIndexOnHover:_p.default}))},t.prototype._setPendingInfoFromIndex=function(e){var t=this.props.hoisted.currentOptions;if(e>=0&&e<t.length){var n=t[e];this._setPendingInfo(Up(n),e,Up(n))}else this._clearPendingInfo()},t.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var n=this.props.hoisted.currentOptions;t===Cp.forward&&e>=n.length-1?e=-1:t===Cp.backward&&e<=0&&(e=n.length);var o=this._getNextSelectableIndex(e,t);e===o?t===Cp.forward?e=this._getNextSelectableIndex(-1,t):t===Cp.backward&&(e=this._getNextSelectableIndex(n.length,t)):e=o,zp(n,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var n=this.props.hoisted.currentOptions,o=this.state,r=o.currentPendingValue,i=o.currentPendingValueValidIndex,a=o.currentPendingValueValidIndexOnHover,s=void 0,l=void 0;a!==e.currentPendingValueValidIndexOnHover&&zp(n,a)?s=a:i!==e.currentPendingValueValidIndex&&zp(n,i)?s=i:r!==e.currentPendingValue&&(l=r),(void 0!==s||void 0!==l||this._hasPendingValue)&&(t(void 0!==s?n[s]:void 0,s,l),this._hasPendingValue=void 0!==s||void 0!==l)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},t.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==E.tab&&e.which!==E.escape&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0}),500)},t.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return Ep(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t=this.props.comboBoxOptionStyles,n=e.styles;return Ip(this.props.theme,t,n,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index))},t.prototype._getAriaAutoCompleteValue=function(){return!this.props.disabled&&"on"===this.props.autoComplete?this.props.allowFreeform?"inline":"both":"list"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t=Object(u.b)([ms("ComboBox",["theme","styles"],!0)],t)}(d.Component);function Ap(e,t){if(!e||!t)return[];var n={};e.forEach((function(e,t){e.selected&&(n[t]=!0)}));for(var o=function(t){var o=Nt(e,(function(e){return e.key===t}));o>-1&&(n[o]=!0)},r=0,i=t;r<i.length;r++){o(i[r])}return Object.keys(n).map(Number).sort()}function jp(e){return void 0===e?[]:e instanceof Array?e:[e]}function Hp(e){return e||""}function zp(e,t){return!!e&&t>=0&&t<e.length}function Wp(e){return e.itemType!==yp.Header&&e.itemType!==yp.Divider&&e.itemType!==yp.SelectAll}function Vp(e){return e.itemType!==yp.Header&&e.itemType!==yp.Divider}function Up(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text}function Kp(e){return e.which===E.alt||"Meta"===e.key}var Gp={auto:0,top:1,bottom:2,center:3},qp=function(e){if(void 0===e)return 0;var t=0;return"scrollTop"in e?t=e.scrollTop:"scrollY"in e&&(t=e.scrollY),Math.ceil(t)},Yp=function(e,t){"scrollTop"in e?e.scrollTop=t:"scrollY"in e&&e.scrollTo(e.scrollX,t)},Qp={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},Xp=function(e){return e.getBoundingClientRect()},Zp=Xp,$p=Xp,Jp=function(e){function t(t){var n=e.call(this,t)||this;return n._root=d.createRef(),n._surface=d.createRef(),n._pageRefs={},n._getDerivedStateFromProps=function(e,t){return e.items!==n.props.items||e.renderCount!==n.props.renderCount||e.startIndex!==n.props.startIndex||e.version!==n.props.version||!t.hasMounted&&n.props.renderEarly&&Object(xe.a)()?(n._resetRequiredWindows(),n._requiredRect=null,n._measureVersion++,n._invalidatePageCache(),n._updatePages(e,t)):t},n._onRenderRoot=function(e){var t=e.rootRef,n=e.surfaceElement,o=e.divProps;return d.createElement("div",Object(u.a)({ref:t},o),n)},n._onRenderSurface=function(e){var t=e.surfaceRef,n=e.pageElements,o=e.divProps;return d.createElement("div",Object(u.a)({ref:t},o),n)},n._onRenderPage=function(e,t){for(var o,r=n.props,i=r.onRenderCell,a=r.onRenderCellConditional,s=r.role,l=e.page,c=l.items,p=void 0===c?[]:c,f=l.startIndex,h=Object(u.d)(e,["page"]),m=void 0===s?"listitem":"presentation",g=[],v=0;v<p.length;v++){var b=f+v,y=p[v],C=n.props.getKey?n.props.getKey(y,b):y&&y.key;null==C&&(C=b);var _=null!=a?a:i,S=null!==(o=null==_?void 0:_(y,b,n.props.ignoreScrollingState?void 0:n.state.isScrolling))&&void 0!==o?o:null;a&&!S||g.push(d.createElement("div",{role:m,className:"ms-List-cell",key:C,"data-list-index":b,"data-automationid":"ListCell"},S))}return d.createElement("div",Object(u.a)({},h),g)},Ct(n),n.state={pages:[],isScrolling:!1,getDerivedStateFromProps:n._getDerivedStateFromProps,hasMounted:!1},n._async=new wt(n),n._events=new vo(n),n._estimatedPageHeight=0,n._totalEstimates=0,n._requiredWindowsAhead=0,n._requiredWindowsBehind=0,n._measureVersion=0,n._onAsyncScroll=n._async.debounce(n._onAsyncScroll,100,{leading:!1,maxWait:500}),n._onAsyncIdle=n._async.debounce(n._onAsyncIdle,200,{leading:!1}),n._onAsyncResize=n._async.debounce(n._onAsyncResize,16,{leading:!1}),n._onScrollingDone=n._async.debounce(n._onScrollingDone,500,{leading:!1}),n._cachedPageHeights={},n._estimatedPageHeight=0,n._focusedIndex=-1,n._pageCache={},n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},Object.defineProperty(t.prototype,"pageRefs",{get:function(){return this._pageRefs},enumerable:!1,configurable:!0}),t.prototype.scrollToIndex=function(e,t,n){void 0===n&&(n=Gp.auto);for(var o=this.props.startIndex,r=o+this._getRenderCount(),i=this._allowedRect,a=0,s=1,l=o;l<r;l+=s){var c=this._getPageSpecification(this.props,l,i),u=c.height;if(s=c.itemCount,l<=e&&l+s>e){if(t&&this._scrollElement){for(var d=$p(this._scrollElement),p=qp(this._scrollElement),f={top:p,bottom:p+d.height},h=e-l,m=0;m<h;++m)a+=t(l+m);var g=a+t(e);switch(n){case Gp.top:return void Yp(this._scrollElement,a);case Gp.bottom:return void Yp(this._scrollElement,g-d.height);case Gp.center:return void Yp(this._scrollElement,(a+g-d.height)/2);case Gp.auto:}if(a>=f.top&&g<=f.bottom)return;a<f.top||g>f.bottom&&(a=g-d.height)}return void(this._scrollElement&&Yp(this._scrollElement,a))}a+=u}},t.prototype.getStartItemIndexInView=function(e){for(var t=0,n=this.state.pages||[];t<n.length;t++){var o=n[t];if(!o.isSpacer&&(this._scrollTop||0)>=o.top&&(this._scrollTop||0)<=o.top+o.height){if(!e){var r=Math.floor(o.height/o.itemCount);return o.startIndex+Math.floor((this._scrollTop-o.top)/r)}for(var i=0,a=o.startIndex;a<o.startIndex+o.itemCount;a++){r=e(a);if(o.top+i<=this._scrollTop&&this._scrollTop<o.top+i+r)return a;i+=r}}}return 0},t.prototype.componentDidMount=function(){this._scrollElement=Pn(this._root.current),this._scrollTop=0,this.setState(Object(u.a)(Object(u.a)({},this._updatePages(this.props,this.state)),{hasMounted:!0})),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))},t.prototype.componentDidUpdate=function(e,t){var n=this.props,o=this.state;if(this.state.pagesVersion!==t.pagesVersion){if(n.getPageHeight)this._onAsyncIdle();else this._updatePageMeasurements(o.pages)?(this._materializedRect=null,this._hasCompletedFirstRender?this._onAsyncScroll():(this._hasCompletedFirstRender=!0,this.setState(this._updatePages(n,o)))):this._onAsyncIdle();n.onPagesUpdated&&n.onPagesUpdated(o.pages)}},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose(),delete this._scrollElement},t.prototype.shouldComponentUpdate=function(e,t){var n=this.state.pages,o=t.pages,r=!1;if(!t.isScrolling&&this.state.isScrolling)return!0;if(e.version!==this.props.version)return!0;if(e.className!==this.props.className)return!0;if(e.items===this.props.items&&n.length===o.length)for(var i=0;i<n.length;i++){var a=n[i],s=o[i];if(a.key!==s.key||a.itemCount!==s.itemCount){r=!0;break}}else r=!0;return r},t.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,this.state,!0),this.setState(this._updatePages(this.props,this.state)),this._measureVersion++,e.prototype.forceUpdate.call(this)},t.prototype.getTotalListHeight=function(){return this._surfaceRect.height},t.prototype.render=function(){for(var e=this.props,t=e.className,n=e.role,o=void 0===n?"list":n,r=e.onRenderSurface,i=e.onRenderRoot,a=this.state.pages,s=void 0===a?[]:a,l=[],c=fe(this.props,pe),d=0,p=s;d<p.length;d++){var f=p[d];l.push(this._renderPage(f))}var h=r?Po(r,this._onRenderSurface):this._onRenderSurface;return(i?Po(i,this._onRenderRoot):this._onRenderRoot)({rootRef:this._root,pages:s,surfaceElement:h({surfaceRef:this._surface,pages:s,pageElements:l,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:Object(u.a)(Object(u.a)({},c),{className:Me("ms-List",t),role:l.length>0?o:void 0,"aria-label":l.length>0?c["aria-label"]:void 0})})},t.prototype._shouldVirtualize=function(e){void 0===e&&(e=this.props);var t=e.onShouldVirtualize;return!t||t(e)},t.prototype._invalidatePageCache=function(){this._pageCache={}},t.prototype._renderPage=function(e){var t,n=this,o=this.props.usePageCache;if(o&&(t=this._pageCache[e.key])&&t.pageElement)return t.pageElement;var r=this._getPageStyle(e),i=this.props.onRenderPage,a=(void 0===i?this._onRenderPage:i)({page:e,className:"ms-List-page",key:e.key,ref:function(t){n._pageRefs[e.key]=t},style:r,role:"presentation"},this._onRenderPage);return o&&0===e.startIndex&&(this._pageCache[e.key]={page:e,pageElement:a}),a},t.prototype._getPageStyle=function(e){var t=this.props.getPageStyle;return Object(u.a)(Object(u.a)({},t?t(e):{}),e.items?{}:{height:e.height})},t.prototype._onFocus=function(e){for(var t=e.target;t!==this._surface.current;){var n=t.getAttribute("data-list-index");if(n){this._focusedIndex=Number(n);break}t=qt(t)}},t.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDone()},t.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},t.prototype._onAsyncScroll=function(){var e,t;this._updateRenderRects(this.props,this.state),this._materializedRect&&(e=this._requiredRect,t=this._materializedRect,e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right)||this.setState(this._updatePages(this.props,this.state))},t.prototype._onAsyncIdle=function(){var e=this.props,t=e.renderedWindowsAhead,n=e.renderedWindowsBehind,o=this._requiredWindowsAhead,r=this._requiredWindowsBehind,i=Math.min(t,o+1),a=Math.min(n,r+1);i===o&&a===r||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=a,this._updateRenderRects(this.props,this.state),this.setState(this._updatePages(this.props,this.state))),(t>i||n>a)&&this._onAsyncIdle()},t.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||this.setState({isScrolling:!1})},t.prototype._onAsyncResize=function(){this.forceUpdate()},t.prototype._updatePages=function(e,t){this._requiredRect||this._updateRenderRects(e,t);var n=this._buildPages(e,t),o=t.pages;return this._notifyPageChanges(o,n.pages,this.props),Object(u.a)(Object(u.a)(Object(u.a)({},t),n),{pagesVersion:{}})},t.prototype._notifyPageChanges=function(e,t,n){var o=n.onPageAdded,r=n.onPageRemoved;if(o||r){for(var i={},a=0,s=e;a<s.length;a++){(u=s[a]).items&&(i[u.startIndex]=u)}for(var l=0,c=t;l<c.length;l++){var u;(u=c[l]).items&&(i[u.startIndex]?delete i[u.startIndex]:this._onPageAdded(u))}for(var d in i)i.hasOwnProperty(d)&&this._onPageRemoved(i[d])}},t.prototype._updatePageMeasurements=function(e){var t=!1;if(!this._shouldVirtualize())return t;for(var n=0;n<e.length;n++){var o=e[n];o.items&&(t=this._measurePage(o)||t)}return t},t.prototype._measurePage=function(e){var t=!1,n=this._pageRefs[e.key],o=this._cachedPageHeights[e.startIndex];if(n&&this._shouldVirtualize()&&(!o||o.measureVersion!==this._measureVersion)){var r={width:n.clientWidth,height:n.clientHeight};(r.height||r.width)&&(t=e.height!==r.height,e.height=r.height,this._cachedPageHeights[e.startIndex]={height:r.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+r.height)/(this._totalEstimates+1)),this._totalEstimates++)}return t},t.prototype._onPageAdded=function(e){var t=this.props.onPageAdded;t&&t(e)},t.prototype._onPageRemoved=function(e){var t=this.props.onPageRemoved;t&&t(e)},t.prototype._buildPages=function(e,t){var n=e.renderCount,o=e.items,r=e.startIndex,i=e.getPageHeight;n=this._getRenderCount(e);for(var a=Object(u.a)({},Qp),s=[],l=1,c=0,d=null,p=this._focusedIndex,f=r+n,h=this._shouldVirtualize(e),m=0===this._estimatedPageHeight&&!i,g=this._allowedRect,v=function(n){var i=b._getPageSpecification(e,n,g),u=i.height,v=i.data,y=i.key;l=i.itemCount;var C,_,S=c+u-1,k=Nt(t.pages,(function(e){return!!e.items&&e.startIndex===n}))>-1,x=!g||S>=g.top&&c<=g.bottom,w=!b._requiredRect||S>=b._requiredRect.top&&c<=b._requiredRect.bottom;if(!m&&(w||x&&k)||!h||p>=n&&p<n+l||n===r){d&&(s.push(d),d=null);var I=Math.min(l,f-n),E=b._createPage(y,o.slice(n,n+I),n,void 0,void 0,v);E.top=c,E.height=u,b._visibleRect&&b._visibleRect.bottom&&(E.isVisible=S>=b._visibleRect.top&&c<=b._visibleRect.bottom),s.push(E),w&&b._allowedRect&&(C=a,_={top:c,bottom:S,height:u,left:g.left,right:g.right,width:g.width},C.top=_.top<C.top||-1===C.top?_.top:C.top,C.left=_.left<C.left||-1===C.left?_.left:C.left,C.bottom=_.bottom>C.bottom||-1===C.bottom?_.bottom:C.bottom,C.right=_.right>C.right||-1===C.right?_.right:C.right,C.width=C.right-C.left+1,C.height=C.bottom-C.top+1)}else d||(d=b._createPage("spacer-"+n,void 0,n,0,void 0,v,!0)),d.height=(d.height||0)+(S-c)+1,d.itemCount+=l;if(c+=S-c+1,m&&h)return"break"},b=this,y=r;y<f;y+=l){if("break"===v(y))break}return d&&(d.key="spacer-end",s.push(d)),this._materializedRect=a,Object(u.a)(Object(u.a)({},t),{pages:s,measureVersion:this._measureVersion})},t.prototype._getPageSpecification=function(e,t,n){var o=e.getPageSpecification;if(o){var r=o(t,n),i=r.itemCount,a=void 0===i?this._getItemCountForPage(t,n):i,s=r.height;return{itemCount:a,height:void 0===s?this._getPageHeight(t,n,a):s,data:r.data,key:r.key}}return{itemCount:a=this._getItemCountForPage(t,n),height:this._getPageHeight(t,n,a)}},t.prototype._getPageHeight=function(e,t,n){if(this.props.getPageHeight)return this.props.getPageHeight(e,t,n);var o=this._cachedPageHeights[e];return o?o.height:this._estimatedPageHeight||30},t.prototype._getItemCountForPage=function(e,t){var n=this.props.getItemCountForPage?this.props.getItemCountForPage(e,t):10;return n||10},t.prototype._createPage=function(e,t,n,o,r,i,a){void 0===n&&(n=-1),void 0===o&&(o=t?t.length:0),void 0===r&&(r={}),e=e||"page-"+n;var s=this._pageCache[e];return s&&s.page?s.page:{key:e,startIndex:n,itemCount:o,items:t,style:r,top:0,height:0,data:i,isSpacer:a||!1}},t.prototype._getRenderCount=function(e){var t=e||this.props,n=t.items,o=t.startIndex,r=t.renderCount;return void 0===r?n?n.length-o:0:r},t.prototype._updateRenderRects=function(e,t,n){var o=e.renderedWindowsAhead,r=e.renderedWindowsBehind,i=t.pages;if(this._shouldVirtualize(e)){var a=this._surfaceRect||Object(u.a)({},Qp),s=function(e){if(void 0===e)return 0;var t=0;return"scrollHeight"in e?t=e.scrollHeight:"document"in e&&(t=e.document.documentElement.scrollHeight),t}(this._scrollElement),l=qp(this._scrollElement);this._surface.current&&(n||!i||!this._surfaceRect||!s||s!==this._scrollHeight||Math.abs(this._scrollTop-l)>this._estimatedPageHeight/3)&&(a=this._surfaceRect=Zp(this._surface.current),this._scrollTop=l),!n&&s&&s===this._scrollHeight||this._measureVersion++,this._scrollHeight=s||0;var c=Math.max(0,-a.top),d=Object(N.a)(this._root.current),p={top:c,left:a.left,bottom:c+d.innerHeight,right:a.right,width:a.width,height:d.innerHeight};this._requiredRect=ef(p,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=ef(p,r,o),this._visibleRect=p}},t.defaultProps={startIndex:0,onRenderCell:function(e,t,n){return d.createElement(d.Fragment,null,e&&e.name||"")},onRenderCellConditional:void 0,renderedWindowsAhead:2,renderedWindowsBehind:2},t}(d.Component);function ef(e,t,n){var o=e.top-t*e.height,r=e.height+(t+n)*e.height;return{top:o,bottom:o+r,height:r,left:e.left,right:e.right,width:e.width}}var tf=function(e){function t(t){var n=e.call(this,t)||this;return n._comboBox=d.createRef(),n._list=d.createRef(),n._onRenderList=function(e){var t=e.id,o=e.onRenderItem;return d.createElement(Jp,{componentRef:n._list,role:"listbox",id:"".concat(t,"-list"),"aria-labelledby":"".concat(t,"-label"),items:e.options,onRenderCell:o?function(e){return o(e)}:function(){return null}})},n._onScrollToItem=function(e){n._list.current&&n._list.current.scrollToIndex(e)},Ct(n),n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){return this._comboBox.current?this._comboBox.current.selectedOptions:[]},enumerable:!1,configurable:!0}),t.prototype.dismissMenu=function(){if(this._comboBox.current)return this._comboBox.current.dismissMenu()},t.prototype.focus=function(e,t){return!!this._comboBox.current&&(this._comboBox.current.focus(e,t),!0)},t.prototype.render=function(){return d.createElement(Bp,Object(u.a)({},this.props,{componentRef:this._comboBox,onRenderList:this._onRenderList,onScrollToItem:this._onScrollToItem}))},t}(d.Component),nf=function(e,t,n){for(var o=0,r=e;o<r.length;o++){var i=r[o];n[t.register(i,!0)]=i}},of=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];e.unregister(t[r],r,!0),delete t[r]}},rf=function(e){var t=da.getInstance(),n=e.className,o=e.overflowItems,r=e.keytipSequences,i=e.itemSubMenuProvider,a=e.onRenderOverflowButton,s=jr({}),l=d.useCallback((function(e){return i?i(e):e.subMenuProps?e.subMenuProps.items:void 0}),[i]),c=d.useMemo((function(){var e=[],n=[];return r?null==o||o.forEach((function(o){var i,a=o.keytipProps;if(a){var s={content:a.content,keySequences:a.keySequences,disabled:a.disabled||!(!o.disabled&&!o.isDisabled),hasDynamicChildren:a.hasDynamicChildren,hasMenu:a.hasMenu};a.hasDynamicChildren||l(o)?(s.onExecute=t.menuExecute.bind(t,r,null===(i=null==o?void 0:o.keytipProps)||void 0===i?void 0:i.keySequences),s.hasOverflowSubMenu=!0):s.onExecute=a.onExecute,e.push(s);var c=Object(u.a)(Object(u.a)({},o),{keytipProps:Object(u.a)(Object(u.a)({},a),{overflowSetSequence:r})});null==n||n.push(c)}else null==n||n.push(o)})):n=o,{modifiedOverflowItems:n,keytipsToRegister:e}}),[o,l,t,r]),p=c.modifiedOverflowItems;return function(e,t,n){var o=ua(e);d.useEffect((function(){o&&(of(n,o),nf(t,n,e))})),d.useEffect((function(){return nf(t,n,e),function(){of(n,e)}}),[])}(s,c.keytipsToRegister,t),d.createElement("div",{className:n},a(p))},af=L(),sf=d.forwardRef((function(e,t){var n=d.useRef(null),o=Ie(n,t);!function(e,t){d.useImperativeHandle(e.componentRef,(function(){return{focus:function(e,n){var o=!1;return t.current&&(o=tn(t.current,n)),o},focusElement:function(e){var n=!1;return!!e&&(t.current&&Xt(t.current,e)&&(e.focus(),n=document.activeElement===e),n)}}}),[t])}(e,n);var r=e.items,i=e.overflowItems,a=e.className,s=e.styles,l=e.vertical,c=e.role,p=e.overflowSide,f=void 0===p?"end":p,h=e.onRenderItem,m=af(s,{className:a,vertical:l}),g=!!i&&i.length>0;return d.createElement("div",Object(u.a)({},fe(e,pe),{role:c||"group","aria-orientation":"menubar"===c?!0===l?"vertical":"horizontal":void 0,className:m.root,ref:o}),"start"===f&&g&&d.createElement(rf,Object(u.a)({},e,{className:m.overflowButton})),r&&r.map((function(e,t){return d.createElement("div",{className:m.item,key:e.key,role:"none"},h(e))})),"end"===f&&g&&d.createElement(rf,Object(u.a)({},e,{className:m.overflowButton})))}));sf.displayName="OverflowSet";var lf={flexShrink:0,display:"inherit"},cf=k(sf,(function(e){var t=e.className;return{root:["ms-OverflowSet",{position:"relative",display:"flex",flexWrap:"nowrap"},e.vertical&&{flexDirection:"column"},t],item:["ms-OverflowSet-item",lf],overflowButton:["ms-OverflowSet-overflowButton",lf]}}),void 0,{scope:"OverflowSet"}),uf=function(e){var t=e.className,n=e.theme,o=n.semanticColors;return{root:[n.fonts.medium,"ms-CommandBar",{display:"flex",backgroundColor:o.bodyBackground,padding:"0 14px 0 24px",height:44},t],primarySet:["ms-CommandBar-primaryCommand",{flexGrow:"1",display:"flex",alignItems:"stretch"}],secondarySet:["ms-CommandBar-secondaryCommand",{flexShrink:"0",display:"flex",alignItems:"stretch"}]}},df=Object(f.c)((function(e){var t={height:"100%"},n={whiteSpace:"nowrap"},o=e||{},r=o.root,i=o.label,a=Object(u.d)(o,["root","label"]);return Object(u.a)(Object(u.a)({},a),{root:r?[t,r]:t,label:i?[n,i]:n})})),pf=L(),ff=function(e){function t(t){var n=e.call(this,t)||this;return n._overflowSet=d.createRef(),n._resizeGroup=d.createRef(),n._onRenderData=function(e){var t=n.props,o=t.ariaLabel,r=t.primaryGroupAriaLabel,i=t.farItemsGroupAriaLabel,a=e.farItems&&e.farItems.length>0;return d.createElement(zn,{className:Me(n._classNames.root),direction:Ot.horizontal,role:"menubar","aria-label":o},d.createElement(cf,{role:a?"group":"none","aria-label":a?r:void 0,componentRef:n._overflowSet,className:Me(n._classNames.primarySet),items:e.primaryItems,overflowItems:e.overflowItems.length?e.overflowItems:void 0,onRenderItem:n._onRenderItem,onRenderOverflowButton:n._onRenderOverflowButton}),a&&d.createElement(cf,{role:"group","aria-label":i,className:Me(n._classNames.secondarySet),items:e.farItems,onRenderItem:n._onRenderItem,onRenderOverflowButton:xo}))},n._onRenderItem=function(e){if(e.onRender)return e.onRender(e,(function(){}));var t=e.text||e.name,o=Object(u.a)(Object(u.a)({allowDisabledFocus:!0,role:"menuitem"},e),{styles:df(e.buttonStyles),className:Me("ms-CommandBarItem-link",e.className),text:e.iconOnly?void 0:t,menuProps:e.subMenuProps,onClick:n._onButtonClick(e)});return e.iconOnly&&(void 0!==t||e.tooltipHostProps)?d.createElement(Us,Object(u.a)({role:"none",content:t,setAriaDescribedBy:!1},e.tooltipHostProps),n._commandButton(e,o)):n._commandButton(e,o)},n._commandButton=function(e,t){var o=n.props.buttonAs,r=e.commandBarButtonAs,i=hl;return r&&(i=ps(r,i)),o&&(i=ps(o,i)),d.createElement(i,Object(u.a)({},t))},n._onRenderOverflowButton=function(e){var t=n.props.overflowButtonProps,o=void 0===t?{}:t,r=Object(u.e)(Object(u.e)([],o.menuProps?o.menuProps.items:[],!0),e,!0),i=Object(u.a)(Object(u.a)({role:"menuitem"},o),{styles:Object(u.a)({menuIcon:{fontSize:"17px"}},o.styles),className:Me("ms-CommandBar-overflowButton",o.className),menuProps:Object(u.a)(Object(u.a)({},o.menuProps),{items:r}),menuIconProps:Object(u.a)({iconName:"More"},o.menuIconProps)}),a=n.props.overflowButtonAs?ps(n.props.overflowButtonAs,hl):hl;return d.createElement(a,Object(u.a)({},i))},n._onReduceData=function(e){var t=n.props,o=t.shiftOnReduce,r=t.onDataReduced,i=e.primaryItems,a=e.overflowItems,s=e.cacheKey,l=e.farItems,c=i[o?0:i.length-1];if(void 0!==c){c.renderedInOverflow=!0,a=Object(u.e)([c],a,!0),i=o?i.slice(1):i.slice(0,-1);var d=Object(u.a)(Object(u.a)({},e),{primaryItems:i,overflowItems:a});return s=n._computeCacheKey({primaryItems:i,overflow:a.length>0,farItems:l}),r&&r(c),d.cacheKey=s,d}},n._onGrowData=function(e){var t=n.props,o=t.shiftOnReduce,r=t.onDataGrown,i=e.minimumOverflowItems,a=e.primaryItems,s=e.overflowItems,l=e.cacheKey,c=e.farItems,d=s[0];if(void 0!==d&&s.length>i){d.renderedInOverflow=!1,s=s.slice(1),a=o?Object(u.e)([d],a,!0):Object(u.e)(Object(u.e)([],a,!0),[d],!1);var p=Object(u.a)(Object(u.a)({},e),{primaryItems:a,overflowItems:s});return l=n._computeCacheKey({primaryItems:a,overflow:s.length>0,farItems:c}),r&&r(d),p.cacheKey=l,p}},Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.items,n=e.overflowItems,o=e.farItems,r=e.styles,i=e.theme,a=e.dataDidRender,s=e.onReduceData,l=void 0===s?this._onReduceData:s,c=e.onGrowData,p=void 0===c?this._onGrowData:c,f=e.resizeGroupAs,h=void 0===f?Ms:f,m={primaryItems:Object(u.e)([],t,!0),overflowItems:Object(u.e)([],n,!0),minimumOverflowItems:Object(u.e)([],n,!0).length,farItems:o,cacheKey:this._computeCacheKey({primaryItems:Object(u.e)([],t,!0),overflow:n&&n.length>0,farItems:o})};this._classNames=pf(r,{theme:i});var g=fe(this.props,pe);return d.createElement(h,Object(u.a)({},g,{componentRef:this._resizeGroup,data:m,onReduceData:l,onGrowData:p,onRenderData:this._onRenderData,dataDidRender:a}))},t.prototype.focus=function(){var e=this._overflowSet.current;e&&e.focus()},t.prototype.remeasure=function(){this._resizeGroup.current&&this._resizeGroup.current.remeasure()},t.prototype._onButtonClick=function(e){return function(t){e.inactive||e.onClick&&e.onClick(t,e)}},t.prototype._computeCacheKey=function(e){var t=e.primaryItems,n=e.overflow,o=e.farItems,r=function(e,t){var n=t.cacheKey;return e+(void 0===n?t.key:n)};return[t&&t.reduce(r,""),n?"overflow":"",o&&o.reduce(r,"")].join("")},t.defaultProps={items:[],overflowItems:[]},t}(d.Component),hf=k(ff,uf,void 0,{scope:"CommandBar"}),mf=Object(u.a)(Object(u.a)({},kc),{prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",closeButtonAriaLabel:"Close date picker",isRequiredErrorMessage:"Field is required",invalidInputErrorMessage:"Invalid date format",isResetStatusMessage:'Invalid entry "{0}", date reset to "{1}"'}),gf=L(),vf={allowTextInput:!1,formatDate:function(e){return e?e.toDateString():""},parseDateFromString:function(e){e.match(/^\d{4}(-\d{2}){2}$/)&&(e+="T12:00");var t=Date.parse(e);return t?new Date(t):null},firstDayOfWeek:_l.Sunday,initialPickerDate:new Date,isRequired:!1,isMonthPickerVisible:!0,showMonthPickerAsOverlay:!1,strings:mf,highlightCurrentMonth:!1,highlightSelectedMonth:!1,borderless:!1,pickerAriaLabel:"Calendar",showWeekNumbers:!1,firstWeekOfYear:kl.FirstDay,showGoToToday:!0,showCloseButton:!1,underlined:!1,allFocusable:!1};var bf=d.forwardRef((function(e,t){var n,o,r=H(vf,e),i=r.firstDayOfWeek,a=r.strings,s=r.label,l=r.theme,c=r.className,p=r.styles,f=r.initialPickerDate,h=r.isRequired,m=r.disabled,g=r.ariaLabel,v=r.pickerAriaLabel,b=r.placeholder,y=r.allowTextInput,C=r.borderless,_=r.minDate,S=r.maxDate,k=r.showCloseButton,x=r.calendarProps,w=r.calloutProps,I=r.textField,O=r.underlined,T=r.allFocusable,D=r.calendarAs,P=void 0===D?Xc:D,R=r.tabIndex,M=r.disableAutoFocus,N=void 0===M||M,F=wa("DatePicker",r.id),B=wa("DatePicker-Callout"),L=d.useRef(null),A=d.useRef(null),j=function(){var e=d.useRef(null),t=d.useRef(!1);return[e,function(){var t,n;null===(n=null===(t=e.current)||void 0===t?void 0:t.focus)||void 0===n||n.call(t)},t,function(){t.current=!0}]}(),z=j[0],W=j[1],V=j[2],U=j[3],K=function(e,t){var n=e.allowTextInput,o=e.onAfterMenuDismiss,r=d.useState(!1),i=r[0],a=r[1],s=d.useRef(!1),l=Dr();return d.useEffect((function(){s.current&&!i&&(n&&l.requestAnimationFrame(t),null==o||o()),s.current=!0}),[i]),[i,a]}(r,W),G=K[0],q=K[1],Y=function(e){var t=e.formatDate,n=e.value,o=e.onSelectDate,r=Uc(n,void 0,(function(e,t){return null==o?void 0:o(t)})),i=r[0],a=r[1],s=d.useState((function(){return n&&t?t(n):""})),l=s[0],c=s[1];return d.useEffect((function(){c(n&&t?t(n):"")}),[t,n]),[i,l,function(e){a(e),c(e&&t?t(e):"")},c]}(r),Q=Y[0],X=Y[1],Z=Y[2],$=Y[3],J=function(e,t,n,o,r){var i,a=e.isRequired,s=e.allowTextInput,l=e.strings,c=e.parseDateFromString,u=e.onSelectDate,p=e.formatDate,f=e.minDate,h=e.maxDate,m=e.textField,g=d.useState(),v=g[0],b=g[1],y=d.useState(),C=y[0],_=y[1],S=d.useRef(!0),k=null===(i=null==m?void 0:m.validateOnLoad)||void 0===i||i;return d.useEffect((function(){S.current&&(S.current=!1,!k)||(a&&!t?b(l.isRequiredErrorMessage||" "):t&&yf(t,f,h)?b(l.isOutOfBoundsErrorMessage||" "):b(void 0))}),[f&&Yl(f),h&&Yl(h),t&&Yl(t),a,k]),[r?void 0:v,function(e){if(void 0===e&&(e=null),s)if(o||e){if(t&&!v&&p&&p(null!=e?e:t)===o)return;if(!(e=e||c(o))||isNaN(e.getTime())){n(t);var r=p?p(t):"",i=l.isResetStatusMessage?ec(l.isResetStatusMessage,o,r):l.invalidInputErrorMessage||"";_(i)}else yf(e,f,h)?b(l.isOutOfBoundsErrorMessage||" "):(n(e),b(void 0),_(void 0))}else b(a?l.isRequiredErrorMessage||" ":void 0),null==u||u(e);else a&&!o?b(l.isRequiredErrorMessage||" "):(b(void 0),_(void 0))},b,r?void 0:C,_]}(r,Q,Z,X,G),ee=J[0],te=J[1],ne=J[2],oe=J[3],re=J[4],ie=d.useCallback((function(){G||(U(),q(!0))}),[G,U,q]);d.useImperativeHandle(r.componentRef,(function(){return{focus:W,reset:function(){q(!1),Z(void 0),ne(void 0),re(void 0)},showDatePickerPopup:ie}}),[W,ne,q,Z,re,ie]);var ae=function(e){G&&(q(!1),te(e),!y&&e&&Z(e))},se=function(e){U(),ae(e)},le=function(e){G&&(e.stopPropagation(),se())},ce=gf(p,{theme:l,className:c,disabled:m,underlined:O,label:!!s,isDatePickerShown:G}),ue=fe(r,pe,["value"]),de=I&&I.iconProps,he=I&&I.id&&I.id!==F?I.id:F+"-label",me=!y&&!m,ge=null===(o=null!==(n=null==I?void 0:I["data-is-focusable"])&&void 0!==n?n:r["data-is-focusable"])||void 0===o||o;return d.createElement("div",Object(u.a)({},ue,{className:ce.root,ref:t}),d.createElement("div",{ref:A,"aria-owns":G?B:void 0,className:ce.wrapper},d.createElement(np,Object(u.a)({role:"combobox",label:s,"aria-expanded":G,ariaLabel:g,"aria-haspopup":"dialog","aria-controls":G?B:void 0,required:h,disabled:m,errorMessage:ee,placeholder:b,borderless:C,value:X,componentRef:z,underlined:O,tabIndex:R,readOnly:!y},I,{"data-is-focusable":ge,id:he,className:Me(ce.textField,I&&I.className),iconProps:Object(u.a)(Object(u.a)({iconName:"Calendar"},de),{className:Me(ce.icon,de&&de.className),onClick:function(e){e.stopPropagation(),G||r.disabled?r.allowTextInput&&ae():ie()}}),onRenderDescription:function(e,t){return d.createElement(d.Fragment,null,e.description?t(e):null,d.createElement("div",{"aria-live":"assertive",className:ce.statusMessage},oe))},onKeyDown:function(e){switch(e.which){case E.enter:e.preventDefault(),e.stopPropagation(),G?r.allowTextInput&&ae():(te(),ie());break;case E.escape:le(e);break;case E.down:e.altKey&&!G&&ie()}},onFocus:function(){N||y||(V.current||ie(),V.current=!1)},onBlur:function(e){te()},onClick:function(e){!(r.openOnClick||!r.disableAutoFocus)||G||r.disabled?r.allowTextInput&&ae():ie()},onChange:function(e,t){var n,o=r.textField;y&&(G&&ae(),$(t)),null===(n=null==o?void 0:o.onChange)||void 0===n||n.call(o,e,t)},onRenderInput:me?function(e){var t=fe(e,pe);return d.createElement("div",Object(u.a)({},t,{className:Me(t.className,ce.readOnlyTextField),tabIndex:R||0}),X||d.createElement("span",{className:ce.readOnlyPlaceholder},b))}:void 0}))),G&&d.createElement(Li,Object(u.a)({id:B,role:"dialog",ariaLabel:v,isBeakVisible:!1,gapSpace:0,doNotLayer:!1,target:A.current,directionalHint:Eo.bottomLeftEdge},w,{className:Me(ce.callout,w&&w.className),onDismiss:function(e){se()},onPositioned:function(){var e=!0;r.calloutProps&&void 0!==r.calloutProps.setInitialFocus&&(e=r.calloutProps.setInitialFocus),L.current&&e&&L.current.focus()}}),d.createElement(eu,{isClickableOutsideFocusTrap:!0,disableFirstFocus:N},d.createElement(P,Object(u.a)({},x,{onSelectDate:function(e){r.calendarProps&&r.calendarProps.onSelectDate&&r.calendarProps.onSelectDate(e),se(e)},onDismiss:function(e){se()},isMonthPickerVisible:r.isMonthPickerVisible,showMonthPickerAsOverlay:r.showMonthPickerAsOverlay,today:r.today,value:Q||f,firstDayOfWeek:i,strings:a,highlightCurrentMonth:r.highlightCurrentMonth,highlightSelectedMonth:r.highlightSelectedMonth,showWeekNumbers:r.showWeekNumbers,firstWeekOfYear:r.firstWeekOfYear,showGoToToday:r.showGoToToday,dateTimeFormatter:r.dateTimeFormatter,minDate:_,maxDate:S,componentRef:L,showCloseButton:k,allFocusable:T})))))}));function yf(e,t,n){return!!t&&Hl(t,e)>0||!!n&&Hl(n,e)<0}bf.displayName="DatePickerBase";var Cf,_f,Sf,kf,xf,wf,If={root:"ms-DatePicker",callout:"ms-DatePicker-callout",withLabel:"ms-DatePicker-event--with-label",withoutLabel:"ms-DatePicker-event--without-label",disabled:"msDatePickerDisabled "},Ef=k(bf,(function(e){var t,n=e.className,o=e.theme,r=e.disabled,i=e.underlined,a=e.label,s=e.isDatePickerShown,l=o.palette,c=o.semanticColors,u=o.fonts,d=Object(p.R)(If,o),f={color:l.neutralSecondary,fontSize:p.k.icon,lineHeight:"18px",pointerEvents:"none",position:"absolute",right:"4px",padding:"5px"};return{root:[d.root,o.fonts.large,s&&"is-open",p.gb,n],textField:[{position:"relative",selectors:{"& input[readonly]":{cursor:"pointer"},input:{selectors:{"::-ms-clear":{display:"none"}}}}},r&&{selectors:{"& input[readonly]":{cursor:"default"}}}],callout:[d.callout],icon:[f,a?d.withLabel:d.withoutLabel,{paddingTop:"7px"},!r&&[d.disabled,{pointerEvents:"initial",cursor:"pointer"}],r&&{color:c.disabledText,cursor:"default"}],statusMessage:[u.small,{color:c.errorText,marginTop:5}],readOnlyTextField:[{cursor:"pointer",height:32,lineHeight:30,overflow:"hidden",textOverflow:"ellipsis"},i&&{lineHeight:34}],readOnlyPlaceholder:(t={color:c.inputPlaceholderText},t[p.m]={color:"GrayText"},t)}}),void 0,{scope:"DatePicker"}),Of={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"},Tf={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},Df={rowHeight:42,compactRowHeight:32},Pf=Object(u.a)(Object(u.a)({},Df),{rowVerticalPadding:11,compactRowVerticalPadding:6}),Rf=function(e){var t,n,o,r,i,a,s,l,c,d,f,h,m,g,v=e.theme,b=e.isSelected,y=e.canSelect,C=e.droppingClassName,_=e.isCheckVisible,S=e.checkboxCellClassName,k=e.compact,x=e.className,w=e.cellStyleProps,I=void 0===w?Tf:w,E=e.enableUpdateAnimations,O=e.disabled,T=v.palette,D=v.fonts,P=T.neutralPrimary,R=T.white,M=T.neutralSecondary,N=T.neutralLighter,F=T.neutralLight,B=T.neutralDark,L=T.neutralQuaternaryAlt,A=v.semanticColors,j=A.focusBorder,H=A.linkHovered,z=Object(p.R)(Of,v),W={defaultHeaderText:P,defaultMetaText:M,defaultBackground:R,defaultHoverHeaderText:B,defaultHoverMetaText:P,defaultHoverBackground:N,selectedHeaderText:B,selectedMetaText:P,selectedBackground:F,selectedHoverHeaderText:B,selectedHoverMetaText:P,selectedHoverBackground:L,focusHeaderText:B,focusMetaText:P,focusBackground:F,focusHoverBackground:L},V=[Object(p.Q)(v,{inset:-1,borderColor:j,outlineColor:R,highContrastStyle:{top:2,right:2,bottom:2,left:2}}),z.isSelected,{color:W.selectedMetaText,background:W.selectedBackground,borderBottom:"1px solid ".concat(R),selectors:(t={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid ".concat(R)}},t[".".concat(z.cell," > .").concat(lo.root)]={color:H,selectors:(n={},n[p.m]={color:"HighlightText"},n)},t["&:hover"]={background:W.selectedHoverBackground,color:W.selectedHoverMetaText,selectors:(o={},o[p.m]={background:"Highlight",selectors:(r={},r[".".concat(z.cell)]={color:"HighlightText"},r[".".concat(z.cell," > .").concat(lo.root)]={forcedColorAdjust:"none",color:"HighlightText"},r)},o[".".concat(z.isRowHeader)]={color:W.selectedHoverHeaderText,selectors:(i={},i[p.m]={color:"HighlightText"},i)},o)},t["&:focus"]={background:W.focusBackground,selectors:(a={},a[".".concat(z.cell)]={color:W.focusMetaText,selectors:(s={},s[p.m]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},s)},a[".".concat(z.isRowHeader)]={color:W.focusHeaderText,selectors:(l={},l[p.m]={color:"HighlightText"},l)},a[p.m]={background:"Highlight"},a)},t[p.m]=Object(u.a)(Object(u.a)({background:"Highlight",color:"HighlightText"},Object(p.S)()),{selectors:{a:{color:"HighlightText"}}}),t["&:focus:hover"]={background:W.focusHoverBackground},t)}],U=[z.isContentUnselectable,{userSelect:"none",cursor:"default"}],K={minHeight:Pf.compactRowHeight,border:0},G={minHeight:Pf.compactRowHeight,paddingTop:Pf.compactRowVerticalPadding,paddingBottom:Pf.compactRowVerticalPadding,paddingLeft:"".concat(I.cellLeftPadding,"px")},q=[Object(p.Q)(v,{inset:-1}),z.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:Pf.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:Pf.rowVerticalPadding,paddingBottom:Pf.rowVerticalPadding,paddingLeft:"".concat(I.cellLeftPadding,"px"),selectors:(c={"& > button":{maxWidth:"100%"}},c["[data-is-focusable='true']"]=Object(p.Q)(v,{inset:-1,borderColor:M,outlineColor:R}),c)},b&&{selectors:(d={},d[p.m]=Object(u.a)({background:"Highlight",color:"HighlightText"},Object(p.S)()),d)},k&&G,O&&{opacity:.5}];return{root:[z.root,p.a.fadeIn400,C,v.fonts.small,_&&z.isCheckVisible,Object(p.Q)(v,{borderColor:j,outlineColor:R}),{borderBottom:"1px solid ".concat(N),background:W.defaultBackground,color:W.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:Pf.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(f={},f[".".concat(z.listCellFirstChild," &:before")]={display:"none"},f["&:hover"]={background:W.defaultHoverBackground,color:W.defaultHoverMetaText,selectors:(h={},h[".".concat(z.isRowHeader)]={color:W.defaultHoverHeaderText},h[".".concat(z.cell," > .").concat(lo.root)]={color:H},h)},f["&:hover .".concat(z.check)]={opacity:1},f[".".concat(Gn.a," &:focus .").concat(z.check)]={opacity:1},f[".ms-GroupSpacer"]={flexShrink:0,flexGrow:0},f)},b&&V,!y&&U,k&&K,x],cellUnpadded:{paddingRight:"".concat(I.cellRightPadding,"px")},cellPadded:{paddingRight:"".concat(I.cellExtraRightPadding+I.cellRightPadding,"px"),selectors:(m={},m["&.".concat(z.cellCheck)]={paddingRight:0},m)},cell:q,cellAnimation:E&&p.b.slideLeftIn40,cellMeasurer:[z.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[q,z.cellCheck,S,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],fields:[z.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[z.isRowHeader,{color:W.defaultHeaderText,fontSize:D.medium.fontSize},b&&{color:W.selectedHeaderText,fontWeight:p.l.semibold,selectors:(g={},g[p.m]={color:"HighlightText"},g)}],isMultiline:[q,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[z.check]}},Mf=function(e){var t=e.count,n=e.indentWidth,o=void 0===n?36:n,r=e.role,i=void 0===r?"presentation":r,a=t*o;return t>0?d.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:a},role:i}):null},Nf={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"},Ff=42,Bf=function(e){var t=e.theme,n=e.cellStyleProps,o=void 0===n?Tf:n,r=t.semanticColors;return[Object(p.R)(Nf,t).cell,Object(p.Q)(t),{color:r.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 ".concat(o.cellRightPadding,"px 0 ").concat(o.cellLeftPadding,"px"),lineHeight:"inherit",margin:"0",height:Ff,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},Lf=function(e){var t,n,o,r,i=e.theme,a=e.className,s=e.isAllSelected,l=e.isResizingColumn,c=e.isSizing,d=e.isAllCollapsed,f=e.cellStyleProps,h=void 0===f?Tf:f,m=i.semanticColors,g=i.palette,v=i.fonts,b=Object(p.R)(Nf,i),y={iconForegroundColor:m.bodySubtext,headerForegroundColor:m.bodyText,headerBackgroundColor:m.bodyBackground,resizerColor:g.neutralTertiaryAlt},C={opacity:1,transition:"opacity 0.3s linear"},_=Bf(e);return{root:[b.root,v.small,{display:"inline-block",background:y.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:Ff,lineHeight:Ff,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid ".concat(m.bodyDivider),cursor:"default",userSelect:"none",selectors:(t={},t["&:hover .".concat(b.check)]={opacity:1},t["& .".concat(b.tooltipHost," .").concat(b.checkTooltip)]={display:"block"},t)},s&&b.isAllSelected,l&&b.isResizingColumn,a],check:[b.check,{height:Ff},{selectors:(n={},n[".".concat(Gn.a," &:focus")]={opacity:1},n)}],cellWrapperPadded:{paddingRight:h.cellExtraRightPadding+h.cellRightPadding},cellIsCheck:[_,b.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},s&&{opacity:1}],cellIsGroupExpander:[_,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:v.small.fontSize,padding:0,border:"none",width:36,color:g.neutralSecondary,selectors:{":hover":{backgroundColor:g.neutralLighter},":active":{backgroundColor:g.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:m.bodyText,background:m.listHeaderBackgroundHovered},":active":{background:m.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[b.cellSizer,Object(p.L)(),{display:"inline-block",position:"relative",cursor:"ew-resize",bottom:0,top:0,overflow:"hidden",height:"inherit",background:"transparent",zIndex:1,width:16,selectors:(o={":after":{content:'""',position:"absolute",top:0,bottom:0,width:1,background:y.resizerColor,opacity:0,left:"50%"},":focus:after":C,":hover:after":C},o["&.".concat(b.isResizing,":after")]=[C,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],o)}],cellIsResizing:b.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[b.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},d?[b.isCollapsed,{transform:"rotate(0deg)"}]:{transform:P(i)?"rotate(-90deg)":"rotate(90deg)"}],checkTooltip:b.checkTooltip,sizingOverlay:c&&{position:"absolute",left:0,top:0,right:0,bottom:0,cursor:"ew-resize",background:"rgba(255, 255, 255, 0)",selectors:(r={},r[p.m]=Object(u.a)({background:"transparent"},Object(p.S)()),r)},accessibleLabel:p.ab,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 ".concat(g.themePrimary),background:g.white}],dropHintCaretStyle:[b.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:v.medium.fontSize,color:g.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[b.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:g.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}},Af={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},jf=48,Hf=function(e){var t=e.theme,n=e.className,o=e.isHeader,r=e.selected,i=e.anySelected,a=e.canSelect,s=e.compact,l=e.isVisible,c=Object(p.R)(Af,t),u=Df.rowHeight,d=Df.compactRowHeight,f=o?Ff:s?d:u,h=l||r||i;return{root:[c.root,n],check:[!a&&c.isDisabled,o&&c.isHeader,Object(p.Q)(t),t.fonts.small,ru.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:h?1:0,height:f,width:jf,padding:0,margin:0}],isDisabled:[]}};!function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(Cf||(Cf={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(_f||(_f={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(Sf||(Sf={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(kf||(kf={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(xf||(xf={})),function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(wf||(wf={}));var zf=L(),Wf=function(e){return function(t){return t?t.column.isIconOnly?d.createElement("span",{className:e.accessibleLabel},t.column.name):d.createElement(d.Fragment,null,t.column.name):null}},Vf=function(e){function t(t){var n=e.call(this,t)||this;return n._root=d.createRef(),n._onRenderFilterIcon=function(e){return function(e){var t=e.columnProps,n=Object(u.d)(e,["columnProps"]),o=(null==t?void 0:t.useFastIcons)?We:Ge;return d.createElement(o,Object(u.a)({},n))}},n._onRenderColumnHeaderTooltip=function(e){return d.createElement("span",{className:e.hostClassName},e.children)},n._onColumnClick=function(e){var t=n.props,o=t.onColumnClick,r=t.column;r.columnActionsMode!==Cf.disabled&&(r.onColumnClick&&r.onColumnClick(e,r),o&&o(e,r))},n._onDragStart=function(e,t,o,r){var i=n._classNames;t&&(n._updateHeaderDragInfo(t),n._root.current.classList.add(i.borderWhileDragging),n._async.setTimeout((function(){n._root.current&&n._root.current.classList.add(i.noBorderWhileDragging)}),20))},n._onDragEnd=function(e,t){var o=n._classNames;t&&n._updateHeaderDragInfo(-1,t),n._root.current.classList.remove(o.borderWhileDragging),n._root.current.classList.remove(o.noBorderWhileDragging)},n._updateHeaderDragInfo=function(e,t){n.props.setDraggedItemIndex&&n.props.setDraggedItemIndex(e),n.props.updateDragInfo&&n.props.updateDragInfo({itemIndex:e},t)},n._onColumnContextMenu=function(e){var t=n.props,o=t.onColumnContextMenu,r=t.column;r.onColumnContextMenu&&(r.onColumnContextMenu(r,e),e.preventDefault()),o&&(o(r,e),e.preventDefault())},n._onRootMouseDown=function(e){n.props.isDraggable&&0===e.button&&e.stopPropagation()},Ct(n),n._async=new wt(n),n._events=new vo(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.column,n=e.parentId,o=e.isDraggable,r=e.styles,i=e.theme,a=e.cellStyleProps,s=void 0===a?Tf:a,l=e.useFastIcons,c=void 0===l||l,p=this.props.onRenderColumnHeaderTooltip,f=void 0===p?this._onRenderColumnHeaderTooltip:p;this._classNames=zf(r,{theme:i,headerClassName:t.headerClassName,iconClassName:t.iconClassName,isActionable:t.columnActionsMode!==Cf.disabled,isEmpty:!t.name,isIconVisible:t.isSorted||t.isGrouped||t.isFiltered,isPadded:t.isPadded,isIconOnly:t.isIconOnly,cellStyleProps:s,transitionDurationDrag:200,transitionDurationDrop:1500});var h=this._classNames,m=c?We:Ge,g=t.onRenderFilterIcon?Po(t.onRenderFilterIcon,this._onRenderFilterIcon(this._classNames)):this._onRenderFilterIcon(this._classNames),v=t.onRenderHeader?Po(t.onRenderHeader,Wf(this._classNames)):Wf(this._classNames),b=t.columnActionsMode!==Cf.disabled&&(void 0!==t.onColumnClick||void 0!==this.props.onColumnClick),y={"aria-label":t.ariaLabel?t.ariaLabel:t.isIconOnly?t.name:void 0,"aria-labelledby":t.ariaLabel||t.isIconOnly?void 0:"".concat(n,"-").concat(t.key,"-name"),"aria-describedby":!this.props.onRenderColumnHeaderTooltip&&this._hasAccessibleDescription()?"".concat(n,"-").concat(t.key,"-tooltip"):void 0};return d.createElement(d.Fragment,null,d.createElement("div",Object(u.a)({key:t.key,ref:this._root,role:"columnheader"},!b&&y,{"aria-sort":t.isSorted?t.isSortedDescending?"descending":"ascending":"none","data-is-focusable":b||t.columnActionsMode===Cf.disabled?void 0:"true",className:h.root,"data-is-draggable":o,draggable:o,style:{width:t.calculatedWidth+s.cellLeftPadding+s.cellRightPadding+(t.isPadded?s.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":t.key}),o&&d.createElement(m,{iconName:"GripperBarVertical",className:h.gripperBarVerticalStyle}),f({hostClassName:h.cellTooltip,id:"".concat(n,"-").concat(t.key,"-tooltip"),setAriaDescribedBy:!1,column:t,content:t.columnActionsMode!==Cf.disabled?t.ariaLabel:"",children:d.createElement("span",Object(u.a)({id:"".concat(n,"-").concat(t.key),className:h.cellTitle,"data-is-focusable":b&&t.columnActionsMode!==Cf.disabled?"true":void 0,role:b?"button":void 0},b&&y,{onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,"aria-haspopup":t.columnActionsMode===Cf.hasDropdown?"menu":void 0,"aria-expanded":t.columnActionsMode===Cf.hasDropdown?!!t.isMenuOpen:void 0}),d.createElement("span",{id:"".concat(n,"-").concat(t.key,"-name"),className:h.cellName},(t.iconName||t.iconClassName)&&d.createElement(m,{className:h.iconClassName,iconName:t.iconName}),v(this.props)),t.isFiltered&&d.createElement(m,{className:h.nearIcon,iconName:"Filter"}),(t.isSorted||t.showSortIconWhenUnsorted)&&d.createElement(m,{className:h.sortIcon,iconName:t.isSorted?t.isSortedDescending?"SortDown":"SortUp":"Sort"}),t.isGrouped&&d.createElement(m,{className:h.nearIcon,iconName:"GroupedDescending"}),t.columnActionsMode===Cf.hasDropdown&&!t.isIconOnly&&g({"aria-hidden":!0,columnProps:this.props,className:h.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleDescription())},t.prototype.componentDidMount=function(){var e=this;this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling();var t=this._classNames;this.props.isDropped&&(this._root.current&&(this._root.current.classList.add(t.borderAfterDropping),this._async.setTimeout((function(){e._root.current&&e._root.current.classList.add(t.noBorderAfterDropping)}),20)),this._async.setTimeout((function(){e._root.current&&(e._root.current.classList.remove(t.borderAfterDropping),e._root.current.classList.remove(t.noBorderAfterDropping))}),1520))},t.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},t.prototype.componentDidUpdate=function(){!this._dragDropSubscription&&this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling(),this._dragDropSubscription&&!this.props.isDraggable&&(this._dragDropSubscription.dispose(),this._events.off(this._root.current,"mousedown"),delete this._dragDropSubscription)},t.prototype._getColumnDragDropOptions=function(){var e=this,t=this.props.columnIndex;return{selectionIndex:t,context:{data:t,index:t},canDrag:function(){return e.props.isDraggable},canDrop:function(){return!1},onDragStart:this._onDragStart,updateDropState:function(){},onDrop:function(){},onDragEnd:this._onDragEnd}},t.prototype._hasAccessibleDescription=function(){var e=this.props.column;return!!(e.filterAriaLabel||e.sortAscendingAriaLabel||e.sortDescendingAriaLabel||e.groupAriaLabel||e.sortableAriaLabel)},t.prototype._renderAccessibleDescription=function(){var e=this.props,t=e.column,n=e.parentId,o=this._classNames;return this._hasAccessibleDescription()&&!this.props.onRenderColumnHeaderTooltip?d.createElement("label",{key:"".concat(t.key,"_label"),id:"".concat(n,"-").concat(t.key,"-tooltip"),className:o.accessibleLabel,hidden:!0},t.isFiltered&&t.filterAriaLabel||null,(t.isSorted||t.showSortIconWhenUnsorted)&&(t.isSorted?t.isSortedDescending?t.sortDescendingAriaLabel:t.sortAscendingAriaLabel:t.sortableAriaLabel)||null,t.isGrouped&&t.groupAriaLabel||null):null},t.prototype._addDragDropHandling=function(){this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getColumnDragDropOptions()),this._events.on(this._root.current,"mousedown",this._onRootMouseDown)},t}(d.Component),Uf={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"},Kf=function(e){var t,n=e.theme,o=e.headerClassName,r=e.iconClassName,i=e.isActionable,a=e.isEmpty,s=e.isIconVisible,l=e.isPadded,c=e.isIconOnly,d=e.cellStyleProps,f=void 0===d?Tf:d,h=e.transitionDurationDrag,m=e.transitionDurationDrop,g=n.semanticColors,v=n.palette,b=n.fonts,y=Object(p.R)(Uf,n),C={iconForegroundColor:g.bodySubtext,headerForegroundColor:g.bodyText,headerBackgroundColor:g.bodyBackground,dropdownChevronForegroundColor:v.neutralSecondary,resizerColor:v.neutralTertiaryAlt},_={color:C.iconForegroundColor,opacity:1,paddingLeft:8},S={outline:"1px solid ".concat(v.themePrimary)},k={outlineColor:"transparent"};return{root:[Bf(e),b.small,i&&[y.isActionable,{selectors:{":hover":{color:g.bodyText,background:g.listHeaderBackgroundHovered},":active":{background:g.listHeaderBackgroundPressed}}}],a&&[y.isEmpty,{textOverflow:"clip"}],s&&y.isIconVisible,l&&{paddingRight:f.cellExtraRightPadding+f.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},o],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:v.neutralTertiary,left:1},nearIcon:[y.nearIcon,_],sortIcon:[_,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:C.iconForegroundColor,opacity:1},r],filterChevron:[y.filterChevron,{color:C.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:b.small.fontSize}],cellTitle:[y.cellTitle,Object(p.Q)(n),Object(u.a)({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 ".concat(f.cellRightPadding,"px 0 ").concat(f.cellLeftPadding,"px")},c?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[y.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:p.l.semibold,fontSize:b.medium.fontSize},c&&{selectors:(t={},t[".".concat(y.nearIcon)]={paddingLeft:0},t)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:p.ab,borderWhileDragging:S,noBorderWhileDragging:[k,{transition:"outline ".concat(h,"ms ease")}],borderAfterDropping:S,noBorderAfterDropping:[k,{transition:"outline ".concat(m,"ms ease")}]}},Gf=k(Vf,Kf,void 0,{scope:"DetailsColumn"}),qf={label:K,audio:G,video:q,ol:Y,li:Q,a:X,button:Z,input:$,textarea:J,select:ee,option:te,table:ne,tr:oe,th:re,td:ie,colGroup:ae,col:se,form:le,iframe:ce,img:ue};function Yf(e,t,n){return fe(t,e&&qf[e]||U,n)}var Qf,Xf,Zf="change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(Qf||(Qf={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(Xf||(Xf={}));var $f=L(),Jf=d.memo((function(e){return d.createElement(iu,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}));function eh(e){return d.createElement(iu,{checked:e.checked})}function th(e){return d.createElement(Jf,{theme:e.theme,checked:e.checked})}var nh,oh=k((function(e){var t=e.isVisible,n=void 0!==t&&t,o=e.canSelect,r=void 0!==o&&o,i=e.anySelected,a=void 0!==i&&i,s=e.selected,l=void 0!==s&&s,c=e.selectionMode,p=e.isHeader,f=void 0!==p&&p,h=e.className,m=(e.checkClassName,e.styles),g=e.theme,v=e.compact,b=e.onRenderDetailsCheckbox,y=e.useFastIcons,C=void 0===y||y,_=Object(u.d)(e,["isVisible","canSelect","anySelected","selected","selectionMode","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),S=C?th:eh,k=b?Po(b,S):S,x=$f(m,{theme:g,canSelect:r,selected:l,anySelected:a,className:h,isHeader:f,isVisible:n,compact:v}),w={checked:l,theme:g},I=Yf("div",_,["aria-label","aria-labelledby","aria-describedby"]),E=c===Qf.single?"radio":"checkbox";return r?d.createElement("div",Object(u.a)({},_,{role:E,className:Me(x.root,x.check),"aria-checked":l,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck",tabIndex:-1}),k(w)):d.createElement("div",Object(u.a)({},I,{className:Me(x.root,x.check)}))}),Hf,void 0,{scope:"DetailsRowCheck"},!0),rh=function(){function e(e){this._selection=e.selection,this._dragEnterCounts={},this._activeTargets={},this._lastId=0,this._initialized=!1}return e.prototype.dispose=function(){this._events&&this._events.dispose()},e.prototype.subscribe=function(e,t,n){var o=this;if(!this._initialized){this._events=new vo(this);var r=Object(O.a)();r&&(this._events.on(r.body,"mouseup",this._onMouseUp.bind(this),!0),this._events.on(r,"mouseup",this._onDocumentMouseUp.bind(this),!0)),this._initialized=!0}var i,a,s,l,c,u,d,p,f,h,m=n.key,g=void 0===m?"".concat(++this._lastId):m,v=[];if(n&&e){var b=n.eventMap,y=n.context,C=n.updateDropState,_={root:e,options:n,key:g};if(p=this._isDraggable(_),f=this._isDroppable(_),(p||f)&&b)for(var S=0,k=b;S<k.length;S++){var x=k[S],w={callback:x.callback.bind(null,y),eventName:x.eventName};v.push(w),this._events.on(e,w.eventName,w.callback)}f&&(a=function(e){e.isHandled||(e.isHandled=!0,o._dragEnterCounts[g]--,0===o._dragEnterCounts[g]&&C(!1,e))},s=function(e){e.preventDefault(),e.isHandled||(e.isHandled=!0,o._dragEnterCounts[g]++,1===o._dragEnterCounts[g]&&C(!0,e))},l=function(e){o._dragEnterCounts[g]=0,C(!1,e)},c=function(e){o._dragEnterCounts[g]=0,C(!1,e),n.onDrop&&n.onDrop(n.context.data,e)},u=function(e){e.preventDefault(),n.onDragOver&&n.onDragOver(n.context.data,e)},this._dragEnterCounts[g]=0,t.on(e,"dragenter",s),t.on(e,"dragleave",a),t.on(e,"dragend",l),t.on(e,"drop",c),t.on(e,"dragover",u)),p&&(d=this._onMouseDown.bind(this,_),l=this._onDragEnd.bind(this,_),i=function(t){var r=n;r&&r.onDragStart&&r.onDragStart(r.context.data,r.context.index,o._selection.getSelection(),t),o._isDragging=!0,t.dataTransfer&&t.dataTransfer.setData("id",e.id)},t.on(e,"dragstart",i),t.on(e,"mousedown",d),t.on(e,"dragend",l)),h={target:_,dispose:function(){if(o._activeTargets[g]===h&&delete o._activeTargets[g],e){for(var n=0,r=v;n<r.length;n++){var m=r[n];o._events.off(e,m.eventName,m.callback)}f&&(t.off(e,"dragenter",s),t.off(e,"dragleave",a),t.off(e,"dragend",l),t.off(e,"dragover",u),t.off(e,"drop",c)),p&&(t.off(e,"dragstart",i),t.off(e,"mousedown",d),t.off(e,"dragend",l))}}},this._activeTargets[g]=h}return{key:g,dispose:function(){h&&h.dispose()}}},e.prototype.unsubscribe=function(e,t){var n=this._activeTargets[t];n&&n.dispose()},e.prototype._onDragEnd=function(e,t){var n=e.options;n.onDragEnd&&n.onDragEnd(n.context.data,t)},e.prototype._onMouseUp=function(e){if(this._isDragging=!1,this._dragData){for(var t=0,n=Object.keys(this._activeTargets);t<n.length;t++){var o=n[t],r=this._activeTargets[o];r.target.root&&(this._events.off(r.target.root,"mousemove"),this._events.off(r.target.root,"mouseleave"))}this._dragData.dropTarget&&(vo.raise(this._dragData.dropTarget.root,"dragleave"),vo.raise(this._dragData.dropTarget.root,"drop"))}this._dragData=null},e.prototype._onDocumentMouseUp=function(e){var t=Object(O.a)();t&&e.target===t.documentElement&&this._onMouseUp(e)},e.prototype._onMouseMove=function(e,t){var n=t.buttons,o=void 0===n?1:n;if(this._dragData&&1!==o)this._onMouseUp(t);else{var r=e.root,i=e.key;this._isDragging&&this._isDroppable(e)&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key!==i&&!this._isChild(r,this._dragData.dropTarget.root)&&this._dragEnterCounts[this._dragData.dropTarget.key]>0&&(vo.raise(this._dragData.dropTarget.root,"dragleave"),vo.raise(r,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(vo.raise(e.root,"dragleave"),this._dragData.dropTarget=void 0)},e.prototype._onMouseDown=function(e,t){if(0===t.button)if(this._isDraggable(e)){this._dragData={clientX:t.clientX,clientY:t.clientY,eventTarget:t.target,dragTarget:e};for(var n=0,o=Object.keys(this._activeTargets);n<o.length;n++){var r=o[n],i=this._activeTargets[r];i.target.root&&(this._events.on(i.target.root,"mousemove",this._onMouseMove.bind(this,i.target)),this._events.on(i.target.root,"mouseleave",this._onMouseLeave.bind(this,i.target)))}}else this._dragData=null},e.prototype._isChild=function(e,t){for(;t&&t.parentElement;){if(t.parentElement===e)return!0;t=t.parentElement}return!1},e.prototype._isDraggable=function(e){var t=e.options;return!(!t.canDrag||!t.canDrag(t.context.data))},e.prototype._isDroppable=function(e){var t=e.options,n=this._dragData&&this._dragData.dragTarget?this._dragData.dragTarget.options.context:void 0;return!(!t.canDrop||!t.canDrop(t.context,n))},e}();!function(e){e[e.none=0]="none",e[e.hidden=1]="hidden",e[e.visible=2]="visible"}(nh||(nh={}));var ih=L(),ah=[],sh=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=d.createRef(),n._rootComponent=d.createRef(),n._draggedColumnIndex=-1,n._dropHintDetails={},n._updateDroppingState=function(e,t){n._draggedColumnIndex>=0&&"drop"!==t.type&&!e&&n._resetDropHints()},n._onDragOver=function(e,t){n._draggedColumnIndex>=0&&(t.stopPropagation(),n._computeDropHintToBeShown(t.clientX))},n._onDrop=function(e,t){var o=n._getColumnReorderProps();if(n._draggedColumnIndex>=0&&t){var r=n._draggedColumnIndex>n._currentDropHintIndex?n._currentDropHintIndex:n._currentDropHintIndex-1,i=n._isValidCurrentDropHintIndex();if(t.stopPropagation(),i)if(n._onDropIndexInfo.sourceIndex=n._draggedColumnIndex,n._onDropIndexInfo.targetIndex=r,o.onColumnDrop){var a={draggedIndex:n._draggedColumnIndex,targetIndex:r};o.onColumnDrop(a)}else o.handleColumnReorder&&o.handleColumnReorder(n._draggedColumnIndex,r)}n._resetDropHints(),n._dropHintDetails={},n._draggedColumnIndex=-1},n._computeColumnIndexOffset=function(e){var t=1;return e&&(t+=1),n.props.groupNestingDepth&&n.props.groupNestingDepth>0&&(t+=1),t},n._updateDragInfo=function(e,t){var o=n._getColumnReorderProps(),r=e.itemIndex;if(r>=0)n._draggedColumnIndex=r-n._computeColumnIndexOffset(!n._isCheckboxColumnHidden()),n._getDropHintPositions(),o.onColumnDragStart&&o.onColumnDragStart(!0);else if(t&&n._draggedColumnIndex>=0&&(n._resetDropHints(),n._draggedColumnIndex=-1,n._dropHintDetails={},o.onColumnDragEnd)){var i=n._isEventOnHeader(t);o.onColumnDragEnd({dropLocation:i},t)}},n._getDropHintPositions=function(){for(var e,t=n.props.columns,o=void 0===t?ah:t,r=n._getColumnReorderProps(),i=0,a=0,s=r.frozenColumnCountFromStart||0,l=r.frozenColumnCountFromEnd||0,c=s;c<o.length-l+1;c++)if(n._rootElement.current){var u=n._rootElement.current.querySelectorAll("#columnDropHint_"+c)[0];if(u)if(c===s)i=u.offsetLeft,a=u.offsetLeft,e=u;else{var d=(u.offsetLeft+i)/2;n._dropHintDetails[c-1]={originX:i,startX:a,endX:d,dropHintElementRef:e},a=d,e=u,i=u.offsetLeft,c===o.length-l&&(n._dropHintDetails[c]={originX:i,startX:a,endX:u.offsetLeft,dropHintElementRef:e})}}},n._computeDropHintToBeShown=function(e){var t=P(n.props.theme);if(n._rootElement.current){var o=e-n._rootElement.current.getBoundingClientRect().left,r=n._currentDropHintIndex;if(n._isValidCurrentDropHintIndex()&&lh(t,o,n._dropHintDetails[r].startX,n._dropHintDetails[r].endX))return;var i=n.props.columns,a=void 0===i?ah:i,s=n._getColumnReorderProps(),l=s.frozenColumnCountFromStart||0,c=s.frozenColumnCountFromEnd||0,u=l,d=a.length-c,p=-1;if(ch(t,o,n._dropHintDetails[u].endX)?p=u:uh(t,o,n._dropHintDetails[d].startX)?p=d:n._isValidCurrentDropHintIndex()&&(n._dropHintDetails[r+1]&&lh(t,o,n._dropHintDetails[r+1].startX,n._dropHintDetails[r+1].endX)?p=r+1:n._dropHintDetails[r-1]&&lh(t,o,n._dropHintDetails[r-1].startX,n._dropHintDetails[r-1].endX)&&(p=r-1)),-1===p)for(var f=l,h=d;f<h;){var m=Math.ceil((h+f)/2);if(lh(t,o,n._dropHintDetails[m].startX,n._dropHintDetails[m].endX)){p=m;break}ch(t,o,n._dropHintDetails[m].originX)?h=m:uh(t,o,n._dropHintDetails[m].originX)&&(f=m)}p===n._draggedColumnIndex||p===n._draggedColumnIndex+1?n._isValidCurrentDropHintIndex()&&n._resetDropHints():r!==p&&p>=0&&(n._resetDropHints(),n._updateDropHintElement(n._dropHintDetails[p].dropHintElementRef,"inline-block"),n._currentDropHintIndex=p)}},n._renderColumnSizer=function(e){var t,o=e.columnIndex,r=n.props.columns,i=void 0===r?ah:r,a=i[o],s=n.state.columnResizeDetails,l=n._classNames;return a.isResizable?d.createElement("div",{key:"".concat(a.key,"_sizer"),"aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:dh,"data-sizer-index":o,onBlur:n._onSizerBlur,className:Me(l.cellSizer,o<i.length-1?l.cellSizerStart:l.cellSizerEnd,(t={},t[l.cellIsResizing]=s&&s.columnIndex===o,t)),onDoubleClick:n._onSizerDoubleClick.bind(n,o)}):null},n._onRenderColumnHeaderTooltip=function(e){return d.createElement("span",{className:e.hostClassName},e.children)},n._onSelectAllClicked=function(){var e=n.props.selection;e&&e.toggleAllSelected()},n._onRootMouseDown=function(e){var t=e.target.getAttribute("data-sizer-index"),o=Number(t),r=n.props.columns,i=void 0===r?ah:r;null!==t&&0===e.button&&(n.setState({columnResizeDetails:{columnIndex:o,columnMinWidth:i[o].calculatedWidth,originX:e.clientX}}),e.preventDefault(),e.stopPropagation())},n._onRootMouseMove=function(e){var t=n.state,o=t.columnResizeDetails,r=t.isSizing;o&&!r&&e.clientX!==o.originX&&n.setState({isSizing:!0})},n._onRootKeyDown=function(e){var t=n.state,o=t.columnResizeDetails,r=t.isSizing,i=n.props,a=i.columns,s=void 0===a?ah:a,l=i.onColumnResized,c=e.target.getAttribute("data-sizer-index");if(c&&!r){var d=Number(c);if(o){var p=void 0;e.which===E.enter?(n.setState({columnResizeDetails:void 0}),e.preventDefault(),e.stopPropagation()):e.which===E.left?p=P(n.props.theme)?1:-1:e.which===E.right&&(p=P(n.props.theme)?-1:1),p&&(e.shiftKey||(p*=10),n.setState({columnResizeDetails:Object(u.a)(Object(u.a)({},o),{columnMinWidth:o.columnMinWidth+p})}),l&&l(s[d],o.columnMinWidth+p,d),e.preventDefault(),e.stopPropagation())}else e.which===E.enter&&(n.setState({columnResizeDetails:{columnIndex:d,columnMinWidth:s[d].calculatedWidth}}),e.preventDefault(),e.stopPropagation())}},n._onSizerMouseMove=function(e){var t=e.buttons,o=n.props,r=o.onColumnIsSizingChanged,i=o.onColumnResized,a=o.columns,s=void 0===a?ah:a,l=n.state.columnResizeDetails;if(void 0===t||1===t){if(e.clientX!==l.originX&&r&&r(s[l.columnIndex],!0),i){var c=e.clientX-l.originX;P(n.props.theme)&&(c=-c),i(s[l.columnIndex],l.columnMinWidth+c,l.columnIndex)}}else n._onSizerMouseUp(e)},n._onSizerBlur=function(e){n.state.columnResizeDetails&&n.setState({columnResizeDetails:void 0,isSizing:!1})},n._onSizerMouseUp=function(e){var t=n.props,o=t.columns,r=void 0===o?ah:o,i=t.onColumnIsSizingChanged,a=n.state.columnResizeDetails;n.setState({columnResizeDetails:void 0,isSizing:!1}),i&&i(r[a.columnIndex],!1)},n._onToggleCollapseAll=function(){var e=n.props.onToggleCollapseAll,t=!n.state.isAllCollapsed;n.setState({isAllCollapsed:t}),e&&e(t)},Ct(n),n._events=new vo(n),n.state={columnResizeDetails:void 0,isAllCollapsed:n.props.isAllCollapsed,isAllSelected:!!n.props.selection&&n.props.selection.isAllSelected()},n._onDropIndexInfo={sourceIndex:-1,targetIndex:-1},n._id=bn("header"),n._currentDropHintIndex=-1,n._dragDropHelper=new rh({selection:{getSelection:function(){}},minimumPixelsForDrag:n.props.minimumPixelsForDrag}),n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props.selection;this._events.on(e,Zf,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())))},t.prototype.componentDidUpdate=function(e){if(this._getColumnReorderProps()?!this._subscriptionObject&&this._rootElement.current&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement.current,this._events,this._getHeaderDragDropOptions())):this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this.props!==e&&this._onDropIndexInfo.sourceIndex>=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,n=void 0===t?ah:t,o=this.props.columns,r=void 0===o?ah:o;n[this._onDropIndexInfo.sourceIndex].key===r[this._onDropIndexInfo.targetIndex].key&&(this._onDropIndexInfo={sourceIndex:-1,targetIndex:-1})}this.props.isAllCollapsed!==e.isAllCollapsed&&this.setState({isAllCollapsed:this.props.isAllCollapsed})},t.prototype.componentWillUnmount=function(){this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this._dragDropHelper.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this.props,n=t.columns,o=void 0===n?ah:n,r=t.ariaLabel,i=t.ariaLabelForToggleAllGroupsButton,a=t.ariaLabelForSelectAllCheckbox,s=t.selectAllVisibility,l=t.ariaLabelForSelectionColumn,c=t.indentWidth,u=t.onColumnClick,p=t.onColumnContextMenu,f=t.onRenderColumnHeaderTooltip,h=void 0===f?this._onRenderColumnHeaderTooltip:f,m=t.styles,g=t.selectionMode,v=t.theme,b=t.onRenderDetailsCheckbox,y=t.groupNestingDepth,C=t.useFastIcons,_=t.checkboxVisibility,S=t.className,k=this.state,x=k.isAllSelected,w=k.columnResizeDetails,I=k.isSizing,E=k.isAllCollapsed,O=s!==nh.none,T=s===nh.hidden,D=_===xf.always,R=this._getColumnReorderProps(),M=R&&R.frozenColumnCountFromStart?R.frozenColumnCountFromStart:0,N=R&&R.frozenColumnCountFromEnd?R.frozenColumnCountFromEnd:0;this._classNames=ih(m,{theme:v,isAllSelected:x,isSelectAllHidden:s===nh.hidden,isResizingColumn:!!w&&I,isSizing:I,isAllCollapsed:E,isCheckboxHidden:T,className:S});var F=this._classNames,B=C?We:Ge,L=y>0,A=L&&this.props.collapseAllVisibility===wf.visible,j=this._computeColumnIndexOffset(O),H=P(v);return d.createElement(zn,{role:"row","aria-label":r,className:F.root,componentRef:this._rootComponent,elementRef:this._rootElement,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",direction:Ot.horizontal},O?[d.createElement("div",{key:"__checkbox",className:F.cellIsCheck,"aria-labelledby":"".concat(this._id,"-checkTooltip"),onClick:T?void 0:this._onSelectAllClicked,role:"columnheader"},h({hostClassName:F.checkTooltip,id:"".concat(this._id,"-checkTooltip"),setAriaDescribedBy:!1,content:a,children:d.createElement(oh,{id:"".concat(this._id,"-check"),"aria-label":g===Qf.multiple?a:l,"data-is-focusable":!T||void 0,isHeader:!0,selected:x,anySelected:!1,canSelect:!T,className:F.check,onRenderDetailsCheckbox:b,useFastIcons:C,isVisible:D})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:a&&!T?d.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:F.accessibleLabel,"aria-hidden":!0},a):l&&T?d.createElement("label",{key:"__checkboxLabel",id:"".concat(this._id,"-checkTooltip"),className:F.accessibleLabel,"aria-hidden":!0},l):null]:null,A?d.createElement("div",{className:F.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":i,"aria-expanded":!E,role:"columnheader"},d.createElement(B,{className:F.collapseButton,iconName:H?"ChevronLeftMed":"ChevronRightMed"}),d.createElement("span",{className:F.accessibleLabel},i)):L?d.createElement("div",{className:F.cellIsGroupExpander,"data-is-focusable":!1,role:"columnheader"}):null,d.createElement(Mf,{indentWidth:c,role:"gridcell",count:y-1}),o.map((function(t,n){var r=!!R&&(n>=M&&n<o.length-N);return[R&&(r||n===o.length-N)&&e._renderDropHint(n),d.createElement(Gf,{column:t,styles:t.styles,key:t.key,columnIndex:j+n,parentId:e._id,isDraggable:r,updateDragInfo:e._updateDragInfo,dragDropHelper:e._dragDropHelper,onColumnClick:u,onColumnContextMenu:p,onRenderColumnHeaderTooltip:e.props.onRenderColumnHeaderTooltip,isDropped:e._onDropIndexInfo.targetIndex===n,cellStyleProps:e.props.cellStyleProps,useFastIcons:C}),e._renderColumnDivider(n)]})),R&&0===N&&this._renderDropHint(o.length),I&&d.createElement(Bi,null,d.createElement("div",{className:F.sizingOverlay,onMouseMove:this._onSizerMouseMove,onMouseUp:this._onSizerMouseUp})))},t.prototype.focus=function(){var e;return!!(null===(e=this._rootComponent.current)||void 0===e?void 0:e.focus())},t.prototype._getColumnReorderProps=function(){var e=this.props,t=e.columnReorderOptions;return e.columnReorderProps||t&&Object(u.a)(Object(u.a)({},t),{onColumnDragEnd:void 0})},t.prototype._getHeaderDragDropOptions=function(){return{selectionIndex:1,context:{data:this,index:0},canDrag:function(){return!1},canDrop:function(){return!0},onDragStart:function(){},updateDropState:this._updateDroppingState,onDrop:this._onDrop,onDragEnd:function(){},onDragOver:this._onDragOver}},t.prototype._isValidCurrentDropHintIndex=function(){return this._currentDropHintIndex>=0},t.prototype._isCheckboxColumnHidden=function(){var e=this.props,t=e.selectionMode,n=e.checkboxVisibility;return t===Qf.none||n===xf.hidden},t.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},t.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},t.prototype._isEventOnHeader=function(e){if(this._rootElement.current){var t=this._rootElement.current.getBoundingClientRect();if(e.clientX>t.left&&e.clientX<t.right&&e.clientY>t.top&&e.clientY<t.bottom)return Sf.header}},t.prototype._renderColumnDivider=function(e){var t=this.props.columns,n=(void 0===t?ah:t)[e],o=n.onRenderDivider;return o?o({column:n,columnIndex:e},this._renderColumnSizer):this._renderColumnSizer({column:n,columnIndex:e})},t.prototype._renderDropHint=function(e){var t=this._classNames,n=this.props.useFastIcons?We:Ge;return d.createElement("div",{key:"dropHintKey",className:t.dropHintStyle,id:"columnDropHint_".concat(e)},d.createElement("div",{role:"presentation",key:"dropHintCircleKey",className:t.dropHintCaretStyle,"data-is-focusable":!1,"data-sizer-index":e,"aria-hidden":!0},d.createElement(n,{iconName:"CircleShapeSolid"})),d.createElement("div",{key:"dropHintLineKey","aria-hidden":!0,"data-is-focusable":!1,"data-sizer-index":e,className:t.dropHintLineStyle}))},t.prototype._onSizerDoubleClick=function(e,t){var n=this.props,o=n.onColumnAutoResized,r=n.columns;o&&o((void 0===r?ah:r)[e],e)},t.prototype._onSelectionChanged=function(){var e=!!this.props.selection&&this.props.selection.isAllSelected();this.state.isAllSelected!==e&&this.setState({isAllSelected:e})},t.defaultProps={selectAllVisibility:nh.visible,collapseAllVisibility:wf.visible,useFastIcons:!0},t}(d.Component);function lh(e,t,n,o){return e?t<=n&&t>=o:t>=n&&t<=o}function ch(e,t,n){return e?t>=n:t<=n}function uh(e,t,n){return e?t<=n:t>=n}function dh(e){e.stopPropagation()}var ph=k(sh,Lf,void 0,{scope:"DetailsHeader"}),fh=function(e){var t=e.columns,n=e.rowClassNames,o=e.cellStyleProps,r=void 0===o?Tf:o,i=e.item,a=e.itemIndex,s=e.isSelected,l=e.onRenderItemColumn,c=e.getCellValueKey,u=e.onRenderField,p=e.cellsByColumn,f=e.enableUpdateAnimations,h=e.rowHeaderId,m=d.useRef(),g=m.current||(m.current={}),v=d.useCallback((function(e){var t=e.column,o=e.cellValueKey,i=e.className,a=e.onRender,s=e.item,l=e.itemIndex,c=void 0===t.calculatedWidth?"auto":t.calculatedWidth+r.cellLeftPadding+r.cellRightPadding+(t.isPadded?r.cellExtraRightPadding:0),u="".concat(t.key).concat(void 0!==o?"-".concat(o):"");return d.createElement("div",{key:u,id:t.isRowHeader?h:void 0,role:t.isRowHeader?"rowheader":"gridcell",className:Me(t.className,t.isMultiline&&n.isMultiline,t.isRowHeader&&n.isRowHeader,n.cell,t.isPadded?n.cellPadded:n.cellUnpadded,i),style:{width:c},"data-automationid":"DetailsRowCell","data-automation-key":t.key},a(s,l,t))}),[n,r,h]);return d.createElement("div",{className:n.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map((function(e){var t=e.getValueKey,o=void 0===t?c:t,r=p&&e.key in p&&function(){return p[e.key]}||e.onRender||l||hh,d=v;e.onRenderField&&(d=Po(e.onRenderField,d)),u&&(d=Po(u,d));var h=g[e.key],m=f&&o?o(i,a,e):void 0,b=!1;return void 0!==m&&void 0!==h&&m!==h&&(b=!0),g[e.key]=m,d({item:i,itemIndex:a,isSelected:s,column:e,cellValueKey:m,className:b?n.cellAnimation:void 0,onRender:r})})))};function hh(e,t,n){return e&&n?function(e,t){var n=e&&t&&t.fieldName?e[t.fieldName]:"";return null==n&&(n=""),"boolean"==typeof n?n.toString():n}(e,n):null}var mh=L(),gh=[],vh=function(e){function t(t){var n=e.call(this,t)||this;return n._root=d.createRef(),n._cellMeasurer=d.createRef(),n._focusZone=d.createRef(),n._onSelectionChanged=function(){var e=bh(n.props);uo(e,n.state.selectionState)||n.setState({selectionState:e})},n._updateDroppingState=function(e,t){var o=n.state.isDropping,r=n.props,i=r.dragDropEvents,a=r.item;e?i.onDragEnter&&(n._droppingClassNames=i.onDragEnter(a,t)):i.onDragLeave&&i.onDragLeave(a,t),o!==e&&n.setState({isDropping:e})},Ct(n),n._events=new vo(n),n.state={selectionState:bh(t),columnMeasureInfo:void 0,isDropping:!1},n._droppingClassNames="",n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){return Object(u.a)(Object(u.a)({},t),{selectionState:bh(e)})},t.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,n=e.selection,o=e.item,r=e.onDidMount;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getRowDragDropOptions())),n&&this._events.on(n,Zf,this._onSelectionChanged),r&&o&&(this._onDidMountCalled=!0,r(this))},t.prototype.componentDidUpdate=function(e){var t=this.state,n=this.props,o=n.item,r=n.onDidMount,i=t.columnMeasureInfo;if(this.props.itemIndex===e.itemIndex&&this.props.item===e.item&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getRowDragDropOptions()))),i&&i.index>=0&&this._cellMeasurer.current){var a=this._cellMeasurer.current.getBoundingClientRect().width;i.onMeasureDone(a),this.setState({columnMeasureInfo:void 0})}o&&r&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,r(this))},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,n=e.onWillUnmount;n&&t&&n(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},t.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var n=bh(e);return this.state.selectionState.isSelected!==n.isSelected||!uo(this.props,e)}return!0},t.prototype.render=function(){var e,t=this.props,n=t.className,o=t.columns,r=void 0===o?gh:o,i=t.dragDropEvents,a=t.item,s=t.itemIndex,l=t.id,c=t.flatIndexOffset,p=void 0===c?2:c,f=t.onRenderCheck,h=void 0===f?this._onRenderCheck:f,m=t.onRenderDetailsCheckbox,g=t.onRenderItemColumn,v=t.onRenderField,b=t.getCellValueKey,y=t.selectionMode,C=t.checkboxVisibility,_=t.getRowAriaLabel,S=t.getRowAriaDescription,k=t.getRowAriaDescribedBy,x=t.isGridRow,w=t.checkButtonAriaLabel,I=t.checkboxCellClassName,E=t.rowFieldsAs,O=t.selection,T=t.indentWidth,D=t.enableUpdateAnimations,P=t.compact,R=t.theme,M=t.styles,N=t.cellsByColumn,F=t.groupNestingDepth,B=t.useFastIcons,L=void 0===B||B,A=t.cellStyleProps,j=t.group,H=t.focusZoneProps,z=t.disabled,W=void 0!==z&&z,V=this.state,U=V.columnMeasureInfo,K=V.isDropping,G=this.state.selectionState,q=G.isSelected,Y=void 0!==q&&q,Q=G.isSelectionModal,X=void 0!==Q&&Q,Z=i?!(!i.canDrag||!i.canDrag(a)):void 0,$=K?this._droppingClassNames||"is-dropping":"",J=_?_(a):void 0,ee=S?S(a):void 0,te=k?k(a):void 0,ne=!!O&&O.canSelectItem(a,s)&&!W,oe=y===Qf.multiple,re=y!==Qf.none&&C!==xf.hidden,ie=y===Qf.none?void 0:Y,ae=j?s-j.startIndex+1:void 0,se=j?j.count:void 0,le=H?H.direction:Ot.horizontal;this._classNames=Object(u.a)(Object(u.a)({},this._classNames),mh(M,{theme:R,isSelected:Y,canSelect:!oe,anySelected:X,checkboxCellClassName:I,droppingClassName:$,className:n,compact:P,enableUpdateAnimations:D,cellStyleProps:A,disabled:W}));var ce={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};uo(this._rowClassNames||{},ce)||(this._rowClassNames=ce);var ue=E?ps(E,fh):fh,de=d.createElement(ue,{rowClassNames:this._rowClassNames,rowHeaderId:"".concat(l,"-header"),cellsByColumn:N,columns:r,item:a,itemIndex:s,isSelected:Y,columnStartIndex:(re?1:0)+(F?1:0),onRenderItemColumn:g,onRenderField:v,getCellValueKey:b,enableUpdateAnimations:D,cellStyleProps:A}),he=this.props.role?this.props.role:"row";this._ariaRowDescriptionId=bn("DetailsRow-description");var me=r.some((function(e){return!!e.isRowHeader})),ge="".concat(l,"-checkbox")+(me?" ".concat(l,"-header"):""),ve=x?{}:{"aria-level":F&&F+1||void 0,"aria-posinset":ae,"aria-setsize":se};return d.createElement(zn,Object(u.a)({"data-is-focusable":!0},fe(this.props,pe),"boolean"==typeof Z?{"data-is-draggable":Z,draggable:Z}:{},H,ve,{direction:le,elementRef:this._root,componentRef:this._focusZone,role:he,"aria-label":J,"aria-disabled":W||void 0,"aria-describedby":ee?this._ariaRowDescriptionId:te,className:this._classNames.root,"data-selection-index":s,"data-selection-touch-invoke":!0,"data-selection-disabled":null!==(e=this.props["data-selection-disabled"])&&void 0!==e?e:W||void 0,"data-item-index":s,"aria-rowindex":void 0===ae?s+p:void 0,"data-automationid":"DetailsRow","aria-selected":ie,allowFocusRoot:!0}),ee?d.createElement("span",{key:"description",role:"presentation",hidden:!0,id:this._ariaRowDescriptionId},ee):null,re&&d.createElement("div",{role:"gridcell","data-selection-toggle":!0,className:this._classNames.checkCell},h({id:l?"".concat(l,"-checkbox"):void 0,selected:Y,selectionMode:y,anySelected:X,"aria-label":w,"aria-labelledby":l?ge:void 0,canSelect:ne,compact:P,className:this._classNames.check,theme:R,isVisible:C===xf.always,onRenderDetailsCheckbox:m,useFastIcons:L})),d.createElement(Mf,{indentWidth:T,role:"gridcell",count:0===F?-1:F}),a&&de,U&&d.createElement("span",{role:"presentation",className:Me(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},d.createElement(ue,{rowClassNames:this._rowClassNames,rowHeaderId:"".concat(l,"-header"),columns:[U.column],item:a,itemIndex:s,columnStartIndex:(re?1:0)+(F?1:0)+r.length,onRenderItemColumn:g,getCellValueKey:b})))},t.prototype.measureCell=function(e,t){var n=this.props.columns,o=void 0===n?gh:n,r=Object(u.a)({},o[e]);r.minWidth=0,r.maxWidth=999999,delete r.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:r,onMeasureDone:t}})},t.prototype.focus=function(e){var t;return void 0===e&&(e=!1),!!(null===(t=this._focusZone.current)||void 0===t?void 0:t.focus(e))},t.prototype._onRenderCheck=function(e){return d.createElement(oh,Object(u.a)({},e))},t.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,n=e.itemIndex,o=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:n,context:{data:t,index:n},canDrag:o.canDrag,canDrop:o.canDrop,onDragStart:o.onDragStart,updateDropState:this._updateDroppingState,onDrop:o.onDrop,onDragEnd:o.onDragEnd,onDragOver:o.onDragOver}},t}(d.Component);function bh(e){var t,n=e.itemIndex,o=e.selection;return{isSelected:!!(null==o?void 0:o.isIndexSelected(n)),isSelectionModal:!!(null===(t=null==o?void 0:o.isModal)||void 0===t?void 0:t.call(o))}}var yh=k(vh,Rf,void 0,{scope:"DetailsRow"}),Ch=function(e){function t(t){var n=e.call(this,t)||this;n._root=d.createRef(),n.ignoreNextFocus=function(){n._handleNextFocus(!1)},n._onSelectionChange=function(){var e=n.props.selection,t=e.isModal&&e.isModal();n.setState({isModal:t})},n._onMouseDownCapture=function(e){var t=e.target;if(document.activeElement===t||Xt(document.activeElement,t)){if(Xt(t,n._root.current))for(;t!==n._root.current;){if(n._hasAttribute(t,"data-selection-invoke")){n.ignoreNextFocus();break}t=qt(t)}}else n.ignoreNextFocus()},n._onFocus=function(e){var t=e.target,o=n.props.selection,r=n._isCtrlPressed||n._isMetaPressed,i=n._getSelectionMode();if(n._shouldHandleFocus&&i!==Qf.none){var a=n._hasAttribute(t,"data-selection-toggle"),s=n._findItemRoot(t);if(!a&&s){var l=n._getItemIndex(s);void 0===n._getItemSpan(s)&&(r?(o.setIndexSelected(l,o.isIndexSelected(l),!0),n.props.enterModalOnTouch&&n._isTouch&&o.setModal&&(o.setModal(!0),n._setIsTouch(!1))):n.props.isSelectedOnFocus&&n._onItemSurfaceClick("focus",l))}}n._handleNextFocus(!1)},n._onMouseDown=function(e){n._updateModifiers(e);var t=n.props.toggleWithoutModifierPressed,o=e.target,r=n._findItemRoot(o);if(!n._isSelectionDisabled(o))for(;o!==n._root.current&&!n._hasAttribute(o,"data-selection-all-toggle");){if(r){if(n._hasAttribute(o,"data-selection-toggle"))break;if(n._hasAttribute(o,"data-selection-invoke"))break;if(!(o!==r&&!n._shouldAutoSelect(o)||n._isShiftPressed||n._isCtrlPressed||n._isMetaPressed||t)){n._onInvokeMouseDown(e,n._getItemIndex(r),n._getItemSpan(r));break}if(n.props.disableAutoSelectOnInputElements&&("A"===o.tagName||"BUTTON"===o.tagName||"INPUT"===o.tagName))return}o=qt(o)}},n._onTouchStartCapture=function(e){n._setIsTouch(!0)},n._onClick=function(e){var t=n.props.enableTouchInvocationTarget,o=void 0!==t&&t;n._updateModifiers(e);for(var r=e.target,i=n._findItemRoot(r),a=n._isSelectionDisabled(r);r!==n._root.current;){if(n._hasAttribute(r,"data-selection-all-toggle")){a||n._onToggleAllClick(e);break}if(i){var s=n._getItemIndex(i),l=n._getItemSpan(i);if(n._hasAttribute(r,"data-selection-toggle")){a||(n._isShiftPressed?n._onItemSurfaceClick("click",s,l):n._onToggleClick(e,s,l));break}if(n._isTouch&&o&&n._hasAttribute(r,"data-selection-touch-invoke")||n._hasAttribute(r,"data-selection-invoke")){void 0===l&&n._onInvokeClick(e,s);break}if(r===i){a||n._onItemSurfaceClick("click",s,l);break}if("A"===r.tagName||"BUTTON"===r.tagName||"INPUT"===r.tagName)return}r=qt(r)}},n._onContextMenu=function(e){var t=e.target,o=n.props,r=o.onItemContextMenu,i=o.selection;if(r){var a=n._findItemRoot(t);if(a){var s=n._getItemIndex(a);n._onInvokeMouseDown(e,s),r(i.getItems()[s],s,e.nativeEvent)||e.preventDefault()}}},n._onDoubleClick=function(e){var t=e.target,o=n.props.onItemInvoked,r=n._findItemRoot(t);if(r&&o&&!n._isInputElement(t)){for(var i=n._getItemIndex(r);t!==n._root.current&&!n._hasAttribute(t,"data-selection-toggle")&&!n._hasAttribute(t,"data-selection-invoke");){if(t===r){n._onInvokeClick(e,i);break}t=qt(t)}t=qt(t)}},n._onKeyDownCapture=function(e){n._updateModifiers(e),n._handleNextFocus(!0)},n._onKeyDown=function(e){n._updateModifiers(e);var t=e.target,o=n._isSelectionDisabled(t),r=n.props,i=r.selection,a=r.selectionClearedOnEscapePress,s=e.which===E.a&&(n._isCtrlPressed||n._isMetaPressed),l=e.which===E.escape;if(!n._isInputElement(t)){var c=n._getSelectionMode();if(s&&c===Qf.multiple&&!i.isAllSelected())return o||i.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(a&&l&&i.getSelectedCount()>0)return o||i.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var u=n._findItemRoot(t);if(u)for(var d=n._getItemIndex(u),p=n._getItemSpan(u);t!==n._root.current&&!n._hasAttribute(t,"data-selection-toggle");){if(n._shouldAutoSelect(t)){o||void 0!==p||n._onInvokeMouseDown(e,d,p);break}if(!(e.which!==E.enter&&e.which!==E.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName&&"SUMMARY"!==t.tagName))return!1;if(t===u){if(e.which===E.enter)return void(void 0===p&&(n._onInvokeClick(e,d),e.preventDefault()));if(e.which===E.space)return o||n._onToggleClick(e,d,p),void e.preventDefault();break}t=qt(t)}}},n._events=new vo(n),n._async=new wt(n),Ct(n);var o=n.props.selection,r=o.isModal&&o.isModal();return n.state={isModal:r},n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.selection.isModal&&e.selection.isModal();return Object(u.a)(Object(u.a)({},t),{isModal:n})},t.prototype.componentDidMount=function(){var e=Object(N.a)(this._root.current);this._events.on(e,"keydown, keyup",this._updateModifiers,!0),this._events.on(document,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(document.body,"touchstart",this._onTouchStartCapture,!0),this._events.on(document.body,"touchend",this._onTouchStartCapture,!0),this._events.on(this.props.selection,"change",this._onSelectionChange)},t.prototype.render=function(){var e=this.state.isModal;return d.createElement("div",{className:Me("ms-SelectionZone",this.props.className,{"ms-SelectionZone--modal":!!e}),ref:this._root,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onKeyDownCapture:this._onKeyDownCapture,onClick:this._onClick,role:"presentation",onDoubleClick:this._onDoubleClick,onContextMenu:this._onContextMenu,onMouseDownCapture:this._onMouseDownCapture,onFocusCapture:this._onFocus,"data-selection-is-modal":!!e||void 0},this.props.children,d.createElement(Jn,null))},t.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},t.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===Qf.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=qt(e)}return!1},t.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===Qf.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},t.prototype._onToggleClick=function(e,t,n){var o=this.props.selection,r=this._getSelectionMode();if(o.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&(void 0!==n?!o.isRangeSelected(t,n):!o.isIndexSelected(t))&&o.setModal&&(o.setModal(!0),this._setIsTouch(!1)),r===Qf.multiple)void 0!==n?o.toggleRangeSelected(t,n):o.toggleIndexSelected(t);else{if(r!==Qf.single)return void o.setChangeEvents(!0);if(void 0===n||1===n){var i=o.isIndexSelected(t),a=o.isModal&&o.isModal();o.setAllSelected(!1),o.setIndexSelected(t,!i,!0),a&&o.setModal&&o.setModal(!0)}}o.setChangeEvents(!0),e.stopPropagation()},t.prototype._onInvokeClick=function(e,t){var n=this.props,o=n.selection,r=n.onItemInvoked;r&&(r(o.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},t.prototype._onItemSurfaceClick=function(e,t,n){var o,r=this.props,i=r.selection,a=r.toggleWithoutModifierPressed,s=this._isCtrlPressed||this._isMetaPressed,l=this._getSelectionMode();l===Qf.multiple?this._isShiftPressed&&!this._isTabPressed?void 0!==n?null===(o=i.selectToRange)||void 0===o||o.call(i,t,n,!s):i.selectToIndex(t,!s):"click"===e&&(s||a)?void 0!==n?i.toggleRangeSelected(t,n):i.toggleIndexSelected(t):this._clearAndSelectIndex(t,n):l===Qf.single&&this._clearAndSelectIndex(t,n)},t.prototype._onInvokeMouseDown=function(e,t,n){var o=this.props.selection;if(void 0!==n){if(o.isRangeSelected(t,n))return}else if(o.isIndexSelected(t))return;this._clearAndSelectIndex(t,n)},t.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=Pn(this._root.current);this._events.off(document,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(t,"click",this._tryClearOnEmptyClick),(t&&e.target instanceof Node&&t.contains(e.target)||t===e.target)&&this._tryClearOnEmptyClick(e)},t.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},t.prototype._clearAndSelectIndex=function(e,t){var n,o=this.props,r=o.selection,i=o.selectionClearedOnSurfaceClick,a=void 0===i||i;if(!((void 0===t||1===t)&&1===r.getSelectedCount()&&r.isIndexSelected(e))&&a){var s=r.isModal&&r.isModal();r.setChangeEvents(!1),r.setAllSelected(!1),void 0!==t?null===(n=r.setRangeSelected)||void 0===n||n.call(r,e,t,!0,!0):r.setIndexSelected(e,!0,!0),(s||this.props.enterModalOnTouch&&this._isTouch)&&(r.setModal&&r.setModal(!0),this._isTouch&&this._setIsTouch(!1)),r.setChangeEvents(!0)}},t.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;var t=e.keyCode;this._isTabPressed=!!t&&t===E.tab},t.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var n=e.getAttribute("data-selection-index"),o=Number(n);if(null!==n&&o>=0&&o<t.getItems().length)break;e=qt(e)}if(e!==this._root.current)return e},t.prototype._getItemIndex=function(e){var t,n=parseInt(null!==(t=e.getAttribute("data-selection-index"))&&void 0!==t?t:"",10);return isNaN(n)?-1:n},t.prototype._getItemSpan=function(e){var t,n=parseInt(null!==(t=e.getAttribute("data-selection-span"))&&void 0!==t?t:"",10);return isNaN(n)?void 0:n},t.prototype._shouldAutoSelect=function(e){return this._hasAttribute(e,"data-selection-select")},t.prototype._hasAttribute=function(e,t){for(var n=!1;!n&&e!==this._root.current;){var o=e.getAttribute(t);if("false"===o){n=!1;break}n="true"===o,e=qt(e)}return n},t.prototype._isInputElement=function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===e.getAttribute("contenteditable")||""===e.getAttribute("contenteditable")},t.prototype._isNonHandledClick=function(e){var t=Object(O.a)();if(t&&e)for(;e&&e!==t.documentElement;){if(sn(e)||e.hasAttribute("data-selection-index"))return!1;e=qt(e)}return!0},t.prototype._handleNextFocus=function(e){var t=this;this._shouldHandleFocusTimeoutId&&(this._async.clearTimeout(this._shouldHandleFocusTimeoutId),this._shouldHandleFocusTimeoutId=void 0),this._shouldHandleFocus=e,e&&this._async.setTimeout((function(){t._shouldHandleFocus=!1}),100)},t.prototype._setIsTouch=function(e){var t=this;this._isTouchTimeoutId&&(this._async.clearTimeout(this._isTouchTimeoutId),this._isTouchTimeoutId=void 0),this._isTouch=!0,e&&this._async.setTimeout((function(){t._isTouch=!1}),300)},t.prototype._getSelectionMode=function(){var e=this.props.selection,t=this.props.selectionMode;return void 0===t?e?e.mode:Qf.none:t},t.defaultProps={isSelectedOnFocus:!0,toggleWithoutModifierPressed:!1,selectionMode:Qf.multiple,selectionClearedOnEscapePress:!0},t}(d.Component),_h=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0]||{},o=n.onSelectionChanged,r=n.onItemsChanged,i=n.getKey,a=n.canSelectItem,s=void 0===a?function(){return!0}:a,l=n.items,c=n.selectionMode,u=void 0===c?Qf.multiple:c;this.mode=u,this._getKey=i||Sh,this._changeEventSuppressionCount=0,this._exemptedCount=0,this._anchoredIndex=0,this._unselectableCount=0,this._onSelectionChanged=o,this._onItemsChanged=r,this._canSelectItem=s,this._keyToIndexMap={},this._isModal=!1,this.setItems(l||[],!0),this.count=this.getSelectedCount()}return e.prototype.canSelectItem=function(e,t){return!("number"==typeof t&&t<0)&&this._canSelectItem(e,t)},e.prototype.getKey=function(e,t){var n=this._getKey(e,t);return"number"==typeof n||n?"".concat(n):""},e.prototype.setChangeEvents=function(e,t){this._changeEventSuppressionCount+=e?-1:1,0===this._changeEventSuppressionCount&&this._hasChanged&&(this._hasChanged=!1,t||this._change())},e.prototype.isModal=function(){return this._isModal},e.prototype.setModal=function(e){this._isModal!==e&&(this.setChangeEvents(!1),this._isModal=e,e||this.setAllSelected(!1),this._change(),this.setChangeEvents(!0))},e.prototype.setItems=function(e,t){void 0===t&&(t=!0);var n={},o={},r=!1;this.setChangeEvents(!1),this._unselectableCount=0;for(var i=!1,a=0;a<e.length;a++){if(u=e[a])(g=this.getKey(u,a))&&(i||g in this._keyToIndexMap&&this._keyToIndexMap[g]===a||(i=!0),n[g]=a);o[a]=u&&!this.canSelectItem(u),o[a]&&this._unselectableCount++}(t||0===e.length)&&this._setAllSelected(!1,!0);var s={},l=0;for(var c in this._exemptedIndices)if(this._exemptedIndices.hasOwnProperty(c)){var u,d=Number(c),p=(u=this._items[d])?this.getKey(u,Number(d)):void 0,f=p?n[p]:d;void 0===f?r=!0:(s[f]=!0,l++,r=r||f!==d)}if(this._items&&0===this._exemptedCount&&e.length!==this._items.length&&this._isAllSelected&&(r=!0),!i)for(var h=0,m=Object.keys(this._keyToIndexMap);h<m.length;h++){var g;if(!((g=m[h])in n)){i=!0;break}}this._exemptedIndices=s,this._exemptedCount=l,this._keyToIndexMap=n,this._unselectableIndices=o,this._items=e,this._selectedItems=null,r&&this._updateCount(),i&&(vo.raise(this,"items-change"),this._onItemsChanged&&this._onItemsChanged()),r&&this._change(),this.setChangeEvents(!0)},e.prototype.getItems=function(){return this._items},e.prototype.getSelection=function(){if(!this._selectedItems){this._selectedItems=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedItems.push(e[t])}return this._selectedItems},e.prototype.getSelectedCount=function(){return this._isAllSelected?this._items.length-this._exemptedCount-this._unselectableCount:this._exemptedCount},e.prototype.getSelectedIndices=function(){if(!this._selectedIndices){this._selectedIndices=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedIndices.push(t)}return this._selectedIndices},e.prototype.getItemIndex=function(e){var t=this._keyToIndexMap[e];return null!=t?t:-1},e.prototype.isRangeSelected=function(e,t){if(0===t)return!1;for(var n=e+t,o=e;o<n;o++)if(!this.isIndexSelected(o))return!1;return!0},e.prototype.isAllSelected=function(){var e=this._items.length-this._unselectableCount;return this.mode===Qf.single&&(e=Math.min(e,1)),this.count>0&&this._isAllSelected&&0===this._exemptedCount||!this._isAllSelected&&this._exemptedCount===e&&e>0},e.prototype.isKeySelected=function(e){var t=this._keyToIndexMap[e];return this.isIndexSelected(t)},e.prototype.isIndexSelected=function(e){return!!(this.count>0&&this._isAllSelected&&!this._exemptedIndices[e]&&!this._unselectableIndices[e]||!this._isAllSelected&&this._exemptedIndices[e])},e.prototype.setAllSelected=function(e){if(!e||this.mode===Qf.multiple){var t=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),t>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount()),this.setChangeEvents(!0)}},e.prototype.setKeySelected=function(e,t,n){var o=this._keyToIndexMap[e];o>=0&&this.setIndexSelected(o,t,n)},e.prototype.setIndexSelected=function(e,t,n){if(this.mode!==Qf.none&&!((e=Math.min(Math.max(0,e),this._items.length-1))<0||e>=this._items.length)){this.setChangeEvents(!1);var o=this._exemptedIndices[e];!this._unselectableIndices[e]&&(t&&this.mode===Qf.single&&this._setAllSelected(!1,!0),o&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[e],this._exemptedCount--),!o&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[e]=!0,this._exemptedCount++),n&&(this._anchoredIndex=e)),this._updateCount(),this.setChangeEvents(!0)}},e.prototype.setRangeSelected=function(e,t,n,o){if(this.mode!==Qf.none&&(e=Math.min(Math.max(0,e),this._items.length-1),t=Math.min(Math.max(0,t),this._items.length-e),!(e<0||e>=this._items.length||0===t))){this.setChangeEvents(!1);for(var r=e,i=e+t-1,a=(this._anchoredIndex||0)>=i?r:i;r<=i;r++)this.setIndexSelected(r,n,!!o&&r===a);this.setChangeEvents(!0)}},e.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},e.prototype.selectToRange=function(e,t,n){if(this.mode!==Qf.none)if(this.mode!==Qf.single){var o=this._anchoredIndex||0,r=Math.min(e,o),i=Math.max(e+t-1,o);for(this.setChangeEvents(!1),n&&this._setAllSelected(!1,!0);r<=i;r++)this.setIndexSelected(r,!0,!1);this.setChangeEvents(!0)}else 1===t&&this.setIndexSelected(e,!0,!0)},e.prototype.selectToIndex=function(e,t){if(this.mode!==Qf.none)if(this.mode!==Qf.single){var n=this._anchoredIndex||0,o=Math.min(e,n),r=Math.max(e,n);for(this.setChangeEvents(!1),t&&this._setAllSelected(!1,!0);o<=r;o++)this.setIndexSelected(o,!0,!1);this.setChangeEvents(!0)}else this.setIndexSelected(e,!0,!0)},e.prototype.toggleAllSelected=function(){this.setAllSelected(!this.isAllSelected())},e.prototype.toggleKeySelected=function(e){this.setKeySelected(e,!this.isKeySelected(e),!0)},e.prototype.toggleIndexSelected=function(e){this.setIndexSelected(e,!this.isIndexSelected(e),!0)},e.prototype.toggleRangeSelected=function(e,t){if(this.mode!==Qf.none){var n=this.isRangeSelected(e,t),o=e+t;if(!(this.mode===Qf.single&&t>1)){this.setChangeEvents(!1);for(var r=e;r<o;r++)this.setIndexSelected(r,!n,!1);this.setChangeEvents(!0)}}},e.prototype._updateCount=function(e){void 0===e&&(e=!1);var t=this.getSelectedCount();t!==this.count&&(this.count=t,this._change()),this.count||e||this.setModal(!1)},e.prototype._setAllSelected=function(e,t){if(void 0===t&&(t=!1),!e||this.mode===Qf.multiple){var n=this._items?this._items.length-this._unselectableCount:0;this.setChangeEvents(!1),n>0&&(this._exemptedCount>0||e!==this._isAllSelected)&&(this._exemptedIndices={},(e!==this._isAllSelected||this._exemptedCount>0)&&(this._exemptedCount=0,this._isAllSelected=e,this._change()),this._updateCount(t)),this.setChangeEvents(!0)}},e.prototype._change=function(){0===this._changeEventSuppressionCount?(this._selectedItems=null,this._selectedIndices=void 0,vo.raise(this,Zf),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function Sh(e,t){var n=(e||{}).key;return void 0===n?"".concat(t):n}var kh,xh,wh={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},Ih="cubic-bezier(0.445, 0.050, 0.550, 0.950)",Eh=function(e){var t,n,o=e.theme,r=e.className,i=e.compact,a=o.palette,s=Object(p.R)(wh,o);return{root:[s.root,o.fonts.small,{position:"relative",selectors:(t={},t[".".concat(s.listCell)]={minHeight:38},t)},i&&[s.compact,{selectors:(n={},n[".".concat(s.listCell)]={minHeight:32},n)}],r],group:[s.group,{transition:"background-color ".concat(p.c.durationValue2," ").concat(Ih)}],groupIsDropping:{backgroundColor:a.neutralLight}}},Oh={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"},Th="cubic-bezier(0.075, 0.820, 0.165, 1.000)",Dh="cubic-bezier(0.390, 0.575, 0.565, 1.000)",Ph="cubic-bezier(0.600, -0.280, 0.735, 0.045)";!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(kh||(kh={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(xh||(xh={}));var Rh=L(),Mh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,o=e.ariaLabel,r=e.ariaLive,i=e.styles,a=e.label,s=e.theme,l=e.className,c=e.labelPosition,p=o,f=fe(this.props,pe,["size"]),h=n;void 0===h&&void 0!==t&&(h=t===xh.large?kh.large:kh.medium);var m=Rh(i,{theme:s,size:h,className:l,labelPosition:c});return d.createElement("div",Object(u.a)({},f,{className:m.root}),d.createElement("div",{className:m.circle}),a&&d.createElement("div",{className:m.label},a),p&&d.createElement("div",{role:"status","aria-live":r},d.createElement(Tt,null,d.createElement("div",{className:m.screenReaderText},p))))},t.defaultProps={size:kh.medium,ariaLive:"polite",labelPosition:"bottom"},t}(d.Component),Nh={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},Fh=Object(f.c)((function(){return Object(p.bb)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),Bh=k(Mh,(function(e){var t,n=e.theme,o=e.size,r=e.className,i=e.labelPosition,a=n.palette,s=Object(p.R)(Nh,n);return{root:[s.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},r],circle:[s.circle,{boxSizing:"border-box",borderRadius:"50%",border:"1.5px solid "+a.themeLight,borderTopColor:a.themePrimary,animationName:Fh(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[p.m]=Object(u.a)({borderTopColor:"Highlight"},Object(p.S)()),t)},o===kh.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],o===kh.small&&["ms-Spinner--small",{width:16,height:16}],o===kh.medium&&["ms-Spinner--medium",{width:20,height:20}],o===kh.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,n.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:p.ab}}),void 0,{scope:"Spinner"}),Lh=L(),Ah=function(e){function t(t){var n=e.call(this,t)||this;return n._toggleCollapse=function(){var e=n.props,t=e.group,o=e.onToggleCollapse,r=e.isGroupLoading,i=!n.state.isCollapsed,a=!i&&r&&r(t);n.setState({isCollapsed:i,isLoadingVisible:a}),o&&o(t)},n._onKeyUp=function(e){var t=n.props,o=t.group,r=t.onGroupHeaderKeyUp;if(r&&r(e,o),!e.defaultPrevented){var i=n.state.isCollapsed&&e.which===M(E.right,n.props.theme);(!n.state.isCollapsed&&e.which===M(E.left,n.props.theme)||i)&&(n._toggleCollapse(),e.stopPropagation(),e.preventDefault())}},n._onToggleClick=function(e){n._toggleCollapse(),e.stopPropagation(),e.preventDefault()},n._onHeaderClick=function(){var e=n.props,t=e.group,o=e.onGroupHeaderClick;o&&o(t)},n._onRenderTitle=function(e){if(!e.group)return null;var t=e.onRenderName?Po(e.onRenderName,n._onRenderName):n._onRenderName;return d.createElement("div",{className:n._classNames.title,id:n._id,onClick:n._onHeaderClick,role:"gridcell","aria-colspan":n.props.ariaColSpan,"data-selection-invoke":!0},t(e))},n._onRenderName=function(e){var t=e.group;return t?d.createElement(d.Fragment,null,d.createElement("span",null,t.name),d.createElement("span",{className:n._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},n._id=bn("GroupHeader"),n.state={isCollapsed:n.props.group&&n.props.group.isCollapsed,isLoadingVisible:!1},n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){if(e.group){var n=e.group.isCollapsed,o=e.isGroupLoading,r=!n&&o&&o(e.group);return Object(u.a)(Object(u.a)({},t),{isCollapsed:n||!1,isLoadingVisible:r||!1})}return t},t.prototype.render=function(){var e=this.props,t=e.group,n=e.groupLevel,o=void 0===n?0:n,r=e.viewport,i=e.selectionMode,a=e.loadingText,s=e.isSelected,l=void 0!==s&&s,c=e.selected,p=void 0!==c&&c,f=e.indentWidth,h=e.onRenderGroupHeaderCheckbox,m=e.isCollapsedGroupSelectVisible,g=void 0===m||m,v=e.expandButtonProps,b=e.expandButtonIcon,y=e.selectAllButtonProps,C=e.theme,_=e.styles,S=e.className,k=e.compact,x=e.ariaLevel,w=e.ariaPosInSet,I=e.ariaSetSize,E=e.ariaRowIndex,O=e.useFastIcons,T=this.props.onRenderTitle?Po(this.props.onRenderTitle,this._onRenderTitle):this._onRenderTitle,D=O?this._fastDefaultCheckboxRender:this._defaultCheckboxRender,R=h?Po(h,D):D,M=this.state,N=M.isCollapsed,F=M.isLoadingVisible,B=i===Qf.multiple,L=B&&(g||!(t&&t.isCollapsed)),A=p||l,j=P(C);return this._classNames=Lh(_,{theme:C,className:S,selected:A,isCollapsed:N,compact:k}),t?d.createElement("div",{className:this._classNames.root,style:r?{minWidth:r.width}:{},role:"row","aria-level":x,"aria-setsize":I,"aria-posinset":w,"aria-rowindex":E,"data-is-focusable":!0,onKeyUp:this._onKeyUp,"aria-label":t.ariaLabel,"aria-labelledby":t.ariaLabel?void 0:this._id,"aria-expanded":!this.state.isCollapsed,"aria-selected":B?A:void 0,"data-selection-index":t.startIndex,"data-selection-span":t.count},d.createElement("div",{className:this._classNames.groupHeaderContainer,role:"presentation"},L?d.createElement("div",{role:"gridcell"},d.createElement("button",Object(u.a)({"data-is-focusable":!1,type:"button",className:this._classNames.check,role:"checkbox",id:"".concat(this._id,"-check"),"aria-checked":A,"aria-labelledby":"".concat(this._id,"-check ").concat(this._id),"data-selection-toggle":!0},y),R({checked:A,theme:C},R))):i!==Qf.none&&d.createElement(Mf,{indentWidth:jf,count:1}),d.createElement(Mf,{indentWidth:f,count:o}),d.createElement("div",{className:this._classNames.dropIcon,role:"presentation"},d.createElement(Ge,{iconName:"Tag"})),d.createElement("div",{role:"gridcell"},d.createElement("button",Object(u.a)({"data-is-focusable":!1,"data-selection-disabled":!0,type:"button",className:this._classNames.expand,onClick:this._onToggleClick,"aria-expanded":!this.state.isCollapsed},v),d.createElement(Ge,{className:this._classNames.expandIsCollapsed,iconName:b||(j?"ChevronLeftMed":"ChevronRightMed")}))),T(this.props),F&&d.createElement(Bh,{label:a}))):null},t.prototype._defaultCheckboxRender=function(e){return d.createElement(iu,{checked:e.checked})},t.prototype._fastDefaultCheckboxRender=function(e){return d.createElement(jh,{theme:e.theme,checked:e.checked})},t.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},t}(d.Component),jh=d.memo((function(e){return d.createElement(iu,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})})),Hh=k(Ah,(function(e){var t,n,o,r,i,a=e.theme,s=e.className,l=e.selected,c=e.isCollapsed,u=e.compact,d=Tf.cellLeftPadding,f=u?40:48,h=a.semanticColors,m=a.palette,g=a.fonts,v=Object(p.R)(Oh,a),b=[Object(p.Q)(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[v.root,Object(p.Q)(a),a.fonts.medium,{borderBottom:"1px solid ".concat(h.listBackground),cursor:"default",userSelect:"none",selectors:(t={":hover":{background:h.listItemBackgroundHovered,color:h.actionLinkHovered}},t["&:hover .".concat(v.check)]={opacity:1},t[".".concat(Gn.a," &:focus .").concat(v.check)]={opacity:1},t[":global(.".concat(v.group,".").concat(v.isDropping,")")]={selectors:(n={},n["& > .".concat(v.root," .").concat(v.dropIcon)]={transition:"transform ".concat(p.c.durationValue4," ").concat(Th," ")+"opacity ".concat(p.c.durationValue1," ").concat(Dh),transitionDelay:p.c.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},n[".".concat(v.check)]={opacity:0},n)},t)},l&&[v.isSelected,{background:h.listItemBackgroundChecked,selectors:(o={":hover":{background:h.listItemBackgroundCheckedHovered}},o["".concat(v.check)]={opacity:1},o)}],u&&[v.compact,{border:"none"}],s],groupHeaderContainer:[{display:"flex",alignItems:"center",height:f}],headerCount:[{padding:"0px 4px"}],check:[v.check,b,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:jf,height:f,selectors:(r={},r[".".concat(Gn.a," &:focus")]={opacity:1},r)}],expand:[v.expand,b,{display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",fontSize:g.small.fontSize,width:36,height:f,color:l?m.neutralPrimary:m.neutralSecondary,selectors:{":hover":{backgroundColor:l?m.neutralQuaternary:m.neutralLight},":active":{backgroundColor:l?m.neutralTertiaryAlt:m.neutralQuaternaryAlt}}}],expandIsCollapsed:[c?[v.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:P(a)?"rotate(-90deg)":"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[v.title,{paddingLeft:d,fontSize:u?g.medium.fontSize:g.mediumPlus.fontSize,fontWeight:c?p.l.regular:p.l.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}],dropIcon:[v.dropIcon,{position:"absolute",left:-26,fontSize:p.p.large,color:m.neutralSecondary,transition:"transform ".concat(p.c.durationValue2," ").concat(Ph,", ")+"opacity ".concat(p.c.durationValue4," ").concat(Dh),opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:(i={},i[":global(.".concat(v.iconTag,")")]={position:"absolute"},i)}]}}),void 0,{scope:"GroupHeader"}),zh={root:"ms-GroupShowAll",link:"ms-Link"},Wh=L(),Vh=k((function(e){var t=e.group,n=e.groupLevel,o=e.showAllLinkText,r=void 0===o?"Show All":o,i=e.styles,a=e.theme,s=e.onToggleSummarize,l=Wh(i,{theme:a}),c=Object(d.useCallback)((function(e){s(t),e.stopPropagation(),e.preventDefault()}),[s,t]);return t?d.createElement("div",{className:l.root},d.createElement(Mf,{count:n}),d.createElement(co,{onClick:c},r)):null}),(function(e){var t,n=e.theme,o=n.fonts,r=Object(p.R)(zh,n);return{root:[r.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(t={},t[".".concat(r.link)]={fontSize:o.small.fontSize},t)}]}}),void 0,{scope:"GroupShowAll"}),Uh={root:"ms-groupFooter"},Kh=L(),Gh=k((function(e){var t=e.group,n=e.groupLevel,o=e.footerText,r=e.indentWidth,i=e.styles,a=e.theme,s=Kh(i,{theme:a});return t&&o?d.createElement("div",{className:s.root},d.createElement(Mf,{indentWidth:r,count:n}),o):null}),(function(e){var t=e.theme,n=e.className,o=Object(p.R)(Uh,t);return{root:[t.fonts.medium,o.root,{position:"relative",padding:"5px 38px"},n]}}),void 0,{scope:"GroupFooter"}),qh=function(e){function t(n){var o=e.call(this,n)||this;o._root=d.createRef(),o._list=d.createRef(),o._subGroupRefs={},o._droppingClassName="",o._onRenderGroupHeader=function(e){return d.createElement(Hh,Object(u.a)({},e))},o._onRenderGroupShowAll=function(e){return d.createElement(Vh,Object(u.a)({},e))},o._onRenderGroupFooter=function(e){return d.createElement(Gh,Object(u.a)({},e))},o._renderSubGroup=function(e,n){var r=o.props,i=r.dragDropEvents,a=r.dragDropHelper,s=r.eventsToRegister,l=r.getGroupItemLimit,c=r.groupNestingDepth,u=r.groupProps,p=r.items,f=r.headerProps,h=r.showAllProps,m=r.footerProps,g=r.listProps,v=r.onRenderCell,b=r.selection,y=r.selectionMode,C=r.viewport,_=r.onRenderGroupHeader,S=r.onRenderGroupShowAll,k=r.onRenderGroupFooter,x=r.onShouldVirtualize,w=r.group,I=r.compact,E=e.level?e.level+1:c;return!e||e.count>0||u&&u.showEmptyGroups?d.createElement(t,{ref:function(e){return o._subGroupRefs["subGroup_"+n]=e},key:o._getGroupKey(e,n),dragDropEvents:i,dragDropHelper:a,eventsToRegister:s,footerProps:m,getGroupItemLimit:l,group:e,groupIndex:n,groupNestingDepth:E,groupProps:u,headerProps:f,items:p,listProps:g,onRenderCell:v,selection:b,selectionMode:y,showAllProps:h,viewport:C,onRenderGroupHeader:_,onRenderGroupShowAll:S,onRenderGroupFooter:k,onShouldVirtualize:x,groups:w?w.children:[],compact:I}):null},o._getGroupDragDropOptions=function(){var e=o.props,t=e.group,n=e.groupIndex,r=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:n,isGroup:!0},updateDropState:o._updateDroppingState,canDrag:r.canDrag,canDrop:r.canDrop,onDrop:r.onDrop,onDragStart:r.onDragStart,onDragEnter:r.onDragEnter,onDragLeave:r.onDragLeave,onDragEnd:r.onDragEnd,onDragOver:r.onDragOver}},o._updateDroppingState=function(e,t){var n=o.state.isDropping,r=o.props,i=r.dragDropEvents,a=r.group;n!==e&&(n?i&&i.onDragLeave&&i.onDragLeave(a,t):i&&i.onDragEnter&&(o._droppingClassName=i.onDragEnter(a,t)),o.setState({isDropping:e}))};var r=n.selection,i=n.group;return Ct(o),o._id=bn("GroupedListSection"),o.state={isDropping:!1,isSelected:!(!r||!i)&&r.isRangeSelected(i.startIndex,i.count)},o._events=new vo(o),o}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.dragDropHelper,n=e.selection;t&&this._root.current&&(this._dragDropSubscription=t.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())),n&&this._events.on(n,Zf,this._onSelectionChange)},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._dragDropSubscription&&this._dragDropSubscription.dispose()},t.prototype.componentDidUpdate=function(e){this.props.group===e.group&&this.props.groupIndex===e.groupIndex&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&this._root.current&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getGroupDragDropOptions())))},t.prototype.render=function(){var e=this.props,t=e.getGroupItemLimit,n=e.group,o=e.groupIndex,r=e.headerProps,i=e.showAllProps,a=e.footerProps,s=e.viewport,l=e.selectionMode,c=e.onRenderGroupHeader,p=void 0===c?this._onRenderGroupHeader:c,f=e.onRenderGroupShowAll,h=void 0===f?this._onRenderGroupShowAll:f,m=e.onRenderGroupFooter,g=void 0===m?this._onRenderGroupFooter:m,v=e.onShouldVirtualize,b=e.groupedListClassNames,y=e.groups,C=e.compact,_=e.listProps,S=void 0===_?{}:_,k=this.state.isSelected,x=n&&t?t(n):1/0,w=n&&!n.children&&!n.isCollapsed&&!n.isShowingAll&&(n.count>x||n.hasMoreData),I=n&&n.children&&n.children.length>0,E=S.version,O={group:n,groupIndex:o,groupLevel:n?n.level:0,isSelected:k,selected:k,viewport:s,selectionMode:l,groups:y,compact:C},T={groupedListId:this._id,ariaLevel:(null==n?void 0:n.level)?n.level+1:1,ariaSetSize:y?y.length:void 0,ariaPosInSet:void 0!==o?o+1:void 0},D=Object(u.a)(Object(u.a)(Object(u.a)({},r),O),T),P=Object(u.a)(Object(u.a)({},i),O),R=Object(u.a)(Object(u.a)({},a),O),M=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(n)&&!!this.props.dragDropEvents.canDragGroups;return d.createElement("div",Object(u.a)({ref:this._root},M&&{draggable:!0},{className:Me(b&&b.group,this._getDroppingClassName()),role:"presentation"}),p(D,this._onRenderGroupHeader),n&&n.isCollapsed?null:I?d.createElement(Jp,{role:"presentation",ref:this._list,items:n?n.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:v,version:E,id:this._id}):this._onRenderGroup(x),n&&n.isCollapsed?null:w&&h(P,this._onRenderGroupShowAll),g(R,this._onRenderGroupFooter))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this.forceListUpdate()},t.prototype.forceListUpdate=function(){var e=this.props.group;if(this._list.current){if(this._list.current.forceUpdate(),e&&e.children&&e.children.length>0)for(var t=e.children.length,n=0;n<t;n++){var o;(o=this._list.current.pageRefs["subGroup_"+String(n)])&&o.forceListUpdate()}}else(o=this._subGroupRefs["subGroup_"+String(0)])&&o.forceListUpdate()},t.prototype._onSelectionChange=function(){var e=this.props,t=e.group,n=e.selection;if(n&&t){var o=n.isRangeSelected(t.startIndex,t.count);o!==this.state.isSelected&&this.setState({isSelected:o})}},t.prototype._onRenderGroupCell=function(e,t,n){return function(o,r){return e(t,o,r,n)}},t.prototype._onRenderGroup=function(e){var t=this.props,n=t.group,o=t.items,r=t.onRenderCell,i=t.listProps,a=t.groupNestingDepth,s=t.onShouldVirtualize,l=t.groupProps,c=n&&!n.isShowingAll?n.count:o.length,p=n?n.startIndex:0;return d.createElement(Jp,Object(u.a)({role:l&&l.role?l.role:"rowgroup","aria-label":null==n?void 0:n.name,items:o,onRenderCell:this._onRenderGroupCell(r,a,n),ref:this._list,renderCount:Math.min(c,e),startIndex:p,onShouldVirtualize:s,id:this._id},i))},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(e.level)+String(t))},t.prototype._getDroppingClassName=function(){var e=this.state.isDropping,t=this.props,n=t.group,o=t.groupedListClassNames;return Me((e=!(!n||!e))&&this._droppingClassName,e&&"is-dropping",e&&o&&o.groupIsDropping)},t}(d.Component),Yh=L(),Qh=Df.rowHeight,Xh=Df.compactRowHeight,Zh=function(e){function t(t){var n=e.call(this,t)||this;n._list=d.createRef(),n._renderGroup=function(e,t){var o=n.props,r=o.dragDropEvents,i=o.dragDropHelper,a=o.eventsToRegister,s=o.groupProps,l=o.items,c=o.listProps,p=o.onRenderCell,f=o.selectionMode,h=o.selection,m=o.viewport,g=o.onShouldVirtualize,v=o.groups,b=o.compact,y={onToggleSelectGroup:n._onToggleSelectGroup,onToggleCollapse:n._onToggleCollapse,onToggleSummarize:n._onToggleSummarize},C=Object(u.a)(Object(u.a)({},s.headerProps),y),_=Object(u.a)(Object(u.a)({},s.showAllProps),y),S=Object(u.a)(Object(u.a)({},s.footerProps),y),k=n._getGroupNestingDepth();if(!s.showEmptyGroups&&e&&0===e.count)return null;var x=Object(u.a)(Object(u.a)({},c||{}),{version:n.state.version});return d.createElement(qh,{key:n._getGroupKey(e,t),dragDropEvents:r,dragDropHelper:i,eventsToRegister:a,footerProps:S,getGroupItemLimit:s&&s.getGroupItemLimit,group:e,groupIndex:t,groupNestingDepth:k,groupProps:s,headerProps:C,listProps:x,items:l,onRenderCell:p,onRenderGroupHeader:s.onRenderHeader,onRenderGroupShowAll:s.onRenderShowAll,onRenderGroupFooter:s.onRenderFooter,selectionMode:f,selection:h,showAllProps:_,viewport:m,onShouldVirtualize:g,groupedListClassNames:n._classNames,groups:v,compact:b})},n._getDefaultGroupItemLimit=function(e){return e.children&&e.children.length>0?e.children.length:e.count},n._getGroupItemLimit=function(e){var t=n.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:n._getDefaultGroupItemLimit)(e)},n._getGroupHeight=function(e){var t=n.props.compact?Xh:Qh;return t+(e.isCollapsed?0:t*n._getGroupItemLimit(e))},n._getPageHeight=function(e){var t=n.state.groups,o=n.props.getGroupHeight,r=void 0===o?n._getGroupHeight:o,i=t&&t[e];return i?r(i,e):0},n._onToggleCollapse=function(e){var t=n.props.groupProps,o=t&&t.headerProps&&t.headerProps.onToggleCollapse;e&&(o&&o(e),e.isCollapsed=!e.isCollapsed,n._updateIsSomeGroupExpanded(),n.forceUpdate())},n._onToggleSelectGroup=function(e){var t=n.props,o=t.selection,r=t.selectionMode;e&&o&&r===Qf.multiple&&o.toggleRangeSelected(e.startIndex,e.count)},n._isInnerZoneKeystroke=function(e){return e.which===M(E.right)},n._onToggleSummarize=function(e){var t=n.props.groupProps,o=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),n.forceUpdate())},n._getPageSpecification=function(e){var t=n.state.groups,o=t&&t[e];return{key:o&&o.key}},Ct(n),n._isSomeGroupExpanded=n._computeIsSomeGroupExpanded(t.groups);var o=t.listProps,r=(void 0===o?{}:o).version,i=void 0===r?{}:r;return n.state={groups:t.groups,items:t.items,listProps:t.listProps,version:i},n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.groups,o=e.selectionMode,r=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=Object(u.a)(Object(u.a)({},t),{selectionMode:o,compact:r,groups:n,listProps:a,items:i}),c=!1;return s===(t.listProps&&t.listProps.version)&&i===t.items&&n===t.groups&&o===t.selectionMode&&r===t.compact||(c=!0),c&&(l=Object(u.a)(Object(u.a)({},l),{version:{}})),l},t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n)},t.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},t.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,n=e.groups,o=void 0===n?[]:n;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(o,t.isAllGroupsCollapsed)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.usePageCache,o=e.onShouldVirtualize,r=e.theme,i=e.role,a=void 0===i?"treegrid":i,s=e.styles,l=e.compact,c=e.focusZoneProps,p=void 0===c?{}:c,f=e.rootListProps,h=void 0===f?{}:f,m=this.state,g=m.groups,v=m.version;this._classNames=Yh(s,{theme:r,className:t,compact:l});var b=p.shouldEnterInnerZone,y=void 0===b?this._isInnerZoneKeystroke:b;return d.createElement(zn,Object(u.a)({direction:Ot.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},p,{shouldEnterInnerZone:y,className:Me(this._classNames.root,p.className)}),g?d.createElement(Jp,Object(u.a)({ref:this._list,role:a,items:g,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:n,onShouldVirtualize:o,version:v},h)):this._renderGroup(void 0,0))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype.toggleCollapseAll=function(e){var t=this.state.groups,n=void 0===t?[]:t,o=this.props.groupProps,r=o&&o.onToggleCollapseAll;n.length>0&&(r&&r(e),this._setGroupsCollapsedState(n,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},t.prototype._setGroupsCollapsedState=function(e,t){for(var n=0;n<e.length;n++)e[n].isCollapsed=t},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(t))},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.state.groups;t&&t.length>0;)e++,t=t[0].children;return e},t.prototype._forceListUpdates=function(e){this.setState({version:{}})},t.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some((function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed})))},t.prototype._updateIsSomeGroupExpanded=function(){var e=this.state.groups,t=this.props.onGroupExpandStateChanged,n=this._computeIsSomeGroupExpanded(e);this._isSomeGroupExpanded!==n&&(t&&t(n),this._isSomeGroupExpanded=n)},t.defaultProps={selectionMode:Qf.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},t}(d.Component),$h=k(Zh,Eh,void 0,{scope:"GroupedList"});function Jh(e){var t;return e&&(e===window?t={left:0,top:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect&&(t=e.getBoundingClientRect())),t}function em(e){return function(t){function n(e){var n=t.call(this,e)||this;return n._root=d.createRef(),n._registerResizeObserver=function(){var e=Object(N.a)(n._root.current);n._viewportResizeObserver=new e.ResizeObserver(n._onAsyncResize),n._viewportResizeObserver.observe(n._root.current)},n._unregisterResizeObserver=function(){n._viewportResizeObserver&&(n._viewportResizeObserver.disconnect(),delete n._viewportResizeObserver)},n._updateViewport=function(e){var t=n.state.viewport,o=n._root.current,r=Jh(Pn(o)),i=Jh(o);((i&&i.width)!==t.width||(r&&r.height)!==t.height)&&n._resizeAttempts<3&&i&&r?(n._resizeAttempts++,n.setState({viewport:{width:i.width,height:r.height}},(function(){n._updateViewport(e)}))):(n._resizeAttempts=0,e&&n._composedComponentInstance&&n._composedComponentInstance.forceUpdate())},n._async=new wt(n),n._events=new vo(n),n._resizeAttempts=0,n.state={viewport:{width:0,height:0}},n}return Object(u.c)(n,t),n.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.delayFirstMeasure,o=t.disableResizeObserver,r=t.skipViewportMeasures,i=Object(N.a)(this._root.current);this._onAsyncResize=this._async.debounce(this._onAsyncResize,500,{leading:!1}),r||(!o&&this._isResizeObserverAvailable()?this._registerResizeObserver():this._events.on(i,"resize",this._onAsyncResize),n?this._async.setTimeout((function(){e._updateViewport()}),500):this._updateViewport())},n.prototype.componentDidUpdate=function(e){var t=e.skipViewportMeasures,n=this.props,o=n.disableResizeObserver,r=n.skipViewportMeasures,i=Object(N.a)(this._root.current);r!==t&&(r?(this._unregisterResizeObserver(),this._events.off(i,"resize",this._onAsyncResize)):(!o&&this._isResizeObserverAvailable()?this._viewportResizeObserver||this._registerResizeObserver():this._events.on(i,"resize",this._onAsyncResize),this._updateViewport()))},n.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._unregisterResizeObserver()},n.prototype.render=function(){var t=this.state.viewport,n=t.width>0&&t.height>0?t:void 0;return d.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},d.createElement(e,Object(u.a)({ref:this._updateComposedComponentRef,viewport:n},this.props)))},n.prototype.forceUpdate=function(){this._updateViewport(!0)},n.prototype._onAsyncResize=function(){this._updateViewport()},n.prototype._isResizeObserverAvailable=function(){var e=Object(N.a)(this._root.current);return e&&e.ResizeObserver},n}(Da)}var tm=function(e){var t=0;if(e)for(var n=Object(u.e)([],e,!0),o=void 0;n&&n.length>0;)++t,(o=n.pop())&&o.children&&n.push.apply(n,o.children);return t},nm=L(),om={tabIndex:0},rm={},im=function(e){var t=e.selection,n=e.ariaLabelForListHeader,o=e.ariaLabelForSelectAllCheckbox,r=e.ariaLabelForSelectionColumn,i=e.className,a=e.checkboxVisibility,s=e.compact,l=e.constrainMode,c=e.dragDropEvents,p=e.groups,h=e.groupProps,m=e.indentWidth,g=e.items,v=e.isPlaceholderData,b=e.isHeaderVisible,y=e.layoutMode,C=e.onItemInvoked,_=e.onItemContextMenu,S=e.onColumnHeaderClick,k=e.onColumnHeaderContextMenu,x=e.selectionMode,w=void 0===x?t.mode:x,I=e.selectionPreservedOnEmptyClick,O=e.selectionZoneProps,T=e.ariaLabel,D=e.ariaLabelForGrid,P=e.rowElementEventMap,R=e.shouldApplyApplicationRole,N=void 0!==R&&R,F=e.getKey,B=e.listProps,L=e.usePageCache,A=e.onShouldVirtualize,j=e.viewport,H=e.minimumPixelsForDrag,z=e.getGroupHeight,W=e.styles,V=e.theme,U=e.cellStyleProps,K=void 0===U?Tf:U,G=e.onRenderCheckbox,q=e.useFastIcons,Y=e.dragDropHelper,Q=e.adjustedColumns,X=e.isCollapsed,Z=e.isSizing,$=e.isSomeGroupExpanded,J=e.version,ee=e.rootRef,te=e.listRef,ne=e.focusZoneRef,oe=e.columnReorderOptions,re=e.groupedListRef,ie=e.headerRef,ae=e.onGroupExpandStateChanged,se=e.onColumnIsSizingChanged,le=e.onRowDidMount,ce=e.onRowWillUnmount,ue=e.disableSelectionZone,de=e.isSelectedOnFocus,pe=void 0===de||de,fe=e.onColumnResized,he=e.onColumnAutoResized,me=e.onToggleCollapse,ge=e.onActiveRowChanged,ve=e.onBlur,be=e.rowElementEventMap,ye=e.onRenderMissingItem,Ce=e.onRenderItemColumn,_e=e.onRenderField,Se=e.getCellValueKey,ke=e.getRowAriaLabel,xe=e.getRowAriaDescribedBy,we=e.checkButtonAriaLabel,Ie=e.checkButtonGroupAriaLabel,Ee=e.checkboxCellClassName,Oe=e.useReducedRowRenderer,Te=e.enableUpdateAnimations,De=e.enterModalSelectionOnTouch,Pe=e.onRenderDefaultRow,Re=e.selectionZoneRef,Ne=e.focusZoneProps,Fe=e.role?e.role:"grid",Be=bn("row"),Le=function(e){var t=0,n=e;for(;n&&n.length>0;)t++,n=n[0].children;return t}(p),Ae=function(e){return d.useMemo((function(){var t={};if(e)for(var n=1,o=1,r=0,i=e;r<i.length;r++){var a=i[r];t[a.key]={numOfGroupHeadersBeforeItem:o,totalRowCount:n},o++,n+=a.count+1}return t}),[e])}(p),je=d.useMemo((function(){return Object(u.a)({renderedWindowsAhead:Z?0:2,renderedWindowsBehind:Z?0:2,getKey:F,version:J},B)}),[Z,F,J,B]),He=nh.none;if(w===Qf.single&&(He=nh.hidden),w===Qf.multiple){var ze=h&&h.headerProps&&h.headerProps.isCollapsedGroupSelectVisible;void 0===ze&&(ze=!0),He=ze||!p||$?nh.visible:nh.hidden}a===xf.hidden&&(He=nh.none);var We=d.useCallback((function(e){return d.createElement(ph,Object(u.a)({},e))}),[]),Ve=d.useCallback((function(){return null}),[]),Ue=e.onRenderDetailsHeader,Ke=d.useMemo((function(){return Ue?Po(Ue,We):We}),[Ue,We]),Ge=e.onRenderDetailsFooter,qe=d.useMemo((function(){return Ge?Po(Ge,Ve):Ve}),[Ge,Ve]),Ye=d.useMemo((function(){return{columns:Q,groupNestingDepth:Le,selection:t,selectionMode:w,viewport:j,checkboxVisibility:a,indentWidth:m,cellStyleProps:K}}),[Q,Le,t,w,j,a,m,K]),Qe=oe&&oe.onDragEnd,Xe=d.useCallback((function(e,t){var n=e.dropLocation,o=Sf.outside;if(Qe){if(n&&n!==Sf.header)o=n;else if(ee.current){var r=ee.current.getBoundingClientRect();t.clientX>r.left&&t.clientX<r.right&&t.clientY>r.top&&t.clientY<r.bottom&&(o=Sf.surface)}Qe(o)}}),[Qe,ee]),Ze=d.useMemo((function(){if(oe)return Object(u.a)(Object(u.a)({},oe),{onColumnDragEnd:Xe})}),[oe,Xe]),$e=(b?1:0)+(e.onRenderDetailsFooter?1:0)+tm(p)+(g?g.length:0),Je=(He!==nh.none?1:0)+(Q?Q.length:0)+(p?1:0),et=d.useMemo((function(){return nm(W,{theme:V,compact:s,isFixed:y===kf.fixedColumns,isHorizontalConstrained:l===_f.horizontalConstrained,className:i})}),[W,V,s,y,l,i]),tt=h&&h.onRenderFooter,nt=d.useMemo((function(){return tt?function(e,n){return tt(Object(u.a)(Object(u.a)({},e),{columns:Q,groupNestingDepth:Le,indentWidth:m,selection:t,selectionMode:w,viewport:j,checkboxVisibility:a,cellStyleProps:K}),n)}:void 0}),[tt,Q,Le,m,t,w,j,a,K]),ot=h&&h.onRenderHeader,rt=d.useMemo((function(){return ot?function(e,n){var o,r,i=e.groupIndex,s=void 0!==i?null===(r=null===(o=e.groups)||void 0===o?void 0:o[i])||void 0===r?void 0:r.key:void 0,l=void 0!==s&&Ae[s]?Ae[s].totalRowCount:0;return ot(Object(u.a)(Object(u.a)({},e),{columns:Q,groupNestingDepth:Le,indentWidth:m,selection:t,selectionMode:a!==xf.hidden?w:Qf.none,viewport:j,checkboxVisibility:a,cellStyleProps:K,ariaColSpan:Q.length,ariaLevel:void 0,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:void 0!==i?l+(b?1:0):void 0}),n)}:function(e,t){var n,o,r=e.groupIndex,i=void 0!==r?null===(o=null===(n=e.groups)||void 0===n?void 0:n[r])||void 0===o?void 0:o.key:void 0,a=void 0!==i&&Ae[i]?Ae[i].totalRowCount:0;return t(Object(u.a)(Object(u.a)({},e),{ariaColSpan:Q.length,ariaLevel:void 0,ariaPosInSet:void 0,ariaSetSize:void 0,ariaRowCount:void 0,ariaRowIndex:void 0!==r?a+(b?1:0):void 0}))}}),[ot,Q,Le,m,b,t,w,j,a,K,Ae]),it=d.useMemo((function(){var e;return Object(u.a)(Object(u.a)({},h),{role:"grid"===Fe?"rowgroup":"presentation",onRenderFooter:nt,onRenderHeader:rt,headerProps:Object(u.a)(Object(u.a)({},null==h?void 0:h.headerProps),{selectAllButtonProps:Object(u.a)({"aria-label":Ie},null===(e=null==h?void 0:h.headerProps)||void 0===e?void 0:e.selectAllButtonProps)})})}),[h,nt,rt,Ie,Fe]),at=jr((function(){return Object(f.c)((function(e){var t=0;return e.forEach((function(e){return t+=e.calculatedWidth||e.minWidth})),t}))})),st=h&&h.collapseAllVisibility,lt=d.useMemo((function(){return at(Q)}),[Q,at]),ct=d.useCallback((function(n,o,r,i){var l=e.onRenderRow?Po(e.onRenderRow,Pe):Pe,u=i?i.key:void 0,d=u&&Ae[u]?Ae[u].numOfGroupHeadersBeforeItem:0,p="grid"===Fe?void 0:"presentation",f=b||r>0?rm:om,h={item:o,itemIndex:r,flatIndexOffset:(b?2:1)+d,compact:s,columns:Q,groupNestingDepth:n,id:"".concat(Be,"-").concat(r),selectionMode:w,selection:t,onDidMount:le,onWillUnmount:ce,onRenderItemColumn:Ce,onRenderField:_e,getCellValueKey:Se,eventsToRegister:be,dragDropEvents:c,dragDropHelper:Y,viewport:j,checkboxVisibility:a,collapseAllVisibility:st,getRowAriaLabel:ke,getRowAriaDescribedBy:xe,checkButtonAriaLabel:we,checkboxCellClassName:Ee,useReducedRowRenderer:Oe,indentWidth:m,cellStyleProps:K,onRenderDetailsCheckbox:G,enableUpdateAnimations:Te,rowWidth:lt,useFastIcons:q,role:p,isGridRow:!0,focusZoneProps:f};return o?l(h):ye?ye(r,h):null}),[s,Q,w,t,Be,le,ce,Ce,_e,Se,be,c,Y,j,a,st,ke,xe,b,we,Ee,Oe,m,K,G,Te,q,Pe,ye,e.onRenderRow,lt,Fe,Ae]),ut=d.useCallback((function(e){return function(t,n){return ct(e,t,n)}}),[ct]),dt=d.useCallback((function(e){return e.which===M(E.right,V)}),[V]),pt=Object(u.a)(Object(u.a)({},Ne),{componentRef:Ne&&Ne.componentRef?Ne.componentRef:ne,className:Ne&&Ne.className?Me(et.focusZone,Ne.className):et.focusZone,direction:Ne?Ne.direction:Ot.vertical,shouldEnterInnerZone:Ne&&Ne.shouldEnterInnerZone?Ne.shouldEnterInnerZone:dt,onActiveElementChanged:Ne&&Ne.onActiveElementChanged?Ne.onActiveElementChanged:ge,shouldRaiseClicksOnEnter:!1,onBlur:Ne&&Ne.onBlur?Ne.onBlur:ve}),ft=p&&(null==h?void 0:h.groupedListAs)?ps(h.groupedListAs,$h):$h,ht=p?d.createElement(ft,{focusZoneProps:pt,componentRef:re,groups:p,groupProps:it,items:g,onRenderCell:ct,role:"presentation",selection:t,selectionMode:a!==xf.hidden?w:Qf.none,dragDropEvents:c,dragDropHelper:Y,eventsToRegister:P,listProps:je,onGroupExpandStateChanged:ae,usePageCache:L,onShouldVirtualize:A,getGroupHeight:z,compact:s}):d.createElement(zn,Object(u.a)({},pt),d.createElement(Jp,Object(u.a)({ref:te,role:"presentation",items:g,onRenderCell:ut(0),usePageCache:L,onShouldVirtualize:A},je))),mt=d.useCallback((function(e){e.which===E.down&&ne.current&&ne.current.focus()&&(pe&&0===t.getSelectedIndices().length&&t.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())}),[t,ne,pe]),gt=d.useCallback((function(e){e.which!==E.up||e.altKey||ie.current&&ie.current.focus()&&(e.preventDefault(),e.stopPropagation())}),[ie]);return d.createElement("div",Object(u.a)({ref:ee,className:et.root,"data-automationid":"DetailsList","data-is-scrollable":"false"},N?{role:"application"}:{}),d.createElement(Jn,null),d.createElement("div",{role:Fe,"aria-label":D||T,"aria-rowcount":v?0:$e,"aria-colcount":Je,"aria-busy":v},d.createElement("div",{onKeyDown:mt,role:"presentation",className:et.headerWrapper},b&&Ke({componentRef:ie,selectionMode:w,layoutMode:y,selection:t,columns:Q,onColumnClick:S,onColumnContextMenu:k,onColumnResized:fe,onColumnIsSizingChanged:se,onColumnAutoResized:he,groupNestingDepth:Le,isAllCollapsed:X,onToggleCollapseAll:me,ariaLabel:n,ariaLabelForSelectAllCheckbox:o,ariaLabelForSelectionColumn:r,selectAllVisibility:He,collapseAllVisibility:h&&h.collapseAllVisibility,viewport:j,columnReorderProps:Ze,minimumPixelsForDrag:H,cellStyleProps:K,checkboxVisibility:a,indentWidth:m,onRenderDetailsCheckbox:G,rowWidth:at(Q),useFastIcons:q},Ke)),d.createElement("div",{onKeyDown:gt,role:"presentation",className:et.contentWrapper},ue?ht:d.createElement(Ch,Object(u.a)({ref:Re,selection:t,selectionPreservedOnEmptyClick:I,selectionMode:w,isSelectedOnFocus:pe,selectionClearedOnEscapePress:pe,toggleWithoutModifierPressed:!pe,onItemInvoked:C,onItemContextMenu:_,enterModalOnTouch:De},O||{}),ht)),qe(Object(u.a)({},Ye))))},am=function(e){function t(t){var n=e.call(this,t)||this;return n._root=d.createRef(),n._header=d.createRef(),n._groupedList=d.createRef(),n._list=d.createRef(),n._focusZone=d.createRef(),n._selectionZone=d.createRef(),n._onRenderRow=function(e,t){return d.createElement(yh,Object(u.a)({},e))},n._getDerivedStateFromProps=function(e,t){var o=n.props,r=o.checkboxVisibility,i=o.items,a=o.setKey,s=o.selectionMode,l=void 0===s?n._selection.mode:s,c=o.columns,d=o.viewport,p=o.compact,f=o.dragDropEvents,h=(n.props.groupProps||{}).isAllGroupsCollapsed,m=void 0===h?void 0:h,g=e.viewport&&e.viewport.width||0,v=d&&d.width||0,b=e.setKey!==a||void 0===e.setKey,y=!1;e.layoutMode!==n.props.layoutMode&&(y=!0);var C=t;return b&&(n._initialFocusedIndex=e.initialFocusedIndex,C=Object(u.a)(Object(u.a)({},C),{focusedItemIndex:void 0!==n._initialFocusedIndex?n._initialFocusedIndex:-1})),n.props.disableSelectionZone||e.items===i||n._selection.setItems(e.items,b),e.checkboxVisibility===r&&e.columns===c&&g===v&&e.compact===p||(y=!0),C=Object(u.a)(Object(u.a)({},C),n._adjustColumns(e,C,!0)),e.selectionMode!==l&&(y=!0),void 0===m&&e.groupProps&&void 0!==e.groupProps.isAllGroupsCollapsed&&(C=Object(u.a)(Object(u.a)({},C),{isCollapsed:e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!e.groupProps.isAllGroupsCollapsed})),e.dragDropEvents!==f&&(n._dragDropHelper&&n._dragDropHelper.dispose(),n._dragDropHelper=e.dragDropEvents?new rh({selection:n._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,y=!0),y&&(C=Object(u.a)(Object(u.a)({},C),{version:{}})),C},n._onGroupExpandStateChanged=function(e){n.setState({isSomeGroupExpanded:e})},n._onColumnIsSizingChanged=function(e,t){n.setState({isSizing:t})},n._onRowDidMount=function(e){var t=e.props,o=t.item,r=t.itemIndex,i=n._getItemKey(o,r);n._activeRows[i]=e,n._setFocusToRowIfPending(e);var a=n.props.onRowDidMount;a&&a(o,r)},n._onRowWillUnmount=function(e){var t=n.props.onRowWillUnmount,o=e.props,r=o.item,i=o.itemIndex,a=n._getItemKey(r,i);delete n._activeRows[a],t&&t(r,i)},n._onToggleCollapse=function(e){n.setState({isCollapsed:e}),n._groupedList.current&&n._groupedList.current.toggleCollapseAll(e)},n._onColumnResized=function(e,t,o){var r=Math.max(e.minWidth||100,t);n.props.onColumnResize&&n.props.onColumnResize(e,r,o),n._rememberCalculatedWidth(e,r),n.setState(Object(u.a)(Object(u.a)({},n._adjustColumns(n.props,n.state,!0,o)),{version:{}}))},n._onColumnAutoResized=function(e,t){var o=0,r=0,i=Object.keys(n._activeRows).length;for(var a in n._activeRows){if(n._activeRows.hasOwnProperty(a))n._activeRows[a].measureCell(t,(function(a){o=Math.max(o,a),++r===i&&n._onColumnResized(e,o,t)}))}},n._onActiveRowChanged=function(e,t){var o=n.props,r=o.items,i=o.onActiveItemChanged;if(e&&e.getAttribute("data-item-index")){var a=Number(e.getAttribute("data-item-index"));a>=0&&(i&&i(r[a],a,t),n.setState({focusedItemIndex:a}))}},n._onBlur=function(e){n.setState({focusedItemIndex:-1})},Ct(n),n._async=new wt(n),n._activeRows={},n._columnOverrides={},n.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:n._getAdjustedColumns(t,void 0),isSizing:!1,isCollapsed:t.groupProps&&t.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:t.groupProps&&!t.groupProps.isAllGroupsCollapsed,version:{},getDerivedStateFromProps:n._getDerivedStateFromProps},n._selection=t.selection||new _h({onSelectionChanged:void 0,getKey:t.getKey,selectionMode:t.selectionMode}),n.props.disableSelectionZone||n._selection.setItems(t.items,!1),n._dragDropHelper=t.dragDropEvents?new rh({selection:n._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,n._initialFocusedIndex=t.initialFocusedIndex,n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){return t.getDerivedStateFromProps(e,t)},t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n),this._groupedList.current&&this._groupedList.current.scrollToIndex(e,t,n)},t.prototype.focusIndex=function(e,t,n,o){void 0===t&&(t=!1);var r=this.props.items[e];if(r){this.scrollToIndex(e,n,o);var i=this._getItemKey(r,e),a=this._activeRows[i];a&&this._setFocusToRow(a,t)}},t.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},t.prototype.updateColumn=function(e,t){var n,o,r=this.props,i=r.columns,a=void 0===i?[]:i,s=r.selectionMode,l=r.checkboxVisibility,c=r.columnReorderOptions,u=t.width,d=t.newColumnIndex,p=a.findIndex((function(t){return t.key===e.key}));if(u&&this._onColumnResized(e,u,p),void 0!==d&&c){var f=s===Qf.none||l===xf.hidden,h=(l!==xf.hidden?2:1)+p,m=f?h-1:h-2,g=f?d-1:d-2,v=null!==(n=c.frozenColumnCountFromStart)&&void 0!==n?n:0,b=null!==(o=c.frozenColumnCountFromEnd)&&void 0!==o?o:0;if(g>=v&&g<a.length-b)if(c.onColumnDrop){var y={draggedIndex:m,targetIndex:g};c.onColumnDrop(y)}else c.handleColumnReorder&&c.handleColumnReorder(m,g)}},t.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},t.prototype.componentDidUpdate=function(e,t){if((this._notifyColumnsResized(),void 0!==this._initialFocusedIndex)&&(i=this.props.items[this._initialFocusedIndex])){var n=this._getItemKey(i,this._initialFocusedIndex);(o=this._activeRows[n])&&this._setFocusToRowIfPending(o)}if(this.props.items!==e.items&&this.props.items.length>0&&-1!==this.state.focusedItemIndex&&!Xt(this._root.current,document.activeElement,!1)){var o,r=this.state.focusedItemIndex<this.props.items.length?this.state.focusedItemIndex:this.props.items.length-1,i=this.props.items[r];n=this._getItemKey(i,this.state.focusedItemIndex);(o=this._activeRows[n])?this._setFocusToRow(o):this._initialFocusedIndex=r}this.props.onDidUpdate&&this.props.onDidUpdate(this)},t.prototype.render=function(){return d.createElement(im,Object(u.a)({},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}))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.props.groups;t&&t.length>0;)e++,t=t[0].children;return e},t.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},t.prototype._setFocusToRow=function(e,t){void 0===t&&(t=!1),this._selectionZone.current&&this._selectionZone.current.ignoreNextFocus(),this._async.setTimeout((function(){e.focus(t)}),0)},t.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},t.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach((function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)}))},t.prototype._adjustColumns=function(e,t,n,o){var r=this._getAdjustedColumns(e,t,n,o),i=this.props.viewport,a=i&&i.width?i.width:0;return Object(u.a)(Object(u.a)({},t),{adjustedColumns:r,lastWidth:a})},t.prototype._getAdjustedColumns=function(e,t,n,o){var r,i=this,a=e.items,s=e.layoutMode,l=e.selectionMode,c=e.viewport,u=c&&c.width?c.width:0,d=e.columns,p=this.props?this.props.columns:[],f=t?t.lastWidth:-1,h=t?t.lastSelectionMode:void 0;return n||f!==u||h!==l||p&&d!==p?(d=d||sm(a,!0),s===kf.fixedColumns?(r=this._getFixedColumns(d,u,e)).forEach((function(e){i._rememberCalculatedWidth(e,e.calculatedWidth)})):(r=this._getJustifiedColumns(d,u,e)).forEach((function(e){i._getColumnOverride(e.key).currentWidth=e.calculatedWidth})),r):d||[]},t.prototype._getFixedColumns=function(e,t,n){var o=this,r=this.props,i=r.selectionMode,a=void 0===i?this._selection.mode:i,s=r.checkboxVisibility,l=r.flexMargin,c=r.skipViewportMeasures,d=t-(l||0),p=0;e.forEach((function(e){c||!e.flexGrow?d-=e.maxWidth||e.minWidth||100:(d-=e.minWidth||100,p+=e.flexGrow),d-=lm(e,n,!0)}));var f=a!==Qf.none&&s!==xf.hidden?jf:0,h=36*this._getGroupNestingDepth(),m=(d-=f+h)/p;return c||e.forEach((function(e){var t=Object(u.a)(Object(u.a)({},e),o._columnOverrides[e.key]);if(t.flexGrow&&t.maxWidth){var n=t.flexGrow*m+t.minWidth,r=n-t.maxWidth;r>0&&(d+=r,p-=r/(n-t.minWidth)*t.flexGrow)}})),m=d>0?d/p:0,e.map((function(e){var t=Object(u.a)(Object(u.a)({},e),o._columnOverrides[e.key]);return!c&&t.flexGrow&&d<=0||t.calculatedWidth||(!c&&t.flexGrow?(t.calculatedWidth=t.minWidth+t.flexGrow*m,t.calculatedWidth=Math.min(t.calculatedWidth,t.maxWidth||Number.MAX_VALUE)):t.calculatedWidth=t.maxWidth||t.minWidth||100),t}))},t.prototype._getJustifiedColumns=function(e,t,n){var o=this,r=n.selectionMode,i=void 0===r?this._selection.mode:r,a=n.checkboxVisibility,s=n.skipViewportMeasures,l=i!==Qf.none&&a!==xf.hidden?jf:0,c=36*this._getGroupNestingDepth(),d=0,p=0,f=t-(l+c),h=e.map((function(e,t){var r=Object(u.a)(Object(u.a)({},e),{calculatedWidth:e.minWidth||100}),i=Object(u.a)(Object(u.a)({},r),o._columnOverrides[e.key]);return r.isCollapsible||r.isCollapsable||(p+=lm(r,n)),d+=lm(i,n),i}));if(s)return h;for(var m=h.length-1;m>=0&&d>f;){var g=(C=h[m]).minWidth||100,v=d-f;if(C.calculatedWidth-g>=v||!C.isCollapsible&&!C.isCollapsable){var b=C.calculatedWidth;p<f&&(C.calculatedWidth=Math.max(C.calculatedWidth-v,g)),d-=b-C.calculatedWidth}else d-=lm(C,n),h.splice(m,1);m--}for(var y=0;y<h.length&&d<f;y++){var C=h[y],_=y===h.length-1,S=this._columnOverrides[C.key];if(!S||!S.calculatedWidth||_){var k=f-d,x=void 0;if(_)x=k;else{var w=C.maxWidth;g=C.minWidth||w||100;x=w?Math.min(k,w-g):k}C.calculatedWidth=C.calculatedWidth+x,d+=x}}return h},t.prototype._rememberCalculatedWidth=function(e,t){var n=this._getColumnOverride(e.key);n.calculatedWidth=t,n.currentWidth=t},t.prototype._getColumnOverride=function(e){return this._columnOverrides[e]=this._columnOverrides[e]||{}},t.prototype._getItemKey=function(e,t){var n=this.props.getKey,o=void 0;return e&&(o=e.key),n&&(o=n(e,t)),o||(o=t),o},t.defaultProps={layoutMode:kf.justified,selectionMode:Qf.multiple,constrainMode:_f.horizontalConstrained,checkboxVisibility:xf.onHover,isHeaderVisible:!0,compact:!1,useFastIcons:!0},t=Object(u.b)([em],t)}(d.Component);function sm(e,t,n,o,r,i,a,s){var l=[];if(e&&e.length){var c=e[0];for(var u in c)c.hasOwnProperty(u)&&l.push({key:u,name:u,fieldName:u,minWidth:100,maxWidth:300,isCollapsible:!!l.length,isMultiline:void 0!==a&&a,isSorted:o===u,isSortedDescending:!!r,isRowHeader:!1,columnActionsMode:null!=s?s:Cf.clickable,isResizable:t,onColumnClick:n,isGrouped:i===u})}return l}function lm(e,t,n){var o=t.cellStyleProps,r=void 0===o?Tf:o;return(n?0:e.calculatedWidth)+r.cellLeftPadding+r.cellRightPadding+(e.isPadded?r.cellExtraRightPadding:0)}var cm,um={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"},dm=function(e){var t,n,o=e.theme,r=e.className,i=e.isHorizontalConstrained,a=e.compact,s=e.isFixed,l=o.semanticColors,c=Object(p.R)(um,o);return{root:[c.root,o.fonts.small,{position:"relative",color:l.listText,selectors:(t={},t["& .".concat(c.listCell)]={minHeight:38,wordBreak:"break-word"},t)},s&&c.isFixed,a&&[c.compact,{selectors:(n={},n[".".concat(c.listCell)]={minHeight:32},n)}],i&&[c.isHorizontalConstrained,{overflowX:"auto",overflowY:"visible",WebkitOverflowScrolling:"touch"}],r],focusZone:[{display:"inline-block",minWidth:"100%",minHeight:1}],headerWrapper:c.headerWrapper,contentWrapper:c.contentWrapper}},pm=k(am,dm,void 0,{scope:"DetailsList"});!function(e){e[e.normal=0]="normal",e[e.largeHeader=1]="largeHeader",e[e.close=2]="close"}(cm||(cm={}));var fm=p.c.durationValue2,hm={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},mm=L(),gm=function(e){function t(t){var n=e.call(this,t)||this;Ct(n);var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&On()},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&Tn()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,o=e.theme,r=e.styles,i=fe(this.props,pe),a=mm(r,{theme:o,className:n,isDark:t});return d.createElement("div",Object(u.a)({},i,{className:a.root}))},t}(d.Component),vm={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},bm=k(gm,(function(e){var t,n=e.className,o=e.theme,r=e.isNone,i=e.isDark,a=o.palette,s=Object(p.R)(vm,o);return{root:[s.root,o.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[p.m]={border:"1px solid WindowText",opacity:0},t)},r&&{visibility:"hidden"},i&&[s.rootDark,{backgroundColor:a.blackTranslucent40}],n]}}),void 0,{scope:"Overlay"}),ym=Object(f.c)((function(e,t){return{root:Object(p.eb)(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}})),Cm={start:"touchstart",move:"touchmove",stop:"touchend"},_m={start:"mousedown",move:"mousemove",stop:"mouseup"},Sm=function(e){function t(t){var n=e.call(this,t)||this;return n._currentEventType=_m,n._events=[],n._onMouseDown=function(e){var t=d.Children.only(n.props.children).props.onMouseDown;return t&&t(e),n._currentEventType=_m,n._onDragStart(e)},n._onMouseUp=function(e){var t=d.Children.only(n.props.children).props.onMouseUp;return t&&t(e),n._currentEventType=_m,n._onDragStop(e)},n._onTouchStart=function(e){var t=d.Children.only(n.props.children).props.onTouchStart;return t&&t(e),n._currentEventType=Cm,n._onDragStart(e)},n._onTouchEnd=function(e){var t=d.Children.only(n.props.children).props.onTouchEnd;t&&t(e),n._currentEventType=Cm,n._onDragStop(e)},n._onDragStart=function(e){if("number"==typeof e.button&&0!==e.button)return!1;if(!(n.props.handleSelector&&!n._matchesSelector(e.target,n.props.handleSelector)||n.props.preventDragSelector&&n._matchesSelector(e.target,n.props.preventDragSelector))){n._touchId=n._getTouchId(e);var t=n._getControlPosition(e);if(void 0!==t){var o=n._createDragDataFromPosition(t);n.props.onStart&&n.props.onStart(e,o),n.setState({isDragging:!0,lastPosition:t}),n._events=[Ho(document.body,n._currentEventType.move,n._onDrag,!0),Ho(document.body,n._currentEventType.stop,n._onDragStop,!0)]}}},n._onDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=n._getControlPosition(e);if(t){var o=n._createUpdatedDragData(n._createDragDataFromPosition(t)),r=o.position;n.props.onDragChange&&n.props.onDragChange(e,o),n.setState({position:r,lastPosition:t})}},n._onDragStop=function(e){if(n.state.isDragging){var t=n._getControlPosition(e);if(t){var o=n._createDragDataFromPosition(t);n.setState({isDragging:!1,lastPosition:void 0}),n.props.onStop&&n.props.onStop(e,o),n.props.position&&n.setState({position:n.props.position}),n._events.forEach((function(e){return e()}))}}},n.state={isDragging:!1,position:n.props.position||{x:0,y:0},lastPosition:void 0},n}return Object(u.c)(t,e),t.prototype.componentDidUpdate=function(e){!this.props.position||e.position&&this.props.position===e.position||this.setState({position:this.props.position})},t.prototype.componentWillUnmount=function(){this._events.forEach((function(e){return e()}))},t.prototype.render=function(){var e=d.Children.only(this.props.children),t=e.props,n=this.props.position,o=this.state,r=o.position,i=o.isDragging,a=r.x,s=r.y;return n&&!i&&(a=n.x,s=n.y),d.cloneElement(e,{style:Object(u.a)(Object(u.a)({},t.style),{transform:"translate(".concat(a,"px, ").concat(s,"px)")}),className:ym(t.className,this.state.isDragging).root,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd})},t.prototype._getControlPosition=function(e){var t=this._getActiveTouch(e);if(void 0===this._touchId||t){var n=t||e;return{x:n.clientX,y:n.clientY}}},t.prototype._getActiveTouch=function(e){return e.targetTouches&&this._findTouchInTouchList(e.targetTouches)||e.changedTouches&&this._findTouchInTouchList(e.changedTouches)},t.prototype._getTouchId=function(e){var t=e.targetTouches&&e.targetTouches[0]||e.changedTouches&&e.changedTouches[0];if(t)return t.identifier},t.prototype._matchesSelector=function(e,t){if(!e||e===document.body)return!1;var n=e.matches||e.webkitMatchesSelector||e.msMatchesSelector;return!!n&&(n.call(e,t)||this._matchesSelector(e.parentElement,t))},t.prototype._findTouchInTouchList=function(e){if(void 0!==this._touchId)for(var t=0;t<e.length;t++)if(e[t].identifier===this._touchId)return e[t]},t.prototype._createDragDataFromPosition=function(e){var t=this.state.lastPosition;return void 0===t?{delta:{x:0,y:0},lastPosition:e,position:e}:{delta:{x:e.x-t.x,y:e.y-t.y},lastPosition:t,position:e}},t.prototype._createUpdatedDragData=function(e){var t=this.state.position;return{position:{x:t.x+e.delta.x,y:t.y+e.delta.y},delta:e.delta,lastPosition:t}},t}(d.Component);function km(e){var t=d.useState(e),n=t[0],o=t[1];return[n,{setTrue:jr((function(){return function(){o(!0)}})),setFalse:jr((function(){return function(){o(!1)}})),toggle:jr((function(){return function(){o((function(e){return!e}))}}))}]}var xm={x:0,y:0},wm={isOpen:!1,isDarkOverlay:!0,className:"",containerClassName:"",enableAriaHiddenSiblings:!0},Im=L(),Em=d.forwardRef((function(e,t){var n,o,r,i,a,s=H(wm,e),l=s.allowTouchBodyScroll,c=s.className,p=s.children,f=s.containerClassName,h=s.scrollableContentClassName,m=s.elementToFocusOnDismiss,g=s.firstFocusableSelector,v=s.focusTrapZoneProps,b=s.forceFocusInsideTrap,y=s.disableRestoreFocus,C=void 0===y?s.ignoreExternalFocusing:y,_=s.isBlocking,S=s.isAlert,k=s.isClickableOutsideFocusTrap,x=s.isDarkOverlay,w=s.onDismiss,I=s.layerProps,O=s.overlay,T=s.isOpen,D=s.titleAriaId,P=s.styles,R=s.subtitleAriaId,M=s.theme,N=s.topOffsetFixed,F=s.responsiveMode,B=s.onLayerDidMount,L=s.isModeless,A=s.dragOptions,j=s.onDismissed,z=s.enableAriaHiddenSiblings,W=s.popupProps,V=d.useRef(null),U=d.useRef(null),K=Ie(U,null==v?void 0:v.componentRef),G=d.useRef(null),q=Ie(V,t),Y=za(q),Q=wa("ModalFocusTrapZone",null==v?void 0:v.id),X=Mr(),Z=Hu(),$=Z.setTimeout,J=Z.clearTimeout,ee=d.useState(T),te=ee[0],ne=ee[1],oe=d.useState(T),re=oe[0],ie=oe[1],ae=d.useState(xm),se=ae[0],le=ae[1],ce=d.useState(),ue=ce[0],de=ce[1],pe=km(!1),fe=pe[0],he=pe[1],me=he.toggle,ge=he.setFalse,ve=jr((function(){return{onModalCloseTimer:0,allowTouchBodyScroll:l,scrollableContent:null,lastSetCoordinates:xm,events:new vo({})}})),be=(A||{}).keepInBounds,ye=null!=S?S:_&&!L,Ce=void 0===I?"":I.className,_e=Im(P,{theme:M,className:c,containerClassName:f,scrollableContentClassName:h,isOpen:T,isVisible:re,hasBeenOpened:ve.hasBeenOpened,modalRectangleTop:ue,topOffsetFixed:N,isModeless:L,layerClassName:Ce,windowInnerHeight:null==X?void 0:X.innerHeight,isDefaultDragHandle:A&&!A.dragHandleSelector}),Se=Object(u.a)(Object(u.a)({eventBubblingEnabled:!1},I),{onLayerDidMount:I&&I.onLayerDidMount?I.onLayerDidMount:B,insertFirst:(null==I?void 0:I.insertFirst)||L,className:_e.layer}),ke=d.useCallback((function(e){e?ve.allowTouchBodyScroll?In(e,ve.events):wn(e,ve.events):ve.events.off(ve.scrollableContent),ve.scrollableContent=e}),[ve]),xe=function(){var e=G.current,t=null==e?void 0:e.getBoundingClientRect();t&&(N&&de(t.top),be&&(ve.minPosition={x:-t.left,y:-t.top},ve.maxPosition={x:t.left,y:t.top}))},we=d.useCallback((function(e,t){var n=ve.minPosition,o=ve.maxPosition;return be&&n&&o&&(t=Math.max(n[e],t),t=Math.min(o[e],t)),t}),[be,ve]),Ee=function(){var e;ve.lastSetCoordinates=xm,ge(),ve.isInKeyboardMoveMode=!1,ne(!1),le(xm),null===(e=ve.disposeOnKeyUp)||void 0===e||e.call(ve),null==j||j()},Oe=d.useCallback((function(){ge(),ve.isInKeyboardMoveMode=!1}),[ve,ge]),Te=d.useCallback((function(e,t){le((function(e){return{x:we("x",e.x+t.delta.x),y:we("y",e.y+t.delta.y)}}))}),[we]),De=d.useCallback((function(){U.current&&U.current.focus()}),[]);d.useEffect((function(){var e;J(ve.onModalCloseTimer),T&&(requestAnimationFrame((function(){return $(xe,0)})),ne(!0),A&&(e=function(e){e.altKey&&e.ctrlKey&&e.keyCode===E.space&&Xt(ve.scrollableContent,e.target)&&(me(),e.preventDefault(),e.stopPropagation())},ve.disposeOnKeyUp||(ve.events.on(X,"keyup",e,!0),ve.disposeOnKeyUp=function(){ve.events.off(X,"keyup",e,!0),ve.disposeOnKeyUp=void 0})),ve.hasBeenOpened=!0,ie(!0)),!T&&te&&(ve.onModalCloseTimer=$(Ee,1e3*parseFloat(fm)),ie(!1))}),[te,T]),$c((function(){ve.events.dispose()})),function(e,t){d.useImperativeHandle(e.componentRef,(function(){return{focus:function(){t.current&&t.current.focus()}}}),[t])}(s,U);var Pe=d.createElement(eu,Object(u.a)({},v,{id:Q,ref:G,componentRef:K,className:Me(_e.main,null==v?void 0:v.className),elementToFocusOnDismiss:null!==(n=null==v?void 0:v.elementToFocusOnDismiss)&&void 0!==n?n:m,isClickableOutsideFocusTrap:null!==(o=null==v?void 0:v.isClickableOutsideFocusTrap)&&void 0!==o?o:L||k||!_,disableRestoreFocus:null!==(r=null==v?void 0:v.disableRestoreFocus)&&void 0!==r?r:C,forceFocusInsideTrap:(null!==(i=null==v?void 0:v.forceFocusInsideTrap)&&void 0!==i?i:b)&&!L,firstFocusableSelector:(null==v?void 0:v.firstFocusableSelector)||g,focusPreviouslyFocusedInnerElement:null===(a=null==v?void 0:v.focusPreviouslyFocusedInnerElement)||void 0===a||a,onBlur:ve.isInKeyboardMoveMode?function(e){var t,n;null===(t=null==v?void 0:v.onBlur)||void 0===t||t.call(v,e),ve.lastSetCoordinates=xm,ve.isInKeyboardMoveMode=!1,null===(n=ve.disposeOnKeyDown)||void 0===n||n.call(ve)}:void 0}),A&&ve.isInKeyboardMoveMode&&d.createElement("div",{className:_e.keyboardMoveIconContainer},A.keyboardMoveIconProps?d.createElement(Ge,Object(u.a)({},A.keyboardMoveIconProps)):d.createElement(Ge,{iconName:"move",className:_e.keyboardMoveIcon})),d.createElement("div",{ref:ke,className:_e.scrollableContent,"data-is-scrollable":!0},A&&fe&&d.createElement(A.menu,{items:[{key:"move",text:A.moveMenuItemText,onClick:function(){var e=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===E.space)return e.preventDefault(),void e.stopPropagation();var t=e.altKey||e.keyCode===E.escape;if(fe&&t&&ge(),!ve.isInKeyboardMoveMode||e.keyCode!==E.escape&&e.keyCode!==E.enter||(ve.isInKeyboardMoveMode=!1,e.preventDefault(),e.stopPropagation()),ve.isInKeyboardMoveMode){var n=!0,o=function(e){var t=10;return e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1),t}(e);switch(e.keyCode){case E.escape:le(ve.lastSetCoordinates);case E.enter:ve.lastSetCoordinates=xm;break;case E.up:le((function(e){return{x:e.x,y:we("y",e.y-o)}}));break;case E.down:le((function(e){return{x:e.x,y:we("y",e.y+o)}}));break;case E.left:le((function(e){return{x:we("x",e.x-o),y:e.y}}));break;case E.right:le((function(e){return{x:we("x",e.x+o),y:e.y}}));break;default:n=!1}n&&(e.preventDefault(),e.stopPropagation())}};ve.lastSetCoordinates=se,ge(),ve.isInKeyboardMoveMode=!0,ve.events.on(X,"keydown",e,!0),ve.disposeOnKeyDown=function(){ve.events.off(X,"keydown",e,!0),ve.disposeOnKeyDown=void 0}}},{key:"close",text:A.closeMenuItemText,onClick:Ee}],onDismiss:ge,alignTargetEdge:!0,coverTarget:!0,directionalHint:Eo.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:ve.scrollableContent}),p));return te&&Y>=(F||Ta.small)&&d.createElement(Bi,Object(u.a)({ref:q},Se),d.createElement(Ar,Object(u.a)({role:ye?"alertdialog":"dialog",ariaLabelledBy:D,ariaDescribedBy:R,onDismiss:w,shouldRestoreFocus:!C,enableAriaHiddenSiblings:z,"aria-modal":!L},W),d.createElement("div",{className:_e.root,role:L?void 0:"document"},!L&&d.createElement(bm,Object(u.a)({"aria-hidden":!0,isDarkThemed:x,onClick:_?void 0:w,allowTouchBodyScroll:l},O)),A?d.createElement(Sm,{handleSelector:A.dragHandleSelector||"#".concat(Q),preventDragSelector:"button",onStart:Oe,onDragChange:Te,onStop:De,position:se},Pe):Pe)))||null}));Em.displayName="Modal";var Om=k(Em,(function(e){var t,n=e.className,o=e.containerClassName,r=e.scrollableContentClassName,i=e.isOpen,a=e.isVisible,s=e.hasBeenOpened,l=e.modalRectangleTop,c=e.theme,u=e.topOffsetFixed,d=e.isModeless,f=e.layerClassName,h=e.isDefaultDragHandle,m=e.windowInnerHeight,g=c.palette,v=c.effects,b=c.fonts,y=Object(p.R)(hm,c);return{root:[y.root,b.medium,{backgroundColor:"transparent",position:"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity ".concat(fm)},u&&"number"==typeof l&&s&&{alignItems:"flex-start"},i&&y.isOpen,a&&{opacity:1},a&&!d&&{pointerEvents:"auto"},n],main:[y.main,{boxShadow:v.elevation64,borderRadius:v.roundedCorner2,backgroundColor:g.white,boxSizing:"border-box",position:"relative",textAlign:"left",outline:"3px solid transparent",maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",minHeight:"176px",minWidth:"288px",overflowY:"auto",zIndex:d?p.G.Layer:void 0},d&&{pointerEvents:"auto"},u&&"number"==typeof l&&s&&{top:l},h&&{cursor:"move"},o],scrollableContent:[y.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:m},t)},r],layer:d&&[f,y.layer,{pointerEvents:"none"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:b.xLargePlus.fontSize,width:"24px"}}}),void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]});Om.displayName="Modal";var Tm,Dm=L(),Pm=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return this._classNames=Dm(n,{theme:o,className:t}),d.createElement("div",{className:this._classNames.actions},d.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},t.prototype._renderChildrenAsActions=function(){var e=this;return d.Children.map(this.props.children,(function(t){return t?d.createElement("span",{className:e._classNames.action},t):null}))},t}(d.Component),Rm={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},Mm=k(Pm,(function(e){var t=e.className,n=e.theme,o=Object(p.R)(Rm,n);return{actions:[o.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal",verticalAlign:"middle"}}},t],action:[o.action,{margin:"0 4px"}],actionsRight:[o.actionsRight,{alignItems:"center",display:"flex",fontSize:"0",justifyContent:"flex-end",marginRight:"-4px"}]}}),void 0,{scope:"DialogFooter"}),Nm=L(),Fm=d.createElement(Mm,null).type,Bm=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.showCloseButton,o=t.className,r=t.closeButtonAriaLabel,i=t.onDismiss,a=t.subTextId,s=t.subText,l=t.titleProps,c=void 0===l?{}:l,p=t.titleId,f=t.title,h=t.type,m=t.styles,g=t.theme,v=t.draggableHeaderClassName,b=Nm(m,{theme:g,className:o,isLargeHeader:h===cm.largeHeader,isClose:h===cm.close,draggableHeaderClassName:v}),y=this._groupChildren();return s&&(e=d.createElement("p",{className:b.subText,id:a},s)),d.createElement("div",{className:b.content},d.createElement("div",{className:b.header},d.createElement("div",Object(u.a)({id:p,role:"heading","aria-level":1},c,{className:Me(b.title,c.className)}),f),d.createElement("div",{className:b.topButton},this.props.topButtonsProps.map((function(e,t){return d.createElement(Ss,Object(u.a)({key:e.uniqueId||t},e))})),(h===cm.close||n&&h!==cm.largeHeader)&&d.createElement(Ss,{className:b.button,iconProps:{iconName:"Cancel"},ariaLabel:r,onClick:i}))),d.createElement("div",{className:b.inner},d.createElement("div",{className:b.innerContent},e,y.contents),y.footers))},t.prototype._groupChildren=function(){var e={footers:[],contents:[]};return d.Children.map(this.props.children,(function(t){"object"==typeof t&&null!==t&&t.type===Fm?e.footers.push(t):e.contents.push(t)})),e},t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},t=Object(u.b)([Aa],t)}(d.Component),Lm={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"},Am=k(Bm,(function(e){var t,n,o,r=e.className,i=e.theme,a=e.isLargeHeader,s=e.isClose,l=e.hidden,c=e.isMultiline,u=e.draggableHeaderClassName,d=i.palette,f=i.fonts,h=i.effects,m=i.semanticColors,g=Object(p.R)(Lm,i);return{content:[a&&[g.contentLgHeader,{borderTop:"4px solid ".concat(d.themePrimary)}],s&&g.close,{flexGrow:1,overflowY:"hidden"},r],subText:[g.subText,f.medium,{margin:"0 0 24px 0",color:m.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:p.l.regular}],header:[g.header,{position:"relative",width:"100%",boxSizing:"border-box"},s&&g.close,u&&[u,{cursor:"move"}]],button:[g.button,l&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:m.buttonText,fontSize:p.p.medium}}}],inner:[g.inner,{padding:"0 24px 24px",selectors:(t={},t["@media (min-width: ".concat(p.z,"px) and (max-width: ").concat(p.u,"px)")]={padding:"0 16px 16px"},t)}],innerContent:[g.content,{position:"relative",width:"100%"}],title:[g.title,f.xLarge,{color:m.bodyText,margin:"0",minHeight:f.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(n={},n["@media (min-width: ".concat(p.z,"px) and (max-width: ").concat(p.u,"px)")]={padding:"16px 46px 16px 16px"},n)},a&&{color:m.menuHeader},c&&{fontSize:f.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(o={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:m.buttonText},".ms-Dialog-button:hover":{color:m.buttonTextHovered,borderRadius:h.roundedCorner2}},o["@media (min-width: ".concat(p.z,"px) and (max-width: ").concat(p.u,"px)")]={padding:"15px 8px 0 0"},o)}]}}),void 0,{scope:"DialogContent"}),jm=L(),Hm={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1,enableAriaHiddenSiblings:!0},zm={type:cm.normal,className:"",topButtonsProps:[]},Wm=function(e){function t(t){var n=e.call(this,t)||this;return n._getSubTextId=function(){var e=n.props,t=e.ariaDescribedById,o=e.modalProps,r=e.dialogContentProps,i=e.subText,a=o&&o.subtitleAriaId||t;return a||(a=(r&&r.subText||i)&&n._defaultSubTextId),a},n._getTitleTextId=function(){var e=n.props,t=e.ariaLabelledById,o=e.modalProps,r=e.dialogContentProps,i=e.title,a=o&&o.titleAriaId||t;return a||(a=(r&&r.title||i)&&n._defaultTitleTextId),a},n._id=bn("Dialog"),n._defaultTitleTextId=n._id+"-title",n._defaultSubTextId=n._id+"-subText",n}return Object(u.c)(t,e),t.prototype.render=function(){var e,t,n,o,r,i=this.props,a=i.className,s=i.containerClassName,l=i.contentClassName,c=i.elementToFocusOnDismiss,p=i.firstFocusableSelector,f=i.forceFocusInsideTrap,h=i.styles,m=i.hidden,g=i.disableRestoreFocus,v=void 0===g?i.ignoreExternalFocusing:g,b=i.isBlocking,y=i.isClickableOutsideFocusTrap,C=i.isDarkOverlay,_=i.isOpen,S=void 0===_?!m:_,k=i.onDismiss,x=i.onDismissed,w=i.onLayerDidMount,I=i.responsiveMode,E=i.subText,O=i.theme,T=i.title,D=i.topButtonsProps,P=i.type,R=i.minWidth,M=i.maxWidth,N=i.modalProps,F=Object(u.a)({onLayerDidMount:w},null==N?void 0:N.layerProps);(null==N?void 0:N.dragOptions)&&!(null===(e=N.dragOptions)||void 0===e?void 0:e.dragHandleSelector)&&(o="ms-Dialog-draggable-header",(r=Object(u.a)({},N.dragOptions)).dragHandleSelector=".".concat(o));var B=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},Hm),{elementToFocusOnDismiss:c,firstFocusableSelector:p,forceFocusInsideTrap:f,disableRestoreFocus:v,isClickableOutsideFocusTrap:y,responsiveMode:I,className:a,containerClassName:s,isBlocking:b,isDarkOverlay:C,onDismissed:x}),N),{dragOptions:r,layerProps:F,isOpen:S}),L=Object(u.a)(Object(u.a)(Object(u.a)({className:l,subText:E,title:T,topButtonsProps:D,type:P},zm),i.dialogContentProps),{draggableHeaderClassName:o,titleProps:Object(u.a)({id:(null===(t=i.dialogContentProps)||void 0===t?void 0:t.titleId)||this._defaultTitleTextId},null===(n=i.dialogContentProps)||void 0===n?void 0:n.titleProps)}),A=jm(h,{theme:O,className:B.className,containerClassName:B.containerClassName,hidden:m,dialogDefaultMinWidth:R,dialogDefaultMaxWidth:M});return d.createElement(Om,Object(u.a)({},B,{className:A.root,containerClassName:A.main,onDismiss:k||B.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),d.createElement(Am,Object(u.a)({subTextId:this._defaultSubTextId,showCloseButton:B.isBlocking,onDismiss:k},L),i.children))},t.defaultProps={hidden:!0},t=Object(u.b)([Aa],t)}(d.Component),Vm={root:"ms-Dialog"},Um=k(Wm,(function(e){var t,n=e.className,o=e.containerClassName,r=e.dialogDefaultMinWidth,i=void 0===r?"288px":r,a=e.dialogDefaultMaxWidth,s=void 0===a?"340px":a,l=e.hidden,c=e.theme;return{root:[Object(p.R)(Vm,c).root,c.fonts.medium,n],main:[{width:i,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: ".concat(p.y,"px)")]={width:"auto",maxWidth:s,minWidth:i},t)},!l&&{display:"flex"},o]}}),void 0,{scope:"Dialog"});Um.displayName="Dialog",function(e){e[e.normal=0]="normal",e[e.compact=1]="compact"}(Tm||(Tm={}));var Km,Gm=L(),qm=d.createContext({}),Ym=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=d.createRef(),n._onClick=function(e){n._onAction(e)},n._onKeyDown=function(e){e.which!==E.enter&&e.which!==E.space||n._onAction(e)},n._onAction=function(e){var t=n.props,o=t.onClick,r=t.onClickHref,i=t.onClickTarget;o?o(e):!o&&r&&(i?window.open(r,i,"noreferrer noopener nofollow"):window.location.href=r,e.preventDefault(),e.stopPropagation())},Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.onClick,o=t.onClickHref,r=t.children,i=t.type,a=t.accentColor,s=t.styles,l=t.theme,c=t.className,p=fe(this.props,pe,["className","onClick","type","role"]),f=!(!n&&!o);this._classNames=Gm(s,{theme:l,className:c,actionable:f,compact:i===Tm.compact}),i===Tm.compact&&a&&(e={borderBottomColor:a});var h={role:this.props.role||(f?n?"button":"link":void 0),tabIndex:f?0:void 0};return d.createElement("div",Object(u.a)({ref:this._rootElement,role:"group",className:this._classNames.root,onKeyDown:f?this._onKeyDown:void 0,onClick:f?this._onClick:void 0,style:e},p),d.createElement(qm.Provider,{value:h},r))},t.prototype.focus=function(){this._rootElement.current&&this._rootElement.current.focus()},t.defaultProps={type:Tm.normal},t}(d.Component),Qm={root:"ms-DocumentCardPreview",icon:"ms-DocumentCardPreview-icon",iconContainer:"ms-DocumentCardPreview-iconContainer"},Xm={root:"ms-DocumentCardActivity",multiplePeople:"ms-DocumentCardActivity--multiplePeople",details:"ms-DocumentCardActivity-details",name:"ms-DocumentCardActivity-name",activity:"ms-DocumentCardActivity-activity",avatars:"ms-DocumentCardActivity-avatars",avatar:"ms-DocumentCardActivity-avatar"},Zm={root:"ms-DocumentCardTitle"},$m={root:"ms-DocumentCardLocation"},Jm={root:"ms-DocumentCard",rootActionable:"ms-DocumentCard--actionable",rootCompact:"ms-DocumentCard--compact"},eg=k(Ym,(function(e){var t,n,o=e.className,r=e.theme,i=e.actionable,a=e.compact,s=r.palette,l=r.fonts,c=r.effects,u=Object(p.R)(Jm,r);return{root:[u.root,{WebkitFontSmoothing:"antialiased",backgroundColor:s.white,border:"1px solid ".concat(s.neutralLight),maxWidth:"320px",minWidth:"206px",userSelect:"none",position:"relative",selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(Gn.a," &:focus")]=Object(p.V)(s.neutralSecondary,c.roundedCorner2),t[".".concat($m.root," + .").concat(Zm.root)]={paddingTop:"4px"},t)},i&&[u.rootActionable,{selectors:{":hover":{cursor:"pointer",borderColor:s.neutralTertiaryAlt},":hover:after":{content:'" "',position:"absolute",top:0,right:0,bottom:0,left:0,border:"1px solid ".concat(s.neutralTertiaryAlt),pointerEvents:"none"}}}],a&&[u.rootCompact,{display:"flex",maxWidth:"480px",height:"108px",selectors:(n={},n[".".concat(Qm.root)]={borderRight:"1px solid ".concat(s.neutralLight),borderBottom:0,maxHeight:"106px",maxWidth:"144px"},n[".".concat(Qm.icon)]={maxHeight:"32px",maxWidth:"32px"},n[".".concat(Xm.root)]={paddingBottom:"12px"},n[".".concat(Zm.root)]={paddingBottom:"12px 16px 8px 16px",fontSize:l.mediumPlus.fontSize,lineHeight:"16px"},n)}],o]}}),void 0,{scope:"DocumentCard"}),tg=L(),ng=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.actions,o=t.views,r=t.styles,i=t.theme,a=t.className;return this._classNames=tg(r,{theme:i,className:a}),d.createElement("div",{className:this._classNames.root},n&&n.map((function(t,n){return d.createElement("div",{className:e._classNames.action,key:n},d.createElement(Ss,Object(u.a)({},t)))})),o>0&&d.createElement("div",{className:this._classNames.views},d.createElement(Ge,{iconName:"View",className:this._classNames.viewsIcon}),o))},t}(d.Component),og={root:"ms-DocumentCardActions",action:"ms-DocumentCardActions-action",views:"ms-DocumentCardActions-views"},rg=k(ng,(function(e){var t=e.className,n=e.theme,o=n.palette,r=n.fonts,i=Object(p.R)(og,n);return{root:[i.root,{height:"".concat(34,"px"),padding:"".concat(4,"px ").concat(12,"px"),position:"relative"},t],action:[i.action,{float:"left",marginRight:"4px",color:o.neutralSecondary,cursor:"pointer",selectors:{".ms-Button":{fontSize:r.mediumPlus.fontSize,height:34,width:34},".ms-Button:hover .ms-Button-icon":{color:n.semanticColors.buttonText,cursor:"pointer"}}}],views:[i.views,{textAlign:"right",lineHeight:34}],viewsIcon:{marginRight:"8px",fontSize:r.medium.fontSize,verticalAlign:"top"}}}),void 0,{scope:"DocumentCardActions"}),ig=L(),ag=k(function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.activity,n=e.people,o=e.styles,r=e.theme,i=e.className;return this._classNames=ig(o,{theme:r,className:i,multiplePeople:n.length>1}),n&&0!==n.length?d.createElement("div",{className:this._classNames.root},this._renderAvatars(n),d.createElement("div",{className:this._classNames.details},d.createElement("span",{className:this._classNames.name},this._getNameString(n)),d.createElement("span",{className:this._classNames.activity},t))):null},t.prototype._renderAvatars=function(e){return d.createElement("div",{className:this._classNames.avatars},e.length>1?this._renderAvatar(e[1]):null,this._renderAvatar(e[0]))},t.prototype._renderAvatar=function(e){return d.createElement("div",{className:this._classNames.avatar},d.createElement(mt,{imageInitials:e.initials,text:e.name,imageUrl:e.profileImageSrc,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,role:"presentation",size:Ne.size32}))},t.prototype._getNameString=function(e){var t=e[0].name;return e.length>=2&&(t+=" +"+(e.length-1)),t},t}(d.Component),(function(e){var t=e.theme,n=e.className,o=e.multiplePeople,r=t.palette,i=t.fonts,a=Object(p.R)(Xm,t);return{root:[a.root,o&&a.multiplePeople,{padding:"".concat(8,"px ").concat(16,"px"),position:"relative"},n],avatars:[a.avatars,{marginLeft:"-2px",height:"32px"}],avatar:[a.avatar,{display:"inline-block",verticalAlign:"top",position:"relative",textAlign:"center",width:32,height:32,selectors:{"&:after":{content:'" "',position:"absolute",left:"-1px",top:"-1px",right:"-1px",bottom:"-1px",border:"2px solid ".concat(r.white),borderRadius:"50%"},":nth-of-type(2)":o&&{marginLeft:"-16px"}}}],details:[a.details,{left:"".concat(o?72:56,"px"),height:32,position:"absolute",top:8,width:"calc(100% - ".concat(72,"px)")}],name:[a.name,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralPrimary,fontWeight:p.l.semibold}],activity:[a.activity,{display:"block",fontSize:i.small.fontSize,lineHeight:"15px",height:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:r.neutralSecondary}]}}),void 0,{scope:"DocumentCardActivity"}),sg=L(),lg=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.styles,o=e.theme,r=e.className;return this._classNames=sg(n,{theme:o,className:r}),d.createElement("div",{className:this._classNames.root},t)},t}(d.Component),cg={root:"ms-DocumentCardDetails"},ug=k(lg,(function(e){var t=e.className,n=e.theme;return{root:[Object(p.R)(cg,n).root,{display:"flex",flexDirection:"column",flex:1,justifyContent:"space-between",overflow:"hidden"},t]}}),void 0,{scope:"DocumentCardDetails"}),dg=L(),pg=function(e){function t(t){var n=e.call(this,t)||this;return n._onImageLoad=function(){n.setState({imageHasLoaded:!0})},Ct(n),n.state={imageHasLoaded:!1},n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.width,o=e.height,r=e.imageFit,i=e.imageSrc;return this._classNames=dg(t,this.props),d.createElement("div",{className:this._classNames.root},i&&d.createElement(Pe,{width:n,height:o,imageFit:r,src:i,role:"presentation",alt:"",onLoad:this._onImageLoad}),this.state.imageHasLoaded?this._renderCornerIcon():this._renderCenterIcon())},t.prototype._renderCenterIcon=function(){var e=this.props.iconProps;return d.createElement("div",{className:this._classNames.centeredIconWrapper},d.createElement(Ge,Object(u.a)({className:this._classNames.centeredIcon},e)))},t.prototype._renderCornerIcon=function(){var e=this.props.iconProps;return d.createElement(Ge,Object(u.a)({className:this._classNames.cornerIcon},e))},t}(d.Component),fg=k(pg,(function(e){var t=e.theme,n=e.className,o=e.height,r=e.width,i=t.palette;return{root:[{borderBottom:"1px solid ".concat(i.neutralLight),position:"relative",backgroundColor:i.neutralLighterAlt,overflow:"hidden",height:o&&"".concat(o,"px"),width:r&&"".concat(r,"px")},n],centeredIcon:[{height:"42px",width:"42px",fontSize:"42px"}],centeredIconWrapper:[{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0}],cornerIcon:[{left:"10px",bottom:"10px",height:"32px",width:"32px",fontSize:"32px",position:"absolute",overflow:"visible"}]}}),void 0,{scope:"DocumentCardImage"}),hg=L(),mg=k(function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.locationHref,o=e.ariaLabel,r=e.onClick,i=e.styles,a=e.theme,s=e.className;return this._classNames=hg(i,{theme:a,className:s}),d.createElement("a",{className:this._classNames.root,href:n,onClick:r,"aria-label":o},t)},t}(d.Component),(function(e){var t=e.theme,n=e.className,o=t.palette,r=t.fonts;return{root:[Object(p.R)($m,t).root,r.small,{color:o.themePrimary,display:"block",fontWeight:p.l.semibold,overflow:"hidden",padding:"8px 16px",position:"relative",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:{":hover":{color:o.themePrimary,cursor:"pointer"}}},n]}}),void 0,{scope:"DocumentCardLocation"}),gg=L(),vg=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.logoIcon,n=e.styles,o=e.theme,r=e.className;return this._classNames=gg(n,{theme:o,className:r}),d.createElement("div",{className:this._classNames.root},d.createElement(Ge,{iconName:t}))},t}(d.Component),bg={root:"ms-DocumentCardLogo"},yg=k(vg,(function(e){var t=e.theme,n=e.className,o=t.palette,r=t.fonts;return{root:[Object(p.R)(bg,t).root,{fontSize:r.xxLargePlus.fontSize,color:o.themePrimary,display:"block",padding:"16px 16px 0 16px"},n]}}),void 0,{scope:"DocumentCardLogo"}),Cg=L(),_g=k(function(e){function t(t){var n=e.call(this,t)||this;return n._renderPreviewList=function(e){var t=n.props,o=t.getOverflowDocumentCountText,r=t.maxDisplayCount,i=void 0===r?3:r,a=e.length-i,s=a?o?o(a):"+"+a:null,l=e.slice(0,i).map((function(e,t){return d.createElement("li",{key:t},d.createElement(Pe,{className:n._classNames.fileListIcon,src:e.iconSrc,role:"presentation",alt:"",width:"16px",height:"16px"}),d.createElement(co,Object(u.a)({className:n._classNames.fileListLink,href:e.url},e.linkProps),e.name))}));return d.createElement("div",null,d.createElement("ul",{className:n._classNames.fileList},l),s&&d.createElement("span",{className:n._classNames.fileListOverflowText},s))},Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e,t,n=this.props,o=n.previewImages,r=n.styles,i=n.theme,a=n.className,s=o.length>1;return this._classNames=Cg(r,{theme:i,className:a,isFileList:s}),o.length>1?t=this._renderPreviewList(o):1===o.length&&(t=this._renderPreviewImage(o[0]),o[0].accentColor&&(e={borderBottomColor:o[0].accentColor})),d.createElement("div",{className:this._classNames.root,style:e},t)},t.prototype._renderPreviewImage=function(e){var t=e.width,n=e.height,o=e.imageFit,r=e.previewIconProps,i=e.previewIconContainerClass;if(r)return d.createElement("div",{className:Me(this._classNames.previewIcon,i),style:{width:t,height:n}},d.createElement(Ge,Object(u.a)({},r)));var a,s=d.createElement(Pe,{width:t,height:n,imageFit:o,src:e.previewImageSrc,role:"presentation",alt:""});return e.iconSrc&&(a=d.createElement(Pe,{className:this._classNames.icon,src:e.iconSrc,role:"presentation",alt:""})),d.createElement("div",null,s,a)},t}(d.Component),(function(e){var t,n,o=e.theme,r=e.className,i=e.isFileList,a=o.palette,s=o.fonts,l=Object(p.R)(Qm,o);return{root:[l.root,s.small,{backgroundColor:i?a.white:a.neutralLighterAlt,borderBottom:"1px solid ".concat(a.neutralLight),overflow:"hidden",position:"relative"},r],previewIcon:[l.iconContainer,{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}],icon:[l.icon,{left:"10px",bottom:"10px",position:"absolute"}],fileList:{padding:"16px 16px 0 16px",listStyleType:"none",margin:0,selectors:{li:{height:"16px",lineHeight:"16px",display:"flex",flexWrap:"nowrap",alignItems:"center",marginBottom:"8px",overflow:"hidden"}}},fileListIcon:{display:"inline-block",flexShrink:0,marginRight:"8px"},fileListLink:[Object(p.Q)(o,{highContrastStyle:{border:"1px solid WindowText",outline:"none"}}),{boxSizing:"border-box",color:a.neutralDark,flexGrow:1,overflow:"hidden",display:"inline-block",textDecoration:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",selectors:(t={":hover":{color:a.themePrimary}},t[".".concat(Gn.a," &:focus")]={selectors:(n={},n[p.m]={outline:"none"},n)},t)}],fileListOverflowText:{padding:"0px 16px 8px 16px",display:"block"}}}),void 0,{scope:"DocumentCardPreview"}),Sg=L(),kg=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.statusIcon,n=e.status,o=e.styles,r=e.theme,i=e.className,a={iconName:t,styles:{root:{padding:"8px"}}};return this._classNames=Sg(o,{theme:r,className:i}),d.createElement("div",{className:this._classNames.root},t&&d.createElement(Ge,Object(u.a)({},a)),n)},t}(d.Component),xg={root:"ms-DocumentCardStatus"},wg=k(kg,(function(e){var t=e.className,n=e.theme,o=n.palette,r=n.fonts;return{root:[Object(p.R)(xg,n).root,r.medium,{margin:"8px 16px",color:o.neutralPrimary,backgroundColor:o.neutralLighter,height:"32px"},t]}}),void 0,{scope:"DocumentCardStatus"}),Ig=L(),Eg=k(function(e){function t(t){var n=e.call(this,t)||this;return n._titleElement=d.createRef(),n._truncateTitle=function(){n._needMeasurement&&n._async.requestAnimationFrame(n._truncateWhenInAnimation)},n._truncateWhenInAnimation=function(){var e=n.props.title,t=n._titleElement.current;if(t){var o=getComputedStyle(t);if(o.width&&o.lineHeight&&o.height){var r=t.clientWidth,i=t.scrollWidth;n._clientWidth=r;var a=Math.floor((parseInt(o.height,10)+5)/parseInt(o.lineHeight,10));t.style.whiteSpace="";var s=i/(parseInt(o.width,10)*a);if(s>1){var l=e.length/s-3;return n.setState({truncatedTitleFirstPiece:e.slice(0,l/2),truncatedTitleSecondPiece:e.slice(e.length-l/2)})}}}},n._shrinkTitle=function(){var e=n.state,t=e.truncatedTitleFirstPiece,o=e.truncatedTitleSecondPiece;if(t&&o){var r=n._titleElement.current;if(!r)return;(r.scrollHeight>r.clientHeight+5||r.scrollWidth>r.clientWidth)&&n.setState({truncatedTitleFirstPiece:t.slice(0,t.length-1),truncatedTitleSecondPiece:o.slice(1)})}},Ct(n),n._async=new wt(n),n._events=new vo(n),n._clientWidth=void 0,n.state={truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0},n}return Object(u.c)(t,e),t.prototype.componentDidUpdate=function(e){var t=this;this.props.title!==e.title&&this.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0}),e.shouldTruncate!==this.props.shouldTruncate?this.props.shouldTruncate?(this._truncateTitle(),this._async.requestAnimationFrame(this._shrinkTitle),this._events.on(window,"resize",this._updateTruncation)):this._events.off(window,"resize",this._updateTruncation):this._needMeasurement&&this._async.requestAnimationFrame((function(){t._truncateWhenInAnimation(),t._shrinkTitle()}))},t.prototype.componentDidMount=function(){this.props.shouldTruncate&&(this._truncateTitle(),this._events.on(window,"resize",this._updateTruncation))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},t.prototype.render=function(){var e=this,t=this.props,n=t.title,o=t.shouldTruncate,r=t.showAsSecondaryTitle,i=t.styles,a=t.theme,s=t.className,l=this.state,c=l.truncatedTitleFirstPiece,u=l.truncatedTitleSecondPiece;return this._classNames=Ig(i,{theme:a,className:s,showAsSecondaryTitle:r}),o&&c&&u?d.createElement(qm.Consumer,null,(function(t){var o=t.role,r=t.tabIndex;return d.createElement("div",{className:e._classNames.root,ref:e._titleElement,title:n,tabIndex:r,role:o},c,"…",u)})):d.createElement(qm.Consumer,null,(function(t){var o=t.role,r=t.tabIndex;return d.createElement("div",{className:e._classNames.root,ref:e._titleElement,title:n,tabIndex:r,role:o,style:e._needMeasurement?{whiteSpace:"nowrap"}:void 0},n)}))},Object.defineProperty(t.prototype,"_needMeasurement",{get:function(){return!!this.props.shouldTruncate&&void 0===this._clientWidth},enumerable:!1,configurable:!0}),t.prototype._updateTruncation=function(){var e=this;this._timerId||(this._timerId=this._async.setTimeout((function(){delete e._timerId,e._clientWidth=void 0,e.setState({truncatedTitleFirstPiece:void 0,truncatedTitleSecondPiece:void 0})}),250))},t}(d.Component),(function(e){var t,n=e.theme,o=e.className,r=e.showAsSecondaryTitle,i=n.palette,a=n.fonts,s=n.effects;return{root:[Object(p.R)(Zm,n).root,r?a.medium:a.large,{padding:"8px 16px",display:"block",overflow:"hidden",position:"relative",wordWrap:"break-word",height:r?"45px":"38px",lineHeight:r?"18px":"21px",color:r?i.neutralSecondary:i.neutralPrimary,selectors:(t={":focus":{outline:"0px solid"}},t[".".concat(Gn.a," &:focus")]=Object(p.V)(i.neutralSecondary,s.roundedCorner2),t)},o]}}),void 0,{scope:"DocumentCardTitle"}),Og=function(e){var t;return function(n){t||(t=new Set,yt(e,{componentWillUnmount:function(){t.forEach((function(e){return cancelAnimationFrame(e)}))}}));var o=requestAnimationFrame((function(){t.delete(o),n()}));t.add(o)}},Tg=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],n=[],o=0,r=0;r<e.length;r++){var i=e[r],a=i.itemType,s=i.hidden;a===yp.Divider||a===yp.Header?(t.push(r),n.push(r)):s?n.push(r):o++}this._size=o,this._displayOnlyOptionsCache=t,this._notSelectableOptionsCache=n,this._cachedOptions=Object(u.e)([],e,!0)},Object.defineProperty(e.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cachedOptions",{get:function(){return this._cachedOptions},enumerable:!1,configurable:!0}),e.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._notSelectableOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index ".concat(e," is not a selectable element."));if(this._notSelectableOptionsCache[t]!==e)return e-t+1}},e}();!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(Km||(Km={}));var Dg,Pg=L();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(Dg||(Dg={}));var Rg,Mg,Ng,Fg,Bg,Lg=function(e){function t(t){var n=e.call(this,t)||this;n._panel=d.createRef(),n._animationCallback=null,n._hasCustomNavigation=!(!n.props.onRenderNavigation&&!n.props.onRenderNavigationContent),n.dismiss=function(e){n.props.onDismiss&&n.isActive&&n.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&n.close()},n._allowScrollOnPanel=function(e){e?n._allowTouchBodyScroll?In(e,n._events):wn(e,n._events):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onRenderNavigation=function(e){if(!n.props.onRenderNavigationContent&&!n.props.onRenderNavigation&&!n.props.hasCloseButton)return null;var t=n.props.onRenderNavigationContent,o=void 0===t?n._onRenderNavigationContent:t;return d.createElement("div",{className:n._classNames.navigation},o(e,n._onRenderNavigationContent))},n._onRenderNavigationContent=function(e){var t,o=e.closeButtonAriaLabel,r=e.hasCloseButton,i=e.onRenderHeader,a=void 0===i?n._onRenderHeader:i;if(r){var s=null===(t=n._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return d.createElement(d.Fragment,null,!n._hasCustomNavigation&&a(n.props,n._onRenderHeader,n._headerTextId),d.createElement(Ss,{styles:s,className:n._classNames.closeButton,onClick:n._onPanelClick,ariaLabel:o,title:o,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},n._onRenderHeader=function(e,t,o){var r=e.headerText,i=e.headerTextProps,a=void 0===i?{}:i;return r?d.createElement("div",{className:n._classNames.header},d.createElement("div",Object(u.a)({id:o,role:"heading","aria-level":1},a,{className:Me(n._classNames.headerText,a.className)}),r)):null},n._onRenderBody=function(e){return d.createElement("div",{className:n._classNames.content},e.children)},n._onRenderFooter=function(e){var t=n.props.onRenderFooterContent,o=void 0===t?null:t;return o?d.createElement("div",{className:n._classNames.footer},d.createElement("div",{className:n._classNames.footerInner},o())):null},n._animateTo=function(e){e===Dg.open&&n.props.onOpen&&n.props.onOpen(),n._animationCallback=n._async.setTimeout((function(){n.setState({visibility:e}),n._onTransitionComplete(e)}),200)},n._clearExistingAnimationTimer=function(){null!==n._animationCallback&&n._async.clearTimeout(n._animationCallback)},n._onPanelClick=function(e){n.dismiss(e)},n._onTransitionComplete=function(e){n._updateFooterPosition(),e===Dg.open&&n.props.onOpened&&n.props.onOpened(),e===Dg.closed&&n.props.onDismissed&&n.props.onDismissed()};var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,Ct(n),n.state={isFooterSticky:!1,visibility:Dg.closed,id:bn("Panel")},n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==Dg.closed&&t.visibility!==Dg.animatingClosed?e.isOpen||t.visibility!==Dg.open&&t.visibility!==Dg.animatingOpen?null:{visibility:Dg.animatingClosed}:{visibility:Dg.animatingOpen}},t.prototype.componentDidMount=function(){this._async=new wt(this),this._events=new vo(this),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:Dg.animatingOpen})},t.prototype.componentDidUpdate=function(e,t){var n=this._shouldListenForOuterClick(this.props),o=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===Dg.animatingOpen?this._animateTo(Dg.open):this.state.visibility===Dg.animatingClosed&&this._animateTo(Dg.closed)),n&&!o?this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0):!n&&o&&this._events.off(document.body,"mousedown",this._dismissOnOuterClick,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,o=e.elementToFocusOnDismiss,r=e.firstFocusableSelector,i=e.focusTrapZoneProps,a=e.forceFocusInsideTrap,s=e.hasCloseButton,l=e.headerText,c=e.headerClassName,p=void 0===c?"":c,f=e.ignoreExternalFocusing,h=e.isBlocking,m=e.isFooterAtBottom,g=e.isLightDismiss,v=e.isHiddenOnDismiss,b=e.layerProps,y=e.overlayProps,C=e.popupProps,_=e.type,S=e.styles,k=e.theme,x=e.customWidth,w=e.onLightDismissClick,I=void 0===w?this._onPanelClick:w,E=e.onRenderNavigation,O=void 0===E?this._onRenderNavigation:E,T=e.onRenderHeader,D=void 0===T?this._onRenderHeader:T,R=e.onRenderBody,M=void 0===R?this._onRenderBody:R,N=e.onRenderFooter,F=void 0===N?this._onRenderFooter:N,B=this.state,L=B.isFooterSticky,A=B.visibility,j=B.id,H=_===Km.smallFixedNear||_===Km.customNear,z=P(k)?H:!H,W=_===Km.custom||_===Km.customNear?{width:x}:{},V=fe(this.props,pe),U=this.isActive,K=A===Dg.animatingClosed||A===Dg.animatingOpen;if(this._headerTextId=l&&j+"-headerText",!U&&!K&&!v)return null;this._classNames=Pg(S,{theme:k,className:n,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:s,headerClassName:p,isAnimating:K,isFooterSticky:L,isFooterAtBottom:m,isOnRightSide:z,isOpen:U,isHiddenOnDismiss:v,type:_,hasCustomNavigation:this._hasCustomNavigation});var G,q=this._classNames,Y=this._allowTouchBodyScroll;return h&&U&&(G=d.createElement(bm,Object(u.a)({className:q.overlay,isDarkThemed:!1,onClick:g?I:void 0,allowTouchBodyScroll:Y},y))),d.createElement(Bi,Object(u.a)({},b),d.createElement(Ar,Object(u.a)({role:"dialog","aria-modal":h?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:q.hiddenPanel,enableAriaHiddenSiblings:!!U},C),d.createElement("div",Object(u.a)({"aria-hidden":!U&&K},V,{ref:this._panel,className:q.root}),G,d.createElement(eu,Object(u.a)({ignoreExternalFocusing:f,forceFocusInsideTrap:!(!h||v&&!U)&&a,firstFocusableSelector:r,isClickableOutsideFocusTrap:!0},i,{className:q.main,style:W,elementToFocusOnDismiss:o}),d.createElement("div",{className:q.contentInner},d.createElement("div",{ref:this._allowScrollOnPanel,className:q.scrollableContent,"data-is-scrollable":!0},d.createElement("div",{className:q.commands,"data-is-visible":!0},O(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!s)&&D(this.props,this._onRenderHeader,this._headerTextId),M(this.props,this._onRenderBody),F(this.props,this._onRenderFooter)))))))},t.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:Dg.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:Dg.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===Dg.open||this.state.visibility===Dg.animatingOpen},enumerable:!1,configurable:!0}),t.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},t.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,n=e.scrollHeight;this.setState({isFooterSticky:t<n})}},t.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&(Xt(t,e.target)||(this.props.onOuterClick?this.props.onOuterClick(e):this.dismiss(e)))},t.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:Km.smallFixedFar},t}(d.Component),Ag={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"},jg="100%",Hg="auto",zg=272,Wg=340,Vg=592,Ug=644,Kg=940,Gg="auto",qg=0,Yg=48,Qg=428,Xg=176,Zg=((Rg={})["@media (min-width: ".concat(p.y,"px)")]={width:Wg},Rg),$g=((Mg={})["@media (min-width: ".concat(p.x,"px)")]={width:Vg},Mg["@media (min-width: ".concat(p.B,"px)")]={width:Ug},Mg),Jg=((Ng={})["@media (min-width: ".concat(p.A,"px)")]={left:Yg,width:Hg},Ng["@media (min-width: ".concat(p.C,"px)")]={left:Qg},Ng),ev=((Fg={})["@media (min-width: ".concat(p.C,"px)")]={left:Gg,width:Kg},Fg),tv=((Bg={})["@media (min-width: ".concat(p.C,"px)")]={left:Xg},Bg),nv=function(e){var t;switch(e){case Km.smallFixedFar:t=Object(u.a)({},Zg);break;case Km.medium:t=Object(u.a)(Object(u.a)({},Zg),$g);break;case Km.large:t=Object(u.a)(Object(u.a)(Object(u.a)({},Zg),$g),Jg);break;case Km.largeFixed:t=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},Zg),$g),Jg),ev);break;case Km.extraLarge:t=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},Zg),$g),Jg),tv)}return t},ov={paddingLeft:"24px",paddingRight:"24px"},rv=k(Lg,(function(e){var t,n,o,r,i=e.className,a=e.focusTrapZoneClassName,s=e.hasCloseButton,l=e.headerClassName,c=e.isAnimating,d=e.isFooterSticky,f=e.isFooterAtBottom,h=e.isOnRightSide,m=e.isOpen,g=e.isHiddenOnDismiss,v=e.hasCustomNavigation,b=e.theme,y=e.type,C=void 0===y?Km.smallFixedFar:y,_=b.effects,S=b.fonts,k=b.semanticColors,x=Object(p.R)(Ag,b),w=C===Km.custom||C===Km.customNear;return{root:[x.root,b.fonts.medium,m&&x.isOpen,s&&x.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},w&&h&&x.custom,w&&!h&&x.customNear,i],overlay:[{pointerEvents:"auto",cursor:"pointer"},m&&c&&p.a.fadeIn100,!m&&c&&p.a.fadeOut100],hiddenPanel:[!m&&!c&&g&&{visibility:"hidden"}],main:[x.main,{backgroundColor:k.bodyBackground,boxShadow:_.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:Gg,right:qg,width:jg,selectors:Object(u.a)((t={},t[p.m]={borderLeft:"3px solid ".concat(k.variantBorder),borderRight:"3px solid ".concat(k.variantBorder)},t),nv(C))},C===Km.smallFluid&&{left:qg},C===Km.smallFixedNear&&{left:qg,right:Gg,width:zg},C===Km.customNear&&{right:"auto",left:0},w&&{maxWidth:"100vw"},m&&c&&!h&&p.a.slideRightIn40,m&&c&&h&&p.a.slideLeftIn40,!m&&c&&!h&&p.a.slideLeftOut40,!m&&c&&h&&p.a.slideRightOut40,a],commands:[x.commands,{backgroundColor:k.bodyBackground,paddingTop:18,selectors:(n={},n["@media (min-height: ".concat(p.y,"px)")]={position:"sticky",top:0,zIndex:1},n)},v&&{paddingTop:"inherit"}],navigation:[x.navigation,{display:"flex",justifyContent:"flex-end"},v&&{height:"44px"}],contentInner:[x.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[x.header,ov,{alignSelf:"flex-start"},s&&!v&&{flexGrow:1},v&&{flexShrink:0}],headerText:[x.headerText,S.xLarge,{color:k.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},l],scrollableContent:[x.scrollableContent,{overflowY:"auto"},f&&{flexGrow:1,display:"inherit",flexDirection:"inherit"}],content:[x.content,ov,{paddingBottom:20},f&&{selectors:(o={},o["@media (min-height: ".concat(p.y,"px)")]={flexGrow:1},o)}],footer:[x.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity ".concat(p.c.durationValue3," ").concat(p.c.easeFunction2),selectors:(r={},r["@media (min-height: ".concat(p.y,"px)")]={position:"sticky",bottom:0},r)},d&&{backgroundColor:k.bodyBackground,borderTopColor:k.variantBorder}],footerInner:[x.footerInner,ov,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[x.closeButton,{marginRight:14,color:b.palette.neutralSecondary,fontSize:p.p.large},v&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:b.palette.neutralPrimary}}}}}),void 0,{scope:"Panel"}),iv=L(),av={options:[]};var sv=d.forwardRef((function(e,t){var n=H(av,e),o=d.useRef(null),r=Ie(t,o),i=za(o,n.responsiveMode),a=function(e){var t,n=e.defaultSelectedKeys,o=e.selectedKeys,r=e.defaultSelectedKey,i=e.selectedKey,a=e.options,s=e.multiSelect,l=ua(a),c=d.useState([]),u=c[0],p=c[1],f=a!==l,h=ua(t=s?f&&void 0!==n?n:o:f&&void 0!==r?r:i);return d.useEffect((function(){var e=function(){return a.map((function(e,t){return e.selected?t:-1})).filter((function(e){return-1!==e}))},n=function(e){return Nt(a,(function(t){return null!=e?t.key===e:!!t.selected||!!t.isSelected}))};void 0===t&&l||t===h&&!f||p(function(){if(void 0===t)return s?e():-1!==(a=n(null))?[a]:[];if(!Array.isArray(t))return-1!==(a=n(t))?[a]:[];for(var o=[],r=0,i=t;r<i.length;r++){var a,l=i[r];-1!==(a=n(l))&&o.push(a)}return o}())}),[f,s,l,h,a,t]),[u,p]}(n),s=a[0],l=a[1];return d.createElement(pv,Object(u.a)({},n,{responsiveMode:i,hoisted:{rootRef:r,selectedIndices:s,setSelectedIndices:l}}))}));sv.displayName="DropdownBase";var lv,cv,uv,dv,pv=function(e){function t(t){var n=e.call(this,t)||this;n._host=d.createRef(),n._focusZone=d.createRef(),n._dropDown=d.createRef(),n._scrollIdleDelay=250,n._sizePosCache=new Tg,n._requestAnimationFrame=Og(n),n.dismissMenu=function(){n.state.isOpen&&n.setState({isOpen:!1})},n._onChange=function(e,t,o,r,i){var a=n.props,s=a.onChange,l=a.onChanged;if(s||l){var c=i?Object(u.a)(Object(u.a)({},t[o]),{selected:!r}):t[o];s&&s(Object(u.a)(Object(u.a)({},e),{target:n._dropDown.current}),c,o),l&&l(c,o)}},n._getPlaceholder=function(){return n.props.placeholder||n.props.placeHolder},n._getTitle=function(e,t){var o=n.props.multiSelectDelimiter,r=void 0===o?", ":o;return e.map((function(e){return e.text})).join(r)},n._onRenderTitle=function(e){return d.createElement(d.Fragment,null,n._getTitle(e))},n._onRenderPlaceholder=function(e){return n._getPlaceholder()?d.createElement(d.Fragment,null,n._getPlaceholder()):null},n._onRenderContainer=function(e){var t=e.calloutProps,o=e.panelProps,r=n.props,i=r.responsiveMode,a=r.dropdownWidth,s=i<=Ta.medium,l={firstFocusableTarget:"#".concat(n._listId,"1")},c=n._classNames.subComponentStyles?n._classNames.subComponentStyles.panel:void 0,p=void 0,f=void 0;return"auto"===a?f=n._dropDown.current?n._dropDown.current.clientWidth:0:p=a||(n._dropDown.current?n._dropDown.current.clientWidth:0),s?d.createElement(rv,Object(u.a)({closeButtonAriaLabel:"Close",focusTrapZoneProps:l,hasCloseButton:!0,isOpen:!0,isLightDismiss:!0,onDismiss:n._onDismiss,styles:c},o),n._renderFocusableList(e)):d.createElement(Li,Object(u.a)({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:Eo.bottomLeftEdge,calloutWidth:p,calloutMinWidth:f},t,{className:n._classNames.callout,target:n._dropDown.current,onDismiss:n._onDismiss,onScroll:n._onScroll,onPositioned:n._onPositioned}),n._renderFocusableList(e))},n._onRenderCaretDown=function(e){return d.createElement(Ge,{className:n._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},n._onRenderList=function(e){var t=e.onRenderItem,o=void 0===t?n._onRenderItem:t,r={items:[]},i=[],a=function(){var e=r.id?[d.createElement("div",{role:"group",key:r.id,"aria-labelledby":r.id},r.items)]:r.items;i=Object(u.e)(Object(u.e)([],i,!0),e,!0),r={items:[]}};return e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case yp.Header:r.items.length>0&&a();var i=n._id+e.key;r.items.push(o(Object(u.a)(Object(u.a)({id:i},e),{index:t}),n._onRenderItem)),r.id=i;break;case yp.Divider:t>0&&r.items.push(o(Object(u.a)(Object(u.a)({},e),{index:t}),n._onRenderItem)),r.items.length>0&&a();break;default:r.items.push(o(Object(u.a)(Object(u.a)({},e),{index:t}),n._onRenderItem))}}(e,t)})),r.items.length>0&&a(),d.createElement(d.Fragment,null,i)},n._onRenderItem=function(e){switch(e.itemType){case yp.Divider:return n._renderSeparator(e);case yp.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._renderOption=function(e){var t,o=n.props,r=o.onRenderOption,i=void 0===r?n._onRenderOption:r,a=o.hoisted.selectedIndices,s=void 0===a?[]:a,l=!(void 0===e.index||!s)&&s.indexOf(e.index)>-1,c=e.hidden?n._classNames.dropdownItemHidden:l&&!0===e.disabled?n._classNames.dropdownItemSelectedAndDisabled:l?n._classNames.dropdownItemSelected:!0===e.disabled?n._classNames.dropdownItemDisabled:n._classNames.dropdownItem,p=e.title,f=n._listId+e.index,h=null!==(t=e.id)&&void 0!==t?t:f+"-label",m=n._classNames.subComponentStyles?n._classNames.subComponentStyles.multiSelectItem:void 0;return n.props.multiSelect?d.createElement(cu,{id:f,key:e.key,disabled:e.disabled,onChange:n._onItemClick(e),inputProps:Object(u.a)({"aria-selected":l,onMouseEnter:n._onItemMouseEnter.bind(n,e),onMouseLeave:n._onMouseItemLeave.bind(n,e),onMouseMove:n._onItemMouseMove.bind(n,e),role:"option"},{"data-index":e.index,"data-is-focusable":!(e.disabled||e.hidden)}),label:e.text,title:p,onRenderLabel:n._onRenderItemLabel.bind(n,Object(u.a)(Object(u.a)({},e),{id:h})),className:Me(c,"is-multi-select"),checked:l,styles:m,ariaPositionInSet:e.hidden?void 0:n._sizePosCache.positionInSet(e.index),ariaSetSize:e.hidden?void 0:n._sizePosCache.optionSetSize,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:h}):d.createElement(ml,{id:f,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:c,onClick:n._onItemClick(e),onMouseEnter:n._onItemMouseEnter.bind(n,e),onMouseLeave:n._onMouseItemLeave.bind(n,e),onMouseMove:n._onItemMouseMove.bind(n,e),role:"option","aria-selected":l?"true":"false",ariaLabel:e.ariaLabel,title:p,"aria-posinset":n._sizePosCache.positionInSet(e.index),"aria-setsize":n._sizePosCache.optionSetSize},i(e,n._onRenderOption))},n._onRenderOption=function(e){return d.createElement("span",{className:n._classNames.dropdownOptionText},e.text)},n._onRenderMultiselectOption=function(e){return d.createElement("span",{id:e.id,"aria-hidden":"true",className:n._classNames.dropdownOptionText},e.text)},n._onRenderItemLabel=function(e){var t=n.props.onRenderOption;return(void 0===t?n._onRenderMultiselectOption:t)(e,n._onRenderMultiselectOption)},n._onPositioned=function(e){n._focusZone.current&&n._requestAnimationFrame((function(){var e=n.props.hoisted.selectedIndices;if(n._focusZone.current)if(!n._hasBeenPositioned&&e&&e[0]&&!n.props.options[e[0]].disabled){var t=Object(O.a)().getElementById("".concat(n._id,"-list").concat(e[0]));t&&n._focusZone.current.focusElement(t),n._hasBeenPositioned=!0}else n._focusZone.current.focus()})),n.state.calloutRenderEdge&&n.state.calloutRenderEdge===e.targetEdge||n.setState({calloutRenderEdge:e.targetEdge})},n._onItemClick=function(e){return function(t){e.disabled||(n.setSelectedIndex(t,e.index),n.props.multiSelect||n.setState({isOpen:!1}))}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=window.setTimeout((function(){n._isScrollIdle=!0}),n._scrollIdleDelay)},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&n._host.current)if(n._host.current.setActive)try{n._host.current.setActive()}catch(e){}else n._host.current.focus()},n._onDismiss=function(){n.setState({isOpen:!1})},n._onDropdownBlur=function(e){n._isDisabled()||n.state.isOpen||(n.setState({hasFocus:!1}),n.props.onBlur&&n.props.onBlur(e))},n._onDropdownKeyDown=function(e){if(!n._isDisabled()&&(n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e),!n.props.onKeyDown||(n.props.onKeyDown(e),!e.defaultPrevented))){var t,o=n.props.hoisted.selectedIndices.length?n.props.hoisted.selectedIndices[0]:-1,r=e.altKey||e.metaKey,i=n.state.isOpen;switch(e.which){case E.enter:n.setState({isOpen:!i});break;case E.escape:if(!i)return;n.setState({isOpen:!1});break;case E.up:if(r){if(i){n.setState({isOpen:!1});break}return}n.props.multiSelect?n.setState({isOpen:!0}):n._isDisabled()||(t=n._moveIndex(e,-1,o-1,o));break;case E.down:r&&(e.stopPropagation(),e.preventDefault()),r&&!i||n.props.multiSelect?n.setState({isOpen:!0}):n._isDisabled()||(t=n._moveIndex(e,1,o+1,o));break;case E.home:n.props.multiSelect||(t=n._moveIndex(e,1,0,o));break;case E.end:n.props.multiSelect||(t=n._moveIndex(e,-1,n.props.options.length-1,o));break;case E.space:break;default:return}t!==o&&(e.stopPropagation(),e.preventDefault())}},n._onDropdownKeyUp=function(e){if(!n._isDisabled()){var t=n._shouldHandleKeyUp(e),o=n.state.isOpen;if(!n.props.onKeyUp||(n.props.onKeyUp(e),!e.defaultPrevented)){switch(e.which){case E.space:n.setState({isOpen:!o});break;default:return void(t&&o&&n.setState({isOpen:!1}))}e.stopPropagation(),e.preventDefault()}}},n._onZoneKeyDown=function(e){var t,o,r;n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var i=e.altKey||e.metaKey;switch(e.which){case E.up:i?n.setState({isOpen:!1}):n._host.current&&(r=$t(n._host.current,n._host.current.lastChild,!0));break;case E.home:case E.end:case E.pageUp:case E.pageDown:break;case E.down:!i&&n._host.current&&(r=Zt(n._host.current,n._host.current.firstChild,!0));break;case E.escape:n.setState({isOpen:!1});break;case E.tab:n.setState({isOpen:!1});var a=Object(O.a)();a&&(e.shiftKey?null===(t=nn(a.body,n._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(o=on(a.body,n._dropDown.current,!1,!1,!0,!0))||void 0===o||o.focus());break;default:return}r&&r.focus(),e.stopPropagation(),e.preventDefault()},n._onZoneKeyUp=function(e){n._shouldHandleKeyUp(e)&&n.state.isOpen&&(n.setState({isOpen:!1}),e.preventDefault())},n._onDropdownClick=function(e){if(!n.props.onClick||(n.props.onClick(e),!e.defaultPrevented)){var t=n.state.isOpen;n._isDisabled()||n._shouldOpenOnFocus()||n.setState({isOpen:!t}),n._isFocusedByClick=!1}},n._onDropdownMouseDown=function(){n._isFocusedByClick=!0},n._onFocus=function(e){if(!n._isDisabled()){n.props.onFocus&&n.props.onFocus(e);var t={hasFocus:!0};n._shouldOpenOnFocus()&&(t.isOpen=!0),n.setState(t)}},n._isDisabled=function(){var e=n.props.disabled,t=n.props.isDisabled;return void 0===e&&(e=t),e},n._onRenderLabel=function(e){var t=e.label,o=e.required,r=e.disabled,i=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?d.createElement(pu,{className:n._classNames.label,id:n._labelId,required:o,styles:i,disabled:r},t):null},Ct(n);t.multiSelect,t.selectedKey,t.selectedKeys,t.defaultSelectedKey,t.defaultSelectedKeys;var o=t.options;return n._id=t.id||bn("Dropdown"),n._labelId=n._id+"-label",n._listId=n._id+"-list",n._optionId=n._id+"-option",n._isScrollIdle=!0,n._hasBeenPositioned=!1,n._sizePosCache.updateOptions(o),n.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props;return Pp(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._hasBeenPositioned=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this._id,t=this.props,n=t.className,o=t.label,r=t.options,i=t.ariaLabel,a=t.required,s=t.errorMessage,l=t.styles,c=t.theme,p=t.panelProps,f=t.calloutProps,h=t.onRenderTitle,m=void 0===h?this._getTitle:h,g=t.onRenderContainer,v=void 0===g?this._onRenderContainer:g,b=t.onRenderCaretDown,y=void 0===b?this._onRenderCaretDown:b,C=t.onRenderLabel,_=void 0===C?this._onRenderLabel:C,S=t.onRenderItem,k=void 0===S?this._onRenderItem:S,x=t.hoisted.selectedIndices,w=this.state,I=w.isOpen,E=w.calloutRenderEdge,O=w.hasFocus,T=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;r!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(r);var D=Pp(r,x),P=fe(t,pe),R=this._isDisabled(),M=e+"-errorMessage";this._classNames=iv(l,{theme:c,className:n,hasError:!!(s&&s.length>0),hasLabel:!!o,isOpen:I,required:a,disabled:R,isRenderingPlaceholder:!D.length,panelClassName:p?p.className:void 0,calloutClassName:f?f.className:void 0,calloutRenderEdge:E});var N=!!s&&s.length>0;return d.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":I?this._listId:void 0},_(this.props,this._onRenderLabel),d.createElement("div",Object(u.a)({"data-is-focusable":!R,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:R?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-label":i,"aria-labelledby":o&&!i?wo(this._labelId,this._optionId):void 0,"aria-describedby":N?this._id+"-errorMessage":void 0,"aria-required":a,"aria-disabled":R,"aria-controls":I?this._listId:void 0},P,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),d.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":O?"polite":void 0,"aria-atomic":!!O||void 0,"aria-invalid":N},D.length?m(D,this._onRenderTitle):T(t,this._onRenderPlaceholder)),d.createElement("span",{className:this._classNames.caretDownWrapper},y(t,this._onRenderCaretDown))),I&&v(Object(u.a)(Object(u.a)({},t),{onDismiss:this._onDismiss,onRenderItem:k}),this._onRenderContainer),N&&d.createElement("div",{role:"alert",id:M,className:this._classNames.errorMessage},s))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this.props,o=n.options,r=n.selectedKey,i=n.selectedKeys,a=n.multiSelect,s=n.notifyOnReselect,l=n.hoisted.selectedIndices,c=void 0===l?[]:l,u=!!c&&c.indexOf(t)>-1,d=[];if(t=Math.max(0,Math.min(o.length-1,t)),void 0===r&&void 0===i){if(a||s||t!==c[0]){if(a)if(d=c?this._copyArray(c):[],u){var p=d.indexOf(t);p>-1&&d.splice(p,1)}else d.push(t);else d=[t];e.persist(),this.props.hoisted.setSelectedIndices(d),this._onChange(e,o,t,u,a)}}else this._onChange(e,o,t,u,a)},t.prototype._copyArray=function(e){for(var t=[],n=0,o=e;n<o.length;n++){var r=o[n];t.push(r)}return t},t.prototype._moveIndex=function(e,t,n,o){var r=this.props.options;if(o===n||0===r.length)return o;n>=r.length?n=0:n<0&&(n=r.length-1);for(var i=0;r[n].itemType===yp.Header||r[n].itemType===yp.Divider||r[n].disabled;){if(i>=r.length)return o;n+t<0?n=r.length:n+t>=r.length&&(n=-1),n+=t,i++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,o=e.label,r=e.ariaLabel,i=e.multiSelect;return d.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},d.createElement(zn,{ref:this._focusZone,direction:Ot.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":r,"aria-labelledby":o&&!r?this._labelId:void 0,"aria-multiselectable":i},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key,o=e.hidden?this._classNames.dropdownDividerHidden:this._classNames.dropdownDivider;return t>0?d.createElement("div",{role:"presentation",key:n,className:o}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,o=e.key,r=e.id,i=e.hidden?this._classNames.dropdownItemHeaderHidden:this._classNames.dropdownItemHeader;return d.createElement("div",{id:r,key:o,className:i},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==n&&n.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._isAltOrMeta=function(e){return e.which===E.alt||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(Ro()||Fo())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},t}(d.Component),fv={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"},hv=((lv={})["".concat(p.m,", ").concat(p.o.replace("@media ",""))]=Object(u.a)({},Object(p.S)()),lv),mv={selectors:Object(u.a)((cv={},cv[p.m]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},cv[".ms-Checkbox-checkbox"]=(uv={},uv[p.m]={borderColor:"HighlightText"},uv),cv),hv)},gv={selectors:(dv={},dv[p.m]={borderColor:"Highlight"},dv)},vv=Object(p.X)(0,p.y),bv=k(sv,(function(e){var t,n,o,r,i,a,s,l,c,d,f,h,m=e.theme,g=e.hasError,v=e.hasLabel,b=e.className,y=e.isOpen,C=e.disabled,_=e.required,S=e.isRenderingPlaceholder,k=e.panelClassName,x=e.calloutClassName,w=e.calloutRenderEdge;if(!m)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var I=Object(p.R)(fv,m),E=m.palette,O=m.semanticColors,T=m.effects,D=m.fonts,P={color:O.menuItemTextHovered},R={color:O.menuItemText},M={borderColor:O.errorText},N=[I.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:0,position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",".ms-Button-flexContainer":{width:"100%"}}],F=[I.dropdownItemHeader,Object(u.a)(Object(u.a)({},D.medium),{fontWeight:p.l.semibold,color:O.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(t={},t[p.m]=Object(u.a)({color:"GrayText"},Object(p.S)()),t)})],B=O.menuItemBackgroundPressed,L=function(e){var t,n;return void 0===e&&(e=!1),{selectors:(t={"&:hover":[{color:O.menuItemTextHovered,backgroundColor:e?B:O.menuItemBackgroundHovered},mv],"&.is-multi-select:hover":[{backgroundColor:e?B:"transparent"},mv],"&:active:hover":[{color:O.menuItemTextHovered,backgroundColor:e?O.menuItemBackgroundHovered:O.menuItemBackgroundPressed},mv]},t[".".concat(Gn.a," &:focus:after")]=(n={left:0,top:0,bottom:0,right:0},n[p.m]={inset:"2px"},n),t[p.m]={border:"none"},t)}},A=Object(u.e)(Object(u.e)([],N,!0),[{backgroundColor:B,color:O.menuItemTextHovered},L(!0),mv],!1),j=Object(u.e)(Object(u.e)([],N,!0),[{color:O.disabledText,cursor:"default",selectors:(n={},n[p.m]={color:"GrayText",border:"none"},n)}],!1),H=w===Mo.bottom?"".concat(T.roundedCorner2," ").concat(T.roundedCorner2," 0 0"):"0 0 ".concat(T.roundedCorner2," ").concat(T.roundedCorner2),z=w===Mo.bottom?"0 0 ".concat(T.roundedCorner2," ").concat(T.roundedCorner2):"".concat(T.roundedCorner2," ").concat(T.roundedCorner2," 0 0");return{root:[I.root,b],label:I.label,dropdown:[I.dropdown,p.gb,D.medium,{color:O.menuItemText,borderColor:O.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(o={},o["&:hover ."+I.title]=[!C&&P,{borderColor:y?E.neutralSecondary:E.neutralPrimary},gv],o["&:focus ."+I.title]=[!C&&P,{selectors:(r={},r[p.m]={color:"Highlight"},r)}],o["&:focus:after"]=[{pointerEvents:"none",content:"",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:C?"none":"2px solid ".concat(E.themePrimary),borderRadius:"2px",selectors:(i={},i[p.m]={color:"Highlight"},i)}],o["&:active ."+I.title]=[!C&&P,{borderColor:E.themePrimary},gv],o["&:hover ."+I.caretDown]=!C&&R,o["&:focus ."+I.caretDown]=[!C&&R,{selectors:(a={},a[p.m]={color:"Highlight"},a)}],o["&:active ."+I.caretDown]=!C&&R,o["&:hover ."+I.titleIsPlaceHolder]=!C&&R,o["&:focus ."+I.titleIsPlaceHolder]=!C&&R,o["&:active ."+I.titleIsPlaceHolder]=!C&&R,o["&:hover ."+I.titleHasError]=M,o["&:active ."+I.titleHasError]=M,o)},y&&"is-open",C&&"is-disabled",_&&"is-required",_&&!v&&{selectors:(s={":before":{content:"'*'",color:O.errorText,position:"absolute",top:-5,right:-10}},s[p.m]={selectors:{":after":{right:-14}}},s)}],title:[I.title,p.gb,{backgroundColor:O.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:O.inputBorder,borderRadius:y?H:T.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},S&&[I.titleIsPlaceHolder,{color:O.inputPlaceholderText}],g&&[I.titleHasError,M],C&&{backgroundColor:O.disabledBackground,border:"none",color:O.disabledText,cursor:"default",selectors:(l={},l[p.m]=Object(u.a)({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},Object(p.S)()),l)}],caretDownWrapper:[I.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!C&&{cursor:"pointer"}],caretDown:[I.caretDown,{color:E.neutralSecondary,fontSize:D.small.fontSize,pointerEvents:"none"},C&&{color:O.disabledText,selectors:(c={},c[p.m]=Object(u.a)({color:"GrayText"},Object(p.S)()),c)}],errorMessage:Object(u.a)(Object(u.a)({color:O.errorText},m.fonts.small),{paddingTop:5}),callout:[I.callout,{boxShadow:T.elevation8,borderRadius:z,selectors:(d={},d[".ms-Callout-main"]={borderRadius:z},d)},x],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[I.dropdownItems,{display:"block"}],dropdownItem:Object(u.e)(Object(u.e)([],N,!0),[L()],!1),dropdownItemSelected:A,dropdownItemDisabled:j,dropdownItemSelectedAndDisabled:[A,j,{backgroundColor:"transparent"}],dropdownItemHidden:Object(u.e)(Object(u.e)([],N,!0),[{display:"none"}],!1),dropdownDivider:[I.dropdownDivider,{height:1,backgroundColor:O.bodyDivider}],dropdownDividerHidden:[I.dropdownDivider,{display:"none"}],dropdownOptionText:[I.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:F,dropdownItemHeaderHidden:Object(u.e)(Object(u.e)([],F,!0),[{display:"none"}],!1),subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:(f={},f[".".concat(Gn.a," &:focus + label::before")]={outlineOffset:"0px"},f)}},panel:{root:[k],main:{selectors:(h={},h[vv]={width:272},h)},contentInner:{padding:"0 0 20px"}}}}}),void 0,{scope:"Dropdown"});bv.displayName="Dropdown";var yv=n(11);Object(yv.a)([{rawString:".resultContent_4cc31f3f{display:table-row}.resultContent_4cc31f3f .resultItem_4cc31f3f{display:table-cell;vertical-align:bottom}.peoplePickerPersona_4cc31f3f{width:180px}.peoplePickerPersona_4cc31f3f .ms-Persona-details{width:100%}.peoplePicker_4cc31f3f .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_4cc31f3f{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}"}]);Object(yv.a)([{rawString:".pickerText_9f838726{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;padding:1px;min-height:32px}.pickerText_9f838726:hover{border-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.pickerInput_9f838726{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;margin:1px}.pickerInput_9f838726::-ms-clear{display:none}"}]);var Cv,_v,Sv="pickerText_9f838726",kv="pickerInput_9f838726",xv=o,wv=function(e){function t(t){var n=e.call(this,t)||this;return n.floatingPicker=d.createRef(),n.selectedItemsList=d.createRef(),n.root=d.createRef(),n.input=d.createRef(),n.onSelectionChange=function(){n.forceUpdate()},n.onInputChange=function(e,t){t||(n.setState({queryString:e}),n.floatingPicker.current&&n.floatingPicker.current.onQueryStringChanged(e))},n.onInputFocus=function(e){n.selectedItemsList.current&&n.selectedItemsList.current.unselectAll(),n.props.inputProps&&n.props.inputProps.onFocus&&n.props.inputProps.onFocus(e)},n.onInputClick=function(e){if(n.selectedItemsList.current&&n.selectedItemsList.current.unselectAll(),n.floatingPicker.current&&n.inputElement){var t=""===n.inputElement.value||n.inputElement.value!==n.floatingPicker.current.inputText;n.floatingPicker.current.showPicker(t)}},n.onBackspace=function(e){e.which===E.backspace&&n.selectedItemsList.current&&n.items.length&&(n.input.current&&!n.input.current.isValueSelected&&n.input.current.inputElement===e.currentTarget.ownerDocument.activeElement&&0===n.input.current.cursorLocation?(n.floatingPicker.current&&n.floatingPicker.current.hidePicker(),e.preventDefault(),n.selectedItemsList.current.removeItemAt(n.items.length-1),n._onSelectedItemsChanged()):n.selectedItemsList.current.hasSelectedItems()&&(n.floatingPicker.current&&n.floatingPicker.current.hidePicker(),e.preventDefault(),n.selectedItemsList.current.removeSelectedItems(),n._onSelectedItemsChanged()))},n.onCopy=function(e){n.selectedItemsList.current&&n.selectedItemsList.current.onCopy(e)},n.onPaste=function(e){if(n.props.onPaste){var t=e.clipboardData.getData("Text");e.preventDefault(),n.props.onPaste(t)}},n._onSuggestionSelected=function(e){var t=n.props.currentRenderedQueryString,o=n.state.queryString;if(void 0===t||t===o){var r=n.props.onItemSelected?n.props.onItemSelected(e):e;if(null===r)return;var i,a=r,s=r;s&&s.then?s.then((function(e){i=e,n._addProcessedItem(i)})):(i=a,n._addProcessedItem(i))}},n._onSelectedItemsChanged=function(){n.focus()},n._onSuggestionsShownOrHidden=function(){n.forceUpdate()},Ct(n),n.selection=new _h({onSelectionChanged:function(){return n.onSelectionChange()}}),n.state={queryString:""},n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"items",{get:function(){var e,t,n,o;return null!==(o=null!==(n=null!==(e=this.props.selectedItems)&&void 0!==e?e:null===(t=this.selectedItemsList.current)||void 0===t?void 0:t.items)&&void 0!==n?n:this.props.defaultSelectedItems)&&void 0!==o?o:null},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.forceUpdate()},t.prototype.focus=function(){this.input.current&&this.input.current.focus()},t.prototype.clearInput=function(){this.input.current&&this.input.current.clear()},Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.input.current&&this.input.current.inputElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"highlightedItems",{get:function(){return this.selectedItemsList.current?this.selectedItemsList.current.highlightedItems():[]},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.className,n=e.inputProps,o=e.disabled,r=e.focusZoneProps,i=this.floatingPicker.current&&-1!==this.floatingPicker.current.currentSelectedSuggestionIndex?"sug-"+this.floatingPicker.current.currentSelectedSuggestionIndex:void 0,a=!!this.floatingPicker.current&&this.floatingPicker.current.isSuggestionsShown;return d.createElement("div",{ref:this.root,className:Me("ms-BasePicker ms-BaseExtendedPicker",t||""),onKeyDown:this.onBackspace,onCopy:this.onCopy},d.createElement(zn,Object(u.a)({direction:Ot.bidirectional},r),d.createElement(Ch,{selection:this.selection,selectionMode:Qf.multiple},d.createElement("div",{className:Me("ms-BasePicker-text",xv.pickerText),role:"list"},this.props.headerComponent,this.renderSelectedItemsList(),this.canAddItems()&&d.createElement(It,Object(u.a)({},n,{className:Me("ms-BasePicker-input",xv.pickerInput),ref:this.input,onFocus:this.onInputFocus,onClick:this.onInputClick,onInputValueChange:this.onInputChange,"aria-activedescendant":i,"aria-owns":a?"suggestion-list":void 0,"aria-expanded":a,"aria-haspopup":"true",role:"combobox",disabled:o,onPaste:this.onPaste}))))),this.renderFloatingPicker())},Object.defineProperty(t.prototype,"floatingPickerProps",{get:function(){return this.props.floatingPickerProps},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItemsListProps",{get:function(){return this.props.selectedItemsListProps},enumerable:!1,configurable:!0}),t.prototype.canAddItems=function(){var e=this.props.itemLimit;return void 0===e||this.items.length<e},t.prototype.renderFloatingPicker=function(){var e=this.props.onRenderFloatingPicker;return d.createElement(e,Object(u.a)({componentRef:this.floatingPicker,onChange:this._onSuggestionSelected,onSuggestionsHidden:this._onSuggestionsShownOrHidden,onSuggestionsShown:this._onSuggestionsShownOrHidden,inputElement:this.input.current?this.input.current.inputElement:void 0,selectedItems:this.items,suggestionItems:this.props.suggestionItems?this.props.suggestionItems:void 0},this.floatingPickerProps))},t.prototype.renderSelectedItemsList=function(){var e=this.props.onRenderSelectedItems;return d.createElement(e,Object(u.a)({componentRef:this.selectedItemsList,selection:this.selection,selectedItems:this.props.selectedItems?this.props.selectedItems:void 0,onItemsDeleted:this.props.selectedItems?this.props.onItemsRemoved:void 0},this.selectedItemsListProps))},t.prototype._addProcessedItem=function(e){this.props.onItemAdded&&this.props.onItemAdded(e),this.selectedItemsList.current&&this.selectedItemsList.current.addItems([e]),this.input.current&&this.input.current.clear(),this.floatingPicker.current&&this.floatingPicker.current.hidePicker(),this.focus()},t}(d.Component),Iv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t}(wv),Ev=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t}(Iv);(_v=Cv||(Cv={}))[_v.none=0]="none",_v[_v.descriptive=1]="descriptive",_v[_v.more=2]="more",_v[_v.downArrow=3]="downArrow";var Ov=Object(f.c)((function(e,t,n){var o=ys(e),r=Object(p.I)(o,n);return Object(u.a)(Object(u.a)({},r),{root:[o.root,t,e.fonts.medium,n&&n.root]})})),Tv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,o=Object(u.d)(e,["className","styles"]),r=Ov(this.props.theme,t,n);return d.createElement(fs,Object(u.a)({},o,{variantClassName:"ms-Button--facepile",styles:r,onRenderDescription:xo}))},t=Object(u.b)([ms("FacepileButton",["theme","styles"],!0)],t)}(d.Component),Dv=L(),Pv={size:Ne.size48,presence:Fe.none,imageAlt:"",showOverflowTooltip:!0};var Rv=d.forwardRef((function(e,t){var n=H(Pv,e),o=Ie(t,d.useRef(null)),r=function(){return n.text||n.primaryText||""},i=function(e,t,o){var r=t&&t(n,o);return r?d.createElement("div",{dir:"auto",className:e},r):void 0},a=function(e,t){return void 0===t&&(t=!0),e?t?function(){return d.createElement(Us,{content:e,overflowMode:Rs.Parent,directionalHint:Eo.topLeftEdge},e)}:function(){return d.createElement(d.Fragment,null,e)}:void 0},s=a(r(),n.showOverflowTooltip),l=a(n.secondaryText,n.showOverflowTooltip),c=a(n.tertiaryText,n.showOverflowTooltip),p=a(n.optionalText,n.showOverflowTooltip),f=n.hidePersonaDetails,h=n.onRenderOptionalText,m=void 0===h?p:h,g=n.onRenderPrimaryText,v=void 0===g?s:g,b=n.onRenderSecondaryText,y=void 0===b?l:b,C=n.onRenderTertiaryText,_=void 0===C?c:C,S=n.onRenderPersonaCoin,k=void 0===S?function(e){return d.createElement(mt,Object(u.a)({},e))}:S,x=n.size,w=n.allowPhoneInitials,I=n.className,E=n.coinProps,O=n.showUnknownPersonaCoin,T=n.coinSize,D=n.styles,P=n.imageAlt,R=n.imageInitials,M=n.imageShouldFadeIn,N=n.imageShouldStartVisible,F=n.imageUrl,B=n.initialsColor,L=n.initialsTextColor,A=n.isOutOfOffice,j=n.onPhotoLoadingStateChange,z=n.onRenderCoin,W=n.onRenderInitials,V=n.presence,U=n.presenceTitle,K=n.presenceColors,G=n.showInitialsUntilImageLoads,q=n.showSecondaryText,Y=n.theme,Q=Object(u.a)({allowPhoneInitials:w,showUnknownPersonaCoin:O,coinSize:T,imageAlt:P,imageInitials:R,imageShouldFadeIn:M,imageShouldStartVisible:N,imageUrl:F,initialsColor:B,initialsTextColor:L,onPhotoLoadingStateChange:j,onRenderCoin:z,onRenderInitials:W,presence:V,presenceTitle:U,showInitialsUntilImageLoads:G,size:x,text:r(),isOutOfOffice:A,presenceColors:K},E),X=Dv(D,{theme:Y,className:I,showSecondaryText:q,presence:V,size:x}),Z=fe(n,pe),$=d.createElement("div",{className:X.details},i(X.primaryText,v,s),i(X.secondaryText,y,l),i(X.tertiaryText,_,c),i(X.optionalText,m,p),n.children);return d.createElement("div",Object(u.a)({},Z,{ref:o,className:X.root,style:T?{height:T,minWidth:T}:void 0}),k(Q,k),(!f||x===Ne.size8||x===Ne.size10||x===Ne.tiny)&&$)}));Rv.displayName="PersonaBase";var Mv={root:"ms-Persona",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100",size120:"ms-Persona--size120",available:"ms-Persona--online",away:"ms-Persona--away",blocked:"ms-Persona--blocked",busy:"ms-Persona--busy",doNotDisturb:"ms-Persona--donotdisturb",offline:"ms-Persona--offline",details:"ms-Persona-details",primaryText:"ms-Persona-primaryText",secondaryText:"ms-Persona-secondaryText",tertiaryText:"ms-Persona-tertiaryText",optionalText:"ms-Persona-optionalText",textContent:"ms-Persona-textContent"},Nv=k(Rv,(function(e){var t=e.className,n=e.showSecondaryText,o=e.theme,r=o.semanticColors,i=o.fonts,a=Object(p.R)(Mv,o),s=qe(e.size),l=Qe(e.presence),c={color:r.bodySubtext,fontWeight:p.l.regular,fontSize:i.small.fontSize};return{root:[a.root,o.fonts.medium,p.gb,{color:r.bodyText,position:"relative",height:Ae.size48,minWidth:Ae.size48,display:"flex",alignItems:"center",selectors:{".contextualHost":{display:"none"}}},s.isSize8&&[a.size8,{height:Ae.size8,minWidth:Ae.size8}],s.isSize10&&[a.size10,{height:Ae.size10,minWidth:Ae.size10}],s.isSize16&&[a.size16,{height:Ae.size16,minWidth:Ae.size16}],s.isSize24&&[a.size24,{height:Ae.size24,minWidth:Ae.size24}],s.isSize24&&n&&{height:"36px"},s.isSize28&&[a.size28,{height:Ae.size28,minWidth:Ae.size28}],s.isSize28&&n&&{height:"32px"},s.isSize32&&[a.size32,{height:Ae.size32,minWidth:Ae.size32}],s.isSize40&&[a.size40,{height:Ae.size40,minWidth:Ae.size40}],s.isSize48&&a.size48,s.isSize56&&[a.size56,{height:Ae.size56,minWidth:Ae.size56}],s.isSize72&&[a.size72,{height:Ae.size72,minWidth:Ae.size72}],s.isSize100&&[a.size100,{height:Ae.size100,minWidth:Ae.size100}],s.isSize120&&[a.size120,{height:Ae.size120,minWidth:Ae.size120}],l.isAvailable&&a.available,l.isAway&&a.away,l.isBlocked&&a.blocked,l.isBusy&&a.busy,l.isDoNotDisturb&&a.doNotDisturb,l.isOffline&&a.offline,t],details:[a.details,{padding:"0 24px 0 16px",minWidth:0,width:"100%",textAlign:"left",display:"flex",flexDirection:"column",justifyContent:"space-around"},(s.isSize8||s.isSize10)&&{paddingLeft:17},(s.isSize24||s.isSize28||s.isSize32)&&{padding:"0 8px"},(s.isSize40||s.isSize48)&&{padding:"0 12px"}],primaryText:[a.primaryText,p.fb,{color:r.bodyText,fontWeight:p.l.regular,fontSize:i.medium.fontSize,selectors:{":hover":{color:r.inputTextHovered}}},n&&{height:"16px",lineHeight:"16px",overflowX:"hidden"},(s.isSize8||s.isSize10)&&{fontSize:i.small.fontSize,lineHeight:Ae.size8},s.isSize16&&{lineHeight:Ae.size28},(s.isSize24||s.isSize28||s.isSize32||s.isSize40||s.isSize48)&&n&&{height:18},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&{fontSize:i.xLarge.fontSize},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&n&&{height:22}],secondaryText:[a.secondaryText,p.fb,c,(s.isSize8||s.isSize10||s.isSize16||s.isSize24||s.isSize28||s.isSize32)&&{display:"none"},n&&{display:"block",height:"16px",lineHeight:"16px",overflowX:"hidden"},s.isSize24&&n&&{height:18},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&{fontSize:i.medium.fontSize},(s.isSize56||s.isSize72||s.isSize100||s.isSize120)&&n&&{height:18}],tertiaryText:[a.tertiaryText,p.fb,c,{display:"none",fontSize:i.medium.fontSize},(s.isSize72||s.isSize100||s.isSize120)&&{display:"block"}],optionalText:[a.optionalText,p.fb,c,{display:"none",fontSize:i.medium.fontSize},(s.isSize100||s.isSize120)&&{display:"block"}],textContent:[a.textContent,p.fb]}}),void 0,{scope:"Persona"}),Fv=L(),Bv=function(e){function t(t){var n=e.call(this,t)||this;return n._classNames=Fv(n.props.styles,{theme:n.props.theme,className:n.props.className}),n._getPersonaControl=function(e){var t=n.props,o=t.getPersonaProps,r=t.personaSize;return d.createElement(Nv,Object(u.a)({imageInitials:e.imageInitials,imageUrl:e.imageUrl,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,text:e.personaName,size:r},o?o(e):null,{styles:{details:{flex:"1 0 auto"}}}))},n._getPersonaCoinControl=function(e){var t=n.props,o=t.getPersonaProps,r=t.personaSize;return d.createElement(mt,Object(u.a)({imageInitials:e.imageInitials,imageUrl:e.imageUrl,initialsColor:e.initialsColor,allowPhoneInitials:e.allowPhoneInitials,text:e.personaName,size:r},o?o(e):null))},Ct(n),n._ariaDescriptionId=bn(),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props.overflowButtonProps,t=this.props,n=t.chevronButtonProps,o=t.maxDisplayablePersonas,r=t.personas,i=t.overflowPersonas,a=t.showAddButton,s=t.ariaLabel,l=t.showTooltip,c=void 0===l||l,u=this._classNames,p="number"==typeof o?Math.min(r.length,o):r.length;n&&!e&&(e=n);var f=i&&i.length>0,h=f?r:r.slice(0,p),m=(f?i:r.slice(p))||[];return d.createElement("div",{className:u.root},this.onRenderAriaDescription(),d.createElement("div",{className:u.itemContainer},a?this._getAddNewElement():null,d.createElement("ul",{className:u.members,"aria-label":s},this._onRenderVisiblePersonas(h,0===m.length&&1===r.length,c)),e?this._getOverflowElement(m):null))},t.prototype.onRenderAriaDescription=function(){var e=this.props.ariaDescription,t=this._classNames;return e&&d.createElement("span",{className:t.screenReaderOnly,id:this._ariaDescriptionId},e)},t.prototype._onRenderVisiblePersonas=function(e,t,n){var o=this,r=this.props,i=r.onRenderPersona,a=void 0===i?this._getPersonaControl:i,s=r.onRenderPersonaCoin,l=void 0===s?this._getPersonaCoinControl:s,c=r.onRenderPersonaWrapper;return e.map((function(e,r){var i=t?a(e,o._getPersonaControl):l(e,o._getPersonaCoinControl),s=e.onClick?function(){return o._getElementWithOnClickEvent(i,e,n,r)}:function(){return o._getElementWithoutOnClickEvent(i,e,n,r)};return d.createElement("li",{key:"".concat(t?"persona":"personaCoin","-").concat(r),className:o._classNames.member},c?c(e,s):s())}))},t.prototype._getElementWithOnClickEvent=function(e,t,n,o){var r=t.keytipProps;return d.createElement(Tv,Object(u.a)({},fe(t,Z),this._getElementProps(t,n,o),{keytipProps:r,onClick:this._onPersonaClick.bind(this,t)}),e)},t.prototype._getElementWithoutOnClickEvent=function(e,t,n,o){return d.createElement("div",Object(u.a)({},fe(t,Z),this._getElementProps(t,n,o)),e)},t.prototype._getElementProps=function(e,t,n){var o=this._classNames;return{key:(e.imageUrl?"i":"")+n,"data-is-focusable":!0,className:o.itemButton,title:t?e.personaName:void 0,onMouseMove:this._onPersonaMouseMove.bind(this,e),onMouseOut:this._onPersonaMouseOut.bind(this,e)}},t.prototype._getOverflowElement=function(e){switch(this.props.overflowButtonType){case Cv.descriptive:return this._getDescriptiveOverflowElement(e);case Cv.downArrow:return this._getIconElement("ChevronDown");case Cv.more:return this._getIconElement("More");default:return null}},t.prototype._getDescriptiveOverflowElement=function(e){var t=this.props.personaSize;if(!e||e.length<1)return null;var n=e.map((function(e){return e.personaName})).join(", "),o=Object(u.a)({title:n},this.props.overflowButtonProps),r=Math.max(e.length,0),i=this._classNames;return d.createElement(Tv,Object(u.a)({},o,{ariaDescription:o.title,className:i.descriptiveOverflowButton}),d.createElement(mt,{size:t,onRenderInitials:this._renderInitialsNotPictured(r),initialsColor:Be.transparent}))},t.prototype._getIconElement=function(e){var t=this.props,n=t.overflowButtonProps,o=t.personaSize,r=this._classNames;return d.createElement(Tv,Object(u.a)({},n,{className:r.overflowButton}),d.createElement(mt,{size:o,onRenderInitials:this._renderInitials(e,!0),initialsColor:Be.transparent}))},t.prototype._getAddNewElement=function(){var e=this.props,t=e.addButtonProps,n=e.personaSize,o=this._classNames;return d.createElement(Tv,Object(u.a)({},t,{className:o.addButton}),d.createElement(mt,{size:n,onRenderInitials:this._renderInitials("AddFriend")}))},t.prototype._onPersonaClick=function(e,t){e.onClick(t,e),t.preventDefault(),t.stopPropagation()},t.prototype._onPersonaMouseMove=function(e,t){e.onMouseMove&&e.onMouseMove(t,e)},t.prototype._onPersonaMouseOut=function(e,t){e.onMouseOut&&e.onMouseOut(t,e)},t.prototype._renderInitials=function(e,t){var n=this._classNames;return function(){return d.createElement(Ge,{iconName:e,className:t?n.overflowInitialsIcon:""})}},t.prototype._renderInitialsNotPictured=function(e){var t=this._classNames;return function(){return d.createElement("span",{className:t.overflowInitialsIcon},e<100?"+"+e:"99+")}},t.defaultProps={maxDisplayablePersonas:5,personas:[],overflowPersonas:[],personaSize:Ne.size32},t}(d.Component),Lv={root:"ms-Facepile",addButton:"ms-Facepile-addButton ms-Facepile-itemButton",descriptiveOverflowButton:"ms-Facepile-descriptiveOverflowButton ms-Facepile-itemButton",itemButton:"ms-Facepile-itemButton ms-Facepile-person",itemContainer:"ms-Facepile-itemContainer",members:"ms-Facepile-members",member:"ms-Facepile-member",overflowButton:"ms-Facepile-overflowButton ms-Facepile-itemButton"},Av=k(Bv,(function(e){var t,n=e.className,o=e.theme,r=e.spacingAroundItemButton,i=void 0===r?2:r,a=o.palette,s=o.fonts,l=Object(p.R)(Lv,o),c={textAlign:"center",padding:0,borderRadius:"50%",verticalAlign:"top",display:"inline",backgroundColor:"transparent",border:"none",selectors:{"&::-moz-focus-inner":{padding:0,border:0}}};return{root:[l.root,o.fonts.medium,{width:"auto"},n],addButton:[l.addButton,Object(p.Q)(o,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.white,backgroundColor:a.themePrimary,marginRight:2*i+"px",selectors:{"&:hover":{backgroundColor:a.themeDark},"&:focus":{backgroundColor:a.themeDark},"&:active":{backgroundColor:a.themeDarker},"&:disabled":{backgroundColor:a.neutralTertiaryAlt}}}],descriptiveOverflowButton:[l.descriptiveOverflowButton,Object(p.Q)(o,{inset:-1}),c,{fontSize:s.small.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],itemButton:[l.itemButton,c],itemContainer:[l.itemContainer,{display:"flex"}],members:[l.members,{display:"flex",overflow:"hidden",listStyleType:"none",padding:0,margin:"-".concat(i,"px")}],member:[l.member,{display:"inline-flex",flex:"0 0 auto",margin:"".concat(i,"px")}],overflowButton:[l.overflowButton,Object(p.Q)(o,{inset:-1}),c,{fontSize:s.medium.fontSize,color:a.neutralSecondary,backgroundColor:a.neutralLighter,marginLeft:"".concat(2*i,"px")}],overflowInitialsIcon:[{color:a.neutralPrimary,selectors:(t={},t[p.m]={color:"WindowText"},t)}],screenReaderOnly:p.ab}}),void 0,{scope:"Facepile"});Object(yv.a)([{rawString:".callout_ad5629e1 .ms-Suggestions-itemButton{padding:0;border:none}.callout_ad5629e1 .ms-Suggestions{min-width:300px}"}]);var jv="callout_ad5629e1";Object(yv.a)([{rawString:".root_8c91000a{min-width:260px}.suggestionsItem_8c91000a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;position:relative;overflow:hidden}.suggestionsItem_8c91000a:hover{background:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:"}.suggestionsItem_8c91000a:hover .closeButton_8c91000a{display:block}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a:hover{background:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a{background:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";color:"},{theme:"neutralPrimary",defaultValue:"#323130"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.suggestionsItem_8c91000a.suggestionsItemIsSuggested_8c91000a .itemButton_8c91000a{color:HighlightText}}.suggestionsItem_8c91000a .closeButton_8c91000a{display:none;color:"},{theme:"neutralSecondary",defaultValue:"#605e5c"},{rawString:"}.suggestionsItem_8c91000a .closeButton_8c91000a:hover{background:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.actionButton_8c91000a{background-color:transparent;border:0;cursor:pointer;margin:0;position:relative;border-top:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";height:40px;width:100%;font-size:12px}[dir=ltr] .actionButton_8c91000a{padding-left:8px}[dir=rtl] .actionButton_8c91000a{padding-right:8px}html[dir=ltr] .actionButton_8c91000a{text-align:left}html[dir=rtl] .actionButton_8c91000a{text-align:right}.actionButton_8c91000a:hover{background-color:"},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:";cursor:pointer}.actionButton_8c91000a:active,.actionButton_8c91000a:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_8c91000a .ms-Button-icon{font-size:16px;width:25px}.actionButton_8c91000a .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_8c91000a .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_8c91000a{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.suggestionsTitle_8c91000a{padding:0 12px;color:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:";font-size:12px;line-height:40px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsContainer_8c91000a{overflow-y:auto;overflow-x:hidden;max-height:300px;border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#edebe9"},{rawString:"}.suggestionsNone_8c91000a{text-align:center;color:#797775;font-size:12px;line-height:30px}.suggestionsSpinner_8c91000a{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_8c91000a{padding-left:14px}html[dir=rtl] .suggestionsSpinner_8c91000a{padding-right:14px}html[dir=ltr] .suggestionsSpinner_8c91000a{text-align:left}html[dir=rtl] .suggestionsSpinner_8c91000a{text-align:right}.suggestionsSpinner_8c91000a .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_8c91000a .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_8c91000a .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_8c91000a.itemButton_8c91000a{width:100%;padding:0;min-width:0;height:100%}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_8c91000a.itemButton_8c91000a{color:WindowText}}.itemButton_8c91000a.itemButton_8c91000a:hover{color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.closeButton_8c91000a.closeButton_8c91000a{padding:0 4px;height:auto;width:32px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.closeButton_8c91000a.closeButton_8c91000a{color:WindowText}}.closeButton_8c91000a.closeButton_8c91000a:hover{background:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c6c4"},{rawString:";color:"},{theme:"neutralDark",defaultValue:"#201f1e"},{rawString:"}.suggestionsAvailable_8c91000a{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var Hv="root_8c91000a",zv="suggestionsItem_8c91000a",Wv="closeButton_8c91000a",Vv="suggestionsItemIsSuggested_8c91000a",Uv="itemButton_8c91000a",Kv="actionButton_8c91000a",Gv="buttonSelected_8c91000a",qv="suggestionsTitle_8c91000a",Yv="suggestionsContainer_8c91000a",Qv="suggestionsNone_8c91000a",Xv="suggestionsSpinner_8c91000a",Zv="suggestionsAvailable_8c91000a",$v=i,Jv=L(),eb=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.suggestionModel,o=t.RenderSuggestion,r=t.onClick,i=t.className,a=t.id,s=t.onRemoveItem,l=t.isSelectedOverride,c=t.removeButtonAriaLabel,u=t.styles,p=t.theme,f=t.removeButtonIconProps,h=u?Jv(u,{theme:p,className:i,suggested:n.selected||l}):{root:Me("ms-Suggestions-item",$v.suggestionsItem,(e={},e["is-suggested "+$v.suggestionsItemIsSuggested]=n.selected||l,e),i),itemButton:Me("ms-Suggestions-itemButton",$v.itemButton),closeButton:Me("ms-Suggestions-closeButton",$v.closeButton)};return d.createElement("div",{className:h.root,role:"presentation"},d.createElement(ml,{onClick:r,className:h.itemButton,id:a,"aria-selected":n.selected,role:"option","aria-label":n.ariaLabel},o(n.item,this.props)),this.props.showRemoveButton?d.createElement(Ss,{iconProps:null!=f?f:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},title:c,ariaLabel:c,onClick:s,className:h.closeButton}):null)},t}(d.Component);Object(yv.a)([{rawString:".suggestionsContainer_44c59fda{overflow-y:auto;overflow-x:hidden;max-height:300px}.suggestionsContainer_44c59fda .ms-Suggestion-item:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.suggestionsContainer_44c59fda .is-suggested{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.suggestionsContainer_44c59fda .is-suggested:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}"}]);var tb="suggestionsContainer_44c59fda",nb=a,ob=function(e){function t(t){var n=e.call(this,t)||this;return n._selectedElement=d.createRef(),n.SuggestionsItemOfProperType=eb,n._onClickTypedSuggestionsItem=function(e,t){return function(o){n.props.onSuggestionClick(o,e,t)}},n._onRemoveTypedSuggestionsItem=function(e,t){return function(o){(0,n.props.onSuggestionRemove)(o,e,t),o.stopPropagation()}},Ct(n),n.currentIndex=-1,n}return Object(u.c)(t,e),t.prototype.nextSuggestion=function(){var e=this.props.suggestions;if(e&&e.length>0){if(-1===this.currentIndex)return this.setSelectedSuggestion(0),!0;if(this.currentIndex<e.length-1)return this.setSelectedSuggestion(this.currentIndex+1),!0;if(this.props.shouldLoopSelection&&this.currentIndex===e.length-1)return this.setSelectedSuggestion(0),!0}return!1},t.prototype.previousSuggestion=function(){var e=this.props.suggestions;if(e&&e.length>0){if(-1===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0;if(this.currentIndex>0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(this.props.shouldLoopSelection&&0===this.currentIndex)return this.setSelectedSuggestion(e.length-1),!0}return!1},Object.defineProperty(t.prototype,"selectedElement",{get:function(){return this._selectedElement.current||void 0},enumerable:!1,configurable:!0}),t.prototype.getCurrentItem=function(){return this.props.suggestions[this.currentIndex]},t.prototype.getSuggestionAtIndex=function(e){return this.props.suggestions[e]},t.prototype.hasSuggestionSelected=function(){return-1!==this.currentIndex&&this.currentIndex<this.props.suggestions.length},t.prototype.removeSuggestion=function(e){this.props.suggestions.splice(e,1)},t.prototype.deselectAllSuggestions=function(){this.currentIndex>-1&&this.props.suggestions[this.currentIndex]&&(this.props.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1,this.forceUpdate())},t.prototype.setSelectedSuggestion=function(e){var t=this.props.suggestions;e>t.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=t[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&t[this.currentIndex]&&(t[this.currentIndex].selected=!1),t[e].selected=!0,this.currentIndex=e,this.currentSuggestion=t[e]),this.forceUpdate()},t.prototype.componentDidUpdate=function(){this.scrollSelected()},t.prototype.render=function(){var e=this,t=this.props,n=t.onRenderSuggestion,o=t.suggestionsItemClassName,r=t.resultsMaximumNumber,i=t.showRemoveButtons,a=t.suggestionsContainerAriaLabel,s=this.SuggestionsItemOfProperType,l=this.props.suggestions;return r&&(l=l.slice(0,r)),d.createElement("div",{className:Me("ms-Suggestions-container",nb.suggestionsContainer),id:"suggestion-list",role:"listbox","aria-label":a},l.map((function(t,r){return d.createElement("div",{ref:t.selected||r===e.currentIndex?e._selectedElement:void 0,key:t.item.key?t.item.key:r,id:"sug-"+r},d.createElement(s,{id:"sug-item"+r,suggestionModel:t,RenderSuggestion:n,onClick:e._onClickTypedSuggestionsItem(t.item,r),className:o,showRemoveButton:i,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,r),isSelectedOverride:r===e.currentIndex}))})))},t.prototype.scrollSelected=function(){var e;void 0!==(null===(e=this._selectedElement.current)||void 0===e?void 0:e.scrollIntoView)&&this._selectedElement.current.scrollIntoView(!1)},t}(d.Component);Object(yv.a)([{rawString:".root_ade399af{min-width:260px}.actionButton_ade399af{background:0 0;background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:relative;width:100%;font-size:12px}html[dir=ltr] .actionButton_ade399af{text-align:left}html[dir=rtl] .actionButton_ade399af{text-align:right}.actionButton_ade399af:hover{background-color:"},{theme:"neutralLighter",defaultValue:"#f3f2f1"},{rawString:";cursor:pointer}.actionButton_ade399af:active,.actionButton_ade399af:focus{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.actionButton_ade399af .ms-Button-icon{font-size:16px;width:25px}.actionButton_ade399af .ms-Button-label{margin:0 4px 0 9px}html[dir=rtl] .actionButton_ade399af .ms-Button-label{margin:0 9px 0 4px}.buttonSelected_ade399af{background-color:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.buttonSelected_ade399af:hover{background-color:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:";cursor:pointer}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af:hover{background-color:Highlight;color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.buttonSelected_ade399af{background-color:Highlight;color:HighlightText;-ms-high-contrast-adjust:none}}.suggestionsTitle_ade399af{font-size:12px}.suggestionsSpinner_ade399af{margin:5px 0;white-space:nowrap;line-height:20px;font-size:12px}html[dir=ltr] .suggestionsSpinner_ade399af{padding-left:14px}html[dir=rtl] .suggestionsSpinner_ade399af{padding-right:14px}html[dir=ltr] .suggestionsSpinner_ade399af{text-align:left}html[dir=rtl] .suggestionsSpinner_ade399af{text-align:right}.suggestionsSpinner_ade399af .ms-Spinner-circle{display:inline-block;vertical-align:middle}.suggestionsSpinner_ade399af .ms-Spinner-label{display:inline-block;margin:0 10px 0 16px;vertical-align:middle}html[dir=rtl] .suggestionsSpinner_ade399af .ms-Spinner-label{margin:0 16px 0 10px}.itemButton_ade399af{height:100%;width:100%;padding:7px 12px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.itemButton_ade399af{color:WindowText}}.screenReaderOnly_ade399af{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}"}]);var rb,ib="root_ade399af",ab="actionButton_ade399af",sb="buttonSelected_ade399af",lb="suggestionsTitle_ade399af",cb="suggestionsSpinner_ade399af",ub="itemButton_ade399af",db="screenReaderOnly_ade399af",pb=s;!function(e){e[e.header=0]="header",e[e.suggestion=1]="suggestion",e[e.footer=2]="footer"}(rb||(rb={}));var fb=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.renderItem,o=t.onExecute,r=t.isSelected,i=t.id,a=t.className;return o?d.createElement("div",{id:i,onClick:o,className:Me("ms-Suggestions-sectionButton",a,pb.actionButton,(e={},e["is-selected "+pb.buttonSelected]=r,e))},n()):d.createElement("div",{id:i,className:Me("ms-Suggestions-section",a,pb.suggestionsTitle)},n())},t}(d.Component),hb=function(e){function t(t){var n=e.call(this,t)||this;return n._selectedElement=d.createRef(),n._suggestions=d.createRef(),n.SuggestionsOfProperType=ob,Ct(n),n.state={selectedHeaderIndex:-1,selectedFooterIndex:-1,suggestions:t.suggestions},n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){this.resetSelectedItem()},t.prototype.componentDidUpdate=function(e){var t=this;this.scrollSelected(),e.suggestions&&e.suggestions!==this.props.suggestions&&this.setState({suggestions:this.props.suggestions},(function(){t.resetSelectedItem()}))},t.prototype.componentWillUnmount=function(){var e;null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.headerItemsProps,o=e.footerItemsProps,r=e.suggestionsAvailableAlertText,i=Object(p.eb)(p.ab),a=this.state.suggestions&&this.state.suggestions.length>0&&r;return d.createElement("div",{className:Me("ms-Suggestions",t||"",pb.root)},n&&this.renderHeaderItems(),this._renderSuggestions(),o&&this.renderFooterItems(),a?d.createElement("span",{role:"alert","aria-live":"polite",className:i},r):null)},Object.defineProperty(t.prototype,"currentSuggestion",{get:function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.getCurrentItem())||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentSuggestionIndex",{get:function(){return this._suggestions.current?this._suggestions.current.currentIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedElement",{get:function(){var e;return this._selectedElement.current?this._selectedElement.current:null===(e=this._suggestions.current)||void 0===e?void 0:e.selectedElement},enumerable:!1,configurable:!0}),t.prototype.hasSuggestionSelected=function(){var e;return(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())||!1},t.prototype.hasSelection=function(){var e=this.state,t=e.selectedHeaderIndex,n=e.selectedFooterIndex;return-1!==t||this.hasSuggestionSelected()||-1!==n},t.prototype.executeSelectedAction=function(){var e,t=this.props,n=t.headerItemsProps,o=t.footerItemsProps,r=this.state,i=r.selectedHeaderIndex,a=r.selectedFooterIndex;if(n&&-1!==i&&i<n.length){var s=n[i];s.onExecute&&s.onExecute()}else if(null===(e=this._suggestions.current)||void 0===e?void 0:e.hasSuggestionSelected())this.props.completeSuggestion();else if(o&&-1!==a&&a<o.length){var l=o[a];l.onExecute&&l.onExecute()}},t.prototype.removeSuggestion=function(e){var t,n;null===(t=this._suggestions.current)||void 0===t||t.removeSuggestion(e||(null===(n=this._suggestions.current)||void 0===n?void 0:n.currentIndex))},t.prototype.handleKeyDown=function(e){var t,n,o,r,i=this.state,a=i.selectedHeaderIndex,s=i.selectedFooterIndex,l=!1;return e===E.down?-1!==a||(null===(t=this._suggestions.current)||void 0===t?void 0:t.hasSuggestionSelected())||-1!==s?-1!==a?(this.selectNextItem(rb.header),l=!0):(null===(n=this._suggestions.current)||void 0===n?void 0:n.hasSuggestionSelected())?(this.selectNextItem(rb.suggestion),l=!0):-1!==s&&(this.selectNextItem(rb.footer),l=!0):this.selectFirstItem():e===E.up?-1!==a||(null===(o=this._suggestions.current)||void 0===o?void 0:o.hasSuggestionSelected())||-1!==s?-1!==a?(this.selectPreviousItem(rb.header),l=!0):(null===(r=this._suggestions.current)||void 0===r?void 0:r.hasSuggestionSelected())?(this.selectPreviousItem(rb.suggestion),l=!0):-1!==s&&(this.selectPreviousItem(rb.footer),l=!0):this.selectLastItem():e!==E.enter&&e!==E.tab||this.hasSelection()&&(this.executeSelectedAction(),l=!0),l},t.prototype.scrollSelected=function(){this._selectedElement.current&&this._selectedElement.current.scrollIntoView(!1)},t.prototype.renderHeaderItems=function(){var e=this,t=this.props,n=t.headerItemsProps,o=t.suggestionsHeaderContainerAriaLabel,r=this.state.selectedHeaderIndex;return n?d.createElement("div",{className:Me("ms-Suggestions-headerContainer",pb.suggestionsContainer),id:"suggestionHeader-list",role:"list","aria-label":o},n.map((function(t,n){var o=-1!==r&&r===n;return t.shouldShow()?d.createElement("div",{ref:o?e._selectedElement:void 0,id:"sug-header"+n,key:"sug-header"+n,role:"listitem","aria-label":t.ariaLabel},d.createElement(fb,{id:"sug-header-item"+n,isSelected:o,renderItem:t.renderItem,onExecute:t.onExecute,className:t.className})):null}))):null},t.prototype.renderFooterItems=function(){var e=this,t=this.props,n=t.footerItemsProps,o=t.suggestionsFooterContainerAriaLabel,r=this.state.selectedFooterIndex;return n?d.createElement("div",{className:Me("ms-Suggestions-footerContainer",pb.suggestionsContainer),id:"suggestionFooter-list",role:"list","aria-label":o},n.map((function(t,n){var o=-1!==r&&r===n;return t.shouldShow()?d.createElement("div",{ref:o?e._selectedElement:void 0,id:"sug-footer"+n,key:"sug-footer"+n,role:"listitem","aria-label":t.ariaLabel},d.createElement(fb,{id:"sug-footer-item"+n,isSelected:o,renderItem:t.renderItem,onExecute:t.onExecute,className:t.className})):null}))):null},t.prototype._renderSuggestions=function(){var e=this.SuggestionsOfProperType;return d.createElement(e,Object(u.a)({ref:this._suggestions},this.props,{suggestions:this.state.suggestions}))},t.prototype.selectNextItem=function(e,t){if(e!==t){var n=void 0!==t?t:e;this._selectNextItemOfItemType(e,n===e?this._getCurrentIndexForType(e):void 0)||this.selectNextItem(this._getNextItemSectionType(e),n)}else this._selectNextItemOfItemType(e)},t.prototype.selectPreviousItem=function(e,t){if(e!==t){var n=void 0!==t?t:e;this._selectPreviousItemOfItemType(e,n===e?this._getCurrentIndexForType(e):void 0)||this.selectPreviousItem(this._getPreviousItemSectionType(e),n)}else this._selectPreviousItemOfItemType(e)},t.prototype.resetSelectedItem=function(){var e;this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),null===(e=this._suggestions.current)||void 0===e||e.deselectAllSuggestions(),(void 0===this.props.shouldSelectFirstItem||this.props.shouldSelectFirstItem())&&this.selectFirstItem()},t.prototype.selectFirstItem=function(){this._selectNextItemOfItemType(rb.header)||this._selectNextItemOfItemType(rb.suggestion)||this._selectNextItemOfItemType(rb.footer)},t.prototype.selectLastItem=function(){this._selectPreviousItemOfItemType(rb.footer)||this._selectPreviousItemOfItemType(rb.suggestion)||this._selectPreviousItemOfItemType(rb.header)},t.prototype._selectNextItemOfItemType=function(e,t){var n,o;if(void 0===t&&(t=-1),e===rb.suggestion){if(this.state.suggestions.length>t+1)return null===(n=this._suggestions.current)||void 0===n||n.setSelectedSuggestion(t+1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r=e===rb.header,i=r?this.props.headerItemsProps:this.props.footerItemsProps;if(i&&i.length>t+1)for(var a=t+1;a<i.length;a++){var s=i[a];if(s.onExecute&&s.shouldShow())return this.setState({selectedHeaderIndex:r?a:-1}),this.setState({selectedFooterIndex:r?-1:a}),null===(o=this._suggestions.current)||void 0===o||o.deselectAllSuggestions(),!0}}return!1},t.prototype._selectPreviousItemOfItemType=function(e,t){var n,o;if(e===rb.suggestion){if((r=void 0!==t?t:this.state.suggestions.length)>0)return null===(n=this._suggestions.current)||void 0===n||n.setSelectedSuggestion(r-1),this.setState({selectedHeaderIndex:-1,selectedFooterIndex:-1}),!0}else{var r,i=e===rb.header,a=i?this.props.headerItemsProps:this.props.footerItemsProps;if(a)if((r=void 0!==t?t:a.length)>0)for(var s=r-1;s>=0;s--){var l=a[s];if(l.onExecute&&l.shouldShow())return this.setState({selectedHeaderIndex:i?s:-1}),this.setState({selectedFooterIndex:i?-1:s}),null===(o=this._suggestions.current)||void 0===o||o.deselectAllSuggestions(),!0}}return!1},t.prototype._getCurrentIndexForType=function(e){switch(e){case rb.header:return this.state.selectedHeaderIndex;case rb.suggestion:return this._suggestions.current.currentIndex;case rb.footer:return this.state.selectedFooterIndex}},t.prototype._getNextItemSectionType=function(e){switch(e){case rb.header:return rb.suggestion;case rb.suggestion:return rb.footer;case rb.footer:return rb.header}},t.prototype._getPreviousItemSectionType=function(e){switch(e){case rb.header:return rb.footer;case rb.suggestion:return rb.header;case rb.footer:return rb.suggestion}},t}(d.Component),mb=r,gb=function(e){function t(t){var n=e.call(this,t)||this;return n.root=d.createRef(),n.suggestionsControl=d.createRef(),n.SuggestionsControlOfProperType=hb,n.isComponentMounted=!1,n.onQueryStringChanged=function(e){e!==n.state.queryString&&(n.setState({queryString:e}),n.props.onInputChanged&&n.props.onInputChanged(e),n.updateValue(e))},n.hidePicker=function(){var e=n.isSuggestionsShown;n.setState({suggestionsVisible:!1}),n.props.onSuggestionsHidden&&e&&n.props.onSuggestionsHidden()},n.showPicker=function(e){void 0===e&&(e=!1);var t=n.isSuggestionsShown;n.setState({suggestionsVisible:!0});var o=n.props.inputElement?n.props.inputElement.value:"";e&&n.updateValue(o),n.props.onSuggestionsShown&&!t&&n.props.onSuggestionsShown()},n.completeSuggestion=function(){n.suggestionsControl.current&&n.suggestionsControl.current.hasSuggestionSelected()&&n.onChange(n.suggestionsControl.current.currentSuggestion.item)},n.onSuggestionClick=function(e,t,o){n.onChange(t),n._updateSuggestionsVisible(!1)},n.onSuggestionRemove=function(e,t,o){n.props.onRemoveSuggestion&&n.props.onRemoveSuggestion(t),n.suggestionsControl.current&&n.suggestionsControl.current.removeSuggestion(o)},n.onKeyDown=function(e){if(n.state.suggestionsVisible&&(!n.props.inputElement||n.props.inputElement.contains(e.target))){var t=e.which;switch(t){case E.escape:n.hidePicker(),e.preventDefault(),e.stopPropagation();break;case E.tab:case E.enter:!e.shiftKey&&!e.ctrlKey&&n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)?(e.preventDefault(),e.stopPropagation()):n._onValidateInput();break;case E.del:n.props.onRemoveSuggestion&&n.suggestionsControl.current&&n.suggestionsControl.current.hasSuggestionSelected()&&n.suggestionsControl.current.currentSuggestion&&e.shiftKey&&(n.props.onRemoveSuggestion(n.suggestionsControl.current.currentSuggestion.item),n.suggestionsControl.current.removeSuggestion(),n.forceUpdate(),e.stopPropagation());break;case E.up:case E.down:n.suggestionsControl.current&&n.suggestionsControl.current.handleKeyDown(t)&&(e.preventDefault(),e.stopPropagation(),n._updateActiveDescendant())}}},n._onValidateInput=function(){if(n.state.queryString&&n.props.onValidateInput&&n.props.createGenericItem){var e=n.props.createGenericItem(n.state.queryString,n.props.onValidateInput(n.state.queryString)),t=n.suggestionStore.convertSuggestionsToSuggestionItems([e]);n.onChange(t[0].item)}},n._async=new wt(n),Ct(n),n.suggestionStore=t.suggestionsStore,n.state={queryString:"",didBind:!1},n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"inputText",{get:function(){return this.state.queryString},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"suggestions",{get:function(){return this.suggestionStore.suggestions},enumerable:!1,configurable:!0}),t.prototype.forceResolveSuggestion=function(){this.suggestionsControl.current&&this.suggestionsControl.current.hasSuggestionSelected()?this.completeSuggestion():this._onValidateInput()},Object.defineProperty(t.prototype,"currentSelectedSuggestionIndex",{get:function(){return this.suggestionsControl.current?this.suggestionsControl.current.currentSuggestionIndex:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSuggestionsShown",{get:function(){return void 0!==this.state.suggestionsVisible&&this.state.suggestionsVisible},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._bindToInputElement(),this.isComponentMounted=!0,this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.componentDidUpdate=function(){this._bindToInputElement()},t.prototype.componentWillUnmount=function(){this._unbindFromInputElement(),this.isComponentMounted=!1},t.prototype.updateSuggestions=function(e,t){void 0===t&&(t=!1),this.suggestionStore.updateSuggestions(e),t&&this.forceUpdate()},t.prototype.render=function(){var e=this.props.className;return d.createElement("div",{ref:this.root,className:Me("ms-BasePicker ms-BaseFloatingPicker",e||"")},this.renderSuggestions())},t.prototype.renderSuggestions=function(){var e=this.SuggestionsControlOfProperType;return this.props.suggestionItems&&this.suggestionStore.updateSuggestions(this.props.suggestionItems),this.state.suggestionsVisible?d.createElement(Li,Object(u.a)({className:mb.callout,isBeakVisible:!1,gapSpace:5,target:this.props.inputElement,onDismiss:this.hidePicker,directionalHint:Eo.bottomLeftEdge,directionalHintForRTL:Eo.bottomRightEdge,calloutWidth:this.props.calloutWidth?this.props.calloutWidth:0},this.props.pickerCalloutProps),d.createElement(e,Object(u.a)({onRenderSuggestion:this.props.onRenderSuggestionsItem,onSuggestionClick:this.onSuggestionClick,onSuggestionRemove:this.onSuggestionRemove,suggestions:this.suggestionStore.getSuggestions(),componentRef:this.suggestionsControl,completeSuggestion:this.completeSuggestion,shouldLoopSelection:!1},this.props.pickerSuggestionsProps))):null},t.prototype.onSelectionChange=function(){this.forceUpdate()},t.prototype.updateValue=function(e){""===e?this.updateSuggestionWithZeroState():this._onResolveSuggestions(e)},t.prototype.updateSuggestionWithZeroState=function(){if(this.props.onZeroQuerySuggestion){var e=(0,this.props.onZeroQuerySuggestion)(this.props.selectedItems);this.updateSuggestionsList(e)}else this.hidePicker()},t.prototype.updateSuggestionsList=function(e){var t=this;Array.isArray(e)?this.updateSuggestions(e,!0):e&&e.then&&(this.currentPromise=e,e.then((function(n){e===t.currentPromise&&t.isComponentMounted&&t.updateSuggestions(n,!0)})))},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype._updateActiveDescendant=function(){if(this.props.inputElement&&this.suggestionsControl.current&&this.suggestionsControl.current.selectedElement){var e=this.suggestionsControl.current.selectedElement.getAttribute("id");e&&this.props.inputElement.setAttribute("aria-activedescendant",e)}},t.prototype._onResolveSuggestions=function(e){var t=this.props.onResolveSuggestions(e,this.props.selectedItems);this._updateSuggestionsVisible(!0),null!==t&&this.updateSuggestionsList(t)},t.prototype._updateSuggestionsVisible=function(e){e?this.showPicker():this.hidePicker()},t.prototype._bindToInputElement=function(){this.props.inputElement&&!this.state.didBind&&(this.props.inputElement.addEventListener("keydown",this.onKeyDown),this.setState({didBind:!0}))},t.prototype._unbindFromInputElement=function(){this.props.inputElement&&this.state.didBind&&(this.props.inputElement.removeEventListener("keydown",this.onKeyDown),this.setState({didBind:!1}))},t}(d.Component);Object(yv.a)([{rawString:".resultContent_f73be5be{display:table-row}.resultContent_f73be5be .resultItem_f73be5be{display:table-cell;vertical-align:bottom}.peoplePickerPersona_f73be5be{width:180px}.peoplePickerPersona_f73be5be .ms-Persona-details{width:100%}.peoplePicker_f73be5be .ms-BasePicker-text{min-height:40px}.peoplePickerPersonaContent_f73be5be{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7px 12px}"}]);var vb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t}(gb),bb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.defaultProps={onRenderSuggestionsItem:function(e,t){return n=Object(u.a)({},e),Object(u.a)({},t),d.createElement("div",{className:Me("ms-PeoplePicker-personaContent","peoplePickerPersonaContent_f73be5be")},d.createElement(Nv,Object(u.a)({presence:void 0!==n.presence?n.presence:Fe.none,size:Ne.size40,className:Me("ms-PeoplePicker-Persona","peoplePickerPersona_f73be5be"),showSecondaryText:!0},n)));var n},createGenericItem:yb},t}(vb);function yb(e,t){var n={key:e,primaryText:e,imageInitials:"!",isValid:t};return t||(n.imageInitials=ke(e,P())),n}var Cb=function(){function e(e){var t=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(e){return t._isSuggestionModel(e)?e:{item:e,selected:!1,ariaLabel:void 0!==t.getAriaLabel?t.getAriaLabel(e):e.name||e.text||e.primaryText}},this.suggestions=[],this.getAriaLabel=e&&e.getAriaLabel}return e.prototype.updateSuggestions=function(e){e&&e.length>0?this.suggestions=this.convertSuggestionsToSuggestionItems(e):this.suggestions=[]},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e}(),_b=function(e){return!(!e||!e.some((function(e){return e.children?_b(e.children):!e.isCollapsed})))},Sb=function(e,t){if(void 0!==e)for(var n=0;n<e.length;n++)e[n].isCollapsed=t},kb=function(e){return e.which===M(E.right)},xb=L(),wb=function(e,t){var n,o;switch(e.type){case"item":return null!==(o=null===(n=e.item)||void 0===n?void 0:n.key)&&void 0!==o?o:null;case"header":return e.group.key;case"footer":return"".concat(e.group.key,"-footer");case"showAll":return"".concat(e.group.key,"-showAll")}return null},Ib=function(e){return d.createElement(Hh,Object(u.a)({},e))},Eb=function(e){return d.createElement(Vh,Object(u.a)({},e))},Ob=function(e){return e.group&&e.footerText?d.createElement(Gh,Object(u.a)({},e)):null},Tb=function(e){var t=e.selection,n=e.selectionMode,o=void 0===n?Qf.multiple:n,r=e.groupProps,i=void 0===r?{}:r,a=e.compact,s=void 0!==a&&a,l=e.items,c=void 0===l?[]:l,p=e.groups,f=e.onGroupExpandStateChanged,h=e.className,m=e.usePageCache,g=e.onShouldVirtualize,v=e.theme,b=e.role,y=void 0===b?"treegrid":b,C=e.styles,_=e.focusZoneProps,S=void 0===_?{}:_,k=e.rootListProps,x=void 0===k?{}:k,w=e.onRenderCell,I=e.viewport,E=e.listRef,O=e.groupExpandedVersion,T=e.version,D=i.onRenderHeader,P=void 0===D?Ib:D,R=i.onRenderFooter,M=void 0===R?Ob:R,N=i.onRenderShowAll,F=void 0===N?Eb:N,B=xb(C,{theme:v,className:h,compact:s}),L=d.useRef(),A=d.useRef([]),j=d.useRef(_b(p)),H=d.useState({}),z=H[0],W=H[1],V=d.useState({}),U=V[0],K=V[1],G=S.shouldEnterInnerZone,q=void 0===G?kb:G,Y=d.useMemo((function(){return function(e,t,n,o){if(!e)return t;n.length<1&&(n=new Array(t.length));for(var r=0,i=[],a=e.length-1;a>=0;)i.push({group:e[a],groupIndex:a+1}),a--;for(;i.length>0;){var s=i.pop(),l=s.group,c=s.groupIndex;for(n[r]={group:l,groupId:bn("GroupedListSection"),type:"header",groupIndex:c},r++;!0!==l.isCollapsed&&(null==l?void 0:l.children)&&l.children.length>0;){for(a=l.children.length-1;a>0;)i.push({group:l.children[a],groupIndex:a+1}),a--;l=l.children[0],n[r]={group:l,groupId:bn("GroupedListSection"),type:"header",groupIndex:1},r++}if(!0!==l.isCollapsed){for(var u=l.startIndex,d=o?o(l):1/0,p=l.isShowingAll?t.length:l.count,f=u+Math.min(p,d);u<f;)n[r]={group:l,item:t[u],itemIndex:u,type:"item"},u++,r++;!l.children&&!l.isCollapsed&&!l.isShowingAll&&(l.count>d||l.hasMoreData)&&(n[r]={group:l,type:"showAll"},r++)}n[r]={group:l,type:"footer"},r++}return n.length=r,n}(p,c,A.current,null==i?void 0:i.getGroupItemLimit)}),[p,null==i?void 0:i.getGroupItemLimit,c,U,A,O]),Q=d.useCallback((function(e){var t=Y[e];return{key:"header"===t.type?t.group.key:void 0}}),[Y]);d.useEffect((function(){return(null==i?void 0:i.isAllGroupsCollapsed)&&Sb(p,i.isAllGroupsCollapsed),L.current=new vo(void 0),function(){var e;null===(e=L.current)||void 0===e||e.dispose(),L.current=void 0}}),[]),d.useEffect((function(){W({})}),[T]),d.useEffect((function(){var e=_b(p);e!==j.current&&(j.current=e,null==f||f(e))}),[p,U,f,O]);var X=d.useCallback((function(e){var t,n=null===(t=null==i?void 0:i.headerProps)||void 0===t?void 0:t.onToggleCollapse;e&&(null==n||n(e),e.isCollapsed=!e.isCollapsed,K({}),W({}))}),[K,i]),Z=function(e){e&&t&&o===Qf.multiple&&t.toggleRangeSelected(e.startIndex,e.count)},$=function(e){var t,n=null===(t=null==i?void 0:i.showAllProps)||void 0===t?void 0:t.onToggleSummarize;n?n(e):(e&&(e.isShowingAll=!e.isShowingAll),W({}),K({}))},J=function(e,t){var n;return{group:e,groupIndex:t,groupLevel:null!==(n=e.level)&&void 0!==n?n:0,viewport:I,selectionMode:o,groups:p,compact:s,onToggleSelectGroup:Z,onToggleCollapse:X,onToggleSummarize:$}};return d.createElement(zn,Object(u.a)({direction:Ot.vertical,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},S,{shouldEnterInnerZone:q,className:Me(B.root,S.className)}),d.createElement(Jp,Object(u.a)({ref:E,role:y,items:Y,onRenderCellConditional:function(e,n){var o;if("header"===e.type)return function(e,n){var o,r=e.group;o="treegrid"===y?{ariaLevel:r.level?r.level+1:1,ariaSetSize:p?p.length:void 0,ariaPosInSet:e.groupIndex}:{ariaRowIndex:n};var a=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},i.headerProps),J(e.group,n)),{key:r.key,groupedListId:e.groupId}),o);return d.createElement(Db,{render:P,defaultRender:Ib,item:e,selection:t,eventGroup:L.current,props:a})}(e,n);if("showAll"===e.type)return function(e,t){var n=e.group,o=Object(u.a)(Object(u.a)(Object(u.a)({},i.showAllProps),J(n,t)),{key:n.key?"".concat(n.key,"-show-all"):void 0});return F(o,Eb)}(e,n);if("footer"===e.type)return function(e,t){var n=e.group,o=Object(u.a)(Object(u.a)(Object(u.a)({},i.footerProps),J(n,t)),{key:n.key?"".concat(n.key,"-footer"):void 0});return M(o,Ob)}(e,n);var r=e.group.level?e.group.level+1:1;return w(r,e.item,null!==(o=e.itemIndex)&&void 0!==o?o:n,e.group)},usePageCache:m,onShouldVirtualize:g,getPageSpecification:Q,version:z,getKey:wb},x)))},Db=function(e){var t=e.render,n=e.defaultRender,o=e.item,r=e.selection,i=e.eventGroup,a=e.props,s=o.group,l=function(e,t,n,o){var r=d.useState((function(){var o;return null!==(o=null==n?void 0:n.isRangeSelected(e,t))&&void 0!==o&&o})),i=r[0],a=r[1];return d.useEffect((function(){if(n&&o){var r=function(){var o;a(null!==(o=null==n?void 0:n.isRangeSelected(e,t))&&void 0!==o&&o)};return o.on(n,Zf,r),function(){null==o||o.off(n,Zf,r)}}}),[e,t,n,o]),i}(s.startIndex,s.count,r,i);return t(Object(u.a)(Object(u.a)({},a),{isSelected:l,selected:l}),n)},Pb=k(function(e){function t(t){var n=e.call(this,t)||this;n._list=d.createRef(),Ct(n);var o=t.listProps,r=(void 0===o?{}:o).version,i=void 0===r?{}:r,a=t.groups;return n.state={version:i,groupExpandedVersion:{},groups:a},n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.groups,o=e.selectionMode,r=e.compact,i=e.items,a=e.listProps,s=a&&a.version,l=Object(u.a)(Object(u.a)({},t),{groups:n});return s===t.version&&i===t.items&&n===t.groups&&o===t.selectionMode&&r===t.compact||(l.version={}),l},t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n)},t.prototype.getStartItemIndexInView=function(){var e;return(null===(e=this._list.current)||void 0===e?void 0:e.getStartItemIndexInView())||0},t.prototype.render=function(){return d.createElement(Tb,Object(u.a)({},this.props,this.state,{listRef:this._list}))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdate()},t.prototype.toggleCollapseAll=function(e){var t,n=this.state.groups,o=this.props.groupProps;n&&n.length>0&&(null===(t=null==o?void 0:o.onToggleCollapseAll)||void 0===t||t.call(o,e),Sb(n,e),this.setState({groupExpandedVersion:{}}),this.forceUpdate())},t.prototype._forceListUpdate=function(){this.setState({version:{}})},t.displayName="GroupedListV2",t}(d.Component),Eh,void 0,{scope:"GroupedListV2"});Pb.displayName="GroupedListV2_unstable";var Rb,Mb={root:"ms-ExpandingCard-root",compactCard:"ms-ExpandingCard-compactCard",expandedCard:"ms-ExpandingCard-expandedCard",expandedCardScroll:"ms-ExpandingCard-expandedCardScrollRegion"};!function(e){e[e.compact=0]="compact",e[e.expanded=1]="expanded"}(Rb||(Rb={}));var Nb,Fb,Bb=function(e){var t=e.gapSpace,n=void 0===t?0:t,o=e.directionalHint,r=void 0===o?Eo.bottomLeftEdge:o,i=e.directionalHintFixed,a=e.targetElement,s=e.firstFocus,l=e.trapFocus,c=e.onLeave,p=e.className,f=e.finalHeight,h=e.content,m=e.calloutProps,g=Object(u.a)(Object(u.a)(Object(u.a)({},fe(e,pe)),{className:p,target:a,isBeakVisible:!1,directionalHint:r,directionalHintFixed:i,finalHeight:f,minPagePadding:24,onDismiss:c,gapSpace:n}),m);return d.createElement(d.Fragment,null,l?d.createElement(tu,Object(u.a)({},g,{focusTrapProps:{forceFocusInsideTrap:!1,isClickableOutsideFocusTrap:!0,disableFirstFocus:!s}}),h):d.createElement(Li,Object(u.a)({},g),h))},Lb=L(),Ab=function(e){function t(t){var n=e.call(this,t)||this;return n._expandedElem=d.createRef(),n._onKeyDown=function(e){e.which===E.escape&&n.props.onLeave&&n.props.onLeave(e)},n._onRenderCompactCard=function(){return d.createElement("div",{className:n._classNames.compactCard},n.props.onRenderCompactCard(n.props.renderData))},n._onRenderExpandedCard=function(){return!n.state.firstFrameRendered&&n._async.requestAnimationFrame((function(){n.setState({firstFrameRendered:!0})})),d.createElement("div",{className:n._classNames.expandedCard,ref:n._expandedElem},d.createElement("div",{className:n._classNames.expandedCardScroll},n.props.onRenderExpandedCard&&n.props.onRenderExpandedCard(n.props.renderData)))},n._checkNeedsScroll=function(){var e=n.props.expandedCardHeight;n._async.requestAnimationFrame((function(){n._expandedElem.current&&n._expandedElem.current.scrollHeight>=e&&n.setState({needsScroll:!0})}))},n._async=new wt(n),Ct(n),n.state={firstFrameRendered:!1,needsScroll:!1},n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){this._checkNeedsScroll()},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.styles,n=e.compactCardHeight,o=e.expandedCardHeight,r=e.theme,i=e.mode,a=e.className,s=this.state,l=s.needsScroll,c=s.firstFrameRendered,p=n+o;this._classNames=Lb(t,{theme:r,compactCardHeight:n,className:a,expandedCardHeight:o,needsScroll:l,expandedCardFirstFrameRendered:i===Rb.expanded&&c});var f=d.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this._onRenderCompactCard(),this._onRenderExpandedCard());return d.createElement(Bb,Object(u.a)({},this.props,{content:f,finalHeight:p,className:this._classNames.root}))},t.defaultProps={compactCardHeight:156,expandedCardHeight:384,directionalHintFixed:!0},t}(d.Component),jb=k(Ab,(function(e){var t,n=e.theme,o=e.needsScroll,r=e.expandedCardFirstFrameRendered,i=e.compactCardHeight,a=e.expandedCardHeight,s=e.className,l=n.palette,c=Object(p.R)(Mb,n);return{root:[c.root,{width:320,pointerEvents:"none",selectors:(t={},t[p.m]={border:"1px solid WindowText"},t)},s],compactCard:[c.compactCard,{pointerEvents:"auto",position:"relative",height:i}],expandedCard:[c.expandedCard,{height:1,overflowY:"hidden",pointerEvents:"auto",transition:"height 0.467s cubic-bezier(0.5, 0, 0, 1)",selectors:{":before":{content:'""',position:"relative",display:"block",top:0,left:24,width:272,height:1,backgroundColor:l.neutralLighter}}},r&&{height:a}],expandedCardScroll:[c.expandedCardScroll,o&&{height:"100%",boxSizing:"border-box",overflowY:"auto"}]}}),void 0,{scope:"ExpandingCard"}),Hb={host:"ms-HoverCard-host"};!function(e){e[e.hover=0]="hover",e[e.hotKey=1]="hotKey"}(Nb||(Nb={})),function(e){e.plain="PlainCard",e.expanding="ExpandingCard"}(Fb||(Fb={}));var zb={root:"ms-PlainCard-root"};var Wb=L(),Vb=function(e){function t(t){var n=e.call(this,t)||this;return n._onKeyDown=function(e){e.which===E.escape&&n.props.onLeave&&n.props.onLeave(e)},Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme,o=e.className;this._classNames=Wb(t,{theme:n,className:o});var r=d.createElement("div",{onMouseEnter:this.props.onEnter,onMouseLeave:this.props.onLeave,onKeyDown:this._onKeyDown},this.props.onRenderPlainCard(this.props.renderData));return d.createElement(Bb,Object(u.a)({},this.props,{content:r,className:this._classNames.root}))},t}(d.Component),Ub=k(Vb,(function(e){var t,n=e.theme,o=e.className;return{root:[Object(p.R)(zb,n).root,{pointerEvents:"auto",selectors:(t={},t[p.m]={border:"1px solid WindowText"},t)},o]}}),void 0,{scope:"PlainCard"}),Kb=L(),Gb=function(e){function t(t){var n=e.call(this,t)||this;return n._hoverCard=d.createRef(),n.dismiss=function(e){n._async.clearTimeout(n._openTimerId),n._async.clearTimeout(n._dismissTimerId),e?n._dismissTimerId=n._async.setTimeout((function(){n._setDismissedState()}),n.props.cardDismissDelay):n._setDismissedState()},n._cardOpen=function(e){n._shouldBlockHoverCard()||"keydown"===e.type&&e.which!==n.props.openHotKey||(n._async.clearTimeout(n._dismissTimerId),"mouseenter"===e.type&&(n._currentMouseTarget=e.currentTarget),n._executeCardOpen(e))},n._executeCardOpen=function(e){n._async.clearTimeout(n._openTimerId),n._openTimerId=n._async.setTimeout((function(){n.setState((function(t){return t.isHoverCardVisible?t:{isHoverCardVisible:!0,mode:Rb.compact,openMode:"keydown"===e.type?Nb.hotKey:Nb.hover}}))}),n.props.cardOpenDelay)},n._cardDismiss=function(e,t){if(e){if(!(t instanceof MouseEvent))return;if("keydown"===t.type&&t.which!==E.escape)return;n.props.sticky||n._currentMouseTarget!==t.currentTarget&&t.which!==E.escape||n.dismiss(!0)}else{if(n.props.sticky&&!(t instanceof MouseEvent)&&t.nativeEvent instanceof MouseEvent&&"mouseleave"===t.type)return;n.dismiss(!0)}},n._setDismissedState=function(){n.setState({isHoverCardVisible:!1,mode:Rb.compact,openMode:Nb.hover})},n._instantOpenAsExpanded=function(e){n._async.clearTimeout(n._dismissTimerId),n.setState((function(e){return e.isHoverCardVisible?e:{isHoverCardVisible:!0,mode:Rb.expanded}}))},n._setEventListeners=function(){var e=n.props,t=e.trapFocus,o=e.instantOpenOnClick,r=e.eventListenerTarget,i=r?n._getTargetElement(r):n._getTargetElement(n.props.target),a=n._nativeDismissEvent;i&&(n._events.on(i,"mouseenter",n._cardOpen),n._events.on(i,"mouseleave",a),t?n._events.on(i,"keydown",n._cardOpen):(n._events.on(i,"focus",n._cardOpen),n._events.on(i,"blur",a)),o?n._events.on(i,"click",n._instantOpenAsExpanded):(n._events.on(i,"mousedown",a),n._events.on(i,"keydown",a)))},Ct(n),n._async=new wt(n),n._events=new vo(n),n._nativeDismissEvent=n._cardDismiss.bind(n,!0),n._childDismissEvent=n._cardDismiss.bind(n,!1),n.state={isHoverCardVisible:!1,mode:Rb.compact,openMode:Nb.hover},n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){this._setEventListeners()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.componentDidUpdate=function(e,t){var n=this;e.target!==this.props.target&&(this._events.off(),this._setEventListeners()),t.isHoverCardVisible!==this.state.isHoverCardVisible&&(this.state.isHoverCardVisible?(this._async.setTimeout((function(){n.setState({mode:Rb.expanded},(function(){n.props.onCardExpand&&n.props.onCardExpand()}))}),this.props.expandedCardOpenDelay),this.props.onCardVisible&&this.props.onCardVisible()):(this.setState({mode:Rb.compact}),this.props.onCardHide&&this.props.onCardHide()))},t.prototype.render=function(){var e=this.props,t=e.expandingCardProps,n=e.children,o=e.id,r=e.setAriaDescribedBy,i=void 0===r||r,a=e.styles,s=e.theme,l=e.className,c=e.type,p=e.plainCardProps,f=e.trapFocus,h=e.setInitialFocus,m=this.state,g=m.isHoverCardVisible,v=m.mode,b=m.openMode,y=o||bn("hoverCard");this._classNames=Kb(a,{theme:s,className:l});var C=Object(u.a)(Object(u.a)({},fe(this.props,pe)),{id:y,trapFocus:!!f,firstFocus:h||b===Nb.hotKey,targetElement:this._getTargetElement(this.props.target),onEnter:this._cardOpen,onLeave:this._childDismissEvent}),_=Object(u.a)(Object(u.a)(Object(u.a)({},t),C),{mode:v}),S=Object(u.a)(Object(u.a)({},p),C);return d.createElement("div",{className:this._classNames.host,ref:this._hoverCard,"aria-describedby":i&&g?y:void 0,"data-is-focusable":!this.props.target},n,g&&(c===Fb.expanding?d.createElement(jb,Object(u.a)({},_)):d.createElement(Ub,Object(u.a)({},S))))},t.prototype._getTargetElement=function(e){switch(typeof e){case"string":return Object(O.a)().querySelector(e);case"object":return e;default:return this._hoverCard.current||void 0}},t.prototype._shouldBlockHoverCard=function(){return!(!this.props.shouldBlockHoverCard||!this.props.shouldBlockHoverCard())},t.defaultProps={cardOpenDelay:500,cardDismissDelay:100,expandedCardOpenDelay:1500,instantOpenOnClick:!1,setInitialFocus:!1,openHotKey:E.c,type:Fb.expanding},t}(d.Component),qb=k(Gb,(function(e){var t=e.className,n=e.theme;return{host:[Object(p.R)(Hb,n).host,t]}}),void 0,{scope:"HoverCard"}),Yb=n(108);function Qb(e){var t=Object(O.a)().querySelectorAll(e);return Array.from(t).find((function(e){return an(e)}))}var Xb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.content,n=e.styles,o=e.theme,r=e.disabled,i=e.visible,a=L()(n,{theme:o,disabled:r,visible:i});return d.createElement("div",{className:a.container},d.createElement("span",{className:a.root},t))},t}(d.Component),Zb=function(e){return{container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]}},$b=function(e){return function(t){return Object(p.db)({container:[],root:[{border:"none",boxShadow:"none"}],beak:[],beakCurtain:[],calloutMain:[{backgroundColor:"transparent"}]},{root:[{marginLeft:e.left||e.x,marginTop:e.top||e.y}]})}},Jb=k(Xb,(function(e){var t,n=e.theme,o=e.disabled,r=e.visible;return{container:[{backgroundColor:n.palette.neutralDark},o&&{opacity:.5,selectors:(t={},t[p.m]={color:"GrayText",opacity:1},t)},!r&&{visibility:"hidden"}],root:[n.fonts.medium,{textAlign:"center",paddingLeft:"3px",paddingRight:"3px",backgroundColor:n.palette.neutralDark,color:n.palette.neutralLight,minWidth:"11px",lineHeight:"17px",height:"17px",display:"inline-block"},o&&{color:n.palette.neutralTertiaryAlt}]}}),void 0,{scope:"KeytipContent"}),ey=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.keySequences,o=t.offset,r=t.overflowSetSequence,i=this.props.calloutProps,a=Qb(e=ha(r?fa(n,r):n));return a?(e=a,o&&(i=Object(u.a)(Object(u.a)({},i),{coverTarget:!0,directionalHint:Eo.topLeftEdge})),i&&void 0!==i.directionalHint||(i=Object(u.a)(Object(u.a)({},i),{directionalHint:Eo.bottomCenter})),d.createElement(Li,Object(u.a)({},i,{isBeakVisible:!1,doNotLayer:!0,minPagePadding:0,styles:o?$b(o):Zb,preventDismissOnScroll:!0,target:e}),d.createElement(Jb,Object(u.a)({},this.props)))):d.createElement(d.Fragment,null)},t}(d.Component),ty=function(e){return{root:[{zIndex:p.G.KeytipLayer}]}},ny=function(){function e(){this.nodeMap={},this.root={id:la,children:[],parent:"",keySequences:[]},this.nodeMap[this.root.id]=this.root}return e.prototype.addNode=function(e,t,n){var o=this._getFullSequence(e),r=pa(o);o.pop();var i=this._getParentID(o),a=this._createNode(r,i,[],e,n);this.nodeMap[t]=a,this.getNodes([i]).forEach((function(e){return e.children.push(r)}))},e.prototype.updateNode=function(e,t){var n=this._getFullSequence(e),o=pa(n);n.pop();var r=this._getParentID(n),i=this.nodeMap[t],a=i.parent;if(i){if(a!==r&&this._removeChildFromParents(a,i.id),i.id!==o)this.getNodes([r]).forEach((function(e){var t=e.children.indexOf(i.id);t>=0?e.children[t]=o:e.children.push(o)}));i.id=o,i.keySequences=e.keySequences,i.overflowSetSequence=e.overflowSetSequence,i.onExecute=e.onExecute,i.onReturn=e.onReturn,i.hasDynamicChildren=e.hasDynamicChildren,i.hasMenu=e.hasMenu,i.parent=r,i.disabled=e.disabled}},e.prototype.removeNode=function(e,t){var n=this._getFullSequence(e),o=pa(n);n.pop(),this._removeChildFromParents(this._getParentID(n),o),this.nodeMap[t]&&delete this.nodeMap[t]},e.prototype.getExactMatchedNode=function(e,t){var n=this,o=this.getNodes(t.children).filter((function(t){return n._getNodeSequence(t)===e&&!t.disabled}));if(0!==o.length){var r=o[0];if(1===o.length)return r;var i=r.keySequences,a=r.overflowSetSequence,s=ha(a?fa(i,a):i),l=document.querySelectorAll(s);if(o.length<l.length)return r;var c=Array.from(l).findIndex((function(e){return an(e)}));return-1!==c?o[c]:o.find((function(e){return e.hasOverflowSubMenu}))||r}},e.prototype.getPartiallyMatchedNodes=function(e,t){var n=this;return this.getNodes(t.children).filter((function(t){return 0===n._getNodeSequence(t).indexOf(e)&&!t.disabled}))},e.prototype.getChildren=function(e){var t=this;if(!e&&!(e=this.currentKeytip))return[];var n=e.children;return Object.keys(this.nodeMap).reduce((function(e,o){return n.indexOf(t.nodeMap[o].id)>=0&&!t.nodeMap[o].persisted&&e.push(t.nodeMap[o].id),e}),[])},e.prototype.getNodes=function(e){var t=this;return Object.keys(this.nodeMap).reduce((function(n,o){return e.indexOf(t.nodeMap[o].id)>=0&&n.push(t.nodeMap[o]),n}),[])},e.prototype.getNode=function(e){return Ft(mo(this.nodeMap),(function(t){return t.id===e}))},e.prototype.isCurrentKeytipParent=function(e){if(this.currentKeytip){var t=Object(u.e)([],e.keySequences,!0);e.overflowSetSequence&&(t=fa(t,e.overflowSetSequence)),t.pop();var n=0===t.length?this.root.id:pa(t),o=!1;if(this.currentKeytip.overflowSetSequence)o=pa(this.currentKeytip.keySequences)===n;return o||this.currentKeytip.id===n}return!1},e.prototype._getParentID=function(e){return 0===e.length?this.root.id:pa(e)},e.prototype._getFullSequence=function(e){var t=Object(u.e)([],e.keySequences,!0);return e.overflowSetSequence&&(t=fa(t,e.overflowSetSequence)),t},e.prototype._getNodeSequence=function(e){var t=Object(u.e)([],e.keySequences,!0);return e.overflowSetSequence&&(t=fa(t,e.overflowSetSequence)),t[t.length-1]},e.prototype._createNode=function(e,t,n,o,r){var i=this,a=o.keySequences,s=o.hasDynamicChildren,l=o.overflowSetSequence,c=o.hasMenu,u=o.onExecute,d=o.onReturn,p=o.disabled,f=o.hasOverflowSubMenu,h={id:e,keySequences:a,overflowSetSequence:l,parent:t,children:n,onExecute:u,onReturn:d,hasDynamicChildren:s,hasMenu:c,disabled:p,persisted:r,hasOverflowSubMenu:f};return h.children=Object.keys(this.nodeMap).reduce((function(t,n){return i.nodeMap[n].parent===e&&t.push(i.nodeMap[n].id),t}),[]),h},e.prototype._removeChildFromParents=function(e,t){this.getNodes([e]).forEach((function(e){var n=e.children.indexOf(t);n>=0&&e.children.splice(n,1)}))},e}();function oy(e,t){if(e.key!==t.key)return!1;var n=e.modifierKeys,o=t.modifierKeys;if(!n&&o||n&&!o)return!1;if(n&&o){if(n.length!==o.length)return!1;n=n.sort(),o=o.sort();for(var r=0;r<n.length;r++)if(n[r]!==o[r])return!1}return!0}function ry(e,t){return!!Ft(e,(function(e){return oy(e,t)}))}var iy={key:Ro()?"Control":"Meta",modifierKeys:[E.alt]},ay=iy,sy={key:"Escape"},ly=L(),cy=function(e){function t(t,n){var o=e.call(this,t,n)||this;o._keytipManager=da.getInstance(),o._delayedKeytipQueue=[],o._keyHandled=!1,o._onDismiss=function(e){o.state.inKeytipMode&&o._exitKeytipMode(e)},o._onKeyDown=function(e){o._keyHandled=!1;var t=e.key;switch(t){case"Tab":case"Enter":case"Spacebar":case" ":case"ArrowUp":case"Up":case"ArrowDown":case"Down":case"ArrowLeft":case"Left":case"ArrowRight":case"Right":o.state.inKeytipMode&&(o._keyHandled=!0,o._exitKeytipMode(e));break;default:"Esc"===t?t="Escape":"OS"!==t&&"Win"!==t||(t="Meta");var n={key:t};n.modifierKeys=o._getModifierKey(t,e),o.processTransitionInput(n,e)}},o._onKeyPress=function(e){o.state.inKeytipMode&&!o._keyHandled&&(o.processInput(e.key.toLocaleLowerCase(),e),e.preventDefault(),e.stopPropagation())},o._onKeytipAdded=function(e){var t,n=e.keytip,r=e.uniqueID;if(o._keytipTree.addNode(n,r),o._setKeytips(),o._keytipTree.isCurrentKeytipParent(n)&&(o._delayedKeytipQueue=o._delayedKeytipQueue.concat((null===(t=o._keytipTree.currentKeytip)||void 0===t?void 0:t.children)||[]),o._addKeytipToQueue(pa(n.keySequences)),o._keytipTree.currentKeytip&&o._keytipTree.currentKeytip.hasDynamicChildren&&o._keytipTree.currentKeytip.children.indexOf(n.id)<0)){var i=o._keytipTree.getNode(o._keytipTree.currentKeytip.id);i&&(o._keytipTree.currentKeytip=i)}o._persistedKeytipChecks(n)},o._onKeytipUpdated=function(e){var t,n=e.keytip,r=e.uniqueID;o._keytipTree.updateNode(n,r),o._setKeytips(),o._keytipTree.isCurrentKeytipParent(n)&&(o._delayedKeytipQueue=o._delayedKeytipQueue.concat((null===(t=o._keytipTree.currentKeytip)||void 0===t?void 0:t.children)||[]),o._addKeytipToQueue(pa(n.keySequences))),o._persistedKeytipChecks(n)},o._persistedKeytipChecks=function(e){if(o._newCurrentKeytipSequences&&Wt(e.keySequences,o._newCurrentKeytipSequences)&&o._triggerKeytipImmediately(e),o._isCurrentKeytipAnAlias(e)){var t=e.keySequences;e.overflowSetSequence&&(t=fa(t,e.overflowSetSequence)),o._keytipTree.currentKeytip=o._keytipTree.getNode(pa(t))}},o._onKeytipRemoved=function(e){var t=e.keytip,n=e.uniqueID;o._removeKeytipFromQueue(pa(t.keySequences)),o._keytipTree.removeNode(t,n),o._setKeytips()},o._onPersistedKeytipAdded=function(e){var t=e.keytip,n=e.uniqueID;o._keytipTree.addNode(t,n,!0)},o._onPersistedKeytipRemoved=function(e){var t=e.keytip,n=e.uniqueID;o._keytipTree.removeNode(t,n)},o._onPersistedKeytipExecute=function(e){o._persistedKeytipExecute(e.overflowButtonSequences,e.keytipSequences)},o._setInKeytipMode=function(e){o.setState({inKeytipMode:e}),o._keytipManager.inKeytipMode=e},o._warnIfDuplicateKeytips=function(){var e=o._getDuplicateIds(o._keytipTree.getChildren());e.length&&Object(bo.b)("Duplicate keytips found for "+e.join(", "))},o._getDuplicateIds=function(e){var t={};return e.filter((function(e){return t[e]=t[e]?t[e]+1:1,2===t[e]}))},Ct(o),o._events=new vo(o),o._async=new wt(o);var r=o._keytipManager.getKeytips();return o.state={inKeytipMode:!1,keytips:r,visibleKeytips:o._getVisibleKeytips(r)},o._buildTree(),o._currentSequence="",o._events.on(o._keytipManager,Ai.KEYTIP_ADDED,o._onKeytipAdded),o._events.on(o._keytipManager,Ai.KEYTIP_UPDATED,o._onKeytipUpdated),o._events.on(o._keytipManager,Ai.KEYTIP_REMOVED,o._onKeytipRemoved),o._events.on(o._keytipManager,Ai.PERSISTED_KEYTIP_ADDED,o._onPersistedKeytipAdded),o._events.on(o._keytipManager,Ai.PERSISTED_KEYTIP_REMOVED,o._onPersistedKeytipRemoved),o._events.on(o._keytipManager,Ai.PERSISTED_KEYTIP_EXECUTE,o._onPersistedKeytipExecute),o}return Object(u.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.content,o=t.styles,r=this.state,i=r.keytips,a=r.visibleKeytips;return this._classNames=ly(o,{}),d.createElement(Bi,{styles:ty},d.createElement("span",{id:la,className:this._classNames.innerContent},"".concat(n).concat(ca)),i&&i.map((function(t,n){return d.createElement("span",{key:n,id:pa(t.keySequences),className:e._classNames.innerContent},t.keySequences.join(ca))})),a&&a.map((function(e){return d.createElement(ey,Object(u.a)({key:pa(e.keySequences)},e))})))},t.prototype.componentDidMount=function(){this._events.on(window,"mouseup",this._onDismiss,!0),this._events.on(window,"pointerup",this._onDismiss,!0),this._events.on(window,"resize",this._onDismiss),this._events.on(window,"keydown",this._onKeyDown,!0),this._events.on(window,"keypress",this._onKeyPress,!0),this._events.on(window,"scroll",this._onDismiss,!0),this._events.on(this._keytipManager,Ai.ENTER_KEYTIP_MODE,this._enterKeytipMode),this._events.on(this._keytipManager,Ai.EXIT_KEYTIP_MODE,this._exitKeytipMode)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.getCurrentSequence=function(){return this._currentSequence},t.prototype.getKeytipTree=function(){return this._keytipTree},t.prototype.processTransitionInput=function(e,t){var n=this._keytipTree.currentKeytip;ry(this.props.keytipExitSequences,e)&&n?(this._keyHandled=!0,this._exitKeytipMode(t)):ry(this.props.keytipReturnSequences,e)?n&&(this._keyHandled=!0,n.id===this._keytipTree.root.id?this._exitKeytipMode(t):(n.onReturn&&n.onReturn(this._getKtpExecuteTarget(n),this._getKtpTarget(n)),this._currentSequence="",this._keytipTree.currentKeytip=this._keytipTree.getNode(n.parent),this.showKeytips(this._keytipTree.getChildren()),this._warnIfDuplicateKeytips())):ry(this.props.keytipStartSequences,e)&&!n&&(this._keyHandled=!0,this._enterKeytipMode(e),this._warnIfDuplicateKeytips())},t.prototype.processInput=function(e,t){var n=this._currentSequence+e,o=this._keytipTree.currentKeytip;if(o){var r=this._keytipTree.getExactMatchedNode(n,o);if(r){this._keytipTree.currentKeytip=o=r;var i=this._keytipTree.getChildren();return o.onExecute&&(o.onExecute(this._getKtpExecuteTarget(o),this._getKtpTarget(o)),o=this._keytipTree.currentKeytip),0!==i.length||o.hasDynamicChildren||o.hasMenu?(this.showKeytips(i),this._warnIfDuplicateKeytips()):this._exitKeytipMode(t),void(this._currentSequence="")}var a=this._keytipTree.getPartiallyMatchedNodes(n,o);if(a.length>0){var s=a.filter((function(e){return!e.persisted})).map((function(e){return e.id}));this.showKeytips(s),this._currentSequence=n}}},t.prototype.showKeytips=function(e){for(var t=0,n=this._keytipManager.getKeytips();t<n.length;t++){var o=n[t],r=pa(o.keySequences);o.overflowSetSequence&&(r=pa(fa(o.keySequences,o.overflowSetSequence))),e.indexOf(r)>=0?o.visible=!0:o.visible=!1}this._setKeytips()},t.prototype._enterKeytipMode=function(e){this._keytipManager.shouldEnterKeytipMode&&(this._keytipManager.delayUpdatingKeytipChange&&(this._buildTree(),this._setKeytips()),this._keytipTree.currentKeytip=this._keytipTree.root,this.showKeytips(this._keytipTree.getChildren()),this._setInKeytipMode(!0),this.props.onEnterKeytipMode&&this.props.onEnterKeytipMode(e))},t.prototype._buildTree=function(){this._keytipTree=new ny;for(var e=0,t=Object.keys(this._keytipManager.keytips);e<t.length;e++){var n=t[e],o=this._keytipManager.keytips[n];this._keytipTree.addNode(o.keytip,o.uniqueID)}for(var r=0,i=Object.keys(this._keytipManager.persistedKeytips);r<i.length;r++){n=i[r],o=this._keytipManager.persistedKeytips[n];this._keytipTree.addNode(o.keytip,o.uniqueID)}},t.prototype._exitKeytipMode=function(e){this._keytipTree.currentKeytip=void 0,this._currentSequence="",this.showKeytips([]),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedKeytipQueue=[],this._setInKeytipMode(!1),this.props.onExitKeytipMode&&this.props.onExitKeytipMode(e)},t.prototype._setKeytips=function(e){void 0===e&&(e=this._keytipManager.getKeytips()),this.setState({keytips:e,visibleKeytips:this._getVisibleKeytips(e)})},t.prototype._persistedKeytipExecute=function(e,t){this._newCurrentKeytipSequences=t;var n=this._keytipTree.getNode(pa(e));n&&n.onExecute&&n.onExecute(this._getKtpExecuteTarget(n),this._getKtpTarget(n))},t.prototype._getVisibleKeytips=function(e){var t={};return e.filter((function(e){var n=pa(e.keySequences);e.overflowSetSequence&&(n=pa(fa(e.keySequences,e.overflowSetSequence)));var o=ha(e.keySequences),r=document.querySelectorAll(o);return t[n]=t[n]?t[n]+1:1,r.length>1&&t[n]<=r.length?e.visible&&an(r[t[n]-1]):e.visible&&1===t[n]}))},t.prototype._getModifierKey=function(e,t){var n=[];return t.altKey&&"Alt"!==e&&n.push(E.alt),t.ctrlKey&&"Control"!==e&&n.push(E.ctrl),t.shiftKey&&"Shift"!==e&&n.push(E.shift),t.metaKey&&"Meta"!==e&&n.push(E.leftWindow),n.length?n:void 0},t.prototype._triggerKeytipImmediately=function(e){var t=Object(u.e)([],e.keySequences,!0);if(e.overflowSetSequence&&(t=fa(t,e.overflowSetSequence)),this._keytipTree.currentKeytip=this._keytipTree.getNode(pa(t)),this._keytipTree.currentKeytip){var n=this._keytipTree.getChildren();n.length&&this.showKeytips(n),this._keytipTree.currentKeytip.onExecute&&this._keytipTree.currentKeytip.onExecute(this._getKtpExecuteTarget(this._keytipTree.currentKeytip),this._getKtpTarget(this._keytipTree.currentKeytip))}this._newCurrentKeytipSequences=void 0},t.prototype._addKeytipToQueue=function(e){var t=this;this._delayedKeytipQueue.push(e),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout((function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])}),300)},t.prototype._removeKeytipFromQueue=function(e){var t=this,n=this._delayedKeytipQueue.indexOf(e);n>=0&&(this._delayedKeytipQueue.splice(n,1),this._delayedQueueTimeout&&this._async.clearTimeout(this._delayedQueueTimeout),this._delayedQueueTimeout=this._async.setTimeout((function(){t._delayedKeytipQueue.length&&(t.showKeytips(t._delayedKeytipQueue),t._delayedKeytipQueue=[])}),300))},t.prototype._getKtpExecuteTarget=function(e){return Object(O.a)().querySelector(ma(e.id))},t.prototype._getKtpTarget=function(e){return Object(O.a)().querySelector(ha(e.keySequences))},t.prototype._isCurrentKeytipAnAlias=function(e){var t=this._keytipTree.currentKeytip;return!(!t||!t.overflowSetSequence&&!t.persisted||!Wt(e.keySequences,t.keySequences))},t.defaultProps={keytipStartSequences:[iy],keytipExitSequences:[ay],keytipReturnSequences:[sy],content:""},t}(d.Component),uy=k(cy,(function(e){return{innerContent:[{position:"absolute",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",visibility:"hidden"}]}}),void 0,{scope:"KeytipLayer"});function dy(e){for(var t={},n=0,o=e.keytips;n<o.length;n++){py(t,[],o[n])}return t}function py(e,t,n){var o=n.sequence?n.sequence:n.content.toLocaleLowerCase(),r=t.concat(o),i=Object(u.a)(Object(u.a)({},n.optionalProps),{keySequences:r,content:n.content});if(e[n.id]=i,n.children)for(var a=0,s=n.children;a<s.length;a++){py(e,r,s[a])}}function fy(e){var t=va(e),n=t.keytipId,o=t.ariaDescribedBy;return d.useCallback((function(e){if(e){var t=my(e,ia)||e,r=my(e,aa)||t,i=my(e,sa)||r;hy(t,ia,n),hy(r,aa,n),hy(i,"aria-describedby",o,!0)}}),[n,o])}function hy(e,t,n,o){if(void 0===o&&(o=!1),e&&n){var r=n;if(o){var i=e.getAttribute(t);i&&-1===i.indexOf(n)&&(r="".concat(i," ").concat(n))}e.setAttribute(t,r)}}function my(e,t){return e.querySelector("[".concat(t,"]"))}var gy=function(e){var t=e.className,n=d.useState((function(){return bn()}))[0],o=e.id,r=void 0===o?n:o,i=d.useRef({hostId:r,rootRef:d.useRef(null),notifyLayersChanged:function(){}});return d.useImperativeHandle(e.componentRef,(function(){return i.current})),d.useEffect((function(){ki(r,i.current),Ei(r)}),[]),$c((function(){xi(r,i.current),Ei(r)})),d.createElement("div",Object(u.a)({},e,{className:Me("ms-LayerHost",t),ref:i.current.rootRef}))},vy=function(){function e(e){this._events=new vo(this),this._scrollableParent=Pn(e),this._incrementScroll=this._incrementScroll.bind(this),this._scrollRect=Jh(this._scrollableParent),this._scrollableParent===window&&(this._scrollableParent=document.body),this._scrollableParent&&(this._events.on(window,"mousemove",this._onMouseMove,!0),this._events.on(window,"touchmove",this._onTouchMove,!0))}return e.prototype.dispose=function(){this._events.dispose(),this._stopScroll()},e.prototype._onMouseMove=function(e){this._computeScrollVelocity(e)},e.prototype._onTouchMove=function(e){e.touches.length>0&&this._computeScrollVelocity(e)},e.prototype._computeScrollVelocity=function(e){if(this._scrollRect){var t,n;"clientX"in e?(t=e.clientX,n=e.clientY):(t=e.touches[0].clientX,n=e.touches[0].clientY);var o,r,i,a=this._scrollRect.top,s=this._scrollRect.left,l=a+this._scrollRect.height-100,c=s+this._scrollRect.width-100;n<a+100||n>l?(r=n,o=a,i=l,this._isVerticalScroll=!0):(r=t,o=s,i=c,this._isVerticalScroll=!1),this._scrollVelocity=r<o+100?Math.max(-15,(100-(r-o))/100*-15):r>i?Math.min(15,(r-i)/100*15):0,this._scrollVelocity?this._startScroll():this._stopScroll()}},e.prototype._startScroll=function(){this._timeoutId||this._incrementScroll()},e.prototype._incrementScroll=function(){this._scrollableParent&&(this._isVerticalScroll?this._scrollableParent.scrollTop+=Math.round(this._scrollVelocity):this._scrollableParent.scrollLeft+=Math.round(this._scrollVelocity)),this._timeoutId=setTimeout(this._incrementScroll,16)},e.prototype._stopScroll=function(){this._timeoutId&&(clearTimeout(this._timeoutId),delete this._timeoutId)},e}();function by(e,t){var n=e.left||e.x||0,o=e.top||e.y||0,r=t.left||t.x||0,i=t.top||t.y||0;return Math.sqrt(Math.pow(n-r,2)+Math.pow(o-i,2))}function yy(e){var t,n=e.contentSize,o=e.boundsSize,r=e.mode,i=void 0===r?"contain":r,a=e.maxScale,s=void 0===a?1:a,l=n.width/n.height,c=o.width/o.height;t=("contain"===i?l>c:l<c)?o.width/n.width:o.height/n.height;var u=Math.min(s,t);return{width:n.width*u,height:n.height*u}}function Cy(e){var t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}function _y(e,t,n){void 0===n&&(n=10);var o=Math.pow(n,t);return Math.round(e*o)/o}var Sy,ky,xy=L(),wy=k(function(e){function t(t){var n=e.call(this,t)||this;return n._root=d.createRef(),n._onMouseDown=function(e){var t=n.props,o=t.isEnabled,r=t.onShouldStartSelection;n._isMouseEventOnScrollbar(e)||n._isInSelectionToggle(e)||n._isTouch||!o||n._isDragStartInSelection(e)||r&&!r(e)||n._scrollableSurface&&0===e.button&&n._root.current&&(n._selectedIndicies={},n._preservedIndicies=void 0,n._events.on(window,"mousemove",n._onAsyncMouseMove,!0),n._events.on(n._scrollableParent,"scroll",n._onAsyncMouseMove),n._events.on(window,"click",n._onMouseUp,!0),n._autoScroll=new vy(n._root.current),n._scrollTop=n._scrollableSurface.scrollTop,n._scrollLeft=n._scrollableSurface.scrollLeft,n._rootRect=n._root.current.getBoundingClientRect(),n._onMouseMove(e))},n._onTouchStart=function(e){n._isTouch=!0,n._async.setTimeout((function(){n._isTouch=!1}),0)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._isTouch=!0,n._async.setTimeout((function(){n._isTouch=!1}),0))},Ct(n),n._async=new wt(n),n._events=new vo(n),n.state={dragRect:void 0},n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){this._scrollableParent=Pn(this._root.current),this._scrollableSurface=this._scrollableParent===window?document.body:this._scrollableParent;var e=this.props.isDraggingConstrainedToRoot?this._root.current:this._scrollableSurface;this._events.on(e,"mousedown",this._onMouseDown),this._events.on(e,"touchstart",this._onTouchStart,!0),this._events.on(e,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._autoScroll&&this._autoScroll.dispose(),delete this._scrollableParent,delete this._scrollableSurface,this._events.dispose(),this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.rootProps,n=e.children,o=e.theme,r=e.className,i=e.styles,a=this.state.dragRect,s=xy(i,{theme:o,className:r});return d.createElement("div",Object(u.a)({},t,{className:s.root,ref:this._root}),n,a&&d.createElement("div",{className:s.dragMask}),a&&d.createElement("div",{className:s.box,style:a},d.createElement("div",{className:s.boxFill})))},t.prototype._isMouseEventOnScrollbar=function(e){var t=e.target,n=t.offsetWidth-t.clientWidth,o=t.offsetHeight-t.clientHeight;if(n||o){var r=t.getBoundingClientRect();if(P(this.props.theme)){if(e.clientX<r.left+n)return!0}else if(e.clientX>r.left+t.clientWidth)return!0;if(e.clientY>r.top+t.clientHeight)return!0}return!1},t.prototype._getRootRect=function(){return{left:this._rootRect.left+(this._scrollableSurface?this._scrollLeft-this._scrollableSurface.scrollLeft:this._scrollLeft),top:this._rootRect.top+(this._scrollableSurface?this._scrollTop-this._scrollableSurface.scrollTop:this._scrollTop),width:this._rootRect.width,height:this._rootRect.height}},t.prototype._onAsyncMouseMove=function(e){var t=this;this._async.requestAnimationFrame((function(){t._onMouseMove(e)})),e.stopPropagation(),e.preventDefault()},t.prototype._onMouseMove=function(e){if(this._autoScroll){void 0!==e.clientX&&(this._lastMouseEvent=e);var t=this._getRootRect(),n={left:e.clientX-t.left,top:e.clientY-t.top};if(this._dragOrigin||(this._dragOrigin=n),void 0!==e.buttons&&0===e.buttons)this._onMouseUp(e);else if(this.state.dragRect||by(this._dragOrigin,n)>5){if(!this.state.dragRect){var o=this.props.selection;e.shiftKey||o.setAllSelected(!1),this._preservedIndicies=o&&o.getSelectedIndices&&o.getSelectedIndices()}var r=this.props.isDraggingConstrainedToRoot?{left:Math.max(0,Math.min(t.width,this._lastMouseEvent.clientX-t.left)),top:Math.max(0,Math.min(t.height,this._lastMouseEvent.clientY-t.top))}:{left:this._lastMouseEvent.clientX-t.left,top:this._lastMouseEvent.clientY-t.top},i={left:Math.min(this._dragOrigin.left||0,r.left),top:Math.min(this._dragOrigin.top||0,r.top),width:Math.abs(r.left-(this._dragOrigin.left||0)),height:Math.abs(r.top-(this._dragOrigin.top||0))};this._evaluateSelection(i,t),this.setState({dragRect:i})}return!1}},t.prototype._onMouseUp=function(e){this._events.off(window),this._events.off(this._scrollableParent,"scroll"),this._autoScroll&&this._autoScroll.dispose(),this._autoScroll=this._dragOrigin=this._lastMouseEvent=void 0,this._selectedIndicies=this._itemRectCache=void 0,this.state.dragRect&&(this.setState({dragRect:void 0}),e.preventDefault(),e.stopPropagation())},t.prototype._isPointInRectangle=function(e,t){return!!t.top&&e.top<t.top&&e.bottom>t.top&&!!t.left&&e.left<t.left&&e.right>t.left},t.prototype._isDragStartInSelection=function(e){var t=this.props.selection;if(!this._root.current||t&&0===t.getSelectedCount())return!1;for(var n=this._root.current.querySelectorAll("[data-selection-index]"),o=0;o<n.length;o++){var r=n[o],i=Number(r.getAttribute("data-selection-index"));if(t.isIndexSelected(i)){var a=r.getBoundingClientRect();if(this._isPointInRectangle(a,{left:e.clientX,top:e.clientY}))return!0}}return!1},t.prototype._isInSelectionToggle=function(e){for(var t=e.target;t&&t!==this._root.current;){if("true"===t.getAttribute("data-selection-toggle"))return!0;t=t.parentElement}return!1},t.prototype._evaluateSelection=function(e,t){if(e&&this._root.current){var n=this.props.selection,o=this._root.current.querySelectorAll("[data-selection-index]");this._itemRectCache||(this._itemRectCache={});for(var r=0;r<o.length;r++){var i=o[r],a=i.getAttribute("data-selection-index"),s=this._itemRectCache[a];s||(s={left:(s=i.getBoundingClientRect()).left-t.left,top:s.top-t.top,width:s.width,height:s.height,right:s.left-t.left+s.width,bottom:s.top-t.top+s.height}).width>0&&s.height>0&&(this._itemRectCache[a]=s),s.top<e.top+e.height&&s.bottom>e.top&&s.left<e.left+e.width&&s.right>e.left?this._selectedIndicies[a]=!0:delete this._selectedIndicies[a]}var l=this._allSelectedIndices||{};for(var a in this._allSelectedIndices={},this._selectedIndicies)this._selectedIndicies.hasOwnProperty(a)&&(this._allSelectedIndices[a]=!0);if(this._preservedIndicies)for(var c=0,u=this._preservedIndicies;c<u.length;c++){a=u[c];this._allSelectedIndices[a]=!0}var d=!1;for(var a in this._allSelectedIndices)if(this._allSelectedIndices[a]!==l[a]){d=!0;break}if(!d)for(var a in l)if(this._allSelectedIndices[a]!==l[a]){d=!0;break}if(d){n.setChangeEvents(!1),n.setAllSelected(!1);for(var p=0,f=Object.keys(this._allSelectedIndices);p<f.length;p++){a=f[p];n.setIndexSelected(Number(a),!0,!1)}n.setChangeEvents(!0)}}},t.defaultProps={rootTagName:"div",rootProps:{},isEnabled:!0},t}(d.Component),(function(e){var t,n,o,r=e.theme,i=e.className,a=r.palette;return{root:[i,{position:"relative",cursor:"default"}],dragMask:[{position:"absolute",background:"rgba(255, 0, 0, 0)",left:0,top:0,right:0,bottom:0,selectors:(t={},t[p.m]={background:"none",backgroundColor:"transparent"},t)}],box:[{position:"absolute",boxSizing:"border-box",border:"1px solid ".concat(a.themePrimary),pointerEvents:"none",zIndex:10,selectors:(n={},n[p.m]={borderColor:"Highlight"},n)}],boxFill:[{position:"absolute",boxSizing:"border-box",backgroundColor:a.themePrimary,opacity:.1,left:0,top:0,right:0,bottom:0,selectors:(o={},o[p.m]={background:"none",backgroundColor:"transparent"},o)}]}}),void 0,{scope:"MarqueeSelection"});!function(e){e[e.info=0]="info",e[e.error=1]="error",e[e.blocked=2]="blocked",e[e.severeWarning=3]="severeWarning",e[e.success=4]="success",e[e.warning=5]="warning"}(Sy||(Sy={}));var Iy,Ey,Oy,Ty,Dy=((ky={})[Sy.info]="Info",ky[Sy.warning]="Info",ky[Sy.error]="ErrorBadge",ky[Sy.blocked]="Blocked2",ky[Sy.severeWarning]="Warning",ky[Sy.success]="Completed",ky),Py=L(),Ry=function(e){switch(e){case Sy.blocked:case Sy.error:case Sy.severeWarning:return"assertive"}return"polite"},My=function(e){switch(e){case Sy.blocked:case Sy.error:case Sy.severeWarning:return"alert"}return"status"},Ny=d.forwardRef((function(e,t){var n=km(!1),o=n[0],r=n[1].toggle,i=wa("MessageBar"),a=e.actions,s=e.className,l=e.children,c=e.overflowButtonAriaLabel,p=e.dismissIconProps,f=e.styles,h=e.theme,m=e.messageBarType,g=void 0===m?Sy.info:m,v=e.onDismiss,b=void 0===v?void 0:v,y=e.isMultiline,C=void 0===y||y,_=e.truncated,S=e.dismissButtonAriaLabel,k=e.messageBarIconProps,x=e.role,w=e.delayedRender,I=void 0===w||w,E=e.expandButtonProps,O=fe(e,U,["className","role"]),T=Py(f,{theme:h,messageBarType:g||Sy.info,onDismiss:void 0!==b,actions:void 0!==a,truncated:_,isMultiline:C,expandSingleLine:o,className:s}),D={iconName:o?"DoubleChevronUp":"DoubleChevronDown"},P=a||b?{"aria-describedby":i,role:"region"}:{},R=a?d.createElement("div",{className:T.actions},a):null,M=b?d.createElement(Ss,{disabled:!1,className:T.dismissal,onClick:b,iconProps:p||{iconName:"Clear"},title:S,ariaLabel:S}):null;return d.createElement("div",Object(u.a)({ref:t,className:T.root},P),d.createElement("div",{className:T.content},d.createElement("div",{className:T.iconContainer,"aria-hidden":!0},k?d.createElement(Ge,Object(u.a)({},k,{className:Me(T.icon,k.className)})):d.createElement(Ge,{iconName:Dy[g],className:T.icon})),d.createElement("div",{className:T.text,id:i,role:x||My(g),"aria-live":Ry(g)},d.createElement("span",Object(u.a)({className:T.innerText},O),I?d.createElement(Tt,null,d.createElement("span",null,l)):d.createElement("span",null,l))),!C&&!R&&_&&d.createElement("div",{className:T.expandSingleLine},d.createElement(Ss,Object(u.a)({disabled:!1,className:T.expand,onClick:r,iconProps:D,ariaLabel:c,"aria-expanded":o},E))),!C&&R,!C&&M&&d.createElement("div",{className:T.dismissSingleLine},M),C&&M),C&&R)}));Ny.displayName="MessageBar";var Fy,By={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"},Ly=((Iy={})[Sy.error]="errorBackground",Iy[Sy.blocked]="errorBackground",Iy[Sy.success]="successBackground",Iy[Sy.warning]="warningBackground",Iy[Sy.severeWarning]="severeWarningBackground",Iy[Sy.info]="infoBackground",Iy),Ay=((Ey={})[Sy.error]="errorIcon",Ey[Sy.blocked]="errorIcon",Ey[Sy.success]="successIcon",Ey[Sy.warning]="warningIcon",Ey[Sy.severeWarning]="severeWarningIcon",Ey[Sy.info]="infoIcon",Ey),jy=((Oy={})[Sy.error]="#ff0000",Oy[Sy.blocked]="#ff0000",Oy[Sy.success]="#bad80a",Oy[Sy.warning]="#fff100",Oy[Sy.severeWarning]="#ff0000",Oy[Sy.info]="WindowText",Oy),Hy=((Ty={})[Sy.error]="#e81123",Ty[Sy.blocked]="#e81123",Ty[Sy.success]="#107c10",Ty[Sy.warning]="#966400",Ty[Sy.severeWarning]="#d83b01",Ty[Sy.info]="WindowText",Ty),zy=k(Ny,(function(e){var t,n,o,r,i,a,s,l,c,d,f,h=e.theme,m=e.className,g=e.onDismiss,v=e.truncated,b=e.isMultiline,y=e.expandSingleLine,C=e.messageBarType,_=void 0===C?Sy.info:C,S=h.semanticColors,k=h.fonts,x=Object(p.X)(0,p.u),w=Object(p.R)(By,h),I={fontSize:p.p.xSmall,height:10,lineHeight:"10px",color:S.messageText,selectors:(t={},t[p.m]=Object(u.a)(Object(u.a)({},Object(p.S)()),{color:"WindowText"}),t)},E=[Object(p.Q)(h,{inset:1,highContrastStyle:{outlineOffset:"-6px",outline:"1px solid Highlight"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":I,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[w.root,k.medium,_===Sy.error&&w.error,_===Sy.blocked&&w.blocked,_===Sy.severeWarning&&w.severeWarning,_===Sy.success&&w.success,_===Sy.warning&&w.warning,b?w.multiline:w.singleline,!b&&g&&w.dismissalSingleLine,!b&&v&&w.expandingSingleLine,{background:S[Ly[_]],boxSizing:"border-box",color:S.messageText,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:(n={".ms-Link":{color:S.messageLink,selectors:{":hover":{color:S.messageLinkHovered}}}},n[p.m]=Object(u.a)(Object(u.a)({},Object(p.S)()),{background:"transparent",border:"1px solid ".concat(jy[_]),color:"WindowText"}),n[p.o]={border:"1px solid ".concat(Hy[_])},n)},b&&{flexDirection:"column"},m],content:[w.content,(o={display:"flex",width:"100%",lineHeight:"normal"},o[x]={display:"grid",gridTemplateColumns:"auto 1fr auto",gridTemplateRows:"1fr auto",gridTemplateAreas:'\n "icon text close"\n "action action action"\n '},o)],iconContainer:[w.iconContainer,(r={fontSize:p.p.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"},r[x]={gridArea:"icon"},r)],icon:{color:S[Ay[_]],selectors:(i={},i[p.m]=Object(u.a)(Object(u.a)({},Object(p.S)()),{color:"WindowText"}),i)},text:[w.text,Object(u.a)(Object(u.a)({minWidth:0,display:"flex",flexGrow:1,margin:8},k.small),(a={},a[x]={gridArea:"text"},a.selectors=(s={},s[p.m]=Object(u.a)({},Object(p.S)()),s),a)),!g&&{marginRight:12}],innerText:[w.innerText,{lineHeight:16,selectors:{"& span a:last-child":{paddingLeft:4}}},v&&{overflow:"visible",whiteSpace:"pre-wrap"},!b&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!b&&!v&&{selectors:(l={},l[x]={overflow:"visible",whiteSpace:"pre-wrap"},l)},y&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:[w.dismissSingleLine,(c={},c[x]={gridArea:"close"},c)],expandSingleLine:w.expandSingleLine,dismissal:[w.dismissal,E],expand:[w.expand,E],actions:[b?w.actions:w.actionsSingleline,(d={display:"flex",flexGrow:0,flexShrink:0,flexBasis:"auto",flexDirection:"row-reverse",alignItems:"center",margin:"0 12px 0 8px",forcedColorAdjust:"auto",MsHighContrastAdjust:"auto"},d[x]={gridArea:"action",marginRight:8,marginBottom:8},d.selectors={"& button:nth-child(n+2)":(f={marginLeft:8},f[x]={marginBottom:0},f)},d),b&&{marginBottom:8},g&&!b&&{marginRight:0}]}}),void 0,{scope:"MessageBar"}),Wy={root:"ms-Nav",linkText:"ms-Nav-linkText",compositeLink:"ms-Nav-compositeLink",link:"ms-Nav-link",chevronButton:"ms-Nav-chevronButton",chevronIcon:"ms-Nav-chevron",navItem:"ms-Nav-navItem",navItems:"ms-Nav-navItems",group:"ms-Nav-group",groupContent:"ms-Nav-groupContent"},Vy={textContainer:{overflow:"hidden"},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"}};function Uy(e){return!!e&&!/^[a-z0-9+-.]+:\/\//i.test(e)}var Ky,Gy=L(),qy=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=d.createRef(),n._onRenderLink=function(e){var t=n.props,o=t.styles,r=t.groups,i=t.theme,a=Gy(o,{theme:i,groups:r});return d.createElement("div",{className:a.linkText},e.name)},n._renderGroup=function(e,t){var o=n.props,r=o.styles,i=o.groups,a=o.theme,s=o.onRenderGroupHeader,l=void 0===s?n._renderGroupHeader:s,c=n._isGroupExpanded(e),p=Gy(r,{theme:a,isGroup:!0,isExpanded:c,groups:i}),f=Object(u.a)(Object(u.a)({},e),{isExpanded:c,onHeaderClick:function(t,o){n._onGroupHeaderClicked(e,t)}});return d.createElement("div",{key:t,className:p.group},f.name?l(f,n._renderGroupHeader):null,d.createElement("div",{className:p.groupContent},n._renderLinks(f.links,0)))},n._renderGroupHeader=function(e){var t,o=n.props,r=o.styles,i=o.groups,a=o.theme,s=o.expandButtonAriaLabel,l=e.isExpanded,c=Gy(r,{theme:a,isGroup:!0,isExpanded:l,groups:i}),u=null!==(t=e.collapseAriaLabel)&&void 0!==t?t:e.expandAriaLabel,p=(l?u:e.expandAriaLabel)||s,f=e.onHeaderClick,h=f?function(e){f(e,l)}:void 0;return d.createElement("button",{className:c.chevronButton,onClick:h,"aria-label":p,"aria-expanded":l},d.createElement(Ge,{className:c.chevronIcon,iconName:"ChevronDown"}),e.name)},Ct(n),n.state={isGroupCollapsed:{},isLinkExpandStateChanged:!1,selectedKey:t.initialSelectedKey||t.selectedKey},n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.groups,o=e.className,r=e.isOnTop,i=e.role,a=void 0===i?"navigation":i,s=e.theme;if(!n)return null;var l=n.map(this._renderGroup),c=Gy(t,{theme:s,className:o,isOnTop:r,groups:n});return d.createElement(zn,Object(u.a)({direction:Ot.vertical,componentRef:this._focusZone},this.props.focusZoneProps),d.createElement("nav",{role:a,className:c.root,"aria-label":this.props.ariaLabel},l))},Object.defineProperty(t.prototype,"selectedKey",{get:function(){return this.state.selectedKey},enumerable:!1,configurable:!0}),t.prototype.focus=function(e){return void 0===e&&(e=!1),!(!this._focusZone||!this._focusZone.current)&&this._focusZone.current.focus(e)},t.prototype._renderNavLink=function(e,t,n){var o=this.props,r=o.styles,i=o.groups,a=o.theme,s=e.icon||e.iconProps,l=this._isLinkSelected(e),c=e.ariaCurrent,u=void 0===c?"page":c,p=Gy(r,{theme:a,isSelected:l,isDisabled:e.disabled,isButtonEntry:e.onClick&&!e.forceAnchor,leftPadding:14*n+3+(s?0:24),groups:i}),f=e.url&&e.target&&!Uy(e.url)?"noopener noreferrer":void 0,h=this.props.linkAs?ps(this.props.linkAs,rl):rl,m=this.props.onRenderLink?Po(this.props.onRenderLink,this._onRenderLink):this._onRenderLink;return d.createElement(h,{className:p.link,styles:Vy,href:e.url||(e.forceAnchor?"#":void 0),iconProps:e.iconProps||{iconName:e.icon},onClick:e.onClick?this._onNavButtonLinkClicked.bind(this,e):this._onNavAnchorLinkClicked.bind(this,e),title:void 0!==e.title?e.title:e.name,target:e.target,rel:f,disabled:e.disabled,"aria-current":l?u:void 0,"aria-label":e.ariaLabel?e.ariaLabel:void 0,link:e},m(e))},t.prototype._renderCompositeLink=function(e,t,n){var o,r=Object(u.a)({},fe(e,pe,["onClick"])),i=this.props,a=i.expandButtonAriaLabel,s=i.styles,l=i.groups,c=i.theme,p=Gy(s,{theme:c,isExpanded:!!e.isExpanded,isSelected:this._isLinkSelected(e),isLink:!0,isDisabled:e.disabled,position:14*n+1,groups:l}),f="";if(e.links&&e.links.length>0)if(e.collapseAriaLabel||e.expandAriaLabel){var h=null!==(o=e.collapseAriaLabel)&&void 0!==o?o:e.expandAriaLabel;f=e.isExpanded?h:e.expandAriaLabel}else f=a?"".concat(e.name," ").concat(a):e.name;return d.createElement("div",Object(u.a)({},r,{key:e.key||t,className:p.compositeLink}),e.links&&e.links.length>0?d.createElement("button",{className:p.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":f,"aria-expanded":e.isExpanded?"true":"false"},d.createElement(Ge,{className:p.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,n))},t.prototype._renderLink=function(e,t,n){var o=this.props,r=o.styles,i=o.groups,a=o.theme,s=Gy(r,{theme:a,groups:i});return d.createElement("li",{key:e.key||t,role:"listitem",className:s.navItem},this._renderCompositeLink(e,t,n),e.isExpanded?this._renderLinks(e.links,++n):null)},t.prototype._renderLinks=function(e,t){var n=this;if(!e||!e.length)return null;var o=e.map((function(e,o){return n._renderLink(e,o,t)})),r=this.props,i=r.styles,a=r.groups,s=r.theme,l=Gy(i,{theme:s,groups:a});return d.createElement("ul",{role:"list",className:l.navItems},o)},t.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),void 0===e.isExpanded&&this._toggleCollapsed(e),t&&(t.preventDefault(),t.stopPropagation())},t.prototype._onLinkExpandClicked=function(e,t){var n=this.props.onLinkExpandClick;n&&n(t,e),t.defaultPrevented||(e.isExpanded=!e.isExpanded,this.setState({isLinkExpandStateChanged:!0})),t.preventDefault(),t.stopPropagation()},t.prototype._preventBounce=function(e,t){!e.url&&e.forceAnchor&&t.preventDefault()},t.prototype._onNavAnchorLinkClicked=function(e,t){this._preventBounce(e,t),this.props.onLinkClick&&this.props.onLinkClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},t.prototype._onNavButtonLinkClicked=function(e,t){this._preventBounce(e,t),e.onClick&&e.onClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},t.prototype._isLinkSelected=function(e){if(void 0!==this.props.selectedKey)return e.key===this.props.selectedKey;if(void 0!==this.state.selectedKey)return e.key===this.state.selectedKey;if(void 0===Object(N.a)()||!e.url)return!1;(Fy=Fy||document.createElement("a")).href=e.url||"";var t=Fy.href;return location.href===t||(location.protocol+"//"+location.host+location.pathname===t||!!location.hash&&(location.hash===e.url||(Fy.href=location.hash.substring(1),Fy.href===t)))},t.prototype._isGroupExpanded=function(e){return void 0!==e.isExpanded?e.isExpanded:e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},t.prototype._toggleCollapsed=function(e){var t;if(e.name){var n=Object(u.a)(Object(u.a)({},this.state.isGroupCollapsed),((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:n})}},t.defaultProps={groups:null},t}(d.Component),Yy=k(qy,(function(e){var t,n=e.className,o=e.theme,r=e.isOnTop,i=e.isExpanded,a=e.isGroup,s=e.isLink,l=e.isSelected,c=e.isDisabled,u=e.isButtonEntry,d=e.navHeight,f=void 0===d?44:d,h=e.position,m=e.leftPadding,g=void 0===m?20:m,v=e.leftPaddingExpanded,b=void 0===v?28:v,y=e.rightPadding,C=void 0===y?20:y,_=o.palette,S=o.semanticColors,k=o.fonts,x=Object(p.R)(Wy,o);return{root:[x.root,n,k.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},r&&[{position:"absolute"},p.a.slideRightIn40]],linkText:[x.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[x.compositeLink,{display:"block",position:"relative",color:S.bodyText},i&&"is-expanded",l&&"is-selected",c&&"is-disabled",c&&{color:S.disabledText}],link:[x.link,Object(p.Q)(o),{display:"block",position:"relative",height:f,width:"100%",lineHeight:"".concat(f,"px"),textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:g,paddingRight:C,color:S.bodyText,selectors:(t={},t[p.m]={border:0,selectors:{":focus":{border:"1px solid WindowText"}}},t)},!c&&{selectors:{".ms-Nav-compositeLink:hover &":{backgroundColor:S.bodyBackgroundHovered}}},l&&{color:S.bodyTextChecked,fontWeight:p.l.semibold,backgroundColor:S.bodyBackgroundChecked,selectors:{"&:after":{borderLeft:"2px solid ".concat(_.themePrimary),content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},c&&{color:S.disabledText},u&&{color:_.themePrimary}],chevronButton:[x.chevronButton,Object(p.Q)(o),k.small,{display:"block",textAlign:"left",lineHeight:"".concat(f,"px"),margin:"5px 0",padding:"0px, ".concat(C,"px, 0px, ").concat(b,"px"),border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:S.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:S.bodyText}}},a&&{fontSize:k.large.fontSize,width:"100%",height:f,borderBottom:"1px solid ".concat(S.bodyDivider)},s&&{display:"block",width:b-2,height:f-2,position:"absolute",top:"1px",left:"".concat(h,"px"),zIndex:p.G.Nav,padding:0,margin:0}],chevronIcon:[x.chevronIcon,{position:"absolute",left:"8px",height:f,display:"inline-flex",alignItems:"center",lineHeight:"".concat(f,"px"),fontSize:k.small.fontSize,transition:"transform .1s linear"},i&&{transform:"rotate(-180deg)"},s&&{top:0}],navItem:[x.navItem,{padding:0}],navItems:[x.navItems,{listStyleType:"none",padding:0,margin:0}],group:[x.group,i&&"is-expanded"],groupContent:[x.groupContent,{display:"none",marginBottom:"40px"},p.a.slideDownIn20,i&&{display:"block"}]}}),void 0,{scope:"Nav"});!function(e){e[e.none=0]="none",e[e.forceResolve=1]="forceResolve",e[e.searchMore=2]="searchMore"}(Ky||(Ky={}));var Qy={root:"ms-Suggestions-item",itemButton:"ms-Suggestions-itemButton",closeButton:"ms-Suggestions-closeButton",isSuggested:"is-suggested"};function Xy(e){var t,n,o,r,i,a,s=e.className,l=e.theme,c=e.suggested,d=l.palette,f=l.semanticColors,h=Object(p.R)(Qy,l);return{root:[h.root,{display:"flex",alignItems:"stretch",boxSizing:"border-box",width:"100%",position:"relative",selectors:{"&:hover":{background:f.menuItemBackgroundHovered},"&:hover .ms-Suggestions-closeButton":{display:"block"}}},c&&{selectors:(t={},t[".".concat(Gn.a," &")]={selectors:(n={},n[".".concat(h.closeButton)]={display:"block",background:f.menuItemBackgroundPressed},n)},t[":after"]={pointerEvents:"none",content:'""',position:"absolute",left:0,top:0,bottom:0,right:0,border:"1px solid ".concat(l.semanticColors.focusBorder)},t)},s],itemButton:[h.itemButton,{width:"100%",padding:0,border:"none",height:"100%",minWidth:0,overflow:"hidden",selectors:(o={},o[p.m]={color:"WindowText",selectors:{":hover":Object(u.a)({background:"Highlight",color:"HighlightText"},Object(p.S)())}},o[":hover"]={color:f.menuItemTextHovered},o)},c&&[h.isSuggested,{background:f.menuItemBackgroundPressed,selectors:(r={":hover":{background:f.menuDivider}},r[p.m]=Object(u.a)({background:"Highlight",color:"HighlightText"},Object(p.S)()),r)}]],closeButton:[h.closeButton,{display:"none",color:d.neutralSecondary,padding:"0 4px",height:"auto",width:32,selectors:(i={":hover, :active":{background:d.neutralTertiaryAlt,color:d.neutralDark}},i[p.m]={color:"WindowText"},i)},c&&(a={},a[".".concat(Gn.a," &")]={selectors:{":hover, :active":{background:d.neutralTertiary}}},a.selectors={":hover, :active":{background:d.neutralTertiary,color:d.neutralPrimary}},a)]}}var Zy=i,$y=L(),Jy=k(eb,Xy,void 0,{scope:"SuggestionItem"}),eC=function(e){function t(t){var n=e.call(this,t)||this;return n._forceResolveButton=d.createRef(),n._searchForMoreButton=d.createRef(),n._selectedElement=d.createRef(),n._scrollContainer=d.createRef(),n.tryHandleKeyDown=function(e,t){var o=!1,r=null,i=n.state.selectedActionType,a=n.props.suggestions.length;if(e===E.down)switch(i){case Ky.forceResolve:a>0?(n._refocusOnSuggestions(e),r=Ky.none):r=n._searchForMoreButton.current?Ky.searchMore:Ky.forceResolve;break;case Ky.searchMore:n._forceResolveButton.current?r=Ky.forceResolve:a>0?(n._refocusOnSuggestions(e),r=Ky.none):r=Ky.searchMore;break;case Ky.none:-1===t&&n._forceResolveButton.current&&(r=Ky.forceResolve)}else if(e===E.up)switch(i){case Ky.forceResolve:n._searchForMoreButton.current?r=Ky.searchMore:a>0&&(n._refocusOnSuggestions(e),r=Ky.none);break;case Ky.searchMore:a>0?(n._refocusOnSuggestions(e),r=Ky.none):n._forceResolveButton.current&&(r=Ky.forceResolve);break;case Ky.none:-1===t&&n._searchForMoreButton.current&&(r=Ky.searchMore)}return null!==r&&(n.setState({selectedActionType:r}),o=!0),o},n._getAlertText=function(){var e=n.props,t=e.isLoading,o=e.isSearching,r=e.suggestions,i=e.suggestionsAvailableAlertText,a=e.noResultsFoundText,s=e.isExtendedLoading,l=e.loadingText;if(t||o){if(t&&s)return l||""}else{if(r.length>0)return i||"";if(a)return a}return""},n._getMoreResults=function(){n.props.onGetMoreResults&&(n.props.onGetMoreResults(),n.setState({selectedActionType:Ky.none}))},n._forceResolve=function(){n.props.createGenericItem&&n.props.createGenericItem()},n._shouldShowForceResolve=function(){return!!n.props.showForceResolve&&n.props.showForceResolve()},n._onClickTypedSuggestionsItem=function(e,t){return function(o){n.props.onSuggestionClick(o,e,t)}},n._refocusOnSuggestions=function(e){"function"==typeof n.props.refocusSuggestions&&n.props.refocusSuggestions(e)},n._onRemoveTypedSuggestionsItem=function(e,t){return function(o){(0,n.props.onSuggestionRemove)(o,e,t),o.stopPropagation()}},Ct(n),n.state={selectedActionType:Ky.none},n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){this.scrollSelected(),this.activeSelectedElement=this._selectedElement?this._selectedElement.current:null},t.prototype.componentDidUpdate=function(){this._selectedElement.current&&this.activeSelectedElement!==this._selectedElement.current&&(this.scrollSelected(),this.activeSelectedElement=this._selectedElement.current)},t.prototype.render=function(){var e,t,n=this,o=this.props,r=o.forceResolveText,i=o.mostRecentlyUsedHeaderText,a=o.searchForMoreIcon,s=o.searchForMoreText,l=o.className,c=o.moreSuggestionsAvailable,p=o.noResultsFoundText,f=o.suggestions,h=o.isLoading,m=o.isSearching,g=o.loadingText,v=o.onRenderNoResultFound,b=o.searchingText,y=o.isMostRecentlyUsedVisible,C=o.resultsMaximumNumber,_=o.resultsFooterFull,S=o.resultsFooter,k=o.isResultsFooterVisible,x=void 0===k||k,w=o.suggestionsHeaderText,I=o.suggestionsClassName,E=o.theme,O=o.styles,T=o.suggestionsListId,D=o.suggestionsContainerAriaLabel;this._classNames=O?$y(O,{theme:E,className:l,suggestionsClassName:I,forceResolveButtonSelected:this.state.selectedActionType===Ky.forceResolve,searchForMoreButtonSelected:this.state.selectedActionType===Ky.searchMore}):{root:Me("ms-Suggestions",l,Zy.root),title:Me("ms-Suggestions-title",Zy.suggestionsTitle),searchForMoreButton:Me("ms-SearchMore-button",Zy.actionButton,(e={},e["is-selected "+Zy.buttonSelected]=this.state.selectedActionType===Ky.searchMore,e)),forceResolveButton:Me("ms-forceResolve-button",Zy.actionButton,(t={},t["is-selected "+Zy.buttonSelected]=this.state.selectedActionType===Ky.forceResolve,t)),suggestionsAvailable:Me("ms-Suggestions-suggestionsAvailable",Zy.suggestionsAvailable),suggestionsContainer:Me("ms-Suggestions-container",Zy.suggestionsContainer,I),noSuggestions:Me("ms-Suggestions-none",Zy.suggestionsNone)};var P=this._classNames.subComponentStyles?this._classNames.subComponentStyles.spinner:void 0,R=O?{styles:P}:{className:Me("ms-Suggestions-spinner",Zy.suggestionsSpinner)},M=w;y&&i&&(M=i);var N=void 0;x&&(N=f.length>=C?_:S);var F,B=!(f&&f.length||h),L=this.state.selectedActionType===Ky.forceResolve?"sug-selectedAction":void 0,A=this.state.selectedActionType===Ky.searchMore?"sug-selectedAction":void 0;return d.createElement("div",{className:this._classNames.root,"aria-label":D||M,id:T,role:"listbox"},d.createElement(Rt,{message:this._getAlertText(),"aria-live":"polite"}),M?d.createElement("div",{className:this._classNames.title},M):null,r&&this._shouldShowForceResolve()&&d.createElement(ml,{componentRef:this._forceResolveButton,className:this._classNames.forceResolveButton,id:L,onClick:this._forceResolve,"data-automationid":"sug-forceResolve"},r),h&&d.createElement(Bh,Object(u.a)({},R,{ariaLabel:g,label:g})),B?(F=function(){return d.createElement("div",{className:n._classNames.noSuggestions},p)},d.createElement("div",{id:"sug-noResultsFound",role:"option"},v?v(void 0,F):F())):this._renderSuggestions(),s&&c&&d.createElement(ml,{componentRef:this._searchForMoreButton,className:this._classNames.searchForMoreButton,iconProps:a||{iconName:"Search"},id:A,onClick:this._getMoreResults,"data-automationid":"sug-searchForMore",role:"option"},s),m?d.createElement(Bh,Object(u.a)({},R,{ariaLabel:b,label:b})):null,!N||c||y||m?null:d.createElement("div",{className:this._classNames.title},N(this.props)))},t.prototype.hasSuggestedAction=function(){return!!this._searchForMoreButton.current||!!this._forceResolveButton.current},t.prototype.hasSuggestedActionSelected=function(){return this.state.selectedActionType!==Ky.none},t.prototype.executeSelectedAction=function(){switch(this.state.selectedActionType){case Ky.forceResolve:this._forceResolve();break;case Ky.searchMore:this._getMoreResults()}},t.prototype.focusAboveSuggestions=function(){this._forceResolveButton.current?this.setState({selectedActionType:Ky.forceResolve}):this._searchForMoreButton.current&&this.setState({selectedActionType:Ky.searchMore})},t.prototype.focusBelowSuggestions=function(){this._searchForMoreButton.current?this.setState({selectedActionType:Ky.searchMore}):this._forceResolveButton.current&&this.setState({selectedActionType:Ky.forceResolve})},t.prototype.focusSearchForMoreButton=function(){this._searchForMoreButton.current&&this._searchForMoreButton.current.focus()},t.prototype.scrollSelected=function(){if(this._selectedElement.current&&this._scrollContainer.current&&void 0!==this._scrollContainer.current.scrollTo){var e=this._selectedElement.current,t=e.offsetHeight,n=e.offsetTop,o=this._scrollContainer.current,r=o.offsetHeight,i=o.scrollTop,a=n+t>i+r;n<i?this._scrollContainer.current.scrollTo(0,n):a&&this._scrollContainer.current.scrollTo(0,n-r+t)}},t.prototype._renderSuggestions=function(){var e=this,t=this.props,n=t.onRenderSuggestion,o=t.removeSuggestionAriaLabel,r=t.suggestionsItemClassName,i=t.resultsMaximumNumber,a=t.showRemoveButtons,s=t.removeButtonIconProps,l=this.props.suggestions,c=Jy,u=-1;return l.some((function(e,t){return!!e.selected&&(u=t,!0)})),i&&(l=u>=i?l.slice(u-i+1,u+1):l.slice(0,i)),0===l.length?null:d.createElement("div",{className:this._classNames.suggestionsContainer,ref:this._scrollContainer,role:"presentation"},l.map((function(t,i){return d.createElement("div",{ref:t.selected?e._selectedElement:void 0,key:t.item.key?t.item.key:i,role:"presentation"},d.createElement(c,{suggestionModel:t,RenderSuggestion:n,onClick:e._onClickTypedSuggestionsItem(t.item,i),className:r,showRemoveButton:a,removeButtonAriaLabel:o,onRemoveItem:e._onRemoveTypedSuggestionsItem(t.item,i),id:"sug-"+i,removeButtonIconProps:s}))})))},t}(d.Component),tC={root:"ms-Suggestions",suggestionsContainer:"ms-Suggestions-container",title:"ms-Suggestions-title",forceResolveButton:"ms-forceResolve-button",searchForMoreButton:"ms-SearchMore-button",spinner:"ms-Suggestions-spinner",noSuggestions:"ms-Suggestions-none",suggestionsAvailable:"ms-Suggestions-suggestionsAvailable",isSelected:"is-selected"};function nC(e){var t,n=e.className,o=e.suggestionsClassName,r=e.theme,i=e.forceResolveButtonSelected,a=e.searchForMoreButtonSelected,s=r.palette,l=r.semanticColors,c=r.fonts,d=Object(p.R)(tC,r),f={backgroundColor:"transparent",border:0,cursor:"pointer",margin:0,paddingLeft:8,position:"relative",borderTop:"1px solid ".concat(s.neutralLight),height:40,textAlign:"left",width:"100%",fontSize:c.small.fontSize,selectors:{":hover":{backgroundColor:l.menuItemBackgroundPressed,cursor:"pointer"},":focus, :active":{backgroundColor:s.themeLight},".ms-Button-icon":{fontSize:c.mediumPlus.fontSize,width:25},".ms-Button-label":{margin:"0 4px 0 9px"}}},h={backgroundColor:s.themeLight,selectors:(t={},t[p.m]=Object(u.a)({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},Object(p.S)()),t)};return{root:[d.root,{minWidth:260},n],suggestionsContainer:[d.suggestionsContainer,{overflowY:"auto",overflowX:"hidden",maxHeight:300,transform:"translate3d(0,0,0)"},o],title:[d.title,{padding:"0 12px",fontSize:c.small.fontSize,color:s.themePrimary,lineHeight:40,borderBottom:"1px solid ".concat(l.menuItemBackgroundPressed)}],forceResolveButton:[d.forceResolveButton,f,i&&[d.isSelected,h]],searchForMoreButton:[d.searchForMoreButton,f,a&&[d.isSelected,h]],noSuggestions:[d.noSuggestions,{textAlign:"center",color:s.neutralSecondary,fontSize:c.small.fontSize,lineHeight:30}],suggestionsAvailable:[d.suggestionsAvailable,p.ab],subComponentStyles:{spinner:{root:[d.spinner,{margin:"5px 0",paddingLeft:14,textAlign:"left",whiteSpace:"nowrap",lineHeight:20,fontSize:c.small.fontSize}],circle:{display:"inline-block",verticalAlign:"middle"},label:{display:"inline-block",verticalAlign:"middle",margin:"0 10px 0 16px"}}}}}var oC,rC=function(){function e(){var e=this;this._isSuggestionModel=function(e){return void 0!==e.item},this._ensureSuggestionModel=function(t){return e._isSuggestionModel(t)?t:{item:t,selected:!1,ariaLabel:t.name||t.primaryText}},this.suggestions=[],this.currentIndex=-1}return e.prototype.updateSuggestions=function(e,t,n){if(e&&e.length>0){if(n&&e.length>n){var o=t&&t>n?t+1-n:0;e=e.slice(o,o+n-1)}this.suggestions=this.convertSuggestionsToSuggestionItems(e),this.currentIndex=t||0,-1===t?this.currentSuggestion=void 0:void 0!==t&&(this.suggestions[t].selected=!0,this.currentSuggestion=this.suggestions[t])}else this.suggestions=[],this.currentIndex=-1,this.currentSuggestion=void 0},e.prototype.nextSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex<this.suggestions.length-1)return this.setSelectedSuggestion(this.currentIndex+1),!0;if(this.currentIndex===this.suggestions.length-1)return this.setSelectedSuggestion(0),!0}return!1},e.prototype.previousSuggestion=function(){if(this.suggestions&&this.suggestions.length){if(this.currentIndex>0)return this.setSelectedSuggestion(this.currentIndex-1),!0;if(0===this.currentIndex)return this.setSelectedSuggestion(this.suggestions.length-1),!0}return!1},e.prototype.getSuggestions=function(){return this.suggestions},e.prototype.getCurrentItem=function(){return this.currentSuggestion},e.prototype.getSuggestionAtIndex=function(e){return this.suggestions[e]},e.prototype.hasSelectedSuggestion=function(){return!!this.currentSuggestion},e.prototype.removeSuggestion=function(e){this.suggestions.splice(e,1)},e.prototype.createGenericSuggestion=function(e){var t=this.convertSuggestionsToSuggestionItems([e])[0];this.currentSuggestion=t},e.prototype.convertSuggestionsToSuggestionItems=function(e){return Array.isArray(e)?e.map(this._ensureSuggestionModel):[]},e.prototype.deselectAllSuggestions=function(){this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1,this.currentIndex=-1)},e.prototype.setSelectedSuggestion=function(e){e>this.suggestions.length-1||e<0?(this.currentIndex=0,this.currentSuggestion.selected=!1,this.currentSuggestion=this.suggestions[0],this.currentSuggestion.selected=!0):(this.currentIndex>-1&&(this.suggestions[this.currentIndex].selected=!1),this.suggestions[e].selected=!0,this.currentIndex=e,this.currentSuggestion=this.suggestions[e])},e}();!function(e){e[e.valid=0]="valid",e[e.warning=1]="warning",e[e.invalid=2]="invalid"}(oC||(oC={})),Object(yv.a)([{rawString:".picker_94f06b16{position:relative}.pickerText_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid "},{theme:"neutralTertiary",defaultValue:"#a19f9d"},{rawString:";min-width:180px;min-height:30px}.pickerText_94f06b16:hover{border-color:"},{theme:"inputBorderHovered",defaultValue:"#323130"},{rawString:"}.pickerText_94f06b16.inputFocused_94f06b16{position:relative;border-color:"},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}.pickerText_94f06b16.inputFocused_94f06b16:after{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;right:-1px;border:2px solid '},{theme:"inputFocusBorderAlt",defaultValue:"#0078d4"},{rawString:'}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.pickerText_94f06b16.inputDisabled_94f06b16{position:relative;border-color:GrayText}.pickerText_94f06b16.inputDisabled_94f06b16:after{pointer-events:none;content:"";position:absolute;left:0;top:0;bottom:0;right:0;background-color:Window}}.pickerInput_94f06b16{height:34px;border:none;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;outline:0;padding:0 6px 0;-ms-flex-item-align:end;align-self:flex-end}.pickerItems_94f06b16{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.screenReaderOnly_94f06b16{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}'}]);var iC="picker_94f06b16",aC="pickerText_94f06b16",sC="inputFocused_94f06b16",lC="inputDisabled_94f06b16",cC="pickerInput_94f06b16",uC="pickerItems_94f06b16",dC="screenReaderOnly_94f06b16",pC=l,fC=L();var hC=function(e){function t(t){var n=e.call(this,t)||this;n.root=d.createRef(),n.input=d.createRef(),n.suggestionElement=d.createRef(),n.SuggestionOfProperType=eC,n._styledSuggestions=k(n.SuggestionOfProperType,nC,void 0,{scope:"Suggestions"}),n.dismissSuggestions=function(e){var t=function(){var t=!0;n.props.onDismiss&&(t=n.props.onDismiss(e,n.suggestionStore.currentSuggestion?n.suggestionStore.currentSuggestion.item:void 0)),(!e||e&&!e.defaultPrevented)&&!1!==t&&n.canAddItems()&&n.suggestionStore.hasSelectedSuggestion()&&n.state.suggestedDisplayValue&&n.addItemByIndex(0)};n.currentPromise?n.currentPromise.then((function(){return t()})):t(),n.setState({suggestionsVisible:!1})},n.refocusSuggestions=function(e){n.resetFocus(),n.suggestionStore.suggestions&&n.suggestionStore.suggestions.length>0&&(e===E.up?n.suggestionStore.setSelectedSuggestion(n.suggestionStore.suggestions.length-1):e===E.down&&n.suggestionStore.setSelectedSuggestion(0))},n.onInputChange=function(e){n.updateValue(e),n.setState({moreSuggestionsAvailable:!0,isMostRecentlyUsedVisible:!1})},n.onSuggestionClick=function(e,t,o){n.addItemByIndex(o)},n.onSuggestionRemove=function(e,t,o){n.props.onRemoveSuggestion&&n.props.onRemoveSuggestion(t),n.suggestionStore.removeSuggestion(o)},n.onInputFocus=function(e){n.selection.setAllSelected(!1),n.state.isFocused||(n._userTriggeredSuggestions(),n.props.inputProps&&n.props.inputProps.onFocus&&n.props.inputProps.onFocus(e))},n.onInputBlur=function(e){n.props.inputProps&&n.props.inputProps.onBlur&&n.props.inputProps.onBlur(e)},n.onBlur=function(e){if(n.state.isFocused){var t=e.relatedTarget;null===e.relatedTarget&&(t=document.activeElement),t&&!Xt(n.root.current,t)&&(n.setState({isFocused:!1}),n.props.onBlur&&n.props.onBlur(e))}},n.onWrapperClick=function(e){n.state.items.length&&!n.canAddItems()&&n.resetFocus(n.state.items.length-1)},n.onClick=function(e){void 0!==n.props.inputProps&&void 0!==n.props.inputProps.onClick&&n.props.inputProps.onClick(e),0===e.button&&n._userTriggeredSuggestions()},n.onFocus=function(){n.state.isFocused||n.setState({isFocused:!0})},n.onKeyDown=function(e){var t=e.which;switch(t){case E.escape:n.state.suggestionsVisible&&(n.setState({suggestionsVisible:!1}),e.preventDefault(),e.stopPropagation());break;case E.tab:case E.enter:n.suggestionElement.current&&n.suggestionElement.current.hasSuggestedActionSelected()?n.suggestionElement.current.executeSelectedAction():!e.shiftKey&&n.suggestionStore.hasSelectedSuggestion()&&n.state.suggestionsVisible?(n.completeSuggestion(),e.preventDefault(),e.stopPropagation()):n._completeGenericSuggestion();break;case E.backspace:n.props.disabled||n.onBackspace(e),e.stopPropagation();break;case E.del:n.props.disabled||(n.input.current&&e.target===n.input.current.inputElement&&n.state.suggestionsVisible&&-1!==n.suggestionStore.currentIndex?(n.props.onRemoveSuggestion&&n.props.onRemoveSuggestion(n.suggestionStore.currentSuggestion.item),n.suggestionStore.removeSuggestion(n.suggestionStore.currentIndex),n.forceUpdate()):n.onBackspace(e)),e.stopPropagation();break;case E.up:n.input.current&&e.target===n.input.current.inputElement&&n.state.suggestionsVisible&&(n.suggestionElement.current&&n.suggestionElement.current.tryHandleKeyDown(t,n.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation(),n.forceUpdate()):n.suggestionElement.current&&n.suggestionElement.current.hasSuggestedAction()&&0===n.suggestionStore.currentIndex?(e.preventDefault(),e.stopPropagation(),n.suggestionElement.current.focusAboveSuggestions(),n.suggestionStore.deselectAllSuggestions(),n.forceUpdate()):n.suggestionStore.previousSuggestion()&&(e.preventDefault(),e.stopPropagation(),n.onSuggestionSelect()));break;case E.down:n.input.current&&e.target===n.input.current.inputElement&&n.state.suggestionsVisible&&(n.suggestionElement.current&&n.suggestionElement.current.tryHandleKeyDown(t,n.suggestionStore.currentIndex)?(e.preventDefault(),e.stopPropagation(),n.forceUpdate()):n.suggestionElement.current&&n.suggestionElement.current.hasSuggestedAction()&&n.suggestionStore.currentIndex+1===n.suggestionStore.suggestions.length?(e.preventDefault(),e.stopPropagation(),n.suggestionElement.current.focusBelowSuggestions(),n.suggestionStore.deselectAllSuggestions(),n.forceUpdate()):n.suggestionStore.nextSuggestion()&&(e.preventDefault(),e.stopPropagation(),n.onSuggestionSelect()))}},n.onItemChange=function(e,t){var o=n.state.items;if(t>=0){var r=o;r[t]=e,n._updateSelectedItems(r)}},n.onGetMoreResults=function(){n.setState({isSearching:!0},(function(){if(n.props.onGetMoreResults&&n.input.current){var e=n.props.onGetMoreResults(n.input.current.value,n.state.items),t=e,o=e;Array.isArray(t)?(n.updateSuggestions(t),n.setState({isSearching:!1})):o.then&&o.then((function(e){n.updateSuggestions(e),n.setState({isSearching:!1})}))}else n.setState({isSearching:!1});n.input.current&&n.input.current.focus(),n.setState({moreSuggestionsAvailable:!1,isResultsFooterVisible:!0})}))},n.completeSelection=function(e){n.addItem(e),n.updateValue(""),n.input.current&&n.input.current.clear(),n.setState({suggestionsVisible:!1})},n.addItemByIndex=function(e){n.completeSelection(n.suggestionStore.getSuggestionAtIndex(e).item)},n.addItem=function(e){var t=n.props.onItemSelected?n.props.onItemSelected(e):e;if(null!==t){var o=t,r=t;if(r&&r.then)r.then((function(e){var t=n.state.items.concat([e]);n._updateSelectedItems(t)}));else{var i=n.state.items.concat([o]);n._updateSelectedItems(i)}n.setState({suggestedDisplayValue:"",selectionRemoved:void 0})}},n.removeItem=function(e){var t=n.state.items,o=t.indexOf(e);if(o>=0){var r=t.slice(0,o).concat(t.slice(o+1));n.setState({selectionRemoved:e}),n._updateSelectedItems(r),n._async.setTimeout((function(){n.setState({selectionRemoved:void 0})}),1e3)}},n.removeItems=function(e){var t=n.state.items.filter((function(t){return-1===e.indexOf(t)}));n._updateSelectedItems(t)},n._shouldFocusZoneEnterInnerZone=function(e){if(n.state.suggestionsVisible)switch(e.which){case E.up:case E.down:return!0}return e.which===E.enter},n._onResolveSuggestions=function(e){var t=n.props.onResolveSuggestions(e,n.state.items);null!==t&&n.updateSuggestionsList(t,e)},n._completeGenericSuggestion=function(){if(n.props.onValidateInput&&n.input.current&&n.props.onValidateInput(n.input.current.value)!==oC.invalid&&n.props.createGenericItem){var e=n.props.createGenericItem(n.input.current.value,n.props.onValidateInput(n.input.current.value));n.suggestionStore.createGenericSuggestion(e),n.completeSuggestion()}},n._userTriggeredSuggestions=function(){if(!n.state.suggestionsVisible){var e=n.input.current?n.input.current.value:"";e?0===n.suggestionStore.suggestions.length?n._onResolveSuggestions(e):n.setState({isMostRecentlyUsedVisible:!1,suggestionsVisible:!0}):n.onEmptyInputFocus()}},Ct(n),n._async=new wt(n);var o=t.selectedItems||t.defaultSelectedItems||[];return n._id=bn(),n._ariaMap={selectedItems:"selected-items-".concat(n._id),selectedSuggestionAlert:"selected-suggestion-alert-".concat(n._id),suggestionList:"suggestion-list-".concat(n._id),combobox:"combobox-".concat(n._id)},n.suggestionStore=new rC,n.selection=new _h({onSelectionChanged:function(){return n.onSelectionChange()}}),n.selection.setItems(o),n.state={items:o,suggestedDisplayValue:"",isMostRecentlyUsedVisible:!1,moreSuggestionsAvailable:!1,isFocused:!1,isSearching:!1,selectedIndices:[],selectionRemoved:void 0},n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items),this._onResolveSuggestions=this._async.debounce(this._onResolveSuggestions,this.props.resolveDelay)},t.prototype.componentDidUpdate=function(e,t){if(this.state.items&&this.state.items!==t.items){var n=this.selection.getSelectedIndices()[0];this.selection.setItems(this.state.items),this.state.isFocused&&(this.state.items.length<t.items.length?(this.selection.setIndexSelected(n,!1,!0),this.resetFocus(n)):this.state.items.length>t.items.length&&!this.canAddItems()&&this.resetFocus(this.state.items.length-1))}},t.prototype.componentWillUnmount=function(){this.currentPromise&&(this.currentPromise=void 0),this._async.dispose()},t.prototype.focus=function(){this.input.current&&this.input.current.focus()},t.prototype.focusInput=function(){this.input.current&&this.input.current.focus()},t.prototype.completeSuggestion=function(e){this.suggestionStore.hasSelectedSuggestion()&&this.input.current?this.completeSelection(this.suggestionStore.currentSuggestion.item):e&&this._completeGenericSuggestion()},t.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,n=e.isFocused,o=e.items,r=this.props,i=r.className,a=r.inputProps,s=r.disabled,l=r.selectionAriaLabel,c=r.selectionRole,p=void 0===c?"list":c,f=r.theme,h=r.styles,m=!!this.state.suggestionsVisible,g=m?this._ariaMap.suggestionList:void 0,v=h?fC(h,{theme:f,className:i,isFocused:n,disabled:s,inputClassName:a&&a.className}):{root:Me("ms-BasePicker",i||""),text:Me("ms-BasePicker-text",pC.pickerText,this.state.isFocused&&pC.inputFocused),itemsWrapper:pC.pickerItems,input:Me("ms-BasePicker-input",pC.pickerInput,a&&a.className),screenReaderText:pC.screenReaderOnly},b=this.props["aria-label"]||(null==a?void 0:a["aria-label"]);return d.createElement("div",{ref:this.root,className:v.root,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onWrapperClick},this.renderCustomAlert(v.screenReaderText),d.createElement("span",{id:"".concat(this._ariaMap.selectedItems,"-label"),hidden:!0},l||b),d.createElement(Ch,{selection:this.selection,selectionMode:Qf.multiple},d.createElement("div",{className:v.text,"aria-owns":g},o.length>0&&d.createElement("span",{id:this._ariaMap.selectedItems,className:v.itemsWrapper,role:p,"aria-labelledby":"".concat(this._ariaMap.selectedItems,"-label")},this.renderItems()),this.canAddItems()&&d.createElement(It,Object(u.a)({spellCheck:!1},a,{className:v.input,componentRef:this.input,id:(null==a?void 0:a.id)?a.id:this._ariaMap.combobox,onClick:this.onClick,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":m?this.getActiveDescendant():void 0,"aria-controls":g,"aria-describedby":o.length>0?this._ariaMap.selectedItems:void 0,"aria-expanded":m,"aria-haspopup":"listbox","aria-label":b,role:"combobox",disabled:s,onInputChange:this.props.onInputChange})))),this.renderSuggestions())},t.prototype.canAddItems=function(){var e=this.state.items,t=this.props.itemLimit;return void 0===t||e.length<t},t.prototype.renderSuggestions=function(){var e=this._styledSuggestions;return this.state.suggestionsVisible&&this.input?d.createElement(Li,Object(u.a)({isBeakVisible:!1,gapSpace:5,target:this.input.current?this.input.current.inputElement:void 0,onDismiss:this.dismissSuggestions,directionalHint:Eo.bottomLeftEdge,directionalHintForRTL:Eo.bottomRightEdge},this.props.pickerCalloutProps),d.createElement(e,Object(u.a)({onRenderSuggestion:this.props.onRenderSuggestionsItem,onSuggestionClick:this.onSuggestionClick,onSuggestionRemove:this.onSuggestionRemove,suggestions:this.suggestionStore.getSuggestions(),componentRef:this.suggestionElement,onGetMoreResults:this.onGetMoreResults,moreSuggestionsAvailable:this.state.moreSuggestionsAvailable,isLoading:this.state.suggestionsLoading,isExtendedLoading:this.state.suggestionsExtendedLoading,isSearching:this.state.isSearching,isMostRecentlyUsedVisible:this.state.isMostRecentlyUsedVisible,isResultsFooterVisible:this.state.isResultsFooterVisible,refocusSuggestions:this.refocusSuggestions,removeSuggestionAriaLabel:this.props.removeButtonAriaLabel,suggestionsListId:this._ariaMap.suggestionList,createGenericItem:this._completeGenericSuggestion},this.props.pickerSuggestionsProps))):null},t.prototype.renderItems=function(){var e=this,t=this.props,n=t.disabled,o=t.removeButtonAriaLabel,r=t.removeButtonIconProps,i=this.props.onRenderItem,a=this.state,s=a.items,l=a.selectedIndices;return s.map((function(t,a){return i({item:t,index:a,key:t.key?t.key:a,selected:-1!==l.indexOf(a),onRemoveItem:function(){return e.removeItem(t)},disabled:n,onItemChange:e.onItemChange,removeButtonAriaLabel:o,removeButtonIconProps:r})}))},t.prototype.resetFocus=function(e){var t=this.state.items;if(t.length){e=null!=e?e:t.length-1;var n=this.root.current&&this.root.current.querySelectorAll("[data-selection-index] > button")[Math.min(e,t.length-1)];n&&n.focus()}else this.input.current&&this.input.current.focus()},t.prototype.onSuggestionSelect=function(){if(this.suggestionStore.currentSuggestion){var e=this.input.current?this.input.current.value:"",t=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e);this.setState({suggestedDisplayValue:t})}},t.prototype.onSelectionChange=function(){this.setState({selectedIndices:this.selection.getSelectedIndices()})},t.prototype.updateSuggestions=function(e){var t,n=null===(t=this.props.pickerSuggestionsProps)||void 0===t?void 0:t.resultsMaximumNumber;this.suggestionStore.updateSuggestions(e,0,n),this.forceUpdate()},t.prototype.onEmptyInputFocus=function(){var e=this.props.onEmptyResolveSuggestions?this.props.onEmptyResolveSuggestions:this.props.onEmptyInputFocus;if(e){var t=e(this.state.items);this.updateSuggestionsList(t),this.setState({isMostRecentlyUsedVisible:!0,suggestionsVisible:!0,moreSuggestionsAvailable:!1})}},t.prototype.updateValue=function(e){this._onResolveSuggestions(e)},t.prototype.updateSuggestionsList=function(e,t){var n=this;Array.isArray(e)?this._updateAndResolveValue(t,e):e&&e.then&&(this.setState({suggestionsLoading:!0}),this._startLoadTimer(),this.suggestionStore.updateSuggestions([]),void 0!==t?this.setState({suggestionsVisible:this._getShowSuggestions()}):this.setState({suggestionsVisible:this.input.current&&this.input.current.inputElement===document.activeElement}),this.currentPromise=e,e.then((function(o){e===n.currentPromise&&n._updateAndResolveValue(t,o)})))},t.prototype.resolveNewValue=function(e,t){var n=this;this.updateSuggestions(t);var o=void 0;this.suggestionStore.currentSuggestion&&(o=this._getTextFromItem(this.suggestionStore.currentSuggestion.item,e)),this.setState({suggestedDisplayValue:o,suggestionsVisible:this._getShowSuggestions()},(function(){return n.setState({suggestionsLoading:!1,suggestionsExtendedLoading:!1})}))},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.onBackspace=function(e){(this.state.items.length&&!this.input.current||this.input.current&&!this.input.current.isValueSelected&&0===this.input.current.cursorLocation)&&(this.selection.getSelectedCount()>0?this.removeItems(this.selection.getSelection()):this.removeItem(this.state.items[this.state.items.length-1]))},t.prototype.getActiveDescendant=function(){var e;if(!this.state.suggestionsLoading){var t=this.suggestionStore.currentIndex;return t<0?(null===(e=this.suggestionElement.current)||void 0===e?void 0:e.hasSuggestedAction())?"sug-selectedAction":0===this.suggestionStore.suggestions.length?"sug-noResultsFound":void 0:"sug-".concat(t)}},t.prototype.getSuggestionsAlert=function(e){void 0===e&&(e=pC.screenReaderOnly);var t=this.suggestionStore.currentIndex;if(this.props.enableSelectedSuggestionAlert){var n=t>-1?this.suggestionStore.getSuggestionAtIndex(this.suggestionStore.currentIndex):void 0,o=n?n.ariaLabel:void 0;return d.createElement("div",{id:this._ariaMap.selectedSuggestionAlert,className:e},"".concat(o," "))}},t.prototype.renderCustomAlert=function(e){void 0===e&&(e=pC.screenReaderOnly);var t=this.props.suggestionRemovedText,n=void 0===t?"removed {0}":t,o="";this.state.selectionRemoved&&(o=ec(n,this._getTextFromItem(this.state.selectionRemoved,"")));return d.createElement("div",{className:e,id:this._ariaMap.selectedSuggestionAlert,"aria-live":"assertive"},this.getSuggestionsAlert(e),o)},t.prototype._startLoadTimer=function(){var e=this;this._async.setTimeout((function(){e.state.suggestionsLoading&&e.setState({suggestionsExtendedLoading:!0})}),3e3)},t.prototype._updateAndResolveValue=function(e,t){var n;if(void 0!==e)this.resolveNewValue(e,t);else{var o=null===(n=this.props.pickerSuggestionsProps)||void 0===n?void 0:n.resultsMaximumNumber;this.suggestionStore.updateSuggestions(t,-1,o),this.state.suggestionsLoading&&this.setState({suggestionsLoading:!1,suggestionsExtendedLoading:!1})}},t.prototype._updateSelectedItems=function(e){var t=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){t._onSelectedItemsUpdated(e)}))},t.prototype._onSelectedItemsUpdated=function(e){this.onChange(e)},t.prototype._getShowSuggestions=function(){return void 0!==this.input.current&&null!==this.input.current&&this.input.current.inputElement===document.activeElement&&""!==this.input.current.value},t.prototype._getTextFromItem=function(e,t){return this.props.getTextFromItem?this.props.getTextFromItem(e,t):""},t}(d.Component),mC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.state,t=e.suggestedDisplayValue,n=e.isFocused,o=this.props,r=o.className,i=o.inputProps,a=o.disabled,s=o.selectionAriaLabel,l=o.selectionRole,c=void 0===l?"list":l,p=o.theme,f=o.styles,h=!!this.state.suggestionsVisible,m=h?this._ariaMap.suggestionList:void 0,g=f?fC(f,{theme:p,className:r,isFocused:n,inputClassName:i&&i.className}):{root:Me("ms-BasePicker",pC.picker,r||""),text:Me("ms-BasePicker-text",pC.pickerText,this.state.isFocused&&pC.inputFocused,a&&pC.inputDisabled),itemsWrapper:pC.pickerItems,input:Me("ms-BasePicker-input",pC.pickerInput,i&&i.className),screenReaderText:pC.screenReaderOnly},v=this.props["aria-label"]||(null==i?void 0:i["aria-label"]);return d.createElement("div",{ref:this.root,onBlur:this.onBlur,onFocus:this.onFocus},d.createElement("div",{className:g.root,onKeyDown:this.onKeyDown},this.renderCustomAlert(g.screenReaderText),d.createElement("span",{id:"".concat(this._ariaMap.selectedItems,"-label"),hidden:!0},s||v),d.createElement("div",{className:g.text,"aria-owns":m},d.createElement(It,Object(u.a)({},i,{className:g.input,componentRef:this.input,onFocus:this.onInputFocus,onBlur:this.onInputBlur,onClick:this.onClick,onInputValueChange:this.onInputChange,suggestedDisplayValue:t,"aria-activedescendant":h?this.getActiveDescendant():void 0,"aria-controls":m,"aria-expanded":h,"aria-haspopup":"listbox","aria-label":v,"aria-describedby":this.state.items.length>0?this._ariaMap.selectedItems:void 0,role:"combobox",id:(null==i?void 0:i.id)?i.id:this._ariaMap.combobox,disabled:a,onInputChange:this.props.onInputChange})))),this.renderSuggestions(),d.createElement(Ch,{selection:this.selection,selectionMode:Qf.single},d.createElement("div",{id:this._ariaMap.selectedItems,className:"ms-BasePicker-selectedItems",role:c,"aria-labelledby":"".concat(this._ariaMap.selectedItems,"-label")},this.renderItems())))},t.prototype.onBackspace=function(e){},t}(hC),gC={root:"ms-PickerPersona-container",itemContent:"ms-PickerItem-content",removeButton:"ms-PickerItem-removeButton",isSelected:"is-selected",isInvalid:"is-invalid"};function vC(e){var t,n,o,r,i,a,s,l,c=e.className,d=e.theme,f=e.selected,h=e.invalid,m=e.disabled,g=d.palette,v=d.semanticColors,b=d.fonts,y=Object(p.R)(gC,d),C=[f&&!h&&!m&&{color:g.white,selectors:(t={":hover":{color:g.white}},t[p.m]={color:"HighlightText"},t)},(h&&!f||h&&f&&m)&&{color:g.redDark,borderBottom:"2px dotted ".concat(g.redDark),selectors:(n={},n[".".concat(y.root,":hover &")]={color:g.redDark},n)},h&&f&&!m&&{color:g.white,borderBottom:"2px dotted ".concat(g.white)},m&&{selectors:(o={},o[p.m]={color:"GrayText"},o)}],_=[f&&!h&&!m&&{color:g.white,selectors:(r={":hover":{color:g.white}},r[p.m]={color:"HighlightText"},r)}],S=[h&&{fontSize:b.xLarge.fontSize}];return{root:[y.root,Object(p.Q)(d,{inset:-2}),{borderRadius:15,display:"inline-flex",alignItems:"center",background:g.neutralLighter,margin:"1px 2px",cursor:"default",userSelect:"none",maxWidth:300,verticalAlign:"middle",minWidth:0,selectors:(i={":hover":{background:f||m?"":g.neutralLight}},i[p.m]=[{border:"1px solid WindowText"},m&&{borderColor:"GrayText"}],i)},f&&!m&&[y.isSelected,{background:g.themePrimary,selectors:(a={},a[p.m]=Object(u.a)({borderColor:"HighLight",background:"Highlight"},Object(p.S)()),a)}],h&&[y.isInvalid],h&&f&&!m&&{background:g.redDark},c],itemContent:[y.itemContent,{flex:"0 1 auto",minWidth:0,maxWidth:"100%",overflow:"hidden"}],removeButton:[y.removeButton,{borderRadius:15,color:g.neutralPrimary,flex:"0 0 auto",width:24,height:24,selectors:{":hover":{background:g.neutralTertiaryAlt,color:g.neutralDark}}},f&&[Object(p.Q)(d,{inset:2,borderColor:"transparent",highContrastStyle:{inset:2,left:1,top:1,bottom:1,right:1,outlineColor:"ButtonText"},outlineColor:g.white,borderRadius:15}),{color:g.white,selectors:(s={":hover":{color:g.white,background:g.themeDark},":active":{color:g.white,background:g.themeDarker}},s[p.m]={color:"HighlightText"},s)},h&&{selectors:{":hover":{background:g.red},":active":{background:g.redDark}}}],m&&{selectors:(l={},l[".".concat(ls.msButtonIcon)]={color:v.buttonText},l)}],subComponentStyles:{persona:{primaryText:C,secondaryText:_},personaCoin:{initials:S}}}}var bC=L(),yC=function(e){var t=e.item,n=e.onRemoveItem,o=e.index,r=e.selected,i=e.removeButtonAriaLabel,a=e.styles,s=e.theme,l=e.className,c=e.disabled,p=e.removeButtonIconProps,f=d.createRef(),h=bn(),m=bC(a,{theme:s,className:l,selected:r,disabled:c,invalid:t.ValidationState===oC.warning}),g=m.subComponentStyles?m.subComponentStyles.persona:void 0,v=m.subComponentStyles?m.subComponentStyles.personaCoin:void 0;return d.createElement("div",{"data-selection-index":o,className:m.root,role:"listitem",key:o,onClick:function(){var e;null===(e=f.current)||void 0===e||e.focus()}},d.createElement("div",{className:m.itemContent,id:"selectedItemPersona-"+h},d.createElement(Nv,Object(u.a)({size:Ne.size24,styles:g,coinProps:{styles:v}},t))),d.createElement(Ss,{componentRef:f,id:h,onClick:n,disabled:c,iconProps:null!=p?p:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},className:m.removeButton,ariaLabel:i,"aria-labelledby":"".concat(h," selectedItemPersona-").concat(h)}))},CC=k(yC,vC,void 0,{scope:"PeoplePickerItem"}),_C={root:"ms-PeoplePicker-personaContent",personaWrapper:"ms-PeoplePicker-Persona"};function SC(e){var t,n,o,r=e.className,i=e.theme,a=Object(p.R)(_C,i),s={selectors:(t={},t[".".concat(Qy.isSuggested," &")]={selectors:(n={},n[p.m]={color:"HighlightText"},n)},t[".".concat(a.root,":hover &")]={selectors:(o={},o[p.m]={color:"HighlightText"},o)},t)};return{root:[a.root,{width:"100%",padding:"4px 12px"},r],personaWrapper:[a.personaWrapper,{width:180}],subComponentStyles:{persona:{primaryText:s,secondaryText:s}}}}var kC=L(),xC=function(e){var t=e.personaProps,n=e.suggestionsProps,o=e.compact,r=e.styles,i=e.theme,a=e.className,s=kC(r,{theme:i,className:n&&n.suggestionsItemClassName||a}),l=s.subComponentStyles&&s.subComponentStyles.persona?s.subComponentStyles.persona:void 0;return d.createElement("div",{className:s.root},d.createElement(Nv,Object(u.a)({size:Ne.size24,styles:l,className:s.personaWrapper,showSecondaryText:!o,showOverflowTooltip:!1},t)))},wC=k(xC,SC,void 0,{scope:"PeoplePickerItemSuggestion"}),IC={root:"ms-BasePicker",text:"ms-BasePicker-text",itemsWrapper:"ms-BasePicker-itemsWrapper",input:"ms-BasePicker-input"};function EC(e){var t,n,o,r=e.className,i=e.theme,a=e.isFocused,s=e.inputClassName,l=e.disabled;if(!i)throw new Error("theme is undefined or null in base BasePicker getStyles function.");var c=i.semanticColors,u=i.effects,d=i.fonts,f=c.inputBorder,h=c.inputBorderHovered,m=c.inputFocusBorderAlt,g=Object(p.R)(IC,i),v=[d.medium,{color:c.inputPlaceholderText,opacity:1,selectors:(t={},t[p.m]={color:"GrayText"},t)}],b={color:c.disabledText,selectors:(n={},n[p.m]={color:"GrayText"},n)};return{root:[g.root,r,{position:"relative"}],text:[g.text,{display:"flex",position:"relative",flexWrap:"wrap",alignItems:"center",boxSizing:"border-box",minWidth:180,minHeight:30,border:"1px solid ".concat(f),borderRadius:u.roundedCorner2},!a&&!l&&{selectors:{":hover":{borderColor:h}}},a&&!l&&Object(p.V)(m,u.roundedCorner2),l&&{borderColor:"rgba(218, 218, 218, 0.29)",selectors:(o={":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:"rgba(218, 218, 218, 0.29)"}},o[p.m]={borderColor:"GrayText",selectors:{":after":{background:"none"}}},o)}],itemsWrapper:[g.itemsWrapper,{display:"flex",flexWrap:"wrap",maxWidth:"100%"}],input:[g.input,d.medium,{height:30,border:"none",flexGrow:1,outline:"none",padding:"0 6px 0",alignSelf:"flex-end",borderRadius:u.roundedCorner2,backgroundColor:"transparent",color:c.inputText,selectors:{"::-ms-clear":{display:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}},Object(p.W)(v),l&&Object(p.W)(b),s],screenReaderText:p.ab}}var OC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t}(hC),TC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t}(mC),DC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.defaultProps={onRenderItem:function(e){return d.createElement(CC,Object(u.a)({},e))},onRenderSuggestionsItem:function(e,t){return d.createElement(wC,{personaProps:e,suggestionsProps:t})},createGenericItem:MC},t}(OC),PC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.defaultProps={onRenderItem:function(e){return d.createElement(CC,Object(u.a)({},e))},onRenderSuggestionsItem:function(e,t){return d.createElement(wC,{personaProps:e,suggestionsProps:t,compact:!0})},createGenericItem:MC},t}(OC),RC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.defaultProps={onRenderItem:function(e){return d.createElement(CC,Object(u.a)({},e))},onRenderSuggestionsItem:function(e,t){return d.createElement(wC,{personaProps:e,suggestionsProps:t})},createGenericItem:MC},t}(TC);function MC(e,t){var n={key:e,primaryText:e,imageInitials:"!",ValidationState:t};return t!==oC.warning&&(n.imageInitials=ke(e,P())),n}var NC=k(DC,EC,void 0,{scope:"NormalPeoplePicker"}),FC=k(PC,EC,void 0,{scope:"CompactPeoplePicker"}),BC=k(RC,EC,void 0,{scope:"ListPeoplePickerBase"}),LC={root:"ms-TagItem",text:"ms-TagItem-text",close:"ms-TagItem-close",isSelected:"is-selected"};function AC(e){var t,n,o,r,i,a=e.className,s=e.theme,l=e.selected,c=e.disabled,u=s.palette,d=s.effects,f=s.fonts,h=s.semanticColors,m=Object(p.R)(LC,s);return{root:[m.root,f.medium,Object(p.Q)(s),{boxSizing:"content-box",flexShrink:"1",margin:2,height:26,lineHeight:26,cursor:"default",userSelect:"none",display:"flex",flexWrap:"nowrap",maxWidth:300,minWidth:0,borderRadius:d.roundedCorner2,color:h.inputText,background:u.neutralLighter,selectors:(t={":hover":[!c&&!l&&{color:u.neutralDark,background:u.neutralLight,selectors:{".ms-TagItem-close":{color:u.neutralPrimary}}},c&&{background:u.neutralLighter}]},t[p.m]={border:"1px solid ".concat(l?"WindowFrame":"WindowText")},t)},c&&{selectors:(n={},n[p.m]={borderColor:"GrayText"},n)},l&&!c&&[m.isSelected,{background:u.themePrimary,color:u.white}],a],text:[m.text,{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:30,margin:"0 8px"},c&&{selectors:(o={},o[p.m]={color:"GrayText"},o)}],close:[m.close,Object(p.Q)(s,{borderColor:"transparent",inset:1,outlineColor:u.white}),{color:u.neutralSecondary,width:30,height:"100%",flex:"0 0 auto",borderRadius:P(s)?"".concat(d.roundedCorner2," 0 0 ").concat(d.roundedCorner2):"0 ".concat(d.roundedCorner2," ").concat(d.roundedCorner2," 0"),selectors:(r={":hover":{background:u.neutralQuaternaryAlt,color:u.neutralPrimary}},r[".".concat(m.isSelected," &, :focus")]={color:u.white,background:u.themePrimary},r[":focus:hover"]={color:u.white,background:u.themeDark},r[":active"]={color:u.white,backgroundColor:u.themeDark},r)},c&&{selectors:(i={},i[".".concat(ls.msButtonIcon)]={color:u.neutralSecondary},i)}]}}var jC=L(),HC=function(e){var t=e.theme,n=e.styles,o=e.selected,r=e.disabled,i=e.enableTagFocusInDisabledPicker,a=e.children,s=e.className,l=e.index,c=e.onRemoveItem,p=e.removeButtonAriaLabel,f=e.title,h=void 0===f?"string"==typeof e.children?e.children:e.item.name:f,m=e.removeButtonIconProps,g=d.createRef(),v=jC(n,{theme:t,className:s,selected:o,disabled:r}),b=wa(),y=i?{"aria-disabled":r,tabindex:0}:{disabled:r};return d.createElement("div",{"data-selection-index":l,className:v.root,role:"listitem",key:l,onClick:function(){var e;null===(e=g.current)||void 0===e||e.focus()}},d.createElement("span",{className:v.text,title:h,id:"".concat(b,"-text")},a),d.createElement(Ss,Object(u.a)({componentRef:g,id:b,onClick:c},y,{iconProps:null!=m?m:{iconName:"Cancel"},styles:{icon:{fontSize:"12px"}},className:v.close,"aria-labelledby":"".concat(b,"-removeLabel ").concat(b,"-text")})),d.createElement("span",{id:"".concat(b,"-removeLabel"),hidden:!0},p))},zC=k(HC,AC,void 0,{scope:"TagItem"}),WC={suggestionTextOverflow:"ms-TagItem-TextOverflow"};function VC(e){var t=e.className,n=e.theme;return{suggestionTextOverflow:[Object(p.R)(WC,n).suggestionTextOverflow,{overflow:"hidden",textOverflow:"ellipsis",maxWidth:"60vw",padding:"6px 12px 7px",whiteSpace:"nowrap"},t]}}var UC=L(),KC=function(e){var t=e.styles,n=e.theme,o=e.children,r=UC(t,{theme:n});return d.createElement("div",{className:r.suggestionTextOverflow}," ",o," ")},GC=k(KC,VC,void 0,{scope:"TagItemSuggestion"}),qC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t.defaultProps={onRenderItem:function(e){return d.createElement(zC,Object(u.a)({},e),e.item.name)},onRenderSuggestionsItem:function(e){return d.createElement(GC,null,e.name)}},t}(hC),YC=k(qC,EC,void 0,{scope:"TagPicker"});function QC(e,t){void 0===t&&(t=null);var n,o=d.useRef({ref:(n=function(e){o.ref.current!==e&&(o.cleanup&&(o.cleanup(),o.cleanup=void 0),o.ref.current=e,null!==e&&(o.cleanup=o.callback(e)))},n.current=t,n),callback:e}).current;return o.callback=e,o.ref}var XC=function(e){var t=e.onOverflowItemsChanged,n=e.rtl,o=e.pinnedIndex,r=d.useRef(),i=d.useRef(),a=QC((function(e){var t=function(e,t){if("undefined"!=typeof ResizeObserver){var n=new ResizeObserver(t);return Array.isArray(e)?e.forEach((function(e){return n.observe(e)})):n.observe(e),function(){return n.disconnect()}}var o=function(){return t(void 0)},r=Object(N.a)(Array.isArray(e)?e[0]:e);if(!r)return function(){};var i=r.requestAnimationFrame(o);return r.addEventListener("resize",o,!1),function(){r.cancelAnimationFrame(i),r.removeEventListener("resize",o,!1)}}(e,(function(t){i.current=t?t[0].contentRect.width:e.clientWidth,r.current&&r.current()}));return function(){t(),i.current=void 0}})),s=QC((function(e){return a(e.parentElement),function(){return a(null)}}));return we((function(){var e=a.current,l=s.current;if(e&&l){for(var c=[],u=0;u<e.children.length;u++){var d=e.children[u];d instanceof HTMLElement&&d!==l&&c.push(d)}var p=[],f=0;r.current=function(){var e=i.current;if(void 0!==e){for(var t=c.length-1;t>=0;t--){if(void 0===p[t]){var r=n?e-c[t].offsetLeft:c[t].offsetLeft+c[t].offsetWidth;t+1<c.length&&t+1===o&&(f=p[t+1]-r),t===c.length-2&&(f+=l.offsetWidth),p[t]=r+f}if(e>p[t])return void m(t+1)}m(0)}};var h=c.length,m=function(e){h!==e&&(h=e,t(e,c.map((function(t,n){return{ele:t,isOverflowing:n>=e&&n!==o}}))))},g=void 0;if(void 0!==i.current){var v=Object(N.a)(e);if(v){var b=v.requestAnimationFrame(r.current);g=function(){return v.cancelAnimationFrame(b)}}}return function(){g&&g(),m(c.length),r.current=void 0}}})),{menuButtonRef:s}},ZC=function(e){function t(t){var n=e.call(this,t)||this;return Ct(n),n}return Object(u.c)(t,e),t.prototype.render=function(){return d.createElement("div",Object(u.a)({},fe(this.props,pe)),this.props.children)},t}(d.Component),$C=L(),JC=function(e,t){var n={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return d.Children.forEach(d.Children.toArray(e.children),(function(o,r){if(e_(o)){var i=o.props,a=i.linkText,s=Object(u.d)(i,["linkText"]),l=o.props.itemKey||r.toString();n.links.push(Object(u.a)(Object(u.a)({headerText:a},s),{itemKey:l})),n.keyToIndexMapping[l]=r,n.keyToTabIdMapping[l]=function(e,t,n,o){return e.getTabId?e.getTabId(n,o):t+"-Tab".concat(o)}(e,t,l,r)}else o&&Object(bo.b)("The children of a Pivot component must be of type PivotItem to be rendered.")})),n},e_=function(e){var t;return d.isValidElement(e)&&(null===(t=e.type)||void 0===t?void 0:t.name)===ZC.name},t_=d.forwardRef((function(e,t){var n,o=d.useRef(null),r=d.useRef(null),i=wa("Pivot"),a=Uc(e.selectedKey,e.defaultSelectedKey),s=a[0],l=a[1],c=e.componentRef,p=e.theme,f=e.linkSize,h=e.linkFormat,m=e.overflowBehavior,g=e.overflowAriaLabel,v=e.focusZoneProps,b=e.overflowButtonAs,y={"aria-label":e["aria-label"],"aria-labelledby":e["aria-labelledby"]},C=fe(e,pe,["aria-label","aria-labelledby"]),_=JC(e,i);d.useImperativeHandle(c,(function(){return{focus:function(){var e;null===(e=o.current)||void 0===e||e.focus()}}}));var S=function(e){if(!e)return null;var t=e.itemCount,o=e.itemIcon,r=e.headerText;return d.createElement("span",{className:n.linkContent},void 0!==o&&d.createElement("span",{className:n.icon},d.createElement(Ge,{iconName:o})),void 0!==r&&d.createElement("span",{className:n.text}," ",e.headerText),void 0!==t&&d.createElement("span",{className:n.count}," (",t,")"))},k=function(e,t,o,r){var i,a=t.itemKey,s=t.headerButtonProps,l=t.onRenderItemLink,c=e.keyToTabIdMapping[a],p=o===a;i=l?l(t,S):S(t);var f=t.headerText||"";f+=t.itemCount?" ("+t.itemCount+")":"",f+=t.itemIcon?" xx":"";var h=t.role&&"tab"!==t.role?{role:t.role}:{role:"tab","aria-selected":p};return d.createElement(ml,Object(u.a)({},s,h,{id:c,key:a,className:Me(r,p&&n.linkIsSelected),onClick:function(e){return x(a,e)},onKeyDown:function(e){return w(a,e)},"aria-label":t.ariaLabel,name:t.headerText,keytipProps:t.keytipProps,"data-content":f}),i)},x=function(e,t){t.preventDefault(),I(e,t)},w=function(e,t){t.which===E.enter&&(t.preventDefault(),I(e))},I=function(t,n){var o;if(l(t),_=JC(e,i),e.onLinkClick&&_.keyToIndexMapping[t]>=0){var a=_.keyToIndexMapping[t],s=d.Children.toArray(e.children)[a];e_(s)&&e.onLinkClick(s,n)}null===(o=r.current)||void 0===o||o.dismissMenu()};n=$C(e.styles,{theme:p,linkSize:f,linkFormat:h});var O,T=null===(O=s)||void 0!==O&&void 0!==_.keyToIndexMapping[O]?s:_.links.length?_.links[0].itemKey:void 0,D=T?_.keyToIndexMapping[T]:0,R=_.links.map((function(e){return k(_,e,T,n.link)})),M=d.useMemo((function(){return{items:[],alignTargetEdge:!0,directionalHint:Eo.bottomRightEdge}}),[]),N=XC({onOverflowItemsChanged:function(e,t){t.forEach((function(e){var t=e.ele,n=e.isOverflowing;return t.dataset.isOverflowing="".concat(n)})),M.items=_.links.slice(e).filter((function(e){return e.itemKey!==T})).map((function(t,o){return t.role="menuitem",{key:t.itemKey||"".concat(e+o),onRender:function(){return k(_,t,T,n.linkInMenu)}}}))},rtl:P(p),pinnedIndex:D}).menuButtonRef,F=b||ml;return d.createElement("div",Object(u.a)({ref:t},C),d.createElement(zn,Object(u.a)({componentRef:o,role:"tablist"},y,{direction:Ot.horizontal},v,{className:Me(n.root,null==v?void 0:v.className)}),R,"menu"===m&&d.createElement(F,{className:Me(n.link,n.overflowMenuButton),elementRef:N,componentRef:r,menuProps:M,menuIconProps:{iconName:"More",style:{color:"inherit"}},ariaLabel:g,role:"tab"})),T&&_.links.map((function(t){return(!0===t.alwaysRender||T===t.itemKey)&&function(t,o){if(e.headersOnly||!t)return null;var r=_.keyToIndexMapping[t],i=_.keyToTabIdMapping[t];return d.createElement("div",{role:"tabpanel",hidden:!o,key:t,"aria-hidden":!o,"aria-labelledby":i,className:n.itemContainer},d.Children.toArray(e.children)[r])}(t.itemKey,T===t.itemKey)})))}));t_.displayName="Pivot";var n_,o_,r_={count:"ms-Pivot-count",icon:"ms-Pivot-icon",linkIsSelected:"is-selected",link:"ms-Pivot-link",linkContent:"ms-Pivot-linkContent",root:"ms-Pivot",rootIsLarge:"ms-Pivot--large",rootIsTabs:"ms-Pivot--tabs",text:"ms-Pivot-text",linkInMenu:"ms-Pivot-linkInMenu",overflowMenuButton:"ms-Pivot-overflowMenuButton"},i_=function(e,t,n){var o,r,i;void 0===n&&(n=!1);var a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,d=l.fonts,f="large"===a,h="tabs"===s;return[d.medium,{color:c.actionLink,padding:"0 8px",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:{":hover":{backgroundColor:c.buttonBackgroundHovered,color:c.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:c.buttonBackgroundPressed,color:c.buttonTextHovered},":focus":{outline:"none"}}},!n&&[{display:"inline-block",lineHeight:44,height:44,marginRight:8,textAlign:"center",selectors:(o={},o[".".concat(Gn.a," &:focus")]={outline:"1px solid ".concat(c.focusBorder)},o[".".concat(Gn.a," &:focus:after")]={content:"attr(data-content)",position:"relative",border:0},o[":before"]={backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left ".concat(p.c.durationValue2," ").concat(p.c.easeFunction2,",\n right ").concat(p.c.durationValue2," ").concat(p.c.easeFunction2)},o[":after"]={color:"transparent",content:"attr(data-content)",display:"block",fontWeight:p.l.bold,height:1,overflow:"hidden",visibility:"hidden"},o)},f&&{fontSize:d.large.fontSize},h&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:c.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(r={":focus":{outlineOffset:"-2px"}},r[".".concat(Gn.a," &:focus::before")]={height:"auto",background:"transparent",transition:"none"},r["&:hover, &:focus"]={color:c.buttonTextCheckedHovered},r["&:active, &:hover"]={color:c.primaryButtonText,backgroundColor:c.primaryButtonBackground},r["&.".concat(t.linkIsSelected)]={backgroundColor:c.primaryButtonBackground,color:c.primaryButtonText,fontWeight:p.l.regular,selectors:(i={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:0},":hover":{backgroundColor:c.primaryButtonBackgroundHovered,color:c.primaryButtonText},":active":{backgroundColor:c.primaryButtonBackgroundPressed,color:c.primaryButtonText}},i[p.m]=Object(u.a)({fontWeight:p.l.semibold,color:"HighlightText",background:"Highlight"},Object(p.S)()),i)},r[".".concat(Gn.a," &.").concat(t.linkIsSelected,":focus")]={outlineColor:c.primaryButtonText},r)}]]]},a_=k(t_,(function(e){var t,n,o,r,i=e.className,a=e.linkSize,s=e.linkFormat,l=e.theme,c=l.semanticColors,d=l.fonts,f=Object(p.R)(r_,l),h="large"===a,m="tabs"===s;return{root:[f.root,d.medium,p.gb,{position:"relative",color:c.link,whiteSpace:"nowrap"},h&&f.rootIsLarge,m&&f.rootIsTabs,i],itemContainer:{selectors:{"&[hidden]":{display:"none"}}},link:Object(u.e)(Object(u.e)([f.link],i_(e,f),!0),[(t={},t["&[data-is-overflowing='true']"]={display:"none"},t)],!1),overflowMenuButton:[f.overflowMenuButton,(n={visibility:"hidden",position:"absolute",right:0},n[".".concat(f.link,"[data-is-overflowing='true'] ~ &")]={visibility:"visible",position:"relative"},n)],linkInMenu:Object(u.e)(Object(u.e)([f.linkInMenu],i_(e,f,!0),!0),[{textAlign:"left",width:"100%",height:36,lineHeight:36}],!1),linkIsSelected:[f.link,f.linkIsSelected,{fontWeight:p.l.semibold,selectors:(o={":before":{backgroundColor:c.inputBackgroundChecked,selectors:(r={},r[p.m]={backgroundColor:"Highlight"},r)},":hover::before":{left:0,right:0}},o[p.m]={color:"Highlight"},o)}],linkContent:[f.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[f.text,{display:"inline-block",verticalAlign:"top"}],count:[f.count,{display:"inline-block",verticalAlign:"top"}],icon:f.icon}}),void 0,{scope:"Pivot"});!function(e){e.links="links",e.tabs="tabs"}(n_||(n_={})),function(e){e.normal="normal",e.large="large"}(o_||(o_={}));var s_,l_=L(),c_=function(e){function t(t){var n=e.call(this,t)||this;n._onRenderProgress=function(e){var t=n.props,o=t.ariaLabel,r=t.ariaValueText,i=t.barHeight,a=t.className,s=t.description,l=t.label,c=void 0===l?n.props.title:l,u=t.styles,p=t.theme,f="number"==typeof n.props.percentComplete?Math.min(100,Math.max(0,100*n.props.percentComplete)):void 0,h=l_(u,{theme:p,className:a,barHeight:i,indeterminate:void 0===f}),m={width:void 0!==f?f+"%":void 0,transition:void 0!==f&&f<.01?"none":void 0},g=void 0!==f?0:void 0,v=void 0!==f?100:void 0,b=void 0!==f?Math.floor(f):void 0;return d.createElement("div",{className:h.itemProgress},d.createElement("div",{className:h.progressTrack}),d.createElement("div",{className:h.progressBar,style:m,role:"progressbar","aria-describedby":s?n._descriptionId:void 0,"aria-label":o,"aria-labelledby":c?n._labelId:void 0,"aria-valuemin":g,"aria-valuemax":v,"aria-valuenow":b,"aria-valuetext":r}))};var o=bn("progress-indicator");return n._labelId=o+"-label",n._descriptionId=o+"-description",n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.barHeight,n=e.className,o=e.label,r=void 0===o?this.props.title:o,i=e.description,a=e.styles,s=e.theme,l=e.progressHidden,c=e.onRenderProgress,p=void 0===c?this._onRenderProgress:c,f="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,h=l_(a,{theme:s,className:n,barHeight:t,indeterminate:void 0===f});return d.createElement("div",{className:h.root},r?d.createElement("div",{id:this._labelId,className:h.itemName},r):null,l?null:p(Object(u.a)(Object(u.a)({},this.props),{percentComplete:f}),this._onRenderProgress),i?d.createElement("div",{id:this._descriptionId,className:h.itemDescription},i):null)},t.defaultProps={label:"",description:"",width:180},t}(d.Component),u_={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},d_=Object(f.c)((function(){return Object(p.bb)({"0%":{left:"-30%"},"100%":{left:"100%"}})})),p_=Object(f.c)((function(){return Object(p.bb)({"100%":{right:"-30%"},"0%":{right:"100%"}})})),f_=k(c_,(function(e){var t,n,o,r=P(e.theme),i=e.className,a=e.indeterminate,s=e.theme,l=e.barHeight,c=void 0===l?2:l,d=s.palette,f=s.semanticColors,h=s.fonts,m=Object(p.R)(u_,s),g=d.neutralLight;return{root:[m.root,h.medium,i],itemName:[m.itemName,p.fb,{color:f.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[m.itemDescription,{color:f.bodySubtext,fontSize:h.small.fontSize,lineHeight:18}],itemProgress:[m.itemProgress,{position:"relative",overflow:"hidden",height:c,padding:"".concat(8,"px 0")}],progressTrack:[m.progressTrack,{position:"absolute",width:"100%",height:c,backgroundColor:g,selectors:(t={},t[p.m]={borderBottom:"1px solid WindowText"},t)}],progressBar:[{backgroundColor:d.themePrimary,height:c,position:"absolute",transition:"width .3s ease",width:0,selectors:(n={},n[p.m]=Object(u.a)({backgroundColor:"highlight"},Object(p.S)()),n)},a?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, ".concat(g," 0%, ")+"".concat(d.themePrimary," 50%, ").concat(g," 100%)"),animation:"".concat(r?p_():d_()," 3s infinite"),selectors:(o={},o[p.m]={background:"highlight"},o)}:{transition:"width .15s linear"},m.progressBar]}}),void 0,{scope:"ProgressIndicator"}),h_={root:"ms-RatingStar-root",rootIsSmall:"ms-RatingStar-root--small",rootIsLarge:"ms-RatingStar-root--large",ratingStar:"ms-RatingStar-container",ratingStarBack:"ms-RatingStar-back",ratingStarFront:"ms-RatingStar-front",ratingButton:"ms-Rating-button",ratingStarIsSmall:"ms-Rating--small",ratingStartIsLarge:"ms-Rating--large",labelText:"ms-Rating-labelText",ratingFocusZone:"ms-Rating-focuszone"};function m_(e,t){var n;return{color:e,selectors:(n={},n[p.m]={color:t},n)}}!function(e){e[e.Small=0]="Small",e[e.Large=1]="Large"}(s_||(s_={}));var g_=L(),v_=function(e){return d.createElement("div",{className:e.classNames.ratingStar},d.createElement(Ge,{className:e.classNames.ratingStarBack,iconName:0===e.fillPercentage||100===e.fillPercentage?e.icon:e.unselectedIcon}),!e.disabled&&d.createElement(Ge,{className:e.classNames.ratingStarFront,iconName:e.icon,style:{width:e.fillPercentage+"%"}}))},b_=function(e,t){return"".concat(e,"-star-").concat(t-1)},y_=d.forwardRef((function(e,t){var n=wa("Rating"),o=wa("RatingLabel"),r=e.ariaLabel,i=e.ariaLabelFormat,a=e.disabled,s=e.getAriaLabel,l=e.styles,c=e.min,p=void 0===c?e.allowZeroStars?0:1:c,f=e.max,h=void 0===f?5:f,m=e.readOnly,g=e.size,v=e.theme,b=e.icon,y=void 0===b?"FavoriteStarFill":b,C=e.unselectedIcon,_=void 0===C?"FavoriteStar":C,S=e.onRenderStar,k=Math.max(p,0),x=Uc(e.rating,e.defaultRating,e.onChange),w=x[0],I=x[1],O=function(e,t,n){return Math.min(Math.max(null!=e?e:t,t),n)}(w,k,h);!function(e,t){d.useImperativeHandle(e,(function(){return{rating:t}}),[t])}(e.componentRef,O);var T=d.useRef(null),D=Ie(T,t);$n(T);for(var P=fe(e,pe),R=g_(l,{disabled:a,readOnly:m,theme:v}),M=null==s?void 0:s(O,h),N=r||M,F=[],B=function(e){var t,r,s=function(e,t){var n=Math.ceil(t),o=100;return e===t?o=100:e===n?o=t%1*100:e>n&&(o=0),o}(e,O);F.push(d.createElement("button",Object(u.a)({className:Me(R.ratingButton,g===s_.Large?R.ratingStarIsLarge:R.ratingStarIsSmall),id:b_(n,e),key:e},e===Math.ceil(O)&&{"data-is-current":!0},{onKeyDown:function(t){var n=t.which,o=e;switch(n){case E.right:case E.down:o=Math.min(h,o+1);break;case E.left:case E.up:o=Math.max(1,o-1);break;case E.home:case E.pageUp:o=1;break;case E.end:case E.pageDown:o=h}o===e||void 0!==w&&Math.ceil(w)===o||I(o,t)},onClick:function(t){void 0!==w&&Math.ceil(w)===e||I(e,t)},disabled:!(!a&&!m),role:"radio","aria-hidden":m?"true":void 0,type:"button","aria-checked":e===Math.ceil(O)}),d.createElement("span",{id:"".concat(o,"-").concat(e),className:R.labelText},ec(i||"",e,h)),(t={fillPercentage:s,disabled:a,classNames:R,icon:s>0?y:_,starNum:e,unselectedIcon:_},(r=S)?r(t):d.createElement(v_,Object(u.a)({},t)))))},L=1;L<=h;L++)B(L);var A=g===s_.Large?R.rootIsLarge:R.rootIsSmall;return d.createElement("div",Object(u.a)({ref:D,className:Me("ms-Rating-star",R.root,A),"aria-label":m?void 0:N,id:n,role:m?void 0:"radiogroup"},P),d.createElement(zn,Object(u.a)({direction:Ot.bidirectional,className:Me(R.ratingFocusZone,A),defaultActiveElement:"#"+b_(n,Math.ceil(O))},m&&{allowFocusRoot:!0,disabled:!0,role:"textbox","aria-label":M,"aria-readonly":!0,"data-is-focusable":!0,tabIndex:0}),F))}));y_.displayName="RatingBase";var C_=k(y_,(function(e){var t=e.disabled,n=e.readOnly,o=e.theme,r=o.semanticColors,i=o.palette,a=Object(p.R)(h_,o),s=i.neutralSecondary,l=i.themePrimary,c=i.themeDark,u=i.neutralPrimary,d=r.disabledBodySubtext;return{root:[a.root,o.fonts.medium,!t&&!n&&{selectors:{"&:hover":{selectors:{".ms-RatingStar-back":m_(u,"Highlight")}}}}],rootIsSmall:[a.rootIsSmall,{height:"32px"}],rootIsLarge:[a.rootIsLarge,{height:"36px"}],ratingStar:[a.ratingStar,{display:"inline-block",position:"relative",height:"inherit"}],ratingStarBack:[a.ratingStarBack,{color:s,width:"100%"},t&&m_(d,"GrayText")],ratingStarFront:[a.ratingStarFront,{position:"absolute",height:"100 %",left:"0",top:"0",textAlign:"center",verticalAlign:"middle",overflow:"hidden"},m_(u,"Highlight")],ratingButton:[Object(p.Q)(o),a.ratingButton,{backgroundColor:"transparent",padding:"".concat(8,"px ").concat(2,"px"),boxSizing:"content-box",margin:"0px",border:"none",cursor:"pointer",selectors:{"&:disabled":{cursor:"default"},"&[disabled]":{cursor:"default"}}},!t&&!n&&{selectors:{"&:hover ~ .ms-Rating-button":{selectors:{".ms-RatingStar-back":m_(s,"WindowText"),".ms-RatingStar-front":m_(s,"WindowText")}},"&:hover":{selectors:{".ms-RatingStar-back":{color:l},".ms-RatingStar-front":{color:c}}}}},t&&{cursor:"default"}],ratingStarIsSmall:[a.ratingStarIsSmall,{fontSize:"16px",lineHeight:"16px",height:"16px"}],ratingStarIsLarge:[a.ratingStartIsLarge,{fontSize:"20px",lineHeight:"20px",height:"20px"}],labelText:[a.labelText,p.ab],ratingFocusZone:[Object(p.Q)(o),a.ratingFocusZone,{display:"inline-block"}]}}),void 0,{scope:"Rating"}),__={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},S_={auto:"auto",always:"always"},k_=d.createContext({scrollablePane:void 0}),x_=L(),w_=function(e){function t(t){var n=e.call(this,t)||this;return n._root=d.createRef(),n._stickyAboveRef=d.createRef(),n._stickyBelowRef=d.createRef(),n._contentContainer=d.createRef(),n.subscribe=function(e){n._subscribers.add(e)},n.unsubscribe=function(e){n._subscribers.delete(e)},n.addSticky=function(e){n._stickies.add(e),n.contentContainer&&(e.setDistanceFromTop(n.contentContainer),n.sortSticky(e))},n.removeSticky=function(e){n._stickies.delete(e),n._removeStickyFromContainers(e),n.notifySubscribers()},n.sortSticky=function(e,t){n.stickyAbove&&n.stickyBelow&&(t&&n._removeStickyFromContainers(e),e.canStickyTop&&e.stickyContentTop&&n._addToStickyContainer(e,n.stickyAbove,e.stickyContentTop),e.canStickyBottom&&e.stickyContentBottom&&n._addToStickyContainer(e,n.stickyBelow,e.stickyContentBottom))},n.updateStickyRefHeights=function(){var e=n._stickies,t=0,o=0;e.forEach((function(e){var r=e.state,i=r.isStickyTop,a=r.isStickyBottom;e.nonStickyContent&&(i&&(t+=e.nonStickyContent.offsetHeight),a&&(o+=e.nonStickyContent.offsetHeight),n._checkStickyStatus(e))})),n.setState({stickyTopHeight:t,stickyBottomHeight:o})},n.notifySubscribers=function(){n.contentContainer&&n._subscribers.forEach((function(e){e(n.contentContainer,n.stickyBelow)}))},n.getScrollPosition=function(){return n.contentContainer?n.contentContainer.scrollTop:0},n.syncScrollSticky=function(e){e&&n.contentContainer&&e.syncScroll(n.contentContainer)},n._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:n.subscribe,unsubscribe:n.unsubscribe,addSticky:n.addSticky,removeSticky:n.removeSticky,updateStickyRefHeights:n.updateStickyRefHeights,sortSticky:n.sortSticky,notifySubscribers:n.notifySubscribers,syncScrollSticky:n.syncScrollSticky}}},n._addToStickyContainer=function(e,t,o){if(t.children.length){if(!t.contains(o)){var r=[].slice.call(t.children),i=[];n._stickies.forEach((function(o){(t===n.stickyAbove&&e.canStickyTop||e.canStickyBottom)&&i.push(o)}));for(var a=void 0,s=0,l=i.sort((function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)})).filter((function(e){var o=t===n.stickyAbove?e.stickyContentTop:e.stickyContentBottom;return!!o&&r.indexOf(o)>-1}));s<l.length;s++){var c=l[s];if((c.state.distanceFromTop||0)>=(e.state.distanceFromTop||0)){a=c;break}}var u=null;a&&(u=t===n.stickyAbove?a.stickyContentTop:a.stickyContentBottom),t.insertBefore(o,u)}}else t.appendChild(o)},n._removeStickyFromContainers=function(e){n.stickyAbove&&e.stickyContentTop&&n.stickyAbove.contains(e.stickyContentTop)&&n.stickyAbove.removeChild(e.stickyContentTop),n.stickyBelow&&e.stickyContentBottom&&n.stickyBelow.contains(e.stickyContentBottom)&&n.stickyBelow.removeChild(e.stickyContentBottom)},n._onWindowResize=function(){var e=n._getScrollbarWidth(),t=n._getScrollbarHeight();n.setState({scrollbarWidth:e,scrollbarHeight:t}),n.notifySubscribers()},n._getStickyContainerStyle=function(e,t){return Object(u.a)(Object(u.a)({height:e},P(n.props.theme)?{right:"0",left:"".concat(n.state.scrollbarWidth||n._getScrollbarWidth()||0,"px")}:{left:"0",right:"".concat(n.state.scrollbarWidth||n._getScrollbarWidth()||0,"px")}),t?{top:"0"}:{bottom:"".concat(n.state.scrollbarHeight||n._getScrollbarHeight()||0,"px")})},n._onScroll=function(){var e=n.contentContainer;e&&n._stickies.forEach((function(t){t.syncScroll(e)})),n._notifyThrottled()},n._subscribers=new Set,n._stickies=new Set,Ct(n),n._async=new wt(n),n._events=new vo(n),n.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},n._notifyThrottled=n._async.throttle(n.notifySubscribers,50),n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e=this,t=this.props.initialScrollPosition;this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(window,"resize",this._onWindowResize),this.contentContainer&&t&&(this.contentContainer.scrollTop=t),this.setStickiesDistanceFromTop(),this._stickies.forEach((function(t){e.sortSticky(t)})),this.notifySubscribers(),"MutationObserver"in window&&(this._mutationObserver=new MutationObserver((function(t){var n=e._getScrollbarHeight();if(n!==e.state.scrollbarHeight&&e.setState({scrollbarHeight:n}),e.notifySubscribers(),t.some(function(e){return null!==this.stickyAbove&&null!==this.stickyBelow&&(this.stickyAbove.contains(e.target)||this.stickyBelow.contains(e.target))}.bind(e)))e.updateStickyRefHeights();else{var o=[];e._stickies.forEach((function(e){e.root&&e.root.contains(t[0].target)&&o.push(e)})),o.length&&o.forEach((function(e){e.forceUpdate()}))}})),this.root&&this._mutationObserver.observe(this.root,{childList:!0,attributes:!0,subtree:!0,characterData:!0}))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},t.prototype.shouldComponentUpdate=function(e,t){return this.props.children!==e.children||this.props.initialScrollPosition!==e.initialScrollPosition||this.props.className!==e.className||this.state.stickyTopHeight!==t.stickyTopHeight||this.state.stickyBottomHeight!==t.stickyBottomHeight||this.state.scrollbarWidth!==t.scrollbarWidth||this.state.scrollbarHeight!==t.scrollbarHeight},t.prototype.componentDidUpdate=function(e,t){var n=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof n&&e.initialScrollPosition!==n&&(this.contentContainer.scrollTop=n),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.scrollContainerFocus,o=e.scrollContainerAriaLabel,r=e.theme,i=e.styles,a=e.onScroll,s=this.state,l=s.stickyTopHeight,c=s.stickyBottomHeight,p=x_(i,{theme:r,className:t,scrollbarVisibility:this.props.scrollbarVisibility}),f=n?{role:"group",tabIndex:0,"aria-label":o,onScroll:a}:{onScroll:a};return d.createElement("div",Object(u.a)({},fe(Object(u.a)({},this.props),pe,["onScroll"]),{ref:this._root,className:p.root}),d.createElement("div",{ref:this._stickyAboveRef,className:p.stickyAbove,style:this._getStickyContainerStyle(l,!0)}),d.createElement("div",Object(u.a)({ref:this._contentContainer},f,{className:p.contentContainer,"data-is-scrollable":!0}),d.createElement(k_.Provider,{value:this._getScrollablePaneContext()},this.props.children)),d.createElement("div",{className:p.stickyBelow,style:this._getStickyContainerStyle(c,!1)},d.createElement("div",{ref:this._stickyBelowRef,className:p.stickyBelowItems})))},t.prototype.setStickiesDistanceFromTop=function(){var e=this;this.contentContainer&&this._stickies.forEach((function(t){t.setDistanceFromTop(e.contentContainer)}))},t.prototype.forceLayoutUpdate=function(){this._onWindowResize()},t.prototype._checkStickyStatus=function(e){this.stickyAbove&&this.stickyBelow&&this.contentContainer&&e.nonStickyContent&&(e.state.isStickyTop||e.state.isStickyBottom?(e.state.isStickyTop&&!this.stickyAbove.contains(e.nonStickyContent)&&e.stickyContentTop&&e.addSticky(e.stickyContentTop),e.state.isStickyBottom&&!this.stickyBelow.contains(e.nonStickyContent)&&e.stickyContentBottom&&e.addSticky(e.stickyContentBottom)):this.contentContainer.contains(e.nonStickyContent)||e.resetSticky())},t.prototype._getScrollbarWidth=function(){var e=this.contentContainer;return e?e.offsetWidth-e.clientWidth:0},t.prototype._getScrollbarHeight=function(){var e=this.contentContainer;return e?e.offsetHeight-e.clientHeight:0},t}(d.Component),I_=k(w_,(function(e){var t,n,o=e.className,r=e.theme,i=Object(p.R)(__,r),a={position:"absolute",pointerEvents:"none"},s={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[i.root,r.fonts.medium,s,o],contentContainer:[i.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},s],stickyAbove:[{top:0,zIndex:1,selectors:(t={},t[p.m]={borderBottom:"1px solid WindowText"},t)},a],stickyBelow:[{bottom:0,selectors:(n={},n[p.m]={borderTop:"1px solid WindowText"},n)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}}),void 0,{scope:"ScrollablePane"}),E_={root:{height:"auto"},icon:{fontSize:"12px"}},O_={iconName:"Clear"},T_={ariaLabel:"Clear text"},D_=L(),P_=d.forwardRef((function(e,t){var n=e.ariaLabel,o=e.className,r=e.defaultValue,i=void 0===r?"":r,a=e.disabled,s=e.underlined,l=e.styles,c=e.labelText,p=e.placeholder,f=void 0===p?c:p,h=e.theme,m=e.clearButtonProps,g=void 0===m?T_:m,v=e.disableAnimation,b=void 0!==v&&v,y=e.showIcon,C=void 0!==y&&y,_=e.onClear,S=e.onBlur,k=e.onEscape,x=e.onSearch,w=e.onKeyDown,I=e.iconProps,O=e.role,T=e.onChange,D=e.onChanged,P=d.useState(!1),R=P[0],M=P[1],N=d.useRef(),F=Uc(e.value,i,(function(e,t){e&&e.timeStamp===N.current||(N.current=null==e?void 0:e.timeStamp,null==T||T(e,t),null==D||D(t))})),B=F[0],L=F[1],A=String(B),j=d.useRef(null),H=d.useRef(null),z=Ie(j,t),W=wa("SearchBox",e.id),V=g.onClick,U=D_(l,{theme:h,className:o,underlined:s,hasFocus:R,disabled:a,hasInput:A.length>0,disableAnimation:b,showIcon:C}),K=fe(e,$,["className","placeholder","onFocus","onBlur","value","role"]),G=d.useCallback((function(e){var t;null==_||_(e),e.defaultPrevented||(L(""),null===(t=H.current)||void 0===t||t.focus(),e.stopPropagation(),e.preventDefault())}),[_,L]),q=d.useCallback((function(e){null==V||V(e),e.defaultPrevented||G(e)}),[V,G]),Y=d.useCallback((function(e){M(!1),null==S||S(e)}),[S]),Q=function(e){L(e.target.value,e)};return function(e,t,n){d.useImperativeHandle(e,(function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()},blur:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.blur()},hasFocus:function(){return n}}}),[t,n])}(e.componentRef,H,R),d.createElement("div",{role:O,ref:z,className:U.root,onFocusCapture:function(t){var n;M(!0),null===(n=e.onFocus)||void 0===n||n.call(e,t)}},d.createElement("div",{className:U.iconContainer,onClick:function(){H.current&&(H.current.focus(),H.current.selectionStart=H.current.selectionEnd=0)},"aria-hidden":!0},d.createElement(Ge,Object(u.a)({iconName:"Search"},I,{className:U.icon}))),d.createElement("input",Object(u.a)({},K,{id:W,className:U.field,placeholder:f,onChange:Q,onInput:Q,onBlur:Y,onKeyDown:function(e){switch(e.which){case E.escape:null==k||k(e),A&&!e.defaultPrevented&&G(e);break;case E.enter:x&&(x(A),e.preventDefault(),e.stopPropagation());break;default:null==w||w(e),e.defaultPrevented&&e.stopPropagation()}},value:A,disabled:a,role:"searchbox","aria-label":n,ref:H})),A.length>0&&d.createElement("div",{className:U.clearButton},d.createElement(Ss,Object(u.a)({onBlur:Y,styles:E_,iconProps:O_},g,{onClick:q}))))}));P_.displayName="SearchBox";var R_={root:"ms-SearchBox",iconContainer:"ms-SearchBox-iconContainer",icon:"ms-SearchBox-icon",clearButton:"ms-SearchBox-clearButton",field:"ms-SearchBox-field"};var M_=k(P_,(function(e){var t,n,o,r,i,a=e.theme,s=e.underlined,l=e.disabled,c=e.hasFocus,u=e.className,d=e.hasInput,f=e.disableAnimation,h=e.showIcon,m=a.palette,g=a.fonts,v=a.semanticColors,b=a.effects,y=Object(p.R)(R_,a),C={color:v.inputPlaceholderText,opacity:1},_=m.neutralSecondary,S=m.neutralPrimary,k=m.neutralLighter,x=m.neutralLighter,w=m.neutralLighter;return{root:[y.root,g.medium,p.gb,{color:v.inputText,backgroundColor:v.inputBackground,display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"stretch",padding:"1px 0 1px 4px",borderRadius:b.roundedCorner2,border:"1px solid ".concat(v.inputBorder),height:32,selectors:(t={},t[p.m]={borderColor:"WindowText"},t[":hover"]={borderColor:v.inputBorderHovered,selectors:(n={},n[p.m]={borderColor:"Highlight"},n)},t[":hover .".concat(y.iconContainer)]={color:v.inputIconHovered},t)},!c&&d&&{selectors:(o={},o[":hover .".concat(y.iconContainer)]={width:4},o[":hover .".concat(y.icon)]={opacity:0,pointerEvents:"none"},o)},c&&["is-active",{position:"relative"},Object(p.V)(v.inputFocusBorderAlt,s?0:b.roundedCorner2,s?"borderBottom":"border")],h&&[{selectors:(r={},r[":hover .".concat(y.iconContainer)]={width:32},r[":hover .".concat(y.icon)]={opacity:1},r)}],l&&["is-disabled",{borderColor:k,backgroundColor:w,pointerEvents:"none",cursor:"default",selectors:(i={},i[p.m]={borderColor:"GrayText"},i)}],s&&["is-underlined",{borderWidth:"0 0 1px 0",borderRadius:0,padding:"1px 0 1px 8px"}],s&&l&&{backgroundColor:"transparent"},d&&"can-clear",u],iconContainer:[y.iconContainer,{display:"flex",flexDirection:"column",justifyContent:"center",flexShrink:0,fontSize:16,width:32,textAlign:"center",color:v.inputIcon,cursor:"text"},c&&{width:4},l&&{color:v.inputIconDisabled},!f&&{transition:"width ".concat(p.c.durationValue1)},h&&c&&{width:32}],icon:[y.icon,{opacity:1},c&&{opacity:0,pointerEvents:"none"},!f&&{transition:"opacity ".concat(p.c.durationValue1," 0s")},h&&c&&{opacity:1}],clearButton:[y.clearButton,{display:"flex",flexDirection:"row",alignItems:"stretch",cursor:"pointer",flexBasis:"32px",flexShrink:0,padding:0,margin:"-1px 0px",selectors:{"&:hover .ms-Button":{backgroundColor:x},"&:hover .ms-Button-icon":{color:S},".ms-Button":{borderRadius:P(a)?"1px 0 0 1px":"0 1px 1px 0"},".ms-Button-icon":{color:_}}}],field:[y.field,p.gb,Object(p.W)(C),{backgroundColor:"transparent",border:"none",outline:"none",fontWeight:"inherit",fontFamily:"inherit",fontSize:"inherit",color:v.inputText,flex:"1 1 0px",minWidth:"0px",overflow:"hidden",textOverflow:"ellipsis",paddingBottom:.5,selectors:{"::-ms-clear":{display:"none"}}},l&&{color:v.disabledText}]}}),void 0,{scope:"SearchBox"}),N_=function(e){function t(t){var n=e.call(this,t)||this;n.addItems=function(e){var t=n.props.onItemSelected?n.props.onItemSelected(e):e,o=t,r=t;if(r&&r.then)r.then((function(e){var t=n.state.items.concat(e);n.updateItems(t)}));else{var i=n.state.items.concat(o);n.updateItems(i)}},n.removeItemAt=function(e){var t=n.state.items;if(n._canRemoveItem(t[e])&&e>-1){n.props.onItemsDeleted&&n.props.onItemsDeleted([t[e]]);var o=t.slice(0,e).concat(t.slice(e+1));n.updateItems(o)}},n.removeItem=function(e){var t=n.state.items.indexOf(e);n.removeItemAt(t)},n.replaceItem=function(e,t){var o=n.state.items,r=o.indexOf(e);if(r>-1){var i=o.slice(0,r).concat(t).concat(o.slice(r+1));n.updateItems(i)}},n.removeItems=function(e){var t=n.state.items,o=e.filter((function(e){return n._canRemoveItem(e)})),r=t.filter((function(e){return-1===o.indexOf(e)})),i=o[0],a=t.indexOf(i);n.props.onItemsDeleted&&n.props.onItemsDeleted(o),n.updateItems(r,a)},n.onCopy=function(e){if(n.props.onCopyItems&&n.selection.getSelectedCount()>0){var t=n.selection.getSelection();n.copyItems(t)}},n.renderItems=function(){var e=n.props.removeButtonAriaLabel,t=n.props.onRenderItem;return n.state.items.map((function(o,r){return t({item:o,index:r,key:o.key?o.key:r,selected:n.selection.isIndexSelected(r),onRemoveItem:function(){return n.removeItem(o)},onItemChange:n.onItemChange,removeButtonAriaLabel:e,onCopyItem:function(e){return n.copyItems([e])}})}))},n.onSelectionChanged=function(){n.forceUpdate()},n.onItemChange=function(e,t){var o=n.state.items;if(t>=0){var r=o;r[t]=e,n.updateItems(r)}},Ct(n);var o=t.selectedItems||t.defaultSelectedItems||[];return n.state={items:o},n._defaultSelection=new _h({onSelectionChanged:n.onSelectionChanged}),n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e){return e.selectedItems?{items:e.selectedItems}:null},Object.defineProperty(t.prototype,"items",{get:function(){return this.state.items},enumerable:!1,configurable:!0}),t.prototype.removeSelectedItems=function(){this.state.items.length&&this.selection.getSelectedCount()>0&&this.removeItems(this.selection.getSelection())},t.prototype.updateItems=function(e,t){var n=this;this.props.selectedItems?this.onChange(e):this.setState({items:e},(function(){n._onSelectedItemsUpdated(e,t)}))},t.prototype.hasSelectedItems=function(){return this.selection.getSelectedCount()>0},t.prototype.componentDidUpdate=function(e,t){this.state.items&&this.state.items!==t.items&&this.selection.setItems(this.state.items)},t.prototype.unselectAll=function(){this.selection.setAllSelected(!1)},t.prototype.highlightedItems=function(){return this.selection.getSelection()},t.prototype.componentDidMount=function(){this.selection.setItems(this.state.items)},Object.defineProperty(t.prototype,"selection",{get:function(){var e;return null!==(e=this.props.selection)&&void 0!==e?e:this._defaultSelection},enumerable:!1,configurable:!0}),t.prototype.render=function(){return this.renderItems()},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e)},t.prototype.copyItems=function(e){if(this.props.onCopyItems){var t=this.props.onCopyItems(e),n=document.createElement("input");document.body.appendChild(n);try{if(n.value=t,n.select(),!document.execCommand("copy"))throw new Error}catch(e){}finally{document.body.removeChild(n)}}},t.prototype._onSelectedItemsUpdated=function(e,t){this.onChange(e)},t.prototype._canRemoveItem=function(e){return!this.props.canRemoveItem||this.props.canRemoveItem(e)},t}(d.Component);Object(yv.a)([{rawString:".personaContainer_6625fd9a{border-radius:15px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:"},{theme:"themeLighterAlt",defaultValue:"#eff6fc"},{rawString:';margin:4px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;position:relative}.personaContainer_6625fd9a::-moz-focus-inner{border:0}.personaContainer_6625fd9a{outline:transparent}.personaContainer_6625fd9a{position:relative}.ms-Fabric--isFocusVisible .personaContainer_6625fd9a:focus:after{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;pointer-events:none;border:1px solid '},{theme:"focusBorder",defaultValue:"#605e5c"},{rawString:";border-radius:0}.personaContainer_6625fd9a .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}.personaContainer_6625fd9a .ms-Persona-primaryText.hover_6625fd9a{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a .actionButton_6625fd9a:hover{background:"},{theme:"themeLight",defaultValue:"#c7e0f4"},{rawString:"}.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}.personaContainer_6625fd9a:hover{background:"},{theme:"themeLighter",defaultValue:"#deecf9"},{rawString:"}.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:";font-size:14px;font-weight:400}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a:hover .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{background:"},{theme:"themePrimary",defaultValue:"#0078d4"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .ms-Persona-primaryText{color:HighlightText}}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a{color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon:hover{background:"},{theme:"themeDark",defaultValue:"#005a9e"},{rawString:"}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a .actionButton_6625fd9a .ms-Button-icon{color:HighlightText}}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a.personaContainerIsSelected_6625fd9a{border-color:Highlight;background:Highlight;-ms-high-contrast-adjust:none}}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-primaryText{color:"},{theme:"red",defaultValue:"#e81123"},{rawString:"}.personaContainer_6625fd9a.validationError_6625fd9a .ms-Persona-initials{font-size:20px}@media screen and (-ms-high-contrast:active),screen and (forced-colors:active){.personaContainer_6625fd9a{border:1px solid WindowText}}.personaContainer_6625fd9a .itemContent_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-width:0;max-width:100%}.personaContainer_6625fd9a .removeButton_6625fd9a{border-radius:15px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33px;height:33px;-ms-flex-preferred-size:32px;flex-basis:32px}.personaContainer_6625fd9a .expandButton_6625fd9a{border-radius:15px 0 0 15px;height:33px;width:44px;padding-right:16px;position:inherit;display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:-17px}.personaContainer_6625fd9a .personaWrapper_6625fd9a{position:relative;display:inherit}.personaContainer_6625fd9a .personaWrapper_6625fd9a .ms-Persona-details{padding:0 8px}.personaContainer_6625fd9a .personaDetails_6625fd9a{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}.itemContainer_6625fd9a{display:inline-block;vertical-align:top}"}]);var F_="personaContainer_6625fd9a",B_="hover_6625fd9a",L_="actionButton_6625fd9a",A_="personaContainerIsSelected_6625fd9a",j_="validationError_6625fd9a",H_="itemContent_6625fd9a",z_="removeButton_6625fd9a",W_="expandButton_6625fd9a",V_="personaWrapper_6625fd9a",U_="personaDetails_6625fd9a",K_="itemContainer_6625fd9a",G_=c,q_=function(e){function t(t){var n=e.call(this,t)||this;return n.persona=d.createRef(),Ct(n),n.state={contextualMenuVisible:!1},n}return Object(u.c)(t,e),t.prototype.render=function(){var e,t,n=this.props,o=n.item,r=n.onExpandItem,i=n.onRemoveItem,a=n.removeButtonAriaLabel,s=n.index,l=n.selected,c=bn();return d.createElement("div",{ref:this.persona,className:Me("ms-PickerPersona-container",G_.personaContainer,(e={},e["is-selected "+G_.personaContainerIsSelected]=l,e),(t={},t["is-invalid "+G_.validationError]=!o.isValid,t)),"data-is-focusable":!0,"data-is-sub-focuszone":!0,"data-selection-index":s,role:"listitem","aria-labelledby":"selectedItemPersona-"+c},d.createElement("div",{hidden:!o.canExpand||void 0===r},d.createElement(Ss,{onClick:this._onClickIconButton(r),iconProps:{iconName:"Add",style:{fontSize:"14px"}},className:Me("ms-PickerItem-removeButton",G_.expandButton,G_.actionButton),ariaLabel:a})),d.createElement("div",{className:Me(G_.personaWrapper)},d.createElement("div",{className:Me("ms-PickerItem-content",G_.itemContent),id:"selectedItemPersona-"+c},d.createElement(Nv,Object(u.a)({},o,{onRenderCoin:this.props.renderPersonaCoin,onRenderPrimaryText:this.props.renderPrimaryText,size:Ne.size32}))),d.createElement(Ss,{onClick:this._onClickIconButton(i),iconProps:{iconName:"Cancel",style:{fontSize:"14px"}},className:Me("ms-PickerItem-removeButton",G_.removeButton,G_.actionButton),ariaLabel:a})))},t.prototype._onClickIconButton=function(e){return function(t){t.stopPropagation(),t.preventDefault(),e&&e()}},t}(d.Component),Y_=function(e){function t(t){var n=e.call(this,t)||this;return n.itemElement=d.createRef(),n._onClick=function(e){e.preventDefault(),n.props.beginEditing&&!n.props.item.isValid?n.props.beginEditing(n.props.item):n.setState({contextualMenuVisible:!0})},n._onCloseContextualMenu=function(e){n.setState({contextualMenuVisible:!1})},Ct(n),n.state={contextualMenuVisible:!1},n}return Object(u.c)(t,e),t.prototype.render=function(){return d.createElement("div",{ref:this.itemElement,onContextMenu:this._onClick},this.props.renderedItem,this.state.contextualMenuVisible?d.createElement(ss,{items:this.props.menuItems,shouldFocusOnMount:!0,target:this.itemElement.current,onDismiss:this._onCloseContextualMenu,directionalHint:Eo.bottomLeftEdge}):null)},t}(d.Component),Q_={root:"ms-EditingItem",input:"ms-EditingItem-input"},X_=function(e){var t=Object(p.Y)();if(!t)throw new Error("theme is undefined or null in Editing item getStyles function.");var n=t.semanticColors,o=Object(p.R)(Q_,t);return{root:[o.root,{margin:"4px"}],input:[o.input,{border:"0px",outline:"none",width:"100%",backgroundColor:n.inputBackground,color:n.inputText,selectors:{"::-ms-clear":{display:"none"}}}]}},Z_=function(e){function t(t){var n=e.call(this,t)||this;return n._editingFloatingPicker=d.createRef(),n._renderEditingSuggestions=function(){var e=n.props.onRenderFloatingPicker,t=n.props.floatingPickerProps;return e&&t?d.createElement(e,Object(u.a)({componentRef:n._editingFloatingPicker,onChange:n._onSuggestionSelected,inputElement:n._editingInput,selectedItems:[]},t)):d.createElement(d.Fragment,null)},n._resolveInputRef=function(e){n._editingInput=e,n.forceUpdate((function(){n._editingInput.focus()}))},n._onInputClick=function(){n._editingFloatingPicker.current&&n._editingFloatingPicker.current.showPicker(!0)},n._onInputBlur=function(e){if(n._editingFloatingPicker.current&&null!==e.relatedTarget){var t=e.relatedTarget;-1===t.className.indexOf("ms-Suggestions-itemButton")&&-1===t.className.indexOf("ms-Suggestions-sectionButton")&&n._editingFloatingPicker.current.forceResolveSuggestion()}},n._onInputChange=function(e){var t=e.target.value;""===t?n.props.onRemoveItem&&n.props.onRemoveItem():n._editingFloatingPicker.current&&n._editingFloatingPicker.current.onQueryStringChanged(t)},n._onSuggestionSelected=function(e){n.props.onEditingComplete(n.props.item,e)},Ct(n),n.state={contextualMenuVisible:!1},n}return Object(u.c)(t,e),t.prototype.componentDidMount=function(){var e=(0,this.props.getEditingItemText)(this.props.item);this._editingFloatingPicker.current&&this._editingFloatingPicker.current.onQueryStringChanged(e),this._editingInput.value=e,this._editingInput.focus()},t.prototype.render=function(){var e=bn(),t=fe(this.props,$),n=L()(X_);return d.createElement("div",{"aria-labelledby":"editingItemPersona-"+e,className:n.root},d.createElement("input",Object(u.a)({autoCapitalize:"off",autoComplete:"off"},t,{ref:this._resolveInputRef,onChange:this._onInputChange,onKeyDown:this._onInputKeyDown,onBlur:this._onInputBlur,onClick:this._onInputClick,"data-lpignore":!0,className:n.input,id:e})),this._renderEditingSuggestions())},t.prototype._onInputKeyDown=function(e){e.which!==E.backspace&&e.which!==E.del||e.stopPropagation()},t}(d.Component),$_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(t,e),t}(N_),J_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderItems=function(){return t.state.items.map((function(e,n){return t._renderItem(e,n)}))},t._beginEditing=function(e){e.isEditing=!0,t.forceUpdate()},t._completeEditing=function(e,n){e.isEditing=!1,t.replaceItem(e,n)},t}return Object(u.c)(t,e),t.prototype._renderItem=function(e,t){var n=this,o=this.props.removeButtonAriaLabel,r=this.props.onExpandGroup,i={item:e,index:t,key:e.key?e.key:t,selected:this.selection.isIndexSelected(t),onRemoveItem:function(){return n.removeItem(e)},onItemChange:this.onItemChange,removeButtonAriaLabel:o,onCopyItem:function(e){return n.copyItems([e])},onExpandItem:r?function(){return r(e)}:void 0,menuItems:this._createMenuItems(e)},a=i.menuItems.length>0;if(e.isEditing&&a)return d.createElement(Z_,Object(u.a)({},i,{onRenderFloatingPicker:this.props.onRenderFloatingPicker,floatingPickerProps:this.props.floatingPickerProps,onEditingComplete:this._completeEditing,getEditingItemText:this.props.getEditingItemText}));var s=(0,this.props.onRenderItem)(i);return a?d.createElement(Y_,{key:i.key,renderedItem:s,beginEditing:this._beginEditing,menuItems:this._createMenuItems(i.item),item:i.item}):s},t.prototype._createMenuItems=function(e){var t=this,n=[];return this.props.editMenuItemText&&this.props.getEditingItemText&&n.push({key:"Edit",text:this.props.editMenuItemText,onClick:function(e,n){t._beginEditing(n.data)},data:e}),this.props.removeMenuItemText&&n.push({key:"Remove",text:this.props.removeMenuItemText,onClick:function(e,n){t.removeItem(n.data)},data:e}),this.props.copyMenuItemText&&n.push({key:"Copy",text:this.props.copyMenuItemText,onClick:function(e,n){t.props.onCopyItems&&t.copyItems([n.data])},data:e}),n},t.defaultProps={onRenderItem:function(e){return d.createElement(q_,Object(u.a)({},e))}},t}($_),eS=L(),tS=d.forwardRef((function(e,t){var n=e.styles,o=e.theme,r=e.className,i=e.vertical,a=e.alignContent,s=e.children,l=eS(n,{theme:o,className:r,alignContent:a,vertical:i});return d.createElement("div",{className:l.root,ref:t},d.createElement("div",{className:l.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},s))})),nS=k(tS,(function(e){var t,n,o=e.theme,r=e.alignContent,i=e.vertical,a=e.className,s="start"===r,l="center"===r,c="end"===r;return{root:[o.fonts.medium,{position:"relative"},r&&{textAlign:r},!r&&{textAlign:"center"},i&&(l||!r)&&{verticalAlign:"middle"},i&&s&&{verticalAlign:"top"},i&&c&&{verticalAlign:"bottom"},i&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":(t={backgroundColor:o.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1},t[p.m]={backgroundColor:"WindowText"},t)}},!i&&{padding:"4px 0",selectors:{":before":(n={backgroundColor:o.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"},n[p.m]={backgroundColor:"WindowText"},n)}},a],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:o.semanticColors.bodyText,background:o.semanticColors.bodyBackground},i&&{padding:"12px 0"}]}}),void 0,{scope:"Separator"});nS.displayName="Separator";var oS,rS,iS={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},aS=Object(f.c)((function(){return Object(p.bb)({"0%":{transform:"translateX(-".concat("100%",")")},"100%":{transform:"translateX(".concat("100%",")")}})})),sS=Object(f.c)((function(){return Object(p.bb)({"100%":{transform:"translateX(-".concat("100%",")")},"0%":{transform:"translateX(".concat("100%",")")}})}));!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(oS||(oS={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(rS||(rS={}));var lS=L(),cS=function(e){var t=e.height,n=e.styles,o=e.width,r=void 0===o?"100%":o,i=e.borderStyle,a=e.theme,s=lS(n,{theme:a,height:t,borderStyle:i});return d.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root},d.createElement("svg",{width:"2",height:"2",className:s.topLeftCorner},d.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),d.createElement("svg",{width:"2",height:"2",className:s.topRightCorner},d.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),d.createElement("svg",{width:"2",height:"2",className:s.bottomRightCorner},d.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),d.createElement("svg",{width:"2",height:"2",className:s.bottomLeftCorner},d.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))},uS={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"};var dS=k(cS,(function(e){var t,n=e.height,o=e.borderStyle,r=e.theme,i=r.semanticColors,a=Object(p.R)(uS,r),s=o||{},l={position:"absolute",fill:i.bodyBackground};return{root:[a.root,r.fonts.medium,{height:"".concat(n,"px"),boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,borderWidth:0,selectors:(t={},t[p.m]={borderColor:"Window",selectors:{"> *":{fill:"Window"}}},t)},s],topLeftCorner:[a.topLeftCorner,{top:"0",left:"0"},l],topRightCorner:[a.topRightCorner,{top:"0",right:"0"},l],bottomRightCorner:[a.bottomRightCorner,{bottom:"0",right:"0"},l],bottomLeftCorner:[a.bottomLeftCorner,{bottom:"0",left:"0"},l]}}),void 0,{scope:"ShimmerLine"}),pS=L(),fS=function(e){var t=e.height,n=e.styles,o=e.width,r=void 0===o?"10px":o,i=e.borderStyle,a=e.theme,s=pS(n,{theme:a,height:t,borderStyle:i});return d.createElement("div",{style:{width:r,minWidth:"number"==typeof r?"".concat(r,"px"):"auto"},className:s.root})},hS={root:"ms-ShimmerGap-root"};var mS=k(fS,(function(e){var t,n=e.height,o=e.borderStyle,r=e.theme,i=r.semanticColors,a=o||{};return{root:[Object(p.R)(hS,r).root,r.fonts.medium,{backgroundColor:i.bodyBackground,height:"".concat(n,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,selectors:(t={},t[p.m]={backgroundColor:"Window",borderColor:"Window"},t)},a]}}),void 0,{scope:"ShimmerGap"}),gS={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"};var vS=L(),bS=function(e){var t=e.height,n=e.styles,o=e.borderStyle,r=e.theme,i=vS(n,{theme:r,height:t,borderStyle:o});return d.createElement("div",{className:i.root},d.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},d.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"})))},yS=k(bS,(function(e){var t,n,o=e.height,r=e.borderStyle,i=e.theme,a=i.semanticColors,s=Object(p.R)(gS,i),l=r||{};return{root:[s.root,i.fonts.medium,{width:"".concat(o,"px"),height:"".concat(o,"px"),minWidth:"".concat(o,"px"),boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[p.m]={borderColor:"Window"},t)},l],svg:[s.svg,{display:"block",fill:a.bodyBackground,selectors:(n={},n[p.m]={fill:"Window"},n)}]}}),void 0,{scope:"ShimmerCircle"}),CS=L(),_S=function(e){var t=e.styles,n=e.width,o=void 0===n?"auto":n,r=e.shimmerElements,i=e.rowHeight,a=void 0===i?function(e){return e.map((function(e){switch(e.type){case oS.circle:e.height||(e.height=rS.circle);break;case oS.line:e.height||(e.height=rS.line);break;case oS.gap:e.height||(e.height=rS.gap)}return e})).reduce((function(e,t){return t.height&&t.height>e?t.height:e}),0)}(r||[]):i,s=e.flexWrap,l=void 0!==s&&s,c=e.theme,p=e.backgroundColor,f=CS(t,{theme:c,flexWrap:l});return d.createElement("div",{style:{width:o},className:f.root},function(e,t,n){return e?e.map((function(e,o){var r=e.type,i=Object(u.d)(e,["type"]),a=i.verticalAlign,s=i.height,l=SS(a,r,s,t,n);switch(e.type){case oS.circle:return d.createElement(yS,Object(u.a)({key:o},i,{styles:l}));case oS.gap:return d.createElement(mS,Object(u.a)({key:o},i,{styles:l}));case oS.line:return d.createElement(dS,Object(u.a)({key:o},i,{styles:l}))}})):d.createElement(dS,{height:rS.line})}(r,p,a))};var SS=Object(f.c)((function(e,t,n,o,r){var i,a=r&&n?r-n:0;if(e&&"center"!==e?e&&"top"===e?i={borderBottomWidth:"".concat(a,"px"),borderTopWidth:"0px"}:e&&"bottom"===e&&(i={borderBottomWidth:"0px",borderTopWidth:"".concat(a,"px")}):i={borderBottomWidth:"".concat(a?Math.floor(a/2):0,"px"),borderTopWidth:"".concat(a?Math.ceil(a/2):0,"px")},o)switch(t){case oS.circle:return{root:Object(u.a)(Object(u.a)({},i),{borderColor:o}),svg:{fill:o}};case oS.gap:return{root:Object(u.a)(Object(u.a)({},i),{borderColor:o,backgroundColor:o})};case oS.line:return{root:Object(u.a)(Object(u.a)({},i),{borderColor:o}),topLeftCorner:{fill:o},topRightCorner:{fill:o},bottomLeftCorner:{fill:o},bottomRightCorner:{fill:o}}}return{root:i}}));var kS={root:"ms-ShimmerElementsGroup-root"};var xS=k(_S,(function(e){var t=e.flexWrap,n=e.theme;return{root:[Object(p.R)(kS,n).root,n.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}}),void 0,{scope:"ShimmerElementsGroup"}),wS=L(),IS=d.forwardRef((function(e,t){var n=e.styles,o=e.shimmerElements,r=e.children,i=e.width,a=e.className,s=e.customElementsGroup,l=e.theme,c=e.ariaLabel,p=e.shimmerColors,f=e.isDataLoaded,h=void 0!==f&&f,m=e.improveCSSPerformance,g=fe(e,pe),v=wS(n,{theme:l,isDataLoaded:h,className:a,transitionAnimationInterval:200,shimmerColor:p&&p.shimmer,shimmerWaveColor:p&&p.shimmerWave,improveCSSPerformance:m||!s}),b=jr({lastTimeoutId:0}),y=Hu(),C=y.setTimeout,_=y.clearTimeout,S=d.useState(h),k=S[0],x=S[1],w={width:i||"100%"};return d.useEffect((function(){if(h!==k){if(h)return b.lastTimeoutId=C((function(){x(!0)}),200),function(){return _(b.lastTimeoutId)};x(!1)}}),[h]),d.createElement("div",Object(u.a)({},g,{className:v.root,ref:t}),!k&&d.createElement("div",{style:w,className:v.shimmerWrapper},d.createElement("div",{className:v.shimmerGradient}),s||d.createElement(xS,{shimmerElements:o,backgroundColor:p&&p.background})),r&&d.createElement("div",{className:v.dataWrapper},r),c&&!h&&d.createElement("div",{role:"status","aria-live":"polite"},d.createElement(Tt,null,d.createElement("div",{className:v.screenReaderText},c))))}));IS.displayName="Shimmer";var ES=k(IS,(function(e){var t,n=e.isDataLoaded,o=e.className,r=e.theme,i=e.transitionAnimationInterval,a=e.shimmerColor,s=e.shimmerWaveColor,l=e.improveCSSPerformance,c=r.semanticColors,d=Object(p.R)(iS,r),f=P(r);return{root:[d.root,r.fonts.medium,{position:"relative",height:"auto"},o],shimmerWrapper:[d.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:a||c.disabledBackground,transition:"opacity ".concat(i,"ms"),selectors:(t={},t[p.m]=Object(u.a)({background:"WindowText\n linear-gradient(\n to right,\n transparent 0%,\n Window 50%,\n transparent 100%)\n 0 0 / 90% 100%\n no-repeat"},Object(p.S)()),t)},n&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"},l?{selectors:{"> div:last-child":{transform:"translateZ(0)"}}}:{selectors:{"> *":{transform:"translateZ(0)"}}}],shimmerGradient:[d.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:"".concat(a||c.disabledBackground,"\n linear-gradient(\n to right,\n ").concat(a||c.disabledBackground," 0%,\n ").concat(s||c.bodyDivider," 50%,\n ").concat(a||c.disabledBackground," 100%)\n 0 0 / 90% 100%\n no-repeat"),transform:"translateX(-".concat("100%",")"),animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:f?sS():aS()}],dataWrapper:[d.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity ".concat(i,"ms")},n&&{opacity:"1",position:"static"}],screenReaderText:p.ab}}),void 0,{scope:"Shimmer"}),OS=L(),TS=function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderShimmerPlaceholder=function(e,t){var o=n.props.onRenderCustomPlaceholder,r=o?o(t,e,n._renderDefaultShimmerPlaceholder):n._renderDefaultShimmerPlaceholder(t);return d.createElement(ES,{customElementsGroup:r})},n._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,n=e.compact,o=e.selectionMode,r=e.checkboxVisibility,i=e.cellStyleProps,a=void 0===i?Tf:i,s=Df.rowHeight,l=Df.compactRowHeight,c=n?l:s+1,u=[];return o!==Qf.none&&r!==xf.hidden&&u.push(d.createElement(xS,{key:"checkboxGap",shimmerElements:[{type:oS.gap,width:"40px",height:c}]})),t.forEach((function(e,t){var n=[],o=a.cellLeftPadding+a.cellRightPadding+e.calculatedWidth+(e.isPadded?a.cellExtraRightPadding:0);n.push({type:oS.gap,width:a.cellLeftPadding,height:c}),e.isIconOnly?(n.push({type:oS.line,width:e.calculatedWidth,height:e.calculatedWidth}),n.push({type:oS.gap,width:a.cellRightPadding,height:c})):(n.push({type:oS.line,width:.95*e.calculatedWidth,height:7}),n.push({type:oS.gap,width:a.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?a.cellExtraRightPadding:0),height:c})),u.push(d.createElement(xS,{key:t,width:"".concat(o,"px"),shimmerElements:n}))})),u.push(d.createElement(xS,{key:"endGap",width:"100%",shimmerElements:[{type:oS.gap,width:"100%",height:c}]})),d.createElement("div",{style:{display:"flex"}},u)},n._shimmerItems=t.shimmerLines?new Array(t.shimmerLines):new Array(10),n}return Object(u.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.detailsListStyles,n=e.enableShimmer,o=e.items,r=e.listProps,i=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),a=(e.shimmerLines,e.styles),s=e.theme,l=e.ariaLabelForGrid,c=e.ariaLabelForShimmer,p=Object(u.d)(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),f=r&&r.className;this._classNames=OS(a,{theme:s});var h=Object(u.a)(Object(u.a)({},r),{className:n&&!i?Me(this._classNames.root,f):f});return d.createElement(pm,Object(u.a)({},p,{styles:t,items:n?this._shimmerItems:o,isPlaceholderData:n,ariaLabelForGrid:n&&c||l,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:h}))},t}(d.Component),DS=function(e){var t=e.theme.palette;return{root:{position:"relative",selectors:{":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,backgroundImage:"linear-gradient(to bottom, transparent 30%, ".concat(t.whiteTranslucent40," 65%,").concat(t.white," 100%)")}}}}},PS=k(TS,DS,void 0,{scope:"ShimmeredDetailsList"}),RS=L(),MS=function(e){return function(t){var n;return(n={})[e]="".concat(t,"%"),n}},NS=function(e,t,n){return n===t?0:(e-t)/(n-t)*100},FS=function(e,t){var n=e.step,o=void 0===n?1:n,r=e.className,i=e.disabled,a=void 0!==i&&i,s=e.label,l=e.max,c=void 0===l?10:l,p=e.min,f=void 0===p?0:p,h=e.showValue,m=void 0===h||h,g=e.buttonProps,v=void 0===g?{}:g,b=e.vertical,y=void 0!==b&&b,C=e.snapToStep,_=e.valueFormat,S=e.styles,k=e.theme,x=e.originFromZero,w=e["aria-labelledby"],I=e.ariaLabel,O=void 0===I?e["aria-label"]:I,T=e.ranged,D=e.onChange,R=e.onChanged,N=d.useRef([]),F=Hu(),B=F.setTimeout,L=F.clearTimeout,A=d.useRef(null),j=Uc(e.value,e.defaultValue,(function(e,t){return null==D?void 0:D(t,T?[q.latestLowerValue,t]:void 0,e)})),H=j[0],z=j[1],W=Uc(e.lowerValue,e.defaultLowerValue,(function(e,t){return null==D?void 0:D(q.latestValue,[t,q.latestValue],e)})),V=W[0],U=W[1],K=Math.max(f,Math.min(c,H||0)),G=Math.max(f,Math.min(K,V||0)),q=jr({onKeyDownTimer:-1,isAdjustingLowerValue:!1,latestValue:K,latestLowerValue:G});q.latestValue=K,q.latestLowerValue=G;var Y=wa("Slider",e.id||(null==v?void 0:v.id)),Q=RS(S,{className:r,disabled:a,vertical:y,showTransitions:!C&&!q.isBetweenSteps,showValue:m,ranged:T,theme:k}),X=(c-f)/o,Z=function(){L(q.onKeyDownTimer),q.onKeyDownTimer=-1},$=function(e){Z(),R&&(q.onKeyDownTimer=B((function(){R(e,q.latestValue,T?[q.latestLowerValue,q.latestValue]:void 0)}),1e3))},J=function(t){var n=e.ariaValueText;if(void 0!==t)return n?n(t):t.toString()},ee=function(e,t,n){t=Math.min(c,Math.max(f,t)),n=void 0!==n?Math.min(c,Math.max(f,n)):void 0;var r=0;if(isFinite(o))for(;Math.round(o*Math.pow(10,r))/Math.pow(10,r)!==o;)r++;var i=parseFloat(t.toFixed(r));q.isBetweenSteps=void 0!==n&&n!==i,T?q.isAdjustingLowerValue&&(x?i<=0:i<=q.latestValue)?U(i,e):!q.isAdjustingLowerValue&&(x?i>=0:i>=q.latestLowerValue)&&z(i,e):z(i,e)},te=function(e,t){var n=0;switch(e.type){case"mousedown":case"mousemove":n=t?e.clientY:e.clientX;break;case"touchstart":case"touchmove":n=t?e.touches[0].clientY:e.touches[0].clientX}return n},ne=function(t){var n,o=A.current.getBoundingClientRect(),r=(e.vertical?o.height:o.width)/X;if(e.vertical){var i=te(t,e.vertical);n=(o.bottom-i)/r}else{var a=te(t,e.vertical);n=(P(e.theme)?o.right-a:a-o.left)/r}return n},oe=function(e,t){var n=ne(e),r=f+o*n,i=f+o*Math.round(n);ee(e,i,r),t||(e.preventDefault(),e.stopPropagation())},re=function(e){if(T){var t=ne(e),n=f+o*t;q.isAdjustingLowerValue=n<=q.latestLowerValue||n-q.latestLowerValue<=q.latestValue-n}"mousedown"===e.type?N.current.push(Ho(window,"mousemove",oe,!0),Ho(window,"mouseup",ie,!0)):"touchstart"===e.type&&N.current.push(Ho(window,"touchmove",oe,!0),Ho(window,"touchend",ie,!0)),oe(e,!0)},ie=function(e){q.isBetweenSteps=void 0,null==R||R(e,q.latestValue,T?[q.latestLowerValue,q.latestValue]:void 0),ae()},ae=d.useCallback((function(){N.current.forEach((function(e){return e()})),N.current=[]}),[]);d.useEffect((function(){return ae}),[ae]);var se=d.useRef(null),le=d.useRef(null),ce=d.useRef(null);!function(e,t,n,o){d.useImperativeHandle(e.componentRef,(function(){return{get value(){return n},get range(){return o},focus:function(){var e;null===(e=t.current)||void 0===e||e.focus()}}}),[o,t,n])}(e,ce,K,T?[G,K]:void 0);var ue=MS(y?"bottom":P(e.theme)?"right":"left"),de=MS(y?"height":"width"),he=x?0:f,me=NS(K,f,c),ge=NS(G,f,c),ve=NS(he,f,c),be=T?me-ge:Math.abs(ve-me),ye=Math.min(100-me,100-ve),Ce=T?ge:Math.min(me,ve),_e={className:Q.root,ref:t},Se={className:Q.titleLabel,children:s,disabled:a,htmlFor:O?void 0:Y},ke=m?{className:Q.valueLabel,children:_?_(K):K,disabled:a,htmlFor:a?Y:void 0}:void 0,xe=T&&m?{className:Q.valueLabel,children:_?_(G):G,disabled:a}:void 0,we=x?{className:Q.zeroTick,style:ue(ve)}:void 0,Ie={className:Me(Q.lineContainer,Q.activeSection),style:de(be)},Ee={className:Me(Q.lineContainer,Q.inactiveSection),style:de(ye)},Oe={className:Me(Q.lineContainer,Q.inactiveSection),style:de(Ce)},Te=Object(u.a)({"aria-disabled":a,role:"slider",tabIndex:a?void 0:0},{"data-is-focusable":!a}),De=Object(u.a)(Object(u.a)(Object(u.a)({id:Y,className:Me(Q.slideBox,v.className),ref:ce},!a&&{onMouseDown:re,onTouchStart:re,onKeyDown:function(t){var n=q.isAdjustingLowerValue?q.latestLowerValue:q.latestValue,r=0;switch(t.which){case M(E.left,e.theme):case E.down:r=-o,Z(),$(t);break;case M(E.right,e.theme):case E.up:r=o,Z(),$(t);break;case E.home:n=f,Z(),$(t);break;case E.end:n=c,Z(),$(t);break;default:return}ee(t,n+r),t.preventDefault(),t.stopPropagation()}}),v&&fe(v,pe,["id","className"])),!T&&Object(u.a)(Object(u.a)({},Te),{"aria-valuemin":f,"aria-valuemax":c,"aria-valuenow":K,"aria-valuetext":J(K),"aria-label":O||s,"aria-labelledby":w})),Pe=a?{}:{onFocus:function(e){q.isAdjustingLowerValue=e.target===se.current}},Re=Object(u.a)({ref:le,className:Q.thumb,style:ue(me)},T&&Object(u.a)(Object(u.a)(Object(u.a)({},Te),Pe),{id:"max-".concat(Y),"aria-valuemin":G,"aria-valuemax":c,"aria-valuenow":K,"aria-valuetext":J(K),"aria-label":"max ".concat(O||s)})),Ne=T?Object(u.a)(Object(u.a)(Object(u.a)({ref:se,className:Q.thumb,style:ue(ge)},Te),Pe),{id:"min-".concat(Y),"aria-valuemin":f,"aria-valuemax":K,"aria-valuenow":G,"aria-valuetext":J(G),"aria-label":"min ".concat(O||s)}):void 0;return{root:_e,label:Se,sliderBox:De,container:{className:Q.container},valueLabel:ke,lowerValueLabel:xe,thumb:Re,lowerValueThumb:Ne,zeroTick:we,activeTrack:Ie,topInactiveTrack:Ee,bottomInactiveTrack:Oe,sliderLine:{ref:A,className:Q.line}}},BS=d.forwardRef((function(e,t){var n=FS(e,t);return d.createElement("div",Object(u.a)({},n.root),n&&d.createElement(pu,Object(u.a)({},n.label)),d.createElement("div",Object(u.a)({},n.container),e.ranged&&(e.vertical?n.valueLabel&&d.createElement(pu,Object(u.a)({},n.valueLabel)):n.lowerValueLabel&&d.createElement(pu,Object(u.a)({},n.lowerValueLabel))),d.createElement("div",Object(u.a)({},n.sliderBox),d.createElement("div",Object(u.a)({},n.sliderLine),e.ranged&&d.createElement("span",Object(u.a)({},n.lowerValueThumb)),d.createElement("span",Object(u.a)({},n.thumb)),n.zeroTick&&d.createElement("span",Object(u.a)({},n.zeroTick)),d.createElement("span",Object(u.a)({},n.bottomInactiveTrack)),d.createElement("span",Object(u.a)({},n.activeTrack)),d.createElement("span",Object(u.a)({},n.topInactiveTrack)))),e.ranged&&e.vertical?n.lowerValueLabel&&d.createElement(pu,Object(u.a)({},n.lowerValueLabel)):n.valueLabel&&d.createElement(pu,Object(u.a)({},n.valueLabel))),d.createElement(Jn,null))}));BS.displayName="SliderBase";var LS,AS={root:"ms-Slider",enabled:"ms-Slider-enabled",disabled:"ms-Slider-disabled",row:"ms-Slider-row",column:"ms-Slider-column",container:"ms-Slider-container",slideBox:"ms-Slider-slideBox",line:"ms-Slider-line",thumb:"ms-Slider-thumb",activeSection:"ms-Slider-active",inactiveSection:"ms-Slider-inactive",valueLabel:"ms-Slider-value",showValue:"ms-Slider-showValue",showTransitions:"ms-Slider-showTransitions",zeroTick:"ms-Slider-zeroTick"},jS=k(BS,(function(e){var t,n,o,r,i,a,s,l,c,d,f,h,m,g=e.className,v=e.titleLabelClassName,b=e.theme,y=e.vertical,C=e.disabled,_=e.showTransitions,S=e.showValue,k=e.ranged,x=b.semanticColors,w=b.palette,I=Object(p.R)(AS,b),E=x.inputBackgroundCheckedHovered,O=x.inputBackgroundChecked,T=w.neutralSecondaryAlt,D=w.neutralPrimary,R=w.neutralSecondaryAlt,M=x.disabledText,N=x.disabledBackground,F=x.inputBackground,B=x.smallInputBorder,L=x.disabledBorder,A=!C&&{backgroundColor:E,selectors:(t={},t[p.m]={backgroundColor:"Highlight"},t)},j=!C&&{backgroundColor:T,selectors:(n={},n[p.m]={borderColor:"Highlight"},n)},H=!C&&{backgroundColor:O,selectors:(o={},o[p.m]={backgroundColor:"Highlight"},o)},z=!C&&{border:"2px solid ".concat(E),selectors:(r={},r[p.m]={borderColor:"Highlight"},r)},W=!e.disabled&&{backgroundColor:x.inputPlaceholderBackgroundChecked,selectors:(i={},i[p.m]={backgroundColor:"Highlight"},i)};return{root:Object(u.e)(Object(u.e)(Object(u.e)(Object(u.e)(Object(u.e)([I.root,b.fonts.medium,{userSelect:"none"},y&&{marginRight:8}],[C?void 0:I.enabled],!1),[C?I.disabled:void 0],!1),[y?void 0:I.row],!1),[y?I.column:void 0],!1),[g],!1),titleLabel:[{padding:0},v],container:[I.container,{display:"flex",flexWrap:"nowrap",alignItems:"center"},y&&{flexDirection:"column",height:"100%",textAlign:"center",margin:"8px 0"}],slideBox:Object(u.e)(Object(u.e)([I.slideBox,!k&&Object(p.Q)(b),{background:"transparent",border:"none",flexGrow:1,lineHeight:28,display:"flex",alignItems:"center",selectors:(a={},a[":active .".concat(I.activeSection)]=A,a[":hover .".concat(I.activeSection)]=H,a[":active .".concat(I.inactiveSection)]=j,a[":hover .".concat(I.inactiveSection)]=j,a[":active .".concat(I.thumb)]=z,a[":hover .".concat(I.thumb)]=z,a[":active .".concat(I.zeroTick)]=W,a[":hover .".concat(I.zeroTick)]=W,a[p.m]={forcedColorAdjust:"none"},a)},y?{height:"100%",width:28,padding:"8px 0"}:{height:28,width:"auto",padding:"0 8px"}],[S?I.showValue:void 0],!1),[_?I.showTransitions:void 0],!1),thumb:[I.thumb,k&&Object(p.Q)(b,{inset:-4}),{borderWidth:2,borderStyle:"solid",borderColor:B,borderRadius:10,boxSizing:"border-box",background:F,display:"block",width:16,height:16,position:"absolute"},y?{left:-6,margin:"0 auto",transform:"translateY(8px)"}:{top:-6,transform:P(b)?"translateX(50%)":"translateX(-50%)"},_&&{transition:"left ".concat(p.c.durationValue3," ").concat(p.c.easeFunction1)},C&&{borderColor:L,selectors:(s={},s[p.m]={borderColor:"GrayText"},s)}],line:[I.line,{display:"flex",position:"relative"},y?{height:"100%",width:4,margin:"0 auto",flexDirection:"column-reverse"}:{width:"100%"}],lineContainer:[{borderRadius:4,boxSizing:"border-box"},y?{width:4,height:"100%"}:{height:4,width:"100%"}],activeSection:[I.activeSection,{background:D,selectors:(l={},l[p.m]={backgroundColor:"WindowText"},l)},_&&{transition:"width ".concat(p.c.durationValue3," ").concat(p.c.easeFunction1)},C&&{background:M,selectors:(c={},c[p.m]={backgroundColor:"GrayText",borderColor:"GrayText"},c)}],inactiveSection:[I.inactiveSection,{background:R,selectors:(d={},d[p.m]={border:"1px solid WindowText"},d)},_&&{transition:"width ".concat(p.c.durationValue3," ").concat(p.c.easeFunction1)},C&&{background:N,selectors:(f={},f[p.m]={borderColor:"GrayText"},f)}],zeroTick:[I.zeroTick,{position:"absolute",background:x.disabledBorder,selectors:(h={},h[p.m]={backgroundColor:"WindowText"},h)},e.disabled&&{background:x.disabledBackground,selectors:(m={},m[p.m]={backgroundColor:"GrayText"},m)},e.vertical?{width:"16px",height:"1px",transform:P(b)?"translateX(6px)":"translateX(-6px)"}:{width:"1px",height:"16px",transform:"translateY(-6px)"}],valueLabel:[I.valueLabel,{flexShrink:1,width:30,lineHeight:"1"},y?{margin:"0 auto",whiteSpace:"nowrap",width:40}:{margin:"0 8px",whiteSpace:"nowrap",width:40}]}}),void 0,{scope:"Slider"});!function(e){e[e.down=-1]="down",e[e.notSpinning=0]="notSpinning",e[e.up=1]="up"}(LS||(LS={}));var HS=Object(f.c)((function(e){var t,n=e.semanticColors,o=n.disabledText,r=n.disabledBackground;return{backgroundColor:r,pointerEvents:"none",cursor:"default",color:o,selectors:(t={":after":{borderColor:r}},t[p.m]={color:"GrayText"},t)}})),zS=Object(f.c)((function(e,t,n){var o,r,i,a=e.palette,s=e.semanticColors,l=e.effects,c=a.neutralSecondary,u=s.buttonText,d=s.buttonText,f=s.buttonBackgroundHovered,h=s.buttonBackgroundPressed,m={root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:c,selectors:{"&.ms-DownButton":{borderRadius:"0 0 ".concat(l.roundedCorner2," 0")},"&.ms-UpButton":{borderRadius:"0 ".concat(l.roundedCorner2," 0 0")}}},rootHovered:{backgroundColor:f,color:u},rootChecked:{backgroundColor:h,color:d,selectors:(o={},o[p.m]={backgroundColor:"Highlight",color:"HighlightText"},o)},rootPressed:{backgroundColor:h,color:d,selectors:(r={},r[p.m]={backgroundColor:"Highlight",color:"HighlightText"},r)},rootDisabled:{opacity:.5,selectors:(i={},i[p.m]={color:"GrayText",opacity:1},i)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}};return Object(p.I)(m,{},n)})),WS=L(),VS={disabled:!1,label:"",step:1,labelPosition:No.start,incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},US=function(){},KS=function(e,t){var n=t.min,o=t.max;return"number"==typeof o&&(e=Math.min(e,o)),"number"==typeof n&&(e=Math.max(e,n)),e},GS=d.forwardRef((function(e,t){var n=H(VS,e),o=n.disabled,r=n.label,i=n.min,a=n.max,s=n.step,l=n.defaultValue,c=n.value,p=n.precision,f=n.labelPosition,h=n.iconProps,m=n.incrementButtonIcon,g=n.incrementButtonAriaLabel,v=n.decrementButtonIcon,b=n.decrementButtonAriaLabel,y=n.ariaLabel,C=n.ariaDescribedBy,_=n.upArrowButtonStyles,S=n.downArrowButtonStyles,k=n.theme,x=n.ariaPositionInSet,w=n.ariaSetSize,I=n.ariaValueNow,O=n.ariaValueText,T=n.className,D=n.inputProps,P=n.onDecrement,R=n.onIncrement,M=n.iconButtonProps,N=n.onValidate,F=n.onChange,B=n.styles,L=d.useRef(null),A=wa("input"),j=wa("Label"),z=d.useState(!1),W=z[0],V=z[1],U=d.useState(LS.notSpinning),K=U[0],G=U[1],q=Dr(),Y=d.useMemo((function(){return null!=p?p:Math.max(Cy(s),0)}),[p,s]),Q=Uc(c,null!=l?l:String(i||0),F),X=Q[0],Z=Q[1],$=d.useState(),J=$[0],ee=$[1],te=d.useRef({stepTimeoutHandle:-1,latestValue:void 0,latestIntermediateValue:void 0}).current;te.latestValue=X,te.latestIntermediateValue=J;var ne=ua(c);d.useEffect((function(){c!==ne&&void 0!==J&&ee(void 0)}),[c,ne,J]);var oe=WS(B,{theme:k,disabled:o,isFocused:W,keyboardSpinDirection:K,labelPosition:f,className:T}),re=fe(n,pe,["onBlur","onFocus","className","onChange"]),ie=d.useCallback((function(e){var t=te.latestIntermediateValue;if(void 0!==t&&t!==te.latestValue){var n=void 0;N?n=N(t,e):t&&t.trim().length&&!isNaN(Number(t))&&(n=String(KS(Number(t),{min:i,max:a}))),void 0!==n&&n!==te.latestValue&&Z(n,e)}ee(void 0)}),[te,a,i,N,Z]),ae=d.useCallback((function(){te.stepTimeoutHandle>=0&&(q.clearTimeout(te.stepTimeoutHandle),te.stepTimeoutHandle=-1),(te.spinningByMouse||K!==LS.notSpinning)&&(te.spinningByMouse=!1,G(LS.notSpinning))}),[te,K,q]),se=d.useCallback((function(e,t){if(t.persist(),void 0!==te.latestIntermediateValue)return"keydown"!==t.type&&"mousedown"!==t.type||ie(t),void q.requestAnimationFrame((function(){se(e,t)}));var n=e(te.latestValue||"",t);void 0!==n&&n!==te.latestValue&&Z(n,t);var o=te.spinningByMouse;te.spinningByMouse="mousedown"===t.type,te.spinningByMouse&&(te.stepTimeoutHandle=q.setTimeout((function(){se(e,t)}),o?75:400))}),[te,q,ie,Z]),le=d.useCallback((function(e){if(R)return R(e);var t=KS(Number(e)+Number(s),{max:a});return t=_y(t,Y),String(t)}),[Y,a,R,s]),ce=d.useCallback((function(e){if(P)return P(e);var t=KS(Number(e)-Number(s),{min:i});return t=_y(t,Y),String(t)}),[Y,i,P,s]),ue=d.useCallback((function(e){(o||e.which===E.up||e.which===E.down)&&ae()}),[o,ae]),de=d.useCallback((function(e){se(le,e)}),[le,se]),he=d.useCallback((function(e){se(ce,e)}),[ce,se]);!function(e,t,n){d.useImperativeHandle(e.componentRef,(function(){return{get value(){return n},focus:function(){t.current&&t.current.focus()}}}),[t,n])}(n,L,X),qS(n);var me=!!X&&!isNaN(Number(X)),ge=(h||r)&&d.createElement("div",{className:oe.labelWrapper},h&&d.createElement(Ge,Object(u.a)({},h,{className:oe.icon,"aria-hidden":"true"})),r&&d.createElement(pu,{id:j,htmlFor:A,className:oe.label,disabled:o},r));return d.createElement("div",{className:oe.root,ref:t},f!==No.bottom&&ge,d.createElement("div",Object(u.a)({},re,{className:oe.spinButtonWrapper,"aria-label":y&&y,"aria-posinset":x,"aria-setsize":w,"data-ktp-target":!0}),d.createElement("input",Object(u.a)({value:null!=J?J:X,id:A,onChange:US,onInput:function(e){ee(e.target.value)},className:oe.input,type:"text",autoComplete:"off",role:"spinbutton","aria-labelledby":r&&j,"aria-valuenow":null!=I?I:me?Number(X):void 0,"aria-valuetext":null!=O?O:me?void 0:X,"aria-valuemin":i,"aria-valuemax":a,"aria-describedby":C,onBlur:function(e){var t;ie(e),V(!1),null===(t=n.onBlur)||void 0===t||t.call(n,e)},ref:L,onFocus:function(e){var t;L.current&&((te.spinningByMouse||K!==LS.notSpinning)&&ae(),L.current.select(),V(!0),null===(t=n.onFocus)||void 0===t||t.call(n,e))},onKeyDown:function(e){if(e.which!==E.up&&e.which!==E.down&&e.which!==E.enter||(e.preventDefault(),e.stopPropagation()),o)ae();else{var t=LS.notSpinning;switch(e.which){case E.up:t=LS.up,se(le,e);break;case E.down:t=LS.down,se(ce,e);break;case E.enter:ie(e);break;case E.escape:ee(void 0)}K!==t&&G(t)}},onKeyUp:ue,disabled:o,"aria-disabled":o,"data-lpignore":!0,"data-ktp-execute-target":!0},D)),d.createElement("span",{className:oe.arrowButtonsContainer},d.createElement(Ss,Object(u.a)({styles:zS(k,!0,_),className:"ms-UpButton",checked:K===LS.up,disabled:o,iconProps:m,onMouseDown:de,onMouseLeave:ae,onMouseUp:ae,tabIndex:-1,ariaLabel:g,"data-is-focusable":!1},M)),d.createElement(Ss,Object(u.a)({styles:zS(k,!1,S),className:"ms-DownButton",checked:K===LS.down,disabled:o,iconProps:v,onMouseDown:he,onMouseLeave:ae,onMouseUp:ae,tabIndex:-1,ariaLabel:b,"data-is-focusable":!1},M)))),f===No.bottom&&ge)}));GS.displayName="SpinButton";var qS=function(e){0},YS=k(GS,(function(e){var t,n,o,r,i=e.theme,a=e.className,s=e.labelPosition,l=e.disabled,c=e.isFocused,d=i.palette,f=i.semanticColors,h=i.effects,m=i.fonts,g=f.inputBorder,v=f.inputBackground,b=f.inputBorderHovered,y=f.inputFocusBorderAlt,C=f.inputText,_=d.white,S=f.inputBackgroundChecked,k=f.disabledText;return{root:[m.medium,{outline:"none",width:"100%",minWidth:86},a],labelWrapper:[{display:"inline-flex",alignItems:"center"},s===No.start&&{height:32,float:"left",marginRight:10},s===No.end&&{height:32,float:"right",marginLeft:10},s===No.top&&{marginBottom:-1}],icon:[{padding:"0 5px",fontSize:p.p.large},l&&{color:k}],label:{pointerEvents:"none",lineHeight:p.p.large},spinButtonWrapper:[Object(u.a)(Object(u.a)({display:"flex",position:"relative",boxSizing:"border-box",height:32,minWidth:86},Object(p.V)(g,h.roundedCorner2,"border",0)),{":after":(t={borderWidth:"1px"},t[p.m]={borderColor:"GrayText"},t)}),(s===No.top||s===No.bottom)&&{width:"100%"},!l&&[{":hover:after":(n={borderColor:b},n[p.m]={borderColor:"Highlight"},n)},c&&{":hover:after, :after":(o={borderColor:y,borderWidth:"2px"},o[p.m]={borderColor:"Highlight"},o)}],l&&HS(i)],input:["ms-spinButton-input",{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:m.medium.fontSize,fontFamily:"inherit",color:C,backgroundColor:v,height:"100%",padding:"0 8px 0 9px",outline:0,display:"block",minWidth:61,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",cursor:"text",userSelect:"text",borderRadius:"".concat(h.roundedCorner2," 0 0 ").concat(h.roundedCorner2)},!l&&{selectors:{"::selection":{backgroundColor:S,color:_,selectors:(r={},r[p.m]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},r)}}},l&&HS(i)],arrowButtonsContainer:[{display:"block",height:"100%",cursor:"default"},l&&HS(i)]}}),void 0,{scope:"SpinButton"}),QS=u.a;function XS(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var r=e;return r.isSlot?0===(n=d.Children.toArray(n)).length?r(t):r(Object(u.a)(Object(u.a)({},t),{children:n})):d.createElement.apply(d,Object(u.e)([e,t],n,!1))}function ZS(e,t){void 0===t&&(t={});var n=t.defaultProp,o=void 0===n?"children":n;return function(t,n,r,i,a){if(d.isValidElement(n))return n;var s=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];for(var r={},i=[],a=0,s=n;a<s.length;a++){var l=s[a];i.push(l&&l.className),QS(r,l)}return r.className=Object(_n.a)([e,i],{rtl:P(t)}),r}(i,a,t,function(e,t){var n,o;"string"==typeof t||"number"==typeof t||"boolean"==typeof t?((n={})[e]=t,o=n):o=t;return o}(o,n));if(r){if(r.component){var l=r.component;return d.createElement(l,Object(u.a)({},s))}if(r.render)return r.render(s,e)}return d.createElement(e,Object(u.a)({},s))}}var $S=Object(f.c)((function(e){return ZS(e)}));function JS(e,t){var n={},o=e,r=function(e){if(t.hasOwnProperty(e)){var r=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(r.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return ek(t[e],n,o[e],o.slots&&o.slots[e],o._defaultStyles&&o._defaultStyles[e],o.theme)};r.isSlot=!0,n[e]=r}};for(var i in t)r(i);return n}function ek(e,t,n,o,r,i){return void 0!==e.create?e.create(t,n,o,r):$S(e)(t,n,o,r,i)}function tk(e,t){void 0===t&&(t={});var n=t.factoryOptions,o=(void 0===n?{}:n).defaultProp,r=function(n){var o,r,i,a=(o=t.displayName,r=d.useContext(C),i=t.fields,y.a.getSettings(i||["theme","styles","tokens"],o,r.customizations)),s=t.state;s&&(n=Object(u.a)(Object(u.a)({},n),s(n)));var l=n.theme||a.theme,c=function e(t,n){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];for(var i={},a=0,s=o;a<s.length;a++){var l=s[a];l&&(l="function"==typeof l?l(t,n):l,Array.isArray(l)&&(l=e.apply(void 0,Object(u.e)([t,n],l,!1))),QS(i,l))}return i}(n,l,t.tokens,a.tokens,n.tokens),f=function(e,t,n){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];return p.I.apply(void 0,o.map((function(o){return"function"==typeof o?o(e,t,n):o})))}(n,l,c,t.styles,a.styles,n.styles),h=Object(u.a)(Object(u.a)({},n),{styles:f,tokens:c,_defaultStyles:f,theme:l});return e(h)};return r.displayName=t.displayName||e.name,o&&(r.create=ZS(r,{defaultProp:o})),QS(r,t.statics),r}var nk={root:"ms-StackItem"},ok={start:"flex-start",end:"flex-end"},rk=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},ik=function(e){var t=parseFloat(e),n=isNaN(t)?0:t,o=isNaN(t)?"":t.toString();return{value:n,unit:e.substring(o.toString().length)||"px"}},ak=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var n=e.split(" ");return n.length<2?rk(e,t):n.reduce((function(e,n){return rk(e,t)+" "+rk(n,t)}))},sk={start:"flex-start",end:"flex-end"},lk={root:"ms-Stack",inner:"ms-Stack-inner",child:"ms-Stack-child"},ck=tk((function(e){var t=e.children,n=fe(e,U);return null==t?null:XS(JS(e,{root:"div"}).root,Object(u.a)({},n),t)}),{displayName:"StackItem",styles:function(e,t,n){var o=e.grow,r=e.shrink,i=e.disableShrink,a=e.align,s=e.verticalFill,l=e.order,c=e.className,u=e.basis,d=void 0===u?"auto":u,f=Object(p.R)(nk,t);return{root:[t.fonts.medium,f.root,{flexBasis:d,margin:n.margin,padding:n.padding,height:s?"100%":"auto",width:"auto"},o&&{flexGrow:!0===o?1:o},(i||!o&&!r)&&{flexShrink:0},r&&!i&&{flexShrink:1},a&&{alignSelf:ok[a]||a},l&&{order:l},c]}}});var uk,dk=tk((function(e){var t=e.as,n=void 0===t?"div":t,o=e.disableShrink,r=void 0!==o&&o,i=e.enableScopedSelectors,a=void 0!==i&&i,s=e.wrap,l=Object(u.d)(e,["as","disableShrink","enableScopedSelectors","wrap"]),c=function e(t,n){var o=n.disableShrink,r=n.enableScopedSelectors,i=d.Children.toArray(t);return i=d.Children.map(i,(function(t){if(!t||!d.isValidElement(t))return t;if(t.type===d.Fragment)return t.props.children?e(t.props.children,{disableShrink:o,enableScopedSelectors:r}):null;var n,i=t,a={};(n=t)&&"object"==typeof n&&n.type&&n.type.displayName===ck.displayName&&(a={shrink:!o});var s=i.props.className;return d.cloneElement(i,Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},a),i.props),s&&{className:s}),r&&{className:Me(lk.child,s)}))}))}(e.children,{disableShrink:r,enableScopedSelectors:a}),p=fe(l,U),f=JS(e,{root:n,inner:"div"});return XS(f.root,Object(u.a)({},p),s?XS(f.inner,null,c):c)}),{displayName:"Stack",styles:function(e,t,n){var o,r,i,a,s,l,c,d,f,h,m,g,v,b=e.className,y=e.disableShrink,C=e.enableScopedSelectors,_=e.grow,S=e.horizontal,k=e.horizontalAlign,x=e.reversed,w=e.verticalAlign,I=e.verticalFill,E=e.wrap,O=Object(p.R)(lk,t),T=n&&n.childrenGap?n.childrenGap:e.gap,D=n&&n.maxHeight?n.maxHeight:e.maxHeight,P=n&&n.maxWidth?n.maxWidth:e.maxWidth,R=n&&n.padding?n.padding:e.padding,M=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var n=e.split(" ");if(n.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===n.length)return{rowGap:ik(rk(n[0],t)),columnGap:ik(rk(n[1],t))};var o=ik(rk(e,t));return{rowGap:o,columnGap:o}}(T,t),N=M.rowGap,F=M.columnGap,B="".concat(-.5*F.value).concat(F.unit),L="".concat(-.5*N.value).concat(N.unit),A={textOverflow:"ellipsis"},j="> "+(C?"."+lk.child:"*"),H=((o={})["".concat(j,":not(.").concat(nk.root,")")]={flexShrink:0},o);return E?{root:[O.root,{flexWrap:"wrap",maxWidth:P,maxHeight:D,width:"auto",overflow:"visible",height:"100%"},k&&(r={},r[S?"justifyContent":"alignItems"]=sk[k]||k,r),w&&(i={},i[S?"alignItems":"justifyContent"]=sk[w]||w,i),b,{display:"flex"},S&&{height:I?"100%":"auto"}],inner:[O.inner,(a={display:"flex",flexWrap:"wrap",marginLeft:B,marginRight:B,marginTop:L,marginBottom:L,overflow:"visible",boxSizing:"border-box",padding:ak(R,t),width:0===F.value?"100%":"calc(100% + ".concat(F.value).concat(F.unit,")"),maxWidth:"100vw"},a[j]=Object(u.a)({margin:"".concat(.5*N.value).concat(N.unit," ").concat(.5*F.value).concat(F.unit)},A),a),y&&H,k&&(s={},s[S?"justifyContent":"alignItems"]=sk[k]||k,s),w&&(l={},l[S?"alignItems":"justifyContent"]=sk[w]||w,l),S&&(c={flexDirection:x?"row-reverse":"row",height:0===N.value?"100%":"calc(100% + ".concat(N.value).concat(N.unit,")")},c[j]={maxWidth:0===F.value?"100%":"calc(100% - ".concat(F.value).concat(F.unit,")")},c),!S&&(d={flexDirection:x?"column-reverse":"column",height:"calc(100% + ".concat(N.value).concat(N.unit,")")},d[j]={maxHeight:0===N.value?"100%":"calc(100% - ".concat(N.value).concat(N.unit,")")},d)]}:{root:[O.root,(f={display:"flex",flexDirection:S?x?"row-reverse":"row":x?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:I?"100%":"auto",maxWidth:P,maxHeight:D,padding:ak(R,t),boxSizing:"border-box"},f[j]=A,f),y&&H,_&&{flexGrow:!0===_?1:_},k&&(h={},h[S?"justifyContent":"alignItems"]=sk[k]||k,h),w&&(m={},m[S?"alignItems":"justifyContent"]=sk[w]||w,m),S&&F.value>0&&(g={},g["".concat(j,x?":not(:last-child)":":not(:first-child)")]={marginLeft:"".concat(F.value).concat(F.unit)},g),!S&&N.value>0&&(v={},v["".concat(j,x?":not(:last-child)":":not(:first-child)")]={marginTop:"".concat(N.value).concat(N.unit)},v),b]}},statics:{Item:ck}});!function(e){e[e.Both=0]="Both",e[e.Header=1]="Header",e[e.Footer=2]="Footer"}(uk||(uk={}));var pk=function(e){function t(t){var n=e.call(this,t)||this;return n._root=d.createRef(),n._stickyContentTop=d.createRef(),n._stickyContentBottom=d.createRef(),n._nonStickyContent=d.createRef(),n._placeHolder=d.createRef(),n.syncScroll=function(e){var t=n.nonStickyContent;t&&n.props.isScrollSynced&&(t.scrollLeft=e.scrollLeft)},n._getContext=function(){return n.context},n._onScrollEvent=function(e,t){if(n.root&&n.nonStickyContent){var o=n._getNonStickyDistanceFromTop(e),r=!1,i=!1;if(n.canStickyTop)r=o-n._getStickyDistanceFromTop()<e.scrollTop;n.canStickyBottom&&e.clientHeight-t.offsetHeight<=o&&(i=o-Math.floor(e.scrollTop)>=n._getStickyDistanceFromTopForFooter(e,t)),document.activeElement&&n.nonStickyContent.contains(document.activeElement)&&(n.state.isStickyTop!==r||n.state.isStickyBottom!==i)?n._activeElement=document.activeElement:n._activeElement=void 0,n.setState({isStickyTop:n.canStickyTop&&r,isStickyBottom:i,distanceFromTop:o})}},n._getStickyDistanceFromTop=function(){var e=0;return n.stickyContentTop&&(e=n.stickyContentTop.offsetTop),e},n._getStickyDistanceFromTopForFooter=function(e,t){var o=0;return n.stickyContentBottom&&(o=e.clientHeight-t.offsetHeight+n.stickyContentBottom.offsetTop),o},n._getNonStickyDistanceFromTop=function(e){var t=0,o=n.root;if(o){for(;o&&o.offsetParent!==e;)t+=o.offsetTop,o=o.offsetParent;o&&o.offsetParent===e&&(t+=o.offsetTop)}return t},Ct(n),n.state={isStickyTop:!1,isStickyBottom:!1,distanceFromTop:void 0},n._activeElement=void 0,n}return Object(u.c)(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeHolder.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stickyContentTop",{get:function(){return this._stickyContentTop.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stickyContentBottom",{get:function(){return this._stickyContentBottom.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nonStickyContent",{get:function(){return this._nonStickyContent.current},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canStickyTop",{get:function(){return this.props.stickyPosition===uk.Both||this.props.stickyPosition===uk.Header},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canStickyBottom",{get:function(){return this.props.stickyPosition===uk.Both||this.props.stickyPosition===uk.Footer},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e=this._getContext().scrollablePane;e&&(e.subscribe(this._onScrollEvent),e.addSticky(this))},t.prototype.componentWillUnmount=function(){var e=this._getContext().scrollablePane;e&&(e.unsubscribe(this._onScrollEvent),e.removeSticky(this))},t.prototype.componentDidUpdate=function(e,t){var n=this._getContext().scrollablePane;if(n){var o=this.state,r=o.isStickyBottom,i=o.isStickyTop,a=o.distanceFromTop,s=!1;t.distanceFromTop!==a&&(n.sortSticky(this,!0),s=!0),t.isStickyTop===i&&t.isStickyBottom===r||(this._activeElement&&this._activeElement.focus(),n.updateStickyRefHeights(),s=!0),s&&n.syncScrollSticky(this)}},t.prototype.shouldComponentUpdate=function(e,t){if(!this.context.scrollablePane)return!0;var n=this.state,o=n.isStickyTop,r=n.isStickyBottom,i=n.distanceFromTop;return o!==t.isStickyTop||r!==t.isStickyBottom||this.props.stickyPosition!==e.stickyPosition||this.props.children!==e.children||i!==t.distanceFromTop||fk(this._nonStickyContent,this._stickyContentTop)||fk(this._nonStickyContent,this._stickyContentBottom)||fk(this._nonStickyContent,this._placeHolder)},t.prototype.render=function(){var e=this.state,t=e.isStickyTop,n=e.isStickyBottom,o=this.props,r=o.stickyClassName,i=o.children;return this.context.scrollablePane?d.createElement("div",{ref:this._root},this.canStickyTop&&d.createElement("div",{ref:this._stickyContentTop,style:{pointerEvents:t?"auto":"none"}},d.createElement("div",{style:this._getStickyPlaceholderHeight(t)})),this.canStickyBottom&&d.createElement("div",{ref:this._stickyContentBottom,style:{pointerEvents:n?"auto":"none"}},d.createElement("div",{style:this._getStickyPlaceholderHeight(n)})),d.createElement("div",{style:this._getNonStickyPlaceholderHeightAndWidth(),ref:this._placeHolder},(t||n)&&d.createElement("span",{style:p.ab},i),d.createElement("div",{ref:this._nonStickyContent,className:t||n?r:void 0,style:this._getContentStyles(t||n)},i))):d.createElement("div",null,this.props.children)},t.prototype.addSticky=function(e){this.nonStickyContent&&e.appendChild(this.nonStickyContent)},t.prototype.resetSticky=function(){this.nonStickyContent&&this.placeholder&&this.placeholder.appendChild(this.nonStickyContent)},t.prototype.setDistanceFromTop=function(e){var t=this._getNonStickyDistanceFromTop(e);this.setState({distanceFromTop:t})},t.prototype._getContentStyles=function(e){return{backgroundColor:this.props.stickyBackgroundColor||this._getBackground(),overflow:e?"hidden":""}},t.prototype._getStickyPlaceholderHeight=function(e){var t=this.nonStickyContent?this.nonStickyContent.offsetHeight:0;return{visibility:e?"hidden":"visible",height:e?0:t}},t.prototype._getNonStickyPlaceholderHeightAndWidth=function(){var e=this.state,t=e.isStickyTop,n=e.isStickyBottom;if(t||n){var o=0,r=0;return this.nonStickyContent&&this.nonStickyContent.firstElementChild&&(o=this.nonStickyContent.offsetHeight,r=this.nonStickyContent.firstElementChild.scrollWidth+(this.nonStickyContent.firstElementChild.offsetWidth-this.nonStickyContent.firstElementChild.clientWidth)),{height:o,width:r}}return{}},t.prototype._getBackground=function(){if(this.root){for(var e=this.root;"rgba(0, 0, 0, 0)"===window.getComputedStyle(e).getPropertyValue("background-color")||"transparent"===window.getComputedStyle(e).getPropertyValue("background-color");){if("HTML"===e.tagName)return;e.parentElement&&(e=e.parentElement)}return window.getComputedStyle(e).getPropertyValue("background-color")}},t.defaultProps={stickyPosition:uk.Both,isScrollSynced:!0},t.contextType=k_,t}(d.Component);function fk(e,t){return e&&t&&e.current&&t.current&&e.current.offsetHeight!==t.current.offsetHeight}var hk=n(102),mk=L(),gk=Object(f.c)((function(e,t,n,o,r,i,a,s,l){var c=ol(e);return Object(p.db)({root:["ms-Button",c.root,n,t,a&&["is-checked",c.rootChecked],i&&["is-disabled",c.rootDisabled],!i&&!a&&{selectors:{":hover":c.rootHovered,":focus":c.rootFocused,":active":c.rootPressed}},i&&a&&[c.rootCheckedDisabled],!i&&a&&{selectors:{":hover":c.rootCheckedHovered,":active":c.rootCheckedPressed}}],flexContainer:["ms-Button-flexContainer",c.flexContainer]})})),vk=function(e){var t,n,o=e.item,r=e.idPrefix,i=void 0===r?e.id:r,a=e.isRadio,s=e.selected,l=void 0!==s&&s,c=e.disabled,p=void 0!==c&&c,f=e.styles,h=e.circle,m=void 0===h||h,g=e.color,v=e.onClick,b=e.onHover,y=e.onFocus,C=e.onMouseEnter,_=e.onMouseMove,S=e.onMouseLeave,k=e.onWheel,x=e.onKeyDown,w=e.height,I=e.width,E=e.borderWidth,O=mk(f,{theme:e.theme,disabled:p,selected:l,circle:m,isWhite:(t=g,n=Ad(t),"ffffff"===(null==n?void 0:n.hex)),height:w,width:I,borderWidth:E}),T=function(e){var t,n=O.svg;return d.createElement("svg",{className:n,role:"img","aria-label":e.label,viewBox:"0 0 20 20",fill:null===(t=Ad(e.color))||void 0===t?void 0:t.str},m?d.createElement("circle",{cx:"50%",cy:"50%",r:"50%"}):d.createElement("rect",{width:"100%",height:"100%"}))},D=a?{role:"radio","aria-checked":l,selected:void 0}:{role:"gridcell",selected:l};return d.createElement(wl,Object(u.a)({item:o,id:"".concat(i,"-").concat(o.id,"-").concat(o.index),key:o.id,disabled:p},D,{onRenderItem:function(t){var n=e.onRenderColorCellContent;return(void 0===n?T:n)(t,T)},onClick:v,onHover:b,onFocus:y,label:o.label,className:O.colorCell,getClassNames:gk,index:o.index,onMouseEnter:C,onMouseMove:_,onMouseLeave:S,onWheel:k,onKeyDown:x}))},bk={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"},yk=k(vk,(function(e){var t,n,o,r,i,a=e.theme,s=e.disabled,l=e.selected,c=e.circle,u=e.isWhite,d=e.height,f=void 0===d?20:d,h=e.width,m=void 0===h?20:h,g=e.borderWidth,v=a.semanticColors,b=a.palette,y=b.neutralLighter,C=b.neutralLight,_=b.neutralSecondary,S=b.neutralTertiary,k=g||(m<24?2:4);return{colorCell:[Object(p.Q)(a,{inset:-1,position:"relative",highContrastStyle:bk}),{backgroundColor:v.bodyBackground,padding:0,position:"relative",boxSizing:"border-box",display:"inline-block",cursor:"pointer",userSelect:"none",borderRadius:0,border:"none",height:f,width:m,verticalAlign:"top"},!c&&{selectors:(t={},t[".".concat(Gn.a," &:focus::after")]={outlineOffset:"".concat(k-1,"px")},t)},c&&{borderRadius:"50%",selectors:(n={},n[".".concat(Gn.a," &:focus::after")]={outline:"none",borderColor:v.focusBorder,borderRadius:"50%",left:-k,right:-k,top:-k,bottom:-k,selectors:(o={},o[p.m]={outline:"1px solid ButtonText"},o)},n)},l&&{padding:2,border:"".concat(k,"px solid ").concat(C),selectors:(r={},r["&:hover::before"]={content:'""',height:f,width:m,position:"absolute",top:-k,left:-k,borderRadius:c?"50%":"default",boxShadow:"inset 0 0 0 1px ".concat(_)},r)},!l&&{selectors:(i={},i["&:hover, &:active, &:focus"]={backgroundColor:v.bodyBackground,padding:2,border:"".concat(k,"px solid ").concat(y)},i["&:focus"]={borderColor:v.bodyBackground,padding:0,selectors:{":hover":{borderColor:a.palette.neutralLight,padding:2}}},i)},s&&{color:v.disabledBodyText,pointerEvents:"none",opacity:.3},u&&!l&&{backgroundColor:S,padding:1}],svg:[{width:"100%",height:"100%"},c&&{borderRadius:"50%"}]}}),void 0,{scope:"ColorPickerGridCell"},!0),Ck=L();var _k=d.forwardRef((function(e,t){var n=wa("swatchColorPicker"),o=e.id||n,r=jr({isNavigationIdle:!0,cellFocused:!1,navigationIdleTimeoutId:void 0,navigationIdleDelay:250}),i=Hu(),a=i.setTimeout,s=i.clearTimeout,l=e.colorCells,c=e.cellShape,p=void 0===c?"circle":c,f=e.columnCount,h=e.shouldFocusCircularNavigate,m=void 0===h||h,g=e.className,v=e.disabled,b=void 0!==v&&v,y=e.doNotContainWithinFocusZone,C=e.styles,_=e.cellMargin,S=void 0===_?10:_,k=e.defaultSelectedId,x=e.focusOnHover,w=e.mouseLeaveParentSelector,I=e.onChange,O=e.onColorChanged,T=e.onCellHovered,D=e.onCellFocused,P=e.getColorGridCellStyles,R=e.cellHeight,M=e.cellWidth,N=e.cellBorderWidth,F=e.onRenderColorCellContent,B=d.useMemo((function(){return l.map((function(e,t){return Object(u.a)(Object(u.a)({},e),{index:t})}))}),[l]),L=d.useCallback((function(e,t){var n,o=null===(n=l.filter((function(e){return e.id===t}))[0])||void 0===n?void 0:n.color;null==I||I(e,t,o),null==O||O(t,o)}),[I,O,l]),A=Uc(e.selectedId,k,L),j=A[0],H=A[1],z=Ck(C,{theme:e.theme,className:g,cellMargin:S}),W={root:z.root,tableCell:z.tableCell,focusedContainer:z.focusedContainer},V=l.length<=f,U=d.useCallback((function(e){D&&(r.cellFocused=!1,D(void 0,void 0,e))}),[r,D]),K=d.useCallback((function(e){return x?(r.isNavigationIdle&&!b&&e.currentTarget.focus(),!0):!r.isNavigationIdle||!!b}),[x,r,b]),G=d.useCallback((function(e){if(!x)return!r.isNavigationIdle||!!b;var t=e.currentTarget;return!r.isNavigationIdle||document&&t===document.activeElement||t.focus(),!0}),[x,r,b]),q=d.useCallback((function(e){var t=w;if(x&&t&&r.isNavigationIdle&&!b)for(var n=document.querySelectorAll(t),o=0;o<n.length;o+=1)if(n[o].contains(e.currentTarget)){if(n[o].setActive)try{n[o].setActive()}catch(e){}else n[o].focus();break}}),[b,x,r,w]),Y=d.useCallback((function(e,t){T&&(e?T(e.id,e.color,t):T(void 0,void 0,t))}),[T]),Q=d.useCallback((function(e,t){if(D)return e?(r.cellFocused=!0,D(e.id,e.color,t)):(r.cellFocused=!1,D(void 0,void 0,t))}),[r,D]),X=d.useCallback((function(e,t){b||e.disabled||e.id!==j&&(D&&r.cellFocused&&(r.cellFocused=!1,D(void 0,void 0,t)),H(e.id,t))}),[b,r,D,j,H]),Z=d.useCallback((function(){r.isNavigationIdle||void 0===r.navigationIdleTimeoutId?r.isNavigationIdle=!1:(s(r.navigationIdleTimeoutId),r.navigationIdleTimeoutId=void 0),r.navigationIdleTimeoutId=a((function(){r.isNavigationIdle=!0}),r.navigationIdleDelay)}),[s,r,a]),$=d.useCallback((function(e){e.which!==E.up&&e.which!==E.down&&e.which!==E.left&&e.which!==E.right||Z()}),[Z]),J=function(e){return d.createElement(yk,{item:e,idPrefix:o,color:e.color,styles:P,disabled:b||e.disabled,onClick:X,onHover:Y,onFocus:Q,selected:j===e.id,circle:"circle"===p,label:e.label,onMouseEnter:K,onMouseMove:G,onMouseLeave:q,onWheel:Z,onKeyDown:$,onRenderColorCellContent:F,height:R,width:M,borderWidth:N,isRadio:V})};if(l.length<1||f<1)return null;return d.createElement(yl,Object(u.a)({},e,{ref:t,id:o,items:B,columnCount:f,isSemanticRadio:V,onRenderItem:function(t,n){var o=e.onRenderColorCell;return(void 0===o?J:o)(t,J)},shouldFocusCircularNavigate:m,doNotContainWithinFocusZone:y,onBlur:U,theme:e.theme,styles:W}))}));_k.displayName="SwatchColorPicker";var Sk={focusedContainer:"ms-swatchColorPickerBodyContainer"},kk=k(_k,(function(e){var t=e.className,n=e.theme;return{root:{margin:"8px 0",borderCollapse:"collapse"},tableCell:{padding:e.cellMargin/2},focusedContainer:[Object(p.R)(Sk,n).focusedContainer,{clear:"both",display:"block",minWidth:"180px"},t]}}),void 0,{scope:"SwatchColorPicker"}),xk=L(),wk=d.forwardRef((function(e,t){var n,o,r,i,a,s,l,c=d.useRef(null),p=Nr(),f=Ie(c,t),h=wa("teaching-bubble-content-"),m=wa("teaching-bubble-title-"),g=null!==(n=e.ariaDescribedBy)&&void 0!==n?n:h,v=null!==(o=e.ariaLabelledBy)&&void 0!==o?o:m,b=e.illustrationImage,y=e.primaryButtonProps,C=e.secondaryButtonProps,_=e.headline,S=e.hasCondensedHeadline,k=e.hasCloseButton,x=void 0===k?e.hasCloseIcon:k,w=e.onDismiss,I=e.closeButtonAriaLabel,O=e.hasSmallHeadline,T=e.isWide,D=e.styles,P=e.theme,R=e.footerContent,M=e.focusTrapZoneProps,N=xk(D,{theme:P,hasCondensedHeadline:S,hasSmallHeadline:O,hasCloseButton:x,hasHeadline:!!_,isWide:T,primaryButtonClassName:y?y.className:void 0,secondaryButtonClassName:C?C.className:void 0});if(Pr(p,"keydown",d.useCallback((function(e){w&&e.which===E.escape&&w(e)}),[w])),b&&b.src&&(r=d.createElement("div",{className:N.imageContent},d.createElement(Pe,Object(u.a)({},b)))),_){var F="string"==typeof _?"p":"div";i=d.createElement("div",{className:N.header},d.createElement(F,{role:"heading","aria-level":3,className:N.headline,id:v},_))}if(e.children){var B="string"==typeof e.children?"p":"div";a=d.createElement("div",{className:N.body},d.createElement(B,{className:N.subText,id:g},e.children))}return(y||C||R)&&(s=d.createElement(dk,{className:N.footer,horizontal:!0,horizontalAlign:R?"space-between":"end"},d.createElement(dk.Item,{align:"center"},d.createElement("span",null,R)),d.createElement(dk.Item,null,y&&d.createElement(dl,Object(u.a)({},y,{className:N.primaryButton})),C&&d.createElement(ll,Object(u.a)({},C,{className:N.secondaryButton}))))),x&&(l=d.createElement(Ss,{className:N.closeButton,iconProps:{iconName:"Cancel"},ariaLabel:I,onClick:w})),function(e,t){d.useImperativeHandle(e,(function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()}}}),[t])}(e.componentRef,c),d.createElement("div",{className:N.content,ref:f,role:"dialog",tabIndex:-1,"aria-labelledby":v,"aria-describedby":g,"data-is-focusable":!0},r,d.createElement(eu,Object(u.a)({isClickableOutsideFocusTrap:!0},M),d.createElement("div",{className:N.bodyContent},i,a,s,l)))})),Ik={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"},Ek=Object(f.c)((function(){return Object(p.bb)({"0%":{opacity:0,animationTimingFunction:p.c.easeFunction1,transform:"scale3d(.90,.90,.90)"},"100%":{opacity:1,transform:"scale3d(1,1,1)"}})})),Ok=function(e,t){var n=t||{},o=n.calloutWidth,r=n.calloutMaxWidth;return[{display:"block",maxWidth:364,border:0,outline:"transparent",width:o||"calc(100% + 1px)",animationName:"".concat(Ek()),animationDuration:"300ms",animationTimingFunction:"linear",animationFillMode:"both"},e&&{maxWidth:r||456}]},Tk=function(e,t,n){return t?[e.headerIsCondensed,{marginBottom:14}]:[n&&e.headerIsSmall,!n&&e.headerIsLarge,{selectors:{":not(:last-child)":{marginBottom:14}}}]},Dk=function(e){var t,n,o,r=e.hasCondensedHeadline,i=e.hasSmallHeadline,a=e.hasCloseButton,s=e.hasHeadline,l=e.isWide,c=e.primaryButtonClassName,d=e.secondaryButtonClassName,f=e.theme,h=e.calloutProps,m=void 0===h?{className:void 0,theme:f}:h,g=!r&&!i,v=f.palette,b=f.semanticColors,y=f.fonts,C=Object(p.R)(Ik,f),_=Object(p.Q)(f,{outlineColor:"transparent",borderColor:"transparent"});return{root:[C.root,y.medium,m.className],body:[C.body,a&&!s&&{marginRight:24},{selectors:{":not(:last-child)":{marginBottom:20}}}],bodyContent:[C.bodyContent,{padding:"20px 24px 20px 24px"}],closeButton:[C.closeButton,{position:"absolute",right:0,top:0,margin:"15px 15px 0 0",borderRadius:0,color:v.white,fontSize:y.small.fontSize,selectors:{":hover":{background:v.themeDarkAlt,color:v.white},":active":{background:v.themeDark,color:v.white},":focus":{border:"1px solid ".concat(b.variantBorder)}}}],content:Object(u.e)(Object(u.e)([C.content],Ok(l),!0),[l&&{display:"flex"}],!1),footer:[C.footer,{display:"flex",flex:"auto",alignItems:"center",color:v.white,selectors:(t={},t[".".concat(C.button,":not(:first-child)")]={marginLeft:10},t)}],header:Object(u.e)(Object(u.e)([C.header],Tk(C,r,i),!0),[a&&{marginRight:24},(r||i)&&[y.medium,{fontWeight:p.l.semibold}]],!1),headline:[C.headline,{margin:0,color:v.white,fontWeight:p.l.semibold,overflowWrap:"break-word"},g&&[{fontSize:y.xLarge.fontSize}]],imageContent:[C.header,C.image,l&&{display:"flex",alignItems:"center",maxWidth:154}],primaryButton:[C.primaryButton,c,_,{backgroundColor:v.white,borderColor:v.white,color:v.themePrimary,whiteSpace:"nowrap",selectors:(n={},n[".".concat(C.buttonLabel)]=y.medium,n[":hover"]={backgroundColor:v.themeLighter,borderColor:v.themeLighter,color:v.themeDark},n[":focus"]={backgroundColor:v.themeLighter,border:"1px solid ".concat(v.black),color:v.themeDark,outline:"1px solid ".concat(v.white),outlineOffset:"-2px"},n[":active"]={backgroundColor:v.white,borderColor:v.white,color:v.themePrimary},n)}],secondaryButton:[C.secondaryButton,d,_,{backgroundColor:v.themePrimary,borderColor:v.white,whiteSpace:"nowrap",selectors:(o={},o[".".concat(C.buttonLabel)]=[y.medium,{color:v.white}],o[":hover"]={backgroundColor:v.themeDarkAlt,borderColor:v.white},o[":focus"]={backgroundColor:v.themeDark,border:"1px solid ".concat(v.black),outline:"1px solid ".concat(v.white),outlineOffset:"-2px"},o[":active"]={backgroundColor:v.themePrimary,borderColor:v.white},o)}],subText:[C.subText,{margin:0,fontSize:y.medium.fontSize,color:v.white,fontWeight:p.l.regular}],subComponentStyles:{callout:{root:Object(u.e)(Object(u.e)([],Ok(l,m),!0),[y.medium],!1),beak:[{background:v.themePrimary}],calloutMain:[{background:v.themePrimary}]}}}},Pk=k(wk,Dk,void 0,{scope:"TeachingBubbleContent"}),Rk={beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:Eo.rightCenter},Mk=L(),Nk=d.forwardRef((function(e,t){var n=d.useRef(null),o=Ie(n,t),r=e.calloutProps,i=e.targetElement,a=e.onDismiss,s=e.hasCloseButton,l=void 0===s?e.hasCloseIcon:s,c=e.isWide,p=e.styles,f=e.theme,h=e.target,m=d.useMemo((function(){return Object(u.a)(Object(u.a)(Object(u.a)({},Rk),r),{theme:f})}),[r,f]),g=Mk(p,{theme:f,isWide:c,calloutProps:m,hasCloseButton:l}),v=g.subComponentStyles?g.subComponentStyles.callout:void 0;return function(e,t){d.useImperativeHandle(e,(function(){return{focus:function(){var e;return null===(e=t.current)||void 0===e?void 0:e.focus()}}}),[t])}(e.componentRef,n),d.createElement(Li,Object(u.a)({target:h||i,onDismiss:a},m,{className:g.root,styles:v,hideOverflow:!0}),d.createElement("div",{ref:o},d.createElement(Pk,Object(u.a)({},e))))}));Nk.displayName="TeachingBubble";var Fk=k(Nk,Dk,void 0,{scope:"TeachingBubble"}),Bk=function(e){if(null==e.children)return null;e.block,e.className;var t=e.as,n=void 0===t?"span":t,o=(e.variant,e.nowrap,Object(u.d)(e,["block","className","as","variant","nowrap"]));return XS(JS(e,{root:n}).root,Object(u.a)({},fe(o,U)))},Lk=function(e,t){var n=e.as,o=e.className,r=e.block,i=e.nowrap,a=e.variant,s=t.fonts,l=t.semanticColors,c=s[a||"medium"];return{root:[c,{color:c.color||l.bodyText,display:r?"td"===n?"table-cell":"block":"inline",mozOsxFontSmoothing:c.MozOsxFontSmoothing,webkitFontSmoothing:c.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},o]}},Ak=tk(Bk,{displayName:"Text",styles:Lk}),jk={9:/[0-9]/,a:/[a-zA-Z]/,"*":/[a-zA-Z0-9]/};function Hk(e,t){if(void 0===t&&(t=jk),!e)return[];for(var n=[],o=0,r=0;r+o<e.length;r++){var i=e.charAt(r+o);if("\\"===i)o++;else{var a=t[i];a&&n.push({displayIndex:r,format:a})}}return n}function zk(e,t,n){var o=e;if(!o)return"";o=o.replace(/\\/g,"");var r=0;t.length>0&&(r=t[0].displayIndex-1);for(var i=0,a=t;i<a.length;i++){var s=a[i],l=" ";s.value?(l=s.value,s.displayIndex>r&&(r=s.displayIndex)):n&&(l=n),o=o.slice(0,s.displayIndex)+l+o.slice(s.displayIndex+1)}return n||(o=o.slice(0,r+1)),o}function Wk(e,t){for(var n=0;n<e.length;n++)if(e[n].displayIndex>=t)return e[n].displayIndex;return e[e.length-1].displayIndex}function Vk(e,t,n){for(var o=0;o<e.length;o++)if(e[o].displayIndex>=t){if(e[o].displayIndex>=t+n)break;e[o].value=void 0}return e}function Uk(e,t,n){for(var o=0,r=0,i=!1,a=0;a<e.length&&o<n.length;a++)if(e[a].displayIndex>=t)for(i=!0,r=e[a].displayIndex;o<n.length;){if(e[a].format.test(n.charAt(o))){e[a].value=n.charAt(o++),a+1<e.length?r=e[a+1].displayIndex:r++;break}o++}return i?r:t}var Kk,Gk,qk,Yk="_",Qk=d.forwardRef((function(e,t){var n=d.useRef(null),o=e.componentRef,r=e.onFocus,i=e.onBlur,a=e.onMouseDown,s=e.onMouseUp,l=e.onChange,c=e.onPaste,p=e.onKeyDown,f=e.mask,h=e.maskChar,m=void 0===h?Yk:h,g=e.maskFormat,v=void 0===g?jk:g,b=e.value,y=jr((function(){return{maskCharData:Hk(f,v),isFocused:!1,moveCursorOnMouseUp:!1,changeSelectionData:null}})),C=d.useState(),_=C[0],S=C[1],k=d.useState((function(){return zk(f,y.maskCharData,m)})),x=k[0],w=k[1],I=d.useCallback((function(e){for(var t=0,n=0;t<e.length&&n<y.maskCharData.length;){var o=e[t];y.maskCharData[n].format.test(o)&&(y.maskCharData[n].value=o,n++),t++}}),[y]),O=d.useCallback((function(e){null==r||r(e),y.isFocused=!0;for(var t=0;t<y.maskCharData.length;t++)if(!y.maskCharData[t].value){S(y.maskCharData[t].displayIndex);break}}),[y,r]),T=d.useCallback((function(e){null==i||i(e),y.isFocused=!1,y.moveCursorOnMouseUp=!0}),[y,i]),D=d.useCallback((function(e){null==a||a(e),y.isFocused||(y.moveCursorOnMouseUp=!0)}),[y,a]),P=d.useCallback((function(e){if(null==s||s(e),y.moveCursorOnMouseUp){y.moveCursorOnMouseUp=!1;for(var t=0;t<y.maskCharData.length;t++)if(!y.maskCharData[t].value){S(y.maskCharData[t].displayIndex);break}}}),[y,s]),R=d.useCallback((function(e,t){if(null===y.changeSelectionData&&n.current&&(y.changeSelectionData={changeType:"default",selectionStart:null!==n.current.selectionStart?n.current.selectionStart:-1,selectionEnd:null!==n.current.selectionEnd?n.current.selectionEnd:-1}),y.changeSelectionData){var o=0,r=y.changeSelectionData,i=r.changeType,a=r.selectionStart,s=r.selectionEnd;if("textPasted"===i){var c=s-a,u=t.length+c-x.length,d=a,p=t.substr(d,u);c&&(y.maskCharData=Vk(y.maskCharData,a,c)),o=Uk(y.maskCharData,d,p)}else if("delete"===i||"backspace"===i){var h="delete"===i;(u=s-a)?(y.maskCharData=Vk(y.maskCharData,a,u),o=Wk(y.maskCharData,a)):h?(y.maskCharData=function(e,t){for(var n=0;n<e.length;n++)if(e[n].displayIndex>=t){e[n].value=void 0;break}return e}(y.maskCharData,a),o=Wk(y.maskCharData,a)):(y.maskCharData=function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n].displayIndex<t){e[n].value=void 0;break}return e}(y.maskCharData,a),o=function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n].displayIndex<t)return e[n].displayIndex;return e[0].displayIndex}(y.maskCharData,a))}else if(t.length>x.length){d=s-(u=t.length-x.length);var g=t.substr(d,u);o=Uk(y.maskCharData,d,g)}else if(t.length<=x.length){u=1;var v=x.length+u-t.length;d=s-u,g=t.substr(d,u);y.maskCharData=Vk(y.maskCharData,d,v),o=Uk(y.maskCharData,d,g)}y.changeSelectionData=null;var b=zk(f,y.maskCharData,m);w(b),S(o),null==l||l(e,b)}}),[x.length,y,f,m,l]),M=d.useCallback((function(e){if(null==p||p(e),y.changeSelectionData=null,n.current&&n.current.value){var t=e.keyCode,o=e.ctrlKey,r=e.metaKey;if(o||r)return;if(t===E.backspace||t===E.del){var i=e.target.selectionStart,a=e.target.selectionEnd;if(!(t===E.backspace&&a&&a>0||t===E.del&&null!==i&&i<n.current.value.length))return;y.changeSelectionData={changeType:t===E.backspace?"backspace":"delete",selectionStart:null!==i?i:-1,selectionEnd:null!==a?a:-1}}}}),[y,p]),N=d.useCallback((function(e){null==c||c(e);var t=e.target.selectionStart,n=e.target.selectionEnd;y.changeSelectionData={changeType:"textPasted",selectionStart:null!==t?t:-1,selectionEnd:null!==n?n:-1}}),[y,c]);return d.useEffect((function(){y.maskCharData=Hk(f,v),void 0!==b&&I(b),w(zk(f,y.maskCharData,m))}),[f,b]),we((function(){void 0!==_&&n.current&&n.current.setSelectionRange(_,_)}),[_]),d.useEffect((function(){y.isFocused&&void 0!==_&&n.current&&n.current.setSelectionRange(_,_)})),function(e,t,n){d.useImperativeHandle(e,(function(){return{get value(){for(var e="",n=0;n<t.maskCharData.length;n++){if(!t.maskCharData[n].value)return;e+=t.maskCharData[n].value}return e},get selectionStart(){return n.current&&null!==n.current.selectionStart?n.current.selectionStart:-1},get selectionEnd(){return n.current&&n.current.selectionEnd?n.current.selectionEnd:-1},focus:function(){n.current&&n.current.focus()},blur:function(){n.current&&n.current.blur()},select:function(){n.current&&n.current.select()},setSelectionStart:function(e){n.current&&n.current.setSelectionStart(e)},setSelectionEnd:function(e){n.current&&n.current.setSelectionEnd(e)},setSelectionRange:function(e,t){n.current&&n.current.setSelectionRange(e,t)}}}),[t,n])}(o,y,n),d.createElement(np,Object(u.a)({},e,{elementRef:t,onFocus:O,onBlur:T,onMouseDown:D,onMouseUp:P,onChange:R,onKeyDown:M,onPaste:N,value:x||"",componentRef:n}))}));function Xk(){var e={};function t(t,n,o,r){void 0===r&&(r=!1);var i=e[Kk[n]],a={name:t,inherits:i,asShade:o,isCustomized:!1,isBackgroundShade:r,dependentRules:[]};e[t]=a,i.dependentRules.push(a)}return ho(Kk,(function(t){e[t]={name:t,isCustomized:!0,dependentRules:[]},ho(fd,(function(n,o){if(n!==fd[fd.Unshaded]){var r=e[t],i={name:t+n,inherits:e[t],asShade:o,isCustomized:!1,isBackgroundShade:t===Kk[Kk.backgroundColor],dependentRules:[]};e[t+n]=i,r.dependentRules.push(i)}}))})),e[Kk[Kk.primaryColor]].color=Ad("#0078d4"),e[Kk[Kk.backgroundColor]].color=Ad("#ffffff"),e[Kk[Kk.foregroundColor]].color=Ad("#323130"),t(Gk[Gk.themePrimary],Kk.primaryColor,fd.Unshaded),t(Gk[Gk.themeLighterAlt],Kk.primaryColor,fd.Shade1),t(Gk[Gk.themeLighter],Kk.primaryColor,fd.Shade2),t(Gk[Gk.themeLight],Kk.primaryColor,fd.Shade3),t(Gk[Gk.themeTertiary],Kk.primaryColor,fd.Shade4),t(Gk[Gk.themeSecondary],Kk.primaryColor,fd.Shade5),t(Gk[Gk.themeDarkAlt],Kk.primaryColor,fd.Shade6),t(Gk[Gk.themeDark],Kk.primaryColor,fd.Shade7),t(Gk[Gk.themeDarker],Kk.primaryColor,fd.Shade8),t(Gk[Gk.neutralLighterAlt],Kk.backgroundColor,fd.Shade1,!0),t(Gk[Gk.neutralLighter],Kk.backgroundColor,fd.Shade2,!0),t(Gk[Gk.neutralLight],Kk.backgroundColor,fd.Shade3,!0),t(Gk[Gk.neutralQuaternaryAlt],Kk.backgroundColor,fd.Shade4,!0),t(Gk[Gk.neutralQuaternary],Kk.backgroundColor,fd.Shade5,!0),t(Gk[Gk.neutralTertiaryAlt],Kk.backgroundColor,fd.Shade6,!0),t(Gk[Gk.neutralTertiary],Kk.foregroundColor,fd.Shade3),t(Gk[Gk.neutralSecondary],Kk.foregroundColor,fd.Shade4),t(Gk[Gk.neutralSecondaryAlt],Kk.foregroundColor,fd.Shade4),t(Gk[Gk.neutralPrimaryAlt],Kk.foregroundColor,fd.Shade5),t(Gk[Gk.neutralPrimary],Kk.foregroundColor,fd.Unshaded),t(Gk[Gk.neutralDark],Kk.foregroundColor,fd.Shade7),t(Gk[Gk.black],Kk.foregroundColor,fd.Shade8),t(Gk[Gk.white],Kk.backgroundColor,fd.Unshaded,!0),e[Gk[Gk.neutralLighterAlt]].color=Ad("#faf9f8"),e[Gk[Gk.neutralLighter]].color=Ad("#f3f2f1"),e[Gk[Gk.neutralLight]].color=Ad("#edebe9"),e[Gk[Gk.neutralQuaternaryAlt]].color=Ad("#e1dfdd"),e[Gk[Gk.neutralDark]].color=Ad("#201f1e"),e[Gk[Gk.neutralTertiaryAlt]].color=Ad("#c8c6c4"),e[Gk[Gk.black]].color=Ad("#000000"),e[Gk[Gk.neutralDark]].color=Ad("#201f1e"),e[Gk[Gk.neutralPrimaryAlt]].color=Ad("#3b3a39"),e[Gk[Gk.neutralSecondary]].color=Ad("#605e5c"),e[Gk[Gk.neutralSecondaryAlt]].color=Ad("#8a8886"),e[Gk[Gk.neutralTertiary]].color=Ad("#a19f9d"),e[Gk[Gk.white]].color=Ad("#ffffff"),e[Gk[Gk.themeDarker]].color=Ad("#004578"),e[Gk[Gk.themeDark]].color=Ad("#005a9e"),e[Gk[Gk.themeDarkAlt]].color=Ad("#106ebe"),e[Gk[Gk.themeSecondary]].color=Ad("#2b88d8"),e[Gk[Gk.themeTertiary]].color=Ad("#71afe5"),e[Gk[Gk.themeLight]].color=Ad("#c7e0f4"),e[Gk[Gk.themeLighter]].color=Ad("#deecf9"),e[Gk[Gk.themeLighterAlt]].color=Ad("#eff6fc"),e[Gk[Gk.neutralLighterAlt]].isCustomized=!0,e[Gk[Gk.neutralLighter]].isCustomized=!0,e[Gk[Gk.neutralLight]].isCustomized=!0,e[Gk[Gk.neutralQuaternaryAlt]].isCustomized=!0,e[Gk[Gk.neutralDark]].isCustomized=!0,e[Gk[Gk.neutralTertiaryAlt]].isCustomized=!0,e[Gk[Gk.black]].isCustomized=!0,e[Gk[Gk.neutralDark]].isCustomized=!0,e[Gk[Gk.neutralPrimaryAlt]].isCustomized=!0,e[Gk[Gk.neutralSecondary]].isCustomized=!0,e[Gk[Gk.neutralSecondaryAlt]].isCustomized=!0,e[Gk[Gk.neutralTertiary]].isCustomized=!0,e[Gk[Gk.white]].isCustomized=!0,e[Gk[Gk.themeDarker]].isCustomized=!0,e[Gk[Gk.themeDark]].isCustomized=!0,e[Gk[Gk.themeDarkAlt]].isCustomized=!0,e[Gk[Gk.themePrimary]].isCustomized=!0,e[Gk[Gk.themeSecondary]].isCustomized=!0,e[Gk[Gk.themeTertiary]].isCustomized=!0,e[Gk[Gk.themeLight]].isCustomized=!0,e[Gk[Gk.themeLighter]].isCustomized=!0,e[Gk[Gk.themeLighterAlt]].isCustomized=!0,e}Qk.displayName="MaskedTextField",function(e){e[e.primaryColor=0]="primaryColor",e[e.backgroundColor=1]="backgroundColor",e[e.foregroundColor=2]="foregroundColor"}(Kk||(Kk={})),function(e){e[e.themePrimary=0]="themePrimary",e[e.themeLighterAlt=1]="themeLighterAlt",e[e.themeLighter=2]="themeLighter",e[e.themeLight=3]="themeLight",e[e.themeTertiary=4]="themeTertiary",e[e.themeSecondary=5]="themeSecondary",e[e.themeDarkAlt=6]="themeDarkAlt",e[e.themeDark=7]="themeDark",e[e.themeDarker=8]="themeDarker",e[e.neutralLighterAlt=9]="neutralLighterAlt",e[e.neutralLighter=10]="neutralLighter",e[e.neutralLight=11]="neutralLight",e[e.neutralQuaternaryAlt=12]="neutralQuaternaryAlt",e[e.neutralQuaternary=13]="neutralQuaternary",e[e.neutralTertiaryAlt=14]="neutralTertiaryAlt",e[e.neutralTertiary=15]="neutralTertiary",e[e.neutralSecondaryAlt=16]="neutralSecondaryAlt",e[e.neutralSecondary=17]="neutralSecondary",e[e.neutralPrimaryAlt=18]="neutralPrimaryAlt",e[e.neutralPrimary=19]="neutralPrimary",e[e.neutralDark=20]="neutralDark",e[e.black=21]="black",e[e.white=22]="white"}(Gk||(Gk={})),function(e){e[e.bodyBackground=0]="bodyBackground",e[e.bodyText=1]="bodyText",e[e.disabledBackground=2]="disabledBackground",e[e.disabledText=3]="disabledText"}(qk||(qk={}));var Zk=function(){function e(){}return e.setSlot=function(t,n,o,r,i){if(void 0===o&&(o=!1),void 0===r&&(r=!1),void 0===i&&(i=!0),t.color||!t.value)if(i){var a=void 0;if("string"==typeof n){if(!(a=Ad(n)))throw new Error("color is invalid in setSlot(): "+n)}else a=n;e._setSlot(t,a,o,r,i)}else t.color&&e._setSlot(t,t.color,o,r,i)},e.insureSlots=function(t,n){for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];if(!r.inherits&&!r.value){if(!r.color)throw new Error("A color slot rule that does not inherit must provide its own color.");e._setSlot(r,r.color,n,!1,!1)}}},e.getThemeAsJson=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];t[o.name]=o.color?o.color.str:o.value||""}return t},e.getThemeAsCode=function(t){return e._makeRemainingCode("loadTheme({\n palette: {\n",t)},e.getThemeAsCodeWithCreateTheme=function(t){return e._makeRemainingCode("const myTheme = createTheme({\n palette: {\n",t)},e.getThemeAsSass=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],r=o.name.charAt(0).toLowerCase()+o.name.slice(1);t+=ec('${0}Color: "[theme: {1}, default: {2}]";\n',r,r,o.color?o.color.str:o.value||"")}return t},e.getThemeForPowerShell=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];if(o.value)continue;var r=o.name.charAt(0).toLowerCase()+o.name.slice(1),i=o.color?"#"+o.color.hex:o.value||"";o.color&&o.color.a&&100!==o.color.a&&(i+=String(o.color.a.toString(16))),t+=ec('"{0}" = "{1}";\n',r,i)}return"@{\n"+t+"}"},e._setSlot=function(t,n,o,r,i){if(void 0===i&&(i=!0),(t.color||!t.value)&&(i||!t.color||!t.isCustomized||!t.inherits)){!i&&t.isCustomized||r||!t.inherits||!Sd(t.asShade)?(t.color=n,t.isCustomized=!0):(t.isBackgroundShade?t.color=Ed(n,t.asShade,o):t.color=Id(n,t.asShade,o),t.isCustomized=!1);for(var a=0,s=t.dependentRules;a<s.length;a++){var l=s[a];e._setSlot(l,t.color,o,!1,i)}}},e._makeRemainingCode=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];e+=ec(" {0}: '{1}',\n",o.name.charAt(0).toLowerCase()+o.name.slice(1),o.color?"#"+o.color.hex:o.value||"")}return e+=" }});"},e}(),$k=function(e,t,n){var o,r=Tl.TimeFormatRegex.exec(n)||[],i=r[1],a=r[2],s=r[3],l=r[4],c=+i,u=+a,d=s?+s:0;e&&l&&("pm"===l.toLowerCase()&&c!==Tl.OffsetTo24HourFormat?c+=Tl.OffsetTo24HourFormat:"am"===l.toLowerCase()&&c===Tl.OffsetTo24HourFormat&&(c-=Tl.OffsetTo24HourFormat)),o=t.getHours()>c||t.getHours()===c&&t.getMinutes()>u?Tl.HoursInOneDay-t.getHours()+c:Math.abs(t.getHours()-c);var p=Tl.MillisecondsIn1Sec*Tl.MinutesInOneHour*o*Tl.SecondsInOneMinute+d*Tl.MillisecondsIn1Sec,f=new Date(t.getTime()+p);return f.setMinutes(u),f.setSeconds(d),f},Jk=function(e,t,n){var o=e.toLocaleTimeString([],{hour:"numeric",minute:"2-digit",second:t?"2-digit":void 0,hour12:n});return n||"24"!==o.slice(0,2)||(o="00"+o.slice(2)),o},ex=/^((1[0-2]|0?[1-9]):([0-5][0-9]):([0-5][0-9])\s([AaPp][Mm]))$/,tx=/^((1[0-2]|0?[1-9]):[0-5][0-9]\s([AaPp][Mm]))$/,nx=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/,ox=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/,rx=function(e){var t=e.label,n=e.increments,o=void 0===n?30:n,r=e.showSeconds,i=void 0!==r&&r,a=e.allowFreeform,s=void 0===a||a,l=e.useHour12,c=void 0!==l&&l,p=e.timeRange,f=e.strings,h=void 0===f?function(e,t){var n=e?"12-hour":"24-hour",o="hh:mm".concat(t?":ss":"").concat(e?" AP":"");return{invalidInputErrorMessage:"Enter a valid time in the ".concat(n," format: ").concat(o),timeOutOfBoundsErrorMessage:"Please enter a time within the range of {0} and {1}"}}(c,i):f,m=e.defaultValue,g=e.value,v=e.dateAnchor,b=e.onChange,y=e.onFormatDate,C=e.onValidateUserInput,_=e.onValidationResult,S=Object(u.d)(e,["label","increments","showSeconds","allowFreeform","useHour12","timeRange","strings","defaultValue","value","dateAnchor","onChange","onFormatDate","onValidateUserInput","onValidationResult"]),k=d.useState(""),x=k[0],w=k[1],I=d.useState(),O=I[0],T=I[1],D=d.useState(""),P=D[0],R=D[1],M=jr(new Date),N=Uc(g,m),F=N[0],B=N[1],L=sx(o,p),A=v||g||m||M,j=d.useMemo((function(){return ix(A,"start",o,p)}),[A,o,p]),H=d.useMemo((function(){return ix(A,"end",o,p)}),[A,o,p]),z=d.useMemo((function(){for(var e=Array(L),t=0;t<L;t++)e[t]=0;return e.map((function(e,t){var n,r,a=(n=o*t,(r=new Date(j.getTime())).setTime(r.getTime()+n*Tl.MinutesInOneHour*Tl.MillisecondsIn1Sec),r);a.setSeconds(0);var s=Jk(a,i,c);return{key:s,text:y?y(a):s}}))}),[j,o,L,i,y,c]);d.useEffect((function(){if(F&&!isNaN(F.valueOf())){var e=Jk(F,i,c),t=z.find((function(t){return t.key===e}));T(null==t?void 0:t.key),w(t?t.text:e)}else T(null)}),[F,z,y,i,c]);var W=d.useCallback((function(e,t,n,o){var r,a="";if(o&&s&&!t&&(y?C&&(a=C(o)):a=function(e){var t="";if((c?i?ex:tx:i?nx:ox).test(e)){if(p&&h.timeOutOfBoundsErrorMessage){var n=$k(c,j,e);(n<j||n>H)&&(t=ec(h.timeOutOfBoundsErrorMessage,j.toString(),H.toString()))}}else t=h.invalidInputErrorMessage;return t}(o)),_&&P!==a&&_(e,{errorMessage:a}),a||void 0!==o&&!o.length){var l=o||(null==t?void 0:t.text)||"";w(l),B(a?new Date("invalid"):void 0),r=new Date("invalid")}else{l=(null==t?void 0:t.key)||o||"";var u=$k(c,j,l);B(u),r=u}null==b||b(e,r),R(a)}),[p,j,H,s,y,C,i,c,h.invalidInputErrorMessage,h.timeOutOfBoundsErrorMessage,B,_,b,P]);return d.createElement(Bp,Object(u.a)({},S,{allowFreeform:s,selectedKey:O,label:t,errorMessage:P,options:z,onChange:W,text:x,onKeyPress:function(e){var t=e.charCode;y||t>=E.zero&&t<=E.colon||t===E.space||t===E.a||t===E.m||t===E.p||e.preventDefault()},useComboBoxAsMenuWidth:!0}))};rx.displayName="TimePicker";var ix=function(e,t,n,o){var r=new Date(e.getTime());if(o){var i=ax(o),a="start"===t?i.start:i.end;r.getHours()!==a&&r.setHours(a)}else"end"===t&&r.setDate(r.getDate()+1);return r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),function(e,t){var n=new Date(e.getTime()),o=n.getMinutes();if(Tl.MinutesInOneHour%t)n.setMinutes(0);else{for(var r=Tl.MinutesInOneHour/t,i=1;i<=r;i++)if(o>t*(i-1)&&o<=t*i){o=t*i;break}n.setMinutes(o)}return n}(r,n)},ax=function(e){return{start:Math.min(Math.max(e.start,0),23),end:Math.min(Math.max(e.end,0),23)}},sx=function(e,t){var n=function(e){var t=Tl.HoursInOneDay;if(e){var n=ax(e);n.start>n.end?t=Tl.HoursInOneDay-e.start-e.end:e.end>e.start&&(t=e.end-e.start)}return t}(t);return Math.floor(Tl.MinutesInOneHour*n/e)},lx=L(),cx=d.forwardRef((function(e,t){var n=e.as,o=void 0===n?"div":n,r=e.ariaLabel,i=e.checked,a=e.className,s=e.defaultChecked,l=void 0!==s&&s,c=e.disabled,p=e.inlineLabel,f=e.label,h=e.offAriaLabel,m=e.offText,g=e.onAriaLabel,v=e.onChange,b=e.onChanged,y=e.onClick,C=e.onText,_=e.role,S=e.styles,k=e.theme,x=Uc(i,l,d.useCallback((function(e,t){null==v||v(e,t),null==b||b(t)}),[v,b])),w=x[0],I=x[1],E=lx(S,{theme:k,className:a,disabled:c,checked:w,inlineLabel:p,onOffMissing:!C&&!m}),O=w?g:h,T=wa("Toggle",e.id),D="".concat(T,"-label"),P="".concat(T,"-stateText"),R=w?C:m,M=fe(e,$,["defaultChecked"]),N=void 0;r||O||(f&&(N=D),R&&!N&&(N=P));var F=d.useRef(null);$n(F),ux(e,w,F);var B={root:{className:E.root,hidden:M.hidden},label:{children:f,className:E.label,htmlFor:T,id:D},container:{className:E.container},pill:Object(u.a)(Object(u.a)({},M),{"aria-disabled":c,"aria-checked":w,"aria-label":r||O,"aria-labelledby":N,className:E.pill,"data-is-focusable":!0,"data-ktp-target":!0,disabled:c,id:T,onClick:function(e){c||(I(!w,e),y&&y(e))},ref:F,role:_||"switch",type:"button"}),thumb:{className:E.thumb},stateText:{children:R,className:E.text,htmlFor:T,id:P}};return d.createElement(o,Object(u.a)({ref:t},B.root),f&&d.createElement(pu,Object(u.a)({},B.label)),d.createElement("div",Object(u.a)({},B.container),d.createElement("button",Object(u.a)({},B.pill),d.createElement("span",Object(u.a)({},B.thumb))),(w&&C||m)&&d.createElement(pu,Object(u.a)({},B.stateText))))}));cx.displayName="ToggleBase";var ux=function(e,t,n){d.useImperativeHandle(e.componentRef,(function(){return{get checked(){return!!t},focus:function(){n.current&&n.current.focus()}}}),[t,n])},dx=k(cx,(function(e){var t,n,o,r,i,a,s,l=e.theme,c=e.className,d=e.disabled,f=e.checked,h=e.inlineLabel,m=e.onOffMissing,g=l.semanticColors,v=l.palette,b=g.bodyBackground,y=g.inputBackgroundChecked,C=g.inputBackgroundCheckedHovered,_=v.neutralDark,S=g.disabledBodySubtext,k=g.smallInputBorder,x=g.inputForegroundChecked,w=g.disabledBodySubtext,I=g.disabledBackground,E=g.smallInputBorder,O=g.inputBorderHovered,T=g.disabledBodySubtext,D=g.disabledText;return{root:["ms-Toggle",f&&"is-checked",!d&&"is-enabled",d&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},h&&{display:"flex",alignItems:"center"},c],label:["ms-Toggle-label",{display:"inline-block"},d&&{color:D,selectors:(t={},t[p.m]={color:"GrayText"},t)},h&&!m&&{marginRight:16},m&&h&&{order:1,marginLeft:16},h&&{wordBreak:"break-word"}],container:["ms-Toggle-innerContainer",{display:"flex",position:"relative"}],pill:["ms-Toggle-background",Object(p.Q)(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid ".concat(E),background:b,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px",overflow:"visible"},!d&&[!f&&{selectors:{":hover":[{borderColor:O}],":hover .ms-Toggle-thumb":[{backgroundColor:_,selectors:(n={},n[p.m]={borderColor:"Highlight"},n)}]}},f&&[{background:y,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(o={":hover":[{backgroundColor:C,borderColor:"transparent",selectors:(r={},r[p.m]={backgroundColor:"Highlight"},r)}]},o[p.m]=Object(u.a)({backgroundColor:"Highlight"},Object(p.S)()),o)}]],d&&[{cursor:"default"},!f&&[{borderColor:T}],f&&[{backgroundColor:S,borderColor:"transparent",justifyContent:"flex-end"}]],!d&&{selectors:{"&:hover":{selectors:(i={},i[p.m]={borderColor:"Highlight"},i)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:k,borderColor:"transparent",borderWidth:6,borderStyle:"solid",boxSizing:"border-box"},!d&&f&&[{backgroundColor:x,selectors:(a={},a[p.m]={backgroundColor:"Window",borderColor:"Window"},a)}],d&&[!f&&[{backgroundColor:w}],f&&[{backgroundColor:I}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:p.l.regular}}},d&&{selectors:{"&&":{color:D,selectors:(s={},s[p.m]={color:"GrayText"},s)}}}]}}),void 0,{scope:"Toggle"}),px=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()},fx=function(){function e(){}return e.measure=function(t,n){e._timeoutId&&e.setPeriodicReset();var o=px();n();var r=px(),i=e.summary[t]||{totalDuration:0,count:0,all:[]},a=r-o;i.totalDuration+=a,i.count++,i.all.push({duration:a,timeStamp:r}),e.summary[t]=i},e.reset=function(){e.summary={},clearTimeout(e._timeoutId),e._timeoutId=NaN},e.setPeriodicReset=function(){e._timeoutId=setTimeout((function(){return e.reset()}),18e4)},e.summary={},e}(),hx=n(73),mx="undefined"!=typeof WeakMap?new WeakMap:void 0;function gx(e){var t=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.state={Component:mx?mx.get(e.load):void 0},n}return Object(u.c)(n,t),n.prototype.render=function(){var e=this.props,t=e.forwardedRef,n=e.asyncPlaceholder,o=Object(u.d)(e,["forwardedRef","asyncPlaceholder"]),r=this.state.Component;return r?d.createElement(r,Object(u.a)(Object(u.a)({},o),{ref:t})):n?d.createElement(n,null):null},n.prototype.componentDidMount=function(){var t=this;this.state.Component||e.load().then((function(n){n&&(mx&&mx.set(e.load,n),t.setState({Component:n},e.onLoad))})).catch(e.onError)},n}(d.Component);return d.forwardRef((function(e,n){return d.createElement(t,Object(u.a)({},e,{forwardedRef:n}))}))}function vx(e){throw new Error("Unexpected object: "+e)}var bx=n(105),yx="";function Cx(e){return yx+e}function _x(e){yx=e}function Sx(e){var t,n=e||Object(N.a)();n&&!0!==(null===(t=n.FabricConfig)||void 0===t?void 0:t.disableFocusRects)&&(n.__hasInitializeFocusRects__||(n.__hasInitializeFocusRects__=!0,n.addEventListener("mousedown",kx,!0),n.addEventListener("pointerdown",xx,!0),n.addEventListener("keydown",wx,!0)))}function kx(e){Object(Gn.b)(!1,e.target)}function xx(e){"mouse"!==e.pointerType&&Object(Gn.b)(!1,e.target)}function wx(e){Vn(e.which)&&Object(Gn.b)(!0,e.target)}var Ix=n(76);function Ex(e){var t=function(e){var t;"function"==typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0);return t}("MouseEvents");t.initEvent("click",!0,!0),e.dispatchEvent(t)}var Ox=function(e){var t;return function(n,o){t||(t=new Set,yt(e,{componentWillUnmount:function(){t.forEach((function(e){return clearTimeout(e)}))}}));var r=setTimeout((function(){t.delete(r),n()}),o);t.add(r)}};function Tx(e){throw new Error("setSSR has been deprecated and is not used in any utilities anymore. Use canUseDOM from @fluentui/utilities instead.")}var Dx=Object(u.a)(Object(u.a)({},Ol),{prevWeekAriaLabel:"Previous week",nextWeekAriaLabel:"Next week",prevMonthAriaLabel:"Go to previous month",nextMonthAriaLabel:"Go to next month",prevYearAriaLabel:"Go to previous year",nextYearAriaLabel:"Go to next year",closeButtonAriaLabel:"Close date picker"}),Px={leftNavigation:"ChevronLeft",rightNavigation:"ChevronRight"},Rx=L(),Mx=function(e){function t(t){var n=e.call(this,t)||this;n._dayGrid=d.createRef(),n._onSelectDate=function(e){var t=n.props.onSelectDate;n.setState({selectedDate:e}),n._focusOnUpdate=!0,t&&t(e)},n._onNavigateDate=function(e,t){var o=n.props.onNavigateDate;n.setState({navigatedDate:e}),n._focusOnUpdate=t,o&&o(e)},n._renderPreviousWeekNavigationButton=function(e){var t,o=n.props,r=o.minDate,i=o.firstDayOfWeek,a=o.navigationIcons,s=n.state.navigatedDate,l=P()?a.rightNavigation:a.leftNavigation,c=!r||Hl(r,Kl(s,i))<0;return d.createElement("button",{className:Me(e.navigationIconButton,(t={},t[e.disabledStyle]=!c,t)),disabled:!c,"aria-disabled":!c,onClick:c?n._onSelectPrevDateRange:void 0,onKeyDown:c?n._onButtonKeyDown(n._onSelectPrevDateRange):void 0,title:n._createPreviousWeekAriaLabel(),type:"button"},d.createElement(Ge,{iconName:l}))},n._renderNextWeekNavigationButton=function(e){var t,o=n.props,r=o.maxDate,i=o.firstDayOfWeek,a=o.navigationIcons,s=n.state.navigatedDate,l=P()?a.leftNavigation:a.rightNavigation,c=!r||Hl(Dl(Kl(s,i),7),r)<0;return d.createElement("button",{className:Me(e.navigationIconButton,(t={},t[e.disabledStyle]=!c,t)),disabled:!c,"aria-disabled":!c,onClick:c?n._onSelectNextDateRange:void 0,onKeyDown:c?n._onButtonKeyDown(n._onSelectNextDateRange):void 0,title:n._createNextWeekAriaLabel(),type:"button"},d.createElement(Ge,{iconName:l}))},n._onSelectPrevDateRange=function(){n.props.showFullMonth?n._navigateDate(Rl(n.state.navigatedDate,-1)):n._navigateDate(Dl(n.state.navigatedDate,-7))},n._onSelectNextDateRange=function(){n.props.showFullMonth?n._navigateDate(Rl(n.state.navigatedDate,1)):n._navigateDate(Dl(n.state.navigatedDate,7))},n._navigateDate=function(e){n.setState({navigatedDate:e}),n.props.onNavigateDate&&n.props.onNavigateDate(e)},n._onWrapperKeyDown=function(e){switch(e.which){case E.enter:case E.backspace:e.preventDefault()}},n._onButtonKeyDown=function(e){return function(t){switch(t.which){case E.enter:e()}}},n._onTouchStart=function(e){var t=e.touches[0];t&&(n._initialTouchX=t.clientX)},n._onTouchMove=function(e){var t=P(),o=e.touches[0];o&&void 0!==n._initialTouchX&&o.clientX!==n._initialTouchX&&((o.clientX-n._initialTouchX)*(t?-1:1)<0?n._onSelectNextDateRange():n._onSelectPrevDateRange(),n._initialTouchX=void 0)},n._createPreviousWeekAriaLabel=function(){var e=n.props,t=e.strings,o=e.showFullMonth,r=e.firstDayOfWeek,i=n.state.navigatedDate,a=void 0;if(o&&t.prevMonthAriaLabel)a=t.prevMonthAriaLabel+" "+t.months[Rl(i,-1).getMonth()];else if(!o&&t.prevWeekAriaLabel){var s=Kl(Dl(i,-7),r),l=Dl(s,6);a=t.prevWeekAriaLabel+" "+n._formatDateRange(s,l)}return a},n._createNextWeekAriaLabel=function(){var e=n.props,t=e.strings,o=e.showFullMonth,r=e.firstDayOfWeek,i=n.state.navigatedDate,a=void 0;if(o&&t.nextMonthAriaLabel)a=t.nextMonthAriaLabel+" "+t.months[Rl(i,1).getMonth()];else if(!o&&t.nextWeekAriaLabel){var s=Kl(Dl(i,7),r),l=Dl(s,6);a=t.nextWeekAriaLabel+" "+n._formatDateRange(s,l)}return a},n._formatDateRange=function(e,t){var o=n.props,r=o.dateTimeFormatter,i=o.strings;return"".concat(null==r?void 0:r.formatMonthDayYear(e,i)," - ").concat(null==r?void 0:r.formatMonthDayYear(t,i))},Ct(n);var o=t.initialDate&&!isNaN(t.initialDate.getTime())?t.initialDate:t.today||new Date;return n.state={selectedDate:o,navigatedDate:o,previousShowFullMonth:!!t.showFullMonth,animationDirection:t.animationDirection},n._focusOnUpdate=!1,n}return Object(u.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.initialDate&&!isNaN(e.initialDate.getTime())?e.initialDate:e.today||new Date,o=!!e.showFullMonth,r=o!==t.previousShowFullMonth?Cl.Vertical:Cl.Horizontal;return jl(n,t.selectedDate)?{selectedDate:n,navigatedDate:t.navigatedDate,previousShowFullMonth:o,animationDirection:r}:{selectedDate:n,navigatedDate:n,previousShowFullMonth:o,animationDirection:r}},t.prototype.focus=function(){this._dayGrid&&this._dayGrid.current&&this._dayGrid.current.focus()},t.prototype.render=function(){var e=this.props,t=e.strings,n=e.dateTimeFormatter,o=e.firstDayOfWeek,r=e.minDate,i=e.maxDate,a=e.restrictedDates,s=e.today,l=e.styles,c=e.theme,p=e.className,f=e.showFullMonth,h=e.weeksToShow,m=Object(u.d)(e,["strings","dateTimeFormatter","firstDayOfWeek","minDate","maxDate","restrictedDates","today","styles","theme","className","showFullMonth","weeksToShow"]),g=Rx(l,{theme:c,className:p});return d.createElement("div",{className:g.root,onKeyDown:this._onWrapperKeyDown,onTouchStart:this._onTouchStart,onTouchMove:this._onTouchMove,"aria-expanded":f},this._renderPreviousWeekNavigationButton(g),d.createElement(mc,Object(u.a)({styles:l,componentRef:this._dayGrid,strings:t,selectedDate:this.state.selectedDate,navigatedDate:this.state.navigatedDate,firstDayOfWeek:o,firstWeekOfYear:kl.FirstDay,dateRangeType:xl.Day,weeksToShow:f?h:1,dateTimeFormatter:n,minDate:r,maxDate:i,restrictedDates:a,onSelectDate:this._onSelectDate,onNavigateDate:this._onNavigateDate,today:s,lightenDaysOutsideNavigatedMonth:f,animationDirection:this.state.animationDirection},m)),this._renderNextWeekNavigationButton(g))},t.prototype.componentDidUpdate=function(){this._focusOnUpdate&&(this.focus(),this._focusOnUpdate=!1)},t.defaultProps={onSelectDate:void 0,initialDate:void 0,today:new Date,firstDayOfWeek:_l.Sunday,strings:Dx,navigationIcons:Px,dateTimeFormatter:El,animationDirection:Cl.Horizontal},t}(d.Component),Nx={root:"ms-WeeklyDayPicker-root"},Fx=k(Mx,(function(e){var t,n=e.className,o=e.theme,r=o.palette,i=Object(p.R)(Nx,o);return{root:[i.root,p.gb,{width:220,padding:12,boxSizing:"content-box",display:"flex",alignItems:"center",flexDirection:"row"},n],dayButton:{borderRadius:"100%"},dayIsToday:{},dayCell:{borderRadius:"100%!important"},daySelected:{},navigationIconButton:[Object(p.Q)(o,{inset:0}),{width:12,minWidth:12,height:0,overflow:"hidden",padding:0,margin:0,border:"none",display:"flex",alignItems:"center",backgroundColor:r.neutralLighter,fontSize:p.k.small,fontFamily:"inherit",selectors:(t={},t[".".concat(i.root,":hover &, .").concat(Gn.a," .").concat(i.root,":focus &, ")+".".concat(Gn.a," &:focus")]={height:53,minHeight:12,overflow:"initial"},t[".".concat(Gn.a," .").concat(i.root,":focus-within &")]={height:53,minHeight:12,overflow:"initial"},t["&:hover"]={cursor:"pointer",backgroundColor:r.neutralLight},t["&:active"]={backgroundColor:r.neutralTertiary},t)}],disabledStyle:{selectors:{"&, &:disabled, & button":{color:r.neutralTertiaryAlt,pointerEvents:"none"}}}}}),void 0,{scope:"WeeklyDayPicker"}),Bx=d.createContext(void 0);var Lx=function(){var e=Object(d.useContext)(Bx),t=_(["theme"]).theme;return e||t||Object(li.a)({})},Ax=n(103),jx=n(180),Hx=0,zx={reset:function(){w.b.getInstance().onReset((function(){return Hx++}))},getId:function(){return Hx},renderStyles:function(e,t){return Object(I.a)(Array.isArray(e)?e:[e],t)},renderFontFace:function(e,t){return Object(Ax.a)(e)},renderKeyframes:function(e){return Object(jx.a)(e)}};function Wx(e){var t=new Map,n=new Set,o=function(e){var r=e.currentTarget,i=r.__id__;t.delete(i),r.removeEventListener("unload",o),n.delete(i)};return function(r){void 0===r&&(r={});var i,a=r.theme,s=Mr();s&&(s.__id__=s.__id__||bn(),i=s.__id__,n.has(i)||(n.add(i),s.addEventListener("unload",o)));var l=Lx();a=a||l;var c=zx.getId(),u=[i,c,a],p=function(e,t){var n,o,r,i=t[0],a=t[1],s=t[2];return null===(r=null===(o=null===(n=e.get(i))||void 0===n?void 0:n.get(a))||void 0===o?void 0:o.get(s))||void 0===r?void 0:r.classMap}(t,u);if(Object(d.useEffect)((function(){return function(e,t){var n,o,r=t[0],i=t[1],a=t[2],s=null===(o=null===(n=e.get(r))||void 0===n?void 0:n.get(i))||void 0===o?void 0:o.get(a);s&&s.refCount++}(t,[i,c,a]),function(){return function(e,t){var n,o,r,i,a,s,l,c,u=t[0],d=t[1],p=t[2],f=null===(o=null===(n=e.get(u))||void 0===n?void 0:n.get(d))||void 0===o?void 0:o.get(p);f&&(f.refCount--,0===f.refCount&&(null===(i=null===(r=e.get(u))||void 0===r?void 0:r.get(d))||void 0===i||i.delete(p),0===(null===(s=null===(a=e.get(u))||void 0===a?void 0:a.get(d))||void 0===s?void 0:s.size)&&(null===(l=e.get(u))||void 0===l||l.delete(d),0===(null===(c=e.get(u))||void 0===c?void 0:c.size)&&e.delete(u))))}(t,[i,c,a])}}),[i,c,a]),!p){var f=function(e){return"function"==typeof e}(e)?e(a):e;p=zx.renderStyles(f,{targetWindow:s,rtl:!!a.rtl}),function(e,t,n){var o,r,i=t[0],a=t[1],s=t[2],l=null!==(o=e.get(i))&&void 0!==o?o:new Map;e.set(i,l);var c=null!==(r=l.get(a))&&void 0!==r?r:new Map;l.set(a,c),c.set(s,{classMap:n,refCount:0})}(t,u,p)}return p}}var Vx=Wx((function(e){var t=e.semanticColors,n=e.fonts;return{body:[{color:t.bodyText,background:t.bodyBackground,fontFamily:n.medium.fontFamily,fontWeight:n.medium.fontWeight,fontSize:n.medium.fontSize,MozOsxFontSmoothing:n.medium.MozOsxFontSmoothing,WebkitFontSmoothing:n.medium.WebkitFontSmoothing}]}}));function Ux(e){var t=Vx(e),n=e.className,o=e.applyTo;!function(e,t){var n,o="body"===e.applyTo,r=null===(n=Nr())||void 0===n?void 0:n.body;d.useEffect((function(){if(o&&r){for(var e=0,n=t;e<n.length;e++){var i=n[e];i&&r.classList.add(i)}return function(){if(o&&r)for(var e=0,n=t;e<n.length;e++){var i=n[e];i&&r.classList.remove(i)}}}}),[o,r,t])}(e,[t.root,t.body]),e.className=Me(n,t.root,"element"===o&&t.body)}var Kx,Gx,qx,Yx=function(e){var t=e.customizerContext,n=e.ref,o=e.theme,r=e.as||"div",i="string"==typeof e.as?Yf(e.as,e):e.as===d.Fragment?{children:e.children}:go(e,["as"]);return d.createElement(Bx.Provider,{value:o},d.createElement(C.Provider,{value:t},d.createElement(ri,{providerRef:n},d.createElement(r,Object(u.a)({},i)))))},Qx=n(72),Xx=new Map,Zx=function(e){var t=e.theme,n=Lx(),o=e.theme=d.useMemo((function(){var e=Object(Qx.a)(n,t);return e.id=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],o=0,r=e;o<r.length;o++){var i=r[o];if(i){var a=i.id||Xx.get(i);a||(a=bn(""),Xx.set(i,a)),n.push(a)}}return n.join("-")}(n,t),e}),[n,t]);e.customizerContext=d.useMemo((function(){return{customizations:{inCustomizerContext:!0,settings:{theme:o},scopedSettings:o.components||{}}}}),[o]),e.theme.rtl!==n.rtl&&(e.dir=e.theme.rtl?"rtl":"ltr")},$x=d.forwardRef((function(e,t){var n=function(e,t){var n=H(t,e);return Zx(n),{state:n,render:Yx}}(e,{ref:Ie(t,d.useRef(null)),as:"div",applyTo:"element"}),o=n.render,r=n.state;return Ux(r),o(r)}));$x.displayName="ThemeProvider",function(e){e.shade30="#004578",e.shade20="#005a9e",e.shade10="#106ebe",e.primary="#0078d4",e.tint10="#2b88d8",e.tint20="#c7e0f4",e.tint30="#deecf9",e.tint40="#eff6fc"}(Kx||(Kx={})),function(e){e.black="#000000",e.gray220="#11100f",e.gray210="#161514",e.gray200="#1b1a19",e.gray190="#201f1e",e.gray180="#252423",e.gray170="#292827",e.gray160="#323130",e.gray150="#3b3a39",e.gray140="#484644",e.gray130="#605e5c",e.gray120="#797775",e.gray110="#8a8886",e.gray100="#979593",e.gray90="#a19f9d",e.gray80="#b3b0ad",e.gray70="#bebbb8",e.gray60="#c8c6c4",e.gray50="#d2d0ce",e.gray40="#e1dfdd",e.gray30="#edebe9",e.gray20="#f3f2f1",e.gray10="#faf9f8",e.white="#ffffff"}(Gx||(Gx={})),function(e){e.pinkRed10="#750b1c",e.red20="#a4262c",e.red10="#d13438",e.redOrange20="#603d30",e.redOrange10="#da3b01",e.orange30="#8e562e",e.orange20="#ca5010",e.orange10="#ffaa44",e.yellow10="#fce100",e.orangeYellow20="#986f0b",e.orangeYellow10="#c19c00",e.yellowGreen10="#8cbd18",e.green20="#0b6a0b",e.green10="#498205",e.greenCyan10="#00ad56",e.cyan40="#005e50",e.cyan30="#005b70",e.cyan20="#038387",e.cyan10="#00b7c3",e.cyanBlue20="#004e8c",e.cyanBlue10="#0078d4",e.blue10="#4f6bed",e.blueMagenta40="#373277",e.blueMagenta30="#5c2e91",e.blueMagenta20="#8764b8",e.blueMagenta10="#8378de",e.magenta20="#881798",e.magenta10="#c239b3",e.magentaPink20="#9b0062",e.magentaPink10="#e3008c",e.gray40="#393939",e.gray30="#7a7574",e.gray20="#69797e",e.gray10="#a0aeb2"}(qx||(qx={}));var Jx,ew,tw,nw=n(104),ow=n(38),rw=Object(li.a)({}),iw=n(5),aw=Object(jx.a)({from:{opacity:0},to:{opacity:1}}),sw=Object(jx.a)({from:{opacity:1},to:{opacity:0}}),lw=Object(jx.a)({from:{transform:"scale3d(1.15, 1.15, 1)"},to:{transform:"scale3d(1, 1, 1)"}}),cw=Object(jx.a)({from:{transform:"scale3d(1, 1, 1)"},to:{transform:"scale3d(0.9, 0.9, 1)"}}),uw=Object(jx.a)({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(-48px, 0, 0)"}}),dw=Object(jx.a)({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(48px, 0, 0)"}}),pw=Object(jx.a)({from:{transform:"translate3d(48px, 0, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),fw=Object(jx.a)({from:{transform:"translate3d(-48px, 0, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),hw=Object(jx.a)({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(0, -48px, 0)"}}),mw=Object(jx.a)({from:{transform:"translate3d(0, 0, 0)"},to:{transform:"translate3d(0, 48px, 0)"}}),gw=Object(jx.a)({from:{transform:"translate3d(0, 48px, 0)"},to:{transform:"translate3d(0, 0, 0)"}}),vw=Object(jx.a)({from:{transform:"translate3d(0, -48px, 0)"},to:{transform:"translate3d(0, 0, 0)"}});function bw(e,t,n){return"".concat(e," ").concat(t," ").concat(n)}!function(e){e.duration1="100ms",e.duration2="200ms",e.duration3="300ms",e.duration4="400ms"}(Jx||(Jx={})),function(e){e.accelerate="cubic-bezier(0.9, 0.1, 1, 0.2)",e.decelerate="cubic-bezier(0.1, 0.9, 0.2, 1)",e.linear="cubic-bezier(0, 0, 1, 1)",e.standard="cubic-bezier(0.8, 0, 0.2, 1)"}(ew||(ew={})),function(e){e.fadeIn=bw(aw,Jx.duration1,ew.linear),e.fadeOut=bw(sw,Jx.duration1,ew.linear),e.scaleDownIn=bw(lw,Jx.duration3,ew.decelerate),e.scaleDownOut=bw(cw,Jx.duration3,ew.decelerate),e.slideLeftOut=bw(uw,Jx.duration1,ew.accelerate),e.slideRightOut=bw(dw,Jx.duration1,ew.accelerate),e.slideLeftIn=bw(pw,Jx.duration1,ew.decelerate),e.slideRightIn=bw(fw,Jx.duration1,ew.decelerate),e.slideUpOut=bw(hw,Jx.duration1,ew.accelerate),e.slideDownOut=bw(mw,Jx.duration1,ew.accelerate),e.slideUpIn=bw(gw,Jx.duration1,ew.decelerate),e.slideDownIn=bw(vw,Jx.duration1,ew.decelerate)}(tw||(tw={}));var yw=n(28);Object(yw.a)("@fluentui/react","8.110.10")},,,,,,,,,,,,,function(e,t,n){"use strict"; </p>

Asked by cristinah.donna 5 izinyanga ezidlule

Last reply by Richard Stenquist 10 amahora adlule

Super + key behavior

Hello there. I'm used to pressing Super(Win key) + Grave(`) to type "`" because the Grave key itself is a global shortcut for opening the terminal window. It works as exp… (funda kabanzi)

Hello there. I'm used to pressing Super(Win key) + Grave(`) to type "`" because the Grave key itself is a global shortcut for opening the terminal window. It works as expected in the other applications, but not in Firefox input fields. If the site is capturing the key presses, it will handle the super + key as usual. For example, GitHub will surround the selected word with ` symbols on grave key press. This problem is not limited to super + grave, but any other letter. For example, Super + q is expected to produce the letter "q", but in Firefox it produces nothing.

I'm trying to identify why the Super + key behavior in Firefox is different from other systems and if I should open a bug or not. Maybe this is the same bug as https://bugzilla.mozilla.org/show_bug.cgi?id=1626609. Thunderbird has the same problem.

Firefox: 123.0.1

Asked by tenor 1 usuku oludlule

Last reply by cor-el 10 amahora adlule

Autofill Passwords on Firefox for iOS

I recently strengthened all my passwords. I used FF on my Mac to accomplish the task and synced the new passwords to Firefox for iOs on my iPhone. I hit the button for … (funda kabanzi)

I recently strengthened all my passwords. I used FF on my Mac to accomplish the task and synced the new passwords to Firefox for iOs on my iPhone. I hit the button for autofill passwords, but autofill doesn't work. Often I get a message saying I must have a "passcode-enabled" device. I have that, if they mean the passcode for starting the iPhone after it's been turned off. Wassa matta? Thank you.

Asked by Richard Stenquist 10 amahora adlule

Running the same 4 programs on 3 different PCs in different places, and need to remove one program in one PC.

I'm using Thunderbird 115.8.1 in 3 similar PCs in 3 different places, all running the same 4 programs. I need to remove just one of the programs from one of the PCs. W… (funda kabanzi)

I'm using Thunderbird 115.8.1 in 3 similar PCs in 3 different places, all running the same 4 programs.

I need to remove just one of the programs from one of the PCs.

Will this do any damage to any of the 4 programs still running in the other 2 PCs?

Asked by robert.hyman1 11 amahora adlule

Bookmark Spacing too much since going from Win7 to Windows 10

I recently upgraded from Window 7 to windows 10. Ever since, the spacing between the bookmarks has significantly increased. I read several post about this and they all … (funda kabanzi)

I recently upgraded from Window 7 to windows 10. Ever since, the spacing between the bookmarks has significantly increased. I read several post about this and they all seem to be looking for something in Firefox. I think it has to do with something in windows 10, not Firefox. Any ideas? I've already done the Density/Compact thing. Slight improvement, but not anything like it was under Window 7.

Asked by Stumann666 1 usuku oludlule

Last reply by cor-el 11 amahora adlule