@allurereport/web-dashboard 3.0.0-beta.13 → 3.0.0-beta.15
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/multi/app-c035074b.js +2 -0
- package/dist/multi/manifest.json +20 -20
- package/dist/multi/{styles-d1c5e4d9.css → styles-c035074b.css} +1 -2
- package/dist/single/app-6589e136.js +2 -0
- package/dist/single/manifest.json +1 -1
- package/package.json +4 -4
- package/src/components/Dashboard/index.tsx +16 -6
- package/src/stores/dashboard.ts +1 -1
- package/dist/multi/app-d1c5e4d9.js +0 -2
- package/dist/single/app-73d84c66.js +0 -2
- package/src/components/Dashboard/components/TrendChartWidget/index.tsx +0 -69
- package/src/components/Dashboard/components/Widget/index.tsx +0 -19
- package/src/components/Dashboard/components/Widget/styles.scss +0 -31
- /package/dist/multi/{173.app-d1c5e4d9.js → 173.app-c035074b.js} +0 -0
- /package/dist/multi/{174.app-d1c5e4d9.js → 174.app-c035074b.js} +0 -0
- /package/dist/multi/{252.app-d1c5e4d9.js → 252.app-c035074b.js} +0 -0
- /package/dist/multi/{282.app-d1c5e4d9.js → 282.app-c035074b.js} +0 -0
- /package/dist/multi/{29.app-d1c5e4d9.js → 29.app-c035074b.js} +0 -0
- /package/dist/multi/{416.app-d1c5e4d9.js → 416.app-c035074b.js} +0 -0
- /package/dist/multi/{527.app-d1c5e4d9.js → 527.app-c035074b.js} +0 -0
- /package/dist/multi/{600.app-d1c5e4d9.js → 600.app-c035074b.js} +0 -0
- /package/dist/multi/{605.app-d1c5e4d9.js → 605.app-c035074b.js} +0 -0
- /package/dist/multi/{638.app-d1c5e4d9.js → 638.app-c035074b.js} +0 -0
- /package/dist/multi/{672.app-d1c5e4d9.js → 672.app-c035074b.js} +0 -0
- /package/dist/multi/{686.app-d1c5e4d9.js → 686.app-c035074b.js} +0 -0
- /package/dist/multi/{725.app-d1c5e4d9.js → 725.app-c035074b.js} +0 -0
- /package/dist/multi/{741.app-d1c5e4d9.js → 741.app-c035074b.js} +0 -0
- /package/dist/multi/{755.app-d1c5e4d9.js → 755.app-c035074b.js} +0 -0
- /package/dist/multi/{894.app-d1c5e4d9.js → 894.app-c035074b.js} +0 -0
- /package/dist/multi/{943.app-d1c5e4d9.js → 943.app-c035074b.js} +0 -0
- /package/dist/multi/{980.app-d1c5e4d9.js → 980.app-c035074b.js} +0 -0
- /package/dist/multi/{app-d1c5e4d9.js.LICENSE.txt → app-c035074b.js.LICENSE.txt} +0 -0
- /package/dist/single/{app-73d84c66.js.LICENSE.txt → app-6589e136.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see app-d1c5e4d9.js.LICENSE.txt */
|
|
2
|
-
!function(){var e,t,n,r,i={96:function(e,t,n){var r={"./az.json":[686,686],"./de.json":[894,894],"./en.json":[174,174],"./es.json":[725,725],"./fr.json":[605,605],"./he.json":[282,282],"./hy.json":[638,638],"./it.json":[672,672],"./ja.json":[980,980],"./ka.json":[173,173],"./kr.json":[416,416],"./nl.json":[943,943],"./pl.json":[29,29],"./pt.json":[741,741],"./ru.json":[600,600],"./sv.json":[252,252],"./tr.json":[755,755],"./zh.json":[527,527]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((function(){return n.t(i,19)}))}i.keys=function(){return Object.keys(r)},i.id=96,e.exports=i}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e](n,n.exports,a),n.exports}a.m=i,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);a.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){o[e]=function(){return n[e]}}));return o.default=function(){return n},a.d(i,o),i},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return e+".app-"+a.h().slice(0,8)+".js"},a.miniCssF=function(e){},a.h=function(){return"d1c5e4d9d9692b802f5b"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="@allurereport/web-dashboard:",a.l=function(e,t,i,o){if(n[e])n[e].push(t);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var f=c[u];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+i){s=f;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+i),s.src=e),n[e]=[t];var d=function(t,r){s.onerror=s.onload=null,clearTimeout(h);var i=n[e];if(delete n[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(r)})),t)return t(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e}(),function(){var e={792:0};a.f.j=function(t,n){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,i){r=e[t]=[n,i]}));n.push(r[2]=i);var o=a.p+a.u(t),s=new Error;a.l(o,(function(n){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,r[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var r,i,o=n[0],s=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);l&&l(a)}for(t&&t(n);c<o.length;c++)i=o[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunk_allurereport_web_dashboard=self.webpackChunk_allurereport_web_dashboard||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),function(){"use strict";const e=()=>new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),t=()=>globalThis.allureReportOptions,n={en:{short:"Eng",full:"English",iso:"en-US"},ru:{short:"Ру",full:"Русский",iso:"ru-RU"},pl:{short:"Pl",full:"Polski",iso:"pl-PL"},es:{short:"Es",full:"Español",iso:"es-ES"},pt:{short:"Pt",full:"Português",iso:"pt-PT"},de:{short:"De",full:"Deutsch",iso:"de-DE"},hy:{short:"Hy",full:"Հայերեն",iso:"hy-AM"},az:{short:"Az",full:"Azərbaycan",iso:"az-AZ"},fr:{short:"Fr",full:"Français",iso:"fr-FR"},it:{short:"It",full:"Italiano",iso:"it-IT"},ja:{short:"Ja",full:"日本語",iso:"ja-JP"},he:{short:"He",full:"עברית",iso:"he-IL"},ka:{short:"Ka",full:"ქართული",iso:"ka-GE"},kr:{short:"Kr",full:"한국어",iso:"kr-KR"},nl:{short:"Nl",full:"Nederlands",iso:"nl-NL"},sv:{short:"Sv",full:"Svenska",iso:"sv-SE"},tr:{short:"Tr",full:"Türkçe",iso:"tr-TR"},zh:{short:"Zh",full:"中文",iso:"zh-CN"}},r=e=>{if(e)return e.charAt(0).toLocaleUpperCase()+e.slice(1)};var i,o,s,l,c,u,f,d,h,p,g,v,m={},b=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_=Array.isArray;function w(e,t){for(var n in t)e[n]=t[n];return e}function x(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function k(e,t,n){var r,o,a,s={};for(a in t)"key"==a?r=t[a]:"ref"==a?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return C(e,s,r,o,null)}function C(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++s:i,__i:-1,__u:0};return null==i&&null!=o.vnode&&o.vnode(a),a}function M(e){return e.children}function S(e,t){this.props=e,this.context=t}function T(e,t){if(null==t)return e.__?T(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?T(e):null}function O(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return O(e)}}function A(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!E.__r++||u!==o.debounceRendering)&&((u=o.debounceRendering)||f)(E)}function E(){var e,t,n,r,i,a,s,l;for(c.sort(d);e=c.shift();)e.__d&&(t=c.length,r=void 0,a=(i=(n=e).__v).__e,s=[],l=[],n.__P&&((r=w({},i)).__v=i.__v+1,o.vnode&&o.vnode(r),B(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[a]:null,s,null==a?T(i):a,!!(32&i.__u),l),r.__v=i.__v,r.__.__k[r.__i]=r,U(s,r,l),r.__e!=a&&O(r)),c.length>t&&c.sort(d));E.__r=0}function P(e,t,n,r,i,o,a,s,l,c,u){var f,d,h,p,g,v=r&&r.__k||b,y=t.length;for(n.__d=l,L(n,t,v),l=n.__d,f=0;f<y;f++)null!=(h=n.__k[f])&&(d=-1===h.__i?m:v[h.__i]||m,h.__i=f,B(e,h,d,i,o,a,s,l,c,u),p=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&z(d.ref,null,h),u.push(h.ref,h.__c||p,h)),null==g&&null!=p&&(g=p),65536&h.__u||d.__k===h.__k?l=j(h,l,e):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:p&&(l=p.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=l,n.__e=g}function L(e,t,n){var r,i,o,a,s,l=t.length,c=n.length,u=c,f=0;for(e.__k=[],r=0;r<l;r++)null!=(i=t[r])&&"boolean"!=typeof i&&"function"!=typeof i?(a=r+f,(i=e.__k[r]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?C(null,i,null,null,null):_(i)?C(M,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?C(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,-1!==(s=i.__i=D(i,n,a,u))&&(u--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&f--,"function"!=typeof i.type&&(i.__u|=65536)):s!==a&&(s==a-1?f--:s==a+1?f++:(s>a?f--:f++,i.__u|=65536))):i=e.__k[r]=null;if(u)for(r=0;r<c;r++)null!=(o=n[r])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=T(o)),H(o,o))}function j(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=j(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=T(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function N(e,t){return t=t||[],null==e||"boolean"==typeof e||(_(e)?e.some((function(e){N(e,t)})):t.push(e)),t}function D(e,t,n,r){var i=e.key,o=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if(r>(null==l||131072&l.__u?0:1))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s++}}return-1}function F(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||y.test(t)?n:n+"px"}function R(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||F(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||F(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=h,e.addEventListener(t,o?g:p,o)):e.removeEventListener(t,o?g:p,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function $(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=h++;else if(t.t<n.u)return;return n(o.event?o.event(t):t)}}}function B(e,t,n,r,i,a,s,l,c,u){var f,d,h,p,g,v,m,b,y,x,k,C,T,O,A,E,L=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(c=!!(32&n.__u),a=[l=t.__e=n.__e]),(f=o.__b)&&f(t);e:if("function"==typeof L)try{if(b=t.props,y="prototype"in L&&L.prototype.render,x=(f=L.contextType)&&r[f.__c],k=f?x?x.props.value:f.__:r,n.__c?m=(d=t.__c=n.__c).__=d.__E:(y?t.__c=d=new L(b,k):(t.__c=d=new S(b,k),d.constructor=L,d.render=V),x&&x.sub(d),d.props=b,d.state||(d.state={}),d.context=k,d.__n=r,h=d.__d=!0,d.__h=[],d._sb=[]),y&&null==d.__s&&(d.__s=d.state),y&&null!=L.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=w({},d.__s)),w(d.__s,L.getDerivedStateFromProps(b,d.__s))),p=d.props,g=d.state,d.__v=t,h)y&&null==L.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),y&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(y&&null==L.getDerivedStateFromProps&&b!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,k),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,k)||t.__v===n.__v)){for(t.__v!==n.__v&&(d.props=b,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),C=0;C<d._sb.length;C++)d.__h.push(d._sb[C]);d._sb=[],d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,k),y&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(p,g,v)}))}if(d.context=k,d.props=b,d.__P=e,d.__e=!1,T=o.__r,O=0,y){for(d.state=d.__s,d.__d=!1,T&&T(t),f=d.render(d.props,d.state,d.context),A=0;A<d._sb.length;A++)d.__h.push(d._sb[A]);d._sb=[]}else do{d.__d=!1,T&&T(t),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++O<25);d.state=d.__s,null!=d.getChildContext&&(r=w(w({},r),d.getChildContext())),y&&!h&&null!=d.getSnapshotBeforeUpdate&&(v=d.getSnapshotBeforeUpdate(p,g)),P(e,_(E=null!=f&&f.type===M&&null==f.key?f.props.children:f)?E:[E],t,n,r,i,a,s,l,c,u),d.base=t.__e,t.__u&=-161,d.__h.length&&s.push(d),m&&(d.__E=d.__=null)}catch(e){if(t.__v=null,c||null!=a){for(t.__u|=c?160:32;l&&8===l.nodeType&&l.nextSibling;)l=l.nextSibling;a[a.indexOf(l)]=null,t.__e=l}else t.__e=n.__e,t.__k=n.__k;o.__e(e,t,n)}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=I(n.__e,t,n,r,i,a,s,c,u);(f=o.diffed)&&f(t)}function U(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)z(n[r],n[++r],n[++r]);o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function I(e,t,n,r,a,s,l,c,u){var f,d,h,p,g,v,b,y=n.props,w=t.props,k=t.type;if("svg"===k?a="http://www.w3.org/2000/svg":"math"===k?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=s)for(f=0;f<s.length;f++)if((g=s[f])&&"setAttribute"in g==!!k&&(k?g.localName===k:3===g.nodeType)){e=g,s[f]=null;break}if(null==e){if(null===k)return document.createTextNode(w);e=document.createElementNS(a,k,w.is&&w),c&&(o.__m&&o.__m(t,s),c=!1),s=null}if(null===k)y===w||c&&e.data===w||(e.data=w);else{if(s=s&&i.call(e.childNodes),y=n.props||m,!c&&null!=s)for(y={},f=0;f<e.attributes.length;f++)y[(g=e.attributes[f]).name]=g.value;for(f in y)if(g=y[f],"children"==f);else if("dangerouslySetInnerHTML"==f)h=g;else if(!(f in w)){if("value"==f&&"defaultValue"in w||"checked"==f&&"defaultChecked"in w)continue;R(e,f,null,g,a)}for(f in w)g=w[f],"children"==f?p=g:"dangerouslySetInnerHTML"==f?d=g:"value"==f?v=g:"checked"==f?b=g:c&&"function"!=typeof g||y[f]===g||R(e,f,g,y[f],a);if(d)c||h&&(d.__html===h.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(h&&(e.innerHTML=""),P(e,_(p)?p:[p],t,n,r,"foreignObject"===k?"http://www.w3.org/1999/xhtml":a,s,l,s?s[0]:n.__k&&T(n,0),c,u),null!=s)for(f=s.length;f--;)x(s[f]);c||(f="value","progress"===k&&null==v?e.removeAttribute("value"):void 0!==v&&(v!==e[f]||"progress"===k&&!v||"option"===k&&v!==y[f])&&R(e,f,v,y[f],a),f="checked",void 0!==b&&b!==e[f]&&R(e,f,b,y[f],a))}return e}function z(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){o.__e(e,n)}}function H(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||z(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&H(r[i],t,n||"function"!=typeof e.type);n||x(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function V(e,t,n){return this.constructor(e,n)}function W(e,t,n){var r,o,a,s,l=w({},e.props);for(a in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)"key"==a?r=t[a]:"ref"==a?o=t[a]:l[a]=void 0===t[a]&&void 0!==s?s[a]:t[a];return arguments.length>2&&(l.children=arguments.length>3?i.call(arguments,2):n),C(e.type,l,r||e.key,o||e.ref,null)}function Y(e,t){var n={__c:t="__cC"+v++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,A(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}function q(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=q(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Z(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=q(e))&&(r&&(r+=" "),r+=t);return r}i=b.slice,o={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},s=0,l=function(e){return null!=e&&null==e.constructor},S.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=w({},this.state),"function"==typeof e&&(e=e(w({},n),this.props)),e&&w(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),A(this))},S.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},S.prototype.render=M,c=[],f="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,d=function(e,t){return e.__v.__b-t.__v.__b},E.__r=0,h=0,p=$(!1),g=$(!0),v=0;var G,X,K,Q,J=Z,ee=0,te=[],ne=o,re=ne.__b,ie=ne.__r,oe=ne.diffed,ae=ne.__c,se=ne.unmount,le=ne.__;function ce(e,t){ne.__h&&ne.__h(X,e,ee||t),ee=0;var n=X.__H||(X.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ue(e){return ee=1,function(e,t,n){var r=ce(G++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):xe(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=X,!X.u)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!o||o.call(this,e,t,n))};X.u=!0;var o=X.shouldComponentUpdate,a=X.componentWillUpdate;X.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,i(e,t,n),o=r}a&&a.call(this,e,t,n)},X.shouldComponentUpdate=i}return r.__N||r.__}(xe,e)}function fe(e,t){var n=ce(G++,3);!ne.__s&&we(n.__H,t)&&(n.__=e,n.i=t,X.__H.__h.push(n))}function de(e){return ee=5,he((function(){return{current:e}}),[])}function he(e,t){var n=ce(G++,7);return we(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function pe(e,t){return ee=8,he((function(){return e}),t)}function ge(e){var t=X.context[e.__c],n=ce(G++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(X)),t.props.value):e.__}function ve(){for(var e;e=te.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ye),e.__H.__h.forEach(_e),e.__H.__h=[]}catch(t){e.__H.__h=[],ne.__e(t,e.__v)}}ne.__b=function(e){X=null,re&&re(e)},ne.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),le&&le(e,t)},ne.__r=function(e){ie&&ie(e),G=0;var t=(X=e.__c).__H;t&&(K===X?(t.__h=[],X.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(ye),t.__h.forEach(_e),t.__h=[],G=0)),K=X},ne.diffed=function(e){oe&&oe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==te.push(t)&&Q===ne.requestAnimationFrame||((Q=ne.requestAnimationFrame)||be)(ve)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),K=X=null},ne.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ye),e.__h=e.__h.filter((function(e){return!e.__||_e(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ne.__e(n,e.__v)}})),ae&&ae(e,t)},ne.unmount=function(e){se&&se(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{ye(e)}catch(e){t=e}})),n.__H=void 0,t&&ne.__e(t,n.__v))};var me="function"==typeof requestAnimationFrame;function be(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function ye(e){var t=X,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),X=t}function _e(e){var t=X;e.__c=e.__(),X=t}function we(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function xe(e,t){return"function"==typeof t?t(e):t}function ke(e,t){for(var n in t)e[n]=t[n];return e}function Ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Me(e,t){this.props=e,this.context=t}function Se(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,k(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Me.prototype=new S).isPureReactComponent=!0,Me.prototype.shouldComponentUpdate=function(e,t){return Ce(this.props,e)||Ce(this.state,t)};var Te=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Te&&Te(e)};var Oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ae(e){function t(t){var n=ke({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Oe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ee=o.__e;o.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Ee(e,t,n,r)};var Pe=o.unmount;function Le(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=ke({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Le(e,t,n)}))),e}function je(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return je(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Ne(){this.__u=0,this.t=null,this.__b=null}function De(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Fe(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Pe&&Pe(e)},(Ne.prototype=new S).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=De(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=je(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Ne.prototype.componentWillUnmount=function(){this.t=[]},Ne.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Le(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&k(M,null,e.fallback);return i&&(i.__u&=-33),[k(M,null,t.__a?null:e.children),i]};var Re=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(Fe.prototype=new S).__a=function(e){var t=this,n=De(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Re(t,e,r)):i()};n?n(o):o()}},Fe.prototype.render=function(e){this.u=null,this.o=new Map;var t=N(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Fe.prototype.componentDidUpdate=Fe.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Re(e,n,t)}))};var $e="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Be=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ue=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ie=/[A-Z0-9]/g,ze="undefined"!=typeof document,He=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};S.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(S.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ve=o.event;function We(){}function Ye(){return this.cancelBubble}function qe(){return this.defaultPrevented}o.event=function(e){return Ve&&(e=Ve(e)),e.persist=We,e.isPropagationStopped=Ye,e.isDefaultPrevented=qe,e.nativeEvent=e};var Ze={enumerable:!1,configurable:!0,get:function(){return this.class}},Ge=o.vnode;o.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||ze&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||He(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":Ue.test(o)&&(o=s):s=o="oninput":i&&Be.test(o)?o=o.replace(Ie,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=N(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=N(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Ze)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=$e,Ge&&Ge(e)};var Xe=o.__r;o.__r=function(e){Xe&&Xe(e),e.__c};var Ke=o.diffed;function Qe(e){return function(e){return!!e&&e.$$typeof===$e}(e)?W.apply(null,arguments):e}o.diffed=function(e){Ke&&Ke(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var Je=0;function et(e,t,n,r,i,a){t||(t={});var s,l,c=t;if("ref"in c)for(l in c={},t)"ref"==l?s=t[l]:c[l]=t[l];var u={type:e,props:c,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Je,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(s=e.defaultProps))for(l in s)void 0===c[l]&&(c[l]=s[l]);return o.vnode&&o.vnode(u),u}function tt(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=tt(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function nt(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=tt(e))&&(r&&(r+=" "),r+=t);return r}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var rt={exports:{}};rt.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){return n&&!0===n.clone&&e(t)?i(function(e){return Array.isArray(e)?[]:{}}(t),t,n):t}function n(n,r,o){var a=n.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=t(r,o):e(r)?a[s]=i(n[s],r,o):-1===n.indexOf(r)&&a.push(t(r,o))})),a}function r(n,r,o){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],o)})),Object.keys(r).forEach((function(s){e(r[s])&&n[s]?a[s]=i(n[s],r[s],o):a[s]=t(r[s],o)})),a}function i(e,i,o){var a=Array.isArray(i),s=(o||{arrayMerge:n}).arrayMerge||n;return a?Array.isArray(e)?s(e,i,o):t(i,o):r(e,i,o)}return i.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return i(e,n,t)}))},i}();var it,ot,at=rt.exports,st={exports:{}};it=st,(ot=st.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},it.exports=ot.default;var lt=st.exports;const{svg:ct,xlink:ut}=lt,ft={[ct.name]:ct.uri,[ut.name]:ut.uri};function dt(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,""")}"`)).join(" ")}(at(ft,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:ht,xlink:pt}=lt;var gt={attrs:{[ht.name]:ht.uri,[pt.name]:pt.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class vt{constructor(e){this.config=at(gt,e||{}),this.symbols=[]}add(e){const{symbols:t}=this,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)}remove(e){const{symbols:t}=this,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)}find(e){return this.symbols.filter((t=>t.id===e))[0]||null}has(e){return null!==this.find(e)}stringify(){const{attrs:e}=this.config;return dt(this.symbols.map((e=>e.stringify())).join(""),e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class mt{constructor({id:e,viewBox:t,content:n}){this.id=e,this.viewBox=t,this.content=n}stringify(){return this.content}toString(){return this.stringify()}destroy(){["id","viewBox","content"].forEach((e=>delete this[e]))}}function bt(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class yt extends mt{get isMounted(){return!!this.node}static createFromExistingNode(e){return new yt({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})}destroy(){this.isMounted&&this.unmount(),super.destroy()}mount(e){if(this.isMounted)return this.node;const t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n}render(){return bt(dt(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var _t={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function wt(e){return Array.prototype.slice.call(e,0)}function xt(e){return(e||window.location.href).split("#")[0]}function kt(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return wt(e.querySelectorAll("symbol")).forEach((e=>{wt(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const Ct=lt.xlink.uri,Mt="xlink:href",St=/[{}|\\\^\[\]`"<>]/g;function Tt(e){return e.replace(St,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const Ot=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],At=Ot.map((e=>`[${e}]`)).join(","),Et="mount",Pt="symbol_mount",Lt="__SVG_SPRITE_NODE__",jt="__SVG_SPRITE__",Nt=()=>{const e=document.getElementById(Lt);e?Dt.attach(e):Dt.mount(document.body,!0)};let Dt=new class extends vt{constructor(e={}){super(at(_t,e));const t=(n=n||Object.create(null),{on:function(e,t){(n[e]||(n[e]=[])).push(t)},off:function(e,t){n[e]&&n[e].splice(n[e].indexOf(t)>>>0,1)},emit:function(e,t){(n[e]||[]).map((function(e){e(t)})),(n["*"]||[]).map((function(n){n(e,t)}))}});var n;this._emitter=t,this.node=null;const{config:r}=this;if(r.autoConfigure&&this._autoConfigure(e),r.syncUrlsWithBaseTag){const e=document.getElementsByTagName("base")[0].getAttribute("href");t.on(Et,(()=>this.updateUrls("#",e)))}const i=this._handleLocationChange.bind(this);this._handleLocationChange=i,r.listenLocationChangeEvent&&window.addEventListener(r.locationChangeEvent,i),r.locationChangeAngularEmitter&&function(e){angular.module("ng").run(["$rootScope",t=>{t.$on("$locationChangeSuccess",((t,n,r)=>{!function(e,t){const n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!1,t),window.dispatchEvent(n)}(e,{oldUrl:r,newUrl:n})}))}])}(r.locationChangeEvent),t.on(Et,(e=>{r.moveGradientsOutsideSymbol&&kt(e)})),t.on(Pt,(e=>{r.moveGradientsOutsideSymbol&&kt(e.parentNode),(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/edge/i.test(navigator.userAgent))&&function(e){const t=[];wt(e.querySelectorAll("style")).forEach((e=>{e.textContent+="",t.push(e)}))}(e)}))}get isMounted(){return!!this.node}_autoConfigure(e){const{config:t}=this;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=/firefox/i.test(navigator.userAgent))}_handleLocationChange(e){const{oldUrl:t,newUrl:n}=e.detail;this.updateUrls(t,n)}add(e){const t=super.add(e);return this.isMounted&&t&&(e.mount(this.node),this._emitter.emit(Pt,e.node)),t}attach(e){const t=this;if(t.isMounted)return t.node;const n="string"==typeof e?document.querySelector(e):e;return t.node=n,this.symbols.forEach((e=>{e.mount(t.node),this._emitter.emit(Pt,e.node)})),wt(n.querySelectorAll("symbol")).forEach((e=>{const n=yt.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(Et,n),n}destroy(){const{config:e,symbols:t,_emitter:n}=this;t.forEach((e=>e.destroy())),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()}mount(e=this.config.mountTo,t=!1){const n=this;if(n.isMounted)return n.node;const r="string"==typeof e?document.querySelector(e):e,i=n.render();return this.node=i,t&&r.childNodes[0]?r.insertBefore(i,r.childNodes[0]):r.appendChild(i),this._emitter.emit(Et,i),i}render(){return bt(this.stringify())}unmount(){this.node.parentNode.removeChild(this.node)}updateUrls(e,t){if(!this.isMounted)return!1;const n=document.querySelectorAll(this.config.usagesToUpdate);return function(e,t,n,r){const i=Tt(n),o=Tt(r),a=function(e,t){return wt(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=wt(n.attributes).filter(t);return e.concat(r)}),[])}(e.querySelectorAll(At),(({localName:e,value:t})=>-1!==Ot.indexOf(e)&&-1!==t.indexOf(`url(${i}`)));a.forEach((e=>e.value=e.value.replace(new RegExp(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),o))),function(e,t,n){wt(e).forEach((e=>{const r=e.getAttribute(Mt);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(Ct,Mt,i)}}))}(t,i,o)}(this.node,n,`${xt(e)}#`,`${xt(t)}#`),!0}}({attrs:{id:Lt,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var Ft,Rt,$t,Bt,Ut,It;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[jt]?Dt=window[jt]:window[jt]=Dt,document.body?Nt():(Rt=[],Bt=($t=document).documentElement.doScroll,Ut="DOMContentLoaded",(It=(Bt?/^loaded|^c/:/^loaded|^i|^c/).test($t.readyState))||$t.addEventListener(Ut,Ft=function(){for($t.removeEventListener(Ut,Ft),It=1;Ft=Rt.shift();)Ft()}),function(e){It?setTimeout(e,0):Rt.push(e)})(Nt));const zt=new yt({id:"7e3aa6e8f105b74dd36141c94bfbc1eb",content:'<symbol viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" id="7e3aa6e8f105b74dd36141c94bfbc1eb">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M9.554 4.47a.6.6 0 0 1-.13.654l-3 3a.6.6 0 0 1-.849 0l-3-3A.6.6 0 0 1 3 4.1h6a.6.6 0 0 1 .554.37Z" fill="currentColor" fill-opacity=".56" />\n</symbol>',viewBox:"0 0 12 12"});Dt.add(zt);const Ht=new yt({id:"f681aed9de72a8ea119158d26e3472cc",content:'<symbol viewBox="0 0 12 8" fill="currentColor" xmlns="http://www.w3.org/2000/svg" id="f681aed9de72a8ea119158d26e3472cc">\n <circle cx="3" cy="2" r="1" />\n <circle cx="6" cy="2" r="1" />\n <circle cx="9" cy="2" r="1" />\n <circle cx="3" cy="6" r="1" />\n <circle cx="6" cy="6" r="1" />\n <circle cx="9" cy="6" r="1" />\n</symbol>',viewBox:"0 0 12 8"});Dt.add(Ht);const Vt=new yt({id:"a2e5db401ed62fd39ef21026fac761ae",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="a2e5db401ed62fd39ef21026fac761ae">\n<g clip-path="url(#a2e5db401ed62fd39ef21026fac761ae_clip0_53_89)">\n<path d="M10 30H4C3.46957 30 2.96086 29.7893 2.58579 29.4142C2.21071 29.0391 2 28.5304 2 28V16C2 15.4696 2.21071 14.9609 2.58579 14.5858C2.96086 14.2107 3.46957 14 4 14H10C10.5304 14 11.0391 14.2107 11.4142 14.5858C11.7893 14.9609 12 15.4696 12 16V28C12 28.5304 11.7893 29.0391 11.4142 29.4142C11.0391 29.7893 10.5304 30 10 30ZM4 16V28H10V16H4Z" fill="currentColor" />\n<path d="M28 4H6C5.46957 4 4.96086 4.21071 4.58579 4.58579C4.21071 4.96086 4 5.46957 4 6V12H6V6H28V20H14V22H16V26H14V28H23V26H18V22H28C28.5304 22 29.0391 21.7893 29.4142 21.4142C29.7893 21.0391 30 20.5304 30 20V6C30 5.46957 29.7893 4.96086 29.4142 4.58579C29.0391 4.21071 28.5304 4 28 4Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="a2e5db401ed62fd39ef21026fac761ae_clip0_53_89">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});Dt.add(Vt);const Wt=new yt({id:"b1d648a783b58a400b404192338f655e",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 98 96" id="b1d648a783b58a400b404192338f655e">\n <path fill="currentColor" fill-rule="evenodd" d="M48.85 0C21.84 0 0 22 0 49.22 0 70.97 14 89.39 33.4 95.9c2.43.49 3.32-1.06 3.32-2.37 0-1.14-.08-5.05-.08-9.12-13.59 2.93-16.42-5.87-16.42-5.87-2.18-5.7-5.42-7.17-5.42-7.17-4.45-3.01.33-3.01.33-3.01 4.93.32 7.52 5.05 7.52 5.05 4.37 7.5 11.4 5.38 14.23 4.07.4-3.18 1.7-5.38 3.08-6.6-10.84-1.14-22.25-5.38-22.25-24.28 0-5.38 1.94-9.78 5.02-13.2-.49-1.22-2.19-6.28.48-13.04 0 0 4.13-1.3 13.43 5.05a46.97 46.97 0 0 1 12.21-1.63c4.13 0 8.33.57 12.22 1.63 9.3-6.35 13.42-5.05 13.42-5.05 2.67 6.76.97 11.82.49 13.04a18.9 18.9 0 0 1 5.01 13.2c0 18.9-11.4 23.06-22.32 24.28 1.78 1.55 3.32 4.48 3.32 9.13 0 6.6-.08 11.9-.08 13.52 0 1.3.89 2.86 3.31 2.37a49.18 49.18 0 0 0 33.4-46.7C97.72 22 75.8 0 48.86 0z" clip-rule="evenodd" />\n</symbol>',viewBox:"0 0 98 96"});Dt.add(Wt);const Yt=new yt({id:"97e840812207a4e85942a3d4cc9c425d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="97e840812207a4e85942a3d4cc9c425d">\n <g clip-path="url(#97e840812207a4e85942a3d4cc9c425d_a)">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M8 5.333V8m0 2.666h.006M14.666 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.333 0Z" />\n </g>\n <defs>\n <clipPath id="97e840812207a4e85942a3d4cc9c425d_a">\n <path fill="currentColor" d="M0 0h16v16H0z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});Dt.add(Yt);const qt=new yt({id:"fd1fdbebd322c484b74d1ba8222ec72e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fd1fdbebd322c484b74d1ba8222ec72e">\n<path vector-effect="non-scaling-stroke" d="M11 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V13M20.1213 3.87868C21.2929 5.05025 21.2929 6.94975 20.1213 8.12132C18.9497 9.29289 17.0503 9.29289 15.8787 8.12132C14.7071 6.94975 14.7071 5.05025 15.8787 3.87868C17.0503 2.70711 18.9497 2.70711 20.1213 3.87868Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(qt);const Zt=new yt({id:"6a0dfad9d21a9029d1e845251a03a91c",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6a0dfad9d21a9029d1e845251a03a91c">\n<path vector-effect="non-scaling-stroke" d="M7 13L12 18L17 13M7 6L12 11L17 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Zt);const Gt=new yt({id:"6714b0a01cad0cd868b19137adbf8ef7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6714b0a01cad0cd868b19137adbf8ef7">\n<path vector-effect="non-scaling-stroke" d="M6 9L12 15L18 9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Gt);const Xt=new yt({id:"d369105b52d959e0f31d7e56dae2612e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d369105b52d959e0f31d7e56dae2612e">\n<path vector-effect="non-scaling-stroke" d="M9 18L15 12L9 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Xt);const Kt=new yt({id:"0b66582bad1b04536ee18b4b8d9e9a30",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="0b66582bad1b04536ee18b4b8d9e9a30">\n<path vector-effect="non-scaling-stroke" d="M17 18L12 13L7 18M17 11L12 6L7 11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Kt);const Qt=new yt({id:"7d421dfdc55a22c840e4f6e7f6d142f1",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="7d421dfdc55a22c840e4f6e7f6d142f1">\n<path vector-effect="non-scaling-stroke" d="M18 15L12 9L6 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Qt);const Jt=new yt({id:"a5aca797db351fc35e3c4b4d5d3a6673",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a5aca797db351fc35e3c4b4d5d3a6673">\n<path vector-effect="non-scaling-stroke" d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Jt);const en=new yt({id:"14ab32a1c041859dcf2a710b85f4e6bb",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="14ab32a1c041859dcf2a710b85f4e6bb">\n<path vector-effect="non-scaling-stroke" d="M14 10L21 3M21 3H15M21 3V9M10 14L3 21M3 21H9M3 21L3 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(en);const tn=new yt({id:"2df7897188ce65409ea57e820129bd3f",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2df7897188ce65409ea57e820129bd3f">\n<path vector-effect="non-scaling-stroke" d="M8.54636 19.7675C10.9455 20.8319 13.803 20.7741 16.2499 19.3613C20.3154 17.0141 21.7084 11.8156 19.3612 7.75008L19.1112 7.31706M4.63826 16.2502C2.29105 12.1847 3.68399 6.98619 7.74948 4.63898C10.1965 3.22621 13.0539 3.16841 15.4531 4.23277M2.49316 16.3338L5.22521 17.0659L5.95727 14.3338M18.0424 9.6659L18.7744 6.93385L21.5065 7.6659" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(tn);const nn=new yt({id:"2e896c815a6200a31f8b8e813ff3443b",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2e896c815a6200a31f8b8e813ff3443b">\n<path vector-effect="non-scaling-stroke" d="M4.5 18H19.5M4.5 12H15.5M4.5 6H12.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(nn);const rn=new yt({id:"9401086058a257018c5f11bd2d0f1699",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9401086058a257018c5f11bd2d0f1699">\n<path vector-effect="non-scaling-stroke" d="M4.5 6H19.5M4.5 12C6.45262 12 13.5474 12 15.5 12M4.5 18L12.5 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(rn);const on=new yt({id:"b46ed421558c23c2bc56040f64fea542",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b46ed421558c23c2bc56040f64fea542">\n<path vector-effect="non-scaling-stroke" d="M7 4V20M7 20L3 16M7 20L11 16M17 20V4M17 4L13 8M17 4L21 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(on);const an=new yt({id:"bb021e85399e995f42b66451360b7f3e",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="bb021e85399e995f42b66451360b7f3e">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M8 13v4m8-6v6M12 7v10m-4 4h11l2-2V5l-2-2H5L3 5v14l2 2h3Z" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(an);const sn=new yt({id:"c2b90d2236acecf4ea15dfe9c6962306",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="c2b90d2236acecf4ea15dfe9c6962306">\n<path vector-effect="non-scaling-stroke" d="M2.5 7L5 9.5M2.5 20.5L5.5 17.5M1.5 13.5H4.6213M19 13.5H22.5M19 9.5L21.5 7M18.5 17.5L21.5 20.5M8 7.5V6.5C8 4.29086 9.7908 2.5 12 2.5C14.2092 2.5 16 4.29086 16 6.5V7.5M12 21.5C8.13401 21.5 5 18.366 5 14.5V11.4999C5 10.3829 5 9.82428 5.15712 9.37516C5.43856 8.57093 6.07093 7.93856 6.87522 7.65712C7.32427 7.5 7.88284 7.5 9 7.5H15.0001C16.1171 7.5 16.6757 7.5 17.1248 7.65712C17.9291 7.93856 18.5614 8.57093 18.8429 9.37516C19 9.82428 19 10.3829 19 11.4999V14.5C19 18.366 15.866 21.5 12 21.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(sn);const ln=new yt({id:"11fffc2467a7bbf0274413a1ad37dc9f",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="11fffc2467a7bbf0274413a1ad37dc9f">\n<path vector-effect="non-scaling-stroke" d="M14.5 15L17.5 12L14.5 9M9.5 9L6.5 12L9.5 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(ln);const cn=new yt({id:"6a4ae14f6cf80dfe96ec4985f4a1f09a",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="6a4ae14f6cf80dfe96ec4985f4a1f09a">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M12 4v14l2 2h3m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0ZM7 4h10M7 4a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm10 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0Zm-5 8h5m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0Z" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(cn);const un=new yt({id:"28573ddc1fa4574541a30ea41dc809d3",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="28573ddc1fa4574541a30ea41dc809d3">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M16 4h2l2 2v14l-2 2H6l-2-2V6l2-2h2m1 11 2 2 5-4m-6-7h5l1-1V4v0-1l-1-1H9L8 3v2l1 1h1Z" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(un);const fn=new yt({id:"5d13576ad53afa1a06870e7f2a89611c",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="5d13576ad53afa1a06870e7f2a89611c">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M14 11H8m2 4H8m8-8H8m12 0v13l-2 2H6l-2-2V4l2-2h12l2 2v3Z" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(fn);const dn=new yt({id:"301433459aced022caf70a344436a818",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="301433459aced022caf70a344436a818">\n<path vector-effect="non-scaling-stroke" d="M20 7V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H12.5M12.5 11H8M11.5 15H8M16 7H8M18 18V12.5C18 11.6716 18.6716 11 19.5 11C20.3284 11 21 11.6716 21 12.5V18C21 19.6569 19.6569 21 18 21C16.3431 21 15 19.6569 15 18V14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(dn);const hn=new yt({id:"8e25e3f623b611fe5142a6270ac7268d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="8e25e3f623b611fe5142a6270ac7268d">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="m13 7-1-2-1-1-1-1H3L2 4v3m0 0h18l2 2v10l-2 2H4l-2-2V7Z" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(hn);const pn=new yt({id:"fcf877cdf00a9154483271d31c261114",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fcf877cdf00a9154483271d31c261114">\n<path vector-effect="non-scaling-stroke" d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(pn);const gn=new yt({id:"1bc28c2f0dfd279d91231ef6e553e638",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="1bc28c2f0dfd279d91231ef6e553e638">\n<path vector-effect="non-scaling-stroke" d="M13 5H21M13 9H18M13 15H21M13 19H18M3 17.012L4.99133 19L9 15M4 4H8C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10H4C3.44772 10 3 9.55228 3 9V5C3 4.44772 3.44772 4 4 4Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(gn);const vn=new yt({id:"472a7e86c3a9476a4f38bb06c801d30d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="472a7e86c3a9476a4f38bb06c801d30d">\n<path vector-effect="non-scaling-stroke" d="M5 15C4.06812 15 3.60218 15 3.23463 14.8478C2.74458 14.6448 2.35523 14.2554 2.15224 13.7654C2 13.3978 2 12.9319 2 12V5.2C2 4.0799 2 3.51984 2.21799 3.09202C2.40973 2.71569 2.71569 2.40973 3.09202 2.21799C3.51984 2 4.0799 2 5.2 2H12C12.9319 2 13.3978 2 13.7654 2.15224C14.2554 2.35523 14.6448 2.74458 14.8478 3.23463C15 3.60218 15 4.06812 15 5M12.2 22H18.8C19.9201 22 20.4802 22 20.908 21.782C21.2843 21.5903 21.5903 21.2843 21.782 20.908C22 20.4802 22 19.9201 22 18.8V12.2C22 11.0799 22 10.5198 21.782 10.092C21.5903 9.71569 21.2843 9.40973 20.908 9.21799C20.4802 9 19.9201 9 18.8 9H12.2C11.0799 9 10.5198 9 10.092 9.21799C9.71569 9.40973 9.40973 9.71569 9.21799 10.092C9 10.5198 9 11.0799 9 12.2V18.8C9 19.9201 9 20.4802 9.21799 20.908C9.40973 21.2843 9.71569 21.5903 10.092 21.782C10.5198 22 11.0799 22 12.2 22Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(vn);const mn=new yt({id:"0e6dd40015c633a2be9271018b9b22bf",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="0e6dd40015c633a2be9271018b9b22bf">\n<path vector-effect="non-scaling-stroke" d="M4 16.2422C2.79401 15.435 2 14.0602 2 12.5C2 10.1564 3.79151 8.23129 6.07974 8.01937C6.54781 5.17213 9.02024 3 12 3C14.9798 3 17.4522 5.17213 17.9203 8.01937C20.2085 8.23129 22 10.1564 22 12.5C22 14.0602 21.206 15.435 20 16.2422M8 17L12 21M12 21L16 17M12 21V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(mn);const bn=new yt({id:"dacf24b7c84e8a250ab378b98cf65780",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="dacf24b7c84e8a250ab378b98cf65780">\n<path vector-effect="non-scaling-stroke" d="M5 9H19M5 15H19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(bn);const yn=new yt({id:"f6af8233c5d208fa571aed090bfc4178",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="f6af8233c5d208fa571aed090bfc4178">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M1.613 8.475c-.09-.144-.136-.216-.161-.326a.782.782 0 0 1 0-.298c.025-.111.07-.183.161-.327C2.363 6.336 4.597 3.333 8 3.333c3.404 0 5.637 3.003 6.387 4.191.09.144.136.216.162.327.019.083.019.214 0 .298-.026.11-.071.182-.162.326-.75 1.188-2.983 4.191-6.387 4.191-3.403 0-5.636-3.003-6.387-4.19Z" />\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" />\n</symbol>',viewBox:"0 0 16 16"});Dt.add(yn);const _n=new yt({id:"e2bf3103166453fd92fed1c3c2fcc807",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="e2bf3103166453fd92fed1c3c2fcc807">\n<path vector-effect="non-scaling-stroke" d="M8 17H16M11.0177 2.764L4.23539 8.03912C3.78202 8.39175 3.55534 8.56806 3.39203 8.78886C3.24737 8.98444 3.1396 9.20478 3.07403 9.43905C3 9.70352 3 9.9907 3 10.5651V17.8C3 18.9201 3 19.4801 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21H17.8C18.9201 21 19.4802 21 19.908 20.782C20.2843 20.5903 20.5903 20.2843 20.782 19.908C21 19.4801 21 18.9201 21 17.8V10.5651C21 9.9907 21 9.70352 20.926 9.43905C20.8604 9.20478 20.7526 8.98444 20.608 8.78886C20.4447 8.56806 20.218 8.39175 19.7646 8.03913L12.9823 2.764C12.631 2.49075 12.4553 2.35412 12.2613 2.3016C12.0902 2.25526 11.9098 2.25526 11.7387 2.3016C11.5447 2.35412 11.369 2.49075 11.0177 2.764Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(_n);const wn=new yt({id:"db4c3937a96a0ed2c4446a44d3ed4487",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="db4c3937a96a0ed2c4446a44d3ed4487">\n<path vector-effect="non-scaling-stroke" d="M10.0002 13C10.4297 13.5741 10.9776 14.0491 11.6067 14.3929C12.2359 14.7367 12.9317 14.9411 13.6468 14.9923C14.362 15.0435 15.0798 14.9403 15.7515 14.6897C16.4233 14.4392 17.0333 14.047 17.5402 13.54L20.5402 10.54C21.451 9.59695 21.955 8.33394 21.9436 7.02296C21.9322 5.71198 21.4063 4.45791 20.4793 3.53087C19.5523 2.60383 18.2982 2.07799 16.9872 2.0666C15.6762 2.0552 14.4132 2.55918 13.4702 3.46997L11.7502 5.17997M14.0002 11C13.5707 10.4258 13.0228 9.95078 12.3936 9.60703C11.7645 9.26327 11.0687 9.05885 10.3535 9.00763C9.63841 8.95641 8.92061 9.0596 8.24885 9.31018C7.5771 9.56077 6.96709 9.9529 6.4602 10.46L3.4602 13.46C2.54941 14.403 2.04544 15.666 2.05683 16.977C2.06822 18.288 2.59407 19.542 3.52111 20.4691C4.44815 21.3961 5.70221 21.9219 7.01319 21.9333C8.32418 21.9447 9.58719 21.4408 10.5302 20.53L12.2402 18.82" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(wn);const xn=new yt({id:"f346781556394af2bd92144ed8a81446",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f346781556394af2bd92144ed8a81446">\n<path vector-effect="non-scaling-stroke" d="M21 9L21 3M21 3H15M21 3L13 11M10 5H7.8C6.11984 5 5.27976 5 4.63803 5.32698C4.07354 5.6146 3.6146 6.07354 3.32698 6.63803C3 7.27976 3 8.11984 3 9.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H14.2C15.8802 21 16.7202 21 17.362 20.673C17.9265 20.3854 18.3854 19.9265 18.673 19.362C19 18.7202 19 17.8802 19 16.2V14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(xn);const kn=new yt({id:"eb91e2adaaf820e51d7f9276a36ae9bc",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="eb91e2adaaf820e51d7f9276a36ae9bc">\n<path vector-effect="non-scaling-stroke" d="M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(kn);const Cn=new yt({id:"a3d8dc7d008afa216e105f1d0e428c8a",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a3d8dc7d008afa216e105f1d0e428c8a">\n<path vector-effect="non-scaling-stroke" d="M3 8L15 8M15 8C15 9.65686 16.3431 11 18 11C19.6569 11 21 9.65685 21 8C21 6.34315 19.6569 5 18 5C16.3431 5 15 6.34315 15 8ZM9 16L21 16M9 16C9 17.6569 7.65685 19 6 19C4.34315 19 3 17.6569 3 16C3 14.3431 4.34315 13 6 13C7.65685 13 9 14.3431 9 16Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Cn);const Mn=new yt({id:"00720afc1b6bf51893d1d598043a4de1",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="00720afc1b6bf51893d1d598043a4de1">\n<path vector-effect="non-scaling-stroke" d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Mn);const Sn=new yt({id:"72dc6b01e3eb761c8218eb9909e841a6",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="72dc6b01e3eb761c8218eb9909e841a6">\n<path vector-effect="non-scaling-stroke" d="M12.9999 2L4.09332 12.6879C3.74451 13.1064 3.57011 13.3157 3.56744 13.4925C3.56512 13.6461 3.63359 13.7923 3.75312 13.8889C3.89061 14 4.16304 14 4.7079 14H11.9999L10.9999 22L19.9064 11.3121C20.2552 10.8936 20.4296 10.6843 20.4323 10.5075C20.4346 10.3539 20.3661 10.2077 20.2466 10.1111C20.1091 10 19.8367 10 19.2918 10H11.9999L12.9999 2Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Sn);const Tn=new yt({id:"2b588854ea2eb02a33849edc6074ba47",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="2b588854ea2eb02a33849edc6074ba47">\n <path d="M2.667 10s.667-.667 2.667-.667c2 0 3.333 1.333 5.333 1.333S13.334 10 13.334 10V2s-.667.666-2.667.666c-2 0-3.333-1.333-5.333-1.333S2.667 2 2.667 2v12.666" stroke="currentColor" stroke-opacity=".72" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 16 16"});Dt.add(Tn);const On=new yt({id:"e7a5450a50d9dbdceccdc513ec1c2df5",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="e7a5450a50d9dbdceccdc513ec1c2df5">\n<path vector-effect="non-scaling-stroke" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n<path vector-effect="non-scaling-stroke" d="M9.5 8.96533C9.5 8.48805 9.5 8.24941 9.59974 8.11618C9.68666 8.00007 9.81971 7.92744 9.96438 7.9171C10.1304 7.90525 10.3311 8.03429 10.7326 8.29239L15.4532 11.3271C15.8016 11.551 15.9758 11.663 16.0359 11.8054C16.0885 11.9298 16.0885 12.0702 16.0359 12.1946C15.9758 12.337 15.8016 12.449 15.4532 12.6729L10.7326 15.7076C10.3311 15.9657 10.1304 16.0948 9.96438 16.0829C9.81971 16.0726 9.68666 15.9999 9.59974 15.8838C9.5 15.7506 9.5 15.512 9.5 15.0347V8.96533Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(On);const An=new yt({id:"cf230c9fbe89a2e58d07758cd8433be3",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="cf230c9fbe89a2e58d07758cd8433be3">\n <g clip-path="url(#cf230c9fbe89a2e58d07758cd8433be3_a)">\n <path vector-effect="non-scaling-stroke" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m9.566 3.1 1.3-1.3a1.607 1.607 0 0 1 2.267 0L14.2 2.867a1.6 1.6 0 0 1 0 2.266l-1.3 1.3m1.766-5.1-1 1m-.333 6.334a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" />\n </g>\n <defs>\n <clipPath id="cf230c9fbe89a2e58d07758cd8433be3_a">\n <path vector-effect="non-scaling-stroke" fill="currentColor" d="M0 0h16v16H0z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});Dt.add(An);const En=new yt({id:"74dd05c5f266368b8b6322f3a7323966",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="74dd05c5f266368b8b6322f3a7323966">\n <path vector-effect="non-scaling-stroke" d="M16.2 21H6.93137C6.32555 21 6.02265 21 5.88238 20.8802C5.76068 20.7763 5.69609 20.6203 5.70865 20.4608C5.72312 20.2769 5.93731 20.0627 6.36569 19.6343L14.8686 11.1314C15.2646 10.7354 15.4627 10.5373 15.691 10.4632C15.8918 10.3979 16.1082 10.3979 16.309 10.4632C16.5373 10.5373 16.7354 10.7354 17.1314 11.1314L21 15V16.2M16.2 21C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2M16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2M10.5 8.5C10.5 9.60457 9.60457 10.5 8.5 10.5C7.39543 10.5 6.5 9.60457 6.5 8.5C6.5 7.39543 7.39543 6.5 8.5 6.5C9.60457 6.5 10.5 7.39543 10.5 8.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(En);const Pn=new yt({id:"59472a73e3c4c5e34794720bd8f10af7",content:'<symbol viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none" id="59472a73e3c4c5e34794720bd8f10af7">\n <path vector-effect="non-scaling-stroke" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1.5" d="M12 3v18M8 3h11l2 2v14l-2 2H5l-2-2V5l2-2h3Z" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Pn);const Ln=new yt({id:"a7ec9c9b2ab84be9a85639d7ee018535",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a7ec9c9b2ab84be9a85639d7ee018535">\n <path vector-effect="non-scaling-stroke" d="M3 9H21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z" stroke="currentColor" stroke-opacity="1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Ln);const jn=new yt({id:"217fc04c9aefedce6159f027086c12b3",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" id="217fc04c9aefedce6159f027086c12b3">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="m14 10 7-7m0 0h-6m6 0v6m-11 5-7 7m0 0h6m-6 0v-6" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(jn);const Nn=new yt({id:"dd12d7a14d7b9ccc775f46c10d72715d",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" id="dd12d7a14d7b9ccc775f46c10d72715d">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M4 14h6m0 0v6m0-6-7 7m17-11h-6m0 0V4m0 6 7-7" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Nn);const Dn=new yt({id:"2cfef4a6ca3bcab80737e78fa35a1e8e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2cfef4a6ca3bcab80737e78fa35a1e8e">\n<path vector-effect="non-scaling-stroke" d="M15 9H15.01M15 15C18.3137 15 21 12.3137 21 9C21 5.68629 18.3137 3 15 3C11.6863 3 9 5.68629 9 9C9 9.27368 9.01832 9.54308 9.05381 9.80704C9.11218 10.2412 9.14136 10.4583 9.12172 10.5956C9.10125 10.7387 9.0752 10.8157 9.00469 10.9419C8.937 11.063 8.81771 11.1823 8.57913 11.4209L3.46863 16.5314C3.29568 16.7043 3.2092 16.7908 3.14736 16.8917C3.09253 16.9812 3.05213 17.0787 3.02763 17.1808C3 17.2959 3 17.4182 3 17.6627V19.4C3 19.9601 3 20.2401 3.10899 20.454C3.20487 20.6422 3.35785 20.7951 3.54601 20.891C3.75992 21 4.03995 21 4.6 21H6.33726C6.58185 21 6.70414 21 6.81923 20.9724C6.92127 20.9479 7.01881 20.9075 7.10828 20.8526C7.2092 20.7908 7.29568 20.7043 7.46863 20.5314L12.5791 15.4209C12.8177 15.1823 12.937 15.063 13.0581 14.9953C13.1843 14.9248 13.2613 14.8987 13.4044 14.8783C13.5417 14.8586 13.7588 14.8878 14.193 14.9462C14.4569 14.9817 14.7263 15 15 15Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Dn);const Fn=new yt({id:"f5f0f4b804a352ab8e0f24140051bbe3",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f5f0f4b804a352ab8e0f24140051bbe3">\n<path vector-effect="non-scaling-stroke" d="M8.99999 12H12M8.99999 12C8.99999 12.3965 9.07692 12.7751 9.21667 13.1216M8.99999 12C8.99999 11.6224 9.06975 11.2611 9.19707 10.9283M15 12H12M15 12C15 11.6224 14.9303 11.2611 14.8029 10.9283M15 12C15 12.3776 14.9303 12.7389 14.8029 13.0717M12 15V12M12 15C11.6219 15 11.2601 14.93 10.9269 14.8024M12 15C12.4299 15 12.8388 14.9096 13.2085 14.7467M12 9V12M12 9C12.4299 9 12.8388 9.09044 13.2085 9.25334M12 9C11.5908 9 11.2008 9.08191 10.8454 9.23022M12 12L9.82377 9.93503M12 12L14.3085 13.916M12 12L9.94168 14.1825M12 12L14.1762 9.93503M12 12L14.8029 10.9283M12 12L9.21667 13.1216M12 12L10.9269 14.8024M12 12L13.2085 9.25334M12 12L14.8029 13.0717M12 12L13.2085 14.7467M12 12L10.8454 9.23022M12 12L9.19707 10.9283M9.82377 9.93503C10.1094 9.63416 10.4567 9.39246 10.8454 9.23022M9.82377 9.93503C9.55415 10.2191 9.33956 10.5559 9.19707 10.9283M14.3085 13.916C14.5165 13.6657 14.6846 13.381 14.8029 13.0717M14.3085 13.916C14.0131 14.2716 13.6371 14.5578 13.2085 14.7467M9.94168 14.1825C9.62921 13.8877 9.38003 13.5266 9.21667 13.1216M9.94168 14.1825C10.224 14.4488 10.5579 14.661 10.9269 14.8024M14.1762 9.93503C14.4458 10.2191 14.6604 10.5559 14.8029 10.9283M14.1762 9.93503C13.9039 9.64814 13.5755 9.41504 13.2085 9.25334M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Fn);const Rn=new yt({id:"b53acf6616bc3217ee53f6fa11e30526",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b53acf6616bc3217ee53f6fa11e30526">\n<path vector-effect="non-scaling-stroke" d="M5.5839 4.7328C6.33209 3.98462 7.17125 3.38527 8.06529 2.9339C7.43285 6.41756 8.46285 10.1468 11.158 12.842C13.8532 15.5372 17.5824 16.5672 21.0661 15.9347C20.6147 16.8288 20.0154 17.6679 19.2672 18.4161C15.4887 22.1946 9.36244 22.1946 5.5839 18.4161C1.80537 14.6376 1.80537 8.51134 5.5839 4.7328Z" stroke="currentColor" stroke-width="1.5" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Rn);const $n=new yt({id:"f6726cf2a294337e9b40efc54b12453b",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f6726cf2a294337e9b40efc54b12453b">\n<path vector-effect="non-scaling-stroke" d="M22 12H20M19.071 19.0711L17.6567 17.6569M4 12H2M6.34292 6.34317L4.92871 4.92896M12 4V2M17.6567 6.34317L19.071 4.92896M12 22V20M4.92871 19.0711L6.34292 17.6569M18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add($n);const Bn=new yt({id:"fcf01aebea5d02da45d4b8d3bac62b58",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fcf01aebea5d02da45d4b8d3bac62b58">\n<path vector-effect="non-scaling-stroke" d="M12 9.5V13.5L14.5 15M12 5C7.30558 5 3.5 8.80558 3.5 13.5C3.5 18.1944 7.30558 22 12 22C16.6944 22 20.5 18.1944 20.5 13.5C20.5 8.80558 16.6944 5 12 5ZM12 5V2M10 2H14M20.329 5.59204L18.829 4.09204L19.579 4.84204M3.67102 5.59204L5.17102 4.09204L4.42102 4.84204" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Bn);const Un=new yt({id:"ef04c87a5207f2ffaf69e06eb3c4633d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 400 400" id="ef04c87a5207f2ffaf69e06eb3c4633d">\n <path fill="#2D4552" d="M136 222c-12 3-21 10-26 16 5-5 12-9 22-12 10-2 18-2 25-1v-6c-6 0-13 0-21 3Zm-27-46-48 12 3 3 40-10s0 7-5 14c9-7 10-19 10-19Zm40 112C82 306 46 228 35 188a227 227 0 0 1-7-45c-4 1-6 2-5 8 0 9 2 23 7 42 11 40 47 118 114 100 15-4 26-11 34-20-7 7-17 12-29 15Zm13-160v5h26l-2-5h-24Z" />\n <path fill="#2D4552" d="M194 168c12 3 18 11 21 19l14 3s-2-25-25-32c-22-6-36 12-37 14 6-4 15-8 27-4Zm105 19c-21-6-35 12-36 14 6-4 15-8 27-5 12 4 18 12 21 19l14 4s-2-26-26-32Zm-13 68-110-31s1 6 6 14l93 26 11-9Zm-76 66c-87-23-77-134-63-187 6-22 12-38 17-49-3 0-5 1-8 6-5 11-12 28-18 52-14 53-25 164 62 188 41 11 73-6 97-32a90 90 0 0 1-87 22Z" />\n <path fill="#E2574C" d="M162 262v-22l-63 18s5-27 37-36c10-3 19-3 26-2v-92h31l-10-24c-4-9-9-3-19 6-8 6-27 19-55 27-29 8-52 6-61 4-14-2-21-5-20 5 0 9 2 23 7 42 11 40 47 118 114 100 18-4 30-14 39-26h-26ZM61 188l48-12s-1 18-19 23-29-11-29-11Z" />\n <path fill="#2EAD33" d="M342 129c-13 2-43 5-79-5-37-10-62-27-71-35-14-12-20-20-26-8-5 11-12 29-19 53-14 53-24 164 63 187s134-78 148-131c6-24 9-42 10-54 1-14-9-10-26-7Zm-176 44s14-22 38-15c23 7 25 32 25 32l-63-17Zm57 96c-41-12-47-45-47-45l110 31s-22 26-63 14Zm39-68s14-21 37-14c24 6 26 32 26 32l-63-18Z" />\n <path fill="#D65348" d="m140 246-41 12s5-26 35-36l-23-86-2 1c-29 8-52 6-61 4-14-2-21-5-20 5 0 9 2 23 7 42 11 40 47 118 114 100h2l-11-42Zm-79-58 48-12s-1 18-19 23-29-11-29-11Z" />\n <path fill="#1D8D22" d="M225 269h-2c-41-12-47-45-47-45l57 16 30-116c-37-10-62-27-71-35-14-12-20-20-26-8-5 11-12 29-19 53-14 53-24 164 63 187l2 1 13-53Zm-59-96s14-22 38-15c23 7 25 32 25 32l-63-17Z" />\n <path fill="#C04B41" d="m142 245-11 4c3 14 7 28 14 40l4-1 9-3c-8-12-13-25-16-40Zm-4-102c-6 21-11 51-10 81l8-2 2-1a273 273 0 0 1 14-103l-8 5-6 20Z" />\n</symbol>',viewBox:"0 0 400 400"});Dt.add(Un);const In=new yt({id:"4af8011a58a597dd8fd8c52187120c54",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 32 32" id="4af8011a58a597dd8fd8c52187120c54">\n <g clip-path="url(#4af8011a58a597dd8fd8c52187120c54_a)">\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_b)" fill-rule="evenodd" d="M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_c)" fill-rule="evenodd" d="M12.4 3.6A3.6 3.6 0 0 1 16 0c4.4 0 8.4 1.8 11.29 4.66a3.6 3.6 0 0 1-5.06 5.13A8.87 8.87 0 0 0 16 7.2a3.6 3.6 0 0 1-3.6-3.6Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_d)" fill-rule="evenodd" d="M0 16A16 16 0 0 1 16 0a3.6 3.6 0 0 1 0 7.2 8.8 8.8 0 0 0-6.21 15.04 3.6 3.6 0 0 1-5.13 5.06A16.08 16.08 0 0 1 0 16Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_e)" fill-rule="evenodd" d="M4.66 22.24a3.6 3.6 0 0 1 5.1-.03 8.87 8.87 0 0 0 6.23 2.59 3.6 3.6 0 0 1 0 7.2c-4.4 0-8.4-1.8-11.3-4.66a3.6 3.6 0 0 1-.03-5.1Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_f)" fill-rule="evenodd" d="M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6A16 16 0 0 1 16 32a3.6 3.6 0 0 1 0-7.2 8.8 8.8 0 0 0 8.8-8.8 3.6 3.6 0 0 1 3.6-3.6Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_g)" fill-rule="evenodd" d="M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6v12.4a3.6 3.6 0 1 1-7.2 0V16a3.6 3.6 0 0 1 3.6-3.6Z" clip-rule="evenodd" />\n <g clip-path="url(#4af8011a58a597dd8fd8c52187120c54_h)">\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_i)" fill-rule="evenodd" d="M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z" clip-rule="evenodd" />\n </g>\n </g>\n <defs>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_b" x1="26.4" x2="28.8" y1="9.6" y2="15.01" gradientUnits="userSpaceOnUse">\n <stop stop-color="#7E22CE" />\n <stop offset="1" stop-color="#8B5CF6" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_c" x1="26.8" x2="17.8" y1="9.4" y2="3.61" gradientUnits="userSpaceOnUse">\n <stop stop-color="#EF4444" />\n <stop offset="1" stop-color="#DC2626" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_d" x1="3.6" x2="5.4" y1="14.01" y2="24.81" gradientUnits="userSpaceOnUse">\n <stop stop-color="#22C55E" />\n <stop offset="1" stop-color="#15803D" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_e" x1="4.8" x2="14.4" y1="22.21" y2="29.21" gradientUnits="userSpaceOnUse">\n <stop stop-color="#94A3B8" />\n <stop offset=".96" stop-color="#64748B" />\n <stop offset="1" stop-color="#64748B" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_f" x1="28.4" x2="22.19" y1="22.18" y2="28.4" gradientUnits="userSpaceOnUse">\n <stop stop-color="#D97706" />\n <stop offset="1" stop-color="#FBBF24" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_g" x1="29.2" x2="30.63" y1="54.43" y2="54.28" gradientUnits="userSpaceOnUse">\n <stop stop-color="#FBBF24" />\n <stop offset="1" stop-color="#FBBF24" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_i" x1="26.4" x2="28.8" y1="9.6" y2="15.01" gradientUnits="userSpaceOnUse">\n <stop stop-color="#7E22CE" />\n <stop offset="1" stop-color="#8B5CF6" />\n </linearGradient>\n <clipPath id="4af8011a58a597dd8fd8c52187120c54_a">\n <path fill="#fff" d="M0 0h32v32H0z" />\n </clipPath>\n <clipPath id="4af8011a58a597dd8fd8c52187120c54_h">\n <path fill="#fff" d="M24.8 12H32v8h-7.2z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 32 32"});Dt.add(In);const zn=new yt({id:"9a80d543f66830af93634ae4d68aa0b7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9a80d543f66830af93634ae4d68aa0b7">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8V12C11 12.5523 11.4477 13 12 13C12.5523 13 13 12.5523 13 12V8ZM12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17H12.01C12.5623 17 13.01 16.5523 13.01 16C13.01 15.4477 12.5623 15 12.01 15H12Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(zn);const Hn=new yt({id:"9fc212651ca048f099abf61155ea3483",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9fc212651ca048f099abf61155ea3483">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM17.2071 9.70711C17.5976 9.31658 17.5976 8.68342 17.2071 8.29289C16.8166 7.90237 16.1834 7.90237 15.7929 8.29289L10.5 13.5858L8.20711 11.2929C7.81658 10.9024 7.18342 10.9024 6.79289 11.2929C6.40237 11.6834 6.40237 12.3166 6.79289 12.7071L9.79289 15.7071C10.1834 16.0976 10.8166 16.0976 11.2071 15.7071L17.2071 9.70711Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Hn);const Vn=new yt({id:"6f69a868093429cca2d18204c014d1de",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6f69a868093429cca2d18204c014d1de">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM10.9066 8.27123C11.3138 8.03191 11.7926 7.94443 12.2581 8.02428C12.7236 8.10413 13.1459 8.34615 13.45 8.70749C13.7542 9.06883 13.9207 9.52615 13.92 9.99847L13.92 9.99996C13.92 10.4691 13.5549 10.9582 12.8653 11.4179C12.5509 11.6275 12.2294 11.7889 11.9826 11.8986C11.8606 11.9529 11.7603 11.9929 11.6929 12.0186C11.663 12.03 11.6329 12.041 11.6027 12.0516C11.0794 12.2267 10.7968 12.7926 10.9713 13.3162C11.146 13.8401 11.7123 14.1233 12.2362 13.9486L12.4049 13.8876C12.5015 13.8508 12.6356 13.7971 12.7949 13.7263C13.1105 13.586 13.5391 13.3724 13.9747 13.082C14.7849 12.5419 15.9195 11.5312 15.92 10.0009C15.9213 9.05644 15.5883 8.14201 14.9801 7.41949C14.3717 6.69682 13.5273 6.21277 12.5962 6.05307C11.6652 5.89337 10.7077 6.06833 9.89327 6.54696C9.07886 7.02559 8.46013 7.77701 8.14666 8.66812C7.96339 9.18911 8.23716 9.76002 8.75815 9.9433C9.27914 10.1266 9.85006 9.85279 10.0333 9.33181C10.1901 8.88625 10.4994 8.51054 10.9066 8.27123ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5522 11.4477 18 12 18H12.01C12.5623 18 13.01 17.5522 13.01 17C13.01 16.4477 12.5623 16 12.01 16H12Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Vn);const Wn=new yt({id:"27eb29a1af650efa3c8f236e96fd49b8",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="27eb29a1af650efa3c8f236e96fd49b8">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H16C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11H8Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Wn);const Yn=new yt({id:"d37b4d7c76a2a7896f3890561ed86f2d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d37b4d7c76a2a7896f3890561ed86f2d">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});Dt.add(Yn);const qn=new yt({id:"eddd9bec4b080bb230775b072a486acc",content:'<symbol viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="eddd9bec4b080bb230775b072a486acc">\n <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.32" stroke-width="1.5" vector-effect="non-scaling-stroke" />\n <path d="M 15 8 A 7 7 0 0 1 8 15" stroke="currentColor" stroke-opacity="1" stroke-width="1.5" class="allure-spinner" vector-effect="non-scaling-stroke" />\n <style>\n #eddd9bec4b080bb230775b072a486acc .allure-spinner {\n transform-origin: center;\n animation: allure-spinner-spin 0.75s infinite ease-in-out;\n }\n\n @keyframes allure-spinner-spin {\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n</symbol>',viewBox:"0 0 16 16"});Dt.add(qn);const Zn=new yt({id:"baef59387353cd7f2939ebd4ddf30155",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="baef59387353cd7f2939ebd4ddf30155">\n<g clip-path="url(#baef59387353cd7f2939ebd4ddf30155_clip0_428_25)">\n<path d="M5.24 22.51L6.67 21.09C5.10422 19.6841 3.87398 17.9447 3.07 16C5.1 10.93 10.7 7 16 7C17.3639 7.018 18.7154 7.26128 20 7.72L21.55 6.16C19.7927 5.41732 17.9077 5.02335 16 5C12.7405 5.12257 9.58839 6.19756 6.9332 8.09209C4.27802 9.98662 2.23616 12.6176 1.06 15.66C0.980569 15.8797 0.980569 16.1203 1.06 16.34C1.94825 18.697 3.38043 20.811 5.24 22.51Z" fill="currentColor" />\n<path d="M12 15.73C12.0695 14.7717 12.4817 13.8705 13.1611 13.1911C13.8405 12.5117 14.7417 12.0995 15.7 12.03L17.51 10.21C16.4958 9.94295 15.4292 9.94642 14.4168 10.2201C13.4043 10.4937 12.4812 11.028 11.7396 11.7696C10.998 12.5112 10.4637 13.4343 10.1901 14.4468C9.91642 15.4592 9.91295 16.5258 10.18 17.54L12 15.73Z" fill="currentColor" />\n<path d="M30.94 15.66C29.7933 12.6732 27.7981 10.087 25.2 8.22L30 3.41L28.59 2L2 28.59L3.41 30L8.51 24.9C10.7839 26.234 13.364 26.9574 16 27C19.2595 26.8774 22.4116 25.8024 25.0668 23.9079C27.722 22.0134 29.7638 19.3824 30.94 16.34C31.0194 16.1203 31.0194 15.8797 30.94 15.66ZM20 16C19.9958 16.7001 19.8079 17.3868 19.4551 17.9916C19.1023 18.5963 18.597 19.0978 17.9896 19.4461C17.3822 19.7943 16.6941 19.977 15.994 19.9759C15.2939 19.9749 14.6063 19.7901 14 19.44L19.44 14C19.7995 14.6057 19.9927 15.2957 20 16ZM16 25C13.9021 24.9634 11.8439 24.4214 10 23.42L12.54 20.88C13.6953 21.6816 15.0955 22.052 16.4961 21.9265C17.8967 21.8009 19.2087 21.1874 20.2031 20.1931C21.1974 19.1987 21.8109 17.8867 21.9365 16.4861C22.062 15.0855 21.6916 13.6853 20.89 12.53L23.76 9.66C26.0546 11.235 27.849 13.4354 28.93 16C26.9 21.07 21.3 25 16 25Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="baef59387353cd7f2939ebd4ddf30155_clip0_428_25">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});Dt.add(Zn);const Gn=new yt({id:"81703ad6b4eb056b5d8424a52fc8c0e8",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="81703ad6b4eb056b5d8424a52fc8c0e8">\n<g clip-path="url(#81703ad6b4eb056b5d8424a52fc8c0e8_clip0_428_24)">\n<path d="M30.94 15.66C29.7638 12.6176 27.722 9.98662 25.0668 8.09209C22.4116 6.19756 19.2595 5.12257 16 5C12.7405 5.12257 9.58839 6.19756 6.9332 8.09209C4.27802 9.98662 2.23616 12.6176 1.06 15.66C0.980569 15.8797 0.980569 16.1203 1.06 16.34C2.23616 19.3824 4.27802 22.0134 6.9332 23.9079C9.58839 25.8024 12.7405 26.8774 16 27C19.2595 26.8774 22.4116 25.8024 25.0668 23.9079C27.722 22.0134 29.7638 19.3824 30.94 16.34C31.0194 16.1203 31.0194 15.8797 30.94 15.66ZM16 25C10.7 25 5.1 21.07 3.07 16C5.1 10.93 10.7 7 16 7C21.3 7 26.9 10.93 28.93 16C26.9 21.07 21.3 25 16 25Z" fill="currentColor" />\n<path d="M16 10C14.8133 10 13.6533 10.3519 12.6666 11.0112C11.6799 11.6705 10.9109 12.6075 10.4567 13.7039C10.0026 14.8003 9.88378 16.0067 10.1153 17.1705C10.3468 18.3344 10.9182 19.4035 11.7574 20.2426C12.5965 21.0818 13.6656 21.6532 14.8295 21.8847C15.9933 22.1162 17.1997 21.9974 18.2961 21.5433C19.3925 21.0892 20.3295 20.3201 20.9888 19.3334C21.6481 18.3467 22 17.1867 22 16C22 14.4087 21.3679 12.8826 20.2426 11.7574C19.1174 10.6321 17.5913 10 16 10ZM16 20C15.2089 20 14.4355 19.7654 13.7777 19.3259C13.1199 18.8864 12.6072 18.2616 12.3045 17.5307C12.0017 16.7998 11.9225 15.9956 12.0769 15.2196C12.2312 14.4437 12.6122 13.731 13.1716 13.1716C13.731 12.6122 14.4437 12.2312 15.2196 12.0769C15.9956 11.9225 16.7998 12.0017 17.5307 12.3045C18.2616 12.6072 18.8864 13.1199 19.3259 13.7777C19.7654 14.4355 20 15.2089 20 16C20 17.0609 19.5786 18.0783 18.8284 18.8284C18.0783 19.5786 17.0609 20 16 20Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="81703ad6b4eb056b5d8424a52fc8c0e8_clip0_428_24">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});Dt.add(Gn);var Xn={icon:"styles_icon__peopu","size-xs":"styles_size-xs__jr71y","size-s":"styles_size-s__nGH-V","size-m":"styles_size-m__INBNd",inline:"styles_inline__BmJqE"};const Kn={arrowsChevronDown:zt.id,environment:Vt.id,github:Wt.id,draggable:Ht.id,lineAlertsAlertCircle:Yt.id,lineAlertsNotificationBox:qt.id,lineArrowsChevronDown:Gt.id,lineArrowsChevronDownDouble:Zt.id,lineArrowsChevronRight:Xt.id,lineArrowsChevronUp:Qt.id,lineArrowsChevronUpDouble:Kt.id,lineArrowsCornerDownRight:Jt.id,lineArrowsExpand3:en.id,lineArrowsRefreshCcw1:tn.id,lineArrowsSortLineAsc:nn.id,lineArrowsSortLineDesc:rn.id,lineArrowsSwitchVertical1:on.id,lineChartsBarChartSquare:an.id,lineDevBug2:sn.id,lineDevCodeSquare:ln.id,lineDevDataflow3:cn.id,lineFilesClipboardCheck:un.id,lineFilesFile2:fn.id,lineFilesFileAttachment2:dn.id,lineFilesFolder:hn.id,lineGeneralCheck:pn.id,lineGeneralChecklist3:gn.id,lineGeneralCopy3:vn.id,lineGeneralDownloadCloud:mn.id,lineGeneralEqual:bn.id,lineGeneralEye:yn.id,lineGeneralHomeLine:_n.id,lineGeneralLink1:wn.id,lineGeneralLinkExternal:xn.id,lineGeneralSearchMd:kn.id,lineGeneralSettings1:Cn.id,lineGeneralXClose:Mn.id,lineGeneralZap:Sn.id,lineHelpersFlag:Tn.id,lineHelpersPlayCircle:On.id,lineIconBomb2:An.id,lineImagesImage:En.id,lineLayoutsColumn2:Pn.id,lineLayoutsLayoutTop:Ln.id,lineLayoutsMaximize2:jn.id,lineLayoutsMinimize2:Nn.id,lineSecurityKey:Dn.id,lineShapesDotCircle:Fn.id,lineShapesMoon:Rn.id,lineShapesSun:$n.id,lineTimeClockStopwatch:Bn.id,playwrightLogo:Un.id,reportLogo:In.id,solidAlertCircle:zn.id,solidCheckCircle:Hn.id,solidHelpCircle:Vn.id,solidMinusCircle:Wn.id,solidXCircle:Yn.id,spinner:qn.id,view:Gn.id,viewOff:Zn.id},Qn=({id:e,size:t="s",inline:n=!1,className:r="","data-testid":i})=>et("svg",{className:nt(Xn.icon,Xn[`size-${t}`],n&&Xn.inline,r),"data-testid":i,children:et("use",{xlinkHref:`#${e}`})}),Jn=({size:e})=>et(Qn,{role:"progressbar",id:qn.id,size:e}),er=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?et(t,{...a,className:nt(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?et(t,{...a,className:nt(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,tr=({size:e="m",tag:t="span",className:n,children:r,...i})=>et(t,{...i,className:nt(`headings-head-${e}`,n),children:r});var nr={button:"styles_button__dJOMr",fullWidth:"styles_fullWidth__UvMfL",contentIcon:"styles_contentIcon__WG8cP",leadingIcon:"styles_leadingIcon__YCONr",dropdownIcon:"styles_dropdownIcon__QbL-e",buttonIcon:"styles_buttonIcon__jkuyM",size_l:"styles_size_l__qdpXc",size_m:"styles_size_m__YdAJU",size_s:"styles_size_s__ujh2O",icon_size_xs:"styles_icon_size_xs__I8F1x",style_primary:"styles_style_primary__repZw",active:"styles_active__qHBgG",danger:"styles_danger__ifSNz",positive:"styles_positive__NaE-e",style_outline:"styles_style_outline__UDLGz",style_ghost:"styles_style_ghost__XxqyT",style_flat:"styles_style_flat__tgVZ1",style_raised:"styles_style_raised__Pwwft",text:"styles_text__n3hds",pending:"styles_pending__8GUAj",content:"styles_content__pYX6n",spinner:"styles_spinner__anTET"};const rr=e=>{const{text:t,type:n="button",icon:r,iconSize:i="m",onClick:o,isPending:a=!1,size:s="m",style:l="primary",action:c="default",fullWidth:u=!1,isDisabled:f=!1,isIconButton:d=!1,isDropdownButton:h=!1,isActive:p=!1,focusable:g=!0,className:v,...m}=e,b=f||a;return et("button",{...m,tabIndex:g?0:-1,className:nt(nr.button,d&&nr.buttonIcon,nr[`size_${s}`],nr[`icon_size_${i}`],nr[`style_${l}`],"danger"===c&&nr.danger,"positive"===c&&nr.positive,a&&nr.pending,u&&nr.fullWidth,!b&&p&&nr.active,v),disabled:b,onClick:o,type:n,children:et(er,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:nr.content,children:[r&&et(Qn,{size:"s",className:d?nr.contentIcon:nr.leadingIcon,id:r}),!d&&et("span",{className:nr.text,children:t}),h&&et(Qn,{id:Kn.lineArrowsChevronDown,size:"s",className:nr.dropdownIcon}),et("span",{className:nr.spinner,"aria-hidden":!a,children:et(Jn,{})})]})})},ir=e=>et(rr,{...e,isIconButton:!0}),or=e=>et(rr,{...e,isDropdownButton:!0,isActive:e.isExpanded}),ar=Math.min,sr=Math.max,lr={left:"right",right:"left",bottom:"top",top:"bottom"},cr={start:"end",end:"start"};function ur(e,t,n){return sr(e,ar(t,n))}function fr(e,t){return"function"==typeof e?e(t):e}function dr(e){return e.split("-")[0]}function hr(e){return e.split("-")[1]}function pr(e){return"x"===e?"y":"x"}function gr(e){return"y"===e?"height":"width"}function vr(e){return["top","bottom"].includes(dr(e))?"y":"x"}function mr(e){return pr(vr(e))}function br(e){return e.replace(/start|end/g,(e=>cr[e]))}function yr(e){return e.replace(/left|right|bottom|top/g,(e=>lr[e]))}function _r(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 wr(e,t,n){let{reference:r,floating:i}=e;const o=vr(t),a=mr(t),s=gr(a),l=dr(t),c="y"===o,u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(hr(t)){case"start":h[a]-=d*(n&&c?-1:1);break;case"end":h[a]+=d*(n&&c?-1:1)}return h}async function xr(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=fr(t,e),p=function(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}}(h),g=s[d?"floating"===f?"reference":"floating":f],v=_r(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),m="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),y=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},_=_r(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:b,strategy:l}):m);return{top:(v.top-_.top+p.top)/y.y,bottom:(_.bottom-v.bottom+p.bottom)/y.y,left:(v.left-_.left+p.left)/y.x,right:(_.right-v.right+p.right)/y.x}}const kr=Math.min,Cr=Math.max,Mr=Math.round,Sr=Math.floor,Tr=e=>({x:e,y:e});function Or(){return"undefined"!=typeof window}function Ar(e){return Lr(e)?(e.nodeName||"").toLowerCase():"#document"}function Er(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Pr(e){var t;return null==(t=(Lr(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Lr(e){return!!Or()&&(e instanceof Node||e instanceof Er(e).Node)}function jr(e){return!!Or()&&(e instanceof Element||e instanceof Er(e).Element)}function Nr(e){return!!Or()&&(e instanceof HTMLElement||e instanceof Er(e).HTMLElement)}function Dr(e){return!(!Or()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Er(e).ShadowRoot)}function Fr(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=zr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Rr(e){return["table","td","th"].includes(Ar(e))}function $r(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Br(e){const t=Ur(),n=jr(e)?zr(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Ur(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ir(e){return["html","body","#document"].includes(Ar(e))}function zr(e){return Er(e).getComputedStyle(e)}function Hr(e){return jr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Vr(e){if("html"===Ar(e))return e;const t=e.assignedSlot||e.parentNode||Dr(e)&&e.host||Pr(e);return Dr(t)?t.host:t}function Wr(e){const t=Vr(e);return Ir(t)?e.ownerDocument?e.ownerDocument.body:e.body:Nr(t)&&Fr(t)?t:Wr(t)}function Yr(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Wr(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Er(i);if(o){const e=qr(a);return t.concat(a,a.visualViewport||[],Fr(i)?i:[],e&&n?Yr(e):[])}return t.concat(i,Yr(i,[],n))}function qr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Zr(e){const t=zr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Nr(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=Mr(n)!==o||Mr(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Gr(e){return jr(e)?e:e.contextElement}function Xr(e){const t=Gr(e);if(!Nr(t))return Tr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Zr(t);let a=(o?Mr(n.width):n.width)/r,s=(o?Mr(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Kr=Tr(0);function Qr(e){const t=Er(e);return Ur()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Kr}function Jr(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=Gr(e);let a=Tr(1);t&&(r?jr(r)&&(a=Xr(r)):a=Xr(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Er(e))&&t}(o,n,r)?Qr(o):Tr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,f=i.height/a.y;if(o){const e=Er(o),t=r&&jr(r)?Er(r):r;let n=e,i=qr(n);for(;i&&r&&t!==n;){const e=Xr(i),t=i.getBoundingClientRect(),r=zr(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,f*=e.y,l+=o,c+=a,n=Er(i),i=qr(n)}}return _r({width:u,height:f,x:l,y:c})}function ei(e,t){const n=Hr(e).scrollLeft;return t?t.left+n:Jr(Pr(e)).left+n}function ti(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ei(e,r)),y:r.top+t.scrollTop}}function ni(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Er(e),r=Pr(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=Ur();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Pr(e),n=Hr(e),r=e.ownerDocument.body,i=Cr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Cr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+ei(e);const s=-n.scrollTop;return"rtl"===zr(r).direction&&(a+=Cr(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(Pr(e));else if(jr(t))r=function(e,t){const n=Jr(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=Nr(e)?Xr(e):Tr(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=Qr(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return _r(r)}function ri(e,t){const n=Vr(e);return!(n===t||!jr(n)||Ir(n))&&("fixed"===zr(n).position||ri(n,t))}function ii(e,t,n){const r=Nr(t),i=Pr(t),o="fixed"===n,a=Jr(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=Tr(0);if(r||!r&&!o)if(("body"!==Ar(t)||Fr(i))&&(s=Hr(t)),r){const e=Jr(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ei(i));const c=!i||r||o?Tr(0):ti(i,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}function oi(e){return"static"===zr(e).position}function ai(e,t){if(!Nr(e)||"fixed"===zr(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Pr(e)===n&&(n=n.ownerDocument.body),n}function si(e,t){const n=Er(e);if($r(e))return n;if(!Nr(e)){let t=Vr(e);for(;t&&!Ir(t);){if(jr(t)&&!oi(t))return t;t=Vr(t)}return n}let r=ai(e,t);for(;r&&Rr(r)&&oi(r);)r=ai(r,t);return r&&Ir(r)&&oi(r)&&!Br(r)?n:r||function(e){let t=Vr(e);for(;Nr(t)&&!Ir(t);){if(Br(t))return t;if($r(t))return null;t=Vr(t)}return null}(e)||n}const li={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=Pr(r),s=!!t&&$r(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=Tr(1);const u=Tr(0),f=Nr(r);if((f||!f&&!o)&&(("body"!==Ar(r)||Fr(a))&&(l=Hr(r)),Nr(r))){const e=Jr(r);c=Xr(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const d=!a||f||o?Tr(0):ti(a,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+d.x,y:n.y*c.y-l.scrollTop*c.y+u.y+d.y}},getDocumentElement:Pr,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?$r(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Yr(e,[],!1).filter((e=>jr(e)&&"body"!==Ar(e))),i=null;const o="fixed"===zr(e).position;let a=o?Vr(e):e;for(;jr(a)&&!Ir(a);){const t=zr(a),n=Br(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||Fr(a)&&!n&&ri(e,a))?r=r.filter((e=>e!==a)):i=t,a=Vr(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce(((e,n)=>{const r=ni(t,n,i);return e.top=Cr(r.top,e.top),e.right=kr(r.right,e.right),e.bottom=kr(r.bottom,e.bottom),e.left=Cr(r.left,e.left),e}),ni(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:si,getElementRects:async function(e){const t=this.getOffsetParent||si,n=this.getDimensions,r=await n(e.floating);return{reference:ii(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}=Zr(e);return{width:t,height:n}},getScale:Xr,isElement:jr,isRTL:function(e){return"rtl"===zr(e).direction}};function ci(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}const ui=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=dr(n),s=hr(n),l="y"===vr(n),c=["left","top"].includes(a)?-1:1,u=o&&l?-1:1,f=fr(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},fi=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=fr(e,t),c={x:n,y:r},u=await xr(t,l),f=vr(dr(i)),d=pr(f);let h=c[d],p=c[f];if(o){const e="y"===d?"bottom":"right";h=ur(h+u["y"===d?"top":"left"],h,h-u[e])}if(a){const e="y"===f?"bottom":"right";p=ur(p+u["y"===f?"top":"left"],p,p-u[e])}const g=s.fn({...t,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:o,[f]:a}}}}}},di=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...v}=fr(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const m=dr(i),b=vr(s),y=dr(s)===s,_=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=d||(y||!g?[yr(s)]:function(e){const t=yr(e);return[br(e),t,br(t)]}(s)),x="none"!==p;!d&&x&&w.push(...function(e,t,n,r){const i=hr(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}(dr(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(br)))),o}(s,g,p,_));const k=[s,...w],C=await xr(t,v),M=[];let S=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&M.push(C[m]),f){const e=function(e,t,n){void 0===n&&(n=!1);const r=hr(e),i=mr(e),o=gr(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=yr(a)),[a,yr(a)]}(i,a,_);M.push(C[e[0]],C[e[1]])}if(S=[...S,{placement:i,overflows:M}],!M.every((e=>e<=0))){var T,O;const e=((null==(T=o.flip)?void 0:T.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(O=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:O.placement;if(!n)switch(h){case"bestFit":{var A;const e=null==(A=S.filter((e=>{if(x){const t=vr(e.placement);return t===b||"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:A[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},hi=e=>{const{source:t,transformData:n=(e=>e),renderLoader:r=(()=>null),renderError:i=(e=>et("div",{children:e})),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))},pi=()=>et("div",{className:"styles_page-loader__OFuzd",children:et(Jn,{size:"m"})});var gi={menu:"styles_menu__Y2xWi","size-s":"styles_size-s__phegq","size-m":"styles_size-m__FqoGi","size-l":"styles_size-l__ShSlS","size-xl":"styles_size-xl__Mk5k2",menuListItem:"styles_menuListItem__FHex0",section:"styles_section__gV07b",menuItem:"styles_menuItem__mOGZq",interactive:"styles_interactive__VHNnJ",leadingIcon:"styles_leadingIcon__0ikkr",content:"styles_content__XpstT",right:"styles_right__9xwiq",checkmarkIcon:"styles_checkmarkIcon__SnS-7"};const vi=Y(null),mi=e=>{const{children:t,menuTrigger:n,menuTriggerWrapper:r="div",size:i="m",isInitialOpened:o=!1,placement:a="bottom-end"}=e,[s,l]=ue(o),c=de(null),u=de(null);return fe((()=>{const e=e=>{"Escape"===e.key&&s&&l(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[s]),fe((()=>{const e=e=>{s&&c.current&&(c.current.contains(e.target)||l(!1))};return s&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[s]),fe((()=>{const e=()=>{(c.current||u.current)&&((e,t,n)=>{const r=new Map,i={platform:li,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=wr(c,r,l),d=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:o,fn:g}=s[n],{x:v,y:m,data:b,reset:y}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=v?v:u,f=null!=m?m:f,h={...h,[o]:{...h[o],...b}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(d=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:u,y:f}=wr(c,d,l))),n=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})})(u.current,c.current,{placement:a,middleware:[ui(6),di(),fi({padding:5})]}).then((({x:e,y:t})=>{c.current&&Object.assign(c.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":10})}))};return e(),function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Gr(e),u=i||o?[...c?Yr(c):[],...Yr(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const f=c&&s?function(e,t){let n,r=null;const i=Pr(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:f,width:d,height:h}=c;if(s||t(),!d||!h)return;const p={rootMargin:-Sr(f)+"px "+-Sr(i.clientWidth-(u+d))+"px "+-Sr(i.clientHeight-(f+h))+"px "+-Sr(u)+"px",threshold:Cr(0,kr(1,l))||1};let g=!0;function v(t){const r=t[0].intersectionRatio;if(r!==l){if(!g)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||ci(c,e.getBoundingClientRect())||a(),g=!1}try{r=new IntersectionObserver(v,{...p,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(v,p)}r.observe(e)}(!0),o}(c,n):null;let d,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),c&&!l&&p.observe(c),p.observe(t));let g=l?Jr(e):null;return l&&function t(){const r=Jr(e);g&&!ci(g,r)&&n(),g=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(d)}}(u.current,c.current,e)}),[c.current,u.current]),et(vi.Provider,{value:{setIsOpened:l},children:et(M,{children:["function"==typeof n&&et(r,{ref:u,children:n({isOpened:s,onClick:()=>{l(!s)},setIsOpened:l})}),et("div",{ref:c,children:s&&et("aside",{className:nt(gi.menu,gi[`size-${i}`]),children:t})})]})})};mi.Section=e=>{const{children:t,...n}=e;return et("ul",{className:gi.section,...n,children:t})},mi.Item=e=>{const{setIsOpened:t}=(()=>{const e=ge(vi);if(!e)throw new Error("useMenuContext must be used within a Menu");return e})(),{children:n,onClick:r,leadingIcon:i,rightSlot:o,ariaLabel:a,closeMenuOnClick:s=!0,...l}=e,c="function"==typeof r,u="string"==typeof i;return et("li",{className:gi.menuListItem,...l,children:et(er,{"aria-label":a,type:"paragraph",size:"m",tag:c?"button":"div",className:nt(gi.menuItem,c&&gi.interactive),onClick:e=>{c&&s&&(e.stopPropagation(),t(!1)),c&&r?.()},"data-interactive-menu-item":!!c||void 0,children:[u&&et(Qn,{id:i,className:gi.leadingIcon,size:"m"}),et("div",{className:gi.content,children:n}),o&&et("div",{className:gi.right,children:o})]})})},mi.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return et(mi.Item,{...n,rightSlot:t&&et(Qn,{className:gi.checkmarkIcon,id:pn.id})})};const bi={en:{short:"Eng",full:"English",iso:"en-US"},ru:{short:"Ру",full:"Русский",iso:"ru-RU"},pl:{short:"Pl",full:"Polski",iso:"pl-PL"},es:{short:"Es",full:"Español",iso:"es-ES"},pt:{short:"Pt",full:"Português",iso:"pt-PT"},de:{short:"De",full:"Deutsch",iso:"de-DE"},hy:{short:"Hy",full:"Հայերեն",iso:"hy-AM"},az:{short:"Az",full:"Azərbaycan",iso:"az-AZ"},fr:{short:"Fr",full:"Français",iso:"fr-FR"},it:{short:"It",full:"Italiano",iso:"it-IT"},ja:{short:"Ja",full:"日本語",iso:"ja-JP"},he:{short:"He",full:"עברית",iso:"he-IL"},ka:{short:"Ka",full:"ქართული",iso:"ka-GE"},kr:{short:"Kr",full:"한국어",iso:"kr-KR"},nl:{short:"Nl",full:"Nederlands",iso:"nl-NL"},sv:{short:"Sv",full:"Svenska",iso:"sv-SE"},tr:{short:"Tr",full:"Türkçe",iso:"tr-TR"},zh:{short:"Zh",full:"中文",iso:"zh-CN"}};function yi(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function _i(e,t){this.props=e,this.context=t}(_i.prototype=new S).isPureReactComponent=!0,_i.prototype.shouldComponentUpdate=function(e,t){return yi(this.props,e)||yi(this.state,t)};var wi=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),wi&&wi(e)};var xi=o.__e;o.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);xi(e,t,n,r)};var ki=o.unmount;function Ci(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Ci(e,t,n)}))),e}function Mi(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Mi(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Si(){this.__u=0,this.t=null,this.__b=null}function Ti(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Oi(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ki&&ki(e)},(Si.prototype=new S).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=Ti(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Mi(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Si.prototype.componentWillUnmount=function(){this.t=[]},Si.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ci(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&k(M,null,e.fallback);return i&&(i.__u&=-33),[k(M,null,t.__a?null:e.children),i]};var Ai=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(Oi.prototype=new S).__a=function(e){var t=this,n=Ti(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Ai(t,e,r)):i()};n?n(o):o()}},Oi.prototype.render=function(e){this.u=null,this.o=new Map;var t=N(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Oi.prototype.componentDidUpdate=Oi.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ai(e,n,t)}))};var Ei="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Pi=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Li=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ji=/[A-Z0-9]/g,Ni="undefined"!=typeof document,Di=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};S.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(S.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Fi=o.event;function Ri(){}function $i(){return this.cancelBubble}function Bi(){return this.defaultPrevented}o.event=function(e){return Fi&&(e=Fi(e)),e.persist=Ri,e.isPropagationStopped=$i,e.isDefaultPrevented=Bi,e.nativeEvent=e};var Ui={enumerable:!1,configurable:!0,get:function(){return this.class}},Ii=o.vnode;o.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},i=-1===n.indexOf("-");for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||Ni&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var s=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"translate"===s&&"no"===a?a=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?o="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||Di(t.type)?"onfocus"===s?o="onfocusin":"onblur"===s?o="onfocusout":Li.test(o)&&(o=s):s=o="oninput":i&&Pi.test(o)?o=o.replace(ji,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===s&&r[o=s]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=N(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=N(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Ui)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ei,Ii&&Ii(e)};var zi=o.__r;o.__r=function(e){zi&&zi(e),e.__c};var Hi=o.diffed;o.diffed=function(e){Hi&&Hi(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value)};var Vi="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Wi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yi,qi,Zi,Gi={exports:{}},Xi=(Yi||(Yi=1,qi=Gi,Zi=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(o=i.util.objId(t),n[o])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return o=i.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=o[s])}var c=r[e];return r[e]=a,i.languages.DFS(i.languages,(function(t,n){n===c&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,o){o=o||{};var a=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=i.util.type(l);"Object"!==c||o[a(l)]?"Array"!==c||o[a(l)]||(o[a(l)]=!0,e(l,n,s,o)):(o[a(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),a=i.languages[o];i.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var l={element:t,language:o,grammar:a,code:t.textContent};function c(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),r&&r.call(l.element)}if(i.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(r&&r.call(l.element));if(i.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language));else c(i.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new l;return c(i,i.head,e),s(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(e,t,n,r,l,f){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var h=n[d];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(f&&f.cause==d+","+p)return;var g=h[p],v=g.inside,m=!!g.lookbehind,b=!!g.greedy,y=g.alias;if(b&&!g.pattern.global){var _=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,_+"g")}for(var w=g.pattern||g,x=r.next,k=l;x!==t.tail&&!(f&&k>=f.reach);k+=x.value.length,x=x.next){var C=x.value;if(t.length>e.length)return;if(!(C instanceof o)){var M,S=1;if(b){if(!(M=a(w,k,e,m))||M.index>=e.length)break;var T=M.index,O=M.index+M[0].length,A=k;for(A+=x.value.length;T>=A;)A+=(x=x.next).value.length;if(k=A-=x.value.length,x.value instanceof o)continue;for(var E=x;E!==t.tail&&(A<O||"string"==typeof E.value);E=E.next)S++,A+=E.value.length;S--,C=e.slice(k,A),M.index-=k}else if(!(M=a(w,0,C,m)))continue;T=M.index;var P=M[0],L=C.slice(0,T),j=C.slice(T+P.length),N=k+C.length;f&&N>f.reach&&(f.reach=N);var D=x.prev;if(L&&(D=c(t,D,L),k+=L.length),u(t,D,S),x=c(t,D,new o(d,v?i.tokenize(P,v):P,y,P)),j&&c(t,x,j),S>1){var F={cause:d+","+p,reach:N};s(e,t,n,x.prev,k,F),f&&F.reach>f.reach&&(f.reach=F.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),i.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()}),!1),i):i;var f=i.util.currentScript();function d(){i.manual||i.highlightAll()}if(f&&(i.filename=f.src,f.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var h=document.readyState;"loading"===h||"interactive"===h&&f&&f.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}),qi.exports&&(qi.exports=Zi),void 0!==Vi&&(Vi.Prism=Zi),Zi.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Zi.languages.markup.tag.inside["attr-value"].inside.entity=Zi.languages.markup.entity,Zi.languages.markup.doctype.inside["internal-subset"].inside=Zi.languages.markup,Zi.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(Zi.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Zi.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Zi.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Zi.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Zi.languages.markup.tag,"addAttribute",{value:function(e,t){Zi.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Zi.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Zi.languages.html=Zi.languages.markup,Zi.languages.mathml=Zi.languages.markup,Zi.languages.svg=Zi.languages.markup,Zi.languages.xml=Zi.languages.extend("markup",{}),Zi.languages.ssml=Zi.languages.xml,Zi.languages.atom=Zi.languages.xml,Zi.languages.rss=Zi.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Zi),Zi.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Zi.languages.javascript=Zi.languages.extend("clike",{"class-name":[Zi.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Zi.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Zi.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Zi.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Zi.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Zi.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Zi.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Zi.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Zi.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Zi.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Zi.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Zi.languages.markup&&(Zi.languages.markup.tag.addInlined("script","javascript"),Zi.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Zi.languages.js=Zi.languages.javascript,function(){if(void 0!==Zi&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",r="loaded",i="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+n+'"])';Zi.hooks.add("before-highlightall",(function(e){e.selector+=", "+i})),Zi.hooks.add("before-sanity-check",(function(o){var a=o.element;if(a.matches(i)){o.code="",a.setAttribute(t,n);var s=a.appendChild(document.createElement("CODE"));s.textContent="Loading…";var l=a.getAttribute("data-src"),c=o.language;if("none"===c){var u=(/\.(\w+)$/.exec(l)||[,"none"])[1];c=e[u]||u}Zi.util.setLanguage(s,c),Zi.util.setLanguage(a,c);var f=Zi.plugins.autoloader;f&&f.loadLanguages(c),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?t(r.responseText):r.status>=400?n("✖ Error "+r.status+" while fetching file: "+r.statusText):n("✖ Error: File does not exist or is empty"))},r.send(null)}(l,(function(e){a.setAttribute(t,r);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(a.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),o=n[0],l=null==n[1]?i.length:n[1];o<0&&(o+=i.length),o=Math.max(0,Math.min(o-1,i.length)),l<0&&(l+=i.length),l=Math.max(0,Math.min(l,i.length)),e=i.slice(o,l).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(o+1))}s.textContent=e,Zi.highlightElement(s)}),(function(e){a.setAttribute(t,"failed"),s.textContent=e}))}})),Zi.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(i),r=0;t=n[r++];)Zi.highlightElement(t)}};var o=!1;Zi.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),Zi.plugins.fileHighlight.highlight.apply(this,arguments)}}}()),Gi.exports);Wi(Xi);const{solidAlertCircle:Ki,solidCheckCircle:Qi,solidHelpCircle:Ji,solidMinusCircle:eo,solidXCircle:to}=Kn,no=new Set(["failed","broken"]),ro=new Set(["passed"]),io=new Set([...no,...ro]),oo=e=>{const t=new Set(e);return e=>t.has(e.status)};function ao(e){return function(){return e}}oo(ro),oo(no),oo(io);const so=Math.abs,lo=Math.atan2,co=Math.cos,uo=Math.max,fo=Math.min,ho=Math.sin,po=Math.sqrt,go=1e-12,vo=Math.PI,mo=vo/2,bo=2*vo;function yo(e){return e>=1?mo:e<=-1?-mo:Math.asin(e)}const _o=Math.PI,wo=2*_o,xo=1e-6,ko=wo-xo;function Co(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let Mo=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Co:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Co;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,s=n-e,l=r-t,c=o-e,u=a-t,f=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>xo)if(Math.abs(u*s-l*c)>xo&&i){let d=n-o,h=r-a,p=s*s+l*l,g=d*d+h*h,v=Math.sqrt(p),m=Math.sqrt(f),b=i*Math.tan((_o-Math.acos((p+f-g)/(2*v*m)))/2),y=b/m,_=b/v;Math.abs(y-1)>xo&&this._append`L${e+y*c},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*d>c*h)},${this._x1=e+_*s},${this._y1=t+_*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,r,i,o){if(e=+e,t=+t,o=!!o,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),l=e+a,c=t+s,u=1^o,f=o?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>xo||Math.abs(this._y1-c)>xo)&&this._append`L${l},${c}`,n&&(f<0&&(f=f%wo+wo),f>ko?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:f>xo&&this._append`A${n},${n},0,${+(f>=_o)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function So(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Mo(t)}function To(e){return e.innerRadius}function Oo(e){return e.outerRadius}function Ao(e){return e.startAngle}function Eo(e){return e.endAngle}function Po(e){return e&&e.padAngle}function Lo(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/po(s*s+l*l),u=c*l,f=-c*s,d=e+u,h=t+f,p=n+u,g=r+f,v=(d+p)/2,m=(h+g)/2,b=p-d,y=g-h,_=b*b+y*y,w=i-o,x=d*g-p*h,k=(y<0?-1:1)*po(uo(0,w*w*_-x*x)),C=(x*y-b*k)/_,M=(-x*b-y*k)/_,S=(x*y+b*k)/_,T=(-x*b+y*k)/_,O=C-v,A=M-m,E=S-v,P=T-m;return O*O+A*A>E*E+P*P&&(C=S,M=T),{cx:C,cy:M,x01:-u,y01:-f,x11:C*(i/w-1),y11:M*(i/w-1)}}function jo(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function No(e){this._context=e}function Do(e){return new No(e)}function Fo(e){return e[0]}function Ro(e){return e[1]}function $o(e,t){var n=ao(!0),r=null,i=Do,o=null,a=So(s);function s(s){var l,c,u,f=(s=jo(s)).length,d=!1;for(null==r&&(o=i(u=a())),l=0;l<=f;++l)!(l<f&&n(c=s[l],l,s))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+e(c,l,s),+t(c,l,s));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?Fo:ao(e),t="function"==typeof t?t:void 0===t?Ro:ao(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:ao(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:ao(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:ao(!!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 Bo(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function Uo(e){return e}function Io(){}function zo(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 Ho(e){this._context=e}function Vo(e){this._context=e}function Wo(e){this._context=e}function Yo(e,t){this._basis=new Ho(e),this._beta=t}No.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)}}},Ho.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:zo(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:zo(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Vo.prototype={areaStart:Io,areaEnd:Io,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:zo(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Wo.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:zo(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Yo.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],a=e[n]-i,s=t[n]-o,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*a),this._beta*t[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var qo=function e(t){function n(e){return 1===t?new Ho(e):new Yo(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function Zo(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 Go(e,t){this._context=e,this._k=(1-t)/6}Go.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:Zo(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:Zo(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 Xo=function e(t){function n(e){return new Go(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Ko(e,t){this._context=e,this._k=(1-t)/6}Ko.prototype={areaStart:Io,areaEnd:Io,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:Zo(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 Qo=function e(t){function n(e){return new Ko(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Jo(e,t){this._context=e,this._k=(1-t)/6}Jo.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:Zo(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 ea=function e(t){function n(e){return new Jo(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ta(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>go){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>go){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*c+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function na(e,t){this._context=e,this._alpha=t}na.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:ta(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 ra=function e(t){function n(e){return t?new na(e,t):new Go(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function ia(e,t){this._context=e,this._alpha=t}ia.prototype={areaStart:Io,areaEnd:Io,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:ta(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 oa=function e(t){function n(e){return t?new ia(e,t):new Ko(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function aa(e,t){this._context=e,this._alpha=t}aa.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:ta(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 sa=function e(t){function n(e){return t?new aa(e,t):new Jo(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function la(e){this._context=e}function ca(e){return e<0?-1:1}function ua(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(ca(o)+ca(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function fa(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function da(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function ha(e){this._context=e}function pa(e){this._context=new ga(e)}function ga(e){this._context=e}function va(e){this._context=e}function ma(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,a[t]-=n*a[t-1];for(i[r-1]=a[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(a[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 ba(e,t){this._context=e,this._t=t}la.prototype={areaStart:Io,areaEnd:Io,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))}},ha.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:da(this,this._t0,fa(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,da(this,fa(this,n=ua(this,e,t)),n);break;default:da(this,this._t0,n=ua(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(pa.prototype=Object.create(ha.prototype)).point=function(e,t){ha.prototype.point.call(this,t,e)},ga.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)}},va.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=ma(e),i=ma(t),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[a],t[a]);(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)}},ba.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}};const ya=e=>{switch(e){case"passed":return"var(--bg-support-castor)";case"failed":return"var(--bg-support-capella)";case"broken":return"var(--bg-support-atlas)";case"unknown":default:return"var(--bg-support-skat)";case"skipped":return"var(--bg-support-rau)"}},_a=(function(){var e=To,t=Oo,n=ao(0),r=null,i=Ao,o=Eo,a=Po,s=null,l=So(c);function c(){var c,u,f=+e.apply(this,arguments),d=+t.apply(this,arguments),h=i.apply(this,arguments)-mo,p=o.apply(this,arguments)-mo,g=so(p-h),v=p>h;if(s||(s=c=l()),d<f&&(u=d,d=f,f=u),d>go)if(g>bo-go)s.moveTo(d*co(h),d*ho(h)),s.arc(0,0,d,h,p,!v),f>go&&(s.moveTo(f*co(p),f*ho(p)),s.arc(0,0,f,p,h,v));else{var m,b,y=h,_=p,w=h,x=p,k=g,C=g,M=a.apply(this,arguments)/2,S=M>go&&(r?+r.apply(this,arguments):po(f*f+d*d)),T=fo(so(d-f)/2,+n.apply(this,arguments)),O=T,A=T;if(S>go){var E=yo(S/f*ho(M)),P=yo(S/d*ho(M));(k-=2*E)>go?(w+=E*=v?1:-1,x-=E):(k=0,w=x=(h+p)/2),(C-=2*P)>go?(y+=P*=v?1:-1,_-=P):(C=0,y=_=(h+p)/2)}var L=d*co(y),j=d*ho(y),N=f*co(x),D=f*ho(x);if(T>go){var F,R=d*co(_),$=d*ho(_),B=f*co(w),U=f*ho(w);if(g<vo)if(F=function(e,t,n,r,i,o,a,s){var l=n-e,c=r-t,u=a-i,f=s-o,d=f*l-u*c;if(!(d*d<go))return[e+(d=(u*(t-o)-f*(e-i))/d)*l,t+d*c]}(L,j,B,U,R,$,N,D)){var I=L-F[0],z=j-F[1],H=R-F[0],V=$-F[1],W=1/ho(function(e){return e>1?0:e<-1?vo:Math.acos(e)}((I*H+z*V)/(po(I*I+z*z)*po(H*H+V*V)))/2),Y=po(F[0]*F[0]+F[1]*F[1]);O=fo(T,(f-Y)/(W-1)),A=fo(T,(d-Y)/(W+1))}else O=A=0}C>go?A>go?(m=Lo(B,U,L,j,d,A,v),b=Lo(R,$,N,D,d,A,v),s.moveTo(m.cx+m.x01,m.cy+m.y01),A<T?s.arc(m.cx,m.cy,A,lo(m.y01,m.x01),lo(b.y01,b.x01),!v):(s.arc(m.cx,m.cy,A,lo(m.y01,m.x01),lo(m.y11,m.x11),!v),s.arc(0,0,d,lo(m.cy+m.y11,m.cx+m.x11),lo(b.cy+b.y11,b.cx+b.x11),!v),s.arc(b.cx,b.cy,A,lo(b.y11,b.x11),lo(b.y01,b.x01),!v))):(s.moveTo(L,j),s.arc(0,0,d,y,_,!v)):s.moveTo(L,j),f>go&&k>go?O>go?(m=Lo(N,D,R,$,f,-O,v),b=Lo(L,j,B,U,f,-O,v),s.lineTo(m.cx+m.x01,m.cy+m.y01),O<T?s.arc(m.cx,m.cy,O,lo(m.y01,m.x01),lo(b.y01,b.x01),!v):(s.arc(m.cx,m.cy,O,lo(m.y01,m.x01),lo(m.y11,m.x11),!v),s.arc(0,0,f,lo(m.cy+m.y11,m.cx+m.x11),lo(b.cy+b.y11,b.cx+b.x11),v),s.arc(b.cx,b.cy,O,lo(b.y11,b.x11),lo(b.y01,b.x01),!v))):s.arc(0,0,f,x,w,v):s.lineTo(N,D)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-vo/2;return[co(r)*n,ho(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:ao(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:ao(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:ao(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:ao(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:ao(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:ao(+e),c):o},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:ao(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}().innerRadius(40).outerRadius(50).cornerRadius(2).padAngle(.03),function(){var e=Uo,t=Bo,n=null,r=ao(0),i=ao(bo),o=ao(0);function a(a){var s,l,c,u,f,d=(a=jo(a)).length,h=0,p=new Array(d),g=new Array(d),v=+r.apply(this,arguments),m=Math.min(bo,Math.max(-bo,i.apply(this,arguments)-v)),b=Math.min(Math.abs(m)/d,o.apply(this,arguments)),y=b*(m<0?-1:1);for(s=0;s<d;++s)(f=g[p[s]=s]=+e(a[s],s,a))>0&&(h+=f);for(null!=t?p.sort((function(e,n){return t(g[e],g[n])})):null!=n&&p.sort((function(e,t){return n(a[e],a[t])})),s=0,c=h?(m-d*y)/h:0;s<d;++s,v=u)l=p[s],u=v+((f=g[l])>0?f*c:0)+y,g[l]={data:a[l],index:s,value:f,startAngle:v,endAngle:u,padAngle:b};return g}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:ao(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:ao(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:ao(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:ao(+e),a):o},a}().value((e=>e.count)).padAngle(.03).sortValues(((e,t)=>e-t)),({slices:e,percentage:t,className:n})=>et("article",{"aria-label":"Success rate",role:"presentation",className:nt("styles_chart__IzuK6",n),children:[et("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:et("g",{transform:"translate(50, 50)",children:e.map((e=>et("path",{d:e.d,fill:ya(e.status)},e.status)))})}),void 0!==t&&et(tr,{className:"styles_legend__hv86p",size:"s",tag:"b",children:[t,"%"]})]}));var wa,xa,ka,Ca,Ma,Sa={exports:{}};var Ta=Wi((Ma||(Ma=1,Sa.exports=function(){if(Ca)return ka;Ca=1;var e=xa?wa:(xa=1,wa="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,ka=function(){function r(t,n,r,i,o,a){if(a!==e){var s=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 s.name="Invariant Violation",s}}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}}()()),Sa.exports)),Oa=Va(),Aa=e=>Ua(e,Oa),Ea=Va();Aa.write=e=>Ua(e,Ea);var Pa=Va();Aa.onStart=e=>Ua(e,Pa);var La=Va();Aa.onFrame=e=>Ua(e,La);var ja=Va();Aa.onFinish=e=>Ua(e,ja);var Na=[];Aa.setTimeout=(e,t)=>{const n=Aa.now()+t,r=()=>{const e=Na.findIndex((e=>e.cancel==r));~e&&Na.splice(e,1),$a-=~e?1:0},i={time:n,handler:e,cancel:r};return Na.splice(Da(n),0,i),$a+=1,Ia(),i};var Da=e=>~(~Na.findIndex((t=>t.time>e))||~Na.length);Aa.cancel=e=>{Pa.delete(e),La.delete(e),ja.delete(e),Oa.delete(e),Ea.delete(e)},Aa.sync=e=>{Ba=!0,Aa.batchedUpdates(e),Ba=!1},Aa.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Aa.onStart(n)}return r.handler=e,r.cancel=()=>{Pa.delete(n),t=null},r};var Fa="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Aa.use=e=>Fa=e,Aa.now="undefined"!=typeof performance?()=>performance.now():Date.now,Aa.batchedUpdates=e=>e(),Aa.catch=console.error,Aa.frameLoop="always",Aa.advance=()=>{"demand"!==Aa.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Ha()};var Ra=-1,$a=0,Ba=!1;function Ua(e,t){Ba?(t.delete(e),e(0)):(t.add(e),Ia())}function Ia(){Ra<0&&(Ra=0,"demand"!==Aa.frameLoop&&Fa(za))}function za(){~Ra&&(Fa(za),Aa.batchedUpdates(Ha))}function Ha(){const e=Ra;Ra=Aa.now();const t=Da(Ra);t&&(Wa(Na.splice(0,t),(e=>e.handler())),$a-=t),$a?(Pa.flush(),Oa.flush(e?Math.min(64,Ra-e):16.667),La.flush(),Ea.flush(),ja.flush()):Ra=-1}function Va(){let e=new Set,t=e;return{add(n){$a+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>($a-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,$a-=t.size,Wa(t,(t=>t(n)&&e.add(t))),$a+=e.size,t=e)}}}function Wa(e,t){e.forEach((e=>{try{t(e)}catch(e){Aa.catch(e)}}))}var Ya=Object.defineProperty,qa={};function Za(){}((e,t)=>{for(var n in t)Ya(e,n,{get:t[n],enumerable:!0})})(qa,{assign:()=>ls,colors:()=>os,createStringInterpolator:()=>ts,skipAnimation:()=>as,to:()=>ns,willAdvance:()=>ss});var Ga={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 Xa(e,t){if(Ga.arr(e)){if(!Ga.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 Ka=(e,t)=>e.forEach(t);function Qa(e,t,n){if(Ga.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 Ja=e=>Ga.und(e)?[]:Ga.arr(e)?e:[e];function es(e,t){if(e.size){const n=Array.from(e);e.clear(),Ka(n,t)}}var ts,ns,rs=(e,...t)=>es(e,(e=>e(...t))),is=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),os=null,as=!1,ss=Za,ls=e=>{e.to&&(ns=e.to),e.now&&(Aa.now=e.now),void 0!==e.colors&&(os=e.colors),null!=e.skipAnimation&&(as=e.skipAnimation),e.createStringInterpolator&&(ts=e.createStringInterpolator),e.requestAnimationFrame&&Aa.use(e.requestAnimationFrame),e.batchedUpdates&&(Aa.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ss=e.willAdvance),e.frameLoop&&(Aa.frameLoop=e.frameLoop)},cs=new Set,us=[],fs=[],ds=0,hs={get idle(){return!cs.size&&!us.length},start(e){ds>e.priority?(cs.add(e),Aa.onStart(ps)):(gs(e),Aa(ms))},advance:ms,sort(e){if(ds)Aa.onFrame((()=>hs.sort(e)));else{const t=us.indexOf(e);~t&&(us.splice(t,1),vs(e))}},clear(){us=[],cs.clear()}};function ps(){cs.forEach(gs),cs.clear(),Aa(ms)}function gs(e){us.includes(e)||vs(e)}function vs(e){us.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(us,(t=>t.priority>e.priority)),0,e)}function ms(e){const t=fs;for(let n=0;n<us.length;n++){const r=us[n];ds=r.priority,r.idle||(ss(r),r.advance(e),r.idle||t.push(r))}return ds=0,(fs=us).length=0,(us=t).length>0}var bs="[-+]?\\d*\\.?\\d+",ys=bs+"%";function _s(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var ws=new RegExp("rgb"+_s(bs,bs,bs)),xs=new RegExp("rgba"+_s(bs,bs,bs,bs)),ks=new RegExp("hsl"+_s(bs,ys,ys)),Cs=new RegExp("hsla"+_s(bs,ys,ys,bs)),Ms=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ss=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ts=/^#([0-9a-fA-F]{6})$/,Os=/^#([0-9a-fA-F]{8})$/;function As(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 Es(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=As(i,r,e+1/3),a=As(i,r,e),s=As(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Ps(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Ls(e){return(parseFloat(e)%360+360)%360/360}function js(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Ns(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Ds(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Ts.exec(e))?parseInt(t[1]+"ff",16)>>>0:os&&void 0!==os[e]?os[e]:(t=ws.exec(e))?(Ps(t[1])<<24|Ps(t[2])<<16|Ps(t[3])<<8|255)>>>0:(t=xs.exec(e))?(Ps(t[1])<<24|Ps(t[2])<<16|Ps(t[3])<<8|js(t[4]))>>>0:(t=Ms.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Os.exec(e))?parseInt(t[1],16)>>>0:(t=Ss.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ks.exec(e))?(255|Es(Ls(t[1]),Ns(t[2]),Ns(t[3])))>>>0:(t=Cs.exec(e))?(Es(Ls(t[1]),Ns(t[2]),Ns(t[3]))|js(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var Fs=(e,t,n)=>{if(Ga.fun(e))return e;if(Ga.arr(e))return Fs({range:e,output:t,extrapolate:n});if(Ga.str(e.output[0]))return ts(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=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,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t),c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r,c)}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,r.map)}},Rs=1.70158,$s=1.525*Rs,Bs=Rs+1,Us=2*Math.PI/3,Is=2*Math.PI/4.5,zs=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},Hs={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=>Bs*e*e*e-Rs*e*e,easeOutBack:e=>1+Bs*Math.pow(e-1,3)+Rs*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-$s)/2:(Math.pow(2*e-2,2)*(($s+1)*(2*e-2)+$s)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Us),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Us)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Is)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Is)/2+1,easeInBounce:e=>1-zs(1-e),easeOutBounce:zs,easeInOutBounce:e=>e<.5?(1-zs(1-2*e))/2:(1+zs(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,0),1))(0,0,("end"===t?Math.floor(r):Math.ceil(r))/e)}},Vs=Symbol.for("FluidValue.get"),Ws=Symbol.for("FluidValue.observers"),Ys=e=>Boolean(e&&e[Vs]),qs=e=>e&&e[Vs]?e[Vs]():e,Zs=e=>e[Ws]||null;function Gs(e,t){const n=e[Ws];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Xs=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Ks(this,e)}},Ks=(e,t)=>tl(e,Vs,t);function Qs(e,t){if(e[Vs]){let n=e[Ws];n||tl(e,Ws,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Js(e,t){const n=e[Ws];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Ws]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var el,tl=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),nl=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rl=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,il=new RegExp(`(${nl.source})(%|[a-z]+)`,"i"),ol=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,al=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,sl=e=>{const[t,n]=ll(e);if(!t||is())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r?r.trim():n&&n.startsWith("--")?window.getComputedStyle(document.documentElement).getPropertyValue(n)||e:n&&al.test(n)?sl(n):n||e},ll=e=>{const t=al.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},cl=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,ul=e=>{el||(el=os?new RegExp(`(${Object.keys(os).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>qs(e).replace(al,sl).replace(rl,Ds).replace(el,Ds))),n=t.map((e=>e.match(nl).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=>Fs({...e,output:t})));return e=>{const n=!il.test(t[0])&&t.find((e=>il.test(e)))?.replace(nl,"");let r=0;return t[0].replace(nl,(()=>`${i[r++](e)}${n||""}`)).replace(ol,cl)}},fl="react-spring: ",dl=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${fl}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},hl=dl(console.warn),pl=dl(console.warn);function gl(e){return Ga.str(e)&&("#"==e[0]||/\d/.test(e)||!is()&&al.test(e)||e in(os||{}))}var vl=is()?fe:function(e,t){var n=ce(G++,4);!ne.__s&&we(n.__H,t)&&(n.__=e,n.i=t,X.__h.push(n))};function ml(){const e=ue()[1],t=(()=>{const e=de(!1);return vl((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var bl=e=>fe(e,yl),yl=[];function _l(e){const t=de();return fe((()=>{t.current=e})),t.current}var wl=Symbol.for("Animated:node"),xl=e=>e&&e[wl],kl=(e,t)=>{return n=e,r=wl,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Cl=e=>e&&e[wl]&&e[wl].getPayload(),Ml=class{constructor(){kl(this,this)}getPayload(){return this.payload||[]}},Sl=class extends Ml{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,Ga.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Sl(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return Ga.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,Ga.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Tl=class extends Sl{constructor(e){super(0),this._string=null,this._toString=Fs({output:[e,e]})}static create(e){return new Tl(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(Ga.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=Fs({output:[this.getValue(),e]})),this._value=0,super.reset()}},Ol={dependencies:null},Al=class extends Ml{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Qa(this.source,((n,r)=>{var i;(i=n)&&i[wl]===i?t[r]=n.getValue(e):Ys(n)?t[r]=qs(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&Ka(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return Qa(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Ol.dependencies&&Ys(e)&&Ol.dependencies.add(e);const t=Cl(e);t&&Ka(t,(e=>this.add(e)))}},El=class extends Al{constructor(e){super(e)}static create(e){return new El(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(Pl)),!0)}};function Pl(e){return(gl(e)?Tl:Sl).create(e)}function Ll(e){const t=xl(e);return t?t.constructor:Ga.arr(e)?El:gl(e)?Tl:Sl}var jl=(e,t)=>{const n=!Ga.fun(e)||e.prototype&&e.prototype.isReactComponent;return Ae(((r,i)=>{const o=de(null),a=n&&pe((e=>{o.current=function(e,t){return e&&(Ga.fun(e)?e(t):e.current=t),t}(i,e)}),[i]),[s,l]=function(e,t){const n=new Set;return Ol.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new Al(e),Ol.dependencies=null,[e,n]}(r,t),c=ml(),u=()=>{const e=o.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&c()},f=new Nl(u,l),d=de();vl((()=>(d.current=f,Ka(l,(e=>Qs(e,f))),()=>{d.current&&(Ka(d.current.deps,(e=>Js(e,d.current))),Aa.cancel(d.current.update))}))),fe(u,[]),bl((()=>()=>{const e=d.current;Ka(e.deps,(t=>Js(t,e)))}));const h=t.getComponentProps(s.getValue());return k(e,{...h,ref:a})}))},Nl=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Aa.write(this.update)}},Dl=Symbol.for("AnimatedComponent"),Fl=e=>Ga.str(e)?e:e&&Ga.str(e.displayName)?e.displayName:Ga.fun(e)&&e.name||null;function Rl(e,...t){return Ga.fun(e)?e(...t):e}var $l=(e,t)=>!0===e||!!(t&&e&&(Ga.fun(e)?e(t):Ja(e).includes(t))),Bl=(e,t)=>Ga.obj(e)?t&&e[t]:e,Ul=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,Il=e=>e,zl=(e,t=Il)=>{let n=Hl;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);Ga.und(n)||(r[i]=n)}return r},Hl=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Vl={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 Wl(e){const t=function(e){const t={};let n=0;if(Qa(e,((e,r)=>{Vl[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return Qa(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function Yl(e){return e=qs(e),Ga.arr(e)?e.map(Yl):gl(e)?qa.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function ql(e){for(const t in e)return!0;return!1}function Zl(e){return Ga.fun(e)||Ga.arr(e)&&Ga.obj(e[0])}function Gl(e,t){e.ref?.delete(e),t?.delete(e)}function Xl(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var Kl={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}},Ql={...Kl.default,mass:1,damping:1,easing:Hs.linear,clamp:!1},Jl=class{constructor(){this.velocity=0,Object.assign(this,Ql)}};function ec(e,t){if(Ga.und(t.decay)){const n=!Ga.und(t.tension)||!Ga.und(t.friction);!n&&Ga.und(t.frequency)&&Ga.und(t.damping)&&Ga.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var tc=[],nc=class{constructor(){this.changed=!1,this.values=tc,this.toValues=null,this.fromValues=tc,this.config=new Jl,this.immediate=!1}};function rc(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let l,c,u=$l(n.cancel??r?.cancel,t);if(u)h();else{Ga.und(n.pause)||(i.paused=$l(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||$l(e,t)),l=Rl(n.delay||0,t),e?(i.resumeQueue.add(d),o.pause()):(o.resume(),d())}function f(){i.resumeQueue.add(d),i.timeouts.delete(c),c.cancel(),l=c.time-Aa.now()}function d(){l>0&&!qa.skipAnimation?(i.delayed=!0,c=Aa.setTimeout(h,l),i.pauseQueue.add(f),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(f),i.timeouts.delete(c),e<=(i.cancelId||0)&&(u=!0);try{o.start({...n,callId:e,cancel:u},a)}catch(e){s(e)}}}))}var ic=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?sc(e.get()):t.every((e=>e.noop))?oc(e.get()):ac(e.get(),t.every((e=>e.finished))),oc=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ac=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),sc=e=>({value:e,cancelled:!0,finished:!1});function lc(e,t,n,r){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:l}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const c=zl(t,((e,t)=>"onRest"===t?void 0:e));let u,f;const d=new Promise(((e,t)=>(u=e,f=t))),h=e=>{const t=i<=(n.cancelId||0)&&sc(r)||i!==n.asyncId&&ac(r,!1);if(t)throw e.result=t,f(e),e},p=(e,t)=>{const o=new uc,a=new fc;return(async()=>{if(qa.skipAnimation)throw cc(n),a.result=ac(r,!1),f(a),a;h(o);const s=Ga.obj(e)?{...e}:{...t,to:e};s.parentId=i,Qa(c,((e,t)=>{Ga.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return h(o),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let g;if(qa.skipAnimation)return cc(n),ac(r,!1);try{let t;t=Ga.arr(e)?(async e=>{for(const t of e)await p(t)})(e):Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([t.then(u),d]),g=ac(r.get(),!0,!1)}catch(e){if(e instanceof uc)g=e.result;else{if(!(e instanceof fc))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?l:void 0)}return Ga.fun(a)&&Aa.batchedUpdates((()=>{a(g,r,r.item)})),g})():l}function cc(e,t){es(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var uc=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.")}},fc=class extends Error{constructor(){super("SkipAnimationSignal")}},dc=e=>e instanceof pc,hc=1,pc=class extends Xs{constructor(){super(...arguments),this.id=hc++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=xl(this);return e&&e.getValue()}to(...e){return qa.to(this,e)}interpolate(...e){return hl(`${fl}The "interpolate" function is deprecated in v9 (use "to" instead)`),qa.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){Gs(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||hs.sort(this),Gs(this,{type:"priority",parent:this,priority:e})}},gc=Symbol.for("SpringPhase"),vc=e=>(1&e[gc])>0,mc=e=>(2&e[gc])>0,bc=e=>(4&e[gc])>0,yc=(e,t)=>t?e[gc]|=3:e[gc]&=-3,_c=(e,t)=>t?e[gc]|=4:e[gc]&=-5,wc=class extends pc{constructor(e,t){if(super(),this.animation=new nc,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,!Ga.und(e)||!Ga.und(t)){const n=Ga.obj(e)?{...e}:{...t,from:e};Ga.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(mc(this)||this._state.asyncTo)||bc(this)}get goal(){return qs(this.animation.to)}get velocity(){const e=xl(this);return e instanceof Sl?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return vc(this)}get isAnimating(){return mc(this)}get isPaused(){return bc(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,a=Cl(r.to);!a&&Ys(r.to)&&(i=Ja(qs(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==Tl?1:a?a[l].lastPosition:i[l];let u=r.immediate,f=c;if(!u){if(f=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],i=null!=s.v0?s.v0:s.v0=Ga.arr(o.velocity)?o.velocity[l]:o.velocity;let a;const d=o.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(Ga.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);f=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-f)<=d,a=i*r}else{a=null==s.lastVelocity?i:s.lastVelocity;const t=o.restVelocity||d/10,r=o.clamp?0:o.bounce,l=!Ga.und(r),h=n==c?s.v0>0:n<c;let p,g=!1;const v=1,m=Math.ceil(e/v);for(let e=0;e<m&&(p=Math.abs(a)>t,p||(u=Math.abs(c-f)<=d,!u));++e)l&&(g=f==c||f>c==h,g&&(a=-a*r,f=c)),a+=(1e-6*-o.tension*(f-c)+.001*-o.friction*a)/o.mass*v,f+=a*v}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),f=n+o.easing(r)*(c-n),a=(f-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(f)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(f,o.round)&&(n=!0)}));const s=xl(this),l=s.getValue();if(t){const e=qs(r.to);l===e&&!n||o.decay?n&&o.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return Aa.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(mc(this)){const{to:e,config:t}=this.animation;Aa.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 Ga.und(e)?(n=this.queue||[],this.queue=[]):n=[Ga.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>ic(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),cc(this._state,e&&this._lastCallId),Aa.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=Ga.obj(n)?n[t]:n,(null==n||Zl(n))&&(n=void 0),r=Ga.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return vc(this)||(e.reverse&&([n,r]=[r,n]),r=qs(r),Ga.und(r)?xl(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,zl(e,((e,t)=>/^on/.test(t)?Bl(e,n):e))),Oc(this,e,"onProps"),Ac(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 rc(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{bc(this)||(_c(this,!0),rs(o.pauseQueue),Ac(this,"onPause",ac(this,xc(this,this.animation.to)),this))},resume:()=>{bc(this)&&(_c(this,!1),mc(this)&&this._resume(),rs(o.resumeQueue),Ac(this,"onResume",ac(this,xc(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=kc(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(sc(this));const r=!Ga.und(e.to),i=!Ga.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(sc(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:f=c}=e;!i||r||t.default&&!Ga.und(u)||(u=f),t.reverse&&([u,f]=[f,u]);const d=!Xa(f,c);d&&(s.from=f),f=qs(f);const h=!Xa(u,l);h&&this._focus(u);const p=Zl(t.to),{config:g}=s,{decay:v,velocity:m}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(ec(n={...n},t),t={...n,...t}),ec(e,t),Object.assign(e,t);for(const t in Ql)null==e[t]&&(e[t]=Ql[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;Ga.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)}(g,Rl(t.config,o),t.config!==a.config?Rl(a.config,o):void 0);let b=xl(this);if(!b||Ga.und(u))return n(ac(this,!0));const y=Ga.und(t.reset)?i&&!t.default:!Ga.und(f)&&$l(t.reset,o),_=y?f:this.get(),w=Yl(u),x=Ga.num(w)||Ga.arr(w)||gl(w),k=!p&&(!x||$l(a.immediate||t.immediate,o));if(h){const e=Ll(u);if(e!==b.constructor){if(!k)throw Error(`Cannot animate between ${b.constructor.name} and ${e.name}, as the "to" prop suggests`);b=this._set(w)}}const C=b.constructor;let M=Ys(u),S=!1;if(!M){const e=y||!vc(this)&&d;(h||e)&&(S=Xa(Yl(_),w),M=!S),(Xa(s.immediate,k)||k)&&Xa(g.decay,v)&&Xa(g.velocity,m)||(M=!0)}if(S&&mc(this)&&(s.changed&&!y?M=!0:M||this._stop(l)),!p&&((M||Ys(l))&&(s.values=b.getPayload(),s.toValues=Ys(u)?null:C==Tl?[1]:Ja(w)),s.immediate!=k&&(s.immediate=k,k||y||this._set(l)),M)){const{onRest:e}=s;Ka(Tc,(e=>Oc(this,t,e)));const r=ac(this,xc(this,l));rs(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&Aa.batchedUpdates((()=>{s.changed=!y,e?.(r,this),y?Rl(a.onRest,r):s.onStart?.(r,this)}))}y&&this._set(_),p?n(lc(t.to,t,this._state,this)):M?this._start():mc(this)&&!h?this._pendingCalls.add(n):n(oc(_))}_focus(e){const t=this.animation;e!==t.to&&(Zs(this)&&this._detach(),t.to=e,Zs(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Ys(t)&&(Qs(t,this),dc(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Ys(e)&&Js(e,this)}_set(e,t=!0){const n=qs(e);if(!Ga.und(n)){const e=xl(this);if(!e||!Xa(n,e.getValue())){const r=Ll(n);e&&e.constructor==r?e.setValue(n):kl(this,r.create(n)),e&&Aa.batchedUpdates((()=>{this._onChange(n,t)}))}}return xl(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Ac(this,"onStart",ac(this,xc(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Rl(this.animation.onChange,e,this)),Rl(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;xl(this).reset(qs(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),mc(this)||(yc(this,!0),bc(this)||this._resume())}_resume(){qa.skipAnimation?this.finish():hs.start(this)}_stop(e,t){if(mc(this)){yc(this,!1);const n=this.animation;Ka(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Gs(this,{type:"idle",parent:this});const r=t?sc(this.get()):ac(this.get(),xc(this,e??n.to));rs(this._pendingCalls,r),n.changed&&(n.changed=!1,Ac(this,"onRest",r,this))}}};function xc(e,t){const n=Yl(t);return Xa(Yl(e.get()),n)}function kc(e,t=e.loop,n=e.to){const r=Rl(t);if(r){const i=!0!==r&&Wl(r),o=(i||e).reverse,a=!i||i.reset;return Cc({...e,loop:t,default:!1,pause:void 0,to:!o||Zl(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function Cc(e){const{to:t,from:n}=e=Wl(e),r=new Set;return Ga.obj(t)&&Sc(t,r),Ga.obj(n)&&Sc(n,r),e.keys=r.size?Array.from(r):null,e}function Mc(e){const t=Cc(e);return Ga.und(t.default)&&(t.default=zl(t)),t}function Sc(e,t){Qa(e,((e,n)=>null!=e&&t.add(n)))}var Tc=["onStart","onRest","onChange","onPause","onResume"];function Oc(e,t,n){e.animation[n]=t[n]!==Ul(t,n)?Bl(t[n],e.key):void 0}function Ac(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var Ec=["onStart","onChange","onRest"],Pc=1,Lc=class{constructor(e,t){this.id=Pc++,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];Ga.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Cc(e)),this}start(e){let{queue:t}=this;return e?t=Ja(e).map(Cc):this.queue=[],this._flush?this._flush(this,t):(Bc(this,t),jc(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;Ka(Ja(t),(t=>n[t].stop(!!e)))}else cc(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(Ga.und(e))this.start({pause:!0});else{const t=this.springs;Ka(Ja(e),(e=>t[e].pause()))}return this}resume(e){if(Ga.und(e))this.start({pause:!1});else{const t=this.springs;Ka(Ja(e),(e=>t[e].resume()))}return this}each(e){Qa(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,es(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&es(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,es(n,(([e,t])=>{t.value=a,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)}Aa.onFrame(this._onFrame)}};function jc(e,t){return Promise.all(t.map((t=>Nc(e,t)))).then((t=>ic(e,t)))}async function Nc(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:l}=t,c=Ga.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=Ga.arr(i)||Ga.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):Ka(Ec,(n=>{const r=t[n];if(Ga.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})},c&&(c[n]=t[n])}}));const f=e._state;t.pause===!f.paused?(f.paused=t.pause,rs(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),h=!0===t.cancel||!0===Ul(t,"cancel");(u||h&&f.asyncId)&&d.push(rc(++e._lastAsyncId,{props:t,state:f,actions:{pause:Za,resume:Za,start(t,n){h?(cc(f,e._lastAsyncId),n(sc(e))):(t.onRest=s,n(lc(u,t,f,e)))}}})),f.paused&&await new Promise((e=>{f.resumeQueue.add(e)}));const p=ic(e,await Promise.all(d));if(a&&p.finished&&(!n||!p.noop)){const n=kc(t,a,i);if(n)return Bc(e,[n]),Nc(e,n,!0)}return l&&Aa.batchedUpdates((()=>l(p,e,e.item))),p}function Dc(e,t){const n={...e.springs};return t&&Ka(Ja(t),(e=>{Ga.und(e.keys)&&(e=Cc(e)),Ga.obj(e.to)||(e={...e,to:void 0}),$c(n,e,(e=>Rc(e)))})),Fc(e,n),n}function Fc(e,t){Qa(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,Qs(t,e))}))}function Rc(e,t){const n=new wc;return n.key=e,t&&Qs(n,t),n}function $c(e,t,n){t.keys&&Ka(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function Bc(e,t){Ka(t,(t=>{$c(e.springs,t,(t=>Rc(t,e)))}))}var Uc=({children:e,...t})=>{const n=ge(Ic),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=ue((()=>({inputs:t,result:e()}))),r=de(),i=r.current;let o=i;if(o){const n=Boolean(o.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,o.inputs));n||(o={inputs:t,result:e()})}else o=n;return fe((()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)}),[o]),o.result}((()=>({pause:r,immediate:i})),[r,i]);const{Provider:o}=Ic;return k(o,{value:t},e)},Ic=function(e,t){return Object.assign(e,Y({})),e.Provider._context=e,e.Consumer._context=e,e}(Uc);Uc.Provider=Ic.Provider,Uc.Consumer=Ic.Consumer;var zc=()=>{const e=[],t=function(t){pl(`${fl}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 Ka(e,((e,i)=>{if(Ga.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 Ka(e,(e=>e.pause(...arguments))),this},t.resume=function(){return Ka(e,(e=>e.resume(...arguments))),this},t.set=function(t){Ka(e,((e,n)=>{const r=Ga.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return Ka(e,((e,r)=>{if(Ga.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 Ka(e,(e=>e.stop(...arguments))),this},t.update=function(t){return Ka(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return Ga.fun(e)?e(n,t):e};return t._getProps=n,t};function Hc(e,t){const n=Ga.fun(e),[[r],i]=function(e,t,n){const r=Ga.fun(t)&&t;r&&!n&&(n=[]);const i=he((()=>r||3==arguments.length?zc():void 0),[]),o=de(0),a=ml(),s=he((()=>({ctrls:[],queue:[],flush(e,t){const n=Dc(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?jc(e,t):new Promise((r=>{Fc(e,n),s.queue.push((()=>{r(jc(e,t))})),a()}))}})),[]),l=de([...s.ctrls]),c=[],u=_l(e)||0;function f(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new Lc(null,s.flush)),n=r?r(i,e):t[i];n&&(c[i]=Mc(n))}}he((()=>{Ka(l.current.slice(e,u),(e=>{Gl(e,i),e.stop(!0)})),l.current.length=e,f(u,e)}),[e]),he((()=>{f(0,Math.min(u,e))}),n);const d=l.current.map(((e,t)=>Dc(e,c[t]))),h=ge(Uc),p=_l(h),g=h!==p&&ql(h);vl((()=>{o.current++,s.ctrls=l.current;const{queue:e}=s;e.length&&(s.queue=[],Ka(e,(e=>e()))),Ka(l.current,((e,t)=>{i?.add(e),g&&e.start({default:h});const n=c[t];n&&(Xl(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),bl((()=>()=>{Ka(s.ctrls,(e=>e.stop(!0)))}));const v=d.map((e=>({...e})));return i?[v,i]:v}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,i]:r}function Vc(e,t,n){const r=Ga.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:c,ref:u,config:f}=r?r():t,d=he((()=>r||3==arguments.length?zc():void 0),[]),h=Ja(e),p=[],g=de(null),v=i?null:g.current;vl((()=>{g.current=p})),bl((()=>(Ka(p,(e=>{d?.add(e.ctrl),e.ctrl.ref=d})),()=>{Ka(g.current,(e=>{e.expired&&clearTimeout(e.expirationId),Gl(e.ctrl,d),e.ctrl.stop(!0)}))})));const m=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):Wc++}))}return Ga.und(n)?e:Ga.fun(n)?e.map(n):Ja(n)}(h,r?r():t,v),b=i&&g.current||[];vl((()=>Ka(b,(({ctrl:e,item:t,key:n})=>{Gl(e,d),Rl(c,t,n)}))));const y=[];if(v&&Ka(v,((e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=y[t]=m.indexOf(e.key))&&(p[t]=e)})),Ka(h,((e,t)=>{p[t]||(p[t]={key:m[t],item:e,phase:"mount",ctrl:new Lc},p[t].ctrl.item=e)})),y.length){let e=-1;const{leave:n}=r?r():t;Ka(y,((t,r)=>{const i=v[r];~t?(e=p.indexOf(i),p[e]={...i,item:h[t]}):n&&p.splice(++e,0,i)}))}Ga.fun(o)&&p.sort(((e,t)=>o(e.item,t.item)));let _=-a;const w=ml(),x=zl(t),C=new Map,S=de(new Map),T=de(!1);Ka(p,((e,n)=>{const i=e.key,o=e.phase,c=r?r():t;let d,h;const p=Rl(c.delay||0,i);if("mount"==o)d=c.enter,h="enter";else{const e=m.indexOf(i)<0;if("leave"!=o)if(e)d=c.leave,h="leave";else{if(!(d=c.update))return;h="update"}else{if(e)return;d=c.enter,h="enter"}}if(d=Rl(d,e.item,n),d=Ga.obj(d)?Wl(d):{to:d},!d.config){const t=f||x.config;d.config=Rl(t,e.item,n,h)}_+=a;const b={...x,delay:p+_,ref:u,immediate:c.immediate,reset:!1,...d};if("enter"==h&&Ga.und(b.from)){const i=r?r():t,o=Ga.und(i.initial)||v?i.from:i.initial;b.from=Rl(o,e.item,n)}const{onResolve:y}=b;b.onResolve=e=>{Rl(y,e);const t=g.current,n=t.find((e=>e.key===i));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=Rl(s,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(w,r)))}}e&&t.some((e=>e.expired))&&(S.current.delete(n),l&&(T.current=!0),w())}};const k=Dc(e.ctrl,b);"leave"===h&&l?S.current.set(e,{phase:h,springs:k,payload:b}):C.set(e,{phase:h,springs:k,payload:b})}));const O=ge(Uc),A=_l(O),E=O!==A&&ql(O);vl((()=>{E&&Ka(p,(e=>{e.ctrl.start({default:O})}))}),[O]),Ka(C,((e,t)=>{if(S.current.size){const e=p.findIndex((e=>e.key===t.key));p.splice(e,1)}})),vl((()=>{Ka(S.current.size?S.current:C,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,d?.add(r),E&&"enter"==e&&r.start({default:O}),t&&(Xl(r,t.ref),!r.ref&&!d||T.current?(r.start(t),T.current&&(T.current=!1)):r.update(t))}))}),i?void 0:n);const P=e=>k(M,null,p.map(((t,n)=>{const{springs:r}=C.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?k(i.type,{...i.props,key:Ga.str(t.key)||Ga.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i})));return d?[P,d]:P}var Wc=1,Yc=class extends pc{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Fs(...t);const n=this._get(),r=Ll(n);kl(this,r.create(n))}advance(e){const t=this._get();Xa(t,this.get())||(xl(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Zc(this._active)&&Gc(this)}_get(){const e=Ga.arr(this.source)?this.source.map(qs):Ja(qs(this.source));return this.calc(...e)}_start(){this.idle&&!Zc(this._active)&&(this.idle=!1,Ka(Cl(this),(e=>{e.done=!1})),qa.skipAnimation?(Aa.batchedUpdates((()=>this.advance())),Gc(this)):hs.start(this))}_attach(){let e=1;Ka(Ja(this.source),(t=>{Ys(t)&&Qs(t,this),dc(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){Ka(Ja(this.source),(e=>{Ys(e)&&Js(e,this)})),this._active.clear(),Gc(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=Ja(this.source).reduce(((e,t)=>Math.max(e,(dc(t)?t.priority:0)+1)),0))}};function qc(e){return!1!==e.idle}function Zc(e){return!e.size||Array.from(e).every(qc)}function Gc(e){e.idle||(e.idle=!0,Ka(Cl(e),(e=>{e.done=!0})),Gs(e,{type:"idle",parent:e}))}qa.assign({createStringInterpolator:ul,to:(e,t)=>new Yc(e,t)});var Xc=/^--/;function Kc(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Xc.test(e)||Jc.hasOwnProperty(e)&&Jc[e]?(""+t).trim():t+"px"}var Qc={},Jc={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},eu=["Webkit","Ms","Moz","O"];Jc=Object.keys(Jc).reduce(((e,t)=>(eu.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),Jc);var tu=/^(matrix|translate|scale|rotate|skew)/,nu=/^(translate)/,ru=/^(rotate|skew)/,iu=(e,t)=>Ga.num(e)&&0!==e?e+t:e,ou=(e,t)=>Ga.arr(e)?e.every((e=>ou(e,t))):Ga.num(e)?e===t:parseFloat(e)===t,au=class extends Al{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=>iu(e,"px"))).join(",")})`,ou(e,0)]))),Qa(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(tu.test(t)){if(delete r[t],Ga.und(e))return;const n=nu.test(t)?"px":ru.test(t)?"deg":"";i.push(Ja(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${iu(i,n)})`,ou(i,0)]:e=>[`${t}(${e.map((e=>iu(e,n))).join(",")})`,ou(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new su(i,o)),super(r)}},su=class extends Xs{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 Ka(this.inputs,((n,r)=>{const i=qs(n[0]),[o,a]=this.transforms[r](Ga.arr(i)?i:n.map(qs));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&Ka(this.inputs,(e=>Ka(e,(e=>Ys(e)&&Qs(e,this)))))}observerRemoved(e){0==e&&Ka(this.inputs,(e=>Ka(e,(e=>Ys(e)&&Js(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Gs(this,e)}};qa.assign({batchedUpdates:function(e,t){return e(t)},createStringInterpolator:ul,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 lu=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new Al(e)),getComponentProps:r=(e=>e)}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=Fl(e)||"Anonymous";return(e=Ga.str(e)?o[e]||(o[e]=jl(e,i)):e[Dl]||(e[Dl]=jl(e,i))).displayName=`Animated(${t})`,e};return Qa(e,((t,n)=>{Ga.arr(e)&&(n=Fl(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:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),f=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:Qc[t]||(Qc[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=Kc(t,i[t]);Xc.test(t)?e.style.setProperty(t,n):e.style[t]=n}f.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new au(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),cu=lu.animated;function uu(){return uu=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},uu.apply(this,arguments)}var fu={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},du=function(e,t){return"translate("+e+"px, "+t+"px)"},hu=Se((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=bS(),a=iS(),s=a.animate,l=a.config,c=hS(),u=c[0],f=c[1],d=de(!1),h=void 0,p=!1,g=f.width>0&&f.height>0,v=Math.round(n[0]),m=Math.round(n[1]);g&&("top"===r?(v-=f.width/2,m-=f.height+14):"right"===r?(v+=14,m-=f.height/2):"bottom"===r?(v-=f.width/2,m+=14):"left"===r?(v-=f.width+14,m-=f.height/2):"center"===r&&(v-=f.width/2,m-=f.height/2),h={transform:du(v,m)},d.current||(p=!0),d.current=[v,m]);var b=Hc({to:h,config:l,immediate:!s||p}),y=uu({},fu,o.tooltip.wrapper,{transform:null!=(t=b.transform)?t:du(v,m),opacity:b.transform?1:0});return et(cu.div,{ref:u,style:y,children:i})}));hu.displayName="TooltipWrapper";var pu=Se((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return et("span",{style:uu({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),gu=Se((function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=void 0!==o&&o,s=e.color,l=e.renderContent,c=bS(),u=pS(i);if("function"==typeof l)t=l();else{var f=r;void 0!==u&&void 0!==f&&(f=u(f)),t=et("div",{style:c.tooltip.basic,children:[a&&et(pu,{color:s,style:c.tooltip.chip}),void 0!==f?et("span",{children:[n,": ",et("strong",{children:""+f})]}):n]})}return et("div",{style:c.tooltip.container,children:t})})),vu={width:"100%",borderCollapse:"collapse"},mu=Se((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=bS();return i.length?(t="function"==typeof o?o():et("div",{children:[n&&n,et("table",{style:uu({},vu,a.tooltip.table),children:et("tbody",{children:i.map((function(e,t){return et("tr",{children:e.map((function(e,t){return et("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),et("div",{style:a.tooltip.container,children:t})):null}));mu.displayName="TableTooltip";var bu=Se((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=bS(),a=iS(),s=a.animate,l=a.config,c=he((function(){return uu({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=Hc({x1:t,x2:n,y1:r,y2:i,config:l,immediate:!s});return et(cu.line,uu({},u,{fill:"none",style:c}))}));bu.displayName="CrosshairLine";var yu=Se((function(e){var t,n,r=e.width,i=e.height,o=e.type,a=e.x,s=e.y;return"cross"===o?(t={x0:a,x1:a,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):"top-left"===o?(t={x0:a,x1:a,y0:0,y1:s},n={x0:0,x1:a,y0:s,y1:s}):"top"===o?t={x0:a,x1:a,y0:0,y1:s}:"top-right"===o?(t={x0:a,x1:a,y0:0,y1:s},n={x0:a,x1:r,y0:s,y1:s}):"right"===o?n={x0:a,x1:r,y0:s,y1:s}:"bottom-right"===o?(t={x0:a,x1:a,y0:s,y1:i},n={x0:a,x1:r,y0:s,y1:s}):"bottom"===o?t={x0:a,x1:a,y0:s,y1:i}:"bottom-left"===o?(t={x0:a,x1:a,y0:s,y1:i},n={x0:0,x1:a,y0:s,y1:s}):"left"===o?n={x0:0,x1:a,y0:s,y1:s}:"x"===o?t={x0:a,x1:a,y0:0,y1:i}:"y"===o&&(n={x0:0,x1:r,y0:s,y1:s}),et(M,{children:[t&&et(bu,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&et(bu,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}));yu.displayName="Crosshair";var _u,wu,xu,ku,Cu,Mu,Su,Tu,Ou,Au,Eu,Pu,Lu,ju,Nu,Du,Fu,Ru,$u,Bu,Uu,Iu,zu,Hu,Vu,Wu,Yu,qu,Zu,Gu,Xu,Ku,Qu,Ju,ef,tf,nf,rf,of,af,sf,lf,cf,uf,ff,df,hf,pf,gf,vf,mf,bf,yf,_f,wf,xf,kf,Cf,Mf,Sf,Tf,Of,Af,Ef,Pf,Lf,jf,Nf,Df,Ff,Rf,$f,Bf,Uf,If,zf,Hf,Vf,Wf,Yf,qf,Zf,Gf,Xf,Kf,Qf,Jf,ed,td,nd,rd,id,od,ad,sd,ld,cd,ud,fd=Y({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),dd={isVisible:!1,position:[null,null],content:null,anchor:null},hd=Y(dd),pd=function(){var e=ge(fd);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},gd=function(){var e=function(){var e=ge(hd);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?et(hu,{position:e.position,anchor:e.anchor,children:e.content}):null},vd=function(e){var t=e.container,n=e.children,r=function(e){var t=ue(dd),n=t[0],r=t[1],i=pe((function(e,t,n){var i=t[0],o=t[1];void 0===n&&(n="top"),r({isVisible:!0,position:[i,o],anchor:n,content:e})}),[r]),o=pe((function(t,n,i){void 0===i&&(i="top");var o=e.current.getBoundingClientRect(),a=e.current.offsetWidth,s=a===o.width?1:a/o.width,l="touches"in n?n.touches[0]:n,c=l.clientX,u=l.clientY,f=(c-o.left)*s,d=(u-o.top)*s;"left"!==i&&"right"!==i||(i=f<o.width/2?"right":"left"),r({isVisible:!0,position:[f,d],anchor:i,content:t})}),[e,r]),a=pe((function(){r(dd)}),[r]);return{actions:he((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return et(fd.Provider,{value:i,children:et(hd.Provider,{value:o,children:n})})};function md(){return ku?xu:(ku=1,xu=function(e,t){return e===t||e!=e&&t!=t})}function bd(){if(Mu)return Cu;Mu=1;var e=md();return Cu=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},Cu}function yd(){if(Du)return Nu;Du=1;var e=wu?_u:(wu=1,_u=function(){this.__data__=[],this.size=0}),t=function(){if(Tu)return Su;Tu=1;var e=bd(),t=Array.prototype.splice;return Su=function(n){var r=this.__data__,i=e(r,n);return!(i<0||(i==r.length-1?r.pop():t.call(r,i,1),--this.size,0))},Su}(),n=function(){if(Au)return Ou;Au=1;var e=bd();return Ou=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},Ou}(),r=function(){if(Pu)return Eu;Pu=1;var e=bd();return Eu=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(ju)return Lu;ju=1;var e=bd();return Lu=function(t,n){var r=this.__data__,i=e(r,t);return i<0?(++this.size,r.push([t,n])):r[i][1]=n,this},Lu}();function o(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])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Nu=o}function _d(){if(Wu)return Vu;Wu=1;var e="object"==typeof Vi&&Vi&&Vi.Object===Object&&Vi;return Vu=e}function wd(){if(qu)return Yu;qu=1;var e=_d(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Yu=n}function xd(){if(Gu)return Zu;Gu=1;var e=wd().Symbol;return Zu=e}function kd(){if(tf)return ef;tf=1;var e=xd(),t=function(){if(Ku)return Xu;Ku=1;var e=xd(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return Xu=function(e){var t=n.call(e,i),o=e[i];try{e[i]=void 0;var a=!0}catch(e){}var s=r.call(e);return a&&(t?e[i]=o:delete e[i]),s}}(),n=function(){if(Ju)return Qu;Ju=1;var e=Object.prototype.toString;return Qu=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return ef=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function Cd(){return rf?nf:(rf=1,nf=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)})}function Md(){if(af)return of;af=1;var e=kd(),t=Cd();return of=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function Sd(){if(df)return ff;df=1;var e=Function.prototype.toString;return ff=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function Td(){if(bf)return mf;bf=1;var e=function(){if(pf)return hf;pf=1;var e=Md(),t=function(){if(uf)return cf;uf=1;var e,t=function(){if(lf)return sf;lf=1;var e=wd()["__core-js_shared__"];return sf=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return cf=function(e){return!!n&&n in e}}(),n=Cd(),r=Sd(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,l=a.hasOwnProperty,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return hf=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}(),t=(vf||(vf=1,gf=function(e,t){return null==e?void 0:e[t]}),gf);return mf=function(n,r){var i=t(n,r);return e(i)?i:void 0},mf}function Od(){if(_f)return yf;_f=1;var e=Td()(wd(),"Map");return yf=e}function Ad(){if(xf)return wf;xf=1;var e=Td()(Object,"create");return wf=e}function Ed(){if(Uf)return Bf;Uf=1;var e=$f?Rf:($f=1,Rf=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return Bf=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},Bf}function Pd(){if(Xf)return Gf;Xf=1;var e=function(){if(Ff)return Df;Ff=1;var e=function(){if(Nf)return jf;Nf=1;var e=function(){if(Cf)return kf;Cf=1;var e=Ad();return kf=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Sf?Mf:(Sf=1,Mf=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Of)return Tf;Of=1;var e=Ad(),t=Object.prototype.hasOwnProperty;return Tf=function(n){var r=this.__data__;if(e){var i=r[n];return"__lodash_hash_undefined__"===i?void 0:i}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(Ef)return Af;Ef=1;var e=Ad(),t=Object.prototype.hasOwnProperty;return Af=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(Lf)return Pf;Lf=1;var e=Ad();return Pf=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function o(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])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,jf=o}(),t=yd(),n=Od();return Df=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(zf)return If;zf=1;var e=Ed();return If=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(Vf)return Hf;Vf=1;var e=Ed();return Hf=function(t){return e(this,t).get(t)}}(),r=function(){if(Yf)return Wf;Yf=1;var e=Ed();return Wf=function(t){return e(this,t).has(t)}}(),i=function(){if(Zf)return qf;Zf=1;var e=Ed();return qf=function(t,n){var r=e(this,t),i=r.size;return r.set(t,n),this.size+=r.size==i?0:1,this}}();function o(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])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Gf=o}function Ld(){if(ed)return Jf;ed=1;var e=yd(),t=function(){if(Ru)return Fu;Ru=1;var e=yd();return Fu=function(){this.__data__=new e,this.size=0}}(),n=Bu?$u:(Bu=1,$u=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=Iu?Uu:(Iu=1,Uu=function(e){return this.__data__.get(e)}),i=Hu?zu:(Hu=1,zu=function(e){return this.__data__.has(e)}),o=function(){if(Qf)return Kf;Qf=1;var e=yd(),t=Od(),n=Pd();return Kf=function(r,i){var o=this.__data__;if(o instanceof e){var a=o.__data__;if(!t||a.length<199)return a.push([r,i]),this.size=++o.size,this;o=this.__data__=new n(a)}return o.set(r,i),this.size=o.size,this}}();function a(t){var n=this.__data__=new e(t);this.size=n.size}return a.prototype.clear=t,a.prototype.delete=n,a.prototype.get=r,a.prototype.has=i,a.prototype.set=o,Jf=a}function jd(){if(nd)return td;nd=1;var e=Td(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return td=t}function Nd(){if(id)return rd;id=1;var e=jd();return rd=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},rd}function Dd(){if(ad)return od;ad=1;var e=Nd(),t=md();return od=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},od}function Fd(){if(ud)return cd;ud=1;var e=(ld||(ld=1,sd=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}),sd),t=e();return cd=t}var Rd,$d,Bd,Ud,Id,zd,Hd,Vd,Wd,Yd,qd,Zd,Gd,Xd,Kd,Qd,Jd,eh,th,nh,rh,ih,oh,ah,sh,lh,ch,uh,fh,dh,hh,ph,gh,vh={exports:{}};function mh(){if(Bd)return $d;Bd=1;var e=wd().Uint8Array;return $d=e}function bh(){return Gd?Zd:(Gd=1,Zd=function(e,t){return function(n){return e(t(n))}})}function yh(){if(Kd)return Xd;Kd=1;var e=bh()(Object.getPrototypeOf,Object);return Xd=e}function _h(){if(Jd)return Qd;Jd=1;var e=Object.prototype;return Qd=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function wh(){return rh?nh:(rh=1,nh=function(e){return null!=e&&"object"==typeof e})}function xh(){if(sh)return ah;sh=1;var e=function(){if(oh)return ih;oh=1;var e=kd(),t=wh();return ih=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=wh(),n=Object.prototype,r=n.hasOwnProperty,i=n.propertyIsEnumerable,o=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!i.call(e,"callee")};return ah=o}function kh(){if(ch)return lh;ch=1;var e=Array.isArray;return lh=e}function Ch(){return fh?uh:(fh=1,uh=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991})}function Mh(){if(hh)return dh;hh=1;var e=Md(),t=Ch();return dh=function(n){return null!=n&&t(n.length)&&!e(n)}}function Sh(){if(gh)return ph;gh=1;var e=Mh(),t=wh();return ph=function(n){return t(n)&&e(n)}}var Th,Oh,Ah,Eh,Ph,Lh,jh,Nh,Dh,Fh={exports:{}};function Rh(){return Ah||(Ah=1,function(e,t){var n=wd(),r=Oh?Th:(Oh=1,Th=function(){return!1}),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;e.exports=s}(Fh,Fh.exports)),Fh.exports}function $h(){if(Ph)return Eh;Ph=1;var e=kd(),t=yh(),n=wh(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return Eh=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var l=a.call(i,"constructor")&&i.constructor;return"function"==typeof l&&l instanceof l&&o.call(l)==s}}function Bh(){return Dh?Nh:(Dh=1,Nh=function(e){return function(t){return e(t)}})}var Uh,Ih,zh,Hh,Vh,Wh,Yh,qh,Zh,Gh,Xh,Kh,Qh,Jh,ep,tp,np,rp,ip,op,ap,sp,lp,cp,up,fp,dp,hp,pp,gp,vp,mp,bp,yp,_p,wp,xp,kp,Cp,Mp,Sp,Tp,Op,Ap,Ep,Pp,Lp,jp,Np,Dp={exports:{}};function Fp(){return Uh||(Uh=1,function(e,t){var n=_d(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{return i&&i.require&&i.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(Dp,Dp.exports)),Dp.exports}function Rp(){if(zh)return Ih;zh=1;var e=function(){if(jh)return Lh;jh=1;var e=kd(),t=Ch(),n=wh(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,Lh=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=Bh(),n=Fp(),r=n&&n.isTypedArray,i=r?t(r):e;return Ih=i}function $p(){return Vh||(Vh=1,Hh=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}),Hh}function Bp(){if(Yh)return Wh;Yh=1;var e=Nd(),t=md(),n=Object.prototype.hasOwnProperty;return Wh=function(r,i,o){var a=r[i];n.call(r,i)&&t(a,o)&&(void 0!==o||i in r)||e(r,i,o)},Wh}function Up(){if(Qh)return Kh;Qh=1;var e=/^(?:0|[1-9]\d*)$/;return Kh=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function Ip(){if(ep)return Jh;ep=1;var e=(Xh||(Xh=1,Gh=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),Gh),t=xh(),n=kh(),r=Rh(),i=Up(),o=Rp(),a=Object.prototype.hasOwnProperty;return Jh=function(s,l){var c=n(s),u=!c&&t(s),f=!c&&!u&&r(s),d=!c&&!u&&!f&&o(s),h=c||u||f||d,p=h?e(s.length,String):[],g=p.length;for(var v in s)!l&&!a.call(s,v)||h&&("length"==v||f&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||i(v,g))||p.push(v);return p}}function zp(){if(ap)return op;ap=1;var e=Ip(),t=function(){if(ip)return rp;ip=1;var e=Cd(),t=_h(),n=(np||(np=1,tp=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),tp),r=Object.prototype.hasOwnProperty;return rp=function(i){if(!e(i))return n(i);var o=t(i),a=[];for(var s in i)("constructor"!=s||!o&&r.call(i,s))&&a.push(s);return a},rp}(),n=Mh();return op=function(r){return n(r)?e(r,!0):t(r)}}function Hp(){return pp?hp:(pp=1,hp=function(e){return e})}function Vp(){if(bp)return mp;bp=1;var e=vp?gp:(vp=1,gp=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)}),t=Math.max;return mp=function(n,r,i){return r=t(void 0===r?n.length-1:r,0),function(){for(var o=arguments,a=-1,s=t(o.length-r,0),l=Array(s);++a<s;)l[a]=o[r+a];a=-1;for(var c=Array(r+1);++a<r;)c[a]=o[a];return c[r]=i(l),e(n,this,c)}},mp}function Wp(){if(Sp)return Mp;Sp=1;var e=function(){if(xp)return wp;xp=1;var e=_p?yp:(_p=1,yp=function(e){return function(){return e}}),t=jd(),n=Hp();return wp=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}(),t=function(){if(Cp)return kp;Cp=1;var e=Date.now;return kp=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},kp}(),n=t(e);return Mp=n}function Yp(){if(Op)return Tp;Op=1;var e=Hp(),t=Vp(),n=Wp();return Tp=function(r,i){return n(t(r,i,e),r+"")},Tp}function qp(){if(Ep)return Ap;Ep=1;var e=md(),t=Mh(),n=Up(),r=Cd();return Ap=function(i,o,a){if(!r(a))return!1;var s=typeof o;return!!("number"==s?t(a)&&n(o,a.length):"string"==s&&o in a)&&e(a[o],i)},Ap}var Zp,Gp,Xp,Kp,Qp,Jp,eg,tg,ng,rg,ig,og,ag,sg,lg,cg,ug,fg,dg,hg,pg,gg,vg,mg,bg=function(){if(Np)return jp;Np=1;var e=function(){if(dp)return fp;dp=1;var e=Ld(),t=Dd(),n=Fd(),r=function(){if(up)return cp;up=1;var e=Dd(),t=(Rd||(Rd=1,function(e,t){var n=wd(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r?n.Buffer:void 0,a=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}}(vh,vh.exports)),vh.exports),n=function(){if(Hd)return zd;Hd=1;var e=function(){if(Id)return Ud;Id=1;var e=mh();return Ud=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}();return zd=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}(),r=(Wd||(Wd=1,Vd=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),Vd),i=function(){if(th)return eh;th=1;var e=function(){if(qd)return Yd;qd=1;var e=Cd(),t=Object.create,n=function(){function n(){}return function(r){if(!e(r))return{};if(t)return t(r);n.prototype=r;var i=new n;return n.prototype=void 0,i}}();return Yd=n}(),t=yh(),n=_h();return eh=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))}}(),o=xh(),a=kh(),s=Sh(),l=Rh(),c=Md(),u=Cd(),f=$h(),d=Rp(),h=$p(),p=function(){if(lp)return sp;lp=1;var e=function(){if(Zh)return qh;Zh=1;var e=Bp(),t=Nd();return qh=function(n,r,i,o){var a=!i;i||(i={});for(var s=-1,l=r.length;++s<l;){var c=r[s],u=o?o(i[c],n[c],c,i,n):void 0;void 0===u&&(u=n[c]),a?t(i,c,u):e(i,c,u)}return i},qh}(),t=zp();return sp=function(n){return e(n,t(n))}}();return cp=function(g,v,m,b,y,_,w){var x=h(g,m),k=h(v,m),C=w.get(k);if(C)e(g,m,C);else{var M=_?_(x,k,m+"",g,v,w):void 0,S=void 0===M;if(S){var T=a(k),O=!T&&l(k),A=!T&&!O&&d(k);M=k,T||O||A?a(x)?M=x:s(x)?M=r(x):O?(S=!1,M=t(k,!0)):A?(S=!1,M=n(k,!0)):M=[]:f(k)||o(k)?(M=x,o(x)?M=p(x):u(x)&&!c(x)||(M=i(k))):S=!1}S&&(w.set(k,M),y(M,k,b,_,w),w.delete(k)),e(g,m,M)}},cp}(),i=Cd(),o=zp(),a=$p();return fp=function s(l,c,u,f,d){l!==c&&n(c,(function(n,o){if(d||(d=new e),i(n))r(l,c,o,u,s,f,d);else{var h=f?f(a(l,o),n,o+"",l,c,d):void 0;void 0===h&&(h=n),t(l,o,h)}}),o)},fp}(),t=function(){if(Lp)return Pp;Lp=1;var e=Yp(),t=qp();return Pp=function(n){return e((function(e,r){var i=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=n.length>3&&"function"==typeof a?(o--,a):void 0,s&&t(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++i<o;){var l=r[i];l&&n(e,l,i,a)}return e}))},Pp}(),n=t((function(t,n,r){e(t,n,r)}));return jp=n}(),yg=Wi(bg);function _g(){if(Gp)return Zp;Gp=1;var e=kd(),t=wh();return Zp=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function wg(){if(Kp)return Xp;Kp=1;var e=kh(),t=_g(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return Xp=function(i,o){if(e(i))return!1;var a=typeof i;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=i&&!t(i))||r.test(i)||!n.test(i)||null!=o&&i in Object(o)},Xp}function xg(){return og||(og=1,ig=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}),ig}function kg(){if(cg)return lg;cg=1;var e=function(){if(sg)return ag;sg=1;var e=xd(),t=xg(),n=kh(),r=_g(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return ag=function e(i){if("string"==typeof i)return i;if(n(i))return t(i,e)+"";if(r(i))return o?o.call(i):"";var a=i+"";return"0"==a&&1/i==-1/0?"-0":a},ag}();return lg=function(t){return null==t?"":e(t)}}function Cg(){if(fg)return ug;fg=1;var e=kh(),t=wg(),n=function(){if(rg)return ng;rg=1;var e=function(){if(tg)return eg;tg=1;var e=function(){if(Jp)return Qp;Jp=1;var e=Pd();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var i=function(){var e=arguments,t=r?r.apply(this,e):e[0],o=i.cache;if(o.has(t))return o.get(t);var a=n.apply(this,e);return i.cache=o.set(t,a)||o,a};return i.cache=new(t.Cache||e),i}return t.Cache=e,Qp=t}();return eg=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e((function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,(function(e,t,i,o){r.push(i?o.replace(n,"$1"):t||e)})),r}));return ng=r}(),r=kg();return ug=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},ug}function Mg(){if(hg)return dg;hg=1;var e=_g();return dg=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function Sg(){if(gg)return pg;gg=1;var e=Cg(),t=Mg();return pg=function(n,r){for(var i=0,o=(r=e(r,n)).length;null!=n&&i<o;)n=n[t(r[i++])];return i&&i==o?n:void 0},pg}function Tg(){if(mg)return vg;mg=1;var e=Sg();return vg=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},vg}var Og,Ag,Eg,Pg,Lg=Wi(Tg());function jg(){if(Ag)return Og;Ag=1;var e=Bp(),t=Cg(),n=Up(),r=Cd(),i=Mg();return Og=function(o,a,s,l){if(!r(o))return o;for(var c=-1,u=(a=t(a,o)).length,f=u-1,d=o;null!=d&&++c<u;){var h=i(a[c]),p=s;if("__proto__"===h||"constructor"===h||"prototype"===h)return o;if(c!=f){var g=d[h];void 0===(p=l?l(g,h,d):void 0)&&(p=r(g)?g:n(a[c+1])?[]:{})}e(d,h,p),d=d[h]}return o},Og}var Ng=function(){if(Pg)return Eg;Pg=1;var e=jg();return Eg=function(t,n,r){return null==t?t:e(t,n,r)},Eg}(),Dg=Wi(Ng);function Fg(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Rg(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function $g(){}var Bg=.7,Ug=1/Bg,Ig="\\s*([+-]?\\d+)\\s*",zg="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Hg="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Vg=/^#([0-9a-f]{3,8})$/,Wg=new RegExp(`^rgb\\(${Ig},${Ig},${Ig}\\)$`),Yg=new RegExp(`^rgb\\(${Hg},${Hg},${Hg}\\)$`),qg=new RegExp(`^rgba\\(${Ig},${Ig},${Ig},${zg}\\)$`),Zg=new RegExp(`^rgba\\(${Hg},${Hg},${Hg},${zg}\\)$`),Gg=new RegExp(`^hsl\\(${zg},${Hg},${Hg}\\)$`),Xg=new RegExp(`^hsla\\(${zg},${Hg},${Hg},${zg}\\)$`),Kg={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 Qg(){return this.rgb().formatHex()}function Jg(){return this.rgb().formatRgb()}function ev(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Vg.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?tv(t):3===n?new ov(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?nv(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?nv(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=Wg.exec(e))?new ov(t[1],t[2],t[3],1):(t=Yg.exec(e))?new ov(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=qg.exec(e))?nv(t[1],t[2],t[3],t[4]):(t=Zg.exec(e))?nv(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Gg.exec(e))?fv(t[1],t[2]/100,t[3]/100,1):(t=Xg.exec(e))?fv(t[1],t[2]/100,t[3]/100,t[4]):Kg.hasOwnProperty(e)?tv(Kg[e]):"transparent"===e?new ov(NaN,NaN,NaN,0):null}function tv(e){return new ov(e>>16&255,e>>8&255,255&e,1)}function nv(e,t,n,r){return r<=0&&(e=t=n=NaN),new ov(e,t,n,r)}function rv(e){return e instanceof $g||(e=ev(e)),e?new ov((e=e.rgb()).r,e.g,e.b,e.opacity):new ov}function iv(e,t,n,r){return 1===arguments.length?rv(e):new ov(e,t,n,null==r?1:r)}function ov(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function av(){return`#${uv(this.r)}${uv(this.g)}${uv(this.b)}`}function sv(){const e=lv(this.opacity);return`${1===e?"rgb(":"rgba("}${cv(this.r)}, ${cv(this.g)}, ${cv(this.b)}${1===e?")":`, ${e})`}`}function lv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function cv(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function uv(e){return((e=cv(e))<16?"0":"")+e.toString(16)}function fv(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new hv(e,t,n,r)}function dv(e){if(e instanceof hv)return new hv(e.h,e.s,e.l,e.opacity);if(e instanceof $g||(e=ev(e)),!e)return new hv;if(e instanceof hv)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),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new hv(a,s,l,e.opacity)}function hv(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function pv(e){return(e=(e||0)%360)<0?e+360:e}function gv(e){return Math.max(0,Math.min(1,e||0))}function vv(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Fg($g,ev,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Qg,formatHex:Qg,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return dv(this).formatHsl()},formatRgb:Jg,toString:Jg}),Fg(ov,iv,Rg($g,{brighter(e){return e=null==e?Ug:Math.pow(Ug,e),new ov(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Bg:Math.pow(Bg,e),new ov(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ov(cv(this.r),cv(this.g),cv(this.b),lv(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:av,formatHex:av,formatHex8:function(){return`#${uv(this.r)}${uv(this.g)}${uv(this.b)}${uv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:sv,toString:sv})),Fg(hv,(function(e,t,n,r){return 1===arguments.length?dv(e):new hv(e,t,n,null==r?1:r)}),Rg($g,{brighter(e){return e=null==e?Ug:Math.pow(Ug,e),new hv(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Bg:Math.pow(Bg,e),new hv(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 ov(vv(e>=240?e-240:e+120,i,r),vv(e,i,r),vv(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new hv(pv(this.h),gv(this.s),gv(this.l),lv(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=lv(this.opacity);return`${1===e?"hsl(":"hsla("}${pv(this.h)}, ${100*gv(this.s)}%, ${100*gv(this.l)}%${1===e?")":`, ${e})`}`}}));const mv=Math.PI/180,bv=180/Math.PI;var yv=-.14861,_v=1.78277,wv=-.29227,xv=-.90649,kv=1.97294,Cv=kv*xv,Mv=kv*_v,Sv=_v*wv-xv*yv;function Tv(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Ov)return new Ov(e.h,e.s,e.l,e.opacity);e instanceof ov||(e=rv(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Sv*r+Cv*t-Mv*n)/(Sv+Cv-Mv),o=r-i,a=(kv*(n-i)-wv*o)/xv,s=Math.sqrt(a*a+o*o)/(kv*i*(1-i)),l=s?Math.atan2(a,o)*bv-120:NaN;return new Ov(l<0?l+360:l,s,i,e.opacity)}(e):new Ov(e,t,n,null==r?1:r)}function Ov(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Fg(Ov,Tv,Rg($g,{brighter(e){return e=null==e?Ug:Math.pow(Ug,e),new Ov(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Bg:Math.pow(Bg,e),new Ov(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*mv,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new ov(255*(t+n*(yv*r+_v*i)),255*(t+n*(wv*r+xv*i)),255*(t+n*(kv*r)),this.opacity)}}));var Av=e=>()=>e;function Ev(e,t){return function(n){return e+n*t}}function Pv(e,t){var n=t-e;return n?Ev(e,n):Av(isNaN(e)?t:e)}var Lv,jv=function e(t){var n=function(e){return 1==(e=+e)?Pv: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):Av(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=iv(e)).r,(t=iv(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=Pv(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1),Nv=(Lv=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],a=r>0?e[r-1]:2*i-o,s=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}((n-r/t)*t,a,i,o,s)}},function(e){var t,n,r=e.length,i=new Array(r),o=new Array(r),a=new Array(r);for(t=0;t<r;++t)n=iv(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=Lv(i),o=Lv(o),a=Lv(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function Dv(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 Fv(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Hv(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}function Rv(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function $v(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Bv(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]=Hv(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var Uv=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Iv=new RegExp(Uv.source,"g");function zv(e,t){var n,r,i,o=Uv.lastIndex=Iv.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=Uv.exec(e))&&(r=Iv.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:$v(n,r)})),o=Iv.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function Hv(e,t){var n,r=typeof t;return null==t||"boolean"===r?Av(t):("number"===r?$v:"string"===r?(n=ev(t))?(t=n,jv):zv:t instanceof ev?jv:t instanceof Date?Rv:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?Dv:Array.isArray(t)?Fv:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Bv:$v)(e,t)}function Vv(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Wv(e){return function t(n){function r(t,r){var i=e((t=Tv(t)).h,(r=Tv(r)).h),o=Pv(t.s,r.s),a=Pv(t.l,r.l),s=Pv(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}Wv((function(e,t){var n=t-e;return n?Ev(e,n>180||n<-180?n-360*Math.round(n/360):n):Av(isNaN(e)?t:e)}));var Yv,qv,Zv,Gv,Xv=Wv(Pv),Kv=Wi(function(){if(qv)return Yv;qv=1;var e=kd(),t=kh(),n=wh();return Yv=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}()),Qv=Wi((Gv||(Gv=1,Zv=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}),Zv));function Jv(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function em(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function tm(e){let t,n,r;function i(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=Jv,n=(t,n)=>Jv(e(t),n),r=(t,n)=>e(t)-n):(t=e===Jv||e===em?e:nm,n=e,r=e),{left:i,center:function(e,t,n=0,o=e.length){const a=i(e,t,n,o-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<=0?i=t+1:o=t}while(i<o)}return i}}}function nm(){return 0}kh();const rm=tm(Jv).right;tm((function(e){return null===e?NaN:+e})).center;class im extends Map{constructor(e,t=am){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(om(this,e))}has(e){return super.has(om(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function om({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function am(e){return null!==e&&"object"==typeof e?e.valueOf():e}const sm=Math.sqrt(50),lm=Math.sqrt(10),cm=Math.sqrt(2);function um(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=sm?10:o>=lm?5:o>=cm?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/a,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,i)*a,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?um(e,t,2*n):[s,l,c]}function fm(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[i,o,a]=r?um(t,e,n):um(e,t,n);if(!(o>=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)l[e]=(o-e)/-a;else for(let e=0;e<s;++e)l[e]=(o-e)*a;else if(a<0)for(let e=0;e<s;++e)l[e]=(i+e)/-a;else for(let e=0;e<s;++e)l[e]=(i+e)*a;return l}function dm(e,t,n){return um(e=+e,t=+t,n=+n)[2]}function hm(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?dm(t,e,n):dm(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function pm(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const gm=Symbol("implicit");function vm(){var e=new im,t=[],n=[],r=gm;function i(i){let o=e.get(i);if(void 0===o){if(r!==gm)return r;e.set(i,o=t.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new im;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);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 vm(t,n).unknown(r)},pm.apply(i,arguments),i}function mm(){var e,t,n=vm().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,l=0,c=0,u=.5;function f(){var n=r().length,f=a<o,d=f?a:o,h=f?o:a;e=(h-d)/Math.max(1,n-l+2*c),s&&(e=Math.floor(e)),d+=(h-d-e*(n-l))*u,t=e*(1-l),s&&(d=Math.round(d),t=Math.round(t));var p=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(f?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),f()):r()},n.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},n.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,s=!0,f()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,f()):s},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),f()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),f()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,f()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),f()):u},n.copy=function(){return mm(r(),[o,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},pm.apply(f(),arguments)}function bm(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return bm(t())},e}function ym(){return bm(mm.apply(null,arguments).paddingInner(1))}function _m(e){return+e}var wm=[0,1];function xm(e){return e}function km(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Cm(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=km(i,r),o=n(a,o)):(r=km(r,i),o=n(o,a)),function(e){return o(r(e))}}function Mm(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=km(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=rm(e,t,1,r)-1;return o[n](i[n](t))}}function Sm(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Tm(){var e,t,n,r,i,o,a=wm,s=wm,l=Hv,c=xm;function u(){var e=Math.min(a.length,s.length);return c!==xm&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?Mm:Cm,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,l)))(e(c(t)))}return f.invert=function(n){return c(t((o||(o=r(s,a.map(e),$v)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,_m),u()):a.slice()},f.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},f.rangeRound=function(e){return s=Array.from(e),l=Vv,u()},f.clamp=function(e){return arguments.length?(c=!!e||xm,u()):c!==xm},f.interpolate=function(e){return arguments.length?(l=e,u()):l},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,u()}}function Om(){return Tm()(xm,xm)}function Am(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 Em(e){return(e=Am(Math.abs(e)))?e[1]:NaN}var Pm,Lm=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function jm(e){if(!(t=Lm.exec(e)))throw new Error("invalid format: "+e);var t;return new Nm({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 Nm(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 Dm(e,t){var n=Am(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")}jm.prototype=Nm.prototype,Nm.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 Fm={"%":(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)=>Dm(100*e,t),r:Dm,s:function(e,t){var n=Am(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Pm=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Am(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Rm(e){return e}var $m,Bm,Um,Im=Array.prototype.map,zm=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Hm(e){var t=e.domain;return e.ticks=function(e){var n=t();return fm(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var i,o=hm(e,t,n);switch((r=jm(null==r?",f":r)).type){case"s":var a=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(Em(t)/3)))-Em(Math.abs(e)))}(o,a))||(r.precision=i),Um(r,a);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,Em(t)-Em(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,-Em(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return Bm(r)}(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,l=o[a],c=o[s],u=10;for(c<l&&(i=l,l=c,c=i,i=a,a=s,s=i);u-- >0;){if((i=dm(l,c,n))===r)return o[a]=l,o[s]=c,t(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return e},e}function Vm(){var e=Om();return e.copy=function(){return Sm(e,Vm())},pm.apply(e,arguments),Hm(e)}function Wm(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e}function Ym(e){return Math.log(e)}function qm(e){return Math.exp(e)}function Zm(e){return-Math.log(-e)}function Gm(e){return-Math.exp(-e)}function Xm(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Km(e){return(t,n)=>-e(-t,n)}function Qm(){const e=function(e){const t=e(Ym,qm),n=t.domain;let r,i,o=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?Xm:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=Km(r),i=Km(i),e(Zm,Gm)):e(Ym,qm),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,f=r(a),d=r(s);const h=null==e?10:+e;let p=[];if(!(o%1)&&d-f<h){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(c=1;c<o;++c)if(u=f<0?c/i(-f):c*i(f),!(u<a)){if(u>s)break;p.push(u)}}else for(;f<=d;++f)for(c=o-1;c>=1;--c)if(u=f>0?c/i(-f):c*i(f),!(u<a)){if(u>s)break;p.push(u)}2*p.length<h&&(p=fm(a,s,h))}else p=fm(f,d,Math.min(d-f,h)).map(i);return l?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=jm(n)).precision||(n.trim=!0),n=Bm(n)),e===1/0)return n;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(r(e)));return t*o<o-.5&&(t*=o),t<=a?n(e):""}},t.nice=()=>n(Wm(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}(Tm()).domain([1,10]);return e.copy=()=>Sm(e,Qm()).base(e.base()),pm.apply(e,arguments),e}function Jm(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function eb(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function tb(){var e=function(e){var t=1,n=e(Jm(t),eb(t));return n.constant=function(n){return arguments.length?e(Jm(t=+n),eb(t)):t},Hm(n)}(Tm());return e.copy=function(){return Sm(e,tb()).constant(e.constant())},pm.apply(e,arguments)}$m=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Rm:(t=Im.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Rm:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Im.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=jm(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,v=e.precision,m=e.trim,b=e.type;"n"===b?(g=!0,b="g"):Fm[b]||(void 0===v&&(v=12),m=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===d?i:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===d?o:/[%p]/.test(b)?l:"",w=Fm[b],x=/[defgprs%]/.test(b);function k(e){var i,o,l,d=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),v),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&&"+"!==f&&(C=!1),d=(C?"("===f?f:c:"-"===f||"("===f?"":f)+d,k=("s"===b?zm[8+Pm/3]:"")+k+(C&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var M=d.length+e.length+k.length,S=M<p?new Array(p-M+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-k.length:1/0),S=""),n){case"<":e=d+e+k+S;break;case"=":e=d+S+e+k;break;case"^":e=S.slice(0,M=S.length>>1)+d+e+k+S.slice(M);break;default:e=S+d+e+k}return s(e)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return e+""},k}return{format:f,formatPrefix:function(e,t){var n=f(((e=jm(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Em(t)/3))),i=Math.pow(10,-r),o=zm[8+r/3];return function(e){return n(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Bm=$m.format,Um=$m.formatPrefix;const nb=new Date,rb=new Date;function ib(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{const t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,o)=>{const a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;let s;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=n=>ib((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((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=(t,r)=>(nb.setTime(+t),rb.setTime(+r),e(nb),e(rb),Math.floor(n(nb,rb))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?t=>r(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const ob=ib((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));ob.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?ib((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):ob:null),ob.range;const ab=1e3,sb=6e4,lb=36e5,cb=864e5,ub=6048e5,fb=31536e6,db=ib((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*ab)}),((e,t)=>(t-e)/ab),(e=>e.getUTCSeconds()));db.range;const hb=ib((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ab)}),((e,t)=>{e.setTime(+e+t*sb)}),((e,t)=>(t-e)/sb),(e=>e.getMinutes()));hb.range;const pb=ib((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*sb)}),((e,t)=>(t-e)/sb),(e=>e.getUTCMinutes()));pb.range;const gb=ib((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ab-e.getMinutes()*sb)}),((e,t)=>{e.setTime(+e+t*lb)}),((e,t)=>(t-e)/lb),(e=>e.getHours()));gb.range;const vb=ib((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*lb)}),((e,t)=>(t-e)/lb),(e=>e.getUTCHours()));vb.range;const mb=ib((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*sb)/cb),(e=>e.getDate()-1));mb.range;const bb=ib((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/cb),(e=>e.getUTCDate()-1));bb.range;const yb=ib((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/cb),(e=>Math.floor(e/cb)));function _b(e){return ib((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*sb)/ub))}yb.range;const wb=_b(0),xb=_b(1),kb=_b(2),Cb=_b(3),Mb=_b(4),Sb=_b(5),Tb=_b(6);function Ob(e){return ib((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/ub))}wb.range,xb.range,kb.range,Cb.range,Mb.range,Sb.range,Tb.range;const Ab=Ob(0),Eb=Ob(1),Pb=Ob(2),Lb=Ob(3),jb=Ob(4),Nb=Ob(5),Db=Ob(6);Ab.range,Eb.range,Pb.range,Lb.range,jb.range,Nb.range,Db.range;const Fb=ib((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));Fb.range;const Rb=ib((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));Rb.range;const $b=ib((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));$b.every=e=>isFinite(e=Math.floor(e))&&e>0?ib((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,$b.range;const Bb=ib((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function Ub(e,t,n,r,i,o){const a=[[db,1,ab],[db,5,5e3],[db,15,15e3],[db,30,3e4],[o,1,sb],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,lb],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,cb],[r,2,1728e5],[n,1,ub],[t,1,2592e6],[t,3,7776e6],[e,1,fb]];function s(t,n,r){const i=Math.abs(n-t)/r,o=tm((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(hm(t/fb,n/fb,r));if(0===o)return ob.every(Math.max(hm(t,n,r),1));const[s,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},s]}Bb.every=e=>isFinite(e=Math.floor(e))&&e>0?ib((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,Bb.range;const[Ib,zb]=Ub(Bb,Rb,Ab,yb,vb,pb),[Hb,Vb]=Ub($b,Fb,wb,mb,gb,hb);function Wb(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 Yb(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 qb(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Zb,Gb,Xb,Kb={"-":"",_:" ",0:"0"},Qb=/^\s*\d+/,Jb=/^%/,ey=/[\\^$*+?|[\]().{}]/g;function ty(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 ny(e){return e.replace(ey,"\\$&")}function ry(e){return new RegExp("^(?:"+e.map(ny).join("|")+")","i")}function iy(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function oy(e,t,n){var r=Qb.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function ay(e,t,n){var r=Qb.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function sy(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function ly(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function cy(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function uy(e,t,n){var r=Qb.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function fy(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function dy(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 hy(e,t,n){var r=Qb.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function py(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function gy(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function vy(e,t,n){var r=Qb.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function my(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function by(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function yy(e,t,n){var r=Qb.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function _y(e,t,n){var r=Qb.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function wy(e,t,n){var r=Qb.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function xy(e,t,n){var r=Jb.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ky(e,t,n){var r=Qb.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Cy(e,t,n){var r=Qb.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function My(e,t){return ty(e.getDate(),t,2)}function Sy(e,t){return ty(e.getHours(),t,2)}function Ty(e,t){return ty(e.getHours()%12||12,t,2)}function Oy(e,t){return ty(1+mb.count($b(e),e),t,3)}function Ay(e,t){return ty(e.getMilliseconds(),t,3)}function Ey(e,t){return Ay(e,t)+"000"}function Py(e,t){return ty(e.getMonth()+1,t,2)}function Ly(e,t){return ty(e.getMinutes(),t,2)}function jy(e,t){return ty(e.getSeconds(),t,2)}function Ny(e){var t=e.getDay();return 0===t?7:t}function Dy(e,t){return ty(wb.count($b(e)-1,e),t,2)}function Fy(e){var t=e.getDay();return t>=4||0===t?Mb(e):Mb.ceil(e)}function Ry(e,t){return e=Fy(e),ty(Mb.count($b(e),e)+(4===$b(e).getDay()),t,2)}function $y(e){return e.getDay()}function By(e,t){return ty(xb.count($b(e)-1,e),t,2)}function Uy(e,t){return ty(e.getFullYear()%100,t,2)}function Iy(e,t){return ty((e=Fy(e)).getFullYear()%100,t,2)}function zy(e,t){return ty(e.getFullYear()%1e4,t,4)}function Hy(e,t){var n=e.getDay();return ty((e=n>=4||0===n?Mb(e):Mb.ceil(e)).getFullYear()%1e4,t,4)}function Vy(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ty(t/60|0,"0",2)+ty(t%60,"0",2)}function Wy(e,t){return ty(e.getUTCDate(),t,2)}function Yy(e,t){return ty(e.getUTCHours(),t,2)}function qy(e,t){return ty(e.getUTCHours()%12||12,t,2)}function Zy(e,t){return ty(1+bb.count(Bb(e),e),t,3)}function Gy(e,t){return ty(e.getUTCMilliseconds(),t,3)}function Xy(e,t){return Gy(e,t)+"000"}function Ky(e,t){return ty(e.getUTCMonth()+1,t,2)}function Qy(e,t){return ty(e.getUTCMinutes(),t,2)}function Jy(e,t){return ty(e.getUTCSeconds(),t,2)}function e_(e){var t=e.getUTCDay();return 0===t?7:t}function t_(e,t){return ty(Ab.count(Bb(e)-1,e),t,2)}function n_(e){var t=e.getUTCDay();return t>=4||0===t?jb(e):jb.ceil(e)}function r_(e,t){return e=n_(e),ty(jb.count(Bb(e),e)+(4===Bb(e).getUTCDay()),t,2)}function i_(e){return e.getUTCDay()}function o_(e,t){return ty(Eb.count(Bb(e)-1,e),t,2)}function a_(e,t){return ty(e.getUTCFullYear()%100,t,2)}function s_(e,t){return ty((e=n_(e)).getUTCFullYear()%100,t,2)}function l_(e,t){return ty(e.getUTCFullYear()%1e4,t,4)}function c_(e,t){var n=e.getUTCDay();return ty((e=n>=4||0===n?jb(e):jb.ceil(e)).getUTCFullYear()%1e4,t,4)}function u_(){return"+0000"}function f_(){return"%"}function d_(e){return+e}function h_(e){return Math.floor(+e/1e3)}function p_(e){return new Date(e)}function g_(e){return e instanceof Date?+e:+new Date(+e)}function v_(e,t,n,r,i,o,a,s,l,c){var u=Om(),f=u.invert,d=u.domain,h=c(".%L"),p=c(":%S"),g=c("%I:%M"),v=c("%I %p"),m=c("%a %d"),b=c("%b %d"),y=c("%B"),_=c("%Y");function w(e){return(l(e)<e?h:s(e)<e?p:a(e)<e?g:o(e)<e?v:r(e)<e?i(e)<e?m:b:n(e)<e?y:_)(e)}return u.invert=function(e){return new Date(f(e))},u.domain=function(e){return arguments.length?d(Array.from(e,g_)):d().map(p_)},u.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.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(Wm(n,e)):u},u.copy=function(){return Sm(u,v_(e,t,n,r,i,o,a,s,l,c))},u}function m_(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}Zb=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=ry(i),u=iy(i),f=ry(o),d=iy(o),h=ry(a),p=iy(a),g=ry(s),v=iy(s),m=ry(l),b=iy(l),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:My,e:My,f:Ey,g:Iy,G:Hy,H:Sy,I:Ty,j:Oy,L:Ay,m:Py,M:Ly,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:d_,s:h_,S:jy,u:Ny,U:Dy,V:Ry,w:$y,W:By,x:null,X:null,y:Uy,Y:zy,Z:Vy,"%":f_},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Wy,e:Wy,f:Xy,g:s_,G:c_,H:Yy,I:qy,j:Zy,L:Gy,m:Ky,M:Qy,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:d_,s:h_,S:Jy,u:e_,U:t_,V:r_,w:i_,W:o_,x:null,X:null,y:a_,Y:l_,Z:u_,"%":f_},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.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=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:gy,e:gy,f:wy,g:fy,G:uy,H:my,I:my,j:vy,L:_y,m:py,M:by,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:hy,Q:ky,s:Cy,S:yy,u:ay,U:sy,V:ly,w:oy,W:cy,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:fy,Y:uy,Z:dy,"%":xy};function x(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=Kb[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=qb(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=Yb(qb(o.y,0,1))).getUTCDay(),r=i>4||0===i?Eb.ceil(r):Eb(r),r=bb.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Wb(qb(o.y,0,1))).getDay(),r=i>4||0===i?xb.ceil(r):xb(r),r=mb.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?Yb(qb(o.y,0,1)).getUTCDay():Wb(qb(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,Yb(o)):Wb(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in Kb?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=x(n,y),y.X=x(r,y),y.c=x(t,y),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({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"]}),Gb=Zb.format,Zb.parse,Xb=Zb.utcFormat,Zb.utcParse;var b_=m_("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),y_=m_("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),__=m_("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),w_=m_("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),x_=m_("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),k_=m_("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),C_=m_("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),M_=m_("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),S_=m_("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),T_=m_("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),O_=e=>Nv(e[e.length-1]),A_=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(m_),E_=O_(A_),P_=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(m_),L_=O_(P_),j_=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(m_),N_=O_(j_),D_=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(m_),F_=O_(D_),R_=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(m_),$_=O_(R_),B_=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(m_),U_=O_(B_),I_=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(m_),z_=O_(I_),H_=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(m_),V_=O_(H_),W_=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(m_),Y_=O_(W_),q_=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(m_),Z_=O_(q_),G_=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(m_),X_=O_(G_),K_=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(m_),Q_=O_(K_),J_=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(m_),ew=O_(J_),tw=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(m_),nw=O_(tw),rw=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(m_),iw=O_(rw),ow=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(m_),aw=O_(ow),sw=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(m_),lw=O_(sw),cw=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(m_),uw=O_(cw),fw=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(m_),dw=O_(fw),hw=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(m_),pw=O_(hw),gw=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(m_),vw=O_(gw),mw=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(m_),bw=O_(mw),yw=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(m_),_w=O_(yw),ww=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(m_),xw=O_(ww),kw=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(m_),Cw=O_(kw),Mw=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(m_),Sw=O_(Mw),Tw=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(m_),Ow=O_(Tw),Aw=Xv(Tv(300,.5,0),Tv(-240,.5,1)),Ew=Xv(Tv(-100,.75,.35),Tv(80,1.5,.8)),Pw=Xv(Tv(260,.75,.35),Tv(80,1.5,.8)),Lw=Tv(),jw=iv(),Nw=Math.PI/3,Dw=2*Math.PI/3;function Fw(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Rw,$w,Bw,Uw,Iw,zw,Hw,Vw,Ww,Yw,qw,Zw,Gw,Xw,Kw,Qw,Jw,ex,tx,nx,rx,ix,ox,ax,sx=Fw(m_("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),lx=Fw(m_("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),cx=Fw(m_("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ux=Fw(m_("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),fx=Wi(Md());function dx(){if(zw)return Iw;zw=1;var e=Pd(),t=$w?Rw:($w=1,Rw=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=Uw?Bw:(Uw=1,Bw=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,Iw=r}function hx(){if(Qw)return Kw;Qw=1;var e=function(){if(Xw)return Gw;Xw=1;var e=(Vw||(Vw=1,Hw=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}),Hw),t=Yw?Ww:(Yw=1,Ww=function(e){return e!=e}),n=(Zw||(Zw=1,qw=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),qw);return Gw=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},Gw}();return Kw=function(t,n){return!(null==t||!t.length)&&e(t,n,0)>-1},Kw}function px(){return ex||(ex=1,Jw=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}),Jw}function gx(){return nx?tx:(nx=1,tx=function(e,t){return e.has(t)})}var vx=function(){if(ax)return ox;ax=1;var e=function(){if(ix)return rx;ix=1;var e=dx(),t=hx(),n=px(),r=xg(),i=Bh(),o=gx();return rx=function(a,s,l,c){var u=-1,f=t,d=!0,h=a.length,p=[],g=s.length;if(!h)return p;l&&(s=r(s,i(l))),c?(f=n,d=!1):s.length>=200&&(f=o,d=!1,s=new e(s));e:for(;++u<h;){var v=a[u],m=null==l?v:l(v);if(v=c||0!==v?v:0,d&&m==m){for(var b=g;b--;)if(s[b]===m)continue e;p.push(v)}else f(s,m,c)||p.push(v)}return p},rx}(),t=Yp(),n=Sh(),r=t((function(t,r){return n(t)?e(t,r):[]}));return ox=r}(),mx=Wi(vx);function bx(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)]}var yx,_x=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wx(e){if(!(t=_x.exec(e)))throw new Error("invalid format: "+e);var t;return new xx({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 xx(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 kx(e,t){var n=bx(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")}wx.prototype=xx.prototype,xx.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 Cx={"%":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 kx(100*e,t)},r:kx,s:function(e,t){var n=bx(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(yx=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+bx(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 Mx(e){return e}var Sx,Tx,Ox=Array.prototype.map,Ax=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];Sx=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Mx:(t=Ox.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Mx:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Ox.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=wx(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,v=e.precision,m=e.trim,b=e.type;"n"===b?(g=!0,b="g"):Cx[b]||(void 0===v&&(v=12),m=!0,b="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var y="$"===d?i:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===d?o:/[%p]/.test(b)?l:"",w=Cx[b],x=/[defgprs%]/.test(b);function k(e){var i,o,l,d=y,k=_;if("c"===b)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),v),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&&"+"!==f&&(C=!1),d=(C?"("===f?f:c:"-"===f||"("===f?"":f)+d,k=("s"===b?Ax[8+yx/3]:"")+k+(C&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var M=d.length+e.length+k.length,S=M<p?new Array(p-M+1).join(t):"";switch(g&&h&&(e=r(S+e,S.length?p-k.length:1/0),S=""),n){case"<":e=d+e+k+S;break;case"=":e=d+S+e+k;break;case"^":e=S.slice(0,M=S.length>>1)+d+e+k+S.slice(M);break;default:e=S+d+e+k}return s(e)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return e+""},k}return{format:f,formatPrefix:function(e,t){var n=f(((e=wx(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=bx(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=Ax[8+r/3];return function(e){return n(i*e)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Tx=Sx.format,Sx.formatPrefix;var Ex=new Date,Px=new Date;function Lx(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 a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a<n&&n<r);return s},i.filter=function(n){return Lx((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 Ex.setTime(+t),Px.setTime(+r),e(Ex),e(Px),Math.floor(n(Ex,Px))},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}const jx=864e5,Nx=6048e5;var Dx=Lx((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/jx),(e=>e.getDate()-1));function Fx(e){return Lx((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-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/Nx}))}Dx.range;var Rx=Fx(0),$x=Fx(1),Bx=Fx(2),Ux=Fx(3),Ix=Fx(4),zx=Fx(5),Hx=Fx(6);Rx.range,$x.range,Bx.range,Ux.range,Ix.range,zx.range,Hx.range;var Vx=Lx((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()}));Vx.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Lx((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},Vx.range;var Wx=Lx((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/jx}),(function(e){return e.getUTCDate()-1}));function Yx(e){return Lx((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)/Nx}))}Wx.range;var qx=Yx(0),Zx=Yx(1),Gx=Yx(2),Xx=Yx(3),Kx=Yx(4),Qx=Yx(5),Jx=Yx(6);qx.range,Zx.range,Gx.range,Xx.range,Kx.range,Qx.range,Jx.range;var ek=Lx((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()}));function tk(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 nk(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 rk(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}ek.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Lx((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},ek.range;var ik,ok,ak,sk,lk={"-":"",_:" ",0:"0"},ck=/^\s*\d+/,uk=/^%/,fk=/[\\^$*+?|[\]().{}]/g;function dk(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 hk(e){return e.replace(fk,"\\$&")}function pk(e){return new RegExp("^(?:"+e.map(hk).join("|")+")","i")}function gk(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function vk(e,t,n){var r=ck.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function mk(e,t,n){var r=ck.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function bk(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function yk(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function _k(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function wk(e,t,n){var r=ck.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function xk(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function kk(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 Ck(e,t,n){var r=ck.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Mk(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Sk(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Tk(e,t,n){var r=ck.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Ok(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ak(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Ek(e,t,n){var r=ck.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Pk(e,t,n){var r=ck.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Lk(e,t,n){var r=ck.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function jk(e,t,n){var r=uk.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Nk(e,t,n){var r=ck.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Dk(e,t,n){var r=ck.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Fk(e,t){return dk(e.getDate(),t,2)}function Rk(e,t){return dk(e.getHours(),t,2)}function $k(e,t){return dk(e.getHours()%12||12,t,2)}function Bk(e,t){return dk(1+Dx.count(Vx(e),e),t,3)}function Uk(e,t){return dk(e.getMilliseconds(),t,3)}function Ik(e,t){return Uk(e,t)+"000"}function zk(e,t){return dk(e.getMonth()+1,t,2)}function Hk(e,t){return dk(e.getMinutes(),t,2)}function Vk(e,t){return dk(e.getSeconds(),t,2)}function Wk(e){var t=e.getDay();return 0===t?7:t}function Yk(e,t){return dk(Rx.count(Vx(e)-1,e),t,2)}function qk(e){var t=e.getDay();return t>=4||0===t?Ix(e):Ix.ceil(e)}function Zk(e,t){return e=qk(e),dk(Ix.count(Vx(e),e)+(4===Vx(e).getDay()),t,2)}function Gk(e){return e.getDay()}function Xk(e,t){return dk($x.count(Vx(e)-1,e),t,2)}function Kk(e,t){return dk(e.getFullYear()%100,t,2)}function Qk(e,t){return dk((e=qk(e)).getFullYear()%100,t,2)}function Jk(e,t){return dk(e.getFullYear()%1e4,t,4)}function eC(e,t){var n=e.getDay();return dk((e=n>=4||0===n?Ix(e):Ix.ceil(e)).getFullYear()%1e4,t,4)}function tC(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+dk(t/60|0,"0",2)+dk(t%60,"0",2)}function nC(e,t){return dk(e.getUTCDate(),t,2)}function rC(e,t){return dk(e.getUTCHours(),t,2)}function iC(e,t){return dk(e.getUTCHours()%12||12,t,2)}function oC(e,t){return dk(1+Wx.count(ek(e),e),t,3)}function aC(e,t){return dk(e.getUTCMilliseconds(),t,3)}function sC(e,t){return aC(e,t)+"000"}function lC(e,t){return dk(e.getUTCMonth()+1,t,2)}function cC(e,t){return dk(e.getUTCMinutes(),t,2)}function uC(e,t){return dk(e.getUTCSeconds(),t,2)}function fC(e){var t=e.getUTCDay();return 0===t?7:t}function dC(e,t){return dk(qx.count(ek(e)-1,e),t,2)}function hC(e){var t=e.getUTCDay();return t>=4||0===t?Kx(e):Kx.ceil(e)}function pC(e,t){return e=hC(e),dk(Kx.count(ek(e),e)+(4===ek(e).getUTCDay()),t,2)}function gC(e){return e.getUTCDay()}function vC(e,t){return dk(Zx.count(ek(e)-1,e),t,2)}function mC(e,t){return dk(e.getUTCFullYear()%100,t,2)}function bC(e,t){return dk((e=hC(e)).getUTCFullYear()%100,t,2)}function yC(e,t){return dk(e.getUTCFullYear()%1e4,t,4)}function _C(e,t){var n=e.getUTCDay();return dk((e=n>=4||0===n?Kx(e):Kx.ceil(e)).getUTCFullYear()%1e4,t,4)}function wC(){return"+0000"}function xC(){return"%"}function kC(e){return+e}function CC(e){return Math.floor(+e/1e3)}ik=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=pk(i),u=gk(i),f=pk(o),d=gk(o),h=pk(a),p=gk(a),g=pk(s),v=gk(s),m=pk(l),b=gk(l),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Fk,e:Fk,f:Ik,g:Qk,G:eC,H:Rk,I:$k,j:Bk,L:Uk,m:zk,M:Hk,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:kC,s:CC,S:Vk,u:Wk,U:Yk,V:Zk,w:Gk,W:Xk,x:null,X:null,y:Kk,Y:Jk,Z:tC,"%":xC},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:nC,e:nC,f:sC,g:bC,G:_C,H:rC,I:iC,j:oC,L:aC,m:lC,M:cC,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:kC,s:CC,S:uC,u:fC,U:dC,V:pC,w:gC,W:vC,x:null,X:null,y:mC,Y:yC,Z:wC,"%":xC},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.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=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:Sk,e:Sk,f:Lk,g:xk,G:wk,H:Ok,I:Ok,j:Tk,L:Pk,m:Mk,M:Ak,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:Ck,Q:Nk,s:Dk,S:Ek,u:mk,U:bk,V:yk,w:vk,W:_k,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:xk,Y:wk,Z:kk,"%":jk};function x(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=lk[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=rk(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=nk(rk(o.y,0,1))).getUTCDay(),r=i>4||0===i?Zx.ceil(r):Zx(r),r=Wx.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=tk(rk(o.y,0,1))).getDay(),r=i>4||0===i?$x.ceil(r):$x(r),r=Dx.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?nk(rk(o.y,0,1)).getUTCDay():tk(rk(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,nk(o)):tk(o)}}function C(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in lk?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=x(n,y),y.X=x(r,y),y.c=x(t,y),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({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"]}),ok=ik.format,ak=ik.parse,ik.utcFormat,sk=ik.utcParse;var MC,SC,TC,OC,AC,EC,PC,LC,jC,NC,DC,FC,RC,$C,BC,UC,IC,zC,HC,VC,WC,YC,qC=Wi($h());function ZC(){if(LC)return PC;LC=1;var e=(OC||(OC=1,TC=function(e,t){return null!=e&&t in Object(e)}),TC),t=function(){if(EC)return AC;EC=1;var e=Cg(),t=xh(),n=kh(),r=Up(),i=Ch(),o=Mg();return AC=function(a,s,l){for(var c=-1,u=(s=e(s,a)).length,f=!1;++c<u;){var d=o(s[c]);if(!(f=null!=a&&l(a,d)))break;a=a[d]}return f||++c!=u?f:!!(u=null==a?0:a.length)&&i(u)&&r(d,u)&&(n(a)||t(a))}}();return PC=function(n,r){return null!=n&&t(n,r,e)},PC}function GC(){return FC||(FC=1,DC=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}),DC}function XC(){if(UC)return BC;UC=1;var e=GC(),t=function(){if($C)return RC;$C=1;var e=xd(),t=xh(),n=kh(),r=e?e.isConcatSpreadable:void 0;return RC=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return BC=function n(r,i,o,a,s){var l=-1,c=r.length;for(o||(o=t),s||(s=[]);++l<c;){var u=r[l];i>0&&o(u)?i>1?n(u,i-1,o,a,s):e(s,u):a||(s[s.length]=u)}return s},BC}var KC,QC,JC,eM,tM,nM,rM,iM,oM,aM,sM,lM,cM,uM,fM,dM,hM,pM,gM,vM,mM,bM,yM,_M,wM,xM,kM,CM,MM,SM,TM,OM,AM,EM,PM,LM,jM,NM,DM,FM,RM,$M,BM,UM,IM=function(){if(YC)return WC;YC=1;var e=function(){if(NC)return jC;NC=1;var e=function(){if(SC)return MC;SC=1;var e=Sg(),t=jg(),n=Cg();return MC=function(r,i,o){for(var a=-1,s=i.length,l={};++a<s;){var c=i[a],u=e(r,c);o(u,c)&&t(l,n(c,r),u)}return l},MC}(),t=ZC();return jC=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},jC}(),t=function(){if(VC)return HC;VC=1;var e=function(){if(zC)return IC;zC=1;var e=XC();return IC=function(t){return null!=t&&t.length?e(t,1):[]},IC}(),t=Vp(),n=Wp();return HC=function(r){return n(t(r,void 0,e),r+"")}}()((function(t,n){return null==t?{}:e(t,n)}));return WC=t}(),zM=Wi(IM);function HM(){if(eM)return JC;eM=1;var e=dx(),t=(QC||(QC=1,KC=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}),KC),n=gx();return JC=function(r,i,o,a,s,l){var c=1&o,u=r.length,f=i.length;if(u!=f&&!(c&&f>u))return!1;var d=l.get(r),h=l.get(i);if(d&&h)return d==i&&h==r;var p=-1,g=!0,v=2&o?new e:void 0;for(l.set(r,i),l.set(i,r);++p<u;){var m=r[p],b=i[p];if(a)var y=c?a(b,m,p,i,r,l):a(m,b,p,r,i,l);if(void 0!==y){if(y)continue;g=!1;break}if(v){if(!t(i,(function(e,t){if(!n(v,t)&&(m===e||s(m,e,o,a,l)))return v.push(t)}))){g=!1;break}}else if(m!==b&&!s(m,b,o,a,l)){g=!1;break}}return l.delete(r),l.delete(i),g},JC}function VM(){return iM||(iM=1,rM=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}),rM}function WM(){if(_M)return yM;_M=1;var e=Ip(),t=function(){if(bM)return mM;bM=1;var e=_h(),t=function(){if(vM)return gM;vM=1;var e=bh()(Object.keys,Object);return gM=e}(),n=Object.prototype.hasOwnProperty;return mM=function(r){if(!e(r))return t(r);var i=[];for(var o in Object(r))n.call(r,o)&&"constructor"!=o&&i.push(o);return i},mM}(),n=Mh();return yM=function(r){return n(r)?e(r):t(r)}}function YM(){if(EM)return AM;EM=1;var e=Td()(wd(),"Set");return AM=e}function qM(){if(FM)return DM;FM=1;var e=Ld(),t=HM(),n=function(){if(aM)return oM;aM=1;var e=xd(),t=mh(),n=md(),r=HM(),i=(nM||(nM=1,tM=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),tM),o=VM(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return oM=function(e,a,l,c,u,f,d){switch(l){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!f(new t(e),new t(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var h=i;case"[object Set]":var p=1&c;if(h||(h=o),e.size!=a.size&&!p)return!1;var g=d.get(e);if(g)return g==a;c|=2,d.set(e,a);var v=r(h(e),h(a),c,u,f,d);return d.delete(e),v;case"[object Symbol]":if(s)return s.call(e)==s.call(a)}return!1},oM}(),r=function(){if(CM)return kM;CM=1;var e=function(){if(xM)return wM;xM=1;var e=function(){if(lM)return sM;lM=1;var e=GC(),t=kh();return sM=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},sM}(),t=function(){if(pM)return hM;pM=1;var e=(uM||(uM=1,cM=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}),cM),t=dM?fM:(dM=1,fM=function(){return[]}),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,i=r?function(t){return null==t?[]:(t=Object(t),e(r(t),(function(e){return n.call(t,e)})))}:t;return hM=i}(),n=WM();return wM=function(r){return e(r,n,t)}}(),t=Object.prototype.hasOwnProperty;return kM=function(n,r,i,o,a,s){var l=1&i,c=e(n),u=c.length;if(u!=e(r).length&&!l)return!1;for(var f=u;f--;){var d=c[f];if(!(l?d in r:t.call(r,d)))return!1}var h=s.get(n),p=s.get(r);if(h&&p)return h==r&&p==n;var g=!0;s.set(n,r),s.set(r,n);for(var v=l;++f<u;){var m=n[d=c[f]],b=r[d];if(o)var y=l?o(b,m,d,r,n,s):o(m,b,d,n,r,s);if(!(void 0===y?m===b||a(m,b,i,o,s):y)){g=!1;break}v||(v="constructor"==d)}if(g&&!v){var _=n.constructor,w=r.constructor;_==w||!("constructor"in n)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(n),s.delete(r),g},kM}(),i=function(){if(NM)return jM;NM=1;var e=function(){if(SM)return MM;SM=1;var e=Td()(wd(),"DataView");return MM=e}(),t=Od(),n=function(){if(OM)return TM;OM=1;var e=Td()(wd(),"Promise");return TM=e}(),r=YM(),i=function(){if(LM)return PM;LM=1;var e=Td()(wd(),"WeakMap");return PM=e}(),o=kd(),a=Sd(),s="[object Map]",l="[object Promise]",c="[object Set]",u="[object WeakMap]",f="[object DataView]",d=a(e),h=a(t),p=a(n),g=a(r),v=a(i),m=o;return(e&&m(new e(new ArrayBuffer(1)))!=f||t&&m(new t)!=s||n&&m(n.resolve())!=l||r&&m(new r)!=c||i&&m(new i)!=u)&&(m=function(e){var t=o(e),n="[object Object]"==t?e.constructor:void 0,r=n?a(n):"";if(r)switch(r){case d:return f;case h:return s;case p:return l;case g:return c;case v:return u}return t}),jM=m}(),o=kh(),a=Rh(),s=Rp(),l="[object Arguments]",c="[object Array]",u="[object Object]",f=Object.prototype.hasOwnProperty;return DM=function(d,h,p,g,v,m){var b=o(d),y=o(h),_=b?c:i(d),w=y?c:i(h),x=(_=_==l?u:_)==u,k=(w=w==l?u:w)==u,C=_==w;if(C&&a(d)){if(!a(h))return!1;b=!0,x=!1}if(C&&!x)return m||(m=new e),b||s(d)?t(d,h,p,g,v,m):n(d,h,_,p,g,v,m);if(!(1&p)){var M=x&&f.call(d,"__wrapped__"),S=k&&f.call(h,"__wrapped__");if(M||S){var T=M?d.value():d,O=S?h.value():h;return m||(m=new e),v(T,O,p,g,m)}}return!!C&&(m||(m=new e),r(d,h,p,g,v,m))},DM}function ZM(){if($M)return RM;$M=1;var e=qM(),t=wh();return RM=function n(r,i,o,a,s){return r===i||(null==r||null==i||!t(r)&&!t(i)?r!=r&&i!=i:e(r,i,o,a,n,s))},RM}var GM=Wi(function(){if(UM)return BM;UM=1;var e=ZM();return BM=function(t,n){return e(t,n)}}()),XM={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"transparent",outlineOpacity:1},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}}};function KM(){return KM=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},KM.apply(this,arguments)}function QM(e,t){return QM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},QM(e,t)}function JM(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 eS=["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"],tS=Y(),nS=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=he((function(){var e=Kv(o)?Kl[o]:o;return{animate:r,config:e}}),[r,o]);return et(tS.Provider,{value:a,children:t})},rS={animate:Ta.bool,motionConfig:Ta.oneOfType([Ta.oneOf(Object.keys(Kl)),Ta.shape({mass:Ta.number,tension:Ta.number,friction:Ta.number,clamp:Ta.bool,precision:Ta.number,velocity:Ta.number,duration:Ta.number,easing:Ta.func})])};nS.propTypes={children:Ta.node.isRequired,animate:rS.animate,config:rS.motionConfig};var iS=function(){return ge(tS)},oS=function(e){var t=iS(),n=t.animate,r=t.config,i=function(e){var t=de();return fe((function(){t.current=e}),[e]),t.current}(e),o=he((function(){return zv(i,e)}),[i,e]);return((e,...t)=>new Yc(e,t))(Hc({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value,o)},aS={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:Qv(A_),PRGn:Qv(P_),PiYG:Qv(j_),PuOr:Qv(D_),RdBu:Qv(R_),RdGy:Qv(B_),RdYlBu:Qv(I_),RdYlGn:Qv(H_),spectral:Qv(W_),blues:Qv(mw),greens:Qv(yw),greys:Qv(ww),oranges:Qv(Tw),purples:Qv(kw),reds:Qv(Mw),BuGn:Qv(q_),BuPu:Qv(G_),GnBu:Qv(K_),OrRd:Qv(J_),PuBuGn:Qv(tw),PuBu:Qv(rw),PuRd:Qv(ow),RdPu:Qv(sw),YlGnBu:Qv(cw),YlGn:Qv(fw),YlOrBr:Qv(hw),YlOrRd:Qv(gw)},sS=Object.keys(aS);Qv(A_),Qv(P_),Qv(j_),Qv(D_),Qv(R_),Qv(B_),Qv(I_),Qv(H_),Qv(W_),Qv(mw),Qv(yw),Qv(ww),Qv(Tw),Qv(kw),Qv(Mw),Qv(q_),Qv(G_),Qv(K_),Qv(J_),Qv(tw),Qv(rw),Qv(ow),Qv(sw),Qv(cw),Qv(fw),Qv(hw),Qv(gw),Ta.oneOfType([Ta.oneOf(sS),Ta.func,Ta.arrayOf(Ta.string)]);var lS={basis:function(e){return new Ho(e)},basisClosed:function(e){return new Vo(e)},basisOpen:function(e){return new Wo(e)},bundle:qo,cardinal:Xo,cardinalClosed:Qo,cardinalOpen:ea,catmullRom:ra,catmullRomClosed:oa,catmullRomOpen:sa,linear:Do,linearClosed:function(e){return new la(e)},monotoneX:function(e){return new ha(e)},monotoneY:function(e){return new pa(e)},natural:function(e){return new va(e)},step:function(e){return new ba(e,.5)},stepAfter:function(e){return new ba(e,1)},stepBefore:function(e){return new ba(e,0)}},cS=Object.keys(lS);cS.filter((function(e){return e.endsWith("Closed")})),mx(cS,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),mx(cS,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var uS=function(e){if(!lS[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return lS[e]};Ta.shape({top:Ta.number,right:Ta.number,bottom:Ta.number,left:Ta.number}).isRequired,Ta.oneOf(["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]),vm(S_);var fS={top:0,right:0,bottom:0,left:0},dS=function(e,t,n){return void 0===n&&(n={}),he((function(){var r=KM({},fS,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])},hS=function(){var e=de(null),t=ue({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=ue((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return fe((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[]),[e,n]},pS=function(e){return he((function(){return function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?ok(e.slice("5")):Tx(e):function(e){return""+e}}(e)}),[e])},gS=Y(),vS={},mS=function(e){var t=e.theme,n=void 0===t?vS:t,r=e.children,i=function(e){return he((function(){return function(e,t){var n=yg({},e,t);return eS.forEach((function(e){Dg(n,e,function(e,t){return KM({},t,e)}(Lg(n,e),n.text))})),n}(XM,e)}),[e])}(n);return et(gS.Provider,{value:i,children:r})};mS.propTypes={children:Ta.node.isRequired,theme:Ta.object};var bS=function(){return ge(gS)},yS=["outlineWidth","outlineColor","outlineOpacity"],_S=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,JM(e,yS)},wS=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?Qe(r,{},t):t};wS.propTypes={children:Ta.node.isRequired,condition:Ta.bool.isRequired,wrapper:Ta.element.isRequired};var xS={position:"relative"},kS=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,o=e.isInteractive,a=void 0===o||o,s=e.animate,l=e.motionConfig,c=de(null);return et(mS,{theme:n,children:et(nS,{animate:s,config:l,children:et(vd,{container:c,children:et(wS,{condition:i,wrapper:et("div",{style:xS,ref:c}),children:[t,a&&et(gd,{})]})})})})};kS.propTypes={children:Ta.element.isRequired,isInteractive:Ta.bool,renderWrapper:Ta.bool,theme:Ta.object,animate:Ta.bool,motionConfig:Ta.oneOfType([Ta.string,rS.motionConfig])},Ta.func.isRequired,Ta.bool,Ta.bool,Ta.object.isRequired,Ta.bool.isRequired,Ta.oneOfType([Ta.string,rS.motionConfig]);var CS=function(e){var t=e.children,n=hS(),r=n[0],i=n[1];return et("div",{ref:r,style:{width:"100%",height:"100%"},children:i.width>0&&i.height>0&&t({width:i.width,height:i.height})})};CS.propTypes={children:Ta.func.isRequired};var MS=["id","colors"],SS=function(e){var t=e.id,n=e.colors;return et("linearGradient",KM({id:t,x1:0,x2:0,y1:0,y2:1},JM(e,MS),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return et("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))};SS.propTypes={id:Ta.string.isRequired,colors:Ta.arrayOf(Ta.shape({offset:Ta.number.isRequired,color:Ta.string.isRequired,opacity:Ta.number})).isRequired,gradientTransform:Ta.string};var TS={linearGradient:SS},OS=Se((function(e){var t=e.id,n=e.background,r=void 0===n?"#ffffff":n,i=e.color,o=void 0===i?"#000000":i,a=e.size,s=void 0===a?4:a,l=e.padding,c=void 0===l?4:l,u=e.stagger,f=void 0!==u&&u,d=s+c,h=s/2,p=c/2;return!0===f&&(d=2*s+2*c),et("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[et("rect",{width:d,height:d,fill:r}),et("circle",{cx:p+h,cy:p+h,r:h,fill:o}),f&&et("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:o})]})}));OS.displayName="PatternDots",OS.propTypes={id:Ta.string.isRequired,color:Ta.string.isRequired,background:Ta.string.isRequired,size:Ta.number.isRequired,padding:Ta.number.isRequired,stagger:Ta.bool.isRequired};var AS=function(e){return e*Math.PI/180},ES={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"}}},PS=Se((function(e){var t=e.id,n=e.spacing,r=void 0===n?5:n,i=e.rotation,o=void 0===i?0:i,a=e.background,s=void 0===a?"#000000":a,l=e.color,c=void 0===l?"#ffffff":l,u=e.lineWidth,f=void 0===u?2:u,d=Math.round(o)%360,h=Math.abs(r);d>180?d-=360:d>90?d-=180:d<-180?d+=360:d<-90&&(d+=180);var p,g=h,v=h;return 0===d?p="\n M 0 0 L "+g+" 0\n M 0 "+v+" L "+g+" "+v+"\n ":90===d?p="\n M 0 0 L 0 "+v+"\n M "+g+" 0 L "+g+" "+v+"\n ":(g=Math.abs(h/Math.sin(AS(d))),v=h/Math.sin(AS(90-d)),p=d>0?"\n M 0 "+-v+" L "+2*g+" "+v+"\n M "+-g+" "+-v+" L "+g+" "+v+"\n M "+-g+" 0 L "+g+" "+2*v+"\n ":"\n M "+-g+" "+v+" L "+g+" "+-v+"\n M "+-g+" "+2*v+" L "+2*g+" "+-v+"\n M 0 "+2*v+" L "+2*g+" 0\n "),et("pattern",{id:t,width:g,height:v,patternUnits:"userSpaceOnUse",children:[et("rect",{width:g,height:v,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),et("path",{d:p,strokeWidth:f,stroke:c,strokeLinecap:"square"})]})}));PS.displayName="PatternLines",PS.propTypes={id:Ta.string.isRequired,spacing:Ta.number.isRequired,rotation:Ta.number.isRequired,background:Ta.string.isRequired,color:Ta.string.isRequired,lineWidth:Ta.number.isRequired};var LS=Se((function(e){var t=e.id,n=e.color,r=void 0===n?"#000000":n,i=e.background,o=void 0===i?"#ffffff":i,a=e.size,s=void 0===a?4:a,l=e.padding,c=void 0===l?4:l,u=e.stagger,f=void 0!==u&&u,d=s+c,h=c/2;return!0===f&&(d=2*s+2*c),et("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[et("rect",{width:d,height:d,fill:o}),et("rect",{x:h,y:h,width:s,height:s,fill:r}),f&&et("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})}));LS.displayName="PatternSquares",LS.propTypes={id:Ta.string.isRequired,color:Ta.string.isRequired,background:Ta.string.isRequired,size:Ta.number.isRequired,padding:Ta.number.isRequired,stagger:Ta.bool.isRequired};var jS={patternDots:OS,patternLines:PS,patternSquares:LS},NS=["type"],DS=KM({},TS,jS),FS=function(e){var t=e.defs;return!t||t.length<1?null:et("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=JM(e,NS);return DS[t]?k(DS[t],KM({key:n.id},n)):null}))})};FS.propTypes={defs:Ta.arrayOf(Ta.shape({type:Ta.oneOf(Object.keys(DS)).isRequired,id:Ta.string.isRequired}))};var RS=Se(FS),$S=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,a=e.role,s=e.ariaLabel,l=e.ariaLabelledBy,c=e.ariaDescribedBy,u=e.isFocusable,f=bS();return et("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:a,"aria-label":s,"aria-labelledby":l,"aria-describedby":c,focusable:u,tabIndex:u?0:void 0,children:[et(RS,{defs:i}),et("rect",{width:t,height:n,fill:f.background}),et("g",{transform:"translate("+r.left+","+r.top+")",children:o})]})};$S.propTypes={width:Ta.number.isRequired,height:Ta.number.isRequired,margin:Ta.shape({top:Ta.number.isRequired,left:Ta.number.isRequired}).isRequired,defs:Ta.array,children:Ta.oneOfType([Ta.arrayOf(Ta.node),Ta.node]).isRequired,role:Ta.string,isFocusable:Ta.bool,ariaLabel:Ta.string,ariaLabelledBy:Ta.string,ariaDescribedBy:Ta.string};var BS=function(e){var t=e.size,n=e.color,r=e.borderWidth;return et("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})};BS.propTypes={size:Ta.number.isRequired,color:Ta.string.isRequired,borderWidth:Ta.number.isRequired,borderColor:Ta.string.isRequired};var US=Se(BS),IS=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?US:r,o=e.size,a=e.datum,s=e.color,l=e.borderWidth,c=e.borderColor,u=e.label,f=e.labelTextAnchor,d=void 0===f?"middle":f,h=e.labelYOffset,p=void 0===h?-12:h,g=bS(),v=iS(),m=v.animate,b=Hc({transform:"translate("+t+", "+n+")",config:v.config,immediate:!m});return et(cu.g,{transform:b.transform,style:{pointerEvents:"none"},children:[k(i,{size:o,color:s,datum:a,borderWidth:l,borderColor:c}),u&&et("text",{textAnchor:d,y:p,style:_S(g.dots.text),children:u})]})};IS.propTypes={x:Ta.number.isRequired,y:Ta.number.isRequired,datum:Ta.object.isRequired,size:Ta.number.isRequired,color:Ta.string.isRequired,borderWidth:Ta.number.isRequired,borderColor:Ta.string.isRequired,symbol:Ta.oneOfType([Ta.func,Ta.object]),label:Ta.oneOfType([Ta.string,Ta.number]),labelTextAnchor:Ta.oneOf(["start","middle","end"]),labelYOffset:Ta.number};var zS=Se(IS),HS=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,s=e.textStyle,l=e.legend,c=e.legendNode,u=e.legendPosition,f=void 0===u?"top-right":u,d=e.legendOffsetX,h=void 0===d?14:d,p=e.legendOffsetY,g=void 0===p?14:p,v=e.legendOrientation,m=void 0===v?"horizontal":v,b=bS(),y=0,_=0,w=0,x=0;if("y"===r?(w=i(o),_=t):(y=i(o),x=n),l&&!c){var k=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,s=0,l=0,c="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,l=o,u="end";break;case"top":l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=i,l=o,u="horizontal"===a?"start":"end";break;case"right":s=i,l=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=i,l=n-o,u="start";break;case"bottom":l=n+o,u="horizontal"===a?"middle":"end";break;case"bottom-left":l=n-o,s=-i,u="horizontal"===a?"end":"start";break;case"left":s=-i,l=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=i,l=-o,u="start";break;case"top":s=t/2,l=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-i,l=-o,u="horizontal"===a?"end":"start";break;case"right":s=t+i,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-i,l=o,u="end";break;case"bottom":s=t/2,l=o,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=i,l=o,u="horizontal"===a?"start":"end";break;case"left":s=-i,u="horizontal"===a?"end":"middle"}return{x:s,y:l,rotation:c,textAnchor:u}}({axis:r,width:t,height:n,position:f,offsetX:h,offsetY:g,orientation:m});c=et("text",{transform:"translate("+k.x+", "+k.y+") rotate("+k.rotation+")",textAnchor:k.textAnchor,dominantBaseline:"central",style:s,children:l})}return et("g",{transform:"translate("+y+", "+w+")",children:[et("line",{x1:0,x2:_,y1:0,y2:x,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:a}),c]})};HS.propTypes={width:Ta.number.isRequired,height:Ta.number.isRequired,axis:Ta.oneOf(["x","y"]).isRequired,scale:Ta.func.isRequired,value:Ta.oneOfType([Ta.number,Ta.string,Ta.instanceOf(Date)]).isRequired,lineStyle:Ta.object,textStyle:Ta.object,legend:Ta.string,legendPosition:Ta.oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:Ta.number.isRequired,legendOffsetY:Ta.number.isRequired,legendOrientation:Ta.oneOf(["horizontal","vertical"]).isRequired};var VS=Se(HS),WS=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 et(VS,KM({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null};WS.propTypes={width:Ta.number.isRequired,height:Ta.number.isRequired,xScale:Ta.func.isRequired,yScale:Ta.func.isRequired,markers:Ta.arrayOf(Ta.shape({axis:Ta.oneOf(["x","y"]).isRequired,value:Ta.oneOfType([Ta.number,Ta.string,Ta.instanceOf(Date)]).isRequired,lineStyle:Ta.object,textStyle:Ta.object}))};var YS=Se(WS),qS=["theme","renderWrapper","animate","motionConfig"],ZS=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,QM(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,a=JM(t,qS);return et(kS,{theme:n,renderWrapper:r,isInteractive:a.isInteractive,animate:i,motionConfig:o,children:et(e,KM({},a))})},i}(S)},GS=function(e,t){var n,r="touches"in t?t.touches[0]:t,i=r.clientX,o=r.clientY,a=e.getBoundingClientRect(),s=(n=void 0!==e.getBBox?e.getBBox():{width:e.offsetWidth||0,height:e.offsetHeight||0}).width===a.width?1:n.width/a.width;return[(i-a.left)*s,(o-a.top)*s]},XS=Object.keys(TS),KS=Object.keys(jS);function QS(){return QS=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},QS.apply(this,arguments)}function JS(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 eT={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:b_,accent:y_,dark2:__,paired:w_,pastel1:x_,pastel2:k_,set1:C_,set2:M_,set3:S_,tableau10:T_},tT=Object.keys(eT),nT={brown_blueGreen:A_,purpleRed_green:P_,pink_yellowGreen:j_,purple_orange:D_,red_blue:R_,red_grey:B_,red_yellow_blue:I_,red_yellow_green:H_,spectral:W_},rT=Object.keys(nT),iT={brown_blueGreen:E_,purpleRed_green:L_,pink_yellowGreen:N_,purple_orange:F_,red_blue:$_,red_grey:U_,red_yellow_blue:z_,red_yellow_green:V_,spectral:Y_},oT={blues:mw,greens:yw,greys:ww,oranges:Tw,purples:kw,reds:Mw,blue_green:q_,blue_purple:G_,green_blue:K_,orange_red:J_,purple_blue_green:tw,purple_blue:rw,purple_red:ow,red_purple:sw,yellow_green_blue:cw,yellow_green:fw,yellow_orange_brown:hw,yellow_orange_red:gw},aT=Object.keys(oT),sT={blues:bw,greens:_w,greys:xw,oranges:Ow,purples:Cw,reds:Sw,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:sx,inferno:cx,magma:lx,plasma:ux,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:Ew,cool:Pw,cubehelixDefault:Aw,blue_green:Z_,blue_purple:X_,green_blue:Q_,orange_red:ew,purple_blue_green:nw,purple_blue:iw,purple_red:aw,red_purple:lw,yellow_green_blue:uw,yellow_green:dw,yellow_orange_brown:pw,yellow_orange_red:vw},lT=QS({},eT,nT,oT);QS({},iT,sT,{rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Lw.h=360*e-100,Lw.s=1.5-1.5*t,Lw.l=.8-.9*t,Lw+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,jw.r=255*(t=Math.sin(e))*t,jw.g=255*(t=Math.sin(e+Nw))*t,jw.b=255*(t=Math.sin(e+Dw))*t,jw+""}});var cT,uT,fT,dT,hT,pT,gT,vT,mT=function(e,t){return he((function(){return function(e,t){if("function"==typeof e)return e;if(qC(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=Lg(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 Lg(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],a=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}))}},s=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 JS(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)?JS(e,t):void 0}}(e))){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=s()).done;)a();return 0===o.length?r:function(e){return o.reduce((function(e,t){return t(e)}),iv(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}}(e,t)}),[e,t])};function bT(){if(pT)return hT;pT=1;var e=dx(),t=hx(),n=px(),r=gx(),i=function(){if(dT)return fT;dT=1;var e=YM(),t=uT?cT:(uT=1,cT=function(){}),n=VM(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return fT=r}(),o=VM();return hT=function(a,s,l){var c=-1,u=t,f=a.length,d=!0,h=[],p=h;if(l)d=!1,u=n;else if(f>=200){var g=s?null:i(a);if(g)return o(g);d=!1,u=r,p=new e}else p=s?[]:h;e:for(;++c<f;){var v=a[c],m=s?s(v):v;if(v=l||0!==v?v:0,d&&m==m){for(var b=p.length;b--;)if(p[b]===m)continue e;s&&p.push(m),h.push(v)}else u(p,m,l)||(p!==h&&p.push(m),h.push(v))}return h},hT}Ta.oneOfType([Ta.string,Ta.func,Ta.shape({theme:Ta.string.isRequired}),Ta.shape({from:Ta.string.isRequired,modifiers:Ta.arrayOf(Ta.array)})]);var yT,_T,wT,xT,kT,CT,MT,ST,TT,OT,AT,ET,PT,LT,jT,NT,DT,FT,RT,$T,BT,UT,IT=Wi(function(){if(vT)return gT;vT=1;var e=bT();return gT=function(t){return t&&t.length?e(t):[]}}());function zT(){if(xT)return wT;xT=1;var e=Cd();return wT=function(t){return t==t&&!e(t)}}function HT(){return ST||(ST=1,MT=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}),MT}function VT(){if($T)return RT;$T=1;var e=function(){if(OT)return TT;OT=1;var e=function(){if(_T)return yT;_T=1;var e=Ld(),t=ZM();return yT=function(n,r,i,o){var a=i.length,s=a,l=!o;if(null==n)return!s;for(n=Object(n);a--;){var c=i[a];if(l&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++a<s;){var u=(c=i[a])[0],f=n[u],d=c[1];if(l&&c[2]){if(void 0===f&&!(u in n))return!1}else{var h=new e;if(o)var p=o(f,d,u,n,r,h);if(!(void 0===p?t(d,f,3,o,h):p))return!1}}return!0},yT}(),t=function(){if(CT)return kT;CT=1;var e=zT(),t=WM();return kT=function(n){for(var r=t(n),i=r.length;i--;){var o=r[i],a=n[o];r[i]=[o,a,e(a)]}return r},kT}(),n=HT();return TT=function(r){var i=t(r);return 1==i.length&&i[0][2]?n(i[0][0],i[0][1]):function(t){return t===r||e(t,r,i)}},TT}(),t=function(){if(ET)return AT;ET=1;var e=ZM(),t=Tg(),n=ZC(),r=wg(),i=zT(),o=HT(),a=Mg();return AT=function(s,l){return r(s)&&i(l)?o(a(s),l):function(r){var i=t(r,s);return void 0===i&&i===l?n(r,s):e(l,i,3)}}}(),n=Hp(),r=kh(),i=function(){if(FT)return DT;FT=1;var e=(LT||(LT=1,PT=function(e){return function(t){return null==t?void 0:t[e]}}),PT),t=function(){if(NT)return jT;NT=1;var e=Sg();return jT=function(t){return function(n){return e(n,t)}},jT}(),n=wg(),r=Mg();return DT=function(i){return n(i)?e(r(i)):t(i)}}();return RT=function(o){return"function"==typeof o?o:null==o?n:"object"==typeof o?r(o)?t(o[0],o[1]):e(o):i(o)}}var WT,YT,qT,ZT,GT,XT,KT,QT,JT,eO,tO,nO,rO,iO,oO,aO,sO,lO,cO=function(){if(UT)return BT;UT=1;var e=VT(),t=bT();return BT=function(n,r){return n&&n.length?t(n,e(r,2)):[]},BT}(),uO=Wi(cO);var fO,dO,hO,pO,gO=Wi(function(){if(lO)return sO;lO=1;var e=XC(),t=function(){if(aO)return oO;aO=1;var e=xg(),t=Sg(),n=VT(),r=function(){if(QT)return KT;QT=1;var e=function(){if(XT)return GT;XT=1;var e=function(){if(YT)return WT;YT=1;var e=Fd(),t=WM();return WT=function(n,r){return n&&e(n,r,t)},WT}(),t=function(){if(ZT)return qT;ZT=1;var e=Mh();return qT=function(t,n){return function(r,i){if(null==r)return r;if(!e(r))return t(r,i);for(var o=r.length,a=n?o:-1,s=Object(r);(n?a--:++a<o)&&!1!==i(s[a],a,s););return r}},qT}(),n=t(e);return GT=n}(),t=Mh();return KT=function(n,r){var i=-1,o=t(n)?Array(n.length):[];return e(n,(function(e,t,n){o[++i]=r(e,t,n)})),o},KT}(),i=(eO||(eO=1,JT=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),JT),o=Bh(),a=function(){if(iO)return rO;iO=1;var e=function(){if(nO)return tO;nO=1;var e=_g();return tO=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,o=t==t,a=e(t),s=void 0!==n,l=null===n,c=n==n,u=e(n);if(!l&&!u&&!a&&t>n||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}}();return rO=function(t,n,r){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,l=r.length;++i<s;){var c=e(o[i],a[i]);if(c)return i>=l?c:c*("desc"==r[i]?-1:1)}return t.index-n.index},rO}(),s=Hp(),l=kh();return oO=function(c,u,f){u=u.length?e(u,(function(e){return l(e)?function(n){return t(n,1===e.length?e[0]:e)}:e})):[s];var d=-1;u=e(u,o(n));var h=r(c,(function(t,n,r){return{criteria:e(u,(function(e){return e(t)})),index:++d,value:t}}));return i(h,(function(e,t){return a(e,t,f)}))},oO}(),n=Yp(),r=qp(),i=n((function(n,i){if(null==n)return[];var o=i.length;return o>1&&r(n,i[0],i[1])?i=[]:o>2&&r(i[0],i[1],i[2])&&(i=[i[0]]),t(n,e(i,1),[])}));return sO=i}()),vO=Wi(function(){if(pO)return hO;pO=1;var e=function(){if(dO)return fO;dO=1;var e=kd(),t=wh();return fO=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=Bh(),n=Fp(),r=n&&n.isDate,i=r?t(r):e;return hO=i}()),mO=new Date,bO=new Date;function yO(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 a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a<n&&n<r);return s},i.filter=function(n){return yO((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 mO.setTime(+t),bO.setTime(+r),e(mO),e(bO),Math.floor(n(mO,bO))},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 _O=yO((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));_O.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?yO((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):_O:null},_O.range;var wO=1e3,xO=6e4,kO=36e5,CO=6048e5,MO=yO((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*wO)}),(function(e,t){return(t-e)/wO}),(function(e){return e.getUTCSeconds()}));MO.range;var SO=yO((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*wO)}),(function(e,t){e.setTime(+e+t*xO)}),(function(e,t){return(t-e)/xO}),(function(e){return e.getMinutes()}));SO.range;var TO=yO((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*wO-e.getMinutes()*xO)}),(function(e,t){e.setTime(+e+t*kO)}),(function(e,t){return(t-e)/kO}),(function(e){return e.getHours()}));function OO(e){return yO((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())*xO)/CO}))}TO.range;var AO=OO(0),EO=OO(1),PO=OO(2),LO=OO(3),jO=OO(4),NO=OO(5),DO=OO(6);AO.range,EO.range,PO.range,LO.range,jO.range,NO.range,DO.range;var FO=yO((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()}));FO.range;var RO=yO((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()}));RO.every=function(e){return isFinite(e=Math.floor(e))&&e>0?yO((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},RO.range;var $O=yO((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*xO)}),(function(e,t){return(t-e)/xO}),(function(e){return e.getUTCMinutes()}));$O.range;var BO=yO((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*kO)}),(function(e,t){return(t-e)/kO}),(function(e){return e.getUTCHours()}));function UO(e){return yO((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)/CO}))}BO.range;var IO=UO(0),zO=UO(1),HO=UO(2),VO=UO(3),WO=UO(4),YO=UO(5),qO=UO(6);IO.range,zO.range,HO.range,VO.range,WO.range,YO.range,qO.range;var ZO=yO((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()}));ZO.range;var GO=yO((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()}));function XO(){return XO=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},XO.apply(this,arguments)}GO.every=function(e){return isFinite(e=Math.floor(e))&&e>0?yO((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},GO.range;var KO=[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)}],QO={millisecond:[],second:KO.slice(0,1),minute:KO.slice(0,2),hour:KO.slice(0,3),day:KO.slice(0,4),month:KO.slice(0,5),year:KO.slice(0,6)},JO=function(e){var t=e.format,n=void 0===t?"native":t,r=e.precision,i=void 0===r?"millisecond":r,o=e.useUTC,a=void 0===o||o,s=function(e){return function(t){return QO[e].forEach((function(e){e(t)})),t}}(i);return function(e){if(void 0===e)return e;if("native"===n||e instanceof Date)return s(e);var t=a?sk(n):ak(n);return s(t(e))}},eA=function(e,t,n,r){var i,o,a,s,l=e.min,c=void 0===l?0:l,u=e.max,f=void 0===u?"auto":u,d=e.stacked,h=void 0!==d&&d,p=e.reverse,g=void 0!==p&&p,v=e.clamp,m=void 0!==v&&v,b=e.nice,y=void 0!==b&&b;i="auto"===c?!0===h?null!=(o=t.minStacked)?o:0:t.min:c,a="auto"===f?!0===h?null!=(s=t.maxStacked)?s:0:t.max:f;var _=Vm().rangeRound("x"===r?[0,n]:[n,0]).domain(g?[a,i]:[i,a]).clamp(m);return!0===y?_.nice():"number"==typeof y&&_.nice(y),tA(_,h)},tA=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},nA=function(e,t){return e===t},rA=function(e,t){return e.getTime()===t.getTime()};function iA(e,t,n,r){switch(e.type){case"linear":return eA(e,t,n,r);case"point":return function(e,t,n){var r=ym().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;return function(e){var t=e;return t.type="band",t}(mm().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o))}(e,t,n,r);case"time":return function(e,t,n){var r,i,o=e.format,a=void 0===o?"native":o,s=e.precision,l=void 0===s?"millisecond":s,c=e.min,u=void 0===c?"auto":c,f=e.max,d=void 0===f?"auto":f,h=e.useUTC,p=void 0===h||h,g=e.nice,v=void 0!==g&&g,m=JO({format:a,precision:l,useUTC:p});r="auto"===u?m(t.min):"native"!==a?m(u):u,i="auto"===d?m(t.max):"native"!==a?m(d):d;var b=p?function(){return pm.apply(v_(Ib,zb,Bb,Rb,Ab,bb,vb,pb,db,Xb).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return pm.apply(v_(Hb,Vb,$b,Fb,wb,mb,gb,hb,db,Gb).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();b.range([0,n]),r&&i&&b.domain([r,i]),!0===v?b.nice():"object"!=typeof v&&"number"!=typeof v||b.nice(v);var y=b;return y.type="time",y.useUTC=p,y}(e,t,n);case"log":return function(e,t,n,r){var i,o=e.base,a=void 0===o?10:o,s=e.min,l=void 0===s?"auto":s,c=e.max,u=void 0===c?"auto":c;if(t.all.some((function(e){return 0===e})))throw new Error("a log scale domain must not include or cross zero");var f,d,h=!1;if(t.all.filter((function(e){return null!=e})).forEach((function(e){h||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(h=!0))})),h)throw new Error("a log scale domain must be strictly-positive or strictly-negative");f="auto"===l?t.min:l,d="auto"===u?t.max:u;var p=Qm().domain([f,d]).rangeRound("x"===r?[0,n]:[n,0]).base(a).nice();return p.type="log",p}(e,t,n,r);case"symlog":return function(e,t,n,r){var i,o,a=e.constant,s=void 0===a?1:a,l=e.min,c=void 0===l?"auto":l,u=e.max,f=void 0===u?"auto":u,d=e.reverse,h=void 0!==d&&d;i="auto"===c?t.min:c,o="auto"===f?t.max:f;var p=tb().constant(s).rangeRound("x"===r?[0,n]:[n,0]).nice();!0===h?p.domain([o,i]):p.domain([i,o]);var g=p;return g.type="symlog",g}(e,t,n,r);default:throw new Error("invalid scale spec")}}var oA=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},aA=function(e,t,n,r){var i={},o=i.getValue,a=void 0===o?function(e){return e.data[t]}:o,s=i.setValue,l=void 0===s?function(e,n){e.data[t]=n}:s;if("linear"===n.type)e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&l(e,parseFloat(String(t)))}))}));else if("time"===n.type&&"native"!==n.format){var c=JO(n);e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&l(e,c(t))}))}))}var u=[];switch(e.forEach((function(e){e.data.forEach((function(e){u.push(a(e))}))})),n.type){case"linear":var f=gO(IT(u).filter((function(e){return null!==e})),(function(e){return e}));return{all:f,min:Math.min.apply(Math,f),max:Math.max.apply(Math,f)};case"time":var d=uO(u,(function(e){return e.getTime()})).slice(0).sort((function(e,t){return t.getTime()-e.getTime()})).reverse();return{all:d,min:d[0],max:Qv(d)};default:var h=IT(u);return{all:h,min:h[0],max:Qv(h)}}},sA=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=vO(t)?rA:nA,a=[];n.forEach((function(n){var s=n.data.find((function(e){return o(e.data[r],t)})),l=null,c=null;if(void 0!==s){if(null!==(l=s.data[e])){var u=Qv(a);void 0===u?c=l:null!==u&&(c=u+l)}s.data["x"===e?"xStacked":"yStacked"]=c}a.push(c),null!==c&&i.push(c)}))})),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},lA=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}},cA={millisecond:[_O,_O],second:[MO,MO],minute:[SO,$O],hour:[TO,BO],day:[yO((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)})),yO((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:[AO,IO],sunday:[AO,IO],monday:[EO,zO],tuesday:[PO,HO],wednesday:[LO,VO],thursday:[jO,WO],friday:[NO,YO],saturday:[DO,qO],month:[FO,ZO],year:[RO,GO]},uA=Object.keys(cA),fA=new RegExp("^every\\s*(\\d+)?\\s*("+uA.join("|")+")s?$","i"),dA=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(fA);if(n){var r=n[1],i=n[2],o=cA[i][e.useUTC?1:0];if("day"===i){var a,s,l=e.domain(),c=l[0],u=l[1],f=new Date(u);return f.setDate(f.getDate()+1),null!=(a=null==(s=o.every(Number(null!=r?r:1)))?void 0:s.range(c,f))?a:[]}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(h=t)&&isFinite(h)&&Math.floor(h)===h)return e.ticks(t)}var h;return e.domain()};function hA(){return hA=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},hA.apply(this,arguments)}var pA=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,a=e.tickSize,s=e.tickPadding,l=e.tickRotation,c=e.truncateTickAt,u=e.engine,f=void 0===u?"svg":u,d=dA(r,o),h=ES[f],p="bandwidth"in r?lA(r):r,g={lineX:0,lineY:0},v={textX:0,textY:0},m="object"==typeof document&&"rtl"===document.dir,b=h.align.center,y=h.baseline.center;return"x"===n?(t=function(e){var t;return{x:null!=(t=p(e))?t:0,y:0}},g.lineY=a*("after"===i?1:-1),v.textY=(a+s)*("after"===i?1:-1),y="after"===i?h.baseline.top:h.baseline.bottom,0===l?b=h.align.center:"after"===i&&l<0||"before"===i&&l>0?(b=h.align[m?"left":"right"],y=h.baseline.center):("after"===i&&l>0||"before"===i&&l<0)&&(b=h.align[m?"right":"left"],y=h.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=p(e))?t:0}},g.lineX=a*("after"===i?1:-1),v.textX=(a+s)*("after"===i?1:-1),b="after"===i?h.align.left:h.align.right),{ticks:d.map((function(e){var n="string"==typeof e?function(e){var t=String(e).length;return c&&c>0&&t>c?""+String(e).slice(0,c).concat("..."):""+e}(e):e;return hA({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,v)})),textAlign:b,textBaseline:y}},gA=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=ok(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return Tx(e)},vA=function(e){var t,n=e.width,r=e.height,i=e.scale,o=e.axis,a=e.values,s=(t=a,(Array.isArray(t)?a:void 0)||dA(i,a)),l="bandwidth"in i?lA(i):i,c="x"===o?s.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=l(e))?t:0,x2:null!=(n=l(e))?n:0,y1:0,y2:r}})):s.map((function(e){var t,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:n,y1:null!=(t=l(e))?t:0,y2:null!=(r=l(e))?r:0}}));return c},mA=Se((function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,s=e.textBaseline,l=e.textAnchor,c=e.animatedProps,u=bS(),f=u.axis.ticks.line,d=u.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=he((function(){var e={opacity:c.opacity};return a?{style:hA({},e,{cursor:"pointer"}),onClick:function(e){return a(e,h)}}:{style:e}}),[c.opacity,a,h]);return et(cu.g,hA({transform:c.transform},p,{children:[et("line",{x1:0,x2:i,y1:0,y2:o,style:f}),d.outlineWidth>0&&et(cu.text,{dominantBaseline:s,textAnchor:l,transform:c.textTransform,style:d,strokeWidth:2*d.outlineWidth,stroke:d.outlineColor,strokeLinejoin:"round",children:""+h}),et(cu.text,{dominantBaseline:s,textAnchor:l,transform:c.textTransform,style:_S(d),children:""+h})]}))})),bA=Se((function(e){var t=e.axis,n=e.scale,r=e.x,i=void 0===r?0:r,o=e.y,a=void 0===o?0:o,s=e.length,l=e.ticksPosition,c=e.tickValues,u=e.tickSize,f=void 0===u?5:u,d=e.tickPadding,h=void 0===d?5:d,p=e.tickRotation,g=void 0===p?0:p,v=e.format,m=e.renderTick,b=void 0===m?mA:m,y=e.truncateTickAt,_=e.legend,w=e.legendPosition,x=void 0===w?"end":w,C=e.legendOffset,S=void 0===C?0:C,T=e.onClick,O=e.ariaHidden,A=bS(),E=A.axis.legend.text,P=he((function(){return gA(v,n)}),[v,n]),L=pA({axis:t,scale:n,ticksPosition:l,tickValues:c,tickSize:f,tickPadding:h,tickRotation:g,truncateTickAt:y}),j=L.ticks,N=L.textAlign,D=L.textBaseline,F=null;if(void 0!==_){var R,$=0,B=0,U=0;"y"===t?(U=-90,$=S,"start"===x?(R="start",B=s):"middle"===x?(R="middle",B=s/2):"end"===x&&(R="end")):(B=S,"start"===x?R="start":"middle"===x?(R="middle",$=s/2):"end"===x&&(R="end",$=s)),F=et(M,{children:[E.outlineWidth>0&&et("text",{transform:"translate("+$+", "+B+") rotate("+U+")",textAnchor:R,style:hA({dominantBaseline:"central"},E),strokeWidth:2*E.outlineWidth,stroke:E.outlineColor,strokeLinejoin:"round",children:_}),et("text",{transform:"translate("+$+", "+B+") rotate("+U+")",textAnchor:R,style:hA({dominantBaseline:"central"},E),children:_})]})}var I=iS(),z=I.animate,H=I.config,V=Hc({transform:"translate("+i+","+a+")",lineX2:"x"===t?s:0,lineY2:"x"===t?0:s,config:H,immediate:!z}),W=pe((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+g+")"}}),[g]),Y=pe((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+g+")"}}),[g]),q=Vc(j,{keys:function(e){return e.key},initial:W,from:Y,enter:W,update:W,leave:{opacity:0},config:H,immediate:!z});return et(cu.g,{transform:V.transform,"aria-hidden":O,children:[q((function(e,t,n,r){return k(b,hA({tickIndex:r,format:P,rotate:g,textBaseline:D,textAnchor:N,truncateTickAt:y,animatedProps:e},t,T?{onClick:T}:{}))})),et(cu.line,{style:A.axis.domain.line,x1:0,x2:V.lineX2,y1:0,y2:V.lineY2}),F]})})),yA=["top","right","bottom","left"],_A=Se((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 et(M,{children:yA.map((function(e){var a=o[e];if(!a)return null;var s="top"===e||"bottom"===e;return et(bA,hA({},a,{axis:s?"x":"y",x:"right"===e?r:0,y:"bottom"===e?i:0,scale:s?t:n,length:s?r:i,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:a.truncateTickAt}),e)}))})})),wA=Se((function(e){var t=e.animatedProps,n=bS();return et(cu.line,hA({},t,n.grid.line))})),xA=Se((function(e){var t=e.lines,n=iS(),r=n.animate,i=Vc(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 et("g",{children:i((function(e,t){return k(wA,hA({},t,{key:t.key,animatedProps:e}))}))})})),kA=Se((function(e){var t=e.width,n=e.height,r=e.xScale,i=e.yScale,o=e.xValues,a=e.yValues,s=he((function(){return!!r&&vA({width:t,height:n,scale:r,axis:"x",values:o})}),[r,o,t,n]),l=he((function(){return!!i&&vA({width:t,height:n,scale:i,axis:"y",values:a})}),[n,t,i,a]);return et(M,{children:[s&&et(xA,{lines:s}),l&&et(xA,{lines:l})]})})),CA=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;vA({width:n,height:r,scale:i,axis:o,values:a}).forEach((function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()}))};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 SA,TA,OA={top:0,right:0,bottom:0,left:0},AA=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,a=e.itemWidth,s=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 l="number"==typeof i?{top:i,right:i,bottom:i,left:i}:MA({},OA,i),c=l.left+l.right,u=l.top+l.bottom,f=a+c,d=s+u,h=(o-1)*r;return"row"===n?f=a*o+h+c:"column"===n&&(d=s*o+h+u),{width:f,height:d,padding:l}},EA=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,a=e.width,s=e.height,l=n,c=r;switch(t){case"top":l+=(i-a)/2;break;case"top-right":l+=i-a;break;case"right":l+=i-a,c+=(o-s)/2;break;case"bottom-right":l+=i-a,c+=o-s;break;case"bottom":l+=(i-a)/2,c+=o-s;break;case"bottom-left":c+=o-s;break;case"left":c+=(o-s)/2;break;case"center":l+=(i-a)/2,c+=(o-s)/2}return{x:l,y:c}},PA=function(e){var t,n,r,i,o,a,s=e.direction,l=e.justify,c=e.symbolSize,u=e.symbolSpacing,f=e.width,d=e.height;switch(s){case"left-to-right":t=0,n=(d-c)/2,i=d/2,a="central",l?(r=f,o="end"):(r=c+u,o="start");break;case"right-to-left":t=f-c,n=(d-c)/2,i=d/2,a="central",l?(r=0,o="start"):(r=f-c-u,o="end");break;case"top-to-bottom":t=(f-c)/2,n=0,r=f/2,o="middle",l?(i=d,a="alphabetic"):(i=c+u,a="text-before-edge");break;case"bottom-to-top":t=(f-c)/2,n=d-c,r=f/2,o="middle",l?(i=0,a="text-before-edge"):(i=d-c-u,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:a}},LA={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return et("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return et("g",{transform:"translate("+t+","+n+")",children:et("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:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return et("rect",{x:t,y:n,fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,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,a=void 0===o?1:o,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return et("g",{transform:"translate("+t+","+n+")",children:et("path",{d:"\n M"+r/2+" 0\n L"+r+" "+r+"\n L0 "+r+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})}},jA=function(e){var t,n,r,i,o,a,s,l,c,u,f,d=e.x,h=e.y,p=e.width,g=e.height,v=e.data,m=e.direction,b=void 0===m?"left-to-right":m,y=e.justify,_=void 0!==y&&y,w=e.textColor,x=e.background,C=void 0===x?"transparent":x,M=e.opacity,S=void 0===M?1:M,T=e.symbolShape,O=void 0===T?"square":T,A=e.symbolSize,E=void 0===A?16:A,P=e.symbolSpacing,L=void 0===P?8:P,j=e.symbolBorderWidth,N=void 0===j?0:j,D=e.symbolBorderColor,F=void 0===D?"transparent":D,R=e.onClick,$=e.onMouseEnter,B=e.onMouseLeave,U=e.toggleSerie,I=e.effects,z=ue({}),H=z[0],V=z[1],W=bS(),Y=pe((function(e){if(I){var t=I.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return MA({},e,t.style)}),{});V(t)}null==$||$(v,e)}),[$,v,I]),q=pe((function(e){if(I){var t=I.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return MA({},e,t.style)}),{});V(t)}null==B||B(v,e)}),[B,v,I]),Z=PA({direction:b,justify:_,symbolSize:null!=(t=H.symbolSize)?t:E,symbolSpacing:L,width:p,height:g}),G=Z.symbolX,X=Z.symbolY,K=Z.labelX,Q=Z.labelY,J=Z.labelAnchor,ee=Z.labelAlignment,te=[R,$,B,U].some((function(e){return void 0!==e})),ne="function"==typeof O?O:LA[O];return et("g",{transform:"translate("+d+","+h+")",style:{opacity:null!=(n=H.itemOpacity)?n:S},children:[et("rect",{width:p,height:g,fill:null!=(r=H.itemBackground)?r:C,style:{cursor:te?"pointer":"auto"},onClick:function(e){null==R||R(v,e),null==U||U(v.id)},onMouseEnter:Y,onMouseLeave:q}),k(ne,MA({id:v.id,x:G,y:X,size:null!=(i=H.symbolSize)?i:E,fill:null!=(o=null!=(a=v.fill)?a:v.color)?o:"black",borderWidth:null!=(s=H.symbolBorderWidth)?s:N,borderColor:null!=(l=H.symbolBorderColor)?l:F},v.hidden?W.legends.hidden.symbol:void 0)),et("text",{textAnchor:J,style:MA({},_S(W.legends.text),{fill:null!=(c=null!=(u=null!=(f=H.itemTextColor)?f:w)?u:W.legends.text.fill)?c:"black",dominantBaseline:ee,pointerEvents:"none",userSelect:"none"},v.hidden?W.legends.hidden.text:void 0),x:K,y:Q,children:v.label})]})},NA=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,a=void 0===o?0:o,s=e.justify,l=e.effects,c=e.itemWidth,u=e.itemHeight,f=e.itemDirection,d=void 0===f?"left-to-right":f,h=e.itemsSpacing,p=void 0===h?0:h,g=e.itemTextColor,v=e.itemBackground,m=void 0===v?"transparent":v,b=e.itemOpacity,y=void 0===b?1:b,_=e.symbolShape,w=e.symbolSize,x=e.symbolSpacing,k=e.symbolBorderWidth,C=e.symbolBorderColor,M=e.onClick,S=e.onMouseEnter,T=e.onMouseLeave,O=e.toggleSerie,A=AA({itemCount:t.length,itemWidth:c,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,E="row"===i?c+p:0,P="column"===i?u+p:0;return et("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return et(jA,{data:e,x:t*E+A.left,y:t*P+A.top,width:c,height:u,direction:d,justify:s,effects:l,textColor:g,background:m,opacity:y,symbolShape:_,symbolSize:w,symbolSpacing:x,symbolBorderWidth:k,symbolBorderColor:C,onClick:M,onMouseEnter:S,onMouseLeave:T,toggleSerie:O},t)}))})},DA=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?0:i,a=e.translateY,s=void 0===a?0:a,l=e.anchor,c=e.direction,u=e.padding,f=void 0===u?0:u,d=e.justify,h=e.itemsSpacing,p=void 0===h?0:h,g=e.itemWidth,v=e.itemHeight,m=e.itemDirection,b=e.itemTextColor,y=e.itemBackground,_=e.itemOpacity,w=e.symbolShape,x=e.symbolSize,k=e.symbolSpacing,C=e.symbolBorderWidth,M=e.symbolBorderColor,S=e.onClick,T=e.onMouseEnter,O=e.onMouseLeave,A=e.toggleSerie,E=e.effects,P=AA({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:v,direction:c,padding:f}),L=P.width,j=P.height,N=EA({anchor:l,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:L,height:j}),D=N.x,F=N.y;return et(NA,{data:t,x:D,y:F,direction:c,padding:f,justify:d,effects:E,itemsSpacing:p,itemWidth:g,itemHeight:v,itemDirection:m,itemTextColor:b,itemBackground:y,itemOpacity:_,symbolShape:w,symbolSize:x,symbolSpacing:k,symbolBorderWidth:C,symbolBorderColor:M,onClick:S,onMouseEnter:T,onMouseLeave:O,toggleSerie:"boolean"==typeof A?void 0:A})},FA={start:"left",middle:"center",end:"right"},RA=function(){if(TA)return SA;TA=1;var e=kg(),t=0;return SA=function(n){var r=++t;return e(n)+r},SA}(),$A=Wi(RA);const BA=134217729;function UA(e,t,n,r,i){let o,a,s,l,c=t[0],u=r[0],f=0,d=0;u>c==u>-c?(o=c,c=t[++f]):(o=u,u=r[++d]);let h=0;if(f<e&&d<n)for(u>c==u>-c?(a=c+o,s=o-(a-c),c=t[++f]):(a=u+o,s=o-(a-u),u=r[++d]),o=a,0!==s&&(i[h++]=s);f<e&&d<n;)u>c==u>-c?(a=o+c,l=a-o,s=o-(a-l)+(c-l),c=t[++f]):(a=o+u,l=a-o,s=o-(a-l)+(u-l),u=r[++d]),o=a,0!==s&&(i[h++]=s);for(;f<e;)a=o+c,l=a-o,s=o-(a-l)+(c-l),c=t[++f],o=a,0!==s&&(i[h++]=s);for(;d<n;)a=o+u,l=a-o,s=o-(a-l)+(u-l),u=r[++d],o=a,0!==s&&(i[h++]=s);return 0===o&&0!==h||(i[h++]=o),h}function IA(e){return new Float64Array(e)}const zA=IA(4),HA=IA(8),VA=IA(12),WA=IA(16),YA=IA(4);function qA(e,t,n,r,i,o){const a=(t-o)*(n-i),s=(e-i)*(r-o),l=a-s,c=Math.abs(a+s);return Math.abs(l)>=33306690738754716e-32*c?l:-function(e,t,n,r,i,o,a){let s,l,c,u,f,d,h,p,g,v,m,b,y,_,w,x,k,C;const M=e-i,S=n-i,T=t-o,O=r-o;_=M*O,d=BA*M,h=d-(d-M),p=M-h,d=BA*O,g=d-(d-O),v=O-g,w=p*v-(_-h*g-p*g-h*v),x=T*S,d=BA*T,h=d-(d-T),p=T-h,d=BA*S,g=d-(d-S),v=S-g,k=p*v-(x-h*g-p*g-h*v),m=w-k,f=w-m,zA[0]=w-(m+f)+(f-k),b=_+m,f=b-_,y=_-(b-f)+(m-f),m=y-x,f=y-m,zA[1]=y-(m+f)+(f-x),C=b+m,f=C-b,zA[2]=b-(C-f)+(m-f),zA[3]=C;let A=function(e,t){let n=t[0];for(let e=1;e<4;e++)n+=t[e];return n}(0,zA),E=22204460492503146e-32*a;if(A>=E||-A>=E)return A;if(f=e-M,s=e-(M+f)+(f-i),f=n-S,c=n-(S+f)+(f-i),f=t-T,l=t-(T+f)+(f-o),f=r-O,u=r-(O+f)+(f-o),0===s&&0===l&&0===c&&0===u)return A;if(E=11093356479670487e-47*a+33306690738754706e-32*Math.abs(A),A+=M*u+O*s-(T*c+S*l),A>=E||-A>=E)return A;_=s*O,d=BA*s,h=d-(d-s),p=s-h,d=BA*O,g=d-(d-O),v=O-g,w=p*v-(_-h*g-p*g-h*v),x=l*S,d=BA*l,h=d-(d-l),p=l-h,d=BA*S,g=d-(d-S),v=S-g,k=p*v-(x-h*g-p*g-h*v),m=w-k,f=w-m,YA[0]=w-(m+f)+(f-k),b=_+m,f=b-_,y=_-(b-f)+(m-f),m=y-x,f=y-m,YA[1]=y-(m+f)+(f-x),C=b+m,f=C-b,YA[2]=b-(C-f)+(m-f),YA[3]=C;const P=UA(4,zA,4,YA,HA);_=M*u,d=BA*M,h=d-(d-M),p=M-h,d=BA*u,g=d-(d-u),v=u-g,w=p*v-(_-h*g-p*g-h*v),x=T*c,d=BA*T,h=d-(d-T),p=T-h,d=BA*c,g=d-(d-c),v=c-g,k=p*v-(x-h*g-p*g-h*v),m=w-k,f=w-m,YA[0]=w-(m+f)+(f-k),b=_+m,f=b-_,y=_-(b-f)+(m-f),m=y-x,f=y-m,YA[1]=y-(m+f)+(f-x),C=b+m,f=C-b,YA[2]=b-(C-f)+(m-f),YA[3]=C;const L=UA(P,HA,4,YA,VA);_=s*u,d=BA*s,h=d-(d-s),p=s-h,d=BA*u,g=d-(d-u),v=u-g,w=p*v-(_-h*g-p*g-h*v),x=l*c,d=BA*l,h=d-(d-l),p=l-h,d=BA*c,g=d-(d-c),v=c-g,k=p*v-(x-h*g-p*g-h*v),m=w-k,f=w-m,YA[0]=w-(m+f)+(f-k),b=_+m,f=b-_,y=_-(b-f)+(m-f),m=y-x,f=y-m,YA[1]=y-(m+f)+(f-x),C=b+m,f=C-b,YA[2]=b-(C-f)+(m-f),YA[3]=C;const j=UA(L,VA,4,YA,WA);return WA[j-1]}(e,t,n,r,i,o,c)}const ZA=Math.pow(2,-52),GA=new Uint32Array(512);class XA{static from(e,t=nE,n=rE){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 XA(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),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 a=1/0,s=1/0,l=-1/0,c=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<a&&(a=n),r<s&&(s=r),n>l&&(l=n),r>c&&(c=r),this._ids[t]=t}const u=(a+l)/2,f=(s+c)/2;let d,h,p;for(let t=0,n=1/0;t<o;t++){const r=KA(u,f,e[2*t],e[2*t+1]);r<n&&(d=t,n=r)}const g=e[2*d],v=e[2*d+1];for(let t=0,n=1/0;t<o;t++){if(t===d)continue;const r=KA(g,v,e[2*t],e[2*t+1]);r<n&&r>0&&(h=t,n=r)}let m=e[2*h],b=e[2*h+1],y=1/0;for(let t=0;t<o;t++){if(t===d||t===h)continue;const n=JA(g,v,m,b,e[2*t],e[2*t+1]);n<y&&(p=t,y=n)}let _=e[2*p],w=e[2*p+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];eE(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],o=this._dists[i];o>r&&(t[n++]=i,r=o)}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(qA(g,v,m,b,_,w)<0){const e=h,t=m,n=b;h=p,m=_,b=w,p=e,_=t,w=n}const x=function(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,f=l*l+c*c,d=.5/(a*c-s*l);return{x:e+(c*u-s*f)*d,y:t+(a*f-l*u)*d}}(g,v,m,b,_,w);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=KA(e[2*t],e[2*t+1],x.x,x.y);eE(this._ids,this._dists,0,o-1),this._hullStart=d;let k=3;n[d]=t[p]=h,n[h]=t[d]=p,n[p]=t[h]=d,r[d]=0,r[h]=1,r[p]=2,i.fill(-1),i[this._hashKey(g,v)]=d,i[this._hashKey(m,b)]=h,i[this._hashKey(_,w)]=p,this.trianglesLen=0,this._addTriangle(d,h,p,-1,-1,-1);for(let o,a,s=0;s<this._ids.length;s++){const l=this._ids[s],c=e[2*l],u=e[2*l+1];if(s>0&&Math.abs(c-o)<=ZA&&Math.abs(u-a)<=ZA)continue;if(o=c,a=u,l===d||l===h||l===p)continue;let f=0;for(let e=0,t=this._hashKey(c,u);e<this._hashSize&&(f=i[(t+e)%this._hashSize],-1===f||f===n[f]);e++);f=t[f];let g,v=f;for(;g=n[v],qA(c,u,e[2*v],e[2*v+1],e[2*g],e[2*g+1])>=0;)if(v=g,v===f){v=-1;break}if(-1===v)continue;let m=this._addTriangle(v,l,n[v],-1,-1,r[v]);r[l]=this._legalize(m+2),r[v]=m,k++;let b=n[v];for(;g=n[b],qA(c,u,e[2*b],e[2*b+1],e[2*g],e[2*g+1])<0;)m=this._addTriangle(b,l,g,r[l],-1,r[b]),r[l]=this._legalize(m+2),n[b]=b,k--,b=g;if(v===f)for(;g=t[v],qA(c,u,e[2*g],e[2*g+1],e[2*v],e[2*v+1])<0;)m=this._addTriangle(g,l,v,-1,r[v],r[g]),this._legalize(m+2),r[g]=m,n[v]=v,k--,v=g;this._hullStart=t[l]=v,n[v]=t[b]=l,n[l]=b,i[this._hashKey(c,u)]=l,i[this._hashKey(e[2*v],e[2*v+1])]=v}this.hull=new Uint32Array(k);for(let e=0,t=this._hullStart;e<k;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 a=n[e],s=e-e%3;if(o=s+(e+2)%3,-1===a){if(0===i)break;e=GA[--i];continue}const l=a-a%3,c=s+(e+1)%3,u=l+(a+2)%3,f=t[o],d=t[e],h=t[c],p=t[u];if(QA(r[2*f],r[2*f+1],r[2*d],r[2*d+1],r[2*h],r[2*h+1],r[2*p],r[2*p+1])){t[e]=p,t[a]=f;const r=n[u];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===u){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(a,n[o]),this._link(o,u);const s=l+(a+1)%3;i<GA.length&&(GA[i++]=s)}else{if(0===i)break;e=GA[--i]}}return o}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,i,o){const a=this.trianglesLen;return this._triangles[a]=e,this._triangles[a+1]=t,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,i),this._link(a+2,o),this.trianglesLen+=3,a}}function KA(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function QA(e,t,n,r,i,o,a,s){const l=e-a,c=t-s,u=n-a,f=r-s,d=i-a,h=o-s,p=u*u+f*f,g=d*d+h*h;return l*(f*g-p*h)-c*(u*g-p*d)+(l*l+c*c)*(u*h-f*d)<0}function JA(e,t,n,r,i,o){const a=n-e,s=r-t,l=i-e,c=o-t,u=a*a+s*s,f=l*l+c*c,d=.5/(a*c-s*l),h=(c*u-s*f)*d,p=(a*f-l*u)*d;return h*h+p*p}function eE(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],o=t[r];let a=i-1;for(;a>=n&&t[e[a]]>o;)e[a+1]=e[a--];e[a+1]=r}else{let i=n+1,o=r;tE(e,n+r>>1,i),t[e[n]]>t[e[r]]&&tE(e,n,r),t[e[i]]>t[e[r]]&&tE(e,i,r),t[e[n]]>t[e[i]]&&tE(e,n,i);const a=e[i],s=t[a];for(;;){do{i++}while(t[e[i]]<s);do{o--}while(t[e[o]]>s);if(o<i)break;tE(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(eE(e,t,i,r),eE(e,t,n,o-1)):(eE(e,t,n,o-1),eE(e,t,i,r))}}function tE(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function nE(e){return e[0]}function rE(e){return e[1]}const iE=1e-6;class oE{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)>iE||Math.abs(this._y1-i)>iE)&&(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 aE{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 sE{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;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let r,s,l=0,c=0,u=n.length;l<u;l+=3,c+=2){const u=2*n[l],f=2*n[l+1],d=2*n[l+2],h=e[u],p=e[u+1],g=e[f],v=e[f+1],m=e[d],b=e[d+1],y=g-h,_=v-p,w=m-h,x=b-p,k=2*(y*x-_*w);if(Math.abs(k)<1e-9){if(void 0===i){i=o=0;for(const n of t)i+=e[2*n],o+=e[2*n+1];i/=t.length,o/=t.length}const n=1e9*Math.sign((i-h)*x-(o-p)*w);r=(h+m)/2-n*x,s=(p+b)/2+n*w}else{const e=1/k,t=y*y+_*_,n=w*w+x*x;r=h+(x*t-_*n)*e,s=p+(y*n-w*t)*e}a[c]=r,a[c+1]=s}let s,l,c,u=t[t.length-1],f=4*u,d=e[2*u],h=e[2*u+1];r.fill(0);for(let n=0;n<t.length;++n)u=t[n],s=f,l=d,c=h,f=4*u,d=e[2*u],h=e[2*u+1],r[s+2]=r[f]=c-h,r[s+3]=r[f+1]=d-l}render(e){const t=null==e?e=new oE:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:a}=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),a=2*Math.floor(r/3),s=o[i],l=o[i+1],c=o[a],u=o[a+1];this._renderSegment(s,l,c,u,e)}let s,l=i[i.length-1];for(let t=0;t<i.length;++t){s=l,l=i[t];const n=2*Math.floor(r[l]/3),c=o[n],u=o[n+1],f=4*s,d=this._project(c,u,a[f+2],a[f+3]);d&&this._renderSegment(c,u,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new oE: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 oE: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 aE;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const a=this._regioncode(e,t),s=this._regioncode(n,r);0===a&&0===s?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,a,s))&&(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,a=e.length;o<a;o+=2)if(t[r]===e[o]&&t[r+1]===e[o+1]&&t[(r+2)%i]===e[(o+a-2)%a]&&t[(r+3)%i]===e[(o+a-1)%a]){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 a=[];let s=o;do{const n=Math.floor(s/3);if(a.push(t[2*n],t[2*n+1]),s=s%3==2?s-2:s+1,i[s]!==e)break;s=r[s]}while(s!==o&&-1!==s);return a}_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 this._simplify(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,a,s=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c),f=0;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)a=f,f=0,s?s.push(l,c):s=[l,c];else{let t,n,d,h,p;if(0===o){if(null===(t=this._clipSegment(r,i,l,c,o,u)))continue;[n,d,h,p]=t}else{if(null===(t=this._clipSegment(l,c,r,i,u,o)))continue;[h,p,n,d]=t,a=f,f=this._edgecode(n,d),a&&f&&this._edge(e,a,f,s,s.length),s?s.push(n,d):s=[n,d]}a=f,f=this._edgecode(h,p),a&&f&&this._edge(e,a,f,s,s.length),s?s.push(h,p):s=[h,p]}if(s)a=f,f=this._edgecode(s[0],s[1]),a&&f&&this._edge(e,a,f,s,s.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 s}_clipSegment(e,t,n,r,i,o){const a=i<o;for(a&&([e,t,n,r,i,o]=[n,r,e,t,o,i]);;){if(0===i&&0===o)return a?[n,r,e,t]:[e,t,n,r];if(i&o)return null;let s,l,c=i||o;8&c?(s=e+(n-e)*(this.ymax-t)/(r-t),l=this.ymax):4&c?(s=e+(n-e)*(this.ymin-t)/(r-t),l=this.ymin):2&c?(l=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(l=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=l,i=this._regioncode(e,t)):(n=s,r=l,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let a,s=Array.from(t);if((a=this._project(s[0],s[1],n,r))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(e,s))for(let t,n=0,r=s.length,i=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)t=i,i=this._edgecode(s[n],s[n+1]),t&&i&&(n=this._edge(e,t,i,s,n),r=s.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_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)}return i}_project(e,t,n,r){let i,o,a,s=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<s&&(a=this.ymin,o=e+(s=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<s&&(a=this.ymax,o=e+(s=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<s&&(o=this.xmax,a=t+(s=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<s&&(o=this.xmin,a=t+(s=i)*r)}return[o,a]}_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)}_simplify(e){if(e&&e.length>4){for(let t=0;t<e.length;t+=2){const n=(t+2)%e.length,r=(t+4)%e.length;(e[t]===e[n]&&e[n]===e[r]||e[t+1]===e[n+1]&&e[n+1]===e[r+1])&&(e.splice(n,2),t-=2)}e.length||(e=null)}return e}}const lE=2*Math.PI,cE=Math.pow;function uE(e){return e[0]}function fE(e){return e[1]}function dE(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class hE{static from(e,t=uE,n=fE,r){return new hE("length"in e?function(e,t,n,r){const i=e.length,o=new Float64Array(2*i);for(let a=0;a<i;++a){const i=e[a];o[2*a]=t.call(r,i,a,e),o[2*a+1]=n.call(r,i,a,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 XA(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=dE(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new XA(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),a=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)a[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],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(e){return new sE(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const t=a.indexOf(e);return t>0&&(yield a[t-1]),void(t<a.length-1&&(yield a[t+1]))}const s=t[e];if(-1===s)return;let l=s,c=-1;do{if(yield c=o[l],l=l%3==2?l-2:l+1,o[l]!==e)return;if(l=i[l],-1===l){const t=n[(r[e]+1)%n.length];return void(t!==c&&(yield t))}}while(l!==s)}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:a,triangles:s,points:l}=this;if(-1===r[e]||!l.length)return(e+1)%(l.length>>1);let c=e,u=cE(t-l[2*e],2)+cE(n-l[2*e+1],2);const f=r[e];let d=f;do{let r=s[d];const f=cE(t-l[2*r],2)+cE(n-l[2*r+1],2);if(f<u&&(u=f,c=r),d=d%3==2?d-2:d+1,s[d]!==e)break;if(d=a[d],-1===d){if(d=i[(o[e]+1)%i.length],d!==r&&cE(t-l[2*d],2)+cE(n-l[2*d+1],2)<u)return d;break}}while(d!==f);return c}render(e){const t=null==e?e=new oE: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 a=2*i[t],s=2*i[o];e.moveTo(n[a],n[a+1]),e.lineTo(n[s],n[s+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t){void 0!==t||e&&"function"==typeof e.moveTo||(t=e,e=null),t=null==t?2:+t;const n=null==e?e=new oE: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,lE)}return n&&n.value()}renderHull(e){const t=null==e?e=new oE: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 aE;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new oE:void 0,{points:r,triangles:i}=this,o=2*i[e*=3],a=2*i[e+1],s=2*i[e+2];return t.moveTo(r[o],r[o+1]),t.lineTo(r[a],r[a+1]),t.lineTo(r[s],r[s+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 aE;return this.renderTriangle(e,t),t.value()}}var pE=function(e){return[e.x,e.y]},gE=fS,vE="cursor",mE=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?pE:n,i=e.margin,o=void 0===i?gE:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},bE=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?pE:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?gE:a,l=e.debug;return he((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?gE:i,a=e.debug,s=hE.from(t),l=a?s.voronoi([0,0,o.left+n+o.right,o.top+r+o.bottom]):void 0;return{points:t,delaunay:s,voronoi:l}}({points:mE({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:l})}),[t,i,o,s,l])},yE=function(e){var t=e.nodes,n=e.width,r=e.height,i=e.margin,o=void 0===i?gE:i,a=e.getNodePosition,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd,g=e.enableTouchCrosshair,v=void 0!==g&&g,m=e.detectionRadius,b=void 0===m?1/0:m,y=e.tooltip,_=e.tooltipPosition,w=void 0===_?vE:_,x=e.tooltipAnchor,k=void 0===x?"top":x,C=e.debug,S=de(null),T=bE({points:t,getNodePosition:a,width:n,height:r,margin:o,debug:C}),O=T.delaunay,A=T.voronoi,E=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?pE:r,o=e.delaunay,a=e.setCurrent,s=e.margin,l=void 0===s?gE:s,c=e.detectionRadius,u=void 0===c?1/0:c,f=e.isInteractive,d=void 0===f||f,h=e.onMouseEnter,p=e.onMouseMove,g=e.onMouseLeave,v=e.onClick,m=e.onTouchStart,b=e.onTouchMove,y=e.onTouchEnd,_=e.enableTouchCrosshair,w=void 0!==_&&_,x=e.tooltip,k=e.tooltipPosition,C=void 0===k?vE:k,M=e.tooltipAnchor,S=void 0===M?"top":M,T=ue(null),O=T[0],A=T[1],E=de(null);fe((function(){E.current=O}),[E,O]);var P=pe((function(e){if(!t.current)return null;var r=GS(t.current,e),a=r[0],s=r[1],c=o.find(a,s),f=void 0!==c?n[c]:null;if(f&&u!==1/0){var d=i(f),h=d[0],p=d[1];(function(e,t,n,r){var i=n-e,o=r-t;return i*=i,o*=o,Math.sqrt(i+o)})(a,s,h+l.left,p+l.top)>u&&(c=null,f=null)}return null===c||null===f?null:[c,f]}),[t,o,n,i,l,u]),L=pd(),j=L.showTooltipAt,N=L.showTooltipFromEvent,D=L.hideTooltip,F=he((function(){if(x)return"cursor"===C?function(e,t){N(x(e),t,S)}:function(e){var t=i(e),n=t[0],r=t[1];j(x(e),[n+l.left,r+l.top],S)}}),[j,N,x,C,S,i,l]),R=pe((function(e){var t=P(e);if(A(t),null==a||a(t?t[1]:null),t){var n=t[1];null==F||F(n,e),null==h||h(t[1],e)}}),[P,A,a,F,h]),$=pe((function(e){var t=P(e);if(A(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==F||F(r,e),E.current){var i=E.current,o=i[0],s=i[1];n!==o?null==g||g(s,e):null==p||p(r,e)}else null==h||h(r,e)}else null==a||a(null),null==D||D(),E.current&&(null==g||g(E.current[1],e))}),[P,A,E,h,p,g,F,D]),B=pe((function(e){A(null),null==a||a(null),D(),g&&E.current&&g(E.current[1],e)}),[A,a,E,D,g]),U=pe((function(e){var t=P(e);A(t),t&&(null==v||v(t[1],e))}),[P,A,v]),I=pe((function(e){var t=P(e);w&&(A(t),null==a||a(t?t[1]:null)),t&&(null==m||m(t[1],e))}),[P,A,a,w,m]),z=pe((function(e){var t=P(e);w&&(A(t),null==a||a(t?t[1]:null)),t&&(null==b||b(t[1],e))}),[P,A,a,w,b]),H=pe((function(e){w&&(A(null),null==a||a(null)),y&&E.current&&y(E.current[1],e)}),[w,A,a,y,E]);return{current:O,handleMouseEnter:d?R:void 0,handleMouseMove:d?$:void 0,handleMouseLeave:d?B:void 0,handleClick:d?U:void 0,handleTouchStart:d?I:void 0,handleTouchMove:d?z:void 0,handleTouchEnd:d?H:void 0}}({elementRef:S,nodes:t,delaunay:O,margin:o,detectionRadius:b,setCurrent:s,onMouseEnter:l,onMouseMove:c,onMouseLeave:u,onClick:f,onTouchStart:d,onTouchMove:h,onTouchEnd:p,enableTouchCrosshair:v,tooltip:y,tooltipPosition:w,tooltipAnchor:k}),P=E.current,L=E.handleMouseEnter,j=E.handleMouseMove,N=E.handleMouseLeave,D=E.handleClick,F=E.handleTouchStart,R=E.handleTouchMove,$=E.handleTouchEnd,B=he((function(){if(C&&A)return A.render()}),[C,A]);return et("g",{ref:S,transform:"translate("+-o.left+","+-o.top+")",children:[C&&A&&et(M,{children:[et("path",{d:B,stroke:"red",strokeWidth:1,opacity:.75}),b<1/0&&et("path",{stroke:"red",strokeWidth:.35,fill:"none",d:O.renderPoints(void 0,b)}),P&&et("path",{fill:"pink",opacity:.35,d:A.renderCell(P[0])})]}),et("rect",{"data-ref":"mesh-interceptor",width:o.left+n+o.right,height:o.top+r+o.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:L,onMouseMove:j,onMouseLeave:N,onTouchStart:F,onTouchMove:R,onTouchEnd:$,onClick:D})]})};function _E(){return _E=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},_E.apply(this,arguments)}var wE=Se((function(e){var t=e.point;return et(gu,{id:et("span",{children:["x: ",et("strong",{children:t.data.xFormatted}),", y:"," ",et("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})})),xE=Se((function(e){var t=e.slice,n=e.axis,r=bS(),i="x"===n?"y":"x";return et(mu,{rows:t.points.map((function(e){return[et(pu,{color:e.serieColor,style:r.tooltip.chip},"chip"),e.serieId,et("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),kE={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:wE,enableSlices:!1,debugSlices:!1,sliceTooltip:xE,debugMesh:!1,enableCrosshair:!0,crosshairType:"bottom-left"},CE=_E({},kE,{enablePointLabel:!1,useMesh:!1,enableTouchCrosshair:!1,animate:!0,motionConfig:"gentle",defs:[],fill:[],role:"img",initialHiddenIds:[]});_E({},kE,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1});var ME=function(e){var t=e.curve;return he((function(){return $o().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(uS(t))}),[t])},SE=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return he((function(){return function(e,t,n){var r=null,i=ao(!0),o=null,a=Do,s=null,l=So(c);function c(c){var u,f,d,h,p,g=(c=jo(c)).length,v=!1,m=new Array(g),b=new Array(g);for(null==o&&(s=a(p=l())),u=0;u<=g;++u){if(!(u<g&&i(h=c[u],u,c))===v)if(v=!v)f=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),d=u-1;d>=f;--d)s.point(m[d],b[d]);s.lineEnd(),s.areaEnd()}v&&(m[u]=+e(h,u,c),b[u]=+t(h,u,c),s.point(r?+r(h,u,c):m[u],n?+n(h,u,c):b[u]))}if(p)return s=null,p+""||null}function u(){return $o().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Fo:ao(+e),t="function"==typeof t?t:ao(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?Ro:ao(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:ao(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:ao(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:ao(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:ao(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:ao(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:ao(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:ao(!!e),c):i},c.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),c):a},c.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),c):o},c}().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(uS(t)).y0(n(r))}),[t,n,r])},TE=function(e){var t=e.data,n=e.xScale,r=void 0===n?CE.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?CE.yScale:o,s=e.yFormat,l=e.width,c=e.height,u=e.colors,f=void 0===u?CE.colors:u,d=e.curve,h=void 0===d?CE.curve:d,p=e.areaBaselineValue,g=void 0===p?CE.areaBaselineValue:p,v=e.pointColor,m=void 0===v?CE.pointColor:v,b=e.pointBorderColor,y=void 0===b?CE.pointBorderColor:b,_=e.enableSlices,w=void 0===_?CE.enableSlicesTooltip:_,x=e.initialHiddenIds,k=void 0===x?CE.initialHiddenIds:x,C=ue($A("line"))[0],M=pS(i),S=pS(s),T=function(e,t){return he((function(){return function(e,t){if("function"==typeof e)return e;var n=function(e){return Lg(e,"id")};if(Array.isArray(e)){var r=vm(e),i=function(e){return r(n(e))};return i.scale=r,i}if(qC(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return Lg(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return tT.includes(e)}(e.scheme)){var o=vm(lT[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return rT.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 s=vm(lT[e.scheme][e.size||11]),l=function(e){return s(n(e))};return l.scale=s,l}if(function(e){return aT.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 c=vm(lT[e.scheme][e.size||9]),u=function(e){return c(n(e))};return u.scale=c,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}}(e)}),[e,"id"])}(f),O=bS(),A=mT(m,O),E=mT(y,O),P=ue(null!=k?k:[]),L=P[0],j=P[1],N=he((function(){return function(e,t,n,r,i){var o=e.map((function(e){return function(e){return XO({},e,{data:e.data.map((function(e){return{data:XO({},e)}}))})}(e)})),a=function(e,t,n){return{x:aA(e,"x",t),y:aA(e,"y",n)}}(o,t,n);"stacked"in t&&!0===t.stacked&&function(e,t){sA("x",e,t)}(a,o),"stacked"in n&&!0===n.stacked&&function(e,t){sA("y",e,t)}(a,o);var s=iA(t,a.x,r,"x"),l=iA(n,a.y,i,"y"),c=o.map((function(e){return XO({},e,{data:e.data.map((function(e){return XO({},e,{position:{x:oA(e,"x",s),y:oA(e,"y",l)}})}))})}));return XO({},a,{series:c,xScale:s,yScale:l})}(t.filter((function(e){return-1===L.indexOf(e.id)})),r,a,l,c)}),[t,L,r,a,l,c]),D=N.xScale,F=N.yScale,R=N.series,$=he((function(){var e=t.map((function(e){return{id:e.id,label:e.id,color:T(e)}})),n=e.map((function(e){return _E({},R.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 _E({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,R,T]),B=$.legendData,U=$.series,I=pe((function(e){j((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),z=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return he((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(a,s){var l={id:t.id+"."+s,index:e.length+s,serieId:t.id,serieColor:t.color,x:a.position.x,y:a.position.y};return l.color=n(t),l.borderColor=r(l),l.data=_E({},a.data,{xFormatted:i(a.data.x),yFormatted:o(a.data.y)}),l})))}),[])}),[t,n,r,i,o])}({series:U,getPointColor:A,getPointBorderColor:E,formatX:M,formatY:S}),H=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return he((function(){if(!1===n)return[];if("x"===n){var e=new Map;return r.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,n,r){var a,s,l=e[0],c=e[1],u=r[n-1],f=r[n+1];return a=u?l-(l-u[0])/2:l,s=f?l-a+(f[0]-l)/2:i-a,{id:"slice:"+t+":"+l,x0:a,x:l,y0:0,y:0,width:s,height:o,points:c.reverse()}}))}if("y"===n){var a=new Map;return r.forEach((function(e){null!==e.data.x&&null!==e.data.y&&(a.has(e.y)?a.get(e.y).push(e):a.set(e.y,[e]))})),Array.from(a.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,n){var r,a,s=e[0],l=e[1],c=n[t-1],u=n[t+1];return r=c?s-(s-c[0])/2:s,a=u?s-r+(u[0]-s)/2:o-r,{id:s,x0:0,x:0,y0:r,y:s,width:i,height:a,points:l.reverse()}}))}}),[t,n,o,r,i])}({componentId:C,enableSlices:w,points:z,width:l,height:c});return{legendData:B,toggleSerie:I,lineGenerator:ME({curve:h}),areaGenerator:SE({curve:h,yScale:F,areaBaselineValue:g}),getColor:T,series:U,xScale:D,yScale:F,slices:H,points:z}},OE=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=iS(),s=a.animate,l=a.config,c=oS(o),u=Hc({color:r,config:l,immediate:!s});return et(cu.path,{d:c,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},AE=Se((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return et("g",{children:e.lines.slice(0).reverse().map((function(e){return et(OE,_E({path:t(e.data.map((function(e){return e.position})))},_E({areaOpacity:n,areaBlendMode:r},e)),e.id)}))})})),EE=Se((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=he((function(){return t(n)}),[t,n]),a=oS(o);return et(cu.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),PE=Se((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 et(EE,{id:t,points:i.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:r},t)}))})),LE=Se((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,o=e.tooltip,a=e.isCurrent,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd,g=pd(),v=g.showTooltipFromEvent,m=g.hideTooltip,b=pe((function(e){v(k(o,{slice:t,axis:r}),e,"right"),s(t),l&&l(t,e)}),[v,o,t,r,s,l]),y=pe((function(e){v(k(o,{slice:t,axis:r}),e,"right"),c&&c(t,e)}),[v,o,t,r,c]),_=pe((function(e){m(),s(null),u&&u(t,e)}),[m,s,u,t]),w=pe((function(e){f&&f(t,e)}),[t,f]),x=pe((function(e){v(k(o,{slice:t,axis:r}),e,"right"),s(t),d&&d(t,e)}),[r,d,s,v,t,o]),C=pe((function(e){var i=e.touches[0],a=document.elementFromPoint(i.clientX,i.clientY),l=null==a?void 0:a.getAttribute("data-ref");if(l){var c=n.find((function(e){return e.id===l}));c&&(v(k(o,{slice:c,axis:r}),e,"right"),s(c))}h&&h(t,e)}),[r,h,s,v,t,n,o]),M=pe((function(e){m(),s(null),p&&p(t,e)}),[m,s,p,t]);return et("rect",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:"red",strokeWidth:i?1:0,strokeOpacity:.75,fill:"red",fillOpacity:a&&i?.35:0,onMouseEnter:b,onMouseMove:y,onMouseLeave:_,onClick:w,onTouchStart:x,onTouchMove:C,onTouchEnd:M,"data-ref":t.id})})),jE=Se((function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,a=e.current,s=e.setCurrent,l=e.onMouseEnter,c=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd;return t.map((function(e){return et(LE,{slice:e,slices:t,axis:n,debug:r,height:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id,onMouseEnter:l,onMouseMove:c,onMouseLeave:u,onClick:f,onTouchStart:d,onTouchMove:h,onTouchEnd:p},e.id)}))})),NE=Se((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,s=e.labelYOffset,l=bS(),c=function(e){return fx(e)?e:function(t){return Lg(t,e)}}(a),u=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?c(e):null}}));return et("g",{children:u.map((function(e){return et(zS,{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:s,theme:l},e.id)}))})})),DE=Se((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,s=e.onMouseMove,l=e.onMouseLeave,c=e.onClick,u=e.onTouchStart,f=e.onTouchMove,d=e.onTouchEnd,h=e.tooltip,p=e.debug,g=e.enableTouchCrosshair,v=pd(),m=v.showTooltipAt,b=v.hideTooltip,y=pe((function(e,t){m(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),a&&a(e,t)}),[m,h,a,i]),_=pe((function(e,t){m(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),s&&s(e,t)}),[m,h,i.left,i.top,s]),w=pe((function(e,t){b(),l&&l(e,t)}),[b,l]),x=pe((function(e,t){c&&c(e,t)}),[c]),C=pe((function(e,t){m(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),u&&u(e,t)}),[i.left,i.top,u,m,h]),M=pe((function(e,t){m(k(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),f&&f(e,t)}),[i.left,i.top,f,m,h]),S=pe((function(e,t){b(),d&&d(e,t)}),[d,b]);return et(yE,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:y,onMouseMove:_,onMouseLeave:w,onClick:x,onTouchStart:C,onTouchMove:M,onTouchEnd:S,enableTouchCrosshair:g,debug:p})})),FE=ZS((function(e){var t=e.data,n=e.xScale,r=void 0===n?{type:"point"}:n,i=e.xFormat,o=e.yScale,a=void 0===o?{type:"linear",min:0,max:"auto"}:o,s=e.yFormat,l=e.layers,c=void 0===l?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:l,u=e.curve,f=void 0===u?"linear":u,d=e.areaBaselineValue,h=void 0===d?0:d,p=e.colors,g=void 0===p?{scheme:"nivo"}:p,v=e.margin,m=e.width,b=e.height,y=e.axisTop,_=e.axisRight,w=e.axisBottom,x=void 0===w?{}:w,k=e.axisLeft,C=void 0===k?{}:k,S=e.enableGridX,T=void 0===S||S,O=e.enableGridY,A=void 0===O||O,E=e.gridXValues,P=e.gridYValues,L=e.lineWidth,j=void 0===L?2:L,N=e.enableArea,D=void 0!==N&&N,F=e.areaOpacity,R=void 0===F?.2:F,$=e.areaBlendMode,B=void 0===$?"normal":$,U=e.enablePoints,I=void 0===U||U,z=e.pointSymbol,H=e.pointSize,V=void 0===H?6:H,W=e.pointColor,Y=void 0===W?{from:"color"}:W,q=e.pointBorderWidth,Z=void 0===q?0:q,G=e.pointBorderColor,X=void 0===G?{theme:"background"}:G,K=e.enablePointLabel,Q=void 0!==K&&K,J=e.pointLabel,ee=void 0===J?"data.yFormatted":J,te=e.pointLabelYOffset,ne=e.defs,re=void 0===ne?[]:ne,ie=e.fill,oe=void 0===ie?[]:ie,ae=e.markers,se=e.legends,le=void 0===se?[]:se,ce=e.isInteractive,fe=void 0===ce||ce,de=e.useMesh,he=void 0!==de&&de,pe=e.debugMesh,ge=void 0!==pe&&pe,ve=e.onMouseEnter,me=e.onMouseMove,be=e.onMouseLeave,ye=e.onClick,_e=e.onTouchStart,we=e.onTouchMove,xe=e.onTouchEnd,ke=e.tooltip,Ce=void 0===ke?wE:ke,Me=e.enableSlices,Se=void 0!==Me&&Me,Te=e.debugSlices,Oe=void 0!==Te&&Te,Ae=e.sliceTooltip,Ee=void 0===Ae?xE:Ae,Pe=e.enableCrosshair,Le=void 0===Pe||Pe,je=e.crosshairType,Ne=void 0===je?"bottom-left":je,De=e.enableTouchCrosshair,Fe=void 0!==De&&De,Re=e.role,$e=void 0===Re?"img":Re,Be=e.initialHiddenIds,Ue=void 0===Be?[]:Be,Ie=dS(m,b,v),ze=Ie.margin,He=Ie.innerWidth,Ve=Ie.innerHeight,We=Ie.outerWidth,Ye=Ie.outerHeight,qe=TE({data:t,xScale:r,xFormat:i,yScale:a,yFormat:s,width:He,height:Ve,colors:g,curve:f,areaBaselineValue:h,pointColor:Y,pointBorderColor:X,enableSlices:Se,initialHiddenIds:Ue}),Ze=qe.legendData,Ge=qe.toggleSerie,Xe=qe.lineGenerator,Ke=qe.areaGenerator,Qe=qe.series,Je=qe.xScale,tt=qe.yScale,nt=qe.slices,rt=qe.points,it=bS(),ot=mT(Y,it),at=mT(X,it),st=ue(null),lt=st[0],ct=st[1],ut=ue(null),ft=ut[0],dt=ut[1],ht={grid:et(kA,{theme:it,width:He,height:Ve,xScale:T?Je:null,yScale:A?tt:null,xValues:E,yValues:P},"grid"),markers:et(YS,{markers:ae,width:He,height:Ve,xScale:Je,yScale:tt,theme:it},"markers"),axes:et(_A,{xScale:Je,yScale:tt,width:He,height:Ve,theme:it,top:y,right:_,bottom:x,left:C},"axes"),areas:null,lines:et(PE,{lines:Qe,lineGenerator:Xe,lineWidth:j},"lines"),slices:null,points:null,crosshair:null,mesh:null,legends:le.map((function(e,t){return et(DA,_E({},e,{containerWidth:He,containerHeight:Ve,data:e.data||Ze,theme:it,toggleSerie:e.toggleSerie?Ge:void 0}),"legend."+t)}))},pt=function(e,t,n,r){var i={},o=i.dataKey,a=i.colorKey,s=void 0===a?"color":a,l=i.targetKey,c=void 0===l?"fill":l,u=[],f={};return e.length&&t.length&&(u=[].concat(e),t.forEach((function(t){for(var r=function(){var r=n[i],a=r.id;if(function(e,t,n){if("*"===e)return!0;if(fx(e))return e(t);if(qC(e)){var r=n?Lg(t,n):t;return GM(zM(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var l=e.find((function(e){return e.id===a}));if(l)if(KS.includes(l.type))if("inherit"===l.background||"inherit"===l.color){var d=Lg(t,s),h=l.background,p=l.color,g=a;"inherit"===l.background&&(g=g+".bg."+d,h=d),"inherit"===l.color&&(g=g+".fg."+d,p=d),Dg(t,c,"url(#"+g+")"),f[g]||(u.push(KM({},l,{id:g,background:h,color:p})),f[g]=1)}else Dg(t,c,"url(#"+a+")");else if(XS.includes(l.type))if(l.colors.map((function(e){return e.color})).includes("inherit")){var v=Lg(t,s),m=a,b=KM({},l,{colors:l.colors.map((function(e,t){return"inherit"!==e.color?e:(m=m+"."+t+"."+v,KM({},e,{color:"inherit"===e.color?v:e.color}))}))});b.id=m,Dg(t,c,"url(#"+m+")"),f[m]||(u.push(b),f[m]=1)}else Dg(t,c,"url(#"+a+")");return"break"}},i=0;i<n.length&&"break"!==r();i++);}))),u}(re,Qe,oe);return D&&(ht.areas=et(AE,{areaGenerator:Ke,areaOpacity:R,areaBlendMode:B,lines:Qe},"areas")),fe&&!1!==Se&&(ht.slices=et(jE,{slices:nt,axis:Se,debug:Oe,height:Ve,tooltip:Ee,current:ft,setCurrent:dt,onMouseEnter:ve,onMouseMove:me,onMouseLeave:be,onClick:ye,onTouchStart:_e,onTouchMove:we,onTouchEnd:xe},"slices")),I&&(ht.points=et(NE,{points:rt,symbol:z,size:V,color:ot,borderWidth:Z,borderColor:at,enableLabel:Q,label:ee,labelYOffset:te},"points")),fe&&Le&&(null!==lt&&(ht.crosshair=et(yu,{width:He,height:Ve,x:lt.x,y:lt.y,type:Ne},"crosshair")),null!==ft&&(ht.crosshair=et(yu,{width:He,height:Ve,x:ft.x,y:ft.y,type:Se},"crosshair"))),fe&&he&&!1===Se&&(ht.mesh=et(DE,{points:rt,width:He,height:Ve,margin:ze,current:lt,setCurrent:ct,onMouseEnter:ve,onMouseMove:me,onMouseLeave:be,onClick:ye,onTouchStart:_e,onTouchMove:we,onTouchEnd:xe,tooltip:Ce,enableTouchCrosshair:Fe,debug:ge},"mesh")),et($S,{defs:pt,width:We,height:Ye,margin:ze,role:$e,children:c.map((function(t,n){return"function"==typeof t?et(M,{children:t(_E({},e,{innerWidth:He,innerHeight:Ve,series:Qe,slices:nt,points:rt,xScale:Je,yScale:tt,lineGenerator:Xe,areaGenerator:Ke,currentPoint:lt,setCurrentPoint:ct,currentSlice:ft,setCurrentSlice:dt}))},n):ht[t]}))})})),RE=function(e){return et(CS,{children:function(t){var n=t.width,r=t.height;return et(FE,_E({width:n,height:r},e))}})},$E=ZS((function(e){var t=de(null),n=e.width,r=e.height,i=e.margin,o=e.pixelRatio,a=void 0===o?"undefined"!=typeof window&&window.devicePixelRatio||1:o,s=e.data,l=e.xScale,c=void 0===l?{type:"point"}:l,u=e.xFormat,f=e.yScale,d=void 0===f?{type:"linear",min:0,max:"auto"}:f,h=e.yFormat,p=e.curve,g=void 0===p?"linear":p,v=e.layers,m=void 0===v?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:v,b=e.colors,y=void 0===b?{scheme:"nivo"}:b,_=e.lineWidth,w=void 0===_?2:_,x=e.enableArea,C=void 0!==x&&x,M=e.areaBaselineValue,S=void 0===M?0:M,T=e.areaOpacity,O=void 0===T?.2:T,A=e.enablePoints,E=void 0===A||A,P=e.pointSize,L=void 0===P?6:P,j=e.pointColor,N=void 0===j?{from:"color"}:j,D=e.pointBorderWidth,F=void 0===D?0:D,R=e.pointBorderColor,$=void 0===R?{theme:"background"}:R,B=e.enableGridX,U=void 0===B||B,I=e.gridXValues,z=e.enableGridY,H=void 0===z||z,V=e.gridYValues,W=e.axisTop,Y=e.axisRight,q=e.axisBottom,Z=void 0===q?{}:q,G=e.axisLeft,X=void 0===G?{}:G,K=e.legends,Q=void 0===K?[]:K,J=e.isInteractive,ee=void 0===J||J,te=e.debugMesh,ne=void 0!==te&&te,re=e.onMouseLeave,ie=e.onClick,oe=e.tooltip,ae=void 0===oe?wE:oe,se=e.canvasRef,le=dS(n,r,i),ce=le.margin,he=le.innerWidth,ge=le.innerHeight,ve=le.outerWidth,me=le.outerHeight,be=bS(),ye=ue(null),_e=ye[0],we=ye[1],xe=TE({data:s,xScale:c,xFormat:u,yScale:d,yFormat:h,width:he,height:ge,colors:y,curve:g,areaBaselineValue:S,pointColor:N,pointBorderColor:$}),ke=xe.lineGenerator,Ce=xe.areaGenerator,Me=xe.series,Se=xe.xScale,Te=xe.yScale,Oe=xe.points,Ae=bE({points:Oe,width:he,height:ge,debug:ne}),Ee=Ae.delaunay,Pe=Ae.voronoi;fe((function(){se&&(se.current=t.current),t.current.width=ve*a,t.current.height=me*a;var e=t.current.getContext("2d");e.scale(a,a),e.fillStyle=be.background,e.fillRect(0,0,ve,me),e.translate(ce.left,ce.top),m.forEach((function(t){if("function"==typeof t&&t({ctx:e,innerWidth:he,innerHeight:ge,series:Me,points:Oe,xScale:Se,yScale:Te,lineWidth:w,lineGenerator:ke,areaGenerator:Ce,currentPoint:_e,setCurrentPoint:we}),"grid"===t&&be.grid.line.strokeWidth>0&&(e.lineWidth=be.grid.line.strokeWidth,e.strokeStyle=be.grid.line.stroke,U&&CA(e,{width:he,height:ge,scale:Se,axis:"x",values:I}),H&&CA(e,{width:he,height:ge,scale:Te,axis:"y",values:V})),"axes"===t&&function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,a=t.theme,s={top:t.top,right:t.right,bottom:t.bottom,left:t.left};yA.forEach((function(t){var l=s[t];if(!l)return null;var c="top"===t||"bottom"===t,u="top"===t||"left"===t?"before":"after",f=c?n:r,d=gA(l.format,f);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,a=void 0===o?0:o,s=t.y,l=void 0===s?0:s,c=t.length,u=t.ticksPosition,f=t.tickValues,d=t.tickSize,h=void 0===d?5:d,p=t.tickPadding,g=void 0===p?5:p,v=t.tickRotation,m=void 0===v?0:v,b=t.format,y=t.legend,_=t.legendPosition,w=void 0===_?"end":_,x=t.legendOffset,k=void 0===x?0:x,C=t.theme,M=pA({axis:r,scale:i,ticksPosition:u,tickValues:f,tickSize:h,tickPadding:g,tickRotation:m,engine:"canvas"}),S=M.ticks,T=M.textAlign,O=M.textBaseline;e.save(),e.translate(a,l),e.textAlign=T,e.textBaseline=O;var A=C.axis.ticks.text;e.font=(A.fontWeight?A.fontWeight+" ":"")+A.fontSize+"px "+A.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?c:0,"x"===r?0:c),e.stroke());var E="function"==typeof b?b:function(e){return""+e};if(S.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=E(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(AS(m)),A.outlineWidth>0&&(e.strokeStyle=A.outlineColor,e.lineWidth=2*A.outlineWidth,e.lineJoin="round",e.strokeText(""+r,0,0)),C.axis.ticks.text.fill&&(e.fillStyle=A.fill),e.fillText(""+r,0,0),e.restore()})),void 0!==y){var P=0,L=0,j=0,N="center";"y"===r?(j=-90,P=k,"start"===w?(N="start",L=c):"middle"===w?(N="center",L=c/2):"end"===w&&(N="end")):(L=k,"start"===w?N="start":"middle"===w?(N="center",P=c/2):"end"===w&&(N="end",P=c)),e.translate(P,L),e.rotate(AS(j)),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=N,e.textBaseline="middle",e.fillText(y,0,0)}e.restore()}(e,hA({},l,{axis:c?"x":"y",x:"right"===t?i:0,y:"bottom"===t?o:0,scale:f,format:d,length:c?i:o,ticksPosition:u,theme:a}))}))}(e,{xScale:Se,yScale:Te,width:he,height:ge,top:W,right:Y,bottom:Z,left:X,theme:be}),"areas"===t&&!0===C){e.save(),e.globalAlpha=O,Ce.context(e);for(var n=Me.length-1;n>=0;n--)e.fillStyle=Me[n].color,e.beginPath(),Ce(Me[n].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(ke.context(e),Me.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=w,e.beginPath(),ke(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===E&&L>0&&Oe.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,L/2,0,2*Math.PI),e.fill(),F>0&&(e.strokeStyle=t.borderColor,e.lineWidth=F,e.stroke())})),"mesh"===t&&!0===ne&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,Pe),_e&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,Pe,_e.index)),"legends"===t){var r=Me.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();Q.forEach((function(t){!function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,a=void 0===o?0:o,s=t.translateY,l=void 0===s?0:s,c=t.anchor,u=t.direction,f=t.padding,d=void 0===f?0:f,h=t.justify,p=void 0!==h&&h,g=t.itemsSpacing,v=void 0===g?0:g,m=t.itemWidth,b=t.itemHeight,y=t.itemDirection,_=void 0===y?"left-to-right":y,w=t.itemTextColor,x=t.symbolSize,k=void 0===x?16:x,C=t.symbolSpacing,M=void 0===C?8:C,S=t.theme,T=AA({itemCount:n.length,itemWidth:m,itemHeight:b,itemsSpacing:v,direction:u,padding:d}),O=T.width,A=T.height,E=T.padding,P=EA({anchor:c,translateX:a,translateY:l,containerWidth:r,containerHeight:i,width:O,height:A}),L=P.x,j=P.y,N="row"===u?m+v:0,D="column"===u?b+v:0;e.save(),e.translate(L,j),e.font=S.legends.text.fontSize+"px "+(S.legends.text.fontFamily||"sans-serif"),n.forEach((function(t,n){var r,i,o=n*N+E.left,a=n*D+E.top,s=PA({direction:_,justify:p,symbolSize:k,symbolSpacing:M,width:m,height:b}),l=s.symbolX,c=s.symbolY,u=s.labelX,f=s.labelY,d=s.labelAnchor,h=s.labelAlignment;e.fillStyle=null!=(r=t.color)?r:"black",e.fillRect(o+l,a+c,k,k),e.textAlign=FA[d],"central"===h&&(e.textBaseline="middle"),e.fillStyle=null!=(i=null!=w?w:S.legends.text.fill)?i:"black",e.fillText(String(t.label),o+u,a+f)})),e.restore()}(e,_E({},t,{data:t.data||r,containerWidth:he,containerHeight:ge,theme:be}))}))}}))}),[t,ve,me,m,be,ke,Me,Se,Te,U,I,H,V,W,Y,Z,X,Q,Oe,E,L,_e]);var Le=pe((function(e){var n=GS(t.current,e),r=n[0],i=n[1];if(!function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r}(ce.left,ce.top,he,ge,r,i))return null;var o=Ee.find(r-ce.left,i-ce.top);return Oe[o]}),[t,ce,he,ge,Ee]),je=pd(),Ne=je.showTooltipFromEvent,De=je.hideTooltip,Fe=pe((function(e){var t=Le(e);we(t),t?Ne(k(ae,{point:t}),e):De()}),[Le,we,Ne,De,ae]),Re=pe((function(e){De(),we(null),_e&&re&&re(_e,e)}),[De,we,re]),$e=pe((function(e){if(ie){var t=Le(e);t&&ie(t,e)}}),[Le,ie]);return et("canvas",{ref:t,width:ve*a,height:me*a,style:{width:ve,height:me,cursor:ee?"auto":"normal"},onMouseEnter:ee?Fe:void 0,onMouseMove:ee?Fe:void 0,onMouseLeave:ee?Re:void 0,onClick:ee?$e:void 0})})),BE=Ae((function(e,t){return et($E,_E({},e,{canvasRef:t}))}));Ae((function(e,t){return et(CS,{children:function(n){var r=n.width,i=n.height;return et(BE,_E({width:r,height:i},e,{ref:t}))}})}));const UE={tickSize:5,tickPadding:5,tickRotation:45,ticksPosition:"before"},IE={margin:{top:50,right:100,bottom:50,left:60},xScale:{type:"point"},yScale:{type:"linear",min:"auto",max:"auto",reverse:!1},axisTop:null,axisRight:null,axisBottom:UE,axisLeft:{tickSize:5,tickPadding:5,tickRotation:0},useMesh:!0,enableArea:!0},zE={background:"var(--bg-base-primary)",axis:{ticks:{text:{fill:"var(--on-text-secondary)"}},legend:{text:{fill:"var(--on-text-primary)"}},grid:{line:{stroke:"var(--on-border-muted)"}}},legends:{text:{fill:"var(--on-text-secondary)"}},tooltip:{container:{background:"var(--bg-base-modal)",color:"var(--on-text-primary)"}}};var HE;!function(e){e.Mesh="Mesh",e.SlicesX="SlicesX",e.SlicesY="SlicesY"}(HE||(HE={}));const VE=64,WE=({kind:e=HE.Mesh,width:t="100%",height:n=400,emptyLabel:r="No data available",emptyAriaLabel:i="No data available",axisBottom:o,rootAriaLabel:a,data:s,...l})=>{const c=(e=>{switch(e){case HE.SlicesX:return{useMesh:!1,enableSlices:"x"};case HE.SlicesY:return{useMesh:!1,enableSlices:"y"};case HE.Mesh:default:return{useMesh:!0,enableSlices:void 0}}})(e),u=pe(((t,n)=>{e===HE.Mesh?l?.onClick?.(t,n):[HE.SlicesX,HE.SlicesY].includes(e)&&l?.onSliceClick?.(t,n)}),[e,l]),f=pe(((t,n)=>{e===HE.Mesh?l?.onTouchEnd?.(t,n):[HE.SlicesX,HE.SlicesY].includes(e)&&l?.onSliceTouchEnd?.(t,n)}),[e,l]),d=he((()=>{const e=s?.flatMap((e=>e.data?.map((e=>e.x))));return[...new Set(e)].sort(((e,t)=>{const n=e?.toString()||"",r=t?.toString()||"",i=n.split(/(\d+)/).filter(Boolean),o=r.split(/(\d+)/).filter(Boolean);for(let e=0;e<Math.min(i.length,o.length);e++){const t=parseInt(i[e],10),n=parseInt(o[e],10);if(isNaN(t)||isNaN(n)){const t=i[e].localeCompare(o[e]);if(0!==t)return t}else if(t!==n)return t-n}return i.length-o.length}))}),[s]);return!s||0===s.length||s.every((e=>!e.data?.length))?et("div",{role:"img","aria-label":i,className:void 0,style:{width:t,height:n},children:r}):et("div",{role:"img","aria-label":a,tabIndex:0,style:{width:t,height:n},children:et(RE,{...IE,...c,...l,data:s,onClick:u,onTouchEnd:f,axisBottom:{...UE,...o,tickValues:d},theme:zE})})},YE=e=>{const{className:t}=e;return et(er,{type:"paragraph",size:"m",bold:!0,className:nt("styles_text__BcILe",t),children:[et(Qn,{id:Kn.reportLogo,size:"m",inline:!0,className:"styles_logo__jHlBl"}),et("span",{children:"Allure Report"})]})};function qE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ZE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qE(Object(n),!0).forEach((function(t){XE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qE(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GE(e){return GE="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},GE(e)}function XE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KE(){return KE=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},KE.apply(this,arguments)}function QE(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var JE=QE(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),eP=QE(/Edge/i),tP=QE(/firefox/i),nP=QE(/safari/i)&&!QE(/chrome/i)&&!QE(/android/i),rP=QE(/iP(ad|od|hone)/i),iP=QE(/chrome/i)&&QE(/android/i),oP={capture:!1,passive:!1};function aP(e,t,n){e.addEventListener(t,n,!JE&&oP)}function sP(e,t,n){e.removeEventListener(t,n,!JE&&oP)}function lP(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function cP(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function uP(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&lP(e,t):lP(e,t))||r&&e===n)return e;if(e===n)break}while(e=cP(e))}return null}var fP,dP=/\s+/g;function hP(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(dP," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(dP," ")}}function pP(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function gP(e,t){var n="";if("string"==typeof e)n=e;else do{var r=pP(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function vP(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function mP(){return document.scrollingElement||document.documentElement}function bP(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,u,f;if(e!==window&&e.parentNode&&e!==mP()?(a=(o=e.getBoundingClientRect()).top,s=o.left,l=o.bottom,c=o.right,u=o.height,f=o.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!JE))do{if(i&&i.getBoundingClientRect&&("none"!==pP(i,"transform")||n&&"static"!==pP(i,"position"))){var d=i.getBoundingClientRect();a-=d.top+parseInt(pP(i,"border-top-width")),s-=d.left+parseInt(pP(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var h=gP(i||e),p=h&&h.a,g=h&&h.d;h&&(l=(a/=g)+(u/=g),c=(s/=p)+(f/=p))}return{top:a,left:s,bottom:l,right:c,width:f,height:u}}}function yP(e,t,n){for(var r=CP(e,!0),i=bP(e)[t];r;){if(!(i>=bP(r)[n]))return r;if(r===mP())break;r=CP(r,!1)}return!1}function _P(e,t,n,r){for(var i=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==TL.ghost&&(r||a[o]!==TL.dragged)&&uP(a[o],n.draggable,e,!1)){if(i===t)return a[o];i++}o++}return null}function wP(e,t){for(var n=e.lastElementChild;n&&(n===TL.ghost||"none"===pP(n,"display")||t&&!lP(n,t));)n=n.previousElementSibling;return n||null}function xP(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===TL.clone||t&&!lP(e,t)||n++;return n}function kP(e){var t=0,n=0,r=mP();if(e)do{var i=gP(e),o=i.a,a=i.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function CP(e,t){if(!e||!e.getBoundingClientRect)return mP();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=pP(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return mP();if(r||t)return n;r=!0}}}while(n=n.parentNode);return mP()}function MP(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function SP(e,t){return function(){if(!fP){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),fP=setTimeout((function(){fP=void 0}),t)}}}function TP(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function OP(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function AP(e,t,n){var r={};return Array.from(e.children).forEach((function(i){var o,a,s,l;if(uP(i,t.draggable,e,!1)&&!i.animated&&i!==n){var c=bP(i);r.left=Math.min(null!==(o=r.left)&&void 0!==o?o:1/0,c.left),r.top=Math.min(null!==(a=r.top)&&void 0!==a?a:1/0,c.top),r.right=Math.max(null!==(s=r.right)&&void 0!==s?s:-1/0,c.right),r.bottom=Math.max(null!==(l=r.bottom)&&void 0!==l?l:-1/0,c.bottom)}})),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var EP="Sortable"+(new Date).getTime(),PP=[],LP={initializeByDefault:!0},jP={mount:function(e){for(var t in LP)LP.hasOwnProperty(t)&&!(t in e)&&(e[t]=LP[t]);PP.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),PP.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";PP.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](ZE({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](ZE({sortable:t},n)))}))},initializePlugins:function(e,t,n,r){for(var i in PP.forEach((function(r){var i=r.pluginName;if(e.options[i]||r.initializeByDefault){var o=new r(e,t,e.options);o.sortable=e,o.options=e.options,e[i]=o,KE(n,o.defaults)}})),e.options)if(e.options.hasOwnProperty(i)){var o=this.modifyOption(e,i,e.options[i]);void 0!==o&&(e.options[i]=o)}},getEventProperties:function(e,t){var n={};return PP.forEach((function(r){"function"==typeof r.eventProperties&&KE(n,r.eventProperties.call(t[r.pluginName],e))})),n},modifyOption:function(e,t,n){var r;return PP.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))})),r}},NP=["evt"],DP=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=function(e,t){if(null==e)return{};var n,r,i=function(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}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,NP);jP.pluginEvent.bind(TL)(e,t,ZE({dragEl:RP,parentEl:$P,ghostEl:BP,rootEl:UP,nextEl:IP,lastDownEl:zP,cloneEl:HP,cloneHidden:VP,dragStarted:rL,putSortable:XP,activeSortable:TL.active,originalEvent:r,oldIndex:WP,oldDraggableIndex:qP,newIndex:YP,newDraggableIndex:ZP,hideGhostForTarget:kL,unhideGhostForTarget:CL,cloneNowHidden:function(){VP=!0},cloneNowShown:function(){VP=!1},dispatchSortableEvent:function(e){FP({sortable:t,name:e,originalEvent:r})}},i))};function FP(e){!function(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,o=e.cloneEl,a=e.toEl,s=e.fromEl,l=e.oldIndex,c=e.newIndex,u=e.oldDraggableIndex,f=e.newDraggableIndex,d=e.originalEvent,h=e.putSortable,p=e.extraEventProperties;if(t=t||n&&n[EP]){var g,v=t.options,m="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||JE||eP?(g=document.createEvent("Event")).initEvent(r,!0,!0):g=new CustomEvent(r,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=i||n,g.clone=o,g.oldIndex=l,g.newIndex=c,g.oldDraggableIndex=u,g.newDraggableIndex=f,g.originalEvent=d,g.pullMode=h?h.lastPutMode:void 0;var b=ZE(ZE({},p),jP.getEventProperties(r,t));for(var y in b)g[y]=b[y];n&&n.dispatchEvent(g),v[m]&&v[m].call(t,g)}}(ZE({putSortable:XP,cloneEl:HP,targetEl:RP,rootEl:UP,oldIndex:WP,oldDraggableIndex:qP,newIndex:YP,newDraggableIndex:ZP},e))}var RP,$P,BP,UP,IP,zP,HP,VP,WP,YP,qP,ZP,GP,XP,KP,QP,JP,eL,tL,nL,rL,iL,oL,aL,sL,lL=!1,cL=!1,uL=[],fL=!1,dL=!1,hL=[],pL=!1,gL=[],vL="undefined"!=typeof document,mL=rP,bL=eP||JE?"cssFloat":"float",yL=vL&&!iP&&!rP&&"draggable"in document.createElement("div"),_L=function(){if(vL){if(JE)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),wL=function(e,t){var n=pP(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=_P(e,0,t),o=_P(e,1,t),a=i&&pP(i),s=o&&pP(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+bP(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+bP(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[bL]||o&&"none"===n[bL]&&l+c>r)?"vertical":"horizontal"},xL=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==GE(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},kL=function(){!_L&&BP&&pP(BP,"display","none")},CL=function(){!_L&&BP&&pP(BP,"display","")};vL&&!iP&&document.addEventListener("click",(function(e){if(cL)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),cL=!1,!1}),!0);var ML=function(e){if(RP){var t=function(e,t){var n;return uL.some((function(r){var i=r[EP].options.emptyInsertThreshold;if(i&&!wP(r)){var o=bP(r),a=e>=o.left-i&&e<=o.right+i,s=t>=o.top-i&&t<=o.bottom+i;return a&&s?n=r:void 0}})),n}((e=e.touches?e.touches[0]:e).clientX,e.clientY);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[EP]._onDragOver(n)}}},SL=function(e){RP&&RP.parentNode[EP]._isOutsideThisEl(e.target)};function TL(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=KE({},t),e[EP]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return wL(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==TL.supportPointer&&"PointerEvent"in window&&(!nP||rP),emptyInsertThreshold:5};for(var r in jP.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in xL(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&yL,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?aP(e,"pointerdown",this._onTapStart):(aP(e,"mousedown",this._onTapStart),aP(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(aP(e,"dragover",this),aP(e,"dragenter",this)),uL.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),KE(this,function(){var e,t=[];return{captureAnimationState:function(){t=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==pP(e,"display")&&e!==TL.ghost){t.push({target:e,rect:bP(e)});var n=ZE({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=gP(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,o=0;t.forEach((function(e){var t=0,n=e.target,a=n.fromRect,s=bP(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,f=gP(n,!0);f&&(s.top-=f.f,s.left-=f.e),n.toRect=s,n.thisAnimationDuration&&MP(l,s)&&!MP(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,l,c,r.options)),MP(s,a)||(n.prevFromRect=a,n.prevToRect=s,t||(t=r.options.animation),r.animate(n,u,s,t)),t&&(i=!0,o=Math.max(o,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof n&&n()}),o):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){pP(e,"transition",""),pP(e,"transform","");var i=gP(this.el),o=i&&i.a,a=i&&i.d,s=(t.left-n.left)/(o||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,pP(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),pP(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),pP(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){pP(e,"transition",""),pP(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}())}function OL(e,t,n,r,i,o,a,s){var l,c,u=e[EP],f=u.options.onMove;return!window.CustomEvent||JE||eP?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||bP(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),f&&(c=f.call(u,l,a)),c}function AL(e){e.draggable=!1}function EL(){pL=!1}function PL(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function LL(e){return setTimeout(e,0)}function jL(e){return clearTimeout(e)}TL.prototype={constructor:TL,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(iL=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,RP):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){gL.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&gL.push(r)}}(n),!RP&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!nP||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=uP(s,r.draggable,n,!1))&&s.animated||zP===s)){if(WP=xP(s),qP=xP(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return FP({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),DP("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=uP(l,r.trim(),n,!1))return FP({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),DP("filter",t,{evt:e}),!0}))))return void(i&&e.preventDefault());r.handle&&!uP(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!RP&&n.parentNode===o){var l=bP(n);if(UP=o,$P=(RP=n).parentNode,IP=RP.nextSibling,zP=n,GP=a.group,TL.dragged=RP,KP={target:RP,clientX:(t||e).clientX,clientY:(t||e).clientY},tL=KP.clientX-l.left,nL=KP.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,RP.style["will-change"]="all",r=function(){DP("delayEnded",i,{evt:e}),TL.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!tP&&i.nativeDraggable&&(RP.draggable=!0),i._triggerDragStart(e,t),FP({sortable:i,name:"choose",originalEvent:e}),hP(RP,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){vP(RP,e.trim(),AL)})),aP(s,"dragover",ML),aP(s,"mousemove",ML),aP(s,"touchmove",ML),a.supportPointer?(aP(s,"pointerup",i._onDrop),!this.nativeDraggable&&aP(s,"pointercancel",i._onDrop)):(aP(s,"mouseup",i._onDrop),aP(s,"touchend",i._onDrop),aP(s,"touchcancel",i._onDrop)),tP&&this.nativeDraggable&&(this.options.touchStartThreshold=4,RP.draggable=!0),DP("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(eP||JE))r();else{if(TL.eventCanceled)return void this._onDrop();a.supportPointer?(aP(s,"pointerup",i._disableDelayedDrag),aP(s,"pointercancel",i._disableDelayedDrag)):(aP(s,"mouseup",i._disableDelayedDrag),aP(s,"touchend",i._disableDelayedDrag),aP(s,"touchcancel",i._disableDelayedDrag)),aP(s,"mousemove",i._delayedDragTouchMoveHandler),aP(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&aP(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){RP&&AL(RP),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;sP(e,"mouseup",this._disableDelayedDrag),sP(e,"touchend",this._disableDelayedDrag),sP(e,"touchcancel",this._disableDelayedDrag),sP(e,"pointerup",this._disableDelayedDrag),sP(e,"pointercancel",this._disableDelayedDrag),sP(e,"mousemove",this._delayedDragTouchMoveHandler),sP(e,"touchmove",this._delayedDragTouchMoveHandler),sP(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?aP(document,"pointermove",this._onTouchMove):aP(document,t?"touchmove":"mousemove",this._onTouchMove):(aP(RP,"dragend",this),aP(UP,"dragstart",this._onDragStart));try{document.selection?LL((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(lL=!1,UP&&RP){DP("dragStarted",this,{evt:t}),this.nativeDraggable&&aP(document,"dragover",SL);var n=this.options;!e&&hP(RP,n.dragClass,!1),hP(RP,n.ghostClass,!0),TL.active=this,e&&this._appendGhost(),FP({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(QP){this._lastX=QP.clientX,this._lastY=QP.clientY,kL();for(var e=document.elementFromPoint(QP.clientX,QP.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(QP.clientX,QP.clientY))!==t;)t=e;if(RP.parentNode[EP]._isOutsideThisEl(e),t)do{if(t[EP]&&t[EP]._onDragOver({clientX:QP.clientX,clientY:QP.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=cP(t));CL()}},_onTouchMove:function(e){if(KP){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=BP&&gP(BP,!0),a=BP&&o&&o.a,s=BP&&o&&o.d,l=mL&&sL&&kP(sL),c=(i.clientX-KP.clientX+r.x)/(a||1)+(l?l[0]-hL[0]:0)/(a||1),u=(i.clientY-KP.clientY+r.y)/(s||1)+(l?l[1]-hL[1]:0)/(s||1);if(!TL.active&&!lL){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(BP){o?(o.e+=c-(JP||0),o.f+=u-(eL||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var f="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");pP(BP,"webkitTransform",f),pP(BP,"mozTransform",f),pP(BP,"msTransform",f),pP(BP,"transform",f),JP=c,eL=u,QP=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!BP){var e=this.options.fallbackOnBody?document.body:UP,t=bP(RP,!0,mL,!0,e),n=this.options;if(mL){for(sL=e;"static"===pP(sL,"position")&&"none"===pP(sL,"transform")&&sL!==document;)sL=sL.parentNode;sL!==document.body&&sL!==document.documentElement?(sL===document&&(sL=mP()),t.top+=sL.scrollTop,t.left+=sL.scrollLeft):sL=mP(),hL=kP(sL)}hP(BP=RP.cloneNode(!0),n.ghostClass,!1),hP(BP,n.fallbackClass,!0),hP(BP,n.dragClass,!0),pP(BP,"transition",""),pP(BP,"transform",""),pP(BP,"box-sizing","border-box"),pP(BP,"margin",0),pP(BP,"top",t.top),pP(BP,"left",t.left),pP(BP,"width",t.width),pP(BP,"height",t.height),pP(BP,"opacity","0.8"),pP(BP,"position",mL?"absolute":"fixed"),pP(BP,"zIndex","100000"),pP(BP,"pointerEvents","none"),TL.ghost=BP,e.appendChild(BP),pP(BP,"transform-origin",tL/parseInt(BP.style.width)*100+"% "+nL/parseInt(BP.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;DP("dragStart",this,{evt:e}),TL.eventCanceled?this._onDrop():(DP("setupClone",this),TL.eventCanceled||((HP=OP(RP)).removeAttribute("id"),HP.draggable=!1,HP.style["will-change"]="",this._hideClone(),hP(HP,this.options.chosenClass,!1),TL.clone=HP),n.cloneId=LL((function(){DP("clone",n),TL.eventCanceled||(n.options.removeCloneOnHide||UP.insertBefore(HP,RP),n._hideClone(),FP({sortable:n,name:"clone"}))})),!t&&hP(RP,i.dragClass,!0),t?(cL=!0,n._loopId=setInterval(n._emulateDragOver,50)):(sP(document,"mouseup",n._onDrop),sP(document,"touchend",n._onDrop),sP(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,RP)),aP(document,"drop",n),pP(RP,"transform","translateZ(0)")),lL=!0,n._dragStartId=LL(n._dragStarted.bind(n,t,e)),aP(document,"selectstart",n),rL=!0,window.getSelection().removeAllRanges(),nP&&pP(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,o=this.el,a=e.target,s=this.options,l=s.group,c=TL.active,u=GP===l,f=s.sort,d=XP||c,h=this,p=!1;if(!pL){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=uP(a,s.draggable,o,!0),A("dragOver"),TL.eventCanceled)return p;if(RP.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||h._ignoreWhileAnimating===a)return P(!1);if(cL=!1,c&&!s.disabled&&(u?f||(r=$P!==UP):XP===this||(this.lastPutMode=GP.checkPull(this,c,RP,e))&&l.checkPut(this,c,RP,e))){if(i="vertical"===this._getDirection(e,a),t=bP(RP),A("dragOverValid"),TL.eventCanceled)return p;if(r)return $P=UP,E(),this._hideClone(),A("revert"),TL.eventCanceled||(IP?UP.insertBefore(RP,IP):UP.appendChild(RP)),P(!0);var g=wP(o,s.draggable);if(!g||function(e,t,n){var r=bP(wP(n.el,n.options.draggable)),i=AP(n.el,n.options,BP);return t?e.clientX>i.right+10||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>i.bottom+10||e.clientX>r.right&&e.clientY>r.top}(e,i,this)&&!g.animated){if(g===RP)return P(!1);if(g&&o===e.target&&(a=g),a&&(n=bP(a)),!1!==OL(UP,o,RP,t,a,n,e,!!a))return E(),g&&g.nextSibling?o.insertBefore(RP,g.nextSibling):o.appendChild(RP),$P=o,L(),P(!0)}else if(g&&function(e,t,n){var r=bP(_P(n.el,0,n.options,!0)),i=AP(n.el,n.options,BP);return t?e.clientX<i.left-10||e.clientY<r.top&&e.clientX<r.right:e.clientY<i.top-10||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var v=_P(o,0,s,!0);if(v===RP)return P(!1);if(n=bP(a=v),!1!==OL(UP,o,RP,t,a,n,e,!1))return E(),o.insertBefore(RP,v),$P=o,L(),P(!0)}else if(a.parentNode===o){n=bP(a);var m,b,y,_=RP.parentNode!==o,w=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2}(RP.animated&&RP.toRect||t,a.animated&&a.toRect||n,i),x=i?"top":"left",k=yP(a,"top","top")||yP(RP,"top","top"),C=k?k.scrollTop:void 0;if(iL!==a&&(b=n[x],fL=!1,dL=!w&&s.invertSwap||_),m=function(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a)if(s&&aL<c*i){if(!fL&&(1===oL?l>u+c*o/2:l<f-c*o/2)&&(fL=!0),fL)d=!0;else if(1===oL?l<u+aL:l>f-aL)return-oL}else if(l>u+c*(1-i)/2&&l<f-c*(1-i)/2)return function(e){return xP(RP)<xP(e)?1:-1}(t);return(d=d||a)&&(l<u+c*o/2||l>f-c*o/2)?l>u+c/2?1:-1:0}(e,a,n,i,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,dL,iL===a),0!==m){var M=xP(RP);do{M-=m,y=$P.children[M]}while(y&&("none"===pP(y,"display")||y===BP))}if(0===m||y===a)return P(!1);iL=a,oL=m;var S=a.nextElementSibling,T=!1,O=OL(UP,o,RP,t,a,n,e,T=1===m);if(!1!==O)return 1!==O&&-1!==O||(T=1===O),pL=!0,setTimeout(EL,30),E(),T&&!S?o.appendChild(RP):a.parentNode.insertBefore(RP,T?S:a),k&&TP(k,0,C-k.scrollTop),$P=RP.parentNode,void 0===b||dL||(aL=Math.abs(b-bP(a)[x])),L(),P(!0)}if(o.contains(RP))return P(!1)}return!1}function A(s,l){DP(s,h,ZE({evt:e,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:f,fromSortable:d,target:a,completed:P,onMove:function(n,r){return OL(UP,o,RP,t,n,bP(n),e,r)},changed:L},l))}function E(){A("dragOverAnimationCapture"),h.captureAnimationState(),h!==d&&d.captureAnimationState()}function P(t){return A("dragOverCompleted",{insertion:t}),t&&(u?c._hideClone():c._showClone(h),h!==d&&(hP(RP,XP?XP.options.ghostClass:c.options.ghostClass,!1),hP(RP,s.ghostClass,!0)),XP!==h&&h!==TL.active?XP=h:h===TL.active&&XP&&(XP=null),d===h&&(h._ignoreWhileAnimating=a),h.animateAll((function(){A("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(a===RP&&!RP.animated||a===o&&!a.animated)&&(iL=null),s.dragoverBubble||e.rootEl||a===document||(RP.parentNode[EP]._isOutsideThisEl(e.target),!t&&ML(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),p=!0}function L(){YP=xP(RP),ZP=xP(RP,s.draggable),FP({sortable:h,name:"change",toEl:o,newIndex:YP,newDraggableIndex:ZP,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){sP(document,"mousemove",this._onTouchMove),sP(document,"touchmove",this._onTouchMove),sP(document,"pointermove",this._onTouchMove),sP(document,"dragover",ML),sP(document,"mousemove",ML),sP(document,"touchmove",ML)},_offUpEvents:function(){var e=this.el.ownerDocument;sP(e,"mouseup",this._onDrop),sP(e,"touchend",this._onDrop),sP(e,"pointerup",this._onDrop),sP(e,"pointercancel",this._onDrop),sP(e,"touchcancel",this._onDrop),sP(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;YP=xP(RP),ZP=xP(RP,n.draggable),DP("drop",this,{evt:e}),$P=RP&&RP.parentNode,YP=xP(RP),ZP=xP(RP,n.draggable),TL.eventCanceled||(lL=!1,dL=!1,fL=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),jL(this.cloneId),jL(this._dragStartId),this.nativeDraggable&&(sP(document,"drop",this),sP(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),nP&&pP(document.body,"user-select",""),pP(RP,"transform",""),e&&(rL&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),BP&&BP.parentNode&&BP.parentNode.removeChild(BP),(UP===$P||XP&&"clone"!==XP.lastPutMode)&&HP&&HP.parentNode&&HP.parentNode.removeChild(HP),RP&&(this.nativeDraggable&&sP(RP,"dragend",this),AL(RP),RP.style["will-change"]="",rL&&!lL&&hP(RP,XP?XP.options.ghostClass:this.options.ghostClass,!1),hP(RP,this.options.chosenClass,!1),FP({sortable:this,name:"unchoose",toEl:$P,newIndex:null,newDraggableIndex:null,originalEvent:e}),UP!==$P?(YP>=0&&(FP({rootEl:$P,name:"add",toEl:$P,fromEl:UP,originalEvent:e}),FP({sortable:this,name:"remove",toEl:$P,originalEvent:e}),FP({rootEl:$P,name:"sort",toEl:$P,fromEl:UP,originalEvent:e}),FP({sortable:this,name:"sort",toEl:$P,originalEvent:e})),XP&&XP.save()):YP!==WP&&YP>=0&&(FP({sortable:this,name:"update",toEl:$P,originalEvent:e}),FP({sortable:this,name:"sort",toEl:$P,originalEvent:e})),TL.active&&(null!=YP&&-1!==YP||(YP=WP,ZP=qP),FP({sortable:this,name:"end",toEl:$P,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){DP("nulling",this),UP=RP=$P=BP=IP=HP=zP=VP=KP=QP=rL=YP=ZP=WP=qP=iL=oL=XP=GP=TL.dragged=TL.ghost=TL.clone=TL.active=null,gL.forEach((function(e){e.checked=!0})),gL.length=JP=eL=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":RP&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,o=this.options;r<i;r++)uP(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||PL(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach((function(e,t){var i=r.children[t];uP(i,this.options.draggable,r,!1)&&(n[e]=i)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return uP(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=jP.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&xL(n)},destroy:function(){DP("destroy",this);var e=this.el;e[EP]=null,sP(e,"mousedown",this._onTapStart),sP(e,"touchstart",this._onTapStart),sP(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(sP(e,"dragover",this),sP(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),uL.splice(uL.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!VP){if(DP("hideClone",this),TL.eventCanceled)return;pP(HP,"display","none"),this.options.removeCloneOnHide&&HP.parentNode&&HP.parentNode.removeChild(HP),VP=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(VP){if(DP("showClone",this),TL.eventCanceled)return;RP.parentNode!=UP||this.options.group.revertClone?IP?UP.insertBefore(HP,IP):UP.appendChild(HP):UP.insertBefore(HP,RP),this.options.group.revertClone&&this.animate(RP,HP),pP(HP,"display",""),VP=!1}}else this._hideClone()}},vL&&aP(document,"touchmove",(function(e){(TL.active||lL)&&e.cancelable&&e.preventDefault()})),TL.utils={on:aP,off:sP,css:pP,find:vP,is:function(e,t){return!!uP(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:SP,closest:uP,toggleClass:hP,clone:OP,index:xP,nextTick:LL,cancelNextTick:jL,detectDirection:wL,getChild:_P,expando:EP},TL.get=function(e){return e[EP]},TL.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(TL.utils=ZE(ZE({},TL.utils),e.utils)),jP.mount(e)}))},TL.create=function(e,t){return new TL(e,t)},TL.version="1.15.6";var NL,DL,FL,RL,$L,BL,UL=[],IL=!1;function zL(){UL.forEach((function(e){clearInterval(e.pid)})),UL=[]}function HL(){clearInterval(BL)}var VL,WL=SP((function(e,t,n,r){if(t.scroll){var i,o=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=mP(),u=!1;DL!==n&&(DL=n,zL(),NL=t.scroll,i=t.scrollFn,!0===NL&&(NL=CP(n,!0)));var f=0,d=NL;do{var h=d,p=bP(h),g=p.top,v=p.bottom,m=p.left,b=p.right,y=p.width,_=p.height,w=void 0,x=void 0,k=h.scrollWidth,C=h.scrollHeight,M=pP(h),S=h.scrollLeft,T=h.scrollTop;h===c?(w=y<k&&("auto"===M.overflowX||"scroll"===M.overflowX||"visible"===M.overflowX),x=_<C&&("auto"===M.overflowY||"scroll"===M.overflowY||"visible"===M.overflowY)):(w=y<k&&("auto"===M.overflowX||"scroll"===M.overflowX),x=_<C&&("auto"===M.overflowY||"scroll"===M.overflowY));var O=w&&(Math.abs(b-o)<=s&&S+y<k)-(Math.abs(m-o)<=s&&!!S),A=x&&(Math.abs(v-a)<=s&&T+_<C)-(Math.abs(g-a)<=s&&!!T);if(!UL[f])for(var E=0;E<=f;E++)UL[E]||(UL[E]={});UL[f].vx==O&&UL[f].vy==A&&UL[f].el===h||(UL[f].el=h,UL[f].vx=O,UL[f].vy=A,clearInterval(UL[f].pid),0==O&&0==A||(u=!0,UL[f].pid=setInterval(function(){r&&0===this.layer&&TL.active._onTouchMove($L);var t=UL[this.layer].vy?UL[this.layer].vy*l:0,n=UL[this.layer].vx?UL[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(TL.dragged.parentNode[EP],n,t,e,$L,UL[this.layer].el)||TP(UL[this.layer].el,n,t)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&d!==c&&(d=CP(d,!1)));IL=u}}),30),YL=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function qL(){}function ZL(){}qL.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=_P(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:YL},KE(qL,{pluginName:"revertOnSpill"}),ZL.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:YL},KE(ZL,{pluginName:"removeOnSpill"}),TL.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?aP(document,"dragover",this._handleAutoScroll):this.options.supportPointer?aP(document,"pointermove",this._handleFallbackAutoScroll):t.touches?aP(document,"touchmove",this._handleFallbackAutoScroll):aP(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?sP(document,"dragover",this._handleAutoScroll):(sP(document,"pointermove",this._handleFallbackAutoScroll),sP(document,"touchmove",this._handleFallbackAutoScroll),sP(document,"mousemove",this._handleFallbackAutoScroll)),HL(),zL(),clearTimeout(fP),fP=void 0},nulling:function(){$L=DL=NL=IL=BL=FL=RL=null,UL.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(r,i);if($L=e,t||this.options.forceAutoScrollFallback||eP||JE||nP){WL(e,this.options,o,t);var a=CP(o,!0);!IL||BL&&r===FL&&i===RL||(BL&&HL(),BL=setInterval((function(){var o=CP(document.elementFromPoint(r,i),!0);o!==a&&(a=o,zL()),WL(e,n.options,o,t)}),10),FL=r,RL=i)}else{if(!this.options.bubbleScroll||CP(o,!0)===mP())return void zL();WL(e,this.options,CP(o,!1),!1)}}},KE(e,{pluginName:"scroll",initializeByDefault:!0})}),TL.mount(ZL,qL);const GL="dnd-drag-handle",XL="dnd-drag-enabled";TL.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;VL=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,o=e.changed,a=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=VL;!1!==r(n)?(hP(n,l.swapClass,!0),VL=n):VL=null,c&&c!==VL&&hP(c,l.swapClass,!1)}o(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,i=n||this.sortable,o=this.options;VL&&hP(VL,o.swapClass,!1),VL&&(o.swap||n&&n.options.swap)&&r!==VL&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),function(e,t){var n,r,i=e.parentNode,o=t.parentNode;i&&o&&!i.isEqualNode(t)&&!o.isEqualNode(e)&&(n=xP(e),r=xP(t),i.isEqualNode(o)&&n<r&&r++,i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r]))}(r,VL),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){VL=null}},KE(e,{pluginName:"swap",eventProperties:function(){return{swapItem:VL}}})});const KL=({className:e,options:t,kind:n="default",children:r,...i})=>{const o=de(null);return((e,t)=>{fe((()=>{if(e.current){const n=TL.create(e.current,{animation:150,handle:`.${GL}`,draggable:`.${XL}`,...t});return()=>{n.destroy()}}}),[e,t])})(o,he((()=>({...t,..."swap"===n&&{swap:!0,swapClass:"dnd-drag-swap-highlight"}})),[t,n])),et("div",{ref:o,className:nt("styles_grid__bgsAQ",e),...i,children:r})},QL=({className:e})=>et(Qn,{id:Kn.draggable,className:e}),JL=({className:e})=>et("div",{className:nt("styles_drag-handle__2DC4-",GL,e),children:et(QL,{})}),ej=({className:e,children:t,dndEnabled:n=!1,...r})=>et("div",{...r,className:nt("styles_grid-item__-kGp3",{[XL]:n},e),children:[et("div",{className:"styles_grid-item-content__hZ5TS",children:t}),n&&et(JL,{className:"styles_grid-item-handle__OyO7A"})]}),tj=({locale:e,setLocale:t,availableLocales:n})=>{const r=n||Object.keys(bi),i=[...new Set(r)].map((e=>({key:e,value:bi[e].full})));return et(mi,{size:"s",menuTrigger:({isOpened:t,onClick:n})=>et(or,{style:"ghost",size:"s",text:bi[e]&&bi[e].short||bi.en.short,isExpanded:t,onClick:n}),children:et(mi.Section,{children:i.map((({key:n,value:r})=>et(mi.ItemWithCheckmark,{onClick:()=>{t(n)},isChecked:e===n,children:r},n)))})})},nj=({theme:e,toggleTheme:t,getTheme:n})=>(fe((()=>{n()}),[n]),et(ir,{onClick:t,style:"ghost",icon:"light"===e?Kn.lineShapesMoon:Kn.lineShapesSun,size:"s"}));var rj="fma_u1MG",ij=0;function oj(e,t,n,r,i,a){t||(t={});var s,l,c=t;if("ref"in c)for(l in c={},t)"ref"==l?s=t[l]:c[l]=t[l];var u={type:e,props:c,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--ij,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(s=e.defaultProps))for(l in s)void 0===c[l]&&(c[l]=s[l]);return o.vnode&&o.vnode(u),u}Array.isArray;const aj=()=>oj("div",{className:rj,children:oj("a",{href:"https://allurereport.org",target:"_blank",rel:"noreferrer",children:[oj(er,{type:"paragraph",size:"m",className:rj,children:"Powered by"}),oj(YE,{className:"XNvCzvZ7"})]})});var sj=Symbol.for("preact-signals");function lj(){if(dj>1)dj--;else{for(var e,t=!1;void 0!==fj;){var n=fj;for(fj=void 0,hj++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&bj(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(hj=0,dj--,t)throw e}}var cj,uj=void 0,fj=void 0,dj=0,hj=0,pj=0;function gj(e){if(void 0!==uj){var t=e.n;if(void 0===t||t.t!==uj)return t={i:0,S:e,p:uj.s,n:void 0,t:uj,e:void 0,x:void 0,r:t},void 0!==uj.s&&(uj.s.n=t),uj.s=t,e.n=t,32&uj.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=uj.s,t.n=void 0,uj.s.n=t,uj.s=t),t}}function vj(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function mj(e){return new vj(e)}function bj(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function yj(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function _j(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function wj(e){vj.call(this,void 0),this.x=e,this.s=void 0,this.g=pj-1,this.f=4}function xj(e){return new wj(e)}function kj(e){var t=e.u;if(e.u=void 0,"function"==typeof t){dj++;var n=uj;uj=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,Cj(e),t}finally{uj=n,lj()}}}function Cj(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,kj(e)}function Mj(e){if(uj!==this)throw new Error("Out-of-order effect");_j(this),uj=e,this.f&=-2,8&this.f&&Cj(this),lj()}function Sj(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function Tj(e){var t=new Sj(e);try{t.c()}catch(e){throw t.d(),e}return t.d.bind(t)}function Oj(e,t){o[e]=t.bind(null,o[e]||function(){})}function Aj(e){cj&&cj(),cj=e&&e.S()}function Ej(e){var t=this,n=e.data,r=function(e){return he((function(){return mj(e)}),[])}(n);r.value=n;var i=he((function(){for(var e=t.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}return t.__$u.c=function(){var e;l(i.peek())||3!==(null==(e=t.base)?void 0:e.nodeType)?(t.__$f|=1,t.setState({})):t.base.data=i.peek()},xj((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""}))}),[]);return i.value}function Pj(e,t,n,r){var i=t in e&&void 0===e.ownerSVGElement,o=mj(n);return{o:function(e,t){o.value=e,r=t},d:Tj((function(){var n=o.value.value;r[t]!==n&&(r[t]=n,i?e[t]=n:n?e.setAttribute(t,n):e.removeAttribute(t))}))}}vj.prototype.brand=sj,vj.prototype.h=function(){return!0},vj.prototype.S=function(e){this.t!==e&&void 0===e.e&&(e.x=this.t,void 0!==this.t&&(this.t.e=e),this.t=e)},vj.prototype.U=function(e){if(void 0!==this.t){var t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},vj.prototype.subscribe=function(e){var t=this;return Tj((function(){var n=t.value,r=uj;uj=void 0;try{e(n)}finally{uj=r}}))},vj.prototype.valueOf=function(){return this.value},vj.prototype.toString=function(){return this.value+""},vj.prototype.toJSON=function(){return this.value},vj.prototype.peek=function(){var e=uj;uj=void 0;try{return this.value}finally{uj=e}},Object.defineProperty(vj.prototype,"value",{get:function(){var e=gj(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(hj>100)throw new Error("Cycle detected");this.v=e,this.i++,pj++,dj++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{lj()}}}}),(wj.prototype=new vj).h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===pj)return!0;if(this.g=pj,this.f|=1,this.i>0&&!bj(this))return this.f&=-2,!0;var e=uj;try{yj(this),uj=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return uj=e,_j(this),this.f&=-2,!0},wj.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}vj.prototype.S.call(this,e)},wj.prototype.U=function(e){if(void 0!==this.t&&(vj.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},wj.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(wj.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=gj(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),Sj.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.u=t)}finally{e()}},Sj.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,kj(this),yj(this),dj++;var e=uj;return uj=this,Mj.bind(this,e)},Sj.prototype.N=function(){2&this.f||(this.f|=2,this.o=fj,fj=this)},Sj.prototype.d=function(){this.f|=8,1&this.f||Cj(this)},Ej.displayName="_st",Object.defineProperties(vj.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Ej},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Oj("__b",(function(e,t){if("string"==typeof t.type){var n,r=t.props;for(var i in r)if("children"!==i){var o=r[i];o instanceof vj&&(n||(t.__np=n={}),n[i]=o,r[i]=o.peek())}}e(t)})),Oj("__r",(function(e,t){Aj();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(e){var t;return Tj((function(){t=this})),t.c=function(){r.__$f|=1,r.setState({})},t}())),Aj(n),e(t)})),Oj("__e",(function(e,t,n,r){Aj(),e(t,n,r)})),Oj("diffed",(function(e,t){var n;if(Aj(),"string"==typeof t.type&&(n=t.__e)){var r=t.__np,i=t.props;if(r){var o=n.U;if(o)for(var a in o){var s=o[a];void 0===s||a in r||(s.d(),o[a]=void 0)}else n.U=o={};for(var l in r){var c=o[l],u=r[l];void 0===c?(c=Pj(n,l,u,i),o[l]=c):c.o(u,i)}}}e(t)})),Oj("unmount",(function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var r=n.U;if(r)for(var i in n.U=void 0,r){var o=r[i];o&&o.d()}}}else{var a=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)})),Oj("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),S.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&void 0!==n.s||4&this.__$f))return!0;if(3&this.__$f)return!0;for(var r in t)return!0;for(var i in e)if("__source"!==i&&e[i]!==this.props[i])return!0;for(var o in this.props)if(!(o in e))return!0;return!1};const Lj=e=>"string"==typeof e,jj=()=>{let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n},Nj=e=>null==e?"":""+e,Dj=/###/g,Fj=e=>e&&e.indexOf("###")>-1?e.replace(Dj,"."):e,Rj=e=>!e||Lj(e),$j=(e,t,n)=>{const r=Lj(t)?t.split("."):t;let i=0;for(;i<r.length-1;){if(Rj(e))return{};const t=Fj(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Rj(e)?{}:{obj:e,k:Fj(r[i])}},Bj=(e,t,n)=>{const{obj:r,k:i}=$j(e,t,Object);if(void 0!==r||1===t.length)return void(r[i]=n);let o=t[t.length-1],a=t.slice(0,t.length-1),s=$j(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=$j(e,a,Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},Uj=(e,t)=>{const{obj:n,k:r}=$j(e,t);if(n)return n[r]},Ij=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?Lj(e[r])||e[r]instanceof String||Lj(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Ij(e[r],t[r],n):e[r]=t[r]);return e},zj=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Hj={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Vj=e=>Lj(e)?e.replace(/[&<>"'\/]/g,(e=>Hj[e])):e,Wj=[" ",",","?","!",";"],Yj=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),qj=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let e=0;e<r.length;){if(!i||"object"!=typeof i)return;let t,o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],t=i[o],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i},Zj=e=>e?.replace("_","-"),Gj={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class Xj{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Gj,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(Lj(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Xj(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Xj(this.logger,e)}}var Kj=new Xj;class Qj{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach((e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)})),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach((t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])}))}}class Jj extends Qj{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):Lj(n)&&i?a.push(...n.split(i)):a.push(n)));const s=Uj(this.data,a);return!s&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!s&&o&&Lj(n)?qj(this.data?.[e]?.[t],n,i):s}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),Bj(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)(Lj(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=Uj(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Ij(s,n,i):s={...s,...n},Bj(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var eN={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach((e=>{t=this.processors[e]?.process(t,n,r,i)??t})),t}};const tN={};class nN extends Qj{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,n)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{t[e]&&(n[e]=t[e])}))})(0,e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Kj.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return void 0!==n?.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=Wj.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===r.length)return!0;const i=Yj.getRegExp(`(${r.map((e=>"?"===e?"\\?":e)).join("|")})`);let o=!i.test(e);if(!o){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,r));if(o&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Lj(i)?[i]:i};const o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return{key:e,namespaces:Lj(i)?[i]:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===l?.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${s}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${o}`}return r?{res:o,usedKey:o,exactUsedKey:o,usedLng:l,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:o}const u=this.resolve(e,t);let f=u?.res;const d=u?.usedKey||o,h=u?.exactUsedKey||o,p=Object.prototype.toString.apply(f),g=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,m=!Lj(f)&&"boolean"!=typeof f&&"number"!=typeof f;if(!(v&&f&&m&&["[object Number]","[object Function]","[object RegExp]"].indexOf(p)<0)||Lj(g)&&Array.isArray(f))if(v&&Lj(g)&&Array.isArray(f))f=f.join(g),f&&(f=this.extendTranslation(f,e,t,n));else{let r=!1,a=!1;const c=void 0!==t.count&&!Lj(t.count),d=nN.hasDefaultValue(t),h=c?this.pluralResolver.getSuffix(l,t.count,t):"",p=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",g=c&&!t.ordinal&&0===t.count,v=g&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${h}`]||t[`defaultValue${p}`]||t.defaultValue;!this.isValidLookup(f)&&d&&(r=!0,f=v),this.isValidLookup(f)||(a=!0,f=o);const m=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:f,b=d&&v!==f&&this.options.updateMissing;if(a||r||b){if(this.logger.log(b?"updateKey":"missingKey",l,s,o,b?v:f),i){const e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const r=(e,n,r)=>{const i=d&&r!==f?r:m;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,n,i,b,t):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,s,n,i,b,t),this.emit("missingKey",e,s,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);g&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{r([e],o+n,t[`defaultValue${n}`]||v)}))})):r(e,o,v))}f=this.extendTranslation(f,e,t,u,n),a&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${s}:${o}`),(a||r)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${o}`:o,r?f:void 0))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,f,{...t,ns:a}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(f),n=e?[]:{},r=e?h:d;for(const e in f)if(Object.prototype.hasOwnProperty.call(f,e)){const o=`${r}${i}${e}`;n[e]=this.translate(o,{...t,joinArrays:!1,ns:a}),n[e]===o&&(n[e]=f[e])}f=n}}return r?(u.res=f,u.usedParams=this.getUsedParamsDetails(t),u):f}extendTranslation(e,t,n,r,i){var o=this;if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a=Lj(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let l=n.replace&&!Lj(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i?.[0]!==r[0]||n.context?o.translate(...r,t):(o.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,s=Lj(a)?[a]:a;return null!=e&&s?.length&&!1!==n.applyPostProcessor&&(e=eN.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,r,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Lj(e)&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&!Lj(a.count),f=u&&!a.ordinal&&0===a.count,d=void 0!==a.context&&(Lj(a.context)||"number"==typeof a.context)&&""!==a.context,h=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(o=e,tN[`${h[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(o)||(tN[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((n=>{if(this.isValidLookup(t))return;i=n;const o=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,l,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(o.push(l+e),a.ordinal&&0===e.indexOf(r)&&o.push(l+e.replace(r,this.options.pluralSeparator)),f&&o.push(l+t)),d){const n=`${l}${this.options.contextSeparator}${a.context}`;o.push(n),u&&(o.push(n+e),a.ordinal&&0===e.indexOf(r)&&o.push(n+e.replace(r,this.options.pluralSeparator)),f&&o.push(n+t))}}let s;for(;s=o.pop();)this.isValidLookup(t)||(r=s,t=this.getResource(n,e,s,a))})))}))})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!Lj(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}class rN{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Kj.create("languageUtils")}getScriptPartFromCode(e){if(!(e=Zj(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=Zj(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Lj(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),Lj(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Lj(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):Lj(e)&&i(this.formatLanguageCode(e)),n.forEach((e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))})),r}}const iN={zero:0,one:1,two:2,few:3,many:4,other:5},oN={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class aN{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Kj.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Zj("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let o;try{o=new Intl.PluralRules(n,{type:r})}catch(n){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),oN;if(!e.match(/-|_/))return oN;const r=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(r,t)}return this.pluralRulesCache[i]=o,o}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort(((e,t)=>iN[e]-iN[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const sN=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=((e,t,n)=>{const r=Uj(e,n);return void 0!==r?r:Uj(t,n)})(e,t,n);return!o&&i&&Lj(n)&&(o=qj(e,n,r),void 0===o&&(o=qj(t,n,r))),o},lN=e=>e.replace(/\$/g,"$$$$");class cN{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Kj.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:h,nestingSuffixEscaped:p,nestingOptionsSeparator:g,maxReplaces:v,alwaysFormat:m}=e.interpolation;this.escape=void 0!==t?t:Vj,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?zj(i):o||"{{",this.suffix=a?zj(a):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?zj(f):d||zj("$t("),this.nestingSuffix=h?zj(h):p||zj(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==m&&m,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,o,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=sN(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),o=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(sN(t,s,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:o})};this.resetRegExp();const c=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>lN(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?lN(this.escape(e)):lN(e)}].forEach((t=>{for(a=0;i=t.regex.exec(e);){const n=i[1].trim();if(o=l(n),void 0===o)if("function"==typeof c){const t=c(e,i,r);o=Lj(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(u){o=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),o=""}else Lj(o)||this.useRawValueToEscape||(o=Nj(o));const s=t.safeValue(o);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,i);const a=o.match(/'/g),s=o.match(/"/g);((a?.length??0)%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${o}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];i={...o},i=i.replace&&!Lj(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),s=e,l=!0}if(r=t(a.call(this,n[1].trim(),i),i),r&&n[0]===e&&!Lj(r))return r;Lj(r)||(r=Nj(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l&&(r=s.reduce(((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()})),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const uN=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(Zj(r),i),t[a]=s),s(n)}};class fN{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Kj.create("formatter"),this.options=e,this.formats={number:uN(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:uN(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:uN(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:uN(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:uN(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=uN(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find((e=>e.indexOf(")")>-1))){const e=i.findIndex((e=>e.indexOf(")")>-1));i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}const o=i.reduce(((e,t)=>{const{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{const a=r?.formatParams?.[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e);return o}}class dN extends Qj{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Kj.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const i={},o={},a={},s={};return e.forEach((e=>{let r=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))})),r||(a[e]=!0)})),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){const r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const a={};this.queue.forEach((n=>{((e,t,n,r)=>{const{obj:i,k:o}=$j(e,t,Object);i[o]=i[o]||[],i[o].push(n)})(n.loaded,[i],o),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,r+1,2*i,o)}),i):o(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const n=s(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();Lj(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Lj(t)&&(t=[t]);const i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,((n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)}))}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;i=5===l.length?l(e,t,n,r,s):l(e,t,n,r),i&&"function"==typeof i.then?i.then((e=>a(null,e))).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const hN=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),Lj(e[1])&&(t.defaultValue=e[1]),Lj(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),pN=e=>(Lj(e.ns)&&(e.ns=[e.ns]),Lj(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Lj(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),gN=()=>{};class vN extends Qj{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=pN(e),this.services={},this.logger=Kj,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(Lj(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=hN();this.options={...r,...this.options,...pN(t)},this.options.interpolation={...r.interpolation,...this.options.interpolation},void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?Kj.init(i(this.modules.logger),this.options):Kj.init(null,this.options),t=this.modules.formatter?this.modules.formatter:fN;const n=new rN(this.options);this.store=new Jj(this.options.resources,this.options);const o=this.services;o.logger=Kj,o.resourceStore=this.store,o.languageUtils=n,o.pluralResolver=new aN(n,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(o.formatter=i(t),o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new cN(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new dN(i(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.languageDetector&&(o.languageDetector=i(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=i(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new nN(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=gN),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const o=jj(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(t),n(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),o}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gN;const n=Lj(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===n?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],r=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>r(e))),this.options.preload?.forEach?.((e=>r(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const r=jj();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=gN),this.services.backendConnector.reload(e,t,(e=>{r.resolve(),n(e)})),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&eN.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const r=jj();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(e,o)=>{o?(i(o),this.translator.changeLanguage(o),this.isLanguageChangingTo=void 0,this.emit("languageChanged",o),this.logger.log("languageChanged",o)):this.isLanguageChangingTo=void 0,r.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n=Lj(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector?.cacheUserLanguage?.(n)),this.loadResources(n,(e=>{o(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;const i=function(e,t){let o;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];o=r.options.overloadTranslationOptionHandler([e,t].concat(s))}else o={...t};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||n||i.keyPrefix);const c=r.options.keySeparator||".";let u;return u=o.keyPrefix&&Array.isArray(e)?e.map((e=>`${o.keyPrefix}${c}${e}`)):o.keyPrefix?`${o.keyPrefix}${c}${e}`:e,r.t(u,o)};return Lj(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.translator?.translate(...t)}exists(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.translator?.exists(...t)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const o=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,o);if(void 0!==e)return e}return!(!this.hasResourceBundle(n,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!o(n,e)||r&&!o(i,e)))}loadNamespaces(e,t){const n=jj();return this.options.ns?(Lj(e)&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=jj();Lj(e)&&(e=[e]);const r=this.options.preload||[],i=e.filter((e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=r.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services?.languageUtils||new rN(hN());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new vN(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gN;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},i=new vN(r);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new Jj(this.store.data,r),i.services.resourceStore=i.store),i.translator=new nN(i.services,r),i.translator.on("*",(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];i.emit(e,...n)})),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const mN=vN.createInstance();mN.createInstance=vN.createInstance,mN.createInstance,mN.dir,mN.init,mN.loadResources,mN.reloadResources,mN.use,mN.changeLanguage,mN.getFixedT,mN.t,mN.exists,mN.setDefaultNamespace,mN.hasLoadedNamespace,mN.loadNamespaces,mN.loadLanguages;const bN=mj("en"),yN=xj((()=>n[bN.value]?.iso??n.en.iso)),_N=(xj((()=>["ar","he","fa"].includes(bN.value))),mN.use({type:"backend",read:async(e,t,n)=>{await a(96)(`./${e}.json`).then((e=>{n(null,e[t])})).catch((e=>{n(e,null)}))}}).init({lng:bN.value,fallbackLng:"en",ns:["empty","execution","filters","search","severity","sort-by","sort-by.directions","sort-by.values","statuses","tabs","testSummary","ui","welcome","controls","errors","split","modal","charts"],interpolation:{escapeValue:!1}})),wN=e=>({t:xj((()=>(t,n)=>mN.t(t,{ns:e,...n}))).value,currentLocale:bN.value}),xN=async e=>{await mN.changeLanguage(e),localStorage.setItem("currentLocale",e),bN.value=e},kN=()=>{const[e,n]=ue(null),[r,i]=ue();fe((()=>{const e=t();e?.createdAt&&n(Number(e.createdAt)),e?.allureVersion&&i(e.allureVersion)}),[]);const o=new Date(e).toLocaleDateString(yN.value,{month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});return oj(er,{type:"paragraph",size:"m",className:"YdnHCDVV",children:[o,r&&oj("span",{children:[" Ver: ",r]})]})},CN=()=>oj("div",{className:Z("hYe6DCa9"),children:[oj(aj,{}),oj(kN,{})]}),MN=["failed","broken","passed","skipped","unknown"],SN=["blocker","critical","normal","minor","trivial"],TN=new Set(["failed","broken"]),ON=new Set(["passed"]),AN=new Set([...TN,...ON]),EN=e=>{const t=new Set(e);return e=>t.has(e.status)};EN(ON),EN(TN),EN(AN);let PN=function(e){return e.Trend="trend",e.Pie="pie",e}({});var LN=function(e){return e.Status="status",e.Severity="severity",e}(LN||{});const jN={failed:"var(--bg-support-capella)",broken:"var(--bg-support-atlas)",passed:"var(--bg-support-castor)",skipped:"var(--bg-support-rau)",unknown:"var(--bg-support-skat)"},NN={blocker:"var(--bg-support-capella)",critical:"var(--bg-support-atlas)",normal:"var(--bg-support-castor)",minor:"var(--bg-support-rau)",trivial:"var(--bg-support-skat)"},DN=mj({loading:!0,error:void 0,data:void 0}),FN=(e,t,n)=>{const r=e();if(!r)return;const i=t().reduce(((e,t)=>{const i=r.series[t]?.map((e=>({x:r.points[e].x,y:r.points[e].y})))??[];return i.length&&e.push({id:t.charAt(0).toUpperCase()+t.slice(1),data:i,color:n(t)}),e}),[]);return{type:r.type,dataType:r.dataType,title:r.title,items:i,slices:Object.values(r.slices),min:r.min,max:r.max}},RN=e=>Object.entries(e).reduce(((t,[n,r])=>(r.type===PN.Trend?t[n]=((e,t,n)=>t.dataType===LN.Status?((e,t)=>FN((()=>t[e]),(()=>MN),(e=>jN[e])))(e,n):t.dataType===LN.Severity?((e,t)=>FN((()=>t[e]),(()=>SN),(e=>NN[e])))(e,n):void 0)(n,r,e):r.type===PN.Pie&&(t[n]=r),t)),{}),$N=async()=>{DN.value={...DN.value,loading:!0,error:void 0};try{const t=await(async t=>{const n=await(async(t,n="application/octet-stream")=>{if(globalThis.allureReportData){const r=t.replace(/\?attachment$/,"");return`data:${n};base64,${await(async t=>(await e(),new Promise(((e,n)=>globalThis.allureReportData[t]?e(globalThis.allureReportData[t]):n(new Error(`Data "${t}" not found!`))))))(r)}`}const r=globalThis.document.head.querySelector("base")?.href??"https://localhost",i=new URL(t,r),o=globalThis.localStorage.getItem("__allure_report_live_reload_hash__");return o&&i.searchParams.set("live_reload_hash",o),i.pathname+i.search+i.hash})("widgets/charts.json"),r=await globalThis.fetch(n);if(!r.ok)throw new Error(`Failed to fetch ${n}, response status: ${r.status}`);return r.json()})();DN.value={data:RN(t),error:void 0,loading:!1}}catch(e){DN.value={data:void 0,error:e.message,loading:!1}}},BN=({children:e,title:t})=>oj("div",{className:"rFj4RZdL",children:[oj("div",{className:"BBPRxjK2",children:[oj("div",{className:"pedD4pxk"}),oj(tr,{size:"s",children:t})]}),oj("div",{className:"U7rRPuJj",children:e})]}),UN=({title:e,items:t,slices:n,min:r,max:i,height:o=400,width:a="100%",rootAriaLabel:s})=>{const{t:l}=wN("empty"),[c,u]=ue([]),f=l("no-results"),d=he((()=>((e,t,n)=>{const{constant:r=VE,...i}=n??{};return{type:"symlog",min:e,max:t,constant:r,...i}})(r,i,{constant:8})),[i,r]),h=pe((e=>{const t=e.points.reduce(((e,t)=>(e.push(t.data.x),e)),[]);u((()=>t))}),[]);return he((()=>n.filter((e=>c.includes(e.metadata.executionId)))),[n,c]),oj(BN,{title:e,children:oj(WE,{kind:HE.SlicesX,data:t,height:o,width:a,emptyLabel:f,emptyAriaLabel:f,rootAriaLabel:s,colors:({color:e})=>e,yScale:d,onSliceClick:h,onSliceTouchEnd:h})})},IN=()=>{const{t:e}=wN("charts");return fe((()=>{$N()}),[]),oj(hi,{source:DN,renderLoader:()=>oj(pi,{}),renderData:t=>{const n=Object.entries(t).map((([t,n])=>{const i=((e,t)=>{switch(e.type){case PN.Trend:{const n=t(`trend.type.${e.dataType}`),i=e.title??t("trend.title",{type:r(n)});return oj(UN,{title:i,items:e.items,slices:e.slices,min:e.min,max:e.max})}case PN.Pie:{const n=e.title??t("pie.title");return oj(BN,{title:n,children:oj("div",{className:"tilgG6l6",children:oj("div",{className:"HQWs28YU",children:oj(_a,{slices:e.slices,percentage:e.percentage})})})})}}})(n,e);return oj(ej,{className:"JkKn3MqH",children:i},t)}));return oj("div",{className:"L6sTU5Np",children:oj(KL,{kind:"swap",className:"V_FijXCO",children:n})})}})},zN=mj("light"),HN=e=>{zN.value=e,document.documentElement.setAttribute("data-theme",e),window.localStorage.setItem("theme",e)},VN=()=>{HN("light"===zN.value?"dark":"light")},WN=()=>{const{theme:e}=t()??{},n=window.localStorage.getItem("theme")||e;if(n)return void HN(n);const r=window.matchMedia("(prefers-color-scheme: dark)").matches;HN(r?"dark":"light")},YN=({className:e})=>oj("div",{className:J("y3b2nNS8",e),children:oj("div",{className:"yme8680C",children:[oj(tj,{locale:bN.value,setLocale:xN}),oj(nj,{theme:zN.value,toggleTheme:VN,getTheme:WN})]})});var qN=()=>oj(M,{children:[oj(YN,{}),oj(IN,{})]});const ZN=()=>oj("div",{className:"CfGgwYiF","data-testid":"base-layout",children:oj("div",{className:"b2XhjWBW",children:[oj(qN,{}),oj(CN,{})]})}),GN=(e=>{const t=window?.navigator?.userAgentData?.platform??window?.navigator?.platform;return!!t&&/^Mac/i.test(t)})(),XN=()=>oj("div",{className:"P1qG0zXS",children:oj(ZN,{})}),KN=document.getElementById("app");document.addEventListener("DOMContentLoaded",(()=>{GN&&document.documentElement.setAttribute("data-os","mac")})),(async()=>{await _N,globalThis&&(await(async()=>{const{reportLanguage:e}=t()??{},n=localStorage.getItem("currentLocale")||e||"en";await xN(n)})(),WN()),await e(),function(e,t,n){var r,a,s,l;o.__&&o.__(e,t),a=(r="function"==typeof n)?null:n&&n.__k||t.__k,s=[],l=[],B(t,e=(!r&&n||t).__k=k(M,null,[e]),a||m,m,t.namespaceURI,!r&&n?[n]:a?null:t.firstChild?i.call(t.childNodes):null,s,!r&&n?n:a?a.__e:t.firstChild,r,l),U(s,e,l)}(oj(XN,{}),KN)})()}()}();
|