!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=699)}([function(e,t){e.exports=React},function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"b",(function(){return s})),r.d(t,"e",(function(){return l}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function l(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return jt})),r.d(t,"h",(function(){return Ft})),r.d(t,"d",(function(){return At})),r.d(t,"b",(function(){return le})),r.d(t,"c",(function(){return se})),r.d(t,"g",(function(){return ve})),r.d(t,"e",(function(){return ge})),r.d(t,"f",(function(){return Pe})),r.d(t,"eb",(function(){return Me})),r.d(t,"i",(function(){return ye})),r.d(t,"j",(function(){return be})),r.d(t,"n",(function(){return we})),r.d(t,"I",(function(){return Oe})),r.d(t,"O",(function(){return Ze})),r.d(t,"K",(function(){return Xe})),r.d(t,"N",(function(){return et})),r.d(t,"S",(function(){return tt})),r.d(t,"X",(function(){return rt})),r.d(t,"p",(function(){return st})),r.d(t,"P",(function(){return ct})),r.d(t,"W",(function(){return ft})),r.d(t,"D",(function(){return wt})),r.d(t,"V",(function(){return St})),r.d(t,"Z",(function(){return Vt})),r.d(t,"J",(function(){return kt})),r.d(t,"hb",(function(){return Ot})),r.d(t,"ib",(function(){return Ct})),r.d(t,"k",(function(){return je})),r.d(t,"m",(function(){return Fe})),r.d(t,"l",(function(){return Ae})),r.d(t,"x",(function(){return Re})),r.d(t,"w",(function(){return De})),r.d(t,"v",(function(){return Le})),r.d(t,"z",(function(){return Be})),r.d(t,"A",(function(){return Ne})),r.d(t,"B",(function(){return Ue})),r.d(t,"s",(function(){return He})),r.d(t,"r",(function(){return qe})),r.d(t,"q",(function(){return We})),r.d(t,"t",(function(){return ze})),r.d(t,"u",(function(){return Ke})),r.d(t,"y",(function(){return Ge})),r.d(t,"U",(function(){return Je})),r.d(t,"db",(function(){return Tt})),r.d(t,"cb",(function(){return Pt})),r.d(t,"M",(function(){return xt})),r.d(t,"T",(function(){return Mt})),r.d(t,"E",(function(){return Ye})),r.d(t,"F",(function(){return c})),r.d(t,"Q",(function(){return w})),r.d(t,"gb",(function(){return g})),r.d(t,"fb",(function(){return b})),r.d(t,"kb",(function(){return y})),r.d(t,"jb",(function(){return _})),r.d(t,"R",(function(){return k})),r.d(t,"o",(function(){return n.a})),r.d(t,"C",(function(){return n.b})),r.d(t,"G",(function(){return o.a})),r.d(t,"H",(function(){return i.a})),r.d(t,"L",(function(){return a.a})),r.d(t,"Y",(function(){return s.a})),r.d(t,"ab",(function(){return l.b})),r.d(t,"bb",(function(){return u.b}));var n=r(24),o=r(82),i=r(229),a=r(499),s=r(500),l=r(177),u=r(131);function c(e){var t={},r=function(r){var n;e.hasOwnProperty(r)&&Object.defineProperty(t,r,{get:function(){return void 0===n&&(n=Object(u.b)(e[r]).toString()),n},enumerable:!0,configurable:!0})};for(var n in e)r(n);return t}var d=r(1),p=r(156),f=r(88),h=p.a.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),m=n.b.getInstance();m&&m.onReset&&m.onReset((function(){for(var e in h)h.hasOwnProperty(e)&&h[e].subset&&(h[e].subset.className=void 0)}));var v=function(e){return e.toLowerCase()};function g(e,t){var r=Object(d.a)(Object(d.a)({},e),{isRegistered:!1,className:void 0}),n=e.icons;for(var o in t=t?Object(d.a)(Object(d.a)({},h.__options),t):h.__options,n)if(n.hasOwnProperty(o)){var i=n[o],a=v(o);h[a]?C(o):h[a]={code:i,subset:r}}}function y(e){for(var t=h.__options,r=function(e){var r=v(e);h[r]?delete h[r]:t.disableWarnings||Object(f.b)('The icon "'+e+'" tried to unregister but was not registered.'),h.__remapped[r]&&delete h.__remapped[r],Object.keys(h.__remapped).forEach((function(e){h.__remapped[e]===r&&delete h.__remapped[e]}))},n=0,o=e;n<o.length;n++){r(o[n])}}function b(e,t){h.__remapped[v(e)]=v(t)}function w(e){var t=void 0,r=h.__options;if(e=e?v(e):"",e=h.__remapped[e]||e)if(t=h[e]){var n=t.subset;n&&n.fontFace&&(n.isRegistered||(Object(a.a)(n.fontFace),n.isRegistered=!0),n.className||(n.className=Object(u.b)(n.style,{fontFamily:n.fontFace.fontFamily,fontWeight:n.fontFace.fontWeight||"normal",fontStyle:n.fontFace.fontStyle||"normal"})))}else!r.disableWarnings&&r.warnOnMissingIcons&&Object(f.b)('The icon "'+e+'" was used but not registered. See http://aka.ms/fabric-icon-usage for more information.');return t}function _(e){h.__options=Object(d.a)(Object(d.a)({},h.__options),e)}var S=[],O=void 0;function C(e){var t=h.__options;t.disableWarnings||(S.push(e),void 0===O&&(O=setTimeout((function(){Object(f.b)("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+S.slice(0,10).join(", ")+(S.length>10?" (+ "+(S.length-10)+" more)":"")),O=void 0,S=[]}),2e3)))}var V={display:"inline-block"};function k(e){var t="",r=w(e);return r&&(t=Object(u.b)(r.subset.className,V,{selectors:{"::before":{content:'"'+r.code+'"'}}})),t}var E="cubic-bezier(.1,.9,.2,1)",T="cubic-bezier(.1,.25,.75,.9)",P=Object(s.a)({from:{opacity:0},to:{opacity:1}}),x=Object(s.a)({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),I=ce(-10),M=ce(-20),j=ce(-40),F=ce(-400),A=ce(10),R=ce(20),D=ce(40),L=ce(400),B=de(10),N=de(20),U=de(-10),H=de(-20),q=pe(10),W=pe(20),z=pe(40),K=pe(400),G=pe(-10),J=pe(-20),Y=pe(-40),Q=pe(-400),Z=fe(-10),$=fe(-20),X=fe(10),ee=fe(20),te=Object(s.a)({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),re=Object(s.a)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),ne=Object(s.a)({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),oe=Object(s.a)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),ie=Object(s.a)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),ae=Object(s.a)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),se={easeFunction1:E,easeFunction2:T,durationValue1:"0.167s",durationValue2:"0.267s",durationValue3:"0.367s",durationValue4:"0.467s"},le={slideRightIn10:ue(P+","+I,"0.367s",E),slideRightIn20:ue(P+","+M,"0.367s",E),slideRightIn40:ue(P+","+j,"0.367s",E),slideRightIn400:ue(P+","+F,"0.367s",E),slideLeftIn10:ue(P+","+A,"0.367s",E),slideLeftIn20:ue(P+","+R,"0.367s",E),slideLeftIn40:ue(P+","+D,"0.367s",E),slideLeftIn400:ue(P+","+L,"0.367s",E),slideUpIn10:ue(P+","+B,"0.367s",E),slideUpIn20:ue(P+","+N,"0.367s",E),slideDownIn10:ue(P+","+U,"0.367s",E),slideDownIn20:ue(P+","+H,"0.367s",E),slideRightOut10:ue(x+","+q,"0.367s",E),slideRightOut20:ue(x+","+W,"0.367s",E),slideRightOut40:ue(x+","+z,"0.367s",E),slideRightOut400:ue(x+","+K,"0.367s",E),slideLeftOut10:ue(x+","+G,"0.367s",E),slideLeftOut20:ue(x+","+J,"0.367s",E),slideLeftOut40:ue(x+","+Y,"0.367s",E),slideLeftOut400:ue(x+","+Q,"0.367s",E),slideUpOut10:ue(x+","+Z,"0.367s",E),slideUpOut20:ue(x+","+$,"0.367s",E),slideDownOut10:ue(x+","+X,"0.367s",E),slideDownOut20:ue(x+","+ee,"0.367s",E),scaleUpIn100:ue(P+","+te,"0.367s",E),scaleDownIn100:ue(P+","+ne,"0.367s",E),scaleUpOut103:ue(x+","+oe,"0.167s",T),scaleDownOut98:ue(x+","+re,"0.167s",T),fadeIn100:ue(P,"0.167s",T),fadeIn200:ue(P,"0.267s",T),fadeIn400:ue(P,"0.367s",T),fadeIn500:ue(P,"0.467s",T),fadeOut100:ue(x,"0.167s",T),fadeOut200:ue(x,"0.267s",T),fadeOut400:ue(x,"0.367s",T),fadeOut500:ue(x,"0.467s",T),rotate90deg:ue(ie,"0.1s",T),rotateN90deg:ue(ae,"0.1s",T)};function ue(e,t,r){return{animationName:e,animationDuration:t,animationTimingFunction:r,animationFillMode:"both"}}function ce(e){return Object(s.a)({from:{transform:"translate3d("+e+"px,0,0)"},to:{transform:"translate3d(0,0,0)"}})}function de(e){return Object(s.a)({from:{transform:"translate3d(0,"+e+"px,0)"},to:{transform:"translate3d(0,0,0)"}})}function pe(e){return Object(s.a)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function fe(e){return Object(s.a)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var he,me,ve={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"},ge={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)"}(he||(he={})),function(e){e.Arabic="'"+he.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+he.Cyrillic+"'",e.EastEuropean="'"+he.EastEuropean+"'",e.Greek="'"+he.Greek+"'",e.Hebrew="'"+he.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+he.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+he.Vietnamese+"'",e.WestEuropean="'"+he.WestEuropean+"'",e.Armenian="'"+he.Armenian+"'",e.Georgian="'"+he.Georgian+"'"}(me||(me={}));var ye,be,we,_e="'Segoe UI', '"+he.WestEuropean+"'",Se={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 Oe(e){var t=function(e){for(var t in Se)if(Se.hasOwnProperty(t)&&e&&0===t.indexOf(e))return Se[t];return _e}(e),r=t+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";return{tiny:Ce(ye.mini,be.regular,r),xSmall:Ce(ye.xSmall,be.regular,r),small:Ce(ye.small,be.regular,r),smallPlus:Ce(ye.smallPlus,be.regular,r),medium:Ce(ye.medium,be.regular,r),mediumPlus:Ce(ye.mediumPlus,be.regular,r),large:Ce(ye.large,be.regular,r),xLarge:Ce(ye.xLarge,be.semibold,r),xLargePlus:Ce(ye.xLargePlus,be.semibold,r),xxLarge:Ce(ye.xxLarge,be.semibold,r),xxLargePlus:Ce(ye.xxLargePlus,be.semibold,r),superLarge:Ce(ye.superLarge,be.semibold,r),mega:Ce(ye.mega,be.semibold,r)}}function Ce(e,t,r){return{fontFamily:r,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"}(ye||(ye={})),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"}(we||(we={}));var Ve,ke,Ee=r(510),Te=r(10),Pe=Oe(Object(Ee.a)());function xe(e,t,r,n){e="'"+e+"'";var o=void 0!==n?"local('"+n+"'),":"";Object(a.a)({fontFamily:e,src:o+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:r,fontStyle:"normal",fontDisplay:"swap"})}function Ie(e,t,r,n,o){void 0===n&&(n="segoeui");var i=e+"/"+r+"/"+n;xe(t,i+"-light",be.light,o&&o+" Light"),xe(t,i+"-semilight",be.semilight,o&&o+" SemiLight"),xe(t,i+"-regular",be.regular,o),xe(t,i+"-semibold",be.semibold,o&&o+" SemiBold")}function Me(e){if(e){var t=e+"/fonts";Ie(t,he.Thai,"leelawadeeui-thai","leelawadeeui"),Ie(t,he.Arabic,"segoeui-arabic"),Ie(t,he.Cyrillic,"segoeui-cyrillic"),Ie(t,he.EastEuropean,"segoeui-easteuropean"),Ie(t,he.Greek,"segoeui-greek"),Ie(t,he.Hebrew,"segoeui-hebrew"),Ie(t,he.Vietnamese,"segoeui-vietnamese"),Ie(t,he.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Ie(t,me.Selawik,"selawik","selawik"),Ie(t,he.Armenian,"segoeui-armenian"),Ie(t,he.Georgian,"segoeui-georgian"),xe("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",be.light),xe("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",be.semibold)}}Me((Ve=Object(Te.a)(),(ke=Ve?Ve.FabricConfig:void 0)&&void 0!==ke.fontBaseUrl?ke.fontBaseUrl:"https://static2.sharepointonline.com/files/fabric/assets"));var je="@media screen and (-ms-high-contrast: active)",Fe="@media screen and (-ms-high-contrast: black-on-white)",Ae="@media screen and (-ms-high-contrast: white-on-black)",Re=320,De=480,Le=640,Be=1024,Ne=1366,Ue=1920,He=De-1,qe=Le-1,We=Be-1,ze=Ne-1,Ke=Ue-1,Ge=768;function Je(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"}var Ye,Qe=r(63);function Ze(e,t,r,n,o,i,a){return $e(e,"number"!=typeof t&&t?t:{inset:t,position:r,highContrastStyle:n,borderColor:o,outlineColor:i,isFocusedOnly:a})}function $e(e,t){var r,n;void 0===t&&(t={});var o=t.inset,i=void 0===o?0:o,a=t.width,s=void 0===a?1:a,l=t.position,u=void 0===l?"relative":l,c=t.highContrastStyle,d=t.borderColor,p=void 0===d?e.palette.white:d,f=t.outlineColor,h=void 0===f?e.palette.neutralSecondary:f,m=t.isFocusedOnly,v=void 0===m||m;return{outline:"transparent",position:u,selectors:(r={"::-moz-focus-inner":{border:"0"}},r["."+Qe.a+" &"+(v?":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:Ye.FocusStyle,selectors:(n={},n[je]=c,n)},r)}}function Xe(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}function et(e,t,r,n){var o;return void 0===t&&(t=0),void 0===r&&(r=1),{selectors:(o={},o[":global("+Qe.a+") &:focus"]={outline:r+" solid "+(n||e.palette.neutralSecondary),outlineOffset:-t+"px"},o)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Ye||(Ye={}));var tt=function(e,t,r,n){var o,i,a;void 0===r&&(r="border"),void 0===n&&(n=-1);var s="borderBottom"===r;return{borderColor:e,selectors:{":after":(o={pointerEvents:"none",content:"''",position:"absolute",left:s?0:n,top:n,bottom:n,right:s?0:n},o[r]="2px solid "+e,o.borderRadius=t,o.width="borderBottom"===r?"100%":void 0,o.selectors=(i={},i[je]=(a={},a["border"===r?"borderColor":"borderBottomColor"]="Highlight",a),i),o)}}},rt={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden"};function nt(e,t){return{borderColor:e,borderWidth:"0px",width:t,height:t}}function ot(e){return{opacity:1,borderWidth:e}}function it(e,t){return{borderWidth:"0",width:t,height:t,opacity:0,borderColor:e}}function at(e,t){return Object(d.a)(Object(d.a)({},nt(e,t)),{opacity:0})}var st={continuousPulseAnimationDouble:function(e,t,r,n,o){return Object(s.a)({"0%":nt(e,r),"1.42%":ot(o),"3.57%":{opacity:1},"7.14%":it(t,n),"8%":at(e,r),"29.99%":at(e,r),"30%":nt(e,r),"31.42%":ot(o),"33.57%":{opacity:1},"37.14%":it(t,n),"38%":at(e,r),"79.42%":at(e,r),79.43:nt(e,r),81.85:ot(o),83.42:{opacity:1},"87%":it(t,n),"100%":{}})},continuousPulseAnimationSingle:function(e,t,r,n,o){return Object(s.a)({"0%":nt(e,r),"14.2%":ot(o),"35.7%":{opacity:1},"71.4%":it(t,n),"100%":{}})},createDefaultAnimation:function(e,t){return{animationName:e,animationIterationCount:"1",animationDuration:"14s",animationDelay:t||"2s"}}},lt=r(28),ut=Object(lt.c)((function(e,t){var r=n.b.getInstance();return t?Object.keys(e).reduce((function(t,n){return t[n]=r.getClassName(e[n]),t}),{}):e}));function ct(e,t,r){return ut(e,void 0!==r?r:t.disableGlobalClassNames)}var dt=r(38),pt=r(121);function ft(e,t,r){var n,o=e,i=r||dt.a.getSettings(["theme"],void 0,e.customizations).theme;r&&(n={theme:r});var a=t&&i&&i.schemes&&i.schemes[t];return i&&a&&i!==a&&((n={theme:a}).theme.schemes=i.schemes),n&&(o={customizations:{settings:Object(pt.b)(e.customizations.settings,n),scopedSettings:e.customizations.scopedSettings}}),o}var ht,mt=r(501),vt={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},gt=r(47),yt=kt({palette:ve,semanticColors:Et(ve,!1,!1),fonts:Pe,isInverted:!1,disableGlobalClassNames:!1}),bt=[],wt="theme";if(!dt.a.getSettings([wt]).theme){var _t=Object(Te.a)();_t&&_t.FabricConfig&&_t.FabricConfig.theme&&(yt=kt(_t.FabricConfig.theme)),dt.a.applySettings(((ht={})[wt]=yt,ht))}function St(e){return void 0===e&&(e=!1),!0===e&&(yt=kt({},e)),yt}function Ot(e){-1===bt.indexOf(e)&&bt.push(e)}function Ct(e){var t=bt.indexOf(e);-1!==t&&bt.splice(t,1)}function Vt(e,t){var r;return void 0===t&&(t=!1),yt=kt(e,t),Object(gt.b)(Object(d.a)(Object(d.a)(Object(d.a)(Object(d.a)({},yt.palette),yt.semanticColors),yt.effects),function(e){for(var t={},r=0,n=Object.keys(e.fonts);r<n.length;r++)for(var o=n[r],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],u=o+l.charAt(0).toUpperCase()+l.slice(1),c=i[l];"fontSize"===l&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(yt))),dt.a.applySettings(((r={})[wt]=yt,r)),bt.forEach((function(e){try{e(yt)}catch(e){}})),yt}function kt(e,t){void 0===t&&(t=!1);var r=Object(d.a)(Object(d.a)({},ve),e.palette);e.palette&&e.palette.accent||(r.accent=r.themePrimary);var n=Object(d.a)(Object(d.a)({},Et(r,!!e.isInverted,t)),e.semanticColors),o=Object(d.a)({},Pe);if(e.defaultFontStyle)for(var i=0,a=Object.keys(o);i<a.length;i++){o[u=a[i]]=Object(mt.a)({},o[u],e.defaultFontStyle)}if(e.fonts)for(var s=0,l=Object.keys(e.fonts);s<l.length;s++){var u;o[u=l[s]]=Object(mt.a)({},o[u],e.fonts[u])}return{palette:r,fonts:Object(d.a)({},o),rtl:e.rtl,semanticColors:n,isInverted:!!e.isInverted,disableGlobalClassNames:!!e.disableGlobalClassNames,spacing:Object(d.a)(Object(d.a)({},vt),e.spacing),effects:Object(d.a)(Object(d.a)({},ge),e.effects)}}function Et(e,t,r){return function(e,t){var r="";!0===t&&(r=" /* @deprecated */");return e.listTextColor=e.listText+r,e.menuItemBackgroundChecked+=r,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?"#ff5f5f":e.redDark,warningText:t?"#ffffff":"#333333",successText:t?"#92c353":"#107C10",errorBackground:t?"rgba(232, 17, 35, .5)":"rgba(245, 135, 145, .2)",blockingBackground:t?"rgba(234, 67, 0, .5)":"rgba(250, 65, 0, .2)",warningBackground:t?"rgba(255, 251, 0, .6)":"rgba(255, 200, 10, .2)",warningHighlight:t?"#fff100":"#ffb900",successBackground:t?"rgba(186, 216, 10, .4)":"rgba(95, 210, 85, .2)",listTextColor:"",menuItemBackgroundChecked:e.neutralLight},r)}var Tt={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"},Pt={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};function xt(e,t,r,n,o){void 0===t&&(t="bodyBackground"),void 0===r&&(r="horizontal"),void 0===n&&(n=It("width",r)),void 0===o&&(o=It("height",r));var i=e.semanticColors[t]||e.palette[t],a=function(e){if("#"===e[0])return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)};if(0===e.indexOf("rgba(")){var t=(e=e.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2]}}return{r:255,g:255,b:255}}(i);return{content:'""',position:"absolute",right:0,bottom:0,width:n,height:o,pointerEvents:"none",backgroundImage:"linear-gradient("+("vertical"===r?"to bottom":"to right")+", "+("rgba("+a.r+", "+a.g+", "+a.b+", 0)")+" 0%, "+i+" 100%)"}}function It(e,t){return"width"===e?"horizontal"===t?20:"100%":"vertical"===t?"50%":"100%"}function Mt(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var jt=c(le),Ft=c(Pe),At={};for(var Rt in ve)ve.hasOwnProperty(Rt)&&(Dt(At,Rt,"",!1,"color"),Dt(At,Rt,"Hover",!0,"color"),Dt(At,Rt,"Background",!1,"background"),Dt(At,Rt,"BackgroundHover",!0,"background"),Dt(At,Rt,"Border",!1,"borderColor"),Dt(At,Rt,"BorderHover",!0,"borderColor"));function Dt(e,t,r,n,o){Object.defineProperty(e,t+r,{get:function(){var e,r=((e={})[o]=St().palette[t],e);return Object(u.b)(n?{selectors:{":hover":r}}:r).toString()},enumerable:!0,configurable:!0})}var Lt=r(74);Object(Lt.a)("@uifabric/styling","7.10.4")},,,function(e,t,r){"use strict";var n,o;r.d(t,"b",(function(){return n})),r.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"}(n||(n={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(o||(o={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n={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,r){"use strict";r.d(t,"a",(function(){return n}));var n={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,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"h",(function(){return u})),r.d(t,"f",(function(){return c})),r.d(t,"i",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"k",(function(){return f})),r.d(t,"j",(function(){return h})),r.d(t,"o",(function(){return m})),r.d(t,"n",(function(){return v})),r.d(t,"m",(function(){return g})),r.d(t,"l",(function(){return y})),r.d(t,"a",(function(){return b})),r.d(t,"p",(function(){return w})),r.d(t,"b",(function(){return S})),r.d(t,"g",(function(){return O})),r.d(t,"d",(function(){return C}));var n=r(154),o=r(48),i=r(18),a=r(10),s=r(17);function l(e,t,r){return h(e,t,!0,!1,!1,r)}function u(e,t,r){return f(e,t,!0,!1,!0,r)}function c(e,t,r,n){return void 0===n&&(n=!0),h(e,t,n,!1,!1,r,!1,!0)}function d(e,t,r,n){return void 0===n&&(n=!0),f(e,t,n,!1,!0,r,!1,!0)}function p(e){var t=h(e,e,!0,!1,!1,!0);return!!t&&(S(t),!0)}function f(e,t,r,n,o,i,a,s){if(!t||!a&&t===e)return null;var l=m(t);if(o&&l&&(i||!g(t)&&!y(t))){var u=f(e,t.lastElementChild,!0,!0,!0,i,a,s);if(u){if(s&&v(u,!0)||!s)return u;var c=f(e,u.previousElementSibling,!0,!0,!0,i,a,s);if(c)return c;for(var d=u.parentElement;d&&d!==t;){var p=f(e,d.previousElementSibling,!0,!0,!0,i,a,s);if(p)return p;d=d.parentElement}}}if(r&&l&&v(t,s))return t;var h=f(e,t.previousElementSibling,!0,!0,!0,i,a,s);return h||(n?null:f(e,t.parentElement,!0,!1,!1,i,a,s))}function h(e,t,r,n,o,i,a,s){if(!t||t===e&&o&&!a)return null;var l=m(t);if(r&&l&&v(t,s))return t;if(!o&&l&&(i||!g(t)&&!y(t))){var u=h(e,t.firstElementChild,!0,!0,!1,i,a,s);if(u)return u}if(t===e)return null;var c=h(e,t.nextElementSibling,!0,!0,!1,i,a,s);return c||(n?null:h(e,t.parentElement,!1,!1,!0,i,a,s))}function m(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function v(e,t){if(!e||e.disabled)return!1;var r=0,n=null;e&&e.getAttribute&&(n=e.getAttribute("tabIndex"))&&(r=parseInt(n,10));var o=e.getAttribute?e.getAttribute("data-is-focusable"):null,i=null!==n&&r>=0,a=!!e&&"false"!==o&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===o||i);return t?-1!==r&&a:a}function g(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function y(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function b(e){var t=Object(s.a)(e),r=t&&t.activeElement;return!(!r||!Object(o.a)(e,r))}function w(e,t){return"true"!==Object(n.a)(e,t)}var _=void 0;function S(e){if(e){if(_)return void(_=e);_=e;var t=Object(a.a)(e);t&&t.requestAnimationFrame((function(){_&&_.focus(),_=void 0}))}}function O(e,t){for(var r=e,n=0,o=t;n<o.length;n++){var i=o[n],a=r.children[Math.min(i,r.children.length-1)];if(!a)break;r=a}return r=v(r)&&m(r)?r:h(e,r,!0)||f(e,r)}function C(e,t){for(var r=[];t&&e&&t!==e;){var n=Object(i.a)(t,!0);if(null===n)return[];r.unshift(Array.prototype.indexOf.call(n.children,t)),t=n}return r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(98),o=void 0;try{o=window}catch(e){}function i(e){if(!n.a&&void 0!==o){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:o}}},function(e,t,r){"use strict";var n,o,i;r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o})),r.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"}(n||(n={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(o||(o={})),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,r){var n=r(16),o=r(57).f,i=r(58),a=r(65),s=r(137),l=r(423),u=r(188);e.exports=function(e,t){var r,c,d,p,f,h=e.target,m=e.global,v=e.stat;if(r=m?n:v?n[h]||s(h,{}):(n[h]||{}).prototype)for(c in t){if(p=t[c],d=e.noTargetGet?(f=o(r,c))&&f.value:r[c],!u(m?c:h+(v?".":"#")+c,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(r,c,p,e)}}},function(e,t,r){"use strict";r.d(t,"e",(function(){return o})),r.d(t,"f",(function(){return i})),r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"c",(function(){return u})),r.d(t,"g",(function(){return n}));var n,o="ktp",i="-",a="data-ktp-target",s="data-ktp-execute-target",l="ktp-layer-id",u=", ";!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"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return i})),r.d(t,"k",(function(){return a})),r.d(t,"p",(function(){return s})),r.d(t,"b",(function(){return l})),r.d(t,"z",(function(){return u})),r.d(t,"r",(function(){return c})),r.d(t,"q",(function(){return d})),r.d(t,"a",(function(){return p})),r.d(t,"e",(function(){return f})),r.d(t,"o",(function(){return h})),r.d(t,"w",(function(){return m})),r.d(t,"t",(function(){return v})),r.d(t,"s",(function(){return g})),r.d(t,"u",(function(){return y})),r.d(t,"y",(function(){return b})),r.d(t,"x",(function(){return w})),r.d(t,"v",(function(){return _})),r.d(t,"f",(function(){return S})),r.d(t,"g",(function(){return O})),r.d(t,"i",(function(){return C})),r.d(t,"l",(function(){return V})),r.d(t,"n",(function(){return k})),r.d(t,"m",(function(){return E})),r.d(t,"h",(function(){return T})),r.d(t,"j",(function(){return P}));var n=r(56),o=["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"],i=["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","role","style","tabIndex","title","translate","spellCheck","name"],a=i.concat(o),s=a.concat(["form"]),l=a.concat(["height","loop","muted","preload","src","width"]),u=l.concat(["poster"]),c=a.concat(["start"]),d=a.concat(["value"]),p=a.concat(["download","href","hrefLang","media","rel","target","type"]),f=a.concat(["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),h=f.concat(["accept","alt","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),m=f.concat(["cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),v=f.concat(["form","multiple","required"]),g=a.concat(["selected","value"]),y=a.concat(["cellPadding","cellSpacing"]),b=a,w=a.concat(["rowSpan","scope"]),_=a.concat(["colSpan","headers","rowSpan","scope"]),S=a.concat(["span"]),O=a.concat(["span"]),C=a.concat(["acceptCharset","action","encType","encType","method","noValidate","target"]),V=a.concat(["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),k=a.concat(["alt","crossOrigin","height","src","srcSet","useMap","width"]),E=k,T=a;function P(e,t,r){return Object(n.b)((function(e){return(!r||r.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)}),{},e)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")()}).call(this,r(133))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(98);function o(e){if(!n.a&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(153);function o(e,t){return void 0===t&&(t=!0),e&&(t&&Object(n.a)(e)||e.parentNode&&e.parentNode)}},function(e,t,r){var n=r(15);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){"use strict";r.d(t,"e",(function(){return a})),r.d(t,"d",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return c}));var n=r(1),o=r(13),i=r(73);function a(e){return e.reduce((function(e,t){return e+o.f+t.split("").join(o.f)}),o.e)}function s(e,t){var r=t.length,o=Object(n.e)(t).pop(),a=Object(n.e)(e);return Object(i.a)(a,r-1,o)}function l(e){return"["+o.b+'="'+a(e)+'"]'}function u(e){return"["+o.a+'="'+e+'"]'}function c(e){var t=" "+o.d;return e.length?t+" "+a(e):t}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){var n=r(16),o=r(139),i=r(36),a=r(111),s=r(145),l=r(189),u=o("wks"),c=n.Symbol,d=l?c:c&&c.withoutSetter||a;e.exports=function(e){return i(u,e)||(s&&i(c,e)?u[e]=c[e]:u[e]=d("Symbol."+e)),u[e]}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return l}));var n,o=r(1),i={none:0,insertNode:1,appendChild:2},a="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),s={};try{s=window}catch(e){}var l=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=Object(o.a)({injectionMode:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(n=s.__stylesheet__)||n._lastStyleElement&&n._lastStyleElement.ownerDocument!==document){var t=s&&s.FabricConfig||{};n=s.__stylesheet__=new e(t.mergeStyles)}return n},e.prototype.setConfig=function(e){this._config=Object(o.a)(Object(o.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,r,n){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:r,rules:n}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},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 r=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),r)switch(this._config.injectionMode){case i.insertNode:var n=r.sheet;try{n.insertRule(e,n.cssRules.length)}catch(e){}break;case i.appendChild:r.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),a||window.requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var r=this._config.cspSettings;if(r&&r.nonce&&t.setAttribute("nonce",r.nonce),this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var n=this._findPlaceholderStyleTag();n?e.insertBefore(t,n.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,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return n}));var n,o={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"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(56),o=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,r,o,i){var a;if(e._isElement(t)){if("undefined"!=typeof document&&document.createEvent){var s=document.createEvent("HTMLEvents");s.initEvent(r,i||!1,!0),Object(n.a)(s,o),a=t.dispatchEvent(s)}else if("undefined"!=typeof document&&document.createEventObject){var l=document.createEventObject(o);t.fireEvent("on"+r,l)}}else for(;t&&!1!==a;){var u=t.__events__,c=u?u[r]:null;if(c)for(var d in c)if(c.hasOwnProperty(d))for(var p=c[d],f=0;!1!==a&&f<p.length;f++){var h=p[f];h.objectCallback&&(a=h.objectCallback.call(h.parent,o))}t=i?t.parent:null}return a},e.isObserved=function(e,t){var r=e&&e.__events__;return!!r&&!!r[t]},e.isDeclared=function(e,t){var r=e&&e.__declaredEvents;return!!r&&!!r[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,r){for(var n in t)t.hasOwnProperty(n)&&this.on(e,n,t[n],r)},e.prototype.on=function(t,r,n,o){var i=this;if(r.indexOf(",")>-1)for(var a=r.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],n,o);else{var l=this._parent,u={target:t,eventName:r,parent:l,callback:n,options:o};if((a=t.__events__=t.__events__||{})[r]=a[r]||{count:0},a[r][this._id]=a[r][this._id]||[],a[r][this._id].push(u),a[r].count++,e._isElement(t)){var c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var r;try{if(!1===(r=n.apply(l,e))&&e[0]){var o=e[0];o.preventDefault&&o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.cancelBubble=!0}}catch(o){}return r}};u.elementCallback=c,t.addEventListener?t.addEventListener(r,c,o):t.attachEvent&&t.attachEvent("on"+r,c)}else{u.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return n.apply(l,e)}}this._eventRecords.push(u)}},e.prototype.off=function(e,t,r,n){for(var o=0;o<this._eventRecords.length;o++){var i=this._eventRecords[o];if(!(e&&e!==i.target||t&&t!==i.eventName||r&&r!==i.callback||"boolean"==typeof n&&n!==i.options)){var a=i.target.__events__,s=a[i.eventName],l=s?s[this._id]:null;l&&(1!==l.length&&r?(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(o--,1)}}},e.prototype.raise=function(t,r,n){return e.raise(this._parent,t,r,n)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var r=0;r<e.length;r++)t[e[r]]=!0},e._uniqueId=0,e}()},,function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"d",(function(){return c})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"a",(function(){return f}));var n=r(24),o=n.b.getInstance();o&&o.onReset&&n.b.getInstance().onReset(c);var i=0,a={empty:!0},s={},l="undefined"==typeof WeakMap?null:WeakMap;function u(e){l=e}function c(){i++}function d(e,t,r){var n=p(r.value&&r.value.bind(null));return{configurable:!0,get:function(){return n}}}function p(e,t,r){if(void 0===t&&(t=100),void 0===r&&(r=!1),!l)return e;var n,o=0,a=i;return function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];var u=n;(void 0===n||a!==i||t>0&&o>t)&&(n=m(),o=0,a=i),u=n;for(var c=0;c<s.length;c++){var d=h(s[c]);u.map.has(d)||u.map.set(d,m()),u=u.map.get(d)}return u.hasOwnProperty("value")||(u.value=e.apply(void 0,s),o++),!r||null!==u.value&&void 0!==u.value||(u.value=e.apply(void 0,s)),u.value}}function f(e){if(!l)return e;var t=new l;return function(r){if(!r||"function"!=typeof r&&"object"!=typeof r)return e(r);if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}function h(e){return e?"object"==typeof e||"function"==typeof e?e:(s[e]||(s[e]={val:e}),s[e]):a}function m(){return{map:l?new l:null}}},,function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var n=r(28),o=r(3),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(n.c)((function(e,t,r,n,a,s,l,u,c,d,p){var f,h,m=Object(o.P)(i,e||{}),v=d&&!p;return Object(o.ab)({root:[m.msButton,t.root,n,c&&["is-checked",t.rootChecked],v&&["is-expanded",t.rootExpanded,{selectors:(f={},f[":hover ."+m.msButtonIcon]=t.iconExpandedHovered,f[":hover ."+m.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,f[":hover"]=t.rootExpandedHovered,f)}],u&&[i.msButtonHasMenu,t.rootHasMenu],l&&["is-disabled",t.rootDisabled],!l&&!v&&!c&&{selectors:(h={":hover":t.rootHovered},h[":hover ."+m.msButtonLabel]=t.labelHovered,h[":hover ."+m.msButtonIcon]=t.iconHovered,h[":hover ."+m.msButtonDescription]=t.descriptionHovered,h[":hover ."+m.msButtonMenuIcon]=t.menuIconHovered,h[":focus"]=t.rootFocused,h[":active"]=t.rootPressed,h[":active ."+m.msButtonIcon]=t.iconPressed,h[":active ."+m.msButtonDescription]=t.descriptionPressed,h[":active ."+m.msButtonMenuIcon]=t.menuIconPressed,h)},l&&c&&[t.rootCheckedDisabled],!l&&c&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},r],flexContainer:[m.msButtonFlexContainer,t.flexContainer],textContainer:[m.msButtonTextContainer,t.textContainer],icon:[m.msButtonIcon,a,t.icon,v&&t.iconExpanded,c&&t.iconChecked,l&&t.iconDisabled],label:[m.msButtonLabel,t.label,c&&t.labelChecked,l&&t.labelDisabled],menuIcon:[m.msButtonMenuIcon,s,t.menuIcon,c&&t.menuIconChecked,l&&!p&&t.menuIconDisabled,!l&&!v&&!c&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},v&&["is-expanded",t.menuIconExpanded]],description:[m.msButtonDescription,t.description,c&&t.descriptionChecked,l&&t.descriptionDisabled],screenReaderText:[m.msButtonScreenReaderText,t.screenReaderText]})}))},function(e,t,r){var n=r(19),o=r(184),i=r(42),a=r(78),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=a(t,!0),i(r),o)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){"use strict";var n=r(210),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]=r}for(var n=0,o=arguments.length;n<o;n++)u(arguments[n],r);return t},deepMerge:function e(){var t={};function r(r,n){"object"==typeof t[n]&&"object"==typeof r?t[n]=e(t[n],r):t[n]="object"==typeof r?e({},r):r}for(var n=0,o=arguments.length;n<o;n++)u(arguments[n],r);return t},extend:function(e,t,r){return u(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return u}));var n=r(8),o=r(17);var i,a=r(54);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&&l(i="1"===t);var r=Object(o.a)();void 0===i&&r&&(i="rtl"===(r.body&&r.body.getAttribute("dir")||r.documentElement.getAttribute("dir")),Object(a.b)(i))}return!!i}function l(e,t){void 0===t&&(t=!1);var r=Object(o.a)();r&&r.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)}function u(e,t){return void 0===t&&(t={}),s(t)&&(e===n.a.left?e=n.a.right:e===n.a.right&&(e=n.a.left)),e}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(1),o=r(156),i={settings:{},scopedSettings:{},inCustomizerContext:!1},a=o.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(n.a)(Object(n.a)({},a.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,r){a.scopedSettings[t]=Object(n.a)(Object(n.a)({},a.scopedSettings[t]),r),e._raiseChange()},e.getSettings=function(e,t,r){void 0===r&&(r=i);for(var n={},o=t&&r.scopedSettings[t]||{},s=t&&a.scopedSettings[t]||{},l=0,u=e;l<u.length;l++){var c=u[l];n[c]=o[c]||r.settings[c]||s[c]||a.settings[c]}return n},e.applyBatchedUpdates=function(t,r){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,r||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,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(24),o=r(177),i=r(35),a=0,s=n.b.getInstance();s&&s.onReset&&s.onReset((function(){return a++}));var l="__retval__";function u(e){void 0===e&&(e={});var t=new Map,r=0,n=a;return function(s,u){void 0===u&&(u={});var c=t,p=u.theme,f=p&&void 0!==p.rtl?p.rtl:Object(i.a)(),h=e.disableCaching;return n!==a&&(n=a,t=new Map,r=0),e.disableCaching||(c=d(t,s),c=d(c,u)),!h&&c[l]||(c[l]=void 0===s?{}:Object(o.a)(["function"==typeof s?s(u):s],{rtl:!!f}),h||r++),r>50&&(t.clear(),r=0,e.disableCaching=!0),c[l]}}function c(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 d(e,t){if("function"==typeof t&&t.__cachedInputs__)for(var r=0,n=t.__cachedInputs__;r<n.length;r++){e=c(e,n[r])}else if("object"==typeof t)for(var o in t)t.hasOwnProperty(o)&&(e=c(e,t[o]));return e}},,function(e,t,r){var n=r(21);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,r){var n=r(135);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(28),o=r(3),i={outline:0},a=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",verticalAlign:"middle",flexShrink:0}},s=Object(n.c)((function(e){var t,r=e.semanticColors,n=e.effects,s=e.fonts,l=r.buttonBorder,u=r.disabledBackground,c=r.disabledText,d={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"};return{root:[Object(o.O)(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",verticalAlign:"top",padding:"0 16px",borderRadius:n.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(o.O)(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),{backgroundColor:u,borderColor:u,color:c,cursor:"default",pointerEvents:"none",selectors:(t={":hover":i,":focus":i},t[o.k]={color:"grayText",borderColor:"grayText"},t)}],iconDisabled:{color:c},menuIconDisabled:{color:c},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:o.X}}))},function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}));var n=r(3),o=Object(n.ab)({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,r=e.iconClassName,n=e.isPlaceholder,i=e.isImage,a=e.styles;return{root:[n&&o.placeholder,o.root,i&&o.image,r,t,a&&a.root,a&&a.imageContainer]}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(84),o=r(166),i=r(80),a=Object(n.a)(o.a,i.a,void 0,{scope:"ContextualMenuItem"})},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return p}));var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o="undefined"==typeof window?e:window,i=o&&o.CSPSettings&&o.CSPSettings.nonce,a=function(){var e=o.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=n({},e,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=n({},e,{registeredThemableStyles:[]}));return o.__themeState__=e,e}(),s=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,l=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function u(e){var t=l();e();var r=l();a.perf.duration+=r-t}function c(e,t){void 0===t&&(t=!1),u((function(){var r=Array.isArray(e)?e:m(e),n=a.runState,o=n.mode,i=n.buffer,s=n.flushTimer;t||1===o?(i.push(r),s||(a.runState.flushTimer=setTimeout((function(){a.runState.flushTimer=0,u((function(){var e=a.runState.buffer.slice();a.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&d(t)}))}),0))):d(r)}))}function d(e,t){a.loadStyles?a.loadStyles(h(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],r=document.createElement("style"),n=h(e),o=n.styleString,s=n.themable;r.setAttribute("data-load-themed-styles","true"),i&&r.setAttribute("nonce",i);r.appendChild(document.createTextNode(o)),a.perf.count++,t.appendChild(r);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:r},document.dispatchEvent(l);var u={styleElement:r,themableStyle:e};s?a.registeredThemableStyles.push(u):a.registeredStyles.push(u)}(e)}function p(e){a.theme=e,function(){if(a.theme){for(var e=[],t=0,r=a.registeredThemableStyles;t<r.length;t++){var n=r[t];e.push(n.themableStyle)}e.length>0&&(!function(e){void 0===e&&(e=3);3!==e&&2!==e||(f(a.registeredStyles),a.registeredStyles=[]);3!==e&&1!==e||(f(a.registeredThemableStyles),a.registeredThemableStyles=[])}(1),d([].concat.apply([],e)))}}()}function f(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function h(e){var t=a.theme,r=!1;return{styleString:(e||[]).map((function(e){var n=e.theme;if(n){r=!0;var o=t?t[n]:void 0,i=e.defaultValue||"inherit";return t&&!o&&console&&!(n in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'+n+'". Falling back to "'+i+'".'),o||i}return e.rawString})).join(""),themable:r}}function m(e){var t=[];if(e){for(var r=0,n=void 0;n=s.exec(e);){var o=n.index;o>r&&t.push({rawString:e.substring(r,o)}),t.push({theme:n[1],defaultValue:n[2]}),r=s.lastIndex}t.push({rawString:e.substring(r)})}return t}}).call(this,r(133))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(18);function o(e,t,r){void 0===r&&(r=!0);var o=!1;if(e&&t)if(r)for(o=!1;t;){var i=Object(n.a)(t);if(i===e){o=!0;break}t=i}else e.contains&&(o=e.contains(t));return o}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n=r(1),o=r(0),i=r(28),a=r(72),s=r(178),l=r(8),u=r(64),c=r(14),d=r(56),p=r(69),f=r(234),h=r(104),m=r(107),v=r(502),g=r(7),y=r(511),b=r(31),w=r(3),_=Object(i.c)((function(e,t,r,n,o){return{root:Object(w.bb)(e.splitButtonMenuButton,r&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],n&&!t&&[e.splitButtonMenuButtonChecked]),splitButtonContainer:Object(w.bb)(e.splitButtonContainer,!t&&n&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!n&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Object(w.bb)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&o&&e.splitButtonMenuIcon),flexContainer:Object(w.bb)(e.splitButtonFlexContainer),divider:Object(w.bb)(e.splitButtonDivider,(o||t)&&e.splitButtonDividerDisabled)}})),S=r(249),O=function(e){function t(t,r){var c=e.call(this,t)||this;return c._buttonElement=o.createRef(),c._splitButtonContainer=o.createRef(),c._renderedVisibleMenu=!1,c._getMemoizedMenuButtonKeytipProps=Object(i.c)((function(e){return Object(n.a)(Object(n.a)({},e),{hasMenu:!0})})),c._onRenderIcon=function(e,t){var r=c.props.iconProps;if(r&&(void 0!==r.iconName||r.imageProps)){var i=r.className,s=r.imageProps,l=Object(n.d)(r,["className","imageProps"]);if(r.styles)return o.createElement(h.a,Object(n.a)({className:Object(a.a)(c._classNames.icon,i),imageProps:s},l));if(r.iconName)return o.createElement(m.FontIcon,Object(n.a)({className:Object(a.a)(c._classNames.icon,i)},l));if(s)return o.createElement(v.a,Object(n.a)({className:Object(a.a)(c._classNames.icon,i),imageProps:s},l))}return null},c._onRenderTextContents=function(){var e=c.props,t=e.text,r=e.children,n=e.secondaryText,i=void 0===n?c.props.description:n,a=e.onRenderText,s=void 0===a?c._onRenderText:a,l=e.onRenderDescription,u=void 0===l?c._onRenderDescription:l;return t||"string"==typeof r||i?o.createElement("span",{className:c._classNames.textContainer},s(c.props,c._onRenderText),u(c.props,c._onRenderDescription)):[s(c.props,c._onRenderText),u(c.props,c._onRenderDescription)]},c._onRenderText=function(){var e=c.props.text,t=c.props.children;return void 0===e&&"string"==typeof t&&(e=t),c._hasText()?o.createElement("span",{key:c._labelId,className:c._classNames.label,id:c._labelId},e):null},c._onRenderChildren=function(){var e=c.props.children;return"string"==typeof e?null:e},c._onRenderDescription=function(e){var t=e.secondaryText,r=void 0===t?c.props.description:t;return r?o.createElement("span",{key:c._descriptionId,className:c._classNames.description,id:c._descriptionId},r):null},c._onRenderAriaDescription=function(){var e=c.props.ariaDescription;return e?o.createElement("span",{className:c._classNames.screenReaderText,id:c._ariaDescriptionId},e):null},c._onRenderMenuIcon=function(e){var t=c.props.menuIconProps;return o.createElement(m.FontIcon,Object(n.a)({iconName:"ChevronDown"},t,{className:c._classNames.menuIcon}))},c._onRenderMenu=function(e){var t=c.props.persistMenu,r=c.state.menuHidden,i=c.props.menuAs||y.a;return e.ariaLabel||e.labelElementId||!c._hasText()||(e=Object(n.a)(Object(n.a)({},e),{labelElementId:c._labelId})),o.createElement(i,Object(n.a)({id:c._labelId+"-menu",directionalHint:g.a.bottomLeftEdge},e,{shouldFocusOnContainer:c._menuShouldFocusOnContainer,shouldFocusOnMount:c._menuShouldFocusOnMount,hidden:t?r:void 0,className:Object(a.a)("ms-BaseButton-menuhost",e.className),target:c._isSplitButton?c._splitButtonContainer.current:c._buttonElement.current,onDismiss:c._onDismissMenu}))},c._onDismissMenu=function(e){var t=c.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||c._dismissMenu()},c._dismissMenu=function(){c._menuShouldFocusOnMount=void 0,c._menuShouldFocusOnContainer=void 0,c.setState({menuHidden:!0})},c._openMenu=function(e,t){void 0===t&&(t=!0),c.props.menuProps&&(c._menuShouldFocusOnContainer=e,c._menuShouldFocusOnMount=t,c._renderedVisibleMenu=!0,c.setState({menuHidden:!1}))},c._onToggleMenu=function(e){var t=!0;c.props.menuProps&&!1===c.props.menuProps.shouldFocusOnMount&&(t=!1),c.state.menuHidden?c._openMenu(e,t):c._dismissMenu()},c._onSplitContainerFocusCapture=function(e){var t=c._splitButtonContainer.current;!t||e.target&&Object(s.a)(e.target,t)||t.focus()},c._onSplitButtonPrimaryClick=function(e){c.state.menuHidden||c._dismissMenu(),!c._processingTouch&&c.props.onClick?c.props.onClick(e):c._processingTouch&&c._onMenuClick(e)},c._onKeyDown=function(e){!c.props.disabled||e.which!==l.a.enter&&e.which!==l.a.space?c.props.disabled||(c.props.menuProps?c._onMenuKeyDown(e):void 0!==c.props.onKeyDown&&c.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},c._onKeyUp=function(e){c.props.disabled||void 0===c.props.onKeyUp||c.props.onKeyUp(e)},c._onKeyPress=function(e){c.props.disabled||void 0===c.props.onKeyPress||c.props.onKeyPress(e)},c._onMouseUp=function(e){c.props.disabled||void 0===c.props.onMouseUp||c.props.onMouseUp(e)},c._onMouseDown=function(e){c.props.disabled||void 0===c.props.onMouseDown||c.props.onMouseDown(e)},c._onClick=function(e){c.props.disabled||(c.props.menuProps?c._onMenuClick(e):void 0!==c.props.onClick&&c.props.onClick(e))},c._onSplitButtonContainerKeyDown=function(e){e.which===l.a.enter||e.which===l.a.space?c._buttonElement.current&&(c._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):c._onMenuKeyDown(e)},c._onMenuKeyDown=function(e){if(!c.props.disabled){c.props.onKeyDown&&c.props.onKeyDown(e);var t=e.which===l.a.up,r=e.which===l.a.down;if(!e.defaultPrevented&&c._isValidMenuOpenKey(e)){var n=c.props.onMenuClick;n&&n(e,c),c._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(!e.altKey&&!e.metaKey&&(t||r))if(!c.state.menuHidden&&c.props.menuProps)(void 0!==c._menuShouldFocusOnMount?c._menuShouldFocusOnMount:c.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),c._menuShouldFocusOnMount=!0,c.forceUpdate())}},c._onTouchStart=function(){c._isSplitButton&&c._splitButtonContainer.current&&!("onpointerdown"in c._splitButtonContainer.current)&&c._handleTouchAndPointerEvent()},c._onMenuClick=function(e){var t=c.props.onMenuClick;if(t&&t(e,c),!e.defaultPrevented){var r=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;c._onToggleMenu(r),e.preventDefault(),e.stopPropagation()}},c._warnConditionallyRequiredProps(["menuProps","onClick"],"split",c.props.split),c._warnDeprecations({rootProps:void 0,description:"secondaryText",toggled:"checked"}),c._labelId=Object(u.a)(),c._descriptionId=Object(u.a)(),c._ariaDescriptionId=Object(u.a)(),c.state={menuHidden:!0},c}return Object(n.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,r=t.ariaDescription,n=t.ariaLabel,o=t.ariaHidden,i=t.className,a=t.disabled,s=t.allowDisabledFocus,l=t.primaryDisabled,u=t.secondaryText,f=void 0===u?this.props.description:u,h=t.href,m=t.iconProps,v=t.menuIconProps,g=t.styles,y=t.checked,w=t.variantClassName,_=t.theme,S=t.toggle,O=t.getClassNames,C=t.role,V=this.state.menuHidden,k=a||l;this._classNames=O?O(_,i,w,m&&m.className,v&&v.className,k,y,!V,!!this.props.menuProps,this.props.split,!!s):Object(b.b)(_,g,i,w,m&&m.className,v&&v.className,k,!!this.props.menuProps,y,!V,this.props.split);var E=this._ariaDescriptionId,T=this._labelId,P=this._descriptionId,x=!k&&!!h,I=x?"a":"button",M=Object(c.j)(Object(d.a)(x?{}:{type:"button"},this.props.rootProps,this.props),x?c.a:c.e,["disabled"]),j=n||M["aria-label"],F=void 0;r?F=E:f&&this.props.onRenderDescription!==p.b?F=P:M["aria-describedby"]&&(F=M["aria-describedby"]);var A=void 0;j||(M["aria-labelledby"]?A=M["aria-labelledby"]:F&&(A=this._hasText()?T:void 0));var R=!(!1===this.props["data-is-focusable"]||a&&!s||this._isSplitButton),D="menuitemcheckbox"===C||"checkbox"===C,L=D||!0===S?!!y:void 0,B=Object(d.a)(M,((e={className:this._classNames.root,ref:this._buttonElement,disabled:k&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":j,"aria-labelledby":A,"aria-describedby":F,"aria-disabled":k,"data-is-focusable":R})[D?"aria-checked":"aria-pressed"]=L,e));return o&&(B["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(I,B):(this.props.menuProps&&Object(d.a)(B,{"aria-expanded":!V,"aria-owns":V?null:this._labelId+"-menu","aria-haspopup":!0}),this._onRenderContent(I,B))},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.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 r=this,i=this.props,a=e,s=i.menuIconProps,l=i.menuProps,u=i.onRenderIcon,c=void 0===u?this._onRenderIcon:u,d=i.onRenderAriaDescription,p=void 0===d?this._onRenderAriaDescription:d,f=i.onRenderChildren,h=void 0===f?this._onRenderChildren:f,m=i.onRenderMenu,v=void 0===m?this._onRenderMenu:m,g=i.onRenderMenuIcon,y=void 0===g?this._onRenderMenuIcon:g,b=i.disabled,w=i.keytipProps;w&&l&&(w=this._getMemoizedMenuButtonKeytipProps(w));var _=function(e){return o.createElement(a,Object(n.a)({},t,e),o.createElement("span",{className:r._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},c(i,r._onRenderIcon),r._onRenderTextContents(),p(i,r._onRenderAriaDescription),h(i,r._onRenderChildren),!r._isSplitButton&&(l||s||r.props.onRenderMenuIcon)&&y(r.props,r._onRenderMenuIcon),l&&!l.doNotLayer&&r._shouldRenderMenu()&&v(l,r._onRenderMenu)))},O=w?o.createElement(S.a,{keytipProps:this._isSplitButton?void 0:w,ariaDescribedBy:t["aria-describedby"],disabled:b},(function(e){return _(e)})):_();return l&&l.doNotLayer?o.createElement("span",{style:{display:"inline-block"}},O,this._shouldRenderMenu()&&v(l,this._onRenderMenu)):O},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,r=t.persistMenu,n=t.renderPersistedMenuHiddenOnMount;return!e||!(!r||!this._renderedVisibleMenu&&!n)},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 r=this,i=this.props,a=i.styles,s=void 0===a?{}:a,l=i.disabled,u=i.allowDisabledFocus,p=i.checked,h=i.getSplitButtonClassNames,m=i.primaryDisabled,v=i.menuProps,g=i.toggle,y=i.role,b=i.primaryActionButtonProps,w=this.props.keytipProps,O=this.state.menuHidden,C=h?h(!!l,!O,!!p,!!u):s&&_(s,!!l,!O,!!p,!!m);Object(d.a)(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1});var V=t.ariaDescription;w&&v&&(w=this._getMemoizedMenuButtonKeytipProps(w));var k=Object(c.j)(t,[],["disabled"]);b&&Object(d.a)(t,b);var E=function(i){return o.createElement("div",Object(n.a)({},k,{"data-ktp-target":i?i["data-ktp-target"]:void 0,role:y||"button","aria-disabled":l,"aria-haspopup":!0,"aria-expanded":!O,"aria-pressed":g?!!p:void 0,"aria-describedby":Object(f.a)(V,i?i["aria-describedby"]:void 0),className:C&&C.splitButtonContainer,onKeyDown:r._onSplitButtonContainerKeyDown,onTouchStart:r._onTouchStart,ref:r._splitButtonContainer,"data-is-focusable":!0,onClick:l||m?void 0:r._onSplitButtonPrimaryClick,tabIndex:!l||u?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:r._onSplitContainerFocusCapture}),o.createElement("span",{style:{display:"flex"}},r._onRenderContent(e,t),r._onRenderSplitButtonMenuButton(C,i),r._onRenderSplitButtonDivider(C)))};return w?o.createElement(S.a,{keytipProps:w,disabled:l},(function(e){return E(e)})):E()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?o.createElement("span",{className:e.divider,"aria-hidden":!0}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,r){var i=this.props,a=i.allowDisabledFocus,s=i.checked,l=i.disabled,u=i.splitButtonMenuProps,c=i.splitButtonAriaLabel,d=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var f=Object(n.a)(Object(n.a)({},u),{styles:e,checked:s,disabled:l,allowDisabledFocus:a,onClick:this._onMenuClick,menuProps:void 0,iconProps:Object(n.a)(Object(n.a)({},p),{className:this._classNames.menuIcon}),ariaLabel:c,"aria-haspopup":!0,"aria-expanded":!d,"data-is-focusable":!1});return o.createElement(t,Object(n.a)({},f,{"data-ktp-execute-target":r?r["data-ktp-execute-target"]:r,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===l.a.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(p.a)},function(e,t,r){var n=r(134),o=r(135);e.exports=function(e){return n(o(e))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return f}));var n,o=r(1),i=r(0),a=r(59),s=r(168),l=r(10),u=r(124);!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"}(n||(n={}));var c,d,p=[479,639,1023,1365,1919,99999999];function f(e){var t=function(t){function r(e){var r=t.call(this,e)||this;return r._onResize=function(){var e=r._getResponsiveMode();e!==r.state.responsiveMode&&r.setState({responsiveMode:e})},r._updateComposedComponentRef=r._updateComposedComponentRef.bind(r),r.state={responsiveMode:c||d||n.large},r}return Object(o.c)(r,t),r.prototype.componentDidMount=function(){this._events.on(window,"resize",this._onResize),this._onResize()},r.prototype.componentWillUnmount=function(){this._events.dispose()},r.prototype.render=function(){var t=this.state.responsiveMode;return t===n.unknown?null:i.createElement(e,Object(o.a)({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},r.prototype._getResponsiveMode=function(){var e=n.small,t=Object(a.findDOMNode)(this),r=Object(l.a)(t);if(void 0!==r){try{for(;r.innerWidth>p[e];)e++}catch(t){e=c||d||n.large}d=e}else{if(void 0===c)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.");e=c}return e},r}(s.a);return Object(u.a)(e,t)}},function(e,t,r){"use strict";r.d(t,"b",(function(){return C})),r.d(t,"d",(function(){return V})),r.d(t,"a",(function(){return k})),r.d(t,"c",(function(){return E}));var n,o=r(1),i=r(24),a={};var s={"user-select":1};function l(e,t){var r=function(){if(!n){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,r=t?t.userAgent.toLowerCase():void 0;n=e?{isWebkit:!(!e||!("WebkitAppearance"in e.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.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 n}(),o=e[t];if(s[o]){var i=e[t+1];s[o]&&(r.isWebkit&&e.push("-webkit-"+o,i),r.isMoz&&e.push("-moz-"+o,i),r.isMs&&e.push("-ms-"+o,i),r.isOpera&&e.push("-o-"+o,i))}}var u,c=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function d(e,t){var r=e[t],n=e[t+1];if("number"==typeof n){var o=-1===c.indexOf(r)?"px":"";e[t+1]=""+n+o}}var p="left",f="right",h=((u={})[p]=f,u[f]=p,u),m={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function v(e,t,r){if(e.rtl){var n=t[r];if(!n)return;var o=t[r+1];if("string"==typeof o&&o.indexOf("@noflip")>=0)t[r+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(p)>=0)t[r]=n.replace(p,f);else if(n.indexOf(f)>=0)t[r]=n.replace(f,p);else if(String(o).indexOf(p)>=0)t[r+1]=o.replace(p,f);else if(String(o).indexOf(f)>=0)t[r+1]=o.replace(f,p);else if(h[n])t[r]=h[n];else if(m[o])t[r+1]=m[o];else switch(n){case"margin":case"padding":t[r+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(o);break;case"box-shadow":t[r+1]=function(e,t){var r=e.split(" "),n=parseInt(r[t],10);return r[0]=r[0].replace(String(n),String(-1*n)),r.join(" ")}(o,0)}}}function g(e){var t=e&&e["&"];return t?t.displayName:void 0}var y=/\:global\((.+?)\)/g;function b(e){if(!y.test(e))return e;for(var t=[],r=/\:global\((.+?)\)/g,n=null;n=r.exec(e);)n[1].indexOf(",")>-1&&t.push([n.index,n.index+n[0].length,n[1].split(",").map((function(e){return":global("+e.trim()+")"})).join(", ")]);return t.reverse().reduce((function(e,t){var r=t[0],n=t[1],o=t[2];return e.slice(0,r)+o+e.slice(n)}),e)}function w(e,t){return e.indexOf(":global(")>=0?e.replace(y,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function _(e,t,r){void 0===t&&(t={__order:[]}),void 0===r&&(r="&");var n=i.b.getInstance(),o=t[r];o||(o={},t[r]=o,t.__order.push(r));for(var a=0,s=e;a<s.length;a++){var l=s[a];if("string"==typeof l){var u=n.argsFromClassName(l);u&&_(u,t,r)}else if(Array.isArray(l))_(l,t,r);else for(var c in l)if("selectors"===c){var d=l.selectors,p=function(e){if(d.hasOwnProperty(e)){var n=d[e];0===e.indexOf("@")?_([n],t,e=e+"{"+r):e.indexOf(",")>-1?b(e).split(",").map((function(e){return e.trim()})).forEach((function(e){return _([n],t,w(e,r))})):_([n],t,w(e,r))}};for(var f in d)p(f)}else void 0!==l[c]&&("margin"===c||"padding"===c?S(o,c,l[c]):o[c]=l[c])}return t}function S(e,t,r){var n="string"==typeof r?r.split(" "):[r];e[t+"Top"]=n[0],e[t+"Right"]=n[1]||n[0],e[t+"Bottom"]=n[2]||n[0],e[t+"Left"]=n[3]||n[1]||n[0]}function O(e,t){for(var r=[e.rtl?"rtl":"ltr"],n=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];r.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(n=!0,r.push(l,s[l]))}return n?r.join(""):void 0}function C(e,t){if(!t)return"";var r,n,o,i=[];for(var s in t)t.hasOwnProperty(s)&&"displayName"!==s&&void 0!==t[s]&&i.push(s,t[s]);for(var u=0;u<i.length;u+=2)o=void 0,o=(r=i)[n=u],r[n]=a[o]=a[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase(),d(i,u),v(e,i,u),l(i,u);for(u=1;u<i.length;u+=4)i.splice(u,1,":",i[u],";");return i.join("")}function V(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=_(t),o=O(e,n);if(o){var a=i.b.getInstance(),s={className:a.classNameFromKey(o),key:o,args:t};if(!s.className){s.className=a.getClassName(g(n));for(var l=[],u=0,c=n.__order;u<c.length;u++){var d=c[u];l.push(d,C(e,n[d]))}s.rulesToInsert=l}return s}}function k(e){var t=i.b.getInstance(),r=e.className,n=e.key,o=e.args,a=e.rulesToInsert;if(a){for(var s=0;s<a.length;s+=2){var l=a[s+1];if(l){var u=a[s],c=(u=u.replace(/&/g,"."+e.className))+"{"+l+"}"+(0===u.indexOf("@")?"}":"");t.insertRule(c)}}t.cacheClassName(r,n,o,a)}}function E(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=V.apply(void 0,Object(o.e)([e],t));return n?(k(n),n.className):""}},function(e,t,r){"use strict";function n(e){i!==e&&(i=e)}function o(){return void 0===i&&(i="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),i}r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return a}));var i=o();function a(){return{rtl:o()}}},function(e,t,r){"use strict";function n(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"d",(function(){return a})),r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return d}));var n=r(24),o=r(64);function i(e,t){for(var r in e)if(e.hasOwnProperty(r)&&(!t.hasOwnProperty(r)||t[r]!==e[r]))return!1;return!0}function a(e,t){return i(e,t)&&i(t,e)}function s(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return l.apply(this,[null,e].concat(t))}function l(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];t=t||{};for(var o=0,i=r;o<i.length;o++){var a=i[o];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}var u=n.b.getInstance();function c(e,t){return Object.keys(e).map((function(r){if(String(Number(r))!==r)return t(r,e[r])})).filter((function(e){return!!e}))}function d(e){return Object.keys(e).reduce((function(t,r){return t.push(e[r]),t}),[])}u&&u.onReset&&u.onReset(o.b)},function(e,t,r){var n=r(19),o=r(109),i=r(91),a=r(51),s=r(78),l=r(36),u=r(184),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,r){var n=r(19),o=r(32),i=r(91);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t){e.exports=ReactDOM},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(0),o=n.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i}));var n=r(10),o="ms-Fabric--isFocusVisible";function i(e,t){var r=t?Object(n.a)(t):Object(n.a)();if(r){var i=r.document.body.classList;i.add(e?o:"ms-Fabric--isFocusHidden"),i.remove(e?"ms-Fabric--isFocusHidden":o)}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var n=r(10),o=Object(n.a)()||{};function i(e){return(e||"id__")+o.__currentId__++}function a(e){void 0===e&&(e=0),o.__currentId__=e}void 0===o.__currentId__&&(o.__currentId__=0)},function(e,t,r){var n=r(16),o=r(58),i=r(36),a=r(137),s=r(138),l=r(92),u=l.get,c=l.enforce,d=String(String).split("String");(e.exports=function(e,t,r,s){var l=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),c(r).source=d.join("string"==typeof t?t:"")),e!==n?(l?!p&&e[t]&&(u=!0):delete e[t],u?e[t]=r:o(e,t,r)):u?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},function(e,t){e.exports=!1},function(e,t,r){var n=r(112),o=r(16),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return h}));var n=r(1),o=r(0),i=r(83),a=r(26),s=r(162),l=r(161),u=r(157),c=r(160),d=r(10);var p=function(e){function t(r,n){var o=e.call(this,r,n)||this;return Object(c.b)(),function(e){var t=e||Object(d.a)();if(t&&!t.__hasInitializedDir__){t.__hasInitializedDir__=!0;var r=t.document.documentElement;r.hasAttribute("dir")||r.setAttribute("dir","ltr")}}(),function(e,t,r){for(var n=0,o=r.length;n<o;n++)f(e,t,r[n])}(o,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),o}return Object(n.c)(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var r=this.__disposables[e];r.dispose&&r.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(r){return t[e]=r}),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(u.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,r){Object(s.a)(this.className,this.props,e,t,r)},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))},t}(o.Component);function f(e,t,r){var n=e[r],o=t[r];(n||o)&&(e[r]=function(){var e;return o&&(e=o.apply(this,arguments)),n!==o&&(e=n.apply(this,arguments)),e})}function h(){return null}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return f})),r.d(t,"c",(function(){return h})),r.d(t,"b",(function(){return m})),r.d(t,"d",(function(){return g})),r.d(t,"e",(function(){return y})),r.d(t,"g",(function(){return b})),r.d(t,"f",(function(){return w}));var n,o,i,a,s,l=r(17),u=r(131),c=r(10),d=0,p=Object(u.b)({overflow:"hidden !important"}),f="data-is-scrollable",h=(o=0,i=null,a=function(e){1===e.targetTouches.length&&(o=e.targetTouches[0].clientY)},s=function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),i)){var t=e.targetTouches[0].clientY-o,r=w(e.target);r&&(i=r),0===i.scrollTop&&t>0&&e.preventDefault(),i.scrollHeight-i.scrollTop<=i.clientHeight&&t<0&&e.preventDefault()}},function(e,t){e&&(t.on(e,"touchstart",a,{passive:!1}),t.on(e,"touchmove",s,{passive:!1}),i=e)}),m=function(e,t){if(e){t.on(e,"touchmove",(function(e){e.stopPropagation()}),{passive:!1})}},v=function(e){e.preventDefault()};function g(){var e=Object(l.a)();e&&e.body&&!d&&(e.body.classList.add(p),e.body.addEventListener("touchmove",v,{passive:!1,capture:!1})),d++}function y(){if(d>0){var e=Object(l.a)();e&&e.body&&1===d&&(e.body.classList.remove(p),e.body.removeEventListener("touchmove",v)),d--}}function b(){if(void 0===n){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),n=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return n}function w(e){for(var t=e,r=Object(l.a)(e);t&&t!==r.body;){if("true"===t.getAttribute(f))return t;t=t.parentElement}for(t=e;t&&t!==r.body;){if("false"!==t.getAttribute(f)){var n=getComputedStyle(t),o=n?n.getPropertyValue("overflow-y"):"";if(o&&("scroll"===o||"auto"===o))return t}t=t.parentElement}return t&&t!==r.body||(t=Object(c.a)(e)),t}},function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=[],n=0,o=e;n<o.length;n++){var i=o[n];if(i)if("string"==typeof i)r.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)r.push(i.toString());else for(var a in i)i[a]&&r.push(a)}return r.join(" ")}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";function n(e,t){for(var r=-1,n=0;e&&n<e.length;n++)if(t(e[n],n)){r=n;break}return r}function o(e,t){var r=n(e,t);if(!(r<0))return e[r]}function i(e,t){for(var r=[],n=0;n<e;n++)r.push(t(n));return r}function a(e,t){return e.reduce((function(e,r,n){return n%t==0?e.push([r]):e[e.length-1].push(r),e}),[])}function s(e,t){return e.filter((function(e,r){return t!==r}))}function l(e,t,r){var n=e.slice();return n[r]=t,n}function u(e,t,r){var n=e.slice();return n.splice(t,0,r),n}function c(e){var t=[];return e.forEach((function(e){return t=t.concat(e)})),t}function d(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r.d(t,"e",(function(){return n})),r.d(t,"d",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"i",(function(){return a})),r.d(t,"g",(function(){return s})),r.d(t,"h",(function(){return l})),r.d(t,"a",(function(){return u})),r.d(t,"f",(function(){return c})),r.d(t,"b",(function(){return d}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n={},o=void 0;try{o=window}catch(e){}function i(e,t){if(void 0!==o){var r=o.__packages__=o.__packages__||{};if(!r[e]||!n[e])n[e]=t,(r[e]=r[e]||[]).push(t)}}i("@uifabric/set-version","6.0.0")},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(1),o=r(3),i=r(28),a=Object(i.c)((function(e,t){var r,i,a,s,l,u,c,d,p,f,h=e.effects,m=e.palette,v=e.semanticColors,g={position:"absolute",width:1,right:31,top:8,bottom:8},y={splitButtonContainer:[Object(o.O)(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:(r={},r[o.k]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},r)},".ms-Button--primary + .ms-Button":{border:"none"}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(i={},i[o.k]={color:"Window",backgroundColor:"Highlight"},i)},".ms-Button.is-disabled":{color:v.buttonTextDisabled,selectors:(a={},a[o.k]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},a)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(s={},s[o.k]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},s)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(l={},l[o.k]={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 "+m.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(n.a)(Object(n.a)({},g),{selectors:(u={},u[o.k]={backgroundColor:"WindowText"},u)}),splitButtonDividerDisabled:Object(n.a)(Object(n.a)({},g),{selectors:(c={},c[o.k]={backgroundColor:"GrayText"},c)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(d={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(p={},p[o.k]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},p)}},d[o.k]={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:(f={},f[o.k]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},f)}};return Object(o.G)(y,t)}))},,function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(21);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(32).f,o=r(36),i=r(22)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,r){"use strict";r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return p}));var n=r(28),o=r(3),i=Object(n.c)((function(e){return Object(o.ab)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),a=r(97),s=r(63),l=Object(o.U)(0,o.r),u=Object(n.c)((function(e){var t;return Object(o.ab)(i(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[l]={right:32},t)},divider:{height:16,width:1}})})),c={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"},d=Object(n.c)((function(e,t,r,n,i,l,u,d,p,f,h,m){var v,g,y,b,w=Object(a.b)(e),_=Object(o.P)(c,e);return Object(o.ab)({item:[_.item,w.item,u],divider:[_.divider,w.divider,d],root:[_.root,w.root,n&&[_.isChecked,w.rootChecked],i&&w.anchorLink,r&&[_.isExpanded,w.rootExpanded],t&&[_.isDisabled,w.rootDisabled],!t&&!r&&[{selectors:(v={":hover":w.rootHovered,":active":w.rootPressed},v["."+s.a+" &:focus, ."+s.a+" &:focus:hover"]=w.rootFocused,v["."+s.a+" &:hover"]={background:"inherit;"},v)}],m],splitPrimary:[w.root,{width:"calc(100% - 28px)"},n&&["is-checked",w.rootChecked],(t||h)&&["is-disabled",w.rootDisabled],!(t||h)&&!n&&[{selectors:(g={":hover":w.rootHovered},g[":hover ~ ."+_.splitMenu]=w.rootHovered,g[":active"]=w.rootPressed,g["."+s.a+" &:focus, ."+s.a+" &:focus:hover"]=w.rootFocused,g["."+s.a+" &:hover"]={background:"inherit;"},g)}]],splitMenu:[_.splitMenu,w.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},r&&["is-expanded",w.rootExpanded],t&&["is-disabled",w.rootDisabled],!t&&!r&&[{selectors:(y={":hover":w.rootHovered,":active":w.rootPressed},y["."+s.a+" &:focus, ."+s.a+" &:focus:hover"]=w.rootFocused,y["."+s.a+" &:hover"]={background:"inherit;"},y)}]],anchorLink:w.anchorLink,linkContent:[_.linkContent,w.linkContent],linkContentMenu:[_.linkContentMenu,w.linkContent,{justifyContent:"center"}],icon:[_.icon,l&&w.iconColor,w.icon,p,t&&[_.isDisabled,w.iconDisabled]],iconColor:w.iconColor,checkmarkIcon:[_.checkmarkIcon,l&&w.checkmarkIcon,w.icon,p],subMenuIcon:[_.subMenuIcon,w.subMenuIcon,f,r&&{color:e.palette.neutralPrimary},t&&[w.iconDisabled]],label:[_.label,w.label],secondaryText:[_.secondaryText,w.secondaryText],splitContainer:[w.splitButtonFlexContainer,!t&&!n&&[{selectors:(b={},b["."+s.a+" &:focus, ."+s.a+" &:focus:hover"]=w.rootFocused,b)}]]})})),p=function(e){var t=e.theme,r=e.disabled,n=e.expanded,o=e.checked,i=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,l=e.dividerClassName,u=e.iconClassName,c=e.subMenuClassName,p=e.primaryDisabled,f=e.className;return d(t,r,n,o,i,a,s,l,u,c,p,f)}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(1);function o(){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 r={},i={},a=0,s=e;a<s.length;a++){var l=s[a];if(l)for(var u in l)if(l.hasOwnProperty(u)){if("subComponentStyles"===u&&void 0!==l.subComponentStyles){var c=l.subComponentStyles;for(var d in c)c.hasOwnProperty(d)&&(i.hasOwnProperty(d)?i[d].push(c[d]):i[d]=[c[d]]);continue}var p=r[u],f=l[u];r[u]=void 0===p?f:Object(n.e)(Array.isArray(p)?p:[p],Array.isArray(f)?f:[f])}}if(Object.keys(i).length>0){r.subComponentStyles={};var h=r.subComponentStyles,m=function(e){if(i.hasOwnProperty(e)){var t=i[e];h[e]=function(e){return o.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var d in i)m(d)}return r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(10),o=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 r=this,n=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),n=setTimeout((function(){try{r._timeoutIds&&delete r._timeoutIds[n],e.apply(r._parent)}catch(e){r._onErrorHandler&&r._onErrorHandler(e)}}),t),this._timeoutIds[n]=!0),n},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var r=this,o=0,i=Object(n.a)(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});o=i.setTimeout((function(){try{r._immediateIds&&delete r._immediateIds[o],e.apply(r._parent)}catch(e){r._logError(e)}}),0),this._immediateIds[o]=!0}return o},e.prototype.clearImmediate=function(e,t){var r=Object(n.a)(t);this._immediateIds&&this._immediateIds[e]&&(r.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var r=this,n=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),n=setInterval((function(){try{e.apply(r._parent)}catch(e){r._logError(e)}}),t),this._intervalIds[n]=!0),n},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,r){var n=this;if(this._isDisposed)return this._noop;var o,i,a=t||0,s=!0,l=!0,u=0,c=null;r&&"boolean"==typeof r.leading&&(s=r.leading),r&&"boolean"==typeof r.trailing&&(l=r.trailing);var d=function(t){var r=(new Date).getTime(),p=r-u,f=s?a-p:a;return p>=a&&(!t||s)?(u=r,c&&(n.clearTimeout(c),c=null),o=e.apply(n._parent,i)):null===c&&l&&(c=n.setTimeout(d,f)),o};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,r){var n=this;if(this._isDisposed){var o=function(){};return o.cancel=function(){},o.flush=function(){return null},o.pending=function(){return!1},o}var i,a,s=t||0,l=!1,u=!0,c=null,d=0,p=(new Date).getTime(),f=null;r&&"boolean"==typeof r.leading&&(l=r.leading),r&&"boolean"==typeof r.trailing&&(u=r.trailing),r&&"number"==typeof r.maxWait&&!isNaN(r.maxWait)&&(c=r.maxWait);var h=function(e){f&&(n.clearTimeout(f),f=null),p=e},m=function(t){h(t),i=e.apply(n._parent,a)},v=function(e){var t=(new Date).getTime(),r=!1;e&&(l&&t-d>=s&&(r=!0),d=t);var o=t-d,a=s-o,h=t-p,g=!1;return null!==c&&(h>=c&&f?g=!0:a=Math.min(a,c-h)),o>=s||g||r?m(t):null!==f&&e||!u||(f=n.setTimeout(v,a)),i},g=function(){return!!f},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,v(!0)};return y.cancel=function(){g()&&h((new Date).getTime())},y.flush=function(){return g()&&m((new Date).getTime()),i},y.pending=g,y},e.prototype.requestAnimationFrame=function(e,t){var r=this,o=0,i=Object(n.a)(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var a=function(){try{r._animationFrameIds&&delete r._animationFrameIds[o],e.apply(r._parent)}catch(e){r._logError(e)}};o=i.requestAnimationFrame?i.requestAnimationFrame(a):i.setTimeout(a,0),this._animationFrameIds[o]=!0}return o},e.prototype.cancelAnimationFrame=function(e,t){var r=Object(n.a)(t);this._animationFrameIds&&this._animationFrameIds[e]&&(r.cancelAnimationFrame?r.cancelAnimationFrame(e):r.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}()},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),o=r(0),i=r(229),a=r(38),s=r(60),l=["theme","styles"];function u(e,t,r,u,c){var d=(u=u||{scope:"",fields:void 0}).scope,p=u.fields,f=void 0===p?l:p;return function(l){function u(){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(f,d,i.customizations),l=s.styles,u=(s.dir,Object(n.d)(s,["styles","dir"])),c=r?r(t.props):void 0;return t._updateStyles(l),o.createElement(e,Object(n.a)({},u,c,t.props,{styles:t._styles}))},t._onSettingsChanged=function(){return t.forceUpdate()},t}return Object(n.c)(u,l),u.prototype.render=function(){return o.createElement(s.a.Consumer,null,this._renderContent)},u.prototype.componentDidMount=function(){this._inCustomizerContext||a.a.observe(this._onSettingsChanged)},u.prototype.componentWillUnmount=function(){this._inCustomizerContext||a.a.unobserve(this._onSettingsChanged)},u.prototype._updateStyles=function(e){var r=this;this._styles&&e===this._styles.__cachedInputs__[1]&&!this.props.styles||(this._styles=function(n){return Object(i.a)(n,t,e,r.props.styles)},this._styles.__cachedInputs__=[t,e,this.props.styles])},u.displayName="Styled"+(e.displayName||e.name),u}(c?o.PureComponent:o.Component)}},,,,function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o}));function n(e){console&&console.warn&&console.warn(e)}function o(e){e}},function(e,t,r){"use strict";r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return l}));var n,o={};function i(e,t){o[e]||(o[e]=[]),o[e].push(t)}function a(e,t){if(o[e]){var r=o[e].indexOf(t);r>=0&&(o[e].splice(r,1),0===o[e].length&&delete o[e])}}function s(e){o[e]&&o[e].forEach((function(e){return e()}))}function l(){return n}},,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n,o,i,a=r(422),s=r(16),l=r(21),u=r(58),c=r(36),d=r(110),p=r(93),f=s.WeakMap;if(a){var h=new f,m=h.get,v=h.has,g=h.set;n=function(e,t){return g.call(h,e,t),t},o=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var y=d("state");p[y]=!0,n=function(e,t){return u(e,y,t),t},o=function(e){return c(e,y)?e[y]:{}},i=function(e){return c(e,y)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},function(e,t){e.exports={}},function(e,t,r){var n=r(187),o=r(143);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t){e.exports={}},function(e,t,r){var n=r(36),o=r(43),i=r(110),a=r(198),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return u}));var n=r(1),o=r(3),i=r(28),a=36,s=Object(o.U)(0,o.r),l=Object(i.c)((function(){var e;return{selectors:(e={},e[o.k]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},e)}})),u=Object(i.c)((function(e){var t,r,i,u,c,d,p,f=e.semanticColors,h=e.fonts,m=e.palette,v=f.menuItemBackgroundHovered,g=f.menuItemTextHovered,y=f.menuItemBackgroundPressed,b=f.bodyDivider,w={item:[h.medium,{color:f.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:b,position:"relative"},root:[Object(o.O)(e),h.medium,{color:f.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:a,lineHeight:a,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:f.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[o.k]={color:"GrayText",opacity:1},t)},rootHovered:Object(n.a)({backgroundColor:v,color:g,selectors:{".ms-ContextualMenu-icon":{color:m.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:m.neutralPrimary}}},l()),rootFocused:Object(n.a)({backgroundColor:m.white},l()),rootChecked:Object(n.a)({selectors:{".ms-ContextualMenu-checkmarkIcon":{color:m.neutralPrimary}}},l()),rootPressed:Object(n.a)({backgroundColor:y,selectors:{".ms-ContextualMenu-icon":{color:m.themeDark},".ms-ContextualMenu-submenuIcon":{color:m.neutralPrimary}}},l()),rootExpanded:Object(n.a)({backgroundColor:y,color:f.bodyTextChecked},l()),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:a,fontSize:o.n.medium,width:o.n.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(r={},r[s]={fontSize:o.n.large,width:o.n.large},r)},iconColor:{color:f.menuIcon,selectors:(i={},i[o.k]={color:"inherit"},i["$root:hover &"]={selectors:(u={},u[o.k]={color:"HighlightText"},u)},i["$root:focus &"]={selectors:(c={},c[o.k]={color:"HighlightText"},c)},i)},iconDisabled:{color:f.disabledBodyText},checkmarkIcon:{color:f.bodySubtext,selectors:(d={},d[o.k]={color:"HighlightText"},d)},subMenuIcon:{height:a,lineHeight:a,color:m.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:o.n.small,selectors:(p={":hover":{color:m.neutralPrimary},":active":{color:m.neutralPrimary}},p[s]={fontSize:o.n.medium},p)},splitButtonFlexContainer:[Object(o.O)(e),{display:"flex",height:a,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Object(o.G)(w)}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n=!1;function o(e){n=e}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(18);function o(e,t){return e&&e!==document.body?t(e)?e:o(Object(n.a)(e),t):null}},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(84),o=r(159),i=r(3),a=r(10),s={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"},l=Object(n.a)(o.a,(function(e){var t=e.className,r=e.width,n=e.height,o=e.maximizeFrame,l=e.isLoaded,u=e.shouldFadeIn,c=e.shouldStartVisible,d=e.isLandscape,p=e.isCenter,f=e.isContain,h=e.isCover,m=e.isCenterContain,v=e.isCenterCover,g=e.isNone,y=e.isError,b=e.isNotImageFit,w=e.theme,_=Object(i.P)(s,w),S={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},O=Object(a.a)(),C=void 0!==O&&void 0===O.navigator.msMaxTouchPoints,V=f&&d||h&&!d?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[_.root,w.fonts.medium,{overflow:"hidden"},o&&[_.rootMaximizeFrame,{height:"100%",width:"100%"}],l&&u&&!c&&i.a.fadeIn400,(p||f||h||m||v)&&{position:"relative"},t],image:[_.image,{display:"block",opacity:0},l&&["is-loaded",{opacity:1}],p&&[_.imageCenter,S],f&&[_.imageContain,C&&{width:"100%",height:"100%",objectFit:"contain"},!C&&V,S],h&&[_.imageCover,C&&{width:"100%",height:"100%",objectFit:"cover"},!C&&V,S],m&&[_.imageCenterContain,d&&{maxWidth:"100%"},!d&&{maxHeight:"100%"},S],v&&[_.imageCenterCover,d&&{maxHeight:"100%"},!d&&{maxWidth:"100%"},S],g&&[_.imageNone,{width:"auto",height:"auto"}],b&&[!!r&&!n&&{height:"auto",width:"100%"},!r&&!!n&&{height:"100%",width:"auto"},!!r&&!!n&&{height:"100%",width:"100%"}],d&&_.imageLandscape,!d&&_.imagePortrait,!l&&"is-notLoaded",u&&"is-fadeIn",y&&"is-error"]}}),void 0,{scope:"Image"},!0)},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var n="data-portal-element";function o(e){e.setAttribute(n,"true")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asBool=function(e){return!!e&&("1"===e||"true"===e.toString().toLowerCase()||"yes"===e.toString().toLowerCase())},t.getStringOrDefault=function(e,t){return e&&"string"==typeof e?e:t},t.getNumberOrDefault=function(e,t){return e&&!isNaN(parseInt(e))?parseInt(e):t},t.getArrayOrDefault=function(e,t){return e&&Array.isArray(e)?e:t}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(105);function o(e){Object(n.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,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(84),o=r(158),i=r(45),a=Object(n.a)(o.a,i.c,void 0,{scope:"Icon"},!0)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(155);function o(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=Object(n.a)(e,e[r],t[r]))}},,function(e,t,r){"use strict";r.r(t),r.d(t,"getIconContent",(function(){return c})),r.d(t,"FontIcon",(function(){return d})),r.d(t,"getFontIcon",(function(){return p}));var n=r(1),o=r(0),i=r(45),a=r(28),s=r(14),l=r(72),u=r(3),c=Object(a.c)((function(e){var t=Object(u.Q)(e)||{subset:{},code:void 0},r=t.code,n=t.subset;return r?{children:r,iconClassName:n.className,fontFamily:n.fontFace&&n.fontFace.fontFamily}:null}),void 0,!0),d=function(e){var t=e.iconName,r=e.className,a=e.style,u=void 0===a?{}:a,d=c(t)||{},p=d.iconClassName,f=d.children,h=d.fontFamily,m=Object(s.j)(e,s.k),v=e["aria-label"]?{}:{role:"presentation","aria-hidden":!0};return o.createElement("i",Object(n.a)({"data-icon-name":t},v,m,{className:Object(l.a)(i.a,i.b.root,p,!t&&i.b.placeholder,r),style:Object(n.a)({fontFamily:h},u)}),f)},p=Object(a.c)((function(e,t,r){return d({iconName:e,className:t,"aria-label":r})}))},,function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},function(e,t,r){var n=r(139),o=r(111),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+n).toString(36)}},function(e,t,r){var n=r(16);e.exports=n},function(e,t,r){var n,o=r(42),i=r(191),a=r(143),s=r(93),l=r(192),u=r(136),c=r(110),d=c("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},h=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=n?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var r=a.length;r--;)delete h.prototype[a[r]];return h()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=o(e),r=new p,p.prototype=null,r[d]=e):r=h(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(15);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,r){"use strict";var n=r(66),o=r(16),i=r(15);e.exports=n||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}))},,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(24);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=[],o=[],i=n.b.getInstance();function a(e){for(var t=0,n=e;t<n.length;t++){var s=n[t];if(s)if("string"==typeof s)if(s.indexOf(" ")>=0)a(s.split(" "));else{var l=i.argsFromClassName(s);l?a(l):-1===r.indexOf(s)&&r.push(s)}else Array.isArray(s)?a(s):"object"==typeof s&&o.push(s)}}return a(e),{classes:r,objects:o}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(3),o={fontFamily:"inherit"},i={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},a=function(e){var t=e.theme,r=e.className,a=e.isFocusVisible,s=e.applyTheme,l=a?"Visible":"Hidden";return{root:[Object(n.P)(i,t).root,"is-focus"+l+" ms-Fabric--isFocus"+l,t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":o,"& input":o,"& textarea":o}},s&&{color:t.semanticColors.bodyText,backgroundColor:t.semanticColors.bodyBackground},r],bodyThemed:[{backgroundColor:t.semanticColors.bodyBackground}]}}},,function(e,t,r){"use strict";function n(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function o(e){return!(!e.subMenuProps&&!e.items)}function i(e){return!(!e.isDisabled&&!e.disabled)}function a(e){return null!==n(e)?"menuitemcheckbox":"menuitem"}r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return i})),r.d(t,"b",(function(){return a}))},function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i}));var n=r(1);function o(e,t){return void 0===e&&(e={}),(a(t)?t:function(e){return function(t){return e?Object(n.a)(Object(n.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 r=Object(n.a)({},t);for(var o in e)e.hasOwnProperty(o)&&(r[o]=Object(n.a)(Object(n.a)({},t[o]),e[o]));return r}}(t))(e)}function a(e){return"function"==typeof e}},function(e,t,r){"use strict";var n;r.d(t,"a",(function(){return n})),function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(n||(n={}))},function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return s}));var n,o=r(8),i=((n={})[o.a.up]=1,n[o.a.down]=1,n[o.a.left]=1,n[o.a.right]=1,n[o.a.home]=1,n[o.a.end]=1,n[o.a.tab]=1,n[o.a.pageUp]=1,n[o.a.pageDown]=1,n);function a(e){return!!i[e]}function s(e){i[e]=1}},function(e,t,r){"use strict";function n(e,t){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";function n(e){return e&&!!e._virtual}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(1),o=r(26),i=r(73),a=r(64),s=r(13),l=function(){function e(){this.keytips=[],this.persistedKeytips=[],this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0}return e.getInstance=function(){return this._instance},e.prototype.register=function(e,t){void 0===t&&(t=!1);var r=e;t||(r=this.addParentOverflow(e));var n=this._getUniqueKtp(r);t?this.persistedKeytips.push(n):this.keytips.push(n);var i=t?s.g.PERSISTED_KEYTIP_ADDED:s.g.KEYTIP_ADDED;return o.a.raise(this,i,{keytip:r,uniqueID:n.uniqueID}),n.uniqueID},e.prototype.update=function(e,t){var r=this.addParentOverflow(e),n=this._getUniqueKtp(r,t),a=Object(i.e)(this.keytips,(function(e){return e.uniqueID===t}));a>=0&&(n.keytip.visible=this.keytips[a].keytip.visible,this.keytips=Object(i.h)(this.keytips,n,a),o.a.raise(this,s.g.KEYTIP_UPDATED,{keytip:n.keytip,uniqueID:n.uniqueID}))},e.prototype.unregister=function(e,t,r){void 0===r&&(r=!1),r?this.persistedKeytips=this.persistedKeytips.filter((function(e){return e.uniqueID!==t})):this.keytips=this.keytips.filter((function(e){return e.uniqueID!==t}));var n=r?s.g.PERSISTED_KEYTIP_REMOVED:s.g.KEYTIP_REMOVED;o.a.raise(this,n,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){o.a.raise(this,s.g.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){o.a.raise(this,s.g.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){return this.keytips.map((function(e){return e.keytip}))},e.prototype.addParentOverflow=function(e){var t=Object(n.e)(e.keySequences);if(t.pop(),0!==t.length){var r=Object(i.d)(this.getKeytips(),(function(e){return Object(i.b)(t,e.keySequences)}));if(r&&r.overflowSetSequence)return Object(n.a)(Object(n.a)({},e),{overflowSetSequence:r.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){o.a.raise(this,s.g.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Object(a.a)()),{keytip:Object(n.a)({},e),uniqueID:t}},e._instance=new e,e}()},,,,,function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return s}));var n=r(117),o=r(54),i=r(53);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e,Object(o.a)())}function s(e,t){var r=e instanceof Array?e:[e],o=Object(n.a)(r),a=o.classes,s=o.objects;return s.length&&a.push(Object(i.c)(t||{},s)),a.join(" ")}},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),o=r(0),i=r(38),a=r(124),s=r(60),l=r(82);function u(e,t,r){return function(u){var c,d=((c=function(a){function c(e){var t=a.call(this,e)||this;return t._onSettingChanged=t._onSettingChanged.bind(t),t}return Object(n.c)(c,a),c.prototype.componentDidMount=function(){i.a.observe(this._onSettingChanged)},c.prototype.componentWillUnmount=function(){i.a.unobserve(this._onSettingChanged)},c.prototype.render=function(){var a=this;return o.createElement(s.a.Consumer,null,(function(s){var c=i.a.getSettings(t,e,s.customizations),d=a.props;if(c.styles&&"function"==typeof c.styles&&(c.styles=c.styles(Object(n.a)(Object(n.a)({},c),d))),r&&(c.styles||d.styles)){var p=Object(l.a)(c.styles,d.styles);return o.createElement(u,Object(n.a)({},c,d,{styles:p}))}return o.createElement(u,Object(n.a)({},c,d))}))},c.prototype._onSettingChanged=function(){this.forceUpdate()},c}(o.Component)).displayName="Customized"+e,c);return Object(a.a)(u,d)}}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var n=r(15),o=r(77),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(16),o=r(21),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,r){var n=r(16),o=r(58);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},function(e,t,r){var n=r(185),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},function(e,t,r){var n=r(66),o=r(185);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,r){var n=r(187),o=r(143).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){var n=r(142),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(15);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(e,t,r){var n=r(68);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(93),o=r(21),i=r(36),a=r(32).f,s=r(111),l=r(114),u=s("meta"),c=0,d=Object.isExtensible||function(){return!0},p=function(e){a(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!d(e))return"F";if(!t)return"E";p(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!d(e))return!0;if(!t)return!1;p(e)}return e[u].weakData},onFreeze:function(e){return l&&f.REQUIRED&&d(e)&&!i(e,u)&&p(e),e}};n[u]=!0},function(e,t,r){var n=r(42),o=r(437),i=r(141),a=r(146),s=r(438),l=r(439),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,c,d){var p,f,h,m,v,g,y,b=a(t,r,c?2:1);if(d)p=e;else{if("function"!=typeof(f=s(e)))throw TypeError("Target is not iterable");if(o(f)){for(h=0,m=i(e.length);m>h;h++)if((v=c?b(n(y=e[h])[0],y[1]):b(e[h]))&&v instanceof u)return v;return new u(!1)}p=f.call(e)}for(g=p.next;!(y=g.call(p)).done;)if("object"==typeof(v=l(p,b,y.value,c))&&v&&v instanceof u)return v;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t,r){var n={};n[r(22)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,t,r){"use strict";var n=r(68),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},function(e,t,r){e.exports=r(480)},function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r(1),o=r(0),i=r(50),a=r(69),s=r(132),l=r(3),u=r(28),c=r(44),d=r(75),p=Object(u.c)((function(e,t){var r,n=Object(c.a)(e),o=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:(r={},r[l.k]={borderColor:"Highlight",color:"Highlight"},r)},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.G)(n,a,o,t)})),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return Object(n.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,r=e.theme;return o.createElement(i.a,Object(n.a)({},this.props,{variantClassName:"ms-Button--icon",styles:p(r,t),onRenderText:a.b,onRenderDescription:a.b}))},t=Object(n.b)([Object(s.a)("IconButton",["theme","styles"],!0)],t)}(a.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(125);function o(e){var t;return e&&Object(n.a)(e)&&(t=e._virtual.parent),t}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(99);function o(e,t){var r=Object(n.a)(e,(function(e){return e.hasAttribute(t)}));return r&&r.getAttribute(t)}},function(e,t,r){"use strict";function n(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.length<2?t[0]:function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];t.forEach((function(t){return t&&t.apply(e,r)}))}}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(10),o=0,i=function(){function e(){}return e.getValue=function(e,t){var r=a();return void 0===r[e]&&(r[e]="function"==typeof t?t():t),r[e]},e.setValue=function(e,t){var r=a(),n=r.__callbacks__,o=r[e];if(t!==o){r[e]=t;var i={oldValue:o,value:t,key:e};for(var s in n)n.hasOwnProperty(s)&&n[s](i)}return t},e.addChangeListener=function(e){var t=e.__id__,r=s();t||(t=e.__id__=String(o++)),r[t]=e},e.removeChangeListener=function(e){delete s()[e.__id__]},e}();function a(){var e,t=Object(n.a)()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function s(){return a().__callbacks__}},function(e,t,r){"use strict";function n(e,t,r){}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(1),o=r(0),i=r(122),a=r(100),s=r(11),l=r(40),u=r(14),c=r(107),d=Object(l.a)({disableCaching:!0}),p=function(e){function t(t){var r=e.call(this,t)||this;return r.onImageLoadingStateChange=function(e){r.props.imageProps&&r.props.imageProps.onLoadingStateChange&&r.props.imageProps.onLoadingStateChange(e),e===s.c.error&&r.setState({imageLoadError:!0})},r.state={imageLoadError:!1},r}return Object(n.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,r=e.styles,s=e.iconName,l=e.imageErrorAs,p=e.theme,f="string"==typeof s&&0===s.length,h=this.props.iconType===i.a.image||this.props.iconType===i.a.Image||!!this.props.imageProps,m=Object(c.getIconContent)(s)||{},v=m.iconClassName,g=m.children,y=d(r,{theme:p,className:t,iconClassName:v,isImage:h,isPlaceholder:f}),b=h?"span":"i",w=Object(u.j)(this.props,u.k,["aria-label"]),_=this.state.imageLoadError,S=Object(n.a)(Object(n.a)({},this.props.imageProps),{onLoadingStateChange:this.onImageLoadingStateChange}),O=_&&l||a.a,C=this.props.ariaLabel||this.props["aria-label"],V=C?{"aria-label":C}:{"aria-hidden":!this.props["aria-labelledby"]&&!S["aria-labelledby"]};return o.createElement(b,Object(n.a)({"data-icon-name":s},V,w,{className:y.root}),h?o.createElement(O,Object(n.a)({},S)):g)},t}(o.Component)},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),o=r(0),i=r(40),a=r(14),s=r(11),l=Object(i.a)(),u=function(e){function t(t){var r=e.call(this,t)||this;return r._coverStyle=s.a.portrait,r._imageElement=o.createRef(),r._frameElement=o.createRef(),r._onImageLoaded=function(e){var t=r.props,n=t.src,o=t.onLoad;o&&o(e),r._computeCoverStyle(r.props),n&&r.setState({loadState:s.c.loaded})},r._onImageError=function(e){r.props.onError&&r.props.onError(e),r.setState({loadState:s.c.error})},r.state={loadState:s.c.notLoaded},r}return Object(n.c)(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:s.c.notLoaded}):this.state.loadState===s.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(a.j)(this.props,a.m,["width","height"]),t=this.props,r=t.src,i=t.alt,u=t.width,c=t.height,d=t.shouldFadeIn,p=t.shouldStartVisible,f=t.className,h=t.imageFit,m=t.role,v=t.maximizeFrame,g=t.styles,y=t.theme,b=this.state.loadState,w=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,_=l(g,{theme:y,className:f,width:u,height:c,maximizeFrame:v,shouldFadeIn:d,shouldStartVisible:p,isLoaded:b===s.c.loaded||b===s.c.notLoaded&&this.props.shouldStartVisible,isLandscape:w===s.a.landscape,isCenter:h===s.b.center,isCenterContain:h===s.b.centerContain,isCenterCover:h===s.b.centerCover,isContain:h===s.b.contain,isCover:h===s.b.cover,isNone:h===s.b.none,isError:b===s.c.error,isNotImageFit:void 0===h});return o.createElement("div",{className:_.root,style:{width:u,height:c},ref:this._frameElement},o.createElement("img",Object(n.a)({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:_.image,ref:this._imageElement,src:r,alt:i,role:m})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===s.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:s.c.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,r=e.width,n=e.height;if((t===s.b.cover||t===s.b.contain||t===s.b.centerContain||t===s.b.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var o=void 0;o=r&&n&&t!==s.b.centerContain&&t!==s.b.centerCover?r/n:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var i=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=i>o?s.a.landscape:s.a.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(o.Component)},function(e,t,r){"use strict";r.d(t,"b",(function(){return a}));var n=r(10),o=r(123),i=r(63);function a(e){var t=e||Object(n.a)();t&&!t.__hasInitializeFocusRects__&&(t.__hasInitializeFocusRects__=!0,t.addEventListener("mousedown",s,!0),t.addEventListener("keydown",l,!0))}function s(e){Object(i.b)(!1,e.target)}function l(e){Object(o.b)(e.which)&&Object(i.b)(!0,e.target)}r.d(t,"a",(function(){return i.a}))},function(e,t,r){"use strict";function n(e,t,r){}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r(88);function n(e,t,r,n,o){}},function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var n,o=r(1),i=r(0),a=r(59),s=r(232),l=r(40),u=r(17),c=r(101),d=r(231),p=r(132),f=r(89),h=Object(l.a)(),m=function(e){function t(t){var r=e.call(this,t)||this;return r._rootRef=i.createRef(),r._createLayerElement=function(){var e=r.props.hostId,t=Object(u.a)(r._rootRef.current),n=r._getHost();if(t&&n){r._removeLayerElement();var o=t.createElement("div"),i=r._getClassNames();o.className=i.root,Object(c.b)(o),Object(d.a)(o,r._rootRef.current),r.props.insertFirst?n.insertBefore(o,n.firstChild):n.appendChild(o),r.setState({hostId:e,layerElement:o},(function(){var e=r.props,t=e.onLayerDidMount,n=e.onLayerMounted;n&&n(),t&&t()}))}},r.state={},r}return Object(o.c)(t,e),t.prototype.componentDidMount=function(){var e=this.props.hostId;this._createLayerElement(),e&&Object(f.c)(e,this._createLayerElement)},t.prototype.render=function(){var e=this.state.layerElement,t=this._getClassNames(),r=this.props.eventBubblingEnabled;return i.createElement("span",{className:"ms-layer",ref:this._rootRef},e&&a.createPortal(i.createElement(s.a,Object(o.a)({},!r&&function(){n||(n={},["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 n[e]=v})));return n}(),{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&&Object(f.d)(e,this._createLayerElement)},t.prototype._removeLayerElement=function(){var e=this.props.onLayerWillUnmount,t=this.state.layerElement;if(e&&e(),t&&t.parentNode){var r=t.parentNode;r&&r.removeChild(t)}},t.prototype._getClassNames=function(){var e=this.props,t=e.className,r=e.styles,n=e.theme;return h(r,{theme:n,className:t,isNotHost:!this.props.hostId})},t.prototype._getHost=function(){var e=this.props.hostId,t=Object(u.a)(this._rootRef.current);if(t){if(e)return t.getElementById(e);var r=Object(f.a)();return r?t.querySelector(r):t.body}},t.defaultProps={onLayerDidMount:function(){},onLayerWillUnmount:function(){}},t=Object(o.b)([Object(p.a)("Layer",["theme","hostId"])],t)}(i.Component),v=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()}},function(e,t,r){"use strict";r.d(t,"a",(function(){return b}));var n=r(1),o=r(0),i=r(40),a=r(28),s=r(35),l=r(123),u=r(14),c=r(233),d=r(10),p=r(55),f=r(17),h=r(118),m=r(3),v=Object(i.a)(),g=Object(a.c)((function(e,t){return Object(m.J)(Object(n.a)(Object(n.a)({},e),{rtl:t}))})),y=Object(a.c)((function(e,t){return t||(e&&void 0!==e.rtl?e.rtl?"rtl":"ltr":Object(s.a)()?"rtl":"ltr")})),b=function(e){function t(t){var r=e.call(this,t)||this;return r._rootElement=o.createRef(),r._disposables=[],r._removeClassNameFromBody=void 0,r._onMouseDown=function(e){r.setState({isFocusVisible:!1})},r._onKeyDown=function(e){Object(l.b)(e.which)&&r.setState({isFocusVisible:!0})},r.state={isFocusVisible:!1},r}return Object(n.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.as,r=void 0===t?"div":t,i=e.theme,a=e.dir,s=this._getClassNames(),l=Object(u.j)(this.props,u.h,["dir"]),d=y(i,a),p=y(i),f=o.createElement(r,Object(n.a)({dir:d},l,{className:s.root,ref:this._rootElement}));return d!==p&&(f=o.createElement(c.a,{settings:{theme:g(i,"rtl"===a)}},f)),f},t.prototype.componentDidMount=function(){var e=Object(d.a)(this._rootElement.current);e&&this._disposables.push(Object(p.a)(e,"mousedown",this._onMouseDown,!0),Object(p.a)(e,"keydown",this._onKeyDown,!0)),this._addClassNameToBody()},t.prototype.componentWillUnmount=function(){this._disposables.forEach((function(e){return e()})),this._removeClassNameFromBody&&this._removeClassNameFromBody()},t.prototype._getClassNames=function(){var e=this.props,t=e.className,r=e.theme,n=e.applyTheme;return v(h.a,{theme:r,applyTheme:n,className:t,isFocusVisible:this.state.isFocusVisible})},t.prototype._addClassNameToBody=function(){if(this.props.applyThemeToBody){var e=this._getClassNames(),t=Object(f.a)(this._rootElement.current);t&&(t.body.classList.add(e.bodyThemed),this._removeClassNameFromBody=function(){t.body.classList.remove(e.bodyThemed)})}},t}(o.Component)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(121);function o(e,t){var r=(t||{}).customizations,o=void 0===r?{settings:{},scopedSettings:{}}:r;return{customizations:{settings:Object(n.b)(o.settings,e.settings),scopedSettings:Object(n.a)(o.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),o=r(0),i=r(120),a=r(35),s=r(69),l=r(104),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openSubMenu=function(){var e=t.props,r=e.item,n=e.openSubMenu,o=e.getSubmenuTarget;if(o){var a=o();Object(i.c)(r)&&n&&a&&n(r,a)}},t.dismissSubMenu=function(){var e=t.props,r=e.item,n=e.dismissSubMenu;Object(i.c)(r)&&n&&n()},t.dismissMenu=function(e){var r=t.props.dismissMenu;r&&r(void 0,e)},t}return Object(n.c)(t,e),t.prototype.render=function(){var e=this.props,t=e.item,r=e.classNames;return o.createElement("div",{className:t.split?r.linkContentMenu:r.linkContent},function(e){var t=e.onCheckmarkClick,r=e.item,n=e.classNames,a=Object(i.a)(r);if(t){return o.createElement(l.a,{iconName:!1!==r.canCheck&&a?"CheckMark":"",className:n.checkmarkIcon,onClick:function(e){return t(r,e)}})}return null}(this.props),function(e){var t=e.item,r=e.hasIcons,i=e.classNames,a=t.iconProps;return r?t.onRenderIcon?t.onRenderIcon(e):o.createElement(l.a,Object(n.a)({},a,{className:i.icon})):null}(this.props),function(e){var t=e.item,r=e.classNames;return t.text||t.name?o.createElement("span",{className:r.label},t.text||t.name):null}(this.props),function(e){var t=e.item,r=e.classNames;return t.secondaryText?o.createElement("span",{className:r.secondaryText},t.secondaryText):null}(this.props),function(e){var t=e.item,r=e.classNames,s=e.theme;return Object(i.c)(t)?o.createElement(l.a,Object(n.a)({iconName:Object(a.a)(s)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:r.subMenuIcon})):null}(this.props))},t}(s.a)},function(e,t,r){"use strict";r.d(t,"c",(function(){return L})),r.d(t,"b",(function(){return B})),r.d(t,"a",(function(){return N}));var n=r(1),o=r(0),i=r(30),a=r(7),s=r(25),l=r(227),u=r(56),c=r(14),d=r(40),p=r(8),f=r(503),h=r(504),m=r(35),v=r(9),g=r(64),y=r(72),b=r(17),w=r(10),_=r(69),S=r(120),O=r(52),C=r(182),V=r(46),k=r(28),E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onItemMouseEnter=function(e){var r=t.props,n=r.item,o=r.onItemMouseEnter;o&&o(n,e,e.currentTarget)},t._onItemClick=function(e){var r=t.props,n=r.item,o=r.onItemClickBase;o&&o(n,e,e.currentTarget)},t._onItemMouseLeave=function(e){var r=t.props,n=r.item,o=r.onItemMouseLeave;o&&o(n,e)},t._onItemKeyDown=function(e){var r=t.props,n=r.item,o=r.onItemKeyDown;o&&o(n,e)},t._onItemMouseMove=function(e){var r=t.props,n=r.item,o=r.onItemMouseMove;o&&o(n,e,e.currentTarget)},t._getSubMenuId=function(e){var r=t.props.getSubMenuId;if(r)return r(e)},t._getSubmenuTarget=function(){},t}return Object(n.c)(t,e),t.prototype.shouldComponentUpdate=function(e){return!Object(u.d)(e,this.props)},t}(_.a),T=r(249),P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=o.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(k.c)((function(e){return Object(n.a)(Object(n.a)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var r=t.props,n=r.item,o=r.onItemClick;o&&o(n,e)},t}return Object(n.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,r=t.item,i=t.classNames,a=t.index,s=t.focusableElementIndex,l=t.totalItemCount,u=t.hasCheckmarks,d=t.hasIcons,p=t.contextualMenuItemAs,f=void 0===p?V.a:p,h=t.expandedMenuItemKey,m=t.onItemClick,v=t.openSubMenu,g=t.dismissSubMenu,y=t.dismissMenu,b=r.rel;r.target&&"_blank"===r.target.toLowerCase()&&(b=b||"nofollow noopener noreferrer");var w=this._getSubMenuId(r),_=Object(S.c)(r),O=Object(c.j)(r,c.a),C=Object(S.d)(r),k=r.itemProps,E=r.keytipProps;return E&&_&&(E=this._getMemoizedMenuButtonKeytipProps(E)),o.createElement("div",null,o.createElement(T.a,{keytipProps:r.keytipProps,ariaDescribedBy:O["aria-describedby"],disabled:C},(function(t){return o.createElement("a",Object(n.a)({},O,t,{ref:e._anchor,href:r.href,target:r.target,rel:b,className:i.root,role:"menuitem","aria-owns":r.key===h?w:void 0,"aria-haspopup":_||void 0,"aria-expanded":_?r.key===h:void 0,"aria-posinset":s+1,"aria-setsize":l,"aria-disabled":Object(S.d)(r),style:r.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:_?e._onItemKeyDown:void 0}),o.createElement(f,Object(n.a)({componentRef:r.componentRef,item:r,classNames:i,index:a,onCheckmarkClick:u&&m?m:void 0,hasIcons:d,openSubMenu:v,dismissSubMenu:g,dismissMenu:y,getSubmenuTarget:e._getSubmenuTarget},k)))})))},t}(E),x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=o.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(k.c)((function(e){return Object(n.a)(Object(n.a)({},e),{hasMenu:!0})})),t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return Object(n.c)(t,e),t.prototype.render=function(){var e=this,t=this.props,r=t.item,i=t.classNames,a=t.index,s=t.focusableElementIndex,l=t.totalItemCount,u=t.hasCheckmarks,d=t.hasIcons,p=t.contextualMenuItemAs,f=void 0===p?V.a:p,h=t.expandedMenuItemKey,m=t.onItemMouseDown,v=t.onItemClick,g=t.openSubMenu,y=t.dismissSubMenu,b=t.dismissMenu,w=this._getSubMenuId(r),_=Object(S.a)(r),O=null!==_,C=Object(S.b)(r),k=Object(S.c)(r),E=r.itemProps,P=r.ariaLabel,x=Object(c.j)(r,c.e);delete x.disabled;var I={className:i.root,onClick:this._onItemClick,onKeyDown:k?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return m?m(r,e):void 0},onMouseMove:this._onItemMouseMove,href:r.href,title:r.title,"aria-label":P,"aria-haspopup":k||void 0,"aria-owns":r.key===h?w:void 0,"aria-expanded":k?r.key===h:void 0,"aria-checked":O?!!_:void 0,"aria-posinset":s+1,"aria-setsize":l,"aria-disabled":Object(S.d)(r),role:r.role||C,style:r.style},M=r.keytipProps;return M&&k&&(M=this._getMemoizedMenuButtonKeytipProps(M)),o.createElement(T.a,{keytipProps:M,ariaDescribedBy:x["aria-describedby"],disabled:Object(S.d)(r)},(function(t){return o.createElement("button",Object(n.a)({ref:e._btn},x,I,t),o.createElement(f,Object(n.a)({componentRef:r.componentRef,item:r,classNames:i,index:a,onCheckmarkClick:u&&v?v:void 0,hasIcons:d,openSubMenu:g,dismissSubMenu:y,dismissMenu:b,getSubmenuTarget:e._getSubmenuTarget},E)))}))},t}(E),I=r(234),M=r(80),j=r(508),F=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._getMemoizedMenuButtonKeytipProps=Object(k.c)((function(e){return Object(n.a)(Object(n.a)({},e),{hasMenu:!0})})),t._onItemKeyDown=function(e){var r=t.props,n=r.item,o=r.onItemKeyDown;e.which===p.a.enter?(t._executeItemClick(e),e.preventDefault(),e.stopPropagation()):o&&o(n,e)},t._getSubmenuTarget=function(){return t._splitButton},t._onItemMouseEnterPrimary=function(e){var r=t.props,o=r.item,i=r.onItemMouseEnter;i&&i(Object(n.a)(Object(n.a)({},o),{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseEnterIcon=function(e){var r=t.props,n=r.item,o=r.onItemMouseEnter;o&&o(n,e,t._splitButton)},t._onItemMouseMovePrimary=function(e){var r=t.props,o=r.item,i=r.onItemMouseMove;i&&i(Object(n.a)(Object(n.a)({},o),{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseMoveIcon=function(e){var r=t.props,n=r.item,o=r.onItemMouseMove;o&&o(n,e,t._splitButton)},t._onIconItemClick=function(e){var r=t.props,n=r.item,o=r.onItemClickBase;o&&o(n,e,t._splitButton?t._splitButton:e.currentTarget)},t._executeItemClick=function(e){var r=t.props,n=r.item,o=r.executeItemClick,i=r.onItemClick;if(!n.disabled&&!n.isDisabled)return t._processingTouch&&i?i(n,e):void(o&&o(n,e))},t._onTouchStart=function(e){t._splitButton&&!("onpointerdown"in t._splitButton)&&t._handleTouchAndPointerEvent(e)},t._onPointerDown=function(e){"touch"===e.pointerType&&(t._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},t}return Object(n.c)(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.render=function(){var e=this,t=this.props,r=t.item,i=t.classNames,a=t.index,s=t.focusableElementIndex,l=t.totalItemCount,u=t.hasCheckmarks,c=t.hasIcons,d=t.onItemMouseLeave,p=t.expandedMenuItemKey,f=Object(S.c)(r),h=r.keytipProps;return h&&(h=this._getMemoizedMenuButtonKeytipProps(h)),o.createElement(T.a,{keytipProps:h,disabled:Object(S.d)(r)},(function(t){return o.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:Object(S.b)(r),"aria-label":r.ariaLabel,className:i.splitContainer,"aria-disabled":Object(S.d)(r),"aria-expanded":f?r.key===p:void 0,"aria-haspopup":!0,"aria-describedby":Object(I.a)(r.ariaDescription,t["aria-describedby"]),"aria-checked":r.isChecked||r.checked,"aria-posinset":s+1,"aria-setsize":l,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(e,Object(n.a)(Object(n.a)({},r),{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":r["aria-roledescription"]},e._renderSplitPrimaryButton(r,i,a,u,c),e._renderSplitDivider(r),e._renderSplitIconButton(r,i,a,t))}))},t.prototype._renderSplitPrimaryButton=function(e,t,r,i,a){var s=this.props,l=s.contextualMenuItemAs,u=void 0===l?V.a:l,d=s.onItemClick,p={key:e.key,disabled:Object(S.d)(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,"data-is-focusable":!1},f=e.itemProps;return o.createElement("button",Object(n.a)({},Object(c.j)(p,c.e)),o.createElement(u,Object(n.a)({"data-is-focusable":!1,item:p,classNames:t,index:r,onCheckmarkClick:i&&d?d:void 0,hasIcons:a},f)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||M.b;return o.createElement(j.a,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,r,i){var a=this.props,s=a.contextualMenuItemAs,l=void 0===s?V.a:s,u=a.onItemMouseLeave,d=a.onItemMouseDown,p=a.openSubMenu,f=a.dismissSubMenu,h=a.dismissMenu,m={onClick:this._onIconItemClick,disabled:Object(S.d)(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},v=Object(n.a)(Object(n.a)({},Object(c.j)(m,c.e)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:u?u.bind(this,e):void 0,onMouseDown:function(t){return d?d(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":i["data-ktp-execute-target"],"aria-hidden":!0}),g=e.itemProps;return o.createElement("button",Object(n.a)({},v),o.createElement(l,Object(n.a)({componentRef:e.componentRef,item:m,classNames:t,index:r,hasIcons:!1,openSubMenu:p,dismissSubMenu:f,dismissMenu:h,getSubmenuTarget:this._getSubmenuTarget},g)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,r=this.props.onTap;r&&r(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}(E),A=r(3),R=Object(d.a)({disableCaching:!0}),D=Object(d.a)({disableCaching:!0});function L(e){return e.subMenuProps?e.subMenuProps.items:e.items}function B(e){return e.some((function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some((function(e){return!0===e.canCheck})))}))}var N=function(e){function t(t){var r=e.call(this,t)||this;return r._mounted=!1,r.dismiss=function(e,t){var n=r.props.onDismiss;n&&n(e,t)},r._onRenderMenuList=function(e,t){var n=0;return o.createElement("ul",{className:r._classNames.list,onKeyDown:r._onKeyDown,onKeyUp:r._onKeyUp,role:"menu"},e.items.map((function(t,o){var a=r._renderMenuItem(t,o,n,e.totalItemCount,e.hasCheckmarks,e.hasIcons);if(t.itemType!==i.a.Divider&&t.itemType!==i.a.Header){var s=t.customOnRenderListLength?t.customOnRenderListLength:1;n+=s}return a})))},r._onKeyDown=function(e){r._lastKeyDownWasAltOrMeta=r._isAltOrMeta(e);var t=e.which===p.a.escape&&(Object(f.a)()||Object(h.a)());return r._keyHandler(e,r._shouldHandleKeyDown,t)},r._shouldHandleKeyDown=function(e){return e.which===p.a.escape||r._shouldCloseSubMenu(e)||e.which===p.a.up&&(e.altKey||e.metaKey)},r._onMenuFocusCapture=function(e){r.props.delayUpdateFocusOnHover&&(r._shouldUpdateFocusOnMouseEvent=!0)},r._onKeyUp=function(e){return r._keyHandler(e,r._shouldHandleKeyUp,!0)},r._shouldHandleKeyUp=function(e){var t=r._lastKeyDownWasAltOrMeta&&r._isAltOrMeta(e);return r._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(h.a)()||Object(f.a)())},r._keyHandler=function(e,t,n){var o=!1;return t(e)&&(r._isFocusingPreviousElement=!0,r.dismiss(e,n),e.preventDefault(),e.stopPropagation(),o=!0),o},r._shouldCloseSubMenu=function(e){var t=Object(m.a)(r.props.theme)?p.a.right:p.a.left;return!(e.which!==t||!r.props.isSubMenu)&&(r._adjustedFocusZoneProps.direction===s.a.vertical||!!r._adjustedFocusZoneProps.checkForNoWrap&&!Object(v.p)(e.target,"data-no-horizontal-wrap"))},r._onMenuKeyDown=function(e){if(!r._onKeyDown(e)&&r._host){var t=!(!e.altKey&&!e.metaKey),n=e.which===p.a.up,o=e.which===p.a.down;if(!t&&(n||o)){var i=n?Object(v.h)(r._host,r._host.lastChild,!0):Object(v.e)(r._host,r._host.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},r._onScroll=function(){r._isScrollIdle||void 0===r._scrollIdleTimeoutId?r._isScrollIdle=!1:(r._async.clearTimeout(r._scrollIdleTimeoutId),r._scrollIdleTimeoutId=void 0),r._scrollIdleTimeoutId=r._async.setTimeout((function(){r._isScrollIdle=!0}),250)},r._onItemMouseEnterBase=function(e,t,n){r._shouldIgnoreMouseEvent()||r._updateFocusOnMouseEvent(e,t,n)},r._onItemMouseMoveBase=function(e,t,n){var o=t.currentTarget;r._shouldUpdateFocusOnMouseEvent&&(r._gotMouseMove=!0,r._isScrollIdle&&void 0===r._enterTimerId&&o!==r._targetWindow.document.activeElement&&r._updateFocusOnMouseEvent(e,t,n))},r._onMouseItemLeave=function(e,t){if(!r._shouldIgnoreMouseEvent()&&(void 0!==r._enterTimerId&&(r._async.clearTimeout(r._enterTimerId),r._enterTimerId=void 0),void 0===r.state.expandedMenuItemKey))if(r._host.setActive)try{r._host.setActive()}catch(e){}else r._host.focus()},r._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)},r._onItemClick=function(e,t){r._onItemClickBase(e,t,t.currentTarget)},r._onItemClickBase=function(e,t,n){var o=L(e);r._cancelSubMenuTimer(),Object(S.c)(e)||o&&o.length?e.key!==r.state.expandedMenuItemKey&&(r.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType}),r._onItemSubMenuExpand(e,n)):r._executeItemClick(e,t),t.stopPropagation(),t.preventDefault()},r._onAnchorClick=function(e,t){r._executeItemClick(e,t),t.stopPropagation()},r._executeItemClick=function(e,t){if(!e.disabled&&!e.isDisabled){var n=!1;e.onClick?n=!!e.onClick(t,e):r.props.onItemClick&&(n=!!r.props.onItemClick(t,e)),(n||!t.defaultPrevented)&&r.dismiss(t,!0)}},r._onItemKeyDown=function(e,t){var n=Object(m.a)(r.props.theme)?p.a.left:p.a.right;e.disabled||t.which!==n&&t.which!==p.a.enter&&(t.which!==p.a.down||!t.altKey&&!t.metaKey)||(r.setState({expandedByMouseClick:!1}),r._onItemSubMenuExpand(e,t.currentTarget),t.preventDefault())},r._cancelSubMenuTimer=function(){void 0!==r._enterTimerId&&(r._async.clearTimeout(r._enterTimerId),r._enterTimerId=void 0)},r._onItemSubMenuExpand=function(e,t){r.state.expandedMenuItemKey!==e.key&&(r.state.expandedMenuItemKey&&r._onSubMenuDismiss(),t.focus(),r.setState({expandedMenuItemKey:e.key,submenuTarget:t}))},r._onSubMenuDismiss=function(e,t){t?r.dismiss(e,t):r._mounted&&r.setState({dismissedMenuItemKey:r.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},r._getSubMenuId=function(e){var t=r.state.subMenuId;return e.subMenuProps&&e.subMenuProps.id&&(t=e.subMenuProps.id),t},r._onPointerAndTouchEvent=function(e){r._cancelSubMenuTimer()},r.state={contextualMenuItems:void 0,subMenuId:Object(g.a)("ContextualMenu")},r._warnDeprecations({getMenuClassNames:"styles"}),r._id=t.id||Object(g.a)("ContextualMenu"),r._isFocusingPreviousElement=!1,r._isScrollIdle=!0,r._shouldUpdateFocusOnMouseEvent=!r.props.delayUpdateFocusOnHover,r._gotMouseMove=!1,r}return Object(n.c)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return!(!e.shouldUpdateWhenHidden&&this.props.hidden&&e.hidden)&&(!Object(u.d)(this.props,e)||!Object(u.d)(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:null)),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:null)},t.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened(),this._mounted=!0},t.prototype.componentWillUnmount=function(){this._tryFocusPreviousActiveElement(),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,r=this.props,a=r.items,u=r.labelElementId,c=r.id,d=r.className,p=r.beakWidth,f=r.directionalHint,h=r.directionalHintForRTL,m=r.alignTargetEdge,v=r.gapSpace,g=r.coverTarget,b=r.ariaLabel,w=r.doNotLayer,_=r.target,S=r.bounds,V=r.useTargetWidth,k=r.useTargetAsMinWidth,E=r.directionalHintFixed,T=r.shouldFocusOnMount,P=r.shouldFocusOnContainer,x=r.title,I=r.styles,M=r.theme,j=r.calloutProps,F=r.onRenderSubMenu,A=void 0===F?this._onRenderSubMenu:F,D=r.onRenderMenuList,L=void 0===D?this._onRenderMenuList:D,N=r.focusZoneProps,U=r.getMenuClassNames;this._classNames=U?U(M,d):R(I,{theme:M,className:d});var H=function e(t){for(var r=0,n=t;r<n.length;r++){var o=n[r];if(o.iconProps)return!0;if(o.itemType===i.a.Section&&o.sectionProps&&e(o.sectionProps.items))return!0}return!1}(a);this._adjustedFocusZoneProps=Object(n.a)(Object(n.a)({},N),{direction:this._getFocusZoneDirection()});var q,W=B(a),z=this.state.expandedMenuItemKey&&!0!==this.props.hidden?this._getSubmenuProps():null;t=void 0===t?this.props.responsiveMode<=O.a.medium:t;var K=this._target;if((V||k)&&K&&K.offsetWidth){var G=K.getBoundingClientRect().width-2;V?q={width:G}:k&&(q={minWidth:G})}if(a&&a.length>0){for(var J=0,Y=0,Q=a;Y<Q.length;Y++){var Z=Q[Y];if(Z.itemType!==i.a.Divider&&Z.itemType!==i.a.Header)J+=Z.customOnRenderListLength?Z.customOnRenderListLength:1}var $=this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return o.createElement(C.a,Object(n.a)({styles:$},j,{target:_,isBeakVisible:t,beakWidth:p,directionalHint:f,directionalHintForRTL:h,gapSpace:v,coverTarget:g,doNotLayer:w,className:Object(y.a)("ms-ContextualMenu-Callout",j&&j.className),setInitialFocus:T,onDismiss:this.props.onDismiss,onScroll:this._onScroll,bounds:S,directionalHintFixed:E,alignTargetEdge:m,hidden:this.props.hidden}),o.createElement("div",{"aria-label":b,"aria-labelledby":u,style:q,ref:function(t){return e._host=t},id:c,className:this._classNames.container,tabIndex:P?0:-1,onKeyDown:this._onMenuKeyDown,onKeyUp:this._onKeyUp,onFocusCapture:this._onMenuFocusCapture},x&&o.createElement("div",{className:this._classNames.title}," ",x," "),a&&a.length?o.createElement(l.a,Object(n.a)({},this._adjustedFocusZoneProps,{className:this._classNames.root,isCircularNavigation:!0,handleTabKey:s.b.all}),L({items:a,totalItemCount:J,hasCheckmarks:W,hasIcons:H},this._onRenderMenuList)):null,z&&A(z,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(),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._tryFocusPreviousActiveElement=function(){var e=this;this._isFocusingPreviousElement&&this._previousActiveElement&&setTimeout((function(){e._previousActiveElement&&e._previousActiveElement.focus()}),0)},t.prototype._getFocusZoneDirection=function(){var e=this.props.focusZoneProps;return e&&void 0!==e.direction?e.direction:s.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._renderMenuItem=function(e,t,r,n,o,a){var s,l=[],u=e.iconProps||{iconName:"None"},c=e.getItemClassNames,d=e.itemProps,p=d?d.styles:void 0,f=e.itemType===i.a.Divider?e.className:void 0,h=e.submenuIconProps?e.submenuIconProps.className:"";if(c)s=c(this.props.theme,Object(S.d)(e),this.state.expandedMenuItemKey===e.key,!!Object(S.a)(e),!!e.href,"None"!==u.iconName,e.className,f,u.className,h,e.primaryDisabled);else{var m={theme:this.props.theme,disabled:Object(S.d)(e),expanded:this.state.expandedMenuItemKey===e.key,checked:!!Object(S.a)(e),isAnchorLink:!!e.href,knownIcon:"None"!==u.iconName,itemClassName:e.className,dividerClassName:f,iconClassName:u.className,subMenuClassName:h,primaryDisabled:e.primaryDisabled},v=this._classNames.subComponentStyles?this._classNames.subComponentStyles.menuItem:void 0;s=Object(A.ab)(D(M.a,m),D(v,m),D(p,m))}switch("-"!==e.text&&"-"!==e.name||(e.itemType=i.a.Divider),e.itemType){case i.a.Divider:l.push(this._renderSeparator(t,s));break;case i.a.Header:l.push(this._renderSeparator(t,s));var g=this._renderHeaderMenuItem(e,s,t,o,a);l.push(this._renderListItem(g,e.key||t,s,e.title));break;case i.a.Section:l.push(this._renderSectionItem(e,s,t,o,a));break;default:var y=this._renderNormalItem(e,s,t,r,n,o,a);l.push(this._renderListItem(y,e.key||t,s,e.title))}return l},t.prototype._renderSectionItem=function(e,t,r,a,s){var l=this,u=e.sectionProps;if(u){var c,d;if(u.title){var p=this._id+u.title,f={key:"section-"+u.title+"-title",itemType:i.a.Header,text:u.title,id:p};d={role:"group","aria-labelledby":p},c=this._renderHeaderMenuItem(f,t,r,a,s)}return u.items&&u.items.length>0?o.createElement("li",{role:"presentation",key:u.key||e.key||"section-"+r},o.createElement("div",Object(n.a)({},d),o.createElement("ul",{className:this._classNames.list},u.topDivider&&this._renderSeparator(r,t,!0,!0),c&&this._renderListItem(c,e.key||r,t,e.title),u.items.map((function(e,t){return l._renderMenuItem(e,t,t,u.items.length,a,s)})),u.bottomDivider&&this._renderSeparator(r,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,r,n){return o.createElement("li",{role:"presentation",title:n,key:t,className:r.item},e)},t.prototype._renderSeparator=function(e,t,r,n){return n||e>0?o.createElement("li",{role:"separator",key:"separator-"+e+(void 0===r?"":r?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,r,o,i,a,s){return e.onRender?e.onRender(Object(n.a)({"aria-posinset":o+1,"aria-setsize":i},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,r,o,i,a,s):e.split&&Object(S.c)(e)?this._renderSplitButton(e,t,r,o,i,a,s):this._renderButtonItem(e,t,r,o,i,a,s)},t.prototype._renderHeaderMenuItem=function(e,t,r,i,a){var s=this.props.contextualMenuItemAs,l=void 0===s?V.a:s,u=e.itemProps,d=e.id,p=u&&Object(c.j)(u,c.h);return o.createElement("div",Object(n.a)({id:d,className:this._classNames.header},p,{style:e.style}),o.createElement(l,Object(n.a)({item:e,classNames:t,index:r,onCheckmarkClick:i?this._onItemClick:void 0,hasIcons:a},u)))},t.prototype._renderAnchorMenuItem=function(e,t,r,n,i,a,s){var l=this.props.contextualMenuItemAs,u=this.state.expandedMenuItemKey;return o.createElement(P,{item:e,classNames:t,index:r,focusableElementIndex:n,totalItemCount:i,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:u,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,r,n,i,a,s){var l=this.props.contextualMenuItemAs,u=this.state.expandedMenuItemKey;return o.createElement(x,{item:e,classNames:t,index:r,focusableElementIndex:n,totalItemCount:i,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:u,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,r,n,i,a,s){var l=this.props.contextualMenuItemAs,u=this.state.expandedMenuItemKey;return o.createElement(F,{item:e,classNames:t,index:r,focusableElementIndex:n,totalItemCount:i,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:u,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===p.a.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,r){var n=this,o=r||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&&o.focus(),Object(S.c)(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout((function(){o.focus(),n.setState({expandedByMouseClick:!0}),n._onItemSubMenuExpand(e,o),n._enterTimerId=void 0}),a)):this._enterTimerId=this._async.setTimeout((function(){n._onSubMenuDismiss(t),o.focus(),n._enterTimerId=void 0}),a))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,r=e.expandedMenuItemKey,n=this._findItemByKey(r),o=null;return n&&(o={items:L(n),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:Object(m.a)(this.props.theme)?a.a.leftTopEdge:a.a.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},n.subMenuProps&&Object(u.a)(o,n.subMenuProps)),o},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var r=0,n=t;r<n.length;r++){var o=n[r];if(o.itemType===i.a.Section&&o.sectionProps){var a=this._findItemByKeyFromItems(e,o.sectionProps.items);if(a)return a}else if(o.key&&o.key===e)return o}},t.prototype._setTargetWindowAndElement=function(e){var t=this._host;if(e)if("string"==typeof e){var r=Object(b.a)(t);this._target=r?r.querySelector(e):null,this._targetWindow=Object(w.a)(t)}else if(e.stopPropagation)this._targetWindow=Object(w.a)(e.target),this._target=e;else if(void 0!==e.x&&void 0!==e.y)this._targetWindow=Object(w.a)(t),this._target=e;else if(void 0!==e.current)this._target=e.current,this._targetWindow=Object(w.a)(this._target);else{var n=e;this._targetWindow=Object(w.a)(n),this._target=e}else this._targetWindow=Object(w.a)(t)},t.defaultProps={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:a.a.bottomAutoEdge,beakWidth:16},t=Object(n.b)([O.b],t)}(_.a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(1),o=r(169),i=function(e){function t(t){var r=e.call(this,t)||this;return r._skipComponentRefResolution=!0,r._updateComposedComponentRef=r._updateComposedComponentRef.bind(r),r}return Object(n.c)(t,e),t.prototype._updateComposedComponentRef=function(e){this._composedComponentInstance=e,e?this._hoisted=Object(o.a)(this,e):this._hoisted&&Object(o.b)(this,this._hoisted)},t}(r(69).a)},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i}));var n=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];function o(e,t,r){void 0===r&&(r=n);var o=[],i=function(n){"function"!=typeof t[n]||void 0!==e[n]||r&&-1!==r.indexOf(n)||(o.push(n),e[n]=function(){t[n].apply(t,arguments)})};for(var a in t)i(a);return o}function i(e,t){t.forEach((function(t){return delete e[t]}))}},,,,,,,,function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return l}));var n=r(82),o=r(117),i=r(54),a=r(53);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 r={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var i=n.a.apply(void 0,e),s=[];for(var l in i)if(i.hasOwnProperty(l)){if("subComponentStyles"===l){r.subComponentStyles=i.subComponentStyles||{};continue}var u=i[l],c=Object(o.a)(u),d=c.classes,p=c.objects,f=Object(a.d)(t||{},{displayName:l},p);s.push(f),f&&(r[l]=d.concat([f.className]).join(" "))}for(var h=0,m=s;h<m.length;h++){(f=m[h])&&Object(a.a)(f)}return r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(99),o=r(101);function i(e,t){var r=Object(n.a)(e,(function(e){return t===e||e.hasAttribute(o.a)}));return null!==r&&r.hasAttribute(o.a)}},function(e,t,r){window,e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=17)}([function(e,t,r){"use strict";var n=r(7);const{toString:o}=Object.prototype,{getPrototypeOf:i}=Object,a=(s=Object.create(null),e=>{const t=o.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const l=e=>(e=e.toLowerCase(),t=>a(t)===e),u=e=>t=>typeof t===e,{isArray:c}=Array,d=u("undefined"),p=l("ArrayBuffer"),f=u("string"),h=u("function"),m=u("number"),v=e=>null!==e&&"object"==typeof e,g=e=>{if("object"!==a(e))return!1;const t=i(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},y=l("Date"),b=l("File"),w=l("Blob"),_=l("FileList"),S=l("URLSearchParams");function O(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),c(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(n=0;n<i;n++)a=o[n],t.call(null,e[a],a,e)}}const C=(V="undefined"!=typeof Uint8Array&&i(Uint8Array),e=>V&&e instanceof V);var V;const k=l("HTMLFormElement"),E=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),T=l("RegExp"),P=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};O(r,(r,o)=>{!1!==t(r,o,e)&&(n[o]=r)}),Object.defineProperties(e,n)};t.a={isArray:c,isArrayBuffer:p,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>e&&("function"==typeof FormData&&e instanceof FormData||"[object FormData]"===o.call(e)||h(e.toString)&&"[object FormData]"===e.toString()),isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&p(e.buffer),t},isString:f,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:g,isUndefined:d,isDate:y,isFile:b,isBlob:w,isRegExp:T,isFunction:h,isStream:e=>v(e)&&h(e.pipe),isURLSearchParams:S,isTypedArray:C,isFileList:_,forEach:O,merge:function e(){const t={},r=(r,n)=>{g(t[n])&&g(r)?t[n]=e(t[n],r):g(r)?t[n]=e({},r):c(r)?t[n]=r.slice():t[n]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&O(arguments[e],r);return t},extend:(e,t,r,{allOwnKeys:o}={})=>(O(t,(t,o)=>{r&&h(t)?e[o]=Object(n.a)(t,r):e[o]=t},{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,a,s;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)s=o[a],n&&!n(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==r&&i(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:l,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(c(e))return e;let t=e.length;if(!m(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:k,hasOwnProperty:E,hasOwnProp:E,reduceDescriptors:P,freezeMethods:e=>{P(e,(t,r)=>{const n=e[r];h(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return c(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t)}},function(e,t,r){"use strict";var n=r(0);function o(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.a.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{a[e]={value:e}}),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=(e,t,r,a,s,l)=>{const u=Object.create(i);return n.a.toFlatObject(e,u,(function(e){return e!==Error.prototype}),e=>"isAxiosError"!==e),o.call(u,e.message,t,r,a,s),u.cause=e,u.name=e.name,l&&Object.assign(u,l),u},t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(9),o="undefined"!=typeof URLSearchParams?URLSearchParams:n.a,i=FormData;const a=(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})();var s={isBrowser:!0,classes:{URLSearchParams:o,FormData:i,Blob:Blob},isStandardBrowserEnv:a,protocols:["http","https","file","blob","url","data"]}},function(e,t,r){"use strict";var n=r(0);const o=n.a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),i=Symbol("internals"),a=Symbol("defaults");function s(e){return e&&String(e).trim().toLowerCase()}function l(e){return!1===e||null==e?e:String(e)}function u(e,t,r,o){return n.a.isFunction(o)?o.call(this,t,r):n.a.isString(t)?n.a.isString(o)?-1!==t.indexOf(o):n.a.isRegExp(o)?o.test(t):void 0:void 0}function c(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}function d(e,t){e&&this.set(e),this[a]=t||null}Object.assign(d.prototype,{set:function(e,t,r){const o=this;function i(e,t,r){const i=s(t);if(!i)throw new Error("header name must be a non-empty string");const a=c(o,i);(!a||!0===r||!1!==o[a]&&!1!==r)&&(e=n.a.isArray(e)?e.map(l):l(e),o[a||t]=e)}return n.a.isPlainObject(e)?n.a.forEach(e,(e,r)=>{i(e,r,t)}):i(t,e,r),this},get:function(e,t){if(!(e=s(e)))return;const r=c(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(n.a.isFunction(t))return t.call(this,e,r);if(n.a.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}},has:function(e,t){if(e=s(e)){const r=c(this,e);return!(!r||t&&!u(0,this[r],r,t))}return!1},delete:function(e,t){const r=this;let o=!1;function i(e){if(e=s(e)){const n=c(r,e);!n||t&&!u(0,r[n],n,t)||(delete r[n],o=!0)}}return n.a.isArray(e)?e.forEach(i):i(e),o},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(e){const t=this,r={};return n.a.forEach(this,(n,o)=>{const i=c(r,o);if(i)return t[i]=l(n),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();a!==o&&delete t[o],t[a]=l(n),r[a]=!0}),this},toJSON:function(){const e=Object.create(null);return n.a.forEach(Object.assign({},this[a]||null,this),(t,r)=>{null!=t&&!1!==t&&(e[r]=n.a.isArray(t)?t.join(", "):t)}),e}}),Object.assign(d,{from:function(e){return n.a.isString(e)?new this((e=>{const t={};let r,n,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),r=e.substring(0,i).trim().toLowerCase(),n=e.substring(i+1).trim(),!r||t[r]&&o[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e)):e instanceof this?e:new this(e)},accessor:function(e){const t=(this[i]=this[i]={accessors:{}}).accessors,r=this.prototype;function o(e){const o=s(e);t[o]||(function(e,t){const r=n.a.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[o]=!0)}return n.a.isArray(e)?e.forEach(o):o(e),this}}),d.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]),n.a.freezeMethods(d.prototype),n.a.freezeMethods(d),t.a=d},function(e,t,r){"use strict";(function(e){var n=r(0),o=r(1),i=r(14);function a(e){return n.a.isPlainObject(e)||n.a.isArray(e)}function s(e){return n.a.endsWith(e,"[]")?e.slice(0,-2):e}function l(e,t,r){return e?e.concat(t).map((function(e,t){return e=s(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const u=n.a.toFlatObject(n.a,{},null,(function(e){return/^is[A-Z]/.test(e)}));t.a=function(t,r,c){if(!n.a.isObject(t))throw new TypeError("target must be an object");r=r||new(i.a||FormData);const d=(c=n.a.toFlatObject(c,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!n.a.isUndefined(t[e])}))).metaTokens,p=c.visitor||y,f=c.dots,h=c.indexes,m=(c.Blob||"undefined"!=typeof Blob&&Blob)&&(v=r)&&n.a.isFunction(v.append)&&"FormData"===v[Symbol.toStringTag]&&v[Symbol.iterator];var v;if(!n.a.isFunction(p))throw new TypeError("visitor must be a function");function g(t){if(null===t)return"";if(n.a.isDate(t))return t.toISOString();if(!m&&n.a.isBlob(t))throw new o.a("Blob is not supported. Use a Buffer instead.");return n.a.isArrayBuffer(t)||n.a.isTypedArray(t)?m&&"function"==typeof Blob?new Blob([t]):e.from(t):t}function y(e,t,o){let i=e;if(e&&!o&&"object"==typeof e)if(n.a.endsWith(t,"{}"))t=d?t:t.slice(0,-2),e=JSON.stringify(e);else if(n.a.isArray(e)&&function(e){return n.a.isArray(e)&&!e.some(a)}(e)||n.a.isFileList(e)||n.a.endsWith(t,"[]")&&(i=n.a.toArray(e)))return t=s(t),i.forEach((function(e,o){!n.a.isUndefined(e)&&r.append(!0===h?l([t],o,f):null===h?t:t+"[]",g(e))})),!1;return!!a(e)||(r.append(l(o,t,f),g(e)),!1)}const b=[],w=Object.assign(u,{defaultVisitor:y,convertValue:g,isVisitable:a});if(!n.a.isObject(t))throw new TypeError("data must be an object");return function e(t,o){if(!n.a.isUndefined(t)){if(-1!==b.indexOf(t))throw Error("Circular reference detected in "+o.join("."));b.push(t),n.a.forEach(t,(function(t,i){!0===(!n.a.isUndefined(t)&&p.call(r,t,n.a.isString(i)?i.trim():i,o,w))&&e(t,o?o.concat(i):[i])})),b.pop()}}(t),r}}).call(this,r(18).Buffer)},function(e,t,r){"use strict";var n=r(1);function o(e,t,r){n.a.call(this,null==e?"canceled":e,n.a.ERR_CANCELED,t,r),this.name="CanceledError"}r(0).a.inherits(o,n.a,{__CANCEL__:!0}),t.a=o},function(e,t,r){"use strict";(function(e){var n=r(0),o=r(1),i=r(10),a=r(4),s=r(16),l=r(2),u=r(11),c=r(13);const d={"Content-Type":"application/x-www-form-urlencoded"},p={transitional:i.a,adapter:function(){let t;return"undefined"!=typeof XMLHttpRequest?t=c.a.getAdapter("xhr"):void 0!==e&&"process"===n.a.kindOf(e)&&(t=c.a.getAdapter("http")),t}(),transformRequest:[function(e,t){const r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=n.a.isObject(e);if(i&&n.a.isHTMLForm(e)&&(e=new FormData(e)),n.a.isFormData(e))return o&&o?JSON.stringify(Object(u.a)(e)):e;if(n.a.isArrayBuffer(e)||n.a.isBuffer(e)||n.a.isStream(e)||n.a.isFile(e)||n.a.isBlob(e))return e;if(n.a.isArrayBufferView(e))return e.buffer;if(n.a.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Object(s.a)(e,this.formSerializer).toString();if((l=n.a.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Object(a.a)(l?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,r){if(n.a.isString(e))try{return(0,JSON.parse)(e),n.a.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||p.transitional,r=t&&t.forcedJSONParsing,i="json"===this.responseType;if(e&&n.a.isString(e)&&(r&&!this.responseType||i)){const r=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw o.a.from(e,o.a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:l.a.classes.FormData,Blob:l.a.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.a.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),n.a.forEach(["post","put","patch"],(function(e){p.headers[e]=n.a.merge(d)})),t.a=p}).call(this,r(23))},function(e,t,r){"use strict";function n(e,t){return function(){return e.apply(t,arguments)}}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(0),o=r(9);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function a(e,t,r){if(!t)return e;const a=e.indexOf("#");-1!==a&&(e=e.slice(0,a));const s=r&&r.encode||i,l=n.a.isURLSearchParams(t)?t.toString():new o.a(t,r).toString(s);return l&&(e+=(-1===e.indexOf("?")?"?":"&")+l),e}},function(e,t,r){"use strict";var n=r(4);function o(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function i(e,t){this._pairs=[],e&&Object(n.a)(e,this,t)}const a=i.prototype;a.append=function(e,t){this._pairs.push([e,t])},a.toString=function(e){const t=e?function(t){return e.call(this,t,o)}:o;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")},t.a=i},function(e,t,r){"use strict";t.a={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},function(e,t,r){"use strict";var n=r(0);t.a=function(e){if(n.a.isFormData(e)&&n.a.isFunction(e.entries)){const t={};return n.a.forEachEntry(e,(e,r)=>{!function e(t,r,o,i){let a=t[i++];const s=Number.isFinite(+a),l=i>=t.length;return a=!a&&n.a.isArray(o)?o.length:a,l?(n.a.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!s):(o[a]&&n.a.isObject(o[a])||(o[a]=[]),e(t,r,o[a],i)&&n.a.isArray(o[a])&&(o[a]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(o[a])),!s)}(function(e){return n.a.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,t,0)}),t}return null}},function(e,t,r){"use strict";function n(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";var n=r(0),o=r(1),i=r(2),a=i.a.isStandardBrowserEnv?{write:function(e,t,r,o,i,a){const s=[];s.push(e+"="+encodeURIComponent(t)),n.a.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.a.isString(o)&&s.push("path="+o),n.a.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){const 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(){}},s=r(8),l=r(12),u=i.a.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function o(r){let n=r;return e&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return r=o(window.location.href),function(e){const t=n.a.isString(e)?o(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0},c=r(10),d=r(5),p=r(3);function f(e,t){let r=0;const n=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),u=n[a];o||(o=l),r[i]=s,n[i]=l;let c=a,d=0;for(;c!==i;)d+=r[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const p=u&&l-u;return p?Math.round(1e3*d/p):void 0}}(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,l=n(s);r=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0};u[t?"download":"upload"]=!0,e(u)}}function h(e){return new Promise((function(t,r){let h=e.data;const m=p.a.from(e.headers).normalize(),v=e.responseType;let g;function y(){e.cancelToken&&e.cancelToken.unsubscribe(g),e.signal&&e.signal.removeEventListener("abort",g)}n.a.isFormData(h)&&i.a.isStandardBrowserEnv&&m.setContentType(!1);let b=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",r=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.set("Authorization","Basic "+btoa(t+":"+r))}const w=Object(l.a)(e.baseURL,e.url);function _(){if(!b)return;const n=p.a.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());!function(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new o.a("Request failed with status code "+r.status,[o.a.ERR_BAD_REQUEST,o.a.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}((function(e){t(e),y()}),(function(e){r(e),y()}),{data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b}),b=null}if(b.open(e.method.toUpperCase(),Object(s.a)(w,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=_:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(_)},b.onabort=function(){b&&(r(new o.a("Request aborted",o.a.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new o.a("Network Error",o.a.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||c.a;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new o.a(t,n.clarifyTimeoutError?o.a.ETIMEDOUT:o.a.ECONNABORTED,e,b)),b=null},i.a.isStandardBrowserEnv){const t=(e.withCredentials||u(w))&&e.xsrfCookieName&&a.read(e.xsrfCookieName);t&&m.set(e.xsrfHeaderName,t)}void 0===h&&m.setContentType(null),"setRequestHeader"in b&&n.a.forEach(m.toJSON(),(function(e,t){b.setRequestHeader(t,e)})),n.a.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),v&&"json"!==v&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",f(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",f(e.onUploadProgress)),(e.cancelToken||e.signal)&&(g=t=>{b&&(r(!t||t.type?new d.a(null,e,b):t),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(g),e.signal&&(e.signal.aborted?g():e.signal.addEventListener("abort",g)));const S=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(w);S&&-1===i.a.protocols.indexOf(S)?r(new o.a("Unsupported protocol "+S+":",o.a.ERR_BAD_REQUEST,e)):b.send(h||null)}))}const m={http:h,xhr:h};t.a={getAdapter:e=>{if(n.a.isString(e)){const t=m[e];if(!e)throw Error(n.a.hasOwnProp(e)?`Adapter '${e}' is not available in the build`:`Can not resolve adapter '${e}'`);return t}if(!n.a.isFunction(e))throw new TypeError("adapter is not a function");return e},adapters:m}},function(e,t,r){"use strict";var n=r(15),o=r.n(n);t.a=o.a},function(e,t){e.exports="object"==typeof self?self.FormData:window.FormData},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(0),o=r(4),i=r(2);function a(e,t){return Object(o.a)(e,new i.a.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,o){return i.a.isNode&&n.a.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}},function(e,t,r){e.exports=r(24)},function(e,t,r){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var n=r(20),o=r(21),i=r(22);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=p(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r),o=(e=s(e,n)).write(t,r);return o!==n&&(e=e.slice(0,o)),e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r=0|f(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):p(e,t);if("Buffer"===t.type&&i(t.data))return p(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(c(t),e=s(e,t<0?0:0|f(t)),!l.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function p(e,t){var r=t.length<0?0:0|f(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function f(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(n)return N(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return E(this,t,r);case"latin1":case"binary":return T(this,t,r);case"base64":return V(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,o){var i,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=r;i<s;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===l)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(r+l>s&&(r=s-l),i=r;i>=0;i--){for(var d=!0,p=0;p<l;p++)if(u(e,i+p)!==u(t,p)){d=!1;break}if(d)return i}return-1}function b(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function w(e,t,r,n){return H(N(t,e.length-r),e,r,n)}function _(e,t,r,n){return H(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function S(e,t,r,n){return _(e,t,r,n)}function O(e,t,r,n){return H(U(t),e,r,n)}function C(e,t,r,n){return H(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function V(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function k(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,l,u=e[o],c=null,d=u>239?4:u>223?3:u>191?2:1;if(o+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function E(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function T(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function P(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=B(e[i]);return o}function x(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function I(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,r,n,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function j(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function F(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function A(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(e,t,r,n,i){return i||A(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function D(e,t,r,n,i){return i||A(e,0,r,8),o.write(e,t,r,n,52,8),r+8}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return u(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return function(e,t,r,n){return c(t),t<=0?s(e,t):void 0!==r?"string"==typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},l.allocUnsafe=function(e){return d(null,e)},l.allocUnsafeSlow=function(e){return d(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):m.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,r,n,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),u=this.slice(n,o),c=e.slice(t,r),d=0;d<s;++d)if(u[d]!==c[d]){i=u[d],a=c[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;r=new l(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t|=0,r|=0,n||M(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t|=0,r|=0,n||M(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):F(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):F(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);M(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);M(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):F(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):F(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return D(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return D(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=l.isBuffer(e)?e:N(new l(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var L=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function N(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function U(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}}).call(this,r(19))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=u(e),a=n[0],s=n[1],l=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),c=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a<s;a+=16383)i.push(c(e,a,a+16383>s?s:a+16383));return 1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"=")),i.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)n[s]=a[s],o[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var o,i,a=[],s=t;s<r;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?o-1:0,p=r?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-c)-1,f>>=-c,c+=s;c>0;i=256*i+e[t+d],d+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),i-=u}return(f?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,l,u=8*i-o-1,c=(1<<u)-1,d=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+f]=255&s,f+=h,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[r+f]=255&a,f+=h,a/=256,u-=8);e[r+f-h]|=128*m}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){var r,n,o=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(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,r){"use strict";r.r(t),r.d(t,"TokenCache",(function(){return j})),r.d(t,"TokenRequest",(function(){return A})),r.d(t,"TokenRequestV2",(function(){return R})),r.d(t,"TokenRequestError",(function(){return F})),r.d(t,"AppLauncher",(function(){return D}));var n=r(0),o=r(7),i=r(8),a=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){n.a.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},s=r(6),l=r(3);function u(e,t){const r=this||s.a,o=t||r,i=l.a.from(o.headers);let a=o.data;return n.a.forEach(e,(function(e){a=e.call(r,a,i.normalize(),t?t.status:void 0)})),i.normalize(),a}function c(e){return!(!e||!e.__CANCEL__)}var d=r(5);function p(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new d.a}function f(e){return p(e),e.headers=l.a.from(e.headers),e.data=u.call(e,e.transformRequest),(e.adapter||s.a.adapter)(e).then((function(t){return p(e),t.data=u.call(e,e.transformResponse,t),t.headers=l.a.from(t.headers),t}),(function(t){return c(t)||(p(e),t&&t.response&&(t.response.data=u.call(e,e.transformResponse,t.response),t.response.headers=l.a.from(t.response.headers))),Promise.reject(t)}))}function h(e,t){t=t||{};const r={};function o(e,t){return n.a.isPlainObject(e)&&n.a.isPlainObject(t)?n.a.merge(e,t):n.a.isPlainObject(t)?n.a.merge({},t):n.a.isArray(t)?t.slice():t}function i(r){return n.a.isUndefined(t[r])?n.a.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.a.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.a.isUndefined(t[r])?n.a.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}const u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.a.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){const t=u[e]||i,o=t(e);n.a.isUndefined(o)&&t!==l||(r[e]=o)})),r}var m=r(12),v=r(1);const g={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{g[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const y={};g.transitional=function(e,t,r){function n(e,t){return"[Axios v1.1.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new v.a(n(o," has been removed"+(t?" in "+t:"")),v.a.ERR_DEPRECATED);return t&&!y[o]&&(y[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var b={assertOptions:function(e,t,r){if("object"!=typeof e)throw new v.a("options must be an object",v.a.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new v.a("option "+i+" must be "+r,v.a.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new v.a("Unknown option "+i,v.a.ERR_BAD_OPTION)}},validators:g};const w=b.validators;class _{constructor(e){this.defaults=e,this.interceptors={request:new a,response:new a}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};const r=(t=h(this.defaults,t)).transitional;void 0!==r&&b.assertOptions(r,{silentJSONParsing:w.transitional(w.boolean),forcedJSONParsing:w.transitional(w.boolean),clarifyTimeoutError:w.transitional(w.boolean)},!1),t.method=(t.method||this.defaults.method||"get").toLowerCase();const o=t.headers&&n.a.merge(t.headers.common,t.headers[t.method]);o&&n.a.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),t.headers=new l.a(t.headers,o);const i=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const s=[];let u;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let c,d=0;if(!a){const e=[f.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,s),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=i.length;let p=t;for(d=0;d<c;){const t=i[d++],r=i[d++];try{p=t(p)}catch(e){r.call(this,e);break}}try{u=f.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,c=s.length;d<c;)u=u.then(s[d++],s[d++]);return u}getUri(e){e=h(this.defaults,e);const t=Object(m.a)(e.baseURL,e.url);return Object(i.a)(t,e.params,e.paramsSerializer)}}n.a.forEach(["delete","get","head","options"],(function(e){_.prototype[e]=function(t,r){return this.request(h(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.a.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(h(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}_.prototype[e]=t(),_.prototype[e+"Form"]=t(!0)}));var S=_,O=r(11);class C{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,o){r.reason||(r.reason=new d.a(e,n,o),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new C((function(t){e=t})),cancel:e}}}var V=C,k=r(4);const E=function e(t){const r=new S(t),i=Object(o.a)(S.prototype.request,r);return n.a.extend(i,S.prototype,r,{allOwnKeys:!0}),n.a.extend(i,r,null,{allOwnKeys:!0}),i.create=function(r){return e(h(t,r))},i}(s.a);E.Axios=S,E.CanceledError=d.a,E.CancelToken=V,E.isCancel=c,E.VERSION="1.1.2",E.toFormData=k.a,E.AxiosError=v.a,E.Cancel=E.CanceledError,E.all=function(e){return Promise.all(e)},E.spread=function(e){return function(t){return e.apply(null,t)}},E.isAxiosError=function(e){return n.a.isObject(e)&&!0===e.isAxiosError},E.formToJSON=e=>Object(O.a)(n.a.isHTMLForm(e)?new FormData(e):e);var T,P=E,x=(T=function(e,t){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),I=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},M=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},j=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,r){return I(this,void 0,void 0,(function(){var n,o,i,a,s,l,u,c,d,p,f;return M(this,(function(h){switch(h.label){case 0:for(null==e.instance&&(e.instance=new e),n=0,o=e.tokens;n<o.length;n++)if((c=o[n]).name==t.name&&c.expires>Date.now())return console.info("INFO: Getting cached token"),[2,c];(i=new FormData).append("action","get_tokencache"),i.append("resource",t.resource),i.append("nonce",r.nonce),h.label=1;case 1:return h.trys.push([1,3,,4]),[4,P.post(r.wpAjaxAdminUrl,i)];case 2:return a=h.sent(),[3,4];case 3:return s=h.sent(),(l=new F(s.message)).data={status:"NOK",error_codes:"-1",message:s.message,result:null},[2,l];case 4:if(console.info(a),200==a.status){if("OK"==a.data.status){for(u=JSON.parse(a.data.result),c={name:t.name,expires:1e3*parseInt(u.expiry),bearer:u.accessToken},d=e.tokens.length-1;d>=0;d--)e.tokens[d].name==t.name&&e.tokens.splice(d,1);return e.tokens.push(c),localStorage.setItem("pintraTokenCache",JSON.stringify(e.tokens)),[2,c]}return(p=new F(a.data.message)).data=a.data,[2,p]}return(f=new F("Response status: "+a.status)).data={status:"NOK",error_codes:"-1",message:"Unknown error occurred",result:null},[2,f]}}))}))},e.getTokenV2=function(t,r){return I(this,void 0,void 0,(function(){var n,o,i,a,s,l,u,c,d,p,f;return M(this,(function(h){switch(h.label){case 0:for(null==e.instance&&(e.instance=new e),n=0,o=e.tokens;n<o.length;n++)if((c=o[n]).name==t.name&&c.expires>Date.now())return console.info("INFO: Getting cached token"),[2,c];(i=new FormData).append("action","get_tokencache"),i.append("scope",t.scope),i.append("nonce",r.nonce),h.label=1;case 1:return h.trys.push([1,3,,4]),[4,P.post(r.wpAjaxAdminUrl,i)];case 2:return a=h.sent(),[3,4];case 3:return s=h.sent(),(l=new F(s.message)).data={status:"NOK",error_codes:"-1",message:s.message,result:null},[2,l];case 4:if(console.info(a),200==a.status){if("OK"==a.data.status){for(u=JSON.parse(a.data.result),c={name:t.name,expires:1e3*parseInt(u.expiry),bearer:u.accessToken},d=e.tokens.length-1;d>=0;d--)e.tokens[d].name==t.name&&e.tokens.splice(d,1);return e.tokens.push(c),localStorage.setItem("pintraTokenCache",JSON.stringify(e.tokens)),[2,c]}return(p=new F(a.data.message)).data=a.data,[2,p]}return(f=new F("Response status: "+a.status)).data={status:"NOK",error_codes:"-1",message:"Unknown error occurred",result:null},[2,f]}}))}))},e.tokens=[],e.instance=null,e}(),F=function(e){function t(r){var n=e.call(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return x(t,e),t}(Error),A=function(){function e(e,t){this.name=e,this.resource=t}return e.prototype.toString=function(){return this.name+","+this.resource},e}(),R=function(){function e(e,t){this.name=e,this.scope=t}return e.prototype.toString=function(){return this.name+","+this.scope},e}(),D=function(){function e(){}return e.getReactDomConfig=function(){for(var e=document.getElementsByTagName("script"),t=null,r=e.length-1;r>=0;r--)if(e[r].hasAttribute("data-wpajaxadminurl")){t=e[r];break}if(t){var n=t.getAttribute("src"),o="";n&&(o="".concat(n.substr(0,n.lastIndexOf("/")+1)));var i=document.createElement("div"),a=Math.random().toString(36).replace(/[^a-z]+/g,"").slice(0,5);return i.setAttribute("id",a),i.classList.add("wpo365-app-root"),t.parentNode.appendChild(i),{rootId:a,env:{nonce:t.getAttribute("data-nonce"),wpAjaxAdminUrl:t.getAttribute("data-wpajaxadminurl"),scriptContextUrl:o,props:t.getAttribute("data-props")?JSON.parse(t.getAttribute("data-props")):{}}}}console.error("[AppLauncher::getReactDomConfig] -> Could not initialize current script")},e}()}])},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return j}));var n,o=r(1),i=r(0),a=r(84),s=r(7),l=r(9),u=r(83),c=r(56),d=r(14),p=r(72),f=r(48),h=r(55),m=r(17),v=r(10),g=r(6),y=r(583),b=r(505),w=r(40),_=r(3),S=((n={})[g.b.top]=_.a.slideUpIn10,n[g.b.bottom]=_.a.slideDownIn10,n[g.b.left]=_.a.slideLeftIn10,n[g.b.right]=_.a.slideRightIn10,n),O=Object(w.a)({disableCaching:!0}),C=0,V=0,k={opacity:0,filter:"opacity(0)"},E=["role","aria-roledescription"],T=function(e){function t(t){var r=e.call(this,t)||this;return r._hostElement=i.createRef(),r._calloutElement=i.createRef(),r._hasListeners=!1,r._disposables=[],r.dismiss=function(e){var t=r.props.onDismiss;t&&t(e)},r._dismissOnScroll=function(e){var t=r.props.preventDismissOnScroll;r.state.positions&&!t&&r._dismissOnClickOrScroll(e)},r._dismissOnResize=function(e){r.props.preventDismissOnResize||r.dismiss(e)},r._dismissOnLostFocus=function(e){r.props.preventDismissOnLostFocus||r._dismissOnClickOrScroll(e)},r._setInitialFocus=function(){r.props.setInitialFocus&&!r._didSetInitialFocus&&r.state.positions&&r._calloutElement.current&&(r._didSetInitialFocus=!0,r._async.requestAnimationFrame((function(){return Object(l.c)(r._calloutElement.current)}),r._calloutElement.current))},r._onComponentDidMount=function(){r._addListeners(),r.props.onLayerMounted&&r.props.onLayerMounted(),r._updateAsyncPosition(),r._setHeightOffsetEveryFrame()},r._mouseDownOnPopup=function(){r._isMouseDownOnPopup=!0},r._mouseUpOnPopup=function(){r._isMouseDownOnPopup=!1},r._async=new u.a(r),r._didSetInitialFocus=!1,r.state={positions:void 0,slideDirectionalClassName:void 0,calloutElementRect:void 0,heightOffset:0},r._positionAttempts=0,r}return Object(o.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(c.d)(this.props,e)||!Object(c.d)(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,r=t.styles,n=t.style,a=t.ariaLabel,s=t.ariaDescribedBy,l=t.ariaLabelledBy,u=t.className,c=t.isBeakVisible,f=t.children,h=t.beakWidth,m=t.calloutWidth,v=t.calloutMaxWidth,g=t.finalHeight,y=t.hideOverflow,w=void 0===y?!!g:y,_=t.backgroundColor,C=t.calloutMaxHeight,V=t.onScroll,T=t.shouldRestoreFocus,P=void 0===T||T;e=this._getTarget();var x=this.state.positions,I=this._getMaxHeight()?this._getMaxHeight()+this.state.heightOffset:void 0,M=C&&I&&C<I?C:I,j=w,F=c&&!!e;this._classNames=O(r,{theme:this.props.theme,className:u,overflowYHidden:j,calloutWidth:m,positions:x,beakWidth:h,backgroundColor:_,calloutMaxWidth:v});var A=Object(o.a)(Object(o.a)(Object(o.a)({},n),{maxHeight:M}),j&&{overflowY:"hidden"}),R=this.props.hidden?{visibility:"hidden"}:void 0;return i.createElement("div",{ref:this._hostElement,className:this._classNames.container,style:R},i.createElement("div",Object(o.a)({},Object(d.j)(this.props,d.h,E),{className:Object(p.a)(this._classNames.root,x&&x.targetEdge&&S[x.targetEdge]),style:x?x.elementPosition:k,tabIndex:-1,ref:this._calloutElement}),F&&i.createElement("div",{className:this._classNames.beak,style:this._getBeakPosition()}),F&&i.createElement("div",{className:this._classNames.beakCurtain}),i.createElement(b.a,Object(o.a)({},Object(d.j)(this.props,E),{ariaLabel:a,ariaDescribedBy:s,ariaLabelledBy:l,className:this._classNames.calloutMain,onDismiss:this.dismiss,onScroll:V,shouldRestoreFocus:P,style:A,onMouseDown:this._mouseDownOnPopup,onMouseUp:this._mouseUpOnPopup}),f)))},t.prototype._dismissOnClickOrScroll=function(e){var t=e.target,r=this._hostElement.current&&!Object(f.a)(this._hostElement.current,t);r&&this._isMouseDownOnPopup?this._isMouseDownOnPopup=!1:(!this._target&&r||e.target!==this._targetWindow&&r&&(this._target.stopPropagation||!this._target||t!==this._target&&!Object(f.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(o.a)({},e&&e.beakPosition?e.beakPosition.elementPosition:null);return t.top||t.bottom||t.left||t.right||(t.left=V,t.top=C),t},t.prototype._updatePosition=function(){this._setTargetWindowAndElement(this._getTarget());var e=this.state.positions,t=this._hostElement.current,r=this._calloutElement.current,n=!!this.props.target;if(t&&r&&(!n||this._target)){var o=void 0;(o=Object(c.a)(o,this.props)).bounds=this._getBounds(),o.target=this._target;var i=this.props.finalHeight?Object(y.d)(o,t,r,e):Object(y.c)(o,t,r,e);!e&&i||e&&i&&!this._arePositionsEqual(e,i)&&this._positionAttempts<5?(this._positionAttempts++,this.setState({positions:i})):this._positionAttempts>0&&(this._positionAttempts=0,this.props.onPositioned&&this.props.onPositioned(this.state.positions))}},t.prototype._getBounds=function(){if(!this._bounds){var e=this.props.bounds,t="function"==typeof e?e(this.props.target,this._targetWindow):e;t||(t={top:0+this.props.minPagePadding,left:0+this.props.minPagePadding,right:this._targetWindow.innerWidth-this.props.minPagePadding,bottom:this._targetWindow.innerHeight-this.props.minPagePadding,width:this._targetWindow.innerWidth-2*this.props.minPagePadding,height:this._targetWindow.innerHeight-2*this.props.minPagePadding}),this._bounds=t}return this._bounds},t.prototype._getMaxHeight=function(){var e=this;if(!this._maxHeight)if(this.props.directionalHintFixed&&this._target){var t=this.props.isBeakVisible?this.props.beakWidth:0,r=(this.props.gapSpace?this.props.gapSpace:0)+t;this._async.requestAnimationFrame((function(){e._target&&(e._maxHeight=Object(y.a)(e._target,e.props.directionalHint,r,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 r in t)if(t.hasOwnProperty(r)){var n=e[r],o=t[r];if(void 0===n||void 0===o)return!1;if(n.toFixed(2)!==o.toFixed(2))return!1}return!0},t.prototype._setTargetWindowAndElement=function(e){var t=this._calloutElement.current;if(e)if("string"==typeof e){var r=Object(m.a)(t);this._target=r?r.querySelector(e):null,this._targetWindow=Object(v.a)(t)}else if(e.stopPropagation)this._targetWindow=Object(v.a)(e.target),this._target=e;else if(e.getBoundingClientRect){var n=e;this._targetWindow=Object(v.a)(n),this._target=e}else void 0!==e.current?(this._target=e.current,this._targetWindow=Object(v.a)(this._target)):(this._targetWindow=Object(v.a)(t),this._target=e);else this._targetWindow=Object(v.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 r=t.scrollHeight-t.offsetHeight;e.setState({heightOffset:e.state.heightOffset+r}),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 P(e){return{height:e,width:e}}var x={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},I=Object(a.a)(T,(function(e){var t,r=e.theme,n=e.className,o=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,u=Object(_.P)(x,r),c=r.semanticColors,d=r.effects;return{container:[u.container,{position:"relative"}],root:[u.root,r.fonts.medium,{position:"absolute",boxSizing:"border-box",borderRadius:d.roundedCorner2,boxShadow:d.elevation16,selectors:(t={},t[_.k]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},Object(_.K)(),n,!!i&&{width:i},!!l&&{maxWidth:l}],beak:[u.beak,{position:"absolute",backgroundColor:c.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},P(a),s&&{backgroundColor:s}],beakCurtain:[u.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:c.menuBackground,borderRadius:d.roundedCorner2}],calloutMain:[u.calloutMain,{backgroundColor:c.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:d.roundedCorner2},o&&{overflowY:"hidden"},s&&{backgroundColor:s}]}}),void 0,{scope:"CalloutContent"}),M=r(512),j=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.layerProps,r=Object(o.d)(e,["layerProps"]),n=i.createElement(I,Object(o.a)({},r));return this.props.doNotLayer?n:i.createElement(M.a,Object(o.a)({},t),n)},t}(i.Component)},function(e,t,r){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n};Object.defineProperty(t,"__esModule",{value:!0});var o=function(){};t.UriSegments=o,t.getUriSegments=function(e){if(!e)return console.error("Failed to convert input string to uri segments: "+e),null;var t=e.split("?"),r=2==t.length?t[1]:"";r&&(e=t[0]);var i=e.split("/");if(!Array.isArray(i)||0==i.length)return console.error("Failed to convert input string to uri segments: "+e),null;if(!/^(http:|https:)/i.test(i[0]))return console.error("Uri did not start with supported protocol: "+e),null;if(i.length<3)return console.error("Could not determine valid host: "+e),null;var a=new o;a.protocol=i[0].replace(":","");var s=i[2].split(":");return a.host=s[0],a.port=2==s.length?s[1]:"",3==i.length||(i.splice(0,3),a.queryString=r,a.path=n(i)),a},t.trailingSlashIt=function(e){return"/"==e.slice(-1)?e:e+"/"}},function(e,t,r){var n=r(19),o=r(15),i=r(136);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(16),o=r(137),i=n["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,r){var n=r(67),o=r(140),i=r(144),a=r(42);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},function(e,t,r){var n=r(36),o=r(51),i=r(424).indexOf,a=r(93);e.exports=function(e,t){var r,s=o(e),l=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~i(u,r)||u.push(r));return u}},function(e,t,r){var n=r(15),o=/#|\.prototype\./,i=function(e,t){var r=s[a(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,r){var n=r(145);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,r){var n=r(77);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(19),o=r(32),i=r(42),a=r(94);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),s=n.length,l=0;s>l;)o.f(e,r=n[l++],t[r]);return e}},function(e,t,r){var n=r(67);e.exports=n("document","documentElement")},function(e,t,r){var n=r(51),o=r(140).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(n(e))}},function(e,t,r){var n=r(22);t.f=n},function(e,t,r){var n=r(19),o=r(94),i=r(51),a=r(109).f,s=function(e){return function(t){for(var r,s=i(t),l=o(s),u=l.length,c=0,d=[];u>c;)r=l[c++],n&&!a.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,r){var n=r(149),o=r(77),i=r(22)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:a?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},function(e,t,r){"use strict";var n=r(78),o=r(32),i=r(91);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},function(e,t,r){var n=r(15);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,r){var n=r(42),o=r(453);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},function(e,t,r){var n=r(149),o=r(65),i=r(455);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,r){"use strict";var n=r(12),o=r(465),i=r(96),a=r(199),s=r(79),l=r(58),u=r(65),c=r(22),d=r(66),p=r(95),f=r(202),h=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g=function(){return this};e.exports=function(e,t,r,c,f,y,b){o(r,t,c);var w,_,S,O=function(e){if(e===f&&T)return T;if(!m&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},C=t+" Iterator",V=!1,k=e.prototype,E=k[v]||k["@@iterator"]||f&&k[f],T=!m&&E||O(f),P="Array"==t&&k.entries||E;if(P&&(w=i(P.call(new e)),h!==Object.prototype&&w.next&&(d||i(w)===h||(a?a(w,h):"function"!=typeof w[v]&&l(w,v,g)),s(w,C,!0,!0),d&&(p[C]=g))),"values"==f&&E&&"values"!==E.name&&(V=!0,T=function(){return E.call(this)}),d&&!b||k[v]===T||l(k,v,T),p[t]=T,f)if(_={values:O("values"),keys:y?T:O("keys"),entries:O("entries")},b)for(S in _)(m||V||!(S in k))&&u(k,S,_[S]);else n({target:t,proto:!0,forced:m||V},_);return _}},function(e,t,r){"use strict";var n,o,i,a=r(96),s=r(58),l=r(36),u=r(22),c=r(66),d=u("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):p=!0),null==n&&(n={}),c||l(n,d)||s(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},function(e,t,r){var n=r(16);e.exports=n.Promise},function(e,t,r){var n=r(42),o=r(68),i=r(22)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[i])?t:o(r)}},function(e,t,r){var n,o,i,a=r(16),s=r(15),l=r(77),u=r(146),c=r(192),d=r(136),p=r(206),f=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,b=0,w={},_=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},S=function(e){return function(){_(e)}},O=function(e){_(e.data)},C=function(e){a.postMessage(e+"",f.protocol+"//"+f.host)};h&&m||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},m=function(e){delete w[e]},"process"==l(v)?n=function(e){v.nextTick(S(e))}:y&&y.now?n=function(e){y.now(S(e))}:g&&!p?(i=(o=new g).port2,o.port1.onmessage=O,n=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(C)?n="onreadystatechange"in d("script")?function(e){c.appendChild(d("script")).onreadystatechange=function(){c.removeChild(this),_(e)}}:function(e){setTimeout(S(e),0)}:(n=C,a.addEventListener("message",O,!1))),e.exports={set:h,clear:m}},function(e,t,r){var n=r(207);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(e,t,r){var n=r(67);e.exports=n("navigator","userAgent")||""},function(e,t,r){var n=r(42),o=r(21),i=r(150);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(33);function o(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,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";(function(t){var n=r(33),o=r(486),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!n.isUndefined(e)&&n.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=r(214)),s),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.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}};l.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){l.headers[e]=n.merge(i)})),e.exports=l}).call(this,r(485))},function(e,t,r){"use strict";var n=r(33),o=r(487),i=r(211),a=r(489),s=r(492),l=r(493),u=r(215);e.exports=function(e){return new Promise((function(t,c){var d=e.data,p=e.headers;n.isFormData(d)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+m)}var v=a(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),i(v,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};o(t,c,n),f=null}},f.onabort=function(){f&&(c(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){c(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),c(u(t,e,"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var g=r(494),y=(e.withCredentials||l(v))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(p[e.xsrfHeaderName]=y)}if("setRequestHeader"in f&&n.forEach(p,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),c(e),f=null)})),void 0===d&&(d=null),f.send(d)}))}},function(e,t,r){"use strict";var n=r(488);e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},function(e,t,r){"use strict";var n=r(33);e.exports=function(e,t){t=t||{};var r={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];n.forEach(o,(function(e){void 0!==t[e]&&(r[e]=t[e])})),n.forEach(i,(function(o){n.isObject(t[o])?r[o]=n.deepMerge(e[o],t[o]):void 0!==t[o]?r[o]=t[o]:n.isObject(e[o])?r[o]=n.deepMerge(e[o]):void 0!==e[o]&&(r[o]=e[o])})),n.forEach(a,(function(n){void 0!==t[n]?r[n]=t[n]:void 0!==e[n]&&(r[n]=e[n])}));var s=o.concat(i).concat(a),l=Object.keys(t).filter((function(e){return-1===s.indexOf(e)}));return n.forEach(l,(function(n){void 0!==t[n]?r[n]=t[n]:void 0!==e[n]&&(r[n]=e[n])})),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},,,function(e,t,r){"use strict";r.r(t),r.d(t,"initializeIcons",(function(){return V}));var n=r(3);function o(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function i(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function a(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function s(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function l(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function u(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function c(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function d(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function p(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function f(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function h(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function m(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function v(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function g(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function y(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function b(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function w(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function _(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}function S(e,t){void 0===e&&(e="");var r={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(n.gb)(r,t)}var O=function(){Object(n.fb)("trash","delete"),Object(n.fb)("onedrive","onedrivelogo"),Object(n.fb)("alertsolid12","eventdatemissed12"),Object(n.fb)("sixpointstar","6pointstar"),Object(n.fb)("twelvepointstar","12pointstar"),Object(n.fb)("toggleon","toggleleft"),Object(n.fb)("toggleoff","toggleright")},C=r(74);Object(C.a)("@uifabric/icons","7.3.4");function V(e,t){void 0===e&&(e="https://spoprod-a.akamaihd.net/files/fabric/assets/icons/"),[o,i,a,s,l,u,c,d,p,f,h,m,v,g,y,b,w,_,S].forEach((function(r){return r(e,t)})),O()}},function(e,t,r){"use strict";r.r(t),r.d(t,"MessageBar",(function(){return S})),r.d(t,"MessageBarBase",(function(){return v})),r.d(t,"MessageBarType",(function(){return n}));var n,o=r(84),i=r(1),a=r(0),s=r(40),l=r(64),u=r(14),c=r(238),d=r(69),p=r(152),f=r(104);!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",e[e.remove=9e4]="remove"}(n||(n={}));var h=r(72),m=Object(s.a)(),v=function(e){function t(t){var r,o=e.call(this,t)||this;return o.ICON_MAP=((r={})[n.info]="Info",r[n.warning]="Info",r[n.error]="ErrorBadge",r[n.blocked]="Blocked2",r[n.remove]="Blocked",r[n.severeWarning]="Warning",r[n.success]="Completed",r),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})},o.state={labelId:Object(l.a)("MessageBar"),showContent:!1,expandSingleLine:!1},o}return Object(i.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?a.createElement("div",{className:this._classNames.actions},this.props.actions):null},t.prototype._getDismissDiv=function(){var e=this.props,t=e.onDismiss,r=e.dismissIconProps;return t?a.createElement(p.a,{disabled:!1,className:this._classNames.dismissal,onClick:t,iconProps:r||{iconName:"Clear"},ariaLabel:this.props.dismissButtonAriaLabel}):null},t.prototype._getDismissSingleLine=function(){return this.props.onDismiss?a.createElement("div",{className:this._classNames.dismissSingleLine},this._getDismissDiv()):null},t.prototype._getExpandSingleLine=function(){return!this.props.actions&&this.props.truncated?a.createElement("div",{className:this._classNames.expandSingleLine},a.createElement(p.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 a.createElement("div",{className:this._classNames.iconContainer,"aria-hidden":!0},e?a.createElement(f.a,Object(i.a)({},e,{className:Object(h.a)(this._classNames.icon,e.className)})):a.createElement(f.a,{iconName:this.ICON_MAP[this.props.messageBarType],className:this._classNames.icon}))},t.prototype._renderMultiLine=function(){var e=this.props.theme;return a.createElement("div",{style:{background:e.semanticColors.bodyBackground}},a.createElement("div",Object(i.a)({className:this._classNames.root},this._getRegionProps()),a.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getDismissDiv()),this._getActionsDiv()))},t.prototype._renderSingleLine=function(){var e=this.props.theme;return a.createElement("div",{style:{background:e.semanticColors.bodyBackground}},a.createElement("div",Object(i.a)({className:this._classNames.root},this._getRegionProps()),a.createElement("div",{className:this._classNames.content},this._getIconSpan(),this._renderInnerText(),this._getExpandSingleLine(),this._getActionsDiv(),this._getDismissSingleLine())))},t.prototype._renderInnerText=function(){var e=Object(u.j)(this.props,u.k,["className"]);return a.createElement("div",{className:this._classNames.text,id:this.state.labelId,role:"status","aria-live":this._getAnnouncementPriority()},a.createElement("span",Object(i.a)({className:this._classNames.innerText},e),a.createElement(c.a,null,a.createElement("span",null,this.props.children))))},t.prototype._getClassNames=function(){var e=this.props,t=e.theme,r=e.className,o=e.messageBarType,i=e.onDismiss,a=e.actions,s=e.truncated,l=e.isMultiline,u=this.state.expandSingleLine;return m(this.props.styles,{theme:t,messageBarType:o||n.info,onDismiss:void 0!==i,actions:void 0!==a,truncated:s,isMultiline:l,expandSingleLine:u,className:r})},t.prototype._getAnnouncementPriority=function(){switch(this.props.messageBarType){case n.blocked:case n.error:case n.severeWarning:return"assertive"}return"polite"},t.defaultProps={messageBarType:n.info,onDismiss:void 0,isMultiline:!0},t}(d.a),g=r(3),y={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"},b=function(e,t,r){switch(e){case n.error:case n.blocked:return r.errorBackground;case n.severeWarning:return r.blockingBackground;case n.success:return r.successBackground;case n.warning:return r.warningBackground}return t.neutralLighter},w=function(e){switch(e){case n.error:case n.blocked:case n.severeWarning:return"rgba(255, 0, 0, 0.3)";case n.success:return"rgba(48, 241, 73, 0.3)";case n.warning:return"rgba(255, 254, 57, 0.3)"}return"Window"},_=function(e,t,r){switch(e){case n.error:case n.blocked:case n.severeWarning:return r.errorText;case n.success:return t.green;case n.warning:return r.warningText}return t.neutralSecondary},S=Object(o.a)(v,(function(e){var t,r,o,a,s,l,u=e.theme,c=e.className,d=e.messageBarType,p=e.onDismiss,f=e.truncated,h=e.isMultiline,m=e.expandSingleLine,v=u.semanticColors,S=u.palette,O=u.fonts,C=Object(g.U)(0,g.s),V=Object(g.P)(y,u),k={fontSize:g.n.xSmall,height:10,lineHeight:"10px",color:S.neutralPrimary,selectors:(t={},t[g.k]={MsHighContrastAdjust:"none",color:"WindowText"},t)},E=[Object(g.O)(u,{inset:1,highContrastStyle:{outlineOffset:"-4px",outlineColor:"Window"},borderColor:"transparent"}),{flexShrink:0,width:32,height:32,padding:"8px 12px",selectors:{"& .ms-Button-icon":k,":hover":{backgroundColor:"transparent"},":active":{backgroundColor:"transparent"}}}];return{root:[V.root,u.fonts.medium,d===n.error&&V.error,d===n.blocked&&V.blocked,d===n.severeWarning&&V.severeWarning,d===n.success&&V.success,d===n.warning&&V.warning,h?V.multiline:V.singleline,!h&&p&&V.dismissalSingleLine,!h&&f&&V.expandingSingleLine,{background:b(d,S,v),color:S.neutralPrimary,minHeight:32,width:"100%",display:"flex",wordBreak:"break-word",selectors:(r={"& .ms-Link":Object(i.a)(Object(i.a)({color:S.themeDark},O.small),{selectors:(o={},o[g.k]={MsHighContrastAdjust:"auto"},o)})},r[g.k]={background:w(d),border:"1px solid WindowText",color:"WindowText"},r)},h&&{flexDirection:"column"},c],content:[V.content,{display:"flex",width:"100%",lineHeight:"normal"}],iconContainer:[V.iconContainer,{fontSize:g.n.medium,minWidth:16,minHeight:16,display:"flex",flexShrink:0,margin:"8px 0 8px 12px"}],icon:{color:_(d,S,v),selectors:(a={},a[g.k]={MsHighContrastAdjust:"none",color:"WindowText"},a)},text:[V.text,Object(i.a)(Object(i.a)({minWidth:0,display:"flex",flexGrow:1,margin:8},O.small),{selectors:(s={},s[g.k]={MsHighContrastAdjust:"none"},s)}),!p&&{marginRight:12}],innerText:[V.innerText,{lineHeight:16,selectors:{"& span a":{paddingLeft:4}}},f&&{overflow:"visible",whiteSpace:"pre-wrap"},!h&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},!h&&!f&&{selectors:(l={},l[C]={overflow:"visible",whiteSpace:"pre-wrap"},l)},m&&{overflow:"visible",whiteSpace:"pre-wrap"}],dismissSingleLine:[V.dismissSingleLine],expandSingleLine:[V.expandSingleLine],dismissal:[V.dismissal,E],expand:[V.expand,E],actions:[h?V.actions:V.actionsSingleline,{display:"flex",flexGrow:0,flexShrink:0,flexBasis:"auto",flexDirection:"row-reverse",alignItems:"center",margin:"0 12px 0 8px",selectors:{"& button:nth-child(n+2)":{marginLeft:8}}},h&&{marginBottom:8},p&&!h&&{marginRight:0}]}}),void 0,{scope:"MessageBar"})},,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return E}));var n,o=r(1),i=r(0),a=r(25),s=r(9),l=r(18),u=r(8),c=r(35),d=r(103),p=r(64),f=r(10),h=r(55),m=r(14),v=r(72),g=r(48),y=r(228),b=r(71),w=r(178),_=r(17),S=r(131);var O,C={},V=new Set,k=["text","number","password","email","tel","url","search"],E=function(e){function t(t){var r=e.call(this,t)||this;return r._disposables=[],r._root=i.createRef(),r._onFocus=function(e){if(!r._portalContainsElement(e.target)){var t,n=r.props,o=n.onActiveElementChanged,i=n.doNotAllowFocusEventToPropagate,a=n.onFocusNotification,u=r._isImmediateDescendantOfZone(e.target);if(a&&a(),u)t=e.target;else for(var c=e.target;c&&c!==r._root.current;){if(Object(s.n)(c)&&r._isImmediateDescendantOfZone(c)){t=c;break}c=Object(l.a)(c,!1)}var d=!r._activeElement;t&&t!==r._activeElement&&((u||d)&&r._setFocusAlignment(t,!0,!0),r._activeElement=t,d&&r._updateTabIndexes()),o&&o(r._activeElement,e),i&&e.stopPropagation()}},r._onBlur=function(){r._setParkedFocus(!1)},r._onKeyDownCapture=function(e){e.which===u.a.tab&&V.forEach((function(e){return e._updateTabIndexes()}))},r._onMouseDown=function(e){if(!r._portalContainsElement(e.target)&&!r.props.disabled){for(var t=e.target,n=[];t&&t!==r._root.current;)n.push(t),t=Object(l.a)(t,!1);for(;n.length&&((t=n.pop())&&Object(s.n)(t)&&r._setActiveElement(t,!0),!Object(s.m)(t)););}},r._onKeyDown=function(e){if(!r._portalContainsElement(e.target)){var t=r.props,n=t.direction,o=t.disabled,i=t.isInnerZoneKeystroke;if(!(o||(r.props.onKeyDown&&r.props.onKeyDown(e),e.isDefaultPrevented()||r._getDocument().activeElement===r._root.current&&r._isInnerZone))){if(i&&i(e)&&r._isImmediateDescendantOfZone(e.target)){var l=r._getFirstInnerZone();if(l){if(!l.focus(!0))return}else{if(!Object(s.l)(e.target))return;if(!r.focusElement(Object(s.j)(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case u.a.space:if(r._tryInvokeClickForFocusable(e.target))break;return;case u.a.left:if(n!==a.a.vertical&&r._moveFocusLeft())break;return;case u.a.right:if(n!==a.a.vertical&&r._moveFocusRight())break;return;case u.a.up:if(n!==a.a.horizontal&&r._moveFocusUp())break;return;case u.a.down:if(n!==a.a.horizontal&&r._moveFocusDown())break;return;case u.a.pageDown:if(r._moveFocusPaging(!0))break;return;case u.a.pageUp:if(r._moveFocusPaging(!1))break;return;case u.a.tab:if(r.props.allowTabKey||r.props.handleTabKey===a.b.all||r.props.handleTabKey===a.b.inputOnly&&r._isElementInput(e.target)){var d=!1;if(r._processingTabKey=!0,n!==a.a.vertical&&r._shouldWrapFocus(r._activeElement,"data-no-horizontal-wrap"))d=(Object(c.a)()?!e.shiftKey:e.shiftKey)?r._moveFocusLeft():r._moveFocusRight();else d=e.shiftKey?r._moveFocusUp():r._moveFocusDown();if(r._processingTabKey=!1,d)break}return;case u.a.home:if(r._isElementInput(e.target)&&!r._shouldInputLoseFocus(e.target,!1))return!1;var p=r._root.current&&r._root.current.firstChild;if(r._root.current&&p&&r.focusElement(Object(s.j)(r._root.current,p,!0)))break;return;case u.a.end:if(r._isElementInput(e.target)&&!r._shouldInputLoseFocus(e.target,!0))return!1;var f=r._root.current&&r._root.current.lastChild;if(r._root.current&&r.focusElement(Object(s.k)(r._root.current,f,!0,!0,!0)))break;return;case u.a.enter:if(r._tryInvokeClickForFocusable(e.target))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},r._getHorizontalDistanceFromCenter=function(e,t,n){var o=r._focusAlignment.x,i=Math.floor(n.top),a=Math.floor(t.bottom),s=Math.floor(n.bottom),l=Math.floor(t.top);return e&&i>a||!e&&s<l?o>=n.left&&o<=n.left+n.width?0:Math.abs(n.left+n.width/2-o):r._shouldWrapFocus(r._activeElement,"data-no-vertical-wrap")?999999999:-999999999},Object(d.a)(r),r._id=Object(p.a)("FocusZone"),r._focusAlignment={x:0,y:0},r._processingTabKey=!1,r}return Object(o.c)(t,e),t.getOuterZones=function(){return V.size},t.prototype.componentDidMount=function(){var e=this._root.current;if(C[this._id]=this,e){for(var t=Object(f.a)(e),r=Object(l.a)(e,!1);r&&r!==this._getDocument().body&&1===r.nodeType;){if(Object(s.m)(r)){this._isInnerZone=!0;break}r=Object(l.a)(r,!1)}this._isInnerZone||(V.add(this),t&&1===V.size&&(O=Object(h.a)(t,"keydown",this._onKeyDownCapture,!0))),this._disposables.push(Object(h.a)(e,"blur",this._onBlur,!0)),this._updateTabIndexes(),this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement),this.focus())}},t.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if(t&&this._lastIndexPath&&(t.activeElement===t.body||t.activeElement===e)){var r=Object(s.g)(e,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete C[this._id],this._isInnerZone||(V.delete(this),0===V.size&&O&&O()),this._disposables.forEach((function(e){return e()})),delete this._disposables},t.prototype.render=function(){var e=this.props,t=e.rootProps,r=e.ariaDescribedBy,a=e.ariaLabelledBy,s=e.className,l=Object(m.j)(this.props,m.k),u=this.props.as||this.props.elementType||"div";return this._evaluateFocusBeforeRender(),i.createElement(u,Object(o.a)({"aria-labelledby":a,"aria-describedby":r},l,t,{className:Object(v.a)((n||(n=Object(S.b)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),n),s),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 r=C[t.getAttribute("data-focuszone-id")];return!!r&&r.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 n=this._root.current.firstChild;return this.focusElement(Object(s.j)(this._root.current,n,!0))}return!1},t.prototype.focusElement=function(e){var t=this.props.onBeforeFocus;return!(t&&!t(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 r=t.activeElement;if(r!==e){var n=Object(g.a)(e,r,!1);this._lastIndexPath=n?Object(s.d)(e,r):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 r=this._activeElement;this._activeElement=e,r&&(Object(s.m)(r)&&this._updateTabIndexes(r),r.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},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 Object(y.a)(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 C[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(Object(s.m)(t))return C[t.getAttribute("data-focuszone-id")];var r=this._getFirstInnerZone(t);if(r)return r;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,r,n){void 0===n&&(n=!0);var o=this._activeElement,i=-1,l=void 0,u=!1,c=this.props.direction===a.a.bidirectional;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var d=c?o.getBoundingClientRect():null;do{if(o=e?Object(s.j)(this._root.current,o):Object(s.k)(this._root.current,o),!c){l=o;break}if(o){var p=t(d,o.getBoundingClientRect());if(-1===p&&-1===i){l=o;break}if(p>-1&&(-1===i||p<i)&&(i=p,l=o),i>=0&&p<0)break}}while(o);if(l&&l!==this._activeElement)u=!0,this.focusElement(l);else if(this.props.isCircularNavigation&&n)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 u},t.prototype._moveFocusDown=function(){var e=this,t=-1,r=this._focusAlignment.x;return!!this._moveFocus(!0,(function(n,o){var i=-1,a=Math.floor(o.top),s=Math.floor(n.bottom);return a<s?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&a>=s||a===t)&&(t=a,i=r>=o.left&&r<=o.left+o.width?0:Math.abs(o.left+o.width/2-r)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,r=this._focusAlignment.x;return!!this._moveFocus(!1,(function(n,o){var i=-1,a=Math.floor(o.bottom),s=Math.floor(o.top),l=Math.floor(n.top);return a>l?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&a<=l||s===t)&&(t=s,i=r>=o.left&&r<=o.left+o.width?0:Math.abs(o.left+o.width/2-r)),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(c.a)(),(function(r,n){var o=-1;return(Object(c.a)()?parseFloat(n.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)):parseFloat(n.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)))&&n.right<=r.right&&e.props.direction!==a.a.vertical?o=r.right-n.right:t||(o=-999999999),o}),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(c.a)(),(function(r,n){var o=-1;return(Object(c.a)()?parseFloat(n.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)):parseFloat(n.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)))&&n.left>=r.left&&e.props.direction!==a.a.vertical?o=n.left-r.left:t||(o=-999999999),o}),void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0),void 0===t&&(t=!0);var r=this._activeElement;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var n=Object(b.f)(r);if(!n)return!1;var o=-1,i=void 0,a=-1,l=-1,u=n.clientHeight,c=r.getBoundingClientRect();do{if(r=e?Object(s.j)(this._root.current,r):Object(s.k)(this._root.current,r)){var d=r.getBoundingClientRect(),p=Math.floor(d.top),f=Math.floor(c.bottom),h=Math.floor(d.bottom),m=Math.floor(c.top),v=this._getHorizontalDistanceFromCenter(e,c,d);if(e&&p>f+u||!e&&h<m-u)break;v>-1&&(e&&p>a?(a=p,o=v,i=r):!e&&h<l?(l=h,o=v,i=r):(-1===o||v<=o)&&(o=v,i=r))}}while(r);var g=!1;if(i&&i!==this._activeElement)g=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(Object(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 g},t.prototype._setFocusAlignment=function(e,t,r){if(this.props.direction===a.a.bidirectional&&(!this._focusAlignment||t||r)){var n=e.getBoundingClientRect(),o=n.left+n.width/2,i=n.top+n.height/2;this._focusAlignment||(this._focusAlignment={x:o,y:i}),t&&(this._focusAlignment.x=o),r&&(this._focusAlignment.y=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){!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,r=0;t&&r<t.length;r++){var n=t[r];Object(s.m)(n)?"true"===n.getAttribute("data-is-focusable")&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute("tabindex")&&n.setAttribute("tabindex","-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute("tabindex")&&n.setAttribute("tabindex","0"))):(n.getAttribute&&"false"===n.getAttribute("data-is-focusable")&&n.setAttribute("tabindex","-1"),Object(s.n)(n)?this.props.disabled?n.setAttribute("tabindex","-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute("tabindex")&&n.setAttribute("tabindex","-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute("tabindex")&&n.setAttribute("tabindex","0")):"svg"===n.tagName&&"false"!==n.getAttribute("focusable")&&n.setAttribute("focusable","false")),this._updateTabIndexes(n)}},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&&k.indexOf(e.type.toLowerCase())>-1){var r=e.selectionStart,n=r!==e.selectionEnd,o=e.value,i=e.readOnly;if(n||r>0&&!t&&!i||r!==o.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.p)(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},t}(i.Component)},function(e,t,r){"use strict";function n(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)}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(82);function o(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var o=[],i=0,a=t;i<a.length;i++){var s=a[i];s&&o.push("function"==typeof s?s(e):s)}return 1===o.length?o[0]:o.length?n.a.apply(void 0,o):{}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(){function e(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),this.top=r,this.bottom=n,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}()},function(e,t,r){"use strict";function n(e,t){var r=e,n=t;r._virtual||(r._virtual={children:[]});var o=r._virtual.parent;if(o&&o!==t){var i=o._virtual.children.indexOf(r);i>-1&&o._virtual.children.splice(i,1)}r._virtual.parent=n||void 0,n&&(n._virtual||(n._virtual={children:[]}),n._virtual.children.push(r))}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(84),o=r(164),i=r(118),a=Object(n.a)(o.a,i.a,void 0,{scope:"Fabric"})},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(1),o=r(0),i=r(38),a=r(60),s=r(165),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return Object(n.c)(t,e),t.prototype.componentDidMount=function(){i.a.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){i.a.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return o.createElement(a.a.Consumer,null,(function(r){var n=Object(s.a)(e.props,r);return t&&(n=t(n)),o.createElement(a.a.Provider,{value:n},e.props.children)}))},t}(o.Component)},function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.filter((function(e){return e})).join(" ").trim();return""===r?void 0:r}r.d(t,"a",(function(){return n}))},,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(1),o=r(0),i=function(e){function t(t){var r=e.call(this,t)||this;return r.state={isRendered:!1},r}return Object(n.c)(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=setTimeout((function(){e.setState({isRendered:!0})}),t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?o.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(o.Component)},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(151),a=r(183),s=r(378);t.fromGraph=function(e){return n(void 0,void 0,void 0,(function(){var t,r,n,s,l;return o(this,(function(o){switch(o.label){case 0:t=null,r=null,!1;try{t=window.wpo365.blocks.nonce,r=window.wpo365.blocks.apiUrl,!0}catch(e){throw n="[FetchUtil::fromGraph] Cannot continue because prerequistes nonce and / or apiUrl are undefined ["+e.message+"]",console.log(n),n}o.label=1;case 1:return o.trys.push([1,3,,4]),[4,i.default.post(""+a.trailingSlashIt(r)+e.endpoint,{query:e.query,scope:e.scope,application:e.application,binary:!!e.binary,data:e.data?e.data:""},{headers:{Accept:"application/json",ContentType:"application/json; odata=verbose","X-WP-Nonce":t}})];case 2:if((s=o.sent()).status<200||s.status>299)throw"Unexpected: Response from WPO365 Graph API -> "+s.status+" ["+(s.data?JSON.stringify(s.data):"Check WPO365 log for errors")+"]";if(!s.data||"object"!=typeof s.data)throw"Unexpected: Response from WPO365 Graph API does not has data";return[2,s.data];case 3:throw l=o.sent(),l.response&&l.response.data?JSON.stringify(l.response.data):l.message?l.message:l.toString();case 4:return[2]}}))}))},t.fromProxy=function(e){return n(void 0,void 0,void 0,(function(){var t,r,n,l,u;return o(this,(function(o){switch(o.label){case 0:t=null,r=null,!1;try{t=window.wpo365.blocks.nonce,r=window.wpo365.blocks.apiUrl,!0}catch(e){throw n="[FetchUtil::fromProxy] Cannot continue because prerequistes nonce and / or apiUrl are undefined ["+e.message+"]",console.log(n),n}o.label=1;case 1:return o.trys.push([1,3,,4]),[4,i.default.post(""+a.trailingSlashIt(r)+e.endpoint,{application:e.application,url:e.url,scope:e.scope,binary:!!e.binary,data:e.data?e.data:"",method:e.method?e.method:s.FetchMethod.get,headers:e.headers?e.headers:{Accept:"application/json",ContentType:"application/json; odata=verbose"}},{headers:{"X-WP-Nonce":t}})];case 2:if((l=o.sent()).status<200||l.status>299)throw"Unexpected: Response from WPO365 Proxy API -> "+l.status+" ["+(l.data?JSON.stringify(l.data):"Check WPO365 log for errors")+"]";if(!l.data)throw"Unexpected: Response from WPO365 Proxy API does not has data";return[2,"object"!=typeof l.data?JSON.parse(l.data):l.data];case 3:throw u=o.sent(),u.response&&u.response.data?JSON.stringify(u.response.data):u.message?u.message:u.toString();case 4:return[2]}}))}))},t.getToken=function(e){return n(void 0,void 0,void 0,(function(){var t,r,n,s,l;return o(this,(function(o){switch(o.label){case 0:t=null,r=null,!1;try{t=window.wpo365.blocks.nonce,r=window.wpo365.blocks.apiUrl,!0}catch(e){throw n="[FetchUtil::getToken] Cannot continue because prerequistes nonce and / or apiUrl are undefined ["+e.message+"]",console.log(n),n}o.label=1;case 1:return o.trys.push([1,3,,4]),[4,i.default.post(a.trailingSlashIt(r)+"token",{scope:e.scope},{headers:{Accept:"application/json",ContentType:"application/json; odata=verbose","X-WP-Nonce":t}})];case 2:if((s=o.sent()).status<200||s.status>299)throw"Unexpected: Response from WPO365 Proxy API -> "+s.status+" ["+(s.data?JSON.stringify(s.data):"Check WPO365 log for errors")+"]";if(!s.data||"object"!=typeof s.data||!("access_token"in s.data)||!("scope"in s.data))throw"Unexpected: Response from WPO365 Proxy API does not has data or data does not include an access token";return[2,s.data];case 3:throw l=o.sent(),l.response&&l.response.data?JSON.stringify(l.response.data):l.message?l.message:l.toString();case 4:return[2]}}))}))},t.toGraphRequest=function(e,t,r,n){void 0===r&&(r=!1),void 0===n&&(n=!1);var o=e.split("/");o.splice(0,4),o[o.length-1]||o.pop();var i="",a="";try{if(o.length>1)i=o.shift(),a=o.join("/");else{var s=o[0].split("?");i=s[0],a=2==s.length?"?"+s[1]:""}}catch(t){console.error("Unexpected: Could not convert URL into IGraphRequest [url -> "+e+"]")}return{endpoint:i,query:a,scope:t,application:r,binary:n}}},,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(1),o=r(0),i=r(234),a=r(126),s=r(20),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._keytipManager=a.a.getInstance(),t}return Object(n.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,r=e.keytipProps,n=e.ariaDescribedBy,o={};return r&&(o=this._getKtpAttrs(r,n)),t(o)},t.prototype._getKtpProps=function(){return Object(n.a)({disabled:this.props.disabled},this.props.keytipProps)},t.prototype._getKtpAttrs=function(e,t){if(e){var r=this._keytipManager.addParentOverflow(e),o=Object(s.a)(r.keySequences),a=Object(n.e)(r.keySequences);r.overflowSetSequence&&(a=Object(s.d)(a,r.overflowSetSequence));var l=Object(s.e)(a);return{"aria-describedby":Object(i.a)(t,o),"data-ktp-target":l,"data-ktp-execute-target":l}}},t}(o.Component)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.delete="delete",e.get="get",e.patch="patch",e.post="post",e.put="put"}(t.FetchMethod||(t.FetchMethod={}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){r(421),r(429),r(431),r(432),r(433),r(434),r(435),r(436),r(440),r(441),r(442),r(443),r(444),r(446),r(447),r(448),r(449),r(450),r(451),r(452),r(454),r(200),r(456),r(457),r(458),r(459),r(460),r(461);var n=r(112);e.exports=n.Object},function(e,t,r){"use strict";var n=r(12),o=r(16),i=r(67),a=r(66),s=r(19),l=r(145),u=r(189),c=r(15),d=r(36),p=r(190),f=r(21),h=r(42),m=r(43),v=r(51),g=r(78),y=r(91),b=r(113),w=r(94),_=r(140),S=r(193),O=r(144),C=r(57),V=r(32),k=r(109),E=r(58),T=r(65),P=r(139),x=r(110),I=r(93),M=r(111),j=r(22),F=r(194),A=r(426),R=r(79),D=r(92),L=r(427).forEach,B=x("hidden"),N=j("toPrimitive"),U=D.set,H=D.getterFor("Symbol"),q=Object.prototype,W=o.Symbol,z=i("JSON","stringify"),K=C.f,G=V.f,J=S.f,Y=k.f,Q=P("symbols"),Z=P("op-symbols"),$=P("string-to-symbol-registry"),X=P("symbol-to-string-registry"),ee=P("wks"),te=o.QObject,re=!te||!te.prototype||!te.prototype.findChild,ne=s&&c((function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=K(q,t);n&&delete q[t],G(e,t,r),n&&e!==q&&G(q,t,n)}:G,oe=function(e,t){var r=Q[e]=b(W.prototype);return U(r,{type:"Symbol",tag:e,description:t}),s||(r.description=t),r},ie=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ae=function(e,t,r){e===q&&ae(Z,t,r),h(e);var n=g(t,!0);return h(r),d(Q,n)?(r.enumerable?(d(e,B)&&e[B][n]&&(e[B][n]=!1),r=b(r,{enumerable:y(0,!1)})):(d(e,B)||G(e,B,y(1,{})),e[B][n]=!0),ne(e,n,r)):G(e,n,r)},se=function(e,t){h(e);var r=v(t),n=w(r).concat(de(r));return L(n,(function(t){s&&!le.call(r,t)||ae(e,t,r[t])})),e},le=function(e){var t=g(e,!0),r=Y.call(this,t);return!(this===q&&d(Q,t)&&!d(Z,t))&&(!(r||!d(this,t)||!d(Q,t)||d(this,B)&&this[B][t])||r)},ue=function(e,t){var r=v(e),n=g(t,!0);if(r!==q||!d(Q,n)||d(Z,n)){var o=K(r,n);return!o||!d(Q,n)||d(r,B)&&r[B][n]||(o.enumerable=!0),o}},ce=function(e){var t=J(v(e)),r=[];return L(t,(function(e){d(Q,e)||d(I,e)||r.push(e)})),r},de=function(e){var t=e===q,r=J(t?Z:v(e)),n=[];return L(r,(function(e){!d(Q,e)||t&&!d(q,e)||n.push(Q[e])})),n};(l||(T((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=M(e),r=function(e){this===q&&r.call(Z,e),d(this,B)&&d(this[B],t)&&(this[B][t]=!1),ne(this,t,y(1,e))};return s&&re&&ne(q,t,{configurable:!0,set:r}),oe(t,e)}).prototype,"toString",(function(){return H(this).tag})),T(W,"withoutSetter",(function(e){return oe(M(e),e)})),k.f=le,V.f=ae,C.f=ue,_.f=S.f=ce,O.f=de,F.f=function(e){return oe(j(e),e)},s&&(G(W.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||T(q,"propertyIsEnumerable",le,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),L(w(ee),(function(e){A(e)})),n({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(d($,t))return $[t];var r=W(t);return $[t]=r,X[r]=t,r},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(X,e))return X[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ue}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ce,getOwnPropertySymbols:de}),n({target:"Object",stat:!0,forced:c((function(){O.f(1)}))},{getOwnPropertySymbols:function(e){return O.f(m(e))}}),z)&&n({target:"JSON",stat:!0,forced:!l||c((function(){var e=W();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))}))},{stringify:function(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(f(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ie(t))return t}),o[1]=t,z.apply(null,o)}});W.prototype[N]||E(W.prototype,N,W.prototype.valueOf),R(W,"Symbol"),I[B]=!0},function(e,t,r){var n=r(16),o=r(138),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,r){var n=r(36),o=r(186),i=r(57),a=r(32);e.exports=function(e,t){for(var r=o(t),s=a.f,l=i.f,u=0;u<r.length;u++){var c=r[u];n(e,c)||s(e,c,l(t,c))}}},function(e,t,r){var n=r(51),o=r(141),i=r(425),a=function(e){return function(t,r,a){var s,l=n(t),u=o(l.length),c=i(a,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,r){var n=r(142),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},function(e,t,r){var n=r(112),o=r(36),i=r(194),a=r(32).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,r){var n=r(146),o=r(134),i=r(43),a=r(141),s=r(428),l=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,c=4==e,d=6==e,p=5==e||d;return function(f,h,m,v){for(var g,y,b=i(f),w=o(b),_=n(h,m,3),S=a(w.length),O=0,C=v||s,V=t?C(f,S):r?C(f,0):void 0;S>O;O++)if((p||O in w)&&(y=_(g=w[O],O,b),e))if(t)V[O]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return O;case 2:l.call(V,g)}else if(c)return!1;return d?-1:u||c?c:V}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,r){var n=r(21),o=r(190),i=r(22)("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},function(e,t,r){var n=r(12),o=r(430);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,r){"use strict";var n=r(19),o=r(15),i=r(94),a=r(144),s=r(109),l=r(43),u=r(134),c=Object.assign,d=Object.defineProperty;e.exports=!c||o((function(){if(n&&1!==c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=c({},e)[r]||"abcdefghijklmnopqrst"!=i(c({},t)).join("")}))?function(e,t){for(var r=l(e),o=arguments.length,c=1,d=a.f,p=s.f;o>c;)for(var f,h=u(arguments[c++]),m=d?i(h).concat(d(h)):i(h),v=m.length,g=0;v>g;)f=m[g++],n&&!p.call(h,f)||(r[f]=h[f]);return r}:c},function(e,t,r){r(12)({target:"Object",stat:!0,sham:!r(19)},{create:r(113)})},function(e,t,r){var n=r(12),o=r(19);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(32).f})},function(e,t,r){var n=r(12),o=r(19);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(191)})},function(e,t,r){var n=r(12),o=r(195).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,r){var n=r(12),o=r(114),i=r(15),a=r(21),s=r(147).onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!o},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},function(e,t,r){var n=r(12),o=r(148),i=r(197);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,r){i(t,e,r)}),void 0,!0),t}})},function(e,t,r){var n=r(22),o=r(95),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,r){var n=r(196),o=r(95),i=r(22)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[n(e)]}},function(e,t,r){var n=r(42);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},function(e,t,r){var n=r(12),o=r(15),i=r(51),a=r(57).f,s=r(19),l=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,r){var n=r(12),o=r(19),i=r(186),a=r(51),s=r(57),l=r(197);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=s.f,u=i(n),c={},d=0;u.length>d;)void 0!==(r=o(n,t=u[d++]))&&l(c,t,r);return c}})},function(e,t,r){var n=r(12),o=r(15),i=r(193).f;n({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,r){var n=r(12),o=r(15),i=r(43),a=r(96),s=r(198);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,r){r(12)({target:"Object",stat:!0},{is:r(445)})},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,r){var n=r(12),o=r(15),i=r(21),a=Object.isExtensible;n({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,r){var n=r(12),o=r(15),i=r(21),a=Object.isFrozen;n({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,r){var n=r(12),o=r(15),i=r(21),a=Object.isSealed;n({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,r){var n=r(12),o=r(43),i=r(94);n({target:"Object",stat:!0,forced:r(15)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,r){var n=r(12),o=r(21),i=r(147).onFreeze,a=r(114),s=r(15),l=Object.preventExtensions;n({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,r){var n=r(12),o=r(21),i=r(147).onFreeze,a=r(114),s=r(15),l=Object.seal;n({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{seal:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,r){r(12)({target:"Object",stat:!0},{setPrototypeOf:r(199)})},function(e,t,r){var n=r(21);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,r){var n=r(12),o=r(195).values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,r){"use strict";var n=r(149),o=r(196);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,r){"use strict";var n=r(12),o=r(19),i=r(115),a=r(43),s=r(68),l=r(32);o&&n({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(a(this),e,{get:s(t),enumerable:!0,configurable:!0})}})},function(e,t,r){"use strict";var n=r(12),o=r(19),i=r(115),a=r(43),s=r(68),l=r(32);o&&n({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(a(this),e,{set:s(t),enumerable:!0,configurable:!0})}})},function(e,t,r){"use strict";var n=r(12),o=r(19),i=r(115),a=r(43),s=r(78),l=r(96),u=r(57).f;o&&n({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,r=a(this),n=s(e,!0);do{if(t=u(r,n))return t.get}while(r=l(r))}})},function(e,t,r){"use strict";var n=r(12),o=r(19),i=r(115),a=r(43),s=r(78),l=r(96),u=r(57).f;o&&n({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,r=a(this),n=s(e,!0);do{if(t=u(r,n))return t.set}while(r=l(r))}})},function(e,t,r){r(79)(Math,"Math",!0)},function(e,t,r){var n=r(16);r(79)(n.JSON,"JSON",!0)},function(e,t,r){r(200),r(463),r(466),r(470),r(478),r(479);var n=r(112);e.exports=n.Promise},function(e,t,r){"use strict";var n=r(464).charAt,o=r(92),i=r(201),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(142),o=r(135),i=function(e){return function(t,r){var i,a,s=String(o(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,r){"use strict";var n=r(202).IteratorPrototype,o=r(113),i=r(91),a=r(79),s=r(95),l=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,u,!1,!0),s[u]=l,e}},function(e,t,r){var n=r(16),o=r(467),i=r(468),a=r(58),s=r(22),l=s("iterator"),u=s("toStringTag"),c=i.values;for(var d in o){var p=n[d],f=p&&p.prototype;if(f){if(f[l]!==c)try{a(f,l,c)}catch(e){f[l]=c}if(f[u]||a(f,u,d),o[d])for(var h in i)if(f[h]!==i[h])try{a(f,h,i[h])}catch(e){f[h]=i[h]}}}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,r){"use strict";var n=r(51),o=r(469),i=r(95),a=r(92),s=r(201),l=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:n(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,r){var n=r(22),o=r(113),i=r(32),a=n("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,r){"use strict";var n,o,i,a,s=r(12),l=r(66),u=r(16),c=r(67),d=r(203),p=r(65),f=r(471),h=r(79),m=r(472),v=r(21),g=r(68),y=r(473),b=r(77),w=r(138),_=r(148),S=r(474),O=r(204),C=r(205).set,V=r(475),k=r(208),E=r(476),T=r(150),P=r(209),x=r(92),I=r(188),M=r(22),j=r(477),F=M("species"),A="Promise",R=x.get,D=x.set,L=x.getterFor(A),B=d,N=u.TypeError,U=u.document,H=u.process,q=c("fetch"),W=T.f,z=W,K="process"==b(H),G=!!(U&&U.createEvent&&u.dispatchEvent),J=I(A,(function(){if(!(w(B)!==String(B))){if(66===j)return!0;if(!K&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!B.prototype.finally)return!0;if(j>=51&&/native code/.test(B))return!1;var e=B.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[F]=t,!(e.then((function(){}))instanceof t)})),Y=J||!S((function(e){B.all(e).catch((function(){}))})),Q=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Z=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;V((function(){for(var o=t.value,i=1==t.state,a=0;n.length>a;){var s,l,u,c=n[a++],d=i?c.ok:c.fail,p=c.resolve,f=c.reject,h=c.domain;try{d?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===d?s=o:(h&&h.enter(),s=d(o),h&&(h.exit(),u=!0)),s===c.promise?f(N("Promise-chain cycle")):(l=Q(s))?l.call(s,p,f):p(s)):f(o)}catch(e){h&&!u&&h.exit(),f(e)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&X(e,t)}))}},$=function(e,t,r){var n,o;G?((n=U.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},(o=u["on"+e])?o(n):"unhandledrejection"===e&&E("Unhandled promise rejection",r)},X=function(e,t){C.call(u,(function(){var r,n=t.value;if(ee(t)&&(r=P((function(){K?H.emit("unhandledRejection",n,e):$("unhandledrejection",e,n)})),t.rejection=K||ee(t)?2:1,r.error))throw r.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){C.call(u,(function(){K?H.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},re=function(e,t,r,n){return function(o){e(t,r,o,n)}},ne=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,Z(e,t,!0))},oe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw N("Promise can't be resolved itself");var o=Q(r);o?V((function(){var n={done:!1};try{o.call(r,re(oe,e,n,t),re(ne,e,n,t))}catch(r){ne(e,n,r,t)}})):(t.value=r,t.state=1,Z(e,t,!1))}catch(r){ne(e,{done:!1},r,t)}}};J&&(B=function(e){y(this,B,A),g(e),n.call(this);var t=R(this);try{e(re(oe,this,t),re(ne,this,t))}catch(e){ne(this,t,e)}},(n=function(e){D(this,{type:A,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(B.prototype,{then:function(e,t){var r=L(this),n=W(O(this,B));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=K?H.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Z(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=R(e);this.promise=e,this.resolve=re(oe,e,t),this.reject=re(ne,e,t)},T.f=W=function(e){return e===B||e===i?new o(e):z(e)},l||"function"!=typeof d||(a=d.prototype.then,p(d.prototype,"then",(function(e,t){var r=this;return new B((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof q&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(B,q.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:J},{Promise:B}),h(B,A,!1,!0),m(A),i=c(A),s({target:A,stat:!0,forced:J},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:A,stat:!0,forced:l||J},{resolve:function(e){return k(l&&this===i?B:this,e)}}),s({target:A,stat:!0,forced:Y},{all:function(e){var t=this,r=W(t),n=r.resolve,o=r.reject,i=P((function(){var r=g(t.resolve),i=[],a=0,s=1;_(e,(function(e){var l=a++,u=!1;i.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,i[l]=e,--s||n(i))}),o)})),--s||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=W(t),n=r.reject,o=P((function(){var o=g(t.resolve);_(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(e,t,r){var n=r(65);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},function(e,t,r){"use strict";var n=r(67),o=r(32),i=r(22),a=r(19),s=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},function(e,t,r){var n=r(22)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},function(e,t,r){var n,o,i,a,s,l,u,c,d=r(16),p=r(57).f,f=r(77),h=r(205).set,m=r(206),v=d.MutationObserver||d.WebKitMutationObserver,g=d.process,y=d.Promise,b="process"==f(g),w=p(d,"queueMicrotask"),_=w&&w.value;_||(n=function(){var e,t;for(b&&(e=g.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b?a=function(){g.nextTick(n)}:v&&!m?(s=!0,l=document.createTextNode(""),new v(n).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):y&&y.resolve?(u=y.resolve(void 0),c=u.then,a=function(){c.call(u,n)}):a=function(){h.call(d,n)}),e.exports=_||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,r){var n=r(16);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},function(e,t,r){var n,o,i=r(16),a=r(207),s=i.process,l=s&&s.versions,u=l&&l.v8;u?o=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},function(e,t,r){"use strict";var n=r(12),o=r(68),i=r(150),a=r(209),s=r(148);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,u=a((function(){var r=o(t.resolve),i=[],a=0,l=1;s(e,(function(e){var o=a++,s=!1;i.push(void 0),l++,r.call(t,e).then((function(e){s||(s=!0,i[o]={status:"fulfilled",value:e},--l||n(i))}),(function(e){s||(s=!0,i[o]={status:"rejected",reason:e},--l||n(i))}))})),--l||n(i)}));return u.error&&l(u.value),r.promise}})},function(e,t,r){"use strict";var n=r(12),o=r(66),i=r(203),a=r(15),s=r(67),l=r(204),u=r(208),c=r(65);n({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",s("Promise").prototype.finally)},function(e,t,r){"use strict";var n=r(33),o=r(210),i=r(481),a=r(216);function s(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var l=s(r(213));l.Axios=i,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=r(217),l.CancelToken=r(495),l.isCancel=r(212),l.all=function(e){return Promise.all(e)},l.spread=r(496),e.exports=l,e.exports.default=l},function(e,t,r){"use strict";var n=r(33),o=r(211),i=r(482),a=r(483),s=r(216);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],r=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;)r=r.then(t.shift(),t.shift());return r},l.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(n.merge(r||{},{method:e,url:t}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,o){return this.request(n.merge(o||{},{method:e,url:t,data:r}))}})),e.exports=l},function(e,t,r){"use strict";var n=r(33);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(33),o=r(484),i=r(212),a=r(213);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(33);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},function(e,t){var r,n,o=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(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,r){"use strict";var n=r(33);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(215);e.exports=function(e,t,r){var o=r.config.validateStatus;!o||o(r.status)?e(r):t(n("Request failed with status code "+r.status,r.config,null,r.request,r))}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(490),o=r(491);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(33),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(33);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(33);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.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,r){"use strict";var n=r(217);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(54),o=r(24),i=r(53);function a(e){o.b.getInstance().insertRule("@font-face{"+Object(i.b)(Object(n.a)(),e)+"}",!0)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(54),o=r(24),i=r(53);function a(e){var t=o.b.getInstance(),r=t.getClassName(),a=[];for(var s in e)e.hasOwnProperty(s)&&a.push(s,"{",Object(i.b)(Object(n.a)(),e[s]),"}");var l=a.join("");return t.insertRule("@keyframes "+r+"{"+l+"}",!0),t.cacheClassName(r,l,[],["keyframes",l]),r}},function(e,t,r){"use strict";function n(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,i=t;n<i.length;n++){var a=i[n];o(e||{},a)}return e}function o(e,t,r){for(var n in void 0===r&&(r=[]),r.push(t),t)if(t.hasOwnProperty(n)){var i=t[n];if("object"==typeof i){var a=r.indexOf(i)>-1;e[n]=a?i:o(e[n]||{},i,r)}else e[n]=i}return r.pop(),e}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),o=r(0),i=r(100),a=r(14),s=r(72),l=r(45),u=function(e){var t=e.className,r=e.imageProps,u=Object(a.j)(e,a.k),c=e["aria-label"]?{}:{role:"presentation","aria-hidden":!r.alt&&!r["aria-labelledby"]};return o.createElement("div",Object(n.a)({},c,u,{className:Object(s.a)(l.a,l.b.root,l.b.image,t)}),o.createElement(i.a,Object(n.a)({},r)))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n,o=r(10);function i(e){if(void 0===n||e){var t=Object(o.a)(),r=t&&t.navigator.userAgent;n=!!r&&-1!==r.indexOf("Macintosh")}return!!n}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(1),o=r(0),i=r(8),a=r(83),s=r(17),l=r(55),u=r(10),c=r(9),d=r(14),p=function(e){function t(t){var r=e.call(this,t)||this;return r._root=o.createRef(),r._disposables=[],r._onKeyDown=function(e){switch(e.which){case i.a.escape:r.props.onDismiss&&(r.props.onDismiss(e),e.preventDefault(),e.stopPropagation())}},r._onFocus=function(){r._containsFocus=!0},r._onBlur=function(e){r._root.current&&e.relatedTarget&&!r._root.current.contains(e.relatedTarget)&&(r._containsFocus=!1)},r._async=new a.a(r),r.state={needsVerticalScrollBar:!1},r}return Object(n.c)(t,e),t.prototype.UNSAFE_componentWillMount=function(){this._originalFocusedElement=Object(s.a)().activeElement},t.prototype.componentDidMount=function(){if(this._root.current){this._disposables.push(Object(l.a)(this._root.current,"focus",this._onFocus,!0),Object(l.a)(this._root.current,"blur",this._onBlur,!0));var e=Object(u.a)(this._root.current);e&&this._disposables.push(Object(l.a)(e,"keydown",this._onKeyDown)),Object(c.a)(this._root.current)&&(this._containsFocus=!0)}this._updateScrollBarAsync()},t.prototype.componentDidUpdate=function(){this._updateScrollBarAsync(),this._async.dispose()},t.prototype.componentWillUnmount=function(){this._disposables.forEach((function(e){return e()})),this.props.shouldRestoreFocus&&this._originalFocusedElement&&this._containsFocus&&this._originalFocusedElement!==window&&this._originalFocusedElement&&this._originalFocusedElement.focus(),delete this._originalFocusedElement},t.prototype.render=function(){var e=this.props,t=e.role,r=e.className,i=e.ariaLabel,a=e.ariaLabelledBy,s=e.ariaDescribedBy,l=e.style;return o.createElement("div",Object(n.a)({ref:this._root},Object(d.j)(this.props,d.h),{className:r,role:t,"aria-label":i,"aria-labelledby":a,"aria-describedby":s,onKeyDown:this._onKeyDown,style:Object(n.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,r=this._root.current.firstElementChild.clientHeight;t>0&&r>t&&(e=r-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}},t.defaultProps={shouldRestoreFocus:!0},t}(o.Component)},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(0),o=r(40),i=Object(o.a)(),a=r(84),s=Object(a.a)((function(e){var t=e.styles,r=e.theme,o=e.getClassNames,a=e.className,s=i(t,{theme:r,getClassNames:o,className:a});return n.createElement("span",{className:s.wrapper},n.createElement("span",{className:s.divider}))}),(function(e){var t=e.theme,r=e.getClassNames,n=e.className;if(!t)throw new Error("Theme is undefined or null.");if(r){var o=r(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},n],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"})},,function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return s}));var n,o=r(17),i=r(10);function a(){if(void 0===n){var e=Object(o.a)(),t=function(e){var t=null;try{var r=Object(i.a)();t=r?r.localStorage.getItem(e):null}catch(e){}return t}("language");null!==t&&(n=t),void 0===n&&e&&(n=e.documentElement.getAttribute("lang")),void 0===n&&(n="en")}return n}function s(e,t){void 0===t&&(t=!1);var r=Object(o.a)();r&&r.documentElement.setAttribute("lang",e),t||function(e,t){try{var r=Object(i.a)();r&&r.localStorage.setItem(e,t)}catch(e){}}("language",e),n=e}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n,o=r(1),i=r(0),a=r(84),s=r(167),l=r(3),u=r(97),c={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function d(e){return i.createElement(n,Object(o.a)({},e))}var p=n=Object(a.a)(s.a,(function(e){var t=e.className,r=e.theme,n=Object(l.P)(c,r),o=r.fonts,i=r.semanticColors,a=r.effects;return{root:[r.fonts.medium,n.root,n.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[n.container,{selectors:{":focus":{outline:0}}}],list:[n.list,n.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[n.header,o.small,{fontWeight:l.j.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:u.a,lineHeight:u.a,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[n.title,{fontSize:o.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}}),(function(){return{onRenderSubMenu:d}}),{scope:"ContextualMenu"})},function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(84),o=r(163),i=r(3),a={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},s=Object(n.a)(o.a,(function(e){var t=e.className,r=e.isNotHost,n=e.theme,o=Object(i.P)(a,n);return{root:[o.root,n.fonts.medium,r&&[o.rootNoHost,{position:"fixed",zIndex:i.E.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[o.content,{visibility:"visible"}]}}),void 0,{scope:"Layer",fields:["hostId","theme","styles"]})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"e",(function(){return H})),r.d(t,"c",(function(){return q})),r.d(t,"d",(function(){return W})),r.d(t,"a",(function(){return z})),r.d(t,"b",(function(){return K}));var n,o=r(1),i=r(7),a=r(230),s=r(35),l=r(71),u=r(6),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t}(a.a);function d(e,t,r){return{targetEdge:e,alignmentEdge:t,isAuto:r}}var p=((n={})[i.a.topLeftEdge]=d(u.b.top,u.b.left),n[i.a.topCenter]=d(u.b.top),n[i.a.topRightEdge]=d(u.b.top,u.b.right),n[i.a.topAutoEdge]=d(u.b.top,void 0,!0),n[i.a.bottomLeftEdge]=d(u.b.bottom,u.b.left),n[i.a.bottomCenter]=d(u.b.bottom),n[i.a.bottomRightEdge]=d(u.b.bottom,u.b.right),n[i.a.bottomAutoEdge]=d(u.b.bottom,void 0,!0),n[i.a.leftTopEdge]=d(u.b.left,u.b.top),n[i.a.leftCenter]=d(u.b.left),n[i.a.leftBottomEdge]=d(u.b.left,u.b.bottom),n[i.a.rightTopEdge]=d(u.b.right,u.b.top),n[i.a.rightCenter]=d(u.b.right),n[i.a.rightBottomEdge]=d(u.b.right,u.b.bottom),n);function f(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function h(e,t){var r=new Array;return e.top<t.top&&r.push(u.b.top),e.bottom>t.bottom&&r.push(u.b.bottom),e.left<t.left&&r.push(u.b.left),e.right>t.right&&r.push(u.b.right),r}function m(e,t){return e[u.b[t]]}function v(e,t,r){return e[u.b[t]]=r,e}function g(e,t){var r=T(t);return(m(e,r.positiveEdge)+m(e,r.negativeEdge))/2}function y(e,t){return e>0?t:-1*t}function b(e,t){return y(e,m(t,e))}function w(e,t,r){return y(r,m(e,r)-m(t,r))}function _(e,t,r){var n=m(e,t)-r;return e=v(e,t,r),e=v(e,-1*t,m(e,-1*t)-n)}function S(e,t,r,n){return void 0===n&&(n=0),_(e,r,m(t,r)+y(r,n))}function O(e,t,r){return b(r,e)>b(r,t)}function C(e,t,r,n,o,i,a){void 0===o&&(o=0);var l=n.alignmentEdge,c=n.alignTargetEdge,d={elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:l};i||a||(d=function(e,t,r,n,o){void 0===o&&(o=0);var i=[u.b.left,u.b.right,u.b.bottom,u.b.top];Object(s.a)()&&(i[0]*=-1,i[1]*=-1);for(var a=e,l=n.targetEdge,c=n.alignmentEdge,d=0;d<4;d++){if(O(a,r,l))return{elementRectangle:a,targetEdge:l,alignmentEdge:c};i.splice(i.indexOf(l),1),i.length>0&&(i.indexOf(-1*l)>-1?l*=-1:(c=l,l=i.slice(-1)[0]),a=E(e,t,{targetEdge:l,alignmentEdge:c},o))}return{elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:c}}(e,t,r,n,o));var p=h(e,r);if(c){if(d.alignmentEdge&&p.indexOf(-1*d.alignmentEdge)>-1){var m=function(e,t,r,n){var o=e.alignmentEdge,i=e.targetEdge,a=-1*o;return{elementRectangle:E(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},r,n),targetEdge:i,alignmentEdge:a}}(d,t,o,a);if(f(m.elementRectangle,r))return m;d=V(h(m.elementRectangle,r),d,r)}}else d=V(p,d,r);return d}function V(e,t,r){for(var n=0,o=e;n<o.length;n++){var i=o[n];t.elementRectangle=S(t.elementRectangle,r,i)}return t}function k(e,t,r){var n=T(t).positiveEdge;return _(e,n,r-(g(e,t)-m(e,n)))}function E(e,t,r,n,o){var i;void 0===n&&(n=0);var a=r.alignmentEdge,s=r.targetEdge,l=o?s:-1*s;(i=o?S(e,t,s,n):function(e,t,r,n){void 0===n&&(n=0);var o=y(-1*r,n);return _(e,-1*r,m(t,r)+o)}(e,t,s,n),a)?i=S(i,t,a):i=k(i,l,g(t,s));return i}function T(e){return e===u.b.top||e===u.b.bottom?{positiveEdge:u.b.left,negativeEdge:u.b.right}:{positiveEdge:u.b.top,negativeEdge:u.b.bottom}}function P(e,t,r){return r&&Math.abs(w(e,r,t))>Math.abs(w(e,r,-1*t))?-1*t:t}function x(e){return Math.sqrt(e*e*2)}function I(e,t,r){if(void 0===e&&(e=i.a.bottomAutoEdge),r)return{alignmentEdge:r.alignmentEdge,isAuto:r.isAuto,targetEdge:r.targetEdge};var n=Object(o.a)({},p[e]);return Object(s.a)()?(n.alignmentEdge&&n.alignmentEdge%2==0&&(n.alignmentEdge=-1*n.alignmentEdge),void 0!==t?p[t]:n):n}function M(e,t,r){var n=g(t,e),o=g(r,e),i=T(e),a=i.positiveEdge,s=i.negativeEdge;return n<=o?a:s}function j(e,t,r,n,o,i,a){var s=E(e,t,n,o,a);return f(s,r)?{elementRectangle:s,targetEdge:n.targetEdge,alignmentEdge:n.alignmentEdge}:C(e,t,r,n,o,i,a)}function F(e,t,r){var n=-1*e.targetEdge,i=new c(0,e.elementRectangle.width,0,e.elementRectangle.height),a={},s=P(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:T(n).positiveEdge,r);return a[u.b[n]]=m(t,n),a[u.b[s]]=w(t,i,s),{elementPosition:Object(o.a)({},a),closestEdge:M(e.targetEdge,t,i),targetEdge:n}}function A(e,t){var r=t.targetRectangle,n=T(t.targetEdge),o=n.positiveEdge,i=n.negativeEdge,a=g(r,t.targetEdge),s=new c(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new c(0,e,0,e);return O(l=k(l=_(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-b(o,t.elementRectangle)),s,o)?O(l,s,i)||(l=S(l,s,i)):l=S(l,s,o),l}function R(e){var t=e.getBoundingClientRect();return new c(t.left,t.right,t.top,t.bottom)}function D(e){return new c(e.left,e.right,e.top,e.bottom)}function L(e,t,r,n,o){var i=0,a=p[t],s=o?-1*a.targetEdge:a.targetEdge;return(i=s===u.b.top?m(e,a.targetEdge)-n.top-r:s===u.b.bottom?n.bottom-m(e,a.targetEdge)-r:n.bottom-e.top-r)>0?i:n.height}function B(e,t,r,n){var i=e.gapSpace?e.gapSpace:0,a=function(e,t){var r;if(t){if(t.preventDefault){var n=t;r=new c(n.clientX,n.clientX,n.clientY,n.clientY)}else if(t.getBoundingClientRect)r=R(t);else{var o=t;r=new c(o.x,o.x,o.y,o.y)}if(!f(r,e))for(var i=0,a=h(r,e);i<a.length;i++){var s=a[i];r[u.b[s]]=e[u.b[s]]}}else r=new c(0,0,0,0);return r}(r,e.target),s=function(e,t,r,n,o){return e.isAuto&&(e.alignmentEdge=M(e.targetEdge,t,r)),e.alignTargetEdge=o,e}(I(e.directionalHint,e.directionalHintForRTL,n),a,r,e.coverTarget,e.alignTargetEdge),l=j(R(t),a,r,s,i,e.directionalHintFixed,e.coverTarget);return Object(o.a)(Object(o.a)({},l),{targetRectangle:a})}function N(e,t,r,n,o){return{elementPosition:function(e,t,r,n,o,i,a){var s={},l=R(t),c=i?r:-1*r,d=u.b[c],p=o||T(r).positiveEdge;return a||(p=P(e,p,n)),s[d]=w(e,l,c),s[u.b[p]]=w(e,l,p),s}(e.elementRectangle,t,e.targetEdge,r,e.alignmentEdge,n,o),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function U(e,t,r,n,i){var a=e.isBeakVisible&&e.beakWidth||0,s=x(a)/2+(e.gapSpace?e.gapSpace:0),u=e;u.gapSpace=s;var d=e.bounds?D(e.bounds):new c(0,window.innerWidth-Object(l.g)(),0,window.innerHeight),p=B(u,r,d,n),f=F(p,A(a,p),d);return Object(o.a)(Object(o.a)({},N(p,t,d,e.coverTarget,i)),{beakPosition:f})}function H(e,t,r,n){return function(e,t,r,n){var o=e.bounds?D(e.bounds):new c(0,window.innerWidth-Object(l.g)(),0,window.innerHeight);return N(B(e,r,o,n),t,o,e.coverTarget)}(e,t,r,n)}function q(e,t,r,n){return U(e,t,r,n)}function W(e,t,r,n){return function(e,t,r,n){return U(e,t,r,n,!0)}(e,t,r,n)}function z(e,t,r,n,o){void 0===r&&(r=0);var i=e,a=e,s=e,u=n?D(n):new c(0,window.innerWidth-Object(l.g)(),0,window.innerHeight);return L(i.stopPropagation?new c(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==s.x&&void 0!==s.y?new c(s.x,s.x,s.y,s.y):R(a),t,r,u,o)}function K(e){return-1*e}},,,,,,,,,,,,,,function(e,t,r){var n;n=()=>(()=>{var e={"./node_modules/http-post-message/dist/httpPostMessage.js":
/*!****************************************************************!*\
  !*** ./node_modules/http-post-message/dist/httpPostMessage.js ***!
  \****************************************************************/function(e){
/*! http-post-message v0.2.3 | (c) 2016 Microsoft Corporation MIT */
var t;t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t){"use strict";var r=function(){function e(e,t,r){void 0===t&&(t={}),this.defaultHeaders=t,this.defaultTargetWindow=r,this.windowPostMessageProxy=e}return e.addTrackingProperties=function(e,t){return e.headers=e.headers||{},t&&t.id&&(e.headers.id=t.id),e},e.getTrackingProperties=function(e){return{id:e.headers&&e.headers.id}},e.isErrorMessage=function(e){return"number"==typeof(e&&e.statusCode)&&!(200<=e.statusCode&&e.statusCode<300)},e.prototype.get=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r=this.defaultTargetWindow),this.send({method:"GET",url:e,headers:t},r)},e.prototype.post=function(e,t,r,n){return void 0===r&&(r={}),void 0===n&&(n=this.defaultTargetWindow),this.send({method:"POST",url:e,headers:r,body:t},n)},e.prototype.put=function(e,t,r,n){return void 0===r&&(r={}),void 0===n&&(n=this.defaultTargetWindow),this.send({method:"PUT",url:e,headers:r,body:t},n)},e.prototype.patch=function(e,t,r,n){return void 0===r&&(r={}),void 0===n&&(n=this.defaultTargetWindow),this.send({method:"PATCH",url:e,headers:r,body:t},n)},e.prototype.delete=function(e,t,r,n){return void 0===t&&(t=null),void 0===r&&(r={}),void 0===n&&(n=this.defaultTargetWindow),this.send({method:"DELETE",url:e,headers:r,body:t},n)},e.prototype.send=function(e,t){if(void 0===t&&(t=this.defaultTargetWindow),e.headers=this.assign({},this.defaultHeaders,e.headers),!t)throw new Error("target window is not provided.  You must either provide the target window explicitly as argument to request, or specify default target window when constructing instance of this class.");return this.windowPostMessageProxy.postMessage(t,e)},e.prototype.assign=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(null==e)throw new TypeError("Cannot convert undefined or null to object");var n=Object(e);return t.forEach((function(e){if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])})),n},e}();t.HttpPostMessage=r}])},e.exports=t()},"./node_modules/powerbi-models/dist/models.js":
/*!****************************************************!*\
  !*** ./node_modules/powerbi-models/dist/models.js ***!
  \****************************************************/function(e){var t;t=()=>(()=>{var e=[function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CommonErrorCodes=t.BookmarksPlayMode=t.ExportDataType=t.QnaMode=t.PageNavigationPosition=t.BrowserPrintAdjustmentsMode=t.AggregateFunction=t.DataCacheMode=t.CredentialType=t.isPercentOfGrandTotal=t.isColumnAggr=t.isHierarchyLevelAggr=t.isHierarchyLevel=t.isColumn=t.isMeasure=t.getFilterType=t.isBasicFilterWithKeys=t.isFilterKeyColumnsTarget=t.HierarchyIdentityFilter=t.HierarchyFilter=t.AdvancedFilter=t.TupleFilter=t.IdentityFilter=t.BasicFilterWithKeys=t.BasicFilter=t.RelativeTimeFilter=t.RelativeDateFilter=t.TopNFilter=t.IncludeExcludeFilter=t.NotSupportedFilter=t.Filter=t.RelativeDateOperators=t.RelativeDateFilterTimeUnit=t.FilterType=t.FiltersLevel=t.FiltersOperations=t.MenuLocation=t.ContrastMode=t.TokenType=t.ViewMode=t.Permissions=t.SectionVisibility=t.ReportAlignment=t.HyperlinkClickBehavior=t.LayoutType=t.VisualContainerDisplayMode=t.BackgroundType=t.DisplayOption=t.PageSizeType=t.TraceType=void 0,t.validateExportDataRequest=t.validateQnaInterpretInputData=t.validateLoadQnaConfiguration=t.validateSaveAsParameters=t.validateUpdateFiltersRequest=t.validateFilter=t.validatePage=t.validateTileLoad=t.validateDashboardLoad=t.validateQuickCreate=t.validateCreateReport=t.validatePaginatedReportLoad=t.validateReportLoad=t.validateMenuGroupExtension=t.validateExtension=t.validateCustomPageSize=t.validateVisualizationsPane=t.validateSyncSlicersPane=t.validateSelectionPane=t.validatePageNavigationPane=t.validateFieldsPane=t.validateFiltersPane=t.validateBookmarksPane=t.validatePanes=t.validateSettings=t.validateCaptureBookmarkRequest=t.validateApplyBookmarkStateRequest=t.validateApplyBookmarkByNameRequest=t.validateAddBookmarkRequest=t.validatePlayBookmarkRequest=t.validateSlicerState=t.validateSlicer=t.validateVisualSelector=t.isIExtensionArray=t.isIExtensions=t.isGroupedMenuExtension=t.isFlatMenuExtension=t.isReportFiltersArray=t.isOnLoadFilters=t.VisualDataRoleKindPreference=t.VisualDataRoleKind=t.CommandDisplayOption=t.SlicerTargetSelector=t.VisualTypeSelector=t.VisualSelector=t.PageSelector=t.Selector=t.SortDirection=t.LegendPosition=t.TextAlignment=void 0,t.validatePrintSettings=t.validateZoomLevel=t.validateCustomTheme=t.validateCommandsSettings=t.validateVisualSettings=t.validateVisualHeader=void 0;var i,a=r(1);!function(e){e[e.Information=0]="Information",e[e.Verbose=1]="Verbose",e[e.Warning=2]="Warning",e[e.Error=3]="Error",e[e.ExpectedError=4]="ExpectedError",e[e.UnexpectedError=5]="UnexpectedError",e[e.Fatal=6]="Fatal"}(t.TraceType||(t.TraceType={})),function(e){e[e.Widescreen=0]="Widescreen",e[e.Standard=1]="Standard",e[e.Cortana=2]="Cortana",e[e.Letter=3]="Letter",e[e.Custom=4]="Custom",e[e.Mobile=5]="Mobile"}(t.PageSizeType||(t.PageSizeType={})),function(e){e[e.FitToPage=0]="FitToPage",e[e.FitToWidth=1]="FitToWidth",e[e.ActualSize=2]="ActualSize"}(t.DisplayOption||(t.DisplayOption={})),function(e){e[e.Default=0]="Default",e[e.Transparent=1]="Transparent"}(t.BackgroundType||(t.BackgroundType={})),function(e){e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden"}(t.VisualContainerDisplayMode||(t.VisualContainerDisplayMode={})),function(e){e[e.Master=0]="Master",e[e.Custom=1]="Custom",e[e.MobilePortrait=2]="MobilePortrait",e[e.MobileLandscape=3]="MobileLandscape"}(t.LayoutType||(t.LayoutType={})),function(e){e[e.Navigate=0]="Navigate",e[e.NavigateAndRaiseEvent=1]="NavigateAndRaiseEvent",e[e.RaiseEvent=2]="RaiseEvent"}(t.HyperlinkClickBehavior||(t.HyperlinkClickBehavior={})),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right",e[e.None=3]="None"}(t.ReportAlignment||(t.ReportAlignment={})),function(e){e[e.AlwaysVisible=0]="AlwaysVisible",e[e.HiddenInViewMode=1]="HiddenInViewMode"}(t.SectionVisibility||(t.SectionVisibility={})),function(e){e[e.Read=0]="Read",e[e.ReadWrite=1]="ReadWrite",e[e.Copy=2]="Copy",e[e.Create=4]="Create",e[e.All=7]="All"}(t.Permissions||(t.Permissions={})),function(e){e[e.View=0]="View",e[e.Edit=1]="Edit"}(t.ViewMode||(t.ViewMode={})),function(e){e[e.Aad=0]="Aad",e[e.Embed=1]="Embed"}(t.TokenType||(t.TokenType={})),function(e){e[e.None=0]="None",e[e.HighContrast1=1]="HighContrast1",e[e.HighContrast2=2]="HighContrast2",e[e.HighContrastBlack=3]="HighContrastBlack",e[e.HighContrastWhite=4]="HighContrastWhite"}(t.ContrastMode||(t.ContrastMode={})),function(e){e[e.Bottom=0]="Bottom",e[e.Top=1]="Top"}(t.MenuLocation||(t.MenuLocation={})),function(e){e[e.RemoveAll=0]="RemoveAll",e[e.ReplaceAll=1]="ReplaceAll",e[e.Add=2]="Add",e[e.Replace=3]="Replace"}(t.FiltersOperations||(t.FiltersOperations={})),function(e){e[e.Report=0]="Report",e[e.Page=1]="Page",e[e.Visual=2]="Visual"}(t.FiltersLevel||(t.FiltersLevel={})),function(e){e[e.Advanced=0]="Advanced",e[e.Basic=1]="Basic",e[e.Unknown=2]="Unknown",e[e.IncludeExclude=3]="IncludeExclude",e[e.RelativeDate=4]="RelativeDate",e[e.TopN=5]="TopN",e[e.Tuple=6]="Tuple",e[e.RelativeTime=7]="RelativeTime",e[e.Identity=8]="Identity",e[e.Hierarchy=9]="Hierarchy",e[e.HierarchyIdentity=10]="HierarchyIdentity"}(i=t.FilterType||(t.FilterType={})),function(e){e[e.Days=0]="Days",e[e.Weeks=1]="Weeks",e[e.CalendarWeeks=2]="CalendarWeeks",e[e.Months=3]="Months",e[e.CalendarMonths=4]="CalendarMonths",e[e.Years=5]="Years",e[e.CalendarYears=6]="CalendarYears",e[e.Minutes=7]="Minutes",e[e.Hours=8]="Hours"}(t.RelativeDateFilterTimeUnit||(t.RelativeDateFilterTimeUnit={})),function(e){e[e.InLast=0]="InLast",e[e.InThis=1]="InThis",e[e.InNext=2]="InNext"}(t.RelativeDateOperators||(t.RelativeDateOperators={}));var s=function(){function e(e,t){this.target=e,this.filterType=t}return e.prototype.toJSON=function(){var e={$schema:this.schemaUrl,target:this.target,filterType:this.filterType};return void 0!==this.displaySettings&&(e.displaySettings=this.displaySettings),e},e}();t.Filter=s;var l=function(e){function t(r,n,o){var a=e.call(this,r,i.Unknown)||this;return a.message=n,a.notSupportedTypeName=o,a.schemaUrl=t.schemaUrl,a}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.message=this.message,t.notSupportedTypeName=this.notSupportedTypeName,t},t.schemaUrl="http://powerbi.com/product/schema#notSupported",t}(s);t.NotSupportedFilter=l;var u=function(e){function t(r,n,o){var a=e.call(this,r,i.IncludeExclude)||this;return a.target=r,a.values=o,a.isExclude=n,a.schemaUrl=t.schemaUrl,a}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.isExclude=this.isExclude,t.values=this.values,t},t.schemaUrl="http://powerbi.com/product/schema#includeExclude",t}(s);t.IncludeExcludeFilter=u;var c=function(e){function t(r,n,o,a){var s=e.call(this,r,i.TopN)||this;return s.operator=n,s.itemCount=o,s.schemaUrl=t.schemaUrl,s.orderBy=a,s}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.operator=this.operator,t.itemCount=this.itemCount,t.orderBy=this.orderBy,t},t.schemaUrl="http://powerbi.com/product/schema#topN",t}(s);t.TopNFilter=c;var d=function(e){function t(r,n,o,a,s){var l=e.call(this,r,i.RelativeDate)||this;return l.operator=n,l.timeUnitsCount=o,l.timeUnitType=a,l.includeToday=s,l.schemaUrl=t.schemaUrl,l}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.operator=this.operator,t.timeUnitsCount=this.timeUnitsCount,t.timeUnitType=this.timeUnitType,t.includeToday=this.includeToday,t},t.schemaUrl="http://powerbi.com/product/schema#relativeDate",t}(s);t.RelativeDateFilter=d;var p=function(e){function t(r,n,o,a){var s=e.call(this,r,i.RelativeTime)||this;return s.operator=n,s.timeUnitsCount=o,s.timeUnitType=a,s.schemaUrl=t.schemaUrl,s}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.operator=this.operator,t.timeUnitsCount=this.timeUnitsCount,t.timeUnitType=this.timeUnitType,t},t.schemaUrl="http://powerbi.com/product/schema#relativeTime",t}(s);t.RelativeTimeFilter=p;var f=function(e){function t(r,n){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var s=e.call(this,r,i.Basic)||this;if(s.operator=n,s.schemaUrl=t.schemaUrl,0===o.length&&"All"!==n)throw new Error('values must be a non-empty array unless your operator is "All".');return Array.isArray(o[0])?s.values=o[0]:s.values=o,s}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.operator=this.operator,t.values=this.values,t.requireSingleSelection=!!this.requireSingleSelection,t},t.schemaUrl="http://powerbi.com/product/schema#basic",t}(s);t.BasicFilter=f;var h=function(e){function t(t,r,n,o){var i=e.call(this,t,r,n)||this;i.keyValues=o,i.target=t;var a=t.keys?t.keys.length:0;if(a>0&&!o)throw new Error("You should pass the values to be filtered for each key. You passed: no values and ".concat(a," keys"));if(0===a&&o&&o.length>0)throw new Error("You passed key values but your target object doesn't contain the keys to be filtered");for(var s=0,l=i.keyValues;s<l.length;s++){var u=l[s];if(u){var c=u.length;if(c!==a)throw new Error("Each tuple of key values should contain a value for each of the keys. You passed: ".concat(c," values and ").concat(a," keys"))}}return i}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.keyValues=this.keyValues,t},t}(f);t.BasicFilterWithKeys=h;var m=function(e){function t(r,n){var o=e.call(this,r,i.Identity)||this;return o.operator=n,o.schemaUrl=t.schemaUrl,o}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.operator=this.operator,t.target=this.target,t},t.schemaUrl="http://powerbi.com/product/schema#identity",t}(s);t.IdentityFilter=m;var v=function(e){function t(r,n,o){var a=e.call(this,r,i.Tuple)||this;return a.operator=n,a.schemaUrl=t.schemaUrl,a.values=o,a}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.operator=this.operator,t.values=this.values,t.target=this.target,t},t.schemaUrl="http://powerbi.com/product/schema#tuple",t}(s);t.TupleFilter=v;var g=function(e){function t(r,n){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var s,l=e.call(this,r,i.Advanced)||this;if(l.schemaUrl=t.schemaUrl,"string"!=typeof n||0===n.length)throw new Error("logicalOperator must be a valid operator, You passed: ".concat(n));if(l.logicalOperator=n,(s=Array.isArray(o[0])?o[0]:o).length>2)throw new Error("AdvancedFilters may not have more than two conditions. You passed: ".concat(o.length));if(1===s.length&&"And"!==n)throw new Error('Logical Operator must be "And" when there is only one condition provided');return l.conditions=s,l}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.logicalOperator=this.logicalOperator,t.conditions=this.conditions,t},t.schemaUrl="http://powerbi.com/product/schema#advanced",t}(s);t.AdvancedFilter=g;var y=function(e){function t(r,n){var o=e.call(this,r,i.Hierarchy)||this;return o.schemaUrl=t.schemaUrl,o.hierarchyData=n,o}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.hierarchyData=this.hierarchyData,t.target=this.target,t},t.schemaUrl="http://powerbi.com/product/schema#hierarchy",t}(s);t.HierarchyFilter=y;var b=function(e){function t(r,n){var o=e.call(this,r,i.HierarchyIdentity)||this;return o.schemaUrl=t.schemaUrl,o.hierarchyData=n,o}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.hierarchyData=this.hierarchyData,t.target=this.target,t},t.schemaUrl="http://powerbi.com/product/schema#hierarchyIdentity",t}(s);function w(e){if(e.filterType)return e.filterType;var t=e,r=e;return"string"==typeof t.operator&&Array.isArray(t.values)?i.Basic:"string"==typeof r.logicalOperator&&Array.isArray(r.conditions)?i.Advanced:i.Unknown}function _(e){return!(!e.table||!e.column||e.aggregationFunction)}t.HierarchyIdentityFilter=b,t.isFilterKeyColumnsTarget=function(e){return _(e)&&!!e.keys},t.isBasicFilterWithKeys=function(e){return w(e)===i.Basic&&!!e.keyValues},t.getFilterType=w,t.isMeasure=function(e){return void 0!==e.table&&void 0!==e.measure},t.isColumn=_,t.isHierarchyLevel=function(e){return!(!(e.table&&e.hierarchy&&e.hierarchyLevel)||e.aggregationFunction)},t.isHierarchyLevelAggr=function(e){return!!(e.table&&e.hierarchy&&e.hierarchyLevel&&e.aggregationFunction)},t.isColumnAggr=function(e){return!!(e.table&&e.column&&e.aggregationFunction)},t.isPercentOfGrandTotal=function(e){return!!e.percentOfGrandTotal},function(e){e[e.NoConnection=0]="NoConnection",e[e.OnBehalfOf=1]="OnBehalfOf",e[e.Anonymous=2]="Anonymous"}(t.CredentialType||(t.CredentialType={})),function(e){e[e.Import=0]="Import",e[e.DirectQuery=1]="DirectQuery"}(t.DataCacheMode||(t.DataCacheMode={})),function(e){e[e.Default=1]="Default",e[e.None=2]="None",e[e.Sum=3]="Sum",e[e.Min=4]="Min",e[e.Max=5]="Max",e[e.Count=6]="Count",e[e.Average=7]="Average",e[e.DistinctCount=8]="DistinctCount"}(t.AggregateFunction||(t.AggregateFunction={})),function(e){e[e.Default=0]="Default",e[e.NoAdjustments=1]="NoAdjustments"}(t.BrowserPrintAdjustmentsMode||(t.BrowserPrintAdjustmentsMode={})),function(e){e[e.Bottom=0]="Bottom",e[e.Left=1]="Left"}(t.PageNavigationPosition||(t.PageNavigationPosition={})),function(e){e[e.Interactive=0]="Interactive",e[e.ResultOnly=1]="ResultOnly"}(t.QnaMode||(t.QnaMode={})),function(e){e[e.Summarized=0]="Summarized",e[e.Underlying=1]="Underlying"}(t.ExportDataType||(t.ExportDataType={})),function(e){e[e.Off=0]="Off",e[e.Presentation=1]="Presentation"}(t.BookmarksPlayMode||(t.BookmarksPlayMode={})),t.CommonErrorCodes={TokenExpired:"TokenExpired",NotFound:"PowerBIEntityNotFound",InvalidParameters:"Invalid parameters",LoadReportFailed:"LoadReportFailed",NotAuthorized:"PowerBINotAuthorizedException",FailedToLoadModel:"ExplorationContainer_FailedToLoadModel_DefaultDetails"},t.TextAlignment={Left:"left",Center:"center",Right:"right"},t.LegendPosition={Top:"Top",Bottom:"Bottom",Right:"Right",Left:"Left",TopCenter:"TopCenter",BottomCenter:"BottomCenter",RightCenter:"RightCenter",LeftCenter:"LeftCenter"},function(e){e[e.Ascending=1]="Ascending",e[e.Descending=2]="Descending"}(t.SortDirection||(t.SortDirection={}));var S=function(){function e(e){this.$schema=e}return e.prototype.toJSON=function(){return{$schema:this.$schema}},e}();t.Selector=S;var O=function(e){function t(r){var n=e.call(this,t.schemaUrl)||this;return n.pageName=r,n}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.pageName=this.pageName,t},t.schemaUrl="http://powerbi.com/product/schema#pageSelector",t}(S);t.PageSelector=O;var C=function(e){function t(r){var n=e.call(this,t.schemaUrl)||this;return n.visualName=r,n}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.visualName=this.visualName,t},t.schemaUrl="http://powerbi.com/product/schema#visualSelector",t}(S);t.VisualSelector=C;var V=function(e){function t(t){var r=e.call(this,C.schemaUrl)||this;return r.visualType=t,r}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.visualType=this.visualType,t},t.schemaUrl="http://powerbi.com/product/schema#visualTypeSelector",t}(S);t.VisualTypeSelector=V;var k=function(e){function t(t){var r=e.call(this,C.schemaUrl)||this;return r.target=t,r}return o(t,e),t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.target=this.target,t},t.schemaUrl="http://powerbi.com/product/schema#slicerTargetSelector",t}(S);function E(e){return Array.isArray(e)}function T(e){return e&&!!e.groupName}function P(e){return Array.isArray(e)}function x(e){var t=e.message;return t||(t="".concat(e.path," is invalid. Not meeting ").concat(e.keyword," constraint")),{message:t}}t.SlicerTargetSelector=k,function(e){e[e.Enabled=0]="Enabled",e[e.Disabled=1]="Disabled",e[e.Hidden=2]="Hidden"}(t.CommandDisplayOption||(t.CommandDisplayOption={})),function(e){e[e.Grouping=0]="Grouping",e[e.Measure=1]="Measure",e[e.GroupingOrMeasure=2]="GroupingOrMeasure"}(t.VisualDataRoleKind||(t.VisualDataRoleKind={})),function(e){e[e.Measure=0]="Measure",e[e.Grouping=1]="Grouping"}(t.VisualDataRoleKindPreference||(t.VisualDataRoleKindPreference={})),t.isOnLoadFilters=function(e){return e&&!E(e)},t.isReportFiltersArray=E,t.isFlatMenuExtension=function(e){return e&&!T(e)},t.isGroupedMenuExtension=T,t.isIExtensions=function(e){return e&&!P(e)},t.isIExtensionArray=P,t.validateVisualSelector=function(e){var t=a.Validators.visualSelectorValidator.validate(e);return t?t.map(x):void 0},t.validateSlicer=function(e){var t=a.Validators.slicerValidator.validate(e);return t?t.map(x):void 0},t.validateSlicerState=function(e){var t=a.Validators.slicerStateValidator.validate(e);return t?t.map(x):void 0},t.validatePlayBookmarkRequest=function(e){var t=a.Validators.playBookmarkRequestValidator.validate(e);return t?t.map(x):void 0},t.validateAddBookmarkRequest=function(e){var t=a.Validators.addBookmarkRequestValidator.validate(e);return t?t.map(x):void 0},t.validateApplyBookmarkByNameRequest=function(e){var t=a.Validators.applyBookmarkByNameRequestValidator.validate(e);return t?t.map(x):void 0},t.validateApplyBookmarkStateRequest=function(e){var t=a.Validators.applyBookmarkStateRequestValidator.validate(e);return t?t.map(x):void 0},t.validateCaptureBookmarkRequest=function(e){var t=a.Validators.captureBookmarkRequestValidator.validate(e);return t?t.map(x):void 0},t.validateSettings=function(e){var t=a.Validators.settingsValidator.validate(e);return t?t.map(x):void 0},t.validatePanes=function(e){var t=a.Validators.reportPanesValidator.validate(e);return t?t.map(x):void 0},t.validateBookmarksPane=function(e){var t=a.Validators.bookmarksPaneValidator.validate(e);return t?t.map(x):void 0},t.validateFiltersPane=function(e){var t=a.Validators.filtersPaneValidator.validate(e);return t?t.map(x):void 0},t.validateFieldsPane=function(e){var t=a.Validators.fieldsPaneValidator.validate(e);return t?t.map(x):void 0},t.validatePageNavigationPane=function(e){var t=a.Validators.pageNavigationPaneValidator.validate(e);return t?t.map(x):void 0},t.validateSelectionPane=function(e){var t=a.Validators.selectionPaneValidator.validate(e);return t?t.map(x):void 0},t.validateSyncSlicersPane=function(e){var t=a.Validators.syncSlicersPaneValidator.validate(e);return t?t.map(x):void 0},t.validateVisualizationsPane=function(e){var t=a.Validators.visualizationsPaneValidator.validate(e);return t?t.map(x):void 0},t.validateCustomPageSize=function(e){var t=a.Validators.customPageSizeValidator.validate(e);return t?t.map(x):void 0},t.validateExtension=function(e){var t=a.Validators.extensionValidator.validate(e);return t?t.map(x):void 0},t.validateMenuGroupExtension=function(e){var t=a.Validators.menuGroupExtensionValidator.validate(e);return t?t.map(x):void 0},t.validateReportLoad=function(e){var t=a.Validators.reportLoadValidator.validate(e);return t?t.map(x):void 0},t.validatePaginatedReportLoad=function(e){var t=a.Validators.paginatedReportLoadValidator.validate(e);return t?t.map(x):void 0},t.validateCreateReport=function(e){var t=a.Validators.reportCreateValidator.validate(e);return t?t.map(x):void 0},t.validateQuickCreate=function(e){var t=a.Validators.quickCreateValidator.validate(e);return t?t.map(x):void 0},t.validateDashboardLoad=function(e){var t=a.Validators.dashboardLoadValidator.validate(e);return t?t.map(x):void 0},t.validateTileLoad=function(e){var t=a.Validators.tileLoadValidator.validate(e);return t?t.map(x):void 0},t.validatePage=function(e){var t=a.Validators.pageValidator.validate(e);return t?t.map(x):void 0},t.validateFilter=function(e){var t=a.Validators.filterValidator.validate(e);return t?t.map(x):void 0},t.validateUpdateFiltersRequest=function(e){var t=a.Validators.updateFiltersRequestValidator.validate(e);return t?t.map(x):void 0},t.validateSaveAsParameters=function(e){var t=a.Validators.saveAsParametersValidator.validate(e);return t?t.map(x):void 0},t.validateLoadQnaConfiguration=function(e){var t=a.Validators.loadQnaValidator.validate(e);return t?t.map(x):void 0},t.validateQnaInterpretInputData=function(e){var t=a.Validators.qnaInterpretInputDataValidator.validate(e);return t?t.map(x):void 0},t.validateExportDataRequest=function(e){var t=a.Validators.exportDataRequestValidator.validate(e);return t?t.map(x):void 0},t.validateVisualHeader=function(e){var t=a.Validators.visualHeaderValidator.validate(e);return t?t.map(x):void 0},t.validateVisualSettings=function(e){var t=a.Validators.visualSettingsValidator.validate(e);return t?t.map(x):void 0},t.validateCommandsSettings=function(e){var t=a.Validators.commandsSettingsValidator.validate(e);return t?t.map(x):void 0},t.validateCustomTheme=function(e){var t=a.Validators.customThemeValidator.validate(e);return t?t.map(x):void 0},t.validateZoomLevel=function(e){var t=a.Validators.zoomLevelValidator.validate(e);return t?t.map(x):void 0},t.validatePrintSettings=function(e){var t=a.Validators.printSettingsValidator.validate(e);return t?t.map(x):void 0}},(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Validators=void 0;var n=r(2),o=r(5),i=r(6),a=r(7),s=r(8),l=r(9),u=r(10),c=r(11),d=r(12),p=r(13),f=r(14),h=r(15),m=r(16),v=r(17),g=r(18),y=r(19),b=r(20),w=r(21),_=r(22),S=r(23),O=r(24),C=r(25),V=r(26),k=r(27),E=r(28),T=r(29),P=r(4),x=r(30),I=r(31),M=r(32),j=r(33),F=r(34);t.Validators={addBookmarkRequestValidator:new o.AddBookmarkRequestValidator,advancedFilterTypeValidator:new P.EnumValidator([0]),advancedFilterValidator:new d.AdvancedFilterValidator,anyArrayValidator:new P.ArrayValidator([new V.AnyOfValidator([new P.StringValidator,new P.NumberValidator,new P.BooleanValidator])]),anyFilterValidator:new V.AnyOfValidator([new d.BasicFilterValidator,new d.AdvancedFilterValidator,new d.IncludeExcludeFilterValidator,new d.NotSupportedFilterValidator,new d.RelativeDateFilterValidator,new d.TopNFilterValidator,new d.RelativeTimeFilterValidator,new d.HierarchyFilterValidator]),anyValueValidator:new V.AnyOfValidator([new P.StringValidator,new P.NumberValidator,new P.BooleanValidator]),actionBarValidator:new n.ActionBarValidator,statusBarValidator:new n.StatusBarValidator,applyBookmarkByNameRequestValidator:new o.ApplyBookmarkByNameRequestValidator,applyBookmarkStateRequestValidator:new o.ApplyBookmarkStateRequestValidator,applyBookmarkValidator:new V.AnyOfValidator([new o.ApplyBookmarkByNameRequestValidator,new o.ApplyBookmarkStateRequestValidator]),backgroundValidator:new P.EnumValidator([0,1]),basicFilterTypeValidator:new P.EnumValidator([1]),basicFilterValidator:new d.BasicFilterValidator,booleanArrayValidator:new P.BooleanArrayValidator,booleanValidator:new P.BooleanValidator,bookmarksPaneValidator:new h.BookmarksPaneValidator,captureBookmarkOptionsValidator:new o.CaptureBookmarkOptionsValidator,captureBookmarkRequestValidator:new o.CaptureBookmarkRequestValidator,columnSchemaArrayValidator:new P.ArrayValidator([new I.ColumnSchemaValidator]),commandDisplayOptionValidator:new P.EnumValidator([0,1,2]),commandExtensionSelectorValidator:new V.AnyOfValidator([new w.VisualSelectorValidator,new w.VisualTypeSelectorValidator]),commandExtensionArrayValidator:new P.ArrayValidator([new c.CommandExtensionValidator]),commandExtensionValidator:new c.CommandExtensionValidator,commandsSettingsArrayValidator:new P.ArrayValidator([new i.CommandsSettingsValidator]),commandsSettingsValidator:new i.CommandsSettingsValidator,conditionItemValidator:new d.ConditionItemValidator,contrastModeValidator:new P.EnumValidator([0,1,2,3,4]),credentialDetailsValidator:new T.MapValidator([new P.StringValidator],[new P.StringValidator]),credentialsValidator:new I.CredentialsValidator,credentialTypeValidator:new P.EnumValidator([0,1,2]),customLayoutDisplayOptionValidator:new P.EnumValidator([0,1,2]),customLayoutValidator:new p.CustomLayoutValidator,customPageSizeValidator:new f.CustomPageSizeValidator,customThemeValidator:new a.CustomThemeValidator,dashboardLoadValidator:new s.DashboardLoadValidator,dataCacheModeValidator:new P.EnumValidator([0,1]),datasetBindingValidator:new l.DatasetBindingValidator,datasetCreateConfigValidator:new I.DatasetCreateConfigValidator,datasourceConnectionConfigValidator:new I.DatasourceConnectionConfigValidator,displayStateModeValidator:new P.EnumValidator([0,1]),displayStateValidator:new p.DisplayStateValidator,exportDataRequestValidator:new u.ExportDataRequestValidator,extensionArrayValidator:new P.ArrayValidator([new c.ExtensionValidator]),extensionsValidator:new V.AnyOfValidator([new P.ArrayValidator([new c.ExtensionValidator]),new c.ExtensionsValidator]),extensionPointsValidator:new c.ExtensionPointsValidator,extensionValidator:new c.ExtensionValidator,fieldForbiddenValidator:new k.FieldForbiddenValidator,fieldRequiredValidator:new E.FieldRequiredValidator,fieldsPaneValidator:new h.FieldsPaneValidator,filterColumnTargetValidator:new d.FilterColumnTargetValidator,filterDisplaySettingsValidator:new d.FilterDisplaySettingsValidator,filterConditionsValidator:new P.ArrayValidator([new d.ConditionItemValidator]),filterHierarchyTargetValidator:new d.FilterHierarchyTargetValidator,filterMeasureTargetValidator:new d.FilterMeasureTargetValidator,filterTargetValidator:new V.AnyOfValidator([new d.FilterColumnTargetValidator,new d.FilterHierarchyTargetValidator,new d.FilterMeasureTargetValidator,new P.ArrayValidator([new V.AnyOfValidator([new d.FilterColumnTargetValidator,new d.FilterHierarchyTargetValidator,new d.FilterMeasureTargetValidator,new d.FilterKeyColumnsTargetValidator,new d.FilterKeyHierarchyTargetValidator,new P.ArrayValidator([new V.AnyOfValidator([new d.FilterColumnTargetValidator,new d.FilterHierarchyTargetValidator,new d.FilterMeasureTargetValidator,new d.FilterKeyColumnsTargetValidator,new d.FilterKeyHierarchyTargetValidator])])])])]),filterValidator:new d.FilterValidator,filterTypeValidator:new P.EnumValidator([0,1,2,3,4,5,6,7,9]),filtersArrayValidator:new P.ArrayValidator([new d.FilterValidator]),filtersOperationsUpdateValidator:new P.EnumValidator([1,2,3]),filtersOperationsRemoveAllValidator:new P.EnumValidator([0]),filtersPaneValidator:new h.FiltersPaneValidator,hyperlinkClickBehaviorValidator:new P.EnumValidator([0,1,2]),includeExcludeFilterValidator:new d.IncludeExcludeFilterValidator,includeExludeFilterTypeValidator:new P.EnumValidator([3]),includeExcludeFilterValuesValidator:new P.ArrayValidator([new V.AnyOfValidator([new P.StringValidator,new P.NumberValidator,new P.BooleanValidator,new P.ArrayValidator([new P.ArrayValidator([new d.IncludeExcludePointValueValidator])])])]),hierarchyFilterTypeValidator:new P.EnumValidator([9]),hierarchyFilterValuesValidator:new P.ArrayValidator([new d.HierarchyFilterNodeValidator]),layoutTypeValidator:new P.EnumValidator([0,1,2,3]),loadQnaValidator:new m.LoadQnaValidator,menuExtensionValidator:new V.AnyOfValidator([new c.FlatMenuExtensionValidator,new c.GroupedMenuExtensionValidator]),menuGroupExtensionArrayValidator:new P.ArrayValidator([new c.MenuGroupExtensionValidator]),menuGroupExtensionValidator:new c.MenuGroupExtensionValidator,menuLocationValidator:new P.EnumValidator([0,1]),notSupportedFilterTypeValidator:new P.EnumValidator([2]),notSupportedFilterValidator:new d.NotSupportedFilterValidator,numberArrayValidator:new P.NumberArrayValidator,numberValidator:new P.NumberValidator,onLoadFiltersBaseValidator:new V.AnyOfValidator([new d.OnLoadFiltersBaseValidator,new d.OnLoadFiltersBaseRemoveOperationValidator]),pageLayoutValidator:new T.MapValidator([new P.StringValidator],[new p.VisualLayoutValidator]),pageNavigationPaneValidator:new h.PageNavigationPaneValidator,pageNavigationPositionValidator:new P.EnumValidator([0,1]),pageSizeTypeValidator:new P.EnumValidator([0,1,2,3,4,5]),pageSizeValidator:new f.PageSizeValidator,pageValidator:new f.PageValidator,pageViewFieldValidator:new f.PageViewFieldValidator,pagesLayoutValidator:new T.MapValidator([new P.StringValidator],[new p.PageLayoutValidator]),paginatedReportCommandsValidator:new i.PaginatedReportCommandsValidator,paginatedReportDatasetBindingArrayValidator:new P.ArrayValidator([new F.PaginatedReportDatasetBindingValidator]),paginatedReportLoadValidator:new y.PaginatedReportLoadValidator,paginatedReportsettingsValidator:new _.PaginatedReportSettingsValidator,parameterValuesArrayValidator:new P.ArrayValidator([new y.ReportParameterFieldsValidator]),parametersPanelValidator:new x.ParametersPanelValidator,permissionsValidator:new P.EnumValidator([0,1,2,4,7]),playBookmarkRequestValidator:new o.PlayBookmarkRequestValidator,printSettingsValidator:new j.PrintSettingsValidator,qnaInterpretInputDataValidator:new m.QnaInterpretInputDataValidator,qnaPanesValidator:new h.QnaPanesValidator,qnaSettingValidator:new m.QnaSettingsValidator,quickCreateValidator:new M.QuickCreateValidator,rawDataValidator:new P.ArrayValidator([new P.ArrayValidator([new P.StringValidator])]),relativeDateFilterOperatorValidator:new P.EnumValidator([0,1,2]),relativeDateFilterTimeUnitTypeValidator:new P.EnumValidator([0,1,2,3,4,5,6]),relativeDateFilterTypeValidator:new P.EnumValidator([4]),relativeDateFilterValidator:new d.RelativeDateFilterValidator,relativeDateTimeFilterTypeValidator:new P.EnumValidator([4,7]),relativeDateTimeFilterUnitTypeValidator:new P.EnumValidator([0,1,2,3,4,5,6,7,8]),relativeTimeFilterTimeUnitTypeValidator:new P.EnumValidator([7,8]),relativeTimeFilterTypeValidator:new P.EnumValidator([7]),relativeTimeFilterValidator:new d.RelativeTimeFilterValidator,reportBarsValidator:new n.ReportBarsValidator,reportCreateValidator:new v.ReportCreateValidator,reportLoadFiltersValidator:new V.AnyOfValidator([new P.ArrayValidator([new d.FilterValidator]),new d.OnLoadFiltersValidator]),reportLoadValidator:new g.ReportLoadValidator,reportPanesValidator:new h.ReportPanesValidator,saveAsParametersValidator:new b.SaveAsParametersValidator,selectionPaneValidator:new h.SelectionPaneValidator,settingsValidator:new _.SettingsValidator,singleCommandSettingsValidator:new i.SingleCommandSettingsValidator,slicerSelectorValidator:new V.AnyOfValidator([new w.VisualSelectorValidator,new w.SlicerTargetSelectorValidator]),slicerStateValidator:new S.SlicerStateValidator,slicerTargetValidator:new V.AnyOfValidator([new d.FilterColumnTargetValidator,new d.FilterHierarchyTargetValidator,new d.FilterMeasureTargetValidator,new d.FilterKeyColumnsTargetValidator,new d.FilterKeyHierarchyTargetValidator]),slicerValidator:new S.SlicerValidator,stringArrayValidator:new P.StringArrayValidator,stringValidator:new P.StringValidator,syncSlicersPaneValidator:new h.SyncSlicersPaneValidator,tableDataArrayValidator:new P.ArrayValidator([new I.TableDataValidator]),tableSchemaListValidator:new P.ArrayValidator([new I.TableSchemaValidator]),tileLoadValidator:new O.TileLoadValidator,tokenTypeValidator:new P.EnumValidator([0,1]),topNFilterTypeValidator:new P.EnumValidator([5]),topNFilterValidator:new d.TopNFilterValidator,updateFiltersRequestValidator:new V.AnyOfValidator([new d.UpdateFiltersRequestValidator,new d.RemoveFiltersRequestValidator]),viewModeValidator:new P.EnumValidator([0,1]),visualCommandSelectorValidator:new V.AnyOfValidator([new w.VisualSelectorValidator,new w.VisualTypeSelectorValidator]),visualHeaderSelectorValidator:new V.AnyOfValidator([new w.VisualSelectorValidator,new w.VisualTypeSelectorValidator]),visualHeaderSettingsValidator:new C.VisualHeaderSettingsValidator,visualHeaderValidator:new C.VisualHeaderValidator,visualHeadersValidator:new P.ArrayValidator([new C.VisualHeaderValidator]),visualizationsPaneValidator:new h.VisualizationsPaneValidator,visualLayoutValidator:new p.VisualLayoutValidator,visualSelectorValidator:new w.VisualSelectorValidator,visualSettingsValidator:new C.VisualSettingsValidator,visualTypeSelectorValidator:new w.VisualTypeSelectorValidator,zoomLevelValidator:new P.RangeValidator(.25,4)}},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBarValidator=t.ActionBarValidator=t.ReportBarsValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"actionBar",validators:[s.Validators.actionBarValidator]},{field:"statusBar",validators:[s.Validators.statusBarValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ReportBarsValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visible",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ActionBarValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visible",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.StatusBarValidator=c},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MultipleFieldsValidator=void 0;var r=function(){function e(e){this.fieldValidatorsPairs=e}return e.prototype.validate=function(e,t,r){if(!this.fieldValidatorsPairs)return null;for(var n=t?t+"."+r:r,o=0,i=this.fieldValidatorsPairs;o<i.length;o++)for(var a=i[o],s=0,l=a.validators;s<l.length;s++){var u=l[s].validate(e[a.field],n,a.field);if(u)return u}return null},e}();t.MultipleFieldsValidator=r},function(e,t){var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.RangeValidator=t.NumberArrayValidator=t.BooleanArrayValidator=t.StringArrayValidator=t.EnumValidator=t.SchemaValidator=t.ValueValidator=t.NumberValidator=t.BooleanValidator=t.StringValidator=t.TypeValidator=t.ArrayValidator=t.ObjectValidator=void 0;var o=function(){function e(){}return e.prototype.validate=function(e,t,r){return null==e?null:"object"!=typeof e||Array.isArray(e)?[{message:void 0!==r?r+" must be an object":"input must be an object",path:t,keyword:"type"}]:null},e}();t.ObjectValidator=o;var i=function(){function e(e){this.itemValidators=e}return e.prototype.validate=function(e,t,r){if(null==e)return null;if(!Array.isArray(e))return[{message:r+" property is invalid",path:(t?t+".":"")+r,keyword:"type"}];for(var n=0;n<e.length;n++)for(var o=(t?t+".":"")+r+"."+n.toString(),i=0,a=this.itemValidators;i<a.length;i++)if(a[i].validate(e[n],o,r))return[{message:r+" property is invalid",path:(t?t+".":"")+r,keyword:"type"}];return null},e}();t.ArrayValidator=i;var a=function(){function e(e){this.expectedType=e}return e.prototype.validate=function(e,t,r){return null==e?null:typeof e!==this.expectedType?[{message:r+" must be a "+this.expectedType,path:(t?t+".":"")+r,keyword:"type"}]:null},e}();t.TypeValidator=a;var s=function(e){function t(){return e.call(this,"string")||this}return n(t,e),t}(a);t.StringValidator=s;var l=function(e){function t(){return e.call(this,"boolean")||this}return n(t,e),t}(a);t.BooleanValidator=l;var u=function(e){function t(){return e.call(this,"number")||this}return n(t,e),t}(a);t.NumberValidator=u;var c=function(){function e(e){this.possibleValues=e}return e.prototype.validate=function(e,t,r){return null==e?null:this.possibleValues.indexOf(e)<0?[{message:r+" property is invalid",path:(t?t+".":"")+r,keyword:"invalid"}]:null},e}();t.ValueValidator=c;var d=function(e){function t(t){var r=e.call(this,[t])||this;return r.schemaValue=t,r}return n(t,e),t.prototype.validate=function(t,r,n){return e.prototype.validate.call(this,t,r,n)},t}(c);t.SchemaValidator=d;var p=function(e){function t(t){var r=e.call(this)||this;return r.possibleValues=t,r}return n(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);return o||new c(this.possibleValues).validate(t,r,n)},t}(u);t.EnumValidator=p;var f=function(e){function t(){return e.call(this,[new s])||this}return n(t,e),t.prototype.validate=function(t,r,n){return e.prototype.validate.call(this,t,r,n)?[{message:n+" must be an array of strings",path:(r?r+".":"")+n,keyword:"type"}]:null},t}(i);t.StringArrayValidator=f;var h=function(e){function t(){return e.call(this,[new l])||this}return n(t,e),t.prototype.validate=function(t,r,n){return e.prototype.validate.call(this,t,r,n)?[{message:n+" must be an array of booleans",path:(r?r+".":"")+n,keyword:"type"}]:null},t}(i);t.BooleanArrayValidator=h;var m=function(e){function t(){return e.call(this,[new u])||this}return n(t,e),t.prototype.validate=function(t,r,n){return e.prototype.validate.call(this,t,r,n)?[{message:n+" must be an array of numbers",path:(r?r+".":"")+n,keyword:"type"}]:null},t}(i);t.NumberArrayValidator=m;var v=function(e){function t(t,r){var n=e.call(this)||this;return n.minValue=t,n.maxValue=r,n}return n(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);return o||(t>this.maxValue||t<this.minValue?[{message:n+" must be a number between "+this.minValue.toString()+" and "+this.maxValue.toString(),path:(r?r+".":"")+n,keyword:"range"}]:null)},t}(u);t.RangeValidator=v},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CaptureBookmarkRequestValidator=t.CaptureBookmarkOptionsValidator=t.ApplyBookmarkStateRequestValidator=t.ApplyBookmarkByNameRequestValidator=t.AddBookmarkRequestValidator=t.PlayBookmarkRequestValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var l=[{field:"playMode",validators:[s.Validators.fieldRequiredValidator,new a.EnumValidator([0,1])]}];return new i.MultipleFieldsValidator(l).validate(t,r,n)},t}(a.ObjectValidator);t.PlayBookmarkRequestValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"state",validators:[s.Validators.stringValidator]},{field:"displayName",validators:[s.Validators.stringValidator]},{field:"apply",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.AddBookmarkRequestValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ApplyBookmarkByNameRequestValidator=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"state",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ApplyBookmarkStateRequestValidator=d;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"personalizeVisuals",validators:[s.Validators.booleanValidator]},{field:"allPages",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.CaptureBookmarkOptionsValidator=p;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"options",validators:[s.Validators.fieldRequiredValidator,s.Validators.captureBookmarkOptionsValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.CaptureBookmarkRequestValidator=f},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.PaginatedReportCommandsValidator=t.SingleCommandSettingsValidator=t.CommandsSettingsValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"copy",validators:[s.Validators.singleCommandSettingsValidator]},{field:"drill",validators:[s.Validators.singleCommandSettingsValidator]},{field:"drillthrough",validators:[s.Validators.singleCommandSettingsValidator]},{field:"expandCollapse",validators:[s.Validators.singleCommandSettingsValidator]},{field:"exportData",validators:[s.Validators.singleCommandSettingsValidator]},{field:"includeExclude",validators:[s.Validators.singleCommandSettingsValidator]},{field:"removeVisual",validators:[s.Validators.singleCommandSettingsValidator]},{field:"search",validators:[s.Validators.singleCommandSettingsValidator]},{field:"seeData",validators:[s.Validators.singleCommandSettingsValidator]},{field:"sort",validators:[s.Validators.singleCommandSettingsValidator]},{field:"spotlight",validators:[s.Validators.singleCommandSettingsValidator]},{field:"insightsAnalysis",validators:[s.Validators.singleCommandSettingsValidator]},{field:"addComment",validators:[s.Validators.singleCommandSettingsValidator]},{field:"groupVisualContainers",validators:[s.Validators.singleCommandSettingsValidator]},{field:"summarize",validators:[s.Validators.singleCommandSettingsValidator]},{field:"clearSelection",validators:[s.Validators.singleCommandSettingsValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.CommandsSettingsValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"displayOption",validators:[s.Validators.fieldRequiredValidator,s.Validators.commandDisplayOptionValidator]},{field:"selector",validators:[s.Validators.visualCommandSelectorValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.SingleCommandSettingsValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"parameterPanel",validators:[s.Validators.parametersPanelValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.PaginatedReportCommandsValidator=c},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CustomThemeValidator=void 0;var i=r(3),a=r(4),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var s=[{field:"themeJson",validators:[new a.ObjectValidator]}];return new i.MultipleFieldsValidator(s).validate(t,r,n)},t}(a.ObjectValidator);t.CustomThemeValidator=s},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.DashboardLoadValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"accessToken",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"id",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"groupId",validators:[s.Validators.stringValidator]},{field:"pageView",validators:[s.Validators.pageViewFieldValidator]},{field:"tokenType",validators:[s.Validators.tokenTypeValidator]},{field:"embedUrl",validators:[s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.DashboardLoadValidator=l},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.DatasetBindingValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;if(!t.datasetId&&!t.paginatedReportBindings)return[{message:"datasetBinding cannot be empty",path:(r?r+".":"")+n,keyword:"invalid"}];var a=[{field:"datasetId",validators:[s.Validators.stringValidator]},{field:"paginatedReportBindings",validators:[s.Validators.paginatedReportDatasetBindingArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.DatasetBindingValidator=l},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ExportDataRequestValidator=void 0;var i=r(3),a=r(4),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var s=[{field:"rows",validators:[new a.NumberValidator]},{field:"exportDataType",validators:[new a.EnumValidator([0,1])]}];return new i.MultipleFieldsValidator(s).validate(t,r,n)},t}(a.ObjectValidator);t.ExportDataRequestValidator=s},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionsValidator=t.MenuGroupExtensionValidator=t.ExtensionValidator=t.CommandExtensionValidator=t.ExtensionItemValidator=t.ExtensionPointsValidator=t.GroupedMenuExtensionValidator=t.FlatMenuExtensionValidator=t.MenuExtensionBaseValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"title",validators:[s.Validators.stringValidator]},{field:"icon",validators:[s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.MenuExtensionBaseValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"menuLocation",validators:[s.Validators.menuLocationValidator]},{field:"groupName",validators:[s.Validators.fieldForbiddenValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(l);t.FlatMenuExtensionValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"groupName",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"menuLocation",validators:[s.Validators.fieldForbiddenValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(l);t.GroupedMenuExtensionValidator=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visualContextMenu",validators:[s.Validators.menuExtensionValidator]},{field:"visualOptionsMenu",validators:[s.Validators.menuExtensionValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ExtensionPointsValidator=d;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"extend",validators:[s.Validators.fieldRequiredValidator,s.Validators.extensionPointsValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ExtensionItemValidator=p;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"title",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"icon",validators:[s.Validators.stringValidator]},{field:"selector",validators:[s.Validators.commandExtensionSelectorValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(p);t.CommandExtensionValidator=f;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"command",validators:[s.Validators.commandExtensionValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ExtensionValidator=h;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"title",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"menuLocation",validators:[s.Validators.menuLocationValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.MenuGroupExtensionValidator=m;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"commands",validators:[s.Validators.fieldRequiredValidator,s.Validators.commandExtensionArrayValidator]},{field:"groups",validators:[s.Validators.menuGroupExtensionArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ExtensionsValidator=v},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.OnLoadFiltersValidator=t.OnLoadFiltersBaseRemoveOperationValidator=t.OnLoadFiltersBaseValidator=t.ConditionItemValidator=t.RemoveFiltersRequestValidator=t.UpdateFiltersRequestValidator=t.FilterValidator=t.IncludeExcludePointValueValidator=t.HierarchyFilterNodeValidator=t.HierarchyFilterValidator=t.IncludeExcludeFilterValidator=t.NotSupportedFilterValidator=t.TopNFilterValidator=t.RelativeTimeFilterValidator=t.RelativeDateFilterValidator=t.RelativeDateTimeFilterValidator=t.AdvancedFilterValidator=t.BasicFilterValidator=t.FilterValidatorBase=t.FilterDisplaySettingsValidator=t.FilterMeasureTargetValidator=t.FilterKeyHierarchyTargetValidator=t.FilterHierarchyTargetValidator=t.FilterKeyColumnsTargetValidator=t.FilterColumnTargetValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"table",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"column",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.FilterColumnTargetValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"keys",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(l);t.FilterKeyColumnsTargetValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"table",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"hierarchy",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"hierarchyLevel",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.FilterHierarchyTargetValidator=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"keys",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(c);t.FilterKeyHierarchyTargetValidator=d;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"table",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"measure",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.FilterMeasureTargetValidator=p;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"isLockedInViewMode",validators:[s.Validators.booleanValidator]},{field:"isHiddenInViewMode",validators:[s.Validators.booleanValidator]},{field:"displayName",validators:[s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.FilterDisplaySettingsValidator=f;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"target",validators:[s.Validators.fieldRequiredValidator,s.Validators.filterTargetValidator]},{field:"$schema",validators:[s.Validators.stringValidator]},{field:"filterType",validators:[s.Validators.filterTypeValidator]},{field:"displaySettings",validators:[s.Validators.filterDisplaySettingsValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.FilterValidatorBase=h;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"operator",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"values",validators:[s.Validators.fieldRequiredValidator,s.Validators.anyArrayValidator]},{field:"filterType",validators:[s.Validators.basicFilterTypeValidator]},{field:"requireSingleSelection",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(h);t.BasicFilterValidator=m;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"logicalOperator",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"conditions",validators:[s.Validators.filterConditionsValidator]},{field:"filterType",validators:[s.Validators.advancedFilterTypeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(h);t.AdvancedFilterValidator=v;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"operator",validators:[s.Validators.fieldRequiredValidator,s.Validators.relativeDateFilterOperatorValidator]},{field:"timeUnitsCount",validators:[s.Validators.numberValidator]},{field:"timeUnitType",validators:[s.Validators.fieldRequiredValidator,s.Validators.relativeDateTimeFilterUnitTypeValidator]},{field:"filterType",validators:[s.Validators.relativeDateTimeFilterTypeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(h);t.RelativeDateTimeFilterValidator=g;var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"includeToday",validators:[s.Validators.fieldRequiredValidator,s.Validators.booleanValidator]},{field:"timeUnitType",validators:[s.Validators.fieldRequiredValidator,s.Validators.relativeDateFilterTimeUnitTypeValidator]},{field:"filterType",validators:[s.Validators.relativeDateFilterTypeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(g);t.RelativeDateFilterValidator=y;var b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"timeUnitType",validators:[s.Validators.fieldRequiredValidator,s.Validators.relativeTimeFilterTimeUnitTypeValidator]},{field:"filterType",validators:[s.Validators.relativeTimeFilterTypeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(g);t.RelativeTimeFilterValidator=b;var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"operator",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"itemCount",validators:[s.Validators.fieldRequiredValidator,s.Validators.numberValidator]},{field:"filterType",validators:[s.Validators.topNFilterTypeValidator]},{field:"orderBy",validators:[s.Validators.fieldRequiredValidator,s.Validators.filterTargetValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(h);t.TopNFilterValidator=w;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"message",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"notSupportedTypeName",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"filterType",validators:[s.Validators.notSupportedFilterTypeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(h);t.NotSupportedFilterValidator=_;var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"isExclude",validators:[s.Validators.fieldRequiredValidator,s.Validators.booleanValidator]},{field:"values",validators:[s.Validators.fieldRequiredValidator,s.Validators.includeExcludeFilterValuesValidator]},{field:"filterType",validators:[s.Validators.includeExludeFilterTypeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(h);t.IncludeExcludeFilterValidator=S;var O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"hierarchyData",validators:[s.Validators.fieldRequiredValidator,s.Validators.hierarchyFilterValuesValidator]},{field:"filterType",validators:[s.Validators.hierarchyFilterTypeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(h);t.HierarchyFilterValidator=O;var C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"value",validators:[s.Validators.anyValueValidator]},{field:"keyValues",validators:[s.Validators.anyArrayValidator]},{field:"children",validators:[s.Validators.hierarchyFilterValuesValidator]},{field:"operator",validators:[s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.HierarchyFilterNodeValidator=C;var V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"value",validators:[s.Validators.fieldRequiredValidator,s.Validators.anyValueValidator]},{field:"keyValues",validators:[s.Validators.anyArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.IncludeExcludePointValueValidator=V;var k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);return o||s.Validators.anyFilterValidator.validate(t,r,n)},t}(a.ObjectValidator);t.FilterValidator=k;var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"filtersOperation",validators:[s.Validators.fieldRequiredValidator,s.Validators.filtersOperationsUpdateValidator]},{field:"filters",validators:[s.Validators.fieldRequiredValidator,s.Validators.filtersArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.UpdateFiltersRequestValidator=E;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"filtersOperation",validators:[s.Validators.fieldRequiredValidator,s.Validators.filtersOperationsRemoveAllValidator]},{field:"filters",validators:[s.Validators.fieldForbiddenValidator,s.Validators.filtersArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.RemoveFiltersRequestValidator=T;var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"value",validators:[s.Validators.anyValueValidator]},{field:"operator",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ConditionItemValidator=P;var x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"operation",validators:[s.Validators.fieldRequiredValidator,s.Validators.filtersOperationsUpdateValidator]},{field:"filters",validators:[s.Validators.fieldRequiredValidator,s.Validators.filtersArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.OnLoadFiltersBaseValidator=x;var I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"operation",validators:[s.Validators.fieldRequiredValidator,s.Validators.filtersOperationsRemoveAllValidator]},{field:"filters",validators:[s.Validators.fieldForbiddenValidator,s.Validators.filtersArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.OnLoadFiltersBaseRemoveOperationValidator=I;var M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"allPages",validators:[s.Validators.onLoadFiltersBaseValidator]},{field:"currentPage",validators:[s.Validators.onLoadFiltersBaseValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.OnLoadFiltersValidator=M},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.PageLayoutValidator=t.DisplayStateValidator=t.VisualLayoutValidator=t.CustomLayoutValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"pageSize",validators:[s.Validators.pageSizeValidator]},{field:"displayOption",validators:[s.Validators.customLayoutDisplayOptionValidator]},{field:"pagesLayout",validators:[s.Validators.pagesLayoutValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.CustomLayoutValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"x",validators:[s.Validators.numberValidator]},{field:"y",validators:[s.Validators.numberValidator]},{field:"z",validators:[s.Validators.numberValidator]},{field:"width",validators:[s.Validators.numberValidator]},{field:"height",validators:[s.Validators.numberValidator]},{field:"displayState",validators:[s.Validators.displayStateValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.VisualLayoutValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"mode",validators:[s.Validators.displayStateModeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.DisplayStateValidator=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visualsLayout",validators:[s.Validators.fieldRequiredValidator,s.Validators.pageLayoutValidator]},{field:"defaultLayout",validators:[s.Validators.visualLayoutValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.PageLayoutValidator=d},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.PageViewFieldValidator=t.PageValidator=t.CustomPageSizeValidator=t.PageSizeValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"type",validators:[s.Validators.fieldRequiredValidator,s.Validators.pageSizeTypeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.PageSizeValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"width",validators:[s.Validators.numberValidator]},{field:"height",validators:[s.Validators.numberValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(l);t.CustomPageSizeValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.PageValidator=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);return o||(["actualSize","fitToWidth","oneColumn"].indexOf(t)<0?[{message:'pageView must be a string with one of the following values: "actualSize", "fitToWidth", "oneColumn"'}]:null)},t}(a.StringValidator);t.PageViewFieldValidator=d},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.VisualizationsPaneValidator=t.SyncSlicersPaneValidator=t.SelectionPaneValidator=t.PageNavigationPaneValidator=t.FiltersPaneValidator=t.FieldsPaneValidator=t.BookmarksPaneValidator=t.QnaPanesValidator=t.ReportPanesValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"bookmarks",validators:[s.Validators.bookmarksPaneValidator]},{field:"fields",validators:[s.Validators.fieldsPaneValidator]},{field:"filters",validators:[s.Validators.filtersPaneValidator]},{field:"pageNavigation",validators:[s.Validators.pageNavigationPaneValidator]},{field:"selection",validators:[s.Validators.selectionPaneValidator]},{field:"syncSlicers",validators:[s.Validators.syncSlicersPaneValidator]},{field:"visualizations",validators:[s.Validators.visualizationsPaneValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ReportPanesValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"filters",validators:[s.Validators.filtersPaneValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.QnaPanesValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visible",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.BookmarksPaneValidator=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"expanded",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.FieldsPaneValidator=d;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visible",validators:[s.Validators.booleanValidator]},{field:"expanded",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.FiltersPaneValidator=p;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visible",validators:[s.Validators.booleanValidator]},{field:"position",validators:[s.Validators.pageNavigationPositionValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.PageNavigationPaneValidator=f;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visible",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.SelectionPaneValidator=h;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visible",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.SyncSlicersPaneValidator=m;var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"expanded",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.VisualizationsPaneValidator=v},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.QnaInterpretInputDataValidator=t.QnaSettingsValidator=t.LoadQnaValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"accessToken",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"datasetIds",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringArrayValidator]},{field:"question",validators:[s.Validators.stringValidator]},{field:"viewMode",validators:[s.Validators.viewModeValidator]},{field:"settings",validators:[s.Validators.qnaSettingValidator]},{field:"tokenType",validators:[s.Validators.tokenTypeValidator]},{field:"groupId",validators:[s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.LoadQnaValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"filterPaneEnabled",validators:[s.Validators.booleanValidator]},{field:"hideErrors",validators:[s.Validators.booleanValidator]},{field:"panes",validators:[s.Validators.qnaPanesValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.QnaSettingsValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"datasetIds",validators:[s.Validators.stringArrayValidator]},{field:"question",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.QnaInterpretInputDataValidator=c},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReportCreateValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"accessToken",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"datasetId",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"groupId",validators:[s.Validators.stringValidator]},{field:"tokenType",validators:[s.Validators.tokenTypeValidator]},{field:"theme",validators:[s.Validators.customThemeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ReportCreateValidator=l},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReportLoadValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"accessToken",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"id",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"groupId",validators:[s.Validators.stringValidator]},{field:"settings",validators:[s.Validators.settingsValidator]},{field:"pageName",validators:[s.Validators.stringValidator]},{field:"filters",validators:[s.Validators.reportLoadFiltersValidator]},{field:"permissions",validators:[s.Validators.permissionsValidator]},{field:"viewMode",validators:[s.Validators.viewModeValidator]},{field:"tokenType",validators:[s.Validators.tokenTypeValidator]},{field:"bookmark",validators:[s.Validators.applyBookmarkValidator]},{field:"theme",validators:[s.Validators.customThemeValidator]},{field:"embedUrl",validators:[s.Validators.stringValidator]},{field:"datasetBinding",validators:[s.Validators.datasetBindingValidator]},{field:"contrastMode",validators:[s.Validators.contrastModeValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ReportLoadValidator=l},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReportParameterFieldsValidator=t.PaginatedReportLoadValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"accessToken",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"id",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"groupId",validators:[s.Validators.stringValidator]},{field:"settings",validators:[s.Validators.paginatedReportsettingsValidator]},{field:"tokenType",validators:[s.Validators.tokenTypeValidator]},{field:"embedUrl",validators:[s.Validators.stringValidator]},{field:"type",validators:[s.Validators.stringValidator]},{field:"parameterValues",validators:[s.Validators.parameterValuesArrayValidator]},{field:"datasetBindings",validators:[s.Validators.paginatedReportDatasetBindingArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.PaginatedReportLoadValidator=l;var u=function(){function e(){}return e.prototype.validate=function(e,t,r){if(null==e)return null;var n=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"value",validators:[s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(n).validate(e,t,r)},e}();t.ReportParameterFieldsValidator=u},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.SaveAsParametersValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.SaveAsParametersValidator=l},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.SlicerTargetSelectorValidator=t.VisualTypeSelectorValidator=t.VisualSelectorValidator=void 0;var i=r(3),a=r(4),s=r(4),l=r(1),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"$schema",validators:[l.Validators.stringValidator,new s.SchemaValidator("http://powerbi.com/product/schema#visualSelector")]},{field:"visualName",validators:[l.Validators.fieldRequiredValidator,l.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.VisualSelectorValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"$schema",validators:[l.Validators.fieldRequiredValidator,l.Validators.stringValidator,new s.SchemaValidator("http://powerbi.com/product/schema#visualTypeSelector")]},{field:"visualType",validators:[l.Validators.fieldRequiredValidator,l.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.VisualTypeSelectorValidator=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"$schema",validators:[l.Validators.fieldRequiredValidator,l.Validators.stringValidator,new s.SchemaValidator("http://powerbi.com/product/schema#slicerTargetSelector")]},{field:"target",validators:[l.Validators.fieldRequiredValidator,l.Validators.slicerTargetValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.SlicerTargetSelectorValidator=d},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.PaginatedReportSettingsValidator=t.SettingsValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"filterPaneEnabled",validators:[s.Validators.booleanValidator]},{field:"navContentPaneEnabled",validators:[s.Validators.booleanValidator]},{field:"bookmarksPaneEnabled",validators:[s.Validators.booleanValidator]},{field:"useCustomSaveAsDialog",validators:[s.Validators.booleanValidator]},{field:"extensions",validators:[s.Validators.extensionsValidator]},{field:"layoutType",validators:[s.Validators.layoutTypeValidator]},{field:"customLayout",validators:[s.Validators.customLayoutValidator]},{field:"background",validators:[s.Validators.backgroundValidator]},{field:"visualSettings",validators:[s.Validators.visualSettingsValidator]},{field:"hideErrors",validators:[s.Validators.booleanValidator]},{field:"commands",validators:[s.Validators.commandsSettingsArrayValidator]},{field:"hyperlinkClickBehavior",validators:[s.Validators.hyperlinkClickBehaviorValidator]},{field:"bars",validators:[s.Validators.reportBarsValidator]},{field:"panes",validators:[s.Validators.reportPanesValidator]},{field:"personalBookmarksEnabled",validators:[s.Validators.booleanValidator]},{field:"persistentFiltersEnabled",validators:[s.Validators.booleanValidator]},{field:"visualRenderedEvents",validators:[s.Validators.booleanValidator]},{field:"authoringHintsEnabled",validators:[s.Validators.booleanValidator]},{field:"printSettings",validators:[s.Validators.printSettingsValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.SettingsValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"commands",validators:[s.Validators.paginatedReportCommandsValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.PaginatedReportSettingsValidator=u},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.SlicerStateValidator=t.SlicerValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"selector",validators:[s.Validators.fieldRequiredValidator,s.Validators.slicerSelectorValidator]},{field:"state",validators:[s.Validators.fieldRequiredValidator,s.Validators.slicerStateValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.SlicerValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"filters",validators:[s.Validators.filtersArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.SlicerStateValidator=u},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.TileLoadValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"accessToken",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"id",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"dashboardId",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"groupId",validators:[s.Validators.stringValidator]},{field:"pageView",validators:[s.Validators.stringValidator]},{field:"tokenType",validators:[s.Validators.tokenTypeValidator]},{field:"width",validators:[s.Validators.numberValidator]},{field:"height",validators:[s.Validators.numberValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.TileLoadValidator=l},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.VisualHeaderValidator=t.VisualHeaderSettingsValidator=t.VisualSettingsValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visualHeaders",validators:[s.Validators.visualHeadersValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.VisualSettingsValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"visible",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.VisualHeaderSettingsValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"settings",validators:[s.Validators.fieldRequiredValidator,s.Validators.visualHeaderSettingsValidator]},{field:"selector",validators:[s.Validators.visualHeaderSelectorValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.VisualHeaderValidator=c},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnyOfValidator=void 0;var r=function(){function e(e){this.validators=e}return e.prototype.validate=function(e,t,r){if(null==e)return null;for(var n=!1,o=0,i=this.validators;o<i.length;o++)if(!i[o].validate(e,t,r)){n=!0;break}return n?null:[{message:r+" property is invalid",path:(t?t+".":"")+r,keyword:"invalid"}]},e}();t.AnyOfValidator=r},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FieldForbiddenValidator=void 0;var r=function(){function e(){}return e.prototype.validate=function(e,t,r){return void 0!==e?[{message:r+" is forbidden",path:(t?t+".":"")+r,keyword:"forbidden"}]:null},e}();t.FieldForbiddenValidator=r},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FieldRequiredValidator=void 0;var r=function(){function e(){}return e.prototype.validate=function(e,t,r){return null==e?[{message:r+" is required",path:(t?t+".":"")+r,keyword:"required"}]:null},e}();t.FieldRequiredValidator=r},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.MapValidator=void 0;var i=function(e){function t(t,r){var n=e.call(this)||this;return n.keyValidators=t,n.valueValidators=r,n}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;for(var i in t)if(t.hasOwnProperty(i)){for(var a=(r?r+".":"")+n+"."+i,s=0,l=this.keyValidators;s<l.length;s++)if(o=l[s].validate(i,a,n))return o;for(var u=0,c=this.valueValidators;u<c.length;u++)if(o=c[u].validate(t[i],a,n))return o}return null},t}(r(4).ObjectValidator);t.MapValidator=i},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ParametersPanelValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"expanded",validators:[s.Validators.booleanValidator]},{field:"enabled",validators:[s.Validators.booleanValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ParametersPanelValidator=l},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.TableDataValidator=t.TableSchemaValidator=t.ColumnSchemaValidator=t.CredentialsValidator=t.DatasourceConnectionConfigValidator=t.DatasetCreateConfigValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"locale",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"mashupDocument",validators:[s.Validators.stringValidator]},{field:"datasourceConnectionConfig",validators:[s.Validators.datasourceConnectionConfigValidator]},{field:"tableSchemaList",validators:[s.Validators.tableSchemaListValidator]},{field:"data",validators:[s.Validators.tableDataArrayValidator]}];return(o=new i.MultipleFieldsValidator(a).validate(t,r,n))||(t.datasourceConnectionConfig&&null==t.mashupDocument?[{message:"mashupDocument cannot be empty when datasourceConnectionConfig is presented"}]:t.data&&null==t.tableSchemaList?[{message:"tableSchemaList cannot be empty when data is provided"}]:null==t.data&&null==t.mashupDocument?[{message:"At least one of data or mashupDocument must be provided"}]:void 0)},t}(a.ObjectValidator);t.DatasetCreateConfigValidator=l;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"dataCacheMode",validators:[s.Validators.dataCacheModeValidator]},{field:"credentials",validators:[s.Validators.credentialsValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.DatasourceConnectionConfigValidator=u;var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"credentialType",validators:[s.Validators.credentialTypeValidator]},{field:"credentialDetails",validators:[s.Validators.credentialDetailsValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.CredentialsValidator=c;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"displayName",validators:[s.Validators.stringValidator]},{field:"dataType",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.ColumnSchemaValidator=d;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"columns",validators:[s.Validators.fieldRequiredValidator,s.Validators.columnSchemaArrayValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.TableSchemaValidator=p;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"name",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"rows",validators:[s.Validators.fieldRequiredValidator,s.Validators.rawDataValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.TableDataValidator=f},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.QuickCreateValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"accessToken",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"groupId",validators:[s.Validators.stringValidator]},{field:"tokenType",validators:[s.Validators.tokenTypeValidator]},{field:"theme",validators:[s.Validators.customThemeValidator]},{field:"datasetCreateConfig",validators:[s.Validators.fieldRequiredValidator,s.Validators.datasetCreateConfigValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.QuickCreateValidator=l},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.PrintSettingsValidator=void 0;var i=r(3),a=r(4),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var s=[{field:"browserPrintAdjustmentsMode",validators:[new a.EnumValidator([0,1])]}];return new i.MultipleFieldsValidator(s).validate(t,r,n)},t}(a.ObjectValidator);t.PrintSettingsValidator=s},function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.PaginatedReportDatasetBindingValidator=void 0;var i=r(3),a=r(4),s=r(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.validate=function(t,r,n){if(null==t)return null;var o=e.prototype.validate.call(this,t,r,n);if(o)return o;var a=[{field:"sourceDatasetId",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]},{field:"targetDatasetId",validators:[s.Validators.fieldRequiredValidator,s.Validators.stringValidator]}];return new i.MultipleFieldsValidator(a).validate(t,r,n)},t}(a.ObjectValidator);t.PaginatedReportDatasetBindingValidator=l}],t={};return function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}(0)})(),e.exports=t()},"./node_modules/powerbi-router/dist/router.js":
/*!****************************************************!*\
  !*** ./node_modules/powerbi-router/dist/router.js ***!
  \****************************************************/function(e){
/*! powerbi-router v0.1.5 | (c) 2016 Microsoft Corporation MIT */
var t;t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){"use strict";var n=r(1),o=function(){function e(e){this.handlers=e,this.getRouteRecognizer=new n,this.patchRouteRecognizer=new n,this.postRouteRecognizer=new n,this.putRouteRecognizer=new n,this.deleteRouteRecognizer=new n}return e.prototype.get=function(e,t){return this.registerHandler(this.getRouteRecognizer,"GET",e,t),this},e.prototype.patch=function(e,t){return this.registerHandler(this.patchRouteRecognizer,"PATCH",e,t),this},e.prototype.post=function(e,t){return this.registerHandler(this.postRouteRecognizer,"POST",e,t),this},e.prototype.put=function(e,t){return this.registerHandler(this.putRouteRecognizer,"PUT",e,t),this},e.prototype.delete=function(e,t){return this.registerHandler(this.deleteRouteRecognizer,"DELETE",e,t),this},e.prototype.registerHandler=function(e,t,r,n){e.add([{path:r,handler:function(e){var t=new i;return Promise.resolve(n(e,t)).then((function(e){return t}))}}]);var o={test:function(r){if(r.method!==t)return!1;var n=e.recognize(r.url);if(void 0===n)return!1;var o=n[0];return r.params=o.params,r.queryParams=n.queryParams,r.handler=o.handler,!0},handle:function(e){return e.handler(e)}};this.handlers.addHandler(o)},e}();t.Router=o;var i=function(){function e(){this.statusCode=200,this.headers={},this.body=null}return e.prototype.send=function(e,t){this.statusCode=e,this.body=t},e}();t.Response=i},function(e,t,r){var n;(function(e){(function(){"use strict";function o(e,t,r){this.path=e,this.matcher=t,this.delegate=r}function i(e){this.routes={},this.children={},this.target=e}function a(e,t,r){return function(n,i){var s=e+n;if(!i)return new o(e+n,t,r);i(a(s,t,r))}}function s(e,t,r){for(var n=0,o=0;o<e.length;o++)n+=e[o].path.length;var i={path:t=t.substr(n),handler:r};e.push(i)}o.prototype={to:function(e,t){var r=this.delegate;if(r&&r.willAddRoute&&(e=r.willAddRoute(this.matcher.target,e)),this.matcher.add(this.path,e),t){if(0===t.length)throw new Error("You must have an argument in the function passed to `to`");this.matcher.addChild(this.path,e,t,this.delegate)}return this}},i.prototype={add:function(e,t){this.routes[e]=t},addChild:function(e,t,r,n){var o=new i(t);this.children[e]=o;var s=a(e,o,n);n&&n.contextEntered&&n.contextEntered(t,s),r(s)}};var l=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\"].join("|\\")+")","g");function u(e){this.string=e}function c(e){this.name=e}function d(e){this.name=e}function p(){}function f(e,t,r){"/"===e.charAt(0)&&(e=e.substr(1));var n=e.split("/"),o=new Array(n.length);r.val="";for(var i=0;i<n.length;i++){var a,s=n[i];(a=s.match(/^:([^\/]+)$/))?(o[i]=new c(a[1]),t.push(a[1]),r.val+="3"):(a=s.match(/^\*([^\/]+)$/))?(o[i]=new d(a[1]),r.val+="1",t.push(a[1])):""===s?(o[i]=new p,r.val+="2"):(o[i]=new u(s),r.val+="4")}return r.val=+r.val,o}function h(e){this.charSpec=e,this.nextStates=[],this.charSpecs={},this.regex=void 0,this.handlers=void 0,this.specificity=void 0}function m(e,t){for(var r=[],n=0,o=e.length;n<o;n++){var i=e[n];r=r.concat(i.match(t))}return r}u.prototype={eachChar:function(e){for(var t,r=this.string,n=0;n<r.length;n++)t=r.charAt(n),e=e.put({invalidChars:void 0,repeat:!1,validChars:t});return e},regex:function(){return this.string.replace(l,"\\$1")},generate:function(){return this.string}},c.prototype={eachChar:function(e){return e.put({invalidChars:"/",repeat:!0,validChars:void 0})},regex:function(){return"([^/]+)"},generate:function(e){return e[this.name]}},d.prototype={eachChar:function(e){return e.put({invalidChars:"",repeat:!0,validChars:void 0})},regex:function(){return"(.+)"},generate:function(e){return e[this.name]}},p.prototype={eachChar:function(e){return e},regex:function(){return""},generate:function(){return""}},h.prototype={get:function(e){if(this.charSpecs[e.validChars])return this.charSpecs[e.validChars];for(var t=this.nextStates,r=0;r<t.length;r++){var n=t[r],o=n.charSpec.validChars===e.validChars;if(o=o&&n.charSpec.invalidChars===e.invalidChars)return this.charSpecs[e.validChars]=n,n}},put:function(e){var t;return(t=this.get(e))||(t=new h(e),this.nextStates.push(t),e.repeat&&t.nextStates.push(t)),t},match:function(e){for(var t,r,n,o=this.nextStates,i=[],a=0;a<o.length;a++)void 0!==(n=(r=(t=o[a]).charSpec).validChars)?-1!==n.indexOf(e)&&i.push(t):void 0!==(n=r.invalidChars)&&-1===n.indexOf(e)&&i.push(t);return i}};var v=Object.create||function(e){function t(){}return t.prototype=e,new t};function g(e){this.queryParams=e||{}}function y(e){var t;e=e.replace(/\+/gm,"%20");try{t=decodeURIComponent(e)}catch(e){t=""}return t}g.prototype=v({splice:Array.prototype.splice,slice:Array.prototype.slice,push:Array.prototype.push,length:0,queryParams:null});var b=function(){this.rootState=new h,this.names={}};(b.prototype={add:function(e,t){for(var r,n=this.rootState,o="^",i={},a=new Array(e.length),s=[],l=!0,u=0;u<e.length;u++){var c=e[u],d=[],h=f(c.path,d,i);s=s.concat(h);for(var m=0;m<h.length;m++){var v=h[m];v instanceof p||(l=!1,n=n.put({invalidChars:void 0,repeat:!1,validChars:"/"}),o+="/",n=v.eachChar(n),o+=v.regex())}var g={handler:c.handler,names:d};a[u]=g}l&&(n=n.put({invalidChars:void 0,repeat:!1,validChars:"/"}),o+="/"),n.handlers=a,n.regex=new RegExp(o+"$"),n.specificity=i,(r=t&&t.as)&&(this.names[r]={segments:s,handlers:a})},handlersFor:function(e){var t=this.names[e];if(!t)throw new Error("There is no route named "+e);for(var r=new Array(t.handlers.length),n=0;n<t.handlers.length;n++)r[n]=t.handlers[n];return r},hasRoute:function(e){return!!this.names[e]},generate:function(e,t){var r=this.names[e],n="";if(!r)throw new Error("There is no route named "+e);for(var o=r.segments,i=0;i<o.length;i++){var a=o[i];a instanceof p||(n+="/",n+=a.generate(t))}return"/"!==n.charAt(0)&&(n="/"+n),t&&t.queryParams&&(n+=this.generateQueryString(t.queryParams,r.handlers)),n},generateQueryString:function(e,t){var r,n=[],o=[];for(var i in e)e.hasOwnProperty(i)&&o.push(i);o.sort();for(var a=0;a<o.length;a++){var s=e[i=o[a]];if(null!=s){var l=encodeURIComponent(i);if(r=s,"[object Array]"===Object.prototype.toString.call(r))for(var u=0;u<s.length;u++){var c=i+"[]="+encodeURIComponent(s[u]);n.push(c)}else l+="="+encodeURIComponent(s),n.push(l)}}return 0===n.length?"":"?"+n.join("&")},parseQueryString:function(e){for(var t=e.split("&"),r={},n=0;n<t.length;n++){var o,i=t[n].split("="),a=y(i[0]),s=a.length,l=!1;1===i.length?o="true":(s>2&&"[]"===a.slice(s-2)&&(l=!0,r[a=a.slice(0,s-2)]||(r[a]=[])),o=i[1]?y(i[1]):""),l?r[a].push(o):r[a]=o}return r},recognize:function(e){var t,r,n,o=[this.rootState],i={},a=!1;if(-1!==(n=e.indexOf("?"))){var s=e.substr(n+1,e.length);e=e.substr(0,n),i=this.parseQueryString(s)}for("/"!==(e=decodeURI(e)).charAt(0)&&(e="/"+e),(t=e.length)>1&&"/"===e.charAt(t-1)&&(e=e.substr(0,t-1),a=!0),r=0;r<e.length&&(o=m(o,e.charAt(r))).length;r++);var l=[];for(r=0;r<o.length;r++)o[r].handlers&&l.push(o[r]);o=function(e){return e.sort((function(e,t){return t.specificity.val-e.specificity.val}))}(l);var u=l[0];if(u&&u.handlers)return a&&"(.+)$"===u.regex.source.slice(-5)&&(e+="/"),function(e,t,r){var n=e.handlers,o=e.regex,i=t.match(o),a=1,s=new g(r);s.length=n.length;for(var l=0;l<n.length;l++){for(var u=n[l],c=u.names,d={},p=0;p<c.length;p++)d[c[p]]=i[a++];s[l]={handler:u.handler,params:d,isDynamic:!!c.length}}return s}(u,e,i)}}).map=function(e,t){var r=new i;e(a("",r,this.delegate)),function e(t,r,n,o){var i=r.routes;for(var a in i)if(i.hasOwnProperty(a)){var l=t.slice();s(l,a,i[a]),r.children[a]?e(l,r.children[a],n,o):n.call(o,l)}}([],r,(function(e){t?t(this,e):this.add(e)}),this)},b.VERSION="0.1.11";var w=b;r(3).amd?void 0===(n=function(){return w}.call(t,r,t,e))||(e.exports=n):void 0!==e&&e.exports?e.exports=w:void 0!==this&&(this.RouteRecognizer=w)}).call(this)}).call(t,r(2)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}}])},e.exports=t()},"./src/FilterBuilders/advancedFilterBuilder.ts":
/*!*****************************************************!*\
  !*** ./src/FilterBuilders/advancedFilterBuilder.ts ***!
  \*****************************************************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AdvancedFilterBuilder=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.conditions=[],t}return o(t,e),t.prototype.and=function(){return this.logicalOperator="And",this},t.prototype.or=function(){return this.logicalOperator="Or",this},t.prototype.addCondition=function(e,t){var r={operator:e,value:t};return this.conditions.push(r),this},t.prototype.build=function(){return new i.AdvancedFilter(this.target,this.logicalOperator,this.conditions)},t}(r(/*! ./filterBuilder */"./src/FilterBuilders/filterBuilder.ts").FilterBuilder);t.AdvancedFilterBuilder=a},"./src/FilterBuilders/basicFilterBuilder.ts":
/*!**************************************************!*\
  !*** ./src/FilterBuilders/basicFilterBuilder.ts ***!
  \**************************************************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.BasicFilterBuilder=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isRequireSingleSelection=!1,t}return o(t,e),t.prototype.in=function(e){return this.operator="In",this.values=e,this},t.prototype.notIn=function(e){return this.operator="NotIn",this.values=e,this},t.prototype.all=function(){return this.operator="All",this.values=[],this},t.prototype.requireSingleSelection=function(e){return void 0===e&&(e=!1),this.isRequireSingleSelection=e,this},t.prototype.build=function(){var e=new i.BasicFilter(this.target,this.operator,this.values);return e.requireSingleSelection=this.isRequireSingleSelection,e},t}(r(/*! ./filterBuilder */"./src/FilterBuilders/filterBuilder.ts").FilterBuilder);t.BasicFilterBuilder=a},"./src/FilterBuilders/filterBuilder.ts":
/*!*********************************************!*\
  !*** ./src/FilterBuilders/filterBuilder.ts ***!
  \*********************************************/(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FilterBuilder=void 0;var r=function(){function e(){}return e.prototype.withTargetObject=function(e){return this.target=e,this},e.prototype.withColumnTarget=function(e,t){return this.target={table:e,column:t},this},e.prototype.withMeasureTarget=function(e,t){return this.target={table:e,measure:t},this},e.prototype.withHierarchyLevelTarget=function(e,t,r){return this.target={table:e,hierarchy:t,hierarchyLevel:r},this},e.prototype.withColumnAggregation=function(e,t,r){return this.target={table:e,column:t,aggregationFunction:r},this},e.prototype.withHierarchyLevelAggregationTarget=function(e,t,r,n){return this.target={table:e,hierarchy:t,hierarchyLevel:r,aggregationFunction:n},this},e}();t.FilterBuilder=r},"./src/FilterBuilders/index.ts":
/*!*************************************!*\
  !*** ./src/FilterBuilders/index.ts ***!
  \*************************************/(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeTimeFilterBuilder=t.RelativeDateFilterBuilder=t.TopNFilterBuilder=t.AdvancedFilterBuilder=t.BasicFilterBuilder=void 0;var n=r(/*! ./basicFilterBuilder */"./src/FilterBuilders/basicFilterBuilder.ts");Object.defineProperty(t,"BasicFilterBuilder",{enumerable:!0,get:function(){return n.BasicFilterBuilder}});var o=r(/*! ./advancedFilterBuilder */"./src/FilterBuilders/advancedFilterBuilder.ts");Object.defineProperty(t,"AdvancedFilterBuilder",{enumerable:!0,get:function(){return o.AdvancedFilterBuilder}});var i=r(/*! ./topNFilterBuilder */"./src/FilterBuilders/topNFilterBuilder.ts");Object.defineProperty(t,"TopNFilterBuilder",{enumerable:!0,get:function(){return i.TopNFilterBuilder}});var a=r(/*! ./relativeDateFilterBuilder */"./src/FilterBuilders/relativeDateFilterBuilder.ts");Object.defineProperty(t,"RelativeDateFilterBuilder",{enumerable:!0,get:function(){return a.RelativeDateFilterBuilder}});var s=r(/*! ./relativeTimeFilterBuilder */"./src/FilterBuilders/relativeTimeFilterBuilder.ts");Object.defineProperty(t,"RelativeTimeFilterBuilder",{enumerable:!0,get:function(){return s.RelativeTimeFilterBuilder}})},"./src/FilterBuilders/relativeDateFilterBuilder.ts":
/*!*********************************************************!*\
  !*** ./src/FilterBuilders/relativeDateFilterBuilder.ts ***!
  \*********************************************************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeDateFilterBuilder=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isTodayIncluded=!0,t}return o(t,e),t.prototype.inLast=function(e,t){return this.operator=i.RelativeDateOperators.InLast,this.timeUnitsCount=e,this.timeUnitType=t,this},t.prototype.inThis=function(e,t){return this.operator=i.RelativeDateOperators.InThis,this.timeUnitsCount=e,this.timeUnitType=t,this},t.prototype.inNext=function(e,t){return this.operator=i.RelativeDateOperators.InNext,this.timeUnitsCount=e,this.timeUnitType=t,this},t.prototype.includeToday=function(e){return this.isTodayIncluded=e,this},t.prototype.build=function(){return new i.RelativeDateFilter(this.target,this.operator,this.timeUnitsCount,this.timeUnitType,this.isTodayIncluded)},t}(r(/*! ./filterBuilder */"./src/FilterBuilders/filterBuilder.ts").FilterBuilder);t.RelativeDateFilterBuilder=a},"./src/FilterBuilders/relativeTimeFilterBuilder.ts":
/*!*********************************************************!*\
  !*** ./src/FilterBuilders/relativeTimeFilterBuilder.ts ***!
  \*********************************************************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.RelativeTimeFilterBuilder=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.inLast=function(e,t){return this.operator=i.RelativeDateOperators.InLast,this.timeUnitsCount=e,this.timeUnitType=t,this},t.prototype.inThis=function(e,t){return this.operator=i.RelativeDateOperators.InThis,this.timeUnitsCount=e,this.timeUnitType=t,this},t.prototype.inNext=function(e,t){return this.operator=i.RelativeDateOperators.InNext,this.timeUnitsCount=e,this.timeUnitType=t,this},t.prototype.build=function(){return new i.RelativeTimeFilter(this.target,this.operator,this.timeUnitsCount,this.timeUnitType)},t}(r(/*! ./filterBuilder */"./src/FilterBuilders/filterBuilder.ts").FilterBuilder);t.RelativeTimeFilterBuilder=a},"./src/FilterBuilders/topNFilterBuilder.ts":
/*!*************************************************!*\
  !*** ./src/FilterBuilders/topNFilterBuilder.ts ***!
  \*************************************************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.TopNFilterBuilder=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.top=function(e){return this.operator="Top",this.itemCount=e,this},t.prototype.bottom=function(e){return this.operator="Bottom",this.itemCount=e,this},t.prototype.orderByTarget=function(e){return this.orderByTargetValue=e,this},t.prototype.build=function(){return new i.TopNFilter(this.target,this.operator,this.itemCount,this.orderByTargetValue)},t}(r(/*! ./filterBuilder */"./src/FilterBuilders/filterBuilder.ts").FilterBuilder);t.TopNFilterBuilder=a},"./src/bookmarksManager.ts":
/*!*********************************!*\
  !*** ./src/bookmarksManager.ts ***!
  \*********************************/function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BookmarksManager=void 0;var i=r(/*! ./util */"./src/util.ts"),a=r(/*! ./errors */"./src/errors.ts"),s=function(){function e(e,t,r){this.service=e,this.config=t,this.iframe=r}return e.prototype.getBookmarks=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:if((0,i.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(a.APINotSupportedForRDLError)];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/bookmarks",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,e.sent().body];case 3:throw e.sent().body;case 4:return[2]}}))}))},e.prototype.apply=function(e){return n(this,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:if((0,i.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(a.APINotSupportedForRDLError)];t={name:e},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/bookmarks/applyByName",t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent()];case 3:throw r.sent().body;case 4:return[2]}}))}))},e.prototype.play=function(e){return n(this,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:if((0,i.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(a.APINotSupportedForRDLError)];t={playMode:e},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/bookmarks/play",t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent()];case 3:throw r.sent().body;case 4:return[2]}}))}))},e.prototype.capture=function(e){return n(this,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:if((0,i.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(a.APINotSupportedForRDLError)];t={options:e||{}},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/bookmarks/capture",t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent().body];case 3:throw r.sent().body;case 4:return[2]}}))}))},e.prototype.applyState=function(e){return n(this,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:if((0,i.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(a.APINotSupportedForRDLError)];t={state:e},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/bookmarks/applyState",t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent()];case 3:throw r.sent().body;case 4:return[2]}}))}))},e}();t.BookmarksManager=s},"./src/config.ts":
/*!***********************!*\
  !*** ./src/config.ts ***!
  \***********************/(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={version:"2.23.1",type:"js"}},"./src/create.ts":
/*!***********************!*\
  !*** ./src/create.ts ***!
  \***********************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Create=void 0;var s=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),l=r(/*! ./embed */"./src/embed.ts"),u=r(/*! ./util */"./src/util.ts"),c=function(e){function t(t,r,n,o,i){return e.call(this,t,r,n,void 0,o,i)||this}return o(t,e),t.prototype.getId=function(){var e=this.createConfig&&this.createConfig.datasetId?this.createConfig.datasetId:t.findIdFromEmbedUrl(this.config.embedUrl);if("string"!=typeof e||0===e.length)throw new Error("Dataset id is required, but it was not found. You must provide an id either as part of embed configuration.");return e},t.prototype.validate=function(e){return(0,s.validateCreateReport)(e)},t.prototype.configChanged=function(e){if(!e){var t=this.config;this.createConfig={accessToken:t.accessToken,datasetId:t.datasetId||this.getId(),groupId:t.groupId,settings:t.settings,tokenType:t.tokenType,theme:t.theme}}},t.prototype.getDefaultEmbedUrlEndpoint=function(){return"reportEmbed"},t.prototype.isSaved=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,u.isSavedInternal(this.service.hpm,this.config.uniqueId,this.iframe.contentWindow)];case 1:return[2,e.sent()]}}))}))},t.findIdFromEmbedUrl=function(e){var t,r=e.match(/datasetId="?([^&]+)"?/);return r&&(t=r[1]),t},t.prototype.create=function(){var e;return i(this,void 0,void 0,(function(){var t,r;return a(this,(function(n){switch(n.label){case 0:if(t=(0,s.validateCreateReport)(this.createConfig))throw t;n.label=1;case 1:return n.trys.push([1,3,,4]),r={uid:this.config.uniqueId,sdkSessionId:this.service.getSdkSessionId()},(null===(e=this.eventHooks)||void 0===e?void 0:e.accessTokenProvider)&&(r.tokenProviderSupplied=!0),[4,this.service.hpm.post("/report/create",this.createConfig,r,this.iframe.contentWindow)];case 2:return[2,n.sent().body];case 3:throw n.sent().body;case 4:return[2]}}))}))},t}(l.Embed);t.Create=c},"./src/dashboard.ts":
/*!**************************!*\
  !*** ./src/dashboard.ts ***!
  \**************************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Dashboard=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=function(e){function t(r,n,o,i,a){var s=e.call(this,r,n,o,void 0,i,a)||this;return s.loadPath="/dashboard/load",s.phasedLoadPath="/dashboard/prepare",Array.prototype.push.apply(s.allowedEvents,t.allowedEvents),s}return o(t,e),t.findIdFromEmbedUrl=function(e){var t,r=e.match(/dashboardId="?([^&]+)"?/);return r&&(t=r[1]),t},t.prototype.getId=function(){var e=this.config,r=e.id||this.element.getAttribute(t.dashboardIdAttribute)||t.findIdFromEmbedUrl(e.embedUrl);if("string"!=typeof r||0===r.length)throw new Error("Dashboard id is required, but it was not found. You must provide an id either as part of embed configuration or as attribute '".concat(t.dashboardIdAttribute,"'."));return r},t.prototype.validate=function(e){var t=e,r=(0,i.validateDashboardLoad)(t);return r||this.validatePageView(t.pageView)},t.prototype.configChanged=function(e){e||(this.config.id=this.getId())},t.prototype.getDefaultEmbedUrlEndpoint=function(){return"dashboardEmbed"},t.prototype.validatePageView=function(e){if(e&&"fitToWidth"!==e&&"oneColumn"!==e&&"actualSize"!==e)return[{message:"pageView must be one of the followings: fitToWidth, oneColumn, actualSize"}]},t.allowedEvents=["tileClicked","error"],t.dashboardIdAttribute="powerbi-dashboard-id",t.typeAttribute="powerbi-type",t.type="Dashboard",t}(r(/*! ./embed */"./src/embed.ts").Embed);t.Dashboard=a},"./src/embed.ts":
/*!**********************!*\
  !*** ./src/embed.ts ***!
  \**********************/function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Embed=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=r(/*! ./config */"./src/config.ts"),s=r(/*! ./errors */"./src/errors.ts"),l=r(/*! ./util */"./src/util.ts"),u=function(){function e(t,r,n,o,i,a){if(this.allowedEvents=[],(0,l.autoAuthInEmbedUrl)(n.embedUrl))throw new Error(s.EmbedUrlNotSupported);Array.prototype.push.apply(this.allowedEvents,e.allowedEvents),this.eventHandlers=[],this.service=t,this.element=r,this.iframe=o,this.iframeLoaded=!1,this.embedtype=n.type.toLowerCase(),this.commands=[],this.groups=[],this.populateConfig(n,a),(0,l.isCreate)(this.embedtype)?this.setIframe(!1,i,a):this.setIframe(!0,i,a)}return e.prototype.create=function(){throw new Error("no create support")},e.prototype.save=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.service.hpm.post("/report/save",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},e.prototype.saveAs=function(e){return n(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.service.hpm.post("/report/saveAs",e,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,t.sent().body];case 2:throw t.sent().body;case 3:return[2]}}))}))},e.prototype.getCorrelationId=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.service.hpm.get("/getCorrelationId",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},e.prototype.load=function(e){var t;return n(this,void 0,void 0,(function(){var r,n,i;return o(this,(function(o){switch(o.label){case 0:if(!this.config.accessToken)return console.debug("Power BI SDK iframe is loaded but powerbi.embed is not called yet."),[2];if(!this.iframeLoaded)return console.debug("Power BI SDK is trying to post /report/load before iframe is ready."),[2];if(r=e&&"report"===this.config.type?this.phasedLoadPath:this.loadPath,n={uid:this.config.uniqueId,sdkSessionId:this.service.getSdkSessionId(),bootstrapped:this.config.bootstrapped,sdkVersion:a.default.version},(null===(t=this.eventHooks)||void 0===t?void 0:t.accessTokenProvider)&&(n.tokenProviderSupplied=!0),i=new Date,this.lastLoadRequest&&(0,l.getTimeDiffInMilliseconds)(this.lastLoadRequest,i)<100)return console.debug("Power BI SDK sent more than two /report/load requests in the last 100ms interval."),[2];this.lastLoadRequest=i,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.service.hpm.post(r,this.config,n,this.iframe.contentWindow)];case 2:return[2,o.sent().body];case 3:throw o.sent().body;case 4:return[2]}}))}))},e.prototype.off=function(e,t){var r=this,n={name:e,type:null,id:null,value:null};t?((0,l.remove)((function(e){return e.test(n)&&e.handle===t}),this.eventHandlers),this.element.removeEventListener(e,t)):this.eventHandlers.filter((function(e){return e.test(n)})).forEach((function(t){(0,l.remove)((function(e){return e===t}),r.eventHandlers),r.element.removeEventListener(e,t.handle)}))},e.prototype.on=function(e,t){if(-1===this.allowedEvents.indexOf(e))throw new Error("eventName must be one of ".concat(this.allowedEvents,". You passed: ").concat(e));this.eventHandlers.push({test:function(t){return t.name===e},handle:t}),this.element.addEventListener(e,t)},e.prototype.reload=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,this.load()];case 1:return[2,e.sent()]}}))}))},e.prototype.setAccessToken=function(t){return n(this,void 0,void 0,(function(){var r,n;return o(this,(function(o){switch(o.label){case 0:if(!t)throw new Error("Access token cannot be empty");r="create"===(r=this.config.type)||"visual"===r||"qna"===r||"quickCreate"===r?"report":r,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.service.hpm.post("/"+r+"/token",t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return n=o.sent(),this.config.accessToken=t,this.element.setAttribute(e.accessTokenAttribute,t),this.service.accessToken=t,[2,n.body];case 3:throw o.sent().body;case 4:return[2]}}))}))},e.prototype.getAccessToken=function(t){var r=this.config.accessToken||this.element.getAttribute(e.accessTokenAttribute)||t;if(!r)throw new Error("No access token was found for element. You must specify an access token directly on the element using attribute '".concat(e.accessTokenAttribute,"' or specify a global token at: powerbi.accessToken."));return r},e.prototype.populateConfig=function(e,t){var r,n,o,a,s,u,c,d,p,f=this;this.bootstrapConfig?(this.config=(0,l.assign)({},this.bootstrapConfig,e),this.bootstrapConfig=null):this.config=(0,l.assign)({},e),this.config.embedUrl=this.getEmbedUrl(t),this.config.groupId=this.getGroupId(),this.addLocaleToEmbedUrl(e),this.config.uniqueId=this.getUniqueId();var h=null===(n=null===(r=this.config)||void 0===r?void 0:r.settings)||void 0===n?void 0:n.extensions;this.commands=null!==(o=null==h?void 0:h.commands)&&void 0!==o?o:[],this.groups=null!==(a=null==h?void 0:h.groups)&&void 0!==a?a:[],this.initialLayoutType=null!==(c=null===(u=null===(s=this.config)||void 0===s?void 0:s.settings)||void 0===u?void 0:u.layoutType)&&void 0!==c?c:i.LayoutType.Master;var m=null===(p=null===(d=this.config)||void 0===d?void 0:d.settings)||void 0===p?void 0:p.extensions;Array.isArray(m)&&(this.commands=[],m.map((function(e){(null==e?void 0:e.command)&&f.commands.push(e.command)}))),t?(this.bootstrapConfig=this.config,this.bootstrapConfig.bootstrapped=!0):this.config.accessToken=this.getAccessToken(this.service.accessToken),this.eventHooks=this.config.eventHooks,this.validateEventHooks(this.eventHooks),delete this.config.eventHooks,this.configChanged(t)},e.prototype.validateEventHooks=function(e){if(e){for(var t in e)if(e.hasOwnProperty(t)&&"function"!=typeof e[t])throw new Error(t+" must be a function");if(e.applicationContextProvider){if("report"!==this.embedtype.toLowerCase())throw new Error("applicationContextProvider is only supported in report embed");this.config.embedUrl=(0,l.addParamToUrl)(this.config.embedUrl,"registerQueryCallback","true")}if(e.accessTokenProvider&&(-1===["create","quickcreate","report"].indexOf(this.embedtype.toLowerCase())||this.config.tokenType!==i.TokenType.Aad))throw new Error("accessTokenProvider is only supported in report SaaS embed")}},e.prototype.addLocaleToEmbedUrl=function(e){if(e.settings){var t=e.settings.localeSettings;t&&t.language&&(this.config.embedUrl=(0,l.addParamToUrl)(this.config.embedUrl,"language",t.language)),t&&t.formatLocale&&(this.config.embedUrl=(0,l.addParamToUrl)(this.config.embedUrl,"formatLocale",t.formatLocale))}},e.prototype.getEmbedUrl=function(t){var r=this.config.embedUrl||this.element.getAttribute(e.embedUrlAttribute);if(t&&!r&&(r=this.getDefaultEmbedUrl(this.config.hostname)),"string"!=typeof r||0===r.length)throw new Error("Embed Url is required, but it was not found. You must provide an embed url either as part of embed configuration or as attribute '".concat(e.embedUrlAttribute,"'."));return r},e.prototype.getDefaultEmbedUrl=function(t){t||(t=e.defaultEmbedHostName);var r=this.getDefaultEmbedUrlEndpoint();return 0===(t=t.toLowerCase().trim()).indexOf("https://")?"".concat(t,"/").concat(r):"https://".concat(t,"/").concat(r)},e.prototype.getUniqueId=function(){return this.config.uniqueId||this.element.getAttribute(e.nameAttribute)||(0,l.createRandomString)()},e.prototype.getGroupId=function(){return this.config.groupId||e.findGroupIdFromEmbedUrl(this.config.embedUrl)},e.prototype.fullscreen=function(){(this.iframe.requestFullscreen||this.iframe.msRequestFullscreen||this.iframe.mozRequestFullScreen||this.iframe.webkitRequestFullscreen).call(this.iframe)},e.prototype.exitFullscreen=function(){this.isFullscreen(this.iframe)&&(document.exitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen||document.msExitFullscreen).call(document)},e.prototype.isFullscreen=function(e){return["fullscreenElement","webkitFullscreenElement","mozFullscreenScreenElement","msFullscreenElement"].some((function(t){return document[t]===e}))},e.prototype.setIframe=function(t,r,n){var o=this;if(!this.iframe){var i=document.createElement("iframe"),a=this.config.uniqueId?(0,l.addParamToUrl)(this.config.embedUrl,"uid",this.config.uniqueId):this.config.embedUrl;if(!(0,l.validateEmbedUrl)(a))throw new Error(s.invalidEmbedUrlErrorMessage);i.style.width="100%",i.style.height="100%",i.setAttribute("src",a),i.setAttribute("scrolling","no"),i.setAttribute("allowfullscreen","true");for(var u=this.element;u.firstChild;)u.removeChild(u.firstChild);u.appendChild(i),this.iframe=u.firstChild}if(t){if(!n){var c=this.validate(this.config);if(c)throw c}this.iframe.addEventListener("load",(function(){o.iframeLoaded=!0,o.load(r)}),!1),this.service.getNumberOfComponents()<=e.maxFrontLoadTimes&&(this.frontLoadHandler=function(){o.frontLoadSendConfig(o.config)},this.element.addEventListener("ready",this.frontLoadHandler,!1))}else this.iframe.addEventListener("load",(function(){return o.create()}),!1)},e.prototype.setComponentTitle=function(e){this.iframe&&(null==e?this.iframe.removeAttribute("title"):this.iframe.setAttribute("title",e))},e.prototype.setComponentTabIndex=function(e){this.element&&this.element.setAttribute("tabindex",null==e?"0":e.toString())},e.prototype.removeComponentTabIndex=function(e){this.element&&this.element.removeAttribute("tabindex")},e.findGroupIdFromEmbedUrl=function(e){var t,r=e.match(/groupId="?([^&]+)"?/);return r&&(t=r[1]),t},e.prototype.frontLoadSendConfig=function(e){return n(this,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:if(!e.accessToken)return[2];if(t=this.validate(e))throw t;if(null==this.iframe.contentWindow)return[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.post("/frontload/config",e,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent().body];case 3:throw r.sent().body;case 4:return[2]}}))}))},e.allowedEvents=["loaded","saved","rendered","saveAsTriggered","error","dataSelected","buttonClicked","info"],e.accessTokenAttribute="powerbi-access-token",e.embedUrlAttribute="powerbi-embed-url",e.nameAttribute="powerbi-name",e.typeAttribute="powerbi-type",e.defaultEmbedHostName="https://app.powerbi.com",e.maxFrontLoadTimes=2,e}();t.Embed=u},"./src/errors.ts":
/*!***********************!*\
  !*** ./src/errors.ts ***!
  \***********************/(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.invalidEmbedUrlErrorMessage=t.EmbedUrlNotSupported=t.APINotSupportedForRDLError=void 0,t.APINotSupportedForRDLError="This API is currently not supported for RDL reports",t.EmbedUrlNotSupported="Embed URL is invalid for this scenario. Please use Power BI REST APIs to get the valid URL",t.invalidEmbedUrlErrorMessage="Invalid embed URL detected. Either URL hostname or protocol are invalid. Please use Power BI REST APIs to get the valid URL"},"./src/factories.ts":
/*!**************************!*\
  !*** ./src/factories.ts ***!
  \**************************/(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.routerFactory=t.wpmpFactory=t.hpmFactory=void 0;var n=r(/*! window-post-message-proxy */"./node_modules/window-post-message-proxy/dist/windowPostMessageProxy.js"),o=r(/*! http-post-message */"./node_modules/http-post-message/dist/httpPostMessage.js"),i=r(/*! powerbi-router */"./node_modules/powerbi-router/dist/router.js"),a=r(/*! ./config */"./src/config.ts");t.hpmFactory=function(e,t,r,n,i){return void 0===r&&(r=a.default.version),void 0===n&&(n=a.default.type),new o.HttpPostMessage(e,{"x-sdk-type":n,"x-sdk-version":r,"x-sdk-wrapper-version":i},t)},t.wpmpFactory=function(e,t,r){return new n.WindowPostMessageProxy({processTrackingProperties:{addTrackingProperties:o.HttpPostMessage.addTrackingProperties,getTrackingProperties:o.HttpPostMessage.getTrackingProperties},isErrorMessage:o.HttpPostMessage.isErrorMessage,suppressWarnings:!0,name:e,logMessages:t,eventSourceOverrideWindow:r})},t.routerFactory=function(e){return new i.Router(e)}},"./src/page.ts":
/*!*********************!*\
  !*** ./src/page.ts ***!
  \*********************/function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=r(/*! ./visualDescriptor */"./src/visualDescriptor.ts"),s=r(/*! ./util */"./src/util.ts"),l=r(/*! ./errors */"./src/errors.ts"),u=function(){function e(e,t,r,n,o,i,a,s,l,u){this.report=e,this.name=t,this.displayName=r,this.isActive=n,this.visibility=o,this.defaultSize=i,this.mobileSize=s,this.defaultDisplayOption=a,this.background=l,this.wallpaper=u}return e.prototype.getSmartNarrativeInsights=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:if((0,s.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(l.APINotSupportedForRDLError)];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/smartNarrativeInsights"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,e.sent().body];case 3:throw e.sent().body;case 4:return[2]}}))}))},e.prototype.getFilters=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/filters"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},e.prototype.updateFilters=function(e,t){return n(this,void 0,void 0,(function(){var r;return o(this,(function(n){switch(n.label){case 0:r={filtersOperation:e,filters:t},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.report.service.hpm.post("/report/pages/".concat(this.name,"/filters"),r,{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,n.sent()];case 3:throw n.sent().body;case 4:return[2]}}))}))},e.prototype.removeFilters=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,this.updateFilters(i.FiltersOperations.RemoveAll)];case 1:return[2,e.sent()]}}))}))},e.prototype.setFilters=function(e){return n(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.report.service.hpm.put("/report/pages/".concat(this.name,"/filters"),e,{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 1:return[2,t.sent()];case 2:throw t.sent().body;case 3:return[2]}}))}))},e.prototype.delete=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.report.service.hpm.delete("/report/pages/".concat(this.name),{},{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},e.prototype.setActive=function(){return n(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:e={name:this.name,displayName:null,isActive:!0},t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.report.service.hpm.put("/report/pages/active",e,{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,t.sent()];case 3:throw t.sent().body;case 4:return[2]}}))}))},e.prototype.setDisplayName=function(e){return n(this,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:t={name:this.name,displayName:e},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.report.service.hpm.put("/report/pages/".concat(this.name,"/name"),t,{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,r.sent()];case 3:throw r.sent().body;case 4:return[2]}}))}))},e.prototype.getVisuals=function(){return n(this,void 0,void 0,(function(){var e=this;return o(this,(function(t){switch(t.label){case 0:if((0,s.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(l.APINotSupportedForRDLError)];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/visuals"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,t.sent().body.map((function(t){return new a.VisualDescriptor(e,t.name,t.title,t.type,t.layout)}))];case 3:throw t.sent().body;case 4:return[2]}}))}))},e.prototype.getVisualByName=function(e){return n(this,void 0,void 0,(function(){var t,r;return o(this,(function(n){switch(n.label){case 0:if((0,s.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(l.APINotSupportedForRDLError)];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/visuals"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return t=n.sent(),(r=t.body.find((function(t){return t.name===e})))?[2,new a.VisualDescriptor(this,r.name,r.title,r.type,r.layout)]:[2,Promise.reject(i.CommonErrorCodes.NotFound)];case 3:throw n.sent().body;case 4:return[2]}}))}))},e.prototype.setVisualDisplayState=function(e,t){return n(this,void 0,void 0,(function(){var r;return o(this,(function(n){return r=this.name,[2,this.report.setVisualDisplayState(r,e,t)]}))}))},e.prototype.moveVisual=function(e,t,r,i){return n(this,void 0,void 0,(function(){var n;return o(this,(function(o){return n=this.name,[2,this.report.moveVisual(n,e,t,r,i)]}))}))},e.prototype.resizeVisual=function(e,t,r){return n(this,void 0,void 0,(function(){var n;return o(this,(function(o){return n=this.name,[2,this.report.resizeVisual(n,e,t,r)]}))}))},e.prototype.resizePage=function(e,t,r){return n(this,void 0,void 0,(function(){return o(this,(function(n){return this.isActive?[2,this.report.resizeActivePage(e,t,r)]:[2,Promise.reject("Cannot resize the page. Only the active page can be resized")]}))}))},e.prototype.getSlicers=function(){return n(this,void 0,void 0,(function(){var e=this;return o(this,(function(t){switch(t.label){case 0:if((0,s.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(l.APINotSupportedForRDLError)];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/visuals"),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,t.sent().body.filter((function(e){return"slicer"===e.type})).map((function(t){return new a.VisualDescriptor(e,t.name,t.title,t.type,t.layout)}))];case 3:throw t.sent().body;case 4:return[2]}}))}))},e.prototype.hasLayout=function(e){return n(this,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:if((0,s.isRDLEmbed)(this.report.config.embedUrl))return[2,Promise.reject(l.APINotSupportedForRDLError)];t=i.LayoutType[e],r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.report.service.hpm.get("/report/pages/".concat(this.name,"/layoutTypes/").concat(t),{uid:this.report.config.uniqueId},this.report.iframe.contentWindow)];case 2:return[2,r.sent().body];case 3:throw r.sent().body;case 4:return[2]}}))}))},e}();t.Page=u},"./src/qna.ts":
/*!********************!*\
  !*** ./src/qna.ts ***!
  \********************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Qna=void 0;var s=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),l=function(e){function t(r,n,o,i,a){var s=e.call(this,r,n,o,void 0,i,a)||this;return s.loadPath="/qna/load",s.phasedLoadPath="/qna/prepare",Array.prototype.push.apply(s.allowedEvents,t.allowedEvents),s}return o(t,e),t.prototype.getId=function(){return null},t.prototype.setQuestion=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(r){switch(r.label){case 0:t={question:e},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.post("/qna/interpret",t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent()];case 3:throw r.sent().body;case 4:return[2]}}))}))},t.prototype.configChanged=function(e){},t.prototype.getDefaultEmbedUrlEndpoint=function(){return"qnaEmbed"},t.prototype.validate=function(e){return(0,s.validateLoadQnaConfiguration)(e)},t.type="Qna",t.allowedEvents=["loaded","visualRendered"],t}(r(/*! ./embed */"./src/embed.ts").Embed);t.Qna=l},"./src/quickCreate.ts":
/*!****************************!*\
  !*** ./src/quickCreate.ts ***!
  \****************************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.QuickCreate=void 0;var s=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),l=function(e){function t(t,r,n,o,s){var l=e.call(this,t,r,n,void 0,o,s)||this;return t.router.post("/reports/".concat(l.config.uniqueId,"/eventHooks/:eventName"),(function(e,r){return i(l,void 0,void 0,(function(){var n;return a(this,(function(o){switch(o.label){case 0:switch(e.params.eventName){case"newAccessToken":return[3,1]}return[3,3];case 1:return e.body=e.body||{},e.body.report=this,[4,t.invokeSDKHook(null===(n=this.eventHooks)||void 0===n?void 0:n.accessTokenProvider,e,r)];case 2:return o.sent(),[3,4];case 3:return[3,4];case 4:return[2]}}))}))})),l}return o(t,e),t.prototype.getId=function(){return null},t.prototype.validate=function(e){return(0,s.validateQuickCreate)(e)},t.prototype.configChanged=function(e){e||(this.createConfig=this.config)},t.prototype.getDefaultEmbedUrlEndpoint=function(){return"quickCreate"},t.prototype.create=function(){var e;return i(this,void 0,void 0,(function(){var t,r;return a(this,(function(n){switch(n.label){case 0:if(t=(0,s.validateQuickCreate)(this.createConfig))throw t;n.label=1;case 1:return n.trys.push([1,3,,4]),r={uid:this.config.uniqueId,sdkSessionId:this.service.getSdkSessionId()},(null===(e=this.eventHooks)||void 0===e?void 0:e.accessTokenProvider)&&(r.tokenProviderSupplied=!0),[4,this.service.hpm.post("/quickcreate",this.createConfig,r,this.iframe.contentWindow)];case 2:return[2,n.sent().body];case 3:throw n.sent().body;case 4:return[2]}}))}))},t}(r(/*! ./embed */"./src/embed.ts").Embed);t.QuickCreate=l},"./src/report.ts":
/*!***********************!*\
  !*** ./src/report.ts ***!
  \***********************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},s=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.Report=void 0;var l=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),u=r(/*! ./embed */"./src/embed.ts"),c=r(/*! ./util */"./src/util.ts"),d=r(/*! ./errors */"./src/errors.ts"),p=r(/*! ./page */"./src/page.ts"),f=r(/*! ./bookmarksManager */"./src/bookmarksManager.ts"),h=function(e){function t(r,n,o,s,l,u){var c=this,d=o;return(c=e.call(this,r,n,d,u,s,l)||this).loadPath="/report/load",c.phasedLoadPath="/report/prepare",Array.prototype.push.apply(c.allowedEvents,t.allowedEvents),c.bookmarksManager=new f.BookmarksManager(r,d,c.iframe),r.router.post("/reports/".concat(c.config.uniqueId,"/eventHooks/:eventName"),(function(e,t){return i(c,void 0,void 0,(function(){var n,o;return a(this,(function(i){switch(i.label){case 0:switch(e.params.eventName){case"preQuery":return[3,1];case"newAccessToken":return[3,3]}return[3,5];case 1:return e.body=e.body||{},e.body.report=this,[4,r.invokeSDKHook(null===(n=this.eventHooks)||void 0===n?void 0:n.applicationContextProvider,e,t)];case 2:return i.sent(),[3,6];case 3:return e.body=e.body||{},e.body.report=this,[4,r.invokeSDKHook(null===(o=this.eventHooks)||void 0===o?void 0:o.accessTokenProvider,e,t)];case 4:return i.sent(),[3,6];case 5:return[3,6];case 6:return[2]}}))}))})),c}return o(t,e),t.findIdFromEmbedUrl=function(e){var t,r=e.match(/reportId="?([^&]+)"?/);return r&&(t=r[1]),t},t.prototype.render=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.service.hpm.post("/report/render",e,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,t.sent().body];case 2:throw t.sent().body;case 3:return[2]}}))}))},t.prototype.addPage=function(e){return i(this,void 0,void 0,(function(){var t,r,n;return a(this,(function(o){switch(o.label){case 0:t={displayName:e},o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/addPage",t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return r=o.sent(),n=r.body,[2,new p.Page(this,n.name,n.displayName,n.isActive,n.visibility,n.defaultSize,n.defaultDisplayOption)];case 3:throw o.sent().body;case 4:return[2]}}))}))},t.prototype.deletePage=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.service.hpm.delete("/report/pages/".concat(e),{},{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,t.sent().body];case 2:throw t.sent().body;case 3:return[2]}}))}))},t.prototype.renamePage=function(e,t){return i(this,void 0,void 0,(function(){var r;return a(this,(function(n){switch(n.label){case 0:r={name:e,displayName:t},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.service.hpm.put("/report/pages/".concat(e,"/name"),r,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,n.sent().body];case 3:throw n.sent().body;case 4:return[2]}}))}))},t.prototype.getFilters=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/filters",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,e.sent().body];case 3:throw e.sent().body;case 4:return[2]}}))}))},t.prototype.updateFilters=function(e,t){return i(this,void 0,void 0,(function(){var r;return a(this,(function(n){switch(n.label){case 0:r={filtersOperation:e,filters:t},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/filters",r,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,n.sent()];case 3:throw n.sent().body;case 4:return[2]}}))}))},t.prototype.removeFilters=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(d.APINotSupportedForRDLError)]:[2,this.updateFilters(l.FiltersOperations.RemoveAll)]}))}))},t.prototype.setFilters=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.service.hpm.put("/report/filters",e,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,t.sent()];case 3:throw t.sent().body;case 4:return[2]}}))}))},t.prototype.getId=function(){var e=this.config,r=e.id||this.element.getAttribute(t.reportIdAttribute)||t.findIdFromEmbedUrl(e.embedUrl);if("string"!=typeof r||0===r.length)throw new Error("Report id is required, but it was not found. You must provide an id either as part of embed configuration or as attribute '".concat(t.reportIdAttribute,"'."));return r},t.prototype.getPages=function(){return i(this,void 0,void 0,(function(){var e=this;return a(this,(function(t){switch(t.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/pages",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,t.sent().body.map((function(t){return new p.Page(e,t.name,t.displayName,t.isActive,t.visibility,t.defaultSize,t.defaultDisplayOption,t.mobileSize,t.background,t.wallpaper)}))];case 3:throw t.sent().body;case 4:return[2]}}))}))},t.prototype.getPageByName=function(e){return i(this,void 0,void 0,(function(){var t,r;return a(this,(function(n){switch(n.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/pages",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return t=n.sent(),(r=t.body.find((function(t){return t.name===e})))?[2,new p.Page(this,r.name,r.displayName,r.isActive,r.visibility,r.defaultSize,r.defaultDisplayOption,r.mobileSize,r.background,r.wallpaper)]:[2,Promise.reject(l.CommonErrorCodes.NotFound)];case 3:throw n.sent().body;case 4:return[2]}}))}))},t.prototype.getActivePage=function(){return i(this,void 0,void 0,(function(){var e,t;return a(this,(function(r){switch(r.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/pages",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return e=r.sent(),t=e.body.find((function(e){return e.isActive})),[2,new p.Page(this,t.name,t.displayName,t.isActive,t.visibility,t.defaultSize,t.defaultDisplayOption,t.mobileSize,t.background,t.wallpaper)];case 3:throw r.sent().body;case 4:return[2]}}))}))},t.prototype.page=function(e,t,r,n){return new p.Page(this,e,t,r,n)},t.prototype.print=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/print",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,e.sent().body];case 3:throw e.sent().body;case 4:return[2]}}))}))},t.prototype.setPage=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(r){switch(r.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];t={name:e,displayName:null,isActive:!0},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.put("/report/pages/active",t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent()];case 3:throw r.sent().body;case 4:return[2]}}))}))},t.prototype.updateSettings=function(e){var t,r;return i(this,void 0,void 0,(function(){var n,o,i,s=this;return a(this,(function(a){switch(a.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl)&&null!=e.customLayout)return[2,Promise.reject(d.APINotSupportedForRDLError)];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.service.hpm.patch("/report/settings",e,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return n=a.sent(),o=null==e?void 0:e.extensions,this.commands=null!==(t=null==o?void 0:o.commands)&&void 0!==t?t:this.commands,this.groups=null!==(r=null==o?void 0:o.groups)&&void 0!==r?r:this.groups,i=null==e?void 0:e.extensions,Array.isArray(i)&&(this.commands=[],i.map((function(e){(null==e?void 0:e.command)&&s.commands.push(e.command)}))),[2,n];case 3:throw a.sent().body;case 4:return[2]}}))}))},t.prototype.validate=function(e){return(0,c.isRDLEmbed)(this.config.embedUrl)?(0,l.validatePaginatedReportLoad)(e):(0,l.validateReportLoad)(e)},t.prototype.configChanged=function(e){var r=this.config;this.isMobileSettings(r.settings)&&(r.embedUrl=(0,c.addParamToUrl)(r.embedUrl,"isMobile","true"));var n=this.element.getAttribute(t.filterPaneEnabledAttribute),o=this.element.getAttribute(t.navContentPaneEnabledAttribute),i={filterPaneEnabled:null==n?void 0:"false"!==n,navContentPaneEnabled:null==o?void 0:"false"!==o};this.config.settings=(0,c.assign)({},i,r.settings),e||(r.id=this.getId())},t.prototype.getDefaultEmbedUrlEndpoint=function(){return"reportEmbed"},t.prototype.switchMode=function(e){return i(this,void 0,void 0,(function(){var t,r;return a(this,(function(n){switch(n.label){case 0:t="string"==typeof e?e:this.viewModeToString(e),r="/report/switchMode/"+t,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.service.hpm.post(r,null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,n.sent().body];case 3:throw n.sent().body;case 4:return[2]}}))}))},t.prototype.refresh=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/refresh",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,e.sent().body];case 3:throw e.sent().body;case 4:return[2]}}))}))},t.prototype.isSaved=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(d.APINotSupportedForRDLError)]:[4,(0,c.isSavedInternal)(this.service.hpm,this.config.uniqueId,this.iframe.contentWindow)];case 1:return[2,e.sent()]}}))}))},t.prototype.applyTheme=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(d.APINotSupportedForRDLError)]:[4,this.applyThemeInternal(e)];case 1:return[2,t.sent()]}}))}))},t.prototype.resetTheme=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(d.APINotSupportedForRDLError)]:[4,this.applyThemeInternal({})];case 1:return[2,e.sent()]}}))}))},t.prototype.getTheme=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/theme",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,e.sent().body];case 3:throw e.sent().body;case 4:return[2]}}))}))},t.prototype.resetPersistentFilters=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.service.hpm.delete("/report/userState",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,e.sent()];case 2:throw e.sent().body;case 3:return[2]}}))}))},t.prototype.savePersistentFilters=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.service.hpm.post("/report/userState",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,e.sent()];case 2:throw e.sent().body;case 3:return[2]}}))}))},t.prototype.arePersistentFiltersApplied=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.service.hpm.get("/report/isUserStateApplied",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},t.prototype.removeContextMenuCommand=function(e,t){return i(this,void 0,void 0,(function(){var r,n,o;return a(this,(function(i){switch(i.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];if(r=JSON.parse(JSON.stringify(this.commands)),-1===(n=this.findCommandMenuIndex("visualContextMenu",r,e,t)))throw l.CommonErrorCodes.NotFound;return delete r[n].extend.visualContextMenu,o={extensions:{commands:r,groups:this.groups}},[4,this.updateSettings(o)];case 1:return[2,i.sent()]}}))}))},t.prototype.addContextMenuCommand=function(e,t,r,n,o,s,u){return void 0===r&&(r=t),void 0===n&&(n=l.MenuLocation.Bottom),void 0===o&&(o=void 0),void 0===u&&(u=void 0),i(this,void 0,void 0,(function(){var i,l;return a(this,(function(a){switch(a.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(d.APINotSupportedForRDLError)]:(i=this.createMenuCommand("visualContextMenu",e,t,r,n,o,s,u),l={extensions:{commands:i,groups:this.groups}},[4,this.updateSettings(l)]);case 1:return[2,a.sent()]}}))}))},t.prototype.removeOptionsMenuCommand=function(e,t){return i(this,void 0,void 0,(function(){var r,n,o;return a(this,(function(i){switch(i.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];if(r=JSON.parse(JSON.stringify(this.commands)),-1===(n=this.findCommandMenuIndex("visualOptionsMenu",r,e,t)))throw l.CommonErrorCodes.NotFound;return delete r[n].extend.visualOptionsMenu,delete r[n].icon,o={extensions:{commands:r,groups:this.groups}},[4,this.updateSettings(o)];case 1:return[2,i.sent()]}}))}))},t.prototype.addOptionsMenuCommand=function(e,t,r,n,o,s,u,p){return void 0===r&&(r=t),void 0===n&&(n=l.MenuLocation.Bottom),void 0===o&&(o=void 0),void 0===s&&(s=void 0),void 0===u&&(u=void 0),void 0===p&&(p=void 0),i(this,void 0,void 0,(function(){var i,l;return a(this,(function(a){switch(a.label){case 0:return(0,c.isRDLEmbed)(this.config.embedUrl)?[2,Promise.reject(d.APINotSupportedForRDLError)]:(i=this.createMenuCommand("visualOptionsMenu",e,t,r,n,o,s,u,p),l={extensions:{commands:i,groups:this.groups}},[4,this.updateSettings(l)]);case 1:return[2,a.sent()]}}))}))},t.prototype.setVisualDisplayState=function(e,t,r){return i(this,void 0,void 0,(function(){var n,o;return a(this,(function(i){switch(i.label){case 0:return[4,this.validateVisual(e,t)];case 1:return i.sent(),n={displayState:{mode:r}},o=this.buildLayoutSettingsObject(e,t,n),[2,this.updateSettings(o)]}}))}))},t.prototype.resizeVisual=function(e,t,r,n){return i(this,void 0,void 0,(function(){var o,i;return a(this,(function(a){switch(a.label){case 0:return[4,this.validateVisual(e,t)];case 1:return a.sent(),o={width:r,height:n},i=this.buildLayoutSettingsObject(e,t,o),[2,this.updateSettings(i)]}}))}))},t.prototype.resizeActivePage=function(e,t,r){return i(this,void 0,void 0,(function(){var n,o;return a(this,(function(i){return n={type:e,width:t,height:r},o={layoutType:l.LayoutType.Custom,customLayout:{pageSize:n}},[2,this.updateSettings(o)]}))}))},t.prototype.moveVisual=function(e,t,r,n,o){return i(this,void 0,void 0,(function(){var i,s;return a(this,(function(a){switch(a.label){case 0:return[4,this.validateVisual(e,t)];case 1:return a.sent(),i={x:r,y:n,z:o},s=this.buildLayoutSettingsObject(e,t,i),[2,this.updateSettings(s)]}}))}))},t.prototype.switchLayout=function(e){return i(this,void 0,void 0,(function(){var t,r,n,o;return a(this,(function(i){switch(i.label){case 0:if(t=this.isMobileSettings({layoutType:this.initialLayoutType}),r=this.isMobileSettings({layoutType:e}),t!==r)throw"Switching between mobile and desktop layouts is not supported. Please reset the embed container and re-embed with required layout.";return n={layoutType:e},[4,this.updateSettings(n)];case 1:return o=i.sent(),this.initialLayoutType=e,[2,o]}}))}))},t.prototype.createMenuCommand=function(e,t,r,n,o,i,a,l,u){var c={name:t,title:r,extend:{}};return c.extend[e]={title:n,menuLocation:o},"visualOptionsMenu"===e&&(c.icon=u),l&&(delete c.extend[e].menuLocation,c.extend[e].groupName=l),i&&(c.selector={$schema:"http://powerbi.com/product/schema#visualSelector",visualName:i}),a&&(c.selector={$schema:"http://powerbi.com/product/schema#visualTypeSelector",visualType:a}),s(s([],this.commands,!0),[c],!1)},t.prototype.findCommandMenuIndex=function(e,t,r,n){var o=-1;return t.some((function(t,i){return!(t.name!==r||!t.extend[e]||t.extend[e].title!==n||(o=i,0))})),o},t.prototype.buildLayoutSettingsObject=function(e,t,r){var n={layoutType:l.LayoutType.Custom,customLayout:{pagesLayout:{}}};return n.customLayout.pagesLayout[e]={visualsLayout:{}},n.customLayout.pagesLayout[e].visualsLayout[t]=r,n},t.prototype.validateVisual=function(e,t){return i(this,void 0,void 0,(function(){return a(this,(function(r){switch(r.label){case 0:return[4,this.getPageByName(e)];case 1:return[4,r.sent().getVisualByName(t)];case 2:return[2,r.sent()]}}))}))},t.prototype.applyThemeInternal=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.service.hpm.put("/report/theme",e,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,t.sent().body];case 2:throw t.sent().body;case 3:return[2]}}))}))},t.prototype.viewModeToString=function(e){var t;switch(e){case l.ViewMode.Edit:t="edit";break;case l.ViewMode.View:t="view"}return t},t.prototype.isMobileSettings=function(e){return e&&(e.layoutType===l.LayoutType.MobileLandscape||e.layoutType===l.LayoutType.MobilePortrait)},t.prototype.getZoom=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.service.hpm.get("/report/zoom",{uid:this.config.uniqueId},this.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},t.prototype.setZoom=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.updateSettings({zoomLevel:e})];case 1:return t.sent(),[2]}}))}))},t.prototype.closeAllOverlays=function(){return i(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:if((0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/closeAllOverlays",null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,t.sent().body];case 3:return e=t.sent(),[2,Promise.reject(e)];case 4:return[2]}}))}))},t.prototype.clearSelectedVisuals=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(r){switch(r.label){case 0:if(e=!0===e,(0,c.isRDLEmbed)(this.config.embedUrl))return[2,Promise.reject(d.APINotSupportedForRDLError)];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.post("/report/clearSelectedVisuals/".concat(e.toString()),null,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent().body];case 3:return t=r.sent(),[2,Promise.reject(t)];case 4:return[2]}}))}))},t.allowedEvents=["filtersApplied","pageChanged","commandTriggered","swipeStart","swipeEnd","bookmarkApplied","dataHyperlinkClicked","visualRendered","visualClicked","selectionChanged","renderingStarted","blur"],t.reportIdAttribute="powerbi-report-id",t.filterPaneEnabledAttribute="powerbi-settings-filter-pane-enabled",t.navContentPaneEnabledAttribute="powerbi-settings-nav-content-pane-enabled",t.typeAttribute="powerbi-type",t.type="Report",t}(u.Embed);t.Report=h},"./src/service.ts":
/*!************************!*\
  !*** ./src/service.ts ***!
  \************************/function(e,t,r){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Service=void 0;var a=r(/*! ./embed */"./src/embed.ts"),s=r(/*! ./report */"./src/report.ts"),l=r(/*! ./create */"./src/create.ts"),u=r(/*! ./dashboard */"./src/dashboard.ts"),c=r(/*! ./tile */"./src/tile.ts"),d=r(/*! ./page */"./src/page.ts"),p=r(/*! ./qna */"./src/qna.ts"),f=r(/*! ./visual */"./src/visual.ts"),h=r(/*! ./util */"./src/util.ts"),m=r(/*! ./quickCreate */"./src/quickCreate.ts"),v=r(/*! ./config */"./src/config.ts"),g=r(/*! ./errors */"./src/errors.ts"),y=function(){function e(t,r,n,o){void 0===o&&(o={});var i=this;this.registeredComponents={},this.wpmp=r(o.wpmpName,o.logMessages),this.hpm=t(this.wpmp,null,o.version,o.type,o.sdkWrapperVersion),this.router=n(this.wpmp),this.uniqueSessionId=h.generateUUID(),this.router.post("/reports/:uniqueId/events/:eventName",(function(e,t){var r={type:"report",id:e.params.uniqueId,name:e.params.eventName,value:e.body};i.handleEvent(r)})),this.router.post("/reports/:uniqueId/pages/:pageName/events/:eventName",(function(e,t){var r={type:"report",id:e.params.uniqueId,name:e.params.eventName,value:e.body};i.handleEvent(r)})),this.router.post("/reports/:uniqueId/pages/:pageName/visuals/:visualName/events/:eventName",(function(e,t){var r={type:"report",id:e.params.uniqueId,name:e.params.eventName,value:e.body};i.handleEvent(r)})),this.router.post("/dashboards/:uniqueId/events/:eventName",(function(e,t){var r={type:"dashboard",id:e.params.uniqueId,name:e.params.eventName,value:e.body};i.handleEvent(r)})),this.router.post("/tile/:uniqueId/events/:eventName",(function(e,t){var r={type:"tile",id:e.params.uniqueId,name:e.params.eventName,value:e.body};i.handleEvent(r)})),this.router.post("/qna/:uniqueId/events/:eventName",(function(e,t){var r={type:"qna",id:e.params.uniqueId,name:e.params.eventName,value:e.body};i.handleEvent(r)})),this.router.post("/ready/:uniqueId",(function(e,t){var r={type:"report",id:e.params.uniqueId,name:"ready",value:e.body};i.handleEvent(r)})),this.embeds=[],this.config=h.assign({},e.defaultConfig,o),this.config.autoEmbedOnContentLoaded&&this.enableAutoEmbed()}return e.prototype.createReport=function(e,t){t.type="create";var r=e,n=new l.Create(this,r,t);return r.powerBiEmbed=n,this.addOrOverwriteEmbed(n,e),n},e.prototype.quickCreate=function(e,t){t.type="quickCreate";var r=e,n=new m.QuickCreate(this,r,t);return r.powerBiEmbed=n,this.addOrOverwriteEmbed(n,e),n},e.prototype.init=function(e,t){var r=this;return void 0===t&&(t=void 0),e=e&&e instanceof HTMLElement?e:document.body,Array.prototype.slice.call(e.querySelectorAll("[".concat(a.Embed.embedUrlAttribute,"]"))).map((function(e){return r.embed(e,t)}))},e.prototype.embed=function(e,t){return void 0===t&&(t={}),this.embedInternal(e,t)},e.prototype.load=function(e,t){return void 0===t&&(t={}),this.embedInternal(e,t,!0,!1)},e.prototype.bootstrap=function(e,t){return this.embedInternal(e,t,!1,!0)},e.prototype.embedInternal=function(e,t,r,n){var o;void 0===t&&(t={});var i=e;if(i.powerBiEmbed){if(n)throw new Error("Attempted to bootstrap element ".concat(e.outerHTML,", but the element is already a powerbi element."));o=this.embedExisting(i,t,r)}else o=this.embedNew(i,t,r,n);return o},e.prototype.getNumberOfComponents=function(){return this.embeds?this.embeds.length:0},e.prototype.getSdkSessionId=function(){return this.uniqueSessionId},e.prototype.getSDKVersion=function(){return v.default.version},e.prototype.embedNew=function(e,t,r,o){var i=t.type||e.getAttribute(a.Embed.typeAttribute);if(!i){var l=n(n({},t),{accessToken:""});throw new Error("Attempted to embed using config ".concat(JSON.stringify(l)," on element ").concat(e.outerHTML,", but could not determine what type of component to embed. You must specify a type in the configuration or as an attribute such as '").concat(a.Embed.typeAttribute,'="').concat(s.Report.type.toLowerCase(),"\"'."))}t.type=i;var u=this.createEmbedComponent(i,e,t,r,o);return e.powerBiEmbed=u,this.addOrOverwriteEmbed(u,e),u},e.prototype.createEmbedComponent=function(t,r,n,o,i){var a=h.find((function(e){return t===e.type.toLowerCase()}),e.components);if(a)return new a(this,r,n,o,i);var s=h.find((function(e){return t.toLowerCase()===e.toLowerCase()}),Object.keys(this.registeredComponents));if(!s)throw new Error("Attempted to embed component of type: ".concat(t," but did not find any matching component.  Please verify the type you specified is intended."));return this.registeredComponents[s](this,r,n,o,i)},e.prototype.embedExisting=function(e,t,r){var o=h.find((function(t){return t.element===e}),this.embeds);if(!o){var i=n(n({},t),{accessToken:""});throw new Error("Attempted to embed using config ".concat(JSON.stringify(i)," on element ").concat(e.outerHTML," which already has embedded component associated, but could not find the existing component in the list of active components. This could indicate the embeds list is out of sync with the DOM, or the component is referencing the incorrect HTML element."))}if(t.type&&"qna"===t.type.toLowerCase())return this.embedNew(e,t);if("string"==typeof t.type&&t.type!==o.config.type){if("report"===t.type&&h.isCreate(o.config.type)){var a=new s.Report(this,e,t,!1,!1,e.powerBiEmbed.iframe);return o.populateConfig(t,!1),a.load(),e.powerBiEmbed=a,this.addOrOverwriteEmbed(o,e),a}throw i=n(n({},t),{accessToken:""}),new Error("Embedding on an existing element with a different type than the previous embed object is not supported.  Attempted to embed using config ".concat(JSON.stringify(i)," on element ").concat(e.outerHTML,", but the existing element contains an embed of type: ").concat(this.config.type," which does not match the new type: ").concat(t.type))}return o.populateConfig(t,!1),o.load(r),o},e.prototype.enableAutoEmbed=function(){var e=this;window.addEventListener("DOMContentLoaded",(function(t){return e.init(document.body)}),!1)},e.prototype.get=function(e){var t=e;if(!t.powerBiEmbed)throw new Error("You attempted to get an instance of powerbi component associated with element: ".concat(e.outerHTML," but there was no associated instance."));return t.powerBiEmbed},e.prototype.find=function(e){return h.find((function(t){return t.config.uniqueId===e}),this.embeds)},e.prototype.addOrOverwriteEmbed=function(e,t){this.embeds=this.embeds.filter((function(e){return e.element!==t})),this.embeds.push(e)},e.prototype.reset=function(e){var t=e;if(t.powerBiEmbed){var r=t.powerBiEmbed;r.frontLoadHandler&&r.element.removeEventListener("ready",r.frontLoadHandler,!1),r.allowedEvents.forEach((function(e){r.off(e)})),h.remove((function(e){return e===t.powerBiEmbed}),this.embeds),delete t.powerBiEmbed;var n=e.querySelector("iframe");n&&(void 0!==n.remove?n.remove():n.parentElement.removeChild(n))}},e.prototype.handleTileEvents=function(e){"tile"===e.type&&this.handleEvent(e)},e.prototype.invokeSDKHook=function(e,t,r){return o(this,void 0,void 0,(function(){var n,o;return i(this,(function(i){switch(i.label){case 0:if(!e)return r.send(404,null),[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,e(t.body)];case 2:return n=i.sent(),r.send(200,n),[3,4];case 3:return o=i.sent(),r.send(400,null),console.error(o),[3,4];case 4:return[2]}}))}))},e.prototype.handleEvent=function(e){var t=h.find((function(t){return t.config.uniqueId===e.id}),this.embeds);if(t){var r=e.value;if("pageChanged"===e.name){var n=r.newPage;if(!n)throw new Error("Page model not found at 'event.value.".concat("newPage","'."));r.newPage=new d.Page(t,n.name,n.displayName,!0)}h.raiseCustomEvent(t.element,e.name,r)}},e.prototype.preload=function(e,t){if(!h.validateEmbedUrl(e.embedUrl))throw new Error(g.invalidEmbedUrlErrorMessage);var r=document.createElement("iframe");r.setAttribute("style","display:none;"),r.setAttribute("src",e.embedUrl),r.setAttribute("scrolling","no"),r.setAttribute("allowfullscreen","false");var n=t;return n||(n=document.getElementsByTagName("body")[0]),n.appendChild(r),r.onload=function(){h.raiseCustomEvent(r,"preloaded",{})},r},e.prototype.setSdkInfo=function(e,t){this.hpm.defaultHeaders["x-sdk-type"]=e,this.hpm.defaultHeaders["x-sdk-wrapper-version"]=t},e.prototype.register=function(t,r,n){var o=this;if(h.find((function(e){return t.toLowerCase()===e.type.toLowerCase()}),e.components))throw new Error("The component name is reserved. Cannot register a component with this name.");if(h.find((function(e){return t.toLowerCase()===e.toLowerCase()}),Object.keys(this.registeredComponents)))throw new Error("A component with this type is already registered.");this.registeredComponents[t]=r,n.forEach((function(e){if(!e.includes(":uniqueId")||!e.includes(":eventName"))throw new Error("Invalid router event URL");o.router.post(e,(function(e,r){var n={type:t,id:e.params.uniqueId,name:e.params.eventName,value:e.body};o.handleEvent(n)}))}))},e.components=[c.Tile,s.Report,u.Dashboard,p.Qna,f.Visual],e.defaultConfig={autoEmbedOnContentLoaded:!1,onError:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.log(e[0],e.slice(1))}},e}();t.Service=y},"./src/tile.ts":
/*!*********************!*\
  !*** ./src/tile.ts ***!
  \*********************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Tile=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=function(e){function t(r,n,o,i,a){var s=this,l=o;return(s=e.call(this,r,n,l,void 0,i,a)||this).loadPath="/tile/load",Array.prototype.push.apply(s.allowedEvents,t.allowedEvents),s}return o(t,e),t.prototype.getId=function(){var e=this.config.id||t.findIdFromEmbedUrl(this.config.embedUrl);if("string"!=typeof e||0===e.length)throw new Error("Tile id is required, but it was not found. You must provide an id either as part of embed configuration.");return e},t.prototype.validate=function(e){var t=e;return(0,i.validateTileLoad)(t)},t.prototype.configChanged=function(e){e||(this.config.id=this.getId())},t.prototype.getDefaultEmbedUrlEndpoint=function(){return"tileEmbed"},t.findIdFromEmbedUrl=function(e){var t,r=e.match(/tileId="?([^&]+)"?/);return r&&(t=r[1]),t},t.type="Tile",t.allowedEvents=["tileClicked","tileLoaded"],t}(r(/*! ./embed */"./src/embed.ts").Embed);t.Tile=a},"./src/util.ts":
/*!*********************!*\
  !*** ./src/util.ts ***!
  \*********************/function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},n=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.validateEmbedUrl=t.isCreate=t.getTimeDiffInMilliseconds=t.getRandomValue=t.autoAuthInEmbedUrl=t.isRDLEmbed=t.isSavedInternal=t.addParamToUrl=t.generateUUID=t.createRandomString=t.assign=t.remove=t.find=t.findIndex=t.raiseCustomEvent=void 0;var o=new RegExp(/(.+\.powerbi\.com$)|(.+\.fabric\.microsoft\.com$)|(.+\.analysis\.windows-int\.net$)|(.+\.analysis-df\.windows\.net$)/),i=new RegExp(/^app\.powerbi\.cn$|^app(\.mil\.|\.high\.|\.)powerbigov\.us$|^app\.powerbi\.eaglex\.ic\.gov$|^app\.powerbi\.microsoft\.scloud$/);function a(e,t){if(!Array.isArray(t))throw new Error("You attempted to call find with second parameter that was not an array. You passed: ".concat(t));var r;return t.some((function(t,n){if(e(t))return r=n,!0})),r}function s(){var e=window.crypto||window.msCrypto,t=new Uint32Array(1);return e.getRandomValues(t),t[0]}t.raiseCustomEvent=function(e,t,r){var n;"function"==typeof CustomEvent?n=new CustomEvent(t,{detail:r,bubbles:!0,cancelable:!0}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,r),e.dispatchEvent(n)},t.findIndex=a,t.find=function(e,t){return t[a(e,t)]},t.remove=function(e,t){var r=a(e,t);t.splice(r,1)},t.assign=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0];if(null==r)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(r),o=1;o<arguments.length;o++){var i=arguments[o];if(null!=i)for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])}return n},t.createRandomString=function(){return s().toString(36).substring(1)},t.generateUUID=function(){return(new Date).getTime(),"undefined"!=typeof performance&&"function"==typeof performance.now&&performance.now(),"xxxxxxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=s()%16;return t.toString(16)}))},t.addParamToUrl=function(e,t,r){var n=e.indexOf("?")>0?"&":"?";return e+=n+t+"="+r},t.isSavedInternal=function(e,t,o){return r(this,void 0,void 0,(function(){return n(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e.get("/report/hasUnsavedChanges",{uid:t},o)];case 1:return[2,!r.sent().body];case 2:throw r.sent().body;case 3:return[2]}}))}))},t.isRDLEmbed=function(e){return e&&e.toLowerCase().indexOf("/rdlembed?")>=0},t.autoAuthInEmbedUrl=function(e){return e&&decodeURIComponent(e).toLowerCase().indexOf("autoauth=true")>=0},t.getRandomValue=s,t.getTimeDiffInMilliseconds=function(e,t){return Math.abs(e.getTime()-t.getTime())},t.isCreate=function(e){return"create"===e||"quickcreate"===e},t.validateEmbedUrl=function(e){if(e){var t=void 0;try{t=new URL(e.toLowerCase())}catch(e){return!1}return"https:"===t.protocol&&(o.test(t.hostname)||i.test(t.hostname))}}},"./src/visual.ts":
/*!***********************!*\
  !*** ./src/visual.ts ***!
  \***********************/function(e,t,r){var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Visual=void 0;var s=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),l=r(/*! ./report */"./src/report.ts"),u=r(/*! ./visualDescriptor */"./src/visualDescriptor.ts"),c=function(e){function t(t,r,n,o,i,a){return e.call(this,t,r,n,o,i,a)||this}return o(t,e),t.prototype.load=function(t){var r=this.config;if(r.accessToken){if("string"!=typeof r.pageName||0===r.pageName.length)throw new Error("Page name is required when embedding a visual.");if("string"!=typeof r.visualName||0===r.visualName.length)throw new Error("Visual name is required, but it was not found. You must provide a visual name as part of embed configuration.");var n=r.width?r.width:this.iframe.offsetWidth,o=r.height?r.height:this.iframe.offsetHeight,i={type:s.PageSizeType.Custom,width:n,height:o},a={};return a[r.pageName]={defaultLayout:{displayState:{mode:s.VisualContainerDisplayMode.Hidden}},visualsLayout:{}},a[r.pageName].visualsLayout[r.visualName]={displayState:{mode:s.VisualContainerDisplayMode.Visible},x:1,y:1,z:1,width:i.width,height:i.height},r.settings=r.settings||{},r.settings.filterPaneEnabled=!1,r.settings.navContentPaneEnabled=!1,r.settings.layoutType=s.LayoutType.Custom,r.settings.customLayout={displayOption:s.DisplayOption.FitToPage,pageSize:i,pagesLayout:a},this.config=r,e.prototype.load.call(this,t)}},t.prototype.getPages=function(){throw t.GetPagesNotSupportedError},t.prototype.setPage=function(e){throw t.SetPageNotSupportedError},t.prototype.render=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(e){throw t.RenderNotSupportedError}))}))},t.prototype.getVisualDescriptor=function(){return i(this,void 0,void 0,(function(){var e,t,r,n,o;return a(this,(function(i){switch(i.label){case 0:e=this.config,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.service.hpm.get("/report/pages/".concat(e.pageName,"/visuals"),{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:if(t=i.sent(),0===(r=t.body.filter((function(t){return t.name===e.visualName}))).length)throw{message:"visualNotFound",detailedMessage:"Visual not found"};return n=r[0],o=this.page(e.pageName),[2,new u.VisualDescriptor(o,n.name,n.title,n.type,n.layout)];case 3:throw i.sent().body;case 4:return[2]}}))}))},t.prototype.getFilters=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(r){switch(r.label){case 0:t=this.getFiltersLevelUrl(e),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.service.hpm.get(t,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,r.sent().body];case 3:throw r.sent().body;case 4:return[2]}}))}))},t.prototype.updateFilters=function(e,t,r){return i(this,void 0,void 0,(function(){var n,o;return a(this,(function(i){switch(i.label){case 0:n={filtersOperation:e,filters:t},o=this.getFiltersLevelUrl(r),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.service.hpm.post(o,n,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,i.sent()];case 3:throw i.sent().body;case 4:return[2]}}))}))},t.prototype.setFilters=function(e,t){return i(this,void 0,void 0,(function(){var r;return a(this,(function(n){switch(n.label){case 0:r=this.getFiltersLevelUrl(t),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.service.hpm.put(r,e,{uid:this.config.uniqueId},this.iframe.contentWindow)];case 2:return[2,n.sent()];case 3:throw n.sent().body;case 4:return[2]}}))}))},t.prototype.removeFilters=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.updateFilters(s.FiltersOperations.RemoveAll,void 0,e)];case 1:return[2,t.sent()]}}))}))},t.prototype.getFiltersLevelUrl=function(e){var t=this.config;switch(e){case s.FiltersLevel.Report:return"/report/filters";case s.FiltersLevel.Page:return"/report/pages/".concat(t.pageName,"/filters");default:return"/report/pages/".concat(t.pageName,"/visuals/").concat(t.visualName,"/filters")}},t.type="visual",t.GetPagesNotSupportedError="Get pages is not supported while embedding a visual.",t.SetPageNotSupportedError="Set page is not supported while embedding a visual.",t.RenderNotSupportedError="render is not supported while embedding a visual.",t}(l.Report);t.Visual=c},"./src/visualDescriptor.ts":
/*!*********************************!*\
  !*** ./src/visualDescriptor.ts ***!
  \*********************************/function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.VisualDescriptor=void 0;var i=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js"),a=function(){function e(e,t,r,n,o){this.name=t,this.title=r,this.type=n,this.layout=o,this.page=e}return e.prototype.getFilters=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.page.report.service.hpm.get("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/filters"),{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},e.prototype.updateFilters=function(e,t){return n(this,void 0,void 0,(function(){var r;return o(this,(function(n){switch(n.label){case 0:r={filtersOperation:e,filters:t},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.page.report.service.hpm.post("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/filters"),r,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 2:return[2,n.sent()];case 3:throw n.sent().body;case 4:return[2]}}))}))},e.prototype.removeFilters=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,this.updateFilters(i.FiltersOperations.RemoveAll)];case 1:return[2,e.sent()]}}))}))},e.prototype.setFilters=function(e){return n(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.page.report.service.hpm.put("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/filters"),e,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,t.sent()];case 2:throw t.sent().body;case 3:return[2]}}))}))},e.prototype.exportData=function(e,t){return n(this,void 0,void 0,(function(){var r;return o(this,(function(n){switch(n.label){case 0:r={rows:t,exportDataType:e},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.page.report.service.hpm.post("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/exportData"),r,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 2:return[2,n.sent().body];case 3:throw n.sent().body;case 4:return[2]}}))}))},e.prototype.setSlicerState=function(e){return n(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.page.report.service.hpm.put("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/slicer"),e,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,t.sent()];case 2:throw t.sent().body;case 3:return[2]}}))}))},e.prototype.getSlicerState=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.page.report.service.hpm.get("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/slicer"),{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},e.prototype.clone=function(e){return void 0===e&&(e={}),n(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.page.report.service.hpm.post("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/clone"),e,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,t.sent().body];case 2:throw t.sent().body;case 3:return[2]}}))}))},e.prototype.sortBy=function(e){return n(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.page.report.service.hpm.put("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/sortBy"),e,{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,t.sent()];case 2:throw t.sent().body;case 3:return[2]}}))}))},e.prototype.moveVisual=function(e,t,r){return n(this,void 0,void 0,(function(){var n,i;return o(this,(function(o){return n=this.page.name,i=this.name,[2,this.page.report.moveVisual(n,i,e,t,r)]}))}))},e.prototype.setVisualDisplayState=function(e){return n(this,void 0,void 0,(function(){var t,r;return o(this,(function(n){return t=this.page.name,r=this.name,[2,this.page.report.setVisualDisplayState(t,r,e)]}))}))},e.prototype.resizeVisual=function(e,t){return n(this,void 0,void 0,(function(){var r,n;return o(this,(function(o){return r=this.page.name,n=this.name,[2,this.page.report.resizeVisual(r,n,e,t)]}))}))},e.prototype.getSmartNarrativeInsights=function(){return n(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.page.report.service.hpm.get("/report/pages/".concat(this.page.name,"/visuals/").concat(this.name,"/smartNarrativeInsights"),{uid:this.page.report.config.uniqueId},this.page.report.iframe.contentWindow)];case 1:return[2,e.sent().body];case 2:throw e.sent().body;case 3:return[2]}}))}))},e}();t.VisualDescriptor=a},"./node_modules/window-post-message-proxy/dist/windowPostMessageProxy.js":
/*!*******************************************************************************!*\
  !*** ./node_modules/window-post-message-proxy/dist/windowPostMessageProxy.js ***!
  \*******************************************************************************/e=>{var t;self,t=()=>(()=>{"use strict";var e={};return(()=>{var t=e;Object.defineProperty(t,"__esModule",{value:!0}),t.WindowPostMessageProxy=void 0;var r=function(){function e(t){void 0===t&&(t={processTrackingProperties:{addTrackingProperties:e.defaultAddTrackingProperties,getTrackingProperties:e.defaultGetTrackingProperties},isErrorMessage:e.defaultIsErrorMessage,receiveWindow:window,name:e.createRandomString()});var r=this;this.pendingRequestPromises={},this.addTrackingProperties=t.processTrackingProperties&&t.processTrackingProperties.addTrackingProperties||e.defaultAddTrackingProperties,this.getTrackingProperties=t.processTrackingProperties&&t.processTrackingProperties.getTrackingProperties||e.defaultGetTrackingProperties,this.isErrorMessage=t.isErrorMessage||e.defaultIsErrorMessage,this.receiveWindow=t.receiveWindow||window,this.name=t.name||e.createRandomString(),this.logMessages=t.logMessages||!1,this.eventSourceOverrideWindow=t.eventSourceOverrideWindow,this.suppressWarnings=t.suppressWarnings||!1,this.logMessages&&console.log("new WindowPostMessageProxy created with name: ".concat(this.name," receiving on window: ").concat(this.receiveWindow.document.title)),this.handlers=[],this.windowMessageHandler=function(e){return r.onMessageReceived(e)},this.start()}return e.defaultAddTrackingProperties=function(t,r){return t[e.messagePropertyName]=r,t},e.defaultGetTrackingProperties=function(t){return t[e.messagePropertyName]},e.defaultIsErrorMessage=function(e){return!!e.error},e.createDeferred=function(){var e={resolve:null,reject:null,promise:null},t=new Promise((function(t,r){e.resolve=t,e.reject=r}));return e.promise=t,e},e.createRandomString=function(){var e=window.crypto||window.msCrypto,t=new Uint32Array(1);return e.getRandomValues(t),t[0].toString(36).substring(1)},e.prototype.addHandler=function(e){this.handlers.push(e)},e.prototype.removeHandler=function(e){var t=this.handlers.indexOf(e);if(-1===t)throw new Error("You attempted to remove a handler but no matching handler was found.");this.handlers.splice(t,1)},e.prototype.start=function(){this.receiveWindow.addEventListener("message",this.windowMessageHandler)},e.prototype.stop=function(){this.receiveWindow.removeEventListener("message",this.windowMessageHandler)},e.prototype.postMessage=function(t,r){var n={id:e.createRandomString()};this.addTrackingProperties(r,n),this.logMessages&&(console.log("".concat(this.name," Posting message:")),console.log(JSON.stringify(r,null,"  "))),t.postMessage(r,"*");var o=e.createDeferred();return this.pendingRequestPromises[n.id]=o,o.promise},e.prototype.sendResponse=function(e,t,r){this.addTrackingProperties(t,r),this.logMessages&&(console.log("".concat(this.name," Sending response:")),console.log(JSON.stringify(t,null,"  "))),e.postMessage(t,"*")},e.prototype.onMessageReceived=function(e){var t=this;this.logMessages&&(console.log("".concat(this.name," Received message:")),console.log("type: ".concat(e.type)),console.log(JSON.stringify(e.data,null,"  ")));var r=this.eventSourceOverrideWindow||e.source;if(r){var n=e.data;if("object"==typeof n){var o,i;try{o=this.getTrackingProperties(n)}catch(e){this.suppressWarnings||console.warn("Proxy(".concat(this.name,"): Error occurred when attempting to get tracking properties from incoming message:"),JSON.stringify(n,null,"  "),"Error: ",e)}if(o&&(i=this.pendingRequestPromises[o.id]),i){var a=!0;try{a=this.isErrorMessage(n)}catch(e){console.warn("Proxy(".concat(this.name,") Error occurred when trying to determine if message is consider an error response. Message: "),JSON.stringify(n,null,""),"Error: ",e)}a?i.reject(n):i.resolve(n),delete this.pendingRequestPromises[o.id]}else this.handlers.some((function(e){var i=!1;try{i=e.test(n)}catch(e){t.suppressWarnings||console.warn("Proxy(".concat(t.name,"): Error occurred when handler was testing incoming message:"),JSON.stringify(n,null,"  "),"Error: ",e)}if(i){var a=void 0;try{a=Promise.resolve(e.handle(n))}catch(e){t.suppressWarnings||console.warn("Proxy(".concat(t.name,"): Error occurred when handler was processing incoming message:"),JSON.stringify(n,null,"  "),"Error: ",e),a=Promise.resolve()}return a.then((function(e){if(!e){var i="Handler for message: ".concat(JSON.stringify(n,null,"  ")," did not return a response message. The default response message will be returned instead.");t.suppressWarnings||console.warn("Proxy(".concat(t.name,"): ").concat(i)),e={warning:i}}t.sendResponse(r,e,o)})),!0}}))||this.suppressWarnings||console.warn("Proxy(".concat(this.name,") did not handle message. Handlers: ").concat(this.handlers.length,"  Message: ").concat(JSON.stringify(n,null,""),"."))}else this.suppressWarnings||console.warn("Proxy(".concat(this.name,"): Received message that was not an object. Discarding message"))}},e.messagePropertyName="windowPostMessageProxy",e}();t.WindowPostMessageProxy=r})(),e})(),e.exports=t()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}var n={};return(()=>{var e=n;
/*!*******************************!*\
  !*** ./src/powerbi-client.ts ***!
  \*******************************/Object.defineProperty(e,"__esModule",{value:!0}),e.RelativeTimeFilterBuilder=e.RelativeDateFilterBuilder=e.TopNFilterBuilder=e.AdvancedFilterBuilder=e.BasicFilterBuilder=e.Create=e.QuickCreate=e.VisualDescriptor=e.Visual=e.Qna=e.Page=e.Embed=e.Tile=e.Dashboard=e.Report=e.models=e.factories=e.service=void 0;var t=r(/*! powerbi-models */"./node_modules/powerbi-models/dist/models.js");e.models=t;var o=r(/*! ./service */"./src/service.ts");e.service=o;var i=r(/*! ./factories */"./src/factories.ts");e.factories=i;var a=r(/*! ./report */"./src/report.ts");Object.defineProperty(e,"Report",{enumerable:!0,get:function(){return a.Report}});var s=r(/*! ./dashboard */"./src/dashboard.ts");Object.defineProperty(e,"Dashboard",{enumerable:!0,get:function(){return s.Dashboard}});var l=r(/*! ./tile */"./src/tile.ts");Object.defineProperty(e,"Tile",{enumerable:!0,get:function(){return l.Tile}});var u=r(/*! ./embed */"./src/embed.ts");Object.defineProperty(e,"Embed",{enumerable:!0,get:function(){return u.Embed}});var c=r(/*! ./page */"./src/page.ts");Object.defineProperty(e,"Page",{enumerable:!0,get:function(){return c.Page}});var d=r(/*! ./qna */"./src/qna.ts");Object.defineProperty(e,"Qna",{enumerable:!0,get:function(){return d.Qna}});var p=r(/*! ./visual */"./src/visual.ts");Object.defineProperty(e,"Visual",{enumerable:!0,get:function(){return p.Visual}});var f=r(/*! ./visualDescriptor */"./src/visualDescriptor.ts");Object.defineProperty(e,"VisualDescriptor",{enumerable:!0,get:function(){return f.VisualDescriptor}});var h=r(/*! ./quickCreate */"./src/quickCreate.ts");Object.defineProperty(e,"QuickCreate",{enumerable:!0,get:function(){return h.QuickCreate}});var m=r(/*! ./create */"./src/create.ts");Object.defineProperty(e,"Create",{enumerable:!0,get:function(){return m.Create}});var v=r(/*! ./FilterBuilders */"./src/FilterBuilders/index.ts");Object.defineProperty(e,"BasicFilterBuilder",{enumerable:!0,get:function(){return v.BasicFilterBuilder}}),Object.defineProperty(e,"AdvancedFilterBuilder",{enumerable:!0,get:function(){return v.AdvancedFilterBuilder}}),Object.defineProperty(e,"TopNFilterBuilder",{enumerable:!0,get:function(){return v.TopNFilterBuilder}}),Object.defineProperty(e,"RelativeDateFilterBuilder",{enumerable:!0,get:function(){return v.RelativeDateFilterBuilder}}),Object.defineProperty(e,"RelativeTimeFilterBuilder",{enumerable:!0,get:function(){return v.RelativeTimeFilterBuilder}});var g=new o.Service(i.hpmFactory,i.wpmpFactory,i.routerFactory);window.powerbi&&window.powerBISDKGlobalServiceInstanceName?window[window.powerBISDKGlobalServiceInstanceName]=g:window.powerbi=g})(),n})(),e.exports=n()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Aad="Aad",e.reportInGroup="reportInGroup",e.dashboardInGroup="dashboardInGroup",e.tileInGroup="tileInGroup",e.multiple="multiple"}(t.PbiTokenType||(t.PbiTokenType={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.report="report",e.dashboard="dashboard",e.tile="tile"}(t.PbiContentType||(t.PbiContentType={}))},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0).createContext(null);t.default=n},,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Create="Create",e.Edit="Edit",e.View="View"}(t.PbiAccessLevel||(t.PbiAccessLevel={}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var React=__webpack_require__(0),pbi=__webpack_require__(597),MessageBar_1=__webpack_require__(221),Icons_1=__webpack_require__(220),EmbeddedContext_1=__webpack_require__(601),PbiTokenType_1=__webpack_require__(598),PbiContentType_1=__webpack_require__(599),TokenService_1=__webpack_require__(659),powerbi_client_1=__webpack_require__(597);Icons_1.initializeIcons(),exports.Embed=function(props){var _a=React.useState(null),token=_a[0],updateToken=_a[1],_b=React.useState(""),lastError=_b[0],updateLastError=_b[1],env=React.useContext(EmbeddedContext_1.default),rootId=env.rootId,_c=env.props,contentType=_c.contentType,dashboardId=_c.dashboardId,groupId=_c.groupId,reportId=_c.reportId,tileId=_c.tileId,tokenType=_c.tokenType,height=_c.height,srcEmbed=_c.srcEmbed,srcFilterConfig=_c.srcFilterConfig,width=_c.width;React.useEffect((function(){TokenService_1.getEmbedToken(env,updateToken,updateLastError).catch((function(e){console.error(e),e.message&&updateLastError(e.message)}))}),[]);var report=React.useMemo((function(){if(!token)return null;var _a=env.props,reportContainer=document.getElementById(rootId);if(width&&height&&(reportContainer.style.width=width,reportContainer.style.height=height),srcEmbed)try{var embedConfigObj=JSON.parse(atob(srcEmbed));return embedConfigObj.accessToken=token,embedConfigObj.tokenType=eval(embedConfigObj.tokenType),console.debug("[PowerBi.useEffect[token]] -> embedConfigObj"),console.debug(embedConfigObj),window.powerbi.embed(reportContainer,embedConfigObj)}catch(e){updateLastError("[PowerBi.useEffect[token]] -> Could not successfully parse the Embed Config from JSON.")}var config={type:tokenType==PbiTokenType_1.PbiTokenType.multiple?PbiContentType_1.PbiContentType.report:contentType,tokenType:tokenType==PbiTokenType_1.PbiTokenType.Aad?pbi.models.TokenType.Aad:pbi.models.TokenType.Embed,accessToken:token};return contentType!=PbiContentType_1.PbiContentType.report&&tokenType!=PbiTokenType_1.PbiTokenType.multiple||(config.id=reportId,config.embedUrl="https://app.powerbi.com/reportEmbed?reportId="+reportId+"&groupId="+groupId),contentType==PbiContentType_1.PbiContentType.dashboard&&(config.id=dashboardId,config.embedUrl="https://app.powerbi.com/dashboardEmbed?dashboardId="+dashboardId+"&groupId="+groupId),contentType==PbiContentType_1.PbiContentType.tile&&(config.id=tileId,config.dashboardId=dashboardId,config.embedUrl="https://app.powerbi.com/embed?dashboardId="+dashboardId+"&tileId="+tileId+"&groupId="+groupId),console.debug("[PowerBi.useEffect[token]] -> embedConfig"),console.debug(config),window.powerbi.embed(reportContainer,config)}),[token]);return React.useEffect((function(){if(report&&srcFilterConfig)try{var e=JSON.parse(atob(srcFilterConfig));report.on("loaded",(function(t){report.updateFilters(powerbi_client_1.models.FiltersOperations.Add,[e])}))}catch(e){console.log(e)}}),[report]),React.createElement(React.Fragment,null,!!lastError&&React.createElement(MessageBar_1.MessageBar,{hidden:!lastError,className:"pintraMessage",messageBarType:MessageBar_1.MessageBarType.error,isMultiline:!1,onDismiss:function(e){updateLastError("")},dismissButtonAriaLabel:"Close"},React.createElement("span",{dangerouslySetInnerHTML:{__html:lastError||""}})))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(151),a=r(179),s=r(599),l=r(598),u=r(623),c=function(e){for(var t=0,r=0,n=e.length;r<n;)t=(t<<5)-t+e.charCodeAt(r++)<<0;return(t+2147483647+1).toString()};t.getEmbedToken=function(e,t,r){return n(void 0,void 0,void 0,(function(){var n,i,u,c,f,h,m,v,g,y,b,w,_,S,O,C;return o(this,(function(o){switch(o.label){case 0:switch(n=e.wpAjaxAdminUrl,i=e.nonce,u=e.props,c=u.contentType,f=u.dashboardId,h=u.datasetId,m=u.groupId,v=u.reportId,g=u.tileId,y=u.tokenRequestUrl,b=u.tokenType,w=u.srcGenerateToken,_="",S="",b){case l.PbiTokenType.Aad:switch(_="pbiAadToken",c){case s.PbiContentType.dashboard:case s.PbiContentType.tile:S="https://analysis.windows.net/powerbi/api/Dashboard.Read.All";break;default:S="https://analysis.windows.net/powerbi/api/Report.Read.All https://analysis.windows.net/powerbi/api/Dataset.Read.All"}break;default:_="pbiEmbedToken",S="https://analysis.windows.net/powerbi/api/.default"}return[4,a.TokenCache.getTokenV2(new a.TokenRequestV2(_,S),{wpAjaxAdminUrl:n,nonce:i})];case 1:if((O=o.sent())instanceof Error||void 0===O.bearer)return r("[PowerBi.getEmbedToken] -> Unexpected: Could not retrieve a valid AAD (bearer) access token."),[2];if(C=O.bearer,b==l.PbiTokenType.Aad)return t(C),[2];switch(b){case l.PbiTokenType.reportInGroup:if(!m)return r("[PowerBi.getEmbedToken] -> Workspace ID is missing."),[2];if(!m)return r("[PowerBi.getEmbedToken] -> Report ID is missing."),[2];p(y||"https://api.powerbi.com/v1.0/myorg/groups/"+m+"/reports/"+v+"/GenerateToken",C,t,r,w);break;case l.PbiTokenType.dashboardInGroup:if(!m)return r("[PowerBi.getEmbedToken] -> Workspace ID is missing."),[2];if(!f)return r("[PowerBi.getEmbedToken] -> Dashboard ID is missing."),[2];p(y||"https://api.powerbi.com/v1.0/myorg/groups/"+m+"/dashboards/"+f+"/GenerateToken",C,t,r,w);break;case l.PbiTokenType.tileInGroup:if(!m)return r("[PowerBi.getEmbedToken] -> Workspace ID is missing."),[2];if(!f)return r("[PowerBi.getEmbedToken] -> Dashboard ID is missing."),[2];if(!g)return r("[PowerBi.getEmbedToken] -> Tile ID is missing."),[2];p(y||"https://api.powerbi.com/v1.0/myorg/groups/"+m+"/dashboards/"+f+"/tiles/"+g+"/GenerateToken",C,t,r,w);break;case l.PbiTokenType.multiple:d(y||"https://api.powerbi.com/v1.0/myorg/GenerateToken",v,h,C,t,r,w)}return[2]}}))}))};var d=function(e,t,r,n,o,a,s){var l=s?JSON.parse(atob(s)):{};0==Object.keys(l).length&&(l.targetWorkspaces=null,t&&(l.reports=[{id:t}]),r&&(l.datasets=[{id:r}])),i.default.post(e,l,{headers:{Authorization:"Bearer "+n}}).then((function(e){var t=e.data.token;o(t)})).catch((function(e){a(void 0!==e.response&&e.response.data.error?e.response.data.error.message:e.message)}))},p=function(e,t,r,n,o){var a=f(e,o);if(a)return console.debug("[PowerBi.generateTokenInGroup] -> Found a cached token for "+e),void r(a);var s=o?JSON.parse(atob(o)):{accessLevel:u.PbiAccessLevel.View};i.default.post(e,s,{headers:{Authorization:"Bearer "+t}}).then((function(t){var n=t.data.token,i=new Date(t.data.expiration).getTime();h(e,n,i,o),r(n)})).catch((function(e){n(void 0!==e.response&&e.response.data.error?e.response.data.error.message:e.message)}))},f=function(e,t){var r=sessionStorage.getItem("pbiTokenCache");if(null==r)return null;var n=JSON.parse(r),o=t?e+"_"+c(t):e;return o in n&&n[o].expiration>Date.now()?n[o].token:null},h=function(e,t,r,n){var o=sessionStorage.getItem("pbiTokenCache"),i=null==o?{}:JSON.parse(o);i[n?e+"_"+c(n):e]={token:t,expiration:r},sessionStorage.setItem("pbiTokenCache",JSON.stringify(i))}},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var React=__webpack_require__(0),pbi=__webpack_require__(597),MessageBar_1=__webpack_require__(221),Icons_1=__webpack_require__(220),EmbeddedContext_1=__webpack_require__(601),PbiTokenType_1=__webpack_require__(598),PbiContentType_1=__webpack_require__(599),TokenServiceV2_1=__webpack_require__(661),powerbi_client_1=__webpack_require__(597);Icons_1.initializeIcons(),exports.EmbedV2=function(props){var _a=React.useState(null),initialToken=_a[0],updateInitialToken=_a[1],_b=React.useState(null),accessToken=_b[0],updateAccessToken=_b[1],_c=React.useState(""),lastError=_c[0],updateLastError=_c[1],env=React.useContext(EmbeddedContext_1.default),rootId=env.rootId,_d=env.props,contentType=_d.contentType,dashboardId=_d.dashboardId,groupId=_d.groupId,reportId=_d.reportId,tileId=_d.tileId,tokenType=_d.tokenType,height=_d.height,splashScreenImgUrl=_d.splashScreenImgUrl,srcEmbed=_d.srcEmbed,srcFilterConfig=_d.srcFilterConfig,width=_d.width,interval=React.useRef(null);React.useEffect((function(){if(!initialToken&&(TokenServiceV2_1.getEmbedToken(env).then((function(e){updateInitialToken((function(){return e}))})).catch((function(e){console.log("Error occurred whilst getting the initial embedToken"),console.error(e),updateLastError((function(){return e}))})),tokenType!=PbiTokenType_1.PbiTokenType.Aad&&null==interval.current))return interval.current=setInterval((function(){console.log("Timer triggered"),TokenServiceV2_1.clearTokenCache(),TokenServiceV2_1.getEmbedToken(env).then((function(e){console.log("Requested a new access token [type: application, event: Timer]"),updateAccessToken((function(){return e}))})).catch((function(e){console.log("Request to update an access token failed [type: application, event: Timer]."),console.log(e)}))}),33e5),function(){console.log("Timer to request a new access token cleared [type: application, event: Timer]"),clearInterval(interval.current)}}),[]);var report=React.useMemo((function(){if(!initialToken)return null;var _a=env.props,reportContainer=document.getElementById(rootId);if(width&&height&&(reportContainer.style.width=width,reportContainer.style.height=height),splashScreenImgUrl&&(reportContainer.style.background="url('"+splashScreenImgUrl+"') no-repeat center top"),srcEmbed)try{var embedConfigObj=JSON.parse(atob(srcEmbed));embedConfigObj.accessToken=initialToken,embedConfigObj.tokenType=eval(embedConfigObj.tokenType),tokenType==PbiTokenType_1.PbiTokenType.Aad&&(embedConfigObj.eventHooks={accessTokenProvider:function(){return TokenServiceV2_1.getEmbedToken(env).then((function(e){console.log("Requested a new access token [type: delegated, eventHook: accessTokenProvider]"),updateAccessToken((function(){return e}))})).catch((function(e){console.log("Request to get a new access token failed [type: delegated, eventHook: accessTokenProvider]"),console.log(e)}))}});var embedded_1=window.powerbi.embed(reportContainer,embedConfigObj);return embedded_1.on("loaded",(function(e){window.wpo365=window.wpo365||{},window.wpo365.pbi=window.wpo365.pbi||{},"loaded"in window.wpo365.pbi&&window.wpo365.pbi.loaded(e,embedded_1),splashScreenImgUrl&&embedded_1.iframe&&setTimeout((function(){embedded_1.iframe.style.opacity="1"}),1e3)})),embedded_1.on("rendered",(function(e){window.wpo365=window.wpo365||{},window.wpo365.pbi=window.wpo365.pbi||{},"rendered"in window.wpo365.pbi&&window.wpo365.pbi.rendered(e,embedded_1)})),splashScreenImgUrl&&embedded_1.iframe&&(embedded_1.iframe.style.opacity="0"),embedded_1}catch(e){updateLastError((function(){return"[PowerBi.useEffect[token]] -> Could not successfully parse the Embed Config from JSON."}))}var config={type:tokenType==PbiTokenType_1.PbiTokenType.multiple?PbiContentType_1.PbiContentType.report:contentType,tokenType:tokenType==PbiTokenType_1.PbiTokenType.Aad?pbi.models.TokenType.Aad:pbi.models.TokenType.Embed,accessToken:initialToken};tokenType==PbiTokenType_1.PbiTokenType.Aad&&(config.eventHooks={accessTokenProvider:function(){return TokenServiceV2_1.getEmbedToken(env).then((function(e){console.log("Requested a new access token [type: delegated, eventHook: accessTokenProvider]"),updateAccessToken((function(){return e}))})).catch((function(e){console.log("Request to get a new access token failed [type: delegated, eventHook: accessTokenProvider]"),console.log(e)}))}}),contentType!=PbiContentType_1.PbiContentType.report&&tokenType!=PbiTokenType_1.PbiTokenType.multiple||(config.id=reportId,config.embedUrl="https://app.powerbi.com/reportEmbed?reportId="+reportId+"&groupId="+groupId),contentType==PbiContentType_1.PbiContentType.dashboard&&(config.id=dashboardId,config.embedUrl="https://app.powerbi.com/dashboardEmbed?dashboardId="+dashboardId+"&groupId="+groupId),contentType==PbiContentType_1.PbiContentType.tile&&(config.id=tileId,config.dashboardId=dashboardId,config.embedUrl="https://app.powerbi.com/embed?dashboardId="+dashboardId+"&tileId="+tileId+"&groupId="+groupId),console.debug("[PowerBi.useEffect[token]] -> embedConfig"),console.debug(config);var embedded=window.powerbi.embed(reportContainer,config);return embedded.on("loaded",(function(e){window.wpo365=window.wpo365||{},window.wpo365.pbi=window.wpo365.pbi||{},"loaded"in window.wpo365.pbi&&window.wpo365.pbi.loaded(e,embedded),splashScreenImgUrl&&embedded.iframe&&setTimeout((function(){embedded.iframe.style.opacity="1"}),1e3)})),embedded.on("rendered",(function(e){window.wpo365=window.wpo365||{},window.wpo365.pbi=window.wpo365.pbi||{},"rendered"in window.wpo365.pbi&&window.wpo365.pbi.rendered(e,embedded)})),splashScreenImgUrl&&embedded.iframe&&(embedded.iframe.style.opacity="0"),embedded}),[initialToken]);return React.useEffect((function(){if(report&&srcFilterConfig)try{var e=JSON.parse(atob(srcFilterConfig));report.on("loaded",(function(t){report.updateFilters(powerbi_client_1.models.FiltersOperations.Add,[e])})),report.on("error",(function(e){"message"in e.detail&&"TokenExpired"==e.detail.message&&window.location.reload()}))}catch(e){console.log("The following error occurred whilst loading the report [see next line]:"),console.log(e)}}),[report]),React.useEffect((function(){report&&accessToken&&report.setAccessToken(accessToken).then((function(){console.log("Updated a report's access token [React.useEffect(accessToken)]")})).catch((function(e){console.log("Failed to update a report's access token [React.useEffect(accessToken)]"),console.error(e)}))}),[accessToken]),React.createElement(React.Fragment,null,!!lastError&&React.createElement(MessageBar_1.MessageBar,{hidden:!lastError,className:"pintraMessage",messageBarType:MessageBar_1.MessageBarType.error,isMultiline:!0,onDismiss:function(e){updateLastError("")},dismissButtonAriaLabel:"Close"},React.createElement("span",{dangerouslySetInnerHTML:{__html:lastError||""}})))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(599),a=r(598),s=r(623),l=r(239),u=r(378),c=r(102),d=function(e){for(var t=0,r=0,n=e.length;r<n;)t=(t<<5)-t+e.charCodeAt(r++)<<0;return(t+2147483647+1).toString()};t.getEmbedToken=function(e){return n(void 0,void 0,void 0,(function(){var t,r,n,s,u,d,h,m,v,g,y,b,w,_;return o(this,(function(o){switch(o.label){case 0:switch(t=e.props,r=t.application,n=t.contentType,s=t.dashboardId,u=t.datasetId,d=t.groupId,h=t.reportId,m=t.tileId,v=t.tokenRequestUrl,g=t.tokenType,y=t.srcGenerateToken,b="",g){case a.PbiTokenType.Aad:switch(n){case i.PbiContentType.dashboard:case i.PbiContentType.tile:b="https://analysis.windows.net/powerbi/api/Dashboard.Read.All";break;default:b="https://analysis.windows.net/powerbi/api/Report.Read.All https://analysis.windows.net/powerbi/api/Dataset.Read.All"}break;default:b="https://analysis.windows.net/powerbi/api/.default"}if(g!=a.PbiTokenType.Aad)return[3,4];w=null,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,l.getToken({scope:b})];case 2:if("access_token"in(w=o.sent()))return[2,w.access_token];throw"[PowerBi.getEmbedToken] -> Could not retrieve an access token. Check browser console and/or server-log for errors.";case 3:throw _=o.sent(),console.error(_),void 0!==_.response&&_.response.data.error?_.response.data.error.message:_.message;case 4:switch(g){case a.PbiTokenType.reportInGroup:return[3,5];case a.PbiTokenType.dashboardInGroup:return[3,7];case a.PbiTokenType.tileInGroup:return[3,9];case a.PbiTokenType.multiple:return[3,11]}return[3,13];case 5:if(!d)throw"[PowerBi.getEmbedToken] -> Workspace ID is missing.";if(!d)throw"[PowerBi.getEmbedToken] -> Report ID is missing.";return[4,f(v||"https://api.powerbi.com/v1.0/myorg/groups/"+d+"/reports/"+h+"/GenerateToken",y,c.asBool(r))];case 6:return[2,o.sent()];case 7:if(!d)throw"[PowerBi.getEmbedToken] -> Workspace ID is missing.";if(!s)throw"[PowerBi.getEmbedToken] -> Dashboard ID is missing.";return[4,f(v||"https://api.powerbi.com/v1.0/myorg/groups/"+d+"/dashboards/"+s+"/GenerateToken",y,c.asBool(r))];case 8:return[2,o.sent()];case 9:if(!d)throw"[PowerBi.getEmbedToken] -> Workspace ID is missing.";if(!s)throw"[PowerBi.getEmbedToken] -> Dashboard ID is missing.";if(!m)throw"[PowerBi.getEmbedToken] -> Tile ID is missing.";return[4,f(v||"https://api.powerbi.com/v1.0/myorg/groups/"+d+"/dashboards/"+s+"/tiles/"+m+"/GenerateToken",y,c.asBool(r))];case 10:return[2,o.sent()];case 11:return[4,p(v||"https://api.powerbi.com/v1.0/myorg/GenerateToken",h,u,y)];case 12:return[2,o.sent()];case 13:return[3,14];case 14:return[2]}}))}))};var p=function(e,t,r,i){return n(void 0,void 0,void 0,(function(){var n,a,s,c;return o(this,(function(o){switch(o.label){case 0:return(n=h(e,i))?(console.debug("[PowerBi.generateToken] -> Found a cached token for "+e),[2,n]):(a=i?JSON.parse(atob(i)):{},0==Object.keys(a).length&&(a.targetWorkspaces=null,t&&(a.reports=[{id:t}]),r&&(a.datasets=[{id:r}])),s=null,[4,l.fromProxy({endpoint:"proxy",method:u.FetchMethod.post,data:a,url:e,scope:"https://analysis.windows.net/powerbi/api/.default"})]);case 1:if("token"in(s=o.sent()))return c=new Date(s.expiration).getTime(),m(e,s.token,c,i),[2,s.token];if("error"in s&&"message"in s.error)throw"[PowerBi.getEmbedToken] -> "+s.error.message;throw"[PowerBi.getEmbedToken] -> Could not retrieve an access token. Check browser console and/or server-log for errors."}}))}))},f=function(e,t,r){return void 0===r&&(r=!1),n(void 0,void 0,void 0,(function(){var n,i,a,c;return o(this,(function(o){switch(o.label){case 0:return(n=h(e,t))?(console.debug("[PowerBi.generateTokenInGroup] -> Found a cached token for "+e),[2,n]):(i=t?JSON.parse(atob(t)):{accessLevel:s.PbiAccessLevel.View},a=null,[4,l.fromProxy({application:r,endpoint:"proxy",method:u.FetchMethod.post,data:i,url:e,scope:"https://analysis.windows.net/powerbi/api/.default"})]);case 1:if("token"in(a=o.sent()))return c=new Date(a.expiration).getTime(),m(e,a.token,c,t),[2,a.token];if("error"in a&&"message"in a.error)throw"[PowerBi.getEmbedToken] -> "+a.error.message;throw"[PowerBi.getEmbedToken] -> Could not retrieve an access token. Check browser console and/or server-log for errors."}}))}))},h=function(e,t){var r=sessionStorage.getItem("pbiTokenCache");if(null==r)return null;var n=JSON.parse(r),o=t?e+"_"+d(t):e;return o in n&&"expiration"in n[o]&&n[o].expiration-3e5>Date.now()?n[o].token:null},m=function(e,t,r,n){var o=sessionStorage.getItem("pbiTokenCache"),i=null==o?{}:JSON.parse(o);i[n?e+"_"+d(n):e]={token:t,expiration:r},sessionStorage.setItem("pbiTokenCache",JSON.stringify(i))};t.clearTokenCache=function(){sessionStorage.removeItem("pbiTokenCache")}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),r(420),r(462);var o=r(0),i=r(59),a=r(179),s=r(658),l=r(660),u=r(601),c=r(102),d=function(e){var t=n(n({},e.env.props),{tokenType:"Aad"});return e.env.props=t,e}(a.AppLauncher.getReactDomConfig());i.render(o.createElement(u.default.Provider,{value:n(n({},d.env),{rootId:d.rootId})},c.asBool(d.env.props.useV2)?o.createElement(l.EmbedV2,null):o.createElement(s.Embed,null)),document.getElementById(d.rootId))}]);