vuchat 2.0.9 → 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as e from'react';import t,{useState as n,useEffect as r,useReducer as i,useRef as o,useCallback as s,isValidElement as a,cloneElement as A,useLayoutEffect as l,forwardRef as c,useContext as u,useMemo as d,memo as f,createContext as h,createElement as p,Component as g,Fragment as m,useImperativeHandle as v}from'react';import b,{unstable_batchedUpdates as y}from'react-dom';import{jsx as w,jsxs as B,Fragment as x}from'react/jsx-runtime';import{useLocation as C,useHistory as _}from'react-router-dom';function j(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&'undefined'!=typeof document){var r=document.head||document.getElementsByTagName('head')[0],i=document.createElement('style');i.type='text/css','top'===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}function F(e,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},F(e,t)}function E(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,F(e,t)}j('*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n .vu-css-ls *,\n .vu-css-ls ::before,\n .vu-css-ls ::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n }\n .vu-css-ls ::before,\n .vu-css-ls ::after {\n --tw-content: "";\n }\n html.vu-css-ls {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n }\n body.vu-css-ls {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n }\n hr.vu-css-ls {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n }\n .vu-css-ls abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1.vu-css-ls,\n h2.vu-css-ls,\n h3.vu-css-ls,\n h4.vu-css-ls,\n h5.vu-css-ls,\n h6.vu-css-ls {\n font-size: inherit;\n font-weight: inherit;\n }\n a.vu-css-ls {\n color: inherit;\n text-decoration: inherit;\n }\n b.vu-css-ls,\n strong.vu-css-ls {\n font-weight: bolder;\n }\n code.vu-css-ls,\n kbd.vu-css-ls,\n samp.vu-css-ls,\n pre.vu-css-ls {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-size: 1em; /* 2 */\n }\n small.vu-css-ls {\n font-size: 80%;\n }\n sub.vu-css-ls,\n sup.vu-css-ls {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub.vu-css-ls {\n bottom: -0.25em;\n }\n sup.vu-css-ls {\n top: -0.5em;\n }\n table.vu-css-ls {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n }\n button.vu-css-ls,\n input.vu-css-ls,\n optgroup.vu-css-ls,\n select.vu-css-ls,\n textarea.vu-css-ls {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n }\n button.vu-css-ls,\n select.vu-css-ls {\n text-transform: none;\n }\n button.vu-css-ls,\n .vu-css-ls [type="button"],\n .vu-css-ls [type="reset"],\n .vu-css-ls [type="submit"] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n }\n .vu-css-ls :-moz-focusring {\n outline: auto;\n }\n .vu-css-ls :-moz-ui-invalid {\n box-shadow: none;\n }\n progress.vu-css-ls {\n vertical-align: baseline;\n }\n .vu-css-ls ::-webkit-inner-spin-button,\n .vu-css-ls ::-webkit-outer-spin-button {\n height: auto;\n }\n .vu-css-ls [type="search"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n }\n .vu-css-ls ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n .vu-css-ls ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n }\n summary.vu-css-ls {\n display: list-item;\n }\n blockquote.vu-css-ls,\n dl.vu-css-ls,\n dd.vu-css-ls,\n h1.vu-css-ls,\n h2.vu-css-ls,\n h3.vu-css-ls,\n h4.vu-css-ls,\n h5.vu-css-ls,\n h6.vu-css-ls,\n hr.vu-css-ls,\n figure.vu-css-ls,\n p.vu-css-ls,\n pre.vu-css-ls {\n margin: 0;\n }\n fieldset.vu-css-ls {\n margin: 0;\n padding: 0;\n }\n legend.vu-css-ls {\n padding: 0;\n }\n ol.vu-css-ls,\n ul.vu-css-ls,\n menu.vu-css-ls {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n dialog.vu-css-ls {\n padding: 0;\n }\n textarea.vu-css-ls {\n resize: vertical;\n }\n input.vu-css-ls::-moz-placeholder, textarea.vu-css-ls::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n }\n input.vu-css-ls::placeholder,\n textarea.vu-css-ls::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n }\n button.vu-css-ls,\n .vu-css-ls [role="button"] {\n cursor: pointer;\n }\n .vu-css-ls :disabled {\n cursor: default;\n }\n img.vu-css-ls,\n svg.vu-css-ls,\n video.vu-css-ls,\n canvas.vu-css-ls,\n audio.vu-css-ls,\n iframe.vu-css-ls,\n embed.vu-css-ls,\n object.vu-css-ls {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n }\n img.vu-css-ls,\n video.vu-css-ls {\n max-width: 100%;\n height: auto;\n }\n .vu-css-ls [hidden] {\n display: none;\n }\n\n.vu-prose {\n color: var(--tw-prose-body);\n max-width: 65ch;\n}\n\n.vu-prose :where(p):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n\n.vu-prose :where([class~="lead"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-lead);\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n}\n\n.vu-prose :where(a):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-links);\n text-decoration: underline;\n font-weight: 500;\n}\n\n.vu-prose :where(strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-bold);\n font-weight: 600;\n}\n\n.vu-prose :where(a strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(blockquote strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(thead th strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(ol):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}\n\n.vu-prose :where(ol[type="A"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: upper-alpha;\n}\n\n.vu-prose :where(ol[type="a"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: lower-alpha;\n}\n\n.vu-prose :where(ol[type="A" s]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: upper-alpha;\n}\n\n.vu-prose :where(ol[type="a" s]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: lower-alpha;\n}\n\n.vu-prose :where(ol[type="I"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: upper-roman;\n}\n\n.vu-prose :where(ol[type="i"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: lower-roman;\n}\n\n.vu-prose :where(ol[type="I" s]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: upper-roman;\n}\n\n.vu-prose :where(ol[type="i" s]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: lower-roman;\n}\n\n.vu-prose :where(ol[type="1"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: decimal;\n}\n\n.vu-prose :where(ul):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}\n\n.vu-prose :where(ol > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::marker {\n font-weight: 400;\n color: var(--tw-prose-counters);\n}\n\n.vu-prose :where(ul > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::marker {\n color: var(--tw-prose-bullets);\n}\n\n.vu-prose :where(dt):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.25em;\n}\n\n.vu-prose :where(hr):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-color: var(--tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n}\n\n.vu-prose :where(blockquote):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 500;\n font-style: italic;\n color: var(--tw-prose-quotes);\n border-inline-start-width: 0.25rem;\n border-inline-start-color: var(--tw-prose-quote-borders);\n quotes: "\\201C""\\201D""\\2018""\\2019";\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-inline-start: 1em;\n}\n\n.vu-prose :where(blockquote p:first-of-type):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::before {\n content: open-quote;\n}\n\n.vu-prose :where(blockquote p:last-of-type):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::after {\n content: close-quote;\n}\n\n.vu-prose :where(h1):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 800;\n font-size: 2.25em;\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n}\n\n.vu-prose :where(h1 strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 900;\n color: inherit;\n}\n\n.vu-prose :where(h2):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 700;\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n}\n\n.vu-prose :where(h2 strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 800;\n color: inherit;\n}\n\n.vu-prose :where(h3):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n}\n\n.vu-prose :where(h3 strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 700;\n color: inherit;\n}\n\n.vu-prose :where(h4):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n}\n\n.vu-prose :where(h4 strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 700;\n color: inherit;\n}\n\n.vu-prose :where(img):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.vu-prose :where(picture):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n display: block;\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.vu-prose :where(video):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.vu-prose :where(kbd):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 500;\n font-family: inherit;\n color: var(--tw-prose-kbd);\n box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);\n font-size: 0.875em;\n border-radius: 0.3125rem;\n padding-top: 0.1875em;\n padding-inline-end: 0.375em;\n padding-bottom: 0.1875em;\n padding-inline-start: 0.375em;\n}\n\n.vu-prose :where(code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-code);\n font-weight: 600;\n font-size: 0.875em;\n}\n\n.vu-prose :where(code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::before {\n content: "`";\n}\n\n.vu-prose :where(code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::after {\n content: "`";\n}\n\n.vu-prose :where(a code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(h1 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(h2 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n font-size: 0.875em;\n}\n\n.vu-prose :where(h3 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n font-size: 0.9em;\n}\n\n.vu-prose :where(h4 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(blockquote code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(thead th code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(pre):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-pre-code);\n background-color: var(--tw-prose-pre-bg);\n overflow-x: auto;\n font-weight: 400;\n font-size: 0.875em;\n line-height: 1.7142857;\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n border-radius: 0.375rem;\n padding-top: 0.8571429em;\n padding-inline-end: 1.1428571em;\n padding-bottom: 0.8571429em;\n padding-inline-start: 1.1428571em;\n}\n\n.vu-prose :where(pre code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: inherit;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}\n\n.vu-prose :where(pre code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::before {\n content: none;\n}\n\n.vu-prose :where(pre code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::after {\n content: none;\n}\n\n.vu-prose :where(table):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n width: 100%;\n table-layout: auto;\n margin-top: 2em;\n margin-bottom: 2em;\n font-size: 0.875em;\n line-height: 1.7142857;\n}\n\n.vu-prose :where(thead):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-th-borders);\n}\n\n.vu-prose :where(thead th):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n vertical-align: bottom;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}\n\n.vu-prose :where(tbody tr):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-td-borders);\n}\n\n.vu-prose :where(tbody tr:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-bottom-width: 0;\n}\n\n.vu-prose :where(tbody td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n vertical-align: baseline;\n}\n\n.vu-prose :where(tfoot):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-top-width: 1px;\n border-top-color: var(--tw-prose-th-borders);\n}\n\n.vu-prose :where(tfoot td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n vertical-align: top;\n}\n\n.vu-prose :where(th, td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n text-align: start;\n}\n\n.vu-prose :where(figure > *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.vu-prose :where(figcaption):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n}\n\n.vu-prose {\n --tw-prose-body: #374151;\n --tw-prose-headings: #111827;\n --tw-prose-lead: #4b5563;\n --tw-prose-links: #111827;\n --tw-prose-bold: #111827;\n --tw-prose-counters: #6b7280;\n --tw-prose-bullets: #d1d5db;\n --tw-prose-hr: #e5e7eb;\n --tw-prose-quotes: #111827;\n --tw-prose-quote-borders: #e5e7eb;\n --tw-prose-captions: #6b7280;\n --tw-prose-kbd: #111827;\n --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);\n --tw-prose-code: #111827;\n --tw-prose-pre-code: #e5e7eb;\n --tw-prose-pre-bg: #1f2937;\n --tw-prose-th-borders: #d1d5db;\n --tw-prose-td-borders: #e5e7eb;\n --tw-prose-invert-body: #d1d5db;\n --tw-prose-invert-headings: #fff;\n --tw-prose-invert-lead: #9ca3af;\n --tw-prose-invert-links: #fff;\n --tw-prose-invert-bold: #fff;\n --tw-prose-invert-counters: #9ca3af;\n --tw-prose-invert-bullets: #4b5563;\n --tw-prose-invert-hr: #374151;\n --tw-prose-invert-quotes: #f3f4f6;\n --tw-prose-invert-quote-borders: #374151;\n --tw-prose-invert-captions: #9ca3af;\n --tw-prose-invert-kbd: #fff;\n --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);\n --tw-prose-invert-code: #fff;\n --tw-prose-invert-pre-code: #d1d5db;\n --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n --tw-prose-invert-th-borders: #4b5563;\n --tw-prose-invert-td-borders: #374151;\n font-size: 1rem;\n line-height: 1.75;\n}\n\n.vu-prose :where(picture > img):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.vu-prose :where(li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n}\n\n.vu-prose :where(ol > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0.375em;\n}\n\n.vu-prose :where(ul > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0.375em;\n}\n\n.vu-prose :where(.vu-prose > ul > li p):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n\n.vu-prose :where(.vu-prose > ul > li > p:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.25em;\n}\n\n.vu-prose :where(.vu-prose > ul > li > p:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 1.25em;\n}\n\n.vu-prose :where(.vu-prose > ol > li > p:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.25em;\n}\n\n.vu-prose :where(.vu-prose > ol > li > p:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 1.25em;\n}\n\n.vu-prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n\n.vu-prose :where(dl):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n\n.vu-prose :where(dd):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.5em;\n padding-inline-start: 1.625em;\n}\n\n.vu-prose :where(hr + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(h2 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(h3 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(h4 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(thead th:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0;\n}\n\n.vu-prose :where(thead th:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 0;\n}\n\n.vu-prose :where(tbody td, tfoot td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-top: 0.5714286em;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}\n\n.vu-prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0;\n}\n\n.vu-prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 0;\n}\n\n.vu-prose :where(figure):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.vu-prose :where(.vu-prose > :first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(.vu-prose > :last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 0;\n}\n\n.vu-prose-sm {\n font-size: 0.875rem;\n line-height: 1.7142857;\n}\n\n.vu-prose-sm :where(p):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n margin-bottom: 1.1428571em;\n}\n\n.vu-prose-sm :where([class~="lead"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 1.2857143em;\n line-height: 1.5555556;\n margin-top: 0.8888889em;\n margin-bottom: 0.8888889em;\n}\n\n.vu-prose-sm :where(blockquote):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.3333333em;\n margin-bottom: 1.3333333em;\n padding-inline-start: 1.1111111em;\n}\n\n.vu-prose-sm :where(h1):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 2.1428571em;\n margin-top: 0;\n margin-bottom: 0.8em;\n line-height: 1.2;\n}\n\n.vu-prose-sm :where(h2):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 1.4285714em;\n margin-top: 1.6em;\n margin-bottom: 0.8em;\n line-height: 1.4;\n}\n\n.vu-prose-sm :where(h3):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 1.2857143em;\n margin-top: 1.5555556em;\n margin-bottom: 0.4444444em;\n line-height: 1.5555556;\n}\n\n.vu-prose-sm :where(h4):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.4285714em;\n margin-bottom: 0.5714286em;\n line-height: 1.4285714;\n}\n\n.vu-prose-sm :where(img):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n}\n\n.vu-prose-sm :where(picture):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n}\n\n.vu-prose-sm :where(picture > img):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.vu-prose-sm :where(video):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n}\n\n.vu-prose-sm :where(kbd):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n border-radius: 0.3125rem;\n padding-top: 0.1428571em;\n padding-inline-end: 0.3571429em;\n padding-bottom: 0.1428571em;\n padding-inline-start: 0.3571429em;\n}\n\n.vu-prose-sm :where(code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n}\n\n.vu-prose-sm :where(h2 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.9em;\n}\n\n.vu-prose-sm :where(h3 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8888889em;\n}\n\n.vu-prose-sm :where(pre):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n line-height: 1.6666667;\n margin-top: 1.6666667em;\n margin-bottom: 1.6666667em;\n border-radius: 0.25rem;\n padding-top: 0.6666667em;\n padding-inline-end: 1em;\n padding-bottom: 0.6666667em;\n padding-inline-start: 1em;\n}\n\n.vu-prose-sm :where(ol):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n margin-bottom: 1.1428571em;\n padding-inline-start: 1.5714286em;\n}\n\n.vu-prose-sm :where(ul):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n margin-bottom: 1.1428571em;\n padding-inline-start: 1.5714286em;\n}\n\n.vu-prose-sm :where(li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.2857143em;\n margin-bottom: 0.2857143em;\n}\n\n.vu-prose-sm :where(ol > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0.4285714em;\n}\n\n.vu-prose-sm :where(ul > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0.4285714em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ul > li p):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.5714286em;\n margin-bottom: 0.5714286em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ul > li > p:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ul > li > p:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 1.1428571em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ol > li > p:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ol > li > p:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 1.1428571em;\n}\n\n.vu-prose-sm :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.5714286em;\n margin-bottom: 0.5714286em;\n}\n\n.vu-prose-sm :where(dl):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n margin-bottom: 1.1428571em;\n}\n\n.vu-prose-sm :where(dt):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n}\n\n.vu-prose-sm :where(dd):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.2857143em;\n padding-inline-start: 1.5714286em;\n}\n\n.vu-prose-sm :where(hr):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 2.8571429em;\n margin-bottom: 2.8571429em;\n}\n\n.vu-prose-sm :where(hr + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(h2 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(h3 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(h4 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(table):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n line-height: 1.5;\n}\n\n.vu-prose-sm :where(thead th):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 1em;\n padding-bottom: 0.6666667em;\n padding-inline-start: 1em;\n}\n\n.vu-prose-sm :where(thead th:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0;\n}\n\n.vu-prose-sm :where(thead th:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 0;\n}\n\n.vu-prose-sm :where(tbody td, tfoot td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-top: 0.6666667em;\n padding-inline-end: 1em;\n padding-bottom: 0.6666667em;\n padding-inline-start: 1em;\n}\n\n.vu-prose-sm :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0;\n}\n\n.vu-prose-sm :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 0;\n}\n\n.vu-prose-sm :where(figure):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n}\n\n.vu-prose-sm :where(figure > *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.vu-prose-sm :where(figcaption):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n line-height: 1.3333333;\n margin-top: 0.6666667em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > :first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > :last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 0;\n}\n.vu-fixed {\n position: fixed;\n}\n.vu-absolute {\n position: absolute;\n}\n.vu-relative {\n position: relative;\n}\n.vu-inset-0 {\n inset: 0px;\n}\n.-vu-right-8 {\n right: -2rem;\n}\n.vu-bottom-20 {\n bottom: 5rem;\n}\n.vu-bottom-24 {\n bottom: 6rem;\n}\n.vu-bottom-3 {\n bottom: 0.75rem;\n}\n.vu-right-2 {\n right: 0.5rem;\n}\n.vu-right-5 {\n right: 1.25rem;\n}\n.vu-isolate {\n isolation: isolate;\n}\n.vu-z-10 {\n z-index: 10;\n}\n.vu-z-\\[1001\\] {\n z-index: 1001;\n}\n.vu-m-0 {\n margin: 0px;\n}\n.vu-m-6 {\n margin: 1.5rem;\n}\n.vu-mx-3\\.5 {\n margin-left: 0.875rem;\n margin-right: 0.875rem;\n}\n.vu-mx-4 {\n margin-left: 1rem;\n margin-right: 1rem;\n}\n.vu-my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.vu-my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n.vu-my-5 {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n}\n.vu-mb-10 {\n margin-bottom: 2.5rem;\n}\n.vu-mb-4 {\n margin-bottom: 1rem;\n}\n.vu-ml-1 {\n margin-left: 0.25rem;\n}\n.vu-mr-1 {\n margin-right: 0.25rem;\n}\n.vu-mr-2 {\n margin-right: 0.5rem;\n}\n.vu-mt-0 {\n margin-top: 0px;\n}\n.vu-mt-3 {\n margin-top: 0.75rem;\n}\n.vu-mt-4 {\n margin-top: 1rem;\n}\n.vu-mt-6 {\n margin-top: 1.5rem;\n}\n.vu-inline-block {\n display: inline-block;\n}\n.vu-inline {\n display: inline;\n}\n.vu-flex {\n display: flex;\n}\n.vu-inline-flex {\n display: inline-flex;\n}\n.vu-grid {\n display: grid;\n}\n.vu-hidden {\n display: none;\n}\n.vu-h-10 {\n height: 2.5rem;\n}\n.vu-h-3 {\n height: 0.75rem;\n}\n.vu-h-32 {\n height: 8rem;\n}\n.vu-h-80 {\n height: 20rem;\n}\n.vu-h-fit {\n height: -moz-fit-content;\n height: fit-content;\n}\n.vu-h-full {\n height: 100%;\n}\n.vu-max-h-0 {\n max-height: 0px;\n}\n.vu-max-h-52 {\n max-height: 13rem;\n}\n.vu-w-3 {\n width: 0.75rem;\n}\n.vu-w-4\\/5 {\n width: 80%;\n}\n.vu-w-\\[440px\\] {\n width: 440px;\n}\n.vu-w-full {\n width: 100%;\n}\n.vu-min-w-\\[20rem\\] {\n min-width: 20rem;\n}\n.vu-grow {\n flex-grow: 1;\n}\n.vu-grow-0 {\n flex-grow: 0;\n}\n.-vu-rotate-45 {\n --tw-rotate: -45deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.vu-rotate-0 {\n --tw-rotate: 0deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.vu-cursor-not-allowed {\n cursor: not-allowed;\n}\n.vu-cursor-pointer {\n cursor: pointer;\n}\n.vu-resize-none {\n resize: none;\n}\n.vu-resize-y {\n resize: vertical;\n}\n.vu-list-disc {\n list-style-type: disc;\n}\n.vu-grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n.vu-flex-col {\n flex-direction: column;\n}\n.vu-items-center {\n align-items: center;\n}\n.vu-justify-end {\n justify-content: flex-end;\n}\n.vu-justify-center {\n justify-content: center;\n}\n.vu-justify-between {\n justify-content: space-between;\n}\n.vu-gap-1 {\n gap: 0.25rem;\n}\n.vu-gap-2 {\n gap: 0.5rem;\n}\n.vu-gap-3\\.5 {\n gap: 0.875rem;\n}\n.vu-gap-4 {\n gap: 1rem;\n}\n.vu-gap-x-3 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.vu-gap-x-8 {\n -moz-column-gap: 2rem;\n column-gap: 2rem;\n}\n.vu-gap-y-5 {\n row-gap: 1.25rem;\n}\n.vu-self-center {\n align-self: center;\n}\n.vu-overflow-hidden {\n overflow: hidden;\n}\n.vu-overflow-y-auto {\n overflow-y: auto;\n}\n.vu-overflow-x-hidden {\n overflow-x: hidden;\n}\n.vu-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.vu-break-words {\n overflow-wrap: break-word;\n}\n.vu-rounded-lg {\n border-radius: 0.5rem;\n}\n.vu-rounded-md {\n border-radius: 0.375rem;\n}\n.vu-border {\n border-width: 1px;\n}\n.vu-border-0 {\n border-width: 0px;\n}\n.vu-border-2 {\n border-width: 2px;\n}\n.vu-border-l {\n border-left-width: 1px;\n}\n.vu-border-solid {\n border-style: solid;\n}\n.vu-border-black {\n --tw-border-opacity: 1;\n border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n.vu-border-black\\/20 {\n border-color: rgb(0 0 0 / 0.2);\n}\n.vu-border-gainsboro {\n --tw-border-opacity: 1;\n border-color: rgb(216 222 228 / var(--tw-border-opacity, 1));\n}\n.vu-border-light_pink {\n --tw-border-opacity: 1;\n border-color: rgb(255 178 184 / var(--tw-border-opacity, 1));\n}\n.vu-bg-\\[\\#E5D4FF\\] {\n --tw-bg-opacity: 1;\n background-color: rgb(229 212 255 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-alice_blue {\n --tw-bg-opacity: 1;\n background-color: rgb(243 246 252 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-black\\/75 {\n background-color: rgb(0 0 0 / 0.75);\n}\n.vu-bg-gainsboro {\n --tw-bg-opacity: 1;\n background-color: rgb(216 222 228 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-lavender_blush {\n --tw-bg-opacity: 1;\n background-color: rgb(254 242 243 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-primary {\n --tw-bg-opacity: 1;\n background-color: rgb(17 51 154 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-transparent {\n background-color: transparent;\n}\n.vu-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n.vu-fill-black {\n fill: #000;\n}\n.vu-fill-green-500 {\n fill: #22c55e;\n}\n.vu-fill-rose-500 {\n fill: #f43f5e;\n}\n.vu-fill-slate-350 {\n fill: #ADB5C2;\n}\n.vu-fill-white {\n fill: #FFF;\n}\n.vu-p-0 {\n padding: 0px;\n}\n.vu-p-1 {\n padding: 0.25rem;\n}\n.vu-p-1\\.5 {\n padding: 0.375rem;\n}\n.vu-p-2 {\n padding: 0.5rem;\n}\n.vu-p-4 {\n padding: 1rem;\n}\n.vu-p-6 {\n padding: 1.5rem;\n}\n.vu-p-8 {\n padding: 2rem;\n}\n.vu-px-10 {\n padding-left: 2.5rem;\n padding-right: 2.5rem;\n}\n.vu-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.vu-px-20 {\n padding-left: 5rem;\n padding-right: 5rem;\n}\n.vu-px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.vu-px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.vu-py-10 {\n padding-top: 2.5rem;\n padding-bottom: 2.5rem;\n}\n.vu-py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.vu-py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n.vu-py-5 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.vu-pb-0\\.5 {\n padding-bottom: 0.125rem;\n}\n.vu-pl-1 {\n padding-left: 0.25rem;\n}\n.vu-pl-10 {\n padding-left: 2.5rem;\n}\n.vu-pl-7 {\n padding-left: 1.75rem;\n}\n.vu-pr-10 {\n padding-right: 2.5rem;\n}\n.vu-pt-2 {\n padding-top: 0.5rem;\n}\n.vu-pt-\\[6px\\] {\n padding-top: 6px;\n}\n.vu-text-left {\n text-align: left;\n}\n.vu-text-center {\n text-align: center;\n}\n.vu-text-start {\n text-align: start;\n}\n.vu-align-middle {\n vertical-align: middle;\n}\n.vu-text-2xl {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n.vu-text-3xl {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n.vu-text-\\[68px\\] {\n font-size: 68px;\n}\n.vu-text-lg {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n.vu-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.vu-text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n.vu-text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n.vu-font-bold {\n font-weight: 700;\n}\n.vu-font-medium {\n font-weight: 500;\n}\n.vu-font-normal {\n font-weight: 400;\n}\n.vu-font-semibold {\n font-weight: 600;\n}\n.vu-text-black {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n.vu-text-blue-600 {\n --tw-text-opacity: 1;\n color: rgb(37 99 235 / var(--tw-text-opacity, 1));\n}\n.vu-text-dark_mode-600 {\n --tw-text-opacity: 1;\n color: rgb(18 27 55 / var(--tw-text-opacity, 1));\n}\n.vu-text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n.vu-text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n.vu-underline {\n text-decoration-line: underline;\n}\n.vu-opacity-0 {\n opacity: 0;\n}\n.vu-opacity-100 {\n opacity: 1;\n}\n.vu-opacity-20 {\n opacity: 0.2;\n}\n.vu-opacity-25 {\n opacity: 0.25;\n}\n.vu-opacity-60 {\n opacity: 0.6;\n}\n.vu-transition-\\[max-height\\,opacity\\] {\n transition-property: max-height,opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.vu-transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.vu-duration-300 {\n transition-duration: 300ms;\n}\n.vu-ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/*PDF Export Fix*/\n.pdf-container {\n width: 635px !important;\n}\n\n/* Hide elements only during PDF capture */\n.pdf-container .hide-in-pdf {\n display: none !important;\n}\n\n.pdf-overlay {\n position: fixed;\n inset: 0;\n background: rgba(255, 255, 255, 0.8);\n backdrop-filter: blur(4px);\n z-index: 9999;\n opacity: 0;\n animation: fadeIn 0.15s forwards;\n}\n\n@keyframes fadeIn {\n to {\n opacity: 1;\n }\n}\n\n.pdf-overlay.fade-out {\n animation: fadeOut 0.15s forwards;\n}\n\n@keyframes fadeOut {\n to {\n opacity: 0;\n }\n}\n\n.dark\\:vu-prose-invert:is(.vu-dark *) {\n --tw-prose-body: var(--tw-prose-invert-body);\n --tw-prose-headings: var(--tw-prose-invert-headings);\n --tw-prose-lead: var(--tw-prose-invert-lead);\n --tw-prose-links: var(--tw-prose-invert-links);\n --tw-prose-bold: var(--tw-prose-invert-bold);\n --tw-prose-counters: var(--tw-prose-invert-counters);\n --tw-prose-bullets: var(--tw-prose-invert-bullets);\n --tw-prose-hr: var(--tw-prose-invert-hr);\n --tw-prose-quotes: var(--tw-prose-invert-quotes);\n --tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);\n --tw-prose-captions: var(--tw-prose-invert-captions);\n --tw-prose-kbd: var(--tw-prose-invert-kbd);\n --tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);\n --tw-prose-code: var(--tw-prose-invert-code);\n --tw-prose-pre-code: var(--tw-prose-invert-pre-code);\n --tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);\n --tw-prose-th-borders: var(--tw-prose-invert-th-borders);\n --tw-prose-td-borders: var(--tw-prose-invert-td-borders);\n}\n\n.focus\\:vu-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:vu-ring-0:focus {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.dark\\:vu-border-dark_mode-100:is(.vu-dark *) {\n --tw-border-opacity: 1;\n border-color: rgb(75 81 104 / var(--tw-border-opacity, 1));\n}\n\n.dark\\:vu-border-dark_mode-200:is(.vu-dark *) {\n --tw-border-opacity: 1;\n border-color: rgb(50 56 78 / var(--tw-border-opacity, 1));\n}\n\n.dark\\:vu-bg-dark_mode-500:is(.vu-dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(26 36 68 / var(--tw-bg-opacity, 1));\n}\n\n.dark\\:vu-bg-dark_mode-600:is(.vu-dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(18 27 55 / var(--tw-bg-opacity, 1));\n}\n\n.dark\\:vu-bg-dark_mode-700:is(.vu-dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(11 19 43 / var(--tw-bg-opacity, 1));\n}\n\n.dark\\:vu-fill-slate-250:is(.vu-dark *) {\n fill: #CCCCDC;\n}\n\n.dark\\:vu-fill-slate-450:is(.vu-dark *) {\n fill: #7B7E92;\n}\n\n.dark\\:vu-text-slate-250:is(.vu-dark *) {\n --tw-text-opacity: 1;\n color: rgb(204 204 220 / var(--tw-text-opacity, 1));\n}\n\n.dark\\:vu-text-slate-450:is(.vu-dark *) {\n --tw-text-opacity: 1;\n color: rgb(123 126 146 / var(--tw-text-opacity, 1));\n}\n\n@media (min-width: 640px) {\n .sm\\:vu-flex {\n display: flex;\n }\n}\n\n@media (min-width: 1024px) {\n .lg\\:vu-relative {\n position: relative;\n }\n .lg\\:vu-flex {\n display: flex;\n }\n .lg\\:vu-hidden {\n display: none;\n }\n .lg\\:vu-w-80 {\n width: 20rem;\n }\n .lg\\:vu-p-0 {\n padding: 0px;\n }\n .lg\\:vu-px-\\[7\\.5rem\\] {\n padding-left: 7.5rem;\n padding-right: 7.5rem;\n }\n .lg\\:vu-pl-\\[7\\.5rem\\] {\n padding-left: 7.5rem;\n }\n .lg\\:vu-pr-6 {\n padding-right: 1.5rem;\n }\n .lg\\:vu-pr-\\[8rem\\] {\n padding-right: 8rem;\n }\n}\n');var S=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter(function(e){return e!==n}),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(null,arguments)}var U='undefined'==typeof window;function Q(){}function L(e){return'number'==typeof e&&e>=0&&e!==1/0}function O(e){return Array.isArray(e)?e:[e]}function I(e,t){return Math.max(e+(t||0)-Date.now(),0)}function N(e,t,n){return G(e)?'function'==typeof t?k({},n,{queryKey:e,queryFn:t}):k({},t,{queryKey:e}):e}function T(e,t,n){return G(e)?[k({},t,{queryKey:e}),n]:[e||{},t]}function M(e,t){var n=e.active,r=e.exact,i=e.fetching,o=e.inactive,s=e.predicate,a=e.queryKey,A=e.stale;if(G(a))if(r){if(t.queryHash!==D(a,t.options))return!1}else if(!H(t.queryKey,a))return!1;var l=function(e,t){return!0===e&&!0===t||null==e&&null==t?'all':!1===e&&!1===t?'none':(null!=e?e:!t)?'active':'inactive'}(n,o);if('none'===l)return!1;if('all'!==l){var c=t.isActive();if('active'===l&&!c)return!1;if('inactive'===l&&c)return!1}return('boolean'!=typeof A||t.isStale()===A)&&(('boolean'!=typeof i||t.isFetching()===i)&&!(s&&!s(t)))}function P(e,t){var n=e.exact,r=e.fetching,i=e.predicate,o=e.mutationKey;if(G(o)){if(!t.options.mutationKey)return!1;if(n){if(R(t.options.mutationKey)!==R(o))return!1}else if(!H(t.options.mutationKey,o))return!1}return('boolean'!=typeof r||'loading'===t.state.status===r)&&!(i&&!i(t))}function D(e,t){return((null==t?void 0:t.queryKeyHashFn)||R)(e)}function R(e){var t,n=O(e);return t=n,JSON.stringify(t,function(e,t){return V(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t})}function H(e,t){return z(O(e),O(t))}function z(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||'object'!=typeof e||'object'!=typeof t)&&!Object.keys(t).some(function(n){return!z(e[n],t[n])}))}function K(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||V(e)&&V(t)){for(var r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,s=n?[]:{},a=0,A=0;A<o;A++){var l=n?A:i[A];s[l]=K(e[l],t[l]),s[l]===e[l]&&a++}return r===o&&a===r?e:s}return t}function V(e){if(!q(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!q(n)&&!!n.hasOwnProperty('isPrototypeOf')}function q(e){return'[object Object]'===Object.prototype.toString.call(e)}function G(e){return'string'==typeof e||Array.isArray(e)}function W(e){Promise.resolve().then(e).catch(function(e){return setTimeout(function(){throw e})})}function Y(){if('function'==typeof AbortController)return new AbortController}var X=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!U&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener('visibilitychange',n,!1),window.addEventListener('focus',n,!1),function(){window.removeEventListener('visibilitychange',n),window.removeEventListener('focus',n)}}},t}E(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){'boolean'==typeof e?n.setFocused(e):n.onFocus()})},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(e){e()})},n.isFocused=function(){return'boolean'==typeof this.focused?this.focused:'undefined'==typeof document||[void 0,'visible','prerender'].includes(document.visibilityState)},t}(S)),J=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!U&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener('online',n,!1),window.addEventListener('offline',n,!1),function(){window.removeEventListener('online',n),window.removeEventListener('offline',n)}}},t}E(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){'boolean'==typeof e?n.setOnline(e):n.onOnline()})},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(e){e()})},n.isOnline=function(){return'boolean'==typeof this.online?this.online:'undefined'==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(S));function Z(e){return Math.min(1e3*Math.pow(2,e),3e4)}function $(e){return'function'==typeof(null==e?void 0:e.cancel)}var ee=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function te(e){return e instanceof ee}var ne=function(e){var t,n,r,i,o=this,s=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){s=!0},this.continueRetry=function(){s=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(e,t){r=e,i=t});var a=function(t){o.isResolved||(o.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},A=function(t){o.isResolved||(o.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),i(t))};!function r(){if(!o.isResolved){var i;try{i=e.fn()}catch(e){i=Promise.reject(e)}t=function(e){if(!o.isResolved&&(A(new ee(e)),null==o.abort||o.abort(),$(i)))try{i.cancel()}catch(e){}},o.isTransportCancelable=$(i),Promise.resolve(i).then(a).catch(function(t){var i,a;if(!o.isResolved){var l,c=null!=(i=e.retry)?i:3,u=null!=(a=e.retryDelay)?a:Z,d='function'==typeof u?u(o.failureCount,t):u,f=!0===c||'number'==typeof c&&o.failureCount<c||'function'==typeof c&&c(o.failureCount,t);if(!s&&f)o.failureCount++,null==e.onFail||e.onFail(o.failureCount,t),(l=d,new Promise(function(e){setTimeout(e,l)})).then(function(){if(!X.isFocused()||!J.isOnline())return new Promise(function(t){n=t,o.isPaused=!0,null==e.onPause||e.onPause()}).then(function(){n=void 0,o.isPaused=!1,null==e.onContinue||e.onContinue()})}).then(function(){s?A(t):r()});else A(t)}})}}()},re=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):W(function(){t.notifyFn(e)})},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.schedule(function(){e.apply(void 0,r)})}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&W(function(){e.batchNotifyFn(function(){t.forEach(function(t){e.notifyFn(t)})})})},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),ie=new re,oe=console;function se(){return oe}var ae=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=k({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),L(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){e.optionalRemove()},this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,i=this.state.data,o=function(e,t){return'function'==typeof e?e(t):e}(e,i);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,i,o))?o=i:!1!==this.options.structuralSharing&&(o=K(i,o)),this.dispatch({data:o,type:'success',dataUpdatedAt:null==t?void 0:t.updatedAt}),o},t.setState=function(e,t){this.dispatch({type:'setState',state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Q).catch(Q):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some(function(e){return!1!==e.options.enabled})},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(e){return e.getCurrentResult().isStale})},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!I(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnWindowFocus()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnReconnect()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:'observerAdded',query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter(function(t){return t!==e}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:'observerRemoved',query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:'invalidate'})},t.fetch=function(e,t){var n,r,i,o=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var s;return null==(s=this.retryer)||s.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var a=this.observers.find(function(e){return e.options.queryFn});a&&this.setOptions(a.options)}var A=O(this.queryKey),l=Y(),c={queryKey:A,pageParam:void 0,meta:this.meta};Object.defineProperty(c,'signal',{enumerable:!0,get:function(){if(l)return o.abortSignalConsumed=!0,l.signal}});var u,d,f={fetchOptions:t,options:this.options,queryKey:A,state:this.state,fetchFn:function(){return o.options.queryFn?(o.abortSignalConsumed=!1,o.options.queryFn(c)):Promise.reject('Missing queryFn')},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(u=this.options.behavior)||u.onFetch(f));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=f.fetchOptions)?void 0:r.meta))||this.dispatch({type:'fetch',meta:null==(d=f.fetchOptions)?void 0:d.meta});return this.retryer=new ne({fn:f.fetchFn,abort:null==l||null==(i=l.abort)?void 0:i.bind(l),onSuccess:function(e){o.setData(e),null==o.cache.config.onSuccess||o.cache.config.onSuccess(e,o),0===o.cacheTime&&o.optionalRemove()},onError:function(e){te(e)&&e.silent||o.dispatch({type:'error',error:e}),te(e)||(null==o.cache.config.onError||o.cache.config.onError(e,o),se().error(e)),0===o.cacheTime&&o.optionalRemove()},onFail:function(){o.dispatch({type:'failed'})},onPause:function(){o.dispatch({type:'pause'})},onContinue:function(){o.dispatch({type:'continue'})},retry:f.options.retry,retryDelay:f.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),ie.batch(function(){t.observers.forEach(function(t){t.onQueryUpdate(e)}),t.cache.notify({query:t,type:'queryUpdated',action:e})})},t.getDefaultState=function(e){var t='function'==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?'function'==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?'success':'idle'}},t.reducer=function(e,t){var n,r;switch(t.type){case'failed':return k({},e,{fetchFailureCount:e.fetchFailureCount+1});case'pause':return k({},e,{isPaused:!0});case'continue':return k({},e,{isPaused:!1});case'fetch':return k({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:'loading'});case'success':return k({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:'success'});case'error':var i=t.error;return te(i)&&i.revert&&this.revertState?k({},this.revertState):k({},e,{error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:'error'});case'invalidate':return k({},e,{isInvalidated:!0});case'setState':return k({},e,t.state);default:return e}},e}(),Ae=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}E(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,i=t.queryKey,o=null!=(r=t.queryHash)?r:D(i,t),s=this.get(o);return s||(s=new ae({cache:this,queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i),meta:t.meta}),this.add(s)),s},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:'queryAdded',query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(function(t){return t!==e}),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:'queryRemoved',query:e}))},n.clear=function(){var e=this;ie.batch(function(){e.queries.forEach(function(t){e.remove(t)})})},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=T(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find(function(e){return M(n,e)})},n.findAll=function(e,t){var n=T(e,t)[0];return Object.keys(n).length>0?this.queries.filter(function(e){return M(n,e)}):this.queries},n.notify=function(e){var t=this;ie.batch(function(){t.listeners.forEach(function(t){t(e)})})},n.onFocus=function(){var e=this;ie.batch(function(){e.queries.forEach(function(e){e.onFocus()})})},n.onOnline=function(){var e=this;ie.batch(function(){e.queries.forEach(function(e){e.onOnline()})})},t}(S),le=function(){function e(e){this.options=k({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||ce(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:'setState',state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter(function(t){return t!==e})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Q).catch(Q)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n='loading'===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:'loading',variables:this.options.variables}),r=r.then(function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)}).then(function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)}).then(function(e){e!==t.state.context&&t.dispatch({type:'loading',context:e,variables:t.state.variables})})),r.then(function(){return t.executeMutation()}).then(function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)}).then(function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)}).then(function(){return t.dispatch({type:'success',data:e}),e}).catch(function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),se().error(e),Promise.resolve().then(function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)}).then(function(){throw t.dispatch({type:'error',error:e}),e})})},t.executeMutation=function(){var e,t=this;return this.retryer=new ne({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject('No mutationFn found')},onFail:function(){t.dispatch({type:'failed'})},onPause:function(){t.dispatch({type:'pause'})},onContinue:function(){t.dispatch({type:'continue'})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case'failed':return k({},e,{failureCount:e.failureCount+1});case'pause':return k({},e,{isPaused:!0});case'continue':return k({},e,{isPaused:!1});case'loading':return k({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:'loading',variables:t.variables});case'success':return k({},e,{data:t.data,error:null,status:'success',isPaused:!1});case'error':return k({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:'error'});case'setState':return k({},e,t.state);default:return e}}(this.state,e),ie.batch(function(){t.observers.forEach(function(t){t.onMutationUpdate(e)}),t.mutationCache.notify(t)})},e}();function ce(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:'idle',variables:void 0}}var ue=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}E(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new le({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter(function(t){return t!==e}),e.cancel(),this.notify(e)},n.clear=function(){var e=this;ie.batch(function(){e.mutations.forEach(function(t){e.remove(t)})})},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(function(t){return P(e,t)})},n.findAll=function(e){return this.mutations.filter(function(t){return P(e,t)})},n.notify=function(e){var t=this;ie.batch(function(){t.listeners.forEach(function(t){t(e)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter(function(e){return e.state.isPaused});return ie.batch(function(){return e.reduce(function(e,t){return e.then(function(){return t.continue().catch(Q)})},Promise.resolve())})},t}(S);function de(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var fe=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new Ae,this.mutationCache=e.mutationCache||new ue,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=X.subscribe(function(){X.isFocused()&&J.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())}),this.unsubscribeOnline=J.subscribe(function(){X.isFocused()&&J.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())})},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=T(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(k({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map(function(e){return[e.queryKey,e.state.data]})},t.setQueryData=function(e,t,n){var r=N(e),i=this.defaultQueryOptions(r);return this.queryCache.build(this,i).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return ie.batch(function(){return r.getQueryCache().findAll(e).map(function(e){var i=e.queryKey;return[i,r.setQueryData(i,t,n)]})})},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=T(e,t)[0],r=this.queryCache;ie.batch(function(){r.findAll(n).forEach(function(e){r.remove(e)})})},t.resetQueries=function(e,t,n){var r=this,i=T(e,t,n),o=i[0],s=i[1],a=this.queryCache,A=k({},o,{active:!0});return ie.batch(function(){return a.findAll(o).forEach(function(e){e.reset()}),r.refetchQueries(A,s)})},t.cancelQueries=function(e,t,n){var r=this,i=T(e,t,n),o=i[0],s=i[1],a=void 0===s?{}:s;void 0===a.revert&&(a.revert=!0);var A=ie.batch(function(){return r.queryCache.findAll(o).map(function(e){return e.cancel(a)})});return Promise.all(A).then(Q).catch(Q)},t.invalidateQueries=function(e,t,n){var r,i,o,s=this,a=T(e,t,n),A=a[0],l=a[1],c=k({},A,{active:null==(r=null!=(i=A.refetchActive)?i:A.active)||r,inactive:null!=(o=A.refetchInactive)&&o});return ie.batch(function(){return s.queryCache.findAll(A).forEach(function(e){e.invalidate()}),s.refetchQueries(c,l)})},t.refetchQueries=function(e,t,n){var r=this,i=T(e,t,n),o=i[0],s=i[1],a=ie.batch(function(){return r.queryCache.findAll(o).map(function(e){return e.fetch(void 0,k({},s,{meta:{refetchPage:null==o?void 0:o.refetchPage}}))})}),A=Promise.all(a).then(Q);return(null==s?void 0:s.throwOnError)||(A=A.catch(Q)),A},t.fetchQuery=function(e,t,n){var r=N(e,t,n),i=this.defaultQueryOptions(r);void 0===i.retry&&(i.retry=!1);var o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(Q).catch(Q)},t.fetchInfiniteQuery=function(e,t,n){var r=N(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,i,o,s,a,A,l,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,u=null==(r=e.fetchOptions)||null==(i=r.meta)?void 0:i.fetchMore,d=null==u?void 0:u.pageParam,f='forward'===(null==u?void 0:u.direction),h='backward'===(null==u?void 0:u.direction),p=(null==(o=e.state.data)?void 0:o.pages)||[],g=(null==(s=e.state.data)?void 0:s.pageParams)||[],m=Y(),v=null==m?void 0:m.signal,b=g,y=!1,w=e.options.queryFn||function(){return Promise.reject('Missing queryFn')},B=function(e,t,n,r){return b=r?[t].concat(b):[].concat(b,[t]),r?[n].concat(e):[].concat(e,[n])},x=function(t,n,r,i){if(y)return Promise.reject('Cancelled');if(void 0===r&&!n&&t.length)return Promise.resolve(t);var o={queryKey:e.queryKey,signal:v,pageParam:r,meta:e.meta},s=w(o),a=Promise.resolve(s).then(function(e){return B(t,r,e,i)});return $(s)&&(a.cancel=s.cancel),a};if(p.length)if(f){var C=void 0!==d,_=C?d:de(e.options,p);a=x(p,C,_)}else if(h){var j=void 0!==d,F=j?d:(A=e.options,l=p,null==A.getPreviousPageParam?void 0:A.getPreviousPageParam(l[0],l));a=x(p,j,F,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,n=!c||!p[0]||c(p[0],0,p);a=n?x([],t,g[0]):Promise.resolve(B([],g[0],p[0]));for(var r=function(n){a=a.then(function(r){if(!c||!p[n]||c(p[n],n,p)){var i=t?g[n]:de(e.options,r);return x(r,t,i)}return Promise.resolve(B(r,g[n],p[n]))})},i=1;i<p.length;i++)r(i)}();else a=x([]);var E=a.then(function(e){return{pages:e,pageParams:b}});return E.cancel=function(){y=!0,null==m||m.abort(),$(a)&&a.cancel()},E}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Q).catch(Q)},t.cancelMutations=function(){var e=this,t=ie.batch(function(){return e.mutationCache.getAll().map(function(e){return e.cancel()})});return Promise.all(t).then(Q).catch(Q)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find(function(t){return R(e)===R(t.queryKey)});n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find(function(t){return H(e,t.queryKey)}))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find(function(t){return R(e)===R(t.mutationKey)});n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find(function(t){return H(e,t.mutationKey)}))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=k({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=D(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:k({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),he=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}E(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),pe(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return ge(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return ge(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&'boolean'!=typeof this.options.enabled)throw new Error('Expected enabled to be a boolean');this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&me(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},i=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach(function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return i(t),e[t]}})}),(t.useErrorBoundary||t.suspense)&&i('error'),r},n.getNextResult=function(e){var t=this;return new Promise(function(n,r){var i=t.subscribe(function(t){t.isFetching||(i(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch(k({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then(function(){return t.createResult(r,n)})},n.fetch=function(e){var t=this;return this.executeFetch(e).then(function(){return t.updateResult(),t.currentResult})},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(Q)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!U&&!this.currentResult.isStale&&L(this.options.staleTime)){var t=I(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(function(){e.currentResult.isStale||e.updateResult()},t)}},n.computeRefetchInterval=function(){var e;return'function'==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!U&&!1!==this.options.enabled&&L(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(function(){(t.options.refetchIntervalInBackground||X.isFocused())&&t.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,a=this.currentResultOptions,A=e!==r,l=A?e.state:this.currentQueryInitialState,c=A?this.currentResult:this.previousQueryResult,u=e.state,d=u.dataUpdatedAt,f=u.error,h=u.errorUpdatedAt,p=u.isFetching,g=u.status,m=!1,v=!1;if(t.optimisticResults){var b=this.hasListeners(),y=!b&&pe(e,t),w=b&&me(e,r,t,i);(y||w)&&(p=!0,d||(g='loading'))}if(t.keepPreviousData&&!u.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&'error'!==g)n=c.data,d=c.dataUpdatedAt,g=c.status,m=!0;else if(t.select&&void 0!==u.data)if(o&&u.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(u.data),!1!==t.structuralSharing&&(n=K(null==o?void 0:o.data,n)),this.selectResult=n,this.selectError=null}catch(e){se().error(e),this.selectError=e}else n=u.data;if(void 0!==t.placeholderData&&void 0===n&&('loading'===g||'idle'===g)){var B;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==a?void 0:a.placeholderData))B=o.data;else if(B='function'==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==B)try{B=t.select(B),!1!==t.structuralSharing&&(B=K(null==o?void 0:o.data,B)),this.selectError=null}catch(e){se().error(e),this.selectError=e}void 0!==B&&(g='success',n=B,v=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),g='error'),{status:g,isLoading:'loading'===g,isSuccess:'success'===g,isError:'error'===g,isIdle:'idle'===g,data:n,dataUpdatedAt:d,error:f,errorUpdatedAt:h,failureCount:u.fetchFailureCount,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:p,isRefetching:p&&'loading'!==g,isLoadingError:'error'===g&&0===u.dataUpdatedAt,isPlaceholderData:v,isPreviousData:m,isRefetchError:'error'===g&&0!==u.dataUpdatedAt,isStale:ve(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,i=n.notifyOnChangePropsExclusions;if(!r&&!i)return!0;if('tracked'===r&&!this.trackedProps.length)return!0;var o='tracked'===r?this.trackedProps:r;return Object.keys(e).some(function(n){var r=n,s=e[r]!==t[r],a=null==o?void 0:o.some(function(e){return e===n}),A=null==i?void 0:i.some(function(e){return e===n});return s&&!A&&(!o||a)})},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify(k({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};'success'===e.type?t.onSuccess=!0:'error'!==e.type||te(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;ie.batch(function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach(function(e){e(t.currentResult)}),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:'observerResultsUpdated'})})},t}(S);function pe(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||'error'===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&ge(e,t,t.refetchOnMount)}function ge(e,t,n){if(!1!==t.enabled){var r='function'==typeof n?n(e):n;return'always'===r||!1!==r&&ve(e,t)}return!1}function me(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||'error'!==e.state.status)&&ve(e,n)}function ve(e,t){return e.isStaleByTime(t.staleTime)}var be=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}E(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};'success'===e.type?t.onSuccess=!0:'error'===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,k({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:'idle',variables:void 0},t=k({},e,{isLoading:'loading'===e.status,isSuccess:'success'===e.status,isError:'error'===e.status,isIdle:'idle'===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;ie.batch(function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach(function(e){e(t.currentResult)})})},t}(S),ye=b.unstable_batchedUpdates;ie.setBatchNotifyFunction(ye);var we=console;oe=we;var Be=t.createContext(void 0),xe=t.createContext(!1);function Ce(e){return e&&'undefined'!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Be),window.ReactQueryClientContext):Be}var _e=function(){var e=t.useContext(Ce(t.useContext(xe)));if(!e)throw new Error('No QueryClient set, use QueryClientProvider to set one');return e},je=function(e){var n=e.client,r=e.contextSharing,i=void 0!==r&&r,o=e.children;t.useEffect(function(){return n.mount(),function(){n.unmount()}},[n]);var s=Ce(i);return t.createElement(xe.Provider,{value:i},t.createElement(s.Provider,{value:n},o))};var Fe,Ee=t.createContext((Fe=!1,{clearReset:function(){Fe=!1},reset:function(){Fe=!0},isReset:function(){return Fe}}));function Se(e,t,n){return'function'==typeof t?t.apply(void 0,n):'boolean'==typeof t?t:!!e}function ke(e,n,r){var i=t.useRef(!1),o=t.useState(0)[1],s=function(e,t,n){return G(e)?'function'==typeof t?k({},n,{mutationKey:e,mutationFn:t}):k({},t,{mutationKey:e}):'function'==typeof e?k({},t,{mutationFn:e}):k({},e)}(e,n,r),a=_e(),A=t.useRef();A.current?A.current.setOptions(s):A.current=new be(a,s);var l=A.current.getCurrentResult();t.useEffect(function(){i.current=!0;var e=A.current.subscribe(ie.batchCalls(function(){i.current&&o(function(e){return e+1})}));return function(){i.current=!1,e()}},[]);var c=t.useCallback(function(e,t){A.current.mutate(e,t).catch(Q)},[]);if(l.error&&Se(void 0,A.current.options.useErrorBoundary,[l.error]))throw l.error;return k({},l,{mutate:c,mutateAsync:l.mutate})}function Ue(e,n){var r=t.useRef(!1),i=t.useState(0)[1],o=_e(),s=t.useContext(Ee),a=o.defaultQueryObserverOptions(e);a.optimisticResults=!0,a.onError&&(a.onError=ie.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=ie.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=ie.batchCalls(a.onSettled)),a.suspense&&('number'!=typeof a.staleTime&&(a.staleTime=1e3),0===a.cacheTime&&(a.cacheTime=1)),(a.suspense||a.useErrorBoundary)&&(s.isReset()||(a.retryOnMount=!1));var A=t.useState(function(){return new n(o,a)})[0],l=A.getOptimisticResult(a);if(t.useEffect(function(){r.current=!0,s.clearReset();var e=A.subscribe(ie.batchCalls(function(){r.current&&i(function(e){return e+1})}));return A.updateResult(),function(){r.current=!1,e()}},[s,A]),t.useEffect(function(){A.setOptions(a,{listeners:!1})},[a,A]),a.suspense&&l.isLoading)throw A.fetchOptimistic(a).then(function(e){var t=e.data;null==a.onSuccess||a.onSuccess(t),null==a.onSettled||a.onSettled(t,null)}).catch(function(e){s.clearReset(),null==a.onError||a.onError(e),null==a.onSettled||a.onSettled(void 0,e)});if(l.isError&&!s.isReset()&&!l.isFetching&&Se(a.suspense,a.useErrorBoundary,[l.error,A.getCurrentQuery()]))throw l.error;return'tracked'===a.notifyOnChangeProps&&(l=A.trackResult(l,a)),l}function Qe(e,t,n){return Ue(N(e,t,n),he)}var Le=function(e,t){return Le=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])},Le(e,t)};var Oe=function(){return Oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Oe.apply(this,arguments)};function Ie(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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function Ne(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{A(r.next(e))}catch(e){o(e)}}function a(e){try{A(r.throw(e))}catch(e){o(e)}}function A(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}A((r=r.apply(e,t||[])).next())})}function Te(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},'function'==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(A){return function(a){if(n)throw new TypeError('Generator is already executing.');for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,A])}}}function Me(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Pe(e,t){return Object.defineProperty?Object.defineProperty(e,'raw',{value:t}):e.raw=t,e}function De(){for(var e,t,n=0,r='';n<arguments.length;)(e=arguments[n++])&&(t=Re(e))&&(r&&(r+=' '),r+=t);return r}function Re(e){if('string'==typeof e)return e;for(var t,n='',r=0;r<e.length;r++)e[r]&&(t=Re(e[r]))&&(n&&(n+=' '),n+=t);return n}'function'==typeof SuppressedError&&SuppressedError;function He(e){var t=function(e){var t=e.theme,n=e.prefix,r={nextPart:new Map,validators:[]},i=function(e,t){if(!t)return e;return e.map(function(e){return[e[0],e[1].map(function(e){return'string'==typeof e?t+e:'object'==typeof e?Object.fromEntries(Object.entries(e).map(function(e){var n=e[0],r=e[1];return[t+n,r]})):e})]})}(Object.entries(e.classGroups),n);return i.forEach(function(e){var n=e[0];Ve(e[1],r,n,t)}),r}(e),n=e.conflictingClassGroups,r=e.conflictingClassGroupModifiers,i=void 0===r?{}:r;return{getClassGroupId:function(e){var n=e.split('-');return''===n[0]&&1!==n.length&&n.shift(),ze(n,t)||function(e){if(Ke.test(e)){var t=Ke.exec(e)[1],n=t?.substring(0,t.indexOf(':'));if(n)return'arbitrary..'+n}}(e)},getConflictingClassGroupIds:function(e,t){var r=n[e]||[];return t&&i[e]?[].concat(r,i[e]):r}}}function ze(e,t){if(0===e.length)return t.classGroupId;var n=e[0],r=t.nextPart.get(n),i=r?ze(e.slice(1),r):void 0;if(i)return i;if(0!==t.validators.length){var o=e.join('-');return t.validators.find(function(e){return(0,e.validator)(o)})?.classGroupId}}var Ke=/^\[(.+)\]$/;function Ve(e,t,n,r){e.forEach(function(e){if('string'!=typeof e){if('function'==typeof e)return e.isThemeGetter?void Ve(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(function(e){var i=e[0];Ve(e[1],qe(t,i),n,r)})}else{(''===e?t:qe(t,e)).classGroupId=n}})}function qe(e,t){var n=e;return t.split('-').forEach(function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}function Ge(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function i(i,o){n.set(i,o),++t>e&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):i(e,t)}}}function We(e){var t=e.separator||':',n=1===t.length,r=t[0],i=t.length;return function(e){for(var o,s=[],a=0,A=0,l=0;l<e.length;l++){var c=e[l];if(0===a){if(c===r&&(n||e.slice(l,l+i)===t)){s.push(e.slice(A,l)),A=l+i;continue}if('/'===c){o=l;continue}}'['===c?a++:']'===c&&a--}var u=0===s.length?e:e.substring(A),d=u.startsWith('!');return{modifiers:s,hasImportantModifier:d,baseClassName:d?u.substring(1):u,maybePostfixModifierPosition:o&&o>A?o-A:void 0}}}var Ye=/\s+/;function Xe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i,o,s=function(e){var n=t[0],A=t.slice(1).reduce(function(e,t){return t(e)},n());return r=function(e){return{cache:Ge(e.cacheSize),splitModifiers:We(e),...He(e)}}(A),i=r.cache.get,o=r.cache.set,s=a,a(e)};function a(e){var t=i(e);if(t)return t;var n=function(e,t){var n=t.splitModifiers,r=t.getClassGroupId,i=t.getConflictingClassGroupIds,o=new Set;return e.trim().split(Ye).map(function(e){var t=n(e),i=t.modifiers,o=t.hasImportantModifier,s=t.baseClassName,a=t.maybePostfixModifierPosition,A=r(a?s.substring(0,a):s),l=Boolean(a);if(!A){if(!a)return{isTailwindClass:!1,originalClassName:e};if(!(A=r(s)))return{isTailwindClass:!1,originalClassName:e};l=!1}var c=function(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(e){'['===e[0]?(t.push.apply(t,n.sort().concat([e])),n=[]):n.push(e)}),t.push.apply(t,n.sort()),t}(i).join(':');return{isTailwindClass:!0,modifierId:o?c+'!':c,classGroupId:A,originalClassName:e,hasPostfixModifier:l}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,n=e.classGroupId,r=e.hasPostfixModifier,s=t+n;return!o.has(s)&&(o.add(s),i(n,r).forEach(function(e){return o.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(' ')}(e,r);return o(e,n),n}return function(){return s(De.apply(null,arguments))}}function Je(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var Ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,$e=/^\d+\/\d+$/,et=new Set(['px','full','screen']),tt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function it(e){return ct(e)||et.has(e)||$e.test(e)||ot(e)}function ot(e){return mt(e,'length',vt)}function st(e){return mt(e,'size',bt)}function at(e){return mt(e,'position',bt)}function At(e){return mt(e,'url',yt)}function lt(e){return mt(e,'number',ct)}function ct(e){return!Number.isNaN(Number(e))}function ut(e){return e.endsWith('%')&&ct(e.slice(0,-1))}function dt(e){return wt(e)||mt(e,'number',wt)}function ft(e){return Ze.test(e)}function ht(){return!0}function pt(e){return tt.test(e)}function gt(e){return mt(e,'',Bt)}function mt(e,t,n){var r=Ze.exec(e);return!!r&&(r[1]?r[1]===t:n(r[2]))}function vt(e){return nt.test(e)}function bt(){return!1}function yt(e){return e.startsWith('url(')}function wt(e){return Number.isInteger(Number(e))}function Bt(e){return rt.test(e)}function xt(){var e=Je('colors'),t=Je('spacing'),n=Je('blur'),r=Je('brightness'),i=Je('borderColor'),o=Je('borderRadius'),s=Je('borderSpacing'),a=Je('borderWidth'),A=Je('contrast'),l=Je('grayscale'),c=Je('hueRotate'),u=Je('invert'),d=Je('gap'),f=Je('gradientColorStops'),h=Je('gradientColorStopPositions'),p=Je('inset'),g=Je('margin'),m=Je('opacity'),v=Je('padding'),b=Je('saturate'),y=Je('scale'),w=Je('sepia'),B=Je('skew'),x=Je('space'),C=Je('translate'),_=function(){return['auto',ft,t]},j=function(){return[ft,t]},F=function(){return['',it]},E=function(){return['auto',ct,ft]},S=function(){return['','0',ft]},k=function(){return[ct,lt]},U=function(){return[ct,ft]};return{cacheSize:500,theme:{colors:[ht],spacing:[it],blur:['none','',pt,ft],brightness:k(),borderColor:[e],borderRadius:['none','','full',pt,ft],borderSpacing:j(),borderWidth:F(),contrast:k(),grayscale:S(),hueRotate:U(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[ut,ot],inset:_(),margin:_(),opacity:k(),padding:j(),saturate:k(),scale:k(),sepia:S(),skew:U(),space:j(),translate:j()},classGroups:{aspect:[{aspect:['auto','square','video',ft]}],container:['container'],columns:[{columns:[pt]}],'break-after':[{'break-after':['auto','avoid','all','avoid-page','page','left','right','column']}],'break-before':[{'break-before':['auto','avoid','all','avoid-page','page','left','right','column']}],'break-inside':[{'break-inside':['auto','avoid','avoid-page','avoid-column']}],'box-decoration':[{'box-decoration':['slice','clone']}],box:[{box:['border','content']}],display:['block','inline-block','inline','flex','inline-flex','table','inline-table','table-caption','table-cell','table-column','table-column-group','table-footer-group','table-header-group','table-row-group','table-row','flow-root','grid','inline-grid','contents','list-item','hidden'],float:[{float:['right','left','none']}],clear:[{clear:['left','right','both','none']}],isolation:['isolate','isolation-auto'],'object-fit':[{object:['contain','cover','fill','none','scale-down']}],'object-position':[{object:[].concat(['bottom','center','left','left-bottom','left-top','right','right-bottom','right-top','top'],[ft])}],overflow:[{overflow:['auto','hidden','clip','visible','scroll']}],'overflow-x':[{'overflow-x':['auto','hidden','clip','visible','scroll']}],'overflow-y':[{'overflow-y':['auto','hidden','clip','visible','scroll']}],overscroll:[{overscroll:['auto','contain','none']}],'overscroll-x':[{'overscroll-x':['auto','contain','none']}],'overscroll-y':[{'overscroll-y':['auto','contain','none']}],position:['static','fixed','absolute','relative','sticky'],inset:[{inset:[p]}],'inset-x':[{'inset-x':[p]}],'inset-y':[{'inset-y':[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:['visible','invisible','collapse'],z:[{z:['auto',dt]}],basis:[{basis:_()}],'flex-direction':[{flex:['row','row-reverse','col','col-reverse']}],'flex-wrap':[{flex:['wrap','wrap-reverse','nowrap']}],flex:[{flex:['1','auto','initial','none',ft]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:['first','last','none',dt]}],'grid-cols':[{'grid-cols':[ht]}],'col-start-end':[{col:['auto',{span:['full',dt]},ft]}],'col-start':[{'col-start':E()}],'col-end':[{'col-end':E()}],'grid-rows':[{'grid-rows':[ht]}],'row-start-end':[{row:['auto',{span:[dt]},ft]}],'row-start':[{'row-start':E()}],'row-end':[{'row-end':E()}],'grid-flow':[{'grid-flow':['row','col','dense','row-dense','col-dense']}],'auto-cols':[{'auto-cols':['auto','min','max','fr',ft]}],'auto-rows':[{'auto-rows':['auto','min','max','fr',ft]}],gap:[{gap:[d]}],'gap-x':[{'gap-x':[d]}],'gap-y':[{'gap-y':[d]}],'justify-content':[{justify:['normal'].concat(['start','end','center','between','around','evenly','stretch'])}],'justify-items':[{'justify-items':['start','end','center','stretch']}],'justify-self':[{'justify-self':['auto','start','end','center','stretch']}],'align-content':[{content:['normal'].concat(['start','end','center','between','around','evenly','stretch'],['baseline'])}],'align-items':[{items:['start','end','center','baseline','stretch']}],'align-self':[{self:['auto','start','end','center','stretch','baseline']}],'place-content':[{'place-content':[].concat(['start','end','center','between','around','evenly','stretch'],['baseline'])}],'place-items':[{'place-items':['start','end','center','baseline','stretch']}],'place-self':[{'place-self':['auto','start','end','center','stretch']}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],'space-x':[{'space-x':[x]}],'space-x-reverse':['space-x-reverse'],'space-y':[{'space-y':[x]}],'space-y-reverse':['space-y-reverse'],w:[{w:['auto','min','max','fit',ft,t]}],'min-w':[{'min-w':['min','max','fit',ft,it]}],'max-w':[{'max-w':['0','none','full','min','max','fit','prose',{screen:[pt]},pt,ft]}],h:[{h:[ft,t,'auto','min','max','fit']}],'min-h':[{'min-h':['min','max','fit',ft,it]}],'max-h':[{'max-h':[ft,t,'min','max','fit']}],'font-size':[{text:['base',pt,ot]}],'font-smoothing':['antialiased','subpixel-antialiased'],'font-style':['italic','not-italic'],'font-weight':[{font:['thin','extralight','light','normal','medium','semibold','bold','extrabold','black',lt]}],'font-family':[{font:[ht]}],'fvn-normal':['normal-nums'],'fvn-ordinal':['ordinal'],'fvn-slashed-zero':['slashed-zero'],'fvn-figure':['lining-nums','oldstyle-nums'],'fvn-spacing':['proportional-nums','tabular-nums'],'fvn-fraction':['diagonal-fractions','stacked-fractons'],tracking:[{tracking:['tighter','tight','normal','wide','wider','widest',ft]}],'line-clamp':[{'line-clamp':['none',ct,lt]}],leading:[{leading:['none','tight','snug','normal','relaxed','loose',ft,it]}],'list-image':[{'list-image':['none',ft]}],'list-style-type':[{list:['none','disc','decimal',ft]}],'list-style-position':[{list:['inside','outside']}],'placeholder-color':[{placeholder:[e]}],'placeholder-opacity':[{'placeholder-opacity':[m]}],'text-alignment':[{text:['left','center','right','justify','start','end']}],'text-color':[{text:[e]}],'text-opacity':[{'text-opacity':[m]}],'text-decoration':['underline','overline','line-through','no-underline'],'text-decoration-style':[{decoration:[].concat(['solid','dashed','dotted','double','none'],['wavy'])}],'text-decoration-thickness':[{decoration:['auto','from-font',it]}],'underline-offset':[{'underline-offset':['auto',ft,it]}],'text-decoration-color':[{decoration:[e]}],'text-transform':['uppercase','lowercase','capitalize','normal-case'],'text-overflow':['truncate','text-ellipsis','text-clip'],indent:[{indent:j()}],'vertical-align':[{align:['baseline','top','middle','bottom','text-top','text-bottom','sub','super',ft]}],whitespace:[{whitespace:['normal','nowrap','pre','pre-line','pre-wrap','break-spaces']}],break:[{break:['normal','words','all','keep']}],hyphens:[{hyphens:['none','manual','auto']}],content:[{content:['none',ft]}],'bg-attachment':[{bg:['fixed','local','scroll']}],'bg-clip':[{'bg-clip':['border','padding','content','text']}],'bg-opacity':[{'bg-opacity':[m]}],'bg-origin':[{'bg-origin':['border','padding','content']}],'bg-position':[{bg:[].concat(['bottom','center','left','left-bottom','left-top','right','right-bottom','right-top','top'],[at])}],'bg-repeat':[{bg:['no-repeat',{repeat:['','x','y','round','space']}]}],'bg-size':[{bg:['auto','cover','contain',st]}],'bg-image':[{bg:['none',{'gradient-to':['t','tr','r','br','b','bl','l','tl']},At]}],'bg-color':[{bg:[e]}],'gradient-from-pos':[{from:[h]}],'gradient-via-pos':[{via:[h]}],'gradient-to-pos':[{to:[h]}],'gradient-from':[{from:[f]}],'gradient-via':[{via:[f]}],'gradient-to':[{to:[f]}],rounded:[{rounded:[o]}],'rounded-s':[{'rounded-s':[o]}],'rounded-e':[{'rounded-e':[o]}],'rounded-t':[{'rounded-t':[o]}],'rounded-r':[{'rounded-r':[o]}],'rounded-b':[{'rounded-b':[o]}],'rounded-l':[{'rounded-l':[o]}],'rounded-ss':[{'rounded-ss':[o]}],'rounded-se':[{'rounded-se':[o]}],'rounded-ee':[{'rounded-ee':[o]}],'rounded-es':[{'rounded-es':[o]}],'rounded-tl':[{'rounded-tl':[o]}],'rounded-tr':[{'rounded-tr':[o]}],'rounded-br':[{'rounded-br':[o]}],'rounded-bl':[{'rounded-bl':[o]}],'border-w':[{border:[a]}],'border-w-x':[{'border-x':[a]}],'border-w-y':[{'border-y':[a]}],'border-w-s':[{'border-s':[a]}],'border-w-e':[{'border-e':[a]}],'border-w-t':[{'border-t':[a]}],'border-w-r':[{'border-r':[a]}],'border-w-b':[{'border-b':[a]}],'border-w-l':[{'border-l':[a]}],'border-opacity':[{'border-opacity':[m]}],'border-style':[{border:[].concat(['solid','dashed','dotted','double','none'],['hidden'])}],'divide-x':[{'divide-x':[a]}],'divide-x-reverse':['divide-x-reverse'],'divide-y':[{'divide-y':[a]}],'divide-y-reverse':['divide-y-reverse'],'divide-opacity':[{'divide-opacity':[m]}],'divide-style':[{divide:['solid','dashed','dotted','double','none']}],'border-color':[{border:[i]}],'border-color-x':[{'border-x':[i]}],'border-color-y':[{'border-y':[i]}],'border-color-t':[{'border-t':[i]}],'border-color-r':[{'border-r':[i]}],'border-color-b':[{'border-b':[i]}],'border-color-l':[{'border-l':[i]}],'divide-color':[{divide:[i]}],'outline-style':[{outline:[''].concat(['solid','dashed','dotted','double','none'])}],'outline-offset':[{'outline-offset':[ft,it]}],'outline-w':[{outline:[it]}],'outline-color':[{outline:[e]}],'ring-w':[{ring:F()}],'ring-w-inset':['ring-inset'],'ring-color':[{ring:[e]}],'ring-opacity':[{'ring-opacity':[m]}],'ring-offset-w':[{'ring-offset':[it]}],'ring-offset-color':[{'ring-offset':[e]}],shadow:[{shadow:['','inner','none',pt,gt]}],'shadow-color':[{shadow:[ht]}],opacity:[{opacity:[m]}],'mix-blend':[{'mix-blend':['normal','multiply','screen','overlay','darken','lighten','color-dodge','color-burn','hard-light','soft-light','difference','exclusion','hue','saturation','color','luminosity','plus-lighter']}],'bg-blend':[{'bg-blend':['normal','multiply','screen','overlay','darken','lighten','color-dodge','color-burn','hard-light','soft-light','difference','exclusion','hue','saturation','color','luminosity','plus-lighter']}],filter:[{filter:['','none']}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[A]}],'drop-shadow':[{'drop-shadow':['','none',pt,ft]}],grayscale:[{grayscale:[l]}],'hue-rotate':[{'hue-rotate':[c]}],invert:[{invert:[u]}],saturate:[{saturate:[b]}],sepia:[{sepia:[w]}],'backdrop-filter':[{'backdrop-filter':['','none']}],'backdrop-blur':[{'backdrop-blur':[n]}],'backdrop-brightness':[{'backdrop-brightness':[r]}],'backdrop-contrast':[{'backdrop-contrast':[A]}],'backdrop-grayscale':[{'backdrop-grayscale':[l]}],'backdrop-hue-rotate':[{'backdrop-hue-rotate':[c]}],'backdrop-invert':[{'backdrop-invert':[u]}],'backdrop-opacity':[{'backdrop-opacity':[m]}],'backdrop-saturate':[{'backdrop-saturate':[b]}],'backdrop-sepia':[{'backdrop-sepia':[w]}],'border-collapse':[{border:['collapse','separate']}],'border-spacing':[{'border-spacing':[s]}],'border-spacing-x':[{'border-spacing-x':[s]}],'border-spacing-y':[{'border-spacing-y':[s]}],'table-layout':[{table:['auto','fixed']}],caption:[{caption:['top','bottom']}],transition:[{transition:['none','all','','colors','opacity','shadow','transform',ft]}],duration:[{duration:U()}],ease:[{ease:['linear','in','out','in-out',ft]}],delay:[{delay:U()}],animate:[{animate:['none','spin','ping','pulse','bounce',ft]}],transform:[{transform:['','gpu','none']}],scale:[{scale:[y]}],'scale-x':[{'scale-x':[y]}],'scale-y':[{'scale-y':[y]}],rotate:[{rotate:[dt,ft]}],'translate-x':[{'translate-x':[C]}],'translate-y':[{'translate-y':[C]}],'skew-x':[{'skew-x':[B]}],'skew-y':[{'skew-y':[B]}],'transform-origin':[{origin:['center','top','top-right','right','bottom-right','bottom','bottom-left','left','top-left',ft]}],accent:[{accent:['auto',e]}],appearance:['appearance-none'],cursor:[{cursor:['auto','default','pointer','wait','text','move','help','not-allowed','none','context-menu','progress','cell','crosshair','vertical-text','alias','copy','no-drop','grab','grabbing','all-scroll','col-resize','row-resize','n-resize','e-resize','s-resize','w-resize','ne-resize','nw-resize','se-resize','sw-resize','ew-resize','ns-resize','nesw-resize','nwse-resize','zoom-in','zoom-out',ft]}],'caret-color':[{caret:[e]}],'pointer-events':[{'pointer-events':['none','auto']}],resize:[{resize:['none','y','x','']}],'scroll-behavior':[{scroll:['auto','smooth']}],'scroll-m':[{'scroll-m':j()}],'scroll-mx':[{'scroll-mx':j()}],'scroll-my':[{'scroll-my':j()}],'scroll-ms':[{'scroll-ms':j()}],'scroll-me':[{'scroll-me':j()}],'scroll-mt':[{'scroll-mt':j()}],'scroll-mr':[{'scroll-mr':j()}],'scroll-mb':[{'scroll-mb':j()}],'scroll-ml':[{'scroll-ml':j()}],'scroll-p':[{'scroll-p':j()}],'scroll-px':[{'scroll-px':j()}],'scroll-py':[{'scroll-py':j()}],'scroll-ps':[{'scroll-ps':j()}],'scroll-pe':[{'scroll-pe':j()}],'scroll-pt':[{'scroll-pt':j()}],'scroll-pr':[{'scroll-pr':j()}],'scroll-pb':[{'scroll-pb':j()}],'scroll-pl':[{'scroll-pl':j()}],'snap-align':[{snap:['start','end','center','align-none']}],'snap-stop':[{snap:['normal','always']}],'snap-type':[{snap:['none','x','y','both']}],'snap-strictness':[{snap:['mandatory','proximity']}],touch:[{touch:['auto','none','pinch-zoom','manipulation',{pan:['x','left','right','y','up','down']}]}],select:[{select:['none','text','all','auto']}],'will-change':[{'will-change':['auto','scroll','contents','transform',ft]}],fill:[{fill:[e,'none']}],'stroke-w':[{stroke:[it,lt]}],stroke:[{stroke:[e,'none']}],sr:['sr-only','not-sr-only']},conflictingClassGroups:{overflow:['overflow-x','overflow-y'],overscroll:['overscroll-x','overscroll-y'],inset:['inset-x','inset-y','start','end','top','right','bottom','left'],'inset-x':['right','left'],'inset-y':['top','bottom'],flex:['basis','grow','shrink'],gap:['gap-x','gap-y'],p:['px','py','ps','pe','pt','pr','pb','pl'],px:['pr','pl'],py:['pt','pb'],m:['mx','my','ms','me','mt','mr','mb','ml'],mx:['mr','ml'],my:['mt','mb'],'font-size':['leading'],'fvn-normal':['fvn-ordinal','fvn-slashed-zero','fvn-figure','fvn-spacing','fvn-fraction'],'fvn-ordinal':['fvn-normal'],'fvn-slashed-zero':['fvn-normal'],'fvn-figure':['fvn-normal'],'fvn-spacing':['fvn-normal'],'fvn-fraction':['fvn-normal'],rounded:['rounded-s','rounded-e','rounded-t','rounded-r','rounded-b','rounded-l','rounded-ss','rounded-se','rounded-ee','rounded-es','rounded-tl','rounded-tr','rounded-br','rounded-bl'],'rounded-s':['rounded-ss','rounded-es'],'rounded-e':['rounded-se','rounded-ee'],'rounded-t':['rounded-tl','rounded-tr'],'rounded-r':['rounded-tr','rounded-br'],'rounded-b':['rounded-br','rounded-bl'],'rounded-l':['rounded-tl','rounded-bl'],'border-spacing':['border-spacing-x','border-spacing-y'],'border-w':['border-w-s','border-w-e','border-w-t','border-w-r','border-w-b','border-w-l'],'border-w-x':['border-w-r','border-w-l'],'border-w-y':['border-w-t','border-w-b'],'border-color':['border-color-t','border-color-r','border-color-b','border-color-l'],'border-color-x':['border-color-r','border-color-l'],'border-color-y':['border-color-t','border-color-b'],'scroll-m':['scroll-mx','scroll-my','scroll-ms','scroll-me','scroll-mt','scroll-mr','scroll-mb','scroll-ml'],'scroll-mx':['scroll-mr','scroll-ml'],'scroll-my':['scroll-mt','scroll-mb'],'scroll-p':['scroll-px','scroll-py','scroll-ps','scroll-pe','scroll-pt','scroll-pr','scroll-pb','scroll-pl'],'scroll-px':['scroll-pr','scroll-pl'],'scroll-py':['scroll-pt','scroll-pb']},conflictingClassGroupModifiers:{'font-size':['leading']}}}var Ct,_t,jt,Ft=Xe(xt),Et=['a','abbr','address','area','article','aside','audio','b','base','bdi','bdo','big','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','data','datalist','dd','del','details','dfn','dialog','div','dl','dt','em','embed','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','iframe','img','input','ins','kbd','keygen','label','legend','li','link','main','map','mark','menu','menuitem','meta','meter','nav','noscript','object','ol','optgroup','option','output','p','param','picture','pre','progress','q','rp','rt','ruby','s','samp','script','section','select','small','source','span','strong','style','sub','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','title','tr','track','u','ul','var','video','wbr','circle','clipPath','defs','ellipse','foreignObject','g','image','line','linearGradient','marker','mask','path','pattern','polygon','polyline','radialGradient','rect','stop','svg','text','tspan'],St=Symbol('isTwElement?'),kt=(e,t)=>e.reduce((e,n,r)=>e.concat(n||[],t[r]||[]),[]),Ut=(e,t='')=>{let n=e.join(' ').trim().replace(/\n/g,' ').replace(/\s{2,}/g,' ').split(' ').filter(e=>','!==e),r=t?t.split(' '):[];return Ft(...n.concat(r).filter(e=>' '!==e))},Qt=([e])=>'$'!==e.charAt(0),Lt=e=>!0===e[St],Ot=e=>(n,...r)=>{let i=(o=[])=>{let s=t.forwardRef((i,s)=>{let{$as:a=e,style:A={},...l}=i,c=Lt(e)?e:a,u=o?o.reduce((e,t)=>Object.assign(e,'function'==typeof t?t(i):t),{}):{},d=Lt(c)?l:Object.fromEntries(Object.entries(l).filter(Qt));return t.createElement(c,{...d,style:{...u,...A},ref:s,className:Ut(kt(n,r.map(e=>e({...l,$as:a}))),l.className),...Lt(e)?{$as:a}:{}})});return s[St]=!0,s.displayName='string'!=typeof e?e.displayName||e.name||'tw.Component':'tw.'+e,s.withStyle=e=>i(o.concat(e)),s};return i()},It=Et.reduce((e,t)=>({...e,[t]:Ot(t)}),{}),Nt=Object.assign(Ot,It),Tt=Nt.button(Ct||(Ct=Pe(['\n vu-h-fit\n vu-rounded-lg\n vu-p-2\n vu-flex\n vu-items-center\n vu-justify-center\n ','\n ','\n ','\n ','\n ','\n'],['\n vu-h-fit\n vu-rounded-lg\n vu-p-2\n vu-flex\n vu-items-center\n vu-justify-center\n ','\n ','\n ','\n ','\n ','\n'])),function(e){return e.disabled?'vu-cursor-not-allowed vu-opacity-25':''},function(e){return e.$fullWidth?'vu-grow':'vu-grow-0'},function(e){return'outline'===e.$fill||'text'===e.$fill?'vu-border-solid vu-border-2 vu-text-black dark:vu-text-slate-250':'vu-text-white'},function(e){return'outline'===e.$fill?'vu-bg-transparent vu-border-black dark:vu-border-dark_mode-100':'vu-bg-primary'},function(e){return'text'===e.$fill&&' vu-bg-lavender_blush vu-border-light_pink'}),Mt=Nt.span(_t||(_t=Pe(['\n vu-mr-2\n vu-flex\n vu-items-center\n vu-gap-2\n'],['\n vu-mr-2\n vu-flex\n vu-items-center\n vu-gap-2\n']))),Pt=Nt.button(jt||(jt=Pe(['\n vu-bg-transparent\n vu-border-0\n focus:vu-outline-none\n focus:vu-ring-0\n vu-p-0\n vu-m-0\n vu-inline-flex\n vu-justify-center\n vu-align-middle\n ','\n'],['\n vu-bg-transparent\n vu-border-0\n focus:vu-outline-none\n focus:vu-ring-0\n vu-p-0\n vu-m-0\n vu-inline-flex\n vu-justify-center\n vu-align-middle\n ','\n'])),function(e){return e.disabled?'vu-cursor-not-allowed\n vu-opacity-25 \n ':''});var Dt=['br','col','colgroup','dl','hr','iframe','img','input','link','menuitem','meta','ol','param','select','table','tbody','tfoot','thead','tr','ul','wbr'],Rt={'accept-charset':'acceptCharset',acceptcharset:'acceptCharset',accesskey:'accessKey',allowfullscreen:'allowFullScreen',autocapitalize:'autoCapitalize',autocomplete:'autoComplete',autocorrect:'autoCorrect',autofocus:'autoFocus',autoplay:'autoPlay',autosave:'autoSave',cellpadding:'cellPadding',cellspacing:'cellSpacing',charset:'charSet',class:'className',classid:'classID',classname:'className',colspan:'colSpan',contenteditable:'contentEditable',contextmenu:'contextMenu',controlslist:'controlsList',crossorigin:'crossOrigin',dangerouslysetinnerhtml:'dangerouslySetInnerHTML',datetime:'dateTime',defaultchecked:'defaultChecked',defaultvalue:'defaultValue',enctype:'encType',for:'htmlFor',formmethod:'formMethod',formaction:'formAction',formenctype:'formEncType',formnovalidate:'formNoValidate',formtarget:'formTarget',frameborder:'frameBorder',hreflang:'hrefLang',htmlfor:'htmlFor',httpequiv:'httpEquiv','http-equiv':'httpEquiv',icon:'icon',innerhtml:'innerHTML',inputmode:'inputMode',itemid:'itemID',itemprop:'itemProp',itemref:'itemRef',itemscope:'itemScope',itemtype:'itemType',keyparams:'keyParams',keytype:'keyType',marginwidth:'marginWidth',marginheight:'marginHeight',maxlength:'maxLength',mediagroup:'mediaGroup',minlength:'minLength',nomodule:'noModule',novalidate:'noValidate',playsinline:'playsInline',radiogroup:'radioGroup',readonly:'readOnly',referrerpolicy:'referrerPolicy',rowspan:'rowSpan',spellcheck:'spellCheck',srcdoc:'srcDoc',srclang:'srcLang',srcset:'srcSet',tabindex:'tabIndex',typemustmatch:'typeMustMatch',usemap:'useMap',accentheight:'accentHeight','accent-height':'accentHeight',alignmentbaseline:'alignmentBaseline','alignment-baseline':'alignmentBaseline',allowreorder:'allowReorder',arabicform:'arabicForm','arabic-form':'arabicForm',attributename:'attributeName',attributetype:'attributeType',autoreverse:'autoReverse',basefrequency:'baseFrequency',baselineshift:'baselineShift','baseline-shift':'baselineShift',baseprofile:'baseProfile',calcmode:'calcMode',capheight:'capHeight','cap-height':'capHeight',clippath:'clipPath','clip-path':'clipPath',clippathunits:'clipPathUnits',cliprule:'clipRule','clip-rule':'clipRule',colorinterpolation:'colorInterpolation','color-interpolation':'colorInterpolation',colorinterpolationfilters:'colorInterpolationFilters','color-interpolation-filters':'colorInterpolationFilters',colorprofile:'colorProfile','color-profile':'colorProfile',colorrendering:'colorRendering','color-rendering':'colorRendering',contentscripttype:'contentScriptType',contentstyletype:'contentStyleType',diffuseconstant:'diffuseConstant',dominantbaseline:'dominantBaseline','dominant-baseline':'dominantBaseline',edgemode:'edgeMode',enablebackground:'enableBackground','enable-background':'enableBackground',externalresourcesrequired:'externalResourcesRequired',fillopacity:'fillOpacity','fill-opacity':'fillOpacity',fillrule:'fillRule','fill-rule':'fillRule',filterres:'filterRes',filterunits:'filterUnits',floodopacity:'floodOpacity','flood-opacity':'floodOpacity',floodcolor:'floodColor','flood-color':'floodColor',fontfamily:'fontFamily','font-family':'fontFamily',fontsize:'fontSize','font-size':'fontSize',fontsizeadjust:'fontSizeAdjust','font-size-adjust':'fontSizeAdjust',fontstretch:'fontStretch','font-stretch':'fontStretch',fontstyle:'fontStyle','font-style':'fontStyle',fontvariant:'fontVariant','font-variant':'fontVariant',fontweight:'fontWeight','font-weight':'fontWeight',glyphname:'glyphName','glyph-name':'glyphName',glyphorientationhorizontal:'glyphOrientationHorizontal','glyph-orientation-horizontal':'glyphOrientationHorizontal',glyphorientationvertical:'glyphOrientationVertical','glyph-orientation-vertical':'glyphOrientationVertical',glyphref:'glyphRef',gradienttransform:'gradientTransform',gradientunits:'gradientUnits',horizadvx:'horizAdvX','horiz-adv-x':'horizAdvX',horizoriginx:'horizOriginX','horiz-origin-x':'horizOriginX',imagerendering:'imageRendering','image-rendering':'imageRendering',kernelmatrix:'kernelMatrix',kernelunitlength:'kernelUnitLength',keypoints:'keyPoints',keysplines:'keySplines',keytimes:'keyTimes',lengthadjust:'lengthAdjust',letterspacing:'letterSpacing','letter-spacing':'letterSpacing',lightingcolor:'lightingColor','lighting-color':'lightingColor',limitingconeangle:'limitingConeAngle',markerend:'markerEnd','marker-end':'markerEnd',markerheight:'markerHeight',markermid:'markerMid','marker-mid':'markerMid',markerstart:'markerStart','marker-start':'markerStart',markerunits:'markerUnits',markerwidth:'markerWidth',maskcontentunits:'maskContentUnits',maskunits:'maskUnits',numoctaves:'numOctaves',overlineposition:'overlinePosition','overline-position':'overlinePosition',overlinethickness:'overlineThickness','overline-thickness':'overlineThickness',paintorder:'paintOrder','paint-order':'paintOrder','panose-1':'panose1',pathlength:'pathLength',patterncontentunits:'patternContentUnits',patterntransform:'patternTransform',patternunits:'patternUnits',pointerevents:'pointerEvents','pointer-events':'pointerEvents',pointsatx:'pointsAtX',pointsaty:'pointsAtY',pointsatz:'pointsAtZ',preservealpha:'preserveAlpha',preserveaspectratio:'preserveAspectRatio',primitiveunits:'primitiveUnits',refx:'refX',refy:'refY',renderingintent:'renderingIntent','rendering-intent':'renderingIntent',repeatcount:'repeatCount',repeatdur:'repeatDur',requiredextensions:'requiredExtensions',requiredfeatures:'requiredFeatures',shaperendering:'shapeRendering','shape-rendering':'shapeRendering',specularconstant:'specularConstant',specularexponent:'specularExponent',spreadmethod:'spreadMethod',startoffset:'startOffset',stddeviation:'stdDeviation',stitchtiles:'stitchTiles',stopcolor:'stopColor','stop-color':'stopColor',stopopacity:'stopOpacity','stop-opacity':'stopOpacity',strikethroughposition:'strikethroughPosition','strikethrough-position':'strikethroughPosition',strikethroughthickness:'strikethroughThickness','strikethrough-thickness':'strikethroughThickness',strokedasharray:'strokeDasharray','stroke-dasharray':'strokeDasharray',strokedashoffset:'strokeDashoffset','stroke-dashoffset':'strokeDashoffset',strokelinecap:'strokeLinecap','stroke-linecap':'strokeLinecap',strokelinejoin:'strokeLinejoin','stroke-linejoin':'strokeLinejoin',strokemiterlimit:'strokeMiterlimit','stroke-miterlimit':'strokeMiterlimit',strokewidth:'strokeWidth','stroke-width':'strokeWidth',strokeopacity:'strokeOpacity','stroke-opacity':'strokeOpacity',suppresscontenteditablewarning:'suppressContentEditableWarning',suppresshydrationwarning:'suppressHydrationWarning',surfacescale:'surfaceScale',systemlanguage:'systemLanguage',tablevalues:'tableValues',targetx:'targetX',targety:'targetY',textanchor:'textAnchor','text-anchor':'textAnchor',textdecoration:'textDecoration','text-decoration':'textDecoration',textlength:'textLength',textrendering:'textRendering','text-rendering':'textRendering',underlineposition:'underlinePosition','underline-position':'underlinePosition',underlinethickness:'underlineThickness','underline-thickness':'underlineThickness',unicodebidi:'unicodeBidi','unicode-bidi':'unicodeBidi',unicoderange:'unicodeRange','unicode-range':'unicodeRange',unitsperem:'unitsPerEm','units-per-em':'unitsPerEm',unselectable:'unselectable',valphabetic:'vAlphabetic','v-alphabetic':'vAlphabetic',vectoreffect:'vectorEffect','vector-effect':'vectorEffect',vertadvy:'vertAdvY','vert-adv-y':'vertAdvY',vertoriginx:'vertOriginX','vert-origin-x':'vertOriginX',vertoriginy:'vertOriginY','vert-origin-y':'vertOriginY',vhanging:'vHanging','v-hanging':'vHanging',videographic:'vIdeographic','v-ideographic':'vIdeographic',viewbox:'viewBox',viewtarget:'viewTarget',vmathematical:'vMathematical','v-mathematical':'vMathematical',wordspacing:'wordSpacing','word-spacing':'wordSpacing',writingmode:'writingMode','writing-mode':'writingMode',xchannelselector:'xChannelSelector',xheight:'xHeight','x-height':'xHeight',xlinkactuate:'xlinkActuate','xlink:actuate':'xlinkActuate',xlinkarcrole:'xlinkArcrole','xlink:arcrole':'xlinkArcrole',xlinkhref:'xlinkHref','xlink:href':'xlinkHref',xlinkrole:'xlinkRole','xlink:role':'xlinkRole',xlinkshow:'xlinkShow','xlink:show':'xlinkShow',xlinktitle:'xlinkTitle','xlink:title':'xlinkTitle',xlinktype:'xlinkType','xlink:type':'xlinkType',xmlbase:'xmlBase','xml:base':'xmlBase',xmllang:'xmlLang','xml:lang':'xmlLang','xml:space':'xmlSpace',xmlnsxlink:'xmlnsXlink','xmlns:xlink':'xmlnsXlink',xmlspace:'xmlSpace',ychannelselector:'yChannelSelector',zoomandpan:'zoomAndPan',onblur:'onBlur',onchange:'onChange',onclick:'onClick',oncontextmenu:'onContextMenu',ondoubleclick:'onDoubleClick',ondrag:'onDrag',ondragend:'onDragEnd',ondragenter:'onDragEnter',ondragexit:'onDragExit',ondragleave:'onDragLeave',ondragover:'onDragOver',ondragstart:'onDragStart',ondrop:'onDrop',onerror:'onError',onfocus:'onFocus',oninput:'onInput',oninvalid:'onInvalid',onkeydown:'onKeyDown',onkeypress:'onKeyPress',onkeyup:'onKeyUp',onload:'onLoad',onmousedown:'onMouseDown',onmouseenter:'onMouseEnter',onmouseleave:'onMouseLeave',onmousemove:'onMouseMove',onmouseout:'onMouseOut',onmouseover:'onMouseOver',onmouseup:'onMouseUp',onscroll:'onScroll',onsubmit:'onSubmit',ontouchcancel:'onTouchCancel',ontouchend:'onTouchEnd',ontouchmove:'onTouchMove',ontouchstart:'onTouchStart',onwheel:'onWheel'};function Ht(t,n){const{key:r,level:i,...o}=n;switch(t.nodeType){case 1:return e.createElement(function(e){if(/[a-z]+[A-Z]+[a-z]+/.test(e))return e;return e.toLowerCase()}(t.nodeName),function(e,t){const n={key:t};if(e instanceof Element){const t=e.getAttribute('class');t&&(n.className=t),[...e.attributes].forEach(e=>{switch(e.name){case'class':break;case'style':n[e.name]='string'!=typeof(t=e.value)?{}:t.split(/ ?; ?/).reduce((e,t)=>{const[n,r]=t.split(/ ?: ?/).map((e,t)=>0===t?e.replace(/\s+/g,''):e.trim());if(n&&r){const t=n.replace(/(\w)-(\w)/g,(e,t,n)=>`${t}${n.toUpperCase()}`);let i=r.trim();Number.isNaN(Number(r))||(i=Number(r)),e[n.startsWith('-')?n:t]=i}return e},{});break;case'allowfullscreen':case'allowpaymentrequest':case'async':case'autofocus':case'autoplay':case'checked':case'controls':case'default':case'defer':case'disabled':case'formnovalidate':case'hidden':case'ismap':case'itemscope':case'loop':case'multiple':case'muted':case'nomodule':case'novalidate':case'open':case'readonly':case'required':case'reversed':case'selected':case'typemustmatch':n[Rt[e.name]||e.name]=!0;break;default:n[Rt[e.name]||e.name]=e.value}var t})}return n}(t,r),zt(t.childNodes,i,o));case 3:{const e=t.nodeValue?.toString()??'';if(!o.allowWhiteSpaces&&/^\s+$/.test(e)&&!/[\u00A0\u202F]/.test(e))return null;if(!t.parentNode)return e;const n=t.parentNode.nodeName.toLowerCase();return Dt.includes(n)?(/\S/.test(e),null):e}case 8:default:return null;case 11:return zt(t.childNodes,i,n)}}function zt(e,t,n){const r=[...e].map((e,r)=>Vt(e,{...n,index:r,level:t+1})).filter(Boolean);return r.length?r:null}function Kt(e,t={}){return'string'==typeof e?function(e,t={}){if(!e||'string'!=typeof e)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:i='body > *',type:o='text/html'}=t;try{const s=(new DOMParser).parseFromString(e,o);if(n){const{childNodes:e}=s.body;return r?e:[...e].map(e=>Vt(e,t))}const a=s.querySelector(i)||s.body.childNodes[0];if(!(a instanceof Node))throw new TypeError('Error parsing input');return r?a:Vt(a,t)}catch(e){process.env.NODE_ENV}return null}(e,t):e instanceof Node?Vt(e,t):null}function Vt(e,t={}){if(!(e&&e instanceof Node))return null;const{actions:n=[],index:r=0,level:i=0,randomKey:o}=t;let s=e,a=`${i}-${r}`;const A=[];return o&&0===i&&(a=`${function(e=6){const t='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';let n='';for(let r=e;r>0;--r)n+=t[Math.round(61*Math.random())];return n}()}-${a}`),Array.isArray(n)&&n.forEach(t=>{t.condition(s,a,i)&&('function'==typeof t.pre&&(s=t.pre(s,a,i),s instanceof Node||(s=e,process.env.NODE_ENV)),'function'==typeof t.post&&A.push(t.post(s,a,i)))}),A.length?A:Ht(s,{key:a,level:i,...t})}var qt=Object.defineProperty,Gt=(e,t,n)=>((e,t,n)=>t in e?qt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,'symbol'!=typeof t?t+'':t,n),Wt='react-inlinesvg',Yt={IDLE:'idle',LOADING:'loading',LOADED:'loaded',FAILED:'failed',READY:'ready',UNSUPPORTED:'unsupported'};function Xt(e){return e[Math.floor(Math.random()*e.length)]}function Jt(){return!('undefined'==typeof window||!window.document?.createElement)}function Zt(){return function(){if(!document)return!1;const e=document.createElement('div');e.innerHTML='<svg />';const t=e.firstChild;return!!t&&'http://www.w3.org/2000/svg'===t.namespaceURI}()&&'undefined'!=typeof window&&null!==window}async function $t(e,t){const n=await fetch(e,t),r=n.headers.get('content-type'),[i]=(r??'').split(/ ?; ?/);if(n.status>299)throw new Error('Not found');if(!['image/svg+xml','text/plain'].some(e=>i.includes(e)))throw new Error(`Content type isn't valid: ${i}`);return n.text()}function en(e=1){return new Promise(t=>{setTimeout(t,1e3*e)})}var tn,nn=class{constructor(){Gt(this,'cacheApi'),Gt(this,'cacheStore'),Gt(this,'subscribers',[]),Gt(this,'isReady',!1),this.cacheStore=new Map;let e=Wt,t=!1;Jt()&&(e=window.REACT_INLINESVG_CACHE_NAME??Wt,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&'caches'in window),t?caches.open(e).then(e=>{this.cacheApi=e}).catch(e=>{this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const e=[...this.subscribers];this.subscribers.length=0,e.forEach(e=>{try{e()}catch(e){}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??''}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===Yt.LOADED}async fetchAndAddToInternalCache(e,t){const n=this.cacheStore.get(e);if(n?.status!==Yt.LOADING){if(!n?.content){this.cacheStore.set(e,{content:'',status:Yt.LOADING});try{const n=await $t(e,t);this.cacheStore.set(e,{content:n,status:Yt.LOADED})}catch(t){throw this.cacheStore.set(e,{content:'',status:Yt.FAILED}),t}}}else await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:'',status:Yt.IDLE}),await this.fetchAndAddToInternalCache(e,t)})}async fetchAndAddToPersistentCache(e,t){const n=this.cacheStore.get(e);if(n?.status===Yt.LOADED)return;if(n?.status===Yt.LOADING)return void await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:'',status:Yt.IDLE}),await this.fetchAndAddToPersistentCache(e,t)});this.cacheStore.set(e,{content:'',status:Yt.LOADING});const r=await(this.cacheApi?.match(e));if(r){const t=await r.text();return void this.cacheStore.set(e,{content:t,status:Yt.LOADED})}try{await(this.cacheApi?.add(new Request(e,t)));const n=await(this.cacheApi?.match(e)),r=await(n?.text())??'';this.cacheStore.set(e,{content:r,status:Yt.LOADED})}catch(t){throw this.cacheStore.set(e,{content:'',status:Yt.FAILED}),t}}async handleLoading(e,t){for(let t=0;t<10;t++){if(this.cacheStore.get(e)?.status!==Yt.LOADING)return;await en(.1)}await t()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([e,t])=>({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(e=>this.cacheApi.delete(e)))}this.cacheStore.clear()}};function rn(e){const t=o(void 0);return r(()=>{t.current=e}),t.current}function on(e){const{baseURL:t,content:n,description:r,handleError:i,hash:o,preProcessor:s,title:a,uniquifyIDs:A=!1}=e;try{const e=function(e,t){if(t)return t(e);return e}(n,s),i=Kt(e,{nodeOnly:!0});if(!(i&&i instanceof SVGSVGElement))throw new Error('Could not convert the src to a DOM Node');const l=sn(i,{baseURL:t,hash:o,uniquifyIDs:A});if(r){const e=l.querySelector('desc');e?.parentNode&&e.parentNode.removeChild(e);const t=document.createElementNS('http://www.w3.org/2000/svg','desc');t.innerHTML=r,l.prepend(t)}if(void 0!==a){const e=l.querySelector('title');if(e?.parentNode&&e.parentNode.removeChild(e),a){const e=document.createElementNS('http://www.w3.org/2000/svg','title');e.innerHTML=a,l.prepend(e)}}return l}catch(e){return i(e)}}function sn(e,t){const{baseURL:n='',hash:r,uniquifyIDs:i}=t,o=['id','href','xlink:href','xlink:role','xlink:arcrole'],s=['href','xlink:href'];return i?([...e.children].forEach(e=>{if(e.attributes?.length){const t=Object.values(e.attributes).map(e=>{const t=e,i=/url\((.*?)\)/.exec(e.value);return i?.[1]&&(t.value=e.value.replace(i[0],`url(${n}${i[1]}__${r})`)),t});o.forEach(e=>{const n=t.find(t=>t.name===e);var i,o;n&&(i=e,o=n.value,!s.includes(i)||!o||o.includes('#'))&&(n.value=`${n.value}__${r}`)})}return e.children.length?sn(e,t):e}),e):e}function an(e){const{cacheRequests:t=!0,children:n=null,description:l,fetchOptions:c,innerRef:u,loader:d=null,onError:f,onLoad:h,src:p,title:g,uniqueHash:m}=e,[v,b]=i((e,t)=>({...e,...t}),{content:'',element:null,isCached:t&&tn.isCached(e.src),status:Yt.IDLE}),{content:y,element:w,isCached:B,status:x}=v,C=rn(e),_=rn(v),j=o(m??function(e){const t='abcdefghijklmnopqrstuvwxyz',n=`${t}${t.toUpperCase()}1234567890`;let r='';for(let t=0;t<e;t++)r+=Xt(n);return r}(8)),F=o(!1),E=o(!1),S=s(e=>{F.current&&(b({status:'Browser does not support SVG'===e.message?Yt.UNSUPPORTED:Yt.FAILED}),f?.(e))},[f]),k=s((e,t=!1)=>{F.current&&b({content:e,isCached:t,status:Yt.LOADED})},[]),U=s(async()=>{const e=await $t(p,c);k(e)},[c,k,p]),Q=s(()=>{try{const t=Kt(on({...e,handleError:S,hash:j.current,content:y}));if(!t||!a(t))throw new Error('Could not convert the src to a React element');b({element:t,status:Yt.READY})}catch(e){S(e)}},[y,S,e]),L=s(async()=>{const e=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(p);let n;if(e?n=e[1]?window.atob(e[2]):decodeURIComponent(e[2]):p.includes('<svg')&&(n=p),n)k(n);else try{if(t){const e=await tn.get(p,c);k(e,!0)}else await U()}catch(e){S(e)}},[t,U,c,S,k,p]),O=s(async()=>{F.current&&b({content:'',element:null,isCached:!1,status:Yt.LOADING})},[]);r(()=>{if(F.current=!0,Jt()&&!E.current){try{if(x===Yt.IDLE){if(!Zt())throw new Error('Browser does not support SVG');if(!p)throw new Error('Missing src');O()}}catch(e){S(e)}return E.current=!0,()=>{F.current=!1}}},[]),r(()=>{if(Jt()&&C&&C.src!==p){if(!p)return void S(new Error('Missing src'));O()}},[S,O,C,p]),r(()=>{x===Yt.LOADED&&Q()},[x,Q]),r(()=>{Jt()&&C&&C.src===p&&(C.title===g&&C.description===l||Q())},[l,Q,C,p,g]),r(()=>{if(_)switch(x){case Yt.LOADING:_.status!==Yt.LOADING&&L();break;case Yt.LOADED:_.status!==Yt.LOADED&&Q();break;case Yt.READY:_.status!==Yt.READY&&h?.(p,B)}},[L,Q,B,h,_,p,x]);const I=function(e,...t){const n={};for(const r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}(e,'baseURL','cacheRequests','children','description','fetchOptions','innerRef','loader','onError','onLoad','preProcessor','src','title','uniqueHash','uniquifyIDs');return Jt()?w?A(w,{ref:u,...I}):[Yt.UNSUPPORTED,Yt.FAILED].includes(x)?n:d:d}function An(e){tn||(tn=new nn);const{loader:i}=e,[o,s]=n(tn.isReady);return r(()=>{o||tn.onReady(()=>{s(!0)})},[o]),o?t.createElement(an,{...e}):i}var ln,cn,un=function(e){var n=e.svg,r=e.size,i=void 0===r?24:r,o=e.title,s=e.inline,a=void 0!==s&&s,A=e.iconColor,l=void 0===A?'vu-fill-black dark:vu-fill-slate-250':A,c=e.className;return t.createElement('div',{className:''.concat(l,' ').concat(a?'vu-inline':'',' ').concat(c)},t.createElement(An,{src:n,width:i,height:i,className:'vu-inline-block vu-align-middle',title:o,loader:t.createElement('span',null,'Loading...'),onError:function(e){}}))},dn=function(e){var n=e.icon,r=e.children,i=e.$fill,o=void 0===i?'solid':i,s=e.iconColor,a=Ie(e,['icon','children','$fill','iconColor']);return t.createElement(Tt,Oe({$fill:o},a),n&&t.createElement(Mt,null,t.createElement(un,{svg:n,iconColor:s})),r)},fn=function(e){var n=e.name,r=e.ariaLabel,i=e.toolTip,o=e.icon,s=e.iconColor,a=e.size,A=Ie(e,['name','ariaLabel','toolTip','icon','iconColor','size']);return t.createElement(Pt,Oe({'aria-label':r,title:null!=i?i:n},A),t.createElement(un,{size:a,svg:o,iconColor:s}))},hn=Nt.div(ln||(ln=Pe(['\n vu-flex\n vu-border-solid\n vu-border-2\n vu-border-gainsboro\n dark:vu-border-dark_mode-200\n vu-rounded-md\n vu-h-10\n vu-flex\n vu-items-center\n vu-px-3\n vu-gap-x-3\n'],['\n vu-flex\n vu-border-solid\n vu-border-2\n vu-border-gainsboro\n dark:vu-border-dark_mode-200\n vu-rounded-md\n vu-h-10\n vu-flex\n vu-items-center\n vu-px-3\n vu-gap-x-3\n']))),pn=Nt.input(cn||(cn=Pe(['\n ','\n vu-h-full\n vu-bg-transparent\n vu-focus:outline-none\n dark:vu-text-slate-450\n'],['\n ','\n vu-h-full\n vu-bg-transparent\n vu-focus:outline-none\n dark:vu-text-slate-450\n'])),function(e){return e.$fullWidth?'vu-grow':'vu-grow-0'}),gn=function(e){var n=Ie(e,[]);return t.createElement(hn,null,t.createElement('div',null,t.createElement(un,{iconColor:'vu-fill-slate-350 dark:vu-fill-slate-450',svg:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.71%2C20.29l-3.68-3.68c1.23-1.54%2C1.98-3.49%2C1.98-5.61%2C0-4.96-4.04-9-9-9S2%2C6.04%2C2%2C11s4.04%2C9%2C9%2C9c2.12%2C0%2C4.07-.74%2C5.61-1.98l3.68%2C3.68c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.39-.39%2C.39-1.02%2C0-1.41ZM4%2C11c0-3.86%2C3.14-7%2C7-7s7%2C3.14%2C7%2C7c0%2C1.92-.78%2C3.66-2.04%2C4.93%2C0%2C0-.02%2C0-.02%2C.01s0%2C.02-.01%2C.02c-1.27%2C1.26-3.01%2C2.04-4.93%2C2.04-3.86%2C0-7-3.14-7-7Z%22%2F%3E%3C%2Fsvg%3E'})),t.createElement(pn,Oe({},n)))},mn=Nt.div(yn||(yn=Pe(['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-5\n vu-w-full\n vu-flex\n vu-flex-col\n vu-gap-4\n'],['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-5\n vu-w-full\n vu-flex\n vu-flex-col\n vu-gap-4\n']))),vn=Nt.div(wn||(wn=Pe(['\n vu-flex\n vu-gap-x-3\n vu-w-full\n'],['\n vu-flex\n vu-gap-x-3\n vu-w-full\n']))),bn=Nt.div(Bn||(Bn=Pe(['\n vu-w-4/5\n vu-relative\n vu-h-80\n vu-flex\n vu-flex-col\n vu-justify-center\n items-center\n'],['\n vu-w-4/5\n vu-relative\n vu-h-80\n vu-flex\n vu-flex-col\n vu-justify-center\n items-center\n'])));Nt.div(xn||(xn=Pe(['\n vu-flex\n vu-justify-end\n vu-text-xs\n'],['\n vu-flex\n vu-justify-end\n vu-text-xs\n'])));var yn,wn,Bn,xn,Cn,_n,jn,Fn,En,Sn,kn,Un,Qn,Ln=Nt.div(Cn||(Cn=Pe(['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-w-full\n'],['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-w-full\n']))),On=Nt.div(_n||(_n=Pe(['\n sm:vu-flex \n vu-flex-col \n vu-pl-7 \n vu-gap-2\n vu-hidden\n'],['\n sm:vu-flex \n vu-flex-col \n vu-pl-7 \n vu-gap-2\n vu-hidden\n']))),In=Nt.div(jn||(jn=Pe(['\n vu-text-red-500\n'],['\n vu-text-red-500\n']))),Nn=Nt.div(Fn||(Fn=Pe(['\n vu-opacity-60\n vu-self-center\n'],['\n vu-opacity-60\n vu-self-center\n']))),Tn=Nt.span(En||(En=Pe(['\n vu-text-sm\n'],['\n vu-text-sm\n']))),Mn=Nt.div(Sn||(Sn=Pe(['\n vu-text-sm vu-font-semibold\n'],['\n vu-text-sm vu-font-semibold\n']))),Pn='data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20y%3D%2211.0137%22%20width%3D%2256.1096%22%20height%3D%2242.9589%22%20rx%3D%2210.2851%22%20fill%3D%22url%28%23paint0_linear_875_570%29%22%2F%3E%3Cpath%20d%3D%22M6.13672%2023.2959C7.30322%2023.3%208.4716%2023.2979%209.6381%2023.2959C11.5184%2029.4229%2013.4006%2035.552%2015.2696%2041.6831C14.1069%2041.6953%2012.9441%2041.6749%2011.7833%2041.6974C9.86351%2035.5785%208.00763%2029.4331%206.13672%2023.2959Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M17.6948%2023.2977C18.8651%2023.2977%2020.0353%2023.2936%2021.2075%2023.2977C19.5394%2028.7308%2017.8921%2034.1721%2016.2052%2039.599C15.5741%2037.7152%2015.0218%2035.8028%2014.4414%2033.9027C15.5403%2030.3718%2016.596%2026.8266%2017.6948%2023.2977Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.5477%2023.2949L23.6454%2023.3092C24.8983%2023.5337%2026.17%2023.4133%2027.4342%2023.5011C27.4905%2024.4277%2027.4868%2025.3584%2027.4173%2026.2829C26.1174%2026.3482%2024.8119%2026.2339%2023.5195%2026.4054C23.5778%2025.3686%2023.5458%2024.3317%2023.5477%2023.2949Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.5518%2041.6868C23.5593%2040.6194%2023.5292%2039.5499%2023.5743%2038.4805C24.8686%2038.5131%2026.1647%2038.4886%2027.4608%2038.4968C27.4608%2039.5601%2027.4626%2040.6235%2027.4664%2041.6889C26.1609%2041.6889%2024.8554%2041.6889%2023.5518%2041.6868Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.6454%2023.3102C27.1824%2023.2694%2030.7195%2023.2939%2034.2566%2023.3C34.2528%2024.3552%2034.2697%2025.4124%2034.2434%2026.4696C31.3563%2026.4635%2028.471%2026.4758%2025.5858%2026.4676C24.8964%2026.4574%2024.2033%2026.5166%2023.5195%2026.4064C24.8119%2026.2349%2026.1174%2026.3492%2027.4173%2026.2839C27.4868%2025.3593%2027.4905%2024.4287%2027.4342%2023.502C26.17%2023.4143%2024.8983%2023.5347%2023.6454%2023.3102Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M37.2069%2023.3033C38.7829%2023.291%2040.357%2023.291%2041.933%2023.3114C41.9368%2024.3544%2041.9255%2025.3994%2041.8935%2026.4423C40.3307%2026.4035%2038.7678%2026.4403%2037.205%2026.4199C37.2031%2025.381%2037.2012%2024.3421%2037.2069%2023.3033Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M37.2053%2038.5327C38.8752%2038.5163%2040.5433%2038.5612%2042.2132%2038.5C42.3447%2039.5531%2042.3371%2040.6206%2042.1869%2041.6696C40.5263%2041.7043%2038.8658%2041.6839%2037.2053%2041.686C37.2034%2040.6349%2037.2015%2039.5838%2037.2053%2038.5327Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M41.9281%2023.3115C43.3877%2023.3809%2044.8246%2023.7932%2046.1151%2024.5361L46.1132%2024.5729C45.9874%2026.075%2046.1452%2027.5874%2045.9554%2029.0855C45.112%2027.5119%2043.5473%2026.5506%2041.8887%2026.4424C41.9206%2025.3994%2041.9319%2024.3545%2041.9281%2023.3115Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M46.1094%2024.5732C48.1625%2025.7897%2049.4943%2028.1572%2049.8362%2030.639C50.1649%2033.0086%2049.9301%2035.566%2048.7561%2037.6396C48.1081%2038.8254%2047.1463%2039.7724%2046.0625%2040.4704C45.9892%2038.9744%2046.1752%2037.462%2045.9141%2035.9803C46.8608%2033.8332%2046.8195%2031.2493%2045.9516%2029.0858C46.1413%2027.5878%2045.9836%2026.0754%2046.1094%2024.5732Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.5449%2030.891C26.6443%2030.8869%2029.7437%2030.8849%2032.8431%2030.8889C32.8431%2031.9462%2032.8412%2033.0034%2032.845%2034.0606C29.7794%2034.0586%2026.7119%2034.0892%2023.6482%2034.0443C25.0232%2033.7851%2026.4245%2033.9402%2027.8127%2033.8463C27.8597%2032.9258%2027.854%2032.0033%2027.7977%2031.0828C26.3832%2031.0277%2024.9688%2031.0563%2023.5543%2031.0134L23.5449%2030.891Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.5525%2031.0137C24.967%2031.0565%2026.3814%2031.028%2027.7959%2031.0831C27.8522%2032.0035%2027.8579%2032.9261%2027.8109%2033.8466C26.4227%2033.9404%2025.0214%2033.7853%2023.6464%2034.0445L23.5469%2034.0588C23.5563%2033.0424%2023.5506%2032.028%2023.5525%2031.0137Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.2022%2038.4756C43.7162%2038.3185%2045.1287%2037.4061%2045.9139%2035.9795C46.175%2037.4612%2045.9891%2038.9736%2046.0623%2040.4697C44.8639%2041.1718%2043.5302%2041.5555%2042.1777%2041.6698C42.328%2040.6207%2042.3355%2039.5533%2042.204%2038.5001L42.2022%2038.4756Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M27.459%2038.496C28.7081%2038.494%2029.9573%2038.496%2031.2083%2038.496C31.2215%2039.5594%2031.2177%2040.6227%2031.1989%2041.6881C29.9535%2041.6881%2028.7081%2041.6881%2027.4646%2041.6881C27.4609%2040.6227%2027.459%2039.5594%2027.459%2038.496Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M31.2164%2038.4965C32.2308%2038.4944%2033.247%2038.4944%2034.2632%2038.4985C34.2632%2039.5619%2034.2632%2040.6232%2034.2632%2041.6865C33.2451%2041.6906%2032.2251%2041.6886%2031.207%2041.6886C31.2258%2040.6232%2031.2296%2039.5598%2031.2164%2038.4965Z%22%20fill%3D%22white%22%2F%3E%3Cellipse%20cx%3D%2239.5543%22%20cy%3D%2232.6579%22%20rx%3D%222.15589%22%20ry%3D%222.34246%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M58.1257%204.07113C58.3053%203.91439%2058.6085%204.03333%2058.6455%204.26568C59.0551%205.58264%2059.6734%206.86572%2060.6407%207.86604C61.2897%208.54657%2062.097%209.06327%2062.9721%209.40117C63.2494%209.48152%2063.247%209.92418%2062.9697%2010.0029C62.1293%2010.3267%2061.3511%2010.8158%2060.7178%2011.4577C59.6852%2012.4856%2059.0496%2013.8349%2058.6172%2015.2093C58.5195%2015.4937%2058.0572%2015.4417%2058.0138%2015.1455C57.5712%2013.723%2056.8828%2012.3352%2055.7824%2011.3065C55.1807%2010.7362%2054.4592%2010.303%2053.6881%2010.0029C53.4076%209.92654%2053.4053%209.47915%2053.6857%209.40039C54.842%208.96166%2055.8628%208.18346%2056.5913%207.18393C57.227%206.32618%2057.6712%205.34004%2057.9902%204.32476C58.0241%204.23575%2058.0446%204.13178%2058.1257%204.07113Z%22%20fill%3D%22url%28%23paint1_linear_875_570%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_875_570%22%20x1%3D%22-5.10998%22%20y1%3D%2230.8996%22%20x2%3D%2257.7403%22%20y2%3D%2232.9819%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220.0561277%22%20stop-color%3D%22%23A42783%22%2F%3E%3Cstop%20offset%3D%220.503827%22%20stop-color%3D%22%23E22432%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F59620%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_875_570%22%20x1%3D%2253.9149%22%20y1%3D%229.69863%22%20x2%3D%2262.682%22%20y2%3D%229.69863%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23B2256F%22%2F%3E%3Cstop%20offset%3D%220.415197%22%20stop-color%3D%22%23D52440%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F08123%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',Dn=Nt.div(kn||(kn=Pe(['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n vu-px-10\n vu-py-5\n vu-bg-[#E5D4FF]\n vu-gap-1\n vu-rounded-lg\n vu-text-dark_mode-600\n'],['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n vu-px-10\n vu-py-5\n vu-bg-[#E5D4FF]\n vu-gap-1\n vu-rounded-lg\n vu-text-dark_mode-600\n']))),Rn=Nt.p(Un||(Un=Pe(['\n vu-text-center\n vu-font-medium\n vu-m-0\n'],['\n vu-text-center\n vu-font-medium\n vu-m-0\n']))),Hn=Nt.p(Qn||(Qn=Pe(['\n vu-text-center\n vu-text-3xl\n vu-font-bold\n vu-m-0\n'],['\n vu-text-center\n vu-text-3xl\n vu-font-bold\n vu-m-0\n']))),zn='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{};function Kn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,'default')?e.default:e}function Vn(e){if(e.__esModule)return e;var t=e.default;if('function'==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,'__esModule',{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var qn,Gn={exports:{}},Wn={exports:{}},Yn={};var Xn,Jn,Zn,$n,er,tr,nr,rr,ir,or,sr,ar,Ar,lr,cr={};
|
|
1
|
+
import*as e from'react';import t,{useState as n,useEffect as r,useReducer as i,useRef as o,useCallback as s,isValidElement as a,cloneElement as A,useLayoutEffect as l,forwardRef as c,useContext as u,useMemo as d,memo as f,createContext as h,createElement as p,Component as g,Fragment as m,useImperativeHandle as v}from'react';import b,{unstable_batchedUpdates as y}from'react-dom';import{jsx as w,jsxs as B,Fragment as x}from'react/jsx-runtime';import{useLocation as C,useHistory as _}from'react-router-dom';function j(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&'undefined'!=typeof document){var r=document.head||document.getElementsByTagName('head')[0],i=document.createElement('style');i.type='text/css','top'===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}function F(e,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},F(e,t)}function E(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,F(e,t)}j('*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n .vu-css-ls *,\n .vu-css-ls ::before,\n .vu-css-ls ::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: #e5e7eb; /* 2 */\n }\n .vu-css-ls ::before,\n .vu-css-ls ::after {\n --tw-content: "";\n }\n html.vu-css-ls {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n }\n body.vu-css-ls {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n }\n hr.vu-css-ls {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n }\n .vu-css-ls abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1.vu-css-ls,\n h2.vu-css-ls,\n h3.vu-css-ls,\n h4.vu-css-ls,\n h5.vu-css-ls,\n h6.vu-css-ls {\n font-size: inherit;\n font-weight: inherit;\n }\n a.vu-css-ls {\n color: inherit;\n text-decoration: inherit;\n }\n b.vu-css-ls,\n strong.vu-css-ls {\n font-weight: bolder;\n }\n code.vu-css-ls,\n kbd.vu-css-ls,\n samp.vu-css-ls,\n pre.vu-css-ls {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */\n font-size: 1em; /* 2 */\n }\n small.vu-css-ls {\n font-size: 80%;\n }\n sub.vu-css-ls,\n sup.vu-css-ls {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub.vu-css-ls {\n bottom: -0.25em;\n }\n sup.vu-css-ls {\n top: -0.5em;\n }\n table.vu-css-ls {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n }\n button.vu-css-ls,\n input.vu-css-ls,\n optgroup.vu-css-ls,\n select.vu-css-ls,\n textarea.vu-css-ls {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n }\n button.vu-css-ls,\n select.vu-css-ls {\n text-transform: none;\n }\n button.vu-css-ls,\n .vu-css-ls [type="button"],\n .vu-css-ls [type="reset"],\n .vu-css-ls [type="submit"] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n }\n .vu-css-ls :-moz-focusring {\n outline: auto;\n }\n .vu-css-ls :-moz-ui-invalid {\n box-shadow: none;\n }\n progress.vu-css-ls {\n vertical-align: baseline;\n }\n .vu-css-ls ::-webkit-inner-spin-button,\n .vu-css-ls ::-webkit-outer-spin-button {\n height: auto;\n }\n .vu-css-ls [type="search"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n }\n .vu-css-ls ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n .vu-css-ls ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n }\n summary.vu-css-ls {\n display: list-item;\n }\n blockquote.vu-css-ls,\n dl.vu-css-ls,\n dd.vu-css-ls,\n h1.vu-css-ls,\n h2.vu-css-ls,\n h3.vu-css-ls,\n h4.vu-css-ls,\n h5.vu-css-ls,\n h6.vu-css-ls,\n hr.vu-css-ls,\n figure.vu-css-ls,\n p.vu-css-ls,\n pre.vu-css-ls {\n margin: 0;\n }\n fieldset.vu-css-ls {\n margin: 0;\n padding: 0;\n }\n legend.vu-css-ls {\n padding: 0;\n }\n ol.vu-css-ls,\n ul.vu-css-ls,\n menu.vu-css-ls {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n dialog.vu-css-ls {\n padding: 0;\n }\n textarea.vu-css-ls {\n resize: vertical;\n }\n input.vu-css-ls::-moz-placeholder, textarea.vu-css-ls::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n }\n input.vu-css-ls::placeholder,\n textarea.vu-css-ls::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n }\n button.vu-css-ls,\n .vu-css-ls [role="button"] {\n cursor: pointer;\n }\n .vu-css-ls :disabled {\n cursor: default;\n }\n img.vu-css-ls,\n svg.vu-css-ls,\n video.vu-css-ls,\n canvas.vu-css-ls,\n audio.vu-css-ls,\n iframe.vu-css-ls,\n embed.vu-css-ls,\n object.vu-css-ls {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n }\n img.vu-css-ls,\n video.vu-css-ls {\n max-width: 100%;\n height: auto;\n }\n .vu-css-ls [hidden] {\n display: none;\n }\n\n.vu-prose {\n color: var(--tw-prose-body);\n max-width: 65ch;\n}\n\n.vu-prose :where(p):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n\n.vu-prose :where([class~="lead"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-lead);\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n}\n\n.vu-prose :where(a):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-links);\n text-decoration: underline;\n font-weight: 500;\n}\n\n.vu-prose :where(strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-bold);\n font-weight: 600;\n}\n\n.vu-prose :where(a strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(blockquote strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(thead th strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(ol):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}\n\n.vu-prose :where(ol[type="A"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: upper-alpha;\n}\n\n.vu-prose :where(ol[type="a"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: lower-alpha;\n}\n\n.vu-prose :where(ol[type="A" s]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: upper-alpha;\n}\n\n.vu-prose :where(ol[type="a" s]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: lower-alpha;\n}\n\n.vu-prose :where(ol[type="I"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: upper-roman;\n}\n\n.vu-prose :where(ol[type="i"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: lower-roman;\n}\n\n.vu-prose :where(ol[type="I" s]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: upper-roman;\n}\n\n.vu-prose :where(ol[type="i" s]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: lower-roman;\n}\n\n.vu-prose :where(ol[type="1"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: decimal;\n}\n\n.vu-prose :where(ul):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-inline-start: 1.625em;\n}\n\n.vu-prose :where(ol > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::marker {\n font-weight: 400;\n color: var(--tw-prose-counters);\n}\n\n.vu-prose :where(ul > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::marker {\n color: var(--tw-prose-bullets);\n}\n\n.vu-prose :where(dt):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.25em;\n}\n\n.vu-prose :where(hr):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-color: var(--tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n}\n\n.vu-prose :where(blockquote):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 500;\n font-style: italic;\n color: var(--tw-prose-quotes);\n border-inline-start-width: 0.25rem;\n border-inline-start-color: var(--tw-prose-quote-borders);\n quotes: "\\201C""\\201D""\\2018""\\2019";\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-inline-start: 1em;\n}\n\n.vu-prose :where(blockquote p:first-of-type):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::before {\n content: open-quote;\n}\n\n.vu-prose :where(blockquote p:last-of-type):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::after {\n content: close-quote;\n}\n\n.vu-prose :where(h1):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 800;\n font-size: 2.25em;\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n}\n\n.vu-prose :where(h1 strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 900;\n color: inherit;\n}\n\n.vu-prose :where(h2):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 700;\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n}\n\n.vu-prose :where(h2 strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 800;\n color: inherit;\n}\n\n.vu-prose :where(h3):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n}\n\n.vu-prose :where(h3 strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 700;\n color: inherit;\n}\n\n.vu-prose :where(h4):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n}\n\n.vu-prose :where(h4 strong):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 700;\n color: inherit;\n}\n\n.vu-prose :where(img):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.vu-prose :where(picture):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n display: block;\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.vu-prose :where(video):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.vu-prose :where(kbd):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-weight: 500;\n font-family: inherit;\n color: var(--tw-prose-kbd);\n box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);\n font-size: 0.875em;\n border-radius: 0.3125rem;\n padding-top: 0.1875em;\n padding-inline-end: 0.375em;\n padding-bottom: 0.1875em;\n padding-inline-start: 0.375em;\n}\n\n.vu-prose :where(code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-code);\n font-weight: 600;\n font-size: 0.875em;\n}\n\n.vu-prose :where(code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::before {\n content: "`";\n}\n\n.vu-prose :where(code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::after {\n content: "`";\n}\n\n.vu-prose :where(a code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(h1 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(h2 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n font-size: 0.875em;\n}\n\n.vu-prose :where(h3 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n font-size: 0.9em;\n}\n\n.vu-prose :where(h4 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(blockquote code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(thead th code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: inherit;\n}\n\n.vu-prose :where(pre):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-pre-code);\n background-color: var(--tw-prose-pre-bg);\n overflow-x: auto;\n font-weight: 400;\n font-size: 0.875em;\n line-height: 1.7142857;\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n border-radius: 0.375rem;\n padding-top: 0.8571429em;\n padding-inline-end: 1.1428571em;\n padding-bottom: 0.8571429em;\n padding-inline-start: 1.1428571em;\n}\n\n.vu-prose :where(pre code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: inherit;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}\n\n.vu-prose :where(pre code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::before {\n content: none;\n}\n\n.vu-prose :where(pre code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *))::after {\n content: none;\n}\n\n.vu-prose :where(table):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n width: 100%;\n table-layout: auto;\n margin-top: 2em;\n margin-bottom: 2em;\n font-size: 0.875em;\n line-height: 1.7142857;\n}\n\n.vu-prose :where(thead):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-th-borders);\n}\n\n.vu-prose :where(thead th):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n vertical-align: bottom;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}\n\n.vu-prose :where(tbody tr):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-td-borders);\n}\n\n.vu-prose :where(tbody tr:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-bottom-width: 0;\n}\n\n.vu-prose :where(tbody td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n vertical-align: baseline;\n}\n\n.vu-prose :where(tfoot):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n border-top-width: 1px;\n border-top-color: var(--tw-prose-th-borders);\n}\n\n.vu-prose :where(tfoot td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n vertical-align: top;\n}\n\n.vu-prose :where(th, td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n text-align: start;\n}\n\n.vu-prose :where(figure > *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.vu-prose :where(figcaption):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n color: var(--tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n}\n\n.vu-prose {\n --tw-prose-body: #374151;\n --tw-prose-headings: #111827;\n --tw-prose-lead: #4b5563;\n --tw-prose-links: #111827;\n --tw-prose-bold: #111827;\n --tw-prose-counters: #6b7280;\n --tw-prose-bullets: #d1d5db;\n --tw-prose-hr: #e5e7eb;\n --tw-prose-quotes: #111827;\n --tw-prose-quote-borders: #e5e7eb;\n --tw-prose-captions: #6b7280;\n --tw-prose-kbd: #111827;\n --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);\n --tw-prose-code: #111827;\n --tw-prose-pre-code: #e5e7eb;\n --tw-prose-pre-bg: #1f2937;\n --tw-prose-th-borders: #d1d5db;\n --tw-prose-td-borders: #e5e7eb;\n --tw-prose-invert-body: #d1d5db;\n --tw-prose-invert-headings: #fff;\n --tw-prose-invert-lead: #9ca3af;\n --tw-prose-invert-links: #fff;\n --tw-prose-invert-bold: #fff;\n --tw-prose-invert-counters: #9ca3af;\n --tw-prose-invert-bullets: #4b5563;\n --tw-prose-invert-hr: #374151;\n --tw-prose-invert-quotes: #f3f4f6;\n --tw-prose-invert-quote-borders: #374151;\n --tw-prose-invert-captions: #9ca3af;\n --tw-prose-invert-kbd: #fff;\n --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);\n --tw-prose-invert-code: #fff;\n --tw-prose-invert-pre-code: #d1d5db;\n --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n --tw-prose-invert-th-borders: #4b5563;\n --tw-prose-invert-td-borders: #374151;\n font-size: 1rem;\n line-height: 1.75;\n}\n\n.vu-prose :where(picture > img):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.vu-prose :where(li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n}\n\n.vu-prose :where(ol > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0.375em;\n}\n\n.vu-prose :where(ul > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0.375em;\n}\n\n.vu-prose :where(.vu-prose > ul > li p):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n\n.vu-prose :where(.vu-prose > ul > li > p:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.25em;\n}\n\n.vu-prose :where(.vu-prose > ul > li > p:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 1.25em;\n}\n\n.vu-prose :where(.vu-prose > ol > li > p:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.25em;\n}\n\n.vu-prose :where(.vu-prose > ol > li > p:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 1.25em;\n}\n\n.vu-prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n\n.vu-prose :where(dl):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n\n.vu-prose :where(dd):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.5em;\n padding-inline-start: 1.625em;\n}\n\n.vu-prose :where(hr + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(h2 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(h3 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(h4 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(thead th:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0;\n}\n\n.vu-prose :where(thead th:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 0;\n}\n\n.vu-prose :where(tbody td, tfoot td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-top: 0.5714286em;\n padding-inline-end: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-inline-start: 0.5714286em;\n}\n\n.vu-prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0;\n}\n\n.vu-prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 0;\n}\n\n.vu-prose :where(figure):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.vu-prose :where(.vu-prose > :first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose :where(.vu-prose > :last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 0;\n}\n\n.vu-prose-sm {\n font-size: 0.875rem;\n line-height: 1.7142857;\n}\n\n.vu-prose-sm :where(p):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n margin-bottom: 1.1428571em;\n}\n\n.vu-prose-sm :where([class~="lead"]):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 1.2857143em;\n line-height: 1.5555556;\n margin-top: 0.8888889em;\n margin-bottom: 0.8888889em;\n}\n\n.vu-prose-sm :where(blockquote):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.3333333em;\n margin-bottom: 1.3333333em;\n padding-inline-start: 1.1111111em;\n}\n\n.vu-prose-sm :where(h1):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 2.1428571em;\n margin-top: 0;\n margin-bottom: 0.8em;\n line-height: 1.2;\n}\n\n.vu-prose-sm :where(h2):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 1.4285714em;\n margin-top: 1.6em;\n margin-bottom: 0.8em;\n line-height: 1.4;\n}\n\n.vu-prose-sm :where(h3):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 1.2857143em;\n margin-top: 1.5555556em;\n margin-bottom: 0.4444444em;\n line-height: 1.5555556;\n}\n\n.vu-prose-sm :where(h4):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.4285714em;\n margin-bottom: 0.5714286em;\n line-height: 1.4285714;\n}\n\n.vu-prose-sm :where(img):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n}\n\n.vu-prose-sm :where(picture):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n}\n\n.vu-prose-sm :where(picture > img):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.vu-prose-sm :where(video):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n}\n\n.vu-prose-sm :where(kbd):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n border-radius: 0.3125rem;\n padding-top: 0.1428571em;\n padding-inline-end: 0.3571429em;\n padding-bottom: 0.1428571em;\n padding-inline-start: 0.3571429em;\n}\n\n.vu-prose-sm :where(code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n}\n\n.vu-prose-sm :where(h2 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.9em;\n}\n\n.vu-prose-sm :where(h3 code):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8888889em;\n}\n\n.vu-prose-sm :where(pre):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n line-height: 1.6666667;\n margin-top: 1.6666667em;\n margin-bottom: 1.6666667em;\n border-radius: 0.25rem;\n padding-top: 0.6666667em;\n padding-inline-end: 1em;\n padding-bottom: 0.6666667em;\n padding-inline-start: 1em;\n}\n\n.vu-prose-sm :where(ol):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n margin-bottom: 1.1428571em;\n padding-inline-start: 1.5714286em;\n}\n\n.vu-prose-sm :where(ul):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n margin-bottom: 1.1428571em;\n padding-inline-start: 1.5714286em;\n}\n\n.vu-prose-sm :where(li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.2857143em;\n margin-bottom: 0.2857143em;\n}\n\n.vu-prose-sm :where(ol > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0.4285714em;\n}\n\n.vu-prose-sm :where(ul > li):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0.4285714em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ul > li p):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.5714286em;\n margin-bottom: 0.5714286em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ul > li > p:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ul > li > p:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 1.1428571em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ol > li > p:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > ol > li > p:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 1.1428571em;\n}\n\n.vu-prose-sm :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.5714286em;\n margin-bottom: 0.5714286em;\n}\n\n.vu-prose-sm :where(dl):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n margin-bottom: 1.1428571em;\n}\n\n.vu-prose-sm :where(dt):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.1428571em;\n}\n\n.vu-prose-sm :where(dd):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0.2857143em;\n padding-inline-start: 1.5714286em;\n}\n\n.vu-prose-sm :where(hr):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 2.8571429em;\n margin-bottom: 2.8571429em;\n}\n\n.vu-prose-sm :where(hr + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(h2 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(h3 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(h4 + *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(table):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n line-height: 1.5;\n}\n\n.vu-prose-sm :where(thead th):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 1em;\n padding-bottom: 0.6666667em;\n padding-inline-start: 1em;\n}\n\n.vu-prose-sm :where(thead th:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0;\n}\n\n.vu-prose-sm :where(thead th:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 0;\n}\n\n.vu-prose-sm :where(tbody td, tfoot td):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-top: 0.6666667em;\n padding-inline-end: 1em;\n padding-bottom: 0.6666667em;\n padding-inline-start: 1em;\n}\n\n.vu-prose-sm :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-start: 0;\n}\n\n.vu-prose-sm :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n padding-inline-end: 0;\n}\n\n.vu-prose-sm :where(figure):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n}\n\n.vu-prose-sm :where(figure > *):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.vu-prose-sm :where(figcaption):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n font-size: 0.8571429em;\n line-height: 1.3333333;\n margin-top: 0.6666667em;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > :first-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-top: 0;\n}\n\n.vu-prose-sm :where(.vu-prose-sm > :last-child):not(:where([class~="vu-not-prose"],[class~="vu-not-prose"] *)) {\n margin-bottom: 0;\n}\n.vu-fixed {\n position: fixed;\n}\n.vu-absolute {\n position: absolute;\n}\n.vu-relative {\n position: relative;\n}\n.vu-inset-0 {\n inset: 0px;\n}\n.-vu-right-8 {\n right: -2rem;\n}\n.vu-bottom-20 {\n bottom: 5rem;\n}\n.vu-bottom-24 {\n bottom: 6rem;\n}\n.vu-bottom-3 {\n bottom: 0.75rem;\n}\n.vu-right-2 {\n right: 0.5rem;\n}\n.vu-right-5 {\n right: 1.25rem;\n}\n.vu-isolate {\n isolation: isolate;\n}\n.vu-z-10 {\n z-index: 10;\n}\n.vu-z-\\[1001\\] {\n z-index: 1001;\n}\n.vu-m-0 {\n margin: 0px;\n}\n.vu-m-6 {\n margin: 1.5rem;\n}\n.vu-mx-3\\.5 {\n margin-left: 0.875rem;\n margin-right: 0.875rem;\n}\n.vu-mx-4 {\n margin-left: 1rem;\n margin-right: 1rem;\n}\n.vu-my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.vu-my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n.vu-my-5 {\n margin-top: 1.25rem;\n margin-bottom: 1.25rem;\n}\n.vu-mb-10 {\n margin-bottom: 2.5rem;\n}\n.vu-mb-4 {\n margin-bottom: 1rem;\n}\n.vu-ml-1 {\n margin-left: 0.25rem;\n}\n.vu-mr-1 {\n margin-right: 0.25rem;\n}\n.vu-mr-2 {\n margin-right: 0.5rem;\n}\n.vu-mt-0 {\n margin-top: 0px;\n}\n.vu-mt-3 {\n margin-top: 0.75rem;\n}\n.vu-mt-4 {\n margin-top: 1rem;\n}\n.vu-mt-6 {\n margin-top: 1.5rem;\n}\n.vu-inline-block {\n display: inline-block;\n}\n.vu-inline {\n display: inline;\n}\n.vu-flex {\n display: flex;\n}\n.vu-inline-flex {\n display: inline-flex;\n}\n.vu-grid {\n display: grid;\n}\n.vu-hidden {\n display: none;\n}\n.vu-h-10 {\n height: 2.5rem;\n}\n.vu-h-3 {\n height: 0.75rem;\n}\n.vu-h-32 {\n height: 8rem;\n}\n.vu-h-80 {\n height: 20rem;\n}\n.vu-h-fit {\n height: -moz-fit-content;\n height: fit-content;\n}\n.vu-h-full {\n height: 100%;\n}\n.vu-max-h-0 {\n max-height: 0px;\n}\n.vu-max-h-52 {\n max-height: 13rem;\n}\n.vu-w-3 {\n width: 0.75rem;\n}\n.vu-w-4\\/5 {\n width: 80%;\n}\n.vu-w-\\[440px\\] {\n width: 440px;\n}\n.vu-w-full {\n width: 100%;\n}\n.vu-min-w-\\[20rem\\] {\n min-width: 20rem;\n}\n.vu-grow {\n flex-grow: 1;\n}\n.vu-grow-0 {\n flex-grow: 0;\n}\n.-vu-rotate-45 {\n --tw-rotate: -45deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.vu-rotate-0 {\n --tw-rotate: 0deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.vu-cursor-not-allowed {\n cursor: not-allowed;\n}\n.vu-cursor-pointer {\n cursor: pointer;\n}\n.vu-resize-none {\n resize: none;\n}\n.vu-resize-y {\n resize: vertical;\n}\n.vu-list-disc {\n list-style-type: disc;\n}\n.vu-grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n.vu-flex-col {\n flex-direction: column;\n}\n.vu-items-center {\n align-items: center;\n}\n.vu-justify-end {\n justify-content: flex-end;\n}\n.vu-justify-center {\n justify-content: center;\n}\n.vu-justify-between {\n justify-content: space-between;\n}\n.vu-gap-1 {\n gap: 0.25rem;\n}\n.vu-gap-2 {\n gap: 0.5rem;\n}\n.vu-gap-3\\.5 {\n gap: 0.875rem;\n}\n.vu-gap-4 {\n gap: 1rem;\n}\n.vu-gap-x-3 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.vu-gap-x-8 {\n -moz-column-gap: 2rem;\n column-gap: 2rem;\n}\n.vu-gap-y-5 {\n row-gap: 1.25rem;\n}\n.vu-self-center {\n align-self: center;\n}\n.vu-overflow-hidden {\n overflow: hidden;\n}\n.vu-overflow-y-auto {\n overflow-y: auto;\n}\n.vu-overflow-x-hidden {\n overflow-x: hidden;\n}\n.vu-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.vu-break-words {\n overflow-wrap: break-word;\n}\n.vu-rounded-lg {\n border-radius: 0.5rem;\n}\n.vu-rounded-md {\n border-radius: 0.375rem;\n}\n.vu-border {\n border-width: 1px;\n}\n.vu-border-0 {\n border-width: 0px;\n}\n.vu-border-2 {\n border-width: 2px;\n}\n.vu-border-l {\n border-left-width: 1px;\n}\n.vu-border-solid {\n border-style: solid;\n}\n.vu-border-black {\n --tw-border-opacity: 1;\n border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));\n}\n.vu-border-black\\/20 {\n border-color: rgb(0 0 0 / 0.2);\n}\n.vu-border-gainsboro {\n --tw-border-opacity: 1;\n border-color: rgb(216 222 228 / var(--tw-border-opacity, 1));\n}\n.vu-border-light_pink {\n --tw-border-opacity: 1;\n border-color: rgb(255 178 184 / var(--tw-border-opacity, 1));\n}\n.vu-bg-\\[\\#E5D4FF\\] {\n --tw-bg-opacity: 1;\n background-color: rgb(229 212 255 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-alice_blue {\n --tw-bg-opacity: 1;\n background-color: rgb(243 246 252 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-black\\/75 {\n background-color: rgb(0 0 0 / 0.75);\n}\n.vu-bg-gainsboro {\n --tw-bg-opacity: 1;\n background-color: rgb(216 222 228 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-lavender_blush {\n --tw-bg-opacity: 1;\n background-color: rgb(254 242 243 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-primary {\n --tw-bg-opacity: 1;\n background-color: rgb(17 51 154 / var(--tw-bg-opacity, 1));\n}\n.vu-bg-transparent {\n background-color: transparent;\n}\n.vu-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n.vu-fill-black {\n fill: #000;\n}\n.vu-fill-green-500 {\n fill: #22c55e;\n}\n.vu-fill-rose-500 {\n fill: #f43f5e;\n}\n.vu-fill-slate-350 {\n fill: #ADB5C2;\n}\n.vu-fill-white {\n fill: #FFF;\n}\n.vu-p-0 {\n padding: 0px;\n}\n.vu-p-1 {\n padding: 0.25rem;\n}\n.vu-p-1\\.5 {\n padding: 0.375rem;\n}\n.vu-p-2 {\n padding: 0.5rem;\n}\n.vu-p-4 {\n padding: 1rem;\n}\n.vu-p-6 {\n padding: 1.5rem;\n}\n.vu-p-8 {\n padding: 2rem;\n}\n.vu-px-10 {\n padding-left: 2.5rem;\n padding-right: 2.5rem;\n}\n.vu-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.vu-px-20 {\n padding-left: 5rem;\n padding-right: 5rem;\n}\n.vu-px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.vu-px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.vu-py-10 {\n padding-top: 2.5rem;\n padding-bottom: 2.5rem;\n}\n.vu-py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.vu-py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n.vu-py-5 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.vu-pb-0\\.5 {\n padding-bottom: 0.125rem;\n}\n.vu-pl-1 {\n padding-left: 0.25rem;\n}\n.vu-pl-10 {\n padding-left: 2.5rem;\n}\n.vu-pl-7 {\n padding-left: 1.75rem;\n}\n.vu-pr-10 {\n padding-right: 2.5rem;\n}\n.vu-pt-2 {\n padding-top: 0.5rem;\n}\n.vu-pt-\\[6px\\] {\n padding-top: 6px;\n}\n.vu-text-left {\n text-align: left;\n}\n.vu-text-center {\n text-align: center;\n}\n.vu-text-start {\n text-align: start;\n}\n.vu-align-middle {\n vertical-align: middle;\n}\n.vu-text-2xl {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n.vu-text-3xl {\n font-size: 1.875rem;\n line-height: 2.25rem;\n}\n.vu-text-\\[68px\\] {\n font-size: 68px;\n}\n.vu-text-lg {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n.vu-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n.vu-text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n.vu-text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n.vu-font-bold {\n font-weight: 700;\n}\n.vu-font-medium {\n font-weight: 500;\n}\n.vu-font-normal {\n font-weight: 400;\n}\n.vu-font-semibold {\n font-weight: 600;\n}\n.vu-text-black {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity, 1));\n}\n.vu-text-blue-600 {\n --tw-text-opacity: 1;\n color: rgb(37 99 235 / var(--tw-text-opacity, 1));\n}\n.vu-text-dark_mode-600 {\n --tw-text-opacity: 1;\n color: rgb(18 27 55 / var(--tw-text-opacity, 1));\n}\n.vu-text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n.vu-text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n.vu-underline {\n text-decoration-line: underline;\n}\n.vu-opacity-0 {\n opacity: 0;\n}\n.vu-opacity-100 {\n opacity: 1;\n}\n.vu-opacity-20 {\n opacity: 0.2;\n}\n.vu-opacity-25 {\n opacity: 0.25;\n}\n.vu-opacity-60 {\n opacity: 0.6;\n}\n.vu-transition-\\[max-height\\,opacity\\] {\n transition-property: max-height,opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.vu-transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.vu-duration-300 {\n transition-duration: 300ms;\n}\n.vu-ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/*PDF Export Fix*/\n.pdf-container {\n width: 635px !important;\n}\n\n/* Hide elements only during PDF capture */\n.pdf-container .hide-in-pdf {\n display: none !important;\n}\n\n.pdf-overlay {\n position: fixed;\n inset: 0;\n background: rgba(255, 255, 255, 0.8);\n backdrop-filter: blur(4px);\n z-index: 9999;\n opacity: 0;\n animation: fadeIn 0.15s forwards;\n}\n\n@keyframes fadeIn {\n to {\n opacity: 1;\n }\n}\n\n.pdf-overlay.fade-out {\n animation: fadeOut 0.15s forwards;\n}\n\n@keyframes fadeOut {\n to {\n opacity: 0;\n }\n}\n\n.dark\\:vu-prose-invert:is(.vu-dark *) {\n --tw-prose-body: var(--tw-prose-invert-body);\n --tw-prose-headings: var(--tw-prose-invert-headings);\n --tw-prose-lead: var(--tw-prose-invert-lead);\n --tw-prose-links: var(--tw-prose-invert-links);\n --tw-prose-bold: var(--tw-prose-invert-bold);\n --tw-prose-counters: var(--tw-prose-invert-counters);\n --tw-prose-bullets: var(--tw-prose-invert-bullets);\n --tw-prose-hr: var(--tw-prose-invert-hr);\n --tw-prose-quotes: var(--tw-prose-invert-quotes);\n --tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);\n --tw-prose-captions: var(--tw-prose-invert-captions);\n --tw-prose-kbd: var(--tw-prose-invert-kbd);\n --tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);\n --tw-prose-code: var(--tw-prose-invert-code);\n --tw-prose-pre-code: var(--tw-prose-invert-pre-code);\n --tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);\n --tw-prose-th-borders: var(--tw-prose-invert-th-borders);\n --tw-prose-td-borders: var(--tw-prose-invert-td-borders);\n}\n\n.focus\\:vu-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:vu-ring-0:focus {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.dark\\:vu-border-dark_mode-100:is(.vu-dark *) {\n --tw-border-opacity: 1;\n border-color: rgb(75 81 104 / var(--tw-border-opacity, 1));\n}\n\n.dark\\:vu-border-dark_mode-200:is(.vu-dark *) {\n --tw-border-opacity: 1;\n border-color: rgb(50 56 78 / var(--tw-border-opacity, 1));\n}\n\n.dark\\:vu-bg-dark_mode-500:is(.vu-dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(26 36 68 / var(--tw-bg-opacity, 1));\n}\n\n.dark\\:vu-bg-dark_mode-600:is(.vu-dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(18 27 55 / var(--tw-bg-opacity, 1));\n}\n\n.dark\\:vu-bg-dark_mode-700:is(.vu-dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(11 19 43 / var(--tw-bg-opacity, 1));\n}\n\n.dark\\:vu-fill-slate-250:is(.vu-dark *) {\n fill: #CCCCDC;\n}\n\n.dark\\:vu-fill-slate-450:is(.vu-dark *) {\n fill: #7B7E92;\n}\n\n.dark\\:vu-text-slate-250:is(.vu-dark *) {\n --tw-text-opacity: 1;\n color: rgb(204 204 220 / var(--tw-text-opacity, 1));\n}\n\n.dark\\:vu-text-slate-450:is(.vu-dark *) {\n --tw-text-opacity: 1;\n color: rgb(123 126 146 / var(--tw-text-opacity, 1));\n}\n\n@media (min-width: 640px) {\n .sm\\:vu-flex {\n display: flex;\n }\n}\n\n@media (min-width: 1024px) {\n .lg\\:vu-relative {\n position: relative;\n }\n .lg\\:vu-flex {\n display: flex;\n }\n .lg\\:vu-hidden {\n display: none;\n }\n .lg\\:vu-w-80 {\n width: 20rem;\n }\n .lg\\:vu-p-0 {\n padding: 0px;\n }\n .lg\\:vu-px-\\[7\\.5rem\\] {\n padding-left: 7.5rem;\n padding-right: 7.5rem;\n }\n .lg\\:vu-pl-\\[7\\.5rem\\] {\n padding-left: 7.5rem;\n }\n .lg\\:vu-pr-6 {\n padding-right: 1.5rem;\n }\n .lg\\:vu-pr-\\[8rem\\] {\n padding-right: 8rem;\n }\n}\n');var S=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter(function(e){return e!==n}),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(null,arguments)}var U='undefined'==typeof window;function Q(){}function L(e){return'number'==typeof e&&e>=0&&e!==1/0}function O(e){return Array.isArray(e)?e:[e]}function I(e,t){return Math.max(e+(t||0)-Date.now(),0)}function N(e,t,n){return G(e)?'function'==typeof t?k({},n,{queryKey:e,queryFn:t}):k({},t,{queryKey:e}):e}function T(e,t,n){return G(e)?[k({},t,{queryKey:e}),n]:[e||{},t]}function M(e,t){var n=e.active,r=e.exact,i=e.fetching,o=e.inactive,s=e.predicate,a=e.queryKey,A=e.stale;if(G(a))if(r){if(t.queryHash!==D(a,t.options))return!1}else if(!H(t.queryKey,a))return!1;var l=function(e,t){return!0===e&&!0===t||null==e&&null==t?'all':!1===e&&!1===t?'none':(null!=e?e:!t)?'active':'inactive'}(n,o);if('none'===l)return!1;if('all'!==l){var c=t.isActive();if('active'===l&&!c)return!1;if('inactive'===l&&c)return!1}return('boolean'!=typeof A||t.isStale()===A)&&(('boolean'!=typeof i||t.isFetching()===i)&&!(s&&!s(t)))}function P(e,t){var n=e.exact,r=e.fetching,i=e.predicate,o=e.mutationKey;if(G(o)){if(!t.options.mutationKey)return!1;if(n){if(R(t.options.mutationKey)!==R(o))return!1}else if(!H(t.options.mutationKey,o))return!1}return('boolean'!=typeof r||'loading'===t.state.status===r)&&!(i&&!i(t))}function D(e,t){return((null==t?void 0:t.queryKeyHashFn)||R)(e)}function R(e){var t,n=O(e);return t=n,JSON.stringify(t,function(e,t){return V(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t})}function H(e,t){return z(O(e),O(t))}function z(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||'object'!=typeof e||'object'!=typeof t)&&!Object.keys(t).some(function(n){return!z(e[n],t[n])}))}function K(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||V(e)&&V(t)){for(var r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,s=n?[]:{},a=0,A=0;A<o;A++){var l=n?A:i[A];s[l]=K(e[l],t[l]),s[l]===e[l]&&a++}return r===o&&a===r?e:s}return t}function V(e){if(!q(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!q(n)&&!!n.hasOwnProperty('isPrototypeOf')}function q(e){return'[object Object]'===Object.prototype.toString.call(e)}function G(e){return'string'==typeof e||Array.isArray(e)}function W(e){Promise.resolve().then(e).catch(function(e){return setTimeout(function(){throw e})})}function Y(){if('function'==typeof AbortController)return new AbortController}var X=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!U&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener('visibilitychange',n,!1),window.addEventListener('focus',n,!1),function(){window.removeEventListener('visibilitychange',n),window.removeEventListener('focus',n)}}},t}E(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){'boolean'==typeof e?n.setFocused(e):n.onFocus()})},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(e){e()})},n.isFocused=function(){return'boolean'==typeof this.focused?this.focused:'undefined'==typeof document||[void 0,'visible','prerender'].includes(document.visibilityState)},t}(S)),J=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!U&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener('online',n,!1),window.addEventListener('offline',n,!1),function(){window.removeEventListener('online',n),window.removeEventListener('offline',n)}}},t}E(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){'boolean'==typeof e?n.setOnline(e):n.onOnline()})},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(e){e()})},n.isOnline=function(){return'boolean'==typeof this.online?this.online:'undefined'==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(S));function Z(e){return Math.min(1e3*Math.pow(2,e),3e4)}function $(e){return'function'==typeof(null==e?void 0:e.cancel)}var ee=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function te(e){return e instanceof ee}var ne=function(e){var t,n,r,i,o=this,s=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){s=!0},this.continueRetry=function(){s=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(e,t){r=e,i=t});var a=function(t){o.isResolved||(o.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},A=function(t){o.isResolved||(o.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),i(t))};!function r(){if(!o.isResolved){var i;try{i=e.fn()}catch(e){i=Promise.reject(e)}t=function(e){if(!o.isResolved&&(A(new ee(e)),null==o.abort||o.abort(),$(i)))try{i.cancel()}catch(e){}},o.isTransportCancelable=$(i),Promise.resolve(i).then(a).catch(function(t){var i,a;if(!o.isResolved){var l,c=null!=(i=e.retry)?i:3,u=null!=(a=e.retryDelay)?a:Z,d='function'==typeof u?u(o.failureCount,t):u,f=!0===c||'number'==typeof c&&o.failureCount<c||'function'==typeof c&&c(o.failureCount,t);if(!s&&f)o.failureCount++,null==e.onFail||e.onFail(o.failureCount,t),(l=d,new Promise(function(e){setTimeout(e,l)})).then(function(){if(!X.isFocused()||!J.isOnline())return new Promise(function(t){n=t,o.isPaused=!0,null==e.onPause||e.onPause()}).then(function(){n=void 0,o.isPaused=!1,null==e.onContinue||e.onContinue()})}).then(function(){s?A(t):r()});else A(t)}})}}()},re=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):W(function(){t.notifyFn(e)})},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.schedule(function(){e.apply(void 0,r)})}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&W(function(){e.batchNotifyFn(function(){t.forEach(function(t){e.notifyFn(t)})})})},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),ie=new re,oe=console;function se(){return oe}var ae=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=k({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),L(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){e.optionalRemove()},this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,i=this.state.data,o=function(e,t){return'function'==typeof e?e(t):e}(e,i);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,i,o))?o=i:!1!==this.options.structuralSharing&&(o=K(i,o)),this.dispatch({data:o,type:'success',dataUpdatedAt:null==t?void 0:t.updatedAt}),o},t.setState=function(e,t){this.dispatch({type:'setState',state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Q).catch(Q):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some(function(e){return!1!==e.options.enabled})},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(e){return e.getCurrentResult().isStale})},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!I(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnWindowFocus()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnReconnect()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:'observerAdded',query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter(function(t){return t!==e}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:'observerRemoved',query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:'invalidate'})},t.fetch=function(e,t){var n,r,i,o=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var s;return null==(s=this.retryer)||s.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var a=this.observers.find(function(e){return e.options.queryFn});a&&this.setOptions(a.options)}var A=O(this.queryKey),l=Y(),c={queryKey:A,pageParam:void 0,meta:this.meta};Object.defineProperty(c,'signal',{enumerable:!0,get:function(){if(l)return o.abortSignalConsumed=!0,l.signal}});var u,d,f={fetchOptions:t,options:this.options,queryKey:A,state:this.state,fetchFn:function(){return o.options.queryFn?(o.abortSignalConsumed=!1,o.options.queryFn(c)):Promise.reject('Missing queryFn')},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(u=this.options.behavior)||u.onFetch(f));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=f.fetchOptions)?void 0:r.meta))||this.dispatch({type:'fetch',meta:null==(d=f.fetchOptions)?void 0:d.meta});return this.retryer=new ne({fn:f.fetchFn,abort:null==l||null==(i=l.abort)?void 0:i.bind(l),onSuccess:function(e){o.setData(e),null==o.cache.config.onSuccess||o.cache.config.onSuccess(e,o),0===o.cacheTime&&o.optionalRemove()},onError:function(e){te(e)&&e.silent||o.dispatch({type:'error',error:e}),te(e)||(null==o.cache.config.onError||o.cache.config.onError(e,o),se().error(e)),0===o.cacheTime&&o.optionalRemove()},onFail:function(){o.dispatch({type:'failed'})},onPause:function(){o.dispatch({type:'pause'})},onContinue:function(){o.dispatch({type:'continue'})},retry:f.options.retry,retryDelay:f.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),ie.batch(function(){t.observers.forEach(function(t){t.onQueryUpdate(e)}),t.cache.notify({query:t,type:'queryUpdated',action:e})})},t.getDefaultState=function(e){var t='function'==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?'function'==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?'success':'idle'}},t.reducer=function(e,t){var n,r;switch(t.type){case'failed':return k({},e,{fetchFailureCount:e.fetchFailureCount+1});case'pause':return k({},e,{isPaused:!0});case'continue':return k({},e,{isPaused:!1});case'fetch':return k({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:'loading'});case'success':return k({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:'success'});case'error':var i=t.error;return te(i)&&i.revert&&this.revertState?k({},this.revertState):k({},e,{error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:'error'});case'invalidate':return k({},e,{isInvalidated:!0});case'setState':return k({},e,t.state);default:return e}},e}(),Ae=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}E(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,i=t.queryKey,o=null!=(r=t.queryHash)?r:D(i,t),s=this.get(o);return s||(s=new ae({cache:this,queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i),meta:t.meta}),this.add(s)),s},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:'queryAdded',query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(function(t){return t!==e}),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:'queryRemoved',query:e}))},n.clear=function(){var e=this;ie.batch(function(){e.queries.forEach(function(t){e.remove(t)})})},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=T(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find(function(e){return M(n,e)})},n.findAll=function(e,t){var n=T(e,t)[0];return Object.keys(n).length>0?this.queries.filter(function(e){return M(n,e)}):this.queries},n.notify=function(e){var t=this;ie.batch(function(){t.listeners.forEach(function(t){t(e)})})},n.onFocus=function(){var e=this;ie.batch(function(){e.queries.forEach(function(e){e.onFocus()})})},n.onOnline=function(){var e=this;ie.batch(function(){e.queries.forEach(function(e){e.onOnline()})})},t}(S),le=function(){function e(e){this.options=k({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||ce(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:'setState',state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter(function(t){return t!==e})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(Q).catch(Q)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n='loading'===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:'loading',variables:this.options.variables}),r=r.then(function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)}).then(function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)}).then(function(e){e!==t.state.context&&t.dispatch({type:'loading',context:e,variables:t.state.variables})})),r.then(function(){return t.executeMutation()}).then(function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)}).then(function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)}).then(function(){return t.dispatch({type:'success',data:e}),e}).catch(function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),se().error(e),Promise.resolve().then(function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)}).then(function(){throw t.dispatch({type:'error',error:e}),e})})},t.executeMutation=function(){var e,t=this;return this.retryer=new ne({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject('No mutationFn found')},onFail:function(){t.dispatch({type:'failed'})},onPause:function(){t.dispatch({type:'pause'})},onContinue:function(){t.dispatch({type:'continue'})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case'failed':return k({},e,{failureCount:e.failureCount+1});case'pause':return k({},e,{isPaused:!0});case'continue':return k({},e,{isPaused:!1});case'loading':return k({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:'loading',variables:t.variables});case'success':return k({},e,{data:t.data,error:null,status:'success',isPaused:!1});case'error':return k({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:'error'});case'setState':return k({},e,t.state);default:return e}}(this.state,e),ie.batch(function(){t.observers.forEach(function(t){t.onMutationUpdate(e)}),t.mutationCache.notify(t)})},e}();function ce(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:'idle',variables:void 0}}var ue=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}E(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new le({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter(function(t){return t!==e}),e.cancel(),this.notify(e)},n.clear=function(){var e=this;ie.batch(function(){e.mutations.forEach(function(t){e.remove(t)})})},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(function(t){return P(e,t)})},n.findAll=function(e){return this.mutations.filter(function(t){return P(e,t)})},n.notify=function(e){var t=this;ie.batch(function(){t.listeners.forEach(function(t){t(e)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter(function(e){return e.state.isPaused});return ie.batch(function(){return e.reduce(function(e,t){return e.then(function(){return t.continue().catch(Q)})},Promise.resolve())})},t}(S);function de(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var fe=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new Ae,this.mutationCache=e.mutationCache||new ue,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=X.subscribe(function(){X.isFocused()&&J.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())}),this.unsubscribeOnline=J.subscribe(function(){X.isFocused()&&J.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())})},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=T(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(k({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map(function(e){return[e.queryKey,e.state.data]})},t.setQueryData=function(e,t,n){var r=N(e),i=this.defaultQueryOptions(r);return this.queryCache.build(this,i).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return ie.batch(function(){return r.getQueryCache().findAll(e).map(function(e){var i=e.queryKey;return[i,r.setQueryData(i,t,n)]})})},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=T(e,t)[0],r=this.queryCache;ie.batch(function(){r.findAll(n).forEach(function(e){r.remove(e)})})},t.resetQueries=function(e,t,n){var r=this,i=T(e,t,n),o=i[0],s=i[1],a=this.queryCache,A=k({},o,{active:!0});return ie.batch(function(){return a.findAll(o).forEach(function(e){e.reset()}),r.refetchQueries(A,s)})},t.cancelQueries=function(e,t,n){var r=this,i=T(e,t,n),o=i[0],s=i[1],a=void 0===s?{}:s;void 0===a.revert&&(a.revert=!0);var A=ie.batch(function(){return r.queryCache.findAll(o).map(function(e){return e.cancel(a)})});return Promise.all(A).then(Q).catch(Q)},t.invalidateQueries=function(e,t,n){var r,i,o,s=this,a=T(e,t,n),A=a[0],l=a[1],c=k({},A,{active:null==(r=null!=(i=A.refetchActive)?i:A.active)||r,inactive:null!=(o=A.refetchInactive)&&o});return ie.batch(function(){return s.queryCache.findAll(A).forEach(function(e){e.invalidate()}),s.refetchQueries(c,l)})},t.refetchQueries=function(e,t,n){var r=this,i=T(e,t,n),o=i[0],s=i[1],a=ie.batch(function(){return r.queryCache.findAll(o).map(function(e){return e.fetch(void 0,k({},s,{meta:{refetchPage:null==o?void 0:o.refetchPage}}))})}),A=Promise.all(a).then(Q);return(null==s?void 0:s.throwOnError)||(A=A.catch(Q)),A},t.fetchQuery=function(e,t,n){var r=N(e,t,n),i=this.defaultQueryOptions(r);void 0===i.retry&&(i.retry=!1);var o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(Q).catch(Q)},t.fetchInfiniteQuery=function(e,t,n){var r=N(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,i,o,s,a,A,l,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,u=null==(r=e.fetchOptions)||null==(i=r.meta)?void 0:i.fetchMore,d=null==u?void 0:u.pageParam,f='forward'===(null==u?void 0:u.direction),h='backward'===(null==u?void 0:u.direction),p=(null==(o=e.state.data)?void 0:o.pages)||[],g=(null==(s=e.state.data)?void 0:s.pageParams)||[],m=Y(),v=null==m?void 0:m.signal,b=g,y=!1,w=e.options.queryFn||function(){return Promise.reject('Missing queryFn')},B=function(e,t,n,r){return b=r?[t].concat(b):[].concat(b,[t]),r?[n].concat(e):[].concat(e,[n])},x=function(t,n,r,i){if(y)return Promise.reject('Cancelled');if(void 0===r&&!n&&t.length)return Promise.resolve(t);var o={queryKey:e.queryKey,signal:v,pageParam:r,meta:e.meta},s=w(o),a=Promise.resolve(s).then(function(e){return B(t,r,e,i)});return $(s)&&(a.cancel=s.cancel),a};if(p.length)if(f){var C=void 0!==d,_=C?d:de(e.options,p);a=x(p,C,_)}else if(h){var j=void 0!==d,F=j?d:(A=e.options,l=p,null==A.getPreviousPageParam?void 0:A.getPreviousPageParam(l[0],l));a=x(p,j,F,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,n=!c||!p[0]||c(p[0],0,p);a=n?x([],t,g[0]):Promise.resolve(B([],g[0],p[0]));for(var r=function(n){a=a.then(function(r){if(!c||!p[n]||c(p[n],n,p)){var i=t?g[n]:de(e.options,r);return x(r,t,i)}return Promise.resolve(B(r,g[n],p[n]))})},i=1;i<p.length;i++)r(i)}();else a=x([]);var E=a.then(function(e){return{pages:e,pageParams:b}});return E.cancel=function(){y=!0,null==m||m.abort(),$(a)&&a.cancel()},E}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Q).catch(Q)},t.cancelMutations=function(){var e=this,t=ie.batch(function(){return e.mutationCache.getAll().map(function(e){return e.cancel()})});return Promise.all(t).then(Q).catch(Q)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find(function(t){return R(e)===R(t.queryKey)});n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find(function(t){return H(e,t.queryKey)}))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find(function(t){return R(e)===R(t.mutationKey)});n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find(function(t){return H(e,t.mutationKey)}))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=k({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=D(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:k({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),he=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}E(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),pe(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return ge(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return ge(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&'boolean'!=typeof this.options.enabled)throw new Error('Expected enabled to be a boolean');this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&me(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},i=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach(function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return i(t),e[t]}})}),(t.useErrorBoundary||t.suspense)&&i('error'),r},n.getNextResult=function(e){var t=this;return new Promise(function(n,r){var i=t.subscribe(function(t){t.isFetching||(i(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch(k({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then(function(){return t.createResult(r,n)})},n.fetch=function(e){var t=this;return this.executeFetch(e).then(function(){return t.updateResult(),t.currentResult})},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(Q)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!U&&!this.currentResult.isStale&&L(this.options.staleTime)){var t=I(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(function(){e.currentResult.isStale||e.updateResult()},t)}},n.computeRefetchInterval=function(){var e;return'function'==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!U&&!1!==this.options.enabled&&L(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(function(){(t.options.refetchIntervalInBackground||X.isFocused())&&t.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,a=this.currentResultOptions,A=e!==r,l=A?e.state:this.currentQueryInitialState,c=A?this.currentResult:this.previousQueryResult,u=e.state,d=u.dataUpdatedAt,f=u.error,h=u.errorUpdatedAt,p=u.isFetching,g=u.status,m=!1,v=!1;if(t.optimisticResults){var b=this.hasListeners(),y=!b&&pe(e,t),w=b&&me(e,r,t,i);(y||w)&&(p=!0,d||(g='loading'))}if(t.keepPreviousData&&!u.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&'error'!==g)n=c.data,d=c.dataUpdatedAt,g=c.status,m=!0;else if(t.select&&void 0!==u.data)if(o&&u.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(u.data),!1!==t.structuralSharing&&(n=K(null==o?void 0:o.data,n)),this.selectResult=n,this.selectError=null}catch(e){se().error(e),this.selectError=e}else n=u.data;if(void 0!==t.placeholderData&&void 0===n&&('loading'===g||'idle'===g)){var B;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==a?void 0:a.placeholderData))B=o.data;else if(B='function'==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==B)try{B=t.select(B),!1!==t.structuralSharing&&(B=K(null==o?void 0:o.data,B)),this.selectError=null}catch(e){se().error(e),this.selectError=e}void 0!==B&&(g='success',n=B,v=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),g='error'),{status:g,isLoading:'loading'===g,isSuccess:'success'===g,isError:'error'===g,isIdle:'idle'===g,data:n,dataUpdatedAt:d,error:f,errorUpdatedAt:h,failureCount:u.fetchFailureCount,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:p,isRefetching:p&&'loading'!==g,isLoadingError:'error'===g&&0===u.dataUpdatedAt,isPlaceholderData:v,isPreviousData:m,isRefetchError:'error'===g&&0!==u.dataUpdatedAt,isStale:ve(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,i=n.notifyOnChangePropsExclusions;if(!r&&!i)return!0;if('tracked'===r&&!this.trackedProps.length)return!0;var o='tracked'===r?this.trackedProps:r;return Object.keys(e).some(function(n){var r=n,s=e[r]!==t[r],a=null==o?void 0:o.some(function(e){return e===n}),A=null==i?void 0:i.some(function(e){return e===n});return s&&!A&&(!o||a)})},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify(k({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};'success'===e.type?t.onSuccess=!0:'error'!==e.type||te(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;ie.batch(function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach(function(e){e(t.currentResult)}),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:'observerResultsUpdated'})})},t}(S);function pe(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||'error'===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&ge(e,t,t.refetchOnMount)}function ge(e,t,n){if(!1!==t.enabled){var r='function'==typeof n?n(e):n;return'always'===r||!1!==r&&ve(e,t)}return!1}function me(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||'error'!==e.state.status)&&ve(e,n)}function ve(e,t){return e.isStaleByTime(t.staleTime)}var be=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}E(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};'success'===e.type?t.onSuccess=!0:'error'===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,k({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:'idle',variables:void 0},t=k({},e,{isLoading:'loading'===e.status,isSuccess:'success'===e.status,isError:'error'===e.status,isIdle:'idle'===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;ie.batch(function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach(function(e){e(t.currentResult)})})},t}(S),ye=b.unstable_batchedUpdates;ie.setBatchNotifyFunction(ye);var we=console;oe=we;var Be=t.createContext(void 0),xe=t.createContext(!1);function Ce(e){return e&&'undefined'!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Be),window.ReactQueryClientContext):Be}var _e=function(){var e=t.useContext(Ce(t.useContext(xe)));if(!e)throw new Error('No QueryClient set, use QueryClientProvider to set one');return e},je=function(e){var n=e.client,r=e.contextSharing,i=void 0!==r&&r,o=e.children;t.useEffect(function(){return n.mount(),function(){n.unmount()}},[n]);var s=Ce(i);return t.createElement(xe.Provider,{value:i},t.createElement(s.Provider,{value:n},o))};var Fe,Ee=t.createContext((Fe=!1,{clearReset:function(){Fe=!1},reset:function(){Fe=!0},isReset:function(){return Fe}}));function Se(e,t,n){return'function'==typeof t?t.apply(void 0,n):'boolean'==typeof t?t:!!e}function ke(e,n,r){var i=t.useRef(!1),o=t.useState(0)[1],s=function(e,t,n){return G(e)?'function'==typeof t?k({},n,{mutationKey:e,mutationFn:t}):k({},t,{mutationKey:e}):'function'==typeof e?k({},t,{mutationFn:e}):k({},e)}(e,n,r),a=_e(),A=t.useRef();A.current?A.current.setOptions(s):A.current=new be(a,s);var l=A.current.getCurrentResult();t.useEffect(function(){i.current=!0;var e=A.current.subscribe(ie.batchCalls(function(){i.current&&o(function(e){return e+1})}));return function(){i.current=!1,e()}},[]);var c=t.useCallback(function(e,t){A.current.mutate(e,t).catch(Q)},[]);if(l.error&&Se(void 0,A.current.options.useErrorBoundary,[l.error]))throw l.error;return k({},l,{mutate:c,mutateAsync:l.mutate})}function Ue(e,n){var r=t.useRef(!1),i=t.useState(0)[1],o=_e(),s=t.useContext(Ee),a=o.defaultQueryObserverOptions(e);a.optimisticResults=!0,a.onError&&(a.onError=ie.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=ie.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=ie.batchCalls(a.onSettled)),a.suspense&&('number'!=typeof a.staleTime&&(a.staleTime=1e3),0===a.cacheTime&&(a.cacheTime=1)),(a.suspense||a.useErrorBoundary)&&(s.isReset()||(a.retryOnMount=!1));var A=t.useState(function(){return new n(o,a)})[0],l=A.getOptimisticResult(a);if(t.useEffect(function(){r.current=!0,s.clearReset();var e=A.subscribe(ie.batchCalls(function(){r.current&&i(function(e){return e+1})}));return A.updateResult(),function(){r.current=!1,e()}},[s,A]),t.useEffect(function(){A.setOptions(a,{listeners:!1})},[a,A]),a.suspense&&l.isLoading)throw A.fetchOptimistic(a).then(function(e){var t=e.data;null==a.onSuccess||a.onSuccess(t),null==a.onSettled||a.onSettled(t,null)}).catch(function(e){s.clearReset(),null==a.onError||a.onError(e),null==a.onSettled||a.onSettled(void 0,e)});if(l.isError&&!s.isReset()&&!l.isFetching&&Se(a.suspense,a.useErrorBoundary,[l.error,A.getCurrentQuery()]))throw l.error;return'tracked'===a.notifyOnChangeProps&&(l=A.trackResult(l,a)),l}function Qe(e,t,n){return Ue(N(e,t,n),he)}var Le=function(e,t){return Le=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])},Le(e,t)};var Oe=function(){return Oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Oe.apply(this,arguments)};function Ie(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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function Ne(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{A(r.next(e))}catch(e){o(e)}}function a(e){try{A(r.throw(e))}catch(e){o(e)}}function A(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}A((r=r.apply(e,t||[])).next())})}function Te(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},'function'==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(A){return function(a){if(n)throw new TypeError('Generator is already executing.');for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,A])}}}function Me(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function Pe(e,t){return Object.defineProperty?Object.defineProperty(e,'raw',{value:t}):e.raw=t,e}function De(){for(var e,t,n=0,r='';n<arguments.length;)(e=arguments[n++])&&(t=Re(e))&&(r&&(r+=' '),r+=t);return r}function Re(e){if('string'==typeof e)return e;for(var t,n='',r=0;r<e.length;r++)e[r]&&(t=Re(e[r]))&&(n&&(n+=' '),n+=t);return n}'function'==typeof SuppressedError&&SuppressedError;function He(e){var t=function(e){var t=e.theme,n=e.prefix,r={nextPart:new Map,validators:[]},i=function(e,t){if(!t)return e;return e.map(function(e){return[e[0],e[1].map(function(e){return'string'==typeof e?t+e:'object'==typeof e?Object.fromEntries(Object.entries(e).map(function(e){var n=e[0],r=e[1];return[t+n,r]})):e})]})}(Object.entries(e.classGroups),n);return i.forEach(function(e){var n=e[0];Ve(e[1],r,n,t)}),r}(e),n=e.conflictingClassGroups,r=e.conflictingClassGroupModifiers,i=void 0===r?{}:r;return{getClassGroupId:function(e){var n=e.split('-');return''===n[0]&&1!==n.length&&n.shift(),ze(n,t)||function(e){if(Ke.test(e)){var t=Ke.exec(e)[1],n=t?.substring(0,t.indexOf(':'));if(n)return'arbitrary..'+n}}(e)},getConflictingClassGroupIds:function(e,t){var r=n[e]||[];return t&&i[e]?[].concat(r,i[e]):r}}}function ze(e,t){if(0===e.length)return t.classGroupId;var n=e[0],r=t.nextPart.get(n),i=r?ze(e.slice(1),r):void 0;if(i)return i;if(0!==t.validators.length){var o=e.join('-');return t.validators.find(function(e){return(0,e.validator)(o)})?.classGroupId}}var Ke=/^\[(.+)\]$/;function Ve(e,t,n,r){e.forEach(function(e){if('string'!=typeof e){if('function'==typeof e)return e.isThemeGetter?void Ve(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(function(e){var i=e[0];Ve(e[1],qe(t,i),n,r)})}else{(''===e?t:qe(t,e)).classGroupId=n}})}function qe(e,t){var n=e;return t.split('-').forEach(function(e){n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n}function Ge(e){if(e<1)return{get:function(){},set:function(){}};var t=0,n=new Map,r=new Map;function i(i,o){n.set(i,o),++t>e&&(t=0,r=n,n=new Map)}return{get:function(e){var t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set:function(e,t){n.has(e)?n.set(e,t):i(e,t)}}}function We(e){var t=e.separator||':',n=1===t.length,r=t[0],i=t.length;return function(e){for(var o,s=[],a=0,A=0,l=0;l<e.length;l++){var c=e[l];if(0===a){if(c===r&&(n||e.slice(l,l+i)===t)){s.push(e.slice(A,l)),A=l+i;continue}if('/'===c){o=l;continue}}'['===c?a++:']'===c&&a--}var u=0===s.length?e:e.substring(A),d=u.startsWith('!');return{modifiers:s,hasImportantModifier:d,baseClassName:d?u.substring(1):u,maybePostfixModifierPosition:o&&o>A?o-A:void 0}}}var Ye=/\s+/;function Xe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i,o,s=function(e){var n=t[0],A=t.slice(1).reduce(function(e,t){return t(e)},n());return r=function(e){return{cache:Ge(e.cacheSize),splitModifiers:We(e),...He(e)}}(A),i=r.cache.get,o=r.cache.set,s=a,a(e)};function a(e){var t=i(e);if(t)return t;var n=function(e,t){var n=t.splitModifiers,r=t.getClassGroupId,i=t.getConflictingClassGroupIds,o=new Set;return e.trim().split(Ye).map(function(e){var t=n(e),i=t.modifiers,o=t.hasImportantModifier,s=t.baseClassName,a=t.maybePostfixModifierPosition,A=r(a?s.substring(0,a):s),l=Boolean(a);if(!A){if(!a)return{isTailwindClass:!1,originalClassName:e};if(!(A=r(s)))return{isTailwindClass:!1,originalClassName:e};l=!1}var c=function(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(e){'['===e[0]?(t.push.apply(t,n.sort().concat([e])),n=[]):n.push(e)}),t.push.apply(t,n.sort()),t}(i).join(':');return{isTailwindClass:!0,modifierId:o?c+'!':c,classGroupId:A,originalClassName:e,hasPostfixModifier:l}}).reverse().filter(function(e){if(!e.isTailwindClass)return!0;var t=e.modifierId,n=e.classGroupId,r=e.hasPostfixModifier,s=t+n;return!o.has(s)&&(o.add(s),i(n,r).forEach(function(e){return o.add(t+e)}),!0)}).reverse().map(function(e){return e.originalClassName}).join(' ')}(e,r);return o(e,n),n}return function(){return s(De.apply(null,arguments))}}function Je(e){var t=function(t){return t[e]||[]};return t.isThemeGetter=!0,t}var Ze=/^\[(?:([a-z-]+):)?(.+)\]$/i,$e=/^\d+\/\d+$/,et=new Set(['px','full','screen']),tt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function it(e){return ct(e)||et.has(e)||$e.test(e)||ot(e)}function ot(e){return mt(e,'length',vt)}function st(e){return mt(e,'size',bt)}function at(e){return mt(e,'position',bt)}function At(e){return mt(e,'url',yt)}function lt(e){return mt(e,'number',ct)}function ct(e){return!Number.isNaN(Number(e))}function ut(e){return e.endsWith('%')&&ct(e.slice(0,-1))}function dt(e){return wt(e)||mt(e,'number',wt)}function ft(e){return Ze.test(e)}function ht(){return!0}function pt(e){return tt.test(e)}function gt(e){return mt(e,'',Bt)}function mt(e,t,n){var r=Ze.exec(e);return!!r&&(r[1]?r[1]===t:n(r[2]))}function vt(e){return nt.test(e)}function bt(){return!1}function yt(e){return e.startsWith('url(')}function wt(e){return Number.isInteger(Number(e))}function Bt(e){return rt.test(e)}function xt(){var e=Je('colors'),t=Je('spacing'),n=Je('blur'),r=Je('brightness'),i=Je('borderColor'),o=Je('borderRadius'),s=Je('borderSpacing'),a=Je('borderWidth'),A=Je('contrast'),l=Je('grayscale'),c=Je('hueRotate'),u=Je('invert'),d=Je('gap'),f=Je('gradientColorStops'),h=Je('gradientColorStopPositions'),p=Je('inset'),g=Je('margin'),m=Je('opacity'),v=Je('padding'),b=Je('saturate'),y=Je('scale'),w=Je('sepia'),B=Je('skew'),x=Je('space'),C=Je('translate'),_=function(){return['auto',ft,t]},j=function(){return[ft,t]},F=function(){return['',it]},E=function(){return['auto',ct,ft]},S=function(){return['','0',ft]},k=function(){return[ct,lt]},U=function(){return[ct,ft]};return{cacheSize:500,theme:{colors:[ht],spacing:[it],blur:['none','',pt,ft],brightness:k(),borderColor:[e],borderRadius:['none','','full',pt,ft],borderSpacing:j(),borderWidth:F(),contrast:k(),grayscale:S(),hueRotate:U(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[ut,ot],inset:_(),margin:_(),opacity:k(),padding:j(),saturate:k(),scale:k(),sepia:S(),skew:U(),space:j(),translate:j()},classGroups:{aspect:[{aspect:['auto','square','video',ft]}],container:['container'],columns:[{columns:[pt]}],'break-after':[{'break-after':['auto','avoid','all','avoid-page','page','left','right','column']}],'break-before':[{'break-before':['auto','avoid','all','avoid-page','page','left','right','column']}],'break-inside':[{'break-inside':['auto','avoid','avoid-page','avoid-column']}],'box-decoration':[{'box-decoration':['slice','clone']}],box:[{box:['border','content']}],display:['block','inline-block','inline','flex','inline-flex','table','inline-table','table-caption','table-cell','table-column','table-column-group','table-footer-group','table-header-group','table-row-group','table-row','flow-root','grid','inline-grid','contents','list-item','hidden'],float:[{float:['right','left','none']}],clear:[{clear:['left','right','both','none']}],isolation:['isolate','isolation-auto'],'object-fit':[{object:['contain','cover','fill','none','scale-down']}],'object-position':[{object:[].concat(['bottom','center','left','left-bottom','left-top','right','right-bottom','right-top','top'],[ft])}],overflow:[{overflow:['auto','hidden','clip','visible','scroll']}],'overflow-x':[{'overflow-x':['auto','hidden','clip','visible','scroll']}],'overflow-y':[{'overflow-y':['auto','hidden','clip','visible','scroll']}],overscroll:[{overscroll:['auto','contain','none']}],'overscroll-x':[{'overscroll-x':['auto','contain','none']}],'overscroll-y':[{'overscroll-y':['auto','contain','none']}],position:['static','fixed','absolute','relative','sticky'],inset:[{inset:[p]}],'inset-x':[{'inset-x':[p]}],'inset-y':[{'inset-y':[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:['visible','invisible','collapse'],z:[{z:['auto',dt]}],basis:[{basis:_()}],'flex-direction':[{flex:['row','row-reverse','col','col-reverse']}],'flex-wrap':[{flex:['wrap','wrap-reverse','nowrap']}],flex:[{flex:['1','auto','initial','none',ft]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:['first','last','none',dt]}],'grid-cols':[{'grid-cols':[ht]}],'col-start-end':[{col:['auto',{span:['full',dt]},ft]}],'col-start':[{'col-start':E()}],'col-end':[{'col-end':E()}],'grid-rows':[{'grid-rows':[ht]}],'row-start-end':[{row:['auto',{span:[dt]},ft]}],'row-start':[{'row-start':E()}],'row-end':[{'row-end':E()}],'grid-flow':[{'grid-flow':['row','col','dense','row-dense','col-dense']}],'auto-cols':[{'auto-cols':['auto','min','max','fr',ft]}],'auto-rows':[{'auto-rows':['auto','min','max','fr',ft]}],gap:[{gap:[d]}],'gap-x':[{'gap-x':[d]}],'gap-y':[{'gap-y':[d]}],'justify-content':[{justify:['normal'].concat(['start','end','center','between','around','evenly','stretch'])}],'justify-items':[{'justify-items':['start','end','center','stretch']}],'justify-self':[{'justify-self':['auto','start','end','center','stretch']}],'align-content':[{content:['normal'].concat(['start','end','center','between','around','evenly','stretch'],['baseline'])}],'align-items':[{items:['start','end','center','baseline','stretch']}],'align-self':[{self:['auto','start','end','center','stretch','baseline']}],'place-content':[{'place-content':[].concat(['start','end','center','between','around','evenly','stretch'],['baseline'])}],'place-items':[{'place-items':['start','end','center','baseline','stretch']}],'place-self':[{'place-self':['auto','start','end','center','stretch']}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],'space-x':[{'space-x':[x]}],'space-x-reverse':['space-x-reverse'],'space-y':[{'space-y':[x]}],'space-y-reverse':['space-y-reverse'],w:[{w:['auto','min','max','fit',ft,t]}],'min-w':[{'min-w':['min','max','fit',ft,it]}],'max-w':[{'max-w':['0','none','full','min','max','fit','prose',{screen:[pt]},pt,ft]}],h:[{h:[ft,t,'auto','min','max','fit']}],'min-h':[{'min-h':['min','max','fit',ft,it]}],'max-h':[{'max-h':[ft,t,'min','max','fit']}],'font-size':[{text:['base',pt,ot]}],'font-smoothing':['antialiased','subpixel-antialiased'],'font-style':['italic','not-italic'],'font-weight':[{font:['thin','extralight','light','normal','medium','semibold','bold','extrabold','black',lt]}],'font-family':[{font:[ht]}],'fvn-normal':['normal-nums'],'fvn-ordinal':['ordinal'],'fvn-slashed-zero':['slashed-zero'],'fvn-figure':['lining-nums','oldstyle-nums'],'fvn-spacing':['proportional-nums','tabular-nums'],'fvn-fraction':['diagonal-fractions','stacked-fractons'],tracking:[{tracking:['tighter','tight','normal','wide','wider','widest',ft]}],'line-clamp':[{'line-clamp':['none',ct,lt]}],leading:[{leading:['none','tight','snug','normal','relaxed','loose',ft,it]}],'list-image':[{'list-image':['none',ft]}],'list-style-type':[{list:['none','disc','decimal',ft]}],'list-style-position':[{list:['inside','outside']}],'placeholder-color':[{placeholder:[e]}],'placeholder-opacity':[{'placeholder-opacity':[m]}],'text-alignment':[{text:['left','center','right','justify','start','end']}],'text-color':[{text:[e]}],'text-opacity':[{'text-opacity':[m]}],'text-decoration':['underline','overline','line-through','no-underline'],'text-decoration-style':[{decoration:[].concat(['solid','dashed','dotted','double','none'],['wavy'])}],'text-decoration-thickness':[{decoration:['auto','from-font',it]}],'underline-offset':[{'underline-offset':['auto',ft,it]}],'text-decoration-color':[{decoration:[e]}],'text-transform':['uppercase','lowercase','capitalize','normal-case'],'text-overflow':['truncate','text-ellipsis','text-clip'],indent:[{indent:j()}],'vertical-align':[{align:['baseline','top','middle','bottom','text-top','text-bottom','sub','super',ft]}],whitespace:[{whitespace:['normal','nowrap','pre','pre-line','pre-wrap','break-spaces']}],break:[{break:['normal','words','all','keep']}],hyphens:[{hyphens:['none','manual','auto']}],content:[{content:['none',ft]}],'bg-attachment':[{bg:['fixed','local','scroll']}],'bg-clip':[{'bg-clip':['border','padding','content','text']}],'bg-opacity':[{'bg-opacity':[m]}],'bg-origin':[{'bg-origin':['border','padding','content']}],'bg-position':[{bg:[].concat(['bottom','center','left','left-bottom','left-top','right','right-bottom','right-top','top'],[at])}],'bg-repeat':[{bg:['no-repeat',{repeat:['','x','y','round','space']}]}],'bg-size':[{bg:['auto','cover','contain',st]}],'bg-image':[{bg:['none',{'gradient-to':['t','tr','r','br','b','bl','l','tl']},At]}],'bg-color':[{bg:[e]}],'gradient-from-pos':[{from:[h]}],'gradient-via-pos':[{via:[h]}],'gradient-to-pos':[{to:[h]}],'gradient-from':[{from:[f]}],'gradient-via':[{via:[f]}],'gradient-to':[{to:[f]}],rounded:[{rounded:[o]}],'rounded-s':[{'rounded-s':[o]}],'rounded-e':[{'rounded-e':[o]}],'rounded-t':[{'rounded-t':[o]}],'rounded-r':[{'rounded-r':[o]}],'rounded-b':[{'rounded-b':[o]}],'rounded-l':[{'rounded-l':[o]}],'rounded-ss':[{'rounded-ss':[o]}],'rounded-se':[{'rounded-se':[o]}],'rounded-ee':[{'rounded-ee':[o]}],'rounded-es':[{'rounded-es':[o]}],'rounded-tl':[{'rounded-tl':[o]}],'rounded-tr':[{'rounded-tr':[o]}],'rounded-br':[{'rounded-br':[o]}],'rounded-bl':[{'rounded-bl':[o]}],'border-w':[{border:[a]}],'border-w-x':[{'border-x':[a]}],'border-w-y':[{'border-y':[a]}],'border-w-s':[{'border-s':[a]}],'border-w-e':[{'border-e':[a]}],'border-w-t':[{'border-t':[a]}],'border-w-r':[{'border-r':[a]}],'border-w-b':[{'border-b':[a]}],'border-w-l':[{'border-l':[a]}],'border-opacity':[{'border-opacity':[m]}],'border-style':[{border:[].concat(['solid','dashed','dotted','double','none'],['hidden'])}],'divide-x':[{'divide-x':[a]}],'divide-x-reverse':['divide-x-reverse'],'divide-y':[{'divide-y':[a]}],'divide-y-reverse':['divide-y-reverse'],'divide-opacity':[{'divide-opacity':[m]}],'divide-style':[{divide:['solid','dashed','dotted','double','none']}],'border-color':[{border:[i]}],'border-color-x':[{'border-x':[i]}],'border-color-y':[{'border-y':[i]}],'border-color-t':[{'border-t':[i]}],'border-color-r':[{'border-r':[i]}],'border-color-b':[{'border-b':[i]}],'border-color-l':[{'border-l':[i]}],'divide-color':[{divide:[i]}],'outline-style':[{outline:[''].concat(['solid','dashed','dotted','double','none'])}],'outline-offset':[{'outline-offset':[ft,it]}],'outline-w':[{outline:[it]}],'outline-color':[{outline:[e]}],'ring-w':[{ring:F()}],'ring-w-inset':['ring-inset'],'ring-color':[{ring:[e]}],'ring-opacity':[{'ring-opacity':[m]}],'ring-offset-w':[{'ring-offset':[it]}],'ring-offset-color':[{'ring-offset':[e]}],shadow:[{shadow:['','inner','none',pt,gt]}],'shadow-color':[{shadow:[ht]}],opacity:[{opacity:[m]}],'mix-blend':[{'mix-blend':['normal','multiply','screen','overlay','darken','lighten','color-dodge','color-burn','hard-light','soft-light','difference','exclusion','hue','saturation','color','luminosity','plus-lighter']}],'bg-blend':[{'bg-blend':['normal','multiply','screen','overlay','darken','lighten','color-dodge','color-burn','hard-light','soft-light','difference','exclusion','hue','saturation','color','luminosity','plus-lighter']}],filter:[{filter:['','none']}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[A]}],'drop-shadow':[{'drop-shadow':['','none',pt,ft]}],grayscale:[{grayscale:[l]}],'hue-rotate':[{'hue-rotate':[c]}],invert:[{invert:[u]}],saturate:[{saturate:[b]}],sepia:[{sepia:[w]}],'backdrop-filter':[{'backdrop-filter':['','none']}],'backdrop-blur':[{'backdrop-blur':[n]}],'backdrop-brightness':[{'backdrop-brightness':[r]}],'backdrop-contrast':[{'backdrop-contrast':[A]}],'backdrop-grayscale':[{'backdrop-grayscale':[l]}],'backdrop-hue-rotate':[{'backdrop-hue-rotate':[c]}],'backdrop-invert':[{'backdrop-invert':[u]}],'backdrop-opacity':[{'backdrop-opacity':[m]}],'backdrop-saturate':[{'backdrop-saturate':[b]}],'backdrop-sepia':[{'backdrop-sepia':[w]}],'border-collapse':[{border:['collapse','separate']}],'border-spacing':[{'border-spacing':[s]}],'border-spacing-x':[{'border-spacing-x':[s]}],'border-spacing-y':[{'border-spacing-y':[s]}],'table-layout':[{table:['auto','fixed']}],caption:[{caption:['top','bottom']}],transition:[{transition:['none','all','','colors','opacity','shadow','transform',ft]}],duration:[{duration:U()}],ease:[{ease:['linear','in','out','in-out',ft]}],delay:[{delay:U()}],animate:[{animate:['none','spin','ping','pulse','bounce',ft]}],transform:[{transform:['','gpu','none']}],scale:[{scale:[y]}],'scale-x':[{'scale-x':[y]}],'scale-y':[{'scale-y':[y]}],rotate:[{rotate:[dt,ft]}],'translate-x':[{'translate-x':[C]}],'translate-y':[{'translate-y':[C]}],'skew-x':[{'skew-x':[B]}],'skew-y':[{'skew-y':[B]}],'transform-origin':[{origin:['center','top','top-right','right','bottom-right','bottom','bottom-left','left','top-left',ft]}],accent:[{accent:['auto',e]}],appearance:['appearance-none'],cursor:[{cursor:['auto','default','pointer','wait','text','move','help','not-allowed','none','context-menu','progress','cell','crosshair','vertical-text','alias','copy','no-drop','grab','grabbing','all-scroll','col-resize','row-resize','n-resize','e-resize','s-resize','w-resize','ne-resize','nw-resize','se-resize','sw-resize','ew-resize','ns-resize','nesw-resize','nwse-resize','zoom-in','zoom-out',ft]}],'caret-color':[{caret:[e]}],'pointer-events':[{'pointer-events':['none','auto']}],resize:[{resize:['none','y','x','']}],'scroll-behavior':[{scroll:['auto','smooth']}],'scroll-m':[{'scroll-m':j()}],'scroll-mx':[{'scroll-mx':j()}],'scroll-my':[{'scroll-my':j()}],'scroll-ms':[{'scroll-ms':j()}],'scroll-me':[{'scroll-me':j()}],'scroll-mt':[{'scroll-mt':j()}],'scroll-mr':[{'scroll-mr':j()}],'scroll-mb':[{'scroll-mb':j()}],'scroll-ml':[{'scroll-ml':j()}],'scroll-p':[{'scroll-p':j()}],'scroll-px':[{'scroll-px':j()}],'scroll-py':[{'scroll-py':j()}],'scroll-ps':[{'scroll-ps':j()}],'scroll-pe':[{'scroll-pe':j()}],'scroll-pt':[{'scroll-pt':j()}],'scroll-pr':[{'scroll-pr':j()}],'scroll-pb':[{'scroll-pb':j()}],'scroll-pl':[{'scroll-pl':j()}],'snap-align':[{snap:['start','end','center','align-none']}],'snap-stop':[{snap:['normal','always']}],'snap-type':[{snap:['none','x','y','both']}],'snap-strictness':[{snap:['mandatory','proximity']}],touch:[{touch:['auto','none','pinch-zoom','manipulation',{pan:['x','left','right','y','up','down']}]}],select:[{select:['none','text','all','auto']}],'will-change':[{'will-change':['auto','scroll','contents','transform',ft]}],fill:[{fill:[e,'none']}],'stroke-w':[{stroke:[it,lt]}],stroke:[{stroke:[e,'none']}],sr:['sr-only','not-sr-only']},conflictingClassGroups:{overflow:['overflow-x','overflow-y'],overscroll:['overscroll-x','overscroll-y'],inset:['inset-x','inset-y','start','end','top','right','bottom','left'],'inset-x':['right','left'],'inset-y':['top','bottom'],flex:['basis','grow','shrink'],gap:['gap-x','gap-y'],p:['px','py','ps','pe','pt','pr','pb','pl'],px:['pr','pl'],py:['pt','pb'],m:['mx','my','ms','me','mt','mr','mb','ml'],mx:['mr','ml'],my:['mt','mb'],'font-size':['leading'],'fvn-normal':['fvn-ordinal','fvn-slashed-zero','fvn-figure','fvn-spacing','fvn-fraction'],'fvn-ordinal':['fvn-normal'],'fvn-slashed-zero':['fvn-normal'],'fvn-figure':['fvn-normal'],'fvn-spacing':['fvn-normal'],'fvn-fraction':['fvn-normal'],rounded:['rounded-s','rounded-e','rounded-t','rounded-r','rounded-b','rounded-l','rounded-ss','rounded-se','rounded-ee','rounded-es','rounded-tl','rounded-tr','rounded-br','rounded-bl'],'rounded-s':['rounded-ss','rounded-es'],'rounded-e':['rounded-se','rounded-ee'],'rounded-t':['rounded-tl','rounded-tr'],'rounded-r':['rounded-tr','rounded-br'],'rounded-b':['rounded-br','rounded-bl'],'rounded-l':['rounded-tl','rounded-bl'],'border-spacing':['border-spacing-x','border-spacing-y'],'border-w':['border-w-s','border-w-e','border-w-t','border-w-r','border-w-b','border-w-l'],'border-w-x':['border-w-r','border-w-l'],'border-w-y':['border-w-t','border-w-b'],'border-color':['border-color-t','border-color-r','border-color-b','border-color-l'],'border-color-x':['border-color-r','border-color-l'],'border-color-y':['border-color-t','border-color-b'],'scroll-m':['scroll-mx','scroll-my','scroll-ms','scroll-me','scroll-mt','scroll-mr','scroll-mb','scroll-ml'],'scroll-mx':['scroll-mr','scroll-ml'],'scroll-my':['scroll-mt','scroll-mb'],'scroll-p':['scroll-px','scroll-py','scroll-ps','scroll-pe','scroll-pt','scroll-pr','scroll-pb','scroll-pl'],'scroll-px':['scroll-pr','scroll-pl'],'scroll-py':['scroll-pt','scroll-pb']},conflictingClassGroupModifiers:{'font-size':['leading']}}}var Ct,_t,jt,Ft=Xe(xt),Et=['a','abbr','address','area','article','aside','audio','b','base','bdi','bdo','big','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','data','datalist','dd','del','details','dfn','dialog','div','dl','dt','em','embed','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','iframe','img','input','ins','kbd','keygen','label','legend','li','link','main','map','mark','menu','menuitem','meta','meter','nav','noscript','object','ol','optgroup','option','output','p','param','picture','pre','progress','q','rp','rt','ruby','s','samp','script','section','select','small','source','span','strong','style','sub','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','title','tr','track','u','ul','var','video','wbr','circle','clipPath','defs','ellipse','foreignObject','g','image','line','linearGradient','marker','mask','path','pattern','polygon','polyline','radialGradient','rect','stop','svg','text','tspan'],St=Symbol('isTwElement?'),kt=(e,t)=>e.reduce((e,n,r)=>e.concat(n||[],t[r]||[]),[]),Ut=(e,t='')=>{let n=e.join(' ').trim().replace(/\n/g,' ').replace(/\s{2,}/g,' ').split(' ').filter(e=>','!==e),r=t?t.split(' '):[];return Ft(...n.concat(r).filter(e=>' '!==e))},Qt=([e])=>'$'!==e.charAt(0),Lt=e=>!0===e[St],Ot=e=>(n,...r)=>{let i=(o=[])=>{let s=t.forwardRef((i,s)=>{let{$as:a=e,style:A={},...l}=i,c=Lt(e)?e:a,u=o?o.reduce((e,t)=>Object.assign(e,'function'==typeof t?t(i):t),{}):{},d=Lt(c)?l:Object.fromEntries(Object.entries(l).filter(Qt));return t.createElement(c,{...d,style:{...u,...A},ref:s,className:Ut(kt(n,r.map(e=>e({...l,$as:a}))),l.className),...Lt(e)?{$as:a}:{}})});return s[St]=!0,s.displayName='string'!=typeof e?e.displayName||e.name||'tw.Component':'tw.'+e,s.withStyle=e=>i(o.concat(e)),s};return i()},It=Et.reduce((e,t)=>({...e,[t]:Ot(t)}),{}),Nt=Object.assign(Ot,It),Tt=Nt.button(Ct||(Ct=Pe(['\n vu-h-fit\n vu-rounded-lg\n vu-p-2\n vu-flex\n vu-items-center\n vu-justify-center\n ','\n ','\n ','\n ','\n ','\n'],['\n vu-h-fit\n vu-rounded-lg\n vu-p-2\n vu-flex\n vu-items-center\n vu-justify-center\n ','\n ','\n ','\n ','\n ','\n'])),function(e){return e.disabled?'vu-cursor-not-allowed vu-opacity-25':''},function(e){return e.$fullWidth?'vu-grow':'vu-grow-0'},function(e){return'outline'===e.$fill||'text'===e.$fill?'vu-border-solid vu-border-2 vu-text-black dark:vu-text-slate-250':'vu-text-white'},function(e){return'outline'===e.$fill?'vu-bg-transparent vu-border-black dark:vu-border-dark_mode-100':'vu-bg-primary'},function(e){return'text'===e.$fill&&' vu-bg-lavender_blush vu-border-light_pink'}),Mt=Nt.span(_t||(_t=Pe(['\n vu-mr-2\n vu-flex\n vu-items-center\n vu-gap-2\n'],['\n vu-mr-2\n vu-flex\n vu-items-center\n vu-gap-2\n']))),Pt=Nt.button(jt||(jt=Pe(['\n vu-bg-transparent\n vu-border-0\n focus:vu-outline-none\n focus:vu-ring-0\n vu-p-0\n vu-m-0\n vu-inline-flex\n vu-justify-center\n vu-align-middle\n ','\n'],['\n vu-bg-transparent\n vu-border-0\n focus:vu-outline-none\n focus:vu-ring-0\n vu-p-0\n vu-m-0\n vu-inline-flex\n vu-justify-center\n vu-align-middle\n ','\n'])),function(e){return e.disabled?'vu-cursor-not-allowed\n vu-opacity-25 \n ':''});var Dt=['br','col','colgroup','dl','hr','iframe','img','input','link','menuitem','meta','ol','param','select','table','tbody','tfoot','thead','tr','ul','wbr'],Rt={'accept-charset':'acceptCharset',acceptcharset:'acceptCharset',accesskey:'accessKey',allowfullscreen:'allowFullScreen',autocapitalize:'autoCapitalize',autocomplete:'autoComplete',autocorrect:'autoCorrect',autofocus:'autoFocus',autoplay:'autoPlay',autosave:'autoSave',cellpadding:'cellPadding',cellspacing:'cellSpacing',charset:'charSet',class:'className',classid:'classID',classname:'className',colspan:'colSpan',contenteditable:'contentEditable',contextmenu:'contextMenu',controlslist:'controlsList',crossorigin:'crossOrigin',dangerouslysetinnerhtml:'dangerouslySetInnerHTML',datetime:'dateTime',defaultchecked:'defaultChecked',defaultvalue:'defaultValue',enctype:'encType',for:'htmlFor',formmethod:'formMethod',formaction:'formAction',formenctype:'formEncType',formnovalidate:'formNoValidate',formtarget:'formTarget',frameborder:'frameBorder',hreflang:'hrefLang',htmlfor:'htmlFor',httpequiv:'httpEquiv','http-equiv':'httpEquiv',icon:'icon',innerhtml:'innerHTML',inputmode:'inputMode',itemid:'itemID',itemprop:'itemProp',itemref:'itemRef',itemscope:'itemScope',itemtype:'itemType',keyparams:'keyParams',keytype:'keyType',marginwidth:'marginWidth',marginheight:'marginHeight',maxlength:'maxLength',mediagroup:'mediaGroup',minlength:'minLength',nomodule:'noModule',novalidate:'noValidate',playsinline:'playsInline',radiogroup:'radioGroup',readonly:'readOnly',referrerpolicy:'referrerPolicy',rowspan:'rowSpan',spellcheck:'spellCheck',srcdoc:'srcDoc',srclang:'srcLang',srcset:'srcSet',tabindex:'tabIndex',typemustmatch:'typeMustMatch',usemap:'useMap',accentheight:'accentHeight','accent-height':'accentHeight',alignmentbaseline:'alignmentBaseline','alignment-baseline':'alignmentBaseline',allowreorder:'allowReorder',arabicform:'arabicForm','arabic-form':'arabicForm',attributename:'attributeName',attributetype:'attributeType',autoreverse:'autoReverse',basefrequency:'baseFrequency',baselineshift:'baselineShift','baseline-shift':'baselineShift',baseprofile:'baseProfile',calcmode:'calcMode',capheight:'capHeight','cap-height':'capHeight',clippath:'clipPath','clip-path':'clipPath',clippathunits:'clipPathUnits',cliprule:'clipRule','clip-rule':'clipRule',colorinterpolation:'colorInterpolation','color-interpolation':'colorInterpolation',colorinterpolationfilters:'colorInterpolationFilters','color-interpolation-filters':'colorInterpolationFilters',colorprofile:'colorProfile','color-profile':'colorProfile',colorrendering:'colorRendering','color-rendering':'colorRendering',contentscripttype:'contentScriptType',contentstyletype:'contentStyleType',diffuseconstant:'diffuseConstant',dominantbaseline:'dominantBaseline','dominant-baseline':'dominantBaseline',edgemode:'edgeMode',enablebackground:'enableBackground','enable-background':'enableBackground',externalresourcesrequired:'externalResourcesRequired',fillopacity:'fillOpacity','fill-opacity':'fillOpacity',fillrule:'fillRule','fill-rule':'fillRule',filterres:'filterRes',filterunits:'filterUnits',floodopacity:'floodOpacity','flood-opacity':'floodOpacity',floodcolor:'floodColor','flood-color':'floodColor',fontfamily:'fontFamily','font-family':'fontFamily',fontsize:'fontSize','font-size':'fontSize',fontsizeadjust:'fontSizeAdjust','font-size-adjust':'fontSizeAdjust',fontstretch:'fontStretch','font-stretch':'fontStretch',fontstyle:'fontStyle','font-style':'fontStyle',fontvariant:'fontVariant','font-variant':'fontVariant',fontweight:'fontWeight','font-weight':'fontWeight',glyphname:'glyphName','glyph-name':'glyphName',glyphorientationhorizontal:'glyphOrientationHorizontal','glyph-orientation-horizontal':'glyphOrientationHorizontal',glyphorientationvertical:'glyphOrientationVertical','glyph-orientation-vertical':'glyphOrientationVertical',glyphref:'glyphRef',gradienttransform:'gradientTransform',gradientunits:'gradientUnits',horizadvx:'horizAdvX','horiz-adv-x':'horizAdvX',horizoriginx:'horizOriginX','horiz-origin-x':'horizOriginX',imagerendering:'imageRendering','image-rendering':'imageRendering',kernelmatrix:'kernelMatrix',kernelunitlength:'kernelUnitLength',keypoints:'keyPoints',keysplines:'keySplines',keytimes:'keyTimes',lengthadjust:'lengthAdjust',letterspacing:'letterSpacing','letter-spacing':'letterSpacing',lightingcolor:'lightingColor','lighting-color':'lightingColor',limitingconeangle:'limitingConeAngle',markerend:'markerEnd','marker-end':'markerEnd',markerheight:'markerHeight',markermid:'markerMid','marker-mid':'markerMid',markerstart:'markerStart','marker-start':'markerStart',markerunits:'markerUnits',markerwidth:'markerWidth',maskcontentunits:'maskContentUnits',maskunits:'maskUnits',numoctaves:'numOctaves',overlineposition:'overlinePosition','overline-position':'overlinePosition',overlinethickness:'overlineThickness','overline-thickness':'overlineThickness',paintorder:'paintOrder','paint-order':'paintOrder','panose-1':'panose1',pathlength:'pathLength',patterncontentunits:'patternContentUnits',patterntransform:'patternTransform',patternunits:'patternUnits',pointerevents:'pointerEvents','pointer-events':'pointerEvents',pointsatx:'pointsAtX',pointsaty:'pointsAtY',pointsatz:'pointsAtZ',preservealpha:'preserveAlpha',preserveaspectratio:'preserveAspectRatio',primitiveunits:'primitiveUnits',refx:'refX',refy:'refY',renderingintent:'renderingIntent','rendering-intent':'renderingIntent',repeatcount:'repeatCount',repeatdur:'repeatDur',requiredextensions:'requiredExtensions',requiredfeatures:'requiredFeatures',shaperendering:'shapeRendering','shape-rendering':'shapeRendering',specularconstant:'specularConstant',specularexponent:'specularExponent',spreadmethod:'spreadMethod',startoffset:'startOffset',stddeviation:'stdDeviation',stitchtiles:'stitchTiles',stopcolor:'stopColor','stop-color':'stopColor',stopopacity:'stopOpacity','stop-opacity':'stopOpacity',strikethroughposition:'strikethroughPosition','strikethrough-position':'strikethroughPosition',strikethroughthickness:'strikethroughThickness','strikethrough-thickness':'strikethroughThickness',strokedasharray:'strokeDasharray','stroke-dasharray':'strokeDasharray',strokedashoffset:'strokeDashoffset','stroke-dashoffset':'strokeDashoffset',strokelinecap:'strokeLinecap','stroke-linecap':'strokeLinecap',strokelinejoin:'strokeLinejoin','stroke-linejoin':'strokeLinejoin',strokemiterlimit:'strokeMiterlimit','stroke-miterlimit':'strokeMiterlimit',strokewidth:'strokeWidth','stroke-width':'strokeWidth',strokeopacity:'strokeOpacity','stroke-opacity':'strokeOpacity',suppresscontenteditablewarning:'suppressContentEditableWarning',suppresshydrationwarning:'suppressHydrationWarning',surfacescale:'surfaceScale',systemlanguage:'systemLanguage',tablevalues:'tableValues',targetx:'targetX',targety:'targetY',textanchor:'textAnchor','text-anchor':'textAnchor',textdecoration:'textDecoration','text-decoration':'textDecoration',textlength:'textLength',textrendering:'textRendering','text-rendering':'textRendering',underlineposition:'underlinePosition','underline-position':'underlinePosition',underlinethickness:'underlineThickness','underline-thickness':'underlineThickness',unicodebidi:'unicodeBidi','unicode-bidi':'unicodeBidi',unicoderange:'unicodeRange','unicode-range':'unicodeRange',unitsperem:'unitsPerEm','units-per-em':'unitsPerEm',unselectable:'unselectable',valphabetic:'vAlphabetic','v-alphabetic':'vAlphabetic',vectoreffect:'vectorEffect','vector-effect':'vectorEffect',vertadvy:'vertAdvY','vert-adv-y':'vertAdvY',vertoriginx:'vertOriginX','vert-origin-x':'vertOriginX',vertoriginy:'vertOriginY','vert-origin-y':'vertOriginY',vhanging:'vHanging','v-hanging':'vHanging',videographic:'vIdeographic','v-ideographic':'vIdeographic',viewbox:'viewBox',viewtarget:'viewTarget',vmathematical:'vMathematical','v-mathematical':'vMathematical',wordspacing:'wordSpacing','word-spacing':'wordSpacing',writingmode:'writingMode','writing-mode':'writingMode',xchannelselector:'xChannelSelector',xheight:'xHeight','x-height':'xHeight',xlinkactuate:'xlinkActuate','xlink:actuate':'xlinkActuate',xlinkarcrole:'xlinkArcrole','xlink:arcrole':'xlinkArcrole',xlinkhref:'xlinkHref','xlink:href':'xlinkHref',xlinkrole:'xlinkRole','xlink:role':'xlinkRole',xlinkshow:'xlinkShow','xlink:show':'xlinkShow',xlinktitle:'xlinkTitle','xlink:title':'xlinkTitle',xlinktype:'xlinkType','xlink:type':'xlinkType',xmlbase:'xmlBase','xml:base':'xmlBase',xmllang:'xmlLang','xml:lang':'xmlLang','xml:space':'xmlSpace',xmlnsxlink:'xmlnsXlink','xmlns:xlink':'xmlnsXlink',xmlspace:'xmlSpace',ychannelselector:'yChannelSelector',zoomandpan:'zoomAndPan',onblur:'onBlur',onchange:'onChange',onclick:'onClick',oncontextmenu:'onContextMenu',ondoubleclick:'onDoubleClick',ondrag:'onDrag',ondragend:'onDragEnd',ondragenter:'onDragEnter',ondragexit:'onDragExit',ondragleave:'onDragLeave',ondragover:'onDragOver',ondragstart:'onDragStart',ondrop:'onDrop',onerror:'onError',onfocus:'onFocus',oninput:'onInput',oninvalid:'onInvalid',onkeydown:'onKeyDown',onkeypress:'onKeyPress',onkeyup:'onKeyUp',onload:'onLoad',onmousedown:'onMouseDown',onmouseenter:'onMouseEnter',onmouseleave:'onMouseLeave',onmousemove:'onMouseMove',onmouseout:'onMouseOut',onmouseover:'onMouseOver',onmouseup:'onMouseUp',onscroll:'onScroll',onsubmit:'onSubmit',ontouchcancel:'onTouchCancel',ontouchend:'onTouchEnd',ontouchmove:'onTouchMove',ontouchstart:'onTouchStart',onwheel:'onWheel'};function Ht(t,n){const{key:r,level:i,...o}=n;switch(t.nodeType){case 1:return e.createElement(function(e){if(/[a-z]+[A-Z]+[a-z]+/.test(e))return e;return e.toLowerCase()}(t.nodeName),function(e,t){const n={key:t};if(e instanceof Element){const t=e.getAttribute('class');t&&(n.className=t),[...e.attributes].forEach(e=>{switch(e.name){case'class':break;case'style':n[e.name]='string'!=typeof(t=e.value)?{}:t.split(/ ?; ?/).reduce((e,t)=>{const[n,r]=t.split(/ ?: ?/).map((e,t)=>0===t?e.replace(/\s+/g,''):e.trim());if(n&&r){const t=n.replace(/(\w)-(\w)/g,(e,t,n)=>`${t}${n.toUpperCase()}`);let i=r.trim();Number.isNaN(Number(r))||(i=Number(r)),e[n.startsWith('-')?n:t]=i}return e},{});break;case'allowfullscreen':case'allowpaymentrequest':case'async':case'autofocus':case'autoplay':case'checked':case'controls':case'default':case'defer':case'disabled':case'formnovalidate':case'hidden':case'ismap':case'itemscope':case'loop':case'multiple':case'muted':case'nomodule':case'novalidate':case'open':case'readonly':case'required':case'reversed':case'selected':case'typemustmatch':n[Rt[e.name]||e.name]=!0;break;default:n[Rt[e.name]||e.name]=e.value}var t})}return n}(t,r),zt(t.childNodes,i,o));case 3:{const e=t.nodeValue?.toString()??'';if(!o.allowWhiteSpaces&&/^\s+$/.test(e)&&!/[\u00A0\u202F]/.test(e))return null;if(!t.parentNode)return e;const n=t.parentNode.nodeName.toLowerCase();return Dt.includes(n)?(/\S/.test(e),null):e}case 8:default:return null;case 11:return zt(t.childNodes,i,n)}}function zt(e,t,n){const r=[...e].map((e,r)=>Vt(e,{...n,index:r,level:t+1})).filter(Boolean);return r.length?r:null}function Kt(e,t={}){return'string'==typeof e?function(e,t={}){if(!e||'string'!=typeof e)return null;const{includeAllNodes:n=!1,nodeOnly:r=!1,selector:i='body > *',type:o='text/html'}=t;try{const s=(new DOMParser).parseFromString(e,o);if(n){const{childNodes:e}=s.body;return r?e:[...e].map(e=>Vt(e,t))}const a=s.querySelector(i)||s.body.childNodes[0];if(!(a instanceof Node))throw new TypeError('Error parsing input');return r?a:Vt(a,t)}catch(e){process.env.NODE_ENV}return null}(e,t):e instanceof Node?Vt(e,t):null}function Vt(e,t={}){if(!(e&&e instanceof Node))return null;const{actions:n=[],index:r=0,level:i=0,randomKey:o}=t;let s=e,a=`${i}-${r}`;const A=[];return o&&0===i&&(a=`${function(e=6){const t='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';let n='';for(let r=e;r>0;--r)n+=t[Math.round(61*Math.random())];return n}()}-${a}`),Array.isArray(n)&&n.forEach(t=>{t.condition(s,a,i)&&('function'==typeof t.pre&&(s=t.pre(s,a,i),s instanceof Node||(s=e,process.env.NODE_ENV)),'function'==typeof t.post&&A.push(t.post(s,a,i)))}),A.length?A:Ht(s,{key:a,level:i,...t})}var qt=Object.defineProperty,Gt=(e,t,n)=>((e,t,n)=>t in e?qt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,'symbol'!=typeof t?t+'':t,n),Wt='react-inlinesvg',Yt={IDLE:'idle',LOADING:'loading',LOADED:'loaded',FAILED:'failed',READY:'ready',UNSUPPORTED:'unsupported'};function Xt(e){return e[Math.floor(Math.random()*e.length)]}function Jt(){return!('undefined'==typeof window||!window.document?.createElement)}function Zt(){return function(){if(!document)return!1;const e=document.createElement('div');e.innerHTML='<svg />';const t=e.firstChild;return!!t&&'http://www.w3.org/2000/svg'===t.namespaceURI}()&&'undefined'!=typeof window&&null!==window}async function $t(e,t){const n=await fetch(e,t),r=n.headers.get('content-type'),[i]=(r??'').split(/ ?; ?/);if(n.status>299)throw new Error('Not found');if(!['image/svg+xml','text/plain'].some(e=>i.includes(e)))throw new Error(`Content type isn't valid: ${i}`);return n.text()}function en(e=1){return new Promise(t=>{setTimeout(t,1e3*e)})}var tn,nn=class{constructor(){Gt(this,'cacheApi'),Gt(this,'cacheStore'),Gt(this,'subscribers',[]),Gt(this,'isReady',!1),this.cacheStore=new Map;let e=Wt,t=!1;Jt()&&(e=window.REACT_INLINESVG_CACHE_NAME??Wt,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&'caches'in window),t?caches.open(e).then(e=>{this.cacheApi=e}).catch(e=>{this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const e=[...this.subscribers];this.subscribers.length=0,e.forEach(e=>{try{e()}catch(e){}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??''}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===Yt.LOADED}async fetchAndAddToInternalCache(e,t){const n=this.cacheStore.get(e);if(n?.status!==Yt.LOADING){if(!n?.content){this.cacheStore.set(e,{content:'',status:Yt.LOADING});try{const n=await $t(e,t);this.cacheStore.set(e,{content:n,status:Yt.LOADED})}catch(t){throw this.cacheStore.set(e,{content:'',status:Yt.FAILED}),t}}}else await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:'',status:Yt.IDLE}),await this.fetchAndAddToInternalCache(e,t)})}async fetchAndAddToPersistentCache(e,t){const n=this.cacheStore.get(e);if(n?.status===Yt.LOADED)return;if(n?.status===Yt.LOADING)return void await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:'',status:Yt.IDLE}),await this.fetchAndAddToPersistentCache(e,t)});this.cacheStore.set(e,{content:'',status:Yt.LOADING});const r=await(this.cacheApi?.match(e));if(r){const t=await r.text();return void this.cacheStore.set(e,{content:t,status:Yt.LOADED})}try{await(this.cacheApi?.add(new Request(e,t)));const n=await(this.cacheApi?.match(e)),r=await(n?.text())??'';this.cacheStore.set(e,{content:r,status:Yt.LOADED})}catch(t){throw this.cacheStore.set(e,{content:'',status:Yt.FAILED}),t}}async handleLoading(e,t){for(let t=0;t<10;t++){if(this.cacheStore.get(e)?.status!==Yt.LOADING)return;await en(.1)}await t()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([e,t])=>({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(e=>this.cacheApi.delete(e)))}this.cacheStore.clear()}};function rn(e){const t=o(void 0);return r(()=>{t.current=e}),t.current}function on(e){const{baseURL:t,content:n,description:r,handleError:i,hash:o,preProcessor:s,title:a,uniquifyIDs:A=!1}=e;try{const e=function(e,t){if(t)return t(e);return e}(n,s),i=Kt(e,{nodeOnly:!0});if(!(i&&i instanceof SVGSVGElement))throw new Error('Could not convert the src to a DOM Node');const l=sn(i,{baseURL:t,hash:o,uniquifyIDs:A});if(r){const e=l.querySelector('desc');e?.parentNode&&e.parentNode.removeChild(e);const t=document.createElementNS('http://www.w3.org/2000/svg','desc');t.innerHTML=r,l.prepend(t)}if(void 0!==a){const e=l.querySelector('title');if(e?.parentNode&&e.parentNode.removeChild(e),a){const e=document.createElementNS('http://www.w3.org/2000/svg','title');e.innerHTML=a,l.prepend(e)}}return l}catch(e){return i(e)}}function sn(e,t){const{baseURL:n='',hash:r,uniquifyIDs:i}=t,o=['id','href','xlink:href','xlink:role','xlink:arcrole'],s=['href','xlink:href'];return i?([...e.children].forEach(e=>{if(e.attributes?.length){const t=Object.values(e.attributes).map(e=>{const t=e,i=/url\((.*?)\)/.exec(e.value);return i?.[1]&&(t.value=e.value.replace(i[0],`url(${n}${i[1]}__${r})`)),t});o.forEach(e=>{const n=t.find(t=>t.name===e);var i,o;n&&(i=e,o=n.value,!s.includes(i)||!o||o.includes('#'))&&(n.value=`${n.value}__${r}`)})}return e.children.length?sn(e,t):e}),e):e}function an(e){const{cacheRequests:t=!0,children:n=null,description:l,fetchOptions:c,innerRef:u,loader:d=null,onError:f,onLoad:h,src:p,title:g,uniqueHash:m}=e,[v,b]=i((e,t)=>({...e,...t}),{content:'',element:null,isCached:t&&tn.isCached(e.src),status:Yt.IDLE}),{content:y,element:w,isCached:B,status:x}=v,C=rn(e),_=rn(v),j=o(m??function(e){const t='abcdefghijklmnopqrstuvwxyz',n=`${t}${t.toUpperCase()}1234567890`;let r='';for(let t=0;t<e;t++)r+=Xt(n);return r}(8)),F=o(!1),E=o(!1),S=s(e=>{F.current&&(b({status:'Browser does not support SVG'===e.message?Yt.UNSUPPORTED:Yt.FAILED}),f?.(e))},[f]),k=s((e,t=!1)=>{F.current&&b({content:e,isCached:t,status:Yt.LOADED})},[]),U=s(async()=>{const e=await $t(p,c);k(e)},[c,k,p]),Q=s(()=>{try{const t=Kt(on({...e,handleError:S,hash:j.current,content:y}));if(!t||!a(t))throw new Error('Could not convert the src to a React element');b({element:t,status:Yt.READY})}catch(e){S(e)}},[y,S,e]),L=s(async()=>{const e=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(p);let n;if(e?n=e[1]?window.atob(e[2]):decodeURIComponent(e[2]):p.includes('<svg')&&(n=p),n)k(n);else try{if(t){const e=await tn.get(p,c);k(e,!0)}else await U()}catch(e){S(e)}},[t,U,c,S,k,p]),O=s(async()=>{F.current&&b({content:'',element:null,isCached:!1,status:Yt.LOADING})},[]);r(()=>{if(F.current=!0,Jt()&&!E.current){try{if(x===Yt.IDLE){if(!Zt())throw new Error('Browser does not support SVG');if(!p)throw new Error('Missing src');O()}}catch(e){S(e)}return E.current=!0,()=>{F.current=!1}}},[]),r(()=>{if(Jt()&&C&&C.src!==p){if(!p)return void S(new Error('Missing src'));O()}},[S,O,C,p]),r(()=>{x===Yt.LOADED&&Q()},[x,Q]),r(()=>{Jt()&&C&&C.src===p&&(C.title===g&&C.description===l||Q())},[l,Q,C,p,g]),r(()=>{if(_)switch(x){case Yt.LOADING:_.status!==Yt.LOADING&&L();break;case Yt.LOADED:_.status!==Yt.LOADED&&Q();break;case Yt.READY:_.status!==Yt.READY&&h?.(p,B)}},[L,Q,B,h,_,p,x]);const I=function(e,...t){const n={};for(const r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}(e,'baseURL','cacheRequests','children','description','fetchOptions','innerRef','loader','onError','onLoad','preProcessor','src','title','uniqueHash','uniquifyIDs');return Jt()?w?A(w,{ref:u,...I}):[Yt.UNSUPPORTED,Yt.FAILED].includes(x)?n:d:d}function An(e){tn||(tn=new nn);const{loader:i}=e,[o,s]=n(tn.isReady);return r(()=>{o||tn.onReady(()=>{s(!0)})},[o]),o?t.createElement(an,{...e}):i}var ln,cn,un,dn,fn,hn,pn,gn,mn,vn,bn,yn,wn,Bn,xn,Cn,_n,jn,Fn=function(e){var n=e.svg,r=e.size,i=void 0===r?24:r,o=e.title,s=e.inline,a=void 0!==s&&s,A=e.iconColor,l=void 0===A?'vu-fill-black dark:vu-fill-slate-250':A,c=e.className;return t.createElement('div',{className:''.concat(l,' ').concat(a?'vu-inline':'',' ').concat(c)},t.createElement(An,{src:n,width:i,height:i,className:'vu-inline-block vu-align-middle',title:o,loader:t.createElement('span',null,'Loading...'),onError:function(e){}}))},En=function(e){var n=e.icon,r=e.children,i=e.$fill,o=void 0===i?'solid':i,s=e.iconColor,a=Ie(e,['icon','children','$fill','iconColor']);return t.createElement(Tt,Oe({$fill:o},a),n&&t.createElement(Mt,null,t.createElement(Fn,{svg:n,iconColor:s})),r)},Sn=function(e){var n=e.name,r=e.ariaLabel,i=e.toolTip,o=e.icon,s=e.iconColor,a=e.size,A=Ie(e,['name','ariaLabel','toolTip','icon','iconColor','size']);return t.createElement(Pt,Oe({'aria-label':r,title:null!=i?i:n},A),t.createElement(Fn,{size:a,svg:o,iconColor:s}))},kn=Nt.div(ln||(ln=Pe(['\n vu-flex\n vu-border-solid\n vu-border-2\n vu-border-gainsboro\n dark:vu-border-dark_mode-200\n vu-rounded-md\n vu-h-10\n vu-flex\n vu-items-center\n vu-px-3\n vu-gap-x-3\n'],['\n vu-flex\n vu-border-solid\n vu-border-2\n vu-border-gainsboro\n dark:vu-border-dark_mode-200\n vu-rounded-md\n vu-h-10\n vu-flex\n vu-items-center\n vu-px-3\n vu-gap-x-3\n']))),Un=Nt.input(cn||(cn=Pe(['\n ','\n vu-h-full\n vu-bg-transparent\n vu-focus:outline-none\n dark:vu-text-slate-450\n'],['\n ','\n vu-h-full\n vu-bg-transparent\n vu-focus:outline-none\n dark:vu-text-slate-450\n'])),function(e){return e.$fullWidth?'vu-grow':'vu-grow-0'}),Qn=function(e){var n=Ie(e,[]);return t.createElement(kn,null,t.createElement('div',null,t.createElement(Fn,{iconColor:'vu-fill-slate-350 dark:vu-fill-slate-450',svg:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.71%2C20.29l-3.68-3.68c1.23-1.54%2C1.98-3.49%2C1.98-5.61%2C0-4.96-4.04-9-9-9S2%2C6.04%2C2%2C11s4.04%2C9%2C9%2C9c2.12%2C0%2C4.07-.74%2C5.61-1.98l3.68%2C3.68c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.39-.39%2C.39-1.02%2C0-1.41ZM4%2C11c0-3.86%2C3.14-7%2C7-7s7%2C3.14%2C7%2C7c0%2C1.92-.78%2C3.66-2.04%2C4.93%2C0%2C0-.02%2C0-.02%2C.01s0%2C.02-.01%2C.02c-1.27%2C1.26-3.01%2C2.04-4.93%2C2.04-3.86%2C0-7-3.14-7-7Z%22%2F%3E%3C%2Fsvg%3E'})),t.createElement(Un,Oe({},n)))},Ln=Nt.div(un||(un=Pe(['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n lg:vu-px-[7.5rem]\n vu-px-2\n vu-py-5\n'],['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n lg:vu-px-[7.5rem]\n vu-px-2\n vu-py-5\n']))),On=Nt.div(dn||(dn=Pe(['\n vu-h-full\n vu-flex\n vu-items-center \n vu-justify-center\n'],['\n vu-h-full\n vu-flex\n vu-items-center \n vu-justify-center\n']))),In=Nt.div(fn||(fn=Pe(['\n vu-grow \n vu-overflow-y-auto\n'],['\n vu-grow \n vu-overflow-y-auto\n']))),Nn=Nt.div(hn||(hn=Pe(['\n vu-bg-alice_blue-500\n dark:vu-bg-dark_mode\n vu-p-2\n vu-w-full \n lg:vu-pl-[7.5rem]\n lg:vu-pr-[8rem]\n vu-px-2 \n'],['\n vu-bg-alice_blue-500\n dark:vu-bg-dark_mode\n vu-p-2\n vu-w-full \n lg:vu-pl-[7.5rem]\n lg:vu-pr-[8rem]\n vu-px-2 \n']))),Tn=Nt.div(pn||(pn=Pe(['\n vu-w-full\n'],['\n vu-w-full\n']))),Mn=Nt.div(gn||(gn=Pe(['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-flex\n vu-gap-4\n'],['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-flex\n vu-gap-4\n']))),Pn=Nt.div(mn||(mn=Pe(['\n vu-relative\n ','\n vu-w-full\n'],['\n vu-relative\n ','\n vu-w-full\n'])),function(e){return e.$fullWidth?'vu-grow':'vu-grow-0'}),Dn=Nt.textarea(vn||(vn=Pe(['\n vu-w-full\n vu-p-4\n vu-pr-10\n vu-bg-white\n dark:vu-bg-dark_mode-700\n vu-border-solid\n vu-border-2\n vu-border-gainsboro\n dark:vu-border-dark_mode-200\n vu-rounded-lg\n vu-focus:outline-none\n vu-resize-none\n'],['\n vu-w-full\n vu-p-4\n vu-pr-10\n vu-bg-white\n dark:vu-bg-dark_mode-700\n vu-border-solid\n vu-border-2\n vu-border-gainsboro\n dark:vu-border-dark_mode-200\n vu-rounded-lg\n vu-focus:outline-none\n vu-resize-none\n']))),Rn=Nt.button(bn||(bn=Pe(['\n vu-absolute\n vu-rounded-lg\n vu-bottom-3\n vu-right-2\n vu-px-2\n vu-py-2 \n','\n'],['\n vu-absolute\n vu-rounded-lg\n vu-bottom-3\n vu-right-2\n vu-px-2\n vu-py-2 \n','\n'])),function(e){return e.disabled?'vu-cursor-not-allowed\n vu-opacity-25 \n':''}),Hn=function(e){var n=e.$fullWidth,r=e.onClickTextAreaButton,i=e.disabled,o=e.disableTextAreaButton,s=e.icon,a=Ie(e,['$fullWidth','onClickTextAreaButton','disabled','disableTextAreaButton','icon']);return t.createElement(Pn,{$fullWidth:n},t.createElement(Dn,Oe({disabled:i,rows:2},a,{onKeyDown:function(e){'Enter'===e.key&&(e.preventDefault(),r())}})),t.createElement(Rn,{onClick:r,disabled:o},t.createElement(Fn,{svg:s,size:n?48:40})))},zn=Nt.div(yn||(yn=Pe(['\n vu-flex\n vu-justify-between\n vu-mb-10\n'],['\n vu-flex\n vu-justify-between\n vu-mb-10\n']))),Kn=Nt.div(wn||(wn=Pe(['\n vu-font-semibold\n'],['\n vu-font-semibold\n']))),Vn=Nt.div(Bn||(Bn=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n']))),qn='data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20y%3D%2211.0137%22%20width%3D%2256.1096%22%20height%3D%2242.9589%22%20rx%3D%2210.2851%22%20fill%3D%22url%28%23paint0_linear_875_570%29%22%2F%3E%3Cpath%20d%3D%22M6.13672%2023.2959C7.30322%2023.3%208.4716%2023.2979%209.6381%2023.2959C11.5184%2029.4229%2013.4006%2035.552%2015.2696%2041.6831C14.1069%2041.6953%2012.9441%2041.6749%2011.7833%2041.6974C9.86351%2035.5785%208.00763%2029.4331%206.13672%2023.2959Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M17.6948%2023.2977C18.8651%2023.2977%2020.0353%2023.2936%2021.2075%2023.2977C19.5394%2028.7308%2017.8921%2034.1721%2016.2052%2039.599C15.5741%2037.7152%2015.0218%2035.8028%2014.4414%2033.9027C15.5403%2030.3718%2016.596%2026.8266%2017.6948%2023.2977Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.5477%2023.2949L23.6454%2023.3092C24.8983%2023.5337%2026.17%2023.4133%2027.4342%2023.5011C27.4905%2024.4277%2027.4868%2025.3584%2027.4173%2026.2829C26.1174%2026.3482%2024.8119%2026.2339%2023.5195%2026.4054C23.5778%2025.3686%2023.5458%2024.3317%2023.5477%2023.2949Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.5518%2041.6868C23.5593%2040.6194%2023.5292%2039.5499%2023.5743%2038.4805C24.8686%2038.5131%2026.1647%2038.4886%2027.4608%2038.4968C27.4608%2039.5601%2027.4626%2040.6235%2027.4664%2041.6889C26.1609%2041.6889%2024.8554%2041.6889%2023.5518%2041.6868Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.6454%2023.3102C27.1824%2023.2694%2030.7195%2023.2939%2034.2566%2023.3C34.2528%2024.3552%2034.2697%2025.4124%2034.2434%2026.4696C31.3563%2026.4635%2028.471%2026.4758%2025.5858%2026.4676C24.8964%2026.4574%2024.2033%2026.5166%2023.5195%2026.4064C24.8119%2026.2349%2026.1174%2026.3492%2027.4173%2026.2839C27.4868%2025.3593%2027.4905%2024.4287%2027.4342%2023.502C26.17%2023.4143%2024.8983%2023.5347%2023.6454%2023.3102Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M37.2069%2023.3033C38.7829%2023.291%2040.357%2023.291%2041.933%2023.3114C41.9368%2024.3544%2041.9255%2025.3994%2041.8935%2026.4423C40.3307%2026.4035%2038.7678%2026.4403%2037.205%2026.4199C37.2031%2025.381%2037.2012%2024.3421%2037.2069%2023.3033Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M37.2053%2038.5327C38.8752%2038.5163%2040.5433%2038.5612%2042.2132%2038.5C42.3447%2039.5531%2042.3371%2040.6206%2042.1869%2041.6696C40.5263%2041.7043%2038.8658%2041.6839%2037.2053%2041.686C37.2034%2040.6349%2037.2015%2039.5838%2037.2053%2038.5327Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M41.9281%2023.3115C43.3877%2023.3809%2044.8246%2023.7932%2046.1151%2024.5361L46.1132%2024.5729C45.9874%2026.075%2046.1452%2027.5874%2045.9554%2029.0855C45.112%2027.5119%2043.5473%2026.5506%2041.8887%2026.4424C41.9206%2025.3994%2041.9319%2024.3545%2041.9281%2023.3115Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M46.1094%2024.5732C48.1625%2025.7897%2049.4943%2028.1572%2049.8362%2030.639C50.1649%2033.0086%2049.9301%2035.566%2048.7561%2037.6396C48.1081%2038.8254%2047.1463%2039.7724%2046.0625%2040.4704C45.9892%2038.9744%2046.1752%2037.462%2045.9141%2035.9803C46.8608%2033.8332%2046.8195%2031.2493%2045.9516%2029.0858C46.1413%2027.5878%2045.9836%2026.0754%2046.1094%2024.5732Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.5449%2030.891C26.6443%2030.8869%2029.7437%2030.8849%2032.8431%2030.8889C32.8431%2031.9462%2032.8412%2033.0034%2032.845%2034.0606C29.7794%2034.0586%2026.7119%2034.0892%2023.6482%2034.0443C25.0232%2033.7851%2026.4245%2033.9402%2027.8127%2033.8463C27.8597%2032.9258%2027.854%2032.0033%2027.7977%2031.0828C26.3832%2031.0277%2024.9688%2031.0563%2023.5543%2031.0134L23.5449%2030.891Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M23.5525%2031.0137C24.967%2031.0565%2026.3814%2031.028%2027.7959%2031.0831C27.8522%2032.0035%2027.8579%2032.9261%2027.8109%2033.8466C26.4227%2033.9404%2025.0214%2033.7853%2023.6464%2034.0445L23.5469%2034.0588C23.5563%2033.0424%2023.5506%2032.028%2023.5525%2031.0137Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.2022%2038.4756C43.7162%2038.3185%2045.1287%2037.4061%2045.9139%2035.9795C46.175%2037.4612%2045.9891%2038.9736%2046.0623%2040.4697C44.8639%2041.1718%2043.5302%2041.5555%2042.1777%2041.6698C42.328%2040.6207%2042.3355%2039.5533%2042.204%2038.5001L42.2022%2038.4756Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M27.459%2038.496C28.7081%2038.494%2029.9573%2038.496%2031.2083%2038.496C31.2215%2039.5594%2031.2177%2040.6227%2031.1989%2041.6881C29.9535%2041.6881%2028.7081%2041.6881%2027.4646%2041.6881C27.4609%2040.6227%2027.459%2039.5594%2027.459%2038.496Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M31.2164%2038.4965C32.2308%2038.4944%2033.247%2038.4944%2034.2632%2038.4985C34.2632%2039.5619%2034.2632%2040.6232%2034.2632%2041.6865C33.2451%2041.6906%2032.2251%2041.6886%2031.207%2041.6886C31.2258%2040.6232%2031.2296%2039.5598%2031.2164%2038.4965Z%22%20fill%3D%22white%22%2F%3E%3Cellipse%20cx%3D%2239.5543%22%20cy%3D%2232.6579%22%20rx%3D%222.15589%22%20ry%3D%222.34246%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M58.1257%204.07113C58.3053%203.91439%2058.6085%204.03333%2058.6455%204.26568C59.0551%205.58264%2059.6734%206.86572%2060.6407%207.86604C61.2897%208.54657%2062.097%209.06327%2062.9721%209.40117C63.2494%209.48152%2063.247%209.92418%2062.9697%2010.0029C62.1293%2010.3267%2061.3511%2010.8158%2060.7178%2011.4577C59.6852%2012.4856%2059.0496%2013.8349%2058.6172%2015.2093C58.5195%2015.4937%2058.0572%2015.4417%2058.0138%2015.1455C57.5712%2013.723%2056.8828%2012.3352%2055.7824%2011.3065C55.1807%2010.7362%2054.4592%2010.303%2053.6881%2010.0029C53.4076%209.92654%2053.4053%209.47915%2053.6857%209.40039C54.842%208.96166%2055.8628%208.18346%2056.5913%207.18393C57.227%206.32618%2057.6712%205.34004%2057.9902%204.32476C58.0241%204.23575%2058.0446%204.13178%2058.1257%204.07113Z%22%20fill%3D%22url%28%23paint1_linear_875_570%29%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_875_570%22%20x1%3D%22-5.10998%22%20y1%3D%2230.8996%22%20x2%3D%2257.7403%22%20y2%3D%2232.9819%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220.0561277%22%20stop-color%3D%22%23A42783%22%2F%3E%3Cstop%20offset%3D%220.503827%22%20stop-color%3D%22%23E22432%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F59620%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_875_570%22%20x1%3D%2253.9149%22%20y1%3D%229.69863%22%20x2%3D%2262.682%22%20y2%3D%229.69863%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23B2256F%22%2F%3E%3Cstop%20offset%3D%220.415197%22%20stop-color%3D%22%23D52440%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F08123%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',Gn='data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M13.41%2C12l6.29-6.29c.39-.39%2C.39-1.02%2C0-1.41s-1.02-.39-1.41%2C0l-6.29%2C6.29L5.71%2C4.29c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l6.29%2C6.29-6.29%2C6.29c-.39%2C.39-.39%2C1.02%2C0%2C1.41%2C.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29l6.29-6.29%2C6.29%2C6.29c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.39-.39%2C.39-1.02%2C0-1.41l-6.29-6.29Z%22%2F%3E%3C%2Fsvg%3E',Wn='data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.92%2C11h-5.92V5.08c0-.55-.45-1-1-1s-1%2C.45-1%2C1v5.92H5.08c-.55%2C0-1%2C.45-1%2C1s.45%2C1%2C1%2C1h5.92v5.92c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.92h5.92c.55%2C0%2C1-.45%2C1-1s-.45-1-1-1Z%22%2F%3E%3C%2Fsvg%3E',Yn='data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%20%20%3Cpath%20d%3D%22m5.09%2C20.53c-.13%2C0-.26-.02-.38-.08-.37-.15-.62-.52-.62-.92V7.24c0-.68.26-1.31.74-1.79s1.12-.74%2C1.79-.74h10.75c.68%2C0%2C1.31.26%2C1.79.74s.74%2C1.12.74%2C1.79v7.68c0%2C.68-.26%2C1.31-.74%2C1.79-.48.48-1.12.74-1.79.74h-8.8l-2.78%2C2.78c-.19.19-.45.29-.71.29Zm1.54-13.82c-.14%2C0-.28.06-.38.16s-.16.24-.16.38v9.87l1.36-1.36c.19-.19.44-.29.71-.29h9.22c.14%2C0%2C.28-.06.38-.16s.16-.24.16-.38v-7.68c0-.14-.06-.28-.16-.38s-.24-.16-.38-.16H6.62Z%22%2F%3E%3C%2Fsvg%3E',Xn=function(e){var n=e.handleClickBackBtn,r=e.getNewChatId,i=e.openSideBar;return t.createElement(zn,null,t.createElement(Vn,null,t.createElement(Mt,null,t.createElement(Fn,{svg:qn,size:36})),t.createElement(Kn,null,'AI Assistant')),t.createElement(Mt,{className:'lg:vu-hidden'},t.createElement(Sn,{name:'new',icon:Yn,onClick:function(){return i(!0)}}),t.createElement(Sn,{name:'new',icon:Wn,onClick:r})),t.createElement(Mt,null,t.createElement(Sn,{name:'back',icon:Gn,onClick:n})))},Jn=Nt.div(xn||(xn=Pe(['\n vu-w-full\n vu-flex\n vu-justify-center\n vu-items-center\n vu-grow\n vu-gap-3.5\n'],['\n vu-w-full\n vu-flex\n vu-justify-center\n vu-items-center\n vu-grow\n vu-gap-3.5\n']))),Zn=Nt.div(Cn||(Cn=Pe(['\n vu-flex\n vu-flex-col\n'],['\n vu-flex\n vu-flex-col\n']))),$n=Nt.p(_n||(_n=Pe(['\n vu-text-[68px]\n vu-font-medium\n vu-m-0\n'],['\n vu-text-[68px]\n vu-font-medium\n vu-m-0\n']))),er=Nt.div(jn||(jn=Pe(['\n vu-text-2xl\n'],['\n vu-text-2xl\n']))),tr=function(e){var n=e.errorHeading,r=e.errorInfo;return t.createElement(Jn,null,t.createElement(Fn,{svg:'data:image/svg+xml,%3Csvg%20width%3D%22194%22%20height%3D%22194%22%20viewBox%3D%220%200%20194%20194%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22error_FILL0_wght400_GRAD0_opsz24%201%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M96.9994%20137.416C99.2896%20137.416%20101.209%20136.641%20102.759%20135.092C104.308%20133.543%20105.083%20131.623%20105.083%20129.333C105.083%20127.042%20104.308%20125.123%20102.759%20123.573C101.209%20122.024%2099.2896%20121.249%2096.9994%20121.249C94.7091%20121.249%2092.7893%20122.024%2091.24%20123.573C89.6907%20125.123%2088.916%20127.042%2088.916%20129.333C88.916%20131.623%2089.6907%20133.543%2091.24%20135.092C92.7893%20136.641%2094.7091%20137.416%2096.9994%20137.416ZM88.916%20105.083H105.083V56.5827H88.916V105.083ZM96.9994%20177.833C85.8174%20177.833%2075.3091%20175.711%2065.4743%20171.467C55.6396%20167.223%2047.0848%20161.464%2039.8098%20154.189C32.5348%20146.914%2026.7754%20138.359%2022.5316%20128.524C18.2879%20118.69%2016.166%20108.181%2016.166%2096.9994C16.166%2085.8174%2018.2879%2075.3091%2022.5316%2065.4743C26.7754%2055.6396%2032.5348%2047.0848%2039.8098%2039.8098C47.0848%2032.5348%2055.6396%2026.7754%2065.4743%2022.5316C75.3091%2018.2879%2085.8174%2016.166%2096.9994%2016.166C108.181%2016.166%20118.69%2018.2879%20128.524%2022.5316C138.359%2026.7754%20146.914%2032.5348%20154.189%2039.8098C161.464%2047.0848%20167.223%2055.6396%20171.467%2065.4743C175.711%2075.3091%20177.833%2085.8174%20177.833%2096.9994C177.833%20108.181%20175.711%20118.69%20171.467%20128.524C167.223%20138.359%20161.464%20146.914%20154.189%20154.189C146.914%20161.464%20138.359%20167.223%20128.524%20171.467C118.69%20175.711%20108.181%20177.833%2096.9994%20177.833ZM96.9994%20161.666C115.052%20161.666%20130.343%20155.401%20142.872%20142.872C155.401%20130.343%20161.666%20115.052%20161.666%2096.9994C161.666%2078.9466%20155.401%2063.6556%20142.872%2051.1264C130.343%2038.5973%20115.052%2032.3327%2096.9994%2032.3327C78.9466%2032.3327%2063.6556%2038.5973%2051.1264%2051.1264C38.5973%2063.6556%2032.3327%2078.9466%2032.3327%2096.9994C32.3327%20115.052%2038.5973%20130.343%2051.1264%20142.872C63.6556%20155.401%2078.9466%20161.666%2096.9994%20161.666Z%22%20fill%3D%22url%28%23paint0_linear_956_1542%29%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_956_1542%22%20x1%3D%2296.9994%22%20y1%3D%2216.166%22%20x2%3D%2296.9994%22%20y2%3D%22177.833%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD0B91%22%2F%3E%3Cstop%20offset%3D%220.5%22%20stop-color%3D%22%23E3024D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF6000%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',size:194}),t.createElement(Zn,null,t.createElement($n,null,n),r&&t.createElement(er,null,r)))},nr='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{};function rr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,'default')?e.default:e}function ir(e){if(e.__esModule)return e;var t=e.default;if('function'==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,'__esModule',{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var or,sr={exports:{}},ar={exports:{}},Ar={};var lr,cr,ur,dr,fr,hr,pr,gr,mr,vr,br,yr,wr,Br,xr={};
|
|
2
2
|
/** @license React v16.13.1
|
|
3
3
|
* react-is.development.js
|
|
4
4
|
*
|
|
@@ -6,42 +6,12 @@ import*as e from'react';import t,{useState as n,useEffect as r,useReducer as i,u
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/function
|
|
9
|
+
*/function Cr(){return cr||(cr=1,'production'===process.env.NODE_ENV?ar.exports=function(){if(or)return Ar;or=1;var e='function'==typeof Symbol&&Symbol.for,t=e?Symbol.for('react.element'):60103,n=e?Symbol.for('react.portal'):60106,r=e?Symbol.for('react.fragment'):60107,i=e?Symbol.for('react.strict_mode'):60108,o=e?Symbol.for('react.profiler'):60114,s=e?Symbol.for('react.provider'):60109,a=e?Symbol.for('react.context'):60110,A=e?Symbol.for('react.async_mode'):60111,l=e?Symbol.for('react.concurrent_mode'):60111,c=e?Symbol.for('react.forward_ref'):60112,u=e?Symbol.for('react.suspense'):60113,d=e?Symbol.for('react.suspense_list'):60120,f=e?Symbol.for('react.memo'):60115,h=e?Symbol.for('react.lazy'):60116,p=e?Symbol.for('react.block'):60121,g=e?Symbol.for('react.fundamental'):60117,m=e?Symbol.for('react.responder'):60118,v=e?Symbol.for('react.scope'):60119;function b(e){if('object'==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case A:case l:case r:case o:case i:case u:return e;default:switch(e=e&&e.$$typeof){case a:case c:case h:case f:case s:return e;default:return d}}case n:return d}}}function y(e){return b(e)===l}return Ar.AsyncMode=A,Ar.ConcurrentMode=l,Ar.ContextConsumer=a,Ar.ContextProvider=s,Ar.Element=t,Ar.ForwardRef=c,Ar.Fragment=r,Ar.Lazy=h,Ar.Memo=f,Ar.Portal=n,Ar.Profiler=o,Ar.StrictMode=i,Ar.Suspense=u,Ar.isAsyncMode=function(e){return y(e)||b(e)===A},Ar.isConcurrentMode=y,Ar.isContextConsumer=function(e){return b(e)===a},Ar.isContextProvider=function(e){return b(e)===s},Ar.isElement=function(e){return'object'==typeof e&&null!==e&&e.$$typeof===t},Ar.isForwardRef=function(e){return b(e)===c},Ar.isFragment=function(e){return b(e)===r},Ar.isLazy=function(e){return b(e)===h},Ar.isMemo=function(e){return b(e)===f},Ar.isPortal=function(e){return b(e)===n},Ar.isProfiler=function(e){return b(e)===o},Ar.isStrictMode=function(e){return b(e)===i},Ar.isSuspense=function(e){return b(e)===u},Ar.isValidElementType=function(e){return'string'==typeof e||'function'==typeof e||e===r||e===l||e===o||e===i||e===u||e===d||'object'==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===s||e.$$typeof===a||e.$$typeof===c||e.$$typeof===g||e.$$typeof===m||e.$$typeof===v||e.$$typeof===p)},Ar.typeOf=b,Ar}():ar.exports=(lr||(lr=1,'production'!==process.env.NODE_ENV&&function(){var e='function'==typeof Symbol&&Symbol.for,t=e?Symbol.for('react.element'):60103,n=e?Symbol.for('react.portal'):60106,r=e?Symbol.for('react.fragment'):60107,i=e?Symbol.for('react.strict_mode'):60108,o=e?Symbol.for('react.profiler'):60114,s=e?Symbol.for('react.provider'):60109,a=e?Symbol.for('react.context'):60110,A=e?Symbol.for('react.async_mode'):60111,l=e?Symbol.for('react.concurrent_mode'):60111,c=e?Symbol.for('react.forward_ref'):60112,u=e?Symbol.for('react.suspense'):60113,d=e?Symbol.for('react.suspense_list'):60120,f=e?Symbol.for('react.memo'):60115,h=e?Symbol.for('react.lazy'):60116,p=e?Symbol.for('react.block'):60121,g=e?Symbol.for('react.fundamental'):60117,m=e?Symbol.for('react.responder'):60118,v=e?Symbol.for('react.scope'):60119;function b(e){if('object'==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var p=e.type;switch(p){case A:case l:case r:case o:case i:case u:return p;default:var g=p&&p.$$typeof;switch(g){case a:case c:case h:case f:case s:return g;default:return d}}case n:return d}}}var y=A,w=l,B=a,x=s,C=t,_=c,j=r,F=h,E=f,S=n,k=o,U=i,Q=u,L=!1;function O(e){return b(e)===l}xr.AsyncMode=y,xr.ConcurrentMode=w,xr.ContextConsumer=B,xr.ContextProvider=x,xr.Element=C,xr.ForwardRef=_,xr.Fragment=j,xr.Lazy=F,xr.Memo=E,xr.Portal=S,xr.Profiler=k,xr.StrictMode=U,xr.Suspense=Q,xr.isAsyncMode=function(e){return L||(L=!0),O(e)||b(e)===A},xr.isConcurrentMode=O,xr.isContextConsumer=function(e){return b(e)===a},xr.isContextProvider=function(e){return b(e)===s},xr.isElement=function(e){return'object'==typeof e&&null!==e&&e.$$typeof===t},xr.isForwardRef=function(e){return b(e)===c},xr.isFragment=function(e){return b(e)===r},xr.isLazy=function(e){return b(e)===h},xr.isMemo=function(e){return b(e)===f},xr.isPortal=function(e){return b(e)===n},xr.isProfiler=function(e){return b(e)===o},xr.isStrictMode=function(e){return b(e)===i},xr.isSuspense=function(e){return b(e)===u},xr.isValidElementType=function(e){return'string'==typeof e||'function'==typeof e||e===r||e===l||e===o||e===i||e===u||e===d||'object'==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===s||e.$$typeof===a||e.$$typeof===c||e.$$typeof===g||e.$$typeof===m||e.$$typeof===v||e.$$typeof===p)},xr.typeOf=b}()),xr)),ar.exports}
|
|
10
10
|
/*
|
|
11
11
|
object-assign
|
|
12
12
|
(c) Sindre Sorhus
|
|
13
13
|
@license MIT
|
|
14
|
-
*/function dr(){if($n)return Zn;$n=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Zn=function(){try{if(!Object.assign)return!1;var e=new String('abc');if(e[5]='de','5'===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t['_'+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if('0123456789'!==r.join(''))return!1;var i={};return'abcdefghijklmnopqrst'.split('').forEach(function(e){i[e]=e}),'abcdefghijklmnopqrst'===Object.keys(Object.assign({},i)).join('')}catch(e){return!1}}()?Object.assign:function(r,i){for(var o,s,a=function(e){if(null==e)throw new TypeError('Object.assign cannot be called with null or undefined');return Object(e)}(r),A=1;A<arguments.length;A++){for(var l in o=Object(arguments[A]))t.call(o,l)&&(a[l]=o[l]);if(e){s=e(o);for(var c=0;c<s.length;c++)n.call(o,s[c])&&(a[s[c]]=o[s[c]])}}return a},Zn}function fr(){if(tr)return er;tr=1;return er='SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'}function hr(){return rr?nr:(rr=1,nr=Function.call.bind(Object.prototype.hasOwnProperty))}if('production'!==process.env.NODE_ENV){var pr=ur();Gn.exports=function(){if(ar)return sr;ar=1;var e=ur(),t=dr(),n=fr(),r=hr(),i=function(){if(or)return ir;or=1;var e=function(){};if('production'!==process.env.NODE_ENV){var t=fr(),n={},r=hr();e=function(e){var t='Warning: '+e;try{throw new Error(t)}catch(e){}}}function i(i,o,s,a,A){if('production'!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var c;try{if('function'!=typeof i[l]){var u=Error((a||'React class')+': '+s+' type `'+l+'` is invalid; it must be a function, usually from the `prop-types` package, but received `'+typeof i[l]+'`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');throw u.name='Invariant Violation',u}c=i[l](o,l,a,s,null,t)}catch(e){c=e}if(!c||c instanceof Error||e((a||'React class')+': type specification of '+s+' `'+l+'` is invalid; the type checker function must return `null` or an `Error` but returned a '+typeof c+'. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).'),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var d=A?A():'';e('Failed '+s+' type: '+c.message+(null!=d?d:''))}}}return i.resetWarningCache=function(){'production'!==process.env.NODE_ENV&&(n={})},ir=i}(),o=function(){};function s(){return null}return'production'!==process.env.NODE_ENV&&(o=function(e){var t='Warning: '+e;try{throw new Error(t)}catch(e){}}),sr=function(a,A){var l='function'==typeof Symbol&&Symbol.iterator,c='<<anonymous>>',u={array:p('array'),bigint:p('bigint'),bool:p('boolean'),func:p('function'),number:p('number'),object:p('object'),string:p('string'),symbol:p('symbol'),any:h(s),arrayOf:function(e){return h(function(t,r,i,o,s){if('function'!=typeof e)return new f('Property `'+s+'` of component `'+i+'` has invalid PropType notation inside arrayOf.');var a=t[r];if(!Array.isArray(a))return new f('Invalid '+o+' `'+s+'` of type `'+v(a)+'` supplied to `'+i+'`, expected an array.');for(var A=0;A<a.length;A++){var l=e(a,A,i,o,s+'['+A+']',n);if(l instanceof Error)return l}return null})},element:h(function(e,t,n,r,i){var o=e[t];return a(o)?null:new f('Invalid '+r+' `'+i+'` of type `'+v(o)+'` supplied to `'+n+'`, expected a single ReactElement.')}),elementType:h(function(t,n,r,i,o){var s=t[n];return e.isValidElementType(s)?null:new f('Invalid '+i+' `'+o+'` of type `'+v(s)+'` supplied to `'+r+'`, expected a single ReactElement type.')}),instanceOf:function(e){return h(function(t,n,r,i,o){if(!(t[n]instanceof e)){var s=e.name||c;return new f('Invalid '+i+' `'+o+'` of type `'+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:c)+'` supplied to `'+r+'`, expected instance of `'+s+'`.')}var a;return null})},node:h(function(e,t,n,r,i){return m(e[t])?null:new f('Invalid '+r+' `'+i+'` supplied to `'+n+'`, expected a ReactNode.')}),objectOf:function(e){return h(function(t,i,o,s,a){if('function'!=typeof e)return new f('Property `'+a+'` of component `'+o+'` has invalid PropType notation inside objectOf.');var A=t[i],l=v(A);if('object'!==l)return new f('Invalid '+s+' `'+a+'` of type `'+l+'` supplied to `'+o+'`, expected an object.');for(var c in A)if(r(A,c)){var u=e(A,c,o,s,a+'.'+c,n);if(u instanceof Error)return u}return null})},oneOf:function(e){return Array.isArray(e)?h(function(t,n,r,i,o){for(var s=t[n],a=0;a<e.length;a++)if(d(s,e[a]))return null;var A=JSON.stringify(e,function(e,t){return'symbol'===b(t)?String(t):t});return new f('Invalid '+i+' `'+o+'` of value `'+String(s)+'` supplied to `'+r+'`, expected one of '+A+'.')}):('production'!==process.env.NODE_ENV&&o(arguments.length>1?'Invalid arguments supplied to oneOf, expected an array, got '+arguments.length+' arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).':'Invalid argument supplied to oneOf, expected an array.'),s)},oneOfType:function(e){if(!Array.isArray(e))return'production'!==process.env.NODE_ENV&&o('Invalid argument supplied to oneOfType, expected an instance of array.'),s;for(var t=0;t<e.length;t++){var i=e[t];if('function'!=typeof i)return o('Invalid argument supplied to oneOfType. Expected an array of check functions, but received '+y(i)+' at index '+t+'.'),s}return h(function(t,i,o,s,a){for(var A=[],l=0;l<e.length;l++){var c=(0,e[l])(t,i,o,s,a,n);if(null==c)return null;c.data&&r(c.data,'expectedType')&&A.push(c.data.expectedType)}return new f('Invalid '+s+' `'+a+'` supplied to `'+o+'`'+(A.length>0?', expected one of type ['+A.join(', ')+']':'')+'.')})},shape:function(e){return h(function(t,r,i,o,s){var a=t[r],A=v(a);if('object'!==A)return new f('Invalid '+o+' `'+s+'` of type `'+A+'` supplied to `'+i+'`, expected `object`.');for(var l in e){var c=e[l];if('function'!=typeof c)return g(i,o,s,l,b(c));var u=c(a,l,i,o,s+'.'+l,n);if(u)return u}return null})},exact:function(e){return h(function(i,o,s,a,A){var l=i[o],c=v(l);if('object'!==c)return new f('Invalid '+a+' `'+A+'` of type `'+c+'` supplied to `'+s+'`, expected `object`.');var u=t({},i[o],e);for(var d in u){var h=e[d];if(r(e,d)&&'function'!=typeof h)return g(s,a,A,d,b(h));if(!h)return new f('Invalid '+a+' `'+A+'` key `'+d+'` supplied to `'+s+'`.\nBad object: '+JSON.stringify(i[o],null,' ')+'\nValid keys: '+JSON.stringify(Object.keys(e),null,' '));var p=h(l,d,s,a,A+'.'+d,n);if(p)return p}return null})}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&'object'==typeof t?t:{},this.stack=''}function h(e){if('production'!==process.env.NODE_ENV)var t={},r=0;function i(i,s,a,l,u,d,h){if(l=l||c,d=d||a,h!==n){if(A){var p=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 p.name='Invariant Violation',p}if('production'!==process.env.NODE_ENV&&'undefined'!=typeof console){var g=l+':'+a;!t[g]&&r<3&&(o('You are manually calling a React.PropTypes validation function for the `'+d+'` prop on `'+l+'`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.'),t[g]=!0,r++)}}return null==s[a]?i?null===s[a]?new f('The '+u+' `'+d+'` is marked as required in `'+l+'`, but its value is `null`.'):new f('The '+u+' `'+d+'` is marked as required in `'+l+'`, but its value is `undefined`.'):null:e(s,a,l,u,d)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function p(e){return h(function(t,n,r,i,o,s){var a=t[n];return v(a)!==e?new f('Invalid '+i+' `'+o+'` of type `'+b(a)+'` supplied to `'+r+'`, expected `'+e+'`.',{expectedType:e}):null})}function g(e,t,n,r,i){return new f((e||'React class')+': '+t+' type `'+n+'.'+r+'` is invalid; it must be a function, usually from the `prop-types` package, but received `'+i+'`.')}function m(e){switch(typeof e){case'number':case'string':case'undefined':return!0;case'boolean':return!e;case'object':if(Array.isArray(e))return e.every(m);if(null===e||a(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e['@@iterator']);if('function'==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!m(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?'array':e instanceof RegExp?'object':function(e,t){return'symbol'===e||!!t&&('Symbol'===t['@@toStringTag']||'function'==typeof Symbol&&t instanceof Symbol)}(t,e)?'symbol':t}function b(e){if(null==e)return''+e;var t=v(e);if('object'===t){if(e instanceof Date)return'date';if(e instanceof RegExp)return'regexp'}return t}function y(e){var t=b(e);switch(t){case'array':case'object':return'an '+t;case'boolean':case'date':case'regexp':return'a '+t;default:return t}}return f.prototype=Error.prototype,u.checkPropTypes=i,u.resetWarningCache=i.resetWarningCache,u.PropTypes=u,u},sr}()(pr.isElement,!0)}else Gn.exports=function(){if(lr)return Ar;lr=1;var e=fr();function t(){}function n(){}return n.resetWarningCache=t,Ar=function(){function r(t,n,r,i,o,s){if(s!==e){var a=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 a.name='Invariant Violation',a}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}()();var gr=Gn.exports,mr=Kn(gr),vr=Or(),br=e=>kr(e,vr),yr=Or();br.write=e=>kr(e,yr);var wr=Or();br.onStart=e=>kr(e,wr);var Br=Or();br.onFrame=e=>kr(e,Br);var xr=Or();br.onFinish=e=>kr(e,xr);var Cr=[];br.setTimeout=(e,t)=>{const n=br.now()+t,r=()=>{const e=Cr.findIndex(e=>e.cancel==r);~e&&Cr.splice(e,1),Er-=~e?1:0},i={time:n,handler:e,cancel:r};return Cr.splice(_r(n),0,i),Er+=1,Ur(),i};var _r=e=>~(~Cr.findIndex(t=>t.time>e)||~Cr.length);br.cancel=e=>{wr.delete(e),Br.delete(e),xr.delete(e),vr.delete(e),yr.delete(e)},br.sync=e=>{Sr=!0,br.batchedUpdates(e),Sr=!1},br.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,br.onStart(n)}return r.handler=e,r.cancel=()=>{wr.delete(n),t=null},r};var jr='undefined'!=typeof window?window.requestAnimationFrame:()=>{};br.use=e=>jr=e,br.now='undefined'!=typeof performance?()=>performance.now():Date.now,br.batchedUpdates=e=>e(),br.catch=console.error,br.frameLoop='always',br.advance=()=>{'demand'!==br.frameLoop||Lr()};var Fr=-1,Er=0,Sr=!1;function kr(e,t){Sr?(t.delete(e),e(0)):(t.add(e),Ur())}function Ur(){Fr<0&&(Fr=0,'demand'!==br.frameLoop&&jr(Qr))}function Qr(){~Fr&&(jr(Qr),br.batchedUpdates(Lr))}function Lr(){const e=Fr;Fr=br.now();const t=_r(Fr);t&&(Ir(Cr.splice(0,t),e=>e.handler()),Er-=t),Er?(wr.flush(),vr.flush(e?Math.min(64,Fr-e):16.667),Br.flush(),yr.flush(),xr.flush()):Fr=-1}function Or(){let e=new Set,t=e;return{add(n){Er+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Er-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Er-=t.size,Ir(t,t=>t(n)&&e.add(t)),Er+=e.size,t=e)}}}function Ir(e,t){e.forEach(e=>{try{t(e)}catch(e){br.catch(e)}})}var Nr=Object.defineProperty,Tr={};function Mr(){}((e,t)=>{for(var n in t)Nr(e,n,{get:t[n],enumerable:!0})})(Tr,{assign:()=>Zr,colors:()=>Yr,createStringInterpolator:()=>Vr,skipAnimation:()=>Xr,to:()=>qr,willAdvance:()=>Jr});var Pr={arr:Array.isArray,obj:e=>!!e&&'Object'===e.constructor.name,fun:e=>'function'==typeof e,str:e=>'string'==typeof e,num:e=>'number'==typeof e,und:e=>void 0===e};function Dr(e,t){if(Pr.arr(e)){if(!Pr.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var Rr=(e,t)=>e.forEach(t);function Hr(e,t,n){if(Pr.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var zr=e=>Pr.und(e)?[]:Pr.arr(e)?e:[e];function Kr(e,t){if(e.size){const n=Array.from(e);e.clear(),Rr(n,t)}}var Vr,qr,Gr=(e,...t)=>Kr(e,e=>e(...t)),Wr=()=>'undefined'==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Yr=null,Xr=!1,Jr=Mr,Zr=e=>{e.to&&(qr=e.to),e.now&&(br.now=e.now),void 0!==e.colors&&(Yr=e.colors),null!=e.skipAnimation&&(Xr=e.skipAnimation),e.createStringInterpolator&&(Vr=e.createStringInterpolator),e.requestAnimationFrame&&br.use(e.requestAnimationFrame),e.batchedUpdates&&(br.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Jr=e.willAdvance),e.frameLoop&&(br.frameLoop=e.frameLoop)},$r=new Set,ei=[],ti=[],ni=0,ri={get idle(){return!$r.size&&!ei.length},start(e){ni>e.priority?($r.add(e),br.onStart(ii)):(oi(e),br(ai))},advance:ai,sort(e){if(ni)br.onFrame(()=>ri.sort(e));else{const t=ei.indexOf(e);~t&&(ei.splice(t,1),si(e))}},clear(){ei=[],$r.clear()}};function ii(){$r.forEach(oi),$r.clear(),br(ai)}function oi(e){ei.includes(e)||si(e)}function si(e){ei.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(ei,t=>t.priority>e.priority),0,e)}function ai(e){const t=ti;for(let n=0;n<ei.length;n++){const r=ei[n];ni=r.priority,r.idle||(Jr(r),r.advance(e),r.idle||t.push(r))}return ni=0,(ti=ei).length=0,(ei=t).length>0}var Ai='[-+]?\\d*\\.?\\d+',li=Ai+'%';function ci(...e){return'\\(\\s*('+e.join(')\\s*,\\s*(')+')\\s*\\)'}var ui=new RegExp('rgb'+ci(Ai,Ai,Ai)),di=new RegExp('rgba'+ci(Ai,Ai,Ai,Ai)),fi=new RegExp('hsl'+ci(Ai,li,li)),hi=new RegExp('hsla'+ci(Ai,li,li,Ai)),pi=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,gi=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,mi=/^#([0-9a-fA-F]{6})$/,vi=/^#([0-9a-fA-F]{8})$/;function bi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function yi(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=bi(i,r,e+1/3),s=bi(i,r,e),a=bi(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function wi(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Bi(e){return(parseFloat(e)%360+360)%360/360}function xi(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ci(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function _i(e){let t=function(e){let t;return'number'==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=mi.exec(e))?parseInt(t[1]+'ff',16)>>>0:Yr&&void 0!==Yr[e]?Yr[e]:(t=ui.exec(e))?(wi(t[1])<<24|wi(t[2])<<16|wi(t[3])<<8|255)>>>0:(t=di.exec(e))?(wi(t[1])<<24|wi(t[2])<<16|wi(t[3])<<8|xi(t[4]))>>>0:(t=pi.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+'ff',16)>>>0:(t=vi.exec(e))?parseInt(t[1],16)>>>0:(t=gi.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=fi.exec(e))?(255|yi(Bi(t[1]),Ci(t[2]),Ci(t[3])))>>>0:(t=hi.exec(e))?(yi(Bi(t[1]),Ci(t[2]),Ci(t[3]))|xi(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var ji=(e,t,n)=>{if(Pr.fun(e))return e;if(Pr.arr(e))return ji({range:e,output:t,extrapolate:n});if(Pr.str(e.output[0]))return Vr(e);const r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||'extend',a=r.extrapolateRight||r.extrapolate||'extend',A=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,s,a,A){let l=A?A(e):e;if(l<t){if('identity'===s)return l;'clamp'===s&&(l=t)}if(l>n){if('identity'===a)return l;'clamp'===a&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,o[t],o[t+1],i[t],i[t+1],A,s,a,r.map)}};var Fi=1.70158,Ei=1.525*Fi,Si=Fi+1,ki=2*Math.PI/3,Ui=2*Math.PI/4.5,Qi=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},Li={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Si*e*e*e-Fi*e*e,easeOutBack:e=>1+Si*Math.pow(e-1,3)+Fi*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Ei)/2:(Math.pow(2*e-2,2)*((Ei+1)*(2*e-2)+Ei)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*ki),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*ki)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ui)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ui)/2+1,easeInBounce:e=>1-Qi(1-e),easeOutBounce:Qi,easeInOutBounce:e=>e<.5?(1-Qi(1-2*e))/2:(1+Qi(2*e-1))/2,steps:(e,t='end')=>n=>{const r=(n='end'===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,e),t))(0,1,('end'===t?Math.floor(r):Math.ceil(r))/e)}},Oi=Symbol.for('FluidValue.get'),Ii=Symbol.for('FluidValue.observers'),Ni=e=>Boolean(e&&e[Oi]),Ti=e=>e&&e[Oi]?e[Oi]():e,Mi=e=>e[Ii]||null;function Pi(e,t){const n=e[Ii];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var Di=class{constructor(e){if(!e&&!(e=this.get))throw Error('Unknown getter');Ri(this,e)}},Ri=(e,t)=>Vi(e,Oi,t);function Hi(e,t){if(e[Oi]){let n=e[Ii];n||Vi(e,Ii,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function zi(e,t){const n=e[Ii];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Ii]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Ki,Vi=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),qi=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Gi=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Wi=new RegExp(`(${qi.source})(%|[a-z]+)`,'i'),Yi=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Xi=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Ji=e=>{const[t,n]=Zi(e);if(!t||Wr())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith('--')){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Xi.test(n)?Ji(n):n||e},Zi=e=>{const t=Xi.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},$i=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,eo=e=>{Ki||(Ki=Yr?new RegExp(`(${Object.keys(Yr).join('|')})(?!\\w)`,'g'):/^\b$/);const t=e.output.map(e=>Ti(e).replace(Xi,Ji).replace(Gi,_i).replace(Ki,_i)),n=t.map(e=>e.match(qi).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})),i=r.map(t=>ji({...e,output:t}));return e=>{const n=!Wi.test(t[0])&&t.find(e=>Wi.test(e))?.replace(qi,'');let r=0;return t[0].replace(qi,()=>`${i[r++](e)}${n||''}`).replace(Yi,$i)}},to='react-spring: ',no=e=>{const t=e;let n=!1;if('function'!=typeof t)throw new TypeError(`${to}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},ro=no(console.warn);var io=no(console.warn);function oo(e){return Pr.str(e)&&('#'==e[0]||/\d/.test(e)||!Wr()&&Xi.test(e)||e in(Yr||{}))}var so=Wr()?r:l;function ao(){const e=n()[1],t=(()=>{const e=o(!1);return so(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var Ao=e=>r(e,lo),lo=[];function co(e){const t=o();return r(()=>{t.current=e}),t.current}var uo=Symbol.for('Animated:node'),fo=e=>e&&e[uo],ho=(e,t)=>{return n=e,r=uo,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},po=e=>e&&e[uo]&&e[uo].getPayload(),go=class{constructor(){ho(this,this)}getPayload(){return this.payload||[]}},mo=class extends go{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Pr.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new mo(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Pr.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Pr.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},vo=class extends mo{constructor(e){super(0),this._string=null,this._toString=ji({output:[e,e]})}static create(e){return new vo(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Pr.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=ji({output:[this.getValue(),e]})),this._value=0,super.reset()}},bo={dependencies:null},yo=class extends go{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Hr(this.source,(n,r)=>{var i;(i=n)&&i[uo]===i?t[r]=n.getValue(e):Ni(n)?t[r]=Ti(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Rr(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Hr(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){bo.dependencies&&Ni(e)&&bo.dependencies.add(e);const t=po(e);t&&Rr(t,e=>this.add(e))}},wo=class extends yo{constructor(e){super(e)}static create(e){return new wo(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(Bo)),!0)}};function Bo(e){return(oo(e)?vo:mo).create(e)}function xo(e){const t=fo(e);return t?t.constructor:Pr.arr(e)?wo:oo(e)?vo:mo}var Co=(t,n)=>{const i=!Pr.fun(t)||t.prototype&&t.prototype.isReactComponent;return c((a,A)=>{const l=o(null),c=i&&s(e=>{l.current=function(e,t){e&&(Pr.fun(e)?e(t):e.current=t);return t}(A,e)},[A]),[u,d]=function(e,t){const n=new Set;bo.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new yo(e),bo.dependencies=null,[e,n]}(a,n),f=ao(),h=()=>{const e=l.current;if(i&&!e)return;!1===(!!e&&n.applyAnimatedValues(e,u.getValue(!0)))&&f()},p=new _o(h,d),g=o();so(()=>(g.current=p,Rr(d,e=>Hi(e,p)),()=>{g.current&&(Rr(g.current.deps,e=>zi(e,g.current)),br.cancel(g.current.update))})),r(h,[]),Ao(()=>()=>{const e=g.current;Rr(e.deps,t=>zi(t,e))});const m=n.getComponentProps(u.getValue());return e.createElement(t,{...m,ref:c})})},_o=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){'change'==e.type&&br.write(this.update)}};var jo=Symbol.for('AnimatedComponent'),Fo=e=>Pr.str(e)?e:e&&Pr.str(e.displayName)?e.displayName:Pr.fun(e)&&e.name||null;function Eo(e,...t){return Pr.fun(e)?e(...t):e}var So=(e,t)=>!0===e||!!(t&&e&&(Pr.fun(e)?e(t):zr(e).includes(t))),ko=(e,t)=>Pr.obj(e)?t&&e[t]:e,Uo=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Qo=e=>e,Lo=(e,t=Qo)=>{let n=Oo;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);Pr.und(n)||(r[i]=n)}return r},Oo=['config','onProps','onStart','onChange','onPause','onResume','onRest'],Io={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function No(e){const t=function(e){const t={};let n=0;if(Hr(e,(e,r)=>{Io[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return Hr(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function To(e){return e=Ti(e),Pr.arr(e)?e.map(To):oo(e)?Tr.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Mo(e){for(const t in e)return!0;return!1}function Po(e){return Pr.fun(e)||Pr.arr(e)&&Pr.obj(e[0])}function Do(e,t){e.ref?.delete(e),t?.delete(e)}function Ro(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var Ho={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},zo={...Ho.default,mass:1,damping:1,easing:Li.linear,clamp:!1},Ko=class{constructor(){this.velocity=0,Object.assign(this,zo)}};function Vo(e,t){if(Pr.und(t.decay)){const n=!Pr.und(t.tension)||!Pr.und(t.friction);!n&&Pr.und(t.frequency)&&Pr.und(t.damping)&&Pr.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var qo=[],Go=class{constructor(){this.changed=!1,this.values=qo,this.toValues=null,this.fromValues=qo,this.config=new Ko,this.immediate=!1}};function Wo(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let A,l,c=So(n.cancel??r?.cancel,t);if(c)f();else{Pr.und(n.pause)||(i.paused=So(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||So(e,t)),A=Eo(n.delay||0,t),e?(i.resumeQueue.add(d),o.pause()):(o.resume(),d())}function u(){i.resumeQueue.add(d),i.timeouts.delete(l),l.cancel(),A=l.time-br.now()}function d(){A>0&&!Tr.skipAnimation?(i.delayed=!0,l=br.setTimeout(f,A),i.pauseQueue.add(u),i.timeouts.add(l)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(u),i.timeouts.delete(l),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},s)}catch(e){a(e)}}})}var Yo=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?Zo(e.get()):t.every(e=>e.noop)?Xo(e.get()):Jo(e.get(),t.every(e=>e.finished)),Xo=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Jo=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Zo=e=>({value:e,cancelled:!0,finished:!1});function $o(e,t,n,r){const{callId:i,parentId:o,onRest:s}=t,{asyncTo:a,promise:A}=n;return o||e!==a||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const l=Lo(t,(e,t)=>'onRest'===t?void 0:e);let c,u;const d=new Promise((e,t)=>(c=e,u=t)),f=e=>{const t=i<=(n.cancelId||0)&&Zo(r)||i!==n.asyncId&&Jo(r,!1);if(t)throw e.result=t,u(e),e},h=(e,t)=>{const o=new ts,s=new ns;return(async()=>{if(Tr.skipAnimation)throw es(n),s.result=Jo(r,!1),u(s),s;f(o);const a=Pr.obj(e)?{...e}:{...t,to:e};a.parentId=i,Hr(l,(e,t)=>{Pr.und(a[t])&&(a[t]=e)});const A=await r.start(a);return f(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),A})()};let p;if(Tr.skipAnimation)return es(n),Jo(r,!1);try{let t;t=Pr.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(c),d]),p=Jo(r.get(),!0,!1)}catch(e){if(e instanceof ts)p=e.result;else{if(!(e instanceof ns))throw e;p=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?a:void 0,n.promise=o?A:void 0)}return Pr.fun(s)&&br.batchedUpdates(()=>{s(p,r,r.item)}),p})():A}function es(e,t){Kr(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var ts=class extends Error{constructor(){super('An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.')}},ns=class extends Error{constructor(){super('SkipAnimationSignal')}},rs=e=>e instanceof os,is=1,os=class extends Di{constructor(){super(...arguments),this.id=is++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=fo(this);return e&&e.getValue()}to(...e){return Tr.to(this,e)}interpolate(...e){return ro(`${to}The "interpolate" function is deprecated in v9 (use "to" instead)`),Tr.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Pi(this,{type:'change',parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||ri.sort(this),Pi(this,{type:'priority',parent:this,priority:e})}},ss=Symbol.for('SpringPhase'),as=e=>(1&e[ss])>0,As=e=>(2&e[ss])>0,ls=e=>(4&e[ss])>0,cs=(e,t)=>t?e[ss]|=3:e[ss]&=-3,us=(e,t)=>t?e[ss]|=4:e[ss]&=-5,ds=class extends os{constructor(e,t){if(super(),this.animation=new Go,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Pr.und(e)||!Pr.und(t)){const n=Pr.obj(e)?{...e}:{...t,from:e};Pr.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(As(this)||this._state.asyncTo)||ls(this)}get goal(){return Ti(this.animation.to)}get velocity(){const e=fo(this);return e instanceof mo?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return as(this)}get isAnimating(){return As(this)}get isPaused(){return ls(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,s=po(r.to);!s&&Ni(r.to)&&(i=zr(Ti(r.to))),r.values.forEach((a,A)=>{if(a.done)return;const l=a.constructor==vo?1:s?s[A].lastPosition:i[A];let c=r.immediate,u=l;if(!c){if(u=a.lastPosition,o.tension<=0)return void(a.done=!0);let t=a.elapsedTime+=e;const n=r.fromValues[A],i=null!=a.v0?a.v0:a.v0=Pr.arr(o.velocity)?o.velocity[A]:o.velocity;let s;const d=o.precision||(n==l?.005:Math.min(1,.001*Math.abs(l-n)));if(Pr.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);u=n+i/(1-e)*(1-r),c=Math.abs(a.lastPosition-u)<=d,s=i*r}else{s=null==a.lastVelocity?i:a.lastVelocity;const t=o.restVelocity||d/10,r=o.clamp?0:o.bounce,A=!Pr.und(r),f=n==l?a.v0>0:n<l;let h,p=!1;const g=1,m=Math.ceil(e/g);for(let e=0;e<m&&(h=Math.abs(s)>t,h||(c=Math.abs(l-u)<=d,!c));++e){A&&(p=u==l||u>l==f,p&&(s=-s*r,u=l));s+=(1e-6*-o.tension*(u-l)+.001*-o.friction*s)/o.mass*g,u+=s*g}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,a.durationProgress>0&&(a.elapsedTime=o.duration*a.durationProgress,t=a.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,a.durationProgress=r),u=n+o.easing(r)*(l-n),s=(u-a.lastPosition)/e,c=1==r}a.lastVelocity=s,Number.isNaN(u)&&(c=!0)}s&&!s[A].done&&(c=!1),c?a.done=!0:t=!1,a.setValue(u,o.round)&&(n=!0)});const a=fo(this),A=a.getValue();if(t){const e=Ti(r.to);A===e&&!n||o.decay?n&&o.decay&&this._onChange(A):(a.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(A)}set(e){return br.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(As(this)){const{to:e,config:t}=this.animation;br.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return Pr.und(e)?(n=this.queue||[],this.queue=[]):n=[Pr.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>Yo(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),es(this._state,e&&this._lastCallId),br.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){'change'==e.type?this._start():'priority'==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||'';let{to:n,from:r}=e;n=Pr.obj(n)?n[t]:n,(null==n||Po(n))&&(n=void 0),r=Pr.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return as(this)||(e.reverse&&([n,r]=[r,n]),r=Ti(r),Pr.und(r)?fo(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Lo(e,(e,t)=>/^on/.test(t)?ko(e,n):e)),bs(this,e,'onProps'),ys(this,'onProps',e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error('Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?');const o=this._state;return Wo(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{ls(this)||(us(this,!0),Gr(o.pauseQueue),ys(this,'onPause',Jo(this,fs(this,this.animation.to)),this))},resume:()=>{ls(this)&&(us(this,!1),As(this)&&this._resume(),Gr(o.resumeQueue),ys(this,'onResume',Jo(this,fs(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=hs(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Zo(this));const r=!Pr.und(e.to),i=!Pr.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(Zo(this));this._lastToId=t.callId}const{key:o,defaultProps:s,animation:a}=this,{to:A,from:l}=a;let{to:c=A,from:u=l}=e;!i||r||t.default&&!Pr.und(c)||(c=u),t.reverse&&([c,u]=[u,c]);const d=!Dr(u,l);d&&(a.from=u),u=Ti(u);const f=!Dr(c,A);f&&this._focus(c);const h=Po(t.to),{config:p}=a,{decay:g,velocity:m}=p;(r||i)&&(p.velocity=0),t.config&&!h&&function(e,t,n){n&&(Vo(n={...n},t),t={...n,...t}),Vo(e,t),Object.assign(e,t);for(const t in zo)null==e[t]&&(e[t]=zo[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Pr.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r)}(p,Eo(t.config,o),t.config!==s.config?Eo(s.config,o):void 0);let v=fo(this);if(!v||Pr.und(c))return n(Jo(this,!0));const b=Pr.und(t.reset)?i&&!t.default:!Pr.und(u)&&So(t.reset,o),y=b?u:this.get(),w=To(c),B=Pr.num(w)||Pr.arr(w)||oo(w),x=!h&&(!B||So(s.immediate||t.immediate,o));if(f){const e=xo(c);if(e!==v.constructor){if(!x)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(w)}}const C=v.constructor;let _=Ni(c),j=!1;if(!_){const e=b||!as(this)&&d;(f||e)&&(j=Dr(To(y),w),_=!j),(Dr(a.immediate,x)||x)&&Dr(p.decay,g)&&Dr(p.velocity,m)||(_=!0)}if(j&&As(this)&&(a.changed&&!b?_=!0:_||this._stop(A)),!h&&((_||Ni(A))&&(a.values=v.getPayload(),a.toValues=Ni(c)?null:C==vo?[1]:zr(w)),a.immediate!=x&&(a.immediate=x,x||b||this._set(A)),_)){const{onRest:e}=a;Rr(vs,e=>bs(this,t,e));const r=Jo(this,fs(this,A));Gr(this._pendingCalls,r),this._pendingCalls.add(n),a.changed&&br.batchedUpdates(()=>{a.changed=!b,e?.(r,this),b?Eo(s.onRest,r):a.onStart?.(r,this)})}b&&this._set(y),h?n($o(t.to,t,this._state,this)):_?this._start():As(this)&&!f?this._pendingCalls.add(n):n(Xo(y))}_focus(e){const t=this.animation;e!==t.to&&(Mi(this)&&this._detach(),t.to=e,Mi(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Ni(t)&&(Hi(t,this),rs(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Ni(e)&&zi(e,this)}_set(e,t=!0){const n=Ti(e);if(!Pr.und(n)){const e=fo(this);if(!e||!Dr(n,e.getValue())){const r=xo(n);e&&e.constructor==r?e.setValue(n):ho(this,r.create(n)),e&&br.batchedUpdates(()=>{this._onChange(n,t)})}}return fo(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,ys(this,'onStart',Jo(this,fs(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Eo(this.animation.onChange,e,this)),Eo(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;fo(this).reset(Ti(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),As(this)||(cs(this,!0),ls(this)||this._resume())}_resume(){Tr.skipAnimation?this.finish():ri.start(this)}_stop(e,t){if(As(this)){cs(this,!1);const n=this.animation;Rr(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Pi(this,{type:'idle',parent:this});const r=t?Zo(this.get()):Jo(this.get(),fs(this,e??n.to));Gr(this._pendingCalls,r),n.changed&&(n.changed=!1,ys(this,'onRest',r,this))}}};function fs(e,t){const n=To(t);return Dr(To(e.get()),n)}function hs(e,t=e.loop,n=e.to){const r=Eo(t);if(r){const i=!0!==r&&No(r),o=(i||e).reverse,s=!i||i.reset;return ps({...e,loop:t,default:!1,pause:void 0,to:!o||Po(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function ps(e){const{to:t,from:n}=e=No(e),r=new Set;return Pr.obj(t)&&ms(t,r),Pr.obj(n)&&ms(n,r),e.keys=r.size?Array.from(r):null,e}function gs(e){const t=ps(e);return Pr.und(t.default)&&(t.default=Lo(t)),t}function ms(e,t){Hr(e,(e,n)=>null!=e&&t.add(n))}var vs=['onStart','onRest','onChange','onPause','onResume'];function bs(e,t,n){e.animation[n]=t[n]!==Uo(t,n)?ko(t[n],e.key):void 0}function ys(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var ws=['onStart','onChange','onRest'],Bs=1,xs=class{constructor(e,t){this.id=Bs++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];Pr.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(ps(e)),this}start(e){let{queue:t}=this;return e?t=zr(e).map(ps):this.queue=[],this._flush?this._flush(this,t):(ks(this,t),Cs(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Rr(zr(t),t=>n[t].stop(!!e))}else es(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(Pr.und(e))this.start({pause:!0});else{const t=this.springs;Rr(zr(e),e=>t[e].pause())}return this}resume(e){if(Pr.und(e))this.start({pause:!1});else{const t=this.springs;Rr(zr(e),e=>t[e].resume())}return this}each(e){Hr(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,Kr(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const o=!r&&this._started,s=i||o&&n.size?this.get():null;i&&t.size&&Kr(t,([e,t])=>{t.value=s,e(t,this,this._item)}),o&&(this._started=!1,Kr(n,([e,t])=>{t.value=s,e(t,this,this._item)}))}eventObserved(e){if('change'==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if('idle'!=e.type)return;this._active.delete(e.parent)}br.onFrame(this._onFrame)}};function Cs(e,t){return Promise.all(t.map(t=>_s(e,t))).then(t=>Yo(e,t))}async function _s(e,t,n){const{keys:r,to:i,from:o,loop:s,onRest:a,onResolve:A}=t,l=Pr.obj(t.default)&&t.default;s&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const c=Pr.arr(i)||Pr.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):Rr(ws,n=>{const r=t[n];if(Pr.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},l&&(l[n]=t[n])}});const u=e._state;t.pause===!u.paused?(u.paused=t.pause,Gr(t.pause?u.pauseQueue:u.resumeQueue)):u.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),f=!0===t.cancel||!0===Uo(t,'cancel');(c||f&&u.asyncId)&&d.push(Wo(++e._lastAsyncId,{props:t,state:u,actions:{pause:Mr,resume:Mr,start(t,n){f?(es(u,e._lastAsyncId),n(Zo(e))):(t.onRest=a,n($o(c,t,u,e)))}}})),u.paused&&await new Promise(e=>{u.resumeQueue.add(e)});const h=Yo(e,await Promise.all(d));if(s&&h.finished&&(!n||!h.noop)){const n=hs(t,s,i);if(n)return ks(e,[n]),_s(e,n,!0)}return A&&br.batchedUpdates(()=>A(h,e,e.item)),h}function js(e,t){const n={...e.springs};return t&&Rr(zr(t),e=>{Pr.und(e.keys)&&(e=ps(e)),Pr.obj(e.to)||(e={...e,to:void 0}),Ss(n,e,e=>Es(e))}),Fs(e,n),n}function Fs(e,t){Hr(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,Hi(t,e))})}function Es(e,t){const n=new ds;return n.key=e,t&&Hi(n,t),n}function Ss(e,t,n){t.keys&&Rr(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function ks(e,t){Rr(t,t=>{Ss(e.springs,t,t=>Es(t,e))})}var Us,Qs,Ls=({children:t,...i})=>{const s=u(Os),a=i.pause||!!s.pause,A=i.immediate||!!s.immediate;i=function(e,t){const[i]=n(()=>({inputs:t,result:e()})),s=o(),a=s.current;let A=a;if(A){const n=Boolean(t&&A.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,A.inputs));n||(A={inputs:t,result:e()})}else A=i;return r(()=>{s.current=A,a==i&&(i.inputs=i.result=void 0)},[A]),A.result}(()=>({pause:a,immediate:A}),[a,A]);const{Provider:l}=Os;return e.createElement(l,{value:i},t)},Os=(Us=Ls,Qs={},Object.assign(Us,e.createContext(Qs)),Us.Provider._context=Us,Us.Consumer._context=Us,Us);Ls.Provider=Os.Provider,Ls.Consumer=Os.Consumer;var Is=()=>{const e=[],t=function(t){io(`${to}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return Rr(e,(e,i)=>{if(Pr.und(t))r.push(e.start());else{const o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return Rr(e,e=>e.pause(...arguments)),this},t.resume=function(){return Rr(e,e=>e.resume(...arguments)),this},t.set=function(t){Rr(e,(e,n)=>{const r=Pr.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){const n=[];return Rr(e,(e,r)=>{if(Pr.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return Rr(e,e=>e.stop(...arguments)),this},t.update=function(t){return Rr(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return Pr.fun(e)?e(n,t):e};return t._getProps=n,t};function Ns(e,t){const n=Pr.fun(e),[[r],i]=function(e,t,n){const r=Pr.fun(t)&&t;r&&!n&&(n=[]);const i=d(()=>r||3==arguments.length?Is():void 0,[]),s=o(0),a=ao(),A=d(()=>({ctrls:[],queue:[],flush(e,t){const n=js(e,t);return s.current>0&&!A.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?Cs(e,t):new Promise(r=>{Fs(e,n),A.queue.push(()=>{r(Cs(e,t))}),a()})}}),[]),l=o([...A.ctrls]),c=[],f=co(e)||0;function h(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new xs(null,A.flush)),n=r?r(i,e):t[i];n&&(c[i]=gs(n))}}d(()=>{Rr(l.current.slice(e,f),e=>{Do(e,i),e.stop(!0)}),l.current.length=e,h(f,e)},[e]),d(()=>{h(0,Math.min(f,e))},n);const p=l.current.map((e,t)=>js(e,c[t])),g=u(Ls),m=co(g),v=g!==m&&Mo(g);so(()=>{s.current++,A.ctrls=l.current;const{queue:e}=A;e.length&&(A.queue=[],Rr(e,e=>e())),Rr(l.current,(e,t)=>{i?.add(e),v&&e.start({default:g});const n=c[t];n&&(Ro(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),Ao(()=>()=>{Rr(A.ctrls,e=>e.stop(!0))});const b=p.map(e=>({...e}));return i?[b,i]:b}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}function Ts(t,n,r){const i=Pr.fun(n)&&n,{reset:s,sort:a,trail:A=0,expires:l=!0,exitBeforeEnter:c=!1,onDestroyed:f,ref:h,config:p}=i?i():n,g=d(()=>i||3==arguments.length?Is():void 0,[]),m=zr(t),v=[],b=o(null),y=s?null:b.current;so(()=>{b.current=v}),Ao(()=>(Rr(v,e=>{g?.add(e.ctrl),e.ctrl.ref=g}),()=>{Rr(b.current,e=>{e.expired&&clearTimeout(e.expirationId),Do(e.ctrl,g),e.ctrl.stop(!0)})}));const w=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map(e=>{const n=r&&r.find(n=>n.item===e&&'leave'!==n.phase&&!t.has(n));return n?(t.add(n),n.key):Ms++})}return Pr.und(n)?e:Pr.fun(n)?e.map(n):zr(n)}(m,i?i():n,y),B=s&&b.current||[];so(()=>Rr(B,({ctrl:e,item:t,key:n})=>{Do(e,g),Eo(f,t,n)}));const x=[];if(y&&Rr(y,(e,t)=>{e.expired?(clearTimeout(e.expirationId),B.push(e)):~(t=x[t]=w.indexOf(e.key))&&(v[t]=e)}),Rr(m,(e,t)=>{v[t]||(v[t]={key:w[t],item:e,phase:'mount',ctrl:new xs},v[t].ctrl.item=e)}),x.length){let e=-1;const{leave:t}=i?i():n;Rr(x,(n,r)=>{const i=y[r];~n?(e=v.indexOf(i),v[e]={...i,item:m[n]}):t&&v.splice(++e,0,i)})}Pr.fun(a)&&v.sort((e,t)=>a(e.item,t.item));let C=-A;const _=ao(),j=Lo(n),F=new Map,E=o(new Map),S=o(!1);Rr(v,(e,t)=>{const r=e.key,o=e.phase,s=i?i():n;let a,u;const d=Eo(s.delay||0,r);if('mount'==o)a=s.enter,u='enter';else{const e=w.indexOf(r)<0;if('leave'!=o)if(e)a=s.leave,u='leave';else{if(!(a=s.update))return;u='update'}else{if(e)return;a=s.enter,u='enter'}}if(a=Eo(a,e.item,t),a=Pr.obj(a)?No(a):{to:a},!a.config){const n=p||j.config;a.config=Eo(n,e.item,t,u)}C+=A;const f={...j,delay:d+C,ref:h,immediate:s.immediate,reset:!1,...a};if('enter'==u&&Pr.und(f.from)){const r=i?i():n,o=Pr.und(r.initial)||y?r.from:r.initial;f.from=Eo(o,e.item,t)}const{onResolve:g}=f;f.onResolve=e=>{Eo(g,e);const t=b.current,n=t.find(e=>e.key===r);if(n&&(!e.cancelled||'update'==n.phase)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if('leave'==n.phase){const t=Eo(l,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(_,r)))}}e&&t.some(e=>e.expired)&&(E.current.delete(n),c&&(S.current=!0),_())}};const m=js(e.ctrl,f);'leave'===u&&c?E.current.set(e,{phase:u,springs:m,payload:f}):F.set(e,{phase:u,springs:m,payload:f})});const k=u(Ls),U=co(k),Q=k!==U&&Mo(k);so(()=>{Q&&Rr(v,e=>{e.ctrl.start({default:k})})},[k]),Rr(F,(e,t)=>{if(E.current.size){const e=v.findIndex(e=>e.key===t.key);v.splice(e,1)}}),so(()=>{Rr(E.current.size?E.current:F,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,g?.add(r),Q&&'enter'==e&&r.start({default:k}),t&&(Ro(r,t.ref),!r.ref&&!g||S.current?(r.start(t),S.current&&(S.current=!1)):r.update(t))})},s?void 0:r);const L=t=>e.createElement(e.Fragment,null,v.map((n,r)=>{const{springs:i}=F.get(n)||n.ctrl,o=t({...i},n.item,n,r);return o&&o.type?e.createElement(o.type,{...o.props,key:Pr.str(n.key)||Pr.num(n.key)?n.key:n.ctrl.id,ref:o.ref}):o}));return g?[L,g]:L}var Ms=1;var Ps=class extends os{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=ji(...t);const n=this._get(),r=xo(n);ho(this,r.create(n))}advance(e){const t=this._get();Dr(t,this.get())||(fo(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Rs(this._active)&&Hs(this)}_get(){const e=Pr.arr(this.source)?this.source.map(Ti):zr(Ti(this.source));return this.calc(...e)}_start(){this.idle&&!Rs(this._active)&&(this.idle=!1,Rr(po(this),e=>{e.done=!1}),Tr.skipAnimation?(br.batchedUpdates(()=>this.advance()),Hs(this)):ri.start(this))}_attach(){let e=1;Rr(zr(this.source),t=>{Ni(t)&&Hi(t,this),rs(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){Rr(zr(this.source),e=>{Ni(e)&&zi(e,this)}),this._active.clear(),Hs(this)}eventObserved(e){'change'==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):'idle'==e.type?this._active.delete(e.parent):'priority'==e.type&&(this.priority=zr(this.source).reduce((e,t)=>Math.max(e,(rs(t)?t.priority:0)+1),0))}};function Ds(e){return!1!==e.idle}function Rs(e){return!e.size||Array.from(e).every(Ds)}function Hs(e){e.idle||(e.idle=!0,Rr(po(e),e=>{e.done=!0}),Pi(e,{type:'idle',parent:e}))}var zs=(e,...t)=>new Ps(e,t);Tr.assign({createStringInterpolator:eo,to:(e,t)=>new Ps(e,t)});var Ks=/^--/;function Vs(e,t){return null==t||'boolean'==typeof t||''===t?'':'number'!=typeof t||0===t||Ks.test(e)||Gs.hasOwnProperty(e)&&Gs[e]?(''+t).trim():t+'px'}var qs={};var Gs={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ws=['Webkit','Ms','Moz','O'];Gs=Object.keys(Gs).reduce((e,t)=>(Ws.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),Gs);var Ys=/^(matrix|translate|scale|rotate|skew)/,Xs=/^(translate)/,Js=/^(rotate|skew)/,Zs=(e,t)=>Pr.num(e)&&0!==e?e+t:e,$s=(e,t)=>Pr.arr(e)?e.every(e=>$s(e,t)):Pr.num(e)?e===t:parseFloat(e)===t,ea=class extends yo{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(e=>[`translate3d(${e.map(e=>Zs(e,'px')).join(',')})`,$s(e,0)])),Hr(r,(e,t)=>{if('transform'===t)i.push([e||'']),o.push(e=>[e,''===e]);else if(Ys.test(t)){if(delete r[t],Pr.und(e))return;const n=Xs.test(t)?'px':Js.test(t)?'deg':'';i.push(zr(e)),o.push('rotate3d'===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${Zs(i,n)})`,$s(i,0)]:e=>[`${t}(${e.map(e=>Zs(e,n)).join(',')})`,$s(e,t.startsWith('scale')?1:0)])}}),i.length&&(r.transform=new ta(i,o)),super(r)}},ta=class extends Di{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e='',t=!0;return Rr(this.inputs,(n,r)=>{const i=Ti(n[0]),[o,s]=this.transforms[r](Pr.arr(i)?i:n.map(Ti));e+=' '+o,t=t&&s}),t?'none':e}observerAdded(e){1==e&&Rr(this.inputs,e=>Rr(e,e=>Ni(e)&&Hi(e,this)))}observerRemoved(e){0==e&&Rr(this.inputs,e=>Rr(e,e=>Ni(e)&&zi(e,this)))}eventObserved(e){'change'==e.type&&(this._value=null),Pi(this,e)}};Tr.assign({batchedUpdates:y,createStringInterpolator:eo,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var na=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new yo(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=Fo(e)||'Anonymous';return(e=Pr.str(e)?o[e]||(o[e]=Co(e,i)):e[jo]||(e[jo]=Co(e,i))).displayName=`Animated(${t})`,e};return Hr(e,(t,n)=>{Pr.arr(e)&&(n=Fo(t)),o[n]=o(t)}),{animated:o}})(['a','abbr','address','area','article','aside','audio','b','base','bdi','bdo','big','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','data','datalist','dd','del','details','dfn','dialog','div','dl','dt','em','embed','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','iframe','img','input','ins','kbd','keygen','label','legend','li','link','main','map','mark','menu','menuitem','meta','meter','nav','noscript','object','ol','optgroup','option','output','p','param','picture','pre','progress','q','rp','rt','ruby','s','samp','script','section','select','small','source','span','strong','style','sub','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','title','tr','track','u','ul','var','video','wbr','circle','clipPath','defs','ellipse','foreignObject','g','image','line','linearGradient','mask','path','pattern','polygon','polyline','radialGradient','rect','stop','svg','text','tspan'],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n='filter'===e.nodeName||e.parentNode&&'filter'===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:s,scrollLeft:a,viewBox:A,...l}=t,c=Object.values(l),u=Object.keys(l).map(t=>n||e.hasAttribute(t)?t:qs[t]||(qs[t]=t.replace(/([A-Z])/g,e=>'-'+e.toLowerCase())));void 0!==o&&(e.textContent=o);for(const t in i)if(i.hasOwnProperty(t)){const n=Vs(t,i[t]);Ks.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach((t,n)=>{e.setAttribute(t,c[n])}),void 0!==r&&(e.className=r),void 0!==s&&(e.scrollTop=s),void 0!==a&&(e.scrollLeft=a),void 0!==A&&e.setAttribute('viewBox',A)},createAnimatedStyle:e=>new ea(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),ra=na.animated;function ia(){return ia=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},ia.apply(this,arguments)}var oa={pointerEvents:'none',position:'absolute',zIndex:10,top:0,left:0},sa=function(e,t){return'translate('+e+'px, '+t+'px)'},aa=f(function(e){var t,n=e.position,r=e.anchor,i=e.children,s=Jx(),a=Ex(),A=a.animate,l=a.config,c=Vx(),u=c[0],d=c[1],f=o(!1),h=void 0,p=!1,g=d.width>0&&d.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&('top'===r?(m-=d.width/2,v-=d.height+14):'right'===r?(m+=14,v-=d.height/2):'bottom'===r?(m-=d.width/2,v+=14):'left'===r?(m-=d.width+14,v-=d.height/2):'center'===r&&(m-=d.width/2,v-=d.height/2),h={transform:sa(m,v)},f.current||(p=!0),f.current=[m,v]);var b=Ns({to:h,config:l,immediate:!A||p}),y=ia({},oa,s.tooltip,{transform:null!=(t=b.transform)?t:sa(m,v)});return w(ra.div,{ref:u,style:y,children:i})});aa.displayName='TooltipWrapper';var Aa=f(function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return w('span',{style:ia({display:'block',width:n,height:n,background:r},void 0===i?{}:i)})}),la=f(function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,s=void 0!==o&&o,a=e.color,A=e.renderContent,l=Jx(),c=Gx(i);if('function'==typeof A)t=A();else{var u=r;void 0!==c&&void 0!==u&&(u=c(u)),t=B('div',{style:l.tooltip.basic,children:[s&&w(Aa,{color:a,style:l.tooltip.chip}),void 0!==u?B('span',{children:[n,': ',w('strong',{children:''+u})]}):n]})}return w('div',{style:l.tooltip.container,children:t})}),ca={width:'100%',borderCollapse:'collapse'},ua=f(function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,s=Jx();return i.length?(t='function'==typeof o?o():B('div',{children:[n&&n,w('table',{style:ia({},ca,s.tooltip.table),children:w('tbody',{children:i.map(function(e,t){return w('tr',{children:e.map(function(e,t){return w('td',{style:s.tooltip.tableCell,children:e},t)})},t)})})})]}),w('div',{style:s.tooltip.container,children:t})):null});ua.displayName='TableTooltip';var da=f(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=Jx(),s=Ex(),a=s.animate,A=s.config,l=d(function(){return ia({},o.crosshair.line,{pointerEvents:'none'})},[o.crosshair.line]),c=Ns({x1:t,x2:n,y1:r,y2:i,config:A,immediate:!a});return w(ra.line,ia({},c,{fill:'none',style:l}))});da.displayName='CrosshairLine';var fa=f(function(e){var t,n,r=e.width,i=e.height,o=e.type,s=e.x,a=e.y;return'cross'===o?(t={x0:s,x1:s,y0:0,y1:i},n={x0:0,x1:r,y0:a,y1:a}):'top-left'===o?(t={x0:s,x1:s,y0:0,y1:a},n={x0:0,x1:s,y0:a,y1:a}):'top'===o?t={x0:s,x1:s,y0:0,y1:a}:'top-right'===o?(t={x0:s,x1:s,y0:0,y1:a},n={x0:s,x1:r,y0:a,y1:a}):'right'===o?n={x0:s,x1:r,y0:a,y1:a}:'bottom-right'===o?(t={x0:s,x1:s,y0:a,y1:i},n={x0:s,x1:r,y0:a,y1:a}):'bottom'===o?t={x0:s,x1:s,y0:a,y1:i}:'bottom-left'===o?(t={x0:s,x1:s,y0:a,y1:i},n={x0:0,x1:s,y0:a,y1:a}):'left'===o?n={x0:0,x1:s,y0:a,y1:a}:'x'===o?t={x0:s,x1:s,y0:0,y1:i}:'y'===o&&(n={x0:0,x1:r,y0:a,y1:a}),B(x,{children:[t&&w(da,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&w(da,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});fa.displayName='Crosshair';var ha=h({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),pa={isVisible:!1,position:[null,null],content:null,anchor:null},ga=h(pa),ma=function(){var e=u(ha);if(void 0===e)throw new Error('useTooltip must be used within a TooltipProvider');return e},va=function(){var e=function(){var e=u(ga);if(void 0===e)throw new Error('useTooltipState must be used within a TooltipProvider');return e}();return function(e){return e.isVisible}(e)?w(aa,{position:e.position,anchor:e.anchor,children:e.content}):null},ba=function(e){var t=e.container,r=e.children,i=function(e){var t=n(pa),r=t[0],i=t[1],o=s(function(e,t,n){var r=t[0],o=t[1];void 0===n&&(n='top'),i({isVisible:!0,position:[r,o],anchor:n,content:e})},[i]),a=s(function(t,n,r){void 0===r&&(r='top');var o=e.current.getBoundingClientRect(),s=e.current.offsetWidth,a=s===o.width?1:s/o.width,A=(n.clientX-o.left)*a,l=(n.clientY-o.top)*a;'left'!==r&&'right'!==r||(r=A<o.width/2?'right':'left'),i({isVisible:!0,position:[A,l],anchor:r,content:t})},[e,i]),A=s(function(){i(pa)},[i]);return{actions:d(function(){return{showTooltipAt:o,showTooltipFromEvent:a,hideTooltip:A}},[o,a,A]),state:r}}(t),o=i.actions,a=i.state;return w(ha.Provider,{value:o,children:w(ga.Provider,{value:a,children:r})})};var ya=function(){this.__data__=[],this.size=0};var wa=function(e,t){return e===t||e!=e&&t!=t},Ba=wa;var xa=function(e,t){for(var n=e.length;n--;)if(Ba(e[n][0],t))return n;return-1},Ca=xa,_a=Array.prototype.splice;var ja=xa;var Fa=xa;var Ea=xa;var Sa=ya,ka=function(e){var t=this.__data__,n=Ca(t,e);return!(n<0)&&(n==t.length-1?t.pop():_a.call(t,n,1),--this.size,!0)},Ua=function(e){var t=this.__data__,n=ja(t,e);return n<0?void 0:t[n][1]},Qa=function(e){return Fa(this.__data__,e)>-1},La=function(e,t){var n=this.__data__,r=Ea(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Oa(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Oa.prototype.clear=Sa,Oa.prototype.delete=ka,Oa.prototype.get=Ua,Oa.prototype.has=Qa,Oa.prototype.set=La;var Ia=Oa,Na=Ia;var Ta=function(){this.__data__=new Na,this.size=0};var Ma=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Pa=function(e){return this.__data__.get(e)};var Da=function(e){return this.__data__.has(e)},Ra='object'==typeof zn&&zn&&zn.Object===Object&&zn,Ha=Ra,za='object'==typeof self&&self&&self.Object===Object&&self,Ka=Ha||za||Function('return this')(),Va=Ka.Symbol,qa=Va,Ga=Object.prototype,Wa=Ga.hasOwnProperty,Ya=Ga.toString,Xa=qa?qa.toStringTag:void 0;var Ja=function(e){var t=Wa.call(e,Xa),n=e[Xa];try{e[Xa]=void 0;var r=!0}catch(e){}var i=Ya.call(e);return r&&(t?e[Xa]=n:delete e[Xa]),i},Za=Object.prototype.toString;var $a=Ja,eA=function(e){return Za.call(e)},tA=Va?Va.toStringTag:void 0;var nA=function(e){return null==e?void 0===e?'[object Undefined]':'[object Null]':tA&&tA in Object(e)?$a(e):eA(e)};var rA=function(e){var t=typeof e;return null!=e&&('object'==t||'function'==t)},iA=nA,oA=rA;var sA,aA=function(e){if(!oA(e))return!1;var t=iA(e);return'[object Function]'==t||'[object GeneratorFunction]'==t||'[object AsyncFunction]'==t||'[object Proxy]'==t},AA=Kn(aA),lA=Ka['__core-js_shared__'],cA=(sA=/[^.]+$/.exec(lA&&lA.keys&&lA.keys.IE_PROTO||''))?'Symbol(src)_1.'+sA:'';var uA=function(e){return!!cA&&cA in e},dA=Function.prototype.toString;var fA=function(e){if(null!=e){try{return dA.call(e)}catch(e){}try{return e+''}catch(e){}}return''},hA=aA,pA=uA,gA=rA,mA=fA,vA=/^\[object .+?Constructor\]$/,bA=Function.prototype,yA=Object.prototype,wA=bA.toString,BA=yA.hasOwnProperty,xA=RegExp('^'+wA.call(BA).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');var CA=function(e,t){return null==e?void 0:e[t]},_A=function(e){return!(!gA(e)||pA(e))&&(hA(e)?xA:vA).test(mA(e))},jA=CA;var FA=function(e,t){var n=jA(e,t);return _A(n)?n:void 0},EA=FA(Ka,'Map'),SA=FA(Object,'create'),kA=SA;var UA=function(){this.__data__=kA?kA(null):{},this.size=0};var QA=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},LA=SA,OA=Object.prototype.hasOwnProperty;var IA=function(e){var t=this.__data__;if(LA){var n=t[e];return'__lodash_hash_undefined__'===n?void 0:n}return OA.call(t,e)?t[e]:void 0},NA=SA,TA=Object.prototype.hasOwnProperty;var MA=SA;var PA=UA,DA=QA,RA=IA,HA=function(e){var t=this.__data__;return NA?void 0!==t[e]:TA.call(t,e)},zA=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=MA&&void 0===t?'__lodash_hash_undefined__':t,this};function KA(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}KA.prototype.clear=PA,KA.prototype.delete=DA,KA.prototype.get=RA,KA.prototype.has=HA,KA.prototype.set=zA;var VA=KA,qA=Ia,GA=EA;var WA=function(e){var t=typeof e;return'string'==t||'number'==t||'symbol'==t||'boolean'==t?'__proto__'!==e:null===e};var YA=function(e,t){var n=e.__data__;return WA(t)?n['string'==typeof t?'string':'hash']:n.map},XA=YA;var JA=YA;var ZA=YA;var $A=YA;var el=function(){this.size=0,this.__data__={hash:new VA,map:new(GA||qA),string:new VA}},tl=function(e){var t=XA(this,e).delete(e);return this.size-=t?1:0,t},nl=function(e){return JA(this,e).get(e)},rl=function(e){return ZA(this,e).has(e)},il=function(e,t){var n=$A(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function ol(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ol.prototype.clear=el,ol.prototype.delete=tl,ol.prototype.get=nl,ol.prototype.has=rl,ol.prototype.set=il;var sl=ol,al=Ia,Al=EA,ll=sl;var cl=Ia,ul=Ta,dl=Ma,fl=Pa,hl=Da,pl=function(e,t){var n=this.__data__;if(n instanceof al){var r=n.__data__;if(!Al||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ll(r)}return n.set(e,t),this.size=n.size,this};function gl(e){var t=this.__data__=new cl(e);this.size=t.size}gl.prototype.clear=ul,gl.prototype.delete=dl,gl.prototype.get=fl,gl.prototype.has=hl,gl.prototype.set=pl;var ml=gl,vl=FA,bl=function(){try{var e=vl(Object,'defineProperty');return e({},'',{}),e}catch(e){}}(),yl=bl;var wl=function(e,t,n){'__proto__'==t&&yl?yl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Bl=wl,xl=wa;var Cl=function(e,t,n){(void 0!==n&&!xl(e[t],n)||void 0===n&&!(t in e))&&Bl(e,t,n)};var _l=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var A=s[e?a:++i];if(!1===n(o[A],A,o))break}return t}},jl=_l(),Fl={exports:{}};!function(e,t){var n=Ka,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r?n.Buffer:void 0,s=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}(Fl,Fl.exports);var El=Fl.exports,Sl=Ka.Uint8Array,kl=Sl;var Ul=function(e){var t=new e.constructor(e.byteLength);return new kl(t).set(new kl(e)),t},Ql=Ul;var Ll=function(e,t){var n=t?Ql(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Ol=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},Il=rA,Nl=Object.create,Tl=function(){function e(){}return function(t){if(!Il(t))return{};if(Nl)return Nl(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Ml=Tl;var Pl=function(e,t){return function(n){return e(t(n))}},Dl=Pl(Object.getPrototypeOf,Object),Rl=Object.prototype;var Hl=function(e){var t=e&&e.constructor;return e===('function'==typeof t&&t.prototype||Rl)},zl=Ml,Kl=Dl,Vl=Hl;var ql=function(e){return'function'!=typeof e.constructor||Vl(e)?{}:zl(Kl(e))};var Gl=function(e){return null!=e&&'object'==typeof e},Wl=nA,Yl=Gl;var Xl=function(e){return Yl(e)&&'[object Arguments]'==Wl(e)},Jl=Gl,Zl=Object.prototype,$l=Zl.hasOwnProperty,ec=Zl.propertyIsEnumerable,tc=Xl(function(){return arguments}())?Xl:function(e){return Jl(e)&&$l.call(e,'callee')&&!ec.call(e,'callee')},nc=Array.isArray;var rc=function(e){return'number'==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},ic=aA,oc=rc;var sc=function(e){return null!=e&&oc(e.length)&&!ic(e)},ac=sc,Ac=Gl;var lc=function(e){return Ac(e)&&ac(e)},cc={exports:{}};var uc=function(){return!1};!function(e,t){var n=Ka,r=uc,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=(s?s.isBuffer:void 0)||r;e.exports=a}(cc,cc.exports);var dc=cc.exports,fc=nA,hc=Dl,pc=Gl,gc=Function.prototype,mc=Object.prototype,vc=gc.toString,bc=mc.hasOwnProperty,yc=vc.call(Object);var wc=function(e){if(!pc(e)||'[object Object]'!=fc(e))return!1;var t=hc(e);if(null===t)return!0;var n=bc.call(t,'constructor')&&t.constructor;return'function'==typeof n&&n instanceof n&&vc.call(n)==yc},Bc=Kn(wc),xc=nA,Cc=rc,_c=Gl,jc={};jc['[object Float32Array]']=jc['[object Float64Array]']=jc['[object Int8Array]']=jc['[object Int16Array]']=jc['[object Int32Array]']=jc['[object Uint8Array]']=jc['[object Uint8ClampedArray]']=jc['[object Uint16Array]']=jc['[object Uint32Array]']=!0,jc['[object Arguments]']=jc['[object Array]']=jc['[object ArrayBuffer]']=jc['[object Boolean]']=jc['[object DataView]']=jc['[object Date]']=jc['[object Error]']=jc['[object Function]']=jc['[object Map]']=jc['[object Number]']=jc['[object Object]']=jc['[object RegExp]']=jc['[object Set]']=jc['[object String]']=jc['[object WeakMap]']=!1;var Fc=function(e){return _c(e)&&Cc(e.length)&&!!jc[xc(e)]};var Ec=function(e){return function(t){return e(t)}},Sc={exports:{}};!function(e,t){var n=Ra,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,s=function(){try{var e=i&&i.require&&i.require('util').types;return e||o&&o.binding&&o.binding('util')}catch(e){}}();e.exports=s}(Sc,Sc.exports);var kc=Sc.exports,Uc=Fc,Qc=Ec,Lc=kc&&kc.isTypedArray,Oc=Lc?Qc(Lc):Uc;var Ic=function(e,t){if(('constructor'!==t||'function'!=typeof e[t])&&'__proto__'!=t)return e[t]},Nc=wl,Tc=wa,Mc=Object.prototype.hasOwnProperty;var Pc=function(e,t,n){var r=e[t];Mc.call(e,t)&&Tc(r,n)&&(void 0!==n||t in e)||Nc(e,t,n)},Dc=Pc,Rc=wl;var Hc=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],A=r?r(n[a],e[a],a,n,e):void 0;void 0===A&&(A=e[a]),i?Rc(n,a,A):Dc(n,a,A)}return n};var zc=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},Kc=/^(?:0|[1-9]\d*)$/;var Vc=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&('number'==n||'symbol'!=n&&Kc.test(e))&&e>-1&&e%1==0&&e<t},qc=zc,Gc=tc,Wc=nc,Yc=dc,Xc=Vc,Jc=Oc,Zc=Object.prototype.hasOwnProperty;var $c=function(e,t){var n=Wc(e),r=!n&&Gc(e),i=!n&&!r&&Yc(e),o=!n&&!r&&!i&&Jc(e),s=n||r||i||o,a=s?qc(e.length,String):[],A=a.length;for(var l in e)!t&&!Zc.call(e,l)||s&&('length'==l||i&&('offset'==l||'parent'==l)||o&&('buffer'==l||'byteLength'==l||'byteOffset'==l)||Xc(l,A))||a.push(l);return a};var eu=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},tu=rA,nu=Hl,ru=eu,iu=Object.prototype.hasOwnProperty;var ou=function(e){if(!tu(e))return ru(e);var t=nu(e),n=[];for(var r in e)('constructor'!=r||!t&&iu.call(e,r))&&n.push(r);return n},su=$c,au=ou,Au=sc;var lu=function(e){return Au(e)?su(e,!0):au(e)},cu=Hc,uu=lu;var du=Cl,fu=El,hu=Ll,pu=Ol,gu=ql,mu=tc,vu=nc,bu=lc,yu=dc,wu=aA,Bu=rA,xu=wc,Cu=Oc,_u=Ic,ju=function(e){return cu(e,uu(e))};var Fu=function(e,t,n,r,i,o,s){var a=_u(e,n),A=_u(t,n),l=s.get(A);if(l)du(e,n,l);else{var c=o?o(a,A,n+'',e,t,s):void 0,u=void 0===c;if(u){var d=vu(A),f=!d&&yu(A),h=!d&&!f&&Cu(A);c=A,d||f||h?vu(a)?c=a:bu(a)?c=pu(a):f?(u=!1,c=fu(A,!0)):h?(u=!1,c=hu(A,!0)):c=[]:xu(A)||mu(A)?(c=a,mu(a)?c=ju(a):Bu(a)&&!wu(a)||(c=gu(A))):u=!1}u&&(s.set(A,c),i(c,A,r,o,s),s.delete(A)),du(e,n,c)}},Eu=ml,Su=Cl,ku=jl,Uu=Fu,Qu=rA,Lu=lu,Ou=Ic;var Iu=function e(t,n,r,i,o){t!==n&&ku(n,function(s,a){if(o||(o=new Eu),Qu(s))Uu(t,n,a,r,e,i,o);else{var A=i?i(Ou(t,a),s,a+'',t,n,o):void 0;void 0===A&&(A=s),Su(t,a,A)}},Lu)};var Nu=function(e){return e};var Tu=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Mu=Math.max;var Pu=function(e,t,n){return t=Mu(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Mu(r.length-t,0),s=Array(o);++i<o;)s[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(s),Tu(e,this,a)}};var Du=function(e){return function(){return e}},Ru=bl,Hu=Ru?function(e,t){return Ru(e,'toString',{configurable:!0,enumerable:!1,value:Du(t),writable:!0})}:Nu,zu=Hu,Ku=Date.now;var Vu=function(e){var t=0,n=0;return function(){var r=Ku(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(zu),qu=Nu,Gu=Pu,Wu=Vu;var Yu=function(e,t){return Wu(Gu(e,t,qu),e+'')},Xu=wa,Ju=sc,Zu=Vc,$u=rA;var ed=function(e,t,n){if(!$u(n))return!1;var r=typeof t;return!!('number'==r?Ju(n)&&Zu(t,n.length):'string'==r&&t in n)&&Xu(n[t],e)},td=Yu,nd=ed;var rd=function(e){return td(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&'function'==typeof o?(i--,o):void 0,s&&nd(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t})},id=Iu,od=rd(function(e,t,n){id(e,t,n)}),sd=Kn(od),ad=nA,Ad=Gl;var ld=function(e){return'symbol'==typeof e||Ad(e)&&'[object Symbol]'==ad(e)},cd=nc,ud=ld,dd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fd=/^\w*$/;var hd=function(e,t){if(cd(e))return!1;var n=typeof e;return!('number'!=n&&'symbol'!=n&&'boolean'!=n&&null!=e&&!ud(e))||(fd.test(e)||!dd.test(e)||null!=t&&e in Object(t))},pd=sl;function gd(e,t){if('function'!=typeof e||null!=t&&'function'!=typeof t)throw new TypeError('Expected a function');var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(gd.Cache||pd),n}gd.Cache=pd;var md=gd;var vd=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bd=/\\(\\)?/g,yd=function(e){var t=md(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(''),e.replace(vd,function(e,n,r,i){t.push(r?i.replace(bd,'$1'):n||e)}),t}),wd=yd;var Bd=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},xd=Bd,Cd=nc,_d=ld,jd=Va?Va.prototype:void 0,Fd=jd?jd.toString:void 0;var Ed=function e(t){if('string'==typeof t)return t;if(Cd(t))return xd(t,e)+'';if(_d(t))return Fd?Fd.call(t):'';var n=t+'';return'0'==n&&1/t==-1/0?'-0':n},Sd=Ed;var kd=nc,Ud=hd,Qd=wd,Ld=function(e){return null==e?'':Sd(e)};var Od=function(e,t){return kd(e)?e:Ud(e,t)?[e]:Qd(Ld(e))},Id=ld;var Nd=function(e){if('string'==typeof e||Id(e))return e;var t=e+'';return'0'==t&&1/e==-1/0?'-0':t},Td=Od,Md=Nd;var Pd=function(e,t){for(var n=0,r=(t=Td(t,e)).length;null!=e&&n<r;)e=e[Md(t[n++])];return n&&n==r?e:void 0},Dd=Pd;var Rd=function(e,t,n){var r=null==e?void 0:Dd(e,t);return void 0===r?n:r},Hd=Kn(Rd),zd=Pc,Kd=Od,Vd=Vc,qd=rA,Gd=Nd;var Wd=function(e,t,n,r){if(!qd(e))return e;for(var i=-1,o=(t=Kd(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var A=Gd(t[i]),l=n;if('__proto__'===A||'constructor'===A||'prototype'===A)return e;if(i!=s){var c=a[A];void 0===(l=r?r(c,A,a):void 0)&&(l=qd(c)?c:Vd(t[i+1])?[]:{})}zd(a,A,l),a=a[A]}return e},Yd=Wd;var Xd=function(e,t,n){return null==e?e:Yd(e,t,n)},Jd=Kn(Xd);function Zd(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function $d(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ef(){}var tf=.7,nf=1/tf,rf='\\s*([+-]?\\d+)\\s*',of='\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*',sf='\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*',af=/^#([0-9a-f]{3,8})$/,Af=new RegExp(`^rgb\\(${rf},${rf},${rf}\\)$`),lf=new RegExp(`^rgb\\(${sf},${sf},${sf}\\)$`),cf=new RegExp(`^rgba\\(${rf},${rf},${rf},${of}\\)$`),uf=new RegExp(`^rgba\\(${sf},${sf},${sf},${of}\\)$`),df=new RegExp(`^hsl\\(${of},${sf},${sf}\\)$`),ff=new RegExp(`^hsla\\(${of},${sf},${sf},${of}\\)$`),hf={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 pf(){return this.rgb().formatHex()}function gf(){return this.rgb().formatRgb()}function mf(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=af.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?vf(t):3===n?new wf(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?bf(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?bf(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=Af.exec(e))?new wf(t[1],t[2],t[3],1):(t=lf.exec(e))?new wf(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=cf.exec(e))?bf(t[1],t[2],t[3],t[4]):(t=uf.exec(e))?bf(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=df.exec(e))?Ff(t[1],t[2]/100,t[3]/100,1):(t=ff.exec(e))?Ff(t[1],t[2]/100,t[3]/100,t[4]):hf.hasOwnProperty(e)?vf(hf[e]):'transparent'===e?new wf(NaN,NaN,NaN,0):null}function vf(e){return new wf(e>>16&255,e>>8&255,255&e,1)}function bf(e,t,n,r){return r<=0&&(e=t=n=NaN),new wf(e,t,n,r)}function yf(e,t,n,r){return 1===arguments.length?function(e){return e instanceof ef||(e=mf(e)),e?new wf((e=e.rgb()).r,e.g,e.b,e.opacity):new wf}(e):new wf(e,t,n,null==r?1:r)}function wf(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Bf(){return`#${jf(this.r)}${jf(this.g)}${jf(this.b)}`}function xf(){const e=Cf(this.opacity);return`${1===e?'rgb(':'rgba('}${_f(this.r)}, ${_f(this.g)}, ${_f(this.b)}${1===e?')':`, ${e})`}`}function Cf(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function _f(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function jf(e){return((e=_f(e))<16?'0':'')+e.toString(16)}function Ff(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Sf(e,t,n,r)}function Ef(e){if(e instanceof Sf)return new Sf(e.h,e.s,e.l,e.opacity);if(e instanceof ef||(e=mf(e)),!e)return new Sf;if(e instanceof Sf)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new Sf(s,a,A,e.opacity)}function Sf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function kf(e){return(e=(e||0)%360)<0?e+360:e}function Uf(e){return Math.max(0,Math.min(1,e||0))}function Qf(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Zd(ef,mf,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:pf,formatHex:pf,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ef(this).formatHsl()},formatRgb:gf,toString:gf}),Zd(wf,yf,$d(ef,{brighter(e){return e=null==e?nf:Math.pow(nf,e),new wf(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?tf:Math.pow(tf,e),new wf(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new wf(_f(this.r),_f(this.g),_f(this.b),Cf(this.opacity))},displayable(){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:Bf,formatHex:Bf,formatHex8:function(){return`#${jf(this.r)}${jf(this.g)}${jf(this.b)}${jf(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:xf,toString:xf})),Zd(Sf,function(e,t,n,r){return 1===arguments.length?Ef(e):new Sf(e,t,n,null==r?1:r)},$d(ef,{brighter(e){return e=null==e?nf:Math.pow(nf,e),new Sf(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?tf:Math.pow(tf,e),new Sf(this.h,this.s,this.l*e,this.opacity)},rgb(){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,i=2*n-r;return new wf(Qf(e>=240?e-240:e+120,i,r),Qf(e,i,r),Qf(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Sf(kf(this.h),Uf(this.s),Uf(this.l),Cf(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Cf(this.opacity);return`${1===e?'hsl(':'hsla('}${kf(this.h)}, ${100*Uf(this.s)}%, ${100*Uf(this.l)}%${1===e?')':`, ${e})`}`}}));var Lf=e=>()=>e;function Of(e){return 1===(e=+e)?If: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):Lf(isNaN(t)?n:t)}}function If(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):Lf(isNaN(e)?t:e)}!function e(t){var n=Of(t);function r(e,t){var r=n((e=yf(e)).r,(t=yf(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=If(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+''}}return r.gamma=e,r}(1);var Nf,Tf=(Nf=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),i=e[r],o=e[r+1],s=r>0?e[r-1]:2*i-o,a=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}((n-r/t)*t,s,i,o,a)}},function(e){var t,n,r=e.length,i=new Array(r),o=new Array(r),s=new Array(r);for(t=0;t<r;++t)n=yf(e[t]),i[t]=n.r||0,o[t]=n.g||0,s[t]=n.b||0;return i=Nf(i),o=Nf(o),s=Nf(s),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=s(e),n+''}});function Mf(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Pf=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Df=new RegExp(Pf.source,'g');var Rf=nA,Hf=nc,zf=Gl;var Kf=Kn(function(e){return'string'==typeof e||!Hf(e)&&zf(e)&&'[object String]'==Rf(e)});var Vf=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},qf=Kn(Vf);function Gf(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Wf(e){let t=e,n=e;function r(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)<0?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=function(e){return(t,n)=>Gf(e(t),n)}(e)),{left:r,center:function(e,n,i,o){null==i&&(i=0),null==o&&(o=e.length);const s=r(e,n,i,o-1);return s>i&&t(e[s-1],n)>-t(e[s],n)?s-1:s},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)>0?i=o:r=o+1}return r}}}const Yf=Wf(Gf).right;Wf(function(e){return null===e?NaN:+e}).center;var Xf=Yf,Jf=Math.sqrt(50),Zf=Math.sqrt(10),$f=Math.sqrt(2);function eh(e,t,n){var r,i,o,s,a=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(s=th(e,t,n))||!isFinite(s))return[];if(s>0){let n=Math.round(e/s),r=Math.round(t/s);for(n*s<e&&++n,r*s>t&&--r,o=new Array(i=r-n+1);++a<i;)o[a]=(n+a)*s}else{s=-s;let n=Math.round(e*s),r=Math.round(t*s);for(n/s<e&&++n,r/s>t&&--r,o=new Array(i=r-n+1);++a<i;)o[a]=(n+a)/s}return r&&o.reverse(),o}function th(e,t,n){var r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=Jf?10:o>=Zf?5:o>=$f?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Jf?10:o>=Zf?5:o>=$f?2:1)}function nh(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Jf?i*=10:o>=Zf?i*=5:o>=$f&&(i*=2),t<e?-i:i}function rh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const ih=Symbol('implicit');function oh(){var e=new Map,t=[],n=[],r=ih;function i(i){var o=i+'',s=e.get(o);if(!s){if(r!==ih)return r;e.set(o,s=t.push(i))}return n[(s-1)%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;for(const r of n){const n=r+'';e.has(n)||e.set(n,t.push(r))}return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return oh(t,n).unknown(r)},rh.apply(i,arguments),i}function sh(){var e,t,n=oh().unknown(void 0),r=n.domain,i=n.range,o=0,s=1,a=!1,A=0,l=0,c=.5;function u(){var n=r().length,u=s<o,d=u?s:o,f=u?o:s;e=(f-d)/Math.max(1,n-A+2*l),a&&(e=Math.floor(e)),d+=(f-d-e*(n-A))*c,t=e*(1-A),a&&(d=Math.round(d),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map(function(t){return d+e*t});return i(u?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),u()):r()},n.range=function(e){return arguments.length?([o,s]=e,o=+o,s=+s,u()):[o,s]},n.rangeRound=function(e){return[o,s]=e,o=+o,s=+s,a=!0,u()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,u()):a},n.padding=function(e){return arguments.length?(A=Math.min(1,l=+e),u()):A},n.paddingInner=function(e){return arguments.length?(A=Math.min(1,e),u()):A},n.paddingOuter=function(e){return arguments.length?(l=+e,u()):l},n.align=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),u()):c},n.copy=function(){return sh(r(),[o,s]).round(a).paddingInner(A).paddingOuter(l).align(c)},rh.apply(u(),arguments)}function ah(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return ah(t())},e}function Ah(){return ah(sh.apply(null,arguments).paddingInner(1))}function lh(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ch(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function uh(){}var dh=.7,fh=1/dh,hh='\\s*([+-]?\\d+)\\s*',ph='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*',gh='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*',mh=/^#([0-9a-f]{3,8})$/,vh=new RegExp('^rgb\\('+[hh,hh,hh]+'\\)$'),bh=new RegExp('^rgb\\('+[gh,gh,gh]+'\\)$'),yh=new RegExp('^rgba\\('+[hh,hh,hh,ph]+'\\)$'),wh=new RegExp('^rgba\\('+[gh,gh,gh,ph]+'\\)$'),Bh=new RegExp('^hsl\\('+[ph,gh,gh]+'\\)$'),xh=new RegExp('^hsla\\('+[ph,gh,gh,ph]+'\\)$'),Ch={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 _h(){return this.rgb().formatHex()}function jh(){return this.rgb().formatRgb()}function Fh(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=mh.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Eh(t):3===n?new Qh(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Sh(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Sh(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=vh.exec(e))?new Qh(t[1],t[2],t[3],1):(t=bh.exec(e))?new Qh(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=yh.exec(e))?Sh(t[1],t[2],t[3],t[4]):(t=wh.exec(e))?Sh(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Bh.exec(e))?Nh(t[1],t[2]/100,t[3]/100,1):(t=xh.exec(e))?Nh(t[1],t[2]/100,t[3]/100,t[4]):Ch.hasOwnProperty(e)?Eh(Ch[e]):'transparent'===e?new Qh(NaN,NaN,NaN,0):null}function Eh(e){return new Qh(e>>16&255,e>>8&255,255&e,1)}function Sh(e,t,n,r){return r<=0&&(e=t=n=NaN),new Qh(e,t,n,r)}function kh(e){return e instanceof uh||(e=Fh(e)),e?new Qh((e=e.rgb()).r,e.g,e.b,e.opacity):new Qh}function Uh(e,t,n,r){return 1===arguments.length?kh(e):new Qh(e,t,n,null==r?1:r)}function Qh(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Lh(){return'#'+Ih(this.r)+Ih(this.g)+Ih(this.b)}function Oh(){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 Ih(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?'0':'')+e.toString(16)}function Nh(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Mh(e,t,n,r)}function Th(e){if(e instanceof Mh)return new Mh(e.h,e.s,e.l,e.opacity);if(e instanceof uh||(e=Fh(e)),!e)return new Mh;if(e instanceof Mh)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new Mh(s,a,A,e.opacity)}function Mh(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Ph(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}lh(uh,Fh,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:_h,formatHex:_h,formatHsl:function(){return Th(this).formatHsl()},formatRgb:jh,toString:jh}),lh(Qh,Uh,ch(uh,{brighter:function(e){return e=null==e?fh:Math.pow(fh,e),new Qh(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?dh:Math.pow(dh,e),new Qh(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:Lh,formatHex:Lh,formatRgb:Oh,toString:Oh})),lh(Mh,function(e,t,n,r){return 1===arguments.length?Th(e):new Mh(e,t,n,null==r?1:r)},ch(uh,{brighter:function(e){return e=null==e?fh:Math.pow(fh,e),new Mh(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?dh:Math.pow(dh,e),new Mh(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,i=2*n-r;return new Qh(Ph(e>=240?e-240:e+120,i,r),Ph(e,i,r),Ph(e<120?e+240:e-120,i,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+')')}}));const Dh=Math.PI/180,Rh=180/Math.PI;var Hh=-.14861,zh=1.78277,Kh=-.29227,Vh=-.90649,qh=1.97294,Gh=qh*Vh,Wh=qh*zh,Yh=zh*Kh-Vh*Hh;function Xh(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Jh)return new Jh(e.h,e.s,e.l,e.opacity);e instanceof Qh||(e=kh(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Yh*r+Gh*t-Wh*n)/-5.9615122912,o=r-i,s=(qh*(n-i)-Kh*o)/Vh,a=Math.sqrt(s*s+o*o)/(qh*i*(1-i)),A=a?Math.atan2(s,o)*Rh-120:NaN;return new Jh(A<0?A+360:A,a,i,e.opacity)}(e):new Jh(e,t,n,null==r?1:r)}function Jh(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}lh(Jh,Xh,ch(uh,{brighter:function(e){return e=null==e?fh:Math.pow(fh,e),new Jh(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?dh:Math.pow(dh,e),new Jh(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Dh,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Qh(255*(t+n*(Hh*r+zh*i)),255*(t+n*(Kh*r+Vh*i)),255*(t+n*(qh*r)),this.opacity)}}));var Zh=e=>()=>e;function $h(e,t){return function(n){return e+n*t}}function ep(e){return 1===(e=+e)?tp: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):Zh(isNaN(t)?n:t)}}function tp(e,t){var n=t-e;return n?$h(e,n):Zh(isNaN(e)?t:e)}var np=function e(t){var n=ep(t);function r(e,t){var r=n((e=Uh(e)).r,(t=Uh(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=tp(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+''}}return r.gamma=e,r}(1);var rp=function(e){return function(t){var n,r,i=t.length,o=new Array(i),s=new Array(i),a=new Array(i);for(n=0;n<i;++n)r=Uh(t[n]),o[n]=r.r||0,s[n]=r.g||0,a[n]=r.b||0;return o=e(o),s=e(s),a=e(a),r.opacity=1,function(e){return r.r=o(e),r.g=s(e),r.b=a(e),r+''}}}(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),i=e[r],o=e[r+1],s=r>0?e[r-1]:2*i-o,a=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}((n-r/t)*t,s,i,o,a)}});function ip(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function op(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),s=new Array(r);for(n=0;n<i;++n)o[n]=dp(e[n],t[n]);for(;n<r;++n)s[n]=t[n];return function(e){for(n=0;n<i;++n)s[n]=o[n](e);return s}}function sp(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function ap(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Ap(e,t){var n,r={},i={};for(n in null!==e&&'object'==typeof e||(e={}),null!==t&&'object'==typeof t||(t={}),t)n in e?r[n]=dp(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var lp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,cp=new RegExp(lp.source,'g');function up(e,t){var n,r,i,o=lp.lastIndex=cp.lastIndex=0,s=-1,a=[],A=[];for(e+='',t+='';(n=lp.exec(e))&&(r=cp.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,A.push({i:s,x:ap(n,r)})),o=cp.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?A[0]?function(e){return function(t){return e(t)+''}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,r=0;r<t;++r)a[(n=A[r]).i]=n.x(e);return a.join('')})}function dp(e,t){var n,r=typeof t;return null==t||'boolean'===r?Zh(t):('number'===r?ap:'string'===r?(n=Fh(t))?(t=n,np):up:t instanceof Fh?np:t instanceof Date?sp:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?ip:Array.isArray(t)?op:'function'!=typeof t.valueOf&&'function'!=typeof t.toString||isNaN(t)?Ap:ap)(e,t)}function fp(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function hp(e){return function t(n){function r(t,r){var i=e((t=Xh(t)).h,(r=Xh(r)).h),o=tp(t.s,r.s),s=tp(t.l,r.l),a=tp(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=s(Math.pow(e,n)),t.opacity=a(e),t+''}}return n=+n,r.gamma=t,r}(1)}hp(function(e,t){var n=t-e;return n?$h(e,n>180||n<-180?n-360*Math.round(n/360):n):Zh(isNaN(e)?t:e)});var pp=hp(tp);function gp(e){return+e}var mp=[0,1];function vp(e){return e}function bp(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function yp(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i<r?(r=bp(i,r),o=n(s,o)):(r=bp(r,i),o=n(o,s)),function(e){return o(r(e))}}function wp(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)i[s]=bp(e[s],e[s+1]),o[s]=n(t[s],t[s+1]);return function(t){var n=Xf(e,t,1,r)-1;return o[n](i[n](t))}}function Bp(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function xp(){var e,t,n,r,i,o,s=mp,a=mp,A=dp,l=vp;function c(){var e=Math.min(s.length,a.length);return l!==vp&&(l=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(s[0],s[e-1])),r=e>2?wp:yp,i=o=null,u}function u(t){return null==t||isNaN(t=+t)?n:(i||(i=r(s.map(e),a,A)))(e(l(t)))}return u.invert=function(n){return l(t((o||(o=r(a,s.map(e),ap)))(n)))},u.domain=function(e){return arguments.length?(s=Array.from(e,gp),c()):s.slice()},u.range=function(e){return arguments.length?(a=Array.from(e),c()):a.slice()},u.rangeRound=function(e){return a=Array.from(e),A=fp,c()},u.clamp=function(e){return arguments.length?(l=!!e||vp,c()):l!==vp},u.interpolate=function(e){return arguments.length?(A=e,c()):A},u.unknown=function(e){return arguments.length?(n=e,u):n},function(n,r){return e=n,t=r,c()}}function Cp(){return xp()(vp,vp)}function _p(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 jp(e){return(e=_p(Math.abs(e)))?e[1]:NaN}var Fp,Ep=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Sp(e){if(!(t=Ep.exec(e)))throw new Error('invalid format: '+e);var t;return new kp({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 kp(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 Up(e,t){var n=_p(e,t);if(!n)return e+'';var r=n[0],i=n[1];return i<0?'0.'+new Array(-i).join('0')+r:r.length>i+1?r.slice(0,i+1)+'.'+r.slice(i+1):r+new Array(i-r.length+2).join('0')}Sp.prototype=kp.prototype,kp.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};var Qp={'%':(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+'',d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString('en').replace(/,/g,''):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Up(100*e,t),r:Up,s:function(e,t){var n=_p(e,t);if(!n)return e+'';var r=n[0],i=n[1],o=i-(Fp=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join('0'):o>0?r.slice(0,o)+'.'+r.slice(o):'0.'+new Array(1-o).join('0')+_p(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Lp(e){return e}var Op,Ip,Np,Tp=Array.prototype.map,Mp=['y','z','a','f','p','n','µ','m','','k','M','G','T','P','E','Z','Y'];function Pp(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Lp:(t=Tp.call(e.grouping,Number),n=e.thousands+'',function(e,r){for(var i=e.length,o=[],s=0,a=t[0],A=0;i>0&&a>0&&(A+a+1>r&&(a=Math.max(1,r-A)),o.push(e.substring(i-=a,i+a)),!((A+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?'':e.currency[0]+'',o=void 0===e.currency?'':e.currency[1]+'',s=void 0===e.decimal?'.':e.decimal+'',a=void 0===e.numerals?Lp:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Tp.call(e.numerals,String)),A=void 0===e.percent?'%':e.percent+'',l=void 0===e.minus?'−':e.minus+'',c=void 0===e.nan?'NaN':e.nan+'';function u(e){var t=(e=Sp(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,m=e.trim,v=e.type;'n'===v?(p=!0,v='g'):Qp[v]||(void 0===g&&(g=12),m=!0,v='g'),(f||'0'===t&&'='===n)&&(f=!0,t='0',n='=');var b='$'===d?i:'#'===d&&/[boxX]/.test(v)?'0'+v.toLowerCase():'',y='$'===d?o:/[%p]/.test(v)?A:'',w=Qp[v],B=/[defgprs%]/.test(v);function x(e){var i,o,A,d=b,x=y;if('c'===v)x=w(e)+x,e='';else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case'.':i=t=r;break;case'0':0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0===+e&&'+'!==u&&(C=!1),d=(C?'('===u?u:l:'-'===u||'('===u?'':u)+d,x=('s'===v?Mp[8+Fp/3]:'')+x+(C&&'('===u?')':''),B)for(i=-1,o=e.length;++i<o;)if(48>(A=e.charCodeAt(i))||A>57){x=(46===A?s+e.slice(i+1):e.slice(i))+x,e=e.slice(0,i);break}}p&&!f&&(e=r(e,1/0));var _=d.length+e.length+x.length,j=_<h?new Array(h-_+1).join(t):'';switch(p&&f&&(e=r(j+e,j.length?h-x.length:1/0),j=''),n){case'<':e=d+e+x+j;break;case'=':e=d+j+e+x;break;case'^':e=j.slice(0,_=j.length>>1)+d+e+x+j.slice(_);break;default:e=j+d+e+x}return a(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return e+''},x}return{format:u,formatPrefix:function(e,t){var n=u(((e=Sp(e)).type='f',e)),r=3*Math.max(-8,Math.min(8,Math.floor(jp(t)/3))),i=Math.pow(10,-r),o=Mp[8+r/3];return function(e){return n(i*e)+o}}}}function Dp(e,t,n,r){var i,o=nh(e,t,n);switch((r=Sp(null==r?',f':r)).type){case's':var s=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(jp(t)/3)))-jp(Math.abs(e)))}(o,s))||(r.precision=i),Np(r,s);case'':case'e':case'g':case'p':case'r':null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,jp(t)-jp(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-('e'===r.type));break;case'f':case'%':null!=r.precision||isNaN(i=function(e){return Math.max(0,-jp(Math.abs(e)))}(o))||(r.precision=i-2*('%'===r.type))}return Ip(r)}function Rp(e){var t=e.domain;return e.ticks=function(e){var n=t();return eh(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Dp(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),s=0,a=o.length-1,A=o[s],l=o[a],c=10;for(l<A&&(i=A,A=l,l=i,i=s,s=a,a=i);c-- >0;){if((i=th(A,l,n))===r)return o[s]=A,o[a]=l,t(o);if(i>0)A=Math.floor(A/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;A=Math.ceil(A*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function Hp(){var e=Cp();return e.copy=function(){return Bp(e,Hp())},rh.apply(e,arguments),Rp(e)}function zp(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],s=e[i];return s<o&&(n=r,r=i,i=n,n=o,o=s,s=n),e[r]=t.floor(o),e[i]=t.ceil(s),e}function Kp(e){return Math.log(e)}function Vp(e){return Math.exp(e)}function qp(e){return-Math.log(-e)}function Gp(e){return-Math.exp(-e)}function Wp(e){return isFinite(e)?+('1e'+e):e<0?0:e}function Yp(e){return function(t){return-e(-t)}}function Xp(e){var t,n,r=e(Kp,Vp),i=r.domain,o=10;function s(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),n=function(e){return 10===e?Wp:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Yp(t),n=Yp(n),e(qp,Gp)):e(Kp,Vp),r}return r.base=function(e){return arguments.length?(o=+e,s()):o},r.domain=function(e){return arguments.length?(i(e),s()):i()},r.ticks=function(e){var r,s=i(),a=s[0],A=s[s.length-1];(r=A<a)&&(d=a,a=A,A=d);var l,c,u,d=t(a),f=t(A),h=null==e?10:+e,p=[];if(!(o%1)&&f-d<h){if(d=Math.floor(d),f=Math.ceil(f),a>0){for(;d<=f;++d)for(c=1,l=n(d);c<o;++c)if(!((u=l*c)<a)){if(u>A)break;p.push(u)}}else for(;d<=f;++d)for(c=o-1,l=n(d);c>=1;--c)if(!((u=l*c)<a)){if(u>A)break;p.push(u)}2*p.length<h&&(p=eh(a,A,h))}else p=eh(d,f,Math.min(f-d,h)).map(n);return r?p.reverse():p},r.tickFormat=function(e,i){if(null==i&&(i=10===o?'.0e':','),'function'!=typeof i&&(i=Ip(i)),e===1/0)return i;null==e&&(e=10);var s=Math.max(1,o*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*o<o-.5&&(r*=o),r<=s?i(e):''}},r.nice=function(){return i(zp(i(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function Jp(){var e=Xp(xp()).domain([1,10]);return e.copy=function(){return Bp(e,Jp()).base(e.base())},rh.apply(e,arguments),e}function Zp(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function $p(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function eg(){var e=function(e){var t=1,n=e(Zp(t),$p(t));return n.constant=function(n){return arguments.length?e(Zp(t=+n),$p(t)):t},Rp(n)}(xp());return e.copy=function(){return Bp(e,eg()).constant(e.constant())},rh.apply(e,arguments)}Op=Pp({thousands:',',grouping:[3],currency:['$','']}),Ip=Op.format,Np=Op.formatPrefix;var tg=new Date,ng=new Date;function rg(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var s,a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=function(n){return rg(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return tg.setTime(+t),ng.setTime(+r),e(tg),e(ng),Math.floor(n(tg,ng))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var ig=rg(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});ig.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?rg(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):ig:null};var og=ig;ig.range;const sg=1e3,ag=6e4,Ag=36e5,lg=864e5,cg=6048e5,ug=2592e6,dg=31536e6;var fg=rg(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*sg)},function(e,t){return(t-e)/sg},function(e){return e.getUTCSeconds()}),hg=fg;fg.range;var pg=rg(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*sg)},function(e,t){e.setTime(+e+t*ag)},function(e,t){return(t-e)/ag},function(e){return e.getMinutes()}),gg=pg;pg.range;var mg=rg(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*sg-e.getMinutes()*ag)},function(e,t){e.setTime(+e+t*Ag)},function(e,t){return(t-e)/Ag},function(e){return e.getHours()}),vg=mg;mg.range;var bg=rg(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ag)/lg,e=>e.getDate()-1),yg=bg;function wg(e){return rg(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ag)/cg})}bg.range;var Bg=wg(0),xg=wg(1),Cg=wg(2),_g=wg(3),jg=wg(4),Fg=wg(5),Eg=wg(6);Bg.range,xg.range,Cg.range,_g.range,jg.range,Fg.range,Eg.range;var Sg=rg(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),kg=Sg;Sg.range;var Ug=rg(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Ug.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rg(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var Qg=Ug;Ug.range;var Lg=rg(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*ag)},function(e,t){return(t-e)/ag},function(e){return e.getUTCMinutes()}),Og=Lg;Lg.range;var Ig=rg(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*Ag)},function(e,t){return(t-e)/Ag},function(e){return e.getUTCHours()}),Ng=Ig;Ig.range;var Tg=rg(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/lg},function(e){return e.getUTCDate()-1}),Mg=Tg;function Pg(e){return rg(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/cg})}Tg.range;var Dg=Pg(0),Rg=Pg(1),Hg=Pg(2),zg=Pg(3),Kg=Pg(4),Vg=Pg(5),qg=Pg(6);Dg.range,Rg.range,Hg.range,zg.range,Kg.range,Vg.range,qg.range;var Gg=rg(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),Wg=Gg;Gg.range;var Yg=rg(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});Yg.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rg(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var Xg=Yg;function Jg(e,t,n,r,i,o){const s=[[hg,1,sg],[hg,5,5e3],[hg,15,15e3],[hg,30,3e4],[o,1,ag],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Ag],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,lg],[r,2,1728e5],[n,1,cg],[t,1,ug],[t,3,7776e6],[e,1,dg]];function a(t,n,r){const i=Math.abs(n-t)/r,o=Wf(([,,e])=>e).right(s,i);if(o===s.length)return e.every(nh(t/dg,n/dg,r));if(0===o)return og.every(Math.max(nh(t,n,r),1));const[a,A]=s[i/s[o-1][2]<s[o][2]/i?o-1:o];return a.every(A)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&'function'==typeof n.range?n:a(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},a]}Yg.range;const[Zg,$g]=Jg(Xg,Wg,Dg,Mg,Ng,Og),[em,tm]=Jg(Qg,kg,Bg,yg,vg,gg);function nm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function rm(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function im(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var om,sm,am,Am,lm,cm={'-':'',_:' ',0:'0'},um=/^\s*\d+/,dm=/^%/,fm=/[\\^$*+?|[\]().{}]/g;function hm(e,t,n){var r=e<0?'-':'',i=(r?-e:e)+'',o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function pm(e){return e.replace(fm,'\\$&')}function gm(e){return new RegExp('^(?:'+e.map(pm).join('|')+')','i')}function mm(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function vm(e,t,n){var r=um.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function bm(e,t,n){var r=um.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function ym(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function wm(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Bm(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function xm(e,t,n){var r=um.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Cm(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function _m(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||'00')),n+r[0].length):-1}function jm(e,t,n){var r=um.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Fm(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Em(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Sm(e,t,n){var r=um.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function km(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Um(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Qm(e,t,n){var r=um.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Lm(e,t,n){var r=um.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Om(e,t,n){var r=um.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Im(e,t,n){var r=dm.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Nm(e,t,n){var r=um.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Tm(e,t,n){var r=um.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Mm(e,t){return hm(e.getDate(),t,2)}function Pm(e,t){return hm(e.getHours(),t,2)}function Dm(e,t){return hm(e.getHours()%12||12,t,2)}function Rm(e,t){return hm(1+yg.count(Qg(e),e),t,3)}function Hm(e,t){return hm(e.getMilliseconds(),t,3)}function zm(e,t){return Hm(e,t)+'000'}function Km(e,t){return hm(e.getMonth()+1,t,2)}function Vm(e,t){return hm(e.getMinutes(),t,2)}function qm(e,t){return hm(e.getSeconds(),t,2)}function Gm(e){var t=e.getDay();return 0===t?7:t}function Wm(e,t){return hm(Bg.count(Qg(e)-1,e),t,2)}function Ym(e){var t=e.getDay();return t>=4||0===t?jg(e):jg.ceil(e)}function Xm(e,t){return e=Ym(e),hm(jg.count(Qg(e),e)+(4===Qg(e).getDay()),t,2)}function Jm(e){return e.getDay()}function Zm(e,t){return hm(xg.count(Qg(e)-1,e),t,2)}function $m(e,t){return hm(e.getFullYear()%100,t,2)}function ev(e,t){return hm((e=Ym(e)).getFullYear()%100,t,2)}function tv(e,t){return hm(e.getFullYear()%1e4,t,4)}function nv(e,t){var n=e.getDay();return hm((e=n>=4||0===n?jg(e):jg.ceil(e)).getFullYear()%1e4,t,4)}function rv(e){var t=e.getTimezoneOffset();return(t>0?'-':(t*=-1,'+'))+hm(t/60|0,'0',2)+hm(t%60,'0',2)}function iv(e,t){return hm(e.getUTCDate(),t,2)}function ov(e,t){return hm(e.getUTCHours(),t,2)}function sv(e,t){return hm(e.getUTCHours()%12||12,t,2)}function av(e,t){return hm(1+Mg.count(Xg(e),e),t,3)}function Av(e,t){return hm(e.getUTCMilliseconds(),t,3)}function lv(e,t){return Av(e,t)+'000'}function cv(e,t){return hm(e.getUTCMonth()+1,t,2)}function uv(e,t){return hm(e.getUTCMinutes(),t,2)}function dv(e,t){return hm(e.getUTCSeconds(),t,2)}function fv(e){var t=e.getUTCDay();return 0===t?7:t}function hv(e,t){return hm(Dg.count(Xg(e)-1,e),t,2)}function pv(e){var t=e.getUTCDay();return t>=4||0===t?Kg(e):Kg.ceil(e)}function gv(e,t){return e=pv(e),hm(Kg.count(Xg(e),e)+(4===Xg(e).getUTCDay()),t,2)}function mv(e){return e.getUTCDay()}function vv(e,t){return hm(Rg.count(Xg(e)-1,e),t,2)}function bv(e,t){return hm(e.getUTCFullYear()%100,t,2)}function yv(e,t){return hm((e=pv(e)).getUTCFullYear()%100,t,2)}function wv(e,t){return hm(e.getUTCFullYear()%1e4,t,4)}function Bv(e,t){var n=e.getUTCDay();return hm((e=n>=4||0===n?Kg(e):Kg.ceil(e)).getUTCFullYear()%1e4,t,4)}function xv(){return'+0000'}function Cv(){return'%'}function _v(e){return+e}function jv(e){return Math.floor(+e/1e3)}function Fv(e){return new Date(e)}function Ev(e){return e instanceof Date?+e:+new Date(+e)}function Sv(e,t,n,r,i,o,s,a,A,l){var c=Cp(),u=c.invert,d=c.domain,f=l('.%L'),h=l(':%S'),p=l('%I:%M'),g=l('%I %p'),m=l('%a %d'),v=l('%b %d'),b=l('%B'),y=l('%Y');function w(e){return(A(e)<e?f:a(e)<e?h:s(e)<e?p:o(e)<e?g:r(e)<e?i(e)<e?m:v:n(e)<e?b:y)(e)}return c.invert=function(e){return new Date(u(e))},c.domain=function(e){return arguments.length?d(Array.from(e,Ev)):d().map(Fv)},c.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},c.tickFormat=function(e,t){return null==t?w:l(t)},c.nice=function(e){var n=d();return e&&'function'==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(zp(n,e)):c},c.copy=function(){return Bp(c,Sv(e,t,n,r,i,o,s,a,A,l))},c}function kv(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]='#'+e.slice(6*r,6*++r);return n}!function(e){om=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,s=e.shortDays,a=e.months,A=e.shortMonths,l=gm(i),c=mm(i),u=gm(o),d=mm(o),f=gm(s),h=mm(s),p=gm(a),g=mm(a),m=gm(A),v=mm(A),b={a:function(e){return s[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return A[e.getMonth()]},B:function(e){return a[e.getMonth()]},c:null,d:Mm,e:Mm,f:zm,g:ev,G:nv,H:Pm,I:Dm,j:Rm,L:Hm,m:Km,M:Vm,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:_v,s:jv,S:qm,u:Gm,U:Wm,V:Xm,w:Jm,W:Zm,x:null,X:null,y:$m,Y:tv,Z:rv,'%':Cv},y={a:function(e){return s[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return A[e.getUTCMonth()]},B:function(e){return a[e.getUTCMonth()]},c:null,d:iv,e:iv,f:lv,g:yv,G:Bv,H:ov,I:sv,j:av,L:Av,m:cv,M:uv,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:_v,s:jv,S:dv,u:fv,U:hv,V:gv,w:mv,W:vv,x:null,X:null,y:bv,Y:wv,Z:xv,'%':Cv},w={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:Em,e:Em,f:Om,g:Cm,G:xm,H:km,I:km,j:Sm,L:Lm,m:Fm,M:Um,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:jm,Q:Nm,s:Tm,S:Qm,u:bm,U:ym,V:wm,w:vm,W:Bm,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:Cm,Y:xm,Z:_m,'%':Im};function B(e,t){return function(n){var r,i,o,s=[],a=-1,A=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++a<l;)37===e.charCodeAt(a)&&(s.push(e.slice(A,a)),null!=(i=cm[r=e.charAt(++a)])?r=e.charAt(++a):i='e'===r?' ':'0',(o=t[r])&&(r=o(n,i)),s.push(r),A=a+1);return s.push(e.slice(A,a)),s.join('')}}function x(e,t){return function(n){var r,i,o=im(1900,void 0,1);if(C(o,e,n+='',0)!=n.length)return null;if('Q'in o)return new Date(o.Q);if('s'in o)return new Date(1e3*o.s+('L'in o?o.L:0));if(t&&!('Z'in o)&&(o.Z=0),'p'in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m='q'in o?o.q:0),'V'in o){if(o.V<1||o.V>53)return null;'w'in o||(o.w=1),'Z'in o?(i=(r=rm(im(o.y,0,1))).getUTCDay(),r=i>4||0===i?Rg.ceil(r):Rg(r),r=Mg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=nm(im(o.y,0,1))).getDay(),r=i>4||0===i?xg.ceil(r):xg(r),r=yg.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else('W'in o||'U'in o)&&('w'in o||(o.w='u'in o?o.u%7:'W'in o?1:0),i='Z'in o?rm(im(o.y,0,1)).getUTCDay():nm(im(o.y,0,1)).getDay(),o.m=0,o.d='W'in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return'Z'in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,rm(o)):nm(o)}}function C(e,t,n,r){for(var i,o,s=0,a=t.length,A=n.length;s<a;){if(r>=A)return-1;if(37===(i=t.charCodeAt(s++))){if(i=t.charAt(s++),!(o=w[i in cm?t.charAt(s++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=B(n,b),b.X=B(r,b),b.c=B(t,b),y.x=B(n,y),y.X=B(r,y),y.c=B(t,y),{format:function(e){var t=B(e+='',b);return t.toString=function(){return e},t},parse:function(e){var t=x(e+='',!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=B(e+='',y);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e+='',!0);return t.toString=function(){return e},t}}}(e),sm=om.format,am=om.parse,Am=om.utcFormat,lm=om.utcParse}({dateTime:'%x, %X',date:'%-m/%-d/%Y',time:'%-I:%M:%S %p',periods:['AM','PM'],days:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],shortDays:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],months:['January','February','March','April','May','June','July','August','September','October','November','December'],shortMonths:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']});kv('1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf'),kv('7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666'),kv('1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666'),kv('a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928'),kv('fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2'),kv('b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc'),kv('e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999'),kv('66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3');var Uv=kv('8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f'),Qv=e=>Tf(e[e.length-1]),Lv=new Array(3).concat('d8b365f5f5f55ab4ac','a6611adfc27d80cdc1018571','a6611adfc27df5f5f580cdc1018571','8c510ad8b365f6e8c3c7eae55ab4ac01665e','8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e','8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e','8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e','5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30','5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30').map(kv);Qv(Lv);var Ov=new Array(3).concat('af8dc3f7f7f77fbf7b','7b3294c2a5cfa6dba0008837','7b3294c2a5cff7f7f7a6dba0008837','762a83af8dc3e7d4e8d9f0d37fbf7b1b7837','762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837','762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837','762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837','40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b','40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b').map(kv);Qv(Ov);var Iv=new Array(3).concat('e9a3c9f7f7f7a1d76a','d01c8bf1b6dab8e1864dac26','d01c8bf1b6daf7f7f7b8e1864dac26','c51b7de9a3c9fde0efe6f5d0a1d76a4d9221','c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221','c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221','c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221','8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419','8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419').map(kv);Qv(Iv);var Nv=new Array(3).concat('998ec3f7f7f7f1a340','5e3c99b2abd2fdb863e66101','5e3c99b2abd2f7f7f7fdb863e66101','542788998ec3d8daebfee0b6f1a340b35806','542788998ec3d8daebf7f7f7fee0b6f1a340b35806','5427888073acb2abd2d8daebfee0b6fdb863e08214b35806','5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806','2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08','2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08').map(kv);Qv(Nv);var Tv=new Array(3).concat('ef8a62f7f7f767a9cf','ca0020f4a58292c5de0571b0','ca0020f4a582f7f7f792c5de0571b0','b2182bef8a62fddbc7d1e5f067a9cf2166ac','b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac','b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac','b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac','67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061','67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061').map(kv);Qv(Tv);var Mv=new Array(3).concat('ef8a62ffffff999999','ca0020f4a582bababa404040','ca0020f4a582ffffffbababa404040','b2182bef8a62fddbc7e0e0e09999994d4d4d','b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d','b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d','b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d','67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a','67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a').map(kv);Qv(Mv);var Pv=new Array(3).concat('fc8d59ffffbf91bfdb','d7191cfdae61abd9e92c7bb6','d7191cfdae61ffffbfabd9e92c7bb6','d73027fc8d59fee090e0f3f891bfdb4575b4','d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4','d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4','d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4','a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695','a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695').map(kv);Qv(Pv);var Dv=new Array(3).concat('fc8d59ffffbf91cf60','d7191cfdae61a6d96a1a9641','d7191cfdae61ffffbfa6d96a1a9641','d73027fc8d59fee08bd9ef8b91cf601a9850','d73027fc8d59fee08bffffbfd9ef8b91cf601a9850','d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850','d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850','a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837','a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837').map(kv);Qv(Dv);var Rv=new Array(3).concat('fc8d59ffffbf99d594','d7191cfdae61abdda42b83ba','d7191cfdae61ffffbfabdda42b83ba','d53e4ffc8d59fee08be6f59899d5943288bd','d53e4ffc8d59fee08bffffbfe6f59899d5943288bd','d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd','d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd','9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2','9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2').map(kv);Qv(Rv);var Hv=new Array(3).concat('e5f5f999d8c92ca25f','edf8fbb2e2e266c2a4238b45','edf8fbb2e2e266c2a42ca25f006d2c','edf8fbccece699d8c966c2a42ca25f006d2c','edf8fbccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b').map(kv);Qv(Hv);var zv=new Array(3).concat('e0ecf49ebcda8856a7','edf8fbb3cde38c96c688419d','edf8fbb3cde38c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b').map(kv);Qv(zv);var Kv=new Array(3).concat('e0f3dba8ddb543a2ca','f0f9e8bae4bc7bccc42b8cbe','f0f9e8bae4bc7bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081').map(kv);Qv(Kv);var Vv=new Array(3).concat('fee8c8fdbb84e34a33','fef0d9fdcc8afc8d59d7301f','fef0d9fdcc8afc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000').map(kv);Qv(Vv);var qv=new Array(3).concat('ece2f0a6bddb1c9099','f6eff7bdc9e167a9cf02818a','f6eff7bdc9e167a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636').map(kv);Qv(qv);var Gv=new Array(3).concat('ece7f2a6bddb2b8cbe','f1eef6bdc9e174a9cf0570b0','f1eef6bdc9e174a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858').map(kv);Qv(Gv);var Wv=new Array(3).concat('e7e1efc994c7dd1c77','f1eef6d7b5d8df65b0ce1256','f1eef6d7b5d8df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f').map(kv);Qv(Wv);var Yv=new Array(3).concat('fde0ddfa9fb5c51b8a','feebe2fbb4b9f768a1ae017e','feebe2fbb4b9f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a').map(kv);Qv(Yv);var Xv=new Array(3).concat('edf8b17fcdbb2c7fb8','ffffcca1dab441b6c4225ea8','ffffcca1dab441b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58').map(kv);Qv(Xv);var Jv=new Array(3).concat('f7fcb9addd8e31a354','ffffccc2e69978c679238443','ffffccc2e69978c67931a354006837','ffffccd9f0a3addd8e78c67931a354006837','ffffccd9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529').map(kv);Qv(Jv);var Zv=new Array(3).concat('fff7bcfec44fd95f0e','ffffd4fed98efe9929cc4c02','ffffd4fed98efe9929d95f0e993404','ffffd4fee391fec44ffe9929d95f0e993404','ffffd4fee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506').map(kv);Qv(Zv);var $v=new Array(3).concat('ffeda0feb24cf03b20','ffffb2fecc5cfd8d3ce31a1c','ffffb2fecc5cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026').map(kv);Qv($v);var eb=new Array(3).concat('deebf79ecae13182bd','eff3ffbdd7e76baed62171b5','eff3ffbdd7e76baed63182bd08519c','eff3ffc6dbef9ecae16baed63182bd08519c','eff3ffc6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b').map(kv);Qv(eb);var tb=new Array(3).concat('e5f5e0a1d99b31a354','edf8e9bae4b374c476238b45','edf8e9bae4b374c47631a354006d2c','edf8e9c7e9c0a1d99b74c47631a354006d2c','edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b').map(kv);Qv(tb);var nb=new Array(3).concat('f0f0f0bdbdbd636363','f7f7f7cccccc969696525252','f7f7f7cccccc969696636363252525','f7f7f7d9d9d9bdbdbd969696636363252525','f7f7f7d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000').map(kv);Qv(nb);var rb=new Array(3).concat('efedf5bcbddc756bb1','f2f0f7cbc9e29e9ac86a51a3','f2f0f7cbc9e29e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d').map(kv);Qv(rb);var ib=new Array(3).concat('fee0d2fc9272de2d26','fee5d9fcae91fb6a4acb181d','fee5d9fcae91fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d').map(kv);Qv(ib);var ob=new Array(3).concat('fee6cefdae6be6550d','feeddefdbe85fd8d3cd94701','feeddefdbe85fd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704').map(kv);Qv(ob);var sb=sl,ab=function(e){return this.__data__.set(e,'__lodash_hash_undefined__'),this},Ab=function(e){return this.__data__.has(e)};function lb(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new sb;++t<n;)this.add(e[t])}lb.prototype.add=lb.prototype.push=ab,lb.prototype.has=Ab;var cb=lb;var ub=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1},db=function(e){return e!=e},fb=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1};var hb=function(e,t,n){return t==t?fb(e,t,n):ub(e,db,n)};var pb=function(e,t){return!!(null==e?0:e.length)&&hb(e,t,0)>-1};var gb=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1};var mb=function(e,t){return e.has(t)},vb=cb,bb=pb,yb=gb,wb=Bd,Bb=Ec,xb=mb;var Cb=function(e,t,n,r){var i=-1,o=bb,s=!0,a=e.length,A=[],l=t.length;if(!a)return A;n&&(t=wb(t,Bb(n))),r?(o=yb,s=!1):t.length>=200&&(o=xb,s=!1,t=new vb(t));e:for(;++i<a;){var c=e[i],u=null==n?c:n(c);if(c=r||0!==c?c:0,s&&u==u){for(var d=l;d--;)if(t[d]===u)continue e;A.push(c)}else o(t,u,r)||A.push(c)}return A},_b=lc,jb=Kn(Yu(function(e,t){return _b(e)?Cb(e,t):[]})),Fb=Math.PI,Eb=2*Fb,Sb=1e-6,kb=Eb-Sb;function Ub(){this._x0=this._y0=this._x1=this._y1=null,this._=''}function Qb(){return new Ub}function Lb(e){return function(){return e}}Ub.prototype=Qb.prototype={constructor:Ub,moveTo:function(e,t){this._+='M'+(this._x0=this._x1=+e)+','+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+='Z')},lineTo:function(e,t){this._+='L'+(this._x1=+e)+','+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+='Q'+ +e+','+ +t+','+(this._x1=+n)+','+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+='C'+ +e+','+ +t+','+ +n+','+ +r+','+(this._x1=+i)+','+(this._y1=+o)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var o=this._x1,s=this._y1,a=n-e,A=r-t,l=o-e,c=s-t,u=l*l+c*c;if(i<0)throw new Error('negative radius: '+i);if(null===this._x1)this._+='M'+(this._x1=e)+','+(this._y1=t);else if(u>Sb)if(Math.abs(c*a-A*l)>Sb&&i){var d=n-o,f=r-s,h=a*a+A*A,p=d*d+f*f,g=Math.sqrt(h),m=Math.sqrt(u),v=i*Math.tan((Fb-Math.acos((h+u-p)/(2*g*m)))/2),b=v/m,y=v/g;Math.abs(b-1)>Sb&&(this._+='L'+(e+b*l)+','+(t+b*c)),this._+='A'+i+','+i+',0,0,'+ +(c*d>l*f)+','+(this._x1=e+y*a)+','+(this._y1=t+y*A)}else this._+='L'+(this._x1=e)+','+(this._y1=t);else;},arc:function(e,t,n,r,i,o){e=+e,t=+t,o=!!o;var s=(n=+n)*Math.cos(r),a=n*Math.sin(r),A=e+s,l=t+a,c=1^o,u=o?r-i:i-r;if(n<0)throw new Error('negative radius: '+n);null===this._x1?this._+='M'+A+','+l:(Math.abs(this._x1-A)>Sb||Math.abs(this._y1-l)>Sb)&&(this._+='L'+A+','+l),n&&(u<0&&(u=u%Eb+Eb),u>kb?this._+='A'+n+','+n+',0,1,'+c+','+(e-s)+','+(t-a)+'A'+n+','+n+',0,1,'+c+','+(this._x1=A)+','+(this._y1=l):u>Sb&&(this._+='A'+n+','+n+',0,'+ +(u>=Fb)+','+c+','+(this._x1=e+n*Math.cos(i))+','+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+='M'+(this._x0=this._x1=+e)+','+(this._y0=this._y1=+t)+'h'+ +n+'v'+ +r+'h'+-n+'Z'},toString:function(){return this._}};var Ob=Math.abs,Ib=Math.atan2,Nb=Math.cos,Tb=Math.max,Mb=Math.min,Pb=Math.sin,Db=Math.sqrt,Rb=1e-12,Hb=Math.PI,zb=Hb/2,Kb=2*Hb;function Vb(e){return e>=1?zb:e<=-1?-zb:Math.asin(e)}function qb(e){return e.innerRadius}function Gb(e){return e.outerRadius}function Wb(e){return e.startAngle}function Yb(e){return e.endAngle}function Xb(e){return e&&e.padAngle}function Jb(e,t,n,r,i,o,s){var a=e-n,A=t-r,l=(s?o:-o)/Db(a*a+A*A),c=l*A,u=-l*a,d=e+c,f=t+u,h=n+c,p=r+u,g=(d+h)/2,m=(f+p)/2,v=h-d,b=p-f,y=v*v+b*b,w=i-o,B=d*p-h*f,x=(b<0?-1:1)*Db(Tb(0,w*w*y-B*B)),C=(B*b-v*x)/y,_=(-B*v-b*x)/y,j=(B*b+v*x)/y,F=(-B*v+b*x)/y,E=C-g,S=_-m,k=j-g,U=F-m;return E*E+S*S>k*k+U*U&&(C=j,_=F),{cx:C,cy:_,x01:-c,y01:-u,x11:C*(i/w-1),y11:_*(i/w-1)}}function Zb(){var e=qb,t=Gb,n=Lb(0),r=null,i=Wb,o=Yb,s=Xb,a=null;function A(){var A,l,c=+e.apply(this,arguments),u=+t.apply(this,arguments),d=i.apply(this,arguments)-zb,f=o.apply(this,arguments)-zb,h=Ob(f-d),p=f>d;if(a||(a=A=Qb()),u<c&&(l=u,u=c,c=l),u>Rb)if(h>Kb-Rb)a.moveTo(u*Nb(d),u*Pb(d)),a.arc(0,0,u,d,f,!p),c>Rb&&(a.moveTo(c*Nb(f),c*Pb(f)),a.arc(0,0,c,f,d,p));else{var g,m,v=d,b=f,y=d,w=f,B=h,x=h,C=s.apply(this,arguments)/2,_=C>Rb&&(r?+r.apply(this,arguments):Db(c*c+u*u)),j=Mb(Ob(u-c)/2,+n.apply(this,arguments)),F=j,E=j;if(_>Rb){var S=Vb(_/c*Pb(C)),k=Vb(_/u*Pb(C));(B-=2*S)>Rb?(y+=S*=p?1:-1,w-=S):(B=0,y=w=(d+f)/2),(x-=2*k)>Rb?(v+=k*=p?1:-1,b-=k):(x=0,v=b=(d+f)/2)}var U=u*Nb(v),Q=u*Pb(v),L=c*Nb(w),O=c*Pb(w);if(j>Rb){var I,N=u*Nb(b),T=u*Pb(b),M=c*Nb(y),P=c*Pb(y);if(h<Hb&&(I=function(e,t,n,r,i,o,s,a){var A=n-e,l=r-t,c=s-i,u=a-o,d=u*A-c*l;if(!(d*d<Rb))return[e+(d=(c*(t-o)-u*(e-i))/d)*A,t+d*l]}(U,Q,M,P,N,T,L,O))){var D=U-I[0],R=Q-I[1],H=N-I[0],z=T-I[1],K=1/Pb(function(e){return e>1?0:e<-1?Hb:Math.acos(e)}((D*H+R*z)/(Db(D*D+R*R)*Db(H*H+z*z)))/2),V=Db(I[0]*I[0]+I[1]*I[1]);F=Mb(j,(c-V)/(K-1)),E=Mb(j,(u-V)/(K+1))}}x>Rb?E>Rb?(g=Jb(M,P,U,Q,u,E,p),m=Jb(N,T,L,O,u,E,p),a.moveTo(g.cx+g.x01,g.cy+g.y01),E<j?a.arc(g.cx,g.cy,E,Ib(g.y01,g.x01),Ib(m.y01,m.x01),!p):(a.arc(g.cx,g.cy,E,Ib(g.y01,g.x01),Ib(g.y11,g.x11),!p),a.arc(0,0,u,Ib(g.cy+g.y11,g.cx+g.x11),Ib(m.cy+m.y11,m.cx+m.x11),!p),a.arc(m.cx,m.cy,E,Ib(m.y11,m.x11),Ib(m.y01,m.x01),!p))):(a.moveTo(U,Q),a.arc(0,0,u,v,b,!p)):a.moveTo(U,Q),c>Rb&&B>Rb?F>Rb?(g=Jb(L,O,N,T,c,-F,p),m=Jb(U,Q,M,P,c,-F,p),a.lineTo(g.cx+g.x01,g.cy+g.y01),F<j?a.arc(g.cx,g.cy,F,Ib(g.y01,g.x01),Ib(m.y01,m.x01),!p):(a.arc(g.cx,g.cy,F,Ib(g.y01,g.x01),Ib(g.y11,g.x11),!p),a.arc(0,0,c,Ib(g.cy+g.y11,g.cx+g.x11),Ib(m.cy+m.y11,m.cx+m.x11),p),a.arc(m.cx,m.cy,F,Ib(m.y11,m.x11),Ib(m.y01,m.x01),!p))):a.arc(0,0,c,w,y,p):a.lineTo(L,O)}else a.moveTo(0,0);if(a.closePath(),A)return a=null,A+''||null}return A.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Hb/2;return[Nb(r)*n,Pb(r)*n]},A.innerRadius=function(t){return arguments.length?(e='function'==typeof t?t:Lb(+t),A):e},A.outerRadius=function(e){return arguments.length?(t='function'==typeof e?e:Lb(+e),A):t},A.cornerRadius=function(e){return arguments.length?(n='function'==typeof e?e:Lb(+e),A):n},A.padRadius=function(e){return arguments.length?(r=null==e?null:'function'==typeof e?e:Lb(+e),A):r},A.startAngle=function(e){return arguments.length?(i='function'==typeof e?e:Lb(+e),A):i},A.endAngle=function(e){return arguments.length?(o='function'==typeof e?e:Lb(+e),A):o},A.padAngle=function(e){return arguments.length?(s='function'==typeof e?e:Lb(+e),A):s},A.context=function(e){return arguments.length?(a=null==e?null:e,A):a},A}function $b(e){this._context=e}function ey(e){return new $b(e)}function ty(e){return e[0]}function ny(e){return e[1]}function ry(){var e=ty,t=ny,n=Lb(!0),r=null,i=ey,o=null;function s(s){var a,A,l,c=s.length,u=!1;for(null==r&&(o=i(l=Qb())),a=0;a<=c;++a)!(a<c&&n(A=s[a],a,s))===u&&((u=!u)?o.lineStart():o.lineEnd()),u&&o.point(+e(A,a,s),+t(A,a,s));if(l)return o=null,l+''||null}return s.x=function(t){return arguments.length?(e='function'==typeof t?t:Lb(+t),s):e},s.y=function(e){return arguments.length?(t='function'==typeof e?e:Lb(+e),s):t},s.defined=function(e){return arguments.length?(n='function'==typeof e?e:Lb(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),s):r},s}function iy(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function oy(e){return e}$b.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var sy=Array.prototype.slice;function ay(){}function Ay(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function ly(e){this._context=e}function cy(e){this._context=e}function uy(e){this._context=e}function dy(e,t){this._basis=new ly(e),this._beta=t}ly.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ay(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ay(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},cy.prototype={areaStart:ay,areaEnd:ay,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ay(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},uy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ay(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},dy.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],s=e[n]-i,a=t[n]-o,A=-1;++A<=n;)r=A/n,this._basis.point(this._beta*e[A]+(1-this._beta)*(i+r*s),this._beta*t[A]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var fy=function e(t){function n(e){return 1===t?new ly(e):new dy(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function hy(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function py(e,t){this._context=e,this._k=(1-t)/6}py.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:hy(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:hy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var gy=function e(t){function n(e){return new py(e,t)}return n.tension=function(t){return e(+t)},n}(0);function my(e,t){this._context=e,this._k=(1-t)/6}my.prototype={areaStart:ay,areaEnd:ay,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:hy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var vy=function e(t){function n(e){return new my(e,t)}return n.tension=function(t){return e(+t)},n}(0);function by(e,t){this._context=e,this._k=(1-t)/6}by.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:hy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var yy=function e(t){function n(e){return new by(e,t)}return n.tension=function(t){return e(+t)},n}(0);function wy(e,t,n){var r=e._x1,i=e._y1,o=e._x2,s=e._y2;if(e._l01_a>Rb){var a=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,A=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*a-e._x0*e._l12_2a+e._x2*e._l01_2a)/A,i=(i*a-e._y0*e._l12_2a+e._y2*e._l01_2a)/A}if(e._l23_a>Rb){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/c,s=(s*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,s,e._x2,e._y2)}function By(e,t){this._context=e,this._alpha=t}By.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:wy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var xy=function e(t){function n(e){return t?new By(e,t):new py(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Cy(e,t){this._context=e,this._alpha=t}Cy.prototype={areaStart:ay,areaEnd:ay,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:wy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var _y=function e(t){function n(e){return t?new Cy(e,t):new my(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function jy(e,t){this._context=e,this._alpha=t}jy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:wy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fy=function e(t){function n(e){return t?new jy(e,t):new by(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ey(e){this._context=e}function Sy(e){return e<0?-1:1}function ky(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),s=(n-e._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Sy(o)+Sy(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Uy(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Qy(e,t,n){var r=e._x0,i=e._y0,o=e._x1,s=e._y1,a=(o-r)/3;e._context.bezierCurveTo(r+a,i+a*t,o-a,s-a*n,o,s)}function Ly(e){this._context=e}function Oy(e){this._context=new Iy(e)}function Iy(e){this._context=e}function Ny(e){this._context=e}function Ty(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),s=new Array(r);for(i[0]=0,o[0]=2,s[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,s[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,s[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,s[t]-=n*s[t-1];for(i[r-1]=s[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(s[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function My(e,t){this._context=e,this._t=t}function Py(e,t){if((i=e.length)>1)for(var n,r,i,o=1,s=e[t[0]],a=s.length;o<i;++o)for(r=s,s=e[t[o]],n=0;n<a;++n)s[n][1]+=s[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Dy(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Ry(e,t){return e[t]}function Hy(e,t){if((a=e.length)>0)for(var n,r,i,o,s,a,A=0,l=e[t[0]].length;A<l;++A)for(o=s=0,n=0;n<a;++n)(i=(r=e[t[n]][A])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=s,r[0]=s+=i):(r[0]=0,r[1]=i)}function zy(e){for(var t,n=-1,r=0,i=e.length,o=-1/0;++n<i;)(t=+e[n][1])>o&&(o=t,r=n);return r}function Ky(e){var t=e.map(Vy);return Dy(e).sort(function(e,n){return t[e]-t[n]})}function Vy(e){for(var t,n=0,r=-1,i=e.length;++r<i;)(t=+e[r][1])&&(n+=t);return n}function qy(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)]}Ey.prototype={areaStart:ay,areaEnd:ay,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},Ly.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Qy(this,this._t0,Uy(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Qy(this,Uy(this,n=ky(this,e,t)),n);break;default:Qy(this,this._t0,n=ky(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Oy.prototype=Object.create(Ly.prototype)).point=function(e,t){Ly.prototype.point.call(this,t,e)},Iy.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},Ny.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Ty(e),i=Ty(t),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[s],t[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},My.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Gy,Wy=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Yy(e){if(!(t=Wy.exec(e)))throw new Error('invalid format: '+e);var t;return new Xy({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 Xy(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 Jy(e,t){var n=qy(e,t);if(!n)return e+'';var r=n[0],i=n[1];return i<0?'0.'+new Array(-i).join('0')+r:r.length>i+1?r.slice(0,i+1)+'.'+r.slice(i+1):r+new Array(i-r.length+2).join('0')}Yy.prototype=Xy.prototype,Xy.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};var Zy={'%':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 Jy(100*e,t)},r:Jy,s:function(e,t){var n=qy(e,t);if(!n)return e+'';var r=n[0],i=n[1],o=i-(Gy=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join('0'):o>0?r.slice(0,o)+'.'+r.slice(o):'0.'+new Array(1-o).join('0')+qy(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function $y(e){return e}var ew,tw,nw=Array.prototype.map,rw=['y','z','a','f','p','n','µ','m','','k','M','G','T','P','E','Z','Y'];function iw(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?$y:(t=nw.call(e.grouping,Number),n=e.thousands+'',function(e,r){for(var i=e.length,o=[],s=0,a=t[0],A=0;i>0&&a>0&&(A+a+1>r&&(a=Math.max(1,r-A)),o.push(e.substring(i-=a,i+a)),!((A+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?'':e.currency[0]+'',o=void 0===e.currency?'':e.currency[1]+'',s=void 0===e.decimal?'.':e.decimal+'',a=void 0===e.numerals?$y:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(nw.call(e.numerals,String)),A=void 0===e.percent?'%':e.percent+'',l=void 0===e.minus?'-':e.minus+'',c=void 0===e.nan?'NaN':e.nan+'';function u(e){var t=(e=Yy(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,m=e.trim,v=e.type;'n'===v?(p=!0,v='g'):Zy[v]||(void 0===g&&(g=12),m=!0,v='g'),(f||'0'===t&&'='===n)&&(f=!0,t='0',n='=');var b='$'===d?i:'#'===d&&/[boxX]/.test(v)?'0'+v.toLowerCase():'',y='$'===d?o:/[%p]/.test(v)?A:'',w=Zy[v],B=/[defgprs%]/.test(v);function x(e){var i,o,A,d=b,x=y;if('c'===v)x=w(e)+x,e='';else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case'.':i=t=r;break;case'0':0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0===+e&&'+'!==u&&(C=!1),d=(C?'('===u?u:l:'-'===u||'('===u?'':u)+d,x=('s'===v?rw[8+Gy/3]:'')+x+(C&&'('===u?')':''),B)for(i=-1,o=e.length;++i<o;)if(48>(A=e.charCodeAt(i))||A>57){x=(46===A?s+e.slice(i+1):e.slice(i))+x,e=e.slice(0,i);break}}p&&!f&&(e=r(e,1/0));var _=d.length+e.length+x.length,j=_<h?new Array(h-_+1).join(t):'';switch(p&&f&&(e=r(j+e,j.length?h-x.length:1/0),j=''),n){case'<':e=d+e+x+j;break;case'=':e=d+j+e+x;break;case'^':e=j.slice(0,_=j.length>>1)+d+e+x+j.slice(_);break;default:e=j+d+e+x}return a(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return e+''},x}return{format:u,formatPrefix:function(e,t){var n=u(((e=Yy(e)).type='f',e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=qy(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=rw[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){ew=iw(e),tw=ew.format,ew.formatPrefix}({decimal:'.',thousands:',',grouping:[3],currency:['$',''],minus:'-'});var ow=Pd,sw=Wd,aw=Od;var Aw=function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=ow(e,s);n(a,s)&&sw(o,aw(s,e),a)}return o};var lw=function(e,t){return null!=e&&t in Object(e)},cw=Od,uw=tc,dw=nc,fw=Vc,hw=rc,pw=Nd;var gw=function(e,t,n){for(var r=-1,i=(t=cw(t,e)).length,o=!1;++r<i;){var s=pw(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&hw(i)&&fw(s,i)&&(dw(e)||uw(e))},mw=lw,vw=gw;var bw=function(e,t){return null!=e&&vw(e,t,mw)},yw=Aw,ww=bw;var Bw=function(e,t){return yw(e,t,function(t,n){return ww(e,n)})};var xw=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Cw=tc,_w=nc,jw=Va?Va.isConcatSpreadable:void 0;var Fw=xw,Ew=function(e){return _w(e)||Cw(e)||!!(jw&&e&&e[jw])};var Sw=function e(t,n,r,i,o){var s=-1,a=t.length;for(r||(r=Ew),o||(o=[]);++s<a;){var A=t[s];n>0&&r(A)?n>1?e(A,n-1,r,i,o):Fw(o,A):i||(o[o.length]=A)}return o},kw=Sw;var Uw=function(e){return(null==e?0:e.length)?kw(e,1):[]},Qw=Pu,Lw=Vu;var Ow=function(e){return Lw(Qw(e,void 0,Uw),e+'')},Iw=Bw,Nw=Ow(function(e,t){return null==e?{}:Iw(e,t)}),Tw=Kn(Nw);var Mw=cb,Pw=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},Dw=mb;var Rw=function(e,t,n,r,i,o){var s=1&n,a=e.length,A=t.length;if(a!=A&&!(s&&A>a))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var u=-1,d=!0,f=2&n?new Mw:void 0;for(o.set(e,t),o.set(t,e);++u<a;){var h=e[u],p=t[u];if(r)var g=s?r(p,h,u,t,e,o):r(h,p,u,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!Pw(t,function(e,t){if(!Dw(f,t)&&(h===e||i(h,e,n,r,o)))return f.push(t)})){d=!1;break}}else if(h!==p&&!i(h,p,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d};var Hw=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n};var zw=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n},Kw=Sl,Vw=wa,qw=Rw,Gw=Hw,Ww=zw,Yw=Va?Va.prototype:void 0,Xw=Yw?Yw.valueOf:void 0;var Jw=function(e,t,n,r,i,o,s){switch(n){case'[object DataView]':if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case'[object ArrayBuffer]':return!(e.byteLength!=t.byteLength||!o(new Kw(e),new Kw(t)));case'[object Boolean]':case'[object Date]':case'[object Number]':return Vw(+e,+t);case'[object Error]':return e.name==t.name&&e.message==t.message;case'[object RegExp]':case'[object String]':return e==t+'';case'[object Map]':var a=Gw;case'[object Set]':var A=1&r;if(a||(a=Ww),e.size!=t.size&&!A)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var c=qw(a(e),a(t),r,i,o,s);return s.delete(e),c;case'[object Symbol]':if(Xw)return Xw.call(e)==Xw.call(t)}return!1},Zw=xw,$w=nc;var eB=function(e,t,n){var r=t(e);return $w(e)?r:Zw(r,n(e))};var tB=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o};var nB=function(){return[]},rB=tB,iB=nB,oB=Object.prototype.propertyIsEnumerable,sB=Object.getOwnPropertySymbols,aB=sB?function(e){return null==e?[]:(e=Object(e),rB(sB(e),function(t){return oB.call(e,t)}))}:iB,AB=aB,lB=Pl(Object.keys,Object),cB=Hl,uB=lB,dB=Object.prototype.hasOwnProperty;var fB=function(e){if(!cB(e))return uB(e);var t=[];for(var n in Object(e))dB.call(e,n)&&'constructor'!=n&&t.push(n);return t},hB=$c,pB=fB,gB=sc;var mB=function(e){return gB(e)?hB(e):pB(e)},vB=eB,bB=AB,yB=mB;var wB=function(e){return vB(e,yB,bB)},BB=wB,xB=Object.prototype.hasOwnProperty;var CB=function(e,t,n,r,i,o){var s=1&n,a=BB(e),A=a.length;if(A!=BB(t).length&&!s)return!1;for(var l=A;l--;){var c=a[l];if(!(s?c in t:xB.call(t,c)))return!1}var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=!0;o.set(e,t),o.set(t,e);for(var h=s;++l<A;){var p=e[c=a[l]],g=t[c];if(r)var m=s?r(g,p,c,t,e,o):r(p,g,c,e,t,o);if(!(void 0===m?p===g||i(p,g,n,r,o):m)){f=!1;break}h||(h='constructor'==c)}if(f&&!h){var v=e.constructor,b=t.constructor;v==b||!('constructor'in e)||!('constructor'in t)||'function'==typeof v&&v instanceof v&&'function'==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f},_B=FA(Ka,'DataView'),jB=FA(Ka,'Promise'),FB=FA(Ka,'Set'),EB=_B,SB=EA,kB=jB,UB=FB,QB=FA(Ka,'WeakMap'),LB=nA,OB=fA,IB='[object Map]',NB='[object Promise]',TB='[object Set]',MB='[object WeakMap]',PB='[object DataView]',DB=OB(EB),RB=OB(SB),HB=OB(kB),zB=OB(UB),KB=OB(QB),VB=LB;(EB&&VB(new EB(new ArrayBuffer(1)))!=PB||SB&&VB(new SB)!=IB||kB&&VB(kB.resolve())!=NB||UB&&VB(new UB)!=TB||QB&&VB(new QB)!=MB)&&(VB=function(e){var t=LB(e),n='[object Object]'==t?e.constructor:void 0,r=n?OB(n):'';if(r)switch(r){case DB:return PB;case RB:return IB;case HB:return NB;case zB:return TB;case KB:return MB}return t});var qB=VB,GB=ml,WB=Rw,YB=Jw,XB=CB,JB=qB,ZB=nc,$B=dc,ex=Oc,tx='[object Arguments]',nx='[object Array]',rx='[object Object]',ix=Object.prototype.hasOwnProperty;var ox=function(e,t,n,r,i,o){var s=ZB(e),a=ZB(t),A=s?nx:JB(e),l=a?nx:JB(t),c=(A=A==tx?rx:A)==rx,u=(l=l==tx?rx:l)==rx,d=A==l;if(d&&$B(e)){if(!$B(t))return!1;s=!0,c=!1}if(d&&!c)return o||(o=new GB),s||ex(e)?WB(e,t,n,r,i,o):YB(e,t,A,n,r,i,o);if(!(1&n)){var f=c&&ix.call(e,'__wrapped__'),h=u&&ix.call(t,'__wrapped__');if(f||h){var p=f?e.value():e,g=h?t.value():t;return o||(o=new GB),i(p,g,n,r,o)}}return!!d&&(o||(o=new GB),XB(e,t,n,r,i,o))},sx=ox,ax=Gl;var Ax=function e(t,n,r,i,o){return t===n||(null==t||null==n||!ax(t)&&!ax(n)?t!=t&&n!=n:sx(t,n,r,i,e,o))},lx=Ax;var cx=Kn(function(e,t){return lx(e,t)});function ux(){return ux=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},ux.apply(this,arguments)}function dx(e,t){return dx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dx(e,t)}function fx(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var hx={fill:mr.string,fontSize:mr.number,fontFamily:mr.string},px=mr.shape({domain:mr.shape({line:mr.shape({stroke:mr.string.isRequired,strokeWidth:mr.number.isRequired,strokeDasharray:mr.string}).isRequired}).isRequired,ticks:mr.shape({line:mr.shape({stroke:mr.string.isRequired,strokeWidth:mr.number.isRequired,strokeDasharray:mr.string}).isRequired,text:mr.shape(ux({},hx)).isRequired}).isRequired,legend:mr.shape({text:mr.shape(ux({},hx)).isRequired}).isRequired}),gx=mr.shape({line:mr.shape({stroke:mr.string.isRequired,strokeWidth:mr.number.isRequired,strokeDasharray:mr.string}).isRequired}),mx=mr.shape({hidden:mr.shape({symbol:mr.shape({fill:mr.string.isRequired,opacity:mr.number}).isRequired,text:mr.shape(ux({},hx,{opacity:mr.number})).isRequired}).isRequired,text:mr.shape(ux({},hx)).isRequired}),vx=mr.shape({text:mr.shape(ux({},hx)).isRequired}),bx=mr.shape({text:mr.shape(ux({},hx)).isRequired}),yx=mr.shape({text:mr.shape(ux({},hx)).isRequired}),wx=mr.shape({line:mr.shape({stroke:mr.string.isRequired,strokeWidth:mr.number.isRequired,strokeDasharray:mr.string}).isRequired}),Bx=mr.shape({text:mr.shape(ux({},hx,{outlineWidth:mr.number.isRequired,outlineColor:mr.string.isRequired})).isRequired,link:mr.shape({stroke:mr.string.isRequired,strokeWidth:mr.number.isRequired,outlineWidth:mr.number.isRequired,outlineColor:mr.string.isRequired}).isRequired,outline:mr.shape({stroke:mr.string.isRequired,strokeWidth:mr.number.isRequired,outlineWidth:mr.number.isRequired,outlineColor:mr.string.isRequired}).isRequired,symbol:mr.shape({fill:mr.string.isRequired,outlineWidth:mr.number.isRequired,outlineColor:mr.string.isRequired}).isRequired});mr.shape({background:mr.string.isRequired,fontFamily:mr.string.isRequired,fontSize:mr.number.isRequired,textColor:mr.string.isRequired,axis:px.isRequired,grid:gx.isRequired,legends:mx.isRequired,labels:vx.isRequired,dots:bx.isRequired,markers:yx,crosshair:wx.isRequired,annotations:Bx.isRequired});var xx={background:'transparent',text:{fontFamily:'sans-serif',fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},axis:{domain:{line:{stroke:'transparent',strokeWidth:1}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{hidden:{symbol:{fill:'#333333',opacity:.6},text:{fill:'#333333',opacity:.6}},text:{},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:'#000000',lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:'white',color:'inherit',fontSize:'inherit',borderRadius:'2px',boxShadow:'0 1px 2px rgba(0, 0, 0, 0.25)',padding:'5px 9px'},basic:{whiteSpace:'pre',display:'flex',alignItems:'center'},chip:{marginRight:7},table:{},tableCell:{padding:'3px 5px'},tableCellValue:{fontWeight:'bold'}},crosshair:{line:{stroke:'#000000',strokeWidth:1,strokeOpacity:.75,strokeDasharray:'6 6'}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{fill:'none',stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}}},Cx=['axis.ticks.text','axis.legend.text','legends.title.text','legends.text','legends.ticks.text','legends.title.text','labels.text','dots.text','markers.text','annotations.text'],_x=h(),jx=function(e){var t=e.children,n=e.animate,r=e.config,i=d(function(){var e=Kf(r)?Ho[r]:r;return{animate:n,config:e}},[n,r]);return w(_x.Provider,{value:i,children:t})},Fx={animate:mr.bool,motionConfig:mr.oneOfType([mr.oneOf(Object.keys(Ho)),mr.shape({mass:mr.number,tension:mr.number,friction:mr.number,clamp:mr.bool,precision:mr.number,velocity:mr.number,duration:mr.number,easing:mr.func})])};jx.propTypes={children:mr.node.isRequired,animate:Fx.animate,config:Fx.motionConfig};jx.defaultProps={animate:!0,config:'default'};var Ex=function(){return u(_x)},Sx=function(e){var t=Ex(),n=t.animate,i=t.config,s=function(e){var t=o();return r(function(){t.current=e},[e]),t.current}(e),a=d(function(){return function(e,t){var n,r,i,o=Pf.lastIndex=Df.lastIndex=0,s=-1,a=[],A=[];for(e+='',t+='';(n=Pf.exec(e))&&(r=Df.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,A.push({i:s,x:Mf(n,r)})),o=Df.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?A[0]?function(e){return function(t){return e(t)+''}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,r=0;r<t;++r)a[(n=A[r]).i]=n.x(e);return a.join('')})}(s,e)},[s,e]),A=Ns({from:{value:0},to:{value:1},reset:!0,config:i,immediate:!n}).value;return zs(A,a)},kx={nivo:['#d76445','#f47560','#e8c1a0','#97e3d5','#61cdbb','#00b0a7'],BrBG:qf(Lv),PRGn:qf(Ov),PiYG:qf(Iv),PuOr:qf(Nv),RdBu:qf(Tv),RdGy:qf(Mv),RdYlBu:qf(Pv),RdYlGn:qf(Dv),spectral:qf(Rv),blues:qf(eb),greens:qf(tb),greys:qf(nb),oranges:qf(ob),purples:qf(rb),reds:qf(ib),BuGn:qf(Hv),BuPu:qf(zv),GnBu:qf(Kv),OrRd:qf(Vv),PuBuGn:qf(qv),PuBu:qf(Gv),PuRd:qf(Wv),RdPu:qf(Yv),YlGnBu:qf(Xv),YlGn:qf(Jv),YlOrBr:qf(Zv),YlOrRd:qf($v)},Ux=Object.keys(kx);qf(Lv),qf(Ov),qf(Iv),qf(Nv),qf(Tv),qf(Mv),qf(Pv),qf(Dv),qf(Rv),qf(eb),qf(tb),qf(nb),qf(ob),qf(rb),qf(ib),qf(Hv),qf(zv),qf(Kv),qf(Vv),qf(qv),qf(Gv),qf(Wv),qf(Yv),qf(Xv),qf(Jv),qf(Zv),qf($v),mr.oneOfType([mr.oneOf(Ux),mr.func,mr.arrayOf(mr.string)]);var Qx={basis:function(e){return new ly(e)},basisClosed:function(e){return new cy(e)},basisOpen:function(e){return new uy(e)},bundle:fy,cardinal:gy,cardinalClosed:vy,cardinalOpen:yy,catmullRom:xy,catmullRomClosed:_y,catmullRomOpen:Fy,linear:ey,linearClosed:function(e){return new Ey(e)},monotoneX:function(e){return new Ly(e)},monotoneY:function(e){return new Oy(e)},natural:function(e){return new Ny(e)},step:function(e){return new My(e,.5)},stepAfter:function(e){return new My(e,1)},stepBefore:function(e){return new My(e,0)}},Lx=Object.keys(Qx);mr.oneOf(Lx),Lx.filter(function(e){return e.endsWith('Closed')}),jb(Lx,'bundle','basisClosed','basisOpen','cardinalClosed','cardinalOpen','catmullRomClosed','catmullRomOpen','linearClosed');var Ox=jb(Lx,'bundle','basisClosed','basisOpen','cardinalClosed','cardinalOpen','catmullRomClosed','catmullRomOpen','linearClosed'),Ix=mr.oneOf(Ox),Nx=function(e){if(!Qx[e])throw new TypeError('\''+e+'\', is not a valid curve interpolator identifier.');return Qx[e]},Tx={defs:mr.arrayOf(mr.shape({id:mr.string.isRequired})).isRequired,fill:mr.arrayOf(mr.shape({id:mr.string.isRequired,match:mr.oneOfType([mr.oneOf(['*']),mr.object,mr.func]).isRequired})).isRequired},Mx={ascending:Ky,descending:function(e){return Ky(e).reverse()},insideOut:function(e){var t,n,r=e.length,i=e.map(Vy),o=function(e){var t=e.map(zy);return Dy(e).sort(function(e,n){return t[e]-t[n]})}(e),s=0,a=0,A=[],l=[];for(t=0;t<r;++t)n=o[t],s<a?(s+=i[n],A.push(n)):(a+=i[n],l.push(n));return l.reverse().concat(A)},none:Dy,reverse:function(e){return Dy(e).reverse()}},Px=Object.keys(Mx);mr.oneOf(Px);var Dx={expand:function(e,t){if((r=e.length)>0){for(var n,r,i,o=0,s=e[0].length;o<s;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}Py(e,t)}},diverging:Hy,none:Py,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var s=0,a=0;s<n;++s)a+=e[s][r][1]||0;i[r][1]+=i[r][0]=-a/2}Py(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,s=1;s<r;++s){for(var a=0,A=0,l=0;a<i;++a){for(var c=e[t[a]],u=c[s][1]||0,d=(u-(c[s-1][1]||0))/2,f=0;f<a;++f){var h=e[t[f]];d+=(h[s][1]||0)-(h[s-1][1]||0)}A+=u,l+=d*u}n[s-1][1]+=n[s-1][0]=o,A&&(o-=l/A)}n[s-1][1]+=n[s-1][0]=o,Py(e,t)}}},Rx=Object.keys(Dx);mr.oneOf(Rx),mr.shape({top:mr.number,right:mr.number,bottom:mr.number,left:mr.number}).isRequired;var Hx=mr.oneOf(['normal','multiply','screen','overlay','darken','lighten','color-dodge','color-burn','hard-light','soft-light','difference','exclusion','hue','saturation','color','luminosity']);oh(Uv);var zx={top:0,right:0,bottom:0,left:0},Kx=function(e,t,n){return void 0===n&&(n={}),d(function(){var r=ux({},zx,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}},[e,t,n.top,n.right,n.bottom,n.left])},Vx=function(){var e=o(null),t=n({left:0,top:0,width:0,height:0}),i=t[0],s=t[1],a=n(function(){return'undefined'==typeof ResizeObserver?null:new ResizeObserver(function(e){var t=e[0];return s(t.contentRect)})})[0];return r(function(){return e.current&&null!==a&&a.observe(e.current),function(){null!==a&&a.disconnect()}},[]),[e,i]},qx=function(e){return d(function(){return function(e,t){var n=sd({},e,t);return Cx.forEach(function(e){void 0===Hd(n,e+'.fontFamily')&&Jd(n,e+'.fontFamily',n.text.fontFamily),void 0===Hd(n,e+'.fontSize')&&Jd(n,e+'.fontSize',n.text.fontSize),void 0===Hd(n,e+'.fill')&&Jd(n,e+'.fill',n.text.fill),void 0===Hd(n,e+'.outlineWidth')&&Jd(n,e+'.outlineWidth',n.text.outlineWidth),void 0===Hd(n,e+'.outlineColor')&&Jd(n,e+'.outlineColor',n.text.outlineColor)}),n}(xx,e)},[e])},Gx=function(e){return d(function(){return function(e){return'function'==typeof e?e:'string'==typeof e?0===e.indexOf('time:')?sm(e.slice('5')):tw(e):function(e){return''+e}}(e)},[e])},Wx=h(),Yx={},Xx=function(e){var t=e.theme,n=void 0===t?Yx:t,r=e.children,i=qx(n);return w(Wx.Provider,{value:i,children:r})};Xx.propTypes={children:mr.node.isRequired,theme:mr.object};var Jx=function(){return u(Wx)},Zx=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?A(r,{},t):t};Zx.propTypes={children:mr.node.isRequired,condition:mr.bool.isRequired,wrapper:mr.element.isRequired};var $x={position:'relative'},eC=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,s=e.isInteractive,a=void 0===s||s,A=e.animate,l=e.motionConfig,c=o(null);return w(Xx,{theme:n,children:w(jx,{animate:A,config:l,children:w(ba,{container:c,children:B(Zx,{condition:i,wrapper:w('div',{style:$x,ref:c}),children:[t,a&&w(va,{})]})})})})};eC.propTypes={children:mr.element.isRequired,isInteractive:mr.bool,renderWrapper:mr.bool,theme:mr.object,animate:mr.bool,motionConfig:mr.string},mr.func.isRequired,mr.bool,mr.bool,mr.object.isRequired,mr.bool.isRequired,mr.string;var tC=function(e){var t=e.children,n=Vx(),r=n[0],i=n[1],o=i.width>0&&i.height>0;return w('div',{ref:r,style:{width:'100%',height:'100%'},children:o&&t({width:i.width,height:i.height})})};tC.propTypes={children:mr.func.isRequired};var nC=['id','colors'],rC=function(e){var t=e.id,n=e.colors,r=fx(e,nC);return w('linearGradient',ux({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(e){var t=e.offset,n=e.color,r=e.opacity;return w('stop',{offset:t+'%',stopColor:n,stopOpacity:void 0!==r?r:1},t)})}))};rC.propTypes={id:mr.string.isRequired,colors:mr.arrayOf(mr.shape({offset:mr.number.isRequired,color:mr.string.isRequired,opacity:mr.number})).isRequired,gradientTransform:mr.string};var iC={linearGradient:rC},oC=f(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,s=e.stagger,a=i+o,A=i/2,l=o/2;return!0===s&&(a=2*i+2*o),B('pattern',{id:t,width:a,height:a,patternUnits:'userSpaceOnUse',children:[w('rect',{width:a,height:a,fill:n}),w('circle',{cx:l+A,cy:l+A,r:A,fill:r}),s&&w('circle',{cx:1.5*o+i+A,cy:1.5*o+i+A,r:A,fill:r})]})});oC.displayName='PatternDots',oC.propTypes={id:mr.string.isRequired,color:mr.string.isRequired,background:mr.string.isRequired,size:mr.number.isRequired,padding:mr.number.isRequired,stagger:mr.bool.isRequired},oC.defaultProps={color:'#000000',background:'#ffffff',size:4,padding:4,stagger:!1};var sC=function(e){return e*Math.PI/180},aC=function(e){return 180*e/Math.PI},AC=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},lC={svg:{align:{left:'start',center:'middle',right:'end',start:'start',middle:'middle',end:'end'},baseline:{top:'text-before-edge',center:'central',bottom:'alphabetic'}},canvas:{align:{left:'left',center:'center',right:'right',start:'left',middle:'center',end:'right'},baseline:{top:'top',center:'middle',bottom:'bottom'}}},cC=f(function(e){var t=e.id,n=e.spacing,r=e.rotation,i=e.background,o=e.color,s=e.lineWidth,a=Math.round(r)%360,A=Math.abs(n);a>180?a-=360:a>90?a-=180:a<-180?a+=360:a<-90&&(a+=180);var l,c=A,u=A;return 0===a?l='\n M 0 0 L '+c+' 0\n M 0 '+u+' L '+c+' '+u+'\n ':90===a?l='\n M 0 0 L 0 '+u+'\n M '+c+' 0 L '+c+' '+u+'\n ':(c=Math.abs(A/Math.sin(sC(a))),u=A/Math.sin(sC(90-a)),l=a>0?'\n M 0 '+-u+' L '+2*c+' '+u+'\n M '+-c+' '+-u+' L '+c+' '+u+'\n M '+-c+' 0 L '+c+' '+2*u+'\n ':'\n M '+-c+' '+u+' L '+c+' '+-u+'\n M '+-c+' '+2*u+' L '+2*c+' '+-u+'\n M 0 '+2*u+' L '+2*c+' 0\n '),B('pattern',{id:t,width:c,height:u,patternUnits:'userSpaceOnUse',children:[w('rect',{width:c,height:u,fill:i,stroke:'rgba(255, 0, 0, 0.1)',strokeWidth:0}),w('path',{d:l,strokeWidth:s,stroke:o,strokeLinecap:'square'})]})});cC.displayName='PatternLines',cC.propTypes={id:mr.string.isRequired,spacing:mr.number.isRequired,rotation:mr.number.isRequired,background:mr.string.isRequired,color:mr.string.isRequired,lineWidth:mr.number.isRequired},cC.defaultProps={spacing:5,rotation:0,color:'#000000',background:'#ffffff',lineWidth:2};var uC=f(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,s=e.stagger,a=i+o,A=o/2;return!0===s&&(a=2*i+2*o),B('pattern',{id:t,width:a,height:a,patternUnits:'userSpaceOnUse',children:[w('rect',{width:a,height:a,fill:n}),w('rect',{x:A,y:A,width:i,height:i,fill:r}),s&&w('rect',{x:1.5*o+i,y:1.5*o+i,width:i,height:i,fill:r})]})});uC.displayName='PatternSquares',uC.propTypes={id:mr.string.isRequired,color:mr.string.isRequired,background:mr.string.isRequired,size:mr.number.isRequired,padding:mr.number.isRequired,stagger:mr.bool.isRequired},uC.defaultProps={color:'#000000',background:'#ffffff',size:4,padding:4,stagger:!1};var dC={patternDots:oC,patternLines:cC,patternSquares:uC},fC=['type'],hC=ux({},iC,dC),pC=function(e){var t=e.defs;return!t||t.length<1?null:w('defs',{'aria-hidden':!0,children:t.map(function(e){var t=e.type,n=fx(e,fC);return hC[t]?p(hC[t],ux({key:n.id},n)):null})})};pC.propTypes={defs:mr.arrayOf(mr.shape({type:mr.oneOf(Object.keys(hC)).isRequired,id:mr.string.isRequired}))};var gC=f(pC),mC=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,s=e.role,a=e.ariaLabel,A=e.ariaLabelledBy,l=e.ariaDescribedBy,c=e.isFocusable,u=Jx();return B('svg',{xmlns:'http://www.w3.org/2000/svg',width:t,height:n,role:s,'aria-label':a,'aria-labelledby':A,'aria-describedby':l,focusable:c,tabIndex:c?0:void 0,children:[w(gC,{defs:i}),w('rect',{width:t,height:n,fill:u.background}),w('g',{transform:'translate('+r.left+','+r.top+')',children:o})]})};mC.propTypes={width:mr.number.isRequired,height:mr.number.isRequired,margin:mr.shape({top:mr.number.isRequired,left:mr.number.isRequired}).isRequired,defs:mr.array,children:mr.oneOfType([mr.arrayOf(mr.node),mr.node]).isRequired,role:mr.string,isFocusable:mr.bool,ariaLabel:mr.string,ariaLabelledBy:mr.string,ariaDescribedBy:mr.string};var vC=function(e){var t=e.size,n=e.color,r=e.borderWidth,i=e.borderColor;return w('circle',{r:t/2,fill:n,stroke:i,strokeWidth:r,style:{pointerEvents:'none'}})};vC.propTypes={size:mr.number.isRequired,color:mr.string.isRequired,borderWidth:mr.number.isRequired,borderColor:mr.string.isRequired};var bC=f(vC),yC=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?bC:r,o=e.size,s=e.datum,a=e.color,A=e.borderWidth,l=e.borderColor,c=e.label,u=e.labelTextAnchor,d=void 0===u?'middle':u,f=e.labelYOffset,h=void 0===f?-12:f,g=Jx(),m=Ex(),v=m.animate,b=Ns({transform:'translate('+t+', '+n+')',config:m.config,immediate:!v});return B(ra.g,{transform:b.transform,style:{pointerEvents:'none'},children:[p(i,{size:o,color:a,datum:s,borderWidth:A,borderColor:l}),c&&w('text',{textAnchor:d,y:h,style:g.dots.text,children:c})]})};yC.propTypes={x:mr.number.isRequired,y:mr.number.isRequired,datum:mr.object.isRequired,size:mr.number.isRequired,color:mr.string.isRequired,borderWidth:mr.number.isRequired,borderColor:mr.string.isRequired,symbol:mr.oneOfType([mr.func,mr.object]),label:mr.oneOfType([mr.string,mr.number]),labelTextAnchor:mr.oneOf(['start','middle','end']),labelYOffset:mr.number};var wC=f(yC),BC=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,s=e.lineStyle,a=e.textStyle,A=e.legend,l=e.legendPosition,c=e.legendOffsetX,u=e.legendOffsetY,d=e.legendOrientation,f=Jx(),h=0,p=0,g=0,m=0;'y'===r?(g=i(o),p=t):(h=i(o),m=n);var v=null;if(A){var b=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,s=e.orientation,a=0,A=0,l='vertical'===s?-90:0,c='start';if('x'===e.axis)switch(r){case'top-left':a=-i,A=o,c='end';break;case'top':A=-o,c='horizontal'===s?'middle':'start';break;case'top-right':a=i,A=o,c='horizontal'===s?'start':'end';break;case'right':a=i,A=n/2,c='horizontal'===s?'start':'middle';break;case'bottom-right':a=i,A=n-o,c='start';break;case'bottom':A=n+o,c='horizontal'===s?'middle':'end';break;case'bottom-left':A=n-o,a=-i,c='horizontal'===s?'end':'start';break;case'left':a=-i,A=n/2,c='horizontal'===s?'end':'middle'}else switch(r){case'top-left':a=i,A=-o,c='start';break;case'top':a=t/2,A=-o,c='horizontal'===s?'middle':'start';break;case'top-right':a=t-i,A=-o,c='horizontal'===s?'end':'start';break;case'right':a=t+i,c='horizontal'===s?'start':'middle';break;case'bottom-right':a=t-i,A=o,c='end';break;case'bottom':a=t/2,A=o,c='horizontal'===s?'middle':'end';break;case'bottom-left':a=i,A=o,c='horizontal'===s?'start':'end';break;case'left':a=-i,c='horizontal'===s?'end':'middle'}return{x:a,y:A,rotation:l,textAnchor:c}}({axis:r,width:t,height:n,position:l,offsetX:c,offsetY:u,orientation:d});v=w('text',{transform:'translate('+b.x+', '+b.y+') rotate('+b.rotation+')',textAnchor:b.textAnchor,dominantBaseline:'central',style:a,children:A})}return B('g',{transform:'translate('+h+', '+g+')',children:[w('line',{x1:0,x2:p,y1:0,y2:m,stroke:f.markers.lineColor,strokeWidth:f.markers.lineStrokeWidth,style:s}),v]})};BC.propTypes={width:mr.number.isRequired,height:mr.number.isRequired,axis:mr.oneOf(['x','y']).isRequired,scale:mr.func.isRequired,value:mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)]).isRequired,lineStyle:mr.object,textStyle:mr.object,legend:mr.string,legendPosition:mr.oneOf(['top-left','top','top-right','right','bottom-right','bottom','bottom-left','left']),legendOffsetX:mr.number.isRequired,legendOffsetY:mr.number.isRequired,legendOrientation:mr.oneOf(['horizontal','vertical']).isRequired},BC.defaultProps={legendPosition:'top-right',legendOffsetX:14,legendOffsetY:14,legendOrientation:'horizontal'};var xC=f(BC),CC=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map(function(e,t){return w(xC,ux({},e,{width:n,height:r,scale:'y'===e.axis?o:i}),t)}):null};CC.propTypes={width:mr.number.isRequired,height:mr.number.isRequired,xScale:mr.func.isRequired,yScale:mr.func.isRequired,markers:mr.arrayOf(mr.shape({axis:mr.oneOf(['x','y']).isRequired,value:mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)]).isRequired,lineStyle:mr.object,textStyle:mr.object}))};var _C=f(CC),jC=['theme','renderWrapper','animate','motionConfig'],FC=function(e){return function(t){var n,r;function i(){return t.apply(this,arguments)||this}return r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,dx(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,s=fx(t,jC);return w(eC,{theme:n,renderWrapper:r,isInteractive:s.isInteractive,animate:i,motionConfig:o,children:w(e,ux({},s))})},i}(g)},EC=function(e){return AA(e)?e:function(t){return Hd(t,e)}},SC=function(e){return d(function(){return EC(e)},[e])},kC=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},UC=function(e,t){var n,r=t.clientX,i=t.clientY,o=e.getBoundingClientRect(),s=(n=void 0!==e.getBBox?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}).width===o.width?1:n.width/o.width;return[(r-o.left)*s,(i-o.top)*s]},QC=Object.keys(iC),LC=Object.keys(dC),OC=function(e,t,n,r){var i=void 0===r?{}:r,o=i.dataKey,s=i.colorKey,a=void 0===s?'color':s,A=i.targetKey,l=void 0===A?'fill':A,c=[],u={};return e.length&&t.length&&(c=[].concat(e),t.forEach(function(t){for(var r=function(){var r=n[i],s=r.id;if(function(e,t,n){if('*'===e)return!0;if(AA(e))return e(t);if(Bc(e)){var r=n?Hd(t,n):t;return cx(Tw(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var A=e.find(function(e){return e.id===s});if(A)if(LC.includes(A.type))if('inherit'===A.background||'inherit'===A.color){var d=Hd(t,a),f=A.background,h=A.color,p=s;'inherit'===A.background&&(p=p+'.bg.'+d,f=d),'inherit'===A.color&&(p=p+'.fg.'+d,h=d),Jd(t,l,'url(#'+p+')'),u[p]||(c.push(ux({},A,{id:p,background:f,color:h})),u[p]=1)}else Jd(t,l,'url(#'+s+')');else if(QC.includes(A.type))if(A.colors.map(function(e){return e.color}).includes('inherit')){var g=Hd(t,a),m=s,v=ux({},A,{colors:A.colors.map(function(e,t){return'inherit'!==e.color?e:(m=m+'.'+t+'.'+g,ux({},e,{color:'inherit'===e.color?g:e.color}))})});v.id=m,Jd(t,l,'url(#'+m+')'),u[m]||(c.push(v),u[m]=1)}else Jd(t,l,'url(#'+s+')');return'break'}},i=0;i<n.length&&'break'!==r();i++);})),c};var IC=FB,NC=function(){},TC=IC&&1/zw(new IC([,-0]))[1]==1/0?function(e){return new IC(e)}:NC,MC=cb,PC=pb,DC=gb,RC=mb,HC=TC,zC=zw;var KC=function(e,t,n){var r=-1,i=PC,o=e.length,s=!0,a=[],A=a;if(n)s=!1,i=DC;else if(o>=200){var l=t?null:HC(e);if(l)return zC(l);s=!1,i=RC,A=new MC}else A=t?[]:a;e:for(;++r<o;){var c=e[r],u=t?t(c):c;if(c=n||0!==c?c:0,s&&u==u){for(var d=A.length;d--;)if(A[d]===u)continue e;t&&A.push(u),a.push(c)}else i(A,u,n)||(A!==a&&A.push(u),a.push(c))}return a},VC=KC;var qC=Kn(function(e){return e&&e.length?VC(e):[]}),GC=ml,WC=Ax;var YC=function(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var A=(a=n[i])[0],l=e[A],c=a[1];if(s&&a[2]){if(void 0===l&&!(A in e))return!1}else{var u=new GC;if(r)var d=r(l,c,A,e,t,u);if(!(void 0===d?WC(c,l,3,r,u):d))return!1}}return!0},XC=rA;var JC=function(e){return e==e&&!XC(e)},ZC=JC,$C=mB;var e_=function(e){for(var t=$C(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,ZC(i)]}return t};var t_=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},n_=YC,r_=e_,i_=t_;var o_=function(e){var t=r_(e);return 1==t.length&&t[0][2]?i_(t[0][0],t[0][1]):function(n){return n===e||n_(n,e,t)}},s_=Ax,a_=Rd,A_=bw,l_=hd,c_=JC,u_=t_,d_=Nd;var f_=function(e,t){return l_(e)&&c_(t)?u_(d_(e),t):function(n){var r=a_(n,e);return void 0===r&&r===t?A_(n,e):s_(t,r,3)}};var h_=function(e){return function(t){return null==t?void 0:t[e]}},p_=Pd;var g_=function(e){return function(t){return p_(t,e)}},m_=h_,v_=g_,b_=hd,y_=Nd;var w_=function(e){return b_(e)?m_(y_(e)):v_(e)},B_=o_,x_=f_,C_=Nu,__=nc,j_=w_;var F_=function(e){return'function'==typeof e?e:null==e?C_:'object'==typeof e?__(e)?x_(e[0],e[1]):B_(e):j_(e)},E_=F_,S_=KC;var k_=Kn(function(e,t){return e&&e.length?S_(e,E_(t)):[]}),U_=jl,Q_=mB;var L_=function(e,t){return e&&U_(e,t,Q_)},O_=sc;var I_=function(e,t){return function(n,r){if(null==n)return n;if(!O_(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Object(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}(L_),N_=I_,T_=sc;var M_=ld;var P_=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=M_(e),s=void 0!==t,a=null===t,A=t==t,l=M_(t);if(!a&&!l&&!o&&e>t||o&&s&&A&&!a&&!l||r&&s&&A||!n&&A||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!A)return-1}return 0};var D_=function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var A=P_(i[r],o[r]);if(A)return r>=a?A:A*('desc'==n[r]?-1:1)}return e.index-t.index},R_=Bd,H_=Pd,z_=F_,K_=function(e,t){var n=-1,r=T_(e)?Array(e.length):[];return N_(e,function(e,i,o){r[++n]=t(e,i,o)}),r},V_=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e},q_=Ec,G_=D_,W_=Nu,Y_=nc;var X_=function(e,t,n){t=t.length?R_(t,function(e){return Y_(e)?function(t){return H_(t,1===e.length?e[0]:e)}:e}):[W_];var r=-1;t=R_(t,q_(z_));var i=K_(e,function(e,n,i){return{criteria:R_(t,function(t){return t(e)}),index:++r,value:e}});return V_(i,function(e,t){return G_(e,t,n)})},J_=Sw,Z_=X_,$_=ed,ej=Kn(Yu(function(e,t){if(null==e)return[];var n=t.length;return n>1&&$_(e,t[0],t[1])?t=[]:n>2&&$_(t[0],t[1],t[2])&&(t=[t[0]]),Z_(e,J_(t,1),[])})),tj=nA,nj=Gl;var rj=function(e){return nj(e)&&'[object Date]'==tj(e)},ij=Ec,oj=kc&&kc.isDate,sj=Kn(oj?ij(oj):rj),aj=new Date,Aj=new Date;function lj(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var s,a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=function(n){return lj(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return aj.setTime(+t),Aj.setTime(+r),e(aj),e(Aj),Math.floor(n(aj,Aj))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var cj=lj(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});cj.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?lj(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):cj:null};var uj=cj;cj.range;var dj=1e3,fj=6e4,hj=36e5,pj=6048e5,gj=lj(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*dj)},function(e,t){return(t-e)/dj},function(e){return e.getUTCSeconds()}),mj=gj;gj.range;var vj=lj(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*dj)},function(e,t){e.setTime(+e+t*fj)},function(e,t){return(t-e)/fj},function(e){return e.getMinutes()}),bj=vj;vj.range;var yj=lj(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*dj-e.getMinutes()*fj)},function(e,t){e.setTime(+e+t*hj)},function(e,t){return(t-e)/hj},function(e){return e.getHours()}),wj=yj;function Bj(e){return lj(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*fj)/pj})}yj.range;var xj=Bj(0),Cj=Bj(1),_j=Bj(2),jj=Bj(3),Fj=Bj(4),Ej=Bj(5),Sj=Bj(6);xj.range,Cj.range,_j.range,jj.range,Fj.range,Ej.range,Sj.range;var kj=lj(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),Uj=kj;kj.range;var Qj=lj(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Qj.every=function(e){return isFinite(e=Math.floor(e))&&e>0?lj(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var Lj=Qj;Qj.range;var Oj=lj(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*fj)},function(e,t){return(t-e)/fj},function(e){return e.getUTCMinutes()}),Ij=Oj;Oj.range;var Nj=lj(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*hj)},function(e,t){return(t-e)/hj},function(e){return e.getUTCHours()}),Tj=Nj;function Mj(e){return lj(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/pj})}Nj.range;var Pj=Mj(0),Dj=Mj(1),Rj=Mj(2),Hj=Mj(3),zj=Mj(4),Kj=Mj(5),Vj=Mj(6);Pj.range,Dj.range,Rj.range,Hj.range,zj.range,Kj.range,Vj.range;var qj=lj(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),Gj=qj;qj.range;var Wj=lj(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});Wj.every=function(e){return isFinite(e=Math.floor(e))&&e>0?lj(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var Yj=Wj;function Xj(){return Xj=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},Xj.apply(this,arguments)}Wj.range;var Jj=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],Zj={millisecond:[],second:Jj.slice(0,1),minute:Jj.slice(0,2),hour:Jj.slice(0,3),day:Jj.slice(0,4),month:Jj.slice(0,5),year:Jj.slice(0,6)},$j=function(e){var t=e.format,n=void 0===t?'native':t,r=e.precision,i=void 0===r?'millisecond':r,o=e.useUTC,s=void 0===o||o,a=function(e){return function(t){return Zj[e].forEach(function(e){e(t)}),t}}(i);return function(e){if(void 0===e)return e;if('native'===n||e instanceof Date)return a(e);var t=s?lm(n):am(n);return a(t(e))}},eF=function(e,t,n,r){var i,o,s,a,A=e.min,l=void 0===A?0:A,c=e.max,u=void 0===c?'auto':c,d=e.stacked,f=void 0!==d&&d,h=e.reverse,p=void 0!==h&&h,g=e.clamp,m=void 0!==g&&g,v=e.nice,b=void 0!==v&&v;i='auto'===l?!0===f?null!=(o=t.minStacked)?o:0:t.min:l,s='auto'===u?!0===f?null!=(a=t.maxStacked)?a:0:t.max:u;var y=Hp().rangeRound('x'===r?[0,n]:[n,0]).domain(p?[s,i]:[i,s]).clamp(m);return!0===b?y.nice():'number'==typeof b&&y.nice(b),tF(y,f)},tF=function(e,t){void 0===t&&(t=!1);var n=e;return n.type='linear',n.stacked=t,n},nF=function(e){var t=e;return t.type='band',t},rF=function(e,t,n){var r,i,o=e.format,s=void 0===o?'native':o,a=e.precision,A=void 0===a?'millisecond':a,l=e.min,c=void 0===l?'auto':l,u=e.max,d=void 0===u?'auto':u,f=e.useUTC,h=void 0===f||f,p=e.nice,g=void 0!==p&&p,m=$j({format:s,precision:A,useUTC:h});r='auto'===c?m(t.min):'native'!==s?m(c):c,i='auto'===d?m(t.max):'native'!==s?m(d):d;var v=h?function(){return rh.apply(Sv(Zg,$g,Xg,Wg,Dg,Mg,Ng,Og,hg,Am).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return rh.apply(Sv(em,tm,Qg,kg,Bg,yg,vg,gg,hg,sm).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();v.range([0,n]),r&&i&&v.domain([r,i]),!0===g?v.nice():'object'!=typeof g&&'number'!=typeof g||v.nice(g);var b=v;return b.type='time',b.useUTC=h,b},iF=function(e,t,n,r){var i,o=e.base,s=void 0===o?10:o,a=e.min,A=void 0===a?'auto':a,l=e.max,c=void 0===l?'auto':l;if(t.all.some(function(e){return 0===e}))throw new Error('a log scale domain must not include or cross zero');var u,d,f=!1;if(t.all.filter(function(e){return null!=e}).forEach(function(e){f||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(f=!0))}),f)throw new Error('a log scale domain must be strictly-positive or strictly-negative');u='auto'===A?t.min:A,d='auto'===c?t.max:c;var h=Jp().domain([u,d]).rangeRound('x'===r?[0,n]:[n,0]).base(s).nice();return h.type='log',h},oF=function(e,t){return e===t},sF=function(e,t){return e.getTime()===t.getTime()};function aF(e,t,n,r){switch(e.type){case'linear':return eF(e,t,n,r);case'point':return function(e,t,n){var r=Ah().range([0,n]).domain(t.all);return r.type='point',r}(0,t,n);case'band':return function(e,t,n,r){var i=e.round,o=void 0===i||i,s=sh().range('x'===r?[0,n]:[n,0]).domain(t.all).round(o);return nF(s)}(e,t,n,r);case'time':return rF(e,t,n);case'log':return iF(e,t,n,r);case'symlog':return function(e,t,n,r){var i,o,s=e.constant,a=void 0===s?1:s,A=e.min,l=void 0===A?'auto':A,c=e.max,u=void 0===c?'auto':c,d=e.reverse,f=void 0!==d&&d;i='auto'===l?t.min:l,o='auto'===u?t.max:u;var h=eg().constant(a).rangeRound('x'===r?[0,n]:[n,0]).nice();!0===f?h.domain([o,i]):h.domain([i,o]);var p=h;return p.type='symlog',p}(e,t,n,r);default:throw new Error('invalid scale spec')}}var AF=function(e,t,n){var r;if('stacked'in n&&n.stacked){var i=e.data['x'===t?'xStacked':'yStacked'];return null==i?null:n(i)}return null!=(r=n(e.data[t]))?r:null},lF=function(e,t,n){return{x:cF(e,'x',t),y:cF(e,'y',n)}},cF=function(e,t,n,r){var i=void 0===r?{}:r,o=i.getValue,s=void 0===o?function(e){return e.data[t]}:o,a=i.setValue,A=void 0===a?function(e,n){e.data[t]=n}:a;if('linear'===n.type)e.forEach(function(e){e.data.forEach(function(e){var t=s(e);t&&A(e,parseFloat(String(t)))})});else if('time'===n.type&&'native'!==n.format){var l=$j(n);e.forEach(function(e){e.data.forEach(function(e){var t=s(e);t&&A(e,l(t))})})}var c=[];switch(e.forEach(function(e){e.data.forEach(function(e){c.push(s(e))})}),n.type){case'linear':var u=ej(qC(c).filter(function(e){return null!==e}),function(e){return e});return{all:u,min:Math.min.apply(Math,u),max:Math.max.apply(Math,u)};case'time':var d=k_(c,function(e){return e.getTime()}).slice(0).sort(function(e,t){return t.getTime()-e.getTime()}).reverse();return{all:d,min:d[0],max:qf(d)};default:var f=qC(c);return{all:f,min:f[0],max:qf(f)}}},uF=function(e,t,n){var r=function(e){return'x'===e?'y':'x'}(e),i=[];t[r].all.forEach(function(t){var o=sj(t)?sF:oF,s=[];n.forEach(function(n){var a=n.data.find(function(e){return o(e.data[r],t)}),A=null,l=null;if(void 0!==a){if(null!==(A=a.data[e])){var c=qf(s);void 0===c?l=A:null!==c&&(l=c+A)}a.data['x'===e?'xStacked':'yStacked']=l}s.push(l),null!==l&&i.push(l)})}),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},dF=function(e,t){return uF('x',e,t)},fF=function(e,t){return uF('y',e,t)},hF=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){var r;return(null!=(r=e(t))?r:0)+n}},pF={millisecond:[uj,uj],second:[mj,mj],minute:[bj,Ij],hour:[wj,Tj],day:[lj(function(e){return e.setHours(0,0,0,0)},function(e,t){return e.setDate(e.getDate()+t)},function(e,t){return(t.getTime()-e.getTime())/864e5},function(e){return Math.floor(e.getTime()/864e5)}),lj(function(e){return e.setUTCHours(0,0,0,0)},function(e,t){return e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t.getTime()-e.getTime())/864e5},function(e){return Math.floor(e.getTime()/864e5)})],week:[xj,Pj],sunday:[xj,Pj],monday:[Cj,Dj],tuesday:[_j,Rj],wednesday:[jj,Hj],thursday:[Fj,zj],friday:[Ej,Kj],saturday:[Sj,Vj],month:[Uj,Gj],year:[Lj,Yj]},gF=Object.keys(pF),mF=new RegExp('^every\\s*(\\d+)?\\s*('+gF.join('|')+')s?$','i'),vF=function(e,t){if(Array.isArray(t))return t;if('string'==typeof t&&'useUTC'in e){var n=t.match(mF);if(n){var r=n[1],i=n[2],o=pF[i][e.useUTC?1:0];if('day'===i){var s,a,A=e.domain(),l=A[0],c=A[1],u=new Date(c);return u.setDate(u.getDate()+1),null!=(s=null==(a=o.every(Number(null!=r?r:1)))?void 0:a.range(l,u))?s:[]}if(void 0===r)return e.ticks(o);var d=o.every(Number(r));if(d)return e.ticks(d)}throw new Error('Invalid tickValues: '+t)}if('ticks'in e){if(void 0===t)return e.ticks();if('number'==typeof(f=t)&&isFinite(f)&&Math.floor(f)===f)return e.ticks(t)}var f;return e.domain()};function bF(){return bF=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},bF.apply(this,arguments)}var yF=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,s=e.tickSize,a=e.tickPadding,A=e.tickRotation,l=e.truncateTickAt,c=e.engine,u=void 0===c?'svg':c,d=vF(r,o),f=lC[u],h='bandwidth'in r?hF(r):r,p={lineX:0,lineY:0},g={textX:0,textY:0},m='object'==typeof document&&'rtl'===document.dir,v=f.align.center,b=f.baseline.center;return'x'===n?(t=function(e){var t;return{x:null!=(t=h(e))?t:0,y:0}},p.lineY=s*('after'===i?1:-1),g.textY=(s+a)*('after'===i?1:-1),b='after'===i?f.baseline.top:f.baseline.bottom,0===A?v=f.align.center:'after'===i&&A<0||'before'===i&&A>0?(v=f.align[m?'left':'right'],b=f.baseline.center):('after'===i&&A>0||'before'===i&&A<0)&&(v=f.align[m?'right':'left'],b=f.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=h(e))?t:0}},p.lineX=s*('after'===i?1:-1),g.textX=(s+a)*('after'===i?1:-1),v='after'===i?f.align.left:f.align.right),{ticks:d.map(function(e){var n='string'==typeof e?function(e){var t=String(e).length;return l&&l>0&&t>l?''+String(e).slice(0,l).concat('...'):''+e}(e):e;return bF({key:e instanceof Date?''+e.valueOf():''+e,value:n},t(e),p,g)}),textAlign:v,textBaseline:b}},wF=function(e,t){if(void 0===e||'function'==typeof e)return e;if('time'===t.type){var n=sm(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return tw(e)},BF=function(e){var t,n=e.width,r=e.height,i=e.scale,o=e.axis,s=e.values,a=(t=s,(Array.isArray(t)?s:void 0)||vF(i,s)),A='bandwidth'in i?hF(i):i,l='x'===o?a.map(function(e){var t,n;return{key:e instanceof Date?''+e.valueOf():''+e,x1:null!=(t=A(e))?t:0,x2:null!=(n=A(e))?n:0,y1:0,y2:r}}):a.map(function(e){var t,r;return{key:e instanceof Date?''+e.valueOf():''+e,x1:0,x2:n,y1:null!=(t=A(e))?t:0,y2:null!=(r=A(e))?r:0}});return l},xF=f(function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,s=e.onClick,a=e.textBaseline,A=e.textAnchor,l=e.animatedProps,c=Jx(),u=c.axis.ticks.line,f=c.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=d(function(){var e={opacity:l.opacity};return s?{style:bF({},e,{cursor:'pointer'}),onClick:function(e){return s(e,h)}}:{style:e}},[l.opacity,s,h]);return B(ra.g,bF({transform:l.transform},p,{children:[w('line',{x1:0,x2:i,y1:0,y2:o,style:u}),f.outlineWidth>0&&w(ra.text,{dominantBaseline:a,textAnchor:A,transform:l.textTransform,style:f,strokeWidth:2*f.outlineWidth,stroke:f.outlineColor,strokeLinejoin:'round',children:''+h}),w(ra.text,{dominantBaseline:a,textAnchor:A,transform:l.textTransform,style:f,children:''+h})]}))}),CF=f(function(t){var n=t.axis,r=t.scale,i=t.x,o=void 0===i?0:i,a=t.y,A=void 0===a?0:a,l=t.length,c=t.ticksPosition,u=t.tickValues,f=t.tickSize,h=void 0===f?5:f,p=t.tickPadding,g=void 0===p?5:p,m=t.tickRotation,v=void 0===m?0:m,b=t.format,y=t.renderTick,C=void 0===y?xF:y,_=t.truncateTickAt,j=t.legend,F=t.legendPosition,E=void 0===F?'end':F,S=t.legendOffset,k=void 0===S?0:S,U=t.onClick,Q=t.ariaHidden,L=Jx(),O=L.axis.legend.text,I=d(function(){return wF(b,r)},[b,r]),N=yF({axis:n,scale:r,ticksPosition:c,tickValues:u,tickSize:h,tickPadding:g,tickRotation:v,truncateTickAt:_}),T=N.ticks,M=N.textAlign,P=N.textBaseline,D=null;if(void 0!==j){var R,H=0,z=0,K=0;'y'===n?(K=-90,H=k,'start'===E?(R='start',z=l):'middle'===E?(R='middle',z=l/2):'end'===E&&(R='end')):(z=k,'start'===E?R='start':'middle'===E?(R='middle',H=l/2):'end'===E&&(R='end',H=l)),D=B(x,{children:[O.outlineWidth>0&&w('text',{transform:'translate('+H+', '+z+') rotate('+K+')',textAnchor:R,style:bF({dominantBaseline:'central'},O),strokeWidth:2*O.outlineWidth,stroke:O.outlineColor,strokeLinejoin:'round',children:j}),w('text',{transform:'translate('+H+', '+z+') rotate('+K+')',textAnchor:R,style:bF({dominantBaseline:'central'},O),children:j})]})}var V=Ex(),q=V.animate,G=V.config,W=Ns({transform:'translate('+o+','+A+')',lineX2:'x'===n?l:0,lineY2:'x'===n?0:l,config:G,immediate:!q}),Y=s(function(e){return{opacity:1,transform:'translate('+e.x+','+e.y+')',textTransform:'translate('+e.textX+','+e.textY+') rotate('+v+')'}},[v]),X=s(function(e){return{opacity:0,transform:'translate('+e.x+','+e.y+')',textTransform:'translate('+e.textX+','+e.textY+') rotate('+v+')'}},[v]),J=Ts(T,{keys:function(e){return e.key},initial:Y,from:X,enter:Y,update:Y,leave:{opacity:0},config:G,immediate:!q});return B(ra.g,{transform:W.transform,'aria-hidden':Q,children:[J(function(t,n,r,i){return e.createElement(C,bF({tickIndex:i,format:I,rotate:v,textBaseline:P,textAnchor:M,truncateTickAt:_,animatedProps:t},n,U?{onClick:U}:{}))}),w(ra.line,{style:L.axis.domain.line,x1:0,x2:W.lineX2,y1:0,y2:W.lineY2}),D]})}),_F={ticksPosition:mr.oneOf(['before','after']),tickValues:mr.oneOfType([mr.number,mr.arrayOf(mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)])),mr.string]),rotateOnTickLength:mr.shape({angle:mr.number,length:mr.number}),tickSize:mr.number,tickPadding:mr.number,tickRotation:mr.number,format:mr.oneOfType([mr.func,mr.string]),renderTick:mr.func,legend:mr.node,legendPosition:mr.oneOf(['start','middle','end']),legendOffset:mr.number,ariaHidden:mr.bool},jF=mr.shape(_F),FF=['top','right','bottom','left'],EF=f(function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return w(x,{children:FF.map(function(e){var s=o[e];if(!s)return null;var a='top'===e||'bottom'===e;return w(CF,bF({},s,{axis:a?'x':'y',x:'right'===e?r:0,y:'bottom'===e?i:0,scale:a?t:n,length:a?r:i,ticksPosition:'top'===e||'left'===e?'before':'after',truncateTickAt:s.truncateTickAt}),e)})})}),SF=f(function(e){var t=e.animatedProps,n=Jx();return w(ra.line,bF({},t,n.grid.line))}),kF=f(function(e){var t=e.lines,n=Ex(),r=n.animate,i=Ts(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return w('g',{children:i(function(e,t){return p(SF,bF({},t,{key:t.key,animatedProps:e}))})})}),UF=f(function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,s=e.yValues,a=d(function(){return!!r&&BF({width:t,height:n,scale:r,axis:'x',values:o})},[r,o,t,n]),A=d(function(){return!!i&&BF({width:t,height:n,scale:i,axis:'y',values:s})},[n,t,i,s]);return B(x,{children:[a&&w(kF,{lines:a}),A&&w(kF,{lines:A})]})}),QF=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,s=t.top,a=t.right,A=t.bottom,l=t.left,c=t.theme,u={top:s,right:a,bottom:A,left:l};FF.forEach(function(t){var s=u[t];if(!s)return null;var a='top'===t||'bottom'===t,A='top'===t||'left'===t?'before':'after',l=a?n:r,d=wF(s.format,l);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,s=void 0===o?0:o,a=t.y,A=void 0===a?0:a,l=t.length,c=t.ticksPosition,u=t.tickValues,d=t.tickSize,f=void 0===d?5:d,h=t.tickPadding,p=void 0===h?5:h,g=t.tickRotation,m=void 0===g?0:g,v=t.format,b=t.legend,y=t.legendPosition,w=void 0===y?'end':y,B=t.legendOffset,x=void 0===B?0:B,C=t.theme,_=yF({axis:r,scale:i,ticksPosition:c,tickValues:u,tickSize:f,tickPadding:p,tickRotation:m,engine:'canvas'}),j=_.ticks,F=_.textAlign,E=_.textBaseline;e.save(),e.translate(s,A),e.textAlign=F,e.textBaseline=E;var S=C.axis.ticks.text;e.font=(S.fontWeight?S.fontWeight+' ':'')+S.fontSize+'px '+S.fontFamily,(null!=(n=C.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.domain.line.strokeWidth),e.lineCap='square',C.axis.domain.line.stroke&&(e.strokeStyle=C.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo('x'===r?l:0,'x'===r?0:l),e.stroke());var k='function'==typeof v?v:function(e){return''+e};if(j.forEach(function(t){var n;(null!=(n=C.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.ticks.line.strokeWidth),e.lineCap='square',C.axis.ticks.line.stroke&&(e.strokeStyle=C.axis.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var r=k(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(sC(m)),S.outlineWidth>0&&(e.strokeStyle=S.outlineColor,e.lineWidth=2*S.outlineWidth,e.lineJoin='round',e.strokeText(''+r,0,0)),C.axis.ticks.text.fill&&(e.fillStyle=S.fill),e.fillText(''+r,0,0),e.restore()}),void 0!==b){var U=0,Q=0,L=0,O='center';'y'===r?(L=-90,U=x,'start'===w?(O='start',Q=l):'middle'===w?(O='center',Q=l/2):'end'===w&&(O='end')):(Q=x,'start'===w?O='start':'middle'===w?(O='center',U=l/2):'end'===w&&(O='end',U=l)),e.translate(U,Q),e.rotate(sC(L)),e.font=(C.axis.legend.text.fontWeight?C.axis.legend.text.fontWeight+' ':'')+C.axis.legend.text.fontSize+'px '+C.axis.legend.text.fontFamily,C.axis.legend.text.fill&&(e.fillStyle=C.axis.legend.text.fill),e.textAlign=O,e.textBaseline='middle',e.fillText(b,0,0)}e.restore()}(e,bF({},s,{axis:a?'x':'y',x:'right'===t?i:0,y:'bottom'===t?o:0,scale:l,format:d,length:a?i:o,ticksPosition:A,theme:c}))})},LF=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,s=t.values;BF({width:n,height:r,scale:i,axis:o,values:s}).forEach(function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()})},OF=I_;var IF=tB,NF=function(e,t){var n=[];return OF(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n},TF=F_,MF=nc;var PF=Kn(function(e,t){return(MF(e)?IF:NF)(e,TF(t))}),DF=nA,RF=Gl;var HF=Kn(function(e){return'number'==typeof e||RF(e)&&'[object Number]'==DF(e)});var zF=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},KF=Hc,VF=mB;var qF=function(e,t){return e&&KF(t,VF(t),e)},GF=Hc,WF=lu;var YF=function(e,t){return e&&GF(t,WF(t),e)},XF=Hc,JF=AB;var ZF=function(e,t){return XF(e,JF(e),t)},$F=xw,eE=Dl,tE=AB,nE=nB,rE=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)$F(t,tE(e)),e=eE(e);return t}:nE,iE=Hc,oE=rE;var sE=function(e,t){return iE(e,oE(e),t)},aE=eB,AE=rE,lE=lu;var cE=function(e){return aE(e,lE,AE)},uE=Object.prototype.hasOwnProperty;var dE=function(e){var t=e.length,n=new e.constructor(t);return t&&'string'==typeof e[0]&&uE.call(e,'index')&&(n.index=e.index,n.input=e.input),n},fE=Ul;var hE=function(e,t){var n=t?fE(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},pE=/\w*$/;var gE=function(e){var t=new e.constructor(e.source,pE.exec(e));return t.lastIndex=e.lastIndex,t},mE=Va?Va.prototype:void 0,vE=mE?mE.valueOf:void 0;var bE=Ul,yE=hE,wE=gE,BE=function(e){return vE?Object(vE.call(e)):{}},xE=Ll;var CE=function(e,t,n){var r=e.constructor;switch(t){case'[object ArrayBuffer]':return bE(e);case'[object Boolean]':case'[object Date]':return new r(+e);case'[object DataView]':return yE(e,n);case'[object Float32Array]':case'[object Float64Array]':case'[object Int8Array]':case'[object Int16Array]':case'[object Int32Array]':case'[object Uint8Array]':case'[object Uint8ClampedArray]':case'[object Uint16Array]':case'[object Uint32Array]':return xE(e,n);case'[object Map]':case'[object Set]':return new r;case'[object Number]':case'[object String]':return new r(e);case'[object RegExp]':return wE(e);case'[object Symbol]':return BE(e)}},_E=qB,jE=Gl;var FE=function(e){return jE(e)&&'[object Map]'==_E(e)},EE=Ec,SE=kc&&kc.isMap,kE=SE?EE(SE):FE,UE=qB,QE=Gl;var LE=function(e){return QE(e)&&'[object Set]'==UE(e)},OE=Ec,IE=kc&&kc.isSet,NE=IE?OE(IE):LE,TE=ml,ME=zF,PE=Pc,DE=qF,RE=YF,HE=El,zE=Ol,KE=ZF,VE=sE,qE=wB,GE=cE,WE=qB,YE=dE,XE=CE,JE=ql,ZE=nc,$E=dc,eS=kE,tS=rA,nS=NE,rS=mB,iS=lu,oS='[object Arguments]',sS='[object Function]',aS='[object Object]',AS={};AS[oS]=AS['[object Array]']=AS['[object ArrayBuffer]']=AS['[object DataView]']=AS['[object Boolean]']=AS['[object Date]']=AS['[object Float32Array]']=AS['[object Float64Array]']=AS['[object Int8Array]']=AS['[object Int16Array]']=AS['[object Int32Array]']=AS['[object Map]']=AS['[object Number]']=AS[aS]=AS['[object RegExp]']=AS['[object Set]']=AS['[object String]']=AS['[object Symbol]']=AS['[object Uint8Array]']=AS['[object Uint8ClampedArray]']=AS['[object Uint16Array]']=AS['[object Uint32Array]']=!0,AS['[object Error]']=AS[sS]=AS['[object WeakMap]']=!1;var lS=function e(t,n,r,i,o,s){var a,A=1&n,l=2&n,c=4&n;if(r&&(a=o?r(t,i,o,s):r(t)),void 0!==a)return a;if(!tS(t))return t;var u=ZE(t);if(u){if(a=YE(t),!A)return zE(t,a)}else{var d=WE(t),f=d==sS||'[object GeneratorFunction]'==d;if($E(t))return HE(t,A);if(d==aS||d==oS||f&&!o){if(a=l||f?{}:JE(t),!A)return l?VE(t,RE(a,t)):KE(t,DE(a,t))}else{if(!AS[d])return o?t:{};a=XE(t,d,A)}}s||(s=new TE);var h=s.get(t);if(h)return h;s.set(t,a),nS(t)?t.forEach(function(i){a.add(e(i,n,r,i,t,s))}):eS(t)&&t.forEach(function(i,o){a.set(o,e(i,n,r,o,t,s))});var p=u?void 0:(c?l?GE:qE:l?iS:rS)(t);return ME(p||t,function(i,o){p&&(i=t[o=i]),PE(a,o,e(i,n,r,o,t,s))}),a};var cS=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o},uS=Pd,dS=cS;var fS=function(e,t){return t.length<2?e:uS(e,dS(t,0,-1))},hS=Od,pS=Vf,gS=fS,mS=Nd,vS=Object.prototype.hasOwnProperty;var bS=function(e,t){var n=-1,r=(t=hS(t,e)).length;if(!r)return!0;for(var i=null==e||'object'!=typeof e&&'function'!=typeof e;++n<r;){var o=t[n];if('string'==typeof o){if('__proto__'===o&&!vS.call(e,'__proto__'))return!1;if('constructor'===o&&n+1<r&&'string'==typeof t[n+1]&&'prototype'===t[n+1]){if(i&&0===n)continue;return!1}}}var s=gS(e,t);return null==s||delete s[mS(pS(t))]},yS=wc;var wS=Bd,BS=lS,xS=bS,CS=Od,_S=Hc,jS=function(e){return yS(e)?void 0:e},FS=cE,ES=Ow(function(e,t){var n={};if(null==e)return n;var r=!1;t=wS(t,function(t){return t=CS(t,e),r||(r=t.length>1),t}),_S(e,FS(e),n),r&&(n=BS(n,7,jS));for(var i=t.length;i--;)xS(n,t[i]);return n}),SS=Kn(ES);function kS(){return kS=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},kS.apply(this,arguments)}var US=4,QS=120,LS=8,OS=function(e){return'circle'===e.type},IS=function(e){return'dot'===e.type},NS=function(e){return'rect'===e.type},TS=function(e){var t,n,r=e.x,i=e.y,o=e.noteX,s=e.noteY,a=e.noteWidth,A=void 0===a?QS:a,l=e.noteTextOffset,c=void 0===l?LS:l;if(HF(o))t=r+o;else{if(void 0===o.abs)throw new Error('noteX should be either a number or an object containing an \'abs\' property');t=o.abs}if(HF(s))n=i+s;else{if(void 0===s.abs)throw new Error('noteY should be either a number or an object containing an \'abs\' property');n=s.abs}var u=r,d=i,f=function(e,t,n,r){var i=Math.atan2(r-t,n-e);return function(e){var t=e%360;return t<0&&(t+=360),t}(aC(i))}(r,i,t,n);if(OS(e)){var h=AC(sC(f),e.size/2);u+=h.x,d+=h.y}if(NS(e)){var p=Math.round((f+90)/45)%8;0===p&&(d-=e.height/2),1===p&&(u+=e.width/2,d-=e.height/2),2===p&&(u+=e.width/2),3===p&&(u+=e.width/2,d+=e.height/2),4===p&&(d+=e.height/2),5===p&&(u-=e.width/2,d+=e.height/2),6===p&&(u-=e.width/2),7===p&&(u-=e.width/2,d-=e.height/2)}var g=t,m=t;return(f+90)%360>180?(g-=A,m-=A):m+=A,{points:[[u,d],[t,n],[m,n]],text:[g,n-c],angle:f+90}},MS=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return d(function(){return function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce(function(e,n){var o=n.offset||0;return[].concat(e,PF(t,n.match).map(function(e){var t=r(e),s=i(e);return(OS(n)||NS(n))&&(s.size=s.size+2*o,s.width=s.width+2*o,s.height=s.height+2*o),kS({},SS(n,['match','offset']),t,s,{size:n.size||s.size,datum:e})}))},[])}({data:t,annotations:n,getPosition:r,getDimensions:i})},[t,n,r,i])},PS=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=Jx(),s=Ex(),a=s.animate,A=Ns({x:n,y:r,config:s.config,immediate:!a});return'function'==typeof i?p(i,{x:n,y:r,datum:t}):B(x,{children:[o.annotations.text.outlineWidth>0&&w(ra.text,{x:A.x,y:A.y,style:kS({},o.annotations.text,{strokeLinejoin:'round',strokeWidth:2*o.annotations.text.outlineWidth,stroke:o.annotations.text.outlineColor}),children:i}),w(ra.text,{x:A.x,y:A.y,style:SS(o.annotations.text,['outlineWidth','outlineColor']),children:i})]})},DS=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=Jx(),o=d(function(){var e=t[0];return t.slice(1).reduce(function(e,t){return e+' L'+t[0]+','+t[1]},'M'+e[0]+','+e[1])},[t]),s=Sx(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var a=kS({},i.annotations.link);return r&&(a.strokeLinecap='square',a.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,a.stroke=i.annotations.link.outlineColor,a.opacity=i.annotations.link.outlineOpacity),w(ra.path,{fill:'none',d:s,style:a})},RS=function(e){var t=e.x,n=e.y,r=e.size,i=Jx(),o=Ex(),s=o.animate,a=Ns({x:t,y:n,radius:r/2,config:o.config,immediate:!s});return B(x,{children:[i.annotations.outline.outlineWidth>0&&w(ra.circle,{cx:a.x,cy:a.y,r:a.radius,style:kS({},i.annotations.outline,{fill:'none',strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor,opacity:i.annotations.outline.outlineOpacity})}),w(ra.circle,{cx:a.x,cy:a.y,r:a.radius,style:i.annotations.outline})]})},HS=function(e){var t=e.x,n=e.y,r=e.size,i=void 0===r?US:r,o=Jx(),s=Ex(),a=s.animate,A=Ns({x:t,y:n,radius:i/2,config:s.config,immediate:!a});return B(x,{children:[o.annotations.outline.outlineWidth>0&&w(ra.circle,{cx:A.x,cy:A.y,r:A.radius,style:kS({},o.annotations.outline,{fill:'none',strokeWidth:2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),w(ra.circle,{cx:A.x,cy:A.y,r:A.radius,style:o.annotations.symbol})]})},zS=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=e.borderRadius,s=void 0===o?6:o,a=Jx(),A=Ex(),l=A.animate,c=Ns({x:t-r/2,y:n-i/2,width:r,height:i,config:A.config,immediate:!l});return B(x,{children:[a.annotations.outline.outlineWidth>0&&w(ra.rect,{x:c.x,y:c.y,rx:s,ry:s,width:c.width,height:c.height,style:kS({},a.annotations.outline,{fill:'none',strokeWidth:a.annotations.outline.strokeWidth+2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),w(ra.rect,{x:c.x,y:c.y,rx:s,ry:s,width:c.width,height:c.height,style:a.annotations.outline})]})},KS=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=function(e){return d(function(){return TS(e)},[e])}(e);if(!function(e){var t=typeof e;return a(e)||'string'===t||'function'===t||'object'===t}(i))throw new Error('note should be a valid react element');return B(x,{children:[w(DS,{points:o.points,isOutline:!0}),OS(e)&&w(RS,{x:n,y:r,size:e.size}),IS(e)&&w(HS,{x:n,y:r,size:e.size}),NS(e)&&w(zS,{x:n,y:r,width:e.width,height:e.height,borderRadius:e.borderRadius}),w(DS,{points:o.points}),w(PS,{datum:t,x:o.text[0],y:o.text[1],note:i})]})},VS=function(e,t){t.forEach(function(t,n){var r=t[0],i=t[1];0===n?e.moveTo(r,i):e.lineTo(r,i)})};function qS(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]='#'+e.slice(6*r,6*++r);return n}var GS=qS('1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf'),WS=qS('7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666'),YS=qS('1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666'),XS=qS('a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928'),JS=qS('fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2'),ZS=qS('b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc'),$S=qS('e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999'),ek=qS('66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3'),tk=qS('8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f'),nk=e=>rp(e[e.length-1]),rk=new Array(3).concat('d8b365f5f5f55ab4ac','a6611adfc27d80cdc1018571','a6611adfc27df5f5f580cdc1018571','8c510ad8b365f6e8c3c7eae55ab4ac01665e','8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e','8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e','8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e','5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30','5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30').map(qS),ik=nk(rk),ok=new Array(3).concat('af8dc3f7f7f77fbf7b','7b3294c2a5cfa6dba0008837','7b3294c2a5cff7f7f7a6dba0008837','762a83af8dc3e7d4e8d9f0d37fbf7b1b7837','762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837','762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837','762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837','40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b','40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b').map(qS),sk=nk(ok),ak=new Array(3).concat('e9a3c9f7f7f7a1d76a','d01c8bf1b6dab8e1864dac26','d01c8bf1b6daf7f7f7b8e1864dac26','c51b7de9a3c9fde0efe6f5d0a1d76a4d9221','c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221','c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221','c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221','8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419','8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419').map(qS),Ak=nk(ak),lk=new Array(3).concat('998ec3f7f7f7f1a340','5e3c99b2abd2fdb863e66101','5e3c99b2abd2f7f7f7fdb863e66101','542788998ec3d8daebfee0b6f1a340b35806','542788998ec3d8daebf7f7f7fee0b6f1a340b35806','5427888073acb2abd2d8daebfee0b6fdb863e08214b35806','5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806','2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08','2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08').map(qS),ck=nk(lk),uk=new Array(3).concat('ef8a62f7f7f767a9cf','ca0020f4a58292c5de0571b0','ca0020f4a582f7f7f792c5de0571b0','b2182bef8a62fddbc7d1e5f067a9cf2166ac','b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac','b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac','b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac','67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061','67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061').map(qS),dk=nk(uk),fk=new Array(3).concat('ef8a62ffffff999999','ca0020f4a582bababa404040','ca0020f4a582ffffffbababa404040','b2182bef8a62fddbc7e0e0e09999994d4d4d','b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d','b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d','b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d','67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a','67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a').map(qS),hk=nk(fk),pk=new Array(3).concat('fc8d59ffffbf91bfdb','d7191cfdae61abd9e92c7bb6','d7191cfdae61ffffbfabd9e92c7bb6','d73027fc8d59fee090e0f3f891bfdb4575b4','d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4','d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4','d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4','a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695','a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695').map(qS),gk=nk(pk),mk=new Array(3).concat('fc8d59ffffbf91cf60','d7191cfdae61a6d96a1a9641','d7191cfdae61ffffbfa6d96a1a9641','d73027fc8d59fee08bd9ef8b91cf601a9850','d73027fc8d59fee08bffffbfd9ef8b91cf601a9850','d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850','d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850','a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837','a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837').map(qS),vk=nk(mk),bk=new Array(3).concat('fc8d59ffffbf99d594','d7191cfdae61abdda42b83ba','d7191cfdae61ffffbfabdda42b83ba','d53e4ffc8d59fee08be6f59899d5943288bd','d53e4ffc8d59fee08bffffbfe6f59899d5943288bd','d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd','d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd','9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2','9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2').map(qS),yk=nk(bk),wk=new Array(3).concat('e5f5f999d8c92ca25f','edf8fbb2e2e266c2a4238b45','edf8fbb2e2e266c2a42ca25f006d2c','edf8fbccece699d8c966c2a42ca25f006d2c','edf8fbccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b').map(qS),Bk=nk(wk),xk=new Array(3).concat('e0ecf49ebcda8856a7','edf8fbb3cde38c96c688419d','edf8fbb3cde38c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b').map(qS),Ck=nk(xk),_k=new Array(3).concat('e0f3dba8ddb543a2ca','f0f9e8bae4bc7bccc42b8cbe','f0f9e8bae4bc7bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081').map(qS),jk=nk(_k),Fk=new Array(3).concat('fee8c8fdbb84e34a33','fef0d9fdcc8afc8d59d7301f','fef0d9fdcc8afc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000').map(qS),Ek=nk(Fk),Sk=new Array(3).concat('ece2f0a6bddb1c9099','f6eff7bdc9e167a9cf02818a','f6eff7bdc9e167a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636').map(qS),kk=nk(Sk),Uk=new Array(3).concat('ece7f2a6bddb2b8cbe','f1eef6bdc9e174a9cf0570b0','f1eef6bdc9e174a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858').map(qS),Qk=nk(Uk),Lk=new Array(3).concat('e7e1efc994c7dd1c77','f1eef6d7b5d8df65b0ce1256','f1eef6d7b5d8df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f').map(qS),Ok=nk(Lk),Ik=new Array(3).concat('fde0ddfa9fb5c51b8a','feebe2fbb4b9f768a1ae017e','feebe2fbb4b9f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a').map(qS),Nk=nk(Ik),Tk=new Array(3).concat('edf8b17fcdbb2c7fb8','ffffcca1dab441b6c4225ea8','ffffcca1dab441b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58').map(qS),Mk=nk(Tk),Pk=new Array(3).concat('f7fcb9addd8e31a354','ffffccc2e69978c679238443','ffffccc2e69978c67931a354006837','ffffccd9f0a3addd8e78c67931a354006837','ffffccd9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529').map(qS),Dk=nk(Pk),Rk=new Array(3).concat('fff7bcfec44fd95f0e','ffffd4fed98efe9929cc4c02','ffffd4fed98efe9929d95f0e993404','ffffd4fee391fec44ffe9929d95f0e993404','ffffd4fee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506').map(qS),Hk=nk(Rk),zk=new Array(3).concat('ffeda0feb24cf03b20','ffffb2fecc5cfd8d3ce31a1c','ffffb2fecc5cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026').map(qS),Kk=nk(zk),Vk=new Array(3).concat('deebf79ecae13182bd','eff3ffbdd7e76baed62171b5','eff3ffbdd7e76baed63182bd08519c','eff3ffc6dbef9ecae16baed63182bd08519c','eff3ffc6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b').map(qS),qk=nk(Vk),Gk=new Array(3).concat('e5f5e0a1d99b31a354','edf8e9bae4b374c476238b45','edf8e9bae4b374c47631a354006d2c','edf8e9c7e9c0a1d99b74c47631a354006d2c','edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b').map(qS),Wk=nk(Gk),Yk=new Array(3).concat('f0f0f0bdbdbd636363','f7f7f7cccccc969696525252','f7f7f7cccccc969696636363252525','f7f7f7d9d9d9bdbdbd969696636363252525','f7f7f7d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000').map(qS),Xk=nk(Yk),Jk=new Array(3).concat('efedf5bcbddc756bb1','f2f0f7cbc9e29e9ac86a51a3','f2f0f7cbc9e29e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d').map(qS),Zk=nk(Jk),$k=new Array(3).concat('fee0d2fc9272de2d26','fee5d9fcae91fb6a4acb181d','fee5d9fcae91fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d').map(qS),eU=nk($k),tU=new Array(3).concat('fee6cefdae6be6550d','feeddefdbe85fd8d3cd94701','feeddefdbe85fd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704').map(qS),nU=nk(tU);function rU(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function iU(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function oU(){}var sU=.7,aU=1/sU,AU='\\s*([+-]?\\d+)\\s*',lU='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*',cU='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*',uU=/^#([0-9a-f]{3,8})$/,dU=new RegExp('^rgb\\('+[AU,AU,AU]+'\\)$'),fU=new RegExp('^rgb\\('+[cU,cU,cU]+'\\)$'),hU=new RegExp('^rgba\\('+[AU,AU,AU,lU]+'\\)$'),pU=new RegExp('^rgba\\('+[cU,cU,cU,lU]+'\\)$'),gU=new RegExp('^hsl\\('+[lU,cU,cU]+'\\)$'),mU=new RegExp('^hsla\\('+[lU,cU,cU,lU]+'\\)$'),vU={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 bU(){return this.rgb().formatHex()}function yU(){return this.rgb().formatRgb()}function wU(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=uU.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?BU(t):3===n?new jU(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?xU(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?xU(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=dU.exec(e))?new jU(t[1],t[2],t[3],1):(t=fU.exec(e))?new jU(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=hU.exec(e))?xU(t[1],t[2],t[3],t[4]):(t=pU.exec(e))?xU(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=gU.exec(e))?kU(t[1],t[2]/100,t[3]/100,1):(t=mU.exec(e))?kU(t[1],t[2]/100,t[3]/100,t[4]):vU.hasOwnProperty(e)?BU(vU[e]):'transparent'===e?new jU(NaN,NaN,NaN,0):null}function BU(e){return new jU(e>>16&255,e>>8&255,255&e,1)}function xU(e,t,n,r){return r<=0&&(e=t=n=NaN),new jU(e,t,n,r)}function CU(e){return e instanceof oU||(e=wU(e)),e?new jU((e=e.rgb()).r,e.g,e.b,e.opacity):new jU}function _U(e,t,n,r){return 1===arguments.length?CU(e):new jU(e,t,n,null==r?1:r)}function jU(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function FU(){return'#'+SU(this.r)+SU(this.g)+SU(this.b)}function EU(){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 SU(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?'0':'')+e.toString(16)}function kU(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new QU(e,t,n,r)}function UU(e){if(e instanceof QU)return new QU(e.h,e.s,e.l,e.opacity);if(e instanceof oU||(e=wU(e)),!e)return new QU;if(e instanceof QU)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new QU(s,a,A,e.opacity)}function QU(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function LU(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}rU(oU,wU,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:bU,formatHex:bU,formatHsl:function(){return UU(this).formatHsl()},formatRgb:yU,toString:yU}),rU(jU,_U,iU(oU,{brighter:function(e){return e=null==e?aU:Math.pow(aU,e),new jU(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?sU:Math.pow(sU,e),new jU(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:FU,formatHex:FU,formatRgb:EU,toString:EU})),rU(QU,function(e,t,n,r){return 1===arguments.length?UU(e):new QU(e,t,n,null==r?1:r)},iU(oU,{brighter:function(e){return e=null==e?aU:Math.pow(aU,e),new QU(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?sU:Math.pow(sU,e),new QU(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,i=2*n-r;return new jU(LU(e>=240?e-240:e+120,i,r),LU(e,i,r),LU(e<120?e+240:e-120,i,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+')')}}));const OU=Math.PI/180,IU=180/Math.PI;var NU=-.14861,TU=1.78277,MU=-.29227,PU=-.90649,DU=1.97294,RU=DU*PU,HU=DU*TU,zU=TU*MU-PU*NU;function KU(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof VU)return new VU(e.h,e.s,e.l,e.opacity);e instanceof jU||(e=CU(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(zU*r+RU*t-HU*n)/-5.9615122912,o=r-i,s=(DU*(n-i)-MU*o)/PU,a=Math.sqrt(s*s+o*o)/(DU*i*(1-i)),A=a?Math.atan2(s,o)*IU-120:NaN;return new VU(A<0?A+360:A,a,i,e.opacity)}(e):new VU(e,t,n,null==r?1:r)}function VU(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}rU(VU,KU,iU(oU,{brighter:function(e){return e=null==e?aU:Math.pow(aU,e),new VU(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?sU:Math.pow(sU,e),new VU(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*OU,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new jU(255*(t+n*(NU*r+TU*i)),255*(t+n*(MU*r+PU*i)),255*(t+n*(DU*r)),this.opacity)}}));var qU=pp(KU(300,.5,0),KU(-240,.5,1)),GU=pp(KU(-100,.75,.35),KU(80,1.5,.8)),WU=pp(KU(260,.75,.35),KU(80,1.5,.8)),YU=KU();var XU=_U(),JU=Math.PI/3,ZU=2*Math.PI/3;function $U(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var eQ=$U(qS('44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725')),tQ=$U(qS('00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf')),nQ=$U(qS('00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4')),rQ=$U(qS('0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921'));function iQ(){return iQ=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},iQ.apply(this,arguments)}function oQ(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}var sQ={nivo:['#e8c1a0','#f47560','#f1e15b','#e8a838','#61cdbb','#97e3d5'],category10:GS,accent:WS,dark2:YS,paired:XS,pastel1:JS,pastel2:ZS,set1:$S,set2:ek,set3:tk},aQ=Object.keys(sQ),AQ={brown_blueGreen:rk,purpleRed_green:ok,pink_yellowGreen:ak,purple_orange:lk,red_blue:uk,red_grey:fk,red_yellow_blue:pk,red_yellow_green:mk,spectral:bk},lQ=Object.keys(AQ),cQ={brown_blueGreen:ik,purpleRed_green:sk,pink_yellowGreen:Ak,purple_orange:ck,red_blue:dk,red_grey:hk,red_yellow_blue:gk,red_yellow_green:vk,spectral:yk},uQ={blues:Vk,greens:Gk,greys:Yk,oranges:tU,purples:Jk,reds:$k,blue_green:wk,blue_purple:xk,green_blue:_k,orange_red:Fk,purple_blue_green:Sk,purple_blue:Uk,purple_red:Lk,red_purple:Ik,yellow_green_blue:Tk,yellow_green:Pk,yellow_orange_brown:Rk,yellow_orange_red:zk},dQ=Object.keys(uQ),fQ={blues:qk,greens:Wk,greys:Xk,oranges:nU,purples:Zk,reds:eU,turbo:function(e){return e=Math.max(0,Math.min(1,e)),'rgb('+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+', '+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+', '+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+')'},viridis:eQ,inferno:nQ,magma:tQ,plasma:rQ,cividis:function(e){return e=Math.max(0,Math.min(1,e)),'rgb('+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+', '+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+', '+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+')'},warm:GU,cool:WU,cubehelixDefault:qU,blue_green:Bk,blue_purple:Ck,green_blue:jk,orange_red:Ek,purple_blue_green:kk,purple_blue:Qk,purple_red:Ok,red_purple:Nk,yellow_green_blue:Mk,yellow_green:Dk,yellow_orange_brown:Hk,yellow_orange_red:Kk},hQ=iQ({},sQ,AQ,uQ),pQ=Object.keys(hQ),gQ={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return YU.h=360*e-100,YU.s=1.5-1.5*t,YU.l=.8-.9*t,YU+''},sinebow:function(e){var t;return e=(.5-e)*Math.PI,XU.r=255*(t=Math.sin(e))*t,XU.g=255*(t=Math.sin(e+JU))*t,XU.b=255*(t=Math.sin(e+ZU))*t,XU+''}};iQ({},cQ,fQ,gQ);var mQ=function(e,t){if('function'==typeof e)return e;if(Bc(e)){if(function(e){return void 0!==e.theme}(e)){if(void 0===t)throw new Error('Unable to use color from theme as no theme was provided');var n=Hd(t,e.theme);if(void 0===n)throw new Error('Color from theme is undefined at path: \''+e.theme+'\'');return function(){return n}}if(function(e){return void 0!==e.from}(e)){var r=function(t){return Hd(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],s=function(){var e=i.value,t=e[0],n=e[1];if('brighter'===t)o.push(function(e){return e.brighter(n)});else if('darker'===t)o.push(function(e){return e.darker(n)});else{if('opacity'!==t)throw new Error('Invalid color modifier: \''+t+'\', must be one of: \'brighter\', \'darker\', \'opacity\'');o.push(function(e){return e.opacity=n,e})}},a=function(e,t){var n='undefined'!=typeof Symbol&&e[Symbol.iterator]||e['@@iterator'];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if('string'==typeof e)return oQ(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)?oQ(e,t):void 0}}(e))||t&&e&&'number'==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}(e.modifiers);!(i=a()).done;)s();return 0===o.length?r:function(e){return o.reduce(function(e,t){return t(e)},yf(r(e))).toString()}}return r}throw new Error('Invalid color spec, you should either specify \'theme\' or \'from\' when using a config object')}return function(){return e}},vQ=function(e,t){return d(function(){return mQ(e,t)},[e,t])},bQ=mr.oneOfType([mr.func,mr.arrayOf(mr.string),mr.shape({scheme:mr.oneOf(pQ).isRequired,size:mr.number}),mr.shape({datum:mr.string.isRequired}),mr.string]);mr.oneOfType([mr.string,mr.func,mr.shape({theme:mr.string.isRequired}),mr.shape({from:mr.string.isRequired,modifiers:mr.arrayOf(mr.array)})]);var yQ=function(e,t){if('function'==typeof e)return e;var n='function'==typeof t?t:function(e){return Hd(e,t)};if(Array.isArray(e)){var r=oh(e),i=function(e){return r(n(e))};return i.scale=r,i}if(Bc(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return Hd(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return aQ.includes(e)}(e.scheme)){var o=oh(hQ[e.scheme]),s=function(e){return o(n(e))};return s.scale=o,s}if(function(e){return lQ.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error('Invalid size \''+e.size+'\' for diverging color scheme \''+e.scheme+'\', must be between 3~11');var a=oh(hQ[e.scheme][e.size||11]),A=function(e){return a(n(e))};return A.scale=a,A}if(function(e){return dQ.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error('Invalid size \''+e.size+'\' for sequential color scheme \''+e.scheme+'\', must be between 3~9');var l=oh(hQ[e.scheme][e.size||9]),c=function(e){return l(n(e))};return c.scale=l,c}}throw new Error('Invalid colors, when using an object, you should either pass a \'datum\' or a \'scheme\' property')}return function(){return e}},wQ=function(e,t){return d(function(){return yQ(e,t)},[e,t])};function BQ(){return BQ=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},BQ.apply(this,arguments)}var xQ={top:0,right:0,bottom:0,left:0},CQ=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,s=e.itemWidth,a=e.itemHeight;if('number'!=typeof i&&('object'!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error('Invalid property padding, must be one of: number, object');var A='number'==typeof i?{top:i,right:i,bottom:i,left:i}:BQ({},xQ,i),l=A.left+A.right,c=A.top+A.bottom,u=s+l,d=a+c,f=(o-1)*r;return'row'===n?u=s*o+f+l:'column'===n&&(d=a*o+f+c),{width:u,height:d,padding:A}},_Q=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,s=e.width,a=e.height,A=n,l=r;switch(t){case'top':A+=(i-s)/2;break;case'top-right':A+=i-s;break;case'right':A+=i-s,l+=(o-a)/2;break;case'bottom-right':A+=i-s,l+=o-a;break;case'bottom':A+=(i-s)/2,l+=o-a;break;case'bottom-left':l+=o-a;break;case'left':l+=(o-a)/2;break;case'center':A+=(i-s)/2,l+=(o-a)/2}return{x:A,y:l}},jQ=function(e){var t,n,r,i,o,s,a=e.direction,A=e.justify,l=e.symbolSize,c=e.symbolSpacing,u=e.width,d=e.height;switch(a){case'left-to-right':t=0,n=(d-l)/2,i=d/2,s='central',A?(r=u,o='end'):(r=l+c,o='start');break;case'right-to-left':t=u-l,n=(d-l)/2,i=d/2,s='central',A?(r=0,o='start'):(r=u-l-c,o='end');break;case'top-to-bottom':t=(u-l)/2,n=0,r=u/2,o='middle',A?(i=d,s='alphabetic'):(i=l+c,s='text-before-edge');break;case'bottom-to-top':t=(u-l)/2,n=d-l,r=u/2,o='middle',A?(i=0,s='text-before-edge'):(i=d-l-c,s='alphabetic')}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:s}},FQ={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('circle',{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('g',{transform:'translate('+t+','+n+')',children:w('path',{d:'\n M'+r/2+' 0\n L'+.8*r+' '+r/2+'\n L'+r/2+' '+r+'\n L'+.2*r+' '+r/2+'\n L'+r/2+' 0\n ',fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('rect',{x:t,y:n,fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,width:r,height:r,style:{pointerEvents:'none'}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('g',{transform:'translate('+t+','+n+')',children:w('path',{d:'\n M'+r/2+' 0\n L'+r+' '+r+'\n L0 '+r+'\n L'+r/2+' 0\n ',fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})})}},EQ=function(t){var r,i,o,a,A,l,c,u,d,f,h,p=t.x,g=t.y,m=t.width,v=t.height,b=t.data,y=t.direction,x=void 0===y?'left-to-right':y,C=t.justify,_=void 0!==C&&C,j=t.textColor,F=t.background,E=void 0===F?'transparent':F,S=t.opacity,k=void 0===S?1:S,U=t.symbolShape,Q=void 0===U?'square':U,L=t.symbolSize,O=void 0===L?16:L,I=t.symbolSpacing,N=void 0===I?8:I,T=t.symbolBorderWidth,M=void 0===T?0:T,P=t.symbolBorderColor,D=void 0===P?'transparent':P,R=t.onClick,H=t.onMouseEnter,z=t.onMouseLeave,K=t.toggleSerie,V=t.effects,q=n({}),G=q[0],W=q[1],Y=Jx(),X=s(function(e){if(V){var t=V.filter(function(e){return'hover'===e.on}).reduce(function(e,t){return BQ({},e,t.style)},{});W(t)}null==H||H(b,e)},[H,b,V]),J=s(function(e){if(V){var t=V.filter(function(e){return'hover'!==e.on}).reduce(function(e,t){return BQ({},e,t.style)},{});W(t)}null==z||z(b,e)},[z,b,V]),Z=jQ({direction:x,justify:_,symbolSize:null!=(r=G.symbolSize)?r:O,symbolSpacing:N,width:m,height:v}),$=Z.symbolX,ee=Z.symbolY,te=Z.labelX,ne=Z.labelY,re=Z.labelAnchor,ie=Z.labelAlignment,oe=[R,H,z,K].some(function(e){return void 0!==e}),se='function'==typeof Q?Q:FQ[Q];return B('g',{transform:'translate('+p+','+g+')',style:{opacity:null!=(i=G.itemOpacity)?i:k},children:[w('rect',{width:m,height:v,fill:null!=(o=G.itemBackground)?o:E,style:{cursor:oe?'pointer':'auto'},onClick:function(e){null==R||R(b,e),null==K||K(b.id)},onMouseEnter:X,onMouseLeave:J}),e.createElement(se,BQ({id:b.id,x:$,y:ee,size:null!=(a=G.symbolSize)?a:O,fill:null!=(A=null!=(l=b.fill)?l:b.color)?A:'black',borderWidth:null!=(c=G.symbolBorderWidth)?c:M,borderColor:null!=(u=G.symbolBorderColor)?u:D},b.hidden?Y.legends.hidden.symbol:void 0)),w('text',{textAnchor:re,style:BQ({},Y.legends.text,{fill:null!=(d=null!=(f=null!=(h=G.itemTextColor)?h:j)?f:Y.legends.text.fill)?d:'black',dominantBaseline:ie,pointerEvents:'none',userSelect:'none'},b.hidden?Y.legends.hidden.text:void 0),x:te,y:ne,children:b.label})]})},SQ=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,s=void 0===o?0:o,a=e.justify,A=e.effects,l=e.itemWidth,c=e.itemHeight,u=e.itemDirection,d=void 0===u?'left-to-right':u,f=e.itemsSpacing,h=void 0===f?0:f,p=e.itemTextColor,g=e.itemBackground,m=void 0===g?'transparent':g,v=e.itemOpacity,b=void 0===v?1:v,y=e.symbolShape,B=e.symbolSize,x=e.symbolSpacing,C=e.symbolBorderWidth,_=e.symbolBorderColor,j=e.onClick,F=e.onMouseEnter,E=e.onMouseLeave,S=e.toggleSerie,k=CQ({itemCount:t.length,itemWidth:l,itemHeight:c,itemsSpacing:h,direction:i,padding:s}).padding,U='row'===i?l+h:0,Q='column'===i?c+h:0;return w('g',{transform:'translate('+n+','+r+')',children:t.map(function(e,t){return w(EQ,{data:e,x:t*U+k.left,y:t*Q+k.top,width:l,height:c,direction:d,justify:a,effects:A,textColor:p,background:m,opacity:b,symbolShape:y,symbolSize:B,symbolSpacing:x,symbolBorderWidth:C,symbolBorderColor:_,onClick:j,onMouseEnter:F,onMouseLeave:E,toggleSerie:S},t)})})},kQ=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?0:i,s=e.translateY,a=void 0===s?0:s,A=e.anchor,l=e.direction,c=e.padding,u=void 0===c?0:c,d=e.justify,f=e.itemsSpacing,h=void 0===f?0:f,p=e.itemWidth,g=e.itemHeight,m=e.itemDirection,v=e.itemTextColor,b=e.itemBackground,y=e.itemOpacity,B=e.symbolShape,x=e.symbolSize,C=e.symbolSpacing,_=e.symbolBorderWidth,j=e.symbolBorderColor,F=e.onClick,E=e.onMouseEnter,S=e.onMouseLeave,k=e.toggleSerie,U=e.effects,Q=CQ({itemCount:t.length,itemsSpacing:h,itemWidth:p,itemHeight:g,direction:l,padding:u}),L=Q.width,O=Q.height,I=_Q({anchor:A,translateX:o,translateY:a,containerWidth:n,containerHeight:r,width:L,height:O}),N=I.x,T=I.y;return w(SQ,{data:t,x:N,y:T,direction:l,padding:u,justify:d,effects:U,itemsSpacing:h,itemWidth:p,itemHeight:g,itemDirection:m,itemTextColor:v,itemBackground:b,itemOpacity:y,symbolShape:B,symbolSize:x,symbolSpacing:C,symbolBorderWidth:_,symbolBorderColor:j,onClick:F,onMouseEnter:E,onMouseLeave:S,toggleSerie:'boolean'==typeof k?void 0:k})},UQ={start:'left',middle:'center',end:'right'},QQ=function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,s=void 0===o?0:o,a=t.translateY,A=void 0===a?0:a,l=t.anchor,c=t.direction,u=t.padding,d=void 0===u?0:u,f=t.justify,h=void 0!==f&&f,p=t.itemsSpacing,g=void 0===p?0:p,m=t.itemWidth,v=t.itemHeight,b=t.itemDirection,y=void 0===b?'left-to-right':b,w=t.itemTextColor,B=t.symbolSize,x=void 0===B?16:B,C=t.symbolSpacing,_=void 0===C?8:C,j=t.theme,F=CQ({itemCount:n.length,itemWidth:m,itemHeight:v,itemsSpacing:g,direction:c,padding:d}),E=F.width,S=F.height,k=F.padding,U=_Q({anchor:l,translateX:s,translateY:A,containerWidth:r,containerHeight:i,width:E,height:S}),Q=U.x,L=U.y,O='row'===c?m+g:0,I='column'===c?v+g:0;e.save(),e.translate(Q,L),e.font=j.legends.text.fontSize+'px '+(j.legends.text.fontFamily||'sans-serif'),n.forEach(function(t,n){var r,i,o=n*O+k.left,s=n*I+k.top,a=jQ({direction:y,justify:h,symbolSize:x,symbolSpacing:_,width:m,height:v}),A=a.symbolX,l=a.symbolY,c=a.labelX,u=a.labelY,d=a.labelAnchor,f=a.labelAlignment;e.fillStyle=null!=(r=t.color)?r:'black',e.fillRect(o+A,s+l,x,x),e.textAlign=UQ[d],'central'===f&&(e.textBaseline='middle'),e.fillStyle=null!=(i=null!=w?w:j.legends.text.fill)?i:'black',e.fillText(String(t.label),o+c,s+u)}),e.restore()},LQ={data:mr.arrayOf(mr.object),anchor:mr.oneOf(['top','top-right','right','bottom-right','bottom','bottom-left','left','top-left','center']).isRequired,translateX:mr.number,translateY:mr.number,direction:mr.oneOf(['row','column']).isRequired,itemsSpacing:mr.number,itemWidth:mr.number.isRequired,itemHeight:mr.number.isRequired,itemDirection:mr.oneOf(['left-to-right','right-to-left','top-to-bottom','bottom-to-top']),itemTextColor:mr.string,itemBackground:mr.string,itemOpacity:mr.number,symbolShape:mr.oneOfType([mr.oneOf(['circle','diamond','square','triangle']),mr.func]),symbolSize:mr.number,symbolSpacing:mr.number,symbolBorderWidth:mr.number,symbolBorderColor:mr.string,onClick:mr.func,onMouseEnter:mr.func,onMouseLeave:mr.func,effects:mr.arrayOf(mr.shape({on:mr.oneOfType([mr.oneOf(['hover'])]).isRequired,style:mr.shape({itemTextColor:mr.string,itemBackground:mr.string,itemOpacity:mr.number,symbolSize:mr.number,symbolBorderWidth:mr.number,symbolBorderColor:mr.string}).isRequired}))};function OQ(){return OQ=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},OQ.apply(this,arguments)}function IQ(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var NQ,TQ=function(e){var t=e.bars,n=e.annotations,r=MS({data:t,annotations:n,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e){var t=e.height,n=e.width;return{width:n,height:t,size:Math.max(n,t)}}});return w(x,{children:r.map(function(e,t){return w(KS,OQ({},e),t)})})},MQ=function(e){var t=e.width,n=e.height,r=e.legends,i=e.toggleSerie;return w(x,{children:r.map(function(e,r){var o,s=e[0],a=e[1];return w(kQ,OQ({},s,{containerWidth:t,containerHeight:n,data:null!=(o=s.data)?o:a,toggleSerie:s.toggleSerie&&'keys'===s.dataFrom?i:void 0}),r)})})},PQ=['data'],DQ=['color','label'],RQ={indexBy:'id',keys:['value'],groupMode:'stacked',layout:'vertical',reverse:!1,minValue:'auto',maxValue:'auto',valueScale:{type:'linear'},indexScale:{type:'band',round:!0},padding:.1,innerPadding:0,axisBottom:{},axisLeft:{},enableGridX:!1,enableGridY:!0,enableLabel:!0,label:'formattedValue',labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{from:'theme',theme:'labels.text.fill'},colorBy:'id',colors:{scheme:'nivo'},borderRadius:0,borderWidth:0,borderColor:{from:'color'},isInteractive:!0,tooltip:function(e){var t=e.color,n=e.label,r=IQ(e,DQ);return w(la,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+' - '+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],markers:[]},HQ=OQ({},RQ,{layers:['grid','axes','bars','markers','legends','annotations'],barComponent:function(e){var t,n=e.bar,r=n.data,i=IQ(n,PQ),o=e.style,a=o.borderColor,A=o.color,l=o.height,c=o.labelColor,u=o.labelOpacity,f=o.labelX,h=o.labelY,g=o.transform,m=o.width,v=e.borderRadius,b=e.borderWidth,y=e.label,x=e.shouldRenderLabel,C=e.isInteractive,_=e.onClick,j=e.onMouseEnter,F=e.onMouseLeave,E=e.tooltip,S=e.isFocusable,k=e.ariaLabel,U=e.ariaLabelledBy,Q=e.ariaDescribedBy,L=Jx(),O=ma(),I=O.showTooltipFromEvent,N=O.showTooltipAt,T=O.hideTooltip,M=d(function(){return function(){return p(E,OQ({},i,r))}},[E,i,r]),P=s(function(e){null==_||_(OQ({color:i.color},r),e)},[i,r,_]),D=s(function(e){return I(M(),e)},[I,M]),R=s(function(e){null==j||j(r,e),I(M(),e)},[r,j,I,M]),H=s(function(e){null==F||F(r,e),T()},[r,T,F]),z=s(function(){N(M(),[i.absX+i.width/2,i.absY])},[N,M,i]),K=s(function(){T()},[T]);return B(ra.g,{transform:g,children:[w(ra.rect,{width:zs(m,function(e){return Math.max(e,0)}),height:zs(l,function(e){return Math.max(e,0)}),rx:v,ry:v,fill:null!=(t=r.fill)?t:A,strokeWidth:b,stroke:a,focusable:S,tabIndex:S?0:void 0,'aria-label':k?k(r):void 0,'aria-labelledby':U?U(r):void 0,'aria-describedby':Q?Q(r):void 0,onMouseEnter:C?R:void 0,onMouseMove:C?D:void 0,onMouseLeave:C?H:void 0,onClick:C?P:void 0,onFocus:C&&S?z:void 0,onBlur:C&&S?K:void 0}),x&&w(ra.text,{x:f,y:h,textAnchor:'middle',dominantBaseline:'central',fillOpacity:u,style:OQ({},L.labels.text,{pointerEvents:'none',fill:c}),children:y})]})},defs:[],fill:[],animate:!0,motionConfig:'default',role:'img',isFocusable:!1}),zQ=OQ({},RQ,{layers:['grid','axes','bars','legends','annotations'],pixelRatio:'undefined'!=typeof window&&null!=(NQ=window.devicePixelRatio)?NQ:1}),KQ=function(e,t,n,r,i,o){return aF(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},VQ=function(e,t){return e.map(function(e){return OQ({},t.reduce(function(e,t){return e[t]=null,e},{}),e)})},qQ=function(e){return Object.keys(e).reduce(function(t,n){return e[n]&&(t[n]=e[n]),t},{})},GQ=function(e){return[e,Number(e)]},WQ=['layout','minValue','maxValue','reverse','width','height','padding','innerPadding','valueScale','indexScale','hiddenIds'],YQ=function(e,t){return e>t},XQ=function(e,t){return e<t},JQ=function(e,t){return Array.from(' '.repeat(t-e),function(t,n){return e+n})},ZQ=function(e){return YQ(e,0)?0:e},$Q=function(e,t,n,r){var i=e.data,o=e.formatValue,s=e.getColor,a=e.getIndex,A=e.getTooltipLabel,l=e.innerPadding,c=void 0===l?0:l,u=e.keys,d=e.xScale,f=e.yScale,h=e.margin,p=n?XQ:YQ,g=i.map(qQ),m=[];return u.forEach(function(e,n){return JQ(0,d.domain().length).forEach(function(l){var u,v,b,y=GQ(i[l][e]),w=y[0],B=y[1],x=a(i[l]),C=(null!=(u=d(x))?u:0)+t*n+c*n,_=p(v=B,0)?null!=(b=f(v))?b:0:r,j=function(e,t){var n;return p(e,0)?r-t:(null!=(n=f(e))?n:0)-r}(B,_),F={id:e,value:null===w?w:B,formattedValue:o(B),hidden:!1,index:l,indexValue:x,data:g[l]};m.push({key:e+'.'+F.indexValue,index:m.length,data:F,x:C,y:_,absX:h.left+C,absY:h.top+_,width:t,height:j,color:s(F),label:A(F)})})}),m},eL=function(e,t,n,r){var i=e.data,o=e.formatValue,s=e.getIndex,a=e.getColor,A=e.getTooltipLabel,l=e.keys,c=e.innerPadding,u=void 0===c?0:c,d=e.xScale,f=e.yScale,h=e.margin,p=n?XQ:YQ,g=i.map(qQ),m=[];return l.forEach(function(e,n){return JQ(0,f.domain().length).forEach(function(l){var c,v,b,y=GQ(i[l][e]),w=y[0],B=y[1],x=s(i[l]),C=p(v=B,0)?r:null!=(b=d(v))?b:0,_=(null!=(c=f(x))?c:0)+t*n+u*n,j=function(e,t){var n;return p(e,0)?(null!=(n=d(e))?n:0)-r:r-t}(B,C),F={id:e,value:null===w?w:B,formattedValue:o(B),hidden:!1,index:l,indexValue:x,data:g[l]};m.push({key:e+'.'+F.indexValue,index:m.length,data:F,x:C,y:_,absX:h.left+C,absY:h.top+_,width:j,height:t,color:a(F),label:A(F)})})}),m},tL=function(e){var t,n,r=e.layout,i=e.minValue,o=e.maxValue,s=e.reverse,a=e.width,A=e.height,l=e.padding,c=void 0===l?0:l,u=e.innerPadding,d=void 0===u?0:u,f=e.valueScale,h=e.indexScale,p=e.hiddenIds,g=void 0===p?[]:p,m=IQ(e,WQ),v=m.keys.filter(function(e){return!g.includes(e)}),b=VQ(m.data,v),y='vertical'===r?['y','x',a]:['x','y',A],w=y[0],B=y[1],x=y[2],C=KQ(b,m.getIndex,c,h,x,B),_=OQ({max:o,min:i,reverse:s},f),j='auto'===_.min?ZQ:function(e){return e},F=b.reduce(function(e,t){return[].concat(e,v.map(function(e){return t[e]}))},[]).filter(Boolean),E=aF(_,{all:F,min:j(Math.min.apply(Math,F)),max:(n=Math.max.apply(Math,F),isFinite(n)?n:0)},'x'===w?a:A,w),S='vertical'===r?[C,E]:[E,C],k=S[0],U=S[1],Q=(C.bandwidth()-d*(v.length-1))/v.length,L=[OQ({},m,{data:b,keys:v,innerPadding:d,xScale:k,yScale:U}),Q,_.reverse,null!=(t=E(0))?t:0];return{xScale:k,yScale:U,bars:Q>0?'vertical'===r?$Q.apply(void 0,L):eL.apply(void 0,L):[]}},nL=['data','layout','minValue','maxValue','reverse','width','height','padding','valueScale','indexScale','hiddenIds'],rL=function e(t){var n;return t.some(Array.isArray)?e((n=[]).concat.apply(n,t)):t},iL=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,s=e.getTooltipLabel,a=e.innerPadding,A=e.stackedData,l=e.xScale,c=e.yScale,u=e.margin,d=[];return A.forEach(function(e){return l.domain().forEach(function(A,f){var h,p,g=e[f],m=null!=(h=l(o(g.data)))?h:0,v=(null!=(p=function(e){return c(e[n?0:1])}(g))?p:0)+.5*a,b=function(e,t){var r;return(null!=(r=c(e[n?1:0]))?r:0)-t}(g,v)-a,y=GQ(g.data[e.key]),w=y[0],B=y[1],x={id:e.key,value:null===w?w:B,formattedValue:r(B),hidden:!1,index:f,indexValue:A,data:qQ(g.data)};d.push({key:e.key+'.'+A,index:d.length,data:x,x:m,y:v,absX:u.left+m,absY:u.top+v,width:t,height:b,color:i(x),label:s(x)})})}),d},oL=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,s=e.getTooltipLabel,a=e.innerPadding,A=e.stackedData,l=e.xScale,c=e.yScale,u=e.margin,d=[];return A.forEach(function(e){return c.domain().forEach(function(A,f){var h,p,g=e[f],m=null!=(h=c(o(g.data)))?h:0,v=(null!=(p=function(e){return l(e[n?1:0])}(g))?p:0)+.5*a,b=function(e,t){var r;return(null!=(r=l(e[n?0:1]))?r:0)-t}(g,v)-a,y=GQ(g.data[e.key]),w=y[0],B=y[1],x={id:e.key,value:null===w?w:B,formattedValue:r(B),hidden:!1,index:f,indexValue:A,data:qQ(g.data)};d.push({key:e.key+'.'+A,index:d.length,data:x,x:v,y:m,absX:u.left+v,absY:u.top+m,width:b,height:t,color:i(x),label:s(x)})})}),d},sL=function(e){var t,n=e.data,r=e.layout,i=e.minValue,o=e.maxValue,s=e.reverse,a=e.width,A=e.height,l=e.padding,c=void 0===l?0:l,u=e.valueScale,d=e.indexScale,f=e.hiddenIds,h=void 0===f?[]:f,p=IQ(e,nL),g=p.keys.filter(function(e){return!h.includes(e)}),m=function(){var e=Lb([]),t=Dy,n=Py,r=Ry;function i(i){var o,s,a=e.apply(this,arguments),A=i.length,l=a.length,c=new Array(l);for(o=0;o<l;++o){for(var u,d=a[o],f=c[o]=new Array(A),h=0;h<A;++h)f[h]=u=[0,+r(i[h],d,h,i)],u.data=i[h];f.key=d}for(o=0,s=t(c);o<l;++o)c[s[o]].index=o;return n(c,s),c}return i.keys=function(t){return arguments.length?(e='function'==typeof t?t:Lb(sy.call(t)),i):e},i.value=function(e){return arguments.length?(r='function'==typeof e?e:Lb(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Dy:'function'==typeof e?e:Lb(sy.call(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Py:e,i):n},i}().keys(g).offset(Hy)(VQ(n,g)),v='vertical'===r?['y','x',a]:['x','y',A],b=v[0],y=v[1],w=v[2],B=KQ(n,p.getIndex,c,d,w,y),x=OQ({max:o,min:i,reverse:s},u),C=(t=rL(m),'log'===u.type?t.filter(function(e){return 0!==e}):t),_=aF(x,{all:C,min:Math.min.apply(Math,C),max:Math.max.apply(Math,C)},'x'===b?a:A,b),j='vertical'===r?[B,_]:[_,B],F=j[0],E=j[1],S=p.innerPadding>0?p.innerPadding:0,k=B.bandwidth(),U=[OQ({},p,{innerPadding:S,stackedData:m,xScale:F,yScale:E}),k,x.reverse];return{xScale:F,yScale:E,bars:k>0?'vertical'===r?iL.apply(void 0,U):oL.apply(void 0,U):[]}},aL=function(e){var t=e.bars,n=e.direction,r=e.from,i=e.groupMode,o=e.layout,s=e.legendLabel,a=e.reverse,A=EC(null!=s?s:'indexes'===r?'indexValue':'id');return'indexes'===r?function(e,t,n){var r=k_(e.map(function(e){var t,r;return{id:null!=(t=e.data.indexValue)?t:'',label:n(e.data),hidden:e.data.hidden,color:null!=(r=e.color)?r:'#000'}}),function(e){return e.id});return'horizontal'===t&&r.reverse(),r}(t,o,A):function(e,t,n,r,i,o){var s=k_(e.map(function(e){var t;return{id:e.data.id,label:o(e.data),hidden:e.data.hidden,color:null!=(t=e.color)?t:'#000'}}),function(e){return e.id});return('vertical'===t&&'stacked'===r&&'column'===n&&!0!==i||'horizontal'===t&&'stacked'===r&&!0===i)&&s.reverse(),s}(t,o,n,i,a,A)},AL=function(e){var t=e.indexBy,r=void 0===t?RQ.indexBy:t,i=e.keys,o=void 0===i?RQ.keys:i,a=e.label,A=void 0===a?RQ.label:a,l=e.tooltipLabel,c=void 0===l?RQ.tooltipLabel:l,u=e.valueFormat,f=e.colors,h=void 0===f?RQ.colors:f,p=e.colorBy,g=void 0===p?RQ.colorBy:p,m=e.borderColor,v=void 0===m?RQ.borderColor:m,b=e.labelTextColor,y=void 0===b?RQ.labelTextColor:b,w=e.groupMode,B=void 0===w?RQ.groupMode:w,x=e.layout,C=void 0===x?RQ.layout:x,_=e.reverse,j=void 0===_?RQ.reverse:_,F=e.data,E=e.minValue,S=void 0===E?RQ.minValue:E,k=e.maxValue,U=void 0===k?RQ.maxValue:k,Q=e.margin,L=e.width,O=e.height,I=e.padding,N=void 0===I?RQ.padding:I,T=e.innerPadding,M=void 0===T?RQ.innerPadding:T,P=e.valueScale,D=void 0===P?RQ.valueScale:P,R=e.indexScale,H=void 0===R?RQ.indexScale:R,z=e.initialHiddenIds,K=void 0===z?RQ.initialHiddenIds:z,V=e.enableLabel,q=void 0===V?RQ.enableLabel:V,G=e.labelSkipWidth,W=void 0===G?RQ.labelSkipWidth:G,Y=e.labelSkipHeight,X=void 0===Y?RQ.labelSkipHeight:Y,J=e.legends,Z=void 0===J?RQ.legends:J,$=e.legendLabel,ee=n(null!=K?K:[]),te=ee[0],ne=ee[1],re=s(function(e){ne(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),ie=SC(r),oe=SC(A),se=SC(c),ae=Gx(u),Ae=Jx(),le=wQ(h,g),ce=vQ(v,Ae),ue=vQ(y,Ae),de=('grouped'===B?tL:sL)({layout:C,reverse:j,data:F,getIndex:ie,keys:o,minValue:S,maxValue:U,width:L,height:O,getColor:le,padding:N,innerPadding:M,valueScale:D,indexScale:H,hiddenIds:te,formatValue:ae,getTooltipLabel:se,margin:Q}),fe=de.bars,he=de.xScale,pe=de.yScale,ge=d(function(){return fe.filter(function(e){return null!==e.data.value}).map(function(e,t){return OQ({},e,{index:t})})},[fe]),me=s(function(e){var t=e.width,n=e.height;return!(!q||W>0&&t<W||X>0&&n<X)},[q,W,X]),ve=d(function(){return o.map(function(e){var t=fe.find(function(t){return t.data.id===e});return OQ({},t,{data:OQ({id:e},null==t?void 0:t.data,{hidden:te.includes(e)})})})},[te,o,fe]),be=d(function(){return Z.map(function(e){return[e,aL({bars:'keys'===e.dataFrom?ve:fe,direction:e.direction,from:e.dataFrom,groupMode:B,layout:C,legendLabel:$,reverse:j})]})},[Z,ve,fe,B,C,$,j]);return{bars:fe,barsWithValue:ge,xScale:he,yScale:pe,getIndex:ie,getLabel:oe,getTooltipLabel:se,formatValue:ae,getColor:le,getBorderColor:ce,getLabelColor:ue,shouldRenderBarLabel:me,hiddenIds:te,toggleSerie:re,legendsWithData:be}},lL=['isInteractive','animate','motionConfig','theme','renderWrapper'],cL=function(e){var t=e.data,n=e.indexBy,r=e.keys,i=e.margin,o=e.width,s=e.height,a=e.groupMode,A=e.layout,l=e.reverse,c=e.minValue,u=e.maxValue,f=e.valueScale,h=e.indexScale,g=e.padding,v=e.innerPadding,b=e.axisTop,y=e.axisRight,B=e.axisBottom,x=void 0===B?HQ.axisBottom:B,C=e.axisLeft,_=void 0===C?HQ.axisLeft:C,j=e.enableGridX,F=void 0===j?HQ.enableGridX:j,E=e.enableGridY,S=void 0===E?HQ.enableGridY:E,k=e.gridXValues,U=e.gridYValues,Q=e.layers,L=void 0===Q?HQ.layers:Q,O=e.barComponent,I=void 0===O?HQ.barComponent:O,N=e.enableLabel,T=void 0===N?HQ.enableLabel:N,M=e.label,P=e.labelSkipWidth,D=void 0===P?HQ.labelSkipWidth:P,R=e.labelSkipHeight,H=void 0===R?HQ.labelSkipHeight:R,z=e.labelTextColor,K=e.markers,V=void 0===K?HQ.markers:K,q=e.colorBy,G=e.colors,W=e.defs,Y=void 0===W?HQ.defs:W,X=e.fill,J=void 0===X?HQ.fill:X,Z=e.borderRadius,$=void 0===Z?HQ.borderRadius:Z,ee=e.borderWidth,te=void 0===ee?HQ.borderWidth:ee,ne=e.borderColor,re=e.annotations,ie=void 0===re?HQ.annotations:re,oe=e.legendLabel,se=e.tooltipLabel,ae=e.valueFormat,Ae=e.isInteractive,le=void 0===Ae?HQ.isInteractive:Ae,ce=e.tooltip,ue=void 0===ce?HQ.tooltip:ce,de=e.onClick,fe=e.onMouseEnter,he=e.onMouseLeave,pe=e.legends,ge=e.role,me=void 0===ge?HQ.role:ge,ve=e.ariaLabel,be=e.ariaLabelledBy,ye=e.ariaDescribedBy,we=e.isFocusable,Be=void 0===we?HQ.isFocusable:we,xe=e.barAriaLabel,Ce=e.barAriaLabelledBy,_e=e.barAriaDescribedBy,je=e.initialHiddenIds,Fe=Ex(),Ee=Fe.animate,Se=Fe.config,ke=Kx(o,s,i),Ue=ke.outerWidth,Qe=ke.outerHeight,Le=ke.margin,Oe=ke.innerWidth,Ie=ke.innerHeight,Ne=AL({indexBy:n,label:M,tooltipLabel:se,valueFormat:ae,colors:G,colorBy:q,borderColor:ne,labelTextColor:z,groupMode:a,layout:A,reverse:l,data:t,keys:r,minValue:c,maxValue:u,margin:Le,width:Oe,height:Ie,padding:g,innerPadding:v,valueScale:f,indexScale:h,enableLabel:T,labelSkipWidth:D,labelSkipHeight:H,legends:pe,legendLabel:oe,initialHiddenIds:je}),Te=Ne.bars,Me=Ne.barsWithValue,Pe=Ne.xScale,De=Ne.yScale,Re=Ne.getLabel,He=Ne.getTooltipLabel,ze=Ne.getBorderColor,Ke=Ne.getLabelColor,Ve=Ne.shouldRenderBarLabel,qe=Ne.toggleSerie,Ge=Ne.legendsWithData,We=Ts(Me,{keys:function(e){return e.key},from:function(e){return OQ({borderColor:ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+(e.y+e.height)+')',width:e.width},'vertical'===A?{}:{height:e.height,transform:'translate('+e.x+', '+e.y+')',width:0})},enter:function(e){return{borderColor:ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+e.y+')',width:e.width}},update:function(e){return{borderColor:ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+e.y+')',width:e.width}},leave:function(e){return OQ({borderColor:ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0,labelX:e.width/2,labelY:0,transform:'translate('+e.x+', '+(e.y+e.height)+')',width:e.width},'vertical'===A?{}:{labelX:0,labelY:e.height/2,height:e.height,transform:'translate('+e.x+', '+e.y+')',width:0})},config:Se,immediate:!Ee,initial:Ee?void 0:null}),Ye=d(function(){return{borderRadius:$,borderWidth:te,enableLabel:T,isInteractive:le,labelSkipWidth:D,labelSkipHeight:H,onClick:de,onMouseEnter:fe,onMouseLeave:he,getTooltipLabel:He,tooltip:ue,isFocusable:Be,ariaLabel:xe,ariaLabelledBy:Ce,ariaDescribedBy:_e}},[$,te,T,He,le,H,D,de,fe,he,ue,Be,xe,Ce,_e]),Xe=OC(Y,Te,J,{dataKey:'data',targetKey:'data.fill'}),Je={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null};L.includes('annotations')&&(Je.annotations=w(TQ,{bars:Te,annotations:ie},'annotations')),L.includes('axes')&&(Je.axes=w(EF,{xScale:Pe,yScale:De,width:Oe,height:Ie,top:b,right:y,bottom:x,left:_},'axes')),L.includes('bars')&&(Je.bars=w(m,{children:We(function(e,t){return p(I,OQ({},Ye,{bar:t,style:e,shouldRenderLabel:Ve(t),label:Re(t.data)}))})},'bars')),L.includes('grid')&&(Je.grid=w(UF,{width:Oe,height:Ie,xScale:F?Pe:null,yScale:S?De:null,xValues:k,yValues:U},'grid')),L.includes('legends')&&(Je.legends=w(MQ,{width:Oe,height:Ie,legends:Ge,toggleSerie:qe},'legends')),L.includes('markers')&&(Je.markers=w(_C,{markers:V,width:Oe,height:Ie,xScale:Pe,yScale:De},'markers'));var Ze=d(function(){return OQ({},Ye,{margin:Le,width:o,height:s,innerWidth:Oe,innerHeight:Ie,bars:Te,legendData:Ge,enableLabel:T,xScale:Pe,yScale:De,tooltip:ue,getTooltipLabel:He,onClick:de,onMouseEnter:fe,onMouseLeave:he})},[Ye,Le,o,s,Oe,Ie,Te,Ge,T,Pe,De,ue,He,de,fe,he]);return w(mC,{width:Ue,height:Qe,margin:Le,defs:Xe,role:me,ariaLabel:ve,ariaLabelledBy:be,ariaDescribedBy:ye,isFocusable:Be,children:L.map(function(e,t){var n;return'function'==typeof e?w(m,{children:p(e,Ze)},t):null!=(n=null==Je?void 0:Je[e])?n:null})})},uL=function(e){var t=e.isInteractive,n=void 0===t?HQ.isInteractive:t,r=e.animate,i=void 0===r?HQ.animate:r,o=e.motionConfig,s=void 0===o?HQ.motionConfig:o,a=e.theme,A=e.renderWrapper,l=IQ(e,lL);return w(eC,{animate:i,isInteractive:n,motionConfig:s,renderWrapper:A,theme:a,children:w(cL,OQ({isInteractive:n},l))})},dL=['isInteractive','renderWrapper','theme'],fL=function(e,t,n,r){return e.find(function(e){return kC(e.x+t.left,e.y+t.top,e.width,e.height,n,r)})},hL=function(e){var t=e.data,n=e.indexBy,i=e.keys,a=e.margin,A=e.width,l=e.height,c=e.groupMode,u=e.layout,f=e.reverse,h=e.minValue,g=e.maxValue,m=e.valueScale,v=e.indexScale,b=e.padding,y=e.innerPadding,B=e.axisTop,x=e.axisRight,C=e.axisBottom,_=void 0===C?zQ.axisBottom:C,j=e.axisLeft,F=void 0===j?zQ.axisLeft:j,E=e.enableGridX,S=void 0===E?zQ.enableGridX:E,k=e.enableGridY,U=void 0===k?zQ.enableGridY:k,Q=e.gridXValues,L=e.gridYValues,O=e.layers,I=void 0===O?zQ.layers:O,N=e.renderBar,T=void 0===N?function(e,t){var n=t.bar,r=n.color,i=n.height,o=n.width,s=n.x,a=n.y,A=t.borderColor,l=t.borderRadius,c=t.borderWidth,u=t.label,d=t.labelColor,f=t.shouldRenderLabel;if(e.fillStyle=r,c>0&&(e.strokeStyle=A,e.lineWidth=c),e.beginPath(),l>0){var h=Math.min(l,i);e.moveTo(s+h,a),e.lineTo(s+o-h,a),e.quadraticCurveTo(s+o,a,s+o,a+h),e.lineTo(s+o,a+i-h),e.quadraticCurveTo(s+o,a+i,s+o-h,a+i),e.lineTo(s+h,a+i),e.quadraticCurveTo(s,a+i,s,a+i-h),e.lineTo(s,a+h),e.quadraticCurveTo(s,a,s+h,a),e.closePath()}else e.rect(s,a,o,i);e.fill(),c>0&&e.stroke(),f&&(e.textBaseline='middle',e.textAlign='center',e.fillStyle=d,e.fillText(u,s+o/2,a+i/2))}:N,M=e.enableLabel,P=void 0===M?zQ.enableLabel:M,D=e.label,R=e.labelSkipWidth,H=void 0===R?zQ.labelSkipWidth:R,z=e.labelSkipHeight,K=void 0===z?zQ.labelSkipHeight:z,V=e.labelTextColor,q=e.colorBy,G=e.colors,W=e.borderRadius,Y=void 0===W?zQ.borderRadius:W,X=e.borderWidth,J=void 0===X?zQ.borderWidth:X,Z=e.borderColor,$=e.annotations,ee=void 0===$?zQ.annotations:$,te=e.legendLabel,ne=e.tooltipLabel,re=e.valueFormat,ie=e.isInteractive,oe=void 0===ie?zQ.isInteractive:ie,se=e.tooltip,ae=void 0===se?zQ.tooltip:se,Ae=e.onClick,le=e.onMouseEnter,ce=e.onMouseLeave,ue=e.legends,de=e.pixelRatio,fe=void 0===de?zQ.pixelRatio:de,he=e.canvasRef,pe=o(null),ge=Jx(),me=Kx(A,l,a),ve=me.margin,be=me.innerWidth,ye=me.innerHeight,we=me.outerWidth,Be=me.outerHeight,xe=AL({indexBy:n,label:D,tooltipLabel:ne,valueFormat:re,colors:G,colorBy:q,borderColor:Z,labelTextColor:V,groupMode:c,layout:u,reverse:f,data:t,keys:i,minValue:h,maxValue:g,margin:ve,width:be,height:ye,padding:b,innerPadding:y,valueScale:m,indexScale:v,enableLabel:P,labelSkipWidth:H,labelSkipHeight:K,legends:ue,legendLabel:te}),Ce=xe.bars,_e=xe.barsWithValue,je=xe.xScale,Fe=xe.yScale,Ee=xe.getLabel,Se=xe.getTooltipLabel,ke=xe.getBorderColor,Ue=xe.getLabelColor,Qe=xe.shouldRenderBarLabel,Le=xe.legendsWithData,Oe=ma(),Ie=Oe.showTooltipFromEvent,Ne=Oe.hideTooltip,Te=function(e){var t=e.annotations;return d(function(){return t.map(function(e){return kS({},e,{computed:TS(kS({},e))})})},[t])}({annotations:MS({data:Ce,annotations:ee,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{width:t,height:n,size:Math.max(t,n)}}})}),Me=d(function(){return{borderRadius:Y,borderWidth:J,isInteractive:oe,isFocusable:!1,labelSkipWidth:H,labelSkipHeight:K,margin:ve,width:A,height:l,innerWidth:be,innerHeight:ye,bars:Ce,legendData:Le,enableLabel:P,xScale:je,yScale:Fe,tooltip:ae,getTooltipLabel:Se,onClick:Ae,onMouseEnter:le,onMouseLeave:ce}},[Y,J,oe,H,K,ve,A,l,be,ye,Ce,Le,P,je,Fe,ae,Se,Ae,le,ce]);r(function(){var e,t=null==(e=pe.current)?void 0:e.getContext('2d');pe.current&&t&&(pe.current.width=we*fe,pe.current.height=Be*fe,t.scale(fe,fe),t.fillStyle=ge.background,t.fillRect(0,0,we,Be),t.translate(ve.left,ve.top),I.forEach(function(e){'grid'===e?'number'==typeof ge.grid.line.strokeWidth&&ge.grid.line.strokeWidth>0&&(t.lineWidth=ge.grid.line.strokeWidth,t.strokeStyle=ge.grid.line.stroke,S&&LF(t,{width:A,height:l,scale:je,axis:'x',values:Q}),U&&LF(t,{width:A,height:l,scale:Fe,axis:'y',values:L})):'axes'===e?QF(t,{xScale:je,yScale:Fe,width:be,height:ye,top:B,right:x,bottom:_,left:F,theme:ge}):'bars'===e?_e.forEach(function(e){T(t,{bar:e,borderColor:ke(e),borderRadius:Y,borderWidth:J,label:Ee(e.data),labelColor:Ue(e),shouldRenderLabel:Qe(e)})}):'legends'===e?Le.forEach(function(e){var n=e[0],r=e[1];QQ(t,OQ({},n,{data:r,containerWidth:be,containerHeight:ye,theme:ge}))}):'annotations'===e?function(e,t){var n=t.annotations,r=t.theme;0!==n.length&&(e.save(),n.forEach(function(t){if(!function(e){var t=typeof e;return'string'===t||'function'===t}(t.note))throw new Error('note is invalid for canvas implementation');r.annotations.link.outlineWidth>0&&(e.lineCap='square',e.strokeStyle=r.annotations.link.outlineColor,e.lineWidth=r.annotations.link.strokeWidth+2*r.annotations.link.outlineWidth,e.beginPath(),VS(e,t.computed.points),e.stroke(),e.lineCap='butt'),OS(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),IS(t)&&r.annotations.symbol.outlineWidth>0&&(e.strokeStyle=r.annotations.symbol.outlineColor,e.lineWidth=2*r.annotations.symbol.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),NS(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),e.strokeStyle=r.annotations.link.stroke,e.lineWidth=r.annotations.link.strokeWidth,e.beginPath(),VS(e,t.computed.points),e.stroke(),OS(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),IS(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),NS(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),'function'==typeof t.note?t.note(e,{datum:t.datum,x:t.computed.text[0],y:t.computed.text[1],theme:r}):(e.font=r.annotations.text.fontSize+'px '+r.annotations.text.fontFamily,e.textAlign='left',e.textBaseline='alphabetic',e.fillStyle=r.annotations.text.fill,e.strokeStyle=r.annotations.text.outlineColor,e.lineWidth=2*r.annotations.text.outlineWidth,r.annotations.text.outlineWidth>0&&(e.lineJoin='round',e.strokeText(t.note,t.computed.text[0],t.computed.text[1]),e.lineJoin='miter'),e.fillText(t.note,t.computed.text[0],t.computed.text[1]))}),e.restore())}(t,{annotations:Te,theme:ge}):'function'==typeof e&&e(t,Me)}),t.save())},[_,F,x,B,_e,Y,J,Te,S,U,ke,Ee,Ue,Q,L,c,l,ye,be,Me,I,u,Le,ve.left,ve.top,Be,we,fe,T,je,Fe,f,Qe,ge,A]);var Pe=s(function(e){if(Ce&&pe.current){var t=UC(pe.current,e),n=t[0],r=t[1],i=fL(Ce,ve,n,r);void 0!==i?(Ie(p(ae,OQ({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),'mouseenter'===e.type&&(null==le||le(i.data,e))):Ne()}},[Ne,ve,le,Ce,Ie,ae]),De=s(function(e){if(Ce&&pe.current){Ne();var t=UC(pe.current,e),n=t[0],r=t[1],i=fL(Ce,ve,n,r);i&&(null==ce||ce(i.data,e))}},[Ne,ve,ce,Ce]),Re=s(function(e){if(Ce&&pe.current){var t=UC(pe.current,e),n=t[0],r=t[1],i=fL(Ce,ve,n,r);void 0!==i&&(null==Ae||Ae(OQ({},i.data,{color:i.color}),e))}},[ve,Ae,Ce]);return w('canvas',{ref:function(e){pe.current=e,he&&'current'in he&&(he.current=e)},width:we*fe,height:Be*fe,style:{width:we,height:Be,cursor:oe?'auto':'normal'},onMouseEnter:oe?Pe:void 0,onMouseMove:oe?Pe:void 0,onMouseLeave:oe?De:void 0,onClick:oe?Re:void 0})},pL=c(function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=IQ(e,dL);return w(eC,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:w(hL,OQ({},o,{canvasRef:t}))})}),gL=function(e){return w(tC,{children:function(t){var n=t.width,r=t.height;return w(uL,OQ({width:n,height:r},e))}})};c(function(e,t){return w(tC,{children:function(n){var r=n.width,i=n.height;return w(pL,OQ({width:r,height:i},e,{ref:t}))}})});var mL={background:'#ffffff',text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},axis:{domain:{line:{stroke:'#777777',strokeWidth:1}},legend:{text:{fontSize:12,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{title:{text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},ticks:{line:{},text:{fontSize:10,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},annotations:{text:{fontSize:13,fill:'#333333',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}},tooltip:{container:{background:'#ffffff',fontSize:12},basic:{},chip:{},table:{},tableCell:{},tableCellValue:{}}},vL={background:'#121b37',text:{fontSize:11,fill:'#000000',outlineWidth:0,outlineColor:'#000000'},axis:{domain:{line:{stroke:'#777777',strokeWidth:1}},legend:{text:{fontSize:12,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:11,fill:'#ccccdc',outlineWidth:0,outlineColor:'transparent'}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{title:{text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},text:{fontSize:11,fill:'#ccccdc',outlineWidth:0,outlineColor:'transparent'},ticks:{line:{},text:{fontSize:10,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},annotations:{text:{fontSize:13,fill:'#333333',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}},tooltip:{container:{background:'#ffffff',fontSize:12,fill:'#000000'},basic:{},chip:{},table:{},tableCell:{},tableCellValue:{}}},bL=function(e){var t=parseFloat(e);return isNaN(t)?e:Number.isInteger(t)?t:t.toFixed(3)},yL=function(e){return e.length>10?e.substring(0,10)+'...':e},wL=function(e){var n=e.chartData,r=function(e){if(1===e.num_y_categories){var t=e.y_data,n=Array.isArray(t[0])&&t.length===e.x_data.length?t.map(function(e){return e[0]}):Array.isArray(t[0])?t[0]:t;return e.x_data.map(function(t,r){var i,o;return(i={})[e.x_label]=t,i[e.y_category_label[0]]=null!==(o=n[r])&&void 0!==o?o:0,i})}return e.x_data.map(function(t,n){var r,i=((r={})[e.x_label]=t,r);return e.y_category_label.forEach(function(t,r){var o,s;i[t]=null!==(s=null===(o=e.y_data[n])||void 0===o?void 0:o[r])&&void 0!==s?s:0}),i})}(n),i=u(vJ).isDarkMode;return t.createElement(gL,{data:r,keys:n.y_category_label,indexBy:n.x_label,groupMode:'grouped',margin:{top:50,right:60,bottom:80,left:60},padding:.4,valueScale:{type:'linear'},colors:{scheme:'nivo'},animate:!0,enableLabel:!1,axisTop:null,axisRight:null,axisLeft:{tickSize:3,tickPadding:3,tickRotation:0,legend:n.y_category_label,legendPosition:'middle',legendOffset:-55,format:function(e){return e>=1e9?''.concat((e/1e9).toFixed(1),'B'):e>=1e6?''.concat((e/1e6).toFixed(1),'M'):e>=1e3?''.concat((e/1e3).toFixed(1),'K'):e.toString()}},axisBottom:{tickSize:5,tickPadding:5,tickRotation:-15,truncateTickAt:0,legend:n.x_label,legendPosition:'middle',legendOffset:45,format:yL},legends:[{dataFrom:'keys',anchor:'top',direction:'row',justify:!1,translateX:0,translateY:-30,itemsSpacing:2,itemWidth:100,itemHeight:20,itemDirection:'left-to-right',itemOpacity:.85,symbolSize:20,effects:[{on:'hover',style:{itemOpacity:1}}]}],theme:i?vL:mL})};function BL(){return BL=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},BL.apply(this,arguments)}var xL={pointerEvents:'none'},CL=function(e){var t=e.label,n=e.style,r=Jx();return w(ra.g,{transform:n.transform,opacity:n.progress,style:xL,children:w(ra.text,{textAnchor:'middle',dominantBaseline:'central',style:BL({},r.labels.text,{fill:n.textColor}),children:t})})},_L=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},jL={startAngle:{enter:function(e){return BL({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return BL({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return BL({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return BL({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return BL({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return BL({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return BL({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return BL({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return BL({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return BL({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return BL({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return BL({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return BL({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return BL({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return BL({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return BL({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},FL=function(e,t){return d(function(){var n=jL[e];return{enter:function(e){return BL({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return BL({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return BL({progress:0},n.leave(e.arc),t?t.leave(e):{})}}},[e,t])},EL=function(e){return function(t,n,r,i){return zs([t,n,r,i],function(t,n,r,i){var o=function(e,t){var n=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2}(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return AC(n,r)}({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return'translate('+o.x+','+o.y+')'})}},SL=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,o=e.radiusOffset,s=e.skipAngle,a=e.textColor,A=e.component,l=void 0===A?CL:A,c=SC(i),u=Jx(),f=vQ(a,u),h=d(function(){return n.filter(function(e){return Math.abs(aC(e.arc.endAngle-e.arc.startAngle))>=s})},[n,s]),g=function(e,t,n,r){void 0===t&&(t=.5),void 0===n&&(n='innerRadius');var i=Ex(),o=i.animate,s=i.config,a=FL(n,r);return{transition:Ts(e,{keys:function(e){return e.id},initial:a.update,from:a.enter,enter:a.update,update:a.update,leave:a.leave,config:s,immediate:!o}),interpolate:EL(t)}}(h,o,r),m=g.transition,v=g.interpolate,b=l;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(b,{key:t.id,datum:t,label:c(t),style:BL({},e,{transform:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textColor:f(t)})})})})},kL=function(e){var t=e.label,n=e.style,r=Jx();return B(ra.g,{opacity:n.opacity,children:[w(ra.path,{fill:'none',stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),w(ra.text,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:'central',style:BL({},r.labels.text,{fill:n.textColor}),children:t})]})},UL=function(e,t,n,r){var i,o,s=_L(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),a=AC(s,e.outerRadius+t),A=AC(s,e.outerRadius+t+n);return s<Math.PI/2||s>1.5*Math.PI?(i='after',o={x:A.x+r,y:A.y}):(i='before',o={x:A.x-r,y:A.y}),{side:i,points:[a,A,o]}},QL=ry().x(function(e){return e.x}).y(function(e){return e.y}),LL=function(e,t,n,r,i,o,s){return zs([e,t,n,r,i,o,s],function(e,t,n,r,i,o,s){var a=UL({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r},i,o,s).points;return QL(a)})},OL=function(e,t,n,r){return zs([e,t,n,r],function(e,t,n,r){return function(e){var t=_L(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?'start':'end'}({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r})})},IL=function(e,t,n,r,i,o,s,a){return zs([e,t,n,r,i,o,s,a],function(e,t,n,r,i,o,s,a){var A=UL({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r},i,o,s),l=A.points,c=A.side,u=l[2];return'before'===c?u.x-=a:u.x+=a,'translate('+u.x+','+u.y+')'})},NL=function(e){var t=e.data,n=e.offset,r=void 0===n?0:n,i=e.diagonalLength,o=e.straightLength,s=e.skipAngle,a=void 0===s?0:s,A=e.textOffset,l=e.linkColor,c=e.textColor,u=Ex(),f=u.animate,h=u.config,p=Jx(),g=vQ(l,p),m=vQ(c,p),v=function(e,t){return d(function(){return function(e,t){return e.filter(function(e){return Math.abs(aC(e.arc.endAngle-e.arc.startAngle))>=t})}(e,t)},[e,t])}(t,a),b=function(e){var t=e.offset,n=e.diagonalLength,r=e.straightLength,i=e.textOffset,o=e.getLinkColor,s=e.getTextColor;return d(function(){return{enter:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:s(e),opacity:0}},update:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:n,straightLength:r,textOffset:i,linkColor:o(e),textColor:s(e),opacity:1}},leave:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:s(e),opacity:0}}}},[n,r,i,o,s,t])}({offset:r,diagonalLength:i,straightLength:o,textOffset:A,getLinkColor:g,getTextColor:m});return{transition:Ts(v,{keys:function(e){return e.id},initial:b.update,from:b.enter,enter:b.update,update:b.update,leave:b.leave,config:h,immediate:!f}),interpolateLink:LL,interpolateTextAnchor:OL,interpolateTextPosition:IL}},TL=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,o=e.offset,s=e.diagonalLength,a=e.straightLength,A=e.strokeWidth,l=e.textOffset,c=e.textColor,u=e.linkColor,d=e.component,f=void 0===d?kL:d,h=SC(r),g=NL({data:n,skipAngle:i,offset:o,diagonalLength:s,straightLength:a,textOffset:l,linkColor:u,textColor:c}),m=g.transition,v=g.interpolateLink,b=g.interpolateTextAnchor,y=g.interpolateTextPosition,B=f;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(B,{key:t.id,datum:t,label:h(t),style:BL({},e,{thickness:A,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength),textAnchor:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textPosition:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength,e.textOffset)})})})})},ML=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,A=s(function(e){return null==r?void 0:r(t,e)},[r,t]),l=s(function(e){return null==i?void 0:i(t,e)},[i,t]),c=s(function(e){return null==o?void 0:o(t,e)},[o,t]),u=s(function(e){return null==a?void 0:a(t,e)},[a,t]);return w(ra.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?A:void 0,onMouseEnter:i?l:void 0,onMouseMove:o?c:void 0,onMouseLeave:a?u:void 0})},PL=function(e,t,n,r,i){return zs([e,t,n,r],function(e,t,n,r){return i({startAngle:e,endAngle:t,innerRadius:Math.max(0,n),outerRadius:Math.max(0,r)})})},DL=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,s=e.onClick,a=e.onMouseEnter,A=e.onMouseMove,l=e.onMouseLeave,c=e.transitionMode,u=e.component,d=void 0===u?ML:u,f=Jx(),h=vQ(o,f),g=function(e,t,n){void 0===t&&(t='innerRadius');var r=Ex(),i=r.animate,o=r.config,s=FL(t,n);return{transition:Ts(e,{keys:function(e){return e.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:o,immediate:!i}),interpolate:PL}}(n,c,{enter:function(e){return{opacity:0,color:e.color,borderColor:h(e)}},update:function(e){return{opacity:1,color:e.color,borderColor:h(e)}},leave:function(e){return{opacity:0,color:e.color,borderColor:h(e)}}}),m=g.transition,v=g.interpolate,b=d;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(b,{key:t.id,datum:t,style:BL({},e,{borderWidth:i,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:s,onMouseEnter:a,onMouseMove:A,onMouseLeave:l})})})},RL=function(e){var t=void 0===e?{}:e,n=t.cornerRadius,r=void 0===n?0:n,i=t.padAngle,o=void 0===i?0:i;return d(function(){return Zb().innerRadius(function(e){return e.innerRadius}).outerRadius(function(e){return e.outerRadius}).cornerRadius(r).padAngle(o)},[r,o])};function HL(){return HL=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},HL.apply(this,arguments)}function zL(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var KL,VL,qL,GL,WL=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,o=e.toggleSerie;return w(x,{children:r.map(function(e,r){var s;return w(kQ,HL({},e,{containerWidth:t,containerHeight:n,data:null!=(s=e.data)?s:i,toggleSerie:e.toggleSerie?o:void 0}),r)})})},YL={id:'id',value:'value',sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:['arcs','arcLinkLabels','arcLabels','legends'],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:'color',modifiers:[['darker',1]]},enableArcLabels:!0,arcLabel:'formattedValue',arcLabelsSkipAngle:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:'labels.text.fill'},enableArcLinkLabels:!0,arcLinkLabel:'id',arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:'labels.text.fill'},arcLinkLabelsColor:{theme:'axis.ticks.line.stroke'},colors:{scheme:'nivo'},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:'gentle',transitionMode:'innerRadius',tooltip:function(e){var t=e.datum;return w(la,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:'img',pixelRatio:'undefined'!=typeof window&&null!=(KL=window.devicePixelRatio)?KL:1},XL=['points'],JL=function(e){var t=e.data,n=e.startAngle,i=e.endAngle,s=e.innerRadius,a=e.outerRadius,A=e.padAngle,l=e.sortByValue,c=e.activeId,u=e.activeInnerRadiusOffset,f=e.activeOuterRadiusOffset,h=e.hiddenIds,p=e.forwardLegendData,g=d(function(){var e=function(){var e=oy,t=iy,n=null,r=Lb(0),i=Lb(Kb),o=Lb(0);function s(s){var a,A,l,c,u,d=s.length,f=0,h=new Array(d),p=new Array(d),g=+r.apply(this,arguments),m=Math.min(Kb,Math.max(-Kb,i.apply(this,arguments)-g)),v=Math.min(Math.abs(m)/d,o.apply(this,arguments)),b=v*(m<0?-1:1);for(a=0;a<d;++a)(u=p[h[a]=a]=+e(s[a],a,s))>0&&(f+=u);for(null!=t?h.sort(function(e,n){return t(p[e],p[n])}):null!=n&&h.sort(function(e,t){return n(s[e],s[t])}),a=0,l=f?(m-d*b)/f:0;a<d;++a,g=c)A=h[a],c=g+((u=p[A])>0?u*l:0)+b,p[A]={data:s[A],index:a,value:u,startAngle:g,endAngle:c,padAngle:v};return p}return s.value=function(t){return arguments.length?(e='function'==typeof t?t:Lb(+t),s):e},s.sortValues=function(e){return arguments.length?(t=e,n=null,s):t},s.sort=function(e){return arguments.length?(n=e,t=null,s):n},s.startAngle=function(e){return arguments.length?(r='function'==typeof e?e:Lb(+e),s):r},s.endAngle=function(e){return arguments.length?(i='function'==typeof e?e:Lb(+e),s):i},s.padAngle=function(e){return arguments.length?(o='function'==typeof e?e:Lb(+e),s):o},s}().value(function(e){return e.value}).startAngle(sC(n)).endAngle(sC(i)).padAngle(sC(A));return l||e.sortValues(null),e},[n,i,A,l]),m=d(function(){var e=t.filter(function(e){return!h.includes(e.id)});return{dataWithArc:g(e).map(function(e){var t=Math.abs(e.endAngle-e.startAngle);return HL({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:c===e.data.id?s-u:s,outerRadius:c===e.data.id?a+f:a,thickness:a-s,padAngle:e.padAngle,angle:t,angleDeg:aC(t)}})}),legendData:t.map(function(e){return{id:e.id,label:e.label,color:e.color,hidden:h.includes(e.id),data:e}})}},[g,t,h,c,s,u,a,f]),v=m.legendData,b=o(p);return r(function(){'function'==typeof b.current&&b.current(v)},[b,v]),m},ZL=function(e){var t=e.data,r=e.width,i=e.height,o=e.innerRadius,a=void 0===o?YL.innerRadius:o,A=e.startAngle,l=void 0===A?YL.startAngle:A,c=e.endAngle,u=void 0===c?YL.endAngle:c,f=e.padAngle,h=void 0===f?YL.padAngle:f,p=e.sortByValue,g=void 0===p?YL.sortByValue:p,m=e.cornerRadius,v=void 0===m?YL.cornerRadius:m,b=e.fit,y=void 0===b?YL.fit:b,w=e.activeInnerRadiusOffset,B=void 0===w?YL.activeInnerRadiusOffset:w,x=e.activeOuterRadiusOffset,C=void 0===x?YL.activeOuterRadiusOffset:x,_=e.activeId,j=e.onActiveIdChange,F=e.defaultActiveId,E=e.forwardLegendData,S=function(e){var t=e.activeId,r=e.onActiveIdChange,i=e.defaultActiveId,o=void 0!==t,a=n(o||void 0===i?null:i),A=a[0],l=a[1];return{activeId:o?t:A,setActiveId:s(function(e){r&&r(e),o||l(e)},[o,r,l])}}({activeId:_,onActiveIdChange:j,defaultActiveId:F}),k=S.activeId,U=S.setActiveId,Q=n([]),L=Q[0],O=Q[1],I=d(function(){var e,t=Math.min(r,i)/2,n=t*Math.min(a,1),o=r/2,s=i/2;if(y){var A=function(e,t,n,r,i,o){void 0===o&&(o=!0);var s=[],a=AC(sC(r),n);s.push([a.x,a.y]);var A=AC(sC(i),n);s.push([A.x,A.y]);for(var l=Math.round(Math.min(r,i));l<=Math.round(Math.max(r,i));l++)if(l%90==0){var c=AC(sC(l),n);s.push([c.x,c.y])}s=s.map(function(n){var r=n[0],i=n[1];return[e+r,t+i]}),o&&s.push([e,t]);var u=s.map(function(e){return e[0]}),d=s.map(function(e){return e[1]}),f=Math.min.apply(Math,u),h=Math.max.apply(Math,u),p=Math.min.apply(Math,d);return{points:s,x:f,y:p,width:h-f,height:Math.max.apply(Math,d)-p}}(o,s,t,l-90,u-90),c=A.points,d=zL(A,XL),f=Math.min(r/d.width,i/d.height),h={width:d.width*f,height:d.height*f};h.x=(r-h.width)/2,h.y=(i-h.height)/2,o=(o-d.x)/d.width*d.width*f+h.x,s=(s-d.y)/d.height*d.height*f+h.y,e={box:d,ratio:f,points:c},t*=f,n*=f}return{centerX:o,centerY:s,radius:t,innerRadius:n,debug:e}},[r,i,a,l,u,y]),N=JL({data:t,startAngle:l,endAngle:u,innerRadius:I.innerRadius,outerRadius:I.radius,padAngle:h,sortByValue:g,activeId:k,activeInnerRadiusOffset:B,activeOuterRadiusOffset:C,hiddenIds:L,forwardLegendData:E}),T=s(function(e){O(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]);return HL({arcGenerator:RL({cornerRadius:v,padAngle:sC(h)}),activeId:k,setActiveId:U,toggleSerie:T},N,I)},$L=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,s=e.isInteractive,a=e.onClick,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.setActiveId,f=e.tooltip,h=e.transitionMode,g=ma(),m=g.showTooltipFromEvent,v=g.hideTooltip,b=d(function(){if(s)return function(e,t){null==a||a(e,t)}},[s,a]),y=d(function(){if(s)return function(e,t){m(p(f,{datum:e}),t),u(e.id),null==A||A(e,t)}},[s,m,u,A,f]),B=d(function(){if(s)return function(e,t){m(p(f,{datum:e}),t),null==l||l(e,t)}},[s,m,l,f]),x=d(function(){if(s)return function(e,t){v(),u(null),null==c||c(e,t)}},[s,v,u,c]);return w(DL,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:h,onClick:b,onMouseEnter:y,onMouseMove:B,onMouseLeave:x})},eO=['isInteractive','animate','motionConfig','theme','renderWrapper'],tO=function(e){var t=e.data,n=e.id,r=void 0===n?YL.id:n,i=e.value,o=void 0===i?YL.value:i,s=e.valueFormat,a=e.sortByValue,A=void 0===a?YL.sortByValue:a,l=e.layers,c=void 0===l?YL.layers:l,u=e.startAngle,f=void 0===u?YL.startAngle:u,h=e.endAngle,g=void 0===h?YL.endAngle:h,v=e.padAngle,b=void 0===v?YL.padAngle:v,y=e.fit,B=void 0===y?YL.fit:y,x=e.innerRadius,C=void 0===x?YL.innerRadius:x,_=e.cornerRadius,j=void 0===_?YL.cornerRadius:_,F=e.activeInnerRadiusOffset,E=void 0===F?YL.activeInnerRadiusOffset:F,S=e.activeOuterRadiusOffset,k=void 0===S?YL.activeOuterRadiusOffset:S,U=e.width,Q=e.height,L=e.margin,O=e.colors,I=void 0===O?YL.colors:O,N=e.borderWidth,T=void 0===N?YL.borderWidth:N,M=e.borderColor,P=void 0===M?YL.borderColor:M,D=e.enableArcLabels,R=void 0===D?YL.enableArcLabels:D,H=e.arcLabel,z=void 0===H?YL.arcLabel:H,K=e.arcLabelsSkipAngle,V=void 0===K?YL.arcLabelsSkipAngle:K,q=e.arcLabelsTextColor,G=void 0===q?YL.arcLabelsTextColor:q,W=e.arcLabelsRadiusOffset,Y=void 0===W?YL.arcLabelsRadiusOffset:W,X=e.arcLabelsComponent,J=e.enableArcLinkLabels,Z=void 0===J?YL.enableArcLinkLabels:J,$=e.arcLinkLabel,ee=void 0===$?YL.arcLinkLabel:$,te=e.arcLinkLabelsSkipAngle,ne=void 0===te?YL.arcLinkLabelsSkipAngle:te,re=e.arcLinkLabelsOffset,ie=void 0===re?YL.arcLinkLabelsOffset:re,oe=e.arcLinkLabelsDiagonalLength,se=void 0===oe?YL.arcLinkLabelsDiagonalLength:oe,ae=e.arcLinkLabelsStraightLength,Ae=void 0===ae?YL.arcLinkLabelsStraightLength:ae,le=e.arcLinkLabelsThickness,ce=void 0===le?YL.arcLinkLabelsThickness:le,ue=e.arcLinkLabelsTextOffset,de=void 0===ue?YL.arcLinkLabelsTextOffset:ue,fe=e.arcLinkLabelsTextColor,he=void 0===fe?YL.arcLinkLabelsTextColor:fe,pe=e.arcLinkLabelsColor,ge=void 0===pe?YL.arcLinkLabelsColor:pe,me=e.arcLinkLabelComponent,ve=e.defs,be=void 0===ve?YL.defs:ve,ye=e.fill,we=void 0===ye?YL.fill:ye,Be=e.isInteractive,xe=void 0===Be?YL.isInteractive:Be,Ce=e.onClick,_e=e.onMouseEnter,je=e.onMouseMove,Fe=e.onMouseLeave,Ee=e.tooltip,Se=void 0===Ee?YL.tooltip:Ee,ke=e.activeId,Ue=e.onActiveIdChange,Qe=e.defaultActiveId,Le=e.transitionMode,Oe=void 0===Le?YL.transitionMode:Le,Ie=e.legends,Ne=void 0===Ie?YL.legends:Ie,Te=e.forwardLegendData,Me=e.role,Pe=void 0===Me?YL.role:Me,De=Kx(U,Q,L),Re=De.outerWidth,He=De.outerHeight,ze=De.margin,Ke=De.innerWidth,Ve=De.innerHeight,qe=function(e){var t=e.data,n=e.id,r=void 0===n?YL.id:n,i=e.value,o=void 0===i?YL.value:i,s=e.valueFormat,a=e.colors,A=void 0===a?YL.colors:a,l=SC(r),c=SC(o),u=Gx(s),f=wQ(A,'id');return d(function(){return t.map(function(e){var t,n=l(e),r=c(e),i={id:n,label:null!=(t=e.label)?t:n,hidden:!1,value:r,formattedValue:u(r),data:e};return HL({},i,{color:f(i)})})},[t,l,c,u,f])}({data:t,id:r,value:o,valueFormat:s,colors:I}),Ge=ZL({data:qe,width:Ke,height:Ve,fit:B,innerRadius:C,startAngle:f,endAngle:g,padAngle:b,sortByValue:A,cornerRadius:j,activeInnerRadiusOffset:E,activeOuterRadiusOffset:k,activeId:ke,onActiveIdChange:Ue,defaultActiveId:Qe,forwardLegendData:Te}),We=Ge.dataWithArc,Ye=Ge.legendData,Xe=Ge.arcGenerator,Je=Ge.centerX,Ze=Ge.centerY,$e=Ge.radius,et=Ge.innerRadius,tt=Ge.setActiveId,nt=Ge.toggleSerie,rt=OC(be,We,we),it={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};c.includes('arcs')&&(it.arcs=w($L,{center:[Je,Ze],data:We,arcGenerator:Xe,borderWidth:T,borderColor:P,isInteractive:xe,onClick:Ce,onMouseEnter:_e,onMouseMove:je,onMouseLeave:Fe,setActiveId:tt,tooltip:Se,transitionMode:Oe},'arcs')),Z&&c.includes('arcLinkLabels')&&(it.arcLinkLabels=w(TL,{center:[Je,Ze],data:We,label:ee,skipAngle:ne,offset:ie,diagonalLength:se,straightLength:Ae,strokeWidth:ce,textOffset:de,textColor:he,linkColor:ge,component:me},'arcLinkLabels')),R&&c.includes('arcLabels')&&(it.arcLabels=w(SL,{center:[Je,Ze],data:We,label:z,radiusOffset:Y,skipAngle:V,textColor:G,transitionMode:Oe,component:X},'arcLabels')),Ne.length>0&&c.includes('legends')&&(it.legends=w(WL,{width:Ke,height:Ve,data:Ye,legends:Ne,toggleSerie:nt},'legends'));var ot=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,o=e.radius,s=e.innerRadius;return d(function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:o,innerRadius:s}},[t,n,r,i,o,s])}({dataWithArc:We,arcGenerator:Xe,centerX:Je,centerY:Ze,radius:$e,innerRadius:et});return w(mC,{width:Re,height:He,margin:ze,defs:rt,role:Pe,children:c.map(function(e,t){return void 0!==it[e]?it[e]:'function'==typeof e?w(m,{children:p(e,ot)},t):null})})},nO=function(e){var t=e.isInteractive,n=void 0===t?YL.isInteractive:t,r=e.animate,i=void 0===r?YL.animate:r,o=e.motionConfig,s=void 0===o?YL.motionConfig:o,a=e.theme,A=e.renderWrapper,l=zL(e,eO);return w(eC,{animate:i,isInteractive:n,motionConfig:s,renderWrapper:A,theme:a,children:w(tO,HL({isInteractive:n},l))})},rO=function(e){return w(tC,{children:function(t){var n=t.width,r=t.height;return w(nO,HL({width:n,height:r},e))}})},iO=Nt.div(VL||(VL=Pe(['\n vu-flex\n vu-items-center\n vu-p-1\n '],['\n vu-flex\n vu-items-center\n vu-p-1\n ']))),oO=Nt.div(qL||(qL=Pe(['\n vu-h-3\n vu-w-3\n vu-mr-1\n '],['\n vu-h-3\n vu-w-3\n vu-mr-1\n ']))),sO=Nt.strong(GL||(GL=Pe(['\n vu-ml-1\n '],['\n vu-ml-1\n ']))),aO=function(e){var n=e.isDarkMode,r=e.color,i=e.label,o=e.unit,s=e.value;return t.createElement(iO,{style:Oe({},n?vL.tooltip.container:mL.tooltip.container)},t.createElement(oO,{style:{backgroundColor:r}}),i,':',t.createElement(sO,null,s,' ',o))},AO=function(e){var n=function(e){var t;return(null===(t=e.labels)||void 0===t?void 0:t.map(function(t,n){var r,i,o=null!==(i=null===(r=e.values)||void 0===r?void 0:r[n])&&void 0!==i?i:0,s=bL(o.toString());return{id:t,value:parseFloat(s.toString()),unit:e.data_unit}}))||[]}(e.chartData),r=u(vJ).isDarkMode;return t.createElement(rO,{data:n,margin:{top:40,right:80,bottom:80,left:80},padAngle:.7,cornerRadius:3,activeOuterRadiusOffset:8,colors:{scheme:'nivo'},borderWidth:1,borderColor:{from:'color',modifiers:[['darker',.2]]},arcLinkLabelsSkipAngle:10,arcLinkLabelsTextColor:'#333333',arcLinkLabelsThickness:2,arcLinkLabelsColor:{from:'color'},arcLabelsSkipAngle:10,arcLabelsTextColor:{from:'color',modifiers:[['darker',2]]},tooltip:function(e){var n=e.datum,i=n.color,o=n.data,s=n.value,a=n.label;return t.createElement(aO,{isDarkMode:r,color:i,label:a,unit:o.unit,value:s})},arcLabel:function(e){return''.concat(e.value,' ').concat(e.data.unit)},defs:[{id:'dots',type:'patternDots',background:'inherit',color:'rgba(255, 255, 255, 0.3)',size:4,padding:1,stagger:!0},{id:'lines',type:'patternLines',background:'inherit',color:'rgba(255, 255, 255, 0.3)',rotation:-45,lineWidth:6,spacing:10}],legends:[{anchor:'right',direction:'column',justify:!1,translateX:24,translateY:0,itemsSpacing:12,itemWidth:100,itemHeight:18,itemTextColor:'#999',itemDirection:'left-to-right',itemOpacity:1,symbolSize:18,symbolShape:'circle',effects:[{on:'hover',style:{itemTextColor:'#000'}}]}],theme:r?vL:mL})};const lO=Math.pow(2,-52),cO=new Uint32Array(512);class uO{static from(e,t=bO,n=yO){const r=e.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=e[o];i[2*o]=t(r),i[2*o+1]=n(r)}return new uO(i)}constructor(e){const t=e.length>>1;if(t>0&&'number'!=typeof e[0])throw new Error('Expected coords to contain numbers.');this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=e.length>>1;let s=1/0,a=1/0,A=-1/0,l=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<s&&(s=n),r<a&&(a=r),n>A&&(A=n),r>l&&(l=r),this._ids[t]=t}const c=(s+A)/2,u=(a+l)/2;let d,f,h,p=1/0;for(let t=0;t<o;t++){const n=dO(c,u,e[2*t],e[2*t+1]);n<p&&(d=t,p=n)}const g=e[2*d],m=e[2*d+1];p=1/0;for(let t=0;t<o;t++){if(t===d)continue;const n=dO(g,m,e[2*t],e[2*t+1]);n<p&&n>0&&(f=t,p=n)}let v=e[2*f],b=e[2*f+1],y=1/0;for(let t=0;t<o;t++){if(t===d||t===f)continue;const n=gO(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(h=t,y=n)}let w=e[2*h],B=e[2*h+1];if(y===1/0){for(let t=0;t<o;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];mO(this._ids,this._dists,0,o-1);const t=new Uint32Array(o);let n=0;for(let e=0,r=-1/0;e<o;e++){const i=this._ids[e];this._dists[i]>r&&(t[n++]=i,r=this._dists[i])}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(hO(g,m,v,b,w,B)){const e=f,t=v,n=b;f=h,v=w,b=B,h=e,w=t,B=n}const x=function(e,t,n,r,i,o){const s=n-e,a=r-t,A=i-e,l=o-t,c=s*s+a*a,u=A*A+l*l,d=.5/(s*l-a*A),f=e+(l*c-a*u)*d,h=t+(s*u-A*c)*d;return{x:f,y:h}}(g,m,v,b,w,B);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=dO(e[2*t],e[2*t+1],x.x,x.y);mO(this._ids,this._dists,0,o-1),this._hullStart=d;let C=3;n[d]=t[h]=f,n[f]=t[d]=h,n[h]=t[f]=d,r[d]=0,r[f]=1,r[h]=2,i.fill(-1),i[this._hashKey(g,m)]=d,i[this._hashKey(v,b)]=f,i[this._hashKey(w,B)]=h,this.trianglesLen=0,this._addTriangle(d,f,h,-1,-1,-1);for(let o,s,a=0;a<this._ids.length;a++){const A=this._ids[a],l=e[2*A],c=e[2*A+1];if(a>0&&Math.abs(l-o)<=lO&&Math.abs(c-s)<=lO)continue;if(o=l,s=c,A===d||A===f||A===h)continue;let u=0;for(let e=0,t=this._hashKey(l,c);e<this._hashSize&&(u=i[(t+e)%this._hashSize],-1===u||u===n[u]);e++);u=t[u];let p,g=u;for(;p=n[g],!hO(l,c,e[2*g],e[2*g+1],e[2*p],e[2*p+1]);)if(g=p,g===u){g=-1;break}if(-1===g)continue;let m=this._addTriangle(g,A,n[g],-1,-1,r[g]);r[A]=this._legalize(m+2),r[g]=m,C++;let v=n[g];for(;p=n[v],hO(l,c,e[2*v],e[2*v+1],e[2*p],e[2*p+1]);)m=this._addTriangle(v,A,p,r[A],-1,r[v]),r[A]=this._legalize(m+2),n[v]=v,C--,v=p;if(g===u)for(;p=t[g],hO(l,c,e[2*p],e[2*p+1],e[2*g],e[2*g+1]);)m=this._addTriangle(p,A,g,-1,r[g],r[p]),this._legalize(m+2),r[p]=m,n[g]=g,C--,g=p;this._hullStart=t[A]=g,n[g]=t[v]=A,n[A]=v,i[this._hashKey(l,c)]=A,i[this._hashKey(e[2*g],e[2*g+1])]=g}this.hull=new Uint32Array(C);for(let e=0,t=this._hullStart;e<C;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const s=n[e],a=e-e%3;if(o=a+(e+2)%3,-1===s){if(0===i)break;e=cO[--i];continue}const A=s-s%3,l=a+(e+1)%3,c=A+(s+2)%3,u=t[o],d=t[e],f=t[l],h=t[c];if(pO(r[2*u],r[2*u+1],r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1])){t[e]=h,t[s]=u;const r=n[c];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===c){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(s,n[o]),this._link(o,c);const a=A+(s+1)%3;i<cO.length&&(cO[i++]=a)}else{if(0===i)break;e=cO[--i]}}return o}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,i,o){const s=this.trianglesLen;return this._triangles[s]=e,this._triangles[s+1]=t,this._triangles[s+2]=n,this._link(s,r),this._link(s+1,i),this._link(s+2,o),this.trianglesLen+=3,s}}function dO(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function fO(e,t,n,r,i,o){const s=(r-t)*(i-e),a=(n-e)*(o-t);return Math.abs(s-a)>=33306690738754716e-32*Math.abs(s+a)?s-a:0}function hO(e,t,n,r,i,o){return(fO(i,o,e,t,n,r)||fO(e,t,n,r,i,o)||fO(n,r,i,o,e,t))<0}function pO(e,t,n,r,i,o,s,a){const A=e-s,l=t-a,c=n-s,u=r-a,d=i-s,f=o-a,h=c*c+u*u,p=d*d+f*f;return A*(u*p-h*f)-l*(c*p-h*d)+(A*A+l*l)*(c*f-u*d)<0}function gO(e,t,n,r,i,o){const s=n-e,a=r-t,A=i-e,l=o-t,c=s*s+a*a,u=A*A+l*l,d=.5/(s*l-a*A),f=(l*c-a*u)*d,h=(s*u-A*c)*d;return f*f+h*h}function mO(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],o=t[r];let s=i-1;for(;s>=n&&t[e[s]]>o;)e[s+1]=e[s--];e[s+1]=r}else{let i=n+1,o=r;vO(e,n+r>>1,i),t[e[n]]>t[e[r]]&&vO(e,n,r),t[e[i]]>t[e[r]]&&vO(e,i,r),t[e[n]]>t[e[i]]&&vO(e,n,i);const s=e[i],a=t[s];for(;;){do{i++}while(t[e[i]]<a);do{o--}while(t[e[o]]>a);if(o<i)break;vO(e,i,o)}e[n+1]=e[o],e[o]=s,r-i+1>=o-n?(mO(e,t,i,r),mO(e,t,n,o-1)):(mO(e,t,n,o-1),mO(e,t,i,r))}}function vO(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function bO(e){return e[0]}function yO(e){return e[1]}const wO=1e-6;class BO{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=''}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+='Z')}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),i=t=+t;if(n<0)throw new Error('negative radius');null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>wO||Math.abs(this._y1-i)>wO)&&(this._+='L'+r+','+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class xO{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class CO{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error('invalid bounds');this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let t,r,o=0,s=0,a=n.length;o<a;o+=3,s+=2){const a=2*n[o],A=2*n[o+1],l=2*n[o+2],c=e[a],u=e[a+1],d=e[A],f=e[A+1],h=e[l],p=e[l+1],g=d-c,m=f-u,v=h-c,b=p-u,y=g*g+m*m,w=v*v+b*b,B=2*(g*b-m*v);if(B)if(Math.abs(B)<1e-8)t=(c+h)/2,r=(u+p)/2;else{const e=1/B;t=c+(b*y-m*w)*e,r=u+(g*w-v*y)*e}else t=(c+h)/2-1e8*b,r=(u+p)/2+1e8*v;i[s]=t,i[s+1]=r}let o,s,a,A=t[t.length-1],l=4*A,c=e[2*A],u=e[2*A+1];r.fill(0);for(let n=0;n<t.length;++n)A=t[n],o=l,s=c,a=u,l=4*A,c=e[2*A],u=e[2*A+1],r[o+2]=r[l]=a-u,r[o+3]=r[l+1]=c-s}render(e){const t=null==e?e=new BO:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:s}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),s=2*Math.floor(r/3),a=o[i],A=o[i+1],l=o[s],c=o[s+1];this._renderSegment(a,A,l,c,e)}let a,A=i[i.length-1];for(let t=0;t<i.length;++t){a=A,A=i[t];const n=2*Math.floor(r[A]/3),l=o[n],c=o[n+1],u=4*a,d=this._project(l,c,s[u+2],s[u+3]);d&&this._renderSegment(l,c,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new BO:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new BO:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let e=2;e<i;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new xO;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const s=this._regioncode(e,t),a=this._regioncode(n,r);0===s&&0===a?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,s,a))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let o=0,s=e.length;o<s;o+=2)if(t[r]==e[o]&&t[r+1]==e[o+1]&&t[(r+2)%i]==e[(o+s-2)%s]&&t[(r+3)%i]==e[(o+s-1)%s]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[e];if(-1===o)return null;const s=[];let a=o;do{const n=Math.floor(a/3);if(s.push(t[2*n],t[2*n+1]),a=a%3==2?a-2:a+1,i[a]!==e)break;a=r[a]}while(a!==o&&-1!==a);return s}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t)}_clipFinite(e,t){const n=t.length;let r,i,o,s,a,A=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c);for(let d=0;d<n;d+=2)if(r=l,i=c,l=t[d],c=t[d+1],o=u,u=this._regioncode(l,c),0===o&&0===u)s=a,a=0,A?A.push(l,c):A=[l,c];else{let t,n,d,f,h;if(0===o){if(null===(t=this._clipSegment(r,i,l,c,o,u)))continue;[n,d,f,h]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,o)))continue;[f,h,n,d]=t,s=a,a=this._edgecode(n,d),s&&a&&this._edge(e,s,a,A,A.length),A?A.push(n,d):A=[n,d]}s=a,a=this._edgecode(f,h),s&&a&&this._edge(e,s,a,A,A.length),A?A.push(f,h):A=[f,h]}if(A)s=a,a=this._edgecode(A[0],A[1]),s&&a&&this._edge(e,s,a,A,A.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return A}_clipSegment(e,t,n,r,i,o){for(;;){if(0===i&&0===o)return[e,t,n,r];if(i&o)return null;let s,a,A=i||o;8&A?(s=e+(n-e)*(this.ymax-t)/(r-t),a=this.ymax):4&A?(s=e+(n-e)*(this.ymin-t)/(r-t),a=this.ymin):2&A?(a=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(a=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=a,i=this._regioncode(e,t)):(n=s,r=a,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let s,a=Array.from(t);if((s=this._project(a[0],a[1],n,r))&&a.unshift(s[0],s[1]),(s=this._project(a[a.length-2],a[a.length-1],i,o))&&a.push(s[0],s[1]),a=this._clipFinite(e,a))for(let t,n=0,r=a.length,i=this._edgecode(a[r-2],a[r-1]);n<r;n+=2)t=i,i=this._edgecode(a[n],a[n+1]),t&&i&&(n=this._edge(e,t,i,a,n),r=a.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(a=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return a}_edge(e,t,n,r,i){for(;t!==n;){let n,o;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,o=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,o=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,o=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(e,n,o)||(r.splice(i,0,n,o),i+=2)}if(r.length>4)for(let e=0;e<r.length;e+=2){const t=(e+2)%r.length,n=(e+4)%r.length;(r[e]===r[t]&&r[t]===r[n]||r[e+1]===r[t+1]&&r[t+1]===r[n+1])&&(r.splice(t,2),e-=2)}return i}_project(e,t,n,r){let i,o,s,a=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<a&&(s=this.ymin,o=e+(a=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<a&&(s=this.ymax,o=e+(a=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<a&&(o=this.xmax,s=t+(a=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<a&&(o=this.xmin,s=t+(a=i)*r)}return[o,s]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}}const _O=2*Math.PI,jO=Math.pow;function FO(e){return e[0]}function EO(e){return e[1]}function SO(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class kO{static from(e,t=FO,n=EO,r){return new kO('length'in e?function(e,t,n,r){const i=e.length,o=new Float64Array(2*i);for(let s=0;s<i;++s){const i=e[s];o[2*s]=t.call(r,i,s,e),o[2*s+1]=n.call(r,i,s,e)}return o}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let i=0;for(const o of e)yield t.call(r,o,i,e),yield n.call(r,o,i,e),++i}(e,t,n,r)))}constructor(e){this._delaunator=new uO(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],i=2*t[e+1],o=2*t[e+2];if((n[o]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[o+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},(e,t)=>t).sort((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]);const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=SO(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new uO(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),s=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=i[e%3==2?e-2:e+1];-1!==n[e]&&-1!==o[t]||(o[t]=e)}for(let e=0,t=r.length;e<t;++e)s[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],this.triangles[1]=r[1],this.triangles[2]=r[1],o[r[0]]=1,2===r.length&&(o[r[1]]=0))}voronoi(e){return new CO(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:s}=this;if(s){const t=s.indexOf(e);return t>0&&(yield s[t-1]),void(t<s.length-1&&(yield s[t+1]))}const a=t[e];if(-1===a)return;let A=a,l=-1;do{if(yield l=o[A],A=A%3==2?A-2:A+1,o[A]!==e)return;if(A=i[A],-1===A){const t=n[(r[e]+1)%n.length];return void(t!==l&&(yield t))}}while(A!==a)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:s,triangles:a,points:A}=this;if(-1===r[e]||!A.length)return(e+1)%(A.length>>1);let l=e,c=jO(t-A[2*e],2)+jO(n-A[2*e+1],2);const u=r[e];let d=u;do{let r=a[d];const u=jO(t-A[2*r],2)+jO(n-A[2*r+1],2);if(u<c&&(c=u,l=r),d=d%3==2?d-2:d+1,a[d]!==e)break;if(d=s[d],-1===d){if(d=i[(o[e]+1)%i.length],d!==r&&jO(t-A[2*d],2)+jO(n-A[2*d+1],2)<c)return d;break}}while(d!==u);return l}render(e){const t=null==e?e=new BO:void 0,{points:n,halfedges:r,triangles:i}=this;for(let t=0,o=r.length;t<o;++t){const o=r[t];if(o<t)continue;const s=2*i[t],a=2*i[o];e.moveTo(n[s],n[s+1]),e.lineTo(n[a],n[a+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t=2){const n=null==e?e=new BO:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],o=r[n+1];e.moveTo(i+t,o),e.arc(i,o,t,0,_O)}return n&&n.value()}renderHull(e){const t=null==e?e=new BO:void 0,{hull:n,points:r}=this,i=2*n[0],o=n.length;e.moveTo(r[i],r[i+1]);for(let t=1;t<o;++t){const i=2*n[t];e.lineTo(r[i],r[i+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new xO;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new BO:void 0,{points:r,triangles:i}=this,o=2*i[e*=3],s=2*i[e+1],a=2*i[e+2];return t.moveTo(r[o],r[o+1]),t.lineTo(r[s],r[s+1]),t.lineTo(r[a],r[a+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new xO;return this.renderTriangle(e,t),t.value()}}var UO=function(e){return'function'==typeof e?e:function(t){return t[e]}},QO=function(e){var t=e.points,n=e.x,r=e.y,i=e.width,o=e.height,s=e.debug,a=d(function(){return function(e){var t=e.points,n=e.x,r=void 0===n?'x':n,i=e.y,o=void 0===i?'y':i,s=UO(r),a=UO(o);return t.map(function(e){return[s(e),a(e)]})}({points:t,x:n,y:r})},[t,n,r]);return d(function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.debug,o=kO.from(t),s=i?o.voronoi([0,0,n,r]):void 0;return{delaunay:o,voronoi:s}}({points:a,width:i,height:o,debug:s})},[a,i,o,s])},LO=function(e){var t=e.nodes,r=e.width,i=e.height,a=e.x,A=e.y,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,h=e.debug,p=o(null),g=n(null),m=g[0],v=g[1],b=QO({points:t,x:a,y:A,width:r,height:i,debug:h}),y=b.delaunay,C=b.voronoi,_=d(function(){if(h&&C)return C.render()},[h,C]),j=s(function(e){if(!p.current)return[null,null];var n=UC(p.current,e),r=n[0],i=n[1],o=y.find(r,i);return[o,void 0!==o?t[o]:null]},[p,y]),F=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==l||l(r,e))},[j,v,l]),E=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==c||c(r,e))},[j,v,c]),S=s(function(e){if(v(null),u){var n=void 0;null!==m&&(n=t[m]),n&&u(n,e)}},[v,m,u,t]),k=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==f||f(r,e))},[j,v,f]);return B('g',{ref:p,children:[h&&C&&B(x,{children:[w('path',{d:_,stroke:'red',strokeWidth:1,opacity:.75}),null!==m&&w('path',{fill:'pink',opacity:.35,d:C.renderCell(m)})]}),w('rect',{width:r,height:i,fill:'red',opacity:0,style:{cursor:'auto'},onMouseEnter:F,onMouseMove:E,onMouseLeave:S,onClick:k})]})};function OO(){return OO=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},OO.apply(this,arguments)}var IO=function(e){var t=e.point;return w(la,{id:B('span',{children:['x: ',w('strong',{children:t.data.xFormatted}),', y:',' ',w('strong',{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})};IO.propTypes={point:mr.object.isRequired};var NO=f(IO),TO=function(e){var t=e.slice,n=e.axis,r=Jx(),i='x'===n?'y':'x';return w(ua,{rows:t.points.map(function(e){return[w(Aa,{color:e.serieColor,style:r.tooltip.chip},'chip'),e.serieId,w('span',{style:r.tooltip.tableCellValue,children:e.data[i+'Formatted']},'value')]})})};TO.propTypes={slice:mr.object.isRequired,axis:mr.oneOf(['x','y']).isRequired};var MO=f(TO),PO={data:mr.arrayOf(mr.shape({id:mr.oneOfType([mr.string,mr.number]).isRequired,data:mr.arrayOf(mr.shape({x:mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)]),y:mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)])})).isRequired})).isRequired,xScale:mr.object.isRequired,xFormat:mr.oneOfType([mr.func,mr.string]),yScale:mr.object.isRequired,yFormat:mr.oneOfType([mr.func,mr.string]),layers:mr.arrayOf(mr.oneOfType([mr.oneOf(['grid','markers','axes','areas','crosshair','lines','slices','points','mesh','legends']),mr.func])).isRequired,curve:Ix.isRequired,axisTop:jF,axisRight:jF,axisBottom:jF,axisLeft:jF,enableGridX:mr.bool.isRequired,enableGridY:mr.bool.isRequired,gridXValues:mr.oneOfType([mr.number,mr.arrayOf(mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)]))]),gridYValues:mr.oneOfType([mr.number,mr.arrayOf(mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)]))]),enablePoints:mr.bool.isRequired,pointSymbol:mr.func,pointSize:mr.number.isRequired,pointColor:mr.any.isRequired,pointBorderWidth:mr.number.isRequired,pointBorderColor:mr.any.isRequired,enablePointLabel:mr.bool.isRequired,pointLabel:mr.oneOfType([mr.string,mr.func]).isRequired,markers:mr.arrayOf(mr.shape({axis:mr.oneOf(['x','y']).isRequired,value:mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)]).isRequired,style:mr.object})),colors:bQ.isRequired,enableArea:mr.bool.isRequired,areaOpacity:mr.number.isRequired,areaBlendMode:Hx.isRequired,areaBaselineValue:mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)]).isRequired,lineWidth:mr.number.isRequired,legends:mr.arrayOf(mr.shape(LQ)).isRequired,isInteractive:mr.bool.isRequired,debugMesh:mr.bool.isRequired,tooltip:mr.oneOfType([mr.func,mr.object]).isRequired,enableSlices:mr.oneOf(['x','y',!1]).isRequired,debugSlices:mr.bool.isRequired,sliceTooltip:mr.oneOfType([mr.func,mr.object]).isRequired,enableCrosshair:mr.bool.isRequired,crosshairType:mr.string.isRequired},DO=OO({},PO,{enablePointLabel:mr.bool.isRequired,role:mr.string.isRequired,useMesh:mr.bool.isRequired},Fx,Tx),RO=OO({pixelRatio:mr.number.isRequired},PO),HO={curve:'linear',xScale:{type:'point'},yScale:{type:'linear',min:0,max:'auto'},layers:['grid','markers','axes','areas','crosshair','lines','points','slices','mesh','legends'],axisBottom:{},axisLeft:{},enableGridX:!0,enableGridY:!0,enablePoints:!0,pointSize:6,pointColor:{from:'color'},pointBorderWidth:0,pointBorderColor:{theme:'background'},enablePointLabel:!1,pointLabel:'yFormatted',colors:{scheme:'nivo'},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,areaBlendMode:'normal',lineWidth:2,legends:[],isInteractive:!0,tooltip:NO,enableSlices:!1,debugSlices:!1,sliceTooltip:MO,debugMesh:!1,enableCrosshair:!0,crosshairType:'bottom-left'},zO=OO({},HO,{enablePointLabel:!1,useMesh:!1,animate:!0,motionConfig:'gentle',defs:[],fill:[],role:'img'}),KO=OO({},HO,{pixelRatio:'undefined'!=typeof window&&window.devicePixelRatio||1}),VO=function(e){var t=e.curve;return d(function(){return ry().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y(function(e){return e.y}).curve(Nx(t))},[t])},qO=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return d(function(){return function(){var e=ty,t=null,n=Lb(0),r=ny,i=Lb(!0),o=null,s=ey,a=null;function A(A){var l,c,u,d,f,h=A.length,p=!1,g=new Array(h),m=new Array(h);for(null==o&&(a=s(f=Qb())),l=0;l<=h;++l){if(!(l<h&&i(d=A[l],l,A))===p)if(p=!p)c=l,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),u=l-1;u>=c;--u)a.point(g[u],m[u]);a.lineEnd(),a.areaEnd()}p&&(g[l]=+e(d,l,A),m[l]=+n(d,l,A),a.point(t?+t(d,l,A):g[l],r?+r(d,l,A):m[l]))}if(f)return a=null,f+''||null}function l(){return ry().defined(i).curve(s).context(o)}return A.x=function(n){return arguments.length?(e='function'==typeof n?n:Lb(+n),t=null,A):e},A.x0=function(t){return arguments.length?(e='function'==typeof t?t:Lb(+t),A):e},A.x1=function(e){return arguments.length?(t=null==e?null:'function'==typeof e?e:Lb(+e),A):t},A.y=function(e){return arguments.length?(n='function'==typeof e?e:Lb(+e),r=null,A):n},A.y0=function(e){return arguments.length?(n='function'==typeof e?e:Lb(+e),A):n},A.y1=function(e){return arguments.length?(r=null==e?null:'function'==typeof e?e:Lb(+e),A):r},A.lineX0=A.lineY0=function(){return l().x(e).y(n)},A.lineY1=function(){return l().x(e).y(r)},A.lineX1=function(){return l().x(t).y(n)},A.defined=function(e){return arguments.length?(i='function'==typeof e?e:Lb(!!e),A):i},A.curve=function(e){return arguments.length?(s=e,null!=o&&(a=s(o)),A):s},A.context=function(e){return arguments.length?(null==e?o=a=null:a=s(o=e),A):o},A}().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y1(function(e){return e.y}).curve(Nx(t)).y0(n(r))},[t,n,r])},GO=function(e){var t=e.data,r=e.xScale,i=void 0===r?zO.xScale:r,o=e.xFormat,a=e.yScale,A=void 0===a?zO.yScale:a,l=e.yFormat,c=e.width,u=e.height,f=e.colors,h=void 0===f?zO.colors:f,p=e.curve,g=void 0===p?zO.curve:p,m=e.areaBaselineValue,v=void 0===m?zO.areaBaselineValue:m,b=e.pointColor,y=void 0===b?zO.pointColor:b,w=e.pointBorderColor,B=void 0===w?zO.pointBorderColor:w,x=e.enableSlices,C=void 0===x?zO.enableSlicesTooltip:x,_=Gx(o),j=Gx(l),F=wQ(h,'id'),E=Jx(),S=vQ(y,E),k=vQ(B,E),U=n([]),Q=U[0],L=U[1],O=d(function(){return function(e,t,n,r,i){var o=e.map(function(e){return function(e){return Xj({},e,{data:e.data.map(function(e){return{data:Xj({},e)}})})}(e)}),s=lF(o,t,n);'stacked'in t&&!0===t.stacked&&dF(s,o),'stacked'in n&&!0===n.stacked&&fF(s,o);var a=aF(t,s.x,r,'x'),A=aF(n,s.y,i,'y'),l=o.map(function(e){return Xj({},e,{data:e.data.map(function(e){return Xj({},e,{position:{x:AF(e,'x',a),y:AF(e,'y',A)}})})})});return Xj({},s,{series:l,xScale:a,yScale:A})}(t.filter(function(e){return-1===Q.indexOf(e.id)}),i,A,c,u)},[t,Q,i,A,c,u]),I=O.xScale,N=O.yScale,T=O.series,M=d(function(){var e=t.map(function(e){return{id:e.id,label:e.id,color:F(e)}}),n=e.map(function(e){return OO({},T.find(function(t){return t.id===e.id}),{color:e.color})}).filter(function(e){return Boolean(e.id)});return{legendData:e.map(function(e){return OO({},e,{hidden:!n.find(function(t){return t.id===e.id})})}).reverse(),series:n}},[t,T,F]),P=M.legendData,D=M.series,R=s(function(e){L(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),H=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return d(function(){return t.reduce(function(e,t){return[].concat(e,t.data.filter(function(e){return null!==e.position.x&&null!==e.position.y}).map(function(s,a){var A={id:t.id+'.'+a,index:e.length+a,serieId:t.id,serieColor:t.color,x:s.position.x,y:s.position.y};return A.color=n(t),A.borderColor=r(A),A.data=OO({},s.data,{xFormatted:i(s.data.x),yFormatted:o(s.data.y)}),A}))},[])},[t,n,r,i,o])}({series:D,getPointColor:S,getPointBorderColor:k,formatX:_,formatY:j}),z=function(e){var t=e.enableSlices,n=e.points,r=e.width,i=e.height;return d(function(){if(!1===t)return[];if('x'===t){var e=new Map;return n.forEach(function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))}),Array.from(e.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,s=e[0],a=e[1],A=n[t-1],l=n[t+1];return{id:s,x0:o=A?s-(s-A[0])/2:s,x:s,y0:0,y:0,width:l?s-o+(l[0]-s)/2:r-o,height:i,points:a.reverse()}})}if('y'===t){var o=new Map;return n.forEach(function(e){null!==e.data.x&&null!==e.data.y&&(o.has(e.y)?o.get(e.y).push(e):o.set(e.y,[e]))}),Array.from(o.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,s,a=e[0],A=e[1],l=n[t-1],c=n[t+1];return o=l?a-(a-l[0])/2:a,s=c?a-o+(c[0]-a)/2:i-o,{id:a,x0:0,x:0,y0:o,y:a,width:r,height:s,points:A.reverse()}})}},[t,n])}({enableSlices:C,points:H,width:c,height:u});return{legendData:P,toggleSerie:R,lineGenerator:VO({curve:g}),areaGenerator:qO({curve:g,yScale:N,areaBaselineValue:v}),getColor:F,series:D,xScale:I,yScale:N,slices:z,points:H}},WO=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,s=Ex(),a=s.animate,A=s.config,l=Sx(o),c=Ns({color:r,config:A,immediate:!a});return w(ra.path,{d:l,fill:i||c.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})};WO.propTypes={areaBlendMode:Hx.isRequired,areaOpacity:mr.number.isRequired,color:mr.string,fill:mr.string,path:mr.string.isRequired};var YO=function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode,i=e.lines.slice(0).reverse();return w('g',{children:i.map(function(e){return w(WO,OO({path:t(e.data.map(function(e){return e.position}))},OO({areaOpacity:n,areaBlendMode:r},e)),e.id)})})};YO.propTypes={areaGenerator:mr.func.isRequired,areaOpacity:mr.number.isRequired,areaBlendMode:Hx.isRequired,lines:mr.arrayOf(mr.object).isRequired};var XO=f(YO),JO=function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=d(function(){return t(n)},[t,n]),s=Sx(o);return w(ra.path,{d:s,fill:'none',strokeWidth:i,stroke:r})};JO.propTypes={points:mr.arrayOf(mr.shape({x:mr.oneOfType([mr.string,mr.number]),y:mr.oneOfType([mr.string,mr.number])})),lineGenerator:mr.func.isRequired,color:mr.string.isRequired,thickness:mr.number.isRequired};var ZO=f(JO),$O=function(e){var t=e.lines,n=e.lineGenerator,r=e.lineWidth;return t.slice(0).reverse().map(function(e){var t=e.id,i=e.data,o=e.color;return w(ZO,{id:t,points:i.map(function(e){return e.position}),lineGenerator:n,color:o,thickness:r},t)})};$O.propTypes={lines:mr.arrayOf(mr.shape({id:mr.oneOfType([mr.string,mr.number]).isRequired,color:mr.string.isRequired,data:mr.arrayOf(mr.shape({data:mr.shape({x:mr.oneOfType([mr.string,mr.number,mr.instanceOf(Date)]),y:mr.oneOfType([mr.string,mr.number,mr.instanceOf(Date)])}).isRequired,position:mr.shape({x:mr.number,y:mr.number}).isRequired})).isRequired})).isRequired,lineWidth:mr.number.isRequired,lineGenerator:mr.func.isRequired};var eI=f($O),tI=function(e){var t=e.slice,n=e.axis,r=e.debug,i=e.tooltip,o=e.isCurrent,a=e.setCurrent,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onClick,d=ma(),f=d.showTooltipFromEvent,h=d.hideTooltip,g=s(function(e){f(p(i,{slice:t,axis:n}),e,'right'),a(t),A&&A(t,e)},[f,i,t,A]),m=s(function(e){f(p(i,{slice:t,axis:n}),e,'right'),l&&l(t,e)},[f,i,t,l]),v=s(function(e){h(),a(null),c&&c(t,e)},[h,t,c]),b=s(function(e){u&&u(t,e)},[t,u]);return w('rect',{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:'red',strokeWidth:r?1:0,strokeOpacity:.75,fill:'red',fillOpacity:o&&r?.35:0,onMouseEnter:g,onMouseMove:m,onMouseLeave:v,onClick:b,'data-testid':'slice-'+t.id})};tI.propTypes={slice:mr.object.isRequired,axis:mr.oneOf(['x','y']).isRequired,debug:mr.bool.isRequired,height:mr.number.isRequired,tooltip:mr.oneOfType([mr.func,mr.object]),isCurrent:mr.bool.isRequired,setCurrent:mr.func.isRequired,onMouseEnter:mr.func,onMouseMove:mr.func,onMouseLeave:mr.func,onClick:mr.func};var nI=f(tI),rI=function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,s=e.current,a=e.setCurrent,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onClick;return t.map(function(e){return w(nI,{slice:e,axis:n,debug:r,height:i,tooltip:o,setCurrent:a,isCurrent:null!==s&&s.id===e.id,onMouseEnter:A,onMouseMove:l,onMouseLeave:c,onClick:u},e.id)})};rI.propTypes={slices:mr.arrayOf(mr.shape({id:mr.oneOfType([mr.number,mr.string,mr.instanceOf(Date)]).isRequired,x:mr.number.isRequired,y:mr.number.isRequired,points:mr.arrayOf(mr.object).isRequired})).isRequired,axis:mr.oneOf(['x','y']).isRequired,debug:mr.bool.isRequired,height:mr.number.isRequired,tooltip:mr.oneOfType([mr.func,mr.object]).isRequired,current:mr.object,setCurrent:mr.func.isRequired,onMouseEnter:mr.func,onMouseMove:mr.func,onMouseLeave:mr.func,onClick:mr.func};var iI=f(rI),oI=function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,s=e.label,a=e.labelYOffset,A=Jx(),l=function(e,t){var n,r=AA(e)?e:function(t){return Hd(t,e)};return t&&(n=AA(t)?t:tw(t)),n?function(e){return n(r(e))}:r}(s),c=t.slice(0).reverse().map(function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?l(e.data):null}});return w('g',{children:c.map(function(e){return w(wC,{x:e.x,y:e.y,datum:e.datum,symbol:n,size:r,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:a,theme:A},e.id)})})};oI.propTypes={points:mr.arrayOf(mr.object),symbol:mr.func,size:mr.number.isRequired,color:mr.func.isRequired,borderWidth:mr.number.isRequired,borderColor:mr.func.isRequired,enableLabel:mr.bool.isRequired,label:mr.oneOfType([mr.string,mr.func]).isRequired,labelYOffset:mr.number};var sI=f(oI),aI=function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,A=e.onMouseMove,l=e.onMouseLeave,c=e.onClick,u=e.tooltip,d=e.debug,f=ma(),h=f.showTooltipAt,g=f.hideTooltip,m=s(function(e,t){h(p(u,{point:e}),[e.x+i.left,e.y+i.top],'top'),o(e),a&&a(e,t)},[o,h,u,a,i]),v=s(function(e,t){h(p(u,{point:e}),[e.x+i.left,e.y+i.top],'top'),o(e),A&&A(e,t)},[o,h,u,A]),b=s(function(e,t){g(),o(null),l&&l(e,t)},[g,o,l]),y=s(function(e,t){c&&c(e,t)},[c]);return w(LO,{nodes:t,width:n,height:r,onMouseEnter:m,onMouseMove:v,onMouseLeave:b,onClick:y,debug:d})};aI.propTypes={points:mr.arrayOf(mr.object).isRequired,width:mr.number.isRequired,height:mr.number.isRequired,margin:mr.object.isRequired,setCurrent:mr.func.isRequired,onMouseEnter:mr.func,onMouseMove:mr.func,onMouseLeave:mr.func,onClick:mr.func,tooltip:mr.oneOfType([mr.func,mr.object]).isRequired,debug:mr.bool.isRequired};var AI=f(aI),lI=function(e){var t=e.data,r=e.xScale,i=e.xFormat,o=e.yScale,s=e.yFormat,a=e.layers,A=e.curve,l=e.areaBaselineValue,c=e.colors,u=e.margin,d=e.width,f=e.height,h=e.axisTop,p=e.axisRight,g=e.axisBottom,v=e.axisLeft,b=e.enableGridX,y=e.enableGridY,B=e.gridXValues,x=e.gridYValues,C=e.lineWidth,_=e.enableArea,j=e.areaOpacity,F=e.areaBlendMode,E=e.enablePoints,S=e.pointSymbol,k=e.pointSize,U=e.pointColor,Q=e.pointBorderWidth,L=e.pointBorderColor,O=e.enablePointLabel,I=e.pointLabel,N=e.pointLabelYOffset,T=e.defs,M=e.fill,P=e.markers,D=e.legends,R=e.isInteractive,H=e.useMesh,z=e.debugMesh,K=e.onMouseEnter,V=e.onMouseMove,q=e.onMouseLeave,G=e.onClick,W=e.tooltip,Y=e.enableSlices,X=e.debugSlices,J=e.sliceTooltip,Z=e.enableCrosshair,$=e.crosshairType,ee=e.role,te=Kx(d,f,u),ne=te.margin,re=te.innerWidth,ie=te.innerHeight,oe=te.outerWidth,se=te.outerHeight,ae=GO({data:t,xScale:r,xFormat:i,yScale:o,yFormat:s,width:re,height:ie,colors:c,curve:A,areaBaselineValue:l,pointColor:U,pointBorderColor:L,enableSlices:Y}),Ae=ae.legendData,le=ae.toggleSerie,ce=ae.lineGenerator,ue=ae.areaGenerator,de=ae.series,fe=ae.xScale,he=ae.yScale,pe=ae.slices,ge=ae.points,me=Jx(),ve=vQ(U,me),be=vQ(L,me),ye=n(null),we=ye[0],Be=ye[1],xe=n(null),Ce=xe[0],_e=xe[1],je={grid:w(UF,{theme:me,width:re,height:ie,xScale:b?fe:null,yScale:y?he:null,xValues:B,yValues:x},'grid'),markers:w(_C,{markers:P,width:re,height:ie,xScale:fe,yScale:he,theme:me},'markers'),axes:w(EF,{xScale:fe,yScale:he,width:re,height:ie,theme:me,top:h,right:p,bottom:g,left:v},'axes'),areas:null,lines:w(eI,{lines:de,lineGenerator:ce,lineWidth:C},'lines'),slices:null,points:null,crosshair:null,mesh:null,legends:D.map(function(e,t){return w(kQ,OO({},e,{containerWidth:re,containerHeight:ie,data:e.data||Ae,theme:me,toggleSerie:e.toggleSerie?le:void 0}),'legend.'+t)})},Fe=OC(T,de,M);return _&&(je.areas=w(XO,{areaGenerator:ue,areaOpacity:j,areaBlendMode:F,lines:de},'areas')),R&&!1!==Y&&(je.slices=w(iI,{slices:pe,axis:Y,debug:X,height:ie,tooltip:J,current:Ce,setCurrent:_e,onMouseEnter:K,onMouseMove:V,onMouseLeave:q,onClick:G},'slices')),E&&(je.points=w(sI,{points:ge,symbol:S,size:k,color:ve,borderWidth:Q,borderColor:be,enableLabel:O,label:I,labelYOffset:N},'points')),R&&Z&&(null!==we&&(je.crosshair=w(fa,{width:re,height:ie,x:we.x,y:we.y,type:$},'crosshair')),null!==Ce&&(je.crosshair=w(fa,{width:re,height:ie,x:Ce.x,y:Ce.y,type:Y},'crosshair'))),R&&H&&!1===Y&&(je.mesh=w(AI,{points:ge,width:re,height:ie,margin:ne,current:we,setCurrent:Be,onMouseEnter:K,onMouseMove:V,onMouseLeave:q,onClick:G,tooltip:W,debug:z},'mesh')),w(mC,{defs:Fe,width:oe,height:se,margin:ne,role:ee,children:a.map(function(t,n){return'function'==typeof t?w(m,{children:t(OO({},e,{innerWidth:re,innerHeight:ie,series:de,slices:pe,points:ge,xScale:fe,yScale:he,lineGenerator:ce,areaGenerator:ue,currentPoint:we,setCurrentPoint:Be,currentSlice:Ce,setCurrentSlice:_e}))},n):je[t]})})};lI.propTypes=DO,lI.defaultProps=zO;var cI=FC(lI),uI=function(e){return w(tC,{children:function(t){var n=t.width,r=t.height;return w(cI,OO({width:n,height:r},e))}})},dI=function(e){var t=e.width,i=e.height,a=e.margin,A=e.pixelRatio,l=e.data,c=e.xScale,u=e.xFormat,d=e.yScale,f=e.yFormat,h=e.curve,g=e.layers,m=e.colors,v=e.lineWidth,b=e.enableArea,y=e.areaBaselineValue,B=e.areaOpacity,x=e.enablePoints,C=e.pointSize,_=e.pointColor,j=e.pointBorderWidth,F=e.pointBorderColor,E=e.enableGridX,S=e.gridXValues,k=e.enableGridY,U=e.gridYValues,Q=e.axisTop,L=e.axisRight,O=e.axisBottom,I=e.axisLeft,N=e.legends,T=e.isInteractive,M=e.debugMesh,P=e.onMouseLeave,D=e.onClick,R=e.tooltip,H=e.canvasRef,z=o(null),K=Kx(t,i,a),V=K.margin,q=K.innerWidth,G=K.innerHeight,W=K.outerWidth,Y=K.outerHeight,X=Jx(),J=n(null),Z=J[0],$=J[1],ee=GO({data:l,xScale:c,xFormat:u,yScale:d,yFormat:f,width:q,height:G,colors:m,curve:h,areaBaselineValue:y,pointColor:_,pointBorderColor:F}),te=ee.lineGenerator,ne=ee.areaGenerator,re=ee.series,ie=ee.xScale,oe=ee.yScale,se=ee.points,ae=QO({points:se,width:q,height:G,debug:M}),Ae=ae.delaunay,le=ae.voronoi;r(function(){H&&(H.current=z.current),z.current.width=W*A,z.current.height=Y*A;var e=z.current.getContext('2d');e.scale(A,A),e.fillStyle=X.background,e.fillRect(0,0,W,Y),e.translate(V.left,V.top),g.forEach(function(t){if('function'==typeof t&&t({ctx:e,innerWidth:q,innerHeight:G,series:re,points:se,xScale:ie,yScale:oe,lineWidth:v,lineGenerator:te,areaGenerator:ne,currentPoint:Z,setCurrentPoint:$}),'grid'===t&&X.grid.line.strokeWidth>0&&(e.lineWidth=X.grid.line.strokeWidth,e.strokeStyle=X.grid.line.stroke,E&&LF(e,{width:q,height:G,scale:ie,axis:'x',values:S}),k&&LF(e,{width:q,height:G,scale:oe,axis:'y',values:U})),'axes'===t&&QF(e,{xScale:ie,yScale:oe,width:q,height:G,top:Q,right:L,bottom:O,left:I,theme:X}),'areas'===t&&!0===b&&(e.save(),e.globalAlpha=B,ne.context(e),re.forEach(function(t){e.fillStyle=t.color,e.beginPath(),ne(t.data.map(function(e){return e.position})),e.fill()}),e.restore()),'lines'===t&&(te.context(e),re.forEach(function(t){e.strokeStyle=t.color,e.lineWidth=v,e.beginPath(),te(t.data.map(function(e){return e.position})),e.stroke()})),'points'===t&&!0===x&&C>0&&se.forEach(function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,C/2,0,2*Math.PI),e.fill(),j>0&&(e.strokeStyle=t.borderColor,e.lineWidth=j,e.stroke())}),'mesh'===t&&!0===M&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle='red',e.lineWidth=1,e.stroke(),e.restore()}(e,le),Z&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle='red',e.fill(),e.restore()}(e,le,Z.index)),'legends'===t){var n=re.map(function(e){return{id:e.id,label:e.id,color:e.color}}).reverse();N.forEach(function(t){QQ(e,OO({},t,{data:t.data||n,containerWidth:q,containerHeight:G,theme:X}))})}})},[z,W,Y,g,X,te,re,ie,oe,E,S,k,U,Q,L,O,I,N,se,x,C,Z]);var ce=s(function(e){var t=UC(z.current,e),n=t[0],r=t[1];if(!kC(V.left,V.top,q,G,n,r))return null;var i=Ae.find(n-V.left,r-V.top);return se[i]},[z,V,q,G,Ae]),ue=ma(),de=ue.showTooltipFromEvent,fe=ue.hideTooltip,he=s(function(e){var t=ce(e);$(t),t?de(p(R,{point:t}),e):fe()},[ce,$,de,fe,R]),pe=s(function(e){fe(),$(null),Z&&P&&P(Z,e)},[fe,$,P]),ge=s(function(e){if(D){var t=ce(e);t&&D(t,e)}},[ce,D]);return w('canvas',{ref:z,width:W*A,height:Y*A,style:{width:W,height:Y,cursor:T?'auto':'normal'},onMouseEnter:T?he:void 0,onMouseMove:T?he:void 0,onMouseLeave:T?pe:void 0,onClick:T?ge:void 0})};dI.propTypes=RO,dI.defaultProps=KO;var fI=FC(dI),hI=c(function(e,t){return w(fI,OO({},e,{canvasRef:t}))});c(function(e,t){return w(tC,{children:function(n){var r=n.width,i=n.height;return w(hI,OO({width:r,height:i},e,{ref:t}))}})});var pI=function(e){var n=e.chartData,r=function(e){if(1===e.num_y_categories){var t=e.y_data,n=Array.isArray(t[0])&&t.length===e.x_data.length?t.map(function(e){return e[0]}):Array.isArray(t[0])?t[0]:t;return[{id:e.y_category_label[0],data:e.x_data.map(function(e,t){var r;return{x:e,y:null!==(r=n[t])&&void 0!==r?r:0}})}]}return e.y_category_label.map(function(t,n){return{id:t,data:e.x_data.map(function(t,r){var i,o;return{x:t,y:null!==(o=null===(i=e.y_data[r])||void 0===i?void 0:i[n])&&void 0!==o?o:0}})}})}(n),i=u(vJ).isDarkMode;return t.createElement(uI,{data:r,margin:{top:50,right:60,bottom:80,left:60},xScale:{type:'point'},yScale:{type:'linear',min:'auto',max:'auto',stacked:!0,reverse:!1},yFormat:' >-.2f',axisTop:null,axisRight:null,axisBottom:{tickSize:5,tickPadding:5,tickRotation:-15,truncateTickAt:0,legend:n.x_label,legendPosition:'middle',legendOffset:45,format:yL},axisLeft:{tickSize:5,tickPadding:5,legend:n.y_category_label,legendPosition:'middle',legendOffset:-55,tickRotation:0},pointSize:10,pointColor:{theme:'background'},pointBorderWidth:2,pointBorderColor:{from:'serieColor'},pointLabelYOffset:-12,useMesh:!0,legends:[{anchor:'top',direction:'row',justify:!1,translateX:12,translateY:-30,itemsSpacing:0,itemDirection:'left-to-right',itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:'circle',symbolBorderColor:'rgba(0, 0, 0, .5)',effects:[{on:'hover',style:{itemBackground:'rgba(0, 0, 0, .03)',itemOpacity:1}}]}],theme:i?vL:mL})},gI=function(e){var n=e.title,r=e.value;return t.createElement(Dn,null,t.createElement(Hn,null,bL(r)),t.createElement(Rn,null,n))},mI=function(e){var n,r,i,o,s,a=e.type,A=e.chartData;switch(a){case'line':return t.createElement(pI,{chartData:A});case'bar':return t.createElement(wL,{chartData:A});case'pie':return t.createElement(AO,{chartData:A});case'single_stat':var l=A;return t.createElement(gI,{title:null!==(r=null===(n=l.labels)||void 0===n?void 0:n[0])&&void 0!==r?r:'',value:null!==(s=null===(o=null===(i=l.values)||void 0===i?void 0:i[0])||void 0===o?void 0:o.toString())&&void 0!==s?s:''});default:return t.createElement('div',null,'Chart Type Not Found.')}};const vI=Math.min,bI=Math.max,yI=Math.round,wI=Math.floor,BI=e=>({x:e,y:e}),xI={left:'right',right:'left',bottom:'top',top:'bottom'},CI={start:'end',end:'start'};function _I(e,t,n){return bI(e,vI(t,n))}function jI(e,t){return'function'==typeof e?e(t):e}function FI(e){return e.split('-')[0]}function EI(e){return e.split('-')[1]}function SI(e){return'x'===e?'y':'x'}function kI(e){return'y'===e?'height':'width'}const UI=new Set(['top','bottom']);function QI(e){return UI.has(FI(e))?'y':'x'}function LI(e){return SI(QI(e))}function OI(e){return e.replace(/start|end/g,e=>CI[e])}const II=['left','right'],NI=['right','left'],TI=['top','bottom'],MI=['bottom','top'];function PI(e,t,n,r){const i=EI(e);let o=function(e,t,n){switch(e){case'top':case'bottom':return n?t?NI:II:t?II:NI;case'left':case'right':return t?TI:MI;default:return[]}}(FI(e),'start'===n,r);return i&&(o=o.map(e=>e+'-'+i),t&&(o=o.concat(o.map(OI)))),o}function DI(e){return e.replace(/left|right|bottom|top/g,e=>xI[e])}function RI(e){return'number'!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function HI(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function zI(e,t,n){let{reference:r,floating:i}=e;const o=QI(t),s=LI(t),a=kI(s),A=FI(t),l='y'===o,c=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let f;switch(A){case'top':f={x:c,y:r.y-i.height};break;case'bottom':f={x:c,y:r.y+r.height};break;case'right':f={x:r.x+r.width,y:u};break;case'left':f={x:r.x-i.width,y:u};break;default:f={x:r.x,y:r.y}}switch(EI(t)){case'start':f[s]-=d*(n&&l?-1:1);break;case'end':f[s]+=d*(n&&l?-1:1)}return f}async function KI(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:A}=e,{boundary:l='clippingAncestors',rootBoundary:c='viewport',elementContext:u='floating',altBoundary:d=!1,padding:f=0}=jI(t,e),h=RI(f),p=a[d?'floating'===u?'reference':'floating':u],g=HI(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:A})),m='floating'===u?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},y=HI(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:A}):m);return{top:(g.top-y.top+h.top)/b.y,bottom:(y.bottom-g.bottom+h.bottom)/b.y,left:(g.left-y.left+h.left)/b.x,right:(y.right-g.right+h.right)/b.x}}const VI=new Set(['left','top']);function qI(){return'undefined'!=typeof window}function GI(e){return XI(e)?(e.nodeName||'').toLowerCase():'#document'}function WI(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function YI(e){var t;return null==(t=(XI(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function XI(e){return!!qI()&&(e instanceof Node||e instanceof WI(e).Node)}function JI(e){return!!qI()&&(e instanceof Element||e instanceof WI(e).Element)}function ZI(e){return!!qI()&&(e instanceof HTMLElement||e instanceof WI(e).HTMLElement)}function $I(e){return!(!qI()||'undefined'==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof WI(e).ShadowRoot)}const eN=new Set(['inline','contents']);function tN(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=fN(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!eN.has(i)}const nN=new Set(['table','td','th']);function rN(e){return nN.has(GI(e))}const iN=[':popover-open',':modal'];function oN(e){return iN.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const sN=['transform','translate','scale','rotate','perspective'],aN=['transform','translate','scale','rotate','perspective','filter'],AN=['paint','layout','strict','content'];function lN(e){const t=cN(),n=JI(e)?fN(e):e;return sN.some(e=>!!n[e]&&'none'!==n[e])||!!n.containerType&&'normal'!==n.containerType||!t&&!!n.backdropFilter&&'none'!==n.backdropFilter||!t&&!!n.filter&&'none'!==n.filter||aN.some(e=>(n.willChange||'').includes(e))||AN.some(e=>(n.contain||'').includes(e))}function cN(){return!('undefined'==typeof CSS||!CSS.supports)&&CSS.supports('-webkit-backdrop-filter','none')}const uN=new Set(['html','body','#document']);function dN(e){return uN.has(GI(e))}function fN(e){return WI(e).getComputedStyle(e)}function hN(e){return JI(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pN(e){if('html'===GI(e))return e;const t=e.assignedSlot||e.parentNode||$I(e)&&e.host||YI(e);return $I(t)?t.host:t}function gN(e){const t=pN(e);return dN(t)?e.ownerDocument?e.ownerDocument.body:e.body:ZI(t)&&tN(t)?t:gN(t)}function mN(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=gN(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=WI(i);if(o){const e=vN(s);return t.concat(s,s.visualViewport||[],tN(i)?i:[],e&&n?mN(e):[])}return t.concat(i,mN(i,[],n))}function vN(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bN(e){const t=fN(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ZI(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=yI(n)!==o||yI(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function yN(e){return JI(e)?e:e.contextElement}function wN(e){const t=yN(e);if(!ZI(t))return BI(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=bN(t);let s=(o?yI(n.width):n.width)/r,a=(o?yI(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const BN=BI(0);function xN(e){const t=WI(e);return cN()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:BN}function CN(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=yN(e);let s=BI(1);t&&(r?JI(r)&&(s=wN(r)):s=wN(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==WI(e))&&t}(o,n,r)?xN(o):BI(0);let A=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,c=i.width/s.x,u=i.height/s.y;if(o){const e=WI(o),t=r&&JI(r)?WI(r):r;let n=e,i=vN(n);for(;i&&r&&t!==n;){const e=wN(i),t=i.getBoundingClientRect(),r=fN(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;A*=e.x,l*=e.y,c*=e.x,u*=e.y,A+=o,l+=s,n=WI(i),i=vN(n)}}return HI({width:c,height:u,x:A,y:l})}function _N(e,t){const n=hN(e).scrollLeft;return t?t.left+n:CN(YI(e)).left+n}function jN(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-_N(e,n),y:n.top+t.scrollTop}}const FN=new Set(['absolute','fixed']);function EN(e,t,n){let r;if('viewport'===t)r=function(e,t){const n=WI(e),r=YI(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,A=0;if(i){o=i.width,s=i.height;const e=cN();(!e||e&&'fixed'===t)&&(a=i.offsetLeft,A=i.offsetTop)}const l=_N(r);if(l<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i='CSS1Compat'===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else l<=25&&(o+=l);return{width:o,height:s,x:a,y:A}}(e,n);else if('document'===t)r=function(e){const t=YI(e),n=hN(e),r=e.ownerDocument.body,i=bI(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=bI(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+_N(e);const a=-n.scrollTop;return'rtl'===fN(r).direction&&(s+=bI(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}(YI(e));else if(JI(t))r=function(e,t){const n=CN(e,!0,'fixed'===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=ZI(e)?wN(e):BI(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=xN(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return HI(r)}function SN(e,t){const n=pN(e);return!(n===t||!JI(n)||dN(n))&&('fixed'===fN(n).position||SN(n,t))}function kN(e,t,n){const r=ZI(t),i=YI(t),o='fixed'===n,s=CN(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const A=BI(0);function l(){A.x=_N(i)}if(r||!r&&!o)if(('body'!==GI(t)||tN(i))&&(a=hN(t)),r){const e=CN(t,!0,o,t);A.x=e.x+t.clientLeft,A.y=e.y+t.clientTop}else i&&l();o&&!r&&i&&l();const c=!i||r||o?BI(0):jN(i,a);return{x:s.left+a.scrollLeft-A.x-c.x,y:s.top+a.scrollTop-A.y-c.y,width:s.width,height:s.height}}function UN(e){return'static'===fN(e).position}function QN(e,t){if(!ZI(e)||'fixed'===fN(e).position)return null;if(t)return t(e);let n=e.offsetParent;return YI(e)===n&&(n=n.ownerDocument.body),n}function LN(e,t){const n=WI(e);if(oN(e))return n;if(!ZI(e)){let t=pN(e);for(;t&&!dN(t);){if(JI(t)&&!UN(t))return t;t=pN(t)}return n}let r=QN(e,t);for(;r&&rN(r)&&UN(r);)r=QN(r,t);return r&&dN(r)&&UN(r)&&!lN(r)?n:r||function(e){let t=pN(e);for(;ZI(t)&&!dN(t);){if(lN(t))return t;if(oN(t))return null;t=pN(t)}return null}(e)||n}const ON={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o='fixed'===i,s=YI(r),a=!!t&&oN(t.floating);if(r===s||a&&o)return n;let A={scrollLeft:0,scrollTop:0},l=BI(1);const c=BI(0),u=ZI(r);if((u||!u&&!o)&&(('body'!==GI(r)||tN(s))&&(A=hN(r)),ZI(r))){const e=CN(r);l=wN(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}const d=!s||u||o?BI(0):jN(s,A);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-A.scrollLeft*l.x+c.x+d.x,y:n.y*l.y-A.scrollTop*l.y+c.y+d.y}},getDocumentElement:YI,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...'clippingAncestors'===n?oN(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=mN(e,[],!1).filter(e=>JI(e)&&'body'!==GI(e)),i=null;const o='fixed'===fN(e).position;let s=o?pN(e):e;for(;JI(s)&&!dN(s);){const t=fN(s),n=lN(s);n||'fixed'!==t.position||(i=null),(o?!n&&!i:!n&&'static'===t.position&&i&&FN.has(i.position)||tN(s)&&!n&&SN(e,s))?r=r.filter(e=>e!==s):i=t,s=pN(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=o[0],a=o.reduce((e,n)=>{const r=EN(t,n,i);return e.top=bI(r.top,e.top),e.right=vI(r.right,e.right),e.bottom=vI(r.bottom,e.bottom),e.left=bI(r.left,e.left),e},EN(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:LN,getElementRects:async function(e){const t=this.getOffsetParent||LN,n=this.getDimensions,r=await n(e.floating);return{reference:kN(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=bN(e);return{width:t,height:n}},getScale:wN,isElement:JI,isRTL:function(e){return'rtl'===fN(e).direction}};function IN(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function NN(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s='function'==typeof ResizeObserver,layoutShift:a='function'==typeof IntersectionObserver,animationFrame:A=!1}=r,l=yN(e),c=i||o?[...l?mN(l):[],...mN(t)]:[];c.forEach(e=>{i&&e.addEventListener('scroll',n,{passive:!0}),o&&e.addEventListener('resize',n)});const u=l&&a?function(e,t){let n,r=null;const i=YI(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,A){void 0===a&&(a=!1),void 0===A&&(A=1),o();const l=e.getBoundingClientRect(),{left:c,top:u,width:d,height:f}=l;if(a||t(),!d||!f)return;const h={rootMargin:-wI(u)+'px '+-wI(i.clientWidth-(c+d))+'px '+-wI(i.clientHeight-(u+f))+'px '+-wI(c)+'px',threshold:bI(0,vI(1,A))||1};let p=!0;function g(t){const r=t[0].intersectionRatio;if(r!==A){if(!p)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||IN(l,e.getBoundingClientRect())||s(),p=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(l,n):null;let d,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),l&&!A&&h.observe(l),h.observe(t));let p=A?CN(e):null;return A&&function t(){const r=CN(e);p&&!IN(p,r)&&n();p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{i&&e.removeEventListener('scroll',n),o&&e.removeEventListener('resize',n)}),null==u||u(),null==(e=h)||e.disconnect(),h=null,A&&cancelAnimationFrame(d)}}const TN=function(e){return void 0===e&&(e=0),{name:'offset',options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,A=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),s=FI(n),a=EI(n),A='y'===QI(n),l=VI.has(s)?-1:1,c=o&&A?-1:1,u=jI(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:h}='number'==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&'number'==typeof h&&(f='end'===a?-1*h:h),A?{x:f*c,y:d*l}:{x:d*l,y:f*c}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+A.x,y:o+A.y,data:{...A,placement:s}}}}},MN=function(e){return void 0===e&&(e={}),{name:'shift',options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:A={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=jI(e,t),c={x:n,y:r},u=await o.detectOverflow(t,l),d=QI(FI(i)),f=SI(d);let h=c[f],p=c[d];if(s){const e='y'===f?'bottom':'right';h=_I(h+u['y'===f?'top':'left'],h,h-u[e])}if(a){const e='y'===d?'bottom':'right';p=_I(p+u['y'===d?'top':'left'],p,p-u[e])}const g=A.fn({...t,[f]:h,[d]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:s,[d]:a}}}}}},PN=function(e){return void 0===e&&(e={}),{name:'flip',options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:A,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f='bestFit',fallbackAxisSideDirection:h='none',flipAlignment:p=!0,...g}=jI(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const m=FI(i),v=QI(a),b=FI(a)===a,y=await(null==A.isRTL?void 0:A.isRTL(l.floating)),w=d||(b||!p?[DI(a)]:function(e){const t=DI(e);return[OI(e),t,OI(t)]}(a)),B='none'!==h;!d&&B&&w.push(...PI(a,p,h,y));const x=[a,...w],C=await A.detectOverflow(t,g),_=[];let j=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&_.push(C[m]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=EI(e),i=LI(e),o=kI(i);let s='x'===i?r===(n?'end':'start')?'right':'left':'start'===r?'bottom':'top';return t.reference[o]>t.floating[o]&&(s=DI(s)),[s,DI(s)]}(i,s,y);_.push(C[e[0]],C[e[1]])}if(j=[...j,{placement:i,overflows:_}],!_.every(e=>e<=0)){var F,E;const e=((null==(F=o.flip)?void 0:F.index)||0)+1,t=x[e];if(t){if(!('alignment'===u&&v!==QI(t))||j.every(e=>QI(e.placement)!==v||e.overflows[0]>0))return{data:{index:e,overflows:j},reset:{placement:t}}}let n=null==(E=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:E.placement;if(!n)switch(f){case'bestFit':{var S;const e=null==(S=j.filter(e=>{if(B){const t=QI(e.placement);return t===v||'y'===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(n=e);break}case'initialPlacement':n=a}if(i!==n)return{reset:{placement:n}}}return{}}}},DN=e=>({name:'arrow',options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:A}=t,{element:l,padding:c=0}=jI(e,t)||{};if(null==l)return{};const u=RI(c),d={x:n,y:r},f=LI(i),h=kI(f),p=await s.getDimensions(l),g='y'===f,m=g?'top':'left',v=g?'bottom':'right',b=g?'clientHeight':'clientWidth',y=o.reference[h]+o.reference[f]-d[f]-o.floating[h],w=d[f]-o.reference[f],B=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let x=B?B[b]:0;x&&await(null==s.isElement?void 0:s.isElement(B))||(x=a.floating[b]||o.floating[h]);const C=y/2-w/2,_=x/2-p[h]/2-1,j=vI(u[m],_),F=vI(u[v],_),E=j,S=x-p[h]-F,k=x/2-p[h]/2+C,U=_I(E,k,S),Q=!A.arrow&&null!=EI(i)&&k!==U&&o.reference[h]/2-(k<E?j:F)-p[h]/2<0,L=Q?k<E?k-E:k-S:0;return{[f]:d[f]+L,data:{[f]:U,centerOffset:k-U-L,...Q&&{alignmentOffset:L}},reset:Q}}}),RN=(e,t,n)=>{const r=new Map,i={platform:ON,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r='bottom',strategy:i='absolute',middleware:o=[],platform:s}=n,a=o.filter(Boolean),A=await(null==s.isRTL?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=zI(l,r,A),d=r,f={},h=0;for(let n=0;n<a.length;n++){var p;const{name:o,fn:g}=a[n],{x:m,y:v,data:b,reset:y}=await g({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:f,rects:l,platform:{...s,detectOverflow:null!=(p=s.detectOverflow)?p:KI},elements:{reference:e,floating:t}});c=null!=m?m:c,u=null!=v?v:u,f={...f,[o]:{...f[o],...b}},y&&h<=50&&(h++,'object'==typeof y&&(y.placement&&(d=y.placement),y.rects&&(l=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:c,y:u}=zI(l,d,A))),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:f}})(e,t,{...i,platform:o})};var HN,zN={exports:{}};
|
|
15
|
-
/*!
|
|
16
|
-
Copyright (c) 2018 Jed Watson.
|
|
17
|
-
Licensed under the MIT License (MIT), see
|
|
18
|
-
http://jedwatson.github.io/classnames
|
|
19
|
-
*/HN=zN,function(){var e={}.hasOwnProperty;function t(){for(var e='',t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=r(e,n(i)))}return e}function n(n){if('string'==typeof n||'number'==typeof n)return n;if('object'!=typeof n)return'';if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes('[native code]'))return n.toString();var i='';for(var o in n)e.call(n,o)&&n[o]&&(i=r(i,o));return i}function r(e,t){return t?e?e+' '+t:e+t:e}HN.exports?(t.default=t,HN.exports=t):window.classNames=t}();var KN=Kn(zN.exports);
|
|
20
|
-
/*
|
|
21
|
-
* React Tooltip
|
|
22
|
-
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
23
|
-
* @copyright ReactTooltip Team
|
|
24
|
-
* @license MIT
|
|
25
|
-
*/
|
|
26
|
-
const VN={core:!1,base:!1};function qN({css:e,id:t='react-tooltip-base-styles',type:n='base',ref:r}){var i,o;if(!e||'undefined'==typeof document||VN[n])return;if('core'===n&&'undefined'!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if('base'!==n&&'undefined'!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;'core'===n&&(t='react-tooltip-core-styles'),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return;const a=document.head||document.getElementsByTagName('head')[0],A=document.createElement('style');A.id=t,A.type='text/css','top'===s&&a.firstChild?a.insertBefore(A,a.firstChild):a.appendChild(A),A.styleSheet?A.styleSheet.cssText=e:A.appendChild(document.createTextNode(e)),VN[n]=!0}const GN=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r='top',offset:i=10,strategy:o='absolute',middlewares:s=[TN(Number(i)),PN({fallbackAxisSideDirection:'start'}),MN({padding:5})],border:a,arrowSize:A=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=s;return n?(l.push(DN({element:n,padding:5})),RN(e,t,{placement:r,strategy:o,middleware:l}).then(({x:e,y:t,placement:n,middlewareData:r})=>{var i,o;const s={left:`${e}px`,top:`${t}px`,border:a},{x:l,y:c}=null!==(i=r.arrow)&&void 0!==i?i:{x:0,y:0},u=null!==(o={top:'bottom',right:'left',bottom:'top',left:'right'}[n.split('-')[0]])&&void 0!==o?o:'bottom',d=a&&{borderBottom:a,borderRight:a};let f=0;if(a){const e=`${a}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=l?`${l}px`:'',top:null!=c?`${c}px`:'',right:'',bottom:'',...d,[u]:`-${A/2+f}px`},place:n}})):RN(e,t,{placement:'bottom',strategy:o,middleware:l}).then(({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n}))},WN=(e,t)=>!('CSS'in window&&'supports'in window.CSS)||window.CSS.supports(e,t),YN=(e,t,n)=>{let r=null;const i=function(...i){const o=()=>{r=null,n||e.apply(this,i)};n&&!r&&(e.apply(this,i),r=setTimeout(o,t)),n||(r&&clearTimeout(r),r=setTimeout(o,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},XN=e=>null!==e&&!Array.isArray(e)&&'object'==typeof e,JN=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>JN(e,t[n]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!XN(e)||!XN(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>JN(e[n],t[n]))},ZN=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return['overflow','overflow-x','overflow-y'].some(e=>{const n=t.getPropertyValue(e);return'auto'===n||'scroll'===n})},$N=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(ZN(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},eT='undefined'!=typeof window?l:r,tT=e=>{e.current&&(clearTimeout(e.current),e.current=null)},nT={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},rT=h({getTooltipData:()=>nT});function iT(e='DEFAULT_TOOLTIP_ID'){return u(rT).getTooltipData(e)}var oT={tooltip:'core-styles-module_tooltip__3vRRp',fixed:'core-styles-module_fixed__pcSol',arrow:'core-styles-module_arrow__cvMwQ',noArrow:'core-styles-module_noArrow__xock6',clickable:'core-styles-module_clickable__ZuTTB',show:'core-styles-module_show__Nt9eE',closing:'core-styles-module_closing__sGnxF'},sT={tooltip:'styles-module_tooltip__mnnfp',arrow:'styles-module_arrow__K0L3T',dark:'styles-module_dark__xNqje',light:'styles-module_light__Z6W-X',success:'styles-module_success__A2AKt',warning:'styles-module_warning__SCK0X',error:'styles-module_error__JvumD',info:'styles-module_info__BWdHW'};const aT=({forwardRef:e,id:i,className:a,classNameArrow:A,variant:l='dark',anchorId:c,anchorSelect:u,place:d='top',offset:f=10,events:h=['hover'],openOnClick:p=!1,positionStrategy:g='absolute',middlewares:m,wrapper:b,delayShow:y=0,delayHide:w=0,float:B=!1,hidden:x=!1,noArrow:C=!1,clickable:_=!1,closeOnEsc:j=!1,closeOnScroll:F=!1,closeOnResize:E=!1,openEvents:S,closeEvents:k,globalCloseEvents:U,imperativeModeOnly:Q,style:L,position:O,afterShow:I,afterHide:N,disableTooltip:T,content:M,contentWrapperRef:P,isOpen:D,defaultIsOpen:R=!1,setIsOpen:H,previousActiveAnchor:z,activeAnchor:K,setActiveAnchor:V,border:q,opacity:G,arrowColor:W,arrowSize:Y=8,role:X='tooltip'})=>{var J;const Z=o(null),$=o(null),ee=o(null),te=o(null),ne=o(null),[re,ie]=n({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[oe,se]=n(!1),[ae,Ae]=n(!1),[le,ce]=n(null),ue=o(!1),de=o(null),{anchorRefs:fe,setActiveAnchor:he}=iT(i),pe=o(!1),[ge,me]=n([]),ve=o(!1),be=p||h.includes('click'),ye=be||(null==S?void 0:S.click)||(null==S?void 0:S.dblclick)||(null==S?void 0:S.mousedown),we=S?{...S}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!S&&be&&Object.assign(we,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Be=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&be&&Object.assign(Be,{mouseleave:!1,blur:!1,mouseout:!1});const xe=U?{...U}:{escape:j||!1,scroll:F||!1,resize:E||!1,clickOutsideAnchor:ye||!1};Q&&(Object.assign(we,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Be,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(xe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),eT(()=>(ve.current=!0,()=>{ve.current=!1}),[]);const Ce=e=>{ve.current&&(e&&Ae(!0),setTimeout(()=>{ve.current&&(null==H||H(e),void 0===D&&se(e))},10))};r(()=>{if(i){if(oe){t(z);const n=e(K),r=[...new Set([...n,i])].filter(Boolean).join(' ');null==K||K.setAttribute('aria-describedby',r)}else t(K);return()=>{t(K),t(z)}}function e(e){var t;return(null===(t=null==e?void 0:e.getAttribute('aria-describedby'))||void 0===t?void 0:t.split(' '))||[]}function t(t){const n=e(t).filter(e=>e!==i);n.length?null==t||t.setAttribute('aria-describedby',n.join(' ')):null==t||t.removeAttribute('aria-describedby')}},[K,oe,i,z]),r(()=>{if(void 0===D)return()=>null;D&&Ae(!0);const e=setTimeout(()=>{se(D)},10);return()=>{clearTimeout(e)}},[D]),r(()=>{if(oe!==ue.current)if(tT(ne),ue.current=oe,oe)null==I||I();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue('--rt-transition-show-delay').match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,n]=e;return Number(t)*('ms'===n?1:1e3)})();ne.current=setTimeout(()=>{Ae(!1),ce(null),null==N||N()},e+25)}},[oe]);const _e=e=>{ie(t=>JN(t,e)?t:e)},je=(e=y)=>{tT(ee),ae?Ce(!0):ee.current=setTimeout(()=>{Ce(!0)},e)},Fe=(e=w)=>{tT(te),te.current=setTimeout(()=>{pe.current||Ce(!1)},e)},Ee=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return V(null),void he({current:null});y?je():Ce(!0),V(n),he({current:n}),tT(te)},Se=()=>{_?Fe(w||100):w?Fe():Ce(!1),tT(ee)},ke=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};GN({place:null!==(n=null==le?void 0:le.place)&&void 0!==n?n:d,offset:f,elementReference:r,tooltipReference:Z.current,tooltipArrowReference:$.current,strategy:g,middlewares:m,border:q,arrowSize:Y}).then(e=>{_e(e)})},Ue=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};ke(n),de.current=n},Qe=e=>{var t;if(!oe)return;const n=e.target;n.isConnected&&((null===(t=Z.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${c}']`),...ge].some(e=>null==e?void 0:e.contains(n))||(Ce(!1),tT(ee)))},Le=YN(Ee,50,!0),Oe=YN(Se,50,!0),Ie=e=>{Oe.cancel(),Le(e)},Ne=()=>{Le.cancel(),Oe()},Te=s(()=>{var e,t;const n=null!==(e=null==le?void 0:le.position)&&void 0!==e?e:O;n?ke(n):B?de.current&&ke(de.current):(null==K?void 0:K.isConnected)&&GN({place:null!==(t=null==le?void 0:le.place)&&void 0!==t?t:d,offset:f,elementReference:K,tooltipReference:Z.current,tooltipArrowReference:$.current,strategy:g,middlewares:m,border:q,arrowSize:Y}).then(e=>{ve.current&&_e(e)})},[oe,K,M,L,d,null==le?void 0:le.place,f,g,O,null==le?void 0:le.position,B,Y]);r(()=>{var e,t;const n=new Set(fe);ge.forEach(e=>{(null==T?void 0:T(e))||n.add({current:e})});const r=document.querySelector(`[id='${c}']`);r&&!(null==T?void 0:T(r))&&n.add({current:r});const i=()=>{Ce(!1)},o=$N(K),s=$N(Z.current);xe.scroll&&(window.addEventListener('scroll',i),null==o||o.addEventListener('scroll',i),null==s||s.addEventListener('scroll',i));let a=null;xe.resize?window.addEventListener('resize',i):K&&Z.current&&(a=NN(K,Z.current,Te,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const A=e=>{'Escape'===e.key&&Ce(!1)};xe.escape&&window.addEventListener('keydown',A),xe.clickOutsideAnchor&&window.addEventListener('click',Qe);const l=[],u=e=>Boolean((null==e?void 0:e.target)&&(null==K?void 0:K.contains(e.target))),d=e=>{oe&&u(e)||Ee(e)},f=e=>{oe&&u(e)&&Se()},h=['mouseover','mouseout','mouseenter','mouseleave','focus','blur'],p=['click','dblclick','mousedown','mouseup'];Object.entries(we).forEach(([e,t])=>{t&&(h.includes(e)?l.push({event:e,listener:Ie}):p.includes(e)&&l.push({event:e,listener:d}))}),Object.entries(Be).forEach(([e,t])=>{t&&(h.includes(e)?l.push({event:e,listener:Ne}):p.includes(e)&&l.push({event:e,listener:f}))}),B&&l.push({event:'pointermove',listener:Ue});const g=()=>{pe.current=!0},m=()=>{pe.current=!1,Se()},v=_&&(Be.mouseout||Be.mouseleave);return v&&(null===(e=Z.current)||void 0===e||e.addEventListener('mouseover',g),null===(t=Z.current)||void 0===t||t.addEventListener('mouseout',m)),l.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)})}),()=>{var e,t;xe.scroll&&(window.removeEventListener('scroll',i),null==o||o.removeEventListener('scroll',i),null==s||s.removeEventListener('scroll',i)),xe.resize?window.removeEventListener('resize',i):null==a||a(),xe.clickOutsideAnchor&&window.removeEventListener('click',Qe),xe.escape&&window.removeEventListener('keydown',A),v&&(null===(e=Z.current)||void 0===e||e.removeEventListener('mouseover',g),null===(t=Z.current)||void 0===t||t.removeEventListener('mouseout',m)),l.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)})})}},[K,Te,ae,fe,ge,S,k,U,be,y,w]),r(()=>{var e,t;let n=null!==(t=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u)&&void 0!==t?t:'';!n&&i&&(n=`[data-tooltip-id='${i.replace(/'/g,'\\\'')}']`);const r=new MutationObserver(e=>{const t=[],r=[];e.forEach(e=>{if('attributes'===e.type&&'data-tooltip-id'===e.attributeName&&(e.target.getAttribute('data-tooltip-id')===i?t.push(e.target):e.oldValue===i&&r.push(e.target)),'childList'===e.type){if(K){const t=[...e.removedNodes].filter(e=>1===e.nodeType);if(n)try{r.push(...t.filter(e=>e.matches(n))),r.push(...t.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}t.some(e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,K))&&(Ae(!1),Ce(!1),V(null),tT(ee),tT(te),!0)})}if(n)try{const r=[...e.addedNodes].filter(e=>1===e.nodeType);t.push(...r.filter(e=>e.matches(n))),t.push(...r.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}}}),(t.length||r.length)&&me(e=>[...e.filter(e=>!r.includes(e)),...t])});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:['data-tooltip-id'],attributeOldValue:!0}),()=>{r.disconnect()}},[i,u,null==le?void 0:le.anchorSelect,K]),r(()=>{Te()},[Te]),r(()=>{if(!(null==P?void 0:P.current))return()=>null;const e=new ResizeObserver(()=>{setTimeout(()=>Te())});return e.observe(P.current),()=>{e.disconnect()}},[M,null==P?void 0:P.current]),r(()=>{var e;const t=document.querySelector(`[id='${c}']`),n=[...ge,t];K&&n.includes(K)||V(null!==(e=ge[0])&&void 0!==e?e:t)},[c,ge,K]),r(()=>(R&&Ce(!0),()=>{tT(ee),tT(te)}),[]),r(()=>{var e;let t=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u;if(!t&&i&&(t=`[data-tooltip-id='${i.replace(/'/g,'\\\'')}']`),t)try{const e=Array.from(document.querySelectorAll(t));me(e)}catch(e){me([])}},[i,u,null==le?void 0:le.anchorSelect]),r(()=>{ee.current&&(tT(ee),je(y))},[y]);const Me=null!==(J=null==le?void 0:le.content)&&void 0!==J?J:M,Pe=oe&&Object.keys(re.tooltipStyles).length>0;return v(e,()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(e){return}ce(null!=e?e:null),(null==e?void 0:e.delay)?je(e.delay):Ce(!0)},close:e=>{(null==e?void 0:e.delay)?Fe(e.delay):Ce(!1)},activeAnchor:K,place:re.place,isOpen:Boolean(ae&&!x&&Me&&Pe)})),ae&&!x&&Me?t.createElement(b,{id:i,role:X,className:KN('react-tooltip',oT.tooltip,sT.tooltip,sT[l],a,`react-tooltip__place-${re.place}`,oT[Pe?'show':'closing'],Pe?'react-tooltip__show':'react-tooltip__closing','fixed'===g&&oT.fixed,_&&oT.clickable),onTransitionEnd:e=>{tT(ne),oe||'opacity'!==e.propertyName||(Ae(!1),ce(null),null==N||N())},style:{...L,...re.tooltipStyles,opacity:void 0!==G&&Pe?G:void 0},ref:Z},Me,t.createElement(b,{className:KN('react-tooltip-arrow',oT.arrow,sT.arrow,A,C&&oT.noArrow),style:{...re.tooltipArrowStyles,background:W?`linear-gradient(to right bottom, transparent 50%, ${W} 50%)`:void 0,'--rt-arrow-size':`${Y}px`},ref:$})):null},AT=({content:e})=>t.createElement('span',{dangerouslySetInnerHTML:{__html:e}}),lT=t.forwardRef(({id:e,anchorId:i,anchorSelect:s,content:a,html:A,render:l,className:c,classNameArrow:u,variant:d='dark',place:f='top',offset:h=10,wrapper:p='div',children:g=null,events:m=['hover'],openOnClick:v=!1,positionStrategy:b='absolute',middlewares:y,delayShow:w=0,delayHide:B=0,float:x=!1,hidden:C=!1,noArrow:_=!1,clickable:j=!1,closeOnEsc:F=!1,closeOnScroll:E=!1,closeOnResize:S=!1,openEvents:k,closeEvents:U,globalCloseEvents:Q,imperativeModeOnly:L=!1,style:O,position:I,isOpen:N,defaultIsOpen:T=!1,disableStyleInjection:M=!1,border:P,opacity:D,arrowColor:R,arrowSize:H,setIsOpen:z,afterShow:K,afterHide:V,disableTooltip:q,role:G='tooltip'},W)=>{const[Y,X]=n(a),[J,Z]=n(A),[$,ee]=n(f),[te,ne]=n(d),[re,ie]=n(h),[oe,se]=n(w),[ae,Ae]=n(B),[le,ce]=n(x),[ue,de]=n(C),[fe,he]=n(p),[pe,ge]=n(m),[me,ve]=n(b),[be,ye]=n(null),[we,Be]=n(null),xe=o(null),Ce=o(M),{anchorRefs:_e,activeAnchor:je}=iT(e),Fe=e=>null==e?void 0:e.getAttributeNames().reduce((t,n)=>{var r;return n.startsWith('data-tooltip-')&&(t[n.replace(/^data-tooltip-/,'')]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t},{}),Ee=e=>{const t={place:e=>{var t;ee(null!==(t=e)&&void 0!==t?t:f)},content:e=>{X(null!=e?e:a)},html:e=>{Z(null!=e?e:A)},variant:e=>{var t;ne(null!==(t=e)&&void 0!==t?t:d)},offset:e=>{ie(null===e?h:Number(e))},wrapper:e=>{var t;he(null!==(t=e)&&void 0!==t?t:p)},events:e=>{const t=null==e?void 0:e.split(' ');ge(null!=t?t:m)},'position-strategy':e=>{var t;ve(null!==(t=e)&&void 0!==t?t:b)},'delay-show':e=>{se(null===e?w:Number(e))},'delay-hide':e=>{Ae(null===e?B:Number(e))},float:e=>{ce(null===e?x:'true'===e)},hidden:e=>{de(null===e?C:'true'===e)},'class-name':e=>{ye(e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)})};r(()=>{X(a)},[a]),r(()=>{Z(A)},[A]),r(()=>{ee(f)},[f]),r(()=>{ne(d)},[d]),r(()=>{ie(h)},[h]),r(()=>{se(w)},[w]),r(()=>{Ae(B)},[B]),r(()=>{ce(x)},[x]),r(()=>{de(C)},[C]),r(()=>{ve(b)},[b]),r(()=>{Ce.current},[M]),r(()=>{'undefined'!=typeof window&&window.dispatchEvent(new CustomEvent('react-tooltip-inject-styles',{detail:{disableCore:'core'===M,disableBase:M}}))},[]),r(()=>{var t;const n=new Set(_e);let r=s;if(!r&&e&&(r=`[data-tooltip-id='${e.replace(/'/g,'\\\'')}']`),r)try{document.querySelectorAll(r).forEach(e=>{n.add({current:e})})}catch(t){}const o=document.querySelector(`[id='${i}']`);if(o&&n.add({current:o}),!n.size)return()=>null;const a=null!==(t=null!=we?we:o)&&void 0!==t?t:je.current,A=new MutationObserver(e=>{e.forEach(e=>{var t;if(!a||'attributes'!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith('data-tooltip-')))return;const n=Fe(a);Ee(n)})}),l={attributes:!0,childList:!1,subtree:!1};if(a){const e=Fe(a);Ee(e),A.observe(a,l)}return()=>{A.disconnect()}},[_e,je,we,i,s]),r(()=>{null==O||O.border,P&&WN('border',`${P}`),null==O||O.opacity,D&&WN('opacity',`${D}`)},[]);let Se=g;const ke=o(null);if(l){const e=l({content:(null==we?void 0:we.getAttribute('data-tooltip-content'))||Y||null,activeAnchor:we});Se=e?t.createElement('div',{ref:ke,className:'react-tooltip-content-wrapper'},e):null}else Y&&(Se=Y);J&&(Se=t.createElement(AT,{content:J}));const Ue={forwardRef:W,id:e,anchorId:i,anchorSelect:s,className:KN(c,be),classNameArrow:u,content:Se,contentWrapperRef:ke,place:$,variant:te,offset:re,wrapper:fe,events:pe,openOnClick:v,positionStrategy:me,middlewares:y,delayShow:oe,delayHide:ae,float:le,hidden:ue,noArrow:_,clickable:j,closeOnEsc:F,closeOnScroll:E,closeOnResize:S,openEvents:k,closeEvents:U,globalCloseEvents:Q,imperativeModeOnly:L,style:O,position:I,isOpen:N,defaultIsOpen:T,border:P,opacity:D,arrowColor:R,arrowSize:H,setIsOpen:z,afterShow:K,afterHide:V,disableTooltip:q,activeAnchor:we,previousActiveAnchor:xe.current,setActiveAnchor:e=>{Be(t=>((null==e?void 0:e.isSameNode(t))||(xe.current=t),e))},role:G};return t.createElement(aT,{...Ue})});'undefined'!=typeof window&&window.addEventListener('react-tooltip-inject-styles',e=>{e.detail.disableCore||qN({css:':root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}',type:'core'}),e.detail.disableBase||qN({css:'\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*=\'react-tooltip__place-top\']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*=\'react-tooltip__place-right\']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*=\'react-tooltip__place-bottom\']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*=\'react-tooltip__place-left\']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}',type:'base'})});var cT=function e(t){function n(e,t,r){var i,o={};if(Array.isArray(e))return e.concat(t);for(i in e)o[r?i.toLowerCase():i]=e[i];for(i in t){var s=r?i.toLowerCase():i,a=t[i];o[s]=s in o&&'object'==typeof a?n(o[s],a,'headers'==s):a}return o}function r(e,r,i,o,s){var a='string'!=typeof e?(r=e).url:e,A={config:r},l=n(t,r),c={};o=o||l.data,(l.transformRequest||[]).map(function(e){o=e(o,l.headers)||o}),l.auth&&(c.authorization=l.auth),o&&'object'==typeof o&&'function'!=typeof o.append&&'function'!=typeof o.text&&(o=JSON.stringify(o),c['content-type']='application/json');try{c[l.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp('(^|; )'+l.xsrfCookieName+'=([^;]*)'))[2])}catch(e){}return l.baseURL&&(a=a.replace(/^(?!.*\/\/)\/?/,l.baseURL+'/')),l.params&&(a+=(~a.indexOf('?')?'&':'?')+(l.paramsSerializer?l.paramsSerializer(l.params):new URLSearchParams(l.params))),(l.fetch||fetch)(a,{method:(i||l.method||'get').toUpperCase(),body:o,headers:n(l.headers,c,!0),credentials:l.withCredentials?'include':s}).then(function(e){for(var t in e)'function'!=typeof e[t]&&(A[t]=e[t]);return'stream'==l.responseType?(A.data=e.body,A):e[l.responseType||'text']().then(function(e){A.data=e,A.data=JSON.parse(e)}).catch(Object).then(function(){return(l.validateStatus?l.validateStatus(e.status):e.ok)?A:Promise.reject(A)})})}return t=t||{},r.request=r,r.get=function(e,t){return r(e,t,'get')},r.delete=function(e,t){return r(e,t,'delete')},r.head=function(e,t){return r(e,t,'head')},r.options=function(e,t){return r(e,t,'options')},r.post=function(e,t,n){return r(e,n,'post',t)},r.put=function(e,t,n){return r(e,n,'put',t)},r.patch=function(e,t,n){return r(e,n,'patch',t)},r.all=Promise.all.bind(Promise),r.spread=function(e){return e.apply.bind(e,e)},r.CancelToken='function'==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}(),uT=cT.create(),dT=function(){return Ne(void 0,void 0,void 0,function(){return Te(this,function(e){switch(e.label){case 0:return[4,uT.post('/ved/chats/',{session_title:''})];case 1:return[2,e.sent().data]}})})},fT=function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,uT.delete('/ved/chats/'.concat(e,'/'))];case 1:return[2,t.sent().data]}})})},hT=function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,uT.post('/ved/chats/'.concat(e.sessionID,'/feedback'),Oe({message_id:e.message_id,is_liked:e.is_liked},!1===e.is_liked&&{reason:e.reason,comment:e.comment}))];case 1:return[2,t.sent().data]}})})},pT={exports:{}},gT={},mT={exports:{}},vT={},bT={exports:{}};!function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll('*'),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(a)};
|
|
27
|
-
/*!
|
|
28
|
-
* Adapted from jQuery UI core
|
|
29
|
-
*
|
|
30
|
-
* http://jqueryui.com
|
|
31
|
-
*
|
|
32
|
-
* Copyright 2014 jQuery Foundation and other contributors
|
|
33
|
-
* Released under the MIT license.
|
|
34
|
-
* http://jquery.org/license
|
|
35
|
-
*
|
|
36
|
-
* http://api.jqueryui.com/category/ui-core/
|
|
37
|
-
*/
|
|
38
|
-
var n='none',r='contents',i=/^(input|select|textarea|button|object|iframe)$/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var i=window.getComputedStyle(e),o=i.getPropertyValue('display');return t?o!==r&&function(e,t){return'visible'!==t.getPropertyValue('overflow')||e.scrollWidth<=0&&e.scrollHeight<=0}(e,i):o===n}catch(e){return!1}}function s(e,t){var n=e.nodeName.toLowerCase();return(i.test(n)&&!e.disabled||'a'===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute('tabindex');null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}(bT,bT.exports);var yT=bT.exports;Object.defineProperty(vT,'__esModule',{value:!0}),vT.resetState=function(){xT=[]},vT.log=function(){'production'!==process.env.NODE_ENV&&xT.forEach(function(e){})},vT.handleBlur=jT,vT.handleFocus=FT,vT.markForFocusLater=function(){xT.push(document.activeElement)},vT.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{return void(0!==xT.length&&xT.pop().focus({preventScroll:e}))}catch(e){}},vT.popWithoutFocus=function(){xT.length>0&&xT.pop()},vT.setupScopedFocus=function(e){CT=e,window.addEventListener?(window.addEventListener('blur',jT,!1),document.addEventListener('focus',FT,!0)):(window.attachEvent('onBlur',jT),document.attachEvent('onFocus',FT))},vT.teardownScopedFocus=function(){CT=null,window.addEventListener?(window.removeEventListener('blur',jT),document.removeEventListener('focus',FT)):(window.detachEvent('onBlur',jT),document.detachEvent('onFocus',FT))};var wT,BT=(wT=yT)&&wT.__esModule?wT:{default:wT};var xT=[],CT=null,_T=!1;function jT(){_T=!0}function FT(){if(_T){if(_T=!1,!CT)return;setTimeout(function(){CT.contains(document.activeElement)||((0,BT.default)(CT)[0]||CT).focus()},0)}}var ET={exports:{}};!function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=function(e,t){var i=(0,n.default)(e);if(!i.length)return void t.preventDefault();var o=void 0,s=t.shiftKey,a=i[0],A=i[i.length-1],l=r();if(e===l){if(!s)return;o=A}A!==l||s||(o=a);a===l&&s&&(o=A);if(o)return t.preventDefault(),void o.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||'Chrome'==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var u=i.indexOf(l);u>-1&&(u+=s?-1:1);if(o=i[u],void 0===o)return t.preventDefault(),void(o=s?A:a).focus();t.preventDefault(),o.focus()};var n=function(e){return e&&e.__esModule?e:{default:e}}(yT);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?r(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(ET,ET.exports);var ST=ET.exports,kT={},UT=function(){};if('production'!==process.env.NODE_ENV){var QT=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var i=0,o='Warning: '+e.replace(/%s/g,function(){return t[i++]});try{throw new Error(o)}catch(e){}};UT=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(void 0===t)throw new Error('`warning(condition, format, ...args)` requires a warning message argument');e||QT.apply(null,[t].concat(n))}}var LT=UT,OT={},IT={exports:{}};
|
|
39
|
-
/*!
|
|
40
|
-
Copyright (c) 2015 Jed Watson.
|
|
41
|
-
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
42
|
-
All rights reserved.
|
|
43
|
-
*/
|
|
44
|
-
!function(e){!function(){var t=!('undefined'==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:'undefined'!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()}(IT);var NT=IT.exports;Object.defineProperty(OT,'__esModule',{value:!0}),OT.canUseDOM=OT.SafeNodeList=OT.SafeHTMLCollection=void 0;var TT=function(e){return e&&e.__esModule?e:{default:e}}(NT);var MT=TT.default,PT=MT.canUseDOM?window.HTMLElement:{};OT.SafeHTMLCollection=MT.canUseDOM?window.HTMLCollection:{},OT.SafeNodeList=MT.canUseDOM?window.NodeList:{},OT.canUseDOM=MT.canUseDOM,OT.default=PT,Object.defineProperty(kT,'__esModule',{value:!0}),kT.resetState=function(){HT&&(HT.removeAttribute?HT.removeAttribute('aria-hidden'):null!=HT.length?HT.forEach(function(e){return e.removeAttribute('aria-hidden')}):document.querySelectorAll(HT).forEach(function(e){return e.removeAttribute('aria-hidden')}));HT=null},kT.log=function(){if('production'!==process.env.NODE_ENV);},kT.assertNodeList=zT,kT.setElement=function(e){var t=e;if('string'==typeof t&&RT.canUseDOM){var n=document.querySelectorAll(t);zT(n,t),t=n}return HT=t||HT},kT.validateElement=KT,kT.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=KT(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.setAttribute('aria-hidden','true')}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},kT.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=KT(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.removeAttribute('aria-hidden')}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},kT.documentNotReadyOrSSRTesting=function(){HT=null};var DT=function(e){return e&&e.__esModule?e:{default:e}}(LT),RT=OT;var HT=null;function zT(e,t){if(!e||!e.length)throw new Error('react-modal: No elements were found for selector '+t+'.')}function KT(e){var t=e||HT;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,DT.default)(!1,['react-modal: App element is not defined.','Please use `Modal.setAppElement(el)` or set `appElement={el}`.','This is needed so screen readers don\'t see main content','when modal is opened. It is not recommended, but you can opt-out','by setting `ariaHideApp={false}`.'].join(' ')),[])}var VT={};Object.defineProperty(VT,'__esModule',{value:!0}),VT.resetState=function(){var e=document.getElementsByTagName('html')[0];for(var t in qT)WT(e,qT[t]);var n=document.body;for(var r in GT)WT(n,GT[r]);qT={},GT={}},VT.log=function(){if('production'!==process.env.NODE_ENV){var e=document.getElementsByTagName('html')[0].className;for(var t in qT)' '+t+' '+qT[t]+'\n ';for(var n in'\n\ndoc.body ('+(e=document.body.className)+'):\n ',GT)' '+n+' '+GT[n]+'\n ';0}};var qT={},GT={};function WT(e,t){e.classList.remove(t)}VT.add=function(e,t){return n=e.classList,r='html'==e.nodeName.toLowerCase()?qT:GT,void t.split(' ').forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(r,e),n.add(e)});var n,r},VT.remove=function(e,t){return n=e.classList,r='html'==e.nodeName.toLowerCase()?qT:GT,void t.split(' ').forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(r,e),0===r[e]&&n.remove(e)});var n,r};var YT={};Object.defineProperty(YT,'__esModule',{value:!0}),YT.log=function(){JT.openInstances.forEach(function(e){})},YT.resetState=function(){JT=new XT};var XT=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit('register')):process.env.NODE_ENV},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit('deregister')):process.env.NODE_ENV},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},JT=new XT;YT.default=JT;var ZT={};Object.defineProperty(ZT,'__esModule',{value:!0}),ZT.resetState=function(){for(var e=[eM,tM],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}eM=tM=null,nM=[]},ZT.log=function(){for(var e=[eM,tM],t=0;t<e.length;t++);};var $T=function(e){return e&&e.__esModule?e:{default:e}}(YT);var eM=void 0,tM=void 0,nM=[];function rM(){0!==nM.length?nM[nM.length-1].focusContent():process.env.NODE_ENV}$T.default.subscribe(function(e,t){eM||tM||((eM=document.createElement('div')).setAttribute('data-react-modal-body-trap',''),eM.style.position='absolute',eM.style.opacity='0',eM.setAttribute('tabindex','0'),eM.addEventListener('focus',rM),(tM=eM.cloneNode()).addEventListener('focus',rM)),(nM=t).length>0?(document.body.firstChild!==eM&&document.body.insertBefore(eM,document.body.firstChild),document.body.lastChild!==tM&&document.body.appendChild(tM)):(eM.parentElement&&eM.parentElement.removeChild(eM),tM.parentElement&&tM.parentElement.removeChild(tM))}),function(e,n){Object.defineProperty(n,'__esModule',{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i='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},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t,a=g(gr),A=p(vT),l=g(ST),c=p(kT),u=p(VT),d=OT,f=g(d),h=g(YT);function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}var m={overlay:'ReactModal__Overlay',content:'ReactModal__Content'},v=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,t);var n=function(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return!t||'object'!=typeof t&&'function'!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;o&&u.remove(a.body,o),i&&u.remove(a.getElementsByTagName('html')[0],i),r&&v>0&&0===(v-=1)&&c.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(A.returnFocus(n.props.preventScroll),A.teardownScopedFocus()):A.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(A.setupScopedFocus(n.node),A.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return'Tab'===e.code||9===e.keyCode})(e)&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return'Escape'===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r='object'===(void 0===t?'undefined':i(t))?t:{base:m[e],afterOpen:m[e]+'--after-open',beforeClose:m[e]+'--before-close'},o=r.base;return n.state.afterOpen&&(o=o+' '+r.afterOpen),n.state.beforeClose&&(o=o+' '+r.beforeClose),'string'==typeof t&&t?o+' '+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+'-'+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:'componentDidMount',value:function(){this.props.isOpen&&this.open()}},{key:'componentDidUpdate',value:function(e,t){'production'!==process.env.NODE_ENV&&(e.bodyOpenClassName,this.props.bodyOpenClassName,e.htmlOpenClassName,this.props.htmlOpenClassName),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:'componentWillUnmount',value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:'beforeOpen',value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,o=e.parentSelector,s=o&&o().ownerDocument||document;i&&u.add(s.body,i),r&&u.add(s.getElementsByTagName('html')[0],r),n&&(v+=1,c.hide(t)),h.default.register(this)}},{key:'render',value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,o=e.defaultStyles,s=e.children,a=n?{}:o.content,A=i?{}:o.overlay;if(this.shouldBeClosed())return null;var l={ref:this.setOverlayRef,className:this.buildClassName('overlay',i),style:r({},A,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=r({id:t,ref:this.setContentRef,style:r({},a,this.props.style.content),className:this.buildClassName('content',n),tabIndex:'-1',onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,'aria-label':this.props.contentLabel},this.attributesFromObject('aria',r({modal:!0},this.props.aria)),this.attributesFromObject('data',this.props.data||{}),{'data-testid':this.props.testId}),u=this.props.contentElement(c,s);return this.props.overlayElement(l,u)}}]),t}(s.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(f.default),a.default.instanceOf(d.SafeHTMLCollection),a.default.instanceOf(d.SafeNodeList),a.default.arrayOf(a.default.instanceOf(f.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},n.default=b,e.exports=n.default}(mT,mT.exports);var iM=mT.exports;function oM(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function sM(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function aM(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}oM.__suppressDeprecationWarning=!0,sM.__suppressDeprecationWarning=!0,aM.__suppressDeprecationWarning=!0;var AM=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error('Can only polyfill class components');if('function'!=typeof e.getDerivedStateFromProps&&'function'!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,i=null;if('function'==typeof t.componentWillMount?n='componentWillMount':'function'==typeof t.UNSAFE_componentWillMount&&(n='UNSAFE_componentWillMount'),'function'==typeof t.componentWillReceiveProps?r='componentWillReceiveProps':'function'==typeof t.UNSAFE_componentWillReceiveProps&&(r='UNSAFE_componentWillReceiveProps'),'function'==typeof t.componentWillUpdate?i='componentWillUpdate':'function'==typeof t.UNSAFE_componentWillUpdate&&(i='UNSAFE_componentWillUpdate'),null!==n||null!==r||null!==i){var o=e.displayName||e.name,s='function'==typeof e.getDerivedStateFromProps?'getDerivedStateFromProps()':'getSnapshotBeforeUpdate()';throw Error('Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n'+o+' uses '+s+' but also contains the following legacy lifecycles:'+(null!==n?'\n '+n:'')+(null!==r?'\n '+r:'')+(null!==i?'\n '+i:'')+'\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks')}if('function'==typeof e.getDerivedStateFromProps&&(t.componentWillMount=oM,t.componentWillReceiveProps=sM),'function'==typeof t.getSnapshotBeforeUpdate){if('function'!=typeof t.componentDidUpdate)throw new Error('Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype');t.componentWillUpdate=aM;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,r)}}return e}}),lM=Vn(AM);Object.defineProperty(gT,'__esModule',{value:!0}),gT.bodyOpenClassName=gT.portalClassName=void 0;var cM=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uM=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),dM=t,fM=wM(dM),hM=wM(b),pM=wM(gr),gM=wM(iM),mM=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(kT),vM=OT,bM=wM(vM),yM=lM;function wM(e){return e&&e.__esModule?e:{default:e}}function BM(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return!t||'object'!=typeof t&&'function'!=typeof t?e:t}var xM=gT.portalClassName='ReactModalPortal',CM=gT.bodyOpenClassName='ReactModal__Body--open',_M=vM.canUseDOM&&void 0!==hM.default.createPortal,jM=function(e){return document.createElement(e)},FM=function(){return _M?hM.default.createPortal:hM.default.unstable_renderSubtreeIntoContainer};function EM(e){return e()}var SM=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,e);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=BM(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.removePortal=function(){!_M&&hM.default.unmountComponentAtNode(r.node);var e=EM(r.props.parentSelector);e&&e.contains(r.node)&&e.removeChild(r.node)},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=FM()(r,fM.default.createElement(gM.default,cM({defaultStyles:e.defaultStyles},t)),r.node);r.portalRef(n)},BM(r,n)}return function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,dM.Component),uM(e,[{key:'componentDidMount',value:function(){vM.canUseDOM&&(_M||(this.node=jM('div')),this.node.className=this.props.portalClassName,EM(this.props.parentSelector).appendChild(this.node),!_M&&this.renderPortal(this.props))}},{key:'getSnapshotBeforeUpdate',value:function(e){return{prevParent:EM(e.parentSelector),nextParent:EM(this.props.parentSelector)}}},{key:'componentDidUpdate',value:function(e,t,n){if(vM.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||i)&&!_M&&this.renderPortal(this.props)}}},{key:'componentWillUnmount',value:function(){if(vM.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:'render',value:function(){return vM.canUseDOM&&_M?(!this.node&&_M&&(this.node=jM('div')),FM()(fM.default.createElement(gM.default,cM({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)):null}}],[{key:'setAppElement',value:function(e){mM.setElement(e)}}]),e}();SM.propTypes={isOpen:pM.default.bool.isRequired,style:pM.default.shape({content:pM.default.object,overlay:pM.default.object}),portalClassName:pM.default.string,bodyOpenClassName:pM.default.string,htmlOpenClassName:pM.default.string,className:pM.default.oneOfType([pM.default.string,pM.default.shape({base:pM.default.string.isRequired,afterOpen:pM.default.string.isRequired,beforeClose:pM.default.string.isRequired})]),overlayClassName:pM.default.oneOfType([pM.default.string,pM.default.shape({base:pM.default.string.isRequired,afterOpen:pM.default.string.isRequired,beforeClose:pM.default.string.isRequired})]),appElement:pM.default.oneOfType([pM.default.instanceOf(bM.default),pM.default.instanceOf(vM.SafeHTMLCollection),pM.default.instanceOf(vM.SafeNodeList),pM.default.arrayOf(pM.default.instanceOf(bM.default))]),onAfterOpen:pM.default.func,onRequestClose:pM.default.func,closeTimeoutMS:pM.default.number,ariaHideApp:pM.default.bool,shouldFocusAfterRender:pM.default.bool,shouldCloseOnOverlayClick:pM.default.bool,shouldReturnFocusAfterClose:pM.default.bool,preventScroll:pM.default.bool,parentSelector:pM.default.func,aria:pM.default.object,data:pM.default.object,role:pM.default.string,contentLabel:pM.default.string,shouldCloseOnEsc:pM.default.bool,overlayRef:pM.default.func,contentRef:pM.default.func,id:pM.default.string,overlayElement:pM.default.func,contentElement:pM.default.func},SM.defaultProps={isOpen:!1,portalClassName:xM,bodyOpenClassName:CM,role:'dialog',ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return fM.default.createElement('div',e,t)},contentElement:function(e,t){return fM.default.createElement('div',e,t)}},SM.defaultStyles={overlay:{position:'fixed',top:0,left:0,right:0,bottom:0,backgroundColor:'rgba(255, 255, 255, 0.75)'},content:{position:'absolute',top:'40px',left:'40px',right:'40px',bottom:'40px',border:'1px solid #ccc',background:'#fff',overflow:'auto',WebkitOverflowScrolling:'touch',borderRadius:'4px',outline:'none',padding:'20px'}},(0,yM.polyfill)(SM),'production'!==process.env.NODE_ENV&&(SM.setCreateHTMLElement=function(e){return jM=e}),gT.default=SM,function(e,t){Object.defineProperty(t,'__esModule',{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(gT);t.default=n.default,e.exports=t.default}(pT,pT.exports);var kM,UM,QM,LM,OM,IM,NM,TM,MM,PM,DM,RM,HM,zM,KM,VM,qM,GM,WM=Kn(pT.exports),YM=function(e){var n=e.label,r=e.isOpen,i=e.onToggle,o=e.children,s=e.className;return t.createElement('div',{className:'vu-w-full '.concat(null!=s?s:'')},t.createElement('button',{type:'button',onClick:i,className:'vu-w-full vu-flex vu-items-center vu-gap-2 vu-py-2','aria-expanded':r},t.createElement(un,{size:16,svg:r?'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.31%2C8.48c-.39-.39-1.02-.39-1.41%2C0l-4.93%2C4.93-4.86-4.86c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l5.57%2C5.57c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.01-.01%2C.01-.03%2C.03-.04%2C.01-.01%2C.03-.01%2C.04-.03l5.57-5.57c.39-.39%2C.39-1.02%2C0-1.41Z%22%2F%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.52%2C11.33s-.03-.01-.04-.03c-.01-.01-.01-.03-.03-.04l-5.57-5.57c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l4.93%2C4.93-4.86%2C4.86c-.39%2C.39-.39%2C1.02%2C0%2C1.41%2C.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29l5.57-5.57c.39-.39%2C.39-1.02%2C0-1.41Z%22%2F%3E%3C%2Fsvg%3E'}),t.createElement('span',{className:'vu-font-medium'},n)),t.createElement('div',{className:'vu-transition-[max-height,opacity] vu-duration-300 vu-ease-in-out '.concat(r?'vu-max-h-52 vu-opacity-100':'vu-max-h-0 vu-opacity-0',' vu-overflow-hidden vu-border-l vu-mx-3.5')},t.createElement('div',{className:'vu-max-h-52 '.concat(r?'vu-overflow-y-auto':'vu-overflow-hidden')},t.createElement('div',{className:'vu-px-4 vu-py-2 vu-text-xs'},o))))},XM=Nt.div(kM||(kM=Pe(['\n vu-flex\n vu-justify-between\n vu-mx-4\n vu-mt-3\n'],['\n vu-flex\n vu-justify-between\n vu-mx-4\n vu-mt-3\n']))),JM=Nt.h4(UM||(UM=Pe(['\n vu-m-0\n vu-font-normal\n vu-text-lg\n'],['\n vu-m-0\n vu-font-normal\n vu-text-lg\n']))),ZM=Nt.div(QM||(QM=Pe(['\n vu-flex\n vu-flex-col\n vu-gap-2\n'],['\n vu-flex\n vu-flex-col\n vu-gap-2\n']))),$M=Nt.label(LM||(LM=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n']))),eP=Nt.hr(OM||(OM=Pe(['\n vu-my-4\n vu-border\n vu-opacity-20\n'],['\n vu-my-4\n vu-border\n vu-opacity-20\n']))),tP=Nt.textarea(IM||(IM=Pe(['\n vu-w-[440px]\n vu-border\n vu-border-solid\n vu-border-black/20\n vu-resize-y\n'],['\n vu-w-[440px]\n vu-border\n vu-border-solid\n vu-border-black/20\n vu-resize-y\n']))),nP=Nt.div(NM||(NM=Pe(['\n vu-flex\n vu-justify-end\n vu-gap-4\n vu-mt-6\n'],['\n vu-flex\n vu-justify-end\n vu-gap-4\n vu-mt-6\n']))),rP=Nt.div(TM||(TM=Pe(['\n vu-m-6\n'],['\n vu-m-6\n']))),iP=Nt.div(MM||(MM=Pe(['\n vu-relative\n ','\n vu-w-full\n'],['\n vu-relative\n ','\n vu-w-full\n'])),function(e){return e.$fullWidth?'vu-grow':'vu-grow-0'}),oP=Nt.textarea(PM||(PM=Pe(['\n vu-w-full\n vu-p-4\n vu-pr-10\n vu-bg-white\n dark:vu-bg-dark_mode-700\n vu-border-solid\n vu-border-2\n vu-border-gainsboro\n dark:vu-border-dark_mode-200\n vu-rounded-lg\n vu-focus:outline-none\n vu-resize-none\n'],['\n vu-w-full\n vu-p-4\n vu-pr-10\n vu-bg-white\n dark:vu-bg-dark_mode-700\n vu-border-solid\n vu-border-2\n vu-border-gainsboro\n dark:vu-border-dark_mode-200\n vu-rounded-lg\n vu-focus:outline-none\n vu-resize-none\n']))),sP=Nt.button(DM||(DM=Pe(['\n vu-absolute\n vu-rounded-lg\n vu-bottom-3\n vu-right-2\n vu-px-2\n vu-py-2 \n','\n'],['\n vu-absolute\n vu-rounded-lg\n vu-bottom-3\n vu-right-2\n vu-px-2\n vu-py-2 \n','\n'])),function(e){return e.disabled?'vu-cursor-not-allowed\n vu-opacity-25 \n':''}),aP=function(e){var n=e.$fullWidth,r=e.onClickTextAreaButton,i=e.disabled,o=e.disableTextAreaButton,s=e.icon,a=Ie(e,['$fullWidth','onClickTextAreaButton','disabled','disableTextAreaButton','icon']);return t.createElement(iP,{$fullWidth:n},t.createElement(oP,Oe({disabled:i,rows:2},a,{onKeyDown:function(e){'Enter'===e.key&&(e.preventDefault(),r())}})),t.createElement(sP,{onClick:r,disabled:o},t.createElement(un,{svg:s,size:n?48:40})))},AP=Nt.div(RM||(RM=Pe(['\n vu-flex\n vu-justify-between\n vu-mb-10\n'],['\n vu-flex\n vu-justify-between\n vu-mb-10\n']))),lP=Nt.div(HM||(HM=Pe(['\n vu-font-semibold\n'],['\n vu-font-semibold\n']))),cP=Nt.div(zM||(zM=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n']))),uP='data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M13.41%2C12l6.29-6.29c.39-.39%2C.39-1.02%2C0-1.41s-1.02-.39-1.41%2C0l-6.29%2C6.29L5.71%2C4.29c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l6.29%2C6.29-6.29%2C6.29c-.39%2C.39-.39%2C1.02%2C0%2C1.41%2C.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29l6.29-6.29%2C6.29%2C6.29c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.39-.39%2C.39-1.02%2C0-1.41l-6.29-6.29Z%22%2F%3E%3C%2Fsvg%3E',dP='data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.92%2C11h-5.92V5.08c0-.55-.45-1-1-1s-1%2C.45-1%2C1v5.92H5.08c-.55%2C0-1%2C.45-1%2C1s.45%2C1%2C1%2C1h5.92v5.92c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.92h5.92c.55%2C0%2C1-.45%2C1-1s-.45-1-1-1Z%22%2F%3E%3C%2Fsvg%3E',fP='data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22Layer_1%22%20data-name%3D%22Layer%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%20%20%3Cpath%20d%3D%22m5.09%2C20.53c-.13%2C0-.26-.02-.38-.08-.37-.15-.62-.52-.62-.92V7.24c0-.68.26-1.31.74-1.79s1.12-.74%2C1.79-.74h10.75c.68%2C0%2C1.31.26%2C1.79.74s.74%2C1.12.74%2C1.79v7.68c0%2C.68-.26%2C1.31-.74%2C1.79-.48.48-1.12.74-1.79.74h-8.8l-2.78%2C2.78c-.19.19-.45.29-.71.29Zm1.54-13.82c-.14%2C0-.28.06-.38.16s-.16.24-.16.38v9.87l1.36-1.36c.19-.19.44-.29.71-.29h9.22c.14%2C0%2C.28-.06.38-.16s.16-.24.16-.38v-7.68c0-.14-.06-.28-.16-.38s-.24-.16-.38-.16H6.62Z%22%2F%3E%3C%2Fsvg%3E',hP=function(e){var n=e.handleClickBackBtn,r=e.getNewChatId,i=e.openSideBar;return t.createElement(AP,null,t.createElement(cP,null,t.createElement(Mt,null,t.createElement(un,{svg:Pn,size:36})),t.createElement(lP,null,'AI Assistant')),t.createElement(Mt,{className:'lg:vu-hidden'},t.createElement(fn,{name:'new',icon:fP,onClick:function(){return i(!0)}}),t.createElement(fn,{name:'new',icon:dP,onClick:r})),t.createElement(Mt,null,t.createElement(fn,{name:'back',icon:uP,onClick:n})))},pP=Nt.div(KM||(KM=Pe(['\n vu-w-full\n vu-flex\n vu-justify-center\n vu-items-center\n vu-grow\n vu-gap-3.5\n'],['\n vu-w-full\n vu-flex\n vu-justify-center\n vu-items-center\n vu-grow\n vu-gap-3.5\n']))),gP=Nt.div(VM||(VM=Pe(['\n vu-flex\n vu-flex-col\n'],['\n vu-flex\n vu-flex-col\n']))),mP=Nt.p(qM||(qM=Pe(['\n vu-text-[68px]\n vu-font-medium\n vu-m-0\n'],['\n vu-text-[68px]\n vu-font-medium\n vu-m-0\n']))),vP=Nt.div(GM||(GM=Pe(['\n vu-text-2xl\n'],['\n vu-text-2xl\n']))),bP=function(e){var n=e.errorHeading,r=e.errorInfo;return t.createElement(pP,null,t.createElement(un,{svg:'data:image/svg+xml,%3Csvg%20width%3D%22194%22%20height%3D%22194%22%20viewBox%3D%220%200%20194%20194%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22error_FILL0_wght400_GRAD0_opsz24%201%22%3E%3Cpath%20id%3D%22Vector%22%20d%3D%22M96.9994%20137.416C99.2896%20137.416%20101.209%20136.641%20102.759%20135.092C104.308%20133.543%20105.083%20131.623%20105.083%20129.333C105.083%20127.042%20104.308%20125.123%20102.759%20123.573C101.209%20122.024%2099.2896%20121.249%2096.9994%20121.249C94.7091%20121.249%2092.7893%20122.024%2091.24%20123.573C89.6907%20125.123%2088.916%20127.042%2088.916%20129.333C88.916%20131.623%2089.6907%20133.543%2091.24%20135.092C92.7893%20136.641%2094.7091%20137.416%2096.9994%20137.416ZM88.916%20105.083H105.083V56.5827H88.916V105.083ZM96.9994%20177.833C85.8174%20177.833%2075.3091%20175.711%2065.4743%20171.467C55.6396%20167.223%2047.0848%20161.464%2039.8098%20154.189C32.5348%20146.914%2026.7754%20138.359%2022.5316%20128.524C18.2879%20118.69%2016.166%20108.181%2016.166%2096.9994C16.166%2085.8174%2018.2879%2075.3091%2022.5316%2065.4743C26.7754%2055.6396%2032.5348%2047.0848%2039.8098%2039.8098C47.0848%2032.5348%2055.6396%2026.7754%2065.4743%2022.5316C75.3091%2018.2879%2085.8174%2016.166%2096.9994%2016.166C108.181%2016.166%20118.69%2018.2879%20128.524%2022.5316C138.359%2026.7754%20146.914%2032.5348%20154.189%2039.8098C161.464%2047.0848%20167.223%2055.6396%20171.467%2065.4743C175.711%2075.3091%20177.833%2085.8174%20177.833%2096.9994C177.833%20108.181%20175.711%20118.69%20171.467%20128.524C167.223%20138.359%20161.464%20146.914%20154.189%20154.189C146.914%20161.464%20138.359%20167.223%20128.524%20171.467C118.69%20175.711%20108.181%20177.833%2096.9994%20177.833ZM96.9994%20161.666C115.052%20161.666%20130.343%20155.401%20142.872%20142.872C155.401%20130.343%20161.666%20115.052%20161.666%2096.9994C161.666%2078.9466%20155.401%2063.6556%20142.872%2051.1264C130.343%2038.5973%20115.052%2032.3327%2096.9994%2032.3327C78.9466%2032.3327%2063.6556%2038.5973%2051.1264%2051.1264C38.5973%2063.6556%2032.3327%2078.9466%2032.3327%2096.9994C32.3327%20115.052%2038.5973%20130.343%2051.1264%20142.872C63.6556%20155.401%2078.9466%20161.666%2096.9994%20161.666Z%22%20fill%3D%22url%28%23paint0_linear_956_1542%29%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_956_1542%22%20x1%3D%2296.9994%22%20y1%3D%2216.166%22%20x2%3D%2296.9994%22%20y2%3D%22177.833%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD0B91%22%2F%3E%3Cstop%20offset%3D%220.5%22%20stop-color%3D%22%23E3024D%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF6000%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',size:194}),t.createElement(gP,null,t.createElement(mP,null,n),r&&t.createElement(vP,null,r)))},yP=['Misunderstood query','Out of context','Incomplete response','Incorrect data','Unclear response','Slow response','Inappropriate response','Other'],wP=function(e){var n=e.closeModal,r=e.handleFeedback,i=function(e){var t=new FormData(e.currentTarget),i=t.getAll('feedback'),o=t.get('details');r({isLiked:!1,comments:o,reason:i}),n()};return t.createElement('form',{onSubmit:function(e){e.preventDefault(),i(e)},onKeyDown:function(e){'TEXTAREA'!==e.target.tagName||'Enter'!==e.key||e.shiftKey||(e.preventDefault(),i(e))}},t.createElement(XM,null,t.createElement(JM,null,'Share additional feedback'),t.createElement(fn,{name:'back',icon:uP,onClick:n})),t.createElement(rP,null,t.createElement(ZM,null,yP.map(function(e){return t.createElement($M,{key:e},t.createElement('input',{type:'checkbox',className:'vu-mr-2',name:'feedback',value:e}),t.createElement('span',null,e))})),t.createElement(eP,null),t.createElement(tP,{placeholder:'Share more details (optional)',name:'details',rows:6}),t.createElement(nP,null,t.createElement(dn,{$fill:'outline',onClick:n},'Cancel'),t.createElement(dn,null,'Submit'))))};let BP,xP,CP,_P={data:''},jP=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,FP=/\/\*[^]*?\*\/| +/g,EP=/\n+/g,SP=(e,t)=>{let n='',r='',i='';for(let o in e){let s=e[o];'@'==o[0]?'i'==o[1]?n=o+' '+s+';':r+='f'==o[1]?SP(s,o):o+'{'+SP(s,'k'==o[1]?'':t)+'}':'object'==typeof s?r+=SP(s,t?t.replace(/([^,])+/g,e=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+' '+t:t)):o):null!=s&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,'-$&').toLowerCase(),i+=SP.p?SP.p(o,s):o+':'+s+';')}return n+(t&&i?t+'{'+i+'}':i)+r},kP={},UP=e=>{if('object'==typeof e){let t='';for(let n in e)t+=n+UP(e[n]);return t}return e},QP=(e,t,n,r,i)=>{let o=UP(e),s=kP[o]||(kP[o]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return'go'+n})(o));if(!kP[s]){let t=o!==e?e:(e=>{let t,n,r=[{}];for(;t=jP.exec(e.replace(FP,''));)t[4]?r.shift():t[3]?(n=t[3].replace(EP,' ').trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(EP,' ').trim();return r[0]})(e);kP[s]=SP(i?{['@keyframes '+s]:t}:t,n?'':'.'+s)}let a=n&&kP.g?kP.g:null;return n&&(kP.g=kP[s]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(kP[s],t,r,a),s};function LP(e){let t=this||{},n=e.call?e(t.p):e;return QP(n.unshift?n.raw?((e,t,n)=>e.reduce((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?'.'+t:e&&'object'==typeof e?e.props?'':SP(e,''):!1===e?'':e}return e+r+(null==o?'':o)},''))(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,(e=>{if('object'==typeof window){let t=(e?e.querySelector('#_goober'):window._goober)||Object.assign(document.createElement('style'),{innerHTML:' ',id:'_goober'});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||_P})(t.target),t.g,t.o,t.k)}LP.bind({g:1});let OP=LP.bind({k:1});function IP(e,t){let n=this||{};return function(){let r=arguments;function i(o,s){let a=Object.assign({},o),A=a.className||i.className;n.p=Object.assign({theme:xP&&xP()},a),n.o=/ *go\d+/.test(A),a.className=LP.apply(n,r)+(A?' '+A:''),t&&(a.ref=s);let l=e;return e[0]&&(l=a.as||e,delete a.as),CP&&l[0]&&CP(a),BP(l,a)}return t?t(i):i}}var NP=(e,t)=>(e=>'function'==typeof e)(e)?e(t):e,TP=(()=>{let e=0;return()=>(++e).toString()})(),MP=(()=>{let e;return()=>{if(void 0===e&&typeof window<'u'){let t=matchMedia('(prefers-reduced-motion: reduce)');e=!t||t.matches}return e}})(),PP='default',DP=(e,t)=>{let{toastLimit:n}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,n)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return DP(e,{type:e.toasts.find(e=>e.id===r.id)?1:0,toast:r});case 3:let{toastId:i}=t;return{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,dismissed:!0,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+o}))}}},RP=[],HP={toasts:[],pausedAt:void 0,settings:{toastLimit:20}},zP={},KP=(e,t=PP)=>{zP[t]=DP(zP[t]||HP,e),RP.forEach(([e,n])=>{e===t&&n(zP[t])})},VP=e=>Object.keys(zP).forEach(t=>KP(e,t)),qP=(e=PP)=>t=>{KP(t,e)},GP={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},WP=e=>(t,n)=>{let r=((e,t='blank',n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:'status','aria-live':'polite'},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||TP()}))(t,e,n);return qP(r.toasterId||(e=>Object.keys(zP).find(t=>zP[t].toasts.some(t=>t.id===e)))(r.id))({type:2,toast:r}),r.id},YP=(e,t)=>WP('blank')(e,t);YP.error=WP('error'),YP.success=WP('success'),YP.loading=WP('loading'),YP.custom=WP('custom'),YP.dismiss=(e,t)=>{let n={type:3,toastId:e};t?qP(t)(n):VP(n)},YP.dismissAll=e=>YP.dismiss(void 0,e),YP.remove=(e,t)=>{let n={type:4,toastId:e};t?qP(t)(n):VP(n)},YP.removeAll=e=>YP.remove(void 0,e),YP.promise=(e,t,n)=>{let r=YP.loading(t.loading,{...n,...null==n?void 0:n.loading});return'function'==typeof e&&(e=e()),e.then(e=>{let i=t.success?NP(t.success,e):void 0;return i?YP.success(i,{id:r,...n,...null==n?void 0:n.success}):YP.dismiss(r),e}).catch(e=>{let i=t.error?NP(t.error,e):void 0;i?YP.error(i,{id:r,...n,...null==n?void 0:n.error}):YP.dismiss(r)}),e};var XP=(e,t='default')=>{let{toasts:i,pausedAt:a}=((e={},t=PP)=>{let[i,s]=n(zP[t]||HP),a=o(zP[t]);r(()=>(a.current!==zP[t]&&s(zP[t]),RP.push([t,s]),()=>{let e=RP.findIndex(([e])=>e===t);e>-1&&RP.splice(e,1)}),[t]);let A=i.toasts.map(t=>{var n,r,i;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(n=e[t.type])?void 0:n.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||GP[t.type],style:{...e.style,...null==(i=e[t.type])?void 0:i.style,...t.style}}});return{...i,toasts:A}})(e,t),A=o(new Map).current,l=s((e,t=1e3)=>{if(A.has(e))return;let n=setTimeout(()=>{A.delete(e),c({type:4,toastId:e})},t);A.set(e,n)},[]);r(()=>{if(a)return;let e=Date.now(),n=i.map(n=>{if(n.duration===1/0)return;let r=(n.duration||0)+n.pauseDuration-(e-n.createdAt);if(!(r<0))return setTimeout(()=>YP.dismiss(n.id,t),r);n.visible&&YP.dismiss(n.id)});return()=>{n.forEach(e=>e&&clearTimeout(e))}},[i,a,t]);let c=s(qP(t),[t]),u=s(()=>{c({type:5,time:Date.now()})},[c]),d=s((e,t)=>{c({type:1,toast:{id:e,height:t}})},[c]),f=s(()=>{a&&c({type:6,time:Date.now()})},[a,c]),h=s((e,t)=>{let{reverseOrder:n=!1,gutter:r=8,defaultPosition:o}=t||{},s=i.filter(t=>(t.position||o)===(e.position||o)&&t.height),a=s.findIndex(t=>t.id===e.id),A=s.filter((e,t)=>t<a&&e.visible).length;return s.filter(e=>e.visible).slice(...n?[A+1]:[0,A]).reduce((e,t)=>e+(t.height||0)+r,0)},[i]);return r(()=>{i.forEach(e=>{if(e.dismissed)l(e.id,e.removeDelay);else{let t=A.get(e.id);t&&(clearTimeout(t),A.delete(e.id))}})},[i,l]),{toasts:i,handlers:{updateHeight:d,startPause:u,endPause:f,calculateOffset:h}}},JP=OP`
|
|
14
|
+
*/function _r(){if(dr)return ur;dr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return ur=function(){try{if(!Object.assign)return!1;var e=new String('abc');if(e[5]='de','5'===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t['_'+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if('0123456789'!==r.join(''))return!1;var i={};return'abcdefghijklmnopqrst'.split('').forEach(function(e){i[e]=e}),'abcdefghijklmnopqrst'===Object.keys(Object.assign({},i)).join('')}catch(e){return!1}}()?Object.assign:function(r,i){for(var o,s,a=function(e){if(null==e)throw new TypeError('Object.assign cannot be called with null or undefined');return Object(e)}(r),A=1;A<arguments.length;A++){for(var l in o=Object(arguments[A]))t.call(o,l)&&(a[l]=o[l]);if(e){s=e(o);for(var c=0;c<s.length;c++)n.call(o,s[c])&&(a[s[c]]=o[s[c]])}}return a},ur}function jr(){if(hr)return fr;hr=1;return fr='SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'}function Fr(){return gr?pr:(gr=1,pr=Function.call.bind(Object.prototype.hasOwnProperty))}if('production'!==process.env.NODE_ENV){var Er=Cr();sr.exports=function(){if(yr)return br;yr=1;var e=Cr(),t=_r(),n=jr(),r=Fr(),i=function(){if(vr)return mr;vr=1;var e=function(){};if('production'!==process.env.NODE_ENV){var t=jr(),n={},r=Fr();e=function(e){var t='Warning: '+e;try{throw new Error(t)}catch(e){}}}function i(i,o,s,a,A){if('production'!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var c;try{if('function'!=typeof i[l]){var u=Error((a||'React class')+': '+s+' type `'+l+'` is invalid; it must be a function, usually from the `prop-types` package, but received `'+typeof i[l]+'`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');throw u.name='Invariant Violation',u}c=i[l](o,l,a,s,null,t)}catch(e){c=e}if(!c||c instanceof Error||e((a||'React class')+': type specification of '+s+' `'+l+'` is invalid; the type checker function must return `null` or an `Error` but returned a '+typeof c+'. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).'),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var d=A?A():'';e('Failed '+s+' type: '+c.message+(null!=d?d:''))}}}return i.resetWarningCache=function(){'production'!==process.env.NODE_ENV&&(n={})},mr=i}(),o=function(){};function s(){return null}return'production'!==process.env.NODE_ENV&&(o=function(e){var t='Warning: '+e;try{throw new Error(t)}catch(e){}}),br=function(a,A){var l='function'==typeof Symbol&&Symbol.iterator,c='<<anonymous>>',u={array:p('array'),bigint:p('bigint'),bool:p('boolean'),func:p('function'),number:p('number'),object:p('object'),string:p('string'),symbol:p('symbol'),any:h(s),arrayOf:function(e){return h(function(t,r,i,o,s){if('function'!=typeof e)return new f('Property `'+s+'` of component `'+i+'` has invalid PropType notation inside arrayOf.');var a=t[r];if(!Array.isArray(a))return new f('Invalid '+o+' `'+s+'` of type `'+v(a)+'` supplied to `'+i+'`, expected an array.');for(var A=0;A<a.length;A++){var l=e(a,A,i,o,s+'['+A+']',n);if(l instanceof Error)return l}return null})},element:h(function(e,t,n,r,i){var o=e[t];return a(o)?null:new f('Invalid '+r+' `'+i+'` of type `'+v(o)+'` supplied to `'+n+'`, expected a single ReactElement.')}),elementType:h(function(t,n,r,i,o){var s=t[n];return e.isValidElementType(s)?null:new f('Invalid '+i+' `'+o+'` of type `'+v(s)+'` supplied to `'+r+'`, expected a single ReactElement type.')}),instanceOf:function(e){return h(function(t,n,r,i,o){if(!(t[n]instanceof e)){var s=e.name||c;return new f('Invalid '+i+' `'+o+'` of type `'+((a=t[n]).constructor&&a.constructor.name?a.constructor.name:c)+'` supplied to `'+r+'`, expected instance of `'+s+'`.')}var a;return null})},node:h(function(e,t,n,r,i){return m(e[t])?null:new f('Invalid '+r+' `'+i+'` supplied to `'+n+'`, expected a ReactNode.')}),objectOf:function(e){return h(function(t,i,o,s,a){if('function'!=typeof e)return new f('Property `'+a+'` of component `'+o+'` has invalid PropType notation inside objectOf.');var A=t[i],l=v(A);if('object'!==l)return new f('Invalid '+s+' `'+a+'` of type `'+l+'` supplied to `'+o+'`, expected an object.');for(var c in A)if(r(A,c)){var u=e(A,c,o,s,a+'.'+c,n);if(u instanceof Error)return u}return null})},oneOf:function(e){return Array.isArray(e)?h(function(t,n,r,i,o){for(var s=t[n],a=0;a<e.length;a++)if(d(s,e[a]))return null;var A=JSON.stringify(e,function(e,t){return'symbol'===b(t)?String(t):t});return new f('Invalid '+i+' `'+o+'` of value `'+String(s)+'` supplied to `'+r+'`, expected one of '+A+'.')}):('production'!==process.env.NODE_ENV&&o(arguments.length>1?'Invalid arguments supplied to oneOf, expected an array, got '+arguments.length+' arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).':'Invalid argument supplied to oneOf, expected an array.'),s)},oneOfType:function(e){if(!Array.isArray(e))return'production'!==process.env.NODE_ENV&&o('Invalid argument supplied to oneOfType, expected an instance of array.'),s;for(var t=0;t<e.length;t++){var i=e[t];if('function'!=typeof i)return o('Invalid argument supplied to oneOfType. Expected an array of check functions, but received '+y(i)+' at index '+t+'.'),s}return h(function(t,i,o,s,a){for(var A=[],l=0;l<e.length;l++){var c=(0,e[l])(t,i,o,s,a,n);if(null==c)return null;c.data&&r(c.data,'expectedType')&&A.push(c.data.expectedType)}return new f('Invalid '+s+' `'+a+'` supplied to `'+o+'`'+(A.length>0?', expected one of type ['+A.join(', ')+']':'')+'.')})},shape:function(e){return h(function(t,r,i,o,s){var a=t[r],A=v(a);if('object'!==A)return new f('Invalid '+o+' `'+s+'` of type `'+A+'` supplied to `'+i+'`, expected `object`.');for(var l in e){var c=e[l];if('function'!=typeof c)return g(i,o,s,l,b(c));var u=c(a,l,i,o,s+'.'+l,n);if(u)return u}return null})},exact:function(e){return h(function(i,o,s,a,A){var l=i[o],c=v(l);if('object'!==c)return new f('Invalid '+a+' `'+A+'` of type `'+c+'` supplied to `'+s+'`, expected `object`.');var u=t({},i[o],e);for(var d in u){var h=e[d];if(r(e,d)&&'function'!=typeof h)return g(s,a,A,d,b(h));if(!h)return new f('Invalid '+a+' `'+A+'` key `'+d+'` supplied to `'+s+'`.\nBad object: '+JSON.stringify(i[o],null,' ')+'\nValid keys: '+JSON.stringify(Object.keys(e),null,' '));var p=h(l,d,s,a,A+'.'+d,n);if(p)return p}return null})}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&'object'==typeof t?t:{},this.stack=''}function h(e){if('production'!==process.env.NODE_ENV)var t={},r=0;function i(i,s,a,l,u,d,h){if(l=l||c,d=d||a,h!==n){if(A){var p=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 p.name='Invariant Violation',p}if('production'!==process.env.NODE_ENV&&'undefined'!=typeof console){var g=l+':'+a;!t[g]&&r<3&&(o('You are manually calling a React.PropTypes validation function for the `'+d+'` prop on `'+l+'`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.'),t[g]=!0,r++)}}return null==s[a]?i?null===s[a]?new f('The '+u+' `'+d+'` is marked as required in `'+l+'`, but its value is `null`.'):new f('The '+u+' `'+d+'` is marked as required in `'+l+'`, but its value is `undefined`.'):null:e(s,a,l,u,d)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function p(e){return h(function(t,n,r,i,o,s){var a=t[n];return v(a)!==e?new f('Invalid '+i+' `'+o+'` of type `'+b(a)+'` supplied to `'+r+'`, expected `'+e+'`.',{expectedType:e}):null})}function g(e,t,n,r,i){return new f((e||'React class')+': '+t+' type `'+n+'.'+r+'` is invalid; it must be a function, usually from the `prop-types` package, but received `'+i+'`.')}function m(e){switch(typeof e){case'number':case'string':case'undefined':return!0;case'boolean':return!e;case'object':if(Array.isArray(e))return e.every(m);if(null===e||a(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e['@@iterator']);if('function'==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!m(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?'array':e instanceof RegExp?'object':function(e,t){return'symbol'===e||!!t&&('Symbol'===t['@@toStringTag']||'function'==typeof Symbol&&t instanceof Symbol)}(t,e)?'symbol':t}function b(e){if(null==e)return''+e;var t=v(e);if('object'===t){if(e instanceof Date)return'date';if(e instanceof RegExp)return'regexp'}return t}function y(e){var t=b(e);switch(t){case'array':case'object':return'an '+t;case'boolean':case'date':case'regexp':return'a '+t;default:return t}}return f.prototype=Error.prototype,u.checkPropTypes=i,u.resetWarningCache=i.resetWarningCache,u.PropTypes=u,u},br}()(Er.isElement,!0)}else sr.exports=function(){if(Br)return wr;Br=1;var e=jr();function t(){}function n(){}return n.resetWarningCache=t,wr=function(){function r(t,n,r,i,o,s){if(s!==e){var a=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 a.name='Invariant Violation',a}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}()();var Sr=sr.exports,kr=rr(Sr),Ur=Gr(),Qr=e=>zr(e,Ur),Lr=Gr();Qr.write=e=>zr(e,Lr);var Or=Gr();Qr.onStart=e=>zr(e,Or);var Ir=Gr();Qr.onFrame=e=>zr(e,Ir);var Nr=Gr();Qr.onFinish=e=>zr(e,Nr);var Tr=[];Qr.setTimeout=(e,t)=>{const n=Qr.now()+t,r=()=>{const e=Tr.findIndex(e=>e.cancel==r);~e&&Tr.splice(e,1),Rr-=~e?1:0},i={time:n,handler:e,cancel:r};return Tr.splice(Mr(n),0,i),Rr+=1,Kr(),i};var Mr=e=>~(~Tr.findIndex(t=>t.time>e)||~Tr.length);Qr.cancel=e=>{Or.delete(e),Ir.delete(e),Nr.delete(e),Ur.delete(e),Lr.delete(e)},Qr.sync=e=>{Hr=!0,Qr.batchedUpdates(e),Hr=!1},Qr.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Qr.onStart(n)}return r.handler=e,r.cancel=()=>{Or.delete(n),t=null},r};var Pr='undefined'!=typeof window?window.requestAnimationFrame:()=>{};Qr.use=e=>Pr=e,Qr.now='undefined'!=typeof performance?()=>performance.now():Date.now,Qr.batchedUpdates=e=>e(),Qr.catch=console.error,Qr.frameLoop='always',Qr.advance=()=>{'demand'!==Qr.frameLoop||qr()};var Dr=-1,Rr=0,Hr=!1;function zr(e,t){Hr?(t.delete(e),e(0)):(t.add(e),Kr())}function Kr(){Dr<0&&(Dr=0,'demand'!==Qr.frameLoop&&Pr(Vr))}function Vr(){~Dr&&(Pr(Vr),Qr.batchedUpdates(qr))}function qr(){const e=Dr;Dr=Qr.now();const t=Mr(Dr);t&&(Wr(Tr.splice(0,t),e=>e.handler()),Rr-=t),Rr?(Or.flush(),Ur.flush(e?Math.min(64,Dr-e):16.667),Ir.flush(),Lr.flush(),Nr.flush()):Dr=-1}function Gr(){let e=new Set,t=e;return{add(n){Rr+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(Rr-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,Rr-=t.size,Wr(t,t=>t(n)&&e.add(t)),Rr+=e.size,t=e)}}}function Wr(e,t){e.forEach(e=>{try{t(e)}catch(e){Qr.catch(e)}})}var Yr=Object.defineProperty,Xr={};function Jr(){}((e,t)=>{for(var n in t)Yr(e,n,{get:t[n],enumerable:!0})})(Xr,{assign:()=>ui,colors:()=>Ai,createStringInterpolator:()=>ii,skipAnimation:()=>li,to:()=>oi,willAdvance:()=>ci});var Zr={arr:Array.isArray,obj:e=>!!e&&'Object'===e.constructor.name,fun:e=>'function'==typeof e,str:e=>'string'==typeof e,num:e=>'number'==typeof e,und:e=>void 0===e};function $r(e,t){if(Zr.arr(e)){if(!Zr.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var ei=(e,t)=>e.forEach(t);function ti(e,t,n){if(Zr.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var ni=e=>Zr.und(e)?[]:Zr.arr(e)?e:[e];function ri(e,t){if(e.size){const n=Array.from(e);e.clear(),ei(n,t)}}var ii,oi,si=(e,...t)=>ri(e,e=>e(...t)),ai=()=>'undefined'==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Ai=null,li=!1,ci=Jr,ui=e=>{e.to&&(oi=e.to),e.now&&(Qr.now=e.now),void 0!==e.colors&&(Ai=e.colors),null!=e.skipAnimation&&(li=e.skipAnimation),e.createStringInterpolator&&(ii=e.createStringInterpolator),e.requestAnimationFrame&&Qr.use(e.requestAnimationFrame),e.batchedUpdates&&(Qr.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ci=e.willAdvance),e.frameLoop&&(Qr.frameLoop=e.frameLoop)},di=new Set,fi=[],hi=[],pi=0,gi={get idle(){return!di.size&&!fi.length},start(e){pi>e.priority?(di.add(e),Qr.onStart(mi)):(vi(e),Qr(yi))},advance:yi,sort(e){if(pi)Qr.onFrame(()=>gi.sort(e));else{const t=fi.indexOf(e);~t&&(fi.splice(t,1),bi(e))}},clear(){fi=[],di.clear()}};function mi(){di.forEach(vi),di.clear(),Qr(yi)}function vi(e){fi.includes(e)||bi(e)}function bi(e){fi.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(fi,t=>t.priority>e.priority),0,e)}function yi(e){const t=hi;for(let n=0;n<fi.length;n++){const r=fi[n];pi=r.priority,r.idle||(ci(r),r.advance(e),r.idle||t.push(r))}return pi=0,(hi=fi).length=0,(fi=t).length>0}var wi='[-+]?\\d*\\.?\\d+',Bi=wi+'%';function xi(...e){return'\\(\\s*('+e.join(')\\s*,\\s*(')+')\\s*\\)'}var Ci=new RegExp('rgb'+xi(wi,wi,wi)),_i=new RegExp('rgba'+xi(wi,wi,wi,wi)),ji=new RegExp('hsl'+xi(wi,Bi,Bi)),Fi=new RegExp('hsla'+xi(wi,Bi,Bi,wi)),Ei=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Si=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ki=/^#([0-9a-fA-F]{6})$/,Ui=/^#([0-9a-fA-F]{8})$/;function Qi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Li(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Qi(i,r,e+1/3),s=Qi(i,r,e),a=Qi(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function Oi(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Ii(e){return(parseFloat(e)%360+360)%360/360}function Ni(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ti(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Mi(e){let t=function(e){let t;return'number'==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ki.exec(e))?parseInt(t[1]+'ff',16)>>>0:Ai&&void 0!==Ai[e]?Ai[e]:(t=Ci.exec(e))?(Oi(t[1])<<24|Oi(t[2])<<16|Oi(t[3])<<8|255)>>>0:(t=_i.exec(e))?(Oi(t[1])<<24|Oi(t[2])<<16|Oi(t[3])<<8|Ni(t[4]))>>>0:(t=Ei.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+'ff',16)>>>0:(t=Ui.exec(e))?parseInt(t[1],16)>>>0:(t=Si.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ji.exec(e))?(255|Li(Ii(t[1]),Ti(t[2]),Ti(t[3])))>>>0:(t=Fi.exec(e))?(Li(Ii(t[1]),Ti(t[2]),Ti(t[3]))|Ni(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var Pi=(e,t,n)=>{if(Zr.fun(e))return e;if(Zr.arr(e))return Pi({range:e,output:t,extrapolate:n});if(Zr.str(e.output[0]))return ii(e);const r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||'extend',a=r.extrapolateRight||r.extrapolate||'extend',A=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,s,a,A){let l=A?A(e):e;if(l<t){if('identity'===s)return l;'clamp'===s&&(l=t)}if(l>n){if('identity'===a)return l;'clamp'===a&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,o[t],o[t+1],i[t],i[t+1],A,s,a,r.map)}};var Di=1.70158,Ri=1.525*Di,Hi=Di+1,zi=2*Math.PI/3,Ki=2*Math.PI/4.5,Vi=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},qi={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Hi*e*e*e-Di*e*e,easeOutBack:e=>1+Hi*Math.pow(e-1,3)+Di*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-Ri)/2:(Math.pow(2*e-2,2)*((Ri+1)*(2*e-2)+Ri)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*zi),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*zi)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ki)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ki)/2+1,easeInBounce:e=>1-Vi(1-e),easeOutBounce:Vi,easeInOutBounce:e=>e<.5?(1-Vi(1-2*e))/2:(1+Vi(2*e-1))/2,steps:(e,t='end')=>n=>{const r=(n='end'===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,e),t))(0,1,('end'===t?Math.floor(r):Math.ceil(r))/e)}},Gi=Symbol.for('FluidValue.get'),Wi=Symbol.for('FluidValue.observers'),Yi=e=>Boolean(e&&e[Gi]),Xi=e=>e&&e[Gi]?e[Gi]():e,Ji=e=>e[Wi]||null;function Zi(e,t){const n=e[Wi];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var $i=class{constructor(e){if(!e&&!(e=this.get))throw Error('Unknown getter');eo(this,e)}},eo=(e,t)=>io(e,Gi,t);function to(e,t){if(e[Gi]){let n=e[Wi];n||io(e,Wi,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function no(e,t){const n=e[Wi];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Wi]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var ro,io=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),oo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,so=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ao=new RegExp(`(${oo.source})(%|[a-z]+)`,'i'),Ao=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,lo=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,co=e=>{const[t,n]=uo(e);if(!t||ai())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith('--')){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&lo.test(n)?co(n):n||e},uo=e=>{const t=lo.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},fo=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,ho=e=>{ro||(ro=Ai?new RegExp(`(${Object.keys(Ai).join('|')})(?!\\w)`,'g'):/^\b$/);const t=e.output.map(e=>Xi(e).replace(lo,co).replace(so,Mi).replace(ro,Mi)),n=t.map(e=>e.match(oo).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})),i=r.map(t=>Pi({...e,output:t}));return e=>{const n=!ao.test(t[0])&&t.find(e=>ao.test(e))?.replace(oo,'');let r=0;return t[0].replace(oo,()=>`${i[r++](e)}${n||''}`).replace(Ao,fo)}},po='react-spring: ',go=e=>{const t=e;let n=!1;if('function'!=typeof t)throw new TypeError(`${po}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},mo=go(console.warn);var vo=go(console.warn);function bo(e){return Zr.str(e)&&('#'==e[0]||/\d/.test(e)||!ai()&&lo.test(e)||e in(Ai||{}))}var yo=ai()?r:l;function wo(){const e=n()[1],t=(()=>{const e=o(!1);return yo(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var Bo=e=>r(e,xo),xo=[];function Co(e){const t=o();return r(()=>{t.current=e}),t.current}var _o=Symbol.for('Animated:node'),jo=e=>e&&e[_o],Fo=(e,t)=>{return n=e,r=_o,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Eo=e=>e&&e[_o]&&e[_o].getPayload(),So=class{constructor(){Fo(this,this)}getPayload(){return this.payload||[]}},ko=class extends So{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Zr.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ko(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Zr.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,Zr.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Uo=class extends ko{constructor(e){super(0),this._string=null,this._toString=Pi({output:[e,e]})}static create(e){return new Uo(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Zr.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=Pi({output:[this.getValue(),e]})),this._value=0,super.reset()}},Qo={dependencies:null},Lo=class extends So{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return ti(this.source,(n,r)=>{var i;(i=n)&&i[_o]===i?t[r]=n.getValue(e):Yi(n)?t[r]=Xi(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&ei(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return ti(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Qo.dependencies&&Yi(e)&&Qo.dependencies.add(e);const t=Eo(e);t&&ei(t,e=>this.add(e))}},Oo=class extends Lo{constructor(e){super(e)}static create(e){return new Oo(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(Io)),!0)}};function Io(e){return(bo(e)?Uo:ko).create(e)}function No(e){const t=jo(e);return t?t.constructor:Zr.arr(e)?Oo:bo(e)?Uo:ko}var To=(t,n)=>{const i=!Zr.fun(t)||t.prototype&&t.prototype.isReactComponent;return c((a,A)=>{const l=o(null),c=i&&s(e=>{l.current=function(e,t){e&&(Zr.fun(e)?e(t):e.current=t);return t}(A,e)},[A]),[u,d]=function(e,t){const n=new Set;Qo.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new Lo(e),Qo.dependencies=null,[e,n]}(a,n),f=wo(),h=()=>{const e=l.current;if(i&&!e)return;!1===(!!e&&n.applyAnimatedValues(e,u.getValue(!0)))&&f()},p=new Mo(h,d),g=o();yo(()=>(g.current=p,ei(d,e=>to(e,p)),()=>{g.current&&(ei(g.current.deps,e=>no(e,g.current)),Qr.cancel(g.current.update))})),r(h,[]),Bo(()=>()=>{const e=g.current;ei(e.deps,t=>no(t,e))});const m=n.getComponentProps(u.getValue());return e.createElement(t,{...m,ref:c})})},Mo=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){'change'==e.type&&Qr.write(this.update)}};var Po=Symbol.for('AnimatedComponent'),Do=e=>Zr.str(e)?e:e&&Zr.str(e.displayName)?e.displayName:Zr.fun(e)&&e.name||null;function Ro(e,...t){return Zr.fun(e)?e(...t):e}var Ho=(e,t)=>!0===e||!!(t&&e&&(Zr.fun(e)?e(t):ni(e).includes(t))),zo=(e,t)=>Zr.obj(e)?t&&e[t]:e,Ko=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Vo=e=>e,qo=(e,t=Vo)=>{let n=Go;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);Zr.und(n)||(r[i]=n)}return r},Go=['config','onProps','onStart','onChange','onPause','onResume','onRest'],Wo={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Yo(e){const t=function(e){const t={};let n=0;if(ti(e,(e,r)=>{Wo[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return ti(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function Xo(e){return e=Xi(e),Zr.arr(e)?e.map(Xo):bo(e)?Xr.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Jo(e){for(const t in e)return!0;return!1}function Zo(e){return Zr.fun(e)||Zr.arr(e)&&Zr.obj(e[0])}function $o(e,t){e.ref?.delete(e),t?.delete(e)}function es(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var ts={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},ns={...ts.default,mass:1,damping:1,easing:qi.linear,clamp:!1},rs=class{constructor(){this.velocity=0,Object.assign(this,ns)}};function is(e,t){if(Zr.und(t.decay)){const n=!Zr.und(t.tension)||!Zr.und(t.friction);!n&&Zr.und(t.frequency)&&Zr.und(t.damping)&&Zr.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var os=[],ss=class{constructor(){this.changed=!1,this.values=os,this.toValues=null,this.fromValues=os,this.config=new rs,this.immediate=!1}};function as(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let A,l,c=Ho(n.cancel??r?.cancel,t);if(c)f();else{Zr.und(n.pause)||(i.paused=Ho(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||Ho(e,t)),A=Ro(n.delay||0,t),e?(i.resumeQueue.add(d),o.pause()):(o.resume(),d())}function u(){i.resumeQueue.add(d),i.timeouts.delete(l),l.cancel(),A=l.time-Qr.now()}function d(){A>0&&!Xr.skipAnimation?(i.delayed=!0,l=Qr.setTimeout(f,A),i.pauseQueue.add(u),i.timeouts.add(l)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(u),i.timeouts.delete(l),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},s)}catch(e){a(e)}}})}var As=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?us(e.get()):t.every(e=>e.noop)?ls(e.get()):cs(e.get(),t.every(e=>e.finished)),ls=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),cs=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),us=e=>({value:e,cancelled:!0,finished:!1});function ds(e,t,n,r){const{callId:i,parentId:o,onRest:s}=t,{asyncTo:a,promise:A}=n;return o||e!==a||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const l=qo(t,(e,t)=>'onRest'===t?void 0:e);let c,u;const d=new Promise((e,t)=>(c=e,u=t)),f=e=>{const t=i<=(n.cancelId||0)&&us(r)||i!==n.asyncId&&cs(r,!1);if(t)throw e.result=t,u(e),e},h=(e,t)=>{const o=new hs,s=new ps;return(async()=>{if(Xr.skipAnimation)throw fs(n),s.result=cs(r,!1),u(s),s;f(o);const a=Zr.obj(e)?{...e}:{...t,to:e};a.parentId=i,ti(l,(e,t)=>{Zr.und(a[t])&&(a[t]=e)});const A=await r.start(a);return f(o),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),A})()};let p;if(Xr.skipAnimation)return fs(n),cs(r,!1);try{let t;t=Zr.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(c),d]),p=cs(r.get(),!0,!1)}catch(e){if(e instanceof hs)p=e.result;else{if(!(e instanceof ps))throw e;p=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?a:void 0,n.promise=o?A:void 0)}return Zr.fun(s)&&Qr.batchedUpdates(()=>{s(p,r,r.item)}),p})():A}function fs(e,t){ri(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var hs=class extends Error{constructor(){super('An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.')}},ps=class extends Error{constructor(){super('SkipAnimationSignal')}},gs=e=>e instanceof vs,ms=1,vs=class extends $i{constructor(){super(...arguments),this.id=ms++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=jo(this);return e&&e.getValue()}to(...e){return Xr.to(this,e)}interpolate(...e){return mo(`${po}The "interpolate" function is deprecated in v9 (use "to" instead)`),Xr.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Zi(this,{type:'change',parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||gi.sort(this),Zi(this,{type:'priority',parent:this,priority:e})}},bs=Symbol.for('SpringPhase'),ys=e=>(1&e[bs])>0,ws=e=>(2&e[bs])>0,Bs=e=>(4&e[bs])>0,xs=(e,t)=>t?e[bs]|=3:e[bs]&=-3,Cs=(e,t)=>t?e[bs]|=4:e[bs]&=-5,_s=class extends vs{constructor(e,t){if(super(),this.animation=new ss,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!Zr.und(e)||!Zr.und(t)){const n=Zr.obj(e)?{...e}:{...t,from:e};Zr.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(ws(this)||this._state.asyncTo)||Bs(this)}get goal(){return Xi(this.animation.to)}get velocity(){const e=jo(this);return e instanceof ko?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return ys(this)}get isAnimating(){return ws(this)}get isPaused(){return Bs(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,s=Eo(r.to);!s&&Yi(r.to)&&(i=ni(Xi(r.to))),r.values.forEach((a,A)=>{if(a.done)return;const l=a.constructor==Uo?1:s?s[A].lastPosition:i[A];let c=r.immediate,u=l;if(!c){if(u=a.lastPosition,o.tension<=0)return void(a.done=!0);let t=a.elapsedTime+=e;const n=r.fromValues[A],i=null!=a.v0?a.v0:a.v0=Zr.arr(o.velocity)?o.velocity[A]:o.velocity;let s;const d=o.precision||(n==l?.005:Math.min(1,.001*Math.abs(l-n)));if(Zr.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);u=n+i/(1-e)*(1-r),c=Math.abs(a.lastPosition-u)<=d,s=i*r}else{s=null==a.lastVelocity?i:a.lastVelocity;const t=o.restVelocity||d/10,r=o.clamp?0:o.bounce,A=!Zr.und(r),f=n==l?a.v0>0:n<l;let h,p=!1;const g=1,m=Math.ceil(e/g);for(let e=0;e<m&&(h=Math.abs(s)>t,h||(c=Math.abs(l-u)<=d,!c));++e){A&&(p=u==l||u>l==f,p&&(s=-s*r,u=l));s+=(1e-6*-o.tension*(u-l)+.001*-o.friction*s)/o.mass*g,u+=s*g}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,a.durationProgress>0&&(a.elapsedTime=o.duration*a.durationProgress,t=a.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,a.durationProgress=r),u=n+o.easing(r)*(l-n),s=(u-a.lastPosition)/e,c=1==r}a.lastVelocity=s,Number.isNaN(u)&&(c=!0)}s&&!s[A].done&&(c=!1),c?a.done=!0:t=!1,a.setValue(u,o.round)&&(n=!0)});const a=jo(this),A=a.getValue();if(t){const e=Xi(r.to);A===e&&!n||o.decay?n&&o.decay&&this._onChange(A):(a.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(A)}set(e){return Qr.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(ws(this)){const{to:e,config:t}=this.animation;Qr.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return Zr.und(e)?(n=this.queue||[],this.queue=[]):n=[Zr.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>As(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),fs(this._state,e&&this._lastCallId),Qr.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){'change'==e.type?this._start():'priority'==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||'';let{to:n,from:r}=e;n=Zr.obj(n)?n[t]:n,(null==n||Zo(n))&&(n=void 0),r=Zr.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return ys(this)||(e.reverse&&([n,r]=[r,n]),r=Xi(r),Zr.und(r)?jo(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,qo(e,(e,t)=>/^on/.test(t)?zo(e,n):e)),Qs(this,e,'onProps'),Ls(this,'onProps',e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error('Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?');const o=this._state;return as(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Bs(this)||(Cs(this,!0),si(o.pauseQueue),Ls(this,'onPause',cs(this,js(this,this.animation.to)),this))},resume:()=>{Bs(this)&&(Cs(this,!1),ws(this)&&this._resume(),si(o.resumeQueue),Ls(this,'onResume',cs(this,js(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Fs(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(us(this));const r=!Zr.und(e.to),i=!Zr.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(us(this));this._lastToId=t.callId}const{key:o,defaultProps:s,animation:a}=this,{to:A,from:l}=a;let{to:c=A,from:u=l}=e;!i||r||t.default&&!Zr.und(c)||(c=u),t.reverse&&([c,u]=[u,c]);const d=!$r(u,l);d&&(a.from=u),u=Xi(u);const f=!$r(c,A);f&&this._focus(c);const h=Zo(t.to),{config:p}=a,{decay:g,velocity:m}=p;(r||i)&&(p.velocity=0),t.config&&!h&&function(e,t,n){n&&(is(n={...n},t),t={...n,...t}),is(e,t),Object.assign(e,t);for(const t in ns)null==e[t]&&(e[t]=ns[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Zr.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r)}(p,Ro(t.config,o),t.config!==s.config?Ro(s.config,o):void 0);let v=jo(this);if(!v||Zr.und(c))return n(cs(this,!0));const b=Zr.und(t.reset)?i&&!t.default:!Zr.und(u)&&Ho(t.reset,o),y=b?u:this.get(),w=Xo(c),B=Zr.num(w)||Zr.arr(w)||bo(w),x=!h&&(!B||Ho(s.immediate||t.immediate,o));if(f){const e=No(c);if(e!==v.constructor){if(!x)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(w)}}const C=v.constructor;let _=Yi(c),j=!1;if(!_){const e=b||!ys(this)&&d;(f||e)&&(j=$r(Xo(y),w),_=!j),($r(a.immediate,x)||x)&&$r(p.decay,g)&&$r(p.velocity,m)||(_=!0)}if(j&&ws(this)&&(a.changed&&!b?_=!0:_||this._stop(A)),!h&&((_||Yi(A))&&(a.values=v.getPayload(),a.toValues=Yi(c)?null:C==Uo?[1]:ni(w)),a.immediate!=x&&(a.immediate=x,x||b||this._set(A)),_)){const{onRest:e}=a;ei(Us,e=>Qs(this,t,e));const r=cs(this,js(this,A));si(this._pendingCalls,r),this._pendingCalls.add(n),a.changed&&Qr.batchedUpdates(()=>{a.changed=!b,e?.(r,this),b?Ro(s.onRest,r):a.onStart?.(r,this)})}b&&this._set(y),h?n(ds(t.to,t,this._state,this)):_?this._start():ws(this)&&!f?this._pendingCalls.add(n):n(ls(y))}_focus(e){const t=this.animation;e!==t.to&&(Ji(this)&&this._detach(),t.to=e,Ji(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Yi(t)&&(to(t,this),gs(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Yi(e)&&no(e,this)}_set(e,t=!0){const n=Xi(e);if(!Zr.und(n)){const e=jo(this);if(!e||!$r(n,e.getValue())){const r=No(n);e&&e.constructor==r?e.setValue(n):Fo(this,r.create(n)),e&&Qr.batchedUpdates(()=>{this._onChange(n,t)})}}return jo(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Ls(this,'onStart',cs(this,js(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ro(this.animation.onChange,e,this)),Ro(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;jo(this).reset(Xi(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),ws(this)||(xs(this,!0),Bs(this)||this._resume())}_resume(){Xr.skipAnimation?this.finish():gi.start(this)}_stop(e,t){if(ws(this)){xs(this,!1);const n=this.animation;ei(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Zi(this,{type:'idle',parent:this});const r=t?us(this.get()):cs(this.get(),js(this,e??n.to));si(this._pendingCalls,r),n.changed&&(n.changed=!1,Ls(this,'onRest',r,this))}}};function js(e,t){const n=Xo(t);return $r(Xo(e.get()),n)}function Fs(e,t=e.loop,n=e.to){const r=Ro(t);if(r){const i=!0!==r&&Yo(r),o=(i||e).reverse,s=!i||i.reset;return Es({...e,loop:t,default:!1,pause:void 0,to:!o||Zo(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function Es(e){const{to:t,from:n}=e=Yo(e),r=new Set;return Zr.obj(t)&&ks(t,r),Zr.obj(n)&&ks(n,r),e.keys=r.size?Array.from(r):null,e}function Ss(e){const t=Es(e);return Zr.und(t.default)&&(t.default=qo(t)),t}function ks(e,t){ti(e,(e,n)=>null!=e&&t.add(n))}var Us=['onStart','onRest','onChange','onPause','onResume'];function Qs(e,t,n){e.animation[n]=t[n]!==Ko(t,n)?zo(t[n],e.key):void 0}function Ls(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var Os=['onStart','onChange','onRest'],Is=1,Ns=class{constructor(e,t){this.id=Is++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];Zr.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Es(e)),this}start(e){let{queue:t}=this;return e?t=ni(e).map(Es):this.queue=[],this._flush?this._flush(this,t):(zs(this,t),Ts(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;ei(ni(t),t=>n[t].stop(!!e))}else fs(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(Zr.und(e))this.start({pause:!0});else{const t=this.springs;ei(ni(e),e=>t[e].pause())}return this}resume(e){if(Zr.und(e))this.start({pause:!1});else{const t=this.springs;ei(ni(e),e=>t[e].resume())}return this}each(e){ti(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,ri(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const o=!r&&this._started,s=i||o&&n.size?this.get():null;i&&t.size&&ri(t,([e,t])=>{t.value=s,e(t,this,this._item)}),o&&(this._started=!1,ri(n,([e,t])=>{t.value=s,e(t,this,this._item)}))}eventObserved(e){if('change'==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if('idle'!=e.type)return;this._active.delete(e.parent)}Qr.onFrame(this._onFrame)}};function Ts(e,t){return Promise.all(t.map(t=>Ms(e,t))).then(t=>As(e,t))}async function Ms(e,t,n){const{keys:r,to:i,from:o,loop:s,onRest:a,onResolve:A}=t,l=Zr.obj(t.default)&&t.default;s&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const c=Zr.arr(i)||Zr.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):ei(Os,n=>{const r=t[n];if(Zr.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},l&&(l[n]=t[n])}});const u=e._state;t.pause===!u.paused?(u.paused=t.pause,si(t.pause?u.pauseQueue:u.resumeQueue)):u.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),f=!0===t.cancel||!0===Ko(t,'cancel');(c||f&&u.asyncId)&&d.push(as(++e._lastAsyncId,{props:t,state:u,actions:{pause:Jr,resume:Jr,start(t,n){f?(fs(u,e._lastAsyncId),n(us(e))):(t.onRest=a,n(ds(c,t,u,e)))}}})),u.paused&&await new Promise(e=>{u.resumeQueue.add(e)});const h=As(e,await Promise.all(d));if(s&&h.finished&&(!n||!h.noop)){const n=Fs(t,s,i);if(n)return zs(e,[n]),Ms(e,n,!0)}return A&&Qr.batchedUpdates(()=>A(h,e,e.item)),h}function Ps(e,t){const n={...e.springs};return t&&ei(ni(t),e=>{Zr.und(e.keys)&&(e=Es(e)),Zr.obj(e.to)||(e={...e,to:void 0}),Hs(n,e,e=>Rs(e))}),Ds(e,n),n}function Ds(e,t){ti(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,to(t,e))})}function Rs(e,t){const n=new _s;return n.key=e,t&&to(n,t),n}function Hs(e,t,n){t.keys&&ei(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function zs(e,t){ei(t,t=>{Hs(e.springs,t,t=>Rs(t,e))})}var Ks,Vs,qs=({children:t,...i})=>{const s=u(Gs),a=i.pause||!!s.pause,A=i.immediate||!!s.immediate;i=function(e,t){const[i]=n(()=>({inputs:t,result:e()})),s=o(),a=s.current;let A=a;if(A){const n=Boolean(t&&A.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,A.inputs));n||(A={inputs:t,result:e()})}else A=i;return r(()=>{s.current=A,a==i&&(i.inputs=i.result=void 0)},[A]),A.result}(()=>({pause:a,immediate:A}),[a,A]);const{Provider:l}=Gs;return e.createElement(l,{value:i},t)},Gs=(Ks=qs,Vs={},Object.assign(Ks,e.createContext(Vs)),Ks.Provider._context=Ks,Ks.Consumer._context=Ks,Ks);qs.Provider=Gs.Provider,qs.Consumer=Gs.Consumer;var Ws=()=>{const e=[],t=function(t){vo(`${po}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return ei(e,(e,i)=>{if(Zr.und(t))r.push(e.start());else{const o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return ei(e,e=>e.pause(...arguments)),this},t.resume=function(){return ei(e,e=>e.resume(...arguments)),this},t.set=function(t){ei(e,(e,n)=>{const r=Zr.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){const n=[];return ei(e,(e,r)=>{if(Zr.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return ei(e,e=>e.stop(...arguments)),this},t.update=function(t){return ei(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return Zr.fun(e)?e(n,t):e};return t._getProps=n,t};function Ys(e,t){const n=Zr.fun(e),[[r],i]=function(e,t,n){const r=Zr.fun(t)&&t;r&&!n&&(n=[]);const i=d(()=>r||3==arguments.length?Ws():void 0,[]),s=o(0),a=wo(),A=d(()=>({ctrls:[],queue:[],flush(e,t){const n=Ps(e,t);return s.current>0&&!A.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?Ts(e,t):new Promise(r=>{Ds(e,n),A.queue.push(()=>{r(Ts(e,t))}),a()})}}),[]),l=o([...A.ctrls]),c=[],f=Co(e)||0;function h(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new Ns(null,A.flush)),n=r?r(i,e):t[i];n&&(c[i]=Ss(n))}}d(()=>{ei(l.current.slice(e,f),e=>{$o(e,i),e.stop(!0)}),l.current.length=e,h(f,e)},[e]),d(()=>{h(0,Math.min(f,e))},n);const p=l.current.map((e,t)=>Ps(e,c[t])),g=u(qs),m=Co(g),v=g!==m&&Jo(g);yo(()=>{s.current++,A.ctrls=l.current;const{queue:e}=A;e.length&&(A.queue=[],ei(e,e=>e())),ei(l.current,(e,t)=>{i?.add(e),v&&e.start({default:g});const n=c[t];n&&(es(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),Bo(()=>()=>{ei(A.ctrls,e=>e.stop(!0))});const b=p.map(e=>({...e}));return i?[b,i]:b}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}function Xs(t,n,r){const i=Zr.fun(n)&&n,{reset:s,sort:a,trail:A=0,expires:l=!0,exitBeforeEnter:c=!1,onDestroyed:f,ref:h,config:p}=i?i():n,g=d(()=>i||3==arguments.length?Ws():void 0,[]),m=ni(t),v=[],b=o(null),y=s?null:b.current;yo(()=>{b.current=v}),Bo(()=>(ei(v,e=>{g?.add(e.ctrl),e.ctrl.ref=g}),()=>{ei(b.current,e=>{e.expired&&clearTimeout(e.expirationId),$o(e.ctrl,g),e.ctrl.stop(!0)})}));const w=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map(e=>{const n=r&&r.find(n=>n.item===e&&'leave'!==n.phase&&!t.has(n));return n?(t.add(n),n.key):Js++})}return Zr.und(n)?e:Zr.fun(n)?e.map(n):ni(n)}(m,i?i():n,y),B=s&&b.current||[];yo(()=>ei(B,({ctrl:e,item:t,key:n})=>{$o(e,g),Ro(f,t,n)}));const x=[];if(y&&ei(y,(e,t)=>{e.expired?(clearTimeout(e.expirationId),B.push(e)):~(t=x[t]=w.indexOf(e.key))&&(v[t]=e)}),ei(m,(e,t)=>{v[t]||(v[t]={key:w[t],item:e,phase:'mount',ctrl:new Ns},v[t].ctrl.item=e)}),x.length){let e=-1;const{leave:t}=i?i():n;ei(x,(n,r)=>{const i=y[r];~n?(e=v.indexOf(i),v[e]={...i,item:m[n]}):t&&v.splice(++e,0,i)})}Zr.fun(a)&&v.sort((e,t)=>a(e.item,t.item));let C=-A;const _=wo(),j=qo(n),F=new Map,E=o(new Map),S=o(!1);ei(v,(e,t)=>{const r=e.key,o=e.phase,s=i?i():n;let a,u;const d=Ro(s.delay||0,r);if('mount'==o)a=s.enter,u='enter';else{const e=w.indexOf(r)<0;if('leave'!=o)if(e)a=s.leave,u='leave';else{if(!(a=s.update))return;u='update'}else{if(e)return;a=s.enter,u='enter'}}if(a=Ro(a,e.item,t),a=Zr.obj(a)?Yo(a):{to:a},!a.config){const n=p||j.config;a.config=Ro(n,e.item,t,u)}C+=A;const f={...j,delay:d+C,ref:h,immediate:s.immediate,reset:!1,...a};if('enter'==u&&Zr.und(f.from)){const r=i?i():n,o=Zr.und(r.initial)||y?r.from:r.initial;f.from=Ro(o,e.item,t)}const{onResolve:g}=f;f.onResolve=e=>{Ro(g,e);const t=b.current,n=t.find(e=>e.key===r);if(n&&(!e.cancelled||'update'==n.phase)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if('leave'==n.phase){const t=Ro(l,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(_,r)))}}e&&t.some(e=>e.expired)&&(E.current.delete(n),c&&(S.current=!0),_())}};const m=Ps(e.ctrl,f);'leave'===u&&c?E.current.set(e,{phase:u,springs:m,payload:f}):F.set(e,{phase:u,springs:m,payload:f})});const k=u(qs),U=Co(k),Q=k!==U&&Jo(k);yo(()=>{Q&&ei(v,e=>{e.ctrl.start({default:k})})},[k]),ei(F,(e,t)=>{if(E.current.size){const e=v.findIndex(e=>e.key===t.key);v.splice(e,1)}}),yo(()=>{ei(E.current.size?E.current:F,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,g?.add(r),Q&&'enter'==e&&r.start({default:k}),t&&(es(r,t.ref),!r.ref&&!g||S.current?(r.start(t),S.current&&(S.current=!1)):r.update(t))})},s?void 0:r);const L=t=>e.createElement(e.Fragment,null,v.map((n,r)=>{const{springs:i}=F.get(n)||n.ctrl,o=t({...i},n.item,n,r);return o&&o.type?e.createElement(o.type,{...o.props,key:Zr.str(n.key)||Zr.num(n.key)?n.key:n.ctrl.id,ref:o.ref}):o}));return g?[L,g]:L}var Js=1;var Zs=class extends vs{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Pi(...t);const n=this._get(),r=No(n);Fo(this,r.create(n))}advance(e){const t=this._get();$r(t,this.get())||(jo(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&ea(this._active)&&ta(this)}_get(){const e=Zr.arr(this.source)?this.source.map(Xi):ni(Xi(this.source));return this.calc(...e)}_start(){this.idle&&!ea(this._active)&&(this.idle=!1,ei(Eo(this),e=>{e.done=!1}),Xr.skipAnimation?(Qr.batchedUpdates(()=>this.advance()),ta(this)):gi.start(this))}_attach(){let e=1;ei(ni(this.source),t=>{Yi(t)&&to(t,this),gs(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){ei(ni(this.source),e=>{Yi(e)&&no(e,this)}),this._active.clear(),ta(this)}eventObserved(e){'change'==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):'idle'==e.type?this._active.delete(e.parent):'priority'==e.type&&(this.priority=ni(this.source).reduce((e,t)=>Math.max(e,(gs(t)?t.priority:0)+1),0))}};function $s(e){return!1!==e.idle}function ea(e){return!e.size||Array.from(e).every($s)}function ta(e){e.idle||(e.idle=!0,ei(Eo(e),e=>{e.done=!0}),Zi(e,{type:'idle',parent:e}))}var na=(e,...t)=>new Zs(e,t);Xr.assign({createStringInterpolator:ho,to:(e,t)=>new Zs(e,t)});var ra=/^--/;function ia(e,t){return null==t||'boolean'==typeof t||''===t?'':'number'!=typeof t||0===t||ra.test(e)||sa.hasOwnProperty(e)&&sa[e]?(''+t).trim():t+'px'}var oa={};var sa={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},aa=['Webkit','Ms','Moz','O'];sa=Object.keys(sa).reduce((e,t)=>(aa.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),sa);var Aa=/^(matrix|translate|scale|rotate|skew)/,la=/^(translate)/,ca=/^(rotate|skew)/,ua=(e,t)=>Zr.num(e)&&0!==e?e+t:e,da=(e,t)=>Zr.arr(e)?e.every(e=>da(e,t)):Zr.num(e)?e===t:parseFloat(e)===t,fa=class extends Lo{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(e=>[`translate3d(${e.map(e=>ua(e,'px')).join(',')})`,da(e,0)])),ti(r,(e,t)=>{if('transform'===t)i.push([e||'']),o.push(e=>[e,''===e]);else if(Aa.test(t)){if(delete r[t],Zr.und(e))return;const n=la.test(t)?'px':ca.test(t)?'deg':'';i.push(ni(e)),o.push('rotate3d'===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${ua(i,n)})`,da(i,0)]:e=>[`${t}(${e.map(e=>ua(e,n)).join(',')})`,da(e,t.startsWith('scale')?1:0)])}}),i.length&&(r.transform=new ha(i,o)),super(r)}},ha=class extends $i{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e='',t=!0;return ei(this.inputs,(n,r)=>{const i=Xi(n[0]),[o,s]=this.transforms[r](Zr.arr(i)?i:n.map(Xi));e+=' '+o,t=t&&s}),t?'none':e}observerAdded(e){1==e&&ei(this.inputs,e=>ei(e,e=>Yi(e)&&to(e,this)))}observerRemoved(e){0==e&&ei(this.inputs,e=>ei(e,e=>Yi(e)&&no(e,this)))}eventObserved(e){'change'==e.type&&(this._value=null),Zi(this,e)}};Xr.assign({batchedUpdates:y,createStringInterpolator:ho,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var pa=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new Lo(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=Do(e)||'Anonymous';return(e=Zr.str(e)?o[e]||(o[e]=To(e,i)):e[Po]||(e[Po]=To(e,i))).displayName=`Animated(${t})`,e};return ti(e,(t,n)=>{Zr.arr(e)&&(n=Do(t)),o[n]=o(t)}),{animated:o}})(['a','abbr','address','area','article','aside','audio','b','base','bdi','bdo','big','blockquote','body','br','button','canvas','caption','cite','code','col','colgroup','data','datalist','dd','del','details','dfn','dialog','div','dl','dt','em','embed','fieldset','figcaption','figure','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','iframe','img','input','ins','kbd','keygen','label','legend','li','link','main','map','mark','menu','menuitem','meta','meter','nav','noscript','object','ol','optgroup','option','output','p','param','picture','pre','progress','q','rp','rt','ruby','s','samp','script','section','select','small','source','span','strong','style','sub','summary','sup','table','tbody','td','textarea','tfoot','th','thead','time','title','tr','track','u','ul','var','video','wbr','circle','clipPath','defs','ellipse','foreignObject','g','image','line','linearGradient','mask','path','pattern','polygon','polyline','radialGradient','rect','stop','svg','text','tspan'],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n='filter'===e.nodeName||e.parentNode&&'filter'===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:s,scrollLeft:a,viewBox:A,...l}=t,c=Object.values(l),u=Object.keys(l).map(t=>n||e.hasAttribute(t)?t:oa[t]||(oa[t]=t.replace(/([A-Z])/g,e=>'-'+e.toLowerCase())));void 0!==o&&(e.textContent=o);for(const t in i)if(i.hasOwnProperty(t)){const n=ia(t,i[t]);ra.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach((t,n)=>{e.setAttribute(t,c[n])}),void 0!==r&&(e.className=r),void 0!==s&&(e.scrollTop=s),void 0!==a&&(e.scrollLeft=a),void 0!==A&&e.setAttribute('viewBox',A)},createAnimatedStyle:e=>new fa(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),ga=pa.animated;function ma(){return ma=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},ma.apply(this,arguments)}var va={pointerEvents:'none',position:'absolute',zIndex:10,top:0,left:0},ba=function(e,t){return'translate('+e+'px, '+t+'px)'},ya=f(function(e){var t,n=e.position,r=e.anchor,i=e.children,s=cC(),a=Rx(),A=a.animate,l=a.config,c=iC(),u=c[0],d=c[1],f=o(!1),h=void 0,p=!1,g=d.width>0&&d.height>0,m=Math.round(n[0]),v=Math.round(n[1]);g&&('top'===r?(m-=d.width/2,v-=d.height+14):'right'===r?(m+=14,v-=d.height/2):'bottom'===r?(m-=d.width/2,v+=14):'left'===r?(m-=d.width+14,v-=d.height/2):'center'===r&&(m-=d.width/2,v-=d.height/2),h={transform:ba(m,v)},f.current||(p=!0),f.current=[m,v]);var b=Ys({to:h,config:l,immediate:!A||p}),y=ma({},va,s.tooltip,{transform:null!=(t=b.transform)?t:ba(m,v)});return w(ga.div,{ref:u,style:y,children:i})});ya.displayName='TooltipWrapper';var wa=f(function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return w('span',{style:ma({display:'block',width:n,height:n,background:r},void 0===i?{}:i)})}),Ba=f(function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,s=void 0!==o&&o,a=e.color,A=e.renderContent,l=cC(),c=sC(i);if('function'==typeof A)t=A();else{var u=r;void 0!==c&&void 0!==u&&(u=c(u)),t=B('div',{style:l.tooltip.basic,children:[s&&w(wa,{color:a,style:l.tooltip.chip}),void 0!==u?B('span',{children:[n,': ',w('strong',{children:''+u})]}):n]})}return w('div',{style:l.tooltip.container,children:t})}),xa={width:'100%',borderCollapse:'collapse'},Ca=f(function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,s=cC();return i.length?(t='function'==typeof o?o():B('div',{children:[n&&n,w('table',{style:ma({},xa,s.tooltip.table),children:w('tbody',{children:i.map(function(e,t){return w('tr',{children:e.map(function(e,t){return w('td',{style:s.tooltip.tableCell,children:e},t)})},t)})})})]}),w('div',{style:s.tooltip.container,children:t})):null});Ca.displayName='TableTooltip';var _a=f(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=cC(),s=Rx(),a=s.animate,A=s.config,l=d(function(){return ma({},o.crosshair.line,{pointerEvents:'none'})},[o.crosshair.line]),c=Ys({x1:t,x2:n,y1:r,y2:i,config:A,immediate:!a});return w(ga.line,ma({},c,{fill:'none',style:l}))});_a.displayName='CrosshairLine';var ja=f(function(e){var t,n,r=e.width,i=e.height,o=e.type,s=e.x,a=e.y;return'cross'===o?(t={x0:s,x1:s,y0:0,y1:i},n={x0:0,x1:r,y0:a,y1:a}):'top-left'===o?(t={x0:s,x1:s,y0:0,y1:a},n={x0:0,x1:s,y0:a,y1:a}):'top'===o?t={x0:s,x1:s,y0:0,y1:a}:'top-right'===o?(t={x0:s,x1:s,y0:0,y1:a},n={x0:s,x1:r,y0:a,y1:a}):'right'===o?n={x0:s,x1:r,y0:a,y1:a}:'bottom-right'===o?(t={x0:s,x1:s,y0:a,y1:i},n={x0:s,x1:r,y0:a,y1:a}):'bottom'===o?t={x0:s,x1:s,y0:a,y1:i}:'bottom-left'===o?(t={x0:s,x1:s,y0:a,y1:i},n={x0:0,x1:s,y0:a,y1:a}):'left'===o?n={x0:0,x1:s,y0:a,y1:a}:'x'===o?t={x0:s,x1:s,y0:0,y1:i}:'y'===o&&(n={x0:0,x1:r,y0:a,y1:a}),B(x,{children:[t&&w(_a,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&w(_a,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});ja.displayName='Crosshair';var Fa=h({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Ea={isVisible:!1,position:[null,null],content:null,anchor:null},Sa=h(Ea),ka=function(){var e=u(Fa);if(void 0===e)throw new Error('useTooltip must be used within a TooltipProvider');return e},Ua=function(){var e=function(){var e=u(Sa);if(void 0===e)throw new Error('useTooltipState must be used within a TooltipProvider');return e}();return function(e){return e.isVisible}(e)?w(ya,{position:e.position,anchor:e.anchor,children:e.content}):null},Qa=function(e){var t=e.container,r=e.children,i=function(e){var t=n(Ea),r=t[0],i=t[1],o=s(function(e,t,n){var r=t[0],o=t[1];void 0===n&&(n='top'),i({isVisible:!0,position:[r,o],anchor:n,content:e})},[i]),a=s(function(t,n,r){void 0===r&&(r='top');var o=e.current.getBoundingClientRect(),s=e.current.offsetWidth,a=s===o.width?1:s/o.width,A=(n.clientX-o.left)*a,l=(n.clientY-o.top)*a;'left'!==r&&'right'!==r||(r=A<o.width/2?'right':'left'),i({isVisible:!0,position:[A,l],anchor:r,content:t})},[e,i]),A=s(function(){i(Ea)},[i]);return{actions:d(function(){return{showTooltipAt:o,showTooltipFromEvent:a,hideTooltip:A}},[o,a,A]),state:r}}(t),o=i.actions,a=i.state;return w(Fa.Provider,{value:o,children:w(Sa.Provider,{value:a,children:r})})};var La=function(){this.__data__=[],this.size=0};var Oa=function(e,t){return e===t||e!=e&&t!=t},Ia=Oa;var Na=function(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1},Ta=Na,Ma=Array.prototype.splice;var Pa=Na;var Da=Na;var Ra=Na;var Ha=La,za=function(e){var t=this.__data__,n=Ta(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ma.call(t,n,1),--this.size,!0)},Ka=function(e){var t=this.__data__,n=Pa(t,e);return n<0?void 0:t[n][1]},Va=function(e){return Da(this.__data__,e)>-1},qa=function(e,t){var n=this.__data__,r=Ra(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Ga(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ga.prototype.clear=Ha,Ga.prototype.delete=za,Ga.prototype.get=Ka,Ga.prototype.has=Va,Ga.prototype.set=qa;var Wa=Ga,Ya=Wa;var Xa=function(){this.__data__=new Ya,this.size=0};var Ja=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var Za=function(e){return this.__data__.get(e)};var $a=function(e){return this.__data__.has(e)},eA='object'==typeof nr&&nr&&nr.Object===Object&&nr,tA=eA,nA='object'==typeof self&&self&&self.Object===Object&&self,rA=tA||nA||Function('return this')(),iA=rA.Symbol,oA=iA,sA=Object.prototype,aA=sA.hasOwnProperty,AA=sA.toString,lA=oA?oA.toStringTag:void 0;var cA=function(e){var t=aA.call(e,lA),n=e[lA];try{e[lA]=void 0;var r=!0}catch(e){}var i=AA.call(e);return r&&(t?e[lA]=n:delete e[lA]),i},uA=Object.prototype.toString;var dA=cA,fA=function(e){return uA.call(e)},hA=iA?iA.toStringTag:void 0;var pA=function(e){return null==e?void 0===e?'[object Undefined]':'[object Null]':hA&&hA in Object(e)?dA(e):fA(e)};var gA=function(e){var t=typeof e;return null!=e&&('object'==t||'function'==t)},mA=pA,vA=gA;var bA,yA=function(e){if(!vA(e))return!1;var t=mA(e);return'[object Function]'==t||'[object GeneratorFunction]'==t||'[object AsyncFunction]'==t||'[object Proxy]'==t},wA=rr(yA),BA=rA['__core-js_shared__'],xA=(bA=/[^.]+$/.exec(BA&&BA.keys&&BA.keys.IE_PROTO||''))?'Symbol(src)_1.'+bA:'';var CA=function(e){return!!xA&&xA in e},_A=Function.prototype.toString;var jA=function(e){if(null!=e){try{return _A.call(e)}catch(e){}try{return e+''}catch(e){}}return''},FA=yA,EA=CA,SA=gA,kA=jA,UA=/^\[object .+?Constructor\]$/,QA=Function.prototype,LA=Object.prototype,OA=QA.toString,IA=LA.hasOwnProperty,NA=RegExp('^'+OA.call(IA).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');var TA=function(e,t){return null==e?void 0:e[t]},MA=function(e){return!(!SA(e)||EA(e))&&(FA(e)?NA:UA).test(kA(e))},PA=TA;var DA=function(e,t){var n=PA(e,t);return MA(n)?n:void 0},RA=DA(rA,'Map'),HA=DA(Object,'create'),zA=HA;var KA=function(){this.__data__=zA?zA(null):{},this.size=0};var VA=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qA=HA,GA=Object.prototype.hasOwnProperty;var WA=function(e){var t=this.__data__;if(qA){var n=t[e];return'__lodash_hash_undefined__'===n?void 0:n}return GA.call(t,e)?t[e]:void 0},YA=HA,XA=Object.prototype.hasOwnProperty;var JA=HA;var ZA=KA,$A=VA,el=WA,tl=function(e){var t=this.__data__;return YA?void 0!==t[e]:XA.call(t,e)},nl=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=JA&&void 0===t?'__lodash_hash_undefined__':t,this};function rl(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}rl.prototype.clear=ZA,rl.prototype.delete=$A,rl.prototype.get=el,rl.prototype.has=tl,rl.prototype.set=nl;var il=rl,ol=Wa,sl=RA;var al=function(e){var t=typeof e;return'string'==t||'number'==t||'symbol'==t||'boolean'==t?'__proto__'!==e:null===e};var Al=function(e,t){var n=e.__data__;return al(t)?n['string'==typeof t?'string':'hash']:n.map},ll=Al;var cl=Al;var ul=Al;var dl=Al;var fl=function(){this.size=0,this.__data__={hash:new il,map:new(sl||ol),string:new il}},hl=function(e){var t=ll(this,e).delete(e);return this.size-=t?1:0,t},pl=function(e){return cl(this,e).get(e)},gl=function(e){return ul(this,e).has(e)},ml=function(e,t){var n=dl(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function vl(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vl.prototype.clear=fl,vl.prototype.delete=hl,vl.prototype.get=pl,vl.prototype.has=gl,vl.prototype.set=ml;var bl=vl,yl=Wa,wl=RA,Bl=bl;var xl=Wa,Cl=Xa,_l=Ja,jl=Za,Fl=$a,El=function(e,t){var n=this.__data__;if(n instanceof yl){var r=n.__data__;if(!wl||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Bl(r)}return n.set(e,t),this.size=n.size,this};function Sl(e){var t=this.__data__=new xl(e);this.size=t.size}Sl.prototype.clear=Cl,Sl.prototype.delete=_l,Sl.prototype.get=jl,Sl.prototype.has=Fl,Sl.prototype.set=El;var kl=Sl,Ul=DA,Ql=function(){try{var e=Ul(Object,'defineProperty');return e({},'',{}),e}catch(e){}}(),Ll=Ql;var Ol=function(e,t,n){'__proto__'==t&&Ll?Ll(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Il=Ol,Nl=Oa;var Tl=function(e,t,n){(void 0!==n&&!Nl(e[t],n)||void 0===n&&!(t in e))&&Il(e,t,n)};var Ml=function(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var A=s[e?a:++i];if(!1===n(o[A],A,o))break}return t}},Pl=Ml(),Dl={exports:{}};!function(e,t){var n=rA,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r?n.Buffer:void 0,s=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}(Dl,Dl.exports);var Rl=Dl.exports,Hl=rA.Uint8Array,zl=Hl;var Kl=function(e){var t=new e.constructor(e.byteLength);return new zl(t).set(new zl(e)),t},Vl=Kl;var ql=function(e,t){var n=t?Vl(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Gl=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},Wl=gA,Yl=Object.create,Xl=function(){function e(){}return function(t){if(!Wl(t))return{};if(Yl)return Yl(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Jl=Xl;var Zl=function(e,t){return function(n){return e(t(n))}},$l=Zl(Object.getPrototypeOf,Object),ec=Object.prototype;var tc=function(e){var t=e&&e.constructor;return e===('function'==typeof t&&t.prototype||ec)},nc=Jl,rc=$l,ic=tc;var oc=function(e){return'function'!=typeof e.constructor||ic(e)?{}:nc(rc(e))};var sc=function(e){return null!=e&&'object'==typeof e},ac=pA,Ac=sc;var lc=function(e){return Ac(e)&&'[object Arguments]'==ac(e)},cc=sc,uc=Object.prototype,dc=uc.hasOwnProperty,fc=uc.propertyIsEnumerable,hc=lc(function(){return arguments}())?lc:function(e){return cc(e)&&dc.call(e,'callee')&&!fc.call(e,'callee')},pc=Array.isArray;var gc=function(e){return'number'==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},mc=yA,vc=gc;var bc=function(e){return null!=e&&vc(e.length)&&!mc(e)},yc=bc,wc=sc;var Bc=function(e){return wc(e)&&yc(e)},xc={exports:{}};var Cc=function(){return!1};!function(e,t){var n=rA,r=Cc,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=(s?s.isBuffer:void 0)||r;e.exports=a}(xc,xc.exports);var _c=xc.exports,jc=pA,Fc=$l,Ec=sc,Sc=Function.prototype,kc=Object.prototype,Uc=Sc.toString,Qc=kc.hasOwnProperty,Lc=Uc.call(Object);var Oc=function(e){if(!Ec(e)||'[object Object]'!=jc(e))return!1;var t=Fc(e);if(null===t)return!0;var n=Qc.call(t,'constructor')&&t.constructor;return'function'==typeof n&&n instanceof n&&Uc.call(n)==Lc},Ic=rr(Oc),Nc=pA,Tc=gc,Mc=sc,Pc={};Pc['[object Float32Array]']=Pc['[object Float64Array]']=Pc['[object Int8Array]']=Pc['[object Int16Array]']=Pc['[object Int32Array]']=Pc['[object Uint8Array]']=Pc['[object Uint8ClampedArray]']=Pc['[object Uint16Array]']=Pc['[object Uint32Array]']=!0,Pc['[object Arguments]']=Pc['[object Array]']=Pc['[object ArrayBuffer]']=Pc['[object Boolean]']=Pc['[object DataView]']=Pc['[object Date]']=Pc['[object Error]']=Pc['[object Function]']=Pc['[object Map]']=Pc['[object Number]']=Pc['[object Object]']=Pc['[object RegExp]']=Pc['[object Set]']=Pc['[object String]']=Pc['[object WeakMap]']=!1;var Dc=function(e){return Mc(e)&&Tc(e.length)&&!!Pc[Nc(e)]};var Rc=function(e){return function(t){return e(t)}},Hc={exports:{}};!function(e,t){var n=eA,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,s=function(){try{var e=i&&i.require&&i.require('util').types;return e||o&&o.binding&&o.binding('util')}catch(e){}}();e.exports=s}(Hc,Hc.exports);var zc=Hc.exports,Kc=Dc,Vc=Rc,qc=zc&&zc.isTypedArray,Gc=qc?Vc(qc):Kc;var Wc=function(e,t){if(('constructor'!==t||'function'!=typeof e[t])&&'__proto__'!=t)return e[t]},Yc=Ol,Xc=Oa,Jc=Object.prototype.hasOwnProperty;var Zc=function(e,t,n){var r=e[t];Jc.call(e,t)&&Xc(r,n)&&(void 0!==n||t in e)||Yc(e,t,n)},$c=Zc,eu=Ol;var tu=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],A=r?r(n[a],e[a],a,n,e):void 0;void 0===A&&(A=e[a]),i?eu(n,a,A):$c(n,a,A)}return n};var nu=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},ru=/^(?:0|[1-9]\d*)$/;var iu=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&('number'==n||'symbol'!=n&&ru.test(e))&&e>-1&&e%1==0&&e<t},ou=nu,su=hc,au=pc,Au=_c,lu=iu,cu=Gc,uu=Object.prototype.hasOwnProperty;var du=function(e,t){var n=au(e),r=!n&&su(e),i=!n&&!r&&Au(e),o=!n&&!r&&!i&&cu(e),s=n||r||i||o,a=s?ou(e.length,String):[],A=a.length;for(var l in e)!t&&!uu.call(e,l)||s&&('length'==l||i&&('offset'==l||'parent'==l)||o&&('buffer'==l||'byteLength'==l||'byteOffset'==l)||lu(l,A))||a.push(l);return a};var fu=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},hu=gA,pu=tc,gu=fu,mu=Object.prototype.hasOwnProperty;var vu=function(e){if(!hu(e))return gu(e);var t=pu(e),n=[];for(var r in e)('constructor'!=r||!t&&mu.call(e,r))&&n.push(r);return n},bu=du,yu=vu,wu=bc;var Bu=function(e){return wu(e)?bu(e,!0):yu(e)},xu=tu,Cu=Bu;var _u=Tl,ju=Rl,Fu=ql,Eu=Gl,Su=oc,ku=hc,Uu=pc,Qu=Bc,Lu=_c,Ou=yA,Iu=gA,Nu=Oc,Tu=Gc,Mu=Wc,Pu=function(e){return xu(e,Cu(e))};var Du=function(e,t,n,r,i,o,s){var a=Mu(e,n),A=Mu(t,n),l=s.get(A);if(l)_u(e,n,l);else{var c=o?o(a,A,n+'',e,t,s):void 0,u=void 0===c;if(u){var d=Uu(A),f=!d&&Lu(A),h=!d&&!f&&Tu(A);c=A,d||f||h?Uu(a)?c=a:Qu(a)?c=Eu(a):f?(u=!1,c=ju(A,!0)):h?(u=!1,c=Fu(A,!0)):c=[]:Nu(A)||ku(A)?(c=a,ku(a)?c=Pu(a):Iu(a)&&!Ou(a)||(c=Su(A))):u=!1}u&&(s.set(A,c),i(c,A,r,o,s),s.delete(A)),_u(e,n,c)}},Ru=kl,Hu=Tl,zu=Pl,Ku=Du,Vu=gA,qu=Bu,Gu=Wc;var Wu=function e(t,n,r,i,o){t!==n&&zu(n,function(s,a){if(o||(o=new Ru),Vu(s))Ku(t,n,a,r,e,i,o);else{var A=i?i(Gu(t,a),s,a+'',t,n,o):void 0;void 0===A&&(A=s),Hu(t,a,A)}},qu)};var Yu=function(e){return e};var Xu=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},Ju=Math.max;var Zu=function(e,t,n){return t=Ju(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Ju(r.length-t,0),s=Array(o);++i<o;)s[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(s),Xu(e,this,a)}};var $u=function(e){return function(){return e}},ed=Ql,td=ed?function(e,t){return ed(e,'toString',{configurable:!0,enumerable:!1,value:$u(t),writable:!0})}:Yu,nd=td,rd=Date.now;var id=function(e){var t=0,n=0;return function(){var r=rd(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(nd),od=Yu,sd=Zu,ad=id;var Ad=function(e,t){return ad(sd(e,t,od),e+'')},ld=Oa,cd=bc,ud=iu,dd=gA;var fd=function(e,t,n){if(!dd(n))return!1;var r=typeof t;return!!('number'==r?cd(n)&&ud(t,n.length):'string'==r&&t in n)&&ld(n[t],e)},hd=Ad,pd=fd;var gd=function(e){return hd(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&'function'==typeof o?(i--,o):void 0,s&&pd(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t})},md=Wu,vd=gd(function(e,t,n){md(e,t,n)}),bd=rr(vd),yd=pA,wd=sc;var Bd=function(e){return'symbol'==typeof e||wd(e)&&'[object Symbol]'==yd(e)},xd=pc,Cd=Bd,_d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jd=/^\w*$/;var Fd=function(e,t){if(xd(e))return!1;var n=typeof e;return!('number'!=n&&'symbol'!=n&&'boolean'!=n&&null!=e&&!Cd(e))||(jd.test(e)||!_d.test(e)||null!=t&&e in Object(t))},Ed=bl;function Sd(e,t){if('function'!=typeof e||null!=t&&'function'!=typeof t)throw new TypeError('Expected a function');var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Sd.Cache||Ed),n}Sd.Cache=Ed;var kd=Sd;var Ud=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qd=/\\(\\)?/g,Ld=function(e){var t=kd(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(''),e.replace(Ud,function(e,n,r,i){t.push(r?i.replace(Qd,'$1'):n||e)}),t}),Od=Ld;var Id=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},Nd=Id,Td=pc,Md=Bd,Pd=iA?iA.prototype:void 0,Dd=Pd?Pd.toString:void 0;var Rd=function e(t){if('string'==typeof t)return t;if(Td(t))return Nd(t,e)+'';if(Md(t))return Dd?Dd.call(t):'';var n=t+'';return'0'==n&&1/t==-1/0?'-0':n},Hd=Rd;var zd=pc,Kd=Fd,Vd=Od,qd=function(e){return null==e?'':Hd(e)};var Gd=function(e,t){return zd(e)?e:Kd(e,t)?[e]:Vd(qd(e))},Wd=Bd;var Yd=function(e){if('string'==typeof e||Wd(e))return e;var t=e+'';return'0'==t&&1/e==-1/0?'-0':t},Xd=Gd,Jd=Yd;var Zd=function(e,t){for(var n=0,r=(t=Xd(t,e)).length;null!=e&&n<r;)e=e[Jd(t[n++])];return n&&n==r?e:void 0},$d=Zd;var ef=function(e,t,n){var r=null==e?void 0:$d(e,t);return void 0===r?n:r},tf=rr(ef),nf=Zc,rf=Gd,of=iu,sf=gA,af=Yd;var Af=function(e,t,n,r){if(!sf(e))return e;for(var i=-1,o=(t=rf(t,e)).length,s=o-1,a=e;null!=a&&++i<o;){var A=af(t[i]),l=n;if('__proto__'===A||'constructor'===A||'prototype'===A)return e;if(i!=s){var c=a[A];void 0===(l=r?r(c,A,a):void 0)&&(l=sf(c)?c:of(t[i+1])?[]:{})}nf(a,A,l),a=a[A]}return e},lf=Af;var cf=function(e,t,n){return null==e?e:lf(e,t,n)},uf=rr(cf);function df(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ff(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function hf(){}var pf=.7,gf=1/pf,mf='\\s*([+-]?\\d+)\\s*',vf='\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*',bf='\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*',yf=/^#([0-9a-f]{3,8})$/,wf=new RegExp(`^rgb\\(${mf},${mf},${mf}\\)$`),Bf=new RegExp(`^rgb\\(${bf},${bf},${bf}\\)$`),xf=new RegExp(`^rgba\\(${mf},${mf},${mf},${vf}\\)$`),Cf=new RegExp(`^rgba\\(${bf},${bf},${bf},${vf}\\)$`),_f=new RegExp(`^hsl\\(${vf},${bf},${bf}\\)$`),jf=new RegExp(`^hsla\\(${vf},${bf},${bf},${vf}\\)$`),Ff={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 Ef(){return this.rgb().formatHex()}function Sf(){return this.rgb().formatRgb()}function kf(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=yf.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Uf(t):3===n?new Of(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Qf(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Qf(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=wf.exec(e))?new Of(t[1],t[2],t[3],1):(t=Bf.exec(e))?new Of(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=xf.exec(e))?Qf(t[1],t[2],t[3],t[4]):(t=Cf.exec(e))?Qf(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=_f.exec(e))?Df(t[1],t[2]/100,t[3]/100,1):(t=jf.exec(e))?Df(t[1],t[2]/100,t[3]/100,t[4]):Ff.hasOwnProperty(e)?Uf(Ff[e]):'transparent'===e?new Of(NaN,NaN,NaN,0):null}function Uf(e){return new Of(e>>16&255,e>>8&255,255&e,1)}function Qf(e,t,n,r){return r<=0&&(e=t=n=NaN),new Of(e,t,n,r)}function Lf(e,t,n,r){return 1===arguments.length?function(e){return e instanceof hf||(e=kf(e)),e?new Of((e=e.rgb()).r,e.g,e.b,e.opacity):new Of}(e):new Of(e,t,n,null==r?1:r)}function Of(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function If(){return`#${Pf(this.r)}${Pf(this.g)}${Pf(this.b)}`}function Nf(){const e=Tf(this.opacity);return`${1===e?'rgb(':'rgba('}${Mf(this.r)}, ${Mf(this.g)}, ${Mf(this.b)}${1===e?')':`, ${e})`}`}function Tf(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Mf(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Pf(e){return((e=Mf(e))<16?'0':'')+e.toString(16)}function Df(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Hf(e,t,n,r)}function Rf(e){if(e instanceof Hf)return new Hf(e.h,e.s,e.l,e.opacity);if(e instanceof hf||(e=kf(e)),!e)return new Hf;if(e instanceof Hf)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new Hf(s,a,A,e.opacity)}function Hf(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function zf(e){return(e=(e||0)%360)<0?e+360:e}function Kf(e){return Math.max(0,Math.min(1,e||0))}function Vf(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}df(hf,kf,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ef,formatHex:Ef,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rf(this).formatHsl()},formatRgb:Sf,toString:Sf}),df(Of,Lf,ff(hf,{brighter(e){return e=null==e?gf:Math.pow(gf,e),new Of(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?pf:Math.pow(pf,e),new Of(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Of(Mf(this.r),Mf(this.g),Mf(this.b),Tf(this.opacity))},displayable(){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:If,formatHex:If,formatHex8:function(){return`#${Pf(this.r)}${Pf(this.g)}${Pf(this.b)}${Pf(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Nf,toString:Nf})),df(Hf,function(e,t,n,r){return 1===arguments.length?Rf(e):new Hf(e,t,n,null==r?1:r)},ff(hf,{brighter(e){return e=null==e?gf:Math.pow(gf,e),new Hf(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?pf:Math.pow(pf,e),new Hf(this.h,this.s,this.l*e,this.opacity)},rgb(){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,i=2*n-r;return new Of(Vf(e>=240?e-240:e+120,i,r),Vf(e,i,r),Vf(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Hf(zf(this.h),Kf(this.s),Kf(this.l),Tf(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Tf(this.opacity);return`${1===e?'hsl(':'hsla('}${zf(this.h)}, ${100*Kf(this.s)}%, ${100*Kf(this.l)}%${1===e?')':`, ${e})`}`}}));var qf=e=>()=>e;function Gf(e){return 1===(e=+e)?Wf: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):qf(isNaN(t)?n:t)}}function Wf(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):qf(isNaN(e)?t:e)}!function e(t){var n=Gf(t);function r(e,t){var r=n((e=Lf(e)).r,(t=Lf(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=Wf(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+''}}return r.gamma=e,r}(1);var Yf,Xf=(Yf=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),i=e[r],o=e[r+1],s=r>0?e[r-1]:2*i-o,a=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}((n-r/t)*t,s,i,o,a)}},function(e){var t,n,r=e.length,i=new Array(r),o=new Array(r),s=new Array(r);for(t=0;t<r;++t)n=Lf(e[t]),i[t]=n.r||0,o[t]=n.g||0,s[t]=n.b||0;return i=Yf(i),o=Yf(o),s=Yf(s),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=s(e),n+''}});function Jf(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Zf=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$f=new RegExp(Zf.source,'g');var eh=pA,th=pc,nh=sc;var rh=rr(function(e){return'string'==typeof e||!th(e)&&nh(e)&&'[object String]'==eh(e)});var ih=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},oh=rr(ih);function sh(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function ah(e){let t=e,n=e;function r(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)<0?r=o+1:i=o}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=function(e){return(t,n)=>sh(e(t),n)}(e)),{left:r,center:function(e,n,i,o){null==i&&(i=0),null==o&&(o=e.length);const s=r(e,n,i,o-1);return s>i&&t(e[s-1],n)>-t(e[s],n)?s-1:s},right:function(e,t,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){const o=r+i>>>1;n(e[o],t)>0?i=o:r=o+1}return r}}}const Ah=ah(sh).right;ah(function(e){return null===e?NaN:+e}).center;var lh=Ah,ch=Math.sqrt(50),uh=Math.sqrt(10),dh=Math.sqrt(2);function fh(e,t,n){var r,i,o,s,a=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(s=hh(e,t,n))||!isFinite(s))return[];if(s>0){let n=Math.round(e/s),r=Math.round(t/s);for(n*s<e&&++n,r*s>t&&--r,o=new Array(i=r-n+1);++a<i;)o[a]=(n+a)*s}else{s=-s;let n=Math.round(e*s),r=Math.round(t*s);for(n/s<e&&++n,r/s>t&&--r,o=new Array(i=r-n+1);++a<i;)o[a]=(n+a)/s}return r&&o.reverse(),o}function hh(e,t,n){var r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=ch?10:o>=uh?5:o>=dh?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ch?10:o>=uh?5:o>=dh?2:1)}function ph(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=ch?i*=10:o>=uh?i*=5:o>=dh&&(i*=2),t<e?-i:i}function gh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const mh=Symbol('implicit');function vh(){var e=new Map,t=[],n=[],r=mh;function i(i){var o=i+'',s=e.get(o);if(!s){if(r!==mh)return r;e.set(o,s=t.push(i))}return n[(s-1)%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;for(const r of n){const n=r+'';e.has(n)||e.set(n,t.push(r))}return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return vh(t,n).unknown(r)},gh.apply(i,arguments),i}function bh(){var e,t,n=vh().unknown(void 0),r=n.domain,i=n.range,o=0,s=1,a=!1,A=0,l=0,c=.5;function u(){var n=r().length,u=s<o,d=u?s:o,f=u?o:s;e=(f-d)/Math.max(1,n-A+2*l),a&&(e=Math.floor(e)),d+=(f-d-e*(n-A))*c,t=e*(1-A),a&&(d=Math.round(d),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map(function(t){return d+e*t});return i(u?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),u()):r()},n.range=function(e){return arguments.length?([o,s]=e,o=+o,s=+s,u()):[o,s]},n.rangeRound=function(e){return[o,s]=e,o=+o,s=+s,a=!0,u()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,u()):a},n.padding=function(e){return arguments.length?(A=Math.min(1,l=+e),u()):A},n.paddingInner=function(e){return arguments.length?(A=Math.min(1,e),u()):A},n.paddingOuter=function(e){return arguments.length?(l=+e,u()):l},n.align=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),u()):c},n.copy=function(){return bh(r(),[o,s]).round(a).paddingInner(A).paddingOuter(l).align(c)},gh.apply(u(),arguments)}function yh(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return yh(t())},e}function wh(){return yh(bh.apply(null,arguments).paddingInner(1))}function Bh(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function xh(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Ch(){}var _h=.7,jh=1/_h,Fh='\\s*([+-]?\\d+)\\s*',Eh='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*',Sh='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*',kh=/^#([0-9a-f]{3,8})$/,Uh=new RegExp('^rgb\\('+[Fh,Fh,Fh]+'\\)$'),Qh=new RegExp('^rgb\\('+[Sh,Sh,Sh]+'\\)$'),Lh=new RegExp('^rgba\\('+[Fh,Fh,Fh,Eh]+'\\)$'),Oh=new RegExp('^rgba\\('+[Sh,Sh,Sh,Eh]+'\\)$'),Ih=new RegExp('^hsl\\('+[Eh,Sh,Sh]+'\\)$'),Nh=new RegExp('^hsla\\('+[Eh,Sh,Sh,Eh]+'\\)$'),Th={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 Mh(){return this.rgb().formatHex()}function Ph(){return this.rgb().formatRgb()}function Dh(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=kh.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Rh(t):3===n?new Vh(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Hh(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Hh(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=Uh.exec(e))?new Vh(t[1],t[2],t[3],1):(t=Qh.exec(e))?new Vh(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Lh.exec(e))?Hh(t[1],t[2],t[3],t[4]):(t=Oh.exec(e))?Hh(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ih.exec(e))?Yh(t[1],t[2]/100,t[3]/100,1):(t=Nh.exec(e))?Yh(t[1],t[2]/100,t[3]/100,t[4]):Th.hasOwnProperty(e)?Rh(Th[e]):'transparent'===e?new Vh(NaN,NaN,NaN,0):null}function Rh(e){return new Vh(e>>16&255,e>>8&255,255&e,1)}function Hh(e,t,n,r){return r<=0&&(e=t=n=NaN),new Vh(e,t,n,r)}function zh(e){return e instanceof Ch||(e=Dh(e)),e?new Vh((e=e.rgb()).r,e.g,e.b,e.opacity):new Vh}function Kh(e,t,n,r){return 1===arguments.length?zh(e):new Vh(e,t,n,null==r?1:r)}function Vh(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function qh(){return'#'+Wh(this.r)+Wh(this.g)+Wh(this.b)}function Gh(){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 Wh(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?'0':'')+e.toString(16)}function Yh(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Jh(e,t,n,r)}function Xh(e){if(e instanceof Jh)return new Jh(e.h,e.s,e.l,e.opacity);if(e instanceof Ch||(e=Dh(e)),!e)return new Jh;if(e instanceof Jh)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new Jh(s,a,A,e.opacity)}function Jh(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Zh(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Bh(Ch,Dh,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Mh,formatHex:Mh,formatHsl:function(){return Xh(this).formatHsl()},formatRgb:Ph,toString:Ph}),Bh(Vh,Kh,xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new Vh(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new Vh(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:qh,formatHex:qh,formatRgb:Gh,toString:Gh})),Bh(Jh,function(e,t,n,r){return 1===arguments.length?Xh(e):new Jh(e,t,n,null==r?1:r)},xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new Jh(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new Jh(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,i=2*n-r;return new Vh(Zh(e>=240?e-240:e+120,i,r),Zh(e,i,r),Zh(e<120?e+240:e-120,i,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+')')}}));const $h=Math.PI/180,ep=180/Math.PI;var tp=-.14861,np=1.78277,rp=-.29227,ip=-.90649,op=1.97294,sp=op*ip,ap=op*np,Ap=np*rp-ip*tp;function lp(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof cp)return new cp(e.h,e.s,e.l,e.opacity);e instanceof Vh||(e=zh(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Ap*r+sp*t-ap*n)/-5.9615122912,o=r-i,s=(op*(n-i)-rp*o)/ip,a=Math.sqrt(s*s+o*o)/(op*i*(1-i)),A=a?Math.atan2(s,o)*ep-120:NaN;return new cp(A<0?A+360:A,a,i,e.opacity)}(e):new cp(e,t,n,null==r?1:r)}function cp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Bh(cp,lp,xh(Ch,{brighter:function(e){return e=null==e?jh:Math.pow(jh,e),new cp(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?_h:Math.pow(_h,e),new cp(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*$h,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new Vh(255*(t+n*(tp*r+np*i)),255*(t+n*(rp*r+ip*i)),255*(t+n*(op*r)),this.opacity)}}));var up=e=>()=>e;function dp(e,t){return function(n){return e+n*t}}function fp(e){return 1===(e=+e)?hp: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):up(isNaN(t)?n:t)}}function hp(e,t){var n=t-e;return n?dp(e,n):up(isNaN(e)?t:e)}var pp=function e(t){var n=fp(t);function r(e,t){var r=n((e=Kh(e)).r,(t=Kh(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),s=hp(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=s(t),e+''}}return r.gamma=e,r}(1);var gp=function(e){return function(t){var n,r,i=t.length,o=new Array(i),s=new Array(i),a=new Array(i);for(n=0;n<i;++n)r=Kh(t[n]),o[n]=r.r||0,s[n]=r.g||0,a[n]=r.b||0;return o=e(o),s=e(s),a=e(a),r.opacity=1,function(e){return r.r=o(e),r.g=s(e),r.b=a(e),r+''}}}(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),i=e[r],o=e[r+1],s=r>0?e[r-1]:2*i-o,a=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,s=o*e;return((1-3*e+3*o-s)*t+(4-6*o+3*s)*n+(1+3*e+3*o-3*s)*r+s*i)/6}((n-r/t)*t,s,i,o,a)}});function mp(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function vp(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),s=new Array(r);for(n=0;n<i;++n)o[n]=_p(e[n],t[n]);for(;n<r;++n)s[n]=t[n];return function(e){for(n=0;n<i;++n)s[n]=o[n](e);return s}}function bp(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function yp(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function wp(e,t){var n,r={},i={};for(n in null!==e&&'object'==typeof e||(e={}),null!==t&&'object'==typeof t||(t={}),t)n in e?r[n]=_p(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Bp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,xp=new RegExp(Bp.source,'g');function Cp(e,t){var n,r,i,o=Bp.lastIndex=xp.lastIndex=0,s=-1,a=[],A=[];for(e+='',t+='';(n=Bp.exec(e))&&(r=xp.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,A.push({i:s,x:yp(n,r)})),o=xp.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?A[0]?function(e){return function(t){return e(t)+''}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,r=0;r<t;++r)a[(n=A[r]).i]=n.x(e);return a.join('')})}function _p(e,t){var n,r=typeof t;return null==t||'boolean'===r?up(t):('number'===r?yp:'string'===r?(n=Dh(t))?(t=n,pp):Cp:t instanceof Dh?pp:t instanceof Date?bp:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?mp:Array.isArray(t)?vp:'function'!=typeof t.valueOf&&'function'!=typeof t.toString||isNaN(t)?wp:yp)(e,t)}function jp(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Fp(e){return function t(n){function r(t,r){var i=e((t=lp(t)).h,(r=lp(r)).h),o=hp(t.s,r.s),s=hp(t.l,r.l),a=hp(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=s(Math.pow(e,n)),t.opacity=a(e),t+''}}return n=+n,r.gamma=t,r}(1)}Fp(function(e,t){var n=t-e;return n?dp(e,n>180||n<-180?n-360*Math.round(n/360):n):up(isNaN(e)?t:e)});var Ep=Fp(hp);function Sp(e){return+e}var kp=[0,1];function Up(e){return e}function Qp(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Lp(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i<r?(r=Qp(i,r),o=n(s,o)):(r=Qp(r,i),o=n(o,s)),function(e){return o(r(e))}}function Op(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)i[s]=Qp(e[s],e[s+1]),o[s]=n(t[s],t[s+1]);return function(t){var n=lh(e,t,1,r)-1;return o[n](i[n](t))}}function Ip(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Np(){var e,t,n,r,i,o,s=kp,a=kp,A=_p,l=Up;function c(){var e=Math.min(s.length,a.length);return l!==Up&&(l=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(s[0],s[e-1])),r=e>2?Op:Lp,i=o=null,u}function u(t){return null==t||isNaN(t=+t)?n:(i||(i=r(s.map(e),a,A)))(e(l(t)))}return u.invert=function(n){return l(t((o||(o=r(a,s.map(e),yp)))(n)))},u.domain=function(e){return arguments.length?(s=Array.from(e,Sp),c()):s.slice()},u.range=function(e){return arguments.length?(a=Array.from(e),c()):a.slice()},u.rangeRound=function(e){return a=Array.from(e),A=jp,c()},u.clamp=function(e){return arguments.length?(l=!!e||Up,c()):l!==Up},u.interpolate=function(e){return arguments.length?(A=e,c()):A},u.unknown=function(e){return arguments.length?(n=e,u):n},function(n,r){return e=n,t=r,c()}}function Tp(){return Np()(Up,Up)}function Mp(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 Pp(e){return(e=Mp(Math.abs(e)))?e[1]:NaN}var Dp,Rp=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Hp(e){if(!(t=Rp.exec(e)))throw new Error('invalid format: '+e);var t;return new zp({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 zp(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 Kp(e,t){var n=Mp(e,t);if(!n)return e+'';var r=n[0],i=n[1];return i<0?'0.'+new Array(-i).join('0')+r:r.length>i+1?r.slice(0,i+1)+'.'+r.slice(i+1):r+new Array(i-r.length+2).join('0')}Hp.prototype=zp.prototype,zp.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};var Vp={'%':(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+'',d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString('en').replace(/,/g,''):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Kp(100*e,t),r:Kp,s:function(e,t){var n=Mp(e,t);if(!n)return e+'';var r=n[0],i=n[1],o=i-(Dp=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join('0'):o>0?r.slice(0,o)+'.'+r.slice(o):'0.'+new Array(1-o).join('0')+Mp(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function qp(e){return e}var Gp,Wp,Yp,Xp=Array.prototype.map,Jp=['y','z','a','f','p','n','µ','m','','k','M','G','T','P','E','Z','Y'];function Zp(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?qp:(t=Xp.call(e.grouping,Number),n=e.thousands+'',function(e,r){for(var i=e.length,o=[],s=0,a=t[0],A=0;i>0&&a>0&&(A+a+1>r&&(a=Math.max(1,r-A)),o.push(e.substring(i-=a,i+a)),!((A+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?'':e.currency[0]+'',o=void 0===e.currency?'':e.currency[1]+'',s=void 0===e.decimal?'.':e.decimal+'',a=void 0===e.numerals?qp:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Xp.call(e.numerals,String)),A=void 0===e.percent?'%':e.percent+'',l=void 0===e.minus?'−':e.minus+'',c=void 0===e.nan?'NaN':e.nan+'';function u(e){var t=(e=Hp(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,m=e.trim,v=e.type;'n'===v?(p=!0,v='g'):Vp[v]||(void 0===g&&(g=12),m=!0,v='g'),(f||'0'===t&&'='===n)&&(f=!0,t='0',n='=');var b='$'===d?i:'#'===d&&/[boxX]/.test(v)?'0'+v.toLowerCase():'',y='$'===d?o:/[%p]/.test(v)?A:'',w=Vp[v],B=/[defgprs%]/.test(v);function x(e){var i,o,A,d=b,x=y;if('c'===v)x=w(e)+x,e='';else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case'.':i=t=r;break;case'0':0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0===+e&&'+'!==u&&(C=!1),d=(C?'('===u?u:l:'-'===u||'('===u?'':u)+d,x=('s'===v?Jp[8+Dp/3]:'')+x+(C&&'('===u?')':''),B)for(i=-1,o=e.length;++i<o;)if(48>(A=e.charCodeAt(i))||A>57){x=(46===A?s+e.slice(i+1):e.slice(i))+x,e=e.slice(0,i);break}}p&&!f&&(e=r(e,1/0));var _=d.length+e.length+x.length,j=_<h?new Array(h-_+1).join(t):'';switch(p&&f&&(e=r(j+e,j.length?h-x.length:1/0),j=''),n){case'<':e=d+e+x+j;break;case'=':e=d+j+e+x;break;case'^':e=j.slice(0,_=j.length>>1)+d+e+x+j.slice(_);break;default:e=j+d+e+x}return a(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return e+''},x}return{format:u,formatPrefix:function(e,t){var n=u(((e=Hp(e)).type='f',e)),r=3*Math.max(-8,Math.min(8,Math.floor(Pp(t)/3))),i=Math.pow(10,-r),o=Jp[8+r/3];return function(e){return n(i*e)+o}}}}function $p(e,t,n,r){var i,o=ph(e,t,n);switch((r=Hp(null==r?',f':r)).type){case's':var s=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pp(t)/3)))-Pp(Math.abs(e)))}(o,s))||(r.precision=i),Yp(r,s);case'':case'e':case'g':case'p':case'r':null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Pp(t)-Pp(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-('e'===r.type));break;case'f':case'%':null!=r.precision||isNaN(i=function(e){return Math.max(0,-Pp(Math.abs(e)))}(o))||(r.precision=i-2*('%'===r.type))}return Wp(r)}function eg(e){var t=e.domain;return e.ticks=function(e){var n=t();return fh(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return $p(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),s=0,a=o.length-1,A=o[s],l=o[a],c=10;for(l<A&&(i=A,A=l,l=i,i=s,s=a,a=i);c-- >0;){if((i=hh(A,l,n))===r)return o[s]=A,o[a]=l,t(o);if(i>0)A=Math.floor(A/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;A=Math.ceil(A*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function tg(){var e=Tp();return e.copy=function(){return Ip(e,tg())},gh.apply(e,arguments),eg(e)}function ng(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],s=e[i];return s<o&&(n=r,r=i,i=n,n=o,o=s,s=n),e[r]=t.floor(o),e[i]=t.ceil(s),e}function rg(e){return Math.log(e)}function ig(e){return Math.exp(e)}function og(e){return-Math.log(-e)}function sg(e){return-Math.exp(-e)}function ag(e){return isFinite(e)?+('1e'+e):e<0?0:e}function Ag(e){return function(t){return-e(-t)}}function lg(e){var t,n,r=e(rg,ig),i=r.domain,o=10;function s(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),n=function(e){return 10===e?ag:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Ag(t),n=Ag(n),e(og,sg)):e(rg,ig),r}return r.base=function(e){return arguments.length?(o=+e,s()):o},r.domain=function(e){return arguments.length?(i(e),s()):i()},r.ticks=function(e){var r,s=i(),a=s[0],A=s[s.length-1];(r=A<a)&&(d=a,a=A,A=d);var l,c,u,d=t(a),f=t(A),h=null==e?10:+e,p=[];if(!(o%1)&&f-d<h){if(d=Math.floor(d),f=Math.ceil(f),a>0){for(;d<=f;++d)for(c=1,l=n(d);c<o;++c)if(!((u=l*c)<a)){if(u>A)break;p.push(u)}}else for(;d<=f;++d)for(c=o-1,l=n(d);c>=1;--c)if(!((u=l*c)<a)){if(u>A)break;p.push(u)}2*p.length<h&&(p=fh(a,A,h))}else p=fh(d,f,Math.min(f-d,h)).map(n);return r?p.reverse():p},r.tickFormat=function(e,i){if(null==i&&(i=10===o?'.0e':','),'function'!=typeof i&&(i=Wp(i)),e===1/0)return i;null==e&&(e=10);var s=Math.max(1,o*e/r.ticks().length);return function(e){var r=e/n(Math.round(t(e)));return r*o<o-.5&&(r*=o),r<=s?i(e):''}},r.nice=function(){return i(ng(i(),{floor:function(e){return n(Math.floor(t(e)))},ceil:function(e){return n(Math.ceil(t(e)))}}))},r}function cg(){var e=lg(Np()).domain([1,10]);return e.copy=function(){return Ip(e,cg()).base(e.base())},gh.apply(e,arguments),e}function ug(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function dg(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function fg(){var e=function(e){var t=1,n=e(ug(t),dg(t));return n.constant=function(n){return arguments.length?e(ug(t=+n),dg(t)):t},eg(n)}(Np());return e.copy=function(){return Ip(e,fg()).constant(e.constant())},gh.apply(e,arguments)}Gp=Zp({thousands:',',grouping:[3],currency:['$','']}),Wp=Gp.format,Yp=Gp.formatPrefix;var hg=new Date,pg=new Date;function gg(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var s,a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=function(n){return gg(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return hg.setTime(+t),pg.setTime(+r),e(hg),e(pg),Math.floor(n(hg,pg))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var mg=gg(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});mg.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?gg(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):mg:null};var vg=mg;mg.range;const bg=1e3,yg=6e4,wg=36e5,Bg=864e5,xg=6048e5,Cg=2592e6,_g=31536e6;var jg=gg(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*bg)},function(e,t){return(t-e)/bg},function(e){return e.getUTCSeconds()}),Fg=jg;jg.range;var Eg=gg(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*bg)},function(e,t){e.setTime(+e+t*yg)},function(e,t){return(t-e)/yg},function(e){return e.getMinutes()}),Sg=Eg;Eg.range;var kg=gg(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*bg-e.getMinutes()*yg)},function(e,t){e.setTime(+e+t*wg)},function(e,t){return(t-e)/wg},function(e){return e.getHours()}),Ug=kg;kg.range;var Qg=gg(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yg)/Bg,e=>e.getDate()-1),Lg=Qg;function Og(e){return gg(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yg)/xg})}Qg.range;var Ig=Og(0),Ng=Og(1),Tg=Og(2),Mg=Og(3),Pg=Og(4),Dg=Og(5),Rg=Og(6);Ig.range,Ng.range,Tg.range,Mg.range,Pg.range,Dg.range,Rg.range;var Hg=gg(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),zg=Hg;Hg.range;var Kg=gg(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Kg.every=function(e){return isFinite(e=Math.floor(e))&&e>0?gg(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var Vg=Kg;Kg.range;var qg=gg(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*yg)},function(e,t){return(t-e)/yg},function(e){return e.getUTCMinutes()}),Gg=qg;qg.range;var Wg=gg(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*wg)},function(e,t){return(t-e)/wg},function(e){return e.getUTCHours()}),Yg=Wg;Wg.range;var Xg=gg(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/Bg},function(e){return e.getUTCDate()-1}),Jg=Xg;function Zg(e){return gg(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/xg})}Xg.range;var $g=Zg(0),em=Zg(1),tm=Zg(2),nm=Zg(3),rm=Zg(4),im=Zg(5),om=Zg(6);$g.range,em.range,tm.range,nm.range,rm.range,im.range,om.range;var sm=gg(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),am=sm;sm.range;var Am=gg(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});Am.every=function(e){return isFinite(e=Math.floor(e))&&e>0?gg(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var lm=Am;function cm(e,t,n,r,i,o){const s=[[Fg,1,bg],[Fg,5,5e3],[Fg,15,15e3],[Fg,30,3e4],[o,1,yg],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,wg],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Bg],[r,2,1728e5],[n,1,xg],[t,1,Cg],[t,3,7776e6],[e,1,_g]];function a(t,n,r){const i=Math.abs(n-t)/r,o=ah(([,,e])=>e).right(s,i);if(o===s.length)return e.every(ph(t/_g,n/_g,r));if(0===o)return vg.every(Math.max(ph(t,n,r),1));const[a,A]=s[i/s[o-1][2]<s[o][2]/i?o-1:o];return a.every(A)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&'function'==typeof n.range?n:a(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},a]}Am.range;const[um,dm]=cm(lm,am,$g,Jg,Yg,Gg),[fm,hm]=cm(Vg,zg,Ig,Lg,Ug,Sg);function pm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function gm(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function mm(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var vm,bm,ym,wm,Bm,xm={'-':'',_:' ',0:'0'},Cm=/^\s*\d+/,_m=/^%/,jm=/[\\^$*+?|[\]().{}]/g;function Fm(e,t,n){var r=e<0?'-':'',i=(r?-e:e)+'',o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function Em(e){return e.replace(jm,'\\$&')}function Sm(e){return new RegExp('^(?:'+e.map(Em).join('|')+')','i')}function km(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Um(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Qm(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Lm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Om(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Im(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Nm(e,t,n){var r=Cm.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Tm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Mm(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||'00')),n+r[0].length):-1}function Pm(e,t,n){var r=Cm.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Dm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Rm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Hm(e,t,n){var r=Cm.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function zm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Km(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Vm(e,t,n){var r=Cm.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function qm(e,t,n){var r=Cm.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Gm(e,t,n){var r=Cm.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Wm(e,t,n){var r=_m.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ym(e,t,n){var r=Cm.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Xm(e,t,n){var r=Cm.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Jm(e,t){return Fm(e.getDate(),t,2)}function Zm(e,t){return Fm(e.getHours(),t,2)}function $m(e,t){return Fm(e.getHours()%12||12,t,2)}function ev(e,t){return Fm(1+Lg.count(Vg(e),e),t,3)}function tv(e,t){return Fm(e.getMilliseconds(),t,3)}function nv(e,t){return tv(e,t)+'000'}function rv(e,t){return Fm(e.getMonth()+1,t,2)}function iv(e,t){return Fm(e.getMinutes(),t,2)}function ov(e,t){return Fm(e.getSeconds(),t,2)}function sv(e){var t=e.getDay();return 0===t?7:t}function av(e,t){return Fm(Ig.count(Vg(e)-1,e),t,2)}function Av(e){var t=e.getDay();return t>=4||0===t?Pg(e):Pg.ceil(e)}function lv(e,t){return e=Av(e),Fm(Pg.count(Vg(e),e)+(4===Vg(e).getDay()),t,2)}function cv(e){return e.getDay()}function uv(e,t){return Fm(Ng.count(Vg(e)-1,e),t,2)}function dv(e,t){return Fm(e.getFullYear()%100,t,2)}function fv(e,t){return Fm((e=Av(e)).getFullYear()%100,t,2)}function hv(e,t){return Fm(e.getFullYear()%1e4,t,4)}function pv(e,t){var n=e.getDay();return Fm((e=n>=4||0===n?Pg(e):Pg.ceil(e)).getFullYear()%1e4,t,4)}function gv(e){var t=e.getTimezoneOffset();return(t>0?'-':(t*=-1,'+'))+Fm(t/60|0,'0',2)+Fm(t%60,'0',2)}function mv(e,t){return Fm(e.getUTCDate(),t,2)}function vv(e,t){return Fm(e.getUTCHours(),t,2)}function bv(e,t){return Fm(e.getUTCHours()%12||12,t,2)}function yv(e,t){return Fm(1+Jg.count(lm(e),e),t,3)}function wv(e,t){return Fm(e.getUTCMilliseconds(),t,3)}function Bv(e,t){return wv(e,t)+'000'}function xv(e,t){return Fm(e.getUTCMonth()+1,t,2)}function Cv(e,t){return Fm(e.getUTCMinutes(),t,2)}function _v(e,t){return Fm(e.getUTCSeconds(),t,2)}function jv(e){var t=e.getUTCDay();return 0===t?7:t}function Fv(e,t){return Fm($g.count(lm(e)-1,e),t,2)}function Ev(e){var t=e.getUTCDay();return t>=4||0===t?rm(e):rm.ceil(e)}function Sv(e,t){return e=Ev(e),Fm(rm.count(lm(e),e)+(4===lm(e).getUTCDay()),t,2)}function kv(e){return e.getUTCDay()}function Uv(e,t){return Fm(em.count(lm(e)-1,e),t,2)}function Qv(e,t){return Fm(e.getUTCFullYear()%100,t,2)}function Lv(e,t){return Fm((e=Ev(e)).getUTCFullYear()%100,t,2)}function Ov(e,t){return Fm(e.getUTCFullYear()%1e4,t,4)}function Iv(e,t){var n=e.getUTCDay();return Fm((e=n>=4||0===n?rm(e):rm.ceil(e)).getUTCFullYear()%1e4,t,4)}function Nv(){return'+0000'}function Tv(){return'%'}function Mv(e){return+e}function Pv(e){return Math.floor(+e/1e3)}function Dv(e){return new Date(e)}function Rv(e){return e instanceof Date?+e:+new Date(+e)}function Hv(e,t,n,r,i,o,s,a,A,l){var c=Tp(),u=c.invert,d=c.domain,f=l('.%L'),h=l(':%S'),p=l('%I:%M'),g=l('%I %p'),m=l('%a %d'),v=l('%b %d'),b=l('%B'),y=l('%Y');function w(e){return(A(e)<e?f:a(e)<e?h:s(e)<e?p:o(e)<e?g:r(e)<e?i(e)<e?m:v:n(e)<e?b:y)(e)}return c.invert=function(e){return new Date(u(e))},c.domain=function(e){return arguments.length?d(Array.from(e,Rv)):d().map(Dv)},c.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},c.tickFormat=function(e,t){return null==t?w:l(t)},c.nice=function(e){var n=d();return e&&'function'==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(ng(n,e)):c},c.copy=function(){return Ip(c,Hv(e,t,n,r,i,o,s,a,A,l))},c}function zv(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]='#'+e.slice(6*r,6*++r);return n}!function(e){vm=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,s=e.shortDays,a=e.months,A=e.shortMonths,l=Sm(i),c=km(i),u=Sm(o),d=km(o),f=Sm(s),h=km(s),p=Sm(a),g=km(a),m=Sm(A),v=km(A),b={a:function(e){return s[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return A[e.getMonth()]},B:function(e){return a[e.getMonth()]},c:null,d:Jm,e:Jm,f:nv,g:fv,G:pv,H:Zm,I:$m,j:ev,L:tv,m:rv,M:iv,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Mv,s:Pv,S:ov,u:sv,U:av,V:lv,w:cv,W:uv,x:null,X:null,y:dv,Y:hv,Z:gv,'%':Tv},y={a:function(e){return s[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return A[e.getUTCMonth()]},B:function(e){return a[e.getUTCMonth()]},c:null,d:mv,e:mv,f:Bv,g:Lv,G:Iv,H:vv,I:bv,j:yv,L:wv,m:xv,M:Cv,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Mv,s:Pv,S:_v,u:jv,U:Fv,V:Sv,w:kv,W:Uv,x:null,X:null,y:Qv,Y:Ov,Z:Nv,'%':Tv},w={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=u.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:Rm,e:Rm,f:Gm,g:Tm,G:Nm,H:zm,I:zm,j:Hm,L:qm,m:Dm,M:Km,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:Pm,Q:Ym,s:Xm,S:Vm,u:Qm,U:Lm,V:Om,w:Um,W:Im,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:Tm,Y:Nm,Z:Mm,'%':Wm};function B(e,t){return function(n){var r,i,o,s=[],a=-1,A=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++a<l;)37===e.charCodeAt(a)&&(s.push(e.slice(A,a)),null!=(i=xm[r=e.charAt(++a)])?r=e.charAt(++a):i='e'===r?' ':'0',(o=t[r])&&(r=o(n,i)),s.push(r),A=a+1);return s.push(e.slice(A,a)),s.join('')}}function x(e,t){return function(n){var r,i,o=mm(1900,void 0,1);if(C(o,e,n+='',0)!=n.length)return null;if('Q'in o)return new Date(o.Q);if('s'in o)return new Date(1e3*o.s+('L'in o?o.L:0));if(t&&!('Z'in o)&&(o.Z=0),'p'in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m='q'in o?o.q:0),'V'in o){if(o.V<1||o.V>53)return null;'w'in o||(o.w=1),'Z'in o?(i=(r=gm(mm(o.y,0,1))).getUTCDay(),r=i>4||0===i?em.ceil(r):em(r),r=Jg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=pm(mm(o.y,0,1))).getDay(),r=i>4||0===i?Ng.ceil(r):Ng(r),r=Lg.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else('W'in o||'U'in o)&&('w'in o||(o.w='u'in o?o.u%7:'W'in o?1:0),i='Z'in o?gm(mm(o.y,0,1)).getUTCDay():pm(mm(o.y,0,1)).getDay(),o.m=0,o.d='W'in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return'Z'in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,gm(o)):pm(o)}}function C(e,t,n,r){for(var i,o,s=0,a=t.length,A=n.length;s<a;){if(r>=A)return-1;if(37===(i=t.charCodeAt(s++))){if(i=t.charAt(s++),!(o=w[i in xm?t.charAt(s++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=B(n,b),b.X=B(r,b),b.c=B(t,b),y.x=B(n,y),y.X=B(r,y),y.c=B(t,y),{format:function(e){var t=B(e+='',b);return t.toString=function(){return e},t},parse:function(e){var t=x(e+='',!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=B(e+='',y);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e+='',!0);return t.toString=function(){return e},t}}}(e),bm=vm.format,ym=vm.parse,wm=vm.utcFormat,Bm=vm.utcParse}({dateTime:'%x, %X',date:'%-m/%-d/%Y',time:'%-I:%M:%S %p',periods:['AM','PM'],days:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],shortDays:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],months:['January','February','March','April','May','June','July','August','September','October','November','December'],shortMonths:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']});zv('1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf'),zv('7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666'),zv('1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666'),zv('a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928'),zv('fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2'),zv('b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc'),zv('e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999'),zv('66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3');var Kv=zv('8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f'),Vv=e=>Xf(e[e.length-1]),qv=new Array(3).concat('d8b365f5f5f55ab4ac','a6611adfc27d80cdc1018571','a6611adfc27df5f5f580cdc1018571','8c510ad8b365f6e8c3c7eae55ab4ac01665e','8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e','8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e','8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e','5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30','5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30').map(zv);Vv(qv);var Gv=new Array(3).concat('af8dc3f7f7f77fbf7b','7b3294c2a5cfa6dba0008837','7b3294c2a5cff7f7f7a6dba0008837','762a83af8dc3e7d4e8d9f0d37fbf7b1b7837','762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837','762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837','762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837','40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b','40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b').map(zv);Vv(Gv);var Wv=new Array(3).concat('e9a3c9f7f7f7a1d76a','d01c8bf1b6dab8e1864dac26','d01c8bf1b6daf7f7f7b8e1864dac26','c51b7de9a3c9fde0efe6f5d0a1d76a4d9221','c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221','c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221','c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221','8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419','8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419').map(zv);Vv(Wv);var Yv=new Array(3).concat('998ec3f7f7f7f1a340','5e3c99b2abd2fdb863e66101','5e3c99b2abd2f7f7f7fdb863e66101','542788998ec3d8daebfee0b6f1a340b35806','542788998ec3d8daebf7f7f7fee0b6f1a340b35806','5427888073acb2abd2d8daebfee0b6fdb863e08214b35806','5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806','2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08','2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08').map(zv);Vv(Yv);var Xv=new Array(3).concat('ef8a62f7f7f767a9cf','ca0020f4a58292c5de0571b0','ca0020f4a582f7f7f792c5de0571b0','b2182bef8a62fddbc7d1e5f067a9cf2166ac','b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac','b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac','b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac','67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061','67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061').map(zv);Vv(Xv);var Jv=new Array(3).concat('ef8a62ffffff999999','ca0020f4a582bababa404040','ca0020f4a582ffffffbababa404040','b2182bef8a62fddbc7e0e0e09999994d4d4d','b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d','b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d','b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d','67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a','67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a').map(zv);Vv(Jv);var Zv=new Array(3).concat('fc8d59ffffbf91bfdb','d7191cfdae61abd9e92c7bb6','d7191cfdae61ffffbfabd9e92c7bb6','d73027fc8d59fee090e0f3f891bfdb4575b4','d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4','d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4','d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4','a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695','a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695').map(zv);Vv(Zv);var $v=new Array(3).concat('fc8d59ffffbf91cf60','d7191cfdae61a6d96a1a9641','d7191cfdae61ffffbfa6d96a1a9641','d73027fc8d59fee08bd9ef8b91cf601a9850','d73027fc8d59fee08bffffbfd9ef8b91cf601a9850','d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850','d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850','a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837','a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837').map(zv);Vv($v);var eb=new Array(3).concat('fc8d59ffffbf99d594','d7191cfdae61abdda42b83ba','d7191cfdae61ffffbfabdda42b83ba','d53e4ffc8d59fee08be6f59899d5943288bd','d53e4ffc8d59fee08bffffbfe6f59899d5943288bd','d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd','d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd','9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2','9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2').map(zv);Vv(eb);var tb=new Array(3).concat('e5f5f999d8c92ca25f','edf8fbb2e2e266c2a4238b45','edf8fbb2e2e266c2a42ca25f006d2c','edf8fbccece699d8c966c2a42ca25f006d2c','edf8fbccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b').map(zv);Vv(tb);var nb=new Array(3).concat('e0ecf49ebcda8856a7','edf8fbb3cde38c96c688419d','edf8fbb3cde38c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b').map(zv);Vv(nb);var rb=new Array(3).concat('e0f3dba8ddb543a2ca','f0f9e8bae4bc7bccc42b8cbe','f0f9e8bae4bc7bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081').map(zv);Vv(rb);var ib=new Array(3).concat('fee8c8fdbb84e34a33','fef0d9fdcc8afc8d59d7301f','fef0d9fdcc8afc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000').map(zv);Vv(ib);var ob=new Array(3).concat('ece2f0a6bddb1c9099','f6eff7bdc9e167a9cf02818a','f6eff7bdc9e167a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636').map(zv);Vv(ob);var sb=new Array(3).concat('ece7f2a6bddb2b8cbe','f1eef6bdc9e174a9cf0570b0','f1eef6bdc9e174a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858').map(zv);Vv(sb);var ab=new Array(3).concat('e7e1efc994c7dd1c77','f1eef6d7b5d8df65b0ce1256','f1eef6d7b5d8df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f').map(zv);Vv(ab);var Ab=new Array(3).concat('fde0ddfa9fb5c51b8a','feebe2fbb4b9f768a1ae017e','feebe2fbb4b9f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a').map(zv);Vv(Ab);var lb=new Array(3).concat('edf8b17fcdbb2c7fb8','ffffcca1dab441b6c4225ea8','ffffcca1dab441b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58').map(zv);Vv(lb);var cb=new Array(3).concat('f7fcb9addd8e31a354','ffffccc2e69978c679238443','ffffccc2e69978c67931a354006837','ffffccd9f0a3addd8e78c67931a354006837','ffffccd9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529').map(zv);Vv(cb);var ub=new Array(3).concat('fff7bcfec44fd95f0e','ffffd4fed98efe9929cc4c02','ffffd4fed98efe9929d95f0e993404','ffffd4fee391fec44ffe9929d95f0e993404','ffffd4fee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506').map(zv);Vv(ub);var db=new Array(3).concat('ffeda0feb24cf03b20','ffffb2fecc5cfd8d3ce31a1c','ffffb2fecc5cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026').map(zv);Vv(db);var fb=new Array(3).concat('deebf79ecae13182bd','eff3ffbdd7e76baed62171b5','eff3ffbdd7e76baed63182bd08519c','eff3ffc6dbef9ecae16baed63182bd08519c','eff3ffc6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b').map(zv);Vv(fb);var hb=new Array(3).concat('e5f5e0a1d99b31a354','edf8e9bae4b374c476238b45','edf8e9bae4b374c47631a354006d2c','edf8e9c7e9c0a1d99b74c47631a354006d2c','edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b').map(zv);Vv(hb);var pb=new Array(3).concat('f0f0f0bdbdbd636363','f7f7f7cccccc969696525252','f7f7f7cccccc969696636363252525','f7f7f7d9d9d9bdbdbd969696636363252525','f7f7f7d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000').map(zv);Vv(pb);var gb=new Array(3).concat('efedf5bcbddc756bb1','f2f0f7cbc9e29e9ac86a51a3','f2f0f7cbc9e29e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d').map(zv);Vv(gb);var mb=new Array(3).concat('fee0d2fc9272de2d26','fee5d9fcae91fb6a4acb181d','fee5d9fcae91fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d').map(zv);Vv(mb);var vb=new Array(3).concat('fee6cefdae6be6550d','feeddefdbe85fd8d3cd94701','feeddefdbe85fd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704').map(zv);Vv(vb);var bb=bl,yb=function(e){return this.__data__.set(e,'__lodash_hash_undefined__'),this},wb=function(e){return this.__data__.has(e)};function Bb(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new bb;++t<n;)this.add(e[t])}Bb.prototype.add=Bb.prototype.push=yb,Bb.prototype.has=wb;var xb=Bb;var Cb=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1},_b=function(e){return e!=e},jb=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1};var Fb=function(e,t,n){return t==t?jb(e,t,n):Cb(e,_b,n)};var Eb=function(e,t){return!!(null==e?0:e.length)&&Fb(e,t,0)>-1};var Sb=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1};var kb=function(e,t){return e.has(t)},Ub=xb,Qb=Eb,Lb=Sb,Ob=Id,Ib=Rc,Nb=kb;var Tb=function(e,t,n,r){var i=-1,o=Qb,s=!0,a=e.length,A=[],l=t.length;if(!a)return A;n&&(t=Ob(t,Ib(n))),r?(o=Lb,s=!1):t.length>=200&&(o=Nb,s=!1,t=new Ub(t));e:for(;++i<a;){var c=e[i],u=null==n?c:n(c);if(c=r||0!==c?c:0,s&&u==u){for(var d=l;d--;)if(t[d]===u)continue e;A.push(c)}else o(t,u,r)||A.push(c)}return A},Mb=Bc,Pb=rr(Ad(function(e,t){return Mb(e)?Tb(e,t):[]})),Db=Math.PI,Rb=2*Db,Hb=1e-6,zb=Rb-Hb;function Kb(){this._x0=this._y0=this._x1=this._y1=null,this._=''}function Vb(){return new Kb}function qb(e){return function(){return e}}Kb.prototype=Vb.prototype={constructor:Kb,moveTo:function(e,t){this._+='M'+(this._x0=this._x1=+e)+','+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+='Z')},lineTo:function(e,t){this._+='L'+(this._x1=+e)+','+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+='Q'+ +e+','+ +t+','+(this._x1=+n)+','+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+='C'+ +e+','+ +t+','+ +n+','+ +r+','+(this._x1=+i)+','+(this._y1=+o)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var o=this._x1,s=this._y1,a=n-e,A=r-t,l=o-e,c=s-t,u=l*l+c*c;if(i<0)throw new Error('negative radius: '+i);if(null===this._x1)this._+='M'+(this._x1=e)+','+(this._y1=t);else if(u>Hb)if(Math.abs(c*a-A*l)>Hb&&i){var d=n-o,f=r-s,h=a*a+A*A,p=d*d+f*f,g=Math.sqrt(h),m=Math.sqrt(u),v=i*Math.tan((Db-Math.acos((h+u-p)/(2*g*m)))/2),b=v/m,y=v/g;Math.abs(b-1)>Hb&&(this._+='L'+(e+b*l)+','+(t+b*c)),this._+='A'+i+','+i+',0,0,'+ +(c*d>l*f)+','+(this._x1=e+y*a)+','+(this._y1=t+y*A)}else this._+='L'+(this._x1=e)+','+(this._y1=t);else;},arc:function(e,t,n,r,i,o){e=+e,t=+t,o=!!o;var s=(n=+n)*Math.cos(r),a=n*Math.sin(r),A=e+s,l=t+a,c=1^o,u=o?r-i:i-r;if(n<0)throw new Error('negative radius: '+n);null===this._x1?this._+='M'+A+','+l:(Math.abs(this._x1-A)>Hb||Math.abs(this._y1-l)>Hb)&&(this._+='L'+A+','+l),n&&(u<0&&(u=u%Rb+Rb),u>zb?this._+='A'+n+','+n+',0,1,'+c+','+(e-s)+','+(t-a)+'A'+n+','+n+',0,1,'+c+','+(this._x1=A)+','+(this._y1=l):u>Hb&&(this._+='A'+n+','+n+',0,'+ +(u>=Db)+','+c+','+(this._x1=e+n*Math.cos(i))+','+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+='M'+(this._x0=this._x1=+e)+','+(this._y0=this._y1=+t)+'h'+ +n+'v'+ +r+'h'+-n+'Z'},toString:function(){return this._}};var Gb=Math.abs,Wb=Math.atan2,Yb=Math.cos,Xb=Math.max,Jb=Math.min,Zb=Math.sin,$b=Math.sqrt,ey=1e-12,ty=Math.PI,ny=ty/2,ry=2*ty;function iy(e){return e>=1?ny:e<=-1?-ny:Math.asin(e)}function oy(e){return e.innerRadius}function sy(e){return e.outerRadius}function ay(e){return e.startAngle}function Ay(e){return e.endAngle}function ly(e){return e&&e.padAngle}function cy(e,t,n,r,i,o,s){var a=e-n,A=t-r,l=(s?o:-o)/$b(a*a+A*A),c=l*A,u=-l*a,d=e+c,f=t+u,h=n+c,p=r+u,g=(d+h)/2,m=(f+p)/2,v=h-d,b=p-f,y=v*v+b*b,w=i-o,B=d*p-h*f,x=(b<0?-1:1)*$b(Xb(0,w*w*y-B*B)),C=(B*b-v*x)/y,_=(-B*v-b*x)/y,j=(B*b+v*x)/y,F=(-B*v+b*x)/y,E=C-g,S=_-m,k=j-g,U=F-m;return E*E+S*S>k*k+U*U&&(C=j,_=F),{cx:C,cy:_,x01:-c,y01:-u,x11:C*(i/w-1),y11:_*(i/w-1)}}function uy(){var e=oy,t=sy,n=qb(0),r=null,i=ay,o=Ay,s=ly,a=null;function A(){var A,l,c=+e.apply(this,arguments),u=+t.apply(this,arguments),d=i.apply(this,arguments)-ny,f=o.apply(this,arguments)-ny,h=Gb(f-d),p=f>d;if(a||(a=A=Vb()),u<c&&(l=u,u=c,c=l),u>ey)if(h>ry-ey)a.moveTo(u*Yb(d),u*Zb(d)),a.arc(0,0,u,d,f,!p),c>ey&&(a.moveTo(c*Yb(f),c*Zb(f)),a.arc(0,0,c,f,d,p));else{var g,m,v=d,b=f,y=d,w=f,B=h,x=h,C=s.apply(this,arguments)/2,_=C>ey&&(r?+r.apply(this,arguments):$b(c*c+u*u)),j=Jb(Gb(u-c)/2,+n.apply(this,arguments)),F=j,E=j;if(_>ey){var S=iy(_/c*Zb(C)),k=iy(_/u*Zb(C));(B-=2*S)>ey?(y+=S*=p?1:-1,w-=S):(B=0,y=w=(d+f)/2),(x-=2*k)>ey?(v+=k*=p?1:-1,b-=k):(x=0,v=b=(d+f)/2)}var U=u*Yb(v),Q=u*Zb(v),L=c*Yb(w),O=c*Zb(w);if(j>ey){var I,N=u*Yb(b),T=u*Zb(b),M=c*Yb(y),P=c*Zb(y);if(h<ty&&(I=function(e,t,n,r,i,o,s,a){var A=n-e,l=r-t,c=s-i,u=a-o,d=u*A-c*l;if(!(d*d<ey))return[e+(d=(c*(t-o)-u*(e-i))/d)*A,t+d*l]}(U,Q,M,P,N,T,L,O))){var D=U-I[0],R=Q-I[1],H=N-I[0],z=T-I[1],K=1/Zb(function(e){return e>1?0:e<-1?ty:Math.acos(e)}((D*H+R*z)/($b(D*D+R*R)*$b(H*H+z*z)))/2),V=$b(I[0]*I[0]+I[1]*I[1]);F=Jb(j,(c-V)/(K-1)),E=Jb(j,(u-V)/(K+1))}}x>ey?E>ey?(g=cy(M,P,U,Q,u,E,p),m=cy(N,T,L,O,u,E,p),a.moveTo(g.cx+g.x01,g.cy+g.y01),E<j?a.arc(g.cx,g.cy,E,Wb(g.y01,g.x01),Wb(m.y01,m.x01),!p):(a.arc(g.cx,g.cy,E,Wb(g.y01,g.x01),Wb(g.y11,g.x11),!p),a.arc(0,0,u,Wb(g.cy+g.y11,g.cx+g.x11),Wb(m.cy+m.y11,m.cx+m.x11),!p),a.arc(m.cx,m.cy,E,Wb(m.y11,m.x11),Wb(m.y01,m.x01),!p))):(a.moveTo(U,Q),a.arc(0,0,u,v,b,!p)):a.moveTo(U,Q),c>ey&&B>ey?F>ey?(g=cy(L,O,N,T,c,-F,p),m=cy(U,Q,M,P,c,-F,p),a.lineTo(g.cx+g.x01,g.cy+g.y01),F<j?a.arc(g.cx,g.cy,F,Wb(g.y01,g.x01),Wb(m.y01,m.x01),!p):(a.arc(g.cx,g.cy,F,Wb(g.y01,g.x01),Wb(g.y11,g.x11),!p),a.arc(0,0,c,Wb(g.cy+g.y11,g.cx+g.x11),Wb(m.cy+m.y11,m.cx+m.x11),p),a.arc(m.cx,m.cy,F,Wb(m.y11,m.x11),Wb(m.y01,m.x01),!p))):a.arc(0,0,c,w,y,p):a.lineTo(L,O)}else a.moveTo(0,0);if(a.closePath(),A)return a=null,A+''||null}return A.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-ty/2;return[Yb(r)*n,Zb(r)*n]},A.innerRadius=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),A):e},A.outerRadius=function(e){return arguments.length?(t='function'==typeof e?e:qb(+e),A):t},A.cornerRadius=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),A):n},A.padRadius=function(e){return arguments.length?(r=null==e?null:'function'==typeof e?e:qb(+e),A):r},A.startAngle=function(e){return arguments.length?(i='function'==typeof e?e:qb(+e),A):i},A.endAngle=function(e){return arguments.length?(o='function'==typeof e?e:qb(+e),A):o},A.padAngle=function(e){return arguments.length?(s='function'==typeof e?e:qb(+e),A):s},A.context=function(e){return arguments.length?(a=null==e?null:e,A):a},A}function dy(e){this._context=e}function fy(e){return new dy(e)}function hy(e){return e[0]}function py(e){return e[1]}function gy(){var e=hy,t=py,n=qb(!0),r=null,i=fy,o=null;function s(s){var a,A,l,c=s.length,u=!1;for(null==r&&(o=i(l=Vb())),a=0;a<=c;++a)!(a<c&&n(A=s[a],a,s))===u&&((u=!u)?o.lineStart():o.lineEnd()),u&&o.point(+e(A,a,s),+t(A,a,s));if(l)return o=null,l+''||null}return s.x=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),s):e},s.y=function(e){return arguments.length?(t='function'==typeof e?e:qb(+e),s):t},s.defined=function(e){return arguments.length?(n='function'==typeof e?e:qb(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),s):r},s}function my(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function vy(e){return e}dy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var by=Array.prototype.slice;function yy(){}function wy(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function By(e){this._context=e}function xy(e){this._context=e}function Cy(e){this._context=e}function _y(e,t){this._basis=new By(e),this._beta=t}By.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:wy(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},xy.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Cy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:wy(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},_y.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],s=e[n]-i,a=t[n]-o,A=-1;++A<=n;)r=A/n,this._basis.point(this._beta*e[A]+(1-this._beta)*(i+r*s),this._beta*t[A]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var jy=function e(t){function n(e){return 1===t?new By(e):new _y(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Fy(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Ey(e,t){this._context=e,this._k=(1-t)/6}Ey.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Fy(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Sy=function e(t){function n(e){return new Ey(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ky(e,t){this._context=e,this._k=(1-t)/6}ky.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Uy=function e(t){function n(e){return new ky(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Qy(e,t){this._context=e,this._k=(1-t)/6}Qy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Fy(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ly=function e(t){function n(e){return new Qy(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Oy(e,t,n){var r=e._x1,i=e._y1,o=e._x2,s=e._y2;if(e._l01_a>ey){var a=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,A=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*a-e._x0*e._l12_2a+e._x2*e._l01_2a)/A,i=(i*a-e._y0*e._l12_2a+e._y2*e._l01_2a)/A}if(e._l23_a>ey){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/c,s=(s*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,o,s,e._x2,e._y2)}function Iy(e,t){this._context=e,this._alpha=t}Iy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ny=function e(t){function n(e){return t?new Iy(e,t):new Ey(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ty(e,t){this._context=e,this._alpha=t}Ty.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var My=function e(t){function n(e){return t?new Ty(e,t):new ky(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Py(e,t){this._context=e,this._alpha=t}Py.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Oy(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Dy=function e(t){function n(e){return t?new Py(e,t):new Qy(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ry(e){this._context=e}function Hy(e){return e<0?-1:1}function zy(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),s=(n-e._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Hy(o)+Hy(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Ky(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Vy(e,t,n){var r=e._x0,i=e._y0,o=e._x1,s=e._y1,a=(o-r)/3;e._context.bezierCurveTo(r+a,i+a*t,o-a,s-a*n,o,s)}function qy(e){this._context=e}function Gy(e){this._context=new Wy(e)}function Wy(e){this._context=e}function Yy(e){this._context=e}function Xy(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),s=new Array(r);for(i[0]=0,o[0]=2,s[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,s[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,s[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,s[t]-=n*s[t-1];for(i[r-1]=s[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(s[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function Jy(e,t){this._context=e,this._t=t}function Zy(e,t){if((i=e.length)>1)for(var n,r,i,o=1,s=e[t[0]],a=s.length;o<i;++o)for(r=s,s=e[t[o]],n=0;n<a;++n)s[n][1]+=s[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function $y(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function ew(e,t){return e[t]}function tw(e,t){if((a=e.length)>0)for(var n,r,i,o,s,a,A=0,l=e[t[0]].length;A<l;++A)for(o=s=0,n=0;n<a;++n)(i=(r=e[t[n]][A])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=s,r[0]=s+=i):(r[0]=0,r[1]=i)}function nw(e){for(var t,n=-1,r=0,i=e.length,o=-1/0;++n<i;)(t=+e[n][1])>o&&(o=t,r=n);return r}function rw(e){var t=e.map(iw);return $y(e).sort(function(e,n){return t[e]-t[n]})}function iw(e){for(var t,n=0,r=-1,i=e.length;++r<i;)(t=+e[r][1])&&(n+=t);return n}function ow(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)]}Ry.prototype={areaStart:yy,areaEnd:yy,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},qy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Vy(this,this._t0,Ky(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Vy(this,Ky(this,n=zy(this,e,t)),n);break;default:Vy(this,this._t0,n=zy(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Gy.prototype=Object.create(qy.prototype)).point=function(e,t){qy.prototype.point.call(this,t,e)},Wy.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},Yy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Xy(e),i=Xy(t),o=0,s=1;s<n;++o,++s)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[s],t[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Jy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var sw,aw=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Aw(e){if(!(t=aw.exec(e)))throw new Error('invalid format: '+e);var t;return new lw({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 lw(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 cw(e,t){var n=ow(e,t);if(!n)return e+'';var r=n[0],i=n[1];return i<0?'0.'+new Array(-i).join('0')+r:r.length>i+1?r.slice(0,i+1)+'.'+r.slice(i+1):r+new Array(i-r.length+2).join('0')}Aw.prototype=lw.prototype,lw.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};var uw={'%':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 cw(100*e,t)},r:cw,s:function(e,t){var n=ow(e,t);if(!n)return e+'';var r=n[0],i=n[1],o=i-(sw=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join('0'):o>0?r.slice(0,o)+'.'+r.slice(o):'0.'+new Array(1-o).join('0')+ow(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function dw(e){return e}var fw,hw,pw=Array.prototype.map,gw=['y','z','a','f','p','n','µ','m','','k','M','G','T','P','E','Z','Y'];function mw(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?dw:(t=pw.call(e.grouping,Number),n=e.thousands+'',function(e,r){for(var i=e.length,o=[],s=0,a=t[0],A=0;i>0&&a>0&&(A+a+1>r&&(a=Math.max(1,r-A)),o.push(e.substring(i-=a,i+a)),!((A+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?'':e.currency[0]+'',o=void 0===e.currency?'':e.currency[1]+'',s=void 0===e.decimal?'.':e.decimal+'',a=void 0===e.numerals?dw:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(pw.call(e.numerals,String)),A=void 0===e.percent?'%':e.percent+'',l=void 0===e.minus?'-':e.minus+'',c=void 0===e.nan?'NaN':e.nan+'';function u(e){var t=(e=Aw(e)).fill,n=e.align,u=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,m=e.trim,v=e.type;'n'===v?(p=!0,v='g'):uw[v]||(void 0===g&&(g=12),m=!0,v='g'),(f||'0'===t&&'='===n)&&(f=!0,t='0',n='=');var b='$'===d?i:'#'===d&&/[boxX]/.test(v)?'0'+v.toLowerCase():'',y='$'===d?o:/[%p]/.test(v)?A:'',w=uw[v],B=/[defgprs%]/.test(v);function x(e){var i,o,A,d=b,x=y;if('c'===v)x=w(e)+x,e='';else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:w(Math.abs(e),g),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case'.':i=t=r;break;case'0':0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0===+e&&'+'!==u&&(C=!1),d=(C?'('===u?u:l:'-'===u||'('===u?'':u)+d,x=('s'===v?gw[8+sw/3]:'')+x+(C&&'('===u?')':''),B)for(i=-1,o=e.length;++i<o;)if(48>(A=e.charCodeAt(i))||A>57){x=(46===A?s+e.slice(i+1):e.slice(i))+x,e=e.slice(0,i);break}}p&&!f&&(e=r(e,1/0));var _=d.length+e.length+x.length,j=_<h?new Array(h-_+1).join(t):'';switch(p&&f&&(e=r(j+e,j.length?h-x.length:1/0),j=''),n){case'<':e=d+e+x+j;break;case'=':e=d+j+e+x;break;case'^':e=j.slice(0,_=j.length>>1)+d+e+x+j.slice(_);break;default:e=j+d+e+x}return a(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),x.toString=function(){return e+''},x}return{format:u,formatPrefix:function(e,t){var n=u(((e=Aw(e)).type='f',e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=ow(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=gw[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){fw=mw(e),hw=fw.format,fw.formatPrefix}({decimal:'.',thousands:',',grouping:[3],currency:['$',''],minus:'-'});var vw=Zd,bw=Af,yw=Gd;var ww=function(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=vw(e,s);n(a,s)&&bw(o,yw(s,e),a)}return o};var Bw=function(e,t){return null!=e&&t in Object(e)},xw=Gd,Cw=hc,_w=pc,jw=iu,Fw=gc,Ew=Yd;var Sw=function(e,t,n){for(var r=-1,i=(t=xw(t,e)).length,o=!1;++r<i;){var s=Ew(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Fw(i)&&jw(s,i)&&(_w(e)||Cw(e))},kw=Bw,Uw=Sw;var Qw=function(e,t){return null!=e&&Uw(e,t,kw)},Lw=ww,Ow=Qw;var Iw=function(e,t){return Lw(e,t,function(t,n){return Ow(e,n)})};var Nw=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Tw=hc,Mw=pc,Pw=iA?iA.isConcatSpreadable:void 0;var Dw=Nw,Rw=function(e){return Mw(e)||Tw(e)||!!(Pw&&e&&e[Pw])};var Hw=function e(t,n,r,i,o){var s=-1,a=t.length;for(r||(r=Rw),o||(o=[]);++s<a;){var A=t[s];n>0&&r(A)?n>1?e(A,n-1,r,i,o):Dw(o,A):i||(o[o.length]=A)}return o},zw=Hw;var Kw=function(e){return(null==e?0:e.length)?zw(e,1):[]},Vw=Zu,qw=id;var Gw=function(e){return qw(Vw(e,void 0,Kw),e+'')},Ww=Iw,Yw=Gw(function(e,t){return null==e?{}:Ww(e,t)}),Xw=rr(Yw);var Jw=xb,Zw=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},$w=kb;var eB=function(e,t,n,r,i,o){var s=1&n,a=e.length,A=t.length;if(a!=A&&!(s&&A>a))return!1;var l=o.get(e),c=o.get(t);if(l&&c)return l==t&&c==e;var u=-1,d=!0,f=2&n?new Jw:void 0;for(o.set(e,t),o.set(t,e);++u<a;){var h=e[u],p=t[u];if(r)var g=s?r(p,h,u,t,e,o):r(h,p,u,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!Zw(t,function(e,t){if(!$w(f,t)&&(h===e||i(h,e,n,r,o)))return f.push(t)})){d=!1;break}}else if(h!==p&&!i(h,p,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d};var tB=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n};var nB=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n},rB=Hl,iB=Oa,oB=eB,sB=tB,aB=nB,AB=iA?iA.prototype:void 0,lB=AB?AB.valueOf:void 0;var cB=function(e,t,n,r,i,o,s){switch(n){case'[object DataView]':if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case'[object ArrayBuffer]':return!(e.byteLength!=t.byteLength||!o(new rB(e),new rB(t)));case'[object Boolean]':case'[object Date]':case'[object Number]':return iB(+e,+t);case'[object Error]':return e.name==t.name&&e.message==t.message;case'[object RegExp]':case'[object String]':return e==t+'';case'[object Map]':var a=sB;case'[object Set]':var A=1&r;if(a||(a=aB),e.size!=t.size&&!A)return!1;var l=s.get(e);if(l)return l==t;r|=2,s.set(e,t);var c=oB(a(e),a(t),r,i,o,s);return s.delete(e),c;case'[object Symbol]':if(lB)return lB.call(e)==lB.call(t)}return!1},uB=Nw,dB=pc;var fB=function(e,t,n){var r=t(e);return dB(e)?r:uB(r,n(e))};var hB=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o};var pB=function(){return[]},gB=hB,mB=pB,vB=Object.prototype.propertyIsEnumerable,bB=Object.getOwnPropertySymbols,yB=bB?function(e){return null==e?[]:(e=Object(e),gB(bB(e),function(t){return vB.call(e,t)}))}:mB,wB=yB,BB=Zl(Object.keys,Object),xB=tc,CB=BB,_B=Object.prototype.hasOwnProperty;var jB=function(e){if(!xB(e))return CB(e);var t=[];for(var n in Object(e))_B.call(e,n)&&'constructor'!=n&&t.push(n);return t},FB=du,EB=jB,SB=bc;var kB=function(e){return SB(e)?FB(e):EB(e)},UB=fB,QB=wB,LB=kB;var OB=function(e){return UB(e,LB,QB)},IB=OB,NB=Object.prototype.hasOwnProperty;var TB=function(e,t,n,r,i,o){var s=1&n,a=IB(e),A=a.length;if(A!=IB(t).length&&!s)return!1;for(var l=A;l--;){var c=a[l];if(!(s?c in t:NB.call(t,c)))return!1}var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=!0;o.set(e,t),o.set(t,e);for(var h=s;++l<A;){var p=e[c=a[l]],g=t[c];if(r)var m=s?r(g,p,c,t,e,o):r(p,g,c,e,t,o);if(!(void 0===m?p===g||i(p,g,n,r,o):m)){f=!1;break}h||(h='constructor'==c)}if(f&&!h){var v=e.constructor,b=t.constructor;v==b||!('constructor'in e)||!('constructor'in t)||'function'==typeof v&&v instanceof v&&'function'==typeof b&&b instanceof b||(f=!1)}return o.delete(e),o.delete(t),f},MB=DA(rA,'DataView'),PB=DA(rA,'Promise'),DB=DA(rA,'Set'),RB=MB,HB=RA,zB=PB,KB=DB,VB=DA(rA,'WeakMap'),qB=pA,GB=jA,WB='[object Map]',YB='[object Promise]',XB='[object Set]',JB='[object WeakMap]',ZB='[object DataView]',$B=GB(RB),ex=GB(HB),tx=GB(zB),nx=GB(KB),rx=GB(VB),ix=qB;(RB&&ix(new RB(new ArrayBuffer(1)))!=ZB||HB&&ix(new HB)!=WB||zB&&ix(zB.resolve())!=YB||KB&&ix(new KB)!=XB||VB&&ix(new VB)!=JB)&&(ix=function(e){var t=qB(e),n='[object Object]'==t?e.constructor:void 0,r=n?GB(n):'';if(r)switch(r){case $B:return ZB;case ex:return WB;case tx:return YB;case nx:return XB;case rx:return JB}return t});var ox=ix,sx=kl,ax=eB,Ax=cB,lx=TB,cx=ox,ux=pc,dx=_c,fx=Gc,hx='[object Arguments]',px='[object Array]',gx='[object Object]',mx=Object.prototype.hasOwnProperty;var vx=function(e,t,n,r,i,o){var s=ux(e),a=ux(t),A=s?px:cx(e),l=a?px:cx(t),c=(A=A==hx?gx:A)==gx,u=(l=l==hx?gx:l)==gx,d=A==l;if(d&&dx(e)){if(!dx(t))return!1;s=!0,c=!1}if(d&&!c)return o||(o=new sx),s||fx(e)?ax(e,t,n,r,i,o):Ax(e,t,A,n,r,i,o);if(!(1&n)){var f=c&&mx.call(e,'__wrapped__'),h=u&&mx.call(t,'__wrapped__');if(f||h){var p=f?e.value():e,g=h?t.value():t;return o||(o=new sx),i(p,g,n,r,o)}}return!!d&&(o||(o=new sx),lx(e,t,n,r,i,o))},bx=vx,yx=sc;var wx=function e(t,n,r,i,o){return t===n||(null==t||null==n||!yx(t)&&!yx(n)?t!=t&&n!=n:bx(t,n,r,i,e,o))},Bx=wx;var xx=rr(function(e,t){return Bx(e,t)});function Cx(){return Cx=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},Cx.apply(this,arguments)}function _x(e,t){return _x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_x(e,t)}function jx(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Fx={fill:kr.string,fontSize:kr.number,fontFamily:kr.string},Ex=kr.shape({domain:kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}).isRequired,ticks:kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired,text:kr.shape(Cx({},Fx)).isRequired}).isRequired,legend:kr.shape({text:kr.shape(Cx({},Fx)).isRequired}).isRequired}),Sx=kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}),kx=kr.shape({hidden:kr.shape({symbol:kr.shape({fill:kr.string.isRequired,opacity:kr.number}).isRequired,text:kr.shape(Cx({},Fx,{opacity:kr.number})).isRequired}).isRequired,text:kr.shape(Cx({},Fx)).isRequired}),Ux=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Qx=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Lx=kr.shape({text:kr.shape(Cx({},Fx)).isRequired}),Ox=kr.shape({line:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,strokeDasharray:kr.string}).isRequired}),Ix=kr.shape({text:kr.shape(Cx({},Fx,{outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired})).isRequired,link:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired,outline:kr.shape({stroke:kr.string.isRequired,strokeWidth:kr.number.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired,symbol:kr.shape({fill:kr.string.isRequired,outlineWidth:kr.number.isRequired,outlineColor:kr.string.isRequired}).isRequired});kr.shape({background:kr.string.isRequired,fontFamily:kr.string.isRequired,fontSize:kr.number.isRequired,textColor:kr.string.isRequired,axis:Ex.isRequired,grid:Sx.isRequired,legends:kx.isRequired,labels:Ux.isRequired,dots:Qx.isRequired,markers:Lx,crosshair:Ox.isRequired,annotations:Ix.isRequired});var Nx={background:'transparent',text:{fontFamily:'sans-serif',fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},axis:{domain:{line:{stroke:'transparent',strokeWidth:1}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{hidden:{symbol:{fill:'#333333',opacity:.6},text:{fill:'#333333',opacity:.6}},text:{},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:'#000000',lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:'white',color:'inherit',fontSize:'inherit',borderRadius:'2px',boxShadow:'0 1px 2px rgba(0, 0, 0, 0.25)',padding:'5px 9px'},basic:{whiteSpace:'pre',display:'flex',alignItems:'center'},chip:{marginRight:7},table:{},tableCell:{padding:'3px 5px'},tableCellValue:{fontWeight:'bold'}},crosshair:{line:{stroke:'#000000',strokeWidth:1,strokeOpacity:.75,strokeDasharray:'6 6'}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{fill:'none',stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}}},Tx=['axis.ticks.text','axis.legend.text','legends.title.text','legends.text','legends.ticks.text','legends.title.text','labels.text','dots.text','markers.text','annotations.text'],Mx=h(),Px=function(e){var t=e.children,n=e.animate,r=e.config,i=d(function(){var e=rh(r)?ts[r]:r;return{animate:n,config:e}},[n,r]);return w(Mx.Provider,{value:i,children:t})},Dx={animate:kr.bool,motionConfig:kr.oneOfType([kr.oneOf(Object.keys(ts)),kr.shape({mass:kr.number,tension:kr.number,friction:kr.number,clamp:kr.bool,precision:kr.number,velocity:kr.number,duration:kr.number,easing:kr.func})])};Px.propTypes={children:kr.node.isRequired,animate:Dx.animate,config:Dx.motionConfig};Px.defaultProps={animate:!0,config:'default'};var Rx=function(){return u(Mx)},Hx=function(e){var t=Rx(),n=t.animate,i=t.config,s=function(e){var t=o();return r(function(){t.current=e},[e]),t.current}(e),a=d(function(){return function(e,t){var n,r,i,o=Zf.lastIndex=$f.lastIndex=0,s=-1,a=[],A=[];for(e+='',t+='';(n=Zf.exec(e))&&(r=$f.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),a[s]?a[s]+=i:a[++s]=i),(n=n[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,A.push({i:s,x:Jf(n,r)})),o=$f.lastIndex;return o<t.length&&(i=t.slice(o),a[s]?a[s]+=i:a[++s]=i),a.length<2?A[0]?function(e){return function(t){return e(t)+''}}(A[0].x):function(e){return function(){return e}}(t):(t=A.length,function(e){for(var n,r=0;r<t;++r)a[(n=A[r]).i]=n.x(e);return a.join('')})}(s,e)},[s,e]),A=Ys({from:{value:0},to:{value:1},reset:!0,config:i,immediate:!n}).value;return na(A,a)},zx={nivo:['#d76445','#f47560','#e8c1a0','#97e3d5','#61cdbb','#00b0a7'],BrBG:oh(qv),PRGn:oh(Gv),PiYG:oh(Wv),PuOr:oh(Yv),RdBu:oh(Xv),RdGy:oh(Jv),RdYlBu:oh(Zv),RdYlGn:oh($v),spectral:oh(eb),blues:oh(fb),greens:oh(hb),greys:oh(pb),oranges:oh(vb),purples:oh(gb),reds:oh(mb),BuGn:oh(tb),BuPu:oh(nb),GnBu:oh(rb),OrRd:oh(ib),PuBuGn:oh(ob),PuBu:oh(sb),PuRd:oh(ab),RdPu:oh(Ab),YlGnBu:oh(lb),YlGn:oh(cb),YlOrBr:oh(ub),YlOrRd:oh(db)},Kx=Object.keys(zx);oh(qv),oh(Gv),oh(Wv),oh(Yv),oh(Xv),oh(Jv),oh(Zv),oh($v),oh(eb),oh(fb),oh(hb),oh(pb),oh(vb),oh(gb),oh(mb),oh(tb),oh(nb),oh(rb),oh(ib),oh(ob),oh(sb),oh(ab),oh(Ab),oh(lb),oh(cb),oh(ub),oh(db),kr.oneOfType([kr.oneOf(Kx),kr.func,kr.arrayOf(kr.string)]);var Vx={basis:function(e){return new By(e)},basisClosed:function(e){return new xy(e)},basisOpen:function(e){return new Cy(e)},bundle:jy,cardinal:Sy,cardinalClosed:Uy,cardinalOpen:Ly,catmullRom:Ny,catmullRomClosed:My,catmullRomOpen:Dy,linear:fy,linearClosed:function(e){return new Ry(e)},monotoneX:function(e){return new qy(e)},monotoneY:function(e){return new Gy(e)},natural:function(e){return new Yy(e)},step:function(e){return new Jy(e,.5)},stepAfter:function(e){return new Jy(e,1)},stepBefore:function(e){return new Jy(e,0)}},qx=Object.keys(Vx);kr.oneOf(qx),qx.filter(function(e){return e.endsWith('Closed')}),Pb(qx,'bundle','basisClosed','basisOpen','cardinalClosed','cardinalOpen','catmullRomClosed','catmullRomOpen','linearClosed');var Gx=Pb(qx,'bundle','basisClosed','basisOpen','cardinalClosed','cardinalOpen','catmullRomClosed','catmullRomOpen','linearClosed'),Wx=kr.oneOf(Gx),Yx=function(e){if(!Vx[e])throw new TypeError('\''+e+'\', is not a valid curve interpolator identifier.');return Vx[e]},Xx={defs:kr.arrayOf(kr.shape({id:kr.string.isRequired})).isRequired,fill:kr.arrayOf(kr.shape({id:kr.string.isRequired,match:kr.oneOfType([kr.oneOf(['*']),kr.object,kr.func]).isRequired})).isRequired},Jx={ascending:rw,descending:function(e){return rw(e).reverse()},insideOut:function(e){var t,n,r=e.length,i=e.map(iw),o=function(e){var t=e.map(nw);return $y(e).sort(function(e,n){return t[e]-t[n]})}(e),s=0,a=0,A=[],l=[];for(t=0;t<r;++t)n=o[t],s<a?(s+=i[n],A.push(n)):(a+=i[n],l.push(n));return l.reverse().concat(A)},none:$y,reverse:function(e){return $y(e).reverse()}},Zx=Object.keys(Jx);kr.oneOf(Zx);var $x={expand:function(e,t){if((r=e.length)>0){for(var n,r,i,o=0,s=e[0].length;o<s;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}Zy(e,t)}},diverging:tw,none:Zy,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var s=0,a=0;s<n;++s)a+=e[s][r][1]||0;i[r][1]+=i[r][0]=-a/2}Zy(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,s=1;s<r;++s){for(var a=0,A=0,l=0;a<i;++a){for(var c=e[t[a]],u=c[s][1]||0,d=(u-(c[s-1][1]||0))/2,f=0;f<a;++f){var h=e[t[f]];d+=(h[s][1]||0)-(h[s-1][1]||0)}A+=u,l+=d*u}n[s-1][1]+=n[s-1][0]=o,A&&(o-=l/A)}n[s-1][1]+=n[s-1][0]=o,Zy(e,t)}}},eC=Object.keys($x);kr.oneOf(eC),kr.shape({top:kr.number,right:kr.number,bottom:kr.number,left:kr.number}).isRequired;var tC=kr.oneOf(['normal','multiply','screen','overlay','darken','lighten','color-dodge','color-burn','hard-light','soft-light','difference','exclusion','hue','saturation','color','luminosity']);vh(Kv);var nC={top:0,right:0,bottom:0,left:0},rC=function(e,t,n){return void 0===n&&(n={}),d(function(){var r=Cx({},nC,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}},[e,t,n.top,n.right,n.bottom,n.left])},iC=function(){var e=o(null),t=n({left:0,top:0,width:0,height:0}),i=t[0],s=t[1],a=n(function(){return'undefined'==typeof ResizeObserver?null:new ResizeObserver(function(e){var t=e[0];return s(t.contentRect)})})[0];return r(function(){return e.current&&null!==a&&a.observe(e.current),function(){null!==a&&a.disconnect()}},[]),[e,i]},oC=function(e){return d(function(){return function(e,t){var n=bd({},e,t);return Tx.forEach(function(e){void 0===tf(n,e+'.fontFamily')&&uf(n,e+'.fontFamily',n.text.fontFamily),void 0===tf(n,e+'.fontSize')&&uf(n,e+'.fontSize',n.text.fontSize),void 0===tf(n,e+'.fill')&&uf(n,e+'.fill',n.text.fill),void 0===tf(n,e+'.outlineWidth')&&uf(n,e+'.outlineWidth',n.text.outlineWidth),void 0===tf(n,e+'.outlineColor')&&uf(n,e+'.outlineColor',n.text.outlineColor)}),n}(Nx,e)},[e])},sC=function(e){return d(function(){return function(e){return'function'==typeof e?e:'string'==typeof e?0===e.indexOf('time:')?bm(e.slice('5')):hw(e):function(e){return''+e}}(e)},[e])},aC=h(),AC={},lC=function(e){var t=e.theme,n=void 0===t?AC:t,r=e.children,i=oC(n);return w(aC.Provider,{value:i,children:r})};lC.propTypes={children:kr.node.isRequired,theme:kr.object};var cC=function(){return u(aC)},uC=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?A(r,{},t):t};uC.propTypes={children:kr.node.isRequired,condition:kr.bool.isRequired,wrapper:kr.element.isRequired};var dC={position:'relative'},fC=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,s=e.isInteractive,a=void 0===s||s,A=e.animate,l=e.motionConfig,c=o(null);return w(lC,{theme:n,children:w(Px,{animate:A,config:l,children:w(Qa,{container:c,children:B(uC,{condition:i,wrapper:w('div',{style:dC,ref:c}),children:[t,a&&w(Ua,{})]})})})})};fC.propTypes={children:kr.element.isRequired,isInteractive:kr.bool,renderWrapper:kr.bool,theme:kr.object,animate:kr.bool,motionConfig:kr.string},kr.func.isRequired,kr.bool,kr.bool,kr.object.isRequired,kr.bool.isRequired,kr.string;var hC=function(e){var t=e.children,n=iC(),r=n[0],i=n[1],o=i.width>0&&i.height>0;return w('div',{ref:r,style:{width:'100%',height:'100%'},children:o&&t({width:i.width,height:i.height})})};hC.propTypes={children:kr.func.isRequired};var pC=['id','colors'],gC=function(e){var t=e.id,n=e.colors,r=jx(e,pC);return w('linearGradient',Cx({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(e){var t=e.offset,n=e.color,r=e.opacity;return w('stop',{offset:t+'%',stopColor:n,stopOpacity:void 0!==r?r:1},t)})}))};gC.propTypes={id:kr.string.isRequired,colors:kr.arrayOf(kr.shape({offset:kr.number.isRequired,color:kr.string.isRequired,opacity:kr.number})).isRequired,gradientTransform:kr.string};var mC={linearGradient:gC},vC=f(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,s=e.stagger,a=i+o,A=i/2,l=o/2;return!0===s&&(a=2*i+2*o),B('pattern',{id:t,width:a,height:a,patternUnits:'userSpaceOnUse',children:[w('rect',{width:a,height:a,fill:n}),w('circle',{cx:l+A,cy:l+A,r:A,fill:r}),s&&w('circle',{cx:1.5*o+i+A,cy:1.5*o+i+A,r:A,fill:r})]})});vC.displayName='PatternDots',vC.propTypes={id:kr.string.isRequired,color:kr.string.isRequired,background:kr.string.isRequired,size:kr.number.isRequired,padding:kr.number.isRequired,stagger:kr.bool.isRequired},vC.defaultProps={color:'#000000',background:'#ffffff',size:4,padding:4,stagger:!1};var bC=function(e){return e*Math.PI/180},yC=function(e){return 180*e/Math.PI},wC=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},BC={svg:{align:{left:'start',center:'middle',right:'end',start:'start',middle:'middle',end:'end'},baseline:{top:'text-before-edge',center:'central',bottom:'alphabetic'}},canvas:{align:{left:'left',center:'center',right:'right',start:'left',middle:'center',end:'right'},baseline:{top:'top',center:'middle',bottom:'bottom'}}},xC=f(function(e){var t=e.id,n=e.spacing,r=e.rotation,i=e.background,o=e.color,s=e.lineWidth,a=Math.round(r)%360,A=Math.abs(n);a>180?a-=360:a>90?a-=180:a<-180?a+=360:a<-90&&(a+=180);var l,c=A,u=A;return 0===a?l='\n M 0 0 L '+c+' 0\n M 0 '+u+' L '+c+' '+u+'\n ':90===a?l='\n M 0 0 L 0 '+u+'\n M '+c+' 0 L '+c+' '+u+'\n ':(c=Math.abs(A/Math.sin(bC(a))),u=A/Math.sin(bC(90-a)),l=a>0?'\n M 0 '+-u+' L '+2*c+' '+u+'\n M '+-c+' '+-u+' L '+c+' '+u+'\n M '+-c+' 0 L '+c+' '+2*u+'\n ':'\n M '+-c+' '+u+' L '+c+' '+-u+'\n M '+-c+' '+2*u+' L '+2*c+' '+-u+'\n M 0 '+2*u+' L '+2*c+' 0\n '),B('pattern',{id:t,width:c,height:u,patternUnits:'userSpaceOnUse',children:[w('rect',{width:c,height:u,fill:i,stroke:'rgba(255, 0, 0, 0.1)',strokeWidth:0}),w('path',{d:l,strokeWidth:s,stroke:o,strokeLinecap:'square'})]})});xC.displayName='PatternLines',xC.propTypes={id:kr.string.isRequired,spacing:kr.number.isRequired,rotation:kr.number.isRequired,background:kr.string.isRequired,color:kr.string.isRequired,lineWidth:kr.number.isRequired},xC.defaultProps={spacing:5,rotation:0,color:'#000000',background:'#ffffff',lineWidth:2};var CC=f(function(e){var t=e.id,n=e.background,r=e.color,i=e.size,o=e.padding,s=e.stagger,a=i+o,A=o/2;return!0===s&&(a=2*i+2*o),B('pattern',{id:t,width:a,height:a,patternUnits:'userSpaceOnUse',children:[w('rect',{width:a,height:a,fill:n}),w('rect',{x:A,y:A,width:i,height:i,fill:r}),s&&w('rect',{x:1.5*o+i,y:1.5*o+i,width:i,height:i,fill:r})]})});CC.displayName='PatternSquares',CC.propTypes={id:kr.string.isRequired,color:kr.string.isRequired,background:kr.string.isRequired,size:kr.number.isRequired,padding:kr.number.isRequired,stagger:kr.bool.isRequired},CC.defaultProps={color:'#000000',background:'#ffffff',size:4,padding:4,stagger:!1};var _C={patternDots:vC,patternLines:xC,patternSquares:CC},jC=['type'],FC=Cx({},mC,_C),EC=function(e){var t=e.defs;return!t||t.length<1?null:w('defs',{'aria-hidden':!0,children:t.map(function(e){var t=e.type,n=jx(e,jC);return FC[t]?p(FC[t],Cx({key:n.id},n)):null})})};EC.propTypes={defs:kr.arrayOf(kr.shape({type:kr.oneOf(Object.keys(FC)).isRequired,id:kr.string.isRequired}))};var SC=f(EC),kC=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,s=e.role,a=e.ariaLabel,A=e.ariaLabelledBy,l=e.ariaDescribedBy,c=e.isFocusable,u=cC();return B('svg',{xmlns:'http://www.w3.org/2000/svg',width:t,height:n,role:s,'aria-label':a,'aria-labelledby':A,'aria-describedby':l,focusable:c,tabIndex:c?0:void 0,children:[w(SC,{defs:i}),w('rect',{width:t,height:n,fill:u.background}),w('g',{transform:'translate('+r.left+','+r.top+')',children:o})]})};kC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,margin:kr.shape({top:kr.number.isRequired,left:kr.number.isRequired}).isRequired,defs:kr.array,children:kr.oneOfType([kr.arrayOf(kr.node),kr.node]).isRequired,role:kr.string,isFocusable:kr.bool,ariaLabel:kr.string,ariaLabelledBy:kr.string,ariaDescribedBy:kr.string};var UC=function(e){var t=e.size,n=e.color,r=e.borderWidth,i=e.borderColor;return w('circle',{r:t/2,fill:n,stroke:i,strokeWidth:r,style:{pointerEvents:'none'}})};UC.propTypes={size:kr.number.isRequired,color:kr.string.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.string.isRequired};var QC=f(UC),LC=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?QC:r,o=e.size,s=e.datum,a=e.color,A=e.borderWidth,l=e.borderColor,c=e.label,u=e.labelTextAnchor,d=void 0===u?'middle':u,f=e.labelYOffset,h=void 0===f?-12:f,g=cC(),m=Rx(),v=m.animate,b=Ys({transform:'translate('+t+', '+n+')',config:m.config,immediate:!v});return B(ga.g,{transform:b.transform,style:{pointerEvents:'none'},children:[p(i,{size:o,color:a,datum:s,borderWidth:A,borderColor:l}),c&&w('text',{textAnchor:d,y:h,style:g.dots.text,children:c})]})};LC.propTypes={x:kr.number.isRequired,y:kr.number.isRequired,datum:kr.object.isRequired,size:kr.number.isRequired,color:kr.string.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.string.isRequired,symbol:kr.oneOfType([kr.func,kr.object]),label:kr.oneOfType([kr.string,kr.number]),labelTextAnchor:kr.oneOf(['start','middle','end']),labelYOffset:kr.number};var OC=f(LC),IC=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,s=e.lineStyle,a=e.textStyle,A=e.legend,l=e.legendPosition,c=e.legendOffsetX,u=e.legendOffsetY,d=e.legendOrientation,f=cC(),h=0,p=0,g=0,m=0;'y'===r?(g=i(o),p=t):(h=i(o),m=n);var v=null;if(A){var b=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,s=e.orientation,a=0,A=0,l='vertical'===s?-90:0,c='start';if('x'===e.axis)switch(r){case'top-left':a=-i,A=o,c='end';break;case'top':A=-o,c='horizontal'===s?'middle':'start';break;case'top-right':a=i,A=o,c='horizontal'===s?'start':'end';break;case'right':a=i,A=n/2,c='horizontal'===s?'start':'middle';break;case'bottom-right':a=i,A=n-o,c='start';break;case'bottom':A=n+o,c='horizontal'===s?'middle':'end';break;case'bottom-left':A=n-o,a=-i,c='horizontal'===s?'end':'start';break;case'left':a=-i,A=n/2,c='horizontal'===s?'end':'middle'}else switch(r){case'top-left':a=i,A=-o,c='start';break;case'top':a=t/2,A=-o,c='horizontal'===s?'middle':'start';break;case'top-right':a=t-i,A=-o,c='horizontal'===s?'end':'start';break;case'right':a=t+i,c='horizontal'===s?'start':'middle';break;case'bottom-right':a=t-i,A=o,c='end';break;case'bottom':a=t/2,A=o,c='horizontal'===s?'middle':'end';break;case'bottom-left':a=i,A=o,c='horizontal'===s?'start':'end';break;case'left':a=-i,c='horizontal'===s?'end':'middle'}return{x:a,y:A,rotation:l,textAnchor:c}}({axis:r,width:t,height:n,position:l,offsetX:c,offsetY:u,orientation:d});v=w('text',{transform:'translate('+b.x+', '+b.y+') rotate('+b.rotation+')',textAnchor:b.textAnchor,dominantBaseline:'central',style:a,children:A})}return B('g',{transform:'translate('+h+', '+g+')',children:[w('line',{x1:0,x2:p,y1:0,y2:m,stroke:f.markers.lineColor,strokeWidth:f.markers.lineStrokeWidth,style:s}),v]})};IC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,axis:kr.oneOf(['x','y']).isRequired,scale:kr.func.isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineStyle:kr.object,textStyle:kr.object,legend:kr.string,legendPosition:kr.oneOf(['top-left','top','top-right','right','bottom-right','bottom','bottom-left','left']),legendOffsetX:kr.number.isRequired,legendOffsetY:kr.number.isRequired,legendOrientation:kr.oneOf(['horizontal','vertical']).isRequired},IC.defaultProps={legendPosition:'top-right',legendOffsetX:14,legendOffsetY:14,legendOrientation:'horizontal'};var NC=f(IC),TC=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map(function(e,t){return w(NC,Cx({},e,{width:n,height:r,scale:'y'===e.axis?o:i}),t)}):null};TC.propTypes={width:kr.number.isRequired,height:kr.number.isRequired,xScale:kr.func.isRequired,yScale:kr.func.isRequired,markers:kr.arrayOf(kr.shape({axis:kr.oneOf(['x','y']).isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineStyle:kr.object,textStyle:kr.object}))};var MC=f(TC),PC=['theme','renderWrapper','animate','motionConfig'],DC=function(e){return function(t){var n,r;function i(){return t.apply(this,arguments)||this}return r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,_x(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,s=jx(t,PC);return w(fC,{theme:n,renderWrapper:r,isInteractive:s.isInteractive,animate:i,motionConfig:o,children:w(e,Cx({},s))})},i}(g)},RC=function(e){return wA(e)?e:function(t){return tf(t,e)}},HC=function(e){return d(function(){return RC(e)},[e])},zC=function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r},KC=function(e,t){var n,r=t.clientX,i=t.clientY,o=e.getBoundingClientRect(),s=(n=void 0!==e.getBBox?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}).width===o.width?1:n.width/o.width;return[(r-o.left)*s,(i-o.top)*s]},VC=Object.keys(mC),qC=Object.keys(_C),GC=function(e,t,n,r){var i=void 0===r?{}:r,o=i.dataKey,s=i.colorKey,a=void 0===s?'color':s,A=i.targetKey,l=void 0===A?'fill':A,c=[],u={};return e.length&&t.length&&(c=[].concat(e),t.forEach(function(t){for(var r=function(){var r=n[i],s=r.id;if(function(e,t,n){if('*'===e)return!0;if(wA(e))return e(t);if(Ic(e)){var r=n?tf(t,n):t;return xx(Xw(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var A=e.find(function(e){return e.id===s});if(A)if(qC.includes(A.type))if('inherit'===A.background||'inherit'===A.color){var d=tf(t,a),f=A.background,h=A.color,p=s;'inherit'===A.background&&(p=p+'.bg.'+d,f=d),'inherit'===A.color&&(p=p+'.fg.'+d,h=d),uf(t,l,'url(#'+p+')'),u[p]||(c.push(Cx({},A,{id:p,background:f,color:h})),u[p]=1)}else uf(t,l,'url(#'+s+')');else if(VC.includes(A.type))if(A.colors.map(function(e){return e.color}).includes('inherit')){var g=tf(t,a),m=s,v=Cx({},A,{colors:A.colors.map(function(e,t){return'inherit'!==e.color?e:(m=m+'.'+t+'.'+g,Cx({},e,{color:'inherit'===e.color?g:e.color}))})});v.id=m,uf(t,l,'url(#'+m+')'),u[m]||(c.push(v),u[m]=1)}else uf(t,l,'url(#'+s+')');return'break'}},i=0;i<n.length&&'break'!==r();i++);})),c};var WC=DB,YC=function(){},XC=WC&&1/nB(new WC([,-0]))[1]==1/0?function(e){return new WC(e)}:YC,JC=xb,ZC=Eb,$C=Sb,e_=kb,t_=XC,n_=nB;var r_=function(e,t,n){var r=-1,i=ZC,o=e.length,s=!0,a=[],A=a;if(n)s=!1,i=$C;else if(o>=200){var l=t?null:t_(e);if(l)return n_(l);s=!1,i=e_,A=new JC}else A=t?[]:a;e:for(;++r<o;){var c=e[r],u=t?t(c):c;if(c=n||0!==c?c:0,s&&u==u){for(var d=A.length;d--;)if(A[d]===u)continue e;t&&A.push(u),a.push(c)}else i(A,u,n)||(A!==a&&A.push(u),a.push(c))}return a},i_=r_;var o_=rr(function(e){return e&&e.length?i_(e):[]}),s_=kl,a_=wx;var A_=function(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var A=(a=n[i])[0],l=e[A],c=a[1];if(s&&a[2]){if(void 0===l&&!(A in e))return!1}else{var u=new s_;if(r)var d=r(l,c,A,e,t,u);if(!(void 0===d?a_(c,l,3,r,u):d))return!1}}return!0},l_=gA;var c_=function(e){return e==e&&!l_(e)},u_=c_,d_=kB;var f_=function(e){for(var t=d_(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,u_(i)]}return t};var h_=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},p_=A_,g_=f_,m_=h_;var v_=function(e){var t=g_(e);return 1==t.length&&t[0][2]?m_(t[0][0],t[0][1]):function(n){return n===e||p_(n,e,t)}},b_=wx,y_=ef,w_=Qw,B_=Fd,x_=c_,C_=h_,__=Yd;var j_=function(e,t){return B_(e)&&x_(t)?C_(__(e),t):function(n){var r=y_(n,e);return void 0===r&&r===t?w_(n,e):b_(t,r,3)}};var F_=function(e){return function(t){return null==t?void 0:t[e]}},E_=Zd;var S_=function(e){return function(t){return E_(t,e)}},k_=F_,U_=S_,Q_=Fd,L_=Yd;var O_=function(e){return Q_(e)?k_(L_(e)):U_(e)},I_=v_,N_=j_,T_=Yu,M_=pc,P_=O_;var D_=function(e){return'function'==typeof e?e:null==e?T_:'object'==typeof e?M_(e)?N_(e[0],e[1]):I_(e):P_(e)},R_=D_,H_=r_;var z_=rr(function(e,t){return e&&e.length?H_(e,R_(t)):[]}),K_=Pl,V_=kB;var q_=function(e,t){return e&&K_(e,t,V_)},G_=bc;var W_=function(e,t){return function(n,r){if(null==n)return n;if(!G_(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Object(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}(q_),Y_=W_,X_=bc;var J_=Bd;var Z_=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=J_(e),s=void 0!==t,a=null===t,A=t==t,l=J_(t);if(!a&&!l&&!o&&e>t||o&&s&&A&&!a&&!l||r&&s&&A||!n&&A||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!A)return-1}return 0};var $_=function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var A=Z_(i[r],o[r]);if(A)return r>=a?A:A*('desc'==n[r]?-1:1)}return e.index-t.index},ej=Id,tj=Zd,nj=D_,rj=function(e,t){var n=-1,r=X_(e)?Array(e.length):[];return Y_(e,function(e,i,o){r[++n]=t(e,i,o)}),r},ij=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e},oj=Rc,sj=$_,aj=Yu,Aj=pc;var lj=function(e,t,n){t=t.length?ej(t,function(e){return Aj(e)?function(t){return tj(t,1===e.length?e[0]:e)}:e}):[aj];var r=-1;t=ej(t,oj(nj));var i=rj(e,function(e,n,i){return{criteria:ej(t,function(t){return t(e)}),index:++r,value:e}});return ij(i,function(e,t){return sj(e,t,n)})},cj=Hw,uj=lj,dj=fd,fj=rr(Ad(function(e,t){if(null==e)return[];var n=t.length;return n>1&&dj(e,t[0],t[1])?t=[]:n>2&&dj(t[0],t[1],t[2])&&(t=[t[0]]),uj(e,cj(t,1),[])})),hj=pA,pj=sc;var gj=function(e){return pj(e)&&'[object Date]'==hj(e)},mj=Rc,vj=zc&&zc.isDate,bj=rr(vj?mj(vj):gj),yj=new Date,wj=new Date;function Bj(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var s,a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=function(n){return Bj(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return yj.setTime(+t),wj.setTime(+r),e(yj),e(wj),Math.floor(n(yj,wj))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}var xj=Bj(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});xj.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Bj(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):xj:null};var Cj=xj;xj.range;var _j=1e3,jj=6e4,Fj=36e5,Ej=6048e5,Sj=Bj(function(e){e.setTime(e-e.getMilliseconds())},function(e,t){e.setTime(+e+t*_j)},function(e,t){return(t-e)/_j},function(e){return e.getUTCSeconds()}),kj=Sj;Sj.range;var Uj=Bj(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*_j)},function(e,t){e.setTime(+e+t*jj)},function(e,t){return(t-e)/jj},function(e){return e.getMinutes()}),Qj=Uj;Uj.range;var Lj=Bj(function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*_j-e.getMinutes()*jj)},function(e,t){e.setTime(+e+t*Fj)},function(e,t){return(t-e)/Fj},function(e){return e.getHours()}),Oj=Lj;function Ij(e){return Bj(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*jj)/Ej})}Lj.range;var Nj=Ij(0),Tj=Ij(1),Mj=Ij(2),Pj=Ij(3),Dj=Ij(4),Rj=Ij(5),Hj=Ij(6);Nj.range,Tj.range,Mj.range,Pj.range,Dj.range,Rj.range,Hj.range;var zj=Bj(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),Kj=zj;zj.range;var Vj=Bj(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Vj.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Bj(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var qj=Vj;Vj.range;var Gj=Bj(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*jj)},function(e,t){return(t-e)/jj},function(e){return e.getUTCMinutes()}),Wj=Gj;Gj.range;var Yj=Bj(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*Fj)},function(e,t){return(t-e)/Fj},function(e){return e.getUTCHours()}),Xj=Yj;function Jj(e){return Bj(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/Ej})}Yj.range;var Zj=Jj(0),$j=Jj(1),eF=Jj(2),tF=Jj(3),nF=Jj(4),rF=Jj(5),iF=Jj(6);Zj.range,$j.range,eF.range,tF.range,nF.range,rF.range,iF.range;var oF=Bj(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),sF=oF;oF.range;var aF=Bj(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});aF.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Bj(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var AF=aF;function lF(){return lF=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},lF.apply(this,arguments)}aF.range;var cF=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],uF={millisecond:[],second:cF.slice(0,1),minute:cF.slice(0,2),hour:cF.slice(0,3),day:cF.slice(0,4),month:cF.slice(0,5),year:cF.slice(0,6)},dF=function(e){var t=e.format,n=void 0===t?'native':t,r=e.precision,i=void 0===r?'millisecond':r,o=e.useUTC,s=void 0===o||o,a=function(e){return function(t){return uF[e].forEach(function(e){e(t)}),t}}(i);return function(e){if(void 0===e)return e;if('native'===n||e instanceof Date)return a(e);var t=s?Bm(n):ym(n);return a(t(e))}},fF=function(e,t,n,r){var i,o,s,a,A=e.min,l=void 0===A?0:A,c=e.max,u=void 0===c?'auto':c,d=e.stacked,f=void 0!==d&&d,h=e.reverse,p=void 0!==h&&h,g=e.clamp,m=void 0!==g&&g,v=e.nice,b=void 0!==v&&v;i='auto'===l?!0===f?null!=(o=t.minStacked)?o:0:t.min:l,s='auto'===u?!0===f?null!=(a=t.maxStacked)?a:0:t.max:u;var y=tg().rangeRound('x'===r?[0,n]:[n,0]).domain(p?[s,i]:[i,s]).clamp(m);return!0===b?y.nice():'number'==typeof b&&y.nice(b),hF(y,f)},hF=function(e,t){void 0===t&&(t=!1);var n=e;return n.type='linear',n.stacked=t,n},pF=function(e){var t=e;return t.type='band',t},gF=function(e,t,n){var r,i,o=e.format,s=void 0===o?'native':o,a=e.precision,A=void 0===a?'millisecond':a,l=e.min,c=void 0===l?'auto':l,u=e.max,d=void 0===u?'auto':u,f=e.useUTC,h=void 0===f||f,p=e.nice,g=void 0!==p&&p,m=dF({format:s,precision:A,useUTC:h});r='auto'===c?m(t.min):'native'!==s?m(c):c,i='auto'===d?m(t.max):'native'!==s?m(d):d;var v=h?function(){return gh.apply(Hv(um,dm,lm,am,$g,Jg,Yg,Gg,Fg,wm).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return gh.apply(Hv(fm,hm,Vg,zg,Ig,Lg,Ug,Sg,Fg,bm).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();v.range([0,n]),r&&i&&v.domain([r,i]),!0===g?v.nice():'object'!=typeof g&&'number'!=typeof g||v.nice(g);var b=v;return b.type='time',b.useUTC=h,b},mF=function(e,t,n,r){var i,o=e.base,s=void 0===o?10:o,a=e.min,A=void 0===a?'auto':a,l=e.max,c=void 0===l?'auto':l;if(t.all.some(function(e){return 0===e}))throw new Error('a log scale domain must not include or cross zero');var u,d,f=!1;if(t.all.filter(function(e){return null!=e}).forEach(function(e){f||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(f=!0))}),f)throw new Error('a log scale domain must be strictly-positive or strictly-negative');u='auto'===A?t.min:A,d='auto'===c?t.max:c;var h=cg().domain([u,d]).rangeRound('x'===r?[0,n]:[n,0]).base(s).nice();return h.type='log',h},vF=function(e,t){return e===t},bF=function(e,t){return e.getTime()===t.getTime()};function yF(e,t,n,r){switch(e.type){case'linear':return fF(e,t,n,r);case'point':return function(e,t,n){var r=wh().range([0,n]).domain(t.all);return r.type='point',r}(0,t,n);case'band':return function(e,t,n,r){var i=e.round,o=void 0===i||i,s=bh().range('x'===r?[0,n]:[n,0]).domain(t.all).round(o);return pF(s)}(e,t,n,r);case'time':return gF(e,t,n);case'log':return mF(e,t,n,r);case'symlog':return function(e,t,n,r){var i,o,s=e.constant,a=void 0===s?1:s,A=e.min,l=void 0===A?'auto':A,c=e.max,u=void 0===c?'auto':c,d=e.reverse,f=void 0!==d&&d;i='auto'===l?t.min:l,o='auto'===u?t.max:u;var h=fg().constant(a).rangeRound('x'===r?[0,n]:[n,0]).nice();!0===f?h.domain([o,i]):h.domain([i,o]);var p=h;return p.type='symlog',p}(e,t,n,r);default:throw new Error('invalid scale spec')}}var wF=function(e,t,n){var r;if('stacked'in n&&n.stacked){var i=e.data['x'===t?'xStacked':'yStacked'];return null==i?null:n(i)}return null!=(r=n(e.data[t]))?r:null},BF=function(e,t,n){return{x:xF(e,'x',t),y:xF(e,'y',n)}},xF=function(e,t,n,r){var i=void 0===r?{}:r,o=i.getValue,s=void 0===o?function(e){return e.data[t]}:o,a=i.setValue,A=void 0===a?function(e,n){e.data[t]=n}:a;if('linear'===n.type)e.forEach(function(e){e.data.forEach(function(e){var t=s(e);t&&A(e,parseFloat(String(t)))})});else if('time'===n.type&&'native'!==n.format){var l=dF(n);e.forEach(function(e){e.data.forEach(function(e){var t=s(e);t&&A(e,l(t))})})}var c=[];switch(e.forEach(function(e){e.data.forEach(function(e){c.push(s(e))})}),n.type){case'linear':var u=fj(o_(c).filter(function(e){return null!==e}),function(e){return e});return{all:u,min:Math.min.apply(Math,u),max:Math.max.apply(Math,u)};case'time':var d=z_(c,function(e){return e.getTime()}).slice(0).sort(function(e,t){return t.getTime()-e.getTime()}).reverse();return{all:d,min:d[0],max:oh(d)};default:var f=o_(c);return{all:f,min:f[0],max:oh(f)}}},CF=function(e,t,n){var r=function(e){return'x'===e?'y':'x'}(e),i=[];t[r].all.forEach(function(t){var o=bj(t)?bF:vF,s=[];n.forEach(function(n){var a=n.data.find(function(e){return o(e.data[r],t)}),A=null,l=null;if(void 0!==a){if(null!==(A=a.data[e])){var c=oh(s);void 0===c?l=A:null!==c&&(l=c+A)}a.data['x'===e?'xStacked':'yStacked']=l}s.push(l),null!==l&&i.push(l)})}),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},_F=function(e,t){return CF('x',e,t)},jF=function(e,t){return CF('y',e,t)},FF=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){var r;return(null!=(r=e(t))?r:0)+n}},EF={millisecond:[Cj,Cj],second:[kj,kj],minute:[Qj,Wj],hour:[Oj,Xj],day:[Bj(function(e){return e.setHours(0,0,0,0)},function(e,t){return e.setDate(e.getDate()+t)},function(e,t){return(t.getTime()-e.getTime())/864e5},function(e){return Math.floor(e.getTime()/864e5)}),Bj(function(e){return e.setUTCHours(0,0,0,0)},function(e,t){return e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t.getTime()-e.getTime())/864e5},function(e){return Math.floor(e.getTime()/864e5)})],week:[Nj,Zj],sunday:[Nj,Zj],monday:[Tj,$j],tuesday:[Mj,eF],wednesday:[Pj,tF],thursday:[Dj,nF],friday:[Rj,rF],saturday:[Hj,iF],month:[Kj,sF],year:[qj,AF]},SF=Object.keys(EF),kF=new RegExp('^every\\s*(\\d+)?\\s*('+SF.join('|')+')s?$','i'),UF=function(e,t){if(Array.isArray(t))return t;if('string'==typeof t&&'useUTC'in e){var n=t.match(kF);if(n){var r=n[1],i=n[2],o=EF[i][e.useUTC?1:0];if('day'===i){var s,a,A=e.domain(),l=A[0],c=A[1],u=new Date(c);return u.setDate(u.getDate()+1),null!=(s=null==(a=o.every(Number(null!=r?r:1)))?void 0:a.range(l,u))?s:[]}if(void 0===r)return e.ticks(o);var d=o.every(Number(r));if(d)return e.ticks(d)}throw new Error('Invalid tickValues: '+t)}if('ticks'in e){if(void 0===t)return e.ticks();if('number'==typeof(f=t)&&isFinite(f)&&Math.floor(f)===f)return e.ticks(t)}var f;return e.domain()};function QF(){return QF=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},QF.apply(this,arguments)}var LF=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,s=e.tickSize,a=e.tickPadding,A=e.tickRotation,l=e.truncateTickAt,c=e.engine,u=void 0===c?'svg':c,d=UF(r,o),f=BC[u],h='bandwidth'in r?FF(r):r,p={lineX:0,lineY:0},g={textX:0,textY:0},m='object'==typeof document&&'rtl'===document.dir,v=f.align.center,b=f.baseline.center;return'x'===n?(t=function(e){var t;return{x:null!=(t=h(e))?t:0,y:0}},p.lineY=s*('after'===i?1:-1),g.textY=(s+a)*('after'===i?1:-1),b='after'===i?f.baseline.top:f.baseline.bottom,0===A?v=f.align.center:'after'===i&&A<0||'before'===i&&A>0?(v=f.align[m?'left':'right'],b=f.baseline.center):('after'===i&&A>0||'before'===i&&A<0)&&(v=f.align[m?'right':'left'],b=f.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=h(e))?t:0}},p.lineX=s*('after'===i?1:-1),g.textX=(s+a)*('after'===i?1:-1),v='after'===i?f.align.left:f.align.right),{ticks:d.map(function(e){var n='string'==typeof e?function(e){var t=String(e).length;return l&&l>0&&t>l?''+String(e).slice(0,l).concat('...'):''+e}(e):e;return QF({key:e instanceof Date?''+e.valueOf():''+e,value:n},t(e),p,g)}),textAlign:v,textBaseline:b}},OF=function(e,t){if(void 0===e||'function'==typeof e)return e;if('time'===t.type){var n=bm(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return hw(e)},IF=function(e){var t,n=e.width,r=e.height,i=e.scale,o=e.axis,s=e.values,a=(t=s,(Array.isArray(t)?s:void 0)||UF(i,s)),A='bandwidth'in i?FF(i):i,l='x'===o?a.map(function(e){var t,n;return{key:e instanceof Date?''+e.valueOf():''+e,x1:null!=(t=A(e))?t:0,x2:null!=(n=A(e))?n:0,y1:0,y2:r}}):a.map(function(e){var t,r;return{key:e instanceof Date?''+e.valueOf():''+e,x1:0,x2:n,y1:null!=(t=A(e))?t:0,y2:null!=(r=A(e))?r:0}});return l},NF=f(function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,s=e.onClick,a=e.textBaseline,A=e.textAnchor,l=e.animatedProps,c=cC(),u=c.axis.ticks.line,f=c.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=d(function(){var e={opacity:l.opacity};return s?{style:QF({},e,{cursor:'pointer'}),onClick:function(e){return s(e,h)}}:{style:e}},[l.opacity,s,h]);return B(ga.g,QF({transform:l.transform},p,{children:[w('line',{x1:0,x2:i,y1:0,y2:o,style:u}),f.outlineWidth>0&&w(ga.text,{dominantBaseline:a,textAnchor:A,transform:l.textTransform,style:f,strokeWidth:2*f.outlineWidth,stroke:f.outlineColor,strokeLinejoin:'round',children:''+h}),w(ga.text,{dominantBaseline:a,textAnchor:A,transform:l.textTransform,style:f,children:''+h})]}))}),TF=f(function(t){var n=t.axis,r=t.scale,i=t.x,o=void 0===i?0:i,a=t.y,A=void 0===a?0:a,l=t.length,c=t.ticksPosition,u=t.tickValues,f=t.tickSize,h=void 0===f?5:f,p=t.tickPadding,g=void 0===p?5:p,m=t.tickRotation,v=void 0===m?0:m,b=t.format,y=t.renderTick,C=void 0===y?NF:y,_=t.truncateTickAt,j=t.legend,F=t.legendPosition,E=void 0===F?'end':F,S=t.legendOffset,k=void 0===S?0:S,U=t.onClick,Q=t.ariaHidden,L=cC(),O=L.axis.legend.text,I=d(function(){return OF(b,r)},[b,r]),N=LF({axis:n,scale:r,ticksPosition:c,tickValues:u,tickSize:h,tickPadding:g,tickRotation:v,truncateTickAt:_}),T=N.ticks,M=N.textAlign,P=N.textBaseline,D=null;if(void 0!==j){var R,H=0,z=0,K=0;'y'===n?(K=-90,H=k,'start'===E?(R='start',z=l):'middle'===E?(R='middle',z=l/2):'end'===E&&(R='end')):(z=k,'start'===E?R='start':'middle'===E?(R='middle',H=l/2):'end'===E&&(R='end',H=l)),D=B(x,{children:[O.outlineWidth>0&&w('text',{transform:'translate('+H+', '+z+') rotate('+K+')',textAnchor:R,style:QF({dominantBaseline:'central'},O),strokeWidth:2*O.outlineWidth,stroke:O.outlineColor,strokeLinejoin:'round',children:j}),w('text',{transform:'translate('+H+', '+z+') rotate('+K+')',textAnchor:R,style:QF({dominantBaseline:'central'},O),children:j})]})}var V=Rx(),q=V.animate,G=V.config,W=Ys({transform:'translate('+o+','+A+')',lineX2:'x'===n?l:0,lineY2:'x'===n?0:l,config:G,immediate:!q}),Y=s(function(e){return{opacity:1,transform:'translate('+e.x+','+e.y+')',textTransform:'translate('+e.textX+','+e.textY+') rotate('+v+')'}},[v]),X=s(function(e){return{opacity:0,transform:'translate('+e.x+','+e.y+')',textTransform:'translate('+e.textX+','+e.textY+') rotate('+v+')'}},[v]),J=Xs(T,{keys:function(e){return e.key},initial:Y,from:X,enter:Y,update:Y,leave:{opacity:0},config:G,immediate:!q});return B(ga.g,{transform:W.transform,'aria-hidden':Q,children:[J(function(t,n,r,i){return e.createElement(C,QF({tickIndex:i,format:I,rotate:v,textBaseline:P,textAnchor:M,truncateTickAt:_,animatedProps:t},n,U?{onClick:U}:{}))}),w(ga.line,{style:L.axis.domain.line,x1:0,x2:W.lineX2,y1:0,y2:W.lineY2}),D]})}),MF={ticksPosition:kr.oneOf(['before','after']),tickValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)])),kr.string]),rotateOnTickLength:kr.shape({angle:kr.number,length:kr.number}),tickSize:kr.number,tickPadding:kr.number,tickRotation:kr.number,format:kr.oneOfType([kr.func,kr.string]),renderTick:kr.func,legend:kr.node,legendPosition:kr.oneOf(['start','middle','end']),legendOffset:kr.number,ariaHidden:kr.bool},PF=kr.shape(MF),DF=['top','right','bottom','left'],RF=f(function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return w(x,{children:DF.map(function(e){var s=o[e];if(!s)return null;var a='top'===e||'bottom'===e;return w(TF,QF({},s,{axis:a?'x':'y',x:'right'===e?r:0,y:'bottom'===e?i:0,scale:a?t:n,length:a?r:i,ticksPosition:'top'===e||'left'===e?'before':'after',truncateTickAt:s.truncateTickAt}),e)})})}),HF=f(function(e){var t=e.animatedProps,n=cC();return w(ga.line,QF({},t,n.grid.line))}),zF=f(function(e){var t=e.lines,n=Rx(),r=n.animate,i=Xs(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return w('g',{children:i(function(e,t){return p(HF,QF({},t,{key:t.key,animatedProps:e}))})})}),KF=f(function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,s=e.yValues,a=d(function(){return!!r&&IF({width:t,height:n,scale:r,axis:'x',values:o})},[r,o,t,n]),A=d(function(){return!!i&&IF({width:t,height:n,scale:i,axis:'y',values:s})},[n,t,i,s]);return B(x,{children:[a&&w(zF,{lines:a}),A&&w(zF,{lines:A})]})}),VF=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,s=t.top,a=t.right,A=t.bottom,l=t.left,c=t.theme,u={top:s,right:a,bottom:A,left:l};DF.forEach(function(t){var s=u[t];if(!s)return null;var a='top'===t||'bottom'===t,A='top'===t||'left'===t?'before':'after',l=a?n:r,d=OF(s.format,l);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,s=void 0===o?0:o,a=t.y,A=void 0===a?0:a,l=t.length,c=t.ticksPosition,u=t.tickValues,d=t.tickSize,f=void 0===d?5:d,h=t.tickPadding,p=void 0===h?5:h,g=t.tickRotation,m=void 0===g?0:g,v=t.format,b=t.legend,y=t.legendPosition,w=void 0===y?'end':y,B=t.legendOffset,x=void 0===B?0:B,C=t.theme,_=LF({axis:r,scale:i,ticksPosition:c,tickValues:u,tickSize:f,tickPadding:p,tickRotation:m,engine:'canvas'}),j=_.ticks,F=_.textAlign,E=_.textBaseline;e.save(),e.translate(s,A),e.textAlign=F,e.textBaseline=E;var S=C.axis.ticks.text;e.font=(S.fontWeight?S.fontWeight+' ':'')+S.fontSize+'px '+S.fontFamily,(null!=(n=C.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.domain.line.strokeWidth),e.lineCap='square',C.axis.domain.line.stroke&&(e.strokeStyle=C.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo('x'===r?l:0,'x'===r?0:l),e.stroke());var k='function'==typeof v?v:function(e){return''+e};if(j.forEach(function(t){var n;(null!=(n=C.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(C.axis.ticks.line.strokeWidth),e.lineCap='square',C.axis.ticks.line.stroke&&(e.strokeStyle=C.axis.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var r=k(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(bC(m)),S.outlineWidth>0&&(e.strokeStyle=S.outlineColor,e.lineWidth=2*S.outlineWidth,e.lineJoin='round',e.strokeText(''+r,0,0)),C.axis.ticks.text.fill&&(e.fillStyle=S.fill),e.fillText(''+r,0,0),e.restore()}),void 0!==b){var U=0,Q=0,L=0,O='center';'y'===r?(L=-90,U=x,'start'===w?(O='start',Q=l):'middle'===w?(O='center',Q=l/2):'end'===w&&(O='end')):(Q=x,'start'===w?O='start':'middle'===w?(O='center',U=l/2):'end'===w&&(O='end',U=l)),e.translate(U,Q),e.rotate(bC(L)),e.font=(C.axis.legend.text.fontWeight?C.axis.legend.text.fontWeight+' ':'')+C.axis.legend.text.fontSize+'px '+C.axis.legend.text.fontFamily,C.axis.legend.text.fill&&(e.fillStyle=C.axis.legend.text.fill),e.textAlign=O,e.textBaseline='middle',e.fillText(b,0,0)}e.restore()}(e,QF({},s,{axis:a?'x':'y',x:'right'===t?i:0,y:'bottom'===t?o:0,scale:l,format:d,length:a?i:o,ticksPosition:A,theme:c}))})},qF=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,s=t.values;IF({width:n,height:r,scale:i,axis:o,values:s}).forEach(function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()})},GF=W_;var WF=hB,YF=function(e,t){var n=[];return GF(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n},XF=D_,JF=pc;var ZF=rr(function(e,t){return(JF(e)?WF:YF)(e,XF(t))}),$F=pA,eE=sc;var tE=rr(function(e){return'number'==typeof e||eE(e)&&'[object Number]'==$F(e)});var nE=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},rE=tu,iE=kB;var oE=function(e,t){return e&&rE(t,iE(t),e)},sE=tu,aE=Bu;var AE=function(e,t){return e&&sE(t,aE(t),e)},lE=tu,cE=wB;var uE=function(e,t){return lE(e,cE(e),t)},dE=Nw,fE=$l,hE=wB,pE=pB,gE=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)dE(t,hE(e)),e=fE(e);return t}:pE,mE=tu,vE=gE;var bE=function(e,t){return mE(e,vE(e),t)},yE=fB,wE=gE,BE=Bu;var xE=function(e){return yE(e,BE,wE)},CE=Object.prototype.hasOwnProperty;var _E=function(e){var t=e.length,n=new e.constructor(t);return t&&'string'==typeof e[0]&&CE.call(e,'index')&&(n.index=e.index,n.input=e.input),n},jE=Kl;var FE=function(e,t){var n=t?jE(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},EE=/\w*$/;var SE=function(e){var t=new e.constructor(e.source,EE.exec(e));return t.lastIndex=e.lastIndex,t},kE=iA?iA.prototype:void 0,UE=kE?kE.valueOf:void 0;var QE=Kl,LE=FE,OE=SE,IE=function(e){return UE?Object(UE.call(e)):{}},NE=ql;var TE=function(e,t,n){var r=e.constructor;switch(t){case'[object ArrayBuffer]':return QE(e);case'[object Boolean]':case'[object Date]':return new r(+e);case'[object DataView]':return LE(e,n);case'[object Float32Array]':case'[object Float64Array]':case'[object Int8Array]':case'[object Int16Array]':case'[object Int32Array]':case'[object Uint8Array]':case'[object Uint8ClampedArray]':case'[object Uint16Array]':case'[object Uint32Array]':return NE(e,n);case'[object Map]':case'[object Set]':return new r;case'[object Number]':case'[object String]':return new r(e);case'[object RegExp]':return OE(e);case'[object Symbol]':return IE(e)}},ME=ox,PE=sc;var DE=function(e){return PE(e)&&'[object Map]'==ME(e)},RE=Rc,HE=zc&&zc.isMap,zE=HE?RE(HE):DE,KE=ox,VE=sc;var qE=function(e){return VE(e)&&'[object Set]'==KE(e)},GE=Rc,WE=zc&&zc.isSet,YE=WE?GE(WE):qE,XE=kl,JE=nE,ZE=Zc,$E=oE,eS=AE,tS=Rl,nS=Gl,rS=uE,iS=bE,oS=OB,sS=xE,aS=ox,AS=_E,lS=TE,cS=oc,uS=pc,dS=_c,fS=zE,hS=gA,pS=YE,gS=kB,mS=Bu,vS='[object Arguments]',bS='[object Function]',yS='[object Object]',wS={};wS[vS]=wS['[object Array]']=wS['[object ArrayBuffer]']=wS['[object DataView]']=wS['[object Boolean]']=wS['[object Date]']=wS['[object Float32Array]']=wS['[object Float64Array]']=wS['[object Int8Array]']=wS['[object Int16Array]']=wS['[object Int32Array]']=wS['[object Map]']=wS['[object Number]']=wS[yS]=wS['[object RegExp]']=wS['[object Set]']=wS['[object String]']=wS['[object Symbol]']=wS['[object Uint8Array]']=wS['[object Uint8ClampedArray]']=wS['[object Uint16Array]']=wS['[object Uint32Array]']=!0,wS['[object Error]']=wS[bS]=wS['[object WeakMap]']=!1;var BS=function e(t,n,r,i,o,s){var a,A=1&n,l=2&n,c=4&n;if(r&&(a=o?r(t,i,o,s):r(t)),void 0!==a)return a;if(!hS(t))return t;var u=uS(t);if(u){if(a=AS(t),!A)return nS(t,a)}else{var d=aS(t),f=d==bS||'[object GeneratorFunction]'==d;if(dS(t))return tS(t,A);if(d==yS||d==vS||f&&!o){if(a=l||f?{}:cS(t),!A)return l?iS(t,eS(a,t)):rS(t,$E(a,t))}else{if(!wS[d])return o?t:{};a=lS(t,d,A)}}s||(s=new XE);var h=s.get(t);if(h)return h;s.set(t,a),pS(t)?t.forEach(function(i){a.add(e(i,n,r,i,t,s))}):fS(t)&&t.forEach(function(i,o){a.set(o,e(i,n,r,o,t,s))});var p=u?void 0:(c?l?sS:oS:l?mS:gS)(t);return JE(p||t,function(i,o){p&&(i=t[o=i]),ZE(a,o,e(i,n,r,o,t,s))}),a};var xS=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o},CS=Zd,_S=xS;var jS=function(e,t){return t.length<2?e:CS(e,_S(t,0,-1))},FS=Gd,ES=ih,SS=jS,kS=Yd,US=Object.prototype.hasOwnProperty;var QS=function(e,t){var n=-1,r=(t=FS(t,e)).length;if(!r)return!0;for(var i=null==e||'object'!=typeof e&&'function'!=typeof e;++n<r;){var o=t[n];if('string'==typeof o){if('__proto__'===o&&!US.call(e,'__proto__'))return!1;if('constructor'===o&&n+1<r&&'string'==typeof t[n+1]&&'prototype'===t[n+1]){if(i&&0===n)continue;return!1}}}var s=SS(e,t);return null==s||delete s[kS(ES(t))]},LS=Oc;var OS=Id,IS=BS,NS=QS,TS=Gd,MS=tu,PS=function(e){return LS(e)?void 0:e},DS=xE,RS=Gw(function(e,t){var n={};if(null==e)return n;var r=!1;t=OS(t,function(t){return t=TS(t,e),r||(r=t.length>1),t}),MS(e,DS(e),n),r&&(n=IS(n,7,PS));for(var i=t.length;i--;)NS(n,t[i]);return n}),HS=rr(RS);function zS(){return zS=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},zS.apply(this,arguments)}var KS=4,VS=120,qS=8,GS=function(e){return'circle'===e.type},WS=function(e){return'dot'===e.type},YS=function(e){return'rect'===e.type},XS=function(e){var t,n,r=e.x,i=e.y,o=e.noteX,s=e.noteY,a=e.noteWidth,A=void 0===a?VS:a,l=e.noteTextOffset,c=void 0===l?qS:l;if(tE(o))t=r+o;else{if(void 0===o.abs)throw new Error('noteX should be either a number or an object containing an \'abs\' property');t=o.abs}if(tE(s))n=i+s;else{if(void 0===s.abs)throw new Error('noteY should be either a number or an object containing an \'abs\' property');n=s.abs}var u=r,d=i,f=function(e,t,n,r){var i=Math.atan2(r-t,n-e);return function(e){var t=e%360;return t<0&&(t+=360),t}(yC(i))}(r,i,t,n);if(GS(e)){var h=wC(bC(f),e.size/2);u+=h.x,d+=h.y}if(YS(e)){var p=Math.round((f+90)/45)%8;0===p&&(d-=e.height/2),1===p&&(u+=e.width/2,d-=e.height/2),2===p&&(u+=e.width/2),3===p&&(u+=e.width/2,d+=e.height/2),4===p&&(d+=e.height/2),5===p&&(u-=e.width/2,d+=e.height/2),6===p&&(u-=e.width/2),7===p&&(u-=e.width/2,d-=e.height/2)}var g=t,m=t;return(f+90)%360>180?(g-=A,m-=A):m+=A,{points:[[u,d],[t,n],[m,n]],text:[g,n-c],angle:f+90}},JS=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return d(function(){return function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce(function(e,n){var o=n.offset||0;return[].concat(e,ZF(t,n.match).map(function(e){var t=r(e),s=i(e);return(GS(n)||YS(n))&&(s.size=s.size+2*o,s.width=s.width+2*o,s.height=s.height+2*o),zS({},HS(n,['match','offset']),t,s,{size:n.size||s.size,datum:e})}))},[])}({data:t,annotations:n,getPosition:r,getDimensions:i})},[t,n,r,i])},ZS=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=cC(),s=Rx(),a=s.animate,A=Ys({x:n,y:r,config:s.config,immediate:!a});return'function'==typeof i?p(i,{x:n,y:r,datum:t}):B(x,{children:[o.annotations.text.outlineWidth>0&&w(ga.text,{x:A.x,y:A.y,style:zS({},o.annotations.text,{strokeLinejoin:'round',strokeWidth:2*o.annotations.text.outlineWidth,stroke:o.annotations.text.outlineColor}),children:i}),w(ga.text,{x:A.x,y:A.y,style:HS(o.annotations.text,['outlineWidth','outlineColor']),children:i})]})},$S=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=cC(),o=d(function(){var e=t[0];return t.slice(1).reduce(function(e,t){return e+' L'+t[0]+','+t[1]},'M'+e[0]+','+e[1])},[t]),s=Hx(o);if(r&&i.annotations.link.outlineWidth<=0)return null;var a=zS({},i.annotations.link);return r&&(a.strokeLinecap='square',a.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,a.stroke=i.annotations.link.outlineColor,a.opacity=i.annotations.link.outlineOpacity),w(ga.path,{fill:'none',d:s,style:a})},ek=function(e){var t=e.x,n=e.y,r=e.size,i=cC(),o=Rx(),s=o.animate,a=Ys({x:t,y:n,radius:r/2,config:o.config,immediate:!s});return B(x,{children:[i.annotations.outline.outlineWidth>0&&w(ga.circle,{cx:a.x,cy:a.y,r:a.radius,style:zS({},i.annotations.outline,{fill:'none',strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor,opacity:i.annotations.outline.outlineOpacity})}),w(ga.circle,{cx:a.x,cy:a.y,r:a.radius,style:i.annotations.outline})]})},tk=function(e){var t=e.x,n=e.y,r=e.size,i=void 0===r?KS:r,o=cC(),s=Rx(),a=s.animate,A=Ys({x:t,y:n,radius:i/2,config:s.config,immediate:!a});return B(x,{children:[o.annotations.outline.outlineWidth>0&&w(ga.circle,{cx:A.x,cy:A.y,r:A.radius,style:zS({},o.annotations.outline,{fill:'none',strokeWidth:2*o.annotations.outline.outlineWidth,stroke:o.annotations.outline.outlineColor,opacity:o.annotations.outline.outlineOpacity})}),w(ga.circle,{cx:A.x,cy:A.y,r:A.radius,style:o.annotations.symbol})]})},nk=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=e.borderRadius,s=void 0===o?6:o,a=cC(),A=Rx(),l=A.animate,c=Ys({x:t-r/2,y:n-i/2,width:r,height:i,config:A.config,immediate:!l});return B(x,{children:[a.annotations.outline.outlineWidth>0&&w(ga.rect,{x:c.x,y:c.y,rx:s,ry:s,width:c.width,height:c.height,style:zS({},a.annotations.outline,{fill:'none',strokeWidth:a.annotations.outline.strokeWidth+2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),w(ga.rect,{x:c.x,y:c.y,rx:s,ry:s,width:c.width,height:c.height,style:a.annotations.outline})]})},rk=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,o=function(e){return d(function(){return XS(e)},[e])}(e);if(!function(e){var t=typeof e;return a(e)||'string'===t||'function'===t||'object'===t}(i))throw new Error('note should be a valid react element');return B(x,{children:[w($S,{points:o.points,isOutline:!0}),GS(e)&&w(ek,{x:n,y:r,size:e.size}),WS(e)&&w(tk,{x:n,y:r,size:e.size}),YS(e)&&w(nk,{x:n,y:r,width:e.width,height:e.height,borderRadius:e.borderRadius}),w($S,{points:o.points}),w(ZS,{datum:t,x:o.text[0],y:o.text[1],note:i})]})},ik=function(e,t){t.forEach(function(t,n){var r=t[0],i=t[1];0===n?e.moveTo(r,i):e.lineTo(r,i)})};function ok(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]='#'+e.slice(6*r,6*++r);return n}var sk=ok('1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf'),ak=ok('7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666'),Ak=ok('1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666'),lk=ok('a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928'),ck=ok('fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2'),uk=ok('b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc'),dk=ok('e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999'),fk=ok('66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3'),hk=ok('8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f'),pk=e=>gp(e[e.length-1]),gk=new Array(3).concat('d8b365f5f5f55ab4ac','a6611adfc27d80cdc1018571','a6611adfc27df5f5f580cdc1018571','8c510ad8b365f6e8c3c7eae55ab4ac01665e','8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e','8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e','8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e','5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30','5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30').map(ok),mk=pk(gk),vk=new Array(3).concat('af8dc3f7f7f77fbf7b','7b3294c2a5cfa6dba0008837','7b3294c2a5cff7f7f7a6dba0008837','762a83af8dc3e7d4e8d9f0d37fbf7b1b7837','762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837','762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837','762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837','40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b','40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b').map(ok),bk=pk(vk),yk=new Array(3).concat('e9a3c9f7f7f7a1d76a','d01c8bf1b6dab8e1864dac26','d01c8bf1b6daf7f7f7b8e1864dac26','c51b7de9a3c9fde0efe6f5d0a1d76a4d9221','c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221','c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221','c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221','8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419','8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419').map(ok),wk=pk(yk),Bk=new Array(3).concat('998ec3f7f7f7f1a340','5e3c99b2abd2fdb863e66101','5e3c99b2abd2f7f7f7fdb863e66101','542788998ec3d8daebfee0b6f1a340b35806','542788998ec3d8daebf7f7f7fee0b6f1a340b35806','5427888073acb2abd2d8daebfee0b6fdb863e08214b35806','5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806','2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08','2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08').map(ok),xk=pk(Bk),Ck=new Array(3).concat('ef8a62f7f7f767a9cf','ca0020f4a58292c5de0571b0','ca0020f4a582f7f7f792c5de0571b0','b2182bef8a62fddbc7d1e5f067a9cf2166ac','b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac','b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac','b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac','67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061','67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061').map(ok),_k=pk(Ck),jk=new Array(3).concat('ef8a62ffffff999999','ca0020f4a582bababa404040','ca0020f4a582ffffffbababa404040','b2182bef8a62fddbc7e0e0e09999994d4d4d','b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d','b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d','b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d','67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a','67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a').map(ok),Fk=pk(jk),Ek=new Array(3).concat('fc8d59ffffbf91bfdb','d7191cfdae61abd9e92c7bb6','d7191cfdae61ffffbfabd9e92c7bb6','d73027fc8d59fee090e0f3f891bfdb4575b4','d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4','d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4','d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4','a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695','a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695').map(ok),Sk=pk(Ek),kk=new Array(3).concat('fc8d59ffffbf91cf60','d7191cfdae61a6d96a1a9641','d7191cfdae61ffffbfa6d96a1a9641','d73027fc8d59fee08bd9ef8b91cf601a9850','d73027fc8d59fee08bffffbfd9ef8b91cf601a9850','d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850','d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850','a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837','a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837').map(ok),Uk=pk(kk),Qk=new Array(3).concat('fc8d59ffffbf99d594','d7191cfdae61abdda42b83ba','d7191cfdae61ffffbfabdda42b83ba','d53e4ffc8d59fee08be6f59899d5943288bd','d53e4ffc8d59fee08bffffbfe6f59899d5943288bd','d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd','d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd','9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2','9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2').map(ok),Lk=pk(Qk),Ok=new Array(3).concat('e5f5f999d8c92ca25f','edf8fbb2e2e266c2a4238b45','edf8fbb2e2e266c2a42ca25f006d2c','edf8fbccece699d8c966c2a42ca25f006d2c','edf8fbccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824','f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b').map(ok),Ik=pk(Ok),Nk=new Array(3).concat('e0ecf49ebcda8856a7','edf8fbb3cde38c96c688419d','edf8fbb3cde38c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68856a7810f7c','edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b','f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b').map(ok),Tk=pk(Nk),Mk=new Array(3).concat('e0f3dba8ddb543a2ca','f0f9e8bae4bc7bccc42b8cbe','f0f9e8bae4bc7bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc443a2ca0868ac','f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e','f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081').map(ok),Pk=pk(Mk),Dk=new Array(3).concat('fee8c8fdbb84e34a33','fef0d9fdcc8afc8d59d7301f','fef0d9fdcc8afc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59e34a33b30000','fef0d9fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000','fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000').map(ok),Rk=pk(Dk),Hk=new Array(3).concat('ece2f0a6bddb1c9099','f6eff7bdc9e167a9cf02818a','f6eff7bdc9e167a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf1c9099016c59','f6eff7d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450','fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636').map(ok),zk=pk(Hk),Kk=new Array(3).concat('ece7f2a6bddb2b8cbe','f1eef6bdc9e174a9cf0570b0','f1eef6bdc9e174a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d','f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b','fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858').map(ok),Vk=pk(Kk),qk=new Array(3).concat('e7e1efc994c7dd1c77','f1eef6d7b5d8df65b0ce1256','f1eef6d7b5d8df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0dd1c77980043','f1eef6d4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f','f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f').map(ok),Gk=pk(qk),Wk=new Array(3).concat('fde0ddfa9fb5c51b8a','feebe2fbb4b9f768a1ae017e','feebe2fbb4b9f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1c51b8a7a0177','feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177','fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a').map(ok),Yk=pk(Wk),Xk=new Array(3).concat('edf8b17fcdbb2c7fb8','ffffcca1dab441b6c4225ea8','ffffcca1dab441b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c42c7fb8253494','ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84','ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58').map(ok),Jk=pk(Xk),Zk=new Array(3).concat('f7fcb9addd8e31a354','ffffccc2e69978c679238443','ffffccc2e69978c67931a354006837','ffffccd9f0a3addd8e78c67931a354006837','ffffccd9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32','ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529').map(ok),$k=pk(Zk),eU=new Array(3).concat('fff7bcfec44fd95f0e','ffffd4fed98efe9929cc4c02','ffffd4fed98efe9929d95f0e993404','ffffd4fee391fec44ffe9929d95f0e993404','ffffd4fee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04','ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506').map(ok),tU=pk(eU),nU=new Array(3).concat('ffeda0feb24cf03b20','ffffb2fecc5cfd8d3ce31a1c','ffffb2fecc5cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cf03b20bd0026','ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026','ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026').map(ok),rU=pk(nU),iU=new Array(3).concat('deebf79ecae13182bd','eff3ffbdd7e76baed62171b5','eff3ffbdd7e76baed63182bd08519c','eff3ffc6dbef9ecae16baed63182bd08519c','eff3ffc6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594','f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b').map(ok),oU=pk(iU),sU=new Array(3).concat('e5f5e0a1d99b31a354','edf8e9bae4b374c476238b45','edf8e9bae4b374c47631a354006d2c','edf8e9c7e9c0a1d99b74c47631a354006d2c','edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32','f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b').map(ok),aU=pk(sU),AU=new Array(3).concat('f0f0f0bdbdbd636363','f7f7f7cccccc969696525252','f7f7f7cccccc969696636363252525','f7f7f7d9d9d9bdbdbd969696636363252525','f7f7f7d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525','fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000').map(ok),lU=pk(AU),cU=new Array(3).concat('efedf5bcbddc756bb1','f2f0f7cbc9e29e9ac86a51a3','f2f0f7cbc9e29e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8756bb154278f','f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486','fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d').map(ok),uU=pk(cU),dU=new Array(3).concat('fee0d2fc9272de2d26','fee5d9fcae91fb6a4acb181d','fee5d9fcae91fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4ade2d26a50f15','fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d','fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d').map(ok),fU=pk(dU),hU=new Array(3).concat('fee6cefdae6be6550d','feeddefdbe85fd8d3cd94701','feeddefdbe85fd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3ce6550da63603','feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04','fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704').map(ok),pU=pk(hU);function gU(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function mU(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function vU(){}var bU=.7,yU=1/bU,wU='\\s*([+-]?\\d+)\\s*',BU='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*',xU='\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*',CU=/^#([0-9a-f]{3,8})$/,_U=new RegExp('^rgb\\('+[wU,wU,wU]+'\\)$'),jU=new RegExp('^rgb\\('+[xU,xU,xU]+'\\)$'),FU=new RegExp('^rgba\\('+[wU,wU,wU,BU]+'\\)$'),EU=new RegExp('^rgba\\('+[xU,xU,xU,BU]+'\\)$'),SU=new RegExp('^hsl\\('+[BU,xU,xU]+'\\)$'),kU=new RegExp('^hsla\\('+[BU,xU,xU,BU]+'\\)$'),UU={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 QU(){return this.rgb().formatHex()}function LU(){return this.rgb().formatRgb()}function OU(e){var t,n;return e=(e+'').trim().toLowerCase(),(t=CU.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?IU(t):3===n?new PU(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?NU(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?NU(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=_U.exec(e))?new PU(t[1],t[2],t[3],1):(t=jU.exec(e))?new PU(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=FU.exec(e))?NU(t[1],t[2],t[3],t[4]):(t=EU.exec(e))?NU(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=SU.exec(e))?zU(t[1],t[2]/100,t[3]/100,1):(t=kU.exec(e))?zU(t[1],t[2]/100,t[3]/100,t[4]):UU.hasOwnProperty(e)?IU(UU[e]):'transparent'===e?new PU(NaN,NaN,NaN,0):null}function IU(e){return new PU(e>>16&255,e>>8&255,255&e,1)}function NU(e,t,n,r){return r<=0&&(e=t=n=NaN),new PU(e,t,n,r)}function TU(e){return e instanceof vU||(e=OU(e)),e?new PU((e=e.rgb()).r,e.g,e.b,e.opacity):new PU}function MU(e,t,n,r){return 1===arguments.length?TU(e):new PU(e,t,n,null==r?1:r)}function PU(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function DU(){return'#'+HU(this.r)+HU(this.g)+HU(this.b)}function RU(){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 HU(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?'0':'')+e.toString(16)}function zU(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new VU(e,t,n,r)}function KU(e){if(e instanceof VU)return new VU(e.h,e.s,e.l,e.opacity);if(e instanceof vU||(e=OU(e)),!e)return new VU;if(e instanceof VU)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,A=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=A<.5?o+i:2-o-i,s*=60):a=A>0&&A<1?0:s,new VU(s,a,A,e.opacity)}function VU(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function qU(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}gU(vU,OU,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:QU,formatHex:QU,formatHsl:function(){return KU(this).formatHsl()},formatRgb:LU,toString:LU}),gU(PU,MU,mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new PU(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new PU(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:DU,formatHex:DU,formatRgb:RU,toString:RU})),gU(VU,function(e,t,n,r){return 1===arguments.length?KU(e):new VU(e,t,n,null==r?1:r)},mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new VU(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new VU(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,i=2*n-r;return new PU(qU(e>=240?e-240:e+120,i,r),qU(e,i,r),qU(e<120?e+240:e-120,i,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+')')}}));const GU=Math.PI/180,WU=180/Math.PI;var YU=-.14861,XU=1.78277,JU=-.29227,ZU=-.90649,$U=1.97294,eQ=$U*ZU,tQ=$U*XU,nQ=XU*JU-ZU*YU;function rQ(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof iQ)return new iQ(e.h,e.s,e.l,e.opacity);e instanceof PU||(e=TU(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(nQ*r+eQ*t-tQ*n)/-5.9615122912,o=r-i,s=($U*(n-i)-JU*o)/ZU,a=Math.sqrt(s*s+o*o)/($U*i*(1-i)),A=a?Math.atan2(s,o)*WU-120:NaN;return new iQ(A<0?A+360:A,a,i,e.opacity)}(e):new iQ(e,t,n,null==r?1:r)}function iQ(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}gU(iQ,rQ,mU(vU,{brighter:function(e){return e=null==e?yU:Math.pow(yU,e),new iQ(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?bU:Math.pow(bU,e),new iQ(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*GU,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new PU(255*(t+n*(YU*r+XU*i)),255*(t+n*(JU*r+ZU*i)),255*(t+n*($U*r)),this.opacity)}}));var oQ=Ep(rQ(300,.5,0),rQ(-240,.5,1)),sQ=Ep(rQ(-100,.75,.35),rQ(80,1.5,.8)),aQ=Ep(rQ(260,.75,.35),rQ(80,1.5,.8)),AQ=rQ();var lQ=MU(),cQ=Math.PI/3,uQ=2*Math.PI/3;function dQ(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var fQ=dQ(ok('44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725')),hQ=dQ(ok('00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf')),pQ=dQ(ok('00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4')),gQ=dQ(ok('0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921'));function mQ(){return mQ=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},mQ.apply(this,arguments)}function vQ(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}var bQ={nivo:['#e8c1a0','#f47560','#f1e15b','#e8a838','#61cdbb','#97e3d5'],category10:sk,accent:ak,dark2:Ak,paired:lk,pastel1:ck,pastel2:uk,set1:dk,set2:fk,set3:hk},yQ=Object.keys(bQ),wQ={brown_blueGreen:gk,purpleRed_green:vk,pink_yellowGreen:yk,purple_orange:Bk,red_blue:Ck,red_grey:jk,red_yellow_blue:Ek,red_yellow_green:kk,spectral:Qk},BQ=Object.keys(wQ),xQ={brown_blueGreen:mk,purpleRed_green:bk,pink_yellowGreen:wk,purple_orange:xk,red_blue:_k,red_grey:Fk,red_yellow_blue:Sk,red_yellow_green:Uk,spectral:Lk},CQ={blues:iU,greens:sU,greys:AU,oranges:hU,purples:cU,reds:dU,blue_green:Ok,blue_purple:Nk,green_blue:Mk,orange_red:Dk,purple_blue_green:Hk,purple_blue:Kk,purple_red:qk,red_purple:Wk,yellow_green_blue:Xk,yellow_green:Zk,yellow_orange_brown:eU,yellow_orange_red:nU},_Q=Object.keys(CQ),jQ={blues:oU,greens:aU,greys:lU,oranges:pU,purples:uU,reds:fU,turbo:function(e){return e=Math.max(0,Math.min(1,e)),'rgb('+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+', '+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+', '+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+')'},viridis:fQ,inferno:pQ,magma:hQ,plasma:gQ,cividis:function(e){return e=Math.max(0,Math.min(1,e)),'rgb('+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+', '+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+', '+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+')'},warm:sQ,cool:aQ,cubehelixDefault:oQ,blue_green:Ik,blue_purple:Tk,green_blue:Pk,orange_red:Rk,purple_blue_green:zk,purple_blue:Vk,purple_red:Gk,red_purple:Yk,yellow_green_blue:Jk,yellow_green:$k,yellow_orange_brown:tU,yellow_orange_red:rU},FQ=mQ({},bQ,wQ,CQ),EQ=Object.keys(FQ),SQ={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return AQ.h=360*e-100,AQ.s=1.5-1.5*t,AQ.l=.8-.9*t,AQ+''},sinebow:function(e){var t;return e=(.5-e)*Math.PI,lQ.r=255*(t=Math.sin(e))*t,lQ.g=255*(t=Math.sin(e+cQ))*t,lQ.b=255*(t=Math.sin(e+uQ))*t,lQ+''}};mQ({},xQ,jQ,SQ);var kQ=function(e,t){if('function'==typeof e)return e;if(Ic(e)){if(function(e){return void 0!==e.theme}(e)){if(void 0===t)throw new Error('Unable to use color from theme as no theme was provided');var n=tf(t,e.theme);if(void 0===n)throw new Error('Color from theme is undefined at path: \''+e.theme+'\'');return function(){return n}}if(function(e){return void 0!==e.from}(e)){var r=function(t){return tf(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],s=function(){var e=i.value,t=e[0],n=e[1];if('brighter'===t)o.push(function(e){return e.brighter(n)});else if('darker'===t)o.push(function(e){return e.darker(n)});else{if('opacity'!==t)throw new Error('Invalid color modifier: \''+t+'\', must be one of: \'brighter\', \'darker\', \'opacity\'');o.push(function(e){return e.opacity=n,e})}},a=function(e,t){var n='undefined'!=typeof Symbol&&e[Symbol.iterator]||e['@@iterator'];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if('string'==typeof e)return vQ(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)?vQ(e,t):void 0}}(e))||t&&e&&'number'==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}(e.modifiers);!(i=a()).done;)s();return 0===o.length?r:function(e){return o.reduce(function(e,t){return t(e)},Lf(r(e))).toString()}}return r}throw new Error('Invalid color spec, you should either specify \'theme\' or \'from\' when using a config object')}return function(){return e}},UQ=function(e,t){return d(function(){return kQ(e,t)},[e,t])},QQ=kr.oneOfType([kr.func,kr.arrayOf(kr.string),kr.shape({scheme:kr.oneOf(EQ).isRequired,size:kr.number}),kr.shape({datum:kr.string.isRequired}),kr.string]);kr.oneOfType([kr.string,kr.func,kr.shape({theme:kr.string.isRequired}),kr.shape({from:kr.string.isRequired,modifiers:kr.arrayOf(kr.array)})]);var LQ=function(e,t){if('function'==typeof e)return e;var n='function'==typeof t?t:function(e){return tf(e,t)};if(Array.isArray(e)){var r=vh(e),i=function(e){return r(n(e))};return i.scale=r,i}if(Ic(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return tf(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return yQ.includes(e)}(e.scheme)){var o=vh(FQ[e.scheme]),s=function(e){return o(n(e))};return s.scale=o,s}if(function(e){return BQ.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error('Invalid size \''+e.size+'\' for diverging color scheme \''+e.scheme+'\', must be between 3~11');var a=vh(FQ[e.scheme][e.size||11]),A=function(e){return a(n(e))};return A.scale=a,A}if(function(e){return _Q.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error('Invalid size \''+e.size+'\' for sequential color scheme \''+e.scheme+'\', must be between 3~9');var l=vh(FQ[e.scheme][e.size||9]),c=function(e){return l(n(e))};return c.scale=l,c}}throw new Error('Invalid colors, when using an object, you should either pass a \'datum\' or a \'scheme\' property')}return function(){return e}},OQ=function(e,t){return d(function(){return LQ(e,t)},[e,t])};function IQ(){return IQ=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},IQ.apply(this,arguments)}var NQ={top:0,right:0,bottom:0,left:0},TQ=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,s=e.itemWidth,a=e.itemHeight;if('number'!=typeof i&&('object'!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error('Invalid property padding, must be one of: number, object');var A='number'==typeof i?{top:i,right:i,bottom:i,left:i}:IQ({},NQ,i),l=A.left+A.right,c=A.top+A.bottom,u=s+l,d=a+c,f=(o-1)*r;return'row'===n?u=s*o+f+l:'column'===n&&(d=a*o+f+c),{width:u,height:d,padding:A}},MQ=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,s=e.width,a=e.height,A=n,l=r;switch(t){case'top':A+=(i-s)/2;break;case'top-right':A+=i-s;break;case'right':A+=i-s,l+=(o-a)/2;break;case'bottom-right':A+=i-s,l+=o-a;break;case'bottom':A+=(i-s)/2,l+=o-a;break;case'bottom-left':l+=o-a;break;case'left':l+=(o-a)/2;break;case'center':A+=(i-s)/2,l+=(o-a)/2}return{x:A,y:l}},PQ=function(e){var t,n,r,i,o,s,a=e.direction,A=e.justify,l=e.symbolSize,c=e.symbolSpacing,u=e.width,d=e.height;switch(a){case'left-to-right':t=0,n=(d-l)/2,i=d/2,s='central',A?(r=u,o='end'):(r=l+c,o='start');break;case'right-to-left':t=u-l,n=(d-l)/2,i=d/2,s='central',A?(r=0,o='start'):(r=u-l-c,o='end');break;case'top-to-bottom':t=(u-l)/2,n=0,r=u/2,o='middle',A?(i=d,s='alphabetic'):(i=l+c,s='text-before-edge');break;case'bottom-to-top':t=(u-l)/2,n=d-l,r=u/2,o='middle',A?(i=0,s='text-before-edge'):(i=d-l-c,s='alphabetic')}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:s}},DQ={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('circle',{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('g',{transform:'translate('+t+','+n+')',children:w('path',{d:'\n M'+r/2+' 0\n L'+.8*r+' '+r/2+'\n L'+r/2+' '+r+'\n L'+.2*r+' '+r/2+'\n L'+r/2+' 0\n ',fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('rect',{x:t,y:n,fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,width:r,height:r,style:{pointerEvents:'none'}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,s=void 0===o?1:o,a=e.borderWidth,A=void 0===a?0:a,l=e.borderColor;return w('g',{transform:'translate('+t+','+n+')',children:w('path',{d:'\n M'+r/2+' 0\n L'+r+' '+r+'\n L0 '+r+'\n L'+r/2+' 0\n ',fill:i,opacity:s,strokeWidth:A,stroke:void 0===l?'transparent':l,style:{pointerEvents:'none'}})})}},RQ=function(t){var r,i,o,a,A,l,c,u,d,f,h,p=t.x,g=t.y,m=t.width,v=t.height,b=t.data,y=t.direction,x=void 0===y?'left-to-right':y,C=t.justify,_=void 0!==C&&C,j=t.textColor,F=t.background,E=void 0===F?'transparent':F,S=t.opacity,k=void 0===S?1:S,U=t.symbolShape,Q=void 0===U?'square':U,L=t.symbolSize,O=void 0===L?16:L,I=t.symbolSpacing,N=void 0===I?8:I,T=t.symbolBorderWidth,M=void 0===T?0:T,P=t.symbolBorderColor,D=void 0===P?'transparent':P,R=t.onClick,H=t.onMouseEnter,z=t.onMouseLeave,K=t.toggleSerie,V=t.effects,q=n({}),G=q[0],W=q[1],Y=cC(),X=s(function(e){if(V){var t=V.filter(function(e){return'hover'===e.on}).reduce(function(e,t){return IQ({},e,t.style)},{});W(t)}null==H||H(b,e)},[H,b,V]),J=s(function(e){if(V){var t=V.filter(function(e){return'hover'!==e.on}).reduce(function(e,t){return IQ({},e,t.style)},{});W(t)}null==z||z(b,e)},[z,b,V]),Z=PQ({direction:x,justify:_,symbolSize:null!=(r=G.symbolSize)?r:O,symbolSpacing:N,width:m,height:v}),$=Z.symbolX,ee=Z.symbolY,te=Z.labelX,ne=Z.labelY,re=Z.labelAnchor,ie=Z.labelAlignment,oe=[R,H,z,K].some(function(e){return void 0!==e}),se='function'==typeof Q?Q:DQ[Q];return B('g',{transform:'translate('+p+','+g+')',style:{opacity:null!=(i=G.itemOpacity)?i:k},children:[w('rect',{width:m,height:v,fill:null!=(o=G.itemBackground)?o:E,style:{cursor:oe?'pointer':'auto'},onClick:function(e){null==R||R(b,e),null==K||K(b.id)},onMouseEnter:X,onMouseLeave:J}),e.createElement(se,IQ({id:b.id,x:$,y:ee,size:null!=(a=G.symbolSize)?a:O,fill:null!=(A=null!=(l=b.fill)?l:b.color)?A:'black',borderWidth:null!=(c=G.symbolBorderWidth)?c:M,borderColor:null!=(u=G.symbolBorderColor)?u:D},b.hidden?Y.legends.hidden.symbol:void 0)),w('text',{textAnchor:re,style:IQ({},Y.legends.text,{fill:null!=(d=null!=(f=null!=(h=G.itemTextColor)?h:j)?f:Y.legends.text.fill)?d:'black',dominantBaseline:ie,pointerEvents:'none',userSelect:'none'},b.hidden?Y.legends.hidden.text:void 0),x:te,y:ne,children:b.label})]})},HQ=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,s=void 0===o?0:o,a=e.justify,A=e.effects,l=e.itemWidth,c=e.itemHeight,u=e.itemDirection,d=void 0===u?'left-to-right':u,f=e.itemsSpacing,h=void 0===f?0:f,p=e.itemTextColor,g=e.itemBackground,m=void 0===g?'transparent':g,v=e.itemOpacity,b=void 0===v?1:v,y=e.symbolShape,B=e.symbolSize,x=e.symbolSpacing,C=e.symbolBorderWidth,_=e.symbolBorderColor,j=e.onClick,F=e.onMouseEnter,E=e.onMouseLeave,S=e.toggleSerie,k=TQ({itemCount:t.length,itemWidth:l,itemHeight:c,itemsSpacing:h,direction:i,padding:s}).padding,U='row'===i?l+h:0,Q='column'===i?c+h:0;return w('g',{transform:'translate('+n+','+r+')',children:t.map(function(e,t){return w(RQ,{data:e,x:t*U+k.left,y:t*Q+k.top,width:l,height:c,direction:d,justify:a,effects:A,textColor:p,background:m,opacity:b,symbolShape:y,symbolSize:B,symbolSpacing:x,symbolBorderWidth:C,symbolBorderColor:_,onClick:j,onMouseEnter:F,onMouseLeave:E,toggleSerie:S},t)})})},zQ=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?0:i,s=e.translateY,a=void 0===s?0:s,A=e.anchor,l=e.direction,c=e.padding,u=void 0===c?0:c,d=e.justify,f=e.itemsSpacing,h=void 0===f?0:f,p=e.itemWidth,g=e.itemHeight,m=e.itemDirection,v=e.itemTextColor,b=e.itemBackground,y=e.itemOpacity,B=e.symbolShape,x=e.symbolSize,C=e.symbolSpacing,_=e.symbolBorderWidth,j=e.symbolBorderColor,F=e.onClick,E=e.onMouseEnter,S=e.onMouseLeave,k=e.toggleSerie,U=e.effects,Q=TQ({itemCount:t.length,itemsSpacing:h,itemWidth:p,itemHeight:g,direction:l,padding:u}),L=Q.width,O=Q.height,I=MQ({anchor:A,translateX:o,translateY:a,containerWidth:n,containerHeight:r,width:L,height:O}),N=I.x,T=I.y;return w(HQ,{data:t,x:N,y:T,direction:l,padding:u,justify:d,effects:U,itemsSpacing:h,itemWidth:p,itemHeight:g,itemDirection:m,itemTextColor:v,itemBackground:b,itemOpacity:y,symbolShape:B,symbolSize:x,symbolSpacing:C,symbolBorderWidth:_,symbolBorderColor:j,onClick:F,onMouseEnter:E,onMouseLeave:S,toggleSerie:'boolean'==typeof k?void 0:k})},KQ={start:'left',middle:'center',end:'right'},VQ=function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,s=void 0===o?0:o,a=t.translateY,A=void 0===a?0:a,l=t.anchor,c=t.direction,u=t.padding,d=void 0===u?0:u,f=t.justify,h=void 0!==f&&f,p=t.itemsSpacing,g=void 0===p?0:p,m=t.itemWidth,v=t.itemHeight,b=t.itemDirection,y=void 0===b?'left-to-right':b,w=t.itemTextColor,B=t.symbolSize,x=void 0===B?16:B,C=t.symbolSpacing,_=void 0===C?8:C,j=t.theme,F=TQ({itemCount:n.length,itemWidth:m,itemHeight:v,itemsSpacing:g,direction:c,padding:d}),E=F.width,S=F.height,k=F.padding,U=MQ({anchor:l,translateX:s,translateY:A,containerWidth:r,containerHeight:i,width:E,height:S}),Q=U.x,L=U.y,O='row'===c?m+g:0,I='column'===c?v+g:0;e.save(),e.translate(Q,L),e.font=j.legends.text.fontSize+'px '+(j.legends.text.fontFamily||'sans-serif'),n.forEach(function(t,n){var r,i,o=n*O+k.left,s=n*I+k.top,a=PQ({direction:y,justify:h,symbolSize:x,symbolSpacing:_,width:m,height:v}),A=a.symbolX,l=a.symbolY,c=a.labelX,u=a.labelY,d=a.labelAnchor,f=a.labelAlignment;e.fillStyle=null!=(r=t.color)?r:'black',e.fillRect(o+A,s+l,x,x),e.textAlign=KQ[d],'central'===f&&(e.textBaseline='middle'),e.fillStyle=null!=(i=null!=w?w:j.legends.text.fill)?i:'black',e.fillText(String(t.label),o+c,s+u)}),e.restore()},qQ={data:kr.arrayOf(kr.object),anchor:kr.oneOf(['top','top-right','right','bottom-right','bottom','bottom-left','left','top-left','center']).isRequired,translateX:kr.number,translateY:kr.number,direction:kr.oneOf(['row','column']).isRequired,itemsSpacing:kr.number,itemWidth:kr.number.isRequired,itemHeight:kr.number.isRequired,itemDirection:kr.oneOf(['left-to-right','right-to-left','top-to-bottom','bottom-to-top']),itemTextColor:kr.string,itemBackground:kr.string,itemOpacity:kr.number,symbolShape:kr.oneOfType([kr.oneOf(['circle','diamond','square','triangle']),kr.func]),symbolSize:kr.number,symbolSpacing:kr.number,symbolBorderWidth:kr.number,symbolBorderColor:kr.string,onClick:kr.func,onMouseEnter:kr.func,onMouseLeave:kr.func,effects:kr.arrayOf(kr.shape({on:kr.oneOfType([kr.oneOf(['hover'])]).isRequired,style:kr.shape({itemTextColor:kr.string,itemBackground:kr.string,itemOpacity:kr.number,symbolSize:kr.number,symbolBorderWidth:kr.number,symbolBorderColor:kr.string}).isRequired}))};function GQ(){return GQ=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},GQ.apply(this,arguments)}function WQ(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var YQ,XQ=function(e){var t=e.bars,n=e.annotations,r=JS({data:t,annotations:n,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e){var t=e.height,n=e.width;return{width:n,height:t,size:Math.max(n,t)}}});return w(x,{children:r.map(function(e,t){return w(rk,GQ({},e),t)})})},JQ=function(e){var t=e.width,n=e.height,r=e.legends,i=e.toggleSerie;return w(x,{children:r.map(function(e,r){var o,s=e[0],a=e[1];return w(zQ,GQ({},s,{containerWidth:t,containerHeight:n,data:null!=(o=s.data)?o:a,toggleSerie:s.toggleSerie&&'keys'===s.dataFrom?i:void 0}),r)})})},ZQ=['data'],$Q=['color','label'],eL={indexBy:'id',keys:['value'],groupMode:'stacked',layout:'vertical',reverse:!1,minValue:'auto',maxValue:'auto',valueScale:{type:'linear'},indexScale:{type:'band',round:!0},padding:.1,innerPadding:0,axisBottom:{},axisLeft:{},enableGridX:!1,enableGridY:!0,enableLabel:!0,label:'formattedValue',labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{from:'theme',theme:'labels.text.fill'},colorBy:'id',colors:{scheme:'nivo'},borderRadius:0,borderWidth:0,borderColor:{from:'color'},isInteractive:!0,tooltip:function(e){var t=e.color,n=e.label,r=WQ(e,$Q);return w(Ba,{id:n,value:r.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+' - '+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],markers:[]},tL=GQ({},eL,{layers:['grid','axes','bars','markers','legends','annotations'],barComponent:function(e){var t,n=e.bar,r=n.data,i=WQ(n,ZQ),o=e.style,a=o.borderColor,A=o.color,l=o.height,c=o.labelColor,u=o.labelOpacity,f=o.labelX,h=o.labelY,g=o.transform,m=o.width,v=e.borderRadius,b=e.borderWidth,y=e.label,x=e.shouldRenderLabel,C=e.isInteractive,_=e.onClick,j=e.onMouseEnter,F=e.onMouseLeave,E=e.tooltip,S=e.isFocusable,k=e.ariaLabel,U=e.ariaLabelledBy,Q=e.ariaDescribedBy,L=cC(),O=ka(),I=O.showTooltipFromEvent,N=O.showTooltipAt,T=O.hideTooltip,M=d(function(){return function(){return p(E,GQ({},i,r))}},[E,i,r]),P=s(function(e){null==_||_(GQ({color:i.color},r),e)},[i,r,_]),D=s(function(e){return I(M(),e)},[I,M]),R=s(function(e){null==j||j(r,e),I(M(),e)},[r,j,I,M]),H=s(function(e){null==F||F(r,e),T()},[r,T,F]),z=s(function(){N(M(),[i.absX+i.width/2,i.absY])},[N,M,i]),K=s(function(){T()},[T]);return B(ga.g,{transform:g,children:[w(ga.rect,{width:na(m,function(e){return Math.max(e,0)}),height:na(l,function(e){return Math.max(e,0)}),rx:v,ry:v,fill:null!=(t=r.fill)?t:A,strokeWidth:b,stroke:a,focusable:S,tabIndex:S?0:void 0,'aria-label':k?k(r):void 0,'aria-labelledby':U?U(r):void 0,'aria-describedby':Q?Q(r):void 0,onMouseEnter:C?R:void 0,onMouseMove:C?D:void 0,onMouseLeave:C?H:void 0,onClick:C?P:void 0,onFocus:C&&S?z:void 0,onBlur:C&&S?K:void 0}),x&&w(ga.text,{x:f,y:h,textAnchor:'middle',dominantBaseline:'central',fillOpacity:u,style:GQ({},L.labels.text,{pointerEvents:'none',fill:c}),children:y})]})},defs:[],fill:[],animate:!0,motionConfig:'default',role:'img',isFocusable:!1}),nL=GQ({},eL,{layers:['grid','axes','bars','legends','annotations'],pixelRatio:'undefined'!=typeof window&&null!=(YQ=window.devicePixelRatio)?YQ:1}),rL=function(e,t,n,r,i,o){return yF(r,{all:e.map(t),min:0,max:0},i,o).padding(n)},iL=function(e,t){return e.map(function(e){return GQ({},t.reduce(function(e,t){return e[t]=null,e},{}),e)})},oL=function(e){return Object.keys(e).reduce(function(t,n){return e[n]&&(t[n]=e[n]),t},{})},sL=function(e){return[e,Number(e)]},aL=['layout','minValue','maxValue','reverse','width','height','padding','innerPadding','valueScale','indexScale','hiddenIds'],AL=function(e,t){return e>t},lL=function(e,t){return e<t},cL=function(e,t){return Array.from(' '.repeat(t-e),function(t,n){return e+n})},uL=function(e){return AL(e,0)?0:e},dL=function(e,t,n,r){var i=e.data,o=e.formatValue,s=e.getColor,a=e.getIndex,A=e.getTooltipLabel,l=e.innerPadding,c=void 0===l?0:l,u=e.keys,d=e.xScale,f=e.yScale,h=e.margin,p=n?lL:AL,g=i.map(oL),m=[];return u.forEach(function(e,n){return cL(0,d.domain().length).forEach(function(l){var u,v,b,y=sL(i[l][e]),w=y[0],B=y[1],x=a(i[l]),C=(null!=(u=d(x))?u:0)+t*n+c*n,_=p(v=B,0)?null!=(b=f(v))?b:0:r,j=function(e,t){var n;return p(e,0)?r-t:(null!=(n=f(e))?n:0)-r}(B,_),F={id:e,value:null===w?w:B,formattedValue:o(B),hidden:!1,index:l,indexValue:x,data:g[l]};m.push({key:e+'.'+F.indexValue,index:m.length,data:F,x:C,y:_,absX:h.left+C,absY:h.top+_,width:t,height:j,color:s(F),label:A(F)})})}),m},fL=function(e,t,n,r){var i=e.data,o=e.formatValue,s=e.getIndex,a=e.getColor,A=e.getTooltipLabel,l=e.keys,c=e.innerPadding,u=void 0===c?0:c,d=e.xScale,f=e.yScale,h=e.margin,p=n?lL:AL,g=i.map(oL),m=[];return l.forEach(function(e,n){return cL(0,f.domain().length).forEach(function(l){var c,v,b,y=sL(i[l][e]),w=y[0],B=y[1],x=s(i[l]),C=p(v=B,0)?r:null!=(b=d(v))?b:0,_=(null!=(c=f(x))?c:0)+t*n+u*n,j=function(e,t){var n;return p(e,0)?(null!=(n=d(e))?n:0)-r:r-t}(B,C),F={id:e,value:null===w?w:B,formattedValue:o(B),hidden:!1,index:l,indexValue:x,data:g[l]};m.push({key:e+'.'+F.indexValue,index:m.length,data:F,x:C,y:_,absX:h.left+C,absY:h.top+_,width:j,height:t,color:a(F),label:A(F)})})}),m},hL=function(e){var t,n,r=e.layout,i=e.minValue,o=e.maxValue,s=e.reverse,a=e.width,A=e.height,l=e.padding,c=void 0===l?0:l,u=e.innerPadding,d=void 0===u?0:u,f=e.valueScale,h=e.indexScale,p=e.hiddenIds,g=void 0===p?[]:p,m=WQ(e,aL),v=m.keys.filter(function(e){return!g.includes(e)}),b=iL(m.data,v),y='vertical'===r?['y','x',a]:['x','y',A],w=y[0],B=y[1],x=y[2],C=rL(b,m.getIndex,c,h,x,B),_=GQ({max:o,min:i,reverse:s},f),j='auto'===_.min?uL:function(e){return e},F=b.reduce(function(e,t){return[].concat(e,v.map(function(e){return t[e]}))},[]).filter(Boolean),E=yF(_,{all:F,min:j(Math.min.apply(Math,F)),max:(n=Math.max.apply(Math,F),isFinite(n)?n:0)},'x'===w?a:A,w),S='vertical'===r?[C,E]:[E,C],k=S[0],U=S[1],Q=(C.bandwidth()-d*(v.length-1))/v.length,L=[GQ({},m,{data:b,keys:v,innerPadding:d,xScale:k,yScale:U}),Q,_.reverse,null!=(t=E(0))?t:0];return{xScale:k,yScale:U,bars:Q>0?'vertical'===r?dL.apply(void 0,L):fL.apply(void 0,L):[]}},pL=['data','layout','minValue','maxValue','reverse','width','height','padding','valueScale','indexScale','hiddenIds'],gL=function e(t){var n;return t.some(Array.isArray)?e((n=[]).concat.apply(n,t)):t},mL=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,s=e.getTooltipLabel,a=e.innerPadding,A=e.stackedData,l=e.xScale,c=e.yScale,u=e.margin,d=[];return A.forEach(function(e){return l.domain().forEach(function(A,f){var h,p,g=e[f],m=null!=(h=l(o(g.data)))?h:0,v=(null!=(p=function(e){return c(e[n?0:1])}(g))?p:0)+.5*a,b=function(e,t){var r;return(null!=(r=c(e[n?1:0]))?r:0)-t}(g,v)-a,y=sL(g.data[e.key]),w=y[0],B=y[1],x={id:e.key,value:null===w?w:B,formattedValue:r(B),hidden:!1,index:f,indexValue:A,data:oL(g.data)};d.push({key:e.key+'.'+A,index:d.length,data:x,x:m,y:v,absX:u.left+m,absY:u.top+v,width:t,height:b,color:i(x),label:s(x)})})}),d},vL=function(e,t,n){var r=e.formatValue,i=e.getColor,o=e.getIndex,s=e.getTooltipLabel,a=e.innerPadding,A=e.stackedData,l=e.xScale,c=e.yScale,u=e.margin,d=[];return A.forEach(function(e){return c.domain().forEach(function(A,f){var h,p,g=e[f],m=null!=(h=c(o(g.data)))?h:0,v=(null!=(p=function(e){return l(e[n?1:0])}(g))?p:0)+.5*a,b=function(e,t){var r;return(null!=(r=l(e[n?0:1]))?r:0)-t}(g,v)-a,y=sL(g.data[e.key]),w=y[0],B=y[1],x={id:e.key,value:null===w?w:B,formattedValue:r(B),hidden:!1,index:f,indexValue:A,data:oL(g.data)};d.push({key:e.key+'.'+A,index:d.length,data:x,x:v,y:m,absX:u.left+v,absY:u.top+m,width:b,height:t,color:i(x),label:s(x)})})}),d},bL=function(e){var t,n=e.data,r=e.layout,i=e.minValue,o=e.maxValue,s=e.reverse,a=e.width,A=e.height,l=e.padding,c=void 0===l?0:l,u=e.valueScale,d=e.indexScale,f=e.hiddenIds,h=void 0===f?[]:f,p=WQ(e,pL),g=p.keys.filter(function(e){return!h.includes(e)}),m=function(){var e=qb([]),t=$y,n=Zy,r=ew;function i(i){var o,s,a=e.apply(this,arguments),A=i.length,l=a.length,c=new Array(l);for(o=0;o<l;++o){for(var u,d=a[o],f=c[o]=new Array(A),h=0;h<A;++h)f[h]=u=[0,+r(i[h],d,h,i)],u.data=i[h];f.key=d}for(o=0,s=t(c);o<l;++o)c[s[o]].index=o;return n(c,s),c}return i.keys=function(t){return arguments.length?(e='function'==typeof t?t:qb(by.call(t)),i):e},i.value=function(e){return arguments.length?(r='function'==typeof e?e:qb(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?$y:'function'==typeof e?e:qb(by.call(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Zy:e,i):n},i}().keys(g).offset(tw)(iL(n,g)),v='vertical'===r?['y','x',a]:['x','y',A],b=v[0],y=v[1],w=v[2],B=rL(n,p.getIndex,c,d,w,y),x=GQ({max:o,min:i,reverse:s},u),C=(t=gL(m),'log'===u.type?t.filter(function(e){return 0!==e}):t),_=yF(x,{all:C,min:Math.min.apply(Math,C),max:Math.max.apply(Math,C)},'x'===b?a:A,b),j='vertical'===r?[B,_]:[_,B],F=j[0],E=j[1],S=p.innerPadding>0?p.innerPadding:0,k=B.bandwidth(),U=[GQ({},p,{innerPadding:S,stackedData:m,xScale:F,yScale:E}),k,x.reverse];return{xScale:F,yScale:E,bars:k>0?'vertical'===r?mL.apply(void 0,U):vL.apply(void 0,U):[]}},yL=function(e){var t=e.bars,n=e.direction,r=e.from,i=e.groupMode,o=e.layout,s=e.legendLabel,a=e.reverse,A=RC(null!=s?s:'indexes'===r?'indexValue':'id');return'indexes'===r?function(e,t,n){var r=z_(e.map(function(e){var t,r;return{id:null!=(t=e.data.indexValue)?t:'',label:n(e.data),hidden:e.data.hidden,color:null!=(r=e.color)?r:'#000'}}),function(e){return e.id});return'horizontal'===t&&r.reverse(),r}(t,o,A):function(e,t,n,r,i,o){var s=z_(e.map(function(e){var t;return{id:e.data.id,label:o(e.data),hidden:e.data.hidden,color:null!=(t=e.color)?t:'#000'}}),function(e){return e.id});return('vertical'===t&&'stacked'===r&&'column'===n&&!0!==i||'horizontal'===t&&'stacked'===r&&!0===i)&&s.reverse(),s}(t,o,n,i,a,A)},wL=function(e){var t=e.indexBy,r=void 0===t?eL.indexBy:t,i=e.keys,o=void 0===i?eL.keys:i,a=e.label,A=void 0===a?eL.label:a,l=e.tooltipLabel,c=void 0===l?eL.tooltipLabel:l,u=e.valueFormat,f=e.colors,h=void 0===f?eL.colors:f,p=e.colorBy,g=void 0===p?eL.colorBy:p,m=e.borderColor,v=void 0===m?eL.borderColor:m,b=e.labelTextColor,y=void 0===b?eL.labelTextColor:b,w=e.groupMode,B=void 0===w?eL.groupMode:w,x=e.layout,C=void 0===x?eL.layout:x,_=e.reverse,j=void 0===_?eL.reverse:_,F=e.data,E=e.minValue,S=void 0===E?eL.minValue:E,k=e.maxValue,U=void 0===k?eL.maxValue:k,Q=e.margin,L=e.width,O=e.height,I=e.padding,N=void 0===I?eL.padding:I,T=e.innerPadding,M=void 0===T?eL.innerPadding:T,P=e.valueScale,D=void 0===P?eL.valueScale:P,R=e.indexScale,H=void 0===R?eL.indexScale:R,z=e.initialHiddenIds,K=void 0===z?eL.initialHiddenIds:z,V=e.enableLabel,q=void 0===V?eL.enableLabel:V,G=e.labelSkipWidth,W=void 0===G?eL.labelSkipWidth:G,Y=e.labelSkipHeight,X=void 0===Y?eL.labelSkipHeight:Y,J=e.legends,Z=void 0===J?eL.legends:J,$=e.legendLabel,ee=n(null!=K?K:[]),te=ee[0],ne=ee[1],re=s(function(e){ne(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),ie=HC(r),oe=HC(A),se=HC(c),ae=sC(u),Ae=cC(),le=OQ(h,g),ce=UQ(v,Ae),ue=UQ(y,Ae),de=('grouped'===B?hL:bL)({layout:C,reverse:j,data:F,getIndex:ie,keys:o,minValue:S,maxValue:U,width:L,height:O,getColor:le,padding:N,innerPadding:M,valueScale:D,indexScale:H,hiddenIds:te,formatValue:ae,getTooltipLabel:se,margin:Q}),fe=de.bars,he=de.xScale,pe=de.yScale,ge=d(function(){return fe.filter(function(e){return null!==e.data.value}).map(function(e,t){return GQ({},e,{index:t})})},[fe]),me=s(function(e){var t=e.width,n=e.height;return!(!q||W>0&&t<W||X>0&&n<X)},[q,W,X]),ve=d(function(){return o.map(function(e){var t=fe.find(function(t){return t.data.id===e});return GQ({},t,{data:GQ({id:e},null==t?void 0:t.data,{hidden:te.includes(e)})})})},[te,o,fe]),be=d(function(){return Z.map(function(e){return[e,yL({bars:'keys'===e.dataFrom?ve:fe,direction:e.direction,from:e.dataFrom,groupMode:B,layout:C,legendLabel:$,reverse:j})]})},[Z,ve,fe,B,C,$,j]);return{bars:fe,barsWithValue:ge,xScale:he,yScale:pe,getIndex:ie,getLabel:oe,getTooltipLabel:se,formatValue:ae,getColor:le,getBorderColor:ce,getLabelColor:ue,shouldRenderBarLabel:me,hiddenIds:te,toggleSerie:re,legendsWithData:be}},BL=['isInteractive','animate','motionConfig','theme','renderWrapper'],xL=function(e){var t=e.data,n=e.indexBy,r=e.keys,i=e.margin,o=e.width,s=e.height,a=e.groupMode,A=e.layout,l=e.reverse,c=e.minValue,u=e.maxValue,f=e.valueScale,h=e.indexScale,g=e.padding,v=e.innerPadding,b=e.axisTop,y=e.axisRight,B=e.axisBottom,x=void 0===B?tL.axisBottom:B,C=e.axisLeft,_=void 0===C?tL.axisLeft:C,j=e.enableGridX,F=void 0===j?tL.enableGridX:j,E=e.enableGridY,S=void 0===E?tL.enableGridY:E,k=e.gridXValues,U=e.gridYValues,Q=e.layers,L=void 0===Q?tL.layers:Q,O=e.barComponent,I=void 0===O?tL.barComponent:O,N=e.enableLabel,T=void 0===N?tL.enableLabel:N,M=e.label,P=e.labelSkipWidth,D=void 0===P?tL.labelSkipWidth:P,R=e.labelSkipHeight,H=void 0===R?tL.labelSkipHeight:R,z=e.labelTextColor,K=e.markers,V=void 0===K?tL.markers:K,q=e.colorBy,G=e.colors,W=e.defs,Y=void 0===W?tL.defs:W,X=e.fill,J=void 0===X?tL.fill:X,Z=e.borderRadius,$=void 0===Z?tL.borderRadius:Z,ee=e.borderWidth,te=void 0===ee?tL.borderWidth:ee,ne=e.borderColor,re=e.annotations,ie=void 0===re?tL.annotations:re,oe=e.legendLabel,se=e.tooltipLabel,ae=e.valueFormat,Ae=e.isInteractive,le=void 0===Ae?tL.isInteractive:Ae,ce=e.tooltip,ue=void 0===ce?tL.tooltip:ce,de=e.onClick,fe=e.onMouseEnter,he=e.onMouseLeave,pe=e.legends,ge=e.role,me=void 0===ge?tL.role:ge,ve=e.ariaLabel,be=e.ariaLabelledBy,ye=e.ariaDescribedBy,we=e.isFocusable,Be=void 0===we?tL.isFocusable:we,xe=e.barAriaLabel,Ce=e.barAriaLabelledBy,_e=e.barAriaDescribedBy,je=e.initialHiddenIds,Fe=Rx(),Ee=Fe.animate,Se=Fe.config,ke=rC(o,s,i),Ue=ke.outerWidth,Qe=ke.outerHeight,Le=ke.margin,Oe=ke.innerWidth,Ie=ke.innerHeight,Ne=wL({indexBy:n,label:M,tooltipLabel:se,valueFormat:ae,colors:G,colorBy:q,borderColor:ne,labelTextColor:z,groupMode:a,layout:A,reverse:l,data:t,keys:r,minValue:c,maxValue:u,margin:Le,width:Oe,height:Ie,padding:g,innerPadding:v,valueScale:f,indexScale:h,enableLabel:T,labelSkipWidth:D,labelSkipHeight:H,legends:pe,legendLabel:oe,initialHiddenIds:je}),Te=Ne.bars,Me=Ne.barsWithValue,Pe=Ne.xScale,De=Ne.yScale,Re=Ne.getLabel,He=Ne.getTooltipLabel,ze=Ne.getBorderColor,Ke=Ne.getLabelColor,Ve=Ne.shouldRenderBarLabel,qe=Ne.toggleSerie,Ge=Ne.legendsWithData,We=Xs(Me,{keys:function(e){return e.key},from:function(e){return GQ({borderColor:ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+(e.y+e.height)+')',width:e.width},'vertical'===A?{}:{height:e.height,transform:'translate('+e.x+', '+e.y+')',width:0})},enter:function(e){return{borderColor:ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+e.y+')',width:e.width}},update:function(e){return{borderColor:ze(e),color:e.color,height:e.height,labelColor:Ke(e),labelOpacity:1,labelX:e.width/2,labelY:e.height/2,transform:'translate('+e.x+', '+e.y+')',width:e.width}},leave:function(e){return GQ({borderColor:ze(e),color:e.color,height:0,labelColor:Ke(e),labelOpacity:0,labelX:e.width/2,labelY:0,transform:'translate('+e.x+', '+(e.y+e.height)+')',width:e.width},'vertical'===A?{}:{labelX:0,labelY:e.height/2,height:e.height,transform:'translate('+e.x+', '+e.y+')',width:0})},config:Se,immediate:!Ee,initial:Ee?void 0:null}),Ye=d(function(){return{borderRadius:$,borderWidth:te,enableLabel:T,isInteractive:le,labelSkipWidth:D,labelSkipHeight:H,onClick:de,onMouseEnter:fe,onMouseLeave:he,getTooltipLabel:He,tooltip:ue,isFocusable:Be,ariaLabel:xe,ariaLabelledBy:Ce,ariaDescribedBy:_e}},[$,te,T,He,le,H,D,de,fe,he,ue,Be,xe,Ce,_e]),Xe=GC(Y,Te,J,{dataKey:'data',targetKey:'data.fill'}),Je={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null};L.includes('annotations')&&(Je.annotations=w(XQ,{bars:Te,annotations:ie},'annotations')),L.includes('axes')&&(Je.axes=w(RF,{xScale:Pe,yScale:De,width:Oe,height:Ie,top:b,right:y,bottom:x,left:_},'axes')),L.includes('bars')&&(Je.bars=w(m,{children:We(function(e,t){return p(I,GQ({},Ye,{bar:t,style:e,shouldRenderLabel:Ve(t),label:Re(t.data)}))})},'bars')),L.includes('grid')&&(Je.grid=w(KF,{width:Oe,height:Ie,xScale:F?Pe:null,yScale:S?De:null,xValues:k,yValues:U},'grid')),L.includes('legends')&&(Je.legends=w(JQ,{width:Oe,height:Ie,legends:Ge,toggleSerie:qe},'legends')),L.includes('markers')&&(Je.markers=w(MC,{markers:V,width:Oe,height:Ie,xScale:Pe,yScale:De},'markers'));var Ze=d(function(){return GQ({},Ye,{margin:Le,width:o,height:s,innerWidth:Oe,innerHeight:Ie,bars:Te,legendData:Ge,enableLabel:T,xScale:Pe,yScale:De,tooltip:ue,getTooltipLabel:He,onClick:de,onMouseEnter:fe,onMouseLeave:he})},[Ye,Le,o,s,Oe,Ie,Te,Ge,T,Pe,De,ue,He,de,fe,he]);return w(kC,{width:Ue,height:Qe,margin:Le,defs:Xe,role:me,ariaLabel:ve,ariaLabelledBy:be,ariaDescribedBy:ye,isFocusable:Be,children:L.map(function(e,t){var n;return'function'==typeof e?w(m,{children:p(e,Ze)},t):null!=(n=null==Je?void 0:Je[e])?n:null})})},CL=function(e){var t=e.isInteractive,n=void 0===t?tL.isInteractive:t,r=e.animate,i=void 0===r?tL.animate:r,o=e.motionConfig,s=void 0===o?tL.motionConfig:o,a=e.theme,A=e.renderWrapper,l=WQ(e,BL);return w(fC,{animate:i,isInteractive:n,motionConfig:s,renderWrapper:A,theme:a,children:w(xL,GQ({isInteractive:n},l))})},_L=['isInteractive','renderWrapper','theme'],jL=function(e,t,n,r){return e.find(function(e){return zC(e.x+t.left,e.y+t.top,e.width,e.height,n,r)})},FL=function(e){var t=e.data,n=e.indexBy,i=e.keys,a=e.margin,A=e.width,l=e.height,c=e.groupMode,u=e.layout,f=e.reverse,h=e.minValue,g=e.maxValue,m=e.valueScale,v=e.indexScale,b=e.padding,y=e.innerPadding,B=e.axisTop,x=e.axisRight,C=e.axisBottom,_=void 0===C?nL.axisBottom:C,j=e.axisLeft,F=void 0===j?nL.axisLeft:j,E=e.enableGridX,S=void 0===E?nL.enableGridX:E,k=e.enableGridY,U=void 0===k?nL.enableGridY:k,Q=e.gridXValues,L=e.gridYValues,O=e.layers,I=void 0===O?nL.layers:O,N=e.renderBar,T=void 0===N?function(e,t){var n=t.bar,r=n.color,i=n.height,o=n.width,s=n.x,a=n.y,A=t.borderColor,l=t.borderRadius,c=t.borderWidth,u=t.label,d=t.labelColor,f=t.shouldRenderLabel;if(e.fillStyle=r,c>0&&(e.strokeStyle=A,e.lineWidth=c),e.beginPath(),l>0){var h=Math.min(l,i);e.moveTo(s+h,a),e.lineTo(s+o-h,a),e.quadraticCurveTo(s+o,a,s+o,a+h),e.lineTo(s+o,a+i-h),e.quadraticCurveTo(s+o,a+i,s+o-h,a+i),e.lineTo(s+h,a+i),e.quadraticCurveTo(s,a+i,s,a+i-h),e.lineTo(s,a+h),e.quadraticCurveTo(s,a,s+h,a),e.closePath()}else e.rect(s,a,o,i);e.fill(),c>0&&e.stroke(),f&&(e.textBaseline='middle',e.textAlign='center',e.fillStyle=d,e.fillText(u,s+o/2,a+i/2))}:N,M=e.enableLabel,P=void 0===M?nL.enableLabel:M,D=e.label,R=e.labelSkipWidth,H=void 0===R?nL.labelSkipWidth:R,z=e.labelSkipHeight,K=void 0===z?nL.labelSkipHeight:z,V=e.labelTextColor,q=e.colorBy,G=e.colors,W=e.borderRadius,Y=void 0===W?nL.borderRadius:W,X=e.borderWidth,J=void 0===X?nL.borderWidth:X,Z=e.borderColor,$=e.annotations,ee=void 0===$?nL.annotations:$,te=e.legendLabel,ne=e.tooltipLabel,re=e.valueFormat,ie=e.isInteractive,oe=void 0===ie?nL.isInteractive:ie,se=e.tooltip,ae=void 0===se?nL.tooltip:se,Ae=e.onClick,le=e.onMouseEnter,ce=e.onMouseLeave,ue=e.legends,de=e.pixelRatio,fe=void 0===de?nL.pixelRatio:de,he=e.canvasRef,pe=o(null),ge=cC(),me=rC(A,l,a),ve=me.margin,be=me.innerWidth,ye=me.innerHeight,we=me.outerWidth,Be=me.outerHeight,xe=wL({indexBy:n,label:D,tooltipLabel:ne,valueFormat:re,colors:G,colorBy:q,borderColor:Z,labelTextColor:V,groupMode:c,layout:u,reverse:f,data:t,keys:i,minValue:h,maxValue:g,margin:ve,width:be,height:ye,padding:b,innerPadding:y,valueScale:m,indexScale:v,enableLabel:P,labelSkipWidth:H,labelSkipHeight:K,legends:ue,legendLabel:te}),Ce=xe.bars,_e=xe.barsWithValue,je=xe.xScale,Fe=xe.yScale,Ee=xe.getLabel,Se=xe.getTooltipLabel,ke=xe.getBorderColor,Ue=xe.getLabelColor,Qe=xe.shouldRenderBarLabel,Le=xe.legendsWithData,Oe=ka(),Ie=Oe.showTooltipFromEvent,Ne=Oe.hideTooltip,Te=function(e){var t=e.annotations;return d(function(){return t.map(function(e){return zS({},e,{computed:XS(zS({},e))})})},[t])}({annotations:JS({data:Ce,annotations:ee,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{width:t,height:n,size:Math.max(t,n)}}})}),Me=d(function(){return{borderRadius:Y,borderWidth:J,isInteractive:oe,isFocusable:!1,labelSkipWidth:H,labelSkipHeight:K,margin:ve,width:A,height:l,innerWidth:be,innerHeight:ye,bars:Ce,legendData:Le,enableLabel:P,xScale:je,yScale:Fe,tooltip:ae,getTooltipLabel:Se,onClick:Ae,onMouseEnter:le,onMouseLeave:ce}},[Y,J,oe,H,K,ve,A,l,be,ye,Ce,Le,P,je,Fe,ae,Se,Ae,le,ce]);r(function(){var e,t=null==(e=pe.current)?void 0:e.getContext('2d');pe.current&&t&&(pe.current.width=we*fe,pe.current.height=Be*fe,t.scale(fe,fe),t.fillStyle=ge.background,t.fillRect(0,0,we,Be),t.translate(ve.left,ve.top),I.forEach(function(e){'grid'===e?'number'==typeof ge.grid.line.strokeWidth&&ge.grid.line.strokeWidth>0&&(t.lineWidth=ge.grid.line.strokeWidth,t.strokeStyle=ge.grid.line.stroke,S&&qF(t,{width:A,height:l,scale:je,axis:'x',values:Q}),U&&qF(t,{width:A,height:l,scale:Fe,axis:'y',values:L})):'axes'===e?VF(t,{xScale:je,yScale:Fe,width:be,height:ye,top:B,right:x,bottom:_,left:F,theme:ge}):'bars'===e?_e.forEach(function(e){T(t,{bar:e,borderColor:ke(e),borderRadius:Y,borderWidth:J,label:Ee(e.data),labelColor:Ue(e),shouldRenderLabel:Qe(e)})}):'legends'===e?Le.forEach(function(e){var n=e[0],r=e[1];VQ(t,GQ({},n,{data:r,containerWidth:be,containerHeight:ye,theme:ge}))}):'annotations'===e?function(e,t){var n=t.annotations,r=t.theme;0!==n.length&&(e.save(),n.forEach(function(t){if(!function(e){var t=typeof e;return'string'===t||'function'===t}(t.note))throw new Error('note is invalid for canvas implementation');r.annotations.link.outlineWidth>0&&(e.lineCap='square',e.strokeStyle=r.annotations.link.outlineColor,e.lineWidth=r.annotations.link.strokeWidth+2*r.annotations.link.outlineWidth,e.beginPath(),ik(e,t.computed.points),e.stroke(),e.lineCap='butt'),GS(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),WS(t)&&r.annotations.symbol.outlineWidth>0&&(e.strokeStyle=r.annotations.symbol.outlineColor,e.lineWidth=2*r.annotations.symbol.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),YS(t)&&r.annotations.outline.outlineWidth>0&&(e.strokeStyle=r.annotations.outline.outlineColor,e.lineWidth=r.annotations.outline.strokeWidth+2*r.annotations.outline.outlineWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),e.strokeStyle=r.annotations.link.stroke,e.lineWidth=r.annotations.link.strokeWidth,e.beginPath(),ik(e,t.computed.points),e.stroke(),GS(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),WS(t)&&(e.fillStyle=r.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),YS(t)&&(e.strokeStyle=r.annotations.outline.stroke,e.lineWidth=r.annotations.outline.strokeWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),'function'==typeof t.note?t.note(e,{datum:t.datum,x:t.computed.text[0],y:t.computed.text[1],theme:r}):(e.font=r.annotations.text.fontSize+'px '+r.annotations.text.fontFamily,e.textAlign='left',e.textBaseline='alphabetic',e.fillStyle=r.annotations.text.fill,e.strokeStyle=r.annotations.text.outlineColor,e.lineWidth=2*r.annotations.text.outlineWidth,r.annotations.text.outlineWidth>0&&(e.lineJoin='round',e.strokeText(t.note,t.computed.text[0],t.computed.text[1]),e.lineJoin='miter'),e.fillText(t.note,t.computed.text[0],t.computed.text[1]))}),e.restore())}(t,{annotations:Te,theme:ge}):'function'==typeof e&&e(t,Me)}),t.save())},[_,F,x,B,_e,Y,J,Te,S,U,ke,Ee,Ue,Q,L,c,l,ye,be,Me,I,u,Le,ve.left,ve.top,Be,we,fe,T,je,Fe,f,Qe,ge,A]);var Pe=s(function(e){if(Ce&&pe.current){var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);void 0!==i?(Ie(p(ae,GQ({},i.data,{color:i.color,label:i.label,value:Number(i.data.value)})),e),'mouseenter'===e.type&&(null==le||le(i.data,e))):Ne()}},[Ne,ve,le,Ce,Ie,ae]),De=s(function(e){if(Ce&&pe.current){Ne();var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);i&&(null==ce||ce(i.data,e))}},[Ne,ve,ce,Ce]),Re=s(function(e){if(Ce&&pe.current){var t=KC(pe.current,e),n=t[0],r=t[1],i=jL(Ce,ve,n,r);void 0!==i&&(null==Ae||Ae(GQ({},i.data,{color:i.color}),e))}},[ve,Ae,Ce]);return w('canvas',{ref:function(e){pe.current=e,he&&'current'in he&&(he.current=e)},width:we*fe,height:Be*fe,style:{width:we,height:Be,cursor:oe?'auto':'normal'},onMouseEnter:oe?Pe:void 0,onMouseMove:oe?Pe:void 0,onMouseLeave:oe?De:void 0,onClick:oe?Re:void 0})},EL=c(function(e,t){var n=e.isInteractive,r=e.renderWrapper,i=e.theme,o=WQ(e,_L);return w(fC,{isInteractive:n,renderWrapper:r,theme:i,animate:!1,children:w(FL,GQ({},o,{canvasRef:t}))})}),SL=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(CL,GQ({width:n,height:r},e))}})};c(function(e,t){return w(hC,{children:function(n){var r=n.width,i=n.height;return w(EL,GQ({width:r,height:i},e,{ref:t}))}})});var kL={background:'#ffffff',text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},axis:{domain:{line:{stroke:'#777777',strokeWidth:1}},legend:{text:{fontSize:12,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{title:{text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'},ticks:{line:{},text:{fontSize:10,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},annotations:{text:{fontSize:13,fill:'#333333',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}},tooltip:{container:{background:'#ffffff',fontSize:12},basic:{},chip:{},table:{},tableCell:{},tableCellValue:{}}},UL={background:'#121b37',text:{fontSize:11,fill:'#000000',outlineWidth:0,outlineColor:'#000000'},axis:{domain:{line:{stroke:'#777777',strokeWidth:1}},legend:{text:{fontSize:12,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},ticks:{line:{stroke:'#777777',strokeWidth:1},text:{fontSize:11,fill:'#ccccdc',outlineWidth:0,outlineColor:'transparent'}}},grid:{line:{stroke:'#dddddd',strokeWidth:1}},legends:{title:{text:{fontSize:11,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}},text:{fontSize:11,fill:'#ccccdc',outlineWidth:0,outlineColor:'transparent'},ticks:{line:{},text:{fontSize:10,fill:'#333333',outlineWidth:0,outlineColor:'transparent'}}},annotations:{text:{fontSize:13,fill:'#333333',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},link:{stroke:'#000000',strokeWidth:1,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},outline:{stroke:'#000000',strokeWidth:2,outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1},symbol:{fill:'#000000',outlineWidth:2,outlineColor:'#ffffff',outlineOpacity:1}},tooltip:{container:{background:'#ffffff',fontSize:12,fill:'#000000'},basic:{},chip:{},table:{},tableCell:{},tableCellValue:{}}},QL=function(e){var t=parseFloat(e);return isNaN(t)?e:Number.isInteger(t)?t:t.toFixed(3)},LL=function(e){return e.length>10?e.substring(0,10)+'...':e},OL=function(e){var n=e.chartData,r=function(e){if(1===e.num_y_categories){var t=e.y_data,n=Array.isArray(t[0])&&t.length===e.x_data.length?t.map(function(e){return e[0]}):Array.isArray(t[0])?t[0]:t;return e.x_data.map(function(t,r){var i,o;return(i={})[e.x_label]=t,i[e.y_category_label[0]]=null!==(o=n[r])&&void 0!==o?o:0,i})}return e.x_data.map(function(t,n){var r,i=((r={})[e.x_label]=t,r);return e.y_category_label.forEach(function(t,r){var o,s;i[t]=null!==(s=null===(o=e.y_data[n])||void 0===o?void 0:o[r])&&void 0!==s?s:0}),i})}(n),i=u(vJ).isDarkMode;return t.createElement(SL,{data:r,keys:n.y_category_label,indexBy:n.x_label,groupMode:'grouped',margin:{top:50,right:60,bottom:80,left:60},padding:.4,valueScale:{type:'linear'},colors:{scheme:'nivo'},animate:!0,enableLabel:!1,axisTop:null,axisRight:null,axisLeft:{tickSize:3,tickPadding:3,tickRotation:0,legend:n.y_category_label,legendPosition:'middle',legendOffset:-55,format:function(e){return e>=1e9?''.concat((e/1e9).toFixed(1),'B'):e>=1e6?''.concat((e/1e6).toFixed(1),'M'):e>=1e3?''.concat((e/1e3).toFixed(1),'K'):e.toString()}},axisBottom:{tickSize:5,tickPadding:5,tickRotation:-15,truncateTickAt:0,legend:n.x_label,legendPosition:'middle',legendOffset:45,format:LL},legends:[{dataFrom:'keys',anchor:'top',direction:'row',justify:!1,translateX:0,translateY:-30,itemsSpacing:2,itemWidth:100,itemHeight:20,itemDirection:'left-to-right',itemOpacity:.85,symbolSize:20,effects:[{on:'hover',style:{itemOpacity:1}}]}],theme:i?UL:kL})};function IL(){return IL=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},IL.apply(this,arguments)}var NL={pointerEvents:'none'},TL=function(e){var t=e.label,n=e.style,r=cC();return w(ga.g,{transform:n.transform,opacity:n.progress,style:NL,children:w(ga.text,{textAnchor:'middle',dominantBaseline:'central',style:IL({},r.labels.text,{fill:n.textColor}),children:t})})},ML=function(e){var t=e%(2*Math.PI);return t<0&&(t+=2*Math.PI),t},PL={startAngle:{enter:function(e){return IL({},e,{endAngle:e.startAngle})},update:function(e){return e},leave:function(e){return IL({},e,{startAngle:e.endAngle})}},middleAngle:{enter:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return IL({},e,{startAngle:t,endAngle:t})},update:function(e){return e},leave:function(e){var t=e.startAngle+(e.endAngle-e.startAngle)/2;return IL({},e,{startAngle:t,endAngle:t})}},endAngle:{enter:function(e){return IL({},e,{startAngle:e.endAngle})},update:function(e){return e},leave:function(e){return IL({},e,{endAngle:e.startAngle})}},innerRadius:{enter:function(e){return IL({},e,{outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.outerRadius})}},centerRadius:{enter:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return IL({},e,{innerRadius:t,outerRadius:t})},update:function(e){return e},leave:function(e){var t=e.innerRadius+(e.outerRadius-e.innerRadius)/2;return IL({},e,{innerRadius:t,outerRadius:t})}},outerRadius:{enter:function(e){return IL({},e,{innerRadius:e.outerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{outerRadius:e.innerRadius})}},pushIn:{enter:function(e){return IL({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})}},pushOut:{enter:function(e){return IL({},e,{innerRadius:e.outerRadius,outerRadius:e.outerRadius+e.outerRadius-e.innerRadius})},update:function(e){return e},leave:function(e){return IL({},e,{innerRadius:e.innerRadius-e.outerRadius+e.innerRadius,outerRadius:e.innerRadius})}}},DL=function(e,t){return d(function(){var n=PL[e];return{enter:function(e){return IL({progress:0},n.enter(e.arc),t?t.enter(e):{})},update:function(e){return IL({progress:1},n.update(e.arc),t?t.update(e):{})},leave:function(e){return IL({progress:0},n.leave(e.arc),t?t.leave(e):{})}}},[e,t])},RL=function(e){return function(t,n,r,i){return na([t,n,r,i],function(t,n,r,i){var o=function(e,t){var n=function(e){return e.startAngle+(e.endAngle-e.startAngle)/2}(e)-Math.PI/2,r=e.innerRadius+(e.outerRadius-e.innerRadius)*t;return wC(n,r)}({startAngle:t,endAngle:n,innerRadius:r,outerRadius:i},e);return'translate('+o.x+','+o.y+')'})}},HL=function(e){var t=e.center,n=e.data,r=e.transitionMode,i=e.label,o=e.radiusOffset,s=e.skipAngle,a=e.textColor,A=e.component,l=void 0===A?TL:A,c=HC(i),u=cC(),f=UQ(a,u),h=d(function(){return n.filter(function(e){return Math.abs(yC(e.arc.endAngle-e.arc.startAngle))>=s})},[n,s]),g=function(e,t,n,r){void 0===t&&(t=.5),void 0===n&&(n='innerRadius');var i=Rx(),o=i.animate,s=i.config,a=DL(n,r);return{transition:Xs(e,{keys:function(e){return e.id},initial:a.update,from:a.enter,enter:a.update,update:a.update,leave:a.leave,config:s,immediate:!o}),interpolate:RL(t)}}(h,o,r),m=g.transition,v=g.interpolate,b=l;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(b,{key:t.id,datum:t,label:c(t),style:IL({},e,{transform:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textColor:f(t)})})})})},zL=function(e){var t=e.label,n=e.style,r=cC();return B(ga.g,{opacity:n.opacity,children:[w(ga.path,{fill:'none',stroke:n.linkColor,strokeWidth:n.thickness,d:n.path}),w(ga.text,{transform:n.textPosition,textAnchor:n.textAnchor,dominantBaseline:'central',style:IL({},r.labels.text,{fill:n.textColor}),children:t})]})},KL=function(e,t,n,r){var i,o,s=ML(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2),a=wC(s,e.outerRadius+t),A=wC(s,e.outerRadius+t+n);return s<Math.PI/2||s>1.5*Math.PI?(i='after',o={x:A.x+r,y:A.y}):(i='before',o={x:A.x-r,y:A.y}),{side:i,points:[a,A,o]}},VL=gy().x(function(e){return e.x}).y(function(e){return e.y}),qL=function(e,t,n,r,i,o,s){return na([e,t,n,r,i,o,s],function(e,t,n,r,i,o,s){var a=KL({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r},i,o,s).points;return VL(a)})},GL=function(e,t,n,r){return na([e,t,n,r],function(e,t,n,r){return function(e){var t=ML(e.startAngle+(e.endAngle-e.startAngle)/2-Math.PI/2);return t<Math.PI/2||t>1.5*Math.PI?'start':'end'}({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r})})},WL=function(e,t,n,r,i,o,s,a){return na([e,t,n,r,i,o,s,a],function(e,t,n,r,i,o,s,a){var A=KL({startAngle:e,endAngle:t,innerRadius:n,outerRadius:r},i,o,s),l=A.points,c=A.side,u=l[2];return'before'===c?u.x-=a:u.x+=a,'translate('+u.x+','+u.y+')'})},YL=function(e){var t=e.data,n=e.offset,r=void 0===n?0:n,i=e.diagonalLength,o=e.straightLength,s=e.skipAngle,a=void 0===s?0:s,A=e.textOffset,l=e.linkColor,c=e.textColor,u=Rx(),f=u.animate,h=u.config,p=cC(),g=UQ(l,p),m=UQ(c,p),v=function(e,t){return d(function(){return function(e,t){return e.filter(function(e){return Math.abs(yC(e.arc.endAngle-e.arc.startAngle))>=t})}(e,t)},[e,t])}(t,a),b=function(e){var t=e.offset,n=e.diagonalLength,r=e.straightLength,i=e.textOffset,o=e.getLinkColor,s=e.getTextColor;return d(function(){return{enter:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:s(e),opacity:0}},update:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:n,straightLength:r,textOffset:i,linkColor:o(e),textColor:s(e),opacity:1}},leave:function(e){return{startAngle:e.arc.startAngle,endAngle:e.arc.endAngle,innerRadius:e.arc.innerRadius,outerRadius:e.arc.outerRadius,offset:t,diagonalLength:0,straightLength:0,textOffset:i,linkColor:o(e),textColor:s(e),opacity:0}}}},[n,r,i,o,s,t])}({offset:r,diagonalLength:i,straightLength:o,textOffset:A,getLinkColor:g,getTextColor:m});return{transition:Xs(v,{keys:function(e){return e.id},initial:b.update,from:b.enter,enter:b.update,update:b.update,leave:b.leave,config:h,immediate:!f}),interpolateLink:qL,interpolateTextAnchor:GL,interpolateTextPosition:WL}},XL=function(e){var t=e.center,n=e.data,r=e.label,i=e.skipAngle,o=e.offset,s=e.diagonalLength,a=e.straightLength,A=e.strokeWidth,l=e.textOffset,c=e.textColor,u=e.linkColor,d=e.component,f=void 0===d?zL:d,h=HC(r),g=YL({data:n,skipAngle:i,offset:o,diagonalLength:s,straightLength:a,textOffset:l,linkColor:u,textColor:c}),m=g.transition,v=g.interpolateLink,b=g.interpolateTextAnchor,y=g.interpolateTextPosition,B=f;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(B,{key:t.id,datum:t,label:h(t),style:IL({},e,{thickness:A,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength),textAnchor:b(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius),textPosition:y(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,e.offset,e.diagonalLength,e.straightLength,e.textOffset)})})})})},JL=function(e){var t=e.datum,n=e.style,r=e.onClick,i=e.onMouseEnter,o=e.onMouseMove,a=e.onMouseLeave,A=s(function(e){return null==r?void 0:r(t,e)},[r,t]),l=s(function(e){return null==i?void 0:i(t,e)},[i,t]),c=s(function(e){return null==o?void 0:o(t,e)},[o,t]),u=s(function(e){return null==a?void 0:a(t,e)},[a,t]);return w(ga.path,{d:n.path,opacity:n.opacity,fill:t.fill||n.color,stroke:n.borderColor,strokeWidth:n.borderWidth,onClick:r?A:void 0,onMouseEnter:i?l:void 0,onMouseMove:o?c:void 0,onMouseLeave:a?u:void 0})},ZL=function(e,t,n,r,i){return na([e,t,n,r],function(e,t,n,r){return i({startAngle:e,endAngle:t,innerRadius:Math.max(0,n),outerRadius:Math.max(0,r)})})},$L=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,s=e.onClick,a=e.onMouseEnter,A=e.onMouseMove,l=e.onMouseLeave,c=e.transitionMode,u=e.component,d=void 0===u?JL:u,f=cC(),h=UQ(o,f),g=function(e,t,n){void 0===t&&(t='innerRadius');var r=Rx(),i=r.animate,o=r.config,s=DL(t,n);return{transition:Xs(e,{keys:function(e){return e.id},initial:s.update,from:s.enter,enter:s.update,update:s.update,leave:s.leave,config:o,immediate:!i}),interpolate:ZL}}(n,c,{enter:function(e){return{opacity:0,color:e.color,borderColor:h(e)}},update:function(e){return{opacity:1,color:e.color,borderColor:h(e)}},leave:function(e){return{opacity:0,color:e.color,borderColor:h(e)}}}),m=g.transition,v=g.interpolate,b=d;return w('g',{transform:'translate('+t[0]+','+t[1]+')',children:m(function(e,t){return p(b,{key:t.id,datum:t,style:IL({},e,{borderWidth:i,path:v(e.startAngle,e.endAngle,e.innerRadius,e.outerRadius,r)}),onClick:s,onMouseEnter:a,onMouseMove:A,onMouseLeave:l})})})},eO=function(e){var t=void 0===e?{}:e,n=t.cornerRadius,r=void 0===n?0:n,i=t.padAngle,o=void 0===i?0:i;return d(function(){return uy().innerRadius(function(e){return e.innerRadius}).outerRadius(function(e){return e.outerRadius}).cornerRadius(r).padAngle(o)},[r,o])};function tO(){return tO=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},tO.apply(this,arguments)}function nO(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var rO,iO,oO,sO,aO=function(e){var t=e.width,n=e.height,r=e.legends,i=e.data,o=e.toggleSerie;return w(x,{children:r.map(function(e,r){var s;return w(zQ,tO({},e,{containerWidth:t,containerHeight:n,data:null!=(s=e.data)?s:i,toggleSerie:e.toggleSerie?o:void 0}),r)})})},AO={id:'id',value:'value',sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:['arcs','arcLinkLabels','arcLabels','legends'],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:'color',modifiers:[['darker',1]]},enableArcLabels:!0,arcLabel:'formattedValue',arcLabelsSkipAngle:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:'labels.text.fill'},enableArcLinkLabels:!0,arcLinkLabel:'id',arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:'labels.text.fill'},arcLinkLabelsColor:{theme:'axis.ticks.line.stroke'},colors:{scheme:'nivo'},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:'gentle',transitionMode:'innerRadius',tooltip:function(e){var t=e.datum;return w(Ba,{id:t.id,value:t.formattedValue,enableChip:!0,color:t.color})},legends:[],role:'img',pixelRatio:'undefined'!=typeof window&&null!=(rO=window.devicePixelRatio)?rO:1},lO=['points'],cO=function(e){var t=e.data,n=e.startAngle,i=e.endAngle,s=e.innerRadius,a=e.outerRadius,A=e.padAngle,l=e.sortByValue,c=e.activeId,u=e.activeInnerRadiusOffset,f=e.activeOuterRadiusOffset,h=e.hiddenIds,p=e.forwardLegendData,g=d(function(){var e=function(){var e=vy,t=my,n=null,r=qb(0),i=qb(ry),o=qb(0);function s(s){var a,A,l,c,u,d=s.length,f=0,h=new Array(d),p=new Array(d),g=+r.apply(this,arguments),m=Math.min(ry,Math.max(-ry,i.apply(this,arguments)-g)),v=Math.min(Math.abs(m)/d,o.apply(this,arguments)),b=v*(m<0?-1:1);for(a=0;a<d;++a)(u=p[h[a]=a]=+e(s[a],a,s))>0&&(f+=u);for(null!=t?h.sort(function(e,n){return t(p[e],p[n])}):null!=n&&h.sort(function(e,t){return n(s[e],s[t])}),a=0,l=f?(m-d*b)/f:0;a<d;++a,g=c)A=h[a],c=g+((u=p[A])>0?u*l:0)+b,p[A]={data:s[A],index:a,value:u,startAngle:g,endAngle:c,padAngle:v};return p}return s.value=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),s):e},s.sortValues=function(e){return arguments.length?(t=e,n=null,s):t},s.sort=function(e){return arguments.length?(n=e,t=null,s):n},s.startAngle=function(e){return arguments.length?(r='function'==typeof e?e:qb(+e),s):r},s.endAngle=function(e){return arguments.length?(i='function'==typeof e?e:qb(+e),s):i},s.padAngle=function(e){return arguments.length?(o='function'==typeof e?e:qb(+e),s):o},s}().value(function(e){return e.value}).startAngle(bC(n)).endAngle(bC(i)).padAngle(bC(A));return l||e.sortValues(null),e},[n,i,A,l]),m=d(function(){var e=t.filter(function(e){return!h.includes(e.id)});return{dataWithArc:g(e).map(function(e){var t=Math.abs(e.endAngle-e.startAngle);return tO({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:c===e.data.id?s-u:s,outerRadius:c===e.data.id?a+f:a,thickness:a-s,padAngle:e.padAngle,angle:t,angleDeg:yC(t)}})}),legendData:t.map(function(e){return{id:e.id,label:e.label,color:e.color,hidden:h.includes(e.id),data:e}})}},[g,t,h,c,s,u,a,f]),v=m.legendData,b=o(p);return r(function(){'function'==typeof b.current&&b.current(v)},[b,v]),m},uO=function(e){var t=e.data,r=e.width,i=e.height,o=e.innerRadius,a=void 0===o?AO.innerRadius:o,A=e.startAngle,l=void 0===A?AO.startAngle:A,c=e.endAngle,u=void 0===c?AO.endAngle:c,f=e.padAngle,h=void 0===f?AO.padAngle:f,p=e.sortByValue,g=void 0===p?AO.sortByValue:p,m=e.cornerRadius,v=void 0===m?AO.cornerRadius:m,b=e.fit,y=void 0===b?AO.fit:b,w=e.activeInnerRadiusOffset,B=void 0===w?AO.activeInnerRadiusOffset:w,x=e.activeOuterRadiusOffset,C=void 0===x?AO.activeOuterRadiusOffset:x,_=e.activeId,j=e.onActiveIdChange,F=e.defaultActiveId,E=e.forwardLegendData,S=function(e){var t=e.activeId,r=e.onActiveIdChange,i=e.defaultActiveId,o=void 0!==t,a=n(o||void 0===i?null:i),A=a[0],l=a[1];return{activeId:o?t:A,setActiveId:s(function(e){r&&r(e),o||l(e)},[o,r,l])}}({activeId:_,onActiveIdChange:j,defaultActiveId:F}),k=S.activeId,U=S.setActiveId,Q=n([]),L=Q[0],O=Q[1],I=d(function(){var e,t=Math.min(r,i)/2,n=t*Math.min(a,1),o=r/2,s=i/2;if(y){var A=function(e,t,n,r,i,o){void 0===o&&(o=!0);var s=[],a=wC(bC(r),n);s.push([a.x,a.y]);var A=wC(bC(i),n);s.push([A.x,A.y]);for(var l=Math.round(Math.min(r,i));l<=Math.round(Math.max(r,i));l++)if(l%90==0){var c=wC(bC(l),n);s.push([c.x,c.y])}s=s.map(function(n){var r=n[0],i=n[1];return[e+r,t+i]}),o&&s.push([e,t]);var u=s.map(function(e){return e[0]}),d=s.map(function(e){return e[1]}),f=Math.min.apply(Math,u),h=Math.max.apply(Math,u),p=Math.min.apply(Math,d);return{points:s,x:f,y:p,width:h-f,height:Math.max.apply(Math,d)-p}}(o,s,t,l-90,u-90),c=A.points,d=nO(A,lO),f=Math.min(r/d.width,i/d.height),h={width:d.width*f,height:d.height*f};h.x=(r-h.width)/2,h.y=(i-h.height)/2,o=(o-d.x)/d.width*d.width*f+h.x,s=(s-d.y)/d.height*d.height*f+h.y,e={box:d,ratio:f,points:c},t*=f,n*=f}return{centerX:o,centerY:s,radius:t,innerRadius:n,debug:e}},[r,i,a,l,u,y]),N=cO({data:t,startAngle:l,endAngle:u,innerRadius:I.innerRadius,outerRadius:I.radius,padAngle:h,sortByValue:g,activeId:k,activeInnerRadiusOffset:B,activeOuterRadiusOffset:C,hiddenIds:L,forwardLegendData:E}),T=s(function(e){O(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]);return tO({arcGenerator:eO({cornerRadius:v,padAngle:bC(h)}),activeId:k,setActiveId:U,toggleSerie:T},N,I)},dO=function(e){var t=e.center,n=e.data,r=e.arcGenerator,i=e.borderWidth,o=e.borderColor,s=e.isInteractive,a=e.onClick,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.setActiveId,f=e.tooltip,h=e.transitionMode,g=ka(),m=g.showTooltipFromEvent,v=g.hideTooltip,b=d(function(){if(s)return function(e,t){null==a||a(e,t)}},[s,a]),y=d(function(){if(s)return function(e,t){m(p(f,{datum:e}),t),u(e.id),null==A||A(e,t)}},[s,m,u,A,f]),B=d(function(){if(s)return function(e,t){m(p(f,{datum:e}),t),null==l||l(e,t)}},[s,m,l,f]),x=d(function(){if(s)return function(e,t){v(),u(null),null==c||c(e,t)}},[s,v,u,c]);return w($L,{center:t,data:n,arcGenerator:r,borderWidth:i,borderColor:o,transitionMode:h,onClick:b,onMouseEnter:y,onMouseMove:B,onMouseLeave:x})},fO=['isInteractive','animate','motionConfig','theme','renderWrapper'],hO=function(e){var t=e.data,n=e.id,r=void 0===n?AO.id:n,i=e.value,o=void 0===i?AO.value:i,s=e.valueFormat,a=e.sortByValue,A=void 0===a?AO.sortByValue:a,l=e.layers,c=void 0===l?AO.layers:l,u=e.startAngle,f=void 0===u?AO.startAngle:u,h=e.endAngle,g=void 0===h?AO.endAngle:h,v=e.padAngle,b=void 0===v?AO.padAngle:v,y=e.fit,B=void 0===y?AO.fit:y,x=e.innerRadius,C=void 0===x?AO.innerRadius:x,_=e.cornerRadius,j=void 0===_?AO.cornerRadius:_,F=e.activeInnerRadiusOffset,E=void 0===F?AO.activeInnerRadiusOffset:F,S=e.activeOuterRadiusOffset,k=void 0===S?AO.activeOuterRadiusOffset:S,U=e.width,Q=e.height,L=e.margin,O=e.colors,I=void 0===O?AO.colors:O,N=e.borderWidth,T=void 0===N?AO.borderWidth:N,M=e.borderColor,P=void 0===M?AO.borderColor:M,D=e.enableArcLabels,R=void 0===D?AO.enableArcLabels:D,H=e.arcLabel,z=void 0===H?AO.arcLabel:H,K=e.arcLabelsSkipAngle,V=void 0===K?AO.arcLabelsSkipAngle:K,q=e.arcLabelsTextColor,G=void 0===q?AO.arcLabelsTextColor:q,W=e.arcLabelsRadiusOffset,Y=void 0===W?AO.arcLabelsRadiusOffset:W,X=e.arcLabelsComponent,J=e.enableArcLinkLabels,Z=void 0===J?AO.enableArcLinkLabels:J,$=e.arcLinkLabel,ee=void 0===$?AO.arcLinkLabel:$,te=e.arcLinkLabelsSkipAngle,ne=void 0===te?AO.arcLinkLabelsSkipAngle:te,re=e.arcLinkLabelsOffset,ie=void 0===re?AO.arcLinkLabelsOffset:re,oe=e.arcLinkLabelsDiagonalLength,se=void 0===oe?AO.arcLinkLabelsDiagonalLength:oe,ae=e.arcLinkLabelsStraightLength,Ae=void 0===ae?AO.arcLinkLabelsStraightLength:ae,le=e.arcLinkLabelsThickness,ce=void 0===le?AO.arcLinkLabelsThickness:le,ue=e.arcLinkLabelsTextOffset,de=void 0===ue?AO.arcLinkLabelsTextOffset:ue,fe=e.arcLinkLabelsTextColor,he=void 0===fe?AO.arcLinkLabelsTextColor:fe,pe=e.arcLinkLabelsColor,ge=void 0===pe?AO.arcLinkLabelsColor:pe,me=e.arcLinkLabelComponent,ve=e.defs,be=void 0===ve?AO.defs:ve,ye=e.fill,we=void 0===ye?AO.fill:ye,Be=e.isInteractive,xe=void 0===Be?AO.isInteractive:Be,Ce=e.onClick,_e=e.onMouseEnter,je=e.onMouseMove,Fe=e.onMouseLeave,Ee=e.tooltip,Se=void 0===Ee?AO.tooltip:Ee,ke=e.activeId,Ue=e.onActiveIdChange,Qe=e.defaultActiveId,Le=e.transitionMode,Oe=void 0===Le?AO.transitionMode:Le,Ie=e.legends,Ne=void 0===Ie?AO.legends:Ie,Te=e.forwardLegendData,Me=e.role,Pe=void 0===Me?AO.role:Me,De=rC(U,Q,L),Re=De.outerWidth,He=De.outerHeight,ze=De.margin,Ke=De.innerWidth,Ve=De.innerHeight,qe=function(e){var t=e.data,n=e.id,r=void 0===n?AO.id:n,i=e.value,o=void 0===i?AO.value:i,s=e.valueFormat,a=e.colors,A=void 0===a?AO.colors:a,l=HC(r),c=HC(o),u=sC(s),f=OQ(A,'id');return d(function(){return t.map(function(e){var t,n=l(e),r=c(e),i={id:n,label:null!=(t=e.label)?t:n,hidden:!1,value:r,formattedValue:u(r),data:e};return tO({},i,{color:f(i)})})},[t,l,c,u,f])}({data:t,id:r,value:o,valueFormat:s,colors:I}),Ge=uO({data:qe,width:Ke,height:Ve,fit:B,innerRadius:C,startAngle:f,endAngle:g,padAngle:b,sortByValue:A,cornerRadius:j,activeInnerRadiusOffset:E,activeOuterRadiusOffset:k,activeId:ke,onActiveIdChange:Ue,defaultActiveId:Qe,forwardLegendData:Te}),We=Ge.dataWithArc,Ye=Ge.legendData,Xe=Ge.arcGenerator,Je=Ge.centerX,Ze=Ge.centerY,$e=Ge.radius,et=Ge.innerRadius,tt=Ge.setActiveId,nt=Ge.toggleSerie,rt=GC(be,We,we),it={arcs:null,arcLinkLabels:null,arcLabels:null,legends:null};c.includes('arcs')&&(it.arcs=w(dO,{center:[Je,Ze],data:We,arcGenerator:Xe,borderWidth:T,borderColor:P,isInteractive:xe,onClick:Ce,onMouseEnter:_e,onMouseMove:je,onMouseLeave:Fe,setActiveId:tt,tooltip:Se,transitionMode:Oe},'arcs')),Z&&c.includes('arcLinkLabels')&&(it.arcLinkLabels=w(XL,{center:[Je,Ze],data:We,label:ee,skipAngle:ne,offset:ie,diagonalLength:se,straightLength:Ae,strokeWidth:ce,textOffset:de,textColor:he,linkColor:ge,component:me},'arcLinkLabels')),R&&c.includes('arcLabels')&&(it.arcLabels=w(HL,{center:[Je,Ze],data:We,label:z,radiusOffset:Y,skipAngle:V,textColor:G,transitionMode:Oe,component:X},'arcLabels')),Ne.length>0&&c.includes('legends')&&(it.legends=w(aO,{width:Ke,height:Ve,data:Ye,legends:Ne,toggleSerie:nt},'legends'));var ot=function(e){var t=e.dataWithArc,n=e.arcGenerator,r=e.centerX,i=e.centerY,o=e.radius,s=e.innerRadius;return d(function(){return{dataWithArc:t,arcGenerator:n,centerX:r,centerY:i,radius:o,innerRadius:s}},[t,n,r,i,o,s])}({dataWithArc:We,arcGenerator:Xe,centerX:Je,centerY:Ze,radius:$e,innerRadius:et});return w(kC,{width:Re,height:He,margin:ze,defs:rt,role:Pe,children:c.map(function(e,t){return void 0!==it[e]?it[e]:'function'==typeof e?w(m,{children:p(e,ot)},t):null})})},pO=function(e){var t=e.isInteractive,n=void 0===t?AO.isInteractive:t,r=e.animate,i=void 0===r?AO.animate:r,o=e.motionConfig,s=void 0===o?AO.motionConfig:o,a=e.theme,A=e.renderWrapper,l=nO(e,fO);return w(fC,{animate:i,isInteractive:n,motionConfig:s,renderWrapper:A,theme:a,children:w(hO,tO({isInteractive:n},l))})},gO=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(pO,tO({width:n,height:r},e))}})},mO=Nt.div(iO||(iO=Pe(['\n vu-flex\n vu-items-center\n vu-p-1\n '],['\n vu-flex\n vu-items-center\n vu-p-1\n ']))),vO=Nt.div(oO||(oO=Pe(['\n vu-h-3\n vu-w-3\n vu-mr-1\n '],['\n vu-h-3\n vu-w-3\n vu-mr-1\n ']))),bO=Nt.strong(sO||(sO=Pe(['\n vu-ml-1\n '],['\n vu-ml-1\n ']))),yO=function(e){var n=e.isDarkMode,r=e.color,i=e.label,o=e.unit,s=e.value;return t.createElement(mO,{style:Oe({},n?UL.tooltip.container:kL.tooltip.container)},t.createElement(vO,{style:{backgroundColor:r}}),i,':',t.createElement(bO,null,s,' ',o))},wO=function(e){var n=function(e){var t;return(null===(t=e.labels)||void 0===t?void 0:t.map(function(t,n){var r,i,o=null!==(i=null===(r=e.values)||void 0===r?void 0:r[n])&&void 0!==i?i:0,s=QL(o.toString());return{id:t,value:parseFloat(s.toString()),unit:e.data_unit}}))||[]}(e.chartData),r=u(vJ).isDarkMode;return t.createElement(gO,{data:n,margin:{top:40,right:80,bottom:80,left:80},padAngle:.7,cornerRadius:3,activeOuterRadiusOffset:8,colors:{scheme:'nivo'},borderWidth:1,borderColor:{from:'color',modifiers:[['darker',.2]]},arcLinkLabelsSkipAngle:10,arcLinkLabelsTextColor:'#333333',arcLinkLabelsThickness:2,arcLinkLabelsColor:{from:'color'},arcLabelsSkipAngle:10,arcLabelsTextColor:{from:'color',modifiers:[['darker',2]]},tooltip:function(e){var n=e.datum,i=n.color,o=n.data,s=n.value,a=n.label;return t.createElement(yO,{isDarkMode:r,color:i,label:a,unit:o.unit,value:s})},arcLabel:function(e){return''.concat(e.value,' ').concat(e.data.unit)},defs:[{id:'dots',type:'patternDots',background:'inherit',color:'rgba(255, 255, 255, 0.3)',size:4,padding:1,stagger:!0},{id:'lines',type:'patternLines',background:'inherit',color:'rgba(255, 255, 255, 0.3)',rotation:-45,lineWidth:6,spacing:10}],legends:[{anchor:'right',direction:'column',justify:!1,translateX:24,translateY:0,itemsSpacing:12,itemWidth:100,itemHeight:18,itemTextColor:'#999',itemDirection:'left-to-right',itemOpacity:1,symbolSize:18,symbolShape:'circle',effects:[{on:'hover',style:{itemTextColor:'#000'}}]}],theme:r?UL:kL})};const BO=Math.pow(2,-52),xO=new Uint32Array(512);class CO{static from(e,t=QO,n=LO){const r=e.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=e[o];i[2*o]=t(r),i[2*o+1]=n(r)}return new CO(i)}constructor(e){const t=e.length>>1;if(t>0&&'number'!=typeof e[0])throw new Error('Expected coords to contain numbers.');this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=e.length>>1;let s=1/0,a=1/0,A=-1/0,l=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<s&&(s=n),r<a&&(a=r),n>A&&(A=n),r>l&&(l=r),this._ids[t]=t}const c=(s+A)/2,u=(a+l)/2;let d,f,h,p=1/0;for(let t=0;t<o;t++){const n=_O(c,u,e[2*t],e[2*t+1]);n<p&&(d=t,p=n)}const g=e[2*d],m=e[2*d+1];p=1/0;for(let t=0;t<o;t++){if(t===d)continue;const n=_O(g,m,e[2*t],e[2*t+1]);n<p&&n>0&&(f=t,p=n)}let v=e[2*f],b=e[2*f+1],y=1/0;for(let t=0;t<o;t++){if(t===d||t===f)continue;const n=SO(g,m,v,b,e[2*t],e[2*t+1]);n<y&&(h=t,y=n)}let w=e[2*h],B=e[2*h+1];if(y===1/0){for(let t=0;t<o;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];kO(this._ids,this._dists,0,o-1);const t=new Uint32Array(o);let n=0;for(let e=0,r=-1/0;e<o;e++){const i=this._ids[e];this._dists[i]>r&&(t[n++]=i,r=this._dists[i])}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(FO(g,m,v,b,w,B)){const e=f,t=v,n=b;f=h,v=w,b=B,h=e,w=t,B=n}const x=function(e,t,n,r,i,o){const s=n-e,a=r-t,A=i-e,l=o-t,c=s*s+a*a,u=A*A+l*l,d=.5/(s*l-a*A),f=e+(l*c-a*u)*d,h=t+(s*u-A*c)*d;return{x:f,y:h}}(g,m,v,b,w,B);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=_O(e[2*t],e[2*t+1],x.x,x.y);kO(this._ids,this._dists,0,o-1),this._hullStart=d;let C=3;n[d]=t[h]=f,n[f]=t[d]=h,n[h]=t[f]=d,r[d]=0,r[f]=1,r[h]=2,i.fill(-1),i[this._hashKey(g,m)]=d,i[this._hashKey(v,b)]=f,i[this._hashKey(w,B)]=h,this.trianglesLen=0,this._addTriangle(d,f,h,-1,-1,-1);for(let o,s,a=0;a<this._ids.length;a++){const A=this._ids[a],l=e[2*A],c=e[2*A+1];if(a>0&&Math.abs(l-o)<=BO&&Math.abs(c-s)<=BO)continue;if(o=l,s=c,A===d||A===f||A===h)continue;let u=0;for(let e=0,t=this._hashKey(l,c);e<this._hashSize&&(u=i[(t+e)%this._hashSize],-1===u||u===n[u]);e++);u=t[u];let p,g=u;for(;p=n[g],!FO(l,c,e[2*g],e[2*g+1],e[2*p],e[2*p+1]);)if(g=p,g===u){g=-1;break}if(-1===g)continue;let m=this._addTriangle(g,A,n[g],-1,-1,r[g]);r[A]=this._legalize(m+2),r[g]=m,C++;let v=n[g];for(;p=n[v],FO(l,c,e[2*v],e[2*v+1],e[2*p],e[2*p+1]);)m=this._addTriangle(v,A,p,r[A],-1,r[v]),r[A]=this._legalize(m+2),n[v]=v,C--,v=p;if(g===u)for(;p=t[g],FO(l,c,e[2*p],e[2*p+1],e[2*g],e[2*g+1]);)m=this._addTriangle(p,A,g,-1,r[g],r[p]),this._legalize(m+2),r[p]=m,n[g]=g,C--,g=p;this._hullStart=t[A]=g,n[g]=t[v]=A,n[A]=v,i[this._hashKey(l,c)]=A,i[this._hashKey(e[2*g],e[2*g+1])]=g}this.hull=new Uint32Array(C);for(let e=0,t=this._hullStart;e<C;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const s=n[e],a=e-e%3;if(o=a+(e+2)%3,-1===s){if(0===i)break;e=xO[--i];continue}const A=s-s%3,l=a+(e+1)%3,c=A+(s+2)%3,u=t[o],d=t[e],f=t[l],h=t[c];if(EO(r[2*u],r[2*u+1],r[2*d],r[2*d+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1])){t[e]=h,t[s]=u;const r=n[c];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===c){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(s,n[o]),this._link(o,c);const a=A+(s+1)%3;i<xO.length&&(xO[i++]=a)}else{if(0===i)break;e=xO[--i]}}return o}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,i,o){const s=this.trianglesLen;return this._triangles[s]=e,this._triangles[s+1]=t,this._triangles[s+2]=n,this._link(s,r),this._link(s+1,i),this._link(s+2,o),this.trianglesLen+=3,s}}function _O(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function jO(e,t,n,r,i,o){const s=(r-t)*(i-e),a=(n-e)*(o-t);return Math.abs(s-a)>=33306690738754716e-32*Math.abs(s+a)?s-a:0}function FO(e,t,n,r,i,o){return(jO(i,o,e,t,n,r)||jO(e,t,n,r,i,o)||jO(n,r,i,o,e,t))<0}function EO(e,t,n,r,i,o,s,a){const A=e-s,l=t-a,c=n-s,u=r-a,d=i-s,f=o-a,h=c*c+u*u,p=d*d+f*f;return A*(u*p-h*f)-l*(c*p-h*d)+(A*A+l*l)*(c*f-u*d)<0}function SO(e,t,n,r,i,o){const s=n-e,a=r-t,A=i-e,l=o-t,c=s*s+a*a,u=A*A+l*l,d=.5/(s*l-a*A),f=(l*c-a*u)*d,h=(s*u-A*c)*d;return f*f+h*h}function kO(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],o=t[r];let s=i-1;for(;s>=n&&t[e[s]]>o;)e[s+1]=e[s--];e[s+1]=r}else{let i=n+1,o=r;UO(e,n+r>>1,i),t[e[n]]>t[e[r]]&&UO(e,n,r),t[e[i]]>t[e[r]]&&UO(e,i,r),t[e[n]]>t[e[i]]&&UO(e,n,i);const s=e[i],a=t[s];for(;;){do{i++}while(t[e[i]]<a);do{o--}while(t[e[o]]>a);if(o<i)break;UO(e,i,o)}e[n+1]=e[o],e[o]=s,r-i+1>=o-n?(kO(e,t,i,r),kO(e,t,n,o-1)):(kO(e,t,n,o-1),kO(e,t,i,r))}}function UO(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function QO(e){return e[0]}function LO(e){return e[1]}const OO=1e-6;class IO{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=''}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+='Z')}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),i=t=+t;if(n<0)throw new Error('negative radius');null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>OO||Math.abs(this._y1-i)>OO)&&(this._+='L'+r+','+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class NO{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class TO{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error('invalid bounds');this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let t,r,o=0,s=0,a=n.length;o<a;o+=3,s+=2){const a=2*n[o],A=2*n[o+1],l=2*n[o+2],c=e[a],u=e[a+1],d=e[A],f=e[A+1],h=e[l],p=e[l+1],g=d-c,m=f-u,v=h-c,b=p-u,y=g*g+m*m,w=v*v+b*b,B=2*(g*b-m*v);if(B)if(Math.abs(B)<1e-8)t=(c+h)/2,r=(u+p)/2;else{const e=1/B;t=c+(b*y-m*w)*e,r=u+(g*w-v*y)*e}else t=(c+h)/2-1e8*b,r=(u+p)/2+1e8*v;i[s]=t,i[s+1]=r}let o,s,a,A=t[t.length-1],l=4*A,c=e[2*A],u=e[2*A+1];r.fill(0);for(let n=0;n<t.length;++n)A=t[n],o=l,s=c,a=u,l=4*A,c=e[2*A],u=e[2*A+1],r[o+2]=r[l]=a-u,r[o+3]=r[l+1]=c-s}render(e){const t=null==e?e=new IO:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:s}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),s=2*Math.floor(r/3),a=o[i],A=o[i+1],l=o[s],c=o[s+1];this._renderSegment(a,A,l,c,e)}let a,A=i[i.length-1];for(let t=0;t<i.length;++t){a=A,A=i[t];const n=2*Math.floor(r[A]/3),l=o[n],c=o[n+1],u=4*a,d=this._project(l,c,s[u+2],s[u+3]);d&&this._renderSegment(l,c,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new IO:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new IO:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let e=2;e<i;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new NO;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const s=this._regioncode(e,t),a=this._regioncode(n,r);0===s&&0===a?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,s,a))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let o=0,s=e.length;o<s;o+=2)if(t[r]==e[o]&&t[r+1]==e[o+1]&&t[(r+2)%i]==e[(o+s-2)%s]&&t[(r+3)%i]==e[(o+s-1)%s]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[e];if(-1===o)return null;const s=[];let a=o;do{const n=Math.floor(a/3);if(s.push(t[2*n],t[2*n+1]),a=a%3==2?a-2:a+1,i[a]!==e)break;a=r[a]}while(a!==o&&-1!==a);return s}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t)}_clipFinite(e,t){const n=t.length;let r,i,o,s,a,A=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c);for(let d=0;d<n;d+=2)if(r=l,i=c,l=t[d],c=t[d+1],o=u,u=this._regioncode(l,c),0===o&&0===u)s=a,a=0,A?A.push(l,c):A=[l,c];else{let t,n,d,f,h;if(0===o){if(null===(t=this._clipSegment(r,i,l,c,o,u)))continue;[n,d,f,h]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,o)))continue;[f,h,n,d]=t,s=a,a=this._edgecode(n,d),s&&a&&this._edge(e,s,a,A,A.length),A?A.push(n,d):A=[n,d]}s=a,a=this._edgecode(f,h),s&&a&&this._edge(e,s,a,A,A.length),A?A.push(f,h):A=[f,h]}if(A)s=a,a=this._edgecode(A[0],A[1]),s&&a&&this._edge(e,s,a,A,A.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return A}_clipSegment(e,t,n,r,i,o){for(;;){if(0===i&&0===o)return[e,t,n,r];if(i&o)return null;let s,a,A=i||o;8&A?(s=e+(n-e)*(this.ymax-t)/(r-t),a=this.ymax):4&A?(s=e+(n-e)*(this.ymin-t)/(r-t),a=this.ymin):2&A?(a=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(a=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=a,i=this._regioncode(e,t)):(n=s,r=a,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let s,a=Array.from(t);if((s=this._project(a[0],a[1],n,r))&&a.unshift(s[0],s[1]),(s=this._project(a[a.length-2],a[a.length-1],i,o))&&a.push(s[0],s[1]),a=this._clipFinite(e,a))for(let t,n=0,r=a.length,i=this._edgecode(a[r-2],a[r-1]);n<r;n+=2)t=i,i=this._edgecode(a[n],a[n+1]),t&&i&&(n=this._edge(e,t,i,a,n),r=a.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(a=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return a}_edge(e,t,n,r,i){for(;t!==n;){let n,o;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,o=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,o=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,o=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(e,n,o)||(r.splice(i,0,n,o),i+=2)}if(r.length>4)for(let e=0;e<r.length;e+=2){const t=(e+2)%r.length,n=(e+4)%r.length;(r[e]===r[t]&&r[t]===r[n]||r[e+1]===r[t+1]&&r[t+1]===r[n+1])&&(r.splice(t,2),e-=2)}return i}_project(e,t,n,r){let i,o,s,a=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<a&&(s=this.ymin,o=e+(a=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<a&&(s=this.ymax,o=e+(a=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<a&&(o=this.xmax,s=t+(a=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<a&&(o=this.xmin,s=t+(a=i)*r)}return[o,s]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}}const MO=2*Math.PI,PO=Math.pow;function DO(e){return e[0]}function RO(e){return e[1]}function HO(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class zO{static from(e,t=DO,n=RO,r){return new zO('length'in e?function(e,t,n,r){const i=e.length,o=new Float64Array(2*i);for(let s=0;s<i;++s){const i=e[s];o[2*s]=t.call(r,i,s,e),o[2*s+1]=n.call(r,i,s,e)}return o}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let i=0;for(const o of e)yield t.call(r,o,i,e),yield n.call(r,o,i,e),++i}(e,t,n,r)))}constructor(e){this._delaunator=new CO(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],i=2*t[e+1],o=2*t[e+2];if((n[o]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[o+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},(e,t)=>t).sort((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]);const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=HO(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new CO(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),s=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=i[e%3==2?e-2:e+1];-1!==n[e]&&-1!==o[t]||(o[t]=e)}for(let e=0,t=r.length;e<t;++e)s[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],this.triangles[1]=r[1],this.triangles[2]=r[1],o[r[0]]=1,2===r.length&&(o[r[1]]=0))}voronoi(e){return new TO(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:s}=this;if(s){const t=s.indexOf(e);return t>0&&(yield s[t-1]),void(t<s.length-1&&(yield s[t+1]))}const a=t[e];if(-1===a)return;let A=a,l=-1;do{if(yield l=o[A],A=A%3==2?A-2:A+1,o[A]!==e)return;if(A=i[A],-1===A){const t=n[(r[e]+1)%n.length];return void(t!==l&&(yield t))}}while(A!==a)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:s,triangles:a,points:A}=this;if(-1===r[e]||!A.length)return(e+1)%(A.length>>1);let l=e,c=PO(t-A[2*e],2)+PO(n-A[2*e+1],2);const u=r[e];let d=u;do{let r=a[d];const u=PO(t-A[2*r],2)+PO(n-A[2*r+1],2);if(u<c&&(c=u,l=r),d=d%3==2?d-2:d+1,a[d]!==e)break;if(d=s[d],-1===d){if(d=i[(o[e]+1)%i.length],d!==r&&PO(t-A[2*d],2)+PO(n-A[2*d+1],2)<c)return d;break}}while(d!==u);return l}render(e){const t=null==e?e=new IO:void 0,{points:n,halfedges:r,triangles:i}=this;for(let t=0,o=r.length;t<o;++t){const o=r[t];if(o<t)continue;const s=2*i[t],a=2*i[o];e.moveTo(n[s],n[s+1]),e.lineTo(n[a],n[a+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t=2){const n=null==e?e=new IO:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],o=r[n+1];e.moveTo(i+t,o),e.arc(i,o,t,0,MO)}return n&&n.value()}renderHull(e){const t=null==e?e=new IO:void 0,{hull:n,points:r}=this,i=2*n[0],o=n.length;e.moveTo(r[i],r[i+1]);for(let t=1;t<o;++t){const i=2*n[t];e.lineTo(r[i],r[i+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new NO;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new IO:void 0,{points:r,triangles:i}=this,o=2*i[e*=3],s=2*i[e+1],a=2*i[e+2];return t.moveTo(r[o],r[o+1]),t.lineTo(r[s],r[s+1]),t.lineTo(r[a],r[a+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new NO;return this.renderTriangle(e,t),t.value()}}var KO=function(e){return'function'==typeof e?e:function(t){return t[e]}},VO=function(e){var t=e.points,n=e.x,r=e.y,i=e.width,o=e.height,s=e.debug,a=d(function(){return function(e){var t=e.points,n=e.x,r=void 0===n?'x':n,i=e.y,o=void 0===i?'y':i,s=KO(r),a=KO(o);return t.map(function(e){return[s(e),a(e)]})}({points:t,x:n,y:r})},[t,n,r]);return d(function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.debug,o=zO.from(t),s=i?o.voronoi([0,0,n,r]):void 0;return{delaunay:o,voronoi:s}}({points:a,width:i,height:o,debug:s})},[a,i,o,s])},qO=function(e){var t=e.nodes,r=e.width,i=e.height,a=e.x,A=e.y,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,h=e.debug,p=o(null),g=n(null),m=g[0],v=g[1],b=VO({points:t,x:a,y:A,width:r,height:i,debug:h}),y=b.delaunay,C=b.voronoi,_=d(function(){if(h&&C)return C.render()},[h,C]),j=s(function(e){if(!p.current)return[null,null];var n=KC(p.current,e),r=n[0],i=n[1],o=y.find(r,i);return[o,void 0!==o?t[o]:null]},[p,y]),F=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==l||l(r,e))},[j,v,l]),E=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==c||c(r,e))},[j,v,c]),S=s(function(e){if(v(null),u){var n=void 0;null!==m&&(n=t[m]),n&&u(n,e)}},[v,m,u,t]),k=s(function(e){var t=j(e),n=t[0],r=t[1];v(n),r&&(null==f||f(r,e))},[j,v,f]);return B('g',{ref:p,children:[h&&C&&B(x,{children:[w('path',{d:_,stroke:'red',strokeWidth:1,opacity:.75}),null!==m&&w('path',{fill:'pink',opacity:.35,d:C.renderCell(m)})]}),w('rect',{width:r,height:i,fill:'red',opacity:0,style:{cursor:'auto'},onMouseEnter:F,onMouseMove:E,onMouseLeave:S,onClick:k})]})};function GO(){return GO=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},GO.apply(this,arguments)}var WO=function(e){var t=e.point;return w(Ba,{id:B('span',{children:['x: ',w('strong',{children:t.data.xFormatted}),', y:',' ',w('strong',{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})};WO.propTypes={point:kr.object.isRequired};var YO=f(WO),XO=function(e){var t=e.slice,n=e.axis,r=cC(),i='x'===n?'y':'x';return w(Ca,{rows:t.points.map(function(e){return[w(wa,{color:e.serieColor,style:r.tooltip.chip},'chip'),e.serieId,w('span',{style:r.tooltip.tableCellValue,children:e.data[i+'Formatted']},'value')]})})};XO.propTypes={slice:kr.object.isRequired,axis:kr.oneOf(['x','y']).isRequired};var JO=f(XO),ZO={data:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.string,kr.number]).isRequired,data:kr.arrayOf(kr.shape({x:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]),y:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)])})).isRequired})).isRequired,xScale:kr.object.isRequired,xFormat:kr.oneOfType([kr.func,kr.string]),yScale:kr.object.isRequired,yFormat:kr.oneOfType([kr.func,kr.string]),layers:kr.arrayOf(kr.oneOfType([kr.oneOf(['grid','markers','axes','areas','crosshair','lines','slices','points','mesh','legends']),kr.func])).isRequired,curve:Wx.isRequired,axisTop:PF,axisRight:PF,axisBottom:PF,axisLeft:PF,enableGridX:kr.bool.isRequired,enableGridY:kr.bool.isRequired,gridXValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]))]),gridYValues:kr.oneOfType([kr.number,kr.arrayOf(kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]))]),enablePoints:kr.bool.isRequired,pointSymbol:kr.func,pointSize:kr.number.isRequired,pointColor:kr.any.isRequired,pointBorderWidth:kr.number.isRequired,pointBorderColor:kr.any.isRequired,enablePointLabel:kr.bool.isRequired,pointLabel:kr.oneOfType([kr.string,kr.func]).isRequired,markers:kr.arrayOf(kr.shape({axis:kr.oneOf(['x','y']).isRequired,value:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,style:kr.object})),colors:QQ.isRequired,enableArea:kr.bool.isRequired,areaOpacity:kr.number.isRequired,areaBlendMode:tC.isRequired,areaBaselineValue:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,lineWidth:kr.number.isRequired,legends:kr.arrayOf(kr.shape(qQ)).isRequired,isInteractive:kr.bool.isRequired,debugMesh:kr.bool.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,enableSlices:kr.oneOf(['x','y',!1]).isRequired,debugSlices:kr.bool.isRequired,sliceTooltip:kr.oneOfType([kr.func,kr.object]).isRequired,enableCrosshair:kr.bool.isRequired,crosshairType:kr.string.isRequired},$O=GO({},ZO,{enablePointLabel:kr.bool.isRequired,role:kr.string.isRequired,useMesh:kr.bool.isRequired},Dx,Xx),eI=GO({pixelRatio:kr.number.isRequired},ZO),tI={curve:'linear',xScale:{type:'point'},yScale:{type:'linear',min:0,max:'auto'},layers:['grid','markers','axes','areas','crosshair','lines','points','slices','mesh','legends'],axisBottom:{},axisLeft:{},enableGridX:!0,enableGridY:!0,enablePoints:!0,pointSize:6,pointColor:{from:'color'},pointBorderWidth:0,pointBorderColor:{theme:'background'},enablePointLabel:!1,pointLabel:'yFormatted',colors:{scheme:'nivo'},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,areaBlendMode:'normal',lineWidth:2,legends:[],isInteractive:!0,tooltip:YO,enableSlices:!1,debugSlices:!1,sliceTooltip:JO,debugMesh:!1,enableCrosshair:!0,crosshairType:'bottom-left'},nI=GO({},tI,{enablePointLabel:!1,useMesh:!1,animate:!0,motionConfig:'gentle',defs:[],fill:[],role:'img'}),rI=GO({},tI,{pixelRatio:'undefined'!=typeof window&&window.devicePixelRatio||1}),iI=function(e){var t=e.curve;return d(function(){return gy().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y(function(e){return e.y}).curve(Yx(t))},[t])},oI=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return d(function(){return function(){var e=hy,t=null,n=qb(0),r=py,i=qb(!0),o=null,s=fy,a=null;function A(A){var l,c,u,d,f,h=A.length,p=!1,g=new Array(h),m=new Array(h);for(null==o&&(a=s(f=Vb())),l=0;l<=h;++l){if(!(l<h&&i(d=A[l],l,A))===p)if(p=!p)c=l,a.areaStart(),a.lineStart();else{for(a.lineEnd(),a.lineStart(),u=l-1;u>=c;--u)a.point(g[u],m[u]);a.lineEnd(),a.areaEnd()}p&&(g[l]=+e(d,l,A),m[l]=+n(d,l,A),a.point(t?+t(d,l,A):g[l],r?+r(d,l,A):m[l]))}if(f)return a=null,f+''||null}function l(){return gy().defined(i).curve(s).context(o)}return A.x=function(n){return arguments.length?(e='function'==typeof n?n:qb(+n),t=null,A):e},A.x0=function(t){return arguments.length?(e='function'==typeof t?t:qb(+t),A):e},A.x1=function(e){return arguments.length?(t=null==e?null:'function'==typeof e?e:qb(+e),A):t},A.y=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),r=null,A):n},A.y0=function(e){return arguments.length?(n='function'==typeof e?e:qb(+e),A):n},A.y1=function(e){return arguments.length?(r=null==e?null:'function'==typeof e?e:qb(+e),A):r},A.lineX0=A.lineY0=function(){return l().x(e).y(n)},A.lineY1=function(){return l().x(e).y(r)},A.lineX1=function(){return l().x(t).y(n)},A.defined=function(e){return arguments.length?(i='function'==typeof e?e:qb(!!e),A):i},A.curve=function(e){return arguments.length?(s=e,null!=o&&(a=s(o)),A):s},A.context=function(e){return arguments.length?(null==e?o=a=null:a=s(o=e),A):o},A}().defined(function(e){return null!==e.x&&null!==e.y}).x(function(e){return e.x}).y1(function(e){return e.y}).curve(Yx(t)).y0(n(r))},[t,n,r])},sI=function(e){var t=e.data,r=e.xScale,i=void 0===r?nI.xScale:r,o=e.xFormat,a=e.yScale,A=void 0===a?nI.yScale:a,l=e.yFormat,c=e.width,u=e.height,f=e.colors,h=void 0===f?nI.colors:f,p=e.curve,g=void 0===p?nI.curve:p,m=e.areaBaselineValue,v=void 0===m?nI.areaBaselineValue:m,b=e.pointColor,y=void 0===b?nI.pointColor:b,w=e.pointBorderColor,B=void 0===w?nI.pointBorderColor:w,x=e.enableSlices,C=void 0===x?nI.enableSlicesTooltip:x,_=sC(o),j=sC(l),F=OQ(h,'id'),E=cC(),S=UQ(y,E),k=UQ(B,E),U=n([]),Q=U[0],L=U[1],O=d(function(){return function(e,t,n,r,i){var o=e.map(function(e){return function(e){return lF({},e,{data:e.data.map(function(e){return{data:lF({},e)}})})}(e)}),s=BF(o,t,n);'stacked'in t&&!0===t.stacked&&_F(s,o),'stacked'in n&&!0===n.stacked&&jF(s,o);var a=yF(t,s.x,r,'x'),A=yF(n,s.y,i,'y'),l=o.map(function(e){return lF({},e,{data:e.data.map(function(e){return lF({},e,{position:{x:wF(e,'x',a),y:wF(e,'y',A)}})})})});return lF({},s,{series:l,xScale:a,yScale:A})}(t.filter(function(e){return-1===Q.indexOf(e.id)}),i,A,c,u)},[t,Q,i,A,c,u]),I=O.xScale,N=O.yScale,T=O.series,M=d(function(){var e=t.map(function(e){return{id:e.id,label:e.id,color:F(e)}}),n=e.map(function(e){return GO({},T.find(function(t){return t.id===e.id}),{color:e.color})}).filter(function(e){return Boolean(e.id)});return{legendData:e.map(function(e){return GO({},e,{hidden:!n.find(function(t){return t.id===e.id})})}).reverse(),series:n}},[t,T,F]),P=M.legendData,D=M.series,R=s(function(e){L(function(t){return t.indexOf(e)>-1?t.filter(function(t){return t!==e}):[].concat(t,[e])})},[]),H=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return d(function(){return t.reduce(function(e,t){return[].concat(e,t.data.filter(function(e){return null!==e.position.x&&null!==e.position.y}).map(function(s,a){var A={id:t.id+'.'+a,index:e.length+a,serieId:t.id,serieColor:t.color,x:s.position.x,y:s.position.y};return A.color=n(t),A.borderColor=r(A),A.data=GO({},s.data,{xFormatted:i(s.data.x),yFormatted:o(s.data.y)}),A}))},[])},[t,n,r,i,o])}({series:D,getPointColor:S,getPointBorderColor:k,formatX:_,formatY:j}),z=function(e){var t=e.enableSlices,n=e.points,r=e.width,i=e.height;return d(function(){if(!1===t)return[];if('x'===t){var e=new Map;return n.forEach(function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))}),Array.from(e.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,s=e[0],a=e[1],A=n[t-1],l=n[t+1];return{id:s,x0:o=A?s-(s-A[0])/2:s,x:s,y0:0,y:0,width:l?s-o+(l[0]-s)/2:r-o,height:i,points:a.reverse()}})}if('y'===t){var o=new Map;return n.forEach(function(e){null!==e.data.x&&null!==e.data.y&&(o.has(e.y)?o.get(e.y).push(e):o.set(e.y,[e]))}),Array.from(o.entries()).sort(function(e,t){return e[0]-t[0]}).map(function(e,t,n){var o,s,a=e[0],A=e[1],l=n[t-1],c=n[t+1];return o=l?a-(a-l[0])/2:a,s=c?a-o+(c[0]-a)/2:i-o,{id:a,x0:0,x:0,y0:o,y:a,width:r,height:s,points:A.reverse()}})}},[t,n])}({enableSlices:C,points:H,width:c,height:u});return{legendData:P,toggleSerie:R,lineGenerator:iI({curve:g}),areaGenerator:oI({curve:g,yScale:N,areaBaselineValue:v}),getColor:F,series:D,xScale:I,yScale:N,slices:z,points:H}},aI=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,s=Rx(),a=s.animate,A=s.config,l=Hx(o),c=Ys({color:r,config:A,immediate:!a});return w(ga.path,{d:l,fill:i||c.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})};aI.propTypes={areaBlendMode:tC.isRequired,areaOpacity:kr.number.isRequired,color:kr.string,fill:kr.string,path:kr.string.isRequired};var AI=function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode,i=e.lines.slice(0).reverse();return w('g',{children:i.map(function(e){return w(aI,GO({path:t(e.data.map(function(e){return e.position}))},GO({areaOpacity:n,areaBlendMode:r},e)),e.id)})})};AI.propTypes={areaGenerator:kr.func.isRequired,areaOpacity:kr.number.isRequired,areaBlendMode:tC.isRequired,lines:kr.arrayOf(kr.object).isRequired};var lI=f(AI),cI=function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=d(function(){return t(n)},[t,n]),s=Hx(o);return w(ga.path,{d:s,fill:'none',strokeWidth:i,stroke:r})};cI.propTypes={points:kr.arrayOf(kr.shape({x:kr.oneOfType([kr.string,kr.number]),y:kr.oneOfType([kr.string,kr.number])})),lineGenerator:kr.func.isRequired,color:kr.string.isRequired,thickness:kr.number.isRequired};var uI=f(cI),dI=function(e){var t=e.lines,n=e.lineGenerator,r=e.lineWidth;return t.slice(0).reverse().map(function(e){var t=e.id,i=e.data,o=e.color;return w(uI,{id:t,points:i.map(function(e){return e.position}),lineGenerator:n,color:o,thickness:r},t)})};dI.propTypes={lines:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.string,kr.number]).isRequired,color:kr.string.isRequired,data:kr.arrayOf(kr.shape({data:kr.shape({x:kr.oneOfType([kr.string,kr.number,kr.instanceOf(Date)]),y:kr.oneOfType([kr.string,kr.number,kr.instanceOf(Date)])}).isRequired,position:kr.shape({x:kr.number,y:kr.number}).isRequired})).isRequired})).isRequired,lineWidth:kr.number.isRequired,lineGenerator:kr.func.isRequired};var fI=f(dI),hI=function(e){var t=e.slice,n=e.axis,r=e.debug,i=e.tooltip,o=e.isCurrent,a=e.setCurrent,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onClick,d=ka(),f=d.showTooltipFromEvent,h=d.hideTooltip,g=s(function(e){f(p(i,{slice:t,axis:n}),e,'right'),a(t),A&&A(t,e)},[f,i,t,A]),m=s(function(e){f(p(i,{slice:t,axis:n}),e,'right'),l&&l(t,e)},[f,i,t,l]),v=s(function(e){h(),a(null),c&&c(t,e)},[h,t,c]),b=s(function(e){u&&u(t,e)},[t,u]);return w('rect',{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:'red',strokeWidth:r?1:0,strokeOpacity:.75,fill:'red',fillOpacity:o&&r?.35:0,onMouseEnter:g,onMouseMove:m,onMouseLeave:v,onClick:b,'data-testid':'slice-'+t.id})};hI.propTypes={slice:kr.object.isRequired,axis:kr.oneOf(['x','y']).isRequired,debug:kr.bool.isRequired,height:kr.number.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]),isCurrent:kr.bool.isRequired,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func};var pI=f(hI),gI=function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,s=e.current,a=e.setCurrent,A=e.onMouseEnter,l=e.onMouseMove,c=e.onMouseLeave,u=e.onClick;return t.map(function(e){return w(pI,{slice:e,axis:n,debug:r,height:i,tooltip:o,setCurrent:a,isCurrent:null!==s&&s.id===e.id,onMouseEnter:A,onMouseMove:l,onMouseLeave:c,onClick:u},e.id)})};gI.propTypes={slices:kr.arrayOf(kr.shape({id:kr.oneOfType([kr.number,kr.string,kr.instanceOf(Date)]).isRequired,x:kr.number.isRequired,y:kr.number.isRequired,points:kr.arrayOf(kr.object).isRequired})).isRequired,axis:kr.oneOf(['x','y']).isRequired,debug:kr.bool.isRequired,height:kr.number.isRequired,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,current:kr.object,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func};var mI=f(gI),vI=function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,s=e.label,a=e.labelYOffset,A=cC(),l=function(e,t){var n,r=wA(e)?e:function(t){return tf(t,e)};return t&&(n=wA(t)?t:hw(t)),n?function(e){return n(r(e))}:r}(s),c=t.slice(0).reverse().map(function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?l(e.data):null}});return w('g',{children:c.map(function(e){return w(OC,{x:e.x,y:e.y,datum:e.datum,symbol:n,size:r,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:a,theme:A},e.id)})})};vI.propTypes={points:kr.arrayOf(kr.object),symbol:kr.func,size:kr.number.isRequired,color:kr.func.isRequired,borderWidth:kr.number.isRequired,borderColor:kr.func.isRequired,enableLabel:kr.bool.isRequired,label:kr.oneOfType([kr.string,kr.func]).isRequired,labelYOffset:kr.number};var bI=f(vI),yI=function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,A=e.onMouseMove,l=e.onMouseLeave,c=e.onClick,u=e.tooltip,d=e.debug,f=ka(),h=f.showTooltipAt,g=f.hideTooltip,m=s(function(e,t){h(p(u,{point:e}),[e.x+i.left,e.y+i.top],'top'),o(e),a&&a(e,t)},[o,h,u,a,i]),v=s(function(e,t){h(p(u,{point:e}),[e.x+i.left,e.y+i.top],'top'),o(e),A&&A(e,t)},[o,h,u,A]),b=s(function(e,t){g(),o(null),l&&l(e,t)},[g,o,l]),y=s(function(e,t){c&&c(e,t)},[c]);return w(qO,{nodes:t,width:n,height:r,onMouseEnter:m,onMouseMove:v,onMouseLeave:b,onClick:y,debug:d})};yI.propTypes={points:kr.arrayOf(kr.object).isRequired,width:kr.number.isRequired,height:kr.number.isRequired,margin:kr.object.isRequired,setCurrent:kr.func.isRequired,onMouseEnter:kr.func,onMouseMove:kr.func,onMouseLeave:kr.func,onClick:kr.func,tooltip:kr.oneOfType([kr.func,kr.object]).isRequired,debug:kr.bool.isRequired};var wI=f(yI),BI=function(e){var t=e.data,r=e.xScale,i=e.xFormat,o=e.yScale,s=e.yFormat,a=e.layers,A=e.curve,l=e.areaBaselineValue,c=e.colors,u=e.margin,d=e.width,f=e.height,h=e.axisTop,p=e.axisRight,g=e.axisBottom,v=e.axisLeft,b=e.enableGridX,y=e.enableGridY,B=e.gridXValues,x=e.gridYValues,C=e.lineWidth,_=e.enableArea,j=e.areaOpacity,F=e.areaBlendMode,E=e.enablePoints,S=e.pointSymbol,k=e.pointSize,U=e.pointColor,Q=e.pointBorderWidth,L=e.pointBorderColor,O=e.enablePointLabel,I=e.pointLabel,N=e.pointLabelYOffset,T=e.defs,M=e.fill,P=e.markers,D=e.legends,R=e.isInteractive,H=e.useMesh,z=e.debugMesh,K=e.onMouseEnter,V=e.onMouseMove,q=e.onMouseLeave,G=e.onClick,W=e.tooltip,Y=e.enableSlices,X=e.debugSlices,J=e.sliceTooltip,Z=e.enableCrosshair,$=e.crosshairType,ee=e.role,te=rC(d,f,u),ne=te.margin,re=te.innerWidth,ie=te.innerHeight,oe=te.outerWidth,se=te.outerHeight,ae=sI({data:t,xScale:r,xFormat:i,yScale:o,yFormat:s,width:re,height:ie,colors:c,curve:A,areaBaselineValue:l,pointColor:U,pointBorderColor:L,enableSlices:Y}),Ae=ae.legendData,le=ae.toggleSerie,ce=ae.lineGenerator,ue=ae.areaGenerator,de=ae.series,fe=ae.xScale,he=ae.yScale,pe=ae.slices,ge=ae.points,me=cC(),ve=UQ(U,me),be=UQ(L,me),ye=n(null),we=ye[0],Be=ye[1],xe=n(null),Ce=xe[0],_e=xe[1],je={grid:w(KF,{theme:me,width:re,height:ie,xScale:b?fe:null,yScale:y?he:null,xValues:B,yValues:x},'grid'),markers:w(MC,{markers:P,width:re,height:ie,xScale:fe,yScale:he,theme:me},'markers'),axes:w(RF,{xScale:fe,yScale:he,width:re,height:ie,theme:me,top:h,right:p,bottom:g,left:v},'axes'),areas:null,lines:w(fI,{lines:de,lineGenerator:ce,lineWidth:C},'lines'),slices:null,points:null,crosshair:null,mesh:null,legends:D.map(function(e,t){return w(zQ,GO({},e,{containerWidth:re,containerHeight:ie,data:e.data||Ae,theme:me,toggleSerie:e.toggleSerie?le:void 0}),'legend.'+t)})},Fe=GC(T,de,M);return _&&(je.areas=w(lI,{areaGenerator:ue,areaOpacity:j,areaBlendMode:F,lines:de},'areas')),R&&!1!==Y&&(je.slices=w(mI,{slices:pe,axis:Y,debug:X,height:ie,tooltip:J,current:Ce,setCurrent:_e,onMouseEnter:K,onMouseMove:V,onMouseLeave:q,onClick:G},'slices')),E&&(je.points=w(bI,{points:ge,symbol:S,size:k,color:ve,borderWidth:Q,borderColor:be,enableLabel:O,label:I,labelYOffset:N},'points')),R&&Z&&(null!==we&&(je.crosshair=w(ja,{width:re,height:ie,x:we.x,y:we.y,type:$},'crosshair')),null!==Ce&&(je.crosshair=w(ja,{width:re,height:ie,x:Ce.x,y:Ce.y,type:Y},'crosshair'))),R&&H&&!1===Y&&(je.mesh=w(wI,{points:ge,width:re,height:ie,margin:ne,current:we,setCurrent:Be,onMouseEnter:K,onMouseMove:V,onMouseLeave:q,onClick:G,tooltip:W,debug:z},'mesh')),w(kC,{defs:Fe,width:oe,height:se,margin:ne,role:ee,children:a.map(function(t,n){return'function'==typeof t?w(m,{children:t(GO({},e,{innerWidth:re,innerHeight:ie,series:de,slices:pe,points:ge,xScale:fe,yScale:he,lineGenerator:ce,areaGenerator:ue,currentPoint:we,setCurrentPoint:Be,currentSlice:Ce,setCurrentSlice:_e}))},n):je[t]})})};BI.propTypes=$O,BI.defaultProps=nI;var xI=DC(BI),CI=function(e){return w(hC,{children:function(t){var n=t.width,r=t.height;return w(xI,GO({width:n,height:r},e))}})},_I=function(e){var t=e.width,i=e.height,a=e.margin,A=e.pixelRatio,l=e.data,c=e.xScale,u=e.xFormat,d=e.yScale,f=e.yFormat,h=e.curve,g=e.layers,m=e.colors,v=e.lineWidth,b=e.enableArea,y=e.areaBaselineValue,B=e.areaOpacity,x=e.enablePoints,C=e.pointSize,_=e.pointColor,j=e.pointBorderWidth,F=e.pointBorderColor,E=e.enableGridX,S=e.gridXValues,k=e.enableGridY,U=e.gridYValues,Q=e.axisTop,L=e.axisRight,O=e.axisBottom,I=e.axisLeft,N=e.legends,T=e.isInteractive,M=e.debugMesh,P=e.onMouseLeave,D=e.onClick,R=e.tooltip,H=e.canvasRef,z=o(null),K=rC(t,i,a),V=K.margin,q=K.innerWidth,G=K.innerHeight,W=K.outerWidth,Y=K.outerHeight,X=cC(),J=n(null),Z=J[0],$=J[1],ee=sI({data:l,xScale:c,xFormat:u,yScale:d,yFormat:f,width:q,height:G,colors:m,curve:h,areaBaselineValue:y,pointColor:_,pointBorderColor:F}),te=ee.lineGenerator,ne=ee.areaGenerator,re=ee.series,ie=ee.xScale,oe=ee.yScale,se=ee.points,ae=VO({points:se,width:q,height:G,debug:M}),Ae=ae.delaunay,le=ae.voronoi;r(function(){H&&(H.current=z.current),z.current.width=W*A,z.current.height=Y*A;var e=z.current.getContext('2d');e.scale(A,A),e.fillStyle=X.background,e.fillRect(0,0,W,Y),e.translate(V.left,V.top),g.forEach(function(t){if('function'==typeof t&&t({ctx:e,innerWidth:q,innerHeight:G,series:re,points:se,xScale:ie,yScale:oe,lineWidth:v,lineGenerator:te,areaGenerator:ne,currentPoint:Z,setCurrentPoint:$}),'grid'===t&&X.grid.line.strokeWidth>0&&(e.lineWidth=X.grid.line.strokeWidth,e.strokeStyle=X.grid.line.stroke,E&&qF(e,{width:q,height:G,scale:ie,axis:'x',values:S}),k&&qF(e,{width:q,height:G,scale:oe,axis:'y',values:U})),'axes'===t&&VF(e,{xScale:ie,yScale:oe,width:q,height:G,top:Q,right:L,bottom:O,left:I,theme:X}),'areas'===t&&!0===b&&(e.save(),e.globalAlpha=B,ne.context(e),re.forEach(function(t){e.fillStyle=t.color,e.beginPath(),ne(t.data.map(function(e){return e.position})),e.fill()}),e.restore()),'lines'===t&&(te.context(e),re.forEach(function(t){e.strokeStyle=t.color,e.lineWidth=v,e.beginPath(),te(t.data.map(function(e){return e.position})),e.stroke()})),'points'===t&&!0===x&&C>0&&se.forEach(function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,C/2,0,2*Math.PI),e.fill(),j>0&&(e.strokeStyle=t.borderColor,e.lineWidth=j,e.stroke())}),'mesh'===t&&!0===M&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle='red',e.lineWidth=1,e.stroke(),e.restore()}(e,le),Z&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle='red',e.fill(),e.restore()}(e,le,Z.index)),'legends'===t){var n=re.map(function(e){return{id:e.id,label:e.id,color:e.color}}).reverse();N.forEach(function(t){VQ(e,GO({},t,{data:t.data||n,containerWidth:q,containerHeight:G,theme:X}))})}})},[z,W,Y,g,X,te,re,ie,oe,E,S,k,U,Q,L,O,I,N,se,x,C,Z]);var ce=s(function(e){var t=KC(z.current,e),n=t[0],r=t[1];if(!zC(V.left,V.top,q,G,n,r))return null;var i=Ae.find(n-V.left,r-V.top);return se[i]},[z,V,q,G,Ae]),ue=ka(),de=ue.showTooltipFromEvent,fe=ue.hideTooltip,he=s(function(e){var t=ce(e);$(t),t?de(p(R,{point:t}),e):fe()},[ce,$,de,fe,R]),pe=s(function(e){fe(),$(null),Z&&P&&P(Z,e)},[fe,$,P]),ge=s(function(e){if(D){var t=ce(e);t&&D(t,e)}},[ce,D]);return w('canvas',{ref:z,width:W*A,height:Y*A,style:{width:W,height:Y,cursor:T?'auto':'normal'},onMouseEnter:T?he:void 0,onMouseMove:T?he:void 0,onMouseLeave:T?pe:void 0,onClick:T?ge:void 0})};_I.propTypes=eI,_I.defaultProps=rI;var jI=DC(_I),FI=c(function(e,t){return w(jI,GO({},e,{canvasRef:t}))});c(function(e,t){return w(hC,{children:function(n){var r=n.width,i=n.height;return w(FI,GO({width:r,height:i},e,{ref:t}))}})});var EI,SI,kI,UI=function(e){var n=e.chartData,r=function(e){if(1===e.num_y_categories){var t=e.y_data,n=Array.isArray(t[0])&&t.length===e.x_data.length?t.map(function(e){return e[0]}):Array.isArray(t[0])?t[0]:t;return[{id:e.y_category_label[0],data:e.x_data.map(function(e,t){var r;return{x:e,y:null!==(r=n[t])&&void 0!==r?r:0}})}]}return e.y_category_label.map(function(t,n){return{id:t,data:e.x_data.map(function(t,r){var i,o;return{x:t,y:null!==(o=null===(i=e.y_data[r])||void 0===i?void 0:i[n])&&void 0!==o?o:0}})}})}(n),i=u(vJ).isDarkMode;return t.createElement(CI,{data:r,margin:{top:50,right:60,bottom:80,left:60},xScale:{type:'point'},yScale:{type:'linear',min:'auto',max:'auto',stacked:!0,reverse:!1},yFormat:' >-.2f',axisTop:null,axisRight:null,axisBottom:{tickSize:5,tickPadding:5,tickRotation:-15,truncateTickAt:0,legend:n.x_label,legendPosition:'middle',legendOffset:45,format:LL},axisLeft:{tickSize:5,tickPadding:5,legend:n.y_category_label,legendPosition:'middle',legendOffset:-55,tickRotation:0},pointSize:10,pointColor:{theme:'background'},pointBorderWidth:2,pointBorderColor:{from:'serieColor'},pointLabelYOffset:-12,useMesh:!0,legends:[{anchor:'top',direction:'row',justify:!1,translateX:12,translateY:-30,itemsSpacing:0,itemDirection:'left-to-right',itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:'circle',symbolBorderColor:'rgba(0, 0, 0, .5)',effects:[{on:'hover',style:{itemBackground:'rgba(0, 0, 0, .03)',itemOpacity:1}}]}],theme:i?UL:kL})},QI=function(e){var n=e.handleClickDownloadConversation;return t.createElement(Mn,null,t.createElement(En,{$fill:'outline',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m21%2C13.58c-.55%2C0-1%2C.45-1%2C1v4.42c0%2C.55-.45%2C1-1%2C1H5c-.55%2C0-1-.45-1-1v-4.42c0-.55-.45-1-1-1s-1%2C.45-1%2C1v4.42c0%2C1.65%2C1.35%2C3%2C3%2C3h14c1.65%2C0%2C3-1.35%2C3-3v-4.42c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22m11.29%2C16.71c.09.09.2.17.33.22.12.05.25.08.38.08s.26-.03.38-.08c.12-.05.23-.12.33-.22l4-4c.39-.39.39-1.02%2C0-1.41s-1.02-.39-1.41%2C0l-2.29%2C2.29V3c0-.55-.45-1-1-1s-1%2C.45-1%2C1v10.59l-2.29-2.29c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l4%2C4Z%22%2F%3E%3C%2Fsvg%3E',onClick:n},'Download Conversation'))},LI=function e(t){function n(e,t,r){var i,o={};if(Array.isArray(e))return e.concat(t);for(i in e)o[r?i.toLowerCase():i]=e[i];for(i in t){var s=r?i.toLowerCase():i,a=t[i];o[s]=s in o&&'object'==typeof a?n(o[s],a,'headers'==s):a}return o}function r(e,r,i,o,s){var a='string'!=typeof e?(r=e).url:e,A={config:r},l=n(t,r),c={};o=o||l.data,(l.transformRequest||[]).map(function(e){o=e(o,l.headers)||o}),l.auth&&(c.authorization=l.auth),o&&'object'==typeof o&&'function'!=typeof o.append&&'function'!=typeof o.text&&(o=JSON.stringify(o),c['content-type']='application/json');try{c[l.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp('(^|; )'+l.xsrfCookieName+'=([^;]*)'))[2])}catch(e){}return l.baseURL&&(a=a.replace(/^(?!.*\/\/)\/?/,l.baseURL+'/')),l.params&&(a+=(~a.indexOf('?')?'&':'?')+(l.paramsSerializer?l.paramsSerializer(l.params):new URLSearchParams(l.params))),(l.fetch||fetch)(a,{method:(i||l.method||'get').toUpperCase(),body:o,headers:n(l.headers,c,!0),credentials:l.withCredentials?'include':s}).then(function(e){for(var t in e)'function'!=typeof e[t]&&(A[t]=e[t]);return'stream'==l.responseType?(A.data=e.body,A):e[l.responseType||'text']().then(function(e){A.data=e,A.data=JSON.parse(e)}).catch(Object).then(function(){return(l.validateStatus?l.validateStatus(e.status):e.ok)?A:Promise.reject(A)})})}return t=t||{},r.request=r,r.get=function(e,t){return r(e,t,'get')},r.delete=function(e,t){return r(e,t,'delete')},r.head=function(e,t){return r(e,t,'head')},r.options=function(e,t){return r(e,t,'options')},r.post=function(e,t,n){return r(e,n,'post',t)},r.put=function(e,t,n){return r(e,n,'put',t)},r.patch=function(e,t,n){return r(e,n,'patch',t)},r.all=Promise.all.bind(Promise),r.spread=function(e){return e.apply.bind(e,e)},r.CancelToken='function'==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}(),OI=LI.create(),II=function(){return Ne(void 0,void 0,void 0,function(){return Te(this,function(e){switch(e.label){case 0:return[4,OI.post('/ved/chats/',{session_title:''})];case 1:return[2,e.sent().data]}})})},NI=function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.delete('/ved/chats/'.concat(e,'/'))];case 1:return[2,t.sent().data]}})})},TI=function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.post('/ved/chats/'.concat(e.sessionID,'/feedback'),Oe({message_id:e.message_id,is_liked:e.is_liked},!1===e.is_liked&&{reason:e.reason,comment:e.comment}))];case 1:return[2,t.sent().data]}})})},MI=Nt.div(EI||(EI=Pe(['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-4\n vu-my-5\n vu-w-full\n'],['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-4\n vu-my-5\n vu-w-full\n']))),PI=Nt.div(SI||(SI=Pe(['\n vu-flex\n vu-gap-x-3\n'],['\n vu-flex\n vu-gap-x-3\n']))),DI=Nt.div(kI||(kI=Pe(['\n vu-flex\n vu-flex-col\n vu-text-sm\n vu-text-left\n vu-w-full\n vu-gap-2\n'],['\n vu-flex\n vu-flex-col\n vu-text-sm\n vu-text-left\n vu-w-full\n vu-gap-2\n']))),RI={},HI={};Object.defineProperty(HI,'__esModule',{value:!0}),HI.createAnimation=void 0;HI.createAnimation=function(e,t,n){var r='react-spinners-'.concat(e,'-').concat(n);if('undefined'==typeof window||!window.document)return r;var i=document.createElement('style');document.head.appendChild(i);var o=i.sheet,s='\n @keyframes '.concat(r,' {\n ').concat(t,'\n }\n ');return o&&o.insertRule(s,0),r};var zI={};Object.defineProperty(zI,'__esModule',{value:!0}),zI.cssValue=zI.parseLengthAndUnit=void 0;var KI={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,'%':!0};function VI(e){if('number'==typeof e)return{value:e,unit:'px'};var t,n=(e.match(/^[0-9.]*/)||'').toString();t=n.includes('.')?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||'').toString();return KI[r]?{value:t,unit:r}:{value:t,unit:'px'}}zI.parseLengthAndUnit=VI,zI.cssValue=function(e){var t=VI(e);return''.concat(t.value).concat(t.unit)};var qI=nr&&nr.__assign||function(){return qI=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qI.apply(this,arguments)},GI=nr&&nr.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!('get'in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),WI=nr&&nr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,'default',{enumerable:!0,value:t})}:function(e,t){e.default=t}),YI=nr&&nr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)'default'!==n&&Object.prototype.hasOwnProperty.call(e,n)&&GI(t,e,n);return WI(t,e),t},XI=nr&&nr.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(RI,'__esModule',{value:!0});var JI=YI(t),ZI=zI,$I=(0,HI.createAnimation)('SyncLoader','33% {transform: translateY(10px)}\n 66% {transform: translateY(-10px)}\n 100% {transform: translateY(0)}','sync');var eN=RI.default=function(e){var t=e.loading,n=void 0===t||t,r=e.color,i=void 0===r?'#000000':r,o=e.speedMultiplier,s=void 0===o?1:o,a=e.cssOverride,A=void 0===a?{}:a,l=e.size,c=void 0===l?15:l,u=e.margin,d=void 0===u?2:u,f=XI(e,['loading','color','speedMultiplier','cssOverride','size','margin']),h=qI({display:'inherit'},A),p=function(e){return{backgroundColor:i,width:(0,ZI.cssValue)(c),height:(0,ZI.cssValue)(c),margin:(0,ZI.cssValue)(d),borderRadius:'100%',display:'inline-block',animation:''.concat($I,' ').concat(.6/s,'s ').concat(.07*e,'s infinite ease-in-out'),animationFillMode:'both'}};return n?JI.createElement('span',qI({style:h},f),JI.createElement('span',{style:p(1)}),JI.createElement('span',{style:p(2)}),JI.createElement('span',{style:p(3)})):null};const tN=t.createContext({}),nN=!0;function rN({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:i,circle:o,direction:s,duration:a,enableAnimation:A=true,customHighlightBackground:l}){const c={};return'rtl'===s&&(c['--animation-direction']='reverse'),'number'==typeof a&&(c['--animation-duration']=`${a}s`),A||(c['--pseudo-element-display']='none'),'string'!=typeof n&&'number'!=typeof n||(c.width=n),'string'!=typeof r&&'number'!=typeof r||(c.height=r),'string'!=typeof i&&'number'!=typeof i||(c.borderRadius=i),o&&(c.borderRadius='50%'),void 0!==e&&(c['--base-color']=e),void 0!==t&&(c['--highlight-color']=t),'string'==typeof l&&(c['--custom-highlight-background']=l),c}function iN({count:e=1,wrapper:n,className:r,containerClassName:i,containerTestId:o,circle:s=!1,style:a,...A}){var l,c,u;const d=t.useContext(tN),f={...A};for(const[e,t]of Object.entries(A))void 0===t&&delete f[e];const h={...d,...f,circle:s},p={...a,...rN(h)};let g='react-loading-skeleton';r&&(g+=` ${r}`);const m=null!==(l=h.inline)&&void 0!==l&&l,v=[],b=Math.ceil(e);for(let n=0;n<b;n++){let r=p;if(b>e&&n===b-1){const t=null!==(c=r.width)&&void 0!==c?c:'100%',n=e%1,i='number'==typeof t?t*n:`calc(${t} * ${n})`;r={...r,width:i}}const i=t.createElement('span',{className:g,style:r,key:n},'');m?v.push(i):v.push(t.createElement(t.Fragment,{key:n},i,t.createElement('br',null)))}return t.createElement('span',{className:i,'data-testid':o,'aria-live':'polite','aria-busy':null!==(u=h.enableAnimation)&&void 0!==u?u:nN},n?v.map((e,r)=>t.createElement(n,{key:r},e)):v)}j('@keyframes react-loading-skeleton {\n 100% {\n transform: translateX(100%);\n }\n}\n\n.react-loading-skeleton {\n --base-color: #ebebeb;\n --highlight-color: #f5f5f5;\n --animation-duration: 1.5s;\n --animation-direction: normal;\n --pseudo-element-display: block; /* Enable animation */\n\n background-color: var(--base-color);\n\n width: 100%;\n border-radius: 0.25rem;\n display: inline-flex;\n line-height: 1;\n\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n\n.react-loading-skeleton::after {\n content: \' \';\n display: var(--pseudo-element-display);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-repeat: no-repeat;\n background-image: var(\n --custom-highlight-background,\n linear-gradient(\n 90deg,\n var(--base-color) 0%,\n var(--highlight-color) 50%,\n var(--base-color) 100%\n )\n );\n transform: translateX(-100%);\n\n animation-name: react-loading-skeleton;\n animation-direction: var(--animation-direction);\n animation-duration: var(--animation-duration);\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n}\n\n@media (prefers-reduced-motion) {\n .react-loading-skeleton {\n --pseudo-element-display: none; /* Disable animation */\n }\n}\n');var oN=function(){var e=u(vJ).isDarkMode,n=d(function(){return[60,55,50,45].map(function(n,r){return t.createElement(iN,{key:r,width:''.concat(n,'%'),baseColor:e?'#7B7E92':'#ebebeb',highlightColor:e?'#4B5168':'#f5f5f5'})})},[]);return t.createElement(MI,null,t.createElement(PI,null,t.createElement(eN,{color:e?'#CCCCDC':'#000',size:4,'aria-label':'Loading Spinner'}),t.createElement(DI,null,t.createElement('p',null,'Generating Response'),n)))},sN={},aN=nr&&nr.__assign||function(){return aN=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},aN.apply(this,arguments)},AN=nr&&nr.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!('get'in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),lN=nr&&nr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,'default',{enumerable:!0,value:t})}:function(e,t){e.default=t}),cN=nr&&nr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)'default'!==n&&Object.prototype.hasOwnProperty.call(e,n)&&AN(t,e,n);return lN(t,e),t},uN=nr&&nr.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(sN,'__esModule',{value:!0});var dN=cN(t),fN=zI,hN=(0,HI.createAnimation)('ClipLoader','0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}','clip');var pN,gN,mN,vN,bN,yN=sN.default=function(e){var t=e.loading,n=void 0===t||t,r=e.color,i=void 0===r?'#000000':r,o=e.speedMultiplier,s=void 0===o?1:o,a=e.cssOverride,A=void 0===a?{}:a,l=e.size,c=void 0===l?35:l,u=uN(e,['loading','color','speedMultiplier','cssOverride','size']),d=aN({background:'transparent !important',width:(0,fN.cssValue)(c),height:(0,fN.cssValue)(c),borderRadius:'100%',border:'2px solid',borderTopColor:i,borderBottomColor:'transparent',borderLeftColor:i,borderRightColor:i,display:'inline-block',animation:''.concat(hN,' ').concat(.75/s,'s 0s infinite linear'),animationFillMode:'both'},A);return n?dN.createElement('span',aN({style:d},u)):null},wN=Nt.div(pN||(pN=Pe(['\n vu-text-start\n'],['\n vu-text-start\n']))),BN=Nt.div(gN||(gN=Pe(['\n vu-text-3xl vu-font-bold\n'],['\n vu-text-3xl vu-font-bold\n']))),xN=Nt.div(mN||(mN=Pe(['\n vu-text-md\n'],['\n vu-text-md\n']))),CN=Nt.div(vN||(vN=Pe(['\n vu-opacity-60\n'],['\n vu-opacity-60\n']))),_N=Nt.ul(bN||(bN=Pe(['\n vu-list-disc\n vu-mt-0\n vu-mb-4\n vu-pl-10\n'],['\n vu-list-disc\n vu-mt-0\n vu-mb-4\n vu-pl-10\n']))),jN=function(){return t.createElement(wN,null,t.createElement(BN,null,'Hi, I\'m ',t.createElement(Fn,{inline:!0,svg:qn,size:48})),t.createElement(xN,null,t.createElement(CN,null,'Your assistant for incident analysis and insights.'),t.createElement('div',{className:'vu-mt-4'},'I can help you with:'),t.createElement(_N,null,t.createElement('li',null,'Incident listing and summaries.'),t.createElement('li',null,'Understanding what happened, when, and why.'),t.createElement('li',null,'Probable Root Causes and Recommended actions.')),t.createElement(CN,null,'Ask away!')))},FN=Nt.div(SN||(SN=Pe(['\n vu-flex\n'],['\n vu-flex\n']))),EN=Nt.div(kN||(kN=Pe(['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'])));Nt.div(UN||(UN=Pe(['\n vu-flex\n vu-justify-between\n vu-mb-10\n'],['\n vu-flex\n vu-justify-between\n vu-mb-10\n']))),Nt.div(QN||(QN=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n'])));var SN,kN,UN,QN,LN,ON,IN,NN,TN,MN,PN,DN,RN,HN=Nt.div(LN||(LN=Pe(['\n vu-flex\n vu-h-full\n'],['\n vu-flex\n vu-h-full\n']))),zN=Nt.div(ON||(ON=Pe(['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'],['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'])),function(e){return e.$isOpen?'vu-flex':'vu-hidden'}),KN=Nt.div(IN||(IN=Pe(['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n'],['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n']))),VN=Nt.div(NN||(NN=Pe(['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n'],['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n']))),qN=Nt.div(TN||(TN=Pe(['\n vu-h-full\n vu-flex\n vu-flex-col\n'],['\n vu-h-full\n vu-flex\n vu-flex-col\n']))),GN=Nt.div(MN||(MN=Pe(['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n']))),WN=Nt.div(PN||(PN=Pe(['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n'],['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n']))),YN=Nt.button(DN||(DN=Pe(['\n vu-underline\n vu-p-0\n vu-pl-1\n vu-pb-0.5\n vu-bg-transparent\n vu-text-blue-600\n vu-cursor-pointer\n'],['\n vu-underline\n vu-p-0\n vu-pl-1\n vu-pb-0.5\n vu-bg-transparent\n vu-text-blue-600\n vu-cursor-pointer\n']))),XN=Nt.a(RN||(RN=Pe(['\n vu-underline\n vu-text-blue-600\n'],['\n vu-underline\n vu-text-blue-600\n'])));Nt.div(JN||(JN=Pe(['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-grid \n vu-grid-cols-3\n vu-gap-x-8\n vu-gap-y-5\n'],['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-grid \n vu-grid-cols-3\n vu-gap-x-8\n vu-gap-y-5\n'])));var JN,ZN,$N=Nt.div(ZN||(ZN=Pe(['\n vu-flex vu-justify-center vu-items-center vu-text-sm\n'],['\n vu-flex vu-justify-center vu-items-center vu-text-sm\n'])));let eT,tT,nT,rT={data:''},iT=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,oT=/\/\*[^]*?\*\/| +/g,sT=/\n+/g,aT=(e,t)=>{let n='',r='',i='';for(let o in e){let s=e[o];'@'==o[0]?'i'==o[1]?n=o+' '+s+';':r+='f'==o[1]?aT(s,o):o+'{'+aT(s,'k'==o[1]?'':t)+'}':'object'==typeof s?r+=aT(s,t?t.replace(/([^,])+/g,e=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+' '+t:t)):o):null!=s&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,'-$&').toLowerCase(),i+=aT.p?aT.p(o,s):o+':'+s+';')}return n+(t&&i?t+'{'+i+'}':i)+r},AT={},lT=e=>{if('object'==typeof e){let t='';for(let n in e)t+=n+lT(e[n]);return t}return e},cT=(e,t,n,r,i)=>{let o=lT(e),s=AT[o]||(AT[o]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return'go'+n})(o));if(!AT[s]){let t=o!==e?e:(e=>{let t,n,r=[{}];for(;t=iT.exec(e.replace(oT,''));)t[4]?r.shift():t[3]?(n=t[3].replace(sT,' ').trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(sT,' ').trim();return r[0]})(e);AT[s]=aT(i?{['@keyframes '+s]:t}:t,n?'':'.'+s)}let a=n&&AT.g?AT.g:null;return n&&(AT.g=AT[s]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(AT[s],t,r,a),s};function uT(e){let t=this||{},n=e.call?e(t.p):e;return cT(n.unshift?n.raw?((e,t,n)=>e.reduce((e,r,i)=>{let o=t[i];if(o&&o.call){let e=o(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;o=t?'.'+t:e&&'object'==typeof e?e.props?'':aT(e,''):!1===e?'':e}return e+r+(null==o?'':o)},''))(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,(e=>{if('object'==typeof window){let t=(e?e.querySelector('#_goober'):window._goober)||Object.assign(document.createElement('style'),{innerHTML:' ',id:'_goober'});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||rT})(t.target),t.g,t.o,t.k)}uT.bind({g:1});let dT=uT.bind({k:1});function fT(e,t){let n=this||{};return function(){let r=arguments;function i(o,s){let a=Object.assign({},o),A=a.className||i.className;n.p=Object.assign({theme:tT&&tT()},a),n.o=/ *go\d+/.test(A),a.className=uT.apply(n,r)+(A?' '+A:''),t&&(a.ref=s);let l=e;return e[0]&&(l=a.as||e,delete a.as),nT&&l[0]&&nT(a),eT(l,a)}return t?t(i):i}}var hT=(e,t)=>(e=>'function'==typeof e)(e)?e(t):e,pT=(()=>{let e=0;return()=>(++e).toString()})(),gT=(()=>{let e;return()=>{if(void 0===e&&typeof window<'u'){let t=matchMedia('(prefers-reduced-motion: reduce)');e=!t||t.matches}return e}})(),mT='default',vT=(e,t)=>{let{toastLimit:n}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,n)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return vT(e,{type:e.toasts.find(e=>e.id===r.id)?1:0,toast:r});case 3:let{toastId:i}=t;return{...e,toasts:e.toasts.map(e=>e.id===i||void 0===i?{...e,dismissed:!0,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+o}))}}},bT=[],yT={toasts:[],pausedAt:void 0,settings:{toastLimit:20}},wT={},BT=(e,t=mT)=>{wT[t]=vT(wT[t]||yT,e),bT.forEach(([e,n])=>{e===t&&n(wT[t])})},xT=e=>Object.keys(wT).forEach(t=>BT(e,t)),CT=(e=mT)=>t=>{BT(t,e)},_T={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},jT=e=>(t,n)=>{let r=((e,t='blank',n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:'status','aria-live':'polite'},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||pT()}))(t,e,n);return CT(r.toasterId||(e=>Object.keys(wT).find(t=>wT[t].toasts.some(t=>t.id===e)))(r.id))({type:2,toast:r}),r.id},FT=(e,t)=>jT('blank')(e,t);FT.error=jT('error'),FT.success=jT('success'),FT.loading=jT('loading'),FT.custom=jT('custom'),FT.dismiss=(e,t)=>{let n={type:3,toastId:e};t?CT(t)(n):xT(n)},FT.dismissAll=e=>FT.dismiss(void 0,e),FT.remove=(e,t)=>{let n={type:4,toastId:e};t?CT(t)(n):xT(n)},FT.removeAll=e=>FT.remove(void 0,e),FT.promise=(e,t,n)=>{let r=FT.loading(t.loading,{...n,...null==n?void 0:n.loading});return'function'==typeof e&&(e=e()),e.then(e=>{let i=t.success?hT(t.success,e):void 0;return i?FT.success(i,{id:r,...n,...null==n?void 0:n.success}):FT.dismiss(r),e}).catch(e=>{let i=t.error?hT(t.error,e):void 0;i?FT.error(i,{id:r,...n,...null==n?void 0:n.error}):FT.dismiss(r)}),e};var ET=(e,t='default')=>{let{toasts:i,pausedAt:a}=((e={},t=mT)=>{let[i,s]=n(wT[t]||yT),a=o(wT[t]);r(()=>(a.current!==wT[t]&&s(wT[t]),bT.push([t,s]),()=>{let e=bT.findIndex(([e])=>e===t);e>-1&&bT.splice(e,1)}),[t]);let A=i.toasts.map(t=>{var n,r,i;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(n=e[t.type])?void 0:n.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||_T[t.type],style:{...e.style,...null==(i=e[t.type])?void 0:i.style,...t.style}}});return{...i,toasts:A}})(e,t),A=o(new Map).current,l=s((e,t=1e3)=>{if(A.has(e))return;let n=setTimeout(()=>{A.delete(e),c({type:4,toastId:e})},t);A.set(e,n)},[]);r(()=>{if(a)return;let e=Date.now(),n=i.map(n=>{if(n.duration===1/0)return;let r=(n.duration||0)+n.pauseDuration-(e-n.createdAt);if(!(r<0))return setTimeout(()=>FT.dismiss(n.id,t),r);n.visible&&FT.dismiss(n.id)});return()=>{n.forEach(e=>e&&clearTimeout(e))}},[i,a,t]);let c=s(CT(t),[t]),u=s(()=>{c({type:5,time:Date.now()})},[c]),d=s((e,t)=>{c({type:1,toast:{id:e,height:t}})},[c]),f=s(()=>{a&&c({type:6,time:Date.now()})},[a,c]),h=s((e,t)=>{let{reverseOrder:n=!1,gutter:r=8,defaultPosition:o}=t||{},s=i.filter(t=>(t.position||o)===(e.position||o)&&t.height),a=s.findIndex(t=>t.id===e.id),A=s.filter((e,t)=>t<a&&e.visible).length;return s.filter(e=>e.visible).slice(...n?[A+1]:[0,A]).reduce((e,t)=>e+(t.height||0)+r,0)},[i]);return r(()=>{i.forEach(e=>{if(e.dismissed)l(e.id,e.removeDelay);else{let t=A.get(e.id);t&&(clearTimeout(t),A.delete(e.id))}})},[i,l]),{toasts:i,handlers:{updateHeight:d,startPause:u,endPause:f,calculateOffset:h}}},ST=dT`
|
|
45
15
|
from {
|
|
46
16
|
transform: scale(0) rotate(45deg);
|
|
47
17
|
opacity: 0;
|
|
@@ -49,7 +19,7 @@ from {
|
|
|
49
19
|
to {
|
|
50
20
|
transform: scale(1) rotate(45deg);
|
|
51
21
|
opacity: 1;
|
|
52
|
-
}`,
|
|
22
|
+
}`,kT=dT`
|
|
53
23
|
from {
|
|
54
24
|
transform: scale(0);
|
|
55
25
|
opacity: 0;
|
|
@@ -57,7 +27,7 @@ from {
|
|
|
57
27
|
to {
|
|
58
28
|
transform: scale(1);
|
|
59
29
|
opacity: 1;
|
|
60
|
-
}
|
|
30
|
+
}`,UT=dT`
|
|
61
31
|
from {
|
|
62
32
|
transform: scale(0) rotate(90deg);
|
|
63
33
|
opacity: 0;
|
|
@@ -65,7 +35,7 @@ from {
|
|
|
65
35
|
to {
|
|
66
36
|
transform: scale(1) rotate(90deg);
|
|
67
37
|
opacity: 1;
|
|
68
|
-
}`,
|
|
38
|
+
}`,QT=fT('div')`
|
|
69
39
|
width: 20px;
|
|
70
40
|
opacity: 0;
|
|
71
41
|
height: 20px;
|
|
@@ -74,14 +44,14 @@ to {
|
|
|
74
44
|
position: relative;
|
|
75
45
|
transform: rotate(45deg);
|
|
76
46
|
|
|
77
|
-
animation: ${
|
|
47
|
+
animation: ${ST} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
78
48
|
forwards;
|
|
79
49
|
animation-delay: 100ms;
|
|
80
50
|
|
|
81
51
|
&:after,
|
|
82
52
|
&:before {
|
|
83
53
|
content: '';
|
|
84
|
-
animation: ${
|
|
54
|
+
animation: ${kT} 0.15s ease-out forwards;
|
|
85
55
|
animation-delay: 150ms;
|
|
86
56
|
position: absolute;
|
|
87
57
|
border-radius: 3px;
|
|
@@ -94,18 +64,18 @@ to {
|
|
|
94
64
|
}
|
|
95
65
|
|
|
96
66
|
&:before {
|
|
97
|
-
animation: ${
|
|
67
|
+
animation: ${UT} 0.15s ease-out forwards;
|
|
98
68
|
animation-delay: 180ms;
|
|
99
69
|
transform: rotate(90deg);
|
|
100
70
|
}
|
|
101
|
-
`,
|
|
71
|
+
`,LT=dT`
|
|
102
72
|
from {
|
|
103
73
|
transform: rotate(0deg);
|
|
104
74
|
}
|
|
105
75
|
to {
|
|
106
76
|
transform: rotate(360deg);
|
|
107
77
|
}
|
|
108
|
-
`,
|
|
78
|
+
`,OT=fT('div')`
|
|
109
79
|
width: 12px;
|
|
110
80
|
height: 12px;
|
|
111
81
|
box-sizing: border-box;
|
|
@@ -113,8 +83,8 @@ to {
|
|
|
113
83
|
border-radius: 100%;
|
|
114
84
|
border-color: ${e=>e.secondary||'#e0e0e0'};
|
|
115
85
|
border-right-color: ${e=>e.primary||'#616161'};
|
|
116
|
-
animation: ${
|
|
117
|
-
`,
|
|
86
|
+
animation: ${LT} 1s linear infinite;
|
|
87
|
+
`,IT=dT`
|
|
118
88
|
from {
|
|
119
89
|
transform: scale(0) rotate(45deg);
|
|
120
90
|
opacity: 0;
|
|
@@ -122,7 +92,7 @@ from {
|
|
|
122
92
|
to {
|
|
123
93
|
transform: scale(1) rotate(45deg);
|
|
124
94
|
opacity: 1;
|
|
125
|
-
}`,
|
|
95
|
+
}`,NT=dT`
|
|
126
96
|
0% {
|
|
127
97
|
height: 0;
|
|
128
98
|
width: 0;
|
|
@@ -136,7 +106,7 @@ to {
|
|
|
136
106
|
100% {
|
|
137
107
|
opacity: 1;
|
|
138
108
|
height: 10px;
|
|
139
|
-
}`,
|
|
109
|
+
}`,TT=fT('div')`
|
|
140
110
|
width: 20px;
|
|
141
111
|
opacity: 0;
|
|
142
112
|
height: 20px;
|
|
@@ -145,13 +115,13 @@ to {
|
|
|
145
115
|
position: relative;
|
|
146
116
|
transform: rotate(45deg);
|
|
147
117
|
|
|
148
|
-
animation: ${
|
|
118
|
+
animation: ${IT} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
149
119
|
forwards;
|
|
150
120
|
animation-delay: 100ms;
|
|
151
121
|
&:after {
|
|
152
122
|
content: '';
|
|
153
123
|
box-sizing: border-box;
|
|
154
|
-
animation: ${
|
|
124
|
+
animation: ${NT} 0.2s ease-out forwards;
|
|
155
125
|
opacity: 0;
|
|
156
126
|
animation-delay: 200ms;
|
|
157
127
|
position: absolute;
|
|
@@ -163,16 +133,16 @@ to {
|
|
|
163
133
|
height: 10px;
|
|
164
134
|
width: 6px;
|
|
165
135
|
}
|
|
166
|
-
`,
|
|
136
|
+
`,MT=fT('div')`
|
|
167
137
|
position: absolute;
|
|
168
|
-
`,
|
|
138
|
+
`,PT=fT('div')`
|
|
169
139
|
position: relative;
|
|
170
140
|
display: flex;
|
|
171
141
|
justify-content: center;
|
|
172
142
|
align-items: center;
|
|
173
143
|
min-width: 20px;
|
|
174
144
|
min-height: 20px;
|
|
175
|
-
`,
|
|
145
|
+
`,DT=dT`
|
|
176
146
|
from {
|
|
177
147
|
transform: scale(0.6);
|
|
178
148
|
opacity: 0.4;
|
|
@@ -180,14 +150,14 @@ from {
|
|
|
180
150
|
to {
|
|
181
151
|
transform: scale(1);
|
|
182
152
|
opacity: 1;
|
|
183
|
-
}`,
|
|
153
|
+
}`,RT=fT('div')`
|
|
184
154
|
position: relative;
|
|
185
155
|
transform: scale(0.6);
|
|
186
156
|
opacity: 0.4;
|
|
187
157
|
min-width: 20px;
|
|
188
|
-
animation: ${
|
|
158
|
+
animation: ${DT} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
189
159
|
forwards;
|
|
190
|
-
`,
|
|
160
|
+
`,HT=({toast:t})=>{let{icon:n,type:r,iconTheme:i}=t;return void 0!==n?'string'==typeof n?e.createElement(RT,null,n):n:'blank'===r?null:e.createElement(PT,null,e.createElement(OT,{...i}),'loading'!==r&&e.createElement(MT,null,'error'===r?e.createElement(QT,{...i}):e.createElement(TT,{...i})))},zT=e=>`\n0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n`,KT=e=>`\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}\n`,VT=fT('div')`
|
|
191
161
|
display: flex;
|
|
192
162
|
align-items: center;
|
|
193
163
|
background: #fff;
|
|
@@ -199,21 +169,51 @@ to {
|
|
|
199
169
|
pointer-events: auto;
|
|
200
170
|
padding: 8px 10px;
|
|
201
171
|
border-radius: 8px;
|
|
202
|
-
`,
|
|
172
|
+
`,qT=fT('div')`
|
|
203
173
|
display: flex;
|
|
204
174
|
justify-content: center;
|
|
205
175
|
margin: 4px 10px;
|
|
206
176
|
color: inherit;
|
|
207
177
|
flex: 1 1 auto;
|
|
208
178
|
white-space: pre-line;
|
|
209
|
-
`,
|
|
179
|
+
`,GT=e.memo(({toast:t,position:n,style:r,children:i})=>{let o=t.height?((e,t)=>{let n=e.includes('top')?1:-1,[r,i]=gT()?['0%{opacity:0;} 100%{opacity:1;}','0%{opacity:1;} 100%{opacity:0;}']:[zT(n),KT(n)];return{animation:t?`${dT(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${dT(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(t.position||n||'top-center',t.visible):{opacity:0},s=e.createElement(HT,{toast:t}),a=e.createElement(qT,{...t.ariaProps},hT(t.message,t));return e.createElement(VT,{className:t.className,style:{...o,...r,...t.style}},'function'==typeof i?i({icon:s,message:a}):e.createElement(e.Fragment,null,s,a))});!function(e,t,n,r){aT.p=t,eT=e,tT=n,nT=r}(e.createElement);var WT=({id:t,className:n,style:r,onHeightUpdate:i,children:o})=>{let s=e.useCallback(e=>{if(e){let n=()=>{let n=e.getBoundingClientRect().height;i(t,n)};n(),new MutationObserver(n).observe(e,{subtree:!0,childList:!0,characterData:!0})}},[t,i]);return e.createElement('div',{ref:s,className:n,style:r},o)},YT=uT`
|
|
210
180
|
z-index: 9999;
|
|
211
181
|
> * {
|
|
212
182
|
pointer-events: auto;
|
|
213
183
|
}
|
|
214
|
-
`,vD=({reverseOrder:t,position:n='top-center',toastOptions:r,gutter:i,children:o,toasterId:s,containerStyle:a,containerClassName:A})=>{let{toasts:l,handlers:c}=XP(r,s);return e.createElement('div',{'data-rht-toaster':s||'',style:{position:'fixed',zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:'none',...a},className:A,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map(r=>{let s=r.position||n,a=((e,t)=>{let n=e.includes('top'),r=n?{top:0}:{bottom:0},i=e.includes('center')?{justifyContent:'center'}:e.includes('right')?{justifyContent:'flex-end'}:{};return{left:0,right:0,display:'flex',position:'absolute',transition:MP()?void 0:'all 230ms cubic-bezier(.21,1.02,.73,1)',transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}})(s,c.calculateOffset(r,{reverseOrder:t,gutter:i,defaultPosition:n}));return e.createElement(gD,{id:r.id,key:r.id,onHeightUpdate:c.updateHeight,className:r.visible?mD:'',style:a},'custom'===r.type?NP(r.message,r):o?o(r):e.createElement(pD,{toast:r,position:s}))}))},bD=YP;
|
|
184
|
+
`,XT=({reverseOrder:t,position:n='top-center',toastOptions:r,gutter:i,children:o,toasterId:s,containerStyle:a,containerClassName:A})=>{let{toasts:l,handlers:c}=ET(r,s);return e.createElement('div',{'data-rht-toaster':s||'',style:{position:'fixed',zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:'none',...a},className:A,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map(r=>{let s=r.position||n,a=((e,t)=>{let n=e.includes('top'),r=n?{top:0}:{bottom:0},i=e.includes('center')?{justifyContent:'center'}:e.includes('right')?{justifyContent:'flex-end'}:{};return{left:0,right:0,display:'flex',position:'absolute',transition:gT()?void 0:'all 230ms cubic-bezier(.21,1.02,.73,1)',transform:`translateY(${t*(n?1:-1)}px)`,...r,...i}})(s,c.calculateOffset(r,{reverseOrder:t,gutter:i,defaultPosition:n}));return e.createElement(WT,{id:r.id,key:r.id,onHeightUpdate:c.updateHeight,className:r.visible?YT:'',style:a},'custom'===r.type?hT(r.message,r):o?o(r):e.createElement(GT,{toast:r,position:s}))}))},JT=FT;function ZT(){var e=C();return d(function(){return new URLSearchParams(e.search)},[e.search])}var $T={incident_analysis:'Incident'};function eM(e){var t=e.sessionID,n=e.startChat,i=e.setConversation,o=e.setQuestion,s=ZT(),a=function(){var e=_(),t=C();return function(){var n=new URLSearchParams(t.search);n.delete('ved_context_object'),n.delete('ved_chat_question'),n.delete('ved_chat_autosend'),n.delete('ved_chat_open'),n.delete('ved_entry_point'),e.replace({pathname:t.pathname,search:n.toString()})}}();r(function(){var e=s.get('ved_context_object'),t=s.get('ved_chat_question'),r=s.get('ved_chat_autosend'),A=e?'Failed to load '.concat($T[e],' context : You may continue the chat with Ved and add any necessary details manually.'):'Failed to load context : You may continue the chat with Ved and add any necessary details manually.';if(t){var l;try{l=decodeURIComponent(t)}catch(e){return void JT.error(A)}a(),o(l),'true'===r&&(n(l),i(function(e){return Me(Me([],e,!0),[{from:'query',text:l}],!1)}),o(''))}else e&&JT.error(A)},[t])}function tM(e){var t=this,r=e.url,i=e.headers,a=void 0===i?{}:i,A=e.onComplete,l=e.onError,c=n(''),u=c[0],d=c[1],f=n(),h=f[0],p=f[1],g=n(),m=g[0],v=g[1],b=n([]),y=b[0],w=b[1],B=n([]),x=B[0],C=B[1],_=n(!1),j=_[0],F=_[1],E=o(''),S=o(),k=o(),U=o([]),Q=o([]),L=o(null),O=o(0),I=o(null),N=s(function(){I.current&&(clearTimeout(I.current),I.current=null),d(E.current),O.current=Date.now()},[]),T=s(function(){var e=Date.now(),t=e-O.current;t>=30?(d(E.current),O.current=e):I.current||(I.current=setTimeout(function(){d(E.current),O.current=Date.now(),I.current=null},30-t))},[]),M=s(function(){var e;N(),null===(e=L.current)||void 0===e||e.abort(),L.current=null,F(!1)},[N]),P=function(e){C(function(t){var n=e(t);return Q.current=n,n})},D=s(function(e){return Ne(t,void 0,void 0,function(){var t,n,i,o,s,c,u,f,h,g,m,b,y,B,x,_,j,D,R;return Te(this,function(H){switch(H.label){case 0:I.current&&(clearTimeout(I.current),I.current=null),null===(j=L.current)||void 0===j||j.abort(),F(!0),C([]),d(''),w([]),p(void 0),v(void 0),Q.current=[],E.current='',U.current=[],S.current=void 0,k.current=void 0,O.current=0,t=new AbortController,L.current=t,H.label=1;case 1:return H.trys.push([1,6,7,8]),[4,fetch(r,{method:'POST',body:e,headers:a,signal:t.signal})];case 2:if(!(n=H.sent()).ok||!n.body)throw new Error('Stream failed: '.concat(n.status));i=n.body.getReader(),o=new TextDecoder,s='',H.label=3;case 3:return[4,i.read()];case 4:if(c=H.sent(),u=c.done,f=c.value,u)return[3,5];for(s+=o.decode(f,{stream:!0}),h=s.split('\n\n'),s=null!==(D=h.pop())&&void 0!==D?D:'',g=function(e){var t=function(e){for(var t='',n='',r='',i='',o=0,s=e.split('\n');o<s.length;o++){var a=s[o];a.startsWith('event:')?t=a.slice(6).trim():a.startsWith('data:')?n+=a.slice(5).trim():a.startsWith('description:')?r+=a.slice(12).trim():a.startsWith('id:')&&(i=a.slice(3).trim())}return{event:t,data:n,description:r,id:i}}(e),n=t.event,r=t.data,i=t.description,o=t.id;switch(n){case'tool_start':P(function(e){return Me(Me([],e,!0),[{id:Number(o),description:i,status:'running'}],!1)});break;case'tool_end':P(function(e){var t,n=null===(t=Me([],e,!0).map(function(e,t){return{t:e,i:t}}).reverse().find(function(e){return'running'===e.t.status}))||void 0===t?void 0:t.i;if(void 0===n)return e;var r=Me([],e,!0);return r[n]=Oe(Oe({},r[n]),{status:'completed',description:i}),r});break;case'answer_chunk':var s=JSON.parse(r).chunk;E.current+=s,T();break;case'answer_end':var a=JSON.parse(r);E.current=a,N();break;case'chart_end':a=JSON.parse(r);var c=null!==(R=a.chart_config_list)&&void 0!==R?R:[];w(c),U.current=c;break;case'sources_end':a=JSON.parse(r);p(a.sources),S.current=a.sources;break;case'explainability_end':a=JSON.parse(r);v(a.explainability),k.current=a.explainability;break;case'response_stream_end':a=JSON.parse(r);N();var u={answerHtml:a.answer,sourcesHtml:a.sources,charts:a.chart_config_list,tools:Q.current,explainabilityHtml:a.explainability,messageId:a.message_id};return null==A||A(u),M(),{value:void 0};case'error':var d=r;try{d='string'==typeof(a=JSON.parse(r))?a:a.message}catch(e){}var f=new Error(d);return null==l||l(f,{answerHtml:E.current,sourcesHtml:S.current,charts:U.current,tools:Q.current,explainabilityHtml:k.current}),M(),{value:void 0}}},m=0,b=h;m<b.length;m++)if(y=b[m],'object'==typeof(B=g(y)))return[2,B.value];return[3,3];case 5:return[3,8];case 6:return x=H.sent(),_=x.name,null==l||l(x,void 0,'AbortError'===_?'AbortError':'Error'),[3,8];case 7:return N(),F(!1),[7];case 8:return[2]}})})},[r,a,M,A,l,T,N]);return{answerHtml:u,tools:x,sourcesHtml:h,explainabilityHtml:m,charts:y,isStreaming:j,start:D,stop:M}}var nM,rM,iM,oM=Nt.div(nM||(nM=Pe(['\n vu-bg-alice_blue \n dark:vu-bg-dark_mode-500\n vu-px-10\n vu-py-5\n vu-w-full\n\n'],['\n vu-bg-alice_blue \n dark:vu-bg-dark_mode-500\n vu-px-10\n vu-py-5\n vu-w-full\n\n']))),sM=Nt.div(rM||(rM=Pe(['\n vu-flex\n vu-gap-x-3\n'],['\n vu-flex\n vu-gap-x-3\n']))),aM=Nt.div(iM||(iM=Pe(['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-pt-[6px]\n'],['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-pt-[6px]\n']))),AM=function(e){var n=e.question;return t.createElement(oM,null,t.createElement(sM,null,t.createElement('div',null,t.createElement(Fn,{svg:'data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Group%206054%22%3E%3Cg%20id%3D%22Group%206038%22%3E%3Cg%20id%3D%22Group%206016%22%3E%3Cg%20id%3D%22Group%205999%22%3E%3Cpath%20id%3D%22Path%203219%22%20d%3D%22M16%203C18.5712%203%2021.0846%203.76244%2023.2224%205.19089C25.3602%206.61935%2027.0265%208.64967%2028.0104%2011.0251C28.9944%2013.4006%2029.2518%2016.0144%2028.7502%2018.5362C28.2486%2021.0579%2027.0105%2023.3743%2025.1924%2025.1924C23.3743%2027.0105%2021.0579%2028.2486%2018.5362%2028.7502C16.0144%2029.2518%2013.4006%2028.9944%2011.0251%2028.0104C8.64967%2027.0265%206.61935%2025.3602%205.19089%2023.2224C3.76244%2021.0846%203%2018.5712%203%2016C3%2012.5522%204.36964%209.24558%206.80761%206.80761C9.24558%204.36964%2012.5522%203%2016%203Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20id%3D%22Path%203220%22%20d%3D%22M15.7617%2015.4619C15.4452%2015.473%2015.1296%2015.4204%2014.8338%2015.3071C14.538%2015.1938%2014.268%2015.0222%2014.0399%2014.8025C13.6064%2014.3494%2013.3645%2013.7465%2013.3645%2013.1195C13.3645%2012.4924%2013.6064%2011.8896%2014.0399%2011.4365C14.5139%2011.014%2015.1268%2010.7806%2015.7617%2010.7806C16.3967%2010.7806%2017.0095%2011.014%2017.4836%2011.4365C17.9171%2011.8896%2018.159%2012.4924%2018.159%2013.1195C18.159%2013.7465%2017.9171%2014.3494%2017.4836%2014.8025C17.2555%2015.0222%2016.9855%2015.1938%2016.6897%2015.3071C16.3939%2015.4204%2016.0783%2015.473%2015.7617%2015.4619ZM11.1749%2020.847C11.0656%2020.8491%2010.9569%2020.8291%2010.8555%2020.7882C10.754%2020.7473%2010.6618%2020.6864%2010.5845%2020.6091C10.5062%2020.535%2010.4442%2020.4455%2010.4024%2020.3462C10.3606%2020.2469%2010.3399%2020.14%2010.3417%2020.0322V19.5068C10.3342%2019.1518%2010.4426%2018.8041%2010.6505%2018.5162C10.8571%2018.2341%2011.1336%2018.0105%2011.4527%2017.8675C12.1625%2017.5543%2012.8986%2017.3044%2013.6524%2017.1207C14.3433%2016.9553%2015.0513%2016.8712%2015.7617%2016.8701C16.471%2016.8711%2017.1775%2016.9572%2017.8663%2017.1265C18.6167%2017.3136%2019.3508%2017.5615%2020.0611%2017.8675C20.3845%2018.0083%2020.6649%2018.2321%2020.8739%2018.5162C21.0819%2018.8041%2021.1903%2019.1518%2021.1828%2019.5068V20.0322C21.1845%2020.14%2021.1638%2020.2469%2021.122%2020.3462C21.0802%2020.4455%2021.0182%2020.535%2020.94%2020.6091C20.8626%2020.6864%2020.7704%2020.7473%2020.669%2020.7882C20.5675%2020.8291%2020.4589%2020.8491%2020.3495%2020.847H11.1749Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E',size:32})),t.createElement(aM,null,n)))},lM=Nt.div(dM||(dM=Pe(['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-5\n vu-w-full\n vu-flex\n vu-flex-col\n vu-gap-4\n'],['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-5\n vu-w-full\n vu-flex\n vu-flex-col\n vu-gap-4\n']))),cM=Nt.div(fM||(fM=Pe(['\n vu-flex\n vu-gap-x-3\n vu-w-full\n'],['\n vu-flex\n vu-gap-x-3\n vu-w-full\n']))),uM=Nt.div(hM||(hM=Pe(['\n vu-w-4/5\n vu-relative\n vu-h-80\n vu-flex\n vu-flex-col\n vu-justify-center\n items-center\n'],['\n vu-w-4/5\n vu-relative\n vu-h-80\n vu-flex\n vu-flex-col\n vu-justify-center\n items-center\n'])));Nt.div(pM||(pM=Pe(['\n vu-flex\n vu-justify-end\n vu-text-xs\n'],['\n vu-flex\n vu-justify-end\n vu-text-xs\n'])));var dM,fM,hM,pM,gM,mM,vM,bM,yM,wM,BM,xM,CM,_M=Nt.div(gM||(gM=Pe(['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-w-full\n'],['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-w-full\n']))),jM=Nt.div(mM||(mM=Pe(['\n sm:vu-flex \n vu-flex-col \n vu-pl-7 \n vu-gap-2\n vu-hidden\n'],['\n sm:vu-flex \n vu-flex-col \n vu-pl-7 \n vu-gap-2\n vu-hidden\n']))),FM=Nt.div(vM||(vM=Pe(['\n vu-text-red-500\n'],['\n vu-text-red-500\n']))),EM=Nt.div(bM||(bM=Pe(['\n vu-opacity-60\n vu-self-center\n'],['\n vu-opacity-60\n vu-self-center\n']))),SM=Nt.span(yM||(yM=Pe(['\n vu-text-sm\n'],['\n vu-text-sm\n']))),kM=Nt.div(wM||(wM=Pe(['\n vu-text-sm vu-font-semibold\n'],['\n vu-text-sm vu-font-semibold\n']))),UM=Nt.div(BM||(BM=Pe(['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n vu-px-10\n vu-py-5\n vu-bg-[#E5D4FF]\n vu-gap-1\n vu-rounded-lg\n vu-text-dark_mode-600\n'],['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n vu-px-10\n vu-py-5\n vu-bg-[#E5D4FF]\n vu-gap-1\n vu-rounded-lg\n vu-text-dark_mode-600\n']))),QM=Nt.p(xM||(xM=Pe(['\n vu-text-center\n vu-font-medium\n vu-m-0\n'],['\n vu-text-center\n vu-font-medium\n vu-m-0\n']))),LM=Nt.p(CM||(CM=Pe(['\n vu-text-center\n vu-text-3xl\n vu-font-bold\n vu-m-0\n'],['\n vu-text-center\n vu-text-3xl\n vu-font-bold\n vu-m-0\n']))),OM=function(e){var n=e.title,r=e.value;return t.createElement(UM,null,t.createElement(LM,null,QL(r)),t.createElement(QM,null,n))},IM=function(e){var n,r,i,o,s,a=e.type,A=e.chartData;switch(a){case'line':return t.createElement(UI,{chartData:A});case'bar':return t.createElement(OL,{chartData:A});case'pie':return t.createElement(wO,{chartData:A});case'single_stat':var l=A;return t.createElement(OM,{title:null!==(r=null===(n=l.labels)||void 0===n?void 0:n[0])&&void 0!==r?r:'',value:null!==(s=null===(o=null===(i=l.values)||void 0===i?void 0:i[0])||void 0===o?void 0:o.toString())&&void 0!==s?s:''});default:return t.createElement('div',null,'Chart Type Not Found.')}};const NM=Math.min,TM=Math.max,MM=Math.round,PM=Math.floor,DM=e=>({x:e,y:e}),RM={left:'right',right:'left',bottom:'top',top:'bottom'},HM={start:'end',end:'start'};function zM(e,t,n){return TM(e,NM(t,n))}function KM(e,t){return'function'==typeof e?e(t):e}function VM(e){return e.split('-')[0]}function qM(e){return e.split('-')[1]}function GM(e){return'x'===e?'y':'x'}function WM(e){return'y'===e?'height':'width'}const YM=new Set(['top','bottom']);function XM(e){return YM.has(VM(e))?'y':'x'}function JM(e){return GM(XM(e))}function ZM(e){return e.replace(/start|end/g,e=>HM[e])}const $M=['left','right'],eP=['right','left'],tP=['top','bottom'],nP=['bottom','top'];function rP(e,t,n,r){const i=qM(e);let o=function(e,t,n){switch(e){case'top':case'bottom':return n?t?eP:$M:t?$M:eP;case'left':case'right':return t?tP:nP;default:return[]}}(VM(e),'start'===n,r);return i&&(o=o.map(e=>e+'-'+i),t&&(o=o.concat(o.map(ZM)))),o}function iP(e){return e.replace(/left|right|bottom|top/g,e=>RM[e])}function oP(e){return'number'!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function sP(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function aP(e,t,n){let{reference:r,floating:i}=e;const o=XM(t),s=JM(t),a=WM(s),A=VM(t),l='y'===o,c=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let f;switch(A){case'top':f={x:c,y:r.y-i.height};break;case'bottom':f={x:c,y:r.y+r.height};break;case'right':f={x:r.x+r.width,y:u};break;case'left':f={x:r.x-i.width,y:u};break;default:f={x:r.x,y:r.y}}switch(qM(t)){case'start':f[s]-=d*(n&&l?-1:1);break;case'end':f[s]+=d*(n&&l?-1:1)}return f}async function AP(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:A}=e,{boundary:l='clippingAncestors',rootBoundary:c='viewport',elementContext:u='floating',altBoundary:d=!1,padding:f=0}=KM(t,e),h=oP(f),p=a[d?'floating'===u?'reference':'floating':u],g=sP(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(p)))||n?p:p.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:A})),m='floating'===u?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await(null==o.isElement?void 0:o.isElement(v))&&await(null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},y=sP(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:A}):m);return{top:(g.top-y.top+h.top)/b.y,bottom:(y.bottom-g.bottom+h.bottom)/b.y,left:(g.left-y.left+h.left)/b.x,right:(y.right-g.right+h.right)/b.x}}const lP=new Set(['left','top']);function cP(){return'undefined'!=typeof window}function uP(e){return hP(e)?(e.nodeName||'').toLowerCase():'#document'}function dP(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function fP(e){var t;return null==(t=(hP(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function hP(e){return!!cP()&&(e instanceof Node||e instanceof dP(e).Node)}function pP(e){return!!cP()&&(e instanceof Element||e instanceof dP(e).Element)}function gP(e){return!!cP()&&(e instanceof HTMLElement||e instanceof dP(e).HTMLElement)}function mP(e){return!(!cP()||'undefined'==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof dP(e).ShadowRoot)}const vP=new Set(['inline','contents']);function bP(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=UP(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!vP.has(i)}const yP=new Set(['table','td','th']);function wP(e){return yP.has(uP(e))}const BP=[':popover-open',':modal'];function xP(e){return BP.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const CP=['transform','translate','scale','rotate','perspective'],_P=['transform','translate','scale','rotate','perspective','filter'],jP=['paint','layout','strict','content'];function FP(e){const t=EP(),n=pP(e)?UP(e):e;return CP.some(e=>!!n[e]&&'none'!==n[e])||!!n.containerType&&'normal'!==n.containerType||!t&&!!n.backdropFilter&&'none'!==n.backdropFilter||!t&&!!n.filter&&'none'!==n.filter||_P.some(e=>(n.willChange||'').includes(e))||jP.some(e=>(n.contain||'').includes(e))}function EP(){return!('undefined'==typeof CSS||!CSS.supports)&&CSS.supports('-webkit-backdrop-filter','none')}const SP=new Set(['html','body','#document']);function kP(e){return SP.has(uP(e))}function UP(e){return dP(e).getComputedStyle(e)}function QP(e){return pP(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function LP(e){if('html'===uP(e))return e;const t=e.assignedSlot||e.parentNode||mP(e)&&e.host||fP(e);return mP(t)?t.host:t}function OP(e){const t=LP(e);return kP(t)?e.ownerDocument?e.ownerDocument.body:e.body:gP(t)&&bP(t)?t:OP(t)}function IP(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=OP(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=dP(i);if(o){const e=NP(s);return t.concat(s,s.visualViewport||[],bP(i)?i:[],e&&n?IP(e):[])}return t.concat(i,IP(i,[],n))}function NP(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function TP(e){const t=UP(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=gP(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=MM(n)!==o||MM(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function MP(e){return pP(e)?e:e.contextElement}function PP(e){const t=MP(e);if(!gP(t))return DM(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=TP(t);let s=(o?MM(n.width):n.width)/r,a=(o?MM(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const DP=DM(0);function RP(e){const t=dP(e);return EP()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:DP}function HP(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=MP(e);let s=DM(1);t&&(r?pP(r)&&(s=PP(r)):s=PP(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==dP(e))&&t}(o,n,r)?RP(o):DM(0);let A=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,c=i.width/s.x,u=i.height/s.y;if(o){const e=dP(o),t=r&&pP(r)?dP(r):r;let n=e,i=NP(n);for(;i&&r&&t!==n;){const e=PP(i),t=i.getBoundingClientRect(),r=UP(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;A*=e.x,l*=e.y,c*=e.x,u*=e.y,A+=o,l+=s,n=dP(i),i=NP(n)}}return sP({width:c,height:u,x:A,y:l})}function zP(e,t){const n=QP(e).scrollLeft;return t?t.left+n:HP(fP(e)).left+n}function KP(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-zP(e,n),y:n.top+t.scrollTop}}const VP=new Set(['absolute','fixed']);function qP(e,t,n){let r;if('viewport'===t)r=function(e,t){const n=dP(e),r=fP(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,A=0;if(i){o=i.width,s=i.height;const e=EP();(!e||e&&'fixed'===t)&&(a=i.offsetLeft,A=i.offsetTop)}const l=zP(r);if(l<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i='CSS1Compat'===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(r.clientWidth-t.clientWidth-i);s<=25&&(o-=s)}else l<=25&&(o+=l);return{width:o,height:s,x:a,y:A}}(e,n);else if('document'===t)r=function(e){const t=fP(e),n=QP(e),r=e.ownerDocument.body,i=TM(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=TM(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+zP(e);const a=-n.scrollTop;return'rtl'===UP(r).direction&&(s+=TM(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}(fP(e));else if(pP(t))r=function(e,t){const n=HP(e,!0,'fixed'===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=gP(e)?PP(e):DM(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=RP(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return sP(r)}function GP(e,t){const n=LP(e);return!(n===t||!pP(n)||kP(n))&&('fixed'===UP(n).position||GP(n,t))}function WP(e,t,n){const r=gP(t),i=fP(t),o='fixed'===n,s=HP(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const A=DM(0);function l(){A.x=zP(i)}if(r||!r&&!o)if(('body'!==uP(t)||bP(i))&&(a=QP(t)),r){const e=HP(t,!0,o,t);A.x=e.x+t.clientLeft,A.y=e.y+t.clientTop}else i&&l();o&&!r&&i&&l();const c=!i||r||o?DM(0):KP(i,a);return{x:s.left+a.scrollLeft-A.x-c.x,y:s.top+a.scrollTop-A.y-c.y,width:s.width,height:s.height}}function YP(e){return'static'===UP(e).position}function XP(e,t){if(!gP(e)||'fixed'===UP(e).position)return null;if(t)return t(e);let n=e.offsetParent;return fP(e)===n&&(n=n.ownerDocument.body),n}function JP(e,t){const n=dP(e);if(xP(e))return n;if(!gP(e)){let t=LP(e);for(;t&&!kP(t);){if(pP(t)&&!YP(t))return t;t=LP(t)}return n}let r=XP(e,t);for(;r&&wP(r)&&YP(r);)r=XP(r,t);return r&&kP(r)&&YP(r)&&!FP(r)?n:r||function(e){let t=LP(e);for(;gP(t)&&!kP(t);){if(FP(t))return t;if(xP(t))return null;t=LP(t)}return null}(e)||n}const ZP={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o='fixed'===i,s=fP(r),a=!!t&&xP(t.floating);if(r===s||a&&o)return n;let A={scrollLeft:0,scrollTop:0},l=DM(1);const c=DM(0),u=gP(r);if((u||!u&&!o)&&(('body'!==uP(r)||bP(s))&&(A=QP(r)),gP(r))){const e=HP(r);l=PP(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}const d=!s||u||o?DM(0):KP(s,A);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-A.scrollLeft*l.x+c.x+d.x,y:n.y*l.y-A.scrollTop*l.y+c.y+d.y}},getDocumentElement:fP,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...'clippingAncestors'===n?xP(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=IP(e,[],!1).filter(e=>pP(e)&&'body'!==uP(e)),i=null;const o='fixed'===UP(e).position;let s=o?LP(e):e;for(;pP(s)&&!kP(s);){const t=UP(s),n=FP(s);n||'fixed'!==t.position||(i=null),(o?!n&&!i:!n&&'static'===t.position&&i&&VP.has(i.position)||bP(s)&&!n&&GP(e,s))?r=r.filter(e=>e!==s):i=t,s=LP(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=o[0],a=o.reduce((e,n)=>{const r=qP(t,n,i);return e.top=TM(r.top,e.top),e.right=NM(r.right,e.right),e.bottom=NM(r.bottom,e.bottom),e.left=TM(r.left,e.left),e},qP(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:JP,getElementRects:async function(e){const t=this.getOffsetParent||JP,n=this.getDimensions,r=await n(e.floating);return{reference:WP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=TP(e);return{width:t,height:n}},getScale:PP,isElement:pP,isRTL:function(e){return'rtl'===UP(e).direction}};function $P(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eD(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s='function'==typeof ResizeObserver,layoutShift:a='function'==typeof IntersectionObserver,animationFrame:A=!1}=r,l=MP(e),c=i||o?[...l?IP(l):[],...IP(t)]:[];c.forEach(e=>{i&&e.addEventListener('scroll',n,{passive:!0}),o&&e.addEventListener('resize',n)});const u=l&&a?function(e,t){let n,r=null;const i=fP(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,A){void 0===a&&(a=!1),void 0===A&&(A=1),o();const l=e.getBoundingClientRect(),{left:c,top:u,width:d,height:f}=l;if(a||t(),!d||!f)return;const h={rootMargin:-PM(u)+'px '+-PM(i.clientWidth-(c+d))+'px '+-PM(i.clientHeight-(u+f))+'px '+-PM(c)+'px',threshold:TM(0,NM(1,A))||1};let p=!0;function g(t){const r=t[0].intersectionRatio;if(r!==A){if(!p)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||$P(l,e.getBoundingClientRect())||s(),p=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(l,n):null;let d,f=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),l&&!A&&h.observe(l),h.observe(t));let p=A?HP(e):null;return A&&function t(){const r=HP(e);p&&!$P(p,r)&&n();p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{i&&e.removeEventListener('scroll',n),o&&e.removeEventListener('resize',n)}),null==u||u(),null==(e=h)||e.disconnect(),h=null,A&&cancelAnimationFrame(d)}}const tD=function(e){return void 0===e&&(e=0),{name:'offset',options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,A=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),s=VM(n),a=qM(n),A='y'===XM(n),l=lP.has(s)?-1:1,c=o&&A?-1:1,u=KM(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:h}='number'==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&'number'==typeof h&&(f='end'===a?-1*h:h),A?{x:f*c,y:d*l}:{x:d*l,y:f*c}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+A.x,y:o+A.y,data:{...A,placement:s}}}}},nD=function(e){return void 0===e&&(e={}),{name:'shift',options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:A={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=KM(e,t),c={x:n,y:r},u=await o.detectOverflow(t,l),d=XM(VM(i)),f=GM(d);let h=c[f],p=c[d];if(s){const e='y'===f?'bottom':'right';h=zM(h+u['y'===f?'top':'left'],h,h-u[e])}if(a){const e='y'===d?'bottom':'right';p=zM(p+u['y'===d?'top':'left'],p,p-u[e])}const g=A.fn({...t,[f]:h,[d]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:s,[d]:a}}}}}},rD=function(e){return void 0===e&&(e={}),{name:'flip',options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:A,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f='bestFit',fallbackAxisSideDirection:h='none',flipAlignment:p=!0,...g}=KM(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const m=VM(i),v=XM(a),b=VM(a)===a,y=await(null==A.isRTL?void 0:A.isRTL(l.floating)),w=d||(b||!p?[iP(a)]:function(e){const t=iP(e);return[ZM(e),t,ZM(t)]}(a)),B='none'!==h;!d&&B&&w.push(...rP(a,p,h,y));const x=[a,...w],C=await A.detectOverflow(t,g),_=[];let j=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&_.push(C[m]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=qM(e),i=JM(e),o=WM(i);let s='x'===i?r===(n?'end':'start')?'right':'left':'start'===r?'bottom':'top';return t.reference[o]>t.floating[o]&&(s=iP(s)),[s,iP(s)]}(i,s,y);_.push(C[e[0]],C[e[1]])}if(j=[...j,{placement:i,overflows:_}],!_.every(e=>e<=0)){var F,E;const e=((null==(F=o.flip)?void 0:F.index)||0)+1,t=x[e];if(t){if(!('alignment'===u&&v!==XM(t))||j.every(e=>XM(e.placement)!==v||e.overflows[0]>0))return{data:{index:e,overflows:j},reset:{placement:t}}}let n=null==(E=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:E.placement;if(!n)switch(f){case'bestFit':{var S;const e=null==(S=j.filter(e=>{if(B){const t=XM(e.placement);return t===v||'y'===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(n=e);break}case'initialPlacement':n=a}if(i!==n)return{reset:{placement:n}}}return{}}}},iD=e=>({name:'arrow',options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:A}=t,{element:l,padding:c=0}=KM(e,t)||{};if(null==l)return{};const u=oP(c),d={x:n,y:r},f=JM(i),h=WM(f),p=await s.getDimensions(l),g='y'===f,m=g?'top':'left',v=g?'bottom':'right',b=g?'clientHeight':'clientWidth',y=o.reference[h]+o.reference[f]-d[f]-o.floating[h],w=d[f]-o.reference[f],B=await(null==s.getOffsetParent?void 0:s.getOffsetParent(l));let x=B?B[b]:0;x&&await(null==s.isElement?void 0:s.isElement(B))||(x=a.floating[b]||o.floating[h]);const C=y/2-w/2,_=x/2-p[h]/2-1,j=NM(u[m],_),F=NM(u[v],_),E=j,S=x-p[h]-F,k=x/2-p[h]/2+C,U=zM(E,k,S),Q=!A.arrow&&null!=qM(i)&&k!==U&&o.reference[h]/2-(k<E?j:F)-p[h]/2<0,L=Q?k<E?k-E:k-S:0;return{[f]:d[f]+L,data:{[f]:U,centerOffset:k-U-L,...Q&&{alignmentOffset:L}},reset:Q}}}),oD=(e,t,n)=>{const r=new Map,i={platform:ZP,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r='bottom',strategy:i='absolute',middleware:o=[],platform:s}=n,a=o.filter(Boolean),A=await(null==s.isRTL?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=aP(l,r,A),d=r,f={},h=0;for(let n=0;n<a.length;n++){var p;const{name:o,fn:g}=a[n],{x:m,y:v,data:b,reset:y}=await g({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:f,rects:l,platform:{...s,detectOverflow:null!=(p=s.detectOverflow)?p:AP},elements:{reference:e,floating:t}});c=null!=m?m:c,u=null!=v?v:u,f={...f,[o]:{...f[o],...b}},y&&h<=50&&(h++,'object'==typeof y&&(y.placement&&(d=y.placement),y.rects&&(l=!0===y.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:c,y:u}=aP(l,d,A))),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:f}})(e,t,{...i,platform:o})};var sD,aD={exports:{}};
|
|
185
|
+
/*!
|
|
186
|
+
Copyright (c) 2018 Jed Watson.
|
|
187
|
+
Licensed under the MIT License (MIT), see
|
|
188
|
+
http://jedwatson.github.io/classnames
|
|
189
|
+
*/sD=aD,function(){var e={}.hasOwnProperty;function t(){for(var e='',t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=r(e,n(i)))}return e}function n(n){if('string'==typeof n||'number'==typeof n)return n;if('object'!=typeof n)return'';if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes('[native code]'))return n.toString();var i='';for(var o in n)e.call(n,o)&&n[o]&&(i=r(i,o));return i}function r(e,t){return t?e?e+' '+t:e+t:e}sD.exports?(t.default=t,sD.exports=t):window.classNames=t}();var AD=rr(aD.exports);
|
|
190
|
+
/*
|
|
191
|
+
* React Tooltip
|
|
192
|
+
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
193
|
+
* @copyright ReactTooltip Team
|
|
194
|
+
* @license MIT
|
|
195
|
+
*/
|
|
196
|
+
const lD={core:!1,base:!1};function cD({css:e,id:t='react-tooltip-base-styles',type:n='base',ref:r}){var i,o;if(!e||'undefined'==typeof document||lD[n])return;if('core'===n&&'undefined'!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if('base'!==n&&'undefined'!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;'core'===n&&(t='react-tooltip-core-styles'),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return;const a=document.head||document.getElementsByTagName('head')[0],A=document.createElement('style');A.id=t,A.type='text/css','top'===s&&a.firstChild?a.insertBefore(A,a.firstChild):a.appendChild(A),A.styleSheet?A.styleSheet.cssText=e:A.appendChild(document.createTextNode(e)),lD[n]=!0}const uD=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r='top',offset:i=10,strategy:o='absolute',middlewares:s=[tD(Number(i)),rD({fallbackAxisSideDirection:'start'}),nD({padding:5})],border:a,arrowSize:A=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=s;return n?(l.push(iD({element:n,padding:5})),oD(e,t,{placement:r,strategy:o,middleware:l}).then(({x:e,y:t,placement:n,middlewareData:r})=>{var i,o;const s={left:`${e}px`,top:`${t}px`,border:a},{x:l,y:c}=null!==(i=r.arrow)&&void 0!==i?i:{x:0,y:0},u=null!==(o={top:'bottom',right:'left',bottom:'top',left:'right'}[n.split('-')[0]])&&void 0!==o?o:'bottom',d=a&&{borderBottom:a,borderRight:a};let f=0;if(a){const e=`${a}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=l?`${l}px`:'',top:null!=c?`${c}px`:'',right:'',bottom:'',...d,[u]:`-${A/2+f}px`},place:n}})):oD(e,t,{placement:'bottom',strategy:o,middleware:l}).then(({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n}))},dD=(e,t)=>!('CSS'in window&&'supports'in window.CSS)||window.CSS.supports(e,t),fD=(e,t,n)=>{let r=null;const i=function(...i){const o=()=>{r=null,n||e.apply(this,i)};n&&!r&&(e.apply(this,i),r=setTimeout(o,t)),n||(r&&clearTimeout(r),r=setTimeout(o,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},hD=e=>null!==e&&!Array.isArray(e)&&'object'==typeof e,pD=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>pD(e,t[n]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!hD(e)||!hD(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>pD(e[n],t[n]))},gD=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return['overflow','overflow-x','overflow-y'].some(e=>{const n=t.getPropertyValue(e);return'auto'===n||'scroll'===n})},mD=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(gD(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},vD='undefined'!=typeof window?l:r,bD=e=>{e.current&&(clearTimeout(e.current),e.current=null)},yD={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},wD=h({getTooltipData:()=>yD});function BD(e='DEFAULT_TOOLTIP_ID'){return u(wD).getTooltipData(e)}var xD={tooltip:'core-styles-module_tooltip__3vRRp',fixed:'core-styles-module_fixed__pcSol',arrow:'core-styles-module_arrow__cvMwQ',noArrow:'core-styles-module_noArrow__xock6',clickable:'core-styles-module_clickable__ZuTTB',show:'core-styles-module_show__Nt9eE',closing:'core-styles-module_closing__sGnxF'},CD={tooltip:'styles-module_tooltip__mnnfp',arrow:'styles-module_arrow__K0L3T',dark:'styles-module_dark__xNqje',light:'styles-module_light__Z6W-X',success:'styles-module_success__A2AKt',warning:'styles-module_warning__SCK0X',error:'styles-module_error__JvumD',info:'styles-module_info__BWdHW'};const _D=({forwardRef:e,id:i,className:a,classNameArrow:A,variant:l='dark',anchorId:c,anchorSelect:u,place:d='top',offset:f=10,events:h=['hover'],openOnClick:p=!1,positionStrategy:g='absolute',middlewares:m,wrapper:b,delayShow:y=0,delayHide:w=0,float:B=!1,hidden:x=!1,noArrow:C=!1,clickable:_=!1,closeOnEsc:j=!1,closeOnScroll:F=!1,closeOnResize:E=!1,openEvents:S,closeEvents:k,globalCloseEvents:U,imperativeModeOnly:Q,style:L,position:O,afterShow:I,afterHide:N,disableTooltip:T,content:M,contentWrapperRef:P,isOpen:D,defaultIsOpen:R=!1,setIsOpen:H,previousActiveAnchor:z,activeAnchor:K,setActiveAnchor:V,border:q,opacity:G,arrowColor:W,arrowSize:Y=8,role:X='tooltip'})=>{var J;const Z=o(null),$=o(null),ee=o(null),te=o(null),ne=o(null),[re,ie]=n({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[oe,se]=n(!1),[ae,Ae]=n(!1),[le,ce]=n(null),ue=o(!1),de=o(null),{anchorRefs:fe,setActiveAnchor:he}=BD(i),pe=o(!1),[ge,me]=n([]),ve=o(!1),be=p||h.includes('click'),ye=be||(null==S?void 0:S.click)||(null==S?void 0:S.dblclick)||(null==S?void 0:S.mousedown),we=S?{...S}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!S&&be&&Object.assign(we,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Be=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&be&&Object.assign(Be,{mouseleave:!1,blur:!1,mouseout:!1});const xe=U?{...U}:{escape:j||!1,scroll:F||!1,resize:E||!1,clickOutsideAnchor:ye||!1};Q&&(Object.assign(we,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Be,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(xe,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),vD(()=>(ve.current=!0,()=>{ve.current=!1}),[]);const Ce=e=>{ve.current&&(e&&Ae(!0),setTimeout(()=>{ve.current&&(null==H||H(e),void 0===D&&se(e))},10))};r(()=>{if(i){if(oe){t(z);const n=e(K),r=[...new Set([...n,i])].filter(Boolean).join(' ');null==K||K.setAttribute('aria-describedby',r)}else t(K);return()=>{t(K),t(z)}}function e(e){var t;return(null===(t=null==e?void 0:e.getAttribute('aria-describedby'))||void 0===t?void 0:t.split(' '))||[]}function t(t){const n=e(t).filter(e=>e!==i);n.length?null==t||t.setAttribute('aria-describedby',n.join(' ')):null==t||t.removeAttribute('aria-describedby')}},[K,oe,i,z]),r(()=>{if(void 0===D)return()=>null;D&&Ae(!0);const e=setTimeout(()=>{se(D)},10);return()=>{clearTimeout(e)}},[D]),r(()=>{if(oe!==ue.current)if(bD(ne),ue.current=oe,oe)null==I||I();else{const e=(()=>{const e=getComputedStyle(document.body).getPropertyValue('--rt-transition-show-delay').match(/^([\d.]+)(ms|s)$/);if(!e)return 0;const[,t,n]=e;return Number(t)*('ms'===n?1:1e3)})();ne.current=setTimeout(()=>{Ae(!1),ce(null),null==N||N()},e+25)}},[oe]);const _e=e=>{ie(t=>pD(t,e)?t:e)},je=(e=y)=>{bD(ee),ae?Ce(!0):ee.current=setTimeout(()=>{Ce(!0)},e)},Fe=(e=w)=>{bD(te),te.current=setTimeout(()=>{pe.current||Ce(!1)},e)},Ee=e=>{var t;if(!e)return;const n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==n?void 0:n.isConnected))return V(null),void he({current:null});y?je():Ce(!0),V(n),he({current:n}),bD(te)},Se=()=>{_?Fe(w||100):w?Fe():Ce(!1),bD(ee)},ke=({x:e,y:t})=>{var n;const r={getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})};uD({place:null!==(n=null==le?void 0:le.place)&&void 0!==n?n:d,offset:f,elementReference:r,tooltipReference:Z.current,tooltipArrowReference:$.current,strategy:g,middlewares:m,border:q,arrowSize:Y}).then(e=>{_e(e)})},Ue=e=>{if(!e)return;const t=e,n={x:t.clientX,y:t.clientY};ke(n),de.current=n},Qe=e=>{var t;if(!oe)return;const n=e.target;n.isConnected&&((null===(t=Z.current)||void 0===t?void 0:t.contains(n))||[document.querySelector(`[id='${c}']`),...ge].some(e=>null==e?void 0:e.contains(n))||(Ce(!1),bD(ee)))},Le=fD(Ee,50,!0),Oe=fD(Se,50,!0),Ie=e=>{Oe.cancel(),Le(e)},Ne=()=>{Le.cancel(),Oe()},Te=s(()=>{var e,t;const n=null!==(e=null==le?void 0:le.position)&&void 0!==e?e:O;n?ke(n):B?de.current&&ke(de.current):(null==K?void 0:K.isConnected)&&uD({place:null!==(t=null==le?void 0:le.place)&&void 0!==t?t:d,offset:f,elementReference:K,tooltipReference:Z.current,tooltipArrowReference:$.current,strategy:g,middlewares:m,border:q,arrowSize:Y}).then(e=>{ve.current&&_e(e)})},[oe,K,M,L,d,null==le?void 0:le.place,f,g,O,null==le?void 0:le.position,B,Y]);r(()=>{var e,t;const n=new Set(fe);ge.forEach(e=>{(null==T?void 0:T(e))||n.add({current:e})});const r=document.querySelector(`[id='${c}']`);r&&!(null==T?void 0:T(r))&&n.add({current:r});const i=()=>{Ce(!1)},o=mD(K),s=mD(Z.current);xe.scroll&&(window.addEventListener('scroll',i),null==o||o.addEventListener('scroll',i),null==s||s.addEventListener('scroll',i));let a=null;xe.resize?window.addEventListener('resize',i):K&&Z.current&&(a=eD(K,Z.current,Te,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const A=e=>{'Escape'===e.key&&Ce(!1)};xe.escape&&window.addEventListener('keydown',A),xe.clickOutsideAnchor&&window.addEventListener('click',Qe);const l=[],u=e=>Boolean((null==e?void 0:e.target)&&(null==K?void 0:K.contains(e.target))),d=e=>{oe&&u(e)||Ee(e)},f=e=>{oe&&u(e)&&Se()},h=['mouseover','mouseout','mouseenter','mouseleave','focus','blur'],p=['click','dblclick','mousedown','mouseup'];Object.entries(we).forEach(([e,t])=>{t&&(h.includes(e)?l.push({event:e,listener:Ie}):p.includes(e)&&l.push({event:e,listener:d}))}),Object.entries(Be).forEach(([e,t])=>{t&&(h.includes(e)?l.push({event:e,listener:Ne}):p.includes(e)&&l.push({event:e,listener:f}))}),B&&l.push({event:'pointermove',listener:Ue});const g=()=>{pe.current=!0},m=()=>{pe.current=!1,Se()},v=_&&(Be.mouseout||Be.mouseleave);return v&&(null===(e=Z.current)||void 0===e||e.addEventListener('mouseover',g),null===(t=Z.current)||void 0===t||t.addEventListener('mouseout',m)),l.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(e,t)})}),()=>{var e,t;xe.scroll&&(window.removeEventListener('scroll',i),null==o||o.removeEventListener('scroll',i),null==s||s.removeEventListener('scroll',i)),xe.resize?window.removeEventListener('resize',i):null==a||a(),xe.clickOutsideAnchor&&window.removeEventListener('click',Qe),xe.escape&&window.removeEventListener('keydown',A),v&&(null===(e=Z.current)||void 0===e||e.removeEventListener('mouseover',g),null===(t=Z.current)||void 0===t||t.removeEventListener('mouseout',m)),l.forEach(({event:e,listener:t})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(e,t)})})}},[K,Te,ae,fe,ge,S,k,U,be,y,w]),r(()=>{var e,t;let n=null!==(t=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u)&&void 0!==t?t:'';!n&&i&&(n=`[data-tooltip-id='${i.replace(/'/g,'\\\'')}']`);const r=new MutationObserver(e=>{const t=[],r=[];e.forEach(e=>{if('attributes'===e.type&&'data-tooltip-id'===e.attributeName&&(e.target.getAttribute('data-tooltip-id')===i?t.push(e.target):e.oldValue===i&&r.push(e.target)),'childList'===e.type){if(K){const t=[...e.removedNodes].filter(e=>1===e.nodeType);if(n)try{r.push(...t.filter(e=>e.matches(n))),r.push(...t.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}t.some(e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,K))&&(Ae(!1),Ce(!1),V(null),bD(ee),bD(te),!0)})}if(n)try{const r=[...e.addedNodes].filter(e=>1===e.nodeType);t.push(...r.filter(e=>e.matches(n))),t.push(...r.flatMap(e=>[...e.querySelectorAll(n)]))}catch(e){}}}),(t.length||r.length)&&me(e=>[...e.filter(e=>!r.includes(e)),...t])});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:['data-tooltip-id'],attributeOldValue:!0}),()=>{r.disconnect()}},[i,u,null==le?void 0:le.anchorSelect,K]),r(()=>{Te()},[Te]),r(()=>{if(!(null==P?void 0:P.current))return()=>null;const e=new ResizeObserver(()=>{setTimeout(()=>Te())});return e.observe(P.current),()=>{e.disconnect()}},[M,null==P?void 0:P.current]),r(()=>{var e;const t=document.querySelector(`[id='${c}']`),n=[...ge,t];K&&n.includes(K)||V(null!==(e=ge[0])&&void 0!==e?e:t)},[c,ge,K]),r(()=>(R&&Ce(!0),()=>{bD(ee),bD(te)}),[]),r(()=>{var e;let t=null!==(e=null==le?void 0:le.anchorSelect)&&void 0!==e?e:u;if(!t&&i&&(t=`[data-tooltip-id='${i.replace(/'/g,'\\\'')}']`),t)try{const e=Array.from(document.querySelectorAll(t));me(e)}catch(e){me([])}},[i,u,null==le?void 0:le.anchorSelect]),r(()=>{ee.current&&(bD(ee),je(y))},[y]);const Me=null!==(J=null==le?void 0:le.content)&&void 0!==J?J:M,Pe=oe&&Object.keys(re.tooltipStyles).length>0;return v(e,()=>({open:e=>{if(null==e?void 0:e.anchorSelect)try{document.querySelector(e.anchorSelect)}catch(e){return}ce(null!=e?e:null),(null==e?void 0:e.delay)?je(e.delay):Ce(!0)},close:e=>{(null==e?void 0:e.delay)?Fe(e.delay):Ce(!1)},activeAnchor:K,place:re.place,isOpen:Boolean(ae&&!x&&Me&&Pe)})),ae&&!x&&Me?t.createElement(b,{id:i,role:X,className:AD('react-tooltip',xD.tooltip,CD.tooltip,CD[l],a,`react-tooltip__place-${re.place}`,xD[Pe?'show':'closing'],Pe?'react-tooltip__show':'react-tooltip__closing','fixed'===g&&xD.fixed,_&&xD.clickable),onTransitionEnd:e=>{bD(ne),oe||'opacity'!==e.propertyName||(Ae(!1),ce(null),null==N||N())},style:{...L,...re.tooltipStyles,opacity:void 0!==G&&Pe?G:void 0},ref:Z},Me,t.createElement(b,{className:AD('react-tooltip-arrow',xD.arrow,CD.arrow,A,C&&xD.noArrow),style:{...re.tooltipArrowStyles,background:W?`linear-gradient(to right bottom, transparent 50%, ${W} 50%)`:void 0,'--rt-arrow-size':`${Y}px`},ref:$})):null},jD=({content:e})=>t.createElement('span',{dangerouslySetInnerHTML:{__html:e}}),FD=t.forwardRef(({id:e,anchorId:i,anchorSelect:s,content:a,html:A,render:l,className:c,classNameArrow:u,variant:d='dark',place:f='top',offset:h=10,wrapper:p='div',children:g=null,events:m=['hover'],openOnClick:v=!1,positionStrategy:b='absolute',middlewares:y,delayShow:w=0,delayHide:B=0,float:x=!1,hidden:C=!1,noArrow:_=!1,clickable:j=!1,closeOnEsc:F=!1,closeOnScroll:E=!1,closeOnResize:S=!1,openEvents:k,closeEvents:U,globalCloseEvents:Q,imperativeModeOnly:L=!1,style:O,position:I,isOpen:N,defaultIsOpen:T=!1,disableStyleInjection:M=!1,border:P,opacity:D,arrowColor:R,arrowSize:H,setIsOpen:z,afterShow:K,afterHide:V,disableTooltip:q,role:G='tooltip'},W)=>{const[Y,X]=n(a),[J,Z]=n(A),[$,ee]=n(f),[te,ne]=n(d),[re,ie]=n(h),[oe,se]=n(w),[ae,Ae]=n(B),[le,ce]=n(x),[ue,de]=n(C),[fe,he]=n(p),[pe,ge]=n(m),[me,ve]=n(b),[be,ye]=n(null),[we,Be]=n(null),xe=o(null),Ce=o(M),{anchorRefs:_e,activeAnchor:je}=BD(e),Fe=e=>null==e?void 0:e.getAttributeNames().reduce((t,n)=>{var r;return n.startsWith('data-tooltip-')&&(t[n.replace(/^data-tooltip-/,'')]=null!==(r=null==e?void 0:e.getAttribute(n))&&void 0!==r?r:null),t},{}),Ee=e=>{const t={place:e=>{var t;ee(null!==(t=e)&&void 0!==t?t:f)},content:e=>{X(null!=e?e:a)},html:e=>{Z(null!=e?e:A)},variant:e=>{var t;ne(null!==(t=e)&&void 0!==t?t:d)},offset:e=>{ie(null===e?h:Number(e))},wrapper:e=>{var t;he(null!==(t=e)&&void 0!==t?t:p)},events:e=>{const t=null==e?void 0:e.split(' ');ge(null!=t?t:m)},'position-strategy':e=>{var t;ve(null!==(t=e)&&void 0!==t?t:b)},'delay-show':e=>{se(null===e?w:Number(e))},'delay-hide':e=>{Ae(null===e?B:Number(e))},float:e=>{ce(null===e?x:'true'===e)},hidden:e=>{de(null===e?C:'true'===e)},'class-name':e=>{ye(e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,n])=>{var r;null===(r=t[e])||void 0===r||r.call(t,n)})};r(()=>{X(a)},[a]),r(()=>{Z(A)},[A]),r(()=>{ee(f)},[f]),r(()=>{ne(d)},[d]),r(()=>{ie(h)},[h]),r(()=>{se(w)},[w]),r(()=>{Ae(B)},[B]),r(()=>{ce(x)},[x]),r(()=>{de(C)},[C]),r(()=>{ve(b)},[b]),r(()=>{Ce.current},[M]),r(()=>{'undefined'!=typeof window&&window.dispatchEvent(new CustomEvent('react-tooltip-inject-styles',{detail:{disableCore:'core'===M,disableBase:M}}))},[]),r(()=>{var t;const n=new Set(_e);let r=s;if(!r&&e&&(r=`[data-tooltip-id='${e.replace(/'/g,'\\\'')}']`),r)try{document.querySelectorAll(r).forEach(e=>{n.add({current:e})})}catch(t){}const o=document.querySelector(`[id='${i}']`);if(o&&n.add({current:o}),!n.size)return()=>null;const a=null!==(t=null!=we?we:o)&&void 0!==t?t:je.current,A=new MutationObserver(e=>{e.forEach(e=>{var t;if(!a||'attributes'!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith('data-tooltip-')))return;const n=Fe(a);Ee(n)})}),l={attributes:!0,childList:!1,subtree:!1};if(a){const e=Fe(a);Ee(e),A.observe(a,l)}return()=>{A.disconnect()}},[_e,je,we,i,s]),r(()=>{null==O||O.border,P&&dD('border',`${P}`),null==O||O.opacity,D&&dD('opacity',`${D}`)},[]);let Se=g;const ke=o(null);if(l){const e=l({content:(null==we?void 0:we.getAttribute('data-tooltip-content'))||Y||null,activeAnchor:we});Se=e?t.createElement('div',{ref:ke,className:'react-tooltip-content-wrapper'},e):null}else Y&&(Se=Y);J&&(Se=t.createElement(jD,{content:J}));const Ue={forwardRef:W,id:e,anchorId:i,anchorSelect:s,className:AD(c,be),classNameArrow:u,content:Se,contentWrapperRef:ke,place:$,variant:te,offset:re,wrapper:fe,events:pe,openOnClick:v,positionStrategy:me,middlewares:y,delayShow:oe,delayHide:ae,float:le,hidden:ue,noArrow:_,clickable:j,closeOnEsc:F,closeOnScroll:E,closeOnResize:S,openEvents:k,closeEvents:U,globalCloseEvents:Q,imperativeModeOnly:L,style:O,position:I,isOpen:N,defaultIsOpen:T,border:P,opacity:D,arrowColor:R,arrowSize:H,setIsOpen:z,afterShow:K,afterHide:V,disableTooltip:q,activeAnchor:we,previousActiveAnchor:xe.current,setActiveAnchor:e=>{Be(t=>((null==e?void 0:e.isSameNode(t))||(xe.current=t),e))},role:G};return t.createElement(_D,{...Ue})});'undefined'!=typeof window&&window.addEventListener('react-tooltip-inject-styles',e=>{e.detail.disableCore||cD({css:':root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}',type:'core'}),e.detail.disableBase||cD({css:'\n.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*=\'react-tooltip__place-top\']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*=\'react-tooltip__place-right\']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*=\'react-tooltip__place-bottom\']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*=\'react-tooltip__place-left\']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}',type:'base'})});var ED={exports:{}},SD={},kD={exports:{}},UD={},QD={exports:{}};!function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll('*'),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(a)};
|
|
197
|
+
/*!
|
|
198
|
+
* Adapted from jQuery UI core
|
|
199
|
+
*
|
|
200
|
+
* http://jqueryui.com
|
|
201
|
+
*
|
|
202
|
+
* Copyright 2014 jQuery Foundation and other contributors
|
|
203
|
+
* Released under the MIT license.
|
|
204
|
+
* http://jquery.org/license
|
|
205
|
+
*
|
|
206
|
+
* http://api.jqueryui.com/category/ui-core/
|
|
207
|
+
*/
|
|
208
|
+
var n='none',r='contents',i=/^(input|select|textarea|button|object|iframe)$/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var i=window.getComputedStyle(e),o=i.getPropertyValue('display');return t?o!==r&&function(e,t){return'visible'!==t.getPropertyValue('overflow')||e.scrollWidth<=0&&e.scrollHeight<=0}(e,i):o===n}catch(e){return!1}}function s(e,t){var n=e.nodeName.toLowerCase();return(i.test(n)&&!e.disabled||'a'===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute('tabindex');null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&s(e,!n)}e.exports=t.default}(QD,QD.exports);var LD=QD.exports;Object.defineProperty(UD,'__esModule',{value:!0}),UD.resetState=function(){ND=[]},UD.log=function(){'production'!==process.env.NODE_ENV&&ND.forEach(function(e){})},UD.handleBlur=PD,UD.handleFocus=DD,UD.markForFocusLater=function(){ND.push(document.activeElement)},UD.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{return void(0!==ND.length&&ND.pop().focus({preventScroll:e}))}catch(e){}},UD.popWithoutFocus=function(){ND.length>0&&ND.pop()},UD.setupScopedFocus=function(e){TD=e,window.addEventListener?(window.addEventListener('blur',PD,!1),document.addEventListener('focus',DD,!0)):(window.attachEvent('onBlur',PD),document.attachEvent('onFocus',DD))},UD.teardownScopedFocus=function(){TD=null,window.addEventListener?(window.removeEventListener('blur',PD),document.removeEventListener('focus',DD)):(window.detachEvent('onBlur',PD),document.detachEvent('onFocus',DD))};var OD,ID=(OD=LD)&&OD.__esModule?OD:{default:OD};var ND=[],TD=null,MD=!1;function PD(){MD=!0}function DD(){if(MD){if(MD=!1,!TD)return;setTimeout(function(){TD.contains(document.activeElement)||((0,ID.default)(TD)[0]||TD).focus()},0)}}var RD={exports:{}};!function(e,t){Object.defineProperty(t,'__esModule',{value:!0}),t.default=function(e,t){var i=(0,n.default)(e);if(!i.length)return void t.preventDefault();var o=void 0,s=t.shiftKey,a=i[0],A=i[i.length-1],l=r();if(e===l){if(!s)return;o=A}A!==l||s||(o=a);a===l&&s&&(o=A);if(o)return t.preventDefault(),void o.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||'Chrome'==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var u=i.indexOf(l);u>-1&&(u+=s?-1:1);if(o=i[u],void 0===o)return t.preventDefault(),void(o=s?A:a).focus();t.preventDefault(),o.focus()};var n=function(e){return e&&e.__esModule?e:{default:e}}(LD);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?r(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default}(RD,RD.exports);var HD=RD.exports,zD={},KD=function(){};if('production'!==process.env.NODE_ENV){var VD=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var i=0,o='Warning: '+e.replace(/%s/g,function(){return t[i++]});try{throw new Error(o)}catch(e){}};KD=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(void 0===t)throw new Error('`warning(condition, format, ...args)` requires a warning message argument');e||VD.apply(null,[t].concat(n))}}var qD=KD,GD={},WD={exports:{}};
|
|
209
|
+
/*!
|
|
210
|
+
Copyright (c) 2015 Jed Watson.
|
|
211
|
+
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
212
|
+
All rights reserved.
|
|
213
|
+
*/
|
|
214
|
+
!function(e){!function(){var t=!('undefined'==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:'undefined'!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n}()}(WD);var YD=WD.exports;Object.defineProperty(GD,'__esModule',{value:!0}),GD.canUseDOM=GD.SafeNodeList=GD.SafeHTMLCollection=void 0;var XD=function(e){return e&&e.__esModule?e:{default:e}}(YD);var JD=XD.default,ZD=JD.canUseDOM?window.HTMLElement:{};GD.SafeHTMLCollection=JD.canUseDOM?window.HTMLCollection:{},GD.SafeNodeList=JD.canUseDOM?window.NodeList:{},GD.canUseDOM=JD.canUseDOM,GD.default=ZD,Object.defineProperty(zD,'__esModule',{value:!0}),zD.resetState=function(){tR&&(tR.removeAttribute?tR.removeAttribute('aria-hidden'):null!=tR.length?tR.forEach(function(e){return e.removeAttribute('aria-hidden')}):document.querySelectorAll(tR).forEach(function(e){return e.removeAttribute('aria-hidden')}));tR=null},zD.log=function(){if('production'!==process.env.NODE_ENV);},zD.assertNodeList=nR,zD.setElement=function(e){var t=e;if('string'==typeof t&&eR.canUseDOM){var n=document.querySelectorAll(t);nR(n,t),t=n}return tR=t||tR},zD.validateElement=rR,zD.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=rR(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.setAttribute('aria-hidden','true')}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},zD.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=rR(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0){i.value.removeAttribute('aria-hidden')}}catch(e){n=!0,r=e}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},zD.documentNotReadyOrSSRTesting=function(){tR=null};var $D=function(e){return e&&e.__esModule?e:{default:e}}(qD),eR=GD;var tR=null;function nR(e,t){if(!e||!e.length)throw new Error('react-modal: No elements were found for selector '+t+'.')}function rR(e){var t=e||tR;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,$D.default)(!1,['react-modal: App element is not defined.','Please use `Modal.setAppElement(el)` or set `appElement={el}`.','This is needed so screen readers don\'t see main content','when modal is opened. It is not recommended, but you can opt-out','by setting `ariaHideApp={false}`.'].join(' ')),[])}var iR={};Object.defineProperty(iR,'__esModule',{value:!0}),iR.resetState=function(){var e=document.getElementsByTagName('html')[0];for(var t in oR)aR(e,oR[t]);var n=document.body;for(var r in sR)aR(n,sR[r]);oR={},sR={}},iR.log=function(){if('production'!==process.env.NODE_ENV){var e=document.getElementsByTagName('html')[0].className;for(var t in oR)' '+t+' '+oR[t]+'\n ';for(var n in'\n\ndoc.body ('+(e=document.body.className)+'):\n ',sR)' '+n+' '+sR[n]+'\n ';0}};var oR={},sR={};function aR(e,t){e.classList.remove(t)}iR.add=function(e,t){return n=e.classList,r='html'==e.nodeName.toLowerCase()?oR:sR,void t.split(' ').forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(r,e),n.add(e)});var n,r},iR.remove=function(e,t){return n=e.classList,r='html'==e.nodeName.toLowerCase()?oR:sR,void t.split(' ').forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(r,e),0===r[e]&&n.remove(e)});var n,r};var AR={};Object.defineProperty(AR,'__esModule',{value:!0}),AR.log=function(){cR.openInstances.forEach(function(e){})},AR.resetState=function(){cR=new lR};var lR=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)?(t.openInstances.push(e),t.emit('register')):process.env.NODE_ENV},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n?(t.openInstances.splice(n,1),t.emit('deregister')):process.env.NODE_ENV},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},cR=new lR;AR.default=cR;var uR={};Object.defineProperty(uR,'__esModule',{value:!0}),uR.resetState=function(){for(var e=[fR,hR],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}fR=hR=null,pR=[]},uR.log=function(){for(var e=[fR,hR],t=0;t<e.length;t++);};var dR=function(e){return e&&e.__esModule?e:{default:e}}(AR);var fR=void 0,hR=void 0,pR=[];function gR(){0!==pR.length?pR[pR.length-1].focusContent():process.env.NODE_ENV}dR.default.subscribe(function(e,t){fR||hR||((fR=document.createElement('div')).setAttribute('data-react-modal-body-trap',''),fR.style.position='absolute',fR.style.opacity='0',fR.setAttribute('tabindex','0'),fR.addEventListener('focus',gR),(hR=fR.cloneNode()).addEventListener('focus',gR)),(pR=t).length>0?(document.body.firstChild!==fR&&document.body.insertBefore(fR,document.body.firstChild),document.body.lastChild!==hR&&document.body.appendChild(hR)):(fR.parentElement&&fR.parentElement.removeChild(fR),hR.parentElement&&hR.parentElement.removeChild(hR))}),function(e,n){Object.defineProperty(n,'__esModule',{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i='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},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=t,a=g(Sr),A=p(UD),l=g(HD),c=p(zD),u=p(iR),d=GD,f=g(d),h=g(AR);function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}var m={overlay:'ReactModal__Overlay',content:'ReactModal__Content'},v=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,t);var n=function(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return!t||'object'!=typeof t&&'function'!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName,s=e.parentSelector,a=s&&s().ownerDocument||document;o&&u.remove(a.body,o),i&&u.remove(a.getElementsByTagName('html')[0],i),r&&v>0&&0===(v-=1)&&c.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(A.returnFocus(n.props.preventScroll),A.teardownScopedFocus()):A.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(A.setupScopedFocus(n.node),A.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return'Tab'===e.code||9===e.keyCode})(e)&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return'Escape'===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r='object'===(void 0===t?'undefined':i(t))?t:{base:m[e],afterOpen:m[e]+'--after-open',beforeClose:m[e]+'--before-close'},o=r.base;return n.state.afterOpen&&(o=o+' '+r.afterOpen),n.state.beforeClose&&(o=o+' '+r.beforeClose),'string'==typeof t&&t?o+' '+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+'-'+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:'componentDidMount',value:function(){this.props.isOpen&&this.open()}},{key:'componentDidUpdate',value:function(e,t){'production'!==process.env.NODE_ENV&&(e.bodyOpenClassName,this.props.bodyOpenClassName,e.htmlOpenClassName,this.props.htmlOpenClassName),this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:'componentWillUnmount',value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:'beforeOpen',value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName,o=e.parentSelector,s=o&&o().ownerDocument||document;i&&u.add(s.body,i),r&&u.add(s.getElementsByTagName('html')[0],r),n&&(v+=1,c.hide(t)),h.default.register(this)}},{key:'render',value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,o=e.defaultStyles,s=e.children,a=n?{}:o.content,A=i?{}:o.overlay;if(this.shouldBeClosed())return null;var l={ref:this.setOverlayRef,className:this.buildClassName('overlay',i),style:r({},A,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=r({id:t,ref:this.setContentRef,style:r({},a,this.props.style.content),className:this.buildClassName('content',n),tabIndex:'-1',onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,'aria-label':this.props.contentLabel},this.attributesFromObject('aria',r({modal:!0},this.props.aria)),this.attributesFromObject('data',this.props.data||{}),{'data-testid':this.props.testId}),u=this.props.contentElement(c,s);return this.props.overlayElement(l,u)}}]),t}(s.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(f.default),a.default.instanceOf(d.SafeHTMLCollection),a.default.instanceOf(d.SafeNodeList),a.default.arrayOf(a.default.instanceOf(f.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},n.default=b,e.exports=n.default}(kD,kD.exports);var mR=kD.exports;function vR(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function bR(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function yR(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}vR.__suppressDeprecationWarning=!0,bR.__suppressDeprecationWarning=!0,yR.__suppressDeprecationWarning=!0;var wR=Object.freeze({__proto__:null,polyfill:function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error('Can only polyfill class components');if('function'!=typeof e.getDerivedStateFromProps&&'function'!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,r=null,i=null;if('function'==typeof t.componentWillMount?n='componentWillMount':'function'==typeof t.UNSAFE_componentWillMount&&(n='UNSAFE_componentWillMount'),'function'==typeof t.componentWillReceiveProps?r='componentWillReceiveProps':'function'==typeof t.UNSAFE_componentWillReceiveProps&&(r='UNSAFE_componentWillReceiveProps'),'function'==typeof t.componentWillUpdate?i='componentWillUpdate':'function'==typeof t.UNSAFE_componentWillUpdate&&(i='UNSAFE_componentWillUpdate'),null!==n||null!==r||null!==i){var o=e.displayName||e.name,s='function'==typeof e.getDerivedStateFromProps?'getDerivedStateFromProps()':'getSnapshotBeforeUpdate()';throw Error('Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n'+o+' uses '+s+' but also contains the following legacy lifecycles:'+(null!==n?'\n '+n:'')+(null!==r?'\n '+r:'')+(null!==i?'\n '+i:'')+'\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks')}if('function'==typeof e.getDerivedStateFromProps&&(t.componentWillMount=vR,t.componentWillReceiveProps=bR),'function'==typeof t.getSnapshotBeforeUpdate){if('function'!=typeof t.componentDidUpdate)throw new Error('Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype');t.componentWillUpdate=yR;var a=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,e,t,r)}}return e}}),BR=ir(wR);Object.defineProperty(SD,'__esModule',{value:!0}),SD.bodyOpenClassName=SD.portalClassName=void 0;var xR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CR=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_R=t,jR=OR(_R),FR=OR(b),ER=OR(Sr),SR=OR(mR),kR=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(zD),UR=GD,QR=OR(UR),LR=BR;function OR(e){return e&&e.__esModule?e:{default:e}}function IR(e,t){if(!e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return!t||'object'!=typeof t&&'function'!=typeof t?e:t}var NR=SD.portalClassName='ReactModalPortal',TR=SD.bodyOpenClassName='ReactModal__Body--open',MR=UR.canUseDOM&&void 0!==FR.default.createPortal,PR=function(e){return document.createElement(e)},DR=function(){return MR?FR.default.createPortal:FR.default.unstable_renderSubtreeIntoContainer};function RR(e){return e()}var HR=function(){function e(){var t,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}(this,e);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=IR(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.removePortal=function(){!MR&&FR.default.unmountComponentAtNode(r.node);var e=RR(r.props.parentSelector);e&&e.contains(r.node)&&e.removeChild(r.node)},r.portalRef=function(e){r.portal=e},r.renderPortal=function(t){var n=DR()(r,jR.default.createElement(SR.default,xR({defaultStyles:e.defaultStyles},t)),r.node);r.portalRef(n)},IR(r,n)}return function(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function, not '+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(e,_R.Component),CR(e,[{key:'componentDidMount',value:function(){UR.canUseDOM&&(MR||(this.node=PR('div')),this.node.className=this.props.portalClassName,RR(this.props.parentSelector).appendChild(this.node),!MR&&this.renderPortal(this.props))}},{key:'getSnapshotBeforeUpdate',value:function(e){return{prevParent:RR(e.parentSelector),nextParent:RR(this.props.parentSelector)}}},{key:'componentDidUpdate',value:function(e,t,n){if(UR.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var s=n.prevParent,a=n.nextParent;a!==s&&(s.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||i)&&!MR&&this.renderPortal(this.props)}}},{key:'componentWillUnmount',value:function(){if(UR.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:'render',value:function(){return UR.canUseDOM&&MR?(!this.node&&MR&&(this.node=PR('div')),DR()(jR.default.createElement(SR.default,xR({ref:this.portalRef,defaultStyles:e.defaultStyles},this.props)),this.node)):null}}],[{key:'setAppElement',value:function(e){kR.setElement(e)}}]),e}();HR.propTypes={isOpen:ER.default.bool.isRequired,style:ER.default.shape({content:ER.default.object,overlay:ER.default.object}),portalClassName:ER.default.string,bodyOpenClassName:ER.default.string,htmlOpenClassName:ER.default.string,className:ER.default.oneOfType([ER.default.string,ER.default.shape({base:ER.default.string.isRequired,afterOpen:ER.default.string.isRequired,beforeClose:ER.default.string.isRequired})]),overlayClassName:ER.default.oneOfType([ER.default.string,ER.default.shape({base:ER.default.string.isRequired,afterOpen:ER.default.string.isRequired,beforeClose:ER.default.string.isRequired})]),appElement:ER.default.oneOfType([ER.default.instanceOf(QR.default),ER.default.instanceOf(UR.SafeHTMLCollection),ER.default.instanceOf(UR.SafeNodeList),ER.default.arrayOf(ER.default.instanceOf(QR.default))]),onAfterOpen:ER.default.func,onRequestClose:ER.default.func,closeTimeoutMS:ER.default.number,ariaHideApp:ER.default.bool,shouldFocusAfterRender:ER.default.bool,shouldCloseOnOverlayClick:ER.default.bool,shouldReturnFocusAfterClose:ER.default.bool,preventScroll:ER.default.bool,parentSelector:ER.default.func,aria:ER.default.object,data:ER.default.object,role:ER.default.string,contentLabel:ER.default.string,shouldCloseOnEsc:ER.default.bool,overlayRef:ER.default.func,contentRef:ER.default.func,id:ER.default.string,overlayElement:ER.default.func,contentElement:ER.default.func},HR.defaultProps={isOpen:!1,portalClassName:NR,bodyOpenClassName:TR,role:'dialog',ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return jR.default.createElement('div',e,t)},contentElement:function(e,t){return jR.default.createElement('div',e,t)}},HR.defaultStyles={overlay:{position:'fixed',top:0,left:0,right:0,bottom:0,backgroundColor:'rgba(255, 255, 255, 0.75)'},content:{position:'absolute',top:'40px',left:'40px',right:'40px',bottom:'40px',border:'1px solid #ccc',background:'#fff',overflow:'auto',WebkitOverflowScrolling:'touch',borderRadius:'4px',outline:'none',padding:'20px'}},(0,LR.polyfill)(HR),'production'!==process.env.NODE_ENV&&(HR.setCreateHTMLElement=function(e){return PR=e}),SD.default=HR,function(e,t){Object.defineProperty(t,'__esModule',{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(SD);t.default=n.default,e.exports=t.default}(ED,ED.exports);var zR,KR,VR,qR,GR,WR,YR,XR,JR=rr(ED.exports),ZR=function(e){var n=e.label,r=e.isOpen,i=e.onToggle,o=e.children,s=e.className;return t.createElement('div',{className:'vu-w-full '.concat(null!=s?s:'')},t.createElement('button',{type:'button',onClick:i,className:'vu-w-full vu-flex vu-items-center vu-gap-2 vu-py-2','aria-expanded':r},t.createElement(Fn,{size:16,svg:r?'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.31%2C8.48c-.39-.39-1.02-.39-1.41%2C0l-4.93%2C4.93-4.86-4.86c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l5.57%2C5.57c.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29c.01-.01%2C.01-.03%2C.03-.04%2C.01-.01%2C.03-.01%2C.04-.03l5.57-5.57c.39-.39%2C.39-1.02%2C0-1.41Z%22%2F%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.52%2C11.33s-.03-.01-.04-.03c-.01-.01-.01-.03-.03-.04l-5.57-5.57c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l4.93%2C4.93-4.86%2C4.86c-.39%2C.39-.39%2C1.02%2C0%2C1.41%2C.2%2C.2%2C.45%2C.29%2C.71%2C.29s.51-.1%2C.71-.29l5.57-5.57c.39-.39%2C.39-1.02%2C0-1.41Z%22%2F%3E%3C%2Fsvg%3E'}),t.createElement('span',{className:'vu-text-xs vu-font-normal'},n)),t.createElement('div',{className:'vu-transition-[max-height,opacity] vu-duration-300 vu-ease-in-out '.concat(r?'vu-max-h-52 vu-opacity-100':'vu-max-h-0 vu-opacity-0',' vu-overflow-hidden vu-border-l vu-mx-3.5')},t.createElement('div',{className:'vu-max-h-52 '.concat(r?'vu-overflow-y-auto':'vu-overflow-hidden')},t.createElement('div',{className:'vu-px-4 vu-py-2 vu-text-xs'},o))))},$R=Nt.div(zR||(zR=Pe(['\n vu-flex\n vu-justify-between\n vu-mx-4\n vu-mt-3\n'],['\n vu-flex\n vu-justify-between\n vu-mx-4\n vu-mt-3\n']))),eH=Nt.h4(KR||(KR=Pe(['\n vu-m-0\n vu-font-normal\n vu-text-lg\n'],['\n vu-m-0\n vu-font-normal\n vu-text-lg\n']))),tH=Nt.div(VR||(VR=Pe(['\n vu-flex\n vu-flex-col\n vu-gap-2\n'],['\n vu-flex\n vu-flex-col\n vu-gap-2\n']))),nH=Nt.label(qR||(qR=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n']))),rH=Nt.hr(GR||(GR=Pe(['\n vu-my-4\n vu-border\n vu-opacity-20\n'],['\n vu-my-4\n vu-border\n vu-opacity-20\n']))),iH=Nt.textarea(WR||(WR=Pe(['\n vu-w-[440px]\n vu-border\n vu-border-solid\n vu-border-black/20\n vu-resize-y\n'],['\n vu-w-[440px]\n vu-border\n vu-border-solid\n vu-border-black/20\n vu-resize-y\n']))),oH=Nt.div(YR||(YR=Pe(['\n vu-flex\n vu-justify-end\n vu-gap-4\n vu-mt-6\n'],['\n vu-flex\n vu-justify-end\n vu-gap-4\n vu-mt-6\n']))),sH=Nt.div(XR||(XR=Pe(['\n vu-m-6\n'],['\n vu-m-6\n']))),aH=['Misunderstood query','Out of context','Incomplete response','Incorrect data','Unclear response','Slow response','Inappropriate response','Other'],AH=function(e){var n=e.closeModal,r=e.handleFeedback,i=function(e){var t=new FormData(e.currentTarget),i=t.getAll('feedback'),o=t.get('details');r({isLiked:!1,comments:o,reason:i}),n()};return t.createElement('form',{onSubmit:function(e){e.preventDefault(),i(e)},onKeyDown:function(e){'TEXTAREA'!==e.target.tagName||'Enter'!==e.key||e.shiftKey||(e.preventDefault(),i(e))}},t.createElement($R,null,t.createElement(eH,null,'Share additional feedback'),t.createElement(Sn,{name:'back',icon:Gn,onClick:n})),t.createElement(sH,null,t.createElement(tH,null,aH.map(function(e){return t.createElement(nH,{key:e},t.createElement('input',{type:'checkbox',className:'vu-mr-2',name:'feedback',value:e}),t.createElement('span',null,e))})),t.createElement(rH,null),t.createElement(iH,{placeholder:'Share more details (optional)',name:'details',rows:6}),t.createElement(oH,null,t.createElement(En,{$fill:'outline',onClick:n},'Cancel'),t.createElement(En,null,'Submit'))))};
|
|
215
215
|
/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
|
|
216
|
-
const{entries:yD,setPrototypeOf:wD,isFrozen:BD,getPrototypeOf:xD,getOwnPropertyDescriptor:CD}=Object;let{freeze:_D,seal:jD,create:FD}=Object,{apply:ED,construct:SD}='undefined'!=typeof Reflect&&Reflect;_D||(_D=function(e){return e}),jD||(jD=function(e){return e}),ED||(ED=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),SD||(SD=function(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 new e(...n)});const kD=VD(Array.prototype.forEach),UD=VD(Array.prototype.lastIndexOf),QD=VD(Array.prototype.pop),LD=VD(Array.prototype.push),OD=VD(Array.prototype.splice),ID=VD(String.prototype.toLowerCase),ND=VD(String.prototype.toString),TD=VD(String.prototype.match),MD=VD(String.prototype.replace),PD=VD(String.prototype.indexOf),DD=VD(String.prototype.trim),RD=VD(Object.prototype.hasOwnProperty),HD=VD(RegExp.prototype.test),zD=(KD=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return SD(KD,t)});var KD;function VD(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return ED(e,t,r)}}function qD(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ID;wD&&wD(e,null);let r=t.length;for(;r--;){let i=t[r];if('string'==typeof i){const e=n(i);e!==i&&(BD(t)||(t[r]=e),i=e)}e[i]=!0}return e}function GD(e){for(let t=0;t<e.length;t++){RD(e,t)||(e[t]=null)}return e}function WD(e){const t=FD(null);for(const[n,r]of yD(e)){RD(e,n)&&(Array.isArray(r)?t[n]=GD(r):r&&'object'==typeof r&&r.constructor===Object?t[n]=WD(r):t[n]=r)}return t}function YD(e,t){for(;null!==e;){const n=CD(e,t);if(n){if(n.get)return VD(n.get);if('function'==typeof n.value)return VD(n.value)}e=xD(e)}return function(){return null}}const XD=_D(['a','abbr','acronym','address','area','article','aside','audio','b','bdi','bdo','big','blink','blockquote','body','br','button','canvas','caption','center','cite','code','col','colgroup','content','data','datalist','dd','decorator','del','details','dfn','dialog','dir','div','dl','dt','element','em','fieldset','figcaption','figure','font','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','img','input','ins','kbd','label','legend','li','main','map','mark','marquee','menu','menuitem','meter','nav','nobr','ol','optgroup','option','output','p','picture','pre','progress','q','rp','rt','ruby','s','samp','search','section','select','shadow','slot','small','source','spacer','span','strike','strong','style','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','time','tr','track','tt','u','ul','var','video','wbr']),JD=_D(['svg','a','altglyph','altglyphdef','altglyphitem','animatecolor','animatemotion','animatetransform','circle','clippath','defs','desc','ellipse','enterkeyhint','exportparts','filter','font','g','glyph','glyphref','hkern','image','inputmode','line','lineargradient','marker','mask','metadata','mpath','part','path','pattern','polygon','polyline','radialgradient','rect','stop','style','switch','symbol','text','textpath','title','tref','tspan','view','vkern']),ZD=_D(['feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence']),$D=_D(['animate','color-profile','cursor','discard','font-face','font-face-format','font-face-name','font-face-src','font-face-uri','foreignobject','hatch','hatchpath','mesh','meshgradient','meshpatch','meshrow','missing-glyph','script','set','solidcolor','unknown','use']),eR=_D(['math','menclose','merror','mfenced','mfrac','mglyph','mi','mlabeledtr','mmultiscripts','mn','mo','mover','mpadded','mphantom','mroot','mrow','ms','mspace','msqrt','mstyle','msub','msup','msubsup','mtable','mtd','mtext','mtr','munder','munderover','mprescripts']),tR=_D(['maction','maligngroup','malignmark','mlongdiv','mscarries','mscarry','msgroup','mstack','msline','msrow','semantics','annotation','annotation-xml','mprescripts','none']),nR=_D(['#text']),rR=_D(['accept','action','align','alt','autocapitalize','autocomplete','autopictureinpicture','autoplay','background','bgcolor','border','capture','cellpadding','cellspacing','checked','cite','class','clear','color','cols','colspan','controls','controlslist','coords','crossorigin','datetime','decoding','default','dir','disabled','disablepictureinpicture','disableremoteplayback','download','draggable','enctype','enterkeyhint','exportparts','face','for','headers','height','hidden','high','href','hreflang','id','inert','inputmode','integrity','ismap','kind','label','lang','list','loading','loop','low','max','maxlength','media','method','min','minlength','multiple','muted','name','nonce','noshade','novalidate','nowrap','open','optimum','part','pattern','placeholder','playsinline','popover','popovertarget','popovertargetaction','poster','preload','pubdate','radiogroup','readonly','rel','required','rev','reversed','role','rows','rowspan','spellcheck','scope','selected','shape','size','sizes','slot','span','srclang','start','src','srcset','step','style','summary','tabindex','title','translate','type','usemap','valign','value','width','wrap','xmlns','slot']),iR=_D(['accent-height','accumulate','additive','alignment-baseline','amplitude','ascent','attributename','attributetype','azimuth','basefrequency','baseline-shift','begin','bias','by','class','clip','clippathunits','clip-path','clip-rule','color','color-interpolation','color-interpolation-filters','color-profile','color-rendering','cx','cy','d','dx','dy','diffuseconstant','direction','display','divisor','dur','edgemode','elevation','end','exponent','fill','fill-opacity','fill-rule','filter','filterunits','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','fx','fy','g1','g2','glyph-name','glyphref','gradientunits','gradienttransform','height','href','id','image-rendering','in','in2','intercept','k','k1','k2','k3','k4','kerning','keypoints','keysplines','keytimes','lang','lengthadjust','letter-spacing','kernelmatrix','kernelunitlength','lighting-color','local','marker-end','marker-mid','marker-start','markerheight','markerunits','markerwidth','maskcontentunits','maskunits','max','mask','mask-type','media','method','mode','min','name','numoctaves','offset','operator','opacity','order','orient','orientation','origin','overflow','paint-order','path','pathlength','patterncontentunits','patterntransform','patternunits','points','preservealpha','preserveaspectratio','primitiveunits','r','rx','ry','radius','refx','refy','repeatcount','repeatdur','restart','result','rotate','scale','seed','shape-rendering','slope','specularconstant','specularexponent','spreadmethod','startoffset','stddeviation','stitchtiles','stop-color','stop-opacity','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke','stroke-width','style','surfacescale','systemlanguage','tabindex','tablevalues','targetx','targety','transform','transform-origin','text-anchor','text-decoration','text-rendering','textlength','type','u1','u2','unicode','values','viewbox','visibility','version','vert-adv-y','vert-origin-x','vert-origin-y','width','word-spacing','wrap','writing-mode','xchannelselector','ychannelselector','x','x1','x2','xmlns','y','y1','y2','z','zoomandpan']),oR=_D(['accent','accentunder','align','bevelled','close','columnsalign','columnlines','columnspan','denomalign','depth','dir','display','displaystyle','encoding','fence','frame','height','href','id','largeop','length','linethickness','lspace','lquote','mathbackground','mathcolor','mathsize','mathvariant','maxsize','minsize','movablelimits','notation','numalign','open','rowalign','rowlines','rowspacing','rowspan','rspace','rquote','scriptlevel','scriptminsize','scriptsizemultiplier','selection','separator','separators','stretchy','subscriptshift','supscriptshift','symmetric','voffset','width','xmlns']),sR=_D(['xlink:href','xml:id','xlink:title','xml:space','xmlns:xlink']),aR=jD(/\{\{[\w\W]*|[\w\W]*\}\}/gm),AR=jD(/<%[\w\W]*|[\w\W]*%>/gm),lR=jD(/\$\{[\w\W]*/gm),cR=jD(/^data-[\-\w.\u00B7-\uFFFF]+$/),uR=jD(/^aria-[\-\w]+$/),dR=jD(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),fR=jD(/^(?:\w+script|data):/i),hR=jD(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),pR=jD(/^html$/i),gR=jD(/^[a-z][.\w]*(-[.\w]+)+$/i);var mR=Object.freeze({__proto__:null,ARIA_ATTR:uR,ATTR_WHITESPACE:hR,CUSTOM_ELEMENT:gR,DATA_ATTR:cR,DOCTYPE_NAME:pR,ERB_EXPR:AR,IS_ALLOWED_URI:dR,IS_SCRIPT_OR_DATA:fR,MUSTACHE_EXPR:aR,TMPLIT_EXPR:lR});const vR=1,bR=3,yR=7,wR=8,BR=9,xR=function(){return'undefined'==typeof window?null:window};var CR,_R,jR,FR,ER,SR,kR,UR,QR,LR,OR,IR,NR=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xR();const n=t=>e(t);if(n.version='3.3.1',n.removed=[],!t||!t.document||t.document.nodeType!==BR||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:a,Node:A,Element:l,NodeFilter:c,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:h}=t,p=l.prototype,g=YD(p,'cloneNode'),m=YD(p,'remove'),v=YD(p,'nextSibling'),b=YD(p,'childNodes'),y=YD(p,'parentNode');if('function'==typeof a){const e=r.createElement('template');e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,B='';const{implementation:x,createNodeIterator:C,createDocumentFragment:_,getElementsByTagName:j}=r,{importNode:F}=i;let E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported='function'==typeof yD&&'function'==typeof y&&x&&void 0!==x.createHTMLDocument;const{MUSTACHE_EXPR:S,ERB_EXPR:k,TMPLIT_EXPR:U,DATA_ATTR:Q,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:O,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:N}=mR;let{IS_ALLOWED_URI:T}=mR,M=null;const P=qD({},[...XD,...JD,...ZD,...eR,...nR]);let D=null;const R=qD({},[...rR,...iR,...oR,...sR]);let H=Object.seal(FD(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,K=null;const V=Object.seal(FD(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,G=!0,W=!1,Y=!0,X=!1,J=!0,Z=!1,$=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1,se=!0,ae=!1,Ae={},le=null;const ce=qD({},['annotation-xml','audio','colgroup','desc','foreignobject','head','iframe','math','mi','mn','mo','ms','mtext','noembed','noframes','noscript','plaintext','script','style','svg','template','thead','title','video','xmp']);let ue=null;const de=qD({},['audio','video','img','source','image','track']);let fe=null;const he=qD({},['alt','class','for','id','label','name','pattern','placeholder','role','summary','title','value','style','xmlns']),pe='http://www.w3.org/1998/Math/MathML',ge='http://www.w3.org/2000/svg',me='http://www.w3.org/1999/xhtml';let ve=me,be=!1,ye=null;const we=qD({},[pe,ge,me],ND);let Be=qD({},['mi','mo','mn','ms','mtext']),xe=qD({},['annotation-xml']);const Ce=qD({},['title','style','font','a','script']);let _e=null;const je=['application/xhtml+xml','text/html'];let Fe=null,Ee=null;const Se=r.createElement('form'),ke=function(e){return e instanceof RegExp||e instanceof Function},Ue=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ee||Ee!==e){if(e&&'object'==typeof e||(e={}),e=WD(e),_e=-1===je.indexOf(e.PARSER_MEDIA_TYPE)?'text/html':e.PARSER_MEDIA_TYPE,Fe='application/xhtml+xml'===_e?ND:ID,M=RD(e,'ALLOWED_TAGS')?qD({},e.ALLOWED_TAGS,Fe):P,D=RD(e,'ALLOWED_ATTR')?qD({},e.ALLOWED_ATTR,Fe):R,ye=RD(e,'ALLOWED_NAMESPACES')?qD({},e.ALLOWED_NAMESPACES,ND):we,fe=RD(e,'ADD_URI_SAFE_ATTR')?qD(WD(he),e.ADD_URI_SAFE_ATTR,Fe):he,ue=RD(e,'ADD_DATA_URI_TAGS')?qD(WD(de),e.ADD_DATA_URI_TAGS,Fe):de,le=RD(e,'FORBID_CONTENTS')?qD({},e.FORBID_CONTENTS,Fe):ce,z=RD(e,'FORBID_TAGS')?qD({},e.FORBID_TAGS,Fe):WD({}),K=RD(e,'FORBID_ATTR')?qD({},e.FORBID_ATTR,Fe):WD({}),Ae=!!RD(e,'USE_PROFILES')&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,W=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,J=!1!==e.SAFE_FOR_XML,Z=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,se=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,T=e.ALLOWED_URI_REGEXP||dR,ve=e.NAMESPACE||me,Be=e.MATHML_TEXT_INTEGRATION_POINTS||Be,xe=e.HTML_INTEGRATION_POINTS||xe,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&'boolean'==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),ne&&(te=!0),Ae&&(M=qD({},nR),D=[],!0===Ae.html&&(qD(M,XD),qD(D,rR)),!0===Ae.svg&&(qD(M,JD),qD(D,iR),qD(D,sR)),!0===Ae.svgFilters&&(qD(M,ZD),qD(D,iR),qD(D,sR)),!0===Ae.mathMl&&(qD(M,eR),qD(D,oR),qD(D,sR))),e.ADD_TAGS&&('function'==typeof e.ADD_TAGS?V.tagCheck=e.ADD_TAGS:(M===P&&(M=WD(M)),qD(M,e.ADD_TAGS,Fe))),e.ADD_ATTR&&('function'==typeof e.ADD_ATTR?V.attributeCheck=e.ADD_ATTR:(D===R&&(D=WD(D)),qD(D,e.ADD_ATTR,Fe))),e.ADD_URI_SAFE_ATTR&&qD(fe,e.ADD_URI_SAFE_ATTR,Fe),e.FORBID_CONTENTS&&(le===ce&&(le=WD(le)),qD(le,e.FORBID_CONTENTS,Fe)),e.ADD_FORBID_CONTENTS&&(le===ce&&(le=WD(le)),qD(le,e.ADD_FORBID_CONTENTS,Fe)),se&&(M['#text']=!0),Z&&qD(M,['html','head','body']),M.table&&(qD(M,['tbody']),delete z.tbody),e.TRUSTED_TYPES_POLICY){if('function'!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw zD('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if('function'!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw zD('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,B=w.createHTML('')}else void 0===w&&(w=function(e,t){if('object'!=typeof e||'function'!=typeof e.createPolicy)return null;let n=null;const r='data-tt-policy-suffix';t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i='dompurify'+(n?'#'+n:'');try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(h,o)),null!==w&&'string'==typeof B&&(B=w.createHTML(''));_D&&_D(e),Ee=e}},Qe=qD({},[...JD,...ZD,...$D]),Le=qD({},[...eR,...tR]),Oe=function(e){LD(n.removed,{element:e});try{y(e).removeChild(e)}catch(t){m(e)}},Ie=function(e,t){try{LD(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){LD(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),'is'===e)if(te||ne)try{Oe(t)}catch(e){}else try{t.setAttribute(e,'')}catch(e){}},Ne=function(e){let t=null,n=null;if(ee)e='<remove></remove>'+e;else{const t=TD(e,/^[\r\n\t ]+/);n=t&&t[0]}'application/xhtml+xml'===_e&&ve===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+'</body></html>');const i=w?w.createHTML(e):e;if(ve===me)try{t=(new f).parseFromString(i,_e)}catch(e){}if(!t||!t.documentElement){t=x.createDocument(ve,'template',null);try{t.documentElement.innerHTML=be?B:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ve===me?j.call(t,Z?'html':'body')[0]:Z?t.documentElement:o},Te=function(e){return C.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Me=function(e){return e instanceof d&&('string'!=typeof e.nodeName||'string'!=typeof e.textContent||'function'!=typeof e.removeChild||!(e.attributes instanceof u)||'function'!=typeof e.removeAttribute||'function'!=typeof e.setAttribute||'string'!=typeof e.namespaceURI||'function'!=typeof e.insertBefore||'function'!=typeof e.hasChildNodes)},Pe=function(e){return'function'==typeof A&&e instanceof A};function De(e,t,r){kD(e,e=>{e.call(n,t,r,Ee)})}const Re=function(e){let t=null;if(De(E.beforeSanitizeElements,e,null),Me(e))return Oe(e),!0;const r=Fe(e.nodeName);if(De(E.uponSanitizeElement,e,{tagName:r,allowedTags:M}),J&&e.hasChildNodes()&&!Pe(e.firstElementChild)&&HD(/<[/\w!]/g,e.innerHTML)&&HD(/<[/\w!]/g,e.textContent))return Oe(e),!0;if(e.nodeType===yR)return Oe(e),!0;if(J&&e.nodeType===wR&&HD(/<[/\w]/g,e.data))return Oe(e),!0;if(!(V.tagCheck instanceof Function&&V.tagCheck(r))&&(!M[r]||z[r])){if(!z[r]&&ze(r)){if(H.tagNameCheck instanceof RegExp&&HD(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(se&&!le[r]){const t=y(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,v(e))}}}return Oe(e),!0}return e instanceof l&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:ve,tagName:'template'});const n=ID(e.tagName),r=ID(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===me?'svg'===n:t.namespaceURI===pe?'svg'===n&&('annotation-xml'===r||Be[r]):Boolean(Qe[n]):e.namespaceURI===pe?t.namespaceURI===me?'math'===n:t.namespaceURI===ge?'math'===n&&xe[r]:Boolean(Le[n]):e.namespaceURI===me?!(t.namespaceURI===ge&&!xe[r])&&!(t.namespaceURI===pe&&!Be[r])&&!Le[n]&&(Ce[n]||!Qe[n]):!('application/xhtml+xml'!==_e||!ye[e.namespaceURI]))}(e)?(Oe(e),!0):'noscript'!==r&&'noembed'!==r&&'noframes'!==r||!HD(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===bR&&(t=e.textContent,kD([S,k,U],e=>{t=MD(t,e,' ')}),e.textContent!==t&&(LD(n.removed,{element:e.cloneNode()}),e.textContent=t)),De(E.afterSanitizeElements,e,null),!1):(Oe(e),!0)},He=function(e,t,n){if(ie&&('id'===t||'name'===t)&&(n in r||n in Se))return!1;if(G&&!K[t]&&HD(Q,t));else if(q&&HD(L,t));else if(V.attributeCheck instanceof Function&&V.attributeCheck(t,e));else if(!D[t]||K[t]){if(!(ze(e)&&(H.tagNameCheck instanceof RegExp&&HD(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&HD(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||'is'===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&HD(H.tagNameCheck,n)||H.tagNameCheck instanceof Function&&H.tagNameCheck(n))))return!1}else if(fe[t]);else if(HD(T,MD(n,I,'')));else if('src'!==t&&'xlink:href'!==t&&'href'!==t||'script'===e||0!==PD(n,'data:')||!ue[e]){if(W&&!HD(O,MD(n,I,'')));else if(n)return!1}else;return!0},ze=function(e){return'annotation-xml'!==e&&TD(e,N)},Ke=function(e){De(E.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Me(e))return;const r={attrName:'',attrValue:'',keepAttr:!0,allowedAttributes:D,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:A}=o,l=Fe(s),c=A;let u='value'===s?c:DD(c);if(r.attrName=l,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,De(E.uponSanitizeAttribute,e,r),u=r.attrValue,!oe||'id'!==l&&'name'!==l||(Ie(s,e),u='user-content-'+u),J&&HD(/((--!?|])>)|<\/(style|title|textarea)/i,u)){Ie(s,e);continue}if('attributename'===l&&TD(u,'href')){Ie(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ie(s,e);continue}if(!Y&&HD(/\/>/i,u)){Ie(s,e);continue}X&&kD([S,k,U],e=>{u=MD(u,e,' ')});const d=Fe(e.nodeName);if(He(d,l,u)){if(w&&'object'==typeof h&&'function'==typeof h.getAttributeType)if(a);else switch(h.getAttributeType(d,l)){case'TrustedHTML':u=w.createHTML(u);break;case'TrustedScriptURL':u=w.createScriptURL(u)}if(u!==c)try{a?e.setAttributeNS(a,s,u):e.setAttribute(s,u),Me(e)?Oe(e):QD(n.removed)}catch(t){Ie(s,e)}}else Ie(s,e)}De(E.afterSanitizeAttributes,e,null)},Ve=function e(t){let n=null;const r=Te(t);for(De(E.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)De(E.uponSanitizeShadowNode,n,null),Re(n),Ke(n),n.content instanceof s&&e(n.content);De(E.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if(be=!e,be&&(e='\x3c!--\x3e'),'string'!=typeof e&&!Pe(e)){if('function'!=typeof e.toString)throw zD('toString is not a function');if('string'!=typeof(e=e.toString()))throw zD('dirty is not a string, aborting')}if(!n.isSupported)return e;if($||Ue(t),n.removed=[],'string'==typeof e&&(ae=!1),ae){if(e.nodeName){const t=Fe(e.nodeName);if(!M[t]||z[t])throw zD('root node is forbidden and cannot be sanitized in-place')}}else if(e instanceof A)r=Ne('\x3c!----\x3e'),o=r.ownerDocument.importNode(e,!0),o.nodeType===vR&&'BODY'===o.nodeName||'HTML'===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!X&&!Z&&-1===e.indexOf('<'))return w&&re?w.createHTML(e):e;if(r=Ne(e),!r)return te?null:re?B:''}r&&ee&&Oe(r.firstChild);const c=Te(ae?e:r);for(;a=c.nextNode();)Re(a),Ke(a),a.content instanceof s&&Ve(a.content);if(ae)return e;if(te){if(ne)for(l=_.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(D.shadowroot||D.shadowrootmode)&&(l=F.call(i,l,!0)),l}let u=Z?r.outerHTML:r.innerHTML;return Z&&M['!doctype']&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&HD(pR,r.ownerDocument.doctype.name)&&(u='<!DOCTYPE '+r.ownerDocument.doctype.name+'>\n'+u),X&&kD([S,k,U],e=>{u=MD(u,e,' ')}),w&&re?w.createHTML(u):u},n.setConfig=function(){Ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),$=!0},n.clearConfig=function(){Ee=null,$=!1},n.isValidAttribute=function(e,t,n){Ee||Ue({});const r=Fe(e),i=Fe(t);return He(r,i,n)},n.addHook=function(e,t){'function'==typeof t&&LD(E[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=UD(E[e],t);return-1===n?void 0:OD(E[e],n,1)[0]}return QD(E[e])},n.removeHooks=function(e){E[e]=[]},n.removeAllHooks=function(){E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),TR=function(e){var n=e.html,r=e.className,i=void 0===r?'vu-prose vu-prose-sm max-w-none dark:vu-prose-invert vu-break-words':r,o=d(function(){return NR.sanitize(n,{FORBID_TAGS:['html','head','body','script','iframe','object','embed','form','input','button'],FORBID_ATTR:['style','onclick','onload','onerror','onmouseover'],ALLOWED_URI_REGEXP:/^(?:(?:https?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.\-:]|$))/i})},[n]);return t.createElement('div',{className:i,dangerouslySetInnerHTML:{__html:o}})},MR=function(e){var n=e.tools;return t.createElement('ul',{className:'vu-m-0 vu-px-4'},n.map(function(e){return t.createElement('li',{key:e.id},'running'===e.status?'⏳':'✅',' ',e.description)}))},PR=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t}return 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}Le(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),n.getDerivedStateFromError=function(){return{hasError:!0}},n.prototype.componentDidCatch=function(e,t){},n.prototype.render=function(){var e;return this.state.hasError?null!==(e=this.props.fallback)&&void 0!==e?e:t.createElement('div',{className:'vu-text-sm vu-text-center'},'⚠️ Unable to render chart'):this.props.children},n}(t.Component),DR={content:{top:'50%',left:'50%',right:'auto',bottom:'auto',marginRight:'-50%',transform:'translate(-50%, -50%)',padding:0,width:'492px'},overlay:{zIndex:9999}},RR=function(e){var r=e.response,i=e.onError,s=void 0!==i&&i,a=e.chatID,A=e.isLiked,l=e.type,c=e.sessionID,u=e.isLastResponse,d=o(null),f=n(A),h=f[0],p=f[1],g=t.useState(!1),m=g[0],v=g[1],b=n(!1),y=b[0],w=b[1],B=n(!1),x=B[0],C=B[1],_=n(!1),j=_[0],F=_[1],E=r.answer,S=r.chartConfigList,k=r.explainability,U=r.sources,Q=r.error,L=r.tools,O=ke({mutationFn:hT,onMutate:function(e){return Ne(void 0,void 0,void 0,function(){var t;return Te(this,function(n){return t=h,p(e.is_liked),[2,{previousLike:t}]})})},onError:function(e,t,n){void 0!==(null==n?void 0:n.previousLike)&&p(n.previousLike),bD.error(e.data['error-string'])}}),I=function(e){void 0!==a&&O.mutate(Oe({is_liked:e.isLiked,message_id:a,sessionID:c},!1===e.isLiked&&{comment:e.comments,reason:e.reason}))},N=function(){v(!1)};return t.createElement(t.Fragment,null,t.createElement(mn,null,u&&L&&L.length>0&&t.createElement(YM,{label:L[L.length-1].description,isOpen:y,onToggle:function(){return w(!y)},className:'hide-in-pdf'},t.createElement(MR,{tools:L})),t.createElement('div',null,t.createElement(vn,null,t.createElement(un,{svg:Pn,size:32}),t.createElement(Ln,{ref:d},t.createElement(TR,{html:E}),Q&&t.createElement(In,null,Q)),!s&&t.createElement(On,null,t.createElement(fn,{onClick:function(){return Ne(void 0,void 0,void 0,function(){return Te(this,function(e){switch(e.label){case 0:if(!d.current)return[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(d.current.innerText)];case 2:return e.sent(),F(!0),setTimeout(function(){return F(!1)},1200),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})},icon:'data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.4%2C20.82H11.2A2.42%2C2.42%2C0%2C0%2C1%2C8.78%2C18.4V11.2A2.42%2C2.42%2C0%2C0%2C1%2C11.2%2C8.78h7.2a2.42%2C2.42%2C0%2C0%2C1%2C2.42%2C2.42v7.2A2.42%2C2.42%2C0%2C0%2C1%2C18.4%2C20.82Zm-7.2-10.4a.78.78%2C0%2C0%2C0-.78.78v7.2a.78.78%2C0%2C0%2C0%2C.78.78h7.2a.78.78%2C0%2C0%2C0%2C.78-.78V11.2a.78.78%2C0%2C0%2C0-.78-.78Z%22%2F%3E%3Cpath%20d%3D%22M6.4%2C15.22H5.6A2.42%2C2.42%2C0%2C0%2C1%2C3.18%2C12.8V5.6A2.42%2C2.42%2C0%2C0%2C1%2C5.6%2C3.18h7.2A2.42%2C2.42%2C0%2C0%2C1%2C15.22%2C5.6v.8a.82.82%2C0%2C1%2C1-1.64%2C0V5.6a.78.78%2C0%2C0%2C0-.78-.78H5.6a.78.78%2C0%2C0%2C0-.78.78v7.2a.78.78%2C0%2C0%2C0%2C.78.78h.8a.82.82%2C0%2C0%2C1%2C0%2C1.64Z%22%2F%3E%3C%2Fsvg%3E',className:'hide-in-pdf','data-tooltip-id':'tooltip-btns','data-tooltip-content':j?'Copied!':'Copy'}),l&&'answer'===l&&t.createElement(t.Fragment,null,t.createElement(fn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.66%2C20.18H3.56c-.98%2C0-1.78-.8-1.78-1.78v-7.82c0-.98%2C.8-1.78%2C1.78-1.78h3.61l3.26-6.52c.18-.36%2C.55-.59%2C.95-.59%2C2.16%2C0%2C3.91%2C1.75%2C3.91%2C3.91v1.07h4.43c1.37%2C0%2C2.49%2C1.12%2C2.49%2C2.49%2C0%2C.1%2C0%2C.21-.02%2C.31l-1.07%2C8.54c-.15%2C1.24-1.22%2C2.18-2.47%2C2.18Zm-9.77-2.13h9.77c.18%2C0%2C.33-.13%2C.35-.31l1.07-8.54c0-.24-.16-.4-.35-.4h-5.5c-.59%2C0-1.07-.48-1.07-1.07v-2.13c0-.77-.49-1.42-1.17-1.67l-3.1%2C6.19v7.93Zm-4.98%2C0h2.85v-7.11H3.91v7.11Z%22%2F%3E%3C%2Fsvg%3E','data-tooltip-id':'tooltip-btns','data-tooltip-content':'Like',disabled:O.isLoading,iconColor:void 0!==h&&!0===h?'vu-fill-green-500':void 0,onClick:function(){return I({isLiked:!0!==h||null})}}),t.createElement(fn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.38%2C22.31c-.4%2C0-.77-.23-.95-.59l-3.26-6.52H3.56c-.98%2C0-1.78-.8-1.78-1.78V5.6c0-.98%2C.8-1.78%2C1.78-1.78h15.1c1.25%2C0%2C2.32%2C.94%2C2.47%2C2.18l1.07%2C8.54c.01%2C.1%2C.02%2C.21%2C.02%2C.31%2C0%2C1.37-1.12%2C2.49-2.49%2C2.49h-4.43v1.07c0%2C2.16-1.75%2C3.91-3.91%2C3.91Zm-2.49-8.43l3.1%2C6.19c.68-.25%2C1.17-.9%2C1.17-1.67v-2.13c0-.59%2C.48-1.07%2C1.07-1.07h5.5c.2%2C0%2C.36-.16%2C.36-.36l-1.07-8.58c-.02-.18-.17-.31-.35-.31H8.89v7.93Zm-4.98-.81h2.85V5.95H3.91v7.11Z%22%2F%3E%3C%2Fsvg%3E','data-tooltip-id':'tooltip-btns','data-tooltip-content':'Dislike',disabled:O.isLoading,iconColor:void 0!==h&&!1===h?'vu-fill-rose-500':void 0,onClick:function(){return O.isLoading?null:!1===h?I({isLiked:null}):v(!0)}})))),S&&S.length>0&&S.map(function(e,n){return t.createElement(PR,{key:n},t.createElement(Mn,null,e.chart_title),t.createElement(bn,null,t.createElement(mI,{type:e.chart_type,chartData:e})))})),(U||k)&&t.createElement(YM,{label:'Sources & Reasoning',isOpen:x,onToggle:function(){return C(!x)},className:'hide-in-pdf'},U&&t.createElement(TR,{html:U}),k&&t.createElement(TR,{html:k})),t.createElement(lT,{id:'tooltip-btns',place:'right'}),u&&t.createElement(Nn,null,t.createElement(un,{className:'vu-mr-1',svg:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%2C22c-5.51%2C0-10-4.49-10-10S6.49%2C2%2C12%2C2s10%2C4.49%2C10%2C10-4.49%2C10-10%2C10Zm0-18c-4.41%2C0-8%2C3.59-8%2C8s3.59%2C8%2C8%2C8%2C8-3.59%2C8-8-3.59-8-8-8Z%22%2F%3E%3Cg%3E%3Cpath%20d%3D%22M11.98%2C17.36c-.55%2C0-1-.45-1-1v-5.08c0-.55%2C.45-1%2C1-1s1%2C.45%2C1%2C1v5.08c0%2C.55-.45%2C1-1%2C1Z%22%2F%3E%3Cpath%20d%3D%22M11.98%2C9.21c-.26%2C0-.52-.11-.71-.29-.18-.19-.29-.44-.29-.71s.11-.52%2C.29-.71c.38-.37%2C1.05-.37%2C1.42%2C0%2C.18%2C.19%2C.29%2C.45%2C.29%2C.71s-.11%2C.52-.29%2C.71c-.19%2C.18-.44%2C.29-.71%2C.29Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E',size:14,inline:!0}),t.createElement(Tn,null,'AI-generated responses may not always be accurate.'))),t.createElement(WM,{isOpen:m,onRequestClose:N,style:DR,contentLabel:'Feedback Modal'},t.createElement(wP,{closeModal:N,handleFeedback:I})))},HR=Nt.div(CR||(CR=Pe(['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n lg:vu-px-[7.5rem]\n vu-px-2\n vu-py-5\n'],['\n vu-flex\n vu-flex-col\n vu-items-center\n vu-justify-center\n lg:vu-px-[7.5rem]\n vu-px-2\n vu-py-5\n']))),zR=Nt.div(_R||(_R=Pe(['\n vu-h-full\n vu-flex\n vu-items-center \n vu-justify-center\n'],['\n vu-h-full\n vu-flex\n vu-items-center \n vu-justify-center\n']))),KR=Nt.div(jR||(jR=Pe(['\n vu-grow \n vu-overflow-y-auto\n'],['\n vu-grow \n vu-overflow-y-auto\n']))),VR=Nt.div(FR||(FR=Pe(['\n vu-bg-alice_blue-500\n dark:vu-bg-dark_mode\n vu-p-2\n vu-w-full \n lg:vu-pl-[7.5rem]\n lg:vu-pr-[8rem]\n vu-px-2 \n'],['\n vu-bg-alice_blue-500\n dark:vu-bg-dark_mode\n vu-p-2\n vu-w-full \n lg:vu-pl-[7.5rem]\n lg:vu-pr-[8rem]\n vu-px-2 \n']))),qR=Nt.div(ER||(ER=Pe(['\n vu-w-full\n'],['\n vu-w-full\n']))),GR=Nt.div(SR||(SR=Pe(['\n vu-bg-alice_blue \n dark:vu-bg-dark_mode-500\n vu-px-10\n vu-py-5\n vu-w-full\n\n'],['\n vu-bg-alice_blue \n dark:vu-bg-dark_mode-500\n vu-px-10\n vu-py-5\n vu-w-full\n\n']))),WR=Nt.div(kR||(kR=Pe(['\n vu-flex\n vu-gap-x-3\n'],['\n vu-flex\n vu-gap-x-3\n']))),YR=Nt.div(UR||(UR=Pe(['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-pt-[6px]\n'],['\n vu-text-sm\n vu-text-left\n vu-p-1\n vu-pt-[6px]\n']))),XR=function(e){var n=e.question;return t.createElement(GR,null,t.createElement(WR,null,t.createElement('div',null,t.createElement(un,{svg:'data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20id%3D%22Group%206054%22%3E%3Cg%20id%3D%22Group%206038%22%3E%3Cg%20id%3D%22Group%206016%22%3E%3Cg%20id%3D%22Group%205999%22%3E%3Cpath%20id%3D%22Path%203219%22%20d%3D%22M16%203C18.5712%203%2021.0846%203.76244%2023.2224%205.19089C25.3602%206.61935%2027.0265%208.64967%2028.0104%2011.0251C28.9944%2013.4006%2029.2518%2016.0144%2028.7502%2018.5362C28.2486%2021.0579%2027.0105%2023.3743%2025.1924%2025.1924C23.3743%2027.0105%2021.0579%2028.2486%2018.5362%2028.7502C16.0144%2029.2518%2013.4006%2028.9944%2011.0251%2028.0104C8.64967%2027.0265%206.61935%2025.3602%205.19089%2023.2224C3.76244%2021.0846%203%2018.5712%203%2016C3%2012.5522%204.36964%209.24558%206.80761%206.80761C9.24558%204.36964%2012.5522%203%2016%203Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20id%3D%22Path%203220%22%20d%3D%22M15.7617%2015.4619C15.4452%2015.473%2015.1296%2015.4204%2014.8338%2015.3071C14.538%2015.1938%2014.268%2015.0222%2014.0399%2014.8025C13.6064%2014.3494%2013.3645%2013.7465%2013.3645%2013.1195C13.3645%2012.4924%2013.6064%2011.8896%2014.0399%2011.4365C14.5139%2011.014%2015.1268%2010.7806%2015.7617%2010.7806C16.3967%2010.7806%2017.0095%2011.014%2017.4836%2011.4365C17.9171%2011.8896%2018.159%2012.4924%2018.159%2013.1195C18.159%2013.7465%2017.9171%2014.3494%2017.4836%2014.8025C17.2555%2015.0222%2016.9855%2015.1938%2016.6897%2015.3071C16.3939%2015.4204%2016.0783%2015.473%2015.7617%2015.4619ZM11.1749%2020.847C11.0656%2020.8491%2010.9569%2020.8291%2010.8555%2020.7882C10.754%2020.7473%2010.6618%2020.6864%2010.5845%2020.6091C10.5062%2020.535%2010.4442%2020.4455%2010.4024%2020.3462C10.3606%2020.2469%2010.3399%2020.14%2010.3417%2020.0322V19.5068C10.3342%2019.1518%2010.4426%2018.8041%2010.6505%2018.5162C10.8571%2018.2341%2011.1336%2018.0105%2011.4527%2017.8675C12.1625%2017.5543%2012.8986%2017.3044%2013.6524%2017.1207C14.3433%2016.9553%2015.0513%2016.8712%2015.7617%2016.8701C16.471%2016.8711%2017.1775%2016.9572%2017.8663%2017.1265C18.6167%2017.3136%2019.3508%2017.5615%2020.0611%2017.8675C20.3845%2018.0083%2020.6649%2018.2321%2020.8739%2018.5162C21.0819%2018.8041%2021.1903%2019.1518%2021.1828%2019.5068V20.0322C21.1845%2020.14%2021.1638%2020.2469%2021.122%2020.3462C21.0802%2020.4455%2021.0182%2020.535%2020.94%2020.6091C20.8626%2020.6864%2020.7704%2020.7473%2020.669%2020.7882C20.5675%2020.8291%2020.4589%2020.8491%2020.3495%2020.847H11.1749Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E',size:32})),t.createElement(YR,null,n)))},JR=Nt.div(QR||(QR=Pe(['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-flex\n vu-gap-4\n'],['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-flex\n vu-gap-4\n']))),ZR=function(e){var n=e.handleClickDownloadConversation;return t.createElement(JR,null,t.createElement(dn,{$fill:'outline',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22m21%2C13.58c-.55%2C0-1%2C.45-1%2C1v4.42c0%2C.55-.45%2C1-1%2C1H5c-.55%2C0-1-.45-1-1v-4.42c0-.55-.45-1-1-1s-1%2C.45-1%2C1v4.42c0%2C1.65%2C1.35%2C3%2C3%2C3h14c1.65%2C0%2C3-1.35%2C3-3v-4.42c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22m11.29%2C16.71c.09.09.2.17.33.22.12.05.25.08.38.08s.26-.03.38-.08c.12-.05.23-.12.33-.22l4-4c.39-.39.39-1.02%2C0-1.41s-1.02-.39-1.41%2C0l-2.29%2C2.29V3c0-.55-.45-1-1-1s-1%2C.45-1%2C1v10.59l-2.29-2.29c-.39-.39-1.02-.39-1.41%2C0s-.39%2C1.02%2C0%2C1.41l4%2C4Z%22%2F%3E%3C%2Fsvg%3E',onClick:n,disabled:!0},'Download Conversation'))},$R=Nt.div(LR||(LR=Pe(['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-4\n vu-my-5\n vu-w-full\n'],['\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-px-10\n vu-py-4\n vu-my-5\n vu-w-full\n']))),eH=Nt.div(OR||(OR=Pe(['\n vu-flex\n vu-gap-x-3\n'],['\n vu-flex\n vu-gap-x-3\n']))),tH=Nt.div(IR||(IR=Pe(['\n vu-flex\n vu-flex-col\n vu-text-sm\n vu-text-left\n vu-w-full\n vu-gap-2\n'],['\n vu-flex\n vu-flex-col\n vu-text-sm\n vu-text-left\n vu-w-full\n vu-gap-2\n']))),nH={},rH={};Object.defineProperty(rH,'__esModule',{value:!0}),rH.createAnimation=void 0;rH.createAnimation=function(e,t,n){var r='react-spinners-'.concat(e,'-').concat(n);if('undefined'==typeof window||!window.document)return r;var i=document.createElement('style');document.head.appendChild(i);var o=i.sheet,s='\n @keyframes '.concat(r,' {\n ').concat(t,'\n }\n ');return o&&o.insertRule(s,0),r};var iH={};Object.defineProperty(iH,'__esModule',{value:!0}),iH.cssValue=iH.parseLengthAndUnit=void 0;var oH={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,'%':!0};function sH(e){if('number'==typeof e)return{value:e,unit:'px'};var t,n=(e.match(/^[0-9.]*/)||'').toString();t=n.includes('.')?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||'').toString();return oH[r]?{value:t,unit:r}:{value:t,unit:'px'}}iH.parseLengthAndUnit=sH,iH.cssValue=function(e){var t=sH(e);return''.concat(t.value).concat(t.unit)};var aH=zn&&zn.__assign||function(){return aH=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},aH.apply(this,arguments)},AH=zn&&zn.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!('get'in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),lH=zn&&zn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,'default',{enumerable:!0,value:t})}:function(e,t){e.default=t}),cH=zn&&zn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)'default'!==n&&Object.prototype.hasOwnProperty.call(e,n)&&AH(t,e,n);return lH(t,e),t},uH=zn&&zn.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(nH,'__esModule',{value:!0});var dH=cH(t),fH=iH,hH=(0,rH.createAnimation)('SyncLoader','33% {transform: translateY(10px)}\n 66% {transform: translateY(-10px)}\n 100% {transform: translateY(0)}','sync');var pH=nH.default=function(e){var t=e.loading,n=void 0===t||t,r=e.color,i=void 0===r?'#000000':r,o=e.speedMultiplier,s=void 0===o?1:o,a=e.cssOverride,A=void 0===a?{}:a,l=e.size,c=void 0===l?15:l,u=e.margin,d=void 0===u?2:u,f=uH(e,['loading','color','speedMultiplier','cssOverride','size','margin']),h=aH({display:'inherit'},A),p=function(e){return{backgroundColor:i,width:(0,fH.cssValue)(c),height:(0,fH.cssValue)(c),margin:(0,fH.cssValue)(d),borderRadius:'100%',display:'inline-block',animation:''.concat(hH,' ').concat(.6/s,'s ').concat(.07*e,'s infinite ease-in-out'),animationFillMode:'both'}};return n?dH.createElement('span',aH({style:h},f),dH.createElement('span',{style:p(1)}),dH.createElement('span',{style:p(2)}),dH.createElement('span',{style:p(3)})):null};const gH=t.createContext({}),mH=!0;function vH({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:i,circle:o,direction:s,duration:a,enableAnimation:A=true,customHighlightBackground:l}){const c={};return'rtl'===s&&(c['--animation-direction']='reverse'),'number'==typeof a&&(c['--animation-duration']=`${a}s`),A||(c['--pseudo-element-display']='none'),'string'!=typeof n&&'number'!=typeof n||(c.width=n),'string'!=typeof r&&'number'!=typeof r||(c.height=r),'string'!=typeof i&&'number'!=typeof i||(c.borderRadius=i),o&&(c.borderRadius='50%'),void 0!==e&&(c['--base-color']=e),void 0!==t&&(c['--highlight-color']=t),'string'==typeof l&&(c['--custom-highlight-background']=l),c}function bH({count:e=1,wrapper:n,className:r,containerClassName:i,containerTestId:o,circle:s=!1,style:a,...A}){var l,c,u;const d=t.useContext(gH),f={...A};for(const[e,t]of Object.entries(A))void 0===t&&delete f[e];const h={...d,...f,circle:s},p={...a,...vH(h)};let g='react-loading-skeleton';r&&(g+=` ${r}`);const m=null!==(l=h.inline)&&void 0!==l&&l,v=[],b=Math.ceil(e);for(let n=0;n<b;n++){let r=p;if(b>e&&n===b-1){const t=null!==(c=r.width)&&void 0!==c?c:'100%',n=e%1,i='number'==typeof t?t*n:`calc(${t} * ${n})`;r={...r,width:i}}const i=t.createElement('span',{className:g,style:r,key:n},'');m?v.push(i):v.push(t.createElement(t.Fragment,{key:n},i,t.createElement('br',null)))}return t.createElement('span',{className:i,'data-testid':o,'aria-live':'polite','aria-busy':null!==(u=h.enableAnimation)&&void 0!==u?u:mH},n?v.map((e,r)=>t.createElement(n,{key:r},e)):v)}j('@keyframes react-loading-skeleton {\n 100% {\n transform: translateX(100%);\n }\n}\n\n.react-loading-skeleton {\n --base-color: #ebebeb;\n --highlight-color: #f5f5f5;\n --animation-duration: 1.5s;\n --animation-direction: normal;\n --pseudo-element-display: block; /* Enable animation */\n\n background-color: var(--base-color);\n\n width: 100%;\n border-radius: 0.25rem;\n display: inline-flex;\n line-height: 1;\n\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n overflow: hidden;\n}\n\n.react-loading-skeleton::after {\n content: \' \';\n display: var(--pseudo-element-display);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n background-repeat: no-repeat;\n background-image: var(\n --custom-highlight-background,\n linear-gradient(\n 90deg,\n var(--base-color) 0%,\n var(--highlight-color) 50%,\n var(--base-color) 100%\n )\n );\n transform: translateX(-100%);\n\n animation-name: react-loading-skeleton;\n animation-direction: var(--animation-direction);\n animation-duration: var(--animation-duration);\n animation-timing-function: ease-in-out;\n animation-iteration-count: infinite;\n}\n\n@media (prefers-reduced-motion) {\n .react-loading-skeleton {\n --pseudo-element-display: none; /* Disable animation */\n }\n}\n');var yH=function(){var e=u(vJ).isDarkMode,n=d(function(){return[60,55,50,45].map(function(n,r){return t.createElement(bH,{key:r,width:''.concat(n,'%'),baseColor:e?'#7B7E92':'#ebebeb',highlightColor:e?'#4B5168':'#f5f5f5'})})},[]);return t.createElement($R,null,t.createElement(eH,null,t.createElement(pH,{color:e?'#CCCCDC':'#000',size:4,'aria-label':'Loading Spinner'}),t.createElement(tH,null,t.createElement('p',null,'Generating Response'),n)))},wH={},BH=zn&&zn.__assign||function(){return BH=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},BH.apply(this,arguments)},xH=zn&&zn.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!('get'in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),CH=zn&&zn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,'default',{enumerable:!0,value:t})}:function(e,t){e.default=t}),_H=zn&&zn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)'default'!==n&&Object.prototype.hasOwnProperty.call(e,n)&&xH(t,e,n);return CH(t,e),t},jH=zn&&zn.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(wH,'__esModule',{value:!0});var FH=_H(t),EH=iH,SH=(0,rH.createAnimation)('ClipLoader','0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}','clip');var kH,UH,QH,LH,OH,IH=wH.default=function(e){var t=e.loading,n=void 0===t||t,r=e.color,i=void 0===r?'#000000':r,o=e.speedMultiplier,s=void 0===o?1:o,a=e.cssOverride,A=void 0===a?{}:a,l=e.size,c=void 0===l?35:l,u=jH(e,['loading','color','speedMultiplier','cssOverride','size']),d=BH({background:'transparent !important',width:(0,EH.cssValue)(c),height:(0,EH.cssValue)(c),borderRadius:'100%',border:'2px solid',borderTopColor:i,borderBottomColor:'transparent',borderLeftColor:i,borderRightColor:i,display:'inline-block',animation:''.concat(SH,' ').concat(.75/s,'s 0s infinite linear'),animationFillMode:'both'},A);return n?FH.createElement('span',BH({style:d},u)):null},NH=Nt.div(kH||(kH=Pe(['\n vu-text-start\n'],['\n vu-text-start\n']))),TH=Nt.div(UH||(UH=Pe(['\n vu-text-3xl vu-font-bold\n'],['\n vu-text-3xl vu-font-bold\n']))),MH=Nt.div(QH||(QH=Pe(['\n vu-text-md\n'],['\n vu-text-md\n']))),PH=Nt.div(LH||(LH=Pe(['\n vu-opacity-60\n'],['\n vu-opacity-60\n']))),DH=Nt.ul(OH||(OH=Pe(['\n vu-list-disc\n vu-mt-0\n vu-mb-4\n vu-pl-10\n'],['\n vu-list-disc\n vu-mt-0\n vu-mb-4\n vu-pl-10\n']))),RH=function(){return t.createElement(NH,null,t.createElement(TH,null,'Hi, I\'m ',t.createElement(un,{inline:!0,svg:Pn,size:48})),t.createElement(MH,null,t.createElement(PH,null,'Your assistant for incident analysis and insights.'),t.createElement('div',{className:'vu-mt-4'},'I can help you with:'),t.createElement(DH,null,t.createElement('li',null,'Incident listing and summaries.'),t.createElement('li',null,'Understanding what happened, when, and why.'),t.createElement('li',null,'Probable Root Causes and Recommended actions.')),t.createElement(PH,null,'Ask away!')))},HH={exports:{}},zH=function(e,t){return zH=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])},zH(e,t)};function KH(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}zH(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var VH=function(){return VH=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},VH.apply(this,arguments)};function qH(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{A(r.next(e))}catch(e){o(e)}}function a(e){try{A(r.throw(e))}catch(e){o(e)}}function A(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}A((r=r.apply(e,t||[])).next())})}function GH(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},'function'==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError('Generator is already executing.');for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}for(var WH=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(e){return 0!==e.width});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),YH=function(e,t){return WH.fromClientRect(e,t.getBoundingClientRect())},XH=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},JH=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return'';for(var r=[],i=-1,o='';++i<n;){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},ZH='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',$H='undefined'==typeof Uint8Array?[]:new Uint8Array(256),ez=0;ez<64;ez++)$H[ZH.charCodeAt(ez)]=ez;for(var tz='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',nz='undefined'==typeof Uint8Array?[]:new Uint8Array(256),rz=0;rz<64;rz++)nz[tz.charCodeAt(rz)]=rz;for(var iz=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},oz=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),sz='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',az='undefined'==typeof Uint8Array?[]:new Uint8Array(256),Az=0;Az<64;Az++)az[sz.charCodeAt(Az)]=Az;var lz=10,cz=13,uz=15,dz=17,fz=18,hz=19,pz=20,gz=21,mz=22,vz=24,bz=25,yz=26,wz=27,Bz=28,xz=30,Cz=32,_z=33,jz=34,Fz=35,Ez=37,Sz=38,kz=39,Uz=40,Qz=42,Lz=[9001,65288],Oz='×',Iz='÷',Nz=function(e){var t=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,A=0;'='===e[e.length-1]&&(s--,'='===e[e.length-2]&&s--);var l='undefined'!=typeof ArrayBuffer&&'undefined'!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<a;t+=4)n=nz[e.charCodeAt(t)],r=nz[e.charCodeAt(t+1)],i=nz[e.charCodeAt(t+2)],o=nz[e.charCodeAt(t+3)],c[A++]=n<<2|r>>4,c[A++]=(15&r)<<4|i>>2,c[A++]=(3&i)<<6|63&o;return l}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=iz(r,12,n[4]/2),o=2===n[5]?iz(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new oz(n[0],n[1],n[2],n[3],i,o)}('KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=='),Tz=[xz,36],Mz=[1,2,3,5],Pz=[lz,8],Dz=[wz,yz],Rz=Mz.concat(Pz),Hz=[Sz,kz,Uz,jz,Fz],zz=[uz,cz],Kz=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var o=n;o<=r.length;){if((A=r[++o])===t)return!0;if(A!==lz)break}if(i===lz)for(o=n;o>0;){var s=r[--o];if(Array.isArray(e)?-1!==e.indexOf(s):e===s)for(var a=n;a<=r.length;){var A;if((A=r[++a])===t)return!0;if(A!==lz)break}if(s!==lz)break}return!1},Vz=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==lz)return r;n--}return 0},qz=function(e,t,n,r,i){if(0===n[r])return Oz;var o=r-1;if(Array.isArray(i)&&!0===i[o])return Oz;var s=o-1,a=o+1,A=t[o],l=s>=0?t[s]:0,c=t[a];if(2===A&&3===c)return Oz;if(-1!==Mz.indexOf(A))return'!';if(-1!==Mz.indexOf(c))return Oz;if(-1!==Pz.indexOf(c))return Oz;if(8===Vz(o,t))return Iz;if(11===Nz.get(e[o]))return Oz;if((A===Cz||A===_z)&&11===Nz.get(e[a]))return Oz;if(7===A||7===c)return Oz;if(9===A)return Oz;if(-1===[lz,cz,uz].indexOf(A)&&9===c)return Oz;if(-1!==[dz,fz,hz,vz,Bz].indexOf(c))return Oz;if(Vz(o,t)===mz)return Oz;if(Kz(23,mz,o,t))return Oz;if(Kz([dz,fz],gz,o,t))return Oz;if(Kz(12,12,o,t))return Oz;if(A===lz)return Iz;if(23===A||23===c)return Oz;if(16===c||16===A)return Iz;if(-1!==[cz,uz,gz].indexOf(c)||14===A)return Oz;if(36===l&&-1!==zz.indexOf(A))return Oz;if(A===Bz&&36===c)return Oz;if(c===pz)return Oz;if(-1!==Tz.indexOf(c)&&A===bz||-1!==Tz.indexOf(A)&&c===bz)return Oz;if(A===wz&&-1!==[Ez,Cz,_z].indexOf(c)||-1!==[Ez,Cz,_z].indexOf(A)&&c===yz)return Oz;if(-1!==Tz.indexOf(A)&&-1!==Dz.indexOf(c)||-1!==Dz.indexOf(A)&&-1!==Tz.indexOf(c))return Oz;if(-1!==[wz,yz].indexOf(A)&&(c===bz||-1!==[mz,uz].indexOf(c)&&t[a+1]===bz)||-1!==[mz,uz].indexOf(A)&&c===bz||A===bz&&-1!==[bz,Bz,vz].indexOf(c))return Oz;if(-1!==[bz,Bz,vz,dz,fz].indexOf(c))for(var u=o;u>=0;){if((d=t[u])===bz)return Oz;if(-1===[Bz,vz].indexOf(d))break;u--}if(-1!==[wz,yz].indexOf(c))for(u=-1!==[dz,fz].indexOf(A)?s:o;u>=0;){var d;if((d=t[u])===bz)return Oz;if(-1===[Bz,vz].indexOf(d))break;u--}if(Sz===A&&-1!==[Sz,kz,jz,Fz].indexOf(c)||-1!==[kz,jz].indexOf(A)&&-1!==[kz,Uz].indexOf(c)||-1!==[Uz,Fz].indexOf(A)&&c===Uz)return Oz;if(-1!==Hz.indexOf(A)&&-1!==[pz,yz].indexOf(c)||-1!==Hz.indexOf(c)&&A===wz)return Oz;if(-1!==Tz.indexOf(A)&&-1!==Tz.indexOf(c))return Oz;if(A===vz&&-1!==Tz.indexOf(c))return Oz;if(-1!==Tz.concat(bz).indexOf(A)&&c===mz&&-1===Lz.indexOf(e[a])||-1!==Tz.concat(bz).indexOf(c)&&A===fz)return Oz;if(41===A&&41===c){for(var f=n[o],h=1;f>0&&41===t[--f];)h++;if(h%2!=0)return Oz}return A===Cz&&c===_z?Oz:Iz},Gz=function(e,t){t||(t={lineBreak:'normal',wordBreak:'normal'});var n=function(e,t){void 0===t&&(t='strict');var n=[],r=[],i=[];return e.forEach(function(e,o){var s=Nz.get(e);if(s>50?(i.push(!0),s-=50):i.push(!1),-1!==['normal','auto','loose'].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(16);if(4===s||11===s){if(0===o)return r.push(o),n.push(xz);var a=n[o-1];return-1===Rz.indexOf(a)?(r.push(r[o-1]),n.push(a)):(r.push(o),n.push(xz))}return r.push(o),31===s?n.push('strict'===t?gz:Ez):s===Qz||29===s?n.push(xz):43===s?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(Ez):n.push(xz):void n.push(s)}),[r,n,i]}(e,t.lineBreak),r=n[0],i=n[1],o=n[2];'break-all'!==t.wordBreak&&'break-word'!==t.wordBreak||(i=i.map(function(e){return-1!==[bz,xz,Qz].indexOf(e)?Ez:e}));var s='keep-all'===t.wordBreak?o.map(function(t,n){return t&&e[n]>=19968&&e[n]<=40959}):void 0;return[r,i,s]},Wz=function(){function e(e,t,n,r){this.codePoints=e,this.required='!'===t,this.start=n,this.end=r}return e.prototype.slice=function(){return JH.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Yz=45,Xz=43,Jz=-1,Zz=function(e){return e>=48&&e<=57},$z=function(e){return Zz(e)||e>=65&&e<=70||e>=97&&e<=102},eK=function(e){return 10===e||9===e||32===e},tK=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},nK=function(e){return tK(e)||Zz(e)||e===Yz},rK=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},iK=function(e,t){return 92===e&&10!==t},oK=function(e,t,n){return e===Yz?tK(t)||iK(t,n):!!tK(e)||!(92!==e||!iK(e,t))},sK=function(e,t,n){return e===Xz||e===Yz?!!Zz(t)||46===t&&Zz(n):Zz(46===e?t:e)},aK=function(e){var t=0,n=1;e[t]!==Xz&&e[t]!==Yz||(e[t]===Yz&&(n=-1),t++);for(var r=[];Zz(e[t]);)r.push(e[t++]);var i=r.length?parseInt(JH.apply(void 0,r),10):0;46===e[t]&&t++;for(var o=[];Zz(e[t]);)o.push(e[t++]);var s=o.length,a=s?parseInt(JH.apply(void 0,o),10):0;69!==e[t]&&101!==e[t]||t++;var A=1;e[t]!==Xz&&e[t]!==Yz||(e[t]===Yz&&(A=-1),t++);for(var l=[];Zz(e[t]);)l.push(e[t++]);var c=l.length?parseInt(JH.apply(void 0,l),10):0;return n*(i+a*Math.pow(10,-s))*Math.pow(10,A*c)},AK={type:2},lK={type:3},cK={type:4},uK={type:13},dK={type:8},fK={type:21},hK={type:9},pK={type:10},gK={type:11},mK={type:12},vK={type:14},bK={type:23},yK={type:1},wK={type:25},BK={type:24},xK={type:26},CK={type:27},_K={type:28},jK={type:29},FK={type:31},EK={type:32},SK=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(XH(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==EK;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(nK(t)||iK(n,r)){var i=oK(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:i}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),uK;break;case 39:return this.consumeStringToken(39);case 40:return AK;case 41:return lK;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),vK;break;case Xz:if(sK(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return cK;case Yz:var o=e,s=this.peekCodePoint(0),a=this.peekCodePoint(1);if(sK(o,s,a))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(oK(o,s,a))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===Yz&&62===a)return this.consumeCodePoint(),this.consumeCodePoint(),BK;break;case 46:if(sK(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var A=this.consumeCodePoint();if(42===A&&47===(A=this.consumeCodePoint()))return this.consumeToken();if(A===Jz)return this.consumeToken()}break;case 58:return xK;case 59:return CK;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===Yz&&this.peekCodePoint(2)===Yz)return this.consumeCodePoint(),this.consumeCodePoint(),wK;break;case 64:var l=this.peekCodePoint(0),c=this.peekCodePoint(1),u=this.peekCodePoint(2);if(oK(l,c,u))return{type:7,value:this.consumeName()};break;case 91:return _K;case 92:if(iK(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return jK;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),dK;break;case 123:return gK;case 125:return mK;case 117:case 85:var d=this.peekCodePoint(0),f=this.peekCodePoint(1);return d!==Xz||!$z(f)&&63!==f||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),hK;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),fK;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),pK;break;case Jz:return EK}return eK(e)?(this.consumeWhiteSpace(),FK):Zz(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):tK(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:JH(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();$z(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(JH.apply(void 0,e.map(function(e){return 63===e?48:e})),16),end:parseInt(JH.apply(void 0,e.map(function(e){return 63===e?70:e})),16)};var r=parseInt(JH.apply(void 0,e),16);if(this.peekCodePoint(0)===Yz&&$z(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];$z(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(JH.apply(void 0,i),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return'url'===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Jz)return{type:22,value:''};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Jz||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),bK)}for(;;){var r=this.consumeCodePoint();if(r===Jz||41===r)return{type:22,value:JH.apply(void 0,e)};if(eK(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Jz||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:JH.apply(void 0,e)}):(this.consumeBadUrlRemnants(),bK);if(34===r||39===r||40===r||rK(r))return this.consumeBadUrlRemnants(),bK;if(92===r){if(!iK(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),bK;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;eK(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===Jz)return;iK(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t='';e>0;){var n=Math.min(5e4,e);t+=JH.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t='',n=0;;){var r=this._value[n];if(r===Jz||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),yK;if(92===r){var i=this._value[n+1];i!==Jz&&void 0!==i&&(10===i?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):iK(r,i)&&(t+=this.consumeStringSlice(n),t+=JH(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(n!==Xz&&n!==Yz||e.push(this.consumeCodePoint());Zz(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&Zz(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;Zz(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((69===n||101===n)&&((r===Xz||r===Yz)&&Zz(i)||Zz(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;Zz(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[aK(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);return oK(r,i,o)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if($z(e)){for(var t=JH(e);$z(this.peekCodePoint(0))&&t.length<6;)t+=JH(this.consumeCodePoint());eK(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return e===Jz?65533:e},e.prototype.consumeName=function(){for(var e='';;){var t=this.consumeCodePoint();if(nK(t))e+=JH(t);else{if(!iK(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=JH(this.consumeEscapedCodePoint())}}},e}(),kK=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new SK;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError('Error parsing CSS component value, unexpected EOF');this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError('Error parsing CSS component value, multiple values found when expecting only one')},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||PK(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?EK:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),UK=function(e){return 15===e.type},QK=function(e){return 17===e.type},LK=function(e){return 20===e.type},OK=function(e){return 0===e.type},IK=function(e,t){return LK(e)&&e.value===t},NK=function(e){return 31!==e.type},TK=function(e){return 31!==e.type&&4!==e.type},MK=function(e){var t=[],n=[];return e.forEach(function(e){if(4===e.type){if(0===n.length)throw new Error('Error parsing function args, zero tokens for arg');return t.push(n),void(n=[])}31!==e.type&&n.push(e)}),n.length&&t.push(n),t},PK=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},DK=function(e){return 17===e.type||15===e.type},RK=function(e){return 16===e.type||DK(e)},HK=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},zK={type:17,number:0,flags:4},KK={type:16,number:50,flags:4},VK={type:16,number:100,flags:4},qK=function(e,t,n){var r=e[0],i=e[1];return[GK(r,t),GK(void 0!==i?i:r,n)]},GK=function(e,t){if(16===e.type)return e.number/100*t;if(UK(e))switch(e.unit){case'rem':case'em':return 16*e.number;default:return e.number}return e.number},WK='grad',YK='turn',XK=function(e,t){if(15===t.type)switch(t.unit){case'deg':return Math.PI*t.number/180;case WK:return Math.PI/200*t.number;case'rad':return t.number;case YK:return 2*Math.PI*t.number}throw new Error('Unsupported angle type')},JK=function(e){return 15===e.type&&('deg'===e.unit||e.unit===WK||'rad'===e.unit||e.unit===YK)},ZK=function(e){switch(e.filter(LK).map(function(e){return e.value}).join(' ')){case'to bottom right':case'to right bottom':case'left top':case'top left':return[zK,zK];case'to top':case'bottom':return $K(0);case'to bottom left':case'to left bottom':case'right top':case'top right':return[zK,VK];case'to right':case'left':return $K(90);case'to top left':case'to left top':case'right bottom':case'bottom right':return[VK,VK];case'to bottom':case'top':return $K(180);case'to top right':case'to right top':case'left bottom':case'bottom left':return[VK,zK];case'to left':case'right':return $K(270)}return 0},$K=function(e){return Math.PI*e/180},eV=function(e,t){if(18===t.type){var n=AV[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return rV(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===t.value.length){r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);var s=t.value.substring(3,4);return rV(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(s+s,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return rV(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(8===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),s=t.value.substring(6,8);return rV(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(s,16)/255)}}if(20===t.type){var a=cV[t.value.toUpperCase()];if(void 0!==a)return a}return cV.TRANSPARENT},tV=function(e){return!(255&e)},nV=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?'rgba('+i+','+r+','+n+','+t/255+')':'rgb('+i+','+r+','+n+')'},rV=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r))>>>0},iV=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},oV=function(e,t){var n=t.filter(TK);if(3===n.length){var r=n.map(iV),i=r[0],o=r[1],s=r[2];return rV(i,o,s,1)}if(4===n.length){var a=n.map(iV),A=(i=a[0],o=a[1],s=a[2],a[3]);return rV(i,o,s,A)}return 0};function sV(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var aV=function(e,t){var n=t.filter(TK),r=n[0],i=n[1],o=n[2],s=n[3],a=(17===r.type?$K(r.number):XK(e,r))/(2*Math.PI),A=RK(i)?i.number/100:0,l=RK(o)?o.number/100:0,c=void 0!==s&&RK(s)?GK(s,1):1;if(0===A)return rV(255*l,255*l,255*l,1);var u=l<=.5?l*(A+1):l+A-l*A,d=2*l-u,f=sV(d,u,a+1/3),h=sV(d,u,a),p=sV(d,u,a-1/3);return rV(255*f,255*h,255*p,c)},AV={hsl:aV,hsla:aV,rgb:oV,rgba:oV},lV=function(e,t){return eV(e,kK.create(t).parseComponentValue())},cV={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},uV={name:'background-clip',initialValue:'border-box',prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(LK(e))switch(e.value){case'padding-box':return 1;case'content-box':return 2}return 0})}},dV={name:'background-color',initialValue:'transparent',prefix:!1,type:3,format:'color'},fV=function(e,t){var n=eV(e,t[0]),r=t[1];return r&&RK(r)?{color:n,stop:r}:{color:n,stop:null}},hV=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=zK),null===r.stop&&(r.stop=VK);for(var i=[],o=0,s=0;s<e.length;s++){var a=e[s].stop;if(null!==a){var A=GK(a,t);A>o?i.push(A):i.push(o),o=A}else i.push(null)}var l=null;for(s=0;s<i.length;s++){var c=i[s];if(null===c)null===l&&(l=s);else if(null!==l){for(var u=s-l,d=(c-i[l-1])/(u+1),f=1;f<=u;f++)i[l+f-1]=d*f;l=null}}return e.map(function(e,n){return{color:e.color,stop:Math.max(Math.min(1,i[n]/t),0)}})},pV=function(e,t,n){var r='number'==typeof e?e:function(e,t,n){var r=t/2,i=n/2,o=GK(e[0],t)-r,s=i-GK(e[1],n);return(Math.atan2(s,o)+2*Math.PI)%(2*Math.PI)}(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,s=n/2,a=i/2,A=Math.sin(r-Math.PI/2)*a,l=Math.cos(r-Math.PI/2)*a;return[i,o-l,o+l,s-A,s+A]},gV=function(e,t){return Math.sqrt(e*e+t*t)},mV=function(e,t,n,r,i){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var o=t[0],s=t[1],a=gV(n-o,r-s);return(i?a<e.optimumDistance:a>e.optimumDistance)?{optimumCorner:t,optimumDistance:a}:e},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},vV=function(e,t){var n=$K(180),r=[];return MK(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&-1!==['top','left','right','bottom'].indexOf(o.value))return void(n=ZK(t));if(JK(o))return void(n=(XK(e,o)+$K(270))%$K(360))}var s=fV(e,t);r.push(s)}),{angle:n,stops:r,type:1}},bV='closest-side',yV='farthest-side',wV='closest-corner',BV='farthest-corner',xV='circle',CV='ellipse',_V='cover',jV='contain',FV=function(e,t){var n=0,r=3,i=[],o=[];return MK(t).forEach(function(t,s){var a=!0;if(0===s?a=t.reduce(function(e,t){if(LK(t))switch(t.value){case'center':return o.push(KK),!1;case'top':case'left':return o.push(zK),!1;case'right':case'bottom':return o.push(VK),!1}else if(RK(t)||DK(t))return o.push(t),!1;return e},a):1===s&&(a=t.reduce(function(e,t){if(LK(t))switch(t.value){case xV:return n=0,!1;case CV:return n=1,!1;case jV:case bV:return r=0,!1;case yV:return r=1,!1;case wV:return r=2,!1;case _V:case BV:return r=3,!1}else if(DK(t)||RK(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},a)),a){var A=fV(e,t);i.push(A)}}),{size:r,shape:n,stops:i,position:o,type:2}},EV=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=kV[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error('Unsupported image type '+t.type)};var SV,kV={'linear-gradient':function(e,t){var n=$K(180),r=[];return MK(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&'to'===o.value)return void(n=ZK(t));if(JK(o))return void(n=XK(e,o))}var s=fV(e,t);r.push(s)}),{angle:n,stops:r,type:1}},'-moz-linear-gradient':vV,'-ms-linear-gradient':vV,'-o-linear-gradient':vV,'-webkit-linear-gradient':vV,'radial-gradient':function(e,t){var n=0,r=3,i=[],o=[];return MK(t).forEach(function(t,s){var a=!0;if(0===s){var A=!1;a=t.reduce(function(e,t){if(A)if(LK(t))switch(t.value){case'center':return o.push(KK),e;case'top':case'left':return o.push(zK),e;case'right':case'bottom':return o.push(VK),e}else(RK(t)||DK(t))&&o.push(t);else if(LK(t))switch(t.value){case xV:return n=0,!1;case CV:return n=1,!1;case'at':return A=!0,!1;case bV:return r=0,!1;case _V:case yV:return r=1,!1;case jV:case wV:return r=2,!1;case BV:return r=3,!1}else if(DK(t)||RK(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},a)}if(a){var l=fV(e,t);i.push(l)}}),{size:r,shape:n,stops:i,position:o,type:2}},'-moz-radial-gradient':FV,'-ms-radial-gradient':FV,'-o-radial-gradient':FV,'-webkit-radial-gradient':FV,'-webkit-gradient':function(e,t){var n=$K(180),r=[],i=1;return MK(t).forEach(function(t,n){var o=t[0];if(0===n){if(LK(o)&&'linear'===o.value)return void(i=1);if(LK(o)&&'radial'===o.value)return void(i=2)}if(18===o.type)if('from'===o.name){var s=eV(e,o.values[0]);r.push({stop:zK,color:s})}else if('to'===o.name){s=eV(e,o.values[0]);r.push({stop:VK,color:s})}else if('color-stop'===o.name){var a=o.values.filter(TK);if(2===a.length){s=eV(e,a[1]);var A=a[0];QK(A)&&r.push({stop:{type:16,number:100*A.number,flags:A.flags},color:s})}}}),1===i?{angle:(n+$K(180))%$K(360),stops:r,type:i}:{size:3,shape:0,stops:r,position:[],type:i}}},UV={name:'background-image',initialValue:'none',type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&'none'===n.value?[]:t.filter(function(e){return TK(e)&&function(e){return!(20===e.type&&'none'===e.value||18===e.type&&!kV[e.name])}(e)}).map(function(t){return EV(e,t)})}},QV={name:'background-origin',initialValue:'border-box',prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(LK(e))switch(e.value){case'padding-box':return 1;case'content-box':return 2}return 0})}},LV={name:'background-position',initialValue:'0% 0%',type:1,prefix:!1,parse:function(e,t){return MK(t).map(function(e){return e.filter(RK)}).map(HK)}},OV={name:'background-repeat',initialValue:'repeat',prefix:!1,type:1,parse:function(e,t){return MK(t).map(function(e){return e.filter(LK).map(function(e){return e.value}).join(' ')}).map(IV)}},IV=function(e){switch(e){case'no-repeat':return 1;case'repeat-x':case'repeat no-repeat':return 2;case'repeat-y':case'no-repeat repeat':return 3;default:return 0}};!function(e){e.AUTO='auto',e.CONTAIN='contain',e.COVER='cover'}(SV||(SV={}));var NV,TV={name:'background-size',initialValue:'0',prefix:!1,type:1,parse:function(e,t){return MK(t).map(function(e){return e.filter(MV)})}},MV=function(e){return LK(e)||RK(e)},PV=function(e){return{name:'border-'+e+'-color',initialValue:'transparent',prefix:!1,type:3,format:'color'}},DV=PV('top'),RV=PV('right'),HV=PV('bottom'),zV=PV('left'),KV=function(e){return{name:'border-radius-'+e,initialValue:'0 0',prefix:!1,type:1,parse:function(e,t){return HK(t.filter(RK))}}},VV=KV('top-left'),qV=KV('top-right'),GV=KV('bottom-right'),WV=KV('bottom-left'),YV=function(e){return{name:'border-'+e+'-style',initialValue:'solid',prefix:!1,type:2,parse:function(e,t){switch(t){case'none':return 0;case'dashed':return 2;case'dotted':return 3;case'double':return 4}return 1}}},XV=YV('top'),JV=YV('right'),ZV=YV('bottom'),$V=YV('left'),eq=function(e){return{name:'border-'+e+'-width',initialValue:'0',type:0,prefix:!1,parse:function(e,t){return UK(t)?t.number:0}}},tq=eq('top'),nq=eq('right'),rq=eq('bottom'),iq=eq('left'),oq={name:'color',initialValue:'transparent',prefix:!1,type:3,format:'color'},sq={name:'direction',initialValue:'ltr',prefix:!1,type:2,parse:function(e,t){return'rtl'===t?1:0}},aq={name:'display',initialValue:'inline-block',prefix:!1,type:1,parse:function(e,t){return t.filter(LK).reduce(function(e,t){return e|Aq(t.value)},0)}},Aq=function(e){switch(e){case'block':case'-webkit-box':return 2;case'inline':return 4;case'run-in':return 8;case'flow':return 16;case'flow-root':return 32;case'table':return 64;case'flex':case'-webkit-flex':return 128;case'grid':case'-ms-grid':return 256;case'ruby':return 512;case'subgrid':return 1024;case'list-item':return 2048;case'table-row-group':return 4096;case'table-header-group':return 8192;case'table-footer-group':return 16384;case'table-row':return 32768;case'table-cell':return 65536;case'table-column-group':return 131072;case'table-column':return 262144;case'table-caption':return 524288;case'ruby-base':return 1048576;case'ruby-text':return 2097152;case'ruby-base-container':return 4194304;case'ruby-text-container':return 8388608;case'contents':return 16777216;case'inline-block':return 33554432;case'inline-list-item':return 67108864;case'inline-table':return 134217728;case'inline-flex':return 268435456;case'inline-grid':return 536870912}return 0},lq={name:'float',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'left':return 1;case'right':return 2;case'inline-start':return 3;case'inline-end':return 4}return 0}},cq={name:'letter-spacing',initialValue:'0',prefix:!1,type:0,parse:function(e,t){return 20===t.type&&'normal'===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL='normal',e.STRICT='strict'}(NV||(NV={}));var uq,dq={name:'line-break',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){return'strict'===t?NV.STRICT:NV.NORMAL}},fq={name:'line-height',initialValue:'normal',prefix:!1,type:4},hq=function(e,t){return LK(e)&&'normal'===e.value?1.2*t:17===e.type?t*e.number:RK(e)?GK(e,t):t},pq={name:'list-style-image',initialValue:'none',type:0,prefix:!1,parse:function(e,t){return 20===t.type&&'none'===t.value?null:EV(e,t)}},gq={name:'list-style-position',initialValue:'outside',prefix:!1,type:2,parse:function(e,t){return'inside'===t?0:1}},mq={name:'list-style-type',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'disc':return 0;case'circle':return 1;case'square':return 2;case'decimal':return 3;case'cjk-decimal':return 4;case'decimal-leading-zero':return 5;case'lower-roman':return 6;case'upper-roman':return 7;case'lower-greek':return 8;case'lower-alpha':return 9;case'upper-alpha':return 10;case'arabic-indic':return 11;case'armenian':return 12;case'bengali':return 13;case'cambodian':return 14;case'cjk-earthly-branch':return 15;case'cjk-heavenly-stem':return 16;case'cjk-ideographic':return 17;case'devanagari':return 18;case'ethiopic-numeric':return 19;case'georgian':return 20;case'gujarati':return 21;case'gurmukhi':case'hebrew':return 22;case'hiragana':return 23;case'hiragana-iroha':return 24;case'japanese-formal':return 25;case'japanese-informal':return 26;case'kannada':return 27;case'katakana':return 28;case'katakana-iroha':return 29;case'khmer':return 30;case'korean-hangul-formal':return 31;case'korean-hanja-formal':return 32;case'korean-hanja-informal':return 33;case'lao':return 34;case'lower-armenian':return 35;case'malayalam':return 36;case'mongolian':return 37;case'myanmar':return 38;case'oriya':return 39;case'persian':return 40;case'simp-chinese-formal':return 41;case'simp-chinese-informal':return 42;case'tamil':return 43;case'telugu':return 44;case'thai':return 45;case'tibetan':return 46;case'trad-chinese-formal':return 47;case'trad-chinese-informal':return 48;case'upper-armenian':return 49;case'disclosure-open':return 50;case'disclosure-closed':return 51;default:return-1}}},vq=function(e){return{name:'margin-'+e,initialValue:'0',prefix:!1,type:4}},bq=vq('top'),yq=vq('right'),wq=vq('bottom'),Bq=vq('left'),xq={name:'overflow',initialValue:'visible',prefix:!1,type:1,parse:function(e,t){return t.filter(LK).map(function(e){switch(e.value){case'hidden':return 1;case'scroll':return 2;case'clip':return 3;case'auto':return 4;default:return 0}})}},Cq={name:'overflow-wrap',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){return'break-word'===t?'break-word':'normal'}},_q=function(e){return{name:'padding-'+e,initialValue:'0',prefix:!1,type:3,format:'length-percentage'}},jq=_q('top'),Fq=_q('right'),Eq=_q('bottom'),Sq=_q('left'),kq={name:'text-align',initialValue:'left',prefix:!1,type:2,parse:function(e,t){switch(t){case'right':return 2;case'center':case'justify':return 1;default:return 0}}},Uq={name:'position',initialValue:'static',prefix:!1,type:2,parse:function(e,t){switch(t){case'relative':return 1;case'absolute':return 2;case'fixed':return 3;case'sticky':return 4}return 0}},Qq={name:'text-shadow',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return 1===t.length&&IK(t[0],'none')?[]:MK(t).map(function(t){for(var n={color:cV.TRANSPARENT,offsetX:zK,offsetY:zK,blur:zK},r=0,i=0;i<t.length;i++){var o=t[i];DK(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:n.blur=o,r++):n.color=eV(e,o)}return n})}},Lq={name:'text-transform',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'uppercase':return 2;case'lowercase':return 1;case'capitalize':return 3}return 0}},Oq={name:'transform',initialValue:'none',prefix:!0,type:0,parse:function(e,t){if(20===t.type&&'none'===t.value)return null;if(18===t.type){var n=Iq[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},Iq={matrix:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number}),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],a=t[13];return t[14],t[15],16===t.length?[n,r,i,o,s,a]:null}},Nq={type:16,number:50,flags:4},Tq=[Nq,Nq],Mq={name:'transform-origin',initialValue:'50% 50%',prefix:!0,type:1,parse:function(e,t){var n=t.filter(RK);return 2!==n.length?Tq:[n[0],n[1]]}},Pq={name:'visible',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'hidden':return 1;case'collapse':return 2;default:return 0}}};!function(e){e.NORMAL='normal',e.BREAK_ALL='break-all',e.KEEP_ALL='keep-all'}(uq||(uq={}));for(var Dq={name:'word-break',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){switch(t){case'break-all':return uq.BREAK_ALL;case'keep-all':return uq.KEEP_ALL;default:return uq.NORMAL}}},Rq={name:'z-index',initialValue:'auto',prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(QK(t))return{auto:!1,order:t.number};throw new Error('Invalid z-index number parsed')}},Hq=function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case's':return 1e3*t.number;case'ms':return t.number}throw new Error('Unsupported time type')},zq={name:'opacity',initialValue:'1',type:0,prefix:!1,parse:function(e,t){return QK(t)?t.number:1}},Kq={name:'text-decoration-color',initialValue:'transparent',prefix:!1,type:3,format:'color'},Vq={name:'text-decoration-line',initialValue:'none',prefix:!1,type:1,parse:function(e,t){return t.filter(LK).map(function(e){switch(e.value){case'underline':return 1;case'overline':return 2;case'line-through':return 3;case'none':return 4}return 0}).filter(function(e){return 0!==e})}},qq={name:'font-family',initialValue:'',prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(' ')),n.length=0}}),n.length&&r.push(n.join(' ')),r.map(function(e){return-1===e.indexOf(' ')?e:'\''+e+'\''})}},Gq={name:'font-size',initialValue:'0',prefix:!1,type:3,format:'length'},Wq={name:'font-weight',initialValue:'normal',type:0,prefix:!1,parse:function(e,t){return QK(t)?t.number:LK(t)&&'bold'===t.value?700:400}},Yq={name:'font-variant',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return t.filter(LK).map(function(e){return e.value})}},Xq={name:'font-style',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){switch(t){case'oblique':return'oblique';case'italic':return'italic';default:return'normal'}}},Jq=function(e,t){return 0!==(e&t)},Zq={name:'content',initialValue:'none',type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&'none'===n.value?[]:t}},$q={name:'counter-increment',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&'none'===n.value)return null;for(var r=[],i=t.filter(NK),o=0;o<i.length;o++){var s=i[o],a=i[o+1];if(20===s.type){var A=a&&QK(a)?a.number:1;r.push({counter:s.value,increment:A})}}return r}},eG={name:'counter-reset',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(NK),i=0;i<r.length;i++){var o=r[i],s=r[i+1];if(LK(o)&&'none'!==o.value){var a=s&&QK(s)?s.number:0;n.push({counter:o.value,reset:a})}}return n}},tG={name:'duration',initialValue:'0s',prefix:!1,type:1,parse:function(e,t){return t.filter(UK).map(function(t){return Hq(e,t)})}},nG={name:'quotes',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&'none'===n.value)return null;var r=[],i=t.filter(OK);if(i.length%2!=0)return null;for(var o=0;o<i.length;o+=2){var s=i[o].value,a=i[o+1].value;r.push({open:s,close:a})}return r}},rG=function(e,t,n){if(!e)return'';var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:''},iG={name:'box-shadow',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return 1===t.length&&IK(t[0],'none')?[]:MK(t).map(function(t){for(var n={color:255,offsetX:zK,offsetY:zK,blur:zK,spread:zK,inset:!1},r=0,i=0;i<t.length;i++){var o=t[i];IK(o,'inset')?n.inset=!0:DK(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:2===r?n.blur=o:n.spread=o,r++):n.color=eV(e,o)}return n})}},oG={name:'paint-order',initialValue:'normal',prefix:!1,type:1,parse:function(e,t){var n=[];return t.filter(LK).forEach(function(e){switch(e.value){case'stroke':n.push(1);break;case'fill':n.push(0);break;case'markers':n.push(2)}}),[0,1,2].forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),n}},sG={name:'-webkit-text-stroke-color',initialValue:'currentcolor',prefix:!1,type:3,format:'color'},aG={name:'-webkit-text-stroke-width',initialValue:'0',type:0,prefix:!1,parse:function(e,t){return UK(t)?t.number:0}},AG=function(){function e(e,t){var n,r;this.animationDuration=uG(e,tG,t.animationDuration),this.backgroundClip=uG(e,uV,t.backgroundClip),this.backgroundColor=uG(e,dV,t.backgroundColor),this.backgroundImage=uG(e,UV,t.backgroundImage),this.backgroundOrigin=uG(e,QV,t.backgroundOrigin),this.backgroundPosition=uG(e,LV,t.backgroundPosition),this.backgroundRepeat=uG(e,OV,t.backgroundRepeat),this.backgroundSize=uG(e,TV,t.backgroundSize),this.borderTopColor=uG(e,DV,t.borderTopColor),this.borderRightColor=uG(e,RV,t.borderRightColor),this.borderBottomColor=uG(e,HV,t.borderBottomColor),this.borderLeftColor=uG(e,zV,t.borderLeftColor),this.borderTopLeftRadius=uG(e,VV,t.borderTopLeftRadius),this.borderTopRightRadius=uG(e,qV,t.borderTopRightRadius),this.borderBottomRightRadius=uG(e,GV,t.borderBottomRightRadius),this.borderBottomLeftRadius=uG(e,WV,t.borderBottomLeftRadius),this.borderTopStyle=uG(e,XV,t.borderTopStyle),this.borderRightStyle=uG(e,JV,t.borderRightStyle),this.borderBottomStyle=uG(e,ZV,t.borderBottomStyle),this.borderLeftStyle=uG(e,$V,t.borderLeftStyle),this.borderTopWidth=uG(e,tq,t.borderTopWidth),this.borderRightWidth=uG(e,nq,t.borderRightWidth),this.borderBottomWidth=uG(e,rq,t.borderBottomWidth),this.borderLeftWidth=uG(e,iq,t.borderLeftWidth),this.boxShadow=uG(e,iG,t.boxShadow),this.color=uG(e,oq,t.color),this.direction=uG(e,sq,t.direction),this.display=uG(e,aq,t.display),this.float=uG(e,lq,t.cssFloat),this.fontFamily=uG(e,qq,t.fontFamily),this.fontSize=uG(e,Gq,t.fontSize),this.fontStyle=uG(e,Xq,t.fontStyle),this.fontVariant=uG(e,Yq,t.fontVariant),this.fontWeight=uG(e,Wq,t.fontWeight),this.letterSpacing=uG(e,cq,t.letterSpacing),this.lineBreak=uG(e,dq,t.lineBreak),this.lineHeight=uG(e,fq,t.lineHeight),this.listStyleImage=uG(e,pq,t.listStyleImage),this.listStylePosition=uG(e,gq,t.listStylePosition),this.listStyleType=uG(e,mq,t.listStyleType),this.marginTop=uG(e,bq,t.marginTop),this.marginRight=uG(e,yq,t.marginRight),this.marginBottom=uG(e,wq,t.marginBottom),this.marginLeft=uG(e,Bq,t.marginLeft),this.opacity=uG(e,zq,t.opacity);var i=uG(e,xq,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=uG(e,Cq,t.overflowWrap),this.paddingTop=uG(e,jq,t.paddingTop),this.paddingRight=uG(e,Fq,t.paddingRight),this.paddingBottom=uG(e,Eq,t.paddingBottom),this.paddingLeft=uG(e,Sq,t.paddingLeft),this.paintOrder=uG(e,oG,t.paintOrder),this.position=uG(e,Uq,t.position),this.textAlign=uG(e,kq,t.textAlign),this.textDecorationColor=uG(e,Kq,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=uG(e,Vq,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=uG(e,Qq,t.textShadow),this.textTransform=uG(e,Lq,t.textTransform),this.transform=uG(e,Oq,t.transform),this.transformOrigin=uG(e,Mq,t.transformOrigin),this.visibility=uG(e,Pq,t.visibility),this.webkitTextStrokeColor=uG(e,sG,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=uG(e,aG,t.webkitTextStrokeWidth),this.wordBreak=uG(e,Dq,t.wordBreak),this.zIndex=uG(e,Rq,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return tV(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return Jq(this.display,4)||Jq(this.display,33554432)||Jq(this.display,268435456)||Jq(this.display,536870912)||Jq(this.display,67108864)||Jq(this.display,134217728)},e}(),lG=function(e,t){this.content=uG(e,Zq,t.content),this.quotes=uG(e,nG,t.quotes)},cG=function(e,t){this.counterIncrement=uG(e,$q,t.counterIncrement),this.counterReset=uG(e,eG,t.counterReset)},uG=function(e,t,n){var r=new SK,i=null!=n?n.toString():t.initialValue;r.write(i);var o=new kK(r.read());switch(t.type){case 2:var s=o.parseComponentValue();return t.parse(e,LK(s)?s.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case'angle':return XK(e,o.parseComponentValue());case'color':return eV(e,o.parseComponentValue());case'image':return EV(e,o.parseComponentValue());case'length':var a=o.parseComponentValue();return DK(a)?a:zK;case'length-percentage':var A=o.parseComponentValue();return RK(A)?A:zK;case'time':return Hq(e,o.parseComponentValue())}}},dG=function(e,t){var n=function(e){switch(e.getAttribute('data-html2canvas-debug')){case'all':return 1;case'clone':return 2;case'parse':return 3;case'render':return 4;default:return 0}}(e);return 1===n||t===n},fG=function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,dG(t,3),this.styles=new AG(e,window.getComputedStyle(t,null)),mW(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration='0s'),null!==this.styles.transform&&(t.style.transform='none')),this.bounds=YH(this.context,t),dG(t,4)&&(this.flags|=16)},hG='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',pG='undefined'==typeof Uint8Array?[]:new Uint8Array(256),gG=0;gG<64;gG++)pG[hG.charCodeAt(gG)]=gG;for(var mG=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},vG=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),bG='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',yG='undefined'==typeof Uint8Array?[]:new Uint8Array(256),wG=0;wG<64;wG++)yG[bG.charCodeAt(wG)]=wG;var BG,xG=8,CG=9,_G=11,jG=12,FG=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return'';for(var r=[],i=-1,o='';++i<n;){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},EG=function(e){var t=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,A=0;'='===e[e.length-1]&&(s--,'='===e[e.length-2]&&s--);var l='undefined'!=typeof ArrayBuffer&&'undefined'!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<a;t+=4)n=pG[e.charCodeAt(t)],r=pG[e.charCodeAt(t+1)],i=pG[e.charCodeAt(t+2)],o=pG[e.charCodeAt(t+3)],c[A++]=n<<2|r>>4,c[A++]=(15&r)<<4|i>>2,c[A++]=(3&i)<<6|63&o;return l}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=mG(r,12,n[4]/2),o=2===n[5]?mG(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new vG(n[0],n[1],n[2],n[3],i,o)}('AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA='),SG='×',kG=function(e){return EG.get(e)},UG=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],s=t[n];if(2===o&&3===s)return SG;if(2===o||3===o||4===o)return'÷';if(2===s||3===s||4===s)return'÷';if(o===xG&&-1!==[xG,CG,_G,jG].indexOf(s))return SG;if(!(o!==_G&&o!==CG||s!==CG&&10!==s))return SG;if((o===jG||10===o)&&10===s)return SG;if(13===s||5===s)return SG;if(7===s)return SG;if(1===o)return SG;if(13===o&&14===s){for(;5===i;)i=t[--r];if(14===i)return SG}if(15===o&&15===s){for(var a=0;15===i;)a++,i=t[--r];if(a%2==0)return SG}return'÷'},QG=function(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e),n=t.length,r=0,i=0,o=t.map(kG);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=SG;r<n&&(e=UG(0,o,++r))===SG;);if(e!==SG||r===n){var s=FG.apply(null,t.slice(i,r));return i=r,{value:s,done:!1}}return{done:!0,value:null}}}},LG=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},OG=function(e,t,n,r,i){var o='http://www.w3.org/2000/svg',s=document.createElementNS(o,'svg'),a=document.createElementNS(o,'foreignObject');return s.setAttributeNS(null,'width',e.toString()),s.setAttributeNS(null,'height',t.toString()),a.setAttributeNS(null,'width','100%'),a.setAttributeNS(null,'height','100%'),a.setAttributeNS(null,'x',n.toString()),a.setAttributeNS(null,'y',r.toString()),a.setAttributeNS(null,'externalResourcesRequired','true'),s.appendChild(a),a.appendChild(i),s},IG=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src='data:image/svg+xml;charset=utf-8,'+encodeURIComponent((new XMLSerializer).serializeToString(e))})},NG={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement('boundtest');n.style.height='123px',n.style.display='block',e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(n),123===i)return!0}}return!1}(document);return Object.defineProperty(NG,'SUPPORT_RANGE_BOUNDS',{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=NG.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement('boundtest');t.style.width='50px',t.style.display='block',t.style.fontSize='12px',t.style.letterSpacing='0px',t.style.wordSpacing='0px',e.body.appendChild(t);var n=e.createRange();t.innerHTML='function'==typeof''.repeat?'👨'.repeat(10):'';var r=t.firstChild,i=XH(r.data).map(function(e){return JH(e)}),o=0,s={},a=i.every(function(e,t){n.setStart(r,o),n.setEnd(r,o+e.length);var i=n.getBoundingClientRect();o+=e.length;var a=i.x>s.x||i.y>s.y;return s=i,0===t||a});return e.body.removeChild(t),a}(document);return Object.defineProperty(NG,'SUPPORT_WORD_BREAKING',{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement('canvas'),r=n.getContext('2d');if(!r)return!1;t.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\'></svg>';try{r.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(NG,'SUPPORT_SVG_DRAWING',{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e='function'==typeof Array.from&&'function'==typeof window.fetch?function(e){var t=e.createElement('canvas'),n=100;t.width=n,t.height=n;var r=t.getContext('2d');if(!r)return Promise.reject(!1);r.fillStyle='rgb(0, 255, 0)',r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var s=OG(n,n,0,0,i);return r.fillStyle='red',r.fillRect(0,0,n,n),IG(s).then(function(t){r.drawImage(t,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle='red',r.fillRect(0,0,n,n);var s=e.createElement('div');return s.style.backgroundImage='url('+o+')',s.style.height=n+'px',LG(i)?IG(OG(n,n,0,0,s)):Promise.reject(!1)}).then(function(e){return r.drawImage(e,0,0),LG(r.getImageData(0,0,n,n).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(NG,'SUPPORT_FOREIGNOBJECT_DRAWING',{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(NG,'SUPPORT_CORS_IMAGES',{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e='string'==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(NG,'SUPPORT_RESPONSE_TYPE',{value:e}),e},get SUPPORT_CORS_XHR(){var e='withCredentials'in new XMLHttpRequest;return Object.defineProperty(NG,'SUPPORT_CORS_XHR',{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!('undefined'==typeof Intl||!Intl.Segmenter);return Object.defineProperty(NG,'SUPPORT_NATIVE_TEXT_SEGMENTATION',{value:e}),e}},TG=function(e,t){this.text=e,this.bounds=t},MG=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement('html2canvaswrapper');r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=YH(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return WH.EMPTY},PG=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error('Node has no owner document');var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},DG=function(e){if(NG.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:'grapheme'});return Array.from(t.segment(e)).map(function(e){return e.segment})}return function(e){for(var t,n=QG(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},RG=function(e,t){return 0!==t.letterSpacing?DG(e):function(e,t){if(NG.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:'word'});return Array.from(n.segment(e)).map(function(e){return e.segment})}return zG(e,t)}(e,t)},HG=[32,160,4961,65792,65793,4153,4241],zG=function(e,t){for(var n,r=function(e,t){var n=XH(e),r=Gz(n,t),i=r[0],o=r[1],s=r[2],a=n.length,A=0,l=0;return{next:function(){if(l>=a)return{done:!0,value:null};for(var e=Oz;l<a&&(e=qz(n,o,i,++l,s))===Oz;);if(e!==Oz||l===a){var t=new Wz(n,e,A,l);return A=l,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:'break-word'===t.overflowWrap?'break-word':t.wordBreak}),i=[],o=function(){if(n.value){var e=n.value.slice(),t=XH(e),r='';t.forEach(function(e){-1===HG.indexOf(e)?r+=JH(e):(r.length&&i.push(r),i.push(JH(e)),r='')}),r.length&&i.push(r)}};!(n=r.next()).done;)o();return i},KG=function(e,t,n){this.text=VG(t.data,n.textTransform),this.textBounds=function(e,t,n,r){var i=RG(t,n),o=[],s=0;return i.forEach(function(t){if(n.textDecorationLine.length||t.trim().length>0)if(NG.SUPPORT_RANGE_BOUNDS){var i=PG(r,s,t.length).getClientRects();if(i.length>1){var a=DG(t),A=0;a.forEach(function(t){o.push(new TG(t,WH.fromDOMRectList(e,PG(r,A+s,t.length).getClientRects()))),A+=t.length})}else o.push(new TG(t,WH.fromDOMRectList(e,i)))}else{var l=r.splitText(t.length);o.push(new TG(t,MG(e,r))),r=l}else NG.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length}),o}(e,this.text,n,t)},VG=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(qG,GG);case 2:return e.toUpperCase();default:return e}},qG=/(^|\s|:|-|\(|\))([a-z])/g,GG=function(e,t,n){return e.length>0?t+n.toUpperCase():e},WG=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return KH(t,e),t}(fG),YG=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return KH(t,e),t}(fG),XG=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=new XMLSerializer,o=YH(t,n);return n.setAttribute('width',o.width+'px'),n.setAttribute('height',o.height+'px'),r.svg='data:image/svg+xml,'+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return KH(t,e),t}(fG),JG=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return KH(t,e),t}(fG),ZG=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed='boolean'==typeof n.reversed&&!0===n.reversed,r}return KH(t,e),t}(fG),$G=[{type:15,flags:0,unit:'px',number:3}],eW=[{type:16,flags:0,number:50}],tW='checkbox',nW='radio',rW='password',iW=707406591,oW=function(e){function t(t,n){var r,i,o,s=e.call(this,t,n)||this;switch(s.type=n.type.toLowerCase(),s.checked=n.checked,s.value=0===(i=(r=n).type===rW?new Array(r.value.length+1).join('•'):r.value).length?r.placeholder||'':i,s.type!==tW&&s.type!==nW||(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=(o=s.bounds).width>o.height?new WH(o.left+(o.width-o.height)/2,o.top,o.height,o.height):o.width<o.height?new WH(o.left,o.top+(o.height-o.width)/2,o.width,o.width):o),s.type){case tW:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=$G;break;case nW:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=eW}return s}return KH(t,e),t}(fG),sW=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||'',r}return KH(t,e),t}(fG),aW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return KH(t,e),t}(fG),AW=function(e){function t(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=dW(t,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?lV(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):cV.TRANSPARENT,o=n.contentWindow.document.body?lV(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):cV.TRANSPARENT;r.backgroundColor=tV(i)?tV(o)?r.styles.backgroundColor:o:i}}catch(e){}return r}return KH(t,e),t}(fG),lW=['OL','UL','MENU'],cW=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,pW(i)&&i.data.trim().length>0)n.textNodes.push(new KG(e,i,n.styles));else if(gW(i))if(UW(i)&&i.assignedNodes)i.assignedNodes().forEach(function(t){return cW(e,t,n,r)});else{var s=uW(e,i);s.styles.isVisible()&&(fW(i,s,r)?s.flags|=4:hW(s.styles)&&(s.flags|=2),-1!==lW.indexOf(i.tagName)&&(s.flags|=8),n.elements.push(s),i.slot,i.shadowRoot?cW(e,i.shadowRoot,s,r):SW(i)||BW(i)||kW(i)||cW(e,i,s,r))}},uW=function(e,t){return jW(t)?new WG(e,t):CW(t)?new YG(e,t):BW(t)?new XG(e,t):bW(t)?new JG(e,t):yW(t)?new ZG(e,t):wW(t)?new oW(e,t):kW(t)?new sW(e,t):SW(t)?new aW(e,t):FW(t)?new AW(e,t):new fG(e,t)},dW=function(e,t){var n=uW(e,t);return n.flags|=4,cW(e,t,n,n),n},fW=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||xW(e)&&n.styles.isTransparent()},hW=function(e){return e.isPositioned()||e.isFloating()},pW=function(e){return e.nodeType===Node.TEXT_NODE},gW=function(e){return e.nodeType===Node.ELEMENT_NODE},mW=function(e){return gW(e)&&void 0!==e.style&&!vW(e)},vW=function(e){return'object'==typeof e.className},bW=function(e){return'LI'===e.tagName},yW=function(e){return'OL'===e.tagName},wW=function(e){return'INPUT'===e.tagName},BW=function(e){return'svg'===e.tagName},xW=function(e){return'BODY'===e.tagName},CW=function(e){return'CANVAS'===e.tagName},_W=function(e){return'VIDEO'===e.tagName},jW=function(e){return'IMG'===e.tagName},FW=function(e){return'IFRAME'===e.tagName},EW=function(e){return'STYLE'===e.tagName},SW=function(e){return'TEXTAREA'===e.tagName},kW=function(e){return'SELECT'===e.tagName},UW=function(e){return'SLOT'===e.tagName},QW=function(e){return e.tagName.indexOf('-')>0},LW=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach(function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)});var o=[];return i&&r.forEach(function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)}),o},e}(),OW={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:['M','CM','D','CD','C','XC','L','XL','X','IX','V','IV','I']},IW={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:['Ք','Փ','Ւ','Ց','Ր','Տ','Վ','Ս','Ռ','Ջ','Պ','Չ','Ո','Շ','Ն','Յ','Մ','Ճ','Ղ','Ձ','Հ','Կ','Ծ','Խ','Լ','Ի','Ժ','Թ','Ը','Է','Զ','Ե','Դ','Գ','Բ','Ա']},NW={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:['י׳','ט׳','ח׳','ז׳','ו׳','ה׳','ד׳','ג׳','ב׳','א׳','ת','ש','ר','ק','צ','פ','ע','ס','נ','מ','ל','כ','יט','יח','יז','טז','טו','י','ט','ח','ז','ו','ה','ד','ג','ב','א']},TW={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:['ჵ','ჰ','ჯ','ჴ','ხ','ჭ','წ','ძ','ც','ჩ','შ','ყ','ღ','ქ','ფ','ჳ','ტ','ს','რ','ჟ','პ','ო','ჲ','ნ','მ','ლ','კ','ი','თ','ჱ','ზ','ვ','ე','დ','გ','ბ','ა']},MW=function(e,t,n,r,i,o){return e<t||e>n?GW(e,i,o.length>0):r.integers.reduce(function(t,n,i){for(;e>=n;)e-=n,t+=r.values[i];return t},'')+o},PW=function(e,t,n,r){var i='';do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},DW=function(e,t,n,r,i){var o=n-t+1;return(e<0?'-':'')+(PW(Math.abs(e),o,r,function(e){return JH(Math.floor(e%o)+t)})+i)},RW=function(e,t,n){void 0===n&&(n='. ');var r=t.length;return PW(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+n},HW=function(e,t,n,r,i,o){if(e<-9999||e>9999)return GW(e,4,i.length>0);var s=Math.abs(e),a=i;if(0===s)return t[0]+a;for(var A=0;s>0&&A<=4;A++){var l=s%10;0===l&&Jq(o,1)&&''!==a?a=t[l]+a:l>1||1===l&&0===A||1===l&&1===A&&Jq(o,2)||1===l&&1===A&&Jq(o,4)&&e>100||1===l&&A>1&&Jq(o,8)?a=t[l]+(A>0?n[A-1]:'')+a:1===l&&A>0&&(a=n[A-1]+a),s=Math.floor(s/10)}return(e<0?r:'')+a},zW='十百千萬',KW='拾佰仟萬',VW='マイナス',qW='마이너스',GW=function(e,t,n){var r=n?'. ':'',i=n?'、':'',o=n?', ':'',s=n?' ':'';switch(t){case 0:return'•'+s;case 1:return'◦'+s;case 2:return'◾'+s;case 5:var a=DW(e,48,57,!0,r);return a.length<4?'0'+a:a;case 4:return RW(e,'〇一二三四五六七八九',i);case 6:return MW(e,1,3999,OW,3,r).toLowerCase();case 7:return MW(e,1,3999,OW,3,r);case 8:return DW(e,945,969,!1,r);case 9:return DW(e,97,122,!1,r);case 10:return DW(e,65,90,!1,r);case 11:return DW(e,1632,1641,!0,r);case 12:case 49:return MW(e,1,9999,IW,3,r);case 35:return MW(e,1,9999,IW,3,r).toLowerCase();case 13:return DW(e,2534,2543,!0,r);case 14:case 30:return DW(e,6112,6121,!0,r);case 15:return RW(e,'子丑寅卯辰巳午未申酉戌亥',i);case 16:return RW(e,'甲乙丙丁戊己庚辛壬癸',i);case 17:case 48:return HW(e,'零一二三四五六七八九',zW,'負',i,14);case 47:return HW(e,'零壹貳參肆伍陸柒捌玖',KW,'負',i,15);case 42:return HW(e,'零一二三四五六七八九',zW,'负',i,14);case 41:return HW(e,'零壹贰叁肆伍陆柒捌玖',KW,'负',i,15);case 26:return HW(e,'〇一二三四五六七八九','十百千万',VW,i,0);case 25:return HW(e,'零壱弐参四伍六七八九','拾百千万',VW,i,7);case 31:return HW(e,'영일이삼사오육칠팔구','십백천만',qW,o,7);case 33:return HW(e,'零一二三四五六七八九','十百千萬',qW,o,0);case 32:return HW(e,'零壹貳參四五六七八九','拾百千',qW,o,7);case 18:return DW(e,2406,2415,!0,r);case 20:return MW(e,1,19999,TW,3,r);case 21:return DW(e,2790,2799,!0,r);case 22:return DW(e,2662,2671,!0,r);case 22:return MW(e,1,10999,NW,3,r);case 23:return RW(e,'あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん');case 24:return RW(e,'いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす');case 27:return DW(e,3302,3311,!0,r);case 28:return RW(e,'アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン',i);case 29:return RW(e,'イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス',i);case 34:return DW(e,3792,3801,!0,r);case 37:return DW(e,6160,6169,!0,r);case 38:return DW(e,4160,4169,!0,r);case 39:return DW(e,2918,2927,!0,r);case 40:return DW(e,1776,1785,!0,r);case 43:return DW(e,3046,3055,!0,r);case 44:return DW(e,3174,3183,!0,r);case 45:return DW(e,3664,3673,!0,r);case 46:return DW(e,3872,3881,!0,r);default:return DW(e,48,57,!0,r)}},WW='data-html2canvas-ignore',YW=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new LW,this.quoteDepth=0,!t.ownerDocument)throw new Error('Cloned element does not have an owner document');this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,r=JW(e,t);if(!r.contentWindow)return Promise.reject('Unable to find iframe window');var i=e.defaultView.pageXOffset,o=e.defaultView.pageYOffset,s=r.contentWindow,a=s.document,A=eY(r).then(function(){return qH(n,void 0,void 0,function(){var e,n;return GH(this,function(i){switch(i.label){case 0:return this.scrolledElements.forEach(oY),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(this.context.logger.warn('Unable to restore scroll position for cloned document'),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject('Error finding the '+this.referenceElement.nodeName+' in the cloned document')]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,$W(a)]:[3,4];case 3:i.sent(),i.label=4;case 4:return'function'==typeof e?[2,Promise.resolve().then(function(){return e(a,n)}).then(function(){return r})]:[2,r]}})})});return a.open(),a.write(rY(document.doctype)+'<html></html>'),iY(this.referenceElement.ownerDocument,i,o),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),A},e.prototype.createElementClone=function(e){if(dG(e,2),CW(e))return this.createCanvasClone(e);if(_W(e))return this.createVideoClone(e);if(EW(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return jW(t)&&(jW(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=''),'lazy'===t.loading&&(t.loading='eager')),QW(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement('html2canvascustomelement');return nY(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&'string'==typeof t.cssText?e+t.cssText:e},''),r=e.cloneNode(!1);return r.textContent=n,r}}catch(e){if(this.context.logger.error('Unable to access cssRules property',e),'SecurityError'!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement('img');try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info('Unable to inline canvas contents, canvas is tainted',e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var i=e.getContext('2d'),o=r.getContext('2d');if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var s=null!==(t=e.getContext('webgl2'))&&void 0!==t?t:e.getContext('webgl');if(s){var a=s.getContextAttributes();!1===(null==a?void 0:a.preserveDrawingBuffer)&&this.context.logger.warn('Unable to clone WebGL context as it has preserveDrawingBuffer=false',e)}o.drawImage(e,0,0)}return r}catch(t){this.context.logger.info('Unable to clone canvas as it is tainted',e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement('canvas');t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext('2d');try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info('Unable to clone video as it is tainted',e)}var r=e.ownerDocument.createElement('canvas');return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){gW(t)&&('SCRIPT'===t.tagName||t.hasAttribute(WW)||'function'==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&gW(t)&&EW(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(gW(i)&&UW(i)&&'function'==typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach(function(e){return r.appendChildNode(t,e,n)})}else this.appendChildNode(t,i,n)},e.prototype.cloneNode=function(e,t){if(pW(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&gW(e)&&(mW(e)||vW(e))){var r=this.createElementClone(e);r.style.transitionProperty='none';var i=n.getComputedStyle(e),o=n.getComputedStyle(e,':before'),s=n.getComputedStyle(e,':after');this.referenceElement===e&&mW(r)&&(this.clonedReferenceElement=r),xW(r)&&lY(r);var a=this.counters.parse(new cG(this.context,i)),A=this.resolvePseudoContent(e,r,o,BG.BEFORE);QW(e)&&(t=!0),_W(e)||this.cloneChildNodes(e,r,t),A&&r.insertBefore(A,r.firstChild);var l=this.resolvePseudoContent(e,r,s,BG.AFTER);return l&&r.appendChild(l),this.counters.pop(a),(i&&(this.options.copyStyles||vW(e))&&!FW(e)||t)&&nY(i,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(SW(e)||kW(e))&&(SW(r)||kW(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,s=t.ownerDocument;if(s&&o&&'none'!==o&&'-moz-alt-content'!==o&&'none'!==n.display){this.counters.parse(new cG(this.context,n));var a=new lG(this.context,n),A=s.createElement('html2canvaspseudoelement');nY(n,A),a.content.forEach(function(t){if(0===t.type)A.appendChild(s.createTextNode(t.value));else if(22===t.type){var n=s.createElement('img');n.src=t.value,n.style.opacity='1',A.appendChild(n)}else if(18===t.type){if('attr'===t.name){var r=t.values.filter(LK);r.length&&A.appendChild(s.createTextNode(e.getAttribute(r[0].value)||''))}else if('counter'===t.name){var o=t.values.filter(TK),l=o[0],c=o[1];if(l&&LK(l)){var u=i.counters.getCounterValue(l.value),d=c&&LK(c)?mq.parse(i.context,c.value):3;A.appendChild(s.createTextNode(GW(u,d,!1)))}}else if('counters'===t.name){var f=t.values.filter(TK),h=(l=f[0],f[1]);c=f[2];if(l&&LK(l)){var p=i.counters.getCounterValues(l.value),g=c&&LK(c)?mq.parse(i.context,c.value):3,m=h&&0===h.type?h.value:'',v=p.map(function(e){return GW(e,g,!1)}).join(m);A.appendChild(s.createTextNode(v))}}}else if(20===t.type)switch(t.value){case'open-quote':A.appendChild(s.createTextNode(rG(a.quotes,i.quoteDepth++,!0)));break;case'close-quote':A.appendChild(s.createTextNode(rG(a.quotes,--i.quoteDepth,!1)));break;default:A.appendChild(s.createTextNode(t.value))}}),A.className=sY+' '+aY;var l=r===BG.BEFORE?' '+sY:' '+aY;return vW(t)?t.className.baseValue+=l:t.className+=l,A}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]='BEFORE',e[e.AFTER=1]='AFTER'}(BG||(BG={}));var XW,JW=function(e,t){var n=e.createElement('iframe');return n.className='html2canvas-container',n.style.visibility='hidden',n.style.position='fixed',n.style.left='-10000px',n.style.top='0px',n.style.border='0',n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling='no',n.setAttribute(WW,'true'),e.body.appendChild(n),n},ZW=function(e){return new Promise(function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()})},$W=function(e){return Promise.all([].slice.call(e.images,0).map(ZW))},eY=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n('No window assigned for iframe');var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){i.body.childNodes.length>0&&'complete'===i.readyState&&(clearInterval(n),t(e))},50)}})},tY=['all','d','content'],nY=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===tY.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},rY=function(e){var t='';return e&&(t+='<!DOCTYPE ',e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+='>'),t},iY=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},oY=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},sY='___html2canvas___pseudoelement_before',aY='___html2canvas___pseudoelement_after',AY='{\n content: "" !important;\n display: none !important;\n}',lY=function(e){cY(e,'.'+sY+':before'+AY+'\n .'+aY+':after'+AY)},cY=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement('style');r.textContent=t,e.appendChild(r)}},uY=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):'about:blank'},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement('a'),e._origin=e.getOrigin(t.location.href)},e._origin='about:blank',e}(),dY=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:bY(e)||gY(e)?((this._cache[e]=this.loadImage(e)).catch(function(){}),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return qH(this,void 0,void 0,function(){var t,n,r,i,o=this;return GH(this,function(s){switch(s.label){case 0:return t=uY.isSameOrigin(e),n=!mY(e)&&!0===this._options.useCORS&&NG.SUPPORT_CORS_IMAGES&&!t,r=!mY(e)&&!t&&!bY(e)&&'string'==typeof this._options.proxy&&NG.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||mY(e)||bY(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=s.sent(),s.label=2;case 2:return this.context.logger.debug('Added image '+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(vY(i)||n)&&(r.crossOrigin='anonymous'),r.src=i,!0===r.complete&&setTimeout(function(){return e(r)},500),o._options.imageTimeout>0&&setTimeout(function(){return t('Timed out ('+o._options.imageTimeout+'ms) loading image')},o._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error('No proxy defined');var r=e.substring(0,256);return new Promise(function(i,o){var s=NG.SUPPORT_RESPONSE_TYPE?'blob':'text',a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if('text'===s)i(a.response);else{var e=new FileReader;e.addEventListener('load',function(){return i(e.result)},!1),e.addEventListener('error',function(e){return o(e)},!1),e.readAsDataURL(a.response)}else o('Failed to proxy resource '+r+' with status code '+a.status)},a.onerror=o;var A=n.indexOf('?')>-1?'&':'?';if(a.open('GET',''+n+A+'url='+encodeURIComponent(e)+'&responseType='+s),'text'!==s&&a instanceof XMLHttpRequest&&(a.responseType=s),t._options.imageTimeout){var l=t._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return o('Timed out ('+l+'ms) proxying '+r)}}a.send()})},e}(),fY=/^data:image\/svg\+xml/i,hY=/^data:image\/.*;base64,/i,pY=/^data:image\/.*/i,gY=function(e){return NG.SUPPORT_SVG_DRAWING||!yY(e)},mY=function(e){return pY.test(e)},vY=function(e){return hY.test(e)},bY=function(e){return'blob'===e.substr(0,4)},yY=function(e){return'svg'===e.substr(-3).toLowerCase()||fY.test(e)},wY=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),BY=function(e,t,n){return new wY(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},xY=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=BY(this.start,this.startControl,t),i=BY(this.startControl,this.endControl,t),o=BY(this.endControl,this.end,t),s=BY(r,i,t),a=BY(i,o,t),A=BY(s,a,t);return n?new e(this.start,r,s,A):new e(A,a,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),CY=function(e){return 1===e.type},_Y=function(e){var t=e.styles,n=e.bounds,r=qK(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],s=qK(t.borderTopRightRadius,n.width,n.height),a=s[0],A=s[1],l=qK(t.borderBottomRightRadius,n.width,n.height),c=l[0],u=l[1],d=qK(t.borderBottomLeftRadius,n.width,n.height),f=d[0],h=d[1],p=[];p.push((i+a)/n.width),p.push((f+c)/n.width),p.push((o+h)/n.height),p.push((A+u)/n.height);var g=Math.max.apply(Math,p);g>1&&(i/=g,o/=g,a/=g,A/=g,c/=g,u/=g,f/=g,h/=g);var m=n.width-a,v=n.height-u,b=n.width-c,y=n.height-h,w=t.borderTopWidth,B=t.borderRightWidth,x=t.borderBottomWidth,C=t.borderLeftWidth,_=GK(t.paddingTop,e.bounds.width),j=GK(t.paddingRight,e.bounds.width),F=GK(t.paddingBottom,e.bounds.width),E=GK(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?jY(n.left+C/3,n.top+w/3,i-C/3,o-w/3,XW.TOP_LEFT):new wY(n.left+C/3,n.top+w/3),this.topRightBorderDoubleOuterBox=i>0||o>0?jY(n.left+m,n.top+w/3,a-B/3,A-w/3,XW.TOP_RIGHT):new wY(n.left+n.width-B/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?jY(n.left+b,n.top+v,c-B/3,u-x/3,XW.BOTTOM_RIGHT):new wY(n.left+n.width-B/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=f>0||h>0?jY(n.left+C/3,n.top+y,f-C/3,h-x/3,XW.BOTTOM_LEFT):new wY(n.left+C/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?jY(n.left+2*C/3,n.top+2*w/3,i-2*C/3,o-2*w/3,XW.TOP_LEFT):new wY(n.left+2*C/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=i>0||o>0?jY(n.left+m,n.top+2*w/3,a-2*B/3,A-2*w/3,XW.TOP_RIGHT):new wY(n.left+n.width-2*B/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?jY(n.left+b,n.top+v,c-2*B/3,u-2*x/3,XW.BOTTOM_RIGHT):new wY(n.left+n.width-2*B/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=f>0||h>0?jY(n.left+2*C/3,n.top+y,f-2*C/3,h-2*x/3,XW.BOTTOM_LEFT):new wY(n.left+2*C/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=i>0||o>0?jY(n.left+C/2,n.top+w/2,i-C/2,o-w/2,XW.TOP_LEFT):new wY(n.left+C/2,n.top+w/2),this.topRightBorderStroke=i>0||o>0?jY(n.left+m,n.top+w/2,a-B/2,A-w/2,XW.TOP_RIGHT):new wY(n.left+n.width-B/2,n.top+w/2),this.bottomRightBorderStroke=c>0||u>0?jY(n.left+b,n.top+v,c-B/2,u-x/2,XW.BOTTOM_RIGHT):new wY(n.left+n.width-B/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=f>0||h>0?jY(n.left+C/2,n.top+y,f-C/2,h-x/2,XW.BOTTOM_LEFT):new wY(n.left+C/2,n.top+n.height-x/2),this.topLeftBorderBox=i>0||o>0?jY(n.left,n.top,i,o,XW.TOP_LEFT):new wY(n.left,n.top),this.topRightBorderBox=a>0||A>0?jY(n.left+m,n.top,a,A,XW.TOP_RIGHT):new wY(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||u>0?jY(n.left+b,n.top+v,c,u,XW.BOTTOM_RIGHT):new wY(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||h>0?jY(n.left,n.top+y,f,h,XW.BOTTOM_LEFT):new wY(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?jY(n.left+C,n.top+w,Math.max(0,i-C),Math.max(0,o-w),XW.TOP_LEFT):new wY(n.left+C,n.top+w),this.topRightPaddingBox=a>0||A>0?jY(n.left+Math.min(m,n.width-B),n.top+w,m>n.width+B?0:Math.max(0,a-B),Math.max(0,A-w),XW.TOP_RIGHT):new wY(n.left+n.width-B,n.top+w),this.bottomRightPaddingBox=c>0||u>0?jY(n.left+Math.min(b,n.width-C),n.top+Math.min(v,n.height-x),Math.max(0,c-B),Math.max(0,u-x),XW.BOTTOM_RIGHT):new wY(n.left+n.width-B,n.top+n.height-x),this.bottomLeftPaddingBox=f>0||h>0?jY(n.left+C,n.top+Math.min(y,n.height-x),Math.max(0,f-C),Math.max(0,h-x),XW.BOTTOM_LEFT):new wY(n.left+C,n.top+n.height-x),this.topLeftContentBox=i>0||o>0?jY(n.left+C+E,n.top+w+_,Math.max(0,i-(C+E)),Math.max(0,o-(w+_)),XW.TOP_LEFT):new wY(n.left+C+E,n.top+w+_),this.topRightContentBox=a>0||A>0?jY(n.left+Math.min(m,n.width+C+E),n.top+w+_,m>n.width+C+E?0:a-C+E,A-(w+_),XW.TOP_RIGHT):new wY(n.left+n.width-(B+j),n.top+w+_),this.bottomRightContentBox=c>0||u>0?jY(n.left+Math.min(b,n.width-(C+E)),n.top+Math.min(v,n.height+w+_),Math.max(0,c-(B+j)),u-(x+F),XW.BOTTOM_RIGHT):new wY(n.left+n.width-(B+j),n.top+n.height-(x+F)),this.bottomLeftContentBox=f>0||h>0?jY(n.left+C+E,n.top+y,Math.max(0,f-(C+E)),h-(x+F),XW.BOTTOM_LEFT):new wY(n.left+C+E,n.top+n.height-(x+F))};!function(e){e[e.TOP_LEFT=0]='TOP_LEFT',e[e.TOP_RIGHT=1]='TOP_RIGHT',e[e.BOTTOM_RIGHT=2]='BOTTOM_RIGHT',e[e.BOTTOM_LEFT=3]='BOTTOM_LEFT'}(XW||(XW={}));var jY=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,s=n*o,a=r*o,A=e+n,l=t+r;switch(i){case XW.TOP_LEFT:return new xY(new wY(e,l),new wY(e,l-a),new wY(A-s,t),new wY(A,t));case XW.TOP_RIGHT:return new xY(new wY(e,t),new wY(e+s,t),new wY(A,l-a),new wY(A,l));case XW.BOTTOM_RIGHT:return new xY(new wY(A,t),new wY(A,t+a),new wY(e+s,l),new wY(e,l));case XW.BOTTOM_LEFT:default:return new xY(new wY(A,l),new wY(A-s,l),new wY(e,t+a),new wY(e,t))}},FY=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},EY=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},SY=function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6},kY=function(e,t){this.path=e,this.target=t,this.type=1},UY=function(e){this.opacity=e,this.type=2,this.target=6},QY=function(e){return 1===e.type},LY=function(e,t){return e.length===t.length&&e.some(function(e,n){return e===t[n]})},OY=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},IY=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new _Y(this.container),this.container.styles.opacity<1&&this.effects.push(new UY(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new SY(n,r,i))}if(0!==this.container.styles.overflowX){var o=FY(this.curves),s=EY(this.curves);LY(o,s)?this.effects.push(new kY(o,6)):(this.effects.push(new kY(o,2)),this.effects.push(new kY(s,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(e){return!QY(e)});if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=FY(n.curves),s=EY(n.curves);LY(o,s)||r.unshift(new kY(s,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(t){return Jq(t.target,e)})},e}(),NY=function(e,t,n,r){e.container.elements.forEach(function(i){var o=Jq(i.flags,4),s=Jq(i.flags,2),a=new IY(i,e);Jq(i.styles.display,2048)&&r.push(a);var A=Jq(i.flags,8)?[]:r;if(o||s){var l=o||i.styles.isPositioned()?n:t,c=new OY(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var d=0;l.negativeZIndex.some(function(e,t){return u>e.element.container.styles.zIndex.order?(d=t,!1):d>0}),l.negativeZIndex.splice(d,0,c)}else if(u>0){var f=0;l.positiveZIndex.some(function(e,t){return u>=e.element.container.styles.zIndex.order?(f=t+1,!1):f>0}),l.positiveZIndex.splice(f,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);NY(a,c,o?c:n,A)}else i.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),NY(a,t,n,A);Jq(i.flags,8)&&TY(i,A)})},TY=function(e,t){for(var n=e instanceof ZG?e.start:1,r=e instanceof ZG&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof JG&&'number'==typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=GW(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},MY=function(e,t){switch(t){case 0:return DY(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return DY(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return DY(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return DY(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},PY=function(e,t){var n=[];return CY(e)?n.push(e.subdivide(.5,!1)):n.push(e),CY(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},DY=function(e,t,n,r){var i=[];return CY(e)?i.push(e.subdivide(.5,!1)):i.push(e),CY(n)?i.push(n.subdivide(.5,!0)):i.push(n),CY(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),CY(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},RY=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},HY=function(e){var t=e.styles,n=e.bounds,r=GK(t.paddingLeft,n.width),i=GK(t.paddingRight,n.width),o=GK(t.paddingTop,n.width),s=GK(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+s))},zY=function(e,t,n){var r=function(e,t){return 0===e?t.bounds:2===e?HY(t):RY(t)}(GY(e.styles.backgroundOrigin,t),e),i=function(e,t){return 0===e?t.bounds:2===e?HY(t):RY(t)}(GY(e.styles.backgroundClip,t),e),o=qY(GY(e.styles.backgroundSize,t),n,r),s=o[0],a=o[1],A=qK(GY(e.styles.backgroundPosition,t),r.width-s,r.height-a);return[WY(GY(e.styles.backgroundRepeat,t),A,o,r,i),Math.round(r.left+A[0]),Math.round(r.top+A[1]),s,a]},KY=function(e){return LK(e)&&e.value===SV.AUTO},VY=function(e){return'number'==typeof e},qY=function(e,t,n){var r=t[0],i=t[1],o=t[2],s=e[0],a=e[1];if(!s)return[0,0];if(RK(s)&&a&&RK(a))return[GK(s,n.width),GK(a,n.height)];var A=VY(o);if(LK(s)&&(s.value===SV.CONTAIN||s.value===SV.COVER))return VY(o)?n.width/n.height<o!=(s.value===SV.COVER)?[n.width,n.width/o]:[n.height*o,n.height]:[n.width,n.height];var l=VY(r),c=VY(i),u=l||c;if(KY(s)&&(!a||KY(a)))return l&&c?[r,i]:A||u?u&&A?[l?r:i*o,c?i:r/o]:[l?r:n.width,c?i:n.height]:[n.width,n.height];if(A){var d=0,f=0;return RK(s)?d=GK(s,n.width):RK(a)&&(f=GK(a,n.height)),KY(s)?d=f*o:a&&!KY(a)||(f=d/o),[d,f]}var h=null,p=null;if(RK(s)?h=GK(s,n.width):a&&RK(a)&&(p=GK(a,n.height)),null===h||a&&!KY(a)||(p=l&&c?h/r*i:n.height),null!==p&&KY(s)&&(h=l&&c?p/i*r:n.width),null!==h&&null!==p)return[h,p];throw new Error('Unable to calculate background-size for element')},GY=function(e,t){var n=e[t];return void 0===n?e[0]:n},WY=function(e,t,n,r,i){var o=t[0],s=t[1],a=n[0],A=n[1];switch(e){case 2:return[new wY(Math.round(r.left),Math.round(r.top+s)),new wY(Math.round(r.left+r.width),Math.round(r.top+s)),new wY(Math.round(r.left+r.width),Math.round(A+r.top+s)),new wY(Math.round(r.left),Math.round(A+r.top+s))];case 3:return[new wY(Math.round(r.left+o),Math.round(r.top)),new wY(Math.round(r.left+o+a),Math.round(r.top)),new wY(Math.round(r.left+o+a),Math.round(r.height+r.top)),new wY(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new wY(Math.round(r.left+o),Math.round(r.top+s)),new wY(Math.round(r.left+o+a),Math.round(r.top+s)),new wY(Math.round(r.left+o+a),Math.round(r.top+s+A)),new wY(Math.round(r.left+o),Math.round(r.top+s+A))];default:return[new wY(Math.round(i.left),Math.round(i.top)),new wY(Math.round(i.left+i.width),Math.round(i.top)),new wY(Math.round(i.left+i.width),Math.round(i.height+i.top)),new wY(Math.round(i.left),Math.round(i.height+i.top))]}},YY='Hidden Text',XY=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement('div'),r=this._document.createElement('img'),i=this._document.createElement('span'),o=this._document.body;n.style.visibility='hidden',n.style.fontFamily=e,n.style.fontSize=t,n.style.margin='0',n.style.padding='0',n.style.whiteSpace='nowrap',o.appendChild(n),r.src='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',r.width=1,r.height=1,r.style.margin='0',r.style.padding='0',r.style.verticalAlign='baseline',i.style.fontFamily=e,i.style.fontSize=t,i.style.margin='0',i.style.padding='0',i.appendChild(this._document.createTextNode(YY)),n.appendChild(i),n.appendChild(r);var s=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(YY)),n.style.lineHeight='normal',r.style.verticalAlign='super';var a=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:s,middle:a}},e.prototype.getMetrics=function(e,t){var n=e+' '+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),JY=function(e,t){this.context=e,this.options=t},ZY=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement('canvas'),r.ctx=r.canvas.getContext('2d'),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+'px',r.canvas.style.height=n.height+'px'),r.fontMetrics=new XY(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline='bottom',r._activeEffects=[],r.context.logger.debug('Canvas renderer initialized ('+n.width+'x'+n.height+') with scale '+n.scale),r}return KH(t,e),t.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(e){return t.applyEffect(e)})},t.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),QY(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(e){return qH(this,void 0,void 0,function(){return GH(this,function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(e){return qH(this,void 0,void 0,function(){return GH(this,function(t){switch(t.label){case 0:return Jq(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):DG(e.text).reduce(function(t,i){return r.ctx.fillText(i,t,e.bounds.top+n),t+r.ctx.measureText(i).width},e.bounds.left)},t.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return'normal'===e||'small-caps'===e}).join(''),n=rX(e.fontFamily).join(', '),r=UK(e.fontSize)?''+e.fontSize.number+e.fontSize.unit:e.fontSize.number+'px';return[[e.fontStyle,t,e.fontWeight,r,n].join(' '),n,r]},t.prototype.renderTextNode=function(e,t){return qH(this,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c=this;return GH(this,function(u){return n=this.createFontStyle(t),r=n[0],i=n[1],o=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?'rtl':'ltr',this.ctx.textAlign='left',this.ctx.textBaseline='alphabetic',s=this.fontMetrics.getMetrics(i,o),a=s.baseline,A=s.middle,l=t.paintOrder,e.textBounds.forEach(function(e){l.forEach(function(n){switch(n){case 0:c.ctx.fillStyle=nV(t.color),c.renderTextWithLetterSpacing(e,t.letterSpacing,a);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach(function(n){c.ctx.shadowColor=nV(n.color),c.ctx.shadowOffsetX=n.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=n.offsetY.number*c.options.scale,c.ctx.shadowBlur=n.blur.number,c.renderTextWithLetterSpacing(e,t.letterSpacing,a)}),c.ctx.shadowColor='',c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),t.textDecorationLine.length&&(c.ctx.fillStyle=nV(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:c.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+a),e.bounds.width,1);break;case 2:c.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:c.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+A),e.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(c.ctx.strokeStyle=nV(t.webkitTextStrokeColor),c.ctx.lineWidth=t.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?'miter':'round',c.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+a)),c.ctx.strokeStyle='',c.ctx.lineWidth=0,c.ctx.lineJoin='miter'}})}),[2]})})},t.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=HY(e),i=EY(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return qH(this,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b;return GH(this,function(y){switch(y.label){case 0:this.applyEffects(e.getEffects(4)),n=e.container,r=e.curves,i=n.styles,o=0,s=n.textNodes,y.label=1;case 1:return o<s.length?(a=s[o],[4,this.renderTextNode(a,i)]):[3,4];case 2:y.sent(),y.label=3;case 3:return o++,[3,1];case 4:if(!(n instanceof WG))return[3,8];y.label=5;case 5:return y.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return g=y.sent(),this.renderReplacedElement(n,r,g),[3,8];case 7:return y.sent(),this.context.logger.error('Error loading image '+n.src),[3,8];case 8:if(n instanceof YG&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof XG))return[3,12];y.label=9;case 9:return y.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return g=y.sent(),this.renderReplacedElement(n,r,g),[3,12];case 11:return y.sent(),this.context.logger.error('Error loading svg '+n.svg.substring(0,255)),[3,12];case 12:return n instanceof AW&&n.tree?[4,new t(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}).render(n.tree)]:[3,14];case 13:A=y.sent(),n.width&&n.height&&this.ctx.drawImage(A,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),y.label=14;case 14:if(n instanceof oW&&(l=Math.min(n.bounds.width,n.bounds.height),n.type===tW?n.checked&&(this.ctx.save(),this.path([new wY(n.bounds.left+.39363*l,n.bounds.top+.79*l),new wY(n.bounds.left+.16*l,n.bounds.top+.5549*l),new wY(n.bounds.left+.27347*l,n.bounds.top+.44071*l),new wY(n.bounds.left+.39694*l,n.bounds.top+.5649*l),new wY(n.bounds.left+.72983*l,n.bounds.top+.23*l),new wY(n.bounds.left+.84*l,n.bounds.top+.34085*l),new wY(n.bounds.left+.39363*l,n.bounds.top+.79*l)]),this.ctx.fillStyle=nV(iW),this.ctx.fill(),this.ctx.restore()):n.type===nW&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+l/2,n.bounds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=nV(iW),this.ctx.fill(),this.ctx.restore())),$Y(n)&&n.value.length){switch(c=this.createFontStyle(i),v=c[0],u=c[1],d=this.fontMetrics.getMetrics(v,u).baseline,this.ctx.font=v,this.ctx.fillStyle=nV(i.color),this.ctx.textBaseline='alphabetic',this.ctx.textAlign=tX(n.styles.textAlign),b=HY(n),f=0,n.styles.textAlign){case 1:f+=b.width/2;break;case 2:f+=b.width}h=b.add(f,0,0,-b.height/2+1),this.ctx.save(),this.path([new wY(b.left,b.top),new wY(b.left+b.width,b.top),new wY(b.left+b.width,b.top+b.height),new wY(b.left,b.top+b.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new TG(n.value,h),i.letterSpacing,d),this.ctx.restore(),this.ctx.textBaseline='alphabetic',this.ctx.textAlign='left'}if(!Jq(n.styles.display,2048))return[3,20];if(null===n.styles.listStyleImage)return[3,19];if(0!==(p=n.styles.listStyleImage).type)return[3,18];g=void 0,m=p.url,y.label=15;case 15:return y.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return g=y.sent(),this.ctx.drawImage(g,n.bounds.left-(g.width+10),n.bounds.top),[3,18];case 17:return y.sent(),this.context.logger.error('Error loading list-style-image '+m),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==n.styles.listStyleType&&(v=this.createFontStyle(i)[0],this.ctx.font=v,this.ctx.fillStyle=nV(i.color),this.ctx.textBaseline='middle',this.ctx.textAlign='right',b=new WH(n.bounds.left,n.bounds.top+GK(n.styles.paddingTop,n.bounds.width),n.bounds.width,hq(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new TG(e.listValue,b),i.letterSpacing,hq(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline='bottom',this.ctx.textAlign='left'),y.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(e){return qH(this,void 0,void 0,function(){var t,n,r,i,o,s,a,A,l,c,u,d,f,h,p;return GH(this,function(g){switch(g.label){case 0:return Jq(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:g.sent(),t=0,n=e.negativeZIndex,g.label=2;case 2:return t<n.length?(p=n[t],[4,this.renderStack(p)]):[3,5];case 3:g.sent(),g.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:g.sent(),r=0,i=e.nonInlineLevel,g.label=7;case 7:return r<i.length?(p=i[r],[4,this.renderNode(p)]):[3,10];case 8:g.sent(),g.label=9;case 9:return r++,[3,7];case 10:o=0,s=e.nonPositionedFloats,g.label=11;case 11:return o<s.length?(p=s[o],[4,this.renderStack(p)]):[3,14];case 12:g.sent(),g.label=13;case 13:return o++,[3,11];case 14:a=0,A=e.nonPositionedInlineLevel,g.label=15;case 15:return a<A.length?(p=A[a],[4,this.renderStack(p)]):[3,18];case 16:g.sent(),g.label=17;case 17:return a++,[3,15];case 18:l=0,c=e.inlineLevel,g.label=19;case 19:return l<c.length?(p=c[l],[4,this.renderNode(p)]):[3,22];case 20:g.sent(),g.label=21;case 21:return l++,[3,19];case 22:u=0,d=e.zeroOrAutoZIndexOrTransformedOrOpacity,g.label=23;case 23:return u<d.length?(p=d[u],[4,this.renderStack(p)]):[3,26];case 24:g.sent(),g.label=25;case 25:return u++,[3,23];case 26:f=0,h=e.positiveZIndex,g.label=27;case 27:return f<h.length?(p=h[f],[4,this.renderStack(p)]):[3,30];case 28:g.sent(),g.label=29;case 29:return f++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},t.prototype.formatPath=function(e){var t=this;e.forEach(function(e,n){var r=CY(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),CY(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},t.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},t.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var i=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement('canvas');return i.width=Math.max(1,t),i.height=Math.max(1,n),i.getContext('2d').drawImage(e,0,0,e.width,e.height,0,0,t,n),i},t.prototype.renderBackgroundImage=function(e){return qH(this,void 0,void 0,function(){var t,n,r,i,o,s;return GH(this,function(a){switch(a.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y,w,B,x,C,_,j,F,E,S,k,U,Q,L,O;return GH(this,function(I){switch(I.label){case 0:if(0!==n.type)return[3,5];i=void 0,o=n.url,I.label=1;case 1:return I.trys.push([1,3,,4]),[4,r.context.cache.match(o)];case 2:return i=I.sent(),[3,4];case 3:return I.sent(),r.context.logger.error('Error loading background-image '+o),[3,4];case 4:return i&&(s=zY(e,t,[i.width,i.height,i.width/i.height]),b=s[0],_=s[1],j=s[2],B=s[3],x=s[4],m=r.ctx.createPattern(r.resizeImage(i,B,x),'repeat'),r.renderRepeat(b,m,_,j)),[3,6];case 5:1===n.type?(a=zY(e,t,[null,null,null]),b=a[0],_=a[1],j=a[2],B=a[3],x=a[4],A=pV(n.angle,B,x),l=A[0],c=A[1],u=A[2],d=A[3],f=A[4],(h=document.createElement('canvas')).width=B,h.height=x,p=h.getContext('2d'),g=p.createLinearGradient(c,d,u,f),hV(n.stops,l).forEach(function(e){return g.addColorStop(e.stop,nV(e.color))}),p.fillStyle=g,p.fillRect(0,0,B,x),B>0&&x>0&&(m=r.ctx.createPattern(h,'repeat'),r.renderRepeat(b,m,_,j))):function(e){return 2===e.type}(n)&&(v=zY(e,t,[null,null,null]),b=v[0],y=v[1],w=v[2],B=v[3],x=v[4],C=0===n.position.length?[KK]:n.position,_=GK(C[0],B),j=GK(C[C.length-1],x),F=function(e,t,n,r,i){var o=0,s=0;switch(e.size){case 0:0===e.shape?o=s=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-r)),s=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===e.shape)o=s=Math.min(gV(t,n),gV(t,n-i),gV(t-r,n),gV(t-r,n-i));else if(1===e.shape){var a=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),A=mV(r,i,t,n,!0),l=A[0],c=A[1];s=a*(o=gV(l-t,(c-n)/a))}break;case 1:0===e.shape?o=s=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-r)),s=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===e.shape)o=s=Math.max(gV(t,n),gV(t,n-i),gV(t-r,n),gV(t-r,n-i));else if(1===e.shape){a=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var u=mV(r,i,t,n,!1);l=u[0],c=u[1],s=a*(o=gV(l-t,(c-n)/a))}}return Array.isArray(e.size)&&(o=GK(e.size[0],r),s=2===e.size.length?GK(e.size[1],i):o),[o,s]}(n,_,j,B,x),E=F[0],S=F[1],E>0&&S>0&&(k=r.ctx.createRadialGradient(y+_,w+j,0,y+_,w+j,E),hV(n.stops,2*E).forEach(function(e){return k.addColorStop(e.stop,nV(e.color))}),r.path(b),r.ctx.fillStyle=k,E!==S?(U=e.bounds.left+.5*e.bounds.width,Q=e.bounds.top+.5*e.bounds.height,O=1/(L=S/E),r.ctx.save(),r.ctx.translate(U,Q),r.ctx.transform(1,0,0,L,0,0),r.ctx.translate(-U,-Q),r.ctx.fillRect(y,O*(w-Q)+Q,B,x*O),r.ctx.restore()):r.ctx.fill())),I.label=6;case 6:return t--,[2]}})},r=this,i=0,o=e.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i<o.length?(s=o[i],[5,n(s)]):[3,4];case 2:a.sent(),a.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(e,t,n){return qH(this,void 0,void 0,function(){return GH(this,function(r){return this.path(MY(n,t)),this.ctx.fillStyle=nV(e),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(e,t,n,r){return qH(this,void 0,void 0,function(){var i,o;return GH(this,function(s){switch(s.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,r)]:[3,2];case 1:return s.sent(),[2];case 2:return i=function(e,t){switch(t){case 0:return DY(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return DY(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return DY(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return DY(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(r,n),this.path(i),this.ctx.fillStyle=nV(e),this.ctx.fill(),o=function(e,t){switch(t){case 0:return DY(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return DY(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return DY(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return DY(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(r,n),this.path(o),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(e){return qH(this,void 0,void 0,function(){var t,n,r,i,o,s,a,A,l=this;return GH(this,function(c){switch(c.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!tV(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=eX(GY(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),tV(t.backgroundColor)||(this.ctx.fillStyle=nV(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:c.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){l.ctx.save();var n=FY(e.curves),r=t.inset?0:1e4,i=function(e,t,n,r,i){return e.map(function(e,o){switch(o){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+i);case 3:return e.add(t,n+i)}return e})}(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(l.path(n),l.ctx.clip(),l.mask(i)):(l.mask(n),l.ctx.clip(),l.path(i)),l.ctx.shadowOffsetX=t.offsetX.number+r,l.ctx.shadowOffsetY=t.offsetY.number,l.ctx.shadowColor=nV(t.color),l.ctx.shadowBlur=t.blur.number,l.ctx.fillStyle=t.inset?nV(t.color):'rgba(0,0,0,1)',l.ctx.fill(),l.ctx.restore()}),c.label=2;case 2:o=0,s=0,a=r,c.label=3;case 3:return s<a.length?0!==(A=a[s]).style&&!tV(A.color)&&A.width>0?2!==A.style?[3,5]:[4,this.renderDashedDottedBorder(A.color,A.width,o,e.curves,2)]:[3,11]:[3,13];case 4:return c.sent(),[3,11];case 5:return 3!==A.style?[3,7]:[4,this.renderDashedDottedBorder(A.color,A.width,o,e.curves,3)];case 6:return c.sent(),[3,11];case 7:return 4!==A.style?[3,9]:[4,this.renderDoubleBorder(A.color,A.width,o,e.curves)];case 8:return c.sent(),[3,11];case 9:return[4,this.renderSolidBorder(A.color,o,e.curves)];case 10:c.sent(),c.label=11;case 11:o++,c.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(e,t,n,r,i){return qH(this,void 0,void 0,function(){var o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y;return GH(this,function(w){return this.ctx.save(),o=function(e,t){switch(t){case 0:return PY(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return PY(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return PY(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return PY(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(r,n),s=MY(r,n),2===i&&(this.path(s),this.ctx.clip()),CY(s[0])?(a=s[0].start.x,A=s[0].start.y):(a=s[0].x,A=s[0].y),CY(s[1])?(l=s[1].end.x,c=s[1].end.y):(l=s[1].x,c=s[1].y),u=0===n||2===n?Math.abs(a-l):Math.abs(A-c),this.ctx.beginPath(),3===i?this.formatPath(o):this.formatPath(s.slice(0,2)),d=t<3?3*t:2*t,f=t<3?2*t:t,3===i&&(d=t,f=t),h=!0,u<=2*d?h=!1:u<=2*d+f?(d*=p=u/(2*d+f),f*=p):(g=Math.floor((u+f)/(d+f)),m=(u-g*d)/(g-1),f=(v=(u-(g+1)*d)/g)<=0||Math.abs(f-m)<Math.abs(f-v)?m:v),h&&(3===i?this.ctx.setLineDash([0,d+f]):this.ctx.setLineDash([d,f])),3===i?(this.ctx.lineCap='round',this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=nV(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===i&&(CY(s[0])&&(b=s[3],y=s[0],this.ctx.beginPath(),this.formatPath([new wY(b.end.x,b.end.y),new wY(y.start.x,y.start.y)]),this.ctx.stroke()),CY(s[1])&&(b=s[1],y=s[2],this.ctx.beginPath(),this.formatPath([new wY(b.end.x,b.end.y),new wY(y.start.x,y.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(e){return qH(this,void 0,void 0,function(){var t;return GH(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=nV(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=function(e){var t=new IY(e,null),n=new OY(t),r=[];return NY(t,n,n,r),TY(t.container,r),n}(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(JY),$Y=function(e){return e instanceof aW||(e instanceof sW||e instanceof oW&&e.type!==nW&&e.type!==tW)},eX=function(e,t){switch(e){case 0:return FY(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);default:return EY(t)}},tX=function(e){switch(e){case 1:return'center';case 2:return'right';default:return'left'}},nX=['-apple-system','system-ui'],rX=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(e){return-1===nX.indexOf(e)}):e},iX=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement('canvas'),r.ctx=r.canvas.getContext('2d'),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+'px',r.canvas.style.height=n.height+'px',r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug('EXPERIMENTAL ForeignObject renderer initialized ('+n.width+'x'+n.height+' at '+n.x+','+n.y+') with scale '+n.scale),r}return KH(t,e),t.prototype.render=function(e){return qH(this,void 0,void 0,function(){var t,n;return GH(this,function(r){switch(r.label){case 0:return t=OG(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,oX(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=nV(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(JY),oX=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src='data:image/svg+xml;charset=utf-8,'+encodeURIComponent((new XMLSerializer).serializeToString(e))})},sX=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.debug||this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&'undefined'!=typeof window&&window.console&&console.info},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.warn||this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.error||this.info.apply(this,e))},e.instances={},e}(),aX=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName='#'+e.instanceCount++,this.logger=new sX({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new dY(this,t)}return e.instanceCount=1,e}();'undefined'!=typeof window&&uY.setContext(window);var AX,lX=function(e,t){return qH(void 0,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y,w,B,x,C,_,j,F,E,S,k,U,Q,L,O,I,N,T,M,P;return GH(this,function(D){switch(D.label){case 0:if(!e||'object'!=typeof e)return[2,Promise.reject('Invalid element provided as first argument')];if(!(n=e.ownerDocument))throw new Error('Element is not attached to a Document');if(!(r=n.defaultView))throw new Error('Document is not attached to a Window');return i={allowTaint:null!==(x=t.allowTaint)&&void 0!==x&&x,imageTimeout:null!==(C=t.imageTimeout)&&void 0!==C?C:15e3,proxy:t.proxy,useCORS:null!==(_=t.useCORS)&&void 0!==_&&_},o=VH({logging:null===(j=t.logging)||void 0===j||j,cache:t.cache},i),s={windowWidth:null!==(F=t.windowWidth)&&void 0!==F?F:r.innerWidth,windowHeight:null!==(E=t.windowHeight)&&void 0!==E?E:r.innerHeight,scrollX:null!==(S=t.scrollX)&&void 0!==S?S:r.pageXOffset,scrollY:null!==(k=t.scrollY)&&void 0!==k?k:r.pageYOffset},a=new WH(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),A=new aX(o,a),l=null!==(U=t.foreignObjectRendering)&&void 0!==U&&U,c={allowTaint:null!==(Q=t.allowTaint)&&void 0!==Q&&Q,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:l,copyStyles:l},A.logger.debug('Starting document clone with size '+a.width+'x'+a.height+' scrolled to '+-a.left+','+-a.top),u=new YW(A,e,c),(d=u.clonedReferenceElement)?[4,u.toIFrame(n,a)]:[2,Promise.reject('Unable to find element in cloned iframe')];case 1:return f=D.sent(),h=xW(d)||'HTML'===d.tagName?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error('Unable to get document size');var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new WH(0,0,r,i)}(d.ownerDocument):YH(A,d),p=h.width,g=h.height,m=h.left,v=h.top,b=cX(A,d,t.backgroundColor),y={canvas:t.canvas,backgroundColor:b,scale:null!==(O=null!==(L=t.scale)&&void 0!==L?L:r.devicePixelRatio)&&void 0!==O?O:1,x:(null!==(I=t.x)&&void 0!==I?I:0)+m,y:(null!==(N=t.y)&&void 0!==N?N:0)+v,width:null!==(T=t.width)&&void 0!==T?T:Math.ceil(p),height:null!==(M=t.height)&&void 0!==M?M:Math.ceil(g)},l?(A.logger.debug('Document cloned, using foreign object rendering'),[4,new iX(A,y).render(d)]):[3,3];case 2:return w=D.sent(),[3,5];case 3:return A.logger.debug('Document cloned, element located at '+m+','+v+' with size '+p+'x'+g+' using computed rendering'),A.logger.debug('Starting DOM parsing'),B=dW(A,d),b===B.styles.backgroundColor&&(B.styles.backgroundColor=cV.TRANSPARENT),A.logger.debug('Starting renderer for element at '+y.x+','+y.y+' with size '+y.width+'x'+y.height),[4,new ZY(A,y).render(B)];case 4:w=D.sent(),D.label=5;case 5:return(null===(P=t.removeContainer)||void 0===P||P)&&(YW.destroy(f)||A.logger.error('Cannot detach cloned iframe as it is not in the DOM anymore')),A.logger.debug('Finished rendering'),[2,w]}})})},cX=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?lV(e,getComputedStyle(r.documentElement).backgroundColor):cV.TRANSPARENT,o=r.body?lV(e,getComputedStyle(r.body).backgroundColor):cV.TRANSPARENT,s='string'==typeof n?lV(e,n):null===n?cV.TRANSPARENT:4294967295;return t===r.documentElement?tV(i)?tV(o)?s:o:i:s};self,AX=function(e){return function(){var t,n,r={'./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js':
|
|
216
|
+
const{entries:lH,setPrototypeOf:cH,isFrozen:uH,getPrototypeOf:dH,getOwnPropertyDescriptor:fH}=Object;let{freeze:hH,seal:pH,create:gH}=Object,{apply:mH,construct:vH}='undefined'!=typeof Reflect&&Reflect;hH||(hH=function(e){return e}),pH||(pH=function(e){return e}),mH||(mH=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),vH||(vH=function(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 new e(...n)});const bH=OH(Array.prototype.forEach),yH=OH(Array.prototype.lastIndexOf),wH=OH(Array.prototype.pop),BH=OH(Array.prototype.push),xH=OH(Array.prototype.splice),CH=OH(String.prototype.toLowerCase),_H=OH(String.prototype.toString),jH=OH(String.prototype.match),FH=OH(String.prototype.replace),EH=OH(String.prototype.indexOf),SH=OH(String.prototype.trim),kH=OH(Object.prototype.hasOwnProperty),UH=OH(RegExp.prototype.test),QH=(LH=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return vH(LH,t)});var LH;function OH(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return mH(e,t,r)}}function IH(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:CH;cH&&cH(e,null);let r=t.length;for(;r--;){let i=t[r];if('string'==typeof i){const e=n(i);e!==i&&(uH(t)||(t[r]=e),i=e)}e[i]=!0}return e}function NH(e){for(let t=0;t<e.length;t++){kH(e,t)||(e[t]=null)}return e}function TH(e){const t=gH(null);for(const[n,r]of lH(e)){kH(e,n)&&(Array.isArray(r)?t[n]=NH(r):r&&'object'==typeof r&&r.constructor===Object?t[n]=TH(r):t[n]=r)}return t}function MH(e,t){for(;null!==e;){const n=fH(e,t);if(n){if(n.get)return OH(n.get);if('function'==typeof n.value)return OH(n.value)}e=dH(e)}return function(){return null}}const PH=hH(['a','abbr','acronym','address','area','article','aside','audio','b','bdi','bdo','big','blink','blockquote','body','br','button','canvas','caption','center','cite','code','col','colgroup','content','data','datalist','dd','decorator','del','details','dfn','dialog','dir','div','dl','dt','element','em','fieldset','figcaption','figure','font','footer','form','h1','h2','h3','h4','h5','h6','head','header','hgroup','hr','html','i','img','input','ins','kbd','label','legend','li','main','map','mark','marquee','menu','menuitem','meter','nav','nobr','ol','optgroup','option','output','p','picture','pre','progress','q','rp','rt','ruby','s','samp','search','section','select','shadow','slot','small','source','spacer','span','strike','strong','style','sub','summary','sup','table','tbody','td','template','textarea','tfoot','th','thead','time','tr','track','tt','u','ul','var','video','wbr']),DH=hH(['svg','a','altglyph','altglyphdef','altglyphitem','animatecolor','animatemotion','animatetransform','circle','clippath','defs','desc','ellipse','enterkeyhint','exportparts','filter','font','g','glyph','glyphref','hkern','image','inputmode','line','lineargradient','marker','mask','metadata','mpath','part','path','pattern','polygon','polyline','radialgradient','rect','stop','style','switch','symbol','text','textpath','title','tref','tspan','view','vkern']),RH=hH(['feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence']),HH=hH(['animate','color-profile','cursor','discard','font-face','font-face-format','font-face-name','font-face-src','font-face-uri','foreignobject','hatch','hatchpath','mesh','meshgradient','meshpatch','meshrow','missing-glyph','script','set','solidcolor','unknown','use']),zH=hH(['math','menclose','merror','mfenced','mfrac','mglyph','mi','mlabeledtr','mmultiscripts','mn','mo','mover','mpadded','mphantom','mroot','mrow','ms','mspace','msqrt','mstyle','msub','msup','msubsup','mtable','mtd','mtext','mtr','munder','munderover','mprescripts']),KH=hH(['maction','maligngroup','malignmark','mlongdiv','mscarries','mscarry','msgroup','mstack','msline','msrow','semantics','annotation','annotation-xml','mprescripts','none']),VH=hH(['#text']),qH=hH(['accept','action','align','alt','autocapitalize','autocomplete','autopictureinpicture','autoplay','background','bgcolor','border','capture','cellpadding','cellspacing','checked','cite','class','clear','color','cols','colspan','controls','controlslist','coords','crossorigin','datetime','decoding','default','dir','disabled','disablepictureinpicture','disableremoteplayback','download','draggable','enctype','enterkeyhint','exportparts','face','for','headers','height','hidden','high','href','hreflang','id','inert','inputmode','integrity','ismap','kind','label','lang','list','loading','loop','low','max','maxlength','media','method','min','minlength','multiple','muted','name','nonce','noshade','novalidate','nowrap','open','optimum','part','pattern','placeholder','playsinline','popover','popovertarget','popovertargetaction','poster','preload','pubdate','radiogroup','readonly','rel','required','rev','reversed','role','rows','rowspan','spellcheck','scope','selected','shape','size','sizes','slot','span','srclang','start','src','srcset','step','style','summary','tabindex','title','translate','type','usemap','valign','value','width','wrap','xmlns','slot']),GH=hH(['accent-height','accumulate','additive','alignment-baseline','amplitude','ascent','attributename','attributetype','azimuth','basefrequency','baseline-shift','begin','bias','by','class','clip','clippathunits','clip-path','clip-rule','color','color-interpolation','color-interpolation-filters','color-profile','color-rendering','cx','cy','d','dx','dy','diffuseconstant','direction','display','divisor','dur','edgemode','elevation','end','exponent','fill','fill-opacity','fill-rule','filter','filterunits','flood-color','flood-opacity','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','fx','fy','g1','g2','glyph-name','glyphref','gradientunits','gradienttransform','height','href','id','image-rendering','in','in2','intercept','k','k1','k2','k3','k4','kerning','keypoints','keysplines','keytimes','lang','lengthadjust','letter-spacing','kernelmatrix','kernelunitlength','lighting-color','local','marker-end','marker-mid','marker-start','markerheight','markerunits','markerwidth','maskcontentunits','maskunits','max','mask','mask-type','media','method','mode','min','name','numoctaves','offset','operator','opacity','order','orient','orientation','origin','overflow','paint-order','path','pathlength','patterncontentunits','patterntransform','patternunits','points','preservealpha','preserveaspectratio','primitiveunits','r','rx','ry','radius','refx','refy','repeatcount','repeatdur','restart','result','rotate','scale','seed','shape-rendering','slope','specularconstant','specularexponent','spreadmethod','startoffset','stddeviation','stitchtiles','stop-color','stop-opacity','stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin','stroke-miterlimit','stroke-opacity','stroke','stroke-width','style','surfacescale','systemlanguage','tabindex','tablevalues','targetx','targety','transform','transform-origin','text-anchor','text-decoration','text-rendering','textlength','type','u1','u2','unicode','values','viewbox','visibility','version','vert-adv-y','vert-origin-x','vert-origin-y','width','word-spacing','wrap','writing-mode','xchannelselector','ychannelselector','x','x1','x2','xmlns','y','y1','y2','z','zoomandpan']),WH=hH(['accent','accentunder','align','bevelled','close','columnsalign','columnlines','columnspan','denomalign','depth','dir','display','displaystyle','encoding','fence','frame','height','href','id','largeop','length','linethickness','lspace','lquote','mathbackground','mathcolor','mathsize','mathvariant','maxsize','minsize','movablelimits','notation','numalign','open','rowalign','rowlines','rowspacing','rowspan','rspace','rquote','scriptlevel','scriptminsize','scriptsizemultiplier','selection','separator','separators','stretchy','subscriptshift','supscriptshift','symmetric','voffset','width','xmlns']),YH=hH(['xlink:href','xml:id','xlink:title','xml:space','xmlns:xlink']),XH=pH(/\{\{[\w\W]*|[\w\W]*\}\}/gm),JH=pH(/<%[\w\W]*|[\w\W]*%>/gm),ZH=pH(/\$\{[\w\W]*/gm),$H=pH(/^data-[\-\w.\u00B7-\uFFFF]+$/),ez=pH(/^aria-[\-\w]+$/),tz=pH(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nz=pH(/^(?:\w+script|data):/i),rz=pH(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),iz=pH(/^html$/i),oz=pH(/^[a-z][.\w]*(-[.\w]+)+$/i);var sz=Object.freeze({__proto__:null,ARIA_ATTR:ez,ATTR_WHITESPACE:rz,CUSTOM_ELEMENT:oz,DATA_ATTR:$H,DOCTYPE_NAME:iz,ERB_EXPR:JH,IS_ALLOWED_URI:tz,IS_SCRIPT_OR_DATA:nz,MUSTACHE_EXPR:XH,TMPLIT_EXPR:ZH});const az=1,Az=3,lz=7,cz=8,uz=9,dz=function(){return'undefined'==typeof window?null:window};var fz=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dz();const n=t=>e(t);if(n.version='3.3.1',n.removed=[],!t||!t.document||t.document.nodeType!==uz||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:a,Node:A,Element:l,NodeFilter:c,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:h}=t,p=l.prototype,g=MH(p,'cloneNode'),m=MH(p,'remove'),v=MH(p,'nextSibling'),b=MH(p,'childNodes'),y=MH(p,'parentNode');if('function'==typeof a){const e=r.createElement('template');e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,B='';const{implementation:x,createNodeIterator:C,createDocumentFragment:_,getElementsByTagName:j}=r,{importNode:F}=i;let E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported='function'==typeof lH&&'function'==typeof y&&x&&void 0!==x.createHTMLDocument;const{MUSTACHE_EXPR:S,ERB_EXPR:k,TMPLIT_EXPR:U,DATA_ATTR:Q,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:O,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:N}=sz;let{IS_ALLOWED_URI:T}=sz,M=null;const P=IH({},[...PH,...DH,...RH,...zH,...VH]);let D=null;const R=IH({},[...qH,...GH,...WH,...YH]);let H=Object.seal(gH(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),z=null,K=null;const V=Object.seal(gH(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,G=!0,W=!1,Y=!0,X=!1,J=!0,Z=!1,$=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1,se=!0,ae=!1,Ae={},le=null;const ce=IH({},['annotation-xml','audio','colgroup','desc','foreignobject','head','iframe','math','mi','mn','mo','ms','mtext','noembed','noframes','noscript','plaintext','script','style','svg','template','thead','title','video','xmp']);let ue=null;const de=IH({},['audio','video','img','source','image','track']);let fe=null;const he=IH({},['alt','class','for','id','label','name','pattern','placeholder','role','summary','title','value','style','xmlns']),pe='http://www.w3.org/1998/Math/MathML',ge='http://www.w3.org/2000/svg',me='http://www.w3.org/1999/xhtml';let ve=me,be=!1,ye=null;const we=IH({},[pe,ge,me],_H);let Be=IH({},['mi','mo','mn','ms','mtext']),xe=IH({},['annotation-xml']);const Ce=IH({},['title','style','font','a','script']);let _e=null;const je=['application/xhtml+xml','text/html'];let Fe=null,Ee=null;const Se=r.createElement('form'),ke=function(e){return e instanceof RegExp||e instanceof Function},Ue=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ee||Ee!==e){if(e&&'object'==typeof e||(e={}),e=TH(e),_e=-1===je.indexOf(e.PARSER_MEDIA_TYPE)?'text/html':e.PARSER_MEDIA_TYPE,Fe='application/xhtml+xml'===_e?_H:CH,M=kH(e,'ALLOWED_TAGS')?IH({},e.ALLOWED_TAGS,Fe):P,D=kH(e,'ALLOWED_ATTR')?IH({},e.ALLOWED_ATTR,Fe):R,ye=kH(e,'ALLOWED_NAMESPACES')?IH({},e.ALLOWED_NAMESPACES,_H):we,fe=kH(e,'ADD_URI_SAFE_ATTR')?IH(TH(he),e.ADD_URI_SAFE_ATTR,Fe):he,ue=kH(e,'ADD_DATA_URI_TAGS')?IH(TH(de),e.ADD_DATA_URI_TAGS,Fe):de,le=kH(e,'FORBID_CONTENTS')?IH({},e.FORBID_CONTENTS,Fe):ce,z=kH(e,'FORBID_TAGS')?IH({},e.FORBID_TAGS,Fe):TH({}),K=kH(e,'FORBID_ATTR')?IH({},e.FORBID_ATTR,Fe):TH({}),Ae=!!kH(e,'USE_PROFILES')&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,W=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,J=!1!==e.SAFE_FOR_XML,Z=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,se=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,T=e.ALLOWED_URI_REGEXP||tz,ve=e.NAMESPACE||me,Be=e.MATHML_TEXT_INTEGRATION_POINTS||Be,xe=e.HTML_INTEGRATION_POINTS||xe,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&'boolean'==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),ne&&(te=!0),Ae&&(M=IH({},VH),D=[],!0===Ae.html&&(IH(M,PH),IH(D,qH)),!0===Ae.svg&&(IH(M,DH),IH(D,GH),IH(D,YH)),!0===Ae.svgFilters&&(IH(M,RH),IH(D,GH),IH(D,YH)),!0===Ae.mathMl&&(IH(M,zH),IH(D,WH),IH(D,YH))),e.ADD_TAGS&&('function'==typeof e.ADD_TAGS?V.tagCheck=e.ADD_TAGS:(M===P&&(M=TH(M)),IH(M,e.ADD_TAGS,Fe))),e.ADD_ATTR&&('function'==typeof e.ADD_ATTR?V.attributeCheck=e.ADD_ATTR:(D===R&&(D=TH(D)),IH(D,e.ADD_ATTR,Fe))),e.ADD_URI_SAFE_ATTR&&IH(fe,e.ADD_URI_SAFE_ATTR,Fe),e.FORBID_CONTENTS&&(le===ce&&(le=TH(le)),IH(le,e.FORBID_CONTENTS,Fe)),e.ADD_FORBID_CONTENTS&&(le===ce&&(le=TH(le)),IH(le,e.ADD_FORBID_CONTENTS,Fe)),se&&(M['#text']=!0),Z&&IH(M,['html','head','body']),M.table&&(IH(M,['tbody']),delete z.tbody),e.TRUSTED_TYPES_POLICY){if('function'!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw QH('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if('function'!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw QH('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,B=w.createHTML('')}else void 0===w&&(w=function(e,t){if('object'!=typeof e||'function'!=typeof e.createPolicy)return null;let n=null;const r='data-tt-policy-suffix';t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i='dompurify'+(n?'#'+n:'');try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(h,o)),null!==w&&'string'==typeof B&&(B=w.createHTML(''));hH&&hH(e),Ee=e}},Qe=IH({},[...DH,...RH,...HH]),Le=IH({},[...zH,...KH]),Oe=function(e){BH(n.removed,{element:e});try{y(e).removeChild(e)}catch(t){m(e)}},Ie=function(e,t){try{BH(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){BH(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),'is'===e)if(te||ne)try{Oe(t)}catch(e){}else try{t.setAttribute(e,'')}catch(e){}},Ne=function(e){let t=null,n=null;if(ee)e='<remove></remove>'+e;else{const t=jH(e,/^[\r\n\t ]+/);n=t&&t[0]}'application/xhtml+xml'===_e&&ve===me&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+'</body></html>');const i=w?w.createHTML(e):e;if(ve===me)try{t=(new f).parseFromString(i,_e)}catch(e){}if(!t||!t.documentElement){t=x.createDocument(ve,'template',null);try{t.documentElement.innerHTML=be?B:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),ve===me?j.call(t,Z?'html':'body')[0]:Z?t.documentElement:o},Te=function(e){return C.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Me=function(e){return e instanceof d&&('string'!=typeof e.nodeName||'string'!=typeof e.textContent||'function'!=typeof e.removeChild||!(e.attributes instanceof u)||'function'!=typeof e.removeAttribute||'function'!=typeof e.setAttribute||'string'!=typeof e.namespaceURI||'function'!=typeof e.insertBefore||'function'!=typeof e.hasChildNodes)},Pe=function(e){return'function'==typeof A&&e instanceof A};function De(e,t,r){bH(e,e=>{e.call(n,t,r,Ee)})}const Re=function(e){let t=null;if(De(E.beforeSanitizeElements,e,null),Me(e))return Oe(e),!0;const r=Fe(e.nodeName);if(De(E.uponSanitizeElement,e,{tagName:r,allowedTags:M}),J&&e.hasChildNodes()&&!Pe(e.firstElementChild)&&UH(/<[/\w!]/g,e.innerHTML)&&UH(/<[/\w!]/g,e.textContent))return Oe(e),!0;if(e.nodeType===lz)return Oe(e),!0;if(J&&e.nodeType===cz&&UH(/<[/\w]/g,e.data))return Oe(e),!0;if(!(V.tagCheck instanceof Function&&V.tagCheck(r))&&(!M[r]||z[r])){if(!z[r]&&ze(r)){if(H.tagNameCheck instanceof RegExp&&UH(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(se&&!le[r]){const t=y(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,v(e))}}}return Oe(e),!0}return e instanceof l&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:ve,tagName:'template'});const n=CH(e.tagName),r=CH(t.tagName);return!!ye[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===me?'svg'===n:t.namespaceURI===pe?'svg'===n&&('annotation-xml'===r||Be[r]):Boolean(Qe[n]):e.namespaceURI===pe?t.namespaceURI===me?'math'===n:t.namespaceURI===ge?'math'===n&&xe[r]:Boolean(Le[n]):e.namespaceURI===me?!(t.namespaceURI===ge&&!xe[r])&&!(t.namespaceURI===pe&&!Be[r])&&!Le[n]&&(Ce[n]||!Qe[n]):!('application/xhtml+xml'!==_e||!ye[e.namespaceURI]))}(e)?(Oe(e),!0):'noscript'!==r&&'noembed'!==r&&'noframes'!==r||!UH(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===Az&&(t=e.textContent,bH([S,k,U],e=>{t=FH(t,e,' ')}),e.textContent!==t&&(BH(n.removed,{element:e.cloneNode()}),e.textContent=t)),De(E.afterSanitizeElements,e,null),!1):(Oe(e),!0)},He=function(e,t,n){if(ie&&('id'===t||'name'===t)&&(n in r||n in Se))return!1;if(G&&!K[t]&&UH(Q,t));else if(q&&UH(L,t));else if(V.attributeCheck instanceof Function&&V.attributeCheck(t,e));else if(!D[t]||K[t]){if(!(ze(e)&&(H.tagNameCheck instanceof RegExp&&UH(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&UH(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||'is'===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&UH(H.tagNameCheck,n)||H.tagNameCheck instanceof Function&&H.tagNameCheck(n))))return!1}else if(fe[t]);else if(UH(T,FH(n,I,'')));else if('src'!==t&&'xlink:href'!==t&&'href'!==t||'script'===e||0!==EH(n,'data:')||!ue[e]){if(W&&!UH(O,FH(n,I,'')));else if(n)return!1}else;return!0},ze=function(e){return'annotation-xml'!==e&&jH(e,N)},Ke=function(e){De(E.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Me(e))return;const r={attrName:'',attrValue:'',keepAttr:!0,allowedAttributes:D,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:s,namespaceURI:a,value:A}=o,l=Fe(s),c=A;let u='value'===s?c:SH(c);if(r.attrName=l,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,De(E.uponSanitizeAttribute,e,r),u=r.attrValue,!oe||'id'!==l&&'name'!==l||(Ie(s,e),u='user-content-'+u),J&&UH(/((--!?|])>)|<\/(style|title|textarea)/i,u)){Ie(s,e);continue}if('attributename'===l&&jH(u,'href')){Ie(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ie(s,e);continue}if(!Y&&UH(/\/>/i,u)){Ie(s,e);continue}X&&bH([S,k,U],e=>{u=FH(u,e,' ')});const d=Fe(e.nodeName);if(He(d,l,u)){if(w&&'object'==typeof h&&'function'==typeof h.getAttributeType)if(a);else switch(h.getAttributeType(d,l)){case'TrustedHTML':u=w.createHTML(u);break;case'TrustedScriptURL':u=w.createScriptURL(u)}if(u!==c)try{a?e.setAttributeNS(a,s,u):e.setAttribute(s,u),Me(e)?Oe(e):wH(n.removed)}catch(t){Ie(s,e)}}else Ie(s,e)}De(E.afterSanitizeAttributes,e,null)},Ve=function e(t){let n=null;const r=Te(t);for(De(E.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)De(E.uponSanitizeShadowNode,n,null),Re(n),Ke(n),n.content instanceof s&&e(n.content);De(E.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if(be=!e,be&&(e='\x3c!--\x3e'),'string'!=typeof e&&!Pe(e)){if('function'!=typeof e.toString)throw QH('toString is not a function');if('string'!=typeof(e=e.toString()))throw QH('dirty is not a string, aborting')}if(!n.isSupported)return e;if($||Ue(t),n.removed=[],'string'==typeof e&&(ae=!1),ae){if(e.nodeName){const t=Fe(e.nodeName);if(!M[t]||z[t])throw QH('root node is forbidden and cannot be sanitized in-place')}}else if(e instanceof A)r=Ne('\x3c!----\x3e'),o=r.ownerDocument.importNode(e,!0),o.nodeType===az&&'BODY'===o.nodeName||'HTML'===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!X&&!Z&&-1===e.indexOf('<'))return w&&re?w.createHTML(e):e;if(r=Ne(e),!r)return te?null:re?B:''}r&&ee&&Oe(r.firstChild);const c=Te(ae?e:r);for(;a=c.nextNode();)Re(a),Ke(a),a.content instanceof s&&Ve(a.content);if(ae)return e;if(te){if(ne)for(l=_.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(D.shadowroot||D.shadowrootmode)&&(l=F.call(i,l,!0)),l}let u=Z?r.outerHTML:r.innerHTML;return Z&&M['!doctype']&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&UH(iz,r.ownerDocument.doctype.name)&&(u='<!DOCTYPE '+r.ownerDocument.doctype.name+'>\n'+u),X&&bH([S,k,U],e=>{u=FH(u,e,' ')}),w&&re?w.createHTML(u):u},n.setConfig=function(){Ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),$=!0},n.clearConfig=function(){Ee=null,$=!1},n.isValidAttribute=function(e,t,n){Ee||Ue({});const r=Fe(e),i=Fe(t);return He(r,i,n)},n.addHook=function(e,t){'function'==typeof t&&BH(E[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=yH(E[e],t);return-1===n?void 0:xH(E[e],n,1)[0]}return wH(E[e])},n.removeHooks=function(e){E[e]=[]},n.removeAllHooks=function(){E={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),hz=function(e){var n=e.html,r=e.className,i=void 0===r?'vu-prose vu-prose-sm max-w-none dark:vu-prose-invert vu-break-words':r,o=d(function(){return fz.sanitize(n,{FORBID_TAGS:['html','head','body','script','iframe','object','embed','form','input','button'],FORBID_ATTR:['style','onclick','onload','onerror','onmouseover'],ALLOWED_URI_REGEXP:/^(?:(?:https?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.\-:]|$))/i})},[n]);return t.createElement('div',{className:i,dangerouslySetInnerHTML:{__html:o}})},pz=function(e){var n=e.tools;return t.createElement('ul',{className:'vu-m-0 vu-px-4'},n.map(function(e){return t.createElement('li',{key:e.id},'running'===e.status?'⏳':'✅',' ',e.description)}))},gz=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t}return 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}Le(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),n.getDerivedStateFromError=function(){return{hasError:!0}},n.prototype.componentDidCatch=function(e,t){},n.prototype.render=function(){var e;return this.state.hasError?null!==(e=this.props.fallback)&&void 0!==e?e:t.createElement('div',{className:'vu-text-sm vu-text-center'},'⚠️ Unable to render chart'):this.props.children},n}(t.Component),mz={content:{top:'50%',left:'50%',right:'auto',bottom:'auto',marginRight:'-50%',transform:'translate(-50%, -50%)',padding:0,width:'492px'},overlay:{zIndex:9999}},vz=function(e){var r=e.response,i=e.onError,s=void 0!==i&&i,a=e.chatID,A=e.isLiked,l=e.type,c=e.sessionID,u=e.isLastResponse,d=o(null),f=n(A),h=f[0],p=f[1],g=t.useState(!1),m=g[0],v=g[1],b=n(!1),y=b[0],w=b[1],B=n(!1),x=B[0],C=B[1],_=n(!1),j=_[0],F=_[1],E=r.answer,S=r.chartConfigList,k=r.explainability,U=r.sources,Q=r.error,L=r.tools,O=ke({mutationFn:TI,onMutate:function(e){return Ne(void 0,void 0,void 0,function(){var t;return Te(this,function(n){return t=h,p(e.is_liked),[2,{previousLike:t}]})})},onError:function(e,t,n){void 0!==(null==n?void 0:n.previousLike)&&p(n.previousLike),JT.error(e.data['error-string'])}}),I=function(e){void 0!==a&&O.mutate(Oe({is_liked:e.isLiked,message_id:a,sessionID:c},!1===e.isLiked&&{comment:e.comments,reason:e.reason}))},N=function(){v(!1)};return t.createElement(t.Fragment,null,t.createElement(lM,null,u&&L&&L.length>0&&t.createElement(ZR,{label:L[L.length-1].description,isOpen:y,onToggle:function(){return w(!y)},className:'hide-in-pdf'},t.createElement(pz,{tools:L})),t.createElement('div',null,t.createElement(cM,null,t.createElement(Fn,{svg:qn,size:32}),t.createElement(_M,{ref:d},t.createElement(hz,{html:E}),Q&&t.createElement(FM,null,Q)),!s&&t.createElement(jM,null,t.createElement(Sn,{onClick:function(){return Ne(void 0,void 0,void 0,function(){return Te(this,function(e){switch(e.label){case 0:if(!d.current)return[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(d.current.innerText)];case 2:return e.sent(),F(!0),setTimeout(function(){return F(!1)},1200),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})},icon:'data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.4%2C20.82H11.2A2.42%2C2.42%2C0%2C0%2C1%2C8.78%2C18.4V11.2A2.42%2C2.42%2C0%2C0%2C1%2C11.2%2C8.78h7.2a2.42%2C2.42%2C0%2C0%2C1%2C2.42%2C2.42v7.2A2.42%2C2.42%2C0%2C0%2C1%2C18.4%2C20.82Zm-7.2-10.4a.78.78%2C0%2C0%2C0-.78.78v7.2a.78.78%2C0%2C0%2C0%2C.78.78h7.2a.78.78%2C0%2C0%2C0%2C.78-.78V11.2a.78.78%2C0%2C0%2C0-.78-.78Z%22%2F%3E%3Cpath%20d%3D%22M6.4%2C15.22H5.6A2.42%2C2.42%2C0%2C0%2C1%2C3.18%2C12.8V5.6A2.42%2C2.42%2C0%2C0%2C1%2C5.6%2C3.18h7.2A2.42%2C2.42%2C0%2C0%2C1%2C15.22%2C5.6v.8a.82.82%2C0%2C1%2C1-1.64%2C0V5.6a.78.78%2C0%2C0%2C0-.78-.78H5.6a.78.78%2C0%2C0%2C0-.78.78v7.2a.78.78%2C0%2C0%2C0%2C.78.78h.8a.82.82%2C0%2C0%2C1%2C0%2C1.64Z%22%2F%3E%3C%2Fsvg%3E',className:'hide-in-pdf','data-tooltip-id':'tooltip-btns','data-tooltip-content':j?'Copied!':'Copy'}),l&&'answer'===l&&t.createElement(t.Fragment,null,t.createElement(Sn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18.66%2C20.18H3.56c-.98%2C0-1.78-.8-1.78-1.78v-7.82c0-.98%2C.8-1.78%2C1.78-1.78h3.61l3.26-6.52c.18-.36%2C.55-.59%2C.95-.59%2C2.16%2C0%2C3.91%2C1.75%2C3.91%2C3.91v1.07h4.43c1.37%2C0%2C2.49%2C1.12%2C2.49%2C2.49%2C0%2C.1%2C0%2C.21-.02%2C.31l-1.07%2C8.54c-.15%2C1.24-1.22%2C2.18-2.47%2C2.18Zm-9.77-2.13h9.77c.18%2C0%2C.33-.13%2C.35-.31l1.07-8.54c0-.24-.16-.4-.35-.4h-5.5c-.59%2C0-1.07-.48-1.07-1.07v-2.13c0-.77-.49-1.42-1.17-1.67l-3.1%2C6.19v7.93Zm-4.98%2C0h2.85v-7.11H3.91v7.11Z%22%2F%3E%3C%2Fsvg%3E','data-tooltip-id':'tooltip-btns','data-tooltip-content':'Like',disabled:O.isLoading,iconColor:void 0!==h&&!0===h?'vu-fill-green-500':void 0,onClick:function(){return I({isLiked:!0!==h||null})}}),t.createElement(Sn,{icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M11.38%2C22.31c-.4%2C0-.77-.23-.95-.59l-3.26-6.52H3.56c-.98%2C0-1.78-.8-1.78-1.78V5.6c0-.98%2C.8-1.78%2C1.78-1.78h15.1c1.25%2C0%2C2.32%2C.94%2C2.47%2C2.18l1.07%2C8.54c.01%2C.1%2C.02%2C.21%2C.02%2C.31%2C0%2C1.37-1.12%2C2.49-2.49%2C2.49h-4.43v1.07c0%2C2.16-1.75%2C3.91-3.91%2C3.91Zm-2.49-8.43l3.1%2C6.19c.68-.25%2C1.17-.9%2C1.17-1.67v-2.13c0-.59%2C.48-1.07%2C1.07-1.07h5.5c.2%2C0%2C.36-.16%2C.36-.36l-1.07-8.58c-.02-.18-.17-.31-.35-.31H8.89v7.93Zm-4.98-.81h2.85V5.95H3.91v7.11Z%22%2F%3E%3C%2Fsvg%3E','data-tooltip-id':'tooltip-btns','data-tooltip-content':'Dislike',disabled:O.isLoading,iconColor:void 0!==h&&!1===h?'vu-fill-rose-500':void 0,onClick:function(){return O.isLoading?null:!1===h?I({isLiked:null}):v(!0)}})))),S&&S.length>0&&S.map(function(e,n){return t.createElement(gz,{key:n},t.createElement(kM,null,e.chart_title),t.createElement(uM,null,t.createElement(IM,{type:e.chart_type,chartData:e})))})),(U||k)&&t.createElement(ZR,{label:'Sources & Reasoning',isOpen:x,onToggle:function(){return C(!x)},className:'hide-in-pdf'},U&&t.createElement(hz,{html:U}),k&&t.createElement(hz,{html:k})),t.createElement(FD,{id:'tooltip-btns',place:'right'}),u&&t.createElement(EM,null,t.createElement(Fn,{className:'vu-mr-1',svg:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%2C22c-5.51%2C0-10-4.49-10-10S6.49%2C2%2C12%2C2s10%2C4.49%2C10%2C10-4.49%2C10-10%2C10Zm0-18c-4.41%2C0-8%2C3.59-8%2C8s3.59%2C8%2C8%2C8%2C8-3.59%2C8-8-3.59-8-8-8Z%22%2F%3E%3Cg%3E%3Cpath%20d%3D%22M11.98%2C17.36c-.55%2C0-1-.45-1-1v-5.08c0-.55%2C.45-1%2C1-1s1%2C.45%2C1%2C1v5.08c0%2C.55-.45%2C1-1%2C1Z%22%2F%3E%3Cpath%20d%3D%22M11.98%2C9.21c-.26%2C0-.52-.11-.71-.29-.18-.19-.29-.44-.29-.71s.11-.52%2C.29-.71c.38-.37%2C1.05-.37%2C1.42%2C0%2C.18%2C.19%2C.29%2C.45%2C.29%2C.71s-.11%2C.52-.29%2C.71c-.19%2C.18-.44%2C.29-.71%2C.29Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E',size:14,inline:!0}),t.createElement(SM,null,'AI-generated responses may not always be accurate.'))),t.createElement(JR,{isOpen:m,onRequestClose:N,style:mz,contentLabel:'Feedback Modal'},t.createElement(AH,{closeModal:N,handleFeedback:I})))},bz=t.memo(function(e){var n=e.messages,r=e.sessionID;return t.createElement(t.Fragment,null,n.map(function(e,i){var o=i===n.length-1;return'user'===e.from||'query'===e.from?t.createElement(AM,{key:i,question:e.text}):t.createElement(vz,{key:i,response:{answer:e.text,sources:e.sources,chartConfigList:e.chartConfigList,explainability:e.explainability,error:e.error,tools:e.tools},chatID:null==e?void 0:e.chatID,onError:'error'===e.from,isLiked:e.isLiked,type:e.textType,sessionID:r,isLastResponse:o})}))}),yz={exports:{}},wz=function(e,t){return wz=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])},wz(e,t)};function Bz(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}wz(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var xz=function(){return xz=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},xz.apply(this,arguments)};function Cz(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{A(r.next(e))}catch(e){o(e)}}function a(e){try{A(r.throw(e))}catch(e){o(e)}}function A(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}A((r=r.apply(e,t||[])).next())})}function _z(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},'function'==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError('Generator is already executing.');for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}for(var jz=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(e){return 0!==e.width});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),Fz=function(e,t){return jz.fromClientRect(e,t.getBoundingClientRect())},Ez=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},Sz=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return'';for(var r=[],i=-1,o='';++i<n;){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},kz='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',Uz='undefined'==typeof Uint8Array?[]:new Uint8Array(256),Qz=0;Qz<64;Qz++)Uz[kz.charCodeAt(Qz)]=Qz;for(var Lz='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',Oz='undefined'==typeof Uint8Array?[]:new Uint8Array(256),Iz=0;Iz<64;Iz++)Oz[Lz.charCodeAt(Iz)]=Iz;for(var Nz=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},Tz=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Mz='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',Pz='undefined'==typeof Uint8Array?[]:new Uint8Array(256),Dz=0;Dz<64;Dz++)Pz[Mz.charCodeAt(Dz)]=Dz;var Rz=10,Hz=13,zz=15,Kz=17,Vz=18,qz=19,Gz=20,Wz=21,Yz=22,Xz=24,Jz=25,Zz=26,$z=27,eK=28,tK=30,nK=32,rK=33,iK=34,oK=35,sK=37,aK=38,AK=39,lK=40,cK=42,uK=[9001,65288],dK='×',fK='÷',hK=function(e){var t=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,A=0;'='===e[e.length-1]&&(s--,'='===e[e.length-2]&&s--);var l='undefined'!=typeof ArrayBuffer&&'undefined'!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<a;t+=4)n=Oz[e.charCodeAt(t)],r=Oz[e.charCodeAt(t+1)],i=Oz[e.charCodeAt(t+2)],o=Oz[e.charCodeAt(t+3)],c[A++]=n<<2|r>>4,c[A++]=(15&r)<<4|i>>2,c[A++]=(3&i)<<6|63&o;return l}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=Nz(r,12,n[4]/2),o=2===n[5]?Nz(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new Tz(n[0],n[1],n[2],n[3],i,o)}('KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=='),pK=[tK,36],gK=[1,2,3,5],mK=[Rz,8],vK=[$z,Zz],bK=gK.concat(mK),yK=[aK,AK,lK,iK,oK],wK=[zz,Hz],BK=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var o=n;o<=r.length;){if((A=r[++o])===t)return!0;if(A!==Rz)break}if(i===Rz)for(o=n;o>0;){var s=r[--o];if(Array.isArray(e)?-1!==e.indexOf(s):e===s)for(var a=n;a<=r.length;){var A;if((A=r[++a])===t)return!0;if(A!==Rz)break}if(s!==Rz)break}return!1},xK=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==Rz)return r;n--}return 0},CK=function(e,t,n,r,i){if(0===n[r])return dK;var o=r-1;if(Array.isArray(i)&&!0===i[o])return dK;var s=o-1,a=o+1,A=t[o],l=s>=0?t[s]:0,c=t[a];if(2===A&&3===c)return dK;if(-1!==gK.indexOf(A))return'!';if(-1!==gK.indexOf(c))return dK;if(-1!==mK.indexOf(c))return dK;if(8===xK(o,t))return fK;if(11===hK.get(e[o]))return dK;if((A===nK||A===rK)&&11===hK.get(e[a]))return dK;if(7===A||7===c)return dK;if(9===A)return dK;if(-1===[Rz,Hz,zz].indexOf(A)&&9===c)return dK;if(-1!==[Kz,Vz,qz,Xz,eK].indexOf(c))return dK;if(xK(o,t)===Yz)return dK;if(BK(23,Yz,o,t))return dK;if(BK([Kz,Vz],Wz,o,t))return dK;if(BK(12,12,o,t))return dK;if(A===Rz)return fK;if(23===A||23===c)return dK;if(16===c||16===A)return fK;if(-1!==[Hz,zz,Wz].indexOf(c)||14===A)return dK;if(36===l&&-1!==wK.indexOf(A))return dK;if(A===eK&&36===c)return dK;if(c===Gz)return dK;if(-1!==pK.indexOf(c)&&A===Jz||-1!==pK.indexOf(A)&&c===Jz)return dK;if(A===$z&&-1!==[sK,nK,rK].indexOf(c)||-1!==[sK,nK,rK].indexOf(A)&&c===Zz)return dK;if(-1!==pK.indexOf(A)&&-1!==vK.indexOf(c)||-1!==vK.indexOf(A)&&-1!==pK.indexOf(c))return dK;if(-1!==[$z,Zz].indexOf(A)&&(c===Jz||-1!==[Yz,zz].indexOf(c)&&t[a+1]===Jz)||-1!==[Yz,zz].indexOf(A)&&c===Jz||A===Jz&&-1!==[Jz,eK,Xz].indexOf(c))return dK;if(-1!==[Jz,eK,Xz,Kz,Vz].indexOf(c))for(var u=o;u>=0;){if((d=t[u])===Jz)return dK;if(-1===[eK,Xz].indexOf(d))break;u--}if(-1!==[$z,Zz].indexOf(c))for(u=-1!==[Kz,Vz].indexOf(A)?s:o;u>=0;){var d;if((d=t[u])===Jz)return dK;if(-1===[eK,Xz].indexOf(d))break;u--}if(aK===A&&-1!==[aK,AK,iK,oK].indexOf(c)||-1!==[AK,iK].indexOf(A)&&-1!==[AK,lK].indexOf(c)||-1!==[lK,oK].indexOf(A)&&c===lK)return dK;if(-1!==yK.indexOf(A)&&-1!==[Gz,Zz].indexOf(c)||-1!==yK.indexOf(c)&&A===$z)return dK;if(-1!==pK.indexOf(A)&&-1!==pK.indexOf(c))return dK;if(A===Xz&&-1!==pK.indexOf(c))return dK;if(-1!==pK.concat(Jz).indexOf(A)&&c===Yz&&-1===uK.indexOf(e[a])||-1!==pK.concat(Jz).indexOf(c)&&A===Vz)return dK;if(41===A&&41===c){for(var f=n[o],h=1;f>0&&41===t[--f];)h++;if(h%2!=0)return dK}return A===nK&&c===rK?dK:fK},_K=function(e,t){t||(t={lineBreak:'normal',wordBreak:'normal'});var n=function(e,t){void 0===t&&(t='strict');var n=[],r=[],i=[];return e.forEach(function(e,o){var s=hK.get(e);if(s>50?(i.push(!0),s-=50):i.push(!1),-1!==['normal','auto','loose'].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(16);if(4===s||11===s){if(0===o)return r.push(o),n.push(tK);var a=n[o-1];return-1===bK.indexOf(a)?(r.push(r[o-1]),n.push(a)):(r.push(o),n.push(tK))}return r.push(o),31===s?n.push('strict'===t?Wz:sK):s===cK||29===s?n.push(tK):43===s?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(sK):n.push(tK):void n.push(s)}),[r,n,i]}(e,t.lineBreak),r=n[0],i=n[1],o=n[2];'break-all'!==t.wordBreak&&'break-word'!==t.wordBreak||(i=i.map(function(e){return-1!==[Jz,tK,cK].indexOf(e)?sK:e}));var s='keep-all'===t.wordBreak?o.map(function(t,n){return t&&e[n]>=19968&&e[n]<=40959}):void 0;return[r,i,s]},jK=function(){function e(e,t,n,r){this.codePoints=e,this.required='!'===t,this.start=n,this.end=r}return e.prototype.slice=function(){return Sz.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),FK=45,EK=43,SK=-1,kK=function(e){return e>=48&&e<=57},UK=function(e){return kK(e)||e>=65&&e<=70||e>=97&&e<=102},QK=function(e){return 10===e||9===e||32===e},LK=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},OK=function(e){return LK(e)||kK(e)||e===FK},IK=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},NK=function(e,t){return 92===e&&10!==t},TK=function(e,t,n){return e===FK?LK(t)||NK(t,n):!!LK(e)||!(92!==e||!NK(e,t))},MK=function(e,t,n){return e===EK||e===FK?!!kK(t)||46===t&&kK(n):kK(46===e?t:e)},PK=function(e){var t=0,n=1;e[t]!==EK&&e[t]!==FK||(e[t]===FK&&(n=-1),t++);for(var r=[];kK(e[t]);)r.push(e[t++]);var i=r.length?parseInt(Sz.apply(void 0,r),10):0;46===e[t]&&t++;for(var o=[];kK(e[t]);)o.push(e[t++]);var s=o.length,a=s?parseInt(Sz.apply(void 0,o),10):0;69!==e[t]&&101!==e[t]||t++;var A=1;e[t]!==EK&&e[t]!==FK||(e[t]===FK&&(A=-1),t++);for(var l=[];kK(e[t]);)l.push(e[t++]);var c=l.length?parseInt(Sz.apply(void 0,l),10):0;return n*(i+a*Math.pow(10,-s))*Math.pow(10,A*c)},DK={type:2},RK={type:3},HK={type:4},zK={type:13},KK={type:8},VK={type:21},qK={type:9},GK={type:10},WK={type:11},YK={type:12},XK={type:14},JK={type:23},ZK={type:1},$K={type:25},eV={type:24},tV={type:26},nV={type:27},rV={type:28},iV={type:29},oV={type:31},sV={type:32},aV=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(Ez(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==sV;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(OK(t)||NK(n,r)){var i=TK(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:i}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),zK;break;case 39:return this.consumeStringToken(39);case 40:return DK;case 41:return RK;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),XK;break;case EK:if(MK(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return HK;case FK:var o=e,s=this.peekCodePoint(0),a=this.peekCodePoint(1);if(MK(o,s,a))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(TK(o,s,a))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(s===FK&&62===a)return this.consumeCodePoint(),this.consumeCodePoint(),eV;break;case 46:if(MK(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var A=this.consumeCodePoint();if(42===A&&47===(A=this.consumeCodePoint()))return this.consumeToken();if(A===SK)return this.consumeToken()}break;case 58:return tV;case 59:return nV;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===FK&&this.peekCodePoint(2)===FK)return this.consumeCodePoint(),this.consumeCodePoint(),$K;break;case 64:var l=this.peekCodePoint(0),c=this.peekCodePoint(1),u=this.peekCodePoint(2);if(TK(l,c,u))return{type:7,value:this.consumeName()};break;case 91:return rV;case 92:if(NK(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return iV;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),KK;break;case 123:return WK;case 125:return YK;case 117:case 85:var d=this.peekCodePoint(0),f=this.peekCodePoint(1);return d!==EK||!UK(f)&&63!==f||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),qK;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),VK;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),GK;break;case SK:return sV}return QK(e)?(this.consumeWhiteSpace(),oV):kK(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):LK(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:Sz(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();UK(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(Sz.apply(void 0,e.map(function(e){return 63===e?48:e})),16),end:parseInt(Sz.apply(void 0,e.map(function(e){return 63===e?70:e})),16)};var r=parseInt(Sz.apply(void 0,e),16);if(this.peekCodePoint(0)===FK&&UK(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];UK(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(Sz.apply(void 0,i),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return'url'===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===SK)return{type:22,value:''};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===SK||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),JK)}for(;;){var r=this.consumeCodePoint();if(r===SK||41===r)return{type:22,value:Sz.apply(void 0,e)};if(QK(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===SK||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:Sz.apply(void 0,e)}):(this.consumeBadUrlRemnants(),JK);if(34===r||39===r||40===r||IK(r))return this.consumeBadUrlRemnants(),JK;if(92===r){if(!NK(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),JK;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;QK(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||e===SK)return;NK(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t='';e>0;){var n=Math.min(5e4,e);t+=Sz.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t='',n=0;;){var r=this._value[n];if(r===SK||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),ZK;if(92===r){var i=this._value[n+1];i!==SK&&void 0!==i&&(10===i?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):NK(r,i)&&(t+=this.consumeStringSlice(n),t+=Sz(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(n!==EK&&n!==FK||e.push(this.consumeCodePoint());kK(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&kK(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;kK(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((69===n||101===n)&&((r===EK||r===FK)&&kK(i)||kK(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;kK(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[PK(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);return TK(r,i,o)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(UK(e)){for(var t=Sz(e);UK(this.peekCodePoint(0))&&t.length<6;)t+=Sz(this.consumeCodePoint());QK(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return e===SK?65533:e},e.prototype.consumeName=function(){for(var e='';;){var t=this.consumeCodePoint();if(OK(t))e+=Sz(t);else{if(!NK(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=Sz(this.consumeEscapedCodePoint())}}},e}(),AV=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new aV;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError('Error parsing CSS component value, unexpected EOF');this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError('Error parsing CSS component value, multiple values found when expecting only one')},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||mV(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?sV:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),lV=function(e){return 15===e.type},cV=function(e){return 17===e.type},uV=function(e){return 20===e.type},dV=function(e){return 0===e.type},fV=function(e,t){return uV(e)&&e.value===t},hV=function(e){return 31!==e.type},pV=function(e){return 31!==e.type&&4!==e.type},gV=function(e){var t=[],n=[];return e.forEach(function(e){if(4===e.type){if(0===n.length)throw new Error('Error parsing function args, zero tokens for arg');return t.push(n),void(n=[])}31!==e.type&&n.push(e)}),n.length&&t.push(n),t},mV=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},vV=function(e){return 17===e.type||15===e.type},bV=function(e){return 16===e.type||vV(e)},yV=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},wV={type:17,number:0,flags:4},BV={type:16,number:50,flags:4},xV={type:16,number:100,flags:4},CV=function(e,t,n){var r=e[0],i=e[1];return[_V(r,t),_V(void 0!==i?i:r,n)]},_V=function(e,t){if(16===e.type)return e.number/100*t;if(lV(e))switch(e.unit){case'rem':case'em':return 16*e.number;default:return e.number}return e.number},jV='grad',FV='turn',EV=function(e,t){if(15===t.type)switch(t.unit){case'deg':return Math.PI*t.number/180;case jV:return Math.PI/200*t.number;case'rad':return t.number;case FV:return 2*Math.PI*t.number}throw new Error('Unsupported angle type')},SV=function(e){return 15===e.type&&('deg'===e.unit||e.unit===jV||'rad'===e.unit||e.unit===FV)},kV=function(e){switch(e.filter(uV).map(function(e){return e.value}).join(' ')){case'to bottom right':case'to right bottom':case'left top':case'top left':return[wV,wV];case'to top':case'bottom':return UV(0);case'to bottom left':case'to left bottom':case'right top':case'top right':return[wV,xV];case'to right':case'left':return UV(90);case'to top left':case'to left top':case'right bottom':case'bottom right':return[xV,xV];case'to bottom':case'top':return UV(180);case'to top right':case'to right top':case'left bottom':case'bottom left':return[xV,wV];case'to left':case'right':return UV(270)}return 0},UV=function(e){return Math.PI*e/180},QV=function(e,t){if(18===t.type){var n=DV[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return IV(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===t.value.length){r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);var s=t.value.substring(3,4);return IV(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(s+s,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return IV(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(8===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),s=t.value.substring(6,8);return IV(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(s,16)/255)}}if(20===t.type){var a=HV[t.value.toUpperCase()];if(void 0!==a)return a}return HV.TRANSPARENT},LV=function(e){return!(255&e)},OV=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?'rgba('+i+','+r+','+n+','+t/255+')':'rgb('+i+','+r+','+n+')'},IV=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r))>>>0},NV=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},TV=function(e,t){var n=t.filter(pV);if(3===n.length){var r=n.map(NV),i=r[0],o=r[1],s=r[2];return IV(i,o,s,1)}if(4===n.length){var a=n.map(NV),A=(i=a[0],o=a[1],s=a[2],a[3]);return IV(i,o,s,A)}return 0};function MV(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var PV=function(e,t){var n=t.filter(pV),r=n[0],i=n[1],o=n[2],s=n[3],a=(17===r.type?UV(r.number):EV(e,r))/(2*Math.PI),A=bV(i)?i.number/100:0,l=bV(o)?o.number/100:0,c=void 0!==s&&bV(s)?_V(s,1):1;if(0===A)return IV(255*l,255*l,255*l,1);var u=l<=.5?l*(A+1):l+A-l*A,d=2*l-u,f=MV(d,u,a+1/3),h=MV(d,u,a),p=MV(d,u,a-1/3);return IV(255*f,255*h,255*p,c)},DV={hsl:PV,hsla:PV,rgb:TV,rgba:TV},RV=function(e,t){return QV(e,AV.create(t).parseComponentValue())},HV={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},zV={name:'background-clip',initialValue:'border-box',prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(uV(e))switch(e.value){case'padding-box':return 1;case'content-box':return 2}return 0})}},KV={name:'background-color',initialValue:'transparent',prefix:!1,type:3,format:'color'},VV=function(e,t){var n=QV(e,t[0]),r=t[1];return r&&bV(r)?{color:n,stop:r}:{color:n,stop:null}},qV=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=wV),null===r.stop&&(r.stop=xV);for(var i=[],o=0,s=0;s<e.length;s++){var a=e[s].stop;if(null!==a){var A=_V(a,t);A>o?i.push(A):i.push(o),o=A}else i.push(null)}var l=null;for(s=0;s<i.length;s++){var c=i[s];if(null===c)null===l&&(l=s);else if(null!==l){for(var u=s-l,d=(c-i[l-1])/(u+1),f=1;f<=u;f++)i[l+f-1]=d*f;l=null}}return e.map(function(e,n){return{color:e.color,stop:Math.max(Math.min(1,i[n]/t),0)}})},GV=function(e,t,n){var r='number'==typeof e?e:function(e,t,n){var r=t/2,i=n/2,o=_V(e[0],t)-r,s=i-_V(e[1],n);return(Math.atan2(s,o)+2*Math.PI)%(2*Math.PI)}(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,s=n/2,a=i/2,A=Math.sin(r-Math.PI/2)*a,l=Math.cos(r-Math.PI/2)*a;return[i,o-l,o+l,s-A,s+A]},WV=function(e,t){return Math.sqrt(e*e+t*t)},YV=function(e,t,n,r,i){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var o=t[0],s=t[1],a=WV(n-o,r-s);return(i?a<e.optimumDistance:a>e.optimumDistance)?{optimumCorner:t,optimumDistance:a}:e},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},XV=function(e,t){var n=UV(180),r=[];return gV(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&-1!==['top','left','right','bottom'].indexOf(o.value))return void(n=kV(t));if(SV(o))return void(n=(EV(e,o)+UV(270))%UV(360))}var s=VV(e,t);r.push(s)}),{angle:n,stops:r,type:1}},JV='closest-side',ZV='farthest-side',$V='closest-corner',eq='farthest-corner',tq='circle',nq='ellipse',rq='cover',iq='contain',oq=function(e,t){var n=0,r=3,i=[],o=[];return gV(t).forEach(function(t,s){var a=!0;if(0===s?a=t.reduce(function(e,t){if(uV(t))switch(t.value){case'center':return o.push(BV),!1;case'top':case'left':return o.push(wV),!1;case'right':case'bottom':return o.push(xV),!1}else if(bV(t)||vV(t))return o.push(t),!1;return e},a):1===s&&(a=t.reduce(function(e,t){if(uV(t))switch(t.value){case tq:return n=0,!1;case nq:return n=1,!1;case iq:case JV:return r=0,!1;case ZV:return r=1,!1;case $V:return r=2,!1;case rq:case eq:return r=3,!1}else if(vV(t)||bV(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},a)),a){var A=VV(e,t);i.push(A)}}),{size:r,shape:n,stops:i,position:o,type:2}},sq=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=Aq[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error('Unsupported image type '+t.type)};var aq,Aq={'linear-gradient':function(e,t){var n=UV(180),r=[];return gV(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&'to'===o.value)return void(n=kV(t));if(SV(o))return void(n=EV(e,o))}var s=VV(e,t);r.push(s)}),{angle:n,stops:r,type:1}},'-moz-linear-gradient':XV,'-ms-linear-gradient':XV,'-o-linear-gradient':XV,'-webkit-linear-gradient':XV,'radial-gradient':function(e,t){var n=0,r=3,i=[],o=[];return gV(t).forEach(function(t,s){var a=!0;if(0===s){var A=!1;a=t.reduce(function(e,t){if(A)if(uV(t))switch(t.value){case'center':return o.push(BV),e;case'top':case'left':return o.push(wV),e;case'right':case'bottom':return o.push(xV),e}else(bV(t)||vV(t))&&o.push(t);else if(uV(t))switch(t.value){case tq:return n=0,!1;case nq:return n=1,!1;case'at':return A=!0,!1;case JV:return r=0,!1;case rq:case ZV:return r=1,!1;case iq:case $V:return r=2,!1;case eq:return r=3,!1}else if(vV(t)||bV(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},a)}if(a){var l=VV(e,t);i.push(l)}}),{size:r,shape:n,stops:i,position:o,type:2}},'-moz-radial-gradient':oq,'-ms-radial-gradient':oq,'-o-radial-gradient':oq,'-webkit-radial-gradient':oq,'-webkit-gradient':function(e,t){var n=UV(180),r=[],i=1;return gV(t).forEach(function(t,n){var o=t[0];if(0===n){if(uV(o)&&'linear'===o.value)return void(i=1);if(uV(o)&&'radial'===o.value)return void(i=2)}if(18===o.type)if('from'===o.name){var s=QV(e,o.values[0]);r.push({stop:wV,color:s})}else if('to'===o.name){s=QV(e,o.values[0]);r.push({stop:xV,color:s})}else if('color-stop'===o.name){var a=o.values.filter(pV);if(2===a.length){s=QV(e,a[1]);var A=a[0];cV(A)&&r.push({stop:{type:16,number:100*A.number,flags:A.flags},color:s})}}}),1===i?{angle:(n+UV(180))%UV(360),stops:r,type:i}:{size:3,shape:0,stops:r,position:[],type:i}}},lq={name:'background-image',initialValue:'none',type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&'none'===n.value?[]:t.filter(function(e){return pV(e)&&function(e){return!(20===e.type&&'none'===e.value||18===e.type&&!Aq[e.name])}(e)}).map(function(t){return sq(e,t)})}},cq={name:'background-origin',initialValue:'border-box',prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(uV(e))switch(e.value){case'padding-box':return 1;case'content-box':return 2}return 0})}},uq={name:'background-position',initialValue:'0% 0%',type:1,prefix:!1,parse:function(e,t){return gV(t).map(function(e){return e.filter(bV)}).map(yV)}},dq={name:'background-repeat',initialValue:'repeat',prefix:!1,type:1,parse:function(e,t){return gV(t).map(function(e){return e.filter(uV).map(function(e){return e.value}).join(' ')}).map(fq)}},fq=function(e){switch(e){case'no-repeat':return 1;case'repeat-x':case'repeat no-repeat':return 2;case'repeat-y':case'no-repeat repeat':return 3;default:return 0}};!function(e){e.AUTO='auto',e.CONTAIN='contain',e.COVER='cover'}(aq||(aq={}));var hq,pq={name:'background-size',initialValue:'0',prefix:!1,type:1,parse:function(e,t){return gV(t).map(function(e){return e.filter(gq)})}},gq=function(e){return uV(e)||bV(e)},mq=function(e){return{name:'border-'+e+'-color',initialValue:'transparent',prefix:!1,type:3,format:'color'}},vq=mq('top'),bq=mq('right'),yq=mq('bottom'),wq=mq('left'),Bq=function(e){return{name:'border-radius-'+e,initialValue:'0 0',prefix:!1,type:1,parse:function(e,t){return yV(t.filter(bV))}}},xq=Bq('top-left'),Cq=Bq('top-right'),_q=Bq('bottom-right'),jq=Bq('bottom-left'),Fq=function(e){return{name:'border-'+e+'-style',initialValue:'solid',prefix:!1,type:2,parse:function(e,t){switch(t){case'none':return 0;case'dashed':return 2;case'dotted':return 3;case'double':return 4}return 1}}},Eq=Fq('top'),Sq=Fq('right'),kq=Fq('bottom'),Uq=Fq('left'),Qq=function(e){return{name:'border-'+e+'-width',initialValue:'0',type:0,prefix:!1,parse:function(e,t){return lV(t)?t.number:0}}},Lq=Qq('top'),Oq=Qq('right'),Iq=Qq('bottom'),Nq=Qq('left'),Tq={name:'color',initialValue:'transparent',prefix:!1,type:3,format:'color'},Mq={name:'direction',initialValue:'ltr',prefix:!1,type:2,parse:function(e,t){return'rtl'===t?1:0}},Pq={name:'display',initialValue:'inline-block',prefix:!1,type:1,parse:function(e,t){return t.filter(uV).reduce(function(e,t){return e|Dq(t.value)},0)}},Dq=function(e){switch(e){case'block':case'-webkit-box':return 2;case'inline':return 4;case'run-in':return 8;case'flow':return 16;case'flow-root':return 32;case'table':return 64;case'flex':case'-webkit-flex':return 128;case'grid':case'-ms-grid':return 256;case'ruby':return 512;case'subgrid':return 1024;case'list-item':return 2048;case'table-row-group':return 4096;case'table-header-group':return 8192;case'table-footer-group':return 16384;case'table-row':return 32768;case'table-cell':return 65536;case'table-column-group':return 131072;case'table-column':return 262144;case'table-caption':return 524288;case'ruby-base':return 1048576;case'ruby-text':return 2097152;case'ruby-base-container':return 4194304;case'ruby-text-container':return 8388608;case'contents':return 16777216;case'inline-block':return 33554432;case'inline-list-item':return 67108864;case'inline-table':return 134217728;case'inline-flex':return 268435456;case'inline-grid':return 536870912}return 0},Rq={name:'float',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'left':return 1;case'right':return 2;case'inline-start':return 3;case'inline-end':return 4}return 0}},Hq={name:'letter-spacing',initialValue:'0',prefix:!1,type:0,parse:function(e,t){return 20===t.type&&'normal'===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL='normal',e.STRICT='strict'}(hq||(hq={}));var zq,Kq={name:'line-break',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){return'strict'===t?hq.STRICT:hq.NORMAL}},Vq={name:'line-height',initialValue:'normal',prefix:!1,type:4},qq=function(e,t){return uV(e)&&'normal'===e.value?1.2*t:17===e.type?t*e.number:bV(e)?_V(e,t):t},Gq={name:'list-style-image',initialValue:'none',type:0,prefix:!1,parse:function(e,t){return 20===t.type&&'none'===t.value?null:sq(e,t)}},Wq={name:'list-style-position',initialValue:'outside',prefix:!1,type:2,parse:function(e,t){return'inside'===t?0:1}},Yq={name:'list-style-type',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'disc':return 0;case'circle':return 1;case'square':return 2;case'decimal':return 3;case'cjk-decimal':return 4;case'decimal-leading-zero':return 5;case'lower-roman':return 6;case'upper-roman':return 7;case'lower-greek':return 8;case'lower-alpha':return 9;case'upper-alpha':return 10;case'arabic-indic':return 11;case'armenian':return 12;case'bengali':return 13;case'cambodian':return 14;case'cjk-earthly-branch':return 15;case'cjk-heavenly-stem':return 16;case'cjk-ideographic':return 17;case'devanagari':return 18;case'ethiopic-numeric':return 19;case'georgian':return 20;case'gujarati':return 21;case'gurmukhi':case'hebrew':return 22;case'hiragana':return 23;case'hiragana-iroha':return 24;case'japanese-formal':return 25;case'japanese-informal':return 26;case'kannada':return 27;case'katakana':return 28;case'katakana-iroha':return 29;case'khmer':return 30;case'korean-hangul-formal':return 31;case'korean-hanja-formal':return 32;case'korean-hanja-informal':return 33;case'lao':return 34;case'lower-armenian':return 35;case'malayalam':return 36;case'mongolian':return 37;case'myanmar':return 38;case'oriya':return 39;case'persian':return 40;case'simp-chinese-formal':return 41;case'simp-chinese-informal':return 42;case'tamil':return 43;case'telugu':return 44;case'thai':return 45;case'tibetan':return 46;case'trad-chinese-formal':return 47;case'trad-chinese-informal':return 48;case'upper-armenian':return 49;case'disclosure-open':return 50;case'disclosure-closed':return 51;default:return-1}}},Xq=function(e){return{name:'margin-'+e,initialValue:'0',prefix:!1,type:4}},Jq=Xq('top'),Zq=Xq('right'),$q=Xq('bottom'),eG=Xq('left'),tG={name:'overflow',initialValue:'visible',prefix:!1,type:1,parse:function(e,t){return t.filter(uV).map(function(e){switch(e.value){case'hidden':return 1;case'scroll':return 2;case'clip':return 3;case'auto':return 4;default:return 0}})}},nG={name:'overflow-wrap',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){return'break-word'===t?'break-word':'normal'}},rG=function(e){return{name:'padding-'+e,initialValue:'0',prefix:!1,type:3,format:'length-percentage'}},iG=rG('top'),oG=rG('right'),sG=rG('bottom'),aG=rG('left'),AG={name:'text-align',initialValue:'left',prefix:!1,type:2,parse:function(e,t){switch(t){case'right':return 2;case'center':case'justify':return 1;default:return 0}}},lG={name:'position',initialValue:'static',prefix:!1,type:2,parse:function(e,t){switch(t){case'relative':return 1;case'absolute':return 2;case'fixed':return 3;case'sticky':return 4}return 0}},cG={name:'text-shadow',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return 1===t.length&&fV(t[0],'none')?[]:gV(t).map(function(t){for(var n={color:HV.TRANSPARENT,offsetX:wV,offsetY:wV,blur:wV},r=0,i=0;i<t.length;i++){var o=t[i];vV(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:n.blur=o,r++):n.color=QV(e,o)}return n})}},uG={name:'text-transform',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'uppercase':return 2;case'lowercase':return 1;case'capitalize':return 3}return 0}},dG={name:'transform',initialValue:'none',prefix:!0,type:0,parse:function(e,t){if(20===t.type&&'none'===t.value)return null;if(18===t.type){var n=fG[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},fG={matrix:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number}),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],a=t[13];return t[14],t[15],16===t.length?[n,r,i,o,s,a]:null}},hG={type:16,number:50,flags:4},pG=[hG,hG],gG={name:'transform-origin',initialValue:'50% 50%',prefix:!0,type:1,parse:function(e,t){var n=t.filter(bV);return 2!==n.length?pG:[n[0],n[1]]}},mG={name:'visible',initialValue:'none',prefix:!1,type:2,parse:function(e,t){switch(t){case'hidden':return 1;case'collapse':return 2;default:return 0}}};!function(e){e.NORMAL='normal',e.BREAK_ALL='break-all',e.KEEP_ALL='keep-all'}(zq||(zq={}));for(var vG={name:'word-break',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){switch(t){case'break-all':return zq.BREAK_ALL;case'keep-all':return zq.KEEP_ALL;default:return zq.NORMAL}}},bG={name:'z-index',initialValue:'auto',prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(cV(t))return{auto:!1,order:t.number};throw new Error('Invalid z-index number parsed')}},yG=function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case's':return 1e3*t.number;case'ms':return t.number}throw new Error('Unsupported time type')},wG={name:'opacity',initialValue:'1',type:0,prefix:!1,parse:function(e,t){return cV(t)?t.number:1}},BG={name:'text-decoration-color',initialValue:'transparent',prefix:!1,type:3,format:'color'},xG={name:'text-decoration-line',initialValue:'none',prefix:!1,type:1,parse:function(e,t){return t.filter(uV).map(function(e){switch(e.value){case'underline':return 1;case'overline':return 2;case'line-through':return 3;case'none':return 4}return 0}).filter(function(e){return 0!==e})}},CG={name:'font-family',initialValue:'',prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(' ')),n.length=0}}),n.length&&r.push(n.join(' ')),r.map(function(e){return-1===e.indexOf(' ')?e:'\''+e+'\''})}},_G={name:'font-size',initialValue:'0',prefix:!1,type:3,format:'length'},jG={name:'font-weight',initialValue:'normal',type:0,prefix:!1,parse:function(e,t){return cV(t)?t.number:uV(t)&&'bold'===t.value?700:400}},FG={name:'font-variant',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return t.filter(uV).map(function(e){return e.value})}},EG={name:'font-style',initialValue:'normal',prefix:!1,type:2,parse:function(e,t){switch(t){case'oblique':return'oblique';case'italic':return'italic';default:return'normal'}}},SG=function(e,t){return 0!==(e&t)},kG={name:'content',initialValue:'none',type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&'none'===n.value?[]:t}},UG={name:'counter-increment',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&'none'===n.value)return null;for(var r=[],i=t.filter(hV),o=0;o<i.length;o++){var s=i[o],a=i[o+1];if(20===s.type){var A=a&&cV(a)?a.number:1;r.push({counter:s.value,increment:A})}}return r}},QG={name:'counter-reset',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(hV),i=0;i<r.length;i++){var o=r[i],s=r[i+1];if(uV(o)&&'none'!==o.value){var a=s&&cV(s)?s.number:0;n.push({counter:o.value,reset:a})}}return n}},LG={name:'duration',initialValue:'0s',prefix:!1,type:1,parse:function(e,t){return t.filter(lV).map(function(t){return yG(e,t)})}},OG={name:'quotes',initialValue:'none',prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&'none'===n.value)return null;var r=[],i=t.filter(dV);if(i.length%2!=0)return null;for(var o=0;o<i.length;o+=2){var s=i[o].value,a=i[o+1].value;r.push({open:s,close:a})}return r}},IG=function(e,t,n){if(!e)return'';var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:''},NG={name:'box-shadow',initialValue:'none',type:1,prefix:!1,parse:function(e,t){return 1===t.length&&fV(t[0],'none')?[]:gV(t).map(function(t){for(var n={color:255,offsetX:wV,offsetY:wV,blur:wV,spread:wV,inset:!1},r=0,i=0;i<t.length;i++){var o=t[i];fV(o,'inset')?n.inset=!0:vV(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:2===r?n.blur=o:n.spread=o,r++):n.color=QV(e,o)}return n})}},TG={name:'paint-order',initialValue:'normal',prefix:!1,type:1,parse:function(e,t){var n=[];return t.filter(uV).forEach(function(e){switch(e.value){case'stroke':n.push(1);break;case'fill':n.push(0);break;case'markers':n.push(2)}}),[0,1,2].forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),n}},MG={name:'-webkit-text-stroke-color',initialValue:'currentcolor',prefix:!1,type:3,format:'color'},PG={name:'-webkit-text-stroke-width',initialValue:'0',type:0,prefix:!1,parse:function(e,t){return lV(t)?t.number:0}},DG=function(){function e(e,t){var n,r;this.animationDuration=zG(e,LG,t.animationDuration),this.backgroundClip=zG(e,zV,t.backgroundClip),this.backgroundColor=zG(e,KV,t.backgroundColor),this.backgroundImage=zG(e,lq,t.backgroundImage),this.backgroundOrigin=zG(e,cq,t.backgroundOrigin),this.backgroundPosition=zG(e,uq,t.backgroundPosition),this.backgroundRepeat=zG(e,dq,t.backgroundRepeat),this.backgroundSize=zG(e,pq,t.backgroundSize),this.borderTopColor=zG(e,vq,t.borderTopColor),this.borderRightColor=zG(e,bq,t.borderRightColor),this.borderBottomColor=zG(e,yq,t.borderBottomColor),this.borderLeftColor=zG(e,wq,t.borderLeftColor),this.borderTopLeftRadius=zG(e,xq,t.borderTopLeftRadius),this.borderTopRightRadius=zG(e,Cq,t.borderTopRightRadius),this.borderBottomRightRadius=zG(e,_q,t.borderBottomRightRadius),this.borderBottomLeftRadius=zG(e,jq,t.borderBottomLeftRadius),this.borderTopStyle=zG(e,Eq,t.borderTopStyle),this.borderRightStyle=zG(e,Sq,t.borderRightStyle),this.borderBottomStyle=zG(e,kq,t.borderBottomStyle),this.borderLeftStyle=zG(e,Uq,t.borderLeftStyle),this.borderTopWidth=zG(e,Lq,t.borderTopWidth),this.borderRightWidth=zG(e,Oq,t.borderRightWidth),this.borderBottomWidth=zG(e,Iq,t.borderBottomWidth),this.borderLeftWidth=zG(e,Nq,t.borderLeftWidth),this.boxShadow=zG(e,NG,t.boxShadow),this.color=zG(e,Tq,t.color),this.direction=zG(e,Mq,t.direction),this.display=zG(e,Pq,t.display),this.float=zG(e,Rq,t.cssFloat),this.fontFamily=zG(e,CG,t.fontFamily),this.fontSize=zG(e,_G,t.fontSize),this.fontStyle=zG(e,EG,t.fontStyle),this.fontVariant=zG(e,FG,t.fontVariant),this.fontWeight=zG(e,jG,t.fontWeight),this.letterSpacing=zG(e,Hq,t.letterSpacing),this.lineBreak=zG(e,Kq,t.lineBreak),this.lineHeight=zG(e,Vq,t.lineHeight),this.listStyleImage=zG(e,Gq,t.listStyleImage),this.listStylePosition=zG(e,Wq,t.listStylePosition),this.listStyleType=zG(e,Yq,t.listStyleType),this.marginTop=zG(e,Jq,t.marginTop),this.marginRight=zG(e,Zq,t.marginRight),this.marginBottom=zG(e,$q,t.marginBottom),this.marginLeft=zG(e,eG,t.marginLeft),this.opacity=zG(e,wG,t.opacity);var i=zG(e,tG,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=zG(e,nG,t.overflowWrap),this.paddingTop=zG(e,iG,t.paddingTop),this.paddingRight=zG(e,oG,t.paddingRight),this.paddingBottom=zG(e,sG,t.paddingBottom),this.paddingLeft=zG(e,aG,t.paddingLeft),this.paintOrder=zG(e,TG,t.paintOrder),this.position=zG(e,lG,t.position),this.textAlign=zG(e,AG,t.textAlign),this.textDecorationColor=zG(e,BG,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=zG(e,xG,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=zG(e,cG,t.textShadow),this.textTransform=zG(e,uG,t.textTransform),this.transform=zG(e,dG,t.transform),this.transformOrigin=zG(e,gG,t.transformOrigin),this.visibility=zG(e,mG,t.visibility),this.webkitTextStrokeColor=zG(e,MG,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=zG(e,PG,t.webkitTextStrokeWidth),this.wordBreak=zG(e,vG,t.wordBreak),this.zIndex=zG(e,bG,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return LV(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return SG(this.display,4)||SG(this.display,33554432)||SG(this.display,268435456)||SG(this.display,536870912)||SG(this.display,67108864)||SG(this.display,134217728)},e}(),RG=function(e,t){this.content=zG(e,kG,t.content),this.quotes=zG(e,OG,t.quotes)},HG=function(e,t){this.counterIncrement=zG(e,UG,t.counterIncrement),this.counterReset=zG(e,QG,t.counterReset)},zG=function(e,t,n){var r=new aV,i=null!=n?n.toString():t.initialValue;r.write(i);var o=new AV(r.read());switch(t.type){case 2:var s=o.parseComponentValue();return t.parse(e,uV(s)?s.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case'angle':return EV(e,o.parseComponentValue());case'color':return QV(e,o.parseComponentValue());case'image':return sq(e,o.parseComponentValue());case'length':var a=o.parseComponentValue();return vV(a)?a:wV;case'length-percentage':var A=o.parseComponentValue();return bV(A)?A:wV;case'time':return yG(e,o.parseComponentValue())}}},KG=function(e,t){var n=function(e){switch(e.getAttribute('data-html2canvas-debug')){case'all':return 1;case'clone':return 2;case'parse':return 3;case'render':return 4;default:return 0}}(e);return 1===n||t===n},VG=function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,KG(t,3),this.styles=new DG(e,window.getComputedStyle(t,null)),YW(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration='0s'),null!==this.styles.transform&&(t.style.transform='none')),this.bounds=Fz(this.context,t),KG(t,4)&&(this.flags|=16)},qG='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',GG='undefined'==typeof Uint8Array?[]:new Uint8Array(256),WG=0;WG<64;WG++)GG[qG.charCodeAt(WG)]=WG;for(var YG=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},XG=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),JG='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',ZG='undefined'==typeof Uint8Array?[]:new Uint8Array(256),$G=0;$G<64;$G++)ZG[JG.charCodeAt($G)]=$G;var eW,tW=8,nW=9,rW=11,iW=12,oW=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return'';for(var r=[],i=-1,o='';++i<n;){var s=e[i];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},sW=function(e){var t=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,A=0;'='===e[e.length-1]&&(s--,'='===e[e.length-2]&&s--);var l='undefined'!=typeof ArrayBuffer&&'undefined'!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t<a;t+=4)n=GG[e.charCodeAt(t)],r=GG[e.charCodeAt(t+1)],i=GG[e.charCodeAt(t+2)],o=GG[e.charCodeAt(t+3)],c[A++]=n<<2|r>>4,c[A++]=(15&r)<<4|i>>2,c[A++]=(3&i)<<6|63&o;return l}(e),n=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(t):new Uint32Array(t),r=Array.isArray(t)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(t):new Uint16Array(t),i=YG(r,12,n[4]/2),o=2===n[5]?YG(r,(24+n[4])/2):function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))}(n,Math.ceil((24+n[4])/4));return new XG(n[0],n[1],n[2],n[3],i,o)}('AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA='),aW='×',AW=function(e){return sW.get(e)},lW=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],s=t[n];if(2===o&&3===s)return aW;if(2===o||3===o||4===o)return'÷';if(2===s||3===s||4===s)return'÷';if(o===tW&&-1!==[tW,nW,rW,iW].indexOf(s))return aW;if(!(o!==rW&&o!==nW||s!==nW&&10!==s))return aW;if((o===iW||10===o)&&10===s)return aW;if(13===s||5===s)return aW;if(7===s)return aW;if(1===o)return aW;if(13===o&&14===s){for(;5===i;)i=t[--r];if(14===i)return aW}if(15===o&&15===s){for(var a=0;15===i;)a++,i=t[--r];if(a%2==0)return aW}return'÷'},cW=function(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e),n=t.length,r=0,i=0,o=t.map(AW);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e=aW;r<n&&(e=lW(0,o,++r))===aW;);if(e!==aW||r===n){var s=oW.apply(null,t.slice(i,r));return i=r,{value:s,done:!1}}return{done:!0,value:null}}}},uW=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},dW=function(e,t,n,r,i){var o='http://www.w3.org/2000/svg',s=document.createElementNS(o,'svg'),a=document.createElementNS(o,'foreignObject');return s.setAttributeNS(null,'width',e.toString()),s.setAttributeNS(null,'height',t.toString()),a.setAttributeNS(null,'width','100%'),a.setAttributeNS(null,'height','100%'),a.setAttributeNS(null,'x',n.toString()),a.setAttributeNS(null,'y',r.toString()),a.setAttributeNS(null,'externalResourcesRequired','true'),s.appendChild(a),a.appendChild(i),s},fW=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src='data:image/svg+xml;charset=utf-8,'+encodeURIComponent((new XMLSerializer).serializeToString(e))})},hW={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement('boundtest');n.style.height='123px',n.style.display='block',e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(n),123===i)return!0}}return!1}(document);return Object.defineProperty(hW,'SUPPORT_RANGE_BOUNDS',{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=hW.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement('boundtest');t.style.width='50px',t.style.display='block',t.style.fontSize='12px',t.style.letterSpacing='0px',t.style.wordSpacing='0px',e.body.appendChild(t);var n=e.createRange();t.innerHTML='function'==typeof''.repeat?'👨'.repeat(10):'';var r=t.firstChild,i=Ez(r.data).map(function(e){return Sz(e)}),o=0,s={},a=i.every(function(e,t){n.setStart(r,o),n.setEnd(r,o+e.length);var i=n.getBoundingClientRect();o+=e.length;var a=i.x>s.x||i.y>s.y;return s=i,0===t||a});return e.body.removeChild(t),a}(document);return Object.defineProperty(hW,'SUPPORT_WORD_BREAKING',{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement('canvas'),r=n.getContext('2d');if(!r)return!1;t.src='data:image/svg+xml,<svg xmlns=\'http://www.w3.org/2000/svg\'></svg>';try{r.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(hW,'SUPPORT_SVG_DRAWING',{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e='function'==typeof Array.from&&'function'==typeof window.fetch?function(e){var t=e.createElement('canvas'),n=100;t.width=n,t.height=n;var r=t.getContext('2d');if(!r)return Promise.reject(!1);r.fillStyle='rgb(0, 255, 0)',r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var s=dW(n,n,0,0,i);return r.fillStyle='red',r.fillRect(0,0,n,n),fW(s).then(function(t){r.drawImage(t,0,0);var i=r.getImageData(0,0,n,n).data;r.fillStyle='red',r.fillRect(0,0,n,n);var s=e.createElement('div');return s.style.backgroundImage='url('+o+')',s.style.height=n+'px',uW(i)?fW(dW(n,n,0,0,s)):Promise.reject(!1)}).then(function(e){return r.drawImage(e,0,0),uW(r.getImageData(0,0,n,n).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(hW,'SUPPORT_FOREIGNOBJECT_DRAWING',{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(hW,'SUPPORT_CORS_IMAGES',{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e='string'==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(hW,'SUPPORT_RESPONSE_TYPE',{value:e}),e},get SUPPORT_CORS_XHR(){var e='withCredentials'in new XMLHttpRequest;return Object.defineProperty(hW,'SUPPORT_CORS_XHR',{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!('undefined'==typeof Intl||!Intl.Segmenter);return Object.defineProperty(hW,'SUPPORT_NATIVE_TEXT_SEGMENTATION',{value:e}),e}},pW=function(e,t){this.text=e,this.bounds=t},gW=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement('html2canvaswrapper');r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=Fz(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return jz.EMPTY},mW=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error('Node has no owner document');var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},vW=function(e){if(hW.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:'grapheme'});return Array.from(t.segment(e)).map(function(e){return e.segment})}return function(e){for(var t,n=cW(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},bW=function(e,t){return 0!==t.letterSpacing?vW(e):function(e,t){if(hW.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:'word'});return Array.from(n.segment(e)).map(function(e){return e.segment})}return wW(e,t)}(e,t)},yW=[32,160,4961,65792,65793,4153,4241],wW=function(e,t){for(var n,r=function(e,t){var n=Ez(e),r=_K(n,t),i=r[0],o=r[1],s=r[2],a=n.length,A=0,l=0;return{next:function(){if(l>=a)return{done:!0,value:null};for(var e=dK;l<a&&(e=CK(n,o,i,++l,s))===dK;);if(e!==dK||l===a){var t=new jK(n,e,A,l);return A=l,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:'break-word'===t.overflowWrap?'break-word':t.wordBreak}),i=[],o=function(){if(n.value){var e=n.value.slice(),t=Ez(e),r='';t.forEach(function(e){-1===yW.indexOf(e)?r+=Sz(e):(r.length&&i.push(r),i.push(Sz(e)),r='')}),r.length&&i.push(r)}};!(n=r.next()).done;)o();return i},BW=function(e,t,n){this.text=xW(t.data,n.textTransform),this.textBounds=function(e,t,n,r){var i=bW(t,n),o=[],s=0;return i.forEach(function(t){if(n.textDecorationLine.length||t.trim().length>0)if(hW.SUPPORT_RANGE_BOUNDS){var i=mW(r,s,t.length).getClientRects();if(i.length>1){var a=vW(t),A=0;a.forEach(function(t){o.push(new pW(t,jz.fromDOMRectList(e,mW(r,A+s,t.length).getClientRects()))),A+=t.length})}else o.push(new pW(t,jz.fromDOMRectList(e,i)))}else{var l=r.splitText(t.length);o.push(new pW(t,gW(e,r))),r=l}else hW.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));s+=t.length}),o}(e,this.text,n,t)},xW=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(CW,_W);case 2:return e.toUpperCase();default:return e}},CW=/(^|\s|:|-|\(|\))([a-z])/g,_W=function(e,t,n){return e.length>0?t+n.toUpperCase():e},jW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return Bz(t,e),t}(VG),FW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return Bz(t,e),t}(VG),EW=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=new XMLSerializer,o=Fz(t,n);return n.setAttribute('width',o.width+'px'),n.setAttribute('height',o.height+'px'),r.svg='data:image/svg+xml,'+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return Bz(t,e),t}(VG),SW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return Bz(t,e),t}(VG),kW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed='boolean'==typeof n.reversed&&!0===n.reversed,r}return Bz(t,e),t}(VG),UW=[{type:15,flags:0,unit:'px',number:3}],QW=[{type:16,flags:0,number:50}],LW='checkbox',OW='radio',IW='password',NW=707406591,TW=function(e){function t(t,n){var r,i,o,s=e.call(this,t,n)||this;switch(s.type=n.type.toLowerCase(),s.checked=n.checked,s.value=0===(i=(r=n).type===IW?new Array(r.value.length+1).join('•'):r.value).length?r.placeholder||'':i,s.type!==LW&&s.type!==OW||(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=(o=s.bounds).width>o.height?new jz(o.left+(o.width-o.height)/2,o.top,o.height,o.height):o.width<o.height?new jz(o.left,o.top+(o.height-o.width)/2,o.width,o.width):o),s.type){case LW:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=UW;break;case OW:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=QW}return s}return Bz(t,e),t}(VG),MW=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||'',r}return Bz(t,e),t}(VG),PW=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return Bz(t,e),t}(VG),DW=function(e){function t(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=KW(t,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?RV(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):HV.TRANSPARENT,o=n.contentWindow.document.body?RV(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):HV.TRANSPARENT;r.backgroundColor=LV(i)?LV(o)?r.styles.backgroundColor:o:i}}catch(e){}return r}return Bz(t,e),t}(VG),RW=['OL','UL','MENU'],HW=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,GW(i)&&i.data.trim().length>0)n.textNodes.push(new BW(e,i,n.styles));else if(WW(i))if(lY(i)&&i.assignedNodes)i.assignedNodes().forEach(function(t){return HW(e,t,n,r)});else{var s=zW(e,i);s.styles.isVisible()&&(VW(i,s,r)?s.flags|=4:qW(s.styles)&&(s.flags|=2),-1!==RW.indexOf(i.tagName)&&(s.flags|=8),n.elements.push(s),i.slot,i.shadowRoot?HW(e,i.shadowRoot,s,r):aY(i)||eY(i)||AY(i)||HW(e,i,s,r))}},zW=function(e,t){return iY(t)?new jW(e,t):nY(t)?new FW(e,t):eY(t)?new EW(e,t):JW(t)?new SW(e,t):ZW(t)?new kW(e,t):$W(t)?new TW(e,t):AY(t)?new MW(e,t):aY(t)?new PW(e,t):oY(t)?new DW(e,t):new VG(e,t)},KW=function(e,t){var n=zW(e,t);return n.flags|=4,HW(e,t,n,n),n},VW=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||tY(e)&&n.styles.isTransparent()},qW=function(e){return e.isPositioned()||e.isFloating()},GW=function(e){return e.nodeType===Node.TEXT_NODE},WW=function(e){return e.nodeType===Node.ELEMENT_NODE},YW=function(e){return WW(e)&&void 0!==e.style&&!XW(e)},XW=function(e){return'object'==typeof e.className},JW=function(e){return'LI'===e.tagName},ZW=function(e){return'OL'===e.tagName},$W=function(e){return'INPUT'===e.tagName},eY=function(e){return'svg'===e.tagName},tY=function(e){return'BODY'===e.tagName},nY=function(e){return'CANVAS'===e.tagName},rY=function(e){return'VIDEO'===e.tagName},iY=function(e){return'IMG'===e.tagName},oY=function(e){return'IFRAME'===e.tagName},sY=function(e){return'STYLE'===e.tagName},aY=function(e){return'TEXTAREA'===e.tagName},AY=function(e){return'SELECT'===e.tagName},lY=function(e){return'SLOT'===e.tagName},cY=function(e){return e.tagName.indexOf('-')>0},uY=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach(function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)});var o=[];return i&&r.forEach(function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)}),o},e}(),dY={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:['M','CM','D','CD','C','XC','L','XL','X','IX','V','IV','I']},fY={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:['Ք','Փ','Ւ','Ց','Ր','Տ','Վ','Ս','Ռ','Ջ','Պ','Չ','Ո','Շ','Ն','Յ','Մ','Ճ','Ղ','Ձ','Հ','Կ','Ծ','Խ','Լ','Ի','Ժ','Թ','Ը','Է','Զ','Ե','Դ','Գ','Բ','Ա']},hY={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:['י׳','ט׳','ח׳','ז׳','ו׳','ה׳','ד׳','ג׳','ב׳','א׳','ת','ש','ר','ק','צ','פ','ע','ס','נ','מ','ל','כ','יט','יח','יז','טז','טו','י','ט','ח','ז','ו','ה','ד','ג','ב','א']},pY={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:['ჵ','ჰ','ჯ','ჴ','ხ','ჭ','წ','ძ','ც','ჩ','შ','ყ','ღ','ქ','ფ','ჳ','ტ','ს','რ','ჟ','პ','ო','ჲ','ნ','მ','ლ','კ','ი','თ','ჱ','ზ','ვ','ე','დ','გ','ბ','ა']},gY=function(e,t,n,r,i,o){return e<t||e>n?_Y(e,i,o.length>0):r.integers.reduce(function(t,n,i){for(;e>=n;)e-=n,t+=r.values[i];return t},'')+o},mY=function(e,t,n,r){var i='';do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},vY=function(e,t,n,r,i){var o=n-t+1;return(e<0?'-':'')+(mY(Math.abs(e),o,r,function(e){return Sz(Math.floor(e%o)+t)})+i)},bY=function(e,t,n){void 0===n&&(n='. ');var r=t.length;return mY(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+n},yY=function(e,t,n,r,i,o){if(e<-9999||e>9999)return _Y(e,4,i.length>0);var s=Math.abs(e),a=i;if(0===s)return t[0]+a;for(var A=0;s>0&&A<=4;A++){var l=s%10;0===l&&SG(o,1)&&''!==a?a=t[l]+a:l>1||1===l&&0===A||1===l&&1===A&&SG(o,2)||1===l&&1===A&&SG(o,4)&&e>100||1===l&&A>1&&SG(o,8)?a=t[l]+(A>0?n[A-1]:'')+a:1===l&&A>0&&(a=n[A-1]+a),s=Math.floor(s/10)}return(e<0?r:'')+a},wY='十百千萬',BY='拾佰仟萬',xY='マイナス',CY='마이너스',_Y=function(e,t,n){var r=n?'. ':'',i=n?'、':'',o=n?', ':'',s=n?' ':'';switch(t){case 0:return'•'+s;case 1:return'◦'+s;case 2:return'◾'+s;case 5:var a=vY(e,48,57,!0,r);return a.length<4?'0'+a:a;case 4:return bY(e,'〇一二三四五六七八九',i);case 6:return gY(e,1,3999,dY,3,r).toLowerCase();case 7:return gY(e,1,3999,dY,3,r);case 8:return vY(e,945,969,!1,r);case 9:return vY(e,97,122,!1,r);case 10:return vY(e,65,90,!1,r);case 11:return vY(e,1632,1641,!0,r);case 12:case 49:return gY(e,1,9999,fY,3,r);case 35:return gY(e,1,9999,fY,3,r).toLowerCase();case 13:return vY(e,2534,2543,!0,r);case 14:case 30:return vY(e,6112,6121,!0,r);case 15:return bY(e,'子丑寅卯辰巳午未申酉戌亥',i);case 16:return bY(e,'甲乙丙丁戊己庚辛壬癸',i);case 17:case 48:return yY(e,'零一二三四五六七八九',wY,'負',i,14);case 47:return yY(e,'零壹貳參肆伍陸柒捌玖',BY,'負',i,15);case 42:return yY(e,'零一二三四五六七八九',wY,'负',i,14);case 41:return yY(e,'零壹贰叁肆伍陆柒捌玖',BY,'负',i,15);case 26:return yY(e,'〇一二三四五六七八九','十百千万',xY,i,0);case 25:return yY(e,'零壱弐参四伍六七八九','拾百千万',xY,i,7);case 31:return yY(e,'영일이삼사오육칠팔구','십백천만',CY,o,7);case 33:return yY(e,'零一二三四五六七八九','十百千萬',CY,o,0);case 32:return yY(e,'零壹貳參四五六七八九','拾百千',CY,o,7);case 18:return vY(e,2406,2415,!0,r);case 20:return gY(e,1,19999,pY,3,r);case 21:return vY(e,2790,2799,!0,r);case 22:return vY(e,2662,2671,!0,r);case 22:return gY(e,1,10999,hY,3,r);case 23:return bY(e,'あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん');case 24:return bY(e,'いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす');case 27:return vY(e,3302,3311,!0,r);case 28:return bY(e,'アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン',i);case 29:return bY(e,'イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス',i);case 34:return vY(e,3792,3801,!0,r);case 37:return vY(e,6160,6169,!0,r);case 38:return vY(e,4160,4169,!0,r);case 39:return vY(e,2918,2927,!0,r);case 40:return vY(e,1776,1785,!0,r);case 43:return vY(e,3046,3055,!0,r);case 44:return vY(e,3174,3183,!0,r);case 45:return vY(e,3664,3673,!0,r);case 46:return vY(e,3872,3881,!0,r);default:return vY(e,48,57,!0,r)}},jY='data-html2canvas-ignore',FY=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new uY,this.quoteDepth=0,!t.ownerDocument)throw new Error('Cloned element does not have an owner document');this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,r=SY(e,t);if(!r.contentWindow)return Promise.reject('Unable to find iframe window');var i=e.defaultView.pageXOffset,o=e.defaultView.pageYOffset,s=r.contentWindow,a=s.document,A=QY(r).then(function(){return Cz(n,void 0,void 0,function(){var e,n;return _z(this,function(i){switch(i.label){case 0:return this.scrolledElements.forEach(TY),s&&(s.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===t.top&&s.scrollX===t.left||(this.context.logger.warn('Unable to restore scroll position for cloned document'),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-t.left,s.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject('Error finding the '+this.referenceElement.nodeName+' in the cloned document')]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,UY(a)]:[3,4];case 3:i.sent(),i.label=4;case 4:return'function'==typeof e?[2,Promise.resolve().then(function(){return e(a,n)}).then(function(){return r})]:[2,r]}})})});return a.open(),a.write(IY(document.doctype)+'<html></html>'),NY(this.referenceElement.ownerDocument,i,o),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),A},e.prototype.createElementClone=function(e){if(KG(e,2),nY(e))return this.createCanvasClone(e);if(rY(e))return this.createVideoClone(e);if(sY(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return iY(t)&&(iY(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=''),'lazy'===t.loading&&(t.loading='eager')),cY(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement('html2canvascustomelement');return OY(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&'string'==typeof t.cssText?e+t.cssText:e},''),r=e.cloneNode(!1);return r.textContent=n,r}}catch(e){if(this.context.logger.error('Unable to access cssRules property',e),'SecurityError'!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement('img');try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info('Unable to inline canvas contents, canvas is tainted',e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var i=e.getContext('2d'),o=r.getContext('2d');if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var s=null!==(t=e.getContext('webgl2'))&&void 0!==t?t:e.getContext('webgl');if(s){var a=s.getContextAttributes();!1===(null==a?void 0:a.preserveDrawingBuffer)&&this.context.logger.warn('Unable to clone WebGL context as it has preserveDrawingBuffer=false',e)}o.drawImage(e,0,0)}return r}catch(t){this.context.logger.info('Unable to clone canvas as it is tainted',e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement('canvas');t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext('2d');try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info('Unable to clone video as it is tainted',e)}var r=e.ownerDocument.createElement('canvas');return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){WW(t)&&('SCRIPT'===t.tagName||t.hasAttribute(jY)||'function'==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&WW(t)&&sY(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(WW(i)&&lY(i)&&'function'==typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach(function(e){return r.appendChildNode(t,e,n)})}else this.appendChildNode(t,i,n)},e.prototype.cloneNode=function(e,t){if(GW(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&WW(e)&&(YW(e)||XW(e))){var r=this.createElementClone(e);r.style.transitionProperty='none';var i=n.getComputedStyle(e),o=n.getComputedStyle(e,':before'),s=n.getComputedStyle(e,':after');this.referenceElement===e&&YW(r)&&(this.clonedReferenceElement=r),tY(r)&&RY(r);var a=this.counters.parse(new HG(this.context,i)),A=this.resolvePseudoContent(e,r,o,eW.BEFORE);cY(e)&&(t=!0),rY(e)||this.cloneChildNodes(e,r,t),A&&r.insertBefore(A,r.firstChild);var l=this.resolvePseudoContent(e,r,s,eW.AFTER);return l&&r.appendChild(l),this.counters.pop(a),(i&&(this.options.copyStyles||XW(e))&&!oY(e)||t)&&OY(i,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(aY(e)||AY(e))&&(aY(r)||AY(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,s=t.ownerDocument;if(s&&o&&'none'!==o&&'-moz-alt-content'!==o&&'none'!==n.display){this.counters.parse(new HG(this.context,n));var a=new RG(this.context,n),A=s.createElement('html2canvaspseudoelement');OY(n,A),a.content.forEach(function(t){if(0===t.type)A.appendChild(s.createTextNode(t.value));else if(22===t.type){var n=s.createElement('img');n.src=t.value,n.style.opacity='1',A.appendChild(n)}else if(18===t.type){if('attr'===t.name){var r=t.values.filter(uV);r.length&&A.appendChild(s.createTextNode(e.getAttribute(r[0].value)||''))}else if('counter'===t.name){var o=t.values.filter(pV),l=o[0],c=o[1];if(l&&uV(l)){var u=i.counters.getCounterValue(l.value),d=c&&uV(c)?Yq.parse(i.context,c.value):3;A.appendChild(s.createTextNode(_Y(u,d,!1)))}}else if('counters'===t.name){var f=t.values.filter(pV),h=(l=f[0],f[1]);c=f[2];if(l&&uV(l)){var p=i.counters.getCounterValues(l.value),g=c&&uV(c)?Yq.parse(i.context,c.value):3,m=h&&0===h.type?h.value:'',v=p.map(function(e){return _Y(e,g,!1)}).join(m);A.appendChild(s.createTextNode(v))}}}else if(20===t.type)switch(t.value){case'open-quote':A.appendChild(s.createTextNode(IG(a.quotes,i.quoteDepth++,!0)));break;case'close-quote':A.appendChild(s.createTextNode(IG(a.quotes,--i.quoteDepth,!1)));break;default:A.appendChild(s.createTextNode(t.value))}}),A.className=MY+' '+PY;var l=r===eW.BEFORE?' '+MY:' '+PY;return XW(t)?t.className.baseValue+=l:t.className+=l,A}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]='BEFORE',e[e.AFTER=1]='AFTER'}(eW||(eW={}));var EY,SY=function(e,t){var n=e.createElement('iframe');return n.className='html2canvas-container',n.style.visibility='hidden',n.style.position='fixed',n.style.left='-10000px',n.style.top='0px',n.style.border='0',n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling='no',n.setAttribute(jY,'true'),e.body.appendChild(n),n},kY=function(e){return new Promise(function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()})},UY=function(e){return Promise.all([].slice.call(e.images,0).map(kY))},QY=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n('No window assigned for iframe');var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){i.body.childNodes.length>0&&'complete'===i.readyState&&(clearInterval(n),t(e))},50)}})},LY=['all','d','content'],OY=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===LY.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},IY=function(e){var t='';return e&&(t+='<!DOCTYPE ',e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+='>'),t},NY=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},TY=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},MY='___html2canvas___pseudoelement_before',PY='___html2canvas___pseudoelement_after',DY='{\n content: "" !important;\n display: none !important;\n}',RY=function(e){HY(e,'.'+MY+':before'+DY+'\n .'+PY+':after'+DY)},HY=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement('style');r.textContent=t,e.appendChild(r)}},zY=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):'about:blank'},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement('a'),e._origin=e.getOrigin(t.location.href)},e._origin='about:blank',e}(),KY=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:JY(e)||WY(e)?((this._cache[e]=this.loadImage(e)).catch(function(){}),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return Cz(this,void 0,void 0,function(){var t,n,r,i,o=this;return _z(this,function(s){switch(s.label){case 0:return t=zY.isSameOrigin(e),n=!YY(e)&&!0===this._options.useCORS&&hW.SUPPORT_CORS_IMAGES&&!t,r=!YY(e)&&!t&&!JY(e)&&'string'==typeof this._options.proxy&&hW.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||YY(e)||JY(e)||r||n?(i=e,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=s.sent(),s.label=2;case 2:return this.context.logger.debug('Added image '+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(XY(i)||n)&&(r.crossOrigin='anonymous'),r.src=i,!0===r.complete&&setTimeout(function(){return e(r)},500),o._options.imageTimeout>0&&setTimeout(function(){return t('Timed out ('+o._options.imageTimeout+'ms) loading image')},o._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error('No proxy defined');var r=e.substring(0,256);return new Promise(function(i,o){var s=hW.SUPPORT_RESPONSE_TYPE?'blob':'text',a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if('text'===s)i(a.response);else{var e=new FileReader;e.addEventListener('load',function(){return i(e.result)},!1),e.addEventListener('error',function(e){return o(e)},!1),e.readAsDataURL(a.response)}else o('Failed to proxy resource '+r+' with status code '+a.status)},a.onerror=o;var A=n.indexOf('?')>-1?'&':'?';if(a.open('GET',''+n+A+'url='+encodeURIComponent(e)+'&responseType='+s),'text'!==s&&a instanceof XMLHttpRequest&&(a.responseType=s),t._options.imageTimeout){var l=t._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return o('Timed out ('+l+'ms) proxying '+r)}}a.send()})},e}(),VY=/^data:image\/svg\+xml/i,qY=/^data:image\/.*;base64,/i,GY=/^data:image\/.*/i,WY=function(e){return hW.SUPPORT_SVG_DRAWING||!ZY(e)},YY=function(e){return GY.test(e)},XY=function(e){return qY.test(e)},JY=function(e){return'blob'===e.substr(0,4)},ZY=function(e){return'svg'===e.substr(-3).toLowerCase()||VY.test(e)},$Y=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),eX=function(e,t,n){return new $Y(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},tX=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=eX(this.start,this.startControl,t),i=eX(this.startControl,this.endControl,t),o=eX(this.endControl,this.end,t),s=eX(r,i,t),a=eX(i,o,t),A=eX(s,a,t);return n?new e(this.start,r,s,A):new e(A,a,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),nX=function(e){return 1===e.type},rX=function(e){var t=e.styles,n=e.bounds,r=CV(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],s=CV(t.borderTopRightRadius,n.width,n.height),a=s[0],A=s[1],l=CV(t.borderBottomRightRadius,n.width,n.height),c=l[0],u=l[1],d=CV(t.borderBottomLeftRadius,n.width,n.height),f=d[0],h=d[1],p=[];p.push((i+a)/n.width),p.push((f+c)/n.width),p.push((o+h)/n.height),p.push((A+u)/n.height);var g=Math.max.apply(Math,p);g>1&&(i/=g,o/=g,a/=g,A/=g,c/=g,u/=g,f/=g,h/=g);var m=n.width-a,v=n.height-u,b=n.width-c,y=n.height-h,w=t.borderTopWidth,B=t.borderRightWidth,x=t.borderBottomWidth,C=t.borderLeftWidth,_=_V(t.paddingTop,e.bounds.width),j=_V(t.paddingRight,e.bounds.width),F=_V(t.paddingBottom,e.bounds.width),E=_V(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?iX(n.left+C/3,n.top+w/3,i-C/3,o-w/3,EY.TOP_LEFT):new $Y(n.left+C/3,n.top+w/3),this.topRightBorderDoubleOuterBox=i>0||o>0?iX(n.left+m,n.top+w/3,a-B/3,A-w/3,EY.TOP_RIGHT):new $Y(n.left+n.width-B/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?iX(n.left+b,n.top+v,c-B/3,u-x/3,EY.BOTTOM_RIGHT):new $Y(n.left+n.width-B/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=f>0||h>0?iX(n.left+C/3,n.top+y,f-C/3,h-x/3,EY.BOTTOM_LEFT):new $Y(n.left+C/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?iX(n.left+2*C/3,n.top+2*w/3,i-2*C/3,o-2*w/3,EY.TOP_LEFT):new $Y(n.left+2*C/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=i>0||o>0?iX(n.left+m,n.top+2*w/3,a-2*B/3,A-2*w/3,EY.TOP_RIGHT):new $Y(n.left+n.width-2*B/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?iX(n.left+b,n.top+v,c-2*B/3,u-2*x/3,EY.BOTTOM_RIGHT):new $Y(n.left+n.width-2*B/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=f>0||h>0?iX(n.left+2*C/3,n.top+y,f-2*C/3,h-2*x/3,EY.BOTTOM_LEFT):new $Y(n.left+2*C/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=i>0||o>0?iX(n.left+C/2,n.top+w/2,i-C/2,o-w/2,EY.TOP_LEFT):new $Y(n.left+C/2,n.top+w/2),this.topRightBorderStroke=i>0||o>0?iX(n.left+m,n.top+w/2,a-B/2,A-w/2,EY.TOP_RIGHT):new $Y(n.left+n.width-B/2,n.top+w/2),this.bottomRightBorderStroke=c>0||u>0?iX(n.left+b,n.top+v,c-B/2,u-x/2,EY.BOTTOM_RIGHT):new $Y(n.left+n.width-B/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=f>0||h>0?iX(n.left+C/2,n.top+y,f-C/2,h-x/2,EY.BOTTOM_LEFT):new $Y(n.left+C/2,n.top+n.height-x/2),this.topLeftBorderBox=i>0||o>0?iX(n.left,n.top,i,o,EY.TOP_LEFT):new $Y(n.left,n.top),this.topRightBorderBox=a>0||A>0?iX(n.left+m,n.top,a,A,EY.TOP_RIGHT):new $Y(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||u>0?iX(n.left+b,n.top+v,c,u,EY.BOTTOM_RIGHT):new $Y(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||h>0?iX(n.left,n.top+y,f,h,EY.BOTTOM_LEFT):new $Y(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?iX(n.left+C,n.top+w,Math.max(0,i-C),Math.max(0,o-w),EY.TOP_LEFT):new $Y(n.left+C,n.top+w),this.topRightPaddingBox=a>0||A>0?iX(n.left+Math.min(m,n.width-B),n.top+w,m>n.width+B?0:Math.max(0,a-B),Math.max(0,A-w),EY.TOP_RIGHT):new $Y(n.left+n.width-B,n.top+w),this.bottomRightPaddingBox=c>0||u>0?iX(n.left+Math.min(b,n.width-C),n.top+Math.min(v,n.height-x),Math.max(0,c-B),Math.max(0,u-x),EY.BOTTOM_RIGHT):new $Y(n.left+n.width-B,n.top+n.height-x),this.bottomLeftPaddingBox=f>0||h>0?iX(n.left+C,n.top+Math.min(y,n.height-x),Math.max(0,f-C),Math.max(0,h-x),EY.BOTTOM_LEFT):new $Y(n.left+C,n.top+n.height-x),this.topLeftContentBox=i>0||o>0?iX(n.left+C+E,n.top+w+_,Math.max(0,i-(C+E)),Math.max(0,o-(w+_)),EY.TOP_LEFT):new $Y(n.left+C+E,n.top+w+_),this.topRightContentBox=a>0||A>0?iX(n.left+Math.min(m,n.width+C+E),n.top+w+_,m>n.width+C+E?0:a-C+E,A-(w+_),EY.TOP_RIGHT):new $Y(n.left+n.width-(B+j),n.top+w+_),this.bottomRightContentBox=c>0||u>0?iX(n.left+Math.min(b,n.width-(C+E)),n.top+Math.min(v,n.height+w+_),Math.max(0,c-(B+j)),u-(x+F),EY.BOTTOM_RIGHT):new $Y(n.left+n.width-(B+j),n.top+n.height-(x+F)),this.bottomLeftContentBox=f>0||h>0?iX(n.left+C+E,n.top+y,Math.max(0,f-(C+E)),h-(x+F),EY.BOTTOM_LEFT):new $Y(n.left+C+E,n.top+n.height-(x+F))};!function(e){e[e.TOP_LEFT=0]='TOP_LEFT',e[e.TOP_RIGHT=1]='TOP_RIGHT',e[e.BOTTOM_RIGHT=2]='BOTTOM_RIGHT',e[e.BOTTOM_LEFT=3]='BOTTOM_LEFT'}(EY||(EY={}));var iX=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,s=n*o,a=r*o,A=e+n,l=t+r;switch(i){case EY.TOP_LEFT:return new tX(new $Y(e,l),new $Y(e,l-a),new $Y(A-s,t),new $Y(A,t));case EY.TOP_RIGHT:return new tX(new $Y(e,t),new $Y(e+s,t),new $Y(A,l-a),new $Y(A,l));case EY.BOTTOM_RIGHT:return new tX(new $Y(A,t),new $Y(A,t+a),new $Y(e+s,l),new $Y(e,l));case EY.BOTTOM_LEFT:default:return new tX(new $Y(A,l),new $Y(A-s,l),new $Y(e,t+a),new $Y(e,t))}},oX=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},sX=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},aX=function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6},AX=function(e,t){this.path=e,this.target=t,this.type=1},lX=function(e){this.opacity=e,this.type=2,this.target=6},cX=function(e){return 1===e.type},uX=function(e,t){return e.length===t.length&&e.some(function(e,n){return e===t[n]})},dX=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},fX=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new rX(this.container),this.container.styles.opacity<1&&this.effects.push(new lX(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new aX(n,r,i))}if(0!==this.container.styles.overflowX){var o=oX(this.curves),s=sX(this.curves);uX(o,s)?this.effects.push(new AX(o,6)):(this.effects.push(new AX(o,2)),this.effects.push(new AX(s,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(e){return!cX(e)});if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=oX(n.curves),s=sX(n.curves);uX(o,s)||r.unshift(new AX(s,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(t){return SG(t.target,e)})},e}(),hX=function(e,t,n,r){e.container.elements.forEach(function(i){var o=SG(i.flags,4),s=SG(i.flags,2),a=new fX(i,e);SG(i.styles.display,2048)&&r.push(a);var A=SG(i.flags,8)?[]:r;if(o||s){var l=o||i.styles.isPositioned()?n:t,c=new dX(a);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var d=0;l.negativeZIndex.some(function(e,t){return u>e.element.container.styles.zIndex.order?(d=t,!1):d>0}),l.negativeZIndex.splice(d,0,c)}else if(u>0){var f=0;l.positiveZIndex.some(function(e,t){return u>=e.element.container.styles.zIndex.order?(f=t+1,!1):f>0}),l.positiveZIndex.splice(f,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else i.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);hX(a,c,o?c:n,A)}else i.styles.isInlineLevel()?t.inlineLevel.push(a):t.nonInlineLevel.push(a),hX(a,t,n,A);SG(i.flags,8)&&pX(i,A)})},pX=function(e,t){for(var n=e instanceof kW?e.start:1,r=e instanceof kW&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof SW&&'number'==typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=_Y(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},gX=function(e,t){switch(t){case 0:return vX(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return vX(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return vX(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return vX(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},mX=function(e,t){var n=[];return nX(e)?n.push(e.subdivide(.5,!1)):n.push(e),nX(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},vX=function(e,t,n,r){var i=[];return nX(e)?i.push(e.subdivide(.5,!1)):i.push(e),nX(n)?i.push(n.subdivide(.5,!0)):i.push(n),nX(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),nX(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},bX=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},yX=function(e){var t=e.styles,n=e.bounds,r=_V(t.paddingLeft,n.width),i=_V(t.paddingRight,n.width),o=_V(t.paddingTop,n.width),s=_V(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+s))},wX=function(e,t,n){var r=function(e,t){return 0===e?t.bounds:2===e?yX(t):bX(t)}(_X(e.styles.backgroundOrigin,t),e),i=function(e,t){return 0===e?t.bounds:2===e?yX(t):bX(t)}(_X(e.styles.backgroundClip,t),e),o=CX(_X(e.styles.backgroundSize,t),n,r),s=o[0],a=o[1],A=CV(_X(e.styles.backgroundPosition,t),r.width-s,r.height-a);return[jX(_X(e.styles.backgroundRepeat,t),A,o,r,i),Math.round(r.left+A[0]),Math.round(r.top+A[1]),s,a]},BX=function(e){return uV(e)&&e.value===aq.AUTO},xX=function(e){return'number'==typeof e},CX=function(e,t,n){var r=t[0],i=t[1],o=t[2],s=e[0],a=e[1];if(!s)return[0,0];if(bV(s)&&a&&bV(a))return[_V(s,n.width),_V(a,n.height)];var A=xX(o);if(uV(s)&&(s.value===aq.CONTAIN||s.value===aq.COVER))return xX(o)?n.width/n.height<o!=(s.value===aq.COVER)?[n.width,n.width/o]:[n.height*o,n.height]:[n.width,n.height];var l=xX(r),c=xX(i),u=l||c;if(BX(s)&&(!a||BX(a)))return l&&c?[r,i]:A||u?u&&A?[l?r:i*o,c?i:r/o]:[l?r:n.width,c?i:n.height]:[n.width,n.height];if(A){var d=0,f=0;return bV(s)?d=_V(s,n.width):bV(a)&&(f=_V(a,n.height)),BX(s)?d=f*o:a&&!BX(a)||(f=d/o),[d,f]}var h=null,p=null;if(bV(s)?h=_V(s,n.width):a&&bV(a)&&(p=_V(a,n.height)),null===h||a&&!BX(a)||(p=l&&c?h/r*i:n.height),null!==p&&BX(s)&&(h=l&&c?p/i*r:n.width),null!==h&&null!==p)return[h,p];throw new Error('Unable to calculate background-size for element')},_X=function(e,t){var n=e[t];return void 0===n?e[0]:n},jX=function(e,t,n,r,i){var o=t[0],s=t[1],a=n[0],A=n[1];switch(e){case 2:return[new $Y(Math.round(r.left),Math.round(r.top+s)),new $Y(Math.round(r.left+r.width),Math.round(r.top+s)),new $Y(Math.round(r.left+r.width),Math.round(A+r.top+s)),new $Y(Math.round(r.left),Math.round(A+r.top+s))];case 3:return[new $Y(Math.round(r.left+o),Math.round(r.top)),new $Y(Math.round(r.left+o+a),Math.round(r.top)),new $Y(Math.round(r.left+o+a),Math.round(r.height+r.top)),new $Y(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new $Y(Math.round(r.left+o),Math.round(r.top+s)),new $Y(Math.round(r.left+o+a),Math.round(r.top+s)),new $Y(Math.round(r.left+o+a),Math.round(r.top+s+A)),new $Y(Math.round(r.left+o),Math.round(r.top+s+A))];default:return[new $Y(Math.round(i.left),Math.round(i.top)),new $Y(Math.round(i.left+i.width),Math.round(i.top)),new $Y(Math.round(i.left+i.width),Math.round(i.height+i.top)),new $Y(Math.round(i.left),Math.round(i.height+i.top))]}},FX='Hidden Text',EX=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement('div'),r=this._document.createElement('img'),i=this._document.createElement('span'),o=this._document.body;n.style.visibility='hidden',n.style.fontFamily=e,n.style.fontSize=t,n.style.margin='0',n.style.padding='0',n.style.whiteSpace='nowrap',o.appendChild(n),r.src='data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7',r.width=1,r.height=1,r.style.margin='0',r.style.padding='0',r.style.verticalAlign='baseline',i.style.fontFamily=e,i.style.fontSize=t,i.style.margin='0',i.style.padding='0',i.appendChild(this._document.createTextNode(FX)),n.appendChild(i),n.appendChild(r);var s=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(FX)),n.style.lineHeight='normal',r.style.verticalAlign='super';var a=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:s,middle:a}},e.prototype.getMetrics=function(e,t){var n=e+' '+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),SX=function(e,t){this.context=e,this.options=t},kX=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement('canvas'),r.ctx=r.canvas.getContext('2d'),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+'px',r.canvas.style.height=n.height+'px'),r.fontMetrics=new EX(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline='bottom',r._activeEffects=[],r.context.logger.debug('Canvas renderer initialized ('+n.width+'x'+n.height+') with scale '+n.scale),r}return Bz(t,e),t.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(e){return t.applyEffect(e)})},t.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),cX(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(e){return Cz(this,void 0,void 0,function(){return _z(this,function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(e){return Cz(this,void 0,void 0,function(){return _z(this,function(t){switch(t.label){case 0:return SG(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):vW(e.text).reduce(function(t,i){return r.ctx.fillText(i,t,e.bounds.top+n),t+r.ctx.measureText(i).width},e.bounds.left)},t.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return'normal'===e||'small-caps'===e}).join(''),n=IX(e.fontFamily).join(', '),r=lV(e.fontSize)?''+e.fontSize.number+e.fontSize.unit:e.fontSize.number+'px';return[[e.fontStyle,t,e.fontWeight,r,n].join(' '),n,r]},t.prototype.renderTextNode=function(e,t){return Cz(this,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c=this;return _z(this,function(u){return n=this.createFontStyle(t),r=n[0],i=n[1],o=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?'rtl':'ltr',this.ctx.textAlign='left',this.ctx.textBaseline='alphabetic',s=this.fontMetrics.getMetrics(i,o),a=s.baseline,A=s.middle,l=t.paintOrder,e.textBounds.forEach(function(e){l.forEach(function(n){switch(n){case 0:c.ctx.fillStyle=OV(t.color),c.renderTextWithLetterSpacing(e,t.letterSpacing,a);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach(function(n){c.ctx.shadowColor=OV(n.color),c.ctx.shadowOffsetX=n.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=n.offsetY.number*c.options.scale,c.ctx.shadowBlur=n.blur.number,c.renderTextWithLetterSpacing(e,t.letterSpacing,a)}),c.ctx.shadowColor='',c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),t.textDecorationLine.length&&(c.ctx.fillStyle=OV(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:c.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+a),e.bounds.width,1);break;case 2:c.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:c.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+A),e.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(c.ctx.strokeStyle=OV(t.webkitTextStrokeColor),c.ctx.lineWidth=t.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?'miter':'round',c.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+a)),c.ctx.strokeStyle='',c.ctx.lineWidth=0,c.ctx.lineJoin='miter'}})}),[2]})})},t.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=yX(e),i=sX(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return Cz(this,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b;return _z(this,function(y){switch(y.label){case 0:this.applyEffects(e.getEffects(4)),n=e.container,r=e.curves,i=n.styles,o=0,s=n.textNodes,y.label=1;case 1:return o<s.length?(a=s[o],[4,this.renderTextNode(a,i)]):[3,4];case 2:y.sent(),y.label=3;case 3:return o++,[3,1];case 4:if(!(n instanceof jW))return[3,8];y.label=5;case 5:return y.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return g=y.sent(),this.renderReplacedElement(n,r,g),[3,8];case 7:return y.sent(),this.context.logger.error('Error loading image '+n.src),[3,8];case 8:if(n instanceof FW&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof EW))return[3,12];y.label=9;case 9:return y.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return g=y.sent(),this.renderReplacedElement(n,r,g),[3,12];case 11:return y.sent(),this.context.logger.error('Error loading svg '+n.svg.substring(0,255)),[3,12];case 12:return n instanceof DW&&n.tree?[4,new t(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}).render(n.tree)]:[3,14];case 13:A=y.sent(),n.width&&n.height&&this.ctx.drawImage(A,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),y.label=14;case 14:if(n instanceof TW&&(l=Math.min(n.bounds.width,n.bounds.height),n.type===LW?n.checked&&(this.ctx.save(),this.path([new $Y(n.bounds.left+.39363*l,n.bounds.top+.79*l),new $Y(n.bounds.left+.16*l,n.bounds.top+.5549*l),new $Y(n.bounds.left+.27347*l,n.bounds.top+.44071*l),new $Y(n.bounds.left+.39694*l,n.bounds.top+.5649*l),new $Y(n.bounds.left+.72983*l,n.bounds.top+.23*l),new $Y(n.bounds.left+.84*l,n.bounds.top+.34085*l),new $Y(n.bounds.left+.39363*l,n.bounds.top+.79*l)]),this.ctx.fillStyle=OV(NW),this.ctx.fill(),this.ctx.restore()):n.type===OW&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+l/2,n.bounds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=OV(NW),this.ctx.fill(),this.ctx.restore())),UX(n)&&n.value.length){switch(c=this.createFontStyle(i),v=c[0],u=c[1],d=this.fontMetrics.getMetrics(v,u).baseline,this.ctx.font=v,this.ctx.fillStyle=OV(i.color),this.ctx.textBaseline='alphabetic',this.ctx.textAlign=LX(n.styles.textAlign),b=yX(n),f=0,n.styles.textAlign){case 1:f+=b.width/2;break;case 2:f+=b.width}h=b.add(f,0,0,-b.height/2+1),this.ctx.save(),this.path([new $Y(b.left,b.top),new $Y(b.left+b.width,b.top),new $Y(b.left+b.width,b.top+b.height),new $Y(b.left,b.top+b.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new pW(n.value,h),i.letterSpacing,d),this.ctx.restore(),this.ctx.textBaseline='alphabetic',this.ctx.textAlign='left'}if(!SG(n.styles.display,2048))return[3,20];if(null===n.styles.listStyleImage)return[3,19];if(0!==(p=n.styles.listStyleImage).type)return[3,18];g=void 0,m=p.url,y.label=15;case 15:return y.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return g=y.sent(),this.ctx.drawImage(g,n.bounds.left-(g.width+10),n.bounds.top),[3,18];case 17:return y.sent(),this.context.logger.error('Error loading list-style-image '+m),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==n.styles.listStyleType&&(v=this.createFontStyle(i)[0],this.ctx.font=v,this.ctx.fillStyle=OV(i.color),this.ctx.textBaseline='middle',this.ctx.textAlign='right',b=new jz(n.bounds.left,n.bounds.top+_V(n.styles.paddingTop,n.bounds.width),n.bounds.width,qq(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new pW(e.listValue,b),i.letterSpacing,qq(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline='bottom',this.ctx.textAlign='left'),y.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(e){return Cz(this,void 0,void 0,function(){var t,n,r,i,o,s,a,A,l,c,u,d,f,h,p;return _z(this,function(g){switch(g.label){case 0:return SG(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:g.sent(),t=0,n=e.negativeZIndex,g.label=2;case 2:return t<n.length?(p=n[t],[4,this.renderStack(p)]):[3,5];case 3:g.sent(),g.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:g.sent(),r=0,i=e.nonInlineLevel,g.label=7;case 7:return r<i.length?(p=i[r],[4,this.renderNode(p)]):[3,10];case 8:g.sent(),g.label=9;case 9:return r++,[3,7];case 10:o=0,s=e.nonPositionedFloats,g.label=11;case 11:return o<s.length?(p=s[o],[4,this.renderStack(p)]):[3,14];case 12:g.sent(),g.label=13;case 13:return o++,[3,11];case 14:a=0,A=e.nonPositionedInlineLevel,g.label=15;case 15:return a<A.length?(p=A[a],[4,this.renderStack(p)]):[3,18];case 16:g.sent(),g.label=17;case 17:return a++,[3,15];case 18:l=0,c=e.inlineLevel,g.label=19;case 19:return l<c.length?(p=c[l],[4,this.renderNode(p)]):[3,22];case 20:g.sent(),g.label=21;case 21:return l++,[3,19];case 22:u=0,d=e.zeroOrAutoZIndexOrTransformedOrOpacity,g.label=23;case 23:return u<d.length?(p=d[u],[4,this.renderStack(p)]):[3,26];case 24:g.sent(),g.label=25;case 25:return u++,[3,23];case 26:f=0,h=e.positiveZIndex,g.label=27;case 27:return f<h.length?(p=h[f],[4,this.renderStack(p)]):[3,30];case 28:g.sent(),g.label=29;case 29:return f++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},t.prototype.formatPath=function(e){var t=this;e.forEach(function(e,n){var r=nX(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),nX(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},t.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},t.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var i=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement('canvas');return i.width=Math.max(1,t),i.height=Math.max(1,n),i.getContext('2d').drawImage(e,0,0,e.width,e.height,0,0,t,n),i},t.prototype.renderBackgroundImage=function(e){return Cz(this,void 0,void 0,function(){var t,n,r,i,o,s;return _z(this,function(a){switch(a.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y,w,B,x,C,_,j,F,E,S,k,U,Q,L,O;return _z(this,function(I){switch(I.label){case 0:if(0!==n.type)return[3,5];i=void 0,o=n.url,I.label=1;case 1:return I.trys.push([1,3,,4]),[4,r.context.cache.match(o)];case 2:return i=I.sent(),[3,4];case 3:return I.sent(),r.context.logger.error('Error loading background-image '+o),[3,4];case 4:return i&&(s=wX(e,t,[i.width,i.height,i.width/i.height]),b=s[0],_=s[1],j=s[2],B=s[3],x=s[4],m=r.ctx.createPattern(r.resizeImage(i,B,x),'repeat'),r.renderRepeat(b,m,_,j)),[3,6];case 5:1===n.type?(a=wX(e,t,[null,null,null]),b=a[0],_=a[1],j=a[2],B=a[3],x=a[4],A=GV(n.angle,B,x),l=A[0],c=A[1],u=A[2],d=A[3],f=A[4],(h=document.createElement('canvas')).width=B,h.height=x,p=h.getContext('2d'),g=p.createLinearGradient(c,d,u,f),qV(n.stops,l).forEach(function(e){return g.addColorStop(e.stop,OV(e.color))}),p.fillStyle=g,p.fillRect(0,0,B,x),B>0&&x>0&&(m=r.ctx.createPattern(h,'repeat'),r.renderRepeat(b,m,_,j))):function(e){return 2===e.type}(n)&&(v=wX(e,t,[null,null,null]),b=v[0],y=v[1],w=v[2],B=v[3],x=v[4],C=0===n.position.length?[BV]:n.position,_=_V(C[0],B),j=_V(C[C.length-1],x),F=function(e,t,n,r,i){var o=0,s=0;switch(e.size){case 0:0===e.shape?o=s=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-r)),s=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===e.shape)o=s=Math.min(WV(t,n),WV(t,n-i),WV(t-r,n),WV(t-r,n-i));else if(1===e.shape){var a=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),A=YV(r,i,t,n,!0),l=A[0],c=A[1];s=a*(o=WV(l-t,(c-n)/a))}break;case 1:0===e.shape?o=s=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-r)),s=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===e.shape)o=s=Math.max(WV(t,n),WV(t,n-i),WV(t-r,n),WV(t-r,n-i));else if(1===e.shape){a=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var u=YV(r,i,t,n,!1);l=u[0],c=u[1],s=a*(o=WV(l-t,(c-n)/a))}}return Array.isArray(e.size)&&(o=_V(e.size[0],r),s=2===e.size.length?_V(e.size[1],i):o),[o,s]}(n,_,j,B,x),E=F[0],S=F[1],E>0&&S>0&&(k=r.ctx.createRadialGradient(y+_,w+j,0,y+_,w+j,E),qV(n.stops,2*E).forEach(function(e){return k.addColorStop(e.stop,OV(e.color))}),r.path(b),r.ctx.fillStyle=k,E!==S?(U=e.bounds.left+.5*e.bounds.width,Q=e.bounds.top+.5*e.bounds.height,O=1/(L=S/E),r.ctx.save(),r.ctx.translate(U,Q),r.ctx.transform(1,0,0,L,0,0),r.ctx.translate(-U,-Q),r.ctx.fillRect(y,O*(w-Q)+Q,B,x*O),r.ctx.restore()):r.ctx.fill())),I.label=6;case 6:return t--,[2]}})},r=this,i=0,o=e.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i<o.length?(s=o[i],[5,n(s)]):[3,4];case 2:a.sent(),a.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(e,t,n){return Cz(this,void 0,void 0,function(){return _z(this,function(r){return this.path(gX(n,t)),this.ctx.fillStyle=OV(e),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(e,t,n,r){return Cz(this,void 0,void 0,function(){var i,o;return _z(this,function(s){switch(s.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,r)]:[3,2];case 1:return s.sent(),[2];case 2:return i=function(e,t){switch(t){case 0:return vX(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return vX(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return vX(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return vX(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(r,n),this.path(i),this.ctx.fillStyle=OV(e),this.ctx.fill(),o=function(e,t){switch(t){case 0:return vX(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return vX(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return vX(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return vX(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(r,n),this.path(o),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(e){return Cz(this,void 0,void 0,function(){var t,n,r,i,o,s,a,A,l=this;return _z(this,function(c){switch(c.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!LV(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=QX(_X(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),LV(t.backgroundColor)||(this.ctx.fillStyle=OV(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:c.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){l.ctx.save();var n=oX(e.curves),r=t.inset?0:1e4,i=function(e,t,n,r,i){return e.map(function(e,o){switch(o){case 0:return e.add(t,n);case 1:return e.add(t+r,n);case 2:return e.add(t+r,n+i);case 3:return e.add(t,n+i)}return e})}(n,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(l.path(n),l.ctx.clip(),l.mask(i)):(l.mask(n),l.ctx.clip(),l.path(i)),l.ctx.shadowOffsetX=t.offsetX.number+r,l.ctx.shadowOffsetY=t.offsetY.number,l.ctx.shadowColor=OV(t.color),l.ctx.shadowBlur=t.blur.number,l.ctx.fillStyle=t.inset?OV(t.color):'rgba(0,0,0,1)',l.ctx.fill(),l.ctx.restore()}),c.label=2;case 2:o=0,s=0,a=r,c.label=3;case 3:return s<a.length?0!==(A=a[s]).style&&!LV(A.color)&&A.width>0?2!==A.style?[3,5]:[4,this.renderDashedDottedBorder(A.color,A.width,o,e.curves,2)]:[3,11]:[3,13];case 4:return c.sent(),[3,11];case 5:return 3!==A.style?[3,7]:[4,this.renderDashedDottedBorder(A.color,A.width,o,e.curves,3)];case 6:return c.sent(),[3,11];case 7:return 4!==A.style?[3,9]:[4,this.renderDoubleBorder(A.color,A.width,o,e.curves)];case 8:return c.sent(),[3,11];case 9:return[4,this.renderSolidBorder(A.color,o,e.curves)];case 10:c.sent(),c.label=11;case 11:o++,c.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(e,t,n,r,i){return Cz(this,void 0,void 0,function(){var o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y;return _z(this,function(w){return this.ctx.save(),o=function(e,t){switch(t){case 0:return mX(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return mX(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return mX(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return mX(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(r,n),s=gX(r,n),2===i&&(this.path(s),this.ctx.clip()),nX(s[0])?(a=s[0].start.x,A=s[0].start.y):(a=s[0].x,A=s[0].y),nX(s[1])?(l=s[1].end.x,c=s[1].end.y):(l=s[1].x,c=s[1].y),u=0===n||2===n?Math.abs(a-l):Math.abs(A-c),this.ctx.beginPath(),3===i?this.formatPath(o):this.formatPath(s.slice(0,2)),d=t<3?3*t:2*t,f=t<3?2*t:t,3===i&&(d=t,f=t),h=!0,u<=2*d?h=!1:u<=2*d+f?(d*=p=u/(2*d+f),f*=p):(g=Math.floor((u+f)/(d+f)),m=(u-g*d)/(g-1),f=(v=(u-(g+1)*d)/g)<=0||Math.abs(f-m)<Math.abs(f-v)?m:v),h&&(3===i?this.ctx.setLineDash([0,d+f]):this.ctx.setLineDash([d,f])),3===i?(this.ctx.lineCap='round',this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=OV(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===i&&(nX(s[0])&&(b=s[3],y=s[0],this.ctx.beginPath(),this.formatPath([new $Y(b.end.x,b.end.y),new $Y(y.start.x,y.start.y)]),this.ctx.stroke()),nX(s[1])&&(b=s[1],y=s[2],this.ctx.beginPath(),this.formatPath([new $Y(b.end.x,b.end.y),new $Y(y.start.x,y.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(e){return Cz(this,void 0,void 0,function(){var t;return _z(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=OV(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=function(e){var t=new fX(e,null),n=new dX(t),r=[];return hX(t,n,n,r),pX(t.container,r),n}(e),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(SX),UX=function(e){return e instanceof PW||(e instanceof MW||e instanceof TW&&e.type!==OW&&e.type!==LW)},QX=function(e,t){switch(e){case 0:return oX(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);default:return sX(t)}},LX=function(e){switch(e){case 1:return'center';case 2:return'right';default:return'left'}},OX=['-apple-system','system-ui'],IX=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(e){return-1===OX.indexOf(e)}):e},NX=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement('canvas'),r.ctx=r.canvas.getContext('2d'),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+'px',r.canvas.style.height=n.height+'px',r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug('EXPERIMENTAL ForeignObject renderer initialized ('+n.width+'x'+n.height+' at '+n.x+','+n.y+') with scale '+n.scale),r}return Bz(t,e),t.prototype.render=function(e){return Cz(this,void 0,void 0,function(){var t,n;return _z(this,function(r){switch(r.label){case 0:return t=dW(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,TX(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=OV(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(SX),TX=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src='data:image/svg+xml;charset=utf-8,'+encodeURIComponent((new XMLSerializer).serializeToString(e))})},MX=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.debug||this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&'undefined'!=typeof window&&window.console&&console.info},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.warn||this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&('undefined'!=typeof window&&window.console&&'function'==typeof console.error||this.info.apply(this,e))},e.instances={},e}(),PX=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName='#'+e.instanceCount++,this.logger=new MX({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new KY(this,t)}return e.instanceCount=1,e}();'undefined'!=typeof window&&zY.setContext(window);var DX,RX=function(e,t){return Cz(void 0,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d,f,h,p,g,m,v,b,y,w,B,x,C,_,j,F,E,S,k,U,Q,L,O,I,N,T,M,P;return _z(this,function(D){switch(D.label){case 0:if(!e||'object'!=typeof e)return[2,Promise.reject('Invalid element provided as first argument')];if(!(n=e.ownerDocument))throw new Error('Element is not attached to a Document');if(!(r=n.defaultView))throw new Error('Document is not attached to a Window');return i={allowTaint:null!==(x=t.allowTaint)&&void 0!==x&&x,imageTimeout:null!==(C=t.imageTimeout)&&void 0!==C?C:15e3,proxy:t.proxy,useCORS:null!==(_=t.useCORS)&&void 0!==_&&_},o=xz({logging:null===(j=t.logging)||void 0===j||j,cache:t.cache},i),s={windowWidth:null!==(F=t.windowWidth)&&void 0!==F?F:r.innerWidth,windowHeight:null!==(E=t.windowHeight)&&void 0!==E?E:r.innerHeight,scrollX:null!==(S=t.scrollX)&&void 0!==S?S:r.pageXOffset,scrollY:null!==(k=t.scrollY)&&void 0!==k?k:r.pageYOffset},a=new jz(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),A=new PX(o,a),l=null!==(U=t.foreignObjectRendering)&&void 0!==U&&U,c={allowTaint:null!==(Q=t.allowTaint)&&void 0!==Q&&Q,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:l,copyStyles:l},A.logger.debug('Starting document clone with size '+a.width+'x'+a.height+' scrolled to '+-a.left+','+-a.top),u=new FY(A,e,c),(d=u.clonedReferenceElement)?[4,u.toIFrame(n,a)]:[2,Promise.reject('Unable to find element in cloned iframe')];case 1:return f=D.sent(),h=tY(d)||'HTML'===d.tagName?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error('Unable to get document size');var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new jz(0,0,r,i)}(d.ownerDocument):Fz(A,d),p=h.width,g=h.height,m=h.left,v=h.top,b=HX(A,d,t.backgroundColor),y={canvas:t.canvas,backgroundColor:b,scale:null!==(O=null!==(L=t.scale)&&void 0!==L?L:r.devicePixelRatio)&&void 0!==O?O:1,x:(null!==(I=t.x)&&void 0!==I?I:0)+m,y:(null!==(N=t.y)&&void 0!==N?N:0)+v,width:null!==(T=t.width)&&void 0!==T?T:Math.ceil(p),height:null!==(M=t.height)&&void 0!==M?M:Math.ceil(g)},l?(A.logger.debug('Document cloned, using foreign object rendering'),[4,new NX(A,y).render(d)]):[3,3];case 2:return w=D.sent(),[3,5];case 3:return A.logger.debug('Document cloned, element located at '+m+','+v+' with size '+p+'x'+g+' using computed rendering'),A.logger.debug('Starting DOM parsing'),B=KW(A,d),b===B.styles.backgroundColor&&(B.styles.backgroundColor=HV.TRANSPARENT),A.logger.debug('Starting renderer for element at '+y.x+','+y.y+' with size '+y.width+'x'+y.height),[4,new kX(A,y).render(B)];case 4:w=D.sent(),D.label=5;case 5:return(null===(P=t.removeContainer)||void 0===P||P)&&(FY.destroy(f)||A.logger.error('Cannot detach cloned iframe as it is not in the DOM anymore')),A.logger.debug('Finished rendering'),[2,w]}})})},HX=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?RV(e,getComputedStyle(r.documentElement).backgroundColor):HV.TRANSPARENT,o=r.body?RV(e,getComputedStyle(r.body).backgroundColor):HV.TRANSPARENT,s='string'==typeof n?RV(e,n):null===n?HV.TRANSPARENT:4294967295;return t===r.documentElement?LV(i)?LV(o)?s:o:i:s};self,DX=function(e){return function(){var t,n,r={'./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js':
|
|
217
217
|
/*!*********************************************************************!*\
|
|
218
218
|
!*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
219
219
|
\*********************************************************************/function(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.r(t),n.d(t,{default:function(){return r}})},'./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js':
|
|
@@ -459,7 +459,7 @@ const{entries:yD,setPrototypeOf:wD,isFrozen:BD,getPrototypeOf:xD,getOwnPropertyD
|
|
|
459
459
|
\************************************************************/function(e,t,n){var r=n(/*! ../internals/function-uncurry-this */'./node_modules/core-js/internals/function-uncurry-this.js'),i=n(/*! ../internals/to-object */'./node_modules/core-js/internals/to-object.js'),o=Math.floor,s=r(''.charAt),a=r(''.replace),A=r(''.slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,u,d){var f=n+e.length,h=r.length,p=c;return void 0!==u&&(u=i(u),p=l),a(d,p,function(i,a){var l;switch(s(a,0)){case'$':return'$';case'&':return e;case'`':return A(t,0,n);case'\'':return A(t,f);case'<':l=u[A(a,1,-1)];break;default:var c=+a;if(0===c)return i;if(c>h){var d=o(c/10);return 0===d?i:d<=h?void 0===r[d-1]?s(a,1):r[d-1]+s(a,1):i}l=r[c-1]}return void 0===l?'':l})}},'./node_modules/core-js/internals/global-this.js':
|
|
460
460
|
/*!*******************************************************!*\
|
|
461
461
|
!*** ./node_modules/core-js/internals/global-this.js ***!
|
|
462
|
-
\*******************************************************/function(e){var t=function(e){return e&&e.Math===Math&&e};e.exports=t('object'==typeof globalThis&&globalThis)||t('object'==typeof window&&window)||t('object'==typeof self&&self)||t('object'==typeof
|
|
462
|
+
\*******************************************************/function(e){var t=function(e){return e&&e.Math===Math&&e};e.exports=t('object'==typeof globalThis&&globalThis)||t('object'==typeof window&&window)||t('object'==typeof self&&self)||t('object'==typeof nr&&nr)||t('object'==typeof this&&this)||function(){return this}()||Function('return this')()},'./node_modules/core-js/internals/has-own-property.js':
|
|
463
463
|
/*!************************************************************!*\
|
|
464
464
|
!*** ./node_modules/core-js/internals/has-own-property.js ***!
|
|
465
465
|
\************************************************************/function(e,t,n){var r=n(/*! ../internals/function-uncurry-this */'./node_modules/core-js/internals/function-uncurry-this.js'),i=n(/*! ../internals/to-object */'./node_modules/core-js/internals/to-object.js'),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},'./node_modules/core-js/internals/hidden-keys.js':
|
|
@@ -1097,7 +1097,7 @@ const{entries:r,setPrototypeOf:i,isFrozen:o,getPrototypeOf:s,getOwnPropertyDescr
|
|
|
1097
1097
|
\***********************************************/function(e,t,n){function r(e,t='utf8'){return new TextDecoder(t).decode(e)}n.r(t),n.d(t,{decode:function(){return r},encode:function(){return o}});const i=new TextEncoder;function o(e){return i.encode(e)}},'./node_modules/jspdf/dist/jspdf.es.min.js':
|
|
1098
1098
|
/*!*************************************************!*\
|
|
1099
1099
|
!*** ./node_modules/jspdf/dist/jspdf.es.min.js ***!
|
|
1100
|
-
\*************************************************/function(e,t,n){n.r(t),n.d(t,{AcroForm:function(){return Fe},AcroFormAppearance:function(){return _e},AcroFormButton:function(){return ve},AcroFormCheckBox:function(){return Be},AcroFormChoiceField:function(){return he},AcroFormComboBox:function(){return ge},AcroFormEditBox:function(){return me},AcroFormListBox:function(){return pe},AcroFormPasswordField:function(){return Ce},AcroFormPushButton:function(){return be},AcroFormRadioButton:function(){return ye},AcroFormTextField:function(){return xe},GState:function(){return N},ShadingPattern:function(){return M},TilingPattern:function(){return P},default:function(){return D},jsPDF:function(){return D}});var r=n(/*! @babel/runtime/helpers/typeof */'./node_modules/@babel/runtime/helpers/esm/typeof.js'),i=n(/*! fflate */'./node_modules/fflate/esm/browser.js'),o=n(/*! @babel/runtime/helpers/slicedToArray */'./node_modules/@babel/runtime/helpers/esm/slicedToArray.js'),s=n(/*! fast-png */'./node_modules/fast-png/lib-esm/index.js'),a=function(){return'undefined'!=typeof window?window:void 0!==
|
|
1100
|
+
\*************************************************/function(e,t,n){n.r(t),n.d(t,{AcroForm:function(){return Fe},AcroFormAppearance:function(){return _e},AcroFormButton:function(){return ve},AcroFormCheckBox:function(){return Be},AcroFormChoiceField:function(){return he},AcroFormComboBox:function(){return ge},AcroFormEditBox:function(){return me},AcroFormListBox:function(){return pe},AcroFormPasswordField:function(){return Ce},AcroFormPushButton:function(){return be},AcroFormRadioButton:function(){return ye},AcroFormTextField:function(){return xe},GState:function(){return N},ShadingPattern:function(){return M},TilingPattern:function(){return P},default:function(){return D},jsPDF:function(){return D}});var r=n(/*! @babel/runtime/helpers/typeof */'./node_modules/@babel/runtime/helpers/esm/typeof.js'),i=n(/*! fflate */'./node_modules/fflate/esm/browser.js'),o=n(/*! @babel/runtime/helpers/slicedToArray */'./node_modules/@babel/runtime/helpers/esm/slicedToArray.js'),s=n(/*! fast-png */'./node_modules/fast-png/lib-esm/index.js'),a=function(){return'undefined'!=typeof window?window:void 0!==nr?nr:'undefined'!=typeof self?self:this}();function A(){a.console&&'function'==typeof a.console.log&&a.console.log.apply(a.console,arguments)}var l={log:A,warn:function(e){a.console&&('function'==typeof a.console.warn?a.console.warn.apply(a.console,arguments):A.call(null,arguments))},error:function(e){a.console&&('function'==typeof a.console.error?a.console.error.apply(a.console,arguments):A(e))}};function c(e,t,n){var r=new XMLHttpRequest;r.open('GET',e),r.responseType='blob',r.onload=function(){f(r.response,t,n)},r.onerror=function(){l.error('could not download file')},r.send()}function u(e){var t=new XMLHttpRequest;t.open('HEAD',e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function d(e){try{e.dispatchEvent(new MouseEvent('click'))}catch(n){var t=document.createEvent('MouseEvents');t.initMouseEvent('click',!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var f=a.saveAs||('object'!==('undefined'==typeof window?'undefined':(0,r.default)(window))||window!==a?function(){}:'undefined'!=typeof HTMLAnchorElement&&'download'in HTMLAnchorElement.prototype?function(e,t,n){var r=a.URL||a.webkitURL,i=document.createElement('a');t=t||e.name||'download',i.download=t,i.rel='noopener','string'==typeof e?(i.href=e,i.origin!==location.origin?u(i.href)?c(e,t,n):d(i,i.target='_blank'):d(i)):(i.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){d(i)},0))}:'msSaveOrOpenBlob'in navigator?function(e,t,n){if(t=t||e.name||'download','string'==typeof e)if(u(e))c(e,t,n);else{var i=document.createElement('a');i.href=e,i.target='_blank',setTimeout(function(){d(i)})}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:'object'!==(0,r.default)(t)&&(l.warn('Deprecated: Expected third argument to be a object'),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,i){if((i=i||open('','_blank'))&&(i.document.title=i.document.body.innerText='downloading...'),'string'==typeof e)return c(e,t,n);var o='application/octet-stream'===e.type,s=/constructor/i.test(a.HTMLElement)||a.safari,A=/CriOS\/[\d]+/.test(navigator.userAgent);if((A||o&&s)&&'object'===('undefined'==typeof FileReader?'undefined':(0,r.default)(FileReader))){var l=new FileReader;l.onloadend=function(){var e=l.result;e=A?e:e.replace(/^data:[^;]*;/,'data:attachment/file;'),i?i.location.href=e:location=e,i=null},l.readAsDataURL(e)}else{var u=a.URL||a.webkitURL,d=u.createObjectURL(e);i?i.location=d:location.href=d,i=null,setTimeout(function(){u.revokeObjectURL(d)},4e4)}});
|
|
1101
1101
|
/**
|
|
1102
1102
|
* A class to parse color values
|
|
1103
1103
|
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|
@@ -1332,7 +1332,7 @@ function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,i,o,
|
|
|
1332
1332
|
\*************************************************************/function(e){(function(){var t,n,r,i,o,s;'undefined'!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:'undefined'!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},n=process.hrtime,t=function(){var e;return 1e9*(e=n())[0]+e[1]},i=t(),s=1e9*process.uptime(),o=i-s):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},'./node_modules/raf/index.js':
|
|
1333
1333
|
/*!***********************************!*\
|
|
1334
1334
|
!*** ./node_modules/raf/index.js ***!
|
|
1335
|
-
\***********************************/function(e,t,n){for(var r=n(/*! performance-now */'./node_modules/performance-now/lib/performance-now.js'),i='undefined'==typeof window?
|
|
1335
|
+
\***********************************/function(e,t,n){for(var r=n(/*! performance-now */'./node_modules/performance-now/lib/performance-now.js'),i='undefined'==typeof window?nr:window,o=['moz','webkit'],s='AnimationFrame',a=i['request'+s],A=i['cancel'+s]||i['cancelRequest'+s],l=0;!a&&l<o.length;l++)a=i[o[l]+'Request'+s],A=i[o[l]+'Cancel'+s]||i[o[l]+'CancelRequest'+s];if(!a||!A){var c=0,u=0,d=[],f=1e3/60;a=function(e){if(0===d.length){var t=r(),n=Math.max(0,f-(t-c));c=n+t,setTimeout(function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return d.push({handle:++u,callback:e,cancelled:!1}),u},A=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}e.exports=function(e){return a.call(i,e)},e.exports.cancel=function(){A.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=a,e.cancelAnimationFrame=A}},'./node_modules/rgbcolor/index.js':
|
|
1336
1336
|
/*!****************************************!*\
|
|
1337
1337
|
!*** ./node_modules/rgbcolor/index.js ***!
|
|
1338
1338
|
\****************************************/function(e){e.exports=function(e){this.ok=!1,this.alpha=1,'#'==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,'')).toLowerCase();var t={aliceblue:'f0f8ff',antiquewhite:'faebd7',aqua:'00ffff',aquamarine:'7fffd4',azure:'f0ffff',beige:'f5f5dc',bisque:'ffe4c4',black:'000000',blanchedalmond:'ffebcd',blue:'0000ff',blueviolet:'8a2be2',brown:'a52a2a',burlywood:'deb887',cadetblue:'5f9ea0',chartreuse:'7fff00',chocolate:'d2691e',coral:'ff7f50',cornflowerblue:'6495ed',cornsilk:'fff8dc',crimson:'dc143c',cyan:'00ffff',darkblue:'00008b',darkcyan:'008b8b',darkgoldenrod:'b8860b',darkgray:'a9a9a9',darkgreen:'006400',darkkhaki:'bdb76b',darkmagenta:'8b008b',darkolivegreen:'556b2f',darkorange:'ff8c00',darkorchid:'9932cc',darkred:'8b0000',darksalmon:'e9967a',darkseagreen:'8fbc8f',darkslateblue:'483d8b',darkslategray:'2f4f4f',darkturquoise:'00ced1',darkviolet:'9400d3',deeppink:'ff1493',deepskyblue:'00bfff',dimgray:'696969',dodgerblue:'1e90ff',feldspar:'d19275',firebrick:'b22222',floralwhite:'fffaf0',forestgreen:'228b22',fuchsia:'ff00ff',gainsboro:'dcdcdc',ghostwhite:'f8f8ff',gold:'ffd700',goldenrod:'daa520',gray:'808080',green:'008000',greenyellow:'adff2f',honeydew:'f0fff0',hotpink:'ff69b4',indianred:'cd5c5c',indigo:'4b0082',ivory:'fffff0',khaki:'f0e68c',lavender:'e6e6fa',lavenderblush:'fff0f5',lawngreen:'7cfc00',lemonchiffon:'fffacd',lightblue:'add8e6',lightcoral:'f08080',lightcyan:'e0ffff',lightgoldenrodyellow:'fafad2',lightgrey:'d3d3d3',lightgreen:'90ee90',lightpink:'ffb6c1',lightsalmon:'ffa07a',lightseagreen:'20b2aa',lightskyblue:'87cefa',lightslateblue:'8470ff',lightslategray:'778899',lightsteelblue:'b0c4de',lightyellow:'ffffe0',lime:'00ff00',limegreen:'32cd32',linen:'faf0e6',magenta:'ff00ff',maroon:'800000',mediumaquamarine:'66cdaa',mediumblue:'0000cd',mediumorchid:'ba55d3',mediumpurple:'9370d8',mediumseagreen:'3cb371',mediumslateblue:'7b68ee',mediumspringgreen:'00fa9a',mediumturquoise:'48d1cc',mediumvioletred:'c71585',midnightblue:'191970',mintcream:'f5fffa',mistyrose:'ffe4e1',moccasin:'ffe4b5',navajowhite:'ffdead',navy:'000080',oldlace:'fdf5e6',olive:'808000',olivedrab:'6b8e23',orange:'ffa500',orangered:'ff4500',orchid:'da70d6',palegoldenrod:'eee8aa',palegreen:'98fb98',paleturquoise:'afeeee',palevioletred:'d87093',papayawhip:'ffefd5',peachpuff:'ffdab9',peru:'cd853f',pink:'ffc0cb',plum:'dda0dd',powderblue:'b0e0e6',purple:'800080',rebeccapurple:'663399',red:'ff0000',rosybrown:'bc8f8f',royalblue:'4169e1',saddlebrown:'8b4513',salmon:'fa8072',sandybrown:'f4a460',seagreen:'2e8b57',seashell:'fff5ee',sienna:'a0522d',silver:'c0c0c0',skyblue:'87ceeb',slateblue:'6a5acd',slategray:'708090',snow:'fffafa',springgreen:'00ff7f',steelblue:'4682b4',tan:'d2b48c',teal:'008080',thistle:'d8bfd8',tomato:'ff6347',turquoise:'40e0d0',violet:'ee82ee',violetred:'d02090',wheat:'f5deb3',white:'ffffff',whitesmoke:'f5f5f5',yellow:'ffff00',yellowgreen:'9acd32'};e=t[e]||e;for(var n=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:['rgba(123, 234, 45, 0.8)','rgba(255,234,245,1.0)'],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:['rgb(123, 234, 45)','rgb(255,234,245)'],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:['#00ff00','336699'],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:['#fb0','f0f'],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,s=i.exec(e);if(s){var a=o(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return'rgb('+this.r+', '+this.g+', '+this.b+')'},this.toRGBA=function(){return'rgba('+this.r+', '+this.g+', '+this.b+', '+this.alpha+')'},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e='0'+e),1==t.length&&(t='0'+t),1==n.length&&(n='0'+n),'#'+e+t+n},this.getHelpXML=function(){for(var e=new Array,r=0;r<n.length;r++)for(var i=n[r].example,o=0;o<i.length;o++)e[e.length]=i[o];for(var s in t)e[e.length]=s;var a=document.createElement('ul');for(a.setAttribute('id','rgbcolor-examples'),r=0;r<e.length;r++)try{var A=document.createElement('li'),l=new RGBColor(e[r]),c=document.createElement('div');c.style.cssText='margin: 3px; border: 1px solid black; background:'+l.toHex()+'; color:'+l.toHex(),c.appendChild(document.createTextNode('test'));var u=document.createTextNode(' '+e[r]+' -> '+l.toRGB()+' -> '+l.toHex());A.appendChild(c),A.appendChild(u),a.appendChild(A)}catch(e){}return a}}},'./node_modules/stackblur-canvas/dist/stackblur-es.js':
|
|
@@ -1421,4 +1421,4 @@ var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Arr
|
|
|
1421
1421
|
/*!**********************!*\
|
|
1422
1422
|
!*** ./src/index.js ***!
|
|
1423
1423
|
\**********************/
|
|
1424
|
-
o.r(s);var e=o(/*! ./worker.js */'./src/worker.js');o(/*! ./plugin/jspdf-plugin.js */'./src/plugin/jspdf-plugin.js'),o(/*! ./plugin/pagebreaks.js */'./src/plugin/pagebreaks.js'),o(/*! ./plugin/hyperlinks.js */'./src/plugin/hyperlinks.js');var t=function e(t,n){var r=new e.Worker(n);return t?r.from(t).save():r};t.Worker=e.default,s.default=t}(),s=s.default}()};var uX=Kn(HH.exports=AX(Vn(Object.freeze({__proto__:null,default:function(e,t){return void 0===t&&(t={}),lX(e,t)}})))),dX=Nt.div(hX||(hX=Pe(['\n vu-flex\n'],['\n vu-flex\n']))),fX=Nt.div(pX||(pX=Pe(['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-gap-4\n vu-grow\n'])));Nt.div(gX||(gX=Pe(['\n vu-flex\n vu-justify-between\n vu-mb-10\n'],['\n vu-flex\n vu-justify-between\n vu-mb-10\n']))),Nt.div(mX||(mX=Pe(['\n vu-flex\n vu-items-center\n'],['\n vu-flex\n vu-items-center\n'])));var hX,pX,gX,mX,vX,bX,yX,wX,BX,xX,CX,_X,jX,FX=Nt.div(vX||(vX=Pe(['\n vu-flex\n vu-h-full\n'],['\n vu-flex\n vu-h-full\n']))),EX=Nt.div(bX||(bX=Pe(['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'],['\n vu-flex-col\n lg:vu-flex\n lg:vu-relative\n vu-absolute\n vu-inset-0\n vu-h-full\n vu-z-10\n vu-bg-white\n dark:vu-bg-dark_mode-600\n lg:vu-p-0\n vu-p-6\n vu-gap-2\n ','\n'])),function(e){return e.$isOpen?'vu-flex':'vu-hidden'}),SX=Nt.div(yX||(yX=Pe(['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n'],['\n vu-flex\n lg:vu-hidden\n vu-justify-end\n']))),kX=Nt.div(wX||(wX=Pe(['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n'],['\n vu-grow\n lg:vu-w-80\n vu-w-full\n lg:vu-pr-6\n vu-min-w-[20rem]\n']))),UX=Nt.div(BX||(BX=Pe(['\n vu-h-full\n vu-flex\n vu-flex-col\n'],['\n vu-h-full\n vu-flex\n vu-flex-col\n']))),QX=Nt.div(xX||(xX=Pe(['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-bg-alice_blue\n dark:vu-bg-dark_mode-500\n vu-relative\n vu-py-10\n vu-grow\n']))),LX=Nt.div(CX||(CX=Pe(['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n'],['\n vu-flex\n vu-justify-center\n vu-items-center\n vu-h-full\n']))),OX=Nt.button(_X||(_X=Pe(['\n vu-underline\n vu-p-0\n vu-pl-1\n vu-pb-0.5\n vu-bg-transparent\n vu-text-blue-600\n vu-cursor-pointer\n'],['\n vu-underline\n vu-p-0\n vu-pl-1\n vu-pb-0.5\n vu-bg-transparent\n vu-text-blue-600\n vu-cursor-pointer\n']))),IX=Nt.a(jX||(jX=Pe(['\n vu-underline\n vu-text-blue-600\n'],['\n vu-underline\n vu-text-blue-600\n'])));Nt.div(NX||(NX=Pe(['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-grid \n vu-grid-cols-3\n vu-gap-x-8\n vu-gap-y-5\n'],['\n vu-bg-transparent\n vu-px-20\n vu-py-4\n vu-my-5\n vu-grid \n vu-grid-cols-3\n vu-gap-x-8\n vu-gap-y-5\n'])));var NX,TX,MX=Nt.div(TX||(TX=Pe(['\n vu-flex vu-justify-center vu-items-center vu-text-sm\n'],['\n vu-flex vu-justify-center vu-items-center vu-text-sm\n'])));function PX(){var e=C();return d(function(){return new URLSearchParams(e.search)},[e.search])}var DX={incident_analysis:'Incident'};function RX(e){var t=e.sessionID,n=e.startChat,i=e.setConversation,o=e.setQuestion,s=PX(),a=function(){var e=_(),t=C();return function(){var n=new URLSearchParams(t.search);n.delete('ved_context_object'),n.delete('ved_chat_question'),n.delete('ved_chat_autosend'),n.delete('ved_chat_open'),n.delete('ved_entry_point'),e.replace({pathname:t.pathname,search:n.toString()})}}();r(function(){var e=s.get('ved_context_object'),t=s.get('ved_chat_question'),r=s.get('ved_chat_autosend'),A=e?'Failed to load '.concat(DX[e],' context : You may continue the chat with Ved and add any necessary details manually.'):'Failed to load context : You may continue the chat with Ved and add any necessary details manually.';if(t){var l;try{l=decodeURIComponent(t)}catch(e){return void bD.error(A)}a(),o(l),'true'===r&&(n(l),i(function(e){return Me(Me([],e,!0),[{from:'query',text:l}],!1)}),o(''))}else e&&bD.error(A)},[t])}var HX=function(e){return new Promise(function(t,n){var r=new Image;r.crossOrigin='anonymous',r.onload=function(){var e=document.createElement('canvas');e.width=r.width,e.height=r.height;var i=e.getContext('2d');i?(i.drawImage(r,0,0),t(e.toDataURL('image/png'))):n(new Error('Failed to get canvas context'))},r.onerror=function(){return n(new Error('Failed to load image: '.concat(e)))},r.src=e})},zX=function(e,t){return void 0===t&&(t=50),e.length>t?e.slice(0,t)+'...':e};function KX(e){var t=this,r=e.url,i=e.headers,a=void 0===i?{}:i,A=e.onComplete,l=e.onError,c=n(''),u=c[0],d=c[1],f=n(),h=f[0],p=f[1],g=n(),m=g[0],v=g[1],b=n([]),y=b[0],w=b[1],B=n([]),x=B[0],C=B[1],_=n(!1),j=_[0],F=_[1],E=o(''),S=o(),k=o(),U=o([]),Q=o([]),L=o(null),O=s(function(){var e;null===(e=L.current)||void 0===e||e.abort(),L.current=null,F(!1)},[]),I=function(e){C(function(t){var n=e(t);return Q.current=n,n})},N=s(function(e){return Ne(t,void 0,void 0,function(){var t,n,i,o,s,c,u,f,h,g,m,b,y,B,x,C,_,j,N;return Te(this,function(T){switch(T.label){case 0:O(),F(!0),d(''),p(void 0),w([]),E.current='',S.current=void 0,k.current=void 0,U.current=[],Q.current=[],t=new AbortController,L.current=t,T.label=1;case 1:return T.trys.push([1,6,7,8]),[4,fetch(r,{method:'POST',body:e,headers:a,signal:t.signal})];case 2:if(!(n=T.sent()).ok||!n.body)throw new Error('Stream failed: '.concat(n.status));i=n.body.getReader(),o=new TextDecoder,s='',T.label=3;case 3:return[4,i.read()];case 4:if(c=T.sent(),u=c.done,f=c.value,u)return[3,5];for(s+=o.decode(f,{stream:!0}),h=s.split('\n\n'),s=null!==(_=h.pop())&&void 0!==_?_:'',g=function(e){var t=function(e){for(var t='',n='',r='',i='',o=0,s=e.split('\n');o<s.length;o++){var a=s[o];a.startsWith('event:')?t=a.slice(6).trim():a.startsWith('data:')?n+=a.slice(5).trim():a.startsWith('description:')?r+=a.slice(12).trim():a.startsWith('id:')&&(i=a.slice(3).trim())}return{event:t,data:n,description:r,id:i}}(e),n=t.event,r=t.data,i=t.description,o=t.id;switch(n){case'tool_start':I(function(e){return Me(Me([],e,!0),[{id:Number(o),description:i,status:'running'}],!1)});break;case'tool_end':I(function(e){var t,n=null===(t=Me([],e,!0).map(function(e,t){return{t:e,i:t}}).reverse().find(function(e){return'running'===e.t.status}))||void 0===t?void 0:t.i;if(void 0===n)return e;var r=Me([],e,!0);return r[n]=Oe(Oe({},r[n]),{status:'completed',description:i}),r});break;case'answer_chunk':var s=JSON.parse(r).chunk;d(function(e){var t=e+s;return E.current=t,t});break;case'answer_end':var a=JSON.parse(r);d(a),E.current=a;break;case'chart_end':a=JSON.parse(r);var c=null!==(j=a.chart_config_list)&&void 0!==j?j:[];w(c),U.current=c;break;case'sources_end':a=JSON.parse(r);p(a.sources),S.current=a.sources;break;case'explainability_end':a=JSON.parse(r);v(a.explainability),k.current=a.explainability;break;case'response_stream_end':var u={answerHtml:(a=JSON.parse(r)).answer,sourcesHtml:a.sources,charts:a.chart_config_list,tools:Q.current,explainabilityHtml:a.explainability,messageId:a.message_id};return null==A||A(u),O(),{value:void 0};case'error':var f=r;try{f='string'==typeof(a=JSON.parse(r))?a:a.message}catch(e){}var h=new Error(f);return null==l||l(h,{answerHtml:E.current,sourcesHtml:S.current,charts:U.current,tools:Q.current,explainabilityHtml:k.current}),null===(N=L.current)||void 0===N||N.abort(),O(),{value:void 0}}},m=0,b=h;m<b.length;m++)if(y=b[m],'object'==typeof(B=g(y)))return[2,B.value];return[3,3];case 5:return[3,8];case 6:return x=T.sent(),C=x.name,null==l||l(x,void 0,'AbortError'===C?'AbortError':'Error'),[3,8];case 7:return F(!1),[7];case 8:return[2]}})})},[r,a,O,A,l]);return{answerHtml:u,tools:x,sourcesHtml:h,explainabilityHtml:m,charts:y,isStreaming:j,start:N,stop:O}}var VX,qX,GX,WX,YX,XX,JX,ZX=function(e){var i=e.sessionID,s=e.sessionTitle,a=e.isNew,A=e.handleSetConversationInfo,l=e.handleClickNewChat,c=e.authToken,u=n(''),d=u[0],f=u[1],h=n([]),p=h[0],g=h[1],m=n(0),v=m[0],b=m[1],y=o(null),w=o(null),B=Qe({queryKey:['conversations',i],queryFn:function(){return function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,uT.get('/ved/chats/'.concat(e,'/messages'))];case 1:return[2,t.sent().data]}})})}(i)},enabled:!1,onSuccess:function(e){var t=[];e.messages.map(function(n){var r;t.push({from:'user',text:n.user_query}),t.push(Oe(Oe({from:'bot',text:n.answer,textType:'answer',chartConfigList:n.chart_config_list,chatID:n.message_id},void 0!==(null===(r=n.feedback)||void 0===r?void 0:r.is_liked)&&{isLiked:n.feedback.is_liked}),{sources:n.sources,explainability:n.explainability})),g(t),b(e.message_count)})},onError:function(e){}}),x=B.isLoading,C=B.status,_=B.refetch;r(function(){g([]),f(''),_()},[i]);var j=KX({url:'/vuSmartMaps/api/1/bu/1/ved/chats/'.concat(i,'/questions/stream'),headers:{'Content-Type':'application/json',Authorization:c},onComplete:function(e){var t=e.answerHtml,n=e.tools,r=void 0===n?[]:n,o=e.sourcesHtml,l=e.explainabilityHtml,c=e.charts,u=e.messageId,d=Me([],r,!0);r.length>0&&d.push({id:r[(null==r?void 0:r.length)-1].id+1,description:'Response Generated',status:'completed'}),g(function(e){return Me(Me([],e,!0),[{from:'bot',text:t,textType:'answer',tools:d,sources:o,explainability:l,chartConfigList:null!=c?c:[],chatID:u}],!1)}),f(''),a&&A({sessionID:i,isNew:!1,sessionTitle:s})},onError:function(e,t,n){return g(function(r){var i;return Me(Me([],r,!0),[{from:'error',text:null!==(i=null==t?void 0:t.answerHtml)&&void 0!==i?i:'',textType:'answer',error:'AbortError'===n?'Request aborted by user.':e.message}],!1)})}}),F=j.answerHtml,E=j.sourcesHtml,S=j.explainabilityHtml,k=j.charts,U=j.tools,Q=j.start,L=j.stop,O=j.isStreaming,I=function(e){Q(JSON.stringify({question:e,attachments:[{type:'string',id:'string',value:'string'}],tools:[{name:'string',type:'string'}],context:[{type:'string',value:'string'}],options:{reasoningLevel:'string'}}))};RX({startChat:I,sessionID:i,setConversation:g,setQuestion:f});if('loading'===C)return t.createElement('div',{className:'vu-flex vu-h-full vu-justify-center vu-items-center'},t.createElement(IH,{color:'#000',loading:x,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}));if('error'===C)return t.createElement('p',{className:'vu-text-lg vu-px-2'},'Request failed.');return t.createElement(t.Fragment,null,t.createElement(KR,{ref:y},0===p.length?t.createElement(zR,null,t.createElement(RH,null)):t.createElement(HR,null,t.createElement(qR,{ref:w},p.map(function(e,n){return'user'===e.from||'query'===e.from?t.createElement(XR,{key:n,question:e.text}):t.createElement(RR,{key:n,response:{answer:e.text,sources:e.sources,chartConfigList:e.chartConfigList,explainability:e.explainability,error:e.error,tools:e.tools},chatID:null==e?void 0:e.chatID,onError:'error'===e.from,isLiked:e.isLiked,type:e.textType,sessionID:i,isLastResponse:p.length-1===n})}),O&&F.length>0&&t.createElement(RR,{response:{answer:F,chartConfigList:k,tools:U,sources:E,explainability:S},sessionID:i,isLastResponse:!0})),O&&0===F.length&&t.createElement(yH,null),!O&&t.createElement(ZR,{handleClickDownloadConversation:function(){return Ne(void 0,void 0,void 0,function(){var e,t,n,r,i,o,a,A,l,c,u,d,f,h,p,g;return Te(this,function(m){switch(m.label){case 0:if(!(e=w.current))return[2];(t=document.createElement('div')).className='pdf-overlay',document.body.appendChild(t),e.classList.add('pdf-container'),m.label=1;case 1:return m.trys.push([1,,4,5]),[4,Promise.all([HX('ac7f5bc129d3fa7c.png'),HX('9e6a28cb422bfd48.png')])];case 2:return n=m.sent(),r=n[0],i=n[1],[4,(o=uX().from(e).set({margin:[20,10,10,10],filename:'conversation-'.concat(Date.now(),'.pdf'),html2canvas:{scale:2,useCORS:!0},jsPDF:{unit:'mm',format:'a4',orientation:'portrait'},pagebreak:{mode:['avoid-all','css','legacy']}})).toPdf().get('pdf')];case 3:for(a=m.sent(),A=a.internal.getNumberOfPages(),l=a.internal.pageSize.getWidth(),c=a.internal.pageSize.getHeight(),u=function(e,t){void 0===e&&(e=600),void 0===t&&(t=4);var n=document.createElement('canvas');n.width=e,n.height=t;var r=n.getContext('2d');if(!r)return'';var i=r.createLinearGradient(0,0,0,t);return i.addColorStop(0,'#932E8A'),i.addColorStop(.25,'#C21E73'),i.addColorStop(.5,'#E02531'),i.addColorStop(.75,'#E76427'),i.addColorStop(1,'#F59E20'),r.fillStyle=i,r.fillRect(0,0,e,t),n.toDataURL('image/png')}(),d=1;d<=A;d++)a.setPage(d),a.addImage(r,'PNG',10,4,42,10),a.addImage(i,'PNG',l-13-10,4,13,10),a.setFontSize(12),a.setFont('heebo','bold'),a.text(zX(s),l/2,8,{align:'center'}),a.setFontSize(9),a.setFont('heebo','normal'),a.text('Downloaded at '.concat((new Date).toLocaleString()),l/2,12,{align:'center'}),a.addImage(u,'PNG',0,16,l,.8),h=(f=c-10)+6,a.addImage(u,'PNG',0,f,l,.8),a.setFontSize(8),a.setFont('heebo','normal'),p='Powered by vuSmartMaps™ from',g=a.getStringUnitWidth(p)*a.internal.getFontSize()/a.internal.scaleFactor,a.text(p,10,h),a.addImage(r,'PNG',10+g+2,h-5+2,18,5);return o.save(),[3,5];case 4:return e.classList.remove('pdf-container'),t.classList.add('fade-out'),setTimeout(function(){return t.remove()},150),[7];case 5:return[2]}})})}}))),20===v?t.createElement(MX,null,'Chat limit reached! Start a',t.createElement(OX,{onClick:l},'new chat'),', but the previous context won\'t carry over.'):t.createElement(VR,null,t.createElement(aP,{value:d,icon:O?'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19.07%2C4.93c-1.89-1.89-4.4-2.93-7.07-2.93s-5.18%2C1.04-7.07%2C2.93c-1.89%2C1.89-2.93%2C4.4-2.93%2C7.07%2C0%2C2.67%2C1.04%2C5.18%2C2.93%2C7.07%2C1.89%2C1.89%2C4.4%2C2.93%2C7.07%2C2.93s5.18-1.04%2C7.07-2.93c3.9-3.9%2C3.9-10.24%2C0-14.14ZM4%2C12c0-2.14%2C.83-4.15%2C2.34-5.66s3.52-2.34%2C5.66-2.34c1.8%2C0%2C3.5%2C.6%2C4.9%2C1.68L5.68%2C16.9c-1.09-1.4-1.68-3.1-1.68-4.9Zm13.66%2C5.66c-1.51%2C1.51-3.52%2C2.34-5.66%2C2.34-1.8%2C0-3.5-.6-4.9-1.69L18.31%2C7.1c2.44%2C3.14%2C2.22%2C7.68-.66%2C10.56Z%22%2F%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20width%3D%2224%22%20%20height%3D%2224%22%20%20viewBox%3D%220%200%2024%2024%22%20%20fill%3D%22none%22%20%20stroke%3D%22currentColor%22%20%20stroke-width%3D%222%22%20%20stroke-linecap%3D%22round%22%20%20stroke-linejoin%3D%22round%22%3E%20%20%3Cline%20x1%3D%2222%22%20y1%3D%222%22%20x2%3D%2211%22%20y2%3D%2213%22%20%2F%3E%20%20%3Cpolygon%20points%3D%2222%202%2015%2022%2011%2013%202%209%2022%202%22%20%2F%3E%3C%2Fsvg%3E',placeholder:'Enter Question Here',onChange:function(e){return f(e.target.value)},onClickTextAreaButton:O?L:function(){0!==d.length&&(g(function(e){return Me(Me([],e,!0),[{from:'user',text:d,textType:'question'}],!1)}),I(d),f(''))},disableTextAreaButton:!O&&0===d.length})))},$X=Nt.div(VX||(VX=Pe(['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n']))),eJ=Nt.div(qX||(qX=Pe(['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n'],['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n']))),tJ=Nt.div(GX||(GX=Pe(['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'],['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'])),function(e){return e.isSelected?'\n vu-bg-gainsboro\n dark:vu-bg-dark_mode-500\n ':'vu-bg-white dark:vu-bg-dark_mode-600'}),nJ=Nt.div(WX||(WX=Pe(['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n'],['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n']))),rJ=Nt.span(YX||(YX=Pe(['\n vu-mr-2\n'],['\n vu-mr-2\n']))),iJ=Nt.div(XX||(XX=Pe(['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n'],['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n']))),oJ=Nt(lT)(JX||(JX=Pe(['\n vu-z-10\n'],['\n vu-z-10\n'])));var sJ,aJ,AJ,lJ,cJ=function(e){var i=e.handleSetConversationInfo,o=e.searchQuery,s=e.currentConversationInfo,a=n([]),A=a[0],l=a[1],c=_e(),u=Qe({queryKey:['conversations'],queryFn:function(){return void 0===e&&(e=!0),Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,uT.get('/ved/chats/?pagination='.concat(e))];case 1:return[2,t.sent().data]}})});var e},enabled:!1}),d=u.isLoading,f=u.status,h=u.data,p=u.refetch;r(function(){var e,t=function(e,t){return e.filter(function(e){return e.session_title.toLowerCase().includes(t.toLowerCase())})}(null!==(e=null==h?void 0:h.results)&&void 0!==e?e:[],o);l(t)},[h,o]),r(function(){p()},[s]);var g=ke({mutationFn:fT,onSuccess:function(e,t){c.invalidateQueries(['conversations',t]),i(),c.invalidateQueries('conversations')}});return'loading'===f?t.createElement(LX,null,t.createElement(IH,{color:'#000',loading:d,size:25,'aria-label':'Loading Spinner','data-testid':'loader'})):'error'===f?t.createElement('p',{className:'vu-text-lg vu-px-2'},'Request failed.'):t.createElement($X,null,t.createElement('div',null,'Recent Conversations'),t.createElement(eJ,null,null==A?void 0:A.filter(function(e){return 0!==e.session_title.length}).map(function(e,n){return t.createElement(tJ,{key:n,isSelected:(null==s?void 0:s.sessionID)===e.session_id,onClick:function(){return i({sessionID:e.session_id,isNew:!1,sessionTitle:e.session_title})},'data-tooltip-id':'question-tooltip','data-tooltip-content':e.session_title},t.createElement(nJ,null,t.createElement(rJ,null,t.createElement(un,{svg:fP})),t.createElement(iJ,null,e.session_title)),(null==s?void 0:s.sessionID)===e.session_id&&t.createElement(rJ,null,t.createElement(fn,{name:'delete',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.1%2C5.6h-3.5v-.8c0-1.54-1.26-2.8-2.8-2.8h-3.6c-1.54%2C0-2.8%2C1.26-2.8%2C2.8v.8H3.9c-.55%2C0-1%2C.45-1%2C1s.45%2C1%2C1%2C1h.8v11.6c0%2C1.54%2C1.26%2C2.8%2C2.8%2C2.8h9c1.54%2C0%2C2.8-1.26%2C2.8-2.8V7.6h.8c.55%2C0%2C1-.45%2C1-1s-.45-1-1-1Zm-10.7-.8c0-.44%2C.36-.8%2C.8-.8h3.6c.44%2C0%2C.8%2C.36%2C.8%2C.8v.8h-5.2v-.8Zm7.9%2C14.4c0%2C.44-.36%2C.8-.8%2C.8H7.5c-.44%2C0-.8-.36-.8-.8V7.6h10.6v11.6Z%22%2F%3E%3Cpath%20d%3D%22M10.2%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22M13.8%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3C%2Fsvg%3E',disabled:g.isLoading,onClick:function(t){t.stopPropagation(),g.mutate(e.session_id)}})))})),t.createElement(oJ,{id:'question-tooltip'}))},uJ=function(){return t.createElement(t.Fragment,null,t.createElement(vP,{className:'vu-font-medium'},'The Ved Feature has not been integrated into your environment.'),t.createElement('p',{className:'vu-text-xl'},'Please contact ',t.createElement(IX,null,'support@vunetsystems.com'),' for assistance.'))},dJ=function(e){var r=e.handleClickBackBtn,i=e.authToken,o=n(),s=o[0],a=o[1],A=n(!1),l=A[0],c=A[1],u=n(''),d=u[0],f=u[1],h=Qe({queryKey:'sessionID',queryFn:dT,enabled:!s,retry:!1,onSuccess:function(e){a({sessionID:e.session_id,isNew:!0,sessionTitle:''})}}),p=function(e){a(e||void 0)},g=function(){a(void 0),h.refetch()};return t.createElement(t.Fragment,null,t.createElement(hP,{getNewChatId:h.refetch,handleClickBackBtn:r,openSideBar:c}),h.isLoading||h.isError?t.createElement(t.Fragment,null,h.isError?t.createElement(bP,{errorHeading:'Oops!',errorInfo:t.createElement(uJ,null)}):t.createElement(LX,null,t.createElement(IH,{color:'#000',loading:h.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}))):t.createElement(FX,{style:{height:'calc(100% - 5rem)'}},t.createElement(EX,{$isOpen:l},t.createElement(SX,null,t.createElement(fn,{icon:uP,iconColor:'vu-fill-slate-350',onClick:function(){return c(!1)}})),t.createElement(kX,null,t.createElement(UX,null,t.createElement(fX,null,t.createElement(gn,{$fullWidth:!0,placeholder:'Search Conversations',onChange:function(e){return f(e.target.value)}}),t.createElement(cJ,{currentConversationInfo:s,handleSetConversationInfo:p,searchQuery:d})),t.createElement(dX,null,t.createElement(dn,{$fullWidth:!0,icon:dP,iconColor:'vu-fill-white',onClick:g,disabled:h.isLoading},'New Chat'))))),t.createElement(QX,null,(null==s?void 0:s.sessionID)?t.createElement(t.Fragment,null,t.createElement(ZX,{handleSetConversationInfo:p,sessionID:s.sessionID,sessionTitle:s.sessionTitle,isNew:s.isNew,handleClickNewChat:g,authToken:i})):t.createElement(LX,null,t.createElement(IH,{color:'#000',loading:h.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'})))))},fJ=Nt.div(sJ||(sJ=Pe(['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n'],['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n']))),hJ=Nt.div(aJ||(aJ=Pe(['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n'],['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n']))),pJ=Nt.div(AJ||(AJ=Pe(['\n vu-fixed\n vu-z-[1001]\n vu-flex\n vu-transition-all\n vu-duration-300 \n vu-ease-in-out\n\n ','\n'],['\n vu-fixed\n vu-z-[1001]\n vu-flex\n vu-transition-all\n vu-duration-300 \n vu-ease-in-out\n\n ','\n'])),function(e){return e.$isMinimized?'vu-bottom-24 -vu-right-8 -vu-rotate-45':'vu-bottom-20 vu-right-5 vu-rotate-0'}),gJ=Nt(fn)(lJ||(lJ=Pe(['\n vu-pt-2\n'],['\n vu-pt-2\n']))),mJ=new fe,vJ=h({isDarkMode:!1}),bJ=function(e){var r=e.token,i=e.baseURL,o=e.darkMode,s=void 0!==o&&o,a=e.handleClickBackBtn,A=n(s)[0];return r&&i?(uT.defaults.baseURL=i,uT.defaults.auth='Bearer '.concat(r),t.createElement(vJ.Provider,{value:{isDarkMode:A}},t.createElement(je,{client:mJ},t.createElement(fJ,{className:A?'vu-dark':''},t.createElement(hJ,null,t.createElement(dJ,{handleClickBackBtn:function(){return a(!1)},authToken:'Bearer '.concat(r)}),t.createElement(vD,{position:'top-right'})))))):t.createElement('h1',null,'JWT Token or Base URL missing.')},yJ=function(e){var i=e.token,o=e.baseURL,s=e.darkMode,a=void 0===s||s,A=n(!1),l=A[0],c=A[1],u=n(!1),d=u[0],f=u[1],h=PX();return r(function(){var e=h.get('ved_chat_open');'true'===e?c(!0):'false'===e&&c(!1)},[h]),r(function(){var e=function(e){'Escape'===e.key&&c(!1)};return document.addEventListener('keydown',e),function(){document.removeEventListener('keydown',e)}},[c]),t.createElement('div',null,t.createElement(pJ,{$isMinimized:d},t.createElement(fn,{icon:d?'data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.9955%200.0811363C6.18846%20-0.0976484%206.5143%200.0380123%206.55408%200.303045C6.99418%201.8052%207.65855%203.26871%208.69785%204.4097C9.39523%205.18593%2010.2627%205.77529%2011.203%206.16071C11.5009%206.25235%2011.4984%206.75726%2011.2005%206.8471C10.2974%207.21635%209.46124%207.77427%208.78079%208.50648C7.67124%209.67891%206.98825%2011.2179%206.52361%2012.7856C6.41867%2013.11%205.92187%2013.0507%205.87532%2012.7129C5.39968%2011.0903%204.65998%209.50731%203.47765%208.33398C2.83105%207.68353%202.05581%207.1894%201.22725%206.8471C0.92595%206.75996%200.923411%206.24966%201.22471%206.15982C2.46713%205.6594%203.56398%204.77176%204.34684%203.63167C5.02983%202.6533%205.50716%201.52848%205.84993%200.370426C5.88632%200.268905%205.90833%200.150314%205.9955%200.0811363Z%22%20fill%3D%22url%28%23paint0_linear_824_2194%29%22%2F%3E%3Cpath%20d%3D%22M7.93967%206.62908H6.66191V8.08352H6.07193V6.62908H4.79102V6.08327H6.07193V4.73926H6.66191V6.08327H7.93967V6.62908Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2194%22%20x1%3D%221.19306%22%20y1%3D%226.55804%22%20x2%3D%2210.846%22%20y2%3D%226.55804%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD2677%22%2F%3E%3Cstop%20offset%3D%220.552083%22%20stop-color%3D%22%23E02433%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F38922%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.9955%200.0811363C6.18846%20-0.0976484%206.5143%200.0380123%206.55408%200.303045C6.99418%201.8052%207.65855%203.26871%208.69785%204.4097C9.39523%205.18593%2010.2627%205.77529%2011.203%206.16071C11.5009%206.25235%2011.4984%206.75726%2011.2005%206.8471C10.2974%207.21635%209.46124%207.77427%208.78079%208.50648C7.67124%209.67891%206.98825%2011.2179%206.52361%2012.7856C6.41867%2013.11%205.92187%2013.0507%205.87532%2012.7129C5.39968%2011.0903%204.65998%209.50731%203.47765%208.33398C2.83105%207.68353%202.05581%207.1894%201.22725%206.8471C0.92595%206.75996%200.923411%206.24966%201.22471%206.15982C2.46713%205.6594%203.56398%204.77176%204.34684%203.63167C5.02983%202.6533%205.50716%201.52848%205.84993%200.370426C5.88632%200.268905%205.90833%200.150314%205.9955%200.0811363Z%22%20fill%3D%22url%28%23paint0_linear_824_2193%29%22%2F%3E%3Cpath%20d%3D%22M4.79102%206.63427V5.68652H7.63424V6.63427H4.79102Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2193%22%20x1%3D%221.19306%22%20y1%3D%226.55804%22%20x2%3D%2210.846%22%20y2%3D%226.55804%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD2677%22%2F%3E%3Cstop%20offset%3D%220.552083%22%20stop-color%3D%22%23E02433%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F38922%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return f(function(e){return!e})}}),t.createElement(gJ,{size:64,icon:'data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20y%3D%228%22%20width%3D%2264%22%20height%3D%2249%22%20rx%3D%2210.2851%22%20fill%3D%22url%28%23paint0_linear_824_2190%29%22%2F%3E%3Cpath%20d%3D%22M7%2022.0107C8.33054%2022.0154%209.66322%2022.0131%2010.9938%2022.0107C13.1385%2028.9994%2015.2853%2035.9903%2017.4172%2042.9836C16.0909%2042.9976%2014.7647%2042.9743%2013.4406%2042.9999C11.2509%2036.0206%209.134%2029.011%207%2022.0107Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M20.1836%2022.0118C21.5184%2022.0118%2022.8532%2022.0072%2024.1902%2022.0118C22.2876%2028.209%2020.4086%2034.4154%2018.4845%2040.6055C17.7646%2038.4568%2017.1347%2036.2755%2016.4727%2034.1081C17.7261%2030.0807%2018.9302%2026.0369%2020.1836%2022.0118Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8603%2022.0088L26.9717%2022.0251C28.4008%2022.2812%2029.8513%2022.1438%2031.2933%2022.2439C31.3575%2023.3008%2031.3532%2024.3624%2031.274%2025.417C29.7913%2025.4915%2028.3022%2025.3611%2026.8281%2025.5567C26.8945%2024.374%2026.8581%2023.1914%2026.8603%2022.0088Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8647%2042.9874C26.8733%2041.7698%2026.839%2040.5499%2026.8904%2039.3301C28.3666%2039.3673%2029.845%2039.3394%2031.3234%2039.3487C31.3234%2040.5616%2031.3255%2041.7745%2031.3298%2042.9897C29.8407%2042.9897%2028.3516%2042.9897%2026.8647%2042.9874Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.9717%2022.0263C31.0061%2021.9798%2035.0406%2022.0077%2039.0751%2022.0147C39.0708%2023.2183%2039.0901%2024.4242%2039.0601%2025.6301C35.7669%2025.6231%2032.4759%2025.6371%2029.185%2025.6277C28.3986%2025.6161%2027.608%2025.6836%2026.8281%2025.5579C28.3022%2025.3623%2029.7913%2025.4927%2031.274%2025.4182C31.3532%2024.3636%2031.3575%2023.3021%2031.2933%2022.2452C29.8513%2022.1451%2028.4008%2022.2824%2026.9717%2022.0263Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.4379%2022.0183C44.2355%2022.0044%2046.031%2022.0044%2047.8286%2022.0276C47.8329%2023.2172%2047.82%2024.4092%2047.7836%2025.5988C46.001%2025.5545%2044.2184%2025.5964%2042.4357%2025.5732C42.4336%2024.3882%2042.4315%2023.2033%2042.4379%2022.0183Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.4361%2039.3898C44.3408%2039.3712%2046.2434%2039.4224%2048.1482%2039.3525C48.2982%2040.5538%2048.2896%2041.7713%2048.1182%2042.9679C46.2241%2043.0075%2044.3301%2042.9842%2042.4361%2042.9865C42.4339%2041.7876%2042.4318%2040.5887%2042.4361%2039.3898Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M47.8243%2022.0283C49.4891%2022.1075%2051.1281%2022.5777%2052.6001%2023.4251L52.5979%2023.467C52.4544%2025.1804%2052.6344%2026.9055%2052.418%2028.6142C51.4559%2026.8193%2049.6712%2025.7228%2047.7793%2025.5995C47.8157%2024.4099%2047.8286%2023.2179%2047.8243%2022.0283Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M52.5939%2023.4668C54.9358%2024.8543%2056.4548%2027.5547%2056.8448%2030.3856C57.2197%2033.0884%2056.9519%2036.0054%2055.6128%2038.3706C54.8736%2039.7232%2053.7766%2040.8034%2052.5404%2041.5995C52.4568%2039.8931%2052.6689%2038.1681%2052.3711%2036.478C53.451%2034.0289%2053.4038%2031.0817%2052.4139%2028.614C52.6303%2026.9052%2052.4504%2025.1802%2052.5939%2023.4668Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8574%2030.6728C30.3927%2030.6682%2033.9279%2030.6658%2037.4632%2030.6705C37.4632%2031.8764%2037.461%2033.0823%2037.4653%2034.2882C33.9686%2034.2859%2030.4698%2034.3208%2026.9753%2034.2696C28.5436%2033.9739%2030.142%2034.1509%2031.7254%2034.0438C31.7789%2032.9938%2031.7725%2031.9416%2031.7082%2030.8917C30.0949%2030.8288%2028.4815%2030.8614%2026.8681%2030.8125L26.8574%2030.6728Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8658%2030.8125C28.4792%2030.8614%2030.0925%2030.8288%2031.7059%2030.8917C31.7702%2031.9416%2031.7766%2032.9938%2031.723%2034.0438C30.1397%2034.1508%2028.5413%2033.9739%2026.9729%2034.2696L26.8594%2034.2859C26.8701%2033.1265%2026.8637%2031.9695%2026.8658%2030.8125Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M48.1372%2039.3247C49.8641%2039.1454%2051.4754%2038.1048%2052.371%2036.4775C52.6688%2038.1677%2052.4567%2039.8927%2052.5402%2041.5991C51.1733%2042.4%2049.652%2042.8376%2048.1094%2042.968C48.2808%2041.7714%2048.2894%2040.5539%2048.1394%2039.3526L48.1372%2039.3247Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M31.3203%2039.3477C32.7451%2039.3454%2034.1699%2039.3477%2035.5969%2039.3477C35.6119%2040.5606%2035.6076%2041.7735%2035.5862%2042.9887C34.1656%2042.9887%2032.7451%2042.9887%2031.3267%2042.9887C31.3224%2041.7735%2031.3203%2040.5606%2031.3203%2039.3477Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M35.6064%2039.3482C36.7634%2039.3459%2037.9225%2039.3459%2039.0817%2039.3505C39.0817%2040.5634%2039.0817%2041.774%2039.0817%2042.9869C37.9204%2042.9915%2036.757%2042.9892%2035.5957%2042.9892C35.6171%2041.774%2035.6214%2040.5611%2035.6064%2039.3482Z%22%20fill%3D%22white%22%2F%3E%3Cellipse%20cx%3D%2245.1173%22%20cy%3D%2232.6875%22%20rx%3D%222.45906%22%20ry%3D%222.67187%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2190%22%20x1%3D%22-5.82857%22%20y1%3D%2230.6824%22%20x2%3D%2265.86%22%20y2%3D%2233.0575%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220.0561277%22%20stop-color%3D%22%23A42783%22%2F%3E%3Cstop%20offset%3D%220.503827%22%20stop-color%3D%22%23E22432%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F59620%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return c(!0)}})),l&&t.createElement(bJ,{token:i,baseURL:o,handleClickBackBtn:c,darkMode:a}))};export{bJ as VuChat,vJ as VuChatContext,yJ as VuIconComponent};
|
|
1424
|
+
o.r(s);var e=o(/*! ./worker.js */'./src/worker.js');o(/*! ./plugin/jspdf-plugin.js */'./src/plugin/jspdf-plugin.js'),o(/*! ./plugin/pagebreaks.js */'./src/plugin/pagebreaks.js'),o(/*! ./plugin/hyperlinks.js */'./src/plugin/hyperlinks.js');var t=function e(t,n){var r=new e.Worker(n);return t?r.from(t).save():r};t.Worker=e.default,s.default=t}(),s=s.default}()};var zX,KX,VX,qX,GX,WX,YX,XX=rr(yz.exports=DX(ir(Object.freeze({__proto__:null,default:function(e,t){return void 0===t&&(t={}),RX(e,t)}})))),JX=function(e,t){return void 0===t&&(t=50),e.length>t?e.slice(0,t)+'...':e},ZX=function(e){var i=e.sessionID,s=e.sessionTitle,a=e.isNew,A=e.handleSetConversationInfo,l=e.handleClickNewChat,c=e.authToken,u=n(''),f=u[0],h=u[1],p=n([]),g=p[0],m=p[1],v=n(0),b=v[0],y=v[1],w=o(null),B=o(null),x=Qe({queryKey:['conversations',i],queryFn:function(){return function(e){return Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.get('/ved/chats/'.concat(e,'/messages'))];case 1:return[2,t.sent().data]}})})}(i)},enabled:!1,onSuccess:function(e){var t=[];e.messages.map(function(e){var n;t.push({from:'user',text:e.user_query}),t.push(Oe(Oe({from:'bot',text:e.answer,textType:'answer',chartConfigList:e.chart_config_list,chatID:e.message_id},void 0!==(null===(n=e.feedback)||void 0===n?void 0:n.is_liked)&&{isLiked:e.feedback.is_liked}),{sources:e.sources,explainability:e.explainability}))}),m(t),y(e.message_count)},onError:function(e){}}),C=x.isLoading,_=x.status,j=x.refetch;r(function(){m([]),h(''),j()},[i]);var F=tM({url:'/vuSmartMaps/api/1/bu/1/ved/chats/'.concat(i,'/questions/stream'),headers:{'Content-Type':'application/json',Authorization:c},onComplete:function(e){var t=e.answerHtml,n=e.tools,r=void 0===n?[]:n,o=e.sourcesHtml,l=e.explainabilityHtml,c=e.charts,u=e.messageId,d=Me([],r,!0);r.length>0&&d.push({id:r[(null==r?void 0:r.length)-1].id+1,description:'Response Generated',status:'completed'}),m(function(e){return Me(Me([],e,!0),[{from:'bot',text:t,textType:'answer',tools:d,sources:o,explainability:l,chartConfigList:null!=c?c:[],chatID:u}],!1)}),h(''),a&&A({sessionID:i,isNew:!1,sessionTitle:s})},onError:function(e,t,n){return m(function(r){var i;return Me(Me([],r,!0),[{from:'error',text:null!==(i=null==t?void 0:t.answerHtml)&&void 0!==i?i:'',textType:'answer',error:'AbortError'===n?'Request aborted by user.':e.message}],!1)})}}),E=F.answerHtml,S=F.sourcesHtml,k=F.explainabilityHtml,U=F.charts,Q=F.tools,L=F.start,O=F.stop,I=F.isStreaming,N=function(e){L(JSON.stringify({question:e,attachments:[{type:'string',id:'string',value:'string'}],tools:[{name:'string',type:'string'}],context:[{type:'string',value:'string'}],options:{reasoningLevel:'string'}}))};eM({startChat:N,sessionID:i,setConversation:m,setQuestion:h});var T=d(function(){return I?0===E.length&&0===Q.length?null:{from:'bot',text:E,textType:'answer',tools:Q,sources:S,explainability:k,chartConfigList:null!=U?U:[],chatID:void 0}:null},[I,E,Q,S,k,U]),M=d(function(){return T?Me(Me([],g,!0),[T],!1):g},[g,T]);if('loading'===_)return t.createElement('div',{className:'vu-flex vu-h-full vu-justify-center vu-items-center'},t.createElement(yN,{color:'#000',loading:C,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}));if('error'===_)return t.createElement('p',{className:'vu-text-lg vu-px-2'},'Request failed.');var P=I&&0===E.length&&0===Q.length;return t.createElement(t.Fragment,null,t.createElement(In,{ref:w},0===M.length?t.createElement(On,null,t.createElement(jN,null)):t.createElement(Ln,null,t.createElement(Tn,{ref:B},t.createElement(bz,{messages:M,sessionID:i})),P&&t.createElement(oN,null),!I&&t.createElement(QI,{handleClickDownloadConversation:function(){return function(e,t){return Ne(void 0,void 0,void 0,function(){var n,r,i,o,s,a,A,l,c,u,d;return Te(this,function(f){switch(f.label){case 0:if(!(n=e.current))return[2];(r=document.createElement('div')).className='pdf-overlay',document.body.appendChild(r),n.classList.add('pdf-container'),f.label=1;case 1:return f.trys.push([1,,3,4]),[4,(i=XX().from(n).set({margin:[20,10,10,10],filename:'conversation-'.concat(Date.now(),'.pdf'),html2canvas:{scale:2,useCORS:!0},jsPDF:{unit:'mm',format:'a4',orientation:'portrait'},pagebreak:{mode:['avoid-all','css','legacy']}})).toPdf().get('pdf')];case 2:for(o=f.sent(),s=o.internal.getNumberOfPages(),a=o.internal.pageSize.getWidth(),A=o.internal.pageSize.getHeight(),l=1;l<=s;l++)o.setPage(l),o.setFontSize(16),o.setFont('heebo','bold'),o.text('VuNet',10,10),o.text('VED',a-10,10,{align:'right'}),o.setFontSize(12),o.setFont('heebo','bold'),o.text(JX(t),a/2,8,{align:'center'}),o.setFontSize(9),o.setFont('heebo','normal'),o.text('Downloaded at '.concat((new Date).toLocaleString()),a/2,13,{align:'center'}),c=A-8,o.setFontSize(10),o.setFont('heebo','normal'),u='Powered by vuSmartMaps™ from',o.text(u,10,c),d=o.getStringUnitWidth(u)*o.internal.getFontSize()/o.internal.scaleFactor,o.setFont('heebo','bold'),o.text('VuNet',10+d+1,c);return i.save(),[3,4];case 3:return n.classList.remove('pdf-container'),r.classList.add('fade-out'),setTimeout(function(){return r.remove()},150),[7];case 4:return[2]}})})}(B,s)}}))),20===b?t.createElement($N,null,'Chat limit reached! Start a',t.createElement(YN,{onClick:l},'new chat'),', but the previous context won\'t carry over.'):t.createElement(Nn,null,t.createElement(Hn,{value:f,icon:I?'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19.07%2C4.93c-1.89-1.89-4.4-2.93-7.07-2.93s-5.18%2C1.04-7.07%2C2.93c-1.89%2C1.89-2.93%2C4.4-2.93%2C7.07%2C0%2C2.67%2C1.04%2C5.18%2C2.93%2C7.07%2C1.89%2C1.89%2C4.4%2C2.93%2C7.07%2C2.93s5.18-1.04%2C7.07-2.93c3.9-3.9%2C3.9-10.24%2C0-14.14ZM4%2C12c0-2.14%2C.83-4.15%2C2.34-5.66s3.52-2.34%2C5.66-2.34c1.8%2C0%2C3.5%2C.6%2C4.9%2C1.68L5.68%2C16.9c-1.09-1.4-1.68-3.1-1.68-4.9Zm13.66%2C5.66c-1.51%2C1.51-3.52%2C2.34-5.66%2C2.34-1.8%2C0-3.5-.6-4.9-1.69L18.31%2C7.1c2.44%2C3.14%2C2.22%2C7.68-.66%2C10.56Z%22%2F%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20width%3D%2224%22%20%20height%3D%2224%22%20%20viewBox%3D%220%200%2024%2024%22%20%20fill%3D%22none%22%20%20stroke%3D%22currentColor%22%20%20stroke-width%3D%222%22%20%20stroke-linecap%3D%22round%22%20%20stroke-linejoin%3D%22round%22%3E%20%20%3Cline%20x1%3D%2222%22%20y1%3D%222%22%20x2%3D%2211%22%20y2%3D%2213%22%20%2F%3E%20%20%3Cpolygon%20points%3D%2222%202%2015%2022%2011%2013%202%209%2022%202%22%20%2F%3E%3C%2Fsvg%3E',placeholder:'Enter Question Here',onChange:function(e){return h(e.target.value)},onClickTextAreaButton:I?O:function(){0!==f.length&&(m(function(e){return Me(Me([],e,!0),[{from:'user',text:f,textType:'question'}],!1)}),N(f),h(''))},disableTextAreaButton:!I&&0===f.length})))},$X=Nt.div(zX||(zX=Pe(['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n'],['\n vu-flex\n vu-flex-col\n vu-text-left\n vu-grow\n']))),eJ=Nt.div(KX||(KX=Pe(['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n'],['\n vu-my-2\n vu-grow\n vu-overflow-y-auto\n vu-h-32\n']))),tJ=Nt.div(VX||(VX=Pe(['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'],['\n vu-flex\n vu-justify-between\n vu-items-center\n vu-p-1.5\n ','\n'])),function(e){return e.isSelected?'\n vu-bg-gainsboro\n dark:vu-bg-dark_mode-500\n ':'vu-bg-white dark:vu-bg-dark_mode-600'}),nJ=Nt.div(qX||(qX=Pe(['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n'],['\n vu-flex\n vu-items-center\n vu-overflow-x-hidden\n']))),rJ=Nt.span(GX||(GX=Pe(['\n vu-mr-2\n'],['\n vu-mr-2\n']))),iJ=Nt.div(WX||(WX=Pe(['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n'],['\n vu-truncate\n vu-text-sm\n vu-text-center\n vu-cursor-pointer\n']))),oJ=Nt(FD)(YX||(YX=Pe(['\n vu-z-10\n'],['\n vu-z-10\n'])));var sJ,aJ,AJ,lJ,cJ=function(e){var i=e.handleSetConversationInfo,o=e.searchQuery,s=e.currentConversationInfo,a=n([]),A=a[0],l=a[1],c=_e(),u=Qe({queryKey:['conversations'],queryFn:function(){return void 0===e&&(e=!0),Ne(void 0,void 0,void 0,function(){return Te(this,function(t){switch(t.label){case 0:return[4,OI.get('/ved/chats/?pagination='.concat(e))];case 1:return[2,t.sent().data]}})});var e},enabled:!1}),d=u.isLoading,f=u.status,h=u.data,p=u.refetch;r(function(){var e,t=function(e,t){return e.filter(function(e){return e.session_title.toLowerCase().includes(t.toLowerCase())})}(null!==(e=null==h?void 0:h.results)&&void 0!==e?e:[],o);l(t)},[h,o]),r(function(){p()},[s]);var g=ke({mutationFn:NI,onSuccess:function(e,t){c.invalidateQueries(['conversations',t]),i(),c.invalidateQueries('conversations')}});return'loading'===f?t.createElement(WN,null,t.createElement(yN,{color:'#000',loading:d,size:25,'aria-label':'Loading Spinner','data-testid':'loader'})):'error'===f?t.createElement('p',{className:'vu-text-lg vu-px-2'},'Request failed.'):t.createElement($X,null,t.createElement('div',null,'Recent Conversations'),t.createElement(eJ,null,null==A?void 0:A.filter(function(e){return 0!==e.session_title.length}).map(function(e,n){return t.createElement(tJ,{key:n,isSelected:(null==s?void 0:s.sessionID)===e.session_id,onClick:function(){return i({sessionID:e.session_id,isNew:!1,sessionTitle:e.session_title})},'data-tooltip-id':'question-tooltip','data-tooltip-content':e.session_title},t.createElement(nJ,null,t.createElement(rJ,null,t.createElement(Fn,{svg:Yn})),t.createElement(iJ,null,e.session_title)),(null==s?void 0:s.sessionID)===e.session_id&&t.createElement(rJ,null,t.createElement(Sn,{name:'delete',icon:'data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22a%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.1%2C5.6h-3.5v-.8c0-1.54-1.26-2.8-2.8-2.8h-3.6c-1.54%2C0-2.8%2C1.26-2.8%2C2.8v.8H3.9c-.55%2C0-1%2C.45-1%2C1s.45%2C1%2C1%2C1h.8v11.6c0%2C1.54%2C1.26%2C2.8%2C2.8%2C2.8h9c1.54%2C0%2C2.8-1.26%2C2.8-2.8V7.6h.8c.55%2C0%2C1-.45%2C1-1s-.45-1-1-1Zm-10.7-.8c0-.44%2C.36-.8%2C.8-.8h3.6c.44%2C0%2C.8%2C.36%2C.8%2C.8v.8h-5.2v-.8Zm7.9%2C14.4c0%2C.44-.36%2C.8-.8%2C.8H7.5c-.44%2C0-.8-.36-.8-.8V7.6h10.6v11.6Z%22%2F%3E%3Cpath%20d%3D%22M10.2%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3Cpath%20d%3D%22M13.8%2C10.1c-.55%2C0-1%2C.45-1%2C1v5.4c0%2C.55%2C.45%2C1%2C1%2C1s1-.45%2C1-1v-5.4c0-.55-.45-1-1-1Z%22%2F%3E%3C%2Fsvg%3E',disabled:g.isLoading,onClick:function(t){t.stopPropagation(),g.mutate(e.session_id)}})))})),t.createElement(oJ,{id:'question-tooltip'}))},uJ=function(){return t.createElement(t.Fragment,null,t.createElement(er,{className:'vu-font-medium'},'The Ved Feature has not been integrated into your environment.'),t.createElement('p',{className:'vu-text-xl'},'Please contact ',t.createElement(XN,null,'support@vunetsystems.com'),' for assistance.'))},dJ=function(e){var r=e.handleClickBackBtn,i=e.authToken,o=n(),s=o[0],a=o[1],A=n(!1),l=A[0],c=A[1],u=n(''),d=u[0],f=u[1],h=Qe({queryKey:'sessionID',queryFn:II,enabled:!s,retry:!1,onSuccess:function(e){a({sessionID:e.session_id,isNew:!0,sessionTitle:''})}}),p=function(e){a(e||void 0)},g=function(){a(void 0),h.refetch()};return t.createElement(t.Fragment,null,t.createElement(Xn,{getNewChatId:h.refetch,handleClickBackBtn:r,openSideBar:c}),h.isLoading||h.isError?t.createElement(t.Fragment,null,h.isError?t.createElement(tr,{errorHeading:'Oops!',errorInfo:t.createElement(uJ,null)}):t.createElement(WN,null,t.createElement(yN,{color:'#000',loading:h.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'}))):t.createElement(HN,{style:{height:'calc(100% - 5rem)'}},t.createElement(zN,{$isOpen:l},t.createElement(KN,null,t.createElement(Sn,{icon:Gn,iconColor:'vu-fill-slate-350',onClick:function(){return c(!1)}})),t.createElement(VN,null,t.createElement(qN,null,t.createElement(EN,null,t.createElement(Qn,{$fullWidth:!0,placeholder:'Search Conversations',onChange:function(e){return f(e.target.value)}}),t.createElement(cJ,{currentConversationInfo:s,handleSetConversationInfo:p,searchQuery:d})),t.createElement(FN,null,t.createElement(En,{$fullWidth:!0,icon:Wn,iconColor:'vu-fill-white',onClick:g,disabled:h.isLoading},'New Chat'))))),t.createElement(GN,null,(null==s?void 0:s.sessionID)?t.createElement(t.Fragment,null,t.createElement(ZX,{handleSetConversationInfo:p,sessionID:s.sessionID,sessionTitle:s.sessionTitle,isNew:s.isNew,handleClickNewChat:g,authToken:i})):t.createElement(WN,null,t.createElement(yN,{color:'#000',loading:h.isLoading,size:75,'aria-label':'Loading Spinner','data-testid':'loader'})))))},fJ=Nt.div(sJ||(sJ=Pe(['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n'],['\n vu-fixed\n vu-inset-0\n vu-p-8\n vu-isolate\n vu-z-[1001]\n vu-bg-black/75\n']))),hJ=Nt.div(aJ||(aJ=Pe(['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n'],['\n vu-css-ls\n vu-p-6\n vu-h-full\n vu-bg-white\n dark:vu-bg-dark_mode-600\n vu-flex\n vu-flex-col\n vu-rounded-lg\n vu-relative\n dark:vu-text=slate-250\n']))),pJ=Nt.div(AJ||(AJ=Pe(['\n vu-fixed\n vu-z-[1001]\n vu-flex\n vu-transition-all\n vu-duration-300 \n vu-ease-in-out\n\n ','\n'],['\n vu-fixed\n vu-z-[1001]\n vu-flex\n vu-transition-all\n vu-duration-300 \n vu-ease-in-out\n\n ','\n'])),function(e){return e.$isMinimized?'vu-bottom-24 -vu-right-8 -vu-rotate-45':'vu-bottom-20 vu-right-5 vu-rotate-0'}),gJ=Nt(Sn)(lJ||(lJ=Pe(['\n vu-pt-2\n'],['\n vu-pt-2\n']))),mJ=new fe,vJ=h({isDarkMode:!1}),bJ=function(e){var r=e.token,i=e.baseURL,o=e.darkMode,s=void 0!==o&&o,a=e.handleClickBackBtn,A=n(s)[0];return r&&i?(OI.defaults.baseURL=i,OI.defaults.auth='Bearer '.concat(r),t.createElement(vJ.Provider,{value:{isDarkMode:A}},t.createElement(je,{client:mJ},t.createElement(fJ,{className:A?'vu-dark':''},t.createElement(hJ,null,t.createElement(dJ,{handleClickBackBtn:function(){return a(!1)},authToken:'Bearer '.concat(r)}),t.createElement(XT,{position:'top-right'})))))):t.createElement('h1',null,'JWT Token or Base URL missing.')},yJ=function(e){var i=e.token,o=e.baseURL,s=e.darkMode,a=void 0===s||s,A=n(!1),l=A[0],c=A[1],u=n(!1),d=u[0],f=u[1],h=ZT();return r(function(){var e=h.get('ved_chat_open');'true'===e?c(!0):'false'===e&&c(!1)},[h]),r(function(){var e=function(e){'Escape'===e.key&&c(!1)};return document.addEventListener('keydown',e),function(){document.removeEventListener('keydown',e)}},[c]),t.createElement('div',null,t.createElement(pJ,{$isMinimized:d},t.createElement(Sn,{icon:d?'data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.9955%200.0811363C6.18846%20-0.0976484%206.5143%200.0380123%206.55408%200.303045C6.99418%201.8052%207.65855%203.26871%208.69785%204.4097C9.39523%205.18593%2010.2627%205.77529%2011.203%206.16071C11.5009%206.25235%2011.4984%206.75726%2011.2005%206.8471C10.2974%207.21635%209.46124%207.77427%208.78079%208.50648C7.67124%209.67891%206.98825%2011.2179%206.52361%2012.7856C6.41867%2013.11%205.92187%2013.0507%205.87532%2012.7129C5.39968%2011.0903%204.65998%209.50731%203.47765%208.33398C2.83105%207.68353%202.05581%207.1894%201.22725%206.8471C0.92595%206.75996%200.923411%206.24966%201.22471%206.15982C2.46713%205.6594%203.56398%204.77176%204.34684%203.63167C5.02983%202.6533%205.50716%201.52848%205.84993%200.370426C5.88632%200.268905%205.90833%200.150314%205.9955%200.0811363Z%22%20fill%3D%22url%28%23paint0_linear_824_2194%29%22%2F%3E%3Cpath%20d%3D%22M7.93967%206.62908H6.66191V8.08352H6.07193V6.62908H4.79102V6.08327H6.07193V4.73926H6.66191V6.08327H7.93967V6.62908Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2194%22%20x1%3D%221.19306%22%20y1%3D%226.55804%22%20x2%3D%2210.846%22%20y2%3D%226.55804%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD2677%22%2F%3E%3Cstop%20offset%3D%220.552083%22%20stop-color%3D%22%23E02433%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F38922%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E':'data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.9955%200.0811363C6.18846%20-0.0976484%206.5143%200.0380123%206.55408%200.303045C6.99418%201.8052%207.65855%203.26871%208.69785%204.4097C9.39523%205.18593%2010.2627%205.77529%2011.203%206.16071C11.5009%206.25235%2011.4984%206.75726%2011.2005%206.8471C10.2974%207.21635%209.46124%207.77427%208.78079%208.50648C7.67124%209.67891%206.98825%2011.2179%206.52361%2012.7856C6.41867%2013.11%205.92187%2013.0507%205.87532%2012.7129C5.39968%2011.0903%204.65998%209.50731%203.47765%208.33398C2.83105%207.68353%202.05581%207.1894%201.22725%206.8471C0.92595%206.75996%200.923411%206.24966%201.22471%206.15982C2.46713%205.6594%203.56398%204.77176%204.34684%203.63167C5.02983%202.6533%205.50716%201.52848%205.84993%200.370426C5.88632%200.268905%205.90833%200.150314%205.9955%200.0811363Z%22%20fill%3D%22url%28%23paint0_linear_824_2193%29%22%2F%3E%3Cpath%20d%3D%22M4.79102%206.63427V5.68652H7.63424V6.63427H4.79102Z%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2193%22%20x1%3D%221.19306%22%20y1%3D%226.55804%22%20x2%3D%2210.846%22%20y2%3D%226.55804%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23AD2677%22%2F%3E%3Cstop%20offset%3D%220.552083%22%20stop-color%3D%22%23E02433%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F38922%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return f(function(e){return!e})}}),t.createElement(gJ,{size:64,icon:'data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20y%3D%228%22%20width%3D%2264%22%20height%3D%2249%22%20rx%3D%2210.2851%22%20fill%3D%22url%28%23paint0_linear_824_2190%29%22%2F%3E%3Cpath%20d%3D%22M7%2022.0107C8.33054%2022.0154%209.66322%2022.0131%2010.9938%2022.0107C13.1385%2028.9994%2015.2853%2035.9903%2017.4172%2042.9836C16.0909%2042.9976%2014.7647%2042.9743%2013.4406%2042.9999C11.2509%2036.0206%209.134%2029.011%207%2022.0107Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M20.1836%2022.0118C21.5184%2022.0118%2022.8532%2022.0072%2024.1902%2022.0118C22.2876%2028.209%2020.4086%2034.4154%2018.4845%2040.6055C17.7646%2038.4568%2017.1347%2036.2755%2016.4727%2034.1081C17.7261%2030.0807%2018.9302%2026.0369%2020.1836%2022.0118Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8603%2022.0088L26.9717%2022.0251C28.4008%2022.2812%2029.8513%2022.1438%2031.2933%2022.2439C31.3575%2023.3008%2031.3532%2024.3624%2031.274%2025.417C29.7913%2025.4915%2028.3022%2025.3611%2026.8281%2025.5567C26.8945%2024.374%2026.8581%2023.1914%2026.8603%2022.0088Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8647%2042.9874C26.8733%2041.7698%2026.839%2040.5499%2026.8904%2039.3301C28.3666%2039.3673%2029.845%2039.3394%2031.3234%2039.3487C31.3234%2040.5616%2031.3255%2041.7745%2031.3298%2042.9897C29.8407%2042.9897%2028.3516%2042.9897%2026.8647%2042.9874Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.9717%2022.0263C31.0061%2021.9798%2035.0406%2022.0077%2039.0751%2022.0147C39.0708%2023.2183%2039.0901%2024.4242%2039.0601%2025.6301C35.7669%2025.6231%2032.4759%2025.6371%2029.185%2025.6277C28.3986%2025.6161%2027.608%2025.6836%2026.8281%2025.5579C28.3022%2025.3623%2029.7913%2025.4927%2031.274%2025.4182C31.3532%2024.3636%2031.3575%2023.3021%2031.2933%2022.2452C29.8513%2022.1451%2028.4008%2022.2824%2026.9717%2022.0263Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.4379%2022.0183C44.2355%2022.0044%2046.031%2022.0044%2047.8286%2022.0276C47.8329%2023.2172%2047.82%2024.4092%2047.7836%2025.5988C46.001%2025.5545%2044.2184%2025.5964%2042.4357%2025.5732C42.4336%2024.3882%2042.4315%2023.2033%2042.4379%2022.0183Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M42.4361%2039.3898C44.3408%2039.3712%2046.2434%2039.4224%2048.1482%2039.3525C48.2982%2040.5538%2048.2896%2041.7713%2048.1182%2042.9679C46.2241%2043.0075%2044.3301%2042.9842%2042.4361%2042.9865C42.4339%2041.7876%2042.4318%2040.5887%2042.4361%2039.3898Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M47.8243%2022.0283C49.4891%2022.1075%2051.1281%2022.5777%2052.6001%2023.4251L52.5979%2023.467C52.4544%2025.1804%2052.6344%2026.9055%2052.418%2028.6142C51.4559%2026.8193%2049.6712%2025.7228%2047.7793%2025.5995C47.8157%2024.4099%2047.8286%2023.2179%2047.8243%2022.0283Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M52.5939%2023.4668C54.9358%2024.8543%2056.4548%2027.5547%2056.8448%2030.3856C57.2197%2033.0884%2056.9519%2036.0054%2055.6128%2038.3706C54.8736%2039.7232%2053.7766%2040.8034%2052.5404%2041.5995C52.4568%2039.8931%2052.6689%2038.1681%2052.3711%2036.478C53.451%2034.0289%2053.4038%2031.0817%2052.4139%2028.614C52.6303%2026.9052%2052.4504%2025.1802%2052.5939%2023.4668Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8574%2030.6728C30.3927%2030.6682%2033.9279%2030.6658%2037.4632%2030.6705C37.4632%2031.8764%2037.461%2033.0823%2037.4653%2034.2882C33.9686%2034.2859%2030.4698%2034.3208%2026.9753%2034.2696C28.5436%2033.9739%2030.142%2034.1509%2031.7254%2034.0438C31.7789%2032.9938%2031.7725%2031.9416%2031.7082%2030.8917C30.0949%2030.8288%2028.4815%2030.8614%2026.8681%2030.8125L26.8574%2030.6728Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M26.8658%2030.8125C28.4792%2030.8614%2030.0925%2030.8288%2031.7059%2030.8917C31.7702%2031.9416%2031.7766%2032.9938%2031.723%2034.0438C30.1397%2034.1508%2028.5413%2033.9739%2026.9729%2034.2696L26.8594%2034.2859C26.8701%2033.1265%2026.8637%2031.9695%2026.8658%2030.8125Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M48.1372%2039.3247C49.8641%2039.1454%2051.4754%2038.1048%2052.371%2036.4775C52.6688%2038.1677%2052.4567%2039.8927%2052.5402%2041.5991C51.1733%2042.4%2049.652%2042.8376%2048.1094%2042.968C48.2808%2041.7714%2048.2894%2040.5539%2048.1394%2039.3526L48.1372%2039.3247Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M31.3203%2039.3477C32.7451%2039.3454%2034.1699%2039.3477%2035.5969%2039.3477C35.6119%2040.5606%2035.6076%2041.7735%2035.5862%2042.9887C34.1656%2042.9887%2032.7451%2042.9887%2031.3267%2042.9887C31.3224%2041.7735%2031.3203%2040.5606%2031.3203%2039.3477Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20d%3D%22M35.6064%2039.3482C36.7634%2039.3459%2037.9225%2039.3459%2039.0817%2039.3505C39.0817%2040.5634%2039.0817%2041.774%2039.0817%2042.9869C37.9204%2042.9915%2036.757%2042.9892%2035.5957%2042.9892C35.6171%2041.774%2035.6214%2040.5611%2035.6064%2039.3482Z%22%20fill%3D%22white%22%2F%3E%3Cellipse%20cx%3D%2245.1173%22%20cy%3D%2232.6875%22%20rx%3D%222.45906%22%20ry%3D%222.67187%22%20fill%3D%22white%22%2F%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22paint0_linear_824_2190%22%20x1%3D%22-5.82857%22%20y1%3D%2230.6824%22%20x2%3D%2265.86%22%20y2%3D%2233.0575%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220.0561277%22%20stop-color%3D%22%23A42783%22%2F%3E%3Cstop%20offset%3D%220.503827%22%20stop-color%3D%22%23E22432%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F59620%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E',onClick:function(){return c(!0)}})),l&&t.createElement(bJ,{token:i,baseURL:o,handleClickBackBtn:c,darkMode:a}))};export{bJ as VuChat,vJ as VuChatContext,yJ as VuIconComponent};
|