....................................../////.===Hehe-Here===./////................................................ > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < ------------------------------------------------------------------------------------------------------------------- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// RIFF¤ WEBPVP8 ˜ ðÑ *ôô>‘HŸK¥¤"§£±¨àð enü¹%½_F‘åè¿2ºQú³íªú`N¿­3ÿƒügµJžaÿ¯ÿ°~¼ÎùnúîÞÖô•òíôÁÉß®Sm¥Ü/ ‡ó˜f£Ùà<˜„xëJ¢Ù€SO3x<ªÔ©4¿+ç¶A`q@Ì“Úñè™ÍÿJÌ´ª-˜ÆtÊÛL]Ïq*‘Ý”ì#ŸÌÏãY]@ê`¿ /ªfkØB4·®£ó z—Üw¥Pxù–ÞLШKÇN¾AkÙTf½è'‰g gÆv›Øuh~ a˜Z— ïj*á¥t d£“uÒ ¨`K˜¹ßþ]b>˜]_ÏÔ6W—è2r4x•íÖ…"ƒÖNîä!¦å Ú}ýxGøÌ —@ ;ÆÚŠ=ɾ1ý8lªË¥ô ^yf®Œ¢u&2©nÙÇ›ñÂñŒ³ aPo['½»øFùà­+4ê“$!lövlüÞ=;N®3ð‚õ›DÉKòÞ>ÄÍ ¥ˆuߤ#ˆ$6ù™¥îЇy’ÍB¼ çxÛ;X"WL£R÷͝*ó-¶Zu}º.s¸sšXqù–DþÿvªhüïwyŸ ¯é³lÀ:KCûÄ£Ëá\…­ ~—ýóî ¼ûûÜTÓüÇy…ŽÆvc»¾×U ñ¸žþоP÷¦ó:Ò¨¨5;Ð#&#ÖúñläÿÁœ GxÉ­/ñ‡áQðìYÉtÒw޼GÔ´zàÒò ð*ëzƒ•4~H]Ø‹f ñÓÈñ`NåWçs'ÆÏW^ø¹!XžµmQ5ÃËoLœÎ: ÞËÍ¥J ù…î èo£ßPÎñ¶ž8.Œ]ʵ~5›ÙË-ù*8ÙÖß±~ ©¹rÓê‚j¶d¸{^Q'˜±Crß ÚH—#¥¥QlÀ×ëã‡DÜ«èî þ&Çæžî;ŽÏºò6ÒLÃXy&ZŒ'j‚¢Ù€IßÚù+–MGi‰*jE€‘JcÜ ÓÌ EÏÚj]o˜ Þr <¾U ûŪæÍ/šÝH¥˜b”¼ ÁñßX GP›ï2›4WŠÏà×£…íÓk†¦H·ÅíMh–*nó÷à]ÁjCº€b7<ب‹¨5車bp2:Á[UªM„QŒçiNMa#<5›áËó¸HýÊ"…×Éw¹¦ì2º–x<›»a±¸3Weü®FÝ⑱ö–î–³|LPÈ~çð~Çå‡|º kD¢µÏàÆAI %1À% ¹Ò – ”ϝS¦‰4&¶£°à Öý”û_Ò Áw°A«Å€?mÇÛgHÉ/8)á¾ÛìáöŽP í¨PŸNÙµº¦‡§Ùš"ÿ«>+ªÕ`Ê÷‡‚ß Õû˜þãÇ-PÍ.¾XV‘€ dÜ"þ4¹ ±Oú‘©t¥¦FªÄÃÄ•b‚znýu½—#cDs˜ÃiÑOˆñ×QO=*IAÊ,¶ŽZƒ;‡wøXè%EÐk:F±Ú” .Ѽ+Áu&Ç`."pÈÉw o&¿dE6‘’EqTuK@Ì¥ã™À(Êk(h‰,H}RÀIXÛš3µ1©_OqÚÒJAñ$ÊÙÜ;D3çŒ[þùœh¬Ã³™ö6ç†NY".Ú‰ï[ªŸŒ '²Ð öø_¨ÂÉ9ué¶³ÒŠõTàîMØ#û¯gN‡bÙ놚X„ö …ÉeüÌ^J ‹€.œ$Æ)βÄeæW#óüßĺŸ€ ÀzwV 9oä»f4V*uB «Ë†¹ì¯žR霓æHXa=&“I4K;¯ç‹h×·"UŠ~<•╪Vêª&ÍSÃÆÅ?ÔqÎ*mTM ˜›µwêd#[C¡©§‘D<©àb†–ÁœøvH/,í:¯( ²£|4-„Æövv„Yͼ™^Á$ˆ„¢Û[6yB.åH*V¨æ?$=˜Ñ€•ñ·­(VlŸ‘ nÀt8W÷´Bûba?q9ú¶Xƒl«ÿ\ù¶’þòUÐj/õ¢Ìµ³g$ƒÎR!¸»|Oߍë’BhîÚÑ¢ñåŒJ„®„£2Ð3•ô02Nt…!£Í]Ïc½Qÿ?ˆ<&ÃA¾Ú,JˆijÌ#5yz„‰Î|ÊŽ5QÏ:‹ÐaóVÔxW—CpeÏzÐïíçôÿÅ_[hãsÐ_/ŽTÝ?BîˆííV$<¿i>²F¬_Eß¿ †bÊŒº­ÿ®Z H“C}”¬,Mp ý/Bá£w>˜YV°aƒúh+cŠ- r/[%|üUMHäQ°X»|û/@|°¥Ð !BÔ Ç¢Ä©š+Õì D«7ìN¶ŽðÔ " ƶ’ÖçtA‰Û×}{tþz­¾GÍ›k¹OEJR$ Â׃ «ëÁ"oÉôž$oUK(Ä)Ãz³Ê-‹êN[Ò3Œñbï8P 4ƒ×q¢bo|?<ÛX¬òÄͰL–±›(™ûG?ýË©ÚÄ–ÂDØÐ_Ç¡ô ¾–ÄÏø ×e8Ë©$ÄF¹Å‹ì[©óìl:F¾f´‹‹Xì²ï®\¬ôùƒ ÿat¥óèÒùHß0äe‚;ü×h:ÆWðHž=Ã8骣"kœ'Y?³}Tûè€>?0l›e1Lòñ„aæKÆw…hÖŠùW…ÈÆÄ0ši·›[pcwËþñiêíY/~-Á5˜!¿†A›™Mÿþ(±“t@â“ö2­´TG5yé]çå僳 .·ÍïçÝ7UÚ±Ð/Nè»,_Ï ùdj7\ï Wì4›„»c¸àešg#ÒÊ⥭áØo5‘?ÌdÝô¯ ¹kzsƒ=´#ëÉK›Ø´±-¥eW?‡çßtòTã…$Ý+qÿ±ƒ÷_3Ô¥í÷:æ–ž<·Ö‡‰Å¢ š‡%Ô—utÌÈìðžgÖÀz²À—ï÷Óîäõ{K'´È÷³yaÏÁjƒô}ž§®æÊydÕÈë5¯èˆõvÕ©ã*çD„ “z„Ó‡^^xÂ3M§A´JG‚öï 3W'ˆ.OvXè¡ÊÕª?5º7†˜(˜Ç¶#çê’¶!ÌdZK§æ 0fãaN]òY³RV ™î$®K2R¨`W!1Ôó\;Ý ýB%qæK•&ÓÈe9È0êI±žeŸß -ú@žQr¦ ö4»M¼Áè¹µmw 9 EÆE_°2ó„ŸXKWÁ×Hóì^´²GѝF©óäR†¦‰ç"V»eØ<3ùd3ÿÚ¤Žú“Gi" —‘_ÙËÎ~Üö¯¥½Î»üŸEÚŽåmÞþí ;ÞólËΦMzA"Âf(´òá;Éï(/7½ûñÌ­cïÕçлþÝz¾-ÍvÑ“pH­–ðÓj$¸Äû¤‚‘ãUBË-n“2åPkS5&‹Â|+g^œ®Ì͆d!OïäîU«c;{Û!ÅŽ«ëZ9Ókóˆ]¯ƒ›né `ÇÒ+tÆš (ØKá¾—=3œ®•vuMñg²\ï Ec€ 05±d™‡×iÇ×›UúvÌ¢£Èþ¡ÕØô¶ßÎA"ß±#Ö²ˆÊŸ¦*Ä~ij|àø.-¼'»Ú¥£h ofº¦‡VsR=N½„Î v˜Z*SÌ{=jÑB‹tê…;’HžH¯8–îDù8ñ¢|Q•bÛçš–‹m³“ê¨ åÏ^m¬Žãþ©ïêO‡½6] µÆ„Ooòü ²x}N¦Ë3ïé¿»€›HA˜m%çÞ/¿í7Fø“‹léUk)É°Œµ8Q8›:ÀŠeT*šõ~ôڝG6 ¢}`ùH­–”¡k ‰P1>š†®9z11!X wKfmÁ¦xÑ,N1Q”–æB¶M…ÒÃv6SMˆhU¬ÊPŽï‘öj=·CŒ¯u¹ƒVIЃsx4’ömÛýcå¡¶7ßŠß 57^\wÒÐÆ k§h,Œý î«q^R½3]J¸ÇðN ‚çU¬ôº^Áì} ³f©Õœ§ˆã:FÄÈ‚é(€™?àýÓüè1Gô£¼éj‚OÅñ  #>×—ßtà 0G¥Åa뀐kßhc™À_ÉñÞ#±)GD" YîäË-ÿÙ̪ ¹™a¯´¢E\ÝÒö‚;™„ë]_ p8‰o¡ñ+^÷ 3‘'dT4œŽ ðVë½° :¬víÑ«£tßÚS-3¶“þ2 †üüʨòrš¹M{É_¤`Û¨0ìjœøJ‡:÷ÃáZ˜†@GP&œÑDGÏs¡þ¦þDGú‘1Yá9Ôþ¼ ûø…§÷8&–ÜÑnÄ_m®^üÆ`;ÉVÁJ£?â€-ßê}suÍ2sõA NÌúA磸‘îÿÚ»ƒìö·á¿±tÑÐ"Tÿü˜[@/äj¬€uüªìù¥Ý˜á8Ý´sõj 8@rˆð äþZÇD®ÿUÏ2ùôõrBzÆÏÞž>Ì™xœ“ wiÎ×7_… ¸ \#€MɁV¶¥üÕÿPÔ9Z‡ø§É8#H:ƒ5ÀÝå9ÍIŒ5åKÙŠ÷qÄ>1AÈøžj"µÂд/ªnÀ qªã}"iŸBå˜ÓÛŽ¦…&ݧ;G@—³b¯“•"´4í¨ôM¨åñC‹ïùÉó¯ÓsSH2Ý@ßáM‡ˆKÀªÛUeø/4\gnm¥‹ŸŒ qÄ b9ÞwÒNÏ_4Ég³ú=܆‚´ •â¥õeíþkjz>éÚyU«Íӝ݃6"8/ø{=Ô¢»G¥ äUw°W«,ô—¿ãㆅү¢³xŠUû™yŒ (øSópÐ 9\åTâ»—*oG$/×ÍT†Y¿1¤Þ¢_‡ ¼ „±ÍçèSaÓ 3ÛMÁBkxs‰’R/¡¤ˆÙçª(*õ„üXÌ´ƒ E§´¬EF"Ù”R/ÐNyÆÂ^°?™6¡œïJ·±$§?º>ÖüœcNÌù¯G ‹ñ2ЁBB„^·úìaz¨k:#¨Æ¨8LÎõލ£^§S&cŒÐU€ü(‡F±Š¼&P>8ÙÁ ‰ p5?0ÊÆƒZl¸aô š¼¡}gÿ¶zÆC²¹¬ÎÖG*HB¡O<º2#ñŒAƒ–¡B˜´É$¥›É:FÀÔx¾u?XÜÏÓvN©RS{2ʈãk9rmP¼Qq̳ è¼ÐFׄ^¡Öì fE“F4A…!ì/…¦Lƒ… … $%´¾yã@CI¬ á—3PþBÏNÿ<ý°4Ü ËÃ#ØÍ~âW«rEñw‹eùMMHß²`¬Öó½íf³:‹k˜¯÷}Z!ã¿<¥,\#öµÀ¯aÒNÆIé,Ћ–lŽ#Àæ9ÀÒS·I’½-Ïp Äz¤Š Â* ­íÄ9­< h>׍3ZkËU¹§˜ŒŠ±f­’¤º³Q ÏB?‹#µíÃ¥®@(Gs«†vI¥Mµ‹Á©e~2ú³ÁP4ìÕi‚²Ê^ö@-DþÓàlÜOÍ]n"µã:žpsŽ¢:! Aõ.ç~ÓBûH÷JCÌ]õVƒd «ú´QÙEA–¯¯Œ!.ˆˆëQ±ù œ·Ì!Õâ )ùL„ÅÀlÚè5@B…o´Æ¸XÓ&Û…O«˜”_#‡ƒ„ûÈt!¤ÁÏ›ÎÝŠ?c9 â\>lÓÁVÄÑ™£eØY]:fÝ–—ù+p{™ðè û³”g±OƒÚSù£áÁÊ„ä,ï7š²G ÕÌBk)~ÑiCµ|h#u¤¶îK¨² #²vݯGãeÖ϶ú…¾múÀ¶þÔñ‚Š9'^($¤§ò “š½{éúp÷J›ušS¹áªCÂubÃH9™D™/ZöØÁ‡¦ÝÙŸ·kð*_”.C‹{áXó€‡c¡c€§/šò/&éš÷,àéJþ‰X›fµ“C¨œ®r¬"kL‰Â_q…Z–.ÉL~O µ›zn‚¹À¦Öª7\àHµšÖ %»ÇníV[¥*Õ;ƒ#½¾HK-ÖIÊdÏEÚ#=o÷Óò³´Š: Ç?{¾+9›–‘OEáU·S€˜j"ÄaÜ ŒÛWt› á–c#a»pÔZÞdŽtWê=9éöÊ¢µ~ ë ;Öe‡Œ®:bî3±ýê¢wà¼îpêñ¹¾4 zc¾ðÖÿzdêŒÑÒŝÀ‰s6¤í³ÎÙB¿OZ”+F¤á‡3@Ñëäg©·Ž ˆèª<ù@É{&S„œÕúÀA)‰h:YÀ5^ÂÓŒ°õäU\ ùËÍû#²?Xe¬tu‰^zÒÔãë¼ÛWtEtû …‚g¶Úüâî*moGè¨7%u!]PhÏd™Ý%Îx: VÒ¦ôÊD3ÀŽKÛËãvÆî…N¯ä>Eró–ð`5 Œ%u5XkñÌ*NU%¶áœÊ:Qÿú»“úzyÏ6å-၇¾ ´ ÒÊ]y žO‘w2Äøæ…H’²f±ÎÇ.ª|¥'gîV•Ü .̘¯€šòü¤U~Ù†*¢!?ò wý,}´°ÔÞnïoKq5µb!áÓ3"vAßH¡³¡·G(ÐÎ0Îò¼MG!/ài®@—¬04*`…«é8ªøøló“ˆÊ”èù¤…ßÊoÿé'ËuÌÖ5×È¡§ˆˆfŽë9}hìâ_!!¯  B&Ëö¶‰ÀAÙNVŸ Wh›¸®XÑJì¨ú“¿÷3uj²˜¨ÍÎìë±aúŠÝå¯ð*Ó¨ôJ“yºØ)m°WýOè68†ŸÏ2—‰Ïüꪫٚ¥‹l1 ø ÏÄFjêµvÌbü¦èÝx:X±¢H=MÐß—,ˆÉÇ´(9ú¾^ÅÚ4¿m‡$âX‘å%(AlZo@½¨UOÌÕ”1ø¸jÎÀÃÃ_ µ‘Ü.œº¦Ut: Æï’!=¯uwû#,“pþÇúŒø(é@?³ü¥‘Mo §—s@Œ#)§ŒùkL}NOÆêA›¸~r½¼ÙA—HJ«eˆÖ´*¡ÓpÌŸö.m<-"³ûÈ$¬_6­åf£ïÚâj1y§ÕJ½@dÞÁr&Í\Z%D£Íñ·AZ Û³øüd/ªAi†/Й~  ‡âĮҮÏh§°b—›Û«mJžòG'[ÈYýŒ¦9psl ýÁ ®±f¦x,‰½tN ‚Xª9 ÙÖH.«Lo0×?͹m¡å†Ѽ+›2ƒF ±Ê8 7Hցϓ²Æ–m9…òŸï]Â1äN†VLâCˆU .ÿ‰Ts +ÅÎx(%¦u]6AF Š ØF鈄‘ |¢¶c±soŒ/t[a¾–û:s·`i햍ê›ËchÈ…8ßÀUÜewŒðNOƒõD%q#éû\9¤x¹&UE×G¥ Í—™$ð E6-‡¼!ýpãÔM˜ Âsìe¯ñµK¢Ç¡ùôléœ4Ö£”À Š®Ðc ^¨À}ÙËŸ§›ºê{ÊuÉC ×Sr€¤’fÉ*j!úÓ’Gsùìoîßîn%ò· àc Wp÷$¨˜)û»H ×8ŽÒ€Zj¤3ÀÙºY'Ql¦py{-6íÔCeiØp‘‡XÊîÆUߢ܂ž£Xé¼Y8þ©ëgñß}é.ÎógÒ„ÃØËø¯»™§Xýy M%@NŠ À(~áÐvu7&•,Ù˜ó€uP‡^^®=_E„jt’ 403WebShell
403Webshell
Server IP : 172.67.169.23  /  Your IP : 216.73.217.46
Web Server : nginx/1.28.3
System : Linux 4e27b89abc44 6.8.0-147-generic #147-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 24 11:33:16 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /sites/xo-fab.com/www/graphmailerwp/wp-content/plugins/wpo365-msgraphmailer/apps/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /sites/xo-fab.com/www/graphmailerwp/wp-content/plugins/wpo365-msgraphmailer/apps/dist/wizard.js
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=258)}([function(e,t,n){"use strict";e.exports=n(177)},function(e,t,n){"use strict";var o,r;n.d(t,"g",(function(){return w})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return o})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return g})),n.d(t,"k",(function(){return i})),n.d(t,"l",(function(){return b})),n.d(t,"m",(function(){return v})),n.d(t,"n",(function(){return f})),n.d(t,"o",(function(){return c})),n.d(t,"p",(function(){return m})),n.d(t,"q",(function(){return h})),n.d(t,"r",(function(){return p})),n.d(t,"f",(function(){return r})),function(e){e.mailIntegration="mailIntegration",e.wpo365Essentials="wpo365Essentials",e.wpo365Apps="wpo365Apps",e.wpo365Avatar="wpo365Avatar",e.wpo365Customers="wpo365Customers",e.wpo365CustomFields="wpo365CustomFields",e.wpo365Groups="wpo365Groups",e.wpo365Intranet5y="wpo365Intranet5y",e.wpo365Login="wpo365Login",e.wpo365LoginIntranet="wpo365LoginIntranet",e.wpo365LoginPlus="wpo365LoginPlus",e.wpo365LoginPremium="wpo365LoginPremium",e.wpo365LoginProfessional="wpo365LoginProfessional",e.wpo365Mail="wpo365Mail",e.wpo365MsGraphMailer="wpo365MsGraphMailer",e.wpo365RolesAccess="wpo365RolesAccess",e.wpo365Scim="wpo365Scim",e.wpo365Sync5y="wpo365Sync5y",e.wpo365Integrate="wpo365Integrate",e.wpo365Pro="wpo365Pro"}(o||(o={})),function(e){e.mailIntegration="mail_integration_365/mail_integration_365.php",e.wpo365Essentials="wpo365-essentials/wpo365-essentials.php",e.wpo365Apps="wpo365-apps/wpo365-apps.php",e.wpo365Avatar="wpo365-avatar/wpo365-avatar.php",e.wpo365Customers="wpo365-customers/wpo365-customers.php",e.wpo365CustomFields="wpo365-custom-fields/wpo365-custom-fields.php",e.wpo365Groups="wpo365-groups/wpo365-groups.php",e.wpo365Integrate="wpo365-integrate/wpo365-integrate.php",e.wpo365Intranet5y="wpo365-intranet-5y/wpo365-intranet-5y.php",e.wpo365Login="wpo365-login/wpo365-login.php",e.wpo365LoginIntranet="wpo365-login-intranet/wpo365-login.php",e.wpo365LoginPlus="wpo365-login-plus/wpo365-login.php",e.wpo365LoginPremium="wpo365-login-premium/wpo365-login.php",e.wpo365LoginProfessional="wpo365-login-professional/wpo365-login.php",e.wpo365Mail="wpo365-mail/wpo365-mail.php",e.wpo365MsGraphMailer="wpo365-msgraphmailer/wpo365-msgraphmailer.php",e.wpo365Pro="wpo365-pro/wpo365-pro.php",e.wpo365RolesAccess="wpo365-roles-access/wpo365-roles-access.php",e.wpo365Scim="wpo365-scim/wpo365-scim.php",e.wpo365Sync5y="wpo365-sync-5y/wpo365-sync-5y.php"}(r||(r={}));var i,a,s,l,c,u,d,p,m,h,f,g,b,v,y,w={wpo365Essentials:{name:"ESSENTIALS",url:"https://www.wpo365.com/downloads/wpo365-essentials/"},wpo365Apps:{name:"M365 APPS",url:"https://www.wpo365.com/downloads/wpo365-microsoft-365-apps/"},wpo365Avatar:{name:"AVATAR",url:"https://www.wpo365.com/downloads/wpo365-avatar/"},wpo365Customers:{name:"CUSTOMERS",url:"https://www.wpo365.com/downloads/wpo365-customers/"},wpo365CustomFields:{name:"CUSTOM USER FIELDS",url:"https://www.wpo365.com/downloads/wpo365-custom-user-fields/"},wpo365Groups:{name:"(itthinx) GROUPS",url:"https://www.wpo365.com/downloads/wpo365-groups/"},wpo365Login:{name:"LOGIN",url:"https://wordpress.org/plugins/wpo365-login/"},wpo365LoginIntranet:{name:"INTRANET",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-intranet/"},wpo365LoginPlus:{name:"PROFILE+",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-plus/"},wpo365LoginPremium:{name:"SYNC",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-premium/"},wpo365LoginProfessional:{name:"LOGIN+",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-professional/"},wpo365Mail:{name:"MAIL",url:"https://www.wpo365.com/downloads/wpo365-mail/"},wpo365RolesAccess:{name:"ROLES + ACCESS",url:"https://www.wpo365.com/downloads/wpo365-roles-access/"},wpo365Scim:{name:"SCIM",url:"https://www.wpo365.com/downloads/wpo365-scim/"},wpo365Sync5y:{name:"SYNC | 5Y",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-premium-5y/"},wpo365Intranet5y:{name:"INTRANET | 5Y",url:"https://www.wpo365.com/downloads/wordpress-office-365-login-intranet-5y/"},wpo365Integrate:{name:"INTEGRATE",url:"https://www.wpo365.com/downloads/wpo365-integrate/"},wpo365Pro:{name:"PROFESSIONAL",url:"https://www.wpo365.com/downloads/wpo365-professional/"}};!function(e){e.current="current",e.beta="beta"}(i||(i={})),function(e){e.locally="locally",e.remotely="remotely",e.both="both"}(a||(a={})),function(e){e.internet="internet",e.intranet="intranet",e.internetAuthOnly="internetAuthOnly",e.intranetAuthOnly="intranetAuthOnly"}(s||(s={})),function(e){e.graph="graph",e.idToken="idToken",e.samlResponse="samlResponse",e.scim="scim"}(l||(l={})),function(e){e.replace="replace",e.add="add",e.skip="skip"}(c||(c={})),function(e){e[e.initial=0]="initial",e[e.error=1]="error",e[e.success=2]="success"}(u||(u={})),function(e){e[e.initial=0]="initial",e[e.error=1]="error",e[e.success=2]="success"}(d||(d={})),function(e){e[e.initial=0]="initial",e[e.testing=1]="testing",e[e.tested=2]="tested",e[e.error=3]="error",e[e.success=4]="success"}(p||(p={})),function(e){e[e.initial=0]="initial",e[e.saving=1]="saving",e[e.saved=2]="saved",e[e.error=3]="error",e[e.success=4]="success"}(m||(m={})),function(e){e.xsmall="100px",e.small="200px",e.medium="300px",e.mediumLarge="360px",e.large="400px"}(h||(h={})),function(e){e.calendarConfigurator="calendarConfigurator",e.cbsConfigurator="cbsConfigurator",e.dashboard="dashboard",e.debug="debug",e.listConfigurator="listConfigurator",e.edConfigurator="edConfigurator",e.errors="errors",e.importExport="importExport",e.insights="insights",e.integration="integration",e.loginLogout="loginLogout",e.mail="mail",e.mailLogViewer="mailLogViewer",e.miscellaneous="miscellaneous",e.pbiConfigurator="pbiConfigurator",e.selfTest="selfTest",e.singleSignOn="singleSignOn",e.translations="translations",e.userRegistration="userRegistration",e.userSync="userSync",e.yammer="yammer"}(f||(f={})),function(e){e.signedInWithMicrosoft="signedInWithMicrosoft",e.signedIn="signedIn",e.anonymous="anonymous"}(g||(g={})),function(e){e.hybrid="hybrid",e.code="code"}(b||(b={})),function(e){e.form_post="form_post",e.query="query"}(v||(v={})),function(e){e.displayName="displayName",e.givenNameSurname="givenNameSurname",e.skip="skip",e.surnameGivenName="surnameGivenName",e.surnameGivenNameNoComma="surnameGivenNameNoComma"}(y||(y={}))},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}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

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

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}function s(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function l(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o}},function(e,t,n){var o=n(138),r=n(198);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return K})),n.d(t,"t",(function(){return Z})),n.d(t,"u",(function(){return X})),n.d(t,"x",(function(){return Y})),n.d(t,"s",(function(){return Q})),n.d(t,"y",(function(){return $})),n.d(t,"A",(function(){return J})),n.d(t,"z",(function(){return ee})),n.d(t,"v",(function(){return te})),n.d(t,"w",(function(){return ne})),n.d(t,"i",(function(){return oe})),n.d(t,"q",(function(){return re})),n.d(t,"h",(function(){return ie})),n.d(t,"f",(function(){return ae})),n.d(t,"B",(function(){return se})),n.d(t,"g",(function(){return le})),n.d(t,"e",(function(){return ce})),n.d(t,"r",(function(){return ue})),n.d(t,"b",(function(){return de})),n.d(t,"c",(function(){return pe})),n.d(t,"d",(function(){return me})),n.d(t,"j",(function(){return he})),n.d(t,"k",(function(){return fe})),n.d(t,"n",(function(){return ge})),n.d(t,"l",(function(){return be})),n.d(t,"o",(function(){return ve})),n.d(t,"p",(function(){return ye})),n.d(t,"m",(function(){return we}));var o,r,i,a,s,l,c,u,d,p,m,h,f,g,b,v,y,w,_,C,E,S,x,k,O,I,T,P,D,M,A,R,N,L,j,F,B,W,z,H,U,V=n(18),G=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},K=Object(V.a)(o||(o=G(["\n  // Hide the pivot menu bar\n  .ms-Pivot {\n    display: none;\n  }\n  .pintraOverflowMenu {\n    margin-top: 1rem;\n    .ms-Button {\n      margin-right: 8px;\n    }\n  }\n  .ms-Checkbox input[type=checkbox] {\n    opacity: 0 !important;\n  }\n  .keyValueEditorChoiceDropDown .ms-Dropdown-caretDownWrapper {\n    margin-right: 10px;\n  }\n\n  .editorChoiceDropDownContainer {\n    flex-grow: 1;\n  }\n\n  .styledSelfTestResultItemModal {\n    display: flex;\n    flex-direction: column;\n    alignItems: stretch;\n  }\n"],["\n  // Hide the pivot menu bar\n  .ms-Pivot {\n    display: none;\n  }\n  .pintraOverflowMenu {\n    margin-top: 1rem;\n    .ms-Button {\n      margin-right: 8px;\n    }\n  }\n  .ms-Checkbox input[type=checkbox] {\n    opacity: 0 !important;\n  }\n  .keyValueEditorChoiceDropDown .ms-Dropdown-caretDownWrapper {\n    margin-right: 10px;\n  }\n\n  .editorChoiceDropDownContainer {\n    flex-grow: 1;\n  }\n\n  .styledSelfTestResultItemModal {\n    display: flex;\n    flex-direction: column;\n    alignItems: stretch;\n  }\n"]))),q=V.b.div(r||(r=G(["\n  box-sizing: border-box;\n"],["\n  box-sizing: border-box;\n"]))),Z=Object(V.b)(q)(i||(i=G(["\n  display: table;\n  width: calc(100% - 35px);\n  margin: 15px 15px 15px 0px;\n  margin-left: 0px;\n  padding-left: 5px;\n  background-color: rgb(0, 120, 212);\n  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);\n"],["\n  display: table;\n  width: calc(100% - 35px);\n  margin: 15px 15px 15px 0px;\n  margin-left: 0px;\n  padding-left: 5px;\n  background-color: rgb(0, 120, 212);\n  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);\n"]))),X=Object(V.b)(q)(a||(a=G(["\n  display: table-caption;\n  background-color: rgb(0, 120, 212);\n"],["\n  display: table-caption;\n  background-color: rgb(0, 120, 212);\n"]))),Y=Object(V.b)(q)(s||(s=G(["\n  background-color: #ffffff;\n  margin-left: 5px;\n  padding: 15px;\n  font-size: 130%;\n  font-weight: bold;\n"],["\n  background-color: #ffffff;\n  margin-left: 5px;\n  padding: 15px;\n  font-size: 130%;\n  font-weight: bold;\n"]))),Q=Object(V.b)(q)(l||(l=G(["\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin: 0px 0px 5px 0px;\n  background: #ffffff;\n"],["\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin: 0px 0px 5px 0px;\n  background: #ffffff;\n"]))),$=Object(V.b)(q)(c||(c=G(["\n  background-color: #ffffff;\n  margin-left: 5px;\n  padding: 15px;\n"],["\n  background-color: #ffffff;\n  margin-left: 5px;\n  padding: 15px;\n"]))),J=Object(V.b)(q)(u||(u=G(["\n  display: table-row-group;\n"],["\n  display: table-row-group;\n"]))),ee=Object(V.b)(q)(d||(d=G(["\n  display: table-row;\n  background-color: #ffffff;\n"],["\n  display: table-row;\n  background-color: #ffffff;\n"]))),te=Object(V.b)(q)(p||(p=G(["\n  max-width: 650px;\n  display: table-cell;\n  padding: 3px;\n  vertical-align: top;\n  text-align: left;\n  &:first-child {\n    padding-left: 15px;\n    width: 25%;\n    min-width: 300px;\n  }\n  &:nth-child(2) {\n    width: 65%;\n    min-width: 600px;\n  }\n"],["\n  max-width: 650px;\n  display: table-cell;\n  padding: 3px;\n  vertical-align: top;\n  text-align: left;\n  &:first-child {\n    padding-left: 15px;\n    width: 25%;\n    min-width: 300px;\n  }\n  &:nth-child(2) {\n    width: 65%;\n    min-width: 600px;\n  }\n"]))),ne=Object(V.b)(te)(m||(m=G(["\n  text-align: center;\n  overflow: visible;\n  white-space: nowrap;\n  max-width: 1px;\n  font-size: 90%;\n  font-weight: 600;\n  padding-top: 30px;\n  padding-bottom: 15px;\n"],["\n  text-align: center;\n  overflow: visible;\n  white-space: nowrap;\n  max-width: 1px;\n  font-size: 90%;\n  font-weight: 600;\n  padding-top: 30px;\n  padding-bottom: 15px;\n"]))),oe=Object(V.b)(q)(h||(h=G(["\n  height: 30px;\n  line-height: 30px;\n  white-space: nowrap;\n"],["\n  height: 30px;\n  line-height: 30px;\n  white-space: nowrap;\n"]))),re=V.b.p(f||(f=G(["\n  box-sizing: border-box;\n  line-height: 30px;\n  margin: 0px !important;\n  padding: 0px !important;\n"],["\n  box-sizing: border-box;\n  line-height: 30px;\n  margin: 0px !important;\n  padding: 0px !important;\n"]))),ie=(0,V.b.input)(g||(g=G(["\n  min-width: ",";\n  width: ",";\n  padding: 2px;\n  height: 30px;\n  line-height: 30px;\n  border: 1px solid rgb(51, 51, 51) !important;\n"],["\n  min-width: ",";\n  width: ",";\n  padding: 2px;\n  height: 30px;\n  line-height: 30px;\n  border: 1px solid rgb(51, 51, 51) !important;\n"])),(function(e){return e.minWidth}),(function(e){return e.minWidth})),ae=V.b.label(b||(b=G(["\n  padding-left: 15px;\n  line-height: 30px;\n  color: #cc0000;\n"],["\n  padding-left: 15px;\n  line-height: 30px;\n  color: #cc0000;\n"]))),se=(V.b.textarea(v||(v=G(["\n  min-width: 400px;\n  min-height: 100px;\n  padding: 2px;\n"],["\n  min-width: 400px;\n  min-height: 100px;\n  padding: 2px;\n"]))),V.b.textarea(y||(y=G(["\n  min-width: 400px;\n  min-height: 100px;\n  padding: 2px;\n  font-size: 80%;\n"],["\n  min-width: 400px;\n  min-height: 100px;\n  padding: 2px;\n  font-size: 80%;\n"]))),V.b.textarea(w||(w=G(["\n  min-width: 400px;\n  min-height: 100px;\n  padding: 2px;\n  font-size: 80%;\n"],["\n  min-width: 400px;\n  min-height: 100px;\n  padding: 2px;\n  font-size: 80%;\n"]))),V.b.textarea(_||(_=G(["\n  min-width: 400px;\n  min-height: 100px;\n  padding: 2px;\n"],["\n  min-width: 400px;\n  min-height: 100px;\n  padding: 2px;\n"])))),le=(V.b.button(C||(C=G(["\n  min-width: 400px;\n  min-height: 30px;\n  padding: 2px;\n"],["\n  min-width: 400px;\n  min-height: 30px;\n  padding: 2px;\n"]))),Object(V.b)(q)(E||(E=G(["\n  display: flex;\n  font-size: 12px;\n  line-height: 30px;\n  height: 30px;\n  z-index: 99;\n"],["\n  display: flex;\n  font-size: 12px;\n  line-height: 30px;\n  height: 30px;\n  z-index: 99;\n"])))),ce=Object(V.b)(q)(S||(S=G(["\n  padding: 5px 0px;\n  height: 30px;\n  line-height: 30px;\n"],["\n  padding: 5px 0px;\n  height: 30px;\n  line-height: 30px;\n"]))),ue=Object(V.b)(q)(x||(x=G(["\n  display: flex;\n  align-items: start;\n  margin: 0px;\n"],["\n  display: flex;\n  align-items: start;\n  margin: 0px;\n"]))),de=Object(V.b)(q)(k||(k=G(["\n  display: flex;\n  flex-direction: column;\n  flex-wrap: wrap;\n  margin: 5px;\n  padding-top: 15px;\n  img {\n    width: 100% !important;\n    height: auto !important;\n  }\n"],["\n  display: flex;\n  flex-direction: column;\n  flex-wrap: wrap;\n  margin: 5px;\n  padding-top: 15px;\n  img {\n    width: 100% !important;\n    height: auto !important;\n  }\n"]))),pe=(Object(V.b)(q)(O||(O=G(["\n  flex-growth: 1;\n  flex-shrink: 0;\n  width: 100%;\n  padding: 1rem 1rem 0.5rem 1rem;\n  font-size: 2rem;\n  font-weight: 200;\n"],["\n  flex-growth: 1;\n  flex-shrink: 0;\n  width: 100%;\n  padding: 1rem 1rem 0.5rem 1rem;\n  font-size: 2rem;\n  font-weight: 200;\n"]))),Object(V.b)(q)(I||(I=G(["\n  flex-growth: 1;\n  flex-shrink: 0;\n  width: 100%;\n  padding: 0.5rem 1rem;\n"],["\n  flex-growth: 1;\n  flex-shrink: 0;\n  width: 100%;\n  padding: 0.5rem 1rem;\n"])))),me=Object(V.b)(q)(T||(T=G(["\n  flex-growth: 1;\n  flex-shrink: 0;\n  width: 100%;\n  padding: 0.5rem 1rem 1rem 1rem;\n"],["\n  flex-growth: 1;\n  flex-shrink: 0;\n  width: 100%;\n  padding: 0.5rem 1rem 1rem 1rem;\n"]))),he=Object(V.b)(q)(P||(P=G(["\n  display: flex;\n  flex-direction: column;\n  flex-wrap: wrap;\n  max-width: 400px;\n"],["\n  display: flex;\n  flex-direction: column;\n  flex-wrap: wrap;\n  max-width: 400px;\n"]))),fe=Object(V.b)(q)(D||(D=G(["\n  display: flex;\n  align-items: center;\n  height: 36px;\n  line-height: 30px;\n  flex-grow: 1;\n  flex-shrink: 0;\n  padding: 0px 0px 3px 0px;\n"],["\n  display: flex;\n  align-items: center;\n  height: 36px;\n  line-height: 30px;\n  flex-grow: 1;\n  flex-shrink: 0;\n  padding: 0px 0px 3px 0px;\n"]))),ge=(V.b.div(M||(M=G(["\n  display: flex;\n  flex-direction: column;\n"],["\n  display: flex;\n  flex-direction: column;\n"]))),V.b.div(A||(A=G([""],[""]))),V.b.div(R||(R=G([""],[""]))),V.b.div(N||(N=G(["\n  display: flex;\n  flex-direction: column;\n  max-width: 600px;\n"],["\n  display: flex;\n  flex-direction: column;\n  max-width: 600px;\n"])))),be=V.b.div(L||(L=G(["\n  display: flex;\n  flex-wrap: nowrap;\n"],["\n  display: flex;\n  flex-wrap: nowrap;\n"]))),ve=V.b.div(j||(j=G(["\n  white-space: nowrap;\n  padding: 2px;\n"],["\n  white-space: nowrap;\n  padding: 2px;\n"]))),ye=V.b.div(F||(F=G(["\n  white-space: nowrap;\n  padding: 2px;\n"],["\n  white-space: nowrap;\n  padding: 2px;\n"]))),we=V.b.div(B||(B=G(["\n  padding: 2px;\n  word-wrap: break-word;\n  overflow: auto;\n"],["\n  padding: 2px;\n  word-wrap: break-word;\n  overflow: auto;\n"])));V.b.div(W||(W=G(["\n  display: table;\n  width: 80%;\n"],["\n  display: table;\n  width: 80%;\n"]))),V.b.div(z||(z=G(["\n  display: table-row;\n"],["\n  display: table-row;\n"]))),V.b.div(H||(H=G(["\n  display: table-cell;\n  white-space: nowrap;\n  padding: 2px;\n  font-weight: 800;\n  word-break: break-word;\n"],["\n  display: table-cell;\n  white-space: nowrap;\n  padding: 2px;\n  font-weight: 800;\n  word-break: break-word;\n"]))),V.b.div(U||(U=G(["\n  display: table-cell;\n  padding: 2px;\n  word-break: break-word;\n"],["\n  display: table-cell;\n  padding: 2px;\n  word-break: break-word;\n"])))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o={empty:"",confirmNotTested:"You are saving your configuration without testing it. Are you sure you want to continue?",errTestAuthenticationFirst:"Please 'Test authentication' first.",errDirectoryIdMustBeGuid:"Directory ID must be a valid GUID.",errReportIdMustBeGuid:"Report ID must be a valid GUID.",errDatasetIdMustBeGuid:"Dataset ID must be a valid GUID.",errTileIdMustBeGuid:"Tile ID must be a valid GUID.",errGroupIdMustBeGuid:"Workspace ID must be a valid GUID.",errDashboardIdMustBeGuid:"Dashboard ID must be a valid GUID.",errApplicationIdMustBeGuid:"Application ID must be a valid GUID.",errWhitelistedDomainsMustStartWith:"Each entry must be a valid URL and start with http:// or https://.",errAadSGroupIdMustBeGuid:"Azure AD Security Group ID must be a valid GUID.",errCustomFieldMustBeString:"Custom fields must contain a property and its value, separated by a semicolon",errDomainCannotStartWith:"Domain cannot start with http",errNonceSecretCannotBeEmpty:"Please enter a random password like string",errSessionDurationMustBeNumeric:"Session duration must a number.",errAvatarUpdatedMustBeNumeric:"Avatar updated must a number.",errRedirectUriMustBeUrl:"Redirect URI must be a valid URL and start with http:// or https:// and end with a trailing slash.",errProxyEndpoint:"A proxy-type request must start with https://",errDomainHintCannotStartWith:"Domain hint cannot start with http.",errBlacklistedPageCannotStartWith:"A Pages Blacklist entry cannot start with http or (/)wp-admin",errWhitelistedDomainCannotStartWith:"A Domain Whitelist entry cannot start with http",errCustomDomainCannotStartWith:"A Custom Domain cannot start with http",errDefaultDomainCannotStartWith:"A Custom Domain cannot start with http",errAuthenticationTestFailed:"Popup window should close automatically.",errDownloadLinkMustStartWith:"Download link must start with https://www.wpo365.com",errGotoAfterSignonUrlMustStartWith:"Goto after sign-on URL must start with http.",errErrorPageUrlMustStartWith:"Error Page URL must start with http(s).",errCustomLoginUrlMustStartWith:"Custom Login Page URL must start with http(s).",errLoadingTemplateUrlMustStartWith:"URL must be relative, start with / and end with .html",errWelcomePageUrlMustStartWith:"Welcome Page URL must start with http(s).",errPostSignoutUrlMustStartWith:"Goto after sign-on URL must start with http.",errGroupsXGotoAfterKey:"Azure AD Group ID must be a valid GUID",errGroupsXGotoAfterValue:"Goto after login must start with http:// or https://",errAppOnlyApplicationIdMustBeGuid:"Application ID must be a valid GUID.",errMustBeUrl:"Must be a valid URL and start with http:// or https://",errMustBeWithoutDots:"Only enter the first domain segment without .onmicrosoft.com",errMustNotBeEmptyOrContainWhitespace:"Cannot be empty or contain white spaces",okSettingsUpdated:"Configuration saved successfully.",okAuthenticationTested:"Authentication tested successfully.",okTokensDeleted:"Deleted all access and refresh tokens.",okIntegrationTested:"Integration tested successfully.",infoTokenServiceDisabled:"Cancelling integration test because token service is disabled.",errCustomDomainMustBeTld:"Custom domain should be formatted like TLD e.g. yourcompany.com",errDefaultDomainMustBeTld:"Default domain should be formatted like yourtenant.onmicrosoft.com",errPrivatePageMustStartWith:"Each private page must start with http.",errLeewayMustBeNumeric:"Leeway must be a number",errPasswordLengthMustBeNumeric:"Password length must be a number",errMustBeValidEmail:"Input must be a valid email address",infoAiInstrumentationKey:"e.g. 9eb73a5a-92e5-409c-b421-8bf8f91ff2d7",infoLicenseKey:"e.g. bmm19371b716a7b67fq1c7b6151d9f91",infoDirectoryId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoReportId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoDatasetId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoTileId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoGroupId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoSize:"e.g. 500px",infoDashboardId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoApplicationId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoSecurityGroupId:"e.g. 01bd1bce-b5a7-4a0d-8daa-fb6d63770b2d",infoNonceSecret:"a password like random string",infoProxyEndpoint:"e.g. https://graph.microsoft.com/v1.0/users",infoRedirectUri:"e.g. https://www.mycompany.com/",infoDomainHint:"e.g. mycompany.com",infoPagesBlackList:"e.g. /wp-login.php",infoPrivatePages:"e.g. https://www.mycompany.com/private-page/",infoDomainWhiteList:"e.g. mycompany.com",infoGroupsXSuperAdmins:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoGroupsWhiteList:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoGroupsXRoles:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoCustomFieldsXRoles:"propertyName:value e.g. department:Communications",infoCustomFieldsXItthinxGroup:"propertyName:value e.g. department:Communications",infoDomainsXRoles:"e.g. mydomain.com or my-tenant.onmicrosoft.com",infoSessionDuration:"e.g. 3480",infoAvatarUpdated:"e.g. 259200",infoCustomDomain:"e.g. mycompany.com",infoDownloadLink:"e.g. https://www.wpo365.com/index.php?eddfile=...",infoDefaultDomain:"e.g. mycompany.onmicrosoftonline.com",infoNewUserDefaultRole:"e.g. author",infoNewMuUserDefaultRole:"e.g. subscriber",infoWordPressRole:"WP Role",infoWordPressPostType:"WP Post Type",infoLeeway:"e.g. 300",infoPasswordLength:"e.g. 16",infoMailFrom:"e.g. john.doe@example.com",infoTestMailTo:"e.g. john.doe@example.com",infoUserMatchOrder:"e.g. oid, upn, preferred_username, email",infoGotoAfterSignonUrl:"e.g. https://www.mycompany.com/",infoErrorPageUrl:"e.g. https://www.mycompany.com/login-error/",infoCustomLoginUrl:"e.g. https://www.mycompany.com/login/",infoLoadingTemplateUrl:"e.g. /wp-content/uploads/2020/10/loading-template.html",infoGroupsXGotoAfterKey:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoGroupsXGotoAfterValue:"e.g. https://subsite.mycompany.com/",infoGroupsXGroupsGroupsKey:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoGroupsXGroupsGroupsValue:"Group",infoPostSignoutUrl:"e.g. https://www.google.com/",infoExtraUserFieldsKey:"Graph property e.g. jobTitle",infoExtraUserFieldsValue:"Custom title e.g. Job Title",infoScimAttributeMappingsKey:'SCIM property path e.g. phoneNumbers[type eq "mobile"].value',infoScimAttributeMappingsValue:"Azure AD property name e.g. mobilePhone",infoNewUserMailSubject:"e.g. [__##BLOG_NAME##__] New user registration",infoNewUserMailTitle:"e.g. NEW USER REGISTRATION",infoNewUserMailSalutation:"e.g. Dear __##USER_DISPLAY_NAME##__",infoAppOnlyApplicationId:"e.g. 8f7b8a33-f550-4197-80ea-5617865ac2cb",infoUrl:"e.g. https://www.mycompany.com/",infoB2cDomainName:"e.g. wpo365connect",infoB2cPolicyName:"e.g. B2C_1_signup_signin_1",wpoErrorCheckLog:"Please contact your System Administrator and check log file.",wpoErrorDeactivated:"Account deactivated.",wpoErrorNotConfigured:"Wordpress + Office 365 login not configured yet. Please contact your System Administrator.",wpoErrorNotInGroup:"User not in group. Please contact your System Administrator.",wpoErrorTamperedWith:"Your login might be tampered with. Please contact your System Administrator.",wpoErrorUserNotFound:"Could not create or retrieve your login. Please contact your System Administrator.",wpoErrorIdTokenError:"Your ID token could not be processed. Please contact your System Administrator.",wpoErrorIdTokenAud:"The ID token is intended for a different audience. Please contact your System Administrator.",wpoErrorDualLogin:'Alternatively, you can click the following link to sign into this website with your corporate <a href="__##OAUTH_URL##__">network login (Office 365)</a>',wpoErrorDualLoginV2:'Alternatively, you can click the following link to sign into this website with your corporate <span class="wpo365-dual-login-notice" style="cursor: pointer; text-decoration: underline; color: #000CD" onclick="window.wpo365.pintraRedirect.toMsOnline()">network login (Office 365)</span>',wpoErrorLoggedOut:"You are now logged out.",wpoErrorPrivatePage:"The page you requested requires you to sign in first.",wpoErrorNotFromDomain:"Access Denied. Please contact your System Administrator.",wpoErrorSaml2Error:"SAML authentication error.",wpoErrorNoIdpSelected:"Please select an Identity Provider from the list below to sign in to the website.",wpoTitleM365ProfileInfo:"Microsoft 365 Profile Information",capCopySettingsButton:"Copy settings to clipboard",capCopySettingsButtonSuccess:"Settings copied to clipboard!",capCopyShortcodeButton:"Copy shortcode to clipboard",capCopyShortcodeButtonSuccess:"Shortcode copied to clipboard!",capSaveSettingsButton:"Save settings",capSaveSettingsButtonSuccess:"Settings saved!",capSaveSettingsButtonError:"Error occurred!",capCopyLogButton:"Copy debug log to clipboard",capCopyLogButtonSuccess:"Debug log copied to clipboard!",lblEditSettingsToggle:"Let me paste / save updated settings",titleImportExport:"Import / Export",titleDebug:"Debug",capCloseButton:"Close",capOkButton:"OK",capConfirmButton:"Confirm",capCancelButton:"Cancel",titleSkipApiBasicAuthRequest:"Important",subtextSkipApiBasicAuthRequest:"When you check this option, the plugin will basically skip any\n    attempt to try and authentication requests to the WordPress REST API i.e. to \n    https://www.yourwebsite.com/wp-json/ if and only if a basic authentication header is found. The\n    plugin, however, won't try to perform a basic authentication.",titleUseV2:"Important",subTextUseV2:'In Mai 2019 Microsoft has made Azure AD endpoint v2 generally available. As a result the recommended\n    way to go is v2.0. To be able to receive a user\'s upn, email, given name and family name, you may\n    need to update the Azure AD App registration - especially when you registered your WordPress website\n    before May 2019. See the updated <a target="_blank" href="https://docs.wpo365.com/article/154-aad-single-sign-for-wordpress-using-auth-code-flow">online \n    documentation for detailed instructions</a>.',titleUseSaml:"Important",subTextUseSaml:'The default implemenation of the WPO365 plugin relies on the <strong>OpenID Connect</strong> \n    protocol for single sign-on. For various reasons (see <a target="_blank" \n    href="https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-vs-authorization">this article</a>)\n    companies may decide to use <strong>SAML 2.0</strong> instead.<br><br>Please consult the \n    <a target="_blank" href="https://docs.wpo365.com/article/100-configure-single-sign-on-with-saml-2-0">online \n    documentation</a> for pros and cons of using the WPO365 implemenation of <strong>SAML 2.0</strong>.  \n    Most importantly, when using <strong>SAML 2.0</strong> for single sign-on, the WPO365 plugin does \n    not support retrieving personal access tokens for a user. However, many functions such as retrieving a user\n    profile image, additional user profile field and user synchronization also will work as expected when\n    you configure <a target="_blank" href="https://docs.wpo365.com/article/23-integration">app-only permissions</a>.',titleUseB2c:"Important",subTextUseB2c:'If you are in doubt whether you should select Azure AD (default) or Azure AD B2C / Entra External ID (AAD for Customers) then select Azure AD. \n    For those interested in Azure AD B2C / Entra Exteral ID (AAD for Customers) please consult the <a href="https://docs.wpo365.com/article/130-azure-ad-b2c-based-single-sign-on-for-wordpress" \n    target="_blank">corresponding configuration guide</a>. Others are recommended to follow the steps provided in the <a href="https://docs.wpo365.com/article/154-aad-single-sign-for-wordpress-using-auth-code-flow" \n    target="_blank">default guide to configure SSO</a>.',titleUseGcc:"Important",subTextUseGcc:'Selecting Government GCC (High) will change the TLD for most endpoints addressed by WPO365 from ".com" to ".us" (see <a href="https://learn.microsoft.com/en-us/microsoft-365/enterprise/microsoft-365-u-s-government-gcc-high-endpoints?view=o365-worldwide" target="_blank">Microsoft 365 U.S. Government GCC High endpoints</a>).',titleUseWpConfig:"Important",subTextUseWpConfig:'Checking this option will replace the contents of the following fields:<ul style="list-style: initial; padding-left: 20px;">\n    <li>Tenant ID</li><li>Redirect URL</li><li>Application ID</li><li>Application (Client) Secret</li><li>Mail Tenant ID</li><li>Mail Application ID</li><li>Mail Redirect URL</li><li>Mail Application Secret</li><li>App-only Application ID</li><li>App-only Application (Client) Secret</li><li>Secret key to bypass SSO</li>\n    <li>SAML X509 Certificate</li><li>Azure AD Application (API protection)</li><li>Azure AD Application ID URI (API protection)</li></ul> The plugin will look for those values in your WP-Config.php instead.\n    Please check the <a target="_blank" href="https://docs.wpo365.com/article/137-use-wp-config-for-aad-secrets">online documenation</a> for details.',titleLicenseActivation:"Important",subTextLicenseActivated:"Your license key was successfully activated.",subTextLicenseActivatedUnknowError:'Your license key could not be activated (please try manually <a target="_blank"\n    href="https://www.wpo365.com/your-account/">https://www.wpo365.com/your-account/</a>)',titleBeforeSave:"Important",subTextBeforeSaveIntranet:'Depending on your WordPress hosting setup you may need to manually \n    purge the (server-side) cache  for changed settings to take effect immediately!\n    <br/><br/>As soon as you click <strong>Confirm</strong> the <a target="_blank" \n    href="#selfTest">Plugin self-test</a> page will load. To test your configuration click <em>Start \n    self-test</em>. The plugin may ask you to sign in with Microsoft (if you haven\'t done so already).',subTextBeforeSaveInternet:'Depending on your WordPress hosting setup you may need to manually \n    purge the (server-side) cache  for changed settings to take effect immediately!\n    <br/><br/>As soon as you click <strong>Confirm</strong> the <a target="_blank" \n    href="#selfTest">Plugin self-test</a> page will load. To test your configuration click <em>Start \n    self-test</em>. The plugin may ask you to sign in with Microsoft (if you haven\'t done so already).',titleEnableUserSync:"Important",subTextEnableUserSync:"When you enable <strong>User sync</strong>, you also must configure \n    the <strong>Custom domain(s)</strong> option on the <strong>\n    User registration</strong> tab or else the plugin is not able to identify users that belong to your\n    tentant.",titleEnableScim:"Important",subTextEnableScim:'When you enable <strong>User provisioning (SCIM)</strong> you basically enable the\n    plugin\'s SCIM REST API which will be available at https://www.your-website.com/wp-json/wpo365/v1/Users. \n    Therefore you must make sure this API can be accessed from the internet.<br><br>Please read the following article to \n    set up and configure Azure User Provisioning to automatically provision users to your WordPress\n    website using SCIM (System for Cross-domain Identity Management): <a \n    href="https://docs.wpo365.com/article/59-wordpress-user-provisioning-with-azure-ad-scim"\n    target="_blank">https://docs.wpo365.com/article/59-wordpress-user-provisioning-with-azure-ad-scim</a>.',titleUseAvatar:"Important",subTextUseAvatar:"When checking <strong>Use O365 Avatar</strong>, you also must configure \n    the <strong>Custom domains</strong> option on the <strong>\n    User registration</strong> tab or else the plugin is not able to identify users that belong to your\n    tentant (and hence it cannot decide whether or not it should retrieve a user's O365 profile image).",titleAddUserSyncJob:"Important",subTextAddUserSyncJob:"Please note that when you configure more than one job to synchronize users,\n    the plugin will skip the (soft) deletion of WordPress users.",titleUseBpAvatar:"Important",subTextUseBpAvatar:"When checking <strong>Use O365 Avatar (Buddy Press)</strong>, you also must configure \n    <strong>Use O365 Avatar</strong> or else the Office 365 profile image may not be available in the first place.\n    <br><br>Also, when checking this option, you understand that the Office 365 profile image will be shown whenever \n    one is found and that this avatar will also be used, even when the user has uploaded his own Buddy Press\n    profile image.",titleRedirectToLogin:"Important",subTextRedirectToLogin:"This version of dual-login is deprecated. Use Dual login V2 instead.",titleHideSsoLink:"Notice",subTextHideSsoLink:"This setting will only suppress the Single Sign-on link that is otherwise shown if\n    you checked <strong>Redirect to login</strong>. If you didn't check this option, the SSO won't be shown\n    in the first place.",titleUseIdTokenParserV2:"Important",subTextUseIdTokenParserV2:'Only check this option if the plugin reports ID token errors after you updated the plugin\n    to v14 or higher. Please also contact <a target="_blank" href="https://www.wpo365.com/contact/">support</> and \n    describe your issue, as this may also affect others.',titleSkipIdTokenVerification:"Important",subTextSkipIdTokenVerification:'Checking this option will lower the overall security of your website. If checked, the \n    plugin will no longer check whether the Azure AD tenant that issued the ID token is the same tenant that you configured\n    and whether the registered application is the intended audience for this ID token. If you feel that the ID token \n    verification is not working as expected in your case, then please also contact <a target="_blank" \n    href="https://www.wpo365.com/contact/">support</> and describe your issue, as this may also affect others.',titleSkipNonceVerification:"Important",subTextSkipNonceVerification:"Disabling the NONCE verification is NOT recommended and and basically allows an \n    attacker to replay an authentication response and possibly forcing his way into your website. However, using \n    SSL should reduce chances of an attacker being able to do so significantly.",titleUseAppOnlyToken:"Important",subTextUseAppOnlyToken:'Checking this option will allow you to register a 2nd application in Azure Active Directory\n    that you can assign sensitive permissions such as <i>Groups.Read.All</i>, <i>Users.Read.All</i> and \n    <i>Sites.Read.All</i>. If checked, the plugin will use this application ID and secret to synchronize users \n    (incl. avatar, additional profile fields and Azure AD group memberships).<br/>\n    Please consult the <a href="https://docs.wpo365.com/article/23-integration" target="_blank">online documentation</a> for \n    the reasons why you basically should register a 2nd application in Azure AD and what you need to be aware of \n    when you are using apps that rely on client-side (JavaScript) integration. Examples of such reliance on client-side\n    integration are the apps that ship with the WPO365 plugin e.g. Content by Search (SharePoint Online), Employee Directory \n    or Documents (Microsoft Graph).',titleUseSingleAppRegistration:"Important",subTextUseSingleAppRegistration:'Checking this option will configure the plugin so it will expect <em>application</em> (as opposed to \n    <em>delegated</em>) permissions to be granted to the same <em>App registration</em> that you have configured to enable <em>Microsoft\n    based single sign-on</em>.<br/>\n    Please note that changing this option will automatically update the current configuration for the (App-only) Application (client) ID and secret.<br/><br/>\n    <a href="https://docs.wpo365.com/article/23-integration" target="_blank">Read more...</a>.',titleSelfTestResult:"Detailed result",titleChangeAuthScenario:"Important",subTextChangeAuthScenario:"You are changing the authentication scenario and setting it to \"internet\". To improve\n    overall performance you can add the following line to your wp-config.php <pre>define( 'WPO_AUTH_SCENARIO', 'internet' );</pre>\n    to prevent the plugin from being loaded when the current request is not for an administrative interface page.<br/><br/>\n    Please note that - if you add this line to your wp-config.php - <strong>you must ensure that the Redirect URI \n    ends with \"/wp-admin/\"</strong>. If this is not the case, the plugin won't be able to receive the authentication response\n    sent by Microsoft and the plugin will not work as expected.",titleRequiresExtension:"Attention",subTextRequiresExtension:'This settings is enabled for the <strong>WPO365 | PREMIUM</strong> and <strong>WPO365 | INTRANET</strong> extensions. Visit <a href="https://www.wpo365.com/" target="_blank">https://www.wpo365.com/</a> for more information.'}},function(e,t,n){"use strict";n.d(t,"i",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"h",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"j",(function(){return p}));var o={background:"#ffffff",border:"1px solid #cccccc",boxSizing:"border-box",fontSize:"13px",height:"400px",maxHeight:"400px",maxWidth:"350px",minHeight:"400px",minWidth:"300px",position:"relative",width:"30.5%"},r={backgroundColor:"#f9f9f9",borderBottom:"1px solid #cccccc",display:"block",padding:"15px"},i={backgroundColor:"#448fd5",border:"2px solid #ffffff",display:"block",padding:"15px"},a={display:"block",padding:"15px"},s={root:{overflowX:"hidden",overflowY:"auto"}},l={backgroundColor:"#f9f9f9",borderTop:"1px solid #cccccc",display:"block",padding:"15px",height:"45px",lineHeight:"45px"},c={fontSize:"13px"},u={color:"#0078d4",fontWeight:600},d={color:"#0078d4",marginBottom:"1px",fontWeight:400,marginLeft:"20px",cursor:"pointer"},p={color:"#0078d4",paddingTop:"1px",marginLeft:"20px"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n(0),r=n(167),i=n(3),a=n(1),s=function(e){var t=e.extensions,n=e.targets,s=e.children,l=o.useState(!0),c=l[0],u=l[1],d=o.useMemo((function(){return[a.e.wpo365LoginPlus,a.e.wpo365Essentials,a.e.wpo365Mail,a.e.wpo365RolesAccess,a.e.wpo365Pro,a.e.wpo365Integrate,a.e.wpo365Customers,a.e.wpo365Scim,a.e.wpo365Apps].filter((function(e){return n.indexOf(e)>-1}))}),[]);return t.some((function(e){return n.indexOf(e)>-1}))?o.createElement(o.Fragment,null,s):c?o.createElement("div",{className:i.wpo365WzRowifier,style:{cursor:"pointer"},onClick:function(){return u(!1)}},o.createElement(r.a,{className:i.wpo365WzIconButton,iconProps:{iconName:"Lock"},title:"Locked"})," ",o.createElement("span",null,o.createElement("em",null,"Click for details"))):o.createElement(o.Fragment,null,o.createElement("span",null,"Available for:  ",d.filter((function(e){return e in a.g})).map((function(e){return o.createElement(o.Fragment,null,o.createElement("a",{href:a.g[e].url,target:"_blank"},a.g[e].name)," ")}))))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o,r=n(0),i=n(4),a=n(209),s=n(79),l=n(165),c=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(t){var n=e.call(this,t)||this;return n.infoButtonRef=r.createRef(),n.state={calloutVisible:!1,iframeLoaded:!1},n}return c(t,e),t.prototype.render=function(){var e=this;return r.createElement("div",null,r.createElement(i.g,{onClick:function(){return e.setState({calloutVisible:!0})},ref:this.infoButtonRef},r.createElement(s.a,{iconName:"Info",title:"Click for instant help",ariaLabel:"Click for instant help",style:{color:"#0066CC",fontSize:"16px",lineHeight:"30px",height:"30px",width:"30px",margin:"0px 0px 0px 15px",padding:0,cursor:"pointer"}})),this.props.info&&this.state.calloutVisible&&r.createElement(a.a,{role:"alertdialog",gapSpace:0,target:this.infoButtonRef.current,onDismiss:function(){return e.setState({calloutVisible:!1})},setInitialFocus:!0,hidden:!this.state.calloutVisible},r.createElement(i.b,null,r.createElement(i.c,null,!this.state.iframeLoaded&&r.createElement(l.a,null),r.createElement("iframe",{style:{width:"50vw",height:"50vh"},src:this.props.info.readMore.url,onLoad:function(){return e.setState({iframeLoaded:!0})}})),r.createElement(i.d,null,r.createElement("a",{href:this.props.info.readMore.url,target:"_blank"},this.props.info.readMore.title)))))},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(0),r=n(3),i=n(4),a=n(11),s=function(){return(s=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)},l=function(e){var t=e.size,n=e.defaultValue,l=(e.value,e.id),c=e.disabled,u=e.bound,d=e.errorMessage,p=e.onError,m=e.isValid,h=e.onValid,f=(e.onInvalid,e.placeholder),g=e.style,b=e.vertical,v=e.password,y=o.useState(!m||m(n,n)),w=y[0],_=y[1],C=o.useState(n),E=C[0],S=C[1];o.useEffect((function(){n!=E&&(S(n),_(!m||m(n,n)))}),[n,l]),o.useEffect((function(){var e=!m||m(E,E);_(e),h&&e&&h(E),p&&!e&&p(d)}),[E]);var x,k=o.createElement(o.Fragment,null,o.createElement(i.r,null,o.createElement(i.h,{minWidth:t,type:v?"password":"text",onChange:function(e){S(e.target.value)},value:E,style:(x=g?s({},g):{},x.border=w?"1px solid #dadada":"1px solid red",c&&(x.color="#000000",x.background="#dadada"),x),disabled:c,placeholder:f||null,id:l||"wpo_vti_"+Object(a.f)(4)}),e.children),u||w?null:o.createElement(i.f,{style:{padding:b?"inherit":"0px 0px 0px 15 px"}},d));return b?o.createElement("div",{className:r.wpo365WzColumnifier},k):o.createElement(i.r,null,k)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"g",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return m}));var o=n(16),r=n.n(o),i=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())}))},a=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},s=function(e){for(var t=document.getElementsByTagName("script"),n=t.length-1;n>=0;n--)if(t[n].src.indexOf(e)>-1)return t[n].src;return null};function l(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=0;o<e;o++)t+=n.charAt(Math.floor(Math.random()*n.length));return t}function c(e,t){return e.filter((function(e){return e.errorFor==t}))}function u(e,t){return void 0===t&&(t=!1),i(this,void 0,void 0,(function(){var n,o;return a(this,(function(i){switch(i.label){case 0:n="",i.label=1;case 1:return i.trys.push([1,3,,4]),[4,r.a.get("https://www.wpo365.com/wp-json/wp/v2/"+(t?"pages":"posts")+"?slug="+e)];case 2:return(o=i.sent()).data&&Array.isArray(o.data)&&1==o.data.length&&o.data[0].content&&o.data[0].content.rendered&&(n=o.data[0].content.rendered),[2,n];case 3:return[2,i.sent()];case 4:return[2]}}))}))}var d=function(e,t){try{return JSON.parse(e)}catch(e){}return t},p=function(e,t){if(!Array.isArray(e))throw"findIndex -> First argument is not an array";for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},m=function(e){var t=e,n=[];n.push({name:"count",start:e.indexOf("$count="),stop:-1}),n.push({name:"expand",start:e.indexOf("$expand="),stop:-1}),n.push({name:"filter",start:e.indexOf("$filter="),stop:-1}),n.push({name:"format",start:e.indexOf("$format="),stop:-1}),n.push({name:"orderby",start:e.indexOf("$orderby="),stop:-1}),n.push({name:"search",start:e.indexOf("$search="),stop:-1}),n.push({name:"select",start:e.indexOf("$select="),stop:-1}),n.push({name:"skip",start:e.indexOf("$skip="),stop:-1}),n.push({name:"top",start:e.indexOf("$top="),stop:-1});for(var o=n.length-1;o>=0;o--)-1==n[o].start&&n.splice(o,1);n.sort((function(e,t){return e.start<t.start?-1:e.start>t.start?1:0}));for(o=0;o<n.length-1;o++)n[o].stop=n[o+1].start-1;for(o=0;o<n.length;o++)if("filter"!=n[o].name)if("search"!=n[o].name);else{var r=e.substring(n[o].start+8,n[o].stop>-1?n[o].stop:e.length);t=t.replace(r,encodeURIComponent(decodeURIComponent(r)))}else{var i=e.substring(n[o].start+8,n[o].stop>-1?n[o].stop:e.length);t=t.replace(i,encodeURIComponent(decodeURIComponent(i)))}return t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(0),r=o.createContext({addOnNavigateHandler:null,appStatus:"initial",env:void 0,lastErrorMessage:null,onNavigateHandlers:[],removeOnNavigateHandler:null,settings:void 0,updateAppStatus:function(e){},updateLastErrorMessage:function(e){},updateSettings:function(e){},wpoHealthMessagesDismissed:function(){},wpoHealthMessagesUpdated:function(e){}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(16),r=n.n(o),i=n(11),a=n(1),s=n(32),l=n(6),c=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())}))},u=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},d=function(){function e(e){this.aadResourceUri="00000002-0000-0000-c000-000000000000",this.addCreateAccountPrompt=!1,this.addSelectAccountPrompt=!1,this.aiInstrumentationKey="",this.allGroupMemberships=!1,this.allowedTenants=[],this.allowReactivation=!1,this.alwaysUseGotoAfter=!1,this.applicationId="",this.applicationSecret="",this.appOnlyApplicationId="",this.appOnlyApplicationSecret="",this.appRolesXWpRoles=[],this.audiences=[],this.audiencesExcludedPostTypes=[],this.audiencesExcludedRoles=[],this.audiencesPrivatePostTypes=[],this.audiencesPrivatePageResponse="notFound",this.audiencesXPostTypes=[],this.authScenario=a.a.intranet,this.avatarHookPriority=1,this.avatarUpdated=259200,this.avatarSkipSaveDefault=!1,this.avatarTemplate='<img src="__##AVATAR_URL##__" width="__##AVATAR_SIZE##__" height="__##AVATAR_SIZE##__" class="ui avatar image">',this.b2cAllowMultiplePolicies=!1,this.b2cCustomDomain="",this.b2cDomainName="",this.b2cEnableSignup=!1,this.b2cPolicyName="",this.b2cSignupPolicy="",this.blockEmailChange=!0,this.blockPasswordChange=!0,this.bounceToAdmin=!1,this.buttonConfig=[],this.createAndAddUsers=!0,this.curlLoggingEnabled=!1,this.customDomain=[],this.customFieldsXItthinxGroups=[],this.customFieldsXRoles=[],this.customLoginUrl="",this.debugLog=!1,this.debugLogLocation=a.b.locally,this.debugLogIdToken=!1,this.defaultDomain="",this.defaultRoleAsFallback=!0,this.domainBlockedList=!1,this.domainHint="",this.domainWhitelist=[],this.domainsXRoles=[],this.enableAudiences=!1,this.enableAudiencesMetaBox=!0,this.enableAudiencesRest=!1,this.enableGraphApi=!1,this.enableGraphProxy=!1,this.enableNonceCheck=!1,this.enableScim=!1,this.enableSingleSignOut=!1,this.enableTokenService=!1,this.enableUserSync=!1,this.exitOnAudienceError=!1,this.expressLogin=!1,this.extraUserFields=[],this.extraUserFieldsSource=a.h.graph,this.errorPageUrl="",this.gotoAfterSignonUrl="",this.graphAllowAllEndpoints=!1,this.graphAllowTokenRetrieval=!1,this.graphAllowedEndpoints=[],this.graphDisplayNameFormat=a.i.displayName,this.graphPermissionLevel=a.j.signedIn,this.graphSelectProperties=[],this.graphUserDetails=!1,this.graphVersion=a.k.current,this.groupsWhitelist=[],this.groupsXRoles=[],this.groupsXGroupsGroups=[],this.groupsXGotoAfter=[],this.hideAdminBarRoles=[],this.hideDocTb=!1,this.hideErrorNotice=!1,this.hideLoginButton=!1,this.hidePremiumOptions=!1,this.hideSsoLink=!1,this.insightsEnabled=!1,this.insightsAnonymized=!1,this.interceptWpLogin=!1,this.ldCourseAssignments=[],this.ldCourseAssignmentsByDomain=[],this.ldDefaultCourseAssignments=[],this.ldDefaultGroupAssignments=[],this.ldGroupAssignments=[],this.ldGroupAssignmentsByDomain=[],this.leeway=300,this.licenseKey="",this.loadingTemplateUrl="",this.logoutFromO365=!1,this.mailAllowFrom=!1,this.mailApplicationId="",this.mailApplicationSecret="",this.mailAutoRetry=!1,this.mailDefaultRecipient="",this.mailFixLocalhost=!1,this.mailFrom="",this.mailIntervals=[3600,7200,14400],this.mailLog=!1,this.mailLogRetention=90,this.mailMimeType="Html",this.mailMultiTenanted=!1,this.mailRedirectUrl="",this.mailReplyTo="",this.mailSaveToSentItems=!1,this.mailSendAs=!1,this.mailSendAsFrom="",this.mailSendShared=!1,this.mailSendSharedFrom="",this.mailSendToBcc=!1,this.mailSkipAllChecks=!1,this.mailStagingMode=!1,this.mailTenantId="",this.mailThrottlingEnabled=!1,this.mailThreshold=20,this.muAddUserToAllSites=!1,this.muGroupsXSuperAdmins=[],this.multiTenanted=!1,this.multiTenantedApiPermissions=[],this.muNewUsrDefaultRole="subscriber",this.muRevokeSuperAdmin=!1,this.newUsrDefaultRole="subscriber",this.newUsrSendMail=!1,this.newUsrSendMailAdminOnly=!1,this.newUsrSendMailCustom=!1,this.newUsrMailSubject="[__##BLOG_NAME##__] New user registration",this.newUsrMailTitle="NEW USER REGISTRATION",this.newUsrMailSalutation="Dear __##USER_DISPLAY_NAME##__",this.newUsrMailBody='The website <strong><a href="__##BLOG_URL##__">__##BLOG_NAME##__</a></strong> has been shared with you. You can now sign in using your Azure AD account <strong>__##USER_LOGIN_NAME##__</strong>.',this.newUsrMailFooter='Powered by <a href="https://www.wpo365.com/" target="_blank">WPO365 - Connecting Wordpress and Office 365</a>',this.nonceSecret=Object(i.f)(16),this.noSso=!1,this.oidcFlow=a.l.code,this.oidcResponseMode=a.m.form_post,this.pagesBlacklist=["wp-login.php","/login/","wp-cron.php","admin-ajax.php","xmlrpc.php"],this.passwordLength=16,this.postSignoutUrl="",this.preventNonAdminLogin=!1,this.preventSendEmailChangeEmail=!1,this.preventSendPasswordChangeEmail=!1,this.privatePages=[],this.publicHomepage=!1,this.redirectUrl="",this.redirectUrlStrict=!1,this.redirectOnLogin=!1,this.redirectOnLoginSecret=Object(i.f)(32),this.redirectOnPrivatePage=!1,this.redirectToLogin=!1,this.redirectToLoginV2=!1,this.rememberUser=!1,this.replaceOrUpdateUserRoles=a.o.skip,this.samlClaimMappings=[],this.samlEnableRequestedAuthnContext=!1,this.samlForceAuthn=!1,this.samlStrict=!0,this.samlBaseUrl="",this.samlSpEntityId="",this.samlSpAcsUrl="",this.samlSpAcsBinding="",this.samlSpSlsUrl="",this.samlSpSlsBinding="",this.samlIdpEntityId="",this.samlIdpMetaDataUrl="",this.samlIdpSsosUrl="",this.samlIdpSsosBinding="",this.samlIdpSlsUrl="",this.samlIdpSlsBinding="",this.samlX509Cert="",this.scimAttributeMappings=[],this.scimReassignPostsTo="",this.scimReassignPostsToId=0,this.scimSecretToken="",this.sessionDuration=0,this.skipAddUserToSubsite=!1,this.skipApiBasicAuthRequest=!1,this.skipAvatarForOthers=!1,this.skipHostVerification=!0,this.skipIdTokenVerification=!1,this.skipIps=[],this.skipNonceVerification=!1,this.skipPasswordCredentialsExpiredCheck=!0,this.skipUserRegisterAction=!1,this.skipWpAdmin=!1,this.skipWpLoginAction=!1,this.signInMultiPlaceholder="Select your Identity Provider",this.signInWithMicrosoft="Sign in with Microsoft",this.tenantId="",this.testAccessToken=!0,this.testConfiguration=!0,this.testIdToken=!0,this.tld=".com",this.updateAdmins=!1,this.useAlternativeCdn=!1,this.useAppOnlyToken=!1,this.useAvatar=!1,this.useB2c=!1,this.useBpAvatar=!1,this.useBpExtended=!1,this.useCiam=!1,this.useGcc=!1,this.useGraphMailer=!1,this.useShortLoginName=!1,this.useSingleAppRegistration=!1,this.useIdTokenParserV1=!1,this.useIdTokenParserV2=!1,this.useLoaderV1=!1,this.useLoginButtonV1=!1,this.useMsTeamsSsoV1=!1,this.useNoTeamsSso=!1,this.usePkce=!1,this.userNameClaim="",this.userNamePreference="default",this.userNameAadProperty="",this.userNameScimClaim="",this.userSyncJobs=[],this.useTeams=!1,this.useSaml=!1,this.useV2=!0,this.useWpCli=!0,this.useWpConfig=!1,this.useWpConfigFrags=!1,this.useWpContent=!1,this.useWpRestAad=!1,this.useWpRestCookies=!1,this.userMatchOrder=[],this.userSyncQuery="myorganization/users?$filter=accountEnabled+eq+true+and+userType+eq+%27member%27&$top=10",this.userSyncAllowDelete=!1,this.validateOnPluginsLoaded=!1,this.welcomePageUrl="",this.wpo365LoginDownloadLink="",this.wpoErrorCheckLog=l.a.wpoErrorCheckLog,this.wpoErrorDeactivated=l.a.wpoErrorDeactivated,this.wpoErrorDualLogin=l.a.wpoErrorDualLogin,this.wpoErrorDualLoginV2=l.a.wpoErrorDualLoginV2,this.wpoErrorIdTokenError=l.a.wpoErrorIdTokenError,this.wpoErrorIdTokenAud=l.a.wpoErrorIdTokenAud,this.wpoErrorLoggedOut=l.a.wpoErrorLoggedOut,this.wpoErrorPrivatePage=l.a.wpoErrorPrivatePage,this.wpoErrorNotConfigured=l.a.wpoErrorNotConfigured,this.wpoErrorNotFromDomain=l.a.wpoErrorNotFromDomain,this.wpoErrorNotInGroup=l.a.wpoErrorNotInGroup,this.wpoErrorTamperedWith=l.a.wpoErrorTamperedWith,this.wpoErrorSaml2Error=l.a.wpoErrorSaml2Error,this.wpoErrorUserNotFound=l.a.wpoErrorUserNotFound,this.wpoErrorNoIdpSelected=l.a.wpoErrorNoIdpSelected,this.wpoTitleM365ProfileInfo=l.a.wpoTitleM365ProfileInfo,this.wpRestAadApplicationId="",this.wpRestAadApplicationIdUri="",this.wpRestAadProtectedEndpoints=[],this.wpRestBlock=!1,this.wpRestCookiesProtectedEndpoints=[],this.wpRestSetCookies=!1,this.wpToAadCreateUsers=!1,this.wpToAadCustomerEndpoint="",this.wpToAadEmailNotifications="userNotPresent",this.wpToAadExcludedRoles=[],this.wpToAadExitOnFailure=!1,this.wpToAadForceChangePasswordNextSignIn=!1,this.wpToAadIdentityProvider=void 0,this.wpToAadPasswordReset=!1,this.wpToAadUpdateSensitiveProps=!1,this.wpToAadUpdateUsers=!1,this.wpToAadUserAttributeMappings=[],this.name=void 0,this.configurations=[],this.redirectUrl="/"!=e.props.siteUrl.slice(-1)?e.props.siteUrl+"/":e.props.siteUrl,this.mailRedirectUrl=this.redirectUrl,this.samlBaseUrl=this.redirectUrl}return e.getSettings=function(t){return c(this,void 0,void 0,(function(){var n,o,i,a,s;return u(this,(function(l){switch(l.label){case 0:(n=new FormData).append("action","wpo365_get_settings"),n.append("nonce",t.nonce),n.append("ina",window.wpo365.wizard.props.ina),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,r.a.post(t.wpAjaxAdminUrl,n)];case 2:return o=l.sent(),[3,4];case 3:return i=l.sent(),console.log(i),[2,null];case 4:if(200==o.status&&o.data&&o.data.status&&"OK"==o.data.status)try{return a=JSON.parse(o.data.result),s=new e(t),Object.keys(s).forEach((function(e){void 0!==a[e]&&null!==a[e]&&(s[e]=a[e])})),[2,s]}catch(e){return console.log(e),[2,null]}return[2,null]}}))}))},e.updateSettings=function(e,t,n){return void 0===n&&(n=!1),c(this,void 0,void 0,(function(){var o,a,c,d,p;return u(this,(function(u){switch(u.label){case 0:return t.name&&(o=Object(i.d)(t.configurations,(function(e){return e.name==t.name})),delete(a=JSON.parse(JSON.stringify(t))).configurations,o>-1?t.configurations[o]=a:t.configurations.push(a)),[4,(m=new Blob([JSON.stringify(t)],{type:"application/json"}),new Promise((function(e,t){var n=new FileReader;n.onloadend=function(){var t=n.result,o=t.indexOf(",");o>-1?e(t.substring(o+1)):(console.warn("Settings::blobToBase64 -> Could not split the dataURL into "),e(t))},n.readAsDataURL(m)})))];case 1:c=u.sent(),(d=new FormData).append("action","wpo365_update_settings"),d.append("nonce",e.nonce),d.append("ina",window.wpo365.wizard.props.ina),d.append("settings",c),n&&d.append("reset","true"),u.label=2;case 2:return u.trys.push([2,4,,5]),[4,r.a.post(e.wpAjaxAdminUrl,d)];case 3:return p=u.sent(),[3,5];case 4:return[2,u.sent()];case 5:return 200==p.status&&p.data&&p.data.status?"OK"==p.data.status?[2,{error:null,message:l.a.empty,success:!0}]:[2,{error:new s.a(null,p.data.message),message:l.a.empty,success:!1}]:[2,{error:new s.a(null,p.message),message:l.a.empty,success:!1}]}var m}))}))},e.prototype.update=function(){return null},e.prototype.validate=function(){return null},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return gt})),n.d(t,"b",(function(){return ae})),n.d(t,"c",(function(){return ie})),n.d(t,"d",(function(){return be})),n.d(t,"h",(function(){return ve})),n.d(t,"w",(function(){return Ze})),n.d(t,"u",(function(){return Ye})),n.d(t,"z",(function(){return Qe})),n.d(t,"C",(function(){return $e})),n.d(t,"x",(function(){return tt})),n.d(t,"t",(function(){return dt})),n.d(t,"e",(function(){return Ae})),n.d(t,"g",(function(){return Re})),n.d(t,"f",(function(){return Ne})),n.d(t,"m",(function(){return Le})),n.d(t,"l",(function(){return je})),n.d(t,"k",(function(){return Fe})),n.d(t,"o",(function(){return Be})),n.d(t,"p",(function(){return We})),n.d(t,"j",(function(){return ze})),n.d(t,"i",(function(){return He})),n.d(t,"n",(function(){return Ue})),n.d(t,"B",(function(){return Ve})),n.d(t,"v",(function(){return Ge})),n.d(t,"H",(function(){return mt})),n.d(t,"G",(function(){return ht})),n.d(t,"A",(function(){return ft})),n.d(t,"q",(function(){return Ke})),n.d(t,"y",(function(){return _})),n.d(t,"J",(function(){return y})),n.d(t,"I",(function(){return w})),n.d(t,"r",(function(){return o.a})),n.d(t,"s",(function(){return r.a})),n.d(t,"D",(function(){return l})),n.d(t,"E",(function(){return c.b})),n.d(t,"F",(function(){return u.b}));var o=n(84),r=n(204),i=n(63),a=n(45),s=n(61);function l(e){var t=a.a.getInstance(),n=t.getClassName(),o=[];for(var r in e)e.hasOwnProperty(r)&&o.push(r,"{",Object(s.b)(Object(i.a)(),e[r]),"}");var l=o.join("");return t.insertRule("@keyframes "+n+"{"+l+"}",!0),t.cacheClassName(n,l,[],["keyframes",l]),n}var c=n(205),u=n(161);function d(e){var t={},n=function(n){var o;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===o&&(o=Object(u.b)(e[n]).toString()),o},enumerable:!0,configurable:!0})};for(var o in e)n(o);return t}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

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

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var p=function(){return(p=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)};var m=n(142),h=n(82);function f(e){a.a.getInstance().insertRule("@font-face{"+Object(s.b)(Object(i.a)(),e)+"}",!0)}var g=m.a.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),b=a.a.getInstance();b&&b.onReset&&b.onReset((function(){for(var e in g)g.hasOwnProperty(e)&&g[e].subset&&(g[e].subset.className=void 0)}));var v=function(e){return e.toLowerCase()};function y(e,t){var n=p(p({},e),{isRegistered:!1,className:void 0}),o=e.icons;for(var r in t=t?p(p({},g.__options),t):g.__options,o)if(o.hasOwnProperty(r)){var i=o[r],a=v(r);g[a]?S(r):g[a]={code:i,subset:n}}}function w(e,t){g.__remapped[v(e)]=v(t)}function _(e){var t=void 0,n=g.__options;if(e=e?v(e):"",e=g.__remapped[e]||e)if(t=g[e]){var o=t.subset;o&&o.fontFace&&(o.isRegistered||(f(o.fontFace),o.isRegistered=!0),o.className||(o.className=Object(u.b)(o.style,{fontFamily:o.fontFace.fontFamily,fontWeight:o.fontFace.fontWeight||"normal",fontStyle:o.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&Object(h.a)('The icon "'+e+'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.');return t}var C=[],E=void 0;function S(e){var t=g.__options;t.disableWarnings||(C.push(e),void 0===E&&(E=setTimeout((function(){Object(h.a)("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"+C.slice(0,10).join(", ")+(C.length>10?" (+ "+(C.length-10)+" more)":"")),E=void 0,C=[]}),2e3)))}var x="cubic-bezier(.1,.9,.2,1)",k="cubic-bezier(.1,.25,.75,.9)",O=l({from:{opacity:0},to:{opacity:1}}),I=l({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),T=le(-10),P=le(-20),D=le(-40),M=le(-400),A=le(10),R=le(20),N=le(40),L=le(400),j=ce(10),F=ce(20),B=ce(-10),W=ce(-20),z=ue(10),H=ue(20),U=ue(40),V=ue(400),G=ue(-10),K=ue(-20),q=ue(-40),Z=ue(-400),X=de(-10),Y=de(-20),Q=de(10),$=de(20),J=l({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),ee=l({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),te=l({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),ne=l({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),oe=l({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),re=l({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),ie={easeFunction1:x,easeFunction2:k,durationValue1:"0.167s",durationValue2:"0.267s",durationValue3:"0.367s",durationValue4:"0.467s"},ae={slideRightIn10:se(O+","+T,"0.367s",x),slideRightIn20:se(O+","+P,"0.367s",x),slideRightIn40:se(O+","+D,"0.367s",x),slideRightIn400:se(O+","+M,"0.367s",x),slideLeftIn10:se(O+","+A,"0.367s",x),slideLeftIn20:se(O+","+R,"0.367s",x),slideLeftIn40:se(O+","+N,"0.367s",x),slideLeftIn400:se(O+","+L,"0.367s",x),slideUpIn10:se(O+","+j,"0.367s",x),slideUpIn20:se(O+","+F,"0.367s",x),slideDownIn10:se(O+","+B,"0.367s",x),slideDownIn20:se(O+","+W,"0.367s",x),slideRightOut10:se(I+","+z,"0.367s",x),slideRightOut20:se(I+","+H,"0.367s",x),slideRightOut40:se(I+","+U,"0.367s",x),slideRightOut400:se(I+","+V,"0.367s",x),slideLeftOut10:se(I+","+G,"0.367s",x),slideLeftOut20:se(I+","+K,"0.367s",x),slideLeftOut40:se(I+","+q,"0.367s",x),slideLeftOut400:se(I+","+Z,"0.367s",x),slideUpOut10:se(I+","+X,"0.367s",x),slideUpOut20:se(I+","+Y,"0.367s",x),slideDownOut10:se(I+","+Q,"0.367s",x),slideDownOut20:se(I+","+$,"0.367s",x),scaleUpIn100:se(O+","+J,"0.367s",x),scaleDownIn100:se(O+","+te,"0.367s",x),scaleUpOut103:se(I+","+ne,"0.167s",k),scaleDownOut98:se(I+","+ee,"0.167s",k),fadeIn100:se(O,"0.167s",k),fadeIn200:se(O,"0.267s",k),fadeIn400:se(O,"0.367s",k),fadeIn500:se(O,"0.467s",k),fadeOut100:se(I,"0.167s",k),fadeOut200:se(I,"0.267s",k),fadeOut400:se(I,"0.367s",k),fadeOut500:se(I,"0.467s",k),rotate90deg:se(oe,"0.1s",k),rotateN90deg:se(re,"0.1s",k)};function se(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function le(e){return l({from:{transform:"translate3d("+e+"px,0,0)"},to:{transform:"translate3d(0,0,0)"}})}function ce(e){return l({from:{transform:"translate3d(0,"+e+"px,0)"},to:{transform:"translate3d(0,0,0)"}})}function ue(e){return l({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function de(e){return l({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var pe,me,he={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"},fe={elevation4:"0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",elevation8:"0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",elevation16:"0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",elevation64:"0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)",roundedCorner2:"2px"};!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)"}(pe||(pe={})),function(e){e.Arabic="'"+pe.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+pe.Cyrillic+"'",e.EastEuropean="'"+pe.EastEuropean+"'",e.Greek="'"+pe.Greek+"'",e.Hebrew="'"+pe.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+pe.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+pe.Vietnamese+"'",e.WestEuropean="'"+pe.WestEuropean+"'",e.Armenian="'"+pe.Armenian+"'",e.Georgian="'"+pe.Georgian+"'"}(me||(me={}));var ge,be,ve,ye="'Segoe UI', '"+pe.WestEuropean+"'",we={ar:me.Arabic,bg:me.Cyrillic,cs:me.EastEuropean,el:me.Greek,et:me.EastEuropean,he:me.Hebrew,hi:me.Hindi,hr:me.EastEuropean,hu:me.EastEuropean,ja:me.Japanese,kk:me.EastEuropean,ko:me.Korean,lt:me.EastEuropean,lv:me.EastEuropean,pl:me.EastEuropean,ru:me.Cyrillic,sk:me.EastEuropean,"sr-latn":me.EastEuropean,th:me.Thai,tr:me.EastEuropean,uk:me.Cyrillic,vi:me.Vietnamese,"zh-hans":me.ChineseSimplified,"zh-hant":me.ChineseTraditional,hy:me.Armenian,ka:me.Georgian};function _e(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}!function(e){e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(ge||(ge={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(be||(be={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(ve||(ve={}));var Ce,Ee=n(46),Se=n(26);var xe,ke,Oe,Ie,Te,Pe=(xe=function(){if(void 0===Ce){var e=Object(Ee.a)(),t=function(e){var t=null;try{var n=Object(Se.a)();t=n?n.localStorage.getItem(e):null}catch(e){}return t}("language");null!==t&&(Ce=t),void 0===Ce&&e&&(Ce=e.documentElement.getAttribute("lang")),void 0===Ce&&(Ce="en")}return Ce}(),ke=function(e){for(var t in we)if(we.hasOwnProperty(t)&&e&&0===t.indexOf(e))return we[t];return ye}(xe)+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif",{tiny:_e(ge.mini,be.regular,ke),xSmall:_e(ge.xSmall,be.regular,ke),small:_e(ge.small,be.regular,ke),smallPlus:_e(ge.smallPlus,be.regular,ke),medium:_e(ge.medium,be.regular,ke),mediumPlus:_e(ge.mediumPlus,be.regular,ke),large:_e(ge.large,be.regular,ke),xLarge:_e(ge.xLarge,be.semibold,ke),xLargePlus:_e(ge.xLargePlus,be.semibold,ke),xxLarge:_e(ge.xxLarge,be.semibold,ke),xxLargePlus:_e(ge.xxLargePlus,be.semibold,ke),superLarge:_e(ge.superLarge,be.semibold,ke),mega:_e(ge.mega,be.semibold,ke)});function De(e,t,n,o){f({fontFamily:e="'"+e+"'",src:(void 0!==o?"local('"+o+"'),":"")+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function Me(e,t,n,o,r){void 0===o&&(o="segoeui");var i=e+"/"+n+"/"+o;De(t,i+"-light",be.light,r&&r+" Light"),De(t,i+"-semilight",be.semilight,r&&r+" SemiLight"),De(t,i+"-regular",be.regular,r),De(t,i+"-semibold",be.semibold,r&&r+" SemiBold"),De(t,i+"-bold",be.bold,r&&r+" Bold")}!function(e){if(e){var t=e+"/fonts";Me(t,pe.Thai,"leelawadeeui-thai","leelawadeeui"),Me(t,pe.Arabic,"segoeui-arabic"),Me(t,pe.Cyrillic,"segoeui-cyrillic"),Me(t,pe.EastEuropean,"segoeui-easteuropean"),Me(t,pe.Greek,"segoeui-greek"),Me(t,pe.Hebrew,"segoeui-hebrew"),Me(t,pe.Vietnamese,"segoeui-vietnamese"),Me(t,pe.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Me(t,me.Selawik,"selawik","selawik"),Me(t,pe.Armenian,"segoeui-armenian"),Me(t,pe.Georgian,"segoeui-georgian"),De("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",be.light),De("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",be.semibold)}}(null!=(Te=null===(Ie=null===(Oe=Object(Se.a)())||void 0===Oe?void 0:Oe.FabricConfig)||void 0===Ie?void 0:Ie.fontBaseUrl)?Te:"https://static2.sharepointonline.com/files/fabric/assets");var Ae="@media screen and (-ms-high-contrast: active)",Re="@media screen and (-ms-high-contrast: black-on-white)",Ne="@media screen and (-ms-high-contrast: white-on-black)",Le=320,je=480,Fe=640,Be=1024,We=1366,ze=je-1,He=Fe-1,Ue=768;function Ve(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"}function Ge(){var e;return(e={})["@media screen and (-ms-high-contrast: active) and (forced-colors: active)"]={forcedColorAdjust:"none"},e}var Ke,qe=n(101);function Ze(e,t,n,o,r,i,a){return Xe(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:o,borderColor:r,outlineColor:i,isFocusedOnly:a})}function Xe(e,t){var n,o;void 0===t&&(t={});var r=t.inset,i=void 0===r?0:r,a=t.width,s=void 0===a?1:a,l=t.position,c=void 0===l?"relative":l,u=t.highContrastStyle,d=t.borderColor,p=void 0===d?e.palette.white:d,m=t.outlineColor,h=void 0===m?e.palette.neutralSecondary:m,f=t.isFocusedOnly,g=void 0===f||f;return{outline:"transparent",position:c,selectors:(n={"::-moz-focus-inner":{border:"0"}},n["."+qe.a+" &"+(g?":focus":"")+":after"]={content:'""',position:"absolute",left:i+1,top:i+1,bottom:i+1,right:i+1,border:s+"px solid "+p,outline:s+"px solid "+h,zIndex:Ke.FocusStyle,selectors:(o={},o[Ae]=u,o)},n)}}function Ye(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Ke||(Ke={}));var Qe=function(e,t,n,o){var r,i,a;void 0===n&&(n="border"),void 0===o&&(o=-1);var s="borderBottom"===n;return{borderColor:e,selectors:{":after":(r={pointerEvents:"none",content:"''",position:"absolute",left:s?0:o,top:o,bottom:o,right:s?0:o},r[n]="2px solid "+e,r.borderRadius=t,r.width="borderBottom"===n?"100%":void 0,r.selectors=(i={},i[Ae]=(a={},a["border"===n?"borderColor":"borderBottomColor"]="Highlight",a),i),r)}}},$e={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden"};var Je=n(58),et=Object(Je.b)((function(e,t){var n=a.a.getInstance();return t?Object.keys(e).reduce((function(t,o){return t[o]=n.getClassName(e[o]),t}),{}):e}));function tt(e,t,n){return et(e,void 0!==n?n:t.disableGlobalClassNames)}var nt=n(51);n(110);function ot(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++){var i=r[o];rt(e||{},i)}return e}function rt(e,t,n){for(var o in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(o)){var r=t[o];if("object"==typeof r&&null!==r){var i=n.indexOf(r)>-1;e[o]=i?r:rt(e[o]||{},r,n)}else e[o]=r}return n.pop(),e}var it,at,st,lt={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},ct=(n(144),dt({palette:he,semanticColors:pt(he,!1,!1),fonts:Pe,isInverted:!1,disableGlobalClassNames:!1}));if(!nt.a.getSettings(["theme"]).theme){var ut=Object(Se.a)();(null===(st=null===(at=ut)||void 0===at?void 0:at.FabricConfig)||void 0===st?void 0:st.theme)&&(ct=dt(ut.FabricConfig.theme)),nt.a.applySettings(((it={}).theme=ct,it))}function dt(e,t){void 0===t&&(t=!1);var n=p(p({},he),e.palette);e.palette&&e.palette.accent||(n.accent=n.themePrimary);var o=p(p({},pt(n,!!e.isInverted,t)),e.semanticColors),r=p({},Pe);if(e.defaultFontStyle)for(var i=0,a=Object.keys(r);i<a.length;i++){r[c=a[i]]=ot({},r[c],e.defaultFontStyle)}if(e.fonts)for(var s=0,l=Object.keys(e.fonts);s<l.length;s++){var c;r[c=l[s]]=ot({},r[c],e.fonts[c])}return{palette:n,fonts:p({},r),rtl:e.rtl,semanticColors:o,isInverted:!!e.isInverted,disableGlobalClassNames:!!e.disableGlobalClassNames,spacing:p(p({},lt),e.spacing),effects:p(p({},fe),e.effects)}}function pt(e,t,n){return 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}({bodyBackground:e.white,bodyBackgroundHovered:e.neutralLighter,bodyBackgroundChecked:e.neutralLight,bodyStandoutBackground:e.neutralLighterAlt,bodyFrameBackground:e.white,bodyFrameDivider:e.neutralLight,bodyText:e.neutralPrimary,bodyTextChecked:e.black,bodySubtext:e.neutralSecondary,bodyDivider:e.neutralLight,disabledBodyText:e.neutralTertiary,disabledBodySubtext:e.neutralTertiaryAlt,disabledBorder:e.neutralTertiaryAlt,focusBorder:e.neutralSecondary,variantBorder:e.neutralLight,variantBorderHovered:e.neutralTertiary,defaultStateBackground:e.neutralLighterAlt,actionLink:e.neutralPrimary,actionLinkHovered:e.neutralDark,link:e.themePrimary,linkHovered:e.themeDarker,buttonBackground:e.white,buttonBackgroundChecked:e.neutralTertiaryAlt,buttonBackgroundHovered:e.neutralLighter,buttonBackgroundCheckedHovered:e.neutralLight,buttonBackgroundPressed:e.neutralLight,buttonBackgroundDisabled:e.neutralLighter,buttonBorder:e.neutralSecondaryAlt,buttonText:e.neutralPrimary,buttonTextHovered:e.neutralDark,buttonTextChecked:e.neutralDark,buttonTextCheckedHovered:e.black,buttonTextPressed:e.neutralDark,buttonTextDisabled:e.neutralTertiary,buttonBorderDisabled:e.neutralLighter,primaryButtonBackground:e.themePrimary,primaryButtonBackgroundHovered:e.themeDarkAlt,primaryButtonBackgroundPressed:e.themeDark,primaryButtonBackgroundDisabled:e.neutralLighter,primaryButtonBorder:"transparent",primaryButtonText:e.white,primaryButtonTextHovered:e.white,primaryButtonTextPressed:e.white,primaryButtonTextDisabled:e.neutralQuaternary,accentButtonBackground:e.accent,accentButtonText:e.white,inputBorder:e.neutralSecondary,inputBorderHovered:e.neutralPrimary,inputBackground:e.white,inputBackgroundChecked:e.themePrimary,inputBackgroundCheckedHovered:e.themeDark,inputPlaceholderBackgroundChecked:e.themeLighter,inputForegroundChecked:e.white,inputIcon:e.themePrimary,inputIconHovered:e.themeDark,inputIconDisabled:e.neutralTertiary,inputFocusBorderAlt:e.themePrimary,smallInputBorder:e.neutralSecondary,inputText:e.neutralPrimary,inputTextHovered:e.neutralDark,inputPlaceholderText:e.neutralSecondary,disabledBackground:e.neutralLighter,disabledText:e.neutralTertiary,disabledSubtext:e.neutralQuaternary,listBackground:e.white,listText:e.neutralPrimary,listItemBackgroundHovered:e.neutralLighter,listItemBackgroundChecked:e.neutralLight,listItemBackgroundCheckedHovered:e.neutralQuaternaryAlt,listHeaderBackgroundHovered:e.neutralLighter,listHeaderBackgroundPressed:e.neutralLight,menuBackground:e.white,menuDivider:e.neutralTertiaryAlt,menuIcon:e.themePrimary,menuHeader:e.themePrimary,menuItemBackgroundHovered:e.neutralLighter,menuItemBackgroundPressed:e.neutralLight,menuItemText:e.neutralPrimary,menuItemTextHovered:e.neutralDark,errorText:t?"#F1707B":"#a4262c",messageText:t?"#F3F2F1":"#323130",messageLink:t?"#6CB8F6":"#005A9E",messageLinkHovered:t?"#82C7FF":"#004578",infoIcon:t?"#C8C6C4":"#605e5c",errorIcon:t?"#F1707B":"#A80000",blockingIcon:t?"#442726":"#FDE7E9",warningIcon:t?"#C8C6C4":"#797775",severeWarningIcon:t?"#FCE100":"#D83B01",successIcon:t?"#92C353":"#107C10",infoBackground:t?"#323130":"#f3f2f1",errorBackground:t?"#442726":"#FDE7E9",blockingBackground:t?"#442726":"#FDE7E9",warningBackground:t?"#433519":"#FFF4CE",severeWarningBackground:t?"#4F2A0F":"#FED9CC",successBackground:t?"#393D1B":"#DFF6DD",warningHighlight:t?"#fff100":"#ffb900",warningText:"",successText:t?"#92c353":"#107C10",listTextColor:"",menuItemBackgroundChecked:e.neutralLight},n)}var mt={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},ht={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};function ft(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var gt=d(ae),bt=(d(Pe),{});for(var vt in he)he.hasOwnProperty(vt)&&(yt(bt,vt,"",!1,"color"),yt(bt,vt,"Hover",!0,"color"),yt(bt,vt,"Background",!1,"background"),yt(bt,vt,"BackgroundHover",!0,"background"),yt(bt,vt,"Border",!1,"borderColor"),yt(bt,vt,"BorderHover",!0,"borderColor"));function yt(e,t,n,o,r){Object.defineProperty(e,t+n,{get:function(){var e,n,i=((e={})[r]=(void 0===n&&(n=!1),!0===n&&(ct=dt({},n)),ct).palette[t],e);return Object(u.b)(o?{selectors:{":hover":i}}:i).toString()},enumerable:!0,configurable:!0})}var wt=n(97);Object(wt.a)("@uifabric/styling","7.12.5")},,function(e,t,n){e.exports=n(181)},function(e,t,n){"use strict";var o,r;n.d(t,"a",(function(){return o})),function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(o||(o={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(r||(r={}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Ke}));var o=n(115),r=n.n(o),i=n(149),a=n.n(i),s=n(0),l=n.n(s),c=n(116),u=n(117),d=(n(200),n(39),n(160)),p=function(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n},m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},b=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},v=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},y=function(e){return"object"===(void 0===e?"undefined":m(e))&&e.constructor===Object},w=Object.freeze([]),_=Object.freeze({});function C(e){return"function"==typeof e}function E(e){return e.displayName||e.name||"Component"}function S(e){return e&&"string"==typeof e.styledComponentId}var x=void 0!==e&&e.env.SC_ATTR||"data-styled",k="undefined"!=typeof window&&"HTMLElement"in window,O={};var I=function(e){function t(n){h(this,t);for(var o=arguments.length,r=Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var a=v(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/src/utils/errors.md#"+n+" for more information. "+(r?"Additional arguments: "+r.join(", "):"")));return v(a)}return b(t,e),t}(Error),T=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,P=function(e){var t=""+(e||""),n=[];return t.replace(T,(function(e,t,o){return n.push({componentId:t,matchIndex:o}),e})),n.map((function(e,o){var r=e.componentId,i=e.matchIndex,a=n[o+1];return{componentId:r,cssFromDOM:a?t.slice(i,a.matchIndex):t.slice(i)}}))},D=/^\s*\/\/.*$/gm,M=/(&(?! *[+~>])([^&{][^{]+)[^+~>]*)?([+~>] *)&/g,A=new r.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),R=new r.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),N=[],L=function(e){if(-2===e){var t=N;return N=[],t}},j=a()((function(e){N.push(e)}));R.use([j,L]),A.use([j,L]);var F=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",r=e.join("").replace(D,""),i=(t&&n?n+" "+t+" { "+r+" }":r).replace(M,"$1$3."+o+"$2");return R(n||!t?"":t,i)},B=function(e){return A("",e)},W=function(){return n.nc},z=function(e){var t=!1;return function(){t||(t=!0,e())}},H=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},U=function(e,t){e[t]=Object.create(null)},V=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},G=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},K=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets.length,n=0;n<t;n+=1){var o=document.styleSheets[n];if(o.ownerNode===e)return o}throw new I(10)},q=function(e,t,n){if(!t)return!1;var o=e.cssRules.length;try{e.insertRule(t,n<=o?n:o)}catch(e){return!1}return!0},Z=function(e){return"\n/* sc-component-id: "+e+" */\n"},X=function(e,t){for(var n=0,o=0;o<=t;o+=1)n+=e[o];return n},Y=function(e,t){return function(n){var o=W();return"<style "+[o&&'nonce="'+o+'"',x+'="'+G(t)+'"','data-styled-version="4.0.0"',n].filter(Boolean).join(" ")+">"+e()+"</style>"}},Q=function(e,t){return function(){var n,o=((n={})[x]=G(t),n["data-styled-version"]="4.0.0",n),r=W();return r&&(o.nonce=r),l.a.createElement("style",g({},o,{dangerouslySetInnerHTML:{__html:e()}}))}},$=function(e){return function(){return Object.keys(e)}},J=function e(t,n){var o=void 0===t?Object.create(null):t,r=void 0===n?Object.create(null):n,i=function(e){var t=r[e];return void 0!==t?t:r[e]=[""]},a=function(){var e="";for(var t in r){var n=r[t][0];n&&(e+=Z(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=g({},e[n]);return t}(o),n=Object.create(null);for(var i in r)n[i]=[r[i][0]];return e(t,n)},css:a,getIds:$(r),hasNameForId:V(o),insertMarker:i,insertRules:function(e,t,n){i(e)[0]+=t.join(" "),H(o,e,n)},removeRules:function(e){var t=r[e];void 0!==t&&(t[0]="",U(o,e))},sealed:!1,styleTag:null,toElement:Q(a,o),toHTML:Y(a,o)}},ee=function(e,t,n,o,r){if(k&&!n){var i=function(e,t,n){var o=document.createElement("style");o.setAttribute(x,""),o.setAttribute("data-styled-version","4.0.0");var r=W();if(r&&o.setAttribute("nonce",r),o.appendChild(document.createTextNode("")),e&&!t)e.appendChild(o);else{if(!t||!e||!t.parentNode)throw new I(6);t.parentNode.insertBefore(o,n?t:t.nextSibling)}return o}(e,t,o);return function(e,t){var n=Object.create(null),o=Object.create(null),r=[],i=void 0!==t,a=!1,s=function(e){var t=o[e];return void 0!==t?t:(o[e]=r.length,r.push(0),U(n,e),o[e])},l=function(){var t=K(e).cssRules,n="";for(var i in o){n+=Z(i);for(var a=o[i],s=X(r,a),l=s-r[a];l<s;l+=1){var c=t[l];void 0!==c&&(n+=c.cssText)}}return n};return{clone:function(){throw new I(5)},css:l,getIds:$(o),hasNameForId:V(n),insertMarker:s,insertRules:function(o,l,c){for(var u=s(o),d=K(e),p=X(r,u),m=0,h=[],f=l.length,g=0;g<f;g+=1){var b=l[g],v=i;v&&-1!==b.indexOf("@import")?h.push(b):q(d,b,p+m)&&(v=!1,m+=1)}i&&h.length>0&&(a=!0,t().insertRules(o+"-import",h)),r[u]+=m,H(n,o,c)},removeRules:function(s){var l=o[s];if(void 0!==l){var c=r[l];!function(e,t,n){for(var o=t-n,r=t;r>o;r-=1)e.deleteRule(r)}(K(e),X(r,l)-1,c),r[l]=0,U(n,s),i&&a&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:Q(l,n),toHTML:Y(l,n)}}(i,r)}return J()},te=/\s+/,ne=void 0;ne=k?1e3:-1;var oe=0,re=void 0,ie=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k?document.head:null,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=ee(t.target,n?n.styleTag:null,t.forceServer,!0)},oe+=1,this.id=oe,this.forceServer=o,this.target=o?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!k||this.forceServer)return this;var e=[],t=[],n=!1,o=document.querySelectorAll("style["+x+'][data-styled-version="4.0.0"]'),r=o.length;if(0===r)return this;for(var i=0;i<r;i+=1){var a=o[i];n||(n=!!a.getAttribute("data-styled-streamed"));for(var s=(a.getAttribute(x)||"").trim().split(te),l=s.length,c=0;c<l;c+=1){var u=s[c];this.rehydratedNames[u]=!0}t.push.apply(t,P(a.textContent)),e.push(a)}var d=t.length;if(0===d)return this;var p=function(e,t,n,o){var r=z((function(){for(var o=0,r=n.length;o<r;o+=1){var i=n[o],a=i.componentId,s=i.cssFromDOM,l=B(s);e.insertRules(a,l)}for(var c=0,u=t.length;c<u;c+=1){var d=t[c];d.parentNode&&d.parentNode.removeChild(d)}}));return o&&r(),g({},e,{insertMarker:function(t){return r(),e.insertMarker(t)},insertRules:function(t,n,o){return r(),e.insertRules(t,n,o)},removeRules:function(t){return r(),e.removeRules(t)}})}(this.makeTag(null),e,t,n);this.capacity=Math.max(1,ne-d),this.tags.push(p);for(var m=0;m<d;m+=1)this.tagMap[t[m].componentId]=p;return this},e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];re=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var n=e.getIds(),o=e.clone(),r=0;r<n.length;r+=1)t.tagMap[n[r]]=o;return o})),t.rehydratedNames=g({},this.rehydratedNames),t.deferred=g({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ee(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=ne,n=this.makeTag(n),this.tags.push(n)),this.tagMap[e]=n},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var n=this.tagMap[e];return void 0!==n&&n.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var n=this.clones,o=0;o<n.length;o+=1)n[o].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,n){for(var o=this.clones,r=0;r<o.length;r+=1)o[r].inject(e,t,n);var i=this.getTagForId(e);if(void 0!==this.deferred[e]){var a=this.deferred[e].concat(t);i.insertRules(e,a,n),this.deferred[e]=void 0}else i.insertRules(e,t,n)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var n=this.clones,o=0;o<n.length;o+=1)n[o].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,n){var o="sc-"+e+"-"+n;return Object(s.cloneElement)(t.toElement(),{key:o})}))},f(e,null,[{key:"master",get:function(){return re||(re=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),ae=function(){function e(t,n){var o=this;h(this,e),this.inject=function(e){e.hasNameForId(o.id,o.name)||e.inject(o.id,o.rules,o.name)},this.name=t,this.rules=n,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),se=/([A-Z])/g,le=/^ms-/;var ce=function e(t,n){var o=Object.keys(t).filter((function(e){var n=t[e];return null!=n&&!1!==n&&""!==n})).map((function(n){return y(t[n])?e(t[n],n):n.replace(se,"-$1").toLowerCase().replace(le,"-ms-")+": "+t[n]+";"})).join(" ");return n?n+" {\n  "+o+"\n}":o};function ue(e,t,n){if(Array.isArray(e)){for(var o,r=[],i=0,a=e.length;i<a;i+=1)null!==(o=ue(e[i],t,n))&&(Array.isArray(o)?r.push.apply(r,o):r.push(o));return r}return function(e){return null==e||!1===e||""===e}(e)?null:S(e)?"."+e.styledComponentId:C(e)?t?ue(e(t),t,n):e:e instanceof ae?n?(e.inject(n),e.getName()):e:y(e)?ce(e):e.toString()}function de(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return C(e)||y(e)?ue(p(w,[e].concat(n))):ue(p(e,n))}function pe(e){for(var t,n=0|e.length,o=0|n,r=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+((1540483477*(t>>>16)&65535)<<16),o=1540483477*(65535&o)+((1540483477*(o>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++r;switch(n){case 3:o^=(255&e.charCodeAt(r+2))<<16;case 2:o^=(255&e.charCodeAt(r+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(r)))+((1540483477*(o>>>16)&65535)<<16)}return((o=1540483477*(65535&(o^=o>>>13))+((1540483477*(o>>>16)&65535)<<16))^o>>>15)>>>0}var me=function(e){return String.fromCharCode(e+(e>25?39:97))};function he(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=me(n%52)+t;return me(n%52)+t}function fe(e,t){for(var n=0;n<e.length;n+=1){var o=e[n];if(Array.isArray(o)&&!fe(o))return!1;if(C(o)&&!S(o))return!1}if(void 0!==t)for(var r in t){if(C(t[r]))return!1}return!0}var ge,be=function(e){return he(pe(e))},ve=function(){function e(t,n,o){if(h(this,e),this.rules=t,this.isStatic=fe(t,n),this.componentId=o,!ie.master.hasId(o)){var r=[];ie.master.deferredInject(o,r)}}return e.prototype.generateAndInjectStyles=function(e,t){var n=this.isStatic,o=this.componentId,r=this.lastClassName;if(k&&n&&void 0!==r&&t.hasNameForId(o,r))return r;var i=ue(this.rules,e,t),a=be(this.componentId+i.join(""));return t.hasNameForId(o,a)||t.inject(this.componentId,F(i,"."+a,void 0,o),a),this.lastClassName=a,a},e.generateName=function(e){return be(e)},e}(),ye=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_,o=!!n&&e.theme===n.theme,r=e.theme&&!o?e.theme:t||n.theme;return r},we=/[[\].#*$><+~=|^:(),"'`-]+/g,_e=/(^-|-$)/g;function Ce(e){return e.replace(we,"-").replace(_e,"")}function Ee(e){return"string"==typeof e}var Se={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},xe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ke=((ge={})[c.ForwardRef]={$$typeof:!0,render:!0},ge),Oe=Object.defineProperty,Ie=Object.getOwnPropertyNames,Te=Object.getOwnPropertySymbols,Pe=void 0===Te?function(){return[]}:Te,De=Object.getOwnPropertyDescriptor,Me=Object.getPrototypeOf,Ae=Object.prototype,Re=Array.prototype;function Ne(e,t,n){if("string"!=typeof t){var o=Me(t);o&&o!==Ae&&Ne(e,o,n);for(var r=Re.concat(Ie(t),Pe(t)),i=ke[e.$$typeof]||Se,a=ke[t.$$typeof]||Se,s=r.length,l=void 0,c=void 0;s--;)if(c=r[s],!(xe[c]||n&&n[c]||a&&a[c]||i&&i[c])&&(l=De(t,c)))try{Oe(e,c,l)}catch(e){}return e}return e}var Le=Object(s.createContext)(),je=Le.Consumer,Fe=(function(e){function t(n){h(this,t);var o=v(this,e.call(this,n));return o.getContext=Object(u.a)(o.getContext.bind(o)),o.renderInner=o.renderInner.bind(o),o}b(t,e),t.prototype.render=function(){return this.props.children?l.a.createElement(Le.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return l.a.createElement(Le.Provider,{value:t},l.a.Children.only(this.props.children))},t.prototype.getTheme=function(e,t){if(C(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":m(e)))throw new I(8);return g({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(s.Component),function(){function e(){h(this,e),this.masterSheet=ie.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new I(2);return l.a.createElement(We,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new I(3)}}(),Object(s.createContext)()),Be=Fe.Consumer,We=function(e){function t(n){h(this,t);var o=v(this,e.call(this,n));return o.getContext=Object(u.a)(o.getContext),o}return b(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new ie(t);throw new I(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,o=e.target,r=this.getContext(n,o);return l.a.createElement(Fe.Provider,{value:r},l.a.Children.only(t))},t}(s.Component),ze={};z((function(){return console.warn('The "innerRef" API has been removed in styled-components v4 in favor of React 16 ref forwarding, use "ref" instead like a typical component.')}));var He=function(e){function t(){h(this,t);var n=v(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return b(t,e),t.prototype.render=function(){return l.a.createElement(Be,null,this.renderOuter)},t.prototype.renderOuter=function(e){return this.styleSheet=e,l.a.createElement(je,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedClass,n=t.componentStyle,o=t.defaultProps,r=t.styledComponentId,i=t.target,a=void 0;a=n.isStatic?this.generateAndInjectStyles(_,this.props,this.styleSheet):void 0!==e?this.generateAndInjectStyles(ye(this.props,e,o),this.props,this.styleSheet):this.generateAndInjectStyles(this.props.theme||_,this.props,this.styleSheet);var l=this.props.as||this.attrs.as||i,c=Ee(l),u=g({},this.attrs),p=void 0;for(p in this.props)"forwardedClass"!==p&&"as"!==p&&("forwardedRef"===p?u.ref=this.props[p]:c&&!Object(d.a)(p)||(u[p]="style"===p&&p in this.attrs?g({},this.attrs[p],this.props[p]):this.props[p]));return u.className=[this.props.className,r,this.attrs.className,a].filter(Boolean).join(" "),Object(s.createElement)(l,u)},t.prototype.buildExecutionContext=function(e,t,n){var o=g({},t,{theme:e});if(void 0===n)return o;this.attrs={};var r,i=void 0,a=void 0;for(a in n)i=n[a],this.attrs[a]=!C(i)||(r=i)&&r.prototype&&r.prototype.isReactComponent||S(i)?i:i(o);return g({},o,this.attrs)},t.prototype.generateAndInjectStyles=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ie.master,o=t.forwardedClass,r=o.attrs,i=o.componentStyle,a=o.warnTooManyClasses;if(i.isStatic&&void 0===r)return i.generateAndInjectStyles(_,n);var s=i.generateAndInjectStyles(this.buildExecutionContext(e,t,t.forwardedClass.attrs),n);return a&&a(s),s},t}(s.Component);function Ue(e,t,n){var o=S(e),r=!Ee(e),i=t.displayName,a=void 0===i?function(e){return Ee(e)?"styled."+e:"Styled("+E(e)+")"}(e):i,s=t.componentId,c=void 0===s?function(e,t,n){var o="string"!=typeof t?"sc":Ce(t),r=(ze[o]||0)+1;ze[o]=r;var i=o+"-"+e.generateName(o+r);return n?n+"-"+i:i}(ve,t.displayName,t.parentComponentId):s,u=t.ParentComponent,d=void 0===u?He:u,p=t.attrs,m=t.displayName&&t.componentId?Ce(t.displayName)+"-"+t.componentId:t.componentId||c,h=o&&e.attrs?g({},e.attrs,p):p,f=new ve(o?e.componentStyle.rules.concat(n):n,h,m),b=l.a.forwardRef((function(e,t){return l.a.createElement(d,g({},e,{forwardedClass:b,forwardedRef:t}))}));return b.attrs=h,b.componentStyle=f,b.displayName=a,b.styledComponentId=m,b.target=o?e.target:e,b.withComponent=function(e){var o=t.componentId,r=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["componentId"]),i=o&&o+"-"+(Ee(e)?e:Ce(E(e)));return Ue(e,g({},r,{attrs:h,componentId:i,ParentComponent:d}),n)},r&&Ne(b,e,{attrs:!0,componentStyle:!0,displayName:!0,styledComponentId:!0,target:!0,warnTooManyClasses:!0,withComponent:!0}),b}var Ve=function(e){return function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;if(!Object(c.isValidElementType)(n))throw new I(1,String(n));var r=function(){return t(n,o,de.apply(void 0,arguments))};return r.withConfig=function(r){return e(t,n,g({},o,r))},r.attrs=function(r){return e(t,n,g({},o,{attrs:g({},o.attrs||_,r)}))},r}(Ue,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Ve[e]=Ve(e)}));var Ge=function(){function e(t,n){h(this,e),this.rules=t,this.componentId=n,this.isStatic=fe(t),ie.master.hasId(n)||ie.master.deferredInject(n,[])}return e.prototype.createStyles=function(e,t){var n=ue(this.rules,e,t),o=F(n,"");t.inject(this.componentId,o)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)},e}();function Ke(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=de.apply(void 0,[e].concat(n)),i="sc-global-"+pe(JSON.stringify(r)),a=new Ge(r,i),s=function(e){function t(){h(this,t);var n=v(this,e.call(this)),o=n.constructor,r=o.globalStyle,i=o.styledComponentId;return k&&(window.scCGSHMRCache[i]=(window.scCGSHMRCache[i]||0)+1),n.state={globalStyle:r,styledComponentId:i},n}return b(t,e),t.prototype.componentDidMount=function(){0},t.prototype.componentWillUnmount=function(){window.scCGSHMRCache[this.state.styledComponentId]&&(window.scCGSHMRCache[this.state.styledComponentId]-=1),0===window.scCGSHMRCache[this.state.styledComponentId]&&this.state.globalStyle.removeStyles(this.styleSheet)},t.prototype.render=function(){var e=this;return l.a.createElement(Be,null,(function(t){e.styleSheet=t||ie.master;var n=e.state.globalStyle;return n.isStatic?(n.renderStyles(O,e.styleSheet),null):l.a.createElement(je,null,(function(t){var o=e.constructor.defaultProps,r=g({},e.props);return void 0!==t&&(r.theme=ye(e.props,t,o)),n.renderStyles(r,e.styleSheet),null}))}))},t}(l.a.Component);return s.globalStyle=a,s.styledComponentId=i,s}k&&(window.scCGSHMRCache={});t.b=Ve}).call(this,n(109))},,function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),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"}(o||(o={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13}},,function(e,t,n){"use strict";var o,r,i,a,s;n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"a",(function(){return s})),function(e){e[e.disabled=0]="disabled",e[e.clickable=1]="clickable",e[e.hasDropdown=2]="hasDropdown"}(o||(o={})),function(e){e[e.unconstrained=0]="unconstrained",e[e.horizontalConstrained=1]="horizontalConstrained"}(r||(r={})),function(e){e[e.outside=0]="outside",e[e.surface=1]="surface",e[e.header=2]="header"}(i||(i={})),function(e){e[e.fixedColumns=0]="fixedColumns",e[e.justified=1]="justified"}(a||(a={})),function(e){e[e.onHover=0]="onHover",e[e.always=1]="always",e[e.hidden=2]="hidden"}(s||(s={}))},function(e,t,n){"use strict";var o,r,i;n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),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"}(o||(o={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(r||(r={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(i||(i={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(162),l=n(83),c=n(267),u=n(244),d=n(79),p=n(268),m=Object(a.a)(),h=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o._checkBox=i.createRef(),o._onFocus=function(e){var t=o.props.inputProps;t&&t.onFocus&&t.onFocus(e)},o._onBlur=function(e){var t=o.props.inputProps;t&&t.onBlur&&t.onBlur(e)},o._onChange=function(e){var t=o.props.onChange,n=o.state,r=n.isChecked;n.isIndeterminate?(t&&t(e,r),void 0===o.props.indeterminate&&o.setState({isIndeterminate:!1})):(t&&t(e,!r),void 0===o.props.checked&&o.setState({isChecked:!r}))},o._onRenderLabel=function(e){var t=e.label,n=e.title;return t?i.createElement("span",{"aria-hidden":"true",className:o._classNames.text,title:n},t):null},Object(s.a)(o),o._id=o.props.id||Object(l.a)("checkbox-"),o.state={isChecked:!!(void 0!==t.checked?t.checked:t.defaultChecked),isIndeterminate:!!(void 0!==t.indeterminate?t.indeterminate:t.defaultIndeterminate)},o}return Object(r.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return void 0!==e.indeterminate&&(n.isIndeterminate=!!e.indeterminate),void 0!==e.checked&&(n.isChecked=!!e.checked),Object.keys(n).length?n:null},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.disabled,a=t.inputProps,s=t.name,l=t.boxSide,h=t.theme,f=t.ariaLabel,g=t.ariaLabelledBy,b=t.ariaDescribedBy,v=t.styles,y=t.onRenderLabel,w=void 0===y?this._onRenderLabel:y,_=t.checkmarkIconProps,C=t.ariaPositionInSet,E=t.ariaSetSize,S=t.keytipProps,x=t.title,k=t.label,O=this.state,I=O.isChecked,T=O.isIndeterminate;return this._classNames=m(v,{theme:h,className:n,disabled:o,indeterminate:T,checked:I,reversed:"start"!==l,isUsingCustomLabelRender:w!==this._onRenderLabel}),i.createElement(p.a,{keytipProps:S,disabled:o},(function(t){return i.createElement("div",{className:e._classNames.root,title:x},i.createElement(c.a,null),i.createElement("input",Object(r.a)({type:"checkbox"},a,{"data-ktp-execute-target":t["data-ktp-execute-target"],checked:I,disabled:o,className:e._classNames.input,ref:e._checkBox,name:s,id:e._id,title:x,onChange:e._onChange,onFocus:e._onFocus,onBlur:e._onBlur,"aria-disabled":o,"aria-label":f||k,"aria-labelledby":g,"aria-describedby":Object(u.a)(b,t["aria-describedby"]),"aria-posinset":C,"aria-setsize":E,"aria-checked":T?"mixed":I?"true":"false"})),i.createElement("label",{className:e._classNames.label,htmlFor:e._id},i.createElement("div",{className:e._classNames.checkbox,"data-ktp-target":t["data-ktp-target"]},i.createElement(d.a,Object(r.a)({iconName:"CheckMark"},_,{className:e._classNames.checkmark}))),w(e.props,e._onRenderLabel)))}))},Object.defineProperty(t.prototype,"indeterminate",{get:function(){return!!this.state.isIndeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return!!this.state.isChecked},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._checkBox.current&&this._checkBox.current.focus()},t.defaultProps={boxSide:"start"},t}(i.Component),f=n(14),g=n(101),b={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},v=Object(o.a)(h,(function(e){var t,n,o,i,a,s,l,c,u,d,p,m,h,v,y,w,_,C,E=e.className,S=e.theme,x=e.reversed,k=e.checked,O=e.disabled,I=e.isUsingCustomLabelRender,T=e.indeterminate,P=S.semanticColors,D=S.effects,M=S.palette,A=S.fonts,R=Object(f.x)(b,S),N=P.inputForegroundChecked,L=M.neutralSecondary,j=M.neutralPrimary,F=P.inputBackgroundChecked,B=P.inputBackgroundChecked,W=P.disabledBodySubtext,z=P.inputBorderHovered,H=P.inputBackgroundCheckedHovered,U=P.inputBackgroundChecked,V=P.inputBackgroundCheckedHovered,G=P.inputBackgroundCheckedHovered,K=P.inputTextHovered,q=P.disabledBodySubtext,Z=P.bodyText,X=P.disabledText,Y=[{content:'""',borderRadius:D.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:O?W:F,transitionProperty:"border-width, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",selectors:(t={},t[f.e]={borderColor:"WindowText"},t)}];return{root:[R.root,{position:"relative",display:"flex"},x&&"reversed",k&&"is-checked",!O&&"is-enabled",O&&"is-disabled",!O&&[!k&&{selectors:(n={},n[":hover ."+R.checkbox]={borderColor:z,selectors:(o={},o[f.e]={borderColor:"Highlight"},o)},n[":focus ."+R.checkbox]={borderColor:z},n[":hover ."+R.checkmark]={color:L,opacity:"1",selectors:(i={},i[f.e]={color:"Highlight"},i)},n)},k&&!T&&{selectors:(a={},a[":hover ."+R.checkbox]={background:V,borderColor:G},a[":focus ."+R.checkbox]={background:V,borderColor:G},a[f.e]={selectors:(s={},s[":hover ."+R.checkbox]={background:"Window",borderColor:"Highlight"},s[":focus ."+R.checkbox]={background:"Highlight"},s[":focus:hover ."+R.checkbox]={background:"Highlight"},s[":focus:hover ."+R.checkmark]={color:"Window"},s[":hover ."+R.checkmark]={color:"Highlight"},s)},a)},T&&{selectors:(l={},l[":hover ."+R.checkbox+", :hover ."+R.checkbox+":after"]={borderColor:H,selectors:(c={},c[f.e]={borderColor:"WindowText"},c)},l[":focus ."+R.checkbox]={borderColor:H},l[":hover ."+R.checkmark]={opacity:"0"},l)},{selectors:(u={},u[":hover ."+R.text+", :focus ."+R.text]={color:K,selectors:(d={},d[f.e]={color:O?"GrayText":"WindowText"},d)},u)}],E],input:{position:"absolute",background:"none",opacity:0,selectors:(p={},p["."+g.a+" &:focus + label::before"]={outline:"1px solid "+S.palette.neutralSecondary,outlineOffset:"2px",selectors:(m={},m[f.e]={outline:"1px solid ActiveBorder"},m)},p)},label:[R.label,S.fonts.medium,{display:"flex",alignItems:I?"center":"flex-start",cursor:O?"default":"pointer",position:"relative",userSelect:"none"},x&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{selectors:{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}}],checkbox:[R.checkbox,{position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:"20px",width:"20px",border:"1px solid "+j,borderRadius:D.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",overflow:"hidden",selectors:Object(r.a)((h={":after":T?Y:null},h[f.e]={borderColor:"WindowText"},h),Object(f.v)())},T&&{borderColor:F},x?{marginLeft:4}:{marginRight:4},!O&&!T&&k&&{background:U,borderColor:B,selectors:(v={},v[f.e]={background:"Highlight",borderColor:"Highlight"},v)},O&&{borderColor:W,selectors:(y={},y[f.e]={borderColor:"GrayText"},y)},k&&O&&{background:q,borderColor:W,selectors:(w={},w[f.e]={background:"Window"},w)}],checkmark:[R.checkmark,{opacity:k?"1":"0",color:N,selectors:(_={},_[f.e]={color:O?"GrayText":"Window",MsHighContrastAdjust:"none"},_)}],text:[R.text,{color:O?X:Z,fontSize:A.medium.fontSize,lineHeight:"20px",selectors:Object(r.a)((C={},C[f.e]={color:O?"GrayText":"WindowText"},C),Object(f.v)())},x?{marginRight:4}:{marginLeft:4}]}}),void 0,{scope:"Checkbox"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(91),r=void 0;try{r=window}catch(e){}function i(e){if(!o.a&&void 0!==r){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:r}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

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

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var o=n(2),r=n(0),i=n(148),a=n(246),s=n(112),l=n(68),c=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},u=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"}},d=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var n=e.split(" ");return n.length<2?c(e,t):n.reduce((function(e,n){return c(e,t)+" "+c(n,t)}))},p=n(14),m={start:"flex-start",end:"flex-end"},h={root:"ms-Stack",inner:"ms-Stack-inner"},f={root:"ms-StackItem"},g={start:"flex-start",end:"flex-end"},b=Object(a.a)((function(e){var t=e.children;if(r.Children.count(t)<1)return null;var n=Object(i.b)(e,{root:"div"});return Object(i.c)(n.root,null,t)}),{displayName:"StackItem",styles:function(e,t,n){var o=e.grow,r=e.shrink,i=e.disableShrink,a=e.align,s=e.verticalFill,l=e.order,c=e.className,u=Object(p.x)(f,t);return{root:[t.fonts.medium,u.root,{margin:n.margin,height:s?"100%":"auto",width:"auto"},o&&{flexGrow:!0===o?1:o},(i||!o&&!r)&&{flexShrink:0},r&&!i&&{flexShrink:1},a&&{alignSelf:g[a]||a},l&&{order:l},c]}}});var v={Item:b},y=Object(a.a)((function(e){var t=e.as,n=void 0===t?"div":t,a=e.disableShrink,c=e.wrap,u=Object(o.d)(e,["as","disableShrink","wrap"]);Object(s.a)("Stack",e,{gap:"tokens.childrenGap",maxHeight:"tokens.maxHeight",maxWidth:"tokens.maxWidth",padding:"tokens.padding"});var d=r.Children.map(e.children,(function(e,t){if(!e)return null;if((i=e)&&"object"==typeof i&&i.type&&i.type.displayName===b.displayName){var n={shrink:!a};return r.cloneElement(e,Object(o.a)(Object(o.a)({},n),e.props))}var i;return e})),p=Object(l.d)(u,l.e),m=Object(i.b)(e,{root:n,inner:"div"});return c?Object(i.c)(m.root,Object(o.a)({},p),Object(i.c)(m.inner,null,d)):Object(i.c)(m.root,Object(o.a)({},p),d)}),{displayName:"Stack",styles:function(e,t,n){var r,i,a,s,l,f,g,b=e.verticalFill,v=e.horizontal,y=e.reversed,w=e.grow,_=e.wrap,C=e.horizontalAlign,E=e.verticalAlign,S=e.disableShrink,x=e.className,k=Object(p.x)(h,t),O=n&&n.childrenGap?n.childrenGap:e.gap,I=n&&n.maxHeight?n.maxHeight:e.maxHeight,T=n&&n.maxWidth?n.maxWidth:e.maxWidth,P=n&&n.padding?n.padding:e.padding,D=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:u(c(n[0],t)),columnGap:u(c(n[1],t))};var o=u(c(e,t));return{rowGap:o,columnGap:o}}(O,t),M=D.rowGap,A=D.columnGap,R=""+-.5*A.value+A.unit,N=""+-.5*M.value+M.unit,L={textOverflow:"ellipsis"},j={"> *:not(.ms-StackItem)":{flexShrink:S?0:1}};return _?{root:[k.root,{flexWrap:"wrap",maxWidth:T,maxHeight:I,width:"auto",overflow:"visible",height:"100%"},C&&(r={},r[v?"justifyContent":"alignItems"]=m[C]||C,r),E&&(i={},i[v?"alignItems":"justifyContent"]=m[E]||E,i),x,{display:"flex"},v&&{height:b?"100%":"auto"}],inner:[k.inner,{display:"flex",flexWrap:"wrap",marginLeft:R,marginRight:R,marginTop:N,marginBottom:N,overflow:"visible",boxSizing:"border-box",padding:d(P,t),width:0===A.value?"100%":"calc(100% + "+A.value+A.unit+")",maxWidth:"100vw",selectors:Object(o.a)({"> *":Object(o.a)({margin:""+.5*M.value+M.unit+" "+.5*A.value+A.unit},L)},j)},C&&(a={},a[v?"justifyContent":"alignItems"]=m[C]||C,a),E&&(s={},s[v?"alignItems":"justifyContent"]=m[E]||E,s),v&&{flexDirection:y?"row-reverse":"row",height:0===M.value?"100%":"calc(100% + "+M.value+M.unit+")",selectors:{"> *":{maxWidth:0===A.value?"100%":"calc(100% - "+A.value+A.unit+")"}}},!v&&{flexDirection:y?"column-reverse":"column",height:"calc(100% + "+M.value+M.unit+")",selectors:{"> *":{maxHeight:0===M.value?"100%":"calc(100% - "+M.value+M.unit+")"}}}]}:{root:[k.root,{display:"flex",flexDirection:v?y?"row-reverse":"row":y?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:b?"100%":"auto",maxWidth:T,maxHeight:I,padding:d(P,t),boxSizing:"border-box",selectors:Object(o.a)((l={"> *":L},l[y?"> *:not(:last-child)":"> *:not(:first-child)"]=[v&&{marginLeft:""+A.value+A.unit},!v&&{marginTop:""+M.value+M.unit}],l),j)},w&&{flexGrow:!0===w?1:w},C&&(f={},f[v?"justifyContent":"alignItems"]=m[C]||C,f),E&&(g={},g[v?"alignItems":"justifyContent"]=m[E]||E,g),x]}},statics:v})},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(0),r=n(210),i=n(166),a=n(119),s=n(21),l=n(62),c=n(34),u=n(164),d=n(12),p=n(13),m=function(){return(m=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)},h={gapSpace:0},f={root:{display:"inline-block"}},g=function(e){return e.saving?o.createElement(l.a,{size:c.a.xSmall}):o.createElement(a.a,{content:e.name,id:e.key+"_id",calloutProps:h,styles:f},o.createElement(i.a,{id:e.id,role:"menuitem","aria-label":e.name,styles:{root:{padding:"10px",background:"#ffffff"}},iconProps:{iconName:e.icon},onClick:e.onClick}))},b=function(e){return o.createElement(i.a,{role:"menuitem",title:"More items",styles:{root:{padding:"10px"},menuIcon:{fontSize:"16px"}},menuIconProps:{iconName:"More"},menuProps:{items:e}})},v=function(e){var t=o.useContext(d.a),n=t.env,i=t.settings,a=t.updateSettings,l=o.useState(window.location.hash.indexOf("#singleSignOn")>-1&&!i.hideDocTb),c=l[0],h=l[1],f=o.useState(!1),v=f[0],y=f[1];return o.useEffect((function(){v&&h(!1)}),[v]),o.createElement(o.Fragment,null,o.createElement(r.a,{"aria-label":"Support menu",role:"menubar",items:[{id:"btnWebsite",key:"website",icon:"Website",name:"Website",ariaLabel:"Website",onClick:function(){return window.open("https://www.wpo365.com/")}},{id:"btnContact",key:"contact",icon:"Feedback",name:"Ask a question",ariaLabel:"Ask a question",onClick:function(){return window.open("https://www.wpo365.com/contact/")}},{saving:v,id:"btnDocumentation",key:"documentation",icon:"Documentation",name:"Documentation",ariaLabel:"Documentation",onClick:function(){return window.open("https://docs.wpo365.com/")}},{id:"btnVideos",key:"videos",icon:"VideoSearch",name:"Videos",ariaLabel:"Videos",onClick:function(){return window.open("https://www.youtube.com/@wpo365")}},{id:"btnHistory",key:"history",icon:"FullHistory",name:"Change Log",ariaLabel:"Change Log",onClick:function(){return window.open("https://www.wpo365.com/change-log/")}},{id:"btnReview",key:"review",icon:"AddFavorite",name:"Review",ariaLabel:"Review",onClick:function(){return window.open("https://wordpress.org/support/plugin/wpo365-login/reviews")}},{id:"btnFollow",key:"follow",icon:"FollowUser",name:"LinkedIn",ariaLabel:"LinkedIn",onClick:function(){return window.open("https://www.linkedin.com/company/downloads-by-van-wieren")}}],onRenderOverflowButton:b,onRenderItem:g}),"false"==n.props.wpoHealthMessages&&c&&o.createElement(u.a,{calloutProps:{directionalHint:s.a.bottomCenter},closeButtonAriaLabel:"Close",hasCloseButton:!0,isWide:!0,headline:"Getting started",illustrationImage:{src:"https://www.wpo365.com/wp-content/uploads/2021/07/icon-128x128-1-128x128.png"},onDismiss:function(){return h(!1)},primaryButtonProps:{children:"Don't show again",onClick:function(){y(!0);var e=m(m({},i),{hideDocTb:!0});p.a.updateSettings(n,e).then((function(e){if(!e.success)throw"Updating settings failed";p.a.getSettings(n).then((function(e){a(e),y(!1)})).catch((function(e){console.error(e),y(!1)}))})).catch((function(e){console.error(e),y(!1)}))}},target:"#btnDocumentation"},"Make sure to visit"," ",o.createElement("a",{style:{color:"white"},href:"https://docs.wpo365.com/",target:"_blank"},"https://docs.wpo365.com/")," ","for the latest guides and support articles."))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o,r=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e){function t(t,n,o){var r=e.call(this,n)||this;return r.errorFor=t,r.errorCode=o,r}return r(t,e),t}(Error)},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(0),r=n(72),i=n(73),a=n(120),s=n(57),l=n(86),c=n(6),u=function(e){var t=e.onDismiss,n=e.onCancel,u=e.onConfirm,d=e.title,p=e.subText;return o.createElement(o.Fragment,null,o.createElement(a.a,{hidden:!1,onDismiss:t,dialogContentProps:{type:s.a.normal,title:d,subText:""},modalProps:{isBlocking:!1}},o.createElement("div",{dangerouslySetInnerHTML:{__html:p}}),o.createElement(l.a,null,!!n&&o.createElement(r.a,{onClick:n,text:c.a.capCancelButton}),o.createElement(i.a,{onClick:u,text:c.a.capConfirmButton}))))}},function(e,t,n){"use strict";var o,r;n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(o||(o={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(r||(r={}))},function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),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"}(o||(o={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n(0),r=n(167),i=n(3),a=n(1),s=n(12),l=n(30),c=function(e){var t=e.children,n=e.requiredVersions,c=o.useContext(s.a).env.props.addOns;return n.some((function(e){return e.addOn in a.f&&a.f[e.addOn]in c&&c[a.f[e.addOn]].activated&&parseFloat(c[a.f[e.addOn]].version)>=e.minVersion}))?o.createElement(o.Fragment,null,t):o.createElement(l.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:{color:"#0078D4"}},o.createElement(r.a,{className:i.wpo365WzIconButton,iconProps:{iconName:"CloudDownload"},title:"Install latest version"}),o.createElement("span",null,"Please update your WPO365 premium extension"))}},,,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(178)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222}},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return o}));var o,r="ktp",i="-",a="data-ktp-target",s="data-ktp-execute-target",l="ktp-layer-id";!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"}(o||(o={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var o=n(58),r=n(14),i={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"},a=Object(o.b)((function(e,t,n,o,a,s,l,c,u,d,p){var m,h,f=Object(r.x)(i,e||{}),g=d&&!p;return Object(r.E)({root:[f.msButton,t.root,o,u&&["is-checked",t.rootChecked],g&&["is-expanded",t.rootExpanded,{selectors:(m={},m[":hover ."+f.msButtonIcon]=t.iconExpandedHovered,m[":hover ."+f.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,m[":hover"]=t.rootExpandedHovered,m)}],c&&[i.msButtonHasMenu,t.rootHasMenu],l&&["is-disabled",t.rootDisabled],!l&&!g&&!u&&{selectors:(h={":hover":t.rootHovered},h[":hover ."+f.msButtonLabel]=t.labelHovered,h[":hover ."+f.msButtonIcon]=t.iconHovered,h[":hover ."+f.msButtonDescription]=t.descriptionHovered,h[":hover ."+f.msButtonMenuIcon]=t.menuIconHovered,h[":focus"]=t.rootFocused,h[":active"]=t.rootPressed,h[":active ."+f.msButtonIcon]=t.iconPressed,h[":active ."+f.msButtonDescription]=t.descriptionPressed,h[":active ."+f.msButtonMenuIcon]=t.menuIconPressed,h)},l&&u&&[t.rootCheckedDisabled],!l&&u&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},n],flexContainer:[f.msButtonFlexContainer,t.flexContainer],textContainer:[f.msButtonTextContainer,t.textContainer],icon:[f.msButtonIcon,a,t.icon,g&&t.iconExpanded,u&&t.iconChecked,l&&t.iconDisabled],label:[f.msButtonLabel,t.label,u&&t.labelChecked,l&&t.labelDisabled],menuIcon:[f.msButtonMenuIcon,s,t.menuIcon,u&&t.menuIconChecked,l&&!p&&t.menuIconDisabled,!l&&!g&&!u&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},g&&["is-expanded",t.menuIconExpanded]],description:[f.msButtonDescription,t.description,u&&t.descriptionChecked,l&&t.descriptionDisabled],screenReaderText:[f.msButtonScreenReaderText,t.screenReaderText]})}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return h}));var o,r=n(2),i=n(0),a=n(39),s=n(99),l=n(26),c=n(54),u=n(113);!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"}(o||(o={}));var d,p,m=[479,639,1023,1365,1919,99999999];function h(e){var t=function(t){function n(e){var n=t.call(this,e)||this;return n._onResize=function(){var e=Object(a.findDOMNode)(n),t=f(e&&Object(l.a)(e)||window);t!==n.state.responsiveMode&&n.setState({responsiveMode:t})},n._events=new c.a(n),n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n.state={responsiveMode:d||p||o.large},n}return Object(r.c)(n,t),n.prototype.componentDidMount=function(){this._events.on(window,"resize",this._onResize),this._onResize()},n.prototype.componentWillUnmount=function(){this._events.dispose()},n.prototype.render=function(){var t=this.state.responsiveMode;return t===o.unknown?null:i.createElement(e,Object(r.a)({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},n}(s.a);return Object(u.a)(e,t)}function f(e){var t=o.small;if(e){try{for(;e.innerWidth>m[t];)t++}catch(e){t=d||p||o.large}p=t}else{if(void 0===d)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=d}return t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(0),r=function(e){return o.createElement("div",null,"Thank you for choosing our WordPress + Office 365 plugin •"," ",o.createElement("a",{href:"https://www.wpo365.com/contact/",target:"_blank"},"Contact")," ","•"," ",o.createElement("a",{href:"https://www.youtube.com/@wpo365",target:"_blank"},"Videos")," ","•"," ",o.createElement("a",{href:"https://docs.wpo365.com/",target:"_blank"},"Documentation")," ","•"," ",o.createElement("a",{href:"https://wordpress.org/support/plugin/wpo365-login/reviews",target:"_blank"},"Review")," ","•"," ",o.createElement("a",{href:"https://www.wpo365.com/how-to-get-support/",target:"_blank"},"Support")," ","•"," ",o.createElement("a",{href:"https://www.wpo365.com/change-log/",target:"_blank"},"Change log")," ","•"," ",o.createElement("a",{href:"https://www.wpo365.com/downloads/",target:"_blank"},"Upgrade")," ","•"," ",o.createElement("a",{href:"https://www.linkedin.com/company/downloads-by-van-wieren",target:"_blank"},"Follow us"))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o,r=n(66),i=0,a=1,s=2,l="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),c={};try{c=window}catch(e){}var u=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=Object(r.a)({injectionMode:a,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._keyToClassName=this._config.classNameCache||{}}return e.getInstance=function(){if(!(o=c.__stylesheet__)||o._lastStyleElement&&o._lastStyleElement.ownerDocument!==document){var t=c&&c.FabricConfig||{};o=c.__stylesheet__=new e(t.mergeStyles)}return o},e.prototype.setConfig=function(e){this._config=Object(r.a)(Object(r.a)({},this._config),e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,o){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:o}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==i?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case a:var o=n.sheet;try{o.insertRule(e,o.cssRules.length)}catch(e){}break;case s:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),l||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var n=this._config.cspSettings;if(n&&n.nonce&&t.setAttribute("nonce",n.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var o=this._findPlaceholderStyleTag();o?e.insertBefore(t,o.nextElementSibling):e.insertBefore(t,e.childNodes[0])}return this._lastStyleElement=t,t},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(91);function r(e){if(!o.a&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));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)};function r(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o}},function(e,t,n){"use strict";var o=n(130),r=Object.prototype.toString;function i(e){return"[object Array]"===r.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===r.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===r.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===r.call(e)},isFile:function(e){return"[object File]"===r.call(e)},isBlob:function(e){return"[object Blob]"===r.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function n(n,o){l(t[o])&&l(n)?t[o]=e(t[o],n):l(n)?t[o]=e({},n):i(n)?t[o]=n.slice():t[o]=n}for(var o=0,r=arguments.length;o<r;o++)u(arguments[o],n);return t},extend:function(e,t,n){return u(t,(function(t,r){e[r]=n&&"function"==typeof t?o(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var o,r={none:0,all:1,inputOnly:2};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(o||(o={}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(27),r=n(142),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,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var o,r,i="change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(o||(o={})),function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n(0),r=n(80),i=n(12),a=n(3),s=n(13),l=function(){return(l=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)},c=function(e){var t=o.useContext(i.a),n=t.env,c=t.env.props.extensions,u=t.settings,d=t.updateSettings;return Array.isArray(c)&&o.createElement("div",{className:a.wpo365WzHidePremiumOptionsToggle},o.createElement(r.a,{styles:{root:{marginBottom:"0px"}},checked:!u.hidePremiumOptions,onText:"Show premium options",offText:"Hide premium options",onClick:function(){return e=!u.hidePremiumOptions,(t=l({},u)).hidePremiumOptions=e,void s.a.updateSettings(n,t).then((function(e){e.success&&s.a.getSettings(n).then((function(e){return d(e)}))})).catch((function(e){return console.error(e)}));var e,t}}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(93),r=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,r,i){var a;if(e._isElement(t)){if("undefined"!=typeof document&&document.createEvent){var s=document.createEvent("HTMLEvents");s.initEvent(n,i||!1,!0),Object(o.a)(s,r),a=t.dispatchEvent(s)}else if("undefined"!=typeof document&&document.createEventObject){var l=document.createEventObject(r);t.fireEvent("on"+n,l)}}else for(;t&&!1!==a;){var c=t.__events__,u=c?c[n]:null;if(u)for(var d in u)if(u.hasOwnProperty(d))for(var p=u[d],m=0;!1!==a&&m<p.length;m++){var h=p[m];h.objectCallback&&(a=h.objectCallback.call(h.parent,r))}t=i?t.parent:null}return a},e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]},e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,n){for(var o in t)t.hasOwnProperty(o)&&this.on(e,o,t[o],n)},e.prototype.on=function(t,n,o,r){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],o,r);else{var 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}()},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var o=n(14),r=Object(o.E)({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),i="ms-Icon",a=function(e){var t=e.className,n=e.iconClassName,o=e.isPlaceholder,i=e.isImage,a=e.styles;return{root:[o&&r.placeholder,r.root,i&&r.image,n,t,a&&a.root,a&&a.imageContainer]}}},function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),function(e){e[e.normal=0]="normal",e[e.largeHeader=1]="largeHeader",e[e.close=2]="close"}(o||(o={}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u}));var o=n(45),r=o.a.getInstance();r&&r.onReset&&o.a.getInstance().onReset((function(){i++}));var i=0,a={empty:!0},s={},l="undefined"==typeof WeakMap?null:WeakMap;function c(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!l)return e;var o,r=0,a=i;return function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];var c=o;(void 0===o||a!==i||t>0&&r>t)&&(o=p(),r=0,a=i),c=o;for(var u=0;u<s.length;u++){var m=d(s[u]);c.map.has(m)||c.map.set(m,p()),c=c.map.get(m)}return c.hasOwnProperty("value")||(c.value=e.apply(void 0,s),r++),!n||null!==c.value&&void 0!==c.value||(c.value=e.apply(void 0,s)),c.value}}function u(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 d(e){return e?"object"==typeof e||"function"==typeof e?e:(s[e]||(s[e]={val:e}),s[e]):a}function p(){return{map:l?new l:null}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(78);function r(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)for(r=!1;t;){var i=Object(o.a)(t);if(i===e){r=!0;break}t=i}else e.contains&&(r=e.contains(t));return r}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return x})),n.d(t,"d",(function(){return k})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return I}));var o,r=n(66),i=n(45),a={};var s={"user-select":1};function l(e,t){var n=function(){if(!o){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;o=e?{isWebkit:!(!e||!("WebkitAppearance"in e.documentElement.style)),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return o}(),r=e[t];if(s[r]){var i=e[t+1];s[r]&&(n.isWebkit&&e.push("-webkit-"+r,i),n.isMoz&&e.push("-moz-"+r,i),n.isMs&&e.push("-ms-"+r,i),n.isOpera&&e.push("-o-"+r,i))}}var 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=-1===u.indexOf(n)?"px":"";e[t+1]=""+o+r}}var p="left",m="right",h=((c={})[p]=m,c[m]=p,c),f={"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,m);else if(o.indexOf(m)>=0)t[n]=o.replace(m,p);else if(String(r).indexOf(p)>=0)t[n+1]=r.replace(p,m);else if(String(r).indexOf(m)>=0)t[n+1]=r.replace(m,p);else if(h[o])t[n]=h[o];else if(f[r])t[n+1]=f[r];else switch(o){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(r);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),o=parseInt(n[t],10);return n[0]=n[0].replace(String(o),String(-1*o)),n.join(" ")}(r,0)}}}function b(e){var t=e&&e["&"];return t?t.displayName:void 0}var v=/\:global\((.+?)\)/g;function y(e){if(!v.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,o=null;o=n.exec(e);)o[1].indexOf(",")>-1&&t.push([o.index,o.index+o[0].length,o[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var n=t[0],o=t[1],r=t[2];return e.slice(0,n)+r+e.slice(o)}),e)}function w(e,t){return e.indexOf(":global(")>=0?e.replace(v,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function _(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=i.a.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("selectors"===u){var d=l.selectors,p=function(e){if(d.hasOwnProperty(e)){var o=d[e];0===e.indexOf("@")?_([o],t,e=e+"{"+n):e.indexOf(",")>-1?y(e).split(",").map((function(e){return e.trim()})).forEach((function(e){return _([o],t,w(e,n))})):_([o],t,w(e,n))}};for(var m in d)p(m)}else void 0!==l[u]&&("margin"===u||"padding"===u?C(r,u,l[u]):r[u]=l[u])}return t}function C(e,t,n){var o="string"==typeof n?n.split(" "):[n];e[t+"Top"]=o[0],e[t+"Right"]=o[1]||o[0],e[t+"Bottom"]=o[2]||o[0],e[t+"Left"]=o[3]||o[1]||o[0]}function E(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 S(e,t){return t<=0?"":1===t?e:e+S(e,t-1)}function x(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],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 k(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=_(t),r=E(e,o);if(r){var a=i.a.getInstance(),s={className:a.classNameFromKey(r),key:r,args:t};if(!s.className){s.className=a.getClassName(b(o));for(var l=[],c=0,u=o.__order;c<u.length;c++){var d=u[c];l.push(d,x(e,o[d]))}s.rulesToInsert=l}return s}}function O(e,t){void 0===t&&(t=1);var n=i.a.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],d=(u=u.replace(/&/g,S("."+e.className,t)))+"{"+c+"}"+(0===u.indexOf("@")?"}":"");n.insertRule(d)}}n.cacheClassName(o,r,a,s)}}function I(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=k.apply(void 0,Object(r.b)([e],t));return o?(O(o,e.specificityMultiplier),o.className):""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var o=n(236),r=n(2),i=n(0),a=n(34),s=n(237),l=n(68),c=n(245),u=Object(s.a)(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,o=e.ariaLabel,s=e.ariaLive,d=e.styles,p=e.label,m=e.theme,h=e.className,f=e.labelPosition,g=o,b=Object(l.d)(this.props,l.c,["size"]),v=n;void 0===v&&void 0!==t&&(v=t===a.b.large?a.a.large:a.a.medium);var y=u(d,{theme:m,size:v,className:h,labelPosition:f});return i.createElement("div",Object(r.a)({},b,{className:y.root}),i.createElement("div",{className:y.circle}),p&&i.createElement("div",{className:y.label},p),g&&i.createElement("div",{role:"status","aria-live":s},i.createElement(c.a,null,i.createElement("div",{className:y.screenReaderText},g))))},t.defaultProps={size:a.a.medium,ariaLive:"polite",labelPosition:"bottom"},t}(i.Component),p=n(14),m=n(58),h={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},f=Object(m.b)((function(){return Object(p.D)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})})),g=Object(o.a)(d,(function(e){var t,n=e.theme,o=e.size,r=e.className,i=e.labelPosition,s=n.palette,l=Object(p.x)(h,n);return{root:[l.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:[l.circle,{boxSizing:"border-box",borderRadius:"50%",border:"1.5px solid "+s.themeLight,borderTopColor:s.themePrimary,animationName:f(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[p.e]={borderTopColor:"Highlight"},t)},o===a.a.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],o===a.a.small&&["ms-Spinner--small",{width:16,height:16}],o===a.a.medium&&["ms-Spinner--medium",{width:20,height:20}],o===a.a.large&&["ms-Spinner--large",{width:28,height:28}]],label:[l.label,n.fonts.small,{color:s.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.C}}),void 0,{scope:"Spinner"})},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,"a",(function(){return s}));var o=n(58),r=n(14),i={outline:0},a=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},s=Object(o.b)((function(e){var t,n=e.semanticColors,o=e.effects,s=e.fonts,l=n.buttonBorder,c=n.disabledBackground,u=n.disabledText,d={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"};return{root:[Object(r.w)(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+l,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",padding:"0 16px",borderRadius:o.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(r.w)(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),{backgroundColor:c,borderColor:c,color:u,cursor:"default",pointerEvents:"none",selectors:(t={":hover":i,":focus":i},t[r.e]={color:"grayText",borderColor:"grayText"},t)}],iconDisabled:{color:u},menuIconDisabled:{color:u},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:a(s.mediumPlus.fontSize),menuIcon:a(s.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:r.C}}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return we}));var o,r=n(2),i=n(0),a=n(58),s=n(206),l=n(242),c=n(40),u=n(162),d=n(111),p=n(54),m=n(145),h=n(112),f=n(83),g=n(68),b=n(93),v=n(208),y=n(267),w=n(244),_=n(79),C=n(143),E=n(96),S=n(56),x=function(e){var t=e.className,n=e.imageProps,o=Object(g.d)(e,g.e),a=e["aria-label"]?{}:{role:"presentation","aria-hidden":!n.alt&&!n["aria-labelledby"]};return i.createElement("div",Object(r.a)({},a,o,{className:Object(s.a)(S.a,S.b.root,S.b.image,t)}),i.createElement(E.a,Object(r.a)({},n)))},k=n(21),O=n(236);!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(o||(o={}));var I=n(49),T=n(265),P=n(237),D=n(238),M=n(239),A=n(118),R=n(88),N=n(46),L=n(26);function j(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function F(e){return!(!e.subMenuProps&&!e.items)}function B(e){return!(!e.isDisabled&&!e.disabled)}function W(e){return null!==j(e)?"menuitemcheckbox":"menuitem"}var z=n(43),H=n(209),U=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();F(t)&&o&&i&&o(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,o=e.dismissSubMenu;F(t)&&o&&o()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},Object(u.a)(n),n}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames;return i.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},function(e){var t=e.onCheckmarkClick,n=e.item,o=e.classNames,r=j(n);if(t){return i.createElement(_.a,{iconName:!1!==n.canCheck&&r?"CheckMark":"",className:o.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null}(this.props),function(e){var t=e.item,n=e.hasIcons,o=e.classNames,a=t.iconProps;return n?t.onRenderIcon?t.onRenderIcon(e):i.createElement(_.a,Object(r.a)({},a,{className:o.icon})):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.text||t.name?i.createElement("span",{className:n.label},t.text||t.name):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.secondaryText?i.createElement("span",{className:n.secondaryText},t.secondaryText):null}(this.props),function(e){var t=e.item,n=e.classNames,o=e.theme;return F(t)?i.createElement(_.a,Object(r.a)({iconName:Object(A.a)(o)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null}(this.props))},t}(i.Component),V=n(14),G=Object(a.b)((function(e){return Object(V.E)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),K=Object(V.B)(0,V.i),q=Object(a.b)((function(){var e;return{selectors:(e={},e[V.e]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},e)}})),Z=Object(a.b)((function(e){var t,n,o,i,a,s,l,c=e.semanticColors,u=e.fonts,d=e.palette,p=c.menuItemBackgroundHovered,m=c.menuItemTextHovered,h=c.menuItemBackgroundPressed,f=c.bodyDivider,g={item:[u.medium,{color:c.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[Object(V.w)(e),u.medium,{color:c.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:c.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[V.e]={color:"GrayText",opacity:1},t)},rootHovered:Object(r.a)({backgroundColor:p,color:m,selectors:{".ms-ContextualMenu-icon":{color:d.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},q()),rootFocused:Object(r.a)({backgroundColor:d.white},q()),rootChecked:Object(r.a)({selectors:{".ms-ContextualMenu-checkmarkIcon":{color:d.neutralPrimary}}},q()),rootPressed:Object(r.a)({backgroundColor:h,selectors:{".ms-ContextualMenu-icon":{color:d.themeDark},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},q()),rootExpanded:Object(r.a)({backgroundColor:h,color:c.bodyTextChecked},q()),linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:36,fontSize:V.h.medium,width:V.h.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(n={},n[K]={fontSize:V.h.large,width:V.h.large},n)},iconColor:{color:c.menuIcon,selectors:(o={},o[V.e]={color:"inherit"},o["$root:hover &"]={selectors:(i={},i[V.e]={color:"HighlightText"},i)},o["$root:focus &"]={selectors:(a={},a[V.e]={color:"HighlightText"},a)},o)},iconDisabled:{color:c.disabledBodyText},checkmarkIcon:{color:c.bodySubtext,selectors:(s={},s[V.e]={color:"HighlightText"},s)},subMenuIcon:{height:36,lineHeight:36,color:d.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:V.h.small,selectors:(l={":hover":{color:d.neutralPrimary},":active":{color:d.neutralPrimary}},l[K]={fontSize:V.h.medium},l)},splitButtonFlexContainer:[Object(V.w)(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Object(V.r)(g)})),X=n(101),Y=Object(V.B)(0,V.i),Q=Object(a.b)((function(e){var t;return Object(V.E)(G(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[Y]={right:32},t)},divider:{height:16,width:1}})})),$={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"},J=Object(a.b)((function(e,t,n,o,r,i,a,s,l,c,u,d){var p,m,h,f,g=Z(e),b=Object(V.x)($,e);return Object(V.E)({item:[b.item,g.item,a],divider:[b.divider,g.divider,s],root:[b.root,g.root,o&&[b.isChecked,g.rootChecked],r&&g.anchorLink,n&&[b.isExpanded,g.rootExpanded],t&&[b.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p["."+X.a+" &:focus, ."+X.a+" &:focus:hover"]=g.rootFocused,p["."+X.a+" &:hover"]={background:"inherit;"},p)}],d],splitPrimary:[g.root,{width:"calc(100% - 28px)"},o&&["is-checked",g.rootChecked],(t||u)&&["is-disabled",g.rootDisabled],!(t||u)&&!o&&[{selectors:(m={":hover":g.rootHovered},m[":hover ~ ."+b.splitMenu]=g.rootHovered,m[":active"]=g.rootPressed,m["."+X.a+" &:focus, ."+X.a+" &:focus:hover"]=g.rootFocused,m["."+X.a+" &:hover"]={background:"inherit;"},m)}]],splitMenu:[b.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(h={":hover":g.rootHovered,":active":g.rootPressed},h["."+X.a+" &:focus, ."+X.a+" &:focus:hover"]=g.rootFocused,h["."+X.a+" &:hover"]={background:"inherit;"},h)}]],anchorLink:g.anchorLink,linkContent:[b.linkContent,g.linkContent],linkContentMenu:[b.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[b.icon,i&&g.iconColor,g.icon,l,t&&[b.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[b.checkmarkIcon,i&&g.checkmarkIcon,g.icon,l],subMenuIcon:[b.subMenuIcon,g.subMenuIcon,c,n&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[b.label,g.label],secondaryText:[b.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!o&&[{selectors:(f={},f["."+X.a+" &:focus, ."+X.a+" &:focus:hover"]=g.rootFocused,f)}]]})})),ee=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 J(t,n,o,r,i,a,s,l,c,u,d,p)},te=Object(O.a)(U,ee,void 0,{scope:"ContextualMenuItem"}),ne=function(e){function t(t){var n=e.call(this,t)||this;return n._onItemMouseEnter=function(e){var t=n.props,o=t.item,r=t.onItemMouseEnter;r&&r(o,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,o=t.item,r=t.onItemClickBase;r&&r(o,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,o=t.item,r=t.onItemMouseLeave;r&&r(o,e)},n._onItemKeyDown=function(e){var t=n.props,o=t.item,r=t.onItemKeyDown;r&&r(o,e)},n._onItemMouseMove=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(o,e,e.currentTarget)},n._getSubMenuId=function(e){var t=n.props.getSubMenuId;if(t)return t(e)},n._getSubmenuTarget=function(){},Object(u.a)(n),n}return Object(r.c)(t,e),t.prototype.shouldComponentUpdate=function(e){return!Object(b.c)(e,this.props)},t}(i.Component),oe=n(268),re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=i.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(a.b)((function(e){return Object(r.a)(Object(r.a)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,o=n.item,r=n.onItemClick;r&&r(o,e)},t}return Object(r.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,a=t.index,s=t.focusableElementIndex,l=t.totalItemCount,c=t.hasCheckmarks,u=t.hasIcons,d=t.contextualMenuItemAs,p=void 0===d?te:d,m=t.expandedMenuItemKey,h=t.onItemClick,f=t.openSubMenu,b=t.dismissSubMenu,v=t.dismissMenu,y=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(y=y||"nofollow noopener noreferrer");var w=this._getSubMenuId(n),_=F(n),C=Object(g.d)(n,g.a),E=B(n),S=n.itemProps,x=n.keytipProps;return x&&_&&(x=this._getMemoizedMenuButtonKeytipProps(x)),i.createElement("div",null,i.createElement(oe.a,{keytipProps:n.keytipProps,ariaDescribedBy:C["aria-describedby"],disabled:E},(function(t){return i.createElement("a",Object(r.a)({},C,t,{ref:e._anchor,href:n.href,target:n.target,rel:y,className:o.root,role:"menuitem","aria-owns":n.key===m?w:void 0,"aria-haspopup":_||void 0,"aria-expanded":_?n.key===m:void 0,"aria-posinset":s+1,"aria-setsize":l,"aria-disabled":B(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:_?e._onItemKeyDown:void 0}),i.createElement(p,Object(r.a)({componentRef:n.componentRef,item:n,classNames:o,index:a,onCheckmarkClick:c&&h?h:void 0,hasIcons:u,openSubMenu:f,dismissSubMenu:b,dismissMenu:v,getSubmenuTarget:e._getSubmenuTarget},S)))})))},t}(ne),ie=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=i.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(a.b)((function(e){return Object(r.a)(Object(r.a)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return Object(r.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,a=t.index,s=t.focusableElementIndex,l=t.totalItemCount,c=t.hasCheckmarks,u=t.hasIcons,d=t.contextualMenuItemAs,p=void 0===d?te:d,m=t.expandedMenuItemKey,h=t.onItemMouseDown,f=t.onItemClick,b=t.openSubMenu,v=t.dismissSubMenu,y=t.dismissMenu,w=this._getSubMenuId(n),_=j(n),C=null!==_,E=W(n),S=F(n),x=n.itemProps,k=n.ariaLabel,O=Object(g.d)(n,g.b);delete O.disabled;var I={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":k,"aria-haspopup":S||void 0,"aria-owns":n.key===m?w:void 0,"aria-expanded":S?n.key===m:void 0,"aria-checked":C?!!_:void 0,"aria-posinset":s+1,"aria-setsize":l,"aria-disabled":B(n),role:n.role||E,style:n.style},T=n.keytipProps;return T&&S&&(T=this._getMemoizedMenuButtonKeytipProps(T)),i.createElement(oe.a,{keytipProps:T,ariaDescribedBy:O["aria-describedby"],disabled:B(n)},(function(t){return i.createElement("button",Object(r.a)({ref:e._btn},O,I,t),i.createElement(p,Object(r.a)({componentRef:n.componentRef,item:n,classNames:o,index:a,onCheckmarkClick:c&&f?f:void 0,hasIcons:u,openSubMenu:b,dismissSubMenu:v,dismissMenu:y,getSubmenuTarget:e._getSubmenuTarget},x)))}))},t}(ne),ae=Object(P.a)(),se=Object(O.a)((function(e){var t=e.styles,n=e.theme,o=e.getClassNames,r=e.className,a=ae(t,{theme:n,getClassNames:o,className:r});return i.createElement("span",{className:a.wrapper},i.createElement("span",{className:a.divider}))}),(function(e){var t=e.theme,n=e.getClassNames,o=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var r=n(t);return{wrapper:[r.wrapper],divider:[r.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},o],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"}),le=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=Object(a.b)((function(e){return Object(r.a)(Object(r.a)({},e),{hasMenu:!0})})),n._onItemKeyDown=function(e){var t=n.props,o=t.item,r=t.onItemKeyDown;e.which===c.a.enter?(n._executeItemClick(e),e.preventDefault(),e.stopPropagation()):r&&r(o,e)},n._getSubmenuTarget=function(){return n._splitButton},n._onItemMouseEnterPrimary=function(e){var t=n.props,o=t.item,i=t.onItemMouseEnter;i&&i(Object(r.a)(Object(r.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,i=t.onItemMouseMove;i&&i(Object(r.a)(Object(r.a)({},o),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseMoveIcon=function(e){var t=n.props,o=t.item,r=t.onItemMouseMove;r&&r(o,e,n._splitButton)},n._onIconItemClick=function(e){var t=n.props,o=t.item,r=t.onItemClickBase;r&&r(o,e,n._splitButton?n._splitButton:e.currentTarget)},n._executeItemClick=function(e){var t=n.props,o=t.item,r=t.executeItemClick,i=t.onItemClick;if(!o.disabled&&!o.isDisabled)return n._processingTouch&&i?i(o,e):void(r&&r(o,e))},n._onTouchStart=function(e){n._splitButton&&!("onpointerdown"in n._splitButton)&&n._handleTouchAndPointerEvent(e)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},n._async=new d.a(n),n._events=new p.a(n),n}return Object(r.c)(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this,t=this.props,n=t.item,o=t.classNames,a=t.index,s=t.focusableElementIndex,l=t.totalItemCount,c=t.hasCheckmarks,u=t.hasIcons,d=t.onItemMouseLeave,p=t.expandedMenuItemKey,m=F(n),h=n.keytipProps;return h&&(h=this._getMemoizedMenuButtonKeytipProps(h)),i.createElement(oe.a,{keytipProps:h,disabled:B(n)},(function(t){return i.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:W(n),"aria-label":n.ariaLabel,className:o.splitContainer,"aria-disabled":B(n),"aria-expanded":m?n.key===p:void 0,"aria-haspopup":!0,"aria-describedby":Object(w.a)(n.ariaDescription,t["aria-describedby"]),"aria-checked":n.isChecked||n.checked,"aria-posinset":s+1,"aria-setsize":l,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(e,Object(r.a)(Object(r.a)({},n),{subMenuProps:null,items:null})):void 0,onMouseMove:e._onItemMouseMovePrimary,onKeyDown:e._onItemKeyDown,onClick:e._executeItemClick,onTouchStart:e._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},e._renderSplitPrimaryButton(n,o,a,c,u),e._renderSplitDivider(n),e._renderSplitIconButton(n,o,a,t))}))},t.prototype._renderSplitPrimaryButton=function(e,t,n,o,a){var s=this.props,l=s.contextualMenuItemAs,c=void 0===l?te:l,u=s.onItemClick,d={key:e.key,disabled:B(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},p=e.itemProps;return i.createElement("button",Object(r.a)({},Object(g.d)(d,g.b)),i.createElement(c,Object(r.a)({"data-is-focusable":!1,item:d,classNames:t,index:n,onCheckmarkClick:o&&u?u:void 0,hasIcons:a},p)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||Q;return i.createElement(se,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,o){var a=this.props,s=a.contextualMenuItemAs,l=void 0===s?te:s,c=a.onItemMouseLeave,u=a.onItemMouseDown,d=a.openSubMenu,p=a.dismissSubMenu,m=a.dismissMenu,h={onClick:this._onIconItemClick,disabled:B(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},f=Object(r.a)(Object(r.a)({},Object(g.d)(h,g.b)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:c?c.bind(this,e):void 0,onMouseDown:function(t){return u?u(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":o["data-ktp-execute-target"],"aria-hidden":!0}),b=e.itemProps;return i.createElement("button",Object(r.a)({},f),i.createElement(l,Object(r.a)({componentRef:e.componentRef,item:h,classNames:t,index:n,hasIcons:!1,openSubMenu:d,dismissSubMenu:p,dismissMenu:m,getSubmenuTarget:this._getSubmenuTarget},b)))},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}(ne),ce=Object(P.a)(),ue=Object(P.a)();function de(e){return e.subMenuProps?e.subMenuProps.items:e.items}var pe,me=Object(a.b)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return V.s.apply(void 0,Object(r.e)([t,ee],e))}})),he=function(e){function t(t){var n=e.call(this,t)||this;return n._mounted=!1,n.dismiss=function(e,t){var o=n.props.onDismiss;o&&o(e,t)},n._tryFocusPreviousActiveElement=function(e){e&&e.containsFocus&&n._previousActiveElement&&n._previousActiveElement&&n._previousActiveElement.focus()},n._onRenderMenuList=function(e,t){var r=0;return i.createElement("ul",{className:n._classNames.list,onKeyDown:n._onKeyDown,onKeyUp:n._onKeyUp,role:"menu"},e.items.map((function(t,i){var a=n._renderMenuItem(t,i,r,e.totalItemCount,e.hasCheckmarks,e.hasIcons);if(t.itemType!==o.Divider&&t.itemType!==o.Header){var s=t.customOnRenderListLength?t.customOnRenderListLength:1;r+=s}return a})))},n._renderMenuItem=function(e,t,r,i,a,s){var l,c,u=[],d=e.iconProps||{iconName:"None"},p=e.getItemClassNames,m=e.itemProps,h=m?m.styles:void 0,f=e.itemType===o.Divider?e.className:void 0,g=e.submenuIconProps?e.submenuIconProps.className:"";if(p)c=p(n.props.theme,B(e),n.state.expandedMenuItemKey===e.key,!!j(e),!!e.href,"None"!==d.iconName,e.className,f,d.className,g,e.primaryDisabled);else{var b={theme:n.props.theme,disabled:B(e),expanded:n.state.expandedMenuItemKey===e.key,checked:!!j(e),isAnchorLink:!!e.href,knownIcon:"None"!==d.iconName,itemClassName:e.className,dividerClassName:f,iconClassName:d.className,subMenuClassName:g,primaryDisabled:e.primaryDisabled};c=ue(me(null===(l=n._classNames.subComponentStyles)||void 0===l?void 0:l.menuItem,h),b)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=o.Divider),e.itemType){case o.Divider:u.push(n._renderSeparator(t,c));break;case o.Header:u.push(n._renderSeparator(t,c));var v=n._renderHeaderMenuItem(e,c,t,a,s);u.push(n._renderListItem(v,e.key||t,c,e.title));break;case o.Section:u.push(n._renderSectionItem(e,c,t,a,s));break;default:var y=n._renderNormalItem(e,c,t,r,i,a,s);u.push(n._renderListItem(y,e.key||t,c,e.title))}return u},n._defaultMenuItemRenderer=function(e){var t=e.index,o=e.focusableElementIndex,r=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return n._renderMenuItem(e,t,o,r,i,a)},n._onKeyDown=function(e){n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var t=e.which===c.a.escape&&(Object(D.a)()||Object(M.a)());return n._keyHandler(e,n._shouldHandleKeyDown,t)},n._shouldHandleKeyDown=function(e){return e.which===c.a.escape||n._shouldCloseSubMenu(e)||e.which===c.a.up&&(e.altKey||e.metaKey)},n._onMenuFocusCapture=function(e){n.props.delayUpdateFocusOnHover&&(n._shouldUpdateFocusOnMouseEvent=!0)},n._onKeyUp=function(e){return n._keyHandler(e,n._shouldHandleKeyUp,!0)},n._shouldHandleKeyUp=function(e){var t=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);return n._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(M.a)()||Object(D.a)())},n._keyHandler=function(e,t,o){var r=!1;return t(e)&&(n._focusingPreviousElement=!1,n.dismiss(e,o),e.preventDefault(),e.stopPropagation(),r=!0),r},n._shouldCloseSubMenu=function(e){var t=Object(A.a)(n.props.theme)?c.a.right:c.a.left;return!(e.which!==t||!n.props.isSubMenu)&&(n._adjustedFocusZoneProps.direction===I.a.vertical||!!n._adjustedFocusZoneProps.checkForNoWrap&&!Object(R.o)(e.target,"data-no-horizontal-wrap"))},n._onMenuKeyDown=function(e){if(!n._onKeyDown(e)&&n._host){var t=!(!e.altKey&&!e.metaKey),o=e.which===c.a.up,r=e.which===c.a.down;if(!t&&(o||r)){var i=o?Object(R.h)(n._host,n._host.lastChild,!0):Object(R.e)(n._host,n._host.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout((function(){n._isScrollIdle=!0}),250)},n._onItemMouseEnterBase=function(e,t,o){n._shouldIgnoreMouseEvent()||n._updateFocusOnMouseEvent(e,t,o)},n._onItemMouseMoveBase=function(e,t,o){var r=t.currentTarget;n._shouldUpdateFocusOnMouseEvent&&(n._gotMouseMove=!0,n._isScrollIdle&&void 0===n._enterTimerId&&r!==n._targetWindow.document.activeElement&&n._updateFocusOnMouseEvent(e,t,o))},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&(void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0),void 0===n.state.expandedMenuItemKey))if(n._host.setActive)try{n._host.setActive()}catch(e){}else n._host.focus()},n._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)},n._onItemClick=function(e,t){n._onItemClickBase(e,t,t.currentTarget)},n._onItemClickBase=function(e,t,o){var r=de(e);n._cancelSubMenuTimer(),F(e)||r&&r.length?e.key!==n.state.expandedMenuItemKey&&(n.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType}),n._onItemSubMenuExpand(e,o)):n._executeItemClick(e,t),t.stopPropagation(),t.preventDefault()},n._onAnchorClick=function(e,t){n._executeItemClick(e,t),t.stopPropagation()},n._executeItemClick=function(e,t){if(!e.disabled&&!e.isDisabled){var o=!1;e.onClick?o=!!e.onClick(t,e):n.props.onItemClick&&(o=!!n.props.onItemClick(t,e)),(o||!t.defaultPrevented)&&n.dismiss(t,!0)}},n._onItemKeyDown=function(e,t){var o=Object(A.a)(n.props.theme)?c.a.left:c.a.right;e.disabled||t.which!==o&&t.which!==c.a.enter&&(t.which!==c.a.down||!t.altKey&&!t.metaKey)||(n.setState({expandedByMouseClick:!1}),n._onItemSubMenuExpand(e,t.currentTarget),t.preventDefault())},n._cancelSubMenuTimer=function(){void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0)},n._onItemSubMenuExpand=function(e,t){n.state.expandedMenuItemKey!==e.key&&(n.state.expandedMenuItemKey&&n._onSubMenuDismiss(),t.focus(),n.setState({expandedMenuItemKey:e.key,submenuTarget:t}))},n._onSubMenuDismiss=function(e,t){t?n.dismiss(e,t):n._mounted&&n.setState({dismissedMenuItemKey:n.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},n._getSubMenuId=function(e){var t=n.state.subMenuId;return e.subMenuProps&&e.subMenuProps.id&&(t=e.subMenuProps.id),t},n._onPointerAndTouchEvent=function(e){n._cancelSubMenuTimer()},n._async=new d.a(n),n._events=new p.a(n),Object(u.a)(n),Object(h.a)("ContextualMenu",t,{getMenuClassNames:"styles"}),n.state={contextualMenuItems:void 0,subMenuId:Object(f.a)("ContextualMenu")},n._id=t.id||Object(f.a)("ContextualMenu"),n._focusingPreviousElement=!1,n._isScrollIdle=!0,n._shouldUpdateFocusOnMouseEvent=!n.props.delayUpdateFocusOnHover,n._gotMouseMove=!1,n}return Object(r.c)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return!(!e.shouldUpdateWhenHidden&&this.props.hidden&&e.hidden)&&(!Object(b.c)(this.props,e)||!Object(b.c)(this.state,t))},t.prototype.UNSAFE_componentWillUpdate=function(e){if(e.target!==this.props.target){var t=e.target;this._setTargetWindowAndElement(t)}this._isHidden(e)!==this._isHidden(this.props)&&(this._isHidden(e)?this._onMenuClosed():(this._onMenuOpened(),this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:void 0)),e.delayUpdateFocusOnHover!==this.props.delayUpdateFocusOnHover&&(this._shouldUpdateFocusOnMouseEvent=!e.delayUpdateFocusOnHover,this._gotMouseMove=this._shouldUpdateFocusOnMouseEvent&&this._gotMouseMove)},t.prototype.UNSAFE_componentWillMount=function(){var e=this.props.target;this._setTargetWindowAndElement(e),this.props.hidden||(this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:void 0)},t.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened(),this._mounted=!0},t.prototype.componentWillUnmount=function(){this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._events.dispose(),this._async.dispose(),this._mounted=!1},t.prototype.render=function(){var e=this,t=this.props.isBeakVisible,n=this.props,a=n.items,l=n.labelElementId,c=n.id,u=n.className,d=n.beakWidth,p=n.directionalHint,m=n.directionalHintForRTL,h=n.alignTargetEdge,f=n.gapSpace,g=n.coverTarget,b=n.ariaLabel,v=n.doNotLayer,y=n.target,w=n.bounds,_=n.useTargetWidth,C=n.useTargetAsMinWidth,E=n.directionalHintFixed,S=n.shouldFocusOnMount,x=n.shouldFocusOnContainer,k=n.title,O=n.styles,P=n.theme,D=n.calloutProps,M=n.onRenderSubMenu,A=void 0===M?this._onRenderSubMenu:M,R=n.onRenderMenuList,N=void 0===R?this._onRenderMenuList:R,L=n.focusZoneProps,j=n.getMenuClassNames;this._classNames=j?j(P,u):ce(O,{theme:P,className:u});var F=function e(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.iconProps)return!0;if(i.itemType===o.Section&&i.sectionProps&&e(i.sectionProps.items))return!0}return!1}(a);this._adjustedFocusZoneProps=Object(r.a)(Object(r.a)({},L),{direction:this._getFocusZoneDirection()});var B,W=function(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}(a),U=this.state.expandedMenuItemKey&&!0!==this.props.hidden?this._getSubmenuProps():null;t=void 0===t?this.props.responsiveMode<=z.a.medium:t;var V=this._target;if((_||C)&&V&&V.offsetWidth){var G=V.getBoundingClientRect().width-2;_?B={width:G}:C&&(B={minWidth:G})}if(a&&a.length>0){for(var K=0,q=0,Z=a;q<Z.length;q++){var X=Z[q];if(X.itemType!==o.Divider&&X.itemType!==o.Header)K+=X.customOnRenderListLength?X.customOnRenderListLength:1}var Y=this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return i.createElement(H.a,Object(r.a)({styles:Y,onRestoreFocus:this._tryFocusPreviousActiveElement},D,{target:y,isBeakVisible:t,beakWidth:d,directionalHint:p,directionalHintForRTL:m,gapSpace:f,coverTarget:g,doNotLayer:v,className:Object(s.a)("ms-ContextualMenu-Callout",D&&D.className),setInitialFocus:S,onDismiss:this.props.onDismiss,onScroll:this._onScroll,bounds:w,directionalHintFixed:E,alignTargetEdge:h,hidden:this.props.hidden}),i.createElement("div",{"aria-label":b,"aria-labelledby":l,style:B,ref:function(t){return e._host=t},id:c,className:this._classNames.container,tabIndex:x?0:-1,onKeyDown:this._onMenuKeyDown,onKeyUp:this._onKeyUp,onFocusCapture:this._onMenuFocusCapture},k&&i.createElement("div",{className:this._classNames.title}," ",k," "),a&&a.length?i.createElement(T.a,Object(r.a)({},this._adjustedFocusZoneProps,{className:this._classNames.root,isCircularNavigation:!0,handleTabKey:I.b.all}),N({items:a,totalItemCount:K,hasCheckmarks:W,hasIcons:F,defaultMenuItemRenderer:this._defaultMenuItemRenderer},this._onRenderMenuList)):null,U&&A(U,this._onRenderSubMenu)))}return null},t.prototype._isHidden=function(e){return!!e.hidden},t.prototype._onMenuOpened=function(){this._events.on(this._targetWindow,"resize",this.dismiss),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this._gotMouseMove=!1,this.props.onMenuOpened&&this.props.onMenuOpened(this.props)},t.prototype._onMenuClosed=function(){this._events.off(this._targetWindow,"resize",this.dismiss),this._tryFocusPreviousActiveElement({containsFocus:this._focusingPreviousElement,originalElement:this._previousActiveElement}),this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this.setState({expandedByMouseClick:void 0,dismissedMenuItemKey:void 0,expandedMenuItemKey:void 0,submenuTarget:void 0})},t.prototype._getFocusZoneDirection=function(){var e=this.props.focusZoneProps;return e&&void 0!==e.direction?e.direction:I.a.vertical},t.prototype._onRenderSubMenu=function(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")},t.prototype._renderSectionItem=function(e,t,n,a,s){var l=this,c=e.sectionProps;if(c){var u,d;if(c.title){var p=this._id+c.title.replace(/\s/g,""),m={key:"section-"+c.title+"-title",itemType:o.Header,text:c.title,id:p};d={role:"group","aria-labelledby":p},u=this._renderHeaderMenuItem(m,t,n,a,s)}return c.items&&c.items.length>0?i.createElement("li",{role:"presentation",key:c.key||e.key||"section-"+n},i.createElement("div",Object(r.a)({},d),i.createElement("ul",{className:this._classNames.list},c.topDivider&&this._renderSeparator(n,t,!0,!0),u&&this._renderListItem(u,e.key||n,t,e.title),c.items.map((function(e,t){return l._renderMenuItem(e,t,t,c.items.length,a,s)})),c.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,o){return i.createElement("li",{role:"presentation",title:o,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,o){return o||e>0?i.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,n,o,i,a,s){return e.onRender?e.onRender(Object(r.a)({"aria-posinset":o+1,"aria-setsize":i},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,o,i,a,s):e.split&&F(e)?this._renderSplitButton(e,t,n,o,i,a,s):this._renderButtonItem(e,t,n,o,i,a,s)},t.prototype._renderHeaderMenuItem=function(e,t,n,o,a){var s=this.props.contextualMenuItemAs,l=void 0===s?te:s,c=e.itemProps,u=e.id,d=c&&Object(g.d)(c,g.c);return i.createElement("div",Object(r.a)({id:u,className:this._classNames.header},d,{style:e.style}),i.createElement(l,Object(r.a)({item:e,classNames:t,index:n,onCheckmarkClick:o?this._onItemClick:void 0,hasIcons:a},c)))},t.prototype._renderAnchorMenuItem=function(e,t,n,o,r,a,s){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return i.createElement(re,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:r,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,o,r,a,s){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return i.createElement(ie,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:r,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,o,r,a,s){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return i.createElement(le,{item:e,classNames:t,index:n,focusableElementIndex:o,totalItemCount:r,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:c,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===c.a.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var o=this,r=n||t.currentTarget,i=this.props.subMenuHoverDelay,a=void 0===i?250:i;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&r.focus(),F(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout((function(){r.focus(),o.setState({expandedByMouseClick:!0}),o._onItemSubMenuExpand(e,r),o._enterTimerId=void 0}),a)):this._enterTimerId=this._async.setTimeout((function(){o._onSubMenuDismiss(t),r.focus(),o._enterTimerId=void 0}),a))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,o=this._findItemByKey(n),r=null;return o&&(r={items:de(o),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:Object(A.a)(this.props.theme)?k.a.leftTopEdge:k.a.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},o.subMenuProps&&Object(b.a)(r,o.subMenuProps)),r},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.itemType===o.Section&&i.sectionProps){var a=this._findItemByKeyFromItems(e,i.sectionProps.items);if(a)return a}else if(i.key&&i.key===e)return i}},t.prototype._setTargetWindowAndElement=function(e){var t=this._host;if(e)if("string"==typeof e){var n=Object(N.a)(t);this._target=n?n.querySelector(e):null,this._targetWindow=Object(L.a)(t)}else if(e.stopPropagation)this._targetWindow=Object(L.a)(e.target),this._target=e;else if(void 0===e.left&&void 0===e.x||void 0===e.top&&void 0===e.y)if(void 0!==e.current)this._target=e.current,this._targetWindow=Object(L.a)(this._target);else{var o=e;this._targetWindow=Object(L.a)(o),this._target=e}else this._targetWindow=Object(L.a)(t),this._target=e;else this._targetWindow=Object(L.a)(t)},t.defaultProps={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:k.a.bottomAutoEdge,beakWidth:16},t=Object(r.b)([z.b],t)}(i.Component),fe={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function ge(e){return i.createElement(pe,Object(r.a)({},e))}var be=pe=Object(O.a)(he,(function(e){var t=e.className,n=e.theme,o=Object(V.x)(fe,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:V.d.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[o.title,{fontSize:r.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(){return{onRenderSubMenu:ge}}),{scope:"ContextualMenu"}),ve=n(42),ye=Object(a.b)((function(e,t,n,o,r){return{root:Object(V.F)(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],o&&!t&&[e.splitButtonMenuButtonChecked]),splitButtonContainer:Object(V.F)(e.splitButtonContainer,!t&&o&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!o&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Object(V.F)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&r&&e.splitButtonMenuIcon),flexContainer:Object(V.F)(e.splitButtonFlexContainer),divider:Object(V.F)(e.splitButtonDivider,(r||t)&&e.splitButtonDividerDisabled)}})),we=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=i.createRef(),n._splitButtonContainer=i.createRef(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=Object(a.b)((function(e){return Object(r.a)(Object(r.a)({},e),{hasMenu:!0})})),n._onRenderIcon=function(e,t){var o=n.props.iconProps;if(o&&(void 0!==o.iconName||o.imageProps)){var a=o.className,l=o.imageProps,c=Object(r.d)(o,["className","imageProps"]);if(o.styles)return i.createElement(_.a,Object(r.a)({className:Object(s.a)(n._classNames.icon,a),imageProps:l},c));if(o.iconName)return i.createElement(C.a,Object(r.a)({className:Object(s.a)(n._classNames.icon,a)},c));if(l)return i.createElement(x,Object(r.a)({className:Object(s.a)(n._classNames.icon,a),imageProps:l},c))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,o=e.children,r=e.secondaryText,a=void 0===r?n.props.description:r,s=e.onRenderText,l=void 0===s?n._onRenderText:s,c=e.onRenderDescription,u=void 0===c?n._onRenderDescription:c;return t||"string"==typeof o||a?i.createElement("span",{className:n._classNames.textContainer},l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)):[l(n.props,n._onRenderText),u(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()?i.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?i.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},o):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?i.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return i.createElement(C.a,Object(r.a)({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.persistMenu,o=n.state.menuHidden,a=n.props.menuAs||be;return e.ariaLabel||e.labelElementId||!n._hasText()||(e=Object(r.a)(Object(r.a)({},e),{labelElementId:n._labelId})),i.createElement(a,Object(r.a)({id:n._labelId+"-menu",directionalHint:k.a.bottomLeftEdge},e,{shouldFocusOnContainer:n._menuShouldFocusOnContainer,shouldFocusOnMount:n._menuShouldFocusOnMount,hidden:t?o:void 0,className:Object(s.a)("ms-BaseButton-menuhost",e.className),target:n._isSplitButton?n._splitButtonContainer.current:n._buttonElement.current,onDismiss:n._onDismissMenu}))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&Object(l.a)(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu(),!n._processingTouch&&n.props.onClick?n.props.onClick(e):n._processingTouch&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==c.a.enter&&e.which!==c.a.space?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===c.a.enter||e.which===c.a.space?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var t=e.which===c.a.up,o=e.which===c.a.down;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var r=n.props.onMenuClick;r&&r(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(!e.altKey&&!e.metaKey&&(t||o))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.onMenuClick;if(t&&t(e,n.props),!e.defaultPrevented){var o=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;n._onToggleMenu(o),e.preventDefault(),e.stopPropagation()}},Object(u.a)(n),n._async=new d.a(n),n._events=new p.a(n),Object(m.a)("BaseButton",t,["menuProps","onClick"],"split",n.props.split),Object(h.a)("BaseButton",t,{rootProps:void 0,description:"secondaryText",toggled:"checked"}),n._labelId=Object(f.a)(),n._descriptionId=Object(f.a)(),n._ariaDescriptionId=Object(f.a)(),n.state={menuHidden:!0},n}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,o=t.ariaLabel,r=t.ariaHidden,i=t.className,a=t.disabled,s=t.allowDisabledFocus,l=t.primaryDisabled,c=t.secondaryText,u=void 0===c?this.props.description:c,d=t.href,p=t.iconProps,m=t.menuIconProps,h=t.styles,f=t.checked,y=t.variantClassName,w=t.theme,_=t.toggle,C=t.getClassNames,E=t.role,S=this.state.menuHidden,x=a||l;this._classNames=C?C(w,i,y,p&&p.className,m&&m.className,x,f,!S,!!this.props.menuProps,this.props.split,!!s):Object(ve.b)(w,h,i,y,p&&p.className,m&&m.className,x,!!this.props.menuProps,f,!S,this.props.split);var k=this._ariaDescriptionId,O=this._labelId,I=this._descriptionId,T=!x&&!!d,P=T?"a":"button",D=Object(g.d)(Object(b.a)(T?{}:{type:"button"},this.props.rootProps,this.props),T?g.a:g.b,["disabled"]),M=o||D["aria-label"],A=void 0;n?A=k:u&&this.props.onRenderDescription!==v.a?A=I:D["aria-describedby"]&&(A=D["aria-describedby"]);var R=void 0;M||(D["aria-labelledby"]?R=D["aria-labelledby"]:A&&(R=this._hasText()?O:void 0));var N=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),L="menuitemcheckbox"===E||"checkbox"===E,j=L||!0===_?!!f:void 0,F=Object(b.a)(D,((e={className:this._classNames.root,ref:this._buttonElement,disabled:x&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":M,"aria-labelledby":R,"aria-describedby":A,"aria-disabled":x,"data-is-focusable":N})[L?"aria-checked":"aria-pressed"]=j,e));return r&&(F["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(P,F):(this.props.menuProps&&Object(b.a)(F,{"aria-expanded":!S,"aria-owns":S?null:this._labelId+"-menu","aria-haspopup":!0}),this._onRenderContent(P,F))},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?this._splitButtonContainer.current.focus():this._buttonElement.current&&this._buttonElement.current.focus()},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,o=this.props,a=e,s=o.menuIconProps,l=o.menuProps,c=o.onRenderIcon,u=void 0===c?this._onRenderIcon:c,d=o.onRenderAriaDescription,p=void 0===d?this._onRenderAriaDescription:d,m=o.onRenderChildren,h=void 0===m?this._onRenderChildren:m,f=o.onRenderMenu,g=void 0===f?this._onRenderMenu:f,b=o.onRenderMenuIcon,v=void 0===b?this._onRenderMenuIcon:b,w=o.disabled,_=o.keytipProps;_&&l&&(_=this._getMemoizedMenuButtonKeytipProps(_));var C=function(e){return i.createElement(a,Object(r.a)({},t,e),i.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},u(o,n._onRenderIcon),n._onRenderTextContents(),p(o,n._onRenderAriaDescription),h(o,n._onRenderChildren),!n._isSplitButton&&(l||s||n.props.onRenderMenuIcon)&&v(n.props,n._onRenderMenuIcon),l&&!l.doNotLayer&&n._shouldRenderMenu()&&g(l,n._onRenderMenu)))},E=_?i.createElement(oe.a,{keytipProps:this._isSplitButton?void 0:_,ariaDescribedBy:t["aria-describedby"],disabled:w},(function(e){return C(e)})):C();return l&&l.doNotLayer?i.createElement("span",{style:{display:"inline-block"}},E,this._shouldRenderMenu()&&g(l,this._onRenderMenu)):i.createElement(i.Fragment,null,E,i.createElement(y.a,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,o=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!o)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,o=this.props,a=o.styles,s=void 0===a?{}:a,l=o.disabled,c=o.allowDisabledFocus,u=o.checked,d=o.getSplitButtonClassNames,p=o.primaryDisabled,m=o.menuProps,h=o.toggle,f=o.role,v=o.primaryActionButtonProps,y=this.props.keytipProps,_=this.state.menuHidden,C=d?d(!!l,!_,!!u,!!c):s&&ye(s,!!l,!_,!!u,!!p);Object(b.a)(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1});var E=t.ariaDescription;y&&m&&(y=this._getMemoizedMenuButtonKeytipProps(y));var S=Object(g.d)(t,[],["disabled"]);v&&Object(b.a)(t,v);var x=function(o){return i.createElement("div",Object(r.a)({},S,{"data-ktp-target":o?o["data-ktp-target"]:void 0,role:f||"button","aria-disabled":l,"aria-haspopup":!0,"aria-expanded":!_,"aria-pressed":h?!!u:void 0,"aria-describedby":Object(w.a)(E,o?o["aria-describedby"]:void 0),className:C&&C.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:l||p?void 0:n._onSplitButtonPrimaryClick,tabIndex:!l||c?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),i.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(C,o),n._onRenderSplitButtonDivider(C)))};return y?i.createElement(oe.a,{keytipProps:y,disabled:l},(function(e){return x(e)})):x()},t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return i.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,a=o.allowDisabledFocus,s=o.checked,l=o.disabled,c=o.splitButtonMenuProps,u=o.splitButtonAriaLabel,d=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var m=Object(r.a)(Object(r.a)({},c),{styles:e,checked:s,disabled:l,allowDisabledFocus:a,onClick:this._onMenuClick,menuProps:void 0,iconProps:Object(r.a)(Object(r.a)({},p),{className:this._classNames.menuIcon}),ariaLabel:u,"aria-haspopup":!0,"aria-expanded":!d,"data-is-focusable":!1});return i.createElement(t,Object(r.a)({},m,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0}),500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===c.a.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(i.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));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)};function r(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(0),r=o.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d}));var o=n(93),r=["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","role","style","tabIndex","title","translate","spellCheck","name"].concat(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),i=(r.concat(["form"]),r.concat(["height","loop","muted","preload","src","width"]).concat(["poster"]),r.concat(["start"]),r.concat(["value"]),r.concat(["download","href","hrefLang","media","rel","target","type"])),a=r.concat(["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),s=a.concat(["accept","alt","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),l=a.concat(["cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),c=(a.concat(["form","multiple","required"]),r.concat(["selected","value"]),r.concat(["cellPadding","cellSpacing"]),r.concat(["rowSpan","scope"]),r.concat(["colSpan","headers","rowSpan","scope"]),r.concat(["span"]),r.concat(["span"]),r.concat(["acceptCharset","action","encType","encType","method","noValidate","target"]),r.concat(["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),r.concat(["alt","crossOrigin","height","src","srcSet","useMap","width"])),u=r;function d(e,t,n){return Object(o.b)((function(e){return(!n||n.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)}),{},e)}},,,function(e,t,n){window,e.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t,n){"use strict";var o=n(2),r=n(12),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:r,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function e(){var t={};function n(n,o){"object"==typeof t[o]&&"object"==typeof n?t[o]=e(t[o],n):t[o]=n}for(var o=0,r=arguments.length;o<r;o++)c(arguments[o],n);return t},deepMerge:function e(){var t={};function n(n,o){"object"==typeof t[o]&&"object"==typeof n?t[o]=e(t[o],n):t[o]="object"==typeof n?e({},n):n}for(var o=0,r=arguments.length;o<r;o++)c(arguments[o],n);return t},extend:function(e,t,n){return c(t,(function(t,r){e[r]=n&&"function"==typeof t?o(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){e.exports=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];return e.apply(t,n)}}},function(e,t,n){"use strict";var o=n(0);function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,(function(e,t){null!=e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var o=n(0),r=n(18),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return(void 0!==t&&"[object process]"===Object.prototype.toString.call(t)||"undefined"!=typeof XMLHttpRequest)&&(e=n(6)),e}(),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){s.headers[e]=o.merge(i)})),e.exports=s}).call(this,n(17))},function(e,t,n){"use strict";var o=n(0),r=n(19),i=n(3),a=n(21),s=n(22),l=n(7);e.exports=function(e){return new Promise((function(t,c){var u=e.data,d=e.headers;o.isFormData(u)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",h=e.auth.password||"";d.Authorization="Basic "+btoa(m+":"+h)}if(p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p};r(t,c,o),p=null}},p.onabort=function(){p&&(c(l("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){c(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){c(l("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},o.isStandardBrowserEnv()){var f=n(23),g=(e.withCredentials||s(e.url))&&e.xsrfCookieName?f.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}if("setRequestHeader"in p&&o.forEach(d,(function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),c(e),p=null)})),void 0===u&&(u=null),p.send(u)}))}},function(e,t,n){"use strict";var o=n(20);e.exports=function(e,t,n,r,i){var a=new Error(e);return o(a,t,n,r,i)}},function(e,t,n){"use strict";var o=n(0);e.exports=function(e,t){t=t||{};var n={};return o.forEach(["url","method","params","data"],(function(e){void 0!==t[e]&&(n[e]=t[e])})),o.forEach(["headers","auth","proxy"],(function(r){o.isObject(t[r])?n[r]=o.deepMerge(e[r],t[r]):void 0!==t[r]?n[r]=t[r]:o.isObject(e[r])?n[r]=o.deepMerge(e[r]):void 0!==e[r]&&(n[r]=e[r])})),o.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(o){void 0!==t[o]?n[o]=t[o]:void 0!==e[o]&&(n[o]=e[o])})),n}},function(e,t,n){"use strict";function o(e){this.message=e}o.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},o.prototype.__CANCEL__=!0,e.exports=o},function(e,t,n){e.exports=n(28)},function(e,t,n){"use strict";var o=n(0),r=n(2),i=n(13),a=n(8);function s(e){var t=new i(e),n=r(i.prototype.request,t);return o.extend(n,i.prototype,t),o.extend(n,t),n}var l=s(n(5));l.Axios=i,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=n(9),l.CancelToken=n(26),l.isCancel=n(4),l.all=function(e){return Promise.all(e)},l.spread=n(27),e.exports=l,e.exports.default=l},function(e,t){
/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,n){"use strict";var o=n(0),r=n(3),i=n(14),a=n(15),s=n(8);function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}})),o.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=l},function(e,t,n){"use strict";var o=n(0);function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},function(e,t,n){"use strict";var o=n(0),r=n(16),i=n(4),a=n(5),s=n(24),l=n(25);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.baseURL&&!s(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=r(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=r(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var o=n(0);e.exports=function(e,t,n){return o.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&m())}function m(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(m)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";var o=n(0);e.exports=function(e,t){o.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))}},function(e,t,n){"use strict";var o=n(7);e.exports=function(e,t,n){var r=n.config.validateStatus;!r||r(n.status)?e(n):t(o("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,o,r){return e.config=t,n&&(e.code=n),e.request=o,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var o=n(0),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(o.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=o.trim(e.substr(0,i)).toLowerCase(),n=o.trim(e.substr(i+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var o=n(0);e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=o.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var o=n(0);e.exports=o.isStandardBrowserEnv()?{write:function(e,t,n,r,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(r)&&s.push("path="+r),o.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var o=n(9);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new o(e),t(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r((function(t){e=t})),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";n.r(t);var o=n(1),r=n.n(o),i=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=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){e.done?r(e.value):new n((function(t){t(e.value)})).then(a,s)}l((o=o.apply(e,t||[])).next())}))},s=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},l=function(){function e(){var t=localStorage.getItem("pintraTokenCache");t&&(e.tokens=JSON.parse(t))}return e.clearTokenCache=function(){localStorage.removeItem("pintraTokenCache"),e.tokens=[]},e.getToken=function(t,n){return a(this,void 0,void 0,(function(){var o,i,a,l,u,d,p,m,h,f,g;return s(this,(function(s){switch(s.label){case 0:for(null==e.instance&&(e.instance=new e),o=0,i=e.tokens;o<i.length;o++)if((m=i[o]).name==t.name&&m.expires>Date.now())return console.info("INFO: Getting cached token"),[2,m];(a=new FormData).append("action","get_tokencache"),a.append("resource",t.resource),a.append("nonce",n.nonce),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,r.a.post(n.wpAjaxAdminUrl,a)];case 2:return l=s.sent(),[3,4];case 3:return u=s.sent(),(d=new c(u.message)).data={status:"NOK",error_codes:"-1",message:u.message,result:null},[2,d];case 4:if(console.info(l),200==l.status){if("OK"==l.data.status){for(p=JSON.parse(l.data.result),m={name:t.name,expires:1e3*parseInt(p.expiry),bearer:p.accessToken},h=e.tokens.length-1;h>=0;h--)e.tokens[h].name==t.name&&e.tokens.splice(h,1);return e.tokens.push(m),localStorage.setItem("pintraTokenCache",JSON.stringify(e.tokens)),[2,m]}return(f=new c(l.data.message)).data=l.data,[2,f]}return(g=new c("Response status: "+l.status)).data={status:"NOK",error_codes:"-1",message:"Unknown error occurred",result:null},[2,g]}}))}))},e.getTokenV2=function(t,n){return a(this,void 0,void 0,(function(){var o,i,a,l,u,d,p,m,h,f,g;return s(this,(function(s){switch(s.label){case 0:for(null==e.instance&&(e.instance=new e),o=0,i=e.tokens;o<i.length;o++)if((m=i[o]).name==t.name&&m.expires>Date.now())return console.info("INFO: Getting cached token"),[2,m];(a=new FormData).append("action","get_tokencache"),a.append("scope",t.scope),a.append("nonce",n.nonce),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,r.a.post(n.wpAjaxAdminUrl,a)];case 2:return l=s.sent(),[3,4];case 3:return u=s.sent(),(d=new c(u.message)).data={status:"NOK",error_codes:"-1",message:u.message,result:null},[2,d];case 4:if(console.info(l),200==l.status){if("OK"==l.data.status){for(p=JSON.parse(l.data.result),m={name:t.name,expires:1e3*parseInt(p.expiry),bearer:p.accessToken},h=e.tokens.length-1;h>=0;h--)e.tokens[h].name==t.name&&e.tokens.splice(h,1);return e.tokens.push(m),localStorage.setItem("pintraTokenCache",JSON.stringify(e.tokens)),[2,m]}return(f=new c(l.data.message)).data=l.data,[2,f]}return(g=new c("Response status: "+l.status)).data={status:"NOK",error_codes:"-1",message:"Unknown error occurred",result:null},[2,g]}}))}))},e.tokens=[],e.instance=null,e}(),c=function(e){function t(n){var o=e.call(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return i(t,e),t}(Error),u=function(){function e(e,t){this.name=e,this.resource=t}return e.prototype.toString=function(){return this.name+","+this.resource},e}(),d=function(){function e(e,t){this.name=e,this.scope=t}return e.prototype.toString=function(){return this.name+","+this.scope},e}(),p=function(){function e(){}return e.getReactDomConfig=function(){var e=document.getElementsByTagName("script"),t=e[e.length-1],n=t.getAttribute("src"),o="";n&&(o=""+n.substr(0,n.lastIndexOf("/")+1));var r=document.createElement("div"),i=Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5);return r.setAttribute("id",i),t.parentNode.appendChild(r),{rootId:i,env:{nonce:t.getAttribute("data-nonce"),wpAjaxAdminUrl:t.getAttribute("data-wpajaxadminurl"),scriptContextUrl:o,props:t.getAttribute("data-props")?JSON.parse(t.getAttribute("data-props")):{}}}},e}();n.d(t,"TokenCache",(function(){return l})),n.d(t,"TokenRequest",(function(){return u})),n.d(t,"TokenRequestV2",(function(){return d})),n.d(t,"TokenRequestError",(function(){return c})),n.d(t,"AppLauncher",(function(){return p}))}])},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var o=n(2),r=n(0),i=n(65),a=n(208),s=n(207),l=n(14),c=n(58),u=n(64),d=n(76),p=n(101);var m=Object(c.b)((function(e,t,n){var r=Object(u.a)(e),i=Object(d.a)(e),a={root:{minWidth:"80px",height:"32px"},label:{fontWeight:l.d.semibold}};return Object(l.r)(r,a,n?function(e){var t,n,r,i,a,s,c,u,d,m=e.palette,h=e.semanticColors;return{root:{backgroundColor:h.primaryButtonBackground,border:"1px solid "+h.primaryButtonBackground,color:h.primaryButtonText,selectors:(t={},t[l.e]={color:"Window",backgroundColor:"WindowText",borderColor:"WindowText",MsHighContrastAdjust:"none"},t["."+p.a+" &:focus"]={selectors:{":after":{border:"none",outlineColor:m.white}}},t)},rootHovered:{backgroundColor:h.primaryButtonBackgroundHovered,border:"1px solid "+h.primaryButtonBackgroundHovered,color:h.primaryButtonTextHovered,selectors:(n={},n[l.e]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n)},rootPressed:{backgroundColor:h.primaryButtonBackgroundPressed,border:"1px solid "+h.primaryButtonBackgroundPressed,color:h.primaryButtonTextPressed,selectors:(r={},r[l.e]={color:"Window",backgroundColor:"WindowText",borderColor:"WindowText",MsHighContrastAdjust:"none"},r)},rootExpanded:{backgroundColor:h.primaryButtonBackgroundPressed,color:h.primaryButtonTextPressed},rootChecked:{backgroundColor:h.primaryButtonBackgroundPressed,color:h.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:h.primaryButtonBackgroundPressed,color:h.primaryButtonTextPressed},rootDisabled:{selectors:(i={},i[l.e]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)},splitButtonContainer:{selectors:(a={},a[l.e]={border:"none"},a)},splitButtonDivider:Object(o.a)(Object(o.a)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:m.white,selectors:(s={},s[l.e]={backgroundColor:"Window"},s)}),splitButtonMenuButton:{backgroundColor:h.primaryButtonBackground,color:h.primaryButtonText,selectors:(c={},c[l.e]={backgroundColor:"WindowText"},c[":hover"]={backgroundColor:h.primaryButtonBackgroundHovered,selectors:(u={},u[l.e]={color:"Highlight"},u)},c)},splitButtonMenuButtonDisabled:{backgroundColor:h.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:h.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:h.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:h.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:h.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:h.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:h.primaryButtonText},splitButtonMenuIconDisabled:{color:m.neutralTertiary,selectors:(d={},d[l.e]={color:"GrayText"},d)}}}(e):function(e){var t,n,r,i,a,s=e.semanticColors,c=e.palette,u=s.buttonBackground,d=s.buttonBackgroundPressed,p=s.buttonBackgroundHovered,m=s.buttonText,h=s.buttonTextHovered,f=s.buttonTextChecked,g=s.buttonTextCheckedHovered;return{root:{backgroundColor:u,color:m},rootHovered:{backgroundColor:p,color:h,selectors:(t={},t[l.e]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:d,color:f},rootExpanded:{backgroundColor:d,color:f},rootChecked:{backgroundColor:d,color:f},rootCheckedHovered:{backgroundColor:d,color:g},rootDisabled:{selectors:(n={},n[l.e]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n)},splitButtonContainer:{selectors:(r={},r[l.e]={border:"none"},r)},splitButtonMenuButton:{color:c.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:c.neutralLight,selectors:(i={},i[l.e]={color:"Highlight"},i)}}},splitButtonMenuButtonDisabled:{backgroundColor:s.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:s.buttonBackgroundDisabled}}},splitButtonDivider:Object(o.a)(Object(o.a)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:c.neutralTertiaryAlt,selectors:(a={},a[l.e]={backgroundColor:"WindowText"},a)}),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:c.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:c.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:c.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:c.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:s.buttonText},splitButtonMenuIconDisabled:{color:s.buttonTextDisabled}}}(e),i,t)})),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,s=e.styles,l=e.theme;return r.createElement(i.a,Object(o.a)({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:m(l,s,n),onRenderDescription:a.a}))},t=Object(o.b)([Object(s.a)("DefaultButton",["theme","styles"],!0)],t)}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(2),r=n(0),i=n(208),a=n(207),s=n(72),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.render=function(){return r.createElement(s.a,Object(o.a)({},this.props,{primary:!0,onRenderDescription:i.a}))},t=Object(o.b)([Object(a.a)("PrimaryButton",["theme","styles"],!0)],t)}(r.Component)},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(2),r=n(14),i=n(58),a=Object(i.b)((function(e,t){var n,i,a,s,l,c,u,d,p,m,h=e.effects,f=e.palette,g=e.semanticColors,b={position:"absolute",width:1,right:31,top:8,bottom:8},v={splitButtonContainer:[Object(r.w)(e,{highContrastStyle:{left:-2,top:-2,bottom:-2,right:-2,border:"none"},inset:2}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",selectors:(n={},n[r.e]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},n)},".ms-Button--primary + .ms-Button":{border:"none"}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(i={},i[r.e]={color:"Window",backgroundColor:"Highlight"},i)},".ms-Button.is-disabled":{color:g.buttonTextDisabled,selectors:(a={},a[r.e]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},a)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(s={},s[r.e]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},s)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(l={},l[r.e]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},l)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:{padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:h.roundedCorner2,borderBottomRightRadius:h.roundedCorner2,border:"1px solid "+f.neutralSecondaryAlt,borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},splitButtonDivider:Object(o.a)(Object(o.a)({},b),{selectors:(c={},c[r.e]={backgroundColor:"WindowText"},c)}),splitButtonDividerDisabled:Object(o.a)(Object(o.a)({},b),{selectors:(u={},u[r.e]={backgroundColor:"GrayText"},u)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(d={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(p={},p[r.e]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},p)}},d[r.e]={border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},d)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(m={},m[r.e]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},m)}};return Object(r.r)(v,t)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(0),r=n(4),i=function(){return o.createElement(r.A,null,o.createElement(r.z,null,o.createElement(r.w,null,"Thank you for choosing our WordPress + Office 365 plugin •"," ",o.createElement("a",{href:"https://www.wpo365.com/contact/",target:"_blank"},"Contact")," ","•"," ",o.createElement("a",{href:"https://www.youtube.com/@wpo365",target:"_blank"},"Videos")," ","•"," ",o.createElement("a",{href:"https://docs.wpo365.com/",target:"_blank"},"Documentation")," ","•"," ",o.createElement("a",{href:"https://wordpress.org/support/plugin/wpo365-login/reviews",target:"_blank"},"Review")," ","•"," ",o.createElement("a",{href:"https://www.wpo365.com/how-to-get-support/",target:"_blank"},"Support")," ","•"," ",o.createElement("a",{href:"https://www.wpo365.com/change-log/",target:"_blank"},"Change log")," ","•"," ",o.createElement("a",{href:"https://www.wpo365.com/downloads/",target:"_blank"},"Upgrade")," ","•"," ",o.createElement("a",{href:"https://www.linkedin.com/company/downloads-by-van-wieren",target:"_blank"},"Follow us")),o.createElement(r.v,null)))}},function(e,t,n){"use strict";function o(e,t){return void 0===t&&(t=!0),e&&(t&&function(e){var t,n;return e&&((n=e)&&n._virtual)&&(t=e._virtual.parent),t}(e)||e.parentNode&&e.parentNode)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var o,r=n(236),i=n(2),a=n(0);!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(o||(o={}));var s=n(96),l=n(24),c=n(237),u=n(68),d=n(143),p=Object(c.a)({cacheSize:100}),m=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===l.c.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return Object(i.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,r=e.iconName,l=e.imageErrorAs,c=e.theme,m="string"==typeof r&&0===r.length,h=!!this.props.imageProps||this.props.iconType===o.image||this.props.iconType===o.Image,f=Object(d.b)(r)||{},g=f.iconClassName,b=f.children,v=p(n,{theme:c,className:t,iconClassName:g,isImage:h,isPlaceholder:m}),y=h?"span":"i",w=Object(u.d)(this.props,u.e,["aria-label"]),_=this.state.imageLoadError,C=Object(i.a)(Object(i.a)({},this.props.imageProps),{onLoadingStateChange:this.onImageLoadingStateChange}),E=_&&l||s.a,S=this.props["aria-label"]||this.props.ariaLabel,x=S?{"aria-label":S}:{"aria-hidden":!this.props["aria-labelledby"]&&!C["aria-labelledby"]};return a.createElement(y,Object(i.a)({"data-icon-name":r},x,w,{className:v.root}),h?a.createElement(E,Object(i.a)({},C)):b)},t}(a.Component),h=n(56),f=Object(r.a)(m,h.c,void 0,{scope:"Icon"},!0)},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(162),l=n(146),c=n(112),u=n(83),d=n(68),p=n(267),m=n(261),h=n(268),f=Object(a.a)(),g=function(e){function t(t){var n=e.call(this,t)||this;return n._toggleButton=i.createRef(),n._onClick=function(e){var t=n.props,o=t.disabled,r=t.checked,i=t.onChange,a=t.onChanged,s=t.onClick,l=n.state.checked;o||(void 0===r&&n.setState({checked:!l}),i&&i(e,!l),a&&a(!l),s&&s(e))},Object(s.a)(n),Object(l.a)("Toggle",t,{checked:"defaultChecked"}),Object(c.a)("Toggle",t,{onAriaLabel:"ariaLabel",offAriaLabel:void 0,onChanged:"onChange"}),n.state={checked:!(!t.checked&&!t.defaultChecked)},n._id=t.id||Object(u.a)("Toggle"),n}return Object(r.c)(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.checked?null:{checked:!!e.checked}},Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.checked},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.as,o=void 0===n?"div":n,a=t.className,s=t.theme,l=t.disabled,c=t.keytipProps,u=t.label,g=t.ariaLabel,b=t.onAriaLabel,v=t.offAriaLabel,y=t.offText,w=t.onText,_=t.styles,C=t.inlineLabel,E=this.state.checked,S=E?w:y,x=E?b:v,k=Object(d.d)(this.props,d.g,["defaultChecked"]),O=f(_,{theme:s,className:a,disabled:l,checked:E,inlineLabel:C,onOffMissing:!w&&!y}),I=this._id+"-label",T=this._id+"-stateText",P=void 0;g||x||(u?P=I:S&&(P=T));var D=this.props.role?this.props.role:"switch";return i.createElement(o,{className:O.root,hidden:k.hidden},u&&i.createElement(m.a,{htmlFor:this._id,className:O.label,id:I},u),i.createElement("div",{className:O.container},i.createElement(h.a,{keytipProps:c,ariaDescribedBy:k["aria-describedby"],disabled:l},(function(t){return i.createElement("button",Object(r.a)({},k,t,{className:O.pill,disabled:l,id:e._id,type:"button",role:D,ref:e._toggleButton,"aria-disabled":l,"aria-checked":E,"aria-label":g||x,"data-is-focusable":!0,onChange:e._noop,onClick:e._onClick,"aria-labelledby":P}),i.createElement("span",{className:O.thumb}))})),S&&i.createElement(m.a,{htmlFor:this._id,className:O.text,id:T},S)),i.createElement(p.a,null))},t.prototype.focus=function(){this._toggleButton.current&&this._toggleButton.current.focus()},t.prototype._noop=function(){},t}(i.Component),b=n(14),v=Object(o.a)(g,(function(e){var t,n,o,r,i,a,s,l=e.theme,c=e.className,u=e.disabled,d=e.checked,p=e.inlineLabel,m=e.onOffMissing,h=l.semanticColors,f=l.palette,g=h.bodyBackground,v=h.inputBackgroundChecked,y=f.themeDark,w=f.neutralDark,_=h.disabledBodySubtext,C=h.smallInputBorder,E=h.inputForegroundChecked,S=h.disabledBodySubtext,x=h.disabledBackground,k=h.smallInputBorder,O=h.inputBorderHovered,I=h.disabledBodySubtext,T=h.disabledText;return{root:["ms-Toggle",d&&"is-checked",!u&&"is-enabled",u&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},p&&{display:"flex",alignItems:"center"},c],label:["ms-Toggle-label",u&&{color:T,selectors:(t={},t[b.e]={color:"GrayText"},t)},p&&!m&&{marginRight:16},m&&p&&{order:1,marginLeft:16},p&&{wordBreak:"break-all"}],container:["ms-Toggle-innerContainer",{display:"inline-flex",position:"relative"}],pill:["ms-Toggle-background",Object(b.w)(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid "+k,background:g,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px"},!u&&[!d&&{selectors:{":hover":[{borderColor:O}],":hover .ms-Toggle-thumb":[{backgroundColor:w,selectors:(n={},n[b.e]={borderColor:"Highlight"},n)}]}},d&&[{background:v,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(o={":hover":[{backgroundColor:y,borderColor:"transparent",selectors:(r={},r[b.e]={backgroundColor:"Highlight"},r)}]},o[b.e]={backgroundColor:"WindowText"},o)}]],u&&[{cursor:"default"},!d&&[{borderColor:I}],d&&[{backgroundColor:_,borderColor:"transparent",justifyContent:"flex-end"}]],!u&&{selectors:{"&:hover":{selectors:(i={},i[b.e]={borderColor:"Highlight"},i)}}}],thumb:["ms-Toggle-thumb",{display:"block",width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:C,borderColor:"transparent",borderWidth:".28em",borderStyle:"solid",boxSizing:"border-box"},!u&&d&&[{backgroundColor:E,selectors:(a={},a[b.e]={backgroundColor:"Window",borderColor:"Window"},a)}],u&&[!d&&[{backgroundColor:S}],d&&[{backgroundColor:x}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:b.d.regular}}},u&&{selectors:{"&&":{color:T,selectors:(s={},s[b.e]={color:"GrayText"},s)}}}]}}),void 0,{scope:"Toggle"})},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));function o(e){console&&console.warn&&console.warn(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var o=n(26),r=Object(o.a)()||{};function i(e){return(e||"id__")+r.__currentId__++}function a(e){void 0===e&&(e=0),r.__currentId__=e}void 0===r.__currentId__&&(r.__currentId__=0)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(66);function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},i={},a=0,s=e;a<s.length;a++){var l=s[a];if(l)for(var c in l)if(l.hasOwnProperty(c)){if("subComponentStyles"===c&&void 0!==l.subComponentStyles){var u=l.subComponentStyles;for(var d in u)u.hasOwnProperty(d)&&(i.hasOwnProperty(d)?i[d].push(u[d]):i[d]=[u[d]]);continue}var p=n[c],m=l[c];n[c]=void 0===p?m:Object(o.b)(Array.isArray(p)?p:[p],Array.isArray(m)?m:[m])}}if(Object.keys(i).length>0){n.subComponentStyles={};var h=n.subComponentStyles,f=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)f(d)}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=n(47).a},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(162),l=Object(a.a)(),c=function(e){function t(t){var n=e.call(this,t)||this;return Object(s.a)(n),n}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return this._classNames=l(n,{theme:o,className:t}),i.createElement("div",{className:this._classNames.actions},i.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},t.prototype._renderChildrenAsActions=function(){var e=this;return i.Children.map(this.props.children,(function(t){return t?i.createElement("span",{className:e._classNames.action},t):null}))},t}(i.Component),u=n(14),d={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},p=Object(o.a)(c,(function(e){var t=e.className,n=e.theme,o=Object(u.x)(d,n);return{actions:[o.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal"}}},t],action:[o.action,{margin:"0 4px"}],actionsRight:[o.actionsRight,{textAlign:"right",marginRight:"-4px",fontSize:"0"}]}}),void 0,{scope:"DialogFooter"})},function(e,t,n){"use strict";function o(e,t,n,o){return e.addEventListener(t,n,o),function(){return e.removeEventListener(t,n,o)}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"c",(function(){return p})),n.d(t,"k",(function(){return m})),n.d(t,"j",(function(){return h})),n.d(t,"n",(function(){return g})),n.d(t,"m",(function(){return b})),n.d(t,"l",(function(){return v})),n.d(t,"a",(function(){return y})),n.d(t,"o",(function(){return w})),n.d(t,"b",(function(){return C})),n.d(t,"g",(function(){return E})),n.d(t,"d",(function(){return S}));var o=n(94);var r=n(59),i=n(78),a=n(26),s=n(46);function l(e,t,n){return h(e,t,!0,!1,!1,n)}function c(e,t,n){return m(e,t,!0,!1,!0,n)}function u(e,t,n,o){return void 0===o&&(o=!0),h(e,t,o,!1,!1,n,!1,!0)}function d(e,t,n,o){return void 0===o&&(o=!0),m(e,t,o,!1,!0,n,!1,!0)}function p(e){var t=h(e,e,!0,!1,!1,!0);return!!t&&(C(t),!0)}function m(e,t,n,o,r,i,a,s){if(!t||!a&&t===e)return null;var l=f(t);if(r&&l&&(i||!b(t)&&!v(t))){var c=m(e,t.lastElementChild,!0,!0,!0,i,a,s);if(c){if(s&&g(c,!0)||!s)return c;var u=m(e,c.previousElementSibling,!0,!0,!0,i,a,s);if(u)return u;for(var d=c.parentElement;d&&d!==t;){var p=m(e,d.previousElementSibling,!0,!0,!0,i,a,s);if(p)return p;d=d.parentElement}}}if(n&&l&&g(t,s))return t;var h=m(e,t.previousElementSibling,!0,!0,!0,i,a,s);return h||(o?null:m(e,t.parentElement,!0,!1,!1,i,a,s))}function h(e,t,n,o,r,i,a,s){if(!t||t===e&&r&&!a)return null;var l=f(t);if(n&&l&&g(t,s))return t;if(!r&&l&&(i||!b(t)&&!v(t))){var c=h(e,t.firstElementChild,!0,!0,!1,i,a,s);if(c)return c}if(t===e)return null;var u=h(e,t.nextElementSibling,!0,!0,!1,i,a,s);return u||(o?null:h(e,t.parentElement,!1,!1,!0,i,a,s))}function f(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function g(e,t){if(!e||e.disabled)return!1;var n=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(n=parseInt(o,10));var r=e.getAttribute?e.getAttribute("data-is-focusable"):null,i=null!==o&&n>=0,a=!!e&&"false"!==r&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===r||i);return t?-1!==n&&a:a}function b(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function v(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function y(e){var t=Object(s.a)(e),n=t&&t.activeElement;return!(!n||!Object(r.a)(e,n))}function w(e,t){return"true"!==function(e,t){var n=Object(o.a)(e,(function(e){return e.hasAttribute(t)}));return n&&n.getAttribute(t)}(e,t)}var _=void 0;function C(e){if(e){if(_)return void(_=e);_=e;var t=Object(a.a)(e);t&&t.requestAnimationFrame((function(){_&&_.focus(),_=void 0}))}}function E(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=g(n)&&f(n)?n:h(e,n,!0)||m(e,n)}function S(e,t){for(var n=[];t&&e&&t!==e;){var o=Object(i.a)(t,!0);if(null===o)return[];n.unshift(Array.prototype.indexOf.call(o.children,t)),t=o}return n}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=!1},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(45);function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],i=o.a.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,"c",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var o=n(45),r=n(83);function i(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 a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return s.apply(this,[null,e].concat(t))}function s(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}var l=o.a.getInstance();l&&l.onReset&&l.onReset(r.b)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(78);function r(e,t){return e&&e!==document.body?t(e)?e:r(Object(o.a)(e),t):null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n(2),r=n(54),i=n(83),a=n(41),s=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 i=t?a.f.PERSISTED_KEYTIP_ADDED:a.f.KEYTIP_ADDED;r.a.raise(this,i,{keytip:n,uniqueID:o.uniqueID})}return o.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),o=this._getUniqueKtp(n,t),i=this.keytips[t];i&&(o.keytip.visible=i.keytip.visible,this.keytips[t]=o,delete this.sequenceMapping[i.keytip.keySequences.toString()],this.sequenceMapping[o.keytip.keySequences.toString()]=o.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||r.a.raise(this,a.f.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?a.f.PERSISTED_KEYTIP_REMOVED:a.f.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||r.a.raise(this,o,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){r.a.raise(this,a.f.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){r.a.raise(this,a.f.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(o.e)(e.keySequences);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return Object(o.a)(Object(o.a)({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){r.a.raise(this,a.f.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Object(i.a)()),{keytip:Object(o.a)({},e),uniqueID:t}},e._instance=new e,e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(68),l=n(24),c=Object(a.a)(),u=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=l.a.portrait,n._imageElement=i.createRef(),n._frameElement=i.createRef(),n._onImageLoaded=function(e){var t=n.props,o=t.src,r=t.onLoad;r&&r(e),n._computeCoverStyle(n.props),o&&n.setState({loadState:l.c.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:l.c.error})},n.state={loadState:l.c.notLoaded},n}return Object(r.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:l.c.notLoaded}):this.state.loadState===l.c.loaded&&this._computeCoverStyle(e)},t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded(),this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},t.prototype.render=function(){var e=Object(s.d)(this.props,s.f,["width","height"]),t=this.props,n=t.src,o=t.alt,a=t.width,u=t.height,d=t.shouldFadeIn,p=t.shouldStartVisible,m=t.className,h=t.imageFit,f=t.role,g=t.maximizeFrame,b=t.styles,v=t.theme,y=this.state.loadState,w=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,_=c(b,{theme:v,className:m,width:a,height:u,maximizeFrame:g,shouldFadeIn:d,shouldStartVisible:p,isLoaded:y===l.c.loaded||y===l.c.notLoaded&&this.props.shouldStartVisible,isLandscape:w===l.a.landscape,isCenter:h===l.b.center,isCenterContain:h===l.b.centerContain,isCenterCover:h===l.b.centerCover,isContain:h===l.b.contain,isCover:h===l.b.cover,isNone:h===l.b.none,isError:y===l.c.error,isNotImageFit:void 0===h});return i.createElement("div",{className:_.root,style:{width:a,height:u},ref:this._frameElement},i.createElement("img",Object(r.a)({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:_.image,ref:this._imageElement,src:n,alt:o,role:f})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===l.c.notLoaded&&(!!this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))&&(this._computeCoverStyle(this.props),this.setState({loadState:l.c.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,o=e.height;if((t===l.b.cover||t===l.b.contain||t===l.b.centerContain||t===l.b.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var r=void 0;r=n&&o&&t!==l.b.centerContain&&t!==l.b.centerCover?n/o:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var i=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=i>r?l.a.landscape:l.a.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(i.Component),d=n(14),p=n(26),m={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},h=Object(o.a)(u,(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,h=e.isCover,f=e.isCenterContain,g=e.isCenterCover,b=e.isNone,v=e.isError,y=e.isNotImageFit,w=e.theme,_=Object(d.x)(m,w),C={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},E=Object(p.a)(),S=void 0!==E&&void 0===E.navigator.msMaxTouchPoints,x=u&&l||h&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[_.root,w.fonts.medium,{overflow:"hidden"},r&&[_.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&d.a.fadeIn400,(c||u||h||f||g)&&{position:"relative"},t],image:[_.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],c&&[_.imageCenter,C],u&&[_.imageContain,S&&{width:"100%",height:"100%",objectFit:"contain"},!S&&x,C],h&&[_.imageCover,S&&{width:"100%",height:"100%",objectFit:"cover"},!S&&x,C],f&&[_.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},C],g&&[_.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},C],b&&[_.imageNone,{width:"auto",height:"auto"}],y&&[!!n&&!o&&{height:"auto",width:"100%"},!n&&!!o&&{height:"100%",width:"auto"},!!n&&!!o&&{height:"100%",width:"100%"}],l&&_.imageLandscape,!l&&_.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",v&&"is-error"]}}),void 0,{scope:"Image"},!0)},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("@uifabric/set-version","6.0.0")},function(e,t,n){"use strict";function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];t.forEach((function(t){return t&&t.apply(e,n)}))}}function r(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=o(e,e[n],t[n]))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(2),r=n(0),i=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];var a=function(e){function t(t){var n=e.call(this,t)||this;return n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n}return Object(o.c)(t,e),t.prototype._updateComposedComponentRef=function(e){var t;this._composedComponentInstance=e,e?this._hoisted=function(e,t,n){void 0===n&&(n=i);var o=[],r=function(r){"function"!=typeof t[r]||void 0!==e[r]||n&&-1!==n.indexOf(r)||(o.push(r),e[r]=function(){t[r].apply(t,arguments)})};for(var a in t)r(a);return o}(this,e):this._hoisted&&(t=this,this._hoisted.forEach((function(e){return delete t[e]})))},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o,r=n(0),i=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.extensions,n=e.targets;return t.some((function(e){return n.indexOf(e)>-1}))?this.props.children:null},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var o=n(26),r="ms-Fabric--isFocusVisible";function i(e,t){var n=t?Object(o.a)(t):Object(o.a)();if(n){var i=n.document.body.classList;i.add(e?r:"ms-Fabric--isFocusHidden"),i.remove(e?"ms-Fabric--isFocusHidden":r)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var o=n(2),r=n(0),i=n(65),a=n(208),s=n(207),l=n(14),c=n(58),u=n(64),d=Object(c.b)((function(e,t){var n,o=Object(u.a)(e),r={root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},rootHovered:{color:e.palette.themePrimary,selectors:(n={},n[l.e]={borderColor:"Highlight",color:"Highlight"},n)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}};return Object(l.r)(o,r,t)})),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return r.createElement(i.a,Object(o.a)({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:d(n,t),onRenderDescription:a.a}))},t=Object(o.b)([Object(s.a)("ActionButton",["theme","styles"],!0)],t)}(r.Component)},,,,,,,function(e,t){var n,o,r=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&m())}function m(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(m)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var o=n(27);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";n.d(t,"a",(function(){return r}));var o=n(26),r=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,o=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),o=setTimeout((function(){try{n._timeoutIds&&delete n._timeoutIds[o],e.apply(n._parent)}catch(e){n._onErrorHandler&&n._onErrorHandler(e)}}),t),this._timeoutIds[o]=!0),o},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,r=0,i=Object(o.a)(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});r=i.setTimeout((function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}}),0),this._immediateIds[r]=!0}return r},e.prototype.clearImmediate=function(e,t){var n=Object(o.a)(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,o=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),o=setInterval((function(){try{e.apply(n._parent)}catch(e){n._logError(e)}}),t),this._intervalIds[o]=!0),o},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var o=this;if(this._isDisposed)return this._noop;var r,i,a=t||0,s=!0,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=(new Date).getTime(),p=n-c,m=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,m)),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=(new Date).getTime(),m=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){m&&(o.clearTimeout(m),m=null),p=e},f=function(t){h(t),i=e.apply(o._parent,a)},g=function(e){var t=(new Date).getTime(),n=!1;e&&(l&&t-d>=s&&(n=!0),d=t);var r=t-d,a=s-r,h=t-p,b=!1;return null!==u&&(h>=u&&m?b=!0:a=Math.min(a,u-h)),r>=s||b||n?f(t):null!==m&&e||!c||(m=o.setTimeout(g,a)),i},b=function(){return!!m},v=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)};return v.cancel=function(){b()&&h((new Date).getTime())},v.flush=function(){return b()&&f((new Date).getTime()),i},v.pending=b,v},e.prototype.requestAnimationFrame=function(e,t){var n=this,r=0,i=Object(o.a)(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var a=function(){try{n._animationFrameIds&&delete n._animationFrameIds[r],e.apply(n._parent)}catch(e){n._logError(e)}};r=i.requestAnimationFrame?i.requestAnimationFrame(a):i.setTimeout(a,0),this._animationFrameIds[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e,t){var n=Object(o.a)(t);this._animationFrameIds&&this._animationFrameIds[e]&&(n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}()},function(e,t,n){"use strict";function o(e,t,n){}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function o(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var o="data-portal-element";function r(e){e.setAttribute(o,"true")}},function(e,t,n){e.exports=function e(t){"use strict";var n=/^\0+/g,o=/[\0\r\f]/g,r=/: */g,i=/zoo|gra/,a=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,l=/ +\s*(?![^(]*[)])/g,c=/ *[\0] */g,u=/,\r+?/g,d=/([\t\r\n ])*\f?&/g,p=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,m=/\W+/g,h=/@(k\w+)\s*(\S*)\s*/,f=/::(place)/g,g=/:(read-only)/g,b=/\s+(?=[{\];=:>])/g,v=/([[}=:>])\s+/g,y=/(\{[^{]+?);(?=\})/g,w=/\s{2,}/g,_=/([^\(])(:+) */g,C=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,x=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,O=/stretch|:\s*\w+\-(?:conte|avail)/,I=/([^-])(image-set\()/,T="-webkit-",P="-moz-",D="-ms-",M=59,A=125,R=123,N=40,L=41,j=10,F=13,B=32,W=45,z=42,H=44,U=58,V=47,G=1,K=1,q=0,Z=1,X=1,Y=1,Q=0,$=0,J=0,ee=[],te=[],ne=0,oe=null,re=0,ie=1,ae="",se="",le="";function ce(e,t,r,i,a){for(var s,l,u=0,d=0,p=0,m=0,b=0,v=0,y=0,w=0,C=0,S=0,x=0,k=0,O=0,I=0,P=0,D=0,Q=0,te=0,oe=0,de=r.length,be=de-1,ve="",ye="",we="",_e="",Ce="",Ee="";P<de;){if(y=r.charCodeAt(P),P===be&&d+m+p+u!==0&&(0!==d&&(y=d===V?j:V),m=p=u=0,de++,be++),d+m+p+u===0){if(P===be&&(D>0&&(ye=ye.replace(o,"")),ye.trim().length>0)){switch(y){case B:case 9:case M:case F:case j:break;default:ye+=r.charAt(P)}y=M}if(1===Q)switch(y){case R:case A:case M:case 34:case 39:case N:case L:case H:Q=0;case 9:case F:case j:case B:break;default:for(Q=0,oe=P,b=y,P--,y=M;oe<de;)switch(r.charCodeAt(oe++)){case j:case F:case M:++P,y=b,oe=de;break;case U:D>0&&(++P,y=b);case R:oe=de}}switch(y){case R:for(b=(ye=ye.trim()).charCodeAt(0),x=1,oe=++P;P<de;){switch(y=r.charCodeAt(P)){case R:x++;break;case A:x--;break;case V:switch(v=r.charCodeAt(P+1)){case z:case V:P=ge(v,P,be,r)}break;case 91:y++;case N:y++;case 34:case 39:for(;P++<be&&r.charCodeAt(P)!==y;);}if(0===x)break;P++}switch(we=r.substring(oe,P),0===b&&(b=(ye=ye.replace(n,"").trim()).charCodeAt(0)),b){case 64:switch(D>0&&(ye=ye.replace(o,"")),v=ye.charCodeAt(1)){case 100:case 109:case 115:case W:s=t;break;default:s=ee}if(oe=(we=ce(t,s,we,v,a+1)).length,J>0&&0===oe&&(oe=ye.length),ne>0&&(l=fe(3,we,s=ue(ee,ye,te),t,K,G,oe,v,a,i),ye=s.join(""),void 0!==l&&0===(oe=(we=l.trim()).length)&&(v=0,we="")),oe>0)switch(v){case 115:ye=ye.replace(E,he);case 100:case 109:case W:we=ye+"{"+we+"}";break;case 107:we=(ye=ye.replace(h,"$1 $2"+(ie>0?ae:"")))+"{"+we+"}",we=1===X||2===X&&me("@"+we,3)?"@"+T+we+"@"+we:"@"+we;break;default:we=ye+we,112===i&&(_e+=we,we="")}else we="";break;default:we=ce(t,ue(t,ye,te),we,i,a+1)}Ce+=we,k=0,Q=0,I=0,D=0,te=0,O=0,ye="",we="",y=r.charCodeAt(++P);break;case A:case M:if((oe=(ye=(D>0?ye.replace(o,""):ye).trim()).length)>1)switch(0===I&&((b=ye.charCodeAt(0))===W||b>96&&b<123)&&(oe=(ye=ye.replace(" ",":")).length),ne>0&&void 0!==(l=fe(1,ye,t,e,K,G,_e.length,i,a,i))&&0===(oe=(ye=l.trim()).length)&&(ye="\0\0"),b=ye.charCodeAt(0),v=ye.charCodeAt(1),b){case 0:break;case 64:if(105===v||99===v){Ee+=ye+r.charAt(P);break}default:if(ye.charCodeAt(oe-1)===U)break;_e+=pe(ye,b,v,ye.charCodeAt(2))}k=0,Q=0,I=0,D=0,te=0,ye="",y=r.charCodeAt(++P)}}switch(y){case F:case j:if(d+m+p+u+$===0)switch(S){case L:case 39:case 34:case 64:case 126:case 62:case z:case 43:case V:case W:case U:case H:case M:case R:case A:break;default:I>0&&(Q=1)}d===V?d=0:Z+k===0&&107!==i&&ye.length>0&&(D=1,ye+="\0"),ne*re>0&&fe(0,ye,t,e,K,G,_e.length,i,a,i),G=1,K++;break;case M:case A:if(d+m+p+u===0){G++;break}default:switch(G++,ve=r.charAt(P),y){case 9:case B:if(m+u+d===0)switch(w){case H:case U:case 9:case B:ve="";break;default:y!==B&&(ve=" ")}break;case 0:ve="\\0";break;case 12:ve="\\f";break;case 11:ve="\\v";break;case 38:m+d+u===0&&Z>0&&(te=1,D=1,ve="\f"+ve);break;case 108:if(m+d+u+q===0&&I>0)switch(P-I){case 2:112===w&&r.charCodeAt(P-3)===U&&(q=w);case 8:111===C&&(q=C)}break;case U:m+d+u===0&&(I=P);break;case H:d+p+m+u===0&&(D=1,ve+="\r");break;case 34:case 39:0===d&&(m=m===y?0:0===m?y:m);break;case 91:m+d+p===0&&u++;break;case 93:m+d+p===0&&u--;break;case L:m+d+u===0&&p--;break;case N:if(m+d+u===0){if(0===k)switch(2*w+3*C){case 533:break;default:x=0,k=1}p++}break;case 64:d+p+m+u+I+O===0&&(O=1);break;case z:case V:if(m+u+p>0)break;switch(d){case 0:switch(2*y+3*r.charCodeAt(P+1)){case 235:d=V;break;case 220:oe=P,d=z}break;case z:y===V&&w===z&&oe+2!==P&&(33===r.charCodeAt(oe+2)&&(_e+=r.substring(oe,P+1)),ve="",d=0)}}if(0===d){if(Z+m+u+O===0&&107!==i&&y!==M)switch(y){case H:case 126:case 62:case 43:case L:case N:if(0===k){switch(w){case 9:case B:case j:case F:ve+="\0";break;default:ve="\0"+ve+(y===H?"":"\0")}D=1}else switch(y){case N:I+7===P&&108===w&&(I=0),k=++x;break;case L:0==(k=--x)&&(D=1,ve+="\0")}break;case 9:case B:switch(w){case 0:case R:case A:case M:case H:case 12:case 9:case B:case j:case F:break;default:0===k&&(D=1,ve+="\0")}}ye+=ve,y!==B&&9!==y&&(S=y)}}C=w,w=y,P++}if(oe=_e.length,J>0&&0===oe&&0===Ce.length&&0===t[0].length==0&&(109!==i||1===t.length&&(Z>0?se:le)===t[0])&&(oe=t.join(",").length+2),oe>0){if(s=0===Z&&107!==i?function(e){for(var t,n,r=0,i=e.length,a=Array(i);r<i;++r){for(var s=e[r].split(c),l="",u=0,d=0,p=0,m=0,h=s.length;u<h;++u)if(!(0===(d=(n=s[u]).length)&&h>1)){if(p=l.charCodeAt(l.length-1),m=n.charCodeAt(0),t="",0!==u)switch(p){case z:case 126:case 62:case 43:case B:case N:break;default:t=" "}switch(m){case 38:n=t+se;case 126:case 62:case 43:case B:case L:case N:break;case 91:n=t+n+se;break;case U:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(Y>0){n=t+n.substring(8,d-1);break}default:(u<1||s[u-1].length<1)&&(n=t+se+n)}break;case H:t="";default:n=d>1&&n.indexOf(":")>0?t+n.replace(_,"$1"+se+"$2"):t+n+se}l+=n}a[r]=l.replace(o,"").trim()}return a}(t):t,ne>0&&void 0!==(l=fe(2,_e,s,e,K,G,oe,i,a,i))&&0===(_e=l).length)return Ee+_e+Ce;if(_e=s.join(",")+"{"+_e+"}",X*q!=0){switch(2!==X||me(_e,2)||(q=0),q){case 111:_e=_e.replace(g,":-moz-$1")+_e;break;case 112:_e=_e.replace(f,"::"+T+"input-$1")+_e.replace(f,"::-moz-$1")+_e.replace(f,":-ms-input-$1")+_e}q=0}}return Ee+_e+Ce}function ue(e,t,n){var o=t.trim().split(u),r=o,i=o.length,a=e.length;switch(a){case 0:case 1:for(var s=0,l=0===a?"":e[0]+" ";s<i;++s)r[s]=de(l,r[s],n,a).trim();break;default:s=0;var c=0;for(r=[];s<i;++s)for(var d=0;d<a;++d)r[c++]=de(e[d]+" ",o[s],n,a).trim()}return r}function de(e,t,n,o){var r=t,i=r.charCodeAt(0);switch(i<33&&(i=(r=r.trim()).charCodeAt(0)),i){case 38:switch(Z+o){case 0:case 1:if(0===e.trim().length)break;default:return r.replace(d,"$1"+e.trim())}break;case U:switch(r.charCodeAt(1)){case 103:if(Y>0&&Z>0)return r.replace(p,"$1").replace(d,"$1"+le);break;default:return e.trim()+r.replace(d,"$1"+e.trim())}default:if(n*Z>0&&r.indexOf("\f")>0)return r.replace(d,(e.charCodeAt(0)===U?"":"$1")+e.trim())}return e+r}function pe(e,t,n,o){var c,u=0,d=e+";",p=2*t+3*n+4*o;if(944===p)return function(e){var t=e.length,n=e.indexOf(":",9)+1,o=e.substring(0,n).trim(),r=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*ie){case 0:break;case W:if(110!==e.charCodeAt(10))break;default:var i=r.split((r="",s)),a=0;for(n=0,t=i.length;a<t;n=0,++a){for(var c=i[a],u=c.split(l);c=u[n];){var d=c.charCodeAt(0);if(1===ie&&(d>64&&d<90||d>96&&d<123||95===d||d===W&&c.charCodeAt(1)!==W))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=ae}}u[n++]=c}r+=(0===a?"":",")+u.join(" ")}}return r=o+r+";",1===X||2===X&&me(r,1)?T+r+r:r}(d);if(0===X||2===X&&!me(d,1))return d;switch(p){case 1015:return 97===d.charCodeAt(10)?T+d+d:d;case 951:return 116===d.charCodeAt(3)?T+d+d:d;case 963:return 110===d.charCodeAt(5)?T+d+d:d;case 1009:if(100!==d.charCodeAt(4))break;case 969:case 942:return T+d+d;case 978:return T+d+P+d+d;case 1019:case 983:return T+d+P+d+D+d+d;case 883:return d.charCodeAt(8)===W?T+d+d:d.indexOf("image-set(",11)>0?d.replace(I,"$1"+T+"$2")+d:d;case 932:if(d.charCodeAt(4)===W)switch(d.charCodeAt(5)){case 103:return T+"box-"+d.replace("-grow","")+T+d+D+d.replace("grow","positive")+d;case 115:return T+d+D+d.replace("shrink","negative")+d;case 98:return T+d+D+d.replace("basis","preferred-size")+d}return T+d+D+d+d;case 964:return T+d+D+"flex-"+d+d;case 1023:if(99!==d.charCodeAt(8))break;return c=d.substring(d.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),T+"box-pack"+c+T+d+D+"flex-pack"+c+d;case 1005:return i.test(d)?d.replace(r,":"+T)+d.replace(r,":"+P)+d:d;case 1e3:switch(u=(c=d.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(u)){case 226:c=d.replace(C,"tb");break;case 232:c=d.replace(C,"tb-rl");break;case 220:c=d.replace(C,"lr");break;default:return d}return T+d+D+c+d;case 1017:if(-1===d.indexOf("sticky",9))return d;case 975:switch(u=(d=e).length-10,p=(c=(33===d.charCodeAt(u)?d.substring(0,u):d).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:d=d.replace(c,T+c)+";"+d;break;case 207:case 102:d=d.replace(c,T+(p>102?"inline-":"")+"box")+";"+d.replace(c,T+c)+";"+d.replace(c,D+c+"box")+";"+d}return d+";";case 938:if(d.charCodeAt(5)===W)switch(d.charCodeAt(6)){case 105:return c=d.replace("-items",""),T+d+T+"box-"+c+D+"flex-"+c+d;case 115:return T+d+D+"flex-item-"+d.replace(x,"")+d;default:return T+d+D+"flex-line-pack"+d.replace("align-content","").replace(x,"")+d}break;case 973:case 989:if(d.charCodeAt(3)!==W||122===d.charCodeAt(4))break;case 931:case 953:if(!0===O.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?pe(e.replace("stretch","fill-available"),t,n,o).replace(":fill-available",":stretch"):d.replace(c,T+c)+d.replace(c,P+c.replace("fill-",""))+d;break;case 962:if(d=T+d+(102===d.charCodeAt(5)?D+d:"")+d,n+o===211&&105===d.charCodeAt(13)&&d.indexOf("transform",10)>0)return d.substring(0,d.indexOf(";",27)+1).replace(a,"$1"+T+"$2")+d}return d}function me(e,t){var n=e.indexOf(1===t?":":"{"),o=e.substring(0,3!==t?n:10),r=e.substring(n+1,e.length-1);return oe(2!==t?o:o.replace(k,"$1"),r,t)}function he(e,t){var n=pe(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(S," or ($1)").substring(4):"("+t+")"}function fe(e,t,n,o,r,i,a,s,l,c){for(var u,d=0,p=t;d<ne;++d)switch(u=te[d].call(ve,e,p,n,o,r,i,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:p=u}if(p!==t)return p}function ge(e,t,n,o){for(var r=t+1;r<n;++r)switch(o.charCodeAt(r)){case V:if(e===z&&o.charCodeAt(r-1)===z&&t+2!==r)return r+1;break;case j:if(e===V)return r+1}return r}function be(e){for(var t in e){var n=e[t];switch(t){case"keyframe":ie=0|n;break;case"global":Y=0|n;break;case"cascade":Z=0|n;break;case"compress":Q=0|n;break;case"semicolon":$=0|n;break;case"preserve":J=0|n;break;case"prefix":oe=null,n?"function"!=typeof n?X=1:(X=2,oe=n):X=0}}return be}function ve(t,n){if(void 0!==this&&this.constructor===ve)return e(t);var r=t,i=r.charCodeAt(0);i<33&&(i=(r=r.trim()).charCodeAt(0)),ie>0&&(ae=r.replace(m,91===i?"":"-")),i=1,1===Z?le=r:se=r;var a,s=[le];ne>0&&void 0!==(a=fe(-1,n,s,s,K,G,0,0,0,0))&&"string"==typeof a&&(n=a);var l=ce(ee,s,n,0,0);return ne>0&&void 0!==(a=fe(-2,l,s,s,K,G,l.length,0,0,0))&&"string"!=typeof(l=a)&&(i=0),ae="",le="",se="",q=0,K=1,G=1,Q*i==0?l:l.replace(o,"").replace(b,"").replace(v,"$1").replace(y,"$1").replace(w," ")}return ve.use=function e(t){switch(t){case void 0:case null:ne=te.length=0;break;default:if("function"==typeof t)te[ne++]=t;else if("object"==typeof t)for(var n=0,o=t.length;n<o;++n)e(t[n]);else re=0|!!t}return e},ve.set=be,void 0!==t&&be(t),ve}(null)},function(e,t,n){"use strict";e.exports=n(199)},function(e,t,n){"use strict";var o=function(e,t){return e===t};t.a=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1,s=function(e,n){return t(e,i[n])};return function(){for(var t=arguments.length,o=new Array(t),l=0;l<t;l++)o[l]=arguments[l];return a&&n===this&&o.length===i.length&&o.every(s)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var o=n(40),r=n(46);var i,a=n(63);function s(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===i){var t=function(e){var t=null;try{t=window.sessionStorage.getItem(e)}catch(e){}return t}("isRTL");null!==t&&function(e,t){void 0===t&&(t=!1);var n=Object(r.a)();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){try{window.sessionStorage.setItem(e,t)}catch(e){}}("isRTL",e?"1":"0");i=e,Object(a.b)(i)}(i="1"===t);var n=Object(r.a)();void 0===i&&n&&(i="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")),Object(a.b)(i))}return!!i}function l(e,t){return void 0===t&&(t={}),s(t)&&(e===o.a.left?e=o.a.right:e===o.a.right&&(e=o.a.left)),e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var o=n(236),r=n(2),i=n(0),a=n(14),s=n(237),l=n(83);var c,u=n(242),d=n(40),p=n(162),m=n(111),h=n(93),f=n(68);!function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(c||(c={}));var g,b=n(209),v=n(21),y=Object(s.a)(),w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderContent=function(e){return i.createElement("p",{className:t._classNames.subText},e.content)},t}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.calloutProps,o=e.directionalHint,a=e.directionalHintForRTL,s=e.styles,l=e.id,c=e.maxWidth,u=e.onRenderContent,d=void 0===u?this._onRenderContent:u,p=e.targetElement,m=e.theme;return this._classNames=y(s,{theme:m,className:t||n&&n.className,beakWidth:n&&n.beakWidth,gapSpace:n&&n.gapSpace,maxWidth:c}),i.createElement(b.a,Object(r.a)({target:p,directionalHint:o,directionalHintForRTL:a},n,Object(f.d)(this.props,f.c,["id"]),{className:this._classNames.root}),i.createElement("div",{className:this._classNames.content,id:l,role:"tooltip",onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},d(this.props,this._onRenderContent)))},t.defaultProps={directionalHint:v.a.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},t}(i.Component),_=Object(o.a)(w,(function(e){var t=e.className,n=e.beakWidth,o=void 0===n?16:n,r=e.gapSpace,i=void 0===r?0:r,s=e.maxWidth,l=e.theme,c=l.semanticColors,u=l.fonts,d=l.effects,p=-(Math.sqrt(o*o/2)+i);return{root:["ms-Tooltip",l.fonts.medium,a.a.fadeIn200,{background:c.menuBackground,boxShadow:d.elevation8,padding:"8px",maxWidth:s,selectors:{":after":{content:"''",position:"absolute",bottom:p,left:p,right:p,top:p,zIndex:0}}},t],content:["ms-Tooltip-content",u.small,{position:"relative",zIndex:1,color:c.menuItemText,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}}),void 0,{scope:"Tooltip"});!function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(g||(g={}));var C=Object(s.a)(),E=function(e){function t(n){var o=e.call(this,n)||this;return o._tooltipHost=i.createRef(),o._defaultTooltipId=Object(l.a)("tooltip"),o.show=function(){o._toggleTooltip(!0)},o.dismiss=function(){o._hideTooltip()},o._getTargetElement=function(){if(o._tooltipHost.current){var e=o.props.overflowMode;if(void 0!==e)switch(e){case c.Parent:return o._tooltipHost.current.parentElement;case c.Self:return o._tooltipHost.current}return o._tooltipHost.current}},o._onTooltipMouseEnter=function(e){var n,r=o.props,i=r.overflowMode,a=r.delay;if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==o&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=o,void 0!==i){var s=o._getTargetElement();if(s&&(!function(e){return e.clientWidth<e.scrollWidth}(n=s)&&!function(e){return e.clientHeight<e.scrollHeight}(n)))return}if(!e.target||!Object(u.a)(e.target,o._getTargetElement()))if(o._clearDismissTimer(),o._clearOpenTimer(),a!==g.zero){o.setState({isAriaPlaceholderRendered:!0});var l=o._getDelayTime(a);o._openTimerId=o._async.setTimeout((function(){o._toggleTooltip(!0)}),l)}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===d.a.escape&&o._hideTooltip()},o._clearDismissTimer=function(){o._async.clearTimeout(o._dismissTimerId)},o._clearOpenTimer=function(){o._async.clearTimeout(o._openTimerId)},o._hideTooltip=function(){o._clearOpenTimer(),o._clearDismissTimer(),o._toggleTooltip(!1)},o._toggleTooltip=function(e){o.state.isTooltipVisible!==e&&o.setState({isAriaPlaceholderRendered:!1,isTooltipVisible:e},(function(){return o.props.onTooltipToggle&&o.props.onTooltipToggle(e)}))},o._getDelayTime=function(e){switch(e){case g.medium:return 300;case g.long:return 500;default:return 0}},Object(p.a)(o),o.state={isAriaPlaceholderRendered:!1,isTooltipVisible:!1},o._async=new m.a(o),o}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.children,o=e.content,s=e.directionalHint,l=e.directionalHintForRTL,c=e.hostClassName,u=e.id,d=e.setAriaDescribedBy,p=void 0===d||d,m=e.tooltipProps,g=e.styles,b=e.theme;this._classNames=C(g,{theme:b,className:c});var v=this.state,y=v.isAriaPlaceholderRendered,w=v.isTooltipVisible,E=u||this._defaultTooltipId,S=!!(o||m&&m.onRenderContent&&m.onRenderContent()),x=w&&S,k=p&&w&&S?E:void 0;return i.createElement("div",Object(r.a)({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipMouseEnter},{onBlurCapture:this._hideTooltip},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,"aria-describedby":k}),n,x&&i.createElement(_,Object(r.a)({id:E,content:o,targetElement:this._getTargetElement(),directionalHint:s,directionalHintForRTL:l,calloutProps:Object(h.a)({},t,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave},Object(f.d)(this.props,f.c),m)),y&&i.createElement("div",{id:E,style:a.C},o))},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:g.medium},t}(i.Component),S={root:"ms-TooltipHost",ariaPlaceholder:"ms-TooltipHost-aria-placeholder"},x=Object(o.a)(E,(function(e){var t=e.className,n=e.theme;return{root:[Object(a.x)(S,n).root,{display:"inline"},t]}}),void 0,{scope:"TooltipHost"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(83),l=n(57),c=n(257),u=n(43),d=n(162),p=n(112),m=n(206),h=n(167),f=n(86),g=Object(a.a)(),b=i.createElement(f.a,null).type,v=function(e){function t(t){var n=e.call(this,t)||this;return Object(d.a)(n),Object(p.a)("DialogContent",t,{titleId:"titleProps.id"}),n}return Object(r.c)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.showCloseButton,o=t.className,a=t.closeButtonAriaLabel,s=t.onDismiss,c=t.subTextId,u=t.subText,d=t.titleProps,p=void 0===d?{}:d,f=t.titleId,b=t.title,v=t.type,y=t.styles,w=t.theme,_=t.draggableHeaderClassName,C=g(y,{theme:w,className:o,isLargeHeader:v===l.a.largeHeader,isClose:v===l.a.close,draggableHeaderClassName:_}),E=this._groupChildren();return u&&(e=i.createElement("p",{className:C.subText,id:c},u)),i.createElement("div",{className:C.content},i.createElement("div",{className:C.header},i.createElement("div",Object(r.a)({id:f,role:"heading","aria-level":1},p,{className:Object(m.a)(C.title,p.className)}),b),i.createElement("div",{className:C.topButton},this.props.topButtonsProps.map((function(e,t){return i.createElement(h.a,Object(r.a)({key:e.uniqueId||t},e))})),(v===l.a.close||n&&v!==l.a.largeHeader)&&i.createElement(h.a,{className:C.button,iconProps:{iconName:"Cancel"},ariaLabel:a,onClick:s,title:a}))),i.createElement("div",{className:C.inner},i.createElement("div",{className:C.innerContent},e,E.contents),E.footers))},t.prototype._groupChildren=function(){var e={footers:[],contents:[]};return i.Children.map(this.props.children,(function(t){"object"==typeof t&&null!==t&&t.type===b?e.footers.push(t):e.contents.push(t)})),e},t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},t=Object(r.b)([u.b],t)}(i.Component),y=n(14),w={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"},_=Object(o.a)(v,(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,p=i.fonts,m=i.effects,h=i.semanticColors,f=Object(y.x)(w,i);return{content:[a&&[f.contentLgHeader,{borderTop:"4px solid "+d.themePrimary}],s&&f.close,{flexGrow:1,overflowY:"hidden"},r],subText:[f.subText,p.medium,{margin:"0 0 24px 0",color:h.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:y.d.regular}],header:[f.header,{position:"relative",width:"100%",boxSizing:"border-box"},s&&f.close,u&&[u,{cursor:"move"}]],button:[f.button,l&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:h.buttonText,fontSize:y.h.medium}}}],inner:[f.inner,{padding:"0 24px 24px",selectors:(t={},t["@media (min-width: "+y.m+"px) and (max-width: "+y.j+"px)"]={padding:"0 16px 16px"},t)}],innerContent:[f.content,{position:"relative",width:"100%"}],title:[f.title,p.xLarge,{color:h.bodyText,margin:"0",padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(n={},n["@media (min-width: "+y.m+"px) and (max-width: "+y.j+"px)"]={padding:"16px 46px 16px 16px"},n)},a&&{color:h.menuHeader},c&&{fontSize:p.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(o={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:h.buttonText},".ms-Dialog-button:hover":{color:h.buttonTextHovered,borderRadius:m.roundedCorner2}},o["@media (min-width: "+y.m+"px) and (max-width: "+y.j+"px)"]={padding:"15px 8px 0 0"},o)}]}}),void 0,{scope:"DialogContent"}),C=Object(a.a)(),E={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1},S={type:l.a.normal,className:"",topButtonsProps:[]},x=function(e){function t(t){var n=e.call(this,t)||this;return n._getSubTextId=function(){var e=n.props,t=e.ariaDescribedById,o=e.modalProps,r=e.dialogContentProps,i=e.subText,a=o&&o.subtitleAriaId||t;return a||(a=(r&&r.subText||i)&&n._defaultSubTextId),a},n._getTitleTextId=function(){var e=n.props,t=e.ariaLabelledById,o=e.modalProps,r=e.dialogContentProps,i=e.title,a=o&&o.titleAriaId||t;return a||(a=(r&&r.title||i)&&n._defaultTitleTextId),a},n._id=Object(s.a)("Dialog"),n._defaultTitleTextId=n._id+"-title",n._defaultSubTextId=n._id+"-subText",n}return Object(r.c)(t,e),t.prototype.render=function(){var e,t,n,o,a=this.props,s=a.className,l=a.containerClassName,u=a.contentClassName,d=a.elementToFocusOnDismiss,p=a.firstFocusableSelector,m=a.forceFocusInsideTrap,h=a.styles,f=a.hidden,g=a.ignoreExternalFocusing,b=a.isBlocking,v=a.isClickableOutsideFocusTrap,y=a.isDarkOverlay,w=a.isOpen,x=a.onDismiss,k=a.onDismissed,O=a.onLayerDidMount,I=a.responsiveMode,T=a.subText,P=a.theme,D=a.title,M=a.topButtonsProps,A=a.type,R=a.minWidth,N=a.maxWidth,L=a.modalProps,j=Object(r.a)({},L?L.layerProps:{onLayerDidMount:O});O&&!j.onLayerDidMount&&(j.onLayerDidMount=O),L&&L.dragOptions&&!L.dragOptions.dragHandleSelector?(n="ms-Dialog-draggable-header",o=Object(r.a)(Object(r.a)({},L.dragOptions),{dragHandleSelector:"."+n})):o=L&&L.dragOptions;var F=Object(r.a)(Object(r.a)(Object(r.a)({className:s,containerClassName:l,isBlocking:b,isDarkOverlay:y,onDismissed:k},E),L),{layerProps:j,dragOptions:o}),B=Object(r.a)(Object(r.a)(Object(r.a)({className:u,subText:T,title:D,topButtonsProps:M,type:A},S),this.props.dialogContentProps),{draggableHeaderClassName:n,titleProps:Object(r.a)({id:(null===(e=this.props.dialogContentProps)||void 0===e?void 0:e.titleId)||this._defaultTitleTextId},null===(t=this.props.dialogContentProps)||void 0===t?void 0:t.titleProps)}),W=C(h,{theme:P,className:F.className,containerClassName:F.containerClassName,hidden:f,dialogDefaultMinWidth:R,dialogDefaultMaxWidth:N});return i.createElement(c.a,Object(r.a)({elementToFocusOnDismiss:d,firstFocusableSelector:p,forceFocusInsideTrap:m,ignoreExternalFocusing:g,isClickableOutsideFocusTrap:v,onDismissed:F.onDismissed,responsiveMode:I},F,{isDarkOverlay:F.isDarkOverlay,isBlocking:F.isBlocking,isOpen:void 0!==w?w:!f,className:W.root,containerClassName:W.main,onDismiss:x||F.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),i.createElement(_,Object(r.a)({subTextId:this._defaultSubTextId,title:B.title,subText:B.subText,showCloseButton:F.isBlocking,topButtonsProps:B.topButtonsProps,type:B.type,onDismiss:x||B.onDismiss,className:B.className},B),this.props.children))},t.defaultProps={hidden:!0},t=Object(r.b)([u.b],t)}(i.Component),k={root:"ms-Dialog"},O=Object(o.a)(x,(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(y.x)(k,c).root,c.fonts.medium,n],main:[{width:i,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: "+y.l+"px)"]={width:"auto",maxWidth:s,minWidth:i},t)},!l&&{display:"flex"},o]}}),void 0,{scope:"Dialog"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return G}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(98),l=n(46),c=n(40),u=n(88),d=n(162),p=n(83),m=n(68),h=n(244),f=n(243),g=n(238),b=n(239),v=n(209),y=n(25),w=n(248),_=n(21),C=n(163),E=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],n=0,o=0;o<e.length;o++)e[o].itemType===C.a.Divider||e[o].itemType===C.a.Header?t.push(o):e[o].hidden||n++;this._size=n,this._displayOnlyOptionsCache=t},Object.defineProperty(e.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._displayOnlyOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index "+e+" is not a selectable element.");return e-t+1}},e}(),S=n(265),x=n(49),k=n(79),O=n(261),I=n(268),T=n(263),P=n(43);function D(e,t){for(var n=[],o=0,r=t;o<r.length;o++){var i=e[r[o]];i&&n.push(i)}return n}var M,A,R,N=Object(a.a)(),L=function(e){function t(t){var n,o,a=e.call(this,t)||this;a._host=i.createRef(),a._focusZone=i.createRef(),a._dropDown=i.createRef(),a._scrollIdleDelay=250,a._sizePosCache=new E,a._requestAnimationFrame=(n=a,function(e){o||(o=new Set,Object(s.a)(n,{componentWillUnmount:function(){o.forEach((function(e){return cancelAnimationFrame(e)}))}}));var t=requestAnimationFrame((function(){o.delete(t),e()}));o.add(t)}),a._onChange=function(e,t,n,o,i){var s=a.props,l=s.onChange,c=s.onChanged;if(l||c){var u=i?Object(r.a)(Object(r.a)({},t[n]),{selected:!o}):t[n];l&&l(Object(r.a)(Object(r.a)({},e),{target:a._dropDown.current}),u,n),c&&c(u,n)}},a._onRenderTitle=function(e){var t=a.props.multiSelectDelimiter,n=void 0===t?", ":t,o=e.map((function(e){return e.text})).join(n);return i.createElement(i.Fragment,null,o)},a._onRenderPlaceholder=function(e){return a._placeholder?i.createElement(i.Fragment,null,a._placeholder):null},a._onRenderContainer=function(e){var t=e.calloutProps,n=e.panelProps,o=a.props,s=o.responsiveMode,l=o.dropdownWidth,c=s<=P.a.medium,u=a._classNames.subComponentStyles?a._classNames.subComponentStyles.panel:void 0;return c?i.createElement(T.a,Object(r.a)({isOpen:!0,isLightDismiss:!0,onDismiss:a._onDismiss,hasCloseButton:!1,styles:u},n),a._renderFocusableList(e)):i.createElement(v.a,Object(r.a)({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:_.a.bottomLeftEdge},t,{className:a._classNames.callout,target:a._dropDown.current,onDismiss:a._onDismiss,onScroll:a._onScroll,onPositioned:a._onPositioned,calloutWidth:l||(a._dropDown.current?a._dropDown.current.clientWidth:0)}),a._renderFocusableList(e))},a._onRenderCaretDown=function(e){return i.createElement(k.a,{className:a._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},a._onRenderList=function(e){var t=e.onRenderItem,n=void 0===t?a._onRenderItem:t,o={items:[]},s=[],l=function(){var e=o.id?[i.createElement("div",{role:"group",key:o.id,"aria-labelledby":o.id},o.items)]:o.items;s=Object(r.e)(s,e),o={items:[]}};return e.options.forEach((function(e,t){!function(e,t){switch(e.itemType){case C.a.Header:o.items.length>0&&l();var i=a._id+e.key;o.items.push(n(Object(r.a)(Object(r.a)({id:i},e),{index:t}),a._onRenderItem)),o.id=i;break;case C.a.Divider:t>0&&o.items.push(n(Object(r.a)(Object(r.a)({},e),{index:t}),a._onRenderItem)),o.items.length>0&&l();break;default:o.items.push(n(Object(r.a)(Object(r.a)({},e),{index:t}),a._onRenderItem))}}(e,t)})),o.items.length>0&&l(),i.createElement(i.Fragment,null,s)},a._onRenderItem=function(e){switch(e.itemType){case C.a.Divider:return a._renderSeparator(e);case C.a.Header:return a._renderHeader(e);default:return a._renderOption(e)}},a._renderOption=function(e){var t=a.props.onRenderOption,n=void 0===t?a._onRenderOption:t,o=a.state.selectedIndices,r=void 0===o?[]:o,s=!(void 0===e.index||!r)&&r.indexOf(e.index)>-1,l=e.hidden?a._classNames.dropdownItemHidden:s&&!0===e.disabled?a._classNames.dropdownItemSelectedAndDisabled:s?a._classNames.dropdownItemSelected:!0===e.disabled?a._classNames.dropdownItemDisabled:a._classNames.dropdownItem,c=e.title,u=void 0===c?e.text:c,d=a._classNames.subComponentStyles?a._classNames.subComponentStyles.multiSelectItem:void 0;return a.props.multiSelect?i.createElement(y.a,{id:a._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,onChange:a._onItemClick(e),inputProps:{onMouseEnter:a._onItemMouseEnter.bind(a,e),onMouseLeave:a._onMouseItemLeave.bind(a,e),onMouseMove:a._onItemMouseMove.bind(a,e)},label:e.text,title:u,onRenderLabel:a._onRenderItemLabel.bind(a,e),className:l,role:"option","aria-selected":s?"true":"false",checked:s,styles:d,ariaPositionInSet:a._sizePosCache.positionInSet(e.index),ariaSetSize:a._sizePosCache.optionSetSize}):i.createElement(w.a,{id:a._listId+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:l,onClick:a._onItemClick(e),onMouseEnter:a._onItemMouseEnter.bind(a,e),onMouseLeave:a._onMouseItemLeave.bind(a,e),onMouseMove:a._onItemMouseMove.bind(a,e),role:"option","aria-selected":s?"true":"false",ariaLabel:e.ariaLabel,title:u,"aria-posinset":a._sizePosCache.positionInSet(e.index),"aria-setsize":a._sizePosCache.optionSetSize},n(e,a._onRenderOption))},a._onRenderOption=function(e){return i.createElement("span",{className:a._classNames.dropdownOptionText},e.text)},a._onRenderItemLabel=function(e){var t=a.props.onRenderOption;return(void 0===t?a._onRenderOption:t)(e,a._onRenderOption)},a._onPositioned=function(e){a._focusZone.current&&a._requestAnimationFrame((function(){var e=a.state.selectedIndices;if(a._focusZone.current)if(e&&e[0]&&!a.props.options[e[0]].disabled){var t=Object(l.a)().getElementById(a._id+"-list"+e[0]);t&&a._focusZone.current.focusElement(t)}else a._focusZone.current.focus()})),a.state.calloutRenderEdge&&a.state.calloutRenderEdge===e.targetEdge||a.setState({calloutRenderEdge:e.targetEdge})},a._onItemClick=function(e){return function(t){e.disabled||(a.setSelectedIndex(t,e.index),a.props.multiSelect||a.setState({isOpen:!1}))}},a._onScroll=function(){a._isScrollIdle||void 0===a._scrollIdleTimeoutId?a._isScrollIdle=!1:(clearTimeout(a._scrollIdleTimeoutId),a._scrollIdleTimeoutId=void 0),a._scrollIdleTimeoutId=setTimeout((function(){a._isScrollIdle=!0}),a._scrollIdleDelay)},a._onMouseItemLeave=function(e,t){if(!a._shouldIgnoreMouseEvent()&&a._host.current)if(a._host.current.setActive)try{a._host.current.setActive()}catch(e){}else a._host.current.focus()},a._onDismiss=function(){a.setState({isOpen:!1})},a._onDropdownBlur=function(e){a._isDisabled()||(a.setState({hasFocus:!1}),a.state.isOpen||a.props.onBlur&&a.props.onBlur(e))},a._onDropdownKeyDown=function(e){if(!a._isDisabled()&&(a._lastKeyDownWasAltOrMeta=a._isAltOrMeta(e),!a.props.onKeyDown||(a.props.onKeyDown(e),!e.defaultPrevented))){var t,n=a.state.selectedIndices.length?a.state.selectedIndices[0]:-1,o=e.altKey||e.metaKey,r=a.state.isOpen;switch(e.which){case c.a.enter:a.setState({isOpen:!r});break;case c.a.escape:if(!r)return;a.setState({isOpen:!1});break;case c.a.up:if(o){if(r){a.setState({isOpen:!1});break}return}a.props.multiSelect?a.setState({isOpen:!0}):a._isDisabled()||(t=a._moveIndex(e,-1,n-1,n));break;case c.a.down:o&&(e.stopPropagation(),e.preventDefault()),o&&!r||a.props.multiSelect?a.setState({isOpen:!0}):a._isDisabled()||(t=a._moveIndex(e,1,n+1,n));break;case c.a.home:a.props.multiSelect||(t=a._moveIndex(e,1,0,n));break;case c.a.end:a.props.multiSelect||(t=a._moveIndex(e,-1,a.props.options.length-1,n));break;case c.a.space:break;default:return}t!==n&&(e.stopPropagation(),e.preventDefault())}},a._onDropdownKeyUp=function(e){if(!a._isDisabled()){var t=a._shouldHandleKeyUp(e),n=a.state.isOpen;if(!a.props.onKeyUp||(a.props.onKeyUp(e),!e.defaultPrevented)){switch(e.which){case c.a.space:a.setState({isOpen:!n});break;default:return void(t&&n&&a.setState({isOpen:!1}))}e.stopPropagation(),e.preventDefault()}}},a._onZoneKeyDown=function(e){var t;a._lastKeyDownWasAltOrMeta=a._isAltOrMeta(e);var n=e.altKey||e.metaKey;switch(e.which){case c.a.up:n?a.setState({isOpen:!1}):a._host.current&&(t=Object(u.h)(a._host.current,a._host.current.lastChild,!0));break;case c.a.home:case c.a.end:case c.a.pageUp:case c.a.pageDown:break;case c.a.down:!n&&a._host.current&&(t=Object(u.e)(a._host.current,a._host.current.firstChild,!0));break;case c.a.escape:a.setState({isOpen:!1});break;case c.a.tab:return void a.setState({isOpen:!1});default:return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},a._onZoneKeyUp=function(e){a._shouldHandleKeyUp(e)&&a.state.isOpen&&(a.setState({isOpen:!1}),e.preventDefault())},a._onDropdownClick=function(e){if(!a.props.onClick||(a.props.onClick(e),!e.defaultPrevented)){var t=a.state.isOpen;a._isDisabled()||a._shouldOpenOnFocus()||a.setState({isOpen:!t}),a._isFocusedByClick=!1}},a._onDropdownMouseDown=function(){a._isFocusedByClick=!0},a._onFocus=function(e){var t=a.state,n=t.isOpen,o=t.selectedIndices,r=a.props.multiSelect;if(!a._isDisabled()){a._isFocusedByClick||n||0!==o.length||r||a._moveIndex(e,1,0,-1),a.props.onFocus&&a.props.onFocus(e);var i={hasFocus:!0};a._shouldOpenOnFocus()&&(i.isOpen=!0),a.setState(i)}},a._isDisabled=function(){var e=a.props.disabled,t=a.props.isDisabled;return void 0===e&&(e=t),e},a._onRenderLabel=function(e){var t=e.label,n=e.required,o=e.disabled,r=a._classNames.subComponentStyles?a._classNames.subComponentStyles.label:void 0;return t?i.createElement(O.a,{className:a._classNames.label,id:a._labelId,required:n,styles:r,disabled:o},t):null},Object(d.a)(a);var m,h=t.multiSelect,f=t.selectedKey,g=t.selectedKeys,b=t.defaultSelectedKey,S=t.defaultSelectedKeys,x=t.options;return a._id=t.id||Object(p.a)("Dropdown"),a._labelId=a._id+"-label",a._listId=a._id+"-list",a._optionId=a._id+"-option",a._isScrollIdle=!0,m=h?a._getSelectedIndexes(x,void 0!==S?S:g):a._getSelectedIndexes(x,void 0!==b?b:f),a._sizePosCache.updateOptions(x),a.state={isOpen:!1,selectedIndices:m,hasFocus:!1,calloutRenderEdge:void 0},a}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){return D(this.props.options,this.state.selectedIndices)},enumerable:!0,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t,n=e.options!==this.props.options;void 0===e[t=e.multiSelect?n&&void 0!==e.defaultSelectedKeys?"defaultSelectedKeys":"selectedKeys":n&&void 0!==e.defaultSelectedKey?"defaultSelectedKey":"selectedKey"]||e[t]===this.props[t]&&!n||this.setState({selectedIndices:this._getSelectedIndexes(e.options,e[t])}),e.options!==this.props.options&&this._sizePosCache.updateOptions(e.options)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this,t=this._id,n=this.props,o=n.className,a=n.label,s=n.options,l=n.ariaLabel,c=n.required,u=n.errorMessage,d=n.keytipProps,p=n.styles,f=n.theme,g=n.panelProps,b=n.calloutProps,v=n.multiSelect,y=n.onRenderTitle,w=void 0===y?this._onRenderTitle:y,_=n.onRenderContainer,C=void 0===_?this._onRenderContainer:_,E=n.onRenderCaretDown,S=void 0===E?this._onRenderCaretDown:E,x=n.onRenderLabel,k=void 0===x?this._onRenderLabel:x,O=this.state,T=O.isOpen,P=O.selectedIndices,M=O.calloutRenderEdge,A=n.onRenderPlaceholder||n.onRenderPlaceHolder||this._onRenderPlaceholder,R=D(s,P),L=Object(m.d)(n,m.c),j=this._isDisabled(),F=t+"-errorMessage",B=j?void 0:T&&1===P.length&&P[0]>=0?this._listId+P[0]:void 0,W=v?{role:"button"}:{role:"listbox",childRole:"option",ariaSetSize:this._sizePosCache.optionSetSize,ariaPosInSet:this._sizePosCache.positionInSet(P[0]),ariaSelected:void 0!==P[0]||void 0};this._classNames=N(p,{theme:f,className:o,hasError:!!(u&&u.length>0),hasLabel:!!a,isOpen:T,required:c,disabled:j,isRenderingPlaceholder:!R.length,panelClassName:g?g.className:void 0,calloutClassName:b?b.className:void 0,calloutRenderEdge:M});var z=!!u&&u.length>0;return i.createElement("div",{className:this._classNames.root},k(this.props,this._onRenderLabel),i.createElement(I.a,{keytipProps:d,disabled:j},(function(o){return i.createElement("div",Object(r.a)({},o,{"data-is-focusable":!j,ref:e._dropDown,id:t,tabIndex:j?-1:0,role:W.role,"aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-label":l,"aria-labelledby":a&&!l?Object(h.a)(e._labelId,e._optionId):void 0,"aria-describedby":Object(h.a)(o["aria-describedby"],z?e._id+"-errorMessage":void 0),"aria-activedescendant":B,"aria-required":c,"aria-disabled":j,"aria-owns":T?e._listId:void 0},L,{className:e._classNames.dropdown,onBlur:e._onDropdownBlur,onKeyDown:e._onDropdownKeyDown,onKeyUp:e._onDropdownKeyUp,onClick:e._onDropdownClick,onMouseDown:e._onDropdownMouseDown,onFocus:e._onFocus}),i.createElement("span",{id:e._optionId,className:e._classNames.title,"aria-live":"polite","aria-atomic":!0,"aria-invalid":z,role:W.childRole,"aria-setsize":W.ariaSetSize,"aria-posinset":W.ariaPosInSet,"aria-selected":W.ariaSelected},R.length?w(R,e._onRenderTitle):A(n,e._onRenderPlaceholder)),i.createElement("span",{className:e._classNames.caretDownWrapper},S(n,e._onRenderCaretDown)))})),T&&C(Object(r.a)(Object(r.a)({},n),{onDismiss:this._onDismiss}),this._onRenderContainer),z&&i.createElement("div",{role:"alert",id:F,className:this._classNames.errorMessage},u))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this,o=this.props,r=o.options,i=o.selectedKey,a=o.selectedKeys,s=o.multiSelect,l=o.notifyOnReselect,c=this.state.selectedIndices,u=void 0===c?[]:c,d=!!u&&u.indexOf(t)>-1,p=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===i&&void 0===a){if(s||l||t!==u[0]){if(s)if(p=u?this._copyArray(u):[],d){var m=p.indexOf(t);m>-1&&p.splice(m,1)}else p.push(t);else p=[t];e.persist(),this.setState({selectedIndices:p},(function(){n._onChange(e,r,t,d,s)}))}}else this._onChange(e,r,t,d,s)},Object.defineProperty(t.prototype,"_placeholder",{get:function(){return this.props.placeholder||this.props.placeHolder},enumerable:!0,configurable:!0}),t.prototype._copyArray=function(e){for(var t=[],n=0,o=e;n<o.length;n++){var r=o[n];t.push(r)}return t},t.prototype._moveIndex=function(e,t,n,o){var r=this.props.options;if(o===n||0===r.length)return o;n>=r.length?n=0:n<0&&(n=r.length-1);for(var i=0;r[n].itemType===C.a.Header||r[n].itemType===C.a.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,a=e.multiSelect;return i.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},i.createElement(S.a,{ref:this._focusZone,direction:x.a.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":r,"aria-labelledby":o&&!r?this._labelId:void 0,"aria-multiselectable":a},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t>0?i.createElement("div",{role:"separator",key:n,className:this._classNames.dropdownDivider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,o=e.key,r=e.id;return i.createElement("div",{id:r,key:o,className:this._classNames.dropdownItemHeader},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==n&&n.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._getSelectedIndexes=function(e,t){if(void 0===t)return this.props.multiSelect?this._getAllSelectedIndices(e):-1!==(i=this._getSelectedIndex(e,null))?[i]:[];if(!Array.isArray(t))return-1!==(i=this._getSelectedIndex(e,t))?[i]:[];for(var n=[],o=0,r=t;o<r.length;o++){var i,a=r[o];-1!==(i=this._getSelectedIndex(e,a))&&n.push(i)}return n},t.prototype._getAllSelectedIndices=function(e){return e.map((function(e,t){return e.selected?t:-1})).filter((function(e){return-1!==e}))},t.prototype._getSelectedIndex=function(e,t){return Object(f.c)(e,(function(e){return null!=t?e.key===t:!!e.selected||!!e.isSelected}))},t.prototype._isAltOrMeta=function(e){return e.which===c.a.alt||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(g.a)()||Object(b.a)())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},t=Object(r.b)([P.b],t)}(i.Component),j=n(101),F=n(17),B=n(14),W={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"},z=((M={})[B.e+", "+B.g.replace("@media ","")]={MsHighContrastAdjust:"none"},M),H={selectors:Object(r.a)((A={},A[B.e]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},A),z)},U={selectors:(R={},R[B.e]={borderColor:"Highlight"},R)},V=Object(B.B)(0,B.l),G=Object(o.a)(L,(function(e){var t,n,o,i,a,s,l,c,u,d,p=e.theme,m=e.hasError,h=e.hasLabel,f=e.className,g=e.isOpen,b=e.disabled,v=e.required,y=e.isRenderingPlaceholder,w=e.panelClassName,_=e.calloutClassName,C=e.calloutRenderEdge;if(!p)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var E=Object(B.x)(W,p),S=p.palette,x=p.semanticColors,k=p.effects,O=p.fonts,I={color:x.menuItemTextHovered},T={color:x.menuItemText},P={borderColor:x.errorText},D=[E.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"}],M=x.menuItemBackgroundPressed,A=function(e){var t;return void 0===e&&(e=!1),{selectors:(t={"&:hover:focus":[{color:x.menuItemTextHovered,backgroundColor:e?M:x.menuItemBackgroundHovered},H],"&:focus":[{backgroundColor:e?M:"transparent"},H],"&:active":[{color:x.menuItemTextHovered,backgroundColor:e?x.menuItemBackgroundHovered:x.menuBackground},H]},t[B.e]={borderColor:"Window"},t["."+j.a+" &:focus:after"]={left:0,top:0,bottom:0,right:0},t)}},R=Object(r.e)(D,[{backgroundColor:M,color:x.menuItemTextHovered},A(!0),H]),N=Object(r.e)(D,[{color:x.disabledText,cursor:"default",selectors:(t={},t[B.e]={color:"GrayText"},t)}]),L=C===F.a.bottom?k.roundedCorner2+" "+k.roundedCorner2+" 0 0":"0 0 "+k.roundedCorner2+" "+k.roundedCorner2,z=C===F.a.bottom?"0 0 "+k.roundedCorner2+" "+k.roundedCorner2:k.roundedCorner2+" "+k.roundedCorner2+" 0 0";return{root:[E.root,f],label:E.label,dropdown:[E.dropdown,B.H,O.medium,{color:x.menuItemText,borderColor:x.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(n={},n["&:hover ."+E.title]=[!b&&I,{borderColor:g?S.neutralSecondary:S.neutralPrimary},U],n["&:focus ."+E.title]=[!b&&I,{selectors:(o={},o[B.e]={color:"Highlight"},o)}],n["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:b?"none":"2px solid "+S.themePrimary,borderRadius:"2px",selectors:(i={},i[B.e]={borderColor:"Highlight",color:"Highlight"},i)}],n["&:active ."+E.title]=[!b&&I,{borderColor:S.themePrimary},U],n["&:hover ."+E.caretDown]=!b&&T,n["&:focus ."+E.caretDown]=[!b&&T,{selectors:(a={},a[B.e]={color:"Highlight"},a)}],n["&:active ."+E.caretDown]=!b&&T,n["&:hover ."+E.titleIsPlaceHolder]=!b&&T,n["&:focus ."+E.titleIsPlaceHolder]=!b&&T,n["&:active ."+E.titleIsPlaceHolder]=!b&&T,n["&:hover ."+E.titleHasError]=P,n["&:active ."+E.titleHasError]=P,n)},g&&"is-open",b&&"is-disabled",v&&"is-required",v&&!h&&{selectors:(s={":before":{content:"'*'",color:x.errorText,position:"absolute",top:-5,right:-10}},s[B.e]={selectors:{":after":{right:-14}}},s)}],title:[E.title,B.H,{backgroundColor:x.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:x.inputBorder,borderRadius:g?L:k.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},y&&[E.titleIsPlaceHolder,{color:x.inputPlaceholderText}],m&&[E.titleHasError,P],b&&{backgroundColor:x.disabledBackground,border:"none",color:x.disabledText,cursor:"default",selectors:(l={},l[B.e]={border:"1px solid GrayText",color:"GrayText"},l)}],caretDownWrapper:[E.caretDownWrapper,{position:"absolute",top:1,right:8,height:32,lineHeight:30},!b&&{cursor:"pointer"}],caretDown:[E.caretDown,{color:S.neutralSecondary,fontSize:O.small.fontSize,pointerEvents:"none"},b&&{color:x.disabledText,selectors:(c={},c[B.e]={color:"GrayText"},c)}],errorMessage:Object(r.a)(Object(r.a)({color:x.errorText},p.fonts.small),{paddingTop:5}),callout:[E.callout,{boxShadow:k.elevation8,borderRadius:z,selectors:(u={},u[".ms-Callout-main"]={borderRadius:z},u)},_],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[E.dropdownItems,{display:"block"}],dropdownItem:Object(r.e)(D,[A()]),dropdownItemSelected:R,dropdownItemDisabled:N,dropdownItemSelectedAndDisabled:[R,N,{backgroundColor:"transparent"}],dropdownItemHidden:Object(r.e)(D,[{display:"none"}]),dropdownDivider:[E.dropdownDivider,{height:1,backgroundColor:x.bodyDivider}],dropdownOptionText:[E.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:[E.dropdownItemHeader,Object(r.a)(Object(r.a)({},O.medium),{fontWeight:B.d.semibold,color:x.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left"})],subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"}},panel:{root:[w],main:{selectors:(d={},d[V]={width:272},d)},contentInner:{padding:"0 0 20px"}}}}}),void 0,{scope:"Dropdown"})},,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))r.call(n,u)&&(l[u]=n[u]);if(o){s=o(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];return e.apply(t,n)}}},function(e,t,n){"use strict";var o=n(48);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,(function(e,t){null!=e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var o=n(48),r=n(186),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t&&"[object process]"===Object.prototype.toString.call(t))&&(s=n(134)),s),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){l.headers[e]=o.merge(i)})),e.exports=l}).call(this,n(109))},function(e,t,n){"use strict";var o=n(48),r=n(187),i=n(189),a=n(131),s=n(190),l=n(193),c=n(194),u=n(135);e.exports=function(e){return new Promise((function(t,n){var d=e.data,p=e.headers;o.isFormData(d)&&delete p["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",f=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+f)}var g=s(e.baseURL,e.url);if(m.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var o="getAllResponseHeaders"in m?l(m.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:o,config:e,request:m};r(t,n,i),m=null}},m.onabort=function(){m&&(n(u("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){n(u("Network Error",e,null,m)),m=null},m.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",m)),m=null},o.isStandardBrowserEnv()){var b=(e.withCredentials||c(g))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in m&&o.forEach(p,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:m.setRequestHeader(t,e)})),o.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),e.responseType)try{m.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){m&&(m.abort(),n(e),m=null)})),d||(d=null),m.send(d)}))}},function(e,t,n){"use strict";var o=n(188);e.exports=function(e,t,n,r,i){var a=new Error(e);return o(a,t,n,r,i)}},function(e,t,n){"use strict";var o=n(48);e.exports=function(e,t){t=t||{};var n={},r=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return o.isPlainObject(e)&&o.isPlainObject(t)?o.merge(e,t):o.isPlainObject(t)?o.merge({},t):o.isArray(t)?t.slice():t}function c(r){o.isUndefined(t[r])?o.isUndefined(e[r])||(n[r]=l(void 0,e[r])):n[r]=l(e[r],t[r])}o.forEach(r,(function(e){o.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),o.forEach(i,c),o.forEach(a,(function(r){o.isUndefined(t[r])?o.isUndefined(e[r])||(n[r]=l(void 0,e[r])):n[r]=l(void 0,t[r])})),o.forEach(s,(function(o){o in t?n[o]=l(e[o],t[o]):o in e&&(n[o]=l(void 0,e[o]))}));var u=r.concat(i).concat(a).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return o.forEach(d,c),n}},function(e,t,n){"use strict";function o(e){this.message=e}o.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},o.prototype.__CANCEL__=!0,e.exports=o},function(e,t,n){"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},o=[],r=0;r<e.length;r++){var i=e[r],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=s(u),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(p)):a.push({identifier:u,updater:g(p,t),references:1}),o.push(u)}return o}function c(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function p(e,t,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=d(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function m(e,t,n){var o=n.css,r=n.media,i=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var h=null,f=0;function g(e,t){var n,o,r;if(t.singleton){var i=f++;n=h||(h=c(t)),o=p.bind(null,n,i,!1),r=p.bind(null,n,i,!0)}else n=c(t),o=m.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var r=s(n[o]);a[r].references--}for(var i=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=(a=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[n].concat(i).concat([r]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){(function(t,n){
/*!
 * @overview es6-promise - a tiny implementation of Promises/A+.
 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
 * @license   Licensed under MIT license
 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
 * @version   v4.2.5+7f2b526d
 */var o;o=function(){"use strict";function e(e){return"function"==typeof e}var o=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,i=void 0,a=void 0,s=function(e,t){h[r]=e,h[r+1]=t,2===(r+=2)&&(a?a(f):w())},l="undefined"!=typeof window?window:void 0,c=l||{},u=c.MutationObserver||c.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var e=setTimeout;return function(){return e(f,1)}}var h=new Array(1e3);function f(){for(var e=0;e<r;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;r=0}var g,b,v,y,w=void 0;function _(e,t){var n=this,o=new this.constructor(S);void 0===o[E]&&L(o);var r=n._state;if(r){var i=arguments[r-1];s((function(){return R(r,o,i,n._result)}))}else M(n,o,e,t);return o}function C(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(S);return I(t,e),t}d?w=function(){return t.nextTick(f)}:u?(b=0,v=new u(f),y=document.createTextNode(""),v.observe(y,{characterData:!0}),w=function(){y.data=b=++b%2}):p?((g=new MessageChannel).port1.onmessage=f,w=function(){return g.port2.postMessage(0)}):w=void 0===l?function(){try{var e=Function("return this")().require("vertx");return void 0!==(i=e.runOnLoop||e.runOnContext)?function(){i(f)}:m()}catch(e){return m()}}():m();var E=Math.random().toString(36).substring(2);function S(){}var x={error:null};function k(e){try{return e.then}catch(e){return x.error=e,x}}function O(t,n,o){n.constructor===t.constructor&&o===_&&n.constructor.resolve===C?function(e,t){1===t._state?P(e,t._result):2===t._state?D(e,t._result):M(t,void 0,(function(t){return I(e,t)}),(function(t){return D(e,t)}))}(t,n):o===x?(D(t,x.error),x.error=null):void 0===o?P(t,n):e(o)?function(e,t,n){s((function(e){var o=!1,r=function(e,t,n,o){try{e.call(t,n,o)}catch(e){return e}}(n,t,(function(n){o||(o=!0,t!==n?I(e,n):P(e,n))}),(function(t){o||(o=!0,D(e,t))}),e._label);!o&&r&&(o=!0,D(e,r))}),e)}(t,n,o):P(t,n)}function I(e,t){var n,o;e===t?D(e,new TypeError("You cannot resolve a promise with itself")):(o=typeof(n=t),null===n||"object"!==o&&"function"!==o?P(e,t):O(e,t,k(t)))}function T(e){e._onerror&&e._onerror(e._result),A(e)}function P(e,t){void 0===e._state&&(e._result=t,e._state=1,0!==e._subscribers.length&&s(A,e))}function D(e,t){void 0===e._state&&(e._state=2,e._result=t,s(T,e))}function M(e,t,n,o){var r=e._subscribers,i=r.length;e._onerror=null,r[i]=t,r[i+1]=n,r[i+2]=o,0===i&&e._state&&s(A,e)}function A(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var o=void 0,r=void 0,i=e._result,a=0;a<t.length;a+=3)o=t[a],r=t[a+n],o?R(n,o,r,i):r(i);e._subscribers.length=0}}function R(t,n,o,r){var i=e(o),a=void 0,s=void 0,l=void 0,c=void 0;if(i){if((a=function(e,t){try{return e(t)}catch(e){return x.error=e,x}}(o,r))===x?(c=!0,s=a.error,a.error=null):l=!0,n===a)return void D(n,new TypeError("A promises callback cannot return that same promise."))}else a=r,l=!0;void 0!==n._state||(i&&l?I(n,a):c?D(n,s):1===t?P(n,a):2===t&&D(n,a))}var N=0;function L(e){e[E]=N++,e._state=void 0,e._result=void 0,e._subscribers=[]}var j=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(S),this.promise[E]||L(this.promise),o(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?P(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&P(this.promise,this._result))):D(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;void 0===this._state&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,o=n.resolve;if(o===C){var r=k(e);if(r===_&&void 0!==e._state)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(n===F){var i=new n(S);O(i,e,r),this._willSettleAt(i,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(o(e),t)},e.prototype._settledAt=function(e,t,n){var o=this.promise;void 0===o._state&&(this._remaining--,2===e?D(o,n):this._result[t]=n),0===this._remaining&&P(o,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;M(e,void 0,(function(e){return n._settledAt(1,t,e)}),(function(e){return n._settledAt(2,t,e)}))},e}(),F=function(){function t(e){this[E]=N++,this._result=this._state=void 0,this._subscribers=[],S!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){I(e,t)}),(function(t){D(e,t)}))}catch(t){D(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this.constructor;return e(t)?this.then((function(e){return n.resolve(t()).then((function(){return e}))}),(function(e){return n.resolve(t()).then((function(){throw e}))})):this.then(t,t)},t}();return F.prototype.then=_,F.all=function(e){return new j(this,e).promise},F.race=function(e){var t=this;return o(e)?new t((function(n,o){for(var r=e.length,i=0;i<r;i++)t.resolve(e[i]).then(n,o)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},F.resolve=C,F.reject=function(e){var t=new this(S);return D(t,e),t},F._setScheduler=function(e){a=e},F._setAsap=function(e){s=e},F._asap=s,F.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var o=null;try{o=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===o&&!t.cast)return}e.Promise=F},F.Promise=F,F},e.exports=o()}).call(this,n(109),n(124))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var o,r=n(0),i=n(72),a=n(62),s=n(34),l=n(16),c=n.n(l),u=n(71),d=n(3),p=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=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())}))},h=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},f=function(e){function t(t){var n=e.call(this,t)||this;return n.deleteSettings=function(){return m(n,void 0,void 0,(function(){var e,t,n,o;return h(this,(function(r){switch(r.label){case 0:e=this.props.env,this.setState({deleting:!0,lastError:void 0,settingsDeleted:!1}),u.TokenCache.clearTokenCache(),(t=new FormData).append("action","wpo365_delete_settings"),t.append("nonce",e.nonce),t.append("ina",window.wpo365.wizard.props.ina),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,c.a.post(e.wpAjaxAdminUrl,t)];case 2:return n=r.sent(),[3,4];case 3:return o=r.sent(),this.setState({deleting:!1,lastError:"Failed to delete settings ["+o.message+"]."}),[2];case 4:return 200==n.status&&n.data&&n.data.status&&"OK"==n.data.status?(this.setState({deleting:!1,settingsDeleted:!0}),window.location.reload(),[2]):(this.setState({deleting:!1,lastError:"Unknown error occurred [server did not report success]"}),[2])}}))}))},n.state={deleting:!1,errorInfo:void 0,errorMessage:void 0,hasError:!1,lastError:void 0,settingsDeleted:!1},n}return p(t,e),t.getDerivedStateFromError=function(e){return{deleting:!1,errorInfo:void 0,errorMessage:void 0,hasError:!0,lastError:void 0,settingsDeleted:!1}},t.prototype.componentDidCatch=function(e,t){console.log("The following error was caught by the Wizard.ErrorBoundary ["+e.message+"]."),console.debug("Error caught ["+JSON.stringify(t)+"]."),this.setState({errorInfo:t,errorMessage:e.message})},t.prototype.render=function(){var e=this;return this.state.hasError?r.createElement(r.Fragment,null,r.createElement("h1",null,"Oops, fatal error occurred"),r.createElement("p",null,"The WPO365 plugin's wizard encountered the following fatal error: ",r.createElement("strong",null,this.state.errorMessage)),r.createElement("p",null,"If you believe this error may be the result of malformed settings then you can choose to delete the current settings by clicking the button below."),r.createElement("div",{className:d.wpo365WzRowifier},r.createElement(i.a,{onClick:function(){return e.deleteSettings()}},"Delete settings")," ",this.state.deleting&&r.createElement(a.a,{size:s.a.small})),r.createElement("p",null,"Sorry for any inconvenience and please feel free to report this error to ",r.createElement("a",{href:"mailto:support@wpo365.com"},"support@wpo365.com")," (please include a screenshot)."),r.createElement("p",null,r.createElement("strong",null,"Error details")),r.createElement("p",null,JSON.stringify(this.state.errorInfo)),r.createElement("p",null,"- Marco van Wieren | Downloads by van Wieren | ",r.createElement("a",{href:"https://www.wpo365.com/"},"https://www.wpo365.com/"))):this.props.children},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(26),r=0,i=function(){function e(){}return e.getValue=function(e,t){var n=a();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=a(),o=n.__callbacks__,r=n[e];if(t!==r){n[e]=t;var i={oldValue:r,value:t,key:e};for(var s in o)o.hasOwnProperty(s)&&o[s](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=s();t||(t=e.__id__=String(r++)),n[t]=e},e.removeChangeListener=function(e){delete s()[e.__id__]},e}();function a(){var e,t=Object(o.a)()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function s(){return a().__callbacks__}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d}));var o=n(2),r=n(0),i=n(56),a=n(58),s=n(68),l=n(206),c=n(14),u=Object(a.b)((function(e){var t=Object(c.y)(e)||{subset:{},code:void 0},n=t.code,o=t.subset;return n?{children:n,iconClassName:o.className,fontFamily:o.fontFace&&o.fontFace.fontFamily}:null}),void 0,!0),d=function(e){var t=e.iconName,n=e.className,a=e.style,c=void 0===a?{}:a,d=u(t)||{},p=d.iconClassName,m=d.children,h=d.fontFamily,f=Object(s.d)(e,s.e),g=e["aria-label"]?{}:{role:"presentation","aria-hidden":!0};return r.createElement("i",Object(o.a)({"data-icon-name":t},g,f,{className:Object(l.a)(i.a,i.b.root,p,!t&&i.b.placeholder,n),style:Object(o.a)({fontFamily:h},c)}),m)};Object(a.b)((function(e,t,n){return d({iconName:e,className:t,"aria-label":n})}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));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({},e,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=o({},e,{registeredThemableStyles:[]}));return r.__themeState__=e,e}();function s(e,t){a.loadStyles?a.loadStyles(u(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),o=u(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 l(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||(c(a.registeredStyles),a.registeredStyles=[]);3!==e&&1!==e||(c(a.registeredThemableStyles),a.registeredThemableStyles=[])}(1),s([].concat.apply([],e)))}}()}function c(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function u(e){var t=a.theme,n=!1;return{styleString:(e||[]).map((function(e){var o=e.theme;if(o){n=!0;var r=t?t[o]:void 0,i=e.defaultValue||"inherit";return t&&!r&&console&&!(o in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+o+'". Falling back to "'+i+'".'),r||i}return e.rawString})).join(""),themable:n}}}).call(this,n(124))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(82);function o(e,t,n,o,r){}},function(e,t,n){"use strict";function o(e,t,n){}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(2),r=n(0),i=n(162),a=n(112),s=n(68),l=function(e){function t(t){var n=e.call(this,t)||this;return Object(i.a)(n),Object(a.a)("PivotItem",t,{linkText:"headerText"}),n}return Object(o.c)(t,e),t.prototype.render=function(){return r.createElement("div",Object(o.a)({},Object(s.d)(this.props,s.c)),this.props.children)},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p}));var o=n(47),r=n(0),i=n(161),a=n(58),s=n(118),l=n(85);function c(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=e;if(a.isSlot){var s=r.Children.count(n);return 0===s?a(t):(n=r.Children.toArray(n),a(Object(o.a)(Object(o.a)({},t),{children:n})))}return r.createElement.apply(r,Object(o.b)([e,t],n))}function u(e,t){void 0===t&&(t={});var n=t.defaultProp,a=void 0===n?"children":n;return function(t,n,c,u,d){if(r.isValidElement(n))return n;var p=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];for(var r={},a=[],c=0,u=n;c<u.length;c++){var d=u[c];a.push(d&&d.className),Object(l.a)(r,d)}return r.className=Object(i.a)([e,a],{rtl:Object(s.a)(t)}),r}(u,d,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}(a,n));if(c){if(c.component){var m=c.component;return r.createElement(m,Object(o.a)({},p))}if(c.render)return c.render(p,e)}return r.createElement(e,Object(o.a)({},p))}}var d=Object(a.b)((function(e){return u(e)}));function p(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 m(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 m(e,t,n,o,r,i){return void 0!==e.create?e.create(t,n,o,r):d(e)(t,n,o,r,i)}},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,o,r,i,a,s,l,c,u,d){switch(n){case 1:if(0===u&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===c)return o+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(r[0]+o),"";default:return o+(0===d?"/*|*/":"")}case-2:o.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var o,r=n(0),i=n(16),a=n.n(i),s=n(3),l=n(6),c=n(80),u=n(62),d=n(34),p=n(79),m=n(121),h=n(163),f=n(30),g=n(72),b=n(25),v=n(102),y=n(119),w=n(164),_=n(21),C=n(73),E=n(120),S=n(57),x=n(86),k=n(33),O=n(44),I=n(8),T=n(53),P=n(31),D=n(10),M=n(12),A=n(1),R=n(13),N=n(9),L=n(36),j=function(){return(j=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)},F=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())}))},B=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},W=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o},z={maxWidth:"400px",color:"#cc0000"};!function(e){e.unauthorized="unauthorized",e.authorizing="authorizing",e.authorized="authorized"}(o||(o={}));var H=function(e){var t,n=r.useContext(M.a),i=n.env,H=n.env.props,U=H.autoRetryOk,V=H.extensions,G=H.wpConfigAad,K=H.wpConfigMultiple,q=n.settings,Z=n.settings.hidePremiumOptions,X=n.updateSettings,Y=function(){return{applicationId:q.applicationId,applicationSecret:q.applicationSecret,appOnlyApplicationId:q.appOnlyApplicationId,appOnlyApplicationSecret:q.appOnlyApplicationSecret,mailAllowFrom:q.mailAllowFrom,mailApplicationId:q.mailApplicationId,mailApplicationSecret:q.mailApplicationSecret,mailAutoRetry:q.mailAutoRetry,mailDefaultRecipient:q.mailDefaultRecipient,mailFixLocalhost:q.mailFixLocalhost,mailFrom:q.mailFrom,mailIntervals:q.mailIntervals,mailLog:q.mailLog,mailLogRetention:q.mailLogRetention,mailMimeType:q.mailMimeType,mailMultiTenanted:q.mailMultiTenanted,mailRedirectUrl:q.mailRedirectUrl,mailReplyTo:q.mailReplyTo,mailSaveToSentItems:q.mailSaveToSentItems,mailSendAs:q.mailSendAs,mailSendAsFrom:q.mailSendAsFrom,mailSendShared:q.mailSendShared,mailSendSharedFrom:q.mailSendSharedFrom,mailSendToBcc:q.mailSendToBcc,mailSkipAllChecks:q.mailSkipAllChecks,mailStagingMode:q.mailStagingMode,mailTenantId:q.mailTenantId,mailThreshold:q.mailThreshold,mailThrottlingEnabled:q.mailThrottlingEnabled,redirectUrl:q.redirectUrl,redirectUrlStrict:q.redirectUrlStrict,samlX509Cert:q.samlX509Cert,skipPasswordCredentialsExpiredCheck:q.skipPasswordCredentialsExpiredCheck,tenantId:q.tenantId,useGraphMailer:q.useGraphMailer,useWpConfig:q.useWpConfig,wpRestAadApplicationId:q.wpRestAadApplicationId,wpRestAadApplicationIdUri:q.wpRestAadApplicationIdUri}},Q=r.useState(Y()),$=Q[0],J=Q[1],ee=r.useState(i.props.addOns&&Object.keys(i.props.addOns).length>0)[0],te='\n  <p>It appears that you have configured <strong>application-level</strong> <em>Mail.Send</em> permissions. However, if you \n  do not need the plugin\'s ability to send emails from multiple different accounts then it is strongly\n  recommended that you instead configure support for <strong>delegated</strong> permissions. The reason\n  behind this recommendation is the general recommendation to configure as few and as low permissions as possible.\n  <strong>Application-level</strong> <em>Mail.Send</em> permissions allow the plugin to send emails \n  as any user in the organization whereas <strong>delegated</strong> <em>Mail.Send</em> permissions\n  reduce this to a single account.</p>\n  <p>Perform the following steps to configure <strong>delegated</strong> permissions instead:</p>\n  <ul style="list-style: initial; padding: 10px; font-size: 90%;">\n  <li>Go to your <a href="https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/CallAnAPI/appId/'+$.mailApplicationId+'/isMSAApp/" \n  target="_blank">App registration in Azure AD</a> and remove the <strong>Microsoft Graph \n  &gt; Application permissions &gt; Mail.Send</strong> permissions.</li>\n  <li>Then add <strong>Microsoft Graph &gt; Delegated permissions &gt; Mail.Send</strong> permissions.</li>\n  <li>After you applied changes to your <em>App registration\'s</em> API permissions, you must click to consent\n  as an administrator of your tenant (on behalf of all users) and confirm that permissions should be removed.</li>\n  <li>Go to the plugin\'s <a href="#integration">Integration</a> configuration page, click <strong>Delete tokens\n  </strong> and return to this page.</li>\n  <li><strong>Click</strong> the <em>Authorize</em> button below next to the <em>Default "From" address\n  </em> button, sign in as the account WordPress should be sent from and wait until authorization is completes successfully.</li>\n  <li>Finally, scroll to the bottom of this page, update the configuration to send a test mail and\n  click <em>Save configuration</em> to send a test email.</li>\n  </ul>\n  <p><strong>Even more secure</strong> With the previous steps you consent as an administrator on behalf of all\n  users in your tenant that the registered application may request <em>Mail.Send</em> permissions for any of the logged-in users.\n  You can, however, grant consent on behalf of a single user using <strong>PowerShell</strong> by performing the\n  steps explained in <a href="https://docs.wpo365.com/article/162-grant-mail-send-consent-on-behalf-of-a-single-user" \n  target="_blank">this article</a> (requires advanced Azure AD administrator skills).</p>\n',ne='\n  <p>It appears that you have configured both <strong>application-level</strong> and <strong>delegated\n  </strong> <em>Mail.Send</em> permissions. If you do not need the plugin\'s ability to send emails from multiple different \n  accounts then it is strongly recommended that you remove <strong>application-level</strong> permissions for <em>Mail.Send</em>.\n  The reason behind this recommendation is the general trend to configure as few and as low permissions \n  as possible. <strong>Application-level</strong> <em>Mail.Send</em> permissions allow the plugin to send \n  emails as any user in the organization whereas <strong>delegated</strong> <em>Mail.Send</em> permissions\n  reduce this to a single account.</p>\n  <p>Perform the following steps to remove <strong>application-level</strong> permissions:</p>\n  <ul style="list-style: initial; padding: 10px; font-size: 90%;">\n  <li>Go to your <a href="https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/CallAnAPI/appId/'+$.mailApplicationId+'/isMSAApp/" \n  target="_blank">App registration in Azure AD</a> and remove the <strong>Microsoft Graph \n  &gt; Application permissions &gt; Mail.Send</strong> permissions.</li>\n  <li>After you applied changes to your <em>App registration\'s</em> API permissions, you must click \n  to consent as an administrator of your tenant (on behalf of all users) and confirm that permissions should be removed.</li>\n  <li>Go to the plugin\'s <a href="#integration">Integration</a> configuration page, click <strong>Delete tokens\n  </strong> and return to this page.</li>\n  <li>Finally, scroll to the bottom of this page, update the configuration to send a test mail and \n  click <em>Save configuration</em> to send a test email.</li>\n  </ul>\n  <p><strong>Even more secure</strong> With the previous steps you consent as an administrator on behalf of all\n  users in your tenant that the registered application may request <em>Mail.Send</em> permissions for any of the logged-in users.\n  You can, however, grant consent on behalf of a single user using <strong>PowerShell</strong> by performing the\n  steps explained in <a href="https://docs.wpo365.com/article/162-grant-mail-send-consent-on-behalf-of-a-single-user" \n  target="_blank">this article</a> (requires advanced Azure AD administrator skills).</p>\n',oe=r.useState(null),re=oe[0],ie=oe[1],ae=r.useState(),se=ae[0],le=ae[1],ce=r.useState(!1),ue=ce[0],de=ce[1],pe=r.useState(o.unauthorized),me=pe[0],he=pe[1],fe=r.useState([]),ge=fe[0],be=fe[1],ve=r.useState(A.p.initial),ye=ve[0],we=ve[1],_e=r.useState(""),Ce=_e[0],Ee=_e[1],Se=r.useState(""),xe=Se[0],ke=Se[1],Oe=r.useState(""),Ie=Oe[0],Te=Oe[1],Pe=r.useState(!1),De=Pe[0],Me=Pe[1],Ae=r.useState(A.r.initial),Re=Ae[0],Ne=Ae[1],Le=r.useState(null),je=Le[0],Fe=Le[1],Be=r.useState(null),We=Be[0],ze=Be[1],He=r.useState(""),Ue=He[0],Ve=He[1],Ge=r.useState(!1),Ke=Ge[0],qe=Ge[1],Ze=r.useState("initial"),Xe=Ze[0],Ye=Ze[1],Qe=r.useState(""),$e=Qe[0],Je=Qe[1],et=r.useState("copyDelete"),tt=et[0],nt=et[1],ot=r.useState("hidden"),rt=ot[0],it=ot[1],at=r.useState(U),st=at[0],lt=at[1],ct=r.useState(null),ut=ct[0],dt=ct[1],pt=r.useRef(),mt=r.useRef(o.unauthorized),ht=function(e){he(e),mt.current=e},ft=function(e,t){switch(e){case"tenantId":case"applicationId":return ee&&$.useWpConfig||t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t);case"applicationSecret":return ee&&$.useWpConfig||t&&!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t);case"redirectUri":return ee&&$.useWpConfig||t&&(/^(http|https):\/\/.*\/{1}$/i.test(t)||t.indexOf("=mail-integration-365-settings")>0);case"redirectUriStrict":return!$.redirectUrlStrict||ee&&$.useWpConfig||t&&t.length>i.props.siteUrl.length+2;case"mailFrom":return t&&/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!\.)){0,61}[a-zA-Z0-9]?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9\-](?!$)){0,61}[a-zA-Z0-9]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/.test(t);default:return!1}},gt=r.useState(!q.redirectUrlStrict||ft("redirectUriStrict",q.mailRedirectUrl)),bt=gt[0],vt=gt[1],yt=function(e,t,n,o){if(e)t(!1);else{var r={title:n,subText:o,onDismiss:function(){return ie(null)},onCancel:function(){return ie(null)},onConfirm:function(){ie(null),t(!0)}};ie(r)}},wt=function(e,t){return void 0===e&&(e=!1),void 0===t&&(t=!1),F(void 0,void 0,void 0,(function(){var n,r,s,l;return B(this,(function(c){switch(c.label){case 0:return le(""),ht(o.authorizing),[4,Ct(!0)];case 1:if(n=c.sent())return le(n+"."),ht(o.unauthorized),[2];(r=new FormData).append("action","wpo365_get_mail_auth_configuration"),r.append("deleteDelegated",e||q.mailFrom!=$.mailFrom?"true":"false"),r.append("deleteAppOnly",t?"true":"false"),r.append("nonce",i.nonce),r.append("ina",window.wpo365.wizard.props.ina),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,a.a.post(i.wpAjaxAdminUrl,r)];case 3:return s=c.sent(),[3,5];case 4:return l=c.sent(),le(l.message+"."),ht(o.unauthorized),[2];case 5:return s.status>=200&&s.status<300&&s.data&&s.data.status?"OK"==s.data.status?(console.debug(s.data),ze(s.data.result),s.data.result.delegated_authorized?(ht(o.authorized),s.data.result.has_refresh_token||le("Refresh token is missing [Check documentation]."),[2]):s.data.result.app_only_authorized?(ht(o.authorized),[2]):(ht(o.unauthorized),[2])):(le("The following error occurred: ["+s.status+"] "+s.data.message+"."),ht(o.unauthorized),[2]):(le("An unknown error occurred [Check your browser's developer console for details]."),ht(o.unauthorized),[2])}}))}))},_t=function(){return F(void 0,void 0,void 0,(function(){var e,t,n,r;return B(this,(function(s){switch(s.label){case 0:return ht(o.authorizing),le(null),$.mailFrom?$.mailTenantId?$.mailApplicationId?$.mailApplicationSecret?$.mailRedirectUrl?[4,Ct(!0)]:(le("Cannot start authorization when no redirect URL has been specified."),ht(o.unauthorized),[2]):(le("Cannot start authorization when no aplication (client) secret has been specified."),ht(o.unauthorized),[2]):(le("Cannot start authorization when no application (client) ID has been specified."),ht(o.unauthorized),[2]):(le("Cannot start authorization when no directory (tenant) ID has been specified."),ht(o.unauthorized),[2]):(le('Cannot start authorization when no "From" User Mailbox / Account has been specified.'),ht(o.unauthorized),[2]);case 1:return(e=s.sent())?(le(e+"."),ht(o.unauthorized),[2]):We.delegated_authorized||We.app_only_authorized?[4,wt(!0,!0)]:[3,3];case 2:s.sent(),s.label=3;case 3:(t=new FormData).append("action","wpo365_get_mail_authorization_url"),t.append("nonce",i.nonce),t.append("ina",window.wpo365.wizard.props.ina),s.label=4;case 4:return s.trys.push([4,6,,7]),[4,a.a.post(i.wpAjaxAdminUrl,t)];case 5:return n=s.sent(),[3,7];case 6:return r=s.sent(),le(r.message+"."),ht(o.unauthorized),[2];case 7:return n.status>=200&&n.status<300&&n.data&&n.data.status?"OK"==n.data.status?(console.debug(n.data),location.href=n.data.result,[2]):(le("The following error occurred: ["+n.status+"] "+n.data.message+"."),ht(o.unauthorized),[2]):(le("An unknown error occurred [Check your browser's developer console for details]."),ht(o.unauthorized),[2])}}))}))},Ct=function(e){return void 0===e&&(e=!1),F(void 0,void 0,void 0,(function(){var t,n,o,r,s;return B(this,(function(c){switch(c.label){case 0:e||(be([]),we(A.p.saving),Ne(A.r.testing)),(t=j({},q)).applicationId=$.applicationId,t.applicationSecret=$.applicationSecret,t.appOnlyApplicationId=$.appOnlyApplicationId,t.appOnlyApplicationSecret=$.appOnlyApplicationSecret,t.mailAllowFrom=$.mailAllowFrom,t.mailApplicationId=$.mailApplicationId,t.mailApplicationSecret=$.mailApplicationSecret,t.mailAutoRetry=$.mailAutoRetry,t.mailDefaultRecipient=$.mailDefaultRecipient,t.mailFixLocalhost=$.mailFixLocalhost,t.mailFrom=$.mailFrom,t.mailIntervals=$.mailIntervals,t.mailLog=$.mailLog,t.mailLogRetention=$.mailLogRetention,t.mailMimeType=$.mailMimeType,t.mailMultiTenanted=$.mailMultiTenanted,t.mailRedirectUrl=$.mailRedirectUrl,t.mailReplyTo=$.mailReplyTo,t.mailSaveToSentItems=$.mailSaveToSentItems,t.mailSendAs=$.mailSendAs,t.mailSendAsFrom=$.mailSendAsFrom,t.mailSendShared=$.mailSendShared,t.mailSendSharedFrom=$.mailSendSharedFrom,t.mailSendToBcc=$.mailSendToBcc,t.mailSkipAllChecks=$.mailSkipAllChecks,t.mailStagingMode=$.mailStagingMode,t.mailTenantId=$.mailTenantId,t.mailThreshold=$.mailThreshold,t.mailThrottlingEnabled=$.mailThrottlingEnabled,t.redirectUrl=$.redirectUrl,t.redirectUrlStrict=$.redirectUrlStrict,t.samlX509Cert=$.samlX509Cert,t.skipPasswordCredentialsExpiredCheck=$.skipPasswordCredentialsExpiredCheck,t.tenantId=$.tenantId,t.useGraphMailer=$.useGraphMailer,t.useWpConfig=$.useWpConfig,c.label=1;case 1:return c.trys.push([1,7,,8]),[4,R.a.updateSettings(i,t)];case 2:return(n=c.sent()).success?[4,R.a.getSettings(i)]:[3,5];case 3:return o=c.sent(),X(o),e?[2,null]:(be([]),we(A.p.success),[4,F(void 0,void 0,void 0,(function(){var e,t;return B(this,(function(n){switch(n.label){case 0:if(!Ce)return[2,{message:"Please enter a valid email address to send a test email to.",success:!1}];(e=new FormData).append("action","wpo365_send_test_mail"),e.append("nonce",i.nonce),e.append("ina",window.wpo365.wizard.props.ina),e.append("to",JSON.stringify(Ce.split(","))),e.append("cc",JSON.stringify(xe.split(","))),e.append("bcc",JSON.stringify(Ie.split(","))),e.append("attachment",JSON.stringify(De)),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,a.a.post(i.wpAjaxAdminUrl,e)];case 2:return t=n.sent(),[3,4];case 3:return[2,{success:!1,message:n.sent().message}];case 4:return t.status>=200&&t.status<300&&t.data&&t.data.status?"OK"==t.data.status?[2,{message:l.a.empty,success:!0}]:[2,{message:t.data.message,success:!1}]:[2,{message:"Error occured (HTTP status "+t.status+")",success:!1}]}}))}))]);case 4:return(r=c.sent())&&"success"in r&&r.success?Ne(A.r.success):(be(["Failed to send a test email [Reason: "+(r.message?r.message:"No error details available.")+']. Also check the <a href="#debug">Debug Log</a> for possible warnings / errors.']),we(A.p.error),Ne(A.r.error)),[3,6];case 5:if(s="Could not save your configuration ("+n.message+")",e)return[2,s];be([s]),we(A.p.error),c.label=6;case 6:return[3,8];case 7:return c.sent(),s="Unknown error occured whilst updating settings [check F12 > console for technical details]",e?[2,s]:(be([s]),we(A.p.error),[3,8]);case 8:return[2]}}))}))},Et=function(e){return void 0===e&&(e=!1),F(void 0,void 0,void 0,(function(){var t,n,o;return B(this,(function(r){switch(r.label){case 0:dt(null),(t=new FormData).append("action","wpo365_mail_auto_retry"),t.append("nonce",i.nonce),t.append("ina",window.wpo365.wizard.props.ina),t.append("unschedule",e?"1":"0"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,a.a.post(i.wpAjaxAdminUrl,t)];case 2:return n=r.sent(),[3,4];case 3:return o=r.sent(),lt(!1),dt(o),[2];case 4:return n.status<200||n.status>=300||n&&n.data&&n.data.status&&"NOK"==n.data.status?(n.data&&n.data.message?dt(n.data.message):dt("Unknown error occurred whilst trying to create the WP Cron Job that automatically resends failed emails."),lt(!1),[2]):(lt(!0),[2])}}))}))},St=function(){yt($.mailMultiTenanted,(function(e){J(j(j({},$),{mailMultiTenanted:e,mailSkipAllChecks:!!e||$.mailSkipAllChecks})),e&&pt.current&&clearTimeout(pt.current)}),"Important",'You indicated that you wish to authorize a personal Microsoft account (e.g. Hotmail.com or \n       Outlook.com). Please read the <a href="https://tutorials.wpo365.com/courses/email-configure-microsoft-graph-mailer/lessons/send-email-from-a-personal-microsoft-account-e-g-hotmail-com/" \n       target="_blank">online documentation</a> to ensure that you have enabled multi-tenancy \n       support for your "App Registration" (in Entra ID) and selected the option "Accounts in \n       any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal \n       Microsoft accounts (e.g. Skype, Xbox)" for "Supported account types" on its "Authentication" \n       page.')};return r.useEffect((function(){$.useGraphMailer&&wt(!1,!1)}),[]),r.useEffect((function(){je&&("useGraphMailer"==je?wt(!0,!0).then((function(){return Fe(null)})).catch((function(){return Fe(null)})):"stagingMode"==je?Ct(!0).then((function(e){return F(void 0,void 0,void 0,(function(){return B(this,(function(t){switch(t.label){case 0:return e?[3,2]:[4,Et(!$.mailAutoRetry)];case 1:t.sent(),location.reload(),t.label=2;case 2:return Fe(null),[2]}}))}))})).catch((function(){return Fe(null)})):"autoRetry"==je?Ct(!0).then((function(e){return F(void 0,void 0,void 0,(function(){return B(this,(function(t){switch(t.label){case 0:return e?[3,2]:[4,Et(!$.mailAutoRetry)];case 1:t.sent(),t.label=2;case 2:return Fe(null),[2]}}))}))})).catch((function(){return Fe(null)})):"obfuscate"==je&&Ct(!0).then((function(e){return F(void 0,void 0,void 0,(function(){return B(this,(function(e){return Fe(null),[2]}))}))})).catch((function(){return Fe(null)})))}),[je]),r.useEffect((function(){We&&We.app_only_authorized&&qe(!0)}),[We]),r.useEffect((function(){de((We||"authorizing"!=me)&&(ee&&$.useWpConfig||ft("tenantId",$.mailTenantId)&&ft("applicationId",$.mailApplicationId)&&ft("applicationSecret",$.mailApplicationSecret)&&ft("redirectUri",$.mailRedirectUrl)&&ft("mailFrom",$.mailFrom))),$.mailFrom==q.mailFrom&&$.useWpConfig==q.useWpConfig&&q.mailRedirectUrl==$.mailRedirectUrl&&q.mailTenantId==$.mailTenantId&&q.mailApplicationId==$.mailApplicationId&&q.mailApplicationSecret==$.mailApplicationSecret||$.mailTenantId&&$.mailApplicationId&&$.mailApplicationSecret&&$.mailRedirectUrl&&(pt.current&&clearTimeout(pt.current),pt.current=setTimeout((function(){return mt.current!=o.authorizing&&it("deleteBoth")}),4e3))}),[We,$.mailFrom,$.useWpConfig,$.mailTenantId,$.mailApplicationId,$.mailApplicationSecret,$.mailRedirectUrl]),r.useEffect((function(){q.mailTenantId==$.mailTenantId&&q.mailApplicationId==$.mailApplicationId&&q.mailRedirectUrl==$.mailRedirectUrl&&q.mailApplicationSecret==$.mailApplicationSecret&&q.useWpConfig==$.useWpConfig||J(Y())}),[q]),r.useEffect((function(){vt(ft("redirectUriStrict",$.mailRedirectUrl))}),[$.redirectUrlStrict,$.mailRedirectUrl]),r.useEffect((function(){if(!$.mailMultiTenanted&&$.mailFrom&&$.mailFrom!=q.mailFrom){["hotmail","outlook"].forEach((function(e){$.mailFrom.indexOf("@"+e)>-1&&St()}))}}),[$.mailFrom]),r.createElement(r.Fragment,null,r.createElement("div",{className:s.wpo365WzPage},r.createElement("div",{className:s.wpo365WzSupportMenuRowifier},r.createElement("div",{className:s.wpo365WzPageTitle},r.createElement("h3",null,"WordPress + Azure AD / Microsoft 365 configuration pages")),r.createElement(T.a,null),r.createElement(P.a,null)),r.createElement("div",{className:s.wpo365WzMain},r.createElement("table",{className:s.wpo365WzTable},r.createElement("colgroup",null,r.createElement("col",{width:"40%"}),r.createElement("col",{width:"60%"})),r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement("div",{dangerouslySetInnerHTML:{__html:'<p>Use this configuration page to start sending WordPress from one of your Microsoft 365 Exchange Online / Mail enabled accounts using <strong>Microsoft Graph</strong> instead of - for example - SMTP.</p>\n                             <p>To get started please follow carefully the detailed steps explained in the \n                             <a href="'+(-1==V.indexOf(A.e.wpo365Login)?"https://docs.wpo365.com/article/141-send-email-using-microsoft-graph-mailer":"https://docs.wpo365.com/article/108-sending-wordpress-emails-using-microsoft-graph")+'" \n                             target="_blank">online documentation</a>.</p>'}}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Sending emails with Microsoft Graph is ",$.useGraphMailer?"enabled":"disabled"),r.createElement(N.a,{info:{title:"Send email using Microsoft Graph",readMore:{title:"Read online",url:-1==V.indexOf(A.e.wpo365Login)?"https://docs.wpo365.com/article/141-send-email-using-microsoft-graph-mailer":"https://docs.wpo365.com/article/108-sending-wordpress-emails-using-microsoft-graph"}}}))),r.createElement("td",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement(c.a,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:$.useGraphMailer,onChange:function(e,t){return yt($.useGraphMailer,(function(e){J(j(j({},$),e?{useGraphMailer:e}:{useGraphMailer:e,mailAllowFrom:!1,mailApplicationId:"",mailApplicationSecret:"",mailAutoRetry:!1,mailDefaultRecipient:"",mailFixLocalhost:!1,mailFrom:"",mailIntervals:[3600,7200,14400],mailLog:!1,mailMimeType:"Html",mailRedirectUrl:q.redirectUrl,mailReplyTo:"",mailSaveToSentItems:!1,mailSendAs:!1,mailSendAsFrom:"",mailSendShared:!1,mailSendSharedFrom:"",mailSendToBcc:!1,mailStagingMode:!1,mailTenantId:"",mailThreshold:20,mailThrottlingEnabled:!1})),Fe("useGraphMailer")}),"Important",'<p>You are configuring the <strong>WPO365</strong> plugin to send your WordPress transactional emails from a Microsoft 365 / Exchange Online Mail enabled account\n                           using Microsoft Graph.</p><p>Please make sure that you have read the <a href="'+(-1==V.indexOf(A.e.wpo365Login)?"https://docs.wpo365.com/article/141-send-email-using-microsoft-graph-mailer":"https://docs.wpo365.com/article/108-sending-wordpress-emails-using-microsoft-graph")+'" \n                           target="_blank">online documentation</a>.</p>')}}),"useGraphMailer"==je&&r.createElement(u.a,{size:d.a.small})))),$.useGraphMailer&&r.createElement(r.Fragment,null,V.some((function(e){return e==A.e.mailIntegration}))&&r.createElement(r.Fragment,null,r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement("h3",{className:s.wpo365WzSectionTitle,style:{backgroundColor:"#0078d4",color:"#ffffff"}},"Import Tool for ",r.createElement("em",null,"Mail Integration for Office 365 / Outlook")," settings"))),r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement("span",{style:{color:"#CC0000"}},r.createElement(p.a,{iconName:"Warning",style:{paddingRight:"5px"}}),"Please take a moment and carefully read the  ",r.createElement("a",{href:"https://docs.wpo365.com/article/165-migrate-from-mail-integration-for-office-365-outlook-to-wpo365-microsoft-graph-mailer",target:"_blank"},"migration guide")," ","  before you click ",r.createElement("strong",null,"Import"),"."))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Import mode"))),r.createElement("td",null,r.createElement(m.a,{options:[{key:"select",text:"Select",itemType:h.a.Header},{key:"copy",text:"Import"},{key:"copyDelete",text:"Import, Delete"}],selectedKey:tt,onChange:function(e,t){return nt(t.key)},style:{maxWidth:"400px"},disabled:"initial"!=Xe||!We}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Import OAUTH settings from ",r.createElement("strong",null,"Mail Integration for Office 365 / Outlook")))),r.createElement("td",null,r.createElement(f.a,{horizontal:!0,tokens:{childrenGap:10}},r.createElement(g.a,{onClick:function(){return F(void 0,void 0,void 0,(function(){var e,t,n;return B(this,(function(o){switch(o.label){case 0:ze(null),Je(""),Ye("copying"),(e=new FormData).append("action","wpo365_try_migrate_mail_app_principal_info"),e.append("nonce",i.nonce),e.append("ina",window.wpo365.wizard.props.ina),e.append("copyMode",tt),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,a.a.post(i.wpAjaxAdminUrl,e)];case 2:if((t=o.sent())&&t.data&&t.data.status&&"NOK"==t.data.status)throw t.data.message;return window.location.reload(),[3,4];case 3:return n=o.sent(),console.error(n),Je(n.message?n.message:n),[3,4];case 4:return Ye("initial"),[2]}}))}))},styles:{root:{maxHeight:"30px",maxWidth:"90px"}},disabled:"initial"!=Xe||!We},"Import"),"copying"==Xe&&r.createElement(u.a,{size:d.a.small}),$e&&r.createElement("div",{style:{color:"#cc0000"}},$e))))),r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement("h3",{className:s.wpo365WzSectionTitle},"Azure Active Directory registration"))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Directory (tenant) ID")," ")),r.createElement("td",null,r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return ft("tenantId",t)},onValid:function(e){return J(j(j({},$),{mailTenantId:e}))},bound:!1,errorMessage:l.a.errDirectoryIdMustBeGuid,defaultValue:$.mailTenantId,value:$.mailTenantId,placeholder:l.a.infoDirectoryId,vertical:!0,disabled:!We||ee&&$.useWpConfig||"authorizing"==me||G||K}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Application (Client) ID")," ",$.mailApplicationId&&(!ee||!$.useWpConfig)&&r.createElement("em",null,r.createElement("a",{href:"https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/"+$.mailApplicationId+"/isMSAApp/",target:"_blank"},"View in Azure Portal")))),r.createElement("td",null,r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return ft("applicationId",t)},onValid:function(e){return J(j(j({},$),{mailApplicationId:e}))},bound:!1,errorMessage:l.a.errAppOnlyApplicationIdMustBeGuid,defaultValue:$.mailApplicationId,value:$.mailApplicationId,placeholder:l.a.infoAppOnlyApplicationId,vertical:!0,disabled:!We||ee&&$.useWpConfig||"authorizing"==me||G||K}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Application (Client) secret"))),r.createElement("td",null,r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return ft("applicationSecret",t)},onValid:function(e){return J(j(j({},$),{mailApplicationSecret:e}))},bound:!1,errorMessage:"The application (client) secret is mandatory and may not be a GUID",defaultValue:$.mailApplicationSecret,value:$.mailApplicationSecret,vertical:!0,disabled:!We||ee&&$.useWpConfig||"authorizing"==me||G||K,password:!0}))),V.some((function(e){return e==A.e.wpo365MsGraphMailer}))&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Skip check for Application (Client) Secret expiration")," ",r.createElement(N.a,{info:{title:"Skip check for AAD App registration secret expiration",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/203-skip-check-for-aad-app-registration-secret-expiration"}}}))),r.createElement("td",null,r.createElement("div",{className:s.wpo365WzCheckbox},r.createElement(b.a,{onChange:function(e,t){return J(j(j({},$),{skipPasswordCredentialsExpiredCheck:t}))},checked:$.skipPasswordCredentialsExpiredCheck})))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Redirect URI"))),r.createElement("td",null,r.createElement(f.a,{tokens:{childrenGap:0}},r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return ft("redirectUri",t)},onValid:function(e){return J(j(j({},$),{mailRedirectUrl:e}))},bound:!1,errorMessage:'Redirect URI must be a valid URL and start with "http(s)://" and end with "/".',defaultValue:$.mailRedirectUrl,value:$.mailRedirectUrl,placeholder:l.a.infoRedirectUri,vertical:!0,disabled:!We||ee&&$.useWpConfig||"authorizing"==me||G||K}),!bt&&r.createElement("label",{style:{lineHeight:"30px",color:"#cc0000"}},'Redirect URI cannot be equal to the site address when "strict mode" is selected')))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Enable strict mode for Redirect URI"),r.createElement(N.a,{info:{title:"Enable strict mode for Redirect URI",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/204-enable-strict-mode-for-redirect-uri"}}}))),r.createElement("td",null,r.createElement(f.a,{tokens:{childrenGap:10}},r.createElement("div",{className:s.wpo365WzCheckbox},r.createElement(b.a,{checked:$.redirectUrlStrict,onChange:function(e,t){return J(j(j({},$),{redirectUrlStrict:t}))},disabled:!V.some((function(e){return e==A.e.wpo365MsGraphMailer}))||K})),!V.some((function(e){return e==A.e.wpo365MsGraphMailer}))&&r.createElement("span",{className:s.wpo365WzRowifier,style:{color:"#0078D4"}},r.createElement(p.a,{iconName:"Warning",style:{paddingRight:"5px"}}),"Can be changed on the ",r.createElement("a",{href:"#singleSignOn"},"Single Sign-on")," page")))),(!Z||V.some((function(e){return[A.e.wpo365Mail,A.e.wpo365LoginProfessional,A.e.wpo365Essentials,A.e.wpo365Customers,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Obfuscate AAD options")," ",r.createElement(N.a,{info:{title:"Use WP-Config(.php) for AAD secrets",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/137-use-wp-config-for-aad-secrets"}}}))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginProfessional,A.e.wpo365Essentials,A.e.wpo365Customers,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(f.a,{tokens:{childrenGap:10}},r.createElement("div",{className:s.wpo365WzRowifier},r.createElement(c.a,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:$.useWpConfig,disabled:!q.noSso||!We||"authorizing"==me||!$.useWpConfig&&!G&&!K,onChange:function(e,t){J(j(j({},$),{useWpConfig:t})),Fe("obfuscate")}}),"obfuscate"==je&&r.createElement(u.a,{size:d.a.small})),!q.noSso&&($.useWpConfig||G||K)&&r.createElement("span",{className:s.wpo365WzRowifier,style:{color:"#0078D4"}},r.createElement(p.a,{iconName:"Warning",style:{paddingRight:"5px"}}),"Can be changed on the ",r.createElement("a",{href:"#singleSignOn"},"Single Sign-on")," page"))))),r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement("h3",{className:s.wpo365WzSectionTitle},"Mail account configuration"))),r.createElement("tr",null,r.createElement("th",null,r.createElement(f.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},r.createElement("span",null,"Authorization status"),r.createElement(v.a,{iconProps:{iconName:"Refresh"},title:"Refresh",ariaLabel:"Refresh",onClick:function(){return it("deleteAppOnly")},disabled:"authorizing"==me,styles:{label:{fontSize:"13px",color:"#2271b1",textDecoration:"underline"}}},"Check again"))),r.createElement("td",null,r.createElement(f.a,{tokens:{childrenGap:10}},r.createElement("div",{className:s.wpo365WzRowifier},r.createElement(b.a,{checked:We&&We.app_only_authorized,label:"Application permissions",disabled:!0,styles:{root:{marginRight:"10px"}}}),We&&We.app_only_last_error&&r.createElement(y.a,{content:r.createElement("span",null,(t=We.app_only_last_error,t.indexOf("AADSTS7000215")>=0?"WPO365 could not retrieve application-level permissions to send emails using Microsoft Graph. If you intend to authorize a single user account using delegated permissions, then you can safely ignore this warning. [Orginal error: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret  [...]]":t.indexOf("does not has the role requested")?"WPO365 could not retrieve application-level permissions to send emails using Microsoft Graph. If you intend to authorize a single user account using delegated permissions, then you can safely ignore this warning. [Orginal error: "+t+"]":t)),id:"tooltip_app_only_last_error",calloutProps:{gapSpace:0},styles:{root:{display:"inline-block",cursor:"pointer",color:"red",height:"27px"}}},r.createElement(p.a,{iconName:"Error"}))),r.createElement(b.a,{onChange:function(e,t){return!t&&it("deleteDelegated")},checked:We&&We.delegated_authorized,label:"Delegated permissions",disabled:!We||!We.delegated_authorized}),We&&We.app_only_authorized&&r.createElement(v.a,{id:"wpoAdvisorButton",styles:{root:{marginLeft:"-6px",color:"#cc0000"}},iconProps:{iconName:"Warning"},allowDisabledFocus:!0,onClick:function(){return Ve(We&&We.delegated_authorized?ne:te)}},"Click to read an important recommendation")),Ke&&r.createElement(w.a,{calloutProps:{directionalHint:_.a.rightCenter},target:"#wpoAdvisorButton",hasCloseButton:!0,closeButtonAriaLabel:"Close",onDismiss:function(){return qe(!1)},headline:"Advisor"},"The WPO365 team has an important recommendation. Please click to open it."))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"(Default) From ",r.createElement("em",null,"A Microsoft 365 User Mailbox")))),r.createElement("td",null,r.createElement(f.a,{tokens:{childrenGap:10}},r.createElement(f.a,{horizontal:!0,tokens:{childrenGap:10}},r.createElement(D.a,{size:A.q.medium,isValid:function(e,t){return ft("mailFrom",t)},onValid:function(e){return J(j(j({},$),{mailFrom:e}))},errorMessage:"Please enter a valid email address",bound:!1,defaultValue:$.mailFrom,value:$.mailFrom,placeholder:l.a.infoMailFrom,vertical:!0}),r.createElement(g.a,{onClick:function(){return _t()},styles:{root:{maxHeight:"30px",maxWidth:"90px"}},disabled:!ue},"Authorize"),"authorized"==me&&r.createElement("div",{style:{color:"#378805"}},"Authorized!"),"authorizing"==me&&r.createElement(f.a.Item,{align:"start",styles:{root:{marginTop:"7px"}}},r.createElement(u.a,{size:d.a.small})),We&&!We.app_only_authorized&&"unauthorized"==me&&r.createElement("div",{style:{color:"#cc0000"}},"Unauthorized!")),se&&r.createElement("p",{style:z,dangerouslySetInnerHTML:{__html:se}})))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",{style:{color:"#0078D4"}},"↳ Is a personal Microsoft account (e.g. Outlook.com, Hotmail.com)")," ",r.createElement(N.a,{info:{title:"Send from a personal Microsoft account",readMore:{title:"Read online",url:"https://tutorials.wpo365.com/courses/email-configure-microsoft-graph-mailer/lessons/send-email-from-a-personal-microsoft-account-e-g-hotmail-com/"}}}))),r.createElement("td",null,r.createElement(b.a,{onChange:function(e,t){St()},checked:$.mailMultiTenanted}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Skip all checks")," ",r.createElement(N.a,{info:{title:"Skip all checks",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/209-skip-all-mail-checks"}}}))),r.createElement("td",null,r.createElement(b.a,{onChange:function(e,t){J(j(j({},$),{mailSkipAllChecks:t}))},checked:$.mailSkipAllChecks,disabled:$.mailMultiTenanted}))),(!Z||V.some((function(e){return[A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Mail,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send from a Shared Mailbox"),r.createElement(N.a,{info:{title:"Send from a Shared Mailbox",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/175-send-from-a-shared-mailbox"}}}))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(f.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},r.createElement(b.a,{onChange:function(e,t){J(j(j({},$),t?{mailSendShared:t,mailSendAs:!1,mailSendAsFrom:""}:{mailSendShared:t}))},checked:$.mailSendShared,disabled:$.mailSendAs}),$.mailSendAs&&r.createElement("em",null,"Uncheck ",r.createElement("strong",null,"Send as / Send on behalf of")," to enable"))))),$.mailSendShared&&(!Z||V.some((function(e){return[A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Mail,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Shared Mailbox"))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(D.a,{size:A.q.medium,isValid:function(e,t){return!0},onValid:function(e){return J(j(j({},$),{mailSendSharedFrom:e}))},bound:!1,defaultValue:$.mailSendSharedFrom,value:$.mailSendSharedFrom,placeholder:l.a.infoMailFrom,vertical:!0,disabled:$.mailSendAs})))),(!Z||V.some((function(e){return[A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Mail,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send as / Send on behalf of"),r.createElement(N.a,{info:{title:"Send as / Send on behalf of",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/176-send-as-send-on-behalf-of"}}}))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(f.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},r.createElement(b.a,{onChange:function(e,t){J(j(j({},$),t?{mailSendAs:t,mailSendShared:!1,mailSendSharedFrom:""}:{mailSendAs:t}))},checked:$.mailSendAs,disabled:$.mailSendShared}),$.mailSendShared&&r.createElement("em",null,"Uncheck ",r.createElement("strong",null,"Send from a Shared Mailbox")," to enable"))))),$.mailSendAs&&(!Z||V.some((function(e){return[A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Mail,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send as / Send on behalf of Mailbox"))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(D.a,{size:A.q.medium,isValid:function(e,t){return!0},onValid:function(e){return J(j(j({},$),{mailSendAsFrom:e}))},bound:!1,defaultValue:$.mailSendAsFrom,value:$.mailSendAsFrom,placeholder:l.a.infoMailFrom,vertical:!0,disabled:$.mailSendShared})))),(!Z||V.some((function(e){return[A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Mail,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,'Allow forms to override "From" address'),r.createElement(N.a,{info:{title:'Allow forms to override "From" address',readMore:{title:"Read online",url:"https://docs.wpo365.com/article/177-allow-forms-to-override-from-address"}}}))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement("div",{className:s.wpo365WzCheckbox},r.createElement(b.a,{onChange:function(e,t){return J(j(j({},$),{mailAllowFrom:t}))},checked:$.mailAllowFrom}))))),(!Z||V.some((function(e){return[A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Mail,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Reply-to"))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return!t||/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/i.test(t)},onValid:function(e){return J(j(j({},$),{mailReplyTo:e}))},bound:!1,defaultValue:$.mailReplyTo,value:$.mailReplyTo,placeholder:l.a.infoMailFrom,errorMessage:l.a.errMustBeValidEmail,vertical:!0})))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send email formatted as HTML"))),r.createElement("td",null,r.createElement(m.a,{options:[{key:"select",text:"Select",itemType:h.a.Header},{key:"Text",text:"Text"},{key:"Html",text:"Html"}],selectedKey:$.mailMimeType,onChange:function(e,t){return J(j(j({},$),{mailMimeType:t.key}))},style:{maxWidth:"400px"}}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Save to Sent Items"))),r.createElement("td",null,r.createElement("div",{className:s.wpo365WzCheckbox},r.createElement(b.a,{onChange:function(e,t){return J(j(j({},$),{mailSaveToSentItems:t}))},checked:$.mailSaveToSentItems})))),(!Z||V.some((function(e){return[A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Mail,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement(r.Fragment,null,r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send to Bcc instead"))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement("div",{className:s.wpo365WzCheckbox},r.createElement(b.a,{onChange:function(e,t){return J(j(j({},$),{mailSendToBcc:t}))},checked:$.mailSendToBcc}))))),$.mailSendToBcc&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Default To: recipient"))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return!0},onValid:function(e){return J(j(j({},$),{mailDefaultRecipient:e}))},bound:!1,defaultValue:$.mailDefaultRecipient,value:$.mailDefaultRecipient,placeholder:l.a.infoMailFrom,vertical:!0}))))),r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement("h3",{className:s.wpo365WzSectionTitle},"Test configuration"))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send test email to recipients"))),r.createElement("td",null,r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return!0},onValid:function(e){return Ee(e)},bound:!1,defaultValue:Ce,value:Ce,placeholder:l.a.infoTestMailTo,vertical:!0}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send test email to CC recipients"))),r.createElement("td",null,r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return!0},onValid:function(e){return ke(e)},bound:!1,defaultValue:xe,value:xe,placeholder:l.a.infoTestMailTo,vertical:!0}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send test email BCC recipients"))),r.createElement("td",null,r.createElement(D.a,{size:A.q.large,isValid:function(e,t){return!0},onValid:function(e){return Te(e)},bound:!1,defaultValue:Ie,value:Ie,placeholder:l.a.infoTestMailTo,vertical:!0}))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Send test email with attachment"))),r.createElement("td",null,r.createElement("div",{className:s.wpo365WzCheckbox},r.createElement(b.a,{onChange:function(e,t){return Me(t)},checked:De})))),r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement("h3",{className:s.wpo365WzSectionTitle},"Mail Audit"))),(!Z||V.some((function(e){return[A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Mail,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro].some((function(t){return t==e}))})))&&r.createElement(r.Fragment,null,r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Enable Mail Staging Mode"),r.createElement(N.a,{info:{title:"Enable Mail Staging Mode",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/171-mail-staging-mode"}}}))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement("div",{className:s.wpo365WzRowifier},r.createElement(c.a,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:$.mailStagingMode,onChange:function(e,t){return yt($.mailStagingMode,(function(e){J(j(j({},$),{mailStagingMode:e,mailLog:!!t||$.mailLog,mailAutoRetry:!t&&$.mailAutoRetry,mailThrottlingEnabled:!t&&$.mailThrottlingEnabled})),Fe("stagingMode")}),"Important",'<p>By checking this option, the <strong>WPO365</strong> plugin will no \n                                   longer send emails using Microsoft Graph but instead will log the email that \n                                   was intended to be sent. This makes especially sense for a staging environment.</p>\n                                   <p>Please make sure that you have read the <a href="https://docs.wpo365.com/article/171-mail-staging-mode"\n                                   target="_blank">online documentation</a>.</p>')}}),"stagingMode"==je&&r.createElement(u.a,{size:d.a.small}))))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Log all emails sent"))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement("div",{className:s.wpo365WzCheckbox+" "+s.wpo365WzRowifier},r.createElement(b.a,{onChange:function(e,t){return J(j(j({},$),{mailLog:t}))},checked:$.mailLog,disabled:$.mailStagingMode}),$.mailLog&&r.createElement("span",{style:{paddingLeft:"20px"}},r.createElement("a",{href:"#mailLogViewer"},"View logs")))))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Mail log retention"),r.createElement(N.a,{info:{title:"Mail log retention",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/217-mail-log-retention"}}}))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(D.a,{size:A.q.small,isValid:function(e,t){return!isNaN(parseInt(t))},onValid:function(e){J(j(j({},$),{mailLogRetention:parseInt(e)}))},bound:!1,errorMessage:"Only numeric input is accepted",defaultValue:$.mailLogRetention.toString(),value:$.mailLogRetention.toString(),placeholder:"e.g. 45",vertical:!0})))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Throttle # of emails / minute"),r.createElement(N.a,{info:{title:"Throttle number of emails sent per minute",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/182-throttle-the-number-of-emails-sent-per-minute"}}}))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(L.a,{requiredVersions:[{addOn:A.e.wpo365Mail,minVersion:24},{addOn:A.e.wpo365LoginPremium,minVersion:24},{addOn:A.e.wpo365Sync5y,minVersion:24},{addOn:A.e.wpo365LoginIntranet,minVersion:24},{addOn:A.e.wpo365Integrate,minVersion:24},{addOn:A.e.wpo365Pro,minVersion:24},{addOn:A.e.wpo365Intranet5y,minVersion:24},{addOn:A.e.wpo365Customers,minVersion:24}]},r.createElement(f.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},r.createElement(c.a,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:$.mailThrottlingEnabled,onChange:function(e,t){return yt($.mailThrottlingEnabled,(function(e){J(j(j({},$),{mailThrottlingEnabled:e,mailAutoRetry:!!t||$.mailAutoRetry,mailLog:!!t||$.mailLog})),Fe("autoRetry")}),"Important",'<p>Checking this option will automatically enable the plugin\'s ability to resend failed emails automatically. And it is for\n                                    that reason that the plugin will add a new WP-Cron job to your system. It is your responsibility to ensure that WP-Cron jobs \n                                    are running frequently. Please check <a href="https://docs.wpo365.com/article/135-hooking-wp-cron-into-a-task-scheduling-service"\n                                    target="_blank">our online documentation</a> how you can improve the stability of WP-Cron and simulate a situation in which\n                                    WP-Cron is running continiously.</p>')},disabled:$.mailStagingMode}),$.mailThrottlingEnabled&&r.createElement(m.a,{options:[{key:"2",text:"2"},{key:"10",text:"10"},{key:"20",text:"20"},{key:"30",text:"30"}],selectedKey:$.mailThreshold.toString(),onChange:function(e,t){return J(j(j({},$),{mailThreshold:parseInt(t.key)}))}})))))),r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Resending failed emails automatically"),r.createElement(N.a,{info:{title:"Resending failed emails automatically",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/183-resending-failed-emails-automatically"}}}))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(L.a,{requiredVersions:[{addOn:A.e.wpo365Mail,minVersion:24},{addOn:A.e.wpo365LoginPremium,minVersion:24},{addOn:A.e.wpo365Sync5y,minVersion:24},{addOn:A.e.wpo365LoginIntranet,minVersion:24},{addOn:A.e.wpo365Intranet5y,minVersion:24},{addOn:A.e.wpo365Customers,minVersion:24},{addOn:A.e.wpo365Integrate,minVersion:24},{addOn:A.e.wpo365Pro,minVersion:24}]},r.createElement(f.a,{tokens:{childrenGap:0}},r.createElement(f.a,{horizontal:!0,verticalAlign:"center"},r.createElement(c.a,{styles:{root:{marginBottom:"0px",marginRight:"10px"}},checked:$.mailAutoRetry,onChange:function(e,t){return yt($.mailAutoRetry,(function(e){J(j(j({},$),{mailAutoRetry:e,mailLog:!!t||$.mailLog})),Fe("autoRetry")}),"Important",'<p>Checking this option will add a new WP-Cron job to your system. It is your responsibility to ensure that WP-Cron jobs are\n                                    running frequently. Please check <a href="https://docs.wpo365.com/article/135-hooking-wp-cron-into-a-task-scheduling-service"\n                                    target="_blank">our online documentation</a> how you can improve the stability of WP-Cron and simulate a situation in which\n                                    WP-Cron is running continuously.</p>')},disabled:$.mailStagingMode}),"autoRetry"==je&&r.createElement(u.a,{size:d.a.small}),$.mailAutoRetry&&!st&&r.createElement(y.a,{content:r.createElement("span",null,"This feature did not correctly initialize. Please try to reactivate it."),id:"tooltip_mail_auto_retry_error",calloutProps:{gapSpace:0},styles:{root:{display:"inline-block",cursor:"pointer",color:"#CC0000",height:"27px"}}},r.createElement(p.a,{iconName:"Warning"}))),ut&&r.createElement("div",{style:{color:"#cc0000"}},ut)))))),$.mailAutoRetry&&r.createElement("tr",null,r.createElement("th",null,r.createElement("div",{className:s.wpo365WzRowifier},r.createElement("span",null,"Interval in seconds between first, second and last attempt"))),r.createElement("td",null,r.createElement(I.a,{extensions:V,targets:[A.e.wpo365Mail,A.e.wpo365LoginPremium,A.e.wpo365Sync5y,A.e.wpo365LoginIntranet,A.e.wpo365Intranet5y,A.e.wpo365Customers,A.e.wpo365Integrate,A.e.wpo365Pro]},r.createElement(L.a,{requiredVersions:[{addOn:A.e.wpo365Mail,minVersion:24},{addOn:A.e.wpo365LoginPremium,minVersion:24},{addOn:A.e.wpo365Sync5y,minVersion:24},{addOn:A.e.wpo365LoginIntranet,minVersion:24},{addOn:A.e.wpo365Intranet5y,minVersion:24},{addOn:A.e.wpo365Customers,minVersion:24},{addOn:A.e.wpo365Integrate,minVersion:24},{addOn:A.e.wpo365Pro,minVersion:24}]},r.createElement(f.a,{tokens:{childrenGap:10}},$.mailIntervals.map((function(e,t){return r.createElement(D.a,{size:A.q.small,isValid:function(e,t){return!isNaN(parseInt(t))},onValid:function(e){var n=W($.mailIntervals);n[t]=parseInt(e),J(j(j({},$),{mailIntervals:n}))},bound:!1,errorMessage:"Only numeric input is accepted",defaultValue:$.mailIntervals[t].toString(),value:$.mailIntervals[t].toString(),placeholder:"e.g. 3600",vertical:!0})})))))))),r.createElement("tr",null,r.createElement("th",null),r.createElement("td",null,r.createElement("div",{className:s.wpo365WzColumnifier},r.createElement(f.a,{horizontal:!0,tokens:{childrenGap:10}},r.createElement(C.a,{onClick:function(){return Ct()},iconProps:{iconName:ye==A.p.success?"Like":void 0},style:{minWidth:"400px",maxWidth:"400px",minHeight:"30px",alignSelf:"start"},disabled:ye==A.p.saving||"authorized"!=me},"Save configuration + send test email"),Re===A.r.testing&&r.createElement(u.a,{size:d.a.small})),r.createElement("div",{className:s.wpo365WzLabelFor},"unauthorized"==me&&r.createElement("p",{className:s.wpo365WzP},"You must first complete the ",r.createElement("strong",null,"Authorization")," before you can send a ",r.createElement("em",null,"test email")),ye==A.p.success?r.createElement("p",{style:{color:"#378805"}},l.a.okSettingsUpdated):null,ge.map((function(e){return r.createElement("p",{className:s.wpo365WzP,dangerouslySetInnerHTML:{__html:e}})})),Re==A.r.success&&r.createElement("p",{className:s.wpo365WzP,style:{color:"#378805"}},"Test email was sent successfully (but still you should check the ",r.createElement("a",{href:"#debug"},"Debug Log")," for possible warnings / errors)")))))),r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement(O.a,null))),re&&r.createElement(k.a,{onCancel:re.onCancel,onConfirm:re.onConfirm,onDismiss:re.onDismiss,title:re.title,subText:re.subText}))))),r.createElement(E.a,{hidden:!Ue,onDismiss:function(){return Ve("")},dialogContentProps:{type:S.a.normal,title:"Advisor"},modalProps:{isBlocking:!0,styles:{main:{maxWidth:"600px !important"}}}},r.createElement("div",{dangerouslySetInnerHTML:{__html:Ue}}),r.createElement(x.a,null,r.createElement(C.a,{onClick:function(){return Ve("")},text:"Close"}))),r.createElement(E.a,{hidden:"hidden"==rt,onDismiss:function(){return it("hidden")},dialogContentProps:{type:S.a.normal,title:"Status check mail authorization"},modalProps:{isBlocking:!0,styles:{main:{maxWidth:"600px !important"}}}},"deleteAppOnly"==rt&&r.createElement("p",null,"Let's check the status of the mail authorization. A new mail authorization with ",r.createElement("em",null,"Application permissions")," will be requested. An existing mail authorization with"," ",r.createElement("em",null,"Delegated permissions")," (if found) will not be deleted."),"deleteDelegated"==rt&&r.createElement("p",null,"Let's check the status of the mail authorization. An existing mail authorization with ",r.createElement("em",null,"Delegated permissions")," (if found) will be deleted."),"deleteBoth"==rt&&r.createElement("p",null,"Let's check the status of the mail authorization. All existing mail authorizations with both ",r.createElement("em",null,"Application permissions")," and / or ",r.createElement("em",null,"Delegated permissions")," (if found) will be deleted."),r.createElement("p",null,"Once the test completes you can read the status from the two checkbox status indicators for ",r.createElement("em",null,"Application permissions")," and ",r.createElement("em",null,"Delegated permissions"),"."),r.createElement("p",null,"If ",r.createElement("em",null,"Application permissions")," is checked, it means that application-level permissions have been detected. The plugin is now ready to send email using Microsoft Graph using these permissions. If you want to add / remove application-level permissions, then please make sure that you have added / removed application-level ",r.createElement("em",null,"Mail.Send")," permisisons from the"," ",r.createElement("em",null,"App registration"),"'s"," ",r.createElement("a",{href:"https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/CallAnAPI/appId/"+$.mailApplicationId+"/isMSAApp/",target:"_blank"},r.createElement("em",null,"API Permissions")," page")," ","in ",r.createElement("em",null,"Azure AD")," and wait a few minutes before checking again."),r.createElement("p",null,"If ",r.createElement("em",null,"Delegated permissions")," is checked, it means that user-level permissions have been detected. The plugin is now ready to send emails using Microsoft Graph using these permissions. If you want to remove user-level permissions, then simply remove the check from the status checkbox. To configure user-level permissions, enter a ",r.createElement("em",null,"(Default) From")," and click the"," ",r.createElement("em",null,"Authorize")," button."),r.createElement(x.a,null,r.createElement(f.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},r.createElement(f.a.Item,{grow:!1},r.createElement(f.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},r.createElement(g.a,{onClick:function(){return it("hidden")},text:"Cancel"}),r.createElement(C.a,{onClick:function(){wt(rt&&"deleteAppOnly"!=rt,rt&&"deleteDelegated"!=rt),it("hidden")},text:"Check status"}))),r.createElement(f.a.Item,{grow:!0},r.createElement(f.a,{horizontal:!0,verticalAlign:"center",horizontalAlign:"end",tokens:{childrenGap:10}},r.createElement(C.a,{onClick:function(){return _t()},styles:{root:{maxHeight:"30px",maxWidth:"90px"}},disabled:!ue},"Authorize")))))))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var o,r=n(0),i=n(4),a=n(13),s=n(32),l=n(1),c=n(10),u=n(6),d=n(11),p=n(77),m=n(25),h=n(73),f=n(33),g=n(100),b=n(31),v=n(9),y=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),w=function(){return(w=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(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())}))},C=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},E=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o},S=function(e){function t(t){var n=e.call(this,t)||this;n.toggleUseWpCli=function(){n.setState((function(e,t){return{useWpCli:!e.useWpCli}}))},n.toggleUseWpConfigFrags=function(){n.setState((function(e,t){return{useWpConfigFrags:!e.useWpConfigFrags}}))},n.toggleSkipNonceVerification=function(){if(n.state.skipNonceVerification)n.setState({skipNonceVerification:!1});else{var e={title:u.a.titleSkipNonceVerification,subText:u.a.subTextSkipNonceVerification,onDismiss:function(){return n.setState({additionalInfo:null})},onCancel:function(){return n.setState({additionalInfo:null})},onConfirm:function(){return n.setState({additionalInfo:null,skipNonceVerification:!0})}};n.setState({additionalInfo:e})}},n.toggleUseIdTokenParserV2=function(){if(n.state.useIdTokenParserV2)n.setState({useIdTokenParserV2:!1});else{var e={title:u.a.titleUseIdTokenParserV2,subText:u.a.subTextUseIdTokenParserV2,onDismiss:function(){return n.setState({additionalInfo:null})},onCancel:function(){return n.setState({additionalInfo:null})},onConfirm:function(){return n.setState({additionalInfo:null,useIdTokenParserV2:!0})}};n.setState({additionalInfo:e})}},n.togglePreventSendEmailChangeEmail=function(){n.setState((function(e,t){return{preventSendEmailChangeEmail:!e.preventSendEmailChangeEmail}}))},n.togglePreventSendPasswordChangeEmail=function(){n.setState((function(e,t){return{preventSendPasswordChangeEmail:!e.preventSendPasswordChangeEmail}}))},n.toggleSkipHostVerification=function(){n.setState((function(e,t){return{skipHostVerification:!e.skipHostVerification}}))},n.toggleValidateOnPluginsLoaded=function(){n.setState((function(e,t){return{validateOnPluginsLoaded:!e.validateOnPluginsLoaded}}))},n.toggleSkipWpLoginAction=function(){n.setState((function(e,t){return{skipWpLoginAction:!e.skipWpLoginAction}}))},n.toggleSkipUserRegisterAction=function(){n.setState((function(e,t){return{skipUserRegisterAction:!e.skipUserRegisterAction}}))},n.toggleUseMsTeamsSsoV1=function(){n.setState((function(e,t){return{useMsTeamsSsoV1:!e.useMsTeamsSsoV1}}))},n.toggleBounceToAdmin=function(){n.setState((function(e,t){return{bounceToAdmin:!e.bounceToAdmin}}))},n.toggleUseNoTeamsSso=function(){if(n.state.useNoTeamsSso)n.setState({useNoTeamsSso:!1});else{var e={title:"Important",subText:"If you check this option to enable support for IE 11, integration with Microsoft Teams is no longer possible.",onDismiss:function(){return n.setState({additionalInfo:null})},onCancel:function(){return n.setState({additionalInfo:null})},onConfirm:function(){return n.setState({additionalInfo:null,useNoTeamsSso:!0})}};n.setState({additionalInfo:e})}},n.toggleUseLoaderV1=function(){n.setState((function(e,t){return{useLoaderV1:!e.useLoaderV1}}))};var o=n.props.settings;return n.state={additionalInfo:null,bounceToAdmin:o.bounceToAdmin,errors:[],leeway:o.leeway,passwordLength:o.passwordLength,preventSendEmailChangeEmail:o.preventSendEmailChangeEmail,preventSendPasswordChangeEmail:o.preventSendPasswordChangeEmail,saveStatus:l.p.initial,settingsDeleted:l.c.initial,skipHostVerification:o.skipHostVerification,skipNonceVerification:o.skipNonceVerification,skipUserRegisterAction:o.skipUserRegisterAction,skipWpLoginAction:o.skipWpLoginAction,useIdTokenParserV2:o.useIdTokenParserV2,useLoaderV1:o.useLoaderV1,useLoginButtonV1:o.useLoginButtonV1,useMsTeamsSsoV1:o.useMsTeamsSsoV1,useNoTeamsSso:o.useNoTeamsSso,useWpCli:o.useWpCli,useWpConfigFrags:o.useWpConfigFrags,validateOnPluginsLoaded:o.validateOnPluginsLoaded},n}return y(t,e),t.prototype.componentDidUpdate=function(e){if(this.props.settings!==e.settings){var t=this.props.settings;this.setState({additionalInfo:null,bounceToAdmin:t.bounceToAdmin,leeway:t.leeway,passwordLength:t.passwordLength,preventSendEmailChangeEmail:t.preventSendEmailChangeEmail,preventSendPasswordChangeEmail:t.preventSendPasswordChangeEmail,skipHostVerification:t.skipHostVerification,skipNonceVerification:t.skipNonceVerification,skipUserRegisterAction:t.skipUserRegisterAction,skipWpLoginAction:t.skipWpLoginAction,useIdTokenParserV2:t.useIdTokenParserV2,useLoaderV1:t.useLoaderV1,useLoginButtonV1:t.useLoginButtonV1,useMsTeamsSsoV1:t.useMsTeamsSsoV1,useNoTeamsSso:t.useNoTeamsSso,useWpCli:t.useWpCli,useWpConfigFrags:t.useWpConfigFrags,validateOnPluginsLoaded:t.validateOnPluginsLoaded})}},t.prototype.render=function(){var e=this;return r.createElement(i.t,null,r.createElement(i.u,null,r.createElement(i.s,null,r.createElement(i.x,null,"Miscellaneous"),r.createElement(b.a,null)),r.createElement(i.y,{dangerouslySetInnerHTML:{__html:"Use this tab to configure general plugin behavior and to re-activate older / deprecated features, functions or behaviors."}})),r.createElement(i.A,null,r.createElement(g.a,{extensions:this.props.env.props.extensions,targets:[l.e.wpo365Mail,l.e.wpo365LoginProfessional,l.e.wpo365Essentials,l.e.wpo365Customers,l.e.wpo365LoginPremium,l.e.wpo365Sync5y,l.e.wpo365LoginIntranet,l.e.wpo365Intranet5y,l.e.wpo365Integrate,l.e.wpo365Pro]},r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Use WP-Config.php to override (some) config options")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleUseWpConfigFrags,checked:this.state.useWpConfigFrags})),r.createElement(v.a,{info:{title:"Use WP-Config.php to override (some) config options",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/172-use-wp-config-php-to-override-some-config-options"}}}))))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Skip authentication for WP-CLI")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleUseWpCli,checked:this.state.useWpCli})),r.createElement(v.a,{info:{title:"Skip authentication for WP-CLI",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/173-skip-authentication-for-wp-cli"}}})))),this.props.env.props.extensions.indexOf(l.e.wpo365Login)>-1&&r.createElement(r.Fragment,null,r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Don't fire wp-login action")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleSkipWpLoginAction,checked:this.state.skipWpLoginAction})),r.createElement(v.a,{info:{title:"Don't fire wp-login action",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/95-skip-wplogin-action"}}})))),r.createElement(g.a,{extensions:this.props.env.props.extensions,targets:[l.e.wpo365LoginPlus,l.e.wpo365LoginProfessional,l.e.wpo365Essentials,l.e.wpo365Customers,l.e.wpo365LoginPremium,l.e.wpo365Sync5y,l.e.wpo365LoginIntranet,l.e.wpo365Intranet5y,l.e.wpo365Integrate,l.e.wpo365Pro,l.e.wpo365RolesAccess]},r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,'Prevent WordPress to send "email changed" emails')),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.togglePreventSendEmailChangeEmail,checked:this.state.preventSendEmailChangeEmail})),r.createElement(v.a,{info:{title:'Prevent WordPress to send "email changed" email',readMore:{title:"Read online",url:"https://docs.wpo365.com/article/115-prevent-wordpress-to-send-email-changed-email"}}})))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,'Prevent WordPress to send "password changed" emails')),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.togglePreventSendPasswordChangeEmail,checked:this.state.preventSendPasswordChangeEmail})),r.createElement(v.a,{info:{title:'Prevent WordPress to send "password changed" email',readMore:{title:"Read online",url:"https://docs.wpo365.com/article/148-prevent-wordpress-to-send-password-changed-email"}}})))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Don't fire user_register action")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleSkipUserRegisterAction,checked:this.state.skipUserRegisterAction})),r.createElement(v.a,{info:{title:"Don't fire user_register action",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/91-skip-userregister-action"}}}))))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Validate on plugins_loaded")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleValidateOnPluginsLoaded,checked:this.state.validateOnPluginsLoaded})),r.createElement(v.a,{info:{title:"Validate on plugins_loaded",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/104-validate-on-plugins-loaded"}}})))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Use Firebase\\JWT instead of phpseclib")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleUseIdTokenParserV2,checked:this.state.useIdTokenParserV2}))))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Use loader animation V1 (bars)")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleUseLoaderV1,checked:this.state.useLoaderV1}))))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Use Microsoft Teams SSO V1")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleUseMsTeamsSsoV1,checked:this.state.useMsTeamsSsoV1})),r.createElement(v.a,{info:{title:"Use Microsoft Teams SSO V1",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/70-adding-a-wordpress-tab-to-microsoft-teams-and-use-single-sign-on"}}})))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Use login-button template V1")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:function(t,n){return e.setState({useLoginButtonV1:n})},checked:this.state.useLoginButtonV1}))))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"IE 11 compatibility mode")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleUseNoTeamsSso,checked:this.state.useNoTeamsSso}))))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Use admin URL to initiate authentication")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleBounceToAdmin,checked:this.state.bounceToAdmin})),r.createElement(v.a,{info:{title:"Use admin URL to initiate authentication",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/219-use-admin-url-to-initiate-authentication"}}})))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Password length")),r.createElement(i.v,null,r.createElement(c.a,{size:l.q.large,isValid:function(e,t){return/^\d+$/.test(t)},onValid:function(t){e.setState({passwordLength:parseInt(t)})},bound:!1,errorMessage:u.a.errPasswordLengthMustBeNumeric,defaultValue:this.state.passwordLength.toString(),value:this.state.passwordLength.toString(),placeholder:u.a.infoPasswordLength},r.createElement(v.a,{info:{title:"Password length",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/138-password-length"}}}))))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Skip NONCE verification")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleSkipNonceVerification,checked:this.state.skipNonceVerification})),r.createElement(v.a,{info:{title:"Skip NONCE verification",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/97-skip-nonce-verification"}}})))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"(cURL) Skip SSL host verification")),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(i.e,null,r.createElement(m.a,{onChange:this.toggleSkipHostVerification,checked:this.state.skipHostVerification})),r.createElement(v.a,{info:{title:"Skip SSL host verification",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/102-skip-ssl-host-verification"}}})))),r.createElement(i.z,null,r.createElement(i.v,null,r.createElement(i.i,null,"Leeway")),r.createElement(i.v,null,r.createElement(c.a,{size:l.q.large,isValid:function(e,t){return/^\d+$/.test(t)},onValid:function(t){e.setState({leeway:parseInt(t)})},bound:!1,errorMessage:u.a.errLeewayMustBeNumeric,defaultValue:this.state.leeway.toString(),value:this.state.leeway.toString(),placeholder:u.a.infoLeeway},r.createElement(v.a,{info:{title:"Leeway time",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/157-leeway"}}})))),r.createElement(i.z,null,r.createElement(i.v,null),r.createElement(i.v,null,r.createElement(i.r,null,r.createElement(h.a,{onClick:function(){return e.saveConfiguration()},iconProps:{iconName:this.state.saveStatus==l.p.success?"Like":void 0},style:{minWidth:"400px",minHeight:"30px"},disabled:this.state.saveStatus==l.p.saving},"Save configuration"),r.createElement(i.f,null,Object(d.b)(this.state.errors,"saveConfiguration").map((function(e){return r.createElement(i.q,null,e.message)}))),this.state.saveStatus==l.p.success?r.createElement("p",{style:{color:"#378805"}},u.a.okSettingsUpdated):null)))),r.createElement(p.a,null),this.state.additionalInfo&&r.createElement(f.a,{onCancel:this.state.additionalInfo.onCancel,onConfirm:this.state.additionalInfo.onConfirm,onDismiss:this.state.additionalInfo.onDismiss,title:this.state.additionalInfo.title,subText:this.state.additionalInfo.subText}))},t.prototype.saveConfiguration=function(){return _(this,void 0,void 0,(function(){var e,t,n=this;return C(this,(function(o){switch(o.label){case 0:return this.setState({saveStatus:l.p.saving}),(e=w({},this.props.settings)).leeway=this.state.leeway,e.bounceToAdmin=this.state.bounceToAdmin,e.passwordLength=this.state.passwordLength,e.preventSendEmailChangeEmail=this.state.preventSendEmailChangeEmail,e.preventSendPasswordChangeEmail=this.state.preventSendPasswordChangeEmail,e.skipHostVerification=this.state.skipHostVerification,e.skipNonceVerification=this.state.skipNonceVerification,e.skipUserRegisterAction=this.state.skipUserRegisterAction,e.skipWpLoginAction=this.state.skipWpLoginAction,e.useIdTokenParserV2=this.state.useIdTokenParserV2,e.useLoaderV1=this.state.useLoaderV1,e.useLoginButtonV1=this.state.useLoginButtonV1,e.useMsTeamsSsoV1=this.state.useMsTeamsSsoV1,e.useNoTeamsSso=this.state.useNoTeamsSso,e.useWpCli=this.state.useWpCli,e.useWpConfigFrags=this.state.useWpConfigFrags,e.validateOnPluginsLoaded=this.state.validateOnPluginsLoaded,[4,a.a.updateSettings(this.props.env,e)];case 1:return(t=o.sent()).success?(a.a.getSettings(this.props.env).then((function(e){return n.props.updateSettings(e)})),this.setState({errors:[],saveStatus:l.p.success})):this.setState((function(e,n){return{errors:E(e.errors,[new s.a("saveConfiguration",t.message,2e3)]),saveStatus:l.p.error}})),[2]}}))}))},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n(0),r=n(12),i=n(11),a=n(30),s=n(165),l=n(73),c=function(e){var t=o.useContext(r.a).env.props.licNotices,n=e.dismiss,c=o.useMemo((function(){return Object(i.g)(t,["No license notices found"])}),[]),u=o.useState(0),d=u[0],p=u[1];return o.useEffect((function(){if(d<=1){var e=setInterval((function(){p(.02+d)}),200);return function(){clearInterval(e)}}})),o.createElement("div",{style:{background:"#f0f0f1"}},o.createElement(a.a,{tokens:{childrenGap:10}},o.createElement(s.a,{percentComplete:d}),Array.isArray(c)&&c.map((function(e){return o.createElement("div",{style:{background:"#ffffff",padding:"20px 40px",border:"1px solid #c3c4c7",margin:"20px 40px",borderLeftWidth:"4px",boxShadow:"0 1px 1px rgba(0,0,0,.04)",borderLeftColor:"#d63638",borderStyle:"solid"}},o.createElement("p",{dangerouslySetInnerHTML:{__html:e}}))})),o.createElement(a.a.Item,{align:"end"},o.createElement(l.a,{styles:{root:{marginRight:"40px",marginBottom:"20px"}},onClick:function(){sessionStorage.setItem("wpo365HideLicenseNotice","hide"),n()},disabled:d<1},"Remind me later"))))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(0),r=function(e){var t=o.useState("3px 3px 20px rgb(0 0 0 / 0.2)"),n=t[0],r=t[1],i={position:"fixed",width:"60px",height:"60px",bottom:"35px",right:"35px",backgroundColor:"#f2f2f2",borderRadius:30,lineHeight:60,color:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #0078D4",boxShadow:n,cursor:"pointer"};return o.createElement("div",{style:i,onMouseEnter:function(){return r("3px 3px 20px rgb(0 0 0 / 0.6)")},onMouseLeave:function(){return r("0 3px 10px rgb(0 0 0 / 0.2)")},onClick:function(){return window.open("https://www.wpo365.com/contact/")}},o.createElement("svg",{width:"25",height:"34",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"#0078D4"},o.createElement("path",{d:"M202 0C122.2 0 70.5 32.7 29.9 91c-7.4 10.6-5.1 25.1 5.2 32.9l43.1 32.7c10.4 7.9 25.1 6 33.3-4.1 25-31.4 43.6-49.4 82.8-49.4 30.8 0 68.8 19.8 68.8 49.6 0 22.6-18.6 34.1-49 51.2-35.4 19.9-82.3 44.6-82.3 106.4V320c0 13.3 10.7 24 24 24h72.5c13.3 0 24-10.7 24-24v-5.8c0-42.9 125.3-44.6 125.3-160.6C377.5 66.3 286.9 0 202 0zM192 373.5c-38.2 0-69.3 31.1-69.3 69.3 0 38.2 31.1 69.3 69.3 69.3s69.3-31.1 69.3-69.3-31.1-69.3-69.3-69.3z"})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return V}));var o=n(0),r=n(30),i=n(62),a=n(34),s=n(119),l=n(143),c=n(7),u=n(79),d=n(80),p=function(e){var t=e.alwaysOn,n=e.checked,i=e.labelOff,a=e.labelOn,s=e.onChange,l=e.page,p=o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10},styles:{root:{alignItems:"center"}}},o.createElement("span",null,n?a||"Enabled":i||"Disabled"),l&&n&&o.createElement("span",{style:c.a,onClick:function(e){window.location.hash=l,e.preventDefault(),e.stopPropagation()}},"configure ",o.createElement(u.a,{iconName:"NavigateExternalInline",title:"Configure",ariaLabel:"Configure"})));return o.createElement(d.a,{disabled:t,styles:{root:{maxHeight:"45px",marginBottom:"0px"}},onChange:s,checked:n,inlineLabel:!0,label:p})},m=n(12),h=n(13),f=n(1),g=n(11),b=function(){return(b=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)},v=function(e){var t=o.useContext(m.a),n=t.env,u=t.settings,d=t.updateSettings,v=o.useState(u.useGraphMailer),y=v[0],w=v[1],_=o.useState("initial"),C=_[0],E=_[1];o.useEffect((function(){w(u.useGraphMailer)}),[u.useGraphMailer]),o.useEffect((function(){"dirty"==C&&(E("loading"),h.a.updateSettings(n,b(b({},u),{useGraphMailer:y})).then((function(e){e.success?h.a.getSettings(n).then((function(e){d(e),E("initial")})).catch((function(e){console.error(e),E("errors")})):E("errors")})).catch((function(e){console.error(e),E("errors")})))}),[y]);return o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement("h3",null,"MAIL"))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If enabled, admins can re-configure WordPress to send emails using Microsoft Graph (instead of SMTP). The following features are supported:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Send mail as HTML"),o.createElement("li",null,"Save to Sent Items"),o.createElement("li",null,"Send WordPress files as attachments")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10}},o.createElement(p,{checked:y,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){E("dirty"),w(t)},page:f.n.mail}),"loading"==C&&o.createElement(i.a,{size:a.a.small}),"errors"==C&&o.createElement(s.a,{content:o.createElement("span",null,"Could not save your changes. Please try again or check the Developer Console (F12) for errors."),id:"tooltip_"+Object(g.f)(4),calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},o.createElement(l.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}}))))))},y=n(121),w=function(e){var t=e.alwaysOn,n=e.checked,i=e.labelOff,a=e.labelOn,s=e.onChange,l=e.page,p=e.targets,h=o.useContext(m.a).env.props.extensions,g=p.some((function(e){return h.some((function(t){return t===e}))})),b=[],v=o.useMemo((function(){return[f.e.wpo365LoginPlus,f.e.wpo365Essentials,f.e.wpo365Mail,f.e.wpo365RolesAccess,f.e.wpo365Pro,f.e.wpo365Integrate,f.e.wpo365Customers,f.e.wpo365Scim,f.e.wpo365Apps].filter((function(e){return p.indexOf(e)>-1}))}),[]);g||p.map((function(e){var t=e in f.g?f.g[e]:{name:"NOT FOUND",url:"https://www.wpo365.com/"};v.indexOf(e)>-1&&b.push({key:t.url,text:t.name})}));var w=g?o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10},styles:{root:{alignItems:"center"}}},o.createElement("span",null,n?a||"Enabled":i||"Disabled"),l&&n&&o.createElement("span",{style:c.a,onClick:function(e){window.location.hash=l,e.preventDefault(),e.stopPropagation()}},"configure ",o.createElement(u.a,{iconName:"NavigateExternalInline",title:"Configure",ariaLabel:"Configure"}))):o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10},styles:{root:{alignItems:"center"}}},o.createElement("span",null,"Plugins: "),o.createElement(y.a,{onChange:function(e,t){return n=t.key,void window.open(n,"_blank");var n},styles:{root:{width:"150px"}},options:b,placeholder:"Select"}));return o.createElement(d.a,{disabled:!g||t,styles:{root:{maxHeight:"45px",marginBottom:"0px"}},onChange:s,checked:n,inlineLabel:!0,label:w})},_=function(e){var t=e.text;return o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10},styles:{root:{alignItems:"center"}}},o.createElement("h3",null,t),o.createElement("span",{style:c.j},o.createElement(u.a,{iconName:"Diamond",title:"Premium Feature",ariaLabel:"Premium Feature"})),o.createElement("span",null,"premium"))},C=function(e){var t=o.useContext(m.a),n=t.settings,i=t.env.props.extensions,a=(t.updateSettings,[f.e.wpo365Mail,f.e.wpo365LoginPremium,f.e.wpo365Sync5y,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365Integrate,f.e.wpo365Pro,f.e.wpo365Customers]);return n.hidePremiumOptions&&!a.some((function(e){return i.some((function(t){return t===e}))}))?null:o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"MAIL"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:20}},o.createElement(o.Fragment,null,o.createElement(r.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:c.h},o.createElement(u.a,{iconName:"Cake",title:"Highlight"}),o.createElement("div",null,"New with auto-resend")),o.createElement("p",{style:c.b},"If installed, admins can configure the following additional MAIL options:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Auto-resend on failure"),o.createElement("li",null,"Mail audit / Resend"),o.createElement("li",null,"Send large attachments (> 3 Mb) "),o.createElement("li",null,"Send from Shared Mailbox"),o.createElement("li",null,"Throttle emails / minute"),o.createElement("li",null,"Default Reply-To"),o.createElement("li",null,"Send to BCC")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},i.some((function(e){return e==f.e.wpo365MsGraphMailer}))?o.createElement(w,{alwaysOn:!0,checked:n.useGraphMailer,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){},page:f.n.mail,targets:[f.e.wpo365Mail]}):o.createElement(w,{alwaysOn:!0,checked:n.useGraphMailer,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){},page:f.n.mail,targets:a}))))},E=function(e){var t=o.useContext(m.a),n=t.settings,i=t.env.props.extensions,a=[f.e.wpo365LoginPlus,f.e.wpo365LoginProfessional,f.e.wpo365Essentials,f.e.wpo365Customers,f.e.wpo365LoginPremium,f.e.wpo365Sync5y,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365Mail,f.e.wpo365Avatar,f.e.wpo365CustomFields,f.e.wpo365RolesAccess,f.e.wpo365Scim,f.e.wpo365Integrate,f.e.wpo365Pro];return n.hidePremiumOptions&&!a.some((function(e){return i.some((function(t){return t===e}))}))?null:o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"PROFILE+"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If installed, the plugin will fetch a user's email address, first, last and fullname from Microsoft Graph and update a WordPress user profile accordingly in the following cases:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Each time a user signs in with Microsoft (SSO)"),o.createElement("li",null,"Whenever the (premium) SYNC or SCIM feature (if enabled) synchronizes users from Azure AD")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(w,{alwaysOn:!0,checked:!0,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){},targets:a}))))},S=function(){return(S=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)},x=function(e){var t=o.useContext(m.a),n=t.env,u=t.settings,d=t.env.props.extensions,p=t.updateSettings,b=[f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365Scim,f.e.wpo365Integrate],v=b.some((function(e){return d.some((function(t){return t===e}))}));if(u.hidePremiumOptions&&!v)return null;var y=o.useState(u.enableScim),C=y[0],E=y[1],x=o.useState("initial"),k=x[0],O=x[1];o.useEffect((function(){E(u.enableScim)}),[u.enableScim]),o.useEffect((function(){"dirty"==k&&(O("loading"),h.a.updateSettings(n,S(S({},u),{enableScim:C})).then((function(e){e.success?h.a.getSettings(n).then((function(e){p(e),O("initial")})).catch((function(e){console.error(e),O("errors")})):O("errors")})).catch((function(e){console.error(e),O("errors")})))}),[C]);return o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"SCIM"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If enabled, admins can configure"," ",o.createElement("a",{href:"https://docs.microsoft.com/en-us/azure/active-directory/app-provisioning/user-provisioning",target:"_blank"},"Azure AD to provision (push)")," ","users to WordPress using the built-in SCIM client."))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10}},o.createElement(w,{checked:C,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){O("dirty"),E(t)},page:f.n.userSync,targets:b}),"loading"==k&&o.createElement(i.a,{size:a.a.small}),"errors"==k&&o.createElement(s.a,{content:o.createElement("span",null,"Could not save your changes. Please try again or check the Developer Console (F12) for errors."),id:"tooltip_"+Object(g.f)(4),calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},o.createElement(l.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}}))))))},k=n(33),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)},I=function(e){var t=o.useContext(m.a),n=t.env,d=t.settings,b=t.updateSettings,v=o.useState(null),y=v[0],w=v[1],_=o.useState(d.noSso),C=_[0],E=_[1],S=o.useState("initial"),x=S[0],I=S[1];o.useEffect((function(){E(d.noSso)}),[d.noSso]),o.useEffect((function(){if("dirty"==x){I("loading");var e=O(O({},d),C?{applicationId:"",applicationSecret:"",authScenario:f.a.internet,b2cAllowMultiplePolicies:!1,b2cCustomDomain:"",b2cDomainName:"",b2cEnableSignup:!1,b2cPolicyName:"",domainHint:"",multiTenanted:!1,multiTenantedApiPermissions:[],noSso:!0,publicHomepage:!1,redirectUrl:"",rememberUser:!1,samlBaseUrl:"",samlClaimMappings:[],samlForceAuthn:!1,samlIdpEntityId:"",samlIdpSlsBinding:"",samlIdpSlsUrl:"",samlIdpSsosBinding:"",samlIdpSsosUrl:"",samlSpAcsBinding:"",useAppOnlyToken:!1,useB2c:!1,useSaml:!1,useCiam:!1,useSingleAppRegistration:!1,wpToAadCreateUsers:!1,wpToAadUserAttributeMappings:[],wpToAadIdentityProvider:void 0}:{noSso:C,redirectUrl:"/"!=n.props.siteUrl.slice(-1)?n.props.siteUrl+"/":n.props.siteUrl});h.a.updateSettings(n,e).then((function(e){e.success?h.a.getSettings(n).then((function(e){b(e),I("initial")})).catch((function(e){console.error(e),I("errors")})):I("errors")})).catch((function(e){console.error(e),I("errors")}))}}),[C]);return o.createElement(o.Fragment,null,o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement("h3",null,"SINGLE SIGN-ON (SSO)"))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement("p",null,"If enabled, WordPress users can sign into the website using their Microsoft Azure AD account: No password needed. The following features are supported:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"OpenID Connect based SSO"),o.createElement("li",null,"SAML 2.0 based SSO"),o.createElement("li",null,"Support for Azure AD B2C"),o.createElement("li",null,"Support for Entra External ID"),o.createElement("li",null,"Support for multi-tenancy ",o.createElement(u.a,{iconName:"Diamond",title:"Premium Feature",ariaLabel:"Premium Feature"})))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10}},o.createElement(p,{checked:!C,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){!function(e,t,n,o){var r={title:n,subText:o,onDismiss:function(){return w(null)},onCancel:function(){return w(null)},onConfirm:function(){w(null),t(!e)}};w(r)}(!C,(function(e){I("dirty"),E(!e)}),"Confirm",t?"<p>You are enabling Microsoft based single sign-on and can now continue to configure OpenID Connect, SAML 2.0 or Azure AD B2C based SSO.</p>":'<p>You have chosen to disable Microsoft based single sign-on. You can still configure and use other features of the WPO365 plugin e.g.\n         <ul style="list-style: intial; padding: 0px 0px 0px 20px">\n          <li>Sending email using Microsoft Graph</li>\n          <li>Synchronizing users from Azure AD to WordPress using <em>application-level</em> permissions</li>\n          <li>Embedding Power BI content when the <em>application owns the data</em></li>\n          <li>Embedding a SharePoint Library using <em>application-level</em> permissions</li>\n         </ul>\n         </p>\n         <p><strong>Important</strong> <em>Your exising WPO365 configuration will be deleted</em></p>\n         ')},page:f.n.singleSignOn}),"loading"==x&&o.createElement(i.a,{size:a.a.small}),"errors"==x&&o.createElement(s.a,{content:o.createElement("span",null,"Could not save your changes. Please try again or check the Developer Console (F12) for errors."),id:"tooltip_"+Object(g.f)(4),calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},o.createElement(l.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}})))))),y&&o.createElement(k.a,{onCancel:y.onCancel,onConfirm:y.onConfirm,onDismiss:y.onDismiss,title:y.title,subText:y.subText}))},T=function(){return(T=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},P=function(e){var t=o.useContext(m.a),n=t.env,u=t.settings,d=t.env.props.extensions,p=t.updateSettings,b=[f.e.wpo365LoginPremium,f.e.wpo365Sync5y,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365Customers,f.e.wpo365Integrate],v=b.some((function(e){return d.some((function(t){return t===e}))}));if(u.hidePremiumOptions&&!v)return null;var y=o.useState(u.enableUserSync),C=y[0],E=y[1],S=o.useState("initial"),x=S[0],k=S[1];o.useEffect((function(){E(u.enableUserSync)}),[u.enableUserSync]),o.useEffect((function(){"dirty"==x&&(k("loading"),h.a.updateSettings(n,T(T({},u),{enableUserSync:C})).then((function(e){e.success?h.a.getSettings(n).then((function(e){p(e),k("initial")})).catch((function(e){console.error(e),k("errors")})):k("errors")})).catch((function(e){console.error(e),k("errors")})))}),[C]);return o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"SYNC"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If enabled, admins can configure the plugin to synchronize (pull) users from Azure AD to WordPress. The following features are supported:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"On-demand or scheduled user synchronization"),o.createElement("li",null,"Actions to create, update, de-activate or delete users"),o.createElement("li",null,"Audit log"),o.createElement("li",null,"Mail notification for admins")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10}},o.createElement(w,{checked:C,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){k("dirty"),E(t)},page:f.n.userSync,targets:b}),"loading"==x&&o.createElement(i.a,{size:a.a.small}),"errors"==x&&o.createElement(s.a,{content:o.createElement("span",null,"Could not save your changes. Please try again or check the Developer Console (F12) for errors."),id:"tooltip_"+Object(g.f)(4),calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},o.createElement(l.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}}))))))},D=function(){return(D=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)},M=function(e){var t=o.useContext(m.a),n=t.env,u=t.settings,d=t.env.props.extensions,p=t.updateSettings,b=[f.e.wpo365RolesAccess,f.e.wpo365LoginPremium,f.e.wpo365Sync5y,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365Integrate,f.e.wpo365Pro,f.e.wpo365Customers],v=b.some((function(e){return d.some((function(t){return t===e}))}));if(u.hidePremiumOptions&&!v)return null;var y=o.useState(u.enableAudiences),C=y[0],E=y[1],S=o.useState("initial"),x=S[0],k=S[1];o.useEffect((function(){E(u.enableAudiences)}),[u.enableAudiences]),o.useEffect((function(){"dirty"==x&&(k("loading"),h.a.updateSettings(n,D(D({},u),{enableAudiences:C})).then((function(e){e.success?h.a.getSettings(n).then((function(e){p(e),k("initial")})).catch((function(e){console.error(e),k("errors")})):k("errors")})).catch((function(e){console.error(e),k("errors")})))}),[C]);return o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"AUDIENCES"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If enabled, admins can restrict access to WordPress posts and pages by requiring that a user is:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Logged in to the website"),o.createElement("li",null,"A member of a specific ",o.createElement("em",null,"audience")," (a group of users that is dynamically populated with members of one or more Azure AD groups)")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10}},o.createElement(w,{checked:C,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){k("dirty"),E(t)},page:f.n.userRegistration,targets:b}),"loading"==x&&o.createElement(i.a,{size:a.a.small}),"errors"==x&&o.createElement(s.a,{content:o.createElement("span",null,"Could not save your changes. Please try again or check the Developer Console (F12) for errors."),id:"tooltip_"+Object(g.f)(4),calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},o.createElement(l.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}}))))))},A=function(e){var t=o.useContext(m.a),n=t.settings,i=t.env.props.extensions,a=[f.e.wpo365RolesAccess,f.e.wpo365LoginPremium,f.e.wpo365Sync5y,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365Integrate,f.e.wpo365Pro,f.e.wpo365Customers],s=a.some((function(e){return i.some((function(t){return t===e}))}));return n.hidePremiumOptions&&!s?null:o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"ROLES + ACCESS"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement(r.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:c.h},o.createElement(u.a,{iconName:"Cake",title:"Highlight"}),o.createElement("div",null,"New with LearnDash integration")),o.createElement("p",{style:c.b},"If installed, admins can restrict access to the WordPress website by requiring that a user is:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Member of a specific Azure AD group"),o.createElement("li",null,"Member of a specific login domain")),o.createElement("p",{style:c.b},"Alternatively, admins can dynamically assign WordPress roles based on a user's:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Azure AD group memberships"),o.createElement("li",null,"Login domains"),o.createElement("li",null,"Specific Azure AD user profile attributes")),o.createElement("p",{style:c.b},"Plus, admins can dynamically enroll users into LearnDash courses and groups based on a user's:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Azure AD group memberships"),o.createElement("li",null,"Defaults")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(w,{alwaysOn:!0,checked:!0,labelOff:"Disabled",labelOn:"Enabled",onChange:function(){},page:f.n.userRegistration,targets:a}))))},R=function(){return(R=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)},N=function(e){var t=o.useContext(m.a),n=t.env.props.extensions,i=(t.updateSettings,[f.e.wpo365Apps,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,,f.e.wpo365Integrate].some((function(e){return n.some((function(t){return t===e}))})));return o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement("h3",null,"M365 APPS"))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"Use these apps to embed Microsoft services and content such as Power BI, SharePoint Online and Yammer in a WordPress page or post using a simple WordPress shortcode."),o.createElement("p",{style:c.b},o.createElement("em",null,"Please note that each app also has a"," ",o.createElement("a",{href:"https://www.wpo365.com/downloads/wpo365-microsoft-365-apps/",target:"_blank"},"premium alternative")," ","offering advanced features.")),o.createElement("ul",{style:c.b},o.createElement("li",null,"Embed Power BI reports, dashboards, etc."," ",o.createElement("a",{style:{marginTop:"5px"},href:"#"+f.n.pbiConfigurator},"Configure")),o.createElement("li",null,"Embed a SharePoint / OneDrive Library or List"," ",o.createElement("a",{style:{marginTop:"5px"},href:"#"+f.n.listConfigurator},"Configure")),o.createElement("li",null,"Embed an Outlook / Exchange Calendar"," ",o.createElement("a",{style:{marginTop:"5px"},href:"#"+f.n.calendarConfigurator},"Configure")),o.createElement("li",null,"Embed SharePoint Online search"," ",o.createElement("a",{style:{marginTop:"5px"},href:"#"+f.n.cbsConfigurator},"Configure")),o.createElement("li",null,"Embed an AAD based Employee Directory"," ",o.createElement("a",{style:{marginTop:"5px"},href:"#"+f.n.edConfigurator},"Configure")),o.createElement("li",null,"Embed a Yammer Feed"," ",i?o.createElement("a",{style:{marginTop:"5px"},href:"#"+f.n.yammer},"Configure"):o.createElement("span",{style:R(R({},c.j),{paddingLeft:"10px"})},o.createElement(u.a,{iconName:"Diamond",title:"Premium Feature",ariaLabel:"Premium Feature"})))))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(p,{alwaysOn:!0,checked:!0,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){}}))))},L=function(){return(L=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)},j=function(e){var t=o.useContext(m.a),n=t.env,u=t.settings,d=t.updateSettings,b=o.useState(u.useWpRestCookies),v=b[0],y=b[1],w=o.useState("initial"),_=w[0],C=w[1];o.useEffect((function(){y(u.useWpRestCookies)}),[u.useWpRestCookies]),o.useEffect((function(){"dirty"==_&&(C("loading"),h.a.updateSettings(n,L(L({},u),{useWpRestCookies:v})).then((function(e){e.success?h.a.getSettings(n).then((function(e){d(e),C("initial")})).catch((function(e){console.error(e),C("errors")})):C("errors")})).catch((function(e){console.error(e),C("errors")})))}),[v]);return o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement("h3",null,"WP REST API"))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If enabled, admins can protect the WordPress REST API with a combination of a WordPress authentication cookie and a nonce and configure the following options:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Enable protection for specific endpoints"),o.createElement("li",null,"Impersonate the current user"),o.createElement("li",null,"Optionally block requests to all other endpoints")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10}},o.createElement(p,{checked:v,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){C("dirty"),y(t)},page:f.n.integration}),"loading"==_&&o.createElement(i.a,{size:a.a.small}),"errors"==_&&o.createElement(s.a,{content:o.createElement("span",null,"Could not save your changes. Please try again or check the Developer Console (F12) for errors."),id:"tooltip_"+Object(g.f)(4),calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},o.createElement(l.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}}))))))},F=function(){return(F=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)},B=function(e){var t=o.useContext(m.a),n=t.env,u=t.settings,d=t.env.props.extensions,p=t.updateSettings,b=[f.e.wpo365LoginProfessional,f.e.wpo365Essentials,f.e.wpo365Customers,f.e.wpo365LoginPremium,f.e.wpo365Sync5y,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365Integrate,f.e.wpo365Pro];if(u.hidePremiumOptions&&!b.some((function(e){return d.some((function(t){return t===e}))})))return null;var v=o.useState(u.useWpRestAad),y=v[0],C=v[1],E=o.useState("initial"),S=E[0],x=E[1];o.useEffect((function(){C(u.useWpRestAad)}),[u.useWpRestAad]),o.useEffect((function(){"dirty"==S&&(x("loading"),h.a.updateSettings(n,F(F({},u),{useWpRestAad:y})).then((function(e){e.success?h.a.getSettings(n).then((function(e){p(e),x("initial")})).catch((function(e){console.error(e),x("errors")})):x("errors")})).catch((function(e){console.error(e),x("errors")})))}),[y]);return o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"WP REST API"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:20}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If enabled, admins can protect the WP REST API with access tokens generated by Azure AD en configure the following options:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Enable protection for specific endpoints"),o.createElement("li",null,"Impersonate the current user"),o.createElement("li",null,"Optionally block requests to all other endpoints"),o.createElement("li",null,"Set a WordPress authentication cookie")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10}},o.createElement(w,{checked:y,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){x("dirty"),C(t)},page:f.n.integration,targets:b}),"loading"==S&&o.createElement(i.a,{size:a.a.small}),"errors"==S&&o.createElement(s.a,{content:o.createElement("span",null,"Could not save your changes. Please try again or check the Developer Console (F12) for errors."),id:"tooltip_"+Object(g.f)(4),calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},o.createElement(l.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}}))))))},W=function(){return(W=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)},z=function(e){var t=o.useContext(m.a),n=t.env,u=t.settings,d=t.env.props.extensions,p=t.updateSettings,b=[f.e.wpo365Avatar,f.e.wpo365LoginPremium,f.e.wpo365Sync5y,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365Pro,f.e.wpo365Integrate,f.e.wpo365Customers],v=b.some((function(e){return d.some((function(t){return t===e}))}));if(u.hidePremiumOptions&&!v)return null;var y=o.useState(u.useAvatar),C=y[0],E=y[1],S=o.useState("initial"),x=S[0],k=S[1];o.useEffect((function(){E(u.useAvatar)}),[u.useAvatar]),o.useEffect((function(){"dirty"==x&&(k("loading"),h.a.updateSettings(n,W(W({},u),{useAvatar:C})).then((function(e){e.success?h.a.getSettings(n).then((function(e){p(e),k("initial")})).catch((function(e){console.error(e),k("errors")})):k("errors")})).catch((function(e){console.error(e),k("errors")})))}),[C]);return o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"AVATAR"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If enabled, the plugin will try and replace a WordPress user's avatar with the user's profile picture from Azure AD. The following features are supported:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Optionally, update the BuddyPress avatar"),o.createElement("li",null,"Customize the avatar template"),o.createElement("li",null,"Configure the refresh rate")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(r.a,{horizontal:!0,tokens:{childrenGap:10}},o.createElement(w,{checked:C,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){k("dirty"),E(t)},page:f.n.userSync,targets:b}),"loading"==x&&o.createElement(i.a,{size:a.a.small}),"errors"==x&&o.createElement(s.a,{content:o.createElement("span",null,"Could not save your changes. Please try again or check the Developer Console (F12) for errors."),id:"tooltip_"+Object(g.f)(4),calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},o.createElement(l.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:14,color:"red"}}))))))},H=function(e){var t=o.useContext(m.a),n=t.settings,i=t.env.props.extensions,a=[f.e.wpo365CustomFields,f.e.wpo365LoginProfessional,f.e.wpo365Customers,f.e.wpo365LoginPremium,f.e.wpo365Sync5y,f.e.wpo365LoginIntranet,f.e.wpo365Intranet5y,f.e.wpo365RolesAccess,f.e.wpo365Integrate,f.e.wpo365Pro],s=a.some((function(e){return i.some((function(t){return t===e}))}));return n.hidePremiumOptions&&!s?null:o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"CUSTOM USER FIELDS"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement("p",{style:c.b},"If installed, admins can enrich WordPress user profiles with Azure AD user attributes:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Retrieved from Microsoft Graph (OIDC)"),o.createElement("li",null,"Received as custom SAML 2.0 claims (SAML)"),o.createElement("li",null,"Received as custom ID token claims")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(w,{alwaysOn:!0,checked:!0,labelOff:"Disabled",labelOn:"Enabled",onChange:function(){},page:f.n.userSync,targets:a}))))},U=function(e){var t=o.useContext(m.a),n=t.settings,i=t.env.props.extensions,a=[f.e.wpo365Customers];return n.hidePremiumOptions&&!a.some((function(e){return i.some((function(t){return t===e}))}))?null:o.createElement(r.a,{style:c.i},o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.d},o.createElement(_,{text:"CUSTOMERS"}))),o.createElement(r.a.Item,{grow:1,styles:c.g},o.createElement("div",{style:c.f},o.createElement(r.a,{tokens:{childrenGap:10}},o.createElement(o.Fragment,null,o.createElement(r.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10},style:c.h},o.createElement(u.a,{iconName:"Cake",title:"Highlight"}),o.createElement("div",null,"Supporting Entra External ID")),o.createElement("p",{style:c.b},"If installed, WPO365 will support seamless-integration scenarios for Azure AD B2C / Entra External ID:"),o.createElement("ul",{style:c.b},o.createElement("li",null,"Bi-directional user synchronization"),o.createElement("li",null,"Force users to change their password on next signin"),o.createElement("li",null,"Send new customer notifications (incl. temp. pwd)"),o.createElement("li",null,"Update WordPress user fields from (custom) claims"),o.createElement("li",null,"Support for custom login domain / embedded login"),o.createElement("li",null,"Force Azure based login")))))),o.createElement(r.a.Item,{grow:0},o.createElement("div",{style:c.c},o.createElement(w,{alwaysOn:!0,checked:!0,labelOff:"Disabled",labelOn:"Enabled",onChange:function(e,t){},targets:a}))))},V=function(e){var t=e.mailDashboard;return o.createElement(r.a,{horizontal:!0,wrap:!0,tokens:{childrenGap:15}},!t&&o.createElement(I,null),o.createElement(v,null),o.createElement(C,null),!t&&o.createElement(o.Fragment,null,o.createElement(U,null),o.createElement(E,null),o.createElement(A,null),o.createElement(M,null),o.createElement(P,null),o.createElement(N,null),o.createElement(H,null),o.createElement(z,null),o.createElement(x,null),o.createElement(j,null),o.createElement(B,null)))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return Q}));var o,r,i,a,s,l=n(0),c=n(16),u=n.n(c),d=n(30),p=n(80),m=n(25),h=n(102),f=n(62),g=n(34),b=n(12),v=n(13),y=n(1),w=n(9),_={background:"#ffffff",border:"1px solid #cccccc",boxSizing:"border-box",fontSize:"13px",height:"400px",maxHeight:"400px",minHeight:"400px",minWidth:"400px",position:"relative",width:"100%"},C={backgroundColor:"#f9f9f9",borderBottom:"1px solid #cccccc",display:"block",padding:"15px"},E={display:"block",padding:"15px"},S={root:{overflowX:"auto",overflowY:"auto"}},x={backgroundColor:"#f9f9f9",borderTop:"1px solid #cccccc",display:"block",padding:"15px",height:"45px",lineHeight:"45px"},k={fontWeight:600},O=n(3),I=n(167),T=n(72),P=n(257),D=n(14),M=n(255),A=n(240),R=n(262),N=n(247),L=Object(D.E)({root:{background:"rgba(0, 0, 0, 0.2)",bottom:"0",left:"0",position:"fixed",right:"0",top:"0"},content:{background:"white",left:"50%",maxWidth:"400px",padding:"0 2em 2em",position:"absolute",top:"50%",transform:"translate(-50%, -50%)"}}),j=function(e){var t=e.toggleUpgradePopup;return l.createElement(M.a,null,l.createElement(A.a,{role:"dialog","aria-modal":"true",onDismiss:function(){return t(!1)},className:L.root},l.createElement(R.a,{onClick:function(){return t(!1)}}),l.createElement(N.a,null,l.createElement("div",{role:"document",className:L.content},l.createElement("h2",null,"Upgrade Notice"),l.createElement("p",null,"To expand ",l.createElement("strong",null,"WPO365 Insights")," and to change the period to ",l.createElement("strong",null,"MTD")," or ",l.createElement("strong",null,"YTD")," are premium features. Please"," ",l.createElement("a",{href:"https://www.wpo365.com/wordpress-plugins/",target:"_blank"},"upgrade to any premium license"),"."),l.createElement(T.a,{onClick:function(){return t(!1)}},"Close")))))},F=n(11),B=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())}))},W=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},z=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o},H=function(e){var t=e.event,n=e.period,o=e.summaryValue,r=e.title,i=l.useContext(b.a),a=(i.settings,i.env),s=a.nonce,c=a.wpAjaxAdminUrl,p=a.props,m=p.addOns,h=(p.extensions,i.updateSettings,l.useState(!0)),v=h[0],w=h[1],_=l.useState(y.p.initial),C=_[0],E=_[1],S=l.useState(""),x=S[0],D=S[1],M=l.useState([]),A=M[0],R=M[1],N=l.useState([]),L=N[0],H=N[1],U=l.useState(0),V=U[0],G=U[1],K=l.useState(25)[0],q=l.useState(!1),Z=q[0],X=q[1],Y=l.useState(e.refreshKey),Q=Y[0],$=Y[1],J=l.useState(void 0),ee=J[0],te=J[1],ne=function(){return B(void 0,void 0,void 0,(function(){var e,o,r,i,a;return W(this,(function(l){switch(l.label){case 0:E(y.p.saving),(e=new FormData).append("action","wpo365_get_insights"),e.append("period",n),e.append("key",t.toString()),e.append("start_row",(V*K).toString()),e.append("nonce",s),e.append("ina",window.wpo365.wizard.props.ina),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,u.a.post(c,e)];case 2:return o=l.sent(),[3,4];case 3:return r=l.sent(),E(y.p.initial),D(r.message),[2];case 4:return E(y.p.initial),o.status>=200&&o.status<300&&o.data&&o.data.status?"OK"==o.data.status&&o.data.result&&Array.isArray(o.data.result)?((i=o.data.result.map((function(e){return"user"in e&&(e.user=JSON.parse(e.user)),e}))).length>0&&(a=z(A).concat(i),R(a),H(a.slice(V*K)),G(V+1)),[2]):(D(o.data.message),[2]):(D("Error occured (HTTP status "+o.status+")"),[2])}}))}))},oe=function(){var e=A.length/K;return Math.ceil(e)==V&&Math.floor(e)!=e},re=function(e){return void 0===e&&(e="prev"),B(void 0,void 0,void 0,(function(){var t,n,o,r;return W(this,(function(i){if("prev"==e&&V>1)return r=(o=((n=V-1)-1)*K)+25,H(A.slice(o,r)),G(n),[2];if("next"==e){if(t=A.length/K,oe())return[2];if(Math.ceil(t)>V)return r=(o=((n=V+1)-1)*K)+25,H(A.slice(o,r)),G(n),[2];ne()}return[2]}))}))};return l.useEffect((function(){v||(m&&Object.keys(m).length>0?0==A.length&&C==y.p.initial&&ne():(X(!0),w(!0)))}),[v]),l.useEffect((function(){e.refreshKey!=Q&&(R([]),$(e.refreshKey),w(!0))}),[e.refreshKey]),l.useEffect((function(){A&&0==A.length&&(H([]),G(0))}),[A]),l.createElement(l.Fragment,null,l.createElement("table",null,l.createElement("tbody",null,l.createElement("tr",null,l.createElement("td",{style:{maxWidth:"35px"}},C==y.p.saving?l.createElement(f.a,{size:g.a.medium}):l.createElement(I.a,{onClick:function(){return w(!v)},iconProps:{iconName:v?"ChevronRight":"ChevronDown"}})),l.createElement("th",{style:k},r),l.createElement("td",{style:{maxWidth:"35px"}},o)),x&&l.createElement("tr",null,l.createElement("td",{colSpan:3},x)))),!v&&l.createElement("table",{style:{fontSize:"11px",paddingLeft:"47px"}},l.createElement("tbody",null,l.createElement("tr",null,l.createElement("th",null,"Date"),l.createElement("th",null,"User"),l.createElement("th",null,"Data"),l.createElement("th",null,"Error")),L.length>0?L.map((function(e){return l.createElement("tr",null,l.createElement("td",null,e.time),l.createElement("td",{style:{whiteSpace:"nowrap"}},e.user.mail?e.user.mail:e.user.wp_user_login?e.user.wp_user_login:e.user.display_name?e.user.display_name:""),l.createElement("td",{style:{whiteSpace:"nowrap"}},e.data?l.createElement("a",{href:"javascript: void(0)",onClick:function(){var t=Object(F.g)(e.data,{});te(t)}},"View"):null),l.createElement("td",{style:{whiteSpace:"nowrap"}},e.error))})):m&&Object.keys(m).length>0?l.createElement("tr",null,l.createElement("td",{colSpan:3},"No insights available")):null,l.createElement("tr",null,l.createElement("td",{colSpan:3},l.createElement(d.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},l.createElement(T.a,{primary:!0,onClick:function(){return re("prev")},disabled:V<=1},"Previous"),l.createElement("div",{style:{padding:"0px 20px",fontSize:"13px",fontWeight:600,backgroundColor:"#e1e1e1"}},V),l.createElement(T.a,{primary:!0,onClick:function(){return re("next")},disabled:oe()},"Next")))))),Z&&l.createElement(j,{toggleUpgradePopup:X}),ee&&l.createElement(P.a,{isOpen:!!ee,onDismiss:function(){return te(void 0)},isBlocking:!0},l.createElement("div",{className:O.modal},l.createElement("div",{style:{alignSelf:"flex-end",padding:"10px 20px 10px 10px"}},l.createElement("a",{href:"javascript: return false",onClick:function(){return te(void 0)}},"Close")),l.createElement("table",{style:{border:"1px solid black",borderCollapse:"collapse",fontSize:"11px"}},Object.keys(ee).map((function(e){return l.createElement("tr",null,l.createElement("th",{style:{border:"1px solid black",borderCollapse:"collapse",padding:"5px"}},e),l.createElement("td",{style:{border:"1px solid black",borderCollapse:"collapse",padding:"5px"}},e in ee?"imageUri"==e?l.createElement("img",{src:ee[e]}):JSON.stringify(ee[e]):"null"))}))))))};!function(e){e.WP_LOGGEDIN_OK="WP_LOGGEDIN_OK",e.WP_LOGGEDIN_NOK="WP_LOGGEDIN_NOK",e.SSO_LOGGEDIN_OK="SSO_LOGGEDIN_OK",e.SSO_LOGGEDIN_NOK="SSO_LOGGEDIN_NOK"}(o||(o={})),function(e){e.SSO_CREATED_OK="SSO_CREATED_OK",e.SSO_CREATED_NOK="SSO_CREATED_NOK",e.SYNC_CREATED_OK="SYNC_CREATED_OK",e.SYNC_CREATED_NOK="SYNC_CREATED_NOK",e.SCIM_CREATED_OK="SCIM_CREATED_OK",e.SCIM_CREATED_NOK="SCIM_CREATED_NOK",e.SSO_UPDATED_OK="SSO_UPDATED_OK",e.SSO_UPDATED_NOK="SSO_UPDATED_NOK",e.SYNC_UPDATED_OK="SYNC_UPDATED_OK",e.SYNC_UPDATED_NOK="SYNC_UPDATED_NOK",e.SCIM_UPDATED_OK="SCIM_UPDATED_OK",e.SCIM_UPDATED_NOK="SCIM_UPDATED_NOK"}(r||(r={})),function(e){e.MAIL_SENT_OK="MAIL_SENT_OK",e.MAIL_SENT_NOK="MAIL_SENT_NOK"}(i||(i={})),function(e){e.login="login",e.mail="mail",e.users="users"}(a||(a={})),function(e){e.TODAY="TODAY",e.WTD="WTD",e.MTD="MTD",e.YTD="YTD"}(s||(s={}));var U=function(e){var t=l.useContext(b.a).env.props,n=t.addOns,o=(t.extensions,e.period),r=e.getInsightsSummary,i=e.saveStatus,a=l.useState(!1),c=a[0],u=a[1],p=function(e){!([s.MTD,s.YTD].indexOf(e)>-1)||n&&Object.keys(n).length>0?r(e):u(!0)};return l.createElement(l.Fragment,null,l.createElement(d.a,{styles:{root:{marginBottom:"20px"}},horizontal:!0,verticalAlign:"center",tokens:{childrenGap:20}},l.createElement(T.a,{primary:o==s.TODAY,onClick:function(){return p(s.TODAY)}},"Today"),l.createElement(T.a,{primary:o==s.WTD,onClick:function(){return p(s.WTD)}},"WTD"),l.createElement(T.a,{primary:o==s.MTD,onClick:function(){return p(s.MTD)}},"MTD"),l.createElement(T.a,{primary:o==s.YTD,onClick:function(){return p(s.YTD)}},"YTD"),i==y.p.saving&&l.createElement(f.a,{size:g.a.medium})),c&&l.createElement(j,{toggleUpgradePopup:u}))},V=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())}))},G=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},K=function(e){var t=e.eventType,n=e.title,c=l.useContext(b.a),p=c.settings,m=c.env,h=m.nonce,f=m.wpAjaxAdminUrl,g=m.props,v=(g.addOns,g.extensions),w=l.useState(null),k=w[0],O=w[1],I=l.useState(y.p.initial),T=I[0],P=I[1],D=l.useState(null),M=(D[0],D[1]),A=l.useState(e.refreshKey),R=A[0],N=A[1],L=l.useState(s.TODAY),j=L[0],B=L[1],W=function(e){return void 0===e&&(e=s.TODAY),V(void 0,void 0,void 0,(function(){var n,o,r;return G(this,(function(i){switch(i.label){case 0:P(y.p.saving),N(Object(F.f)(6)),B(e),(n=new FormData).append("action","wpo365_get_insights_summary"),n.append("period",e.toString()),n.append("group",t.toString()),n.append("nonce",h),n.append("ina",window.wpo365.wizard.props.ina),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,u.a.post(f,n)];case 2:return o=i.sent(),[3,4];case 3:return r=i.sent(),P(y.p.initial),M(r.message),[2];case 4:return P(y.p.initial),o.status>=200&&o.status<300&&o.data&&o.data.status?"OK"==o.data.status&&o.data.result&&Array.isArray(o.data.result)&&1==o.data.result.length?(O(o.data.result[0]),[2]):(M(o.data.message),[2]):(M("Error occured (HTTP status "+o.status+")"),[2])}}))}))};return l.useMemo((function(){W()}),[]),l.useEffect((function(){e.refreshKey!=R&&(O(null),N(e.refreshKey))}),[e.refreshKey]),l.createElement(d.a,{style:_},l.createElement(d.a.Item,{grow:0},l.createElement("div",{style:C},l.createElement("h3",null,n))),l.createElement(d.a.Item,{grow:1,styles:S},l.createElement("div",{style:E},l.createElement(U,{getInsightsSummary:W,period:j,saveStatus:T}),t==a.login&&l.createElement(l.Fragment,null,l.createElement(H,{event:o.WP_LOGGEDIN_OK,period:j,title:"WP User logged-in successfully",summaryValue:k?k.WP_LOGGEDIN_OK:0,refreshKey:R}),l.createElement(H,{event:o.WP_LOGGEDIN_NOK,period:j,title:"WP User not logged-in successfully",summaryValue:k?k.WP_LOGGEDIN_NOK:0,refreshKey:R})),t==a.login&&!p.noSso&&l.createElement(l.Fragment,null,l.createElement(H,{event:o.SSO_LOGGEDIN_OK,period:j,title:"SSO User logged-in successfully",summaryValue:k?k.SSO_LOGGEDIN_OK:0,refreshKey:R}),l.createElement(H,{event:o.SSO_LOGGEDIN_NOK,period:j,title:"SSO User not logged-in successfully",summaryValue:k?k.SSO_LOGGEDIN_NOK:0,refreshKey:R})),t==a.mail&&(p.useGraphMailer||v.some((function(e){return e==y.e.wpo365MsGraphMailer})))&&l.createElement(l.Fragment,null,l.createElement(H,{event:i.MAIL_SENT_OK,period:j,title:"Emails sent successfully",summaryValue:k?k.MAIL_SENT_OK:0,refreshKey:R}),l.createElement(H,{event:i.MAIL_SENT_NOK,period:j,title:"Emails not sent successfully",summaryValue:k?k.MAIL_SENT_NOK:0,refreshKey:R})),t==a.users&&!p.noSso&&p.createAndAddUsers&&l.createElement(l.Fragment,null,l.createElement(H,{event:r.SSO_CREATED_OK,period:j,title:"Users created successfully (SSO)",summaryValue:k?k.SSO_CREATED_OK:0,refreshKey:R}),l.createElement(H,{event:r.SSO_CREATED_NOK,period:j,title:"Users not created successfully (SSO)",summaryValue:k?k.SSO_CREATED_NOK:0,refreshKey:R})),t==a.users&&p.enableUserSync&&l.createElement(l.Fragment,null,l.createElement(H,{event:r.SYNC_CREATED_OK,period:j,title:"Users created successfully (SYNC)",summaryValue:k?k.SYNC_CREATED_OK:0,refreshKey:R}),l.createElement(H,{event:r.SYNC_CREATED_NOK,period:j,title:"Users not created successfully (SYNC)",summaryValue:k?k.SYNC_CREATED_NOK:0,refreshKey:R}),l.createElement(H,{event:r.SYNC_UPDATED_OK,period:j,title:"Users updated successfully (SYNC)",summaryValue:k?k.SYNC_UPDATED_OK:0,refreshKey:R}),l.createElement(H,{event:r.SYNC_UPDATED_NOK,period:j,title:"Users not updated successfully (SYNC)",summaryValue:k?k.SYNC_UPDATED_NOK:0,refreshKey:R})),t==a.users&&p.enableScim&&l.createElement(l.Fragment,null,l.createElement(H,{event:r.SCIM_CREATED_OK,period:j,title:"Users created successfully (SCIM)",summaryValue:k?k.SCIM_CREATED_OK:0,refreshKey:R}),l.createElement(H,{event:r.SCIM_CREATED_NOK,period:j,title:"Users not created successfully (SCIM)",summaryValue:k?k.SCIM_CREATED_NOK:0,refreshKey:R}),l.createElement(H,{event:r.SCIM_UPDATED_OK,period:j,title:"Users updated successfully (SCIM)",summaryValue:k?k.SCIM_UPDATED_OK:0,refreshKey:R}),l.createElement(H,{event:r.SCIM_UPDATED_NOK,period:j,title:"Users not updated successfully (SCIM)",summaryValue:k?k.SCIM_UPDATED_NOK:0,refreshKey:R})))),l.createElement(d.a.Item,{grow:0},l.createElement("div",{style:x},l.createElement("strong",null,"Disclaimer")," No claims can be made based on this information.")))},q=function(){return(q=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)},Z=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())}))},X=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Y={maxWidth:"400px",color:"#cc0000"},Q=function(e){var t=l.useContext(b.a),n=t.env,o=t.env.props.extensions,r=t.settings,i=(t.settings.hidePremiumOptions,t.updateSettings),s=l.useState({insightsEnabled:r.insightsEnabled,insightsAnonymized:r.insightsAnonymized}),c=s[0],_=s[1],C=l.useState(null),E=C[0],S=C[1],x=l.useState(y.p.initial),k=x[0],O=x[1],I=l.useState(!1),T=I[0],P=I[1],D=l.useState(Object(F.f)(6)),M=D[0],A=D[1];return l.useEffect((function(){T&&Z(void 0,void 0,void 0,(function(){var e,t,o;return X(this,(function(a){switch(a.label){case 0:S(null),O(y.p.saving),(e=q({},r)).insightsEnabled=c.insightsEnabled,e.insightsAnonymized=c.insightsAnonymized,a.label=1;case 1:return a.trys.push([1,6,,7]),[4,v.a.updateSettings(n,e)];case 2:return(t=a.sent()).success?[4,v.a.getSettings(n)]:[3,4];case 3:return o=a.sent(),i(o),S(null),O(y.p.success),[3,5];case 4:S(t.message),a.label=5;case 5:return[3,7];case 6:return a.sent(),S("Unknown error occured whilst updating settings [check F12 > console for technical details]"),O(y.p.error),[3,7];case 7:return[2]}}))})).then((function(){return P(!1)}))}),[T]),l.useEffect((function(){r.insightsEnabled==c.insightsEnabled&&r.insightsAnonymized==c.insightsAnonymized||P(!0)}),[c]),l.createElement(d.a,{tokens:{childrenGap:15},styles:{root:{marginRight:"80px"}}},l.createElement("div",null,l.createElement(d.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:15}},l.createElement(d.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:15}},l.createElement("div",null,"Enable Insights"),l.createElement(w.a,{info:{title:"Enable Insights",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/210-wpo365-insights"}}})),l.createElement(p.a,{styles:{root:{marginBottom:"0px",marginRight:"10px"},label:{fontWeight:400}},checked:c.insightsEnabled,onChange:function(e,t){return _(q(q({},c),{insightsEnabled:t}))},inlineLabel:!0}),c.insightsEnabled&&l.createElement(l.Fragment,null,l.createElement(m.a,{onChange:function(e,t){return _(q(q({},c),{insightsAnonymized:t}))},checked:c.insightsAnonymized}),l.createElement("span",null,"Anonymize user details")),l.createElement(h.a,{iconProps:{iconName:"Delete"},onClick:function(){return Z(void 0,void 0,void 0,(function(){var e,t,o;return X(this,(function(r){switch(r.label){case 0:O(y.p.saving),(e=new FormData).append("action","wpo365_truncate_insights_data"),e.append("nonce",n.nonce),e.append("ina",window.wpo365.wizard.props.ina),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,u.a.post(n.wpAjaxAdminUrl,e)];case 2:return t=r.sent(),[3,4];case 3:return o=r.sent(),O(y.p.initial),S(o.message),[2];case 4:return O(y.p.initial),t.status>=200&&t.status<300&&t.data&&t.data.status?"NOK"==t.data.status?(S(t.data.message),[2]):(A(Object(F.f)(6)),[2]):(S("Error occured (HTTP status "+t.status+")"),[2])}}))}))}},"Truncate data"),k==y.p.saving&&l.createElement(f.a,{size:g.a.small})),!!E&&l.createElement("span",{style:Y},E)),r.insightsEnabled&&l.createElement(d.a,{horizontal:!0,wrap:!0,tokens:{childrenGap:15}},o.some((function(e){return e==y.e.wpo365Login}))&&l.createElement(K,{eventType:a.login,title:"LOGIN",refreshKey:M}),(!r.noSso&&r.createAndAddUsers||r.enableUserSync||r.enableScim)&&l.createElement(K,{eventType:a.users,title:"USERS",refreshKey:M}),(r.useGraphMailer||o.some((function(e){return y.e.wpo365MsGraphMailer})))&&l.createElement(K,{eventType:a.mail,title:"MAIL",refreshKey:M})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return G}));var o,r=n(0),i=n(16),a=n.n(i),s=n(167),l=n(166),c=n(73),u=n(121),d=n(52),p=n(23),m=n(252),h=n(62),f=n(34),g=n(30),b=n(119),v=n(3),y=n(12),w=n(143),_=n(20),C=n(264),E=n(14),S={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},x=n(2),k=n(237),O=n(118),I=n(162),T=n(111),P=n(54),D=n(68),M=r.createContext({scrollablePane:void 0}),A=Object(k.a)(),R=function(e){function t(t){var n=e.call(this,t)||this;return n._root=r.createRef(),n._stickyAboveRef=r.createRef(),n._stickyBelowRef=r.createRef(),n._contentContainer=r.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;if(o)return 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(x.a)(Object(x.a)({height:e},Object(O.a)(n.props.theme)?{right:"0",left:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}:{left:"0",right:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}),t?{top:"0"}:{bottom:(n.state.scrollbarHeight||n._getScrollbarHeight()||0)+"px"})},n._onScroll=function(){var e=n.contentContainer;e&&n._stickies.forEach((function(t){t.syncScroll(e)})),n._notifyThrottled()},n._subscribers=new Set,n._stickies=new Set,Object(I.a)(n),n._async=new T.a(n),n._events=new P.a(n),n.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},n._notifyThrottled=n._async.throttle(n.notifySubscribers,50),n}return Object(x.c)(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){var e=this,t=this.props.initialScrollPosition;this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(window,"resize",this._onWindowResize),this.contentContainer&&t&&(this.contentContainer.scrollTop=t),this.setStickiesDistanceFromTop(),this._stickies.forEach((function(t){e.sortSticky(t)})),this.notifySubscribers(),"MutationObserver"in window&&(this._mutationObserver=new MutationObserver((function(t){var n=e._getScrollbarHeight();if(n!==e.state.scrollbarHeight&&e.setState({scrollbarHeight:n}),e.notifySubscribers(),t.some(function(e){return null!==this.stickyAbove&&null!==this.stickyBelow&&(this.stickyAbove.contains(e.target)||this.stickyBelow.contains(e.target))}.bind(e)))e.updateStickyRefHeights();else{var o=[];e._stickies.forEach((function(e){e.root&&e.root.contains(t[0].target)&&o.push(e)})),o.length&&o.forEach((function(e){e.forceUpdate()}))}})),this.root&&this._mutationObserver.observe(this.root,{childList:!0,attributes:!0,subtree:!0,characterData:!0}))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._mutationObserver&&this._mutationObserver.disconnect()},t.prototype.shouldComponentUpdate=function(e,t){return this.props.children!==e.children||this.props.initialScrollPosition!==e.initialScrollPosition||this.props.className!==e.className||this.state.stickyTopHeight!==t.stickyTopHeight||this.state.stickyBottomHeight!==t.stickyBottomHeight||this.state.scrollbarWidth!==t.scrollbarWidth||this.state.scrollbarHeight!==t.scrollbarHeight},t.prototype.componentDidUpdate=function(e,t){var n=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof n&&e.initialScrollPosition!==n&&(this.contentContainer.scrollTop=n),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.theme,o=e.styles,i=this.state,a=i.stickyTopHeight,s=i.stickyBottomHeight,l=A(o,{theme:n,className:t,scrollbarVisibility:this.props.scrollbarVisibility});return r.createElement("div",Object(x.a)({},Object(D.d)(this.props,D.c),{ref:this._root,className:l.root}),r.createElement("div",{"aria-hidden":"true",ref:this._stickyAboveRef,className:l.stickyAbove,style:this._getStickyContainerStyle(a,!0)}),r.createElement("div",{ref:this._contentContainer,className:l.contentContainer,"data-is-scrollable":!0},r.createElement(M.Provider,{value:this._getScrollablePaneContext()},this.props.children)),r.createElement("div",{"aria-hidden":"true",className:l.stickyBelow,style:this._getStickyContainerStyle(s,!1)},r.createElement("div",{ref:this._stickyBelowRef,className:l.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}(r.Component),N=n(236),L=Object(N.a)(R,(function(e){var t,n,o=e.className,r=e.theme,i=Object(E.x)(S,r),a={position:"absolute",pointerEvents:"auto"},s={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[i.root,r.fonts.medium,s,o],contentContainer:[i.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},s],stickyAbove:[{top:0,zIndex:1,selectors:(t={},t[E.e]={borderBottom:"1px solid WindowText"},t)},a],stickyBelow:[{bottom:0,selectors:(n={},n[E.e]={borderTop:"1px solid WindowText"},n)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}}),void 0,{scope:"ScrollablePane"}),j=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())}))},F=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};!function(e){e.initial="initial",e.sending="sending",e.loading="loading",e.finished="finished",e.error="error"}(o||(o={}));var B={label:{fontSize:"120%",fontWeight:600,textDecoration:"underline",textDecorationColor:"#0078D4"}},W={label:{fontSize:"120%",fontWeight:400,textDecoration:"none"}},z={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:"12px",width:"inherit"},H=[{key:"mail_success",name:"",iconName:"Error",isIconOnly:!0,minWidth:16,maxWidth:16,isResizable:!0,onRender:function(e,t,n){return!0!==e.mail_success?r.createElement("div",{className:v.wpo365WzRowifier,style:{justifyContent:"center",height:"100%",cursor:"pointer"}},r.createElement(b.a,{content:r.createElement("span",{dangerouslySetInnerHTML:{__html:e.mail_error?e.mail_error:"No error details available"}}),id:"tooltip_"+n.key+"_"+t,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},r.createElement(w.a,{"aria-label":"Error",iconName:"Error",style:{fontSize:18,color:"red"}}))):null}},{key:"mail_attachments",name:"",iconName:"Attach",isIconOnly:!0,minWidth:16,maxWidth:16,isResizable:!0,onRender:function(e,t,n){return Array.isArray(e.mail_attachments)&&e.mail_attachments.length>0?r.createElement("div",{className:v.wpo365WzRowifier,style:{justifyContent:"center",height:"100%",cursor:"pointer"}},r.createElement(b.a,{content:e.mail_attachments.map((function(e){return r.createElement("span",null,e.trim()?e.trim():"No attachment details available")})),id:"tooltip_"+n.key+"_"+t,calloutProps:{gapSpace:0},styles:{root:{display:"inline-block"}}},r.createElement(w.a,{"aria-label":"Attachment",iconName:"Attach",style:{fontSize:18,color:"red"}}))):null}},{key:"mail",name:"Content",minWidth:300,isResizable:!0,onRender:function(e,t,n){var o=document.createElement("DIV");o.innerHTML=e.mail_body;var i=o.innerText.trim().substring(0,o.innerText.length<80?o.innerText.length:80);return r.createElement(g.a,{tokens:{childrenGap:"10px"}},r.createElement(g.a,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center"},r.createElement("div",{style:{fontSize:"110%",fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},"To: "+(e.mail_to?Array.isArray(e.mail_to)?e.mail_to.join(", "):e.mail_to:"")),r.createElement("div",{style:{fontSize:"110%",fontWeight:600,minWidth:"160px"}},e.mail_sent)),r.createElement("div",{style:{fontWeight:600,color:"#0078D4",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},e.id+" :: "+e.mail_subject),r.createElement("div",{style:{fontSize:"90%",color:"#b1b1b1",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},i))}}],U=[{key:5,text:"5"},{key:10,text:"10"},{key:25,text:"25"},{key:50,text:"50"},{key:100,text:"100"},{key:500,text:"500"}],V=function(e,t,n){return n.onRender?n.onRender(e,t,n):r.createElement("span",{style:z},e[n.key])},G=function(e){var t=e.closeModal,n=r.useContext(y.a),i=n.env,b=i.props.nonce,w=i.wpAjaxAdminUrl,E=n.settings,S=r.useState(null),x=S[0],k=S[1],O=r.useState("all"),I=O[0],T=O[1],P=r.useState(null),D=P[0],M=P[1],A=r.useState(o.initial),R=A[0],N=A[1],z=r.useState([]),G=z[0],K=z[1],q=r.useState(25),Z=q[0],X=q[1],Y=r.useState(0),Q=Y[0],$=Y[1],J=r.useState(0),ee=J[0],te=J[1],ne=function(e){return j(void 0,void 0,void 0,(function(){var t,n,r,i;return F(this,(function(s){switch(s.label){case 0:M(null),N(o.loading),(t=new FormData).append("action","wpo365_get_mail_log"),t.append("nonce",b),t.append("ina",window.wpo365.wizard.props.ina),t.append("start_row",e.toString()),t.append("filter",I),t.append("page_size",Z.toString()),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,a.a.post(w,t)];case 2:return n=s.sent(),[3,4];case 3:return r=s.sent(),console.error(r),N(o.error),M({type:_.a.error,message:r.message?r.message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."}),[2];case 4:return n.status>=200&&n.status<300&&n.data&&n.data.status&&"OK"==n.data.status&&n.data.result?(i=function(e){if(!Array.isArray(e))return[];return e.map((function(e){return{id:e.id?parseInt(e.id):-1,mail_attachments:e.mail_attachments?JSON.parse(e.mail_attachments):[],mail_error:e.mail_error?e.mail_error:"",mail_body:e.mail_body?e.mail_body:"",mail_headers:e.mail_headers?JSON.parse(e.mail_headers):[],mail_sent:e.mail_sent?e.mail_sent:e.mail_last_attempt?e.mail_last_attempt:"TIMESTAMP N/A",mail_subject:e.mail_subject?e.mail_subject:"",mail_success:!!e.mail_success&&1===parseInt(e.mail_success),mail_to:e.mail_to?JSON.parse(e.mail_to):[],mail_attempts:e.mail_attempts?parseInt(e.mail_attempts):1}}))}(JSON.parse(n.data.result)),K(i),N(o.finished),[2]):(N(o.error),M({type:_.a.error,message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."}),[2])}}))}))};return r.useEffect((function(){Array.isArray(G)&&0!=G.length&&($(G[G.length-1].id),0===ee&&te(G[0].id))}),[G]),r.useEffect((function(){te(0),$(0),ne(0)}),[Z,I]),r.useEffect((function(){k(null)}),[G]),r.createElement(r.Fragment,null,r.createElement("div",{className:v.wpo365WzPage},r.createElement("div",{className:v.wpo365WzSupportMenuRowifier},r.createElement("div",{className:v.wpo365WzPageTitle},r.createElement("h3",null,"WPO365 Mail Log Viewer"))),r.createElement("div",{className:v.wpo365WzMain},r.createElement(g.a,null,r.createElement(g.a,{horizontal:!0,horizontalAlign:"end",tokens:{childrenGap:"10px"}},r.createElement("div",{style:{padding:"0px 0px 10px 0px"}},r.createElement(s.a,{iconProps:{iconName:"ChromeClose"},onClick:t}))),D&&r.createElement(C.a,{messageBarType:_.a.error,isMultiline:!1,onDismiss:function(){return M(null)}},D.message),r.createElement(g.a,{horizontal:!0},r.createElement(g.a,{tokens:{childrenGap:"15px"},style:{width:"50%",minWidth:"450px",margin:"0px 5px 0px 0px",background:"#fff",padding:"10px",border:"1px solid #d1d1d1"}},r.createElement(g.a,{horizontal:!0,tokens:{childrenGap:"10px"}},r.createElement(l.a,{text:"All",styles:"all"==I?B:W,onClick:function(){return T("all")}}),r.createElement(l.a,{text:"Errors only",styles:"error"==I?B:W,onClick:function(){return T("error")}}),R==o.loading&&r.createElement(h.a,{size:f.a.small})),r.createElement("div",{style:{height:"50vh",position:"relative",maxHeight:"50vh",marginRight:"20px"}},r.createElement(L,null,r.createElement(m.a,{checkButtonAriaLabel:"Select item",items:G,columns:H,selectionMode:d.b.single,onRenderItemColumn:V,enableShimmer:!G,listProps:{renderedWindowsAhead:0,renderedWindowsBehind:0},onShouldVirtualize:function(){return!1},onActiveItemChanged:function(e,t){return k(e)},layoutMode:p.e.justified}))),r.createElement(g.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:"15px"}},r.createElement(c.a,{onClick:function(){return ne(Q+2*Z)},iconProps:{iconName:"PlayReverse"},disabled:0===G.length||G[0].id===ee,ariaLabel:"Newer"}),r.createElement(u.a,{selectedKey:Z,placeholder:"Items per page",options:U,onChange:function(e,t){X(t.key)}}),r.createElement(c.a,{onClick:function(){return ne(Q)},iconProps:{iconName:"Play"},disabled:0===ee||G.length<Z,ariaLabel:"Older"}),r.createElement(c.a,{onClick:function(){te(0),$(0),ne(0)},iconProps:{iconName:"Refresh"},ariaLabel:"Refresh"}),r.createElement(c.a,{onClick:function(){return j(void 0,void 0,void 0,(function(){var e,t,n,r;return F(this,(function(i){switch(i.label){case 0:M(null),N(o.loading),(e=new FormData).append("action","wpo365_truncate_mail_log"),e.append("nonce",b),e.append("ina",window.wpo365.wizard.props.ina),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a.a.post(w,e)];case 2:return t=i.sent(),[3,4];case 3:return n=i.sent(),console.error(n),N(o.error),M({type:_.a.error,message:n.message?n.message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."}),[2];case 4:return t.status>=200&&t.status<300&&t.data&&t.data.status&&"OK"==t.data.status?(N(o.initial),t.data.result&&(r=JSON.parse(t.data.result)).mail_success&&!0===r.mail_success?(M({type:_.a.success,message:"Mail log was deleted successfully!"}),K([]),[2]):(M({type:_.a.error,message:"Attempt to delete mail log failed. Please check the log for details."}),[2])):(N(o.error),M({type:_.a.error,message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."}),[2])}}))}))},iconProps:{iconName:"Delete"},ariaLabel:"Delete log"},"Delete log"))),r.createElement(g.a,{tokens:{childrenGap:"10px"},style:{width:"50%",minWidth:"450px",margin:"0px 0px 0px 5px",padding:"10px",border:"1px solid #d1d1d1"}},x?r.createElement(r.Fragment,null,r.createElement("table",{className:"wpo365MailViewerTable",style:{tableLayout:"fixed",width:"100%"}},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("th",{colSpan:3,style:{padding:"10px",fontSize:"130%",textAlign:"center"}},"Mail Preview")),r.createElement("tr",null,r.createElement("td",{colSpan:3},r.createElement("hr",null))),r.createElement("tr",null,r.createElement("th",null,"Subject"),r.createElement("td",{colSpan:2},x.mail_subject)),r.createElement("tr",null,r.createElement("th",null,"To"),r.createElement("td",{colSpan:2},x.mail_to&&(Array.isArray(x.mail_to)?x.mail_to.map((function(e){return r.createElement("div",null,r.createElement("span",{style:{fontWeight:600,paddingRight:"10px"}},"To"),r.createElement("span",null,e))})):r.createElement("div",null,r.createElement("span",{style:{fontWeight:600,paddingRight:"10px"}},"To"),r.createElement("span",null,x.mail_to))))),r.createElement("tr",null,r.createElement("th",null,"Sent"),r.createElement("td",{colSpan:2},x.mail_sent)),r.createElement("tr",null,r.createElement("th",null,"Success"),r.createElement("td",{colSpan:2},x.mail_success?"Yes":"No")),r.createElement("tr",null,r.createElement("th",null,"Attempts"),r.createElement("td",{colSpan:2},"mail_attempts"in x?x.mail_attempts+"/"+(E.mailAutoRetry?"4":"1"):"1")),x.mail_error?r.createElement("tr",null,r.createElement("th",null,"Info"),r.createElement("td",{colSpan:2},r.createElement("div",{dangerouslySetInnerHTML:{__html:x.mail_error}}))):r.createElement("tr",null,r.createElement("th",null,"Info"),r.createElement("td",{colSpan:2},"-")),Array.isArray(x.mail_headers)&&x.mail_headers.length>0?r.createElement(r.Fragment,null,x.mail_headers.map((function(e,t){var n=e.split(":");return 2==n.length?r.createElement("tr",null,r.createElement("th",null,0==t?"Headers":""),r.createElement("td",null,n[0]),r.createElement("td",null,n[1])):r.createElement("tr",null,r.createElement("th",null,"Headers"),r.createElement("td",{colSpan:2},"-"))}))):r.createElement("tr",null,r.createElement("th",null,"Headers"),r.createElement("td",{colSpan:2},"-")),Array.isArray(x.mail_attachments)&&x.mail_attachments.length>0?r.createElement(r.Fragment,null,x.mail_attachments.map((function(e,t){return r.createElement("tr",null,r.createElement("th",null,0==t?"Attachments":""),r.createElement("td",{colSpan:2},e))}))):r.createElement("tr",null,r.createElement("th",null,"Attachments"),r.createElement("td",{colSpan:2},"-")),r.createElement("tr",null,r.createElement("td",{colSpan:3},r.createElement("hr",null))),r.createElement("tr",null,r.createElement("td",{colSpan:3},r.createElement(g.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:"15px"}},r.createElement(c.a,{style:{minWidth:"150px"},onClick:function(){return e=x.id,j(void 0,void 0,void 0,(function(){var t,n,r,i;return F(this,(function(s){switch(s.label){case 0:console.log("Sending email with ID "+e+" again"),M(null),N(o.sending),(t=new FormData).append("action","wpo365_send_mail_again"),t.append("nonce",b),t.append("ina",window.wpo365.wizard.props.ina),t.append("id",e.toString()),s.label=1;case 1:return s.trys.push([1,3,,4]),[4,a.a.post(w,t)];case 2:return n=s.sent(),[3,4];case 3:return r=s.sent(),console.error(r),N(o.error),M({type:_.a.error,message:r.message?r.message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."}),[2];case 4:return n.status>=200&&n.status<300&&n.data&&n.data.status&&"OK"==n.data.status?(N(o.initial),n.data.result&&(i=JSON.parse(n.data.result)).mail_success&&!0===i.mail_success?(M({type:_.a.success,message:"Mail was sent successfully!"}),[2]):(M({type:_.a.error,message:"Attempt to send mail again failed. Please check the log for details."}),[2])):(N(o.error),M({type:_.a.error,message:"Unknown error occurred. Please check the Developer Tools > Console for technical details."}),[2])}}))}));var e},iconProps:{iconName:"Send"}},"Send again"),R==o.sending&&r.createElement(h.a,{size:f.a.small})))),r.createElement("tr",null,r.createElement("td",{colSpan:3},r.createElement("div",{dangerouslySetInnerHTML:{__html:x.mail_body}})))))):r.createElement("div",{className:v.wpo365WzRowifier,style:{justifyContent:"center",paddingTop:"50px"}},r.createElement("div",null,r.createElement("em",null,"No preview available")))))))))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n(0),r=n(12),i=n(11),a=n(30),s=n(79),l=n(236),c=n(237),u=Object(c.a)(),d=Object(l.a)((function(e){var t=e.styles,n=e.theme,r=e.className,i=e.vertical,a=e.alignContent,s=u(t,{theme:n,className:r,alignContent:a,vertical:i});return o.createElement("div",{className:s.root},o.createElement("div",{className:s.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},e.children))}),(function(e){var t=e.theme,n=e.alignContent,o=e.vertical,r=e.className,i="start"===n,a="center"===n,s="end"===n;return{root:[t.fonts.medium,{position:"relative"},n&&{textAlign:n},!n&&{textAlign:"center"},o&&(a||!n)&&{verticalAlign:"middle"},o&&i&&{verticalAlign:"top"},o&&s&&{verticalAlign:"bottom"},o&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":{backgroundColor:t.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1}}},!o&&{padding:"4px 0",selectors:{":before":{backgroundColor:t.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"}}},r],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:t.semanticColors.bodyText,background:t.semanticColors.bodyBackground},o&&{padding:"12px 0"}]}}),void 0,{scope:"Separator"}),p=n(167),m=function(e){var t=o.useContext(r.a).env.props.wpoHealthMessages,n=e.refreshWpoHealthMessages,l=o.useMemo((function(){return Object(i.g)(t,[])}),[t]);return o.useEffect((function(){n()}),[]),o.createElement(a.a,{styles:{root:{marginTop:"25px"}},tokens:{childrenGap:10}},Array.isArray(l)&&l.map((function(e,t){return o.createElement(o.Fragment,null,0===t&&o.createElement(a.a,{horizontal:!0,verticalAlign:"center",styles:{root:{padding:"20px",backgroundColor:"#448fd521"}}},o.createElement(a.a,{horizontalAlign:"stretch",styles:{root:{minWidth:"35px"}}},o.createElement(s.a,{styles:{root:{fontSize:"24px",color:"#0078d4"}},iconName:"Lightbulb"})),o.createElement("div",null,o.createElement("p",null,"WPO365 has detected the following issues and recommends that you implement measures to resolve those issues."),o.createElement("p",null,"Please check the"," ",o.createElement("a",{href:"https://docs.wpo365.com/",target:"_blank"},"online documentation")," ","or contact"," ",o.createElement("a",{href:"https://www.wpo365.com/contact/",target:"_blank"},"WPO365 support")," ","for help."))),o.createElement(d,null,o.createElement(a.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},o.createElement("span",null,e.now?e.now:"Date / time unknown"),o.createElement(p.a,{onClick:function(){return e="wpoHealthMessage_"+t.toString(),(n=document.createRange()).selectNode(document.getElementById(e)),window.getSelection().removeAllRanges(),window.getSelection().addRange(n),document.execCommand("copy"),void window.getSelection().removeAllRanges();var e,n},iconProps:{iconName:"Copy"},styles:{root:{fontSize:"16px",color:"#0078d4"}}}))),o.createElement(a.a,{styles:{root:{width:"100%"}},tokens:{childrenGap:10}},o.createElement(a.a,{horizontal:!0,verticalAlign:"start"},o.createElement(s.a,{styles:{root:{fontSize:"24px",color:"#cc0000",minWidth:"35px",marginTop:"7px"}},iconName:"ERROR"==e.level?"Error":"WARN"==e.level?"Warn":"Bug"}),o.createElement("div",{id:"wpoHealthMessage_"+t.toString(),style:{fontSize:"13px"},dangerouslySetInnerHTML:{__html:e.body?e.body:"No further information"}}))))})),(!Array.isArray(l)||0===l.length)&&o.createElement("span",null,"No WPO365 Health Messages found."))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var o,r=n(0),i=n(13),a=n(4),s=n(77),l=n(166),c=n(73),u=n(269),d=n(210),p=n(6),m=n(1),h=n(32),f=n(25),g=n(11),b=n(16),v=n.n(b),y=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())}))},w=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},_=function(){function e(){}return e.getLog=function(e){return y(this,void 0,void 0,(function(){var t,n,o;return w(this,(function(r){switch(r.label){case 0:(t=new FormData).append("action","wpo365_get_log"),t.append("nonce",e.nonce),t.append("ina",window.wpo365.wizard.props.ina),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,v.a.post(e.wpAjaxAdminUrl,t)];case 2:return n=r.sent(),[3,4];case 3:return o=r.sent(),console.log(o),[2,null];case 4:if(200==n.status&&n.data&&n.data.status&&"OK"==n.data.status)try{return[2,JSON.parse(n.data.result)]}catch(e){return console.log(e),[2,null]}return[2,null]}}))}))},e}(),C=n(10),E=n(256),S=n(31),x=n(9),k=n(30),O=n(62),I=n(34),T=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),P=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())}))},D=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},M=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o},A={root:{minWidth:0,padding:"10px",alignSelf:"stretch",height:"auto",backgroundColor:"#f1f1f1"},rootHovered:{backgroundColor:"#f4f4f4"}},R=[{key:m.b.locally,text:"Locally (on the server)"},{key:m.b.remotely,text:"Remotely (ApplicationInsights)"},{key:m.b.both,text:"Both"}],N=function(e){function t(t){var n=e.call(this,t)||this;n.onRenderItem=function(e){return e.onRender?e.onRender(e):r.createElement(l.a,{iconProps:{iconName:e.icon},menuProps:e.subMenuProps,text:e.name,onClick:e.onClick,styles:A})},n.onRenderOverflowButton=function(e){return r.createElement(l.a,{styles:A,menuIconProps:{iconName:"More"},menuProps:{items:e}})},n.filterLog=function(e){var t=n.state.log,o=Array.isArray(t)?t.filter(e):[];0==o.length&&o.push({now:"",level:"",request_id:"",php_version:"",body:"<strong>No result</strong> <i>Try another filter...</i>"}),n.setState({filteredLog:o})},n.getMenuItems=function(e){var t=[{key:"filterErrors",name:"Errors / Warnings",icon:"Filter",ariaLabel:"Filter: Errors",onClick:function(){return n.filterLog((function(e){return"ERROR"==e.level||"WARN"==e.level}))}},{key:"filterDebug",name:"Debug",icon:"Filter",ariaLabel:"Filter: Debug",onClick:function(){return n.filterLog((function(e){return"DEBUG"==e.level}))}},{key:"deleteFilter",name:"All",icon:"ClearFilter",ariaLabel:"Delete filters",onClick:function(){return n.setState({filteredLog:e})}},{key:"refresh",name:"Refresh",icon:"Refresh",ariaLabel:"Refresh log",onClick:function(){_.getLog(n.props.env).then((function(e){n.setState({log:e,loading:!1},(function(){n.filterLog((function(e){return"ERROR"==e.level||"WARN"==e.level}))}))})).catch((function(e){return alert(e.message)}))}}];return n.props.settings.curlLoggingEnabled&&t.splice(1,0,{key:"filterCurl",name:"cURL",icon:"Filter",ariaLabel:"Filter: cURL",onClick:function(){return n.filterLog((function(e){return"CURL"==e.level}))}}),t},n.changeLogLocation=function(e,t){n.setState({debugLogLocation:t.key})},n.toggleDebugLog=function(){n.setState((function(e,t){return{debugLog:!e.debugLog}}))},n.toggleHideErrorNotice=function(){n.setState((function(e,t){return{hideErrorNotice:!e.hideErrorNotice}}))},n.toggleDebugLogIdToken=function(){n.setState((function(e,t){return{debugLogIdToken:!e.debugLogIdToken}}))},n.toggleCurl=function(){n.setState((function(e,t){return{curlLoggingEnabled:!e.curlLoggingEnabled}})),_.getLog(n.props.env).then((function(e){n.setState({log:e,loading:!1},(function(){n.filterLog((function(e){return"ERROR"==e.level||"WARN"==e.level}))}))})).catch((function(e){return alert(e.message)}))};var o=n.props.settings;return n.state={aiInstrumentationKey:o.aiInstrumentationKey,curlLoggingEnabled:o.curlLoggingEnabled,debugLog:o.debugLog,debugLogIdToken:o.debugLogIdToken,debugLogLocation:o.debugLogLocation,hideErrorNotice:o.hideErrorNotice,loading:!0,log:[],filteredLog:[],errors:[],saveStatus:m.p.initial},n}return T(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.env;_.getLog(t).then((function(t){e.setState({log:t,loading:!1}),e.filterLog((function(e){return"ERROR"==e.level||"WARN"==e.level}))})).catch((function(e){return alert(e.message)}))},t.prototype.componentDidUpdate=function(e){var t=this.props.settings;e.settings!=t&&this.setState({aiInstrumentationKey:t.aiInstrumentationKey,curlLoggingEnabled:t.curlLoggingEnabled,debugLog:t.debugLog,debugLogIdToken:t.debugLogIdToken,debugLogLocation:t.debugLogLocation,hideErrorNotice:t.hideErrorNotice})},t.prototype.render=function(){var e=this,t=this.state,n=(t.debugLog,t.debugLogIdToken,t.log),o=t.filteredLog;return r.createElement(r.Fragment,null,r.createElement(a.t,null,r.createElement(a.u,null,r.createElement(a.s,null,r.createElement(a.x,null,p.a.titleDebug),r.createElement(S.a,null)),r.createElement(a.y,{dangerouslySetInnerHTML:{__html:"<strong>Use this tab to</strong>\n                <ul>\n                <li>Enable / Disable the plugin's debug log</li>\n                <li>Enable / Disable logging of the Open ID Connect information (ID Token)</li>\n                <li>Copy the debug log to your clipboard e.g. to send it to WPO365 support when requested to do so</li>\n                </ul>\n                <strong>Important</strong><br/><br/>\n                Disable logging if the plugin is working as expected, as it will require additional resources e.g. \n                database requests and I/O operations and unnecessarily impact your web application's performance.\n                "}})),r.createElement(a.A,null,r.createElement(a.z,null,r.createElement(a.v,null,r.createElement(a.i,null,"Enable debug log")),r.createElement(a.v,null,r.createElement(a.r,null,r.createElement(a.e,null,r.createElement(f.a,{onChange:this.toggleDebugLog,checked:this.state.debugLog})),r.createElement(x.a,{info:{title:"Debug log",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/19-enable-debug-log"}}})))),r.createElement(a.z,null,r.createElement(a.v,null,r.createElement(a.i,null,"Log location")),r.createElement(a.v,null,r.createElement(a.r,null,r.createElement(E.a,{defaultSelectedKey:this.state.debugLogLocation,options:R,onChange:this.changeLogLocation}),r.createElement(x.a,{info:{title:"Log location",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/60-log-location"}}})))),(this.state.debugLogLocation==m.b.remotely||this.state.debugLogLocation==m.b.both)&&r.createElement(a.z,null,r.createElement(a.v,null,r.createElement(a.i,null,"ApplicationInsights Instrumentation Key")),r.createElement(a.v,null,r.createElement(C.a,{size:m.q.large,bound:!1,defaultValue:this.state.aiInstrumentationKey,value:this.state.aiInstrumentationKey,isValid:function(e,t){return!0},onValid:function(t){e.setState({aiInstrumentationKey:t})},placeholder:p.a.infoAiInstrumentationKey},r.createElement(x.a,{info:{title:"Use ApplicationInsights",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/60-log-location"}}})))),r.createElement(a.z,null,r.createElement(a.v,null,r.createElement(a.i,null,"Hide error notice")),r.createElement(a.v,null,r.createElement(a.r,null,r.createElement(a.e,null,r.createElement(f.a,{onChange:this.toggleHideErrorNotice,checked:this.state.hideErrorNotice})),r.createElement(x.a,{info:{title:"Hide error notice",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/64-hide-error-notice"}}})))),this.props.env.props.extensions.indexOf(m.e.wpo365Login)>-1&&r.createElement(a.z,null,r.createElement(a.v,null,r.createElement(a.i,null,"Log ID token")),r.createElement(a.v,null,r.createElement(a.r,null,r.createElement(a.e,null,r.createElement(f.a,{onChange:this.toggleDebugLogIdToken,checked:this.state.debugLogIdToken})),r.createElement(x.a,{info:{title:"Log ID token",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/65-log-id-token"}}})))),r.createElement(a.z,null,r.createElement(a.v,null,r.createElement(a.i,null,"Enable cURL verbose")),r.createElement(a.v,null,r.createElement(a.r,null,r.createElement(a.e,null,r.createElement(f.a,{onChange:this.toggleCurl,checked:this.state.curlLoggingEnabled})),r.createElement(x.a,{info:{title:"Enable cURL verbose",readMore:{title:"Read online",url:"https://docs.wpo365.com/article/214-enable-curl-verbose"}}})))),r.createElement(a.z,null,r.createElement(a.v,null),r.createElement(a.v,null,r.createElement(a.r,null,r.createElement(c.a,{onClick:function(){return e.saveConfiguration()},iconProps:{iconName:this.state.saveStatus==m.p.success?"Like":void 0},style:{minWidth:"400px",minHeight:"30px"},disabled:this.state.saveStatus==m.p.saving},"Save configuration"),r.createElement(a.f,null,Object(g.b)(this.state.errors,"saveConfiguration").map((function(e){return r.createElement(a.q,null,e.message)}))),this.state.saveStatus==m.p.success?r.createElement("p",{style:{color:"#378805"}},p.a.okSettingsUpdated):null))),r.createElement(a.z,null,r.createElement(a.v,null),r.createElement(a.v,null,r.createElement(a.r,null,r.createElement("div",{style:{width:"400px",border:"1px solid",textAlign:"center",boxSizing:"border-box",height:"30px",lineHeight:"28px"}},r.createElement("a",{href:"data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(n,null,2)),download:"wpo365-log.json"},"Download as JSON"))))),r.createElement(a.z,null,r.createElement(a.v,null," "),r.createElement(a.v,null," ")),r.createElement(a.z,null,r.createElement(a.v,null,r.createElement(a.i,null,"Debug log:")),r.createElement(a.v,{style:{maxWidth:"650px"}},r.createElement(k.a,{style:{maxWidth:"650px"}},r.createElement(d.a,{items:this.getMenuItems(n),overflowItems:[],onRenderOverflowButton:this.onRenderOverflowButton,onRenderItem:this.onRenderItem}),this.state.loading?r.createElement(k.a,{horizontal:!0,verticalAlign:"center",style:{paddingTop:"20px"}},r.createElement("div",{style:{width:"400px",textAlign:"center"}},r.createElement(O.a,{size:I.a.small})),r.createElement("div",null)):r.createElement(u.a,{items:o,onRenderCell:this.debugLogListCell}))))),r.createElement(s.a,null)))},t.prototype.debugLogListCell=function(e,t){return r.createElement(a.n,{"data-is-focusable":!0},r.createElement(a.l,{"data-is-focusable":!0},r.createElement(a.o,{dangerouslySetInnerHTML:{__html:e.now}}),r.createElement(a.p,{dangerouslySetInnerHTML:{__html:e.level}})),r.createElement(a.l,null,r.createElement(a.m,{dangerouslySetInnerHTML:{__html:e.body}})))},t.prototype.saveConfiguration=function(){return P(this,void 0,void 0,(function(){var e,t,n=this;return D(this,(function(o){switch(o.label){case 0:return this.setState({saveStatus:m.p.saving}),(e=this.props.settings).aiInstrumentationKey=this.state.aiInstrumentationKey,e.curlLoggingEnabled=this.state.curlLoggingEnabled,e.debugLog=this.state.debugLog,e.debugLogIdToken=this.state.debugLogIdToken,e.debugLogLocation=this.state.debugLogLocation,e.hideErrorNotice=this.state.hideErrorNotice,[4,i.a.updateSettings(this.props.env,e)];case 1:return(t=o.sent()).success?(i.a.getSettings(this.props.env).then((function(e){return n.props.updateSettings(e)})),this.setState({errors:[],saveStatus:m.p.success})):this.setState((function(e,n){return{errors:M(e.errors,[new h.a("saveConfiguration",t.message,2e3)]),saveStatus:m.p.error}})),[2]}}))}))},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var o=n(0),r=n(3),i=n(16),a=n.n(i),s=n(71),l=n(72),c=n(121),u=n(62),d=n(34),p=n(33),m=n(259),h=n(1),f=n(13),g=n(12),b=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())}))},v=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},y=function(e){var t=e.dismiss,n=o.useContext(g.a),i=n.env,a=n.env.props.extensions,s=n.settings,c=(n.settings.hidePremiumOptions,n.updateSettings),p=function(e){var t=JSON.parse(JSON.stringify(e));return delete t.name,delete t.configurations,t},y=o.useState(void 0),w=y[0],_=y[1],C=o.useState(!1),E=C[0],S=C[1],x=o.useState(JSON.stringify(p(s),null,2)),k=x[0],O=x[1];o.useEffect((function(){O(JSON.stringify(p(s),null,2))}),[s]);var I=o.useState(void 0),T=I[0],P=I[1],D=o.useState(h.p.initial),M=D[0],A=D[1],R=o.useState(!1),N=R[0],L=R[1],j=o.useRef(void 0),F=function(e){var t=null;try{t=JSON.parse(e),P(void 0)}catch(e){P("Could not parse the configuration as JSON ["+e+"]")}return JSON.stringify(t)};return o.createElement("div",{className:r.jsonEditor},o.createElement(m.a,{className:r.jsonTextArea,multiline:!0,rows:10,label:"Configuration source",style:{backgroundColor:T?"#FFCCCC":"initial"},value:k,onChange:function(e,t){t!=k&&(F(t),O(t))},componentRef:j}),o.createElement("div",{className:r.wpo365WzRowifier},o.createElement("div",{className:r.toolbarItem},o.createElement(l.a,{disabled:!!T,onClick:function(){return function(){try{j.current.select(),document.execCommand("copy"),j.current.focus()}catch(e){P("Could not copy configuration to clipboard ["+e.message+"]")}}()}},"Copy to clipboard")),!a.some((function(e){return[h.e.wpo365MsGraphMailer].some((function(t){return t==e}))}))&&o.createElement(o.Fragment,null,o.createElement("div",{className:r.toolbarItem},o.createElement(l.a,{disabled:!!T||!a.some((function(e){return[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365Integrate,h.e.wpo365Pro].some((function(t){return t==e}))})),onClick:function(){return a.some((function(e){return[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365Integrate,h.e.wpo365Pro].some((function(t){return t==e}))}))&&S(!E)}},E?"Cancel":"Save as")),E&&o.createElement("div",{className:r.toolbarItem},o.createElement(m.a,{styles:{fieldGroup:{width:"144px"}},disabled:!!T||!a.some((function(e){return[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365Integrate,h.e.wpo365Pro].some((function(t){return t==e}))})),placeholder:"Enter name for configuration",value:w,onChange:function(e,t){return _(t)}})),o.createElement("div",{className:r.toolbarItem},o.createElement(l.a,{disabled:!!T,onClick:function(){return b(void 0,void 0,void 0,(function(){var e,n,o;return v(this,(function(r){switch(r.label){case 0:if(!a.some((function(e){return[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365Integrate,h.e.wpo365Pro].some((function(t){return t==e}))})))return L(!0),[2];if(A(h.p.saving),P(void 0),F(k),e=JSON.parse(k),T)return A(h.p.initial),[2];r.label=1;case 1:return r.trys.push([1,6,,7]),e.name=w||s.name,e.configurations=s.configurations,[4,f.a.updateSettings(i,e,!0)];case 2:return r.sent().success?[4,f.a.getSettings(i)]:[3,4];case 3:return n=r.sent(),c(n),P(void 0),A(h.p.success),_(void 0),S(!1),[3,5];case 4:throw"Unknown error occured whilst updating configuration [check F12 > console for technical details]";case 5:return[3,7];case 6:return o=r.sent(),P("Could not save the configuration ["+o.message+"]"),A(h.p.initial),[3,7];case 7:return t&&setTimeout((function(){t()}),500),[2]}}))}))}},"Save")),t&&o.createElement("div",{className:r.toolbarItem},o.createElement(l.a,{disabled:!!T,onClick:function(){return t()}},"Cancel")),M==h.p.saving&&o.createElement("div",{style:{paddingLeft:"10px"}},o.createElement(u.a,{size:d.a.small})))),T&&o.createElement("div",null,o.createElement("span",{className:r.wpo365WzError},T)),M==h.p.success&&o.createElement("div",null,o.createElement("span",null,"Configuration was saved successfully")),N&&o.createElement("div",{className:r.toolbarItem},o.createElement("span",null,"Available for:"," ",o.createElement("a",{href:"https://www.wpo365.com/downloads/wordpress-office-365-login-premium/",target:"_blank"},"SYNC")," ",o.createElement("a",{href:"https://www.wpo365.com/downloads/wordpress-office-365-login-intranet/",target:"_blank"},"INTRANET"))))},w=n(8),_=n(53),C=n(31),E=n(11),S=function(){return(S=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)},x=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())}))},k=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},O=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o},I=function(e){var t=o.useContext(g.a),n=t.env,i=t.env.props,m=i.extensions,b=i.wpmu,v=i.wpConfigMultiple,I=i.wpConfigAad,T=i.wpConfigOverrides,P=t.settings,D=t.settings.hidePremiumOptions,M=t.updateSettings,A=o.useState(null),R=A[0],N=A[1],L=o.useState(void 0),j=L[0],F=L[1],B=o.useState(h.p.initial),W=B[0],z=B[1],H=o.useState(void 0),U=H[0],V=H[1],G=o.useState(h.p.initial),K=G[0],q=G[1],Z=o.useState({status:h.p.initial,options:null}),X=Z[0],Y=Z[1],Q=o.useState(null),$=Q[0],J=Q[1],ee=o.useState(null),te=ee[0],ne=ee[1],oe=o.useState(null),re=oe[0],ie=oe[1],ae=o.useState(h.p.initial),se=ae[0],le=ae[1],ce=o.useState(void 0),ue=ce[0],de=ce[1],pe=function(e){return void 0===e&&(e=!1),x(void 0,void 0,void 0,(function(){var t,o,r;return k(this,(function(i){switch(i.label){case 0:Y({status:h.p.saving,options:e?"aad":"overrides"}),J(null),(t=new FormData).append("action","wpo365_get_parseable_options"),t.append("nonce",n.nonce),t.append("aad_options_only",e.toString()),t.append("ina",window.wpo365.wizard.props.ina),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a.a.post(n.wpAjaxAdminUrl,t)];case 2:return o=i.sent(),[3,4];case 3:return r=i.sent(),Y({status:h.p.initial,options:e?"aad":"overrides"}),J(r.message),[2];case 4:return Y({status:h.p.initial,options:e?"aad":"overrides"}),o.status>=200&&o.status<300&&o.data&&o.data.status?"OK"==o.data.status&&o.data.result?(e?ie(atob(o.data.result)):ne(atob(o.data.result)),[2]):(J(o.data.message),[2]):(J("Error occured (HTTP status "+o.status+")"),[2])}}))}))};return o.createElement(o.Fragment,null,o.createElement("div",{className:r.wpo365WzPage},o.createElement("div",{className:r.wpo365WzSupportMenuRowifier},o.createElement("div",{className:r.wpo365WzPageTitle},o.createElement("h3",null,"WordPress + Azure AD / Microsoft 365 configuration pages")),o.createElement(_.a,null),o.createElement(C.a,null)),o.createElement("div",{className:r.wpo365WzMain},o.createElement("table",{className:r.wpo365WzTable},o.createElement("colgroup",null,o.createElement("col",{width:"40%"}),o.createElement("col",{width:"60%"})),o.createElement("tr",null,o.createElement("td",{colSpan:2},o.createElement("h3",{className:r.wpo365WzSectionTitle},"Manage configuration(s)"))),o.createElement("tr",null,o.createElement("td",{colSpan:2},"Depending on purchased bundles this page allows you to:",o.createElement("ul",null,o.createElement("li",null,"Copy the current configuration to the clipboard."),o.createElement("li",null,"Save the current configuration under a new name and by doing so create multiple configurations that can be changed independently from one another."),o.createElement("li",null,"Change the current configuration by selecting one of the previously saved configurations."),o.createElement("li",null,"Edit the configuration's JSON and save it."),o.createElement("li",null,"Delete all configurations.")))),(!D||m.some((function(e){return[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365Integrate,h.e.wpo365Pro].some((function(t){return t==e}))})))&&o.createElement("tr",null,o.createElement("th",null,"Select current configuration"),o.createElement("td",null,o.createElement(w.a,{extensions:m,targets:[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365Integrate,h.e.wpo365Pro]},o.createElement("div",{className:r.wpo365WzRowifier},o.createElement(c.a,{options:P.configurations?P.configurations.map((function(e){return{key:e.name,text:e.name}})):[],selectedKey:P.name?P.name:void 0,onChange:function(e,t){return x(void 0,void 0,void 0,(function(){var e,o,r,i;return k(this,(function(l){switch(l.label){case 0:if(V(void 0),P.name&&P.name==t.key)return[2];if(q(h.p.saving),!Array.isArray(P.configurations))return V("There are no configurations to choose from."),q(h.p.initial),[2];if(-1==(e=Object(E.d)(P.configurations,(function(e){return e.name&&e.name==t.key}))))return V("Could not find the requested configuration."),q(h.p.initial),[2];(o=S({},P.configurations[e])).configurations=O(P.configurations),l.label=1;case 1:return l.trys.push([1,5,,6]),[4,f.a.updateSettings(n,o,!0)];case 2:return l.sent(),[4,f.a.getSettings(n)];case 3:return r=l.sent(),M(r),[4,x(void 0,void 0,void 0,(function(){var e,t;return k(this,(function(o){switch(o.label){case 0:s.TokenCache.clearTokenCache(),(e=new FormData).append("action","wpo365_delete_tokens"),e.append("nonce",n.nonce),e.append("ina",window.wpo365.wizard.props.ina),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,a.a.post(n.wpAjaxAdminUrl,e)];case 2:return t=o.sent(),[3,4];case 3:throw o.sent();case 4:if(200==t.status&&t.data&&t.data.status&&"OK"==t.data.status)return[2];throw"Unknown error occurred whilst deleting the access and refresh tokens for Microsoft Graph."}}))}))];case 4:return l.sent(),V(void 0),q(h.p.success),[3,6];case 5:return i=l.sent(),V("Failed to update the configuration ["+i.message+"]."),q(h.p.initial),[2];case 6:return[2]}}))}))},placeholder:"Select current configuration",style:{maxWidth:"400px"}}),K==h.p.saving&&o.createElement("div",{style:{paddingLeft:"10px"}},o.createElement(u.a,{size:d.a.small})))))),U&&o.createElement("tr",null,o.createElement("td",null),o.createElement("td",null,o.createElement("span",{className:r.wpo365WzError},U))),o.createElement("tr",null,o.createElement("td",null,"Copy / Edit configuration(s)"),o.createElement("td",null,o.createElement(y,null))),o.createElement("tr",null,o.createElement("th",null,"Delete current configuration"),o.createElement("td",null,o.createElement("div",{className:r.wpo365WzRowifier},o.createElement(l.a,{onClick:function(){return x(void 0,void 0,void 0,(function(){var e;return k(this,(function(t){return e={title:"Important",subText:"You are about to delete the WPO365 configuration. This action is irreversible. After deleting the settings you can re-configure the plugin.",onDismiss:function(){return N(null)},onCancel:function(){return N(null)},onConfirm:function(){return x(void 0,void 0,void 0,(function(){var e,t,o,r,i,l,c;return k(this,(function(u){switch(u.label){case 0:if(F(void 0),z(h.p.saving),!(Array.isArray(P.configurations)&&P.configurations.length>1&&P.name))return[3,4];if(!((e=Object(E.d)(P.configurations,(function(e){return e.name==P.name})))>-1))return[3,4];(t=O(P.configurations)).splice(e,1),(o=S({},t[0])).configurations=t,u.label=1;case 1:return u.trys.push([1,3,,4]),[4,f.a.updateSettings(n,o)];case 2:return u.sent(),window.location.reload(),[2];case 3:return r=u.sent(),N(null),F("Failed to delete settings ["+r.message+"]."),z(h.p.initial),[2];case 4:s.TokenCache.clearTokenCache(),(i=new FormData).append("action","wpo365_delete_settings"),i.append("nonce",n.nonce),i.append("ina",window.wpo365.wizard.props.ina),u.label=5;case 5:return u.trys.push([5,7,,8]),[4,a.a.post(n.wpAjaxAdminUrl,i)];case 6:return l=u.sent(),[3,8];case 7:return c=u.sent(),N(null),F("Failed to delete settings ["+c.message+"]."),z(h.p.initial),[2];case 8:return 200==l.status&&l.data&&l.data.status&&"OK"==l.data.status?(window.location.reload(),[2]):(N(null),F("Unknown error occurred [server did not report success]"),z(h.p.initial),[2])}}))}))}},N(e),[2]}))}))},style:{minWidth:"400px",minHeight:"30px"}},"Delete WPO365 configuration"),W==h.p.saving&&o.createElement("div",{style:{paddingLeft:"10px"}},o.createElement(u.a,{size:d.a.small}))))),j&&o.createElement("tr",null,o.createElement("td",null),o.createElement("td",null,o.createElement("span",{className:r.wpo365WzError},j))),"wpmuDedicated"==b&&-1==location.href.indexOf("/network/")&&o.createElement(o.Fragment,null,o.createElement("tr",null,o.createElement("th",null,"Copy central WPO365 configuration (WordPress multisite)"),o.createElement("td",null,o.createElement("div",{className:r.wpo365WzRowifier},o.createElement(l.a,{onClick:function(){return x(void 0,void 0,void 0,(function(){var e,t,o,r;return k(this,(function(i){switch(i.label){case 0:le(h.p.saving),de(void 0),(e=new FormData).append("action","wpo365_copy_main_site_options"),e.append("nonce",n.nonce),e.append("ina",window.wpo365.wizard.props.ina),i.label=1;case 1:return i.trys.push([1,5,,6]),[4,a.a.post(n.wpAjaxAdminUrl,e)];case 2:return(t=i.sent()).status>=200&&t.status<300&&"OK"==t.data.status?[4,f.a.getSettings(n)]:[3,4];case 3:return o=i.sent(),M(o),le(h.p.initial),[2];case 4:throw"Unknown error occurred when trying to copy the WPO365 from WPMU Network Admin";case 5:return r=i.sent(),de(r.message),[3,6];case 6:return le(h.p.initial),[2]}}))}))},style:{minWidth:"400px",minHeight:"30px"}},"Copy options"),se==h.p.saving&&o.createElement("div",{style:{paddingLeft:"10px"}},o.createElement(u.a,{size:d.a.small}))))),ue&&o.createElement("tr",null,o.createElement("td",null),o.createElement("td",null,o.createElement("span",{className:r.wpo365WzError},ue)))),(!D||m.some((function(e){return[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365CustomFields,h.e.wpo365LoginPlus,h.e.wpo365Mail,h.e.wpo365RolesAccess,h.e.wpo365Scim,h.e.wpo365Integrate,h.e.wpo365Pro].some((function(t){return t==e}))})))&&o.createElement(o.Fragment,null,o.createElement("tr",null,o.createElement("th",null,"Export configuration (wp-config.php | WPO_AAD_1)"),o.createElement("td",null,o.createElement("div",{className:r.wpo365WzRowifier},o.createElement(w.a,{extensions:m,targets:[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365CustomFields,h.e.wpo365LoginPlus,h.e.wpo365Mail,h.e.wpo365RolesAccess,h.e.wpo365Scim,h.e.wpo365Integrate,h.e.wpo365Pro]},o.createElement(l.a,{disabled:I||v,onClick:function(){return pe(!0)},style:{minWidth:"400px",minHeight:"30px"}},"Export configuration"),X.status==h.p.saving&&"aad"==X.options&&o.createElement("div",{style:{paddingLeft:"10px"}},o.createElement(u.a,{size:d.a.small})))))),re&&o.createElement("tr",null,o.createElement("td",null),o.createElement("td",null,o.createElement("a",{href:"data:text/json;charset=utf-8,"+encodeURIComponent(re),download:"wpo365-parseable-aad-options.txt"},"Download parseable AAD options"))),o.createElement("tr",null,o.createElement("th",null,"Export configuration (wp-config.php | WPO_OVERRIDES_1)"),o.createElement("td",null,o.createElement("div",{className:r.wpo365WzRowifier},o.createElement(w.a,{extensions:m,targets:[h.e.wpo365LoginProfessional,h.e.wpo365Essentials,h.e.wpo365Customers,h.e.wpo365LoginPremium,h.e.wpo365Sync5y,h.e.wpo365LoginIntranet,h.e.wpo365Intranet5y,h.e.wpo365CustomFields,h.e.wpo365LoginPlus,h.e.wpo365Mail,h.e.wpo365RolesAccess,h.e.wpo365Scim,h.e.wpo365Integrate,h.e.wpo365Pro]},o.createElement(l.a,{disabled:T,onClick:function(){return pe()},style:{minWidth:"400px",minHeight:"30px"}},"Export configuration"),X.status==h.p.saving&&"overrides"==X.options&&o.createElement("div",{style:{paddingLeft:"10px"}},o.createElement(u.a,{size:d.a.small})))))),te&&o.createElement("tr",null,o.createElement("td",null),o.createElement("td",null,o.createElement("a",{href:"data:text/json;charset=utf-8,"+encodeURIComponent(te),download:"wpo365-parseable-overrides.txt"},"Download parseable options (overrides)"))),$&&o.createElement("tr",null,o.createElement("td",null),o.createElement("td",null,o.createElement("span",{className:r.wpo365WzError},$))))))),R&&o.createElement(p.a,{onCancel:R.onCancel,onConfirm:R.onConfirm,onDismiss:R.onDismiss,title:R.title,subText:R.subText}))}},function(e,t,n){"use strict";var o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class)|(on[A-Z].*)|((data|aria|x)-.*))$/i,r=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(o.test.bind(o));t.a=r},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o=n(92),r=n(63),i=n(61);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e,Object(r.a)())}function s(e,t){var n=e instanceof Array?e:[e],r=Object(o.a)(n),a=r.classes,s=r.objects;return s.length&&a.push(Object(i.c)(t||{},s)),a.join(" ")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(98);function r(e){Object(o.a)(e,{componentDidMount:i,componentDidUpdate:a,componentWillUnmount:s})}function i(){l(this.props.componentRef,this)}function a(e){e.componentRef!==this.props.componentRef&&(l(e.componentRef,null),l(this.props.componentRef,this))}function s(){l(this.props.componentRef,null)}function l(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}},function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header"}(o||(o={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return P}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(162),l=n(40),c=n(72),u=n(73),d=n(167),p=n(96),m=n(24),h=n(30),f=n(247),g=Object(a.a)(),b=function(e){function t(t){var n=e.call(this,t)||this;return n.rootElement=i.createRef(),n._onKeyDown=function(e){n.props.onDismiss&&e.which===l.a.escape&&n.props.onDismiss()},Object(s.a)(n),n.state={},n}return Object(r.c)(t,e),t.prototype.componentDidMount=function(){this.props.onDismiss&&document.addEventListener("keydown",this._onKeyDown,!1)},t.prototype.componentWillUnmount=function(){this.props.onDismiss&&document.removeEventListener("keydown",this._onKeyDown)},t.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},t.prototype.render=function(){var e,t,n,o,a,s=this.props,l=s.children,m=s.illustrationImage,b=s.primaryButtonProps,v=s.secondaryButtonProps,y=s.headline,w=s.hasCondensedHeadline,_=s.hasCloseButton,C=void 0===_?this.props.hasCloseIcon:_,E=s.onDismiss,S=s.closeButtonAriaLabel,x=s.hasSmallHeadline,k=s.isWide,O=s.styles,I=s.theme,T=s.ariaDescribedBy,P=s.ariaLabelledBy,D=s.footerContent,M=s.focusTrapZoneProps,A=g(O,{theme:I,hasCondensedHeadline:w,hasSmallHeadline:x,hasCloseButton:C,hasHeadline:!!y,isWide:k,primaryButtonClassName:b?b.className:void 0,secondaryButtonClassName:v?v.className:void 0});if(m&&m.src&&(e=i.createElement("div",{className:A.imageContent},i.createElement(p.a,Object(r.a)({},m)))),y){var R="string"==typeof y?"p":"div";t=i.createElement("div",{className:A.header},i.createElement(R,{role:"heading",className:A.headline,id:P},y))}if(l){var N="string"==typeof l?"p":"div";n=i.createElement("div",{className:A.body},i.createElement(N,{className:A.subText,id:T},l))}return(b||v||D)&&(o=i.createElement(h.a,{className:A.footer,horizontal:!0,horizontalAlign:D?"space-between":"end"},i.createElement(h.a.Item,{align:"center"},i.createElement("span",null,D)),i.createElement(h.a.Item,null,v&&i.createElement(c.a,Object(r.a)({},v,{className:A.secondaryButton})),b&&i.createElement(u.a,Object(r.a)({},b,{className:A.primaryButton}))))),C&&(a=i.createElement(d.a,{className:A.closeButton,iconProps:{iconName:"Cancel"},title:S,ariaLabel:S,onClick:E})),i.createElement("div",{className:A.content,ref:this.rootElement,role:"dialog",tabIndex:-1,"aria-labelledby":P,"aria-describedby":T,"data-is-focusable":!0},e,i.createElement(f.a,Object(r.a)({isClickableOutsideFocusTrap:!0},M),i.createElement("div",{className:A.bodyContent},t,n,o,a)))},t.defaultProps={hasCondensedHeadline:!1,imageProps:{imageFit:m.b.cover,width:364,height:130}},t}(i.Component),v=n(14),y=n(58),w={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"},_=Object(y.b)((function(){return Object(v.D)({"0%":{opacity:0,animationTimingFunction:v.c.easeFunction1,transform:"scale3d(.90,.90,.90)"},"100%":{opacity:1,transform:"scale3d(1,1,1)"}})})),C=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:""+_(),animationDuration:"300ms",animationTimingFunction:"linear",animationFillMode:"both"},e&&{maxWidth:r||456}]},E=function(e,t,n){return t?[e.headerIsCondensed,{marginBottom:14}]:[n&&e.headerIsSmall,!n&&e.headerIsLarge,{selectors:{":not(:last-child)":{marginBottom:14}}}]},S=function(e){var t,n,o,i=e.hasCondensedHeadline,a=e.hasSmallHeadline,s=e.hasCloseButton,l=e.hasHeadline,c=e.isWide,u=e.primaryButtonClassName,d=e.secondaryButtonClassName,p=e.theme,m=e.calloutProps,h=void 0===m?{className:void 0,theme:p}:m,f=!i&&!a,g=p.palette,b=p.semanticColors,y=p.fonts,_=Object(v.x)(w,p);return{root:[_.root,y.medium,h.className],body:[_.body,s&&!l&&{marginRight:24},{selectors:{":not(:last-child)":{marginBottom:20}}}],bodyContent:[_.bodyContent,{padding:"20px 24px 20px 24px"}],closeButton:[_.closeButton,{position:"absolute",right:0,top:0,margin:"15px 15px 0 0",borderRadius:0,color:g.white,fontSize:y.small.fontSize,selectors:{":hover":{background:g.themeDarkAlt,color:g.white},":active":{background:g.themeDark,color:g.white},":focus":{border:"1px solid "+b.variantBorder}}}],content:Object(r.e)([_.content],C(c),[c&&{display:"flex"}]),footer:[_.footer,{display:"flex",flex:"auto",alignItems:"center",color:g.white,selectors:(t={},t["."+_.button+":not(:first-child)"]={marginLeft:10},t)}],header:Object(r.e)([_.header],E(_,i,a),[s&&{marginRight:24},(i||a)&&[y.medium,{fontWeight:v.d.semibold}]]),headline:[_.headline,{margin:0,color:g.white,fontWeight:v.d.semibold},f&&[{fontSize:y.xLarge.fontSize}]],imageContent:[_.header,_.image,c&&{display:"flex",alignItems:"center",maxWidth:154}],primaryButton:[_.primaryButton,u,{backgroundColor:g.white,borderColor:g.white,color:g.themePrimary,whiteSpace:"nowrap",selectors:(n={},n["."+_.buttonLabel]=y.medium,n[":hover"]={backgroundColor:g.themeLighter,borderColor:g.themeLighter,color:g.themePrimary},n[":focus"]={backgroundColor:g.themeLighter,borderColor:g.white},n[":active"]={backgroundColor:g.white,borderColor:g.white,color:g.themePrimary},n)}],secondaryButton:[_.secondaryButton,d,{backgroundColor:g.themePrimary,borderColor:g.white,whiteSpace:"nowrap",selectors:(o={},o["."+_.buttonLabel]=[y.medium,{color:g.white}],o["&:hover, &:focus"]={backgroundColor:g.themeDarkAlt,borderColor:g.white},o[":active"]={backgroundColor:g.themePrimary,borderColor:g.white},o)}],subText:[_.subText,{margin:0,fontSize:y.medium.fontSize,color:g.white,fontWeight:v.d.regular}],subComponentStyles:{callout:{root:Object(r.e)(C(c,h),[y.medium]),beak:[{background:g.themePrimary}],calloutMain:[{background:g.themePrimary}]}}}},x=Object(o.a)(b,S,void 0,{scope:"TeachingBubbleContent"}),k=n(209),O=n(21),I=Object(a.a)(),T=function(e){function t(t){var n=e.call(this,t)||this;return n.rootElement=i.createRef(),Object(s.a)(n),n.state={},n._defaultCalloutProps={beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:O.a.rightCenter},n}return Object(r.c)(t,e),t.prototype.focus=function(){this.rootElement.current&&this.rootElement.current.focus()},t.prototype.render=function(){var e=this.props,t=e.calloutProps,n=e.targetElement,o=e.onDismiss,a=e.hasCloseButton,s=void 0===a?this.props.hasCloseIcon:a,l=e.isWide,c=e.styles,u=e.theme,d=e.target,p=Object(r.a)(Object(r.a)({},this._defaultCalloutProps),t),m={theme:u,isWide:l,calloutProps:Object(r.a)(Object(r.a)({},p),{theme:p.theme}),hasCloseButton:s},h=I(c,m),f=h.subComponentStyles?h.subComponentStyles.callout:void 0;return i.createElement(k.a,Object(r.a)({target:d||n,onDismiss:o},p,{className:h.root,styles:f,hideOverflow:!0}),i.createElement("div",{ref:this.rootElement},i.createElement(x,Object(r.a)({},this.props))))},t.defaultProps={calloutProps:{beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1,directionalHint:O.a.rightCenter}},t}(i.Component),P=Object(o.a)(T,S,void 0,{scope:"TeachingBubble"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var o=n(236),r=n(2),i=n(0),a=n(237),s=Object(a.a)(),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderProgress=function(e){var n=t.props,o=n.ariaValueText,r=n.barHeight,a=n.className,l=n.styles,c=n.theme,u="number"==typeof t.props.percentComplete?Math.min(100,Math.max(0,100*t.props.percentComplete)):void 0,d=s(l,{theme:c,className:a,barHeight:r,indeterminate:void 0===u}),p={width:void 0!==u?u+"%":void 0,transition:void 0!==u&&u<.01?"none":void 0},m=void 0!==u?0:void 0,h=void 0!==u?100:void 0,f=void 0!==u?Math.floor(u):void 0;return i.createElement("div",{className:d.itemProgress},i.createElement("div",{className:d.progressTrack}),i.createElement("div",{className:d.progressBar,style:p,role:"progressbar","aria-valuemin":m,"aria-valuemax":h,"aria-valuenow":f,"aria-valuetext":o}))},t}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.barHeight,n=e.className,o=e.label,a=void 0===o?this.props.title:o,l=e.description,c=e.styles,u=e.theme,d=e.progressHidden,p=e.onRenderProgress,m=void 0===p?this._onRenderProgress:p,h="number"==typeof this.props.percentComplete?Math.min(100,Math.max(0,100*this.props.percentComplete)):void 0,f=s(c,{theme:u,className:n,barHeight:t,indeterminate:void 0===h});return i.createElement("div",{className:f.root},a?i.createElement("div",{className:f.itemName},a):null,d?null:m(Object(r.a)(Object(r.a)({},this.props),{percentComplete:h}),this._onRenderProgress),l?i.createElement("div",{className:f.itemDescription},l):null)},t.defaultProps={label:"",description:"",width:180},t}(i.Component),c=n(14),u=n(58),d=n(118),p={root:"ms-ProgressIndicator",itemName:"ms-ProgressIndicator-itemName",itemDescription:"ms-ProgressIndicator-itemDescription",itemProgress:"ms-ProgressIndicator-itemProgress",progressTrack:"ms-ProgressIndicator-progressTrack",progressBar:"ms-ProgressIndicator-progressBar"},m=Object(u.b)((function(){return Object(c.D)({"0%":{left:"-30%"},"100%":{left:"100%"}})})),h=Object(u.b)((function(){return Object(c.D)({"100%":{right:"-30%"},"0%":{right:"100%"}})})),f=Object(o.a)(l,(function(e){var t,n,o,r=Object(d.a)(e.theme),i=e.className,a=e.indeterminate,s=e.theme,l=e.barHeight,u=void 0===l?2:l,f=s.palette,g=s.semanticColors,b=s.fonts,v=Object(c.x)(p,s),y=f.neutralLight;return{root:[v.root,b.medium,i],itemName:[v.itemName,c.G,{color:g.bodyText,paddingTop:4,lineHeight:20}],itemDescription:[v.itemDescription,{color:g.bodySubtext,fontSize:b.small.fontSize,lineHeight:18}],itemProgress:[v.itemProgress,{position:"relative",overflow:"hidden",height:u,padding:"8px 0"}],progressTrack:[v.progressTrack,{position:"absolute",width:"100%",height:u,backgroundColor:y,selectors:(t={},t[c.e]={borderBottom:"1px solid WindowText"},t)}],progressBar:[{backgroundColor:f.themePrimary,height:u,position:"absolute",transition:"width .3s ease",width:0,selectors:(n={},n[c.e]={backgroundColor:"highlight"},n)},a?{position:"absolute",minWidth:"33%",background:"linear-gradient(to right, "+y+" 0%, "+f.themePrimary+" 50%, "+y+" 100%)",animation:(r?h():m())+" 3s infinite",selectors:(o={},o[c.e]={background:"highlight"},o)}:{transition:"width .15s linear"},v.progressBar]}}),void 0,{scope:"ProgressIndicator"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var o=n(2),r=n(0),i=n(65),a=n(208),s=n(207),l=n(14),c=n(58),u=n(64),d=n(76),p=n(42),m=Object(c.b)((function(e,t,n,o){var r,i,a,s,c,m,h,f,g,b,v=Object(u.a)(e),y=Object(d.a)(e),w=e.palette,_=e.semanticColors,C={root:[Object(l.w)(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,{minWidth:"40px",backgroundColor:w.white,color:w.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0,selectors:(r={},r[l.e]={border:"none"},r)}],rootHovered:{backgroundColor:w.neutralLighter,color:w.neutralDark,selectors:(i={},i[l.e]={color:"Highlight"},i["."+p.a.msButtonIcon]={color:w.themeDarkAlt},i["."+p.a.msButtonMenuIcon]={color:w.neutralPrimary},i)},rootPressed:{backgroundColor:w.neutralLight,color:w.neutralDark,selectors:(a={},a["."+p.a.msButtonIcon]={color:w.themeDark},a["."+p.a.msButtonMenuIcon]={color:w.neutralPrimary},a)},rootChecked:{backgroundColor:w.neutralLight,color:w.neutralDark,selectors:(s={},s["."+p.a.msButtonIcon]={color:w.themeDark},s["."+p.a.msButtonMenuIcon]={color:w.neutralPrimary},s)},rootCheckedHovered:{backgroundColor:w.neutralQuaternaryAlt,selectors:(c={},c["."+p.a.msButtonIcon]={color:w.themeDark},c["."+p.a.msButtonMenuIcon]={color:w.neutralPrimary},c)},rootExpanded:{backgroundColor:w.neutralLight,color:w.neutralDark,selectors:(m={},m["."+p.a.msButtonIcon]={color:w.themeDark},m["."+p.a.msButtonMenuIcon]={color:w.neutralPrimary},m)},rootExpandedHovered:{backgroundColor:w.neutralQuaternaryAlt},rootDisabled:{backgroundColor:w.white,selectors:(h={},h["."+p.a.msButtonIcon]={color:_.disabledBodySubtext},h)},splitButtonContainer:{height:"100%",selectors:(f={},f[l.e]={border:"none"},f)},splitButtonDivider:{backgroundColor:w.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:w.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:w.neutralSecondary,selectors:{":hover":{backgroundColor:w.neutralLighter,color:w.neutralDark,selectors:(g={},g[l.e]={color:"Highlight"},g["."+p.a.msButtonIcon]={color:w.neutralPrimary},g)},":active":{backgroundColor:w.neutralLight,selectors:(b={},b["."+p.a.msButtonIcon]={color:w.neutralPrimary},b)}}},splitButtonMenuButtonDisabled:{backgroundColor:w.white},splitButtonMenuButtonChecked:{backgroundColor:w.neutralLight,color:w.neutralDark,selectors:{":hover":{backgroundColor:w.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:w.neutralLight,color:w.black,selectors:{":hover":{backgroundColor:w.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:w.neutralPrimary},splitButtonMenuIconDisabled:{color:w.neutralTertiary},label:{fontWeight:"normal"},icon:{color:w.themePrimary},menuIcon:{color:w.neutralSecondary}};return Object(l.r)(v,y,C,t)})),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return r.createElement(i.a,Object(o.a)({},this.props,{variantClassName:"ms-Button--commandBar",styles:m(n,t),onRenderDescription:a.a}))},t=Object(o.b)([Object(s.a)("CommandBarButton",["theme","styles"],!0)],t)}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n(2),r=n(0),i=n(65),a=n(208),s=n(207),l=n(14),c=n(58),u=n(64),d=n(76),p=Object(c.b)((function(e,t){var n,o=Object(u.a)(e),r=Object(d.a)(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[l.e]={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(l.r)(o,a,r,t)})),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return r.createElement(i.a,Object(o.a)({},this.props,{variantClassName:"ms-Button--icon",styles:p(n,t),onRenderText:a.a,onRenderDescription:a.a}))},t=Object(o.b)([Object(s.a)("IconButton",["theme","styles"],!0)],t)}(r.Component)},,,,,,,,,,function(e,t,n){"use strict";
/** @license React v16.13.1
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(129),r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.memo"):60115,f=r?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||v}function _(){}function C(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||v}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(b(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=w.prototype;var E=C.prototype=new _;E.constructor=C,o(E,w.prototype),E.isPureReactComponent=!0;var S={current:null},x=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,n){var o,r={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,o)&&!k.hasOwnProperty(o)&&(r[o]=t[o]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];r.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===r[o]&&(r[o]=l[o]);return{$$typeof:i,type:e,key:a,ref:s,props:r,_owner:S.current}}function I(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var T=/\/+/g,P=[];function D(e,t,n,o){if(P.length){var r=P.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=o,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:o,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function A(e,t,n){return null==e?0:function e(t,n,o,r){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return o(r,t,""===n?"."+R(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var u=n+R(s=t[c],c);l+=e(s,u,o,r)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),c=0;!(s=t.next()).done;)l+=e(s=s.value,u=n+R(s,c++),o,r);else if("object"===s)throw o=""+t,Error(b(31,"[object Object]"===o?"object with keys {"+Object.keys(t).join(", ")+"}":o,""));return l}(e,"",t,n)}function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function N(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var o=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,o,n,(function(e){return e})):null!=e&&(I(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+n)),o.push(e))}function j(e,t,n,o,r){var i="";null!=n&&(i=(""+n).replace(T,"$&/")+"/"),A(e,L,t=D(t,i,o,r)),M(t)}var F={current:null};function B(){var e=F.current;if(null===e)throw Error(b(321));return e}var W={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:o};t.Children={map:function(e,t,n){if(null==e)return e;var o=[];return j(e,o,null,t,n),o},forEach:function(e,t,n){if(null==e)return e;A(e,N,t=D(null,null,t,n)),M(t)},count:function(e){return A(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!I(e))throw Error(b(143));return e}},t.Component=w,t.Fragment=s,t.Profiler=c,t.PureComponent=C,t.StrictMode=l,t.Suspense=m,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W,t.cloneElement=function(e,t,n){if(null==e)throw Error(b(267,e));var r=o({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!k.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];r.children=c}return{$$typeof:i,type:e.type,key:a,ref:s,props:r,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=I,t.lazy=function(e){return{$$typeof:f,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return B().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,n){return B().useReducer(e,t,n)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";
/** @license React v16.13.1
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(0),r=n(129),i=n(179);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!o)throw Error(a(227));function s(e,t,n,o,r,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var l=!1,c=null,u=!1,d=null,p={onError:function(e){l=!0,c=e}};function m(e,t,n,o,r,i,a,u,d){l=!1,c=null,s.apply(p,arguments)}var h=null,f=null,g=null;function b(e,t,n){var o=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,o,r,i,s,p,h){if(m.apply(this,arguments),l){if(!l)throw Error(a(198));var f=c;l=!1,c=null,u||(u=!0,d=f)}}(o,t,void 0,e),e.currentTarget=null}var v=null,y={};function w(){if(v)for(var e in y){var t=y[e],n=v.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!C[n]){if(!t.extractEvents)throw Error(a(97,e));for(var o in C[n]=t,n=t.eventTypes){var r=void 0,i=n[o],s=t,l=o;if(E.hasOwnProperty(l))throw Error(a(99,l));E[l]=i;var c=i.phasedRegistrationNames;if(c){for(r in c)c.hasOwnProperty(r)&&_(c[r],s,l);r=!0}else i.registrationName?(_(i.registrationName,s,l),r=!0):r=!1;if(!r)throw Error(a(98,o,e))}}}}function _(e,t,n){if(S[e])throw Error(a(100,e));S[e]=t,x[e]=t.eventTypes[n].dependencies}var C=[],E={},S={},x={};function k(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];if(!y.hasOwnProperty(t)||y[t]!==o){if(y[t])throw Error(a(102,t));y[t]=o,n=!0}}n&&w()}var O=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),I=null,T=null,P=null;function D(e){if(e=f(e)){if("function"!=typeof I)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),I(e.stateNode,e.type,t))}}function M(e){T?P?P.push(e):P=[e]:T=e}function A(){if(T){var e=T,t=P;if(P=T=null,D(e),t)for(e=0;e<t.length;e++)D(t[e])}}function R(e,t){return e(t)}function N(e,t,n,o,r){return e(t,n,o,r)}function L(){}var j=R,F=!1,B=!1;function W(){null===T&&null===P||(L(),A())}function z(e,t,n){if(B)return e(t,n);B=!0;try{return j(e,t,n)}finally{B=!1,W()}}var H=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,U=Object.prototype.hasOwnProperty,V={},G={};function K(e,t,n,o,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){q[e]=new K(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];q[t]=new K(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){q[e]=new K(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){q[e]=new K(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){q[e]=new K(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){q[e]=new K(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){q[e]=new K(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){q[e]=new K(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){q[e]=new K(e,5,!1,e.toLowerCase(),null,!1)}));var Z=/[\-:]([a-z])/g;function X(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Z,X);q[t]=new K(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Z,X);q[t]=new K(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Z,X);q[t]=new K(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){q[e]=new K(e,1,!1,e.toLowerCase(),null,!1)})),q.xlinkHref=new K("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){q[e]=new K(e,1,!1,e.toLowerCase(),null,!0)}));var Y=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Q(e,t,n,o){var r=q.hasOwnProperty(t)?q[t]:null;(null!==r?0===r.type:!o&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,o){if(null==t||function(e,t,n,o){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,o))return!0;if(o)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,o)&&(n=null),o||null===r?function(e){return!!U.call(G,e)||!U.call(V,e)&&(H.test(e)?G[e]=!0:(V[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,o=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,o?e.setAttributeNS(o,t,n):e.setAttribute(t,n))))}Y.hasOwnProperty("ReactCurrentDispatcher")||(Y.ReactCurrentDispatcher={current:null}),Y.hasOwnProperty("ReactCurrentBatchConfig")||(Y.ReactCurrentBatchConfig={suspense:null});var $=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,oe=J?Symbol.for("react.strict_mode"):60108,re=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,se=J?Symbol.for("react.concurrent_mode"):60111,le=J?Symbol.for("react.forward_ref"):60112,ce=J?Symbol.for("react.suspense"):60113,ue=J?Symbol.for("react.suspense_list"):60120,de=J?Symbol.for("react.memo"):60115,pe=J?Symbol.for("react.lazy"):60116,me=J?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function fe(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case re:return"Profiler";case oe:return"StrictMode";case ce:return"Suspense";case ue:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ge(e.type);case me:return ge(e.render);case pe:if(e=1===e._status?e._result:null)return ge(e)}return null}function be(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var o=e._debugOwner,r=e._debugSource,i=ge(e.type);n=null,o&&(n=ge(o.type)),o=i,i="",r?i=" (at "+r.fileName.replace($,"")+":"+r.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n    in "+(o||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ve(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ye(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=ye(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){o=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function _e(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=ye(e)?e.checked?"true":"false":e.value),(e=o)!==n&&(t.setValue(e),!0)}function Ce(e,t){var n=t.checked;return r({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,o=null!=t.checked?t.checked:t.defaultChecked;n=ve(null!=t.value?t.value:n),e._wrapperState={initialChecked:o,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Se(e,t){null!=(t=t.checked)&&Q(e,"checked",t,!1)}function xe(e,t){Se(e,t);var n=ve(t.value),o=t.type;if(null!=n)"number"===o?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===o||"reset"===o)return void e.removeAttribute("value");t.hasOwnProperty("value")?Oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&Oe(e,t.type,ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ke(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!("submit"!==o&&"reset"!==o||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Oe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ie(e,t){return e=r({children:void 0},t),(t=function(e){var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Te(e,t,n,o){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&o&&(e[n].defaultSelected=!0)}else{for(n=""+ve(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(o&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Pe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return r({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function De(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ve(n)}}function Me(e,t){var n=ve(t.value),o=ve(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=o&&(e.defaultValue=""+o)}function Ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Re="http://www.w3.org/1999/xhtml",Ne="http://www.w3.org/2000/svg";function Le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function je(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Fe,Be=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,o,r){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Ne||"innerHTML"in e)e.innerHTML=t;else{for((Fe=Fe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function We(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ze(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:ze("Animation","AnimationEnd"),animationiteration:ze("Animation","AnimationIteration"),animationstart:ze("Animation","AnimationStart"),transitionend:ze("Transition","TransitionEnd")},Ue={},Ve={};function Ge(e){if(Ue[e])return Ue[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ve)return Ue[e]=n[t];return e}O&&(Ve=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ke=Ge("animationend"),qe=Ge("animationiteration"),Ze=Ge("animationstart"),Xe=Ge("transitionend"),Ye="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function $e(e){var t=Qe.get(e);return void 0===t&&(t=new Map,Qe.set(e,t)),t}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Je(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,o=t;;){var r=n.return;if(null===r)break;var i=r.alternate;if(null===i){if(null!==(o=r.return)){n=o;continue}break}if(r.child===i.child){for(i=r.child;i;){if(i===n)return tt(r),e;if(i===o)return tt(r),t;i=i.sibling}throw Error(a(188))}if(n.return!==o.return)n=r,o=i;else{for(var s=!1,l=r.child;l;){if(l===n){s=!0,n=r,o=i;break}if(l===o){s=!0,o=r,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,o=r;break}if(l===o){s=!0,o=i,n=r;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==o)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ot(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function rt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var o=0;o<t.length&&!e.isPropagationStopped();o++)b(e,t[o],n[o]);else t&&b(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(it=ot(it,e)),e=it,it=null,e){if(rt(e,at),it)throw Error(a(95));if(u)throw e=d,u=!1,d=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!O)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function dt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function pt(e,t,n,o){if(ut.length){var r=ut.pop();return r.topLevelType=e,r.eventSystemFlags=o,r.nativeEvent=t,r.targetInst=n,r}return{topLevelType:e,eventSystemFlags:o,nativeEvent:t,targetInst:n,ancestors:[]}}function mt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var o=n;if(3===o.tag)o=o.stateNode.containerInfo;else{for(;o.return;)o=o.return;o=3!==o.tag?null:o.stateNode.containerInfo}if(!o)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=On(o)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var r=lt(e.nativeEvent);o=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,l=0;l<C.length;l++){var c=C[l];c&&(c=c.extractEvents(o,t,i,r,a))&&(s=ot(s,c))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Zt(t,"scroll",!0);break;case"focus":case"blur":Zt(t,"focus",!0),Zt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Zt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ye.indexOf(e)&&qt(e,t)}n.set(e,null)}}var ft,gt,bt,vt=!1,yt=[],wt=null,_t=null,Ct=null,Et=new Map,St=new Map,xt=[],kt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ot="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function It(e,t,n,o,r){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:r,container:o}}function Tt(e,t){switch(e){case"focus":case"blur":wt=null;break;case"dragenter":case"dragleave":_t=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":Et.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":St.delete(t.pointerId)}}function Pt(e,t,n,o,r,i){return null===e||e.nativeEvent!==i?(e=It(t,n,o,r,i),null!==t&&(null!==(t=In(t))&&gt(t)),e):(e.eventSystemFlags|=o,e)}function Dt(e){var t=On(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){bt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;var t=$t(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=In(t);return null!==n&&gt(n),e.blockedOn=t,!1}return!0}function At(e,t,n){Mt(e)&&n.delete(t)}function Rt(){for(vt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=In(e.blockedOn))&&ft(e);break}var t=$t(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==wt&&Mt(wt)&&(wt=null),null!==_t&&Mt(_t)&&(_t=null),null!==Ct&&Mt(Ct)&&(Ct=null),Et.forEach(At),St.forEach(At)}function Nt(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Rt)))}function Lt(e){function t(t){return Nt(t,e)}if(0<yt.length){Nt(yt[0],e);for(var n=1;n<yt.length;n++){var o=yt[n];o.blockedOn===e&&(o.blockedOn=null)}}for(null!==wt&&Nt(wt,e),null!==_t&&Nt(_t,e),null!==Ct&&Nt(Ct,e),Et.forEach(t),St.forEach(t),n=0;n<xt.length;n++)(o=xt[n]).blockedOn===e&&(o.blockedOn=null);for(;0<xt.length&&null===(n=xt[0]).blockedOn;)Dt(n),null===n.blockedOn&&xt.shift()}var jt={},Ft=new Map,Bt=new Map,Wt=["abort","abort",Ke,"animationEnd",qe,"animationIteration",Ze,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Xe,"transitionEnd","waiting","waiting"];function zt(e,t){for(var n=0;n<e.length;n+=2){var o=e[n],r=e[n+1],i="on"+(r[0].toUpperCase()+r.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[o],eventPriority:t},Bt.set(o,t),Ft.set(o,i),jt[r]=i}}zt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),zt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),zt(Wt,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ut=0;Ut<Ht.length;Ut++)Bt.set(Ht[Ut],0);var Vt=i.unstable_UserBlockingPriority,Gt=i.unstable_runWithPriority,Kt=!0;function qt(e,t){Zt(t,e,!1)}function Zt(e,t,n){var o=Bt.get(t);switch(void 0===o?2:o){case 0:o=Xt.bind(null,t,1,e);break;case 1:o=Yt.bind(null,t,1,e);break;default:o=Qt.bind(null,t,1,e)}n?e.addEventListener(t,o,!0):e.addEventListener(t,o,!1)}function Xt(e,t,n,o){F||L();var r=Qt,i=F;F=!0;try{N(r,e,t,n,o)}finally{(F=i)||W()}}function Yt(e,t,n,o){Gt(Vt,Qt.bind(null,e,t,n,o))}function Qt(e,t,n,o){if(Kt)if(0<yt.length&&-1<kt.indexOf(e))e=It(null,e,t,n,o),yt.push(e);else{var r=$t(e,t,n,o);if(null===r)Tt(e,o);else if(-1<kt.indexOf(e))e=It(r,e,t,n,o),yt.push(e);else if(!function(e,t,n,o,r){switch(t){case"focus":return wt=Pt(wt,e,t,n,o,r),!0;case"dragenter":return _t=Pt(_t,e,t,n,o,r),!0;case"mouseover":return Ct=Pt(Ct,e,t,n,o,r),!0;case"pointerover":var i=r.pointerId;return Et.set(i,Pt(Et.get(i)||null,e,t,n,o,r)),!0;case"gotpointercapture":return i=r.pointerId,St.set(i,Pt(St.get(i)||null,e,t,n,o,r)),!0}return!1}(r,e,t,n,o)){Tt(e,o),e=pt(e,o,null,t);try{z(mt,e)}finally{dt(e)}}}}function $t(e,t,n,o){if(null!==(n=On(n=lt(o)))){var r=Je(n);if(null===r)n=null;else{var i=r.tag;if(13===i){if(null!==(n=et(r)))return n;n=null}else if(3===i){if(r.stateNode.hydrate)return 3===r.tag?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}e=pt(e,o,n,t);try{z(mt,e)}finally{dt(e)}return null}var Jt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Jt.hasOwnProperty(e)&&Jt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var o=0===n.indexOf("--"),r=tn(n,t[n],o);"float"===n&&(n="cssFloat"),o?e.setProperty(n,r):e[n]=r}}Object.keys(Jt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jt[t]=Jt[e]}))}));var on=r({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rn(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=Re;function ln(e,t){var n=$e(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=x[t];for(var o=0;o<t.length;o++)ht(t[o],e,n)}function cn(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function dn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,o=dn(e);for(e=0;o;){if(3===o.nodeType){if(n=e+o.textContent.length,e<=t&&n>=t)return{node:o,offset:t-e};e=n}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=dn(o)}}function mn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var fn=null,gn=null;function bn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yn="function"==typeof setTimeout?setTimeout:void 0,wn="function"==typeof clearTimeout?clearTimeout:void 0;function _n(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Cn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var En=Math.random().toString(36).slice(2),Sn="__reactInternalInstance$"+En,xn="__reactEventHandlers$"+En,kn="__reactContainere$"+En;function On(e){var t=e[Sn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[kn]||n[Sn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Cn(e);null!==e;){if(n=e[Sn])return n;e=Cn(e)}return t}n=(e=n).parentNode}return null}function In(e){return!(e=e[Sn]||e[kn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Tn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Pn(e){return e[xn]||null}function Dn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Mn(e,t){var n=e.stateNode;if(!n)return null;var o=h(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function An(e,t,n){(t=Mn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=ot(n._dispatchListeners,t),n._dispatchInstances=ot(n._dispatchInstances,e))}function Rn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Dn(t);for(t=n.length;0<t--;)An(n[t],"captured",e);for(t=0;t<n.length;t++)An(n[t],"bubbled",e)}}function Nn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Mn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=ot(n._dispatchListeners,t),n._dispatchInstances=ot(n._dispatchInstances,e))}function Ln(e){e&&e.dispatchConfig.registrationName&&Nn(e._targetInst,null,e)}function jn(e){rt(e,Rn)}var Fn=null,Bn=null,Wn=null;function zn(){if(Wn)return Wn;var e,t,n=Bn,o=n.length,r="value"in Fn?Fn.value:Fn.textContent,i=r.length;for(e=0;e<o&&n[e]===r[e];e++);var a=o-e;for(t=1;t<=a&&n[o-t]===r[i-t];t++);return Wn=r.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function Un(){return!1}function Vn(e,t,n,o){for(var r in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(n):"target"===r?this.target=o:this[r]=n[r]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:Un,this.isPropagationStopped=Un,this}function Gn(e,t,n,o){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)}function Kn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function qn(e){e.eventPool=[],e.getPooled=Gn,e.release=Kn}r(Vn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:Un,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Un,this._dispatchInstances=this._dispatchListeners=null}}),Vn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Vn.extend=function(e){function t(){}function n(){return o.apply(this,arguments)}var o=this;t.prototype=o.prototype;var i=new t;return r(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=r({},o.Interface,e),n.extend=o.extend,qn(n),n},qn(Vn);var Zn=Vn.extend({data:null}),Xn=Vn.extend({data:null}),Yn=[9,13,27,32],Qn=O&&"CompositionEvent"in window,$n=null;O&&"documentMode"in document&&($n=document.documentMode);var Jn=O&&"TextEvent"in window&&!$n,eo=O&&(!Qn||$n&&8<$n&&11>=$n),to=String.fromCharCode(32),no={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},oo=!1;function ro(e,t){switch(e){case"keyup":return-1!==Yn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function io(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ao=!1;var so={eventTypes:no,extractEvents:function(e,t,n,o){var r;if(Qn)e:{switch(e){case"compositionstart":var i=no.compositionStart;break e;case"compositionend":i=no.compositionEnd;break e;case"compositionupdate":i=no.compositionUpdate;break e}i=void 0}else ao?ro(e,n)&&(i=no.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=no.compositionStart);return i?(eo&&"ko"!==n.locale&&(ao||i!==no.compositionStart?i===no.compositionEnd&&ao&&(r=zn()):(Bn="value"in(Fn=o)?Fn.value:Fn.textContent,ao=!0)),i=Zn.getPooled(i,t,n,o),r?i.data=r:null!==(r=io(n))&&(i.data=r),jn(i),r=i):r=null,(e=Jn?function(e,t){switch(e){case"compositionend":return io(t);case"keypress":return 32!==t.which?null:(oo=!0,to);case"textInput":return(e=t.data)===to&&oo?null:e;default:return null}}(e,n):function(e,t){if(ao)return"compositionend"===e||!Qn&&ro(e,t)?(e=zn(),Wn=Bn=Fn=null,ao=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return eo&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Xn.getPooled(no.beforeInput,t,n,o)).data=e,jn(t)):t=null,null===r?t:null===t?r:[r,t]}},lo={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function co(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lo[e.type]:"textarea"===t}var uo={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function po(e,t,n){return(e=Vn.getPooled(uo.change,e,t,n)).type="change",M(n),jn(e),e}var mo=null,ho=null;function fo(e){st(e)}function go(e){if(_e(Tn(e)))return e}function bo(e,t){if("change"===e)return t}var vo=!1;function yo(){mo&&(mo.detachEvent("onpropertychange",wo),ho=mo=null)}function wo(e){if("value"===e.propertyName&&go(ho))if(e=po(ho,e,lt(e)),F)st(e);else{F=!0;try{R(fo,e)}finally{F=!1,W()}}}function _o(e,t,n){"focus"===e?(yo(),ho=n,(mo=t).attachEvent("onpropertychange",wo)):"blur"===e&&yo()}function Co(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return go(ho)}function Eo(e,t){if("click"===e)return go(t)}function So(e,t){if("input"===e||"change"===e)return go(t)}O&&(vo=ct("input")&&(!document.documentMode||9<document.documentMode));var xo={eventTypes:uo,_isInputEventSupported:vo,extractEvents:function(e,t,n,o){var r=t?Tn(t):window,i=r.nodeName&&r.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===r.type)var a=bo;else if(co(r))if(vo)a=So;else{a=Co;var s=_o}else(i=r.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(a=Eo);if(a&&(a=a(e,t)))return po(a,n,o);s&&s(e,r,t),"blur"===e&&(e=r._wrapperState)&&e.controlled&&"number"===r.type&&Oe(r,"number",r.value)}},ko=Vn.extend({view:null,detail:null}),Oo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Io(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Oo[e])&&!!t[e]}function To(){return Io}var Po=0,Do=0,Mo=!1,Ao=!1,Ro=ko.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:To,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Po;return Po=e.screenX,Mo?"mousemove"===e.type?e.screenX-t:0:(Mo=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Do;return Do=e.screenY,Ao?"mousemove"===e.type?e.screenY-t:0:(Ao=!0,0)}}),No=Ro.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Lo={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},jo={eventTypes:Lo,extractEvents:function(e,t,n,o,r){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&r)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=o.window===o?o:(i=o.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?On(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Ro,l=Lo.mouseLeave,c=Lo.mouseEnter,u="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=No,l=Lo.pointerLeave,c=Lo.pointerEnter,u="pointer");if(e=null==a?i:Tn(a),i=null==t?i:Tn(t),(l=s.getPooled(l,a,n,o)).type=u+"leave",l.target=e,l.relatedTarget=i,(n=s.getPooled(c,t,n,o)).type=u+"enter",n.target=i,n.relatedTarget=e,u=t,(o=a)&&u)e:{for(c=u,a=0,e=s=o;e;e=Dn(e))a++;for(e=0,t=c;t;t=Dn(t))e++;for(;0<a-e;)s=Dn(s),a--;for(;0<e-a;)c=Dn(c),e--;for(;a--;){if(s===c||s===c.alternate)break e;s=Dn(s),c=Dn(c)}s=null}else s=null;for(c=s,s=[];o&&o!==c&&(null===(a=o.alternate)||a!==c);)s.push(o),o=Dn(o);for(o=[];u&&u!==c&&(null===(a=u.alternate)||a!==c);)o.push(u),u=Dn(u);for(u=0;u<s.length;u++)Nn(s[u],"bubbled",l);for(u=o.length;0<u--;)Nn(o[u],"captured",n);return 0==(64&r)?[l]:[l,n]}};var Fo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Bo=Object.prototype.hasOwnProperty;function Wo(e,t){if(Fo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++)if(!Bo.call(t,n[o])||!Fo(e[n[o]],t[n[o]]))return!1;return!0}var zo=O&&"documentMode"in document&&11>=document.documentMode,Ho={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Uo=null,Vo=null,Go=null,Ko=!1;function qo(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Ko||null==Uo||Uo!==un(n)?null:("selectionStart"in(n=Uo)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Go&&Wo(Go,n)?null:(Go=n,(e=Vn.getPooled(Ho.select,Vo,e,t)).type="select",e.target=Uo,jn(e),e))}var Zo={eventTypes:Ho,extractEvents:function(e,t,n,o,r,i){if(!(i=!(r=i||(o.window===o?o.document:9===o.nodeType?o:o.ownerDocument)))){e:{r=$e(r),i=x.onSelect;for(var a=0;a<i.length;a++)if(!r.has(i[a])){r=!1;break e}r=!0}i=!r}if(i)return null;switch(r=t?Tn(t):window,e){case"focus":(co(r)||"true"===r.contentEditable)&&(Uo=r,Vo=t,Go=null);break;case"blur":Go=Vo=Uo=null;break;case"mousedown":Ko=!0;break;case"contextmenu":case"mouseup":case"dragend":return Ko=!1,qo(n,o);case"selectionchange":if(zo)break;case"keydown":case"keyup":return qo(n,o)}return null}},Xo=Vn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Yo=Vn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Qo=ko.extend({relatedTarget:null});function $o(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Jo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},er={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},tr=ko.extend({key:function(e){if(e.key){var t=Jo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=$o(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?er[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:To,charCode:function(e){return"keypress"===e.type?$o(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?$o(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),nr=Ro.extend({dataTransfer:null}),or=ko.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:To}),rr=Vn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ir=Ro.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ar={eventTypes:jt,extractEvents:function(e,t,n,o){var r=Ft.get(e);if(!r)return null;switch(e){case"keypress":if(0===$o(n))return null;case"keydown":case"keyup":e=tr;break;case"blur":case"focus":e=Qo;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ro;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=nr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=or;break;case Ke:case qe:case Ze:e=Xo;break;case Xe:e=rr;break;case"scroll":e=ko;break;case"wheel":e=ir;break;case"copy":case"cut":case"paste":e=Yo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=No;break;default:e=Vn}return jn(t=e.getPooled(r,t,n,o)),t}};if(v)throw Error(a(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),h=Pn,f=In,g=Tn,k({SimpleEventPlugin:ar,EnterLeaveEventPlugin:jo,ChangeEventPlugin:xo,SelectEventPlugin:Zo,BeforeInputEventPlugin:so});var sr=[],lr=-1;function cr(e){0>lr||(e.current=sr[lr],sr[lr]=null,lr--)}function ur(e,t){lr++,sr[lr]=e.current,e.current=t}var dr={},pr={current:dr},mr={current:!1},hr=dr;function fr(e,t){var n=e.type.contextTypes;if(!n)return dr;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in n)i[r]=t[r];return o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function gr(e){return null!=(e=e.childContextTypes)}function br(){cr(mr),cr(pr)}function vr(e,t,n){if(pr.current!==dr)throw Error(a(168));ur(pr,t),ur(mr,n)}function yr(e,t,n){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(var i in o=o.getChildContext())if(!(i in e))throw Error(a(108,ge(t)||"Unknown",i));return r({},n,{},o)}function wr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dr,hr=pr.current,ur(pr,e),ur(mr,mr.current),!0}function _r(e,t,n){var o=e.stateNode;if(!o)throw Error(a(169));n?(e=yr(e,t,hr),o.__reactInternalMemoizedMergedChildContext=e,cr(mr),cr(pr),ur(pr,e)):cr(mr),ur(mr,n)}var Cr=i.unstable_runWithPriority,Er=i.unstable_scheduleCallback,Sr=i.unstable_cancelCallback,xr=i.unstable_requestPaint,kr=i.unstable_now,Or=i.unstable_getCurrentPriorityLevel,Ir=i.unstable_ImmediatePriority,Tr=i.unstable_UserBlockingPriority,Pr=i.unstable_NormalPriority,Dr=i.unstable_LowPriority,Mr=i.unstable_IdlePriority,Ar={},Rr=i.unstable_shouldYield,Nr=void 0!==xr?xr:function(){},Lr=null,jr=null,Fr=!1,Br=kr(),Wr=1e4>Br?kr:function(){return kr()-Br};function zr(){switch(Or()){case Ir:return 99;case Tr:return 98;case Pr:return 97;case Dr:return 96;case Mr:return 95;default:throw Error(a(332))}}function Hr(e){switch(e){case 99:return Ir;case 98:return Tr;case 97:return Pr;case 96:return Dr;case 95:return Mr;default:throw Error(a(332))}}function Ur(e,t){return e=Hr(e),Cr(e,t)}function Vr(e,t,n){return e=Hr(e),Er(e,t,n)}function Gr(e){return null===Lr?(Lr=[e],jr=Er(Ir,qr)):Lr.push(e),Ar}function Kr(){if(null!==jr){var e=jr;jr=null,Sr(e)}qr()}function qr(){if(!Fr&&null!==Lr){Fr=!0;var e=0;try{var t=Lr;Ur(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Lr=null}catch(t){throw null!==Lr&&(Lr=Lr.slice(e+1)),Er(Ir,Kr),t}finally{Fr=!1}}}function Zr(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Xr(e,t){if(e&&e.defaultProps)for(var n in t=r({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Yr={current:null},Qr=null,$r=null,Jr=null;function ei(){Jr=$r=Qr=null}function ti(e){var t=Yr.current;cr(Yr),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function oi(e,t){Qr=e,Jr=$r=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Pa=!0),e.firstContext=null)}function ri(e,t){if(Jr!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Jr=e,t=1073741823),t={context:e,observedBits:t,next:null},null===$r){if(null===Qr)throw Error(a(308));$r=t,Qr.dependencies={expirationTime:0,firstContext:t,responders:null}}else $r=$r.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function si(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function li(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ci(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ui(e,t){var n=e.alternate;null!==n&&si(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function di(e,t,n,o){var i=e.updateQueue;ii=!1;var a=i.baseQueue,s=i.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,i.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=s))}if(null!==a){l=a.next;var c=i.baseState,u=0,d=null,p=null,m=null;if(null!==l)for(var h=l;;){if((s=h.expirationTime)<o){var f={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===m?(p=m=f,d=c):m=m.next=f,s>u&&(u=s)}else{null!==m&&(m=m.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),il(s,h.suspenseConfig);e:{var g=e,b=h;switch(s=t,f=n,b.tag){case 1:if("function"==typeof(g=b.payload)){c=g.call(f,c,s);break e}c=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(s="function"==typeof(g=b.payload)?g.call(f,c,s):g))break e;c=r({},c,s);break e;case 2:ii=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=i.effects)?i.effects=[h]:s.push(h))}if(null===(h=h.next)||h===l){if(null===(s=i.shared.pending))break;h=a.next=s.next,s.next=l,i.baseQueue=a=s,i.shared.pending=null}}null===m?d=c:m.next=p,i.baseState=d,i.baseQueue=m,al(u),e.expirationTime=u,e.memoizedState=c}}function pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],r=o.callback;if(null!==r){if(o.callback=null,o=r,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var mi=Y.ReactCurrentBatchConfig,hi=(new o.Component).refs;function fi(e,t,n,o){n=null==(n=n(o,t=e.memoizedState))?t:r({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var gi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var o=Ks(),r=mi.suspense;(r=li(o=qs(o,e,r),r)).payload=t,null!=n&&(r.callback=n),ci(e,r),Zs(e,o)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var o=Ks(),r=mi.suspense;(r=li(o=qs(o,e,r),r)).tag=1,r.payload=t,null!=n&&(r.callback=n),ci(e,r),Zs(e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Ks(),o=mi.suspense;(o=li(n=qs(n,e,o),o)).tag=2,null!=t&&(o.callback=t),ci(e,o),Zs(e,n)}};function bi(e,t,n,o,r,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(o,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Wo(n,o)||!Wo(r,i))}function vi(e,t,n){var o=!1,r=dr,i=t.contextType;return"object"==typeof i&&null!==i?i=ri(i):(r=gr(t)?hr:pr.current,i=(o=null!=(o=t.contextTypes))?fr(e,r):dr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=gi,e.stateNode=t,t._reactInternalFiber=e,o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t}function yi(e,t,n,o){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,o),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&gi.enqueueReplaceState(t,t.state,null)}function wi(e,t,n,o){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=hi,ai(e);var i=t.contextType;"object"==typeof i&&null!==i?r.context=ri(i):(i=gr(t)?hr:pr.current,r.context=fr(e,i)),di(e,n,r,o),r.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(fi(e,t,i,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&gi.enqueueReplaceState(r,r.state,null),di(e,n,r,o),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}var _i=Array.isArray;function Ci(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var o=n.stateNode}if(!o)throw Error(a(147,e));var r=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===r?t.ref:((t=function(e){var t=o.refs;t===hi&&(t=o.refs={}),null===e?delete t[r]:t[r]=e})._stringRef=r,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ei(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Si(e){function t(t,n){if(e){var o=t.lastEffect;null!==o?(o.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,o){if(!e)return null;for(;null!==o;)t(n,o),o=o.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function r(e,t){return(e=kl(e,t)).index=0,e.sibling=null,e}function i(t,n,o){return t.index=o,e?null!==(o=t.alternate)?(o=o.index)<n?(t.effectTag=2,n):o:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,o){return null===t||6!==t.tag?((t=Tl(n,e.mode,o)).return=e,t):((t=r(t,n)).return=e,t)}function c(e,t,n,o){return null!==t&&t.elementType===n.type?((o=r(t,n.props)).ref=Ci(e,t,n),o.return=e,o):((o=Ol(n.type,n.key,n.props,null,e.mode,o)).ref=Ci(e,t,n),o.return=e,o)}function u(e,t,n,o){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Pl(n,e.mode,o)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function d(e,t,n,o,i){return null===t||7!==t.tag?((t=Il(n,e.mode,o,i)).return=e,t):((t=r(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Tl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Ol(t.type,t.key,t.props,null,e.mode,n)).ref=Ci(e,null,t),n.return=e,n;case te:return(t=Pl(t,e.mode,n)).return=e,t}if(_i(t)||fe(t))return(t=Il(t,e.mode,n,null)).return=e,t;Ei(e,t)}return null}function m(e,t,n,o){var r=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==r?null:l(e,t,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===r?n.type===ne?d(e,t,n.props.children,o,r):c(e,t,n,o):null;case te:return n.key===r?u(e,t,n,o):null}if(_i(n)||fe(n))return null!==r?null:d(e,t,n,o,null);Ei(e,n)}return null}function h(e,t,n,o,r){if("string"==typeof o||"number"==typeof o)return l(t,e=e.get(n)||null,""+o,r);if("object"==typeof o&&null!==o){switch(o.$$typeof){case ee:return e=e.get(null===o.key?n:o.key)||null,o.type===ne?d(t,e,o.props.children,r,o.key):c(t,e,o,r);case te:return u(t,e=e.get(null===o.key?n:o.key)||null,o,r)}if(_i(o)||fe(o))return d(t,e=e.get(n)||null,o,r,null);Ei(t,o)}return null}function f(r,a,s,l){for(var c=null,u=null,d=a,f=a=0,g=null;null!==d&&f<s.length;f++){d.index>f?(g=d,d=null):g=d.sibling;var b=m(r,d,s[f],l);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(r,d),a=i(b,a,f),null===u?c=b:u.sibling=b,u=b,d=g}if(f===s.length)return n(r,d),c;if(null===d){for(;f<s.length;f++)null!==(d=p(r,s[f],l))&&(a=i(d,a,f),null===u?c=d:u.sibling=d,u=d);return c}for(d=o(r,d);f<s.length;f++)null!==(g=h(d,r,f,s[f],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?f:g.key),a=i(g,a,f),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(r,e)})),c}function g(r,s,l,c){var u=fe(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,f=s,g=s=0,b=null,v=l.next();null!==f&&!v.done;g++,v=l.next()){f.index>g?(b=f,f=null):b=f.sibling;var y=m(r,f,v.value,c);if(null===y){null===f&&(f=b);break}e&&f&&null===y.alternate&&t(r,f),s=i(y,s,g),null===d?u=y:d.sibling=y,d=y,f=b}if(v.done)return n(r,f),u;if(null===f){for(;!v.done;g++,v=l.next())null!==(v=p(r,v.value,c))&&(s=i(v,s,g),null===d?u=v:d.sibling=v,d=v);return u}for(f=o(r,f);!v.done;g++,v=l.next())null!==(v=h(f,r,g,v.value,c))&&(e&&null!==v.alternate&&f.delete(null===v.key?g:v.key),s=i(v,s,g),null===d?u=v:d.sibling=v,d=v);return e&&f.forEach((function(e){return t(r,e)})),u}return function(e,o,i,l){var c="object"==typeof i&&null!==i&&i.type===ne&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case ee:e:{for(u=i.key,c=o;null!==c;){if(c.key===u){switch(c.tag){case 7:if(i.type===ne){n(e,c.sibling),(o=r(c,i.props.children)).return=e,e=o;break e}break;default:if(c.elementType===i.type){n(e,c.sibling),(o=r(c,i.props)).ref=Ci(e,c,i),o.return=e,e=o;break e}}n(e,c);break}t(e,c),c=c.sibling}i.type===ne?((o=Il(i.props.children,e.mode,l,i.key)).return=e,e=o):((l=Ol(i.type,i.key,i.props,null,e.mode,l)).ref=Ci(e,o,i),l.return=e,e=l)}return s(e);case te:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(e,o.sibling),(o=r(o,i.children||[])).return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}(o=Pl(i,e.mode,l)).return=e,e=o}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==o&&6===o.tag?(n(e,o.sibling),(o=r(o,i)).return=e,e=o):(n(e,o),(o=Tl(i,e.mode,l)).return=e,e=o),s(e);if(_i(i))return f(e,o,i,l);if(fe(i))return g(e,o,i,l);if(u&&Ei(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,o)}}var xi=Si(!0),ki=Si(!1),Oi={},Ii={current:Oi},Ti={current:Oi},Pi={current:Oi};function Di(e){if(e===Oi)throw Error(a(174));return e}function Mi(e,t){switch(ur(Pi,t),ur(Ti,e),ur(Ii,Oi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:je(null,"");break;default:t=je(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}cr(Ii),ur(Ii,t)}function Ai(){cr(Ii),cr(Ti),cr(Pi)}function Ri(e){Di(Pi.current);var t=Di(Ii.current),n=je(t,e.type);t!==n&&(ur(Ti,e),ur(Ii,n))}function Ni(e){Ti.current===e&&(cr(Ii),cr(Ti))}var Li={current:0};function ji(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Fi(e,t){return{responder:e,props:t}}var Bi=Y.ReactCurrentDispatcher,Wi=Y.ReactCurrentBatchConfig,zi=0,Hi=null,Ui=null,Vi=null,Gi=!1;function Ki(){throw Error(a(321))}function qi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fo(e[n],t[n]))return!1;return!0}function Zi(e,t,n,o,r,i){if(zi=i,Hi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Bi.current=null===e||null===e.memoizedState?ba:va,e=n(o,r),t.expirationTime===zi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,Vi=Ui=null,t.updateQueue=null,Bi.current=ya,e=n(o,r)}while(t.expirationTime===zi)}if(Bi.current=ga,t=null!==Ui&&null!==Ui.next,zi=0,Vi=Ui=Hi=null,Gi=!1,t)throw Error(a(300));return e}function Xi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Vi?Hi.memoizedState=Vi=e:Vi=Vi.next=e,Vi}function Yi(){if(null===Ui){var e=Hi.alternate;e=null!==e?e.memoizedState:null}else e=Ui.next;var t=null===Vi?Hi.memoizedState:Vi.next;if(null!==t)Vi=t,Ui=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Ui=e).memoizedState,baseState:Ui.baseState,baseQueue:Ui.baseQueue,queue:Ui.queue,next:null},null===Vi?Hi.memoizedState=Vi=e:Vi=Vi.next=e}return Vi}function Qi(e,t){return"function"==typeof t?t(e):t}function $i(e){var t=Yi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var o=Ui,r=o.baseQueue,i=n.pending;if(null!==i){if(null!==r){var s=r.next;r.next=i.next,i.next=s}o.baseQueue=r=i,n.pending=null}if(null!==r){r=r.next,o=o.baseState;var l=s=i=null,c=r;do{var u=c.expirationTime;if(u<zi){var d={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,i=o):l=l.next=d,u>Hi.expirationTime&&(Hi.expirationTime=u,al(u))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),il(u,c.suspenseConfig),o=c.eagerReducer===e?c.eagerState:e(o,c.action);c=c.next}while(null!==c&&c!==r);null===l?i=o:l.next=s,Fo(o,t.memoizedState)||(Pa=!0),t.memoizedState=o,t.baseState=i,t.baseQueue=l,n.lastRenderedState=o}return[t.memoizedState,n.dispatch]}function Ji(e){var t=Yi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var o=n.dispatch,r=n.pending,i=t.memoizedState;if(null!==r){n.pending=null;var s=r=r.next;do{i=e(i,s.action),s=s.next}while(s!==r);Fo(i,t.memoizedState)||(Pa=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,o]}function ea(e){var t=Xi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Qi,lastRenderedState:e}).dispatch=fa.bind(null,Hi,e),[t.memoizedState,e]}function ta(e,t,n,o){return e={tag:e,create:t,destroy:n,deps:o,next:null},null===(t=Hi.updateQueue)?(t={lastEffect:null},Hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e),e}function na(){return Yi().memoizedState}function oa(e,t,n,o){var r=Xi();Hi.effectTag|=e,r.memoizedState=ta(1|t,n,void 0,void 0===o?null:o)}function ra(e,t,n,o){var r=Yi();o=void 0===o?null:o;var i=void 0;if(null!==Ui){var a=Ui.memoizedState;if(i=a.destroy,null!==o&&qi(o,a.deps))return void ta(t,n,i,o)}Hi.effectTag|=e,r.memoizedState=ta(1|t,n,i,o)}function ia(e,t){return oa(516,4,e,t)}function aa(e,t){return ra(516,4,e,t)}function sa(e,t){return ra(4,2,e,t)}function la(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ca(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)}function ua(){}function da(e,t){return Xi().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Yi();t=void 0===t?null:t;var o=n.memoizedState;return null!==o&&null!==t&&qi(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function ma(e,t){var n=Yi();t=void 0===t?null:t;var o=n.memoizedState;return null!==o&&null!==t&&qi(t,o[1])?o[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var o=zr();Ur(98>o?98:o,(function(){e(!0)})),Ur(97<o?97:o,(function(){var o=Wi.suspense;Wi.suspense=void 0===t?null:t;try{e(!1),n()}finally{Wi.suspense=o}}))}function fa(e,t,n){var o=Ks(),r=mi.suspense;r={expirationTime:o=qs(o,e,r),suspenseConfig:r,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?r.next=r:(r.next=i.next,i.next=r),t.pending=r,i=e.alternate,e===Hi||null!==i&&i===Hi)Gi=!0,r.expirationTime=zi,Hi.expirationTime=zi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(r.eagerReducer=i,r.eagerState=s,Fo(s,a))return}catch(e){}Zs(e,o)}}var ga={readContext:ri,useCallback:Ki,useContext:Ki,useEffect:Ki,useImperativeHandle:Ki,useLayoutEffect:Ki,useMemo:Ki,useReducer:Ki,useRef:Ki,useState:Ki,useDebugValue:Ki,useResponder:Ki,useDeferredValue:Ki,useTransition:Ki},ba={readContext:ri,useCallback:da,useContext:ri,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oa(4,2,e,t)},useMemo:function(e,t){var n=Xi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var o=Xi();return t=void 0!==n?n(t):t,o.memoizedState=o.baseState=t,e=(e=o.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=fa.bind(null,Hi,e),[o.memoizedState,e]},useRef:function(e){return e={current:e},Xi().memoizedState=e},useState:ea,useDebugValue:ua,useResponder:Fi,useDeferredValue:function(e,t){var n=ea(e),o=n[0],r=n[1];return ia((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{r(e)}finally{Wi.suspense=n}}),[e,t]),o},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[da(ha.bind(null,t,e),[t,e]),n]}},va={readContext:ri,useCallback:pa,useContext:ri,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:ma,useReducer:$i,useRef:na,useState:function(){return $i(Qi)},useDebugValue:ua,useResponder:Fi,useDeferredValue:function(e,t){var n=$i(Qi),o=n[0],r=n[1];return aa((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{r(e)}finally{Wi.suspense=n}}),[e,t]),o},useTransition:function(e){var t=$i(Qi),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:ri,useCallback:pa,useContext:ri,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:ma,useReducer:Ji,useRef:na,useState:function(){return Ji(Qi)},useDebugValue:ua,useResponder:Fi,useDeferredValue:function(e,t){var n=Ji(Qi),o=n[0],r=n[1];return aa((function(){var n=Wi.suspense;Wi.suspense=void 0===t?null:t;try{r(e)}finally{Wi.suspense=n}}),[e,t]),o},useTransition:function(e){var t=Ji(Qi),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},wa=null,_a=null,Ca=!1;function Ea(e,t){var n=Sl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function xa(e){if(Ca){var t=_a;if(t){var n=t;if(!Sa(e,t)){if(!(t=_n(n.nextSibling))||!Sa(e,t))return e.effectTag=-1025&e.effectTag|2,Ca=!1,void(wa=e);Ea(wa,n)}wa=e,_a=_n(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ca=!1,wa=e}}function ka(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;wa=e}function Oa(e){if(e!==wa)return!1;if(!Ca)return ka(e),Ca=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=_a;t;)Ea(e,t),t=_n(t.nextSibling);if(ka(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){_a=_n(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}_a=null}}else _a=wa?_n(e.stateNode.nextSibling):null;return!0}function Ia(){_a=wa=null,Ca=!1}var Ta=Y.ReactCurrentOwner,Pa=!1;function Da(e,t,n,o){t.child=null===e?ki(t,null,n,o):xi(t,e.child,n,o)}function Ma(e,t,n,o,r){n=n.render;var i=t.ref;return oi(t,r),o=Zi(e,t,n,o,i,r),null===e||Pa?(t.effectTag|=1,Da(e,t,o,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Za(e,t,r))}function Aa(e,t,n,o,r,i){if(null===e){var a=n.type;return"function"!=typeof a||xl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ol(n.type,null,o,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ra(e,t,a,o,r,i))}return a=e.child,r<i&&(r=a.memoizedProps,(n=null!==(n=n.compare)?n:Wo)(r,o)&&e.ref===t.ref)?Za(e,t,i):(t.effectTag|=1,(e=kl(a,o)).ref=t.ref,e.return=t,t.child=e)}function Ra(e,t,n,o,r,i){return null!==e&&Wo(e.memoizedProps,o)&&e.ref===t.ref&&(Pa=!1,r<i)?(t.expirationTime=e.expirationTime,Za(e,t,i)):La(e,t,n,o,i)}function Na(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function La(e,t,n,o,r){var i=gr(n)?hr:pr.current;return i=fr(t,i),oi(t,r),n=Zi(e,t,n,o,i,r),null===e||Pa?(t.effectTag|=1,Da(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Za(e,t,r))}function ja(e,t,n,o,r){if(gr(n)){var i=!0;wr(t)}else i=!1;if(oi(t,r),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),vi(t,n,o),wi(t,n,o,r),o=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=ri(c):c=fr(t,c=gr(n)?hr:pr.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==o||l!==c)&&yi(t,a,o,c),ii=!1;var p=t.memoizedState;a.state=p,di(t,o,a,r),l=t.memoizedState,s!==o||p!==l||mr.current||ii?("function"==typeof u&&(fi(t,n,u,o),l=t.memoizedState),(s=ii||bi(t,n,s,o,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=o,t.memoizedState=l),a.props=o,a.state=l,a.context=c,o=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),o=!1)}else a=t.stateNode,si(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Xr(t.type,s),l=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=ri(c):c=fr(t,c=gr(n)?hr:pr.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==o||l!==c)&&yi(t,a,o,c),ii=!1,l=t.memoizedState,a.state=l,di(t,o,a,r),p=t.memoizedState,s!==o||l!==p||mr.current||ii?("function"==typeof u&&(fi(t,n,u,o),p=t.memoizedState),(u=ii||bi(t,n,s,o,l,p,c))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(o,p,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(o,p,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=o,t.memoizedState=p),a.props=o,a.state=p,a.context=c,o=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),o=!1);return Fa(e,t,n,o,i,r)}function Fa(e,t,n,o,r,i){Na(e,t);var a=0!=(64&t.effectTag);if(!o&&!a)return r&&_r(t,n,!1),Za(e,t,i);o=t.stateNode,Ta.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:o.render();return t.effectTag|=1,null!==e&&a?(t.child=xi(t,e.child,null,i),t.child=xi(t,null,s,i)):Da(e,t,s,i),t.memoizedState=o.state,r&&_r(t,n,!0),t.child}function Ba(e){var t=e.stateNode;t.pendingContext?vr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vr(0,t.context,!1),Mi(e,t.containerInfo)}var Wa,za,Ha,Ua={dehydrated:null,retryTime:0};function Va(e,t,n){var o,r=t.mode,i=t.pendingProps,a=Li.current,s=!1;if((o=0!=(64&t.effectTag))||(o=0!=(2&a)&&(null===e||null!==e.memoizedState)),o?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),ur(Li,1&a),null===e){if(void 0!==i.fallback&&xa(t),s){if(s=i.fallback,(i=Il(null,r,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Il(s,r,n,null)).return=t,i.sibling=n,t.memoizedState=Ua,t.child=i,n}return r=i.children,t.memoizedState=null,t.child=ki(t,null,r,n)}if(null!==e.memoizedState){if(r=(e=e.child).sibling,s){if(i=i.fallback,(n=kl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(r=kl(r,i)).return=t,n.sibling=r,n.childExpirationTime=0,t.memoizedState=Ua,t.child=n,r}return n=xi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=i.fallback,(i=Il(null,r,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Il(s,r,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ua,t.child=i,n}return t.memoizedState=null,t.child=xi(t,e,i.children,n)}function Ga(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Ka(e,t,n,o,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailExpiration:0,tailMode:r,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=o,a.tail=n,a.tailExpiration=0,a.tailMode=r,a.lastEffect=i)}function qa(e,t,n){var o=t.pendingProps,r=o.revealOrder,i=o.tail;if(Da(e,t,o.children,n),0!=(2&(o=Li.current)))o=1&o|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ga(e,n);else if(19===e.tag)Ga(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}if(ur(Li,o),0==(2&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===ji(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Ka(t,!1,r,n,i,t.lastEffect);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===ji(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Ka(t,!0,n,null,i,t.lastEffect);break;case"together":Ka(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Za(e,t,n){null!==e&&(t.dependencies=e.dependencies);var o=t.expirationTime;if(0!==o&&al(o),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=kl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=kl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Xa(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;null!==n;)null!==n.alternate&&(o=n),n=n.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ya(e,t,n){var o=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return gr(t.type)&&br(),null;case 3:return Ai(),cr(mr),cr(pr),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Oa(t)||(t.effectTag|=4),null;case 5:Ni(t),n=Di(Pi.current);var i=t.type;if(null!==e&&null!=t.stateNode)za(e,t,i,o,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!o){if(null===t.stateNode)throw Error(a(166));return null}if(e=Di(Ii.current),Oa(t)){o=t.stateNode,i=t.type;var s=t.memoizedProps;switch(o[Sn]=t,o[xn]=s,i){case"iframe":case"object":case"embed":qt("load",o);break;case"video":case"audio":for(e=0;e<Ye.length;e++)qt(Ye[e],o);break;case"source":qt("error",o);break;case"img":case"image":case"link":qt("error",o),qt("load",o);break;case"form":qt("reset",o),qt("submit",o);break;case"details":qt("toggle",o);break;case"input":Ee(o,s),qt("invalid",o),ln(n,"onChange");break;case"select":o._wrapperState={wasMultiple:!!s.multiple},qt("invalid",o),ln(n,"onChange");break;case"textarea":De(o,s),qt("invalid",o),ln(n,"onChange")}for(var l in rn(i,s),e=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"==typeof c?o.textContent!==c&&(e=["children",c]):"number"==typeof c&&o.textContent!==""+c&&(e=["children",""+c]):S.hasOwnProperty(l)&&null!=c&&ln(n,l)}switch(i){case"input":we(o),ke(o,s,!0);break;case"textarea":we(o),Ae(o);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(o.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Le(i)),e===sn?"script"===i?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=l.createElement(i,{is:o.is}):(e=l.createElement(i),"select"===i&&(l=e,o.multiple?l.multiple=!0:o.size&&(l.size=o.size))):e=l.createElementNS(e,i),e[Sn]=t,e[xn]=o,Wa(e,t),t.stateNode=e,l=an(i,o),i){case"iframe":case"object":case"embed":qt("load",e),c=o;break;case"video":case"audio":for(c=0;c<Ye.length;c++)qt(Ye[c],e);c=o;break;case"source":qt("error",e),c=o;break;case"img":case"image":case"link":qt("error",e),qt("load",e),c=o;break;case"form":qt("reset",e),qt("submit",e),c=o;break;case"details":qt("toggle",e),c=o;break;case"input":Ee(e,o),c=Ce(e,o),qt("invalid",e),ln(n,"onChange");break;case"option":c=Ie(e,o);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},c=r({},o,{value:void 0}),qt("invalid",e),ln(n,"onChange");break;case"textarea":De(e,o),c=Pe(e,o),qt("invalid",e),ln(n,"onChange");break;default:c=o}rn(i,c);var u=c;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?nn(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&Be(e,d):"children"===s?"string"==typeof d?("textarea"!==i||""!==d)&&We(e,d):"number"==typeof d&&We(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?null!=d&&ln(n,s):null!=d&&Q(e,s,d,l))}switch(i){case"input":we(e),ke(e,o,!1);break;case"textarea":we(e),Ae(e);break;case"option":null!=o.value&&e.setAttribute("value",""+ve(o.value));break;case"select":e.multiple=!!o.multiple,null!=(n=o.value)?Te(e,!!o.multiple,n,!1):null!=o.defaultValue&&Te(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof c.onClick&&(e.onclick=cn)}bn(i,o)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ha(0,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(a(166));n=Di(Pi.current),Di(Ii.current),Oa(t)?(n=t.stateNode,o=t.memoizedProps,n[Sn]=t,n.nodeValue!==o&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(o))[Sn]=t,t.stateNode=n)}return null;case 13:return cr(Li),o=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==o,o=!1,null===e?void 0!==t.memoizedProps.fallback&&Oa(t):(o=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=i,i.nextEffect=s):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!o&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Li.current)?Os===ws&&(Os=_s):(Os!==ws&&Os!==_s||(Os=Cs),0!==Ms&&null!==Ss&&(Al(Ss,ks),Rl(Ss,Ms)))),(n||o)&&(t.effectTag|=4),null);case 4:return Ai(),null;case 10:return ti(t),null;case 17:return gr(t.type)&&br(),null;case 19:if(cr(Li),null===(o=t.memoizedState))return null;if(i=0!=(64&t.effectTag),null===(s=o.rendering)){if(i)Xa(o,!1);else if(Os!==ws||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=ji(s))){for(t.effectTag|=64,Xa(o,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===o.lastEffect&&(t.firstEffect=null),t.lastEffect=o.lastEffect,o=t.child;null!==o;)s=n,(i=o).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=s,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,s=e.dependencies,i.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),o=o.sibling;return ur(Li,1&Li.current|2),t.child}s=s.sibling}}else{if(!i)if(null!==(e=ji(s))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Xa(o,!0),null===o.tail&&"hidden"===o.tailMode&&!s.alternate)return null!==(t=t.lastEffect=o.lastEffect)&&(t.nextEffect=null),null}else 2*Wr()-o.renderingStartTime>o.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Xa(o,!1),t.expirationTime=t.childExpirationTime=n-1);o.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=o.last)?n.sibling=s:t.child=s,o.last=s)}return null!==o.tail?(0===o.tailExpiration&&(o.tailExpiration=Wr()+500),n=o.tail,o.rendering=n,o.tail=n.sibling,o.lastEffect=t.lastEffect,o.renderingStartTime=Wr(),n.sibling=null,t=Li.current,ur(Li,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Qa(e){switch(e.tag){case 1:gr(e.type)&&br();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Ai(),cr(mr),cr(pr),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ni(e),null;case 13:return cr(Li),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return cr(Li),null;case 4:return Ai(),null;case 10:return ti(e),null;default:return null}}function $a(e,t){return{value:e,source:t,stack:be(t)}}Wa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},za=function(e,t,n,o,i){var a=e.memoizedProps;if(a!==o){var s,l,c=t.stateNode;switch(Di(Ii.current),e=null,n){case"input":a=Ce(c,a),o=Ce(c,o),e=[];break;case"option":a=Ie(c,a),o=Ie(c,o),e=[];break;case"select":a=r({},a,{value:void 0}),o=r({},o,{value:void 0}),e=[];break;case"textarea":a=Pe(c,a),o=Pe(c,o),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof o.onClick&&(c.onclick=cn)}for(s in rn(n,o),n=null,a)if(!o.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(l in c=a[s])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in o){var u=o[s];if(c=null!=a?a[s]:void 0,o.hasOwnProperty(s)&&u!==c&&(null!=u||null!=c))if("style"===s)if(c){for(l in c)!c.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&c[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(e||(e=[]),e.push(s,n)),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(e=e||[]).push(s,u)):"children"===s?c===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(S.hasOwnProperty(s)?(null!=u&&ln(i,s),e||c===u||(e=[])):(e=e||[]).push(s,u))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Ha=function(e,t,n,o){n!==o&&(t.effectTag|=4)};var Ja="function"==typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,o=t.stack;null===o&&null!==n&&(o=be(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function ts(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){vl(e,t)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,o=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xr(t.type,n),o),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var o=n.destroy;n.destroy=void 0,void 0!==o&&o()}n=n.next}while(n!==t)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var o=n.create;n.destroy=o()}n=n.next}while(n!==t)}}function is(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void rs(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var o=n.elementType===n.type?t.memoizedProps:Xr(n.type,t.memoizedProps);e.componentDidUpdate(o,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&bn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(e,t,n){switch("function"==typeof Cl&&Cl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var o=e.next;Ur(97<n?97:n,(function(){var e=o;do{var n=e.destroy;if(void 0!==n){var r=t;try{n()}catch(e){vl(r,e)}}e=e.next}while(e!==o)}))}break;case 1:ts(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){vl(e,t)}}(t,n);break;case 5:ts(t);break;case 4:us(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function cs(e){e:{for(var t=e.return;null!==t;){if(ls(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var o=!1;break;case 3:case 4:t=t.containerInfo,o=!0;break;default:throw Error(a(161))}16&n.effectTag&&(We(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ls(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}o?function e(t,n,o){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===o.nodeType?o.parentNode.insertBefore(t,n):o.insertBefore(t,n):(8===o.nodeType?(n=o.parentNode).insertBefore(t,o):(n=o).appendChild(t),null!==(o=o._reactRootContainer)&&void 0!==o||null!==n.onclick||(n.onclick=cn));else if(4!==r&&null!==(t=t.child))for(e(t,n,o),t=t.sibling;null!==t;)e(t,n,o),t=t.sibling}(e,n,t):function e(t,n,o){var r=t.tag,i=5===r||6===r;if(i)t=i?t.stateNode:t.stateNode.instance,n?o.insertBefore(t,n):o.appendChild(t);else if(4!==r&&null!==(t=t.child))for(e(t,n,o),t=t.sibling;null!==t;)e(t,n,o),t=t.sibling}(e,n,t)}function us(e,t,n){for(var o,r,i=t,s=!1;;){if(!s){s=i.return;e:for(;;){if(null===s)throw Error(a(160));switch(o=s.stateNode,s.tag){case 5:r=!1;break e;case 3:case 4:o=o.containerInfo,r=!0;break e}s=s.return}s=!0}if(5===i.tag||6===i.tag){e:for(var l=e,c=i,u=n,d=c;;)if(as(l,d,u),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===c)break e;for(;null===d.sibling;){if(null===d.return||d.return===c)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}r?(l=o,c=i.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):o.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){o=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(as(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(s=!1)}i.sibling.return=i.return,i=i.sibling}}function ds(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void os(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps,r=null!==e?e.memoizedProps:o;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[xn]=o,"input"===e&&"radio"===o.type&&null!=o.name&&Se(n,o),an(e,r),t=an(e,o),r=0;r<i.length;r+=2){var s=i[r],l=i[r+1];"style"===s?nn(n,l):"dangerouslySetInnerHTML"===s?Be(n,l):"children"===s?We(n,l):Q(n,s,l,t)}switch(e){case"input":xe(n,o);break;case"textarea":Me(n,o);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!o.multiple,null!=(e=o.value)?Te(n,!!o.multiple,e,!1):t!==!!o.multiple&&(null!=o.defaultValue?Te(n,!!o.multiple,o.defaultValue,!0):Te(n,!!o.multiple,o.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?o=!1:(o=!0,n=t.child,Rs=Wr()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,o?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,r=null!=(r=e.memoizedProps.style)&&r.hasOwnProperty("display")?r.display:null,i.style.display=tn("display",r));else if(6===e.tag)e.stateNode.nodeValue=o?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ps(t);case 19:return void ps(t);case 17:return}throw Error(a(163))}function ps(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var o=wl.bind(null,e,t);n.has(t)||(n.add(t),t.then(o,o))}))}}var ms="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=li(n,null)).tag=3,n.payload={element:null};var o=t.value;return n.callback=function(){Ls||(Ls=!0,js=o),es(e,t)},n}function fs(e,t,n){(n=li(n,null)).tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var r=t.value;n.payload=function(){return es(e,t),o(r)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof o&&(null===Fs?Fs=new Set([this]):Fs.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var gs,bs=Math.ceil,vs=Y.ReactCurrentDispatcher,ys=Y.ReactCurrentOwner,ws=0,_s=3,Cs=4,Es=0,Ss=null,xs=null,ks=0,Os=ws,Is=null,Ts=1073741823,Ps=1073741823,Ds=null,Ms=0,As=!1,Rs=0,Ns=null,Ls=!1,js=null,Fs=null,Bs=!1,Ws=null,zs=90,Hs=null,Us=0,Vs=null,Gs=0;function Ks(){return 0!=(48&Es)?1073741821-(Wr()/10|0):0!==Gs?Gs:Gs=1073741821-(Wr()/10|0)}function qs(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var o=zr();if(0==(4&t))return 99===o?1073741823:1073741822;if(0!=(16&Es))return ks;if(null!==n)e=Zr(e,0|n.timeoutMs||5e3,250);else switch(o){case 99:e=1073741823;break;case 98:e=Zr(e,150,100);break;case 97:case 96:e=Zr(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ss&&e===ks&&--e,e}function Zs(e,t){if(50<Us)throw Us=0,Vs=null,Error(a(185));if(null!==(e=Xs(e,t))){var n=zr();1073741823===t?0!=(8&Es)&&0==(48&Es)?Js(e):(Qs(e),0===Es&&Kr()):Qs(e),0==(4&Es)||98!==n&&99!==n||(null===Hs?Hs=new Map([[e,t]]):(void 0===(n=Hs.get(e))||n>t)&&Hs.set(e,t))}}function Xs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var o=e.return,r=null;if(null===o&&3===e.tag)r=e.stateNode;else for(;null!==o;){if(n=o.alternate,o.childExpirationTime<t&&(o.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===o.return&&3===o.tag){r=o.stateNode;break}o=o.return}return null!==r&&(Ss===r&&(al(t),Os===Cs&&Al(r,ks)),Rl(r,t)),r}function Ys(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ml(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Qs(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Gr(Js.bind(null,e));else{var t=Ys(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var o=Ks();if(1073741823===t?o=99:1===t||2===t?o=95:o=0>=(o=10*(1073741821-t)-10*(1073741821-o))?99:250>=o?98:5250>=o?97:95,null!==n){var r=e.callbackPriority;if(e.callbackExpirationTime===t&&r>=o)return;n!==Ar&&Sr(n)}e.callbackExpirationTime=t,e.callbackPriority=o,t=1073741823===t?Gr(Js.bind(null,e)):Vr(o,$s.bind(null,e),{timeout:10*(1073741821-t)-Wr()}),e.callbackNode=t}}}function $s(e,t){if(Gs=0,t)return Nl(e,t=Ks()),Qs(e),null;var n=Ys(e);if(0!==n){if(t=e.callbackNode,0!=(48&Es))throw Error(a(327));if(fl(),e===Ss&&n===ks||nl(e,n),null!==xs){var o=Es;Es|=16;for(var r=rl();;)try{ll();break}catch(t){ol(e,t)}if(ei(),Es=o,vs.current=r,1===Os)throw t=Is,nl(e,n),Al(e,n),Qs(e),t;if(null===xs)switch(r=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,o=Os,Ss=null,o){case ws:case 1:throw Error(a(345));case 2:Nl(e,2<n?2:n);break;case _s:if(Al(e,n),n===(o=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=dl(r)),1073741823===Ts&&10<(r=Rs+500-Wr())){if(As){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(i=Ys(e))&&i!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}e.timeoutHandle=yn(pl.bind(null,e),r);break}pl(e);break;case Cs:if(Al(e,n),n===(o=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=dl(r)),As&&(0===(r=e.lastPingedTime)||r>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(r=Ys(e))&&r!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}if(1073741823!==Ps?o=10*(1073741821-Ps)-Wr():1073741823===Ts?o=0:(o=10*(1073741821-Ts)-5e3,0>(o=(r=Wr())-o)&&(o=0),(n=10*(1073741821-n)-r)<(o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*bs(o/1960))-o)&&(o=n)),10<o){e.timeoutHandle=yn(pl.bind(null,e),o);break}pl(e);break;case 5:if(1073741823!==Ts&&null!==Ds){i=Ts;var s=Ds;if(0>=(o=0|s.busyMinDurationMs)?o=0:(r=0|s.busyDelayMs,o=(i=Wr()-(10*(1073741821-i)-(0|s.timeoutMs||5e3)))<=r?0:r+o-i),10<o){Al(e,n),e.timeoutHandle=yn(pl.bind(null,e),o);break}}pl(e);break;default:throw Error(a(329))}if(Qs(e),e.callbackNode===t)return $s.bind(null,e)}}return null}function Js(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Es))throw Error(a(327));if(fl(),e===Ss&&t===ks||nl(e,t),null!==xs){var n=Es;Es|=16;for(var o=rl();;)try{sl();break}catch(t){ol(e,t)}if(ei(),Es=n,vs.current=o,1===Os)throw n=Is,nl(e,t),Al(e,t),Qs(e),n;if(null!==xs)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ss=null,pl(e),Qs(e)}return null}function el(e,t){var n=Es;Es|=1;try{return e(t)}finally{0===(Es=n)&&Kr()}}function tl(e,t){var n=Es;Es&=-2,Es|=8;try{return e(t)}finally{0===(Es=n)&&Kr()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,wn(n)),null!==xs)for(n=xs.return;null!==n;){var o=n;switch(o.tag){case 1:null!=(o=o.type.childContextTypes)&&br();break;case 3:Ai(),cr(mr),cr(pr);break;case 5:Ni(o);break;case 4:Ai();break;case 13:case 19:cr(Li);break;case 10:ti(o)}n=n.return}Ss=e,xs=kl(e.current,null),ks=t,Os=ws,Is=null,Ps=Ts=1073741823,Ds=null,Ms=0,As=!1}function ol(e,t){for(;;){try{if(ei(),Bi.current=ga,Gi)for(var n=Hi.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}if(zi=0,Vi=Ui=Hi=null,Gi=!1,null===xs||null===xs.return)return Os=1,Is=t,xs=null;e:{var r=e,i=xs.return,a=xs,s=t;if(t=ks,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var l=s;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var u=0!=(1&Li.current),d=i;do{var p;if(p=13===d.tag){var m=d.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=d.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!u)}}if(p){var f=d.updateQueue;if(null===f){var g=new Set;g.add(l),d.updateQueue=g}else f.add(l);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var b=li(1073741823,null);b.tag=2,ci(a,b)}a.expirationTime=1073741823;break e}s=void 0,a=t;var v=r.pingCache;if(null===v?(v=r.pingCache=new ms,s=new Set,v.set(l,s)):void 0===(s=v.get(l))&&(s=new Set,v.set(l,s)),!s.has(a)){s.add(a);var y=yl.bind(null,r,l,a);l.then(y,y)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((ge(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+be(a))}5!==Os&&(Os=2),s=$a(s,a),d=i;do{switch(d.tag){case 3:l=s,d.effectTag|=4096,d.expirationTime=t,ui(d,hs(d,l,t));break e;case 1:l=s;var w=d.type,_=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Fs||!Fs.has(_)))){d.effectTag|=4096,d.expirationTime=t,ui(d,fs(d,l,t));break e}}d=d.return}while(null!==d)}xs=ul(xs)}catch(e){t=e;continue}break}}function rl(){var e=vs.current;return vs.current=ga,null===e?ga:e}function il(e,t){e<Ts&&2<e&&(Ts=e),null!==t&&e<Ps&&2<e&&(Ps=e,Ds=t)}function al(e){e>Ms&&(Ms=e)}function sl(){for(;null!==xs;)xs=cl(xs)}function ll(){for(;null!==xs&&!Rr();)xs=cl(xs)}function cl(e){var t=gs(e.alternate,e,ks);return e.memoizedProps=e.pendingProps,null===t&&(t=ul(e)),ys.current=null,t}function ul(e){xs=e;do{var t=xs.alternate;if(e=xs.return,0==(2048&xs.effectTag)){if(t=Ya(t,xs,ks),1===ks||1!==xs.childExpirationTime){for(var n=0,o=xs.child;null!==o;){var r=o.expirationTime,i=o.childExpirationTime;r>n&&(n=r),i>n&&(n=i),o=o.sibling}xs.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=xs.firstEffect),null!==xs.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=xs.firstEffect),e.lastEffect=xs.lastEffect),1<xs.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=xs:e.firstEffect=xs,e.lastEffect=xs))}else{if(null!==(t=Qa(xs)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=xs.sibling))return t;xs=e}while(null!==xs);return Os===ws&&(Os=5),null}function dl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pl(e){var t=zr();return Ur(99,ml.bind(null,e,t)),null}function ml(e,t){do{fl()}while(null!==Ws);if(0!=(48&Es))throw Error(a(327));var n=e.finishedWork,o=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var r=dl(n);if(e.firstPendingTime=r,o<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:o<=e.firstSuspendedTime&&(e.firstSuspendedTime=o-1),o<=e.lastPingedTime&&(e.lastPingedTime=0),o<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ss&&(xs=Ss=null,ks=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){var i=Es;Es|=32,ys.current=null,fn=Kt;var s=mn();if(hn(s)){if("selectionStart"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var u=c.anchorOffset,d=c.focusNode;c=c.focusOffset;try{l.nodeType,d.nodeType}catch(e){l=null;break e}var p=0,m=-1,h=-1,f=0,g=0,b=s,v=null;t:for(;;){for(var y;b!==l||0!==u&&3!==b.nodeType||(m=p+u),b!==d||0!==c&&3!==b.nodeType||(h=p+c),3===b.nodeType&&(p+=b.nodeValue.length),null!==(y=b.firstChild);)v=b,b=y;for(;;){if(b===s)break t;if(v===l&&++f===u&&(m=p),v===d&&++g===c&&(h=p),null!==(y=b.nextSibling))break;v=(b=v).parentNode}b=y}l=-1===m||-1===h?null:{start:m,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;gn={activeElementDetached:null,focusedElem:s,selectionRange:l},Kt=!1,Ns=r;do{try{hl()}catch(e){if(null===Ns)throw Error(a(330));vl(Ns,e),Ns=Ns.nextEffect}}while(null!==Ns);Ns=r;do{try{for(s=e,l=t;null!==Ns;){var w=Ns.effectTag;if(16&w&&We(Ns.stateNode,""),128&w){var _=Ns.alternate;if(null!==_){var C=_.ref;null!==C&&("function"==typeof C?C(null):C.current=null)}}switch(1038&w){case 2:cs(Ns),Ns.effectTag&=-3;break;case 6:cs(Ns),Ns.effectTag&=-3,ds(Ns.alternate,Ns);break;case 1024:Ns.effectTag&=-1025;break;case 1028:Ns.effectTag&=-1025,ds(Ns.alternate,Ns);break;case 4:ds(Ns.alternate,Ns);break;case 8:us(s,u=Ns,l),ss(u)}Ns=Ns.nextEffect}}catch(e){if(null===Ns)throw Error(a(330));vl(Ns,e),Ns=Ns.nextEffect}}while(null!==Ns);if(C=gn,_=mn(),w=C.focusedElem,l=C.selectionRange,_!==w&&w&&w.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(w.ownerDocument.documentElement,w)){null!==l&&hn(w)&&(_=l.start,void 0===(C=l.end)&&(C=_),"selectionStart"in w?(w.selectionStart=_,w.selectionEnd=Math.min(C,w.value.length)):(C=(_=w.ownerDocument||document)&&_.defaultView||window).getSelection&&(C=C.getSelection(),u=w.textContent.length,s=Math.min(l.start,u),l=void 0===l.end?s:Math.min(l.end,u),!C.extend&&s>l&&(u=l,l=s,s=u),u=pn(w,s),d=pn(w,l),u&&d&&(1!==C.rangeCount||C.anchorNode!==u.node||C.anchorOffset!==u.offset||C.focusNode!==d.node||C.focusOffset!==d.offset)&&((_=_.createRange()).setStart(u.node,u.offset),C.removeAllRanges(),s>l?(C.addRange(_),C.extend(d.node,d.offset)):(_.setEnd(d.node,d.offset),C.addRange(_))))),_=[];for(C=w;C=C.parentNode;)1===C.nodeType&&_.push({element:C,left:C.scrollLeft,top:C.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<_.length;w++)(C=_[w]).element.scrollLeft=C.left,C.element.scrollTop=C.top}Kt=!!fn,gn=fn=null,e.current=n,Ns=r;do{try{for(w=e;null!==Ns;){var E=Ns.effectTag;if(36&E&&is(w,Ns.alternate,Ns),128&E){_=void 0;var S=Ns.ref;if(null!==S){var x=Ns.stateNode;switch(Ns.tag){case 5:_=x;break;default:_=x}"function"==typeof S?S(_):S.current=_}}Ns=Ns.nextEffect}}catch(e){if(null===Ns)throw Error(a(330));vl(Ns,e),Ns=Ns.nextEffect}}while(null!==Ns);Ns=null,Nr(),Es=i}else e.current=n;if(Bs)Bs=!1,Ws=e,zs=t;else for(Ns=r;null!==Ns;)t=Ns.nextEffect,Ns.nextEffect=null,Ns=t;if(0===(t=e.firstPendingTime)&&(Fs=null),1073741823===t?e===Vs?Us++:(Us=0,Vs=e):Us=0,"function"==typeof _l&&_l(n.stateNode,o),Qs(e),Ls)throw Ls=!1,e=js,js=null,e;return 0!=(8&Es)||Kr(),null}function hl(){for(;null!==Ns;){var e=Ns.effectTag;0!=(256&e)&&ns(Ns.alternate,Ns),0==(512&e)||Bs||(Bs=!0,Vr(97,(function(){return fl(),null}))),Ns=Ns.nextEffect}}function fl(){if(90!==zs){var e=97<zs?97:zs;return zs=90,Ur(e,gl)}}function gl(){if(null===Ws)return!1;var e=Ws;if(Ws=null,0!=(48&Es))throw Error(a(331));var t=Es;for(Es|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:os(5,n),rs(5,n)}}catch(t){if(null===e)throw Error(a(330));vl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Es=t,Kr(),!0}function bl(e,t,n){ci(e,t=hs(e,t=$a(n,t),1073741823)),null!==(e=Xs(e,1073741823))&&Qs(e)}function vl(e,t){if(3===e.tag)bl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){bl(n,e,t);break}if(1===n.tag){var o=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&(null===Fs||!Fs.has(o))){ci(n,e=fs(n,e=$a(t,e),1073741823)),null!==(n=Xs(n,1073741823))&&Qs(n);break}}n=n.return}}function yl(e,t,n){var o=e.pingCache;null!==o&&o.delete(t),Ss===e&&ks===n?Os===Cs||Os===_s&&1073741823===Ts&&Wr()-Rs<500?nl(e,ks):As=!0:Ml(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Qs(e)))}function wl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=qs(t=Ks(),e,null)),null!==(e=Xs(e,t))&&Qs(e)}gs=function(e,t,n){var o=t.expirationTime;if(null!==e){var r=t.pendingProps;if(e.memoizedProps!==r||mr.current)Pa=!0;else{if(o<n){switch(Pa=!1,t.tag){case 3:Ba(t),Ia();break;case 5:if(Ri(t),4&t.mode&&1!==n&&r.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:gr(t.type)&&wr(t);break;case 4:Mi(t,t.stateNode.containerInfo);break;case 10:o=t.memoizedProps.value,r=t.type._context,ur(Yr,r._currentValue),r._currentValue=o;break;case 13:if(null!==t.memoizedState)return 0!==(o=t.child.childExpirationTime)&&o>=n?Va(e,t,n):(ur(Li,1&Li.current),null!==(t=Za(e,t,n))?t.sibling:null);ur(Li,1&Li.current);break;case 19:if(o=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(o)return qa(e,t,n);t.effectTag|=64}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null),ur(Li,Li.current),!o)return null}return Za(e,t,n)}Pa=!1}}else Pa=!1;switch(t.expirationTime=0,t.tag){case 2:if(o=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,r=fr(t,pr.current),oi(t,n),r=Zi(null,t,o,e,r,n),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,gr(o)){var i=!0;wr(t)}else i=!1;t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,ai(t);var s=o.getDerivedStateFromProps;"function"==typeof s&&fi(t,o,s,e),r.updater=gi,t.stateNode=r,r._reactInternalFiber=t,wi(t,o,e,n),t=Fa(null,t,o,!0,i,n)}else t.tag=0,Da(null,t,r,n),t=t.child;return t;case 16:e:{if(r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(r),1!==r._status)throw r._result;switch(r=r._result,t.type=r,i=t.tag=function(e){if("function"==typeof e)return xl(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===de)return 14}return 2}(r),e=Xr(r,e),i){case 0:t=La(null,t,r,e,n);break e;case 1:t=ja(null,t,r,e,n);break e;case 11:t=Ma(null,t,r,e,n);break e;case 14:t=Aa(null,t,r,Xr(r.type,e),o,n);break e}throw Error(a(306,r,""))}return t;case 0:return o=t.type,r=t.pendingProps,La(e,t,o,r=t.elementType===o?r:Xr(o,r),n);case 1:return o=t.type,r=t.pendingProps,ja(e,t,o,r=t.elementType===o?r:Xr(o,r),n);case 3:if(Ba(t),o=t.updateQueue,null===e||null===o)throw Error(a(282));if(o=t.pendingProps,r=null!==(r=t.memoizedState)?r.element:null,si(e,t),di(t,o,null,n),(o=t.memoizedState.element)===r)Ia(),t=Za(e,t,n);else{if((r=t.stateNode.hydrate)&&(_a=_n(t.stateNode.containerInfo.firstChild),wa=t,r=Ca=!0),r)for(n=ki(t,null,o,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Da(e,t,o,n),Ia();t=t.child}return t;case 5:return Ri(t),null===e&&xa(t),o=t.type,r=t.pendingProps,i=null!==e?e.memoizedProps:null,s=r.children,vn(o,r)?s=null:null!==i&&vn(o,i)&&(t.effectTag|=16),Na(e,t),4&t.mode&&1!==n&&r.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Da(e,t,s,n),t=t.child),t;case 6:return null===e&&xa(t),null;case 13:return Va(e,t,n);case 4:return Mi(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=xi(t,null,o,n):Da(e,t,o,n),t.child;case 11:return o=t.type,r=t.pendingProps,Ma(e,t,o,r=t.elementType===o?r:Xr(o,r),n);case 7:return Da(e,t,t.pendingProps,n),t.child;case 8:case 12:return Da(e,t,t.pendingProps.children,n),t.child;case 10:e:{o=t.type._context,r=t.pendingProps,s=t.memoizedProps,i=r.value;var l=t.type._context;if(ur(Yr,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0===(i=Fo(l,i)?0:0|("function"==typeof o._calculateChangedBits?o._calculateChangedBits(l,i):1073741823))){if(s.children===r.children&&!mr.current){t=Za(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===o&&0!=(u.observedBits&i)){1===l.tag&&((u=li(n,null)).tag=2,ci(l,u)),l.expirationTime<n&&(l.expirationTime=n),null!==(u=l.alternate)&&u.expirationTime<n&&(u.expirationTime=n),ni(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Da(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,o=(i=t.pendingProps).children,oi(t,n),o=o(r=ri(r,i.unstable_observedBits)),t.effectTag|=1,Da(e,t,o,n),t.child;case 14:return i=Xr(r=t.type,t.pendingProps),Aa(e,t,r,i=Xr(r.type,i),o,n);case 15:return Ra(e,t,t.type,t.pendingProps,o,n);case 17:return o=t.type,r=t.pendingProps,r=t.elementType===o?r:Xr(o,r),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,gr(o)?(e=!0,wr(t)):e=!1,oi(t,n),vi(t,o,r),wi(t,o,r,n),Fa(null,t,o,!0,e,n);case 19:return qa(e,t,n)}throw Error(a(156,t.tag))};var _l=null,Cl=null;function El(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Sl(e,t,n,o){return new El(e,t,n,o)}function xl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function kl(e,t){var n=e.alternate;return null===n?((n=Sl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ol(e,t,n,o,r,i){var s=2;if(o=e,"function"==typeof e)xl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Il(n.children,r,i,t);case se:s=8,r|=7;break;case oe:s=8,r|=1;break;case re:return(e=Sl(12,n,t,8|r)).elementType=re,e.type=re,e.expirationTime=i,e;case ce:return(e=Sl(13,n,t,r)).type=ce,e.elementType=ce,e.expirationTime=i,e;case ue:return(e=Sl(19,n,t,r)).elementType=ue,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:s=10;break e;case ae:s=9;break e;case le:s=11;break e;case de:s=14;break e;case pe:s=16,o=null;break e;case me:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Sl(s,n,t,r)).elementType=e,t.type=o,t.expirationTime=i,t}function Il(e,t,n,o){return(e=Sl(7,e,o,t)).expirationTime=n,e}function Tl(e,t,n){return(e=Sl(6,e,null,t)).expirationTime=n,e}function Pl(e,t,n){return(t=Sl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ml(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Al(e,t){var n=e.firstSuspendedTime,o=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(o>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Rl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Nl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Ll(e,t,n,o){var r=t.current,i=Ks(),s=mi.suspense;i=qs(i,r,s);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(gr(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(gr(c)){n=yr(n,c,l);break e}}n=l}else n=dr;return null===t.context?t.context=n:t.pendingContext=n,(t=li(i,s)).payload={element:e},null!==(o=void 0===o?null:o)&&(t.callback=o),ci(r,t),Zs(r,i),i}function jl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Fl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Bl(e,t){Fl(e,t),(e=e.alternate)&&Fl(e,t)}function Wl(e,t,n){var o=new Dl(e,t,n=null!=n&&!0===n.hydrate),r=Sl(3,null,null,2===t?7:1===t?3:0);o.current=r,r.stateNode=o,ai(r),e[kn]=o.current,n&&0!==t&&function(e,t){var n=$e(t);kt.forEach((function(e){ht(e,t,n)})),Ot.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=o}function zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hl(e,t,n,o,r){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof r){var s=r;r=function(){var e=jl(a);s.call(e)}}Ll(t,a,e,r)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Wl(e,0,t?{hydrate:!0}:void 0)}(n,o),a=i._internalRoot,"function"==typeof r){var l=r;r=function(){var e=jl(a);l.call(e)}}tl((function(){Ll(t,a,e,r)}))}return jl(a)}function Ul(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}function Vl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!zl(t))throw Error(a(200));return Ul(e,t,null,n)}Wl.prototype.render=function(e){Ll(e,this._internalRoot,null,null)},Wl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ll(null,e,null,(function(){t[kn]=null}))},ft=function(e){if(13===e.tag){var t=Zr(Ks(),150,100);Zs(e,t),Bl(e,t)}},gt=function(e){13===e.tag&&(Zs(e,3),Bl(e,3))},bt=function(e){if(13===e.tag){var t=Ks();Zs(e,t=qs(t,e,null)),Bl(e,t)}},I=function(e,t,n){switch(t){case"input":if(xe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var r=Pn(o);if(!r)throw Error(a(90));_e(o),xe(o,r)}}}break;case"textarea":Me(e,n);break;case"select":null!=(t=n.value)&&Te(e,!!n.multiple,t,!1)}},R=el,N=function(e,t,n,o,r){var i=Es;Es|=4;try{return Ur(98,e.bind(null,t,n,o,r))}finally{0===(Es=i)&&Kr()}},L=function(){0==(49&Es)&&(function(){if(null!==Hs){var e=Hs;Hs=null,e.forEach((function(e,t){Nl(t,e),Qs(t)})),Kr()}}(),fl())},j=function(e,t){var n=Es;Es|=2;try{return e(t)}finally{0===(Es=n)&&Kr()}};var Gl,Kl,ql={Events:[In,Tn,Pn,k,E,jn,function(e){rt(e,Ln)},M,A,Qt,st,fl,{current:!1}]};Kl=(Gl={findFiberByHostInstance:On,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);_l=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Cl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(r({},Gl,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Kl?Kl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ql,t.createPortal=Vl,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&Es))throw Error(a(187));var n=Es;Es|=1;try{return Ur(99,e.bind(null,t))}finally{Es=n,Kr()}},t.hydrate=function(e,t,n){if(!zl(t))throw Error(a(200));return Hl(null,e,t,!0,n)},t.render=function(e,t,n){if(!zl(t))throw Error(a(200));return Hl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!zl(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Hl(null,null,e,!1,(function(){e._reactRootContainer=null,e[kn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Vl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,o){if(!zl(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Hl(e,t,n,!1,o)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(180)},function(e,t,n){"use strict";
/** @license React v0.19.1
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o,r,i,a,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,u=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(u,0),e}},d=Date.now();t.unstable_now=function(){return Date.now()-d},o=function(e){null!==l?setTimeout(o,0,e):(l=e,setTimeout(u,0))},r=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,m=window.Date,h=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var b=m.now();t.unstable_now=function(){return m.now()-b}}var v=!1,y=null,w=-1,_=5,C=0;a=function(){return t.unstable_now()>=C},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):_=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,S=E.port2;E.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();C=e+_;try{y(!0,e)?S.postMessage(null):(v=!1,y=null)}catch(e){throw S.postMessage(null),e}}else v=!1},o=function(e){y=e,v||(v=!0,S.postMessage(null))},r=function(e,n){w=h((function(){e(t.unstable_now())}),n)},i=function(){f(w),w=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var o=n-1>>>1,r=e[o];if(!(void 0!==r&&0<I(r,t)))break e;e[o]=t,e[n]=r,n=o}}function k(e){return void 0===(e=e[0])?null:e}function O(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var o=0,r=e.length;o<r;){var i=2*(o+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>I(a,n))void 0!==l&&0>I(l,a)?(e[o]=l,e[s]=n,o=s):(e[o]=a,e[i]=n,o=i);else{if(!(void 0!==l&&0>I(l,n)))break e;e[o]=l,e[s]=n,o=s}}}return t}return null}function I(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],P=[],D=1,M=null,A=3,R=!1,N=!1,L=!1;function j(e){for(var t=k(P);null!==t;){if(null===t.callback)O(P);else{if(!(t.startTime<=e))break;O(P),t.sortIndex=t.expirationTime,x(T,t)}t=k(P)}}function F(e){if(L=!1,j(e),!N)if(null!==k(T))N=!0,o(B);else{var t=k(P);null!==t&&r(F,t.startTime-e)}}function B(e,n){N=!1,L&&(L=!1,i()),R=!0;var o=A;try{for(j(n),M=k(T);null!==M&&(!(M.expirationTime>n)||e&&!a());){var s=M.callback;if(null!==s){M.callback=null,A=M.priorityLevel;var l=s(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?M.callback=l:M===k(T)&&O(T),j(n)}else O(T);M=k(T)}if(null!==M)var c=!0;else{var u=k(P);null!==u&&r(F,u.startTime-n),c=!1}return c}finally{M=null,A=o,R=!1}}function W(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){N||R||(N=!0,o(B))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return k(T)},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var n=A;A=t;try{return e()}finally{A=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=A;A=e;try{return t()}finally{A=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?s+l:s,a="number"==typeof a.timeout?a.timeout:W(e)}else a=W(e),l=s;return e={id:D++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>s?(e.sortIndex=l,x(P,e),null===k(T)&&e===k(P)&&(L?i():L=!0,r(F,l-s))):(e.sortIndex=a,x(T,e),N||R||(N=!0,o(B))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();j(e);var n=k(T);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=A;return function(){var n=A;A=t;try{return e.apply(this,arguments)}finally{A=n}}}},function(e,t,n){"use strict";var o=n(48),r=n(130),i=n(182),a=n(136);function s(e){var t=new i(e),n=r(i.prototype.request,t);return o.extend(n,i.prototype,t),o.extend(n,t),n}var l=s(n(133));l.Axios=i,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=n(137),l.CancelToken=n(195),l.isCancel=n(132),l.all=function(e){return Promise.all(e)},l.spread=n(196),l.isAxiosError=n(197),e.exports=l,e.exports.default=l},function(e,t,n){"use strict";var o=n(48),r=n(131),i=n(183),a=n(184),s=n(136);function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),o.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,o){return this.request(s(o||{},{method:e,url:t,data:n}))}})),e.exports=l},function(e,t,n){"use strict";var o=n(48);function r(){this.handlers=[]}r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},function(e,t,n){"use strict";var o=n(48),r=n(185),i=n(132),a=n(133);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=r(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=r(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=r(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var o=n(48);e.exports=function(e,t,n){return o.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var o=n(48);e.exports=function(e,t){o.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))}},function(e,t,n){"use strict";var o=n(135);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(o("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,o,r){return e.config=t,n&&(e.code=n),e.request=o,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var o=n(48);e.exports=o.isStandardBrowserEnv()?{write:function(e,t,n,r,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),o.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),o.isString(r)&&s.push("path="+r),o.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var o=n(191),r=n(192);e.exports=function(e,t){return e&&!o(t)?r(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var o=n(48),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(o.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=o.trim(e.substr(0,i)).toLowerCase(),n=o.trim(e.substr(i+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var o=n(48);e.exports=o.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=o.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var o=n(137);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new o(e),t(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r((function(t){e=t})),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,n){(t=e.exports=n(139)(!1)).push([e.i,'.ms-OverflowSet-overflowButton button{background-color:#e2e2e2}.ms-OverflowSet-overflowButton button span i{font-weight:600}.wpo365WzActiveMenu .ms-Button-label{font-weight:600;color:#0078d4}.wpo365MailViewerTable th,.wpo365MailViewerTable td{text-align:left;vertical-align:top;padding:5px}.Wizard-module_wpo365WzIconButton_3E9JqcTqPcxkr0GCrx6Qsz{font-size:12px;padding:0px;margin-left:-4px;height:auto;width:auto;line-height:30px}.Wizard-module_wpo365WzSectionButton_3zv4L675WP2vdMl044rQJk{margin:5px 5px 5px 50px;background-color:#0078d4;color:#ffffff;border:0;border-collapse:collapse;cursor:pointer;font-size:13px;font-weight:600}.Wizard-module_wpo365WzRowifier_2Nq8bydiayUgwLTvpABPya{display:flex;display:-ms-flexbox;align-items:center;margin:0px}.Wizard-module_wpo365WzColumnifier_2dUOGlkqMBHzMpu04Z_i7S{display:flex;display:-ms-flexbox;flex-direction:column}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT{width:calc(100% - 35px);background-color:#ffffff;margin-top:15px}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT ul{list-style:initial;padding:0px 0px 0px 20px}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzP_3NSsxt544Z977E5ByyXZfC{box-sizing:border-box;line-height:30px;margin:0px !important;padding:0px !important}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzLabelFor_tadP7WC4Z_sT4K7YcDWe8{display:flex;display:-ms-flexbox;flex-direction:column;margin-top:5px;color:#cc0000}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzCheckbox_1Kb3ntE_l_3xJEGfbUIau0{padding:5px 0px;line-height:30px}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzSupportMenuRowifier_3jM6SC_W9oZUi7xSs1rf18{display:flex;display:-ms-flexbox;align-items:center;justify-content:space-between;margin:0px 0px 5px 0px;background:#ffffff}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzPageTitle_2BHlvcymh3SE6sPKMgs5AQ{padding-left:20px}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzPageTitle_2BHlvcymh3SE6sPKMgs5AQ h3{font-weight:700}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzHidePremiumOptionsToggle_2oaIy7QtvTvnxbgEG53tGP>div{margin:0px}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzError_DW1jDSB2ndgRRZAVMrItW{color:red}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzMain_3YWzlrz91NfEjIQnjMQ3MF{margin:0px;padding:15px;border-top:5px solid #0078d4;border-right:0;border-bottom:0;border-left:5px solid #0078d4}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzMain_3YWzlrz91NfEjIQnjMQ3MF .Wizard-module_wpo365WzTable_18XVn3Q4k2Cyw2gcoeBC0C{width:calc(100% - 35px);border-collapse:collapse;border:0}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzMain_3YWzlrz91NfEjIQnjMQ3MF .Wizard-module_wpo365WzTable_18XVn3Q4k2Cyw2gcoeBC0C th,.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzMain_3YWzlrz91NfEjIQnjMQ3MF .Wizard-module_wpo365WzTable_18XVn3Q4k2Cyw2gcoeBC0C td{font-weight:400;text-align:left;padding:4px 15px 4px 0px;vertical-align:top;line-height:30px}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzMain_3YWzlrz91NfEjIQnjMQ3MF .Wizard-module_wpo365WzTable_18XVn3Q4k2Cyw2gcoeBC0C .Wizard-module_wpo365WzSectionTitle_1RSC3IUkFNJdYu6aqsTy44{color:#0078d4;margin:0px;background:#f1f1f1;margin-left:-15px;padding-left:15px;width:calc(100% + 70px)}.Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT .Wizard-module_wpo365WzMain_3YWzlrz91NfEjIQnjMQ3MF .Wizard-module_wpo365WzTable_18XVn3Q4k2Cyw2gcoeBC0C .Wizard-module_wpo365WzTextArea_Qwm1z5AE09Lsdon9u4aBU{min-width:400px;min-height:100px;padding:2px}.Wizard-module_jsonEditor_XA_3ighE7Be--a65Kfc-3{display:flex;display:-ms-flexbox;flex-direction:column}.Wizard-module_jsonEditor_XA_3ighE7Be--a65Kfc-3 .Wizard-module_jsonTextArea_235DZRtRRflfPEZ0jiuvs7{min-width:400px;max-width:600px}.Wizard-module_jsonEditor_XA_3ighE7Be--a65Kfc-3 .Wizard-module_jsonErrorNotice_uBNfZXfTydHpPYTaVnHcc{margin-bottom:12px}.Wizard-module_jsonEditor_XA_3ighE7Be--a65Kfc-3 .Wizard-module_jsonInfoNotice_1-DSAHZz9Y_ICEsV8Z9Opj{margin-bottom:12px}.Wizard-module_toolbarItem_32SwcrzDu8hlhTWG0wpQtj{display:inline-block;margin-top:15px;margin-right:15px;margin-bottom:10px}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh{max-width:1000px}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh tbody{border-top:1px solid #e2e2e2}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh td,.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh th{padding:10px !important}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh th{font-weight:600 !important}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh .Wizard-module_passed_3pUBhfhT4qRbcEQcgE1TBY{border-left:5px solid #90ee90}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh .Wizard-module_failed_8GeMhFWeBDE5LlbroS1DK{border-left:5px solid #ff7f7f}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh .Wizard-module_subText_unrhXy8T4VcWvcXkCL-3J{font-size:90%;font-weight:400 !important;font-style:italic}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh .Wizard-module_title_3ZorV9t50Hw07XwSXqRY-0{border-left:5px solid #b2b2b2;border-top:10px solid #ffffff;background-color:#f0f0f0;font-size:110%}.Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh .Wizard-module_header_2x8tl8uOaUp4O_yoLBHhF2{border-left:5px solid #b2b2b2;color:#b2b2b2;font-style:italic}.Wizard-module_modal_3ZN2bHObB56GkoFgF_I2sF{display:flex;display:-ms-flexbox;flex-direction:column;max-width:800px;padding:25px}.Wizard-module_modal_3ZN2bHObB56GkoFgF_I2sF table th,.Wizard-module_modal_3ZN2bHObB56GkoFgF_I2sF table td{padding:10px}.Wizard-module_deprecated_3lcypapAo3u52fYCv-Pzyg{margin-left:5px;padding:15px 0px;max-width:40vw}.Wizard-module_deprecated_3lcypapAo3u52fYCv-Pzyg .Wizard-module_borderedContent_3MTJbRpqpFF0KCdvw4TNSG{display:flex;display:-ms-flexbox;flex-direction:column;background-color:#ffffff;border:5px solid #0078d4;padding:0px 15px}.Wizard-module_deprecated_3lcypapAo3u52fYCv-Pzyg .Wizard-module_borderedContent_3MTJbRpqpFF0KCdvw4TNSG .Wizard-module_content_3GQGu9JMBx_FZbu5vjdmP9{padding-bottom:15px}.Wizard-module_wpo365WzUserSyncJobEditorContainer_3_Ij0gugAfDwIVI4GPvkgI{border-left:#dadada 5px solid;padding:0px 0px 0px 15px;width:100%;margin:10px 0px 10px 0px}.Wizard-module_wpo365WzModalContainer_20XjFNE8fFX7o2QRKX8ppC{width:80vw;min-width:1024px;height:80vh;padding:15px}.Wizard-module_wpo365WzModalContainerScrollable_2KVp9NVCriC_G7E67WeV4v{overflow-y:hidden !important}.Wizard-module_wpo365WzConstrainedResultsList_W7Q_NYlDBUShpinrowXzX{margin-right:40px;height:calc(80vh - 200px)}.Wizard-module_wpo365-mssignin-wrapper_tGbjc1pU9QyVtZypZJwEm{box-sizing:border-box;display:flex;flex-direction:column;width:100%;padding:12px 12px 24px 12px;text-align:center;align-items:center}.Wizard-module_wpo365-mssignin-spacearound_2vVlIb-SqkI24Qy3jWe_Ey{max-width:400px;display:block;width:100%;margin-bottom:10px}.Wizard-module_wpo365-mssignin-select_1qCcKXxtlDVGkOTNXxY83E{width:100%;height:41px}.Wizard-module_wpo365-mssignin-wrapper_tGbjc1pU9QyVtZypZJwEm form{display:none}.Wizard-module_wpo365-mssignin-button_2SWFFVitKixwb3g2xI7DaB,.Wizard-module_wpo365-mssignin-button-zoom_3PxhcZU7gaQA6bOFL90MJT{background:\'#ffffff\';border:\'1px solid #8c8c8c\';display:flex;display:-ms-flexbox;align-items:center;justify-content:center;cursor:pointer;max-height:41px;min-height:41px;height:41px;width:100%;transition:transform 0.2s}.Wizard-module_wpo365-mssignin-button-zoom_3PxhcZU7gaQA6bOFL90MJT:hover{transform:scale(1.05)}.Wizard-module_wpo365-mssignin-logo_3xPUD8eB2YeDw3QkYn5rXJ{padding-left:12px;padding-right:6px;flex-shrink:1;width:21px;height:21px;box-sizing:content-box;display:flex;display:-ms-flexbox;justify-content:center}.Wizard-module_wpo365-mssignin-label_S3pTJ3XSB7ntGdPGllcqk{white-space:nowrap;padding-left:6px;padding-right:12px;font-weight:600;color:\'#5e5e5e\';font-family:"Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;font-size:15px;flex-shrink:1;height:21px;line-height:21px;overflow:hidden}\n',""]),t.locals={wpo365WzIconButton:"Wizard-module_wpo365WzIconButton_3E9JqcTqPcxkr0GCrx6Qsz",wpo365WzSectionButton:"Wizard-module_wpo365WzSectionButton_3zv4L675WP2vdMl044rQJk",wpo365WzRowifier:"Wizard-module_wpo365WzRowifier_2Nq8bydiayUgwLTvpABPya",wpo365WzColumnifier:"Wizard-module_wpo365WzColumnifier_2dUOGlkqMBHzMpu04Z_i7S",wpo365WzPage:"Wizard-module_wpo365WzPage_Mila9X7ASx3Cd9e0LNolT",wpo365WzP:"Wizard-module_wpo365WzP_3NSsxt544Z977E5ByyXZfC",wpo365WzLabelFor:"Wizard-module_wpo365WzLabelFor_tadP7WC4Z_sT4K7YcDWe8",wpo365WzCheckbox:"Wizard-module_wpo365WzCheckbox_1Kb3ntE_l_3xJEGfbUIau0",wpo365WzSupportMenuRowifier:"Wizard-module_wpo365WzSupportMenuRowifier_3jM6SC_W9oZUi7xSs1rf18",wpo365WzPageTitle:"Wizard-module_wpo365WzPageTitle_2BHlvcymh3SE6sPKMgs5AQ",wpo365WzHidePremiumOptionsToggle:"Wizard-module_wpo365WzHidePremiumOptionsToggle_2oaIy7QtvTvnxbgEG53tGP",wpo365WzError:"Wizard-module_wpo365WzError_DW1jDSB2ndgRRZAVMrItW",wpo365WzMain:"Wizard-module_wpo365WzMain_3YWzlrz91NfEjIQnjMQ3MF",wpo365WzTable:"Wizard-module_wpo365WzTable_18XVn3Q4k2Cyw2gcoeBC0C",wpo365WzSectionTitle:"Wizard-module_wpo365WzSectionTitle_1RSC3IUkFNJdYu6aqsTy44",wpo365WzTextArea:"Wizard-module_wpo365WzTextArea_Qwm1z5AE09Lsdon9u4aBU",jsonEditor:"Wizard-module_jsonEditor_XA_3ighE7Be--a65Kfc-3",jsonTextArea:"Wizard-module_jsonTextArea_235DZRtRRflfPEZ0jiuvs7",jsonErrorNotice:"Wizard-module_jsonErrorNotice_uBNfZXfTydHpPYTaVnHcc",jsonInfoNotice:"Wizard-module_jsonInfoNotice_1-DSAHZz9Y_ICEsV8Z9Opj",toolbarItem:"Wizard-module_toolbarItem_32SwcrzDu8hlhTWG0wpQtj",selfTest:"Wizard-module_selfTest_3ypZlUuDfJdo79ilf-utPh",passed:"Wizard-module_passed_3pUBhfhT4qRbcEQcgE1TBY",failed:"Wizard-module_failed_8GeMhFWeBDE5LlbroS1DK",subText:"Wizard-module_subText_unrhXy8T4VcWvcXkCL-3J",title:"Wizard-module_title_3ZorV9t50Hw07XwSXqRY-0",header:"Wizard-module_header_2x8tl8uOaUp4O_yoLBHhF2",modal:"Wizard-module_modal_3ZN2bHObB56GkoFgF_I2sF",deprecated:"Wizard-module_deprecated_3lcypapAo3u52fYCv-Pzyg",borderedContent:"Wizard-module_borderedContent_3MTJbRpqpFF0KCdvw4TNSG",content:"Wizard-module_content_3GQGu9JMBx_FZbu5vjdmP9",wpo365WzUserSyncJobEditorContainer:"Wizard-module_wpo365WzUserSyncJobEditorContainer_3_Ij0gugAfDwIVI4GPvkgI",wpo365WzModalContainer:"Wizard-module_wpo365WzModalContainer_20XjFNE8fFX7o2QRKX8ppC",wpo365WzModalContainerScrollable:"Wizard-module_wpo365WzModalContainerScrollable_2KVp9NVCriC_G7E67WeV4v",wpo365WzConstrainedResultsList:"Wizard-module_wpo365WzConstrainedResultsList_W7Q_NYlDBUShpinrowXzX","wpo365-mssignin-wrapper":"Wizard-module_wpo365-mssignin-wrapper_tGbjc1pU9QyVtZypZJwEm",wpo365MssigninWrapper:"Wizard-module_wpo365-mssignin-wrapper_tGbjc1pU9QyVtZypZJwEm","wpo365-mssignin-spacearound":"Wizard-module_wpo365-mssignin-spacearound_2vVlIb-SqkI24Qy3jWe_Ey",wpo365MssigninSpacearound:"Wizard-module_wpo365-mssignin-spacearound_2vVlIb-SqkI24Qy3jWe_Ey","wpo365-mssignin-select":"Wizard-module_wpo365-mssignin-select_1qCcKXxtlDVGkOTNXxY83E",wpo365MssigninSelect:"Wizard-module_wpo365-mssignin-select_1qCcKXxtlDVGkOTNXxY83E","wpo365-mssignin-button":"Wizard-module_wpo365-mssignin-button_2SWFFVitKixwb3g2xI7DaB",wpo365MssigninButton:"Wizard-module_wpo365-mssignin-button_2SWFFVitKixwb3g2xI7DaB","wpo365-mssignin-button-zoom":"Wizard-module_wpo365-mssignin-button-zoom_3PxhcZU7gaQA6bOFL90MJT",wpo365MssigninButtonZoom:"Wizard-module_wpo365-mssignin-button-zoom_3PxhcZU7gaQA6bOFL90MJT","wpo365-mssignin-logo":"Wizard-module_wpo365-mssignin-logo_3xPUD8eB2YeDw3QkYn5rXJ",wpo365MssigninLogo:"Wizard-module_wpo365-mssignin-logo_3xPUD8eB2YeDw3QkYn5rXJ","wpo365-mssignin-label":"Wizard-module_wpo365-mssignin-label_S3pTJ3XSB7ntGdPGllcqk",wpo365MssigninLabel:"Wizard-module_wpo365-mssignin-label_S3pTJ3XSB7ntGdPGllcqk"}},function(e,t,n){"use strict";
/** @license React v16.6.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,p=o?Symbol.for("react.concurrent_mode"):60111,m=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,f=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case p:case a:case l:case s:return e;default:switch(e=e&&e.$$typeof){case u:case m:case c:return e;default:return t}}case i:return t}}}function v(e){return b(e)===p}t.typeOf=b,t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=m,t.Fragment=a,t.Profiler=l,t.Portal=i,t.StrictMode=s,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===l||e===s||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===c||e.$$typeof===u||e.$$typeof===m)},t.isAsyncMode=function(e){return v(e)||b(e)===d},t.isConcurrentMode=v,t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===m},t.isFragment=function(e){return b(e)===a},t.isProfiler=function(e){return b(e)===l},t.isPortal=function(e){return b(e)===i},t.isStrictMode=function(e){return b(e)===s}},function(e,t,n){e.exports=n(201)()},function(e,t,n){"use strict";var o=n(202);function r(){}e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function o(e,t){return void 0!==e[t]&&null!==e[t]}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n(84);function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],i=0,a=t;i<a.length;i++){var s=a[i];s&&r.push("function"==typeof s?s(e):s)}return 1===r.length?r[0]:r.length?o.a.apply(void 0,r):{}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var o=n(84),r=n(92),i=n(63),a=n(61);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l(e,Object(i.a)())}function l(e,t){var n,i,s={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var l=o.a.apply(void 0,e),c=[];for(var u in l)if(l.hasOwnProperty(u)){if("subComponentStyles"===u){s.subComponentStyles=l.subComponentStyles||{};continue}var d=l[u],p=Object(r.a)(d),m=p.classes,h=p.objects;if(null===(n=h)||void 0===n?void 0:n.length)(b=Object(a.d)(t||{},{displayName:u},h))&&(c.push(b),s[u]=m.concat([b.className]).join(" "));else s[u]=m.join(" ")}for(var f=0,g=c;f<g.length;f++){var b;(b=g[f])&&Object(a.a)(b,null===(i=t)||void 0===i?void 0:i.specificityMultiplier)}return s}},function(e,t,n){"use strict";function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],o=0,r=e;o<r.length;o++){var i=r[o];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n(27),r=n(0),i=n(51),a=n(113),s=n(67),l=n(84);function c(e,t,n){return function(c){var u,d=((u=function(a){function u(e){var t=a.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return Object(o.b)(u,a),u.prototype.componentDidMount=function(){i.a.observe(this._onSettingChanged)},u.prototype.componentWillUnmount=function(){i.a.unobserve(this._onSettingChanged)},u.prototype.render=function(){var a=this;return r.createElement(s.a.Consumer,null,(function(s){var u=i.a.getSettings(t,e,s.customizations),d=a.props;if(u.styles&&"function"==typeof u.styles&&(u.styles=u.styles(Object(o.a)(Object(o.a)({},u),d))),n&&u.styles){if(a._styleCache.default!==u.styles||a._styleCache.component!==d.styles){var p=Object(l.a)(u.styles,d.styles);a._styleCache.default=u.styles,a._styleCache.component=d.styles,a._styleCache.merged=p}return r.createElement(c,Object(o.a)({},u,d,{styles:a._styleCache.merged}))}return r.createElement(c,Object(o.a)({},u,d))}))},u.prototype._onSettingChanged=function(){this.forceUpdate()},u}(r.Component)).displayName="Customized"+e,u);return Object(a.a)(c,d)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(27),r=n(0),i=n(111),a=n(54),s=n(145),l=n(146),c=n(112);!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++)u(e,t,n[o])}(r,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),r}Object(o.b)(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new i.a(this),this._disposables.push(this.__async)),this.__async},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new a.a(this),this._disposables.push(this.__events)),this.__events},enumerable:!0,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){Object(c.a)(this.className,this.props,e)},t.prototype._warnMutuallyExclusive=function(e){Object(l.a)(this.className,this.props,e)},t.prototype._warnConditionallyRequiredProps=function(e,t,n){Object(s.a)(this.className,this.props,e,t,n)},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))}}(r.Component);function u(e,t,n){var o=e[n],r=t[n];(o||r)&&(e[n]=function(){var e;return r&&(e=r.apply(this,arguments)),o!==r&&(e=o.apply(this,arguments)),e})}function d(){return null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return fe}));var o,r=n(2),i=n(0),a=n(236),s=n(21),l=n(88),c=n(111),u=n(93),d=n(68),p=n(206),m=n(59),h=n(87),f=n(46),g=n(26),b=n(17),v=function(){function e(e,t,n,o){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=0),this.top=n,this.bottom=o,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}(),y=n(118),w=n(241),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t}(v);function C(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var E=((o={})[s.a.topLeftEdge]=C(b.a.top,b.a.left),o[s.a.topCenter]=C(b.a.top),o[s.a.topRightEdge]=C(b.a.top,b.a.right),o[s.a.topAutoEdge]=C(b.a.top,void 0,!0),o[s.a.bottomLeftEdge]=C(b.a.bottom,b.a.left),o[s.a.bottomCenter]=C(b.a.bottom),o[s.a.bottomRightEdge]=C(b.a.bottom,b.a.right),o[s.a.bottomAutoEdge]=C(b.a.bottom,void 0,!0),o[s.a.leftTopEdge]=C(b.a.left,b.a.top),o[s.a.leftCenter]=C(b.a.left),o[s.a.leftBottomEdge]=C(b.a.left,b.a.bottom),o[s.a.rightTopEdge]=C(b.a.right,b.a.top),o[s.a.rightCenter]=C(b.a.right),o[s.a.rightBottomEdge]=C(b.a.right,b.a.bottom),o);function S(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function x(e,t){var n=new Array;return e.top<t.top&&n.push(b.a.top),e.bottom>t.bottom&&n.push(b.a.bottom),e.left<t.left&&n.push(b.a.left),e.right>t.right&&n.push(b.a.right),n}function k(e,t){return e[b.a[t]]}function O(e,t,n){return e[b.a[t]]=n,e}function I(e,t){var n=B(t);return(k(e,n.positiveEdge)+k(e,n.negativeEdge))/2}function T(e,t){return e>0?t:-1*t}function P(e,t){return T(e,k(t,e))}function D(e,t,n){return T(n,k(e,n)-k(t,n))}function M(e,t,n){var o=k(e,t)-n;return e=O(e,t,n),e=O(e,-1*t,k(e,-1*t)-o)}function A(e,t,n,o){return void 0===o&&(o=0),M(e,n,k(t,n)+T(n,o))}function R(e,t,n){return P(n,e)>P(n,t)}function N(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=[b.a.left,b.a.right,b.a.bottom,b.a.top];Object(y.a)()&&(i[0]*=-1,i[1]*=-1);for(var a=e,s=o.targetEdge,l=o.alignmentEdge,c=0;c<4;c++){if(R(a,n,s))return{elementRectangle:a,targetEdge:s,alignmentEdge:l};i.splice(i.indexOf(s),1),i.length>0&&(i.indexOf(-1*s)>-1?s*=-1:(l=s,s=i.slice(-1)[0]),a=F(e,t,{targetEdge:s,alignmentEdge:l},r))}return{elementRectangle:e,targetEdge:o.targetEdge,alignmentEdge:l}}(e,t,n,o,r));var u=x(e,n);if(l){if(c.alignmentEdge&&u.indexOf(-1*c.alignmentEdge)>-1){var d=function(e,t,n,o){var r=e.alignmentEdge,i=e.targetEdge,a=-1*r;return{elementRectangle:F(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,o),targetEdge:i,alignmentEdge:a}}(c,t,r,a);if(S(d.elementRectangle,n))return d;c=L(x(d.elementRectangle,n),c,n)}}else c=L(u,c,n);return c}function L(e,t,n){for(var o=0,r=e;o<r.length;o++){var i=r[o];t.elementRectangle=A(t.elementRectangle,n,i)}return t}function j(e,t,n){var o=B(t).positiveEdge;return M(e,o,n-(I(e,t)-k(e,o)))}function F(e,t,n,o,r){var i;void 0===o&&(o=0);var a=n.alignmentEdge,s=n.targetEdge,l=r?s:-1*s;(i=r?A(e,t,s,o):function(e,t,n,o){void 0===o&&(o=0);var r=T(-1*n,o);return M(e,-1*n,k(t,n)+r)}(e,t,s,o),a)?i=A(i,t,a):i=j(i,l,I(t,s));return i}function B(e){return e===b.a.top||e===b.a.bottom?{positiveEdge:b.a.left,negativeEdge:b.a.right}:{positiveEdge:b.a.top,negativeEdge:b.a.bottom}}function W(e,t,n){return n&&Math.abs(D(e,n,t))>Math.abs(D(e,n,-1*t))?-1*t:t}function z(e){return Math.sqrt(e*e*2)}function H(e,t,n){if(void 0===e&&(e=s.a.bottomAutoEdge),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var o=Object(r.a)({},E[e]);return Object(y.a)()?(o.alignmentEdge&&o.alignmentEdge%2==0&&(o.alignmentEdge=-1*o.alignmentEdge),void 0!==t?E[t]:o):o}function U(e,t,n){var o=I(t,e),r=I(n,e),i=B(e),a=i.positiveEdge,s=i.negativeEdge;return o<=r?a:s}function V(e,t,n,o,r,i,a){var s=F(e,t,o,r,a);return S(s,n)?{elementRectangle:s,targetEdge:o.targetEdge,alignmentEdge:o.alignmentEdge}:N(e,t,n,o,r,i,a)}function G(e,t,n){var o=-1*e.targetEdge,i=new _(0,e.elementRectangle.width,0,e.elementRectangle.height),a={},s=W(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:B(o).positiveEdge,n);return a[b.a[o]]=k(t,o),a[b.a[s]]=D(t,i,s),{elementPosition:Object(r.a)({},a),closestEdge:U(e.targetEdge,t,i),targetEdge:o}}function K(e,t){var n=t.targetRectangle,o=B(t.targetEdge),r=o.positiveEdge,i=o.negativeEdge,a=I(n,t.targetEdge),s=new _(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new _(0,e,0,e);return R(l=j(l=M(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-P(r,t.elementRectangle)),s,r)?R(l,s,i)||(l=A(l,s,i)):l=A(l,s,r),l}function q(e){var t=e.getBoundingClientRect();return new _(t.left,t.right,t.top,t.bottom)}function Z(e){return new _(e.left,e.right,e.top,e.bottom)}function X(e,t,n,o,r){var i=0,a=E[t],s=r?-1*a.targetEdge:a.targetEdge;return(i=s===b.a.top?k(e,a.targetEdge)-o.top-n:s===b.a.bottom?o.bottom-k(e,a.targetEdge)-n:o.bottom-e.top-n)>0?i:o.height}function Y(e,t,n,o){var i=e.gapSpace?e.gapSpace:0,a=function(e,t){var n;if(t){if(t.preventDefault){var o=t;n=new _(o.clientX,o.clientX,o.clientY,o.clientY)}else if(t.getBoundingClientRect)n=q(t);else{var r=t,i=r.left||r.x,a=r.top||r.y;n=new _(i,i,a,a)}if(!S(n,e))for(var s=0,l=x(n,e);s<l.length;s++){var c=l[s];n[b.a[c]]=e[b.a[c]]}}else n=new _(0,0,0,0);return n}(n,e.target),s=function(e,t,n,o,r){return e.isAuto&&(e.alignmentEdge=U(e.targetEdge,t,n)),e.alignTargetEdge=r,e}(H(e.directionalHint,e.directionalHintForRTL,o),a,n,e.coverTarget,e.alignTargetEdge),l=V(q(t),a,n,s,i,e.directionalHintFixed,e.coverTarget);return Object(r.a)(Object(r.a)({},l),{targetRectangle:a})}function Q(e,t,n,o,r){return{elementPosition:function(e,t,n,o,r,i,a){var s={},l=q(t),c=i?n:-1*n,u=b.a[c],d=r||B(n).positiveEdge;return a||(d=W(e,d,o)),s[u]=D(e,l,c),s[b.a[d]]=D(e,l,d),s}(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,o,r),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function $(e,t,n,o,i){var a=e.isBeakVisible&&e.beakWidth||0,s=z(a)/2+(e.gapSpace?e.gapSpace:0),l=e;l.gapSpace=s;var c=e.bounds?Z(e.bounds):new _(0,window.innerWidth-Object(w.f)(),0,window.innerHeight),u=Y(l,n,c,o),d=G(u,K(a,u),c);return Object(r.a)(Object(r.a)({},Q(u,t,c,e.coverTarget,i)),{beakPosition:d})}function J(e,t,n,o){return function(e,t,n,o){return $(e,t,n,o,!0)}(e,t,n,o)}var ee,te=n(240),ne=n(237),oe=n(14),re=((ee={})[b.a.top]=oe.a.slideUpIn10,ee[b.a.bottom]=oe.a.slideDownIn10,ee[b.a.left]=oe.a.slideLeftIn10,ee[b.a.right]=oe.a.slideRightIn10,ee),ie=Object(ne.a)({disableCaching:!0}),ae=0,se=0,le={opacity:0,filter:"opacity(0)"},ce=["role","aria-roledescription"],ue=function(e){function t(t){var n=e.call(this,t)||this;return n._hostElement=i.createRef(),n._calloutElement=i.createRef(),n._hasListeners=!1,n._disposables=[],n.dismiss=function(e){var t=n.props.onDismiss;t&&t(e)},n._dismissOnScroll=function(e){var t=n.props.preventDismissOnScroll;n.state.positions&&!t&&n._dismissOnClickOrScroll(e)},n._dismissOnResize=function(e){n.props.preventDismissOnResize||n.dismiss(e)},n._dismissOnLostFocus=function(e){n.props.preventDismissOnLostFocus||n._dismissOnClickOrScroll(e)},n._setInitialFocus=function(){n.props.setInitialFocus&&!n._didSetInitialFocus&&n.state.positions&&n._calloutElement.current&&(n._didSetInitialFocus=!0,n._async.requestAnimationFrame((function(){return Object(l.c)(n._calloutElement.current)}),n._calloutElement.current))},n._onComponentDidMount=function(){n._addListeners(),n.props.onLayerMounted&&n.props.onLayerMounted(),n._updateAsyncPosition(),n._setHeightOffsetEveryFrame()},n._mouseDownOnPopup=function(){n._isMouseDownOnPopup=!0},n._mouseUpOnPopup=function(){n._isMouseDownOnPopup=!1},n._async=new c.a(n),n._didSetInitialFocus=!1,n.state={positions:void 0,slideDirectionalClassName:void 0,calloutElementRect:void 0,heightOffset:0},n._positionAttempts=0,n}return Object(r.c)(t,e),t.prototype.componentDidUpdate=function(){this.props.hidden?this._hasListeners&&this._removeListeners():(this._setInitialFocus(),this._hasListeners||this._addListeners(),this._updateAsyncPosition())},t.prototype.shouldComponentUpdate=function(e,t){return!(!e.shouldUpdateWhenHidden&&this.props.hidden&&e.hidden)&&(!Object(u.c)(this.props,e)||!Object(u.c)(this.state,t))},t.prototype.UNSAFE_componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposables.forEach((function(e){return e()}))},t.prototype.UNSAFE_componentWillUpdate=function(e){var t=this._getTarget(e);(t!==this._getTarget()||"string"==typeof t||t instanceof String)&&!this._blockResetHeight&&(this._maxHeight=void 0,this._setTargetWindowAndElement(t)),e.gapSpace===this.props.gapSpace&&this.props.beakWidth===e.beakWidth||(this._maxHeight=void 0),e.finalHeight!==this.props.finalHeight&&this._setHeightOffsetEveryFrame(),this._didPositionPropsChange(e,this.props)&&(this._maxHeight=void 0,this._setTargetWindowAndElement(t),this.setState({positions:void 0}),this._didSetInitialFocus=!1,this._bounds=void 0),this._blockResetHeight=!1},t.prototype.componentDidMount=function(){this.props.hidden||this._onComponentDidMount()},t.prototype.render=function(){if(!this._targetWindow)return null;var e=this.props.target,t=this.props,n=t.styles,o=t.style,a=t.ariaLabel,s=t.ariaDescribedBy,l=t.ariaLabelledBy,c=t.className,u=t.isBeakVisible,m=t.children,h=t.beakWidth,f=t.calloutWidth,g=t.calloutMaxWidth,b=t.finalHeight,v=t.hideOverflow,y=void 0===v?!!b:v,w=t.backgroundColor,_=t.calloutMaxHeight,C=t.onScroll,E=t.shouldRestoreFocus,S=void 0===E||E;e=this._getTarget();var x=this.state.positions,k=this._getMaxHeight()?this._getMaxHeight()+this.state.heightOffset:void 0,O=_&&k&&_<k?_:k,I=y,T=u&&!!e;this._classNames=ie(n,{theme:this.props.theme,className:c,overflowYHidden:I,calloutWidth:f,positions:x,beakWidth:h,backgroundColor:w,calloutMaxWidth:g});var P=Object(r.a)(Object(r.a)(Object(r.a)({},o),{maxHeight:O}),I&&{overflowY:"hidden"}),D=this.props.hidden?{visibility:"hidden"}:void 0;return i.createElement("div",{ref:this._hostElement,className:this._classNames.container,style:D},i.createElement("div",Object(r.a)({},Object(d.d)(this.props,d.c,ce),{className:Object(p.a)(this._classNames.root,x&&x.targetEdge&&re[x.targetEdge]),style:x?x.elementPosition:le,tabIndex:-1,ref:this._calloutElement}),T&&i.createElement("div",{className:this._classNames.beak,style:this._getBeakPosition()}),T&&i.createElement("div",{className:this._classNames.beakCurtain}),i.createElement(te.a,Object(r.a)({},Object(d.d)(this.props,ce),{ariaLabel:a,onRestoreFocus:this.props.onRestoreFocus,ariaDescribedBy:s,ariaLabelledBy:l,className:this._classNames.calloutMain,onDismiss:this.dismiss,onScroll:C,shouldRestoreFocus:S,style:P,onMouseDown:this._mouseDownOnPopup,onMouseUp:this._mouseUpOnPopup}),m)))},t.prototype._dismissOnClickOrScroll=function(e){var t=e.target,n=this._hostElement.current&&!Object(m.a)(this._hostElement.current,t);n&&this._isMouseDownOnPopup?this._isMouseDownOnPopup=!1:(!this._target&&n||e.target!==this._targetWindow&&n&&(this._target.stopPropagation||!this._target||t!==this._target&&!Object(m.a)(this._target,t)))&&this.dismiss(e)},t.prototype._addListeners=function(){var e=this;this._async.setTimeout((function(){e._disposables.push(Object(h.a)(e._targetWindow,"scroll",e._dismissOnScroll,!0),Object(h.a)(e._targetWindow,"resize",e._dismissOnResize,!0),Object(h.a)(e._targetWindow.document.documentElement,"focus",e._dismissOnLostFocus,!0),Object(h.a)(e._targetWindow.document.documentElement,"click",e._dismissOnLostFocus,!0)),e._hasListeners=!0}),0)},t.prototype._removeListeners=function(){this._disposables.forEach((function(e){return e()})),this._disposables=[],this._hasListeners=!1},t.prototype._updateAsyncPosition=function(){var e=this;this._async.requestAnimationFrame((function(){return e._updatePosition()}),this._calloutElement.current)},t.prototype._getBeakPosition=function(){var e=this.state.positions,t=Object(r.a)({},e&&e.beakPosition?e.beakPosition.elementPosition:null);return t.top||t.bottom||t.left||t.right||(t.left=se,t.top=ae),t},t.prototype._updatePosition=function(){this._setTargetWindowAndElement(this._getTarget());var e=this.state.positions,t=this._hostElement.current,n=this._calloutElement.current,o=!!this.props.target;if(t&&n&&(!o||this._target)){var r=void 0;(r=Object(u.a)(r,this.props)).bounds=this._getBounds(),r.target=this._target;var i=this.props.finalHeight?J(r,t,n,e):function(e,t,n,o){return $(e,t,n,o)}(r,t,n,e);!e&&i||e&&i&&!this._arePositionsEqual(e,i)&&this._positionAttempts<5?(this._positionAttempts++,this.setState({positions:i})):this._positionAttempts>0&&(this._positionAttempts=0,this.props.onPositioned&&this.props.onPositioned(this.state.positions))}},t.prototype._getBounds=function(){if(!this._bounds){var e=this.props.bounds,t="function"==typeof e?e(this.props.target,this._targetWindow):e;t||(n=this._target,o=this._targetWindow,t={top:(t=function(e,t){var n=void 0;if(t.getWindowSegments&&(n=t.getWindowSegments()),void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var o=0,r=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();o=(i.left+i.right)/2,r=(i.top+i.bottom)/2}else null!==e&&(o=e.left||e.x,r=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},s=0,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}(n,o)).top+this.props.minPagePadding,left:t.left+this.props.minPagePadding,right:t.right-this.props.minPagePadding,bottom:t.bottom-this.props.minPagePadding,width:t.width-2*this.props.minPagePadding,height:t.height-2*this.props.minPagePadding}),this._bounds=t}var n,o;return this._bounds},t.prototype._getMaxHeight=function(){var e=this;if(!this._maxHeight)if(this.props.directionalHintFixed&&this._target){var t=this.props.isBeakVisible?this.props.beakWidth:0,n=(this.props.gapSpace?this.props.gapSpace:0)+t;this._async.requestAnimationFrame((function(){e._target&&(e._maxHeight=function(e,t,n,o,r){void 0===n&&(n=0);var i=e,a=e,s=e,l=o?Z(o):new _(0,window.innerWidth-Object(w.f)(),0,window.innerHeight),c=s.left||s.x,u=s.top||s.y;return X(i.stopPropagation?new _(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==c&&void 0!==u?new _(c,c,u,u):q(a),t,n,l,r)}(e._target,e.props.directionalHint,n,e._getBounds(),e.props.coverTarget),e._blockResetHeight=!0,e.forceUpdate())}),this._target)}else this._maxHeight=this._getBounds().height;return this._maxHeight},t.prototype._arePositionsEqual=function(e,t){return this._comparePositions(e.elementPosition,t.elementPosition)&&this._comparePositions(e.beakPosition.elementPosition,t.beakPosition.elementPosition)},t.prototype._comparePositions=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=e[n],r=t[n];if(void 0===o||void 0===r)return!1;if(o.toFixed(2)!==r.toFixed(2))return!1}return!0},t.prototype._setTargetWindowAndElement=function(e){var t=this._calloutElement.current;if(e)if("string"==typeof e){var n=Object(f.a)(t);this._target=n?n.querySelector(e):null,this._targetWindow=Object(g.a)(t)}else if(e.stopPropagation)this._targetWindow=Object(g.a)(e.target),this._target=e;else if(e.getBoundingClientRect){var o=e;this._targetWindow=Object(g.a)(o),this._target=e}else void 0!==e.current?(this._target=e.current,this._targetWindow=Object(g.a)(this._target)):(this._targetWindow=Object(g.a)(t),this._target=e);else this._targetWindow=Object(g.a)(t)},t.prototype._setHeightOffsetEveryFrame=function(){var e=this;this._calloutElement.current&&this.props.finalHeight&&(this._setHeightOffsetTimer=this._async.requestAnimationFrame((function(){var t=e._calloutElement.current&&e._calloutElement.current.lastChild;if(t){var n=t.scrollHeight-t.offsetHeight;e.setState({heightOffset:e.state.heightOffset+n}),t.offsetHeight<e.props.finalHeight?e._setHeightOffsetEveryFrame():e._async.cancelAnimationFrame(e._setHeightOffsetTimer,e._calloutElement.current)}}),this._calloutElement.current))},t.prototype._didPositionPropsChange=function(e,t){return!e.hidden&&e.hidden!==t.hidden||e.directionalHint!==t.directionalHint},t.prototype._getTarget=function(e){return void 0===e&&(e=this.props),e.target},t.defaultProps={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:s.a.bottomAutoEdge},t}(i.Component);function de(e){return{height:e,width:e}}var pe={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},me=Object(a.a)(ue,(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=Object(oe.x)(pe,n),u=n.semanticColors,d=n.effects;return{container:[c.container,{position:"relative"}],root:[c.root,n.fonts.medium,{position:"absolute",boxSizing:"border-box",borderRadius:d.roundedCorner2,boxShadow:d.elevation16,selectors:(t={},t[oe.e]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},Object(oe.u)(),o,!!i&&{width:i},!!l&&{maxWidth:l}],beak:[c.beak,{position:"absolute",backgroundColor:u.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},de(a),s&&{backgroundColor:s}],beakCurtain:[c.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:u.menuBackground,borderRadius:d.roundedCorner2}],calloutMain:[c.calloutMain,{backgroundColor:u.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:d.roundedCorner2},r&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"}),he=n(255),fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.layerProps,n=Object(r.d)(e,["layerProps"]),o=i.createElement(me,Object(r.a)({},n));return this.props.doNotLayer?o:i.createElement(he.a,Object(r.a)({},t),o)},t}(i.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(236),r=n(2),i=n(0),a=n(265),s=n(49),l=n(237),c=n(162),u=n(146),d=n(68),p=n(88),m=n(59),h=n(95),f=Object(l.a)(),g=function(e){function t(t){var n=e.call(this,t)||this;return n._focusZone=i.createRef(),n._persistedKeytips={},n._keytipManager=h.a.getInstance(),n._divContainer=i.createRef(),n._onRenderItems=function(e){return e.map((function(e,t){return i.createElement("div",{key:e.key,className:n._classNames.item},n.props.onRenderItem(e))}))},n._onRenderOverflowButtonWrapper=function(e){var t={className:n._classNames.overflowButton},o=n.props.keytipSequences,a=[];return o?e.forEach((function(e){var t=e.keytipProps;if(t){var i={content:t.content,keySequences:t.keySequences,disabled:t.disabled||!(!e.disabled&&!e.isDisabled),hasDynamicChildren:t.hasDynamicChildren,hasMenu:t.hasMenu};t.hasDynamicChildren||n._getSubMenuForItem(e)?i.onExecute=n._keytipManager.menuExecute.bind(n._keytipManager,o,e.keytipProps.keySequences):i.onExecute=t.onExecute,n._persistedKeytips[i.content]=i;var s=Object(r.a)(Object(r.a)({},e),{keytipProps:Object(r.a)(Object(r.a)({},t),{overflowSetSequence:o})});a.push(s)}else a.push(e)})):a=e,i.createElement("div",Object(r.a)({},t),n.props.onRenderOverflowButton(a))},Object(c.a)(n),Object(u.a)("OverflowSet",t,{doNotContainWithinFocusZone:"focusZoneProps"}),n}return Object(r.c)(t,e),t.prototype.render=function(){var e,t,n=this.props,o=n.items,l=n.overflowItems,c=n.className,u=n.focusZoneProps,p=n.styles,m=n.vertical,h=n.doNotContainWithinFocusZone,g=n.role,b=n.overflowSide,v=void 0===b?"end":b;this._classNames=f(p,{className:c,vertical:m}),h?(e="div",t=Object(r.a)(Object(r.a)({},Object(d.d)(this.props,d.c)),{ref:this._divContainer})):(e=a.a,t=Object(r.a)(Object(r.a)(Object(r.a)({},Object(d.d)(this.props,d.c)),u),{componentRef:this._focusZone,direction:m?s.a.vertical:s.a.horizontal}));var y=l&&l.length>0;return i.createElement(e,Object(r.a)({role:g||"group","aria-orientation":"menubar"===g?!0===m?"vertical":"horizontal":void 0},t,{className:this._classNames.root}),"start"===v&&y&&this._onRenderOverflowButtonWrapper(l),o&&this._onRenderItems(o),"end"===v&&y&&this._onRenderOverflowButtonWrapper(l))},t.prototype.focus=function(e){var t=!1;return this.props.doNotContainWithinFocusZone?this._divContainer.current&&(t=Object(p.c)(this._divContainer.current)):this._focusZone.current&&(t=this._focusZone.current.focus(e)),t},t.prototype.focusElement=function(e){var t=!1;return!!e&&(this.props.doNotContainWithinFocusZone?this._divContainer.current&&Object(m.a)(this._divContainer.current,e)&&(e.focus(),t=document.activeElement===e):this._focusZone.current&&(t=this._focusZone.current.focusElement(e)),t)},t.prototype.componentDidMount=function(){this._registerPersistedKeytips()},t.prototype.componentWillUnmount=function(){this._unregisterPersistedKeytips()},t.prototype.UNSAFE_componentWillUpdate=function(){this._unregisterPersistedKeytips()},t.prototype.componentDidUpdate=function(){this._registerPersistedKeytips()},t.prototype._registerPersistedKeytips=function(){var e=this;Object.keys(this._persistedKeytips).forEach((function(t){var n=e._persistedKeytips[t],o=e._keytipManager.register(n,!0);e._persistedKeytips[o]=n,delete e._persistedKeytips[t]}))},t.prototype._unregisterPersistedKeytips=function(){var e=this;Object.keys(this._persistedKeytips).forEach((function(t){e._keytipManager.unregister(e._persistedKeytips[t],t,!0)})),this._persistedKeytips={}},t.prototype._getSubMenuForItem=function(e){return this.props.itemSubMenuProvider?this.props.itemSubMenuProvider(e):e.subMenuProps?e.subMenuProps.items:void 0},t}(i.Component),b={flexShrink:0,display:"inherit"},v=Object(o.a)(g,(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",b],overflowButton:["ms-OverflowSet-overflowButton",b]}}),void 0,{scope:"OverflowSet"})},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n(27),r=n(0),i=n(204),a=n(51),s=n(67),l=["theme","styles"];function c(e,t,n,c,u){var d=(c=c||{scope:"",fields:void 0}).scope,p=c.fields,m=void 0===p?l:p;return function(l){function c(){var t=null!==l&&l.apply(this,arguments)||this;return t._inCustomizerContext=!1,t._renderContent=function(i){t._inCustomizerContext=!!i.customizations.inCustomizerContext;var s=a.a.getSettings(m,d,i.customizations),l=s.styles,c=(s.dir,Object(o.c)(s,["styles","dir"])),u=n?n(t.props):void 0;return t._updateStyles(l),r.createElement(e,Object(o.a)({},c,u,t.props,{styles:t._styles}))},t._onSettingsChanged=function(){return t.forceUpdate()},t}return Object(o.b)(c,l),c.prototype.render=function(){return r.createElement(s.a.Consumer,null,this._renderContent)},c.prototype.componentDidMount=function(){this._inCustomizerContext||a.a.observe(this._onSettingsChanged)},c.prototype.componentWillUnmount=function(){this._inCustomizerContext||a.a.unobserve(this._onSettingsChanged)},c.prototype._updateStyles=function(e){var n=this,o=this._styles&&this._styles.__cachedInputs__||[];if(!this._styles||e!==o[1]||this.props.styles!==o[2]){var r=function(o){return Object(i.a)(o,t,e,n.props.styles)};r.__cachedInputs__=[t,e,this.props.styles],r.__noStyleOverride__=!e&&!this.props.styles,this._styles=r}},c.displayName="Styled"+(e.displayName||e.name),c}(u?r.PureComponent:r.Component)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(45),r=n(205),i=n(118),a=n(26),s=0,l=o.a.getInstance();l&&l.onReset&&l.onReset((function(){return s++}));var c="__retval__";function u(e){void 0===e&&(e={});var t=new Map,n=0,o=0,l=s;return function(u,d){var m,h;if(void 0===d&&(d={}),e.useStaticStyles&&"function"==typeof u&&u.__noStyleOverride__)return u(d);o++;var f=t,g=d.theme,b=g&&void 0!==g.rtl?g.rtl:Object(i.a)(),v=e.disableCaching;(l!==s&&(l=s,t=new Map,n=0),e.disableCaching||(f=p(t,u),f=p(f,d)),!v&&f[c]||(f[c]=void 0===u?{}:Object(r.a)(["function"==typeof u?u(d):u],{rtl:!!b,specificityMultiplier:e.useStaticStyles?5:void 0}),v||n++),n>(e.cacheSize||50))&&((null===(h=null===(m=Object(a.a)())||void 0===m?void 0:m.FabricConfig)||void 0===h?void 0:h.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is "+n+"/"+o+"."),console.trace()),t.clear(),n=0,e.disableCaching=!0);return f[c]}}function d(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function p(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,o=t.__cachedInputs__;n<o.length;n++){e=d(e,o[n])}else e=d(e,t);else if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&(e=d(e,t[r]));return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o,r=n(26);function i(e){if(void 0===o||e){var t=Object(r.a)(),n=t&&t.navigator.userAgent;o=!!n&&-1!==n.indexOf("Macintosh")}return!!o}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n(2),r=n(0),i=n(40),a=n(59),s=n(111),l=n(46),c=n(87),u=n(26),d=n(88),p=n(68),m=function(e){function t(t){var n=e.call(this,t)||this;return n._root=r.createRef(),n._disposables=[],n._onKeyDown=function(e){switch(e.which){case i.a.escape:n.props.onDismiss&&(n.props.onDismiss(e),e.preventDefault(),e.stopPropagation())}},n._onFocus=function(){n._containsFocus=!0},n._onBlur=function(e){n._root.current&&e.relatedTarget&&!Object(a.a)(n._root.current,e.relatedTarget)&&(n._containsFocus=!1)},n._async=new s.a(n),n.state={needsVerticalScrollBar:!1},n}return Object(o.c)(t,e),t.prototype.UNSAFE_componentWillMount=function(){this._originalFocusedElement=Object(l.a)().activeElement},t.prototype.componentDidMount=function(){if(this._root.current){this._disposables.push(Object(c.a)(this._root.current,"focus",this._onFocus,!0),Object(c.a)(this._root.current,"blur",this._onBlur,!0));var e=Object(u.a)(this._root.current);e&&this._disposables.push(Object(c.a)(e,"keydown",this._onKeyDown)),Object(d.a)(this._root.current)&&(this._containsFocus=!0)}this._updateScrollBarAsync()},t.prototype.componentDidUpdate=function(){this._updateScrollBarAsync(),this._async.dispose()},t.prototype.componentWillUnmount=function(){if(this._disposables.forEach((function(e){return e()})),this.props.shouldRestoreFocus){var e=this.props.onRestoreFocus;(void 0===e?h:e)({originalElement:this._originalFocusedElement,containsFocus:this._containsFocus})}delete this._originalFocusedElement},t.prototype.render=function(){var e=this.props,t=e.role,n=e.className,i=e.ariaLabel,a=e.ariaLabelledBy,s=e.ariaDescribedBy,l=e.style;return r.createElement("div",Object(o.a)({ref:this._root},Object(p.d)(this.props,p.c),{className:n,role:t,"aria-label":i,"aria-labelledby":a,"aria-describedby":s,onKeyDown:this._onKeyDown,style:Object(o.a)({overflowY:this.state.needsVerticalScrollBar?"scroll":void 0,outline:"none"},l)}),this.props.children)},t.prototype._updateScrollBarAsync=function(){var e=this;this._async.requestAnimationFrame((function(){e._getScrollBar()}))},t.prototype._getScrollBar=function(){if(!this.props.style||!this.props.style.overflowY){var e=!1;if(this._root&&this._root.current&&this._root.current.firstElementChild){var t=this._root.current.clientHeight,n=this._root.current.firstElementChild.clientHeight;t>0&&n>t&&(e=n-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}},t.defaultProps={shouldRestoreFocus:!0},t}(r.Component);function h(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==window&&t.focus()}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return f}));var o,r=n(46),i=n(161),a=n(26),s=0,l=Object(i.b)({overflow:"hidden !important"}),c=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=f(e.target);r&&(o=r),0===o.scrollTop&&t>0&&e.preventDefault(),o.scrollHeight-o.scrollTop<=o.clientHeight&&t<0&&e.preventDefault()}}),{passive:!1}),o=e}},u=function(e,t){if(e){t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})}},d=function(e){e.preventDefault()};function p(){var e=Object(r.a)();e&&e.body&&!s&&(e.body.classList.add(l),e.body.addEventListener("touchmove",d,{passive:!1,capture:!1})),s++}function m(){if(s>0){var e=Object(r.a)();e&&e.body&&1===s&&(e.body.classList.remove(l),e.body.removeEventListener("touchmove",d)),s--}}function h(){if(void 0===o){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),o=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return o}function f(e){for(var t=e,n=Object(r.a)(e);t&&t!==n.body;){if("true"===t.getAttribute("data-is-scrollable"))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute("data-is-scrollable")){var o=getComputedStyle(t),i=o?o.getPropertyValue("overflow-y"):"";if(i&&("scroll"===i||"auto"===i))return t}t=t.parentElement}return t&&t!==n.body||(t=Object(a.a)(e)),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(94),r=n(114);function i(e,t){var n=Object(o.a)(e,(function(e){return t===e||e.hasAttribute(r.a)}));return null!==n&&n.hasAttribute(r.a)}},function(e,t,n){"use strict";function o(e,t){for(var n=-1,o=0;e&&o<e.length;o++)if(t(e[o],o)){n=o;break}return n}function r(e,t){var n=o(e,t);if(!(n<0))return e[n]}function i(e,t,n){var o=e.slice();return o.splice(t,0,n),o}n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter((function(e){return e})).join(" ").trim();return""===n?void 0:n}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(27),r=n(0),i=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:!1},n}return Object(o.b)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout((function(){e.setState({isRendered:!0})}),t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?r.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(47),r=n(0),i=n(14),a=n(67),s=n(51),l=n(148),c=n(85);function u(e,t){void 0===t&&(t={});var n=t.factoryOptions,u=(void 0===n?{}:n).defaultProp,d=function(n){var l,u,d,p=(l=t.displayName,u=r.useContext(a.a),d=t.fields,s.a.getSettings(d||["theme","styles","tokens"],l,u.customizations)),m=t.state;m&&(n=Object(o.a)(Object(o.a)({},n),m(n)));var h=n.theme||p.theme,f=function e(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];for(var a={},s=0,l=r;s<l.length;s++){var u=l[s];u&&(u="function"==typeof u?u(t,n):u,Array.isArray(u)&&(u=e.apply(void 0,Object(o.b)([t,n],u))),Object(c.a)(a,u))}return a}(n,h,t.tokens,p.tokens,n.tokens),g=function(e,t,n){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];return i.r.apply(void 0,o.map((function(o){return"function"==typeof o?o(e,t,n):o})))}(n,h,f,t.styles,p.styles,n.styles),b=Object(o.a)(Object(o.a)({},n),{styles:g,tokens:f,_defaultStyles:g,theme:h});return e(b)};return d.displayName=t.displayName||e.name,u&&(d.create=Object(l.a)(d,{defaultProp:u})),Object(c.a)(d,t.statics),d}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(2),r=n(0),i=n(59),a=n(88),s=n(162),l=n(68),c=n(87),u=n(46),d=function(e){function t(n){var o=e.call(this,n)||this;return o._root=r.createRef(),o._firstBumper=r.createRef(),o._lastBumper=r.createRef(),o._hasFocus=!1,o._onRootFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o._hasFocus=!0},o._onRootBlur=function(e){o.props.onBlur&&o.props.onBlur(e);var t=e.relatedTarget;null===e.relatedTarget&&(t=o._getDocument().activeElement),Object(i.a)(o._root.current,t)||(o._hasFocus=!1)},o._onFirstBumperFocus=function(){o._onBumperFocus(!0)},o._onLastBumperFocus=function(){o._onBumperFocus(!1)},o._onBumperFocus=function(e){if(!o.props.disabled){var t=e===o._hasFocus?o._lastBumper.current:o._firstBumper.current;if(o._root.current){var n=e===o._hasFocus?Object(a.i)(o._root.current,t,!0,!1):Object(a.f)(o._root.current,t,!0,!1);n&&(o._isBumper(n)?o.focus():n.focus())}}},o._onFocusCapture=function(e){o.props.onFocusCapture&&o.props.onFocusCapture(e),e.target===e.currentTarget||o._isBumper(e.target)||(o._previouslyFocusedElementInTrapZone=e.target)},o._forceFocusInTrap=function(e){if(!o.props.disabled&&t._focusStack.length&&o===t._focusStack[t._focusStack.length-1]){var n=o._getDocument().activeElement;Object(i.a)(o._root.current,n)||(o.focus(),o._hasFocus=!0,e.preventDefault(),e.stopPropagation())}},o._forceClickInTrap=function(e){if(!o.props.disabled&&t._focusStack.length&&o===t._focusStack[t._focusStack.length-1]){var n=e.target;n&&!Object(i.a)(o._root.current,n)&&(o.focus(),o._hasFocus=!0,e.preventDefault(),e.stopPropagation())}},Object(s.a)(o),o}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){this._bringFocusIntoZone(),this._updateEventHandlers(this.props)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.elementToFocusOnDismiss;t&&this._previouslyFocusedElementOutsideTrapZone!==t&&(this._previouslyFocusedElementOutsideTrapZone=t),this._updateEventHandlers(e)},t.prototype.componentDidUpdate=function(e){var t=void 0===e.forceFocusInsideTrap||e.forceFocusInsideTrap,n=void 0===this.props.forceFocusInsideTrap||this.props.forceFocusInsideTrap,o=void 0!==e.disabled&&e.disabled,r=void 0!==this.props.disabled&&this.props.disabled;!t&&n||o&&!r?this._bringFocusIntoZone():(t&&!n||!o&&r)&&this._returnFocusToInitiator()},t.prototype.componentWillUnmount=function(){this.props.disabled&&!this.props.forceFocusInsideTrap&&Object(i.a)(this._root.current,this._getDocument().activeElement)||this._returnFocusToInitiator(),this._disposeClickHandler&&(this._disposeClickHandler(),this._disposeClickHandler=void 0),this._disposeFocusHandler&&(this._disposeFocusHandler(),this._disposeFocusHandler=void 0),delete this._previouslyFocusedElementInTrapZone,delete this._previouslyFocusedElementOutsideTrapZone},t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,i=void 0!==n&&n,a=e.ariaLabelledBy,s=Object(l.d)(this.props,l.c),c={style:{pointerEvents:"none",position:"fixed"},tabIndex:i?-1:0,"data-is-visible":!0};return r.createElement("div",Object(o.a)({},s,{className:t,ref:this._root,"aria-labelledby":a,onFocusCapture:this._onFocusCapture,onFocus:this._onRootFocus,onBlur:this._onRootBlur}),r.createElement("div",Object(o.a)({},c,{ref:this._firstBumper,onFocus:this._onFirstBumperFocus})),this.props.children,r.createElement("div",Object(o.a)({},c,{ref:this._lastBumper,onFocus:this._onLastBumperFocus})))},t.prototype.focus=function(){var e=this.props,t=e.focusPreviouslyFocusedInnerElement,n=e.firstFocusableSelector;if(t&&this._previouslyFocusedElementInTrapZone&&Object(i.a)(this._root.current,this._previouslyFocusedElementInTrapZone))this._focusAsync(this._previouslyFocusedElementInTrapZone);else{var o="string"==typeof n?n:n&&n(),r=null;this._root.current&&(o&&(r=this._root.current.querySelector("."+o)),r||(r=Object(a.j)(this._root.current,this._root.current.firstChild,!1,!1,!1,!0))),r&&this._focusAsync(r)}},t.prototype._focusAsync=function(e){this._isBumper(e)||Object(a.b)(e)},t.prototype._bringFocusIntoZone=function(){var e=this.props,n=e.elementToFocusOnDismiss,o=e.disabled,r=void 0!==o&&o,a=e.disableFirstFocus,s=void 0!==a&&a;r||(t._focusStack.push(this),this._previouslyFocusedElementOutsideTrapZone=n||this._getDocument().activeElement,s||Object(i.a)(this._root.current,this._previouslyFocusedElementOutsideTrapZone)||this.focus())},t.prototype._returnFocusToInitiator=function(){var e=this,n=this.props.ignoreExternalFocusing;t._focusStack=t._focusStack.filter((function(t){return e!==t}));var o=this._getDocument(),r=o.activeElement;n||!this._previouslyFocusedElementOutsideTrapZone||"function"!=typeof this._previouslyFocusedElementOutsideTrapZone.focus||!Object(i.a)(this._root.current,r)&&r!==o.body||this._focusAsync(this._previouslyFocusedElementOutsideTrapZone)},t.prototype._updateEventHandlers=function(e){var t=e.isClickableOutsideFocusTrap,n=void 0!==t&&t,o=e.forceFocusInsideTrap,r=void 0===o||o;r&&!this._disposeFocusHandler?this._disposeFocusHandler=Object(c.a)(window,"focus",this._forceFocusInTrap,!0):!r&&this._disposeFocusHandler&&(this._disposeFocusHandler(),this._disposeFocusHandler=void 0),n||this._disposeClickHandler?n&&this._disposeClickHandler&&(this._disposeClickHandler(),this._disposeClickHandler=void 0):this._disposeClickHandler=Object(c.a)(window,"click",this._forceClickInTrap,!0)},t.prototype._isBumper=function(e){return e===this._firstBumper.current||e===this._lastBumper.current},t.prototype._getDocument=function(){return Object(u.a)(this._root.current)},t._focusStack=[],t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var o=n(102).a},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n(58);var r=Object(o.a)((function(e){return Object(o.a)((function(t){var n=Object(o.a)((function(e){return function(n){return t(n,e)}}));return function(o,r){return e(o,r?n(r):t)}}))}));function i(e,t){return r(e)(t)}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return kt}));var o,r=n(236),i=n(2),a=n(0),s=n(237),l=n(206),c=n(52),u=n(58),d=n(40),p=n(118),m=n(162),h=n(111),f=n(59),g=n(267),b=n(23),v=n(39),y=n(54),w=n(83),_=n(265),C=n(49),E=n(143),S=n(79),x=n(255),k=function(e){var t=e.count,n=e.indentWidth,o=t*(void 0===n?36:n);return t>0?a.createElement("span",{className:"ms-GroupSpacer",style:{display:"inline-block",width:o}}):null};!function(e){e[e.hidden=0]="hidden",e[e.visible=1]="visible"}(o||(o={}));var O=Object(s.a)(),I=n(14),T={root:"ms-Check",circle:"ms-Check-circle",check:"ms-Check-check",checkHost:"ms-Check-checkHost"},P=Object(r.a)((function(e){var t=e.checked,n=void 0!==t&&t,o=e.className,r=e.theme,i=e.styles,s=e.useFastIcons,l=void 0===s||s,c=O(i,{theme:r,className:o,checked:n}),u=l?E.a:S.a;return a.createElement("div",{className:c.root},a.createElement(u,{iconName:"CircleRing",className:c.circle}),a.createElement(u,{iconName:"StatusCircleCheckmark",className:c.check}))}),(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,u=e.theme,d=u.palette,m=u.semanticColors,h=u.fonts,f=Object(p.a)(u),g=Object(I.x)(T,u),b={fontSize:s,position:"absolute",left:0,top:0,width:s,height:s,textAlign:"center",verticalAlign:"middle"};return{root:[g.root,h.medium,{lineHeight:"1",width:s,height:s,verticalAlign:"top",position:"relative",userSelect:"none",selectors:(t={":before":{content:'""',position:"absolute",top:"1px",right:"1px",bottom:"1px",left:"1px",borderRadius:"50%",opacity:1,background:m.bodyBackground}},t["."+g.checkHost+":hover &, ."+g.checkHost+":focus &, &:hover, &:focus"]={opacity:1},t)},l&&["is-checked",{selectors:{":before":{background:d.themePrimary,opacity:1,selectors:(n={},n[I.e]={background:"Window"},n)}}}],c],circle:[g.circle,b,{color:d.neutralSecondary,selectors:(o={},o[I.e]={color:"WindowText"},o)},l&&{color:d.white}],check:[g.check,b,{opacity:0,color:d.neutralSecondary,fontSize:I.h.medium,left:f?"-0.5px":".5px",selectors:(r={":hover":{opacity:1}},r[I.e]={MsHighContrastAdjust:"none"},r)},l&&{opacity:1,color:d.white,fontWeight:900,selectors:(i={},i[I.e]={border:"none",color:"WindowText"},i)}],checkHost:g.checkHost}}),void 0,{scope:"Check"},!0),D=n(101),M={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"},A={cellLeftPadding:12,cellRightPadding:8,cellExtraRightPadding:24},R={rowHeight:42,compactRowHeight:32},N=Object(i.a)(Object(i.a)({},R),{rowVerticalPadding:11,compactRowVerticalPadding:6}),L={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"},j=function(e){var t=e.theme,n=e.cellStyleProps,o=void 0===n?A:n,r=t.semanticColors;return[Object(I.x)(L,t).cell,Object(I.w)(t),{color:r.bodyText,position:"relative",display:"inline-block",boxSizing:"border-box",padding:"0 "+o.cellRightPadding+"px 0 "+o.cellLeftPadding+"px",lineHeight:"inherit",margin:"0",height:42,verticalAlign:"top",whiteSpace:"nowrap",textOverflow:"ellipsis",textAlign:"left"}]},F={root:"ms-DetailsRow-check",isDisabled:"ms-DetailsRow-check--isDisabled",isHeader:"ms-DetailsRow-check--isHeader"},B=n(249),W=Object(s.a)(),z=a.memo((function(e){return a.createElement(P,{theme:e.theme,checked:e.checked,className:e.className,useFastIcons:!0})}));function H(e){return a.createElement(P,{checked:e.checked})}function U(e){return a.createElement(z,{theme:e.theme,checked:e.checked})}var V,G=Object(r.a)((function(e){var t=e.isVisible,n=void 0!==t&&t,o=e.canSelect,r=void 0!==o&&o,s=e.anySelected,c=void 0!==s&&s,u=e.selected,d=void 0!==u&&u,p=e.isHeader,m=void 0!==p&&p,h=e.className,f=(e.checkClassName,e.styles),g=e.theme,b=e.compact,v=e.onRenderDetailsCheckbox,y=e.useFastIcons,w=void 0===y||y,_=Object(i.d)(e,["isVisible","canSelect","anySelected","selected","isHeader","className","checkClassName","styles","theme","compact","onRenderDetailsCheckbox","useFastIcons"]),C=w?U:H,E=v?Object(B.a)(v,C):C,S=W(f,{theme:g,canSelect:r,selected:d,anySelected:c,className:h,isHeader:m,isVisible:n,compact:b}),x={checked:d,theme:g};return r?a.createElement("div",Object(i.a)({},_,{role:"checkbox",className:Object(l.a)(S.root,S.check),"aria-checked":d,"data-selection-toggle":!0,"data-automationid":"DetailsRowCheck"}),E(x)):a.createElement("div",Object(i.a)({},_,{className:Object(l.a)(S.root,S.check)}))}),(function(e){var t=e.theme,n=e.className,o=e.isHeader,r=e.selected,i=e.anySelected,a=e.canSelect,s=e.compact,l=e.isVisible,c=Object(I.x)(F,t),u=o?42:s?R.compactRowHeight:R.rowHeight,d=l||r||i;return{root:[c.root,n],check:[!a&&c.isDisabled,o&&c.isHeader,Object(I.w)(t),t.fonts.small,T.checkHost,{display:"flex",alignItems:"center",justifyContent:"center",cursor:"default",boxSizing:"border-box",verticalAlign:"top",background:"none",backgroundColor:"transparent",border:"none",opacity:d?1:0,height:u,width:48,padding:0,margin:0}],isDisabled:[]}}),void 0,{scope:"DetailsRowCheck"},!0),K=n(46),q=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 y.a(this);var r=Object(K.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,m,h,f=n.key,g=void 0===f?""+ ++this._lastId:f,b=[];if(n&&e){var v=n.eventMap,w=n.context,_=n.updateDropState,C={root:e,options:n,key:g};if(p=this._isDraggable(C),m=this._isDroppable(C),(p||m)&&v)for(var E=0,S=v;E<S.length;E++){var x=S[E],k={callback:x.callback.bind(null,w),eventName:x.eventName};b.push(k),this._events.on(e,k.eventName,k.callback)}m&&(a=function(e){e.isHandled||(e.isHandled=!0,o._dragEnterCounts[g]--,0===o._dragEnterCounts[g]&&_(!1,e))},s=function(e){e.preventDefault(),e.isHandled||(e.isHandled=!0,o._dragEnterCounts[g]++,1===o._dragEnterCounts[g]&&_(!0,e))},l=function(e){o._dragEnterCounts[g]=0,_(!1,e)},c=function(e){o._dragEnterCounts[g]=0,_(!1,e),n.onDrop&&n.onDrop(n.context.data,e)},u=function(e){e.preventDefault(),n.onDragOver&&n.onDragOver(n.context.data,e)},this._dragEnterCounts[g]=0,t.on(e,"dragenter",s),t.on(e,"dragleave",a),t.on(e,"dragend",l),t.on(e,"drop",c),t.on(e,"dragover",u)),p&&(d=this._onMouseDown.bind(this,C),l=this._onDragEnd.bind(this,C),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:C,dispose:function(){if(o._activeTargets[g]===h&&delete o._activeTargets[g],e){for(var n=0,r=b;n<r.length;n++){var f=r[n];o._events.off(e,f.eventName,f.callback)}m&&(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&&(y.a.raise(this._dragData.dropTarget.root,"dragleave"),y.a.raise(this._dragData.dropTarget.root,"drop"))}this._dragData=null},e.prototype._onDocumentMouseUp=function(e){var t=Object(K.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&&(y.a.raise(this._dragData.dropTarget.root,"dragleave"),y.a.raise(r,"dragenter"),this._dragData.dropTarget=e)}},e.prototype._onMouseLeave=function(e,t){this._isDragging&&this._dragData&&this._dragData.dropTarget&&this._dragData.dropTarget.key===e.key&&(y.a.raise(e.root,"dragleave"),this._dragData.dropTarget=void 0)},e.prototype._onMouseDown=function(e,t){if(0===t.button)if(this._isDraggable(e)){this._dragData={clientX:t.clientX,clientY:t.clientY,eventTarget:t.target,dragTarget:e};for(var n=0,o=Object.keys(this._activeTargets);n<o.length;n++){var r=o[n],i=this._activeTargets[r];i.target.root&&(this._events.on(i.target.root,"mousemove",this._onMouseMove.bind(this,i.target)),this._events.on(i.target.root,"mouseleave",this._onMouseLeave.bind(this,i.target)))}}else this._dragData=null},e.prototype._isChild=function(e,t){for(var n=v.findDOMNode(e),o=v.findDOMNode(t);o&&o.parentElement;){if(o.parentElement===n)return!0;o=o.parentElement}return!1},e.prototype._isDraggable=function(e){var t=e.options;return!(!t.canDrag||!t.canDrag(t.context.data))},e.prototype._isDroppable=function(e){var t=e.options,n=this._dragData&&this._dragData.dragTarget?this._dragData.dragTarget.options.context:void 0;return!(!t.canDrop||!t.canDrop(t.context,n))},e}(),Z=Object(s.a)(),X=function(e){function t(t){var n=e.call(this,t)||this;return n._root=a.createRef(),n._onRenderColumnHeaderTooltip=function(e){return a.createElement("span",{className:e.hostClassName},e.children)},n._onColumnClick=function(e){var t=n.props,o=t.onColumnClick,r=t.column;r.columnActionsMode!==b.b.disabled&&(r.onColumnClick&&r.onColumnClick(e,r),o&&o(e,r))},n._onDragStart=function(e,t,o,r){var i=n._classNames;t&&(n._updateHeaderDragInfo(t),n._root.current.classList.add(i.borderWhileDragging),n._async.setTimeout((function(){n._root.current&&n._root.current.classList.add(i.noBorderWhileDragging)}),20))},n._onDragEnd=function(e,t){var o=n._classNames;t&&n._updateHeaderDragInfo(-1,t),n._root.current.classList.remove(o.borderWhileDragging),n._root.current.classList.remove(o.noBorderWhileDragging)},n._updateHeaderDragInfo=function(e,t){n.props.setDraggedItemIndex&&n.props.setDraggedItemIndex(e),n.props.updateDragInfo&&n.props.updateDragInfo({itemIndex:e},t)},n._onColumnContextMenu=function(e){var t=n.props,o=t.onColumnContextMenu,r=t.column;r.onColumnContextMenu&&(r.onColumnContextMenu(r,e),e.preventDefault()),o&&(o(r,e),e.preventDefault())},n._onRootMouseDown=function(e){n.props.isDraggable&&0===e.button&&e.stopPropagation()},Object(m.a)(n),n._async=new h.a(n),n._events=new y.a(n),n}return Object(i.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.column,n=e.columnIndex,o=e.parentId,r=e.isDraggable,i=e.styles,s=e.theme,l=e.cellStyleProps,c=void 0===l?A:l,u=e.useFastIcons,d=void 0===u||u,p=this.props.onRenderColumnHeaderTooltip,m=void 0===p?this._onRenderColumnHeaderTooltip:p;this._classNames=Z(i,{theme:s,headerClassName:t.headerClassName,iconClassName:t.iconClassName,isActionable:t.columnActionsMode!==b.b.disabled,isEmpty:!t.name,isIconVisible:t.isSorted||t.isGrouped||t.isFiltered,isPadded:t.isPadded,isIconOnly:t.isIconOnly,cellStyleProps:c,transitionDurationDrag:200,transitionDurationDrop:1500});var h=this._classNames,f=d?E.a:S.a;return a.createElement(a.Fragment,null,a.createElement("div",{key:t.key,ref:this._root,role:"columnheader","aria-sort":t.isSorted?t.isSortedDescending?"descending":"ascending":"none","aria-colindex":n,className:h.root,"data-is-draggable":r,draggable:r,style:{width:t.calculatedWidth+c.cellLeftPadding+c.cellRightPadding+(t.isPadded?c.cellExtraRightPadding:0)},"data-automationid":"ColumnsHeaderColumn","data-item-key":t.key},r&&a.createElement(f,{iconName:"GripperBarVertical",className:h.gripperBarVerticalStyle}),m({hostClassName:h.cellTooltip,id:o+"-"+t.key+"-tooltip",setAriaDescribedBy:!1,column:t,content:t.columnActionsMode!==b.b.disabled?t.ariaLabel:"",children:a.createElement("span",{id:o+"-"+t.key,"aria-label":t.isIconOnly?t.name:void 0,"aria-labelledby":t.isIconOnly?void 0:o+"-"+t.key+"-name",className:h.cellTitle,"data-is-focusable":t.columnActionsMode!==b.b.disabled,role:t.columnActionsMode===b.b.disabled||void 0===t.onColumnClick&&void 0===this.props.onColumnClick?void 0:"button","aria-describedby":!this.props.onRenderColumnHeaderTooltip&&this._hasAccessibleLabel()?o+"-"+t.key+"-tooltip":void 0,onContextMenu:this._onColumnContextMenu,onClick:this._onColumnClick,"aria-haspopup":t.columnActionsMode===b.b.hasDropdown,"aria-expanded":t.columnActionsMode===b.b.hasDropdown?!!t.isMenuOpen:void 0},a.createElement("span",{id:o+"-"+t.key+"-name",className:h.cellName},(t.iconName||t.iconClassName)&&a.createElement(f,{className:h.iconClassName,iconName:t.iconName}),t.isIconOnly?a.createElement("span",{className:h.accessibleLabel},t.name):t.name),t.isFiltered&&a.createElement(f,{className:h.nearIcon,iconName:"Filter"}),t.isSorted&&a.createElement(f,{className:h.sortIcon,iconName:t.isSortedDescending?"SortDown":"SortUp"}),t.isGrouped&&a.createElement(f,{className:h.nearIcon,iconName:"GroupedDescending"}),t.columnActionsMode===b.b.hasDropdown&&!t.isIconOnly&&a.createElement(f,{"aria-hidden":!0,className:h.filterChevron,iconName:"ChevronDown"}))},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:this._renderAccessibleLabel())},t.prototype.componentDidMount=function(){var e=this;this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling();var t=this._classNames;this.props.isDropped&&(this._root.current&&(this._root.current.classList.add(t.borderAfterDropping),this._async.setTimeout((function(){e._root.current&&e._root.current.classList.add(t.noBorderAfterDropping)}),20)),this._async.setTimeout((function(){e._root.current&&(e._root.current.classList.remove(t.borderAfterDropping),e._root.current.classList.remove(t.noBorderAfterDropping))}),1520))},t.prototype.componentWillUnmount=function(){this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._async.dispose(),this._events.dispose()},t.prototype.componentDidUpdate=function(){!this._dragDropSubscription&&this.props.dragDropHelper&&this.props.isDraggable&&this._addDragDropHandling(),this._dragDropSubscription&&!this.props.isDraggable&&(this._dragDropSubscription.dispose(),this._events.off(this._root.current,"mousedown"),delete this._dragDropSubscription)},t.prototype._getColumnDragDropOptions=function(){var e=this,t=this.props.columnIndex;return{selectionIndex:t,context:{data:t,index:t},canDrag:function(){return e.props.isDraggable},canDrop:function(){return!1},onDragStart:this._onDragStart,updateDropState:function(){},onDrop:function(){},onDragEnd:this._onDragEnd}},t.prototype._hasAccessibleLabel=function(){var e=this.props.column;return!!(e.ariaLabel||e.filterAriaLabel||e.sortAscendingAriaLabel||e.sortDescendingAriaLabel||e.groupAriaLabel)},t.prototype._renderAccessibleLabel=function(){var e=this.props,t=e.column,n=e.parentId,o=this._classNames;return this._hasAccessibleLabel()&&!this.props.onRenderColumnHeaderTooltip?a.createElement("label",{key:t.key+"_label",id:n+"-"+t.key+"-tooltip",className:o.accessibleLabel},t.ariaLabel,t.isFiltered&&t.filterAriaLabel||null,t.isSorted&&(t.isSortedDescending?t.sortDescendingAriaLabel:t.sortAscendingAriaLabel)||null,t.isGrouped&&t.groupAriaLabel||null):null},t.prototype._addDragDropHandling=function(){this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root.current,this._events,this._getColumnDragDropOptions()),this._events.on(this._root.current,"mousedown",this._onRootMouseDown)},t}(a.Component),Y={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"},Q=Object(r.a)(X,(function(e){var t,n=e.theme,o=e.headerClassName,r=e.iconClassName,a=e.isActionable,s=e.isEmpty,l=e.isIconVisible,c=e.isPadded,u=e.isIconOnly,d=e.cellStyleProps,p=void 0===d?A:d,m=e.transitionDurationDrag,h=e.transitionDurationDrop,f=n.semanticColors,g=n.palette,b=n.fonts,v=Object(I.x)(Y,n),y={iconForegroundColor:f.bodySubtext,headerForegroundColor:f.bodyText,headerBackgroundColor:f.bodyBackground,dropdownChevronForegroundColor:g.neutralTertiary,resizerColor:g.neutralTertiaryAlt},w={color:y.iconForegroundColor,opacity:1,paddingLeft:8},_={outline:"1px solid "+g.themePrimary},C={outlineColor:"transparent"};return{root:[j(e),b.small,a&&[v.isActionable,{selectors:{":hover":{color:f.bodyText,background:f.listHeaderBackgroundHovered},":active":{background:f.listHeaderBackgroundPressed}}}],s&&[v.isEmpty,{textOverflow:"clip"}],l&&v.isIconVisible,c&&{paddingRight:p.cellExtraRightPadding+p.cellRightPadding},{selectors:{':hover i[data-icon-name="GripperBarVertical"]':{display:"block"}}},o],gripperBarVerticalStyle:{display:"none",position:"absolute",textAlign:"left",color:g.neutralTertiary,left:1},nearIcon:[v.nearIcon,w],sortIcon:[w,{paddingLeft:4,position:"relative",top:1}],iconClassName:[{color:y.iconForegroundColor,opacity:1},r],filterChevron:[v.filterChevron,{color:y.dropdownChevronForegroundColor,paddingLeft:6,verticalAlign:"middle",fontSize:b.small.fontSize}],cellTitle:[v.cellTitle,Object(I.w)(n),Object(i.a)({display:"flex",flexDirection:"row",justifyContent:"flex-start",alignItems:"stretch",boxSizing:"border-box",overflow:"hidden",padding:"0 "+p.cellRightPadding+"px 0 "+p.cellLeftPadding+"px"},u?{alignContent:"flex-end",maxHeight:"100%",flexWrap:"wrap-reverse"}:{})],cellName:[v.cellName,{flex:"0 1 auto",overflow:"hidden",textOverflow:"ellipsis",fontWeight:I.d.semibold,fontSize:b.medium.fontSize},u&&{selectors:(t={},t["."+v.nearIcon]={paddingLeft:0},t)}],cellTooltip:{display:"block",position:"absolute",top:0,left:0,bottom:0,right:0},accessibleLabel:I.C,borderWhileDragging:_,noBorderWhileDragging:[C,{transition:"outline "+m+"ms ease"}],borderAfterDropping:_,noBorderAfterDropping:[C,{transition:"outline  "+h+"ms ease"}]}}),void 0,{scope:"DetailsColumn"});!function(e){e[e.none=0]="none",e[e.hidden=1]="hidden",e[e.visible=2]="visible"}(V||(V={}));var $=Object(s.a)(),J=[],ee=function(e){function t(t){var n=e.call(this,t)||this;return n._rootComponent=a.createRef(),n._draggedColumnIndex=-1,n._dropHintDetails={},n._updateDroppingState=function(e,t){n._draggedColumnIndex>=0&&"drop"!==t.type&&!e&&n._resetDropHints()},n._onDragOver=function(e,t){n._draggedColumnIndex>=0&&(t.stopPropagation(),n._computeDropHintToBeShown(t.clientX))},n._onDrop=function(e,t){var o=n._getColumnReorderProps();if(n._draggedColumnIndex>=0&&t){var r=n._draggedColumnIndex>n._currentDropHintIndex?n._currentDropHintIndex:n._currentDropHintIndex-1,i=n._isValidCurrentDropHintIndex();if(t.stopPropagation(),i)if(n._onDropIndexInfo.sourceIndex=n._draggedColumnIndex,n._onDropIndexInfo.targetIndex=r,o.onColumnDrop){var a={draggedIndex:n._draggedColumnIndex,targetIndex:r};o.onColumnDrop(a)}else o.handleColumnReorder&&o.handleColumnReorder(n._draggedColumnIndex,r)}n._resetDropHints(),n._dropHintDetails={},n._draggedColumnIndex=-1},n._updateDragInfo=function(e,t){var o=n._getColumnReorderProps(),r=e.itemIndex;if(r>=0)n._draggedColumnIndex=n._isCheckboxColumnHidden()?r-1:r-2,n._getDropHintPositions(),o.onColumnDragStart&&o.onColumnDragStart(!0);else if(t&&n._draggedColumnIndex>=0&&(n._resetDropHints(),n._draggedColumnIndex=-1,n._dropHintDetails={},o.onColumnDragEnd)){var i=n._isEventOnHeader(t);o.onColumnDragEnd({dropLocation:i},t)}},n._getDropHintPositions=function(){for(var e,t=n.props.columns,o=void 0===t?J: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){var u=n._rootElement.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=Object(p.a)(n.props.theme);if(n._rootElement){var o=e-n._rootElement.getBoundingClientRect().left,r=n._currentDropHintIndex;if(n._isValidCurrentDropHintIndex()&&te(t,o,n._dropHintDetails[r].startX,n._dropHintDetails[r].endX))return;var i=n.props.columns,a=void 0===i?J:i,s=n._getColumnReorderProps(),l=s.frozenColumnCountFromStart||0,c=s.frozenColumnCountFromEnd||0,u=l,d=a.length-c,m=-1;if(ne(t,o,n._dropHintDetails[u].endX)?m=u:oe(t,o,n._dropHintDetails[d].startX)?m=d:n._isValidCurrentDropHintIndex()&&(n._dropHintDetails[r+1]&&te(t,o,n._dropHintDetails[r+1].startX,n._dropHintDetails[r+1].endX)?m=r+1:n._dropHintDetails[r-1]&&te(t,o,n._dropHintDetails[r-1].startX,n._dropHintDetails[r-1].endX)&&(m=r-1)),-1===m)for(var h=l,f=d;h<f;){var g=Math.ceil((f+h)/2);if(te(t,o,n._dropHintDetails[g].startX,n._dropHintDetails[g].endX)){m=g;break}ne(t,o,n._dropHintDetails[g].originX)?f=g:oe(t,o,n._dropHintDetails[g].originX)&&(h=g)}m===n._draggedColumnIndex||m===n._draggedColumnIndex+1?n._isValidCurrentDropHintIndex()&&n._resetDropHints():r!==m&&m>=0&&(n._resetDropHints(),n._updateDropHintElement(n._dropHintDetails[m].dropHintElementRef,"inline-block"),n._currentDropHintIndex=m)}},n._renderColumnSizer=function(e){var t,o=e.columnIndex,r=n.props.columns,i=void 0===r?J:r,s=i[o],c=n.state.columnResizeDetails,u=n._classNames;return s.isResizable?a.createElement("div",{key:s.key+"_sizer","aria-hidden":!0,role:"button","data-is-focusable":!1,onClick:re,"data-sizer-index":o,onBlur:n._onSizerBlur,className:Object(l.a)(u.cellSizer,o<i.length-1?u.cellSizerStart:u.cellSizerEnd,(t={},t[u.cellIsResizing]=c&&c.columnIndex===o,t)),onDoubleClick:n._onSizerDoubleClick.bind(n,o)}):null},n._onRenderColumnHeaderTooltip=function(e){return a.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?J:r;null!==t&&0===e.button&&(n.setState({columnResizeDetails:{columnIndex:o,columnMinWidth:i[o].calculatedWidth,originX:e.clientX}}),e.preventDefault(),e.stopPropagation())},n._onRootMouseMove=function(e){var t=n.state,o=t.columnResizeDetails,r=t.isSizing;o&&!r&&e.clientX!==o.originX&&n.setState({isSizing:!0})},n._onRootRef=function(e){n._rootElement=e?Object(v.findDOMNode)(e):void 0},n._onRootKeyDown=function(e){var t=n.state,o=t.columnResizeDetails,r=t.isSizing,a=n.props,s=a.columns,l=void 0===s?J:s,c=a.onColumnResized,u=e.target.getAttribute("data-sizer-index");if(u&&!r){var m=Number(u);if(o){var h=void 0;e.which===d.a.enter?(n.setState({columnResizeDetails:void 0}),e.preventDefault(),e.stopPropagation()):e.which===d.a.left?h=Object(p.a)(n.props.theme)?1:-1:e.which===d.a.right&&(h=Object(p.a)(n.props.theme)?-1:1),h&&(e.shiftKey||(h*=10),n.setState({columnResizeDetails:Object(i.a)(Object(i.a)({},o),{columnMinWidth:o.columnMinWidth+h})}),c&&c(l[m],o.columnMinWidth+h,m),e.preventDefault(),e.stopPropagation())}else e.which===d.a.enter&&(n.setState({columnResizeDetails:{columnIndex:m,columnMinWidth:l[m].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?J: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;Object(p.a)(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?J:o,i=t.onColumnIsSizingChanged,a=n.state.columnResizeDetails;n.setState({columnResizeDetails:void 0,isSizing:!1}),i&&i(r[a.columnIndex],!1)},n._onToggleCollapseAll=function(){var e=n.props.onToggleCollapseAll,t=!n.state.isAllCollapsed;n.setState({isAllCollapsed:t}),e&&e(t)},Object(m.a)(n),n._events=new y.a(n),n.state={columnResizeDetails:void 0,isAllCollapsed:n.props.isAllCollapsed,isAllSelected:!!n.props.selection&&n.props.selection.isAllSelected()},n._onDropIndexInfo={sourceIndex:-1,targetIndex:-1},n._id=Object(w.a)("header"),n._currentDropHintIndex=-1,n._dragDropHelper=new q({selection:{getSelection:function(){}},minimumPixelsForDrag:n.props.minimumPixelsForDrag}),n}return Object(i.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props.selection;this._events.on(e,c.a,this._onSelectionChanged),this._events.on(this._rootElement,"mousedown",this._onRootMouseDown),this._events.on(this._rootElement,"keydown",this._onRootKeyDown),this._getColumnReorderProps()&&(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement,this._events,this._getHeaderDragDropOptions()))},t.prototype.componentDidUpdate=function(e){if(this._getColumnReorderProps()?this._subscriptionObject||(this._subscriptionObject=this._dragDropHelper.subscribe(this._rootElement,this._events,this._getHeaderDragDropOptions())):this._subscriptionObject&&(this._subscriptionObject.dispose(),delete this._subscriptionObject),this.props!==e&&this._onDropIndexInfo.sourceIndex>=0&&this._onDropIndexInfo.targetIndex>=0){var t=e.columns,n=void 0===t?J:t,o=this.props.columns,r=void 0===o?J: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,r=void 0===n?J:n,i=t.ariaLabel,s=t.ariaLabelForToggleAllGroupsButton,l=t.ariaLabelForSelectAllCheckbox,u=t.selectAllVisibility,d=t.ariaLabelForSelectionColumn,m=t.indentWidth,h=t.rowWidth,f=void 0===h?0:h,g=t.onColumnClick,v=t.onColumnContextMenu,y=t.onRenderColumnHeaderTooltip,w=void 0===y?this._onRenderColumnHeaderTooltip:y,O=t.styles,I=t.selectionMode,T=t.theme,P=t.onRenderDetailsCheckbox,D=t.groupNestingDepth,M=t.useFastIcons,A=t.checkboxVisibility,R=t.className,N=this.state,L=N.isAllSelected,j=N.columnResizeDetails,F=N.isSizing,B=N.isAllCollapsed,W=u!==V.none,z=u===V.hidden,H=A===b.a.always,U=this._getColumnReorderProps(),K=U&&U.frozenColumnCountFromStart?U.frozenColumnCountFromStart:0,q=U&&U.frozenColumnCountFromEnd?U.frozenColumnCountFromEnd:0;this._classNames=$(O,{theme:T,isAllSelected:L,isSelectAllHidden:u===V.hidden,isResizingColumn:!!j&&F,isSizing:F,isAllCollapsed:B,isCheckboxHidden:z,className:R});var Z=this._classNames,X=M?E.a:S.a,Y=Object(p.a)(T);return a.createElement(_.a,{role:"row","aria-label":i,className:Z.root,componentRef:this._rootComponent,ref:this._onRootRef,onMouseMove:this._onRootMouseMove,"data-automationid":"DetailsHeader",style:{minWidth:f},direction:C.a.horizontal},W?[a.createElement("div",{key:"__checkbox",className:Z.cellIsCheck,"aria-labelledby":this._id+"-check",onClick:z?void 0:this._onSelectAllClicked,"aria-colindex":1,role:"columnheader"},w({hostClassName:Z.checkTooltip,id:this._id+"-checkTooltip",setAriaDescribedBy:!1,content:l,children:a.createElement(G,{id:this._id+"-check","aria-label":I===c.b.multiple?l:d,"aria-describedby":z?d&&!this.props.onRenderColumnHeaderTooltip?this._id+"-checkTooltip":void 0:l&&!this.props.onRenderColumnHeaderTooltip?this._id+"-checkTooltip":void 0,"data-is-focusable":!z||void 0,isHeader:!0,selected:L,anySelected:!1,canSelect:!z,className:Z.check,onRenderDetailsCheckbox:P,useFastIcons:M,isVisible:H})},this._onRenderColumnHeaderTooltip)),this.props.onRenderColumnHeaderTooltip?null:l&&!z?a.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:Z.accessibleLabel,"aria-hidden":!0},l):d&&z?a.createElement("label",{key:"__checkboxLabel",id:this._id+"-checkTooltip",className:Z.accessibleLabel,"aria-hidden":!0},d):null]:null,D>0&&this.props.collapseAllVisibility===o.visible?a.createElement("div",{className:Z.cellIsGroupExpander,onClick:this._onToggleCollapseAll,"data-is-focusable":!0,"aria-label":s,"aria-expanded":!B,role:s?"button":void 0},a.createElement(X,{className:Z.collapseButton,iconName:Y?"ChevronLeftMed":"ChevronRightMed"})):null,a.createElement(k,{indentWidth:m,count:D-1}),r.map((function(t,n){var o=!!U&&(n>=K&&n<r.length-q);return[U&&(o||n===r.length-q)&&e._renderDropHint(n),a.createElement(Q,{column:t,styles:t.styles,key:t.key,columnIndex:(W?2:1)+n,parentId:e._id,isDraggable:o,updateDragInfo:e._updateDragInfo,dragDropHelper:e._dragDropHelper,onColumnClick:g,onColumnContextMenu:v,onRenderColumnHeaderTooltip:e.props.onRenderColumnHeaderTooltip,isDropped:e._onDropIndexInfo.targetIndex===n,cellStyleProps:e.props.cellStyleProps,useFastIcons:M}),e._renderColumnDivider(n)]})),U&&0===q&&this._renderDropHint(r.length),F&&a.createElement(x.a,null,a.createElement("div",{className:Z.sizingOverlay,onMouseMove:this._onSizerMouseMove,onMouseUp:this._onSizerMouseUp})))},t.prototype.focus=function(){return Boolean(this._rootComponent.current&&this._rootComponent.current.focus())},t.prototype._getColumnReorderProps=function(){var e=this.props,t=e.columnReorderOptions;return e.columnReorderProps||t&&Object(i.a)(Object(i.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===c.b.none||n===b.a.hidden},t.prototype._resetDropHints=function(){this._currentDropHintIndex>=0&&(this._updateDropHintElement(this._dropHintDetails[this._currentDropHintIndex].dropHintElementRef,"none"),this._currentDropHintIndex=-1)},t.prototype._updateDropHintElement=function(e,t){e.childNodes[1].style.display=t,e.childNodes[0].style.display=t},t.prototype._isEventOnHeader=function(e){if(this._rootElement){var t=this._rootElement.getBoundingClientRect();if(e.clientX>t.left&&e.clientX<t.right&&e.clientY>t.top&&e.clientY<t.bottom)return b.c.header}},t.prototype._renderColumnDivider=function(e){var t=this.props.columns,n=(void 0===t?J: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?E.a:S.a;return a.createElement("div",{key:"dropHintKey",className:t.dropHintStyle,id:"columnDropHint_"+e},a.createElement(n,{key:"dropHintCircleKey","aria-hidden":!0,"data-is-focusable":!1,"data-sizer-index":e,className:t.dropHintCaretStyle,iconName:"CircleShapeSolid"}),a.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?J: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:V.visible,collapseAllVisibility:o.visible,useFastIcons:!0},t}(a.Component);function te(e,t,n,o){return e?t<=n&&t>=o:t>=n&&t<=o}function ne(e,t,n){return e?t>=n:t<=n}function oe(e,t,n){return e?t<=n:t>=n}function re(e){e.stopPropagation()}var ie=Object(r.a)(ee,(function(e){var t,n,o,r,i=e.theme,a=e.className,s=e.isAllSelected,l=e.isResizingColumn,c=e.isSizing,u=e.isAllCollapsed,d=e.cellStyleProps,p=void 0===d?A:d,m=i.semanticColors,h=i.palette,f=i.fonts,g=Object(I.x)(L,i),b={iconForegroundColor:m.bodySubtext,headerForegroundColor:m.bodyText,headerBackgroundColor:m.bodyBackground,dropdownChevronForegroundColor:h.neutralTertiary,resizerColor:h.neutralTertiaryAlt},v={opacity:1,transition:"opacity 0.3s linear"},y=j(e);return{root:[g.root,f.small,{display:"inline-block",background:b.headerBackgroundColor,position:"relative",minWidth:"100%",verticalAlign:"top",height:42,lineHeight:42,whiteSpace:"nowrap",boxSizing:"content-box",paddingBottom:"1px",paddingTop:"16px",borderBottom:"1px solid "+m.bodyDivider,cursor:"default",userSelect:"none",selectors:(t={},t["&:hover ."+g.check]={opacity:1},t["& ."+g.tooltipHost+" ."+g.checkTooltip]={display:"block"},t)},s&&g.isAllSelected,l&&g.isResizingColumn,a],check:[g.check,{height:42},{selectors:(n={},n["."+D.a+" &:focus"]={opacity:1},n)}],cellWrapperPadded:{paddingRight:p.cellExtraRightPadding+p.cellRightPadding},cellIsCheck:[y,g.cellIsCheck,{position:"relative",padding:0,margin:0,display:"inline-flex",alignItems:"center",border:"none"},s&&{opacity:1}],cellIsGroupExpander:[y,{display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:f.small.fontSize,padding:0,border:"none",width:36,color:h.neutralSecondary,selectors:{":hover":{backgroundColor:h.neutralLighter},":active":{backgroundColor:h.neutralLight}}}],cellIsActionable:{selectors:{":hover":{color:m.bodyText,background:m.listHeaderBackgroundHovered},":active":{background:m.listHeaderBackgroundPressed}}},cellIsEmpty:{textOverflow:"clip"},cellSizer:[g.cellSizer,Object(I.u)(),{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:b.resizerColor,opacity:0,left:"50%"},":focus:after":v,":hover:after":v},o["&."+g.isResizing+":after"]=[v,{boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.4)"}],o)}],cellIsResizing:g.isResizing,cellSizerStart:{margin:"0 -8px"},cellSizerEnd:{margin:0,marginLeft:-16},collapseButton:[g.collapseButton,{transformOrigin:"50% 50%",transition:"transform .1s linear"},u?[g.isCollapsed,{transform:"rotate(0deg)"}]:{transform:"rotate(90deg)"}],checkTooltip:g.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[I.e]={background:"transparent",MsHighContrastAdjust:"none"},r)},accessibleLabel:I.C,dropHintCircleStyle:[g.dropHintCircleStyle,{display:"inline-block",visibility:"hidden",position:"absolute",bottom:0,height:9,width:9,borderRadius:"50%",marginLeft:-5,top:34,overflow:"visible",zIndex:10,border:"1px solid "+h.themePrimary,background:h.white}],dropHintCaretStyle:[g.dropHintCaretStyle,{display:"none",position:"absolute",top:-28,left:-6.5,fontSize:f.medium.fontSize,color:h.themePrimary,overflow:"visible",zIndex:10}],dropHintLineStyle:[g.dropHintLineStyle,{display:"none",position:"absolute",bottom:0,top:0,overflow:"hidden",height:42,width:1,background:h.themePrimary,zIndex:10}],dropHintStyle:{display:"inline-block",position:"absolute"}}}),void 0,{scope:"DetailsHeader"}),ae=n(93),se=n(68),le=function(e){var t=e.columns,n=e.columnStartIndex,o=e.rowClassNames,r=e.cellStyleProps,i=void 0===r?A:r,s=e.item,c=e.itemIndex,u=e.onRenderItemColumn,d=e.getCellValueKey,p=e.cellsByColumn,m=e.enableUpdateAnimations,h=a.useRef(),f=h.current||(h.current={});return a.createElement("div",{className:o.fields,"data-automationid":"DetailsRowFields",role:"presentation"},t.map((function(e,t){var r=void 0===e.calculatedWidth?"auto":e.calculatedWidth+i.cellLeftPadding+i.cellRightPadding+(e.isPadded?i.cellExtraRightPadding:0),h=e.onRender,g=void 0===h?u:h,b=e.getValueKey,v=void 0===b?d:b,y=p&&e.key in p?p[e.key]:g?g(s,c,e):function(e,t){var n=e&&t&&t.fieldName?e[t.fieldName]:"";return null==n&&(n=""),"boolean"==typeof n?n.toString():n}(s,e),w=f[e.key],_=m&&v?v(s,c,e):void 0,C=!1;void 0!==_&&void 0!==w&&_!==w&&(C=!0),f[e.key]=_;var E=e.key+(void 0!==_?"-"+_:"");return a.createElement("div",{key:E,role:e.isRowHeader?"rowheader":"gridcell","aria-readonly":!0,"aria-colindex":t+n+1,className:Object(l.a)(e.className,e.isMultiline&&o.isMultiline,e.isRowHeader&&o.isRowHeader,o.cell,e.isPadded?o.cellPadded:o.cellUnpadded,C&&o.cellAnimation),style:{width:r},"data-automationid":"DetailsRowCell","data-automation-key":e.key},y)})))},ce=Object(s.a)(),ue=[],de=function(e){function t(t){var n=e.call(this,t)||this;return n._cellMeasurer=a.createRef(),n._focusZone=a.createRef(),n._onSelectionChanged=function(){var e=n._getSelectionState(n.props);Object(ae.c)(e,n.state.selectionState)||n.setState({selectionState:e})},n._onRootRef=function(e){n._root=e?v.findDOMNode(e):void 0},n._updateDroppingState=function(e,t){var o=n.state.isDropping,r=n.props,i=r.dragDropEvents,a=r.item;e?i.onDragEnter&&(n._droppingClassNames=i.onDragEnter(a,t)):i.onDragLeave&&i.onDragLeave(a,t),o!==e&&n.setState({isDropping:e})},Object(m.a)(n),n._events=new y.a(n),n.state={selectionState:n._getSelectionState(t),columnMeasureInfo:void 0,isDropping:!1},n._droppingClassNames="",n}return Object(i.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props.dragDropHelper;e&&(this._dragDropSubscription=e.subscribe(this._root,this._events,this._getRowDragDropOptions())),this._events.on(this.props.selection,c.a,this._onSelectionChanged),this.props.onDidMount&&this.props.item&&(this._onDidMountCalled=!0,this.props.onDidMount(this))},t.prototype.componentDidUpdate=function(e){var t=this.state,n=this.props,o=n.item,r=n.onDidMount,i=t.columnMeasureInfo;if(this.props.itemIndex===e.itemIndex&&this.props.item===e.item&&this.props.dragDropHelper===e.dragDropHelper||(this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this.props.dragDropHelper&&(this._dragDropSubscription=this.props.dragDropHelper.subscribe(this._root,this._events,this._getRowDragDropOptions()))),i&&i.index>=0&&this._cellMeasurer.current){var a=this._cellMeasurer.current.getBoundingClientRect().width;i.onMeasureDone(a),this.setState({columnMeasureInfo:void 0})}o&&r&&!this._onDidMountCalled&&(this._onDidMountCalled=!0,r(this))},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.item,n=e.onWillUnmount;n&&t&&n(this),this._dragDropSubscription&&(this._dragDropSubscription.dispose(),delete this._dragDropSubscription),this._events.dispose()},t.prototype.UNSAFE_componentWillReceiveProps=function(e){this.setState({selectionState:this._getSelectionState(e)})},t.prototype.shouldComponentUpdate=function(e,t){if(this.props.useReducedRowRenderer){var n=this._getSelectionState(e);return this.state.selectionState.isSelected!==n.isSelected||!Object(ae.c)(this.props,e)}return!0},t.prototype.render=function(){var e=this.props,t=e.className,n=e.columns,r=void 0===n?ue:n,s=e.dragDropEvents,u=e.item,d=e.itemIndex,p=e.onRenderCheck,m=void 0===p?this._onRenderCheck:p,h=e.onRenderDetailsCheckbox,f=e.onRenderItemColumn,g=e.getCellValueKey,v=e.selectionMode,y=e.rowWidth,w=void 0===y?0:y,E=e.checkboxVisibility,S=e.getRowAriaLabel,x=e.getRowAriaDescribedBy,O=e.checkButtonAriaLabel,I=e.checkboxCellClassName,T=e.rowFieldsAs,P=void 0===T?le:T,D=e.selection,M=e.indentWidth,A=e.enableUpdateAnimations,R=e.compact,N=e.theme,L=e.styles,j=e.cellsByColumn,F=e.groupNestingDepth,B=e.useFastIcons,W=void 0===B||B,z=e.cellStyleProps,H=this.state,U=H.columnMeasureInfo,V=H.isDropping,G=this.state.selectionState,K=G.isSelected,q=void 0!==K&&K,Z=G.isSelectionModal,X=void 0!==Z&&Z,Y=s?!(!s.canDrag||!s.canDrag(u)):void 0,Q=V?this._droppingClassNames||"is-dropping":"",$=S?S(u):void 0,J=x?x(u):void 0,ee=!!D&&D.canSelectItem(u,d),te=v===c.b.multiple,ne=v!==c.b.none&&E!==b.a.hidden,oe=v===c.b.none?void 0:q;this._classNames=Object(i.a)(Object(i.a)({},this._classNames),ce(L,{theme:N,isSelected:q,canSelect:!te,anySelected:X,checkboxCellClassName:I,droppingClassName:Q,className:t,compact:R,enableUpdateAnimations:A,cellStyleProps:z}));var re={isMultiline:this._classNames.isMultiline,isRowHeader:this._classNames.isRowHeader,cell:this._classNames.cell,cellAnimation:this._classNames.cellAnimation,cellPadded:this._classNames.cellPadded,cellUnpadded:this._classNames.cellUnpadded,fields:this._classNames.fields};Object(ae.c)(this._rowClassNames||{},re)||(this._rowClassNames=re);var ie=a.createElement(P,{rowClassNames:this._rowClassNames,cellsByColumn:j,columns:r,item:u,itemIndex:d,columnStartIndex:ne?1:0,onRenderItemColumn:f,getCellValueKey:g,enableUpdateAnimations:A,cellStyleProps:z});return a.createElement(_.a,Object(i.a)({"data-is-focusable":!0},Object(se.d)(this.props,se.c),"boolean"==typeof Y?{"data-is-draggable":Y,draggable:Y}:{},{direction:C.a.horizontal,ref:this._onRootRef,componentRef:this._focusZone,role:"row","aria-label":$,"aria-describedby":J,className:this._classNames.root,"data-selection-index":d,"data-item-index":d,"aria-rowindex":d+1,"data-automationid":"DetailsRow",style:{minWidth:w},"aria-selected":oe,allowFocusRoot:!0}),ne&&a.createElement("div",{role:"gridcell","aria-colindex":1,"data-selection-toggle":!0,className:this._classNames.checkCell},m({selected:q,anySelected:X,"aria-label":O,canSelect:ee,compact:R,className:this._classNames.check,theme:N,isVisible:E===b.a.always,onRenderDetailsCheckbox:h,useFastIcons:W})),a.createElement(k,{indentWidth:M,count:F-(this.props.collapseAllVisibility===o.hidden?1:0)}),u&&ie,U&&a.createElement("span",{role:"presentation",className:Object(l.a)(this._classNames.cellMeasurer,this._classNames.cell),ref:this._cellMeasurer},a.createElement(P,{rowClassNames:this._rowClassNames,columns:[U.column],item:u,itemIndex:d,columnStartIndex:(ne?1:0)+r.length,onRenderItemColumn:f,getCellValueKey:g})),a.createElement("span",{role:"checkbox",className:this._classNames.checkCover,"aria-checked":q,"data-selection-toggle":!0}))},t.prototype.measureCell=function(e,t){var n=this.props.columns,o=void 0===n?ue:n,r=Object(i.a)({},o[e]);r.minWidth=0,r.maxWidth=999999,delete r.calculatedWidth,this.setState({columnMeasureInfo:{index:e,column:r,onMeasureDone:t}})},t.prototype.focus=function(e){return void 0===e&&(e=!1),!!this._focusZone.current&&this._focusZone.current.focus(e)},t.prototype._onRenderCheck=function(e){return a.createElement(G,Object(i.a)({},e))},t.prototype._getSelectionState=function(e){var t=e.itemIndex,n=e.selection;return{isSelected:!!n&&n.isIndexSelected(t),isSelectionModal:!!n&&!!n.isModal&&n.isModal()}},t.prototype._getRowDragDropOptions=function(){var e=this.props,t=e.item,n=e.itemIndex,o=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:n,context:{data:t,index:n},canDrag:o.canDrag,canDrop:o.canDrop,onDragStart:o.onDragStart,updateDropState:this._updateDroppingState,onDrop:o.onDrop,onDragEnd:o.onDragEnd}},t}(a.Component),pe=Object(r.a)(de,(function(e){var t,n,o,r,i,a,s,l,c,u,d,p,m=e.theme,h=e.isSelected,f=e.canSelect,g=e.droppingClassName,b=e.anySelected,v=e.isCheckVisible,y=e.checkboxCellClassName,w=e.compact,_=e.className,C=e.cellStyleProps,E=void 0===C?A:C,S=e.enableUpdateAnimations,x=m.palette,k=m.fonts,O=x.neutralPrimary,T=x.white,P=x.neutralSecondary,R=x.neutralLighter,L=x.neutralLight,j=x.neutralDark,F=x.neutralQuaternaryAlt,B=m.semanticColors.focusBorder,W=Object(I.x)(M,m),z={defaultHeaderText:O,defaultMetaText:P,defaultBackground:T,defaultHoverHeaderText:j,defaultHoverMetaText:O,defaultHoverBackground:R,selectedHeaderText:j,selectedMetaText:O,selectedBackground:L,selectedHoverHeaderText:j,selectedHoverMetaText:O,selectedHoverBackground:F,focusHeaderText:j,focusMetaText:O,focusBackground:L,focusHoverBackground:F},H=[Object(I.w)(m,{inset:-1,borderColor:B,outlineColor:T}),W.isSelected,{color:z.selectedMetaText,background:z.selectedBackground,borderBottom:"1px solid "+T,selectors:(t={"&:before":{position:"absolute",display:"block",top:-1,height:1,bottom:0,left:0,right:0,content:"",borderTop:"1px solid "+T},"&:hover":{background:z.selectedHoverBackground,color:z.selectedHoverMetaText,selectors:(n={},n["."+W.cell+" "+I.e]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},n["."+W.isRowHeader]={color:z.selectedHoverHeaderText,selectors:(o={},o[I.e]={color:"HighlightText"},o)},n[I.e]={background:"Highlight"},n)},"&:focus":{background:z.focusBackground,selectors:(r={},r["."+W.cell]={color:z.focusMetaText,selectors:(i={},i[I.e]={color:"HighlightText",selectors:{"> a":{color:"HighlightText"}}},i)},r["."+W.isRowHeader]={color:z.focusHeaderText,selectors:(a={},a[I.e]={color:"HighlightText"},a)},r[I.e]={background:"Highlight"},r)}},t[I.e]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none",selectors:{a:{color:"HighlightText"}}},t["&:focus:hover"]={background:z.focusHoverBackground},t)}],U=[W.isContentUnselectable,{userSelect:"none",cursor:"default"}],V={minHeight:N.compactRowHeight,border:0},G={minHeight:N.compactRowHeight,paddingTop:N.compactRowVerticalPadding,paddingBottom:N.compactRowVerticalPadding,paddingLeft:E.cellLeftPadding+"px"},K=[Object(I.w)(m,{inset:-1}),W.cell,{display:"inline-block",position:"relative",boxSizing:"border-box",minHeight:N.rowHeight,verticalAlign:"top",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:N.rowVerticalPadding,paddingBottom:N.rowVerticalPadding,paddingLeft:E.cellLeftPadding+"px",selectors:(s={"& > button":{maxWidth:"100%"}},s["[data-is-focusable='true']"]=Object(I.w)(m,{inset:-1,borderColor:P,outlineColor:T}),s)},h&&{selectors:(l={},l[I.e]={background:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none",selectors:{a:{color:"HighlightText"}}},l)},w&&G];return{root:[W.root,I.a.fadeIn400,g,m.fonts.small,v&&W.isCheckVisible,Object(I.w)(m,{borderColor:B,outlineColor:T}),{borderBottom:"1px solid "+R,background:z.defaultBackground,color:z.defaultMetaText,display:"inline-flex",minWidth:"100%",minHeight:N.rowHeight,whiteSpace:"nowrap",padding:0,boxSizing:"border-box",verticalAlign:"top",textAlign:"left",selectors:(c={},c["."+W.listCellFirstChild+" &:before"]={display:"none"},c["&:hover"]={background:z.defaultHoverBackground,color:z.defaultHoverMetaText,selectors:(u={},u["."+W.isRowHeader]={color:z.defaultHoverHeaderText},u)},c["&:hover ."+W.check]={opacity:1},c["."+D.a+" &:focus ."+W.check]={opacity:1},c)},h&&H,!f&&U,w&&V,_],cellUnpadded:{paddingRight:E.cellRightPadding+"px"},cellPadded:{paddingRight:E.cellExtraRightPadding+E.cellRightPadding+"px",selectors:(d={},d["&."+W.cellCheck]={paddingRight:0},d)},cell:K,cellAnimation:S&&I.b.slideLeftIn40,cellMeasurer:[W.cellMeasurer,{overflow:"visible",whiteSpace:"nowrap"}],checkCell:[K,W.cellCheck,y,{padding:0,paddingTop:1,marginTop:-1,flexShrink:0}],checkCover:{position:"absolute",top:-1,left:0,bottom:0,right:0,display:b?"block":"none"},fields:[W.fields,{display:"flex",alignItems:"stretch"}],isRowHeader:[W.isRowHeader,{color:z.defaultHeaderText,fontSize:k.medium.fontSize},h&&{color:z.selectedHeaderText,fontWeight:I.d.semibold,selectors:(p={},p[I.e]={color:"HighlightText"},p)}],isMultiline:[K,{whiteSpace:"normal",wordBreak:"break-word",textOverflow:"clip"}],check:[W.check]}}),void 0,{scope:"DetailsRow"}),me=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0]||{},o=n.onSelectionChanged,r=n.getKey,i=n.canSelectItem,a=void 0===i?function(){return!0}:i,s=n.selectionMode,l=void 0===s?c.b.multiple:s;this.mode=l,this._getKey=r||he,this._changeEventSuppressionCount=0,this._exemptedCount=0,this._anchoredIndex=0,this._unselectableCount=0,this._onSelectionChanged=o,this._canSelectItem=a,this._isModal=!1,this.setItems([],!0),this.count=this.getSelectedCount()}return e.prototype.canSelectItem=function(e,t){return!("number"==typeof t&&t<0)&&this._canSelectItem(e,t)},e.prototype.getKey=function(e,t){var n=this._getKey(e,t);return"number"==typeof n||n?""+n:""},e.prototype.setChangeEvents=function(e,t){this._changeEventSuppressionCount+=e?-1:1,0===this._changeEventSuppressionCount&&this._hasChanged&&(this._hasChanged=!1,t||this._change())},e.prototype.isModal=function(){return this._isModal},e.prototype.setModal=function(e){this._isModal!==e&&(this.setChangeEvents(!1),this._isModal=e,e||this.setAllSelected(!1),this._change(),this.setChangeEvents(!0))},e.prototype.setItems=function(e,t){void 0===t&&(t=!0);var n={},o={},r=!1;this.setChangeEvents(!1),this._unselectableCount=0;for(var i=0;i<e.length;i++){if(u=e[i]){var a=this.getKey(u,i);a&&(n[a]=i)}o[i]=u&&!this.canSelectItem(u),o[i]&&this._unselectableCount++}(t||0===e.length)&&this._setAllSelected(!1,!0);var s={},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,m=p?n[p]:d;void 0===m?r=!0:(s[m]=!0,l++,r=r||m!==d)}this._items&&0===this._exemptedCount&&e.length!==this._items.length&&this._isAllSelected&&(r=!0),this._exemptedIndices=s,this._exemptedCount=l,this._keyToIndexMap=n,this._unselectableIndices=o,this._items=e,this._selectedItems=null,r&&(this._updateCount(),this._change()),this.setChangeEvents(!0)},e.prototype.getItems=function(){return this._items},e.prototype.getSelection=function(){if(!this._selectedItems){this._selectedItems=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedItems.push(e[t])}return this._selectedItems},e.prototype.getSelectedCount=function(){return this._isAllSelected?this._items.length-this._exemptedCount-this._unselectableCount:this._exemptedCount},e.prototype.getSelectedIndices=function(){if(!this._selectedIndices){this._selectedIndices=[];var e=this._items;if(e)for(var t=0;t<e.length;t++)this.isIndexSelected(t)&&this._selectedIndices.push(t)}return this._selectedIndices},e.prototype.isRangeSelected=function(e,t){if(0===t)return!1;for(var n=e+t,o=e;o<n;o++)if(!this.isIndexSelected(o))return!1;return!0},e.prototype.isAllSelected=function(){var e=this._items.length-this._unselectableCount;return this.mode===c.b.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===c.b.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!==c.b.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===c.b.single&&this._setAllSelected(!1,!0),o&&(t&&this._isAllSelected||!t&&!this._isAllSelected)&&(delete this._exemptedIndices[e],this._exemptedCount--),!o&&(t&&!this._isAllSelected||!t&&this._isAllSelected)&&(this._exemptedIndices[e]=!0,this._exemptedCount++),n&&(this._anchoredIndex=e)),this._updateCount(),this.setChangeEvents(!0)}},e.prototype.selectToKey=function(e,t){this.selectToIndex(this._keyToIndexMap[e],t)},e.prototype.selectToIndex=function(e,t){if(this.mode!==c.b.none)if(this.mode!==c.b.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!==c.b.none){var n=this.isRangeSelected(e,t),o=e+t;if(!(this.mode===c.b.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===c.b.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,y.a.raise(this,c.a),this._onSelectionChanged&&this._onSelectionChanged()):this._hasChanged=!0},e}();function he(e,t){return e&&e.key?e.key:""+t}var fe=n(78),ge=n(26),be=n(241),ve=n(88),ye=function(e){function t(t){var n=e.call(this,t)||this;n._root=a.createRef(),n.ignoreNextFocus=function(){n._handleNextFocus(!1)},n._onSelectionChange=function(){var e=n.props.selection,t=e.isModal&&e.isModal();n.setState({isModal:t})},n._onMouseDownCapture=function(e){var t=e.target;if(document.activeElement===t||Object(f.a)(document.activeElement,t)){if(Object(f.a)(t,n._root.current))for(;t!==n._root.current;){if(n._hasAttribute(t,"data-selection-invoke")){n.ignoreNextFocus();break}t=Object(fe.a)(t)}}else n.ignoreNextFocus()},n._onFocus=function(e){var t=e.target,o=n.props.selection,r=n._isCtrlPressed||n._isMetaPressed,i=n._getSelectionMode();if(n._shouldHandleFocus&&i!==c.b.none){var a=n._hasAttribute(t,"data-selection-toggle"),s=n._findItemRoot(t);if(!a&&s){var l=n._getItemIndex(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(e,l)}}n._handleNextFocus(!1)},n._onMouseDown=function(e){n._updateModifiers(e);var t=e.target,o=n._findItemRoot(t);if(!n._isSelectionDisabled(t))for(;t!==n._root.current&&!n._hasAttribute(t,"data-selection-all-toggle");){if(o){if(n._hasAttribute(t,"data-selection-toggle"))break;if(n._hasAttribute(t,"data-selection-invoke"))break;if(!(t!==o&&!n._shouldAutoSelect(t)||n._isShiftPressed||n._isCtrlPressed||n._isMetaPressed)){n._onInvokeMouseDown(e,n._getItemIndex(o));break}if(n.props.disableAutoSelectOnInputElements&&("A"===t.tagName||"BUTTON"===t.tagName||"INPUT"===t.tagName))return}t=Object(fe.a)(t)}},n._onTouchStartCapture=function(e){n._setIsTouch(!0)},n._onClick=function(e){n._updateModifiers(e);for(var t=e.target,o=n._findItemRoot(t),r=n._isSelectionDisabled(t);t!==n._root.current;){if(n._hasAttribute(t,"data-selection-all-toggle")){r||n._onToggleAllClick(e);break}if(o){var i=n._getItemIndex(o);if(n._hasAttribute(t,"data-selection-toggle")){r||(n._isShiftPressed?n._onItemSurfaceClick(e,i):n._onToggleClick(e,i));break}if(n._hasAttribute(t,"data-selection-invoke")){n._onInvokeClick(e,i);break}if(t===o){r||n._onItemSurfaceClick(e,i);break}if("A"===t.tagName||"BUTTON"===t.tagName||"INPUT"===t.tagName)return}t=Object(fe.a)(t)}},n._onContextMenu=function(e){var t=e.target,o=n.props,r=o.onItemContextMenu,i=o.selection;if(r){var a=n._findItemRoot(t);if(a){var s=n._getItemIndex(a);n._onInvokeMouseDown(e,s),r(i.getItems()[s],s,e.nativeEvent)||e.preventDefault()}}},n._onDoubleClick=function(e){var t=e.target,o=n.props.onItemInvoked,r=n._findItemRoot(t);if(r&&o&&!n._isInputElement(t)){for(var i=n._getItemIndex(r);t!==n._root.current&&!n._hasAttribute(t,"data-selection-toggle")&&!n._hasAttribute(t,"data-selection-invoke");){if(t===r){n._onInvokeClick(e,i);break}t=Object(fe.a)(t)}t=Object(fe.a)(t)}},n._onKeyDownCapture=function(e){n._updateModifiers(e),n._handleNextFocus(!0)},n._onKeyDown=function(e){n._updateModifiers(e);var t=e.target,o=n._isSelectionDisabled(t),r=n.props.selection,i=e.which===d.a.a&&(n._isCtrlPressed||n._isMetaPressed),a=e.which===d.a.escape;if(!n._isInputElement(t)){var s=n._getSelectionMode();if(i&&s===c.b.multiple&&!r.isAllSelected())return o||r.setAllSelected(!0),e.stopPropagation(),void e.preventDefault();if(a&&r.getSelectedCount()>0)return o||r.setAllSelected(!1),e.stopPropagation(),void e.preventDefault();var l=n._findItemRoot(t);if(l)for(var u=n._getItemIndex(l);t!==n._root.current&&!n._hasAttribute(t,"data-selection-toggle");){if(n._shouldAutoSelect(t)){o||n._onInvokeMouseDown(e,u);break}if(!(e.which!==d.a.enter&&e.which!==d.a.space||"BUTTON"!==t.tagName&&"A"!==t.tagName&&"INPUT"!==t.tagName))return!1;if(t===l){if(e.which===d.a.enter)return n._onInvokeClick(e,u),void e.preventDefault();if(e.which===d.a.space)return o||n._onToggleClick(e,u),void e.preventDefault();break}t=Object(fe.a)(t)}}},n._events=new y.a(n),n._async=new h.a(n),Object(m.a)(n);var o=n.props.selection,r=o.isModal&&o.isModal();return n.state={isModal:r},n}return Object(i.c)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.selection.isModal&&e.selection.isModal();return Object(i.a)(Object(i.a)({},t),{isModal:n})},t.prototype.componentDidMount=function(){var e=Object(ge.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 a.createElement("div",{className:Object(l.a)("ms-SelectionZone",{"ms-SelectionZone--modal":!!e}),ref:this._root,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onKeyDownCapture:this._onKeyDownCapture,onClick:this._onClick,role:"presentation",onDoubleClick:this._onDoubleClick,onContextMenu:this._onContextMenu,onMouseDownCapture:this._onMouseDownCapture,onFocusCapture:this._onFocus,"data-selection-is-modal":!!e||void 0},this.props.children,a.createElement(g.a,null))},t.prototype.componentDidUpdate=function(e){var t=this.props.selection;t!==e.selection&&(this._events.off(e.selection),this._events.on(t,"change",this._onSelectionChange))},t.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose()},t.prototype._isSelectionDisabled=function(e){if(this._getSelectionMode()===c.b.none)return!0;for(;e!==this._root.current;){if(this._hasAttribute(e,"data-selection-disabled"))return!0;e=Object(fe.a)(e)}return!1},t.prototype._onToggleAllClick=function(e){var t=this.props.selection;this._getSelectionMode()===c.b.multiple&&(t.toggleAllSelected(),e.stopPropagation(),e.preventDefault())},t.prototype._onToggleClick=function(e,t){var n=this.props.selection,o=this._getSelectionMode();if(n.setChangeEvents(!1),this.props.enterModalOnTouch&&this._isTouch&&!n.isIndexSelected(t)&&n.setModal&&(n.setModal(!0),this._setIsTouch(!1)),o===c.b.multiple)n.toggleIndexSelected(t);else{if(o!==c.b.single)return void n.setChangeEvents(!0);var r=n.isIndexSelected(t),i=n.isModal&&n.isModal();n.setAllSelected(!1),n.setIndexSelected(t,!r,!0),i&&n.setModal&&n.setModal(!0)}n.setChangeEvents(!0),e.stopPropagation()},t.prototype._onInvokeClick=function(e,t){var n=this.props,o=n.selection,r=n.onItemInvoked;r&&(r(o.getItems()[t],t,e.nativeEvent),e.preventDefault(),e.stopPropagation())},t.prototype._onItemSurfaceClick=function(e,t){var n=this.props.selection,o=this._isCtrlPressed||this._isMetaPressed,r=this._getSelectionMode();r===c.b.multiple?this._isShiftPressed&&!this._isTabPressed?n.selectToIndex(t,!o):o?n.toggleIndexSelected(t):this._clearAndSelectIndex(t):r===c.b.single&&this._clearAndSelectIndex(t)},t.prototype._onInvokeMouseDown=function(e,t){this.props.selection.isIndexSelected(t)||this._clearAndSelectIndex(t)},t.prototype._findScrollParentAndTryClearOnEmptyClick=function(e){var t=Object(be.e)(this._root.current);this._events.off(document,"click",this._findScrollParentAndTryClearOnEmptyClick),this._events.on(t,"click",this._tryClearOnEmptyClick),(t&&e.target instanceof Node&&t.contains(e.target)||t===e.target)&&this._tryClearOnEmptyClick(e)},t.prototype._tryClearOnEmptyClick=function(e){!this.props.selectionPreservedOnEmptyClick&&this._isNonHandledClick(e.target)&&this.props.selection.setAllSelected(!1)},t.prototype._clearAndSelectIndex=function(e){var t=this.props.selection;if(!(1===t.getSelectedCount()&&t.isIndexSelected(e))){var n=t.isModal&&t.isModal();t.setChangeEvents(!1),t.setAllSelected(!1),t.setIndexSelected(e,!0,!0),(n||this.props.enterModalOnTouch&&this._isTouch)&&(t.setModal&&t.setModal(!0),this._isTouch&&this._setIsTouch(!1)),t.setChangeEvents(!0)}},t.prototype._updateModifiers=function(e){this._isShiftPressed=e.shiftKey,this._isCtrlPressed=e.ctrlKey,this._isMetaPressed=e.metaKey;var t=e.keyCode;this._isTabPressed=!!t&&t===d.a.tab},t.prototype._findItemRoot=function(e){for(var t=this.props.selection;e!==this._root.current;){var n=e.getAttribute("data-selection-index"),o=Number(n);if(null!==n&&o>=0&&o<t.getItems().length)break;e=Object(fe.a)(e)}if(e!==this._root.current)return e},t.prototype._getItemIndex=function(e){return Number(e.getAttribute("data-selection-index"))},t.prototype._shouldAutoSelect=function(e){return this._hasAttribute(e,"data-selection-select")},t.prototype._hasAttribute=function(e,t){for(var n=!1;!n&&e!==this._root.current;)n="true"===e.getAttribute(t),e=Object(fe.a)(e);return n},t.prototype._isInputElement=function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName},t.prototype._isNonHandledClick=function(e){var t=Object(K.a)();if(t&&e)for(;e&&e!==t.documentElement;){if(Object(ve.n)(e))return!1;e=Object(fe.a)(e)}return!0},t.prototype._handleNextFocus=function(e){var t=this;this._shouldHandleFocusTimeoutId&&(this._async.clearTimeout(this._shouldHandleFocusTimeoutId),this._shouldHandleFocusTimeoutId=void 0),this._shouldHandleFocus=e,e&&this._async.setTimeout((function(){t._shouldHandleFocus=!1}),100)},t.prototype._setIsTouch=function(e){var t=this;this._isTouchTimeoutId&&(this._async.clearTimeout(this._isTouchTimeoutId),this._isTouchTimeoutId=void 0),this._isTouch=!0,e&&this._async.setTimeout((function(){t._isTouch=!1}),300)},t.prototype._getSelectionMode=function(){var e=this.props.selection,t=this.props.selectionMode;return void 0===t?e?e.mode:c.b.none:t},t.defaultProps={isSelectedOnFocus:!0,selectionMode:c.b.multiple},t}(a.Component),we={root:"ms-GroupedList",compact:"ms-GroupedList--Compact",group:"ms-GroupedList-group",link:"ms-Link",listCell:"ms-List-cell"},_e="cubic-bezier(0.445, 0.050, 0.550, 0.950)",Ce={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"},Ee="cubic-bezier(0.075, 0.820, 0.165, 1.000)",Se="cubic-bezier(0.390, 0.575, 0.565, 1.000)",xe="cubic-bezier(0.600, -0.280, 0.735, 0.045)",ke=n(62),Oe=Object(s.a)(),Ie=function(e){function t(t){var n=e.call(this,t)||this;return n._onToggleCollapse=function(e){var t=n.props,o=t.group,r=t.onToggleCollapse,i=t.isGroupLoading,a=!n.state.isCollapsed,s=!a&&i&&i(o);n.setState({isCollapsed:a,isLoadingVisible:s}),r&&r(o),e.stopPropagation(),e.preventDefault()},n._onToggleSelectGroupClick=function(e){var t=n.props,o=t.onToggleSelectGroup,r=t.group;o&&o(r),e.preventDefault(),e.stopPropagation()},n._onHeaderClick=function(){var e=n.props,t=e.group,o=e.onGroupHeaderClick,r=e.onToggleSelectGroup;o?o(t):r&&r(t)},n._onRenderTitle=function(e){var t=e.group;return t?a.createElement("div",{className:n._classNames.title},a.createElement("span",null,t.name),a.createElement("span",{className:n._classNames.headerCount},"(",t.count,t.hasMoreData&&"+",")")):null},n.state={isCollapsed:n.props.group&&n.props.group.isCollapsed,isLoadingVisible:!1},n}return Object(i.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(e.group){var t=e.group.isCollapsed,n=e.isGroupLoading,o=!t&&n&&n(e.group);this.setState({isCollapsed:t||!1,isLoadingVisible:o||!1})}},t.prototype.render=function(){var e=this.props,t=e.group,n=e.groupLevel,o=e.viewport,r=e.selectionMode,s=e.loadingText,l=e.isSelected,u=void 0!==l&&l,d=e.selected,m=void 0!==d&&d,h=e.indentWidth,f=e.onRenderTitle,g=void 0===f?this._onRenderTitle:f,b=e.isCollapsedGroupSelectVisible,v=void 0===b||b,y=e.expandButtonProps,w=e.expandButtonIcon,E=e.selectAllButtonProps,x=e.theme,O=e.styles,I=e.className,T=e.groupedListId,D=e.compact,M=e.ariaPosInSet,A=e.ariaSetSize,R=this.state,N=R.isCollapsed,L=R.isLoadingVisible,j=r===c.b.multiple&&(v||!(t&&t.isCollapsed)),F=m||u,B=Object(p.a)(x);return this._classNames=Oe(O,{theme:x,className:I,selected:F,isCollapsed:N,compact:D}),t?a.createElement("div",{className:this._classNames.root,style:o?{minWidth:o.width}:{},onClick:this._onHeaderClick,"aria-expanded":!t.isCollapsed,"aria-label":t.ariaLabel||t.name,"aria-level":void 0!==n?n+1:void 0,"aria-setsize":A,"aria-posinset":M,"data-is-focusable":!0},a.createElement(_.a,{className:this._classNames.groupHeaderContainer,direction:C.a.horizontal},j?a.createElement("button",Object(i.a)({type:"button",className:this._classNames.check,role:"checkbox","aria-checked":F,"data-selection-toggle":!0,onClick:this._onToggleSelectGroupClick},E),a.createElement(P,{checked:F})):r!==c.b.none&&a.createElement(k,{indentWidth:h,count:1}),a.createElement(k,{indentWidth:h,count:n}),a.createElement("div",{className:this._classNames.dropIcon},a.createElement(S.a,{iconName:"Tag"})),a.createElement("button",Object(i.a)({type:"button",className:this._classNames.expand,onClick:this._onToggleCollapse,"aria-expanded":!t.isCollapsed,"aria-controls":t&&!t.isCollapsed?T:void 0},y),a.createElement(S.a,{className:this._classNames.expandIsCollapsed,iconName:w||(B?"ChevronLeftMed":"ChevronRightMed")})),g(this.props,this._onRenderTitle),L&&a.createElement(ke.a,{label:s}))):null},t.defaultProps={expandButtonProps:{"aria-label":"expand collapse group"}},t}(a.Component),Te=Object(r.a)(Ie,(function(e){var t,n,o,r,i,a=e.theme,s=e.className,l=e.selected,c=e.isCollapsed,u=e.compact,d=A.cellLeftPadding,p=u?40:48,m=a.semanticColors,h=a.palette,f=a.fonts,g=Object(I.x)(Ce,a),b=[Object(I.w)(a),{cursor:"default",background:"none",backgroundColor:"transparent",border:"none",padding:0}];return{root:[g.root,Object(I.w)(a),a.fonts.medium,{borderBottom:"1px solid "+m.listBackground,cursor:"default",userSelect:"none",selectors:(t={":hover":{background:m.listItemBackgroundHovered,color:m.actionLinkHovered}},t["&:hover ."+g.check]={opacity:1},t["."+D.a+" &:focus ."+g.check]={opacity:1},t[":global(."+g.group+"."+g.isDropping+")"]={selectors:(n={},n["& > ."+g.root+" ."+g.dropIcon]={transition:"transform "+I.c.durationValue4+" "+Ee+" opacity "+I.c.durationValue1+" "+Se,transitionDelay:I.c.durationValue3,opacity:1,transform:"rotate(0.2deg) scale(1);"},n["."+g.check]={opacity:0},n)},t)},l&&[g.isSelected,{background:m.listItemBackgroundChecked,selectors:(o={":hover":{background:m.listItemBackgroundCheckedHovered}},o[""+g.check]={opacity:1},o)}],u&&[g.compact,{border:"none"}],s],groupHeaderContainer:[{display:"flex",alignItems:"center",height:p}],headerCount:[{padding:"0px 4px"}],check:[g.check,b,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:1,marginTop:-1,opacity:0,width:48,height:p,selectors:(r={},r["."+D.a+" &:focus"]={opacity:1},r)}],expand:[g.expand,b,{display:"flex",alignItems:"center",justifyContent:"center",fontSize:f.small.fontSize,width:36,height:p,color:l?h.neutralPrimary:h.neutralSecondary,selectors:{":hover":{backgroundColor:l?h.neutralQuaternary:h.neutralLight},":active":{backgroundColor:l?h.neutralTertiaryAlt:h.neutralQuaternaryAlt}}}],expandIsCollapsed:[c?[g.isCollapsed,{transform:"rotate(0deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}]:{transform:"rotate(90deg)",transformOrigin:"50% 50%",transition:"transform .1s linear"}],title:[g.title,{paddingLeft:d,fontSize:u?f.medium.fontSize:f.mediumPlus.fontSize,fontWeight:c?I.d.regular:I.d.semibold,cursor:"pointer",outline:0,whiteSpace:"nowrap",textOverflow:"ellipsis"}],dropIcon:[g.dropIcon,{position:"absolute",left:-26,fontSize:I.h.large,color:h.neutralSecondary,transition:"transform "+I.c.durationValue2+" "+xe+", opacity "+I.c.durationValue4+" "+Se,opacity:0,transform:"rotate(0.2deg) scale(0.65)",transformOrigin:"10px 10px",selectors:(i={},i[":global(."+g.iconTag+")"]={position:"absolute"},i)}]}}),void 0,{scope:"GroupHeader"}),Pe={root:"ms-GroupShowAll",link:"ms-Link"},De=n(268),Me=Object(s.a)(),Ae=function(e){function t(t){var n=e.call(this,t)||this;return n._link=a.createRef(),n._onClick=function(e){var t=n.props,o=t.onClick;t.disabled?e.preventDefault():o&&o(e)},Object(m.a)(n),n}return Object(i.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,o=t.children,r=t.className,s=t.href,l=t.theme,c=t.styles,u=t.keytipProps,d=Me(c,{className:r,isButton:!s,isDisabled:n,theme:l}),p=this._getRootType(this.props);return a.createElement(De.a,{keytipProps:u,ariaDescribedBy:this.props["aria-describedby"],disabled:n},(function(t){return a.createElement(p,Object(i.a)({},t,e._adjustPropsForRootType(p,e.props),{className:d.root,onClick:e._onClick,ref:e._link,"aria-disabled":n}),o)}))},t.prototype.focus=function(){var e=this._link.current;e&&e.focus&&e.focus()},t.prototype._adjustPropsForRootType=function(e,t){t.children,t.as;var n=t.disabled,o=t.target,r=t.href,a=(t.theme,t.getStyles,t.styles,t.componentRef,Object(i.d)(t,["children","as","disabled","target","href","theme","getStyles","styles","componentRef"]));return"string"==typeof e?"a"===e?Object(i.a)({target:o,href:n?void 0:r},a):"button"===e?Object(i.a)({type:"button",disabled:n},a):Object(i.a)(Object(i.a)({},a),{disabled:n}):Object(i.a)({target:o,href:r,disabled:n},a)},t.prototype._getRootType=function(e){return e.as?e.as:e.href?"a":"button"},t}(a.Component),Re={root:"ms-Link"},Ne=Object(r.a)(Ae,(function(e){var t,n,o,r=e.className,i=e.isButton,a=e.isDisabled,s=e.theme,l=s.semanticColors,c=l.link,u=l.linkHovered,d=l.disabledText,p=l.focusBorder,m=Object(I.x)(Re,s);return{root:[m.root,s.fonts.medium,{color:c,outline:"none",fontSize:"inherit",fontWeight:"inherit",textDecoration:"none",selectors:(t={".ms-Fabric--isFocusVisible &:focus":{boxShadow:"0 0 0 1px "+p+" inset",outline:"1px auto "+p,selectors:(n={},n[I.e]={outline:"1px solid WindowText"},n)}},t[I.e]={borderBottom:"none"},t)},i&&{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[I.f]={color:"#FFFF00"},o[I.g]={color:"#00009F"},o)},a&&["is-disabled",{color:d,cursor:"default"},{selectors:{"&:link, &:visited":{pointerEvents:"none"}}}],!a&&{selectors:{"&:active, &:hover, &:active:hover":{color:u,textDecoration:"underline"},"&:focus":{color:c}}},m.root,r]}}),void 0,{scope:"Link"}),Le=Object(s.a)(),je=Object(r.a)((function(e){var t=e.group,n=e.groupLevel,o=e.showAllLinkText,r=void 0===o?"Show All":o,i=e.styles,s=e.theme,l=e.onToggleSummarize,c=Le(i,{theme:s}),u=Object(a.useCallback)((function(e){l(t),e.stopPropagation(),e.preventDefault()}),[l,t]);return t?a.createElement("div",{className:c.root},a.createElement(k,{count:n}),a.createElement(Ne,{onClick:u},r)):null}),(function(e){var t,n=e.theme,o=n.fonts,r=Object(I.x)(Pe,n);return{root:[r.root,{position:"relative",padding:"10px 84px",cursor:"pointer",selectors:(t={},t["."+r.link]={fontSize:o.small.fontSize},t)}]}}),void 0,{scope:"GroupShowAll"}),Fe={root:"ms-groupFooter"},Be=Object(s.a)(),We=Object(r.a)((function(e){var t=e.group,n=e.groupLevel,o=e.footerText,r=e.indentWidth,i=e.styles,s=e.theme,l=Be(i,{theme:s});return t&&o?a.createElement("div",{className:l.root},a.createElement(k,{indentWidth:r,count:n}),o):null}),(function(e){var t=e.theme,n=e.className,o=Object(I.x)(Fe,t);return{root:[t.fonts.medium,o.root,{position:"relative",padding:"5px 38px"},n]}}),void 0,{scope:"GroupFooter"}),ze=n(269),He=function(e){function t(n){var o=e.call(this,n)||this;o._root=a.createRef(),o._list=a.createRef(),o._droppingClassName="",o._onRenderGroupHeader=function(e){return a.createElement(Te,Object(i.a)({},e))},o._onRenderGroupShowAll=function(e){return a.createElement(je,Object(i.a)({},e))},o._onRenderGroupFooter=function(e){return a.createElement(We,Object(i.a)({},e))},o._renderSubGroup=function(e,n){var r=o.props,i=r.dragDropEvents,s=r.dragDropHelper,l=r.eventsToRegister,c=r.getGroupItemLimit,u=r.groupNestingDepth,d=r.groupProps,p=r.items,m=r.headerProps,h=r.showAllProps,f=r.footerProps,g=r.listProps,b=r.onRenderCell,v=r.selection,y=r.selectionMode,w=r.viewport,_=r.onRenderGroupHeader,C=r.onRenderGroupShowAll,E=r.onRenderGroupFooter,S=r.onShouldVirtualize,x=r.group,k=r.compact,O=e.level?e.level+1:u;return!e||e.count>0||d&&d.showEmptyGroups?a.createElement(t,{ref:"subGroup_"+n,key:o._getGroupKey(e,n),dragDropEvents:i,dragDropHelper:s,eventsToRegister:l,footerProps:f,getGroupItemLimit:c,group:e,groupIndex:n,groupNestingDepth:O,groupProps:d,headerProps:m,items:p,listProps:g,onRenderCell:b,selection:v,selectionMode:y,showAllProps:h,viewport:w,onRenderGroupHeader:_,onRenderGroupShowAll:C,onRenderGroupFooter:E,onShouldVirtualize:S,groups:x?x.children:[],compact:k}):null},o._getGroupDragDropOptions=function(){var e=o.props,t=e.group,n=e.groupIndex,r=e.dragDropEvents;return{eventMap:e.eventsToRegister,selectionIndex:-1,context:{data:t,index:n,isGroup:!0},updateDropState:o._updateDroppingState,canDrag:r.canDrag,canDrop:r.canDrop,onDrop:r.onDrop,onDragStart:r.onDragStart,onDragEnter:r.onDragEnter,onDragLeave:r.onDragLeave,onDragEnd:r.onDragEnd}},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,s=n.group;return Object(m.a)(o),o._id=Object(w.a)("GroupedListSection"),o.state={isDropping:!1,isSelected:!(!r||!s)&&r.isRangeSelected(s.startIndex,s.count)},o._events=new y.a(o),o}return Object(i.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,c.a,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,s=e.showAllProps,c=e.footerProps,u=e.viewport,d=e.selectionMode,p=e.onRenderGroupHeader,m=void 0===p?this._onRenderGroupHeader:p,h=e.onRenderGroupShowAll,f=void 0===h?this._onRenderGroupShowAll:h,g=e.onRenderGroupFooter,b=void 0===g?this._onRenderGroupFooter:g,v=e.onShouldVirtualize,y=e.groupedListClassNames,w=e.groups,_=e.compact,C=e.listProps,E=void 0===C?{}:C,S=this.state.isSelected,x=n&&t?t(n):1/0,k=n&&!n.children&&!n.isCollapsed&&!n.isShowingAll&&(n.count>x||n.hasMoreData),O=n&&n.children&&n.children.length>0,I=E.version,T={group:n,groupIndex:o,groupLevel:n?n.level:0,isSelected:S,selected:S,viewport:u,selectionMode:d,groups:w,compact:_},P={groupedListId:this._id,ariaSetSize:w?w.length:void 0,ariaPosInSet:void 0!==o?o+1:void 0},D=Object(i.a)(Object(i.a)(Object(i.a)({},r),T),P),M=Object(i.a)(Object(i.a)({},s),T),A=Object(i.a)(Object(i.a)({},c),T),R=!!this.props.dragDropHelper&&this._getGroupDragDropOptions().canDrag(n)&&!!this.props.dragDropEvents.canDragGroups;return a.createElement("div",Object(i.a)({ref:this._root},R&&{draggable:!0},{className:Object(l.a)(y&&y.group,this._getDroppingClassName()),role:"presentation"}),m(D,this._onRenderGroupHeader),n&&n.isCollapsed?null:O?a.createElement(ze.a,{role:"presentation",ref:this._list,items:n?n.children:[],onRenderCell:this._renderSubGroup,getItemCountForPage:this._returnOne,onShouldVirtualize:v,version:I,id:this._id}):this._onRenderGroup(x),n&&n.isCollapsed?null:k&&f(M,this._onRenderGroupShowAll),b(A,this._onRenderGroupFooter))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this.forceListUpdate()},t.prototype.forceListUpdate=function(){var e=this.props.group;if(this._list.current){if(this._list.current.forceUpdate(),e&&e.children&&e.children.length>0)for(var t=e.children.length,n=0;n<t;n++){var o;(o=this._list.current.refs["subGroup_"+String(n)])&&o.forceListUpdate()}}else(o=this.refs["subGroup_"+String(0)])&&o.forceListUpdate()},t.prototype._onSelectionChange=function(){var e=this.props,t=e.group,n=e.selection;if(n&&t){var o=n.isRangeSelected(t.startIndex,t.count);o!==this.state.isSelected&&this.setState({isSelected:o})}},t.prototype._onRenderGroupCell=function(e,t){return function(n,o){return e(t,n,o)}},t.prototype._onRenderGroup=function(e){var t=this.props,n=t.group,o=t.items,r=t.onRenderCell,s=t.listProps,l=t.groupNestingDepth,c=t.onShouldVirtualize,u=t.groupProps,d=n&&!n.isShowingAll?n.count:o.length,p=n?n.startIndex:0;return a.createElement(ze.a,Object(i.a)({role:u&&u.role?u.role:"grid",items:o,onRenderCell:this._onRenderGroupCell(r,l),ref:this._list,renderCount:Math.min(d,e),startIndex:p,onShouldVirtualize:c,id:this._id},s))},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(e.level)+String(t))},t.prototype._getDroppingClassName=function(){var e=this.state.isDropping,t=this.props,n=t.group,o=t.groupedListClassNames;return e=!(!n||!e),Object(l.a)(e&&this._droppingClassName,e&&"is-dropping",e&&o&&o.groupIsDropping)},t}(a.Component),Ue=Object(s.a)(),Ve=R.rowHeight,Ge=R.compactRowHeight,Ke=function(e){function t(t){var n=e.call(this,t)||this;return n._list=a.createRef(),n._renderGroup=function(e,t){var o=n.props,r=o.dragDropEvents,s=o.dragDropHelper,l=o.eventsToRegister,c=o.groupProps,u=o.items,d=o.listProps,p=o.onRenderCell,m=o.selectionMode,h=o.selection,f=o.viewport,g=o.onShouldVirtualize,b=o.groups,v=o.compact,y={onToggleSelectGroup:n._onToggleSelectGroup,onToggleCollapse:n._onToggleCollapse,onToggleSummarize:n._onToggleSummarize},w=Object(i.a)(Object(i.a)({},c.headerProps),y),_=Object(i.a)(Object(i.a)({},c.showAllProps),y),C=Object(i.a)(Object(i.a)({},c.footerProps),y),E=n._getGroupNestingDepth();return!c.showEmptyGroups&&e&&0===e.count?null:a.createElement(He,{ref:"group_"+t,key:n._getGroupKey(e,t),dragDropEvents:r,dragDropHelper:s,eventsToRegister:l,footerProps:C,getGroupItemLimit:c&&c.getGroupItemLimit,group:e,groupIndex:t,groupNestingDepth:E,groupProps:c,headerProps:w,listProps:d,items:u,onRenderCell:p,onRenderGroupHeader:c.onRenderHeader,onRenderGroupShowAll:c.onRenderShowAll,onRenderGroupFooter:c.onRenderFooter,selectionMode:m,selection:h,showAllProps:_,viewport:f,onShouldVirtualize:g,groupedListClassNames:n._classNames,groups:b,compact:v})},n._getDefaultGroupItemLimit=function(e){return e.count},n._getGroupItemLimit=function(e){var t=n.props.groupProps;return(t&&t.getGroupItemLimit?t.getGroupItemLimit:n._getDefaultGroupItemLimit)(e)},n._getGroupHeight=function(e){var t=n.props.compact?Ge:Ve;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===c.b.multiple&&o.toggleRangeSelected(e.startIndex,e.count)},n._onToggleSummarize=function(e){var t=n.props.groupProps,o=t&&t.showAllProps&&t.showAllProps.onToggleSummarize;o?o(e):(e&&(e.isShowingAll=!e.isShowingAll),n.forceUpdate())},n._getPageSpecification=function(e){var t=n.state.groups,o=t&&t[e];return{key:o&&o.key}},Object(m.a)(n),n._isSomeGroupExpanded=n._computeIsSomeGroupExpanded(t.groups),n.state={lastWidth:0,groups:t.groups},n}return Object(i.c)(t,e),t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n)},t.prototype.getStartItemIndexInView=function(){return this._list.current.getStartItemIndexInView()||0},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.groups,o=t.selectionMode,r=t.compact,i=!1;e.groups!==n&&(this.setState({groups:e.groups}),i=!0),e.selectionMode===o&&e.compact===r||(i=!0),i&&this._forceListUpdates()},t.prototype.componentDidMount=function(){var e=this.props,t=e.groupProps,n=e.groups,o=void 0===n?[]:n;t&&t.isAllGroupsCollapsed&&this._setGroupsCollapsedState(o,t.isAllGroupsCollapsed)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.usePageCache,o=e.onShouldVirtualize,r=e.theme,i=e.styles,s=e.compact,l=e.listProps,c=void 0===l?{}:l,u=this.state.groups;this._classNames=Ue(i,{theme:r,className:t,compact:s});var d=c.version;return a.createElement("div",{className:this._classNames.root,"data-automationid":"GroupedList","data-is-scrollable":"false",role:"presentation"},a.createElement(g.a,null),u?a.createElement(ze.a,{ref:this._list,role:"presentation",items:u,onRenderCell:this._renderGroup,getItemCountForPage:this._returnOne,getPageHeight:this._getPageHeight,getPageSpecification:this._getPageSpecification,usePageCache:n,onShouldVirtualize:o,version:d}):this._renderGroup(void 0,0))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype.toggleCollapseAll=function(e){var t=this.state.groups,n=void 0===t?[]:t,o=this.props.groupProps,r=o&&o.onToggleCollapseAll;n.length>0&&(r&&r(e),this._setGroupsCollapsedState(n,e),this._updateIsSomeGroupExpanded(),this.forceUpdate())},t.prototype._setGroupsCollapsedState=function(e,t){for(var n=0;n<e.length;n++)e[n].isCollapsed=t},t.prototype._returnOne=function(){return 1},t.prototype._getGroupKey=function(e,t){return"group-"+(e&&e.key?e.key:String(t))},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.state.groups;t&&t.length>0;)e++,t=t[0].children;return e},t.prototype._forceListUpdates=function(e){var t=(e=e||this.state.groups)?e.length:1;if(this._list.current){this._list.current.forceUpdate();for(var n=0;n<t;n++){(o=this._list.current.refs["group_"+String(n)])&&o.forceListUpdate()}}else{var o;(o=this.refs["group_"+String(0)])&&o.forceListUpdate()}},t.prototype._computeIsSomeGroupExpanded=function(e){var t=this;return!(!e||!e.some((function(e){return e.children?t._computeIsSomeGroupExpanded(e.children):!e.isCollapsed})))},t.prototype._updateIsSomeGroupExpanded=function(){var e=this.state.groups,t=this.props.onGroupExpandStateChanged,n=this._computeIsSomeGroupExpanded(e);this._isSomeGroupExpanded!==n&&(t&&t(n),this._isSomeGroupExpanded=n)},t.defaultProps={selectionMode:c.b.multiple,isHeaderVisible:!0,groupProps:{},compact:!1},t}(a.Component),qe=Object(r.a)(Ke,(function(e){var t,n,o=e.theme,r=e.className,i=e.compact,a=o.palette,s=Object(I.x)(we,o);return{root:[s.root,o.fonts.small,{position:"relative",selectors:(t={},t["."+s.listCell]={minHeight:38},t)},i&&[s.compact,{selectors:(n={},n["."+s.listCell]={minHeight:32},n)}],r],group:[s.group,{transition:"background-color "+I.c.durationValue2+" "+_e}],groupIsDropping:{backgroundColor:a.neutralLight}}}),void 0,{scope:"GroupedList"}),Ze=n(99);function Xe(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 Ye(e){return function(t){function n(e){var n=t.call(this,e)||this;return n._root=a.createRef(),n._registerResizeObserver=function(){var e=Object(ge.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=Xe(Object(be.e)(o)),i=Xe(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 h.a(n),n._events=new y.a(n),n._resizeAttempts=0,n.state={viewport:{width:0,height:0}},n}return Object(i.c)(n,t),n.prototype.componentDidMount=function(){var e=this.props.skipViewportMeasures,t=Object(ge.a)(this._root.current);this._onAsyncResize=this._async.debounce(this._onAsyncResize,500,{leading:!1}),!e&&this._isResizeObserverAvailable()?this._registerResizeObserver():this._events.on(t,"resize",this._onAsyncResize),e||this._updateViewport()},n.prototype.componentDidUpdate=function(e){var t=this.props.skipViewportMeasures,n=e.skipViewportMeasures,o=Object(ge.a)(this._root.current);t!==n&&(n?(this._unregisterResizeObserver(),this._events.on(o,"resize",this._onAsyncResize)):!n&&this._isResizeObserverAvailable()&&(this._events.off(o,"resize",this._onAsyncResize),this._registerResizeObserver())),n&&this._updateViewport()},n.prototype.componentWillUnmount=function(){this._events.dispose(),this._async.dispose(),this._unregisterResizeObserver()},n.prototype.render=function(){var t=this.state.viewport,n=t.width>0&&t.height>0?t:void 0;return a.createElement("div",{className:"ms-Viewport",ref:this._root,style:{minWidth:1,minHeight:1}},a.createElement(e,Object(i.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(ge.a)(this._root.current);return e&&e.ResizeObserver},n}(Ze.a)}var Qe=Object(s.a)(),$e=function(e){function t(t){var n=e.call(this,t)||this;return n._root=a.createRef(),n._header=a.createRef(),n._groupedList=a.createRef(),n._list=a.createRef(),n._focusZone=a.createRef(),n._selectionZone=a.createRef(),n._sumColumnWidths=Object(u.b)((function(e){var t=0;return e.forEach((function(e){return t+=e.calculatedWidth||e.minWidth})),t})),n._onRenderRow=function(e,t){return a.createElement(pe,Object(i.a)({},e))},n._onRenderDetailsHeader=function(e,t){return a.createElement(ie,Object(i.a)({},e))},n._onRenderDetailsFooter=function(e,t){return null},n._onRenderListCell=function(e){return function(t,o){return n._onRenderCell(e,t,o)}},n._onRenderCell=function(e,t,o){var r=n.props,i=r.compact,a=r.dragDropEvents,s=r.rowElementEventMap,l=r.onRenderMissingItem,c=r.onRenderItemColumn,u=r.getCellValueKey,d=r.selectionMode,p=void 0===d?n._selection.mode:d,m=r.viewport,h=r.checkboxVisibility,f=r.getRowAriaLabel,g=r.getRowAriaDescribedBy,b=r.checkButtonAriaLabel,v=r.checkboxCellClassName,y=r.groupProps,w=r.useReducedRowRenderer,_=r.indentWidth,C=r.cellStyleProps,E=void 0===C?A:C,S=r.onRenderCheckbox,x=r.enableUpdateAnimations,k=r.useFastIcons,O=n.props.onRenderRow?Object(B.a)(n.props.onRenderRow,n._onRenderRow):n._onRenderRow,I=y&&y.collapseAllVisibility,T=n._selection,P=n._dragDropHelper,D=n.state.adjustedColumns,M={item:t,itemIndex:o,compact:i,columns:D,groupNestingDepth:e,selectionMode:p,selection:T,onDidMount:n._onRowDidMount,onWillUnmount:n._onRowWillUnmount,onRenderItemColumn:c,getCellValueKey:u,eventsToRegister:s,dragDropEvents:a,dragDropHelper:P,viewport:m,checkboxVisibility:h,collapseAllVisibility:I,getRowAriaLabel:f,getRowAriaDescribedBy:g,checkButtonAriaLabel:b,checkboxCellClassName:v,useReducedRowRenderer:w,indentWidth:_,cellStyleProps:E,onRenderDetailsCheckbox:S,enableUpdateAnimations:x,rowWidth:n._sumColumnWidths(D),useFastIcons:k};return t?O(M):l?l(o,M):null},n._onGroupExpandStateChanged=function(e){n.setState({isSomeGroupExpanded:e})},n._onColumnIsSizingChanged=function(e,t){n.setState({isSizing:t})},n._onHeaderKeyDown=function(e){e.which===d.a.down&&n._focusZone.current&&n._focusZone.current.focus()&&(0===n._selection.getSelectedIndices().length&&n._selection.setIndexSelected(0,!0,!1),e.preventDefault(),e.stopPropagation())},n._onContentKeyDown=function(e){e.which!==d.a.up||e.altKey||n._header.current&&n._header.current.focus()&&(e.preventDefault(),e.stopPropagation())},n._onRowDidMount=function(e){var t=e.props,o=t.item,r=t.itemIndex,i=n._getItemKey(o,r);n._activeRows[i]=e,n._setFocusToRowIfPending(e);var a=n.props.onRowDidMount;a&&a(o,r)},n._onRowWillUnmount=function(e){var t=n.props.onRowWillUnmount,o=e.props,r=o.item,i=o.itemIndex,a=n._getItemKey(r,i);delete n._activeRows[a],t&&t(r,i)},n._onToggleCollapse=function(e){n.setState({isCollapsed:e}),n._groupedList.current&&n._groupedList.current.toggleCollapseAll(e)},n._onColumnDragEnd=function(e,t){var o=n.props.columnReorderOptions,r=b.c.outside;if(o&&o.onDragEnd){if(e.dropLocation&&e.dropLocation!==b.c.header)r=e.dropLocation;else if(n._root.current){var i=n._root.current.getBoundingClientRect();t.clientX>i.left&&t.clientX<i.right&&t.clientY>i.top&&t.clientY<i.bottom&&(r=b.c.surface)}o.onDragEnd(r)}},n._onColumnResized=function(e,t,o){var r=Math.max(e.minWidth||100,t);n.props.onColumnResize&&n.props.onColumnResize(e,r,o),n._rememberCalculatedWidth(e,r),n._adjustColumns(n.props,!0,o),n.setState({version:{}})},n._onColumnAutoResized=function(e,t){var o=0,r=0,i=Object.keys(n._activeRows).length;for(var a in n._activeRows){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})},n.isRightArrow=function(e){return e.which===Object(p.b)(d.a.right,n.props.theme)},Object(m.a)(n),n._async=new h.a(n),n._activeRows={},n._columnOverrides={},n.state={focusedItemIndex:-1,lastWidth:0,adjustedColumns:n._getAdjustedColumns(t),isSizing:!1,isDropping:!1,isCollapsed:t.groupProps&&t.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:t.groupProps&&!t.groupProps.isAllGroupsCollapsed,version:{}},n._selection=t.selection||new me({onSelectionChanged:void 0,getKey:t.getKey,selectionMode:t.selectionMode}),n.props.disableSelectionZone||n._selection.setItems(t.items,!1),n._dragDropHelper=t.dragDropEvents?new q({selection:n._selection,minimumPixelsForDrag:t.minimumPixelsForDrag}):void 0,n._initialFocusedIndex=t.initialFocusedIndex,n}return Object(i.c)(t,e),t.prototype.scrollToIndex=function(e,t,n){this._list.current&&this._list.current.scrollToIndex(e,t,n),this._groupedList.current&&this._groupedList.current.scrollToIndex(e,t,n)},t.prototype.focusIndex=function(e,t,n,o){void 0===t&&(t=!1);var r=this.props.items[e];if(r){this.scrollToIndex(e,n,o);var i=this._getItemKey(r,e),a=this._activeRows[i];a&&this._setFocusToRow(a,t)}},t.prototype.getStartItemIndexInView=function(){return this._list&&this._list.current?this._list.current.getStartItemIndexInView():this._groupedList&&this._groupedList.current?this._groupedList.current.getStartItemIndexInView():0},t.prototype.componentWillUnmount=function(){this._dragDropHelper&&this._dragDropHelper.dispose(),this._async.dispose()},t.prototype.componentDidUpdate=function(e,t){if(void 0!==this._initialFocusedIndex&&(i=this.props.items[this._initialFocusedIndex])){var n=this._getItemKey(i,this._initialFocusedIndex);(o=this._activeRows[n])&&this._setFocusToRowIfPending(o)}if(this.props.items!==e.items&&this.props.items.length>0&&-1!==this.state.focusedItemIndex&&!Object(f.a)(this._root.current,document.activeElement,!1)){var o,r=this.state.focusedItemIndex<this.props.items.length?this.state.focusedItemIndex:this.props.items.length-1,i=this.props.items[r];n=this._getItemKey(i,this.state.focusedItemIndex);(o=this._activeRows[n])?this._setFocusToRow(o):this._initialFocusedIndex=r}this.props.onDidUpdate&&this.props.onDidUpdate(this)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.checkboxVisibility,o=t.items,r=t.setKey,i=t.selectionMode,a=void 0===i?this._selection.mode:i,s=t.columns,l=t.viewport,c=t.compact,u=t.dragDropEvents,d=(this.props.groupProps||{}).isAllGroupsCollapsed,p=void 0===d?void 0:d,m=e.viewport&&e.viewport.width||0,h=l&&l.width||0,f=e.setKey!==r||void 0===e.setKey,g=!1;e.layoutMode!==this.props.layoutMode&&(g=!0),f&&(this._initialFocusedIndex=e.initialFocusedIndex,this.setState({focusedItemIndex:void 0!==this._initialFocusedIndex?this._initialFocusedIndex:-1})),this.props.disableSelectionZone||e.items===o||this._selection.setItems(e.items,f),e.checkboxVisibility===n&&e.columns===s&&m===h&&e.compact===c||(g=!0),this._adjustColumns(e,!0),e.selectionMode!==a&&(g=!0),void 0===p&&e.groupProps&&void 0!==e.groupProps.isAllGroupsCollapsed&&this.setState({isCollapsed:e.groupProps.isAllGroupsCollapsed,isSomeGroupExpanded:!e.groupProps.isAllGroupsCollapsed}),e.dragDropEvents!==u&&(this._dragDropHelper&&this._dragDropHelper.dispose(),this._dragDropHelper=e.dragDropEvents?new q({selection:this._selection,minimumPixelsForDrag:e.minimumPixelsForDrag}):void 0,g=!0),g&&this.setState({version:{}})},t.prototype.render=function(){var e=this.props,t=e.ariaLabelForListHeader,n=e.ariaLabelForSelectAllCheckbox,o=e.ariaLabelForSelectionColumn,r=e.className,s=e.checkboxVisibility,l=e.compact,u=e.constrainMode,d=e.dragDropEvents,p=e.groups,m=e.groupProps,h=e.indentWidth,f=e.items,v=e.isPlaceholderData,y=e.isHeaderVisible,w=e.layoutMode,E=e.onItemInvoked,S=e.onItemContextMenu,x=e.onColumnHeaderClick,k=e.onColumnHeaderContextMenu,O=e.selectionMode,I=void 0===O?this._selection.mode:O,T=e.selectionPreservedOnEmptyClick,P=e.selectionZoneProps,D=e.ariaLabel,M=e.ariaLabelForGrid,R=e.rowElementEventMap,N=e.shouldApplyApplicationRole,L=void 0!==N&&N,j=e.getKey,F=e.listProps,B=e.usePageCache,W=e.onShouldVirtualize,z=e.viewport,H=e.minimumPixelsForDrag,U=e.getGroupHeight,G=e.styles,K=e.theme,q=e.cellStyleProps,Z=void 0===q?A:q,X=e.onRenderCheckbox,Y=e.useFastIcons,Q=this.state,$=Q.adjustedColumns,J=Q.isCollapsed,ee=Q.isSizing,te=Q.isSomeGroupExpanded,ne=this._selection,oe=this._dragDropHelper,re=this._getGroupNestingDepth(),ie=Object(i.a)({renderedWindowsAhead:ee?0:2,renderedWindowsBehind:ee?0:2,getKey:j,version:this.state.version},F),ae=V.none;if(I===c.b.single&&(ae=V.hidden),I===c.b.multiple){var se=m&&m.headerProps&&m.headerProps.isCollapsedGroupSelectVisible;void 0===se&&(se=!0),ae=se||!p||te?V.visible:V.hidden}s===b.a.hidden&&(ae=V.none);var le=this.props,ce=le.onRenderDetailsHeader,ue=void 0===ce?this._onRenderDetailsHeader:ce,de=le.onRenderDetailsFooter,pe=void 0===de?this._onRenderDetailsFooter:de,me=this._getDetailsFooterProps(),he=this._getColumnReorderProps(),fe=(y?1:0)+function(e){var t=0;if(e)for(var n=Object(i.e)(e),o=void 0;n&&n.length>0;)++t,(o=n.pop())&&o.children&&n.push.apply(n,o.children);return t}(p)+(f?f.length:0),ge=Qe(G,{theme:K,compact:l,isFixed:w===b.e.fixedColumns,isHorizontalConstrained:u===b.d.horizontalConstrained,className:r}),be=p?a.createElement(qe,{componentRef:this._groupedList,groups:p,groupProps:m?this._getGroupProps(m):void 0,items:f,onRenderCell:this._onRenderCell,selection:ne,selectionMode:s!==b.a.hidden?I:c.b.none,dragDropEvents:d,dragDropHelper:oe,eventsToRegister:R,listProps:ie,onGroupExpandStateChanged:this._onGroupExpandStateChanged,usePageCache:B,onShouldVirtualize:W,getGroupHeight:U,compact:l}):a.createElement(ze.a,Object(i.a)({ref:this._list,role:"presentation",items:f,onRenderCell:this._onRenderListCell(0),usePageCache:B,onShouldVirtualize:W},ie));return a.createElement("div",Object(i.a)({ref:this._root,className:ge.root,"data-automationid":"DetailsList","data-is-scrollable":"false","aria-label":D},L?{role:"application"}:{}),a.createElement(g.a,null),a.createElement("div",{role:"grid","aria-label":M,"aria-rowcount":v?-1:fe,"aria-colcount":(ae!==V.none?1:0)+($?$.length:0),"aria-readonly":"true","aria-busy":v},a.createElement("div",{onKeyDown:this._onHeaderKeyDown,role:"presentation",className:ge.headerWrapper},y&&ue({componentRef:this._header,selectionMode:I,layoutMode:w,selection:ne,columns:$,onColumnClick:x,onColumnContextMenu:k,onColumnResized:this._onColumnResized,onColumnIsSizingChanged:this._onColumnIsSizingChanged,onColumnAutoResized:this._onColumnAutoResized,groupNestingDepth:re,isAllCollapsed:J,onToggleCollapseAll:this._onToggleCollapse,ariaLabel:t,ariaLabelForSelectAllCheckbox:n,ariaLabelForSelectionColumn:o,selectAllVisibility:ae,collapseAllVisibility:m&&m.collapseAllVisibility,viewport:z,columnReorderProps:he,minimumPixelsForDrag:H,cellStyleProps:Z,checkboxVisibility:s,indentWidth:h,onRenderDetailsCheckbox:X,rowWidth:this._sumColumnWidths(this.state.adjustedColumns),useFastIcons:Y},this._onRenderDetailsHeader)),a.createElement("div",{onKeyDown:this._onContentKeyDown,role:"presentation",className:ge.contentWrapper},a.createElement(_.a,{componentRef:this._focusZone,className:ge.focusZone,direction:C.a.vertical,shouldEnterInnerZone:this.isRightArrow,onActiveElementChanged:this._onActiveRowChanged,onBlur:this._onBlur},this.props.disableSelectionZone?be:a.createElement(ye,Object(i.a)({ref:this._selectionZone,selection:ne,selectionPreservedOnEmptyClick:T,selectionMode:I,onItemInvoked:E,onItemContextMenu:S,enterModalOnTouch:this.props.enterModalSelectionOnTouch},P||{}),be))),pe(Object(i.a)({},me),this._onRenderDetailsFooter)))},t.prototype.forceUpdate=function(){e.prototype.forceUpdate.call(this),this._forceListUpdates()},t.prototype._getGroupNestingDepth=function(){for(var e=0,t=this.props.groups;t&&t.length>0;)e++,t=t[0].children;return e},t.prototype._setFocusToRowIfPending=function(e){var t=e.props.itemIndex;void 0!==this._initialFocusedIndex&&t===this._initialFocusedIndex&&(this._setFocusToRow(e),delete this._initialFocusedIndex)},t.prototype._setFocusToRow=function(e,t){void 0===t&&(t=!1),this._selectionZone.current&&this._selectionZone.current.ignoreNextFocus(),this._async.setTimeout((function(){e.focus(t)}),0)},t.prototype._forceListUpdates=function(){this._groupedList.current&&this._groupedList.current.forceUpdate(),this._list.current&&this._list.current.forceUpdate()},t.prototype._notifyColumnsResized=function(){this.state.adjustedColumns.forEach((function(e){e.onColumnResize&&e.onColumnResize(e.currentWidth)}))},t.prototype._adjustColumns=function(e,t,n){var o=this._getAdjustedColumns(e,t,n),r=this.props.viewport,i=r&&r.width?r.width:0;o&&this.setState({adjustedColumns:o,lastWidth:i},this._notifyColumnsResized)},t.prototype._getAdjustedColumns=function(e,t,n){var o,r=this,i=e.items,a=e.layoutMode,s=e.selectionMode,l=e.viewport,c=l&&l.width?l.width:0,u=e.columns,d=this.props?this.props.columns:[],p=this.state?this.state.lastWidth:-1,m=this.state?this.state.lastSelectionMode:void 0;return t||p!==c||m!==s||d&&u!==d?(u=u||function(e,t,n,o,r,i,a){var s=[];if(e&&e.length){var l=e[0];for(var c in l)l.hasOwnProperty(c)&&s.push({key:c,name:c,fieldName:c,minWidth:100,maxWidth:300,isCollapsable:!!s.length,isCollapsible:!!s.length,isMultiline:void 0!==a&&a,isSorted:o===c,isSortedDescending:!!r,isRowHeader:!1,columnActionsMode:b.b.clickable,isResizable:t,onColumnClick:n,isGrouped:i===c})}return s}(i,!0),a===b.e.fixedColumns?(o=this._getFixedColumns(u)).forEach((function(e){r._rememberCalculatedWidth(e,e.calculatedWidth)})):(o=void 0!==n?this._getJustifiedColumnsAfterResize(u,c,e,n):this._getJustifiedColumns(u,c,e,0)).forEach((function(e){r._getColumnOverride(e.key).currentWidth=e.calculatedWidth})),o):[]},t.prototype._getFixedColumns=function(e){var t=this;return e.map((function(e){var n=Object(i.a)(Object(i.a)({},e),t._columnOverrides[e.key]);return n.calculatedWidth||(n.calculatedWidth=n.maxWidth||n.minWidth||100),n}))},t.prototype._getJustifiedColumnsAfterResize=function(e,t,n,o){var r=this,a=e.slice(0,o);a.forEach((function(e){return e.calculatedWidth=r._getColumnOverride(e.key).currentWidth}));var s=a.reduce((function(e,t,o){return e+Je(t,0===o,n)}),0),l=e.slice(o),c=t-s;return Object(i.e)(a,this._getJustifiedColumns(l,c,n,o))},t.prototype._getJustifiedColumns=function(e,t,n,o){for(var r=this,a=n.selectionMode,s=void 0===a?this._selection.mode:a,l=n.checkboxVisibility,u=s!==c.b.none&&l!==b.a.hidden?48:0,d=36*this._getGroupNestingDepth(),p=0,m=t-(u+d),h=e.map((function(e,t){var a=Object(i.a)(Object(i.a)(Object(i.a)({},e),{calculatedWidth:e.minWidth||100}),r._columnOverrides[e.key]);return p+=Je(a,t+o===0,n),a})),f=h.length-1;f>0&&p>m;){var g=(_=h[f]).minWidth||100,v=p-m;if(_.calculatedWidth-g>=v||!_.isCollapsible&&!_.isCollapsable){var y=_.calculatedWidth;_.calculatedWidth=Math.max(_.calculatedWidth-v,g),p-=y-_.calculatedWidth}else p-=Je(_,!1,n),h.splice(f,1);f--}for(var w=0;w<h.length&&p<m;w++){var _=h[w],C=w===h.length-1,E=this._columnOverrides[_.key];if(!E||!E.calculatedWidth||C){var S=m-p,x=void 0;if(C)x=S;else{var k=_.maxWidth;g=_.minWidth||k||100;x=k?Math.min(S,k-g):S}_.calculatedWidth=_.calculatedWidth+x,p+=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.prototype._getDetailsFooterProps=function(){var e=this.state.adjustedColumns,t=this.props,n=t.viewport,o=t.checkboxVisibility,r=t.indentWidth,i=t.cellStyleProps,a=void 0===i?A:i,s=t.selectionMode,l=void 0===s?this._selection.mode:s;return{columns:e,groupNestingDepth:this._getGroupNestingDepth(),selection:this._selection,selectionMode:l,viewport:n,checkboxVisibility:o,indentWidth:r,cellStyleProps:a}},t.prototype._getColumnReorderProps=function(){var e=this.props.columnReorderOptions;if(e)return Object(i.a)(Object(i.a)({},e),{onColumnDragEnd:this._onColumnDragEnd})},t.prototype._getGroupProps=function(e){var t=this,n=e.onRenderFooter,o=e.onRenderHeader,r=this.state.adjustedColumns,a=this.props,s=a.selectionMode,l=void 0===s?this._selection.mode:s,c=a.viewport,u=a.cellStyleProps,d=void 0===u?A:u,p=a.checkboxVisibility,m=a.indentWidth,h=this._getGroupNestingDepth(),f=n?function(e,o){return n(Object(i.a)(Object(i.a)({},e),{columns:r,groupNestingDepth:h,indentWidth:m,selection:t._selection,selectionMode:l,viewport:c,checkboxVisibility:p,cellStyleProps:d}),o)}:void 0,g=o?function(e,n){return o(Object(i.a)(Object(i.a)({},e),{columns:r,groupNestingDepth:h,indentWidth:m,selection:t._selection,selectionMode:l,viewport:c,checkboxVisibility:p,cellStyleProps:d}),n)}:void 0;return Object(i.a)(Object(i.a)({},e),{onRenderFooter:f,onRenderHeader:g})},t.defaultProps={layoutMode:b.e.justified,selectionMode:c.b.multiple,constrainMode:b.d.horizontalConstrained,checkboxVisibility:b.a.onHover,isHeaderVisible:!0,compact:!1,useFastIcons:!0},t=Object(i.b)([Ye],t)}(a.Component);function Je(e,t,n){var o=n.cellStyleProps,r=void 0===o?A:o;return e.calculatedWidth+r.cellLeftPadding+r.cellRightPadding+(e.isPadded?r.cellExtraRightPadding:0)}var et={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"},tt=Object(r.a)($e,(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(I.x)(et,o);return{root:[c.root,o.fonts.small,{position:"relative",background:l.listBackground,color:l.listText,selectors:(t={},t["& ."+c.listCell]={minHeight:38,wordBreak:"break-word"},t)},s&&c.isFixed,a&&[c.compact,{selectors:(n={},n["."+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}}),void 0,{scope:"DetailsList"}),nt={root:"ms-Shimmer-container",shimmerWrapper:"ms-Shimmer-shimmerWrapper",shimmerGradient:"ms-Shimmer-shimmerGradient",dataWrapper:"ms-Shimmer-dataWrapper"},ot=Object(u.b)((function(){return Object(I.D)({"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(100%)"}})})),rt=Object(u.b)((function(){return Object(I.D)({"100%":{transform:"translateX(-100%)"},"0%":{transform:"translateX(100%)"}})}));var it,at,st=n(245);!function(e){e[e.line=1]="line",e[e.circle=2]="circle",e[e.gap=3]="gap"}(it||(it={})),function(e){e[e.line=16]="line",e[e.gap=16]="gap",e[e.circle=24]="circle"}(at||(at={}));var lt=Object(s.a)(),ct={root:"ms-ShimmerLine-root",topLeftCorner:"ms-ShimmerLine-topLeftCorner",topRightCorner:"ms-ShimmerLine-topRightCorner",bottomLeftCorner:"ms-ShimmerLine-bottomLeftCorner",bottomRightCorner:"ms-ShimmerLine-bottomRightCorner"};var ut=Object(r.a)((function(e){var t=e.height,n=e.styles,o=e.width,r=void 0===o?"100%":o,i=e.borderStyle,s=e.theme,l=lt(n,{theme:s,height:t,borderStyle:i});return a.createElement("div",{style:{width:r,minWidth:"number"==typeof r?r+"px":"auto"},className:l.root},a.createElement("svg",{width:"2",height:"2",className:l.topLeftCorner},a.createElement("path",{d:"M0 2 A 2 2, 0, 0, 1, 2 0 L 0 0 Z"})),a.createElement("svg",{width:"2",height:"2",className:l.topRightCorner},a.createElement("path",{d:"M0 0 A 2 2, 0, 0, 1, 2 2 L 2 0 Z"})),a.createElement("svg",{width:"2",height:"2",className:l.bottomRightCorner},a.createElement("path",{d:"M2 0 A 2 2, 0, 0, 1, 0 2 L 2 2 Z"})),a.createElement("svg",{width:"2",height:"2",className:l.bottomLeftCorner},a.createElement("path",{d:"M2 2 A 2 2, 0, 0, 1, 0 0 L 0 2 Z"})))}),(function(e){var t,n=e.height,o=e.borderStyle,r=e.theme,i=r.semanticColors,a=Object(I.x)(ct,r),s=o||{},l={position:"absolute",fill:i.bodyBackground};return{root:[a.root,r.fonts.medium,{height:n+"px",boxSizing:"content-box",position:"relative",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,borderWidth:0,selectors:(t={},t[I.e]={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"}),dt=Object(s.a)(),pt={root:"ms-ShimmerGap-root"};var mt=Object(r.a)((function(e){var t=e.height,n=e.styles,o=e.width,r=void 0===o?"10px":o,i=e.borderStyle,s=e.theme,l=dt(n,{theme:s,height:t,borderStyle:i});return a.createElement("div",{style:{width:r,minWidth:"number"==typeof r?r+"px":"auto"},className:l.root})}),(function(e){var t,n=e.height,o=e.borderStyle,r=e.theme,i=r.semanticColors,a=o||{};return{root:[Object(I.x)(pt,r).root,r.fonts.medium,{backgroundColor:i.bodyBackground,height:n+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:i.bodyBackground,selectors:(t={},t[I.e]={backgroundColor:"Window",borderColor:"Window"},t)},a]}}),void 0,{scope:"ShimmerGap"}),ht={root:"ms-ShimmerCircle-root",svg:"ms-ShimmerCircle-svg"};var ft=Object(s.a)(),gt=Object(r.a)((function(e){var t=e.height,n=e.styles,o=e.borderStyle,r=e.theme,i=ft(n,{theme:r,height:t,borderStyle:o});return a.createElement("div",{className:i.root},a.createElement("svg",{viewBox:"0 0 10 10",width:t,height:t,className:i.svg},a.createElement("path",{d:"M0,0 L10,0 L10,10 L0,10 L0,0 Z M0,5 C0,7.76142375 2.23857625,10 5,10 C7.76142375,10 10,7.76142375 10,5 C10,2.23857625 7.76142375,2.22044605e-16 5,0 C2.23857625,-2.22044605e-16 0,2.23857625 0,5 L0,5 Z"})))}),(function(e){var t,n,o=e.height,r=e.borderStyle,i=e.theme,a=i.semanticColors,s=Object(I.x)(ht,i),l=r||{};return{root:[s.root,i.fonts.medium,{width:o+"px",height:o+"px",minWidth:o+"px",boxSizing:"content-box",borderTopStyle:"solid",borderBottomStyle:"solid",borderColor:a.bodyBackground,selectors:(t={},t[I.e]={borderColor:"Window"},t)},l],svg:[s.svg,{display:"block",fill:a.bodyBackground,selectors:(n={},n[I.e]={fill:"Window"},n)}]}}),void 0,{scope:"ShimmerCircle"}),bt=Object(s.a)();var vt=Object(u.b)((function(e,t,n,o,r){var a,s=r&&n?r-n:0;if(e&&"center"!==e?e&&"top"===e?a={borderBottomWidth:s+"px",borderTopWidth:"0px"}:e&&"bottom"===e&&(a={borderBottomWidth:"0px",borderTopWidth:s+"px"}):a={borderBottomWidth:(s?Math.floor(s/2):0)+"px",borderTopWidth:(s?Math.ceil(s/2):0)+"px"},o)switch(t){case it.circle:return{root:Object(i.a)(Object(i.a)({},a),{borderColor:o}),svg:{fill:o}};case it.gap:return{root:Object(i.a)(Object(i.a)({},a),{borderColor:o,backgroundColor:o})};case it.line:return{root:Object(i.a)(Object(i.a)({},a),{borderColor:o}),topLeftCorner:{fill:o},topRightCorner:{fill:o},bottomLeftCorner:{fill:o},bottomRightCorner:{fill:o}}}return{root:a}}));var yt={root:"ms-ShimmerElementsGroup-root"};var wt=Object(r.a)((function(e){var t=e.styles,n=e.width,o=void 0===n?"auto":n,r=e.shimmerElements,s=e.rowHeight,l=void 0===s?function(e){return e.map((function(e){switch(e.type){case it.circle:e.height||(e.height=at.circle);case it.line:e.height||(e.height=at.line);case it.gap:e.height||(e.height=at.gap)}return e})).reduce((function(e,t){return t.height&&t.height>e?t.height:e}),0)}(r||[]):s,c=e.flexWrap,u=void 0!==c&&c,d=e.theme,p=e.backgroundColor,m=bt(t,{theme:d,flexWrap:u});return a.createElement("div",{style:{width:o},className:m.root},function(e,t,n){return e?e.map((function(e,o){var r=e.type,s=Object(i.d)(e,["type"]),l=s.verticalAlign,c=s.height,u=vt(l,r,c,t,n);switch(e.type){case it.circle:return a.createElement(gt,Object(i.a)({key:o},s,{styles:u}));case it.gap:return a.createElement(mt,Object(i.a)({key:o},s,{styles:u}));case it.line:return a.createElement(ut,Object(i.a)({key:o},s,{styles:u}))}})):a.createElement(ut,{height:at.line})}(r,p,l))}),(function(e){var t=e.flexWrap,n=e.theme;return{root:[Object(I.x)(yt,n).root,n.fonts.medium,{display:"flex",alignItems:"center",flexWrap:t?"wrap":"nowrap",position:"relative"}]}}),void 0,{scope:"ShimmerElementsGroup"}),_t=Object(s.a)(),Ct=function(e){function t(t){var n=e.call(this,t)||this;return Object(m.a)(n),n.state={contentLoaded:t.isDataLoaded},n._async=new h.a(n),n}return Object(i.c)(t,e),t.prototype.componentDidUpdate=function(e){var t=this,n=this.props.isDataLoaded;n!==e.isDataLoaded&&(this._async.clearTimeout(this._lastTimeoutId),n?this._lastTimeoutId=this._async.setTimeout((function(){t.setState({contentLoaded:n})}),200):this.setState({contentLoaded:n}))},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=this.props,t=e.styles,n=e.shimmerElements,o=e.children,r=e.isDataLoaded,s=e.width,l=e.className,c=e.customElementsGroup,u=e.theme,d=e.ariaLabel,p=e.shimmerColors,m=this.state.contentLoaded;this._classNames=_t(t,{theme:u,isDataLoaded:r,className:l,transitionAnimationInterval:200,shimmerColor:p&&p.shimmer,shimmerWaveColor:p&&p.shimmerWave});var h=Object(se.d)(this.props,se.c);return a.createElement("div",Object(i.a)({},h,{className:this._classNames.root}),!m&&a.createElement("div",{style:{width:s||"100%"},className:this._classNames.shimmerWrapper},a.createElement("div",{className:this._classNames.shimmerGradient}),c||a.createElement(wt,{shimmerElements:n,backgroundColor:p&&p.background})),o&&a.createElement("div",{className:this._classNames.dataWrapper},o),d&&!r&&a.createElement("div",{role:"status","aria-live":"polite"},a.createElement(st.a,null,a.createElement("div",{className:this._classNames.screenReaderText},d))))},t.defaultProps={isDataLoaded:!1},t}(a.Component),Et=Object(r.a)(Ct,(function(e){var t,n=e.isDataLoaded,o=e.className,r=e.theme,a=e.transitionAnimationInterval,s=e.shimmerColor,l=e.shimmerWaveColor,c=r.semanticColors,u=Object(I.x)(nt,r),d=Object(p.a)(r);return{root:[u.root,r.fonts.medium,{position:"relative",height:"auto"},o],shimmerWrapper:[u.shimmerWrapper,{position:"relative",overflow:"hidden",transform:"translateZ(0)",backgroundColor:s||c.disabledBackground,transition:"opacity "+a+"ms",selectors:Object(i.a)((t={"> *":{transform:"translateZ(0)"}},t[I.e]={background:"WindowText\n                        linear-gradient(\n                          to right,\n                          transparent 0%,\n                          Window 50%,\n                          transparent 100%)\n                        0 0 / 90% 100%\n                        no-repeat"},t),Object(I.v)())},n&&{opacity:"0",position:"absolute",top:"0",bottom:"0",left:"0",right:"0"}],shimmerGradient:[u.shimmerGradient,{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:(s||c.disabledBackground)+"\n                      linear-gradient(\n                        to right,\n                        "+(s||c.disabledBackground)+" 0%,\n                        "+(l||c.bodyDivider)+" 50%,\n                        "+(s||c.disabledBackground)+" 100%)\n                      0 0 / 90% 100%\n                      no-repeat",transform:"translateX(-100%)",animationDuration:"2s",animationTimingFunction:"ease-in-out",animationDirection:"normal",animationIterationCount:"infinite",animationName:d?rt():ot()}],dataWrapper:[u.dataWrapper,{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",opacity:"0",background:"none",backgroundColor:"transparent",border:"none",transition:"opacity "+a+"ms"},n&&{opacity:"1",position:"static"}],screenReaderText:I.C}}),void 0,{scope:"Shimmer"}),St=Object(s.a)(),xt=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 a.createElement(Et,{customElementsGroup:r})},n._renderDefaultShimmerPlaceholder=function(e){var t=e.columns,n=e.compact,o=e.selectionMode,r=e.checkboxVisibility,i=e.cellStyleProps,s=void 0===i?A:i,l=n?R.compactRowHeight:R.rowHeight+1,u=[];return o!==c.b.none&&r!==b.a.hidden&&u.push(a.createElement(wt,{key:"checkboxGap",shimmerElements:[{type:it.gap,width:"40px",height:l}]})),t.map((function(e,t){var n=[],o=s.cellLeftPadding+s.cellRightPadding+e.calculatedWidth+(e.isPadded?s.cellExtraRightPadding:0);n.push({type:it.gap,width:s.cellLeftPadding,height:l}),e.isIconOnly?(n.push({type:it.line,width:e.calculatedWidth,height:e.calculatedWidth}),n.push({type:it.gap,width:s.cellRightPadding,height:l})):(n.push({type:it.line,width:.95*e.calculatedWidth,height:7}),n.push({type:it.gap,width:s.cellRightPadding+(e.calculatedWidth-.95*e.calculatedWidth)+(e.isPadded?s.cellExtraRightPadding:0),height:l})),u.push(a.createElement(wt,{key:t,width:o+"px",shimmerElements:n}))})),u.push(a.createElement(wt,{key:"endGap",width:"100%",shimmerElements:[{type:it.gap,width:"100%",height:l}]})),a.createElement("div",{style:{display:"flex"}},u)},n._shimmerItems=t.shimmerLines?new Array(t.shimmerLines):new Array(10),n}return Object(i.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.detailsListStyles,n=e.enableShimmer,o=e.items,r=e.listProps,s=(e.onRenderCustomPlaceholder,e.removeFadingOverlay),c=(e.shimmerLines,e.styles),u=e.theme,d=e.ariaLabelForGrid,p=e.ariaLabelForShimmer,m=Object(i.d)(e,["detailsListStyles","enableShimmer","items","listProps","onRenderCustomPlaceholder","removeFadingOverlay","shimmerLines","styles","theme","ariaLabelForGrid","ariaLabelForShimmer"]),h=r&&r.className;this._classNames=St(c,{theme:u});var f=Object(i.a)(Object(i.a)({},r),{className:n&&!s?Object(l.a)(this._classNames.root,h):h});return a.createElement(tt,Object(i.a)({},m,{styles:t,items:n?this._shimmerItems:o,isPlaceholderData:n,ariaLabelForGrid:n&&p||d,onRenderMissingItem:this._onRenderShimmerPlaceholder,listProps:f}))},t}(a.Component),kt=Object(r.a)(xt,(function(e){var t=e.theme.palette;return{root:{position:"relative",selectors:{":after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,backgroundImage:"linear-gradient(to bottom, transparent 30%, "+t.whiteTranslucent40+" 65%,"+t.white+" 100%)"}}}}}),void 0,{scope:"ShimmeredDetailsList"})},,function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var o=n(14);function r(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('"+e+"fabric-icons-a13498cf.woff') format('woff')"},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}};Object(o.J)(n,t)}function i(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('"+e+"fabric-icons-0-467ee27f.woff') format('woff')"},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}};Object(o.J)(n,t)}function a(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('"+e+"fabric-icons-1-4d521695.woff') format('woff')"},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}};Object(o.J)(n,t)}function s(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('"+e+"fabric-icons-2-63c99abf.woff') format('woff')"},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}};Object(o.J)(n,t)}function l(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('"+e+"fabric-icons-3-089e217a.woff') format('woff')"},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}};Object(o.J)(n,t)}function c(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('"+e+"fabric-icons-4-a656cc0a.woff') format('woff')"},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}};Object(o.J)(n,t)}function u(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('"+e+"fabric-icons-5-f95ba260.woff') format('woff')"},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}};Object(o.J)(n,t)}function d(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('"+e+"fabric-icons-6-ef6fd590.woff') format('woff')"},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}};Object(o.J)(n,t)}function p(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('"+e+"fabric-icons-7-2b97bb99.woff') format('woff')"},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}};Object(o.J)(n,t)}function m(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('"+e+"fabric-icons-8-6fdf1528.woff') format('woff')"},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}};Object(o.J)(n,t)}function h(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('"+e+"fabric-icons-9-c6162b42.woff') format('woff')"},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}};Object(o.J)(n,t)}function f(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('"+e+"fabric-icons-10-c4ded8e4.woff') format('woff')"},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}};Object(o.J)(n,t)}function g(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('"+e+"fabric-icons-11-2a8393d6.woff') format('woff')"},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}};Object(o.J)(n,t)}function b(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('"+e+"fabric-icons-12-7e945a1e.woff') format('woff')"},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}};Object(o.J)(n,t)}function v(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('"+e+"fabric-icons-13-c3989a02.woff') format('woff')"},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}};Object(o.J)(n,t)}function y(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('"+e+"fabric-icons-14-5cf58db8.woff') format('woff')"},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}};Object(o.J)(n,t)}function w(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('"+e+"fabric-icons-15-3807251b.woff') format('woff')"},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}};Object(o.J)(n,t)}function _(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('"+e+"fabric-icons-16-9cf93f3b.woff') format('woff')"},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}};Object(o.J)(n,t)}function C(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('"+e+"fabric-icons-17-0c4ed701.woff') format('woff')"},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}};Object(o.J)(n,t)}var E=function(){Object(o.I)("trash","delete"),Object(o.I)("onedrive","onedrivelogo"),Object(o.I)("alertsolid12","eventdatemissed12"),Object(o.I)("sixpointstar","6pointstar"),Object(o.I)("twelvepointstar","12pointstar"),Object(o.I)("toggleon","toggleleft"),Object(o.I)("toggleoff","toggleright")},S=n(97);Object(S.a)("@uifabric/icons","7.3.38");function x(e,t){void 0===e&&(e="https://spoprod-a.akamaihd.net/files/fabric/assets/icons/"),[r,i,a,s,l,c,u,d,p,m,h,f,g,b,v,y,w,_,C].forEach((function(n){return n(e,t)})),E()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return D}));var o=n(236),r=n(2),i=n(0),a=n(39),s=n(237),l=n(58),c=n(118),u=n(68),d=n(266),p=n(267),m=n(46),h=n(14),f={fontFamily:"inherit"},g={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},b=function(e){var t=e.theme,n=e.className,o=e.applyTheme;return{root:[Object(h.x)(g,t).root,t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":f,"& input":f,"& textarea":f}},o&&{color:t.semanticColors.bodyText,backgroundColor:t.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:t.semanticColors.bodyBackground}]}},v=Object(s.a)(),y=Object(l.b)((function(e,t){return Object(h.t)(Object(r.a)(Object(r.a)({},e),{rtl:t}))})),w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._rootElement=i.createRef(),t._removeClassNameFromBody=void 0,t}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"div":t,o=e.theme,a=e.dir,s=this._getClassNames(),l=Object(u.d)(this.props,u.c,["dir"]),m=function(e,t){var n=Object(c.a)(e)?"rtl":"ltr",o=Object(c.a)()?"rtl":"ltr",r=t||n;return{rootDir:r!==n||r!==o?r:t,needsTheme:r!==n}}(o,a),h=m.rootDir,f=m.needsTheme,g=i.createElement(n,Object(r.a)({dir:h},l,{className:s.root,ref:this._rootElement}));return f&&(g=i.createElement(d.a,{settings:{theme:y(o,"rtl"===a)}},g)),i.createElement(i.Fragment,null,g,i.createElement(p.a,{rootRef:this._rootElement}))},t.prototype.componentDidMount=function(){this._addClassNameToBody()},t.prototype.componentWillUnmount=function(){this._removeClassNameFromBody&&this._removeClassNameFromBody()},t.prototype._getClassNames=function(){var e=this.props,t=e.className,n=e.theme,o=e.applyTheme;return v(b,{theme:n,applyTheme:o,className:t})},t.prototype._addClassNameToBody=function(){if(this.props.applyThemeToBody){var e=this._getClassNames(),t=Object(m.a)(this._rootElement.current);t&&(t.body.classList.add(e.bodyThemed),this._removeClassNameFromBody=function(){t.body.classList.remove(e.bodyThemed)})}},t}(i.Component),_=Object(o.a)(w,b,void 0,{scope:"Fabric"}),C=n(114);var E,S=n(207),x={};var k,O=Object(s.a)(),I=function(e){function t(t){var n=e.call(this,t)||this;return n._rootRef=i.createRef(),n._createLayerElement=function(){var e=n.props.hostId,t=Object(m.a)(n._rootRef.current),o=n._getHost();if(t&&o){n._removeLayerElement();var r=t.createElement("div"),i=n._getClassNames();r.className=i.root,Object(C.b)(r),function(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))}(r,n._rootRef.current),n.props.insertFirst?o.insertBefore(r,o.firstChild):o.appendChild(r),n.setState({hostId:e,layerElement:r},(function(){var e=n.props,t=e.onLayerDidMount,o=e.onLayerMounted;o&&o(),t&&t()}))}},n.state={},n}return Object(r.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props.hostId;this._createLayerElement(),e&&function(e,t){x[e]||(x[e]=[]),x[e].push(t)}(e,this._createLayerElement)},t.prototype.render=function(){var e=this.state.layerElement,t=this._getClassNames(),n=this.props.eventBubblingEnabled;return i.createElement("span",{className:"ms-layer",ref:this._rootRef},e&&a.createPortal(i.createElement(_,Object(r.a)({},!n&&function(){k||(k={},["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 k[e]=T})));return k}(),{className:t.content}),this.props.children),e))},t.prototype.componentDidUpdate=function(){this.props.hostId!==this.state.hostId&&this._createLayerElement()},t.prototype.componentWillUnmount=function(){var e=this.props.hostId;this._removeLayerElement(),e&&function(e,t){if(x[e]){var n=x[e].indexOf(t);n>=0&&(x[e].splice(n,1),0===x[e].length&&delete x[e])}}(e,this._createLayerElement)},t.prototype._removeLayerElement=function(){var e=this.props.onLayerWillUnmount,t=this.state.layerElement;if(e&&e(),t&&t.parentNode){var n=t.parentNode;n&&n.removeChild(t)}},t.prototype._getClassNames=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return O(n,{theme:o,className:t,isNotHost:!this.props.hostId})},t.prototype._getHost=function(){var e=this.props.hostId,t=Object(m.a)(this._rootRef.current);if(t){if(e)return t.getElementById(e);var n=E;return n?t.querySelector(n):t.body}},t.defaultProps={onLayerDidMount:function(){},onLayerWillUnmount:function(){}},t=Object(r.b)([Object(S.a)("Layer",["theme","hostId"])],t)}(i.Component),T=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var P={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},D=Object(o.a)(I,(function(e){var t=e.className,n=e.isNotHost,o=e.theme,r=Object(h.x)(P,o);return{root:[r.root,o.fonts.medium,n&&[r.rootNoHost,{position:"fixed",zIndex:h.q.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[r.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]})},function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var o=n(236),r=n(2),i=n(0),a=n(261),s=n(237),l=n(162),c=n(83),u=n(243),d=n(68),p=n(203),m=n(96),h=n(79),f=n(206),g=n(249),b=Object(s.a)(),v=function(e){function t(t){var n=e.call(this,t)||this;return n._onChange=function(e){var t=n.props.onChange;t&&t(e,n.props)},n._onBlur=function(e){var t=n.props.onBlur;t&&t(e,n.props)},n._onFocus=function(e){var t=n.props.onFocus;t&&t(e,n.props)},n._onRenderField=function(e){var t=e.id,o=e.imageSrc,a=e.imageAlt,s=void 0===a?"":a,l=e.selectedImageSrc,c=e.iconProps,u=e.imageSize?e.imageSize:{width:32,height:32},d=(e.onRenderLabel?Object(g.a)(e.onRenderLabel,n._onRenderLabel):n._onRenderLabel)(e);return i.createElement("label",{htmlFor:t,className:n._classNames.field},o&&i.createElement("div",{className:n._classNames.innerField},i.createElement("div",{className:n._classNames.imageWrapper},i.createElement(m.a,{src:o,alt:s,width:u.width,height:u.height})),i.createElement("div",{className:n._classNames.selectedImageWrapper},i.createElement(m.a,{src:l,alt:s,width:u.width,height:u.height}))),c&&i.createElement("div",{className:n._classNames.innerField},i.createElement("div",{className:n._classNames.iconWrapper},i.createElement(h.a,Object(r.a)({},c)))),o||c?i.createElement("div",{className:n._classNames.labelWrapper},d):d)},n._onRenderLabel=function(e){return i.createElement("span",{id:e.labelId,className:"ms-ChoiceFieldLabel"},e.text)},Object(l.a)(n),n}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.focused,o=e.required,a=e.theme,s=e.iconProps,l=e.imageSrc,c=e.imageSize,u=e.disabled,p=e.checked,m=e.id,h=e.styles,g=e.name,v=e.onRenderField,y=void 0===v?this._onRenderField:v,w=Object(r.d)(e,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name","onRenderField"]);this._classNames=b(h,{theme:a,hasIcon:!!s,hasImage:!!l,checked:p,disabled:u,imageIsLarge:!!l&&(c.width>71||c.height>71),imageSize:c,focused:n});var _=Object(d.d)(w,d.g),C=_.className,E=Object(r.d)(_,["className"]);return i.createElement("div",{className:this._classNames.root},i.createElement("div",{className:this._classNames.choiceFieldWrapper},i.createElement("input",Object(r.a)({"aria-label":t,id:m,className:Object(f.a)(this._classNames.input,C),type:"radio",name:g,disabled:u,checked:p,required:o},E,{onChange:this._onChange,onFocus:this._onFocus,onBlur:this._onBlur})),y(this.props,this._onRenderField)))},t.defaultProps={imageSize:{width:32,height:32}},t}(i.Component),y=n(14),w=n(101),_={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 C(e,t){var n,o;return["is-inFocus",{selectors:(n={},n["."+w.a+" &"]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid "+e,position:"absolute",selectors:(o={},o[y.e]={borderColor:"WindowText",borderWidth:t?1:2},o)}}},n)}]}function E(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 S=Object(o.a)(v,(function(e){var t,n,o,r,i,a=e.theme,s=e.hasIcon,l=e.hasImage,c=e.checked,u=e.disabled,d=e.imageIsLarge,p=e.focused,m=e.imageSize,h=a.palette,f=a.semanticColors,g=a.fonts,b=Object(y.x)(_,a),v=h.neutralPrimary,w=f.inputBorderHovered,S=f.inputBackgroundChecked,x=h.themeDark,k=f.disabledBodySubtext,O=f.bodyBackground,I=h.neutralSecondary,T=f.inputBackgroundChecked,P=h.themeDark,D=f.disabledBodySubtext,M=h.neutralDark,A=f.focusBorder,R=f.inputBorderHovered,N=f.inputBackgroundChecked,L=h.themeDark,j=h.neutralLighter,F={selectors:{".ms-ChoiceFieldLabel":{color:M},":before":{borderColor:c?x:w},":after":[!s&&!l&&!c&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:I},c&&{borderColor:P}]}},B={borderColor:c?L:R,selectors:{":before":{opacity:1,borderColor:c?x:w}}},W=[{content:'""',display:"inline-block",backgroundColor:O,borderWidth:1,borderStyle:"solid",borderColor:v,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",borderRadius:"50%"},u&&{borderColor:k,selectors:(t={},t[y.e]={color:"GrayText"},t)},c&&{borderColor:u?k:S,selectors:(n={},n[y.e]={borderColor:"Highlight"},n)},(s||l)&&{top:3,right:3,left:"auto",opacity:c?1:0}],z=[{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:u?D:T,left:5,top:5,width:10,height:10,selectors:(o={},o[y.e]={borderColor:"Highlight"},o)},c&&(s||l)&&{top:8,right:8,left:"auto"}];return{root:[b.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:f.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:j,height:"100%"}],choiceFieldWrapper:[b.choiceFieldWrapper,p&&C(A,s||l)],input:[b.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},u&&"is-disabled"],field:[b.field,c&&b.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!u&&F,":focus":!u&&F,":before":W,":after":z}},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:N},(s||l)&&!u&&{selectors:{":hover":B,":focus":B}},u&&{cursor:"default",selectors:(r={".ms-ChoiceFieldLabel":{color:f.disabledBodyText}},r[y.e]={color:"GrayText"},r)},c&&u&&{borderColor:j}],innerField:[b.innerField,l&&{height:m.height,width:m.width},(s||l)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(s||l)&&d&&{paddingLeft:24,paddingRight:24},(s||l)&&u&&{opacity:.25,selectors:(i={},i[y.e]={color:"GrayText",opacity:1},i)}],imageWrapper:E(!1,b.imageWrapper,c),selectedImageWrapper:E(!0,b.imageWrapper,c),iconWrapper:[b.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[b.labelWrapper,g.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"}),x=Object(s.a)(),k=function(e){function t(t){var n=e.call(this,t)||this;n._focusCallbacks={},n._changeCallbacks={},n._onBlur=function(e,t){n.setState({keyFocused:void 0})},Object(l.a)(n);var o=t.defaultSelectedKey,r=t.options,i=void 0===r?[]:r,a=!O(t)&&void 0!==o&&i.some((function(e){return e.key===o}));return n.state={keyChecked:a?o:n._getKeyChecked(t)},n._id=Object(c.a)("ChoiceGroup"),n._labelId=Object(c.a)("ChoiceGroupLabel"),n}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"checkedOption",{get:function(){var e=this,t=this.props.options,n=void 0===t?[]:t;return Object(u.b)(n,(function(t){return t.key===e.state.keyChecked}))},enumerable:!0,configurable:!0}),t.prototype.componentDidUpdate=function(e,t){if(e!==this.props){var n=this._getKeyChecked(this.props);n!==this._getKeyChecked(e)&&this.setState({keyChecked:n})}},t.prototype.render=function(){var e=this,t=this.props,n=t.className,o=t.theme,s=t.styles,l=t.options,c=void 0===l?[]:l,u=t.label,p=t.required,m=t.disabled,h=t.name,f=this.state,g=f.keyChecked,b=f.keyFocused,v=Object(d.d)(this.props,d.c,["onChange","className","required"]),y=x(s,{theme:o,className:n,optionsContainIconOrImage:c.some((function(e){return!(!e.iconProps&&!e.imageSrc)}))}),w=this._id+"-label",_=this.props.ariaLabelledBy||(u?w:this.props["aria-labelledby"]);return i.createElement("div",Object(r.a)({className:y.applicationRole},v),i.createElement("div",Object(r.a)({className:y.root,role:"radiogroup"},_&&{"aria-labelledby":_}),u&&i.createElement(a.a,{className:y.label,required:p,id:w,disabled:m},u),i.createElement("div",{className:y.flexContainer},c.map((function(t){var n=Object(r.a)(Object(r.a)({},t),{focused:t.key===b,checked:t.key===g,disabled:t.disabled||m,id:e._getOptionId(t),labelId:e._labelId+"-"+t.key,name:h||e._id,required:p});return i.createElement(S,Object(r.a)({key:t.key,onBlur:e._onBlur,onFocus:e._onFocus(t.key),onChange:e._onChange(t.key)},n))})))))},t.prototype.focus=function(){var e=this.props.options,t=void 0===e?[]:e,n=this.checkedOption||t.filter((function(e){return!e.disabled}))[0],o=n&&document.getElementById(this._getOptionId(n));o&&o.focus()},t.prototype._onFocus=function(e){var t=this;return this._focusCallbacks[e]||(this._focusCallbacks[e]=function(n,o){t.setState({keyFocused:e})}),this._focusCallbacks[e]},t.prototype._onChange=function(e){var t=this;return this._changeCallbacks[e]||(this._changeCallbacks[e]=function(n,o){var r=t.props,i=r.onChanged,a=r.onChange;O(t.props)||t.setState({keyChecked:e});var s=Object(u.b)(t.props.options||[],(function(t){return t.key===e}));a?a(n,s):i&&i(s,n)}),this._changeCallbacks[e]},t.prototype._getKeyChecked=function(e){if(void 0!==e.selectedKey)return e.selectedKey;var t=e.options,n=(void 0===t?[]:t).filter((function(e){return e.checked}));return n[0]&&n[0].key},t.prototype._getOptionId=function(e){return this._id+"-"+e.key},t}(i.Component);function O(e){return Object(p.a)(e,"selectedKey")}var I={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},T=Object(o.a)(k,(function(e){var t=e.className,n=e.optionsContainIconOrImage,o=e.theme,r=Object(y.x)(I,o);return{applicationRole:t,root:[r.root,o.fonts.medium,{display:"block"}],flexContainer:[r.flexContainer,n&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}}),void 0,{scope:"ChoiceGroup"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return R}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(241),l=n(40),c=n(59),u=n(111),d=n(54),p=n(112),m=n(83),h=n(247),f=n(14),g=f.c.durationValue2,b={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},v=n(262),y=n(255),w=n(240),_=n(43),C=n(21),E=n(79),S=n(58),x=Object(S.b)((function(e,t){return{root:Object(f.F)(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}})),k=n(87),O={start:"touchstart",move:"touchmove",stop:"touchend"},I={start:"mousedown",move:"mousemove",stop:"mouseup"},T=function(e){function t(t){var n=e.call(this,t)||this;return n._currentEventType=I,n._events=[],n._onMouseDown=function(e){var t=i.Children.only(n.props.children).props.onMouseDown;return t&&t(e),n._currentEventType=I,n._onDragStart(e)},n._onMouseUp=function(e){var t=i.Children.only(n.props.children).props.onMouseUp;return t&&t(e),n._currentEventType=I,n._onDragStop(e)},n._onTouchStart=function(e){var t=i.Children.only(n.props.children).props.onTouchStart;return t&&t(e),n._currentEventType=O,n._onDragStart(e)},n._onTouchEnd=function(e){var t=i.Children.only(n.props.children).props.onTouchEnd;t&&t(e),n._currentEventType=O,n._onDragStop(e)},n._onDragStart=function(e){if("number"==typeof e.button&&0!==e.button)return!1;if(!(n.props.handleSelector&&!n._matchesSelector(e.target,n.props.handleSelector)||n.props.preventDragSelector&&n._matchesSelector(e.target,n.props.preventDragSelector))){n._touchId=n._getTouchId(e);var t=n._getControlPosition(e);if(void 0!==t){var o=n._createDragDataFromPosition(t);n.props.onStart&&n.props.onStart(e,o),n.setState({isDragging:!0,lastPosition:t}),n._events=[Object(k.a)(document.body,n._currentEventType.move,n._onDrag,!0),Object(k.a)(document.body,n._currentEventType.stop,n._onDragStop,!0)]}}},n._onDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=n._getControlPosition(e);if(t){var o=n._createUpdatedDragData(n._createDragDataFromPosition(t)),r=o.position;n.props.onDragChange&&n.props.onDragChange(e,o),n.setState({position:r,lastPosition:t})}},n._onDragStop=function(e){if(n.state.isDragging){var t=n._getControlPosition(e);if(t){var o=n._createDragDataFromPosition(t);n.setState({isDragging:!1,lastPosition:void 0}),n.props.onStop&&n.props.onStop(e,o),n.props.position&&n.setState({position:n.props.position}),n._events.forEach((function(e){return e()}))}}},n.state={isDragging:!1,position:n.props.position||{x:0,y:0},lastPosition:void 0},n}return Object(r.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=i.Children.only(this.props.children),t=e.props,n=this.props.position,o=this.state,a=o.position,s=o.isDragging,l=a.x,c=a.y;return n&&!s&&(l=n.x,c=n.y),i.cloneElement(e,{style:Object(r.a)(Object(r.a)({},t.style),{transform:"translate("+l+"px, "+c+"px)"}),className:x(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}(i.Component),P=n(162),D={eventBubblingEnabled:!1},M=Object(a.a)(),A=function(e){function t(t){var n=e.call(this,t)||this;n._focusTrapZone=i.createRef(),n._allowScrollOnModal=function(e){e?n._allowTouchBodyScroll?Object(s.a)(e,n._events):Object(s.b)(e,n._events):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onModalContextMenuClose=function(){n.setState({isModalMenuOpen:!1})},n._onModalClose=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1,isOpen:!1,x:0,y:0}),n.props.dragOptions&&n._hasRegisteredKeyUp&&n._events.off(window,"keyup",n._onKeyUp,!0),n.props.onDismissed&&n.props.onDismissed()},n._onDragStart=function(){n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1})},n._onDrag=function(e,t){var o=n.state,r=o.x,i=o.y;n.setState({x:r+t.delta.x,y:i+t.delta.y})},n._onDragStop=function(){n.focus()},n._onKeyUp=function(e){e.altKey&&e.ctrlKey&&e.keyCode===l.a.space&&Object(c.a)(n._scrollableContent,e.target)&&(n.setState({isModalMenuOpen:!n.state.isModalMenuOpen}),e.preventDefault(),e.stopPropagation())},n._onKeyDown=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===l.a.space)return e.preventDefault(),void e.stopPropagation();if(n.state.isModalMenuOpen&&(e.altKey||e.keyCode===l.a.escape)&&n.setState({isModalMenuOpen:!1}),!n.state.isInKeyboardMoveMode||e.keyCode!==l.a.escape&&e.keyCode!==l.a.enter||(n.setState({isInKeyboardMoveMode:!1}),e.preventDefault(),e.stopPropagation()),n.state.isInKeyboardMoveMode){var t=!0,o=n._getMoveDelta(e);switch(e.keyCode){case l.a.escape:n.setState({x:n._lastSetX,y:n._lastSetY});case l.a.enter:n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1});break;case l.a.up:n.setState({y:n.state.y-o});break;case l.a.down:n.setState({y:n.state.y+o});break;case l.a.left:n.setState({x:n.state.x-o});break;case l.a.right:n.setState({x:n.state.x+o});break;default:t=!1}t&&(e.preventDefault(),e.stopPropagation())}},n._onEnterKeyboardMoveMode=function(){n._lastSetX=n.state.x,n._lastSetY=n.state.y,n.setState({isInKeyboardMoveMode:!0,isModalMenuOpen:!1}),n._events.on(window,"keydown",n._onKeyDown,!0)},n._onExitKeyboardMoveMode=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1}),n._events.off(window,"keydown",n._onKeyDown,!0)},n._registerForKeyUp=function(){n._hasRegisteredKeyUp||(n._events.on(window,"keyup",n._onKeyUp,!0),n._hasRegisteredKeyUp=!0)},n._async=new u.a(n),n._events=new d.a(n),Object(P.a)(n),Object(p.a)("Modal",t,{onLayerDidMount:"layerProps.onLayerDidMount"}),n.state={id:Object(m.a)("Modal"),isOpen:t.isOpen,isVisible:t.isOpen,hasBeenOpened:t.isOpen,x:0,y:0},n._lastSetX=0,n._lastSetY=0;var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,n}return Object(r.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){if(clearTimeout(this._onModalCloseTimer),e.isOpen)if(this.state.isOpen){if(this.setState({hasBeenOpened:!0,isVisible:!0}),e.topOffsetFixed){var t=document.getElementsByClassName("ms-Dialog-main"),n=void 0;t.length>0&&(n=t[0].getBoundingClientRect(),this.setState({modalRectangleTop:n.top}))}}else this.setState({isOpen:!0}),e.dragOptions&&this._registerForKeyUp();!e.isOpen&&this.state.isOpen&&(this._onModalCloseTimer=this._async.setTimeout(this._onModalClose,1e3*parseFloat(g)),this.setState({isVisible:!1}))},t.prototype.componentDidMount=function(){this.state.isOpen&&this.state.isVisible&&this._registerForKeyUp()},t.prototype.componentDidUpdate=function(e,t){e.isOpen||t.isVisible||this.setState({isVisible:!0})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.containerClassName,o=e.scrollableContentClassName,a=e.elementToFocusOnDismiss,s=e.firstFocusableSelector,l=e.forceFocusInsideTrap,c=e.ignoreExternalFocusing,u=e.isBlocking,d=e.isClickableOutsideFocusTrap,p=e.isDarkOverlay,m=e.onDismiss,f=e.layerProps,g=e.overlay,b=e.responsiveMode,S=e.titleAriaId,x=e.styles,k=e.subtitleAriaId,O=e.theme,I=e.topOffsetFixed,P=e.onLayerDidMount,A=e.isModeless,R=e.dragOptions,N=this.state,L=N.isOpen,j=N.isVisible,F=N.hasBeenOpened,B=N.modalRectangleTop,W=N.x,z=N.y,H=N.isInKeyboardMoveMode;if(!L)return null;var U=void 0===f?"":f.className,V=M(x,{theme:O,className:t,containerClassName:n,scrollableContentClassName:o,isOpen:L,isVisible:j,hasBeenOpened:F,modalRectangleTop:B,topOffsetFixed:I,isModeless:A,layerClassName:U,isDefaultDragHandle:R&&!R.dragHandleSelector}),G=Object(r.a)(Object(r.a)(Object(r.a)({},D),this.props.layerProps),{onLayerDidMount:f&&f.onLayerDidMount?f.onLayerDidMount:P,insertFirst:A,className:V.layer}),K=i.createElement(h.a,{componentRef:this._focusTrapZone,className:V.main,elementToFocusOnDismiss:a,isClickableOutsideFocusTrap:A||d||!u,ignoreExternalFocusing:c,forceFocusInsideTrap:A?!A:l,firstFocusableSelector:s,focusPreviouslyFocusedInnerElement:!0,onBlur:H?this._onExitKeyboardMoveMode:void 0},R&&H&&i.createElement("div",{className:V.keyboardMoveIconContainer},R.keyboardMoveIconProps?i.createElement(E.a,Object(r.a)({},R.keyboardMoveIconProps)):i.createElement(E.a,{iconName:"move",className:V.keyboardMoveIcon})),i.createElement("div",{ref:this._allowScrollOnModal,className:V.scrollableContent,"data-is-scrollable":!0},R&&this.state.isModalMenuOpen&&i.createElement(R.menu,{items:[{key:"move",text:R.moveMenuItemText,onClick:this._onEnterKeyboardMoveMode},{key:"close",text:R.closeMenuItemText,onClick:this._onModalClose}],onDismiss:this._onModalContextMenuClose,alignTargetEdge:!0,coverTarget:!0,directionalHint:C.a.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:this._scrollableContent}),this.props.children));return b>=_.a.small?i.createElement(y.a,Object(r.a)({},G),i.createElement(w.a,{role:A||!u?"dialog":"alertdialog","aria-modal":!A,ariaLabelledBy:S,ariaDescribedBy:k,onDismiss:m,shouldRestoreFocus:!c},i.createElement("div",{className:V.root},!A&&i.createElement(v.a,Object(r.a)({isDarkThemed:p,onClick:u?void 0:m,allowTouchBodyScroll:this._allowTouchBodyScroll},g)),R?i.createElement(T,{handleSelector:R.dragHandleSelector||"."+V.main.split(" ")[0],preventDragSelector:"button",onStart:this._onDragStart,onDragChange:this._onDrag,onStop:this._onDragStop,position:{x:W,y:z}},K):K))):null},t.prototype.focus=function(){this._focusTrapZone.current&&this._focusTrapZone.current.focus()},t.prototype._getMoveDelta=function(e){var t=10;return e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1),t},t.defaultProps={isOpen:!1,isDarkOverlay:!0,isBlocking:!1,className:"",containerClassName:""},t=Object(r.b)([_.b],t)}(i.Component),R=Object(o.a)(A,(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,p=e.layerClassName,m=e.isDefaultDragHandle,h=c.palette,v=c.effects,y=c.fonts,w=Object(f.x)(b,c);return{root:[w.root,y.medium,{backgroundColor:"transparent",position:d?"absolute":"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+g},u&&s&&{alignItems:"flex-start"},i&&w.isOpen,a&&{opacity:1,pointerEvents:"auto"},n],main:[w.main,{boxShadow:v.elevation64,borderRadius:v.roundedCorner2,backgroundColor:h.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?f.q.Layer:void 0},u&&s&&{top:l},m&&{cursor:"move"},o],scrollableContent:[w.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:window.innerHeight},t)},r],layer:d&&[p,w.layer,{position:"static",width:"unset",height:"unset"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:y.xLargePlus.fontSize,width:"24px"}}}),void 0,{scope:"Modal"})},function(e,t,n){"use strict";n.r(t);var o,r=n(0),i=n(39),a=n(140),s=n(141),l=n(62),c=n(34),u=n(16),d=n.n(u),p=n(147),m=n(260),h=n(210),f=n(166),g=n(73),b=n(72),v=n(254),y=n(1),w=n(158),_=n(4),C=n(150),E=n(264),S=n(20),x=n(12),k=n(30),O=n(120),I=n(57),T=n(86),P=n(159),D=n(151),M=n(156),A=n(257),R=n(263),N=n(35),L=n(152),j=n(11),F=n(157),B=n(3),W=n(53),z=n(31),H=n(154),U=n(155),V=n(7),G=n(44),K=function(e){var t=e.toggleWpoHealthMessages,n=r.useState(""),o=n[0],i=n[1],a=r.useState(""),s=a[0],l=a[1],c=r.useState("features"),u=c[0],d=c[1];r.useEffect((function(){Object(j.e)("latest-news",!0).then((function(e){e instanceof Error?console.log(e.message):i(e)})),Object(j.e)("change-log",!0).then((function(e){e instanceof Error?console.log(e.message):l(e)}))}),[]);var p=function(e,t){d(t),e.preventDefault(),e.stopPropagation()};return r.createElement(r.Fragment,null,r.createElement("div",{className:B.wpo365WzPage},r.createElement("div",{className:B.wpo365WzSupportMenuRowifier},r.createElement("div",{className:B.wpo365WzPageTitle},r.createElement("h3",null,"WordPress + Azure AD / Microsoft 365 Dashboard")),r.createElement(W.a,null),r.createElement(z.a,null)),r.createElement("div",{className:B.wpo365WzMain},r.createElement("table",{className:B.wpo365WzTable},r.createElement("colgroup",null,r.createElement("col",{style:{width:"64%"}}),r.createElement("col",{style:{width:"32%"}})),r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement(k.a,{styles:{root:{marginBottom:"7px"}},horizontal:!0,wrap:!0,tokens:{childrenGap:15}},r.createElement(b.a,{primary:"features"==u,text:"Features",onClick:function(e){return p(e,"features")}}),r.createElement(b.a,{primary:"insights"==u,text:"Insights",onClick:function(e){return p(e,"insights")}}),r.createElement(b.a,{text:"WPO365 Health Messages",onClick:t})))),r.createElement("tr",null,r.createElement("td",null,"features"==u?r.createElement(H.a,{mailDashboard:!0}):r.createElement(U.a,null)),r.createElement("td",null,r.createElement(k.a,{horizontal:!0,wrap:!0,tokens:{childrenGap:15}},r.createElement(k.a,{style:V.i},r.createElement(k.a.Item,{grow:0},r.createElement("div",{style:V.e},r.createElement("h3",{style:{color:"white",textAlign:"center"}},"NEWS"))),r.createElement(k.a.Item,{grow:1,styles:V.g},r.createElement("div",{style:V.f,dangerouslySetInnerHTML:{__html:o}}))),r.createElement(k.a,{style:V.i},r.createElement(k.a.Item,{grow:0},r.createElement("div",{style:V.e},r.createElement("h3",{style:{color:"white",textAlign:"center"}},"CHANGE LOG"))),r.createElement(k.a.Item,{grow:1,styles:V.g},r.createElement("div",{style:V.f,dangerouslySetInnerHTML:{__html:s}})))))),r.createElement("tr",null,r.createElement("td",{colSpan:2},r.createElement(G.a,null))))))))},q=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Z=function(){return(Z=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)},X=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())}))},Y=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object(v.a)();var Q={root:{minWidth:0,padding:"0 4px",alignSelf:"stretch",height:"auto",backgroundColor:"#f1f1f1"},rootHovered:{textDecoration:"underline"},rootChecked:{textDecoration:"underline"}},$=function(e){function t(t){var n=e.call(this,t)||this;return n.componentDidMount=function(){n.props.settings&&n.init()},n.componentDidUpdate=function(e,t){e.settings!=n.props.settings&&n.props.settings&&n.init()},n.init=function(){n.setState({pivotItems:n.getPivotItems(),visibleMenuItems:n.getVisibleMenuItems(),invisbleMenuItems:n.getInvisibleMenuItems(),showLicensePanel:n.props.env.props.licNotices&&!!Object(j.g)(n.props.env.props.licNotices,!1)&&!sessionStorage.getItem("wpo365HideLicenseNotice"),showWpoHealthMessages:n.props.env.props.wpoHealthMessages&&!!Object(j.g)(n.props.env.props.wpoHealthMessages,!1)},(function(){return n.locationHashChanged(void 0)}))},n.locationHashChanged=function(e){return X(n,void 0,void 0,(function(){var e,t,n,o,r;return Y(this,(function(i){switch(i.label){case 0:if(e=this.props.onNavigateHandlers,t=this.state.pivotSelectedKey,n=window.location.hash?window.location.hash.slice(1):"",o=Object.keys(y.n),!(n&&o.indexOf(n)>-1&&t!=n))return[3,5];r=0,i.label=1;case 1:return r<e.length?[4,e[r](n)]:[3,4];case 2:if(!i.sent())return[2];i.label=3;case 3:return r++,[3,1];case 4:this.setState({pivotSelectedKey:n}),i.label=5;case 5:return[2]}}))}))},n.getPivotItems=function(){var e=[];return e.push(r.createElement(p.a,{itemKey:y.n.dashboard,headerText:"Dashboard",headerButtonProps:{"data-order":1,"data-title":"Dashboard"}},r.createElement(K,{toggleWpoHealthMessages:function(){return n.setState({showWpoHealthMessages:!n.state.showWpoHealthMessages})}}))),e.push(r.createElement(p.a,{itemKey:y.n.mail,headerText:"Mail",headerButtonProps:{"data-order":1,"data-title":"Mail"}},r.createElement(C.a,null))),e.push(r.createElement(p.a,{itemKey:y.n.debug,headerText:"Debug",headerButtonProps:{"data-order":3,"data-title":"Debug"}},r.createElement(x.a.Consumer,null,(function(e){return r.createElement(w.a,Z({},e))})))),e.push(r.createElement(p.a,{itemKey:y.n.importExport,headerText:"Import / Export",headerButtonProps:{"data-order":4,"data-title":"Import / Export"}},r.createElement(P.a,null))),e.push(r.createElement(p.a,{itemKey:y.n.miscellaneous,headerText:"Miscellaneous",headerButtonProps:{"data-order":5,"data-title":"Miscellaneous"}},r.createElement(x.a.Consumer,null,(function(e){return r.createElement(D.a,Z({},e))})))),e.push(r.createElement(p.a,{itemKey:y.n.mailLogViewer,headerText:"Mail Log Viewer",headerButtonProps:{"data-order":6,"data-title":"Mail Log Viewer"}},r.createElement(x.a.Consumer,null,(function(e){return r.createElement(M.a,Z({},e,{closeModal:function(){return location.hash="mail"}}))})))),e},n.getVisibleMenuItems=function(){var e=[];return e.push({key:y.n.dashboard,name:"Dashboard",onClick:function(){return n.activateTab(y.n.dashboard)}}),e.push({key:y.n.mail,name:"Mail",onClick:function(){return n.activateTab(y.n.mail)}}),e},n.getInvisibleMenuItems=function(){var e=[];return e.push({key:y.n.debug,name:"Debug",onClick:function(){return n.activateTab(y.n.debug)}}),e.push({key:y.n.importExport,name:"Import / Export",onClick:function(){return n.activateTab(y.n.importExport)}}),e.push({key:y.n.miscellaneous,name:"Miscellaneous",onClick:function(){return n.activateTab(y.n.miscellaneous)}}),e},n.activateTab=function(e){location.hash=e},n.onRenderOverflowItem=function(e){return e.onRender?e.onRender(e):r.createElement(f.a,{styles:Q,className:window.location.hash.indexOf(e.key)>0?"wpo365WzActiveMenu":void 0,iconProps:{iconName:e.icon},menuProps:e.subMenuProps,text:e.name,onClick:e.onClick})},n.onRenderOverflowButton=function(e){return r.createElement(f.a,{styles:Q,menuIconProps:{iconName:"More"},menuProps:{items:e}})},n.dismissWpoHealthMessages=function(){return X(n,void 0,void 0,(function(){var e,t,n;return Y(this,(function(o){switch(o.label){case 0:this.setState({saveStatus:y.p.saving}),(e=new FormData).append("action","wpo365_dismiss_wpo_health_messages"),e.append("nonce",this.props.env.nonce),e.append("ina",window.wpo365.wizard.props.ina),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,d.a.post(this.props.env.wpAjaxAdminUrl,e)];case 2:return t=o.sent(),[3,4];case 3:return n=o.sent(),this.setState({wpoHealthMessagesError:n.message}),[2];case 4:return t.status>=200&&t.status<300&&t.data&&t.data.status?"OK"==t.data.status?(this.setState({saveStatus:y.p.initial,showWpoHealthMessages:!1}),this.props.wpoHealthMessagesDismissed(),[2]):(this.setState({wpoHealthMessagesError:t.data.message}),[2]):(this.setState({wpoHealthMessagesError:"Error occured (HTTP status "+t.status+")"}),[2])}}))}))},n.refreshWpoHealthMessage=function(){return X(n,void 0,void 0,(function(){var e,t,n;return Y(this,(function(o){switch(o.label){case 0:this.setState({saveStatus:y.p.saving}),(e=new FormData).append("action","wpo365_get_wpo_health_messages"),e.append("nonce",this.props.env.nonce),e.append("ina",window.wpo365.wizard.props.ina),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,d.a.post(this.props.env.wpAjaxAdminUrl,e)];case 2:return t=o.sent(),[3,4];case 3:return n=o.sent(),this.setState({wpoHealthMessagesError:n.message}),[2];case 4:return t.status>=200&&t.status<300&&t.data&&t.data.status?"OK"==t.data.status?(this.setState({saveStatus:y.p.initial}),t.data.result&&this.props.wpoHealthMessagesUpdated(t.data.result),[2]):(this.setState({wpoHealthMessagesError:t.data.message}),[2]):(this.setState({wpoHealthMessagesError:"Error occured (HTTP status "+t.status+")"}),[2])}}))}))},n.state={wpoHealthMessagesError:"",invisbleMenuItems:[],pivotItems:[],pivotSelectedKey:y.n.dashboard,saveStatus:y.p.initial,showLicensePanel:!1,showWpoHealthMessages:!1,visibleMenuItems:[]},window.addEventListener("hashchange",n.locationHashChanged,!1),n}return q(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.appStatus,o=t.lastErrorMessage,i=t.updateAppStatus,a=t.updateLastErrorMessage,s=this.state,u=s.pivotItems,d=s.visibleMenuItems,p=s.invisbleMenuItems,f=s.pivotSelectedKey;return r.createElement(r.Fragment,null,r.createElement(_.a,null),window.location.href.indexOf("/network/")>-1&&r.createElement("div",{style:{width:"calc(100% - 35px)",margin:"15px 15px 15px 0px"}},r.createElement(E.a,{messageBarType:S.a.warning,isMultiline:!1,onDismiss:function(){},dismissButtonAriaLabel:"Close"},"You are editing the central WPO365 | MS GRAPH MAILER network configuration.")),Object.keys(this.props.env.props.addOns).length>0&&this.props.env.props.wpConfigAad&&r.createElement("div",{style:{width:"calc(100% - 35px)",margin:"15px 15px 15px 0px"}},r.createElement(E.a,{messageBarType:S.a.warning,isMultiline:!1,onDismiss:function(){},dismissButtonAriaLabel:"Close"},"WPO365 AAD options defined in WP-config.php will be used instead. See"," ",r.createElement("a",{href:"https://docs.wpo365.com/article/137-use-wp-config-for-aad-secrets",target:"_blank"},"online documentation")," ","for details.")),Object.keys(this.props.env.props.addOns).length>0&&this.props.env.props.wpConfigOverrides&&r.createElement("div",{style:{width:"calc(100% - 35px)",margin:"15px 15px 15px 0px"}},r.createElement(E.a,{messageBarType:S.a.warning,isMultiline:!1,onDismiss:function(){},dismissButtonAriaLabel:"Close"},"WPO365 non-AAD options defined in WP-config.php will be used instead. See"," ",r.createElement("a",{href:"https://docs.wpo365.com/article/172-use-wp-config-php-to-override-some-config-options",target:"_blank"},"online documentation")," ","for details.")),r.createElement(k.a,null,r.createElement(h.a,{items:d,overflowItems:p,onRenderOverflowButton:this.onRenderOverflowButton,onRenderItem:this.onRenderOverflowItem,className:"pintraOverflowMenu"}),r.createElement(m.a,{selectedKey:f},u),r.createElement(O.a,{hidden:"working"!=n,dialogContentProps:{type:I.a.normal,title:"Working ..."},modalProps:{isBlocking:!0,styles:{main:{maxWidth:450}}}},r.createElement("br",null),r.createElement(l.a,{size:c.a.medium})),r.createElement(O.a,{hidden:"errors"!=n,onDismiss:function(){i("initial"),a(null)},dialogContentProps:{type:I.a.normal,title:"Error",subText:o},modalProps:{isBlocking:!0,styles:{main:{maxWidth:450}}}},r.createElement(T.a,null,r.createElement(g.a,{onClick:function(){i("initial"),a(null)},text:"Close"}))),r.createElement(A.a,{isOpen:this.state.showLicensePanel,isBlocking:!0,styles:{main:{width:"50vw"}}},r.createElement(L.a,{dismiss:function(){return e.setState({showLicensePanel:!1})}})),r.createElement(R.a,{type:N.a.medium,isOpen:this.state.showWpoHealthMessages,onDismiss:function(){return e.setState({showWpoHealthMessages:!1})},headerText:"WPO365 Health Messages",closeButtonAriaLabel:"Close",onRenderFooterContent:function(){return r.createElement(k.a,{horizontal:!0,verticalAlign:"center",tokens:{childrenGap:10}},r.createElement(g.a,{onClick:function(){return e.setState({showWpoHealthMessages:!1})}},"Close"),r.createElement(b.a,{onClick:function(){return e.dismissWpoHealthMessages()}},"Dismiss all"),e.state.saveStatus==y.p.saving&&r.createElement(l.a,{size:c.a.medium}))},isFooterAtBottom:!0},r.createElement(F.a,{refreshWpoHealthMessages:function(){return e.refreshWpoHealthMessage()},dismiss:function(){return e.setState({showWpoHealthMessages:!1})}}))))},t}(r.Component),J=n(13),ee=function(){return(ee=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)},te=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),r=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,r++)o[r]=i[a];return o},ne=n(153),oe=function(){return(oe=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object(a.polyfill)();try{var re={nonce:window.wpo365.wizard.nonce,wpAjaxAdminUrl:window.wpo365.wizard.wpAjaxAdminUrl,props:oe(oe({},window.wpo365.wizard.props),{addOns:Object(j.g)(window.wpo365.wizard.props.addOns,{})})};i.render(r.createElement(s.a,{env:re},r.createElement((function(e){var t=r.useState("initial"),n=t[0],o=t[1],i=r.useState(e.env),a=i[0],s=i[1],u=r.useState(null),d=u[0],p=u[1],m=r.useState(void 0),h=m[0],f=m[1],g=r.useState([]),b=g[0],v=g[1],y=r.useRef();r.useEffect((function(){y.current=[],J.a.getSettings(a).then((function(e){e.noSso=!0,f(e)}))}),[]);return r.createElement(x.a.Provider,{value:{addOnNavigateHandler:function(e){-1==Object(j.d)(y.current,(function(t){return t.toString()==e.toString()}))&&(y.current=te(y.current,[e]),v(y.current))},appStatus:n,env:a,lastErrorMessage:d,onNavigateHandlers:b,removeOnNavigateHandler:function(e){var t=Object(j.d)(y.current,(function(t){return t.toString()==e.toString()}));t>-1&&(y.current.splice(t,1),v(y.current))},settings:h,updateAppStatus:o,updateLastErrorMessage:p,updateSettings:f,wpoHealthMessagesDismissed:function(){var e=ee({},a);e.props.wpoHealthMessages="false",s(e)},wpoHealthMessagesUpdated:function(e){if(e){var t=ee({},a);t.props.wpoHealthMessages=e,s(t)}}}},h&&r.createElement(x.a.Consumer,null,(function(e){return r.createElement($,ee({},e))})),!h&&r.createElement("div",{style:{position:"absolute",top:"50%",left:"50%",marginTop:"-14px",marginLeft:"-14px",width:"100px",height:"100px;"}},r.createElement(l.a,{size:c.a.large})))}),{env:re}),r.createElement(ne.a,null)),document.getElementById("wpo365Wizard"))}catch(e){var ie=r.createElement(r.Fragment,null,r.createElement("h1",null,"Oops, fatal error occurred"),r.createElement("p",null,"The WPO365 plugin's wizard encountered the following fatal error: ",r.createElement("strong",null,e.message)),r.createElement("p",null,"Sorry for any inconvenience and please feel free to report this error to ",r.createElement("a",{href:"mailto:support@wpo365.com"},"support@wpo365.com")," (please include a screenshot)."),r.createElement("p",null,"- Marco van Wieren | Downloads by van Wieren | ",r.createElement("a",{href:"https://www.wpo365.com/"},"https://www.wpo365.com/")));i.render(ie,document.getElementById("wpo365Wizard"))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var o=n(236),r=n(2),i=n(0),a=n(261),s=n(79),l=n(237),c=n(162),u=n(111),d=n(83),p=n(245);var m=n(82),h=n(203),f=n(68),g=Object(l.a)(),b=function(e){function t(t){var n=e.call(this,t)||this;n._textElement=i.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?i.createElement(a.a,{required:o,htmlFor:n._id,styles:r,disabled:e.disabled,id:n._labelId},e.label):null},n._onRenderDescription=function(e){return e.description?i.createElement("span",{className:n._classNames.description},e.description):null},n._onInputChange=function(e){var t,o=e.target.value;void 0!==o&&o!==n._lastChangeValue&&(n._lastChangeValue=o,e.persist(),n.setState((function(e,r){var i=v(r,e)||"";return(t=o===i)||n._isControlled?null:{uncontrolledValue:o}}),(function(){var r=n.props.onChange;!t&&r&&r(e,o)})))},Object(c.a)(n),n._async=new u.a(n),n._fallbackId=Object(d.a)("TextField"),n._descriptionId=Object(d.a)("TextFieldDescription"),n._labelId=Object(d.a)("TextFieldLabel"),n._warnControlledUsage();var o=t.defaultValue,r=void 0===o?"":o;return"number"==typeof r&&(r=String(r)),n.state={uncontrolledValue:n._isControlled?void 0:r,isFocused:!1,errorMessage:""},n._delayedValidate=n._async.debounce(n._validate,n.props.deferredValidationTime),n._lastValidation=0,n}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return v(this.props,this.state)},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},t.prototype.componentDidUpdate=function(e,t,n){var o=this.props,r=(n||{}).selection,i=void 0===r?[null,null]:r,a=i[0],s=i[1];!!e.multiline!=!!o.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==s&&a>=0&&s>=0&&this.setSelectionRange(a,s));var l=v(e,t),c=this.value;l!==c&&(this._warnControlledUsage(e),this.state.errorMessage&&!o.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),this._lastChangeValue=void 0,y(o)&&this._delayedValidate(c))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,o=e.disabled,a=e.iconProps,l=e.inputClassName,c=e.label,u=e.multiline,d=e.required,m=e.underlined,h=e.prefix,f=e.resizable,b=e.suffix,v=e.theme,y=e.styles,w=e.autoAdjustHeight,_=e.onRenderPrefix,C=void 0===_?this._onRenderPrefix:_,E=e.onRenderSuffix,S=void 0===E?this._onRenderSuffix:E,x=e.onRenderLabel,k=void 0===x?this._onRenderLabel:x,O=e.onRenderDescription,I=void 0===O?this._onRenderDescription:O,T=this.state.isFocused,P=this._errorMessage;return this._classNames=g(y,{theme:v,className:n,disabled:o,focused:T,required:d,multiline:u,hasLabel:!!c,hasErrorMessage:!!P,borderless:t,resizable:f,hasIcon:!!a,underlined:m,inputClassName:l,autoAdjustHeight:w}),i.createElement("div",{className:this._classNames.root},i.createElement("div",{className:this._classNames.wrapper},k(this.props,this._onRenderLabel),i.createElement("div",{className:this._classNames.fieldGroup},(void 0!==h||this.props.onRenderPrefix)&&i.createElement("div",{className:this._classNames.prefix},C(this.props,this._onRenderPrefix)),u?this._renderTextArea():this._renderInput(),a&&i.createElement(s.a,Object(r.a)({className:this._classNames.icon},a)),(void 0!==b||this.props.onRenderSuffix)&&i.createElement("div",{className:this._classNames.suffix},S(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&i.createElement("span",{id:this._descriptionId},I(this.props,this._onRenderDescription),P&&i.createElement("div",{role:"alert"},i.createElement(p.a,null,i.createElement("p",{className:this._classNames.errorMessage},i.createElement("span",{"data-automation-id":"error-message"},P))))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!0,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,Object(m.a)("Warning: 'value' prop on 'TextField' should not be null. Consider using an empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return Object(h.a)(this.props,"value")},enumerable:!0,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return i.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return i.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!0,configurable:!0}),t.prototype._renderTextArea=function(){var e=Object(f.d)(this.props,f.h,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return i.createElement("textarea",Object(r.a)({id:this._id},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=Object(f.d)(this.props,f.g,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return i.createElement("input",Object(r.a)({type:"text",id:this._id,"aria-labelledby":t},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":this.props.ariaLabel,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!y(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}(i.Component);function v(e,t){var n=e.value,o=void 0===n?t.uncontrolledValue:n;return"number"==typeof o?String(o):o}function y(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var w=n(14),_={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};function C(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[w.e]={height:31},e)}]}}}var E=Object(o.a)(b,(function(e){var t,n,o,r,i,a,s,l=e.theme,c=e.className,u=e.disabled,d=e.focused,p=e.required,m=e.multiline,h=e.hasLabel,f=e.borderless,g=e.underlined,b=e.hasIcon,v=e.resizable,y=e.hasErrorMessage,E=e.inputClassName,S=e.autoAdjustHeight,x=l.semanticColors,k=l.effects,O=l.fonts,I=Object(w.x)(_,l),T={background:x.disabledBackground,color:u?x.disabledText:x.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0},P=[O.medium,{color:x.inputPlaceholderText,opacity:1}],D={color:x.disabledText};return{root:[I.root,O.medium,p&&I.required,u&&I.disabled,d&&I.active,m&&I.multiline,f&&I.borderless,g&&I.underlined,w.H,{position:"relative"},c],wrapper:[I.wrapper,g&&[{display:"flex",borderBottom:"1px solid "+(y?x.errorText:x.inputBorder),width:"100%"},u&&{borderBottomColor:x.disabledBackground,selectors:(t={},t[w.e]={borderColor:"GrayText"},t)},!u&&{selectors:{":hover":{borderBottomColor:y?x.errorText:x.inputBorderHovered,selectors:(n={},n[w.e]={borderBottomColor:"Highlight"},n)}}},d&&[{position:"relative"},Object(w.z)(y?x.errorText:x.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[I.fieldGroup,w.H,{border:"1px solid "+x.inputBorder,borderRadius:k.roundedCorner2,background:x.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},m&&{minHeight:"60px",height:"auto",display:"flex"},!d&&!u&&{selectors:{":hover":{borderColor:x.inputBorderHovered,selectors:(o={},o[w.e]={borderColor:"Highlight"},o)}}},d&&!g&&Object(w.z)(y?x.errorText:x.inputFocusBorderAlt,k.roundedCorner2),u&&{borderColor:x.disabledBackground,selectors:(r={},r[w.e]={borderColor:"GrayText"},r),cursor:"default"},f&&{border:"none"},f&&d&&{border:"none",selectors:{":after":{border:"none"}}},g&&{flex:"1 1 0px",border:"none",textAlign:"left"},g&&u&&{backgroundColor:"transparent"},y&&!g&&{borderColor:x.errorText,selectors:{"&:hover":{borderColor:x.errorText}}},!h&&p&&{selectors:(i={":before":{content:"'*'",color:x.errorText,position:"absolute",top:-5,right:-10}},i[w.e]={selectors:{":before":{right:-14}}},i)}],field:[O.medium,I.field,w.H,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:x.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:{"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}}},Object(w.A)(P),m&&!v&&[I.unresizable,{resize:"none"}],m&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},m&&S&&{overflow:"hidden"},b&&{paddingRight:24},m&&b&&{paddingRight:40},u&&[{backgroundColor:x.disabledBackground,color:x.disabledText,borderColor:x.disabledBackground},Object(w.A)(D)],g&&{textAlign:"left"},d&&!f&&{selectors:(a={},a[w.e]={paddingLeft:11,paddingRight:11},a)},d&&m&&!f&&{selectors:(s={},s[w.e]={paddingTop:4},s)},E],icon:[m&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:w.h.medium,lineHeight:18},u&&{color:x.disabledText}],description:[I.description,{color:x.bodySubtext,fontSize:O.xSmall.fontSize}],errorMessage:[I.errorMessage,w.a.slideDownIn20,O.small,{color:x.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[I.prefix,T],suffix:[I.suffix,T],subComponentStyles:{label:C(e)}}}),void 0,{scope:"TextField"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var o,r,i=n(236),a=n(2),s=n(0),l=n(237),c=n(162),u=n(83),d=n(68),p=n(82),m=n(40),h=n(248),f=n(265),g=n(49),b=n(147);!function(e){e[e.links=0]="links",e[e.tabs=1]="tabs"}(o||(o={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(r||(r={}));var v=n(79),y=Object(l.a)(),w=function(e){function t(t){var n=e.call(this,t)||this;n._focusZone=s.createRef(),n._renderPivotLink=function(e,t,o){var r,i=t.itemKey,l=t.headerButtonProps,c=e.keyToTabIdMapping[i],u=t.onRenderItemLink,d=o===i;r=u?u(t,n._renderLinkContent):n._renderLinkContent(t);var p=t.headerText||"";return p+=t.itemCount?" ("+t.itemCount+")":"",p+=t.itemIcon?" xx":"",s.createElement(h.a,Object(a.a)({},l,{id:c,key:i,className:d?n._classNames.linkIsSelected:n._classNames.link,onClick:n._onLinkClick.bind(n,i),onKeyPress:n._onKeyPress.bind(n,i),ariaLabel:t.ariaLabel,role:"tab","aria-selected":d,name:t.headerText,keytipProps:t.keytipProps,"data-content":p}),r)},n._renderLinkContent=function(e){var t=e.itemCount,o=e.itemIcon,r=e.headerText,i=n._classNames;return s.createElement("span",{className:i.linkContent},void 0!==o&&s.createElement("span",{className:i.icon},s.createElement(v.a,{iconName:o})),void 0!==r&&s.createElement("span",{className:i.text}," ",e.headerText),void 0!==t&&s.createElement("span",{className:i.count}," (",t,")"))},Object(c.a)(n),n._pivotId=Object(u.a)("Pivot");var o,r=n._getPivotLinks(t).links,i=t.defaultSelectedKey,l=void 0===i?t.initialSelectedKey:i,d=t.defaultSelectedIndex,p=void 0===d?t.initialSelectedIndex:d;return l?o=l:"number"==typeof p?o=r[p].itemKey:r.length&&(o=r[0].itemKey),n.state={selectedKey:o},n}return Object(a.c)(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){var e=this._getPivotLinks(this.props),t=this._getSelectedKey(e),n=Object(d.d)(this.props,d.c);return this._classNames=this._getClassNames(this.props),s.createElement("div",Object(a.a)({role:"toolbar"},n),this._renderPivotLinks(e,t),t&&this._renderPivotItem(e,t))},t.prototype._getSelectedKey=function(e){var t=this.props.selectedKey;if(this._isKeyValid(e,t)||null===t)return t;var n=this.state.selectedKey;return this._isKeyValid(e,n)?n:e.links.length?e.links[0].itemKey:void 0},t.prototype._renderPivotLinks=function(e,t){var n=this,o=e.links.map((function(o){return n._renderPivotLink(e,o,t)}));return s.createElement(f.a,{className:this._classNames.root,role:"tablist",componentRef:this._focusZone,direction:g.a.horizontal},o)},t.prototype._renderPivotItem=function(e,t){if(this.props.headersOnly||!t)return null;var n=e.keyToIndexMapping[t],o=e.keyToTabIdMapping[t];return s.createElement("div",{role:"tabpanel","aria-labelledby":o,className:this._classNames.itemContainer},s.Children.toArray(this.props.children)[n])},t.prototype._getPivotLinks=function(e){var t=this,n={links:[],keyToIndexMapping:{},keyToTabIdMapping:{}};return s.Children.map(s.Children.toArray(e.children),(function(e,o){if(_(e)){var r=e,i=r.props,s=i.linkText,l=Object(a.d)(i,["linkText"]),c=r.props.itemKey||o.toString();n.links.push(Object(a.a)(Object(a.a)({headerText:s},l),{itemKey:c})),n.keyToIndexMapping[c]=o,n.keyToTabIdMapping[c]=t._getTabId(c,o)}else Object(p.a)("The children of a Pivot component must be of type PivotItem to be rendered.")})),n},t.prototype._getTabId=function(e,t){return this.props.getTabId?this.props.getTabId(e,t):this._pivotId+"-Tab"+t},t.prototype._isKeyValid=function(e,t){return null!=t&&void 0!==e.keyToIndexMapping[t]},t.prototype._onLinkClick=function(e,t){t.preventDefault(),this._updateSelectedItem(e,t)},t.prototype._onKeyPress=function(e,t){t.which===m.a.enter&&(t.preventDefault(),this._updateSelectedItem(e))},t.prototype._updateSelectedItem=function(e,t){this.setState({selectedKey:e});var n=this._getPivotLinks(this.props);if(this.props.onLinkClick&&n.keyToIndexMapping[e]>=0){var o=n.keyToIndexMapping[e],r=s.Children.toArray(this.props.children)[o];_(r)&&this.props.onLinkClick(r,t)}},t.prototype._getClassNames=function(e){var t=e.theme,n=e.linkSize===r.large,i=e.linkFormat===o.tabs;return y(e.styles,{theme:t,rootIsLarge:n,rootIsTabs:i})},t}(s.Component);function _(e){return!!e&&"object"==typeof e&&!!e.type&&e.type.name===b.a.name}var C=n(14),E=n(101),S={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"},x=function(e){var t,n,o=e.rootIsLarge,r=e.rootIsTabs,i=e.theme,a=i.semanticColors,s=i.fonts;return[s.medium,{color:a.actionLink,display:"inline-block",lineHeight:44,height:44,marginRight:8,padding:"0 8px",textAlign:"center",position:"relative",backgroundColor:"transparent",border:0,borderRadius:0,selectors:(t={":before":{backgroundColor:"transparent",bottom:0,content:'""',height:2,left:8,position:"absolute",right:8,transition:"left "+C.c.durationValue2+" "+C.c.easeFunction2+",\n                      right "+C.c.durationValue2+" "+C.c.easeFunction2},":after":{color:"transparent",content:"attr(data-content)",display:"block",fontWeight:C.d.bold,height:1,overflow:"hidden",visibility:"hidden"},":hover":{backgroundColor:a.buttonBackgroundHovered,color:a.buttonTextHovered,cursor:"pointer"},":active":{backgroundColor:a.buttonBackgroundPressed,color:a.buttonTextHovered},":focus":{outline:"none"}},t["."+E.a+" &:focus"]={outline:"1px solid "+a.focusBorder},t["."+E.a+" &:focus:after"]={content:"attr(data-content)",position:"relative",border:0},t)},o&&{fontSize:s.large.fontSize},r&&[{marginRight:0,height:44,lineHeight:44,backgroundColor:a.buttonBackground,padding:"0 10px",verticalAlign:"top",selectors:(n={":focus":{outlineOffset:"-1px"}},n["."+E.a+" &:focus::before"]={height:"auto",background:"transparent",transition:"none"},n)}]]},k=Object(i.a)(w,(function(e){var t,n,o,r=e.className,i=e.rootIsLarge,s=e.rootIsTabs,l=e.theme,c=l.semanticColors,u=l.fonts,d=Object(C.x)(S,l);return{root:[d.root,u.medium,C.H,{position:"relative",color:c.link,whiteSpace:"nowrap"},i&&d.rootIsLarge,s&&d.rootIsTabs,r],link:Object(a.e)([d.link],x(e),[s&&{selectors:{"&:hover, &:focus":{color:c.buttonTextCheckedHovered},"&:active, &:hover":{color:c.primaryButtonText,backgroundColor:c.primaryButtonBackground}}}]),linkIsSelected:Object(a.e)([d.link,d.linkIsSelected],x(e),[{fontWeight:C.d.semibold,selectors:(t={":before":{backgroundColor:c.inputBackgroundChecked,selectors:(n={},n[C.e]={backgroundColor:"Highlight"},n)},":hover::before":{left:0,right:0}},t[C.e]={color:"Highlight"},t)},s&&{backgroundColor:c.primaryButtonBackground,color:c.primaryButtonText,fontWeight:C.d.regular,selectors:(o={":before":{backgroundColor:"transparent",transition:"none",position:"absolute",top:0,left:0,right:0,bottom:0,content:'""',height:"auto"},":hover":{backgroundColor:c.primaryButtonBackgroundHovered,color:c.primaryButtonText},"&:active":{backgroundColor:c.primaryButtonBackgroundPressed,color:c.primaryButtonText}},o[C.e]={fontWeight:C.d.semibold,color:"HighlightText",background:"Highlight",MsHighContrastAdjust:"none"},o)}]),linkContent:[d.linkContent,{flex:"0 1 100%",selectors:{"& > * ":{marginLeft:4},"& > *:first-child":{marginLeft:0}}}],text:[d.text,{display:"inline-block",verticalAlign:"top"}],count:[d.count,{display:"inline-block",verticalAlign:"top"}],icon:d.icon}}),void 0,{scope:"Pivot"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(236),r=n(2),i=n(0),a=n(68),s=n(237),l=Object(s.a)({cacheSize:100}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"label":t,o=e.children,s=e.className,c=e.disabled,u=e.styles,d=e.required,p=e.theme,m=l(u,{className:s,disabled:c,required:d,theme:p});return i.createElement(n,Object(r.a)({},Object(a.d)(this.props,a.c),{className:m.root}),o)},t}(i.Component),u=n(14),d=Object(o.a)(c,(function(e){var t,n=e.theme,o=e.className,r=e.disabled,i=e.required,a=n.semanticColors,s=u.d.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[u.e]={color:"GrayText"},t)},i&&{selectors:{"::after":{content:"' *'",color:d,paddingRight:12}}},o]}}),void 0,{scope:"Label"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var o=n(236),r=n(2),i=n(0),a=n(237),s=n(162),l=n(241),c=n(68),u=Object(a.a)(),d=function(e){function t(t){var n=e.call(this,t)||this;Object(s.a)(n);var o=n.props.allowTouchBodyScroll,r=void 0!==o&&o;return n._allowTouchBodyScroll=r,n}return Object(r.c)(t,e),t.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&Object(l.c)()},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&Object(l.d)()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,o=e.theme,a=e.styles,s=Object(c.d)(this.props,c.c),l=u(a,{theme:o,className:n,isDark:t});return i.createElement("div",Object(r.a)({},s,{className:l.root}))},t}(i.Component),p=n(14),m={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},h=Object(o.a)(d,(function(e){var t,n=e.className,o=e.theme,r=e.isNone,i=e.isDark,a=o.palette,s=Object(p.x)(m,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.e]={border:"1px solid WindowText",opacity:0},t)},r&&{visibility:"hidden"},i&&[s.rootDark,{backgroundColor:a.blackTranslucent40}],n]}}),void 0,{scope:"Overlay"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return $}));var o,r=n(236),i=n(2),a=n(0),s=n(167),l=n(255),c=n(262),u=n(240),d=n(237),p=n(241),m=n(206),h=n(111),f=n(54),g=n(162),b=n(112),v=n(83),y=n(118),w=n(68),_=n(59),C=n(247),E=n(35),S=Object(d.a)();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(o||(o={}));var x,k,O,I,T,P=function(e){function t(t){var n=e.call(this,t)||this;n._panel=a.createRef(),n._animationCallback=null,n._hasCustomNavigation=!(!n.props.onRenderNavigation&&!n.props.onRenderNavigationContent),n.dismiss=function(e){n.props.onDismiss&&n.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&n.close()},n._allowScrollOnPanel=function(e){e?n._allowTouchBodyScroll?Object(p.a)(e,n._events):Object(p.b)(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 a.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,l=void 0===i?n._onRenderHeader:i;if(r){var c=null===(t=n._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return a.createElement(a.Fragment,null,!n._hasCustomNavigation&&l(n.props,n._onRenderHeader,n._headerTextId),a.createElement(s.a,{styles:c,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,s=e.headerTextProps,l=void 0===s?{}:s;return r?a.createElement("div",{className:n._classNames.header},a.createElement("div",Object(i.a)({id:o,role:"heading","aria-level":1},l,{className:Object(m.a)(n._classNames.headerText,l.className)}),r)):null},n._onRenderBody=function(e){return a.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?a.createElement("div",{className:n._classNames.footer},a.createElement("div",{className:n._classNames.footerInner},o())):null},n._animateTo=function(e){e===o.open&&n.props.onOpen&&n.props.onOpen(),n._animationCallback=n._async.setTimeout((function(){n.setState({visibility:e}),n._onTransitionComplete()}),200)},n._clearExistingAnimationTimer=function(){null!==n._animationCallback&&n._async.clearTimeout(n._animationCallback)},n._onPanelClick=function(e){n.dismiss(e)},n._onTransitionComplete=function(){n._updateFooterPosition(),n.state.visibility===o.open&&n.props.onOpened&&n.props.onOpened(),n.state.visibility===o.closed&&n.props.onDismissed&&n.props.onDismissed()};var r=n.props.allowTouchBodyScroll,l=void 0!==r&&r;return n._allowTouchBodyScroll=l,n._async=new h.a(n),n._events=new f.a(n),Object(g.a)(n),Object(b.a)("Panel",t,{ignoreExternalFocusing:"focusTrapZoneProps",forceFocusInsideTrap:"focusTrapZoneProps",firstFocusableSelector:"focusTrapZoneProps"}),n.state={isFooterSticky:!1,visibility:o.closed,id:Object(v.a)("Panel")},n}return Object(i.c)(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==o.closed&&t.visibility!==o.animatingClosed?e.isOpen||t.visibility!==o.open&&t.visibility!==o.animatingOpen?null:{visibility:o.animatingClosed}:{visibility:o.animatingOpen}},t.prototype.componentDidMount=function(){this._events.on(window,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:o.animatingOpen})},t.prototype.componentDidUpdate=function(e,t){var n=this._shouldListenForOuterClick(this.props),r=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===o.animatingOpen?this._animateTo(o.open):this.state.visibility===o.animatingClosed&&this._animateTo(o.closed)),n&&!r?this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0):!n&&r&&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,r=e.elementToFocusOnDismiss,s=e.firstFocusableSelector,d=e.focusTrapZoneProps,p=e.forceFocusInsideTrap,m=e.hasCloseButton,h=e.headerText,f=e.headerClassName,g=void 0===f?"":f,b=e.ignoreExternalFocusing,v=e.isBlocking,_=e.isFooterAtBottom,x=e.isLightDismiss,k=e.isHiddenOnDismiss,O=e.layerProps,I=e.overlayProps,T=e.type,P=e.styles,D=e.theme,M=e.customWidth,A=e.onLightDismissClick,R=void 0===A?this._onPanelClick:A,N=e.onRenderNavigation,L=void 0===N?this._onRenderNavigation:N,j=e.onRenderHeader,F=void 0===j?this._onRenderHeader:j,B=e.onRenderBody,W=void 0===B?this._onRenderBody:B,z=e.onRenderFooter,H=void 0===z?this._onRenderFooter:z,U=this.state,V=U.isFooterSticky,G=U.visibility,K=U.id,q=T===E.a.smallFixedNear||T===E.a.customNear,Z=Object(y.a)(D)?q:!q,X=T===E.a.custom||T===E.a.customNear?{width:M}:{},Y=Object(w.d)(this.props,w.c),Q=this.isActive,$=G===o.animatingClosed||G===o.animatingOpen;if(this._headerTextId=h&&K+"-headerText",!Q&&!$&&!k)return null;this._classNames=S(P,{theme:D,className:n,focusTrapZoneClassName:d?d.className:void 0,hasCloseButton:m,headerClassName:g,isAnimating:$,isFooterSticky:V,isFooterAtBottom:_,isOnRightSide:Z,isOpen:Q,isHiddenOnDismiss:k,type:T,hasCustomNavigation:this._hasCustomNavigation});var J,ee=this._classNames,te=this._allowTouchBodyScroll;return v&&Q&&(J=a.createElement(c.a,Object(i.a)({className:ee.overlay,isDarkThemed:!1,onClick:x?R:void 0,allowTouchBodyScroll:te},I))),a.createElement(l.a,Object(i.a)({},O),a.createElement(u.a,{role:"dialog","aria-modal":"true",ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:ee.hiddenPanel},a.createElement("div",Object(i.a)({"aria-hidden":!Q&&$},Y,{ref:this._panel,className:ee.root}),J,a.createElement(C.a,Object(i.a)({ignoreExternalFocusing:b,forceFocusInsideTrap:!(!v||k&&!Q)&&p,firstFocusableSelector:s,isClickableOutsideFocusTrap:!0},d,{className:ee.main,style:X,elementToFocusOnDismiss:r}),a.createElement("div",{className:ee.commands,"data-is-visible":!0},L(this.props,this._onRenderNavigation)),a.createElement("div",{className:ee.contentInner},(this._hasCustomNavigation||!m)&&F(this.props,this._onRenderHeader,this._headerTextId),a.createElement("div",{ref:this._allowScrollOnPanel,className:ee.scrollableContent,"data-is-scrollable":!0},W(this.props,this._onRenderBody)),H(this.props,this._onRenderFooter))))))},t.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:o.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:o.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===o.open||this.state.visibility===o.animatingOpen},enumerable:!0,configurable:!0}),t.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},t.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,n=e.scrollHeight;this.setState({isFooterSticky:t<n})}},t.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&(Object(_.a)(t,e.target)||(this.props.onOuterClick?(this.props.onOuterClick(),e.preventDefault()):this.dismiss()))},t.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:E.a.smallFixedFar},t}(a.Component),D=n(14),M={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"},A="100%",R="auto",N=272,L=340,j=592,F=644,B=940,W="auto",z=0,H=48,U=428,V=176,G=((x={})["@media (min-width: "+D.l+"px)"]={width:L},x),K=((k={})["@media (min-width: "+D.k+"px)"]={width:j},k["@media (min-width: "+D.o+"px)"]={width:F},k),q=((O={})["@media (min-width: "+D.n+"px)"]={left:H,width:R},O["@media (min-width: "+D.p+"px)"]={left:U},O),Z=((I={})["@media (min-width: "+D.p+"px)"]={left:W,width:B},I),X=((T={})["@media (min-width: "+D.p+"px)"]={left:V},T),Y=function(e){var t;switch(e){case E.a.smallFixedFar:t=Object(i.a)({},G);break;case E.a.medium:t=Object(i.a)(Object(i.a)({},G),K);break;case E.a.large:t=Object(i.a)(Object(i.a)(Object(i.a)({},G),K),q);break;case E.a.largeFixed:t=Object(i.a)(Object(i.a)(Object(i.a)(Object(i.a)({},G),K),q),Z);break;case E.a.extraLarge:t=Object(i.a)(Object(i.a)(Object(i.a)(Object(i.a)({},G),K),q),X)}return t},Q={paddingLeft:"24px",paddingRight:"24px"},$=Object(r.a)(P,(function(e){var t,n=e.className,o=e.focusTrapZoneClassName,r=e.hasCloseButton,a=e.headerClassName,s=e.isAnimating,l=e.isFooterSticky,c=e.isFooterAtBottom,u=e.isOnRightSide,d=e.isOpen,p=e.isHiddenOnDismiss,m=e.hasCustomNavigation,h=e.theme,f=e.type,g=void 0===f?E.a.smallFixedFar:f,b=h.effects,v=h.fonts,y=h.semanticColors,w=Object(D.x)(M,h),_=g===E.a.custom||g===E.a.customNear;return{root:[w.root,h.fonts.medium,d&&w.isOpen,r&&w.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},_&&u&&w.custom,_&&!u&&w.customNear,n],overlay:[{pointerEvents:"auto",cursor:"pointer"},d&&s&&D.a.fadeIn100,!d&&s&&D.a.fadeOut100],hiddenPanel:[!d&&!s&&p&&{visibility:"hidden"}],main:[w.main,{backgroundColor:y.bodyBackground,boxShadow:b.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:W,right:z,width:A,selectors:Object(i.a)((t={},t[D.e]={borderLeft:"3px solid "+y.variantBorder,borderRight:"3px solid "+y.variantBorder},t),Y(g))},g===E.a.smallFluid&&{left:z},g===E.a.smallFixedNear&&{left:z,right:W,width:N},g===E.a.customNear&&{right:"auto",left:0},_&&{maxWidth:"100vw"},d&&s&&!u&&D.a.slideRightIn40,d&&s&&u&&D.a.slideLeftIn40,!d&&s&&!u&&D.a.slideLeftOut40,!d&&s&&u&&D.a.slideRightOut40,o],commands:[w.commands,{marginTop:18},m&&{marginTop:"inherit"}],navigation:[w.navigation,{display:"flex",justifyContent:"flex-end"},m&&{height:"44px"}],contentInner:[w.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[w.header,Q,{alignSelf:"flex-start"},r&&!m&&{flexGrow:1},m&&{flexShrink:0}],headerText:[w.headerText,v.xLarge,{color:y.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},a],scrollableContent:[w.scrollableContent,{overflowY:"auto"},c&&{flexGrow:1}],content:[w.content,Q,{paddingBottom:20}],footer:[w.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity "+D.c.durationValue3+" "+D.c.easeFunction2},l&&{background:y.bodyBackground,borderTopColor:y.variantBorder}],footerInner:[w.footerInner,Q,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[w.closeButton,{marginRight:14,color:h.palette.neutralSecondary,fontSize:D.h.large},m&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:h.palette.neutralPrimary}}}}}),void 0,{scope:"Panel"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var o,r,i,a=n(236),s=n(2),l=n(0),c=n(237),u=n(162),d=n(83),p=n(206),m=n(68),h=n(266),f=n(245),g=n(167),b=n(79),v=n(20),y=Object(c.a)(),w=function(e){function t(t){var n,o=e.call(this,t)||this;return o.ICON_MAP=((n={})[v.a.info]="Info",n[v.a.warning]="Info",n[v.a.error]="ErrorBadge",n[v.a.blocked]="Blocked2",n[v.a.severeWarning]="Warning",n[v.a.success]="Completed",n),o._getRegionProps=function(){var e=!!o._getActionsDiv()||!!o._getDismissDiv(),t={"aria-describedby":o.state.labelId,role:"region"};return e?t:{}},o._onClick=function(e){o.setState({expandSingleLine:!o.state.expandSingleLine})},Object(u.a)(o),o.state={labelId:Object(d.a)("MessageBar"),showContent:!1,expandSingleLine:!1},o}return Object(s.c)(t,e),t.prototype.render=function(){var e=this.props.isMultiline;return this._classNames=this._getClassNames(),e?this._renderMultiLine():this._renderSingleLine()},t.prototype._getActionsDiv=function(){return this.props.actions?l.createElement("div",{className:this._classNames.actions},this.props.actions):null},t.prototype._getDismissDiv=function(){var e=this.props,t=e.onDismiss,n=e.dismissIconProps;return t?l.createElement(g.a,{disabled:!1,className:this._classNames.dismissal,onClick:t,iconProps:n||{iconName:"Clear"},ariaLabel:this.props.dismissButtonAriaLabel}):null},t.prototype._getDismissSingleLine=function(){return this.props.onDismiss?l.createElement("div",{className:this._classNames.dismissSingleLine},this._getDismissDiv()):null},t.prototype._getExpandSingleLine=function(){return!this.props.actions&&this.props.truncated?l.createElement("div",{className:this._classNames.expandSingleLine},l.createElement(g.a,{disabled:!1,className:this._classNames.expand,onClick:this._onClick,iconProps:{iconName:this.state.expandSingleLine?"DoubleChevronUp":"DoubleChevronDown"},ariaLabel:this.props.overflowButtonAriaLabel,"aria-expanded":this.state.expandSingleLine})):null},t.prototype._getIconSpan=function(){var e=this.props.messageBarIconProps;return l.createElement("div",{className:this._classNames.iconContainer,"aria-hidden":!0},e?l.createElement(b.a,Object(s.a)({},e,{className:Object(p.a)(this._classNames.icon,e.className)})):l.createElement(b.a,{iconName:this.ICON_MAP[this.props.messageBarType],className:this._classNames.icon}))},t.prototype._renderMultiLine=function(){return l.createElement("div",Object(s.a)({className:this._classNames.root},this._getRegionProps()),l.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getDismissDiv()),this._getActionsDiv())},t.prototype._renderSingleLine=function(){return l.createElement("div",Object(s.a)({className:this._classNames.root},this._getRegionProps()),l.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getExpandSingleLine(),this._getActionsDiv(),this._getDismissSingleLine()))},t.prototype._renderInnerText=function(){var e=Object(m.d)(this.props,m.e,["className"]),t=this.props.theme,n={theme:Object(s.a)(Object(s.a)({},t),{semanticColors:Object(s.a)(Object(s.a)({},t.semanticColors),{link:t.semanticColors.messageLink,linkHovered:t.semanticColors.messageLinkHovered})})};return l.createElement(h.a,{settings:n},l.createElement("div",{className:this._classNames.text,id:this.state.labelId,role:"status","aria-live":this._getAnnouncementPriority()},l.createElement("span",Object(s.a)({className:this._classNames.innerText},e),l.createElement(f.a,null,l.createElement("span",null,this.props.children)))))},t.prototype._getClassNames=function(){var e=this.props,t=e.theme,n=e.className,o=e.messageBarType,r=e.onDismiss,i=e.actions,a=e.truncated,s=e.isMultiline,l=this.state.expandSingleLine;return y(this.props.styles,{theme:t,messageBarType:o||v.a.info,onDismiss:void 0!==r,actions:void 0!==i,truncated:a,isMultiline:s,expandSingleLine:l,className:n})},t.prototype._getAnnouncementPriority=function(){switch(this.props.messageBarType){case v.a.blocked:case v.a.error:case v.a.severeWarning:return"assertive"}return"polite"},t.defaultProps={messageBarType:v.a.info,onDismiss:void 0,isMultiline:!0},t}(l.Component),_=n(14),C={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"},E=((o={})[v.a.error]="errorBackground",o[v.a.blocked]="errorBackground",o[v.a.success]="successBackground",o[v.a.warning]="warningBackground",o[v.a.severeWarning]="severeWarningBackground",o[v.a.info]="infoBackground",o),S=((r={})[v.a.error]="rgba(255, 0, 0, 0.3)",r[v.a.blocked]="rgba(255, 0, 0, 0.3)",r[v.a.success]="rgba(48, 241, 73, 0.3)",r[v.a.warning]="rgba(255, 254, 57, 0.3)",r[v.a.severeWarning]="rgba(255, 0, 0, 0.3)",r[v.a.info]="Window",r),x=((i={})[v.a.error]="errorIcon",i[v.a.blocked]="errorIcon",i[v.a.success]="successIcon",i[v.a.warning]="warningIcon",i[v.a.severeWarning]="severeWarningIcon",i[v.a.info]="infoIcon",i),k=Object(a.a)(w,(function(e){var t,n,o,r,i,a=e.theme,l=e.className,c=e.onDismiss,u=e.truncated,d=e.isMultiline,p=e.expandSingleLine,m=e.messageBarType,h=void 0===m?v.a.info:m,f=a.semanticColors,g=a.fonts,b=Object(_.B)(0,_.j),y=Object(_.x)(C,a),w={fontSize:_.h.xSmall,height:10,lineHeight:"10px",color:f.messageText,selectors:(t={},t[_.e]={MsHighContrastAdjust:"none",color:"WindowText"},t)},k=[Object(_.w)(a,{inset:1,highContrastStyle:{outlineOffset:"-4px",outlineColor:"Window"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":w,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[y.root,g.medium,h===v.a.error&&y.error,h===v.a.blocked&&y.blocked,h===v.a.severeWarning&&y.severeWarning,h===v.a.success&&y.success,h===v.a.warning&&y.warning,d?y.multiline:y.singleline,!d&&c&&y.dismissalSingleLine,!d&&u&&y.expandingSingleLine,{background:f[E[h]],color:f.messageText,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:(n={},n[_.e]={background:S[h],border:"1px solid WindowText",color:"WindowText"},n)},d&&{flexDirection:"column"},l],content:[y.content,{display:"flex",width:"100%",lineHeight:"normal"}],iconContainer:[y.iconContainer,{fontSize:_.h.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"}],icon:{color:f[x[h]],selectors:(o={},o[_.e]={MsHighContrastAdjust:"none",color:"WindowText"},o)},text:[y.text,Object(s.a)(Object(s.a)({minWidth:0,display:"flex",flexGrow:1,margin:8},g.small),{selectors:(r={},r[_.e]={MsHighContrastAdjust:"none"},r)}),!c&&{marginRight:12}],innerText:[y.innerText,{lineHeight:16,selectors:{"& span a":{paddingLeft:4}}},u&&{overflow:"visible",whiteSpace:"pre-wrap"},!d&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!d&&!u&&{selectors:(i={},i[b]={overflow:"visible",whiteSpace:"pre-wrap"},i)},p&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:y.dismissSingleLine,expandSingleLine:y.expandSingleLine,dismissal:[y.dismissal,k],expand:[y.expand,k],actions:[d?y.actions:y.actionsSingleline,{display:"flex",flexGrow:0,flexShrink:0,flexBasis:"auto",flexDirection:"row-reverse",alignItems:"center",margin:"0 12px 0 8px",selectors:{"& button:nth-child(n+2)":{marginLeft:8}}},d&&{marginBottom:8},c&&!d&&{marginRight:0}]}}),void 0,{scope:"MessageBar"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

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

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var r=function(){return(r=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)};var i=n(0),a=n(49),s=n(88),l=n(78),c=n(40),u=n(118),d=n(162),p=n(83),m=n(26),h=n(68),f=n(206),g=n(59);function b(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 v,y=n(241),w=n(242),_=n(46),C=n(161);var E={},S=new Set,x=["text","number","password","email","tel","url","search"],k=function(e){function t(t){var n=e.call(this,t)||this;return n._root=i.createRef(),n._onFocus=function(e){if(!n._portalContainsElement(e.target)){var t,o=n.props,r=o.onActiveElementChanged,i=o.doNotAllowFocusEventToPropagate,a=o.stopFocusPropagation,c=o.onFocusNotification,u=o.onFocus,d=o.shouldFocusInnerElementWhenReceivedFocus,p=o.defaultTabbableElement,m=n._isImmediateDescendantOfZone(e.target);if(u?u(e):c&&c(),m)t=e.target;else for(var h=e.target;h&&h!==n._root.current;){if(Object(s.n)(h)&&n._isImmediateDescendantOfZone(h)){t=h;break}h=Object(l.a)(h,!1)}if(d&&e.target===n._root.current){var f=p&&"function"==typeof p&&p(n._root.current);f&&Object(s.n)(f)?(t=f,f.focus()):(n.focus(!0),n._activeElement&&(t=null))}var g=!n._activeElement;t&&t!==n._activeElement&&((m||g)&&n._setFocusAlignment(t,!0,!0),n._activeElement=t,g&&n._updateTabIndexes()),r&&r(n._activeElement,e),(a||i)&&e.stopPropagation()}},n._onBlur=function(){n._setParkedFocus(!1)},n._onKeyDownCapture=function(e){e.which===c.a.tab&&S.forEach((function(e){return e._updateTabIndexes()}))},n._onMouseDown=function(e){if(!n._portalContainsElement(e.target)&&!n.props.disabled){for(var t=e.target,o=[];t&&t!==n._root.current;)o.push(t),t=Object(l.a)(t,!1);for(;o.length&&((t=o.pop())&&Object(s.n)(t)&&n._setActiveElement(t,!0),!Object(s.m)(t)););}},n._onKeyDown=function(e){if(!n._portalContainsElement(e.target)){var t=n.props,o=t.direction,r=t.disabled,i=t.isInnerZoneKeystroke,l=t.pagingSupportDisabled,d=t.shouldEnterInnerZone;if(!(r||(n.props.onKeyDown&&n.props.onKeyDown(e),e.isDefaultPrevented()||n._getDocument().activeElement===n._root.current&&n._isInnerZone))){if((d&&d(e)||i&&i(e))&&n._isImmediateDescendantOfZone(e.target)){var p=n._getFirstInnerZone();if(p){if(!p.focus(!0))return}else{if(!Object(s.l)(e.target))return;if(!n.focusElement(Object(s.j)(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case c.a.space:if(n._tryInvokeClickForFocusable(e.target))break;return;case c.a.left:if(o!==a.a.vertical&&(n._preventDefaultWhenHandled(e),n._moveFocusLeft()))break;return;case c.a.right:if(o!==a.a.vertical&&(n._preventDefaultWhenHandled(e),n._moveFocusRight()))break;return;case c.a.up:if(o!==a.a.horizontal&&(n._preventDefaultWhenHandled(e),n._moveFocusUp()))break;return;case c.a.down:if(o!==a.a.horizontal&&(n._preventDefaultWhenHandled(e),n._moveFocusDown()))break;return;case c.a.pageDown:if(!l&&n._moveFocusPaging(!0))break;return;case c.a.pageUp:if(!l&&n._moveFocusPaging(!1))break;return;case c.a.tab:if(n.props.allowTabKey||n.props.handleTabKey===a.b.all||n.props.handleTabKey===a.b.inputOnly&&n._isElementInput(e.target)){var m=!1;if(n._processingTabKey=!0,o!==a.a.vertical&&n._shouldWrapFocus(n._activeElement,"data-no-horizontal-wrap"))m=(Object(u.a)()?!e.shiftKey:e.shiftKey)?n._moveFocusLeft():n._moveFocusRight();else m=e.shiftKey?n._moveFocusUp():n._moveFocusDown();if(n._processingTabKey=!1,m)break;n.props.shouldResetActiveElementWhenTabFromZone&&(n._activeElement=null)}return;case c.a.home:if(n._isContentEditableElement(e.target)||n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!1))return!1;var h=n._root.current&&n._root.current.firstChild;if(n._root.current&&h&&n.focusElement(Object(s.j)(n._root.current,h,!0)))break;return;case c.a.end:if(n._isContentEditableElement(e.target)||n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!0))return!1;var f=n._root.current&&n._root.current.lastChild;if(n._root.current&&n.focusElement(Object(s.k)(n._root.current,f,!0,!0,!0)))break;return;case c.a.enter:if(n._tryInvokeClickForFocusable(e.target))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},n._getHorizontalDistanceFromCenter=function(e,t,o){var r=n._focusAlignment.left||n._focusAlignment.x||0,i=Math.floor(o.top),a=Math.floor(t.bottom),s=Math.floor(o.bottom),l=Math.floor(t.top);return e&&i>a||!e&&s<l?r>=o.left&&r<=o.left+o.width?0:Math.abs(o.left+o.width/2-r):n._shouldWrapFocus(n._activeElement,"data-no-vertical-wrap")?999999999:-999999999},Object(d.a)(n),n._id=Object(p.a)("FocusZone"),n._focusAlignment={left:0,top:0},n._processingTabKey=!1,n}return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getOuterZones=function(){return S.size},t.prototype.componentDidMount=function(){var e=this._root.current;if(E[this._id]=this,e){this._windowElement=Object(m.a)(e);for(var t=Object(l.a)(e,!1);t&&t!==this._getDocument().body&&1===t.nodeType;){if(Object(s.m)(t)){this._isInnerZone=!0;break}t=Object(l.a)(t,!1)}this._isInnerZone||(S.add(this),this._windowElement&&1===S.size&&this._windowElement.addEventListener("keydown",this._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if(t&&this._lastIndexPath&&(t.activeElement===t.body||null===t.activeElement||!this.props.preventFocusRestoration&&t.activeElement===e)){var n=Object(s.g)(e,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete E[this._id],this._isInnerZone||(S.delete(this),this._windowElement&&0===S.size&&this._windowElement.removeEventListener("keydown",this._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this.props,t=e.as,n=e.elementType,o=e.rootProps,a=e.ariaDescribedBy,s=e.ariaLabelledBy,l=e.className,c=Object(h.d)(this.props,h.e),u=t||n||"div";return this._evaluateFocusBeforeRender(),i.createElement(u,r({"aria-labelledby":s,"aria-describedby":a},c,o,{className:Object(f.a)((v||(v=Object(C.b)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),v),l),ref:this._root,"data-focuszone-id":this._id,onKeyDown:this._onKeyDown,onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e){if(void 0===e&&(e=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute("data-is-focusable")&&this._isInnerZone){var t=this._getOwnerZone(this._root.current);if(t!==this._root.current){var n=E[t.getAttribute("data-focuszone-id")];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Object(g.a)(this._root.current,this._activeElement)&&Object(s.n)(this._activeElement))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(Object(s.j)(this._root.current,o,!0))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(Object(s.k)(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e){var t=this.props,n=t.onBeforeFocus,o=t.shouldReceiveFocus;return!(o&&!o(e)||n&&!n(e))&&(!!e&&(this._setActiveElement(e),this._activeElement&&this._activeElement.focus(),!0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var o=Object(g.a)(e,n,!1);this._lastIndexPath=o?Object(s.d)(e,n):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e,n&&(Object(s.m)(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e){if(e===this._root.current)return!1;do{if("BUTTON"===e.tagName||"A"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName)return!1;if(this._isImmediateDescendantOfZone(e)&&"true"===e.getAttribute("data-is-focusable")&&"true"!==e.getAttribute("data-disable-click-on-enter"))return b(e),!0;e=Object(l.a)(e,!1)}while(e!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(Object(s.m)(e))return E[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(Object(s.m)(t))return E[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,l=void 0,c=!1,u=this.props.direction===a.a.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var d=u?r.getBoundingClientRect():null;do{if(r=e?Object(s.j)(this._root.current,r):Object(s.k)(this._root.current,r),!u){l=r;break}if(r){var p=t(d,r.getBoundingClientRect());if(-1===p&&-1===i){l=r;break}if(p>-1&&(-1===i||p<i)&&(i=p,l=r),i>=0&&p<0)break}}while(r);if(l&&l!==this._activeElement)c=!0,this.focusElement(l);else if(this.props.isCircularNavigation&&o)return e?this.focusElement(Object(s.j)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(s.k)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return c},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(){var e=this,t=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");return!!this._moveFocus(Object(u.a)(),(function(n,o){var r=-1;return(Object(u.a)()?parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)):parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)))&&o.right<=n.right&&e.props.direction!==a.a.vertical?r=n.right-o.right:t||(r=-999999999),r}),void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");return!!this._moveFocus(!Object(u.a)(),(function(n,o){var r=-1;return(Object(u.a)()?parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)):parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)))&&o.left>=n.left&&e.props.direction!==a.a.vertical?r=o.left-n.left:t||(r=-999999999),r}),void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var n=this._activeElement;if(!n||!this._root.current)return!1;if(this._isElementInput(n)&&!this._shouldInputLoseFocus(n,e))return!1;var o=Object(y.e)(n);if(!o)return!1;var r=-1,i=void 0,a=-1,l=-1,c=o.clientHeight,u=n.getBoundingClientRect();do{if(n=e?Object(s.j)(this._root.current,n):Object(s.k)(this._root.current,n)){var d=n.getBoundingClientRect(),p=Math.floor(d.top),m=Math.floor(u.bottom),h=Math.floor(d.bottom),f=Math.floor(u.top),g=this._getHorizontalDistanceFromCenter(e,u,d);if(e&&p>m+c||!e&&h<f-c)break;g>-1&&(e&&p>a?(a=p,r=g,i=n):!e&&h<l?(l=h,r=g,i=n):(-1===r||g<=r)&&(r=g,i=n))}}while(n);var b=!1;if(i&&i!==this._activeElement)b=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(Object(s.j)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(s.k)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return b},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===a.a.bidirectional&&(!this._focusAlignment||t||n)){var o=e.getBoundingClientRect(),r=o.left+o.width/2,i=o.top+o.height/2;this._focusAlignment||(this._focusAlignment={left:r,top:i}),t&&(this._focusAlignment.left=r),n&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=Object(l.a)(e,!1);t&&t!==this._root.current&&t!==this._getDocument().body;){if(Object(s.m)(t))return t;t=Object(l.a)(t,!1)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!Object(g.a)(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!Object(s.n)(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var o=t[n];Object(s.m)(o)?"true"===o.getAttribute("data-is-focusable")&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0"))):(o.getAttribute&&"false"===o.getAttribute("data-is-focusable")&&o.setAttribute("tabindex","-1"),Object(s.n)(o)?this.props.disabled?o.setAttribute("tabindex","-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0")):"svg"===o.tagName&&"false"!==o.getAttribute("focusable")&&o.setAttribute("focusable","false")),this._updateTabIndexes(o)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&x.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,o=n!==e.selectionEnd,r=e.value,i=e.readOnly;if(o||n>0&&!t&&!i||n!==r.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||Object(s.o)(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Object(w.a)(e,this._root.current)},t.prototype._getDocument=function(){return Object(_.a)(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:a.a.bidirectional,preventDefaultWhenHandled:!0},t}(i.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n(27),r=n(0),i=n(51),a=n(67),s=n(110);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return Object(o.b)(t,e),t.prototype.componentDidMount=function(){i.a.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){i.a.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return r.createElement(a.a.Consumer,null,(function(n){var o=function(e,t){var n=(t||{}).customizations,o=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:Object(s.b)(o.settings,e.settings),scopedSettings:Object(s.a)(o.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}(e.props,n);return t&&(o=t(o)),r.createElement(a.a.Provider,{value:o},e.props.children)}))},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o,r=n(0),i=n(26),a=n(40),s=((o={})[a.a.up]=1,o[a.a.down]=1,o[a.a.left]=1,o[a.a.right]=1,o[a.a.home]=1,o[a.a.end]=1,o[a.a.tab]=1,o[a.a.pageUp]=1,o[a.a.pageDown]=1,o);var l=n(101),c=new WeakMap;function u(e,t){var n,o=c.get(e);return n=o?o+t:1,c.set(e,n),n}var d=function(e){var t,n,o;return t=e.rootRef,o=Object(i.a)(null===(n=t)||void 0===n?void 0:n.current),r.useEffect((function(){var e;if(o&&!0!==(null===(e=o.FabricConfig)||void 0===e?void 0:e.disableFocusRects)){var t=u(o,1);return t<=1&&(o.addEventListener("mousedown",p,!0),o.addEventListener("pointerdown",m,!0),o.addEventListener("keydown",h,!0)),function(){var e;o&&!0!==(null===(e=o.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(t=u(o,-1))&&(o.removeEventListener("mousedown",p,!0),o.removeEventListener("pointerdown",m,!0),o.removeEventListener("keydown",h,!0))}}}),[o]),null};function p(e){Object(l.b)(!1,e.target)}function m(e){"mouse"!==e.pointerType&&Object(l.b)(!1,e.target)}function h(e){var t;t=e.which,s[t]&&Object(l.b)(!0,e.target)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(2),r=n(0),i=n(244),a=n(95),s=n(41),l=n(243);function c(e){return e.reduce((function(e,t){return e+s.e+t.split("").join(s.e)}),s.d)}var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._keytipManager=a.a.getInstance(),t}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){this.props.keytipProps&&(this._uniqueId=this._keytipManager.register(this._getKtpProps()))},t.prototype.componentWillUnmount=function(){this.props.keytipProps&&this._keytipManager.unregister(this._getKtpProps(),this._uniqueId)},t.prototype.componentDidUpdate=function(e){e.keytipProps===this.props.keytipProps&&e.disabled===this.props.disabled||this.props.keytipProps&&this._keytipManager.update(this._getKtpProps(),this._uniqueId)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.keytipProps,o=e.ariaDescribedBy,r={};return n&&(r=this._getKtpAttrs(n,o)),t(r)},t.prototype._getKtpProps=function(){return Object(o.a)({disabled:this.props.disabled},this.props.keytipProps)},t.prototype._getKtpAttrs=function(e,t){if(e){var n=this._keytipManager.addParentOverflow(e),r=function(e){var t=" "+s.c;return e.length?t+" "+c(e):t}(n.keySequences),a=Object(o.e)(n.keySequences);n.overflowSetSequence&&(a=function(e,t){var n=t.length,r=Object(o.e)(t).pop(),i=Object(o.e)(e);return Object(l.a)(i,n-1,r)}(a,n.overflowSetSequence));var u=c(a);return{"aria-describedby":Object(i.a)(t,r),"data-ktp-target":u,"data-ktp-execute-target":u}}},t}(r.Component)},function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var o=n(2),r=n(0),i=n(162),a=n(111),s=n(54),l=n(241),c=n(68),u=n(206),d=n(78),p=n(243),m=n(26),h=0,f=1,g=2,b=3,v=n(249),y={top:-1,bottom:-1,left:-1,right:-1,width:0,height:0},w=function(e){return e.getBoundingClientRect()},_=w,C=w,E=function(e){function t(t){var n=e.call(this,t)||this;return n._root=r.createRef(),n._surface=r.createRef(),n._onRenderRoot=function(e){var t=e.rootRef,n=e.surfaceElement,i=e.divProps;return r.createElement("div",Object(o.a)({ref:t},i),n)},n._onRenderSurface=function(e){var t=e.surfaceRef,n=e.pageElements,i=e.divProps;return r.createElement("div",Object(o.a)({ref:t},i),n)},n._onRenderPage=function(e,t){for(var i=n.props,a=i.onRenderCell,s=i.role,l=e.page,c=l.items,u=void 0===c?[]:c,d=l.startIndex,p=Object(o.d)(e,["page"]),m=void 0===s?"listitem":"presentation",h=[],f=0;f<u.length;f++){var g=d+f,b=u[f],v=n.props.getKey?n.props.getKey(b,g):b&&b.key;null==v&&(v=g),h.push(r.createElement("div",{role:m,className:"ms-List-cell",key:v,"data-list-index":g,"data-automationid":"ListCell"},a&&a(b,g,n.props.ignoreScrollingState?void 0:n.state.isScrolling)))}return r.createElement("div",Object(o.a)({},p),h)},Object(i.a)(n),n.state={pages:[],isScrolling:!1},n._async=new a.a(n),n._events=new s.a(n),n._estimatedPageHeight=0,n._totalEstimates=0,n._requiredWindowsAhead=0,n._requiredWindowsBehind=0,n._measureVersion=0,n._onAsyncScroll=n._async.debounce(n._onAsyncScroll,100,{leading:!1,maxWait:500}),n._onAsyncIdle=n._async.debounce(n._onAsyncIdle,200,{leading:!1}),n._onAsyncResize=n._async.debounce(n._onAsyncResize,16,{leading:!1}),n._onScrollingDone=n._async.debounce(n._onScrollingDone,500,{leading:!1}),n._cachedPageHeights={},n._estimatedPageHeight=0,n._focusedIndex=-1,n._pageCache={},n}return Object(o.c)(t,e),t.prototype.scrollToIndex=function(e,t,n){void 0===n&&(n=h);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(l,i),u=c.height;if(s=c.itemCount,l<=e&&l+s>e){if(t&&this._scrollElement){for(var d=C(this._scrollElement),p={top:this._scrollElement.scrollTop,bottom:this._scrollElement.scrollTop+d.height},m=e-l,v=0;v<m;++v)a+=t(l+v);var y=a+t(e);switch(n){case f:return void(this._scrollElement.scrollTop=a);case g:return void(this._scrollElement.scrollTop=y-d.height);case b:return void(this._scrollElement.scrollTop=(a+y-d.height)/2)}if(a>=p.top&&y<=p.bottom)return;a<p.top||y>p.bottom&&(a=y-d.height)}return void(this._scrollElement.scrollTop=a)}a+=u}},t.prototype.getStartItemIndexInView=function(e){for(var t=0,n=this.state.pages||[];t<n.length;t++){var o=n[t];if(!o.isSpacer&&(this._scrollTop||0)>=o.top&&(this._scrollTop||0)<=o.top+o.height){if(!e){var r=Math.floor(o.height/o.itemCount);return o.startIndex+Math.floor((this._scrollTop-o.top)/r)}for(var i=0,a=o.startIndex;a<o.startIndex+o.itemCount;a++){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._updatePages(),this._measureVersion++,this._scrollElement=Object(l.e)(this._root.current),this._events.on(window,"resize",this._onAsyncResize),this._root.current&&this._events.on(this._root.current,"focus",this._onFocus,!0),this._scrollElement&&(this._events.on(this._scrollElement,"scroll",this._onScroll),this._events.on(this._scrollElement,"scroll",this._onAsyncScroll))},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose(),delete this._scrollElement},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.items===this.props.items&&e.renderCount===this.props.renderCount&&e.startIndex===this.props.startIndex&&e.version===this.props.version||(this._resetRequiredWindows(),this._requiredRect=null,this._measureVersion++,this._invalidatePageCache(),this._updatePages(e))},t.prototype.shouldComponentUpdate=function(e,t){var n=this.state.pages,o=t.pages,r=!1;if(!t.isScrolling&&this.state.isScrolling)return!0;if(e.version!==this.props.version)return!0;if(e.items===this.props.items&&n.length===o.length)for(var i=0;i<n.length;i++){var a=n[i],s=o[i];if(a.key!==s.key||a.itemCount!==s.itemCount){r=!0;break}}else r=!0;return r},t.prototype.forceUpdate=function(){this._invalidatePageCache(),this._updateRenderRects(this.props,!0),this._updatePages(),this._measureVersion++,e.prototype.forceUpdate.call(this)},t.prototype.getTotalListHeight=function(){return this._surfaceRect.height},t.prototype.render=function(){for(var e=this.props,t=e.className,n=e.role,r=void 0===n?"list":n,i=e.onRenderSurface,a=e.onRenderRoot,s=this.state.pages,l=void 0===s?[]:s,d=[],p=Object(c.d)(this.props,c.c),m=0,h=l;m<h.length;m++){var f=h[m];d.push(this._renderPage(f))}var g=i?Object(v.a)(i,this._onRenderSurface):this._onRenderSurface;return(a?Object(v.a)(a,this._onRenderRoot):this._onRenderRoot)({rootRef:this._root,pages:l,surfaceElement:g({surfaceRef:this._surface,pages:l,pageElements:d,divProps:{role:"presentation",className:"ms-List-surface"}}),divProps:Object(o.a)(Object(o.a)({},p),{className:Object(u.a)("ms-List",t),role:d.length>0?r:void 0})})},t.prototype._shouldVirtualize=function(e){void 0===e&&(e=this.props);var t=e.onShouldVirtualize;return!t||t(e)},t.prototype._invalidatePageCache=function(){this._pageCache={}},t.prototype._renderPage=function(e){var t,n=this.props.usePageCache;if(n&&(t=this._pageCache[e.key])&&t.pageElement)return t.pageElement;var o=this._getPageStyle(e),r=this.props.onRenderPage,i=(void 0===r?this._onRenderPage:r)({page:e,className:"ms-List-page",key:e.key,ref:e.key,style:o,role:"presentation"},this._onRenderPage);return n&&0===e.startIndex&&(this._pageCache[e.key]={page:e,pageElement:i}),i},t.prototype._getPageStyle=function(e){var t=this.props.getPageStyle;return Object(o.a)(Object(o.a)({},t?t(e):{}),e.items?{}:{height:e.height})},t.prototype._onFocus=function(e){for(var t=e.target;t!==this._surface.current;){var n=t.getAttribute("data-list-index");if(n){this._focusedIndex=Number(n);break}t=Object(d.a)(t)}},t.prototype._onScroll=function(){this.state.isScrolling||this.props.ignoreScrollingState||this.setState({isScrolling:!0}),this._resetRequiredWindows(),this._onScrollingDone()},t.prototype._resetRequiredWindows=function(){this._requiredWindowsAhead=0,this._requiredWindowsBehind=0},t.prototype._onAsyncScroll=function(){var e,t;this._updateRenderRects(),this._materializedRect&&(e=this._requiredRect,t=this._materializedRect,e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right)||this._updatePages()},t.prototype._onAsyncIdle=function(){var e=this.props,t=e.renderedWindowsAhead,n=e.renderedWindowsBehind,o=this._requiredWindowsAhead,r=this._requiredWindowsBehind,i=Math.min(t,o+1),a=Math.min(n,r+1);i===o&&a===r||(this._requiredWindowsAhead=i,this._requiredWindowsBehind=a,this._updateRenderRects(),this._updatePages()),(t>i||n>a)&&this._onAsyncIdle()},t.prototype._onScrollingDone=function(){this.props.ignoreScrollingState||this.setState({isScrolling:!1})},t.prototype._onAsyncResize=function(){this.forceUpdate()},t.prototype._updatePages=function(e){var t=this;void 0===e&&(e=this.props),this._requiredRect||this._updateRenderRects(e);var n=this._buildPages(e),o=this.state.pages;this._notifyPageChanges(o,n.pages),this.setState(n,(function(){var e=t.props,n=t.state;e.getPageHeight?t._onAsyncIdle():t._updatePageMeasurements(n.pages)?(t._materializedRect=null,t._hasCompletedFirstRender?t._onAsyncScroll():(t._hasCompletedFirstRender=!0,t._updatePages(e))):t._onAsyncIdle();e.onPagesUpdated&&e.onPagesUpdated(n.pages)}))},t.prototype._notifyPageChanges=function(e,t,n){void 0===n&&(n=this.props);var o=n.onPageAdded,r=n.onPageRemoved;if(o||r){for(var i={},a=0,s=e;a<s.length;a++){(u=s[a]).items&&(i[u.startIndex]=u)}for(var 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.refs[e.key],o=this._cachedPageHeights[e.startIndex];if(n&&this._shouldVirtualize()&&(!o||o.measureVersion!==this._measureVersion)){var r={width:n.clientWidth,height:n.clientHeight};(r.height||r.width)&&(t=e.height!==r.height,e.height=r.height,this._cachedPageHeights[e.startIndex]={height:r.height,measureVersion:this._measureVersion},this._estimatedPageHeight=Math.round((this._estimatedPageHeight*this._totalEstimates+r.height)/(this._totalEstimates+1)),this._totalEstimates++)}return t},t.prototype._onPageAdded=function(e){var t=this.props.onPageAdded;t&&t(e)},t.prototype._onPageRemoved=function(e){var t=this.props.onPageRemoved;t&&t(e)},t.prototype._buildPages=function(e){var t=e.renderCount,n=e.items,r=e.startIndex,i=e.getPageHeight;t=this._getRenderCount(e);for(var a=Object(o.a)({},y),s=[],l=1,c=0,u=null,d=this._focusedIndex,m=r+t,h=this._shouldVirtualize(e),f=0===this._estimatedPageHeight&&!i,g=this._allowedRect,b=function(e){var t=v._getPageSpecification(e,g),o=t.height,i=t.data,b=t.key;l=t.itemCount;var y,w,_=c+o-1,C=Object(p.c)(v.state.pages,(function(t){return!!t.items&&t.startIndex===e}))>-1,E=!g||_>=g.top&&c<=g.bottom,S=!v._requiredRect||_>=v._requiredRect.top&&c<=v._requiredRect.bottom;if(!f&&(S||E&&C)||!h||d>=e&&d<e+l||e===r){u&&(s.push(u),u=null);var x=Math.min(l,m-e),k=v._createPage(b,n.slice(e,e+x),e,void 0,void 0,i);k.top=c,k.height=o,v._visibleRect&&v._visibleRect.bottom&&(k.isVisible=_>=v._visibleRect.top&&c<=v._visibleRect.bottom),s.push(k),S&&v._allowedRect&&(y=a,w={top:c,bottom:_,height:o,left:g.left,right:g.right,width:g.width},y.top=w.top<y.top||-1===y.top?w.top:y.top,y.left=w.left<y.left||-1===y.left?w.left:y.left,y.bottom=w.bottom>y.bottom||-1===y.bottom?w.bottom:y.bottom,y.right=w.right>y.right||-1===y.right?w.right:y.right,y.width=y.right-y.left+1,y.height=y.bottom-y.top+1)}else u||(u=v._createPage("spacer-"+e,void 0,e,0,void 0,i,!0)),u.height=(u.height||0)+(_-c)+1,u.itemCount+=l;if(c+=_-c+1,f&&h)return"break"},v=this,w=r;w<m;w+=l){if("break"===b(w))break}return u&&(u.key="spacer-end",s.push(u)),this._materializedRect=a,{pages:s,measureVersion:this._measureVersion}},t.prototype._getPageSpecification=function(e,t){var n=this.props.getPageSpecification;if(n){var o=n(e,t),r=o.itemCount,i=void 0===r?this._getItemCountForPage(e,t):r,a=o.height;return{itemCount:i,height:void 0===a?this._getPageHeight(e,t,i):a,data:o.data,key:o.key}}return{itemCount:i=this._getItemCountForPage(e,t),height:this._getPageHeight(e,t,i)}},t.prototype._getPageHeight=function(e,t,n){if(this.props.getPageHeight)return this.props.getPageHeight(e,t,n);var o=this._cachedPageHeights[e];return o?o.height:this._estimatedPageHeight||30},t.prototype._getItemCountForPage=function(e,t){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){var n=(e=e||this.props).renderedWindowsAhead,r=e.renderedWindowsBehind,i=this.state.pages;if(this._shouldVirtualize(e)){var a=this._surfaceRect||Object(o.a)({},y),s=this._scrollElement&&this._scrollElement.scrollHeight,l=this._scrollElement?this._scrollElement.scrollTop:0;this._surface.current&&(t||!i||!this._surfaceRect||!s||s!==this._scrollHeight||Math.abs(this._scrollTop-l)>this._estimatedPageHeight/3)&&(a=this._surfaceRect=_(this._surface.current),this._scrollTop=l),!t&&s&&s===this._scrollHeight||this._measureVersion++,this._scrollHeight=s;var c=Math.max(0,-a.top),u=Object(m.a)(this._root.current),d={top:c,left:a.left,bottom:c+u.innerHeight,right:a.right,width:a.width,height:u.innerHeight};this._requiredRect=S(d,this._requiredWindowsBehind,this._requiredWindowsAhead),this._allowedRect=S(d,r,n),this._visibleRect=d}},t.defaultProps={startIndex:0,onRenderCell:function(e,t,n){return r.createElement(r.Fragment,null,e&&e.name||"")},renderedWindowsAhead:2,renderedWindowsBehind:2},t}(r.Component);function S(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}}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit