From 2ee1a386b9db7291867d27ba79ba11905bafd6fc Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 25 May 2021 21:47:22 +0200 Subject: [PATCH] Mobile v1.1 --- static/mobile/asset-manifest.json | 24 +++++++++---------- static/mobile/index.html | 2 +- static/mobile/static/js/2.68967b49.chunk.js | 3 --- .../mobile/static/js/2.68967b49.chunk.js.map | 1 - static/mobile/static/js/2.fb06b1f5.chunk.js | 3 +++ ...SE.txt => 2.fb06b1f5.chunk.js.LICENSE.txt} | 0 .../mobile/static/js/2.fb06b1f5.chunk.js.map | 1 + ....d2558866.chunk.js => 3.b810fcea.chunk.js} | 4 ++-- ...6.chunk.js.map => 3.b810fcea.chunk.js.map} | 2 +- .../mobile/static/js/main.1a008285.chunk.js | 2 ++ .../static/js/main.1a008285.chunk.js.map | 1 + .../mobile/static/js/main.9d1150c9.chunk.js | 2 -- .../static/js/main.9d1150c9.chunk.js.map | 1 - ...n.b827b16d.js => runtime-main.f39ba660.js} | 4 ++-- ...6d.js.map => runtime-main.f39ba660.js.map} | 2 +- 15 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 static/mobile/static/js/2.68967b49.chunk.js delete mode 100644 static/mobile/static/js/2.68967b49.chunk.js.map create mode 100644 static/mobile/static/js/2.fb06b1f5.chunk.js rename static/mobile/static/js/{2.68967b49.chunk.js.LICENSE.txt => 2.fb06b1f5.chunk.js.LICENSE.txt} (100%) create mode 100644 static/mobile/static/js/2.fb06b1f5.chunk.js.map rename static/mobile/static/js/{3.d2558866.chunk.js => 3.b810fcea.chunk.js} (97%) rename static/mobile/static/js/{3.d2558866.chunk.js.map => 3.b810fcea.chunk.js.map} (99%) create mode 100644 static/mobile/static/js/main.1a008285.chunk.js create mode 100644 static/mobile/static/js/main.1a008285.chunk.js.map delete mode 100644 static/mobile/static/js/main.9d1150c9.chunk.js delete mode 100644 static/mobile/static/js/main.9d1150c9.chunk.js.map rename static/mobile/static/js/{runtime-main.b827b16d.js => runtime-main.f39ba660.js} (95%) rename static/mobile/static/js/{runtime-main.b827b16d.js.map => runtime-main.f39ba660.js.map} (98%) diff --git a/static/mobile/asset-manifest.json b/static/mobile/asset-manifest.json index 2f698c502..76eac7ccd 100644 --- a/static/mobile/asset-manifest.json +++ b/static/mobile/asset-manifest.json @@ -1,25 +1,25 @@ { "files": { "main.css": "./static/css/main.6be5a531.chunk.css", - "main.js": "./static/js/main.9d1150c9.chunk.js", - "main.js.map": "./static/js/main.9d1150c9.chunk.js.map", - "runtime-main.js": "./static/js/runtime-main.b827b16d.js", - "runtime-main.js.map": "./static/js/runtime-main.b827b16d.js.map", + "main.js": "./static/js/main.1a008285.chunk.js", + "main.js.map": "./static/js/main.1a008285.chunk.js.map", + "runtime-main.js": "./static/js/runtime-main.f39ba660.js", + "runtime-main.js.map": "./static/js/runtime-main.f39ba660.js.map", "static/css/2.4c97ca4f.chunk.css": "./static/css/2.4c97ca4f.chunk.css", - "static/js/2.68967b49.chunk.js": "./static/js/2.68967b49.chunk.js", - "static/js/2.68967b49.chunk.js.map": "./static/js/2.68967b49.chunk.js.map", - "static/js/3.d2558866.chunk.js": "./static/js/3.d2558866.chunk.js", - "static/js/3.d2558866.chunk.js.map": "./static/js/3.d2558866.chunk.js.map", + "static/js/2.fb06b1f5.chunk.js": "./static/js/2.fb06b1f5.chunk.js", + "static/js/2.fb06b1f5.chunk.js.map": "./static/js/2.fb06b1f5.chunk.js.map", + "static/js/3.b810fcea.chunk.js": "./static/js/3.b810fcea.chunk.js", + "static/js/3.b810fcea.chunk.js.map": "./static/js/3.b810fcea.chunk.js.map", "index.html": "./index.html", "static/css/2.4c97ca4f.chunk.css.map": "./static/css/2.4c97ca4f.chunk.css.map", "static/css/main.6be5a531.chunk.css.map": "./static/css/main.6be5a531.chunk.css.map", - "static/js/2.68967b49.chunk.js.LICENSE.txt": "./static/js/2.68967b49.chunk.js.LICENSE.txt" + "static/js/2.fb06b1f5.chunk.js.LICENSE.txt": "./static/js/2.fb06b1f5.chunk.js.LICENSE.txt" }, "entrypoints": [ - "static/js/runtime-main.b827b16d.js", + "static/js/runtime-main.f39ba660.js", "static/css/2.4c97ca4f.chunk.css", - "static/js/2.68967b49.chunk.js", + "static/js/2.fb06b1f5.chunk.js", "static/css/main.6be5a531.chunk.css", - "static/js/main.9d1150c9.chunk.js" + "static/js/main.1a008285.chunk.js" ] } \ No newline at end of file diff --git a/static/mobile/index.html b/static/mobile/index.html index 5b290c1e2..606c6167e 100644 --- a/static/mobile/index.html +++ b/static/mobile/index.html @@ -1 +1 @@ -Scodoc Mobile
\ No newline at end of file +Scodoc Mobile
\ No newline at end of file diff --git a/static/mobile/static/js/2.68967b49.chunk.js b/static/mobile/static/js/2.68967b49.chunk.js deleted file mode 100644 index 7208832fe..000000000 --- a/static/mobile/static/js/2.68967b49.chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 2.68967b49.chunk.js.LICENSE.txt */ -(this.webpackJsonpscodocmobile=this.webpackJsonpscodocmobile||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(77)},function(e,t,n){"use strict";e.exports=n(81)},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t1?t-1:0),a=1;a=0;d--){var p=i[d];"."===p?o(i,d):".."===p?(o(i,d),f++):f&&(o(i,d),f--)}if(!u)for(;f--;f)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=l(t),a=l(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},u=n(22);function c(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function h(e,t,n,a){var o;"string"===typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"===typeof e?e(t,n):e;"string"===typeof o?"function"===typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),f({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=h(e,t,d(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,f({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){c.forEach((function(t){return delete e[t]}))}(a),a.className=this.props.inputClassName,a.id=this.state.inputId,a.style=n,i.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),i.default.createElement("input",r({},a,{ref:this.inputRef})),i.default.createElement("div",{ref:this.sizerRef,style:u},e),this.props.placeholder?i.default.createElement("div",{ref:this.placeHolderSizerRef,style:u},this.props.placeholder):null)}}]),t}(o.Component);m.propTypes={className:l.default.string,defaultValue:l.default.any,extraWidth:l.default.oneOfType([l.default.number,l.default.string]),id:l.default.string,injectStyles:l.default.bool,inputClassName:l.default.string,inputRef:l.default.func,inputStyle:l.default.object,minWidth:l.default.oneOfType([l.default.number,l.default.string]),onAutosize:l.default.func,onChange:l.default.func,placeholder:l.default.string,placeholderIsMinWidth:l.default.bool,style:l.default.object,value:l.default.any},m.defaultProps={minWidth:1,injectStyles:!0},t.default=m},function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),o=n(15),i=n(6),l=n.n(i),s=1073741823,u="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function c(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var f=a.a.createContext||function(e,t){var n,a,i="__create-react-context-"+function(){var e="__global_unique_id__";return u[e]=(u[e]||0)+1}()+"__",f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}Object(o.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o===1/i:o!==o&&i!==i)?n=0:(n="function"===typeof t?t(r,a):s,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[i]=l.a.object.isRequired,n);var d=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(o.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?s:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?s:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return d.contextTypes=((a={})[i]=l.a.object,a),{Provider:f,Consumer:d}};t.a=f}).call(this,n(85))},function(e,t,n){var r=n(86);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=d;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var f=n[0],d=n[1],p=n.index;if(l+=e.slice(i,p),i=p+f.length,d)l+=d[1];else{var m=e[i],h=n[2],v=n[3],b=n[4],g=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var O=null!=h&&null!=m&&m!==h,x="+"===y||"*"===y,E="?"===y||"*"===y,k=n[2]||c,S=b||g;r.push({name:v||o++,prefix:h||"",delimiter:k,optional:E,repeat:x,partial:O,asterisk:!!w,pattern:S?u(S):w?".*":"[^"+s(k)+"]+?"})}}return i>",l=o||n;if(null==t[n])return new Error("The "+a+" `"+l+"` is required to make `"+i+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,u=Array(s>5?s-5:0),c=5;ce.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},p=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},m=function(e){var t=p();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)};function h(e){return(h="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})(e)}function v(e,t){for(var n=0;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var k="mobile",S="tablet",C="smarttv",j="console",P="wearable",N=void 0,T={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},_={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},M={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},R=function(e,t,n,r){return function(e){for(var t=1;t1)&&!window.MSStream}(),be=A(),ge=m("iPhone"),ye=m("iPod"),we=function(){var e=p(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"===typeof t&&/electron/.test(t)}(),Oe=L(),xe=D()&&!L(),Ee=c.name===_.Windows,ke=c.name===_.MAC_OS,Se=l.name===T.MIUI,Ce=l.name===T.SamsungBrowser;t.AndroidView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return Y?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.BrowserTypes=T,t.BrowserView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return q?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.ConsoleView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return z?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.CustomView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=e.condition,s=x(e,["renderWithFragment","children","viewClassName","style","condition"]);return l?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},s),n):null},t.IEView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return ne?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.IOSView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return X?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.MobileOnlyView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return $?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.MobileView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return W?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.OsTypes=_,t.SmartTVView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return V?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.TabletView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return K?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.WearableView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return U?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.WinPhoneView=function(e){var t=e.renderWithFragment,n=e.children,r=e.viewClassName,i=e.style,l=x(e,["renderWithFragment","children","viewClassName","style"]);return G?t?o.createElement(a.Fragment,null,n):o.createElement("div",g({className:r,style:i},l),n):null},t.browserName=le,t.browserVersion=ie,t.deviceDetect=function(){var e=I.isBrowser,t=I.isMobile,n=I.isTablet,r=I.isSmartTV,a=I.isConsole,o=I.isWearable;return e?function(e,t,n,r,a){return{isBrowser:e,browserMajorVersion:d(t.major),browserFullVersion:d(t.version),browserName:d(t.name),engineName:d(n.name),engineVersion:d(n.version),osName:d(r.name),osVersion:d(r.version),userAgent:d(a)}}(e,l,u,c,f):r?function(e,t,n,r){return{isSmartTV:e,engineName:d(t.name),engineVersion:d(t.version),osName:d(n.name),osVersion:d(n.version),userAgent:d(r)}}(r,u,c,f):a?function(e,t,n,r){return{isConsole:e,engineName:d(t.name),engineVersion:d(t.version),osName:d(n.name),osVersion:d(n.version),userAgent:d(r)}}(a,u,c,f):t||n?R(I,s,c,f):o?function(e,t,n,r){return{isWearable:e,engineName:d(t.name),engineVersion:d(t.version),osName:d(n.name),osVersion:d(n.version),userAgent:d(r)}}(o,u,c,f):void 0},t.deviceType=he,t.engineName=ce,t.engineVersion=fe,t.fullBrowserVersion=oe,t.getUA=de,t.isAndroid=Y,t.isBrowser=q,t.isChrome=Z,t.isChromium=H,t.isConsole=z,t.isDesktop=Q,t.isEdge=pe,t.isEdgeChromium=Oe,t.isElectron=we,t.isFirefox=J,t.isIE=ne,t.isIOS=X,t.isIOS13=ve,t.isIPad13=be,t.isIPhone13=ge,t.isIPod13=ye,t.isLegacyEdge=xe,t.isMIUI=Se,t.isMacOs=ke,t.isMobile=W,t.isMobileOnly=$,t.isMobileSafari=B,t.isOpera=te,t.isSafari=ee,t.isSamsungBrowser=Ce,t.isSmartTV=V,t.isTablet=K,t.isWearable=U,t.isWinPhone=G,t.isWindows=Ee,t.isYandex=me,t.mobileModel=ue,t.mobileVendor=se,t.osName=ae,t.osVersion=re,t.withOrientationChange=function(e){return function(t){function n(e){var t,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),r=this,(t=!(a=w(n).call(this,e))||"object"!==typeof a&&"function"!==typeof a?E(r):a).isEventListenerAdded=!1,t.handleOrientationChange=t.handleOrientationChange.bind(E(t)),t.onOrientationChange=t.onOrientationChange.bind(E(t)),t.onPageLoad=t.onPageLoad.bind(E(t)),t.state={isLandscape:!1,isPortrait:!1},t}var r,a,i;return 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&&O(e,t)}(n,t),r=n,(a=[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var e=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:0===e,isLandscape:90===e})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){void 0!==("undefined"===typeof window?"undefined":h(window))&&W&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return o.createElement(e,g({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}])&&v(r.prototype,a),i&&v(r,i),n}(o.Component)}},function(e,t,n){"use strict";var r=n(2),a=n(0),o=n.n(a);var i=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?g(N,--j):0,S--,10===P&&(S=1,k--),P}function R(){return P=j2||D(P)>3?"":" "}function B(e,t){for(;--t&&R()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return F(e,L()+(t<6&&32==I()&&32==R()))}function H(e){for(;R();)switch(P){case e:return j;case 34:case 39:return H(34===e||39===e?e:P);case 40:41===e&&H(e);break;case 92:R()}return j}function W(e,t){for(;R()&&e+P!==57&&(e+P!==84||47!==I()););return"/*"+F(t,j-1)+"*"+m(47===e?e:R())}function $(e){for(;!D(I());)R();return F(e,j)}function K(e){return V(q("",null,null,null,[""],e=A(e),0,[0],e))}function q(e,t,n,r,a,o,i,l,s){for(var u=0,c=0,f=i,d=0,p=0,h=0,b=1,g=1,y=1,O=0,E="",k=a,S=o,C=r,j=E;g;)switch(h=O,O=R()){case 34:case 39:case 91:case 40:j+=z(O);break;case 9:case 10:case 13:case 32:j+=U(h);break;case 92:j+=B(L()-1,7);continue;case 47:switch(I()){case 42:case 47:x(Y(W(R(),L()),t,n),s);break;default:j+="/"}break;case 123*b:l[u++]=w(j)*y;case 125*b:case 59:case 0:switch(O){case 0:case 125:g=0;case 59+c:p>0&&w(j)-f&&x(p>32?G(j+";",r,n,f-1):G(v(j," ","")+";",r,n,f-2),s);break;case 59:j+=";";default:if(x(C=Q(j,t,n,u,c,a,l,E,k=[],S=[],f),o),123===O)if(0===c)q(j,t,C,C,k,o,f,l,S);else switch(d){case 100:case 109:case 115:q(e,C,C,r&&x(Q(e,C,C,0,0,a,l,E,a,k=[],f),S),a,S,f,l,r?k:S);break;default:q(j,C,C,C,[""],S,f,l,S)}}u=c=p=0,b=y=1,E=j="",f=i;break;case 58:f=1+w(j),p=h;default:if(b<1)if(123==O)--b;else if(125==O&&0==b++&&125==M())continue;switch(j+=m(O),O*b){case 38:y=c>0?1:(j+="\f",-1);break;case 44:l[u++]=(w(j)-1)*y,y=1;break;case 64:45===I()&&(j+=z(R())),d=I(),c=w(E=j+=$(L())),O++;break;case 45:45===h&&2==w(j)&&(b=0)}}return o}function Q(e,t,n,r,a,o,i,l,s,u,c){for(var d=a-1,m=0===a?o:[""],b=O(m),g=0,w=0,x=0;g0?m[E]+" "+k:v(k,/&\f/g,m[E])))&&(s[x++]=S);return T(e,t,n,0===a?f:l,s,u,c)}function Y(e,t,n){return T(e,t,n,c,m(P),y(e,2,-2),0)}function G(e,t,n,r){return T(e,t,n,d,y(e,0,r),y(e,r+1,-1),r)}function X(e,t){switch(function(e,t){return(((t<<2^g(e,0))<<2^g(e,1))<<2^g(e,2))<<2^g(e,3)}(e,t)){case 5103:return u+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+s+e+l+e+e;case 6828:case 4268:return u+e+l+e+e;case 6165:return u+e+l+"flex-"+e+e;case 5187:return u+e+v(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return u+e+l+"flex-item-"+v(e,/flex-|-self/,"")+e;case 4675:return u+e+l+"flex-line-pack"+v(e,/align-content|flex-|-self/,"")+e;case 5548:return u+e+l+v(e,"shrink","negative")+e;case 5292:return u+e+l+v(e,"basis","preferred-size")+e;case 6060:return u+"box-"+v(e,"-grow","")+u+e+l+v(e,"grow","positive")+e;case 4554:return u+v(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return v(v(v(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return v(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return v(v(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4095:case 3583:case 4068:case 2532:return v(e,/(.+)-inline(.+)/,u+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(w(e)-1-t>6)switch(g(e,t+1)){case 109:if(45!==g(e,t+4))break;case 102:return v(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+s+(108==g(e,t+3)?"$3":"$2-$3"))+e;case 115:return~b(e,"stretch")?X(v(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==g(e,t+1))break;case 6444:switch(g(e,w(e)-3-(~b(e,"!important")&&10))){case 107:return v(e,":",":"+u)+e;case 101:return v(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+u+(45===g(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+l+"$2box$3")+e}break;case 5936:switch(g(e,t+11)){case 114:return u+e+l+v(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+l+v(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+l+v(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return u+e+l+e+e}return e}function Z(e,t){for(var n="",r=O(e),a=0;a=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},fe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},de=/[A-Z]|^ms/g,pe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,me=function(e){return 45===e.charCodeAt(1)},he=function(e){return null!=e&&"boolean"!==typeof e},ve=te((function(e){return me(e)?e:e.replace(de,"-$&").toLowerCase()})),be=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(pe,(function(e,t,n){return ye={name:t,styles:n,next:ye},t}))}return 1===fe[e]||me(e)||"number"!==typeof t||0===t?t:t+"px"};function ge(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ye={name:n.name,styles:n.styles,next:ye},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ye={name:r.name,styles:r.styles,next:ye},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function De(e){return(De="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})(e)}var Ae=n(64),Ve=n.n(Ae);function ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t){for(var n=0;n-1}function ot(e){return at(e)?window.pageYOffset:e.scrollTop}function it(e,t){at(e)?window.scrollTo(0,t):e.scrollTop=t}function lt(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function st(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Je,a=ot(e),o=t-a,i=10,l=0;function s(){var t=lt(l+=i,a,o,n);it(e,t),l=p)return{placement:"bottom",maxHeight:t};if(E>=p&&!i)return o&&st(s,k,C),{placement:"bottom",maxHeight:t};if(!i&&E>=r||i&&O>=r)return o&&st(s,k,C),{placement:"bottom",maxHeight:i?O-g:E-g};if("auto"===a||i){var j=t,P=i?w:x;return P>=r&&(j=Math.min(P-g-l.controlHeight,t)),{placement:"top",maxHeight:j}}if("bottom"===a)return o&&it(s,k),{placement:"bottom",maxHeight:t};break;case"top":if(w>=p)return{placement:"top",maxHeight:t};if(x>=p&&!i)return o&&st(s,S,C),{placement:"top",maxHeight:t};if(!i&&x>=r||i&&w>=r){var N=t;return(!i&&x>=r||i&&w>=r)&&(N=i?w-y:x-y),o&&st(s,S,C),{placement:"top",maxHeight:N}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return u}var ht=function(e){return"auto"===e?"bottom":e},vt=Object(a.createContext)({getPortalPlacement:null}),bt=function(e){We(n,e);var t=Ze(n);function n(){var e;ze(this,n);for(var r=arguments.length,a=new Array(r),o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,h=f-d-u,v=!1;h>t&&l.current&&(r&&r(e),l.current=!1),m&&s.current&&(i&&i(e),s.current=!1),m&&t>h?(n&&!l.current&&n(e),p.scrollTop=f,v=!0,l.current=!0):!m&&-t>u&&(o&&!s.current&&o(e),p.scrollTop=0,v=!0,s.current=!0),v&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[]),d=Object(a.useCallback)((function(e){f(e,e.deltaY)}),[f]),p=Object(a.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),m=Object(a.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;f(e,t)}),[f]),h=Object(a.useCallback)((function(e){if(e){var t=!!pt&&{passive:!1};"function"===typeof e.addEventListener&&e.addEventListener("wheel",d,t),"function"===typeof e.addEventListener&&e.addEventListener("touchstart",p,t),"function"===typeof e.addEventListener&&e.addEventListener("touchmove",m,t)}}),[m,p,d]),v=Object(a.useCallback)((function(e){e&&("function"===typeof e.removeEventListener&&e.removeEventListener("wheel",d,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchstart",p,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchmove",m,!1))}),[m,p,d]);return Object(a.useEffect)((function(){if(t){var e=c.current;return h(e),function(){v(e)}}}),[t,h,v]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),l=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=Object(a.useRef)({}),i=Object(a.useRef)(null),l=Object(a.useCallback)((function(e){if(vn){var t=document.body,n=t&&t.style;if(r&&cn.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&bn<1){var a=parseInt(o.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,l=window.innerWidth-i+a||0;Object.keys(fn).forEach((function(e){var t=fn[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(l,"px"))}t&&hn()&&(t.addEventListener("touchmove",dn,gn),e&&(e.addEventListener("touchstart",mn,gn),e.addEventListener("touchmove",pn,gn))),bn+=1}}),[]),s=Object(a.useCallback)((function(e){if(vn){var t=document.body,n=t&&t.style;bn=Math.max(bn-1,0),r&&bn<1&&cn.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&hn()&&(t.removeEventListener("touchmove",dn,gn),e&&(e.removeEventListener("touchstart",mn,gn),e.removeEventListener("touchmove",pn,gn)))}}),[]);return Object(a.useEffect)((function(){if(t){var e=i.current;return l(e),function(){s(e)}}}),[t,l,s]),function(e){i.current=e}}({isEnabled:n});return Te(o.a.Fragment,null,n&&Te("div",{onClick:yn,css:wn}),t((function(e){i(e),l(e)})))}var xn={clearIndicator:Rt,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,a=r.colors,o=r.borderRadius,i=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?a.neutral5:a.neutral0,borderColor:t?a.neutral10:n?a.primary:a.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(a.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?a.primary:a.neutral30}}},dropdownIndicator:Mt,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,a=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?a.neutral10:a.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,a=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:a.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,a=r.colors,o=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?a.neutral60:a.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:wt,menu:function(e){var t,n=e.placement,r=e.theme,a=r.borderRadius,o=r.spacing,i=r.colors;return $e(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),$e(t,"backgroundColor",i.neutral0),$e(t,"borderRadius",a),$e(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),$e(t,"marginBottom",o.menuGutter),$e(t,"marginTop",o.menuGutter),$e(t,"position","absolute"),$e(t,"width","100%"),$e(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,a=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:a?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,a=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&a.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}}},noOptionsMessage:yt,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,a=e.theme,o=a.spacing,i=a.colors;return{label:"option",backgroundColor:r?i.primary:n?i.primary25:"transparent",color:t?i.neutral20:r?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?i.primary:i.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,a=n.colors;return{label:"singleValue",color:t?a.neutral40:a.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var En,kn={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Sn={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ut(),captureMenuScroll:!ut(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var n=Ye({ignoreCase:!0,ignoreAccents:!0,stringify:sn,trim:!0,matchFrom:"any"},En),r=n.ignoreCase,a=n.ignoreAccents,o=n.stringify,i=n.trim,l=n.matchFrom,s=i?ln(t):t,u=i?ln(o(e)):o(e);return r&&(s=s.toLowerCase(),u=u.toLowerCase()),a&&(s=on(s),u=an(u)),"start"===l?u.substr(0,s.length)===s:u.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(l){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};function Cn(e,t,n,r){return{type:"option",data:t,isDisabled:Mn(e,t,n),isSelected:Rn(e,t,n),label:Tn(e,t),value:_n(e,t),index:r}}function jn(e,t){return e.options.map((function(n,r){if(n.options){var a=n.options.map((function(n,r){return Cn(e,n,t,r)})).filter((function(t){return Nn(e,t)}));return a.length>0?{type:"group",data:n,options:a,index:r}:void 0}var o=Cn(e,n,t,r);return Nn(e,o)?o:void 0})).filter((function(e){return!!e}))}function Pn(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,Wt(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Nn(e,t){var n=e.inputValue,r=void 0===n?"":n,a=t.data,o=t.isSelected,i=t.label,l=t.value;return(!Ln(e)||!o)&&In(e,{label:i,value:l,data:a},r)}var Tn=function(e,t){return e.getOptionLabel(t)},_n=function(e,t){return e.getOptionValue(t)};function Mn(e,t,n){return"function"===typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Rn(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"===typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=_n(e,t);return n.some((function(t){return _n(e,t)===r}))}function In(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Ln=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Fn=1,Dn=function(e){We(n,e);var t=Ze(n);function n(e){var r;return ze(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,a=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),a(e,t)},r.setValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,a=r.props,o=a.closeMenuOnSelect,i=a.isMulti;r.onInputChange("",{action:"set-value"}),o&&(r.setState({inputIsHiddenAfterUpdate:!i}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,a=t.isMulti,o=t.name,i=r.state.selectValue,l=a&&r.isOptionSelected(e,i),s=r.isOptionDisabled(e,i);if(l){var u=r.getOptionValue(e);r.setValue(i.filter((function(e){return r.getOptionValue(e)!==u})),"deselect-option",e)}else{if(s)return void r.ariaOnChange(e,{action:"select-option",name:o});a?r.setValue([].concat(Wt(i),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,a=r.getOptionValue(e),o=n.filter((function(e){return r.getOptionValue(e)!==a})),i=t?o:o[0]||null;r.onChange(i,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(r.props.isMulti?[]:null,{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],a=t.slice(0,t.length-1),o=e?a:a[0]||null;r.onChange(o,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(t,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return Ln(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,a=t.backspaceRemovesValue,o=t.escapeClearsValue,i=t.inputValue,l=t.isClearable,s=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,f=t.tabSelectsValue,d=t.openMenuOnFocus,p=r.state,m=p.focusedOption,h=p.focusedValue,v=p.selectValue;if(!s&&("function"!==typeof c||(c(e),!e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||i)return;r.focusValue("previous");break;case"ArrowRight":if(!n||i)return;r.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(h)r.removeValue(h);else{if(!a)return;n?r.popValue():l&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!f||!m||d&&r.isOptionSelected(m,v))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(u){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):l&&o&&r.clearValue();break;case" ":if(i)return;if(!u){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++Fn),r.state.selectValue=nt(e.value),r}return Be(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,a=this.state.isFocused;(a&&!n&&e.isDisabled||a&&r&&!e.menuIsOpen)&&this.focusInput(),a&&n&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(!function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=t.offsetHeight/3;r.bottom+a>n.bottom?it(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a-1&&(i=l)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=n.indexOf(r);r||(a=-1);var o=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===a?0:-1===a?o:a-1;break;case"next":a>-1&&a0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var a=0,o=r.indexOf(n);n||(o=-1),"up"===e?a=o>0?o-1:r.length-1:"down"===e?a=(o+1)%r.length:"pageup"===e?(a=o-t)<0&&(a=0):"pagedown"===e?(a=o+t)>r.length-1&&(a=r.length-1):"last"===e&&(a=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[a],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(kn):Ye(Ye({},kn),this.props.theme):kn}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,a=this.selectOption,o=this.setValue,i=this.props,l=i.isMulti,s=i.isRtl,u=i.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:s,options:u,selectOption:a,selectProps:i,setValue:o,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Mn(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Rn(this.props,e,t)}},{key:"filterOption",value:function(e,t){return In(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,i=e.inputValue,l=e.tabIndex,s=e.form,u=this.getComponents().Input,c=this.state.inputIsHidden,f=this.commonProps,d=a||this.getElementId("input"),p={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};return n?o.a.createElement(u,Object(r.a)({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:d,innerRef:this.getInputRef,isDisabled:t,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:s,type:"text",value:i},p)):o.a.createElement(un,Object(r.a)({id:d,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Je,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:l,form:s,value:""},p))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,a=t.MultiValueContainer,i=t.MultiValueLabel,l=t.MultiValueRemove,s=t.SingleValue,u=t.Placeholder,c=this.commonProps,f=this.props,d=f.controlShouldRenderValue,p=f.isDisabled,m=f.isMulti,h=f.inputValue,v=f.placeholder,b=this.state,g=b.selectValue,y=b.focusedValue,w=b.isFocused;if(!this.hasValue()||!d)return h?null:o.a.createElement(u,Object(r.a)({},c,{key:"placeholder",isDisabled:p,isFocused:w}),v);if(m)return g.map((function(t,s){var u=t===y;return o.a.createElement(n,Object(r.a)({},c,{components:{Container:a,Label:i,Remove:l},isFocused:u,isDisabled:p,key:"".concat(e.getOptionValue(t)).concat(s),index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var O=g[0];return o.a.createElement(s,Object(r.a)({},c,{data:O,isDisabled:p}),this.formatOptionLabel(O,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,i=n.isLoading,l=this.state.isFocused;if(!this.isClearable()||!e||a||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.a.createElement(e,Object(r.a)({},t,{innerProps:s,isFocused:l}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,a=n.isDisabled,i=n.isLoading,l=this.state.isFocused;if(!e||!i)return null;return o.a.createElement(e,Object(r.a)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:a,isFocused:l}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var a=this.commonProps,i=this.props.isDisabled,l=this.state.isFocused;return o.a.createElement(n,Object(r.a)({},a,{isDisabled:i,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,a=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.a.createElement(e,Object(r.a)({},t,{innerProps:i,isDisabled:n,isFocused:a}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,a=t.GroupHeading,i=t.Menu,l=t.MenuList,s=t.MenuPortal,u=t.LoadingMessage,c=t.NoOptionsMessage,f=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,v=m.inputValue,b=m.isLoading,g=m.loadingMessage,y=m.minMenuHeight,w=m.maxMenuHeight,O=m.menuIsOpen,x=m.menuPlacement,E=m.menuPosition,k=m.menuPortalTarget,S=m.menuShouldBlockScroll,C=m.menuShouldScrollIntoView,j=m.noOptionsMessage,P=m.onMenuScrollToTop,N=m.onMenuScrollToBottom;if(!O)return null;var T,_=function(t,n){var a=t.type,i=t.data,l=t.isDisabled,s=t.isSelected,u=t.label,c=t.value,m=p===i,h=l?void 0:function(){return e.onOptionHover(i)},v=l?void 0:function(){return e.selectOption(i)},b="".concat(e.getElementId("option"),"-").concat(n),g={id:b,onClick:v,onMouseMove:h,onMouseOver:h,tabIndex:-1};return o.a.createElement(f,Object(r.a)({},d,{innerProps:g,data:i,isDisabled:l,isSelected:s,key:b,label:u,type:a,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var i=t.data,l=t.options,s=t.index,u="".concat(e.getElementId("group"),"-").concat(s),c="".concat(u,"-heading");return o.a.createElement(n,Object(r.a)({},d,{key:u,data:i,options:l,Heading:a,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return _(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return _(t,"".concat(t.index))}));else if(b){var M=g({inputValue:v});if(null===M)return null;T=o.a.createElement(u,d,M)}else{var R=j({inputValue:v});if(null===R)return null;T=o.a.createElement(c,d,R)}var I={minMenuHeight:y,maxMenuHeight:w,menuPlacement:x,menuPosition:E,menuShouldScrollIntoView:C},L=o.a.createElement(bt,Object(r.a)({},d,I),(function(t){var n=t.ref,a=t.placerProps,s=a.placement,u=a.maxHeight;return o.a.createElement(i,Object(r.a)({},d,I,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:b,placement:s}),o.a.createElement(On,{captureEnabled:h,onTopArrive:P,onBottomArrive:N,lockEnabled:S},(function(t){return o.a.createElement(l,Object(r.a)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:b,maxHeight:u,focusedOption:p}),T)})))}));return k||"fixed"===E?o.a.createElement(s,Object(r.a)({},d,{appendTo:k,controlElement:this.controlRef,menuPlacement:x,menuPosition:E}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,a=t.isMulti,i=t.name,l=this.state.selectValue;if(i&&!r){if(a){if(n){var s=l.map((function(t){return e.getOptionValue(t)})).join(n);return o.a.createElement("input",{name:i,type:"hidden",value:s})}var u=l.length>0?l.map((function(t,n){return o.a.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):o.a.createElement("input",{name:i,type:"hidden"});return o.a.createElement("div",null,u)}var c=l[0]?this.getOptionValue(l[0]):"";return o.a.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,a=t.focusedOption,i=t.focusedValue,l=t.isFocused,s=t.selectValue,u=this.getFocusableOptions();return o.a.createElement(Xt,Object(r.a)({},e,{ariaSelection:n,focusedOption:a,focusedValue:i,isFocused:l,selectValue:s,focusableOptions:u}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,a=e.SelectContainer,i=e.ValueContainer,l=this.props,s=l.className,u=l.id,c=l.isDisabled,f=l.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return o.a.createElement(a,Object(r.a)({},p,{className:s,innerProps:{id:u,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),o.a.createElement(t,Object(r.a)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:f}),o.a.createElement(i,Object(r.a)({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),o.a.createElement(n,Object(r.a)({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,o=e.options,i=e.value,l=e.menuIsOpen,s=e.inputValue,u={};if(n&&(i!==n.value||o!==n.options||l!==n.menuIsOpen||s!==n.inputValue)){var c=nt(i),f=l?function(e,t){return Pn(jn(e,t))}(e,c):[],d=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r-1?n:t[0]}(t,f),focusedValue:d,clearFocusValueOnUpdate:!1}}var p=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{};return Ye(Ye(Ye({},u),p),{},{prevProps:e})}}]),n}(a.Component);Dn.defaultProps=Sn;var An={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Vn=(n(89),n(94),n(96),n(97),n(98),a.Component,function(e){var t,n;return n=t=function(t){We(a,t);var n=Ze(a);function a(){var e;ze(this,a);for(var t=arguments.length,r=new Array(t),o=0;o1?n-1:0),a=1;a=n.length&&(o=0),o<0&&(o=n.length-1),n[o]},P=function(e,t){null!=e&&(c&&c(e,t),k&&k(e,t))};Object(l.useEffect)((function(){if(C.current&&E.current){var e=C.current.querySelector("[data-rb-event-key].active");e&&e.focus()}E.current=!1}));var N=Object(h.a)(t,C);return s.a.createElement(b.a.Provider,{value:P},s.a.createElement(v.a.Provider,{value:{role:d,activeKey:Object(b.b)(f),getControlledId:n||y,getControllerId:o||y}},s.a.createElement(u,Object(r.a)({},O,{onKeyDown:function(e){var t;switch(w&&w(e),e.key){case"ArrowLeft":case"ArrowUp":t=j(-1);break;case"ArrowRight":case"ArrowDown":t=j(1);break;default:return}t&&(e.preventDefault(),P(t.dataset.rbEventKey,e),E.current=!0,x())},ref:N,role:d}))))})),O=n(52),x=n(59),E=s.a.forwardRef((function(e,t){var n,o,p,m=Object(u.a)(e,{activeKey:"onSelect"}),h=m.as,v=void 0===h?"div":h,b=m.bsPrefix,g=m.variant,y=m.fill,O=m.justify,x=m.navbar,E=m.className,k=m.children,S=m.activeKey,C=Object(a.a)(m,["as","bsPrefix","variant","fill","justify","navbar","className","children","activeKey"]),j=Object(c.a)(b,"nav"),P=!1,N=Object(l.useContext)(f.a),T=Object(l.useContext)(d.a);return N?(o=N.bsPrefix,P=null==x||x):T&&(p=T.cardHeaderBsPrefix),s.a.createElement(w,Object(r.a)({as:v,ref:t,activeKey:S,className:i()(E,(n={},n[j]=!P,n[o+"-nav"]=P,n[p+"-"+g]=!!p,n[j+"-"+g]=!!g,n[j+"-fill"]=y,n[j+"-justified"]=O,n))},C),k)}));E.displayName="Nav",E.defaultProps={justify:!1,fill:!1},E.Item=O.a,E.Link=x.a;t.a=E},function(e,t,n){"use strict";var r=n(63),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,l=60110,s=60112;t.Suspense=60113;var u=60115,c=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;a=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),i=f("react.provider"),l=f("react.context"),s=f("react.forward_ref"),t.Suspense=f("react.suspense"),u=f("react.memo"),c=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n