diff --git a/.gitignore b/.gitignore
index e6227220..643ee611 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
# Generated by Cargo
# will have compiled files and executables
/target/
-
+/ui/build/*
.DS_Store
# These are backup files generated by rustfmt
**/*.rs.bk
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..0705c8e8
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,4 @@
+#This is a no-op dockerfile for local development. When deploying to devices, Dockerfile.template will be used by balena
+FROM alpine
+
+CMD ["sleep","infinity"]
\ No newline at end of file
diff --git a/Dockerfile.template b/Dockerfile.template
index c62564e5..a9fad059 100644
--- a/Dockerfile.template
+++ b/Dockerfile.template
@@ -1,6 +1,6 @@
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian
-RUN install_packages dnsmasq wireless-tools
+RUN install_packages dnsmasq wireless-tools unzip
WORKDIR /usr/src/app
@@ -9,5 +9,10 @@ RUN curl -Ls "https://github.com/balena-io/wifi-connect/releases/download/v$VERS
| tar -xvz -C /usr/src/app/
COPY scripts/start.sh .
+COPY ui/built.zip .
+RUN unzip ./built.zip
+RUN rm -rf ui
+RUN mv build ui
+
CMD ["bash", "start.sh"]
diff --git a/README.md b/README.md
index d7544b72..56f7babf 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+_Minimal fork of balena wifi-connect: we take over the UI and, for now, always go into hotspot mode... the goal is to reintigrate the core functionality_
+
> Easy WiFi setup for Linux devices from your mobile phone or laptop
@@ -13,17 +15,16 @@ WiFi Connect is a utility for dynamically setting the WiFi configuration on a Li
an open source :satellite: project by balena.io
-***
+---
-[**Download**][DOWNLOAD] | [**How it works**](#how-it-works) | [**Installation**](#installation) | [**Support**](#support) | [**Roadmap**][MILESTONES]
+[**Download**][download] | [**How it works**](#how-it-works) | [**Installation**](#installation) | [**Support**](#support) | [**Roadmap**][milestones]
-[DOWNLOAD]: https://github.com/balena-io/wifi-connect/releases/latest
-[MILESTONES]: https://github.com/balena-io/wifi-connect/milestones
+[download]: https://github.com/balena-io/wifi-connect/releases/latest
+[milestones]: https://github.com/balena-io/wifi-connect/milestones

-How it works
-------------
+## How it works
WiFi Connect interacts with NetworkManager, which should be the active network manager on the device's host OS.
@@ -53,10 +54,9 @@ For a complete list of command line arguments and environment variables check ou
The full application flow is illustrated in the [state flow diagram](./docs/state-flow-diagram.md).
-***
+---
-Installation
-------------
+## Installation
WiFi Connect is designed to work on systems like Raspbian or Debian, or run in a docker container on top of balenaOS.
@@ -71,18 +71,21 @@ Run the following in your terminal, then follow the onscreen instructions:
### balenaOS
WiFi Connect can be integrated with a [balena.io](http://balena.io) application. (New to balena.io? Check out the [Getting Started Guide](https://balena.io/docs/#/pages/installing/gettingStarted.md).) This integration is accomplished through the use of two shared files:
+
- The [Dockerfile template](./Dockerfile.template) manages dependencies. The example included here has everything necessary for WiFi Connect. Application dependencies need to be added. For help with Dockerfiles, take a look at this [guide](https://balena.io/docs/deployment/dockerfile/).
-- The [start script](./scripts/start.sh) should contain the commands that run the application. Adding these commands at the end of the script will ensure that everything kicks off after WiFi is correctly configured.
-An example of using WiFi Connect in a Python project can be found [here](https://github.com/balena-io-projects/balena-wifi-connect-example).
+- The [start script](./scripts/start.sh) should contain the commands that run the application. Adding these commands at the end of the script will ensure that everything kicks off after WiFi is correctly configured.
+ An example of using WiFi Connect in a Python project can be found [here](https://github.com/balena-io-projects/balena-wifi-connect-example).
### balenaOS: multicontainer app
To use WiFi Connect on a multicontainer app you need to:
+
- Set container network mode to host
- Enable DBUS by adding the required label and environment variable (more on [balenaOS dbus](https://www.balena.io/docs/learn/develop/runtime/#dbus-communication-with-host-os))
- Grant the container Network Admin capabilities
Your `docker-compose.yml` file should look like this:
+
```yaml
version: "2.1"
@@ -99,44 +102,41 @@ services:
...
```
-***
+---
-Supported boards / dongles
---------------------------
+## Supported boards / dongles
WiFi Connect has been successfully tested using the following WiFi dongles:
-Dongle | Chip
--------------------------------------------|-------------------
-[TP-LINK TL-WN722N](http://bit.ly/1P1MdAG) | Atheros AR9271
-[ModMyPi](http://bit.ly/1gY3IHF) | Ralink RT3070
-[ThePiHut](http://bit.ly/1LfkCgZ) | Ralink RT5370
+| Dongle | Chip |
+| ------------------------------------------ | -------------- |
+| [TP-LINK TL-WN722N](http://bit.ly/1P1MdAG) | Atheros AR9271 |
+| [ModMyPi](http://bit.ly/1gY3IHF) | Ralink RT3070 |
+| [ThePiHut](http://bit.ly/1LfkCgZ) | Ralink RT5370 |
It has also been successfully tested with the onboard WiFi on a Raspberry Pi 3.
-Given these results, it is probable that most dongles with *Atheros* or *Ralink* chipsets will work.
+Given these results, it is probable that most dongles with _Atheros_ or _Ralink_ chipsets will work.
The following dongles are known **not** to work (as the driver is not friendly with access point mode or NetworkManager):
-* Official Raspberry Pi dongle (BCM43143 chip)
-* Addon NWU276 (Mediatek MT7601 chip)
-* Edimax (Realtek RTL8188CUS chip)
+- Official Raspberry Pi dongle (BCM43143 chip)
+- Addon NWU276 (Mediatek MT7601 chip)
+- Edimax (Realtek RTL8188CUS chip)
Dongles with similar chipsets will probably not work.
WiFi Connect is expected to work with all balena.io [supported boards](https://www.balena.io/docs/reference/hardware/devices/) as long as they have the [compatible dongles](https://www.balena.io/docs/reference/hardware/wifi-dongles/).
-***
+---
-Support
--------
+## Support
If you're having any problem, please [raise an issue](https://github.com/balena-io/wifi-connect/issues/new) on GitHub or [contact us](https://balena.io/community/), and the balena.io team will be happy to help.
-***
+---
-License
--------
+## License
WiFi Connect is free software, and may be redistributed under the terms specified in
the [license](https://github.com/balena-io/wifi-connect/blob/master/LICENSE).
diff --git a/scripts/start.sh b/scripts/start.sh
index 210d32e6..2b539e84 100755
--- a/scripts/start.sh
+++ b/scripts/start.sh
@@ -20,13 +20,27 @@ export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
# wget --spider http://google.com 2>&1
# 4. Is there an active WiFi connection?
+# iwgetid -r
+echo "192.168.42.1 samizdapp.localhost" >> /etc/hosts
+echo "192.168.42.1 samizdapp.local" >> /etc/hosts
+ETH=$(ip a show eth0 up | grep inet)
iwgetid -r
+
+
if [ $? -eq 0 ]; then
- printf 'Skipping WiFi Connect\n'
+ echo 'Have WiFi Connect\n'
+ if [ -z "$ETH" ]; then
+ echo "no ethernet, do nothing"
+ else
+ echo "have wifi + ethernet, enable hotspot"
+ printf 'Starting WiFi Connect\n'
+ ./wifi-connect --portal-listening-port 8000
+ fi
else
- printf 'Starting WiFi Connect\n'
- ./wifi-connect
+ echo "no wifi, start hotspot"
+ printf 'Starting WiFi Connect\n'
+ ./wifi-connect --portal-listening-port 8000
fi
# Start your application here.
diff --git a/ui/build/asset-manifest.json b/ui/build/asset-manifest.json
index caf283dc..dfd185da 100644
--- a/ui/build/asset-manifest.json
+++ b/ui/build/asset-manifest.json
@@ -1,19 +1,17 @@
{
"files": {
- "main.js": "/static/js/main.2b22a9e9.chunk.js",
- "runtime-main.js": "/static/js/runtime-main.2a78626f.js",
- "static/css/2.c38cd9da.chunk.css": "/static/css/2.c38cd9da.chunk.css",
- "static/js/2.ef060f46.chunk.js": "/static/js/2.ef060f46.chunk.js",
- "index.html": "/index.html",
- "precache-manifest.96ed21ec05e3b25e96ee640119b0334b.js": "/precache-manifest.96ed21ec05e3b25e96ee640119b0334b.js",
- "service-worker.js": "/service-worker.js",
- "static/js/2.ef060f46.chunk.js.LICENSE.txt": "/static/js/2.ef060f46.chunk.js.LICENSE.txt",
- "static/media/logo.svg": "/static/media/logo.34c0c94e.svg"
+ "main.js": "/smz/wifi/static/js/main.b8c90bd6.chunk.js",
+ "runtime-main.js": "/smz/wifi/static/js/runtime-main.15b16ed2.js",
+ "static/js/2.de958b6e.chunk.js": "/smz/wifi/static/js/2.de958b6e.chunk.js",
+ "index.html": "/smz/wifi/index.html",
+ "precache-manifest.aa991961e7b4bee7b6d5cc3ba810d207.js": "/smz/wifi/precache-manifest.aa991961e7b4bee7b6d5cc3ba810d207.js",
+ "service-worker.js": "/smz/wifi/service-worker.js",
+ "static/js/2.de958b6e.chunk.js.LICENSE.txt": "/smz/wifi/static/js/2.de958b6e.chunk.js.LICENSE.txt",
+ "static/media/logo.svg": "/smz/wifi/static/media/logo.34c0c94e.svg"
},
"entrypoints": [
- "static/js/runtime-main.2a78626f.js",
- "static/css/2.c38cd9da.chunk.css",
- "static/js/2.ef060f46.chunk.js",
- "static/js/main.2b22a9e9.chunk.js"
+ "static/js/runtime-main.15b16ed2.js",
+ "static/js/2.de958b6e.chunk.js",
+ "static/js/main.b8c90bd6.chunk.js"
]
}
\ No newline at end of file
diff --git a/ui/build/index.html b/ui/build/index.html
index a91af653..8f4458ef 100644
--- a/ui/build/index.html
+++ b/ui/build/index.html
@@ -1 +1 @@
-WiFi Connect You need to enable JavaScript to run this app.
\ No newline at end of file
+WiFi Connect You need to enable JavaScript to run this app.
\ No newline at end of file
diff --git a/ui/build/precache-manifest.96ed21ec05e3b25e96ee640119b0334b.js b/ui/build/precache-manifest.96ed21ec05e3b25e96ee640119b0334b.js
deleted file mode 100644
index 0d154b44..00000000
--- a/ui/build/precache-manifest.96ed21ec05e3b25e96ee640119b0334b.js
+++ /dev/null
@@ -1,30 +0,0 @@
-self.__precacheManifest = (self.__precacheManifest || []).concat([
- {
- "revision": "210cdfec75f8819cf88af6d7c1143fa7",
- "url": "/index.html"
- },
- {
- "revision": "bef5f9e0837401d4a7df",
- "url": "/static/css/2.c38cd9da.chunk.css"
- },
- {
- "revision": "bef5f9e0837401d4a7df",
- "url": "/static/js/2.ef060f46.chunk.js"
- },
- {
- "revision": "28ce00ad444b69bea42850e06eec9da3",
- "url": "/static/js/2.ef060f46.chunk.js.LICENSE.txt"
- },
- {
- "revision": "c0cd579ca18a0480cc24",
- "url": "/static/js/main.2b22a9e9.chunk.js"
- },
- {
- "revision": "0e903404fe668039b1a7",
- "url": "/static/js/runtime-main.2a78626f.js"
- },
- {
- "revision": "34c0c94e712ddb861346d68dfb00ab87",
- "url": "/static/media/logo.34c0c94e.svg"
- }
-]);
\ No newline at end of file
diff --git a/ui/build/service-worker.js b/ui/build/service-worker.js
index b796d4ba..3a5c38e4 100644
--- a/ui/build/service-worker.js
+++ b/ui/build/service-worker.js
@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
- "/precache-manifest.96ed21ec05e3b25e96ee640119b0334b.js"
+ "/smz/wifi/precache-manifest.aa991961e7b4bee7b6d5cc3ba810d207.js"
);
self.addEventListener('message', (event) => {
@@ -33,7 +33,7 @@ workbox.core.clientsClaim();
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
-workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), {
+workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/smz/wifi/index.html"), {
- blacklist: [/^\/_/,/\/[^\/?]+\.[^\/]+$/],
+ blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});
diff --git a/ui/build/static/css/2.c38cd9da.chunk.css b/ui/build/static/css/2.c38cd9da.chunk.css
deleted file mode 100644
index bf9fe198..00000000
--- a/ui/build/static/css/2.c38cd9da.chunk.css
+++ /dev/null
@@ -1 +0,0 @@
-code[class*=language-],pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}
\ No newline at end of file
diff --git a/ui/build/static/js/2.ef060f46.chunk.js b/ui/build/static/js/2.ef060f46.chunk.js
deleted file mode 100644
index d36d6a1c..00000000
--- a/ui/build/static/js/2.ef060f46.chunk.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see 2.ef060f46.chunk.js.LICENSE.txt */
-(this["webpackJsonpwifi-connect-ui"]=this["webpackJsonpwifi-connect-ui"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(484)},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ServerStyleSheet",(function(){return Fe})),n.d(t,"StyleSheetConsumer",(function(){return Q})),n.d(t,"StyleSheetContext",(function(){return X})),n.d(t,"StyleSheetManager",(function(){return re})),n.d(t,"ThemeConsumer",(function(){return Ce})),n.d(t,"ThemeContext",(function(){return ke})),n.d(t,"ThemeProvider",(function(){return xe})),n.d(t,"__PRIVATE__",(function(){return Be})),n.d(t,"createGlobalStyle",(function(){return Le})),n.d(t,"css",(function(){return de})),n.d(t,"isStyledComponent",(function(){return E})),n.d(t,"keyframes",(function(){return Me})),n.d(t,"useTheme",(function(){return Ue})),n.d(t,"version",(function(){return He})),n.d(t,"withTheme",(function(){return je}));var r=n(77),a=n(0),i=n.n(a),o=n(426),s=n.n(o),l=n(427),c=n(428),u=n(477),d=n(266),p=n.n(d);function f(){return(f=Object.assign||function(e){for(var t=1;t1?t-1:0),r=1;r0?" Additional arguments: "+n.join(", "):""))}var k=function(e){var t=document.head,n=e||t,r=document.createElement("style"),a=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(T))return r}}(n),i=void 0!==a?a.nextSibling:null;r.setAttribute(T,"active"),r.setAttribute("data-styled-version","5.0.1");var o=A();return o&&r.setAttribute("nonce",o),n.insertBefore(r,i),r},C=function(){function e(e){var t=this.element=k(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)(a<<=1)<0&&w(16,""+e);this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i =D&&(D=t+1),R.set(e,t),P.set(t,e)},j="style["+T+'][data-styled-version="5.0.1"]',U=/(?:\s*)?(.*?){((?:{[^}]*}|(?!{).*?)*)}/g,B=new RegExp("^"+T+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\]'),H=function(e,t,n){for(var r,a=n.split(","),i=0,o=a.length;i0&&(c+=e+",")})),r+=""+s+l+'{content:"'+c+'"}\n'}}}return r}(this)},e}(),W=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},K=function(e){return W(5381,e)};var q=/^\s*\/\/.*$/gm;function Y(e){var t,n,r,a=void 0===e?b:e,i=a.options,o=void 0===i?b:i,s=a.plugins,c=void 0===s?g:s,u=new l.a(o),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(n){}}return function(n,r,a,i,o,s,l,c,u,d){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(a[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),f=function(e,r,a){return r>0&&-1!==a.slice(0,r).indexOf(n)&&a.slice(r-n.length,r)!==n?"."+t:e};function m(e,a,i,o){void 0===o&&(o="&");var s=e.replace(q,""),l=a&&i?i+" "+a+" { "+s+" }":s;return t=o,n=a,r=new RegExp("\\"+n+"\\b","g"),u(i||!a?"":a,l)}return u.use([].concat(c,[function(e,t,a){2===e&&a.length&&a[0].lastIndexOf(n)>0&&(a[0]=a[0].replace(r,f))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=c.length?c.reduce((function(e,t){return t.name||w(15),W(e,t.name)}),5381).toString():"",m}var X=i.a.createContext(),Q=X.Consumer,Z=i.a.createContext(),J=(Z.Consumer,new V),ee=Y();function te(){return Object(a.useContext)(X)||J}function ne(){return Object(a.useContext)(Z)||ee}function re(e){var t=Object(a.useState)(e.stylisPlugins),n=t[0],r=t[1],o=te(),l=Object(a.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target})),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),c=Object(a.useMemo)((function(){return Y({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return Object(a.useEffect)((function(){s()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),i.a.createElement(X.Provider,{value:l},i.a.createElement(Z.Provider,{value:c},e.children))}var ae=function(){function e(e,t){var n=this;this.inject=function(e){e.hasNameForId(n.id,n.name)||e.insertRules(n.id,n.name,ee.apply(void 0,n.stringifyArgs))},this.toString=function(){return w(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.stringifyArgs=t}return e.prototype.getName=function(){return this.name},e}(),ie=/([A-Z])/g,oe=/^ms-/;function se(e){return e.replace(ie,"-$1").toLowerCase().replace(oe,"-ms-")}var le=function(e){return void 0===e||null===e||!1===e||""===e},ce=function e(t,n){var r=[];return Object.keys(t).forEach((function(n){if(!le(t[n])){if(h(t[n]))return r.push.apply(r,e(t[n],n)),r;if(v(t[n]))return r.push(se(n)+":",t[n],";"),r;r.push(se(n)+": "+(a=n,null==(i=t[n])||"boolean"===typeof i||""===i?"":"number"!==typeof i||0===i||a in c.a?String(i).trim():i+"px")+";")}var a,i;return r})),n?[n+" {"].concat(r,["}"]):r};function ue(e,t,n){if(Array.isArray(e)){for(var r,a=[],i=0,o=e.length;i1?t-1:0),r=1;r1?t-1:0),r=1;r25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=be(t%52)+n;return(be(t%52)+n).replace(ge,"$1-$2")}function ye(e){for(var t=0;t>>0);if(!t.hasNameForId(r,i)){var o=n(a,"."+i,void 0,r);t.insertRules(r,i,o)}return this.staticRulesId=i,i}for(var s=this.rules.length,l=W(this.baseHash,n.hash),c="",u=0;u>>0);if(!t.hasNameForId(r,m)){var h=n(c,"."+m,void 0,r);t.insertRules(r,m,h)}return m},e}(),Te=(new Set,function(e,t,n){return void 0===n&&(n=b),e.theme!==n.theme&&e.theme||t||n.theme}),_e=/[[\].#*$><+~=|^:(),"'`-]+/g,Se=/(^-|-$)/g;function Oe(e){return e.replace(_e,"-").replace(Se,"")}function Ae(e){return"string"===typeof e&&!0}var we=function(e){return ve(K(e)>>>0)};var ke=i.a.createContext(),Ce=ke.Consumer;function xe(e){var t=Object(a.useContext)(ke),n=Object(a.useMemo)((function(){return function(e,t){return e?v(e)?e(t):Array.isArray(e)||"object"!==typeof e?w(8):t?f({},t,{},e):e:w(14)}(e.theme,t)}),[e.theme,t]);return e.children?i.a.createElement(ke.Provider,{value:n},e.children):null}var Ne={};function Ie(e,t,n){var r=e.attrs,i=e.componentStyle,o=e.defaultProps,s=e.foldedComponentIds,l=e.styledComponentId,c=e.target;Object(a.useDebugValue)(l);var d=function(e,t,n){void 0===e&&(e=b);var r=f({},t,{theme:e}),a={};return n.forEach((function(e){var t,n,i,o=e;for(t in v(o)&&(o=o(r)),o)r[t]=a[t]="className"===t?(n=a[t],i=o[t],n&&i?n+" "+i:n||i):o[t]})),[r,a]}(Te(t,Object(a.useContext)(ke),o)||b,t,r),p=d[0],m=d[1],h=function(e,t,n,r){var i=te(),o=ne(),s=e.isStatic&&!t?e.generateAndInjectStyles(b,i,o):e.generateAndInjectStyles(n,i,o);return Object(a.useDebugValue)(s),s}(i,r.length>0,p),g=n,y=m.as||t.as||c,E=Ae(y),T=m!==t?f({},t,{},m):t,_=E||"as"in T||"forwardedAs"in T,S=_?{}:f({},T);if(_)for(var O in T)"forwardedAs"===O?S.as=T[O]:"as"===O||"forwardedAs"===O||E&&!Object(u.a)(O)||(S[O]=T[O]);return t.style&&m.style!==t.style&&(S.style=f({},t.style,{},m.style)),S.className=Array.prototype.concat(s,l,h!==l?h:null,t.className,m.className).filter(Boolean).join(" "),S.ref=g,Object(a.createElement)(y,S)}function Re(e,t,n){var r,a=E(e),o=!Ae(e),s=t.displayName,l=void 0===s?function(e){return Ae(e)?"styled."+e:"Styled("+y(e)+")"}(e):s,c=t.componentId,u=void 0===c?function(e,t){var n="string"!==typeof e?"sc":Oe(e);Ne[n]=(Ne[n]||0)+1;var r=n+"-"+we(n+Ne[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):c,d=t.attrs,m=void 0===d?g:d,h=t.displayName&&t.componentId?Oe(t.displayName)+"-"+t.componentId:t.componentId||u,b=a&&e.attrs?Array.prototype.concat(e.attrs,m).filter(Boolean):m,v=new Ee(a?e.componentStyle.rules.concat(n):n,h),T=function(e,t){return Ie(r,e,t)};return T.displayName=l,(r=i.a.forwardRef(T)).attrs=b,r.componentStyle=v,r.displayName=l,r.foldedComponentIds=a?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):g,r.styledComponentId=h,r.target=a?e.target:e,r.withComponent=function(e){var r=t.componentId,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(t,["componentId"]),i=r&&r+"-"+(Ae(e)?e:Oe(y(e)));return Re(e,f({},a,{attrs:b,componentId:i}),n)},Object.defineProperty(r,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=a?he({},e.defaultProps,t):t}}),r.toString=function(){return"."+r.styledComponentId},o&&p()(r,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),r}var Pe=function(e){return function e(t,n,a){if(void 0===a&&(a=b),!Object(r.isValidElementType)(n))return w(1,String(n));var i=function(){return t(n,a,de.apply(void 0,arguments))};return i.withConfig=function(r){return e(t,n,f({},a,{},r))},i.attrs=function(r){return e(t,n,f({},a,{attrs:Array.prototype.concat(a.attrs,r).filter(Boolean)}))},i}(Re,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Pe[e]=Pe(e)}));var De=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=ye(e)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var a=r(ue(this.rules,t,n).join(""),""),i=this.componentId+e;n.insertRules(i,i,a)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){V.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Le(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r"+t+""},this.getStyleTags=function(){return e.sealed?w(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return w(2);var n=((t={})[T]="",t["data-styled-version"]="5.0.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=A();return r&&(n.nonce=r),[i.a.createElement("style",f({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new V({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?w(2):i.a.createElement(re,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return w(3)},e}(),je=function(e){var t=i.a.forwardRef((function(t,n){var r=Object(a.useContext)(ke),o=e.defaultProps,s=Te(t,r,o);return i.a.createElement(e,f({},t,{theme:s,ref:n}))}));return p()(t,e),t.displayName="WithTheme("+y(e)+")",t},Ue=function(){return Object(a.useContext)(ke)},Be={StyleSheet:V,masterSheet:J},He="5.0.1";t.default=Pe}.call(this,n(132))},function(e,t,n){e.exports=n(562)()},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return l}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2&&void 0!==arguments[2]?arguments[2]:{},r=F(e);function a(e){if(!e.MergedWidget){var t=e.defaultProps&&e.defaultProps.options||{};e.MergedWidget=function(n){var r=n.options,a=void 0===r?{}:r,i=Object(E.a)(n,["options"]);return _.a.createElement(e,Object(v.a)({options:Object(y.a)({},t,a)},i))}}return e.MergedWidget}if("function"===typeof t||S.isForwardRef(_.a.createElement(t))||S.isMemo(t))return a(t);if("string"!==typeof t)throw new Error("Unsupported widget definition: ".concat(Object(b.a)(t)));if(n.hasOwnProperty(t)){var i=n[t];return j(e,i,n)}if(!L.hasOwnProperty(r))throw new Error('No widget for type "'.concat(r,'"'));if(L[r].hasOwnProperty(t)){var o=n[L[r][t]];return j(e,o,n)}throw new Error('No widget "'.concat(t,'" for type "').concat(r,'"'))}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{return j(e,t,n),!0}catch(r){if(r.message&&(r.message.startsWith("No widget")||r.message.startsWith("Unsupported widget")))return!1;throw r}}function B(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=V(e)?e:{},o=V(r)?r:{},s=t;if(V(s)&&V(i.default))s=W(s,i.default);else if("default"in i)s=i.default;else{if("$ref"in i){var l=ne(i.$ref,n);return B(l,s,n,o,a)}if("dependencies"in i){var c=le(i,n,o);return B(c,s,n,o,a)}J(i)?s=i.items.map((function(e,r){return B(e,g()(t)?t[r]:void 0,n,o,a)})):"oneOf"in i?i=i.oneOf[Oe(void 0,i.oneOf,n)]:"anyOf"in i&&(i=i.anyOf[Oe(void 0,i.anyOf,n)])}switch("undefined"===typeof s&&(s=i.default),F(i)){case"object":return m()(i.properties||{}).reduce((function(e,t){var r=B(i.properties[t],(s||{})[t],n,(o||{})[t],a);return(a||void 0!==r)&&(e[t]=r),e}),{});case"array":if(g()(s)&&(s=s.map((function(e,t){return B(i.items[t]||i.additionalItems||{},e,n)}))),g()(r)&&(s=r.map((function(e,t){return B(i.items,(s||{})[t],n,e)}))),i.minItems){if(Q(i,n))return s||[];var u=s?s.length:0;if(i.minItems>u){var d=s||[],p=g()(i.items)?i.additionalItems:i.items,f=k()(new Array(i.minItems-u),B(p,p.defaults,n));return d.concat(f)}}}return s}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!V(e))throw new Error("Invalid schema: "+e);var a=se(e,n,t),i=B(a,e.default,n,t,r);return"undefined"===typeof t?i:V(t)||g()(t)?z(i,t):0===t||!1===t||""===t?t:t||i}function z(e,t){if(g()(t))return g()(e)||(e=[]),t.map((function(t,n){return e[n]?z(e[n],t):t}));if(V(t)){var n=Object(v.a)({},e);return m()(t).reduce((function(n,r){return n[r]=z(e?e[r]:{},t[r]),n}),n)}return t}function G(e){return m()(e).filter((function(e){return 0===e.indexOf("ui:")})).reduce((function(t,n){var r=e[n];return"ui:widget"===n&&V(r)?(console.warn("Setting options via ui:widget object is deprecated, use ui:options instead"),Object(y.a)({},t,r.options||{},{widget:r.component})):"ui:options"===n&&V(r)?Object(y.a)({},t,r):Object(y.a)({},t,Object(p.a)({},n.substring(3),r))}),{})}function $(e,t,n){var r=G(t).label,a=void 0===r||r;return"array"===e.type&&(a=Q(e,n)||Z(e,t,n)),"object"===e.type&&(a=!1),"boolean"!==e.type||t["ui:widget"]||(a=!1),t["ui:field"]&&(a=!1),a}function V(e){return!("undefined"!==typeof File&&e instanceof File)&&("object"===Object(b.a)(e)&&null!==e&&!g()(e))}function W(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Object(v.a)({},e);return m()(t).reduce((function(r,a){var i=e?e[a]:{},o=t[a];return e&&e.hasOwnProperty(a)&&V(o)?r[a]=W(i,o,n):n&&g()(i)&&g()(o)?r[a]=i.concat(o):r[a]=o,r}),r)}function K(e){if(""!==e){if(null===e)return null;if(/\.$/.test(e))return e;if(/\.0$/.test(e))return e;var t=Number(e),n="number"===typeof t&&!d()(t);return/\.\d*0$/.test(e)?e:n?t:e}}function q(e,t){if(!g()(t))return e;var n,r=function(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})},a=r(e),i=t.filter((function(e){return"*"===e||a[e]})),o=r(i),s=e.filter((function(e){return!o[e]})),l=i.indexOf("*");if(-1===l){if(s.length)throw new Error("uiSchema order list does not contain ".concat((n=s).length>1?"properties '".concat(n.join("', '"),"'"):"property '".concat(n[0],"'")));return i}if(l!==i.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");var u=Object(c.a)(i);return u.splice.apply(u,[l,1].concat(Object(c.a)(s))),u}function Y(e){return g()(e.enum)&&1===e.enum.length||e.hasOwnProperty("const")}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=se(e,t),r=n.oneOf||n.anyOf;return!!g()(n.enum)||!!g()(r)&&r.every((function(e){return Y(e)}))}function Q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!(!e.uniqueItems||!e.items)&&X(e.items,t)}function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("files"===t["ui:widget"])return!0;if(e.items){var r=se(e.items,n);return"string"===r.type&&"data-url"===r.format}return!1}function J(e){return g()(e.items)&&e.items.length>0&&e.items.every((function(e){return V(e)}))}function ee(e){return!0===e.additionalItems&&console.warn("additionalItems=true is currently not supported"),V(e.additionalItems)}function te(e){return e.enum?e.enum.map((function(t,n){return{label:e.enumNames&&e.enumNames[n]||String(t),value:t}})):(e.oneOf||e.anyOf).map((function(e,t){var n=function(e){if(g()(e.enum)&&1===e.enum.length)return e.enum[0];if(e.hasOwnProperty("const"))return e.const;throw new Error("schema cannot be inferred as a constant")}(e);return{label:e.title||String(n),value:n}}))}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if(!e.startsWith("#"))throw new Error("Could not find a definition for ".concat(n,"."));e=decodeURIComponent(e.substring(1));var r=R.a.get(t,e);if(void 0===r)throw new Error("Could not find a definition for ".concat(n,"."));return r.hasOwnProperty("$ref")?ne(r.$ref,t):r}var re=function(e){return g()(e)?"array":"string"===typeof e?"string":null==e?"null":"boolean"===typeof e?"boolean":isNaN(e)?"object"===Object(b.a)(e)?"object":"string":"number"};function ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=Object(y.a)({},e,{properties:Object(y.a)({},e.properties)}),m()(n).forEach((function(r){var a;e.properties.hasOwnProperty(r)||(a=e.additionalProperties.hasOwnProperty("$ref")?se({$ref:e.additionalProperties.$ref},t,n):e.additionalProperties.hasOwnProperty("type")?Object(y.a)({},e.additionalProperties):{type:re(n[r])},e.properties[r]=a,e.properties[r][D]=!0)})),e}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.hasOwnProperty("$ref"))return oe(e,t,n);if(e.hasOwnProperty("dependencies")){var r=le(e,t,n);return se(r,t,n)}return e.hasOwnProperty("allOf")?Object(y.a)({},e,{allOf:e.allOf.map((function(e){return se(e,t,n)}))}):e}function oe(e,t,n){var r=ne(e.$ref,t),a=(e.$ref,Object(E.a)(e,["$ref"]));return se(Object(y.a)({},r,a),t,n)}function se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!V(e))return{};var r=ie(e,t,n);if("allOf"in e)try{r=A()(Object(y.a)({},r,{allOf:r.allOf}))}catch(s){console.warn("could not merge subschemas in allOf:\n"+s);var a=r,i=(a.allOf,Object(E.a)(a,["allOf"]));return i}var o=r.hasOwnProperty("additionalProperties")&&!1!==r.additionalProperties;return o?ae(r,t,n):r}function le(e,t,n){var r=e.dependencies,a=void 0===r?{}:r,i=Object(E.a)(e,["dependencies"]);return"oneOf"in i?i=i.oneOf[Oe(n,i.oneOf,t)]:"anyOf"in i&&(i=i.anyOf[Oe(n,i.anyOf,t)]),function e(t,n,r,a){for(var i in t)if(void 0!==a[i]&&(!n.properties||i in n.properties)){var o=t[i],s=Object(E.a)(t,[i].map(P));return g()(o)?n=ce(n,o):V(o)&&(n=ue(n,r,a,i,o)),e(s,n,r,a)}return n}(a,i,t,n)}function ce(e,t){if(!t)return e;var n=g()(e.required)?l()(new o.a([].concat(Object(c.a)(e.required),Object(c.a)(t)))):t;return Object(y.a)({},e,{required:n})}function ue(e,t,n,r,a){var i=se(a,t,n),o=i.oneOf;if(e=de(e,Object(E.a)(i,["oneOf"])),void 0===o)return e;if(!g()(o))throw new Error("invalid: it is some ".concat(Object(b.a)(o)," instead of an array"));var s=o.map((function(e){return e.hasOwnProperty("$ref")?oe(e,t,n):e}));return function(e,t,n,r,a){var i=a.filter((function(e){if(!e.properties)return!1;var t=e.properties[r];if(t){var a={type:"object",properties:Object(p.a)({},r,t)};return 0===Object(C.a)(n,a).errors.length}}));if(1!==i.length)return console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),e;var o=i[0],s=o.properties,l=(s[r],Object(E.a)(s,[r].map(P))),c=Object(y.a)({},o,{properties:l});return de(e,se(c,t,n))}(e,t,n,r,s)}function de(e,t){var n=Object(v.a)({},e);return m()(t).reduce((function(n,r){var a=e?e[r]:{},i=t[r];return e&&e.hasOwnProperty(r)&&V(i)?n[r]=de(a,i):e&&t&&("object"===F(e)||"object"===F(t))&&"required"===r&&g()(a)&&g()(i)?n[r]=N()(a,i):n[r]=i,n}),n)}function pe(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function fe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"===typeof e||"function"===typeof t)return!0;if("object"!==Object(b.a)(e)||"object"!==Object(b.a)(t))return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(pe(e)||pe(t)){if(!pe(e)||!pe(t))return!1;var a=Array.prototype.slice;return fe(a.call(e),a.call(t),n,r)}if(e.constructor!==t.constructor)return!1;var i=m()(e),o=m()(t);if(0===i.length&&0===o.length)return!0;if(i.length!==o.length)return!1;for(var s,l=n.length;l--;)if(n[l]===e)return r[l]===t;n.push(e),r.push(t),i.sort(),o.sort();for(var c=i.length-1;c>=0;c--)if(i[c]!==o[c])return!1;for(var u=i.length-1;u>=0;u--)if(!fe(e[s=i[u]],t[s],n,r))return!1;return n.pop(),r.pop(),!0}function me(e,t,n){var r=e.props,a=e.state;return!fe(r,t)||!fe(a,n)}function he(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"root",i={$id:t||a};if("$ref"in e||"dependencies"in e||"allOf"in e){var o=se(e,n,r);return he(o,t,n,r,a)}if("items"in e&&!e.items.$ref)return he(e.items,t,n,r,a);if("object"!==e.type)return i;for(var s in e.properties||{}){var l=e.properties[s],c=i.$id+"_"+s;i[s]=he(V(l)?l:{},c,n,(r||{})[s],a)}return i}function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a={$name:t.replace(/^\./,"")};if("$ref"in e||"dependencies"in e||"allOf"in e){var i=se(e,n,r);return ge(i,t,n,r)}if(e.hasOwnProperty("additionalProperties")&&(a.__rjsf_additionalProperties=!0),e.hasOwnProperty("items")&&g()(r))r.forEach((function(r,i){a[i]=ge(e.items,"".concat(t,".").concat(i),n,r)}));else if(e.hasOwnProperty("properties"))for(var o in e.properties)a[o]=ge(e.properties[o],"".concat(t,".").concat(o),n,(r||{})[o]);return a}function be(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return{year:-1,month:-1,day:-1,hour:t?-1:0,minute:t?-1:0,second:t?-1:0};var n=new Date(e);if(d()(n.getTime()))throw new Error("Unable to parse date "+e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:t?n.getUTCHours():0,minute:t?n.getUTCMinutes():0,second:t?n.getUTCSeconds():0}}function ve(e){var t=e.year,n=e.month,r=e.day,a=e.hour,i=void 0===a?0:a,o=e.minute,s=void 0===o?0:o,l=e.second,c=void 0===l?0:l,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],d=Date.UTC(t,n-1,r,i,s,c),p=new Date(d).toJSON();return u?p:p.slice(0,10)}function ye(e){if(!e)return"";var t=new Date(e),n=Te(t.getFullYear(),4),r=Te(t.getMonth()+1,2),a=Te(t.getDate(),2),i=Te(t.getHours(),2),o=Te(t.getMinutes(),2),s=Te(t.getSeconds(),2),l=Te(t.getMilliseconds(),3);return"".concat(n,"-").concat(r,"-").concat(a,"T").concat(i,":").concat(o,":").concat(s,".").concat(l)}function Ee(e){if(e)return new Date(e).toJSON()}function Te(e,t){for(var n=String(e);n.lengtht?1:0},s=[40,52,64].map((function(e){return e+"em"})),l=i.a.oneOfType([i.a.number,i.a.string,i.a.array,i.a.object]),c=function(e){return function(){return e.apply(void 0,arguments)}},u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?f(e):100*e+"%"},F=v({prop:"width",key:"widths",transformValue:M}),j=function(e,t){return f(u(t,e))},U=v({prop:"fontSize",key:"fontSizes",transformValue:j,scale:[12,14,16,20,24,32,48,64,72]}),B=(v({prop:"fontFamily",key:"fonts"}),v({prop:"fontWeight",key:"fontWeights"}),v({prop:"lineHeight",key:"lineHeights"}),v({prop:"textAlign"})),H=(v({prop:"fontStyle"}),v({prop:"letterSpacing",key:"letterSpacings",transformValue:j}),v({prop:"display"})),z=v({prop:"maxWidth",key:"maxWidths",transformValue:j}),G=v({prop:"minWidth",key:"minWidths",transformValue:j}),$=v({prop:"height",key:"heights",transformValue:j}),V=v({prop:"maxHeight",key:"maxHeights",transformValue:j}),W=v({prop:"minHeight",key:"minHeights",transformValue:j}),K=(E((function(e){return r({},e,{width:e.size,height:e.size})}))(y(F,$)),v({prop:"verticalAlign"}),v({prop:"alignItems"})),q=(v({prop:"alignContent"}),v({prop:"justifyItems"}),v({prop:"justifyContent"})),Y=v({prop:"flexWrap"}),X=(v({prop:"flexBasis",transformValue:M}),v({prop:"flexDirection"})),Q=v({prop:"flex"}),Z=(v({prop:"justifySelf"}),v({prop:"alignSelf"})),J=v({prop:"order"}),ee=(v({prop:"gridGap",key:"space",transformValue:j,scale:_}),v({prop:"gridColumnGap",key:"space",transformValue:j,scale:_}),v({prop:"gridRowGap",key:"space",transformValue:j,scale:_}),v({prop:"gridColumn"}),v({prop:"gridRow"}),v({prop:"gridAutoFlow"}),v({prop:"gridAutoColumns"}),v({prop:"gridAutoRows"}),v({prop:"gridTemplateColumns"}),v({prop:"gridTemplateRows"}),v({prop:"gridTemplateAreas"}),v({prop:"gridArea"}),v({prop:"border",key:"borders"})),te=v({prop:"borderWidth",key:"borderWidths",transformValue:j}),ne=v({prop:"borderStyle",key:"borderStyles"}),re=v({prop:"borderColor",key:"colors"});y(ee,v({prop:"borderTop",key:"borders"}),v({prop:"borderRight",key:"borders"}),v({prop:"borderBottom",key:"borders"}),v({prop:"borderLeft",key:"borders"}),te,ne,re,v({prop:"borderRadius",key:"radii",transformValue:j})),v({prop:"boxShadow",key:"shadows"}),v({prop:"opacity"}),v({prop:"overflow"}),v({prop:"background"}),v({prop:"backgroundImage"}),v({prop:"backgroundSize"}),v({prop:"backgroundPosition"}),v({prop:"backgroundRepeat"}),v({prop:"position"}),v({prop:"zIndex",key:"zIndices"}),v({prop:"top",transformValue:j}),v({prop:"right",transformValue:j}),v({prop:"bottom",transformValue:j}),v({prop:"left",transformValue:j}),T({key:"buttons"}),T({key:"textStyles",prop:"textStyle"}),T({key:"colorStyles",prop:"colors"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(102),a=n.n(r),i=n(11),o=n.n(i);function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,a={},i=o()(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(a.a){var s=a()(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i}));var r=n(1),a=function(e){return"number"===typeof e?e:(e.match(/\s/),parseFloat(e.match(/\d+(\.\d+)?/),10))},i=function(e,t){return Object(r.css)(["@media only screen ","{",";}"],e.value&&"and (max-width: "+e.value+"px)",t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var r,a,i,o,s,l,c,u=n(3),d=n(429),p=n.n(d),f=n(97),m=n.n(f),h=n(2),g=n(0),b=n(44),v=n(1),y=n(12),E=n(177),T=n.n(E),_=n(128),S=n.n(_),O=n(432),A=n.n(O),w=n(54),k="\n\tposition: absolute;\n\twidth: 0;\n\theight: 0;\n\tborder-color: transparent;\n\tborder-style: solid;\n",C=v.default.div(r||(r=Object(u.c)(["\n\t"," bottom: 0;\n\tleft: 50%;\n\tmargin-left: -5px;\n\tborder-width: 5px 5px 0;\n\tborder-top-color: #000;\n"],["\n\t"," bottom: 0;\n\tleft: 50%;\n\tmargin-left: -5px;\n\tborder-width: 5px 5px 0;\n\tborder-top-color: #000;\n"])),k),x=v.default.div(a||(a=Object(u.c)(["\n\t"," top: 50%;\n\tleft: 0;\n\tmargin-top: -5px;\n\tborder-width: 5px 5px 5px 0;\n\tborder-right-color: #000;\n"],["\n\t"," top: 50%;\n\tleft: 0;\n\tmargin-top: -5px;\n\tborder-width: 5px 5px 5px 0;\n\tborder-right-color: #000;\n"])),k),N=v.default.div(i||(i=Object(u.c)(["\n\t"," top: 50%;\n\tright: 0;\n\tmargin-top: -5px;\n\tborder-width: 5px 0 5px 5px;\n\tborder-left-color: #000;\n"],["\n\t"," top: 50%;\n\tright: 0;\n\tmargin-top: -5px;\n\tborder-width: 5px 0 5px 5px;\n\tborder-left-color: #000;\n"])),k),I=v.default.div(o||(o=Object(u.c)(["\n\t"," top: 0;\n\tleft: 50%;\n\tmargin-left: -5px;\n\tborder-width: 0 5px 5px;\n\tborder-bottom-color: #000;\n"],["\n\t"," top: 0;\n\tleft: 50%;\n\tmargin-left: -5px;\n\tborder-width: 0 5px 5px;\n\tborder-bottom-color: #000;\n"])),k),R=v.default.div(s||(s=Object(u.c)(["\n\tdisplay: block;\n\tfont-size: 12px;\n\tfont-style: normal;\n\tfont-weight: 400;\n\tletter-spacing: normal;\n\tline-break: auto;\n\tline-height: 1.42857143;\n\tpadding: 5px;\n\tposition: absolute;\n\tmax-width: 300px;\n\ttext-align: left;\n\ttext-align: start;\n\ttext-decoration: none;\n\ttext-shadow: none;\n\ttext-transform: none;\n\tvisibility: hidden;\n\twhite-space: normal;\n\tword-break: normal;\n\tword-spacing: normal;\n\tword-wrap: normal;\n\tz-index: 10000;\n\tcolor: white;\n"],["\n\tdisplay: block;\n\tfont-size: 12px;\n\tfont-style: normal;\n\tfont-weight: 400;\n\tletter-spacing: normal;\n\tline-break: auto;\n\tline-height: 1.42857143;\n\tpadding: 5px;\n\tposition: absolute;\n\tmax-width: 300px;\n\ttext-align: left;\n\ttext-align: start;\n\ttext-decoration: none;\n\ttext-shadow: none;\n\ttext-transform: none;\n\tvisibility: hidden;\n\twhite-space: normal;\n\tword-break: normal;\n\tword-spacing: normal;\n\tword-wrap: normal;\n\tz-index: 10000;\n\tcolor: white;\n"]))),P=v.default.div(l||(l=Object(u.c)(["\n\tbackground: black;\n\tborder-radius: 4px;\n\tpadding: 3px 8px;\n\ttext-align: center;\n"],["\n\tbackground: black;\n\tborder-radius: 4px;\n\tpadding: 3px 8px;\n\ttext-align: center;\n"]))),D=function(e){function t(t){var n=e.call(this,t)||this;return n.state={show:!1,placement:"top",coordinates:{top:0,left:0}},n}return Object(u.b)(t,e),t.prototype.observe=function(e){var t=this;this.observer&&this.observer.disconnect(),this.observer=function(e,t){var n=new MutationObserver((function(){document.contains(e)||(n.disconnect(),t())}));return n.observe(document,{childList:!0,subtree:!0}),n}(e,(function(){t.hide()}))},t.prototype.show=function(e,t,n){void 0===n&&(n={});var r=0,a=0,i=e.target;this.observe(i);var o=i.getBoundingClientRect(),s=A()(o,["top","left","width","height"]);s.top+=window.scrollY,s.left+=window.scrollX;var l=n.placement,c=n.containerStyle,u=n.innerStyle,d=n.arrowStyle;this.tooltipElementInner&&(this.tooltipElementInner.innerText=t),l&&"top"!==l||(r=s.top-this.tooltipElement.clientHeight-3,a=s.left+s.width/2-this.tooltipElement.clientWidth/2),"right"===l&&(r=s.top+s.height/2-this.tooltipElement.clientHeight/2,a=s.left+s.width+3),"bottom"===l&&(r=s.top+s.height+3,a=s.left+s.width/2-this.tooltipElement.clientWidth/2),"left"===l&&(r=s.top+s.height/2-this.tooltipElement.clientHeight/2,a=s.left-this.tooltipElement.clientWidth-3),this.setState({coordinates:{top:r,left:a},show:!0,placement:l,containerStyle:c,innerStyle:u,arrowStyle:d})},t.prototype.hide=function(){this.observer&&(this.observer.disconnect(),this.observer=void 0),this.setState({show:!1,coordinates:{top:0,left:0}})},t.prototype.render=function(){var e=this,t=this.state,n=t.placement,r=t.containerStyle,a=t.innerStyle,i=t.arrowStyle,o=function(e){switch(e){case"right":return x;case"bottom":return I;case"left":return N;default:return C}}(n),s=T()({top:this.state.coordinates.top,left:this.state.coordinates.left,visibility:this.state.show?"visible":"hidden"},r);return g.createElement(R,{style:s,ref:function(t){return e.tooltipElement=t}},g.createElement(P,{ref:function(t){return e.tooltipElementInner=t},style:a}),g.createElement(o,{style:i}))},t}(g.Component),L=new(function(){function e(){this.initialised=!1,this.hideOnMouseOut=null}return e.prototype.initialiseElements=function(){var e=this;if(!this.initialised&&document&&document.body){var t=document.createElement("div");t.id="rendition-tooltip-root",document.body.appendChild(t),document.addEventListener("mouseover",(function(t){var n=t.target;e.hideOnMouseOut&&e.hideOnMouseOut!==n&&(e.hideOnMouseOut.firstElementChild&&e.hideOnMouseOut.contains&&e.hideOnMouseOut.contains(n)||(e.hide(),e.hideOnMouseOut=null))})),this.component=w.render(g.createElement(D,null),t),this.initialised=!0}},e.prototype.bindProps=function(e){var t=this;if(e.tooltip){var n,r={},a="hover";if("string"===typeof e.tooltip?n=e.tooltip:(n=e.tooltip.text,r.placement=e.tooltip.placement,r.containerStyle=e.tooltip.containerStyle,r.innerStyle=e.tooltip.innerStyle,r.arrowStyle=e.tooltip.arrowStyle,e.tooltip.trigger&&(a=e.tooltip.trigger)),n){var i=function(e){return t.show(e,n,r)};if("click"===a){var o=e.onClick||S.a;e.onClick=function(e){i(e),clearTimeout(t.hideTimeout),t.hideTimeout=window.setTimeout((function(){return t.hide()}),1e3),o(e)}}else{var s=e.onMouseEnter||S.a;e.onMouseEnter=function(e){i(e),s(e),e.target.disabled&&(t.hideOnMouseOut=e.target)};var l=e.onMouseLeave||S.a;e.onMouseLeave=function(e){t.hide(),l(e)}}}}return e},e.prototype.show=function(e,t,n){this.initialiseElements(),this.component.show(e,t,n)},e.prototype.hide=function(){this.initialiseElements(),this.component.hide()},e}()),M=Object(h.oneOfType)([h.number,h.string,Object(h.arrayOf)(Object(h.oneOfType)([h.number,h.string]))]),F={width:M,minWidth:M,maxWidth:M,height:M,minHeight:M,maxHeight:M,display:M,fontSize:M,color:M,bg:M,backgroundColor:M,m:M,mt:M,mr:M,mb:M,ml:M,mx:M,my:M,p:M,pt:M,pr:M,pb:M,pl:M,px:M,py:M},j=Object.keys(F),U=function(e){return function(t){return g.forwardRef((function(n,r){var a=m()(n,p()(j,e));return g.createElement(t,Object(u.a)({},a,{ref:r}))}))}},B=function(e){var t=Object(v.default)(e)(c||(c=Object(u.c)(["\n\t\t","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n\t\t","\n\t\t","\n\t"],["\n\t\t","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n\t\t","\n\t\t","\n\t"])),y.q,y.t,y.n,y.l,y.i,y.m,y.k,y.d,y.h,y.c);return t.displayName=Object(b.b)(e),t.propTypes=F,g.forwardRef((function(e,n){return g.createElement(t,Object(u.a)({},e,{ref:n}))}))},H=function(e){return g.forwardRef((function(t,n){var r=Object(u.d)(t,[]);return r.tooltip&&(r=L.bindProps(r)),delete r.tooltip,g.createElement(e,Object(u.a)({},r,{ref:n}))}))};function z(e,t,n){return void 0===t&&(t=[]),void 0===n&&(n=[]),b.a.apply(void 0,Object(u.e)([v.withTheme],t||[],[H,B,U(n)]))(e)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r=function e(t,n,r){var a=n.global&&void 0!==n.global.colors[t]?n.global.colors[t]:t,i=a;return a&&((!0===r||void 0===r&&n.dark)&&void 0!==a.dark?i=a.dark:!1!==r&&n.dark||void 0===a.light||(i=a.light)),i&&n.global&&void 0!==n.global.colors[i]&&(i=e(i,n,r)),i},a=/^#[A-Za-z0-9]{3,4}$|^#[A-Za-z0-9]{6,8}$/,i=/rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?\)/,o=/rgba?\(\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([0-9]*)\s?,\s?([.0-9]*)\s?\)/,s=/hsla?\(\s?([0-9]*)\s?,\s?([0-9]*)%?\s?,\s?([0-9]*)%?\s?.*?\)/,l=function(e){return a.test(e)||i.test(e)||o.test(e)||s.test(e)},c=function(e){if(a.test(e)){var t=function(e){return e.length<7?e.match(/[A-Za-z0-9]{1}/g).map((function(e){return parseInt(""+e+e,16)})):e.match(/[A-Za-z0-9]{2}/g).map((function(e){return parseInt(e,16)}))}(e),n=t[0],r=t[1],l=t[2],c=t[3];return[n,r,l,void 0!==c?c/255:void 0]}var u=e.match(i);if(u)return u.splice(1).map((function(e){return parseInt(e,10)}));if(u=e.match(o))return u.splice(1).map((function(e){return parseFloat(e,10)}));if(u=e.match(s)){var d=u.splice(1).map((function(e){return parseInt(e,10)}));return function(e,t,n){var r,a,i;if(0===t||"0"===t)r=n,a=n,i=n;else{var o=function(e,t,n){var r=n;return r<0&&(r+=1),r>1&&(r-=1),r<.16666667?e+6*(t-e)*r:r<.5?t:r<.66666667?e+(t-e)*(.66666667-r)*6:e},s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=o(l,s,e+.33333333),a=o(l,s,e),i=o(l,s,e-.33333333)}return[Math.round(255*r),Math.round(255*a),Math.round(255*i)]}(d[0]/360,d[1]/100,d[2]/100)}return e},u=function(e){if(e&&l(e)){var t=c(e),n=t[0],r=t[1],a=t[2];if(t[3]<.5)return;return(299*n+587*r+114*a)/1e3<125}},d=function(e,t){if(e&&l(e)){var n=c(e),r=n[0],a=n[1],i=n[2],o=n[3];return"rgba("+r+", "+a+", "+i+", "+(void 0!==t?t:void 0!==o?o:1)+")"}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return g}));var r,a,i,o,s,l=n(3),c=n(0),u=n(1),d=n(12),p=n(16),f=n(276),m=function(e){return e.caps?Object(u.css)(a||(a=Object(l.c)(["\n\t\t\t\ttext-transform: uppercase;\n\t\t\t\tletter-spacing: 0.2em;\n\t\t "],["\n\t\t\t\ttext-transform: uppercase;\n\t\t\t\tletter-spacing: 0.2em;\n\t\t "]))):null},h=function(e){return e.bold?Object(u.css)(o||(o=Object(l.c)(["\n\t\t\t\tfont-weight: ",";\n\t\t "],["\n\t\t\t\tfont-weight: ",";\n\t\t "])),e.theme.weights[e.theme.weights.length-1]):null},g=Object(d.r)({key:"text-align",prop:"align",cssProperty:"text-align"}),b=u.default.div(s||(s=Object(l.c)(["\n\t","\n\t","\n\t","\n\n\t","\n\t","\n\t","\n"],["\n\t","\n\t","\n\t","\n\n\t","\n\t","\n\t","\n"])),g,f.b,(function(e){return e.whitespace?Object(u.css)(r||(r=Object(l.c)(["\n\t\t\t\twhite-space: ",";\n\t\t "],["\n\t\t\t\twhite-space: ",";\n\t\t "])),e.whitespace):null}),m,h,(function(e){return e.italic?Object(u.css)(i||(i=Object(l.c)(["\n\t\t\t\tfont-style: italic;\n\t\t "],["\n\t\t\t\tfont-style: italic;\n\t\t "]))):null})),v=function(e){return Object(p.a)((function(t){return c.createElement(b,Object(l.a)({as:e},t))}))},y=v();y.displayName="Txt",y.span=v("span"),y.p=v("p"),t.d=y},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultRegistry=function(){return{fields:n(1175).default,widgets:n(1187).default,definitions:{},rootSchema:{},formContext:{}}},t.getSchemaType=E,t.getWidget=T,t.hasWidget=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{return T(e,t,n),!0}catch(r){if(r.message&&(r.message.startsWith("No widget")||r.message.startsWith("Unsupported widget")))return!1;throw r}},t.getDefaultFormState=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!A(e))throw new Error("Invalid schema: "+e);var a=j(e,n,t),i=_(a,e.default,n,t,r);if("undefined"===typeof t)return i;if(A(t)||Array.isArray(t))return S(i,t);if(0===t||!1===t||""===t)return t;return t||i},t.mergeDefaultsWithFormData=S,t.getUiOptions=O,t.getDisplayLabel=function(e,t,n){var r=O(t).label,a=void 0===r||r;"array"===e.type&&(a=N(e,n)||I(e,t,n));"object"===e.type&&(a=!1);"boolean"!==e.type||t["ui:widget"]||(a=!1);t["ui:field"]&&(a=!1);return a},t.isObject=A,t.mergeObjects=w,t.asNumber=function(e){if(""===e)return;if(null===e)return null;if(/\.$/.test(e))return e;if(/\.0$/.test(e))return e;var t=Number(e),n="number"===typeof t&&!Number.isNaN(t);if(/\.\d*0$/.test(e))return e;return n?t:e},t.orderProperties=function(e,t){if(!Array.isArray(t))return e;var n=function(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})},r=n(e),a=t.filter((function(e){return"*"===e||r[e]})),i=n(a),o=e.filter((function(e){return!i[e]})),s=a.indexOf("*");if(-1===s){if(o.length)throw new Error("uiSchema order list does not contain ".concat((l=o).length>1?"properties '".concat(l.join("', '"),"'"):"property '".concat(l[0],"'")));return a}var l;if(s!==a.lastIndexOf("*"))throw new Error("uiSchema order list contains more than one wildcard item");var c=f(a);return c.splice.apply(c,[s,1].concat(f(o))),c},t.isConstant=k,t.toConstant=C,t.isSelect=x,t.isMultiSelect=N,t.isFilesArray=I,t.isFixedItems=R,t.allowAdditionalItems=function(e){!0===e.additionalItems&&console.warn("additionalItems=true is currently not supported");return A(e.additionalItems)},t.optionsList=function(e){return e.enum?e.enum.map((function(t,n){return{label:e.enumNames&&e.enumNames[n]||String(t),value:t}})):(e.oneOf||e.anyOf).map((function(e,t){var n=C(e);return{label:e.title||String(n),value:n}}))},t.findSchemaDefinition=P,t.stubExistingAdditionalProperties=L,t.resolveSchema=M,t.retrieveSchema=j,t.mergeSchemas=z,t.deepEquals=$,t.shouldRender=function(e,t,n){var r=e.props,a=e.state;return!$(r,t)||!$(a,n)},t.toIdSchema=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"root",o={$id:n||i};if("$ref"in t||"dependencies"in t||"allOf"in t){var s=j(t,r,a);return e(s,n,r,a,i)}if("items"in t&&!t.items.$ref)return e(t.items,n,r,a,i);if("object"!==t.type)return o;for(var l in t.properties||{}){var c=t.properties[l],u=o.$id+"_"+l;o[l]=e(A(c)?c:{},u,r,(a||{})[l],i)}return o},t.toPathSchema=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i={$name:n.replace(/^\./,"")};if("$ref"in t||"dependencies"in t||"allOf"in t){var o=j(t,r,a);return e(o,n,r,a)}t.hasOwnProperty("additionalProperties")&&(i.__rjsf_additionalProperties=!0);if(t.hasOwnProperty("items")&&Array.isArray(a))a.forEach((function(a,o){i[o]=e(t.items,"".concat(n,".").concat(o),r,a)}));else if(t.hasOwnProperty("properties"))for(var s in t.properties)i[s]=e(t.properties[s],"".concat(n,".").concat(s),r,(a||{})[s]);return i},t.parseDateString=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)return{year:-1,month:-1,day:-1,hour:t?-1:0,minute:t?-1:0,second:t?-1:0};var n=new Date(e);if(Number.isNaN(n.getTime()))throw new Error("Unable to parse date "+e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:t?n.getUTCHours():0,minute:t?n.getUTCMinutes():0,second:t?n.getUTCSeconds():0}},t.toDateString=function(e){var t=e.year,n=e.month,r=e.day,a=e.hour,i=void 0===a?0:a,o=e.minute,s=void 0===o?0:o,l=e.second,c=void 0===l?0:l,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],d=Date.UTC(t,n-1,r,i,s,c),p=new Date(d).toJSON();return u?p:p.slice(0,10)},t.utcToLocal=function(e){if(!e)return"";var t=new Date(e),n=V(t.getFullYear(),4),r=V(t.getMonth()+1,2),a=V(t.getDate(),2),i=V(t.getHours(),2),o=V(t.getMinutes(),2),s=V(t.getSeconds(),2),l=V(t.getMilliseconds(),3);return"".concat(n,"-").concat(r,"-").concat(a,"T").concat(i,":").concat(o,":").concat(s,".").concat(l)},t.localToUTC=function(e){if(e)return new Date(e).toJSON()},t.pad=V,t.dataURItoBlob=function(e){var t,n=e.split(","),r=n[0].split(";"),a=r[0].replace("data:",""),i=r.filter((function(e){return"name"===e.split("=")[0]}));t=1!==i.length?"unknown":i[0].split("=")[1];for(var o=atob(n[1]),s=[],l=0;l=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}t.ADDITIONAL_PROPERTY_FLAG="__additional_property";var y={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function E(e){var t=e.type;return!t&&e.const?D(e.const):!t&&e.enum?"string":t||!e.properties&&!e.additionalProperties?t instanceof Array&&2===t.length&&t.includes("null")?t.find((function(e){return"null"!==e})):t:"object"}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=E(e);function o(e){if(!e.MergedWidget){var t=e.defaultProps&&e.defaultProps.options||{};e.MergedWidget=function(n){var a=n.options,i=void 0===a?{}:a,o=v(n,["options"]);return r.default.createElement(e,h({options:g({},t,i)},o))}}return e.MergedWidget}if("function"===typeof t||a.isForwardRef(r.default.createElement(t))||a.isMemo(t))return o(t);if("string"!==typeof t)throw new Error("Unsupported widget definition: ".concat(m(t)));if(n.hasOwnProperty(t)){var s=n[t];return T(e,s,n)}if(!y.hasOwnProperty(i))throw new Error('No widget for type "'.concat(i,'"'));if(y[i].hasOwnProperty(t)){var l=n[y[i][t]];return T(e,l,n)}throw new Error('No widget "'.concat(t,'" for type "').concat(i,'"'))}function _(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=A(e)?e:{},s=A(r)?r:{},l=t;if(A(l)&&A(i.default))l=w(l,i.default);else if("default"in i)l=i.default;else{if("$ref"in i){var c=P(i.$ref,n);return _(c,l,n,s,a)}if("dependencies"in i){var u=U(i,n,s);return _(u,l,n,s,a)}R(i)?l=i.items.map((function(e,r){return _(e,Array.isArray(t)?t[r]:void 0,n,s,a)})):"oneOf"in i?i=i.oneOf[W(void 0,i.oneOf,n)]:"anyOf"in i&&(i=i.anyOf[W(void 0,i.anyOf,n)])}switch("undefined"===typeof l&&(l=i.default),E(i)){case"object":return Object.keys(i.properties||{}).reduce((function(e,t){var r=_(i.properties[t],(l||{})[t],n,(s||{})[t],a);return(a||void 0!==r)&&(e[t]=r),e}),{});case"array":if(Array.isArray(l)&&(l=l.map((function(e,t){return _(i.items[t]||i.additionalItems||{},e,n)}))),Array.isArray(r)&&(l=r.map((function(e,t){return _(i.items,(l||{})[t],n,e)}))),i.minItems){if(N(i,n))return l||[];var d=l?l.length:0;if(i.minItems>d){var p=l||[],f=Array.isArray(i.items)?i.additionalItems:i.items,m=(0,o.default)(new Array(i.minItems-d),_(f,f.defaults,n));return p.concat(m)}}}return l}function S(e,t){if(Array.isArray(t))return Array.isArray(e)||(e=[]),t.map((function(t,n){return e[n]?S(e[n],t):t}));if(A(t)){var n=h({},e);return Object.keys(t).reduce((function(n,r){return n[r]=S(e?e[r]:{},t[r]),n}),n)}return t}function O(e){return Object.keys(e).filter((function(e){return 0===e.indexOf("ui:")})).reduce((function(t,n){var r=e[n];return"ui:widget"===n&&A(r)?(console.warn("Setting options via ui:widget object is deprecated, use ui:options instead"),g({},t,r.options||{},{widget:r.component})):"ui:options"===n&&A(r)?g({},t,r):g({},t,b({},n.substring(3),r))}),{})}function A(e){return!("undefined"!==typeof File&&e instanceof File)&&("object"===m(e)&&null!==e&&!Array.isArray(e))}function w(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h({},e);return Object.keys(t).reduce((function(r,a){var i=e?e[a]:{},o=t[a];return e&&e.hasOwnProperty(a)&&A(o)?r[a]=w(i,o,n):n&&Array.isArray(i)&&Array.isArray(o)?r[a]=i.concat(o):r[a]=o,r}),r)}function k(e){return Array.isArray(e.enum)&&1===e.enum.length||e.hasOwnProperty("const")}function C(e){if(Array.isArray(e.enum)&&1===e.enum.length)return e.enum[0];if(e.hasOwnProperty("const"))return e.const;throw new Error("schema cannot be inferred as a constant")}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=j(e,t),r=n.oneOf||n.anyOf;return!!Array.isArray(n.enum)||!!Array.isArray(r)&&r.every((function(e){return k(e)}))}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!(!e.uniqueItems||!e.items)&&x(e.items,t)}function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("files"===t["ui:widget"])return!0;if(e.items){var r=j(e.items,n);return"string"===r.type&&"data-url"===r.format}return!1}function R(e){return Array.isArray(e.items)&&e.items.length>0&&e.items.every((function(e){return A(e)}))}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if(!e.startsWith("#"))throw new Error("Could not find a definition for ".concat(n,"."));e=decodeURIComponent(e.substring(1));var r=c.default.get(t,e);if(void 0===r)throw new Error("Could not find a definition for ".concat(n,"."));return r.hasOwnProperty("$ref")?P(r.$ref,t):r}var D=function(e){return Array.isArray(e)?"array":"string"===typeof e?"string":null==e?"null":"boolean"===typeof e?"boolean":isNaN(e)?"object"===m(e)?"object":"string":"number"};function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=g({},e,{properties:g({},e.properties)}),Object.keys(n).forEach((function(r){var a;e.properties.hasOwnProperty(r)||(a=e.additionalProperties.hasOwnProperty("$ref")?j({$ref:e.additionalProperties.$ref},t,n):e.additionalProperties.hasOwnProperty("type")?g({},e.additionalProperties):{type:D(n[r])},e.properties[r]=a,e.properties[r].__additional_property=!0)})),e}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.hasOwnProperty("$ref"))return F(e,t,n);if(e.hasOwnProperty("dependencies")){var r=U(e,t,n);return j(r,t,n)}return e.hasOwnProperty("allOf")?g({},e,{allOf:e.allOf.map((function(e){return j(e,t,n)}))}):e}function F(e,t,n){var r=P(e.$ref,t);e.$ref;return j(g({},r,v(e,["$ref"])),t,n)}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!A(e))return{};var r=M(e,t,n);if("allOf"in e)try{r=(0,i.default)(g({},r,{allOf:r.allOf}))}catch(l){console.warn("could not merge subschemas in allOf:\n"+l);var a=r,o=(a.allOf,v(a,["allOf"]));return o}var s=r.hasOwnProperty("additionalProperties")&&!1!==r.additionalProperties;return s?L(r,t,n):r}function U(e,t,n){var r=e.dependencies,a=void 0===r?{}:r,i=v(e,["dependencies"]);return"oneOf"in i?i=i.oneOf[W(n,i.oneOf,t)]:"anyOf"in i&&(i=i.anyOf[W(n,i.anyOf,t)]),function e(t,n,r,a){for(var i in t)if(void 0!==a[i]&&(!n.properties||i in n.properties)){var o=t[i],s=v(t,[i].map(p));return Array.isArray(o)?n=B(n,o):A(o)&&(n=H(n,r,a,i,o)),e(s,n,r,a)}return n}(a,i,t,n)}function B(e,t){return t?g({},e,{required:Array.isArray(e.required)?Array.from(new Set([].concat(f(e.required),f(t)))):t}):e}function H(e,t,n,r,a){var i=j(a,t,n),o=i.oneOf;if(e=z(e,v(i,["oneOf"])),void 0===o)return e;if(!Array.isArray(o))throw new Error("invalid: it is some ".concat(m(o)," instead of an array"));var l=o.map((function(e){return e.hasOwnProperty("$ref")?F(e,t,n):e}));return function(e,t,n,r,a){var i=a.filter((function(e){if(!e.properties)return!1;var t=e.properties[r];if(t){var a={type:"object",properties:b({},r,t)};return 0===(0,s.default)(n,a).errors.length}}));if(1!==i.length)return console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid"),e;var o=i[0],l=o.properties,c=(l[r],v(l,[r].map(p))),u=g({},o,{properties:c});return z(e,j(u,t,n))}(e,t,n,r,l)}function z(e,t){var n=h({},e);return Object.keys(t).reduce((function(n,r){var a=e?e[r]:{},i=t[r];return e&&e.hasOwnProperty(r)&&A(i)?n[r]=z(a,i):e&&t&&("object"===E(e)||"object"===E(t))&&"required"===r&&Array.isArray(a)&&Array.isArray(i)?n[r]=(0,l.default)(a,i):n[r]=i,n}),n)}function G(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"===typeof e||"function"===typeof t)return!0;if("object"!==m(e)||"object"!==m(t))return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(G(e)||G(t)){if(!G(e)||!G(t))return!1;var a=Array.prototype.slice;return $(a.call(e),a.call(t),n,r)}if(e.constructor!==t.constructor)return!1;var i=Object.keys(e),o=Object.keys(t);if(0===i.length&&0===o.length)return!0;if(i.length!==o.length)return!1;for(var s,l=n.length;l--;)if(n[l]===e)return r[l]===t;n.push(e),r.push(t),i.sort(),o.sort();for(var c=i.length-1;c>=0;c--)if(i[c]!==o[c])return!1;for(var u=i.length-1;u>=0;u--)if(!$(e[s=i[u]],t[s],n,r))return!1;return n.pop(),r.pop(),!0}function V(e,t){for(var n=String(e);n.length=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0||!Array.isArray(t)&&t?c({},e,t):{}}function y(e){var t=e.forwardedRef,n=p(e,["forwardedRef"]),a=n.icon,i=n.mask,o=n.symbol,s=n.className,l=n.title,u=b(a),m=v("classes",[].concat(f(function(e){var t,n=e.spin,r=e.pulse,a=e.fixedWidth,i=e.inverse,o=e.border,s=e.listItem,l=e.flip,u=e.size,d=e.rotation,p=e.pull,f=(c(t={"fa-spin":n,"fa-pulse":r,"fa-fw":a,"fa-inverse":i,"fa-border":o,"fa-li":s,"fa-flip-horizontal":"horizontal"===l||"both"===l,"fa-flip-vertical":"vertical"===l||"both"===l},"fa-".concat(u),"undefined"!==typeof u&&null!==u),c(t,"fa-rotate-".concat(d),"undefined"!==typeof d&&null!==d&&0!==d),c(t,"fa-pull-".concat(p),"undefined"!==typeof p&&null!==p),c(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(f).map((function(e){return f[e]?e:null})).filter((function(e){return e}))}(n)),f(s.split(" ")))),h=v("transform","string"===typeof n.transform?r.b.transform(n.transform):n.transform),T=v("mask",b(i)),_=Object(r.a)(u,d({},m,{},h,{},T,{symbol:o,title:l}));if(!_)return function(){var e;!g&&console&&"function"===typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var S=_.abstract,O={ref:t};return Object.keys(n).forEach((function(e){y.defaultProps.hasOwnProperty(e)||(O[e]=n[e])})),E(S[0],O)}y.displayName="FontAwesomeIcon",y.propTypes={border:i.a.bool,className:i.a.string,mask:i.a.oneOfType([i.a.object,i.a.array,i.a.string]),fixedWidth:i.a.bool,inverse:i.a.bool,flip:i.a.oneOf(["horizontal","vertical","both"]),icon:i.a.oneOfType([i.a.object,i.a.array,i.a.string]),listItem:i.a.bool,pull:i.a.oneOf(["right","left"]),pulse:i.a.bool,rotation:i.a.oneOf([0,90,180,270]),size:i.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:i.a.bool,symbol:i.a.oneOfType([i.a.bool,i.a.string]),title:i.a.string,transform:i.a.oneOfType([i.a.string,i.a.object]),swapOpacity:i.a.bool},y.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var E=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=h(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[m(t)]=r}return e}),{attrs:{}}),o=r.style,s=void 0===o?{}:o,l=p(r,["style"]);return i.attrs.style=d({},i.attrs.style,{},s),t.apply(void 0,[n.tag,d({},i.attrs,{},l)].concat(f(a)))}.bind(null,s.a.createElement)},,function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(434),a=n.n(r),i=n(79),o=n.n(i);function s(e){return(s="function"===typeof o.a&&"symbol"===typeof a.a?function(e){return typeof e}:function(e){return e&&"function"===typeof o.a&&e.constructor===o.a&&e!==o.a.prototype?"symbol":typeof e})(e)}},function(e,t,n){var r=n(217)("wks"),a=n(150),i=n(30).Symbol,o="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r,a=n(3),i=n(1),o=n(12),s=n(21),l=Object(i.default)(s.a)(r||(r=Object(a.c)(["\n\tdisplay: flex;\n\t",";\n\t",";\n\t",";\n\t",";\n"],["\n\tdisplay: flex;\n\t",";\n\t",";\n\t",";\n\t",";\n"])),o.g,o.f,o.a,o.j);l.displayName="Flex"},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";t.__esModule=!0,t.StyledIcon=void 0;var r,a=(r=n(0))&&r.__esModule?r:{default:r},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(1)),o=n(1211),s=n(810);function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,["a11yTitle","color","size","theme"]));return a.default.createElement("svg",l({"aria-label":t},n))};u.displayName="Icon";var d=(0,i.default)(u).withConfig({displayName:"StyledIcon",componentId:"ofa7kd-0"})(["display:inline-block;flex:0 0 auto;"," "," ",""],(function(e){var t=e.size,n=void 0===t?"medium":t,r=e.theme;return"\n width: "+(r.icon.size[n]||n)+";\n height: "+(r.icon.size[n]||n)+";\n "}),(function(e){return"plain"!==e.color&&c}),(function(e){var t=e.theme;return t&&t.icon.extend}));t.StyledIcon=d,d.defaultProps={},Object.setPrototypeOf(d.defaultProps,s.defaultProps)},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,i=t.children||[],o=i.length,s=[],l=-1;for(;++le.length)&&(t=e.length);for(var n=0,r=new Array(t);nv.a.length)throw new Error("There should be no more than "+v.a.length+" value entries");var t=m.useContext(b.a).currentBreakpoint,n=Array(v.a.length-e.length).fill(e[e.length-1]);return Object(p.e)(e,n)[t]}(l||[!1]),d=!!e.bg||!!Object(y.c)(e)&&!t&&!n&&!e.plain,f=e.bg||Object(y.b)(e,"bg","main");f=f||e.theme.colors.secondary.main,o&&(d=!d);var h=function(e,t){var n=e.outline,r=e.underline,a=e.plain,i=e.active,o=e.light;return a?k:o?n?w:A:r?x:n&&!i||!t?O:S}({underline:n,plain:i,active:o,light:s},d);return m.createElement(h,Object(p.a)({primary:d,color:f,active:o&&(n||i),gap:Object(E.c)(e.theme.space[2])},c,{plain:!!i||!!n,label:u?void 0:a||r}))}),[],["width","color","bg"])},function(e,t,n){"use strict";e.exports=function(e,t,n){var r;null!==n&&void 0!==n||"object"===typeof t&&!Array.isArray(t)||(n=t,t={});r=Object.assign({type:String(e)},t),Array.isArray(n)?r.children=n:null!==n&&void 0!==n&&(r.value=String(n));return r}},function(e,t,n){"use strict";function r(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"===typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"===typeof c||c.content&&"string"===typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"===typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++a;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),v=[];h&&v.push.apply(v,o([h])),v.push(g),b&&v.push.apply(v,o([b])),"string"===typeof c?s.splice.apply(s,[l,1].concat(v)):c.content=v}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=r,r.displayName="markupTemplating",r.aliases=[]},function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return o}));var r=n(0),a=(n(101),n(430),n(267)),i=n(187),o=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":void 0},s=function(e){return function(t){var n=Object(r.createFactory)(t);return function(t){return n(e(t))}}},l=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},c=Object.assign||function(e){for(var t=1;t0&&""===a[0]&&a.splice(0,1);var o=!0,s=!1,l=void 0;try{for(var u,p=c()(a.slice(0));!(o=(u=p.next()).done);o=!0){var m=u.value;m in i||(i[m]={}),i=i[m]}}catch(h){s=!0,l=h}finally{try{o||null==p.return||p.return()}finally{if(s)throw l}}return d()(i.__errors)?i.__errors=i.__errors.concat(r):r&&(i.__errors=[r]),e}),{}):{}}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"root",n=[];return"__errors"in e&&(n=n.concat(e.__errors.map((function(e){return{stack:"".concat(t,": ").concat(e)}})))),s()(e).reduce((function(t,n){return"__errors"!==n&&(t=t.concat(_(e[n],n))),t}),n)}function S(e){var t={__errors:[],addError:function(e){this.__errors.push(e)}};return Object(g.r)(e)?s()(e).reduce((function(t,n){return Object(i.a)({},t,Object(a.a)({},n,S(e[n])))}),t):d()(e)?e.reduce((function(e,t,n){return Object(i.a)({},e,Object(a.a)({},n,S(t)))}),t):t}function O(e){return s()(e).reduce((function(t,n){return"addError"===n?t:"__errors"===n?Object(i.a)({},t,Object(a.a)({},n,e[n])):Object(i.a)({},t,Object(a.a)({},n,O(e[n])))}),{})}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return null===e?[]:e.map((function(e){var t=e.dataPath,n=e.keyword,r=e.message,a=e.params,i=e.schemaPath,o="".concat(t);return{name:n,property:o,message:r,params:a,stack:"".concat(o," ").concat(r).trim(),schemaPath:i}}))}function w(e,t,n,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},c=t;e=Object(g.f)(t,e,c,!0);var u=!Object(g.e)(y,o),p=!Object(g.e)(v,l);(u||p)&&(b=E()),o&&u&&d()(o)&&(b.addMetaSchema(o),y=o),l&&p&&Object(g.r)(l)&&(s()(l).forEach((function(e){b.addFormat(e,l[e])})),v=l);var f=null;try{b.validate(t,e)}catch(I){f=I}var m=A(b.errors);b.errors=null;var h=f&&f.message&&"string"===typeof f.message&&f.message.includes("no schema with key or ref ");h&&(m=[].concat(Object(r.a)(m),[{stack:f.message}])),"function"===typeof a&&(m=a(m));var w=T(m);if(h&&(w=Object(i.a)({},w,{$schema:{__errors:[f.message]}})),"function"!==typeof n)return{errors:m,errorSchema:w};var k=n(e,S(e)),C=O(k),x=Object(g.u)(w,C,!0),N=_(x);return{errors:N,errorSchema:x}}function k(e,t){try{return b.validate(e,t)}catch(n){return!1}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(46);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(485)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(12),a={primary:{main:"#00AEEF",semilight:"#aedff9",light:"#08bcff",dark:"#009dd7"},secondary:{main:"#2A506F",semilight:"#abb9c5",light:"#2e587a",dark:"#23445e"},tertiary:{main:"#527699",light:"#5b82a7",semilight:"#bbc8d6",dark:"#456482"},quartenary:{main:"#DDE1f0",light:"#f8f9fd",dark:"#b7bed3"},danger:{main:"#FF423D",semilight:"#ffa1a1",light:"#feebeb",dark:"#eb0800"},warning:{main:"#FCA321",semilight:"#fdd190",light:"#fef3e5",dark:"#ad6800"},success:{main:"#1AC135",semilight:"#8ce09a",light:"#e8f8ea",dark:"#138b27"},info:{main:"#1496E1",semilight:"#90cbee",light:"#e8f5fc",dark:"#107dbc"},text:{main:"#2A506F",light:"#527699",dark:"#23445e"},statusIdle:{main:"#89c683"},statusConfiguring:{main:"#ffb25e"},statusUpdating:{main:"#75C5F5"},statusPostProvisioning:{main:"#aa96d5"},statusOffline:{main:"#fd7c7c"},statusInactive:{main:"#d3d6db"},gray:{main:"#c6c8c9",light:"#f4f4f4",dark:"#9f9f9f"}},i=[576,768,992,1200],o=[0,4,8,16,38,48,128],s=[10,12,14,16,18,24,34,58,72],l="'Source Sans Pro', Helvetica, sans-serif",c={breakpoints:i,space:o,fontSizes:s,weights:[400,600],font:l,monospace:"'Ubuntu Mono', 'Courier New', monospace",lineHeight:1.5,colors:a,radius:3,header:{height:"0"},global:{font:{family:l,size:Object(r.p)(s[2]),height:1.5},control:{disabled:{opacity:.4},border:{radius:"4px",color:a.quartenary.main}},colors:{focus:a.primary.main,placeholder:a.secondary.semilight},selected:{background:a.primary.main},hover:{background:{color:a.quartenary.main,opacity:1},color:{dark:"inherit",light:"inherit"}},active:{background:{color:a.quartenary.main,opacity:1},color:{dark:"inherit",light:"inherit"}},drop:{border:{radius:"4px"},zIndex:45,extend:"\n\t\t\t\tcolor: "+a.secondary.main+"; border: 1px solid "+a.quartenary.main+";\n\t\t\t\tanimation-duration: 0s;\n\t\t\t"},input:{weight:400}},button:{height:"38px",font:{weight:600,size:Object(r.p)(s[2])},border:{width:"1px",radius:"20px",color:a.text.main},padding:{horizontal:"30px"}},navBar:{font:{size:Object(r.p)(s[2])}},radioButton:{border:{width:"1px",color:{dark:a.quartenary.main,light:a.quartenary.main}},hover:{border:{color:{dark:a.tertiary.main,light:a.tertiary.main}}},check:{color:{dark:"white",light:"white"}},icon:{size:"12px"},gap:"10px",size:"20px"},select:{icons:{color:a.secondary.main},control:{extend:"color: "+a.secondary.main}},layer:{container:{zIndex:40},zIndex:30},text:{medium:{size:Object(r.p)(s[2]),height:1.5}},tab:{extend:"padding: "+Object(r.p)(o[1])+" "+Object(r.p)(o[3]),color:a.secondary.main,margin:"none",border:{size:"xsmall",color:a.quartenary.main,active:{color:a.primary.main},hover:{color:a.quartenary.main}},hover:{color:a.primary.dark},active:{color:a.primary.main}},checkBox:{size:"20px",color:a.primary.main,border:{color:{dark:a.quartenary.main,light:a.quartenary.main},width:"1px"},check:{radius:"4px",thickness:"2px"},hover:{border:{color:{dark:a.quartenary.main,light:a.quartenary.main}}},toggle:{color:{dark:a.primary.main,light:a.quartenary.main},radius:"20px",size:"40px",knob:{}}},accordion:{border:{side:"bottom"}}};t.b=c},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n >=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i}),e.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],comment:e.languages.c.comment,directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete e.languages.c.boolean}e.exports=r,r.displayName="c",r.aliases=[]},function(e,t,n){"use strict";e.exports=n(491)},function(e,t,n){var r=n(146);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){e.exports=n(597)},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var m=Object.keys(e);"alpha"in e&&(m.splice(m.indexOf("alpha"),1),this.valpha="number"===typeof e.alpha?e.alpha:0);var h=m.sort().join("");if(!(h in s))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=s[h];var g=a[this.model].labels,b=[];for(n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return c.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),r=this.rgb(),a=void 0===t?.5:t,i=2*a-1,o=n.alpha()-r.alpha(),s=((i*o===-1?i:(i+o)/(1+i*o))+1)/2,l=1-s;return c.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue(),n.alpha()*a+r.alpha()*(1-a))}},Object.keys(a).forEach((function(e){if(-1===o.indexOf(e)){var t=a[e].channels;c.prototype[e]=function(){if(this.model===e)return new c(this);if(arguments.length)return new c(arguments,e);var n="number"===typeof arguments[t]?t:this.valpha;return new c(p(a[this.model][e].raw(this.color)).concat(n),e)},c[e]=function(n){return"number"===typeof n&&(n=f(i.call(arguments),t)),new c(n,e)}}})),e.exports=c},function(e,t,n){var r=n(45).Symbol;e.exports=r},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,n){var r=n(197),a=n(198);e.exports=function(e,t,n,i){var o=!n;n||(n={});for(var s=-1,l=t.length;++s=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t){e.exports={}},function(e,t,n){"use strict";function r(e,t,n){var r=n?" !== ":" === ",a=n?" || ":" && ",i=n?"!":"",o=n?"":"!";switch(e){case"null":return t+r+"null";case"array":return i+"Array.isArray("+t+")";case"object":return"("+i+t+a+"typeof "+t+r+'"object"'+a+o+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+r+'"number"'+a+o+"("+t+" % 1)"+a+t+r+t+")";default:return"typeof "+t+r+'"'+e+'"'}}e.exports={copy:function(e,t){for(var n in t=t||{},e)t[n]=e[n];return t},checkDataType:r,checkDataTypes:function(e,t){switch(e.length){case 1:return r(e[0],t,!0);default:var n="",a=i(e);for(var o in a.array&&a.object&&(n=a.null?"(":"(!"+t+" || ",n+="typeof "+t+' !== "object")',delete a.null,delete a.array,delete a.object),a.number&&delete a.integer,a)n+=(n?" && ":"")+r(o,t,!0);return n}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var n=[],r=0;r=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return n[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);if(i="data"+(t-r||""),!a)return i}for(var s=i,c=a.split("/"),u=0;u=48&&t<=57}},function(e,t){(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},function(e,t,n){"use strict";e.exports=function(e,t){var n=[],a=-1,i=e.length;t&&n.push(r("text","\n"));for(;++a1),t})),s(e,u(e),n),c&&(n=a(n,7,l));for(var d=t.length;d--;)i(n,t[d]);return n}));e.exports=d},function(e,t,n){e.exports=n(666)},function(e,t,n){e.exports=n(680)},function(e,t,n){e.exports=n(802)},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}e.exports=function(e,t){if(a(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=0;oy;y++)if((g=t?v(o(m=e[y])[0],m[1]):v(e[y]))===c||g===u)return g}else for(h=b.call(e);!(m=h.next()).done;)if((g=a(h,v,m.value,t))===c||g===u)return g}).BREAK=c,t.RETURN=u},function(e,t,n){var r=n(692),a=n(695),i=n(106),o=n(34),s=n(696);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?o(e)?a(e[0],e[1]):r(e):s(e)}},function(e,t,n){"use strict";var r=n(842),a=n(843),i=n(92),o=n(844),s=n(845),l=n(846);e.exports=function(e,t){var n,i,o={};t||(t={});for(i in p)n=t[i],o[i]=null===n||void 0===n?p[i]:n;(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start);return function(e,t){var n,i,o,p,y,E,T,_,S,O,A,w,k,C,x,N,I,R,P,D=t.additional,L=t.nonTerminated,M=t.text,F=t.reference,j=t.warning,U=t.textContext,B=t.referenceContext,H=t.warningContext,z=t.position,G=t.indent||[],$=e.length,V=0,W=-1,K=z.column||1,q=z.line||1,Y="",X=[];"string"===typeof D&&(D=D.charCodeAt(0));N=Z(),_=j?function(e,t){var n=Z();n.column+=t,n.offset+=t,j.call(H,b[e],n,e)}:d,V--,$++;for(;++V<$;)if(10===y&&(K=G[W]||1),38===(y=e.charCodeAt(V))){if(9===(T=e.charCodeAt(V+1))||10===T||12===T||32===T||38===T||60===T||T!==T||D&&T===D){Y+=u(y),K++;continue}for(w=k=V+1,P=k,35===T?(P=++w,88===(T=e.charCodeAt(P))||120===T?(C=m,P=++w):C="decimal"):C=f,n="",A="",p="",x=g[C],P--;++P<$&&(T=e.charCodeAt(P),x(T));)p+=u(T),C===f&&c.call(r,p)&&(n=p,A=r[p]);(o=59===e.charCodeAt(P))&&(P++,(i=C===f&&l(p))&&(n=p,A=i)),R=1+P-k,(o||L)&&(p?C===f?(o&&!A?_(5,1):(n!==p&&(P=w+n.length,R=1+P-w,o=!1),o||(S=n?1:3,t.attribute?61===(T=e.charCodeAt(P))?(_(S,R),A=null):s(T)?A=null:_(S,R):_(S,R))),E=A):(o||_(2,R),E=parseInt(p,h[C]),(Q=E)>=55296&&Q<=57343||Q>1114111?(_(7,R),E=u(65533)):E in a?(_(6,R),E=a[E]):(O="",v(E)&&_(6,R),E>65535&&(O+=u((E-=65536)>>>10|55296),E=56320|1023&E),E=O+u(E))):C!==f&&_(4,R)),E?(J(),N=Z(),V=P-1,K+=P-k+1,X.push(E),(I=Z()).offset++,F&&F.call(B,E,{start:N,end:I},e.slice(k-1,P)),N=I):(p=e.slice(k-1,P),Y+=p,K+=p.length,V=P-1)}else 10===y&&(q++,W++,K=0),y===y?(Y+=u(y),K++):J();var Q;return X.join("");function Z(){return{line:q,column:K,offset:V+(z.offset||0)}}function J(){Y&&(X.push(Y),M&&M.call(U,Y,{start:N,end:Z()}),Y="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",m="hexadecimal",h={hexadecimal:16,decimal:10},g={};g[f]=s,g.decimal=i,g[m]=o;var b={};function v(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}b[1]="Named character references must be terminated by a semicolon",b[2]="Numeric character references must be terminated by a semicolon",b[3]="Named character references cannot be empty",b[4]="Numeric character references cannot be empty",b[5]="Named character references must be known",b[6]="Numeric character references cannot be disallowed",b[7]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";e.exports=function(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},function(e,t,n){"use strict";var r=n(396),a=n(398),i=n(401),o=n(402),s=n(405),l=n(918);e.exports=r([i,a,o,s,l])},function(e,t,n){"use strict";var r=n(396),a=n(398),i=n(401),o=n(402),s=n(405),l=n(919);e.exports=r([i,a,o,s,l])},function(e,t,n){"use strict";var r=n(243),a=n(399),i=n(400);e.exports=function(e,t){var n=r(t),d=t,p=i;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&"data"===n.slice(0,4)&&o.test(t)&&("-"===t.charAt(4)?d=function(e){var t=e.slice(5).replace(s,u);return"data"+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(s.test(t))return e;"-"!==(t=t.replace(l,c)).charAt(0)&&(t="-"+t);return"data"+t}(t),p=a);return new p(d,t)};var o=/^data[-\w.:]+$/i,s=/-[a-z]/g,l=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function u(e){return e.charAt(1).toUpperCase()}},function(e){e.exports=JSON.parse('{"html":"http://www.w3.org/1999/xhtml","mathml":"http://www.w3.org/1998/Math/MathML","svg":"http://www.w3.org/2000/svg","xlink":"http://www.w3.org/1999/xlink","xml":"http://www.w3.org/XML/1998/namespace","xmlns":"http://www.w3.org/2000/xmlns/"}')},function(e,t,n){var r=n(209);e.exports=function(e,t){return r(e,t)}},function(e,t){e.exports=function(){}},function(e,t,n){e.exports=n(785)},function(e){e.exports=JSON.parse('{"strip":["script"],"clobberPrefix":"user-content-","clobber":["name","id"],"ancestors":{"tbody":["table"],"tfoot":["table"],"thead":["table"],"td":["table"],"th":["table"],"tr":["table"]},"protocols":{"href":["http","https","mailto","xmpp","irc","ircs"],"cite":["http","https"],"src":["http","https"],"longDesc":["http","https"]},"tagNames":["h1","h2","h3","h4","h5","h6","br","b","i","strong","em","a","pre","code","img","tt","div","ins","del","sup","sub","p","ol","ul","table","thead","tbody","tfoot","blockquote","dl","dt","dd","kbd","q","samp","var","hr","ruby","rt","rp","li","tr","td","th","s","strike","summary","details","caption","figure","figcaption","abbr","bdo","cite","dfn","mark","small","span","time","wbr","input"],"attributes":{"a":["href"],"img":["src","longDesc"],"input":[["type","checkbox"],["disabled",true]],"li":[["className","task-list-item"]],"div":["itemScope","itemType"],"blockquote":["cite"],"del":["cite"],"ins":["cite"],"q":["cite"],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","ariaDescribedBy","ariaHidden","ariaLabel","ariaLabelledBy","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","cols","colSpan","color","compact","coords","dateTime","dir","disabled","encType","htmlFor","frame","headers","height","hrefLang","hSpace","isMap","id","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rows","rowSpan","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","type","useMap","vAlign","value","vSpace","width","itemProp"]},"required":{"input":{"type":"checkbox","disabled":true}}}')},,function(e,t){var n,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,c=[],u=!1,d=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d1)for(var n=1;n0&&i(u)?n>1?e(u,n-1,i,o,s):r(s,u):o||(s[s.length]=u)}return s}},function(e,t,n){var r=n(520),a=n(52),i=Object.prototype,o=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){var r=n(70),a=n(52);e.exports=function(e){return a(e)&&r(e)}},function(e,t,n){var r=n(135),a=n(524),i=n(525),o=n(526),s=n(527),l=n(528);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=a,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t,n){(function(e){var r=n(45),a=n(531),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||a;e.exports=l}).call(this,n(107)(e))},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e0?a(r(e),9007199254740991):0}},function(e,t,n){var r=n(53),a=n(584),i=n(221),o=n(220)("IE_PROTO"),s=function(){},l=function(){var e,t=n(214)("iframe"),r=i.length;for(t.style.display="none",n(315).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("