tocco-admin 1.0.57 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +10 -0
- package/dist/chunk-135.7d660568a146bae2e324.js +1 -0
- package/dist/chunk-399.13bf2a9ae2feefdf97ca.js +1 -0
- package/dist/chunk-531.e9068978b8f2d291fbf5.js +1 -0
- package/dist/chunk-551.7f40639dd11ab3b7f8b6.js +14 -0
- package/dist/chunk-611.35d853af590ca0ea7cfa.js +7 -0
- package/dist/chunk-998.97a5741c96bbecfb7a63.js +6 -0
- package/dist/{chunk-actions.278eb1ed4f635f1dc1f5.js → chunk-actions.dfcdba755b78b74f741c.js} +1 -1
- package/dist/chunk-code-editor.80bf18503eaafe9fd5f4.js +1 -0
- package/dist/chunk-phone-formatter.2bea45485b53dc505174.js +1 -0
- package/dist/chunk-vendor-icons.0004de325907cc3ee473.js +1 -0
- package/dist/{chunk-vendor-quill.1d9f8692d353d9f469ed.js → chunk-vendor-quill.4478c72cf0f4bf2746be.js} +2 -2
- package/dist/index.js +10 -10
- package/package.json +1 -1
- package/dist/chunk-135.a2f32a62486e579d897b.js +0 -1
- package/dist/chunk-399.03d6b40ef2591128a669.js +0 -1
- package/dist/chunk-531.3c5f190e35ac5ae98067.js +0 -1
- package/dist/chunk-611.a41cc743af6f875068f3.js +0 -7
- package/dist/chunk-633.42a7aa51f1557a183a9b.js +0 -14
- package/dist/chunk-949.353a8ded32aea5ad11d7.js +0 -1
- package/dist/chunk-code-editor.f83c8405f450f6e21dbf.js +0 -1
- package/dist/chunk-phone-formatter.38d1c2f45a41db018360.js +0 -1
- package/dist/chunk-vendor-icons.7ec364875ebe2767db8e.js +0 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
1.0.60
|
|
2
|
+
- replace flatpickr with react-datepicker
|
|
3
|
+
|
|
4
|
+
1.0.59
|
|
5
|
+
- add condition to remote and select field
|
|
6
|
+
- simple actions add conditions
|
|
7
|
+
|
|
8
|
+
1.0.58
|
|
9
|
+
- add css classes for display expressions styling
|
|
10
|
+
|
|
1
11
|
1.0.57
|
|
2
12
|
- reverse title order to first display entity name and then default display
|
|
3
13
|
- make menu buttons inside header responsive, so that oveflowing text gets ellipsis on smaller screens
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[135],{41143:t=>{"use strict";t.exports=function(t,e,n,r,o,i,a,c){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,c],f=0;(u=new Error(e.replace(/%s/g,(function(){return s[f++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},280:(t,e,n)=>{var r=n(5569)(Object.keys,Object);t.exports=r},41609:(t,e,n)=>{var r=n(280),o=n(64160),i=n(35694),a=n(1469),c=n(98612),u=n(44144),s=n(25726),f=n(36719),l=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(c(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||f(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(s(t))return!r(t).length;for(var n in t)if(l.call(t,n))return!1;return!0}},35937:(t,e,n)=>{var r=n(29932),o=n(67206),i=n(63012),a=n(46904);t.exports=function(t,e){if(null==t)return{};var n=r(a(t),(function(t){return[t]}));return e=o(e),i(t,n,(function(t,n){return e(t,n[0])}))}},69590:t=>{var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var c,u,s,f;if(Array.isArray(t)){if((c=t.length)!=a.length)return!1;for(u=c;0!=u--;)if(!i(t[u],a[u]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(f=t.entries();!(u=f.next()).done;)if(!a.has(u.value[0]))return!1;for(f=t.entries();!(u=f.next()).done;)if(!i(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(f=t.entries();!(u=f.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((c=t.length)!=a.length)return!1;for(u=c;0!=u--;)if(t[u]!==a[u])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((c=(s=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(u=c;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,s[u]))return!1;if(e&&t instanceof Element)return!1;for(u=c;0!=u--;)if(("_owner"!==s[u]&&"__v"!==s[u]&&"__o"!==s[u]||!t.$$typeof)&&!i(t[s[u]],a[s[u]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return i(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},64593:(t,e,n)=>{"use strict";n.d(e,{q:()=>yt});var r,o,i,a,c=n(89324),u=n.n(c),s=n(83524),f=n.n(s),l=n(69590),p=n.n(l),h=n(1024),d=n.n(h),v=n(27418),y=n.n(v),m="bodyAttributes",g="htmlAttributes",b="titleAttributes",w={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},T=(Object.keys(w).map((function(t){return w[t]})),"charset"),x="cssText",O="href",E="http-equiv",A="innerHTML",C="itemprop",P="name",S="property",k="rel",j="src",R="target",_={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},L="defaultTitle",I="defer",U="encodeSpecialCharacters",M="onChangeClientState",N="titleTemplate",D=Object.keys(_).reduce((function(t,e){return t[_[e]]=e,t}),{}),H=[w.NOSCRIPT,w.SCRIPT,w.STYLE],B="data-react-helmet",F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},W=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},$=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Z=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},Y=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},V=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===e?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},K=function(t){var e=Q(t,w.TITLE),n=Q(t,N);if(n&&e)return n.replace(/%s/g,(function(){return Array.isArray(e)?e.join(""):e}));var r=Q(t,L);return e||r||void 0},z=function(t){return Q(t,M)||function(){}},J=function(t,e){return e.filter((function(e){return void 0!==e[t]})).map((function(e){return e[t]})).reduce((function(t,e){return q({},t,e)}),{})},X=function(t,e){return e.filter((function(t){return void 0!==t[w.BASE]})).map((function(t){return t[w.BASE]})).reverse().reduce((function(e,n){if(!e.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==t.indexOf(i)&&n[i])return e.concat(n)}return e}),[])},G=function(t,e,n){var r={};return n.filter((function(e){return!!Array.isArray(e[t])||(void 0!==e[t]&&ot("Helmet: "+t+' should be of type "Array". Instead found type "'+F(e[t])+'"'),!1)})).map((function(e){return e[t]})).reverse().reduce((function(t,n){var o={};n.filter((function(t){for(var n=void 0,i=Object.keys(t),a=0;a<i.length;a++){var c=i[a],u=c.toLowerCase();-1===e.indexOf(u)||n===k&&"canonical"===t[n].toLowerCase()||u===k&&"stylesheet"===t[u].toLowerCase()||(n=u),-1===e.indexOf(c)||c!==A&&c!==x&&c!==C||(n=c)}if(!n||!t[n])return!1;var s=t[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][s]&&(o[n][s]=!0,!0)})).reverse().forEach((function(e){return t.push(e)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var c=i[a],u=y()({},r[c],o[c]);r[c]=u}return t}),[]).reverse()},Q=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.hasOwnProperty(e))return r[e]}return null},tt=(r=Date.now(),function(t){var e=Date.now();e-r>16?(r=e,t(e)):setTimeout((function(){tt(t)}),0)}),et=function(t){return clearTimeout(t)},nt="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||tt:n.g.requestAnimationFrame||tt,rt="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||et:n.g.cancelAnimationFrame||et,ot=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},it=null,at=function(t,e){var n=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,c=t.noscriptTags,u=t.onChangeClientState,s=t.scriptTags,f=t.styleTags,l=t.title,p=t.titleAttributes;st(w.BODY,r),st(w.HTML,o),ut(l,p);var h={baseTag:ft(w.BASE,n),linkTags:ft(w.LINK,i),metaTags:ft(w.META,a),noscriptTags:ft(w.NOSCRIPT,c),scriptTags:ft(w.SCRIPT,s),styleTags:ft(w.STYLE,f)},d={},v={};Object.keys(h).forEach((function(t){var e=h[t],n=e.newTags,r=e.oldTags;n.length&&(d[t]=n),r.length&&(v[t]=h[t].oldTags)})),e&&e(),u(t,d,v)},ct=function(t){return Array.isArray(t)?t.join(""):t},ut=function(t,e){void 0!==t&&document.title!==t&&(document.title=ct(t)),st(w.TITLE,e)},st=function(t,e){var n=document.getElementsByTagName(t)[0];if(n){for(var r=n.getAttribute(B),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(e),c=0;c<a.length;c++){var u=a[c],s=e[u]||"";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===o.indexOf(u)&&o.push(u);var f=i.indexOf(u);-1!==f&&i.splice(f,1)}for(var l=i.length-1;l>=0;l--)n.removeAttribute(i[l]);o.length===i.length?n.removeAttribute(B):n.getAttribute(B)!==a.join(",")&&n.setAttribute(B,a.join(","))}},ft=function(t,e){var n=document.head||document.querySelector(w.HEAD),r=n.querySelectorAll(t+"["+"data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return e&&e.length&&e.forEach((function(e){var n=document.createElement(t);for(var r in e)if(e.hasOwnProperty(r))if(r===A)n.innerHTML=e.innerHTML;else if(r===x)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var c=void 0===e[r]?"":e[r];n.setAttribute(r,c)}n.setAttribute(B,"true"),o.some((function(t,e){return a=e,n.isEqualNode(t)}))?o.splice(a,1):i.push(n)})),o.forEach((function(t){return t.parentNode.removeChild(t)})),i.forEach((function(t){return n.appendChild(t)})),{oldTags:o,newTags:i}},lt=function(t){return Object.keys(t).reduce((function(e,n){var r=void 0!==t[n]?n+'="'+t[n]+'"':""+n;return e?e+" "+r:r}),"")},pt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[_[n]||n]=t[n],e}),e)},ht=function(t,e,n){switch(t){case w.TITLE:return{toComponent:function(){return t=e.title,n=e.titleAttributes,(r={key:t})[B]=!0,o=pt(n,r),[d().createElement(w.TITLE,o,t)];var t,n,r,o},toString:function(){return function(t,e,n,r){var o=lt(n),i=ct(e);return o?"<"+t+' data-react-helmet="true" '+o+">"+V(i,r)+"</"+t+">":"<"+t+' data-react-helmet="true">'+V(i,r)+"</"+t+">"}(t,e.title,e.titleAttributes,n)}};case m:case g:return{toComponent:function(){return pt(e)},toString:function(){return lt(e)}};default:return{toComponent:function(){return function(t,e){return e.map((function(e,n){var r,o=((r={key:n})[B]=!0,r);return Object.keys(e).forEach((function(t){var n=_[t]||t;if(n===A||n===x){var r=e.innerHTML||e.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=e[t]})),d().createElement(t,o)}))}(t,e)},toString:function(){return function(t,e,n){return e.reduce((function(e,r){var o=Object.keys(r).filter((function(t){return!(t===A||t===x)})).reduce((function(t,e){var o=void 0===r[e]?e:e+'="'+V(r[e],n)+'"';return t?t+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===H.indexOf(t);return e+"<"+t+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+t+">")}),"")}(t,e,n)}}}},dt=function(t){var e=t.baseTag,n=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,c=t.noscriptTags,u=t.scriptTags,s=t.styleTags,f=t.title,l=void 0===f?"":f,p=t.titleAttributes;return{base:ht(w.BASE,e,r),bodyAttributes:ht(m,n,r),htmlAttributes:ht(g,o,r),link:ht(w.LINK,i,r),meta:ht(w.META,a,r),noscript:ht(w.NOSCRIPT,c,r),script:ht(w.SCRIPT,u,r),style:ht(w.STYLE,s,r),title:ht(w.TITLE,{title:l,titleAttributes:p},r)}},vt=f()((function(t){return{baseTag:X([O,R],t),bodyAttributes:J(m,t),defer:Q(t,I),encode:Q(t,U),htmlAttributes:J(g,t),linkTags:G(w.LINK,[k,O],t),metaTags:G(w.META,[P,T,E,S,C],t),noscriptTags:G(w.NOSCRIPT,[A],t),onChangeClientState:z(t),scriptTags:G(w.SCRIPT,[j,A],t),styleTags:G(w.STYLE,[x],t),title:K(t),titleAttributes:J(b,t)}}),(function(t){it&&rt(it),t.defer?it=nt((function(){at(t,(function(){it=null}))})):(at(t),it=null)}),dt)((function(){return null})),yt=(o=vt,a=i=function(t){function e(){return W(this,e),Y(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return!p()(this.props,t)},e.prototype.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case w.SCRIPT:case w.NOSCRIPT:return{innerHTML:e};case w.STYLE:return{cssText:e}}throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},e.prototype.flattenArrayTypeChildren=function(t){var e,n=t.child,r=t.arrayTypeChildren,o=t.newChildProps,i=t.nestedChildren;return q({},r,((e={})[n.type]=[].concat(r[n.type]||[],[q({},o,this.mapNestedChildrenToProps(n,i))]),e))},e.prototype.mapObjectTypeChildren=function(t){var e,n,r=t.child,o=t.newProps,i=t.newChildProps,a=t.nestedChildren;switch(r.type){case w.TITLE:return q({},o,((e={})[r.type]=a,e.titleAttributes=q({},i),e));case w.BODY:return q({},o,{bodyAttributes:q({},i)});case w.HTML:return q({},o,{htmlAttributes:q({},i)})}return q({},o,((n={})[r.type]=q({},i),n))},e.prototype.mapArrayTypeChildrenToProps=function(t,e){var n=q({},e);return Object.keys(t).forEach((function(e){var r;n=q({},n,((r={})[e]=t[e],r))})),n},e.prototype.warnOnInvalidChildren=function(t,e){return!0},e.prototype.mapChildrenToProps=function(t,e){var n=this,r={};return d().Children.forEach(t,(function(t){if(t&&t.props){var o=t.props,i=o.children,a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[D[n]||n]=t[n],e}),e)}(Z(o,["children"]));switch(n.warnOnInvalidChildren(t,i),t.type){case w.LINK:case w.META:case w.NOSCRIPT:case w.SCRIPT:case w.STYLE:r=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:e=n.mapObjectTypeChildren({child:t,newProps:e,newChildProps:a,nestedChildren:i})}}})),e=this.mapArrayTypeChildrenToProps(r,e)},e.prototype.render=function(){var t=this.props,e=t.children,n=Z(t,["children"]),r=q({},n);return e&&(r=this.mapChildrenToProps(e,r)),d().createElement(o,r)},$(e,null,[{key:"canUseDOM",set:function(t){o.canUseDOM=t}}]),e}(d().Component),i.propTypes={base:u().object,bodyAttributes:u().object,children:u().oneOfType([u().arrayOf(u().node),u().node]),defaultTitle:u().string,defer:u().bool,encodeSpecialCharacters:u().bool,htmlAttributes:u().object,link:u().arrayOf(u().object),meta:u().arrayOf(u().object),noscript:u().arrayOf(u().object),onChangeClientState:u().func,script:u().arrayOf(u().object),style:u().arrayOf(u().object),title:u().string,titleAttributes:u().object,titleTemplate:u().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var t=o.rewind();return t||(t=dt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},a);yt.renderStatic=yt.rewind},17579:(t,e,n)=>{"use strict";var r=n(80070);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},89324:(t,e,n)=>{t.exports=n(17579)()},80070:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},96559:(t,e,n)=>{"use strict";n.d(e,{rU:()=>D});var r=n(80467);function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)}var a=n(1024),c=n.n(a);function u(){return u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}function s(t){return"/"===t.charAt(0)}function f(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}const l=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],o=e&&e.split("/")||[],i=t&&s(t),a=e&&s(e),c=i||a;if(t&&s(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var u=o[o.length-1];n="."===u||".."===u||""===u}else n=!1;for(var l=0,p=o.length;p>=0;p--){var h=o[p];"."===h?f(o,p):".."===h?(f(o,p),l++):l&&(f(o,p),l--)}if(!c)for(;l--;l)o.unshift("..");!c||""===o[0]||o[0]&&s(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};var p=n(2177);function h(t){return"/"===t.charAt(0)?t:"/"+t}function d(t){return"/"===t.charAt(0)?t.substr(1):t}function v(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}function y(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function m(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function g(t,e,n,r){var o;"string"==typeof t?(o=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t),o.state=e):(void 0===(o=u({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=l(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function b(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,o){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(t){return t.apply(void 0,n)}))}}}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function T(t,e){e(window.confirm(t))}var x="popstate",O="hashchange";function E(){try{return window.history.state||{}}catch(t){return{}}}function A(t){void 0===t&&(t={}),w||(0,p.Z)(!1);var e,n=window.history,r=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=t,a=i.forceRefresh,c=void 0!==a&&a,s=i.getUserConfirmation,f=void 0===s?T:s,l=i.keyLength,d=void 0===l?6:l,A=t.basename?y(h(t.basename)):"";function C(t){var e=t||{},n=e.key,r=e.state,o=window.location,i=o.pathname+o.search+o.hash;return A&&(i=v(i,A)),g(i,r,n)}function P(){return Math.random().toString(36).substr(2,d)}var S=b();function k(t){u(F,t),F.length=n.length,S.notifyListeners(F.location,F.action)}function j(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||L(C(t.state))}function R(){L(C(E()))}var _=!1;function L(t){if(_)_=!1,k();else{S.confirmTransitionTo(t,"POP",f,(function(e){e?k({action:"POP",location:t}):function(t){var e=F.location,n=U.indexOf(e.key);-1===n&&(n=0);var r=U.indexOf(t.key);-1===r&&(r=0);var o=n-r;o&&(_=!0,N(o))}(t)}))}}var I=C(E()),U=[I.key];function M(t){return A+m(t)}function N(t){n.go(t)}var D=0;function H(t){1===(D+=t)&&1===t?(window.addEventListener(x,j),o&&window.addEventListener(O,R)):0===D&&(window.removeEventListener(x,j),o&&window.removeEventListener(O,R))}var B=!1;var F={length:n.length,action:"POP",location:I,createHref:M,push:function(t,e){var o="PUSH",i=g(t,e,P(),F.location);S.confirmTransitionTo(i,o,f,(function(t){if(t){var e=M(i),a=i.key,u=i.state;if(r)if(n.pushState({key:a,state:u},null,e),c)window.location.href=e;else{var s=U.indexOf(F.location.key),f=U.slice(0,s+1);f.push(i.key),U=f,k({action:o,location:i})}else window.location.href=e}}))},replace:function(t,e){var o="REPLACE",i=g(t,e,P(),F.location);S.confirmTransitionTo(i,o,f,(function(t){if(t){var e=M(i),a=i.key,u=i.state;if(r)if(n.replaceState({key:a,state:u},null,e),c)window.location.replace(e);else{var s=U.indexOf(F.location.key);-1!==s&&(U[s]=i.key),k({action:o,location:i})}else window.location.replace(e)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(t){void 0===t&&(t=!1);var e=S.setPrompt(t);return B||(H(1),B=!0),function(){return B&&(B=!1,H(-1)),e()}},listen:function(t){var e=S.appendListener(t);return H(1),function(){H(-1),e()}}};return F}var C="hashchange",P={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+d(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:d,decodePath:h},slash:{encodePath:h,decodePath:h}};function S(t){var e=t.indexOf("#");return-1===e?t:t.slice(0,e)}function k(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)}function j(t){window.location.replace(S(window.location.href)+"#"+t)}function R(t){void 0===t&&(t={}),w||(0,p.Z)(!1);var e=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),t),r=n.getUserConfirmation,o=void 0===r?T:r,i=n.hashType,a=void 0===i?"slash":i,c=t.basename?y(h(t.basename)):"",s=P[a],f=s.encodePath,l=s.decodePath;function d(){var t=l(k());return c&&(t=v(t,c)),g(t)}var x=b();function O(t){u(B,t),B.length=e.length,x.notifyListeners(B.location,B.action)}var E=!1,A=null;function R(){var t,e,n=k(),r=f(n);if(n!==r)j(r);else{var i=d(),a=B.location;if(!E&&(e=i,(t=a).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash))return;if(A===m(i))return;A=null,function(t){if(E)E=!1,O();else{var e="POP";x.confirmTransitionTo(t,e,o,(function(n){n?O({action:e,location:t}):function(t){var e=B.location,n=U.lastIndexOf(m(e));-1===n&&(n=0);var r=U.lastIndexOf(m(t));-1===r&&(r=0);var o=n-r;o&&(E=!0,M(o))}(t)}))}}(i)}}var _=k(),L=f(_);_!==L&&j(L);var I=d(),U=[m(I)];function M(t){e.go(t)}var N=0;function D(t){1===(N+=t)&&1===t?window.addEventListener(C,R):0===N&&window.removeEventListener(C,R)}var H=!1;var B={length:e.length,action:"POP",location:I,createHref:function(t){var e=document.querySelector("base"),n="";return e&&e.getAttribute("href")&&(n=S(window.location.href)),n+"#"+f(c+m(t))},push:function(t,e){var n="PUSH",r=g(t,void 0,void 0,B.location);x.confirmTransitionTo(r,n,o,(function(t){if(t){var e=m(r),o=f(c+e);if(k()!==o){A=e,function(t){window.location.hash=t}(o);var i=U.lastIndexOf(m(B.location)),a=U.slice(0,i+1);a.push(e),U=a,O({action:n,location:r})}else O()}}))},replace:function(t,e){var n="REPLACE",r=g(t,void 0,void 0,B.location);x.confirmTransitionTo(r,n,o,(function(t){if(t){var e=m(r),o=f(c+e);k()!==o&&(A=e,j(o));var i=U.indexOf(m(B.location));-1!==i&&(U[i]=e),O({action:n,location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(t){void 0===t&&(t=!1);var e=x.setPrompt(t);return H||(D(1),H=!0),function(){return H&&(H=!1,D(-1)),e()}},listen:function(t){var e=x.appendListener(t);return D(1),function(){D(-1),e()}}};return B}n(94662);function _(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}c().Component;c().Component;var L=function(t,e){return"function"==typeof t?t(e):t},I=function(t,e){return"string"==typeof t?g(t,null,null,e):t},U=function(t){return t},M=c().forwardRef;void 0===M&&(M=U);var N=M((function(t,e){var n=t.innerRef,r=t.navigate,o=t.onClick,i=_(t,["innerRef","navigate","onClick"]),a=i.target,s=u({},i,{onClick:function(t){try{o&&o(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||a&&"_self"!==a||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return s.ref=U!==M&&e||n,c().createElement("a",s)}));var D=M((function(t,e){var n=t.component,o=void 0===n?N:n,i=t.replace,a=t.to,s=t.innerRef,f=_(t,["component","replace","to","innerRef"]);return c().createElement(r.s6.Consumer,null,(function(t){t||(0,p.Z)(!1);var n=t.history,r=I(L(a,t.location),t.location),l=r?n.createHref(r):"",h=u({},f,{href:l,navigate:function(){var e=L(a,t.location),r=m(t.location)===m(I(e));(i||r?n.replace:n.push)(e)}});return U!==M?h.ref=e||s:h.innerRef=s,c().createElement(o,h)}))})),H=function(t){return t},B=c().forwardRef;void 0===B&&(B=H);B((function(t,e){var n=t["aria-current"],o=void 0===n?"page":n,i=t.activeClassName,a=void 0===i?"active":i,s=t.activeStyle,f=t.className,l=t.exact,h=t.isActive,d=t.location,v=t.sensitive,y=t.strict,m=t.style,g=t.to,b=t.innerRef,w=_(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return c().createElement(r.s6.Consumer,null,(function(t){t||(0,p.Z)(!1);var n=d||t.location,i=I(L(g,n),n),T=i.pathname,x=T&&T.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),O=x?(0,r.LX)(n.pathname,{path:x,exact:l,sensitive:v,strict:y}):null,E=!!(h?h(O,n):O),A="function"==typeof f?f(E):f,C="function"==typeof m?m(E):m;E&&(A=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).join(" ")}(A,a),C=u({},C,s));var P=u({"aria-current":E&&o||null,className:A,style:C,to:i},w);return H!==B?P.ref=e||b:P.innerRef=b,c().createElement(D,P)}))}))},126:(t,e,n)=>{"use strict";var r=n(51235);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},94662:(t,e,n)=>{t.exports=n(126)()},51235:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},80467:(t,e,n)=>{"use strict";function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{NL:()=>L,l_:()=>N,AW:()=>F,F0:()=>R,rs:()=>V,s6:()=>j,LX:()=>B,k6:()=>z,TH:()=>J,UO:()=>X});var i=n(1024),a=n.n(i),c=n(88462),u=n.n(c);function s(){return s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function f(t){return"/"===t.charAt(0)}function l(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}const p=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],o=e&&e.split("/")||[],i=t&&f(t),a=e&&f(e),c=i||a;if(t&&f(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var u=o[o.length-1];n="."===u||".."===u||""===u}else n=!1;for(var s=0,p=o.length;p>=0;p--){var h=o[p];"."===h?l(o,p):".."===h?(l(o,p),s++):s&&(l(o,p),s--)}if(!c)for(;s--;s)o.unshift("..");!c||""===o[0]||o[0]&&f(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};function h(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}const d=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));if("object"==typeof e||"object"==typeof n){var r=h(e),o=h(n);return r!==e||o!==n?t(r,o):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1};function v(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(t,e,n,r){var o;"string"==typeof t?(o=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t),o.state=e):(void 0===(o=s({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=p(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function m(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,o){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(t){return t.apply(void 0,n)}))}}}"undefined"==typeof window||!window.document||window.document.createElement;function g(t,e,n){return Math.min(Math.max(t,e),n)}function b(t){void 0===t&&(t={});var e=t,n=e.getUserConfirmation,r=e.initialEntries,o=void 0===r?["/"]:r,i=e.initialIndex,a=void 0===i?0:i,c=e.keyLength,u=void 0===c?6:c,f=m();function l(t){s(T,t),T.length=T.entries.length,f.notifyListeners(T.location,T.action)}function p(){return Math.random().toString(36).substr(2,u)}var h=g(a,0,o.length-1),d=o.map((function(t){return y(t,void 0,"string"==typeof t?p():t.key||p())})),b=v;function w(t){var e=g(T.index+t,0,T.entries.length-1),r=T.entries[e];f.confirmTransitionTo(r,"POP",n,(function(t){t?l({action:"POP",location:r,index:e}):l()}))}var T={length:d.length,action:"POP",location:d[h],index:h,entries:d,createHref:b,push:function(t,e){var r="PUSH",o=y(t,e,p(),T.location);f.confirmTransitionTo(o,r,n,(function(t){if(t){var e=T.index+1,n=T.entries.slice(0);n.length>e?n.splice(e,n.length-e,o):n.push(o),l({action:r,location:o,index:e,entries:n})}}))},replace:function(t,e){var r="REPLACE",o=y(t,e,p(),T.location);f.confirmTransitionTo(o,r,n,(function(t){t&&(T.entries[T.index]=o,l({action:r,location:o}))}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(t){var e=T.index+t;return e>=0&&e<T.entries.length},block:function(t){return void 0===t&&(t=!1),f.setPrompt(t)},listen:function(t){return f.appendListener(t)}};return T}var w=1073741823,T="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function x(t){var e=[];return{on:function(t){e.push(t)},off:function(t){e=e.filter((function(e){return e!==t}))},get:function(){return t},set:function(n,r){t=n,e.forEach((function(e){return e(t,r)}))}}}var O=a().createContext||function(t,e){var n,r,a="__create-react-context-"+function(){var t="__global_unique_id__";return T[t]=(T[t]||0)+1}()+"__",c=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).emitter=x(e.props.value),e}o(n,t);var r=n.prototype;return r.getChildContext=function(){var t;return(t={})[a]=this.emitter,t},r.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n,r=this.props.value,o=t.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof e?e(r,o):w,0!==(n|=0)&&this.emitter.set(t.value,n))}var i,a},r.render=function(){return this.props.children},n}(i.Component);c.childContextTypes=((n={})[a]=u().object.isRequired,n);var s=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(e,n){0!=((0|t.observedBits)&n)&&t.setState({value:t.getValue()})},t}o(n,e);var r=n.prototype;return r.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=null==e?w:e},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?w:t},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():t},r.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(i.Component);return s.contextTypes=((r={})[a]=u().object,r),{Provider:c,Consumer:s}};const E=O;var A=n(2177),C=n(39658),P=n.n(C);n(59864);n(8679);var S=function(t){var e=E();return e.displayName=t,e},k=S("Router-History"),j=S("Router"),R=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen((function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t}))),n}o(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a().createElement(j.Provider,{value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a().createElement(k.Provider,{children:this.props.children||null,value:this.props.history}))},e}(a().Component);a().Component;var _=function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var n=e.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},e}(a().Component);function L(t){var e=t.message,n=t.when,r=void 0===n||n;return a().createElement(j.Consumer,null,(function(t){if(t||(0,A.Z)(!1),!r||t.staticContext)return null;var n=t.history.block;return a().createElement(_,{onMount:function(t){t.release=n(e)},onUpdate:function(t,r){r.message!==e&&(t.release(),t.release=n(e))},onUnmount:function(t){t.release()},message:e})}))}var I={},U=0;function M(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:function(t){if(I[t])return I[t];var e=P().compile(t);return U<1e4&&(I[t]=e,U++),e}(t)(e,{pretty:!0})}function N(t){var e=t.computedMatch,n=t.to,r=t.push,o=void 0!==r&&r;return a().createElement(j.Consumer,null,(function(t){t||(0,A.Z)(!1);var r=t.history,i=t.staticContext,c=o?r.push:r.replace,u=y(e?"string"==typeof n?M(n,e.params):s({},n,{pathname:M(n.pathname,e.params)}):n);return i?(c(u),null):a().createElement(_,{onMount:function(){c(u)},onUpdate:function(t,e){var n,r,o=y(e.to);n=o,r=s({},u,{key:o.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&d(n.state,r.state)||c(u)},to:n})}))}var D={},H=0;function B(t,e){void 0===e&&(e={}),("string"==typeof e||Array.isArray(e))&&(e={path:e});var n=e,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(e,n){if(!n&&""!==n)return null;if(e)return e;var r=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=D[n]||(D[n]={});if(r[t])return r[t];var o=[],i={regexp:P()(t,o,e),keys:o};return H<1e4&&(r[t]=i,H++),i}(n,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(t);if(!u)return null;var f=u[0],l=u.slice(1),p=t===f;return i&&!p?null:{path:n,url:"/"===n&&""===f?"/":f,isExact:p,params:a.reduce((function(t,e,n){return t[e.name]=l[n],t}),{})}}),null)}var F=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){var t=this;return a().createElement(j.Consumer,null,(function(e){e||(0,A.Z)(!1);var n=t.props.location||e.location,r=s({},e,{location:n,match:t.props.computedMatch?t.props.computedMatch:t.props.path?B(n.pathname,t.props):e.match}),o=t.props,i=o.children,c=o.component,u=o.render;return Array.isArray(i)&&function(t){return 0===a().Children.count(t)}(i)&&(i=null),a().createElement(j.Provider,{value:r},r.match?i?"function"==typeof i?i(r):i:c?a().createElement(c,r):u?u(r):null:"function"==typeof i?i(r):null)}))},e}(a().Component);function W(t){return"/"===t.charAt(0)?t:"/"+t}function $(t,e){if(!t)return e;var n=W(t);return 0!==e.pathname.indexOf(n)?e:s({},e,{pathname:e.pathname.substr(n.length)})}function q(t){return"string"==typeof t?t:v(t)}function Z(t){return function(){(0,A.Z)(!1)}}function Y(){}a().Component;var V=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){var t=this;return a().createElement(j.Consumer,null,(function(e){e||(0,A.Z)(!1);var n,r,o=t.props.location||e.location;return a().Children.forEach(t.props.children,(function(t){if(null==r&&a().isValidElement(t)){n=t;var i=t.props.path||t.props.from;r=i?B(o.pathname,s({},t.props,{path:i})):e.match}})),r?a().cloneElement(n,{location:o,computedMatch:r}):null}))},e}(a().Component);var K=a().useContext;function z(){return K(k)}function J(){return K(j).location}function X(){var t=K(j).match;return t?t.params:{}}},76585:t=>{t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},39658:(t,e,n)=>{var r=n(76585);t.exports=h,t.exports.parse=i,t.exports.compile=function(t,e){return c(i(t,e),e)},t.exports.tokensToFunction=c,t.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(t,e){for(var n,r=[],i=0,a=0,c="",f=e&&e.delimiter||"/";null!=(n=o.exec(t));){var l=n[0],p=n[1],h=n.index;if(c+=t.slice(a,h),a=h+l.length,p)c+=p[1];else{var d=t[a],v=n[2],y=n[3],m=n[4],g=n[5],b=n[6],w=n[7];c&&(r.push(c),c="");var T=null!=v&&null!=d&&d!==v,x="+"===b||"*"===b,O="?"===b||"*"===b,E=n[2]||f,A=m||g;r.push({name:y||i++,prefix:v||"",delimiter:E,optional:O,repeat:x,partial:T,asterisk:!!w,pattern:A?s(A):w?".*":"[^"+u(E)+"]+?"})}}return a<t.length&&(c+=t.substr(a)),c&&r.push(c),r}function a(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function c(t,e){for(var n=new Array(t.length),o=0;o<t.length;o++)"object"==typeof t[o]&&(n[o]=new RegExp("^(?:"+t[o].pattern+")$",l(e)));return function(e,o){for(var i="",c=e||{},u=(o||{}).pretty?a:encodeURIComponent,s=0;s<t.length;s++){var f=t[s];if("string"!=typeof f){var l,p=c[f.name];if(null==p){if(f.optional){f.partial&&(i+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(r(p)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(l=u(p[h]),!n[s].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===h?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?encodeURI(p).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):u(p),!n[s].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');i+=f.prefix+l}}else i+=f}return i}}function u(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function f(t,e){return t.keys=e,t}function l(t){return t&&t.sensitive?"":"i"}function p(t,e,n){r(e)||(n=e||n,e=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",c=0;c<t.length;c++){var s=t[c];if("string"==typeof s)a+=u(s);else{var p=u(s.prefix),h="(?:"+s.pattern+")";e.push(s),s.repeat&&(h+="(?:"+p+h+")*"),a+=h=s.optional?s.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var d=u(n.delimiter||"/"),v=a.slice(-d.length)===d;return o||(a=(v?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=i?"$":o&&v?"":"(?="+d+"|$)",f(new RegExp("^"+a,l(n)),e)}function h(t,e,n){return r(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(t,e)}(t,e):r(t)?function(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(h(t[o],e,n).source);return f(new RegExp("(?:"+r.join("|")+")",l(n)),e)}(t,e,n):function(t,e,n){return p(i(t,n),e,n)}(t,e,n)}},45872:(t,e,n)=>{"use strict";var r=n(4795);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},88462:(t,e,n)=>{t.exports=n(45872)()},4795:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},83524:(t,e,n)=>{"use strict";var r,o=n(1024),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=function(t,e,n){if("function"!=typeof t)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof e)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,s=[];function f(){u=t(s.map((function(t){return t.props}))),l.canUseDOM?e(u):n&&(u=n(u))}var l=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,o.peek=function(){return u},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var t=u;return u=void 0,s=[],t};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){s.push(this),f()},a.componentDidUpdate=function(){f()},a.componentWillUnmount=function(){var t=s.indexOf(this);s.splice(t,1),f()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(l,"displayName","SideEffect("+function(t){return t.displayName||t.name||"Component"}(r)+")"),a(l,"canUseDOM",c),l}}},14149:(t,e,n)=>{"use strict";function r(t){return"/"===t.charAt(0)}function o(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}n.r(e),n.d(e,{default:()=>i});const i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],i=e&&e.split("/")||[],a=t&&r(t),c=e&&r(e),u=a||c;if(t&&r(t)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";var s=void 0;if(i.length){var f=i[i.length-1];s="."===f||".."===f||""===f}else s=!1;for(var l=0,p=i.length;p>=0;p--){var h=i[p];"."===h?o(i,p):".."===h?(o(i,p),l++):l&&(o(i,p),l--)}if(!u)for(;l--;l)i.unshift("..");!u||""===i[0]||i[0]&&r(i[0])||i.unshift("");var d=i.join("/");return s&&"/"!==d.substr(-1)&&(d+="/"),d}},2177:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r="Invariant failed";function o(t,e){if(!t)throw new Error(r)}},54545:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>o});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};const o=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));var o=void 0===e?"undefined":r(e);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=e.valueOf(),a=n.valueOf();if(i!==e||a!==n)return t(i,a);var c=Object.keys(e),u=Object.keys(n);return c.length===u.length&&c.every((function(r){return t(e[r],n[r])}))}return!1}},30670:t=>{"use strict";t.exports=function(){}},49943:t=>{t.exports=s,t.exports.match=function(t,e){var n=[];return r(s(t,n,e),n)},t.exports.regexpToFunction=r,t.exports.parse=n,t.exports.compile=function(t,e){return o(n(t,e),e)},t.exports.tokensToFunction=o,t.exports.tokensToRegExp=u;var e=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function n(t,n){for(var r,o=[],c=0,u=0,s="",f=n&&n.delimiter||"/",l=n&&n.whitelist||void 0,p=!1;null!==(r=e.exec(t));){var h=r[0],d=r[1],v=r.index;if(s+=t.slice(u,v),u=v+h.length,d)s+=d[1],p=!0;else{var y="",m=r[2],g=r[3],b=r[4],w=r[5];if(!p&&s.length){var T=s.length-1,x=s[T];(!l||l.indexOf(x)>-1)&&(y=x,s=s.slice(0,T))}s&&(o.push(s),s="",p=!1);var O="+"===w||"*"===w,E="?"===w||"*"===w,A=g||b,C=y||f;o.push({name:m||c++,prefix:y,delimiter:C,optional:E,repeat:O,pattern:A?a(A):"[^"+i(C===f?C:C+f)+"]+?"})}}return(s||u<t.length)&&o.push(s+t.substr(u)),o}function r(t,e){return function(n,r){var o=t.exec(n);if(!o)return!1;for(var i=o[0],a=o.index,c={},u=r&&r.decode||decodeURIComponent,s=1;s<o.length;s++)if(void 0!==o[s]){var f=e[s-1];f.repeat?c[f.name]=o[s].split(f.delimiter).map((function(t){return u(t,f)})):c[f.name]=u(o[s],f)}return{path:i,index:a,params:c}}}function o(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",c(e)));return function(e,r){for(var o="",i=r&&r.encode||encodeURIComponent,a=!r||!1!==r.validate,c=0;c<t.length;c++){var u=t[c];if("string"!=typeof u){var s,f=e?e[u.name]:void 0;if(Array.isArray(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but got array');if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var l=0;l<f.length;l++){if(s=i(f[l],u),a&&!n[c].test(s))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'"');o+=(0===l?u.prefix:u.delimiter)+s}}else if("string"!=typeof f&&"number"!=typeof f&&"boolean"!=typeof f){if(!u.optional)throw new TypeError('Expected "'+u.name+'" to be '+(u.repeat?"an array":"a string"))}else{if(s=i(String(f),u),a&&!n[c].test(s))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but got "'+s+'"');o+=u.prefix+s}}else o+=u}return o}}function i(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(t){return t.replace(/([=!:$/()])/g,"\\$1")}function c(t){return t&&t.sensitive?"":"i"}function u(t,e,n){for(var r=(n=n||{}).strict,o=!1!==n.start,a=!1!==n.end,u=n.delimiter||"/",s=[].concat(n.endsWith||[]).map(i).concat("$").join("|"),f=o?"^":"",l=0;l<t.length;l++){var p=t[l];if("string"==typeof p)f+=i(p);else{var h=p.repeat?"(?:"+p.pattern+")(?:"+i(p.delimiter)+"(?:"+p.pattern+"))*":p.pattern;e&&e.push(p),p.optional?p.prefix?f+="(?:"+i(p.prefix)+"("+h+"))?":f+="("+h+")?":f+=i(p.prefix)+"("+h+")"}}if(a)r||(f+="(?:"+i(u)+")?"),f+="$"===s?"$":"(?="+s+")";else{var d=t[t.length-1],v="string"==typeof d?d[d.length-1]===u:void 0===d;r||(f+="(?:"+i(u)+"(?="+s+"))?"),v||(f+="(?="+i(u)+"|"+s+")")}return new RegExp(f,c(n))}function s(t,e,r){return t instanceof RegExp?function(t,e){if(!e)return t;var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return t}(t,e):Array.isArray(t)?function(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(s(t[o],e,n).source);return new RegExp("(?:"+r.join("|")+")",c(n))}(t,e,r):function(t,e,r){return u(n(t,r),e,r)}(t,e,r)}},72753:(t,e,n)=>{"use strict";function r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,{Z:()=>r})},45915:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(88911);var o=n(72753),i=n(61917);function a(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||(0,o.Z)(t)||(0,i.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}}]);
|