tocco-legacy-bundle 3.16.45 → 3.16.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/login.js CHANGED
@@ -49,7 +49,7 @@ var HW=function(e,t){return HW=Object.setPrototypeOf||{__proto__:[]}instanceof A
49
49
  * @license qrcode.react
50
50
  * Copyright (c) Paul O'Shannessy
51
51
  * SPDX-License-Identifier: ISC
52
- */function fZ(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(a,i){if(!a&&null!==o)return n.push(`M${o+t} ${r+t}h${i-o}v1H${o+t}z`),void(o=null);if(i!==e.length-1)a&&null===o&&(o=i);else{if(!a)return;null===o?n.push(`M${i+t},${r+t} h1v1H${i+t}z`):n.push(`M${o+t},${r+t} h${i+1-o}v1H${o+t}z`)}}))})),n.join("")}function hZ(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function mZ({value:e,level:t,minVersion:n,includeMargin:r,marginSize:o,imageSettings:a,size:i,boostLevel:s}){let c=h.useMemo((()=>{const r=(Array.isArray(e)?e:[e]).reduce(((e,t)=>(e.push(...aZ.QrSegment.makeSegments(t)),e)),[]);return aZ.QrCode.encodeSegments(r,iZ[t],n,void 0,void 0,s)}),[e,t,n,s]);const{cells:l,margin:u,numCells:d,calculatedImageSettings:p}=h.useMemo((()=>{let e=c.getModules();const t=function(e,t){return null!=t?Math.max(Math.floor(t),0):e?4:0}(r,o),n=e.length+2*t,s=function(e,t,n,r){if(null==r)return null;const o=e.length+2*n,a=Math.floor(.1*t),i=o/t,s=(r.width||a)*i,c=(r.height||a)*i,l=null==r.x?e.length/2-s/2:r.x*i,u=null==r.y?e.length/2-c/2:r.y*i,d=null==r.opacity?1:r.opacity;let p=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(u);p={x:e,y:t,w:Math.ceil(s+l-e),h:Math.ceil(c+u-t)}}return{x:l,y:u,h:c,w:s,excavation:p,opacity:d,crossOrigin:r.crossOrigin}}(e,i,t,a);return{cells:e,margin:t,numCells:n,calculatedImageSettings:s}}),[c,i,a,r,o]);return{qrcode:c,margin:u,cells:l,numCells:d,calculatedImageSettings:p}}var gZ=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),vZ=h.forwardRef((function(e,t){const n=e,{value:r,size:o=sZ,level:a=cZ,bgColor:i=lZ,fgColor:s=uZ,includeMargin:c=dZ,minVersion:l=pZ,boostLevel:u,marginSize:d,imageSettings:p}=n,f=oZ(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:m}=f,g=oZ(f,["style"]),v=null==p?void 0:p.src,b=h.useRef(null),y=h.useRef(null),w=h.useCallback((e=>{b.current=e,"function"==typeof t?t(e):t&&(t.current=e)}),[t]),[x,k]=h.useState(!1),{margin:S,cells:O,numCells:A,calculatedImageSettings:E}=mZ({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:d,imageSettings:p,size:o});h.useEffect((()=>{if(null!=b.current){const e=b.current,t=e.getContext("2d");if(!t)return;let n=O;const r=y.current,a=null!=E&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;a&&null!=E.excavation&&(n=hZ(O,E.excavation));const c=window.devicePixelRatio||1;e.height=e.width=o*c;const l=o/A*c;t.scale(l,l),t.fillStyle=i,t.fillRect(0,0,A,A),t.fillStyle=s,gZ?t.fill(new Path2D(fZ(n,S))):O.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+S,n+S,1,1)}))})),E&&(t.globalAlpha=E.opacity),a&&t.drawImage(r,E.x+S,E.y+S,E.w,E.h)}})),h.useEffect((()=>{k(!1)}),[v]);const P=rZ({height:o,width:o},m);let C=null;return null!=v&&(C=h.createElement("img",{src:v,key:v,style:{display:"none"},onLoad:()=>{k(!0)},ref:y,crossOrigin:null==E?void 0:E.crossOrigin})),h.createElement(h.Fragment,null,h.createElement("canvas",rZ({style:P,height:o,width:o,ref:w,role:"img"},g)),C)}));vZ.displayName="QRCodeCanvas";var bZ=h.forwardRef((function(e,t){const n=e,{value:r,size:o=sZ,level:a=cZ,bgColor:i=lZ,fgColor:s=uZ,includeMargin:c=dZ,minVersion:l=pZ,boostLevel:u,title:d,marginSize:p,imageSettings:f}=n,m=oZ(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:g,cells:v,numCells:b,calculatedImageSettings:y}=mZ({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:p,imageSettings:f,size:o});let w=v,x=null;null!=f&&null!=y&&(null!=y.excavation&&(w=hZ(v,y.excavation)),x=h.createElement("image",{href:f.src,height:y.h,width:y.w,x:y.x+g,y:y.y+g,preserveAspectRatio:"none",opacity:y.opacity,crossOrigin:y.crossOrigin}));const k=fZ(w,g);return h.createElement("svg",rZ({height:o,width:o,viewBox:`0 0 ${b} ${b}`,ref:t,role:"img"},m),!!d&&h.createElement("title",null,d),h.createElement("path",{fill:i,d:`M0,0 h${b}v${b}H0z`,shapeRendering:"crispEdges"}),h.createElement("path",{fill:s,d:k,shapeRendering:"crispEdges"}),x)}));bZ.displayName="QRCodeSVG";const yZ=function(e){var t=e.value;return(0,_e.jsx)(bZ,{value:t})};var wZ,xZ,kZ,SZ,OZ,AZ,EZ=Ae.Ay.div.withConfig({displayName:"StyledQRCodeWrapper"})(wZ||(wZ=(0,Oe.A)(["\n display: flex;\n justify-content: center;\n margin: "," "," "," ",";\n"])),Ce.A.space(1.2),Ce.A.space(1),Ce.A.space(1.5),Ce.A.space(1)),PZ=Ae.Ay.div.withConfig({displayName:"StyledParagraph"})(xZ||(xZ=(0,Oe.A)(["\n display: flex;\n justify-content: center;\n margin-top: ",";\n margin-bottom: ",";\n"])),Ce.A.space(-1),Ce.A.space(-.9));const CZ=function(e){var t=e.secret,n=e.goToSecretVerification;return EP(n),(0,_e.jsxs)(_e.Fragment,{children:[kZ||(kZ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.qrCodeInfo"})})),(0,_e.jsx)(EZ,{children:(0,_e.jsx)(yZ,{value:t.uri})}),SZ||(SZ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.secretInfo"})})),(0,_e.jsx)(PZ,{children:(0,_e.jsx)(Ku,{children:t.secret})}),OZ||(OZ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.backupInfo"})})),(0,_e.jsx)(YX,{children:(0,_e.jsx)(iy,{ink:"primary",look:"raised",onClick:n,children:AZ||(AZ=(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.nextButton"}))})})]})};const jZ=fe((function(e){return{secret:e.twoFactorConnector.secret}}),{goToSecretVerification:function(){return{type:TX}}})(CZ);var _Z;const DZ=function(e){var t=e.twoFactorActive,n=e.forced,r=e.requestSecret;EP(r);var o=(0,Se.tz)(),a=function(e){return o.formatMessage({id:e})};return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(Zu,{children:function(){if(t)return _Z||(_Z=(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.overwriteInfo"}));var e=a(n?"client.two-factor-connector.forcedInfo":"client.two-factor-connector.info");return(0,_e.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})}()}),(0,_e.jsx)(YX,{children:(0,_e.jsx)(iy,{label:a("client.two-factor-connector.nextButton"),ink:"primary",look:"raised",onClick:r})})]})};const TZ=fe((function(e){return{twoFactorActive:e.twoFactorConnector.twoFactorActive,secret:e.twoFactorConnector.secret,forced:e.input.forced}}),{initialize:HX,requestSecret:function(){return{type:DX}}})(DZ);var MZ,NZ,IZ=Ae.Ay.div.withConfig({displayName:"StyledLoginFormInputWrapper"})(MZ||(MZ=(0,Oe.A)(["\n && {\n ","\n }\n"])),QN);const RZ=function(e){var t=e.verifyCode,n=(0,Se.tz)(),r=function(e){return n.formatMessage({id:e})},o=(0,h.useState)(null),a=(0,Xn.A)(o,2),i=a[0],s=a[1],c=i&&i.toString().length>=6,l=function(e){e&&(e.preventDefault(),e.stopPropagation()),c&&t(i)};EP(l);var u=Dr.A.isInAdminEmbedded();return(0,_e.jsxs)(_e.Fragment,{children:[NZ||(NZ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.verificationText"})})),(0,_e.jsxs)("form",{onSubmit:l,children:[(0,_e.jsx)(FN,{hasValue:Boolean(i),id:"verification-input",label:r("client.two-factor-connector.verificationInputLabel"),labelPosition:u?"inside":"outside",children:(0,_e.jsx)(IZ,{children:(0,_e.jsx)(XK,{type:"integer",value:i,events:{onChange:s},options:{format:"### ###",allowLeadingZeros:!0}})})}),(0,_e.jsx)(YX,{children:(0,_e.jsx)(iy,{label:r("client.two-factor-connector.okButton"),ink:"primary",look:"raised",type:"submit",disabled:!c})})]})]})};const LZ=fe((function(e,t){return{}}),{verifyCode:function(e){return{type:IX,payload:{userCode:e}}}})(RZ);var FZ,HZ,zZ,BZ,WZ,UZ,VZ=0,YZ=1,qZ=2,$Z=3;const GZ=function(e){var t=e.initialize,n=e.stage;(0,h.useEffect)((function(){t()}),[t]);return(0,_e.jsxs)(_e.Fragment,{children:[UZ||(UZ=(0,_e.jsx)(WC.Notifications,{})),function(){switch(n){case VZ:return FZ||(FZ=(0,_e.jsx)(TZ,{}));case YZ:return HZ||(HZ=(0,_e.jsx)(jZ,{}));case qZ:return zZ||(zZ=(0,_e.jsx)(LZ,{}));case $Z:return BZ||(BZ=(0,_e.jsx)(QX,{}));default:return WZ||(WZ=(0,_e.jsx)(Ej,{}))}}()]})};const KZ=fe((function(e){return{stage:e.twoFactorConnector.stage}}),{initialize:HX})(GZ);function QZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?QZ(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ZZ=function(e){return function(t){return XZ(XZ({},t),{},{stage:e})}},JZ=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},CX,rt("twoFactorActive")),jX,rt("secret")),_X,rt("username")),LX,rt("setupSuccessful")),MX,ZZ(0)),NX,ZZ(1)),TX,ZZ(2)),FX,ZZ(3)),eJ={stage:null,twoFactorActive:null,secret:null,username:null,setupSuccessful:null};var tJ=s().mark(hJ),nJ=s().mark(gJ),rJ=s().mark(vJ),oJ=s().mark(yJ),aJ=s().mark(wJ),iJ=s().mark(xJ),sJ=s().mark(kJ),cJ=s().mark(SJ),lJ=s().mark(OJ),uJ="relTwo_step_login_status",dJ=function(e){return e.twoFactorConnector.username},pJ=function(e){return e.twoFactorConnector.secret},fJ=function(e){return e.input};function hJ(){var e,t,n,r,o,a;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,_n(fJ);case 1:if(e=i.sent,e.secret){i.next=4;break}return i.next=2,_n(dJ);case 2:return t=i.sent,i.next=3,Cn(da,"principals/".concat(t,"/two-factor"),{method:"GET"});case 3:return n=i.sent,r=n.body,o=r.secret,a=r.totpUri,i.next=4,An(BX({secret:o,uri:a}));case 4:return i.next=5,An({type:NX});case 5:case"end":return i.stop()}}),tJ)}function mJ(e,t){return Tr.A.executeRequest(e,t).then(Tr.A.extractBody)}function gJ(e,t,n,r){var o,a;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return o={secret:e,userCode:t,username:n,password:r},i.next=1,Cn(mJ,"login",{method:"POST",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}),body:Object.keys(o).filter((function(e){return!!o[e]})).sort((function(e,t){return e.localeCompare(t)})).map((function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(o[e]))})).join("&")});case 1:return a=i.sent,i.next=2,An(VX(Jn()(a,"TWOSTEPLOGIN_ACTIVATION.success",!1)));case 2:case"end":return i.stop()}}),nJ)}function vJ(e,t,n){var r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=1,Cn(da,"principals/".concat(e,"/two-factor"),{method:"POST",body:{secret:t,code:n},acceptedStatusCodes:[400]});case 1:return r=o.sent,o.next=2,An(VX(204===r.status));case 2:case"end":return o.stop()}}),rJ)}function bJ(e){var t=e.payload.userCode;return s().mark((function e(){var n,r,o,a,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,_n(dJ);case 1:return n=e.sent,e.next=2,_n(pJ);case 2:return r=e.sent,o=r.secret,e.next=3,_n(fJ);case 3:if(a=e.sent,i=a.password,!a.forced){e.next=5;break}return e.next=4,Cn(gJ,o,t,n,i);case 4:e.next=6;break;case 5:return e.next=6,Cn(vJ,n,o,t);case 6:return e.next=7,An({type:FX});case 7:case"end":return e.stop()}}),e)}))()}function yJ(){var e,t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,Cn(xJ);case 1:return n.next=2,_n(fJ);case 2:if(e=n.sent,!(t=e.secret)){n.next=3;break}return n.next=3,An(BX(t));case 3:return n.next=4,An(UX());case 4:case"end":return n.stop()}}),oJ)}function wJ(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(TT("onSuccess"));case 1:case"end":return e.stop()}}),aJ)}function xJ(){var e,t,n,r,o;return s().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=1,Cn(kJ);case 1:return e=a.sent,a.next=2,An(WX(e));case 2:return t='username === "'.concat(e,'"'),a.next=3,Cn(ha,"Principal",{where:t,paths:[uJ]});case 3:if(!((n=a.sent).length>1)){a.next=4;break}throw new Error("More than one user found for username ".concat(e));case 4:return r=Jn()(n,"[0].paths.".concat(uJ,".value.key")),o="1"===r,a.next=5,An(zX(o));case 5:case"end":return a.stop()}}),iJ)}function kJ(){var e,t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=1,_n(fJ);case 1:if(e=r.sent,!(t=e.username)){r.next=2;break}return r.abrupt("return",t);case 2:return r.next=3,Cn(da,"principals");case 3:return n=r.sent,r.abrupt("return",n.body.username);case 4:case"end":return r.stop()}}),sJ)}function SJ(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(TT("onResize"));case 1:case"end":return e.stop()}}),cJ)}function OJ(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(DX,hJ),Hn(IX,bJ),Hn(PX,yJ),Hn(RX,wJ),Hn(MX,SJ),Hn(NX,SJ),Hn(TX,SJ),Hn(FX,SJ)]);case 1:case"end":return e.stop()}}),lJ)}const AJ={twoFactorConnector:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eJ,t=arguments.length>1?arguments[1]:void 0,n=JZ[t.type];return n?n(e,t):e}};var EJ,PJ=[OJ];function CJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CJ(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CJ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _J="two-factor-connector",DJ=function(e,t,n,r){var o=EJ||(EJ=(0,_e.jsx)(KZ,{})),a=vT.createStore(AJ,PJ,t,_J);return WC.addToStore(a,!0),aj(a,!0,["console","remote","notification"]),NT(a,(function(e){return vT.getEvents(TJ,e.input)})),vT.createApp(_J,o,a,{input:t,events:n,actions:[],publicPath:r,textResourceModules:["component","common",_J]})},TJ=["onSuccess","onCancel","onResize"],MJ=function(e){return vT.useApp({initApp:DJ,props:e,packageName:_J,externalEvents:TJ}).component};MJ.propTypes=jJ(jJ({},TJ.reduce((function(e,t){return jJ(jJ({},e),{},(0,ve.A)({},t,ya().func))}),{})),{},{username:ya().string,password:ya().string,secret:ya().shape({secret:ya().string.isRequired,uri:ya().string.isRequired}),forced:ya().bool});const NJ=MJ;var IJ;vT.createBundleableApp(_J,DJ,MJ);const RJ=function(e){var t=e.locale,n=e.username,r=e.password,o=e.secret,a=e.showTitle,i=e.changePage;return(0,_e.jsxs)("div",{children:[a&&(IJ||(IJ=(0,_e.jsx)(sQ,{title:"client.login.form.title"}))),(0,_e.jsx)(NJ,{locale:t,username:n,password:r,secret:o,forced:!0,onSuccess:function(){i(WT)}})]})};const LJ=fe((function(e){return{username:e.login.username,password:e.login.password,secret:e.twoStepLogin.secret,locale:e.app.locale}}),{changePage:JT})(RJ);var FJ,HJ,zJ,BJ=Ae.Ay.div.withConfig({displayName:"StyledTwoStepLogin"})(FJ||(FJ=(0,Oe.A)(["\n "," {\n width: 100%;\n }\n\n "," {\n ","\n padding-top: .7rem;\n padding-bottom: 0.7rem;\n }\n"])),ry,tI,ZN);const WJ=function(e){var t=e.username,n=e.password,r=e.showTitle,o=e.loginPending,a=e.login,i=(0,h.useState)(null),s=(0,Xn.A)(i,2),c=s[0],l=s[1],u=(0,h.useRef)();(0,h.useLayoutEffect)((function(){u.current.querySelector("input").focus()}),[]);var d=(0,Se.tz)(),p=function(e){return d.formatMessage({id:e})};return(0,_e.jsxs)(BJ,{children:[r&&(HJ||(HJ=(0,_e.jsx)(sQ,{title:"client.login.form.title"}))),(0,_e.jsxs)("form",{onSubmit:function(e){e.preventDefault(),a(t,n,null,c)},ref:u,children:[zJ||(zJ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.login.twoStepLogin.introduction"})})),(0,_e.jsx)(FN,{hasValue:!!c,id:"twoFactorCode-label",label:p("client.login.twoStepLogin.codePlaceholder"),labelPosition:"outside",children:(0,_e.jsx)(yQ,{children:(0,_e.jsx)(XK,{type:"integer",value:c,events:{onChange:l},options:{format:"### ###",allowLeadingZeros:!0}})})}),(0,_e.jsx)(aQ,{disabled:!c||c.toString().length<6||o,label:p("client.login.form.button"),pending:o})]})]})};const UJ=fe((function(e){return{username:e.login.username,password:e.login.password,loginPending:e.loginForm.loginPending}}),{login:zT})(WJ);var VJ;function YJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YJ(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YJ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const $J=function(e){var t=e.checkUsername,n=e.loginPending,r=e.message,o=e.setUsername,i=e.showTitle,c=e.username,l=cQ(o),u=(0,Xn.A)(l,2),d=u[0],p=u[1],f=(0,Se.tz)(),m=function(e){return f.formatMessage({id:e})},g=(0,h.useCallback)(function(){var e=a(s().mark((function e(n){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n&&n.preventDefault(),t(c);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[t,c]);return(0,_e.jsxs)(xQ,{children:[i&&(VJ||(VJ=(0,_e.jsx)(sQ,{title:"client.login.form.title",subtitle:"client.login.form.introduction"}))),(0,_e.jsxs)("form",{onSubmit:g,children:[(0,_e.jsx)(FN,{hasValue:!!c||d,id:"login-username",label:m("client.login.form.userEmailPlaceholder"),labelPosition:"outside",children:(0,_e.jsx)(yQ,{children:(0,_e.jsx)(bQ,qJ({autoFocus:!0,name:"user",required:!0,type:"text",value:c,onFocus:function(e){return e.target.select()}},p))})}),(0,_e.jsx)(JK,{message:r}),(0,_e.jsx)(aQ,{disabled:!d&&(n||""===c),label:m("client.login.form.next"),pending:n})]})]})};const GJ=fe((function(e){return{username:e.login.username,message:e.loginForm.message,loginPending:e.loginForm.loginPending}}),{setUsername:eM,checkUsername:function(e){return{type:HT,payload:{username:e}}}})($J);var KJ,QJ,XJ,ZJ=(0,Ae.DU)(KJ||(KJ=(0,Oe.A)(["\n .grecaptcha-badge {\n z-index: 9999999;\n opacity: .8;\n }\n"])));const JJ=function(e){var t,n,r,o,a,i=e.initialize,s=e.showTitle,c=e.currentPage;return(0,h.useEffect)((function(){i()}),[i]),(0,_e.jsxs)(_e.Fragment,{children:[QJ||(QJ=(0,_e.jsx)(ZJ,{})),function(){switch(c){case YT:return t||(t=(0,_e.jsx)(wX,{showTitle:s}));case UT:return n||(n=(0,_e.jsx)(jQ,{showTitle:s}));case VT:return r||(r=(0,_e.jsx)(UJ,{showTitle:s}));case qT:return XJ||(XJ=(0,_e.jsx)(LJ,{}));case BT:return o||(o=(0,_e.jsx)(GJ,{showTitle:s}));default:return a||(a=(0,_e.jsx)(AQ,{showTitle:s}))}}()]})};const e0=fe((function(e,t){return{currentPage:t.currentPage||e.login.currentPage,showTitle:t.showTitle}}),{initialize:function(){return{type:RT}}})(JJ);var t0=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},GT,rt("entryPage")),$T,rt("currentPage")),KT,rt("username")),QT,rt("password")),XT,rt("captchaKey")),n0={entryPage:void 0,currentPage:void 0,username:"",password:"",captchaKey:null};const r0=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n0,t=arguments.length>1?arguments[1]:void 0,n=t0[t.type];return n?n(e,t):e};var o0="loginForm/SET_MESSAGE",a0="loginForm/CLEAR_MESSAGE",i0="loginForm/SET_PENDING",s0="loginForm/ACTIVATE_RECAPTCHA",c0=function(e){return{type:o0,payload:{text:e,negative:arguments.length>1&&void 0!==arguments[1]&&arguments[1]}}},l0=function(){return{type:a0}},u0=function(){return{type:i0,payload:{pending:arguments.length>0&&void 0!==arguments[0]&&arguments[0]}}};function d0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d0(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d0(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f0=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},o0,(function(e,t){var n=t.payload,r=n.text,o=n.negative;return p0(p0({},e),{},{message:{text:r,negative:o}})})),a0,(function(e){return p0(p0({},e),{},{message:{}})})),i0,(function(e,t){var n=t.payload;return p0(p0({},e),{},{loginPending:n.pending})})),s0,(function(e){return p0(p0({},e),{},{recaptchaActivated:!0})})),h0={message:{},loginPending:!1,recaptchaActivated:!1};const m0=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h0,t=arguments.length>1?arguments[1]:void 0,n=f0[t.type];return n?n(e,t):e};function g0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g0(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g0(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b0={showOldPasswordField:!0,showOldPasswordValidationRule:!0,forcedUpdate:!1,standalone:!0,usernameOrPk:"",needsCaptcha:!1},y0=function(e){return function(t,n){var r=n.payload[e];return v0(v0({},t),{},(0,ve.A)({},e,r))}},w0=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},DQ,y0("showOldPasswordField")),TQ,y0("showOldPasswordValidationRule")),NQ,y0("forcedUpdate")),MQ,y0("standalone")),IQ,y0("usernameOrPk")),FQ,y0("needsCaptcha"));const x0=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b0,t=arguments.length>1?arguments[1]:void 0,n=w0[t.type];return n?n(e,t):e};var k0=s().mark(E0),S0=s().mark(P0),O0=s().mark(C0),A0=function(e){return e.passwordUpdate.dialog.usernameOrPk};function E0(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(RQ,P0),Hn(LQ,C0)]);case 1:case"end":return e.stop()}}),k0)}function P0(){var e,t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e={acceptedStatusCodes:[403]},r.next=1,Cn(da,"principals",e);case 1:if(403!==(t=r.sent).status){r.next=2;break}d.A.logError('input "username" on password-update is mandatory if no user is logged in'),r.next=3;break;case 2:return n=t.body.username,r.next=3,An(BQ(n));case 3:case"end":return r.stop()}}),S0)}function C0(){var e,t,n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=1,Cn(BD,"username");case 1:if(e=o.sent,"anonymous"!==e.username){o.next=3;break}return o.next=2,An(WQ(!0));case 2:o.next=6;break;case 3:return o.next=4,_n(A0);case 4:return t=o.sent,n=Number.isNaN(Number.parseInt(t))?'username == "'.concat(t,'"'):"pk == ".concat(Number.parseInt(t)),o.next=5,Cn(ma,"Principal",{where:"username == :currentUsername\n and (\n ".concat(n,'\n or not exists(relLogin_role.relRole where unique_id == "usermanager")\n )')});case 5:return r=o.sent,o.next=6,An(WQ(1===r));case 6:case"end":return o.stop()}}),O0)}function j0(e){return 0===Object.keys(e).length&&e.constructor===Object}function _0(e){var t={};return e.forEach((function(e){t[e.ruleName]=e.message})),t}function D0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D0(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D0(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M0={oldPassword:"",newPassword:"",newPasswordRepeat:"",newPasswordValidationErrors:null,passwordUpdatePending:!1,passwordUpdateFailed:!1,passwordUpdateErrorCode:null},N0=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},UQ,(function(e,t){var n=t.payload;return T0(T0({},e),{},{oldPassword:n.oldPassword})})),YQ,(function(e,t){var n=t.payload;return T0(T0({},e),{},{newPassword:n.newPassword})})),qQ,(function(e,t){var n=t.payload;return T0(T0({},e),{},{newPasswordValidationErrors:n.errors})})),$Q,(function(e,t){var n=t.payload;return T0(T0({},e),{},{newPasswordRepeat:n.newPasswordRepeat})})),GQ,(function(e){return T0(T0({},e),{},{passwordUpdatePending:!0,passwordUpdateFailed:!1})})),KQ,(function(e){return M0})),QQ,(function(e,t){var n=t.payload;if(n.validationMessages){var r=_0(n.validationMessages);return T0(T0({},e),{},{passwordUpdatePending:!1,newPasswordValidationErrors:r})}return T0(T0({},e),{},{passwordUpdatePending:!1,passwordUpdateFailed:!0,passwordUpdateErrorCode:n.errorCode})})),ZQ,(function(e,t){t.payload;return T0(T0({},e),{},{passwordUpdateFailed:!1})}));const I0=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M0,t=arguments.length>1?arguments[1]:void 0,n=N0[t.type];return n?n(e,t):e};var R0="password_update_success",L0="password_update_failed",F0=n(73916),H0=n.n(F0),z0=n(86663),B0=function(e){var t=z0.parse(e);return H0()(t,(function(e){return W0(e)?JSON.parse(e):e}))},W0=function(e){if("string"!=typeof e)return!1;try{var t=JSON.parse(e);return"[object Object]"===Object.prototype.toString.call(t)}catch(e){return!1}},U0=function(e){var t=window.location.origin,n=new URL(e,t).hostname;return V0(n)},V0=function(e){return e.split(".").slice(-2).join(".")};const Y0=function(){var e=B0(window.location.search)._redirect_url;if(e){var t=U0(e),n=V0(window.location.hostname);if(t===n)return e;d.A.logError("domain mismatch in the redirect_url query parameter. only the same second level domain is allowed! query domain ".concat(t,", window domain ").concat(n))}};var q0="login/SET_SECRET";function $0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$0(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$0(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K0=s().mark(m1),Q0=s().mark(g1),X0=s().mark(b1),Z0=s().mark(y1),J0=s().mark(w1),e1=s().mark(x1),t1=s().mark(k1),n1=s().mark(S1),r1=s().mark(O1),o1=s().mark(A1),a1=s().mark(E1),i1=s().mark(j1),s1=s().mark(_1),c1=s().mark(D1),l1=s().mark(T1),u1=s().mark(M1),d1=function(e){return e.login},p1=function(e){return e.input};function f1(e){var t=e.payload;return s().mark((function e(){var n,r,o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,_n(d1);case 1:return n=e.sent,r=n.entryPage,e.next=2,An(u0(!0));case 2:return e.next=3,Cn(da,"principals/".concat(t.username,"/password-reset"),{method:"POST"});case 3:return e.next=4,An(eM(t.username));case 4:return e.next=5,An(JT(WT));case 5:return o=r===BT?"client.login.from.passwordRequestedWithValidUsername":"client.login.from.passwordRequested",e.next=6,An(c0(o));case 6:return e.next=7,An(u0(!1));case 7:case"end":return e.stop()}}),e)}))()}function h1(e,t){return new Promise((function(n){Tr.A.executeRequest(e,t).then(Tr.A.extractBody).then((function(e){return n(e)})).catch((function(e){d.A.logError("Failed to execute request",e),n({success:!1})}))}))}function m1(e){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Cn(h1,"login",v1(e));case 1:return t.abrupt("return",t.sent);case 2:case"end":return t.stop()}}),K0)}function g1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,Cn(h1,"session",{method:"POST"});case 1:return e.abrupt("return",e.sent);case 2:case"end":return e.stop()}}),Q0)}function v1(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{method:"POST",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}),body:Object.keys(e).filter((function(t){return!!e[t]})).sort((function(e,t){return e.localeCompare(t)})).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")}}function b1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(JT(VT));case 1:case"end":return e.stop()}}),X0)}function y1(e){var t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e[qT],n.next=1,An({type:q0,payload:{secret:t}});case 1:return n.next=2,An(JT(qT));case 2:case"end":return n.stop()}}),Z0)}function w1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,_n(d1);case 1:return e=t.sent,t.next=2,An(JQ(e.password));case 2:return t.next=3,An(BQ(e.username));case 3:return t.next=4,An(zQ(!0));case 4:return t.next=5,An(JT(YT));case 5:case"end":return t.stop()}}),J0)}function x1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(c0("client.login.form.blocked",!0));case 1:case"end":return e.stop()}}),e1)}function k1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(c0("client.login.form.failed",!0));case 1:case"end":return e.stop()}}),t1)}function S1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(c0("client.login.form.invalidUsernameEmail",!0));case 1:case"end":return e.stop()}}),n1)}function O1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,A1();case 1:(e=t.sent)&&(window.location.href=e);case 2:case"end":return t.stop()}}),r1)}function A1(){var e,t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=Y0())){r.next=1;break}return r.abrupt("return",e);case 1:return r.next=2,_n(p1);case 2:return t=r.sent,n=t.redirectUrl,r.abrupt("return",n);case 3:case"end":return r.stop()}}),o1)}function E1(e){var t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,Cn(vT.reinitialiseCache);case 1:return n.next=2,An(tM(""));case 2:return t=e.timeout||30,n.next=3,An(TT("loginSuccess",{timeout:t}));case 3:case"end":return n.stop()}}),a1)}function P1(e){var t=e.payload;return s().mark((function e(){var n,r,o,a,i,c,l;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.username,e.next=1,An(l0());case 1:return e.next=2,An(u0(!0));case 2:return e.next=3,Cn(da,"client/username/check/".concat(n),{method:"GET"});case 3:return r=e.sent,o=r.body,a=o.existingUser,i=o.validEmail,e.next=4,_n(p1);case 4:if(c=e.sent,l=c.disableLoginForExistingUser,!a||!l){e.next=6;break}return e.next=5,An(c0("client.login.form.loginDisabledForExistingUser",!0));case 5:case 7:case 9:e.next=11;break;case 6:if(!a){e.next=8;break}return e.next=7,An(JT(WT));case 8:if(!i){e.next=10;break}return e.next=9,An(TT("register",{username:n}));case 10:return e.next=11,Cn(S1);case 11:return e.next=12,An(u0(!1));case 12:case"end":return e.stop()}}),e)}))()}function C1(e){var t=e.payload;return s().mark((function e(){var n,r,o,a,i,c;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.username,r=t.password,o=t.captchaToken,a=t.userCode,i=G0(G0({username:n,password:r},o&&{captchaToken:o}),a&&{userCode:a}),e.next=1,An(u0(!0));case 1:return e.next=2,Cn(m1,i);case 2:if(!(c=e.sent).success){e.next=5;break}return e.next=3,Cn(E1,c);case 3:return e.next=4,Cn(O1);case 4:e.next=18;break;case 5:return e.next=6,An(JT(WT));case 6:if(!c.CAPTCHA){e.next=8;break}return e.next=7,An({type:s0});case 7:case 9:case 11:case 13:case 15:e.next=17;break;case 8:if(!c.TWOSTEPLOGIN){e.next=10;break}return e.next=9,Cn(b1,c);case 10:if(!c.RESET_PASSWORD_REQUIRED){e.next=12;break}return e.next=11,Cn(w1);case 12:if(!c.LOGIN_BLOCKED){e.next=14;break}return e.next=13,Cn(x1);case 14:if(!c.TWOSTEPLOGIN_ACTIVATION){e.next=16;break}return e.next=15,Cn(y1,c);case 16:return e.next=17,Cn(k1);case 17:return e.next=18,An(u0(!1));case 18:case"end":return e.stop()}}),e)}))()}function j1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Cn(g1);case 1:if(!(e=t.sent).success){t.next=2;break}return t.next=2,Cn(E1,e);case 2:return t.abrupt("return",e.success);case 3:case"end":return t.stop()}}),i1)}function _1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Cn(ga);case 1:return e=t.sent,t.next=2,An((n=e.captchaKey,{type:XT,payload:{captchaKey:n}}));case 2:case"end":return t.stop()}var n}),s1)}function D1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Cn(j1);case 1:return e=t.sent,t.next=2,Cn(_1);case 2:if(!e){t.next=3;break}return t.next=3,Cn(O1);case 3:case"end":return t.stop()}}),c1)}function T1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(l0());case 1:case"end":return e.stop()}}),l1)}function M1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn($T,T1),Hn(LT,C1),Hn(HT,P1),Hn(FT,f1),Hn(RT,D1)]);case 1:case"end":return e.stop()}}),u1)}var N1="PASSWORD_NOT_CHANGED";function I1(e,t,n,r){if("string"!=typeof e)return!1;var o=e.length-e.replace(t,"").length;return(null==n||o>=n)&&(null==r||o<=r)}var R1=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},N1,(function(e,t){return"string"==typeof e&&"string"==typeof t&&e!==t})),"LENGTH",(function(e,t,n){return"string"==typeof e&&(void 0===n.params.min||null===n.params.min||e.length>=n.params.min)&&(void 0===n.params.max||null===n.params.max||e.length<=n.params.max)})),"CHARACTER_INSUFFICIENT_LOWERCASE",(function(e,t,n){return I1(e,/[a-z]/g,n.params.min,n.params.max)})),"CHARACTER_INSUFFICIENT_UPPERCASE",(function(e,t,n){return I1(e,/[A-Z]/g,n.params.min,n.params.max)})),"CHARACTER_INSUFFICIENT_DIGIT",(function(e,t,n){return I1(e,/[0-9]/g,n.params.min,n.params.max)}));const L1=function(e,t,n){var r={};return n&&n.forEach((function(n){var o=R1[n.name];o&&(!0!==o(e,t,n)&&(r[n.name]=!0))})),r};var F1=s().mark(e2),H1=s().mark(t2),z1=s().mark(n2),B1=s().mark(r2),W1=s().mark(a2),U1=s().mark(i2),V1=s().mark(s2),Y1=s().mark(c2);function q1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q1(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q1(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var G1=function(e){return e.passwordUpdate.validationRules},K1=function(e){return e.input},Q1=function(e){return e.passwordUpdate.dialog.usernameOrPk},X1=function(e){return e.passwordUpdate.password},Z1=function(e){return e.passwordUpdate.dialog.standalone},J1=function(e){return e.app};function e2(e,t,n){var r,o,a;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r={method:"POST",acceptedStatusCodes:[400],body:$1($1({},t),{},{captchaToken:n})},i.prev=1,i.next=2,Cn(da,"principals/".concat(e,"/password-update"),r);case 2:return o=i.sent,i.abrupt("return",o.ok?{error:null}:{error:o.body});case 3:return i.prev=3,a=i.catch(1),i.abrupt("return",{error:{errorCode:"UNEXPECTED_ERROR",exception:a}});case 4:case"end":return i.stop()}}),F1,null,[[1,3]])}function t2(e,t){var n,r,o,a,i;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,_n(J1);case 1:return n=s.sent,r=n.locale,o={method:"POST",body:t,queryParams:{locale:r}},s.prev=2,s.next=3,Cn(da,"principals/".concat(e,"/password-validation"),o);case 3:return a=s.sent,s.abrupt("return",a.body);case 4:return s.prev=4,i=s.catch(2),s.abrupt("return",{valid:!0,exception:i});case 5:case"end":return s.stop()}}),H1,null,[[2,4]])}function n2(e){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,An((n=e.payload.newPassword,{type:YQ,payload:{newPassword:n}}));case 1:return t.next=2,An({type:XQ});case 2:case"end":return t.stop()}var n}),z1)}function r2(){var e,t,n,r,o,a,i;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,_n(G1);case 1:return e=s.sent,s.next=2,_n(X1);case 2:if(t=s.sent,j0(n=L1(t.newPassword,t.oldPassword,e))){s.next=4;break}return s.next=3,An(eX(n));case 3:case 8:s.next=10;break;case 4:return s.next=5,_n(Q1);case 5:return r=s.sent,s.next=6,Cn(a2);case 6:return o=s.sent,s.next=7,Cn(t2,r,o);case 7:if(!0!==(a=s.sent).valid){s.next=9;break}return s.next=8,An(eX({}));case 9:return i=_0(a.validationMessages),s.next=10,An(eX(i));case 10:case"end":return s.stop()}}),B1)}function o2(e){var t=e.payload.captchaToken;return s().mark((function e(){var n,r,o,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,_n(Q1);case 1:return n=e.sent,e.next=2,Cn(a2);case 2:return r=e.sent,e.next=3,Cn(e2,n,r,t);case 3:if(!(o=e.sent).error){e.next=8;break}if(!1!==o.error.valid){e.next=5;break}return e.next=4,An(tX(null,o.error.validationMessages));case 4:e.next=6;break;case 5:return e.next=6,An(tX(o.error.errorCode));case 6:return e.next=7,An(MT([L0]));case 7:e.next=16;break;case 8:return e.next=9,_n(Z1);case 9:if(!e.sent){e.next=11;break}return e.next=10,An(TT("success",{newPassword:r.newPassword}));case 10:e.next=14;break;case 11:return e.next=12,Cn(i2);case 12:return a=e.sent,e.next=13,An(tM(a.payload.password));case 13:return e.next=14,Cn(C1,a);case 14:return e.next=15,An({type:KQ});case 15:return e.next=16,An(MT([R0]));case 16:case"end":return e.stop()}}),e)}))()}function a2(){var e,t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,_n(K1);case 1:return e=n.sent,n.next=2,_n(X1);case 2:return t=n.sent,n.abrupt("return",{oldPassword:e.oldPassword?e.oldPassword:t.oldPassword,newPassword:t.newPassword});case 3:case"end":return n.stop()}}),W1)}function i2(){var e,t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,_n(X1);case 1:return e=n.sent,n.next=2,_n(Q1);case 2:return t=n.sent,n.abrupt("return",{payload:{username:t,password:e.newPasswordRepeat}});case 3:case"end":return n.stop()}}),U1)}function s2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An({type:ZQ});case 1:case"end":return e.stop()}}),V1)}function c2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(VQ,n2),Hn(XQ,r2),Hn(GQ,o2),Hn(VQ,s2),Hn(UQ,s2),Hn($Q,s2)]);case 1:case"end":return e.stop()}}),Y1)}var l2=s().mark(d2),u2=s().mark(p2);function d2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(TT("resize"));case 1:case"end":return e.stop()}}),l2)}function p2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(_Q,d2)]);case 1:case"end":return e.stop()}}),u2)}var f2=(0,ve.A)({},rX,(function(e,t){return t.payload.rules}));const h2=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=f2[t.type];return n?n(e,t):e};var m2=s().mark(x2),g2=s().mark(k2),v2=function(e){return e.passwordUpdate.dialog},b2=function(e){return e.app};function y2(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return s().mark((function n(){var r,o;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r="principals/".concat(e,"/password-rules"),n.next=1,Cn(da,r,{queryParams:{locale:t}});case 1:return o=n.sent,n.abrupt("return",o.body);case 2:case"end":return n.stop()}}),n)}))()}var w2=function(e,t){return t||e.name!==N1};function x2(){var e,t,n,r,o,a,i;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,_n(v2);case 1:return e=s.sent,t=e.usernameOrPk,n=e.showOldPasswordValidationRule,s.next=2,_n(b2);case 2:return r=s.sent,o=r.locale,s.next=3,Cn(y2,t,o);case 3:return a=s.sent,i=a.rules.filter((function(e){return w2(e,n)})),s.next=4,An({type:rX,payload:{rules:i}});case 4:case"end":return s.stop()}}),m2)}function k2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(nX,x2)]);case 1:case"end":return e.stop()}}),g2)}const S2={dialog:x0,password:I0,validationRules:h2};var O2=[E0,p2,c2,k2],A2=(0,ve.A)({},q0,rt("secret")),E2={secret:null};const P2=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E2,t=arguments.length>1?arguments[1]:void 0,n=A2[t.type];return n?n(e,t):e},C2={login:r0,loginForm:m0,passwordUpdate:Xe(S2),twoStepLogin:P2};var j2=[M1].concat((0,it.A)(O2));function _2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var D2="login",T2=["loginSuccess","register","resize"],M2={username:BT,"password-request":UT,login:WT},N2=function(e,t,n,r,o){var a,i=M2[t.entryPage]||WT,s=[HQ(!1),(a=!1,{type:MQ,payload:{standalone:a}}),eM(t.username||""),ZT(i),JT(i)],c=!!t.showTitle,l=(0,_e.jsx)(e0,{showTitle:c}),u=vT.createStore(C2,j2,t,D2);return Dr.A.setInputEnvs(t),NT(u,(function(e){return vT.getEvents(T2,e.input)})),aj(u,!0,["console","remote"]),vT.createApp(D2,l,u,{input:t,actions:s,publicPath:r,textResourceModules:["login"],customTheme:o})},I2=function(e){return vT.useApp({initApp:N2,props:e,packageName:D2,externalEvents:T2}).component};I2.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_2(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_2(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({showTitle:ya().bool,locale:ya().string,entryPage:ya().oneOf(["username","login","password-request"]),username:ya().string,setLocale:ya().func,backendUrl:ya().string,redirectUrl:ya().string,disableLoginForExistingUser:ya().bool,appContext:IT.propTypes},T2.reduce((function(e,t){return e[t]=ya().func,e}),{}));const R2=function(e){var t=e.usernameOrPk,n=e.showTitle;return(0,_e.jsx)(Ej,{required:[t],children:(0,_e.jsx)(e0,{currentPage:"PASSWORD_UPDATE",showTitle:n})})};const L2=fe((function(e,t){return{usernameOrPk:e.passwordUpdate.dialog.usernameOrPk}}),{})(R2);function F2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F2(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F2(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z2="password-update",B2=["success","resize","onVisibilityStatusChange"],W2=function(e,t,n,r,o){var a,i=!!t.showTitle,s=!!t.forcedUpdate,c=(0,_e.jsx)(L2,{showTitle:i}),l=[zQ(s)];"string"!=typeof t.username||0===t.username.length?l.push({type:RQ}):l.push(BQ(t.username)),"boolean"==typeof t.showOldPasswordField&&l.push(HQ(t.showOldPasswordField)),"boolean"==typeof t.showOldPasswordValidationRule&&l.push((a=t.showOldPasswordValidationRule,{type:TQ,payload:{showOldPasswordValidationRule:a}}));var u=vT.createStore(C2,j2,t,z2);return Dr.A.setInputEnvs(t),NT(u,(function(e){return vT.getEvents(B2,e.input)})),aj(u,!0,["console","remote"]),vT.createApp(z2,c,u,{input:t,actions:l,publicPath:r,textResourceModules:["login"],customTheme:o})},U2=function(e){return vT.useApp({initApp:W2,props:e,packageName:z2,externalEvents:B2}).component};U2.propTypes=H2({username:ya().string,showTitle:ya().bool,showOldPasswordField:ya().bool,oldPassword:ya().string,backendUrl:ya().string,appContext:IT.propTypes},B2.reduce((function(e,t){return H2(H2({},e),{},(0,ve.A)({},t,ya().func))}),{}));var V2="login";var Y2=vT.createBundleableApp(V2,N2,I2);vT.createBundleableApp("password-update",W2,U2);vT.registerAppInRegistry(Y2.name,Y2.init)},28114(e,t,n){"use strict";n.d(t,{A:()=>r});const r={defaultTheme:{name:"default",colors:{paper:"#fff",primary:"#B22A31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textToasterCloseBtnHover:"#333",textPopover:"#fcfcfc",backgroundBody:"#e9ebf1",backgroundBreadcrumbs:"#e9ebf1",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#e6e6e6",backgroundUploadArea:"#f2f2f2",backgroundUploadOverlay:"#0000ff1a",backgroundConflict:"#f2f2f2",backgroundFixedElement:"#f2f2f2",backgroundPill:"#E9E9E9",backgroundPillHover:"#D7D7D7",backgroundBigNumbeEdit:"#f0f0f0",backgroundDataProtection:"#ededed",hoverInteractiveIcon:"#263e5b",loadingSpinner:"#000",breadcrumbsActive:"#b22a31",border:"#ccc",borderDashboard:"#E5E5E5",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{dangerDark:"#6d0000",danger:"#961b1b",dangerLight:"#e77c7c",infoDark:"#005383",info:"#027cc1",infoLight:"#78cdfe",successDark:"#005e04",success:"#337f37",successLight:"#91d395",warningDark:"#8f5300",warning:"#ec8a00",warningLight:"#ffd7a0",neutralDark:"#5B5B5B",neutral:"#BCBCBC",neutralLight:"#E9E9E9"},accent:{red:"#cb4b4e",redDark:"#AC383A",orange:"#E6A11F",orangeDark:"#C26802",green:"#168362",greenDark:"#246928",blue:"#3B77C6",blueDark:"#0066a0",grey:"#65718b",greyDark:"#515151",corporateRed:"#9E2124",corporateBlue:"#263E5B",corporateLightBlue:"#ADDFEC"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"24px",form:"6px",dashboard:"12px",modal:"16px",toaster:"12px",menu:"8px",small:"4px",medium:"8px",large:"12px"},space:{base:1.3,factor:2,outerPadding:"10px",actionBarPadding:"12px",breadcrumbsPadding:"11px",topBarMargin:"4px"},sizes:{listRowMinHeight:"32px",listHeaderHeight:"32px"},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1,diffViewer:{codeFoldGutterBackground:"#e6e6e6",codeFoldBackground:"#f2f2f2",gutterBackground:"#f2f2f2",diffViewerTitleBackground:"#fff",diffViewerTitleBorderColor:"#fff",emptyLineBackground:"#fcfcfc",addedBackground:"#cbffce",addedColor:"#24292e",removedBackground:"#ffbfbf",removedColor:"#24292e",wordAddedBackground:"#91d395",wordRemovedBackground:"#e77c7c",addedGutterBackground:"#91d395",removedGutterBackground:"#e77c7c"}},darkTheme:{name:"dark",colors:{paper:"#212330",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#6eafff",secondaryLight:"#82baff",secondaryLighter:"#9ECAFF",text:"#dfdfdf",textLight:"#bdbdbd",textLighter:"#818181",textDisabled:"#7a7a7a",textLabel:"#121212",textToaster:"#000",textToasterCloseBtnHover:"#333",textPopover:"#fff",backgroundBody:"#2C2F41",backgroundBreadcrumbs:"#2C2F41",backgroundPopover:"#757575",backgroundItemHover:"#444",backgroundItemSelected:"#565656",backgroundItemLastOpened:"#636363",backgroundTableEvenRow:"#2f2f2f",backgroundTableTiles:"#2f2f2f",backgroundScrollbar:"#444",backgroundScrollbarHover:"#666",backgroundPanelHeaderFooter:"#444",backgroundTypographyCode:"#444",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#6e6e6e",backgroundUploadArea:"#2d2d2d",backgroundUploadOverlay:"#0000ff1a",backgroundConflict:"#2d2d2d",backgroundFixedElement:"#2d2d2d",backgroundPill:"#383838",backgroundPillHover:"#545454",backgroundBigNumbeEdit:"#2a2d3b",backgroundDataProtection:"#2a2d3b",hoverInteractiveIcon:"#fff",loadingSpinner:"#cccccc",breadcrumbsActive:"#82baff",border:"#666",borderDashboard:"#303030",borderTable:"#666",borderLight:"#444",borderSelect:"#4fade5",signal:{dangerDark:"#6d0000",danger:"#d74444",dangerLight:"#f18888",infoDark:"#005383",info:"#4fade5",infoLight:"#9ce6ff",successDark:"#005e04",success:"#4DAC54",successLight:"#8ad88a",warningDark:"#8f5300",warning:"#ec8a00",warningLight:"#ffcc84",neutralDark:"#5B5B5B",neutral:"#BCBCBC",neutralLight:"#E9E9E9"},accent:{red:"#e16668",redDark:"#c9393b",orange:"#E6A11F",orangeDark:"#d47202",green:"#1eae83",greenDark:"#379f3d",blue:"#4F7BAD",blueDark:"#0091e4",grey:"#afb6c5",greyDark:"#8b8b8b",corporateRed:"#9E2124",corporateBlue:"#253e5b",corporateLightBlue:"#ADDFEC"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"24px",form:"6px",dashboard:"12px",modal:"16px",toaster:"8px",menu:"8px",small:"4px",medium:"8px",large:"12px"},space:{base:1.3,factor:2,outerPadding:"10px",actionBarPadding:"12px",breadcrumbsPadding:"11px",topBarMargin:"4px"},sizes:{listRowMinHeight:"32px",listHeaderHeight:"32px"},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"dracula",diffViewerDarkTheme:!0,diffViewer:{diffViewerBackground:"#212330",codeFoldGutterBackground:"#444",codeFoldBackground:"#2f2f2f",gutterBackground:"#2f2f2f",diffViewerTitleBackground:"#212330",diffViewerTitleBorderColor:"#212330",emptyLineBackground:"#2f2f2f",diffViewerColor:"#dfdfdf",addedBackground:"#217a28",addedColor:"#dfdfdf",removedBackground:"#b92e2e",removedColor:"#dfdfdf",wordAddedBackground:"#35913c",wordRemovedBackground:"#d74444",addedGutterBackground:"#35913c",removedGutterBackground:"#d74444"}}}},64116(e,t,n){"use strict";var r,o=n(64467),a=n(4883),i=n.n(a),s=n(74848);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=(0,a.lazy)((function(){return Promise.all([n.e(54310),n.e(72969),n.e(36916)]).then(n.bind(n,8264))}));const d=function(e){return(0,s.jsx)(a.Suspense,{fallback:r||(r=(0,s.jsx)(i().Fragment,{})),children:(0,s.jsx)(u,l({},e))})};n.d(t,["A",0,d])},93564(e,t,n){"use strict";n.d(t,{P:()=>u,i:()=>l});var r,o,a=n(57528),i=n(51510),s=n(57488),c=n(26166),l=i.Ay.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=(0,a.A)([""]))),u=i.Ay.span.withConfig({displayName:"StyledToccoIconsWrapper"})(o||(o=(0,a.A)(["\n margin-right: ",";\n display: flex;\n align-items: center;\n\n svg {\n height: ","rem;\n fill: ",";\n }\n"])),c.A.space(-.5),s.t7.fontSize("base"),s.t7.color("text"))},44905(e,t,n){"use strict";n.d(t,{A:()=>f});var r,o=n(64116),a=n(77271),i=n(57528),s=n(51510),c=n(85431),l=n(33090),u=n(47616);const d=s.Ay.a.withConfig({displayName:"StyledLink"})(r||(r=(0,i.A)(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,c.A)(),(function(e){return e.breakWords?(0,l.K)():(0,l.s)()}),u.A.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var p=n(74848);const f=function(e){var t=e.id,n=e.alt,r=e.breakWords,i=void 0===r||r,s=e.download,c=e.href,l=void 0===c?"#":c,u=e.neutral,f=e.onClick,h=e.rel,m=e.tabIndex,g=e.target,v=void 0===g?"_self":g,b=e.title,y=e.label,w=e.icon,x=e.children,k=e.useTitle,S=void 0===k||k,O=b||(i?void 0:y);return(0,p.jsxs)(d,{id:t,alt:n,breakWords:i,download:s,href:l,neutral:u,onClick:f,rel:h,tabIndex:m,target:v,title:S?O:void 0,children:[w&&(0,p.jsx)(o.A,{icon:w,position:a.A.position.PREPEND}),y||x]})}},46005(e,t,n){"use strict";n.d(t,{g:()=>s});var r=n(58156),o=n.n(r),a=n(26166),i=n(47616),s=function(e,t){var n="\n color: ".concat(i.A.color("text")(e),";\n font-family: ").concat(i.A.fontFamily("regular")(e),";\n font-size: ").concat(a.A.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(i.A.fontWeight("regular")(e),";\n line-height: ").concat(i.A.lineHeight("regular")(e),";\n\n a {\n color: ").concat(i.A.color("secondaryLight")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(o()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(o()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(i.A.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(a.A.font(5)(e),";}\n h2 {font-size: ").concat(a.A.font(4)(e),";}\n h3 {font-size: ").concat(a.A.font(3)(e),";}\n h4 {font-size: ").concat(a.A.font(2)(e),";}\n h5 {font-size: ").concat(a.A.font(1)(e),";}\n h6 {font-size: ").concat(a.A.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(i.A.fontWeight("bold")(e),";\n margin-top: ").concat(a.A.space(0)(e),";\n margin-bottom: ").concat(a.A.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(a.A.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(a.A.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},85431(e,t,n){"use strict";n.d(t,{A:()=>c});var r,o=n(57528),a=n(51510),i=n(26166),s=n(47616);const c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.AH)(r||(r=(0,o.A)(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||s.A.color("text"),e.fontFamily||s.A.fontFamily("regular"),e.fontSize||i.A.font(0),e.fontStyle||"normal",e.fontWeight||s.A.fontWeight("regular"),e.lineHeight||s.A.lineHeight("regular"))}},33090(e,t,n){"use strict";n.d(t,{K:()=>o,s:()=>r});var r=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},o=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"}},77271(e,t,n){"use strict";var r=n(5556),o=n.n(r),a={NONE:"none",SPIN:"spin"},i={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary",SUCCESS:"signal.success",WARNING:"signal.warning"},s={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},c={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},l={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},u=o().oneOf(Object.values(a)),d=o().oneOf(Object.values(i)),p=o().oneOf(Object.values(c)),f=o().oneOf(Object.values(l));const h={animation:a,animationPropTypes:u,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:i,inkPropTypes:d,layout:s,layoutPropTypes:o().oneOf(Object.values(s)),look:c,lookPropTypes:p,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return o().oneOf(Object.values(e))},position:l,positionPropTypes:f};n.d(t,["A",0,h])},57488(e,t,n){"use strict";n.d(t,{t7:()=>r});var r=n(47616).A},26166(e,t,n){"use strict";var r=n(36944),o=n.n(r),a=n(47616),i=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(o()(s(t,e,n),3)).concat(r)},s=function(e,t,n){return Math.pow(n,t)*e};const c={declareScale:i,exponentiate:s,font:function(e,t){return function(n){return i(e,a.A.fontSize("base")(n),a.A.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return i(e,a.A.space("base")(n),a.A.space("factor")(n),t)}}};n.d(t,["A",0,c])},47616(e,t,n){"use strict";var r=n(58156),o=n.n(r),a=n(28114),i=function(e){return 0===Object.keys(e).length?a.A:e};const s={color:function(e){return function(t){var n=t.theme;return o()(i(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(i(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(i(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(i(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(i(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return o()(i(n),"radii.".concat(e))}},sizes:function(e){return function(t){var n=t.theme;return o()(i(n),"sizes.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(i(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return o()(i(n),"specificProperties.".concat(e))}}};n.d(t,["A",0,s])},3388(e,t,n){"use strict";n.d(t,{FF:()=>o,Rm:()=>a,vV:()=>r});var r=function(){window.console&&(console.error||console.log).apply(void 0,arguments)},o=function(){window.console&&(console.warn||console.log).apply(void 0,arguments)},a=function(){var e;window.console&&(e=console).log.apply(e,arguments)}},19461(e,t,n){"use strict";var r=n(3388);const o={log:r.Rm,logError:r.vV,logWarning:r.FF};n.d(t,["A",0,o])},32224(e,t,n){"use strict";var r=n(19609);const o={millisecondsToDuration:r.ss,formatDuration:r.a3,getDateFnsLocale:r.Me,getLocalizedDateFormat:r.Rj,getLocalizedDateTimeFormat:r.ax,getLocalizedDateFormatWithoutPunctuation:r.zQ,getLocalizedDateTimeFormatWithoutPunctuation:r.yX,getTimeZone:r.O,useTwoDigitYear:r.EQ,setCurrentTime:r.hW,selectUnit:r.xb};n.d(t,["A",0,o])},19609(e,t,n){"use strict";n.d(t,{EQ:()=>x,Me:()=>g,O:()=>O,Rj:()=>v,a3:()=>m,ax:()=>b,hW:()=>k,ss:()=>h,xb:()=>S,yX:()=>w,zQ:()=>y});var r=n(40337),o=n(4155),a=n(14533),i=n(36374),s=n(74279),c=n(81007),l=n(86688),u=n(14501),d=n(75867),p=n(95494),f=n(98166),h=function(e){if(!e&&0!==e)return{hours:"",minutes:"",seconds:""};var t=(0,f.O5)(e/1e3%60,3);e-=Math.round(1e3*t);var n=parseInt(e/6e4%60);e-=1e3*n*60;var r=parseInt(e/36e5);return(n<0||r<0)&&(t=Math.abs(t)),r<0&&(n=Math.abs(n)),{hours:r,minutes:n,seconds:t}},m=function(e){var t=h(e),n=t.hours,r=t.minutes,o=t.seconds,a="".concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")),i="".concat(a,":").concat(o.toFixed(3).padStart(6,"0"));return o?i:a},g=function(e){switch(e){case"fr":return d.O;case"en":return u.c;case"it":return p.it;default:return l.de}},v=function(e){return g(e).formatLong.date({width:"short"})},b=function(e){return"".concat(v(e)," HH:mm")},y=function(e){return v(e).replace(/[/.]/g,"")},w=function(e){return"".concat(y(e)," HHmm")},x=function(e){return e.replace(/y+/,"yy")},k=function(e){var t=new Date,n=new Date(e);return n=(0,a.a)(n,(0,r.q)(t)),n=(0,s.g)(n,(0,o.O)(t)),n=(0,c.g)(n,0),n=(0,i.$)(n,0)},S=function(e){var t=864e5,n=e-(new Date).getTime();if(n>-864e5){var r=Math.round(n/1e3);return r>-60?{diffValue:r,unit:"second"}:r>-3600?{diffValue:Math.ceil(r/60),unit:"minute"}:{diffValue:Math.ceil(r/3600),unit:"hour"}}var o=Math.round(n/t);return o>-30?{diffValue:o,unit:"day"}:o>-365?{diffValue:Math.ceil(o/30),unit:"month"}:{diffValue:Math.ceil(o/365),unit:"year"}},O=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}},58169(e,t,n){"use strict";n.d(t,{r:()=>c});var r=n(64467),o=n(19461),a=n(694),i=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c=function(e){var t=e.mapping;return t[(0,a.M7)()||a.w2.admin]||t[a.w2.admin]};const l=function(e){var t=e.mapping;e.propTypes;return function(e){var n=c({mapping:t});return n||o.A.logError("Unable to render embed component: No embed component defined."),(0,i.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}};n.d(t,["A",0,l])},694(e,t,n){"use strict";n.d(t,{KC:()=>p,K_:()=>m,M7:()=>f,Sk:()=>b,W2:()=>g,Wb:()=>c,Wi:()=>d,YI:()=>w,Zn:()=>l,f:()=>h,fG:()=>x,ne:()=>u,o6:()=>y,w2:()=>a,wE:()=>s,wP:()=>v,wU:()=>o});var r=n(19461),o="__n-u-l-l__",a={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},i={backendUrl:void 0,businessUnit:void 0,ruleProvider:void 0,embedType:a.admin,widgetConfigKey:void 0,widgetShowcase:void 0},s=function(){return i.backendUrl||""},c=function(e){i.backendUrl=e},l=function(){return i.businessUnit},u=function(e){i.businessUnit=e},d=function(){return i.ruleProvider},p=function(e){i.ruleProvider=e},f=function(){return i.embedType},h=function(){var e=f();return[a.admin,a.legacyAdmin].includes(e)},m=function(){var e=f();return[a.widget].includes(e)},g=function(e){var t=Object.values(a);t.includes(e)?i.embedType=e:r.A.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(t.join(", ")))},v=function(){return i.widgetConfigKey},b=function(e){i.widgetConfigKey=e},y=function(){return i.widgetShowcase},w=function(e){i.widgetShowcase=e},x=function(){return{backendUrl:i.backendUrl,businessUnit:i.businessUnit,appContext:{embedType:i.embedType,widgetConfigKey:i.widgetConfigKey,widgetShowcase:i.widgetShowcase}}}},8062(e,t,n){"use strict";n.d(t,{T:()=>o});var r=n(694),o=function(e){var t,n,o,a,i,s;(e.backendUrl&&(0,r.Wb)(e.backendUrl),e.businessUnit&&(0,r.ne)(e.businessUnit),e.ruleProvider&&(0,r.KC)(e.ruleProvider),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,r.W2)(null===(a=e.appContext)||void 0===a?void 0:a.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,r.Sk)(null===(i=e.appContext)||void 0===i?void 0:i.widgetConfigKey);null!==(o=e.appContext)&&void 0!==o&&o.widgetShowcase&&(0,r.YI)(null===(s=e.appContext)||void 0===s?void 0:s.widgetShowcase)}},80621(e,t,n){"use strict";var r=n(58169),o=n(694),a=n(8062);const i={EmbedType:o.w2,isInAdminEmbedded:o.f,isInWidgetEmbedded:o.K_,embedStrategyFactory:r.A,embedStrategy:r.r,getBackendUrl:o.wE,setBackendUrl:o.Wb,getBusinessUnit:o.Zn,getRuleProvider:o.Wi,setBusinessUnit:o.ne,setRuleProvider:o.KC,getEmbedType:o.M7,setEmbedType:o.W2,getWidgetConfigKey:o.wP,setWidgetConfigKey:o.Sk,getWidgetShowcase:o.o6,setWidgetShowcase:o.YI,asInputProps:o.fG,NULL_BUSINESS_UNIT:o.wU,setInputEnvs:a.T};n.d(t,["A",0,i])},98166(e,t,n){"use strict";n.d(t,{O5:()=>o,O9:()=>i,Yd:()=>r,lW:()=>a});var r=function(e){return e&&Array.isArray(e)?e.length>0?e[0]:[]:e},o=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},a=function(e){return navigator.clipboard?navigator.clipboard.writeText(e):Promise.reject(new Error("navigator.clipboard API not available"))},i=function(e){return null!=e}},84847(e,t,n){"use strict";const r={getOriginId:n(29272).A};n.d(t,["A",0,r])},29272(e,t,n){"use strict";var r=n(18562),o="_tocco_originId";const a=function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.A)());return sessionStorage.setItem(o,e),e};n.d(t,["A",0,a])},79253(e,t,n){"use strict";var r=n(46544);const o={prepareHeaders:r.qp,prepareUrl:r.Ne,executeRequest:r.Vc,extractBody:r.i9};n.d(t,["A",0,o])},46544(e,t,n){"use strict";n.d(t,{Ne:()=>p,Vc:()=>f,i9:()=>h,qp:()=>d});var r=n(64467),o=n(82284),a=n(32224),i=n(80621),s=n(84847);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={method:"GET",credentials:"include"},d=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===(0,o.A)(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",s.A.getOriginId()),!t.has("X-Business-Unit")&&i.A.getBusinessUnit()&&t.set("X-Business-Unit",i.A.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",i.A.isInAdminEmbedded()?"client":"widget"),i.A.getRuleProvider()&&t.set("X-Rule-Provider-Id",i.A.getRuleProvider()),t.has("X-Timezone")||t.set("X-Timezone",a.A.getTimeZone()),t},p=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)},f=function(e){var t=function(e){return l(l(l({},u),e),{},{headers:d(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=i.A.getBackendUrl(),r=p(n,e);return fetch(r,t)},h=function(e){return e.json()}},2063(e,t,n){"use strict";var r=n(31601),o=n.n(r),a=n(76314),i=n.n(a)()(o());i.push([e.id,'@charset "UTF-8";\n.react-datepicker__navigation-icon::before, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n border-color: #ccc;\n border-style: solid;\n border-width: 3px 3px 0 0;\n content: "";\n display: block;\n height: 9px;\n position: absolute;\n top: 6px;\n width: 9px;\n}\n.react-datepicker__sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n}\n\n.react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n}\n\n.react-datepicker {\n font-family: "Helvetica Neue", helvetica, arial, sans-serif;\n font-size: 0.8rem;\n background-color: #fff;\n color: #000;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n line-height: initial;\n}\n\n.react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n}\n.react-datepicker--time-only .react-datepicker__time,\n.react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.375em;\n border-bottom-right-radius: 0.375em;\n}\n\n.react-datepicker-popper {\n z-index: 1;\n line-height: 0;\n}\n.react-datepicker-popper .react-datepicker__triangle {\n stroke: #aeaeae;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n fill: #f0f0f0;\n color: #f0f0f0;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n fill: #fff;\n color: #fff;\n}\n.react-datepicker-popper--header-middle[data-placement^=bottom] .react-datepicker__triangle, .react-datepicker-popper--header-bottom[data-placement^=bottom] .react-datepicker__triangle {\n fill: #fff;\n color: #fff;\n}\n.react-datepicker-popper--header-bottom[data-placement^=top] .react-datepicker__triangle {\n fill: #f0f0f0;\n color: #f0f0f0;\n}\n\n.react-datepicker__header {\n text-align: center;\n background-color: #f0f0f0;\n border-bottom: 1px solid #aeaeae;\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n}\n.react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n}\n.react-datepicker__header:not(.react-datepicker__header--has-time-select, .react-datepicker__header--middle, .react-datepicker__header--bottom) {\n border-top-right-radius: 0.3rem;\n}\n.react-datepicker__header--middle {\n border-top: 1px solid #aeaeae;\n border-radius: 0;\n margin-top: 4px;\n}\n.react-datepicker__header--bottom {\n border-bottom: none;\n border-top: 1px solid #aeaeae;\n border-radius: 0 0 0.3rem 0.3rem;\n}\n\n.react-datepicker__header-wrapper {\n position: relative;\n}\n.react-datepicker__header-wrapper .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 2px;\n}\n\n.react-datepicker__year-dropdown-container--select,\n.react-datepicker__month-dropdown-container--select,\n.react-datepicker__month-year-dropdown-container--select,\n.react-datepicker__year-dropdown-container--scroll,\n.react-datepicker__month-dropdown-container--scroll,\n.react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 15px;\n}\n\n.react-datepicker__month-select,\n.react-datepicker__year-select,\n.react-datepicker__month-year-select {\n background-color: transparent;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n color: inherit;\n cursor: pointer;\n font-family: inherit;\n font-size: inherit;\n margin-top: 5px;\n padding: 2px 5px;\n}\n.react-datepicker__month-select:focus-visible,\n.react-datepicker__year-select:focus-visible,\n.react-datepicker__month-year-select:focus-visible {\n outline: auto 1px;\n}\n\n.react-datepicker__current-month,\n.react-datepicker-time__header,\n.react-datepicker-year-header {\n margin-top: 0;\n color: #000;\n font-weight: bold;\n font-size: 0.944rem;\n}\n\nh2.react-datepicker__current-month {\n padding: 0;\n margin: 0;\n}\n\n.react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n}\n.react-datepicker__navigation--previous {\n left: 2px;\n}\n.react-datepicker__navigation--next {\n right: 2px;\n}\n.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n}\n.react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__navigation--years-previous {\n top: 4px;\n}\n.react-datepicker__navigation--years-upcoming {\n top: -4px;\n}\n.react-datepicker__navigation:hover *::before {\n border-color: rgb(165.75, 165.75, 165.75);\n}\n\n.react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n}\n.react-datepicker__navigation-icon--next {\n left: -2px;\n}\n.react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n}\n.react-datepicker__navigation-icon--previous {\n right: -2px;\n}\n.react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n}\n\n.react-datepicker__month-container {\n float: left;\n}\n\n.react-datepicker__year {\n margin: 0.5em;\n text-align: center;\n}\n.react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n}\n.react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 5em;\n margin: 2px;\n}\n\n.react-datepicker__month {\n margin: 0.5em;\n text-align: center;\n}\n.react-datepicker__month .react-datepicker__month-text,\n.react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 5em;\n margin: 2px;\n}\n\n.react-datepicker__input-time-container {\n clear: both;\n width: 100%;\n float: left;\n margin: 5px 0 10px 15px;\n text-align: left;\n}\n.react-datepicker__input-time-container .react-datepicker-time__caption {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n display: inline-block;\n margin-left: 10px;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n margin-left: 5px;\n display: inline-block;\n}\n\n.react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n}\n.react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.375em;\n position: absolute;\n right: -87px;\n top: 0;\n}\n.react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.375em;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.375em;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + 2.125em / 2);\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: #f0f0f0;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: #216ba5;\n color: white;\n font-weight: bold;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: #216ba5;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: #ccc;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n}\n\n.react-datepicker__week-number {\n color: #ccc;\n display: inline-block;\n width: 2.125em;\n line-height: 2.125em;\n text-align: center;\n margin: 0.208em;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__week-number--selected {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__week-number--selected:hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n\n.react-datepicker__day-names {\n text-align: center;\n white-space: nowrap;\n margin-bottom: -8px;\n}\n\n.react-datepicker__week {\n white-space: nowrap;\n}\n\n.react-datepicker__day-name,\n.react-datepicker__day,\n.react-datepicker__time-name {\n color: #000;\n display: inline-block;\n width: 2.125em;\n line-height: 2.125em;\n text-align: center;\n margin: 0.208em;\n}\n.react-datepicker__day-name--disabled,\n.react-datepicker__day--disabled,\n.react-datepicker__time-name--disabled {\n cursor: default;\n color: #ccc;\n}\n\n.react-datepicker__day,\n.react-datepicker__month-text,\n.react-datepicker__quarter-text,\n.react-datepicker__year-text {\n cursor: pointer;\n}\n.react-datepicker__day:not([aria-disabled=true]):hover,\n.react-datepicker__month-text:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text:not([aria-disabled=true]):hover,\n.react-datepicker__year-text:not([aria-disabled=true]):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__day--today,\n.react-datepicker__month-text--today,\n.react-datepicker__quarter-text--today,\n.react-datepicker__year-text--today {\n font-weight: bold;\n}\n.react-datepicker__day--highlighted,\n.react-datepicker__month-text--highlighted,\n.react-datepicker__quarter-text--highlighted,\n.react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n}\n.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {\n background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);\n}\n.react-datepicker__day--highlighted-custom-1,\n.react-datepicker__month-text--highlighted-custom-1,\n.react-datepicker__quarter-text--highlighted-custom-1,\n.react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n}\n.react-datepicker__day--highlighted-custom-2,\n.react-datepicker__month-text--highlighted-custom-2,\n.react-datepicker__quarter-text--highlighted-custom-2,\n.react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n}\n.react-datepicker__day--holidays,\n.react-datepicker__month-text--holidays,\n.react-datepicker__quarter-text--holidays,\n.react-datepicker__year-text--holidays {\n position: relative;\n border-radius: 0.3rem;\n background-color: #ff6803;\n color: #fff;\n}\n.react-datepicker__day--holidays .overlay,\n.react-datepicker__month-text--holidays .overlay,\n.react-datepicker__quarter-text--holidays .overlay,\n.react-datepicker__year-text--holidays .overlay {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n.react-datepicker__day--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {\n background-color: rgb(207, 82.9642857143, 0);\n}\n.react-datepicker__day--holidays:hover .overlay,\n.react-datepicker__month-text--holidays:hover .overlay,\n.react-datepicker__quarter-text--holidays:hover .overlay,\n.react-datepicker__year-text--holidays:hover .overlay {\n visibility: visible;\n opacity: 1;\n}\n.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n.react-datepicker__month-text--selected,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--selected,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--selected,\n.react-datepicker__year-text--in-selecting-range,\n.react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n.react-datepicker__day--keyboard-selected,\n.react-datepicker__month-text--keyboard-selected,\n.react-datepicker__quarter-text--keyboard-selected,\n.react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: rgb(186.25, 217.0833333333, 241.25);\n color: rgb(0, 0, 0);\n}\n.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n color: #fff;\n}\n.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range) {\n background-color: rgba(33, 107, 165, 0.5);\n}\n.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range) {\n background-color: #f0f0f0;\n color: #000;\n}\n.react-datepicker__day--disabled,\n.react-datepicker__month-text--disabled,\n.react-datepicker__quarter-text--disabled,\n.react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n}\n.react-datepicker__day--disabled .overlay,\n.react-datepicker__month-text--disabled .overlay,\n.react-datepicker__quarter-text--disabled .overlay,\n.react-datepicker__year-text--disabled .overlay {\n position: absolute;\n bottom: 70%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n\n.react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.react-datepicker__input-container .react-datepicker__calendar-icon {\n position: absolute;\n padding: 0.625em;\n box-sizing: content-box;\n}\n\n.react-datepicker__view-calendar-icon input {\n padding: 6px 10px 5px 25px;\n}\n\n.react-datepicker__year-read-view,\n.react-datepicker__month-read-view,\n.react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n}\n.react-datepicker__year-read-view:hover,\n.react-datepicker__month-read-view:hover,\n.react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n}\n.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 0;\n}\n\n.react-datepicker__year-dropdown,\n.react-datepicker__month-dropdown,\n.react-datepicker__month-year-dropdown {\n background-color: #f0f0f0;\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n}\n.react-datepicker__year-dropdown:hover,\n.react-datepicker__month-dropdown:hover,\n.react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n}\n.react-datepicker__year-dropdown--scrollable,\n.react-datepicker__month-dropdown--scrollable,\n.react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n}\n\n.react-datepicker__year-option,\n.react-datepicker__month-option,\n.react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__year-option:first-of-type,\n.react-datepicker__month-option:first-of-type,\n.react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:last-of-type,\n.react-datepicker__month-option:last-of-type,\n.react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:hover,\n.react-datepicker__month-option:hover,\n.react-datepicker__month-year-option:hover {\n background-color: #ccc;\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-option--selected,\n.react-datepicker__month-option--selected,\n.react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n}\n\n.react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n}\n.react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: #216ba5;\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: "×";\n}\n.react-datepicker__close-icon--disabled {\n cursor: default;\n}\n.react-datepicker__close-icon--disabled::after {\n cursor: default;\n background-color: #ccc;\n}\n\n.react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n}\n\n.react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n}\n\n.react-datepicker__children-container {\n width: 17.25em;\n margin: 0.5em;\n padding-right: 0.25em;\n padding-left: 0.25em;\n height: auto;\n}\n\n.react-datepicker__aria-live {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n\n.react-datepicker__calendar-icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.125em;\n}\n\n.react-datepicker-popper-offset {\n margin-top: -0.7em;\n}\n',""]);const s=i;n.d(t,["A",0,s])},27752(e,t,n){"use strict";var r=n(31601),o=n.n(r),a=n(76314),i=n.n(a)()(o());i.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap);"]),i.push([e.id,"\n",""]);const s=i;n.d(t,["A",0,s])},76314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},31601(e){"use strict";e.exports=function(e){return e[1]}},30454(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=a(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var c=i[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},73055(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),a=0;a<r.length;a++){var i=r[a],s=e[i];(o?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},4146(e,t,n){"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<i.length;++g){var v=i[g];if(!(a[v]||r&&r[v]||m&&m[v]||s&&s[v])){var b=p(n,v);try{l(t,v,b)}catch(e){}}}}return t}},55580(e,t,n){var r=n(56110)(n(9325),"DataView");e.exports=r},21549(e,t,n){var r=n(22032),o=n(63862),a=n(66721),i=n(12749),s=n(35749);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},80079(e,t,n){var r=n(63702),o=n(70080),a=n(24739),i=n(48655),s=n(31175);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},68223(e,t,n){var r=n(56110)(n(9325),"Map");e.exports=r},53661(e,t,n){var r=n(63040),o=n(17670),a=n(90289),i=n(4509),s=n(72949);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},32804(e,t,n){var r=n(56110)(n(9325),"Promise");e.exports=r},76545(e,t,n){var r=n(56110)(n(9325),"Set");e.exports=r},38859(e,t,n){var r=n(53661),o=n(31380),a=n(51459);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},37217(e,t,n){var r=n(80079),o=n(51420),a=n(90938),i=n(63605),s=n(29817),c=n(80945);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=a,l.prototype.get=i,l.prototype.has=s,l.prototype.set=c,e.exports=l},51873(e,t,n){var r=n(9325).Symbol;e.exports=r},37828(e,t,n){var r=n(9325).Uint8Array;e.exports=r},28303(e,t,n){var r=n(56110)(n(9325),"WeakMap");e.exports=r},91033(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},63945(e){e.exports=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}},83729(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},79770(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},15325(e,t,n){var r=n(96131);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},29905(e){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},70695(e,t,n){var r=n(78096),o=n(72428),a=n(56449),i=n(3656),s=n(30361),c=n(37167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),d=!n&&!u&&i(e),p=!n&&!u&&!d&&c(e),f=n||u||d||p,h=f?r(e.length,String):[],m=h.length;for(var g in e)!t&&!l.call(e,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},34932(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},14528(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},40882(e){e.exports=function(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}},14248(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},87805(e,t,n){var r=n(43360),o=n(75288);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},16547(e,t,n){var r=n(43360),o=n(75288),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];a.call(e,t)&&o(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},26025(e,t,n){var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},62429(e,t,n){var r=n(80909);e.exports=function(e,t,n,o){return r(e,(function(e,r,a){t(o,e,n(e),a)})),o}},74733(e,t,n){var r=n(21791),o=n(95950);e.exports=function(e,t){return e&&r(t,o(t),e)}},43838(e,t,n){var r=n(21791),o=n(37241);e.exports=function(e,t){return e&&r(t,o(t),e)}},43360(e,t,n){var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9999(e,t,n){var r=n(37217),o=n(83729),a=n(16547),i=n(74733),s=n(43838),c=n(93290),l=n(23007),u=n(92271),d=n(48948),p=n(50002),f=n(83349),h=n(5861),m=n(76189),g=n(77199),v=n(35529),b=n(56449),y=n(3656),w=n(87730),x=n(23805),k=n(38440),S=n(95950),O=n(37241),A="[object Arguments]",E="[object Function]",P="[object Object]",C={};C[A]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[P]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[E]=C["[object WeakMap]"]=!1,e.exports=function e(t,n,j,_,D,T){var M,N=1&n,I=2&n,R=4&n;if(j&&(M=D?j(t,_,D,T):j(t)),void 0!==M)return M;if(!x(t))return t;var L=b(t);if(L){if(M=m(t),!N)return l(t,M)}else{var F=h(t),H=F==E||"[object GeneratorFunction]"==F;if(y(t))return c(t,N);if(F==P||F==A||H&&!D){if(M=I||H?{}:v(t),!N)return I?d(t,s(M,t)):u(t,i(M,t))}else{if(!C[F])return D?t:{};M=g(t,F,N)}}T||(T=new r);var z=T.get(t);if(z)return z;T.set(t,M),k(t)?t.forEach((function(r){M.add(e(r,n,j,r,t,T))})):w(t)&&t.forEach((function(r,o){M.set(o,e(r,n,j,o,t,T))}));var B=L?void 0:(R?I?f:p:I?O:S)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),a(M,o,e(r,n,j,o,t,T))})),M}},39344(e,t,n){var r=n(23805),o=Object.create,a=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},83915(e,t,n){var r=n(38859),o=n(15325),a=n(29905),i=n(34932),s=n(27301),c=n(19219);e.exports=function(e,t,n,l){var u=-1,d=o,p=!0,f=e.length,h=[],m=t.length;if(!f)return h;n&&(t=i(t,s(n))),l?(d=a,p=!1):t.length>=200&&(d=c,p=!1,t=new r(t));e:for(;++u<f;){var g=e[u],v=null==n?g:n(g);if(g=l||0!==g?g:0,p&&v==v){for(var b=m;b--;)if(t[b]===v)continue e;h.push(g)}else d(t,v,l)||h.push(g)}return h}},80909(e,t,n){var r=n(30641),o=n(38329)(r);e.exports=o},2523(e){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},83120(e,t,n){var r=n(14528),o=n(45891);e.exports=function e(t,n,a,i,s){var c=-1,l=t.length;for(a||(a=o),s||(s=[]);++c<l;){var u=t[c];n>0&&a(u)?n>1?e(u,n-1,a,i,s):r(s,u):i||(s[s.length]=u)}return s}},86649(e,t,n){var r=n(83221)();e.exports=r},30641(e,t,n){var r=n(86649),o=n(95950);e.exports=function(e,t){return e&&r(e,t,o)}},47422(e,t,n){var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},82199(e,t,n){var r=n(14528),o=n(56449);e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},72552(e,t,n){var r=n(51873),o=n(659),a=n(59350),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},28077(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},96131(e,t,n){var r=n(2523),o=n(85463),a=n(76959);e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},27534(e,t,n){var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},60270(e,t,n){var r=n(87068),o=n(40346);e.exports=function e(t,n,a,i,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,s))}},87068(e,t,n){var r=n(37217),o=n(25911),a=n(21986),i=n(50689),s=n(5861),c=n(56449),l=n(3656),u=n(37167),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var b=c(e),y=c(t),w=b?p:s(e),x=y?p:s(t),k=(w=w==d?f:w)==f,S=(x=x==d?f:x)==f,O=w==x;if(O&&l(e)){if(!l(t))return!1;b=!0,k=!1}if(O&&!k)return v||(v=new r),b||u(e)?o(e,t,n,m,g,v):a(e,t,w,n,m,g,v);if(!(1&n)){var A=k&&h.call(e,"__wrapped__"),E=S&&h.call(t,"__wrapped__");if(A||E){var P=A?e.value():e,C=E?t.value():t;return v||(v=new r),g(P,C,n,m,v)}}return!!O&&(v||(v=new r),i(e,t,n,m,g,v))}},29172(e,t,n){var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},41799(e,t,n){var r=n(37217),o=n(60270);e.exports=function(e,t,n,a){var i=n.length,s=i,c=!a;if(null==e)return!s;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<s;){var u=(l=n[i])[0],d=e[u],p=l[1];if(c&&l[2]){if(void 0===d&&!(u in e))return!1}else{var f=new r;if(a)var h=a(d,p,u,e,t,f);if(!(void 0===h?o(p,d,3,a,f):h))return!1}}return!0}},85463(e){e.exports=function(e){return e!=e}},45083(e,t,n){var r=n(1882),o=n(87296),a=n(23805),i=n(47473),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?p:s).test(i(e))}},16038(e,t,n){var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},4901(e,t,n){var r=n(72552),o=n(30294),a=n(40346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[r(e)]}},15389(e,t,n){var r=n(93663),o=n(87978),a=n(83488),i=n(56449),s=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):s(e)}},88984(e,t,n){var r=n(55527),o=n(3650),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903(e,t,n){var r=n(23805),o=n(55527),a=n(90181),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&n.push(s);return n}},93663(e,t,n){var r=n(41799),o=n(10776),a=n(67197);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},87978(e,t,n){var r=n(60270),o=n(58156),a=n(80631),i=n(28586),s=n(30756),c=n(67197),l=n(77797);e.exports=function(e,t){return i(e)&&s(t)?c(l(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},85250(e,t,n){var r=n(37217),o=n(87805),a=n(86649),i=n(42824),s=n(23805),c=n(37241),l=n(14974);e.exports=function e(t,n,u,d,p){t!==n&&a(n,(function(a,c){if(p||(p=new r),s(a))i(t,n,c,u,e,d,p);else{var f=d?d(l(t,c),a,c+"",t,n,p):void 0;void 0===f&&(f=a),o(t,c,f)}}),c)}},42824(e,t,n){var r=n(87805),o=n(93290),a=n(71961),i=n(23007),s=n(35529),c=n(72428),l=n(56449),u=n(83693),d=n(3656),p=n(1882),f=n(23805),h=n(11331),m=n(37167),g=n(14974),v=n(69884);e.exports=function(e,t,n,b,y,w,x){var k=g(e,n),S=g(t,n),O=x.get(S);if(O)r(e,n,O);else{var A=w?w(k,S,n+"",e,t,x):void 0,E=void 0===A;if(E){var P=l(S),C=!P&&d(S),j=!P&&!C&&m(S);A=S,P||C||j?l(k)?A=k:u(k)?A=i(k):C?(E=!1,A=o(S,!0)):j?(E=!1,A=a(S,!0)):A=[]:h(S)||c(S)?(A=k,c(k)?A=v(k):f(k)&&!p(k)||(A=s(S))):E=!1}E&&(x.set(S,A),y(A,S,b,w,x),x.delete(S)),r(e,n,A)}}},76001(e,t,n){var r=n(97420),o=n(80631);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},97420(e,t,n){var r=n(47422),o=n(73170),a=n(31769);e.exports=function(e,t,n){for(var i=-1,s=t.length,c={};++i<s;){var l=t[i],u=r(e,l);n(u,l)&&o(c,a(l,e),u)}return c}},47237(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255(e,t,n){var r=n(47422);e.exports=function(e){return function(t){return r(t,e)}}},86151(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,a){for(var i=-1,s=n(t((r-e)/(o||1)),0),c=Array(s);s--;)c[a?s:++i]=e,e+=o;return c}},85558(e){e.exports=function(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}},69302(e,t,n){var r=n(83488),o=n(56757),a=n(32865);e.exports=function(e,t){return a(o(e,t,r),e+"")}},73170(e,t,n){var r=n(16547),o=n(31769),a=n(30361),i=n(23805),s=n(77797);e.exports=function(e,t,n,c){if(!i(e))return e;for(var l=-1,u=(t=o(t,e)).length,d=u-1,p=e;null!=p&&++l<u;){var f=s(t[l]),h=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(l!=d){var m=p[f];void 0===(h=c?c(m,f,p):void 0)&&(h=i(m)?m:a(t[l+1])?[]:{})}r(p,f,h),p=p[f]}return e}},25160(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}},78096(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},54128(e,t,n){var r=n(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},27301(e){e.exports=function(e){return function(t){return e(t)}}},55765(e,t,n){var r=n(38859),o=n(15325),a=n(29905),i=n(19219),s=n(44517),c=n(84247);e.exports=function(e,t,n){var l=-1,u=o,d=e.length,p=!0,f=[],h=f;if(n)p=!1,u=a;else if(d>=200){var m=t?null:s(e);if(m)return c(m);p=!1,u=i,h=new r}else h=t?[]:f;e:for(;++l<d;){var g=e[l],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v==v){for(var b=h.length;b--;)if(h[b]===v)continue e;t&&h.push(v),f.push(g)}else u(h,v,n)||(h!==f&&h.push(v),f.push(g))}return f}},19931(e,t,n){var r=n(31769),o=n(68090),a=n(68969),i=n(77797),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=-1,c=(t=r(t,e)).length;if(!c)return!0;for(;++n<c;){var l=i(t[n]);if("__proto__"===l&&!s.call(e,"__proto__"))return!1;if(("constructor"===l||"prototype"===l)&&n<c-1)return!1}var u=a(e,t);return null==u||delete u[i(o(t))]}},19219(e){e.exports=function(e,t){return e.has(t)}},31769(e,t,n){var r=n(56449),o=n(28586),a=n(61802),i=n(13222);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},49653(e,t,n){var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},93290(e,t,n){e=n.nmd(e);var r=n(9325),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},76169(e,t,n){var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},73201(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},93736(e,t,n){var r=n(51873),o=r?r.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},71961(e,t,n){var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},23007(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},21791(e,t,n){var r=n(16547),o=n(43360);e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),i?o(n,l,u):r(n,l,u)}return n}},92271(e,t,n){var r=n(21791),o=n(4664);e.exports=function(e,t){return r(e,o(e),t)}},48948(e,t,n){var r=n(21791),o=n(86375);e.exports=function(e,t){return r(e,o(e),t)}},55481(e,t,n){var r=n(9325)["__core-js_shared__"];e.exports=r},42e3(e,t,n){var r=n(63945),o=n(62429),a=n(15389),i=n(56449);e.exports=function(e,t){return function(n,s){var c=i(n)?r:o,l=t?t():{};return c(n,e,a(s,2),l)}}},20999(e,t,n){var r=n(69302),o=n(36800);e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t}))}},38329(e,t,n){var r=n(64894);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,s=Object(n);(t?i--:++i<a)&&!1!==o(s[i],i,s););return n}}},83221(e){e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var c=i[e?s:++o];if(!1===n(a[c],c,a))break}return t}}},85508(e,t,n){var r=n(86151),o=n(36800),a=n(17400);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&o(t,n,i)&&(n=i=void 0),t=a(t),void 0===n?(n=t,t=0):n=a(n),i=void 0===i?t<n?1:-1:a(i),r(t,n,i,e)}}},73893(e,t,n){var r=n(9325),o=n(61489),a=n(99374),i=n(13222),s=r.isFinite,c=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=a(e),(n=null==n?0:c(o(n),292))&&s(e)){var r=(i(e)+"e").split("e"),l=t(r[0]+"e"+(+r[1]+n));return+((r=(i(l)+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}},44517(e,t,n){var r=n(76545),o=n(63950),a=n(84247),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},53138(e,t,n){var r=n(11331);e.exports=function(e){return r(e)?void 0:e}},93243(e,t,n){var r=n(56110),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911(e,t,n){var r=n(38859),o=n(14248),a=n(19219);e.exports=function(e,t,n,i,s,c){var l=1&n,u=e.length,d=t.length;if(u!=d&&!(l&&d>u))return!1;var p=c.get(e),f=c.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var v=e[h],b=t[h];if(i)var y=l?i(b,v,h,t,e,c):i(v,b,h,e,t,c);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!a(g,t)&&(v===e||s(v,e,n,i,c)))return g.push(t)}))){m=!1;break}}else if(v!==b&&!s(v,b,n,i,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},21986(e,t,n){var r=n(51873),o=n(37828),a=n(75288),i=n(25911),s=n(20317),c=n(84247),l=r?r.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=i(f(e),f(t),r,l,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689(e,t,n){var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,s){var c=1&n,l=r(e),u=l.length;if(u!=r(t).length&&!c)return!1;for(var d=u;d--;){var p=l[d];if(!(c?p in t:o.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=c;++d<u;){var v=e[p=l[d]],b=t[p];if(a)var y=c?a(b,v,p,t,e,s):a(v,b,p,e,t,s);if(!(void 0===y?v===b||i(v,b,n,a,s):y)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},38816(e,t,n){var r=n(35970),o=n(56757),a=n(32865);e.exports=function(e){return a(o(e,void 0,r),e+"")}},34840(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},50002(e,t,n){var r=n(82199),o=n(4664),a=n(95950);e.exports=function(e){return r(e,a,o)}},83349(e,t,n){var r=n(82199),o=n(86375),a=n(37241);e.exports=function(e){return r(e,a,o)}},12651(e,t,n){var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776(e,t,n){var r=n(30756),o=n(95950);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},56110(e,t,n){var r=n(45083),o=n(10392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},28879(e,t,n){var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},659(e,t,n){var r=n(51873),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},4664(e,t,n){var r=n(79770),o=n(63345),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=s},86375(e,t,n){var r=n(14528),o=n(28879),a=n(4664),i=n(63345),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=s},5861(e,t,n){var r=n(55580),o=n(68223),a=n(32804),i=n(76545),s=n(28303),c=n(72552),l=n(47473),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=l(r),g=l(o),v=l(a),b=l(i),y=l(s),w=c;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=u||a&&w(a.resolve())!=d||i&&w(new i)!=p||s&&w(new s)!=f)&&(w=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return h;case g:return u;case v:return d;case b:return p;case y:return f}return t}),e.exports=w},10392(e){e.exports=function(e,t){return null==e?void 0:e[t]}},49326(e,t,n){var r=n(31769),o=n(72428),a=n(56449),i=n(30361),s=n(30294),c=n(77797);e.exports=function(e,t,n){for(var l=-1,u=(t=r(t,e)).length,d=!1;++l<u;){var p=c(t[l]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++l!=u?d:!!(u=null==e?0:e.length)&&s(u)&&i(p,u)&&(a(e)||o(e))}},22032(e,t,n){var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},63862(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721(e,t,n){var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},12749(e,t,n){var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},35749(e,t,n){var r=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},76189(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},77199(e,t,n){var r=n(49653),o=n(76169),a=n(73201),i=n(93736),s=n(71961);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return a(e);case"[object Symbol]":return i(e)}}},35529(e,t,n){var r=n(39344),o=n(28879),a=n(55527);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(o(e))}},45891(e,t,n){var r=n(51873),o=n(72428),a=n(56449),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},30361(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=n??9007199254740991)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800(e,t,n){var r=n(75288),o=n(64894),a=n(30361),i=n(23805);e.exports=function(e,t,n){if(!i(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&a(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},28586(e,t,n){var r=n(56449),o=n(44394),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},74218(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296(e,t,n){var r,o=n(55481),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},55527(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756(e,t,n){var r=n(23805);e.exports=function(e){return e==e&&!r(e)}},63702(e){e.exports=function(){this.__data__=[],this.size=0}},70080(e,t,n){var r=n(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},24739(e,t,n){var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},48655(e,t,n){var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},31175(e,t,n){var r=n(26025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},63040(e,t,n){var r=n(21549),o=n(80079),a=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},17670(e,t,n){var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90289(e,t,n){var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},4509(e,t,n){var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},72949(e,t,n){var r=n(12651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},20317(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},67197(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},62224(e,t,n){var r=n(50104);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042(e,t,n){var r=n(56110)(Object,"create");e.exports=r},3650(e,t,n){var r=n(74335)(Object.keys,Object);e.exports=r},90181(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009(e,t,n){e=n.nmd(e);var r=n(34840),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s},59350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335(e){e.exports=function(e,t){return function(n){return e(t(n))}}},56757(e,t,n){var r=n(91033),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,s=o(a.length-t,0),c=Array(s);++i<s;)c[i]=a[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=a[i];return l[t]=n(c),r(e,this,l)}}},68969(e,t,n){var r=n(47422),o=n(25160);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},9325(e,t,n){var r=n(34840),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},14974(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31380(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459(e){e.exports=function(e){return this.__data__.has(e)}},84247(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865(e){e.exports=function(e){return e}},51420(e,t,n){var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},90938(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605(e){e.exports=function(e){return this.__data__.get(e)}},29817(e){e.exports=function(e){return this.__data__.has(e)}},80945(e,t,n){var r=n(80079),o=n(68223),a=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},76959(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},61802(e,t,n){var r=n(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)})),t}));e.exports=i},77797(e){e.exports=function(e){return e}},47473(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},38221(e,t,n){var r=n(23805),o=n(10124),a=n(99374),i=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,u,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=c,r=l;return c=l=void 0,h=t,d=e.apply(r,n)}function y(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=u}function w(){var e=o();if(y(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-f);return g?s(n,u-(e-h)):n}(e))}function x(e){return p=void 0,v&&c?b(e):(c=l=void 0,d)}function k(){var e=o(),n=y(e);if(c=arguments,l=this,f=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(w,t),m?b(e):d}(f);if(g)return clearTimeout(p),p=setTimeout(w,t),b(f)}return void 0===p&&(p=setTimeout(w,t)),d}return t=a(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?i(a(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=f=l=p=void 0},k.flush=function(){return void 0===p?d:x(o())},k}},66245(e,t,n){var r=n(83915),o=n(83120),a=n(69302),i=n(83693),s=a((function(e,t){return i(e)?r(e,o(t,1,i,!0)):[]}));e.exports=s},75288(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970(e,t,n){var r=n(83120);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},58156(e,t,n){var r=n(47422);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},94394(e,t,n){var r=n(43360),o=n(42e3),a=Object.prototype.hasOwnProperty,i=o((function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=i},80631(e,t,n){var r=n(28077),o=n(49326);e.exports=function(e,t){return null!=e&&o(e,t,r)}},83488(e){e.exports=function(e){return e}},72428(e,t,n){var r=n(27534),o=n(40346),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},56449(e){var t=Array.isArray;e.exports=t},64894(e,t,n){var r=n(1882),o=n(30294);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},83693(e,t,n){var r=n(64894),o=n(40346);e.exports=function(e){return o(e)&&r(e)}},3656(e,t,n){e=n.nmd(e);var r=n(9325),o=n(89935),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,s=i&&i.exports===a?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},62193(e,t,n){var r=n(88984),o=n(5861),a=n(72428),i=n(56449),s=n(64894),c=n(3656),l=n(55527),u=n(37167),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||u(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},2404(e,t,n){var r=n(60270);e.exports=function(e,t){return r(e,t)}},1882(e,t,n){var r=n(72552),o=n(23805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730(e,t,n){var r=n(29172),o=n(27301),a=n(86009),i=a&&a.isMap,s=i?o(i):r;e.exports=s},69843(e){e.exports=function(e){return null==e}},23805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},11331(e,t,n){var r=n(72552),o=n(28879),a=n(40346),i=Function.prototype,s=Object.prototype,c=i.toString,l=s.hasOwnProperty,u=c.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==u}},38440(e,t,n){var r=n(16038),o=n(27301),a=n(86009),i=a&&a.isSet,s=i?o(i):r;e.exports=s},85015(e,t,n){var r=n(72552),o=n(56449),a=n(40346);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},44394(e,t,n){var r=n(72552),o=n(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},37167(e,t,n){var r=n(4901),o=n(27301),a=n(86009),i=a&&a.isTypedArray,s=i?o(i):r;e.exports=s},95950(e,t,n){var r=n(70695),o=n(88984),a=n(64894);e.exports=function(e){return a(e)?r(e):o(e)}},37241(e,t,n){var r=n(70695),o=n(72903),a=n(64894);e.exports=function(e){return a(e)?r(e,!0):o(e)}},68090(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},73916(e,t,n){var r=n(43360),o=n(30641),a=n(15389);e.exports=function(e,t){var n={};return t=a(t,3),o(e,(function(e,o,a){r(n,o,t(e,o,a))})),n}},50104(e,t,n){var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},55364(e,t,n){var r=n(85250),o=n(20999)((function(e,t,n){r(e,t,n)}));e.exports=o},6048(e){e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},63950(e){e.exports=function(){}},10124(e,t,n){var r=n(9325);e.exports=function(){return r.Date.now()}},90179(e,t,n){var r=n(34932),o=n(9999),a=n(19931),i=n(31769),s=n(21791),c=n(53138),l=n(38816),u=n(83349),d=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=r(t,(function(t){return t=i(t,e),l||(l=t.length>1),t})),s(e,u(e),n),l&&(n=o(n,7,c));for(var d=t.length;d--;)a(n,t[d]);return n}));e.exports=d},42194(e,t,n){var r=n(15389),o=n(6048),a=n(71086);e.exports=function(e,t){return a(e,o(r(t)))}},44383(e,t,n){var r=n(76001),o=n(38816)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},71086(e,t,n){var r=n(34932),o=n(15389),a=n(97420),i=n(83349);e.exports=function(e,t){if(null==e)return{};var n=r(i(e),(function(e){return[e]}));return t=o(t),a(e,n,(function(e,n){return t(e,n[0])}))}},50583(e,t,n){var r=n(47237),o=n(17255),a=n(28586),i=n(77797);e.exports=function(e){return a(e)?r(i(e)):o(e)}},23181(e,t,n){var r=n(85508)();e.exports=r},40860(e,t,n){var r=n(40882),o=n(80909),a=n(15389),i=n(85558),s=n(56449);e.exports=function(e,t,n){var c=s(e)?r:i,l=arguments.length<3;return c(e,a(t,4),n,l,o)}},36944(e,t,n){var r=n(73893)("round");e.exports=r},63560(e,t,n){var r=n(73170);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},63345(e){e.exports=function(){return[]}},89935(e){e.exports=function(){return!1}},7350(e,t,n){var r=n(38221),o=n(23805);e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},17400(e){e.exports=function(e){return e}},61489(e){e.exports=function(e){return e}},99374(e,t,n){var r=n(54128),o=n(23805),a=n(44394),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}},69884(e,t,n){var r=n(21791),o=n(37241);e.exports=function(e){return r(e,o(e))}},13222(e){e.exports=function(e){return e}},69752(e,t,n){var r=n(83729),o=n(39344),a=n(30641),i=n(15389),s=n(28879),c=n(56449),l=n(3656),u=n(1882),d=n(23805),p=n(37167);e.exports=function(e,t,n){var f=c(e),h=f||l(e)||p(e);if(t=i(t,4),null==n){var m=e&&e.constructor;n=h?f?new m:[]:d(e)&&u(m)?o(s(e)):{}}return(h?r:a)(e,(function(e,r,o){return t(n,e,r,o)})),n}},80299(e,t,n){var r=n(83120),o=n(69302),a=n(55765),i=n(83693),s=o((function(e){return a(r(e,1,i,!0))}));e.exports=s},63375(e,t,n){var r=n(55765);e.exports=function(e){return e&&e.length?r(e):[]}},73357(e,t,n){var r=n(19931);e.exports=function(e,t){return null==e||r(e,t)}},2694(e,t,n){"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86663(e,t,n){"use strict";const r=n(24280),o=n(30454),a=n(528),i=n(73055),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),a="string"==typeof n&&!o&&u(n,e).includes(e.arrayFormatSeparator);n=a?u(n,e):n;const i=o||a?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?u(n,e):n);const a=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],a):r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,i]=a(t.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:u(i,t),n(u(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",o,"]"].join("")]:[...n,[l(t,e),"[",l(o,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),":list="].join("")]:[...n,[l(t,e),":list=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[l(n,e),t,l(o,e)].join("")]:[[r,l(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map((n=>{const o=e[n];return void 0===o?"":null===o?l(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":o.reduce(r(n),[]).join("&"):l(n,t)+"="+l(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=a(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query);let c=t.stringify(i,n);c&&(c=`?${c}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?l(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:a,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:i(a,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},29336(e,t,n){"use strict";var r=n(33567);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},12238(e,t,n){e.exports=n(29336)()},33567(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},87424(e,t,n){"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=c(n(87695)),a=c(n(59321)),i=c(n(13486)),s=n(36462);function c(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e){return function(){var t,n=g(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=g(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return m(e)}(this,t)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(){return!0},w="suggestions-revealed",x="input-focused",k="input-changed",S="escape-pressed",O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(l,e);var t,n,o,c=h(l);function l(e){var t,n=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),b(m(t=c.call(this)),"onDocumentMouseDown",(function(e){t.justClickedOnSuggestionsContainer=!1;for(var n=e.detail&&e.detail.target||e.target;null!==n&&n!==document;){if(n.getAttribute&&null!==n.getAttribute("data-suggestion-index"))return;if(n===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);n=n.parentNode}})),b(m(t),"storeAutowhateverRef",(function(e){null!==e&&(t.autowhatever=e)})),b(m(t),"onSuggestionMouseEnter",(function(e,n){var r=n.sectionIndex,o=n.itemIndex;t.updateHighlightedSuggestion(r,o),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout((function(){t.justMouseEntered=!1}))})),b(m(t),"highlightFirstSuggestion",(function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)})),b(m(t),"onDocumentMouseUp",(function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null})),b(m(t),"onSuggestionMouseDown",(function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)})),b(m(t),"onSuggestionsClearRequested",(function(){var e=t.props.onSuggestionsClearRequested;e&&e()})),b(m(t),"onSuggestionSelected",(function(e,n){var r=t.props,o=r.alwaysRenderSuggestions,a=r.onSuggestionSelected,i=r.onSuggestionsFetchRequested;a&&a(e,n);var s=t.props.shouldKeepSuggestionsOnSelect(n.suggestion);o||s?i({value:n.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()})),b(m(t),"onSuggestionClick",(function(e){var n=t.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,a=t.getSuggestionIndices(t.findSuggestionElement(e.target)),i=a.sectionIndex,s=a.suggestionIndex,c=t.getSuggestion(i,s),l=t.props.getSuggestionValue(c);t.maybeCallOnChange(e,l,"click"),t.onSuggestionSelected(e,{suggestion:c,suggestionValue:l,suggestionIndex:s,sectionIndex:i,method:"click"});var u=t.props.shouldKeepSuggestionsOnSelect(c);r||u||t.closeSuggestions(),!0===o?t.input.focus():t.onBlur(),setTimeout((function(){t.justSelectedSuggestion=!1}))})),b(m(t),"onBlur",(function(){var e=t.props,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value,a=n.onBlur,i=t.getHighlightedSuggestion(),s=r(o,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),a&&a(t.blurEvent,{highlightedSuggestion:i})})),b(m(t),"onSuggestionMouseLeave",(function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)})),b(m(t),"onSuggestionTouchStart",(function(){t.justSelectedSuggestion=!0})),b(m(t),"onSuggestionTouchMove",(function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()})),b(m(t),"itemProps",(function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}})),b(m(t),"renderSuggestionsContainer",(function(e){var n=e.containerProps,r=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:n,children:r,query:t.getQuery()})})),t.state={isFocused:!1,isCollapsed:!n,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return t=l,n=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,a.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,i=n.highlightFirstSuggestion;if(!(0,a.default)(r,e.suggestions)&&r.length>0&&i)this.highlightFirstSuggestion();else if(o){var s=this.getHighlightedSuggestion();s!=t.highlightedSuggestion&&o({suggestion:s})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState((function(o){var a=o.valueBeforeUpDown;return null===t?a=null:null===a&&void 0!==n&&(a=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:a}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,a=n.getSectionSuggestions;return o?a(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,a=r.onChange;t!==o&&a(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e,t){var n=e.suggestions,r=e.inputProps,o=e.shouldRenderSuggestions,a=r.value;return n.length>0&&o(a,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,a=t.onSuggestionsFetchRequested,c=t.renderSuggestion,l=t.inputProps,u=t.multiSection,d=t.renderSectionTitle,f=t.id,h=t.getSectionSuggestions,m=t.theme,g=t.getSuggestionValue,v=t.alwaysRenderSuggestions,b=t.highlightFirstSuggestion,O=t.containerProps,A=this.state,E=A.isFocused,P=A.isCollapsed,C=A.highlightedSectionIndex,j=A.highlightedSuggestionIndex,_=A.valueBeforeUpDown,D=v?y:this.props.shouldRenderSuggestions,T=l.value,M=l.onFocus,N=l.onKeyDown,I=this.willRenderSuggestions(this.props,"render"),R=v||E&&!P&&I,L=R?n:[],F=p({},l,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=D(T,x);e.setState({isFocused:!0,isCollapsed:!n}),M&&M(t),n&&a({value:T,reason:x})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,r=D(n,k);e.maybeCallOnChange(t,n,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(p({},b?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!r})),r?a({value:n,reason:k}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(P)D(T,w)&&(a({value:T,reason:w}),e.revealSuggestions(),t.preventDefault());else if(n.length>0){var i,s=r.newHighlightedSectionIndex,c=r.newHighlightedItemIndex;i=null===c?null===_?T:_:e.getSuggestionValueByIndex(s,c),e.updateHighlightedSuggestion(s,c,T),e.maybeCallOnChange(t,i,40===o?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var l=e.getHighlightedSuggestion();if(R&&!v&&e.closeSuggestions(),null!=l){t.preventDefault();var u=g(l);e.maybeCallOnChange(t,u,"enter"),e.onSuggestionSelected(t,{suggestion:l,suggestionValue:u,suggestionIndex:j,sectionIndex:C,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:R&&t.preventDefault();var d=R&&!v;null===_?d||(e.maybeCallOnChange(t,"","escape"),D("",S)?a({value:"",reason:S}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,_,"escape"),d?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}N&&N(t)}}),H={query:this.getQuery()};return r.default.createElement(i.default,{multiSection:u,items:L,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:c,renderItemData:H,renderSectionTitle:d,getSectionItems:h,highlightedSectionIndex:C,highlightedItemIndex:j,containerProps:O,inputProps:F,itemProps:this.itemProps,theme:(0,s.mapToAutowhateverTheme)(m),id:f,ref:this.storeAutowhateverRef})}}],n&&f(t.prototype,n),o&&f(t,o),l}(r.Component);t.default=O,b(O,"propTypes",{suggestions:o.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var n=e[t];if("function"!=typeof n)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:o.default.func,onSuggestionSelected:o.default.func,onSuggestionHighlighted:o.default.func,renderInputComponent:o.default.func,renderSuggestionsContainer:o.default.func,getSuggestionValue:o.default.func.isRequired,renderSuggestion:o.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(n,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(n,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:o.default.func,alwaysRenderSuggestions:o.default.bool,multiSection:o.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:o.default.bool,highlightFirstSuggestion:o.default.bool,theme:o.default.object,id:o.default.string,containerProps:o.default.object}),b(O,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:s.defaultTheme,id:"1",containerProps:{}})},13486(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==m(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=l(n(87695)),a=l(n(61578)),i=l(n(54525)),s=l(n(42444)),c=l(n(97932));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e){return function(){var t,n=y(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=y(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;return b(e)}(this,t)}}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k={},S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(u,e);var t,n,o,l=v(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),x(b(t=l.call(this,e)),"storeInputReference",(function(e){null!==e&&(t.input=e);var n=t.props.inputProps.ref;n&&("function"==typeof n?n(e):"object"===m(n)&&Object.prototype.hasOwnProperty.call(n,"current")&&(n.current=e))})),x(b(t),"storeItemsContainerReference",(function(e){null!==e&&(t.itemsContainer=e)})),x(b(t),"onHighlightedItemChange",(function(e){t.highlightedItem=e})),x(b(t),"getItemId",(function(e,n){if(null===n)return null;var r=t.props.id,o=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(r,"-").concat(o,"-item-").concat(n)})),x(b(t),"onFocus",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!0}),n.onFocus&&n.onFocus(e)})),x(b(t),"onBlur",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!1}),n.onBlur&&n.onBlur(e)})),x(b(t),"onKeyDown",(function(e){var n=t.props,r=n.inputProps,o=n.highlightedSectionIndex,a=n.highlightedItemIndex,i=e.keyCode;switch(i){case 40:case 38:var s=40===i?"next":"prev",c=f(t.sectionIterator[s]([o,a]),2),l=c[0],u=c[1];r.onKeyDown(e,{newHighlightedSectionIndex:l,newHighlightedItemIndex:u});break;default:r.onKeyDown(e,{highlightedSectionIndex:o,highlightedItemIndex:a})}})),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return t=u,(n=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,a.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,i.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,n=this.props,o=n.id,a=n.items,i=n.renderItem,l=n.renderItemData,u=n.renderSectionTitle,d=n.highlightedSectionIndex,p=n.highlightedItemIndex,f=n.itemProps;return a.map((function(n,a){var h="react-autowhatever-".concat(o,"-"),m="".concat(h,"section-").concat(a,"-"),g=0===a;return r.default.createElement("div",t("".concat(m,"container"),"sectionContainer",g&&"sectionContainerFirst"),r.default.createElement(s.default,{section:n,renderSectionTitle:u,theme:t,sectionKeyPrefix:m}),r.default.createElement(c.default,{items:e.sectionsItems[a],itemProps:f,renderItem:i,renderItemData:l,sectionIndex:a,highlightedItemIndex:d===a?p:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:h,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,n=this.props,o=n.id,a=n.renderItem,i=n.renderItemData,s=n.highlightedSectionIndex,l=n.highlightedItemIndex,u=n.itemProps;return r.default.createElement(c.default,{items:e,itemProps:u,renderItem:a,renderItemData:i,highlightedItemIndex:null===s?l:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(o,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,n=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,r=t.scrollTop;n<r?r=n:n+e.offsetHeight>r+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,a=t.renderInputComponent,i=t.renderItemsContainer,s=t.highlightedSectionIndex,c=t.highlightedItemIndex,l=this.state.isInputFocused,u=o?this.renderSections():this.renderItems(),d=null!==u,f=this.getItemId(s,c),h="react-autowhatever-".concat(n),m=p({role:"combobox","aria-haspopup":"listbox","aria-owns":h,"aria-expanded":d},e("react-autowhatever-".concat(n,"-container"),"container",d&&"containerOpen"),{},this.props.containerProps),g=a(p({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":h,"aria-activedescendant":f},e("react-autowhatever-".concat(n,"-input"),"input",d&&"inputOpen",l&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),v=i({containerProps:p({id:h,role:"listbox"},e("react-autowhatever-".concat(n,"-items-container"),"itemsContainer",d&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:u});return r.default.createElement("div",m,g,v)}}])&&g(t.prototype,n),o&&g(t,o),u}(r.Component);t.default=S,x(S,"propTypes",{id:o.default.string,multiSection:o.default.bool,renderInputComponent:o.default.func,renderItemsContainer:o.default.func,items:o.default.array.isRequired,renderItem:o.default.func,renderItemData:o.default.object,renderSectionTitle:o.default.func,getSectionItems:o.default.func,containerProps:o.default.object,inputProps:o.default.object,itemProps:o.default.oneOfType([o.default.object,o.default.func]),highlightedSectionIndex:o.default.number,highlightedItemIndex:o.default.number,theme:o.default.oneOfType([o.default.object,o.default.array])}),x(S,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:k,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:k,inputProps:k,itemProps:k,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},21572(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=i(n(87695)),a=i(n(81438));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(s,e);var t,n,o,i=f(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=i.call.apply(i,[this].concat(n))),"storeItemReference",(function(t){null!==t&&(e.item=t)})),v(h(e),"onMouseEnter",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseEnter(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onMouseLeave",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseLeave(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onMouseDown",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseDown(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onClick",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onClick(t,{sectionIndex:r,itemIndex:o})})),e}return t=s,n=[{key:"shouldComponentUpdate",value:function(e){return(0,a.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,n=e.item,o=e.renderItem,a=e.renderItemData,i=d(e,["isHighlighted","item","renderItem","renderItemData"]);return delete i.sectionIndex,delete i.itemIndex,"function"==typeof i.onMouseEnter&&(i.onMouseEnter=this.onMouseEnter),"function"==typeof i.onMouseLeave&&(i.onMouseLeave=this.onMouseLeave),"function"==typeof i.onMouseDown&&(i.onMouseDown=this.onMouseDown),"function"==typeof i.onClick&&(i.onClick=this.onClick),r.default.createElement("li",l({role:"option"},i,{ref:this.storeItemReference}),o(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({isHighlighted:t},a)))}}],n&&p(t.prototype,n),o&&p(t,o),s}(r.Component);t.default=b,v(b,"propTypes",{sectionIndex:o.default.number,isHighlighted:o.default.bool.isRequired,itemIndex:o.default.number.isRequired,item:o.default.any.isRequired,renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,onMouseEnter:o.default.func,onMouseLeave:o.default.func,onMouseDown:o.default.func,onClick:o.default.func})},97932(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=s(n(87695)),a=s(n(21572)),i=s(n(81438));function s(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(c,e);var t,n,o,s=f(c);function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=s.call.apply(s,[this].concat(n))),"storeHighlightedItemReference",(function(t){e.props.onHighlightedItemChange(null===t?null:t.item)})),e}return t=c,n=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,o=t.itemProps,i=t.renderItem,s=t.renderItemData,c=t.sectionIndex,l=t.highlightedItemIndex,p=t.getItemId,f=t.theme,h=t.keyPrefix,m=null===c?h:"".concat(h,"section-").concat(c,"-"),g="function"==typeof o;return r.default.createElement("ul",u({role:"listbox"},f("".concat(m,"items-list"),"itemsList")),n.map((function(t,n){var h=0===n,b=n===l,y="".concat(m,"item-").concat(n),w=g?o({sectionIndex:c,itemIndex:n}):o,x=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:p(c,n),"aria-selected":b},f(y,"item",h&&"itemFirst",b&&"itemHighlighted"),{},w);return b&&(x.ref=e.storeHighlightedItemReference),r.default.createElement(a.default,u({},x,{sectionIndex:c,isHighlighted:b,itemIndex:n,item:t,renderItem:i,renderItemData:s}))})))}}],n&&p(t.prototype,n),o&&p(t,o),c}(r.Component);t.default=b,v(b,"propTypes",{items:o.default.array.isRequired,itemProps:o.default.oneOfType([o.default.object,o.default.func]),renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,sectionIndex:o.default.number,highlightedItemIndex:o.default.number,onHighlightedItemChange:o.default.func.isRequired,getItemId:o.default.func.isRequired,theme:o.default.func.isRequired,keyPrefix:o.default.string.isRequired}),v(b,"defaultProps",{sectionIndex:null})},42444(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=i(n(87695)),a=i(n(81438));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e){return function(){var t,n=d(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=d(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}var f,h,m,g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(s,e);var t,n,o,i=u(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"shouldComponentUpdate",value:function(e){return(0,a.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,n=e.renderSectionTitle,o=e.theme,a=e.sectionKeyPrefix,i=n(t);return i?r.default.createElement("div",o("".concat(a,"title"),"sectionTitle"),i):null}}])&&l(t.prototype,n),o&&l(t,o),s}(r.Component);t.default=g,f=g,h="propTypes",m={section:o.default.any.isRequired,renderSectionTitle:o.default.func.isRequired,theme:o.default.func.isRequired,sectionKeyPrefix:o.default.string.isRequired},h in f?Object.defineProperty(f,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):f[h]=m},81438(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!0;var i,s,c={};for(i=0,s=r.length;i<s;i++)c[r[i]]=!0;for(i=0,s=o.length;i<s;i++){var l=o[i],u=e[l],d=t[l];if(u!==d){if(!c[l]||null===u||null===d||"object"!==n(u)||"object"!==n(d))return!0;var p=Object.keys(u),f=Object.keys(d);if(p.length!==f.length)return!0;for(var h=0,m=p.length;h<m;h++){var g=p[h];if(u[g]!==d[g])return!0}}}return!1}},62243(e,t,n){"use strict";e.exports=n(87424).default},36462(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0;t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},915(e,t,n){"use strict";var r=n(96372);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},87695(e,t,n){e.exports=n(915)()},96372(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},54391(e){function t(e){const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54391,e.exports=t},31247(e,t,n){"use strict";var r=n(69982),o=n(4883),a=n(81845);
52
+ */function fZ(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(a,i){if(!a&&null!==o)return n.push(`M${o+t} ${r+t}h${i-o}v1H${o+t}z`),void(o=null);if(i!==e.length-1)a&&null===o&&(o=i);else{if(!a)return;null===o?n.push(`M${i+t},${r+t} h1v1H${i+t}z`):n.push(`M${o+t},${r+t} h${i+1-o}v1H${o+t}z`)}}))})),n.join("")}function hZ(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function mZ({value:e,level:t,minVersion:n,includeMargin:r,marginSize:o,imageSettings:a,size:i,boostLevel:s}){let c=h.useMemo((()=>{const r=(Array.isArray(e)?e:[e]).reduce(((e,t)=>(e.push(...aZ.QrSegment.makeSegments(t)),e)),[]);return aZ.QrCode.encodeSegments(r,iZ[t],n,void 0,void 0,s)}),[e,t,n,s]);const{cells:l,margin:u,numCells:d,calculatedImageSettings:p}=h.useMemo((()=>{let e=c.getModules();const t=function(e,t){return null!=t?Math.max(Math.floor(t),0):e?4:0}(r,o),n=e.length+2*t,s=function(e,t,n,r){if(null==r)return null;const o=e.length+2*n,a=Math.floor(.1*t),i=o/t,s=(r.width||a)*i,c=(r.height||a)*i,l=null==r.x?e.length/2-s/2:r.x*i,u=null==r.y?e.length/2-c/2:r.y*i,d=null==r.opacity?1:r.opacity;let p=null;if(r.excavate){let e=Math.floor(l),t=Math.floor(u);p={x:e,y:t,w:Math.ceil(s+l-e),h:Math.ceil(c+u-t)}}return{x:l,y:u,h:c,w:s,excavation:p,opacity:d,crossOrigin:r.crossOrigin}}(e,i,t,a);return{cells:e,margin:t,numCells:n,calculatedImageSettings:s}}),[c,i,a,r,o]);return{qrcode:c,margin:u,cells:l,numCells:d,calculatedImageSettings:p}}var gZ=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),vZ=h.forwardRef((function(e,t){const n=e,{value:r,size:o=sZ,level:a=cZ,bgColor:i=lZ,fgColor:s=uZ,includeMargin:c=dZ,minVersion:l=pZ,boostLevel:u,marginSize:d,imageSettings:p}=n,f=oZ(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:m}=f,g=oZ(f,["style"]),v=null==p?void 0:p.src,b=h.useRef(null),y=h.useRef(null),w=h.useCallback((e=>{b.current=e,"function"==typeof t?t(e):t&&(t.current=e)}),[t]),[x,k]=h.useState(!1),{margin:S,cells:O,numCells:A,calculatedImageSettings:E}=mZ({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:d,imageSettings:p,size:o});h.useEffect((()=>{if(null!=b.current){const e=b.current,t=e.getContext("2d");if(!t)return;let n=O;const r=y.current,a=null!=E&&null!==r&&r.complete&&0!==r.naturalHeight&&0!==r.naturalWidth;a&&null!=E.excavation&&(n=hZ(O,E.excavation));const c=window.devicePixelRatio||1;e.height=e.width=o*c;const l=o/A*c;t.scale(l,l),t.fillStyle=i,t.fillRect(0,0,A,A),t.fillStyle=s,gZ?t.fill(new Path2D(fZ(n,S))):O.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+S,n+S,1,1)}))})),E&&(t.globalAlpha=E.opacity),a&&t.drawImage(r,E.x+S,E.y+S,E.w,E.h)}})),h.useEffect((()=>{k(!1)}),[v]);const P=rZ({height:o,width:o},m);let C=null;return null!=v&&(C=h.createElement("img",{src:v,key:v,style:{display:"none"},onLoad:()=>{k(!0)},ref:y,crossOrigin:null==E?void 0:E.crossOrigin})),h.createElement(h.Fragment,null,h.createElement("canvas",rZ({style:P,height:o,width:o,ref:w,role:"img"},g)),C)}));vZ.displayName="QRCodeCanvas";var bZ=h.forwardRef((function(e,t){const n=e,{value:r,size:o=sZ,level:a=cZ,bgColor:i=lZ,fgColor:s=uZ,includeMargin:c=dZ,minVersion:l=pZ,boostLevel:u,title:d,marginSize:p,imageSettings:f}=n,m=oZ(n,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:g,cells:v,numCells:b,calculatedImageSettings:y}=mZ({value:r,level:a,minVersion:l,boostLevel:u,includeMargin:c,marginSize:p,imageSettings:f,size:o});let w=v,x=null;null!=f&&null!=y&&(null!=y.excavation&&(w=hZ(v,y.excavation)),x=h.createElement("image",{href:f.src,height:y.h,width:y.w,x:y.x+g,y:y.y+g,preserveAspectRatio:"none",opacity:y.opacity,crossOrigin:y.crossOrigin}));const k=fZ(w,g);return h.createElement("svg",rZ({height:o,width:o,viewBox:`0 0 ${b} ${b}`,ref:t,role:"img"},m),!!d&&h.createElement("title",null,d),h.createElement("path",{fill:i,d:`M0,0 h${b}v${b}H0z`,shapeRendering:"crispEdges"}),h.createElement("path",{fill:s,d:k,shapeRendering:"crispEdges"}),x)}));bZ.displayName="QRCodeSVG";const yZ=function(e){var t=e.value;return(0,_e.jsx)(bZ,{value:t})};var wZ,xZ,kZ,SZ,OZ,AZ,EZ=Ae.Ay.div.withConfig({displayName:"StyledQRCodeWrapper"})(wZ||(wZ=(0,Oe.A)(["\n display: flex;\n justify-content: center;\n margin: "," "," "," ",";\n"])),Ce.A.space(1.2),Ce.A.space(1),Ce.A.space(1.5),Ce.A.space(1)),PZ=Ae.Ay.div.withConfig({displayName:"StyledParagraph"})(xZ||(xZ=(0,Oe.A)(["\n display: flex;\n justify-content: center;\n margin-top: ",";\n margin-bottom: ",";\n"])),Ce.A.space(-1),Ce.A.space(-.9));const CZ=function(e){var t=e.secret,n=e.goToSecretVerification;return EP(n),(0,_e.jsxs)(_e.Fragment,{children:[kZ||(kZ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.qrCodeInfo"})})),(0,_e.jsx)(EZ,{children:(0,_e.jsx)(yZ,{value:t.uri})}),SZ||(SZ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.secretInfo"})})),(0,_e.jsx)(PZ,{children:(0,_e.jsx)(Ku,{children:t.secret})}),OZ||(OZ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.backupInfo"})})),(0,_e.jsx)(YX,{children:(0,_e.jsx)(iy,{ink:"primary",look:"raised",onClick:n,children:AZ||(AZ=(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.nextButton"}))})})]})};const jZ=fe((function(e){return{secret:e.twoFactorConnector.secret}}),{goToSecretVerification:function(){return{type:TX}}})(CZ);var _Z;const DZ=function(e){var t=e.twoFactorActive,n=e.forced,r=e.requestSecret;EP(r);var o=(0,Se.tz)(),a=function(e){return o.formatMessage({id:e})};return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)(Zu,{children:function(){if(t)return _Z||(_Z=(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.overwriteInfo"}));var e=a(n?"client.two-factor-connector.forcedInfo":"client.two-factor-connector.info");return(0,_e.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})}()}),(0,_e.jsx)(YX,{children:(0,_e.jsx)(iy,{label:a("client.two-factor-connector.nextButton"),ink:"primary",look:"raised",onClick:r})})]})};const TZ=fe((function(e){return{twoFactorActive:e.twoFactorConnector.twoFactorActive,secret:e.twoFactorConnector.secret,forced:e.input.forced}}),{initialize:HX,requestSecret:function(){return{type:DX}}})(DZ);var MZ,NZ,IZ=Ae.Ay.div.withConfig({displayName:"StyledLoginFormInputWrapper"})(MZ||(MZ=(0,Oe.A)(["\n && {\n ","\n }\n"])),QN);const RZ=function(e){var t=e.verifyCode,n=(0,Se.tz)(),r=function(e){return n.formatMessage({id:e})},o=(0,h.useState)(null),a=(0,Xn.A)(o,2),i=a[0],s=a[1],c=i&&i.toString().length>=6,l=function(e){e&&(e.preventDefault(),e.stopPropagation()),c&&t(i)};EP(l);var u=Dr.A.isInAdminEmbedded();return(0,_e.jsxs)(_e.Fragment,{children:[NZ||(NZ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.two-factor-connector.verificationText"})})),(0,_e.jsxs)("form",{onSubmit:l,children:[(0,_e.jsx)(FN,{hasValue:Boolean(i),id:"verification-input",label:r("client.two-factor-connector.verificationInputLabel"),labelPosition:u?"inside":"outside",children:(0,_e.jsx)(IZ,{children:(0,_e.jsx)(XK,{type:"integer",value:i,events:{onChange:s},options:{format:"### ###",allowLeadingZeros:!0}})})}),(0,_e.jsx)(YX,{children:(0,_e.jsx)(iy,{label:r("client.two-factor-connector.okButton"),ink:"primary",look:"raised",type:"submit",disabled:!c})})]})]})};const LZ=fe((function(e,t){return{}}),{verifyCode:function(e){return{type:IX,payload:{userCode:e}}}})(RZ);var FZ,HZ,zZ,BZ,WZ,UZ,VZ=0,YZ=1,qZ=2,$Z=3;const GZ=function(e){var t=e.initialize,n=e.stage;(0,h.useEffect)((function(){t()}),[t]);return(0,_e.jsxs)(_e.Fragment,{children:[UZ||(UZ=(0,_e.jsx)(WC.Notifications,{})),function(){switch(n){case VZ:return FZ||(FZ=(0,_e.jsx)(TZ,{}));case YZ:return HZ||(HZ=(0,_e.jsx)(jZ,{}));case qZ:return zZ||(zZ=(0,_e.jsx)(LZ,{}));case $Z:return BZ||(BZ=(0,_e.jsx)(QX,{}));default:return WZ||(WZ=(0,_e.jsx)(Ej,{}))}}()]})};const KZ=fe((function(e){return{stage:e.twoFactorConnector.stage}}),{initialize:HX})(GZ);function QZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?QZ(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ZZ=function(e){return function(t){return XZ(XZ({},t),{},{stage:e})}},JZ=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},CX,rt("twoFactorActive")),jX,rt("secret")),_X,rt("username")),LX,rt("setupSuccessful")),MX,ZZ(0)),NX,ZZ(1)),TX,ZZ(2)),FX,ZZ(3)),eJ={stage:null,twoFactorActive:null,secret:null,username:null,setupSuccessful:null};var tJ=s().mark(hJ),nJ=s().mark(gJ),rJ=s().mark(vJ),oJ=s().mark(yJ),aJ=s().mark(wJ),iJ=s().mark(xJ),sJ=s().mark(kJ),cJ=s().mark(SJ),lJ=s().mark(OJ),uJ="relTwo_step_login_status",dJ=function(e){return e.twoFactorConnector.username},pJ=function(e){return e.twoFactorConnector.secret},fJ=function(e){return e.input};function hJ(){var e,t,n,r,o,a;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=1,_n(fJ);case 1:if(e=i.sent,e.secret){i.next=4;break}return i.next=2,_n(dJ);case 2:return t=i.sent,i.next=3,Cn(da,"principals/".concat(t,"/two-factor"),{method:"GET"});case 3:return n=i.sent,r=n.body,o=r.secret,a=r.totpUri,i.next=4,An(BX({secret:o,uri:a}));case 4:return i.next=5,An({type:NX});case 5:case"end":return i.stop()}}),tJ)}function mJ(e,t){return Tr.A.executeRequest(e,t).then(Tr.A.extractBody)}function gJ(e,t,n,r){var o,a;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return o={secret:e,userCode:t,username:n,password:r},i.next=1,Cn(mJ,"login",{method:"POST",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}),body:Object.keys(o).filter((function(e){return!!o[e]})).sort((function(e,t){return e.localeCompare(t)})).map((function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(o[e]))})).join("&")});case 1:return a=i.sent,i.next=2,An(VX(Jn()(a,"TWOSTEPLOGIN_ACTIVATION.success",!1)));case 2:case"end":return i.stop()}}),nJ)}function vJ(e,t,n){var r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=1,Cn(da,"principals/".concat(e,"/two-factor"),{method:"POST",body:{secret:t,code:n},acceptedStatusCodes:[400]});case 1:return r=o.sent,o.next=2,An(VX(204===r.status));case 2:case"end":return o.stop()}}),rJ)}function bJ(e){var t=e.payload.userCode;return s().mark((function e(){var n,r,o,a,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,_n(dJ);case 1:return n=e.sent,e.next=2,_n(pJ);case 2:return r=e.sent,o=r.secret,e.next=3,_n(fJ);case 3:if(a=e.sent,i=a.password,!a.forced){e.next=5;break}return e.next=4,Cn(gJ,o,t,n,i);case 4:e.next=6;break;case 5:return e.next=6,Cn(vJ,n,o,t);case 6:return e.next=7,An({type:FX});case 7:case"end":return e.stop()}}),e)}))()}function yJ(){var e,t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,Cn(xJ);case 1:return n.next=2,_n(fJ);case 2:if(e=n.sent,!(t=e.secret)){n.next=3;break}return n.next=3,An(BX(t));case 3:return n.next=4,An(UX());case 4:case"end":return n.stop()}}),oJ)}function wJ(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(TT("onSuccess"));case 1:case"end":return e.stop()}}),aJ)}function xJ(){var e,t,n,r,o;return s().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=1,Cn(kJ);case 1:return e=a.sent,a.next=2,An(WX(e));case 2:return t='username === "'.concat(e,'"'),a.next=3,Cn(ha,"Principal",{where:t,paths:[uJ]});case 3:if(!((n=a.sent).length>1)){a.next=4;break}throw new Error("More than one user found for username ".concat(e));case 4:return r=Jn()(n,"[0].paths.".concat(uJ,".value.key")),o="1"===r,a.next=5,An(zX(o));case 5:case"end":return a.stop()}}),iJ)}function kJ(){var e,t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=1,_n(fJ);case 1:if(e=r.sent,!(t=e.username)){r.next=2;break}return r.abrupt("return",t);case 2:return r.next=3,Cn(da,"principals");case 3:return n=r.sent,r.abrupt("return",n.body.username);case 4:case"end":return r.stop()}}),sJ)}function SJ(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(TT("onResize"));case 1:case"end":return e.stop()}}),cJ)}function OJ(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(DX,hJ),Hn(IX,bJ),Hn(PX,yJ),Hn(RX,wJ),Hn(MX,SJ),Hn(NX,SJ),Hn(TX,SJ),Hn(FX,SJ)]);case 1:case"end":return e.stop()}}),lJ)}const AJ={twoFactorConnector:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eJ,t=arguments.length>1?arguments[1]:void 0,n=JZ[t.type];return n?n(e,t):e}};var EJ,PJ=[OJ];function CJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CJ(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CJ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _J="two-factor-connector",DJ=function(e,t,n,r){var o=EJ||(EJ=(0,_e.jsx)(KZ,{})),a=vT.createStore(AJ,PJ,t,_J);return WC.addToStore(a,!0),aj(a,!0,["console","remote","notification"]),NT(a,(function(e){return vT.getEvents(TJ,e.input)})),vT.createApp(_J,o,a,{input:t,events:n,actions:[],publicPath:r,textResourceModules:["component","common",_J]})},TJ=["onSuccess","onCancel","onResize"],MJ=function(e){return vT.useApp({initApp:DJ,props:e,packageName:_J,externalEvents:TJ}).component};MJ.propTypes=jJ(jJ({},TJ.reduce((function(e,t){return jJ(jJ({},e),{},(0,ve.A)({},t,ya().func))}),{})),{},{username:ya().string,password:ya().string,secret:ya().shape({secret:ya().string.isRequired,uri:ya().string.isRequired}),forced:ya().bool});const NJ=MJ;var IJ;vT.createBundleableApp(_J,DJ,MJ);const RJ=function(e){var t=e.locale,n=e.username,r=e.password,o=e.secret,a=e.showTitle,i=e.changePage;return(0,_e.jsxs)("div",{children:[a&&(IJ||(IJ=(0,_e.jsx)(sQ,{title:"client.login.form.title"}))),(0,_e.jsx)(NJ,{locale:t,username:n,password:r,secret:o,forced:!0,onSuccess:function(){i(WT)}})]})};const LJ=fe((function(e){return{username:e.login.username,password:e.login.password,secret:e.twoStepLogin.secret,locale:e.app.locale}}),{changePage:JT})(RJ);var FJ,HJ,zJ,BJ=Ae.Ay.div.withConfig({displayName:"StyledTwoStepLogin"})(FJ||(FJ=(0,Oe.A)(["\n "," {\n width: 100%;\n }\n\n "," {\n ","\n padding-top: .7rem;\n padding-bottom: 0.7rem;\n }\n"])),ry,tI,ZN);const WJ=function(e){var t=e.username,n=e.password,r=e.showTitle,o=e.loginPending,a=e.login,i=(0,h.useState)(null),s=(0,Xn.A)(i,2),c=s[0],l=s[1],u=(0,h.useRef)();(0,h.useLayoutEffect)((function(){u.current.querySelector("input").focus()}),[]);var d=(0,Se.tz)(),p=function(e){return d.formatMessage({id:e})};return(0,_e.jsxs)(BJ,{children:[r&&(HJ||(HJ=(0,_e.jsx)(sQ,{title:"client.login.form.title"}))),(0,_e.jsxs)("form",{onSubmit:function(e){e.preventDefault(),a(t,n,null,c)},ref:u,children:[zJ||(zJ=(0,_e.jsx)(Zu,{children:(0,_e.jsx)(Se.sA,{id:"client.login.twoStepLogin.introduction"})})),(0,_e.jsx)(FN,{hasValue:!!c,id:"twoFactorCode-label",label:p("client.login.twoStepLogin.codePlaceholder"),labelPosition:"outside",children:(0,_e.jsx)(yQ,{children:(0,_e.jsx)(XK,{type:"integer",value:c,events:{onChange:l},options:{format:"### ###",allowLeadingZeros:!0}})})}),(0,_e.jsx)(aQ,{disabled:!c||c.toString().length<6||o,label:p("client.login.form.button"),pending:o})]})]})};const UJ=fe((function(e){return{username:e.login.username,password:e.login.password,loginPending:e.loginForm.loginPending}}),{login:zT})(WJ);var VJ;function YJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YJ(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YJ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const $J=function(e){var t=e.checkUsername,n=e.loginPending,r=e.message,o=e.setUsername,i=e.showTitle,c=e.username,l=cQ(o),u=(0,Xn.A)(l,2),d=u[0],p=u[1],f=(0,Se.tz)(),m=function(e){return f.formatMessage({id:e})},g=(0,h.useCallback)(function(){var e=a(s().mark((function e(n){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n&&n.preventDefault(),t(c);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[t,c]);return(0,_e.jsxs)(xQ,{children:[i&&(VJ||(VJ=(0,_e.jsx)(sQ,{title:"client.login.form.title",subtitle:"client.login.form.introduction"}))),(0,_e.jsxs)("form",{onSubmit:g,children:[(0,_e.jsx)(FN,{hasValue:!!c||d,id:"login-username",label:m("client.login.form.userEmailPlaceholder"),labelPosition:"outside",children:(0,_e.jsx)(yQ,{children:(0,_e.jsx)(bQ,qJ({autoFocus:!0,name:"user",required:!0,type:"text",value:c,onFocus:function(e){return e.target.select()}},p))})}),(0,_e.jsx)(JK,{message:r}),(0,_e.jsx)(aQ,{disabled:!d&&(n||""===c),label:m("client.login.form.next"),pending:n})]})]})};const GJ=fe((function(e){return{username:e.login.username,message:e.loginForm.message,loginPending:e.loginForm.loginPending}}),{setUsername:eM,checkUsername:function(e){return{type:HT,payload:{username:e}}}})($J);var KJ,QJ,XJ,ZJ=(0,Ae.DU)(KJ||(KJ=(0,Oe.A)(["\n .grecaptcha-badge {\n z-index: 9999999;\n opacity: .8;\n }\n"])));const JJ=function(e){var t,n,r,o,a,i=e.initialize,s=e.showTitle,c=e.currentPage;return(0,h.useEffect)((function(){i()}),[i]),(0,_e.jsxs)(_e.Fragment,{children:[QJ||(QJ=(0,_e.jsx)(ZJ,{})),function(){switch(c){case YT:return t||(t=(0,_e.jsx)(wX,{showTitle:s}));case UT:return n||(n=(0,_e.jsx)(jQ,{showTitle:s}));case VT:return r||(r=(0,_e.jsx)(UJ,{showTitle:s}));case qT:return XJ||(XJ=(0,_e.jsx)(LJ,{}));case BT:return o||(o=(0,_e.jsx)(GJ,{showTitle:s}));default:return a||(a=(0,_e.jsx)(AQ,{showTitle:s}))}}()]})};const e0=fe((function(e,t){return{currentPage:t.currentPage||e.login.currentPage,showTitle:t.showTitle}}),{initialize:function(){return{type:RT}}})(JJ);var t0=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},GT,rt("entryPage")),$T,rt("currentPage")),KT,rt("username")),QT,rt("password")),XT,rt("captchaKey")),n0={entryPage:void 0,currentPage:void 0,username:"",password:"",captchaKey:null};const r0=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n0,t=arguments.length>1?arguments[1]:void 0,n=t0[t.type];return n?n(e,t):e};var o0="loginForm/SET_MESSAGE",a0="loginForm/CLEAR_MESSAGE",i0="loginForm/SET_PENDING",s0="loginForm/ACTIVATE_RECAPTCHA",c0=function(e){return{type:o0,payload:{text:e,negative:arguments.length>1&&void 0!==arguments[1]&&arguments[1]}}},l0=function(){return{type:a0}},u0=function(){return{type:i0,payload:{pending:arguments.length>0&&void 0!==arguments[0]&&arguments[0]}}};function d0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d0(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d0(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f0=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},o0,(function(e,t){var n=t.payload,r=n.text,o=n.negative;return p0(p0({},e),{},{message:{text:r,negative:o}})})),a0,(function(e){return p0(p0({},e),{},{message:{}})})),i0,(function(e,t){var n=t.payload;return p0(p0({},e),{},{loginPending:n.pending})})),s0,(function(e){return p0(p0({},e),{},{recaptchaActivated:!0})})),h0={message:{},loginPending:!1,recaptchaActivated:!1};const m0=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h0,t=arguments.length>1?arguments[1]:void 0,n=f0[t.type];return n?n(e,t):e};function g0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g0(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g0(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b0={showOldPasswordField:!0,showOldPasswordValidationRule:!0,forcedUpdate:!1,standalone:!0,usernameOrPk:"",needsCaptcha:!1},y0=function(e){return function(t,n){var r=n.payload[e];return v0(v0({},t),{},(0,ve.A)({},e,r))}},w0=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},DQ,y0("showOldPasswordField")),TQ,y0("showOldPasswordValidationRule")),NQ,y0("forcedUpdate")),MQ,y0("standalone")),IQ,y0("usernameOrPk")),FQ,y0("needsCaptcha"));const x0=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b0,t=arguments.length>1?arguments[1]:void 0,n=w0[t.type];return n?n(e,t):e};var k0=s().mark(E0),S0=s().mark(P0),O0=s().mark(C0),A0=function(e){return e.passwordUpdate.dialog.usernameOrPk};function E0(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(RQ,P0),Hn(LQ,C0)]);case 1:case"end":return e.stop()}}),k0)}function P0(){var e,t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e={acceptedStatusCodes:[403]},r.next=1,Cn(da,"principals",e);case 1:if(403!==(t=r.sent).status){r.next=2;break}d.A.logError('input "username" on password-update is mandatory if no user is logged in'),r.next=3;break;case 2:return n=t.body.username,r.next=3,An(BQ(n));case 3:case"end":return r.stop()}}),S0)}function C0(){var e,t,n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=1,Cn(BD,"username");case 1:if(e=o.sent,"anonymous"!==e.username){o.next=3;break}return o.next=2,An(WQ(!0));case 2:o.next=6;break;case 3:return o.next=4,_n(A0);case 4:return t=o.sent,n=Number.isNaN(Number.parseInt(t))?'username == "'.concat(t,'"'):"pk == ".concat(Number.parseInt(t)),o.next=5,Cn(ma,"Principal",{where:"username == :currentUsername\n and (\n ".concat(n,'\n or not exists(relLogin_role.relRole where unique_id == "usermanager")\n )')});case 5:return r=o.sent,o.next=6,An(WQ(1===r));case 6:case"end":return o.stop()}}),O0)}function j0(e){return 0===Object.keys(e).length&&e.constructor===Object}function _0(e){var t={};return e.forEach((function(e){t[e.ruleName]=e.message})),t}function D0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D0(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D0(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M0={oldPassword:"",newPassword:"",newPasswordRepeat:"",newPasswordValidationErrors:null,passwordUpdatePending:!1,passwordUpdateFailed:!1,passwordUpdateErrorCode:null},N0=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},UQ,(function(e,t){var n=t.payload;return T0(T0({},e),{},{oldPassword:n.oldPassword})})),YQ,(function(e,t){var n=t.payload;return T0(T0({},e),{},{newPassword:n.newPassword})})),qQ,(function(e,t){var n=t.payload;return T0(T0({},e),{},{newPasswordValidationErrors:n.errors})})),$Q,(function(e,t){var n=t.payload;return T0(T0({},e),{},{newPasswordRepeat:n.newPasswordRepeat})})),GQ,(function(e){return T0(T0({},e),{},{passwordUpdatePending:!0,passwordUpdateFailed:!1})})),KQ,(function(e){return M0})),QQ,(function(e,t){var n=t.payload;if(n.validationMessages){var r=_0(n.validationMessages);return T0(T0({},e),{},{passwordUpdatePending:!1,newPasswordValidationErrors:r})}return T0(T0({},e),{},{passwordUpdatePending:!1,passwordUpdateFailed:!0,passwordUpdateErrorCode:n.errorCode})})),ZQ,(function(e,t){t.payload;return T0(T0({},e),{},{passwordUpdateFailed:!1})}));const I0=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M0,t=arguments.length>1?arguments[1]:void 0,n=N0[t.type];return n?n(e,t):e};var R0="password_update_success",L0="password_update_failed",F0=n(73916),H0=n.n(F0),z0=n(86663),B0=function(e){var t=z0.parse(e);return H0()(t,(function(e){return W0(e)?JSON.parse(e):e}))},W0=function(e){if("string"!=typeof e)return!1;try{var t=JSON.parse(e);return"[object Object]"===Object.prototype.toString.call(t)}catch(e){return!1}},U0=function(e){var t=window.location.origin,n=new URL(e,t).hostname;return V0(n)},V0=function(e){return e.split(".").slice(-2).join(".")};const Y0=function(){var e=B0(window.location.search)._redirect_url;if(e){var t=U0(e),n=V0(window.location.hostname);if(t===n)return e;d.A.logError("domain mismatch in the redirect_url query parameter. only the same second level domain is allowed! query domain ".concat(t,", window domain ").concat(n))}};var q0="login/SET_SECRET";function $0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$0(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$0(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K0=s().mark(m1),Q0=s().mark(g1),X0=s().mark(b1),Z0=s().mark(y1),J0=s().mark(w1),e1=s().mark(x1),t1=s().mark(k1),n1=s().mark(S1),r1=s().mark(O1),o1=s().mark(A1),a1=s().mark(E1),i1=s().mark(j1),s1=s().mark(_1),c1=s().mark(D1),l1=s().mark(T1),u1=s().mark(M1),d1=function(e){return e.login},p1=function(e){return e.input};function f1(e){var t=e.payload;return s().mark((function e(){var n,r,o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,_n(d1);case 1:return n=e.sent,r=n.entryPage,e.next=2,An(u0(!0));case 2:return e.next=3,Cn(da,"principals/".concat(t.username,"/password-reset"),{method:"POST"});case 3:return e.next=4,An(eM(t.username));case 4:return e.next=5,An(JT(WT));case 5:return o=r===BT?"client.login.from.passwordRequestedWithValidUsername":"client.login.from.passwordRequested",e.next=6,An(c0(o));case 6:return e.next=7,An(u0(!1));case 7:case"end":return e.stop()}}),e)}))()}function h1(e,t){return new Promise((function(n){Tr.A.executeRequest(e,t).then(Tr.A.extractBody).then((function(e){return n(e)})).catch((function(e){d.A.logError("Failed to execute request",e),n({success:!1})}))}))}function m1(e){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Cn(h1,"login",v1(e));case 1:return t.abrupt("return",t.sent);case 2:case"end":return t.stop()}}),K0)}function g1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,Cn(h1,"session",{method:"POST"});case 1:return e.abrupt("return",e.sent);case 2:case"end":return e.stop()}}),Q0)}function v1(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{method:"POST",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}),body:Object.keys(e).filter((function(t){return!!e[t]})).sort((function(e,t){return e.localeCompare(t)})).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")}}function b1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(JT(VT));case 1:case"end":return e.stop()}}),X0)}function y1(e){var t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e[qT],n.next=1,An({type:q0,payload:{secret:t}});case 1:return n.next=2,An(JT(qT));case 2:case"end":return n.stop()}}),Z0)}function w1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,_n(d1);case 1:return e=t.sent,t.next=2,An(JQ(e.password));case 2:return t.next=3,An(BQ(e.username));case 3:return t.next=4,An(zQ(!0));case 4:return t.next=5,An(JT(YT));case 5:case"end":return t.stop()}}),J0)}function x1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(c0("client.login.form.blocked",!0));case 1:case"end":return e.stop()}}),e1)}function k1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(c0("client.login.form.failed",!0));case 1:case"end":return e.stop()}}),t1)}function S1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(c0("client.login.form.invalidUsernameEmail",!0));case 1:case"end":return e.stop()}}),n1)}function O1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,A1();case 1:(e=t.sent)&&(window.location.href=e);case 2:case"end":return t.stop()}}),r1)}function A1(){var e,t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=Y0())){r.next=1;break}return r.abrupt("return",e);case 1:return r.next=2,_n(p1);case 2:return t=r.sent,n=t.redirectUrl,r.abrupt("return",n);case 3:case"end":return r.stop()}}),o1)}function E1(e){var t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,Cn(vT.reinitialiseCache);case 1:return n.next=2,An(tM(""));case 2:return t=e.timeout||30,n.next=3,An(TT("loginSuccess",{timeout:t}));case 3:case"end":return n.stop()}}),a1)}function P1(e){var t=e.payload;return s().mark((function e(){var n,r,o,a,i,c,l;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.username,e.next=1,An(l0());case 1:return e.next=2,An(u0(!0));case 2:return e.next=3,Cn(da,"client/username/check/".concat(n),{method:"GET"});case 3:return r=e.sent,o=r.body,a=o.existingUser,i=o.validEmail,e.next=4,_n(p1);case 4:if(c=e.sent,l=c.disableLoginForExistingUser,!a||!l){e.next=6;break}return e.next=5,An(c0("client.login.form.loginDisabledForExistingUser",!0));case 5:case 7:case 9:e.next=11;break;case 6:if(!a){e.next=8;break}return e.next=7,An(JT(WT));case 8:if(!i){e.next=10;break}return e.next=9,An(TT("register",{username:n}));case 10:return e.next=11,Cn(S1);case 11:return e.next=12,An(u0(!1));case 12:case"end":return e.stop()}}),e)}))()}function C1(e){var t=e.payload;return s().mark((function e(){var n,r,o,a,i,c;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.username,r=t.password,o=t.captchaToken,a=t.userCode,i=G0(G0({username:n,password:r},o&&{captchaToken:o}),a&&{userCode:a}),e.next=1,An(u0(!0));case 1:return e.next=2,Cn(m1,i);case 2:if(!(c=e.sent).success){e.next=5;break}return e.next=3,Cn(E1,c);case 3:return e.next=4,Cn(O1);case 4:e.next=18;break;case 5:return e.next=6,An(JT(WT));case 6:if(!c.CAPTCHA){e.next=8;break}return e.next=7,An({type:s0});case 7:case 9:case 11:case 13:case 15:e.next=17;break;case 8:if(!c.TWOSTEPLOGIN){e.next=10;break}return e.next=9,Cn(b1,c);case 10:if(!c.RESET_PASSWORD_REQUIRED){e.next=12;break}return e.next=11,Cn(w1);case 12:if(!c.LOGIN_BLOCKED){e.next=14;break}return e.next=13,Cn(x1);case 14:if(!c.TWOSTEPLOGIN_ACTIVATION){e.next=16;break}return e.next=15,Cn(y1,c);case 16:return e.next=17,Cn(k1);case 17:return e.next=18,An(u0(!1));case 18:case"end":return e.stop()}}),e)}))()}function j1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Cn(g1);case 1:if(!(e=t.sent).success){t.next=2;break}return t.next=2,Cn(E1,e);case 2:return t.abrupt("return",e.success);case 3:case"end":return t.stop()}}),i1)}function _1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Cn(ga);case 1:return e=t.sent,t.next=2,An((n=e.captchaKey,{type:XT,payload:{captchaKey:n}}));case 2:case"end":return t.stop()}var n}),s1)}function D1(){var e;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,Cn(j1);case 1:return e=t.sent,t.next=2,Cn(_1);case 2:if(!e){t.next=3;break}return t.next=3,Cn(O1);case 3:case"end":return t.stop()}}),c1)}function T1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(l0());case 1:case"end":return e.stop()}}),l1)}function M1(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn($T,T1),Hn(LT,C1),Hn(HT,P1),Hn(FT,f1),Hn(RT,D1)]);case 1:case"end":return e.stop()}}),u1)}var N1="PASSWORD_NOT_CHANGED";function I1(e,t,n,r){if("string"!=typeof e)return!1;var o=e.length-e.replace(t,"").length;return(null==n||o>=n)&&(null==r||o<=r)}var R1=(0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)((0,ve.A)({},N1,(function(e,t){return"string"==typeof e&&"string"==typeof t&&e!==t})),"LENGTH",(function(e,t,n){return"string"==typeof e&&(void 0===n.params.min||null===n.params.min||e.length>=n.params.min)&&(void 0===n.params.max||null===n.params.max||e.length<=n.params.max)})),"CHARACTER_INSUFFICIENT_LOWERCASE",(function(e,t,n){return I1(e,/[a-z]/g,n.params.min,n.params.max)})),"CHARACTER_INSUFFICIENT_UPPERCASE",(function(e,t,n){return I1(e,/[A-Z]/g,n.params.min,n.params.max)})),"CHARACTER_INSUFFICIENT_DIGIT",(function(e,t,n){return I1(e,/[0-9]/g,n.params.min,n.params.max)}));const L1=function(e,t,n){var r={};return n&&n.forEach((function(n){var o=R1[n.name];o&&(!0!==o(e,t,n)&&(r[n.name]=!0))})),r};var F1=s().mark(e2),H1=s().mark(t2),z1=s().mark(n2),B1=s().mark(r2),W1=s().mark(a2),U1=s().mark(i2),V1=s().mark(s2),Y1=s().mark(c2);function q1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q1(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q1(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var G1=function(e){return e.passwordUpdate.validationRules},K1=function(e){return e.input},Q1=function(e){return e.passwordUpdate.dialog.usernameOrPk},X1=function(e){return e.passwordUpdate.password},Z1=function(e){return e.passwordUpdate.dialog.standalone},J1=function(e){return e.app};function e2(e,t,n){var r,o,a;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r={method:"POST",acceptedStatusCodes:[400],body:$1($1({},t),{},{captchaToken:n})},i.prev=1,i.next=2,Cn(da,"principals/".concat(e,"/password-update"),r);case 2:return o=i.sent,i.abrupt("return",o.ok?{error:null}:{error:o.body});case 3:return i.prev=3,a=i.catch(1),i.abrupt("return",{error:{errorCode:"UNEXPECTED_ERROR",exception:a}});case 4:case"end":return i.stop()}}),F1,null,[[1,3]])}function t2(e,t){var n,r,o,a,i;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,_n(J1);case 1:return n=s.sent,r=n.locale,o={method:"POST",body:t,queryParams:{locale:r}},s.prev=2,s.next=3,Cn(da,"principals/".concat(e,"/password-validation"),o);case 3:return a=s.sent,s.abrupt("return",a.body);case 4:return s.prev=4,i=s.catch(2),s.abrupt("return",{valid:!0,exception:i});case 5:case"end":return s.stop()}}),H1,null,[[2,4]])}function n2(e){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,An((n=e.payload.newPassword,{type:YQ,payload:{newPassword:n}}));case 1:return t.next=2,An({type:XQ});case 2:case"end":return t.stop()}var n}),z1)}function r2(){var e,t,n,r,o,a,i;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,_n(G1);case 1:return e=s.sent,s.next=2,_n(X1);case 2:if(t=s.sent,j0(n=L1(t.newPassword,t.oldPassword,e))){s.next=4;break}return s.next=3,An(eX(n));case 3:case 8:s.next=10;break;case 4:return s.next=5,_n(Q1);case 5:return r=s.sent,s.next=6,Cn(a2);case 6:return o=s.sent,s.next=7,Cn(t2,r,o);case 7:if(!0!==(a=s.sent).valid){s.next=9;break}return s.next=8,An(eX({}));case 9:return i=_0(a.validationMessages),s.next=10,An(eX(i));case 10:case"end":return s.stop()}}),B1)}function o2(e){var t=e.payload.captchaToken;return s().mark((function e(){var n,r,o,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,_n(Q1);case 1:return n=e.sent,e.next=2,Cn(a2);case 2:return r=e.sent,e.next=3,Cn(e2,n,r,t);case 3:if(!(o=e.sent).error){e.next=8;break}if(!1!==o.error.valid){e.next=5;break}return e.next=4,An(tX(null,o.error.validationMessages));case 4:e.next=6;break;case 5:return e.next=6,An(tX(o.error.errorCode));case 6:return e.next=7,An(MT([L0]));case 7:e.next=16;break;case 8:return e.next=9,_n(Z1);case 9:if(!e.sent){e.next=11;break}return e.next=10,An(TT("success",{newPassword:r.newPassword}));case 10:e.next=14;break;case 11:return e.next=12,Cn(i2);case 12:return a=e.sent,e.next=13,An(tM(a.payload.password));case 13:return e.next=14,Cn(C1,a);case 14:return e.next=15,An({type:KQ});case 15:return e.next=16,An(MT([R0]));case 16:case"end":return e.stop()}}),e)}))()}function a2(){var e,t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,_n(K1);case 1:return e=n.sent,n.next=2,_n(X1);case 2:return t=n.sent,n.abrupt("return",{oldPassword:e.oldPassword?e.oldPassword:t.oldPassword,newPassword:t.newPassword});case 3:case"end":return n.stop()}}),W1)}function i2(){var e,t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=1,_n(X1);case 1:return e=n.sent,n.next=2,_n(Q1);case 2:return t=n.sent,n.abrupt("return",{payload:{username:t,password:e.newPasswordRepeat}});case 3:case"end":return n.stop()}}),U1)}function s2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An({type:ZQ});case 1:case"end":return e.stop()}}),V1)}function c2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(VQ,n2),Hn(XQ,r2),Hn(GQ,o2),Hn(VQ,s2),Hn(UQ,s2),Hn($Q,s2)]);case 1:case"end":return e.stop()}}),Y1)}var l2=s().mark(d2),u2=s().mark(p2);function d2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,An(TT("resize"));case 1:case"end":return e.stop()}}),l2)}function p2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(_Q,d2)]);case 1:case"end":return e.stop()}}),u2)}var f2=(0,ve.A)({},rX,(function(e,t){return t.payload.rules}));const h2=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=f2[t.type];return n?n(e,t):e};var m2=s().mark(x2),g2=s().mark(k2),v2=function(e){return e.passwordUpdate.dialog},b2=function(e){return e.app};function y2(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return s().mark((function n(){var r,o;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r="principals/".concat(e,"/password-rules"),n.next=1,Cn(da,r,{queryParams:{locale:t}});case 1:return o=n.sent,n.abrupt("return",o.body);case 2:case"end":return n.stop()}}),n)}))()}var w2=function(e,t){return t||e.name!==N1};function x2(){var e,t,n,r,o,a,i;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=1,_n(v2);case 1:return e=s.sent,t=e.usernameOrPk,n=e.showOldPasswordValidationRule,s.next=2,_n(b2);case 2:return r=s.sent,o=r.locale,s.next=3,Cn(y2,t,o);case 3:return a=s.sent,i=a.rules.filter((function(e){return w2(e,n)})),s.next=4,An({type:rX,payload:{rules:i}});case 4:case"end":return s.stop()}}),m2)}function k2(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,En([Hn(nX,x2)]);case 1:case"end":return e.stop()}}),g2)}const S2={dialog:x0,password:I0,validationRules:h2};var O2=[E0,p2,c2,k2],A2=(0,ve.A)({},q0,rt("secret")),E2={secret:null};const P2=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E2,t=arguments.length>1?arguments[1]:void 0,n=A2[t.type];return n?n(e,t):e},C2={login:r0,loginForm:m0,passwordUpdate:Xe(S2),twoStepLogin:P2};var j2=[M1].concat((0,it.A)(O2));function _2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var D2="login",T2=["loginSuccess","register","resize"],M2={username:BT,"password-request":UT,login:WT},N2=function(e,t,n,r,o){var a,i=M2[t.entryPage]||WT,s=[HQ(!1),(a=!1,{type:MQ,payload:{standalone:a}}),eM(t.username||""),ZT(i),JT(i)],c=!!t.showTitle,l=(0,_e.jsx)(e0,{showTitle:c}),u=vT.createStore(C2,j2,t,D2);return Dr.A.setInputEnvs(t),NT(u,(function(e){return vT.getEvents(T2,e.input)})),aj(u,!0,["console","remote"]),vT.createApp(D2,l,u,{input:t,actions:s,publicPath:r,textResourceModules:["login"],customTheme:o})},I2=function(e){return vT.useApp({initApp:N2,props:e,packageName:D2,externalEvents:T2}).component};I2.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_2(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_2(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({showTitle:ya().bool,locale:ya().string,entryPage:ya().oneOf(["username","login","password-request"]),username:ya().string,setLocale:ya().func,backendUrl:ya().string,redirectUrl:ya().string,disableLoginForExistingUser:ya().bool,appContext:IT.propTypes},T2.reduce((function(e,t){return e[t]=ya().func,e}),{}));const R2=function(e){var t=e.usernameOrPk,n=e.showTitle;return(0,_e.jsx)(Ej,{required:[t],children:(0,_e.jsx)(e0,{currentPage:"PASSWORD_UPDATE",showTitle:n})})};const L2=fe((function(e,t){return{usernameOrPk:e.passwordUpdate.dialog.usernameOrPk}}),{})(R2);function F2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F2(Object(n),!0).forEach((function(t){(0,ve.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F2(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z2="password-update",B2=["success","resize","onVisibilityStatusChange"],W2=function(e,t,n,r,o){var a,i=!!t.showTitle,s=!!t.forcedUpdate,c=(0,_e.jsx)(L2,{showTitle:i}),l=[zQ(s)];"string"!=typeof t.username||0===t.username.length?l.push({type:RQ}):l.push(BQ(t.username)),"boolean"==typeof t.showOldPasswordField&&l.push(HQ(t.showOldPasswordField)),"boolean"==typeof t.showOldPasswordValidationRule&&l.push((a=t.showOldPasswordValidationRule,{type:TQ,payload:{showOldPasswordValidationRule:a}}));var u=vT.createStore(C2,j2,t,z2);return Dr.A.setInputEnvs(t),NT(u,(function(e){return vT.getEvents(B2,e.input)})),aj(u,!0,["console","remote"]),vT.createApp(z2,c,u,{input:t,actions:l,publicPath:r,textResourceModules:["login"],customTheme:o})},U2=function(e){return vT.useApp({initApp:W2,props:e,packageName:z2,externalEvents:B2}).component};U2.propTypes=H2({username:ya().string,showTitle:ya().bool,showOldPasswordField:ya().bool,oldPassword:ya().string,backendUrl:ya().string,appContext:IT.propTypes},B2.reduce((function(e,t){return H2(H2({},e),{},(0,ve.A)({},t,ya().func))}),{}));var V2="login";var Y2=vT.createBundleableApp(V2,N2,I2);vT.createBundleableApp("password-update",W2,U2);vT.registerAppInRegistry(Y2.name,Y2.init)},28114(e,t,n){"use strict";n.d(t,{A:()=>r});const r={defaultTheme:{name:"default",colors:{paper:"#fff",primary:"#B22A31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textToasterCloseBtnHover:"#333",textPopover:"#fcfcfc",backgroundBody:"#e9ebf1",backgroundBreadcrumbs:"#e9ebf1",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#e6e6e6",backgroundUploadArea:"#f2f2f2",backgroundUploadOverlay:"#0000ff1a",backgroundConflict:"#f2f2f2",backgroundFixedElement:"#f2f2f2",backgroundPill:"#E9E9E9",backgroundPillHover:"#D7D7D7",backgroundBigNumbeEdit:"#f0f0f0",backgroundDataProtection:"#ededed",hoverInteractiveIcon:"#263e5b",loadingSpinner:"#000",breadcrumbsActive:"#b22a31",border:"#ccc",borderDashboard:"#E5E5E5",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{dangerDark:"#6d0000",danger:"#961b1b",dangerLight:"#e77c7c",infoDark:"#005383",info:"#027cc1",infoLight:"#78cdfe",successDark:"#005e04",success:"#337f37",successLight:"#91d395",warningDark:"#8f5300",warning:"#ec8a00",warningLight:"#ffd7a0",neutralDark:"#5B5B5B",neutral:"#BCBCBC",neutralLight:"#E9E9E9"},accent:{red:"#cb4b4e",redDark:"#AC383A",orange:"#E6A11F",orangeDark:"#C26802",green:"#168362",greenDark:"#246928",blue:"#3B77C6",blueDark:"#0066a0",grey:"#65718b",greyDark:"#515151",corporateRed:"#9E2124",corporateBlue:"#263E5B",corporateLightBlue:"#ADDFEC"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"24px",form:"6px",dashboard:"12px",modal:"16px",toaster:"12px",menu:"8px",small:"4px",medium:"8px",large:"12px"},space:{base:1.3,factor:2,outerPadding:"10px",actionBarPadding:"12px",breadcrumbsPadding:"11px",topBarMargin:"4px"},sizes:{listRowMinHeight:"32px",listHeaderHeight:"32px"},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1,diffViewer:{codeFoldGutterBackground:"#e6e6e6",codeFoldBackground:"#f2f2f2",gutterBackground:"#f2f2f2",diffViewerTitleBackground:"#fff",diffViewerTitleBorderColor:"#fff",emptyLineBackground:"#fcfcfc",addedBackground:"#cbffce",addedColor:"#24292e",removedBackground:"#ffbfbf",removedColor:"#24292e",wordAddedBackground:"#91d395",wordRemovedBackground:"#e77c7c",addedGutterBackground:"#91d395",removedGutterBackground:"#e77c7c"}},darkTheme:{name:"dark",colors:{paper:"#212330",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#6eafff",secondaryLight:"#82baff",secondaryLighter:"#9ECAFF",text:"#dfdfdf",textLight:"#bdbdbd",textLighter:"#818181",textDisabled:"#7a7a7a",textLabel:"#121212",textToaster:"#000",textToasterCloseBtnHover:"#333",textPopover:"#fff",backgroundBody:"#2C2F41",backgroundBreadcrumbs:"#2C2F41",backgroundPopover:"#757575",backgroundItemHover:"#444",backgroundItemSelected:"#565656",backgroundItemLastOpened:"#636363",backgroundTableEvenRow:"#2f2f2f",backgroundTableTiles:"#2f2f2f",backgroundScrollbar:"#444",backgroundScrollbarHover:"#666",backgroundPanelHeaderFooter:"#444",backgroundTypographyCode:"#444",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#6e6e6e",backgroundUploadArea:"#2d2d2d",backgroundUploadOverlay:"#0000ff1a",backgroundConflict:"#2d2d2d",backgroundFixedElement:"#2d2d2d",backgroundPill:"#383838",backgroundPillHover:"#545454",backgroundBigNumbeEdit:"#2a2d3b",backgroundDataProtection:"#2a2d3b",hoverInteractiveIcon:"#fff",loadingSpinner:"#cccccc",breadcrumbsActive:"#82baff",border:"#666",borderDashboard:"#303030",borderTable:"#666",borderLight:"#444",borderSelect:"#4fade5",signal:{dangerDark:"#6d0000",danger:"#d74444",dangerLight:"#f18888",infoDark:"#005383",info:"#4fade5",infoLight:"#9ce6ff",successDark:"#005e04",success:"#4DAC54",successLight:"#8ad88a",warningDark:"#8f5300",warning:"#ec8a00",warningLight:"#ffcc84",neutralDark:"#5B5B5B",neutral:"#BCBCBC",neutralLight:"#E9E9E9"},accent:{red:"#e16668",redDark:"#c9393b",orange:"#E6A11F",orangeDark:"#d47202",green:"#1eae83",greenDark:"#379f3d",blue:"#4F7BAD",blueDark:"#0091e4",grey:"#afb6c5",greyDark:"#8b8b8b",corporateRed:"#9E2124",corporateBlue:"#253e5b",corporateLightBlue:"#ADDFEC"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"24px",form:"6px",dashboard:"12px",modal:"16px",toaster:"8px",menu:"8px",small:"4px",medium:"8px",large:"12px"},space:{base:1.3,factor:2,outerPadding:"10px",actionBarPadding:"12px",breadcrumbsPadding:"11px",topBarMargin:"4px"},sizes:{listRowMinHeight:"32px",listHeaderHeight:"32px"},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"dracula",diffViewerDarkTheme:!0,diffViewer:{diffViewerBackground:"#212330",codeFoldGutterBackground:"#444",codeFoldBackground:"#2f2f2f",gutterBackground:"#2f2f2f",diffViewerTitleBackground:"#212330",diffViewerTitleBorderColor:"#212330",emptyLineBackground:"#2f2f2f",diffViewerColor:"#dfdfdf",addedBackground:"#217a28",addedColor:"#dfdfdf",removedBackground:"#b92e2e",removedColor:"#dfdfdf",wordAddedBackground:"#35913c",wordRemovedBackground:"#d74444",addedGutterBackground:"#35913c",removedGutterBackground:"#d74444"}}}},64116(e,t,n){"use strict";var r,o=n(64467),a=n(4883),i=n.n(a),s=n(74848);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=(0,a.lazy)((function(){return Promise.all([n.e(54310),n.e(72969),n.e(36916)]).then(n.bind(n,8264))}));const d=function(e){return(0,s.jsx)(a.Suspense,{fallback:r||(r=(0,s.jsx)(i().Fragment,{})),children:(0,s.jsx)(u,l({},e))})};n.d(t,["A",0,d])},93564(e,t,n){"use strict";n.d(t,{P:()=>u,i:()=>l});var r,o,a=n(57528),i=n(51510),s=n(57488),c=n(26166),l=i.Ay.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=(0,a.A)([""]))),u=i.Ay.span.withConfig({displayName:"StyledToccoIconsWrapper"})(o||(o=(0,a.A)(["\n margin-right: ",";\n display: flex;\n align-items: center;\n\n svg {\n height: ","rem;\n fill: ",";\n }\n"])),c.A.space(-.5),s.t7.fontSize("base"),s.t7.color("text"))},44905(e,t,n){"use strict";n.d(t,{A:()=>f});var r,o=n(64116),a=n(77271),i=n(57528),s=n(51510),c=n(85431),l=n(33090),u=n(47616);const d=s.Ay.a.withConfig({displayName:"StyledLink"})(r||(r=(0,i.A)(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,c.A)(),(function(e){return e.breakWords?(0,l.K)():(0,l.s)()}),u.A.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var p=n(74848);const f=function(e){var t=e.id,n=e.alt,r=e.breakWords,i=void 0===r||r,s=e.download,c=e.href,l=void 0===c?"#":c,u=e.neutral,f=e.onClick,h=e.rel,m=e.tabIndex,g=e.target,v=void 0===g?"_self":g,b=e.title,y=e.label,w=e.icon,x=e.children,k=e.useTitle,S=void 0===k||k,O=b||(i?void 0:y);return(0,p.jsxs)(d,{id:t,alt:n,breakWords:i,download:s,href:l,neutral:u,onClick:f,rel:h,tabIndex:m,target:v,title:S?O:void 0,children:[w&&(0,p.jsx)(o.A,{icon:w,position:a.A.position.PREPEND}),y||x]})}},46005(e,t,n){"use strict";n.d(t,{g:()=>s});var r=n(58156),o=n.n(r),a=n(26166),i=n(47616),s=function(e,t){var n="\n color: ".concat(i.A.color("text")(e),";\n font-family: ").concat(i.A.fontFamily("regular")(e),";\n font-size: ").concat(a.A.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(i.A.fontWeight("regular")(e),";\n line-height: ").concat(i.A.lineHeight("regular")(e),";\n\n a {\n color: ").concat(i.A.color("secondaryLight")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(o()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(o()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(i.A.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(a.A.font(5)(e),";}\n h2 {font-size: ").concat(a.A.font(4)(e),";}\n h3 {font-size: ").concat(a.A.font(3)(e),";}\n h4 {font-size: ").concat(a.A.font(2)(e),";}\n h5 {font-size: ").concat(a.A.font(1)(e),";}\n h6 {font-size: ").concat(a.A.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(i.A.fontWeight("bold")(e),";\n margin-top: ").concat(a.A.space(0)(e),";\n margin-bottom: ").concat(a.A.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(a.A.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(a.A.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},85431(e,t,n){"use strict";n.d(t,{A:()=>c});var r,o=n(57528),a=n(51510),i=n(26166),s=n(47616);const c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.AH)(r||(r=(0,o.A)(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||s.A.color("text"),e.fontFamily||s.A.fontFamily("regular"),e.fontSize||i.A.font(0),e.fontStyle||"normal",e.fontWeight||s.A.fontWeight("regular"),e.lineHeight||s.A.lineHeight("regular"))}},33090(e,t,n){"use strict";n.d(t,{K:()=>o,s:()=>r});var r=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},o=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"}},77271(e,t,n){"use strict";var r=n(5556),o=n.n(r),a={NONE:"none",SPIN:"spin"},i={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary",SUCCESS:"signal.success",WARNING:"signal.warning"},s={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},c={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},l={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},u=o().oneOf(Object.values(a)),d=o().oneOf(Object.values(i)),p=o().oneOf(Object.values(c)),f=o().oneOf(Object.values(l));const h={animation:a,animationPropTypes:u,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:i,inkPropTypes:d,layout:s,layoutPropTypes:o().oneOf(Object.values(s)),look:c,lookPropTypes:p,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return o().oneOf(Object.values(e))},position:l,positionPropTypes:f};n.d(t,["A",0,h])},57488(e,t,n){"use strict";n.d(t,{t7:()=>r});var r=n(47616).A},26166(e,t,n){"use strict";var r=n(36944),o=n.n(r),a=n(47616),i=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(o()(s(t,e,n),3)).concat(r)},s=function(e,t,n){return Math.pow(n,t)*e};const c={declareScale:i,exponentiate:s,font:function(e,t){return function(n){return i(e,a.A.fontSize("base")(n),a.A.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return i(e,a.A.space("base")(n),a.A.space("factor")(n),t)}}};n.d(t,["A",0,c])},47616(e,t,n){"use strict";var r=n(58156),o=n.n(r),a=n(28114),i=function(e){return 0===Object.keys(e).length?a.A:e};const s={color:function(e){return function(t){var n=t.theme;return o()(i(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(i(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(i(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(i(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(i(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return o()(i(n),"radii.".concat(e))}},sizes:function(e){return function(t){var n=t.theme;return o()(i(n),"sizes.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(i(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return o()(i(n),"specificProperties.".concat(e))}}};n.d(t,["A",0,s])},3388(e,t,n){"use strict";n.d(t,{FF:()=>o,Rm:()=>a,vV:()=>r});var r=function(){window.console&&(console.error||console.log).apply(void 0,arguments)},o=function(){window.console&&(console.warn||console.log).apply(void 0,arguments)},a=function(){var e;window.console&&(e=console).log.apply(e,arguments)}},19461(e,t,n){"use strict";var r=n(3388);const o={log:r.Rm,logError:r.vV,logWarning:r.FF};n.d(t,["A",0,o])},32224(e,t,n){"use strict";var r=n(19609);const o={millisecondsToDuration:r.ss,formatDuration:r.a3,getDateFnsLocale:r.Me,getLocalizedDateFormat:r.Rj,getLocalizedDateTimeFormat:r.ax,getLocalizedDateFormatWithoutPunctuation:r.zQ,getLocalizedDateTimeFormatWithoutPunctuation:r.yX,getTimeZone:r.O,useTwoDigitYear:r.EQ,setCurrentTime:r.hW,selectUnit:r.xb};n.d(t,["A",0,o])},19609(e,t,n){"use strict";n.d(t,{EQ:()=>x,Me:()=>g,O:()=>O,Rj:()=>v,a3:()=>m,ax:()=>b,hW:()=>k,ss:()=>h,xb:()=>S,yX:()=>w,zQ:()=>y});var r=n(40337),o=n(4155),a=n(14533),i=n(36374),s=n(74279),c=n(81007),l=n(86688),u=n(14501),d=n(75867),p=n(95494),f=n(98166),h=function(e){if(!e&&0!==e)return{hours:"",minutes:"",seconds:""};var t=(0,f.O5)(e/1e3%60,3);e-=Math.round(1e3*t);var n=parseInt(e/6e4%60);e-=1e3*n*60;var r=parseInt(e/36e5);return(n<0||r<0)&&(t=Math.abs(t)),r<0&&(n=Math.abs(n)),{hours:r,minutes:n,seconds:t}},m=function(e){var t=h(e),n=t.hours,r=t.minutes,o=t.seconds,a="".concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")),i="".concat(a,":").concat(o.toFixed(3).padStart(6,"0"));return o?i:a},g=function(e){switch(e){case"fr":return d.O;case"en":return u.c;case"it":return p.it;default:return l.de}},v=function(e){return g(e).formatLong.date({width:"short"})},b=function(e){return"".concat(v(e)," HH:mm")},y=function(e){return v(e).replace(/[/.]/g,"")},w=function(e){return"".concat(y(e)," HHmm")},x=function(e){return e.replace(/y+/,"yy")},k=function(e){var t=new Date,n=new Date(e);return n=(0,a.a)(n,(0,r.q)(t)),n=(0,s.g)(n,(0,o.O)(t)),n=(0,c.g)(n,0),n=(0,i.$)(n,0)},S=function(e){var t=864e5,n=e-(new Date).getTime();if(n>-864e5){var r=Math.round(n/1e3);return r>-60?{diffValue:r,unit:"second"}:r>-3600?{diffValue:Math.ceil(r/60),unit:"minute"}:{diffValue:Math.ceil(r/3600),unit:"hour"}}var o=Math.round(n/t);return o>-30?{diffValue:o,unit:"day"}:o>-365?{diffValue:Math.ceil(o/30),unit:"month"}:{diffValue:Math.ceil(o/365),unit:"year"}},O=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}},58169(e,t,n){"use strict";n.d(t,{r:()=>c});var r=n(64467),o=n(19461),a=n(694),i=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var c=function(e){var t=e.mapping;return t[(0,a.M7)()||a.w2.admin]||t[a.w2.admin]};const l=function(e){var t=e.mapping;e.propTypes;return function(e){var n=c({mapping:t});return n||o.A.logError("Unable to render embed component: No embed component defined."),(0,i.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}};n.d(t,["A",0,l])},694(e,t,n){"use strict";n.d(t,{KC:()=>p,K_:()=>m,M7:()=>f,Sk:()=>b,W2:()=>g,Wb:()=>c,Wi:()=>d,YI:()=>w,Zn:()=>l,f:()=>h,fG:()=>x,ne:()=>u,o6:()=>y,w2:()=>a,wE:()=>s,wP:()=>v,wU:()=>o});var r=n(19461),o="__n-u-l-l__",a={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},i={backendUrl:void 0,businessUnit:void 0,ruleProvider:void 0,embedType:a.admin,widgetConfigKey:void 0,widgetShowcase:void 0},s=function(){return i.backendUrl||""},c=function(e){i.backendUrl=e},l=function(){return i.businessUnit},u=function(e){i.businessUnit=e},d=function(){return i.ruleProvider},p=function(e){i.ruleProvider=e},f=function(){return i.embedType},h=function(){var e=f();return[a.admin,a.legacyAdmin].includes(e)},m=function(){var e=f();return[a.widget].includes(e)},g=function(e){var t=Object.values(a);t.includes(e)?i.embedType=e:r.A.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(t.join(", ")))},v=function(){return i.widgetConfigKey},b=function(e){i.widgetConfigKey=e},y=function(){return i.widgetShowcase},w=function(e){i.widgetShowcase=e},x=function(){return{backendUrl:i.backendUrl,businessUnit:i.businessUnit,ruleProvider:i.ruleProvider,appContext:{embedType:i.embedType,widgetConfigKey:i.widgetConfigKey,widgetShowcase:i.widgetShowcase}}}},8062(e,t,n){"use strict";n.d(t,{T:()=>o});var r=n(694),o=function(e){var t,n,o,a,i,s;(e.backendUrl&&(0,r.Wb)(e.backendUrl),e.businessUnit&&(0,r.ne)(e.businessUnit),e.ruleProvider&&(0,r.KC)(e.ruleProvider),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,r.W2)(null===(a=e.appContext)||void 0===a?void 0:a.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,r.Sk)(null===(i=e.appContext)||void 0===i?void 0:i.widgetConfigKey);null!==(o=e.appContext)&&void 0!==o&&o.widgetShowcase&&(0,r.YI)(null===(s=e.appContext)||void 0===s?void 0:s.widgetShowcase)}},80621(e,t,n){"use strict";var r=n(58169),o=n(694),a=n(8062);const i={EmbedType:o.w2,isInAdminEmbedded:o.f,isInWidgetEmbedded:o.K_,embedStrategyFactory:r.A,embedStrategy:r.r,getBackendUrl:o.wE,setBackendUrl:o.Wb,getBusinessUnit:o.Zn,getRuleProvider:o.Wi,setBusinessUnit:o.ne,setRuleProvider:o.KC,getEmbedType:o.M7,setEmbedType:o.W2,getWidgetConfigKey:o.wP,setWidgetConfigKey:o.Sk,getWidgetShowcase:o.o6,setWidgetShowcase:o.YI,asInputProps:o.fG,NULL_BUSINESS_UNIT:o.wU,setInputEnvs:a.T};n.d(t,["A",0,i])},98166(e,t,n){"use strict";n.d(t,{O5:()=>o,O9:()=>i,Yd:()=>r,lW:()=>a});var r=function(e){return e&&Array.isArray(e)?e.length>0?e[0]:[]:e},o=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},a=function(e){return navigator.clipboard?navigator.clipboard.writeText(e):Promise.reject(new Error("navigator.clipboard API not available"))},i=function(e){return null!=e}},84847(e,t,n){"use strict";const r={getOriginId:n(29272).A};n.d(t,["A",0,r])},29272(e,t,n){"use strict";var r=n(18562),o="_tocco_originId";const a=function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.A)());return sessionStorage.setItem(o,e),e};n.d(t,["A",0,a])},79253(e,t,n){"use strict";var r=n(46544);const o={prepareHeaders:r.qp,prepareUrl:r.Ne,executeRequest:r.Vc,extractBody:r.i9};n.d(t,["A",0,o])},46544(e,t,n){"use strict";n.d(t,{Ne:()=>p,Vc:()=>f,i9:()=>h,qp:()=>d});var r=n(64467),o=n(82284),a=n(32224),i=n(80621),s=n(84847);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={method:"GET",credentials:"include"},d=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===(0,o.A)(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",s.A.getOriginId()),!t.has("X-Business-Unit")&&i.A.getBusinessUnit()&&t.set("X-Business-Unit",i.A.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",i.A.isInAdminEmbedded()?"client":"widget"),i.A.getRuleProvider()&&t.set("X-Rule-Provider-Id",i.A.getRuleProvider()),t.has("X-Timezone")||t.set("X-Timezone",a.A.getTimeZone()),t},p=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)},f=function(e){var t=function(e){return l(l(l({},u),e),{},{headers:d(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=i.A.getBackendUrl(),r=p(n,e);return fetch(r,t)},h=function(e){return e.json()}},2063(e,t,n){"use strict";var r=n(31601),o=n.n(r),a=n(76314),i=n.n(a)()(o());i.push([e.id,'@charset "UTF-8";\n.react-datepicker__navigation-icon::before, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n border-color: #ccc;\n border-style: solid;\n border-width: 3px 3px 0 0;\n content: "";\n display: block;\n height: 9px;\n position: absolute;\n top: 6px;\n width: 9px;\n}\n.react-datepicker__sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n}\n\n.react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n}\n\n.react-datepicker {\n font-family: "Helvetica Neue", helvetica, arial, sans-serif;\n font-size: 0.8rem;\n background-color: #fff;\n color: #000;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n line-height: initial;\n}\n\n.react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n}\n.react-datepicker--time-only .react-datepicker__time,\n.react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.375em;\n border-bottom-right-radius: 0.375em;\n}\n\n.react-datepicker-popper {\n z-index: 1;\n line-height: 0;\n}\n.react-datepicker-popper .react-datepicker__triangle {\n stroke: #aeaeae;\n}\n.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n fill: #f0f0f0;\n color: #f0f0f0;\n}\n.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n fill: #fff;\n color: #fff;\n}\n.react-datepicker-popper--header-middle[data-placement^=bottom] .react-datepicker__triangle, .react-datepicker-popper--header-bottom[data-placement^=bottom] .react-datepicker__triangle {\n fill: #fff;\n color: #fff;\n}\n.react-datepicker-popper--header-bottom[data-placement^=top] .react-datepicker__triangle {\n fill: #f0f0f0;\n color: #f0f0f0;\n}\n\n.react-datepicker__header {\n text-align: center;\n background-color: #f0f0f0;\n border-bottom: 1px solid #aeaeae;\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n}\n.react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n}\n.react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n}\n.react-datepicker__header:not(.react-datepicker__header--has-time-select, .react-datepicker__header--middle, .react-datepicker__header--bottom) {\n border-top-right-radius: 0.3rem;\n}\n.react-datepicker__header--middle {\n border-top: 1px solid #aeaeae;\n border-radius: 0;\n margin-top: 4px;\n}\n.react-datepicker__header--bottom {\n border-bottom: none;\n border-top: 1px solid #aeaeae;\n border-radius: 0 0 0.3rem 0.3rem;\n}\n\n.react-datepicker__header-wrapper {\n position: relative;\n}\n.react-datepicker__header-wrapper .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 2px;\n}\n\n.react-datepicker__year-dropdown-container--select,\n.react-datepicker__month-dropdown-container--select,\n.react-datepicker__month-year-dropdown-container--select,\n.react-datepicker__year-dropdown-container--scroll,\n.react-datepicker__month-dropdown-container--scroll,\n.react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 15px;\n}\n\n.react-datepicker__month-select,\n.react-datepicker__year-select,\n.react-datepicker__month-year-select {\n background-color: transparent;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n color: inherit;\n cursor: pointer;\n font-family: inherit;\n font-size: inherit;\n margin-top: 5px;\n padding: 2px 5px;\n}\n.react-datepicker__month-select:focus-visible,\n.react-datepicker__year-select:focus-visible,\n.react-datepicker__month-year-select:focus-visible {\n outline: auto 1px;\n}\n\n.react-datepicker__current-month,\n.react-datepicker-time__header,\n.react-datepicker-year-header {\n margin-top: 0;\n color: #000;\n font-weight: bold;\n font-size: 0.944rem;\n}\n\nh2.react-datepicker__current-month {\n padding: 0;\n margin: 0;\n}\n\n.react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n}\n.react-datepicker__navigation--previous {\n left: 2px;\n}\n.react-datepicker__navigation--next {\n right: 2px;\n}\n.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n}\n.react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__navigation--years-previous {\n top: 4px;\n}\n.react-datepicker__navigation--years-upcoming {\n top: -4px;\n}\n.react-datepicker__navigation:hover *::before {\n border-color: rgb(165.75, 165.75, 165.75);\n}\n\n.react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n}\n.react-datepicker__navigation-icon--next {\n left: -2px;\n}\n.react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n}\n.react-datepicker__navigation-icon--previous {\n right: -2px;\n}\n.react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n}\n\n.react-datepicker__month-container {\n float: left;\n}\n\n.react-datepicker__year {\n margin: 0.5em;\n text-align: center;\n}\n.react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n}\n.react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 5em;\n margin: 2px;\n}\n\n.react-datepicker__month {\n margin: 0.5em;\n text-align: center;\n}\n.react-datepicker__month .react-datepicker__month-text,\n.react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 5em;\n margin: 2px;\n}\n\n.react-datepicker__input-time-container {\n clear: both;\n width: 100%;\n float: left;\n margin: 5px 0 10px 15px;\n text-align: left;\n}\n.react-datepicker__input-time-container .react-datepicker-time__caption {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container {\n display: inline-block;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n display: inline-block;\n margin-left: 10px;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n}\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n margin-left: 5px;\n display: inline-block;\n}\n\n.react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n}\n.react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.375em;\n position: absolute;\n right: -87px;\n top: 0;\n}\n.react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.375em;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.375em;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + 2.125em / 2);\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: #f0f0f0;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: #216ba5;\n color: white;\n font-weight: bold;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: #216ba5;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: #ccc;\n}\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n}\n\n.react-datepicker__week-number {\n color: #ccc;\n display: inline-block;\n width: 2.125em;\n line-height: 2.125em;\n text-align: center;\n margin: 0.208em;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n}\n.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__week-number--selected {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__week-number--selected:hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n\n.react-datepicker__day-names {\n text-align: center;\n white-space: nowrap;\n margin-bottom: -8px;\n}\n\n.react-datepicker__week {\n white-space: nowrap;\n}\n\n.react-datepicker__day-name,\n.react-datepicker__day,\n.react-datepicker__time-name {\n color: #000;\n display: inline-block;\n width: 2.125em;\n line-height: 2.125em;\n text-align: center;\n margin: 0.208em;\n}\n.react-datepicker__day-name--disabled,\n.react-datepicker__day--disabled,\n.react-datepicker__time-name--disabled {\n cursor: default;\n color: #ccc;\n}\n\n.react-datepicker__day,\n.react-datepicker__month-text,\n.react-datepicker__quarter-text,\n.react-datepicker__year-text {\n cursor: pointer;\n}\n.react-datepicker__day:not([aria-disabled=true]):hover,\n.react-datepicker__month-text:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text:not([aria-disabled=true]):hover,\n.react-datepicker__year-text:not([aria-disabled=true]):hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0;\n}\n.react-datepicker__day--today,\n.react-datepicker__month-text--today,\n.react-datepicker__quarter-text--today,\n.react-datepicker__year-text--today {\n font-weight: bold;\n}\n.react-datepicker__day--highlighted,\n.react-datepicker__month-text--highlighted,\n.react-datepicker__quarter-text--highlighted,\n.react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n}\n.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {\n background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);\n}\n.react-datepicker__day--highlighted-custom-1,\n.react-datepicker__month-text--highlighted-custom-1,\n.react-datepicker__quarter-text--highlighted-custom-1,\n.react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n}\n.react-datepicker__day--highlighted-custom-2,\n.react-datepicker__month-text--highlighted-custom-2,\n.react-datepicker__quarter-text--highlighted-custom-2,\n.react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n}\n.react-datepicker__day--holidays,\n.react-datepicker__month-text--holidays,\n.react-datepicker__quarter-text--holidays,\n.react-datepicker__year-text--holidays {\n position: relative;\n border-radius: 0.3rem;\n background-color: #ff6803;\n color: #fff;\n}\n.react-datepicker__day--holidays .overlay,\n.react-datepicker__month-text--holidays .overlay,\n.react-datepicker__quarter-text--holidays .overlay,\n.react-datepicker__year-text--holidays .overlay {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n.react-datepicker__day--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {\n background-color: rgb(207, 82.9642857143, 0);\n}\n.react-datepicker__day--holidays:hover .overlay,\n.react-datepicker__month-text--holidays:hover .overlay,\n.react-datepicker__quarter-text--holidays:hover .overlay,\n.react-datepicker__year-text--holidays:hover .overlay {\n visibility: visible;\n opacity: 1;\n}\n.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n.react-datepicker__month-text--selected,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--selected,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--selected,\n.react-datepicker__year-text--in-selecting-range,\n.react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff;\n}\n.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n}\n.react-datepicker__day--keyboard-selected,\n.react-datepicker__month-text--keyboard-selected,\n.react-datepicker__quarter-text--keyboard-selected,\n.react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: rgb(186.25, 217.0833333333, 241.25);\n color: rgb(0, 0, 0);\n}\n.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,\n.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {\n background-color: rgb(28.75, 93.2196969697, 143.75);\n color: #fff;\n}\n.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range),\n.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--in-range) {\n background-color: rgba(33, 107, 165, 0.5);\n}\n.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range),\n.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__year-text--in-selecting-range) {\n background-color: #f0f0f0;\n color: #000;\n}\n.react-datepicker__day--disabled,\n.react-datepicker__month-text--disabled,\n.react-datepicker__quarter-text--disabled,\n.react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n}\n.react-datepicker__day--disabled .overlay,\n.react-datepicker__month-text--disabled .overlay,\n.react-datepicker__quarter-text--disabled .overlay,\n.react-datepicker__year-text--disabled .overlay {\n position: absolute;\n bottom: 70%;\n left: 50%;\n transform: translateX(-50%);\n background-color: #333;\n color: #fff;\n padding: 4px;\n border-radius: 4px;\n white-space: nowrap;\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s, opacity 0.3s ease-in-out;\n}\n\n.react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n}\n.react-datepicker__input-container .react-datepicker__calendar-icon {\n position: absolute;\n padding: 0.625em;\n box-sizing: content-box;\n}\n\n.react-datepicker__view-calendar-icon input {\n padding: 6px 10px 5px 25px;\n}\n\n.react-datepicker__year-read-view,\n.react-datepicker__month-read-view,\n.react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n}\n.react-datepicker__year-read-view:hover,\n.react-datepicker__month-read-view:hover,\n.react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n}\n.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 0;\n}\n\n.react-datepicker__year-dropdown,\n.react-datepicker__month-dropdown,\n.react-datepicker__month-year-dropdown {\n background-color: #f0f0f0;\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n}\n.react-datepicker__year-dropdown:hover,\n.react-datepicker__month-dropdown:hover,\n.react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n}\n.react-datepicker__year-dropdown--scrollable,\n.react-datepicker__month-dropdown--scrollable,\n.react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n}\n\n.react-datepicker__year-option,\n.react-datepicker__month-option,\n.react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n.react-datepicker__year-option:first-of-type,\n.react-datepicker__month-option:first-of-type,\n.react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:last-of-type,\n.react-datepicker__month-option:last-of-type,\n.react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n}\n.react-datepicker__year-option:hover,\n.react-datepicker__month-option:hover,\n.react-datepicker__month-year-option:hover {\n background-color: #ccc;\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: rgb(178.5, 178.5, 178.5);\n}\n.react-datepicker__year-option--selected,\n.react-datepicker__month-option--selected,\n.react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n}\n\n.react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n}\n.react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: #216ba5;\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: "×";\n}\n.react-datepicker__close-icon--disabled {\n cursor: default;\n}\n.react-datepicker__close-icon--disabled::after {\n cursor: default;\n background-color: #ccc;\n}\n\n.react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n}\n\n.react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n}\n\n.react-datepicker__children-container {\n width: 17.25em;\n margin: 0.5em;\n padding-right: 0.25em;\n padding-left: 0.25em;\n height: auto;\n}\n\n.react-datepicker__aria-live {\n position: absolute;\n clip-path: circle(0);\n border: 0;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n width: 1px;\n white-space: nowrap;\n}\n\n.react-datepicker__calendar-icon {\n width: 1em;\n height: 1em;\n vertical-align: -0.125em;\n}\n\n.react-datepicker-popper-offset {\n margin-top: -0.7em;\n}\n',""]);const s=i;n.d(t,["A",0,s])},27752(e,t,n){"use strict";var r=n(31601),o=n.n(r),a=n(76314),i=n.n(a)()(o());i.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap);"]),i.push([e.id,"\n",""]);const s=i;n.d(t,["A",0,s])},76314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},31601(e){"use strict";e.exports=function(e){return e[1]}},30454(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=a(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var c=i[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},73055(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),a=0;a<r.length;a++){var i=r[a],s=e[i];(o?-1!==t.indexOf(i):t(i,s,e))&&(n[i]=s)}return n}},4146(e,t,n){"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<i.length;++g){var v=i[g];if(!(a[v]||r&&r[v]||m&&m[v]||s&&s[v])){var b=p(n,v);try{l(t,v,b)}catch(e){}}}}return t}},55580(e,t,n){var r=n(56110)(n(9325),"DataView");e.exports=r},21549(e,t,n){var r=n(22032),o=n(63862),a=n(66721),i=n(12749),s=n(35749);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},80079(e,t,n){var r=n(63702),o=n(70080),a=n(24739),i=n(48655),s=n(31175);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},68223(e,t,n){var r=n(56110)(n(9325),"Map");e.exports=r},53661(e,t,n){var r=n(63040),o=n(17670),a=n(90289),i=n(4509),s=n(72949);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,e.exports=c},32804(e,t,n){var r=n(56110)(n(9325),"Promise");e.exports=r},76545(e,t,n){var r=n(56110)(n(9325),"Set");e.exports=r},38859(e,t,n){var r=n(53661),o=n(31380),a=n(51459);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},37217(e,t,n){var r=n(80079),o=n(51420),a=n(90938),i=n(63605),s=n(29817),c=n(80945);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=a,l.prototype.get=i,l.prototype.has=s,l.prototype.set=c,e.exports=l},51873(e,t,n){var r=n(9325).Symbol;e.exports=r},37828(e,t,n){var r=n(9325).Uint8Array;e.exports=r},28303(e,t,n){var r=n(56110)(n(9325),"WeakMap");e.exports=r},91033(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},63945(e){e.exports=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}},83729(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},79770(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},15325(e,t,n){var r=n(96131);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},29905(e){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},70695(e,t,n){var r=n(78096),o=n(72428),a=n(56449),i=n(3656),s=n(30361),c=n(37167),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),d=!n&&!u&&i(e),p=!n&&!u&&!d&&c(e),f=n||u||d||p,h=f?r(e.length,String):[],m=h.length;for(var g in e)!t&&!l.call(e,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},34932(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},14528(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},40882(e){e.exports=function(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}},14248(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},87805(e,t,n){var r=n(43360),o=n(75288);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},16547(e,t,n){var r=n(43360),o=n(75288),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var i=e[t];a.call(e,t)&&o(i,n)&&(void 0!==n||t in e)||r(e,t,n)}},26025(e,t,n){var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},62429(e,t,n){var r=n(80909);e.exports=function(e,t,n,o){return r(e,(function(e,r,a){t(o,e,n(e),a)})),o}},74733(e,t,n){var r=n(21791),o=n(95950);e.exports=function(e,t){return e&&r(t,o(t),e)}},43838(e,t,n){var r=n(21791),o=n(37241);e.exports=function(e,t){return e&&r(t,o(t),e)}},43360(e,t,n){var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9999(e,t,n){var r=n(37217),o=n(83729),a=n(16547),i=n(74733),s=n(43838),c=n(93290),l=n(23007),u=n(92271),d=n(48948),p=n(50002),f=n(83349),h=n(5861),m=n(76189),g=n(77199),v=n(35529),b=n(56449),y=n(3656),w=n(87730),x=n(23805),k=n(38440),S=n(95950),O=n(37241),A="[object Arguments]",E="[object Function]",P="[object Object]",C={};C[A]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[P]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[E]=C["[object WeakMap]"]=!1,e.exports=function e(t,n,j,_,D,T){var M,N=1&n,I=2&n,R=4&n;if(j&&(M=D?j(t,_,D,T):j(t)),void 0!==M)return M;if(!x(t))return t;var L=b(t);if(L){if(M=m(t),!N)return l(t,M)}else{var F=h(t),H=F==E||"[object GeneratorFunction]"==F;if(y(t))return c(t,N);if(F==P||F==A||H&&!D){if(M=I||H?{}:v(t),!N)return I?d(t,s(M,t)):u(t,i(M,t))}else{if(!C[F])return D?t:{};M=g(t,F,N)}}T||(T=new r);var z=T.get(t);if(z)return z;T.set(t,M),k(t)?t.forEach((function(r){M.add(e(r,n,j,r,t,T))})):w(t)&&t.forEach((function(r,o){M.set(o,e(r,n,j,o,t,T))}));var B=L?void 0:(R?I?f:p:I?O:S)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),a(M,o,e(r,n,j,o,t,T))})),M}},39344(e,t,n){var r=n(23805),o=Object.create,a=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},83915(e,t,n){var r=n(38859),o=n(15325),a=n(29905),i=n(34932),s=n(27301),c=n(19219);e.exports=function(e,t,n,l){var u=-1,d=o,p=!0,f=e.length,h=[],m=t.length;if(!f)return h;n&&(t=i(t,s(n))),l?(d=a,p=!1):t.length>=200&&(d=c,p=!1,t=new r(t));e:for(;++u<f;){var g=e[u],v=null==n?g:n(g);if(g=l||0!==g?g:0,p&&v==v){for(var b=m;b--;)if(t[b]===v)continue e;h.push(g)}else d(t,v,l)||h.push(g)}return h}},80909(e,t,n){var r=n(30641),o=n(38329)(r);e.exports=o},2523(e){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},83120(e,t,n){var r=n(14528),o=n(45891);e.exports=function e(t,n,a,i,s){var c=-1,l=t.length;for(a||(a=o),s||(s=[]);++c<l;){var u=t[c];n>0&&a(u)?n>1?e(u,n-1,a,i,s):r(s,u):i||(s[s.length]=u)}return s}},86649(e,t,n){var r=n(83221)();e.exports=r},30641(e,t,n){var r=n(86649),o=n(95950);e.exports=function(e,t){return e&&r(e,t,o)}},47422(e,t,n){var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}},82199(e,t,n){var r=n(14528),o=n(56449);e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},72552(e,t,n){var r=n(51873),o=n(659),a=n(59350),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},28077(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},96131(e,t,n){var r=n(2523),o=n(85463),a=n(76959);e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},27534(e,t,n){var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},60270(e,t,n){var r=n(87068),o=n(40346);e.exports=function e(t,n,a,i,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,s))}},87068(e,t,n){var r=n(37217),o=n(25911),a=n(21986),i=n(50689),s=n(5861),c=n(56449),l=n(3656),u=n(37167),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var b=c(e),y=c(t),w=b?p:s(e),x=y?p:s(t),k=(w=w==d?f:w)==f,S=(x=x==d?f:x)==f,O=w==x;if(O&&l(e)){if(!l(t))return!1;b=!0,k=!1}if(O&&!k)return v||(v=new r),b||u(e)?o(e,t,n,m,g,v):a(e,t,w,n,m,g,v);if(!(1&n)){var A=k&&h.call(e,"__wrapped__"),E=S&&h.call(t,"__wrapped__");if(A||E){var P=A?e.value():e,C=E?t.value():t;return v||(v=new r),g(P,C,n,m,v)}}return!!O&&(v||(v=new r),i(e,t,n,m,g,v))}},29172(e,t,n){var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},41799(e,t,n){var r=n(37217),o=n(60270);e.exports=function(e,t,n,a){var i=n.length,s=i,c=!a;if(null==e)return!s;for(e=Object(e);i--;){var l=n[i];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<s;){var u=(l=n[i])[0],d=e[u],p=l[1];if(c&&l[2]){if(void 0===d&&!(u in e))return!1}else{var f=new r;if(a)var h=a(d,p,u,e,t,f);if(!(void 0===h?o(p,d,3,a,f):h))return!1}}return!0}},85463(e){e.exports=function(e){return e!=e}},45083(e,t,n){var r=n(1882),o=n(87296),a=n(23805),i=n(47473),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,d=l.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?p:s).test(i(e))}},16038(e,t,n){var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},4901(e,t,n){var r=n(72552),o=n(30294),a=n(40346),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[r(e)]}},15389(e,t,n){var r=n(93663),o=n(87978),a=n(83488),i=n(56449),s=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):s(e)}},88984(e,t,n){var r=n(55527),o=n(3650),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903(e,t,n){var r=n(23805),o=n(55527),a=n(90181),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&n.push(s);return n}},93663(e,t,n){var r=n(41799),o=n(10776),a=n(67197);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},87978(e,t,n){var r=n(60270),o=n(58156),a=n(80631),i=n(28586),s=n(30756),c=n(67197),l=n(77797);e.exports=function(e,t){return i(e)&&s(t)?c(l(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},85250(e,t,n){var r=n(37217),o=n(87805),a=n(86649),i=n(42824),s=n(23805),c=n(37241),l=n(14974);e.exports=function e(t,n,u,d,p){t!==n&&a(n,(function(a,c){if(p||(p=new r),s(a))i(t,n,c,u,e,d,p);else{var f=d?d(l(t,c),a,c+"",t,n,p):void 0;void 0===f&&(f=a),o(t,c,f)}}),c)}},42824(e,t,n){var r=n(87805),o=n(93290),a=n(71961),i=n(23007),s=n(35529),c=n(72428),l=n(56449),u=n(83693),d=n(3656),p=n(1882),f=n(23805),h=n(11331),m=n(37167),g=n(14974),v=n(69884);e.exports=function(e,t,n,b,y,w,x){var k=g(e,n),S=g(t,n),O=x.get(S);if(O)r(e,n,O);else{var A=w?w(k,S,n+"",e,t,x):void 0,E=void 0===A;if(E){var P=l(S),C=!P&&d(S),j=!P&&!C&&m(S);A=S,P||C||j?l(k)?A=k:u(k)?A=i(k):C?(E=!1,A=o(S,!0)):j?(E=!1,A=a(S,!0)):A=[]:h(S)||c(S)?(A=k,c(k)?A=v(k):f(k)&&!p(k)||(A=s(S))):E=!1}E&&(x.set(S,A),y(A,S,b,w,x),x.delete(S)),r(e,n,A)}}},76001(e,t,n){var r=n(97420),o=n(80631);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},97420(e,t,n){var r=n(47422),o=n(73170),a=n(31769);e.exports=function(e,t,n){for(var i=-1,s=t.length,c={};++i<s;){var l=t[i],u=r(e,l);n(u,l)&&o(c,a(l,e),u)}return c}},47237(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255(e,t,n){var r=n(47422);e.exports=function(e){return function(t){return r(t,e)}}},86151(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,a){for(var i=-1,s=n(t((r-e)/(o||1)),0),c=Array(s);s--;)c[a?s:++i]=e,e+=o;return c}},85558(e){e.exports=function(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}},69302(e,t,n){var r=n(83488),o=n(56757),a=n(32865);e.exports=function(e,t){return a(o(e,t,r),e+"")}},73170(e,t,n){var r=n(16547),o=n(31769),a=n(30361),i=n(23805),s=n(77797);e.exports=function(e,t,n,c){if(!i(e))return e;for(var l=-1,u=(t=o(t,e)).length,d=u-1,p=e;null!=p&&++l<u;){var f=s(t[l]),h=n;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(l!=d){var m=p[f];void 0===(h=c?c(m,f,p):void 0)&&(h=i(m)?m:a(t[l+1])?[]:{})}r(p,f,h),p=p[f]}return e}},25160(e){e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}},78096(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},54128(e,t,n){var r=n(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},27301(e){e.exports=function(e){return function(t){return e(t)}}},55765(e,t,n){var r=n(38859),o=n(15325),a=n(29905),i=n(19219),s=n(44517),c=n(84247);e.exports=function(e,t,n){var l=-1,u=o,d=e.length,p=!0,f=[],h=f;if(n)p=!1,u=a;else if(d>=200){var m=t?null:s(e);if(m)return c(m);p=!1,u=i,h=new r}else h=t?[]:f;e:for(;++l<d;){var g=e[l],v=t?t(g):g;if(g=n||0!==g?g:0,p&&v==v){for(var b=h.length;b--;)if(h[b]===v)continue e;t&&h.push(v),f.push(g)}else u(h,v,n)||(h!==f&&h.push(v),f.push(g))}return f}},19931(e,t,n){var r=n(31769),o=n(68090),a=n(68969),i=n(77797),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=-1,c=(t=r(t,e)).length;if(!c)return!0;for(;++n<c;){var l=i(t[n]);if("__proto__"===l&&!s.call(e,"__proto__"))return!1;if(("constructor"===l||"prototype"===l)&&n<c-1)return!1}var u=a(e,t);return null==u||delete u[i(o(t))]}},19219(e){e.exports=function(e,t){return e.has(t)}},31769(e,t,n){var r=n(56449),o=n(28586),a=n(61802),i=n(13222);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:a(i(e))}},49653(e,t,n){var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},93290(e,t,n){e=n.nmd(e);var r=n(9325),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},76169(e,t,n){var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},73201(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},93736(e,t,n){var r=n(51873),o=r?r.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},71961(e,t,n){var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},23007(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},21791(e,t,n){var r=n(16547),o=n(43360);e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),i?o(n,l,u):r(n,l,u)}return n}},92271(e,t,n){var r=n(21791),o=n(4664);e.exports=function(e,t){return r(e,o(e),t)}},48948(e,t,n){var r=n(21791),o=n(86375);e.exports=function(e,t){return r(e,o(e),t)}},55481(e,t,n){var r=n(9325)["__core-js_shared__"];e.exports=r},42e3(e,t,n){var r=n(63945),o=n(62429),a=n(15389),i=n(56449);e.exports=function(e,t){return function(n,s){var c=i(n)?r:o,l=t?t():{};return c(n,e,a(s,2),l)}}},20999(e,t,n){var r=n(69302),o=n(36800);e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t}))}},38329(e,t,n){var r=n(64894);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,s=Object(n);(t?i--:++i<a)&&!1!==o(s[i],i,s););return n}}},83221(e){e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var c=i[e?s:++o];if(!1===n(a[c],c,a))break}return t}}},85508(e,t,n){var r=n(86151),o=n(36800),a=n(17400);e.exports=function(e){return function(t,n,i){return i&&"number"!=typeof i&&o(t,n,i)&&(n=i=void 0),t=a(t),void 0===n?(n=t,t=0):n=a(n),i=void 0===i?t<n?1:-1:a(i),r(t,n,i,e)}}},73893(e,t,n){var r=n(9325),o=n(61489),a=n(99374),i=n(13222),s=r.isFinite,c=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=a(e),(n=null==n?0:c(o(n),292))&&s(e)){var r=(i(e)+"e").split("e"),l=t(r[0]+"e"+(+r[1]+n));return+((r=(i(l)+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}},44517(e,t,n){var r=n(76545),o=n(63950),a=n(84247),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},53138(e,t,n){var r=n(11331);e.exports=function(e){return r(e)?void 0:e}},93243(e,t,n){var r=n(56110),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911(e,t,n){var r=n(38859),o=n(14248),a=n(19219);e.exports=function(e,t,n,i,s,c){var l=1&n,u=e.length,d=t.length;if(u!=d&&!(l&&d>u))return!1;var p=c.get(e),f=c.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var v=e[h],b=t[h];if(i)var y=l?i(b,v,h,t,e,c):i(v,b,h,e,t,c);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!a(g,t)&&(v===e||s(v,e,n,i,c)))return g.push(t)}))){m=!1;break}}else if(v!==b&&!s(v,b,n,i,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},21986(e,t,n){var r=n(51873),o=n(37828),a=n(75288),i=n(25911),s=n(20317),c=n(84247),l=r?r.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&r;if(f||(f=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=i(f(e),f(t),r,l,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689(e,t,n){var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,s){var c=1&n,l=r(e),u=l.length;if(u!=r(t).length&&!c)return!1;for(var d=u;d--;){var p=l[d];if(!(c?p in t:o.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=c;++d<u;){var v=e[p=l[d]],b=t[p];if(a)var y=c?a(b,v,p,t,e,s):a(v,b,p,e,t,s);if(!(void 0===y?v===b||i(v,b,n,a,s):y)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},38816(e,t,n){var r=n(35970),o=n(56757),a=n(32865);e.exports=function(e){return a(o(e,void 0,r),e+"")}},34840(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},50002(e,t,n){var r=n(82199),o=n(4664),a=n(95950);e.exports=function(e){return r(e,a,o)}},83349(e,t,n){var r=n(82199),o=n(86375),a=n(37241);e.exports=function(e){return r(e,a,o)}},12651(e,t,n){var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776(e,t,n){var r=n(30756),o=n(95950);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},56110(e,t,n){var r=n(45083),o=n(10392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},28879(e,t,n){var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},659(e,t,n){var r=n(51873),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[s]=n:delete e[s]),o}},4664(e,t,n){var r=n(79770),o=n(63345),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=s},86375(e,t,n){var r=n(14528),o=n(28879),a=n(4664),i=n(63345),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=s},5861(e,t,n){var r=n(55580),o=n(68223),a=n(32804),i=n(76545),s=n(28303),c=n(72552),l=n(47473),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=l(r),g=l(o),v=l(a),b=l(i),y=l(s),w=c;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=u||a&&w(a.resolve())!=d||i&&w(new i)!=p||s&&w(new s)!=f)&&(w=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return h;case g:return u;case v:return d;case b:return p;case y:return f}return t}),e.exports=w},10392(e){e.exports=function(e,t){return null==e?void 0:e[t]}},49326(e,t,n){var r=n(31769),o=n(72428),a=n(56449),i=n(30361),s=n(30294),c=n(77797);e.exports=function(e,t,n){for(var l=-1,u=(t=r(t,e)).length,d=!1;++l<u;){var p=c(t[l]);if(!(d=null!=e&&n(e,p)))break;e=e[p]}return d||++l!=u?d:!!(u=null==e?0:e.length)&&s(u)&&i(p,u)&&(a(e)||o(e))}},22032(e,t,n){var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},63862(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721(e,t,n){var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},12749(e,t,n){var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},35749(e,t,n){var r=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},76189(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},77199(e,t,n){var r=n(49653),o=n(76169),a=n(73201),i=n(93736),s=n(71961);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return a(e);case"[object Symbol]":return i(e)}}},35529(e,t,n){var r=n(39344),o=n(28879),a=n(55527);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(o(e))}},45891(e,t,n){var r=n(51873),o=n(72428),a=n(56449),i=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},30361(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=n??9007199254740991)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800(e,t,n){var r=n(75288),o=n(64894),a=n(30361),i=n(23805);e.exports=function(e,t,n){if(!i(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&a(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},28586(e,t,n){var r=n(56449),o=n(44394),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},74218(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296(e,t,n){var r,o=n(55481),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},55527(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756(e,t,n){var r=n(23805);e.exports=function(e){return e==e&&!r(e)}},63702(e){e.exports=function(){this.__data__=[],this.size=0}},70080(e,t,n){var r=n(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},24739(e,t,n){var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},48655(e,t,n){var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},31175(e,t,n){var r=n(26025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},63040(e,t,n){var r=n(21549),o=n(80079),a=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},17670(e,t,n){var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90289(e,t,n){var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},4509(e,t,n){var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},72949(e,t,n){var r=n(12651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},20317(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},67197(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},62224(e,t,n){var r=n(50104);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042(e,t,n){var r=n(56110)(Object,"create");e.exports=r},3650(e,t,n){var r=n(74335)(Object.keys,Object);e.exports=r},90181(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009(e,t,n){e=n.nmd(e);var r=n(34840),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s},59350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335(e){e.exports=function(e,t){return function(n){return e(t(n))}}},56757(e,t,n){var r=n(91033),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,s=o(a.length-t,0),c=Array(s);++i<s;)c[i]=a[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=a[i];return l[t]=n(c),r(e,this,l)}}},68969(e,t,n){var r=n(47422),o=n(25160);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},9325(e,t,n){var r=n(34840),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},14974(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31380(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459(e){e.exports=function(e){return this.__data__.has(e)}},84247(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865(e){e.exports=function(e){return e}},51420(e,t,n){var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},90938(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605(e){e.exports=function(e){return this.__data__.get(e)}},29817(e){e.exports=function(e){return this.__data__.has(e)}},80945(e,t,n){var r=n(80079),o=n(68223),a=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},76959(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},61802(e,t,n){var r=n(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(a,"$1"):n||e)})),t}));e.exports=i},77797(e){e.exports=function(e){return e}},47473(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},38221(e,t,n){var r=n(23805),o=n(10124),a=n(99374),i=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,u,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=c,r=l;return c=l=void 0,h=t,d=e.apply(r,n)}function y(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=u}function w(){var e=o();if(y(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-f);return g?s(n,u-(e-h)):n}(e))}function x(e){return p=void 0,v&&c?b(e):(c=l=void 0,d)}function k(){var e=o(),n=y(e);if(c=arguments,l=this,f=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(w,t),m?b(e):d}(f);if(g)return clearTimeout(p),p=setTimeout(w,t),b(f)}return void 0===p&&(p=setTimeout(w,t)),d}return t=a(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?i(a(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=f=l=p=void 0},k.flush=function(){return void 0===p?d:x(o())},k}},66245(e,t,n){var r=n(83915),o=n(83120),a=n(69302),i=n(83693),s=a((function(e,t){return i(e)?r(e,o(t,1,i,!0)):[]}));e.exports=s},75288(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970(e,t,n){var r=n(83120);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},58156(e,t,n){var r=n(47422);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},94394(e,t,n){var r=n(43360),o=n(42e3),a=Object.prototype.hasOwnProperty,i=o((function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=i},80631(e,t,n){var r=n(28077),o=n(49326);e.exports=function(e,t){return null!=e&&o(e,t,r)}},83488(e){e.exports=function(e){return e}},72428(e,t,n){var r=n(27534),o=n(40346),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},56449(e){var t=Array.isArray;e.exports=t},64894(e,t,n){var r=n(1882),o=n(30294);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},83693(e,t,n){var r=n(64894),o=n(40346);e.exports=function(e){return o(e)&&r(e)}},3656(e,t,n){e=n.nmd(e);var r=n(9325),o=n(89935),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,s=i&&i.exports===a?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},62193(e,t,n){var r=n(88984),o=n(5861),a=n(72428),i=n(56449),s=n(64894),c=n(3656),l=n(55527),u=n(37167),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||u(e)||a(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},2404(e,t,n){var r=n(60270);e.exports=function(e,t){return r(e,t)}},1882(e,t,n){var r=n(72552),o=n(23805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730(e,t,n){var r=n(29172),o=n(27301),a=n(86009),i=a&&a.isMap,s=i?o(i):r;e.exports=s},69843(e){e.exports=function(e){return null==e}},23805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},11331(e,t,n){var r=n(72552),o=n(28879),a=n(40346),i=Function.prototype,s=Object.prototype,c=i.toString,l=s.hasOwnProperty,u=c.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==u}},38440(e,t,n){var r=n(16038),o=n(27301),a=n(86009),i=a&&a.isSet,s=i?o(i):r;e.exports=s},85015(e,t,n){var r=n(72552),o=n(56449),a=n(40346);e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},44394(e,t,n){var r=n(72552),o=n(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},37167(e,t,n){var r=n(4901),o=n(27301),a=n(86009),i=a&&a.isTypedArray,s=i?o(i):r;e.exports=s},95950(e,t,n){var r=n(70695),o=n(88984),a=n(64894);e.exports=function(e){return a(e)?r(e):o(e)}},37241(e,t,n){var r=n(70695),o=n(72903),a=n(64894);e.exports=function(e){return a(e)?r(e,!0):o(e)}},68090(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},73916(e,t,n){var r=n(43360),o=n(30641),a=n(15389);e.exports=function(e,t){var n={};return t=a(t,3),o(e,(function(e,o,a){r(n,o,t(e,o,a))})),n}},50104(e,t,n){var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},55364(e,t,n){var r=n(85250),o=n(20999)((function(e,t,n){r(e,t,n)}));e.exports=o},6048(e){e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},63950(e){e.exports=function(){}},10124(e,t,n){var r=n(9325);e.exports=function(){return r.Date.now()}},90179(e,t,n){var r=n(34932),o=n(9999),a=n(19931),i=n(31769),s=n(21791),c=n(53138),l=n(38816),u=n(83349),d=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=r(t,(function(t){return t=i(t,e),l||(l=t.length>1),t})),s(e,u(e),n),l&&(n=o(n,7,c));for(var d=t.length;d--;)a(n,t[d]);return n}));e.exports=d},42194(e,t,n){var r=n(15389),o=n(6048),a=n(71086);e.exports=function(e,t){return a(e,o(r(t)))}},44383(e,t,n){var r=n(76001),o=n(38816)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},71086(e,t,n){var r=n(34932),o=n(15389),a=n(97420),i=n(83349);e.exports=function(e,t){if(null==e)return{};var n=r(i(e),(function(e){return[e]}));return t=o(t),a(e,n,(function(e,n){return t(e,n[0])}))}},50583(e,t,n){var r=n(47237),o=n(17255),a=n(28586),i=n(77797);e.exports=function(e){return a(e)?r(i(e)):o(e)}},23181(e,t,n){var r=n(85508)();e.exports=r},40860(e,t,n){var r=n(40882),o=n(80909),a=n(15389),i=n(85558),s=n(56449);e.exports=function(e,t,n){var c=s(e)?r:i,l=arguments.length<3;return c(e,a(t,4),n,l,o)}},36944(e,t,n){var r=n(73893)("round");e.exports=r},63560(e,t,n){var r=n(73170);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},63345(e){e.exports=function(){return[]}},89935(e){e.exports=function(){return!1}},7350(e,t,n){var r=n(38221),o=n(23805);e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},17400(e){e.exports=function(e){return e}},61489(e){e.exports=function(e){return e}},99374(e,t,n){var r=n(54128),o=n(23805),a=n(44394),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):i.test(e)?NaN:+e}},69884(e,t,n){var r=n(21791),o=n(37241);e.exports=function(e){return r(e,o(e))}},13222(e){e.exports=function(e){return e}},69752(e,t,n){var r=n(83729),o=n(39344),a=n(30641),i=n(15389),s=n(28879),c=n(56449),l=n(3656),u=n(1882),d=n(23805),p=n(37167);e.exports=function(e,t,n){var f=c(e),h=f||l(e)||p(e);if(t=i(t,4),null==n){var m=e&&e.constructor;n=h?f?new m:[]:d(e)&&u(m)?o(s(e)):{}}return(h?r:a)(e,(function(e,r,o){return t(n,e,r,o)})),n}},80299(e,t,n){var r=n(83120),o=n(69302),a=n(55765),i=n(83693),s=o((function(e){return a(r(e,1,i,!0))}));e.exports=s},63375(e,t,n){var r=n(55765);e.exports=function(e){return e&&e.length?r(e):[]}},73357(e,t,n){var r=n(19931);e.exports=function(e,t){return null==e||r(e,t)}},2694(e,t,n){"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86663(e,t,n){"use strict";const r=n(24280),o=n(30454),a=n(528),i=n(73055),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function l(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),a="string"==typeof n&&!o&&u(n,e).includes(e.arrayFormatSeparator);n=a?u(n,e):n;const i=o||a?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?u(n,e):n);const a=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],a):r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,i]=a(t.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:u(i,t),n(u(e,t),i,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=f,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[",o,"]"].join("")]:[...n,[l(t,e),"[",l(o,e),"]=",l(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),"[]"].join("")]:[...n,[l(t,e),"[]=",l(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[l(t,e),":list="].join("")]:[...n,[l(t,e),":list=",l(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[l(n,e),t,l(o,e)].join("")]:[[r,l(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,l(t,e)]:[...n,[l(t,e),"=",l(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map((n=>{const o=e[n];return void 0===o?"":null===o?l(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?l(n,t)+"[]":o.reduce(r(n),[]).join("&"):l(n,t)+"="+l(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=a(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(f(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=p(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query);let c=t.stringify(i,n);c&&(c=`?${c}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?l(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${c}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:a,fragmentIdentifier:c}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:i(a,n),fragmentIdentifier:c},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},29336(e,t,n){"use strict";var r=n(33567);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},12238(e,t,n){e.exports=n(29336)()},33567(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},87424(e,t,n){"use strict";t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=c(n(87695)),a=c(n(59321)),i=c(n(13486)),s=n(36462);function c(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e){return function(){var t,n=g(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=g(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return m(e)}(this,t)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(){return!0},w="suggestions-revealed",x="input-focused",k="input-changed",S="escape-pressed",O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(l,e);var t,n,o,c=h(l);function l(e){var t,n=e.alwaysRenderSuggestions;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),b(m(t=c.call(this)),"onDocumentMouseDown",(function(e){t.justClickedOnSuggestionsContainer=!1;for(var n=e.detail&&e.detail.target||e.target;null!==n&&n!==document;){if(n.getAttribute&&null!==n.getAttribute("data-suggestion-index"))return;if(n===t.suggestionsContainer)return void(t.justClickedOnSuggestionsContainer=!0);n=n.parentNode}})),b(m(t),"storeAutowhateverRef",(function(e){null!==e&&(t.autowhatever=e)})),b(m(t),"onSuggestionMouseEnter",(function(e,n){var r=n.sectionIndex,o=n.itemIndex;t.updateHighlightedSuggestion(r,o),e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!0),t.justMouseEntered=!0,setTimeout((function(){t.justMouseEntered=!1}))})),b(m(t),"highlightFirstSuggestion",(function(){t.updateHighlightedSuggestion(t.props.multiSection?0:null,0)})),b(m(t),"onDocumentMouseUp",(function(){t.pressedSuggestion&&!t.justSelectedSuggestion&&t.input.focus(),t.pressedSuggestion=null})),b(m(t),"onSuggestionMouseDown",(function(e){t.justSelectedSuggestion||(t.justSelectedSuggestion=!0,t.pressedSuggestion=e.target)})),b(m(t),"onSuggestionsClearRequested",(function(){var e=t.props.onSuggestionsClearRequested;e&&e()})),b(m(t),"onSuggestionSelected",(function(e,n){var r=t.props,o=r.alwaysRenderSuggestions,a=r.onSuggestionSelected,i=r.onSuggestionsFetchRequested;a&&a(e,n);var s=t.props.shouldKeepSuggestionsOnSelect(n.suggestion);o||s?i({value:n.suggestionValue,reason:"suggestion-selected"}):t.onSuggestionsClearRequested(),t.resetHighlightedSuggestion()})),b(m(t),"onSuggestionClick",(function(e){var n=t.props,r=n.alwaysRenderSuggestions,o=n.focusInputOnSuggestionClick,a=t.getSuggestionIndices(t.findSuggestionElement(e.target)),i=a.sectionIndex,s=a.suggestionIndex,c=t.getSuggestion(i,s),l=t.props.getSuggestionValue(c);t.maybeCallOnChange(e,l,"click"),t.onSuggestionSelected(e,{suggestion:c,suggestionValue:l,suggestionIndex:s,sectionIndex:i,method:"click"});var u=t.props.shouldKeepSuggestionsOnSelect(c);r||u||t.closeSuggestions(),!0===o?t.input.focus():t.onBlur(),setTimeout((function(){t.justSelectedSuggestion=!1}))})),b(m(t),"onBlur",(function(){var e=t.props,n=e.inputProps,r=e.shouldRenderSuggestions,o=n.value,a=n.onBlur,i=t.getHighlightedSuggestion(),s=r(o,"input-blurred");t.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!s}),a&&a(t.blurEvent,{highlightedSuggestion:i})})),b(m(t),"onSuggestionMouseLeave",(function(e){t.resetHighlightedSuggestion(!1),t.justSelectedSuggestion&&e.target===t.pressedSuggestion&&(t.justSelectedSuggestion=!1)})),b(m(t),"onSuggestionTouchStart",(function(){t.justSelectedSuggestion=!0})),b(m(t),"onSuggestionTouchMove",(function(){t.justSelectedSuggestion=!1,t.pressedSuggestion=null,t.input.focus()})),b(m(t),"itemProps",(function(e){return{"data-section-index":e.sectionIndex,"data-suggestion-index":e.itemIndex,onMouseEnter:t.onSuggestionMouseEnter,onMouseLeave:t.onSuggestionMouseLeave,onMouseDown:t.onSuggestionMouseDown,onTouchStart:t.onSuggestionTouchStart,onTouchMove:t.onSuggestionTouchMove,onClick:t.onSuggestionClick}})),b(m(t),"renderSuggestionsContainer",(function(e){var n=e.containerProps,r=e.children;return(0,t.props.renderSuggestionsContainer)({containerProps:n,children:r,query:t.getQuery()})})),t.state={isFocused:!1,isCollapsed:!n,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},t.justPressedUpDown=!1,t.justMouseEntered=!1,t.pressedSuggestion=null,t}return t=l,n=[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=0===this.state.highlightedSuggestionIndex&&this.props.highlightFirstSuggestion&&!e.highlightFirstSuggestion;(0,a.default)(e.suggestions,this.props.suggestions)?e.highlightFirstSuggestion&&e.suggestions.length>0&&!1===this.justPressedUpDown&&!1===this.justMouseEntered?this.highlightFirstSuggestion():t&&this.resetHighlightedSuggestion():this.willRenderSuggestions(e,"suggestions-updated")?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),t&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.suggestions,o=n.onSuggestionHighlighted,i=n.highlightFirstSuggestion;if(!(0,a.default)(r,e.suggestions)&&r.length>0&&i)this.highlightFirstSuggestion();else if(o){var s=this.getHighlightedSuggestion();s!=t.highlightedSuggestion&&o({suggestion:s})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(e,t,n){var r=this;this.setState((function(o){var a=o.valueBeforeUpDown;return null===t?a=null:null===a&&void 0!==n&&(a=n),{highlightedSectionIndex:e,highlightedSuggestionIndex:t,highlightedSuggestion:null===t?null:r.getSuggestion(e,t),valueBeforeUpDown:a}}))}},{key:"resetHighlightedSuggestion",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setState((function(t){var n=t.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:e?null:n}}))}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(e,t){var n=this.props,r=n.suggestions,o=n.multiSection,a=n.getSectionSuggestions;return o?a(r[e])[t]:r[t]}},{key:"getHighlightedSuggestion",value:function(){var e=this.state,t=e.highlightedSectionIndex,n=e.highlightedSuggestionIndex;return null===n?null:this.getSuggestion(t,n)}},{key:"getSuggestionValueByIndex",value:function(e,t){return(0,this.props.getSuggestionValue)(this.getSuggestion(e,t))}},{key:"getSuggestionIndices",value:function(e){var t=e.getAttribute("data-section-index"),n=e.getAttribute("data-suggestion-index");return{sectionIndex:"string"==typeof t?parseInt(t,10):null,suggestionIndex:parseInt(n,10)}}},{key:"findSuggestionElement",value:function(e){var t=e;do{if(t.getAttribute&&null!==t.getAttribute("data-suggestion-index"))return t;t=t.parentNode}while(null!==t);throw console.error("Clicked element:",e),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(e,t,n){var r=this.props.inputProps,o=r.value,a=r.onChange;t!==o&&a(e,{newValue:t,method:n})}},{key:"willRenderSuggestions",value:function(e,t){var n=e.suggestions,r=e.inputProps,o=e.shouldRenderSuggestions,a=r.value;return n.length>0&&o(a,t)}},{key:"getQuery",value:function(){var e=this.props.inputProps.value,t=this.state.valueBeforeUpDown;return(null===t?e:t).trim()}},{key:"render",value:function(){var e=this,t=this.props,n=t.suggestions,o=t.renderInputComponent,a=t.onSuggestionsFetchRequested,c=t.renderSuggestion,l=t.inputProps,u=t.multiSection,d=t.renderSectionTitle,f=t.id,h=t.getSectionSuggestions,m=t.theme,g=t.getSuggestionValue,v=t.alwaysRenderSuggestions,b=t.highlightFirstSuggestion,O=t.containerProps,A=this.state,E=A.isFocused,P=A.isCollapsed,C=A.highlightedSectionIndex,j=A.highlightedSuggestionIndex,_=A.valueBeforeUpDown,D=v?y:this.props.shouldRenderSuggestions,T=l.value,M=l.onFocus,N=l.onKeyDown,I=this.willRenderSuggestions(this.props,"render"),R=v||E&&!P&&I,L=R?n:[],F=p({},l,{onFocus:function(t){if(!e.justSelectedSuggestion&&!e.justClickedOnSuggestionsContainer){var n=D(T,x);e.setState({isFocused:!0,isCollapsed:!n}),M&&M(t),n&&a({value:T,reason:x})}},onBlur:function(t){e.justClickedOnSuggestionsContainer?e.input.focus():(e.blurEvent=t,e.justSelectedSuggestion||(e.onBlur(),e.onSuggestionsClearRequested()))},onChange:function(t){var n=t.target.value,r=D(n,k);e.maybeCallOnChange(t,n,"type"),e.suggestionsContainer&&(e.suggestionsContainer.scrollTop=0),e.setState(p({},b?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!r})),r?a({value:n,reason:k}):e.onSuggestionsClearRequested()},onKeyDown:function(t,r){var o=t.keyCode;switch(o){case 40:case 38:if(P)D(T,w)&&(a({value:T,reason:w}),e.revealSuggestions(),t.preventDefault());else if(n.length>0){var i,s=r.newHighlightedSectionIndex,c=r.newHighlightedItemIndex;i=null===c?null===_?T:_:e.getSuggestionValueByIndex(s,c),e.updateHighlightedSuggestion(s,c,T),e.maybeCallOnChange(t,i,40===o?"down":"up"),t.preventDefault()}e.justPressedUpDown=!0,setTimeout((function(){e.justPressedUpDown=!1}));break;case 13:if(229===t.keyCode)break;var l=e.getHighlightedSuggestion();if(R&&!v&&e.closeSuggestions(),null!=l){t.preventDefault();var u=g(l);e.maybeCallOnChange(t,u,"enter"),e.onSuggestionSelected(t,{suggestion:l,suggestionValue:u,suggestionIndex:j,sectionIndex:C,method:"enter"}),e.justSelectedSuggestion=!0,setTimeout((function(){e.justSelectedSuggestion=!1}))}break;case 27:R&&t.preventDefault();var d=R&&!v;null===_?d||(e.maybeCallOnChange(t,"","escape"),D("",S)?a({value:"",reason:S}):e.onSuggestionsClearRequested()):e.maybeCallOnChange(t,_,"escape"),d?(e.onSuggestionsClearRequested(),e.closeSuggestions()):e.resetHighlightedSuggestion()}N&&N(t)}}),H={query:this.getQuery()};return r.default.createElement(i.default,{multiSection:u,items:L,renderInputComponent:o,renderItemsContainer:this.renderSuggestionsContainer,renderItem:c,renderItemData:H,renderSectionTitle:d,getSectionItems:h,highlightedSectionIndex:C,highlightedItemIndex:j,containerProps:O,inputProps:F,itemProps:this.itemProps,theme:(0,s.mapToAutowhateverTheme)(m),id:f,ref:this.storeAutowhateverRef})}}],n&&f(t.prototype,n),o&&f(t,o),l}(r.Component);t.default=O,b(O,"propTypes",{suggestions:o.default.array.isRequired,onSuggestionsFetchRequested:function(e,t){var n=e[t];if("function"!=typeof n)throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(e,t){var n=e[t];if(!1===e.alwaysRenderSuggestions&&"function"!=typeof n)throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:o.default.func,onSuggestionSelected:o.default.func,onSuggestionHighlighted:o.default.func,renderInputComponent:o.default.func,renderSuggestionsContainer:o.default.func,getSuggestionValue:o.default.func.isRequired,renderSuggestion:o.default.func.isRequired,inputProps:function(e,t){var n=e[t];if(!n)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(n,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(n,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:o.default.func,alwaysRenderSuggestions:o.default.bool,multiSection:o.default.bool,renderSectionTitle:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(e,t){var n=e[t];if(!0===e.multiSection&&"function"!=typeof n)throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:o.default.bool,highlightFirstSuggestion:o.default.bool,theme:o.default.object,id:o.default.string,containerProps:o.default.object}),b(O,"defaultProps",{renderSuggestionsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},shouldRenderSuggestions:function(e){return e.trim().length>0},alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:s.defaultTheme,id:"1",containerProps:{}})},13486(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==m(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=l(n(87695)),a=l(n(61578)),i=l(n(54525)),s=l(n(42444)),c=l(n(97932));function l(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e){return function(){var t,n=y(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=y(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;return b(e)}(this,t)}}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k={},S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(u,e);var t,n,o,l=v(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),x(b(t=l.call(this,e)),"storeInputReference",(function(e){null!==e&&(t.input=e);var n=t.props.inputProps.ref;n&&("function"==typeof n?n(e):"object"===m(n)&&Object.prototype.hasOwnProperty.call(n,"current")&&(n.current=e))})),x(b(t),"storeItemsContainerReference",(function(e){null!==e&&(t.itemsContainer=e)})),x(b(t),"onHighlightedItemChange",(function(e){t.highlightedItem=e})),x(b(t),"getItemId",(function(e,n){if(null===n)return null;var r=t.props.id,o=null===e?"":"section-".concat(e);return"react-autowhatever-".concat(r,"-").concat(o,"-item-").concat(n)})),x(b(t),"onFocus",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!0}),n.onFocus&&n.onFocus(e)})),x(b(t),"onBlur",(function(e){var n=t.props.inputProps;t.setState({isInputFocused:!1}),n.onBlur&&n.onBlur(e)})),x(b(t),"onKeyDown",(function(e){var n=t.props,r=n.inputProps,o=n.highlightedSectionIndex,a=n.highlightedItemIndex,i=e.keyCode;switch(i){case 40:case 38:var s=40===i?"next":"prev",c=f(t.sectionIterator[s]([o,a]),2),l=c[0],u=c[1];r.onKeyDown(e,{newHighlightedSectionIndex:l,newHighlightedItemIndex:u});break;default:r.onKeyDown(e,{highlightedSectionIndex:o,highlightedItemIndex:a})}})),t.highlightedItem=null,t.state={isInputFocused:!1},t.setSectionsItems(e),t.setSectionIterator(e),t.setTheme(e),t}return t=u,(n=[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.items!==this.props.items&&this.setSectionsItems(e),e.items===this.props.items&&e.multiSection===this.props.multiSection||this.setSectionIterator(e),e.theme!==this.props.theme&&this.setTheme(e)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(e){e.multiSection&&(this.sectionsItems=e.items.map((function(t){return e.getSectionItems(t)})),this.sectionsLengths=this.sectionsItems.map((function(e){return e.length})),this.allSectionsAreEmpty=this.sectionsLengths.every((function(e){return 0===e})))}},{key:"setSectionIterator",value:function(e){this.sectionIterator=(0,a.default)({multiSection:e.multiSection,data:e.multiSection?this.sectionsLengths:e.items.length})}},{key:"setTheme",value:function(e){this.theme=(0,i.default)(e.theme)}},{key:"renderSections",value:function(){var e=this;if(this.allSectionsAreEmpty)return null;var t=this.theme,n=this.props,o=n.id,a=n.items,i=n.renderItem,l=n.renderItemData,u=n.renderSectionTitle,d=n.highlightedSectionIndex,p=n.highlightedItemIndex,f=n.itemProps;return a.map((function(n,a){var h="react-autowhatever-".concat(o,"-"),m="".concat(h,"section-").concat(a,"-"),g=0===a;return r.default.createElement("div",t("".concat(m,"container"),"sectionContainer",g&&"sectionContainerFirst"),r.default.createElement(s.default,{section:n,renderSectionTitle:u,theme:t,sectionKeyPrefix:m}),r.default.createElement(c.default,{items:e.sectionsItems[a],itemProps:f,renderItem:i,renderItemData:l,sectionIndex:a,highlightedItemIndex:d===a?p:null,onHighlightedItemChange:e.onHighlightedItemChange,getItemId:e.getItemId,theme:t,keyPrefix:h,ref:e.storeItemsListReference}))}))}},{key:"renderItems",value:function(){var e=this.props.items;if(0===e.length)return null;var t=this.theme,n=this.props,o=n.id,a=n.renderItem,i=n.renderItemData,s=n.highlightedSectionIndex,l=n.highlightedItemIndex,u=n.itemProps;return r.default.createElement(c.default,{items:e,itemProps:u,renderItem:a,renderItemData:i,highlightedItemIndex:null===s?l:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:t,keyPrefix:"react-autowhatever-".concat(o,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var e=this.highlightedItem;if(e){var t=this.itemsContainer,n=e.offsetParent===t?e.offsetTop:e.offsetTop-t.offsetTop,r=t.scrollTop;n<r?r=n:n+e.offsetHeight>r+t.offsetHeight&&(r=n+e.offsetHeight-t.offsetHeight),r!==t.scrollTop&&(t.scrollTop=r)}}},{key:"render",value:function(){var e=this.theme,t=this.props,n=t.id,o=t.multiSection,a=t.renderInputComponent,i=t.renderItemsContainer,s=t.highlightedSectionIndex,c=t.highlightedItemIndex,l=this.state.isInputFocused,u=o?this.renderSections():this.renderItems(),d=null!==u,f=this.getItemId(s,c),h="react-autowhatever-".concat(n),m=p({role:"combobox","aria-haspopup":"listbox","aria-owns":h,"aria-expanded":d},e("react-autowhatever-".concat(n,"-container"),"container",d&&"containerOpen"),{},this.props.containerProps),g=a(p({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":h,"aria-activedescendant":f},e("react-autowhatever-".concat(n,"-input"),"input",d&&"inputOpen",l&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),v=i({containerProps:p({id:h,role:"listbox"},e("react-autowhatever-".concat(n,"-items-container"),"itemsContainer",d&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:u});return r.default.createElement("div",m,g,v)}}])&&g(t.prototype,n),o&&g(t,o),u}(r.Component);t.default=S,x(S,"propTypes",{id:o.default.string,multiSection:o.default.bool,renderInputComponent:o.default.func,renderItemsContainer:o.default.func,items:o.default.array.isRequired,renderItem:o.default.func,renderItemData:o.default.object,renderSectionTitle:o.default.func,getSectionItems:o.default.func,containerProps:o.default.object,inputProps:o.default.object,itemProps:o.default.oneOfType([o.default.object,o.default.func]),highlightedSectionIndex:o.default.number,highlightedItemIndex:o.default.number,theme:o.default.oneOfType([o.default.object,o.default.array])}),x(S,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:function(e){return r.default.createElement("input",e)},renderItemsContainer:function(e){var t=e.containerProps,n=e.children;return r.default.createElement("div",t,n)},renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:k,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:k,inputProps:k,itemProps:k,highlightedSectionIndex:null,highlightedItemIndex:null,theme:{container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"}})},21572(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=i(n(87695)),a=i(n(81438));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(s,e);var t,n,o,i=f(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=i.call.apply(i,[this].concat(n))),"storeItemReference",(function(t){null!==t&&(e.item=t)})),v(h(e),"onMouseEnter",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseEnter(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onMouseLeave",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseLeave(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onMouseDown",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onMouseDown(t,{sectionIndex:r,itemIndex:o})})),v(h(e),"onClick",(function(t){var n=e.props,r=n.sectionIndex,o=n.itemIndex;e.props.onClick(t,{sectionIndex:r,itemIndex:o})})),e}return t=s,n=[{key:"shouldComponentUpdate",value:function(e){return(0,a.default)(e,this.props,["renderItemData"])}},{key:"render",value:function(){var e=this.props,t=e.isHighlighted,n=e.item,o=e.renderItem,a=e.renderItemData,i=d(e,["isHighlighted","item","renderItem","renderItemData"]);return delete i.sectionIndex,delete i.itemIndex,"function"==typeof i.onMouseEnter&&(i.onMouseEnter=this.onMouseEnter),"function"==typeof i.onMouseLeave&&(i.onMouseLeave=this.onMouseLeave),"function"==typeof i.onMouseDown&&(i.onMouseDown=this.onMouseDown),"function"==typeof i.onClick&&(i.onClick=this.onClick),r.default.createElement("li",l({role:"option"},i,{ref:this.storeItemReference}),o(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({isHighlighted:t},a)))}}],n&&p(t.prototype,n),o&&p(t,o),s}(r.Component);t.default=b,v(b,"propTypes",{sectionIndex:o.default.number,isHighlighted:o.default.bool.isRequired,itemIndex:o.default.number.isRequired,item:o.default.any.isRequired,renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,onMouseEnter:o.default.func,onMouseLeave:o.default.func,onMouseDown:o.default.func,onClick:o.default.func})},97932(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=s(n(87695)),a=s(n(21572)),i=s(n(81438));function s(e){return e&&e.__esModule?e:{default:e}}function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e){return function(){var t,n=m(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return h(e)}(this,t)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(c,e);var t,n,o,s=f(c);function c(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=s.call.apply(s,[this].concat(n))),"storeHighlightedItemReference",(function(t){e.props.onHighlightedItemChange(null===t?null:t.item)})),e}return t=c,n=[{key:"shouldComponentUpdate",value:function(e){return(0,i.default)(e,this.props,["itemProps"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,o=t.itemProps,i=t.renderItem,s=t.renderItemData,c=t.sectionIndex,l=t.highlightedItemIndex,p=t.getItemId,f=t.theme,h=t.keyPrefix,m=null===c?h:"".concat(h,"section-").concat(c,"-"),g="function"==typeof o;return r.default.createElement("ul",u({role:"listbox"},f("".concat(m,"items-list"),"itemsList")),n.map((function(t,n){var h=0===n,b=n===l,y="".concat(m,"item-").concat(n),w=g?o({sectionIndex:c,itemIndex:n}):o,x=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:p(c,n),"aria-selected":b},f(y,"item",h&&"itemFirst",b&&"itemHighlighted"),{},w);return b&&(x.ref=e.storeHighlightedItemReference),r.default.createElement(a.default,u({},x,{sectionIndex:c,isHighlighted:b,itemIndex:n,item:t,renderItem:i,renderItemData:s}))})))}}],n&&p(t.prototype,n),o&&p(t,o),c}(r.Component);t.default=b,v(b,"propTypes",{items:o.default.array.isRequired,itemProps:o.default.oneOfType([o.default.object,o.default.func]),renderItem:o.default.func.isRequired,renderItemData:o.default.object.isRequired,sectionIndex:o.default.number,highlightedItemIndex:o.default.number,onHighlightedItemChange:o.default.func.isRequired,getItemId:o.default.func.isRequired,theme:o.default.func.isRequired,keyPrefix:o.default.string.isRequired}),v(b,"defaultProps",{sectionIndex:null})},42444(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n(4883)),o=i(n(87695)),a=i(n(81438));function i(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e){return function(){var t,n=d(e);if(function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()){var r=d(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}var f,h,m,g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(s,e);var t,n,o,i=u(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"shouldComponentUpdate",value:function(e){return(0,a.default)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.section,n=e.renderSectionTitle,o=e.theme,a=e.sectionKeyPrefix,i=n(t);return i?r.default.createElement("div",o("".concat(a,"title"),"sectionTitle"),i):null}}])&&l(t.prototype,n),o&&l(t,o),s}(r.Component);t.default=g,f=g,h="propTypes",m={section:o.default.any.isRequired,renderSectionTitle:o.default.func.isRequired,theme:o.default.func.isRequired,sectionKeyPrefix:o.default.string.isRequired},h in f?Object.defineProperty(f,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):f[h]=m},81438(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!0;var i,s,c={};for(i=0,s=r.length;i<s;i++)c[r[i]]=!0;for(i=0,s=o.length;i<s;i++){var l=o[i],u=e[l],d=t[l];if(u!==d){if(!c[l]||null===u||null===d||"object"!==n(u)||"object"!==n(d))return!0;var p=Object.keys(u),f=Object.keys(d);if(p.length!==f.length)return!0;for(var h=0,m=p.length;h<m;h++){var g=p[h];if(u[g]!==d[g])return!0}}}return!1}},62243(e,t,n){"use strict";e.exports=n(87424).default},36462(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToAutowhateverTheme=t.defaultTheme=void 0;t.defaultTheme={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};t.mapToAutowhateverTheme=function(e){var t={};for(var n in e)switch(n){case"suggestionsContainer":t.itemsContainer=e[n];break;case"suggestionsContainerOpen":t.itemsContainerOpen=e[n];break;case"suggestion":t.item=e[n];break;case"suggestionFirst":t.itemFirst=e[n];break;case"suggestionHighlighted":t.itemHighlighted=e[n];break;case"suggestionsList":t.itemsList=e[n];break;default:t[n]=e[n]}return t}},915(e,t,n){"use strict";var r=n(96372);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},87695(e,t,n){e.exports=n(915)()},96372(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},54391(e){function t(e){const t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54391,e.exports=t},31247(e,t,n){"use strict";var r=n(69982),o=n(4883),a=n(81845);
53
53
  /**
54
54
  * @license React
55
55
  * react-dom-client.production.js