@spaziodati/atoka-design-system 2.2.44 → 2.2.45

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.
Files changed (59) hide show
  1. package/AddableItems/index.js +1 -1
  2. package/Alert/index.js +1 -1
  3. package/Badge/index.js +1 -1
  4. package/Bs4V3Wrapper/index.js +1 -1
  5. package/BubbleChart/index.js +1 -1
  6. package/Button/index.js +1 -1
  7. package/ButtonDropdown/index.js +1 -1
  8. package/CardsPage/index.js +1 -1
  9. package/CursorPagination/index.js +1 -1
  10. package/DatePicker/index.js +1 -1
  11. package/DetailPage/index.js +1 -1
  12. package/Dropdown/index.js +1 -1
  13. package/EditableString/index.js +1 -1
  14. package/EllipsableContent/index.js +1 -1
  15. package/EmptyState/index.js +1 -1
  16. package/Facet/index.js +1 -1
  17. package/FacetSection/index.js +1 -1
  18. package/FadeAnimation/index.js +1 -1
  19. package/FeedbackButton/index.js +1 -1
  20. package/Form/index.js +1 -1
  21. package/Funnel/index.js +1 -1
  22. package/Gauge/index.js +1 -1
  23. package/GridCard/index.js +1 -1
  24. package/HighlightableText/index.js +1 -1
  25. package/Histogram/index.js +1 -1
  26. package/InlineStringEditor/index.js +1 -1
  27. package/InputGroup/index.js +1 -1
  28. package/Jumbotron/index.js +1 -1
  29. package/Map/Map.d.ts +1 -1
  30. package/Map/Types.d.ts +1 -1
  31. package/Map/index.js +1 -1
  32. package/Map/index.js.LICENSE.txt +0 -9
  33. package/Modal/index.js +1 -1
  34. package/Navbar/index.js +1 -1
  35. package/Pagination/index.js +1 -1
  36. package/PieChart/index.js +1 -1
  37. package/PublicFooter/index.js +1 -1
  38. package/PublicNavbar/index.js +1 -1
  39. package/RecordBit/index.js +1 -1
  40. package/ResultItemCard/index.js +1 -1
  41. package/RowCard/index.js +1 -1
  42. package/SelectDropdown/index.js +1 -1
  43. package/Spinner/index.js +1 -1
  44. package/StatisticsItemCard/index.js +1 -1
  45. package/StatisticsItemNumeric/index.js +1 -1
  46. package/StatisticsLegend/index.js +1 -1
  47. package/StatisticsTooltip/index.js +1 -1
  48. package/Suggester/index.js +1 -1
  49. package/SunBurst/index.js +1 -1
  50. package/TabSwitcher/index.js +1 -1
  51. package/Title/index.js +1 -1
  52. package/Toast/index.js +1 -1
  53. package/ToggleButtonGroup/index.js +1 -1
  54. package/Tooltip/index.js +1 -1
  55. package/Utils/index.js +1 -1
  56. package/index.js +1 -1
  57. package/index.js.LICENSE.txt +0 -9
  58. package/package.json +9 -9
  59. /package/{atoka-design-system-2.2.44.min.css → atoka-design-system-2.2.45.min.css} +0 -0
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/free-brands-svg-icons/faFacebookF"),require("@fortawesome/free-brands-svg-icons/faLinkedinIn"),require("@fortawesome/free-brands-svg-icons/faTwitter"),require("@fortawesome/pro-light-svg-icons/faBars"),require("@fortawesome/pro-light-svg-icons/faBell"),require("@fortawesome/pro-light-svg-icons/faCheck"),require("@fortawesome/pro-light-svg-icons/faChevronDown"),require("@fortawesome/pro-light-svg-icons/faChevronLeft"),require("@fortawesome/pro-light-svg-icons/faChevronRight"),require("@fortawesome/pro-light-svg-icons/faChevronUp"),require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/pro-light-svg-icons/faInfoCircle"),require("@fortawesome/pro-light-svg-icons/faList"),require("@fortawesome/pro-light-svg-icons/faMinus"),require("@fortawesome/pro-light-svg-icons/faMinusCircle"),require("@fortawesome/pro-light-svg-icons/faPencil"),require("@fortawesome/pro-light-svg-icons/faPlus"),require("@fortawesome/pro-light-svg-icons/faPlusCircle"),require("@fortawesome/pro-light-svg-icons/faSearch"),require("@fortawesome/pro-light-svg-icons/faTh"),require("@fortawesome/pro-light-svg-icons/faTimes"),require("@fortawesome/pro-light-svg-icons/faTrash"),require("@fortawesome/pro-light-svg-icons/faUserNinja"),require("@fortawesome/pro-regular-svg-icons/faBellExclamation"),require("@fortawesome/pro-regular-svg-icons/faCheckCircle"),require("@fortawesome/pro-regular-svg-icons/faChevronDown"),require("@fortawesome/pro-regular-svg-icons/faEllipsisH"),require("@fortawesome/pro-regular-svg-icons/faExclamationTriangle"),require("@fortawesome/pro-regular-svg-icons/faInfoCircle"),require("@fortawesome/pro-solid-svg-icons/faCircle"),require("@fortawesome/react-fontawesome"),require("@nivo/bar"),require("@nivo/circle-packing"),require("@nivo/funnel"),require("@nivo/pie"),require("@nivo/sunburst"),require("@nivo/tooltip"),require("classnames"),require("leaflet"),require("leaflet-image"),require("react"),require("react-bootstrap/Alert"),require("react-bootstrap/Badge"),require("react-bootstrap/Button"),require("react-bootstrap/ButtonGroup"),require("react-bootstrap/Card"),require("react-bootstrap/Carousel"),require("react-bootstrap/Col"),require("react-bootstrap/Collapse"),require("react-bootstrap/Container"),require("react-bootstrap/Dropdown"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/InputGroup"),require("react-bootstrap/Jumbotron"),require("react-bootstrap/ListGroup"),require("react-bootstrap/Modal"),require("react-bootstrap/Nav"),require("react-bootstrap/Navbar"),require("react-bootstrap/Overlay"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Pagination"),require("react-bootstrap/Popover"),require("react-bootstrap/Row"),require("react-bootstrap/ToggleButton"),require("react-bootstrap/Tooltip"),require("react-datepicker"),require("react-dom"),require("react-select"),require("react-select/async")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/free-brands-svg-icons/faFacebookF","@fortawesome/free-brands-svg-icons/faLinkedinIn","@fortawesome/free-brands-svg-icons/faTwitter","@fortawesome/pro-light-svg-icons/faBars","@fortawesome/pro-light-svg-icons/faBell","@fortawesome/pro-light-svg-icons/faCheck","@fortawesome/pro-light-svg-icons/faChevronDown","@fortawesome/pro-light-svg-icons/faChevronLeft","@fortawesome/pro-light-svg-icons/faChevronRight","@fortawesome/pro-light-svg-icons/faChevronUp","@fortawesome/pro-light-svg-icons/faEmptySet","@fortawesome/pro-light-svg-icons/faInfoCircle","@fortawesome/pro-light-svg-icons/faList","@fortawesome/pro-light-svg-icons/faMinus","@fortawesome/pro-light-svg-icons/faMinusCircle","@fortawesome/pro-light-svg-icons/faPencil","@fortawesome/pro-light-svg-icons/faPlus","@fortawesome/pro-light-svg-icons/faPlusCircle","@fortawesome/pro-light-svg-icons/faSearch","@fortawesome/pro-light-svg-icons/faTh","@fortawesome/pro-light-svg-icons/faTimes","@fortawesome/pro-light-svg-icons/faTrash","@fortawesome/pro-light-svg-icons/faUserNinja","@fortawesome/pro-regular-svg-icons/faBellExclamation","@fortawesome/pro-regular-svg-icons/faCheckCircle","@fortawesome/pro-regular-svg-icons/faChevronDown","@fortawesome/pro-regular-svg-icons/faEllipsisH","@fortawesome/pro-regular-svg-icons/faExclamationTriangle","@fortawesome/pro-regular-svg-icons/faInfoCircle","@fortawesome/pro-solid-svg-icons/faCircle","@fortawesome/react-fontawesome","@nivo/bar","@nivo/circle-packing","@nivo/funnel","@nivo/pie","@nivo/sunburst","@nivo/tooltip","classnames","leaflet","leaflet-image","react","react-bootstrap/Alert","react-bootstrap/Badge","react-bootstrap/Button","react-bootstrap/ButtonGroup","react-bootstrap/Card","react-bootstrap/Carousel","react-bootstrap/Col","react-bootstrap/Collapse","react-bootstrap/Container","react-bootstrap/Dropdown","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/InputGroup","react-bootstrap/Jumbotron","react-bootstrap/ListGroup","react-bootstrap/Modal","react-bootstrap/Nav","react-bootstrap/Navbar","react-bootstrap/Overlay","react-bootstrap/OverlayTrigger","react-bootstrap/Pagination","react-bootstrap/Popover","react-bootstrap/Row","react-bootstrap/ToggleButton","react-bootstrap/Tooltip","react-datepicker","react-dom","react-select","react-select/async"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/free-brands-svg-icons/faFacebookF"),require("@fortawesome/free-brands-svg-icons/faLinkedinIn"),require("@fortawesome/free-brands-svg-icons/faTwitter"),require("@fortawesome/pro-light-svg-icons/faBars"),require("@fortawesome/pro-light-svg-icons/faBell"),require("@fortawesome/pro-light-svg-icons/faCheck"),require("@fortawesome/pro-light-svg-icons/faChevronDown"),require("@fortawesome/pro-light-svg-icons/faChevronLeft"),require("@fortawesome/pro-light-svg-icons/faChevronRight"),require("@fortawesome/pro-light-svg-icons/faChevronUp"),require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/pro-light-svg-icons/faInfoCircle"),require("@fortawesome/pro-light-svg-icons/faList"),require("@fortawesome/pro-light-svg-icons/faMinus"),require("@fortawesome/pro-light-svg-icons/faMinusCircle"),require("@fortawesome/pro-light-svg-icons/faPencil"),require("@fortawesome/pro-light-svg-icons/faPlus"),require("@fortawesome/pro-light-svg-icons/faPlusCircle"),require("@fortawesome/pro-light-svg-icons/faSearch"),require("@fortawesome/pro-light-svg-icons/faTh"),require("@fortawesome/pro-light-svg-icons/faTimes"),require("@fortawesome/pro-light-svg-icons/faTrash"),require("@fortawesome/pro-light-svg-icons/faUserNinja"),require("@fortawesome/pro-regular-svg-icons/faBellExclamation"),require("@fortawesome/pro-regular-svg-icons/faCheckCircle"),require("@fortawesome/pro-regular-svg-icons/faChevronDown"),require("@fortawesome/pro-regular-svg-icons/faEllipsisH"),require("@fortawesome/pro-regular-svg-icons/faExclamationTriangle"),require("@fortawesome/pro-regular-svg-icons/faInfoCircle"),require("@fortawesome/pro-solid-svg-icons/faCircle"),require("@fortawesome/react-fontawesome"),require("@nivo/bar"),require("@nivo/circle-packing"),require("@nivo/funnel"),require("@nivo/pie"),require("@nivo/sunburst"),require("@nivo/tooltip"),require("classnames"),require("leaflet"),require("leaflet-image"),require("react"),require("react-bootstrap/Alert"),require("react-bootstrap/Badge"),require("react-bootstrap/Button"),require("react-bootstrap/ButtonGroup"),require("react-bootstrap/Card"),require("react-bootstrap/Carousel"),require("react-bootstrap/Col"),require("react-bootstrap/Collapse"),require("react-bootstrap/Container"),require("react-bootstrap/Dropdown"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/InputGroup"),require("react-bootstrap/Jumbotron"),require("react-bootstrap/ListGroup"),require("react-bootstrap/Modal"),require("react-bootstrap/Nav"),require("react-bootstrap/Navbar"),require("react-bootstrap/Overlay"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Pagination"),require("react-bootstrap/Popover"),require("react-bootstrap/Row"),require("react-bootstrap/ToggleButton"),require("react-bootstrap/Tooltip"),require("react-datepicker"),require("react-dom"),require("react-select"),require("react-select/async")):e["atoka-design-system"]=t(e["@fortawesome/free-brands-svg-icons/faFacebookF"],e["@fortawesome/free-brands-svg-icons/faLinkedinIn"],e["@fortawesome/free-brands-svg-icons/faTwitter"],e["@fortawesome/pro-light-svg-icons/faBars"],e["@fortawesome/pro-light-svg-icons/faBell"],e["@fortawesome/pro-light-svg-icons/faCheck"],e["@fortawesome/pro-light-svg-icons/faChevronDown"],e["@fortawesome/pro-light-svg-icons/faChevronLeft"],e["@fortawesome/pro-light-svg-icons/faChevronRight"],e["@fortawesome/pro-light-svg-icons/faChevronUp"],e["@fortawesome/pro-light-svg-icons/faEmptySet"],e["@fortawesome/pro-light-svg-icons/faInfoCircle"],e["@fortawesome/pro-light-svg-icons/faList"],e["@fortawesome/pro-light-svg-icons/faMinus"],e["@fortawesome/pro-light-svg-icons/faMinusCircle"],e["@fortawesome/pro-light-svg-icons/faPencil"],e["@fortawesome/pro-light-svg-icons/faPlus"],e["@fortawesome/pro-light-svg-icons/faPlusCircle"],e["@fortawesome/pro-light-svg-icons/faSearch"],e["@fortawesome/pro-light-svg-icons/faTh"],e["@fortawesome/pro-light-svg-icons/faTimes"],e["@fortawesome/pro-light-svg-icons/faTrash"],e["@fortawesome/pro-light-svg-icons/faUserNinja"],e["@fortawesome/pro-regular-svg-icons/faBellExclamation"],e["@fortawesome/pro-regular-svg-icons/faCheckCircle"],e["@fortawesome/pro-regular-svg-icons/faChevronDown"],e["@fortawesome/pro-regular-svg-icons/faEllipsisH"],e["@fortawesome/pro-regular-svg-icons/faExclamationTriangle"],e["@fortawesome/pro-regular-svg-icons/faInfoCircle"],e["@fortawesome/pro-solid-svg-icons/faCircle"],e["@fortawesome/react-fontawesome"],e["@nivo/bar"],e["@nivo/circle-packing"],e["@nivo/funnel"],e["@nivo/pie"],e["@nivo/sunburst"],e["@nivo/tooltip"],e.classnames,e.leaflet,e["leaflet-image"],e.react,e["react-bootstrap/Alert"],e["react-bootstrap/Badge"],e["react-bootstrap/Button"],e["react-bootstrap/ButtonGroup"],e["react-bootstrap/Card"],e["react-bootstrap/Carousel"],e["react-bootstrap/Col"],e["react-bootstrap/Collapse"],e["react-bootstrap/Container"],e["react-bootstrap/Dropdown"],e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/InputGroup"],e["react-bootstrap/Jumbotron"],e["react-bootstrap/ListGroup"],e["react-bootstrap/Modal"],e["react-bootstrap/Nav"],e["react-bootstrap/Navbar"],e["react-bootstrap/Overlay"],e["react-bootstrap/OverlayTrigger"],e["react-bootstrap/Pagination"],e["react-bootstrap/Popover"],e["react-bootstrap/Row"],e["react-bootstrap/ToggleButton"],e["react-bootstrap/Tooltip"],e["react-datepicker"],e["react-dom"],e["react-select"],e["react-select/async"])}(self,(function(e,t,n,r,o,i,a,l,s,c,p,u,d,f,h,m,y,v,g,b,E,w,C,O,x,P,N,S,j,_,k,T,M,R,D,F,I,L,A,B,z,V,Z,q,G,H,K,W,U,$,X,J,Y,Q,ee,te,ne,re,oe,ie,ae,le,se,ce,pe,ue,de,fe,he,me,ye){return(()=>{var ve,ge={9172:(e,t,n)=>{var r=n(6496).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new N(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=O(a,n);if(l){if(l===f)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=d(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f={};function h(){}function m(){}function y(){}var v={};p(v,l,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(S([])));b&&b!==n&&i.call(b,l)&&(v=b);var E=y.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,a,l,s){var c=d(e[o],e,a);if("throw"!==c.type){var p=c.arg,u=p.value;return u&&"object"==r(u)&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,l,s)}),(function(e){n("throw",e,l,s)})):t.resolve(u).then((function(e){p.value=e,l(p)}),(function(e){return n("throw",e,l,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function O(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,O(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function S(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return m.prototype=y,p(E,"constructor",y),p(y,"constructor",m),m.displayName=p(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,p(e,c,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},w(C.prototype),p(C.prototype,s,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new C(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(E),p(E,c,"Generator"),p(E,l,(function(){return this})),p(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(l&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},6496:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9673:(e,t,n)=>{var r=n(6496),o=n(9172)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6627:(e,t,n)=>{"use strict";n.d(t,{MR:()=>i,ZP:()=>l});var r=n(4329);function o(e){return o="function"==typeof Symbol&&"symbol"===(0,r.Z)(Symbol.iterator)?function(e){return(0,r.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r.Z)(e)},o(e)}function i(e,t,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(r)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var n=r.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){r=e,delete this[t]}}),i=!1,n},set:function(e){r=e}}}function a(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof n.value&&Object.defineProperty(e.prototype,t,i(e,t,n))}})),e}function l(){return 1===arguments.length?a.apply(void 0,arguments):i.apply(void 0,arguments)}},2766:(e,t,n)=>{"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function o(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function i(){}n.d(t,{ZP:()=>w,B8:()=>P});var a=.7,l=1/a,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",p="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",u=/^#([0-9a-f]{3,8})$/,d=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),f=new RegExp("^rgb\\("+[p,p,p]+"\\)$"),h=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),m=new RegExp("^rgba\\("+[p,p,p,c]+"\\)$"),y=new RegExp("^hsl\\("+[c,p,p]+"\\)$"),v=new RegExp("^hsla\\("+[c,p,p,c]+"\\)$"),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function E(){return this.rgb().formatRgb()}function w(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=u.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?C(t):3===n?new N(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?O(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?O(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=d.exec(e))?new N(t[1],t[2],t[3],1):(t=f.exec(e))?new N(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=h.exec(e))?O(t[1],t[2],t[3],t[4]):(t=m.exec(e))?O(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=y.exec(e))?k(t[1],t[2]/100,t[3]/100,1):(t=v.exec(e))?k(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?C(g[e]):"transparent"===e?new N(NaN,NaN,NaN,0):null}function C(e){return new N(e>>16&255,e>>8&255,255&e,1)}function O(e,t,n,r){return r<=0&&(e=t=n=NaN),new N(e,t,n,r)}function x(e){return e instanceof i||(e=w(e)),e?new N((e=e.rgb()).r,e.g,e.b,e.opacity):new N}function P(e,t,n,r){return 1===arguments.length?x(e):new N(e,t,n,null==r?1:r)}function N(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function S(){return"#"+_(this.r)+_(this.g)+_(this.b)}function j(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function _(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function k(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new M(e,t,n,r)}function T(e){if(e instanceof M)return new M(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=w(e)),!e)return new M;if(e instanceof M)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=NaN,s=a-o,c=(a+o)/2;return s?(l=t===a?(n-r)/s+6*(n<r):n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+o:2-a-o,l*=60):s=c>0&&c<1?0:l,new M(l,s,c,e.opacity)}function M(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function R(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}r(i,w,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return T(this).formatHsl()},formatRgb:E,toString:E}),r(N,P,o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new N(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new N(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatRgb:j,toString:j})),r(M,(function(e,t,n,r){return 1===arguments.length?T(e):new M(e,t,n,null==r?1:r)}),o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new M(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new M(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new N(R(e>=240?e-240:e+120,o,r),R(e,o,r),R(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},1820:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});var r=Math.sqrt(50),o=Math.sqrt(10),i=Math.sqrt(2);function a(e,t,n){var a=(t-e)/Math.max(0,n),l=Math.floor(Math.log(a)/Math.LN10),s=a/Math.pow(10,l);return l>=0?(s>=r?10:s>=o?5:s>=i?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(s>=r?10:s>=o?5:s>=i?2:1)}function l(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function s(e){var t=e,n=e;function r(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=function(t,n){return e(t)-n},n=function(e){return function(t,n){return l(e(t),n)}}(e)),{left:r,center:function(e,n,o,i){null==o&&(o=0),null==i&&(i=e.length);var a=r(e,n,o,i-1);return a>o&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}n(9673);var c=s(l),p=c.right;c.left,s((function(e){return null===e?NaN:+e})).center;const u=p;var d=n(4329),f=n(2766);function h(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}const m=function(e){return function(){return e}};function y(e,t){return function(n){return e+n*t}}function v(e){return 1==(e=+e)?g:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):m(isNaN(t)?n:t)}}function g(e,t){var n=t-e;return n?y(e,n):m(isNaN(e)?t:e)}const b=function e(t){var n=v(t);function r(e,t){var r=n((e=(0,f.B8)(e)).r,(t=(0,f.B8)(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=g(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function E(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),l=new Array(o);for(n=0;n<o;++n)r=(0,f.B8)(t[n]),i[n]=r.r||0,a[n]=r.g||0,l[n]=r.b||0;return i=e(i),a=e(a),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=l(e),r+""}}}E((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,l=r<t-1?e[r+2]:2*i-o;return h((n-r/t)*t,a,o,i,l)}})),E((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],l=e[(r+2)%t];return h((n-r/t)*t,o,i,a,l)}}));function w(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=_(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function C(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function O(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function x(e,t){var n,r={},o={};for(n in null!==e&&"object"===(0,d.Z)(e)||(e={}),null!==t&&"object"===(0,d.Z)(t)||(t={}),t)n in e?r[n]=_(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var P=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,N=new RegExp(P.source,"g");function S(e,t){var n,r,o,i=P.lastIndex=N.lastIndex=0,a=-1,l=[],s=[];for(e+="",t+="";(n=P.exec(e))&&(r=N.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),l[a]?l[a]+=o:l[++a]=o),(n=n[0])===(r=r[0])?l[a]?l[a]+=r:l[++a]=r:(l[++a]=null,s.push({i:a,x:O(n,r)})),i=N.lastIndex;return i<t.length&&(o=t.slice(i),l[a]?l[a]+=o:l[++a]=o),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join("")})}function j(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function _(e,t){var n,r,o=(0,d.Z)(t);return null==t||"boolean"===o?m(t):("number"===o?O:"string"===o?(n=(0,f.ZP)(t))?(t=n,b):S:t instanceof f.ZP?b:t instanceof Date?C:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?w:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?x:O:j))(e,t)}function k(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function T(e){return+e}var M=[0,1];function R(e){return e}function D(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function F(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=D(o,r),i=n(a,i)):(r=D(r,o),i=n(i,a)),function(e){return i(r(e))}}function I(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=D(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=u(e,t,1,r)-1;return i[n](o[n](t))}}function L(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function A(){var e,t,n,r,o,i,a=M,l=M,s=_,c=R;function p(){var e,t,n,s=Math.min(a.length,l.length);return c!==R&&(e=a[0],t=a[s-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=s>2?I:F,o=i=null,u}function u(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),l,s)))(e(c(t)))}return u.invert=function(n){return c(t((i||(i=r(l,a.map(e),O)))(n)))},u.domain=function(e){return arguments.length?(a=Array.from(e,T),p()):a.slice()},u.range=function(e){return arguments.length?(l=Array.from(e),p()):l.slice()},u.rangeRound=function(e){return l=Array.from(e),s=k,p()},u.clamp=function(e){return arguments.length?(c=!!e||R,p()):c!==R},u.interpolate=function(e){return arguments.length?(s=e,p()):s},u.unknown=function(e){return arguments.length?(n=e,u):n},function(n,r){return e=n,t=r,p()}}function B(){return A()(R,R)}function z(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var V,Z=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function q(e){if(!(t=Z.exec(e)))throw new Error("invalid format: "+e);var t;return new G({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function G(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function H(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function K(e){return(e=H(Math.abs(e)))?e[1]:NaN}function W(e,t){var n=H(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}q.prototype=G.prototype,G.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const U={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return W(100*e,t)},r:W,s:function(e,t){var n=H(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(V=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+H(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function $(e){return e}var X,J,Y,Q=Array.prototype.map,ee=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function te(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?$:(t=Q.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],s=0;o>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(o-=l,o+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?$:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Q.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",p=void 0===e.nan?"NaN":e.nan+"";function u(e){var t=(e=q(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,m=e.comma,y=e.precision,v=e.trim,g=e.type;"n"===g?(m=!0,g="g"):U[g]||(void 0===y&&(y=12),v=!0,g="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var b="$"===d?o:"#"===d&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",E="$"===d?i:/[%p]/.test(g)?s:"",w=U[g],C=/[defgprs%]/.test(g);function O(e){var o,i,s,d=b,O=E;if("c"===g)O=w(e)+O,e="";else{var x=(e=+e)<0||1/e<0;if(e=isNaN(e)?p:w(Math.abs(e),y),v&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),x&&0==+e&&"+"!==u&&(x=!1),d=(x?"("===u?u:c:"-"===u||"("===u?"":u)+d,O=("s"===g?ee[8+V/3]:"")+O+(x&&"("===u?")":""),C)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){O=(46===s?a+e.slice(o+1):e.slice(o))+O,e=e.slice(0,o);break}}m&&!f&&(e=r(e,1/0));var P=d.length+e.length+O.length,N=P<h?new Array(h-P+1).join(t):"";switch(m&&f&&(e=r(N+e,N.length?h-O.length:1/0),N=""),n){case"<":e=d+e+O+N;break;case"=":e=d+N+e+O;break;case"^":e=N.slice(0,P=N.length>>1)+d+e+O+N.slice(P);break;default:e=N+d+e+O}return l(e)}return y=void 0===y?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),O.toString=function(){return e+""},O}return{format:u,formatPrefix:function(e,t){var n=u(((e=q(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(K(t)/3))),o=Math.pow(10,-r),i=ee[8+r/3];return function(e){return n(o*e)+i}}}}function ne(e,t,n,a){var l,s=function(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),l=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),s=a/l;return s>=r?l*=10:s>=o?l*=5:s>=i&&(l*=2),t<e?-l:l}(e,t,n);switch((a=q(null==a?",f":a)).type){case"s":var c=Math.max(Math.abs(e),Math.abs(t));return null!=a.precision||isNaN(l=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(K(t)/3)))-K(Math.abs(e)))}(s,c))||(a.precision=l),Y(a,c);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(l=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,K(t)-K(e))+1}(s,Math.max(Math.abs(e),Math.abs(t))))||(a.precision=l-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(l=function(e){return Math.max(0,-K(Math.abs(e)))}(s))||(a.precision=l-2*("%"===a.type))}return J(a)}function re(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){var r,o,i,l,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(l=a(e,t,n))||!isFinite(l))return[];if(l>0){var c=Math.round(e/l),p=Math.round(t/l);for(c*l<e&&++c,p*l>t&&--p,i=new Array(o=p-c+1);++s<o;)i[s]=(c+s)*l}else{l=-l;var u=Math.round(e*l),d=Math.round(t*l);for(u/l<e&&++u,d/l>t&&--d,i=new Array(o=d-u+1);++s<o;)i[s]=(u+s)/l}return r&&i.reverse(),i}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return ne(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),l=0,s=i.length-1,c=i[l],p=i[s],u=10;for(p<c&&(o=c,c=p,p=o,o=l,l=s,s=o);u-- >0;){if((o=a(c,p,n))===r)return i[l]=c,i[s]=p,t(i);if(o>0)c=Math.floor(c/o)*o,p=Math.ceil(p/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,p=Math.floor(p*o)/o}r=o}return e},e}function oe(){var e=B();return e.copy=function(){return L(e,oe())},z.apply(e,arguments),re(e)}X=te({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),J=X.format,Y=X.formatPrefix},627:(e,t,n)=>{"use strict";var r=n(6496);e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==r(t)&&"object"==r(n)){if(t.constructor!==n.constructor)return!1;var o,i,a;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(i=o;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=o;0!=i--;){var l=a[i];if(!e(t[l],n[l]))return!1}return!0}return t!=t&&n!=n}},5682:(e,t,n)=>{"use strict";var r=n(1573),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,p=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var a=p(n);u&&(a=a.concat(u(n)));for(var l=s(t),m=s(n),y=0;y<a.length;++y){var v=a[y];if(!(i[v]||r&&r[v]||m&&m[v]||l&&l[v])){var g=d(n,v);try{c(t,v,g)}catch(e){}}}}return t}},8633:(e,t,n)=>{"use strict";var r=n(6496),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,p=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,f=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.suspense_list"):60120,v=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b=o?Symbol.for("react.block"):60121,E=o?Symbol.for("react.fundamental"):60117,w=o?Symbol.for("react.responder"):60118,C=o?Symbol.for("react.scope"):60119;function O(e){if("object"===r(e)&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case l:case c:case s:case m:return e;default:switch(e=e&&e.$$typeof){case u:case h:case g:case v:case p:return e;default:return t}}case a:return t}}}function x(e){return O(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=p,t.Element=i,t.ForwardRef=h,t.Fragment=l,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=m,t.isAsyncMode=function(e){return x(e)||O(e)===d},t.isConcurrentMode=x,t.isContextConsumer=function(e){return O(e)===u},t.isContextProvider=function(e){return O(e)===p},t.isElement=function(e){return"object"===r(e)&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return O(e)===h},t.isFragment=function(e){return O(e)===l},t.isLazy=function(e){return O(e)===g},t.isMemo=function(e){return O(e)===v},t.isPortal=function(e){return O(e)===a},t.isProfiler=function(e){return O(e)===c},t.isStrictMode=function(e){return O(e)===s},t.isSuspense=function(e){return O(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===f||e===c||e===s||e===m||e===y||"object"===r(e)&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===p||e.$$typeof===u||e.$$typeof===h||e.$$typeof===E||e.$$typeof===w||e.$$typeof===C||e.$$typeof===b)},t.typeOf=O},1573:(e,t,n)=>{"use strict";e.exports=n(8633)},9112:(e,t,n)=>{"use strict";var r=n(5073);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},8691:(e,t,n)=>{e.exports=n(9112)()},5073:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9114:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(32),o=n(7038),i=n(7581);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=n(8156),s=n.n(l),c=n(6113),p=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,i.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&p(e,r),o&&p(e,o),i&&p(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.Z)(e,["classNames"]));return s().createElement(c.ZP,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s().Component);u.defaultProps={classNames:""},u.propTypes={};const d=u},6113:(e,t,n)=>{"use strict";n.d(t,{cn:()=>h,d0:()=>f,ZP:()=>g});var r=n(7038),o=n(7581),i=n(8156),a=n.n(i),l=n(7111),s=n.n(l);const c=!1;var p=n(3493),u="unmounted",d="exited",f="entering",h="entered",m="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=d,r.appearStatus=f):o=h:o=t.unmountOnExit||t.mountOnEnter?u:d,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==h&&(t=f):n!==f&&n!==h||(t=m)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===f?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[s().findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),p=r?l.appear:l.enter;!e&&!n||c?this.safeSetState({status:h},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:f},(function(){t.props.onEntering(i,a),t.onTransitionEnd(p,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s().findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:m},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(p.Z.Provider,{value:null},"function"==typeof n?n(e,o):a().cloneElement(a().Children.only(n),o))},t}(a().Component);function v(){}y.contextType=p.Z,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},y.UNMOUNTED=u,y.EXITED=d,y.ENTERING=f,y.ENTERED=h,y.EXITING=m;const g=y},3493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8156);const o=n.n(r)().createContext(null)},568:(e,t,n)=>{"use strict";n.d(t,{AddableItems:()=>k});var r,o,i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=n(7325),p=n(3932),u=n(6627),d=n(9034),f=n.n(d),h=n(8761),m=n(8809),y=n(6988),v=n(7111),g=n.n(v),b=n(4603),E=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),w=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},C=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return E(t,e),t.prototype.renderItemButtons=function(){return this.props.kind===o.add?null:s().createElement("span",{className:"clickable-item-buttons-container"},s().createElement(c.Button,{variant:"tertiary",icon:y.faTimes,size:"xs"}),this.renderIncludeExcludeToggler())},t.prototype.renderItemRealContent=function(e){return null!=this.props.itemContentRenderer?this.props.itemContentRenderer(e):e.value},t.prototype.renderItemContent=function(e){var t=!0===this.props.isExcluded?s().createElement("span",{className:"item-content-not-suffix"},this.props.notSuffixLabel," "):"";return s().createElement("div",{className:"item-content d-flex align-items-center text-wrap w-100 mr-1 overflow-hidden"},t,this.renderItemRealContent(e))},t.prototype.renderIncludeExcludeToggler=function(){var e=this;if(!0!==this.props.supportsExclusion)return null;var t=s().createElement("div",null,s().createElement(c.Button,{ref:function(t){return e.includeExcludeTogglerRef=t},variant:"tertiary",icon:this.props.isExcluded?h.faPlusCircle:m.faMinusCircle,size:"xs",onClick:this.props.onToggleIncludeExclude,className:"item-toggler"}));if(null==this.props.tooltipMessages)return t;var n=this.props.tooltipMessages,r=n.include,o=n.exclude;return s().createElement(b.Tooltip,{content:this.props.isExcluded?r:o},t)},t.prototype.renderCount=function(e){if(null==e.count)return s().createElement("span",null," ");var t=e.count.toString();return this.props.countFormatter&&(t=this.props.countFormatter(e.count)),s().createElement("span",{className:"list-item-count"},t)},t.prototype.handleContainerClick=function(e){if(!0===this.props.supportsExclusion){var t=g().findDOMNode(this.includeExcludeTogglerRef);if(e.target===t||(null==t?void 0:t.contains(e.target)))return}this.props.onRemove()},t.prototype.render=function(){var e=a()([o[this.props.kind]],{included:this.props.supportsExclusion&&!this.props.isExcluded,excluded:this.props.isExcluded});return s().createElement(f().Item,{bsPrefix:"atoka-list-group-item",className:e,onClick:this.handleContainerClick},s().createElement("span",{className:"list-group-item-content-container w-100 d-flex justify-content-between"},s().createElement("div",{className:"d-flex align-items-center w-100 overflow-hidden"},this.renderItemButtons(),this.renderItemContent(this.props.item)),this.renderCount(this.props.item)))},t.displayName="ClickableExcludableItem",w([u.MR,C("design:type",Function),C("design:paramtypes",["function"==typeof(n=void 0!==s()&&s().MouseEvent)?n:Object]),C("design:returntype",void 0)],t.prototype,"handleContainerClick",null),t}(s().PureComponent),x=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},N=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(o||(o={}));var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return x(t,e),t.prototype.getItemKey=function(e){return null!=this.props.itemKeyGetter?this.props.itemKeyGetter(e):e.value},t.prototype.renderItem=function(e){var t=this;return s().createElement(O,{key:this.getItemKey(e),item:e,kind:this.props.kind,onRemove:function(){return t.props.onClick(e)},onToggleIncludeExclude:function(){var n,r,o;return null===(r=(n=t.props).onToggleIncludeExclude)||void 0===r?void 0:r.call(n,e,null!==(o=t.props.areItemsExcluded)&&void 0!==o&&o)},supportsExclusion:this.props.supportsExclusion,isExcluded:this.props.areItemsExcluded,itemContentRenderer:this.props.itemContentRenderer,tooltipMessages:this.props.tooltipMessages,notSuffixLabel:this.props.notSuffixLabel,countFormatter:this.props.countFormatter})},t.prototype.needToShowEmptyMessage=function(){return null!=this.props.emptyMessage&&(null==this.props.items||!(this.props.items.length>0))},t.prototype.getItems=function(){return this.needToShowEmptyMessage()?s().createElement(f().Item,{bsPrefix:"atoka-list-group-item",key:"empty-message"},this.props.emptyMessage):null==this.props.items||0===this.props.items.length?null:null==this.props.items[0].count?this.props.items.map(this.renderItem):this.props.items.sort((function(e,t){var n,r;return(null!==(n=t.count)&&void 0!==n?n:0)-(null!==(r=e.count)&&void 0!==r?r:0)})).map(this.renderItem)},t.prototype.render=function(){var e=a()({"list-empty":null==this.props.items||0===this.props.items.length,"atoka-addable-items":this.props.kind===o.add,"atoka-removable-items":this.props.kind===o.remove});return s().createElement(f(),{bsPrefix:"atoka-list-group",className:e},this.getItems())},t.displayName="ClickableItemList",P([u.MR,N("design:type",Function),N("design:paramtypes",[Object]),N("design:returntype","function"==typeof(n="undefined"!=typeof JSX&&JSX.Element)?n:Object)],t.prototype,"renderItem",null),t}(s().Component),j=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function _(e){return"object"==typeof e?e.value:e}var k=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isFirstRender:!0},n}return j(t,e),t.prototype.componentDidUpdate=function(){this.state.isFirstRender&&!1===this.props.config.isLoading&&this.setState({isFirstRender:!1})},t.prototype.renderItemContent=function(e){return null!=e.label&&0!==e.label.indexOf("- (")?s().createElement("span",{className:"option-data-item overflow-hidden"},e.label):s().createElement("span",{className:"option-data-item overflow-hidden"},e.value)},t.prototype.getItemContentRenderer=function(){return null!=this.props.itemContentRenderer?this.props.itemContentRenderer:this.renderItemContent},t.prototype.renderRemovableItemsTitle=function(){return s().createElement("div",{className:"d-flex justify-content-between mb-2"},s().createElement(p.Title,{size:"xs",className:"m-0"},this.props.label),s().createElement(c.Button,{variant:"tertiary",size:"sm",onClick:this.props.onRemoveAll},this.props.unselectLabel))},t.prototype.renderRemovableItems=function(e,t){var n,r,i,l=e.length>0,c=t.length>0,p=a()("mb-3","atoka-removable-items-container",{"with-include-items":l&&!c,"with-exclude-items":!l&&c,"with-both-include-and-exclude-items":l&&c});return null==this.props.onToggleIncludeExclude?0===(null!==(i=null===(r=null===(n=this.props.config)||void 0===n?void 0:n.include)||void 0===r?void 0:r.length)&&void 0!==i?i:0)?null:s().createElement(s().Fragment,null,this.renderRemovableItemsTitle(),s().createElement("div",{className:p},s().createElement(S,{items:e,itemKeyGetter:this.props.itemKeyGetter,kind:o.remove,onClick:this.props.onRemoveItem,itemContentRenderer:this.getItemContentRenderer(),tooltipMessages:this.props.tooltipMessages,countFormatter:this.props.countFormatter}))):e.length+t.length===0?null:s().createElement(s().Fragment,null,this.renderRemovableItemsTitle(),s().createElement("div",{className:p},s().createElement(S,{items:e,itemKeyGetter:this.props.itemKeyGetter,kind:o.remove,onClick:this.props.onRemoveItem,supportsExclusion:!0,areItemsExcluded:!1,onToggleIncludeExclude:this.props.onToggleIncludeExclude,itemContentRenderer:this.getItemContentRenderer(),tooltipMessages:this.props.tooltipMessages,countFormatter:this.props.countFormatter}),s().createElement(S,{items:t,itemKeyGetter:this.props.itemKeyGetter,kind:o.remove,onClick:this.props.onRemoveItem,supportsExclusion:!0,areItemsExcluded:!0,onToggleIncludeExclude:this.props.onToggleIncludeExclude,itemContentRenderer:this.getItemContentRenderer(),tooltipMessages:this.props.tooltipMessages,notSuffixLabel:this.props.notSuffixLabel,countFormatter:this.props.countFormatter})))},t.prototype.getEmptyMessage=function(){var e,t;return null==(null===(e=this.props)||void 0===e?void 0:e.emptyMessage)||""===(null===(t=this.props)||void 0===t?void 0:t.emptyMessage)?null:this.props.emptyMessage},t.prototype.render=function(){var e,t,n,r,i,l,c,p=this.props.config,u=null!==(e=p.include)&&void 0!==e?e:[],d=null!==(t=p.exclude)&&void 0!==t?t:[],f=u.concat(d).map(_),h=this.props.facetData.data.items.filter((function(e){return f.indexOf(e.value)<0})),m=a()(this.props.className,"atoka-addable-items");return null!=this.props.onToggleIncludeExclude&&(d=null!==(n=p.exclude)&&void 0!==n?n:[]),s().createElement("div",{className:m},s().createElement("div",{className:"suggester-and-modifiers-block"},null===(i=(r=this.props).renderSuggester)||void 0===i?void 0:i.call(r),null===(c=(l=this.props).renderModifiers)||void 0===c?void 0:c.call(l)),this.renderRemovableItems(u,d),s().createElement(S,{items:h,itemKeyGetter:this.props.itemKeyGetter,kind:o.add,onClick:this.props.onAddItem,emptyMessage:this.getEmptyMessage(),itemContentRenderer:this.getItemContentRenderer(),countFormatter:this.props.countFormatter}))},t.displayName="AddableItems",t}(s().PureComponent)},782:(e,t,n)=>{"use strict";n.d(t,{Alert:()=>f});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(5859),c=n.n(s),p=n(5692),u=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderIcon=function(){return null==this.props.icon?null:i().createElement(p.FontAwesomeIcon,{icon:this.props.icon})},t.prototype.renderChildren=function(){return null==this.props.children?null:i().createElement("div",{className:"alert-children"},this.props.children)},t.prototype.renderContent=function(){return i().createElement("div",{className:"alert-content-container d-flex"},this.renderIcon(),this.renderChildren())},t.prototype.render=function(){var e=l()(this.props.className,"atoka-alert");return i().createElement(c(),d({},this.props,{className:e,dismissible:this.props.isDismissible,show:this.props.isShown}),this.renderContent())},t.displayName="Alert",t.Heading=c().Heading,t.defaultProps={variant:"danger"},t}(i().PureComponent)},595:(e,t,n)=>{"use strict";n.d(t,{Badge:()=>u});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(6997),s=n.n(l),c=n(5692),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},u=o().memo((function(e){var t=e.size,n=void 0===t?"sm":t,r=p(e,["size"]),i=a()(null==r?void 0:r.className,"atoka-badge","variant-".concat(r.variant,"-").concat(r.color),n),l=a()({"mr-2":null!=r.children}),u=null==r.icon?null:o().createElement(c.FontAwesomeIcon,{icon:r.icon,className:l});return o().createElement(s(),{className:i},u,r.children)}));u.displayName="Badge"},1294:(e,t,n)=>{"use strict";n.d(t,{Bs4V3Wrapper:()=>c});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){var e=l()("bs4-v3",this.props.className);return i().createElement("div",{className:e},this.props.children)},t.displayName="Bs4V3Wrapper",t}(i().PureComponent)},8075:(e,t,n)=>{"use strict";n.d(t,{BubbleChart:()=>P,BubbleChartDataPoint:()=>r.BubbleChartDataPoint,BubbleChartTooltip:()=>r.BubbleChartTooltip,ComputedDatum:()=>d.ComputedDatum});var r={};n.r(r),n.d(r,{O:()=>P});var o,i=n(8156),a=n.n(i),l=n(7540),s=n(9274),c=n(5909),p=n(4915),u=n(6627),d=n(3741),f=n(8310),h=n.n(f),m=n(2394),y=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(){return v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},v.apply(this,arguments)},g=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},b=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.defaultLayers=["circles","labels"],t}var n,r;return y(t,e),t.prototype.getEllipsedLabel=function(e,n){var r=Math.round(1.5*e/t.ESTIMATED_LETTER_PIXELS);return(0,m.Hp)(n,r)},t.prototype.renderColor=function(e){var t,n,r,o;return null!==(o=null===(n=null===(t=null==this?void 0:this.props)||void 0===t?void 0:t.colors)||void 0===n?void 0:n[String(null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.id)])&&void 0!==o?o:l.p5},t.prototype.getLabel=function(e){return this.getEllipsedLabel(e.radius,e.data.label)},t.prototype.renderContent=function(){var e=this.props,t=e.id,n=e.isCanvas,r=e.fontSize,o={layers:this.defaultLayers,margin:{top:0,right:0,bottom:0,left:0},data:this.props.data,colors:this.renderColor,id:"".concat(t,"-component"),padding:4,leavesOnly:!0,tooltip:this.props.renderTooltip,enableLabels:!0,labelTextColor:"white",label:this.getLabel,value:this.props.dataValueKey};if(n){var i={fontSize:r,background:"#fff"};return a().createElement(d.ResponsiveCirclePackingCanvas,v({},o,{theme:i}))}return a().createElement(d.ResponsiveCirclePacking,v({},o))},t.prototype.render=function(){var e,t,n=this.props,r=n.id,o=n.className,i=n.chartRef,l=n.size,s=null!==(e=null==l?void 0:l.width)&&void 0!==e?e:"100%",c=null!==(t=null==l?void 0:l.height)&&void 0!==t?t:"100%",p=h()("bubble-chart-container d-flex justify-content-center align-items-center",o);return a().createElement("div",{id:r,className:p,ref:i,style:{width:s,height:c}},this.renderContent())},t.displayName="BubbleChartUI",t.ESTIMATED_LETTER_PIXELS=6.2,t.defaultProps={labelSkipRadius:17,dataValueKey:"significance"},g([u.MR,b("design:type",Function),b("design:paramtypes",["function"==typeof(n=void 0!==d.ComputedDatum&&d.ComputedDatum)?n:Object]),b("design:returntype",String)],t.prototype,"renderColor",null),g([u.MR,b("design:type",Function),b("design:paramtypes",["function"==typeof(r=void 0!==d.ComputedDatum&&d.ComputedDatum)?r:Object]),b("design:returntype",String)],t.prototype,"getLabel",null),t}(a().PureComponent),w=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},C.apply(this,arguments)},O=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},x=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.shouldComponentUpdate=function(e){return!(0,p.vZ)(this.props,e)},t.prototype.getComponentSetup=function(){var e,n,r,o,i=this.props,a=i.otherId,l=i.maxBubbleNumber,u=i.data,d=i.id,f=i.numberToStringFormatter,h=i.isCanvas,m=i.total,y=x([],O(null!=u?u:[]),!1),v=null!==(e=this.props.dataValueKey)&&void 0!==e?e:t.defaultDataValueKey,g=null==this.props.maxBubbleNumber?y.sort((0,p.kV)(v)):(0,c.xG)(y,a,a,l,m,v),b=this.computeColors(g),E=null==b?void 0:b.reduce((function(e,t,n){return e[String(g[n].id)]=t,e}),{}),w=null==l?g:g.slice(0,g.length-1);return{isCanvas:h,colors:E,numberToStringFormatter:f,renderTooltip:null!==(n=this.props.renderTooltip)&&void 0!==n?n:(0,s.getRenderStatisticsTooltip)({tooltipDataLabelKey:null!==(o=null===(r=this.props)||void 0===r?void 0:r.dataValueKey)&&void 0!==o?o:t.defaultDataValueKey,tooltipDataTitleKey:"label",otherId:this.props.otherId,numberToStringFormatter:this.props.numberToStringFormatter,withColor:!0}),data:{children:w,value:0,label:d}}},t.prototype.computeColors=function(e){var t;return null===(t=(0,l.vA)(e.length,this.props.colors))||void 0===t?void 0:t.reverse()},t.prototype.render=function(){var e=this.props,t=e.id,n=e.className,r=e.chartRef,o=e.size,i=e.labelSkipRadius,l=e.fontSize;return a().createElement(E,C({},this.getComponentSetup(),{id:t,chartRef:r,className:n,size:o,labelSkipRadius:i,fontSize:l}))},t.defaultDataValueKey="significance",t.displayName="BubbleChart",t.defaultProps={colors:[l.KH,l.p5],dataValueKey:t.defaultDataValueKey},t}(a().Component)},4397:(e,t,n)=>{"use strict";n.d(t,{z:()=>h});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(8926),c=n.n(s),p=n(5692),u=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderIcon=function(e){return null==e?null:i().createElement(p.FontAwesomeIcon,{icon:e})},t.prototype.renderChildren=function(e){return null==e?null:i().createElement("span",{className:"btn-children"},e)},t.prototype.renderLeftSide=function(e,t){return null==e?null==t?null:i().createElement(p.FontAwesomeIcon,{icon:t,className:"invisible"}):i().createElement(p.FontAwesomeIcon,{icon:e})},t.prototype.renderRightSide=function(e,t){return null==t?null==e?null:i().createElement(p.FontAwesomeIcon,{icon:e,className:"invisible"}):i().createElement(p.FontAwesomeIcon,{icon:t})},t.prototype.renderContent=function(e,t){return null!=e&&null==t?this.renderIcon(e):i().createElement("div",{className:"button-content-center-container"},this.renderIcon(e),this.renderChildren(t))},t.prototype.render=function(){var e=this.props,t=e.icon,n=e.iconLeft,r=e.iconRight,o=e.children,a=e.size,s=e.className,p=f(e,["icon","iconLeft","iconRight","children","size","className"]),u=l()("atoka-btn","btn-".concat(a),s,{"btn-icon-only":null!=this.props.icon&&null==this.props.children});return i().createElement(c(),d({className:u},p),this.renderLeftSide(n,r),this.renderContent(t,o),this.renderRightSide(n,r))},t.displayName="Button",t.defaultProps={variant:"primary",size:"md",disabled:!1,block:!1},t}(i().PureComponent)},7325:(e,t,n)=>{"use strict";n.d(t,{Button:()=>r.z});var r=n(4397)},5478:(e,t,n)=>{"use strict";n.d(t,{ButtonDropdown:()=>y});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(6627),c=n(9153),p=n(1711),u=n(7325),d=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},h=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrapperRef=i().createRef(),t.state={isButtonDropdownOpen:!1},t}return d(t,e),t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleClickOutside)},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleClickOutside)},t.prototype.handleClickOutside=function(e){var t,n;(null===(n=null===(t=this.wrapperRef)||void 0===t?void 0:t.current)||void 0===n?void 0:n.contains(e.target))||this.setState({isButtonDropdownOpen:!1})},t.prototype.onToggle=function(){this.setState({isButtonDropdownOpen:!this.state.isButtonDropdownOpen})},t.prototype.renderChildren=function(){return!0!==this.state.isButtonDropdownOpen?null:i().createElement("ul",{className:"dropdown-content"},this.props.children)},t.prototype.render=function(){var e=l()(this.props.className,"atoka-button-dropdown","position-relative","dropdown-".concat(this.props.size),"dropdown-primary",{"dropdown-is-open":this.state.isButtonDropdownOpen});return i().createElement("div",{className:e,ref:this.wrapperRef},i().createElement(u.Button,f({},this.props,{onClick:this.onToggle,block:!0,iconRight:this.state.isButtonDropdownOpen?c.faChevronUp:p.faChevronDown}),this.props.toggleText),this.renderChildren())},t.displayName="ButtonDropdown",t.defaultProps=u.Button.defaultProps,h([s.ZP,m("design:type",Function),m("design:paramtypes",[Object]),m("design:returntype",void 0)],t.prototype,"handleClickOutside",null),h([s.ZP,m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],t.prototype,"onToggle",null),t}(i().Component)},1907:(e,t,n)=>{"use strict";n.d(t,{CardsPage:()=>ye});var r=n(8156),o=n.n(r),i=n(4394),a=n.n(i),l=n(1294),s=n(3915),c=n.n(s),p=n(5315),u=n.n(p),d=n(4915),f=o().memo((function(e){return o().createElement("div",{className:"cards-page-fulltext mt-3"},e.children)}));f.displayName="CardsPageFullText";var h=o().memo((function(e){return o().createElement("div",{className:"cards-page-filters d-flex flex-column flex-lg-row"},e.children)}));h.displayName="CardsPageItemFilter";var m=n(3642),y=function(e){return o().createElement(m.l.Checkbox,{disabled:e.isDisabled,className:"checkbox-container mt-2",label:e.label,onChange:e.onToggle,checked:e.isChecked,id:"allow-selection"})};y.displayName="CardsPageSelectionToggler";var v,g=n(8310),b=n.n(g),E=n(188),w=(v=function(e,t){return v=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])},v(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},C.apply(this,arguments)},O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.getOptions=function(){var e=this,t=this.props.options;if(null==t)return[];var n=[];return t.constructor===Object&&(n=Object.keys(t).reduce((function(e,n){return e.push({value:n,label:t[n]}),e}),[])),null==n?void 0:n.map((function(t){return C(C({},t),{disabled:t.value===e.props.sortValue})}))},t.prototype.render=function(){var e=b()("w-30 flex-grow-1",this.props.className);return o().createElement("span",{className:"d-flex align-items-center"},null==this.props.label&&o().createElement(m.l.Label,{className:"mr-2 mb-0"},this.props.label),o().createElement(E.SelectDropdown,{disabled:this.props.isDisabled,size:"md",className:e,options:this.getOptions(),selected:this.props.sortValue,onSelect:this.props.onSortValueSelect}))},t.displayName="CardsPageSorting",t}(o().PureComponent),x=n(1654),P=n(5797),N=n(7325),S=n(4603),j=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){var e=this;return o().createElement("div",{className:"cards-page-layout-mode-container d-flex align-items-center ml-md-3"},o().createElement(S.Tooltip,{placement:"top",content:this.props.btnGridLabel},o().createElement("div",null,o().createElement(N.Button,{variant:"tertiary",disabled:this.props.isDisabled,className:b()("btn-show-as-grid",{"text-muted":"grid"!==this.props.selected}),icon:P.faTh,onClick:function(){return e.props.onSet("grid")}}))),o().createElement(S.Tooltip,{placement:"top",content:this.props.btnListLabel},o().createElement("div",null,o().createElement(N.Button,{variant:"tertiary",disabled:this.props.isDisabled,className:b()("btn-show-as-list",{"text-muted":"list"!==this.props.selected}),icon:x.faList,onClick:function(){return e.props.onSet("list")}}))))},t.displayName="CardsPageLayoutMode",t}(o().PureComponent),k=n(3932),T=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.render=function(){return this.props.areItemsSelectable?o().createElement("div",{className:"cards-page-selection-action my-3 p-3"},o().createElement("div",{className:"d-flex justify-content-between align-items-center mb-3"},o().createElement(k.Title,{size:"sm"},this.props.title),o().createElement("div",null,o().createElement(N.Button,{variant:"tertiary",onClick:this.props.onSelectAll},this.props.selectAllLabel),o().createElement(N.Button,{variant:"tertiary",onClick:this.props.onUnselectAll,className:"ml-3"},this.props.unselectAllLabel))),o().createElement("div",{className:"d-flex justify-content-between align-items-center"},o().createElement("div",{className:"d-flex flex-wrap align-items-center selection-action-button-and-warning"},this.props.children),o().createElement(N.Button,{variant:"tertiary",onClick:this.props.onCancel},this.props.cancelLabel))):null},t.displayName="CardsPageSelectionActions",t}(o().PureComponent),R=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return this.props.children},t.displayName="RowCardLayoutHeader",t}(o().PureComponent),F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return this.props.children},t.displayName="RowCardLayoutContent",t}(o().PureComponent),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return null==this.props.children?null:o().createElement(u(),{className:"ml-auto",xs:3},this.props.children)},t.displayName="RowCardLayoutActions",t}(o().PureComponent),L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){return o().createElement(c(),{className:"align-items-center"},o().createElement(u(),null,(0,d.z8)(this.props.children,D)),(0,d.z8)(this.props.children,F),(0,d.z8)(this.props.children,I))},t.displayName="RowCardLayout",t.Header=D,t.Content=F,t.Actions=I,t}(o().PureComponent),A=n(1469),B=n(6627),z=n(2494),V=n.n(z),Z=n(3808),q=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return q(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderCheckbox=function(){return this.props.isSelectable?o().createElement("span",{onClick:this.stopPropagation},o().createElement(m.l.Checkbox,{className:"checkbox-container mb-0",onChange:this.props.onSelect,checked:this.props.isSelected,id:String(this.props.id)})):null},t.prototype.render=function(){return o().createElement("div",{className:"card-title d-flex m-0 align-items-center"},this.renderCheckbox(),(0,d.z8)(this.props.children,Z.l))},t.displayName="RowCardHeader",t}(o().PureComponent),H=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return H(t,e),t.prototype.renderCell=function(e,t){return o().createElement(u(),{key:"row-card-content-cell-".concat(t),className:"d-none d-lg-block text-truncate",xs:3},e)},t.prototype.render=function(){var e;return(null!==(e=this.props.cellValues)&&void 0!==e?e:[]).map(this.renderCell)},t.displayName="RowCardContent",t}(o().PureComponent),W=n(2031),U=function(){return U=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},U.apply(this,arguments)},$=o().memo((function(e){return o().createElement(W.$,U({className:"ml-2"},e))}));$.displayName="RowCardMenu";var X=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),J=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return X(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderOtherChildren=function(){var e=[];return o().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==$&&e.push(t)})),0===e.length?null:o().createElement("div",{className:"w-100 d-flex align-items-center justify-content-end",onClick:this.stopPropagation},e)},t.prototype.render=function(){return o().createElement("div",{className:"row-card-actions text-right"},o().createElement("div",{className:"d-flex align-items-center justify-content-end"},this.renderOtherChildren(),o().createElement("span",null,(0,d.z8)(this.props.children,$))))},t.displayName="RowCardActions",t}(o().PureComponent),Y=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Q=function(){return Q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Q.apply(this,arguments)},ee=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},te=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Y(t,e),t.prototype.handleClick=function(){this.props.onSelect&&this.props.onSelect()},t.prototype.render=function(){var e=b()("row-card mb-2",this.props.className,{"is-selectable cursor-pointer":this.props.isSelectable});return o().createElement(V(),{className:e,onClick:this.handleClick},o().createElement(L,null,o().createElement(L.Header,null,o().createElement(G,Q({},this.props),(0,d.z8)(this.props.children,Z.l))),o().createElement(L.Content,null,(0,d.z8)(this.props.children,K)),o().createElement(L.Actions,null,(0,d.z8)(this.props.children,J))))},t.displayName="RowCard",t.Header=G,t.Title=Z.l,t.Menu=$,t.Content=K,t.Actions=J,t.defaultProps={isSelected:!1,isSelectable:!1,id:"".concat(Math.random())},ee([B.ZP,te("design:type",Function),te("design:paramtypes",[]),te("design:returntype",void 0)],t.prototype,"handleClick",null),t}(o().PureComponent),re=o().memo((function(e){var t=e.children,n=e.emptyStateMessage,r=e.layoutMode,i=e.headerLabel,a=e.rowContentLabels,l=void 0===a?[]:a,s=e.hasRowActions;return null==t?o().createElement("div",{className:"pt-4 pb-5"},o().createElement(A.EmptyState,null,n)):"list"===r?o().createElement(c(),{className:"row-header-cell"},o().createElement(u(),{xs:24,className:"row-content-labels"},o().createElement("div",{className:"px-3 pb-2"},o().createElement(L,null,o().createElement(L.Header,null,i),o().createElement(L.Content,null,o().createElement(ne.Content,{cellValues:l}),s?o().createElement(u(),{xs:3}):null)))),t):o().createElement(c(),{xs:1,sm:2,md:2,lg:3,xl:4},t)}));re.displayName="CardsPageCards";var oe=function(e){return o().createElement("div",{className:"cards-page-cards-counter mr-5"},e.count," ",e.label)};oe.displayName="CardsPageCardsCounter";var ie=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ie(t,e),t.prototype.renderOtherChildren=function(){var e=[];return o().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==f&&(null==t?void 0:t.type)!==h&&(null==t?void 0:t.type)!==oe&&(null==t?void 0:t.type)!==y&&(null==t?void 0:t.type)!==O&&(null==t?void 0:t.type)!==_&&(null==t?void 0:t.type)!==M&&e.push(t)})),0===e.length?null:e},t.prototype.render=function(){return o().createElement(o().Fragment,null,(0,d.z8)(this.props.children,f),o().createElement("div",{className:"cards-page-sub-filters mt-3 mb-3"},o().createElement(c(),null,o().createElement(u(),{xl:18},(0,d.z8)(this.props.children,h)),o().createElement(u(),{xl:6,className:"mt-3 mt-xl-0"},o().createElement("div",{className:"cards-page-sub-filters-right d-flex flex-column flex-sm-row align-items-start justify-content-end"},(0,d.z8)(this.props.children,O),(0,d.z8)(this.props.children,_))))),o().createElement("div",{className:"d-flex mb-3"},(0,d.z8)(this.props.children,oe),(0,d.z8)(this.props.children,y)),(0,d.z8)(this.props.children,M),this.renderOtherChildren())},t.displayName="CardsPageTabContent",t.FullText=f,t.Filters=h,t.CardsCounter=oe,t.SelectionToggler=y,t.Sorting=O,t.LayoutMode=_,t.SelectionActions=M,t.Cards=re,t}(o().PureComponent),le=n(994),se=o().memo((function(e){var t=e.children;return o().createElement(le.r,{fullWidth:!0},t)}));se.displayName="CardsPageTabSwitcher";var ce=n(38),pe=o().memo((function(e){return o().createElement(ce.D,{size:"lg",className:"cards-page-title"},e.children)}));pe.displayName="CardsPageTitle";var ue=o().memo((function(e){return o().createElement(ce.D,{size:"sm",className:"cards-page-subtitle"},e.children)}));ue.displayName="CardsPageSubtitle";var de=o().memo((function(e){return o().createElement("div",{className:"cards-page-actions d-flex align-items-center"},e.children)}));de.displayName="CardsPageActions";var fe=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return fe(t,e),t.prototype.render=function(){return o().createElement("div",{className:"cards-page-header d-flex justify-content-between align-items-start pt-3"},o().createElement("div",null,(0,d.z8)(this.props.children,pe),(0,d.z8)(this.props.children,ue)),o().createElement("div",{className:"cards-page-header d-flex justify-content-end"},(0,d.z8)(this.props.children,de)))},t.displayName="CardsPageHeader",t.Title=pe,t.Subtitle=ue,t.Actions=de,t}(o().PureComponent),me=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return me(t,e),t.prototype.render=function(){return o().createElement(l.Bs4V3Wrapper,null,o().createElement(a(),{className:"cards-page-container"},this.props.children))},t.displayName="CardsPage",t.Header=he,t.TabSwitcher=se,t.TabContent=ae,t}(o().PureComponent)},3871:(e,t,n)=>{"use strict";n.d(t,{CursorPagination:()=>v});var r,o=n(6627),i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=n(9924),p=n.n(c),u=n(4915),d=n(9255),f=n(8385),h=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.handlePreviousPage=function(){null!=this.props.previousPage&&(this.props.onSetPage(this.props.previousPage),(0,u.k3)())},t.prototype.handleNextPage=function(){null!=this.props.nextPage&&(this.props.onSetPage(this.props.nextPage),(0,u.k3)())},t.prototype.renderPrev=function(){return null==this.props.previousPage?null:s().createElement(d.K,{handlePrevPage:this.handlePreviousPage})},t.prototype.renderNext=function(){return null==this.props.nextPage?null:s().createElement(f.$,{handleNextPage:this.handleNextPage})},t.prototype.render=function(){if(null==this.props.previousPage&&null==this.props.nextPage)return null;var e=a()(this.props.className,"atoka-pagination","justify-content-center align-items-center");return s().createElement(p(),{className:e},this.renderPrev(),this.renderNext())},t.displayName="CursorPagination",m([o.ZP,y("design:type",Function),y("design:paramtypes",[]),y("design:returntype",void 0)],t.prototype,"handlePreviousPage",null),m([o.ZP,y("design:type",Function),y("design:paramtypes",[]),y("design:returntype",void 0)],t.prototype,"handleNextPage",null),t}(s().PureComponent)},1514:(e,t,n)=>{"use strict";n.d(t,{DatePicker:()=>m});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(4731),c=n.n(s),p=n(6627),u=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},f=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},h=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},m=function(e){function t(t){var n,r;return n=e.call(this,t)||this,(null!==(r=null==t?void 0:t.preLoadedLocales)&&void 0!==r?r:[]).forEach((function(e){return(0,s.registerLocale)(e.localeName,e.localeData)})),n}return u(t,e),t.prototype.handleChange=function(e,t){var n;null===(n=null==t?void 0:t.persist)||void 0===n||n.call(t),this.props.onChange(e,t)},t.prototype.render=function(){var e=i()("atoka-date-picker",this.props.className,{block:this.props.block,"is-invalid":this.props.isInvalid,"with-shadow":this.props.withShadow});return l().createElement("div",{className:e},l().createElement(c(),d({},this.props,{onChange:this.handleChange})))},t.displayName="DatePicker",t.defaultProps={withShadow:!0,disabledKeyboardNavigation:!0,autoFocus:!1},f([p.MR,h("design:type",Function),h("design:paramtypes",[Object,Object]),h("design:returntype",void 0)],t.prototype,"handleChange",null),t}(l().Component)},4716:(e,t,n)=>{"use strict";n.d(t,{DetailPage:()=>k});var r,o=n(8156),i=n.n(o),a=n(4394),l=n.n(a),s=n(3915),c=n.n(s),p=n(5315),u=n.n(p),d=n(1294),f=n(4915),h=n(577),m=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){return i().createElement("div",{className:"detail-page-header-container"},i().createElement(h.FadeAnimation,null,i().createElement(l(),null,this.props.children)))},t.displayName="DetailPageHeaderContainer",t}(i().PureComponent),v=n(573),g=n.n(v),b=function(e){return i().createElement("div",{className:"atoka-detail-page-menu"},i().createElement(g(),{className:"flex-column"},e.children))};b.displayName="DetailPageMenuUI";var E=function(e){return i().createElement("div",{className:"atoka-detail-page-sub-menu"},e.children)};E.displayName="DetailPageSubMenu";var w=function(e){return i().createElement(u(),null,e.children)};w.displayName="DetailPageBodyContainer";var C=n(6216),O=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.render=function(){var e,t;return this.props.isLoading?i().createElement("div",{className:"user-pages-spinner-container d-flex h-100 justify-content-center align-items-center"},i().createElement(C.Spinner,{size:C.SpinnerSize.small})):i().createElement(c(),null,i().createElement(u(),{xs:null!==(e=this.props.leftColumns)&&void 0!==e?e:4},this.props.leftContent),i().createElement(u(),{className:"h-100 align-items-center"},this.props.children),i().createElement(u(),{xs:null!==(t=this.props.rightColumns)&&void 0!==t?t:4},this.props.rightContent))},t.displayName="DetailPageHeaderUI",t}(i().PureComponent),P=function(e){return i().createElement(u(),{xs:4},e.children)};P.displayName="DetailPageMenuContainer";var N=n(8310),S=n.n(N),j=function(e){var t,n=S()("atoka-detail-page-body-section",((t={})["custom-size size-".concat(e.size)]=null!=e.size,t));return i().createElement("div",{className:n},e.children)};j.displayName="DetailPageBodySection";var _=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==P&&(null==t?void 0:t.type)!==y&&(null==t?void 0:t.type)!==w&&e.push(t)})),0===e.length?null:i().createElement(u(),null,e)},t.prototype.render=function(){return i().createElement(d.Bs4V3Wrapper,null,i().createElement("div",{className:"atoka-detail-page-container"},(0,f.z8)(this.props.children,y),i().createElement(l(),null,i().createElement(c(),null,(0,f.z8)(this.props.children,P),(0,f.z8)(this.props.children,w)),this.renderOtherChildren())))},t.displayName="DetailPage",t.HeaderContainer=y,t.HeaderUI=x,t.MenuContainer=P,t.MenuUI=b,t.SubMenu=E,t.BodyContainer=w,t.BodySection=j,t}(i().PureComponent)},192:(e,t,n)=>{"use strict";n.d(t,{AtokaCustomDropdownToggle:()=>_,AtokaCustomDropdownToggleWithChevron:()=>k,AtokaSimpleDropdownToggle:()=>j,Dropdown:()=>y,DropdownMenu:()=>d});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(4976),c=n.n(s),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=l()("atoka-dropdown-menu",this.props.className,this.props.size);return i().createElement(c().Menu,u({},this.props,{className:e}),this.props.children)},t.displayName="DropdownMenu",t.defaultProps={size:"sm"},t}(i().PureComponent),f=i().memo((function(e){var t=e.children;return i().createElement("div",{className:"atoka-dropdown-section"},t,i().createElement(y.Divider,null))}));f.displayName="DropdownSection";var h=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){var e=l()(this.props.className,"atoka-dropdown");return i().createElement(c(),m({},this.props,{className:e}),this.props.children)},t.displayName="DropDown",t.Toggle=c().Toggle,t.Menu=d,t.Item=c().Item,t.Divider=c().Divider,t.Header=c().Header,t.Section=f,t}(i().PureComponent),v=n(6627),g=n(3041),b=n(1349),E=n(7325),w=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},O=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};function x(e,t){var n=i().forwardRef((function(e,n){return i().createElement("div",{ref:n},i().createElement(t,{disabled:e.disabled,onClick:e.onClick},e.children))}));return n.displayName=e,n}var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return w(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){return i().createElement(E.Button,{variant:"secondary",size:"xs",icon:g.faEllipsisH,onClick:this.props.disabled?void 0:this.handleClick,disabled:this.props.disabled})},t.displayName="AtokaSimpleDropdownToggleComponent",C([v.ZP,O("design:type",Function),O("design:paramtypes",["function"==typeof(n=void 0!==i()&&i().SyntheticEvent)?n:Object]),O("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return w(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){return i().createElement("div",{className:"atoka-dropdown-toggle",onClick:this.props.disabled?void 0:this.handleClick},this.props.children)},t.displayName="AtokaCustomDropdownToggleComponent",C([v.ZP,O("design:type",Function),O("design:paramtypes",["function"==typeof(n=void 0!==i()&&i().SyntheticEvent)?n:Object]),O("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return w(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){var e=l()({"atoka-dropdown-toggle":!0,disabled:this.props.disabled});return i().createElement("div",{className:e,onClick:this.props.disabled?void 0:this.handleClick},this.props.children,i().createElement("div",{className:"chevron-container"},i().createElement(E.Button,{variant:"tertiary",size:"md",icon:b.faChevronDown})))},t.displayName="AtokaCustomDropdownToggleWithChevronComponent ",C([v.ZP,O("design:type",Function),O("design:paramtypes",["function"==typeof(n=void 0!==i()&&i().SyntheticEvent)?n:Object]),O("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),j=x("AtokaSimpleDropdownToggle",P),_=x("AtokaCustomDropdownToggle",N),k=x("AtokaCustomDropdownToggleWithChevron",S)},4549:(e,t,n)=>{"use strict";n.d(t,{EditableString:()=>S});var r=n(6627),o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(9114),c=n(7038),p=n(32),u=n(3103),d=n(7581),f=n(3493);function h(e,t){var n=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),n}function m(e,t,n){return null!=n[t]?n[t]:e.props[t]}function y(e,t,n){var r=h(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var l=o[i];if((0,a.isValidElement)(l)){var s=i in t,c=i in r,p=t[i],u=(0,a.isValidElement)(p)&&!p.props.in;!c||s&&!u?c||!s||u?c&&s&&(0,a.isValidElement)(p)&&(o[i]=(0,a.cloneElement)(l,{onExited:n.bind(null,l),in:p.props.in,exit:m(l,"exit",e),enter:m(l,"enter",e)})):o[i]=(0,a.cloneElement)(l,{in:!1}):o[i]=(0,a.cloneElement)(l,{onExited:n.bind(null,l),in:!0,exit:m(l,"exit",e),enter:m(l,"enter",e)})}})),o}var v=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},g=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,u.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,d.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,h(n.children,(function(e){return(0,a.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:m(e,"appear",n),enter:m(e,"enter",n),exit:m(e,"exit",n)})}))):y(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=h(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,p.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,c.Z)(e,["component","childFactory"]),o=this.state.contextValue,i=v(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?l().createElement(f.Z.Provider,{value:o},i):l().createElement(f.Z.Provider,{value:o},l().createElement(t,r,i))},t}(l().Component);g.propTypes={},g.defaultProps={component:"div",childFactory:function(e){return e}};const b=g;var E,w=n(6466),C=n(2599),O=n(7325),x=(E=function(e,t){return E=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(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),P=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},N=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isEditing:!1,currentValue:t.props.value},t}return x(t,e),t.prototype.componentDidUpdate=function(e){e.value!==this.props.value&&this.setState({currentValue:this.props.value})},t.prototype.handleClick=function(){this.state.isEditing||this.setState({isEditing:!0})},t.prototype.handleCancel=function(){this.setState({isEditing:!1}),null!=this.props.onCancel&&this.props.onCancel()},t.prototype.handleSave=function(e){var t=this;this.state.isEditing&&(this.props.onSave(e),setTimeout((function(){return t.setState({isEditing:!1})}),10))},t.prototype.handleChange=function(e){null==this.props.onChange?this.setState({currentValue:e}):this.props.onChange(e)},t.prototype.renderEditingContent=function(){return l().createElement(s.Z,{classNames:"editable-string",timeout:{enter:400,exit:400},key:"editing"},l().createElement("div",{className:"editable-string-editing w-100"},l().createElement(C.M,{value:this.state.currentValue,onCancel:this.handleCancel,onSave:this.handleSave,onChange:this.handleChange,useIcons:this.props.useIcons,minLength:this.props.minLength,maxLength:this.props.maxLength,getIsSaveDisabled:this.props.getIsSaveDisabled,options:this.props.options,inputType:this.props.inputType,getError:this.props.getError,help:this.props.help})))},t.prototype.renderShownValue=function(){var e=this.props,t=e.value,n=e.shownValue;return null!=n?n:null==t?null:"string"==typeof t?t:t.label},t.prototype.renderContent=function(){return this.state.isEditing?this.renderEditingContent():l().createElement(s.Z,{classNames:"editable-string",timeout:{enter:400,exit:400},key:"viewing"},l().createElement("div",{className:"editable-string-viewing w-100",onClick:this.handleClick},this.renderShownValue(),l().createElement(O.Button,{icon:w.faPencil,className:"edit-icon",variant:"tertiary"})))},t.prototype.render=function(){var e=i()(this.props.className,"editable-string-container");return l().createElement(b,{className:e},this.renderContent())},t.displayName="EditableString",P([r.ZP,N("design:type",Function),N("design:paramtypes",[]),N("design:returntype",void 0)],t.prototype,"handleClick",null),P([r.ZP,N("design:type",Function),N("design:paramtypes",[]),N("design:returntype",void 0)],t.prototype,"handleCancel",null),P([r.ZP,N("design:type",Function),N("design:paramtypes",[String]),N("design:returntype",void 0)],t.prototype,"handleSave",null),P([r.ZP,N("design:type",Function),N("design:paramtypes",[String]),N("design:returntype",void 0)],t.prototype,"handleChange",null),t}(l().PureComponent)},7045:(e,t,n)=>{"use strict";n.d(t,{G:()=>m});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(4603),c=n(4915),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},d=function(e){return l().createElement("div",{className:"ellipsable-content-prepend"},e.children)};d.displayName="EllipsableContent.Prepend";var f=function(e){return l().createElement("div",{className:"ellipsable-content-append"},e.children)};f.displayName="EllipsableContent.Append";var h=function(e){var t=l().createElement("div",{className:"ellipsable-content-content"},e.children);return null==e.tooltip?t:l().createElement(s.Tooltip,u({},e.tooltipProps,{content:e.tooltip}),t)};h.displayName="EllipsableContent.Content";var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.renderFullContent=function(){var e=(0,c.z8)(this.props.children,t.Prepend),n=(0,c.z8)(this.props.children,t.Content),r=(0,c.z8)(this.props.children,t.Append);return null!=n||null==e&&null==r?(null==n&&(n=l().createElement(t.Content,null,this.props.children)),null!=this.props.tooltip&&(n=l().createElement(n.type,u({},n.props,{tooltip:this.props.tooltip,tooltipProps:this.props.tooltipProps}))),l().createElement(l().Fragment,null,e,n,r)):(console.error("You must set a .Content alongside the .Append or .Prepend"),null)},t.prototype.render=function(){var e=i()("ellipsable-content-container align-items-center",this.props.className,{"ellipsable-with-tooltip":null!=this.props.tooltip}),t=this.renderFullContent();return null==t?null:l().createElement("div",{className:e,style:this.props.style},t)},t.displayName="EllipsableContent",t.Prepend=d,t.Append=f,t.Content=h,t}(l().PureComponent)},9319:(e,t,n)=>{"use strict";n.d(t,{EllipsableContent:()=>r.G});var r=n(7045)},1469:(e,t,n)=>{"use strict";n.d(t,{EmptyState:()=>u});var r,o=n(8156),i=n.n(o),a=n(5692),l=n(3402),s=n(8310),c=n.n(s),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){return i().createElement("div",{className:c()("atoka-empty-state",this.props.className)},i().createElement("div",{className:"mb-2"},i().createElement(a.FontAwesomeIcon,{icon:l.faEmptySet})),this.props.children)},t.displayName="EmptyState",t}(i().PureComponent)},2950:(e,t,n)=>{"use strict";n.d(t,{M:()=>l});var r=n(8310),o=n.n(r),i=n(8156),a=n.n(i),l=a().memo((function(e){var t=o()("facet-item-count",e.className);return a().createElement("div",{className:t},e.value)}));l.displayName="FacetItemCount"},7741:(e,t,n)=>{"use strict";n.d(t,{Facet:()=>k});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(3932),c=n(2394),p=n(4997),u=n(6988),d=n(5692),f=n(6627),h=n(3908),m=n.n(h),y=n(1968),v=n.n(y),g=n(6514),b=n.n(g),E=n(2705),w=n(3987),C=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},x=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},P={modifiers:[{name:"preventOverflow",options:{rootBoundary:"viewport"}}]},N=function(e){function t(t){var n=e.call(this,t)||this;return n.helpIconRef=l().createRef(),n.facetHelpRef=l().createRef(),n.state={isShown:!1},n}var n;return C(t,e),t.prototype.handleTogglePopover=function(e){e.stopPropagation(),this.setState({isShown:!this.state.isShown})},t.prototype.renderPopoverTitle=function(){return null==this.props.title?null:l().createElement(v().Title,{className:"popover-title d-flex justify-content-between",bsPrefix:"atoka"},l().createElement(s.Title,{size:"sm"},this.props.title),l().createElement("button",{className:"close align-middle",onClick:this.handleTogglePopover},l().createElement(d.FontAwesomeIcon,{size:"sm",icon:u.faTimes})))},t.prototype.renderPopover=function(){var e=this.props.children,t=Array.isArray(e)&&e.length>1,n=i()({"help-carousel":!0,"hidden-controls":!t});return l().createElement(v(),{id:this.props.trackingName,className:"bs4-v3 help-popover-v3 help-popover-container"},this.renderPopoverTitle(),l().createElement(v().Content,null,l().createElement(b(),{controls:t,indicators:t,className:n,onClick:function(e){return e.stopPropagation()},nextIcon:l().createElement(d.FontAwesomeIcon,{icon:w.faChevronRight,size:"xs"}),prevIcon:l().createElement(d.FontAwesomeIcon,{icon:E.faChevronLeft,size:"xs"})},e)))},t.prototype.render=function(){return null==this.props.title&&null==this.props.children?null:l().createElement("span",{className:"facet-help-v3 help-container"},l().createElement("span",{className:"help-icon-container"},l().createElement("span",{ref:this.helpIconRef,onClick:this.handleTogglePopover},l().createElement(d.FontAwesomeIcon,{size:"sm",icon:p.faInfoCircle}))),l().createElement(m(),{target:this.helpIconRef.current,placement:"right",show:this.state.isShown,container:this.facetHelpRef.current,popperConfig:P},this.renderPopover()))},t.displayName="FacetHelp",O([f.ZP,x("design:type",Function),x("design:paramtypes",["function"==typeof(n=void 0!==l()&&l().MouseEvent)?n:Object]),x("design:returntype",void 0)],t.prototype,"handleTogglePopover",null),t}(l().Component),S=n(2950),j=l().memo((function(e){var t=e.children;return l().createElement(s.Title,{className:"color-gray-400 mb-1",size:"xs"},t)}));j.displayName="FacetSubtitle";var _=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.renderItemCount=function(){var e=this.props.badgeItemsCount;return null==e||0===e?null:l().createElement(S.M,{value:e})},t.prototype.renderTitle=function(){var e;return(0,c.Wq)(null!==(e=this.props.title)&&void 0!==e?e:null)?null:l().createElement("div",{className:"facet-header-title-container"},l().createElement("div",{className:"align-items-center"},l().createElement(s.Title,{size:"sm"},l().createElement("strong",null,this.props.title),this.props.help)))},t.prototype.renderHeader=function(){var e,t=this.renderTitle(),n=this.renderItemCount();if(null==t&&null==n)return null;var r=i()("facet-header",{"bg-transparent position-absolute":(0,c.Wq)(null!==(e=this.props.title)&&void 0!==e?e:null)});return l().createElement("div",{className:r},this.renderTitle(),this.renderItemCount())},t.prototype.renderContent=function(){var e,t=i()("facet-body",{"pt-3":(0,c.Wq)(null!==(e=this.props.title)&&void 0!==e?e:null)});return l().createElement("div",{className:"facet-container"},this.renderHeader(),l().createElement("div",{className:t},this.props.children))},t.prototype.render=function(){var e=i()("facet",this.props.className);return l().createElement("div",{className:e},this.renderContent())},t.displayName="Facet",t.Help=N,t.Subtitle=j,t}(l().PureComponent)},4944:(e,t,n)=>{"use strict";n.d(t,{FacetSection:()=>h});var r,o=n(1235),i=n(5037),a=n(5692),l=n(8310),s=n.n(l),c=n(8156),p=n.n(c),u=n(2950),d=n(3932),f=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.renderItemCount=function(){return!1===this.props.isCollapsed||null==this.props.badgeItemsCount||0===this.props.badgeItemsCount?null:p().createElement(u.M,{value:this.props.badgeItemsCount})},t.prototype.renderTitleAndIcon=function(){return null!=this.props.icon?p().createElement(d.Title,{size:"sm",icon:this.props.icon},this.props.title):null!=this.props.titlePrefix?p().createElement(d.Title,{size:"sm"},p().createElement("span",{className:"facet-section-title-prefix mr-2"},this.props.titlePrefix),this.props.title):p().createElement(d.Title,{size:"sm"},this.props.title)},t.prototype.renderFacetSectionTitle=function(){return p().createElement("div",{className:"facet-section-title d-flex justify-content-between",onClick:this.props.onToggleCollapsed},p().createElement("div",null,this.renderTitleAndIcon()),p().createElement("div",{className:"d-flex align-items-center"},this.renderItemCount(),p().createElement(a.FontAwesomeIcon,{icon:!0===this.props.isCollapsed?i.faPlus:o.faMinus,className:"ml-2"})))},t.prototype.renderFacets=function(){return!0===this.props.isCollapsed?null:p().createElement("div",{className:"facet-section-facet-list"},this.props.children)},t.prototype.render=function(){var e=s()("facet-section",this.props.className,{"facet-section-collapsed":this.props.isCollapsed});return p().createElement("div",{className:e},this.renderFacetSectionTitle(),this.renderFacets())},t.displayName="FacetSection",t}(p().PureComponent)},577:(e,t,n)=>{"use strict";n.d(t,{FadeAnimation:()=>s});var r,o=n(8156),i=n.n(o),a=n(9114),l=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.duration,n=e.appearDelay,r="atoka-fadein-".concat(t,"-").concat(n);return i().createElement(a.Z,{timeout:t+n,classNames:r,in:this.props.in,appear:!0},this.props.children)},t.displayName="FadeAnimation",t.defaultProps={duration:600,appearDelay:0,in:!0},t}(i().PureComponent)},9450:(e,t,n)=>{"use strict";n.d(t,{FeedbackButton:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(4397),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},p=function(e){var t,n,i=e.feedbackTimeout,p=void 0===i?5e3:i,u=e.variant,d=void 0===u?"secondary":u,f=e.feedbackType,h=void 0===f?"success":f,m=s(e,["feedbackTimeout","variant","feedbackType"]),y=c((0,r.useState)(!1),2),v=y[0],g=y[1];(0,r.useEffect)((function(){v&&setTimeout((function(){null!=m.onDone&&m.onDone(),g(!1)}),p)}),[v]);var b=a()(((t={})[null!==(n=null==m?void 0:m.className)&&void 0!==n?n:""]=!0,t["feedback-button"]=!0,t["feedback-".concat(h)]=v,t));return o().createElement(l.z,{size:m.size,iconLeft:m.iconLeft,iconRight:m.iconRight,block:m.block,href:m.href,target:m.target,className:b,icon:v?m.feedbackIcon:m.icon,variant:d,onClick:function(){v||!0===m.disabled||(g(!0),m.onClick())},disabled:v||m.disabled},v?m.feedbackLabel:m.children)};p.displayName="FeedbackButton"},3642:(e,t,n)=>{"use strict";n.d(t,{l:()=>m});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),c=n(7269),p=n(2380),u=n(5145),d=n(8672),f=n(2722),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},h.apply(this,arguments)},m=function(e){var t=a()(null==e?void 0:e.className,"atoka-form");return o().createElement(s(),h({},e,{className:t}),e.children)};m.displayName="Form",m.Control=p.N,m.Label=c.l,m.Checkbox=u.z,m.Radio=d.w,m.File=s().File,m.Switch=s().Switch,m.Help=f.y,m.Group=s().Group},5145:(e,t,n)=>{"use strict";n.d(t,{z:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,n=a()("atoka-form-checkbox",null==e?void 0:e.className);return o().createElement(s().Check,c({type:"checkbox"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormCheckbox"},2380:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(1082),s=n.n(l),c=n(7605),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},u=o().forwardRef((function(e,t){var n=e.size,r=void 0===n?"md":n,i=p(e,["size"]),l=a()("atoka-form-control",null==i?void 0:i.className,{"atoka-shadow":i.withShadow,disabled:i.disabled});return o().createElement(s(),{as:i.as,rows:i.rows,cols:i.cols,placeholder:i.placeholder,className:l,disabled:i.disabled,readOnly:i.readOnly,value:i.value,onChange:i.onChange,onKeyPress:i.onKeyPress,onKeyDown:i.onKeyDown,defaultValue:i.defaultValue,size:"md"===r?void 0:r,type:i.type,id:i.id,isValid:i.isValid,isInvalid:i.isInvalid,ref:t,autoComplete:"off"},i.children)}));u.displayName="FormControlComponent";var d=u;d.FeedBack=c.t,d.displayName="FormControl"},7605:(e,t,n)=>{"use strict";n.d(t,{t:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(1082),s=n.n(l),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=o().memo((function(e){var t=e.show,n=void 0===t||t,r=c(e,["show"]),i=a()(null==r?void 0:r.className,"atoka-form-control-feedback",{"d-block":n});return o().createElement(s().Feedback,{type:r.type,className:i},r.children)}));p.displayName=" FormControlFeedBack"},2722:(e,t,n)=>{"use strict";n.d(t,{y:()=>p});var r=n(8763),o=n.n(r),i=n(8156),a=n.n(i),l=n(8310),s=n.n(l),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=a().memo((function(e){var t=e.children,n=c(e,["children"]),r=s()("d-block",null==n?void 0:n.className);return a().createElement(o(),{bsPrefix:"atoka-form-help",className:r},t)}));p.displayName="FormHelp"},7269:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),c=o().memo((function(e){var t=a()(null==e?void 0:e.className,"atoka-form-label");return o().createElement(s().Label,{className:t},e.children)}));c.displayName="FormLabel"},8672:(e,t,n)=>{"use strict";n.d(t,{w:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,n=a()(null==e?void 0:e.className,"atoka-form-radio");return o().createElement(s().Check,c({type:"radio"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormRadio"},1862:(e,t,n)=>{"use strict";n.d(t,{Form:()=>r.l});var r=n(3642)},1219:(e,t,n)=>{"use strict";n.d(t,{Funnel:()=>x,FunnelData:()=>r.FunnelData});var r={};n.r(r),n.d(r,{o:()=>x});var o=n(8156),i=n.n(o),a=n(4915),l=n(7540),s=n(6627),c=n(9179),p=n(8310),u=n.n(p),d=n(1358),f=n(9274),h=n(2394),m=6,y=i().memo((function(e){var t,n,r,o=e.item,a=e.numberToStringFormatter,s=e.fontSize,c=void 0===s?11:s,p=null===(t=o.data)||void 0===t?void 0:t.value,u=null!==(n=o.data.label)&&void 0!==n?n:"",d=o.width/m,f=(0,h.Hp)(u,d),y=o.y1+o.y0+30,v="".concat((0,h.lV)(u),"-data-label");return i().createElement("text",{key:v,className:v,x:o.x0,y,fill:l.de},i().createElement("tspan",{fontSize:c,x:o.x0,y:y-c},f),i().createElement("tspan",{fontSize:c,fill:"black",fontWeight:"bold",x:o.x0,y:y+3},null!==(r=null==a?void 0:a(p))&&void 0!==r?r:p))}));y.displayName="SVGDataLabel";var v,g=(v=function(e,t){return v=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])},v(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},E=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.marginBottom=60,t}var n,r,o,a,l,p,h,m,v,w;return g(t,e),t.prototype.renderDataLabels=function(e){return i().createElement(i().Fragment,null,e.parts.map(this.renderSVGDataLabel))},t.prototype.renderEmptyPart=function(e){return i().createElement("line",{onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,key:"".concat(e.data.label,"-empty"),x1:e.x0,y1:e.y,x2:e.x1,y2:e.y,stroke:e.color})},t.prototype.renderEmptyParts=function(e){return i().createElement(i().Fragment,null,e.parts.map(this.renderEmptyPart))},t.prototype.renderSinkDataLabels=function(e){return i().createElement(d.StatisticsSVGLegend,{data:this.props.sinkData,x:0,y:e.height+this.marginBottom-8,valueFormat:this.props.numberToStringFormatter})},t.prototype.renderSVGDataLabel=function(e){return i().createElement(y,{key:"".concat(e.data.label,"-data"),item:e,numberToStringFormatter:this.props.numberToStringFormatter})},t.prototype.getRenderTooltip=function(e){var t,n;return(null!==(t=this.props.renderTooltip)&&void 0!==t?t:(0,f.getRenderStatisticsTooltip)({tooltipDataLabelKey:"value",tooltipDataTitleKey:"id",tooltipDataValueKey:"percentage",numberToStringFormatter:null!==(n=this.props.tooltipValueFormat)&&void 0!==n?n:this.props.numberToStringFormatter,withColor:!0}))(e.part)},t.prototype.render=function(){var e=this.props.isZeroData?[this.renderEmptyParts]:["parts"],t=u()("funnel-container w-100 h-100",this.props.className);return e.push(this.renderDataLabels,this.renderSinkDataLabels),i().createElement("div",{id:this.props.id,className:t,ref:this.props.chartRef},i().createElement(c.ResponsiveFunnel,{layers:e,shapeBlending:.25,isInteractive:!0,data:this.props.data,colors:this.props.colors,direction:"horizontal",margin:{top:0,right:0,bottom:this.marginBottom,left:0},borderWidth:1,borderOpacity:1,labelColor:{from:"color",modifiers:[["darker",3]]},enableBeforeSeparators:!1,enableAfterSeparators:!1,currentBorderWidth:0,tooltip:this.getRenderTooltip}))},t.displayName="FunnelUI",b([s.MR,E("design:type",Function),E("design:paramtypes",["function"==typeof(n=void 0!==c.FunnelCustomLayerProps&&c.FunnelCustomLayerProps)?n:Object]),E("design:returntype","function"==typeof(r="undefined"!=typeof JSX&&JSX.Element)?r:Object)],t.prototype,"renderDataLabels",null),b([s.MR,E("design:type",Function),E("design:paramtypes",["function"==typeof(o=void 0!==c.FunnelCustomLayerProps&&c.FunnelCustomLayerProps)?o:Object]),E("design:returntype","function"==typeof(a="undefined"!=typeof JSX&&JSX.Element)?a:Object)],t.prototype,"renderEmptyParts",null),b([s.MR,E("design:type",Function),E("design:paramtypes",["function"==typeof(l=void 0!==c.FunnelCustomLayerProps&&c.FunnelCustomLayerProps)?l:Object]),E("design:returntype","function"==typeof(p="undefined"!=typeof JSX&&JSX.Element)?p:Object)],t.prototype,"renderSinkDataLabels",null),b([s.MR,E("design:type",Function),E("design:paramtypes",["function"==typeof(h=void 0!==c.FunnelPartWithHandlers&&c.FunnelPartWithHandlers)?h:Object]),E("design:returntype","function"==typeof(m=void 0!==i()&&i().ReactNode)?m:Object)],t.prototype,"renderSVGDataLabel",null),b([s.MR,E("design:type",Function),E("design:paramtypes",["function"==typeof(v="undefined"!=typeof FunnelTooltipProps&&FunnelTooltipProps)?v:Object]),E("design:returntype","function"==typeof(w="undefined"!=typeof JSX&&JSX.Element)?w:Object)],t.prototype,"getRenderTooltip",null),t}(i().Component),C=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)},x=function(e){function t(t){var n=e.call(this,t)||this;return n.state={data:[],sinkData:[],colors:[]},n}return C(t,e),t.prototype.shouldComponentUpdate=function(e){return!(0,a.vZ)(this.props,e)},t.prototype.getComponentSetup=function(){var e=this.separateDataFromSinkData(),t=e.data,n=e.sinkData,r=t.reduce((function(e,t){return e+t.value}),0);return{data:t,sinkData:n,colors:(0,l.vA)(t.length,this.props.colors),isZeroData:0===r}},t.prototype.separateDataFromSinkData=function(){var e,t,n=[],r=[];return(null!==(t=null===(e=this.props)||void 0===e?void 0:e.data)&&void 0!==t?t:[]).forEach((function(e){e.isSinkState?r.push(e):n.push({id:e.label,value:e.value,label:e.label,percentage:e.percentage})})),{data:n,sinkData:r}},t.prototype.render=function(){return i().createElement(w,O({},this.getComponentSetup(),{chartRef:this.props.chartRef,id:this.props.id,numberToStringFormatter:this.props.numberToStringFormatter,className:this.props.className,tooltipValueFormat:this.props.tooltipValueFormat}))},t.displayName="Funnel",t.defaultProps={colors:[l.WV,l.Ls,l.P3,l.p5]},t}(i().Component)},4139:(e,t,n)=>{"use strict";n.d(t,{GaugeLinear:()=>s});var r,o=n(8156),i=n.n(o),a=n(4589),l=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.padding=4,t.barHeight=4,t.arrowPadding=2,t.arrowWidth=8,t.arrowHeight=6,t}return l(t,e),Object.defineProperty(t.prototype,"height",{get:function(){var e;return null!==(e=this.props.height)&&void 0!==e?e:20},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"barWidth",{get:function(){return(this.props.width-this.padding)/this.colors.length-this.padding},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colors",{get:function(){var e,t;if(void 0!==this.props.colors)return this.props.colors;var n=null!==(t=(0,a.generateRangeColor)(null!==(e=this.props.stepsCount)&&void 0!==e?e:0))&&void 0!==t?t:[];return this.props.reverseDefaultColors&&n.reverse(),n},enumerable:!1,configurable:!0}),t.prototype.renderColors=function(){var e=this;return this.colors.map((function(t,n){var r={fill:t};return i().createElement("g",{key:t},i().createElement("rect",{width:e.barWidth,height:e.barHeight,style:r,x:n*(e.barWidth+e.padding)+e.padding}))}))},t.prototype.renderArrow=function(){var e={fill:a.black},t=this.props.currentStep*(this.barWidth+this.padding)+this.padding+this.barWidth/2,n=[[t,this.barHeight+this.arrowPadding],[t-this.arrowWidth/2,this.barHeight+this.arrowPadding+this.arrowHeight],[t+this.arrowWidth/2,this.barHeight+this.arrowPadding+this.arrowHeight]].map((function(e){return"".concat(e[0],",").concat(e[1])}));return i().createElement("polygon",{points:n.join(" "),style:e})},t.prototype.render=function(){if(0===this.colors.length)throw new Error('Invalid empty "colors"');if(this.props.currentStep>=this.colors.length||this.props.currentStep<0)throw new Error('Invalid "currentStep"');return i().createElement("svg",{width:this.props.width,height:this.height},this.renderColors(),this.renderArrow())},t.displayName="GaugeLinear",t}(i().PureComponent)},2031:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(8310),o=n.n(r),i=n(8156),a=n.n(i),l=n(192),s=a().memo((function(e){var t=o()(e.className,"ml-1");return a().createElement("div",{className:t},a().createElement(l.Dropdown,{drop:"left"},a().createElement(l.Dropdown.Toggle,{disabled:!0===e.isDisabled,as:l.AtokaSimpleDropdownToggle}),a().createElement(l.Dropdown.Menu,null,e.children)))}));s.displayName="CardMenu"},3808:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(8156),o=n.n(r),i=n(7045),a=n(38),l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)},s=o().memo((function(e){var t,n=[];return o().Children.forEach(e.children,(function(e){var t;"EllipsableContent"===(null===(t=null==e?void 0:e.type)||void 0===t?void 0:t.displayName)&&n.push(e)})),n.length>0?e.children:o().createElement(i.G,{tooltip:null!==(t=e.tooltip)&&void 0!==t?t:null,tooltipProps:l({delay:200},e.tooltipProps)},o().createElement(a.D,{size:"sm",className:"mb-0"},e.children))}));s.displayName="CardTitle"},8684:(e,t,n)=>{"use strict";n.d(t,{GridCard:()=>x});var r=n(6627),o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(2494),c=n.n(s),p=n(4915),u=n(3808),d=i().memo((function(e){return i().createElement("div",{className:"mt-3"},e.children)}));d.displayName="GridCardFooter";var f=n(3642),h=n(2031),m=i().memo((function(e){return i().createElement("div",{className:"d-flex align-items-center h-100"},e.children)}));m.displayName="GridCardTags";var y,v=(y=function(e,t){return y=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])},y(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderCheckbox=function(){return this.props.isSelectable?i().createElement("span",{onClick:this.stopPropagation},i().createElement(f.l.Checkbox,{className:"checkbox-container mb-0",onChange:this.props.onSelect,checked:this.props.isSelected,id:String(this.props.id)})):null},t.prototype.render=function(){return i().createElement("div",{className:"card-title d-flex"},this.renderCheckbox(),(0,p.z8)(this.props.children,u.l),i().createElement("span",{onClick:this.stopPropagation},(0,p.z8)(this.props.children,m)),i().createElement("span",null,(0,p.z8)(this.props.children,h.$)))},t.displayName="GridCardHeader",t}(i().PureComponent),b=i().memo((function(e){return i().createElement("div",{className:"mt-3"},e.children)}));b.displayName="GridCardContent";var E=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)},C=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},O=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.handleClick=function(){this.props.onSelect&&this.props.onSelect()},t.prototype.render=function(){var e=l()("grid-card mb-2",this.props.className,{"is-selectable":this.props.isSelectable});return i().createElement(c(),{className:e,onClick:this.handleClick},i().createElement(g,w({},this.props),(0,p.z8)(this.props.children,u.l),(0,p.z8)(this.props.children,m),(0,p.z8)(this.props.children,h.$)),(0,p.z8)(this.props.children,b),i().createElement("span",{onClick:this.stopPropagation},(0,p.z8)(this.props.children,d)))},t.displayName="GridCard",t.Header=g,t.Title=u.l,t.Tags=m,t.Menu=h.$,t.Content=b,t.Footer=d,t.defaultProps={isSelected:!1,isSelectable:!1,id:"".concat(Math.random())},C([r.ZP,O("design:type",Function),O("design:paramtypes",[]),O("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().PureComponent)},8265:(e,t,n)=>{"use strict";n.d(t,{HighlightableText:()=>f});var r,o=n(6627),i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=n(2394),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return p(t,e),t.prototype.needToHighlight=function(){return!(0,c.Wq)(this.props.highlighted)},t.prototype.getParts=function(){if("string"!=typeof this.props.children)throw Error("In this component, children have to be a string");return(0,c.ho)(this.props.highlighted,this.props.children)},t.prototype.renderPart=function(e,t){var n,r=(0,c.OH)(e,this.props.highlighted),o=a()("atoka-highlightable-text",this.props.size,((n={"text-muted":!0===this.props.isDisabled,bold:this.props.isBold,"selected-text":r})[this.props.highlightColor]=r,n)),i=e;return r&&(i=s().createElement("strong",null,e)),s().createElement("span",{key:"".concat(e,"-").concat(t),className:o},i)},t.prototype.highlightedText=function(){var e=this.getParts();return null==e?null:s().createElement("span",{className:this.props.className},e.map(this.renderPart))},t.prototype.render=function(){var e=this.props.children,t=a()("atoka-highlightable-text",this.props.highlightColor,this.props.size,this.props.className,{"text-muted":!0===this.props.isDisabled,bold:this.props.isBold});return"string"!=typeof e?s().createElement("span",{className:t},e):this.needToHighlight()?this.highlightedText():s().createElement("span",{className:t},e)},t.displayName="HighlightableText",t.defaultProps={size:"md",highlightColor:"orange"},u([o.MR,d("design:type",Function),d("design:paramtypes",[String,Number]),d("design:returntype","function"==typeof(n=void 0!==s()&&s().ReactNode)?n:Object)],t.prototype,"renderPart",null),t}(s().PureComponent)},4950:()=>{},9825:(e,t,n)=>{"use strict";n.d(t,{BarCustomLayerProps:()=>s.BarCustomLayerProps,CanvasLegendConfig:()=>r.CanvasLegendConfig,GetHistogramCanvasLegendConfig:()=>r.GetHistogramCanvasLegendConfig,Histogram:()=>S,RenderHistogramSVGLegend:()=>r.RenderHistogramSVGLegend});var r={};n.r(r),n.d(r,{b:()=>S});var o,i=n(6627),a=n(8156),l=n.n(a),s=n(2895),c=n(2766),p=n(8310),u=n.n(p),d=n(5521),f=n(4915),h=n(6216),m=n(1469),y=n(7540),v=n(9274),g=n(5909),b=n(2394),E=n(4950),w=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},C.apply(this,arguments)},O=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},x=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},P=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},N=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ellipseAndFormat=b.TK,t.matchAndFormatRangeLabel=b.eR,t.baseLayers=["grid","axes","bars"],t.state={data:[],selectedColumns:new Set,customColors:null},t}var n,r,o,p,S,j,_,k,T,M;return w(t,e),t.fromDataPointToBarDatum=function(e){return Object.keys(e).reduce((function(t,n){var r;return null==e[n]?t:C(C({},t),((r={})[n]=e[n],r))}),{})},Object.defineProperty(t.prototype,"areAllDataZero",{get:function(){return 0===this.props.data.reduce((function(e,t){return e+t.value}),0)},enumerable:!1,configurable:!0}),t.prototype.setupComponent=function(){var e,t,n,r,o;if(null==this.props.maxColsNumber&&this.props.colors.length>0&&this.props.colors.length!==this.props.data.length)throw Error("The colors.length must be of the same length as the data you give to the component");if(null!=this.props.maxColsNumber&&this.props.colors.length>0&&this.props.maxColsNumber!==this.props.colors.length-1)throw Error("With a maxColsNumber prop, colors.length must be of length + 1 of the maxColsNumbert");var i=this.prepareData(this.props.data),a=this.wrapTooltip(),l=null==this.props.maxColsNumber?i:(0,g.xG)(null!=i?i:[],null===(e=this.props)||void 0===e?void 0:e.otherId,null===(t=this.props)||void 0===t?void 0:t.otherLabel,null!==(r=null===(n=this.props)||void 0===n?void 0:n.maxColsNumber)&&void 0!==r?r:1/0,null===(o=this.props)||void 0===o?void 0:o.total),s=this.props.colors.reduce((function(e,t,n){var r;return C(C({},e),((r={})[l[n].id]=t,r))}),{});null!=this.props.selectedColumns?this.setState({customColors:s,renderTooltip:a,data:l,selectedColumns:new Set(this.props.selectedColumns)}):this.setState({data:l,customColors:s,renderTooltip:a})},t.prototype.wrapTooltip=function(){var e=this,t=void 0===this.props.renderTooltip?(0,v.getRenderStatisticsTooltip)({tooltipDataLabelKey:"value",tooltipDataTitleKey:"id",otherId:this.props.otherId,otherLabel:this.props.otherLabel,numberToStringFormatter:function(t){var n,r,o;return"".concat(null!==(o=null===(r=(n=e.props).tooltipValueFormat)||void 0===r?void 0:r.call(n,t))&&void 0!==o?o:t)},withColor:!1}):this.props.renderTooltip;return null==t?null:function(e){var n,r;return null!==(r=null==t?void 0:t(C(C({},e),{data:C(C({},e.data),{value:null!==(n=e.data.initialValue)&&void 0!==n?n:0})})))&&void 0!==r?r:null}},t.prototype.prepareData=function(e){var n=this,r=-1/0,o=0;(e=null!=e?e:[]).forEach((function(e){r=Math.max(r,e.value),o=Math.min(o,e.value)})),0===r&&0===o&&(r=10);var i=this.computeZeroReplacingValue(Math.abs(r-o));return e.map((function(e){var r=n.idFormatWrapper(e.label),o=e.value;return o=o>=0?Math.max(o,i):Math.min(o,-i),C(C({},t.fromDataPointToBarDatum(e)),{id:r,value:o,label:r,initialLabel:e.label,initialValue:e.value})}))},t.prototype.idFormatWrapper=function(e){return null==this.props.labelFormat?e:this.matchAndFormatRangeLabel(this.props.labelFormat)(e)},t.prototype.componentDidUpdate=function(e){(0,f.vZ)(e,this.props)||this.setupComponent()},t.prototype.componentDidMount=function(){this.setupComponent()},t.prototype.handleClick=function(e){var t;if(this.isClickable()){var n=this.state.selectedColumns,r=new Set(n);if(n.has(e.indexValue)?r.delete(e.indexValue):r.add(e.indexValue),null!=this.props.onClick){var o=[];(null!==(t=this.state.data)&&void 0!==t?t:[]).forEach((function(e){var t;if(r.has(e.label)){var n=null!==(t=e.initialLabel)&&void 0!==t?t:e.label;o.push({value:e.value,label:n})}})),this.props.onClick(o)}this.setState({selectedColumns:r})}},t.prototype.handleMouseEnter=function(e,t){var n,r,o;if(this.props.isHoverable){var i=null===(n=this.state.customColors)||void 0===n?void 0:n[e.indexValue],a=y.ZM;null!=i&&(a=null!==(o=null===(r=(0,c.ZP)(i))||void 0===r?void 0:r.darker(1).formatHex())&&void 0!==o?o:i),t.target.setAttribute("fill",a)}},t.prototype.handleMouseLeave=function(e,t){this.props.isHoverable&&t.target.setAttribute("fill",this.getColors(e))},t.prototype.getColors=function(e){var t,n,r=y.qi,o=y.pN,i=this.isClickable(),a=y.KH,l=null===(t=this.state.customColors)||void 0===t?void 0:t[e.indexValue];return 0===this.state.selectedColumns.size||this.state.selectedColumns.has(e.indexValue)||this.state.selectedColumns.has(null===(n=e.data)||void 0===n?void 0:n.initialLabel)?null!=l?l:r:i?a:o},t.prototype.isClickable=function(){return null==this.props.selectedColumns&&this.props.isClickable},t.prototype.renderIsLoading=function(){return this.props.isLoading?(0,f.z8)(this.props.children,h.Spinner):null},t.prototype.renderIsEmpty=function(){return this.props.isEmpty?(0,f.z8)(this.props.children,m.EmptyState):null},t.prototype.getEmptyAxis=function(){return"vertical"===this.props.layout?{tickValues:[],tickSize:0}:{tickValues:[]}},t.prototype.getDefaultBottomAxis=function(){var e={tickRotation:-45,tickSize:0,tickPadding:this.props.isCanvas?20:void 0};return"vertical"===this.props.layout?C(C({},e),{format:this.ellipseAndFormat(this.matchAndFormatRangeLabel(this.props.labelFormat),this.props.maxLabelLength)}):C(C({},e),{format:this.ellipseAndFormat(this.props.valueFormat,this.props.maxLabelLength),tickValues:this.props.gridXValues})},t.prototype.getDefaultLeftAxis=function(){return"vertical"===this.props.layout?{format:this.ellipseAndFormat(this.props.valueFormat,this.props.maxLabelLength),tickSize:0,tickValues:this.props.gridYValues}:{format:this.ellipseAndFormat(this.matchAndFormatRangeLabel(this.props.labelFormat),this.props.maxLabelLength)}},t.prototype.getMargin=function(){var e,n,r,o,i,a,l,s,c=C({},this.props.margin),p=C({},t.defaultProps.margin),u=p.top,d=p.right,f=p.bottom,h=p.left;c.bottom=null!==(e=c.bottom)&&void 0!==e?e:0,c.left=null!==(n=c.left)&&void 0!==n?n:0;var m="value",y=1,v=this.props.enableAxisLeft,g=this.getDefaultLeftAxis().format;if("horizontal"===this.props.layout&&(m="label",y=1.2,v=this.props.enableAxisBottom,g=this.getDefaultBottomAxis().format),this.props.computeMargin&&v){var b=0,E=0;null===(r=this.props.data)||void 0===r||r.forEach((function(e){var t,n,r="string"==typeof e[m]?e[m]:String(e[m]),o="string"==typeof g?r.length:null!==(n=null===(t=null==g?void 0:g(r))||void 0===t?void 0:t.length)&&void 0!==n?n:r.length;b=Math.max(o,b),E=Math.max(Math.abs(e.value),E)}));var w=E<1e3?10:0;"horizontal"===this.props.layout?c.bottom+=w+4.3*Math.min(b,this.props.maxLabelLength)*y:c.left+=w+7.7*Math.min(b,this.props.maxLabelLength)*y}return{top:null!==(o=c.top)&&void 0!==o?o:u,right:null!==(i=c.right)&&void 0!==i?i:d,bottom:null!==(l=null!==(a=c.bottom)&&void 0!==a?a:f)&&void 0!==l?l:0,left:null!==(s=c.left)&&void 0!==s?s:h}},t.prototype.buildCanvasLegend=function(e,t){if(null!=this.props.getCanvasLegendConfig){var n=this.props.getCanvasLegendConfig(t),r=n.x,o=void 0===r?0:r,i=n.y,a=void 0===i?0:i,l=n.data,s=[0];(void 0===l?[]:l).forEach((function(t,n){var r=10*n;e.fillStyle=y.de;var i=o+r+s[n];e.fillText(t.label,i,a);var l=i+e.measureText(t.label).width+10;e.fillStyle=y.Sn,e.font="bold",e.fillText("".concat(t.value),l,a);var c=e.measureText("".concat(t.value));s.push(l+c.width)}))}},t.prototype.computeZeroReplacingValue=function(e,t){return void 0===t&&(t=.02),e*t},t.prototype.renderEmptyParts=function(e){var t,n,r=null!==(n=null===(t=null==e?void 0:e.bars)||void 0===t?void 0:t.map(this.renderEmptyPart(e)))&&void 0!==n?n:[];return 0===r.length?null:l().createElement("g",null,r)},t.prototype.renderEmptyPart=function(e){var t=this;return function(n,r){var o,i=(0,d.useTooltip)(),s=i.showTooltipFromEvent,c=i.hideTooltip,p=C(C(C({},n),n.data),{value:null!==(o=n.data.value)&&void 0!==o?o:0}),u=(0,a.useMemo)((function(){return function(){return(0,a.createElement)(e.tooltip,p)}}),[e.tooltip,n,n.data]),f=(0,a.useCallback)((function(e){return s(u(),e)}),[s,u]),h=(0,a.useCallback)((function(t){var r;null===(r=e.onMouseEnter)||void 0===r||r.call(e,n.data,t),s(u(),t)}),[n.data,e.onMouseEnter,s,u]),m=(0,a.useCallback)((function(t){var r;null===(r=e.onMouseLeave)||void 0===r||r.call(e,n.data,t),c()}),[n.data,c,e.onMouseLeave]);return l().createElement("g",{key:r,transform:"translate(".concat(n.x,", ").concat(n.y+n.height,")")},l().createElement("rect",{width:n.width,height:Math.max(t.computeZeroReplacingValue(n.height),2),rx:"0",ry:"0",fill:y.qi,strokeWidth:"0",stroke:y.qi,onMouseEnter:h,onMouseLeave:m,onMouseMove:f}))}},t.prototype.getLayers=function(){var e=this.areAllDataZero?[this.renderEmptyParts]:N([],P(this.baseLayers),!1);return null!=this.props.renderSVGLegend&&e.push(this.props.renderSVGLegend),e},t.prototype.getCanvasLayers=function(){var e=N([],P(this.baseLayers),!1);return null!=this.props.getCanvasLegendConfig&&e.push(this.buildCanvasLegend),e},t.prototype.renderContent=function(){var e,n;if(this.props.isEmpty||this.props.isLoading)return null;var r=this.props,o=r.enableAxisBottom,i=r.enableAxisLeft,a=r.layout,c=r.padding,p=r.enableGridY,u=r.enableGridX,d=r.gridYValues,f=r.gridXValues,h=o?this.getDefaultBottomAxis():this.getEmptyAxis(),m=i?this.getDefaultLeftAxis():this.getEmptyAxis(),v=null!==this.state.renderTooltip,g={padding:c,layout:a,gridXValues:f,gridYValues:d,margin:this.getMargin(),theme:C({textColor:y.de},this.props.theme),isInteractive:this.isClickable()||v,indexBy:"id",tooltip:null!==(e=this.state.renderTooltip)&&void 0!==e?e:void 0,colors:this.getColors,enableGridY:"vertical"===this.props.layout&&p,enableGridX:"horizontal"===this.props.layout&&u,enableLabel:!1},b=this.state.data;if(this.props.isCanvas){var E=null!==(n=this.props.size)&&void 0!==n?n:t.defaultProps.size;return g.theme=C(C({},g.theme),{background:"#fff"}),l().createElement(s.ResponsiveBarCanvas,C({},g,E,{data:b,layers:this.getCanvasLayers(),axisLeft:m,axisBottom:h}))}return l().createElement(s.ResponsiveBar,C({},g,{layers:this.getLayers(),axisLeft:m,axisBottom:h,data:b,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave}))},t.prototype.render=function(){var e=u()("histogram-container","d-flex","justify-content-center","align-items-center",{clickable:this.isClickable()});return l().createElement("div",{id:this.props.id,className:e,ref:this.props.chartRef},this.renderIsLoading(),this.renderIsEmpty(),this.renderContent())},t.displayName="Histogram",t.legendHeight=20,t.defaultProps={computeMargin:!0,enableGridY:!0,enableGridX:!0,enableAxisLeft:!0,enableAxisBottom:!0,size:{height:400},isEmpty:!1,isLoading:!1,isHoverable:!1,isClickable:!0,layout:"vertical",margin:{top:30,right:0,bottom:30,left:0},padding:.05,maxLabelLength:12,id:"",colors:[],otherId:"other",gridXValues:6,gridYValues:6},O([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(n=void 0!==E.Z&&E.Z)?n:Object]),x("design:returntype",void 0)],t.prototype,"handleClick",null),O([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(r=void 0!==s.ComputedDatum&&s.ComputedDatum)?r:Object,"function"==typeof(o=void 0!==l()&&l().MouseEvent)?o:Object]),x("design:returntype",void 0)],t.prototype,"handleMouseEnter",null),O([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(p=void 0!==s.ComputedDatum&&s.ComputedDatum)?p:Object,"function"==typeof(S=void 0!==l()&&l().MouseEvent)?S:Object]),x("design:returntype",void 0)],t.prototype,"handleMouseLeave",null),O([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(j=void 0!==s.ComputedDatum&&s.ComputedDatum)?j:Object]),x("design:returntype",String)],t.prototype,"getColors",null),O([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(_="undefined"!=typeof CanvasRenderingContext2D&&CanvasRenderingContext2D)?_:Object,"function"==typeof(k=void 0!==s.BarCustomLayerProps&&s.BarCustomLayerProps)?k:Object]),x("design:returntype",void 0)],t.prototype,"buildCanvasLegend",null),O([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(T=void 0!==s.BarCustomLayerProps&&s.BarCustomLayerProps)?T:Object]),x("design:returntype",Object)],t.prototype,"renderEmptyParts",null),O([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(M=void 0!==s.BarCustomLayerProps&&s.BarCustomLayerProps)?M:Object]),x("design:returntype",Function)],t.prototype,"renderEmptyPart",null),t}(l().Component)},2599:(e,t,n)=>{"use strict";n.d(t,{M:()=>N});var r,o=n(6627),i=n(8156),a=n.n(i),l=n(5315),s=n.n(l),c=n(3915),p=n.n(c),u=n(4440),d=n.n(u),f=n(8310),h=n.n(f),m=n(6988),y=n(4600),v=n(7325),g=n(2380),b=n(188),E=n(1862),w=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},C.apply(this,arguments)},O=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},x=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},P=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputRef=a().createRef(),t.state={currentValue:t.props.value},t}var n,r;return w(t,e),t.prototype.componentDidMount=function(){var e,t,n,r;null===(t=null===(e=this.inputRef)||void 0===e?void 0:e.current)||void 0===t||t.focus(),null===(r=null===(n=this.inputRef)||void 0===n?void 0:n.current)||void 0===r||r.select()},t.prototype.componentDidUpdate=function(e){e.value!==this.props.value&&this.setState({currentValue:this.props.value})},t.prototype.handleKeyDown=function(e){"Escape"!==e.key&&"Esc"!==e.key||this.handleCancel(),"Enter"===e.key&&(e.stopPropagation(),this.handleSave())},t.prototype.handleCancel=function(){this.setState({currentValue:this.props.value}),this.props.onCancel()},t.prototype.handleSave=function(){this.isSaveDisabled()||this.props.onSave(this.state.currentValue)},t.prototype.handleTextChange=function(e){var t,n,r=e.target.value,o=null!==(n=null===(t=this.props)||void 0===t?void 0:t.maxLength)&&void 0!==n?n:0;r.length<=o&&(null!=this.props.onChange&&this.props.onChange(r),this.setState({currentValue:r}))},t.prototype.handleOptionChange=function(e){var t,n,r,o=null!==(r=this.props.options)&&void 0!==r?r:[];try{for(var i=P(o),a=i.next();!a.done;a=i.next()){var l=a.value;String(l.value)===String(e)&&(null!=this.props.onChange&&this.props.onChange(l),this.setState({currentValue:l}))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.isSaveDisabled=function(){return null!=this.props.getIsSaveDisabled?this.props.getIsSaveDisabled(this.state.currentValue):null!=this.props.getError&&null!=this.props.getError(this.state.currentValue)||(null==this.props.onChange&&this.state.currentValue===this.props.value||"string"==typeof this.state.currentValue&&this.state.currentValue.length<this.props.minLength)},t.prototype.renderHelp=function(){return null==this.props.help?null:a().createElement(d(),{appear:!0,in:!0},a().createElement(E.Form.Help,null,this.props.help))},t.prototype.renderError=function(){if(null==this.props.getError)return null;var e=this.props.getError(this.state.currentValue);return null==e?null:a().createElement(d(),{appear:!0,in:!0},a().createElement(E.Form.Control.FeedBack,{type:"invalid"},e))},t.prototype.renderInput=function(){var e;if(null!=this.props.options&&this.props.options.length>0){var t=null!=this.state.currentValue?this.state.currentValue.value:"";return a().createElement(b.SelectDropdown,{className:"inline-dropdown-select",size:this.props.size,selected:String(t),onSelect:this.handleOptionChange,onKeyDown:this.handleKeyDown,options:this.props.options,isInvalid:null!=this.renderError()})}return a().createElement(g.N,{ref:this.inputRef,size:this.props.size,type:this.props.inputType,value:null!==(e=this.state.currentValue)&&void 0!==e?e:"",onChange:this.handleTextChange,onKeyDown:this.handleKeyDown,isInvalid:null!=this.renderError()})},t.prototype.renderCancelButton=function(){var e={onClick:this.handleCancel,variant:"secondary",size:this.props.size,className:"inline-string-editor-cancel"};return!0===this.props.useIcons?a().createElement(v.Button,C({icon:m.faTimes},e)):a().createElement(v.Button,C({},e),this.props.cancelLabel)},t.prototype.renderSaveButton=function(){var e={onClick:this.handleSave,variant:"primary",disabled:this.isSaveDisabled(),size:this.props.size,className:"inline-string-editor-save"};return!0===this.props.useIcons?a().createElement(v.Button,C({icon:y.faCheck},e)):a().createElement(v.Button,C({},e),this.props.saveLabel)},t.prototype.render=function(){var e=h()("inline-string-editor w-100",this.props.className);return a().createElement("div",{className:e},a().createElement(p(),{className:"no-gutters"},a().createElement(s(),null,this.renderInput()),a().createElement(s(),{xs:"auto",className:"inline-string-editor-controls"},this.renderCancelButton(),this.renderSaveButton())),this.renderError(),this.renderHelp())},t.displayName="InlineStringEditor",t.defaultProps={useIcons:!1,inputType:"text",maxLength:60,minLength:3,saveLabel:"Save",cancelLabel:"Cancel",size:"md"},O([o.ZP,x("design:type",Function),x("design:paramtypes",["function"==typeof(n=void 0!==a()&&a().KeyboardEvent)?n:Object]),x("design:returntype",void 0)],t.prototype,"handleKeyDown",null),O([o.ZP,x("design:type",Function),x("design:paramtypes",[]),x("design:returntype",void 0)],t.prototype,"handleCancel",null),O([o.ZP,x("design:type",Function),x("design:paramtypes",[]),x("design:returntype",void 0)],t.prototype,"handleSave",null),O([o.ZP,x("design:type",Function),x("design:paramtypes",["function"==typeof(r=void 0!==a()&&a().FormEvent)?r:Object]),x("design:returntype",void 0)],t.prototype,"handleTextChange",null),O([o.ZP,x("design:type",Function),x("design:paramtypes",[String]),x("design:returntype",void 0)],t.prototype,"handleOptionChange",null),t}(a().Component)},2327:(e,t,n)=>{"use strict";n.d(t,{InlineStringEditor:()=>r.M,InlineStringValueType:()=>r.InlineStringValueType});var r=n(2599)},2913:(e,t,n)=>{"use strict";n.d(t,{InputGroup:()=>u});var r=n(8156),o=n.n(r),i=n(2476),a=n.n(i),l=n(8310),s=n.n(l),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=o().memo((function(e){var t,n,r=s()(((t={})[null!==(n=null==e?void 0:e.className)&&void 0!==n?n:""]=!0,t["atoka-input-group-text"]=!0,t));return o().createElement(a().Text,c({},e,{className:r}),e.children)}));p.displayName="InputGroupText";var u=function(e){var t=s()("atoka-input-group",null==e?void 0:e.className,{disabled:e.disabled,"atoka-shadow":e.withShadow,"is-invalid":e.isInvalid});return o().createElement(a(),{size:"md"===e.size?void 0:e.size,className:t},e.children)};u.displayName="InputGroup",u.Text=p,u.Append=a().Append,u.Prepend=a().Prepend},6060:(e,t,n)=>{"use strict";n.d(t,{Jumbotron:()=>u});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(3161),c=n.n(s),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=i()("jumbotron-".concat(this.props.variant),this.props.className);return l().createElement(c(),{className:e},this.props.children)},t.displayName="Jumbotron",t.defaultProps={variant:"primary"},t}(l().PureComponent)},3681:(e,t,n)=>{"use strict";n.d(t,{Map:()=>xe,MapChoroplethProps:()=>r.MapChoroplethProps,MapData:()=>r.MapData,MapDataKind:()=>r.MapDataKind,MapProps:()=>r.MapProps});var r={};n.r(r);var o=n(8156),i=n.n(o),a=n(32),l=n(7038),s=n(3103),c=n(7581);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=n(4159),d=n.n(u),f=n(5682),h=n.n(f),m=(0,o.createContext)({}),y=m.Consumer,v=m.Provider,g=function(e){var t=function(t,n){return i().createElement(y,null,(function(r){return i().createElement(e,(0,a.Z)({},t,{leaflet:r,ref:n}))}))},n=e.displayName||e.name||"Component";t.displayName="Leaflet("+n+")";var r=(0,o.forwardRef)(t);return h()(r,e),r},b=/^on(.+)$/i,E=function(e){function t(t){var n;return n=e.call(this,t)||this,p((0,s.Z)(n),"_leafletEvents",void 0),p((0,s.Z)(n),"leafletElement",void 0),n._leafletEvents=n.extractLeafletEvents(t),n}(0,c.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.bindLeafletEvents(this._leafletEvents)},n.componentDidUpdate=function(e){this._leafletEvents=this.bindLeafletEvents(this.extractLeafletEvents(this.props),this._leafletEvents)},n.componentWillUnmount=function(){var e=this,t=this.leafletElement;t&&Object.keys(this._leafletEvents).forEach((function(n){t.off(n,e._leafletEvents[n])}))},n.extractLeafletEvents=function(e){return Object.keys(e).reduce((function(t,n){b.test(n)&&(null!=e[n]&&(t[n.replace(b,(function(e,t){return t.toLowerCase()}))]=e[n]));return t}),{})},n.bindLeafletEvents=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=this.leafletElement;if(null==n||null==n.on)return{};var r=(0,a.Z)({},t);return Object.keys(t).forEach((function(o){null!=e[o]&&t[o]===e[o]||(delete r[o],n.off(o,t[o]))})),Object.keys(e).forEach((function(o){null!=t[o]&&e[o]===t[o]||(r[o]=e[o],n.on(o,e[o]))})),r},n.fireLeafletEvent=function(e,t){var n=this.leafletElement;n&&n.fire(e,t)},t}(o.Component),w=function(e){return void 0===e&&(e=""),e.split(" ").filter(Boolean)};const C=function(e,t,n){null!=e&&n!==t&&(null!=t&&t.length>0&&function(e,t){w(t).forEach((function(t){u.DomUtil.removeClass(e,t)}))}(e,t),null!=n&&n.length>0&&function(e,t){w(t).forEach((function(t){u.DomUtil.addClass(e,t)}))}(e,n))};function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.keys(e).reduce((function(t,r){return-1===n.indexOf(r)&&(t[r]=e[r]),t}),{})}var x=["children","className","id","style","useFlyTo","whenReady"],P=function(e){return Array.isArray(e)?[e[0],e[1]]:[e.lat,e.lon?e.lon:e.lng]},N=function(e){function t(t){var n;return n=e.call(this,t)||this,p((0,s.Z)(n),"className",void 0),p((0,s.Z)(n),"contextValue",void 0),p((0,s.Z)(n),"container",void 0),p((0,s.Z)(n),"viewport",{center:void 0,zoom:void 0}),p((0,s.Z)(n),"_ready",!1),p((0,s.Z)(n),"_updating",!1),p((0,s.Z)(n),"onViewportChange",(function(){var e=n.leafletElement.getCenter();n.viewport={center:e?[e.lat,e.lng]:void 0,zoom:n.leafletElement.getZoom()},n.props.onViewportChange&&!n._updating&&n.props.onViewportChange(n.viewport)})),p((0,s.Z)(n),"onViewportChanged",(function(){n.props.onViewportChanged&&!n._updating&&n.props.onViewportChanged(n.viewport)})),p((0,s.Z)(n),"bindContainer",(function(e){n.container=e})),n.className=t.className,n}(0,c.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=e.viewport,n=(0,l.Z)(e,["viewport"]);return t&&(t.center&&(n.center=t.center),"number"==typeof t.zoom&&(n.zoom=t.zoom)),new u.Map(this.container,n)},n.updateLeafletElement=function(e,t){this._updating=!0;var n=t.bounds,r=t.boundsOptions,o=t.boxZoom,i=t.center,a=t.className,l=t.doubleClickZoom,s=t.dragging,c=t.keyboard,p=t.maxBounds,u=t.scrollWheelZoom,d=t.tap,f=t.touchZoom,h=t.useFlyTo,m=t.viewport,y=t.zoom;if(C(this.container,e.className,a),m&&m!==e.viewport){var v=m.center?m.center:i,g=null==m.zoom?y:m.zoom;!0===h?this.leafletElement.flyTo(v,g,this.getZoomPanOptions(t)):this.leafletElement.setView(v,g,this.getZoomPanOptions(t))}else i&&this.shouldUpdateCenter(i,e.center)?!0===h?this.leafletElement.flyTo(i,y,this.getZoomPanOptions(t)):this.leafletElement.setView(i,y,this.getZoomPanOptions(t)):"number"==typeof y&&y!==e.zoom&&(null==e.zoom?this.leafletElement.setView(i,y,this.getZoomPanOptions(t)):this.leafletElement.setZoom(y,this.getZoomPanOptions(t)));p&&this.shouldUpdateBounds(p,e.maxBounds)&&this.leafletElement.setMaxBounds(p),n&&(this.shouldUpdateBounds(n,e.bounds)||r!==e.boundsOptions)&&(!0===h?this.leafletElement.flyToBounds(n,this.getFitBoundsOptions(t)):this.leafletElement.fitBounds(n,this.getFitBoundsOptions(t))),o!==e.boxZoom&&(!0===o?this.leafletElement.boxZoom.enable():this.leafletElement.boxZoom.disable()),l!==e.doubleClickZoom&&(!0===l||"string"==typeof l?(this.leafletElement.options.doubleClickZoom=l,this.leafletElement.doubleClickZoom.enable()):this.leafletElement.doubleClickZoom.disable()),s!==e.dragging&&(!0===s?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable()),c!==e.keyboard&&(!0===c?this.leafletElement.keyboard.enable():this.leafletElement.keyboard.disable()),u!==e.scrollWheelZoom&&(!0===u||"string"==typeof u?(this.leafletElement.options.scrollWheelZoom=u,this.leafletElement.scrollWheelZoom.enable()):this.leafletElement.scrollWheelZoom.disable()),d!==e.tap&&(!0===d?this.leafletElement.tap.enable():this.leafletElement.tap.disable()),f!==e.touchZoom&&(!0===f||"string"==typeof f?(this.leafletElement.options.touchZoom=f,this.leafletElement.touchZoom.enable()):this.leafletElement.touchZoom.disable()),this._updating=!1},n.getZoomPanOptions=function(e){return{animate:e.animate,duration:e.duration,easeLinearity:e.easeLinearity,noMoveStart:e.noMoveStart}},n.getFitBoundsOptions=function(e){var t=this.getZoomPanOptions(e);return(0,a.Z)({},t,e.boundsOptions)},n.componentDidMount=function(){var t=O.apply(void 0,[this.props].concat(x));this.leafletElement=this.createLeafletElement(t),this.leafletElement.on("move",this.onViewportChange),this.leafletElement.on("moveend",this.onViewportChanged),null!=t.bounds&&this.leafletElement.fitBounds(t.bounds,this.getFitBoundsOptions(t)),this.contextValue={layerContainer:this.leafletElement,map:this.leafletElement},e.prototype.componentDidMount.call(this),this.forceUpdate()},n.componentDidUpdate=function(t){!1===this._ready&&(this._ready=!0,this.props.whenReady&&this.leafletElement.whenReady(this.props.whenReady)),e.prototype.componentDidUpdate.call(this,t),this.updateLeafletElement(t,this.props)},n.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.leafletElement.off("move",this.onViewportChange),this.leafletElement.off("moveend",this.onViewportChanged),!0===this.props.preferCanvas?(this.leafletElement._initEvents(!0),this.leafletElement._stop()):this.leafletElement.remove()},n.shouldUpdateCenter=function(e,t){return!t||(e=P(e),t=P(t),e[0]!==t[0]||e[1]!==t[1])},n.shouldUpdateBounds=function(e,t){return!t||!(0,u.latLngBounds)(e).equals((0,u.latLngBounds)(t))},n.render=function(){return i().createElement("div",{className:this.className,id:this.props.id,ref:this.bindContainer,style:this.props.style},this.contextValue?i().createElement(v,{value:this.contextValue},this.props.children):null)},t}(E);function S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var j=function(e){function t(){return e.apply(this,arguments)||this}return(0,c.Z)(t,e),t.prototype.getOptions=function(e){return null!=e.pane?e:null!=e.leaflet&&null!=e.leaflet.pane?(0,a.Z)({},e,{pane:e.leaflet.pane}):e},t}(E),_=function(e){function t(t){var n;return n=e.call(this,t)||this,p((0,s.Z)(n),"contextValue",void 0),p((0,s.Z)(n),"leafletElement",void 0),n.leafletElement=n.createLeafletElement(t),n}(0,c.Z)(t,e);var n,r,a,l=t.prototype;return l.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},l.updateLeafletElement=function(e,t){},l.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.layerContainer.addLayer(this.leafletElement)},l.componentDidUpdate=function(t){if(e.prototype.componentDidUpdate.call(this,t),this.props.attribution!==t.attribution){var n=this.props.leaflet.map;null!=n&&null!=n.attributionControl&&(n.attributionControl.removeAttribution(t.attribution),n.attributionControl.addAttribution(this.props.attribution))}this.updateLeafletElement(t,this.props)},l.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.layerContainer.removeLayer(this.leafletElement)},l.render=function(){var e=this.props.children;return null==e?null:null==this.contextValue?i().createElement(o.Fragment,null,e):i().createElement(v,{value:this.contextValue},e)},n=t,(r=[{key:"layerContainer",get:function(){return this.props.leaflet.layerContainer||this.props.leaflet.map}}])&&S(n.prototype,r),a&&S(n,a),Object.defineProperty(n,"prototype",{writable:!1}),t}(j),k=function(e){function t(){return e.apply(this,arguments)||this}(0,c.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new u.GridLayer(this.getOptions(e))},n.updateLeafletElement=function(e,t){var n=t.opacity,r=t.zIndex;n!==e.opacity&&this.leafletElement.setOpacity(n),r!==e.zIndex&&this.leafletElement.setZIndex(r)},n.getOptions=function(t){var n=(0,a.Z)({},e.prototype.getOptions.call(this,t)),r=t.leaflet.map;return null!=r&&(null==n.maxZoom&&null!=r.options.maxZoom&&(n.maxZoom=r.options.maxZoom),null==n.minZoom&&null!=r.options.minZoom&&(n.minZoom=r.options.minZoom)),n},n.render=function(){return null},t}(_),T=function(e){function t(){return e.apply(this,arguments)||this}(0,c.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new u.TileLayer(e.url,this.getOptions(e))},n.updateLeafletElement=function(t,n){e.prototype.updateLeafletElement.call(this,t,n),n.url!==t.url&&this.leafletElement.setUrl(n.url)},t}(k);const M=g(T);var R=n(8310),D=n.n(R),F=n(6627),I=n(855),L=n.n(I),A=n(4915),B=n(6216),z=n(1469),V=n(8053),Z=n.n(V),q=n(6043),G=n.n(q),H=n(5692),K=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},W=i().memo((function(e){var t,n=e.size,r=void 0===n?"sm":n,o=K(e,["size"]),a=null;null!=o.icon&&(a=i().createElement(H.FontAwesomeIcon,{size:"xs",icon:o.icon}));var l=D()("map-control-button",o.className,r,{selected:o.isSelected});if(null==o.children||"lg"===r)return i().createElement("button",{className:l,onClick:o.onClick},a,o.children);var s=i().createElement(Z(),{id:null!==(t=null==o?void 0:o.tooltipId)&&void 0!==t?t:"",className:"big-tooltip"},o.children);return i().createElement(G(),{rootClose:!0,trigger:["hover","focus"],placement:"bottom",overlay:s},i().createElement("button",{className:l,onClick:o.onClick},a))}));W.displayName="MapControl";var U=n(1820),$=n(627),X=n.n($);var J=["stroke","color","weight","opacity","lineCap","lineJoin","dashArray","dashOffset","fill","fillColor","fillOpacity","fillRule","bubblingMouseEvents","renderer","className","interactive","pane","attribution"],Y=function(e){function t(){return e.apply(this,arguments)||this}(0,c.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new u.GeoJSON(e.data,this.getOptions(e))},n.updateLeafletElement=function(e,t){"function"==typeof t.style?this.leafletElement.setStyle(t.style):this.setStyleIfChanged(e,t)},t}(function(e){function t(t){var n;return null==(n=e.call(this,t)||this).contextValue&&(n.contextValue=(0,a.Z)({},t.leaflet,{popupContainer:n.leafletElement})),n}(0,c.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(t){e.prototype.componentDidUpdate.call(this,t),this.setStyleIfChanged(t,this.props)},n.getPathOptions=function(e){return t=e,J.reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{});var t},n.setStyle=function(e){void 0===e&&(e={}),this.leafletElement.setStyle(e)},n.setStyleIfChanged=function(e,t){var n=this.getPathOptions(t);X()(n,this.getPathOptions(e))||this.setStyle(n)},t}(_));const Q=g(Y);var ee=n(7540),te=n(2394),ne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},re=i().memo((function(e){var t=ne(e,[]),n=D()("map-popup-container","w-100",t.className);return i().createElement("div",{className:n},t.children)}));re.displayName="MapPopup";var oe,ie=(oe=function(e,t){return oe=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])},oe(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}oe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ae=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},le=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},se=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},ce=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popupRef=i().createRef(),t}return ie(t,e),t.prototype.componentDidMount=function(){this.props.forceUpdateOnMount&&this.forceUpdate()},t.estimatedWordSize=function(e,t,n){return void 0===t&&(t=this.ESTIMATED_LETTER_PIXELS),void 0===n&&(n=this.ESTIMATED_ADDABLE_SPACE),e*t+n},t.prototype.getItemsPositions=function(e,n){var r,o,i,a,l;void 0===n&&(n=30);var s=(null!==(a=null===(i=null===(o=null===(r=this.popupRef)||void 0===r?void 0:r.current)||void 0===o?void 0:o.getBoundingClientRect)||void 0===i?void 0:i.call(o))&&void 0!==a?a:{}).width,c=void 0===s?0:s,p=(null!==(l=this.props.hoveredItem)&&void 0!==l?l:{}).value,u=void 0===p?0:p,d=Math.round(u*c/this.props.valueMax),f=c/2,h=d<Math.round(f),m=t.estimatedWordSize(e);if(0===c)return[0,0];var y=d+(h?(f-d)*n/f:-(d-f)*n/f);return[y,y<c/3?y-10:y<c/3*2?y-m/2:y-m]},t.prototype.renderCursor=function(e){var t=D()({triangle:!0,invisible:null==this.props.hoveredItem});return i().createElement("div",{className:t,style:{left:e}})},t.prototype.renderMapBitInfo=function(e){var t,n,r=null!==(n=null===(t=this.props)||void 0===t?void 0:t.hoveredItem)&&void 0!==n?n:{},o=r.value,a=void 0===o?0:o,l=r.label,s=void 0===l?"":l,c=D()({"invisible w-0":null==this.props.hoveredItem,"w-100":null!=this.props.hoveredItem,"map-bit-info":!0});return i().createElement("div",{className:c},i().createElement("div",{className:"pusher-container",style:{flex:"0 1 ".concat(e,"px")}}),i().createElement("div",{className:"content"},i().createElement("span",{className:"first-letter-capitalize"},s),": ".concat(this.getFormattedNumber(a))))},t.prototype.getFormattedNumber=function(e){var t=this.props.numberToStringFormatter;return null!=t?t(e):"".concat(e)},t.prototype.renderPopupChildren=function(){var e=D()({invisible:null!=this.props.hoveredItem}),t=D()({"d-flex w-100":null==this.props.hoveredItem,"d-none":null!=this.props.hoveredItem,"text-white justify-content-between":!0}),n=Math.round(this.props.valueMin),r=(this.props.valueMax-this.props.valueMin)/2;return i().createElement("span",{className:t},i().createElement("span",{className:e},this.getFormattedNumber(n)),i().createElement("span",{className:e},this.getFormattedNumber(r)),i().createElement("span",{className:e},this.getFormattedNumber(this.props.valueMax)))},t.prototype.render=function(){var e,t,n,r="linear-gradient(to right, "+this.props.minColor+","+this.props.maxColor+")",o=D()({"popup-children":!0}),a=null!==(e=this.props.hoveredItem)&&void 0!==e?e:{},l=a.value,s=void 0===l?0:l,c=a.label,p=void 0===c?"":c,u=null==(null===(n=null===(t=this.props)||void 0===t?void 0:t.hoveredItem)||void 0===n?void 0:n.value)?"":"".concat(p,": ").concat(this.getFormattedNumber(s)),d=se(this.getItemsPositions(u.length),2),f=d[0],h=d[1];return i().createElement("div",{className:o,ref:this.popupRef,style:{backgroundImage:r}},this.renderPopupChildren(),this.renderMapBitInfo(h),this.renderCursor(f))},t.ESTIMATED_LETTER_PIXELS=5.4,t.ESTIMATED_ADDABLE_SPACE=1.1,t.displayName="MapLegendContent",t.defaultProps={forceUpdateOnMount:!1},ae([F.ZP,le("design:type",Function),le("design:paramtypes",[Number]),le("design:returntype",String)],t.prototype,"getFormattedNumber",null),t}(i().PureComponent),pe=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ue=function(){return ue=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ue.apply(this,arguments)},de=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},fe=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},he=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},me=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={mapDataShowKind:null,currentMapData:null,hoveredItem:null,nameToDataPoint:new Map,valueMax:-1/0,valueMin:1/0,itemValueToColor:(0,U.Z)()},t}var n,o,a,l,s,c,p,d,f,h;return pe(t,e),t.getDerivedStateFromProps=function(e,n){var r,o,i,a=null!==(r=null==n?void 0:n.mapDataShowKind)&&void 0!==r?r:null===(i=null===(o=e.mapData)||void 0===o?void 0:o[0])||void 0===i?void 0:i.kind,l=he(t.getSetupData(e,a),5),s=l[0],c=l[1],p=l[2],u=l[3],d=l[4];return ue(ue({},n),{mapDataShowKind:a,currentMapData:s,nameToDataPoint:c,valueMax:p,valueMin:u,itemValueToColor:d})},t.getSetupData=function(e,t){var n,r=e.mapData.filter((function(e){return e.kind===t}));if(0===r.length)return[null,new Map,-1/0,1/0,(0,U.Z)()];var o=r[0],i=o.dataPoint,a=new Map,l=-1/0,s=null!==(n=e.valueMin)&&void 0!==n?n:1/0,c=(0,U.Z)();return i.forEach((function(e){a.set(e.label,e),l=Math.max(l,e.value),s=Math.min(s,e.value)})),c.domain([s,l]).range([e.minColor,e.maxColor]),[o,a,l,s,c]},t.prototype.getFeatureStyle=function(e){var t,n,r,o,i,a=null!==(n=null===(t=e.properties)||void 0===t?void 0:t.name)&&void 0!==n?n:"",l=null===(r=this.state.nameToDataPoint)||void 0===r?void 0:r.get(a);return null==l?{className:"interactive-base ".concat((0,te.lV)(a)),weight:1,opacity:.5,fillOpacity:.1,fill:!0,stroke:!0,color:"white"}:(null===(i=null===(o=this.state)||void 0===o?void 0:o.hoveredItem)||void 0===i?void 0:i.label)===a?{weight:1,opacity:.9,fillOpacity:.9,className:"interactive-hovered ".concat((0,te.lV)(a)),fillColor:this.props.hoverColor,fill:!0,stroke:!0,color:"white"}:{weight:1,opacity:.9,fillOpacity:.9,className:"interactive-selected ".concat((0,te.lV)(a)),fillColor:this.state.itemValueToColor(l.value),fill:!0,stroke:!0,color:"white"}},t.prototype.handleFeatureOver=function(e){var t,n,r=null===(t=this.state.nameToDataPoint)||void 0===t?void 0:t.get(e.name);null!=r&&(null===(n=this.state.hoveredItem)||void 0===n?void 0:n.label)!==r.label&&this.setState({hoveredItem:r})},t.prototype.handleFeatureOut=function(){this.setState({hoveredItem:null})},t.prototype.handleChangeMapDataType=function(e){if(this.state.mapDataShowKind!==e){var n=he(t.getSetupData(this.props,e),5),r=n[0],o=n[1],i=n[2],a=n[3],l=n[4];this.setState({mapDataShowKind:e,currentMapData:r,nameToDataPoint:o,valueMax:i,valueMin:a,itemValueToColor:l,hoveredItem:null})}},t.prototype.renderSingleControl=function(e){var t=this;return i().createElement(xe.Control,{isSelected:e.kind===this.state.mapDataShowKind,key:e.kind,size:"lg",className:"ml-2",onClick:function(){return t.handleChangeMapDataType(e.kind)}},e.label)},t.prototype.renderMapDataToggleButtons=function(){return this.props.mapData.length<2?null:i().createElement(xe.ControlsContainer,{className:"d-flex"},this.props.mapData.map(this.renderSingleControl))},t.prototype.renderBottomPopup=function(){return this.props.withLegend?i().createElement(re,null,i().createElement(ce,{hoveredItem:this.state.hoveredItem,valueMax:this.state.valueMax,valueMin:this.state.valueMin,numberToStringFormatter:this.props.numberToStringFormatter,minColor:this.props.minColor,maxColor:this.props.maxColor})):null},t.prototype.renderHoveredItem=function(){var e,t,n,r,o,a,l,s=[],c=null!==(r=null===(n=this.state.currentMapData)||void 0===n?void 0:n.geometries)&&void 0!==r?r:[];try{for(var p=me(null!==(o=null==c?void 0:c.features)&&void 0!==o?o:[]),u=p.next();!u.done;u=p.next()){var d=u.value;d.properties.name===(null===(a=this.state.hoveredItem)||void 0===a?void 0:a.label)&&s.push(d)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}if(0===s.length)return null;var f={features:s};return i().createElement(Q,{key:null===(l=this.state.hoveredItem)||void 0===l?void 0:l.label,style:this.getFeatureStyle,data:f,onEachFeature:this.onHoverEachFeature})},t.prototype.onHoverEachFeature=function(e,t){var n=this;t.on("mouseout",(function(){return n.handleFeatureOut()}))},t.prototype.onEachFeature=function(e,t){var n=this;t.on("mouseover",(function(){return n.handleFeatureOver(e.properties)}))},t.prototype.render=function(){var e;if(null==!this.state.mapDataShowKind)return null;var t=null===(e=this.state.currentMapData)||void 0===e?void 0:e.geometries,n="ita-".concat(this.state.mapDataShowKind);return null==t?null:i().createElement(i().Fragment,null,this.renderHoveredItem(),i().createElement(Q,{key:n,style:this.getFeatureStyle,data:t,onEachFeature:this.onEachFeature}),this.renderBottomPopup(),this.renderMapDataToggleButtons(),i().createElement(xe.TileLayer,{url:"https://api.mapbox.com/styles/v1/mapbox/light-v10/tiles/{z}/{x}/{y}?access_token=pk.eyJ1Ijoic2RhdG9rYSIsImEiOiI5MjlmNDMxYzJiYWQ5YjhjMjU4ZGE2YmVkZjQ1YzhiOCJ9.FYB402MPxkR2bIME35d0zg",attribution:'<a href="https://www.mapbox.com/feedback/">&copy; Mapbox</a> | <a href="https://www.mapbox.com/feedback/" target="_blank"><strong>Improve this map</strong></a>',minZoom:4}))},t.displayName="MapChoropleth",t.defaultProps={minColor:ee.KH,maxColor:ee.p5,hoverColor:ee.$y,withLegend:!0},de([F.ZP,fe("design:type",Function),fe("design:paramtypes",["function"==typeof(n="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?n:Object]),fe("design:returntype","function"==typeof(o=void 0!==u.PathOptions&&u.PathOptions)?o:Object)],t.prototype,"getFeatureStyle",null),de([F.ZP,fe("design:type",Function),fe("design:paramtypes",["function"==typeof(a=void 0!==r.MapBaseChoroplethFeatureProperties&&r.MapBaseChoroplethFeatureProperties)?a:Object]),fe("design:returntype",void 0)],t.prototype,"handleFeatureOver",null),de([F.ZP,fe("design:type",Function),fe("design:paramtypes",[]),fe("design:returntype",void 0)],t.prototype,"handleFeatureOut",null),de([F.ZP,fe("design:type",Function),fe("design:paramtypes",["function"==typeof(l=void 0!==r.MapDataKind&&r.MapDataKind)?l:Object]),fe("design:returntype",void 0)],t.prototype,"handleChangeMapDataType",null),de([F.ZP,fe("design:type",Function),fe("design:paramtypes",["function"==typeof(s=void 0!==r.MapData&&r.MapData)?s:Object]),fe("design:returntype","function"==typeof(c=void 0!==i()&&i().ReactNode)?c:Object)],t.prototype,"renderSingleControl",null),de([F.ZP,fe("design:type",Function),fe("design:paramtypes",["function"==typeof(p="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?p:Object,"function"==typeof(d=void 0!==u.Layer&&u.Layer)?d:Object]),fe("design:returntype",void 0)],t.prototype,"onHoverEachFeature",null),de([F.ZP,fe("design:type",Function),fe("design:paramtypes",["function"==typeof(f="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?f:Object,"function"==typeof(h=void 0!==u.Layer&&u.Layer)?h:Object]),fe("design:returntype",void 0)],t.prototype,"onEachFeature",null),t}(i().Component),ve=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ge.apply(this,arguments)},be=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ee=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},we=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},Ce=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},Oe=i().memo((function(e){var t=D()("map-controls-container",e.className);return i().createElement("div",{className:t},e.children)}));Oe.displayName="ControlsContainer";var xe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.map=null,t.italyBounds=[[47.53203824675999,6.3394115537],[36.12012758978146,18.8501168459]],t}var n;return ve(t,e),t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(n){(null==n?void 0:n.type)!==t.Choropleth&&(null==n?void 0:n.type)!==B.Spinner&&(null==n?void 0:n.type)!==z.EmptyState&&e.push(n)})),e},t.prototype.renderChoropleth=function(){return this.props.isLoading||this.props.isEmpty?null:(0,A.z8)(this.props.children,t.Choropleth)},t.prototype.renderIsLoading=function(){return this.props.isLoading?i().createElement("div",{className:"w-100 h-100 d-flex justify-content-center align-items-center"},(0,A.z8)(this.props.children,B.Spinner)):null},t.prototype.renderIsEmpty=function(){return this.props.isEmpty?i().createElement("div",{className:"w-100 h-100 d-flex justify-content-center align-items-center"},(0,A.z8)(this.props.children,z.EmptyState)):null},t.prototype.handleMapCreated=function(e){var t,n;this.map=e,null===(n=(t=this.props).onInit)||void 0===n||n.call(t,{getCanvas:function(){return we(this,void 0,Promise,(function(){return Ce(this,(function(t){return[2,new Promise((function(t,n){L()(e,(function(e,r){e?n(e):t(r)}))}))]}))}))}})},t.prototype.render=function(){var e,t=null!==(e=this.props.bounds)&&void 0!==e?e:this.italyBounds,n=this.props.isLoading||this.props.isEmpty||!1===this.props.zoomControl,r=D()("atoka-map-container",{disabled:n});return i().createElement(N,ge({},this.props,{bounds:t,className:r,key:r,renderer:d().canvas(),whenCreated:this.handleMapCreated,id:this.props.id}),this.renderChoropleth(),this.renderIsLoading(),this.renderIsEmpty(),this.renderOtherChildren())},t.displayName="Map",t.defaultProps={isLoading:!1,isEmpty:!1,id:""},t.Choropleth=ye,t.TileLayer=M,t.ControlsContainer=Oe,t.Control=W,be([F.MR,Ee("design:type",Function),Ee("design:paramtypes",["function"==typeof(n=void 0!==d()&&d().Map)?n:Object]),Ee("design:returntype",void 0)],t.prototype,"handleMapCreated",null),t}(i().Component)},7527:(e,t,n)=>{"use strict";n.d(t,{Modal:()=>m,ModalProps:()=>r.ModalProps});var r={};n.r(r),n.d(r,{u:()=>m});var o,i=n(8156),a=n.n(i),l=n(7738),s=n.n(l),c=n(8310),p=n.n(c),u=n(4915),d=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.renderFooter=function(){var e=(0,u.z8)(this.props.children,s().Footer),t="modal-footer";if(null==e)return null;var n=a().Children.toArray(e.props.children).filter((function(e){return null!=e}));return null!=n&&2!==n.length?a().createElement(s().Footer,{key:t},n):a().createElement(s().Footer,{key:t,className:"centered-buttons"},n[0]," ",n[1]," ",a().createElement("span",{className:"hidden"},n[0]))},t.prototype.renderContent=function(){var e=this,t=[],n={ModalHeader:!1,ModalBody:!1,ModalFooter:!1};return a().Children.forEach(this.props.children,(function(r){n[r.type.displayName]=!0,(null==r?void 0:r.type)===s().Footer?t.push(e.renderFooter()):t.push(r)})),Object.values(n).indexOf(!1)>=0?(console.warn("You have to include an header, a body and a footer!"),a().createElement("h1",null,"Error!")):0===t.length?null:t},t.prototype.render=function(){var e=this.props,t=e.size,n=h(e,["size"]),r=p()("atoka-modal",this.props.className,{"modal-md":"md"===t});return a().createElement(s(),f({},n,{className:r,container:document.querySelector(".bs4-v3-external-container"),size:"md"===t?void 0:t,scrollable:this.props.scrollable}),this.renderContent())},t.displayName="Modal",t.Header=s().Header,t.Body=s().Body,t.Footer=s().Footer,t}(a().PureComponent)},3003:(e,t,n)=>{"use strict";n.d(t,{Navbar:()=>ye});var r=n(8156),o=n.n(r),i=n(7917),a=n.n(i),l=n(4394),s=n.n(l),c=n(573),p=n.n(c),u=n(8310),d=n.n(u),f=n(577),h=n(5692),m=n(9368),y=function(){return o().createElement(a().Toggle,{className:"navbar-mobile-menu","aria-controls":"mobile-menu-collapse"},o().createElement(h.FontAwesomeIcon,{icon:m.faBars}))};y.displayName="NavbarMobileMenuToggle";var v=function(e){return o().createElement(a().Collapse,{className:"navbar-mobile-menu-collapse overflow-auto",id:"mobile-menu-collapse"},o().createElement(p(),null,e.children))};v.displayName="NavbarMobileMenuCollapse";var g=n(3915),b=n.n(g),E=n(3932),w=n(192),C=n(4915),O=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},x=function(e){var t=o().Children.toArray(e.children).filter((function(e){return null!=e})),n=Math.ceil(t.length/2),r=O([t.slice(0,n),t.slice(n,t.length)],2),i=r[0],a=r[1];return o().createElement("div",{className:"navbar-navigation-menu"},o().createElement(w.Dropdown,null,o().createElement(w.Dropdown.Toggle,{as:w.AtokaCustomDropdownToggleWithChevron},o().createElement("div",null,o().createElement("small",null,e.label),o().createElement(E.Title,{icon:e.selectedIcon,size:"md"},e.selectedTitle))),o().createElement(w.Dropdown.Menu,{size:"lg"},o().createElement(b(),{className:"px-lg-3"},(0,C.$R)(i,a)))))};x.displayName="NavbarNavigationMenu";var P=n(2569),N=n(1469),S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},S.apply(this,arguments)};var j=function(e){if(null==e.notifications)return null;var t=e.notifications.filter((function(e){return e.isUnread})).length;return o().createElement(w.Dropdown,{className:"notification-dropdown",drop:"left"},o().createElement(w.Dropdown.Toggle,{as:w.AtokaCustomDropdownToggle},o().createElement(h.FontAwesomeIcon,{icon:P.faBell}),t?o().createElement("div",{className:"unread-number text-center"},t):""),o().createElement(w.Dropdown.Menu,{size:"lg",className:"notification-menu"},function(e){return 0===e.notifications.length?o().createElement(N.EmptyState,null,e.emptyMessage):e.notifications.map((function(e){return o().createElement(ye.NotificationMenuItem,S({key:"".concat(e.text,"-").concat(e.time)},e))}))}(e)))};j.displayName="NavbarNotificationMenu";var _=n(4976),k=n.n(_),T=n(5315),M=n.n(T),R=function(){return R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},R.apply(this,arguments)},D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},F=function(e){var t=e.title,n=e.icon,r=e.suffix,i=D(e,["title","icon","suffix"]);return o().createElement(M(),{xs:24,lg:12,className:"p-0"},o().createElement(k().Item,R({},i,{key:t,eventKey:t,className:"navbar-navigation-menu-item"}),o().createElement(E.Title,{icon:n,size:"sm"},t," ",r),o().createElement("p",null,i.children)))};F.displayName="NavbarNavigationMenuItem";var I=function(e){var t=d()({"navbar-notification-menu-item":!0,unread:e.isUnread});return o().createElement(k().Item,{eventKey:"".concat(e.text,"-").concat(e.time),className:t},o().createElement("div",{className:"notification-wrapper"},o().createElement("div",{className:"notification-heading d-flex"},o().createElement("span",null,e.time),e.isUnread?"●":null),o().createElement("p",null,e.text)))};I.displayName="NavbarNotificationMenuItem";var L=n(9319),A=n(2394),B=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},z=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};var V=function(e){var t=e.fullName,n=e.email,r=e.showDivider;if((0,A.Wq)(t)&&(0,A.Wq)(null!=n?n:null))return null;var i=null,a=d()("mt-1 user-email",{"user-email-small-font":!(0,A.Wq)(t)});(0,A.Wq)(null!=n?n:null)||(i=o().createElement("div",{className:a},o().createElement(L.EllipsableContent,null,n)));var l=r?o().createElement(w.Dropdown.Divider,{key:"2"}):null;return o().createElement(o().Fragment,null,o().createElement(w.Dropdown.Header,{className:"user-menu-item"},o().createElement("span",{className:"user-full-name"},t),i),l)};V.displayName="FullNameAndEmailItem";var Z=function(e){return o().createElement("div",{className:"navbar-user-menu"},o().createElement(w.Dropdown,{drop:"left"},o().createElement(w.Dropdown.Toggle,{as:w.AtokaCustomDropdownToggleWithChevron},o().createElement("div",{className:"user-badge"},function(e){if((0,A.Wq)(e))return"";var t=e.split(" ").map((function(e){return z([],B(e),!1)}));return t.length>1?"".concat(t[0][0]).concat(t[1][0]).toUpperCase():"".concat(t[0][0]).concat(t[0][1]).toUpperCase()}(e.user.fullName))),o().createElement(w.Dropdown.Menu,{size:"lg",className:"user-menu"},o().createElement(V,{fullName:e.user.fullName,email:e.user.email,showDivider:null!=e.children}),e.children)))};Z.displayName="NavbarUserMenu";var q=function(){return q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},q.apply(this,arguments)},G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},H=function(e){var t=e.children,n=e.className,r=G(e,["children","className"]),i=d()("navbar-user-menu-item",n);return o().createElement(k().Item,q({},r,{className:i}),t)};H.displayName="NavbarUserMenuItem";var K,W=n(6627),U=n(8427),$=n(6988),X=n(2913),J=n(2380),Y=(K=function(e,t){return K=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])},K(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}K(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Q=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ee=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrapperRef=o().createRef(),t.inputRef=o().createRef(),t.modalSelector=".atoka-modal.show",t}return Y(t,e),t.prototype.handleClickOutside=function(e){var t;document.querySelectorAll(this.modalSelector).length>0||null==(null===(t=this.wrapperRef)||void 0===t?void 0:t.current)||this.wrapperRef.current.contains(e.target)||this.props.onClose()},t.prototype.handleKeyPress=function(e){document.querySelectorAll(this.modalSelector).length>0||"Escape"!==e.key&&"Esc"!==e.key||this.props.onClose()},t.prototype.componentDidMount=function(){document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("mousedown",this.handleClickOutside)},t.prototype.componentWillUnmount=function(){document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("mousedown",this.handleClickOutside)},t.prototype.onOpen=function(){var e=this;this.props.onOpen(),setTimeout((function(){return e.setFocus()}))},t.prototype.setFocus=function(){var e,t,n,r;null===(t=null===(e=this.inputRef)||void 0===e?void 0:e.current)||void 0===t||t.focus(),null===(r=null===(n=this.inputRef)||void 0===n?void 0:n.current)||void 0===r||r.select()},t.prototype.renderSearchResult=function(){return o().createElement("div",{className:"navbar-overlay-search-dropdown-container"},this.props.children)},t.prototype.renderInputGroupPrepend=function(){return o().createElement(X.InputGroup.Prepend,null,o().createElement(X.InputGroup.Text,null,o().createElement(h.FontAwesomeIcon,{icon:U.faSearch,fixedWidth:!0})))},t.prototype.renderOpenContent=function(){var e=this;return o().createElement("div",{className:"position-relative"},o().createElement(X.InputGroup,{size:"md"},this.renderInputGroupPrepend(),o().createElement(J.N,{placeholder:this.props.placeholder,value:this.props.inputValue,onChange:function(t){return e.props.onChange(t.target.value)},ref:this.inputRef}),o().createElement(X.InputGroup.Append,null,o().createElement(X.InputGroup.Text,{onClick:this.props.onReset},o().createElement(h.FontAwesomeIcon,{icon:$.faTimes,fixedWidth:!0})))),this.renderSearchResult())},t.prototype.renderPlaceholderOrValue=function(){return(0,A.Wq)(this.props.inputValue)?o().createElement("span",{className:"placeholder"},this.props.placeholder):o().createElement("span",{className:"position-absolute closed-input-value-container"},o().createElement("span",{className:"closed-input-value"},this.props.inputValue))},t.prototype.renderClosedContent=function(){return o().createElement("div",{onClick:this.onOpen},o().createElement(X.InputGroup,{size:"md"},this.renderInputGroupPrepend(),this.renderPlaceholderOrValue()))},t.prototype.render=function(){if(this.props.isOpen)return o().createElement("div",{className:"navbar-overlay-search-wrapper"},o().createElement("div",{ref:this.wrapperRef,className:"navbar-overlay-search navbar-overlay-search-open w-100"},this.renderOpenContent()));var e=d()("navbar-overlay-search-wrapper",{disabled:this.props.isDisabled});return o().createElement("div",{className:e},o().createElement("div",{ref:this.wrapperRef,className:"navbar-overlay-search navbar-overlay-search-closed w-100"},this.renderClosedContent()))},t.displayName="NavbarOverlaySearch",Q([W.ZP,ee("design:type",Function),ee("design:paramtypes",[Object]),ee("design:returntype",void 0)],t.prototype,"handleClickOutside",null),Q([W.ZP,ee("design:type",Function),ee("design:paramtypes",[Object]),ee("design:returntype",void 0)],t.prototype,"handleKeyPress",null),Q([W.ZP,ee("design:type",Function),ee("design:paramtypes",[]),ee("design:returntype",void 0)],t.prototype,"onOpen",null),t}(o().Component),ne=function(e){return e.isLoading?o().createElement("div",{className:"text-center py-5"},(0,C.z8)(e.children,ie)):0===e.count?o().createElement("div",{className:"overlay-search-results"},(0,C.z8)(e.children,re),o().createElement("div",{className:"py-5"},e.renderNoResults)):o().createElement(o().Fragment,null,o().createElement("div",{className:"overlay-search-results"},(0,C.z8)(e.children,re),o().createElement("div",{className:"px-3 px-lg-5 pt-1 pb-5"},(0,C.z8)(e.children,oe))),(t=e.count,n=(0,C.z8)(e.children,ae),t<=10||null==n?null:o().createElement("footer",{className:"p-2 show-more-wrapper"},n)));var t,n};ne.displayName="NavbarOverlaySearchResultsWrapper";var re=function(e){return e.children};re.displayName="NavbarOverlaySearchTabs";var oe=function(e){return e.children};oe.displayName="NavbarOverlaySearchResults";var ie=function(e){return e.children};ie.displayName="NavbarOverlaySearchLoading";var ae=function(e){return e.children};ae.displayName="NavbarOverlaySearchShowMore";var le=n(6550),se=function(e){return o().createElement("div",{className:"navbar-ninja-menu"},o().createElement(w.Dropdown,{drop:"left"},o().createElement(w.Dropdown.Toggle,{as:w.AtokaCustomDropdownToggleWithChevron},o().createElement("div",{className:"position-relative"},o().createElement(h.FontAwesomeIcon,{icon:le.faUserNinja}),e.isInUse&&o().createElement("span",{className:"ninja-in-use"}))),o().createElement(w.Dropdown.Menu,{size:"lg",className:"ninja-menu"},e.children)))};se.displayName="NavbarNinjaMenu";var ce=function(){return ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ce.apply(this,arguments)},pe=function(e){return o().createElement(k().Item,ce({},e,{className:"navbar-ninja-menu-item"}),e.children)};pe.displayName="NavbarNinjaMenuItem";var ue=n(5538),de=n(9034),fe=n.n(de),he=o().memo((function(e){return o().createElement(fe().Item,{bsPrefix:"atoka-list-group-item",className:"cursor-pointer navbar-overlay-search-item p-0"},o().createElement("div",{className:"parts-container align-content-center px-0 d-flex justify-content-between",onClick:null==e.onDelete?e.onSelect:void 0},o().createElement("div",{className:"py-2 pl-3 selectable-left-part flex-grow-1 d-flex",onClick:null==e.onDelete?void 0:e.onSelect},e.leftPart),o().createElement("div",{className:"py-2 pr-3 text-right color-gray-400 d-flex align-items-center"},e.rightPart,null==e.onDelete?null:o().createElement(h.FontAwesomeIcon,{onClick:e.onDelete,className:"ml-2 color-gray-400 delete-column",icon:ue.faTrash,fixedWidth:!0}))))}));he.displayName="NavbarOverlaySearchCard";var me=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return me(t,e),t.prototype.render=function(){var e=d()({"atoka-navbar":!0,"atoka-navbar-open":this.props.isOpen});return o().createElement(o().Fragment,null,o().createElement(a(),{collapseOnSelect:!0,className:e,expand:"lg",fixed:"top"},o().createElement(s(),{className:"d-flex align-items-center"},this.props.children)),this.props.isOpen?o().createElement(f.FadeAnimation,null,o().createElement("div",{className:"atoka-navbar-body-shadow"})):null)},t.displayName="Navbar",t.Brand=a().Brand,t.MobileMenuLink=p().Link,t.MobileMenuToggle=y,t.MobileMenuCollapse=v,t.NavigationMenu=x,t.NavigationMenuItem=F,t.OverlaySearch=te,t.OverlaySearchResultsWrapper=ne,t.OverlaySearchResults=oe,t.OverlaySearchCard=he,t.OverlaySearchTabs=re,t.OverlaySearchLoading=ie,t.OverlaySearchShowMore=ae,t.NinjaMenu=se,t.NinjaMenuItem=pe,t.NotificationMenu=j,t.NotificationMenuItem=I,t.UserMenu=Z,t.UserMenuItem=H,t}(o().PureComponent)},8385:(e,t,n)=>{"use strict";n.d(t,{$:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(5692),s=n(3987),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=function(e){var t=e.show,n=void 0===t||t,r=c(e,["show"]),i=a()({"pagination-button next":!0,invisible:!n});return o().createElement("span",{className:i,onClick:r.handleNextPage},o().createElement(l.FontAwesomeIcon,{icon:s.faChevronRight}))};p.displayName="PaginationNext"},9255:(e,t,n)=>{"use strict";n.d(t,{K:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(5692),s=n(2705),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=function(e){var t=e.show,n=void 0===t||t,r=c(e,["show"]),i=a()({"pagination-button prev":!0,invisible:!n});return o().createElement("span",{className:i,onClick:r.handlePrevPage},o().createElement(l.FontAwesomeIcon,{icon:s.faChevronLeft}))};p.displayName="PaginationPrev"},7523:(e,t,n)=>{"use strict";n.d(t,{Pagination:()=>v});var r,o=n(6627),i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=n(9924),p=n.n(c),u=n(4915),d=n(8385),f=n(9255),h=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.handleRandomPage=function(e){this.props.onSetPage(e),this.props.scrollToTopOnSetPage&&(0,u.k3)()},t.prototype.handlePreviousPage=function(){1!==this.props.currentPage&&(this.props.onSetPage(this.props.currentPage-1),this.props.scrollToTopOnSetPage&&(0,u.k3)())},t.prototype.handleNextPage=function(){this.props.currentPage!==this.getPaginationItemsNumber()&&(this.props.onSetPage(this.props.currentPage+1),this.props.scrollToTopOnSetPage&&(0,u.k3)())},t.prototype.getPaginationItemsNumber=function(){return Math.ceil(this.props.total/this.props.limit)},t.prototype.getMinAndMaxPageNumber=function(e){var t=this.getPaginationItemsNumber();if(t<=5)return{minPageNumber:1,maxPageNumber:t};var n=Math.max(e-2,1),r=Math.min(e+2,t);return 1===n?r=n+4:r===t&&(n=r-4),{minPageNumber:n,maxPageNumber:r}},t.prototype.renderItems=function(){for(var e=this,t=[],n=this.getMinAndMaxPageNumber(this.props.currentPage),r=n.minPageNumber,o=n.maxPageNumber,i=function(n){t.push(s().createElement(p().Item,{key:n,active:n===a.props.currentPage,onClick:function(){return e.handleRandomPage(n)}},s().createElement("span",{className:"page-number"},n)))},a=this,l=r;l<=o;l++)i(l);return t},t.prototype.render=function(){if(0===this.props.total||this.props.total<=this.props.limit)return null;var e=a()("atoka-pagination","justify-content-center align-items-center",this.props.className);return s().createElement(p(),{className:e},s().createElement(f.K,{show:1!==this.props.currentPage,handlePrevPage:this.handlePreviousPage}),this.renderItems(),s().createElement(d.$,{show:this.props.currentPage!==this.getPaginationItemsNumber(),handleNextPage:this.handleNextPage}))},t.defaultProps={scrollToTopOnSetPage:!0},t.displayName="Pagination",m([o.ZP,y("design:type",Function),y("design:paramtypes",[Number]),y("design:returntype",void 0)],t.prototype,"handleRandomPage",null),m([o.ZP,y("design:type",Function),y("design:paramtypes",[]),y("design:returntype",void 0)],t.prototype,"handlePreviousPage",null),m([o.ZP,y("design:type",Function),y("design:paramtypes",[]),y("design:returntype",void 0)],t.prototype,"handleNextPage",null),t}(s().PureComponent)},3614:(e,t,n)=>{"use strict";n.d(t,{PieChart:()=>w,PieChartProps:()=>r.PieChartProps});var r={};n.r(r),n.d(r,{u:()=>w});var o,i=n(6627),a=n(8156),l=n.n(a),s=n(7812),c=n(8310),p=n.n(c),u=n(5909),d=n(1358),f=n(4915),h=n(9274),m=n(7540),y=n(2394),v=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)},b=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},E=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderTooltip=null,t.state={data:[]},t}var n,r,o,a,c;return v(t,e),t.prototype.componentDidUpdate=function(e){(0,f.vZ)(e,this.props)||this.setupComponent()},t.prototype.componentDidMount=function(){this.setupComponent()},t.prototype.setupComponent=function(){var e,t,n,r,o,i,a,l,s,c,p,d,m=this,y=this.props,v=y.data,b=void 0===v?[]:v,E=y.colors,w=y.maxSlicesNumber,C=Array.isArray(E)?E:Object.values(null!==(e=this.props.colors)&&void 0!==e?e:{});if(null==w&&C.length!==b.length)throw Error("The colors.length must be of the same length as the data you give to the component");if(w&&w+1>C.length)throw Error("With a maxSliceNumber prop, maxSlicesNumber + 1 must be lower than or equal to colors.length");var O=null==this.props.maxSlicesNumber?null===(t=this.props.data)||void 0===t?void 0:t.sort((0,f.kV)("value")):(0,u.xG)(null!==(r=null===(n=this.props)||void 0===n?void 0:n.data)&&void 0!==r?r:[],null===(o=this.props)||void 0===o?void 0:o.otherId,null===(i=this.props)||void 0===i?void 0:i.otherLabel,null===(a=this.props)||void 0===a?void 0:a.maxSlicesNumber,null===(l=this.props)||void 0===l?void 0:l.total);this.renderTooltip=null!==(s=this.props.renderTooltip)&&void 0!==s?s:(0,h.getRenderStatisticsTooltip)({tooltipDataLabelKey:"value",tooltipDataValueKey:"percentage",tooltipDataTitleKey:"id",otherId:this.props.otherId,numberToStringFormatter:null!==(p=null===(c=this.props)||void 0===c?void 0:c.tooltipValueFormat)&&void 0!==p?p:null===(d=this.props)||void 0===d?void 0:d.numberToStringFormatter,otherLabel:this.props.otherLabel,withColor:!0}),this.setState({data:O.map((function(e,t){var n,r,o=Array.isArray(m.props.colors)?t:e.id;return g(g({},e),{color:null===(r=null===(n=m.props)||void 0===n?void 0:n.colors)||void 0===r?void 0:r[null!=o?o:t]})}))})},t.prototype.getSortedColorsLikeData=function(){var e,t=this;if(null!=this.props.colors)return Array.isArray(this.props.colors)?null!==(e=this.props.colors)&&void 0!==e?e:[]:this.state.data.map((function(e){var n,r;return null===(r=null===(n=t.props)||void 0===n?void 0:n.colors)||void 0===r?void 0:r[e.id]}))},t.prototype.renderLegend=function(){var e,t,n,r,o,i;return null===(t=null===(e=this.props)||void 0===e?void 0:e.renderLegend)||void 0===t?void 0:t.call(e,{data:this.state.data,otherId:null!==(r=null===(n=this.props)||void 0===n?void 0:n.otherId)&&void 0!==r?r:"",colors:null!==(o=this.getSortedColorsLikeData())&&void 0!==o?o:[],numberToStringFormatter:null===(i=this.props)||void 0===i?void 0:i.numberToStringFormatter})},t.prototype.renderCenteredMetric=function(e){var t,n,r,o=e.dataWithArc,i=e.centerX,a=e.centerY,s=o.reduce((function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var i=null!==(n=null===(t=r[0].data)||void 0===t?void 0:t.value)&&void 0!==n?n:0;return e+i}),0);return l().createElement("text",{x:i,y:a,textAnchor:"middle",fontSize:"42px",fontWeight:"600",dominantBaseline:"central",className:"cursor-default"},null!==(r=null===(n=null===(t=this.props)||void 0===t?void 0:t.numberToStringFormatter)||void 0===n?void 0:n.call(t,s))&&void 0!==r?r:s)},t.prototype.getRenderTooltip=function(e){var t,n,r,o,i=g(g({},{path:[],percentage:0,depth:0,height:0}),e.datum),a=null!==(t=this.renderTooltip)&&void 0!==t?t:null,l=(null===(n=i.data)||void 0===n?void 0:n.value)||(null===(r=i.data)||void 0===r?void 0:r.initialValue)||0;return null!==(o=null==a?void 0:a(g(g({},i),{data:g(g({},i.data),{value:l})})))&&void 0!==o?o:null},t.prototype.renderSVGLegend=function(){var e,t,n,r=this,o=this.state.data.map((function(e){var t;return g(g({},e),{value:null!==(t=e.value)&&void 0!==t?t:0,percentage:void 0})})),i=parseInt(null!==(e=this.props.size)&&void 0!==e?e:"0",10),a=i;a>0&&(a-=45+5*(o.length/2-1),o.length<3&&(a+=16));for(var s=0,c=[],p=null!==(t=this.getSortedColorsLikeData())&&void 0!==t?t:[],u=function(){var e=o.slice(s,s+2),t=null!==(n=null==p?void 0:p.slice(s,s+2))&&void 0!==n?n:null;e.forEach((function(e,n){var o=19-(null==r.props.numberToStringFormatter?null==e?void 0:e.value:r.props.numberToStringFormatter(null==e?void 0:e.value)).toString().length;c.push(l().createElement(d.StatisticsSVGLegend,{key:"".concat(s,"-").concat(n),data:[e],x:n*i/2+20*n,y:a+10*s,width:i/2*2+40,valueFormat:r.props.numberToStringFormatter,labelFormat:function(e){return(0,y.Hp)(e,o)},colors:[t[n]]}))})),s+=2};s<o.length;)u();return l().createElement("g",null,c)},t.prototype.render=function(){var e=this.props,t=e.size,n=e.withNumber,r="vertical"===this.props.layout,o=p()("d-flex piechart-container",this.props.className,{"flex-column align-items-center h-100":r,"justify-content-between":null!=this.props.renderLegend&&r,"justify-content-center":null==this.props.renderLegend&&r}),i=["arcs","arcLabels"],a={top:10,right:10,bottom:10,left:10},c=parseInt(null!=t?t:"0",10),u=null,d=t;return n&&i.push(this.renderCenteredMetric),this.props.withSVGLegend?(i.push(this.renderSVGLegend),a.bottom=60,d="300px"):u=this.renderLegend(),l().createElement("div",{ref:this.props.chartRef,className:o,id:this.props.id},l().createElement("div",{style:{height:c,width:d}},l().createElement(s.ResponsivePie,{tooltip:this.getRenderTooltip,data:this.state.data,margin:a,cornerRadius:0,innerRadius:.8,borderColor:"#ffff",colors:{datum:"data.color"},enableArcLabels:!1,enableArcLinkLabels:!1,activeOuterRadiusOffset:0,isInteractive:!0,layers:i,id:"".concat(this.props.id,"-component"),animate:!1})),u)},t.displayName="PieChart",t.defaultProps={colors:[m.KH,m.kA,m.qi,m.p5],otherId:"other",size:"100%",layout:"vertical"},b([i.MR,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype","function"==typeof(n=void 0!==l()&&l().ReactNode)?n:Object)],t.prototype,"renderLegend",null),b([i.MR,E("design:type",Function),E("design:paramtypes",["function"==typeof(r=void 0!==s.PieCustomLayerProps&&s.PieCustomLayerProps)?r:Object]),E("design:returntype","function"==typeof(o="undefined"!=typeof JSX&&JSX.Element)?o:Object)],t.prototype,"renderCenteredMetric",null),b([i.MR,E("design:type",Function),E("design:paramtypes",["function"==typeof(a=void 0!==s.PieTooltipProps&&s.PieTooltipProps)?a:Object]),E("design:returntype",Object)],t.prototype,"getRenderTooltip",null),b([i.MR,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype","function"==typeof(c="undefined"!=typeof JSX&&JSX.Element)?c:Object)],t.prototype,"renderSVGLegend",null),t}(l().Component)},2765:(e,t,n)=>{"use strict";n.d(t,{PublicFooter:()=>m});var r,o=n(6951),i=n(1980),a=n(7950),l=n(8156),s=n.n(l),c=n(5315),p=n.n(c),u=n(3915),d=n.n(u),f=n(7325),h=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){return s().createElement("footer",{className:"public-footer py-5"},s().createElement("div",{className:"container"},s().createElement(d(),null,s().createElement(p(),{md:8,sm:24,className:"d-flex flex-column justify-content-center align-items-center justify-content-md-start align-items-md-start mb-5 "},s().createElement("img",{className:"mb-45",src:"https://atoka.io/ds/media/logo-blue-fg.svg",width:"120"}),s().createElement("div",{className:"mt-4"},s().createElement(f.Button,{variant:"secondary",size:"sm",className:"mr-1",icon:o.faFacebookF,href:"https://www.facebook.com/atoka.io",target:"_blank"}),s().createElement(f.Button,{variant:"secondary",size:"sm",className:"mr-1",icon:i.faLinkedinIn,href:"https://www.linkedin.com/company/atoka-io",target:"_blank"}),s().createElement(f.Button,{variant:"secondary",size:"sm",icon:a.faTwitter,href:"https://twitter.com/atoka_io",target:"_blank"}))),s().createElement(p(),{sm:24,md:16,className:"text-center text-md-left"},this.props.children,s().createElement(d(),{className:"mt-5 footer-spaziodati"},s().createElement(p(),{sm:24,md:16,className:"d-flex flex-column mb-4 mb-md-0"},s().createElement("small",null,s().createElement("strong",null,"© 2021 SpazioDati S.r.l.")," ",s().createElement("br",null),"Via Adriano Olivetti 13, 38122 Trento (Trento) — REA TN 210089",s().createElement("br",null),"Capitale Sociale € 21.600 —C.F & P.I: 02241890223",s().createElement("br",null),"Azienda con Sistema di Gestione della Sicurezza delle Informazioni certificato da Certiquality – UNI CEI EN ISO/IEC 27001:2017 ",s().createElement("br",null),"Società soggetta a direzione e controllo da parte di"," ",s().createElement("a",{href:"http://cerved.com"},"Cerved Group S.p.A."))),s().createElement(p(),{sm:24,md:8,className:"d-flex justify-content-center justify-content-md-end align-items-center"},s().createElement("img",{src:"https://atoka.io/ds/media/logo-spaziodati.png"})))))))},t.displayName="PublicFooter",t}(s().PureComponent)},8973:(e,t,n)=>{"use strict";n.d(t,{PublicNavbar:()=>c});var r,o=n(8156),i=n.n(o),a=n(7917),l=n.n(a),s=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){return i().createElement(l(),{className:"public-navbar py-3",expand:"lg",fixed:"top"},i().createElement(l().Brand,{href:"/",className:"py-0"},i().createElement("img",{src:"https://atoka.io/ds/media/logo-blue-fg.svg",alt:"atoka logo",width:"120",height:"40"})),i().createElement(l().Toggle,{"aria-controls":"basic-navbar-nav"}),i().createElement(l().Collapse,{id:"basic-navbar-nav"},i().createElement(l(),{className:"ml-auto"},this.props.children)))},t.displayName="PublicNavbar",t}(i().PureComponent)},750:(e,t,n)=>{"use strict";n.d(t,{RecordBit:()=>f});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(5692),c=n(4997),p=n(4603),u=n(3932),d=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.renderTooltip=function(){return null==this.props.info?null:l().createElement(p.Tooltip,{placement:"right",content:this.props.info},l().createElement(s.FontAwesomeIcon,{icon:c.faInfoCircle,className:"ml-1"}))},t.prototype.render=function(){var e,t=i()(this.props.className,"atoka-record-bit");return l().createElement("div",{className:t},l().createElement("div",{className:"record-bit-title"},l().createElement(u.Title,{size:"sm",icon:this.props.icon},this.props.title," ",this.renderTooltip())),l().createElement("div",{className:"record-bit-children"},null!==(e=this.props.children)&&void 0!==e?e:"-"))},t.displayName="RecordBit",t}(l().PureComponent)},6785:(e,t,n)=>{"use strict";n.d(t,{ResultItemCard:()=>x});var r=n(8310),o=n.n(r),i=n(8156),a=n.n(i),l=n(2494),s=n.n(l),c=n(5315),p=n.n(c),u=n(3915),d=n.n(u),f=n(4915),h=function(e){return a().createElement(p(),{md:4,className:"result-item-card-actions"},e.children)};h.displayName="ResultItemCardActions";var m=a().memo((function(e){var t=o()("result-item-card-footer",e.className);return a().createElement("div",{className:t},e.children)}));m.displayName="ResultItemCardFooter";var y=a().memo((function(e){var t,n=o()("img-container",e.className,{"bg-light-gray":(0,f.SM)(e.children)}),r=null!==(t=e.children)&&void 0!==t?t:a().createElement("img",{className:"default-logo",src:"https://atoka.io/ds/media/company-placeholder-gray.png"});return a().createElement(p(),{className:"result-item-card-img-wrapper",md:"auto",sm:24},a().createElement("div",{className:n},r))}));y.displayName="ResultItemCardImage";var v=a().memo((function(e){var t=o()("result-item-card-subtitle",e.className);return a().createElement("div",{className:t},e.children)}));v.displayName="ResultItemCardSubtitle";var g=n(9319),b=a().memo((function(e){var t,n=e.isEllipsable,r=e.children,i=e.className,l=o()(((t={"result-item-card-text":!0})[null!=i?i:""]=!0,t)),s=n?a().createElement(g.EllipsableContent,null,r):r;return a().createElement("div",{className:l},s)}));b.displayName="ResultItemCardText";var E=n(38),w=a().memo((function(e){var t=o()("result-item-card-title","row",e.className);return a().createElement("div",{className:t},a().createElement("div",{className:"col"},a().createElement("div",{className:"title-ellipsis-container d-flex"},a().createElement(E.D,{icon:e.icon,size:"sm"},e.children),e.badge)))}));w.displayName="ResultItemCardTitle";var C,O=(C=function(e,t){return C=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])},C(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.renderContent=function(){return a().createElement(d(),null,(0,f.z8)(this.props.children,y),a().createElement(p(),{className:"result-item-card-body my-2 pl-2"},(0,f.z8)(this.props.children,w),(0,f.z8)(this.props.children,v),(0,f.z8)(this.props.children,b),(0,f.z8)(this.props.children,m)),(0,f.z8)(this.props.children,h))},t.prototype.render=function(){var e=o()("result-item-card",this.props.className);return a().createElement(s(),{className:e},this.renderContent())},t.displayName="ResultsItemCard",t.Title=w,t.Subtitle=v,t.Text=b,t.Footer=m,t.Image=y,t.Actions=h,t}(a().PureComponent)},188:(e,t,n)=>{"use strict";n.d(t,{SelectDropdown:()=>y});var r,o=n(6627),i=n(8156),a=n.n(i),l=n(4976),s=n.n(l),c=n(8310),p=n.n(c),u=n(192),d=n(4589),f=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n,r;return f(t,e),t.prototype.renderOptions=function(){return this.props.options.map(this.renderItem)},t.prototype.renderItem=function(e){var t,n,r,o="".concat(e.value);return e.isDivider?a().createElement(u.Dropdown.Divider,{key:o}):a().createElement(u.Dropdown.Item,{key:o,disabled:e.disabled,eventKey:o},null!==(r=null===(n=(t=this.props).renderValue)||void 0===n?void 0:n.call(t,e))&&void 0!==r?r:e.label)},t.prototype.renderSelectedValue=function(){var e,t,n,r=this,o=a().createElement("span",{className:"placeholder"},this.props.placeholder);if(null==this.props.selected)return o;var i=this.props.options.find((function(e){return e.value===r.props.selected}));return null==i?o:null!==(n=null===(t=(e=this.props).renderSelectedValue)||void 0===t?void 0:t.call(e,i))&&void 0!==n?n:i.label},Object.defineProperty(t.prototype,"popperConfig",{get:function(){if(this.props.isFixed)return{strategy:"fixed",modifiers:[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state,n=t.elements.reference;t.elements.popper.style.width="".concat(n.offsetWidth,"px")}}]}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=p()("atoka-select-dropdown",this.props.className,this.props.size,{"is-invalid":this.props.isInvalid}),t=p()("atoka-select-dropdown-menu",this.props.size,this.props.menuClassName);return a().createElement(u.Dropdown,{onSelect:this.props.onSelect,className:e,drop:this.props.direction},a().createElement(u.Dropdown.Toggle,{disabled:this.props.disabled,as:u.AtokaCustomDropdownToggleWithChevron},a().createElement("span",{className:"dropdown-toggle-text-container"},this.renderSelectedValue())),a().createElement(s().Menu,{className:t,flip:!1,popperConfig:this.popperConfig},this.renderOptions()))},t.displayName="SelectDropdown",t.defaultProps={size:"md",placeholder:"--",direction:"down"},h([o.ZP,m("design:type",Function),m("design:paramtypes",["function"==typeof(n=void 0!==d.OptionData&&d.OptionData)?n:Object]),m("design:returntype","function"==typeof(r=void 0!==a()&&a().ReactNode)?r:Object)],t.prototype,"renderItem",null),t}(a().PureComponent)},6216:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>p,SpinnerSize:()=>o});var r,o,i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){e[e.mini=0]="mini",e[e.small=1]="small",e[e.big=2]="big",e[e.modal=3]="modal"}(o||(o={}));var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderOnlyDotsSpinner=function(e){var t="atoka-spinner spinner-"+e+" "+this.props.className;return s().createElement("div",{className:t},s().createElement("div",{className:"spinner-dot1"},s().createElement("div",{className:"spinner-leaf"})),s().createElement("div",{className:"spinner-dot2"},s().createElement("div",{className:"spinner-leaf"})),s().createElement("div",{className:"spinner-dot3"},s().createElement("div",{className:"spinner-leaf"})))},t.prototype.renderSmall=function(){return this.renderOnlyDotsSpinner("small")},t.prototype.renderMini=function(){return this.renderOnlyDotsSpinner("mini")},t.prototype.renderLeaf=function(){return s().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s().createElement("g",{id:"leaf"},s().createElement("path",{d:"M80.88,7.62a26,26,0,0,0-36.79,36.8,25.85,25.85,0,0,0,13.4,7.14V83.39c1.19,0,2.4-.08,3.62-.08,2.16,0,4.28.08,6.38.23v-32A26,26,0,0,0,80.88,7.62ZM73.81,37.35a16,16,0,1,1,0-22.66,15.92,15.92,0,0,1,0,22.66Z"})))},t.prototype.renderLetter=function(){return s().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s().createElement("g",{id:"logo-vector"},s().createElement("path",{d:"M110.77,180.67V140.16a50.47,50.47,0,1,0-22,41.71L93.12,187a10,10,0,0,0,17.65-6.34Zm-81-40.51a30.5,30.5,0,1,1,30.5,30.5,30.49,30.49,0,0,1-30.5-30.5Z"})))},t.prototype.renderBig=function(){var e=a()(this.props.className,{"atoka-spinner":!0,"spinner-big":this.props.size===o.big,"spinner-medium":this.props.size===o.modal}),t=a()({"container-fluid spinner-modal":this.props.size===o.modal});return s().createElement("div",{className:t},s().createElement("div",{className:e},s().createElement("div",{className:"spinner-dot1"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("div",{className:"spinner-dot2"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("div",{className:"spinner-dot3"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("span",{className:"spinner-letter"},this.renderLetter())))},t.prototype.render=function(){switch(this.props.size){case o.mini:return this.renderMini();case o.small:return this.renderSmall();case o.big:case o.modal:return this.renderBig();default:return null}},t.displayName="Spinner",t.defaultProps={size:o.small,className:""},t}(s().Component)},754:(e,t,n)=>{"use strict";n.d(t,{StatisticsItemCard:()=>P});var r,o=n(8156),i=n.n(o),a=n(2494),l=n.n(a),s=n(8310),c=n.n(s),p=n(5692),u=n(4997),d=n(3932),f=n(4915),h=n(9319),m=n(6216),y=n(1469),v=n(4603),g=n(192),b=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),E=function(){return E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)},w=i().memo((function(e){var t=null!=e.tooltip?i().createElement(v.Tooltip,E({},e.tooltipProps,{content:e.tooltip}),i().createElement(p.FontAwesomeIcon,{icon:u.faInfoCircle,className:"ml-1 cursor-pointer"})):null;return i().createElement(d.Title,{size:"sm"},e.children,t)})),C=i().memo((function(e){return i().createElement("div",{className:"subtitle-section"},e.children)})),O=i().memo((function(e){var t,n=c()("body-section",{"px-3 pb-3":null===(t=e.withPadding)||void 0===t||t});return i().createElement("div",{className:n},e.children)})),x=i().memo((function(e){return i().createElement(g.Dropdown,{drop:"left"},i().createElement(g.Dropdown.Toggle,{as:g.AtokaSimpleDropdownToggle}),i().createElement(g.Dropdown.Menu,null,e.children))}));w.displayName="StatisticsTitle",C.displayName="StatisticsSubtitle",O.displayName="StatisticsBody",x.displayName="StatisticsActionButtons";var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.prototype.renderBodySection=function(){var e;return this.props.isLoading||this.props.isEmpty?null:null!==(e=(0,f.z8)(this.props.children,t.Body))&&void 0!==e?e:null},t.prototype.renderSubtitleSection=function(){if(this.props.isLoading||this.props.isEmpty)return null;var e=(0,f.hZ)(this.props.children,t.Subtitle);return 0===e.length?null:e},t.prototype.renderIsLoading=function(){return this.props.isLoading?i().createElement("div",{className:"body-section justify-content-center align-items-center"},(0,f.z8)(this.props.children,t.Spinner)):null},t.prototype.renderIsEmpty=function(){return this.props.isEmpty?i().createElement("div",{className:"body-section justify-content-center align-items-center pr-3 pl-3 pb-3"},(0,f.z8)(this.props.children,t.EmptyState)):null},t.prototype.renderActionButtons=function(){if(this.props.isPerformingAction)return i().createElement(m.Spinner,{size:m.SpinnerSize.small});var e=(0,f.hZ)(this.props.children,t.ActionButtons);return 0===e.length?null:i().createElement("div",{className:"statistics-item-card-actions-button"},e)},t.prototype.render=function(){var e=c()("statistics-item-card",this.props.className,{"statistics-item-card-disabled":this.props.isPerformingAction});return i().createElement(l(),{className:e},i().createElement(h.EllipsableContent,null,i().createElement(h.EllipsableContent.Content,null,(0,f.z8)(this.props.children,t.Title)),i().createElement(h.EllipsableContent.Append,null,this.renderActionButtons())),this.renderSubtitleSection(),this.renderBodySection(),this.renderIsEmpty(),this.renderIsLoading())},t.displayName="StatisticsItemCard",t.Title=w,t.Subtitle=C,t.Body=O,t.ActionButtons=x,t.Spinner=m.Spinner,t.EmptyState=y.EmptyState,t}(i().PureComponent)},7516:(e,t,n)=>{"use strict";n.d(t,{StatisticsItemNumeric:()=>p});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(5692),c=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderIcon=function(){return i().createElement("span",{className:"stats-item-numeric-icon-wrap"},i().createElement(s.FontAwesomeIcon,{className:"fa-fw",icon:this.props.icon}))},t.prototype.renderValue=function(){return null==this.props.value?null:i().createElement("div",{className:"stats-item-numeric-value"},this.props.value)},t.prototype.renderSubtitle=function(){return null==this.props.subtitle?null:i().createElement("div",{className:"stats-item-numeric-subtitle"},this.props.subtitle)},t.prototype.renderContent=function(){return i().createElement("div",{className:"stats-item-numeric-content"},this.renderIcon(),this.renderValue(),this.renderSubtitle())},t.prototype.render=function(){var e=l()("stats-item-numeric",this.props.className);return i().createElement("div",{className:e},this.renderContent())},t.displayName="StatisticsItemNumeric",t}(i().PureComponent)},1358:(e,t,n)=>{"use strict";n.d(t,{StatisticsLegend:()=>C,StatisticsLegendProps:()=>r.StatisticsLegendProps,StatisticsSVGLegend:()=>k,getRenderStatisticsLegend:()=>O});var r={};n.r(r),n.d(r,{B:()=>C});var o,i=n(8156),a=n.n(i),l=n(4394),s=n.n(l),c=n(3915),p=n.n(c),u=n(8310),d=n.n(u),f=n(5315),h=n.n(f),m=n(1326),y=n(5692),v=n(9319),g=n(2394),b=n(5909),E=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.renderRightBlock=function(){var e=[this.renderValue(),this.renderPercentage()].filter((function(e){return null!=e}));return null==e.length?null:a().createElement(v.EllipsableContent.Append,null,e)},t.prototype.renderValue=function(){var e=this.props,t=e.legendDataValueKey,n=e.numberToStringFormatter,r=e.data;if(null==t||null==r[t])return null;var o=r[t],i=n?n(o):String(o);return a().createElement("div",{key:"value-container",className:"value-container font-weight-bold text-nowrap"},i)},t.prototype.renderPercentage=function(){var e=this.props,t=e.legendDataPercentageKey,n=e.data;if(null==t||null==n[t])return null;var r=(0,b.Ow)(n[t]);return a().createElement("div",{key:"percentage-container",className:"percentage-container ml-1"},r)},t.prototype.renderOtherLabel=function(e){var t;return(0,g.Wq)(e.label)?String(null!==(t=null==e?void 0:e.id)&&void 0!==t?t:""):e.label},t.prototype.renderLabel=function(){var e=this.props,t=e.legendDataLabelKey,n=e.data,r=e.otherId;return n.id===r?this.renderOtherLabel(n):null==t?null:null==n?void 0:n[t]},t.prototype.render=function(){var e=this.props,t=e.columnNumber,n=e.color,r=e.data,o=d()("legend-item px-1",{"flex-basis-0":"horizontal"===this.props.layout});return a().createElement(h(),{sm:24/t,className:o,key:"legend-item-".concat(r.id)},a().createElement(v.EllipsableContent,{className:"label-container w-100 justify-content-between"},a().createElement(v.EllipsableContent.Content,null,a().createElement(y.FontAwesomeIcon,{icon:m.faCircle,color:n,className:"mr-1"}),this.renderLabel()),this.renderRightBlock()))},t.displayName="StatisticsLegendItem",t}(a().PureComponent),C=a().memo((function(e){var t=e.data,n=e.otherId,r=e.colors,o=e.layout,i=void 0===o?"vertical":o,l=e.columnNumber,c=void 0===l?2:l,u=e.numberToStringFormatter,d=e.legendDataLabelKey,f=e.legendDataValueKey,h=e.legendDataPercentageKey;function m(e,t){var o=e.id,l=o===n?null==r?void 0:r[r.length-1]:null==r?void 0:r[t];return a().createElement(w,{data:e,numberToStringFormatter:u,legendDataValueKey:f,legendDataLabelKey:d,legendDataPercentageKey:h,color:l,otherId:n,key:o+l,columnNumber:c,layout:i})}var y=t.filter((function(e){return 0!==e.value||e.id!==n}));return"horizontal"===i?a().createElement("div",{className:"legend-container"},y.map(m)):a().createElement(s(),{className:"legend-container"},a().createElement(p(),{className:"w-100"},y.map(m)))}));C.displayName="StatisticsLegend";var O=function(e){var t=e.legendDataLabelKey,n=e.legendDataValueKey,r=e.legendDataPercentageKey,o=e.layout,i=e.columnsNumber;return function(e){var l=e.data,s=e.otherId,c=e.colors,p=e.numberToStringFormatter;return a().createElement(C,{layout:o,data:l,otherId:s,colors:c,columnNumber:i,numberToStringFormatter:p,legendDataLabelKey:t,legendDataValueKey:n,legendDataPercentageKey:r})}},x=n(6627),P=n(3654),N=n(7540),S=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n,r,o,i;return S(t,e),t.prototype.renderSVGDataInfoBit=function(e,t){var n,r,o,i,l,s,c,p,u=null!==(n=e.label)&&void 0!==n?n:"",d=this.renderPercentage(e),f=this.renderCircle(null===(r=this.props.colors)||void 0===r?void 0:r[t]);return a().createElement(a().Fragment,{key:"".concat(e.label,"-legend-data")},f,a().createElement("text",{x:this.props.x,y:this.props.y,fill:N.de,fontSize:this.props.fontSize,key:"".concat(e.label,"-legend-data")},a().createElement("tspan",{dx:null==f?0:10},null!==(l=null===(i=(o=this.props).labelFormat)||void 0===i?void 0:i.call(o,u))&&void 0!==l?l:u),a().createElement("tspan",{x:this.getRightElementX(),dx:5,fill:"black",fontWeight:"bold",textAnchor:"end"},null!==(p=null===(c=(s=this.props).valueFormat)||void 0===c?void 0:c.call(s,e.value))&&void 0!==p?p:e.value),d))},t.prototype.renderSVGDataInfoBitMoreItems=function(e,t){var n,r,o,i,l,s,c,p,u=null!==(n=e.label)&&void 0!==n?n:"",d=this.renderPercentage(e),f=this.renderCircle(null===(r=this.props.colors)||void 0===r?void 0:r[t]);return a().createElement(a().Fragment,{key:"".concat(e.label,"-legend-data-items")},f,a().createElement("tspan",{dx:0===t||null!=f?0:10,fill:N.de},null!==(l=null===(i=(o=this.props).labelFormat)||void 0===i?void 0:i.call(o,u))&&void 0!==l?l:u),a().createElement("tspan",{dx:5,fill:"black",fontWeight:"bold"},null!==(p=null===(c=(s=this.props).valueFormat)||void 0===c?void 0:c.call(s,e.value))&&void 0!==p?p:e.value),d)},t.prototype.renderCircle=function(e){return null==e?null:a().createElement("circle",{cx:this.props.x,cy:this.props.y-3,r:"5",fill:e})},t.prototype.renderPercentage=function(e){var t,n=null!=e.percentage?(0,b.Ow)(e.percentage):null;return null==n?null:a().createElement("tspan",{x:this.getRightElementX(),dx:5,fill:null===(t=this.props.colors)||void 0===t?void 0:t[0]},n)},t.prototype.getRightElementX=function(){var e=this.props.width;if(null!=e)return(0===this.props.x?e/2:e)-18},t.prototype.removeItemIfNoValue=function(e){return e.filter((function(e){return null!==e.value}))},t.prototype.render=function(){var e=this.removeItemIfNoValue(this.props.data);return(null==e?void 0:e.length)>1?a().createElement("g",null,a().createElement("text",{x:this.props.x,y:this.props.y,dy:this.props.dy,fill:N.de,fontSize:this.props.fontSize,key:"legend-data-bit",className:"legend-data-bit"},e.map(this.renderSVGDataInfoBitMoreItems))):a().createElement("g",null,e.map(this.renderSVGDataInfoBit))},t.displayName="StatisticsSVGLegend",t.defaultProps={dy:0,fontSize:11,colors:[]},j([x.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(n=void 0!==P.hz&&P.hz)?n:Object,Number]),_("design:returntype","function"==typeof(r=void 0!==a()&&a().ReactNode)?r:Object)],t.prototype,"renderSVGDataInfoBit",null),j([x.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(o=void 0!==P.hz&&P.hz)?o:Object,Number]),_("design:returntype","function"==typeof(i=void 0!==a()&&a().ReactNode)?i:Object)],t.prototype,"renderSVGDataInfoBitMoreItems",null),t}(a().PureComponent)},9274:(e,t,n)=>{"use strict";n.d(t,{GetRenderStatisticsTooltipType:()=>r.GetRenderStatisticsTooltipType,StatisticsTooltip:()=>c,getRenderStatisticsTooltip:()=>u});var r={};n.r(r),n.d(r,{q:()=>u});var o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(5909),c=i().memo((function(e){function t(){var t=e.tooltipDataLabelKey,n=e.numberToStringFormatter,o=r(t,e.data);if(null!=o)return null==n?String(o):"string"==typeof o?o:n(o)}function n(){var t=r(e.tooltipDataValueKey,e.data);if(null!=t)return"number"==typeof t?(0,s.Ow)(t):t}function r(e,t){return null==e||null==t?void 0:t[e]}var o,a,c,p,u,d,f=l()("statistics-tooltip",null==e?void 0:e.className),h=null==e.color?null:i().createElement("span",{className:"tooltip-rectangle",style:{background:e.color}});return i().createElement("div",{className:f},i().createElement("div",{className:"d-flex align-items-center"},h,i().createElement("span",{className:"text-left"},(a=e.tooltipDataTitleKey,c=e.data,p=e.otherId,u=e.otherLabel,(d=r(a,c))===p?null!=u?u:p:d?String(d):void 0))),0===(o=[{value:t(),key:e.tooltipDataLabelKey,className:"label"},{value:n(),key:e.tooltipDataValueKey,className:"value"}].filter((function(e){return null!=e.value})).map((function(e){return i().createElement("span",{key:e.key,className:e.className},e.value)}))).length?null:i().createElement("div",{className:"d-flex justify-content-between"},o),e.children)}));c.displayName="StatisticsTooltip";var p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)};function u(e){var t=e.tooltipDataLabelKey,n=e.tooltipDataValueKey,r=e.tooltipDataTitleKey,o=e.otherId,a=e.otherLabel,l=e.numberToStringFormatter,s=e.withColor,u=e.className,d=void 0===u?"tooltip-background":u;return function(e){var u,f,h,m,y=p(p({},e.data),{value:null===(u=e.data)||void 0===u?void 0:u.value,label:null===(f=e.data)||void 0===f?void 0:f.label,id:null===(h=e.data)||void 0===h?void 0:h.id,percentage:null===(m=e.data)||void 0===m?void 0:m.percentage});return i().createElement(c,{otherId:o,otherLabel:a,numberToStringFormatter:l,data:y,tooltipDataLabelKey:t,tooltipDataTitleKey:r,tooltipDataValueKey:n,className:null!=d?d:"",color:s?e.color:void 0})}}},2656:(e,t,n)=>{"use strict";n.d(t,{CustomOptionProps:()=>r.CustomOptionProps,RenderMultiValueContainer:()=>o.RenderMultiValueContainer,Suggester:()=>B,SuggesterProps:()=>o.SuggesterProps,getRenderCustomMultiValueWithIcon:()=>P});var r={};n.r(r),n.d(r,{W:()=>f});var o={};n.r(o),n.d(o,{_:()=>B});var i=n(8156),a=n.n(i),l=n(6627),s=n(4589),c=n(8310),p=n.n(c),u=n(8265),d=n(2394),f=function(e){var t=e.item,n=e.optionDataValueKey,r=e.optionDataLabelKey,o=e.optionDataCustomValueKey,i=e.children,l=e.selectedText,s=e.className;function c(e){return(0,d.Wq)(l)?t[e]:a().createElement(u.HighlightableText,{highlighted:l},t[e])}var f,h,m="",y=null;n&&null!=t[n]&&(m=c(n)),r&&null!=t[r]&&(h=r,m=""===(f=m)?a().createElement("span",{className:"label"},c(h)):a().createElement(a().Fragment,null,a().createElement("span",{className:"label mr-1"},f,":"),c(h))),o&&null!=t[o]&&(y=a().createElement("span",{className:"custom-value ml-2"},t[o]));var v=p()("option-data-item overflow-hidden",s);return a().createElement("span",{className:v},m,y,i)};f.displayName="CustomOption";var h=n(1738),m=n.n(h),y=n(1553),v=n.n(y),g=n(8427),b=n(5692),E=function(){return E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)},w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},C=function(e){var t=e.children,n=e.icon,r=w(e,["children","icon"]);return null==h.components.ValueContainer?null:a().createElement(h.components.ValueContainer,E({},r,{className:"input-value-container"}),null==t||null==n?null:a().createElement(b.FontAwesomeIcon,{icon:n}),t)};C.displayName="InputValueContainer";var O,x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)},P=function(e,t){return void 0===t&&(t="blue300"),function(n){var r=p()("custom-multi-value-with-icon",n.className,t),o=p()({"ml-1":null!=e,"ml-2":null==e});return a().createElement(h.components.MultiValue,x({},n,{className:r}),null==e?null:a().createElement("div",{className:"icon-container"},a().createElement(b.FontAwesomeIcon,{icon:e})),a().createElement("span",{className:o},n.data.label))}},N=(O=function(e,t){return O=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])},O(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},S.apply(this,arguments)},j=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},k=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},T=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},M=function(e,t){return a().createElement(B.CustomOption,{item:e,optionDataValueKey:"label",selectedText:t})},R=P(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n,r,o,i,c,u,d,f,y;return N(t,e),Object.defineProperty(t.prototype,"hasError",{get:function(){return!!this.props.hasError&&!(0,s.isStringEmpty)(this.props.insertedText)},enumerable:!1,configurable:!0}),t.prototype.getNoResultsText=function(){var e,t,n;return this.hasError?null!==(t=null===(e=this.props)||void 0===e?void 0:e.errorMessage)&&void 0!==t?t:"":(0,s.isStringEmpty)(this.props.insertedText)?null!==(n=this.props.emptyMessage)&&void 0!==n?n:"":this.props.noResultsMessage},t.prototype.renderNoOptionsMessage=function(e){var t=p()({invalid:this.hasError});return a().createElement(h.components.NoOptionsMessage,S({},e,{className:t}),this.getNoResultsText())},t.prototype.renderLoadingMessage=function(e){return a().createElement(h.components.LoadingMessage,S({},e),this.props.children)},t.prototype.renderOptionContainer=function(e){var t,n,r=[e.data];return this.props.withHighlight&&r.push(this.props.insertedText),a().createElement(h.components.Option,S({},e),null===(n=(t=this.props).renderSuggestedOption)||void 0===n?void 0:n.call.apply(n,T([t],k(r),!1)))},t.prototype.renderValueContainer=function(e){return a().createElement(C,S({icon:this.props.icon},e),e.children)},t.prototype.isOptionDisabled=function(e){var t,n;return null!=(null===(t=this.props)||void 0===t?void 0:t.selectedOption)&&(null==e?void 0:e.value)===(null===(n=this.props.selectedOption)||void 0===n?void 0:n.value)},t.prototype.loadOptions=function(e,t){var n,r;null===(r=null===(n=this.props)||void 0===n?void 0:n.loadOptions)||void 0===r||r.call(n,e,t)},t.prototype.getOptionsAsync=function(e,t){var n,r,o=this;null==this.props.debouncer&&this.loadOptions(e,t),null===(r=null===(n=this.props)||void 0===n?void 0:n.debouncer)||void 0===r||r.call(n,(function(){return o.loadOptions(e,t)}))},t.prototype.getComponentsConfig=function(){return{Option:this.renderOptionContainer,ValueContainer:this.renderValueContainer,IndicatorsContainer:function(){return null},NoOptionsMessage:this.renderNoOptionsMessage,LoadingMessage:this.renderLoadingMessage,MultiValue:this.props.renderMultiValueContainer}},t.prototype.render=function(){var e,t,n,r=p()("atoka-suggester",this.props.className,{"atoka-shadow":!0===this.props.withShadow,"with-icon":null!=this.props.icon}),o={value:null===(e=this.props)||void 0===e?void 0:e.value,isClearable:!1,components:this.getComponentsConfig(),classNamePrefix:"suggester",placeholder:this.props.placeholder,isOptionDisabled:this.isOptionDisabled,filterOption:this.props.filterOption,onInputChange:this.props.onInputChange,inputValue:this.props.insertedText,isMulti:this.props.isMulti,isDisabled:this.props.isDisabled,onChange:this.props.onChange,onMenuOpen:this.props.onMenuOpen,onMenuClose:this.props.onMenuClose};return this.props.isAsync?a().createElement("div",{className:r},a().createElement(v(),S({},o,{value:this.props.value,loadOptions:this.getOptionsAsync,defaultOptions:this.props.options}))):a().createElement("div",{className:r},a().createElement(m(),S({},o,{menuPosition:this.props.isFixed?"fixed":void 0,defaultValue:null===(t=this.props)||void 0===t?void 0:t.selectedOption,options:null!==(n=this.props.options)&&void 0!==n?n:[]})))},t.displayName="SuggesterUI",t.defaultProps={withShadow:!1,withHighlight:!1,isAsync:!1,isMulti:!1,hasError:!1,renderSuggestedOption:M,errorMessage:"Error!",emptyMessage:"",noResultsMessage:"",icon:g.faSearch,renderMultiValueContainer:R},j([l.ZP,_("design:type",Function),_("design:paramtypes",[]),_("design:returntype",String)],t.prototype,"getNoResultsText",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(n=void 0!==h.OptionProps&&h.OptionProps)?n:Object]),_("design:returntype","function"==typeof(r="undefined"!=typeof JSX&&JSX.Element)?r:Object)],t.prototype,"renderNoOptionsMessage",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(o=void 0!==h.OptionProps&&h.OptionProps)?o:Object]),_("design:returntype","function"==typeof(i="undefined"!=typeof JSX&&JSX.Element)?i:Object)],t.prototype,"renderLoadingMessage",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(c=void 0!==h.OptionProps&&h.OptionProps)?c:Object]),_("design:returntype","function"==typeof(u="undefined"!=typeof JSX&&JSX.Element)?u:Object)],t.prototype,"renderOptionContainer",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(d=void 0!==h.ValueContainerProps&&h.ValueContainerProps)?d:Object]),_("design:returntype","function"==typeof(f="undefined"!=typeof JSX&&JSX.Element)?f:Object)],t.prototype,"renderValueContainer",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(y=void 0!==s.OptionData&&s.OptionData)?y:Object]),_("design:returntype",Boolean)],t.prototype,"isOptionDisabled",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",[String,Function]),_("design:returntype",void 0)],t.prototype,"loadOptions",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",[String,Function]),_("design:returntype",void 0)],t.prototype,"getOptionsAsync",null),t}(a().Component),F=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),I=function(){return I=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},I.apply(this,arguments)},L=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},A=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},B=function(e){function t(t){var n=e.call(this,t)||this,r=t.isMulti?null:t.value;return n.state={value:r,insertedText:""},n}return F(t,e),t.prototype.componentDidUpdate=function(e){this.props.isMulti||this.props.value===e.value||this.setState({value:this.props.value})},t.prototype.handleOnInputChange=function(e){var t,n;return(0,s.isStringEmpty)(e)&&(null===(n=(t=this.props).onReset)||void 0===n||n.call(t)),this.setState({insertedText:e}),e},t.prototype.getNewItem=function(e){return null==e?[]:Array.isArray(e)?e:[e]},t.prototype.handleChange=function(e){var t,n,r={insertedText:""};this.setState({insertedText:""});var o=this.getNewItem(e);null===(n=null===(t=this.props)||void 0===t?void 0:t.onChange)||void 0===n||n.call(t,o,this.state.insertedText),this.props.isMulti||(r.value=0===o.length?null:o),this.setState(r)},t.prototype.handleOnMenuOpen=function(){this.props.isMulti||null==this.state.value||this.setState({value:null})},t.prototype.handleOnMenuClose=function(){var e,t;null===(t=null===(e=this.props)||void 0===e?void 0:e.onReset)||void 0===t||t.call(e),this.props.isMulti||this.setState({value:this.props.value})},t.prototype.render=function(){return a().createElement(D,I({},this.props,{value:this.props.isMulti?this.props.value:this.state.value,insertedText:this.state.insertedText,onChange:this.handleChange,onInputChange:this.handleOnInputChange,onMenuOpen:this.handleOnMenuOpen,onMenuClose:this.handleOnMenuClose}))},t.displayName="Suggester",t.CustomOption=f,L([l.ZP,A("design:type",Function),A("design:paramtypes",[String]),A("design:returntype",String)],t.prototype,"handleOnInputChange",null),L([l.ZP,A("design:type",Function),A("design:paramtypes",[Object]),A("design:returntype",void 0)],t.prototype,"handleChange",null),L([l.ZP,A("design:type",Function),A("design:paramtypes",[]),A("design:returntype",void 0)],t.prototype,"handleOnMenuOpen",null),L([l.ZP,A("design:type",Function),A("design:paramtypes",[]),A("design:returntype",void 0)],t.prototype,"handleOnMenuClose",null),t}(a().Component)},3292:(e,t,n)=>{"use strict";n.d(t,{ComputedDatum:()=>s.ComputedDatum,SunBurst:()=>b,SunBurstItemData:()=>r.SunBurstItemData});var r={};n.r(r),n.d(r,{X:()=>b});var o,i=n(8156),a=n.n(i),l=n(6627),s=n(9503),c=n(8310),p=n.n(c),u=n(4915),d=n(7540),f=n(5909),h=n(9274),m=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y=function(){return y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},y.apply(this,arguments)},v=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},g=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:{id:"",children:[],label:""}},t}var n,r,o;return m(t,e),t.prototype.componentDidUpdate=function(e){(0,u.vZ)(e,this.props)||this.setupComponent()},t.prototype.componentDidMount=function(){this.setupComponent()},t.prototype.setupComponent=function(){var e,t,n,r,o,i,a,l,s,c,p,u=this,d=this.props,m=d.colors,v=d.maxSlicesNumber;if(null==m)throw Error("What are the odds a developer voluntarily chooses to give the colors a null value with a default prop defined? Congrats!");if(v&&v+1!==m.length)throw Error("With a maxSliceNumber prop, maxSlicesNumber + 1 must be of the same length as the colors.length prop");var g=(0,f.xG)(null!==(t=null===(e=this.props)||void 0===e?void 0:e.data)&&void 0!==t?t:[],null===(n=this.props)||void 0===n?void 0:n.otherId,null===(r=this.props)||void 0===r?void 0:r.otherLabel,null!==(i=null===(o=this.props)||void 0===o?void 0:o.maxSlicesNumber)&&void 0!==i?i:1/0,null===(a=this.props)||void 0===a?void 0:a.total);this.renderTooltip=(0,h.getRenderStatisticsTooltip)({tooltipDataLabelKey:"value",tooltipDataValueKey:"percentage",tooltipDataTitleKey:"label",otherId:this.props.otherId,withColor:!0,numberToStringFormatter:null!==(l=this.props.tooltipValueFormat)&&void 0!==l?l:this.props.numberToStringFormatter}),this.setState({data:{id:null===(s=this.props)||void 0===s?void 0:s.id,label:null===(c=this.props)||void 0===c?void 0:c.id,children:null===(p=null!=g?g:[])||void 0===p?void 0:p.map((function(e,t){var n,r;return y(y({},e),{color:null===(r=null===(n=u.props)||void 0===n?void 0:n.colors)||void 0===r?void 0:r[t]})}))}})},t.prototype.getRenderTooltip=function(e){var t,n,r,o=null!==(t=this.props.renderTooltip)&&void 0!==t?t:this.renderTooltip,i=(null===(n=e.data)||void 0===n?void 0:n.value)||(null===(r=e.data)||void 0===r?void 0:r.initialValue)||0;return o(y(y({},e),{data:y(y({},e.data),{value:i})}))},t.prototype.renderCenteredMetric=function(e){var t,n,r,o=e.nodes,i=e.centerX,l=e.centerY,s=o.reduce((function(e,t){return e+t.value}),0);return a().createElement("text",{x:i,y:l,textAnchor:"middle",fontSize:"42px",fontWeight:"600",dominantBaseline:"central",className:"cursor-default"},null!==(r=null===(n=null===(t=this.props)||void 0===t?void 0:t.numberToStringFormatter)||void 0===n?void 0:n.call(t,s))&&void 0!==r?r:s)},t.prototype.render=function(){var e=this.props,t=e.height,n=e.withNumber,r=p()("sunburst-container",this.props.className);return a().createElement("div",{id:this.props.id,style:{height:t,width:t},ref:this.props.chartRef,className:r},a().createElement(s.ResponsiveSunburst,{tooltip:this.getRenderTooltip,data:this.state.data,margin:{top:10,right:10,bottom:10,left:10},cornerRadius:0,borderColor:"#ffff",childColor:{from:"color",modifiers:[["brighter",.5]]},enableArcLabels:!1,isInteractive:!0,layers:n?["arcs","arcLabels",this.renderCenteredMetric]:void 0,animate:this.props.animate,id:"id",colors:{datum:"data.color"}}))},t.displayName="SunBurst",t.defaultProps={colors:[d.qi,d.jk,d.Ef,d.u$,d.sf,d.kr,d.de],otherId:"other",height:"100%",animate:!0},v([l.MR,g("design:type",Function),g("design:paramtypes",["function"==typeof(n=void 0!==s.ComputedDatum&&s.ComputedDatum)?n:Object]),g("design:returntype","function"==typeof(r="undefined"!=typeof JSX&&JSX.Element)?r:Object)],t.prototype,"getRenderTooltip",null),v([l.MR,g("design:type",Function),g("design:paramtypes",["function"==typeof(o=void 0!==s.SunburstCustomLayerProps&&s.SunburstCustomLayerProps)?o:Object]),g("design:returntype",void 0)],t.prototype,"renderCenteredMetric",null),t}(a().Component)},994:(e,t,n)=>{"use strict";n.d(t,{r:()=>E});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(5901),c=n.n(s),p=n(4915),u=n(6627),d=n(4589),f=n(595),h=n(3932),m=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={width:null},t.containerRef=i().createRef(),t}var n;return m(t,e),t.prototype.componentDidMount=function(){null!=this.containerRef.current&&this.setState({width:this.containerRef.current.getBoundingClientRect().width+48})},t.prototype.renderTitle=function(){if("number"==typeof this.props.value)return i().createElement(i().Fragment,null,this.props.title,this.renderPillPresence(this.props.value,this.props.isActive));if((0,d.isStringEmpty)(this.props.value))return this.props.title;var e=this.props.isActive?"blue300":"gray300";return i().createElement(i().Fragment,null,this.props.title," ",i().createElement(f.Badge,{variant:"primary",color:e,className:"ml-2"},this.props.value))},t.prototype.renderPillPresence=function(e,t){var n=0!==e,r=l()("pill-presence ml-1",{"is-active-color":n&&t,"is-disabled-color":n&&!t,"is-invisible":!n});return i().createElement("div",{className:r})},t.prototype.render=function(){var e=l()({active:!0===this.props.isActive,"tab-switcher-choice":!0}),t=null==this.state.width?{}:{width:this.state.width};return i().createElement("div",{className:e,onClick:this.props.onClick,ref:this.containerRef,style:t},i().createElement(h.Title,{size:"xs",icon:this.props.icon,style:{paddingLeft:0,paddingRight:0}},this.renderTitle()))},t.displayName="TabSwitcherChoice",y([u.MR,v("design:type",Function),v("design:paramtypes",[]),v("design:returntype","function"==typeof(n=void 0!==i()&&i().ReactNode)?n:Object)],t.prototype,"renderTitle",null),t}(i().PureComponent),b=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={indicatorLeft:0,indicatorWidth:0},t.refObjects=[],t}return b(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout((function(){return e.calculateIndicatorPosition()}),10)},t.prototype.componentDidUpdate=function(e){(0,p.vZ)(e,this.props)||this.calculateIndicatorPosition()},t.prototype.calculateIndicatorPosition=function(){var e=this;i().Children.forEach(this.props.children,(function(t,n){var r;if((null==t?void 0:t.type)===g&&!1!==t.props.isActive){var o=null===(r=e.refObjects[n])||void 0===r?void 0:r.current;null!=o&&e.setState({indicatorLeft:o.offsetLeft,indicatorWidth:o.offsetWidth})}}))},t.prototype.renderIndicator=function(){var e={transform:"translate(".concat(this.state.indicatorLeft,"px, 0)"),width:this.state.indicatorWidth};return i().createElement("span",{className:"indicator",style:e})},t.prototype.renderChildren=function(){var e=this,t=[];return i().Children.forEach(this.props.children,(function(n,r){null==e.refObjects[r]&&(e.refObjects[r]=i().createRef()),(null==n?void 0:n.type)===g&&t.push(i().createElement("span",{ref:e.refObjects[r],key:r},n))})),t},t.prototype.renderTabSwitcherRest=function(){return this.props.fullWidth?i().createElement("span",{className:"tab-switcher-rest"}):null},t.prototype.render=function(){var e=l()("tab-switcher-container",this.props.className,{"w-100":this.props.fullWidth});return i().createElement(c(),{style:{position:"relative"},className:e},this.renderIndicator(),this.renderChildren(),this.renderTabSwitcherRest())},t.displayName="TabSwitcher",t.Choice=g,t.defaultProps={fullWidth:!1},t}(i().PureComponent)},7154:(e,t,n)=>{"use strict";n.d(t,{TabSwitcher:()=>r.r});var r=n(994)},38:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var r,o=n(8156),i=n.n(o),a=n(5692),l=n(8310),s=n.n(l),c=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderIcon=function(){if(null==this.props.icon)return null;var e=s()({"mr-2":""!==this.props.children&&null!=this.props.children});return i().createElement(a.FontAwesomeIcon,{icon:this.props.icon,className:e,fixedWidth:!0})},t.prototype.renderContent=function(){return i().createElement(i().Fragment,null,this.renderIcon(),this.props.children)},t.prototype.render=function(){var e={className:this.props.className,style:this.props.style};switch(this.props.size){case"xs":return i().createElement("h6",p({},e),this.renderContent());case"sm":return i().createElement("h5",p({},e),this.renderContent());case"md":return i().createElement("h4",p({},e),this.renderContent());case"lg":return i().createElement("h3",p({},e),this.renderContent());case"xl":return i().createElement("h2",p({},e),this.renderContent());default:return i().createElement("h1",p({},e),this.renderContent())}},t.displayName="Title",t.defaultProps={size:"xxl"},t}(i().PureComponent)},3932:(e,t,n)=>{"use strict";n.d(t,{Title:()=>r.D});var r=n(38)},2936:(e,t,n)=>{"use strict";n.d(t,{Toast:()=>se,ToastContainer:()=>pe,ToastProps:()=>r.ToastProps,ToastVariant:()=>r.ToastVariant});var r={};n.r(r),n.d(r,{F:()=>se});var o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(32),c=n(7038);function p(e){var t,n,r=(t=e,(n=(0,a.useRef)(t)).current=t,n);(0,a.useEffect)((function(){return function(){return r.current()}}),[])}var u=Math.pow(2,31)-1;function d(e,t,n){var r=n-Date.now();e.current=r<=u?setTimeout(t,r):setTimeout((function(){return d(e,t,n)}),u)}function f(){var e=function(){var e=(0,a.useRef)(!0),t=(0,a.useRef)((function(){return e.current}));return(0,a.useEffect)((function(){return function(){e.current=!1}}),[]),t.current}(),t=(0,a.useRef)();return p((function(){return clearTimeout(t.current)})),(0,a.useMemo)((function(){var n=function(){return clearTimeout(t.current)};return{set:function(r,o){void 0===o&&(o=0),e()&&(n(),o<=u?t.current=setTimeout(r,o):d(t,r,Date.now()+o))},clear:n}}),[])}var h=n(6113);function m(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}var y=/([A-Z])/g;var v=/^ms-/;function g(e){return function(e){return e.replace(y,"-$1").toLowerCase()}(e).replace(v,"-ms-")}var b=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const E=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(g(t))||function(e,t){return m(e).getComputedStyle(e,t)}(e).getPropertyValue(g(t));Object.keys(t).forEach((function(o){var i=t[o];i||0===i?!function(e){return!(!e||!b.test(e))}(o)?n+=g(o)+": "+i+";":r+=o+"("+i+") ":e.style.removeProperty(g(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n},w=!("undefined"==typeof window||!window.document||!window.document.createElement);var C=!1,O=!1;try{var x={get passive(){return C=!0},get once(){return O=C=!0}};w&&(window.addEventListener("test",x,x),window.removeEventListener("test",x,!0))}catch(e){}const P=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!O){var o=r.once,i=r.capture,a=n;!O&&o&&(a=n.__once||function e(r){this.removeEventListener(t,e,i),n.call(this,r)},n.__once=a),e.addEventListener(t,a,C?r:i)}e.addEventListener(t,n,r)};const N=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)};const S=function(e,t,n,r){return P(e,t,n,r),function(){N(e,t,n,r)}};function j(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,n,r),e.dispatchEvent(o)}}(e,"transitionend",!0)}),t+n),i=S(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),i()}}function _(e,t,n,r){var o,i;null==n&&(o=E(e,"transitionDuration")||"",i=-1===o.indexOf("ms")?1e3:1,n=parseFloat(o)*i||0);var a=j(e,n,r),l=S(e,"transitionend",t);return function(){a(),l()}}function k(e,t){var n=E(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function T(e,t){var n=k(e,"transitionDuration"),r=k(e,"transitionDelay"),o=_(e,(function(n){n.target===e&&(o(),t(n))}),n+r)}var M,R=((M={})[h.d0]="show",M[h.cn]="show",M),D=l().forwardRef((function(e,t){var n=e.className,r=e.children,o=(0,c.Z)(e,["className","children"]),p=(0,a.useCallback)((function(e){!function(e){e.offsetHeight}(e),o.onEnter&&o.onEnter(e)}),[o]);return l().createElement(h.ZP,(0,s.Z)({ref:t,addEndListener:T},o,{onEnter:p}),(function(e,t){return l().cloneElement(r,(0,s.Z)({},t,{className:i()("fade",n,r.props.className,R[e])}))}))}));D.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},D.displayName="Fade";const F=D;const I=function(e){var t=(0,a.useRef)(e);return(0,a.useEffect)((function(){t.current=e}),[e]),t};var L=l().createContext({});L.Consumer,L.Provider;function A(e,t){var n=(0,a.useContext)(L);return e||n[t]||t}var B=n(8691),z=n.n(B),V={label:z().string.isRequired,onClick:z().func},Z=l().forwardRef((function(e,t){var n=e.label,r=e.onClick,o=e.className,a=(0,c.Z)(e,["label","onClick","className"]);return l().createElement("button",(0,s.Z)({ref:t,type:"button",className:i()("close",o),onClick:r},a),l().createElement("span",{"aria-hidden":"true"},"×"),l().createElement("span",{className:"sr-only"},n))}));Z.displayName="CloseButton",Z.propTypes=V,Z.defaultProps={label:"Close"};const q=Z;const G=l().createContext({onClose:function(){}});var H=l().forwardRef((function(e,t){var n=e.bsPrefix,r=e.closeLabel,o=e.closeButton,p=e.className,u=e.children,d=(0,c.Z)(e,["bsPrefix","closeLabel","closeButton","className","children"]);n=A(n,"toast-header");var f=(0,a.useContext)(G),h=function(e){var t=I(e);return(0,a.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}((function(e){f&&f.onClose&&f.onClose(e)}));return l().createElement("div",(0,s.Z)({ref:t},d,{className:i()(n,p)}),u,o&&l().createElement(q,{label:r,onClick:h,className:"ml-2 mb-1","data-dismiss":"toast"}))}));H.displayName="ToastHeader",H.defaultProps={closeLabel:"Close",closeButton:!0};const K=H;var W=/-(.)/g;var U=function(e){return e[0].toUpperCase()+(t=e,t.replace(W,(function(e,t){return t.toUpperCase()}))).slice(1);var t};const $=function(e,t){var n=void 0===t?{}:t,r=n.displayName,o=void 0===r?U(e):r,a=n.Component,p=n.defaultProps,u=l().forwardRef((function(t,n){var r=t.className,o=t.bsPrefix,p=t.as,u=void 0===p?a||"div":p,d=(0,c.Z)(t,["className","bsPrefix","as"]),f=A(o,e);return l().createElement(u,(0,s.Z)({ref:n,className:i()(r,f)},d))}));return u.defaultProps=p,u.displayName=o,u}("toast-body");var X=l().forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.children,p=e.transition,u=void 0===p?F:p,d=e.show,h=void 0===d||d,m=e.animation,y=void 0===m||m,v=e.delay,g=void 0===v?3e3:v,b=e.autohide,E=void 0!==b&&b,w=e.onClose,C=(0,c.Z)(e,["bsPrefix","className","children","transition","show","animation","delay","autohide","onClose"]);n=A(n,"toast");var O=(0,a.useRef)(g),x=(0,a.useRef)(w);(0,a.useEffect)((function(){O.current=g,x.current=w}),[g,w]);var P=f(),N=!(!E||!h),S=(0,a.useCallback)((function(){N&&(null==x.current||x.current())}),[N]);(0,a.useEffect)((function(){P.set(S,O.current)}),[P,S]);var j=(0,a.useMemo)((function(){return{onClose:w}}),[w]),_=!(!u||!y),k=l().createElement("div",(0,s.Z)({},C,{ref:t,className:i()(n,r,!_&&(h?"show":"hide")),role:"alert","aria-live":"assertive","aria-atomic":"true"}),o);return l().createElement(G.Provider,{value:j},_&&u?l().createElement(u,{in:h,unmountOnExit:!0},k):k)}));X.displayName="Toast";const J=Object.assign(X,{Body:$,Header:K});var Y=n(2628),Q=n(9870),ee=n(631),te=n(159),ne=n(4915),re=n(5692),oe=l().memo((function(e){return l().createElement(K,{bsPrefix:"atoka-toast-header",className:"overflow-hidden d-flex align-items-center w-100"},l().createElement(re.FontAwesomeIcon,{className:"mr-2",icon:e.icon}),l().createElement("strong",{className:"text-truncate flex-grow-1"},e.children))}));oe.displayName="ToastHeader";var ie,ae=(ie=function(e,t){return ie=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])},ie(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ie(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),le=function(){return le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},le.apply(this,arguments)},se=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fromVariantToIcon={danger:Y.faExclamationTriangle,warning:Q.faBellExclamation,info:te.faInfoCircle,success:ee.faCheckCircle},t}return ae(t,e),t.prototype.getIcon=function(){var e,t,n;return null!=this.props.icon?this.props.icon:null===(e=this.fromVariantToIcon)||void 0===e?void 0:e[null!==(n=null===(t=this.props)||void 0===t?void 0:t.variant)&&void 0!==n?n:"light"]},t.prototype.renderHeader=function(e){var t=(0,ne.z8)(e,oe);return l().createElement(t.type,le({},t.props,{icon:this.getIcon()}))},t.prototype.renderBody=function(e){return l().createElement("div",null,(0,ne.z8)(e,J.Body))},t.prototype.renderWhen=function(){return this.props.when?l().createElement("small",null,this.props.when):null},t.prototype.renderContent=function(){var e=this,t=[],n={ToastHeader:!1,ToastBody:!1};return l().Children.forEach(this.props.children,(function(r){r.type?(n[r.type.displayName]=!0,(null==r?void 0:r.type)===oe&&t.push(e.renderHeader(r)),(null==r?void 0:r.type)===J.Body&&t.push(e.renderBody(r))):t.push(r)})),n.ToastHeader?0===t.length?null:t.map((function(e,t){return l().createElement(l().Fragment,{key:t},e)})):(console.warn("You have to include a Header"),l().createElement("h1",null,"Error!"))},t.prototype.render=function(){var e=i()("py-2 px-3","atoka-toast",this.props.className,"variant-".concat(this.props.variant));return l().createElement(J,le({},this.props,{className:e,key:this.props.when}),this.renderContent(),this.renderWhen())},t.displayName="Toast",t.Header=oe,t.Body=J.Body,t.defaultProps={variant:"info"},t}(l().PureComponent);var ce=n(1294),pe=l().memo((function(e){var t=i()("atoka-toast-container pt-2 d-flex justify-content-center",e.className);return l().createElement(ce.Bs4V3Wrapper,null,l().createElement("div",{className:t},l().createElement("div",null,e.children)))}));pe.displayName="ToastContainer"},4389:(e,t,n)=>{"use strict";n.d(t,{ToggleButtonGroup:()=>E});var r,o=n(8156),i=n.n(o),a=n(6627),l=n(8310),s=n.n(l),c=n(5901),p=n.n(c),u=n(3778),d=n.n(u),f=n(5692),h=n(4603),m=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.renderIcon=function(){return null==this.props.icon?null:i().createElement(f.FontAwesomeIcon,{icon:this.props.icon})},t.prototype.renderLabelAndIcon=function(){return i().createElement("div",null,i().createElement("div",{className:"btn-children d-inline"},this.props.children),this.renderIcon())},t.prototype.renderButton=function(){return i().createElement(d(),{className:"atoka-toggle-btn text-center",type:this.props.type,value:this.props.value,checked:this.props.checked,onChange:this.props.onChange,disabled:this.props.disabled,block:this.props.sameSize},this.renderLabelAndIcon())},t.prototype.render=function(){return null==this.props.tooltipMessage?this.renderButton():i().createElement(h.Tooltip,{placement:"top",content:this.props.tooltipMessage},this.renderButton())},t.displayName="ToggleButton",t}(i().PureComponent),v=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},b=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n,r;return v(t,e),t.prototype.onChange=function(e){this.props.onChange&&e!==this.props.value&&this.props.onChange(e)},t.prototype.renderItem=function(e,t){var n=this;return i().createElement(y,{key:t,type:"radio",value:e.value,icon:e.icon,onChange:function(){return n.onChange(e.value)},checked:this.props.value===e.value,disabled:e.disabled,tooltipMessage:e.tooltipMessage,sameSize:this.props.sameSize},e.label)},t.prototype.renderButtons=function(){return this.props.options.map(this.renderItem)},t.prototype.render=function(){var e=s()(this.props.className,"atoka-toggle-btn-group","btn-group-primary","btn-group-".concat(this.props.size),{"d-flex":!0===this.props.sameSize});return i().createElement(p(),{className:e},this.renderButtons())},t.displayName="ToggleButtonGroup",t.defaultProps={size:"md",options:[]},g([a.ZP,b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",void 0)],t.prototype,"onChange",null),g([a.ZP,b("design:type",Function),b("design:paramtypes",[Object,Number]),b("design:returntype","function"==typeof(n=void 0!==i()&&i().ReactNode)?n:Object)],t.prototype,"renderItem",null),g([a.ZP,b("design:type",Function),b("design:paramtypes",[]),b("design:returntype","function"==typeof(r=void 0!==i()&&i().ReactNode)?r:Object)],t.prototype,"renderButtons",null),t}(i().PureComponent)},4603:(e,t,n)=>{"use strict";n.d(t,{Tooltip:()=>u});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(6043),s=n.n(l),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},u=o().memo((function(e){var t,n=document.querySelector(".bs4-v3-external-container"),r=null!==(t=e.placement)&&void 0!==t?t:"top",i=a()("tooltip atoka-tooltip",e.className,{"top bs-tooltip-top":0===r.indexOf("top"),"right bs-tooltip-right":0===r.indexOf("right"),"bottom bs-tooltip-bottom":0===r.indexOf("bottom"),"left bs-tooltip-left":0===r.indexOf("left")}),l=e.content,u=p(e,["content"]);return o().createElement(s(),c({},u,{container:n,overlay:function(e){var t=e.arrowProps,n=p(e,["arrowProps"]),r=(n.show,p(n,["show"]));return o().createElement("div",c({},r,{className:i,role:"tooltip"}),o().createElement("div",{className:"tooltip-inner"},o().createElement("div",c({className:"arrow arrow-back"},t)),l,o().createElement("div",c({className:"arrow arrow-front"},t))))}}),e.children)}));u.displayName="Tooltip"},3654:()=>{},5909:(e,t,n)=>{"use strict";n.d(t,{xG:()=>i,Ow:()=>l});var r=n(4915),o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function i(e,t,n,o,i,l){var s,c;void 0===o&&(o=0),void 0===l&&(l="value");var p=0,u=null!=t?t:"other",d=null!=o?o:0,f=[],h=null==e?void 0:e.sort((0,r.kV)(l));null==h||h.forEach((function(e,n){var o;if(n<d&&e.id!==t)f.push(function(e){if(null==e.children)return e;var t=(0,r.d9)(e);return a(t),t}(e));else{var i=null!==(o=Number(null==e?void 0:e.value))&&void 0!==o?o:0;p+=i}}));var m={};return m.id=u,m.value=parseFloat(p.toFixed(2)),m.initialValue=parseFloat(p.toFixed(2)),m.label=null!==(s=null!=n?n:u)&&void 0!==s?s:"",null!=(null===(c=null==e?void 0:e[0])||void 0===c?void 0:c.percentage)&&null!=i&&(m.percentage=p/i*100),o===1/0&&0===p||f.push(m),f}function a(e){var t,n,r,i=null!==(r=null==e?void 0:e.children)&&void 0!==r?r:[];e.initialValue=e.value,i.length>0&&delete e.value;try{for(var l=o(i),s=l.next();!s.done;s=l.next()){a(s.value)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}}function l(e){var t;return"".concat(parseInt(null===(t=null==e?void 0:e.toFixed)||void 0===t?void 0:t.call(e,0),10),"%")}},7540:(e,t,n)=>{"use strict";n.d(t,{Zu:()=>i,vA:()=>o,ix:()=>a,kT:()=>l,KH:()=>s,WV:()=>c,kA:()=>p,Ls:()=>u,P3:()=>d,qi:()=>f,p5:()=>h,pN:()=>v,ZM:()=>m,er:()=>E,$y:()=>w,Q6:()=>C,ek:()=>O,AF:()=>y,u:()=>g,de:()=>b,jk:()=>x,Ef:()=>P,sf:()=>S,u$:()=>N,kr:()=>j,Sn:()=>_});var r=n(1820);function o(e,t){void 0===t&&(t=["#82CA9D","#F6EA25","#F7977A"]);var n=[];if(0!==e){var o=(0,r.Z)(),a=i(t.length,t.length),l=i(e,t.length);o=o.domain(a).range(t);for(var s=0;s<e;s++)n.push(o(l[s]));return n}}function i(e,t){var n=[];n.push(0);for(var r=0;r<e-2;r++){var o=Number(t/e*(r+1));n.push(parseFloat(o.toFixed(2)))}return n.push(t),n}var a="#FFFFFF",l="#eef2f5",s="#CBD8E0",c="#AFD1E0",p="#8FB7CB",u="#94C2DA",d="#6E9DB5",f="#578EA8",h="rgb(32, 88, 113)",m="#11455C",y="#FAFAFA",v="#EBEBEB",g="#B0B0B0",b="#717171",E="#FFBB00",w="#F38522",C="#F72200",O="#309B0A",x="#63619F",P="#965DA3",N="#C55795",S="#E85778",j="#F86752",_="#222222"},2394:(e,t,n)=>{"use strict";n.d(t,{Wq:()=>a,lV:()=>l,iA:()=>s,Hp:()=>c,eR:()=>p,nS:()=>u,TK:()=>d,hr:()=>f,OH:()=>h,ho:()=>m});var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function a(e){return null==e||null!==e.match(/^\s*$/)}function l(e){var t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n=new RegExp(t.split("").join("|"),"g");return e.toString().toLowerCase().replace(/\s+/g,"-").replace(n,(function(e){return"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(t.indexOf(e))})).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function s(e,t,n){return e*t+n}function c(e,t){return null==e?"":e.length>t?"".concat(e.substr(0,t-1),"…"):e}function p(e){return function(t){var n=/^([\d*]+)-([\d*]+)$/.exec(t);return null==n?t:u({from:n[1],to:n[2]},null!=e?e:function(e){return e})}}function u(e,t){var n,r,o="*"===e.to?"*":t(parseInt(null!==(n=e.to)&&void 0!==n?n:"0",10)),i=t(parseInt(null!==(r=e.from)&&void 0!==r?r:"0",10));return i===o?"".concat(i):"".concat(i," - ").concat(o)}function d(e,t){return function(n){var r=n.toString();return c(null==e?r:"".concat(e(r)),t)}}function f(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function h(e,t){var n,o;if(null==e||null==t)return!1;if(e=e.toLowerCase(),null===(t=t.toLowerCase()).match(" "))return null!==e.match(f(t));var i=t.split(" ").filter((function(e){return!a(e)})).sort((function(e,t){return t.length-e.length}));try{for(var l=r(i),s=l.next();!s.done;s=l.next()){if(e===s.value)return!0}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return!1}function m(e,t){var n,l;if(null==t)return[];if(null===(e=f(e)).match(" ")){var s=new RegExp("("+e+")","gi");return t.split(s)}var c=e.split(" ").filter((function(e){return!a(e)})).sort((function(e,t){return t.length-e.length})),p=[t];try{for(var u=r(c),d=u.next();!d.done;d=u.next())for(var m=d.value,y=(s=new RegExp("("+m+")","gi"),0);y<p.length;y++){var v=p[y];if(!h(v,e)){var g=v.split(s).filter((function(e){return""!==e}));p.splice.apply(p,i([y,1],o(g),!1))}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(l=u.return)&&l.call(u)}finally{if(n)throw n.error}}return p}},4915:(e,t,n)=>{"use strict";n.d(t,{hZ:()=>l,z8:()=>s,SM:()=>c,k3:()=>p,$R:()=>u,kV:()=>d,d9:()=>f,vZ:()=>m});var r=n(5692),o=n(8156),i=n.n(o),a=n(3642);function l(e,t){var n=[];return i().Children.forEach(e,(function(e){(null==e?void 0:e.type)===t&&n.push(e)})),n}function s(e,t){var n,r;return null!==(r=null===(n=l(e,t))||void 0===n?void 0:n[0])&&void 0!==r?r:null}function c(e){var t=!1;return i().Children.forEach(e,(function(e){null==(null==e?void 0:e.type)||(null==e?void 0:e.type)!==r.FontAwesomeIcon&&"i"!==(null==e?void 0:e.type)&&(null==e?void 0:e.type)!==a.l.Checkbox||(t=!0)})),t}function p(){window.scrollTo(0,0)}function u(e,t){for(var n=[],r=0;e[r];)n.push(e[r]),n.push(t[r++]);return n}function d(e){return function(t,n){var r=0,o=0;return null!=(null==t?void 0:t[e])&&(r=null==t?void 0:t[e]),null!=(null==n?void 0:n[e])&&(o=null==n?void 0:n[e]),r>o?-1:1}}function f(e){return JSON.parse(JSON.stringify(e))}function h(e){return"object"==typeof e&&null!=e}function m(e,t){if(e===t)return!0;if(h(e)&&h(t)){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!m(e[n],t[n]))return!1;return!0}return!1}},4589:(e,t,n)=>{"use strict";n.d(t,{DataPoint:()=>r.hz,BasePieItemData:()=>r.VM,PropsWithClassName:()=>r.BF,OptionData:()=>r.nJ,createDataWithOtherSlice:()=>o.xG,normalizePercentage:()=>o.Ow,deepEqual:()=>i.vZ,sortObjDesc:()=>i.kV,ellipse:()=>a.Hp,ellipseAndFormat:()=>a.TK,escapeRegExp:()=>a.hr,estimateWordSize:()=>a.iA,formatRange:()=>a.nS,isMatching:()=>a.OH,isStringEmpty:()=>a.Wq,matchAndFormatRangeLabel:()=>a.eR,slugify:()=>a.lV,splitTextInParts:()=>a.ho,black:()=>l.Sn,blue100:()=>l.qi,blue25:()=>l.kT,blue30:()=>l.KH,blue300:()=>l.p5,blue400:()=>l.ZM,blue50:()=>l.WV,blue80:()=>l.kA,blue90:()=>l.Ls,blue95:()=>l.P3,calculateDomain:()=>l.Zu,generateRangeColor:()=>l.vA,gray100:()=>l.AF,gray200:()=>l.pN,gray300:()=>l.u,gray400:()=>l.de,green:()=>l.ek,orange:()=>l.$y,pink100:()=>l.sf,pink200:()=>l.u$,purple:()=>l.jk,red:()=>l.Q6,salmon:()=>l.kr,viola:()=>l.Ef,white:()=>l.ix,yellow:()=>l.er});var r=n(3654),o=n(5909),i=n(4915),a=n(2394),l=n(7540)},6789:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Bs4V3Wrapper:()=>r.Bs4V3Wrapper,AddableItems:()=>o.AddableItems,AddableItemsProps:()=>o.AddableItemsProps,Alert:()=>i.Alert,Button:()=>a.Button,Badge:()=>l.Badge,ButtonDropdown:()=>s.ButtonDropdown,BubbleChart:()=>c.BubbleChart,BubbleChartDataPoint:()=>c.BubbleChartDataPoint,BubbleChartTooltip:()=>c.BubbleChartTooltip,BubbleChartComputedDatum:()=>c.ComputedDatum,CardsPage:()=>p.CardsPage,CursorPagination:()=>u.CursorPagination,BasePieItemData:()=>d.BasePieItemData,DataPoint:()=>d.DataPoint,OptionData:()=>d.OptionData,PropsWithClassName:()=>d.PropsWithClassName,black:()=>d.black,blue100:()=>d.blue100,blue25:()=>d.blue25,blue30:()=>d.blue30,blue300:()=>d.blue300,blue400:()=>d.blue400,blue50:()=>d.blue50,blue80:()=>d.blue80,blue90:()=>d.blue90,blue95:()=>d.blue95,calculateDomain:()=>d.calculateDomain,createDataWithOtherSlice:()=>d.createDataWithOtherSlice,deepEqual:()=>d.deepEqual,ellipse:()=>d.ellipse,ellipseAndFormat:()=>d.ellipseAndFormat,escapeRegExp:()=>d.escapeRegExp,estimateWordSize:()=>d.estimateWordSize,formatRange:()=>d.formatRange,generateRangeColor:()=>d.generateRangeColor,gray100:()=>d.gray100,gray200:()=>d.gray200,gray300:()=>d.gray300,gray400:()=>d.gray400,green:()=>d.green,isMatching:()=>d.isMatching,isStringEmpty:()=>d.isStringEmpty,matchAndFormatRangeLabel:()=>d.matchAndFormatRangeLabel,normalizePercentage:()=>d.normalizePercentage,orange:()=>d.orange,pink100:()=>d.pink100,pink200:()=>d.pink200,purple:()=>d.purple,red:()=>d.red,salmon:()=>d.salmon,slugify:()=>d.slugify,sortObjDesc:()=>d.sortObjDesc,splitTextInParts:()=>d.splitTextInParts,viola:()=>d.viola,white:()=>d.white,yellow:()=>d.yellow,DatePicker:()=>f.DatePicker,DetailPage:()=>h.DetailPage,Dropdown:()=>m.Dropdown,DropdownMenu:()=>m.DropdownMenu,AtokaSimpleDropdownToggle:()=>m.AtokaSimpleDropdownToggle,AtokaCustomDropdownToggle:()=>m.AtokaCustomDropdownToggle,AtokaCustomDropdownToggleWithChevron:()=>m.AtokaCustomDropdownToggleWithChevron,EditableString:()=>y.EditableString,EllipsableContent:()=>v.EllipsableContent,EmptyState:()=>g.EmptyState,Facet:()=>b.Facet,FacetSection:()=>E.FacetSection,FadeAnimation:()=>w.FadeAnimation,FeedbackButton:()=>C.FeedbackButton,Form:()=>O.Form,Funnel:()=>x.Funnel,FunnelData:()=>x.FunnelData,GridCard:()=>P.GridCard,HighlightableText:()=>N.HighlightableText,Histogram:()=>S.Histogram,CanvasLegendConfig:()=>S.CanvasLegendConfig,RenderHistogramSVGLegend:()=>S.RenderHistogramSVGLegend,GetHistogramCanvasLegendConfig:()=>S.GetHistogramCanvasLegendConfig,BarCustomLayerProps:()=>S.BarCustomLayerProps,TooltipProp:()=>j.x,InlineStringEditor:()=>_.InlineStringEditor,InlineStringValueType:()=>_.InlineStringValueType,InputGroup:()=>k.InputGroup,Jumbotron:()=>T.Jumbotron,Map:()=>M.Map,MapProps:()=>M.MapProps,MapChoroplethProps:()=>M.MapChoroplethProps,MapData:()=>M.MapData,MapDataKind:()=>M.MapDataKind,Modal:()=>R.Modal,ModalProps:()=>R.ModalProps,Navbar:()=>D.Navbar,Pagination:()=>F.Pagination,PieChart:()=>I.PieChart,PieChartProps:()=>I.PieChartProps,PublicFooter:()=>L.PublicFooter,PublicNavbar:()=>A.PublicNavbar,RecordBit:()=>B.RecordBit,ResultItemCard:()=>z.ResultItemCard,SelectDropdown:()=>V.SelectDropdown,Spinner:()=>Z.Spinner,SpinnerSize:()=>Z.SpinnerSize,getRenderStatisticsLegend:()=>q.getRenderStatisticsLegend,StatisticsLegend:()=>q.StatisticsLegend,StatisticsLegendProps:()=>q.StatisticsLegendProps,StatisticsSVGLegend:()=>q.StatisticsSVGLegend,StatisticsItemCard:()=>G.StatisticsItemCard,StatisticsItemNumeric:()=>H.StatisticsItemNumeric,Suggester:()=>K.Suggester,getRenderCustomMultiValueWithIcon:()=>K.getRenderCustomMultiValueWithIcon,SuggesterProps:()=>K.SuggesterProps,RenderMultiValueContainer:()=>K.RenderMultiValueContainer,CustomOptionProps:()=>K.CustomOptionProps,SunBurst:()=>W.SunBurst,SunBurstItemData:()=>W.SunBurstItemData,ComputedDatum:()=>W.ComputedDatum,GetRenderStatisticsTooltipType:()=>U.GetRenderStatisticsTooltipType,StatisticsTooltip:()=>U.StatisticsTooltip,getRenderStatisticsTooltip:()=>U.getRenderStatisticsTooltip,TabSwitcher:()=>$.TabSwitcher,Title:()=>X.Title,Toast:()=>J.Toast,ToastContainer:()=>J.ToastContainer,ToastProps:()=>J.ToastProps,ToastVariant:()=>J.ToastVariant,ToggleButtonGroup:()=>Y.ToggleButtonGroup,Tooltip:()=>Q.Tooltip,GaugeLinear:()=>ee.GaugeLinear});var r=n(1294),o=n(568),i=n(782),a=n(7325),l=n(595),s=n(5478),c=n(8075),p=n(1907),u=n(3871),d=n(4589),f=n(1514),h=n(4716),m=n(192),y=n(4549),v=n(9319),g=n(1469),b=n(7741),E=n(4944),w=n(577),C=n(9450),O=n(1862),x=n(1219),P=n(8684),N=n(8265),S=n(9825),j=n(4950),_=n(2327),k=n(2913),T=n(6060),M=n(3681),R=n(7527),D=n(3003),F=n(7523),I=n(3614),L=n(2765),A=n(8973),B=n(750),z=n(6785),V=n(188),Z=n(6216),q=n(1358),G=n(754),H=n(7516),K=n(2656),W=n(3292),U=n(9274),$=n(7154),X=n(3932),J=n(2936),Y=n(4389),Q=n(4603),ee=n(4139)},6951:t=>{"use strict";t.exports=e},1980:e=>{"use strict";e.exports=t},7950:e=>{"use strict";e.exports=n},9368:e=>{"use strict";e.exports=r},2569:e=>{"use strict";e.exports=o},4600:e=>{"use strict";e.exports=i},1711:e=>{"use strict";e.exports=a},2705:e=>{"use strict";e.exports=l},3987:e=>{"use strict";e.exports=s},9153:e=>{"use strict";e.exports=c},3402:e=>{"use strict";e.exports=p},4997:e=>{"use strict";e.exports=u},1654:e=>{"use strict";e.exports=d},1235:e=>{"use strict";e.exports=f},8809:e=>{"use strict";e.exports=h},6466:e=>{"use strict";e.exports=m},5037:e=>{"use strict";e.exports=y},8761:e=>{"use strict";e.exports=v},8427:e=>{"use strict";e.exports=g},5797:e=>{"use strict";e.exports=b},6988:e=>{"use strict";e.exports=E},5538:e=>{"use strict";e.exports=w},6550:e=>{"use strict";e.exports=C},9870:e=>{"use strict";e.exports=O},631:e=>{"use strict";e.exports=x},1349:e=>{"use strict";e.exports=P},3041:e=>{"use strict";e.exports=N},2628:e=>{"use strict";e.exports=S},159:e=>{"use strict";e.exports=j},1326:e=>{"use strict";e.exports=_},5692:e=>{"use strict";e.exports=k},2895:e=>{"use strict";e.exports=T},3741:e=>{"use strict";e.exports=M},9179:e=>{"use strict";e.exports=R},7812:e=>{"use strict";e.exports=D},9503:e=>{"use strict";e.exports=F},5521:e=>{"use strict";e.exports=I},8310:e=>{"use strict";e.exports=L},4159:e=>{"use strict";e.exports=A},855:e=>{"use strict";e.exports=B},8156:e=>{"use strict";e.exports=z},5859:e=>{"use strict";e.exports=V},6997:e=>{"use strict";e.exports=Z},8926:e=>{"use strict";e.exports=q},5901:e=>{"use strict";e.exports=G},2494:e=>{"use strict";e.exports=H},6514:e=>{"use strict";e.exports=K},5315:e=>{"use strict";e.exports=W},4440:e=>{"use strict";e.exports=U},4394:e=>{"use strict";e.exports=$},4976:e=>{"use strict";e.exports=X},8721:e=>{"use strict";e.exports=J},1082:e=>{"use strict";e.exports=Y},8763:e=>{"use strict";e.exports=Q},2476:e=>{"use strict";e.exports=ee},3161:e=>{"use strict";e.exports=te},9034:e=>{"use strict";e.exports=ne},7738:e=>{"use strict";e.exports=re},573:e=>{"use strict";e.exports=oe},7917:e=>{"use strict";e.exports=ie},3908:e=>{"use strict";e.exports=ae},6043:e=>{"use strict";e.exports=le},9924:e=>{"use strict";e.exports=se},1968:e=>{"use strict";e.exports=ce},3915:e=>{"use strict";e.exports=pe},3778:e=>{"use strict";e.exports=ue},8053:e=>{"use strict";e.exports=de},4731:e=>{"use strict";e.exports=fe},7111:e=>{"use strict";e.exports=he},1738:e=>{"use strict";e.exports=me},1553:e=>{"use strict";e.exports=ye},3103:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},32:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},7581:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},7038:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},4329:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})}},be={};function Ee(e){var t=be[e];if(void 0!==t)return t.exports;var n=be[e]={exports:{}};return ge[e](n,n.exports,Ee),n.exports}Ee.m=ge,ve=[],Ee.O=(e,t,n,r)=>{if(!t){var o=1/0;for(s=0;s<ve.length;s++){for(var[t,n,r]=ve[s],i=!0,a=0;a<t.length;a++)(!1&r||o>=r)&&Object.keys(Ee.O).every((e=>Ee.O[e](t[a])))?t.splice(a--,1):(i=!1,r<o&&(o=r));if(i){ve.splice(s--,1);var l=n();void 0!==l&&(e=l)}}return e}r=r||0;for(var s=ve.length;s>0&&ve[s-1][2]>r;s--)ve[s]=ve[s-1];ve[s]=[t,n,r]},Ee.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Ee.d(t,{a:t}),t},Ee.d=(e,t)=>{for(var n in t)Ee.o(t,n)&&!Ee.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Ee.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ee.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={4826:0,5905:0,9798:0,54:0,4548:0,3227:0,6615:0,9733:0,6001:0,1787:0,5821:0,904:0,8621:0,9900:0,3099:0,8016:0,7219:0,9727:0,5853:0,700:0,6419:0,2494:0,1977:0,4975:0,4953:0,3397:0,7331:0,2558:0,4783:0,1855:0,951:0,7658:0,8910:0,1022:0,8643:0,2875:0,2019:0,2291:0,6740:0,410:0,7238:0,4051:0,1338:0,9811:0,4659:0,6074:0,2197:0,7564:0,8276:0,1030:0,2823:0,496:0,5518:0};Ee.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,a,l]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in a)Ee.o(a,r)&&(Ee.m[r]=a[r]);if(l)var c=l(Ee)}for(t&&t(n);s<i.length;s++)o=i[s],Ee.o(e,o)&&e[o]&&e[o][0](),e[i[s]]=0;return Ee.O(c)},n=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var we=Ee.O(void 0,[5518],(()=>Ee(6789)));return we=Ee.O(we)})()}));
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@fortawesome/free-brands-svg-icons/faFacebookF"),require("@fortawesome/free-brands-svg-icons/faLinkedinIn"),require("@fortawesome/free-brands-svg-icons/faTwitter"),require("@fortawesome/pro-light-svg-icons/faBars"),require("@fortawesome/pro-light-svg-icons/faBell"),require("@fortawesome/pro-light-svg-icons/faCheck"),require("@fortawesome/pro-light-svg-icons/faChevronDown"),require("@fortawesome/pro-light-svg-icons/faChevronLeft"),require("@fortawesome/pro-light-svg-icons/faChevronRight"),require("@fortawesome/pro-light-svg-icons/faChevronUp"),require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/pro-light-svg-icons/faInfoCircle"),require("@fortawesome/pro-light-svg-icons/faList"),require("@fortawesome/pro-light-svg-icons/faMinus"),require("@fortawesome/pro-light-svg-icons/faMinusCircle"),require("@fortawesome/pro-light-svg-icons/faPencil"),require("@fortawesome/pro-light-svg-icons/faPlus"),require("@fortawesome/pro-light-svg-icons/faPlusCircle"),require("@fortawesome/pro-light-svg-icons/faSearch"),require("@fortawesome/pro-light-svg-icons/faTh"),require("@fortawesome/pro-light-svg-icons/faTimes"),require("@fortawesome/pro-light-svg-icons/faTrash"),require("@fortawesome/pro-light-svg-icons/faUserNinja"),require("@fortawesome/pro-regular-svg-icons/faBellExclamation"),require("@fortawesome/pro-regular-svg-icons/faCheckCircle"),require("@fortawesome/pro-regular-svg-icons/faChevronDown"),require("@fortawesome/pro-regular-svg-icons/faEllipsisH"),require("@fortawesome/pro-regular-svg-icons/faExclamationTriangle"),require("@fortawesome/pro-regular-svg-icons/faInfoCircle"),require("@fortawesome/pro-solid-svg-icons/faCircle"),require("@fortawesome/react-fontawesome"),require("@nivo/bar"),require("@nivo/circle-packing"),require("@nivo/funnel"),require("@nivo/pie"),require("@nivo/sunburst"),require("@nivo/tooltip"),require("classnames"),require("leaflet"),require("leaflet-image"),require("react"),require("react-bootstrap/Alert"),require("react-bootstrap/Badge"),require("react-bootstrap/Button"),require("react-bootstrap/ButtonGroup"),require("react-bootstrap/Card"),require("react-bootstrap/Carousel"),require("react-bootstrap/Col"),require("react-bootstrap/Collapse"),require("react-bootstrap/Container"),require("react-bootstrap/Dropdown"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/InputGroup"),require("react-bootstrap/Jumbotron"),require("react-bootstrap/ListGroup"),require("react-bootstrap/Modal"),require("react-bootstrap/Nav"),require("react-bootstrap/Navbar"),require("react-bootstrap/Overlay"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Pagination"),require("react-bootstrap/Popover"),require("react-bootstrap/Row"),require("react-bootstrap/ToggleButton"),require("react-bootstrap/Tooltip"),require("react-datepicker"),require("react-dom"),require("react-select"),require("react-select/async")):"function"==typeof define&&define.amd?define("atoka-design-system",["@fortawesome/free-brands-svg-icons/faFacebookF","@fortawesome/free-brands-svg-icons/faLinkedinIn","@fortawesome/free-brands-svg-icons/faTwitter","@fortawesome/pro-light-svg-icons/faBars","@fortawesome/pro-light-svg-icons/faBell","@fortawesome/pro-light-svg-icons/faCheck","@fortawesome/pro-light-svg-icons/faChevronDown","@fortawesome/pro-light-svg-icons/faChevronLeft","@fortawesome/pro-light-svg-icons/faChevronRight","@fortawesome/pro-light-svg-icons/faChevronUp","@fortawesome/pro-light-svg-icons/faEmptySet","@fortawesome/pro-light-svg-icons/faInfoCircle","@fortawesome/pro-light-svg-icons/faList","@fortawesome/pro-light-svg-icons/faMinus","@fortawesome/pro-light-svg-icons/faMinusCircle","@fortawesome/pro-light-svg-icons/faPencil","@fortawesome/pro-light-svg-icons/faPlus","@fortawesome/pro-light-svg-icons/faPlusCircle","@fortawesome/pro-light-svg-icons/faSearch","@fortawesome/pro-light-svg-icons/faTh","@fortawesome/pro-light-svg-icons/faTimes","@fortawesome/pro-light-svg-icons/faTrash","@fortawesome/pro-light-svg-icons/faUserNinja","@fortawesome/pro-regular-svg-icons/faBellExclamation","@fortawesome/pro-regular-svg-icons/faCheckCircle","@fortawesome/pro-regular-svg-icons/faChevronDown","@fortawesome/pro-regular-svg-icons/faEllipsisH","@fortawesome/pro-regular-svg-icons/faExclamationTriangle","@fortawesome/pro-regular-svg-icons/faInfoCircle","@fortawesome/pro-solid-svg-icons/faCircle","@fortawesome/react-fontawesome","@nivo/bar","@nivo/circle-packing","@nivo/funnel","@nivo/pie","@nivo/sunburst","@nivo/tooltip","classnames","leaflet","leaflet-image","react","react-bootstrap/Alert","react-bootstrap/Badge","react-bootstrap/Button","react-bootstrap/ButtonGroup","react-bootstrap/Card","react-bootstrap/Carousel","react-bootstrap/Col","react-bootstrap/Collapse","react-bootstrap/Container","react-bootstrap/Dropdown","react-bootstrap/Form","react-bootstrap/FormControl","react-bootstrap/FormText","react-bootstrap/InputGroup","react-bootstrap/Jumbotron","react-bootstrap/ListGroup","react-bootstrap/Modal","react-bootstrap/Nav","react-bootstrap/Navbar","react-bootstrap/Overlay","react-bootstrap/OverlayTrigger","react-bootstrap/Pagination","react-bootstrap/Popover","react-bootstrap/Row","react-bootstrap/ToggleButton","react-bootstrap/Tooltip","react-datepicker","react-dom","react-select","react-select/async"],t):"object"==typeof exports?exports["atoka-design-system"]=t(require("@fortawesome/free-brands-svg-icons/faFacebookF"),require("@fortawesome/free-brands-svg-icons/faLinkedinIn"),require("@fortawesome/free-brands-svg-icons/faTwitter"),require("@fortawesome/pro-light-svg-icons/faBars"),require("@fortawesome/pro-light-svg-icons/faBell"),require("@fortawesome/pro-light-svg-icons/faCheck"),require("@fortawesome/pro-light-svg-icons/faChevronDown"),require("@fortawesome/pro-light-svg-icons/faChevronLeft"),require("@fortawesome/pro-light-svg-icons/faChevronRight"),require("@fortawesome/pro-light-svg-icons/faChevronUp"),require("@fortawesome/pro-light-svg-icons/faEmptySet"),require("@fortawesome/pro-light-svg-icons/faInfoCircle"),require("@fortawesome/pro-light-svg-icons/faList"),require("@fortawesome/pro-light-svg-icons/faMinus"),require("@fortawesome/pro-light-svg-icons/faMinusCircle"),require("@fortawesome/pro-light-svg-icons/faPencil"),require("@fortawesome/pro-light-svg-icons/faPlus"),require("@fortawesome/pro-light-svg-icons/faPlusCircle"),require("@fortawesome/pro-light-svg-icons/faSearch"),require("@fortawesome/pro-light-svg-icons/faTh"),require("@fortawesome/pro-light-svg-icons/faTimes"),require("@fortawesome/pro-light-svg-icons/faTrash"),require("@fortawesome/pro-light-svg-icons/faUserNinja"),require("@fortawesome/pro-regular-svg-icons/faBellExclamation"),require("@fortawesome/pro-regular-svg-icons/faCheckCircle"),require("@fortawesome/pro-regular-svg-icons/faChevronDown"),require("@fortawesome/pro-regular-svg-icons/faEllipsisH"),require("@fortawesome/pro-regular-svg-icons/faExclamationTriangle"),require("@fortawesome/pro-regular-svg-icons/faInfoCircle"),require("@fortawesome/pro-solid-svg-icons/faCircle"),require("@fortawesome/react-fontawesome"),require("@nivo/bar"),require("@nivo/circle-packing"),require("@nivo/funnel"),require("@nivo/pie"),require("@nivo/sunburst"),require("@nivo/tooltip"),require("classnames"),require("leaflet"),require("leaflet-image"),require("react"),require("react-bootstrap/Alert"),require("react-bootstrap/Badge"),require("react-bootstrap/Button"),require("react-bootstrap/ButtonGroup"),require("react-bootstrap/Card"),require("react-bootstrap/Carousel"),require("react-bootstrap/Col"),require("react-bootstrap/Collapse"),require("react-bootstrap/Container"),require("react-bootstrap/Dropdown"),require("react-bootstrap/Form"),require("react-bootstrap/FormControl"),require("react-bootstrap/FormText"),require("react-bootstrap/InputGroup"),require("react-bootstrap/Jumbotron"),require("react-bootstrap/ListGroup"),require("react-bootstrap/Modal"),require("react-bootstrap/Nav"),require("react-bootstrap/Navbar"),require("react-bootstrap/Overlay"),require("react-bootstrap/OverlayTrigger"),require("react-bootstrap/Pagination"),require("react-bootstrap/Popover"),require("react-bootstrap/Row"),require("react-bootstrap/ToggleButton"),require("react-bootstrap/Tooltip"),require("react-datepicker"),require("react-dom"),require("react-select"),require("react-select/async")):e["atoka-design-system"]=t(e["@fortawesome/free-brands-svg-icons/faFacebookF"],e["@fortawesome/free-brands-svg-icons/faLinkedinIn"],e["@fortawesome/free-brands-svg-icons/faTwitter"],e["@fortawesome/pro-light-svg-icons/faBars"],e["@fortawesome/pro-light-svg-icons/faBell"],e["@fortawesome/pro-light-svg-icons/faCheck"],e["@fortawesome/pro-light-svg-icons/faChevronDown"],e["@fortawesome/pro-light-svg-icons/faChevronLeft"],e["@fortawesome/pro-light-svg-icons/faChevronRight"],e["@fortawesome/pro-light-svg-icons/faChevronUp"],e["@fortawesome/pro-light-svg-icons/faEmptySet"],e["@fortawesome/pro-light-svg-icons/faInfoCircle"],e["@fortawesome/pro-light-svg-icons/faList"],e["@fortawesome/pro-light-svg-icons/faMinus"],e["@fortawesome/pro-light-svg-icons/faMinusCircle"],e["@fortawesome/pro-light-svg-icons/faPencil"],e["@fortawesome/pro-light-svg-icons/faPlus"],e["@fortawesome/pro-light-svg-icons/faPlusCircle"],e["@fortawesome/pro-light-svg-icons/faSearch"],e["@fortawesome/pro-light-svg-icons/faTh"],e["@fortawesome/pro-light-svg-icons/faTimes"],e["@fortawesome/pro-light-svg-icons/faTrash"],e["@fortawesome/pro-light-svg-icons/faUserNinja"],e["@fortawesome/pro-regular-svg-icons/faBellExclamation"],e["@fortawesome/pro-regular-svg-icons/faCheckCircle"],e["@fortawesome/pro-regular-svg-icons/faChevronDown"],e["@fortawesome/pro-regular-svg-icons/faEllipsisH"],e["@fortawesome/pro-regular-svg-icons/faExclamationTriangle"],e["@fortawesome/pro-regular-svg-icons/faInfoCircle"],e["@fortawesome/pro-solid-svg-icons/faCircle"],e["@fortawesome/react-fontawesome"],e["@nivo/bar"],e["@nivo/circle-packing"],e["@nivo/funnel"],e["@nivo/pie"],e["@nivo/sunburst"],e["@nivo/tooltip"],e.classnames,e.leaflet,e["leaflet-image"],e.react,e["react-bootstrap/Alert"],e["react-bootstrap/Badge"],e["react-bootstrap/Button"],e["react-bootstrap/ButtonGroup"],e["react-bootstrap/Card"],e["react-bootstrap/Carousel"],e["react-bootstrap/Col"],e["react-bootstrap/Collapse"],e["react-bootstrap/Container"],e["react-bootstrap/Dropdown"],e["react-bootstrap/Form"],e["react-bootstrap/FormControl"],e["react-bootstrap/FormText"],e["react-bootstrap/InputGroup"],e["react-bootstrap/Jumbotron"],e["react-bootstrap/ListGroup"],e["react-bootstrap/Modal"],e["react-bootstrap/Nav"],e["react-bootstrap/Navbar"],e["react-bootstrap/Overlay"],e["react-bootstrap/OverlayTrigger"],e["react-bootstrap/Pagination"],e["react-bootstrap/Popover"],e["react-bootstrap/Row"],e["react-bootstrap/ToggleButton"],e["react-bootstrap/Tooltip"],e["react-datepicker"],e["react-dom"],e["react-select"],e["react-select/async"])}(self,(function(e,t,n,r,o,i,a,l,s,c,p,u,d,f,h,m,y,v,g,b,w,E,O,C,x,P,N,S,j,_,T,k,R,M,D,I,F,L,A,B,z,V,q,Z,G,H,K,W,U,X,J,$,Y,Q,ee,te,ne,re,oe,ie,ae,le,se,ce,pe,ue,de,fe,he,me,ye){return(()=>{var ve,ge={9172:(e,t,n)=>{var r=n(6496).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new N(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=C(a,n);if(l){if(l===f)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=d(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f={};function h(){}function m(){}function y(){}var v={};p(v,l,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(S([])));b&&b!==n&&i.call(b,l)&&(v=b);var w=y.prototype=h.prototype=Object.create(v);function E(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,a,l,s){var c=d(e[o],e,a);if("throw"!==c.type){var p=c.arg,u=p.value;return u&&"object"==r(u)&&i.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,l,s)}),(function(e){n("throw",e,l,s)})):t.resolve(u).then((function(e){p.value=e,l(p)}),(function(e){return n("throw",e,l,s)}))}s(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function C(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function S(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return m.prototype=y,p(w,"constructor",y),p(y,"constructor",m),m.displayName=p(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,p(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},E(O.prototype),p(O.prototype,s,(function(){return this})),t.AsyncIterator=O,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new O(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(w),p(w,c,"Generator"),p(w,l,(function(){return this})),p(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(l&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},6496:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},9673:(e,t,n)=>{var r=n(6496),o=n(9172)();e.exports=o;try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},6627:(e,t,n)=>{"use strict";n.d(t,{MR:()=>i,ZP:()=>l});var r=n(4329);function o(e){return o="function"==typeof Symbol&&"symbol"===(0,r.Z)(Symbol.iterator)?function(e){return(0,r.Z)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,r.Z)(e)},o(e)}function i(e,t,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(r)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var n=r.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){r=e,delete this[t]}}),i=!1,n},set:function(e){r=e}}}function a(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof n.value&&Object.defineProperty(e.prototype,t,i(e,t,n))}})),e}function l(){return 1===arguments.length?a.apply(void 0,arguments):i.apply(void 0,arguments)}},2766:(e,t,n)=>{"use strict";function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function o(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function i(){}n.d(t,{ZP:()=>E,B8:()=>P});var a=.7,l=1/a,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",p="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",u=/^#([0-9a-f]{3,8})$/,d=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),f=new RegExp("^rgb\\("+[p,p,p]+"\\)$"),h=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),m=new RegExp("^rgba\\("+[p,p,p,c]+"\\)$"),y=new RegExp("^hsl\\("+[c,p,p]+"\\)$"),v=new RegExp("^hsla\\("+[c,p,p,c]+"\\)$"),g={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function E(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=u.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?O(t):3===n?new N(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?C(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?C(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=d.exec(e))?new N(t[1],t[2],t[3],1):(t=f.exec(e))?new N(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=h.exec(e))?C(t[1],t[2],t[3],t[4]):(t=m.exec(e))?C(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=y.exec(e))?T(t[1],t[2]/100,t[3]/100,1):(t=v.exec(e))?T(t[1],t[2]/100,t[3]/100,t[4]):g.hasOwnProperty(e)?O(g[e]):"transparent"===e?new N(NaN,NaN,NaN,0):null}function O(e){return new N(e>>16&255,e>>8&255,255&e,1)}function C(e,t,n,r){return r<=0&&(e=t=n=NaN),new N(e,t,n,r)}function x(e){return e instanceof i||(e=E(e)),e?new N((e=e.rgb()).r,e.g,e.b,e.opacity):new N}function P(e,t,n,r){return 1===arguments.length?x(e):new N(e,t,n,null==r?1:r)}function N(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function S(){return"#"+_(this.r)+_(this.g)+_(this.b)}function j(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function _(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function T(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new R(e,t,n,r)}function k(e){if(e instanceof R)return new R(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=E(e)),!e)return new R;if(e instanceof R)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=NaN,s=a-o,c=(a+o)/2;return s?(l=t===a?(n-r)/s+6*(n<r):n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+o:2-a-o,l*=60):s=c>0&&c<1?0:l,new R(l,s,c,e.opacity)}function R(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function M(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}r(i,E,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:b,formatHex:b,formatHsl:function(){return k(this).formatHsl()},formatRgb:w,toString:w}),r(N,P,o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new N(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new N(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:S,formatHex:S,formatRgb:j,toString:j})),r(R,(function(e,t,n,r){return 1===arguments.length?k(e):new R(e,t,n,null==r?1:r)}),o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new R(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new R(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new N(M(e>=240?e-240:e+120,o,r),M(e,o,r),M(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}))},1820:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});var r=Math.sqrt(50),o=Math.sqrt(10),i=Math.sqrt(2);function a(e,t,n){var a=(t-e)/Math.max(0,n),l=Math.floor(Math.log(a)/Math.LN10),s=a/Math.pow(10,l);return l>=0?(s>=r?10:s>=o?5:s>=i?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(s>=r?10:s>=o?5:s>=i?2:1)}function l(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function s(e){var t=e,n=e;function r(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=function(t,n){return e(t)-n},n=function(e){return function(t,n){return l(e(t),n)}}(e)),{left:r,center:function(e,n,o,i){null==o&&(o=0),null==i&&(i=e.length);var a=r(e,n,o,i-1);return a>o&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}n(9673);var c=s(l),p=c.right;c.left,s((function(e){return null===e?NaN:+e})).center;const u=p;var d=n(4329),f=n(2766);function h(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}const m=function(e){return function(){return e}};function y(e,t){return function(n){return e+n*t}}function v(e){return 1==(e=+e)?g:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):m(isNaN(t)?n:t)}}function g(e,t){var n=t-e;return n?y(e,n):m(isNaN(e)?t:e)}const b=function e(t){var n=v(t);function r(e,t){var r=n((e=(0,f.B8)(e)).r,(t=(0,f.B8)(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=g(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function w(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),l=new Array(o);for(n=0;n<o;++n)r=(0,f.B8)(t[n]),i[n]=r.r||0,a[n]=r.g||0,l[n]=r.b||0;return i=e(i),a=e(a),l=e(l),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=l(e),r+""}}}w((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,l=r<t-1?e[r+2]:2*i-o;return h((n-r/t)*t,a,o,i,l)}})),w((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],l=e[(r+2)%t];return h((n-r/t)*t,o,i,a,l)}}));function E(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=_(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function O(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function C(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function x(e,t){var n,r={},o={};for(n in null!==e&&"object"===(0,d.Z)(e)||(e={}),null!==t&&"object"===(0,d.Z)(t)||(t={}),t)n in e?r[n]=_(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var P=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,N=new RegExp(P.source,"g");function S(e,t){var n,r,o,i=P.lastIndex=N.lastIndex=0,a=-1,l=[],s=[];for(e+="",t+="";(n=P.exec(e))&&(r=N.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),l[a]?l[a]+=o:l[++a]=o),(n=n[0])===(r=r[0])?l[a]?l[a]+=r:l[++a]=r:(l[++a]=null,s.push({i:a,x:C(n,r)})),i=N.lastIndex;return i<t.length&&(o=t.slice(i),l[a]?l[a]+=o:l[++a]=o),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)l[(n=s[r]).i]=n.x(e);return l.join("")})}function j(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function _(e,t){var n,r,o=(0,d.Z)(t);return null==t||"boolean"===o?m(t):("number"===o?C:"string"===o?(n=(0,f.ZP)(t))?(t=n,b):S:t instanceof f.ZP?b:t instanceof Date?O:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?E:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?x:C:j))(e,t)}function T(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function k(e){return+e}var R=[0,1];function M(e){return e}function D(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function I(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=D(o,r),i=n(a,i)):(r=D(r,o),i=n(i,a)),function(e){return i(r(e))}}function F(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=D(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=u(e,t,1,r)-1;return i[n](o[n](t))}}function L(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function A(){var e,t,n,r,o,i,a=R,l=R,s=_,c=M;function p(){var e,t,n,s=Math.min(a.length,l.length);return c!==M&&(e=a[0],t=a[s-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=s>2?F:I,o=i=null,u}function u(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),l,s)))(e(c(t)))}return u.invert=function(n){return c(t((i||(i=r(l,a.map(e),C)))(n)))},u.domain=function(e){return arguments.length?(a=Array.from(e,k),p()):a.slice()},u.range=function(e){return arguments.length?(l=Array.from(e),p()):l.slice()},u.rangeRound=function(e){return l=Array.from(e),s=T,p()},u.clamp=function(e){return arguments.length?(c=!!e||M,p()):c!==M},u.interpolate=function(e){return arguments.length?(s=e,p()):s},u.unknown=function(e){return arguments.length?(n=e,u):n},function(n,r){return e=n,t=r,p()}}function B(){return A()(M,M)}function z(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var V,q=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Z(e){if(!(t=q.exec(e)))throw new Error("invalid format: "+e);var t;return new G({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function G(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function H(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function K(e){return(e=H(Math.abs(e)))?e[1]:NaN}function W(e,t){var n=H(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}Z.prototype=G.prototype,G.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const U={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return W(100*e,t)},r:W,s:function(e,t){var n=H(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(V=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+H(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function X(e){return e}var J,$,Y,Q=Array.prototype.map,ee=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function te(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?X:(t=Q.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,l=t[0],s=0;o>0&&l>0&&(s+l+1>r&&(l=Math.max(1,r-s)),i.push(e.substring(o-=l,o+l)),!((s+=l+1)>r));)l=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?X:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Q.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",p=void 0===e.nan?"NaN":e.nan+"";function u(e){var t=(e=Z(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,m=e.comma,y=e.precision,v=e.trim,g=e.type;"n"===g?(m=!0,g="g"):U[g]||(void 0===y&&(y=12),v=!0,g="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var b="$"===d?o:"#"===d&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===d?i:/[%p]/.test(g)?s:"",E=U[g],O=/[defgprs%]/.test(g);function C(e){var o,i,s,d=b,C=w;if("c"===g)C=E(e)+C,e="";else{var x=(e=+e)<0||1/e<0;if(e=isNaN(e)?p:E(Math.abs(e),y),v&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),x&&0==+e&&"+"!==u&&(x=!1),d=(x?"("===u?u:c:"-"===u||"("===u?"":u)+d,C=("s"===g?ee[8+V/3]:"")+C+(x&&"("===u?")":""),O)for(o=-1,i=e.length;++o<i;)if(48>(s=e.charCodeAt(o))||s>57){C=(46===s?a+e.slice(o+1):e.slice(o))+C,e=e.slice(0,o);break}}m&&!f&&(e=r(e,1/0));var P=d.length+e.length+C.length,N=P<h?new Array(h-P+1).join(t):"";switch(m&&f&&(e=r(N+e,N.length?h-C.length:1/0),N=""),n){case"<":e=d+e+C+N;break;case"=":e=d+N+e+C;break;case"^":e=N.slice(0,P=N.length>>1)+d+e+C+N.slice(P);break;default:e=N+d+e+C}return l(e)}return y=void 0===y?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),C.toString=function(){return e+""},C}return{format:u,formatPrefix:function(e,t){var n=u(((e=Z(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(K(t)/3))),o=Math.pow(10,-r),i=ee[8+r/3];return function(e){return n(o*e)+i}}}}function ne(e,t,n,a){var l,s=function(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),l=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),s=a/l;return s>=r?l*=10:s>=o?l*=5:s>=i&&(l*=2),t<e?-l:l}(e,t,n);switch((a=Z(null==a?",f":a)).type){case"s":var c=Math.max(Math.abs(e),Math.abs(t));return null!=a.precision||isNaN(l=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(K(t)/3)))-K(Math.abs(e)))}(s,c))||(a.precision=l),Y(a,c);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(l=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,K(t)-K(e))+1}(s,Math.max(Math.abs(e),Math.abs(t))))||(a.precision=l-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(l=function(e){return Math.max(0,-K(Math.abs(e)))}(s))||(a.precision=l-2*("%"===a.type))}return $(a)}function re(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){var r,o,i,l,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(l=a(e,t,n))||!isFinite(l))return[];if(l>0){var c=Math.round(e/l),p=Math.round(t/l);for(c*l<e&&++c,p*l>t&&--p,i=new Array(o=p-c+1);++s<o;)i[s]=(c+s)*l}else{l=-l;var u=Math.round(e*l),d=Math.round(t*l);for(u/l<e&&++u,d/l>t&&--d,i=new Array(o=d-u+1);++s<o;)i[s]=(u+s)/l}return r&&i.reverse(),i}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return ne(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),l=0,s=i.length-1,c=i[l],p=i[s],u=10;for(p<c&&(o=c,c=p,p=o,o=l,l=s,s=o);u-- >0;){if((o=a(c,p,n))===r)return i[l]=c,i[s]=p,t(i);if(o>0)c=Math.floor(c/o)*o,p=Math.ceil(p/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,p=Math.floor(p*o)/o}r=o}return e},e}function oe(){var e=B();return e.copy=function(){return L(e,oe())},z.apply(e,arguments),re(e)}J=te({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),$=J.format,Y=J.formatPrefix},9112:(e,t,n)=>{"use strict";var r=n(5073);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},8691:(e,t,n)=>{e.exports=n(9112)()},5073:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9114:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(32),o=n(7038),i=n(7581);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var l=n(8156),s=n.n(l),c=n(6113),p=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r)));var n,r}))},u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,i.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&p(e,r),o&&p(e,o),i&&p(e,i)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.Z)(e,["classNames"]));return s().createElement(c.ZP,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s().Component);u.defaultProps={classNames:""},u.propTypes={};const d=u},6113:(e,t,n)=>{"use strict";n.d(t,{cn:()=>h,d0:()=>f,ZP:()=>g});var r=n(7038),o=n(7581),i=n(8156),a=n.n(i),l=n(7111),s=n.n(l);const c=!1;var p=n(3493),u="unmounted",d="exited",f="entering",h="entered",m="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=d,r.appearStatus=f):o=h:o=t.unmountOnExit||t.mountOnEnter?u:d,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==h&&(t=f):n!==f&&n!==h||(t=m)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===f?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[s().findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),p=r?l.appear:l.enter;!e&&!n||c?this.safeSetState({status:h},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:f},(function(){t.props.onEntering(i,a),t.onTransitionEnd(p,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s().findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:m},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(p.Z.Provider,{value:null},"function"==typeof n?n(e,o):a().cloneElement(a().Children.only(n),o))},t}(a().Component);function v(){}y.contextType=p.Z,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},y.UNMOUNTED=u,y.EXITED=d,y.ENTERING=f,y.ENTERED=h,y.EXITING=m;const g=y},3493:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8156);const o=n.n(r)().createContext(null)},568:(e,t,n)=>{"use strict";n.d(t,{AddableItems:()=>T});var r,o,i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=n(7325),p=n(3932),u=n(6627),d=n(9034),f=n.n(d),h=n(8761),m=n(8809),y=n(6988),v=n(7111),g=n.n(v),b=n(4603),w=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),E=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},O=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return w(t,e),t.prototype.renderItemButtons=function(){return this.props.kind===o.add?null:s().createElement("span",{className:"clickable-item-buttons-container"},s().createElement(c.Button,{variant:"tertiary",icon:y.faTimes,size:"xs"}),this.renderIncludeExcludeToggler())},t.prototype.renderItemRealContent=function(e){return null!=this.props.itemContentRenderer?this.props.itemContentRenderer(e):e.value},t.prototype.renderItemContent=function(e){var t=!0===this.props.isExcluded?s().createElement("span",{className:"item-content-not-suffix"},this.props.notSuffixLabel," "):"";return s().createElement("div",{className:"item-content d-flex align-items-center text-wrap w-100 mr-1 overflow-hidden"},t,this.renderItemRealContent(e))},t.prototype.renderIncludeExcludeToggler=function(){var e=this;if(!0!==this.props.supportsExclusion)return null;var t=s().createElement("div",null,s().createElement(c.Button,{ref:function(t){return e.includeExcludeTogglerRef=t},variant:"tertiary",icon:this.props.isExcluded?h.faPlusCircle:m.faMinusCircle,size:"xs",onClick:this.props.onToggleIncludeExclude,className:"item-toggler"}));if(null==this.props.tooltipMessages)return t;var n=this.props.tooltipMessages,r=n.include,o=n.exclude;return s().createElement(b.Tooltip,{content:this.props.isExcluded?r:o},t)},t.prototype.renderCount=function(e){if(null==e.count)return s().createElement("span",null," ");var t=e.count.toString();return this.props.countFormatter&&(t=this.props.countFormatter(e.count)),s().createElement("span",{className:"list-item-count"},t)},t.prototype.handleContainerClick=function(e){if(!0===this.props.supportsExclusion){var t=g().findDOMNode(this.includeExcludeTogglerRef);if(e.target===t||(null==t?void 0:t.contains(e.target)))return}this.props.onRemove()},t.prototype.render=function(){var e=a()([o[this.props.kind]],{included:this.props.supportsExclusion&&!this.props.isExcluded,excluded:this.props.isExcluded});return s().createElement(f().Item,{bsPrefix:"atoka-list-group-item",className:e,onClick:this.handleContainerClick},s().createElement("span",{className:"list-group-item-content-container w-100 d-flex justify-content-between"},s().createElement("div",{className:"d-flex align-items-center w-100 overflow-hidden"},this.renderItemButtons(),this.renderItemContent(this.props.item)),this.renderCount(this.props.item)))},t.displayName="ClickableExcludableItem",E([u.MR,O("design:type",Function),O("design:paramtypes",["function"==typeof(n=void 0!==s()&&s().MouseEvent)?n:Object]),O("design:returntype",void 0)],t.prototype,"handleContainerClick",null),t}(s().PureComponent),x=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},N=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(o||(o={}));var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return x(t,e),t.prototype.getItemKey=function(e){return null!=this.props.itemKeyGetter?this.props.itemKeyGetter(e):e.value},t.prototype.renderItem=function(e){var t=this;return s().createElement(C,{key:this.getItemKey(e),item:e,kind:this.props.kind,onRemove:function(){return t.props.onClick(e)},onToggleIncludeExclude:function(){var n,r,o;return null===(r=(n=t.props).onToggleIncludeExclude)||void 0===r?void 0:r.call(n,e,null!==(o=t.props.areItemsExcluded)&&void 0!==o&&o)},supportsExclusion:this.props.supportsExclusion,isExcluded:this.props.areItemsExcluded,itemContentRenderer:this.props.itemContentRenderer,tooltipMessages:this.props.tooltipMessages,notSuffixLabel:this.props.notSuffixLabel,countFormatter:this.props.countFormatter})},t.prototype.needToShowEmptyMessage=function(){return null!=this.props.emptyMessage&&(null==this.props.items||!(this.props.items.length>0))},t.prototype.getItems=function(){return this.needToShowEmptyMessage()?s().createElement(f().Item,{bsPrefix:"atoka-list-group-item",key:"empty-message"},this.props.emptyMessage):null==this.props.items||0===this.props.items.length?null:null==this.props.items[0].count?this.props.items.map(this.renderItem):this.props.items.sort((function(e,t){var n,r;return(null!==(n=t.count)&&void 0!==n?n:0)-(null!==(r=e.count)&&void 0!==r?r:0)})).map(this.renderItem)},t.prototype.render=function(){var e=a()({"list-empty":null==this.props.items||0===this.props.items.length,"atoka-addable-items":this.props.kind===o.add,"atoka-removable-items":this.props.kind===o.remove});return s().createElement(f(),{bsPrefix:"atoka-list-group",className:e},this.getItems())},t.displayName="ClickableItemList",P([u.MR,N("design:type",Function),N("design:paramtypes",[Object]),N("design:returntype","function"==typeof(n="undefined"!=typeof JSX&&JSX.Element)?n:Object)],t.prototype,"renderItem",null),t}(s().Component),j=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function _(e){return"object"==typeof e?e.value:e}var T=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isFirstRender:!0},n}return j(t,e),t.prototype.componentDidUpdate=function(){this.state.isFirstRender&&!1===this.props.config.isLoading&&this.setState({isFirstRender:!1})},t.prototype.renderItemContent=function(e){return null!=e.label&&0!==e.label.indexOf("- (")?s().createElement("span",{className:"option-data-item overflow-hidden"},e.label):s().createElement("span",{className:"option-data-item overflow-hidden"},e.value)},t.prototype.getItemContentRenderer=function(){return null!=this.props.itemContentRenderer?this.props.itemContentRenderer:this.renderItemContent},t.prototype.renderRemovableItemsTitle=function(){return s().createElement("div",{className:"d-flex justify-content-between mb-2"},s().createElement(p.Title,{size:"xs",className:"m-0"},this.props.label),s().createElement(c.Button,{variant:"tertiary",size:"sm",onClick:this.props.onRemoveAll},this.props.unselectLabel))},t.prototype.renderRemovableItems=function(e,t){var n,r,i,l=e.length>0,c=t.length>0,p=a()("mb-3","atoka-removable-items-container",{"with-include-items":l&&!c,"with-exclude-items":!l&&c,"with-both-include-and-exclude-items":l&&c});return null==this.props.onToggleIncludeExclude?0===(null!==(i=null===(r=null===(n=this.props.config)||void 0===n?void 0:n.include)||void 0===r?void 0:r.length)&&void 0!==i?i:0)?null:s().createElement(s().Fragment,null,this.renderRemovableItemsTitle(),s().createElement("div",{className:p},s().createElement(S,{items:e,itemKeyGetter:this.props.itemKeyGetter,kind:o.remove,onClick:this.props.onRemoveItem,itemContentRenderer:this.getItemContentRenderer(),tooltipMessages:this.props.tooltipMessages,countFormatter:this.props.countFormatter}))):e.length+t.length===0?null:s().createElement(s().Fragment,null,this.renderRemovableItemsTitle(),s().createElement("div",{className:p},s().createElement(S,{items:e,itemKeyGetter:this.props.itemKeyGetter,kind:o.remove,onClick:this.props.onRemoveItem,supportsExclusion:!0,areItemsExcluded:!1,onToggleIncludeExclude:this.props.onToggleIncludeExclude,itemContentRenderer:this.getItemContentRenderer(),tooltipMessages:this.props.tooltipMessages,countFormatter:this.props.countFormatter}),s().createElement(S,{items:t,itemKeyGetter:this.props.itemKeyGetter,kind:o.remove,onClick:this.props.onRemoveItem,supportsExclusion:!0,areItemsExcluded:!0,onToggleIncludeExclude:this.props.onToggleIncludeExclude,itemContentRenderer:this.getItemContentRenderer(),tooltipMessages:this.props.tooltipMessages,notSuffixLabel:this.props.notSuffixLabel,countFormatter:this.props.countFormatter})))},t.prototype.getEmptyMessage=function(){var e,t;return null==(null===(e=this.props)||void 0===e?void 0:e.emptyMessage)||""===(null===(t=this.props)||void 0===t?void 0:t.emptyMessage)?null:this.props.emptyMessage},t.prototype.render=function(){var e,t,n,r,i,l,c,p=this.props.config,u=null!==(e=p.include)&&void 0!==e?e:[],d=null!==(t=p.exclude)&&void 0!==t?t:[],f=u.concat(d).map(_),h=this.props.facetData.data.items.filter((function(e){return f.indexOf(e.value)<0})),m=a()(this.props.className,"atoka-addable-items");return null!=this.props.onToggleIncludeExclude&&(d=null!==(n=p.exclude)&&void 0!==n?n:[]),s().createElement("div",{className:m},s().createElement("div",{className:"suggester-and-modifiers-block"},null===(i=(r=this.props).renderSuggester)||void 0===i?void 0:i.call(r),null===(c=(l=this.props).renderModifiers)||void 0===c?void 0:c.call(l)),this.renderRemovableItems(u,d),s().createElement(S,{items:h,itemKeyGetter:this.props.itemKeyGetter,kind:o.add,onClick:this.props.onAddItem,emptyMessage:this.getEmptyMessage(),itemContentRenderer:this.getItemContentRenderer(),countFormatter:this.props.countFormatter}))},t.displayName="AddableItems",t}(s().PureComponent)},782:(e,t,n)=>{"use strict";n.d(t,{Alert:()=>f});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(5859),c=n.n(s),p=n(5692),u=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderIcon=function(){return null==this.props.icon?null:i().createElement(p.FontAwesomeIcon,{icon:this.props.icon})},t.prototype.renderChildren=function(){return null==this.props.children?null:i().createElement("div",{className:"alert-children"},this.props.children)},t.prototype.renderContent=function(){return i().createElement("div",{className:"alert-content-container d-flex"},this.renderIcon(),this.renderChildren())},t.prototype.render=function(){var e=l()(this.props.className,"atoka-alert");return i().createElement(c(),d({},this.props,{className:e,dismissible:this.props.isDismissible,show:this.props.isShown}),this.renderContent())},t.displayName="Alert",t.Heading=c().Heading,t.defaultProps={variant:"danger"},t}(i().PureComponent)},595:(e,t,n)=>{"use strict";n.d(t,{Badge:()=>u});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(6997),s=n.n(l),c=n(5692),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},u=o().memo((function(e){var t=e.size,n=void 0===t?"sm":t,r=p(e,["size"]),i=a()(null==r?void 0:r.className,"atoka-badge","variant-".concat(r.variant,"-").concat(r.color),n),l=a()({"mr-2":null!=r.children}),u=null==r.icon?null:o().createElement(c.FontAwesomeIcon,{icon:r.icon,className:l});return o().createElement(s(),{className:i},u,r.children)}));u.displayName="Badge"},1294:(e,t,n)=>{"use strict";n.d(t,{Bs4V3Wrapper:()=>c});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){var e=l()("bs4-v3",this.props.className);return i().createElement("div",{className:e},this.props.children)},t.displayName="Bs4V3Wrapper",t}(i().PureComponent)},8075:(e,t,n)=>{"use strict";n.d(t,{BubbleChart:()=>P,BubbleChartDataPoint:()=>r.BubbleChartDataPoint,BubbleChartTooltip:()=>r.BubbleChartTooltip,ComputedDatum:()=>d.ComputedDatum});var r={};n.r(r),n.d(r,{O:()=>P});var o,i=n(8156),a=n.n(i),l=n(7540),s=n(9274),c=n(5909),p=n(4915),u=n(6627),d=n(3741),f=n(8310),h=n.n(f),m=n(2394),y=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(){return v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},v.apply(this,arguments)},g=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},b=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.defaultLayers=["circles","labels"],t}var n,r;return y(t,e),t.prototype.getEllipsedLabel=function(e,n){var r=Math.round(1.5*e/t.ESTIMATED_LETTER_PIXELS);return(0,m.Hp)(n,r)},t.prototype.renderColor=function(e){var t,n,r,o;return null!==(o=null===(n=null===(t=null==this?void 0:this.props)||void 0===t?void 0:t.colors)||void 0===n?void 0:n[String(null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.id)])&&void 0!==o?o:l.p5},t.prototype.getLabel=function(e){return this.getEllipsedLabel(e.radius,e.data.label)},t.prototype.renderContent=function(){var e=this.props,t=e.id,n=e.isCanvas,r=e.fontSize,o={layers:this.defaultLayers,margin:{top:0,right:0,bottom:0,left:0},data:this.props.data,colors:this.renderColor,id:"".concat(t,"-component"),padding:4,leavesOnly:!0,tooltip:this.props.renderTooltip,enableLabels:!0,labelTextColor:"white",label:this.getLabel,value:this.props.dataValueKey};if(n){var i={fontSize:r,background:"#fff"};return a().createElement(d.ResponsiveCirclePackingCanvas,v({},o,{theme:i}))}return a().createElement(d.ResponsiveCirclePacking,v({},o))},t.prototype.render=function(){var e,t,n=this.props,r=n.id,o=n.className,i=n.chartRef,l=n.size,s=null!==(e=null==l?void 0:l.width)&&void 0!==e?e:"100%",c=null!==(t=null==l?void 0:l.height)&&void 0!==t?t:"100%",p=h()("bubble-chart-container d-flex justify-content-center align-items-center",o);return a().createElement("div",{id:r,className:p,ref:i,style:{width:s,height:c}},this.renderContent())},t.displayName="BubbleChartUI",t.ESTIMATED_LETTER_PIXELS=6.2,t.defaultProps={labelSkipRadius:17,dataValueKey:"significance"},g([u.MR,b("design:type",Function),b("design:paramtypes",["function"==typeof(n=void 0!==d.ComputedDatum&&d.ComputedDatum)?n:Object]),b("design:returntype",String)],t.prototype,"renderColor",null),g([u.MR,b("design:type",Function),b("design:paramtypes",["function"==typeof(r=void 0!==d.ComputedDatum&&d.ComputedDatum)?r:Object]),b("design:returntype",String)],t.prototype,"getLabel",null),t}(a().PureComponent),E=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)},C=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},x=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.shouldComponentUpdate=function(e){return!(0,p.vZ)(this.props,e)},t.prototype.getComponentSetup=function(){var e,n,r,o,i=this.props,a=i.otherId,l=i.maxBubbleNumber,u=i.data,d=i.id,f=i.numberToStringFormatter,h=i.isCanvas,m=i.total,y=x([],C(null!=u?u:[]),!1),v=null!==(e=this.props.dataValueKey)&&void 0!==e?e:t.defaultDataValueKey,g=null==this.props.maxBubbleNumber?y.sort((0,p.kV)(v)):(0,c.xG)(y,a,a,l,m,v),b=this.computeColors(g),w=null==b?void 0:b.reduce((function(e,t,n){return e[String(g[n].id)]=t,e}),{}),E=null==l?g:g.slice(0,g.length-1);return{isCanvas:h,colors:w,numberToStringFormatter:f,renderTooltip:null!==(n=this.props.renderTooltip)&&void 0!==n?n:(0,s.getRenderStatisticsTooltip)({tooltipDataLabelKey:null!==(o=null===(r=this.props)||void 0===r?void 0:r.dataValueKey)&&void 0!==o?o:t.defaultDataValueKey,tooltipDataTitleKey:"label",otherId:this.props.otherId,numberToStringFormatter:this.props.numberToStringFormatter,withColor:!0}),data:{children:E,value:0,label:d}}},t.prototype.computeColors=function(e){var t;return null===(t=(0,l.vA)(e.length,this.props.colors))||void 0===t?void 0:t.reverse()},t.prototype.render=function(){var e=this.props,t=e.id,n=e.className,r=e.chartRef,o=e.size,i=e.labelSkipRadius,l=e.fontSize;return a().createElement(w,O({},this.getComponentSetup(),{id:t,chartRef:r,className:n,size:o,labelSkipRadius:i,fontSize:l}))},t.defaultDataValueKey="significance",t.displayName="BubbleChart",t.defaultProps={colors:[l.KH,l.p5],dataValueKey:t.defaultDataValueKey},t}(a().Component)},4397:(e,t,n)=>{"use strict";n.d(t,{z:()=>h});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(8926),c=n.n(s),p=n(5692),u=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.renderIcon=function(e){return null==e?null:i().createElement(p.FontAwesomeIcon,{icon:e})},t.prototype.renderChildren=function(e){return null==e?null:i().createElement("span",{className:"btn-children"},e)},t.prototype.renderLeftSide=function(e,t){return null==e?null==t?null:i().createElement(p.FontAwesomeIcon,{icon:t,className:"invisible"}):i().createElement(p.FontAwesomeIcon,{icon:e})},t.prototype.renderRightSide=function(e,t){return null==t?null==e?null:i().createElement(p.FontAwesomeIcon,{icon:e,className:"invisible"}):i().createElement(p.FontAwesomeIcon,{icon:t})},t.prototype.renderContent=function(e,t){return null!=e&&null==t?this.renderIcon(e):i().createElement("div",{className:"button-content-center-container"},this.renderIcon(e),this.renderChildren(t))},t.prototype.render=function(){var e=this.props,t=e.icon,n=e.iconLeft,r=e.iconRight,o=e.children,a=e.size,s=e.className,p=f(e,["icon","iconLeft","iconRight","children","size","className"]),u=l()("atoka-btn","btn-".concat(a),s,{"btn-icon-only":null!=this.props.icon&&null==this.props.children});return i().createElement(c(),d({className:u},p),this.renderLeftSide(n,r),this.renderContent(t,o),this.renderRightSide(n,r))},t.displayName="Button",t.defaultProps={variant:"primary",size:"md",disabled:!1,block:!1},t}(i().PureComponent)},7325:(e,t,n)=>{"use strict";n.d(t,{Button:()=>r.z});var r=n(4397)},5478:(e,t,n)=>{"use strict";n.d(t,{ButtonDropdown:()=>y});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(6627),c=n(9153),p=n(1711),u=n(7325),d=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},h=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrapperRef=i().createRef(),t.state={isButtonDropdownOpen:!1},t}return d(t,e),t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleClickOutside)},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleClickOutside)},t.prototype.handleClickOutside=function(e){var t,n;(null===(n=null===(t=this.wrapperRef)||void 0===t?void 0:t.current)||void 0===n?void 0:n.contains(e.target))||this.setState({isButtonDropdownOpen:!1})},t.prototype.onToggle=function(){this.setState({isButtonDropdownOpen:!this.state.isButtonDropdownOpen})},t.prototype.renderChildren=function(){return!0!==this.state.isButtonDropdownOpen?null:i().createElement("ul",{className:"dropdown-content"},this.props.children)},t.prototype.render=function(){var e=l()(this.props.className,"atoka-button-dropdown","position-relative","dropdown-".concat(this.props.size),"dropdown-primary",{"dropdown-is-open":this.state.isButtonDropdownOpen});return i().createElement("div",{className:e,ref:this.wrapperRef},i().createElement(u.Button,f({},this.props,{onClick:this.onToggle,block:!0,iconRight:this.state.isButtonDropdownOpen?c.faChevronUp:p.faChevronDown}),this.props.toggleText),this.renderChildren())},t.displayName="ButtonDropdown",t.defaultProps=u.Button.defaultProps,h([s.ZP,m("design:type",Function),m("design:paramtypes",[Object]),m("design:returntype",void 0)],t.prototype,"handleClickOutside",null),h([s.ZP,m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],t.prototype,"onToggle",null),t}(i().Component)},1907:(e,t,n)=>{"use strict";n.d(t,{CardsPage:()=>ye});var r=n(8156),o=n.n(r),i=n(4394),a=n.n(i),l=n(1294),s=n(3915),c=n.n(s),p=n(5315),u=n.n(p),d=n(4915),f=o().memo((function(e){return o().createElement("div",{className:"cards-page-fulltext mt-3"},e.children)}));f.displayName="CardsPageFullText";var h=o().memo((function(e){return o().createElement("div",{className:"cards-page-filters d-flex flex-column flex-lg-row"},e.children)}));h.displayName="CardsPageItemFilter";var m=n(3642),y=function(e){return o().createElement(m.l.Checkbox,{disabled:e.isDisabled,className:"checkbox-container mt-2",label:e.label,onChange:e.onToggle,checked:e.isChecked,id:"allow-selection"})};y.displayName="CardsPageSelectionToggler";var v,g=n(8310),b=n.n(g),w=n(188),E=(v=function(e,t){return v=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])},v(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)},C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return E(t,e),t.prototype.getOptions=function(){var e=this,t=this.props.options;if(null==t)return[];var n=[];return t.constructor===Object&&(n=Object.keys(t).reduce((function(e,n){return e.push({value:n,label:t[n]}),e}),[])),null==n?void 0:n.map((function(t){return O(O({},t),{disabled:t.value===e.props.sortValue})}))},t.prototype.render=function(){var e=b()("w-30 flex-grow-1",this.props.className);return o().createElement("span",{className:"d-flex align-items-center"},null==this.props.label&&o().createElement(m.l.Label,{className:"mr-2 mb-0"},this.props.label),o().createElement(w.SelectDropdown,{disabled:this.props.isDisabled,size:"md",className:e,options:this.getOptions(),selected:this.props.sortValue,onSelect:this.props.onSortValueSelect}))},t.displayName="CardsPageSorting",t}(o().PureComponent),x=n(1654),P=n(5797),N=n(7325),S=n(4603),j=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){var e=this;return o().createElement("div",{className:"cards-page-layout-mode-container d-flex align-items-center ml-md-3"},o().createElement(S.Tooltip,{placement:"top",content:this.props.btnGridLabel},o().createElement("div",null,o().createElement(N.Button,{variant:"tertiary",disabled:this.props.isDisabled,className:b()("btn-show-as-grid",{"text-muted":"grid"!==this.props.selected}),icon:P.faTh,onClick:function(){return e.props.onSet("grid")}}))),o().createElement(S.Tooltip,{placement:"top",content:this.props.btnListLabel},o().createElement("div",null,o().createElement(N.Button,{variant:"tertiary",disabled:this.props.isDisabled,className:b()("btn-show-as-list",{"text-muted":"list"!==this.props.selected}),icon:x.faList,onClick:function(){return e.props.onSet("list")}}))))},t.displayName="CardsPageLayoutMode",t}(o().PureComponent),T=n(3932),k=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.render=function(){return this.props.areItemsSelectable?o().createElement("div",{className:"cards-page-selection-action my-3 p-3"},o().createElement("div",{className:"d-flex justify-content-between align-items-center mb-3"},o().createElement(T.Title,{size:"sm"},this.props.title),o().createElement("div",null,o().createElement(N.Button,{variant:"tertiary",onClick:this.props.onSelectAll},this.props.selectAllLabel),o().createElement(N.Button,{variant:"tertiary",onClick:this.props.onUnselectAll,className:"ml-3"},this.props.unselectAllLabel))),o().createElement("div",{className:"d-flex justify-content-between align-items-center"},o().createElement("div",{className:"d-flex flex-wrap align-items-center selection-action-button-and-warning"},this.props.children),o().createElement(N.Button,{variant:"tertiary",onClick:this.props.onCancel},this.props.cancelLabel))):null},t.displayName="CardsPageSelectionActions",t}(o().PureComponent),M=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){return this.props.children},t.displayName="RowCardLayoutHeader",t}(o().PureComponent),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){return this.props.children},t.displayName="RowCardLayoutContent",t}(o().PureComponent),F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){return null==this.props.children?null:o().createElement(u(),{className:"ml-auto",xs:3},this.props.children)},t.displayName="RowCardLayoutActions",t}(o().PureComponent),L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return M(t,e),t.prototype.render=function(){return o().createElement(c(),{className:"align-items-center"},o().createElement(u(),null,(0,d.z8)(this.props.children,D)),(0,d.z8)(this.props.children,I),(0,d.z8)(this.props.children,F))},t.displayName="RowCardLayout",t.Header=D,t.Content=I,t.Actions=F,t}(o().PureComponent),A=n(1469),B=n(6627),z=n(2494),V=n.n(z),q=n(3808),Z=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Z(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderCheckbox=function(){return this.props.isSelectable?o().createElement("span",{onClick:this.stopPropagation},o().createElement(m.l.Checkbox,{className:"checkbox-container mb-0",onChange:this.props.onSelect,checked:this.props.isSelected,id:String(this.props.id)})):null},t.prototype.render=function(){return o().createElement("div",{className:"card-title d-flex m-0 align-items-center"},this.renderCheckbox(),(0,d.z8)(this.props.children,q.l))},t.displayName="RowCardHeader",t}(o().PureComponent),H=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return H(t,e),t.prototype.renderCell=function(e,t){return o().createElement(u(),{key:"row-card-content-cell-".concat(t),className:"d-none d-lg-block text-truncate",xs:3},e)},t.prototype.render=function(){var e;return(null!==(e=this.props.cellValues)&&void 0!==e?e:[]).map(this.renderCell)},t.displayName="RowCardContent",t}(o().PureComponent),W=n(2031),U=function(){return U=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},U.apply(this,arguments)},X=o().memo((function(e){return o().createElement(W.$,U({className:"ml-2"},e))}));X.displayName="RowCardMenu";var J=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return J(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderOtherChildren=function(){var e=[];return o().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==X&&e.push(t)})),0===e.length?null:o().createElement("div",{className:"w-100 d-flex align-items-center justify-content-end",onClick:this.stopPropagation},e)},t.prototype.render=function(){return o().createElement("div",{className:"row-card-actions text-right"},o().createElement("div",{className:"d-flex align-items-center justify-content-end"},this.renderOtherChildren(),o().createElement("span",null,(0,d.z8)(this.props.children,X))))},t.displayName="RowCardActions",t}(o().PureComponent),Y=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Q=function(){return Q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Q.apply(this,arguments)},ee=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},te=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Y(t,e),t.prototype.handleClick=function(){this.props.onSelect&&this.props.onSelect()},t.prototype.render=function(){var e=b()("row-card mb-2",this.props.className,{"is-selectable cursor-pointer":this.props.isSelectable});return o().createElement(V(),{className:e,onClick:this.handleClick},o().createElement(L,null,o().createElement(L.Header,null,o().createElement(G,Q({},this.props),(0,d.z8)(this.props.children,q.l))),o().createElement(L.Content,null,(0,d.z8)(this.props.children,K)),o().createElement(L.Actions,null,(0,d.z8)(this.props.children,$))))},t.displayName="RowCard",t.Header=G,t.Title=q.l,t.Menu=X,t.Content=K,t.Actions=$,t.defaultProps={isSelected:!1,isSelectable:!1,id:"".concat(Math.random())},ee([B.ZP,te("design:type",Function),te("design:paramtypes",[]),te("design:returntype",void 0)],t.prototype,"handleClick",null),t}(o().PureComponent),re=o().memo((function(e){var t=e.children,n=e.emptyStateMessage,r=e.layoutMode,i=e.headerLabel,a=e.rowContentLabels,l=void 0===a?[]:a,s=e.hasRowActions;return null==t?o().createElement("div",{className:"pt-4 pb-5"},o().createElement(A.EmptyState,null,n)):"list"===r?o().createElement(c(),{className:"row-header-cell"},o().createElement(u(),{xs:24,className:"row-content-labels"},o().createElement("div",{className:"px-3 pb-2"},o().createElement(L,null,o().createElement(L.Header,null,i),o().createElement(L.Content,null,o().createElement(ne.Content,{cellValues:l}),s?o().createElement(u(),{xs:3}):null)))),t):o().createElement(c(),{xs:1,sm:2,md:2,lg:3,xl:4},t)}));re.displayName="CardsPageCards";var oe=function(e){return o().createElement("div",{className:"cards-page-cards-counter mr-5"},e.count," ",e.label)};oe.displayName="CardsPageCardsCounter";var ie=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ie(t,e),t.prototype.renderOtherChildren=function(){var e=[];return o().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==f&&(null==t?void 0:t.type)!==h&&(null==t?void 0:t.type)!==oe&&(null==t?void 0:t.type)!==y&&(null==t?void 0:t.type)!==C&&(null==t?void 0:t.type)!==_&&(null==t?void 0:t.type)!==R&&e.push(t)})),0===e.length?null:e},t.prototype.render=function(){return o().createElement(o().Fragment,null,(0,d.z8)(this.props.children,f),o().createElement("div",{className:"cards-page-sub-filters mt-3 mb-3"},o().createElement(c(),null,o().createElement(u(),{xl:18},(0,d.z8)(this.props.children,h)),o().createElement(u(),{xl:6,className:"mt-3 mt-xl-0"},o().createElement("div",{className:"cards-page-sub-filters-right d-flex flex-column flex-sm-row align-items-start justify-content-end"},(0,d.z8)(this.props.children,C),(0,d.z8)(this.props.children,_))))),o().createElement("div",{className:"d-flex mb-3"},(0,d.z8)(this.props.children,oe),(0,d.z8)(this.props.children,y)),(0,d.z8)(this.props.children,R),this.renderOtherChildren())},t.displayName="CardsPageTabContent",t.FullText=f,t.Filters=h,t.CardsCounter=oe,t.SelectionToggler=y,t.Sorting=C,t.LayoutMode=_,t.SelectionActions=R,t.Cards=re,t}(o().PureComponent),le=n(994),se=o().memo((function(e){var t=e.children;return o().createElement(le.r,{fullWidth:!0},t)}));se.displayName="CardsPageTabSwitcher";var ce=n(38),pe=o().memo((function(e){return o().createElement(ce.D,{size:"lg",className:"cards-page-title"},e.children)}));pe.displayName="CardsPageTitle";var ue=o().memo((function(e){return o().createElement(ce.D,{size:"sm",className:"cards-page-subtitle"},e.children)}));ue.displayName="CardsPageSubtitle";var de=o().memo((function(e){return o().createElement("div",{className:"cards-page-actions d-flex align-items-center"},e.children)}));de.displayName="CardsPageActions";var fe=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return fe(t,e),t.prototype.render=function(){return o().createElement("div",{className:"cards-page-header d-flex justify-content-between align-items-start pt-3"},o().createElement("div",null,(0,d.z8)(this.props.children,pe),(0,d.z8)(this.props.children,ue)),o().createElement("div",{className:"cards-page-header d-flex justify-content-end"},(0,d.z8)(this.props.children,de)))},t.displayName="CardsPageHeader",t.Title=pe,t.Subtitle=ue,t.Actions=de,t}(o().PureComponent),me=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return me(t,e),t.prototype.render=function(){return o().createElement(l.Bs4V3Wrapper,null,o().createElement(a(),{className:"cards-page-container"},this.props.children))},t.displayName="CardsPage",t.Header=he,t.TabSwitcher=se,t.TabContent=ae,t}(o().PureComponent)},3871:(e,t,n)=>{"use strict";n.d(t,{CursorPagination:()=>v});var r,o=n(6627),i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=n(9924),p=n.n(c),u=n(4915),d=n(9255),f=n(8385),h=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.handlePreviousPage=function(){null!=this.props.previousPage&&(this.props.onSetPage(this.props.previousPage),(0,u.k3)())},t.prototype.handleNextPage=function(){null!=this.props.nextPage&&(this.props.onSetPage(this.props.nextPage),(0,u.k3)())},t.prototype.renderPrev=function(){return null==this.props.previousPage?null:s().createElement(d.K,{handlePrevPage:this.handlePreviousPage})},t.prototype.renderNext=function(){return null==this.props.nextPage?null:s().createElement(f.$,{handleNextPage:this.handleNextPage})},t.prototype.render=function(){if(null==this.props.previousPage&&null==this.props.nextPage)return null;var e=a()(this.props.className,"atoka-pagination","justify-content-center align-items-center");return s().createElement(p(),{className:e},this.renderPrev(),this.renderNext())},t.displayName="CursorPagination",m([o.ZP,y("design:type",Function),y("design:paramtypes",[]),y("design:returntype",void 0)],t.prototype,"handlePreviousPage",null),m([o.ZP,y("design:type",Function),y("design:paramtypes",[]),y("design:returntype",void 0)],t.prototype,"handleNextPage",null),t}(s().PureComponent)},1514:(e,t,n)=>{"use strict";n.d(t,{DatePicker:()=>m});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(4731),c=n.n(s),p=n(6627),u=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},f=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},h=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},m=function(e){function t(t){var n,r;return n=e.call(this,t)||this,(null!==(r=null==t?void 0:t.preLoadedLocales)&&void 0!==r?r:[]).forEach((function(e){return(0,s.registerLocale)(e.localeName,e.localeData)})),n}return u(t,e),t.prototype.handleChange=function(e,t){var n;null===(n=null==t?void 0:t.persist)||void 0===n||n.call(t),this.props.onChange(e,t)},t.prototype.render=function(){var e=i()("atoka-date-picker",this.props.className,{block:this.props.block,"is-invalid":this.props.isInvalid,"with-shadow":this.props.withShadow});return l().createElement("div",{className:e},l().createElement(c(),d({},this.props,{onChange:this.handleChange})))},t.displayName="DatePicker",t.defaultProps={withShadow:!0,disabledKeyboardNavigation:!0,autoFocus:!1},f([p.MR,h("design:type",Function),h("design:paramtypes",[Object,Object]),h("design:returntype",void 0)],t.prototype,"handleChange",null),t}(l().Component)},4716:(e,t,n)=>{"use strict";n.d(t,{DetailPage:()=>T});var r,o=n(8156),i=n.n(o),a=n(4394),l=n.n(a),s=n(3915),c=n.n(s),p=n(5315),u=n.n(p),d=n(1294),f=n(4915),h=n(577),m=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.render=function(){return i().createElement("div",{className:"detail-page-header-container"},i().createElement(h.FadeAnimation,null,i().createElement(l(),null,this.props.children)))},t.displayName="DetailPageHeaderContainer",t}(i().PureComponent),v=n(573),g=n.n(v),b=function(e){return i().createElement("div",{className:"atoka-detail-page-menu"},i().createElement(g(),{className:"flex-column"},e.children))};b.displayName="DetailPageMenuUI";var w=function(e){return i().createElement("div",{className:"atoka-detail-page-sub-menu"},e.children)};w.displayName="DetailPageSubMenu";var E=function(e){return i().createElement(u(),null,e.children)};E.displayName="DetailPageBodyContainer";var O=n(6216),C=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.render=function(){var e,t;return this.props.isLoading?i().createElement("div",{className:"user-pages-spinner-container d-flex h-100 justify-content-center align-items-center"},i().createElement(O.Spinner,{size:O.SpinnerSize.small})):i().createElement(c(),null,i().createElement(u(),{xs:null!==(e=this.props.leftColumns)&&void 0!==e?e:4},this.props.leftContent),i().createElement(u(),{className:"h-100 align-items-center"},this.props.children),i().createElement(u(),{xs:null!==(t=this.props.rightColumns)&&void 0!==t?t:4},this.props.rightContent))},t.displayName="DetailPageHeaderUI",t}(i().PureComponent),P=function(e){return i().createElement(u(),{xs:4},e.children)};P.displayName="DetailPageMenuContainer";var N=n(8310),S=n.n(N),j=function(e){var t,n=S()("atoka-detail-page-body-section",((t={})["custom-size size-".concat(e.size)]=null!=e.size,t));return i().createElement("div",{className:n},e.children)};j.displayName="DetailPageBodySection";var _=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(t){(null==t?void 0:t.type)!==P&&(null==t?void 0:t.type)!==y&&(null==t?void 0:t.type)!==E&&e.push(t)})),0===e.length?null:i().createElement(u(),null,e)},t.prototype.render=function(){return i().createElement(d.Bs4V3Wrapper,null,i().createElement("div",{className:"atoka-detail-page-container"},(0,f.z8)(this.props.children,y),i().createElement(l(),null,i().createElement(c(),null,(0,f.z8)(this.props.children,P),(0,f.z8)(this.props.children,E)),this.renderOtherChildren())))},t.displayName="DetailPage",t.HeaderContainer=y,t.HeaderUI=x,t.MenuContainer=P,t.MenuUI=b,t.SubMenu=w,t.BodyContainer=E,t.BodySection=j,t}(i().PureComponent)},192:(e,t,n)=>{"use strict";n.d(t,{AtokaCustomDropdownToggle:()=>_,AtokaCustomDropdownToggleWithChevron:()=>T,AtokaSimpleDropdownToggle:()=>j,Dropdown:()=>y,DropdownMenu:()=>d});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(4976),c=n.n(s),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=l()("atoka-dropdown-menu",this.props.className,this.props.size);return i().createElement(c().Menu,u({},this.props,{className:e}),this.props.children)},t.displayName="DropdownMenu",t.defaultProps={size:"sm"},t}(i().PureComponent),f=i().memo((function(e){var t=e.children;return i().createElement("div",{className:"atoka-dropdown-section"},t,i().createElement(y.Divider,null))}));f.displayName="DropdownSection";var h=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){var e=l()(this.props.className,"atoka-dropdown");return i().createElement(c(),m({},this.props,{className:e}),this.props.children)},t.displayName="DropDown",t.Toggle=c().Toggle,t.Menu=d,t.Item=c().Item,t.Divider=c().Divider,t.Header=c().Header,t.Section=f,t}(i().PureComponent),v=n(6627),g=n(3041),b=n(1349),w=n(7325),E=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},C=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};function x(e,t){var n=i().forwardRef((function(e,n){return i().createElement("div",{ref:n},i().createElement(t,{disabled:e.disabled,onClick:e.onClick},e.children))}));return n.displayName=e,n}var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return E(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){return i().createElement(w.Button,{variant:"secondary",size:"xs",icon:g.faEllipsisH,onClick:this.props.disabled?void 0:this.handleClick,disabled:this.props.disabled})},t.displayName="AtokaSimpleDropdownToggleComponent",O([v.ZP,C("design:type",Function),C("design:paramtypes",["function"==typeof(n=void 0!==i()&&i().SyntheticEvent)?n:Object]),C("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return E(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){return i().createElement("div",{className:"atoka-dropdown-toggle",onClick:this.props.disabled?void 0:this.handleClick},this.props.children)},t.displayName="AtokaCustomDropdownToggleComponent",O([v.ZP,C("design:type",Function),C("design:paramtypes",["function"==typeof(n=void 0!==i()&&i().SyntheticEvent)?n:Object]),C("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return E(t,e),t.prototype.handleClick=function(e){e.preventDefault(),this.props.onClick(e)},t.prototype.render=function(){var e=l()({"atoka-dropdown-toggle":!0,disabled:this.props.disabled});return i().createElement("div",{className:e,onClick:this.props.disabled?void 0:this.handleClick},this.props.children,i().createElement("div",{className:"chevron-container"},i().createElement(w.Button,{variant:"tertiary",size:"md",icon:b.faChevronDown})))},t.displayName="AtokaCustomDropdownToggleWithChevronComponent ",O([v.ZP,C("design:type",Function),C("design:paramtypes",["function"==typeof(n=void 0!==i()&&i().SyntheticEvent)?n:Object]),C("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().Component),j=x("AtokaSimpleDropdownToggle",P),_=x("AtokaCustomDropdownToggle",N),T=x("AtokaCustomDropdownToggleWithChevron",S)},4894:(e,t,n)=>{"use strict";n.d(t,{EditableString:()=>N});var r=n(6627),o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(9114),c=n(7038),p=n(32);var u=n(7581),d=n(3493);function f(e,t){var n=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),n}function h(e,t,n){return null!=n[t]?n[t]:e.props[t]}function m(e,t,n){var r=f(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var l=o[i];if((0,a.isValidElement)(l)){var s=i in t,c=i in r,p=t[i],u=(0,a.isValidElement)(p)&&!p.props.in;!c||s&&!u?c||!s||u?c&&s&&(0,a.isValidElement)(p)&&(o[i]=(0,a.cloneElement)(l,{onExited:n.bind(null,l),in:p.props.in,exit:h(l,"exit",e),enter:h(l,"enter",e)})):o[i]=(0,a.cloneElement)(l,{in:!1}):o[i]=(0,a.cloneElement)(l,{onExited:n.bind(null,l),in:!0,exit:h(l,"exit",e),enter:h(l,"enter",e)})}})),o}var y=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},v=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,u.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,f(n.children,(function(e){return(0,a.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:h(e,"appear",n),enter:h(e,"enter",n),exit:h(e,"exit",n)})}))):m(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=f(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,p.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,c.Z)(e,["component","childFactory"]),o=this.state.contextValue,i=y(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?l().createElement(d.Z.Provider,{value:o},i):l().createElement(d.Z.Provider,{value:o},l().createElement(t,r,i))},t}(l().Component);v.propTypes={},v.defaultProps={component:"div",childFactory:function(e){return e}};const g=v;var b,w=n(6466),E=n(2599),O=n(7325),C=(b=function(e,t){return b=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])},b(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},P=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isEditing:!1,currentValue:t.props.value},t}return C(t,e),t.prototype.componentDidUpdate=function(e){e.value!==this.props.value&&this.setState({currentValue:this.props.value})},t.prototype.handleClick=function(){this.state.isEditing||this.setState({isEditing:!0})},t.prototype.handleCancel=function(){this.setState({isEditing:!1}),null!=this.props.onCancel&&this.props.onCancel()},t.prototype.handleSave=function(e){var t=this;this.state.isEditing&&(this.props.onSave(e),setTimeout((function(){return t.setState({isEditing:!1})}),10))},t.prototype.handleChange=function(e){null==this.props.onChange?this.setState({currentValue:e}):this.props.onChange(e)},t.prototype.renderEditingContent=function(){return l().createElement(s.Z,{classNames:"editable-string",timeout:{enter:400,exit:400},key:"editing"},l().createElement("div",{className:"editable-string-editing w-100"},l().createElement(E.M,{value:this.state.currentValue,onCancel:this.handleCancel,onSave:this.handleSave,onChange:this.handleChange,useIcons:this.props.useIcons,minLength:this.props.minLength,maxLength:this.props.maxLength,getIsSaveDisabled:this.props.getIsSaveDisabled,options:this.props.options,inputType:this.props.inputType,getError:this.props.getError,help:this.props.help})))},t.prototype.renderShownValue=function(){var e=this.props,t=e.value,n=e.shownValue;return null!=n?n:null==t?null:"string"==typeof t?t:t.label},t.prototype.renderContent=function(){return this.state.isEditing?this.renderEditingContent():l().createElement(s.Z,{classNames:"editable-string",timeout:{enter:400,exit:400},key:"viewing"},l().createElement("div",{className:"editable-string-viewing w-100",onClick:this.handleClick},this.renderShownValue(),l().createElement(O.Button,{icon:w.faPencil,className:"edit-icon",variant:"tertiary"})))},t.prototype.render=function(){var e=i()(this.props.className,"editable-string-container");return l().createElement(g,{className:e},this.renderContent())},t.displayName="EditableString",x([r.ZP,P("design:type",Function),P("design:paramtypes",[]),P("design:returntype",void 0)],t.prototype,"handleClick",null),x([r.ZP,P("design:type",Function),P("design:paramtypes",[]),P("design:returntype",void 0)],t.prototype,"handleCancel",null),x([r.ZP,P("design:type",Function),P("design:paramtypes",[String]),P("design:returntype",void 0)],t.prototype,"handleSave",null),x([r.ZP,P("design:type",Function),P("design:paramtypes",[String]),P("design:returntype",void 0)],t.prototype,"handleChange",null),t}(l().PureComponent)},7045:(e,t,n)=>{"use strict";n.d(t,{G:()=>m});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(4603),c=n(4915),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},d=function(e){return l().createElement("div",{className:"ellipsable-content-prepend"},e.children)};d.displayName="EllipsableContent.Prepend";var f=function(e){return l().createElement("div",{className:"ellipsable-content-append"},e.children)};f.displayName="EllipsableContent.Append";var h=function(e){var t=l().createElement("div",{className:"ellipsable-content-content"},e.children);return null==e.tooltip?t:l().createElement(s.Tooltip,u({},e.tooltipProps,{content:e.tooltip}),t)};h.displayName="EllipsableContent.Content";var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.renderFullContent=function(){var e=(0,c.z8)(this.props.children,t.Prepend),n=(0,c.z8)(this.props.children,t.Content),r=(0,c.z8)(this.props.children,t.Append);return null!=n||null==e&&null==r?(null==n&&(n=l().createElement(t.Content,null,this.props.children)),null!=this.props.tooltip&&(n=l().createElement(n.type,u({},n.props,{tooltip:this.props.tooltip,tooltipProps:this.props.tooltipProps}))),l().createElement(l().Fragment,null,e,n,r)):(console.error("You must set a .Content alongside the .Append or .Prepend"),null)},t.prototype.render=function(){var e=i()("ellipsable-content-container align-items-center",this.props.className,{"ellipsable-with-tooltip":null!=this.props.tooltip}),t=this.renderFullContent();return null==t?null:l().createElement("div",{className:e,style:this.props.style},t)},t.displayName="EllipsableContent",t.Prepend=d,t.Append=f,t.Content=h,t}(l().PureComponent)},9319:(e,t,n)=>{"use strict";n.d(t,{EllipsableContent:()=>r.G});var r=n(7045)},1469:(e,t,n)=>{"use strict";n.d(t,{EmptyState:()=>u});var r,o=n(8156),i=n.n(o),a=n(5692),l=n(3402),s=n(8310),c=n.n(s),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){return i().createElement("div",{className:c()("atoka-empty-state",this.props.className)},i().createElement("div",{className:"mb-2"},i().createElement(a.FontAwesomeIcon,{icon:l.faEmptySet})),this.props.children)},t.displayName="EmptyState",t}(i().PureComponent)},2950:(e,t,n)=>{"use strict";n.d(t,{M:()=>l});var r=n(8310),o=n.n(r),i=n(8156),a=n.n(i),l=a().memo((function(e){var t=o()("facet-item-count",e.className);return a().createElement("div",{className:t},e.value)}));l.displayName="FacetItemCount"},7741:(e,t,n)=>{"use strict";n.d(t,{Facet:()=>T});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(3932),c=n(2394),p=n(4997),u=n(6988),d=n(5692),f=n(6627),h=n(3908),m=n.n(h),y=n(1968),v=n.n(y),g=n(6514),b=n.n(g),w=n(2705),E=n(3987),O=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},x=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},P={modifiers:[{name:"preventOverflow",options:{rootBoundary:"viewport"}}]},N=function(e){function t(t){var n=e.call(this,t)||this;return n.helpIconRef=l().createRef(),n.facetHelpRef=l().createRef(),n.state={isShown:!1},n}var n;return O(t,e),t.prototype.handleTogglePopover=function(e){e.stopPropagation(),this.setState({isShown:!this.state.isShown})},t.prototype.renderPopoverTitle=function(){return null==this.props.title?null:l().createElement(v().Title,{className:"popover-title d-flex justify-content-between",bsPrefix:"atoka"},l().createElement(s.Title,{size:"sm"},this.props.title),l().createElement("button",{className:"close align-middle",onClick:this.handleTogglePopover},l().createElement(d.FontAwesomeIcon,{size:"sm",icon:u.faTimes})))},t.prototype.renderPopover=function(){var e=this.props.children,t=Array.isArray(e)&&e.length>1,n=i()({"help-carousel":!0,"hidden-controls":!t});return l().createElement(v(),{id:this.props.trackingName,className:"bs4-v3 help-popover-v3 help-popover-container"},this.renderPopoverTitle(),l().createElement(v().Content,null,l().createElement(b(),{controls:t,indicators:t,className:n,onClick:function(e){return e.stopPropagation()},nextIcon:l().createElement(d.FontAwesomeIcon,{icon:E.faChevronRight,size:"xs"}),prevIcon:l().createElement(d.FontAwesomeIcon,{icon:w.faChevronLeft,size:"xs"})},e)))},t.prototype.render=function(){return null==this.props.title&&null==this.props.children?null:l().createElement("span",{className:"facet-help-v3 help-container"},l().createElement("span",{className:"help-icon-container"},l().createElement("span",{ref:this.helpIconRef,onClick:this.handleTogglePopover},l().createElement(d.FontAwesomeIcon,{size:"sm",icon:p.faInfoCircle}))),l().createElement(m(),{target:this.helpIconRef.current,placement:"right",show:this.state.isShown,container:this.facetHelpRef.current,popperConfig:P},this.renderPopover()))},t.displayName="FacetHelp",C([f.ZP,x("design:type",Function),x("design:paramtypes",["function"==typeof(n=void 0!==l()&&l().MouseEvent)?n:Object]),x("design:returntype",void 0)],t.prototype,"handleTogglePopover",null),t}(l().Component),S=n(2950),j=l().memo((function(e){var t=e.children;return l().createElement(s.Title,{className:"color-gray-400 mb-1",size:"xs"},t)}));j.displayName="FacetSubtitle";var _=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.renderItemCount=function(){var e=this.props.badgeItemsCount;return null==e||0===e?null:l().createElement(S.M,{value:e})},t.prototype.renderTitle=function(){var e;return(0,c.Wq)(null!==(e=this.props.title)&&void 0!==e?e:null)?null:l().createElement("div",{className:"facet-header-title-container"},l().createElement("div",{className:"align-items-center"},l().createElement(s.Title,{size:"sm"},l().createElement("strong",null,this.props.title),this.props.help)))},t.prototype.renderHeader=function(){var e,t=this.renderTitle(),n=this.renderItemCount();if(null==t&&null==n)return null;var r=i()("facet-header",{"bg-transparent position-absolute":(0,c.Wq)(null!==(e=this.props.title)&&void 0!==e?e:null)});return l().createElement("div",{className:r},this.renderTitle(),this.renderItemCount())},t.prototype.renderContent=function(){var e,t=i()("facet-body",{"pt-3":(0,c.Wq)(null!==(e=this.props.title)&&void 0!==e?e:null)});return l().createElement("div",{className:"facet-container"},this.renderHeader(),l().createElement("div",{className:t},this.props.children))},t.prototype.render=function(){var e=i()("facet",this.props.className);return l().createElement("div",{className:e},this.renderContent())},t.displayName="Facet",t.Help=N,t.Subtitle=j,t}(l().PureComponent)},4944:(e,t,n)=>{"use strict";n.d(t,{FacetSection:()=>h});var r,o=n(1235),i=n(5037),a=n(5692),l=n(8310),s=n.n(l),c=n(8156),p=n.n(c),u=n(2950),d=n(3932),f=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.renderItemCount=function(){return!1===this.props.isCollapsed||null==this.props.badgeItemsCount||0===this.props.badgeItemsCount?null:p().createElement(u.M,{value:this.props.badgeItemsCount})},t.prototype.renderTitleAndIcon=function(){return null!=this.props.icon?p().createElement(d.Title,{size:"sm",icon:this.props.icon},this.props.title):null!=this.props.titlePrefix?p().createElement(d.Title,{size:"sm"},p().createElement("span",{className:"facet-section-title-prefix mr-2"},this.props.titlePrefix),this.props.title):p().createElement(d.Title,{size:"sm"},this.props.title)},t.prototype.renderFacetSectionTitle=function(){return p().createElement("div",{className:"facet-section-title d-flex justify-content-between",onClick:this.props.onToggleCollapsed},p().createElement("div",null,this.renderTitleAndIcon()),p().createElement("div",{className:"d-flex align-items-center"},this.renderItemCount(),p().createElement(a.FontAwesomeIcon,{icon:!0===this.props.isCollapsed?i.faPlus:o.faMinus,className:"ml-2"})))},t.prototype.renderFacets=function(){return!0===this.props.isCollapsed?null:p().createElement("div",{className:"facet-section-facet-list"},this.props.children)},t.prototype.render=function(){var e=s()("facet-section",this.props.className,{"facet-section-collapsed":this.props.isCollapsed});return p().createElement("div",{className:e},this.renderFacetSectionTitle(),this.renderFacets())},t.displayName="FacetSection",t}(p().PureComponent)},577:(e,t,n)=>{"use strict";n.d(t,{FadeAnimation:()=>s});var r,o=n(8156),i=n.n(o),a=n(9114),l=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.duration,n=e.appearDelay,r="atoka-fadein-".concat(t,"-").concat(n);return i().createElement(a.Z,{timeout:t+n,classNames:r,in:this.props.in,appear:!0},this.props.children)},t.displayName="FadeAnimation",t.defaultProps={duration:600,appearDelay:0,in:!0},t}(i().PureComponent)},9450:(e,t,n)=>{"use strict";n.d(t,{FeedbackButton:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(4397),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},c=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},p=function(e){var t,n,i=e.feedbackTimeout,p=void 0===i?5e3:i,u=e.variant,d=void 0===u?"secondary":u,f=e.feedbackType,h=void 0===f?"success":f,m=s(e,["feedbackTimeout","variant","feedbackType"]),y=c((0,r.useState)(!1),2),v=y[0],g=y[1];(0,r.useEffect)((function(){v&&setTimeout((function(){null!=m.onDone&&m.onDone(),g(!1)}),p)}),[v]);var b=a()(((t={})[null!==(n=null==m?void 0:m.className)&&void 0!==n?n:""]=!0,t["feedback-button"]=!0,t["feedback-".concat(h)]=v,t));return o().createElement(l.z,{size:m.size,iconLeft:m.iconLeft,iconRight:m.iconRight,block:m.block,href:m.href,target:m.target,className:b,icon:v?m.feedbackIcon:m.icon,variant:d,onClick:function(){v||!0===m.disabled||(g(!0),m.onClick())},disabled:v||m.disabled},v?m.feedbackLabel:m.children)};p.displayName="FeedbackButton"},3642:(e,t,n)=>{"use strict";n.d(t,{l:()=>m});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),c=n(7269),p=n(2380),u=n(5145),d=n(8672),f=n(2722),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},h.apply(this,arguments)},m=function(e){var t=a()(null==e?void 0:e.className,"atoka-form");return o().createElement(s(),h({},e,{className:t}),e.children)};m.displayName="Form",m.Control=p.N,m.Label=c.l,m.Checkbox=u.z,m.Radio=d.w,m.File=s().File,m.Switch=s().Switch,m.Help=f.y,m.Group=s().Group},5145:(e,t,n)=>{"use strict";n.d(t,{z:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,n=a()("atoka-form-checkbox",null==e?void 0:e.className);return o().createElement(s().Check,c({type:"checkbox"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormCheckbox"},2380:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(1082),s=n.n(l),c=n(7605),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},u=o().forwardRef((function(e,t){var n=e.size,r=void 0===n?"md":n,i=p(e,["size"]),l=a()("atoka-form-control",null==i?void 0:i.className,{"atoka-shadow":i.withShadow,disabled:i.disabled});return o().createElement(s(),{as:i.as,rows:i.rows,cols:i.cols,placeholder:i.placeholder,className:l,disabled:i.disabled,readOnly:i.readOnly,value:i.value,onChange:i.onChange,onKeyPress:i.onKeyPress,onKeyDown:i.onKeyDown,defaultValue:i.defaultValue,size:"md"===r?void 0:r,type:i.type,id:i.id,isValid:i.isValid,isInvalid:i.isInvalid,ref:t,autoComplete:"off"},i.children)}));u.displayName="FormControlComponent";var d=u;d.FeedBack=c.t,d.displayName="FormControl"},7605:(e,t,n)=>{"use strict";n.d(t,{t:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(1082),s=n.n(l),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=o().memo((function(e){var t=e.show,n=void 0===t||t,r=c(e,["show"]),i=a()(null==r?void 0:r.className,"atoka-form-control-feedback",{"d-block":n});return o().createElement(s().Feedback,{type:r.type,className:i},r.children)}));p.displayName=" FormControlFeedBack"},2722:(e,t,n)=>{"use strict";n.d(t,{y:()=>p});var r=n(8763),o=n.n(r),i=n(8156),a=n.n(i),l=n(8310),s=n.n(l),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=a().memo((function(e){var t=e.children,n=c(e,["children"]),r=s()("d-block",null==n?void 0:n.className);return a().createElement(o(),{bsPrefix:"atoka-form-help",className:r},t)}));p.displayName="FormHelp"},7269:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),c=o().memo((function(e){var t=a()(null==e?void 0:e.className,"atoka-form-label");return o().createElement(s().Label,{className:t},e.children)}));c.displayName="FormLabel"},8672:(e,t,n)=>{"use strict";n.d(t,{w:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(8721),s=n.n(l),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e){var t,n=a()(null==e?void 0:e.className,"atoka-form-radio");return o().createElement(s().Check,c({type:"radio"},e,{custom:!0,className:n,label:null!==(t=e.label)&&void 0!==t?t:""}))};p.displayName="FormRadio"},1862:(e,t,n)=>{"use strict";n.d(t,{Form:()=>r.l});var r=n(3642)},1219:(e,t,n)=>{"use strict";n.d(t,{Funnel:()=>x,FunnelData:()=>r.FunnelData});var r={};n.r(r),n.d(r,{o:()=>x});var o=n(8156),i=n.n(o),a=n(4915),l=n(7540),s=n(6627),c=n(9179),p=n(8310),u=n.n(p),d=n(1358),f=n(9274),h=n(2394),m=6,y=i().memo((function(e){var t,n,r,o=e.item,a=e.numberToStringFormatter,s=e.fontSize,c=void 0===s?11:s,p=null===(t=o.data)||void 0===t?void 0:t.value,u=null!==(n=o.data.label)&&void 0!==n?n:"",d=o.width/m,f=(0,h.Hp)(u,d),y=o.y1+o.y0+30,v="".concat((0,h.lV)(u),"-data-label");return i().createElement("text",{key:v,className:v,x:o.x0,y,fill:l.de},i().createElement("tspan",{fontSize:c,x:o.x0,y:y-c},f),i().createElement("tspan",{fontSize:c,fill:"black",fontWeight:"bold",x:o.x0,y:y+3},null!==(r=null==a?void 0:a(p))&&void 0!==r?r:p))}));y.displayName="SVGDataLabel";var v,g=(v=function(e,t){return v=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])},v(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},w=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.marginBottom=60,t}var n,r,o,a,l,p,h,m,v,E;return g(t,e),t.prototype.renderDataLabels=function(e){return i().createElement(i().Fragment,null,e.parts.map(this.renderSVGDataLabel))},t.prototype.renderEmptyPart=function(e){return i().createElement("line",{onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,key:"".concat(e.data.label,"-empty"),x1:e.x0,y1:e.y,x2:e.x1,y2:e.y,stroke:e.color})},t.prototype.renderEmptyParts=function(e){return i().createElement(i().Fragment,null,e.parts.map(this.renderEmptyPart))},t.prototype.renderSinkDataLabels=function(e){return i().createElement(d.StatisticsSVGLegend,{data:this.props.sinkData,x:0,y:e.height+this.marginBottom-8,valueFormat:this.props.numberToStringFormatter})},t.prototype.renderSVGDataLabel=function(e){return i().createElement(y,{key:"".concat(e.data.label,"-data"),item:e,numberToStringFormatter:this.props.numberToStringFormatter})},t.prototype.getRenderTooltip=function(e){var t,n;return(null!==(t=this.props.renderTooltip)&&void 0!==t?t:(0,f.getRenderStatisticsTooltip)({tooltipDataLabelKey:"value",tooltipDataTitleKey:"id",tooltipDataValueKey:"percentage",numberToStringFormatter:null!==(n=this.props.tooltipValueFormat)&&void 0!==n?n:this.props.numberToStringFormatter,withColor:!0}))(e.part)},t.prototype.render=function(){var e=this.props.isZeroData?[this.renderEmptyParts]:["parts"],t=u()("funnel-container w-100 h-100",this.props.className);return e.push(this.renderDataLabels,this.renderSinkDataLabels),i().createElement("div",{id:this.props.id,className:t,ref:this.props.chartRef},i().createElement(c.ResponsiveFunnel,{layers:e,shapeBlending:.25,isInteractive:!0,data:this.props.data,colors:this.props.colors,direction:"horizontal",margin:{top:0,right:0,bottom:this.marginBottom,left:0},borderWidth:1,borderOpacity:1,labelColor:{from:"color",modifiers:[["darker",3]]},enableBeforeSeparators:!1,enableAfterSeparators:!1,currentBorderWidth:0,tooltip:this.getRenderTooltip}))},t.displayName="FunnelUI",b([s.MR,w("design:type",Function),w("design:paramtypes",["function"==typeof(n=void 0!==c.FunnelCustomLayerProps&&c.FunnelCustomLayerProps)?n:Object]),w("design:returntype","function"==typeof(r="undefined"!=typeof JSX&&JSX.Element)?r:Object)],t.prototype,"renderDataLabels",null),b([s.MR,w("design:type",Function),w("design:paramtypes",["function"==typeof(o=void 0!==c.FunnelCustomLayerProps&&c.FunnelCustomLayerProps)?o:Object]),w("design:returntype","function"==typeof(a="undefined"!=typeof JSX&&JSX.Element)?a:Object)],t.prototype,"renderEmptyParts",null),b([s.MR,w("design:type",Function),w("design:paramtypes",["function"==typeof(l=void 0!==c.FunnelCustomLayerProps&&c.FunnelCustomLayerProps)?l:Object]),w("design:returntype","function"==typeof(p="undefined"!=typeof JSX&&JSX.Element)?p:Object)],t.prototype,"renderSinkDataLabels",null),b([s.MR,w("design:type",Function),w("design:paramtypes",["function"==typeof(h=void 0!==c.FunnelPartWithHandlers&&c.FunnelPartWithHandlers)?h:Object]),w("design:returntype","function"==typeof(m=void 0!==i()&&i().ReactNode)?m:Object)],t.prototype,"renderSVGDataLabel",null),b([s.MR,w("design:type",Function),w("design:paramtypes",["function"==typeof(v="undefined"!=typeof FunnelTooltipProps&&FunnelTooltipProps)?v:Object]),w("design:returntype","function"==typeof(E="undefined"!=typeof JSX&&JSX.Element)?E:Object)],t.prototype,"getRenderTooltip",null),t}(i().Component),O=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(){return C=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},C.apply(this,arguments)},x=function(e){function t(t){var n=e.call(this,t)||this;return n.state={data:[],sinkData:[],colors:[]},n}return O(t,e),t.prototype.shouldComponentUpdate=function(e){return!(0,a.vZ)(this.props,e)},t.prototype.getComponentSetup=function(){var e=this.separateDataFromSinkData(),t=e.data,n=e.sinkData,r=t.reduce((function(e,t){return e+t.value}),0);return{data:t,sinkData:n,colors:(0,l.vA)(t.length,this.props.colors),isZeroData:0===r}},t.prototype.separateDataFromSinkData=function(){var e,t,n=[],r=[];return(null!==(t=null===(e=this.props)||void 0===e?void 0:e.data)&&void 0!==t?t:[]).forEach((function(e){e.isSinkState?r.push(e):n.push({id:e.label,value:e.value,label:e.label,percentage:e.percentage})})),{data:n,sinkData:r}},t.prototype.render=function(){return i().createElement(E,C({},this.getComponentSetup(),{chartRef:this.props.chartRef,id:this.props.id,numberToStringFormatter:this.props.numberToStringFormatter,className:this.props.className,tooltipValueFormat:this.props.tooltipValueFormat}))},t.displayName="Funnel",t.defaultProps={colors:[l.WV,l.Ls,l.P3,l.p5]},t}(i().Component)},4139:(e,t,n)=>{"use strict";n.d(t,{GaugeLinear:()=>s});var r,o=n(8156),i=n.n(o),a=n(4589),l=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.padding=4,t.barHeight=4,t.arrowPadding=2,t.arrowWidth=8,t.arrowHeight=6,t}return l(t,e),Object.defineProperty(t.prototype,"height",{get:function(){var e;return null!==(e=this.props.height)&&void 0!==e?e:20},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"barWidth",{get:function(){return(this.props.width-this.padding)/this.colors.length-this.padding},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colors",{get:function(){var e,t;if(void 0!==this.props.colors)return this.props.colors;var n=null!==(t=(0,a.generateRangeColor)(null!==(e=this.props.stepsCount)&&void 0!==e?e:0))&&void 0!==t?t:[];return this.props.reverseDefaultColors&&n.reverse(),n},enumerable:!1,configurable:!0}),t.prototype.renderColors=function(){var e=this;return this.colors.map((function(t,n){var r={fill:t};return i().createElement("g",{key:t},i().createElement("rect",{width:e.barWidth,height:e.barHeight,style:r,x:n*(e.barWidth+e.padding)+e.padding}))}))},t.prototype.renderArrow=function(){var e={fill:a.black},t=this.props.currentStep*(this.barWidth+this.padding)+this.padding+this.barWidth/2,n=[[t,this.barHeight+this.arrowPadding],[t-this.arrowWidth/2,this.barHeight+this.arrowPadding+this.arrowHeight],[t+this.arrowWidth/2,this.barHeight+this.arrowPadding+this.arrowHeight]].map((function(e){return"".concat(e[0],",").concat(e[1])}));return i().createElement("polygon",{points:n.join(" "),style:e})},t.prototype.render=function(){if(0===this.colors.length)throw new Error('Invalid empty "colors"');if(this.props.currentStep>=this.colors.length||this.props.currentStep<0)throw new Error('Invalid "currentStep"');return i().createElement("svg",{width:this.props.width,height:this.height},this.renderColors(),this.renderArrow())},t.displayName="GaugeLinear",t}(i().PureComponent)},2031:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(8310),o=n.n(r),i=n(8156),a=n.n(i),l=n(192),s=a().memo((function(e){var t=o()(e.className,"ml-1");return a().createElement("div",{className:t},a().createElement(l.Dropdown,{drop:"left"},a().createElement(l.Dropdown.Toggle,{disabled:!0===e.isDisabled,as:l.AtokaSimpleDropdownToggle}),a().createElement(l.Dropdown.Menu,null,e.children)))}));s.displayName="CardMenu"},3808:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(8156),o=n.n(r),i=n(7045),a=n(38),l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)},s=o().memo((function(e){var t,n=[];return o().Children.forEach(e.children,(function(e){var t;"EllipsableContent"===(null===(t=null==e?void 0:e.type)||void 0===t?void 0:t.displayName)&&n.push(e)})),n.length>0?e.children:o().createElement(i.G,{tooltip:null!==(t=e.tooltip)&&void 0!==t?t:null,tooltipProps:l({delay:200},e.tooltipProps)},o().createElement(a.D,{size:"sm",className:"mb-0"},e.children))}));s.displayName="CardTitle"},8684:(e,t,n)=>{"use strict";n.d(t,{GridCard:()=>x});var r=n(6627),o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(2494),c=n.n(s),p=n(4915),u=n(3808),d=i().memo((function(e){return i().createElement("div",{className:"mt-3"},e.children)}));d.displayName="GridCardFooter";var f=n(3642),h=n(2031),m=i().memo((function(e){return i().createElement("div",{className:"d-flex align-items-center h-100"},e.children)}));m.displayName="GridCardTags";var y,v=(y=function(e,t){return y=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])},y(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.renderCheckbox=function(){return this.props.isSelectable?i().createElement("span",{onClick:this.stopPropagation},i().createElement(f.l.Checkbox,{className:"checkbox-container mb-0",onChange:this.props.onSelect,checked:this.props.isSelected,id:String(this.props.id)})):null},t.prototype.render=function(){return i().createElement("div",{className:"card-title d-flex"},this.renderCheckbox(),(0,p.z8)(this.props.children,u.l),i().createElement("span",{onClick:this.stopPropagation},(0,p.z8)(this.props.children,m)),i().createElement("span",null,(0,p.z8)(this.props.children,h.$)))},t.displayName="GridCardHeader",t}(i().PureComponent),b=i().memo((function(e){return i().createElement("div",{className:"mt-3"},e.children)}));b.displayName="GridCardContent";var w=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(){return E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)},O=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},C=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.stopPropagation=function(e){e.stopPropagation()},t.prototype.handleClick=function(){this.props.onSelect&&this.props.onSelect()},t.prototype.render=function(){var e=l()("grid-card mb-2",this.props.className,{"is-selectable":this.props.isSelectable});return i().createElement(c(),{className:e,onClick:this.handleClick},i().createElement(g,E({},this.props),(0,p.z8)(this.props.children,u.l),(0,p.z8)(this.props.children,m),(0,p.z8)(this.props.children,h.$)),(0,p.z8)(this.props.children,b),i().createElement("span",{onClick:this.stopPropagation},(0,p.z8)(this.props.children,d)))},t.displayName="GridCard",t.Header=g,t.Title=u.l,t.Tags=m,t.Menu=h.$,t.Content=b,t.Footer=d,t.defaultProps={isSelected:!1,isSelectable:!1,id:"".concat(Math.random())},O([r.ZP,C("design:type",Function),C("design:paramtypes",[]),C("design:returntype",void 0)],t.prototype,"handleClick",null),t}(i().PureComponent)},8265:(e,t,n)=>{"use strict";n.d(t,{HighlightableText:()=>f});var r,o=n(6627),i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=n(2394),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},d=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n;return p(t,e),t.prototype.needToHighlight=function(){return!(0,c.Wq)(this.props.highlighted)},t.prototype.getParts=function(){if("string"!=typeof this.props.children)throw Error("In this component, children have to be a string");return(0,c.ho)(this.props.highlighted,this.props.children)},t.prototype.renderPart=function(e,t){var n,r=(0,c.OH)(e,this.props.highlighted),o=a()("atoka-highlightable-text",this.props.size,((n={"text-muted":!0===this.props.isDisabled,bold:this.props.isBold,"selected-text":r})[this.props.highlightColor]=r,n)),i=e;return r&&(i=s().createElement("strong",null,e)),s().createElement("span",{key:"".concat(e,"-").concat(t),className:o},i)},t.prototype.highlightedText=function(){var e=this.getParts();return null==e?null:s().createElement("span",{className:this.props.className},e.map(this.renderPart))},t.prototype.render=function(){var e=this.props.children,t=a()("atoka-highlightable-text",this.props.highlightColor,this.props.size,this.props.className,{"text-muted":!0===this.props.isDisabled,bold:this.props.isBold});return"string"!=typeof e?s().createElement("span",{className:t},e):this.needToHighlight()?this.highlightedText():s().createElement("span",{className:t},e)},t.displayName="HighlightableText",t.defaultProps={size:"md",highlightColor:"orange"},u([o.MR,d("design:type",Function),d("design:paramtypes",[String,Number]),d("design:returntype","function"==typeof(n=void 0!==s()&&s().ReactNode)?n:Object)],t.prototype,"renderPart",null),t}(s().PureComponent)},4950:()=>{},9825:(e,t,n)=>{"use strict";n.d(t,{BarCustomLayerProps:()=>s.BarCustomLayerProps,CanvasLegendConfig:()=>r.CanvasLegendConfig,GetHistogramCanvasLegendConfig:()=>r.GetHistogramCanvasLegendConfig,Histogram:()=>S,RenderHistogramSVGLegend:()=>r.RenderHistogramSVGLegend});var r={};n.r(r),n.d(r,{b:()=>S});var o,i=n(6627),a=n(8156),l=n.n(a),s=n(2895),c=n(2766),p=n(8310),u=n.n(p),d=n(5521),f=n(4915),h=n(6216),m=n(1469),y=n(7540),v=n(9274),g=n(5909),b=n(2394),w=n(4950),E=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)},C=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},x=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},P=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},N=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ellipseAndFormat=b.TK,t.matchAndFormatRangeLabel=b.eR,t.baseLayers=["grid","axes","bars"],t.state={data:[],selectedColumns:new Set,customColors:null},t}var n,r,o,p,S,j,_,T,k,R;return E(t,e),t.fromDataPointToBarDatum=function(e){return Object.keys(e).reduce((function(t,n){var r;return null==e[n]?t:O(O({},t),((r={})[n]=e[n],r))}),{})},Object.defineProperty(t.prototype,"areAllDataZero",{get:function(){return 0===this.props.data.reduce((function(e,t){return e+t.value}),0)},enumerable:!1,configurable:!0}),t.prototype.setupComponent=function(){var e,t,n,r,o;if(null==this.props.maxColsNumber&&this.props.colors.length>0&&this.props.colors.length!==this.props.data.length)throw Error("The colors.length must be of the same length as the data you give to the component");if(null!=this.props.maxColsNumber&&this.props.colors.length>0&&this.props.maxColsNumber!==this.props.colors.length-1)throw Error("With a maxColsNumber prop, colors.length must be of length + 1 of the maxColsNumbert");var i=this.prepareData(this.props.data),a=this.wrapTooltip(),l=null==this.props.maxColsNumber?i:(0,g.xG)(null!=i?i:[],null===(e=this.props)||void 0===e?void 0:e.otherId,null===(t=this.props)||void 0===t?void 0:t.otherLabel,null!==(r=null===(n=this.props)||void 0===n?void 0:n.maxColsNumber)&&void 0!==r?r:1/0,null===(o=this.props)||void 0===o?void 0:o.total),s=this.props.colors.reduce((function(e,t,n){var r;return O(O({},e),((r={})[l[n].id]=t,r))}),{});null!=this.props.selectedColumns?this.setState({customColors:s,renderTooltip:a,data:l,selectedColumns:new Set(this.props.selectedColumns)}):this.setState({data:l,customColors:s,renderTooltip:a})},t.prototype.wrapTooltip=function(){var e=this,t=void 0===this.props.renderTooltip?(0,v.getRenderStatisticsTooltip)({tooltipDataLabelKey:"value",tooltipDataTitleKey:"id",otherId:this.props.otherId,otherLabel:this.props.otherLabel,numberToStringFormatter:function(t){var n,r,o;return"".concat(null!==(o=null===(r=(n=e.props).tooltipValueFormat)||void 0===r?void 0:r.call(n,t))&&void 0!==o?o:t)},withColor:!1}):this.props.renderTooltip;return null==t?null:function(e){var n,r;return null!==(r=null==t?void 0:t(O(O({},e),{data:O(O({},e.data),{value:null!==(n=e.data.initialValue)&&void 0!==n?n:0})})))&&void 0!==r?r:null}},t.prototype.prepareData=function(e){var n=this,r=-1/0,o=0;(e=null!=e?e:[]).forEach((function(e){r=Math.max(r,e.value),o=Math.min(o,e.value)})),0===r&&0===o&&(r=10);var i=this.computeZeroReplacingValue(Math.abs(r-o));return e.map((function(e){var r=n.idFormatWrapper(e.label),o=e.value;return o=o>=0?Math.max(o,i):Math.min(o,-i),O(O({},t.fromDataPointToBarDatum(e)),{id:r,value:o,label:r,initialLabel:e.label,initialValue:e.value})}))},t.prototype.idFormatWrapper=function(e){return null==this.props.labelFormat?e:this.matchAndFormatRangeLabel(this.props.labelFormat)(e)},t.prototype.componentDidUpdate=function(e){(0,f.vZ)(e,this.props)||this.setupComponent()},t.prototype.componentDidMount=function(){this.setupComponent()},t.prototype.handleClick=function(e){var t;if(this.isClickable()){var n=this.state.selectedColumns,r=new Set(n);if(n.has(e.indexValue)?r.delete(e.indexValue):r.add(e.indexValue),null!=this.props.onClick){var o=[];(null!==(t=this.state.data)&&void 0!==t?t:[]).forEach((function(e){var t;if(r.has(e.label)){var n=null!==(t=e.initialLabel)&&void 0!==t?t:e.label;o.push({value:e.value,label:n})}})),this.props.onClick(o)}this.setState({selectedColumns:r})}},t.prototype.handleMouseEnter=function(e,t){var n,r,o;if(this.props.isHoverable){var i=null===(n=this.state.customColors)||void 0===n?void 0:n[e.indexValue],a=y.ZM;null!=i&&(a=null!==(o=null===(r=(0,c.ZP)(i))||void 0===r?void 0:r.darker(1).formatHex())&&void 0!==o?o:i),t.target.setAttribute("fill",a)}},t.prototype.handleMouseLeave=function(e,t){this.props.isHoverable&&t.target.setAttribute("fill",this.getColors(e))},t.prototype.getColors=function(e){var t,n,r=y.qi,o=y.pN,i=this.isClickable(),a=y.KH,l=null===(t=this.state.customColors)||void 0===t?void 0:t[e.indexValue];return 0===this.state.selectedColumns.size||this.state.selectedColumns.has(e.indexValue)||this.state.selectedColumns.has(null===(n=e.data)||void 0===n?void 0:n.initialLabel)?null!=l?l:r:i?a:o},t.prototype.isClickable=function(){return null==this.props.selectedColumns&&this.props.isClickable},t.prototype.renderIsLoading=function(){return this.props.isLoading?(0,f.z8)(this.props.children,h.Spinner):null},t.prototype.renderIsEmpty=function(){return this.props.isEmpty?(0,f.z8)(this.props.children,m.EmptyState):null},t.prototype.getEmptyAxis=function(){return"vertical"===this.props.layout?{tickValues:[],tickSize:0}:{tickValues:[]}},t.prototype.getDefaultBottomAxis=function(){var e={tickRotation:-45,tickSize:0,tickPadding:this.props.isCanvas?20:void 0};return"vertical"===this.props.layout?O(O({},e),{format:this.ellipseAndFormat(this.matchAndFormatRangeLabel(this.props.labelFormat),this.props.maxLabelLength)}):O(O({},e),{format:this.ellipseAndFormat(this.props.valueFormat,this.props.maxLabelLength),tickValues:this.props.gridXValues})},t.prototype.getDefaultLeftAxis=function(){return"vertical"===this.props.layout?{format:this.ellipseAndFormat(this.props.valueFormat,this.props.maxLabelLength),tickSize:0,tickValues:this.props.gridYValues}:{format:this.ellipseAndFormat(this.matchAndFormatRangeLabel(this.props.labelFormat),this.props.maxLabelLength)}},t.prototype.getMargin=function(){var e,n,r,o,i,a,l,s,c=O({},this.props.margin),p=O({},t.defaultProps.margin),u=p.top,d=p.right,f=p.bottom,h=p.left;c.bottom=null!==(e=c.bottom)&&void 0!==e?e:0,c.left=null!==(n=c.left)&&void 0!==n?n:0;var m="value",y=1,v=this.props.enableAxisLeft,g=this.getDefaultLeftAxis().format;if("horizontal"===this.props.layout&&(m="label",y=1.2,v=this.props.enableAxisBottom,g=this.getDefaultBottomAxis().format),this.props.computeMargin&&v){var b=0,w=0;null===(r=this.props.data)||void 0===r||r.forEach((function(e){var t,n,r="string"==typeof e[m]?e[m]:String(e[m]),o="string"==typeof g?r.length:null!==(n=null===(t=null==g?void 0:g(r))||void 0===t?void 0:t.length)&&void 0!==n?n:r.length;b=Math.max(o,b),w=Math.max(Math.abs(e.value),w)}));var E=w<1e3?10:0;"horizontal"===this.props.layout?c.bottom+=E+4.3*Math.min(b,this.props.maxLabelLength)*y:c.left+=E+7.7*Math.min(b,this.props.maxLabelLength)*y}return{top:null!==(o=c.top)&&void 0!==o?o:u,right:null!==(i=c.right)&&void 0!==i?i:d,bottom:null!==(l=null!==(a=c.bottom)&&void 0!==a?a:f)&&void 0!==l?l:0,left:null!==(s=c.left)&&void 0!==s?s:h}},t.prototype.buildCanvasLegend=function(e,t){if(null!=this.props.getCanvasLegendConfig){var n=this.props.getCanvasLegendConfig(t),r=n.x,o=void 0===r?0:r,i=n.y,a=void 0===i?0:i,l=n.data,s=[0];(void 0===l?[]:l).forEach((function(t,n){var r=10*n;e.fillStyle=y.de;var i=o+r+s[n];e.fillText(t.label,i,a);var l=i+e.measureText(t.label).width+10;e.fillStyle=y.Sn,e.font="bold",e.fillText("".concat(t.value),l,a);var c=e.measureText("".concat(t.value));s.push(l+c.width)}))}},t.prototype.computeZeroReplacingValue=function(e,t){return void 0===t&&(t=.02),e*t},t.prototype.renderEmptyParts=function(e){var t,n,r=null!==(n=null===(t=null==e?void 0:e.bars)||void 0===t?void 0:t.map(this.renderEmptyPart(e)))&&void 0!==n?n:[];return 0===r.length?null:l().createElement("g",null,r)},t.prototype.renderEmptyPart=function(e){var t=this;return function(n,r){var o,i=(0,d.useTooltip)(),s=i.showTooltipFromEvent,c=i.hideTooltip,p=O(O(O({},n),n.data),{value:null!==(o=n.data.value)&&void 0!==o?o:0}),u=(0,a.useMemo)((function(){return function(){return(0,a.createElement)(e.tooltip,p)}}),[e.tooltip,n,n.data]),f=(0,a.useCallback)((function(e){return s(u(),e)}),[s,u]),h=(0,a.useCallback)((function(t){var r;null===(r=e.onMouseEnter)||void 0===r||r.call(e,n.data,t),s(u(),t)}),[n.data,e.onMouseEnter,s,u]),m=(0,a.useCallback)((function(t){var r;null===(r=e.onMouseLeave)||void 0===r||r.call(e,n.data,t),c()}),[n.data,c,e.onMouseLeave]);return l().createElement("g",{key:r,transform:"translate(".concat(n.x,", ").concat(n.y+n.height,")")},l().createElement("rect",{width:n.width,height:Math.max(t.computeZeroReplacingValue(n.height),2),rx:"0",ry:"0",fill:y.qi,strokeWidth:"0",stroke:y.qi,onMouseEnter:h,onMouseLeave:m,onMouseMove:f}))}},t.prototype.getLayers=function(){var e=this.areAllDataZero?[this.renderEmptyParts]:N([],P(this.baseLayers),!1);return null!=this.props.renderSVGLegend&&e.push(this.props.renderSVGLegend),e},t.prototype.getCanvasLayers=function(){var e=N([],P(this.baseLayers),!1);return null!=this.props.getCanvasLegendConfig&&e.push(this.buildCanvasLegend),e},t.prototype.renderContent=function(){var e,n;if(this.props.isEmpty||this.props.isLoading)return null;var r=this.props,o=r.enableAxisBottom,i=r.enableAxisLeft,a=r.layout,c=r.padding,p=r.enableGridY,u=r.enableGridX,d=r.gridYValues,f=r.gridXValues,h=o?this.getDefaultBottomAxis():this.getEmptyAxis(),m=i?this.getDefaultLeftAxis():this.getEmptyAxis(),v=null!==this.state.renderTooltip,g={padding:c,layout:a,gridXValues:f,gridYValues:d,margin:this.getMargin(),theme:O({textColor:y.de},this.props.theme),isInteractive:this.isClickable()||v,indexBy:"id",tooltip:null!==(e=this.state.renderTooltip)&&void 0!==e?e:void 0,colors:this.getColors,enableGridY:"vertical"===this.props.layout&&p,enableGridX:"horizontal"===this.props.layout&&u,enableLabel:!1},b=this.state.data;if(this.props.isCanvas){var w=null!==(n=this.props.size)&&void 0!==n?n:t.defaultProps.size;return g.theme=O(O({},g.theme),{background:"#fff"}),l().createElement(s.ResponsiveBarCanvas,O({},g,w,{data:b,layers:this.getCanvasLayers(),axisLeft:m,axisBottom:h}))}return l().createElement(s.ResponsiveBar,O({},g,{layers:this.getLayers(),axisLeft:m,axisBottom:h,data:b,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave}))},t.prototype.render=function(){var e=u()("histogram-container","d-flex","justify-content-center","align-items-center",{clickable:this.isClickable()});return l().createElement("div",{id:this.props.id,className:e,ref:this.props.chartRef},this.renderIsLoading(),this.renderIsEmpty(),this.renderContent())},t.displayName="Histogram",t.legendHeight=20,t.defaultProps={computeMargin:!0,enableGridY:!0,enableGridX:!0,enableAxisLeft:!0,enableAxisBottom:!0,size:{height:400},isEmpty:!1,isLoading:!1,isHoverable:!1,isClickable:!0,layout:"vertical",margin:{top:30,right:0,bottom:30,left:0},padding:.05,maxLabelLength:12,id:"",colors:[],otherId:"other",gridXValues:6,gridYValues:6},C([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(n=void 0!==w.Z&&w.Z)?n:Object]),x("design:returntype",void 0)],t.prototype,"handleClick",null),C([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(r=void 0!==s.ComputedDatum&&s.ComputedDatum)?r:Object,"function"==typeof(o=void 0!==l()&&l().MouseEvent)?o:Object]),x("design:returntype",void 0)],t.prototype,"handleMouseEnter",null),C([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(p=void 0!==s.ComputedDatum&&s.ComputedDatum)?p:Object,"function"==typeof(S=void 0!==l()&&l().MouseEvent)?S:Object]),x("design:returntype",void 0)],t.prototype,"handleMouseLeave",null),C([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(j=void 0!==s.ComputedDatum&&s.ComputedDatum)?j:Object]),x("design:returntype",String)],t.prototype,"getColors",null),C([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(_="undefined"!=typeof CanvasRenderingContext2D&&CanvasRenderingContext2D)?_:Object,"function"==typeof(T=void 0!==s.BarCustomLayerProps&&s.BarCustomLayerProps)?T:Object]),x("design:returntype",void 0)],t.prototype,"buildCanvasLegend",null),C([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(k=void 0!==s.BarCustomLayerProps&&s.BarCustomLayerProps)?k:Object]),x("design:returntype",Object)],t.prototype,"renderEmptyParts",null),C([i.MR,x("design:type",Function),x("design:paramtypes",["function"==typeof(R=void 0!==s.BarCustomLayerProps&&s.BarCustomLayerProps)?R:Object]),x("design:returntype",Function)],t.prototype,"renderEmptyPart",null),t}(l().Component)},2599:(e,t,n)=>{"use strict";n.d(t,{M:()=>N});var r,o=n(6627),i=n(8156),a=n.n(i),l=n(5315),s=n.n(l),c=n(3915),p=n.n(c),u=n(4440),d=n.n(u),f=n(8310),h=n.n(f),m=n(6988),y=n(4600),v=n(7325),g=n(2380),b=n(188),w=n(1862),E=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},O.apply(this,arguments)},C=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},x=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},P=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputRef=a().createRef(),t.state={currentValue:t.props.value},t}var n,r;return E(t,e),t.prototype.componentDidMount=function(){var e,t,n,r;null===(t=null===(e=this.inputRef)||void 0===e?void 0:e.current)||void 0===t||t.focus(),null===(r=null===(n=this.inputRef)||void 0===n?void 0:n.current)||void 0===r||r.select()},t.prototype.componentDidUpdate=function(e){e.value!==this.props.value&&this.setState({currentValue:this.props.value})},t.prototype.handleKeyDown=function(e){"Escape"!==e.key&&"Esc"!==e.key||this.handleCancel(),"Enter"===e.key&&(e.stopPropagation(),this.handleSave())},t.prototype.handleCancel=function(){this.setState({currentValue:this.props.value}),this.props.onCancel()},t.prototype.handleSave=function(){this.isSaveDisabled()||this.props.onSave(this.state.currentValue)},t.prototype.handleTextChange=function(e){var t,n,r=e.target.value,o=null!==(n=null===(t=this.props)||void 0===t?void 0:t.maxLength)&&void 0!==n?n:0;r.length<=o&&(null!=this.props.onChange&&this.props.onChange(r),this.setState({currentValue:r}))},t.prototype.handleOptionChange=function(e){var t,n,r,o=null!==(r=this.props.options)&&void 0!==r?r:[];try{for(var i=P(o),a=i.next();!a.done;a=i.next()){var l=a.value;String(l.value)===String(e)&&(null!=this.props.onChange&&this.props.onChange(l),this.setState({currentValue:l}))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.isSaveDisabled=function(){return null!=this.props.getIsSaveDisabled?this.props.getIsSaveDisabled(this.state.currentValue):null!=this.props.getError&&null!=this.props.getError(this.state.currentValue)||(null==this.props.onChange&&this.state.currentValue===this.props.value||"string"==typeof this.state.currentValue&&this.state.currentValue.length<this.props.minLength)},t.prototype.renderHelp=function(){return null==this.props.help?null:a().createElement(d(),{appear:!0,in:!0},a().createElement(w.Form.Help,null,this.props.help))},t.prototype.renderError=function(){if(null==this.props.getError)return null;var e=this.props.getError(this.state.currentValue);return null==e?null:a().createElement(d(),{appear:!0,in:!0},a().createElement(w.Form.Control.FeedBack,{type:"invalid"},e))},t.prototype.renderInput=function(){var e;if(null!=this.props.options&&this.props.options.length>0){var t=null!=this.state.currentValue?this.state.currentValue.value:"";return a().createElement(b.SelectDropdown,{className:"inline-dropdown-select",size:this.props.size,selected:String(t),onSelect:this.handleOptionChange,onKeyDown:this.handleKeyDown,options:this.props.options,isInvalid:null!=this.renderError()})}return a().createElement(g.N,{ref:this.inputRef,size:this.props.size,type:this.props.inputType,value:null!==(e=this.state.currentValue)&&void 0!==e?e:"",onChange:this.handleTextChange,onKeyDown:this.handleKeyDown,isInvalid:null!=this.renderError()})},t.prototype.renderCancelButton=function(){var e={onClick:this.handleCancel,variant:"secondary",size:this.props.size,className:"inline-string-editor-cancel"};return!0===this.props.useIcons?a().createElement(v.Button,O({icon:m.faTimes},e)):a().createElement(v.Button,O({},e),this.props.cancelLabel)},t.prototype.renderSaveButton=function(){var e={onClick:this.handleSave,variant:"primary",disabled:this.isSaveDisabled(),size:this.props.size,className:"inline-string-editor-save"};return!0===this.props.useIcons?a().createElement(v.Button,O({icon:y.faCheck},e)):a().createElement(v.Button,O({},e),this.props.saveLabel)},t.prototype.render=function(){var e=h()("inline-string-editor w-100",this.props.className);return a().createElement("div",{className:e},a().createElement(p(),{className:"no-gutters"},a().createElement(s(),null,this.renderInput()),a().createElement(s(),{xs:"auto",className:"inline-string-editor-controls"},this.renderCancelButton(),this.renderSaveButton())),this.renderError(),this.renderHelp())},t.displayName="InlineStringEditor",t.defaultProps={useIcons:!1,inputType:"text",maxLength:60,minLength:3,saveLabel:"Save",cancelLabel:"Cancel",size:"md"},C([o.ZP,x("design:type",Function),x("design:paramtypes",["function"==typeof(n=void 0!==a()&&a().KeyboardEvent)?n:Object]),x("design:returntype",void 0)],t.prototype,"handleKeyDown",null),C([o.ZP,x("design:type",Function),x("design:paramtypes",[]),x("design:returntype",void 0)],t.prototype,"handleCancel",null),C([o.ZP,x("design:type",Function),x("design:paramtypes",[]),x("design:returntype",void 0)],t.prototype,"handleSave",null),C([o.ZP,x("design:type",Function),x("design:paramtypes",["function"==typeof(r=void 0!==a()&&a().FormEvent)?r:Object]),x("design:returntype",void 0)],t.prototype,"handleTextChange",null),C([o.ZP,x("design:type",Function),x("design:paramtypes",[String]),x("design:returntype",void 0)],t.prototype,"handleOptionChange",null),t}(a().Component)},2327:(e,t,n)=>{"use strict";n.d(t,{InlineStringEditor:()=>r.M,InlineStringValueType:()=>r.InlineStringValueType});var r=n(2599)},2913:(e,t,n)=>{"use strict";n.d(t,{InputGroup:()=>u});var r=n(8156),o=n.n(r),i=n(2476),a=n.n(i),l=n(8310),s=n.n(l),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=o().memo((function(e){var t,n,r=s()(((t={})[null!==(n=null==e?void 0:e.className)&&void 0!==n?n:""]=!0,t["atoka-input-group-text"]=!0,t));return o().createElement(a().Text,c({},e,{className:r}),e.children)}));p.displayName="InputGroupText";var u=function(e){var t=s()("atoka-input-group",null==e?void 0:e.className,{disabled:e.disabled,"atoka-shadow":e.withShadow,"is-invalid":e.isInvalid});return o().createElement(a(),{size:"md"===e.size?void 0:e.size,className:t},e.children)};u.displayName="InputGroup",u.Text=p,u.Append=a().Append,u.Prepend=a().Prepend},6060:(e,t,n)=>{"use strict";n.d(t,{Jumbotron:()=>u});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(3161),c=n.n(s),p=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(){var e=i()("jumbotron-".concat(this.props.variant),this.props.className);return l().createElement(c(),{className:e},this.props.children)},t.displayName="Jumbotron",t.defaultProps={variant:"primary"},t}(l().PureComponent)},6074:(e,t,n)=>{"use strict";n.d(t,{Map:()=>ge,MapChoroplethProps:()=>r.MapChoroplethProps,MapData:()=>r.MapData,MapDataKind:()=>r.MapDataKind,MapProps:()=>r.MapProps});var r={};n.r(r);var o=n(8156),i=n.n(o),a=n(7038);function l(e,t){if(null==e)return{};var n,r,o=(0,a.Z)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p=(0,o.createContext)(null),u=p.Provider;function d(){var e=(0,o.useContext)(p);if(null==e)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return e}var f=n(4159),h=n.n(f),m=["children","className","id","placeholder","style","whenCreated"];function y(e){var t=e.children,n=e.className,r=e.id,a=e.placeholder,s=e.style,p=e.whenCreated,d=l(e,m),h=(0,o.useRef)(null),y=function(e,t){var n=c((0,o.useState)(null),2),r=n[0],i=n[1];return(0,o.useEffect)((function(){if(null!==e.current&&null===r){var n=new f.Map(e.current,t);null!=t.center&&null!=t.zoom?n.setView(t.center,t.zoom):null!=t.bounds&&n.fitBounds(t.bounds,t.boundsOptions),null!=t.whenReady&&n.whenReady(t.whenReady),i(n)}}),[e,r,t]),r}(h,d),v=(0,o.useRef)(!1);(0,o.useEffect)((function(){null!=y&&!1===v.current&&null!=p&&(v.current=!0,p(y))}),[y,p]);var g=(0,o.useMemo)((function(){return y?{__version:1,map:y}:null}),[y]),b=g?i().createElement(u,{value:g},t):null!=a?a:null;return i().createElement("div",{ref:h,className:n,id:r,style:s},b)}n(7111);function v(e,t){return null==t?function(t,n){return(0,o.useRef)(e(t,n))}:function(n,r){var i=(0,o.useRef)(e(n,r)),a=(0,o.useRef)(n),l=i.current.instance;return(0,o.useEffect)((function(){a.current!==n&&(t(l,n,a.current),a.current=n)}),[l,n,r]),i}}function g(e,t){var n=(0,o.useRef)();(0,o.useEffect)((function(){return null!=t&&e.instance.on(t),n.current=t,function(){null!=n.current&&e.instance.off(n.current),n.current=null}}),[e,t])}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e,t){var n,r=null!==(n=e.pane)&&void 0!==n?n:t.pane;return r?E(E({},e),{},{pane:r}):e}function C(e,t){(0,o.useEffect)((function(){var n;return(null!==(n=t.layerContainer)&&void 0!==n?n:t.map).addLayer(e.instance),function(){var n;null==(n=t.layerContainer)||n.removeLayer(e.instance),t.map.removeLayer(e.instance)}}),[t,e])}function x(e){return function(t){var n,r,i,a=d(),l=e(O(t,a),a);return n=a.map,r=t.attribution,i=(0,o.useRef)(r),(0,o.useEffect)((function(){r!==i.current&&null!=n.attributionControl&&(null!=i.current&&n.attributionControl.removeAttribution(i.current),null!=r&&n.attributionControl.addAttribution(r)),i.current=r}),[n,r]),g(l.current,t.eventHandlers),C(l.current,a),l}}function P(e){return function(t){var n=d(),r=e(O(t,n),n);return g(r.current,t.eventHandlers),C(r.current,n),function(e,t){var n=(0,o.useRef)();(0,o.useEffect)((function(){if(t.pathOptions!==n.current){var r,o=null!==(r=t.pathOptions)&&void 0!==r?r:{};e.instance.setStyle(o),n.current=o}}),[e,t])}(r.current,t),r}}var N=["url"],S=function(e){function t(t,n){var r=e(t).current.instance;return(0,o.useImperativeHandle)(n,(function(){return r})),null}return(0,o.forwardRef)(t)}(x(v((function(e,t){var n=e.url,r=l(e,N);return{instance:new f.TileLayer(n,r),context:t}}),(function(e,t,n){var r=t.opacity,o=t.zIndex;null!=r&&r!==n.opacity&&e.setOpacity(r),null!=o&&o!==n.zIndex&&e.setZIndex(o)})))),j=n(8310),_=n.n(j),T=n(6627),k=n(855),R=n.n(k),M=n(4915),D=n(6216),I=n(1469),F=n(8053),L=n.n(F),A=n(6043),B=n.n(A),z=n(5692),V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},q=i().memo((function(e){var t,n=e.size,r=void 0===n?"sm":n,o=V(e,["size"]),a=null;null!=o.icon&&(a=i().createElement(z.FontAwesomeIcon,{size:"xs",icon:o.icon}));var l=_()("map-control-button",o.className,r,{selected:o.isSelected});if(null==o.children||"lg"===r)return i().createElement("button",{className:l,onClick:o.onClick},a,o.children);var s=i().createElement(L(),{id:null!==(t=null==o?void 0:o.tooltipId)&&void 0!==t?t:"",className:"big-tooltip"},o.children);return i().createElement(B(),{rootClose:!0,trigger:["hover","focus"],placement:"bottom",overlay:s},i().createElement("button",{className:l,onClick:o.onClick},a))}));q.displayName="MapControl";var Z=n(1820),G=["data"];function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function(e,t){return function(e){function t(t,n){var r=e(t).current,a=r.instance,l=r.context;return(0,o.useImperativeHandle)(n,(function(){return a})),null==t.children?null:i().createElement(u,{value:l},t.children)}return(0,o.forwardRef)(t)}(P(v(e,t)))}((function(e,t){var n=e.data,r=l(e,G),o=new f.GeoJSON(n,r);return{instance:o,context:K(K({},t),{},{overlayContainer:o})}})),U=n(7540),X=n(2394),J=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},$=i().memo((function(e){var t=J(e,[]),n=_()("map-popup-container","w-100",t.className);return i().createElement("div",{className:n},t.children)}));$.displayName="MapPopup";var Y,Q=(Y=function(e,t){return Y=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])},Y(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ee=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},te=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},ne=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popupRef=i().createRef(),t}return Q(t,e),t.prototype.componentDidMount=function(){this.props.forceUpdateOnMount&&this.forceUpdate()},t.estimatedWordSize=function(e,t,n){return void 0===t&&(t=this.ESTIMATED_LETTER_PIXELS),void 0===n&&(n=this.ESTIMATED_ADDABLE_SPACE),e*t+n},t.prototype.getItemsPositions=function(e,n){var r,o,i,a,l;void 0===n&&(n=30);var s=(null!==(a=null===(i=null===(o=null===(r=this.popupRef)||void 0===r?void 0:r.current)||void 0===o?void 0:o.getBoundingClientRect)||void 0===i?void 0:i.call(o))&&void 0!==a?a:{}).width,c=void 0===s?0:s,p=(null!==(l=this.props.hoveredItem)&&void 0!==l?l:{}).value,u=void 0===p?0:p,d=Math.round(u*c/this.props.valueMax),f=c/2,h=d<Math.round(f),m=t.estimatedWordSize(e);if(0===c)return[0,0];var y=d+(h?(f-d)*n/f:-(d-f)*n/f);return[y,y<c/3?y-10:y<c/3*2?y-m/2:y-m]},t.prototype.renderCursor=function(e){var t=_()({triangle:!0,invisible:null==this.props.hoveredItem});return i().createElement("div",{className:t,style:{left:e}})},t.prototype.renderMapBitInfo=function(e){var t,n,r=null!==(n=null===(t=this.props)||void 0===t?void 0:t.hoveredItem)&&void 0!==n?n:{},o=r.value,a=void 0===o?0:o,l=r.label,s=void 0===l?"":l,c=_()({"invisible w-0":null==this.props.hoveredItem,"w-100":null!=this.props.hoveredItem,"map-bit-info":!0});return i().createElement("div",{className:c},i().createElement("div",{className:"pusher-container",style:{flex:"0 1 ".concat(e,"px")}}),i().createElement("div",{className:"content"},i().createElement("span",{className:"first-letter-capitalize"},s),": ".concat(this.getFormattedNumber(a))))},t.prototype.getFormattedNumber=function(e){var t=this.props.numberToStringFormatter;return null!=t?t(e):"".concat(e)},t.prototype.renderPopupChildren=function(){var e=_()({invisible:null!=this.props.hoveredItem}),t=_()({"d-flex w-100":null==this.props.hoveredItem,"d-none":null!=this.props.hoveredItem,"text-white justify-content-between":!0}),n=Math.round(this.props.valueMin),r=(this.props.valueMax-this.props.valueMin)/2;return i().createElement("span",{className:t},i().createElement("span",{className:e},this.getFormattedNumber(n)),i().createElement("span",{className:e},this.getFormattedNumber(r)),i().createElement("span",{className:e},this.getFormattedNumber(this.props.valueMax)))},t.prototype.render=function(){var e,t,n,r="linear-gradient(to right, "+this.props.minColor+","+this.props.maxColor+")",o=_()({"popup-children":!0}),a=null!==(e=this.props.hoveredItem)&&void 0!==e?e:{},l=a.value,s=void 0===l?0:l,c=a.label,p=void 0===c?"":c,u=null==(null===(n=null===(t=this.props)||void 0===t?void 0:t.hoveredItem)||void 0===n?void 0:n.value)?"":"".concat(p,": ").concat(this.getFormattedNumber(s)),d=ne(this.getItemsPositions(u.length),2),f=d[0],h=d[1];return i().createElement("div",{className:o,ref:this.popupRef,style:{backgroundImage:r}},this.renderPopupChildren(),this.renderMapBitInfo(h),this.renderCursor(f))},t.ESTIMATED_LETTER_PIXELS=5.4,t.ESTIMATED_ADDABLE_SPACE=1.1,t.displayName="MapLegendContent",t.defaultProps={forceUpdateOnMount:!1},ee([T.ZP,te("design:type",Function),te("design:paramtypes",[Number]),te("design:returntype",String)],t.prototype,"getFormattedNumber",null),t}(i().PureComponent),oe=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ie=function(){return ie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ie.apply(this,arguments)},ae=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},le=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},se=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},ce=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},pe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={mapDataShowKind:null,currentMapData:null,hoveredItem:null,nameToDataPoint:new Map,valueMax:-1/0,valueMin:1/0,itemValueToColor:(0,Z.Z)()},t}var n,o,a,l,s,c,p,u,d,h;return oe(t,e),t.getDerivedStateFromProps=function(e,n){var r,o,i,a=null!==(r=null==n?void 0:n.mapDataShowKind)&&void 0!==r?r:null===(i=null===(o=e.mapData)||void 0===o?void 0:o[0])||void 0===i?void 0:i.kind,l=se(t.getSetupData(e,a),5),s=l[0],c=l[1],p=l[2],u=l[3],d=l[4];return ie(ie({},n),{mapDataShowKind:a,currentMapData:s,nameToDataPoint:c,valueMax:p,valueMin:u,itemValueToColor:d})},t.getSetupData=function(e,t){var n,r=e.mapData.filter((function(e){return e.kind===t}));if(0===r.length)return[null,new Map,-1/0,1/0,(0,Z.Z)()];var o=r[0],i=o.dataPoint,a=new Map,l=-1/0,s=null!==(n=e.valueMin)&&void 0!==n?n:1/0,c=(0,Z.Z)();return i.forEach((function(e){a.set(e.label,e),l=Math.max(l,e.value),s=Math.min(s,e.value)})),c.domain([s,l]).range([e.minColor,e.maxColor]),[o,a,l,s,c]},t.prototype.getFeatureStyle=function(e){var t,n,r,o,i,a=null!==(n=null===(t=e.properties)||void 0===t?void 0:t.name)&&void 0!==n?n:"",l=null===(r=this.state.nameToDataPoint)||void 0===r?void 0:r.get(a);return null==l?{className:"interactive-base ".concat((0,X.lV)(a)),weight:1,opacity:.5,fillOpacity:.1,fill:!0,stroke:!0,color:"white"}:(null===(i=null===(o=this.state)||void 0===o?void 0:o.hoveredItem)||void 0===i?void 0:i.label)===a?{weight:1,opacity:.9,fillOpacity:.9,className:"interactive-hovered ".concat((0,X.lV)(a)),fillColor:this.props.hoverColor,fill:!0,stroke:!0,color:"white"}:{weight:1,opacity:.9,fillOpacity:.9,className:"interactive-selected ".concat((0,X.lV)(a)),fillColor:this.state.itemValueToColor(l.value),fill:!0,stroke:!0,color:"white"}},t.prototype.handleFeatureOver=function(e){var t,n,r=null===(t=this.state.nameToDataPoint)||void 0===t?void 0:t.get(e.name);null!=r&&(null===(n=this.state.hoveredItem)||void 0===n?void 0:n.label)!==r.label&&this.setState({hoveredItem:r})},t.prototype.handleFeatureOut=function(){this.setState({hoveredItem:null})},t.prototype.handleChangeMapDataType=function(e){if(this.state.mapDataShowKind!==e){var n=se(t.getSetupData(this.props,e),5),r=n[0],o=n[1],i=n[2],a=n[3],l=n[4];this.setState({mapDataShowKind:e,currentMapData:r,nameToDataPoint:o,valueMax:i,valueMin:a,itemValueToColor:l,hoveredItem:null})}},t.prototype.renderSingleControl=function(e){var t=this;return i().createElement(ge.Control,{isSelected:e.kind===this.state.mapDataShowKind,key:e.kind,size:"lg",className:"ml-2",onClick:function(){return t.handleChangeMapDataType(e.kind)}},e.label)},t.prototype.renderMapDataToggleButtons=function(){return this.props.mapData.length<2?null:i().createElement(ge.ControlsContainer,{className:"d-flex"},this.props.mapData.map(this.renderSingleControl))},t.prototype.renderBottomPopup=function(){return this.props.withLegend?i().createElement($,null,i().createElement(re,{hoveredItem:this.state.hoveredItem,valueMax:this.state.valueMax,valueMin:this.state.valueMin,numberToStringFormatter:this.props.numberToStringFormatter,minColor:this.props.minColor,maxColor:this.props.maxColor})):null},t.prototype.renderHoveredItem=function(){var e,t,n,r,o,a,l,s=[],c=null!==(r=null===(n=this.state.currentMapData)||void 0===n?void 0:n.geometries)&&void 0!==r?r:[];try{for(var p=ce(null!==(o=null==c?void 0:c.features)&&void 0!==o?o:[]),u=p.next();!u.done;u=p.next()){var d=u.value;d.properties.name===(null===(a=this.state.hoveredItem)||void 0===a?void 0:a.label)&&s.push(d)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}if(0===s.length)return null;var f={features:s};return i().createElement(W,{key:null===(l=this.state.hoveredItem)||void 0===l?void 0:l.label,style:this.getFeatureStyle,data:f,onEachFeature:this.onHoverEachFeature})},t.prototype.onHoverEachFeature=function(e,t){var n=this;t.on("mouseout",(function(){return n.handleFeatureOut()}))},t.prototype.onEachFeature=function(e,t){var n=this;t.on("mouseover",(function(){return n.handleFeatureOver(e.properties)}))},t.prototype.render=function(){var e;if(null==!this.state.mapDataShowKind)return null;var t=null===(e=this.state.currentMapData)||void 0===e?void 0:e.geometries,n="ita-".concat(this.state.mapDataShowKind);return null==t?null:i().createElement(i().Fragment,null,this.renderHoveredItem(),i().createElement(W,{key:n,style:this.getFeatureStyle,data:t,onEachFeature:this.onEachFeature}),this.renderBottomPopup(),this.renderMapDataToggleButtons(),i().createElement(ge.TileLayer,{url:"https://api.mapbox.com/styles/v1/mapbox/light-v10/tiles/{z}/{x}/{y}?access_token=pk.eyJ1Ijoic2RhdG9rYSIsImEiOiI5MjlmNDMxYzJiYWQ5YjhjMjU4ZGE2YmVkZjQ1YzhiOCJ9.FYB402MPxkR2bIME35d0zg",attribution:'<a href="https://www.mapbox.com/feedback/">&copy; Mapbox</a> | <a href="https://www.mapbox.com/feedback/" target="_blank"><strong>Improve this map</strong></a>',minZoom:4}))},t.displayName="MapChoropleth",t.defaultProps={minColor:U.KH,maxColor:U.p5,hoverColor:U.$y,withLegend:!0},ae([T.ZP,le("design:type",Function),le("design:paramtypes",["function"==typeof(n="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?n:Object]),le("design:returntype","function"==typeof(o=void 0!==f.PathOptions&&f.PathOptions)?o:Object)],t.prototype,"getFeatureStyle",null),ae([T.ZP,le("design:type",Function),le("design:paramtypes",["function"==typeof(a=void 0!==r.MapBaseChoroplethFeatureProperties&&r.MapBaseChoroplethFeatureProperties)?a:Object]),le("design:returntype",void 0)],t.prototype,"handleFeatureOver",null),ae([T.ZP,le("design:type",Function),le("design:paramtypes",[]),le("design:returntype",void 0)],t.prototype,"handleFeatureOut",null),ae([T.ZP,le("design:type",Function),le("design:paramtypes",["function"==typeof(l=void 0!==r.MapDataKind&&r.MapDataKind)?l:Object]),le("design:returntype",void 0)],t.prototype,"handleChangeMapDataType",null),ae([T.ZP,le("design:type",Function),le("design:paramtypes",["function"==typeof(s=void 0!==r.MapData&&r.MapData)?s:Object]),le("design:returntype","function"==typeof(c=void 0!==i()&&i().ReactNode)?c:Object)],t.prototype,"renderSingleControl",null),ae([T.ZP,le("design:type",Function),le("design:paramtypes",["function"==typeof(p="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?p:Object,"function"==typeof(u=void 0!==f.Layer&&f.Layer)?u:Object]),le("design:returntype",void 0)],t.prototype,"onHoverEachFeature",null),ae([T.ZP,le("design:type",Function),le("design:paramtypes",["function"==typeof(d="undefined"!=typeof MapBaseChoroplethFeature&&MapBaseChoroplethFeature)?d:Object,"function"==typeof(h=void 0!==f.Layer&&f.Layer)?h:Object]),le("design:returntype",void 0)],t.prototype,"onEachFeature",null),t}(i().Component),ue=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),de=function(){return de=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},de.apply(this,arguments)},fe=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},he=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},me=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},ye=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},ve=i().memo((function(e){var t=_()("map-controls-container",e.className);return i().createElement("div",{className:t},e.children)}));ve.displayName="ControlsContainer";var ge=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.map=null,t.italyBounds=[[47.53203824675999,6.3394115537],[36.12012758978146,18.8501168459]],t}var n;return ue(t,e),t.prototype.renderOtherChildren=function(){var e=[];return i().Children.forEach(this.props.children,(function(n){(null==n?void 0:n.type)!==t.Choropleth&&(null==n?void 0:n.type)!==D.Spinner&&(null==n?void 0:n.type)!==I.EmptyState&&e.push(n)})),e},t.prototype.renderChoropleth=function(){return this.props.isLoading||this.props.isEmpty?null:(0,M.z8)(this.props.children,t.Choropleth)},t.prototype.renderIsLoading=function(){return this.props.isLoading?i().createElement("div",{className:"w-100 h-100 d-flex justify-content-center align-items-center"},(0,M.z8)(this.props.children,D.Spinner)):null},t.prototype.renderIsEmpty=function(){return this.props.isEmpty?i().createElement("div",{className:"w-100 h-100 d-flex justify-content-center align-items-center"},(0,M.z8)(this.props.children,I.EmptyState)):null},t.prototype.handleMapCreated=function(e){var t,n;this.map=e,null===(n=(t=this.props).onInit)||void 0===n||n.call(t,{getCanvas:function(){return me(this,void 0,Promise,(function(){return ye(this,(function(t){return[2,new Promise((function(t,n){R()(e,(function(e,r){e?n(e):t(r)}))}))]}))}))}})},t.prototype.render=function(){var e,t=null!==(e=this.props.bounds)&&void 0!==e?e:this.italyBounds,n=this.props.isLoading||this.props.isEmpty||!1===this.props.zoomControl,r=_()("atoka-map-container",{disabled:n});return i().createElement(y,de({},this.props,{bounds:t,className:r,key:r,renderer:h().canvas(),whenCreated:this.handleMapCreated,id:this.props.id}),this.renderChoropleth(),this.renderIsLoading(),this.renderIsEmpty(),this.renderOtherChildren())},t.displayName="Map",t.defaultProps={isLoading:!1,isEmpty:!1,id:""},t.Choropleth=pe,t.TileLayer=S,t.ControlsContainer=ve,t.Control=q,fe([T.MR,he("design:type",Function),he("design:paramtypes",["function"==typeof(n=void 0!==h()&&h().Map)?n:Object]),he("design:returntype",void 0)],t.prototype,"handleMapCreated",null),t}(i().Component)},7527:(e,t,n)=>{"use strict";n.d(t,{Modal:()=>m,ModalProps:()=>r.ModalProps});var r={};n.r(r),n.d(r,{u:()=>m});var o,i=n(8156),a=n.n(i),l=n(7738),s=n.n(l),c=n(8310),p=n.n(c),u=n(4915),d=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)},h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.renderFooter=function(){var e=(0,u.z8)(this.props.children,s().Footer),t="modal-footer";if(null==e)return null;var n=a().Children.toArray(e.props.children).filter((function(e){return null!=e}));return null!=n&&2!==n.length?a().createElement(s().Footer,{key:t},n):a().createElement(s().Footer,{key:t,className:"centered-buttons"},n[0]," ",n[1]," ",a().createElement("span",{className:"hidden"},n[0]))},t.prototype.renderContent=function(){var e=this,t=[],n={ModalHeader:!1,ModalBody:!1,ModalFooter:!1};return a().Children.forEach(this.props.children,(function(r){n[r.type.displayName]=!0,(null==r?void 0:r.type)===s().Footer?t.push(e.renderFooter()):t.push(r)})),Object.values(n).indexOf(!1)>=0?(console.warn("You have to include an header, a body and a footer!"),a().createElement("h1",null,"Error!")):0===t.length?null:t},t.prototype.render=function(){var e=this.props,t=e.size,n=h(e,["size"]),r=p()("atoka-modal",this.props.className,{"modal-md":"md"===t});return a().createElement(s(),f({},n,{className:r,container:document.querySelector(".bs4-v3-external-container"),size:"md"===t?void 0:t,scrollable:this.props.scrollable}),this.renderContent())},t.displayName="Modal",t.Header=s().Header,t.Body=s().Body,t.Footer=s().Footer,t}(a().PureComponent)},3003:(e,t,n)=>{"use strict";n.d(t,{Navbar:()=>ye});var r=n(8156),o=n.n(r),i=n(7917),a=n.n(i),l=n(4394),s=n.n(l),c=n(573),p=n.n(c),u=n(8310),d=n.n(u),f=n(577),h=n(5692),m=n(9368),y=function(){return o().createElement(a().Toggle,{className:"navbar-mobile-menu","aria-controls":"mobile-menu-collapse"},o().createElement(h.FontAwesomeIcon,{icon:m.faBars}))};y.displayName="NavbarMobileMenuToggle";var v=function(e){return o().createElement(a().Collapse,{className:"navbar-mobile-menu-collapse overflow-auto",id:"mobile-menu-collapse"},o().createElement(p(),null,e.children))};v.displayName="NavbarMobileMenuCollapse";var g=n(3915),b=n.n(g),w=n(3932),E=n(192),O=n(4915),C=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},x=function(e){var t=o().Children.toArray(e.children).filter((function(e){return null!=e})),n=Math.ceil(t.length/2),r=C([t.slice(0,n),t.slice(n,t.length)],2),i=r[0],a=r[1];return o().createElement("div",{className:"navbar-navigation-menu"},o().createElement(E.Dropdown,null,o().createElement(E.Dropdown.Toggle,{as:E.AtokaCustomDropdownToggleWithChevron},o().createElement("div",null,o().createElement("small",null,e.label),o().createElement(w.Title,{icon:e.selectedIcon,size:"md"},e.selectedTitle))),o().createElement(E.Dropdown.Menu,{size:"lg"},o().createElement(b(),{className:"px-lg-3"},(0,O.$R)(i,a)))))};x.displayName="NavbarNavigationMenu";var P=n(2569),N=n(1469),S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},S.apply(this,arguments)};var j=function(e){if(null==e.notifications)return null;var t=e.notifications.filter((function(e){return e.isUnread})).length;return o().createElement(E.Dropdown,{className:"notification-dropdown",drop:"left"},o().createElement(E.Dropdown.Toggle,{as:E.AtokaCustomDropdownToggle},o().createElement(h.FontAwesomeIcon,{icon:P.faBell}),t?o().createElement("div",{className:"unread-number text-center"},t):""),o().createElement(E.Dropdown.Menu,{size:"lg",className:"notification-menu"},function(e){return 0===e.notifications.length?o().createElement(N.EmptyState,null,e.emptyMessage):e.notifications.map((function(e){return o().createElement(ye.NotificationMenuItem,S({key:"".concat(e.text,"-").concat(e.time)},e))}))}(e)))};j.displayName="NavbarNotificationMenu";var _=n(4976),T=n.n(_),k=n(5315),R=n.n(k),M=function(){return M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},M.apply(this,arguments)},D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},I=function(e){var t=e.title,n=e.icon,r=e.suffix,i=D(e,["title","icon","suffix"]);return o().createElement(R(),{xs:24,lg:12,className:"p-0"},o().createElement(T().Item,M({},i,{key:t,eventKey:t,className:"navbar-navigation-menu-item"}),o().createElement(w.Title,{icon:n,size:"sm"},t," ",r),o().createElement("p",null,i.children)))};I.displayName="NavbarNavigationMenuItem";var F=function(e){var t=d()({"navbar-notification-menu-item":!0,unread:e.isUnread});return o().createElement(T().Item,{eventKey:"".concat(e.text,"-").concat(e.time),className:t},o().createElement("div",{className:"notification-wrapper"},o().createElement("div",{className:"notification-heading d-flex"},o().createElement("span",null,e.time),e.isUnread?"●":null),o().createElement("p",null,e.text)))};F.displayName="NavbarNotificationMenuItem";var L=n(9319),A=n(2394),B=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},z=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};var V=function(e){var t=e.fullName,n=e.email,r=e.showDivider;if((0,A.Wq)(t)&&(0,A.Wq)(null!=n?n:null))return null;var i=null,a=d()("mt-1 user-email",{"user-email-small-font":!(0,A.Wq)(t)});(0,A.Wq)(null!=n?n:null)||(i=o().createElement("div",{className:a},o().createElement(L.EllipsableContent,null,n)));var l=r?o().createElement(E.Dropdown.Divider,{key:"2"}):null;return o().createElement(o().Fragment,null,o().createElement(E.Dropdown.Header,{className:"user-menu-item"},o().createElement("span",{className:"user-full-name"},t),i),l)};V.displayName="FullNameAndEmailItem";var q=function(e){return o().createElement("div",{className:"navbar-user-menu"},o().createElement(E.Dropdown,{drop:"left"},o().createElement(E.Dropdown.Toggle,{as:E.AtokaCustomDropdownToggleWithChevron},o().createElement("div",{className:"user-badge"},function(e){if((0,A.Wq)(e))return"";var t=e.split(" ").map((function(e){return z([],B(e),!1)}));return t.length>1?"".concat(t[0][0]).concat(t[1][0]).toUpperCase():"".concat(t[0][0]).concat(t[0][1]).toUpperCase()}(e.user.fullName))),o().createElement(E.Dropdown.Menu,{size:"lg",className:"user-menu"},o().createElement(V,{fullName:e.user.fullName,email:e.user.email,showDivider:null!=e.children}),e.children)))};q.displayName="NavbarUserMenu";var Z=function(){return Z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Z.apply(this,arguments)},G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},H=function(e){var t=e.children,n=e.className,r=G(e,["children","className"]),i=d()("navbar-user-menu-item",n);return o().createElement(T().Item,Z({},r,{className:i}),t)};H.displayName="NavbarUserMenuItem";var K,W=n(6627),U=n(8427),X=n(6988),J=n(2913),$=n(2380),Y=(K=function(e,t){return K=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])},K(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}K(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Q=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ee=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.wrapperRef=o().createRef(),t.inputRef=o().createRef(),t.modalSelector=".atoka-modal.show",t}return Y(t,e),t.prototype.handleClickOutside=function(e){var t;document.querySelectorAll(this.modalSelector).length>0||null==(null===(t=this.wrapperRef)||void 0===t?void 0:t.current)||this.wrapperRef.current.contains(e.target)||this.props.onClose()},t.prototype.handleKeyPress=function(e){document.querySelectorAll(this.modalSelector).length>0||"Escape"!==e.key&&"Esc"!==e.key||this.props.onClose()},t.prototype.componentDidMount=function(){document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("mousedown",this.handleClickOutside)},t.prototype.componentWillUnmount=function(){document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("mousedown",this.handleClickOutside)},t.prototype.onOpen=function(){var e=this;this.props.onOpen(),setTimeout((function(){return e.setFocus()}))},t.prototype.setFocus=function(){var e,t,n,r;null===(t=null===(e=this.inputRef)||void 0===e?void 0:e.current)||void 0===t||t.focus(),null===(r=null===(n=this.inputRef)||void 0===n?void 0:n.current)||void 0===r||r.select()},t.prototype.renderSearchResult=function(){return o().createElement("div",{className:"navbar-overlay-search-dropdown-container"},this.props.children)},t.prototype.renderInputGroupPrepend=function(){return o().createElement(J.InputGroup.Prepend,null,o().createElement(J.InputGroup.Text,null,o().createElement(h.FontAwesomeIcon,{icon:U.faSearch,fixedWidth:!0})))},t.prototype.renderOpenContent=function(){var e=this;return o().createElement("div",{className:"position-relative"},o().createElement(J.InputGroup,{size:"md"},this.renderInputGroupPrepend(),o().createElement($.N,{placeholder:this.props.placeholder,value:this.props.inputValue,onChange:function(t){return e.props.onChange(t.target.value)},ref:this.inputRef}),o().createElement(J.InputGroup.Append,null,o().createElement(J.InputGroup.Text,{onClick:this.props.onReset},o().createElement(h.FontAwesomeIcon,{icon:X.faTimes,fixedWidth:!0})))),this.renderSearchResult())},t.prototype.renderPlaceholderOrValue=function(){return(0,A.Wq)(this.props.inputValue)?o().createElement("span",{className:"placeholder"},this.props.placeholder):o().createElement("span",{className:"position-absolute closed-input-value-container"},o().createElement("span",{className:"closed-input-value"},this.props.inputValue))},t.prototype.renderClosedContent=function(){return o().createElement("div",{onClick:this.onOpen},o().createElement(J.InputGroup,{size:"md"},this.renderInputGroupPrepend(),this.renderPlaceholderOrValue()))},t.prototype.render=function(){if(this.props.isOpen)return o().createElement("div",{className:"navbar-overlay-search-wrapper"},o().createElement("div",{ref:this.wrapperRef,className:"navbar-overlay-search navbar-overlay-search-open w-100"},this.renderOpenContent()));var e=d()("navbar-overlay-search-wrapper",{disabled:this.props.isDisabled});return o().createElement("div",{className:e},o().createElement("div",{ref:this.wrapperRef,className:"navbar-overlay-search navbar-overlay-search-closed w-100"},this.renderClosedContent()))},t.displayName="NavbarOverlaySearch",Q([W.ZP,ee("design:type",Function),ee("design:paramtypes",[Object]),ee("design:returntype",void 0)],t.prototype,"handleClickOutside",null),Q([W.ZP,ee("design:type",Function),ee("design:paramtypes",[Object]),ee("design:returntype",void 0)],t.prototype,"handleKeyPress",null),Q([W.ZP,ee("design:type",Function),ee("design:paramtypes",[]),ee("design:returntype",void 0)],t.prototype,"onOpen",null),t}(o().Component),ne=function(e){return e.isLoading?o().createElement("div",{className:"text-center py-5"},(0,O.z8)(e.children,ie)):0===e.count?o().createElement("div",{className:"overlay-search-results"},(0,O.z8)(e.children,re),o().createElement("div",{className:"py-5"},e.renderNoResults)):o().createElement(o().Fragment,null,o().createElement("div",{className:"overlay-search-results"},(0,O.z8)(e.children,re),o().createElement("div",{className:"px-3 px-lg-5 pt-1 pb-5"},(0,O.z8)(e.children,oe))),(t=e.count,n=(0,O.z8)(e.children,ae),t<=10||null==n?null:o().createElement("footer",{className:"p-2 show-more-wrapper"},n)));var t,n};ne.displayName="NavbarOverlaySearchResultsWrapper";var re=function(e){return e.children};re.displayName="NavbarOverlaySearchTabs";var oe=function(e){return e.children};oe.displayName="NavbarOverlaySearchResults";var ie=function(e){return e.children};ie.displayName="NavbarOverlaySearchLoading";var ae=function(e){return e.children};ae.displayName="NavbarOverlaySearchShowMore";var le=n(6550),se=function(e){return o().createElement("div",{className:"navbar-ninja-menu"},o().createElement(E.Dropdown,{drop:"left"},o().createElement(E.Dropdown.Toggle,{as:E.AtokaCustomDropdownToggleWithChevron},o().createElement("div",{className:"position-relative"},o().createElement(h.FontAwesomeIcon,{icon:le.faUserNinja}),e.isInUse&&o().createElement("span",{className:"ninja-in-use"}))),o().createElement(E.Dropdown.Menu,{size:"lg",className:"ninja-menu"},e.children)))};se.displayName="NavbarNinjaMenu";var ce=function(){return ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ce.apply(this,arguments)},pe=function(e){return o().createElement(T().Item,ce({},e,{className:"navbar-ninja-menu-item"}),e.children)};pe.displayName="NavbarNinjaMenuItem";var ue=n(5538),de=n(9034),fe=n.n(de),he=o().memo((function(e){return o().createElement(fe().Item,{bsPrefix:"atoka-list-group-item",className:"cursor-pointer navbar-overlay-search-item p-0"},o().createElement("div",{className:"parts-container align-content-center px-0 d-flex justify-content-between",onClick:null==e.onDelete?e.onSelect:void 0},o().createElement("div",{className:"py-2 pl-3 selectable-left-part flex-grow-1 d-flex",onClick:null==e.onDelete?void 0:e.onSelect},e.leftPart),o().createElement("div",{className:"py-2 pr-3 text-right color-gray-400 d-flex align-items-center"},e.rightPart,null==e.onDelete?null:o().createElement(h.FontAwesomeIcon,{onClick:e.onDelete,className:"ml-2 color-gray-400 delete-column",icon:ue.faTrash,fixedWidth:!0}))))}));he.displayName="NavbarOverlaySearchCard";var me=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return me(t,e),t.prototype.render=function(){var e=d()({"atoka-navbar":!0,"atoka-navbar-open":this.props.isOpen});return o().createElement(o().Fragment,null,o().createElement(a(),{collapseOnSelect:!0,className:e,expand:"lg",fixed:"top"},o().createElement(s(),{className:"d-flex align-items-center"},this.props.children)),this.props.isOpen?o().createElement(f.FadeAnimation,null,o().createElement("div",{className:"atoka-navbar-body-shadow"})):null)},t.displayName="Navbar",t.Brand=a().Brand,t.MobileMenuLink=p().Link,t.MobileMenuToggle=y,t.MobileMenuCollapse=v,t.NavigationMenu=x,t.NavigationMenuItem=I,t.OverlaySearch=te,t.OverlaySearchResultsWrapper=ne,t.OverlaySearchResults=oe,t.OverlaySearchCard=he,t.OverlaySearchTabs=re,t.OverlaySearchLoading=ie,t.OverlaySearchShowMore=ae,t.NinjaMenu=se,t.NinjaMenuItem=pe,t.NotificationMenu=j,t.NotificationMenuItem=F,t.UserMenu=q,t.UserMenuItem=H,t}(o().PureComponent)},8385:(e,t,n)=>{"use strict";n.d(t,{$:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(5692),s=n(3987),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=function(e){var t=e.show,n=void 0===t||t,r=c(e,["show"]),i=a()({"pagination-button next":!0,invisible:!n});return o().createElement("span",{className:i,onClick:r.handleNextPage},o().createElement(l.FontAwesomeIcon,{icon:s.faChevronRight}))};p.displayName="PaginationNext"},9255:(e,t,n)=>{"use strict";n.d(t,{K:()=>p});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(5692),s=n(2705),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},p=function(e){var t=e.show,n=void 0===t||t,r=c(e,["show"]),i=a()({"pagination-button prev":!0,invisible:!n});return o().createElement("span",{className:i,onClick:r.handlePrevPage},o().createElement(l.FontAwesomeIcon,{icon:s.faChevronLeft}))};p.displayName="PaginationPrev"},7523:(e,t,n)=>{"use strict";n.d(t,{Pagination:()=>v});var r,o=n(6627),i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=n(9924),p=n.n(c),u=n(4915),d=n(8385),f=n(9255),h=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.handleRandomPage=function(e){this.props.onSetPage(e),this.props.scrollToTopOnSetPage&&(0,u.k3)()},t.prototype.handlePreviousPage=function(){1!==this.props.currentPage&&(this.props.onSetPage(this.props.currentPage-1),this.props.scrollToTopOnSetPage&&(0,u.k3)())},t.prototype.handleNextPage=function(){this.props.currentPage!==this.getPaginationItemsNumber()&&(this.props.onSetPage(this.props.currentPage+1),this.props.scrollToTopOnSetPage&&(0,u.k3)())},t.prototype.getPaginationItemsNumber=function(){return Math.ceil(this.props.total/this.props.limit)},t.prototype.getMinAndMaxPageNumber=function(e){var t=this.getPaginationItemsNumber();if(t<=5)return{minPageNumber:1,maxPageNumber:t};var n=Math.max(e-2,1),r=Math.min(e+2,t);return 1===n?r=n+4:r===t&&(n=r-4),{minPageNumber:n,maxPageNumber:r}},t.prototype.renderItems=function(){for(var e=this,t=[],n=this.getMinAndMaxPageNumber(this.props.currentPage),r=n.minPageNumber,o=n.maxPageNumber,i=function(n){t.push(s().createElement(p().Item,{key:n,active:n===a.props.currentPage,onClick:function(){return e.handleRandomPage(n)}},s().createElement("span",{className:"page-number"},n)))},a=this,l=r;l<=o;l++)i(l);return t},t.prototype.render=function(){if(0===this.props.total||this.props.total<=this.props.limit)return null;var e=a()("atoka-pagination","justify-content-center align-items-center",this.props.className);return s().createElement(p(),{className:e},s().createElement(f.K,{show:1!==this.props.currentPage,handlePrevPage:this.handlePreviousPage}),this.renderItems(),s().createElement(d.$,{show:this.props.currentPage!==this.getPaginationItemsNumber(),handleNextPage:this.handleNextPage}))},t.defaultProps={scrollToTopOnSetPage:!0},t.displayName="Pagination",m([o.ZP,y("design:type",Function),y("design:paramtypes",[Number]),y("design:returntype",void 0)],t.prototype,"handleRandomPage",null),m([o.ZP,y("design:type",Function),y("design:paramtypes",[]),y("design:returntype",void 0)],t.prototype,"handlePreviousPage",null),m([o.ZP,y("design:type",Function),y("design:paramtypes",[]),y("design:returntype",void 0)],t.prototype,"handleNextPage",null),t}(s().PureComponent)},3614:(e,t,n)=>{"use strict";n.d(t,{PieChart:()=>E,PieChartProps:()=>r.PieChartProps});var r={};n.r(r),n.d(r,{u:()=>E});var o,i=n(6627),a=n(8156),l=n.n(a),s=n(7812),c=n(8310),p=n.n(c),u=n(5909),d=n(1358),f=n(4915),h=n(9274),m=n(7540),y=n(2394),v=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)},b=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},w=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.renderTooltip=null,t.state={data:[]},t}var n,r,o,a,c;return v(t,e),t.prototype.componentDidUpdate=function(e){(0,f.vZ)(e,this.props)||this.setupComponent()},t.prototype.componentDidMount=function(){this.setupComponent()},t.prototype.setupComponent=function(){var e,t,n,r,o,i,a,l,s,c,p,d,m=this,y=this.props,v=y.data,b=void 0===v?[]:v,w=y.colors,E=y.maxSlicesNumber,O=Array.isArray(w)?w:Object.values(null!==(e=this.props.colors)&&void 0!==e?e:{});if(null==E&&O.length!==b.length)throw Error("The colors.length must be of the same length as the data you give to the component");if(E&&E+1>O.length)throw Error("With a maxSliceNumber prop, maxSlicesNumber + 1 must be lower than or equal to colors.length");var C=null==this.props.maxSlicesNumber?null===(t=this.props.data)||void 0===t?void 0:t.sort((0,f.kV)("value")):(0,u.xG)(null!==(r=null===(n=this.props)||void 0===n?void 0:n.data)&&void 0!==r?r:[],null===(o=this.props)||void 0===o?void 0:o.otherId,null===(i=this.props)||void 0===i?void 0:i.otherLabel,null===(a=this.props)||void 0===a?void 0:a.maxSlicesNumber,null===(l=this.props)||void 0===l?void 0:l.total);this.renderTooltip=null!==(s=this.props.renderTooltip)&&void 0!==s?s:(0,h.getRenderStatisticsTooltip)({tooltipDataLabelKey:"value",tooltipDataValueKey:"percentage",tooltipDataTitleKey:"id",otherId:this.props.otherId,numberToStringFormatter:null!==(p=null===(c=this.props)||void 0===c?void 0:c.tooltipValueFormat)&&void 0!==p?p:null===(d=this.props)||void 0===d?void 0:d.numberToStringFormatter,otherLabel:this.props.otherLabel,withColor:!0}),this.setState({data:C.map((function(e,t){var n,r,o=Array.isArray(m.props.colors)?t:e.id;return g(g({},e),{color:null===(r=null===(n=m.props)||void 0===n?void 0:n.colors)||void 0===r?void 0:r[null!=o?o:t]})}))})},t.prototype.getSortedColorsLikeData=function(){var e,t=this;if(null!=this.props.colors)return Array.isArray(this.props.colors)?null!==(e=this.props.colors)&&void 0!==e?e:[]:this.state.data.map((function(e){var n,r;return null===(r=null===(n=t.props)||void 0===n?void 0:n.colors)||void 0===r?void 0:r[e.id]}))},t.prototype.renderLegend=function(){var e,t,n,r,o,i;return null===(t=null===(e=this.props)||void 0===e?void 0:e.renderLegend)||void 0===t?void 0:t.call(e,{data:this.state.data,otherId:null!==(r=null===(n=this.props)||void 0===n?void 0:n.otherId)&&void 0!==r?r:"",colors:null!==(o=this.getSortedColorsLikeData())&&void 0!==o?o:[],numberToStringFormatter:null===(i=this.props)||void 0===i?void 0:i.numberToStringFormatter})},t.prototype.renderCenteredMetric=function(e){var t,n,r,o=e.dataWithArc,i=e.centerX,a=e.centerY,s=o.reduce((function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var i=null!==(n=null===(t=r[0].data)||void 0===t?void 0:t.value)&&void 0!==n?n:0;return e+i}),0);return l().createElement("text",{x:i,y:a,textAnchor:"middle",fontSize:"42px",fontWeight:"600",dominantBaseline:"central",className:"cursor-default"},null!==(r=null===(n=null===(t=this.props)||void 0===t?void 0:t.numberToStringFormatter)||void 0===n?void 0:n.call(t,s))&&void 0!==r?r:s)},t.prototype.getRenderTooltip=function(e){var t,n,r,o,i=g(g({},{path:[],percentage:0,depth:0,height:0}),e.datum),a=null!==(t=this.renderTooltip)&&void 0!==t?t:null,l=(null===(n=i.data)||void 0===n?void 0:n.value)||(null===(r=i.data)||void 0===r?void 0:r.initialValue)||0;return null!==(o=null==a?void 0:a(g(g({},i),{data:g(g({},i.data),{value:l})})))&&void 0!==o?o:null},t.prototype.renderSVGLegend=function(){var e,t,n,r=this,o=this.state.data.map((function(e){var t;return g(g({},e),{value:null!==(t=e.value)&&void 0!==t?t:0,percentage:void 0})})),i=parseInt(null!==(e=this.props.size)&&void 0!==e?e:"0",10),a=i;a>0&&(a-=45+5*(o.length/2-1),o.length<3&&(a+=16));for(var s=0,c=[],p=null!==(t=this.getSortedColorsLikeData())&&void 0!==t?t:[],u=function(){var e=o.slice(s,s+2),t=null!==(n=null==p?void 0:p.slice(s,s+2))&&void 0!==n?n:null;e.forEach((function(e,n){var o=19-(null==r.props.numberToStringFormatter?null==e?void 0:e.value:r.props.numberToStringFormatter(null==e?void 0:e.value)).toString().length;c.push(l().createElement(d.StatisticsSVGLegend,{key:"".concat(s,"-").concat(n),data:[e],x:n*i/2+20*n,y:a+10*s,width:i/2*2+40,valueFormat:r.props.numberToStringFormatter,labelFormat:function(e){return(0,y.Hp)(e,o)},colors:[t[n]]}))})),s+=2};s<o.length;)u();return l().createElement("g",null,c)},t.prototype.render=function(){var e=this.props,t=e.size,n=e.withNumber,r="vertical"===this.props.layout,o=p()("d-flex piechart-container",this.props.className,{"flex-column align-items-center h-100":r,"justify-content-between":null!=this.props.renderLegend&&r,"justify-content-center":null==this.props.renderLegend&&r}),i=["arcs","arcLabels"],a={top:10,right:10,bottom:10,left:10},c=parseInt(null!=t?t:"0",10),u=null,d=t;return n&&i.push(this.renderCenteredMetric),this.props.withSVGLegend?(i.push(this.renderSVGLegend),a.bottom=60,d="300px"):u=this.renderLegend(),l().createElement("div",{ref:this.props.chartRef,className:o,id:this.props.id},l().createElement("div",{style:{height:c,width:d}},l().createElement(s.ResponsivePie,{tooltip:this.getRenderTooltip,data:this.state.data,margin:a,cornerRadius:0,innerRadius:.8,borderColor:"#ffff",colors:{datum:"data.color"},enableArcLabels:!1,enableArcLinkLabels:!1,activeOuterRadiusOffset:0,isInteractive:!0,layers:i,id:"".concat(this.props.id,"-component"),animate:!1})),u)},t.displayName="PieChart",t.defaultProps={colors:[m.KH,m.kA,m.qi,m.p5],otherId:"other",size:"100%",layout:"vertical"},b([i.MR,w("design:type",Function),w("design:paramtypes",[]),w("design:returntype","function"==typeof(n=void 0!==l()&&l().ReactNode)?n:Object)],t.prototype,"renderLegend",null),b([i.MR,w("design:type",Function),w("design:paramtypes",["function"==typeof(r=void 0!==s.PieCustomLayerProps&&s.PieCustomLayerProps)?r:Object]),w("design:returntype","function"==typeof(o="undefined"!=typeof JSX&&JSX.Element)?o:Object)],t.prototype,"renderCenteredMetric",null),b([i.MR,w("design:type",Function),w("design:paramtypes",["function"==typeof(a=void 0!==s.PieTooltipProps&&s.PieTooltipProps)?a:Object]),w("design:returntype",Object)],t.prototype,"getRenderTooltip",null),b([i.MR,w("design:type",Function),w("design:paramtypes",[]),w("design:returntype","function"==typeof(c="undefined"!=typeof JSX&&JSX.Element)?c:Object)],t.prototype,"renderSVGLegend",null),t}(l().Component)},2765:(e,t,n)=>{"use strict";n.d(t,{PublicFooter:()=>m});var r,o=n(6951),i=n(1980),a=n(7950),l=n(8156),s=n.n(l),c=n(5315),p=n.n(c),u=n(3915),d=n.n(u),f=n(7325),h=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){return s().createElement("footer",{className:"public-footer py-5"},s().createElement("div",{className:"container"},s().createElement(d(),null,s().createElement(p(),{md:8,sm:24,className:"d-flex flex-column justify-content-center align-items-center justify-content-md-start align-items-md-start mb-5 "},s().createElement("img",{className:"mb-45",src:"https://atoka.io/ds/media/logo-blue-fg.svg",width:"120"}),s().createElement("div",{className:"mt-4"},s().createElement(f.Button,{variant:"secondary",size:"sm",className:"mr-1",icon:o.faFacebookF,href:"https://www.facebook.com/atoka.io",target:"_blank"}),s().createElement(f.Button,{variant:"secondary",size:"sm",className:"mr-1",icon:i.faLinkedinIn,href:"https://www.linkedin.com/company/atoka-io",target:"_blank"}),s().createElement(f.Button,{variant:"secondary",size:"sm",icon:a.faTwitter,href:"https://twitter.com/atoka_io",target:"_blank"}))),s().createElement(p(),{sm:24,md:16,className:"text-center text-md-left"},this.props.children,s().createElement(d(),{className:"mt-5 footer-spaziodati"},s().createElement(p(),{sm:24,md:16,className:"d-flex flex-column mb-4 mb-md-0"},s().createElement("small",null,s().createElement("strong",null,"© 2021 SpazioDati S.r.l.")," ",s().createElement("br",null),"Via Adriano Olivetti 13, 38122 Trento (Trento) — REA TN 210089",s().createElement("br",null),"Capitale Sociale € 21.600 —C.F & P.I: 02241890223",s().createElement("br",null),"Azienda con Sistema di Gestione della Sicurezza delle Informazioni certificato da Certiquality – UNI CEI EN ISO/IEC 27001:2017 ",s().createElement("br",null),"Società soggetta a direzione e controllo da parte di"," ",s().createElement("a",{href:"http://cerved.com"},"Cerved Group S.p.A."))),s().createElement(p(),{sm:24,md:8,className:"d-flex justify-content-center justify-content-md-end align-items-center"},s().createElement("img",{src:"https://atoka.io/ds/media/logo-spaziodati.png"})))))))},t.displayName="PublicFooter",t}(s().PureComponent)},8973:(e,t,n)=>{"use strict";n.d(t,{PublicNavbar:()=>c});var r,o=n(8156),i=n.n(o),a=n(7917),l=n.n(a),s=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.render=function(){return i().createElement(l(),{className:"public-navbar py-3",expand:"lg",fixed:"top"},i().createElement(l().Brand,{href:"/",className:"py-0"},i().createElement("img",{src:"https://atoka.io/ds/media/logo-blue-fg.svg",alt:"atoka logo",width:"120",height:"40"})),i().createElement(l().Toggle,{"aria-controls":"basic-navbar-nav"}),i().createElement(l().Collapse,{id:"basic-navbar-nav"},i().createElement(l(),{className:"ml-auto"},this.props.children)))},t.displayName="PublicNavbar",t}(i().PureComponent)},750:(e,t,n)=>{"use strict";n.d(t,{RecordBit:()=>f});var r,o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(5692),c=n(4997),p=n(4603),u=n(3932),d=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.renderTooltip=function(){return null==this.props.info?null:l().createElement(p.Tooltip,{placement:"right",content:this.props.info},l().createElement(s.FontAwesomeIcon,{icon:c.faInfoCircle,className:"ml-1"}))},t.prototype.render=function(){var e,t=i()(this.props.className,"atoka-record-bit");return l().createElement("div",{className:t},l().createElement("div",{className:"record-bit-title"},l().createElement(u.Title,{size:"sm",icon:this.props.icon},this.props.title," ",this.renderTooltip())),l().createElement("div",{className:"record-bit-children"},null!==(e=this.props.children)&&void 0!==e?e:"-"))},t.displayName="RecordBit",t}(l().PureComponent)},6785:(e,t,n)=>{"use strict";n.d(t,{ResultItemCard:()=>x});var r=n(8310),o=n.n(r),i=n(8156),a=n.n(i),l=n(2494),s=n.n(l),c=n(5315),p=n.n(c),u=n(3915),d=n.n(u),f=n(4915),h=function(e){return a().createElement(p(),{md:4,className:"result-item-card-actions"},e.children)};h.displayName="ResultItemCardActions";var m=a().memo((function(e){var t=o()("result-item-card-footer",e.className);return a().createElement("div",{className:t},e.children)}));m.displayName="ResultItemCardFooter";var y=a().memo((function(e){var t,n=o()("img-container",e.className,{"bg-light-gray":(0,f.SM)(e.children)}),r=null!==(t=e.children)&&void 0!==t?t:a().createElement("img",{className:"default-logo",src:"https://atoka.io/ds/media/company-placeholder-gray.png"});return a().createElement(p(),{className:"result-item-card-img-wrapper",md:"auto",sm:24},a().createElement("div",{className:n},r))}));y.displayName="ResultItemCardImage";var v=a().memo((function(e){var t=o()("result-item-card-subtitle",e.className);return a().createElement("div",{className:t},e.children)}));v.displayName="ResultItemCardSubtitle";var g=n(9319),b=a().memo((function(e){var t,n=e.isEllipsable,r=e.children,i=e.className,l=o()(((t={"result-item-card-text":!0})[null!=i?i:""]=!0,t)),s=n?a().createElement(g.EllipsableContent,null,r):r;return a().createElement("div",{className:l},s)}));b.displayName="ResultItemCardText";var w=n(38),E=a().memo((function(e){var t=o()("result-item-card-title","row",e.className);return a().createElement("div",{className:t},a().createElement("div",{className:"col"},a().createElement("div",{className:"title-ellipsis-container d-flex"},a().createElement(w.D,{icon:e.icon,size:"sm"},e.children),e.badge)))}));E.displayName="ResultItemCardTitle";var O,C=(O=function(e,t){return O=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])},O(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return C(t,e),t.prototype.renderContent=function(){return a().createElement(d(),null,(0,f.z8)(this.props.children,y),a().createElement(p(),{className:"result-item-card-body my-2 pl-2"},(0,f.z8)(this.props.children,E),(0,f.z8)(this.props.children,v),(0,f.z8)(this.props.children,b),(0,f.z8)(this.props.children,m)),(0,f.z8)(this.props.children,h))},t.prototype.render=function(){var e=o()("result-item-card",this.props.className);return a().createElement(s(),{className:e},this.renderContent())},t.displayName="ResultsItemCard",t.Title=E,t.Subtitle=v,t.Text=b,t.Footer=m,t.Image=y,t.Actions=h,t}(a().PureComponent)},188:(e,t,n)=>{"use strict";n.d(t,{SelectDropdown:()=>y});var r,o=n(6627),i=n(8156),a=n.n(i),l=n(4976),s=n.n(l),c=n(8310),p=n.n(c),u=n(192),d=n(4589),f=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n,r;return f(t,e),t.prototype.renderOptions=function(){return this.props.options.map(this.renderItem)},t.prototype.renderItem=function(e){var t,n,r,o="".concat(e.value);return e.isDivider?a().createElement(u.Dropdown.Divider,{key:o}):a().createElement(u.Dropdown.Item,{key:o,disabled:e.disabled,eventKey:o},null!==(r=null===(n=(t=this.props).renderValue)||void 0===n?void 0:n.call(t,e))&&void 0!==r?r:e.label)},t.prototype.renderSelectedValue=function(){var e,t,n,r=this,o=a().createElement("span",{className:"placeholder"},this.props.placeholder);if(null==this.props.selected)return o;var i=this.props.options.find((function(e){return e.value===r.props.selected}));return null==i?o:null!==(n=null===(t=(e=this.props).renderSelectedValue)||void 0===t?void 0:t.call(e,i))&&void 0!==n?n:i.label},Object.defineProperty(t.prototype,"popperConfig",{get:function(){if(this.props.isFixed)return{strategy:"fixed",modifiers:[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state,n=t.elements.reference;t.elements.popper.style.width="".concat(n.offsetWidth,"px")}}]}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=p()("atoka-select-dropdown",this.props.className,this.props.size,{"is-invalid":this.props.isInvalid}),t=p()("atoka-select-dropdown-menu",this.props.size,this.props.menuClassName);return a().createElement(u.Dropdown,{onSelect:this.props.onSelect,className:e,drop:this.props.direction},a().createElement(u.Dropdown.Toggle,{disabled:this.props.disabled,as:u.AtokaCustomDropdownToggleWithChevron},a().createElement("span",{className:"dropdown-toggle-text-container"},this.renderSelectedValue())),a().createElement(s().Menu,{className:t,flip:!1,popperConfig:this.popperConfig},this.renderOptions()))},t.displayName="SelectDropdown",t.defaultProps={size:"md",placeholder:"--",direction:"down"},h([o.ZP,m("design:type",Function),m("design:paramtypes",["function"==typeof(n=void 0!==d.OptionData&&d.OptionData)?n:Object]),m("design:returntype","function"==typeof(r=void 0!==a()&&a().ReactNode)?r:Object)],t.prototype,"renderItem",null),t}(a().PureComponent)},6216:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>p,SpinnerSize:()=>o});var r,o,i=n(8310),a=n.n(i),l=n(8156),s=n.n(l),c=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(e){e[e.mini=0]="mini",e[e.small=1]="small",e[e.big=2]="big",e[e.modal=3]="modal"}(o||(o={}));var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderOnlyDotsSpinner=function(e){var t="atoka-spinner spinner-"+e+" "+this.props.className;return s().createElement("div",{className:t},s().createElement("div",{className:"spinner-dot1"},s().createElement("div",{className:"spinner-leaf"})),s().createElement("div",{className:"spinner-dot2"},s().createElement("div",{className:"spinner-leaf"})),s().createElement("div",{className:"spinner-dot3"},s().createElement("div",{className:"spinner-leaf"})))},t.prototype.renderSmall=function(){return this.renderOnlyDotsSpinner("small")},t.prototype.renderMini=function(){return this.renderOnlyDotsSpinner("mini")},t.prototype.renderLeaf=function(){return s().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s().createElement("g",{id:"leaf"},s().createElement("path",{d:"M80.88,7.62a26,26,0,0,0-36.79,36.8,25.85,25.85,0,0,0,13.4,7.14V83.39c1.19,0,2.4-.08,3.62-.08,2.16,0,4.28.08,6.38.23v-32A26,26,0,0,0,80.88,7.62ZM73.81,37.35a16,16,0,1,1,0-22.66,15.92,15.92,0,0,1,0,22.66Z"})))},t.prototype.renderLetter=function(){return s().createElement("svg",{viewBox:"0 0 204.01 190.64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s().createElement("g",{id:"logo-vector"},s().createElement("path",{d:"M110.77,180.67V140.16a50.47,50.47,0,1,0-22,41.71L93.12,187a10,10,0,0,0,17.65-6.34Zm-81-40.51a30.5,30.5,0,1,1,30.5,30.5,30.49,30.49,0,0,1-30.5-30.5Z"})))},t.prototype.renderBig=function(){var e=a()(this.props.className,{"atoka-spinner":!0,"spinner-big":this.props.size===o.big,"spinner-medium":this.props.size===o.modal}),t=a()({"container-fluid spinner-modal":this.props.size===o.modal});return s().createElement("div",{className:t},s().createElement("div",{className:e},s().createElement("div",{className:"spinner-dot1"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("div",{className:"spinner-dot2"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("div",{className:"spinner-dot3"},s().createElement("div",{className:"spinner-leaf"},this.renderLeaf())),s().createElement("span",{className:"spinner-letter"},this.renderLetter())))},t.prototype.render=function(){switch(this.props.size){case o.mini:return this.renderMini();case o.small:return this.renderSmall();case o.big:case o.modal:return this.renderBig();default:return null}},t.displayName="Spinner",t.defaultProps={size:o.small,className:""},t}(s().Component)},754:(e,t,n)=>{"use strict";n.d(t,{StatisticsItemCard:()=>P});var r,o=n(8156),i=n.n(o),a=n(2494),l=n.n(a),s=n(8310),c=n.n(s),p=n(5692),u=n(4997),d=n(3932),f=n(4915),h=n(9319),m=n(6216),y=n(1469),v=n(4603),g=n(192),b=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)},E=i().memo((function(e){var t=null!=e.tooltip?i().createElement(v.Tooltip,w({},e.tooltipProps,{content:e.tooltip}),i().createElement(p.FontAwesomeIcon,{icon:u.faInfoCircle,className:"ml-1 cursor-pointer"})):null;return i().createElement(d.Title,{size:"sm"},e.children,t)})),O=i().memo((function(e){return i().createElement("div",{className:"subtitle-section"},e.children)})),C=i().memo((function(e){var t,n=c()("body-section",{"px-3 pb-3":null===(t=e.withPadding)||void 0===t||t});return i().createElement("div",{className:n},e.children)})),x=i().memo((function(e){return i().createElement(g.Dropdown,{drop:"left"},i().createElement(g.Dropdown.Toggle,{as:g.AtokaSimpleDropdownToggle}),i().createElement(g.Dropdown.Menu,null,e.children))}));E.displayName="StatisticsTitle",O.displayName="StatisticsSubtitle",C.displayName="StatisticsBody",x.displayName="StatisticsActionButtons";var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.prototype.renderBodySection=function(){var e;return this.props.isLoading||this.props.isEmpty?null:null!==(e=(0,f.z8)(this.props.children,t.Body))&&void 0!==e?e:null},t.prototype.renderSubtitleSection=function(){if(this.props.isLoading||this.props.isEmpty)return null;var e=(0,f.hZ)(this.props.children,t.Subtitle);return 0===e.length?null:e},t.prototype.renderIsLoading=function(){return this.props.isLoading?i().createElement("div",{className:"body-section justify-content-center align-items-center"},(0,f.z8)(this.props.children,t.Spinner)):null},t.prototype.renderIsEmpty=function(){return this.props.isEmpty?i().createElement("div",{className:"body-section justify-content-center align-items-center pr-3 pl-3 pb-3"},(0,f.z8)(this.props.children,t.EmptyState)):null},t.prototype.renderActionButtons=function(){if(this.props.isPerformingAction)return i().createElement(m.Spinner,{size:m.SpinnerSize.small});var e=(0,f.hZ)(this.props.children,t.ActionButtons);return 0===e.length?null:i().createElement("div",{className:"statistics-item-card-actions-button"},e)},t.prototype.render=function(){var e=c()("statistics-item-card",this.props.className,{"statistics-item-card-disabled":this.props.isPerformingAction});return i().createElement(l(),{className:e},i().createElement(h.EllipsableContent,null,i().createElement(h.EllipsableContent.Content,null,(0,f.z8)(this.props.children,t.Title)),i().createElement(h.EllipsableContent.Append,null,this.renderActionButtons())),this.renderSubtitleSection(),this.renderBodySection(),this.renderIsEmpty(),this.renderIsLoading())},t.displayName="StatisticsItemCard",t.Title=E,t.Subtitle=O,t.Body=C,t.ActionButtons=x,t.Spinner=m.Spinner,t.EmptyState=y.EmptyState,t}(i().PureComponent)},7516:(e,t,n)=>{"use strict";n.d(t,{StatisticsItemNumeric:()=>p});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(5692),c=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderIcon=function(){return i().createElement("span",{className:"stats-item-numeric-icon-wrap"},i().createElement(s.FontAwesomeIcon,{className:"fa-fw",icon:this.props.icon}))},t.prototype.renderValue=function(){return null==this.props.value?null:i().createElement("div",{className:"stats-item-numeric-value"},this.props.value)},t.prototype.renderSubtitle=function(){return null==this.props.subtitle?null:i().createElement("div",{className:"stats-item-numeric-subtitle"},this.props.subtitle)},t.prototype.renderContent=function(){return i().createElement("div",{className:"stats-item-numeric-content"},this.renderIcon(),this.renderValue(),this.renderSubtitle())},t.prototype.render=function(){var e=l()("stats-item-numeric",this.props.className);return i().createElement("div",{className:e},this.renderContent())},t.displayName="StatisticsItemNumeric",t}(i().PureComponent)},1358:(e,t,n)=>{"use strict";n.d(t,{StatisticsLegend:()=>O,StatisticsLegendProps:()=>r.StatisticsLegendProps,StatisticsSVGLegend:()=>T,getRenderStatisticsLegend:()=>C});var r={};n.r(r),n.d(r,{B:()=>O});var o,i=n(8156),a=n.n(i),l=n(4394),s=n.n(l),c=n(3915),p=n.n(c),u=n(8310),d=n.n(u),f=n(5315),h=n.n(f),m=n(1326),y=n(5692),v=n(9319),g=n(2394),b=n(5909),w=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.renderRightBlock=function(){var e=[this.renderValue(),this.renderPercentage()].filter((function(e){return null!=e}));return null==e.length?null:a().createElement(v.EllipsableContent.Append,null,e)},t.prototype.renderValue=function(){var e=this.props,t=e.legendDataValueKey,n=e.numberToStringFormatter,r=e.data;if(null==t||null==r[t])return null;var o=r[t],i=n?n(o):String(o);return a().createElement("div",{key:"value-container",className:"value-container font-weight-bold text-nowrap"},i)},t.prototype.renderPercentage=function(){var e=this.props,t=e.legendDataPercentageKey,n=e.data;if(null==t||null==n[t])return null;var r=(0,b.Ow)(n[t]);return a().createElement("div",{key:"percentage-container",className:"percentage-container ml-1"},r)},t.prototype.renderOtherLabel=function(e){var t;return(0,g.Wq)(e.label)?String(null!==(t=null==e?void 0:e.id)&&void 0!==t?t:""):e.label},t.prototype.renderLabel=function(){var e=this.props,t=e.legendDataLabelKey,n=e.data,r=e.otherId;return n.id===r?this.renderOtherLabel(n):null==t?null:null==n?void 0:n[t]},t.prototype.render=function(){var e=this.props,t=e.columnNumber,n=e.color,r=e.data,o=d()("legend-item px-1",{"flex-basis-0":"horizontal"===this.props.layout});return a().createElement(h(),{sm:24/t,className:o,key:"legend-item-".concat(r.id)},a().createElement(v.EllipsableContent,{className:"label-container w-100 justify-content-between"},a().createElement(v.EllipsableContent.Content,null,a().createElement(y.FontAwesomeIcon,{icon:m.faCircle,color:n,className:"mr-1"}),this.renderLabel()),this.renderRightBlock()))},t.displayName="StatisticsLegendItem",t}(a().PureComponent),O=a().memo((function(e){var t=e.data,n=e.otherId,r=e.colors,o=e.layout,i=void 0===o?"vertical":o,l=e.columnNumber,c=void 0===l?2:l,u=e.numberToStringFormatter,d=e.legendDataLabelKey,f=e.legendDataValueKey,h=e.legendDataPercentageKey;function m(e,t){var o=e.id,l=o===n?null==r?void 0:r[r.length-1]:null==r?void 0:r[t];return a().createElement(E,{data:e,numberToStringFormatter:u,legendDataValueKey:f,legendDataLabelKey:d,legendDataPercentageKey:h,color:l,otherId:n,key:o+l,columnNumber:c,layout:i})}var y=t.filter((function(e){return 0!==e.value||e.id!==n}));return"horizontal"===i?a().createElement("div",{className:"legend-container"},y.map(m)):a().createElement(s(),{className:"legend-container"},a().createElement(p(),{className:"w-100"},y.map(m)))}));O.displayName="StatisticsLegend";var C=function(e){var t=e.legendDataLabelKey,n=e.legendDataValueKey,r=e.legendDataPercentageKey,o=e.layout,i=e.columnsNumber;return function(e){var l=e.data,s=e.otherId,c=e.colors,p=e.numberToStringFormatter;return a().createElement(O,{layout:o,data:l,otherId:s,colors:c,columnNumber:i,numberToStringFormatter:p,legendDataLabelKey:t,legendDataValueKey:n,legendDataPercentageKey:r})}},x=n(6627),P=n(3654),N=n(7540),S=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n,r,o,i;return S(t,e),t.prototype.renderSVGDataInfoBit=function(e,t){var n,r,o,i,l,s,c,p,u=null!==(n=e.label)&&void 0!==n?n:"",d=this.renderPercentage(e),f=this.renderCircle(null===(r=this.props.colors)||void 0===r?void 0:r[t]);return a().createElement(a().Fragment,{key:"".concat(e.label,"-legend-data")},f,a().createElement("text",{x:this.props.x,y:this.props.y,fill:N.de,fontSize:this.props.fontSize,key:"".concat(e.label,"-legend-data")},a().createElement("tspan",{dx:null==f?0:10},null!==(l=null===(i=(o=this.props).labelFormat)||void 0===i?void 0:i.call(o,u))&&void 0!==l?l:u),a().createElement("tspan",{x:this.getRightElementX(),dx:5,fill:"black",fontWeight:"bold",textAnchor:"end"},null!==(p=null===(c=(s=this.props).valueFormat)||void 0===c?void 0:c.call(s,e.value))&&void 0!==p?p:e.value),d))},t.prototype.renderSVGDataInfoBitMoreItems=function(e,t){var n,r,o,i,l,s,c,p,u=null!==(n=e.label)&&void 0!==n?n:"",d=this.renderPercentage(e),f=this.renderCircle(null===(r=this.props.colors)||void 0===r?void 0:r[t]);return a().createElement(a().Fragment,{key:"".concat(e.label,"-legend-data-items")},f,a().createElement("tspan",{dx:0===t||null!=f?0:10,fill:N.de},null!==(l=null===(i=(o=this.props).labelFormat)||void 0===i?void 0:i.call(o,u))&&void 0!==l?l:u),a().createElement("tspan",{dx:5,fill:"black",fontWeight:"bold"},null!==(p=null===(c=(s=this.props).valueFormat)||void 0===c?void 0:c.call(s,e.value))&&void 0!==p?p:e.value),d)},t.prototype.renderCircle=function(e){return null==e?null:a().createElement("circle",{cx:this.props.x,cy:this.props.y-3,r:"5",fill:e})},t.prototype.renderPercentage=function(e){var t,n=null!=e.percentage?(0,b.Ow)(e.percentage):null;return null==n?null:a().createElement("tspan",{x:this.getRightElementX(),dx:5,fill:null===(t=this.props.colors)||void 0===t?void 0:t[0]},n)},t.prototype.getRightElementX=function(){var e=this.props.width;if(null!=e)return(0===this.props.x?e/2:e)-18},t.prototype.removeItemIfNoValue=function(e){return e.filter((function(e){return null!==e.value}))},t.prototype.render=function(){var e=this.removeItemIfNoValue(this.props.data);return(null==e?void 0:e.length)>1?a().createElement("g",null,a().createElement("text",{x:this.props.x,y:this.props.y,dy:this.props.dy,fill:N.de,fontSize:this.props.fontSize,key:"legend-data-bit",className:"legend-data-bit"},e.map(this.renderSVGDataInfoBitMoreItems))):a().createElement("g",null,e.map(this.renderSVGDataInfoBit))},t.displayName="StatisticsSVGLegend",t.defaultProps={dy:0,fontSize:11,colors:[]},j([x.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(n=void 0!==P.hz&&P.hz)?n:Object,Number]),_("design:returntype","function"==typeof(r=void 0!==a()&&a().ReactNode)?r:Object)],t.prototype,"renderSVGDataInfoBit",null),j([x.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(o=void 0!==P.hz&&P.hz)?o:Object,Number]),_("design:returntype","function"==typeof(i=void 0!==a()&&a().ReactNode)?i:Object)],t.prototype,"renderSVGDataInfoBitMoreItems",null),t}(a().PureComponent)},9274:(e,t,n)=>{"use strict";n.d(t,{GetRenderStatisticsTooltipType:()=>r.GetRenderStatisticsTooltipType,StatisticsTooltip:()=>c,getRenderStatisticsTooltip:()=>u});var r={};n.r(r),n.d(r,{q:()=>u});var o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(5909),c=i().memo((function(e){function t(){var t=e.tooltipDataLabelKey,n=e.numberToStringFormatter,o=r(t,e.data);if(null!=o)return null==n?String(o):"string"==typeof o?o:n(o)}function n(){var t=r(e.tooltipDataValueKey,e.data);if(null!=t)return"number"==typeof t?(0,s.Ow)(t):t}function r(e,t){return null==e||null==t?void 0:t[e]}var o,a,c,p,u,d,f=l()("statistics-tooltip",null==e?void 0:e.className),h=null==e.color?null:i().createElement("span",{className:"tooltip-rectangle",style:{background:e.color}});return i().createElement("div",{className:f},i().createElement("div",{className:"d-flex align-items-center"},h,i().createElement("span",{className:"text-left"},(a=e.tooltipDataTitleKey,c=e.data,p=e.otherId,u=e.otherLabel,(d=r(a,c))===p?null!=u?u:p:d?String(d):void 0))),0===(o=[{value:t(),key:e.tooltipDataLabelKey,className:"label"},{value:n(),key:e.tooltipDataValueKey,className:"value"}].filter((function(e){return null!=e.value})).map((function(e){return i().createElement("span",{key:e.key,className:e.className},e.value)}))).length?null:i().createElement("div",{className:"d-flex justify-content-between"},o),e.children)}));c.displayName="StatisticsTooltip";var p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)};function u(e){var t=e.tooltipDataLabelKey,n=e.tooltipDataValueKey,r=e.tooltipDataTitleKey,o=e.otherId,a=e.otherLabel,l=e.numberToStringFormatter,s=e.withColor,u=e.className,d=void 0===u?"tooltip-background":u;return function(e){var u,f,h,m,y=p(p({},e.data),{value:null===(u=e.data)||void 0===u?void 0:u.value,label:null===(f=e.data)||void 0===f?void 0:f.label,id:null===(h=e.data)||void 0===h?void 0:h.id,percentage:null===(m=e.data)||void 0===m?void 0:m.percentage});return i().createElement(c,{otherId:o,otherLabel:a,numberToStringFormatter:l,data:y,tooltipDataLabelKey:t,tooltipDataTitleKey:r,tooltipDataValueKey:n,className:null!=d?d:"",color:s?e.color:void 0})}}},2656:(e,t,n)=>{"use strict";n.d(t,{CustomOptionProps:()=>r.CustomOptionProps,RenderMultiValueContainer:()=>o.RenderMultiValueContainer,Suggester:()=>B,SuggesterProps:()=>o.SuggesterProps,getRenderCustomMultiValueWithIcon:()=>P});var r={};n.r(r),n.d(r,{W:()=>f});var o={};n.r(o),n.d(o,{_:()=>B});var i=n(8156),a=n.n(i),l=n(6627),s=n(4589),c=n(8310),p=n.n(c),u=n(8265),d=n(2394),f=function(e){var t=e.item,n=e.optionDataValueKey,r=e.optionDataLabelKey,o=e.optionDataCustomValueKey,i=e.children,l=e.selectedText,s=e.className;function c(e){return(0,d.Wq)(l)?t[e]:a().createElement(u.HighlightableText,{highlighted:l},t[e])}var f,h,m="",y=null;n&&null!=t[n]&&(m=c(n)),r&&null!=t[r]&&(h=r,m=""===(f=m)?a().createElement("span",{className:"label"},c(h)):a().createElement(a().Fragment,null,a().createElement("span",{className:"label mr-1"},f,":"),c(h))),o&&null!=t[o]&&(y=a().createElement("span",{className:"custom-value ml-2"},t[o]));var v=p()("option-data-item overflow-hidden",s);return a().createElement("span",{className:v},m,y,i)};f.displayName="CustomOption";var h=n(1738),m=n.n(h),y=n(1553),v=n.n(y),g=n(8427),b=n(5692),w=function(){return w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)},E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},O=function(e){var t=e.children,n=e.icon,r=E(e,["children","icon"]);return null==h.components.ValueContainer?null:a().createElement(h.components.ValueContainer,w({},r,{className:"input-value-container"}),null==t||null==n?null:a().createElement(b.FontAwesomeIcon,{icon:n}),t)};O.displayName="InputValueContainer";var C,x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},x.apply(this,arguments)},P=function(e,t){return void 0===t&&(t="blue300"),function(n){var r=p()("custom-multi-value-with-icon",n.className,t),o=p()({"ml-1":null!=e,"ml-2":null==e});return a().createElement(h.components.MultiValue,x({},n,{className:r}),null==e?null:a().createElement("div",{className:"icon-container"},a().createElement(b.FontAwesomeIcon,{icon:e})),a().createElement("span",{className:o},n.data.label))}},N=(C=function(e,t){return C=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])},C(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},S.apply(this,arguments)},j=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},_=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},T=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},k=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},R=function(e,t){return a().createElement(B.CustomOption,{item:e,optionDataValueKey:"label",selectedText:t})},M=P(),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n,r,o,i,c,u,d,f,y;return N(t,e),Object.defineProperty(t.prototype,"hasError",{get:function(){return!!this.props.hasError&&!(0,s.isStringEmpty)(this.props.insertedText)},enumerable:!1,configurable:!0}),t.prototype.getNoResultsText=function(){var e,t,n;return this.hasError?null!==(t=null===(e=this.props)||void 0===e?void 0:e.errorMessage)&&void 0!==t?t:"":(0,s.isStringEmpty)(this.props.insertedText)?null!==(n=this.props.emptyMessage)&&void 0!==n?n:"":this.props.noResultsMessage},t.prototype.renderNoOptionsMessage=function(e){var t=p()({invalid:this.hasError});return a().createElement(h.components.NoOptionsMessage,S({},e,{className:t}),this.getNoResultsText())},t.prototype.renderLoadingMessage=function(e){return a().createElement(h.components.LoadingMessage,S({},e),this.props.children)},t.prototype.renderOptionContainer=function(e){var t,n,r=[e.data];return this.props.withHighlight&&r.push(this.props.insertedText),a().createElement(h.components.Option,S({},e),null===(n=(t=this.props).renderSuggestedOption)||void 0===n?void 0:n.call.apply(n,k([t],T(r),!1)))},t.prototype.renderValueContainer=function(e){return a().createElement(O,S({icon:this.props.icon},e),e.children)},t.prototype.isOptionDisabled=function(e){var t,n;return null!=(null===(t=this.props)||void 0===t?void 0:t.selectedOption)&&(null==e?void 0:e.value)===(null===(n=this.props.selectedOption)||void 0===n?void 0:n.value)},t.prototype.loadOptions=function(e,t){var n,r;null===(r=null===(n=this.props)||void 0===n?void 0:n.loadOptions)||void 0===r||r.call(n,e,t)},t.prototype.getOptionsAsync=function(e,t){var n,r,o=this;null==this.props.debouncer&&this.loadOptions(e,t),null===(r=null===(n=this.props)||void 0===n?void 0:n.debouncer)||void 0===r||r.call(n,(function(){return o.loadOptions(e,t)}))},t.prototype.getComponentsConfig=function(){return{Option:this.renderOptionContainer,ValueContainer:this.renderValueContainer,IndicatorsContainer:function(){return null},NoOptionsMessage:this.renderNoOptionsMessage,LoadingMessage:this.renderLoadingMessage,MultiValue:this.props.renderMultiValueContainer}},t.prototype.render=function(){var e,t,n,r=p()("atoka-suggester",this.props.className,{"atoka-shadow":!0===this.props.withShadow,"with-icon":null!=this.props.icon}),o={value:null===(e=this.props)||void 0===e?void 0:e.value,isClearable:!1,components:this.getComponentsConfig(),classNamePrefix:"suggester",placeholder:this.props.placeholder,isOptionDisabled:this.isOptionDisabled,filterOption:this.props.filterOption,onInputChange:this.props.onInputChange,inputValue:this.props.insertedText,isMulti:this.props.isMulti,isDisabled:this.props.isDisabled,onChange:this.props.onChange,onMenuOpen:this.props.onMenuOpen,onMenuClose:this.props.onMenuClose};return this.props.isAsync?a().createElement("div",{className:r},a().createElement(v(),S({},o,{value:this.props.value,loadOptions:this.getOptionsAsync,defaultOptions:this.props.options}))):a().createElement("div",{className:r},a().createElement(m(),S({},o,{menuPosition:this.props.isFixed?"fixed":void 0,defaultValue:null===(t=this.props)||void 0===t?void 0:t.selectedOption,options:null!==(n=this.props.options)&&void 0!==n?n:[]})))},t.displayName="SuggesterUI",t.defaultProps={withShadow:!1,withHighlight:!1,isAsync:!1,isMulti:!1,hasError:!1,renderSuggestedOption:R,errorMessage:"Error!",emptyMessage:"",noResultsMessage:"",icon:g.faSearch,renderMultiValueContainer:M},j([l.ZP,_("design:type",Function),_("design:paramtypes",[]),_("design:returntype",String)],t.prototype,"getNoResultsText",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(n=void 0!==h.OptionProps&&h.OptionProps)?n:Object]),_("design:returntype","function"==typeof(r="undefined"!=typeof JSX&&JSX.Element)?r:Object)],t.prototype,"renderNoOptionsMessage",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(o=void 0!==h.OptionProps&&h.OptionProps)?o:Object]),_("design:returntype","function"==typeof(i="undefined"!=typeof JSX&&JSX.Element)?i:Object)],t.prototype,"renderLoadingMessage",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(c=void 0!==h.OptionProps&&h.OptionProps)?c:Object]),_("design:returntype","function"==typeof(u="undefined"!=typeof JSX&&JSX.Element)?u:Object)],t.prototype,"renderOptionContainer",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(d=void 0!==h.ValueContainerProps&&h.ValueContainerProps)?d:Object]),_("design:returntype","function"==typeof(f="undefined"!=typeof JSX&&JSX.Element)?f:Object)],t.prototype,"renderValueContainer",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",["function"==typeof(y=void 0!==s.OptionData&&s.OptionData)?y:Object]),_("design:returntype",Boolean)],t.prototype,"isOptionDisabled",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",[String,Function]),_("design:returntype",void 0)],t.prototype,"loadOptions",null),j([l.ZP,_("design:type",Function),_("design:paramtypes",[String,Function]),_("design:returntype",void 0)],t.prototype,"getOptionsAsync",null),t}(a().Component),I=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),F=function(){return F=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},F.apply(this,arguments)},L=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},A=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},B=function(e){function t(t){var n=e.call(this,t)||this,r=t.isMulti?null:t.value;return n.state={value:r,insertedText:""},n}return I(t,e),t.prototype.componentDidUpdate=function(e){this.props.isMulti||this.props.value===e.value||this.setState({value:this.props.value})},t.prototype.handleOnInputChange=function(e){var t,n;return(0,s.isStringEmpty)(e)&&(null===(n=(t=this.props).onReset)||void 0===n||n.call(t)),this.setState({insertedText:e}),e},t.prototype.getNewItem=function(e){return null==e?[]:Array.isArray(e)?e:[e]},t.prototype.handleChange=function(e){var t,n,r={insertedText:""};this.setState({insertedText:""});var o=this.getNewItem(e);null===(n=null===(t=this.props)||void 0===t?void 0:t.onChange)||void 0===n||n.call(t,o,this.state.insertedText),this.props.isMulti||(r.value=0===o.length?null:o),this.setState(r)},t.prototype.handleOnMenuOpen=function(){this.props.isMulti||null==this.state.value||this.setState({value:null})},t.prototype.handleOnMenuClose=function(){var e,t;null===(t=null===(e=this.props)||void 0===e?void 0:e.onReset)||void 0===t||t.call(e),this.props.isMulti||this.setState({value:this.props.value})},t.prototype.render=function(){return a().createElement(D,F({},this.props,{value:this.props.isMulti?this.props.value:this.state.value,insertedText:this.state.insertedText,onChange:this.handleChange,onInputChange:this.handleOnInputChange,onMenuOpen:this.handleOnMenuOpen,onMenuClose:this.handleOnMenuClose}))},t.displayName="Suggester",t.CustomOption=f,L([l.ZP,A("design:type",Function),A("design:paramtypes",[String]),A("design:returntype",String)],t.prototype,"handleOnInputChange",null),L([l.ZP,A("design:type",Function),A("design:paramtypes",[Object]),A("design:returntype",void 0)],t.prototype,"handleChange",null),L([l.ZP,A("design:type",Function),A("design:paramtypes",[]),A("design:returntype",void 0)],t.prototype,"handleOnMenuOpen",null),L([l.ZP,A("design:type",Function),A("design:paramtypes",[]),A("design:returntype",void 0)],t.prototype,"handleOnMenuClose",null),t}(a().Component)},3292:(e,t,n)=>{"use strict";n.d(t,{ComputedDatum:()=>s.ComputedDatum,SunBurst:()=>b,SunBurstItemData:()=>r.SunBurstItemData});var r={};n.r(r),n.d(r,{X:()=>b});var o,i=n(8156),a=n.n(i),l=n(6627),s=n(9503),c=n(8310),p=n.n(c),u=n(4915),d=n(7540),f=n(5909),h=n(9274),m=(o=function(e,t){return o=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])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y=function(){return y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},y.apply(this,arguments)},v=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},g=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={data:{id:"",children:[],label:""}},t}var n,r,o;return m(t,e),t.prototype.componentDidUpdate=function(e){(0,u.vZ)(e,this.props)||this.setupComponent()},t.prototype.componentDidMount=function(){this.setupComponent()},t.prototype.setupComponent=function(){var e,t,n,r,o,i,a,l,s,c,p,u=this,d=this.props,m=d.colors,v=d.maxSlicesNumber;if(null==m)throw Error("What are the odds a developer voluntarily chooses to give the colors a null value with a default prop defined? Congrats!");if(v&&v+1!==m.length)throw Error("With a maxSliceNumber prop, maxSlicesNumber + 1 must be of the same length as the colors.length prop");var g=(0,f.xG)(null!==(t=null===(e=this.props)||void 0===e?void 0:e.data)&&void 0!==t?t:[],null===(n=this.props)||void 0===n?void 0:n.otherId,null===(r=this.props)||void 0===r?void 0:r.otherLabel,null!==(i=null===(o=this.props)||void 0===o?void 0:o.maxSlicesNumber)&&void 0!==i?i:1/0,null===(a=this.props)||void 0===a?void 0:a.total);this.renderTooltip=(0,h.getRenderStatisticsTooltip)({tooltipDataLabelKey:"value",tooltipDataValueKey:"percentage",tooltipDataTitleKey:"label",otherId:this.props.otherId,withColor:!0,numberToStringFormatter:null!==(l=this.props.tooltipValueFormat)&&void 0!==l?l:this.props.numberToStringFormatter}),this.setState({data:{id:null===(s=this.props)||void 0===s?void 0:s.id,label:null===(c=this.props)||void 0===c?void 0:c.id,children:null===(p=null!=g?g:[])||void 0===p?void 0:p.map((function(e,t){var n,r;return y(y({},e),{color:null===(r=null===(n=u.props)||void 0===n?void 0:n.colors)||void 0===r?void 0:r[t]})}))}})},t.prototype.getRenderTooltip=function(e){var t,n,r,o=null!==(t=this.props.renderTooltip)&&void 0!==t?t:this.renderTooltip,i=(null===(n=e.data)||void 0===n?void 0:n.value)||(null===(r=e.data)||void 0===r?void 0:r.initialValue)||0;return o(y(y({},e),{data:y(y({},e.data),{value:i})}))},t.prototype.renderCenteredMetric=function(e){var t,n,r,o=e.nodes,i=e.centerX,l=e.centerY,s=o.reduce((function(e,t){return e+t.value}),0);return a().createElement("text",{x:i,y:l,textAnchor:"middle",fontSize:"42px",fontWeight:"600",dominantBaseline:"central",className:"cursor-default"},null!==(r=null===(n=null===(t=this.props)||void 0===t?void 0:t.numberToStringFormatter)||void 0===n?void 0:n.call(t,s))&&void 0!==r?r:s)},t.prototype.render=function(){var e=this.props,t=e.height,n=e.withNumber,r=p()("sunburst-container",this.props.className);return a().createElement("div",{id:this.props.id,style:{height:t,width:t},ref:this.props.chartRef,className:r},a().createElement(s.ResponsiveSunburst,{tooltip:this.getRenderTooltip,data:this.state.data,margin:{top:10,right:10,bottom:10,left:10},cornerRadius:0,borderColor:"#ffff",childColor:{from:"color",modifiers:[["brighter",.5]]},enableArcLabels:!1,isInteractive:!0,layers:n?["arcs","arcLabels",this.renderCenteredMetric]:void 0,animate:this.props.animate,id:"id",colors:{datum:"data.color"}}))},t.displayName="SunBurst",t.defaultProps={colors:[d.qi,d.jk,d.Ef,d.u$,d.sf,d.kr,d.de],otherId:"other",height:"100%",animate:!0},v([l.MR,g("design:type",Function),g("design:paramtypes",["function"==typeof(n=void 0!==s.ComputedDatum&&s.ComputedDatum)?n:Object]),g("design:returntype","function"==typeof(r="undefined"!=typeof JSX&&JSX.Element)?r:Object)],t.prototype,"getRenderTooltip",null),v([l.MR,g("design:type",Function),g("design:paramtypes",["function"==typeof(o=void 0!==s.SunburstCustomLayerProps&&s.SunburstCustomLayerProps)?o:Object]),g("design:returntype",void 0)],t.prototype,"renderCenteredMetric",null),t}(a().Component)},994:(e,t,n)=>{"use strict";n.d(t,{r:()=>w});var r,o=n(8156),i=n.n(o),a=n(8310),l=n.n(a),s=n(5901),c=n.n(s),p=n(4915),u=n(6627),d=n(4589),f=n(595),h=n(3932),m=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},v=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={width:null},t.containerRef=i().createRef(),t}var n;return m(t,e),t.prototype.componentDidMount=function(){null!=this.containerRef.current&&this.setState({width:this.containerRef.current.getBoundingClientRect().width+48})},t.prototype.renderTitle=function(){if("number"==typeof this.props.value)return i().createElement(i().Fragment,null,this.props.title,this.renderPillPresence(this.props.value,this.props.isActive));if((0,d.isStringEmpty)(this.props.value))return this.props.title;var e=this.props.isActive?"blue300":"gray300";return i().createElement(i().Fragment,null,this.props.title," ",i().createElement(f.Badge,{variant:"primary",color:e,className:"ml-2"},this.props.value))},t.prototype.renderPillPresence=function(e,t){var n=0!==e,r=l()("pill-presence ml-1",{"is-active-color":n&&t,"is-disabled-color":n&&!t,"is-invisible":!n});return i().createElement("div",{className:r})},t.prototype.render=function(){var e=l()({active:!0===this.props.isActive,"tab-switcher-choice":!0}),t=null==this.state.width?{}:{width:this.state.width};return i().createElement("div",{className:e,onClick:this.props.onClick,ref:this.containerRef,style:t},i().createElement(h.Title,{size:"xs",icon:this.props.icon,style:{paddingLeft:0,paddingRight:0}},this.renderTitle()))},t.displayName="TabSwitcherChoice",y([u.MR,v("design:type",Function),v("design:paramtypes",[]),v("design:returntype","function"==typeof(n=void 0!==i()&&i().ReactNode)?n:Object)],t.prototype,"renderTitle",null),t}(i().PureComponent),b=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={indicatorLeft:0,indicatorWidth:0},t.refObjects=[],t}return b(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout((function(){return e.calculateIndicatorPosition()}),10)},t.prototype.componentDidUpdate=function(e){(0,p.vZ)(e,this.props)||this.calculateIndicatorPosition()},t.prototype.calculateIndicatorPosition=function(){var e=this;i().Children.forEach(this.props.children,(function(t,n){var r;if((null==t?void 0:t.type)===g&&!1!==t.props.isActive){var o=null===(r=e.refObjects[n])||void 0===r?void 0:r.current;null!=o&&e.setState({indicatorLeft:o.offsetLeft,indicatorWidth:o.offsetWidth})}}))},t.prototype.renderIndicator=function(){var e={transform:"translate(".concat(this.state.indicatorLeft,"px, 0)"),width:this.state.indicatorWidth};return i().createElement("span",{className:"indicator",style:e})},t.prototype.renderChildren=function(){var e=this,t=[];return i().Children.forEach(this.props.children,(function(n,r){null==e.refObjects[r]&&(e.refObjects[r]=i().createRef()),(null==n?void 0:n.type)===g&&t.push(i().createElement("span",{ref:e.refObjects[r],key:r},n))})),t},t.prototype.renderTabSwitcherRest=function(){return this.props.fullWidth?i().createElement("span",{className:"tab-switcher-rest"}):null},t.prototype.render=function(){var e=l()("tab-switcher-container",this.props.className,{"w-100":this.props.fullWidth});return i().createElement(c(),{style:{position:"relative"},className:e},this.renderIndicator(),this.renderChildren(),this.renderTabSwitcherRest())},t.displayName="TabSwitcher",t.Choice=g,t.defaultProps={fullWidth:!1},t}(i().PureComponent)},7154:(e,t,n)=>{"use strict";n.d(t,{TabSwitcher:()=>r.r});var r=n(994)},38:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var r,o=n(8156),i=n.n(o),a=n(5692),l=n(8310),s=n.n(l),c=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.renderIcon=function(){if(null==this.props.icon)return null;var e=s()({"mr-2":""!==this.props.children&&null!=this.props.children});return i().createElement(a.FontAwesomeIcon,{icon:this.props.icon,className:e,fixedWidth:!0})},t.prototype.renderContent=function(){return i().createElement(i().Fragment,null,this.renderIcon(),this.props.children)},t.prototype.render=function(){var e={className:this.props.className,style:this.props.style};switch(this.props.size){case"xs":return i().createElement("h6",p({},e),this.renderContent());case"sm":return i().createElement("h5",p({},e),this.renderContent());case"md":return i().createElement("h4",p({},e),this.renderContent());case"lg":return i().createElement("h3",p({},e),this.renderContent());case"xl":return i().createElement("h2",p({},e),this.renderContent());default:return i().createElement("h1",p({},e),this.renderContent())}},t.displayName="Title",t.defaultProps={size:"xxl"},t}(i().PureComponent)},3932:(e,t,n)=>{"use strict";n.d(t,{Title:()=>r.D});var r=n(38)},2936:(e,t,n)=>{"use strict";n.d(t,{Toast:()=>se,ToastContainer:()=>pe,ToastProps:()=>r.ToastProps,ToastVariant:()=>r.ToastVariant});var r={};n.r(r),n.d(r,{F:()=>se});var o=n(8310),i=n.n(o),a=n(8156),l=n.n(a),s=n(32),c=n(7038);function p(e){var t,n,r=(t=e,(n=(0,a.useRef)(t)).current=t,n);(0,a.useEffect)((function(){return function(){return r.current()}}),[])}var u=Math.pow(2,31)-1;function d(e,t,n){var r=n-Date.now();e.current=r<=u?setTimeout(t,r):setTimeout((function(){return d(e,t,n)}),u)}function f(){var e=function(){var e=(0,a.useRef)(!0),t=(0,a.useRef)((function(){return e.current}));return(0,a.useEffect)((function(){return function(){e.current=!1}}),[]),t.current}(),t=(0,a.useRef)();return p((function(){return clearTimeout(t.current)})),(0,a.useMemo)((function(){var n=function(){return clearTimeout(t.current)};return{set:function(r,o){void 0===o&&(o=0),e()&&(n(),o<=u?t.current=setTimeout(r,o):d(t,r,Date.now()+o))},clear:n}}),[])}var h=n(6113);function m(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}var y=/([A-Z])/g;var v=/^ms-/;function g(e){return function(e){return e.replace(y,"-$1").toLowerCase()}(e).replace(v,"-ms-")}var b=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const w=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(g(t))||function(e,t){return m(e).getComputedStyle(e,t)}(e).getPropertyValue(g(t));Object.keys(t).forEach((function(o){var i=t[o];i||0===i?!function(e){return!(!e||!b.test(e))}(o)?n+=g(o)+": "+i+";":r+=o+"("+i+") ":e.style.removeProperty(g(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n},E=!("undefined"==typeof window||!window.document||!window.document.createElement);var O=!1,C=!1;try{var x={get passive(){return O=!0},get once(){return C=O=!0}};E&&(window.addEventListener("test",x,x),window.removeEventListener("test",x,!0))}catch(e){}const P=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!C){var o=r.once,i=r.capture,a=n;!C&&o&&(a=n.__once||function e(r){this.removeEventListener(t,e,i),n.call(this,r)},n.__once=a),e.addEventListener(t,a,O?r:i)}e.addEventListener(t,n,r)};const N=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)};const S=function(e,t,n,r){return P(e,t,n,r),function(){N(e,t,n,r)}};function j(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,n,r),e.dispatchEvent(o)}}(e,"transitionend",!0)}),t+n),i=S(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),i()}}function _(e,t,n,r){var o,i;null==n&&(o=w(e,"transitionDuration")||"",i=-1===o.indexOf("ms")?1e3:1,n=parseFloat(o)*i||0);var a=j(e,n,r),l=S(e,"transitionend",t);return function(){a(),l()}}function T(e,t){var n=w(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function k(e,t){var n=T(e,"transitionDuration"),r=T(e,"transitionDelay"),o=_(e,(function(n){n.target===e&&(o(),t(n))}),n+r)}var R,M=((R={})[h.d0]="show",R[h.cn]="show",R),D=l().forwardRef((function(e,t){var n=e.className,r=e.children,o=(0,c.Z)(e,["className","children"]),p=(0,a.useCallback)((function(e){!function(e){e.offsetHeight}(e),o.onEnter&&o.onEnter(e)}),[o]);return l().createElement(h.ZP,(0,s.Z)({ref:t,addEndListener:k},o,{onEnter:p}),(function(e,t){return l().cloneElement(r,(0,s.Z)({},t,{className:i()("fade",n,r.props.className,M[e])}))}))}));D.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},D.displayName="Fade";const I=D;const F=function(e){var t=(0,a.useRef)(e);return(0,a.useEffect)((function(){t.current=e}),[e]),t};var L=l().createContext({});L.Consumer,L.Provider;function A(e,t){var n=(0,a.useContext)(L);return e||n[t]||t}var B=n(8691),z=n.n(B),V={label:z().string.isRequired,onClick:z().func},q=l().forwardRef((function(e,t){var n=e.label,r=e.onClick,o=e.className,a=(0,c.Z)(e,["label","onClick","className"]);return l().createElement("button",(0,s.Z)({ref:t,type:"button",className:i()("close",o),onClick:r},a),l().createElement("span",{"aria-hidden":"true"},"×"),l().createElement("span",{className:"sr-only"},n))}));q.displayName="CloseButton",q.propTypes=V,q.defaultProps={label:"Close"};const Z=q;const G=l().createContext({onClose:function(){}});var H=l().forwardRef((function(e,t){var n=e.bsPrefix,r=e.closeLabel,o=e.closeButton,p=e.className,u=e.children,d=(0,c.Z)(e,["bsPrefix","closeLabel","closeButton","className","children"]);n=A(n,"toast-header");var f=(0,a.useContext)(G),h=function(e){var t=F(e);return(0,a.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}((function(e){f&&f.onClose&&f.onClose(e)}));return l().createElement("div",(0,s.Z)({ref:t},d,{className:i()(n,p)}),u,o&&l().createElement(Z,{label:r,onClick:h,className:"ml-2 mb-1","data-dismiss":"toast"}))}));H.displayName="ToastHeader",H.defaultProps={closeLabel:"Close",closeButton:!0};const K=H;var W=/-(.)/g;var U=function(e){return e[0].toUpperCase()+(t=e,t.replace(W,(function(e,t){return t.toUpperCase()}))).slice(1);var t};const X=function(e,t){var n=void 0===t?{}:t,r=n.displayName,o=void 0===r?U(e):r,a=n.Component,p=n.defaultProps,u=l().forwardRef((function(t,n){var r=t.className,o=t.bsPrefix,p=t.as,u=void 0===p?a||"div":p,d=(0,c.Z)(t,["className","bsPrefix","as"]),f=A(o,e);return l().createElement(u,(0,s.Z)({ref:n,className:i()(r,f)},d))}));return u.defaultProps=p,u.displayName=o,u}("toast-body");var J=l().forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,o=e.children,p=e.transition,u=void 0===p?I:p,d=e.show,h=void 0===d||d,m=e.animation,y=void 0===m||m,v=e.delay,g=void 0===v?3e3:v,b=e.autohide,w=void 0!==b&&b,E=e.onClose,O=(0,c.Z)(e,["bsPrefix","className","children","transition","show","animation","delay","autohide","onClose"]);n=A(n,"toast");var C=(0,a.useRef)(g),x=(0,a.useRef)(E);(0,a.useEffect)((function(){C.current=g,x.current=E}),[g,E]);var P=f(),N=!(!w||!h),S=(0,a.useCallback)((function(){N&&(null==x.current||x.current())}),[N]);(0,a.useEffect)((function(){P.set(S,C.current)}),[P,S]);var j=(0,a.useMemo)((function(){return{onClose:E}}),[E]),_=!(!u||!y),T=l().createElement("div",(0,s.Z)({},O,{ref:t,className:i()(n,r,!_&&(h?"show":"hide")),role:"alert","aria-live":"assertive","aria-atomic":"true"}),o);return l().createElement(G.Provider,{value:j},_&&u?l().createElement(u,{in:h,unmountOnExit:!0},T):T)}));J.displayName="Toast";const $=Object.assign(J,{Body:X,Header:K});var Y=n(2628),Q=n(9870),ee=n(631),te=n(159),ne=n(4915),re=n(5692),oe=l().memo((function(e){return l().createElement(K,{bsPrefix:"atoka-toast-header",className:"overflow-hidden d-flex align-items-center w-100"},l().createElement(re.FontAwesomeIcon,{className:"mr-2",icon:e.icon}),l().createElement("strong",{className:"text-truncate flex-grow-1"},e.children))}));oe.displayName="ToastHeader";var ie,ae=(ie=function(e,t){return ie=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])},ie(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ie(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),le=function(){return le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},le.apply(this,arguments)},se=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fromVariantToIcon={danger:Y.faExclamationTriangle,warning:Q.faBellExclamation,info:te.faInfoCircle,success:ee.faCheckCircle},t}return ae(t,e),t.prototype.getIcon=function(){var e,t,n;return null!=this.props.icon?this.props.icon:null===(e=this.fromVariantToIcon)||void 0===e?void 0:e[null!==(n=null===(t=this.props)||void 0===t?void 0:t.variant)&&void 0!==n?n:"light"]},t.prototype.renderHeader=function(e){var t=(0,ne.z8)(e,oe);return l().createElement(t.type,le({},t.props,{icon:this.getIcon()}))},t.prototype.renderBody=function(e){return l().createElement("div",null,(0,ne.z8)(e,$.Body))},t.prototype.renderWhen=function(){return this.props.when?l().createElement("small",null,this.props.when):null},t.prototype.renderContent=function(){var e=this,t=[],n={ToastHeader:!1,ToastBody:!1};return l().Children.forEach(this.props.children,(function(r){r.type?(n[r.type.displayName]=!0,(null==r?void 0:r.type)===oe&&t.push(e.renderHeader(r)),(null==r?void 0:r.type)===$.Body&&t.push(e.renderBody(r))):t.push(r)})),n.ToastHeader?0===t.length?null:t.map((function(e,t){return l().createElement(l().Fragment,{key:t},e)})):(console.warn("You have to include a Header"),l().createElement("h1",null,"Error!"))},t.prototype.render=function(){var e=i()("py-2 px-3","atoka-toast",this.props.className,"variant-".concat(this.props.variant));return l().createElement($,le({},this.props,{className:e,key:this.props.when}),this.renderContent(),this.renderWhen())},t.displayName="Toast",t.Header=oe,t.Body=$.Body,t.defaultProps={variant:"info"},t}(l().PureComponent);var ce=n(1294),pe=l().memo((function(e){var t=i()("atoka-toast-container pt-2 d-flex justify-content-center",e.className);return l().createElement(ce.Bs4V3Wrapper,null,l().createElement("div",{className:t},l().createElement("div",null,e.children)))}));pe.displayName="ToastContainer"},4389:(e,t,n)=>{"use strict";n.d(t,{ToggleButtonGroup:()=>w});var r,o=n(8156),i=n.n(o),a=n(6627),l=n(8310),s=n.n(l),c=n(5901),p=n.n(c),u=n(3778),d=n.n(u),f=n(5692),h=n(4603),m=(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.renderIcon=function(){return null==this.props.icon?null:i().createElement(f.FontAwesomeIcon,{icon:this.props.icon})},t.prototype.renderLabelAndIcon=function(){return i().createElement("div",null,i().createElement("div",{className:"btn-children d-inline"},this.props.children),this.renderIcon())},t.prototype.renderButton=function(){return i().createElement(d(),{className:"atoka-toggle-btn text-center",type:this.props.type,value:this.props.value,checked:this.props.checked,onChange:this.props.onChange,disabled:this.props.disabled,block:this.props.sameSize},this.renderLabelAndIcon())},t.prototype.render=function(){return null==this.props.tooltipMessage?this.renderButton():i().createElement(h.Tooltip,{placement:"top",content:this.props.tooltipMessage},this.renderButton())},t.displayName="ToggleButton",t}(i().PureComponent),v=function(){var e=function(t,n){return e=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,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},b=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var n,r;return v(t,e),t.prototype.onChange=function(e){this.props.onChange&&e!==this.props.value&&this.props.onChange(e)},t.prototype.renderItem=function(e,t){var n=this;return i().createElement(y,{key:t,type:"radio",value:e.value,icon:e.icon,onChange:function(){return n.onChange(e.value)},checked:this.props.value===e.value,disabled:e.disabled,tooltipMessage:e.tooltipMessage,sameSize:this.props.sameSize},e.label)},t.prototype.renderButtons=function(){return this.props.options.map(this.renderItem)},t.prototype.render=function(){var e=s()(this.props.className,"atoka-toggle-btn-group","btn-group-primary","btn-group-".concat(this.props.size),{"d-flex":!0===this.props.sameSize});return i().createElement(p(),{className:e},this.renderButtons())},t.displayName="ToggleButtonGroup",t.defaultProps={size:"md",options:[]},g([a.ZP,b("design:type",Function),b("design:paramtypes",[Object]),b("design:returntype",void 0)],t.prototype,"onChange",null),g([a.ZP,b("design:type",Function),b("design:paramtypes",[Object,Number]),b("design:returntype","function"==typeof(n=void 0!==i()&&i().ReactNode)?n:Object)],t.prototype,"renderItem",null),g([a.ZP,b("design:type",Function),b("design:paramtypes",[]),b("design:returntype","function"==typeof(r=void 0!==i()&&i().ReactNode)?r:Object)],t.prototype,"renderButtons",null),t}(i().PureComponent)},4603:(e,t,n)=>{"use strict";n.d(t,{Tooltip:()=>u});var r=n(8156),o=n.n(r),i=n(8310),a=n.n(i),l=n(6043),s=n.n(l),c=function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},u=o().memo((function(e){var t,n=document.querySelector(".bs4-v3-external-container"),r=null!==(t=e.placement)&&void 0!==t?t:"top",i=a()("tooltip atoka-tooltip",e.className,{"top bs-tooltip-top":0===r.indexOf("top"),"right bs-tooltip-right":0===r.indexOf("right"),"bottom bs-tooltip-bottom":0===r.indexOf("bottom"),"left bs-tooltip-left":0===r.indexOf("left")}),l=e.content,u=p(e,["content"]);return o().createElement(s(),c({},u,{container:n,overlay:function(e){var t=e.arrowProps,n=p(e,["arrowProps"]),r=(n.show,p(n,["show"]));return o().createElement("div",c({},r,{className:i,role:"tooltip"}),o().createElement("div",{className:"tooltip-inner"},o().createElement("div",c({className:"arrow arrow-back"},t)),l,o().createElement("div",c({className:"arrow arrow-front"},t))))}}),e.children)}));u.displayName="Tooltip"},3654:()=>{},5909:(e,t,n)=>{"use strict";n.d(t,{xG:()=>i,Ow:()=>l});var r=n(4915),o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function i(e,t,n,o,i,l){var s,c;void 0===o&&(o=0),void 0===l&&(l="value");var p=0,u=null!=t?t:"other",d=null!=o?o:0,f=[],h=null==e?void 0:e.sort((0,r.kV)(l));null==h||h.forEach((function(e,n){var o;if(n<d&&e.id!==t)f.push(function(e){if(null==e.children)return e;var t=(0,r.d9)(e);return a(t),t}(e));else{var i=null!==(o=Number(null==e?void 0:e.value))&&void 0!==o?o:0;p+=i}}));var m={};return m.id=u,m.value=parseFloat(p.toFixed(2)),m.initialValue=parseFloat(p.toFixed(2)),m.label=null!==(s=null!=n?n:u)&&void 0!==s?s:"",null!=(null===(c=null==e?void 0:e[0])||void 0===c?void 0:c.percentage)&&null!=i&&(m.percentage=p/i*100),o===1/0&&0===p||f.push(m),f}function a(e){var t,n,r,i=null!==(r=null==e?void 0:e.children)&&void 0!==r?r:[];e.initialValue=e.value,i.length>0&&delete e.value;try{for(var l=o(i),s=l.next();!s.done;s=l.next()){a(s.value)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}}function l(e){var t;return"".concat(parseInt(null===(t=null==e?void 0:e.toFixed)||void 0===t?void 0:t.call(e,0),10),"%")}},7540:(e,t,n)=>{"use strict";n.d(t,{Zu:()=>i,vA:()=>o,ix:()=>a,kT:()=>l,KH:()=>s,WV:()=>c,kA:()=>p,Ls:()=>u,P3:()=>d,qi:()=>f,p5:()=>h,pN:()=>v,ZM:()=>m,er:()=>w,$y:()=>E,Q6:()=>O,ek:()=>C,AF:()=>y,u:()=>g,de:()=>b,jk:()=>x,Ef:()=>P,sf:()=>S,u$:()=>N,kr:()=>j,Sn:()=>_});var r=n(1820);function o(e,t){void 0===t&&(t=["#82CA9D","#F6EA25","#F7977A"]);var n=[];if(0!==e){var o=(0,r.Z)(),a=i(t.length,t.length),l=i(e,t.length);o=o.domain(a).range(t);for(var s=0;s<e;s++)n.push(o(l[s]));return n}}function i(e,t){var n=[];n.push(0);for(var r=0;r<e-2;r++){var o=Number(t/e*(r+1));n.push(parseFloat(o.toFixed(2)))}return n.push(t),n}var a="#FFFFFF",l="#eef2f5",s="#CBD8E0",c="#AFD1E0",p="#8FB7CB",u="#94C2DA",d="#6E9DB5",f="#578EA8",h="rgb(32, 88, 113)",m="#11455C",y="#FAFAFA",v="#EBEBEB",g="#B0B0B0",b="#717171",w="#FFBB00",E="#F38522",O="#F72200",C="#309B0A",x="#63619F",P="#965DA3",N="#C55795",S="#E85778",j="#F86752",_="#222222"},2394:(e,t,n)=>{"use strict";n.d(t,{Wq:()=>a,lV:()=>l,iA:()=>s,Hp:()=>c,eR:()=>p,nS:()=>u,TK:()=>d,hr:()=>f,OH:()=>h,ho:()=>m});var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))};function a(e){return null==e||null!==e.match(/^\s*$/)}function l(e){var t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n=new RegExp(t.split("").join("|"),"g");return e.toString().toLowerCase().replace(/\s+/g,"-").replace(n,(function(e){return"aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(t.indexOf(e))})).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function s(e,t,n){return e*t+n}function c(e,t){return null==e?"":e.length>t?"".concat(e.substr(0,t-1),"…"):e}function p(e){return function(t){var n=/^([\d*]+)-([\d*]+)$/.exec(t);return null==n?t:u({from:n[1],to:n[2]},null!=e?e:function(e){return e})}}function u(e,t){var n,r,o="*"===e.to?"*":t(parseInt(null!==(n=e.to)&&void 0!==n?n:"0",10)),i=t(parseInt(null!==(r=e.from)&&void 0!==r?r:"0",10));return i===o?"".concat(i):"".concat(i," - ").concat(o)}function d(e,t){return function(n){var r=n.toString();return c(null==e?r:"".concat(e(r)),t)}}function f(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function h(e,t){var n,o;if(null==e||null==t)return!1;if(e=e.toLowerCase(),null===(t=t.toLowerCase()).match(" "))return null!==e.match(f(t));var i=t.split(" ").filter((function(e){return!a(e)})).sort((function(e,t){return t.length-e.length}));try{for(var l=r(i),s=l.next();!s.done;s=l.next()){if(e===s.value)return!0}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return!1}function m(e,t){var n,l;if(null==t)return[];if(null===(e=f(e)).match(" ")){var s=new RegExp("("+e+")","gi");return t.split(s)}var c=e.split(" ").filter((function(e){return!a(e)})).sort((function(e,t){return t.length-e.length})),p=[t];try{for(var u=r(c),d=u.next();!d.done;d=u.next())for(var m=d.value,y=(s=new RegExp("("+m+")","gi"),0);y<p.length;y++){var v=p[y];if(!h(v,e)){var g=v.split(s).filter((function(e){return""!==e}));p.splice.apply(p,i([y,1],o(g),!1))}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(l=u.return)&&l.call(u)}finally{if(n)throw n.error}}return p}},4915:(e,t,n)=>{"use strict";n.d(t,{hZ:()=>l,z8:()=>s,SM:()=>c,k3:()=>p,$R:()=>u,kV:()=>d,d9:()=>f,vZ:()=>m});var r=n(5692),o=n(8156),i=n.n(o),a=n(3642);function l(e,t){var n=[];return i().Children.forEach(e,(function(e){(null==e?void 0:e.type)===t&&n.push(e)})),n}function s(e,t){var n,r;return null!==(r=null===(n=l(e,t))||void 0===n?void 0:n[0])&&void 0!==r?r:null}function c(e){var t=!1;return i().Children.forEach(e,(function(e){null==(null==e?void 0:e.type)||(null==e?void 0:e.type)!==r.FontAwesomeIcon&&"i"!==(null==e?void 0:e.type)&&(null==e?void 0:e.type)!==a.l.Checkbox||(t=!0)})),t}function p(){window.scrollTo(0,0)}function u(e,t){for(var n=[],r=0;e[r];)n.push(e[r]),n.push(t[r++]);return n}function d(e){return function(t,n){var r=0,o=0;return null!=(null==t?void 0:t[e])&&(r=null==t?void 0:t[e]),null!=(null==n?void 0:n[e])&&(o=null==n?void 0:n[e]),r>o?-1:1}}function f(e){return JSON.parse(JSON.stringify(e))}function h(e){return"object"==typeof e&&null!=e}function m(e,t){if(e===t)return!0;if(h(e)&&h(t)){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!m(e[n],t[n]))return!1;return!0}return!1}},4589:(e,t,n)=>{"use strict";n.d(t,{DataPoint:()=>r.hz,BasePieItemData:()=>r.VM,PropsWithClassName:()=>r.BF,OptionData:()=>r.nJ,createDataWithOtherSlice:()=>o.xG,normalizePercentage:()=>o.Ow,deepEqual:()=>i.vZ,sortObjDesc:()=>i.kV,ellipse:()=>a.Hp,ellipseAndFormat:()=>a.TK,escapeRegExp:()=>a.hr,estimateWordSize:()=>a.iA,formatRange:()=>a.nS,isMatching:()=>a.OH,isStringEmpty:()=>a.Wq,matchAndFormatRangeLabel:()=>a.eR,slugify:()=>a.lV,splitTextInParts:()=>a.ho,black:()=>l.Sn,blue100:()=>l.qi,blue25:()=>l.kT,blue30:()=>l.KH,blue300:()=>l.p5,blue400:()=>l.ZM,blue50:()=>l.WV,blue80:()=>l.kA,blue90:()=>l.Ls,blue95:()=>l.P3,calculateDomain:()=>l.Zu,generateRangeColor:()=>l.vA,gray100:()=>l.AF,gray200:()=>l.pN,gray300:()=>l.u,gray400:()=>l.de,green:()=>l.ek,orange:()=>l.$y,pink100:()=>l.sf,pink200:()=>l.u$,purple:()=>l.jk,red:()=>l.Q6,salmon:()=>l.kr,viola:()=>l.Ef,white:()=>l.ix,yellow:()=>l.er});var r=n(3654),o=n(5909),i=n(4915),a=n(2394),l=n(7540)},6789:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Bs4V3Wrapper:()=>r.Bs4V3Wrapper,AddableItems:()=>o.AddableItems,AddableItemsProps:()=>o.AddableItemsProps,Alert:()=>i.Alert,Button:()=>a.Button,Badge:()=>l.Badge,ButtonDropdown:()=>s.ButtonDropdown,BubbleChart:()=>c.BubbleChart,BubbleChartDataPoint:()=>c.BubbleChartDataPoint,BubbleChartTooltip:()=>c.BubbleChartTooltip,BubbleChartComputedDatum:()=>c.ComputedDatum,CardsPage:()=>p.CardsPage,CursorPagination:()=>u.CursorPagination,BasePieItemData:()=>d.BasePieItemData,DataPoint:()=>d.DataPoint,OptionData:()=>d.OptionData,PropsWithClassName:()=>d.PropsWithClassName,black:()=>d.black,blue100:()=>d.blue100,blue25:()=>d.blue25,blue30:()=>d.blue30,blue300:()=>d.blue300,blue400:()=>d.blue400,blue50:()=>d.blue50,blue80:()=>d.blue80,blue90:()=>d.blue90,blue95:()=>d.blue95,calculateDomain:()=>d.calculateDomain,createDataWithOtherSlice:()=>d.createDataWithOtherSlice,deepEqual:()=>d.deepEqual,ellipse:()=>d.ellipse,ellipseAndFormat:()=>d.ellipseAndFormat,escapeRegExp:()=>d.escapeRegExp,estimateWordSize:()=>d.estimateWordSize,formatRange:()=>d.formatRange,generateRangeColor:()=>d.generateRangeColor,gray100:()=>d.gray100,gray200:()=>d.gray200,gray300:()=>d.gray300,gray400:()=>d.gray400,green:()=>d.green,isMatching:()=>d.isMatching,isStringEmpty:()=>d.isStringEmpty,matchAndFormatRangeLabel:()=>d.matchAndFormatRangeLabel,normalizePercentage:()=>d.normalizePercentage,orange:()=>d.orange,pink100:()=>d.pink100,pink200:()=>d.pink200,purple:()=>d.purple,red:()=>d.red,salmon:()=>d.salmon,slugify:()=>d.slugify,sortObjDesc:()=>d.sortObjDesc,splitTextInParts:()=>d.splitTextInParts,viola:()=>d.viola,white:()=>d.white,yellow:()=>d.yellow,DatePicker:()=>f.DatePicker,DetailPage:()=>h.DetailPage,Dropdown:()=>m.Dropdown,DropdownMenu:()=>m.DropdownMenu,AtokaSimpleDropdownToggle:()=>m.AtokaSimpleDropdownToggle,AtokaCustomDropdownToggle:()=>m.AtokaCustomDropdownToggle,AtokaCustomDropdownToggleWithChevron:()=>m.AtokaCustomDropdownToggleWithChevron,EditableString:()=>y.EditableString,EllipsableContent:()=>v.EllipsableContent,EmptyState:()=>g.EmptyState,Facet:()=>b.Facet,FacetSection:()=>w.FacetSection,FadeAnimation:()=>E.FadeAnimation,FeedbackButton:()=>O.FeedbackButton,Form:()=>C.Form,Funnel:()=>x.Funnel,FunnelData:()=>x.FunnelData,GridCard:()=>P.GridCard,HighlightableText:()=>N.HighlightableText,Histogram:()=>S.Histogram,CanvasLegendConfig:()=>S.CanvasLegendConfig,RenderHistogramSVGLegend:()=>S.RenderHistogramSVGLegend,GetHistogramCanvasLegendConfig:()=>S.GetHistogramCanvasLegendConfig,BarCustomLayerProps:()=>S.BarCustomLayerProps,TooltipProp:()=>j.x,InlineStringEditor:()=>_.InlineStringEditor,InlineStringValueType:()=>_.InlineStringValueType,InputGroup:()=>T.InputGroup,Jumbotron:()=>k.Jumbotron,Map:()=>R.Map,MapProps:()=>R.MapProps,MapChoroplethProps:()=>R.MapChoroplethProps,MapData:()=>R.MapData,MapDataKind:()=>R.MapDataKind,Modal:()=>M.Modal,ModalProps:()=>M.ModalProps,Navbar:()=>D.Navbar,Pagination:()=>I.Pagination,PieChart:()=>F.PieChart,PieChartProps:()=>F.PieChartProps,PublicFooter:()=>L.PublicFooter,PublicNavbar:()=>A.PublicNavbar,RecordBit:()=>B.RecordBit,ResultItemCard:()=>z.ResultItemCard,SelectDropdown:()=>V.SelectDropdown,Spinner:()=>q.Spinner,SpinnerSize:()=>q.SpinnerSize,getRenderStatisticsLegend:()=>Z.getRenderStatisticsLegend,StatisticsLegend:()=>Z.StatisticsLegend,StatisticsLegendProps:()=>Z.StatisticsLegendProps,StatisticsSVGLegend:()=>Z.StatisticsSVGLegend,StatisticsItemCard:()=>G.StatisticsItemCard,StatisticsItemNumeric:()=>H.StatisticsItemNumeric,Suggester:()=>K.Suggester,getRenderCustomMultiValueWithIcon:()=>K.getRenderCustomMultiValueWithIcon,SuggesterProps:()=>K.SuggesterProps,RenderMultiValueContainer:()=>K.RenderMultiValueContainer,CustomOptionProps:()=>K.CustomOptionProps,SunBurst:()=>W.SunBurst,SunBurstItemData:()=>W.SunBurstItemData,ComputedDatum:()=>W.ComputedDatum,GetRenderStatisticsTooltipType:()=>U.GetRenderStatisticsTooltipType,StatisticsTooltip:()=>U.StatisticsTooltip,getRenderStatisticsTooltip:()=>U.getRenderStatisticsTooltip,TabSwitcher:()=>X.TabSwitcher,Title:()=>J.Title,Toast:()=>$.Toast,ToastContainer:()=>$.ToastContainer,ToastProps:()=>$.ToastProps,ToastVariant:()=>$.ToastVariant,ToggleButtonGroup:()=>Y.ToggleButtonGroup,Tooltip:()=>Q.Tooltip,GaugeLinear:()=>ee.GaugeLinear});var r=n(1294),o=n(568),i=n(782),a=n(7325),l=n(595),s=n(5478),c=n(8075),p=n(1907),u=n(3871),d=n(4589),f=n(1514),h=n(4716),m=n(192),y=n(4894),v=n(9319),g=n(1469),b=n(7741),w=n(4944),E=n(577),O=n(9450),C=n(1862),x=n(1219),P=n(8684),N=n(8265),S=n(9825),j=n(4950),_=n(2327),T=n(2913),k=n(6060),R=n(6074),M=n(7527),D=n(3003),I=n(7523),F=n(3614),L=n(2765),A=n(8973),B=n(750),z=n(6785),V=n(188),q=n(6216),Z=n(1358),G=n(754),H=n(7516),K=n(2656),W=n(3292),U=n(9274),X=n(7154),J=n(3932),$=n(2936),Y=n(4389),Q=n(4603),ee=n(4139)},6951:t=>{"use strict";t.exports=e},1980:e=>{"use strict";e.exports=t},7950:e=>{"use strict";e.exports=n},9368:e=>{"use strict";e.exports=r},2569:e=>{"use strict";e.exports=o},4600:e=>{"use strict";e.exports=i},1711:e=>{"use strict";e.exports=a},2705:e=>{"use strict";e.exports=l},3987:e=>{"use strict";e.exports=s},9153:e=>{"use strict";e.exports=c},3402:e=>{"use strict";e.exports=p},4997:e=>{"use strict";e.exports=u},1654:e=>{"use strict";e.exports=d},1235:e=>{"use strict";e.exports=f},8809:e=>{"use strict";e.exports=h},6466:e=>{"use strict";e.exports=m},5037:e=>{"use strict";e.exports=y},8761:e=>{"use strict";e.exports=v},8427:e=>{"use strict";e.exports=g},5797:e=>{"use strict";e.exports=b},6988:e=>{"use strict";e.exports=w},5538:e=>{"use strict";e.exports=E},6550:e=>{"use strict";e.exports=O},9870:e=>{"use strict";e.exports=C},631:e=>{"use strict";e.exports=x},1349:e=>{"use strict";e.exports=P},3041:e=>{"use strict";e.exports=N},2628:e=>{"use strict";e.exports=S},159:e=>{"use strict";e.exports=j},1326:e=>{"use strict";e.exports=_},5692:e=>{"use strict";e.exports=T},2895:e=>{"use strict";e.exports=k},3741:e=>{"use strict";e.exports=R},9179:e=>{"use strict";e.exports=M},7812:e=>{"use strict";e.exports=D},9503:e=>{"use strict";e.exports=I},5521:e=>{"use strict";e.exports=F},8310:e=>{"use strict";e.exports=L},4159:e=>{"use strict";e.exports=A},855:e=>{"use strict";e.exports=B},8156:e=>{"use strict";e.exports=z},5859:e=>{"use strict";e.exports=V},6997:e=>{"use strict";e.exports=q},8926:e=>{"use strict";e.exports=Z},5901:e=>{"use strict";e.exports=G},2494:e=>{"use strict";e.exports=H},6514:e=>{"use strict";e.exports=K},5315:e=>{"use strict";e.exports=W},4440:e=>{"use strict";e.exports=U},4394:e=>{"use strict";e.exports=X},4976:e=>{"use strict";e.exports=J},8721:e=>{"use strict";e.exports=$},1082:e=>{"use strict";e.exports=Y},8763:e=>{"use strict";e.exports=Q},2476:e=>{"use strict";e.exports=ee},3161:e=>{"use strict";e.exports=te},9034:e=>{"use strict";e.exports=ne},7738:e=>{"use strict";e.exports=re},573:e=>{"use strict";e.exports=oe},7917:e=>{"use strict";e.exports=ie},3908:e=>{"use strict";e.exports=ae},6043:e=>{"use strict";e.exports=le},9924:e=>{"use strict";e.exports=se},1968:e=>{"use strict";e.exports=ce},3915:e=>{"use strict";e.exports=pe},3778:e=>{"use strict";e.exports=ue},8053:e=>{"use strict";e.exports=de},4731:e=>{"use strict";e.exports=fe},7111:e=>{"use strict";e.exports=he},1738:e=>{"use strict";e.exports=me},1553:e=>{"use strict";e.exports=ye},32:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},7581:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>o})},7038:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},4329:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})}},be={};function we(e){var t=be[e];if(void 0!==t)return t.exports;var n=be[e]={exports:{}};return ge[e](n,n.exports,we),n.exports}we.m=ge,ve=[],we.O=(e,t,n,r)=>{if(!t){var o=1/0;for(s=0;s<ve.length;s++){for(var[t,n,r]=ve[s],i=!0,a=0;a<t.length;a++)(!1&r||o>=r)&&Object.keys(we.O).every((e=>we.O[e](t[a])))?t.splice(a--,1):(i=!1,r<o&&(o=r));if(i){ve.splice(s--,1);var l=n();void 0!==l&&(e=l)}}return e}r=r||0;for(var s=ve.length;s>0&&ve[s-1][2]>r;s--)ve[s]=ve[s-1];ve[s]=[t,n,r]},we.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return we.d(t,{a:t}),t},we.d=(e,t)=>{for(var n in t)we.o(t,n)&&!we.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},we.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),we.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={4826:0,5905:0,9798:0,54:0,4548:0,3227:0,6615:0,9733:0,6001:0,1787:0,5821:0,904:0,8621:0,9900:0,3099:0,8016:0,7219:0,9727:0,5853:0,700:0,6419:0,2494:0,1977:0,4975:0,4953:0,3397:0,7331:0,2558:0,4783:0,1855:0,951:0,7658:0,8910:0,1022:0,8643:0,2875:0,2019:0,2291:0,6740:0,410:0,7238:0,4051:0,1338:0,9811:0,4659:0,6074:0,2197:0,7564:0,8276:0,1030:0,2823:0,496:0,5971:0};we.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,a,l]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in a)we.o(a,r)&&(we.m[r]=a[r]);if(l)var c=l(we)}for(t&&t(n);s<i.length;s++)o=i[s],we.o(e,o)&&e[o]&&e[o][0](),e[i[s]]=0;return we.O(c)},n=self.webpackChunkatoka_design_system=self.webpackChunkatoka_design_system||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var Ee=we.O(void 0,[5971],(()=>we(6789)));return Ee=we.O(Ee)})()}));